Implement more tty flags for better portability from other systems:
authortholo <tholo@openbsd.org>
Mon, 16 Dec 1996 20:04:39 +0000 (20:04 +0000)
committertholo <tholo@openbsd.org>
Mon, 16 Dec 1996 20:04:39 +0000 (20:04 +0000)
commitfc61cb1e0c1068a7cff15260713ce68d40cd9068
treeb3cd36574a5263d3e7f402d7a41cfd70d1be3c9a
parent260554fb7744e58a41ec8347cb0f4d2740abd138
Implement more tty flags for better portability from other systems:

XCASE - canonical input/output processing
IUCLC - translate uppercase to lowercase on input
OLCUC - translate lowercase to uppercase on output
OCRNL - translate carriage return to newline on output
ONOCR - do not output carriage return at column 0
ONLRET - newline performs carriage return function

In addition the tty compatibility interface supports LCASE properly.

Look at termios(4) for a more complete description of the above flags.
bin/stty/key.c
bin/stty/modes.c
bin/stty/stty.1
libexec/getty/subr.c
share/man/man4/termios.4
sys/compat/common/tty_43.c
sys/kern/tty.c
sys/sys/termios.h
usr.sbin/lpr/lpd/modes.c
usr.sbin/lpr/lpd/ttcompat.c