Debian Codegraph @

upstream/debian-trixie/man5/ttytype.5

raw
1 .\" Copyright (c) 1993 Michael Haardt ([email protected]),
2 .\" Fri Apr 2 11:32:09 MET DST 1993
3 .\"
4 .\" SPDX-License-Identifier: GPL-2.0-or-later
5 .\"
6 .\" Modified Sat Jul 24 17:17:50 1993 by Rik Faith <[email protected]>
7 .\" Modified Thu Oct 19 21:25:21 MET 1995 by Martin Schulze <[email protected]>
8 .\" Modified Mon Oct 21 17:47:19 EDT 1996 by Eric S. Raymond
9 .\" <[email protected]>xk
10 .TH ttytype 5 2024-05-02 "Linux man-pages 6.9.1"
11 .SH NAME
12 ttytype \- terminal device to default terminal type mapping
13 .SH DESCRIPTION
14 The
15 .I /etc/ttytype
16 file associates
17 .BR termcap (5)
18 and
19 .BR terminfo (5)
20 terminal type names
21 with tty lines.
22 Each line consists of a terminal type, followed by
23 whitespace, followed by a tty name (a device name without the
24 .I /dev/
25 prefix).
26 .P
27 This association is used by the program
28 .BR tset (1)
29 to set the environment variable
30 .B TERM
31 to the default terminal name for
32 the user's current tty.
33 .P
34 This facility was designed for a traditional time-sharing environment
35 featuring character-cell terminals hardwired to a UNIX minicomputer.
36 It is little used on modern workstation and personal UNIX systems.
37 .SH FILES
38 .TP
39 .I /etc/ttytype
40 the tty definitions file.
41 .SH EXAMPLES
42 A typical
43 .I /etc/ttytype
44 is:
45 .P
46 .in +4n
47 .EX
48 con80x25 tty1
49 vt320 ttys0
50 .EE
51 .in
52 .SH SEE ALSO
53 .BR termcap (5),
54 .BR terminfo (5),
55 .BR agetty (8),
56 .BR mingetty (8)