From: utzoo!decvax!harpo!utah-cs!utah-gr!thomas Newsgroups: net.unix-wizards Title: Re: sdb (again) Article-I.D.: utah-gr.664 Posted: Mon Dec 13 10:28:46 1982 Received: Tue Dec 14 05:03:12 1982 References: micomvax.112 Actually, on 4.1bsd and above (maybe 4bsd, too), you could probably change them to setbuf(stdout, malloc(BUFSIZE); stdout->_flag |= _IOLBF; setbuf(stderr, malloc(BUFSIZE); stderr->_flag |= _IOLBF; This lets you run it through a pipe into tee (although why you would do that with script and/or Gosling's emacs around, I dunno), but preserves efficiency. =Spencer