OSDN Git Service

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