Technical data

ttcompat(7M) STREAMS Modules SunOS 5.5
The LCASE flag maps upper-case letters in theASCII character set to their lower-case
equivalents on input (the IUCLC flag is set in thec_iflag field), and maps lower-case
letters in theASCII character set to their upper-case equivalents on output (theOLCUC
flag is set in the c_oflag field). Escape sequences are accepted on input, and generated on
output, to handle certainASCII characters not supported by older terminals (theXCASE
flag is set in the c_lflag field).
Other flags are directly mapped to flags in the termios structure:
sg_flags flags in termios structure
CBREAK complement of ICANON in c_lflag field
ECHO ECHO in c_lflag field
TANDEM IXOFF in c_iflag field
Another structure associated with each terminal specifies characters that are special in
both the old Version 7 and the newer 4BSD terminal interfaces. The following structure is
defined by <sys/ttold.h>:
struct tchars {
char t_intrc; /interrupt /
char t_quitc; /quit /
char t_startc; /start output /
char t_stopc; /stop output /
char t_eofc; /end-of-file /
char t_brkc; /input delimiter (like nl) /
};
XENIX defines the tchar structure as tc. The characters are mapped to members of the
c_cc field of the termios structure as follows:
tchars c_cc index
t_intrc VINTR
t_quitc VQUIT
t_startc VSTART
t_stopc VSTOP
t_eofc VEOF
t_brkc VEOL
7M-386 modified 2 Jun 1995