Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!ucsd!ucsdhub!esosun!seismo!uunet!ficc!peter From: peter@ficc.uu.net (Peter da Silva) Newsgroups: comp.unix.wizards Subject: Re: Line Buffered output Message-ID: <1686@ficc.uu.net> Date: 3 Oct 88 14:18:29 GMT References: <411@marob.MASA.COM> <178@arnold.UUCP> <3442@crash.cts.com> <13765@mimsy.UUCP> Organization: SCADA Lines: 23 In article <13765@mimsy.UUCP>, chris@mimsy.UUCP (Chris Torek) writes: > In article <1613@ficc.uu.net> peter@ficc.uu.net (Peter da Silva) writes: > >The problem of handling stdout and stdin is a solved > >problem: do a flushbuf on all interactive streams whenever you do a > >fillbuf on any interactive stream. ... > `Backwards compatibility means we get to keep all our old mistakes.' > I guarantee that if we change this in 4.4BSD, people will complain about > how we broke it. But it's *Berkeley* that had the smart stdio in the first place! I know that I ran into this on 2.something at Berkeley in 1980 and thought it was way-cool. When and why was it removed, or did it just not get migrated to 4BSD? And providing another putc won't help 'printf("%s-> ", mode);' and other prompt-like stuff. Nor will it help the overall speed problem. Sideways compatibility? -- Peter da Silva `-_-' Ferranti International Controls Corporation. "Have you hugged U your wolf today?" peter@ficc.uu.net