Newsgroups: comp.sys.atari.st Path: utzoo!utgpu!jarvis.csri.toronto.edu!dgp.toronto.edu!juancho From: juancho@dgp.toronto.edu (John Buchanan) Subject: Three questions. Message-ID: <1988Feb22.221218.13780@jarvis.csri.toronto.edu> Keywords: MWC system() malloc() free() Organization: University of Toronto, CSRI Date: Mon, 22-Feb-88 22:12:17 EST I have three questions that people out there might have answers to. 1) I just finished porting a 12K line program from our unix system to a 1040 using MWC 2.1.7. The system() calls simply print no shell when the program is running under gulam. I know that setting the SHELL environment variable to GULAM will fix that. The problem is that other mark william tools seem to be able to run shell commands with out the SHELL variable being set, and if the environment variable is set then a new copy of the shell is started up for each cc in a make. 2) How does a typical mwc tool know that it has been called from a shell. When ever I use a tool it seems to assume that the program was run from the desktop and I have to press return. 3) How reliable are the malloc() and free() functions provided with MWC. -- John W. Buchanan Dynamic Graphics Project Computer Systems Research Institute University of Toronto (416) 978-6619 Toronto, Ontario M5S 1A4