]> git.ipfire.org Git - thirdparty/man-pages.git/blob - man5/ttytype.5
getent.1, iconv.1, intro.1, ldd.1, locale.1, localedef.1, memusage.1, memusagestat...
[thirdparty/man-pages.git] / man5 / ttytype.5
1 .\" Copyright (c) 1993 Michael Haardt (michael@moria.de),
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 <faith@cs.unc.edu>
7 .\" Modified Thu Oct 19 21:25:21 MET 1995 by Martin Schulze <joey@infodrom.north.de>
8 .\" Modified Mon Oct 21 17:47:19 EDT 1996 by Eric S. Raymond
9 .\" <esr@thyrsus.com>xk
10 .TH TTYTYPE 5 2022-09-09 "Linux man-pages (unreleased)"
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)/ terminfo (5)
18 terminal type names
19 with tty lines.
20 Each line consists of a terminal type, followed by
21 whitespace, followed by a tty name (a device name without the
22 .IR /dev/ ") prefix."
23 .PP
24 This association is used by the program
25 .BR tset (1)
26 to set the environment variable
27 .B TERM
28 to the default terminal name for
29 the user's current tty.
30 .PP
31 This facility was designed for a traditional time-sharing environment
32 featuring character-cell terminals hardwired to a UNIX minicomputer.
33 It is little used on modern workstation and personal UNIX systems.
34 .SH FILES
35 .TP
36 .I /etc/ttytype
37 the tty definitions file.
38 .SH EXAMPLES
39 A typical
40 .I /etc/ttytype
41 is:
42 .PP
43 .in +4n
44 .EX
45 con80x25 tty1
46 vt320 ttys0
47 .EE
48 .in
49 .SH SEE ALSO
50 .BR termcap (5),
51 .BR terminfo (5),
52 .BR agetty (8),
53 .BR mingetty (8)