Text File

Aucbvax.2399 fa.unix-wizards utzoo!decvax!ucbvax!saks@LL-XN Wed Jul 22 06:32:48 1981 fread and read from a terminal From: Joft Saks <SAKS@LL-XN> Spencer Thomas is quite right. See the 'TTY' entry in section 4 of the UNIX manual for a description of how the terminal handles EOT's. In particular, the manual says that the EOT signifies only the end of a given transmission (i.e., if the transmission does not end with a '\n'). End-of-file is actually indicated by reception of a zero-length transmission.

----------------------------------------------------------------- gopher://quux.org/ conversion by John Goerzen <jgoerzen@complete.org> of http://communication.ucsd.edu/A-News/

This Usenet Oldnews Archive article may be copied and distributed freely, provided:

1. There is no money collected for the text(s) of the articles.

2. The following notice remains appended to each copy:

The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996 Bruce Jones, Henry Spencer, David Wiseman.