tset \- set terminal modes
causes terminal dependent processing such as setting
erase and kill characters, setting or resetting delays.
is most useful when included in the
file executed automatically at login,
used to specify the terminal type you most frequently dial in on.
There are gobs of exciting options.
Most of them can be ignored most of the time.
The options are listed in approximate order of importance,
to the hopelessly obscure.
.nr xx \w'\-d \fItype\fR '
If the terminal is a dialup
parameter on the command line,
sets the type to ``adm3a'' if you are on a dialup
and ``hp2621'' otherwise.
Like \fB\-d\fR, but for ``plugboard'' ports.
Like \fB\-d\fR, but for ``bussiplexor'' ports.
Like \fB\-d\fR, but for \s-2ARPANET\s0 telnet connections.
Set the erase character to
set the erase character to the erase character for the
this processing will only happen
on terminals that can backspace
Sets the kill character to
Output the terminal type to the standard output.
If this is the only argument specified,
does no other processing.
Output setenv commands to set the TERM and TERMCAP
Do not look at the environment.
Output the terminal type to the diagnostic output.
Useful for people who like to know
what kind of terminal they are on.
This supresses the output of the
``Erase set to'' and ``Kill set to'' messages.
Don't do tab initialization.
Useful when long startup strings are output
and the terminal is already initialized.
except this flag is ignored on terminals that
God help you if you have to use this flag;
it only exists because out there somewhere an
\s-2ASR\s0-33 may still exist.
The type of the terminal you are on
is divined from the environment
file for a type based on the port
begins with a question mark,
the user is asked if s/he really wants that type.
A null response means to use that type;
otherwise, another type can be entered which will be used instead.
(The question mark should be escaped with \e
to prevent filename expansion by the shell.)
where X is any character;
option outputs ``setenv'' commands
(if your default shell is
or ``export'' and assignment commands
(if your default shell is
[Actually, this is not possible because of a problem in the shells.
tset \-s ... > /tmp/tset$$
replace `source' by `.')]
..sets the variables TERM
..and TERMCAP with the actual line from the
..and other terminal-dependent programs start up faster.
gets the terminal type from the file
flag on version 6 systems suppresses any possible
tset \-dti733 \-p \e?hp2621 \-e \-k^U
\`tset \-dadm3a \-s \-e# \-r\`
/etc/htmp Terminal type database (version 6 only)
/etc/ttytype Terminal id to type map database
/etc/termcap Terminal capability database
setenv(1), stty(1), ttytype(5), termcap(5)