OSDN Git Service

(split) LDP man-pages の original/ を v3.29 に更新。
[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 .\" 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, write to the Free
21 .\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
22 .\" USA.
23 .\"
24 .\" Modified Sat Jul 24 17:17:50 1993 by Rik Faith <faith@cs.unc.edu>
25 .\" Modified Thu Oct 19 21:25:21 MET 1995 by Martin Schulze <joey@infodrom.north.de>
26 .\" Modified Mon Oct 21 17:47:19 EDT 1996 by Eric S. Raymond
27 .\" <esr@thyrsus.com>xk
28 .TH TTYTYPE 5 1993-07-24 "Linux" "Linux Programmer's Manual"
29 .SH NAME
30 ttytype \- terminal device to default terminal type mapping
31 .SH DESCRIPTION
32 The
33 .I /etc/ttytype
34 file associates termcap/terminfo terminal type names
35 with tty lines.
36 Each line consists of a terminal type, followed by
37 whitespace, followed by a tty name (a device name without the
38 .IR /dev/ ") prefix."
39
40 This association is used by the program
41 .BR tset (1)
42 to set the environment variable
43 .B TERM
44 to the default terminal name for
45 the user's current tty.
46
47 This facility was designed for a traditional time-sharing environment
48 featuring character-cell terminals hardwired to a UNIX minicomputer.
49 It is little used on modern workstation and personal UNIX systems.
50 .SH FILES
51 .TP
52 .I /etc/ttytype
53 the tty definitions file.
54 .SH EXAMPLE
55 A typical
56 .I /etc/ttytype
57 is:
58 .RS
59 .sp
60 con80x25 tty1
61 .br
62 vt320 ttys0
63 .RE
64 .SH "SEE ALSO"
65 .BR termcap (5),
66 .BR terminfo (5),
67 .BR agetty (8),
68 .BR mingetty (8)