Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10 beta 3/9/83; site basser.SUN
Path: utzoo!watmath!clyde!akgua!mcnc!decvax!mulga!munnari!basser!boyd
From: boyd@basser.SUN (Boyd Roberts)
Newsgroups: net.unix-wizards
Subject: Re: EOF with pipes.
Message-ID: <240@basser.SUN>
Date: Sun, 18-Mar-84 12:39:43 EST
Article-I.D.: basser.240
Posted: Sun Mar 18 12:39:43 1984
Date-Received: Mon, 19-Mar-84 07:28:13 EST
References: <17349@sri-arpa.UUCP>
Organization: Dept of C.S., University of Sydney
Lines: 18


    > It sure would be neat if EOF's could be sent down pipes.

I'm sure that what you need here is not EOF's down pipes
but a *protocol*.  After all, EOF means that the other end
of the pipe has been closed, and not some other magical event.

    > Is it actually hard to implement in any version of UNIX?

I'm also sure that it wouldn't be very hard to break pipes too.
At least it'd be a step forward in the apparent quest to break
everything, that up till now worked in the stated way.

    > Wouldn't be very compatible with the rest of the world ...

Exactly, it wouldn't be very compatible.  But I see that it's
already been done at RAND with that ridiculous eofp() junk.

I just dread the thought of "eofp() meets _filbuf()".