Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!ig!bionet!agate!ucbvax!tut.cis.ohio-state.edu!rutgers!att!ihlpb!TSfR!usenet From: usenet@TSfR.UUCP (usenet) Newsgroups: comp.sys.atari.st Subject: Re: Con -> RS232 Summary: file descriptor 2? Haha, gemdos don't got no stderr! Message-ID: <531@TSfR.UUCP> Date: 28 Apr 89 04:35:49 GMT References: <111500016@uxa.cso.uiuc.edu> <620@stag.math.lsa.umich.edu> Reply-To: orc@pell.UUCP (David L. Parsons) Followup-To: comp.sys.atari.st Organization: Multi-STadel in '90 Lines: 16 Expires: In article <620@stag.math.lsa.umich.edu> hyc@math.lsa.umich.edu (Howard Chu) writes: >In article <111500016@uxa.cso.uiuc.edu> sfn20715@uxa.cso.uiuc.edu writes: >>... Does anyone out there have a >>program that will redirect output from screen to the RS232? > ... This program would just have to close the three >stdio descriptors, 0-2, open the AUX: device, and use Fdup or Fforce to set >0-2 to the same as the AUX handle. 'Cepting, of course, that file descriptor 2 isn't stderr. Gemdos uses descriptor 0 for stdin and 1 for stdout, just like Unices, but for some totally inexplicable reason, Atari or DRI decided not to support the concept of standard error. File descriptor 2? It points at the rs232 port.... -david parsons -orc@pell.uucp