From: utzoo!watmath!decvax!harpo!eagle!jerry
Newsgroups: net.unix-wizards
Title: Re: STDIO on TTYs: Discussion and Request for Fix
Article-I.D.: eagle.415
Posted: Wed Jun 30 09:48:40 1982
Received: Thu Jul  1 00:06:47 1982
References: brl-bmd.235 watmath.2871


I agree that flushing of stdout and stderr should be tied to reading from
stdin.  And that stdio should contain a general mechanism to tie
the flushing of one stream to reading from another.

But this should be based on the LOGIC of the program, not on
whether any of these is a tty or which is a tty.  
Output intended for the tty may be filtered (e.g. I very 
frequently set up "tee") before arriving there.  If the output of 
program is going to a pipe, there is no way to tell what its  
ultimate destination is.



    Jerry Schwarz -- eagle!jerry -- BTL Murray Hill -- (201) 582-5926