Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!henry From: henry@utzoo.UUCP (Henry Spencer) Newsgroups: comp.bugs.4bsd Subject: Re: read() from tty has fencepost error Message-ID: <8246@utzoo.UUCP> Date: Fri, 3-Jul-87 14:57:56 EDT Article-I.D.: utzoo.8246 Posted: Fri Jul 3 14:57:56 1987 Date-Received: Fri, 3-Jul-87 14:57:56 EDT References: <648@haddock.UUCP>, <6040@brl-smoke.ARPA> Organization: U of Toronto Zoology Lines: 9 > That is correct behavior... Uh, correct by whose definition, Doug? The original Unix semantics of EOT were the "push" semantics (as opposed to the "delimiter" semantics you describe), in which the EOT forces the existing input queue (possibly zero-length) to be pushed through to the user, and then disappears utterly. -- Mars must wait -- we have un- Henry Spencer @ U of Toronto Zoology finished business on the Moon. {allegra,ihnp4,decvax,pyramid}!utzoo!henry