Path: utzoo!mnetor!tmsoft!torsqnt!hybrid!scifi!bywater!uunet!cbmvax!rsbx From: rsbx@cbmvax.commodore.com (Raymond S. Brand) Newsgroups: comp.sys.amiga.misc Subject: Re: Flushing pipe: Keywords: Can it be done? How? Message-ID: <18116@cbmvax.commodore.com> Date: 26 Jan 91 03:16:50 GMT References: <292@karp.albany.edu> Organization: Commodore-Amiga Inc, West Chester, PA Lines: 29 In article <292@karp.albany.edu>, hammond@cs.albany.edu (William F Hammond) writes: > Question: > If I have in a shell > > type < PIPE:aa > speak: > > and in *another* shell > > myprogram > PIPE:aa > > are there any "control" codes that "myprogram" can send to the named > pipe to force immediate output to "speak:" *without* breaking the connection? Make sure that "myprogram" flushes its output to the pipe. The PIPE: device responds to each read packet by returning whatever is currently "in the pipe" (or less for small reads). rsbx > William F. Hammond Dept. of Mathematics & Statistics > 518-442-4625 SUNYA, Albany, NY 12222 > hammond@leah.albany.edu wfh58@albnyvms.bitnet ------------------------------------------------------------------------ Raymond S. Brand rsbx@cbmvax.commodore.com Commodore-Amiga Engineering ...!uunet!cbmvax!rsbx 1200 Wilson Drive (215)-431-9100 West Chester PA 19380 "Looking" ------------------------------------------------------------------------