Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!wuarchive!brutus.cs.uiuc.edu!samsung!cs.utexas.edu!sun-barr!newstop!texsun!pollux!ti-csl!m2!gateley From: gateley@m2.csc.ti.com (John Gateley) Newsgroups: comp.lang.scheme Subject: Re: exit on Schemes for Unix Message-ID: <104546@ti-csl.csc.ti.com> Date: 5 Jan 90 16:38:18 GMT References: <9001041217.AA11268@huxley.mitre.org> Sender: news@ti-csl.csc.ti.com Organization: TI Computer Science Center, Dallas Lines: 14 In article <9001041217.AA11268@huxley.mitre.org> ramsdell@LINUS.MITRE.ORG writes: >When the exit command is called with no >arguments, or when there is nothing more to read from standard input, >the Scheme interpreter process should set the status bits returned to >the parent process to the break level. I agree except for one thing: It should merely set the status bits to a non-zero value (or whatever restriction Unix percieves as an error). This allows the scheme program to return more useful error information: (error 57) where 57 is the error number for directory not found, John gateley@m2.csc.ti.com