TSET(VI) − PWB/UNIX 11/18/77
NAME
tset − set terminal modes
SYNOPSIS
tset [ −e ] [ −k ] [ −ftype ] [ −dtype ] [ −h ] [ −u ] [ −tx ]
DESCRIPTION
Tset causes terminal dependent processing such as setting erase and kill characters, setting or resetting delays, and the like. It is driven by the /etc/ttytype and /etc/ttycap files. The type of terminal is specified by the −f flag. The type may be any type given in /etc/ttycap. If type is not specified, it defaults to a DTC terminal. If −f is not specified, the terminal type is read from /etc/htmp (the home directory and terminal type database) if −h is specified, otherwise it is looked up in /etc/ttytype based on the terminal id. The terminal id is specified by the −t flag or from a ttyn (III) call on the standard output. If the type turns out to be a dialup and the −d flag is specified, the terminal type is taken to be the named type. On terminals that can backspace but not overstrike (such as a CRT) the erase character is changed to a CTRL(H) (backspace). The −e flag sets the erase character to be the named character c on all terminals, so to override this option one can say −e#. The default for c is CTRL(H). The −k option works similarly, with c defaulting to CTRL(X). No kill processing is done if −k is not specified. The terminal type specified in htmp is updated if −u is specified or if the −d flag took effect. Tset is most useful when included in the .start_up file executed automatically at login, with −d used to specify the terminal type you most frequently dial in on.
FILES
/etc/htmpTerminal type database
/etc/ttytypeTerminal id to type map database
/etc/ttycapTerminal capability database
SEE ALSO
sethome (VI), ttytype (VI), ttytype (V), ttycap (V)
AUTHOR
Eric P. Allman
BUGS