Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!tektronix!orca!tekecs!frip!andrew From: andrew@frip.wv.tek.com (Andrew Klossner) Newsgroups: comp.unix.wizards Subject: Re: Reading from stderr Message-ID: <11293@tekecs.GWD.TEK.COM> Date: 14 Apr 89 19:57:57 GMT References: <5437@lynx.UUCP> Sender: andrew@tekecs.GWD.TEK.COM Distribution: na Organization: Tektronix, Wilsonville, Oregon Lines: 17 [] "Am I in good company in believing that a program that reads from standard error is a naughty program? It seems to be done (usually) as an alternative to the horrible drudgery of opening /dev/tty." What if the program was exec'ed with channels 0, 1, and 2 open but with no controlling terminal? The open of /dev/tty will fail. (Of course, in this case stderr is probably open for output only.) There are window systems that work this way, running processes without controlling terminals (no ptys), but I haven't seen much of them lately. -=- Andrew Klossner (uunet!tektronix!orca!frip!andrew) [UUCP] (andrew%frip.wv.tek.com@relay.cs.net) [ARPA]