Xref: utzoo comp.unix.questions:24004 comp.unix.wizards:23049 comp.unix.xenix:12530 comp.unix.i386:7165 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.unix.questions,comp.unix.wizards,comp.unix.xenix,comp.unix.i386 Subject: Re: TTY line discipline Message-ID: <3737@auspex.auspex.com> Date: 24 Jul 90 18:22:13 GMT References: <2026@beam.UUCP> <139@comtst.UUCP> Followup-To: comp.unix.i386 Organization: Auspex Systems, Santa Clara Lines: 17 >Once signal processing is turned off with ~SIG, the input characters >are not checked for the INTR, SWITCH, and QUIT characters. Similarly, >when cannonical is turned off with ~ICANON, no checks are made for the >ERASE and KILL characters. the input characters are now unchecked and >reads will be satified directly from the input buffer subject to the >limitation that no read will be satisfied until > 1) At least MIN characters have been received AND > 2) The timeout value TIME has expired ***BETWEEN CHARACTERS*** >Note that there is no timeout for the initial character. This is important! All correct, except that if MIN is 0, TIME *is* a timeout for the initial character. However, the problem he's having is that his system does *not* appear to be completely correctly implementing the above semantics! Instead, it appears to be swallowing NUL characters for some reason.