Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site umcp-cs.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxj!ihnp4!zehntel!dual!amd!pesnta!hplabs!hao!seismo!umcp-cs!chris From: chris@umcp-cs.UUCP (Chris Torek) Newsgroups: net.unix-wizards Subject: Re: 4.2bsd eof flag in stdio Message-ID: <1363@umcp-cs.UUCP> Date: Mon, 26-Nov-84 07:28:43 EST Article-I.D.: umcp-cs.1363 Posted: Mon Nov 26 07:28:43 1984 Date-Received: Wed, 28-Nov-84 04:21:51 EST References: <1697@ucf-cs.UUCP> <1796@sun.uucp> <5867@brl-tgr.ARPA> <1246@utah-gr.UUCP> <239@desint.UUCP> <6059@brl-tgr.ARPA> Organization: U of Maryland, Computer Science Dept., College Park, MD Lines: 21 Doug Gwyn seems to be complaining because 4.2's "sticky EOF" will make things like % cat -u foo^D exit. Not true! If you type % cat -u foo ^D (assuming ^D is your EOF character) *then* cat will exit, but for the former, it will print "foo" and keep reading. One more ^D (unless preceded by other text) will cause it to terminate. -- (This line accidently left nonblank.) In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (301) 454-7690 UUCP: {seismo,allegra,brl-bmd}!umcp-cs!chris CSNet: chris@umcp-cs ARPA: chris@maryland