Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!crdgw1!marfak.crd.ge.com From: nielsen@marfak.crd.ge.com (paul e nielsen) Newsgroups: comp.unix.questions Subject: Turning off buffering over pipes Message-ID: <15373@crdgw1.crd.ge.com> Date: 4 Jan 91 18:22:22 GMT Sender: news@crdgw1.crd.ge.com Distribution: usa Organization: GE Research, Schenectady NY Lines: 15 I'm using pipes to create a routine which will execute and monitor a series of programs that were designed to be interactive. The problem is that when writing to a pipe, rather than a terminal, they buffer their output and cease to be interactive. Is there a way to set the properties of a pipe or program, prior to doing an exec, to turn off buffering? For many of these programs I do not have access to the source. I'm using SunOS on Sun 3's and 4's, but would like a reasonably portable solution. -- Paul Nielsen GE Research nielsen@crd.ge.com