Path: utzoo!utgpu!watmath!clyde!att!ihlpb!gregg From: gregg@ihlpb.ATT.COM (Wonderly) Newsgroups: comp.unix.questions Subject: Re: end of file characters and open file descriptors Message-ID: <9305@ihlpb.ATT.COM> Date: 30 Dec 88 19:49:46 GMT References: <8629@alice.UUCP> Organization: AT&T Bell Laboratories - Naperville, Illinois Lines: 19 From article <8629@alice.UUCP>, by ark@alice.UUCP (Andrew Koenig): > In article <1345@cod.NOSC.MIL>, waagen@cod.NOSC.MIL (Don E. Waagen) writes: > -> > -> I'm trying to have two processes communicate via a pipe (stdout), like > -> > -> A | B > -> > > Sorry, but it's completely impossible in most systems. True, EOF on a pipe only happens when all read fd's are closed... An alternative is to send a signal from A to B, interupting the read. This is not a pretty solution at all, but does provide the necessary functionality. -- It isn't the DREAM that NASA's missing... DOMAIN: gregg@ihlpb.att.com It's a direction! UUCP: att!ihlpb!gregg