]> git.ipfire.org Git - thirdparty/man-pages.git/blob - man5/ttytype.5
getent.1, _syscall.2, acct.2, adjtimex.2, bdflush.2, brk.2, cacheflush.2, getsid...
[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 .\" This is free documentation; you can redistribute it and/or
5 .\" modify it under the terms of the GNU General Public License as
6 .\" published by the Free Software Foundation; either version 2 of
7 .\" the License, or (at your option) any later version.
8 .\"
9 .\" The GNU General Public License's references to "object code"
10 .\" and "executables" are to be interpreted as the output of any
11 .\" document formatting or typesetting system, including
12 .\" intermediate and printed output.
13 .\"
14 .\" This manual is distributed in the hope that it will be useful,
15 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
16 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 .\" GNU General Public License for more details.
18 .\"
19 .\" You should have received a copy of the GNU General Public
20 .\" License along with this manual; if not, see
21 .\" <http://www.gnu.org/licenses/>.
22 .\"
23 .\" Modified Sat Jul 24 17:17:50 1993 by Rik Faith <faith@cs.unc.edu>
24 .\" Modified Thu Oct 19 21:25:21 MET 1995 by Martin Schulze <joey@infodrom.north.de>
25 .\" Modified Mon Oct 21 17:47:19 EDT 1996 by Eric S. Raymond
26 .\" <esr@thyrsus.com>xk
27 .TH TTYTYPE 5 2012-12-31 "Linux" "Linux Programmer's Manual"
28 .SH NAME
29 ttytype \- terminal device to default terminal type mapping
30 .SH DESCRIPTION
31 The
32 .I /etc/ttytype
33 file associates
34 .BR termcap (5)/ terminfo (5)
35 terminal type names
36 with tty lines.
37 Each line consists of a terminal type, followed by
38 whitespace, followed by a tty name (a device name without the
39 .IR /dev/ ") prefix."
40
41 This association is used by the program
42 .BR tset (1)
43 to set the environment variable
44 .B TERM
45 to the default terminal name for
46 the user's current tty.
47
48 This facility was designed for a traditional time-sharing environment
49 featuring character-cell terminals hardwired to a UNIX minicomputer.
50 It is little used on modern workstation and personal UNIX systems.
51 .SH FILES
52 .TP
53 .I /etc/ttytype
54 the tty definitions file.
55 .SH EXAMPLE
56 A typical
57 .I /etc/ttytype
58 is:
59 .RS
60 .sp
61 con80x25 tty1
62 .br
63 vt320 ttys0
64 .RE
65 .SH SEE ALSO
66 .BR termcap (5),
67 .BR terminfo (5),
68 .BR agetty (8),
69 .BR mingetty (8)