Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!ncar!gatech!usenet.ins.cwru.edu!ncoast!davewt From: davewt@NCoast.ORG (David Wright) Newsgroups: comp.sys.amiga.programmer Subject: Dumb windows from SAS/C programs on Workbench Message-ID: <1991May14.164909.19186@NCoast.ORG> Date: 14 May 91 16:49:09 GMT Organization: North Coast Public Access Un*x (ncoast) Lines: 16 Can anyone tell me if there is a simple way to get rid of the stupid windows that SAS/C opens up by default when you start a program from the WorkBench? I can obviously diddle with c.a and umain.c to eliminate this, but it seems like there MUST be an easier way to do this. I am using the "tinymain" option, in both my SASCOPTS file, and in the Blink ".lnk" file, and do not make any use of printf/fprintf, and so have no use for a default "stdin", "stdout", or "stderr". On a related note, what do you have to do to kill the CTRL-C trapping their startup code puts in by default. I have my own trapper which worked fine in Draco programs, but SAS/C seems to grab the signals before I have a chance to see them, and is dumping my programs without giving me a chance to clean up, close files, etc. Dave