raw/cooked single char i/o (CBREAK)
guy at rlgvax.UUCP
guy at rlgvax.UUCP
Tue Jun 14 11:37:45 AEST 1983
What really rots about that is that ONLY on 4.1BSD can you output an EOT
in CBREAK mode; it's not in standard V7. The USG UNIX tty driver solves this
by the simple expedient of not echoing your EOF character, and passing EOT
through in all modes like any other character. Now if it would only echo
control characters, or at least the special TTY driver control characters,
as "^<whatever>", so you could get visual feedback that the EOT actually
got through to the computer...
Guy Harris
RLG Corporation
{seismo,mcnc,we13,brl-bmd,allegra}!rlgvax!guy
More information about the Comp.unix.wizards
mailing list