Debian Codegraph @

upstream/debian-unstable/man5/ttytype.5

raw
1 .\" Copyright, the authors of the Linux man-pages project
2 .\"
3 .\" SPDX-License-Identifier: GPL-2.0-or-later
4 .\"
5 .TH ttytype 5 2025-05-17 "Linux man-pages 6.18"
6 .SH NAME
7 ttytype \- terminal device to default terminal type mapping
8 .SH DESCRIPTION
9 The
10 .I /etc/ttytype
11 file associates
12 .BR termcap (5)
13 and
14 .BR terminfo (5)
15 terminal type names
16 with tty lines.
17 Each line consists of a terminal type, followed by
18 whitespace, followed by a tty name (a device name without the
19 .I /dev/
20 prefix).
21 .P
22 This association is used by the program
23 .BR tset (1)
24 to set the environment variable
25 .B TERM
26 to the default terminal name for
27 the user's current tty.
28 .P
29 This facility was designed for a traditional time-sharing environment
30 featuring character-cell terminals hardwired to a UNIX minicomputer.
31 It is little used on modern workstation and personal UNIX systems.
32 .SH FILES
33 .TP
34 .I /etc/ttytype
35 the tty definitions file.
36 .SH EXAMPLES
37 A typical
38 .I /etc/ttytype
39 is:
40 .P
41 .in +4n
42 .EX
43 con80x25 tty1
44 vt320 ttys0
45 .EE
46 .in
47 .SH SEE ALSO
48 .BR termcap (5),
49 .BR terminfo (5),
50 .BR agetty (8),
51 .BR mingetty (8)