ttytype \- indicate (or inquire about) terminal type in system data base
The system maintains a data base giving the type of each terminal and the
home directory of the user logged in on that terminal.
This information is initialized at login \-
the terminal type from the
and the home directory from the user's entry in the password file.
can be used to interrogate and change the teletype type portion
is when using a dial-up port.
is necessary in this case because the system cannot know the type of
\fB\-d\fR Perform the action implied by the rest of the command
only if the terminal in use is a dial-up port.
\fB\-n\fR Print the type codes for terminals on this system.
it prints the type recorded in the data base for this terminal.
the type recorded in the data base will be changed to that type.
Thus to tell the system that you dialed up on an
you could use the command
If you frequently dial-up on a
you could put the command
.bd " ttytype \-d decwriter"
The more common types and abbreviations at UC Berkeley are:
.ta .75i 1.5i 2.25i 3i 3.75i
/etc/ttycap for \fB\-n\fR option
sethome (VI), htmp (V), tset (VI), htmp (VII)