Path: utzoo!mnetor!tmsoft!torsqnt!lethe!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!cs.utexas.edu!uunet!decwrl!sgi!shinobu!odin!krypton!gavin From: gavin@krypton.asd.sgi.com (Gavin Bell) Newsgroups: comp.unix.wizards Subject: Unbuffered pipe(2)'s? Keywords: pipe,popen,buffer Message-ID: <1991Feb7.200815.3880@odin.corp.sgi.com> Date: 7 Feb 91 20:08:15 GMT Sender: news@odin.corp.sgi.com (Net News) Organization: Silicon Graphics, Inc. Mountain View, CA Lines: 21 Is there any way to turn off the PIPE_MAX-long buffer used for pipes? I need simple unbuffered, one-way communication. Details on what I'm trying to do: Essentially, I have the following situation: filter1 < file_of_data | filter2 ... where filter1 understands some of the data in in file_of_data to be "present this text to the user now, so they know what is going on" and filter2 understands the rest of the data (which is things like "Pause for 3 seconds; now display this anti-aliased wireframe airplane... etc"). Pipes are perfect for this, except that they are buffered, so filter1 is not synchronized with filter2. I would prefer a portable (at least SYSV), non-hack solution. -- --gavin (gavin@sgi.com, (415)335-1024)