]>
Commit | Line | Data |
---|---|---|
3d54a910 MK |
1 | .\" Copyright (c) 1993 Michael Haardt (michael@moria.de), |
2 | .\" Fri Apr 2 11:32:09 MET DST 1993 | |
fea681da | 3 | .\" |
e4a74ca8 | 4 | .\" SPDX-License-Identifier: GPL-2.0-or-later |
c13182ef | 5 | .\" |
fea681da MK |
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 | |
4c1c5274 | 10 | .TH ttytype 5 (date) "Linux man-pages (unreleased)" |
fea681da MK |
11 | .SH NAME |
12 | ttytype \- terminal device to default terminal type mapping | |
13 | .SH DESCRIPTION | |
c13182ef | 14 | The |
fea681da | 15 | .I /etc/ttytype |
60947e72 MK |
16 | file associates |
17 | .BR termcap (5)/ terminfo (5) | |
18 | terminal type names | |
c13182ef MK |
19 | with tty lines. |
20 | Each line consists of a terminal type, followed by | |
fea681da MK |
21 | whitespace, followed by a tty name (a device name without the |
22 | .IR /dev/ ") prefix." | |
2dad4c59 | 23 | .PP |
c13182ef | 24 | This association is used by the program |
fea681da | 25 | .BR tset (1) |
097585ed MK |
26 | to set the environment variable |
27 | .B TERM | |
28 | to the default terminal name for | |
fea681da | 29 | the user's current tty. |
2dad4c59 | 30 | .PP |
fea681da | 31 | This facility was designed for a traditional time-sharing environment |
008f1ecc | 32 | featuring character-cell terminals hardwired to a UNIX minicomputer. |
fef0efe4 | 33 | It is little used on modern workstation and personal UNIX systems. |
2b2581ee MK |
34 | .SH FILES |
35 | .TP | |
36 | .I /etc/ttytype | |
37 | the tty definitions file. | |
a14af333 | 38 | .SH EXAMPLES |
fea681da MK |
39 | A typical |
40 | .I /etc/ttytype | |
41 | is: | |
bdd915e2 MK |
42 | .PP |
43 | .in +4n | |
44 | .EX | |
fea681da | 45 | con80x25 tty1 |
fea681da | 46 | vt320 ttys0 |
bdd915e2 MK |
47 | .EE |
48 | .in | |
47297adb | 49 | .SH SEE ALSO |
fea681da | 50 | .BR termcap (5), |
a61776a4 MK |
51 | .BR terminfo (5), |
52 | .BR agetty (8), | |
27334eaf | 53 | .BR mingetty (8) |