[net.unix] Undocumented "feature" of System V stty

adam@lzmi.UUCP (01/30/84)

<to the eater of lines, an offering>

It bit me by resetting EOL when cooked. It turns out that

	$ stty cooked

re-initializes c_cc, which contains INTR, QUIT, ERASE, KILL, EOF, and
EOL. Since the documentation only says cooked enables the processing
of INTR, QUIT, ERASE, KILL, and EOT(?), and does not mention EOL at
all, I would assume that this is a bug. I am posting this to
net.unix-wizards, as well as the other groups, because a user who
encounters this problem is likely to turn to a wizard for help.

ka@hou3c.UUCP (Kenneth Almquist) (02/01/84)

The EOF and EOL characters are reset by "stty -raw" because these
character positions are used to hold the MIN and TIME values when
ICANON is cleared.  To the best of my knowledge, none of the other
characters are affected by "stty -raw".
				Kenneth Almquist