1term(5) Standards, Environments, and Macros term(5)
2
3
4
6 term - conventional names for terminals
7
9 Terminal names are maintained as part of the shell environment in the
10 environment variable TERM. See sh(1), profile(4), and environ(5).
11 These names are used by certain commands (for example, tabs, tput, and
12 vi) and certain functions (for example, see curses(3CURSES)).
13
14
15 Files under /usr/share/lib/terminfo are used to name terminals and
16 describe their capabilities. These files are in the format described in
17 terminfo(4). Entries in terminfo source files consist of a number of
18 comma-separated fields. To print a description of a terminal term, use
19 the command infocmp -I term. See infocmp(1M). White space after each
20 comma is ignored. The first line of each terminal description in the
21 terminfo database gives the names by which terminfo knows the termi‐
22 nal, separated by bar (|) characters. The first name given is the most
23 common abbreviation for the terminal (this is the one to use to set the
24 environment variable TERMINFO in $HOME/.profile; see profile(4)), the
25 last name given should be a long name fully identifying the terminal,
26 and all others are understood as synonyms for the terminal name. All
27 names but the last should contain no blanks and must be unique in the
28 first 14 characters; the last name may contain blanks for readability.
29
30
31 Terminal names (except for the last, verbose entry) should be chosen
32 using the following conventions. The particular piece of hardware mak‐
33 ing up the terminal should have a root name chosen, for example, for
34 the AT&T 4425 terminal, att4425. This name should not contain hyphens,
35 except that synonyms may be chosen that do not conflict with other
36 names. Up to 8 characters, chosen from the set a through z and 0
37 through 9, make up a basic terminal name. Names should generally be
38 based on original vendors rather than local distributors. A terminal
39 acquired from one vendor should not have more than one distinct basic
40 name. Terminal sub-models, operational modes that the hardware can be
41 in, or user preferences should be indicated by appending a hyphen and
42 an indicator of the mode. Thus, an AT&T 4425 terminal in 132 column
43 mode is att4425−w. The following suffixes should be used where possi‐
44 ble:
45
46
47
48
49 Suffix Meaning Example
50 −w Wide mode (more than 80 columns) att4425−w
51 −am With auto. margins (usually default) vt100−am
52 −nam Without automatic margins vt100−nam
53 −n Number of lines on the screen aaa−60
54 −na No arrow keys (leave them in local) c100−na
55 −np Number of pages of memory c100−4p
56 −rv Reverse video att4415−rv
57
58
59
60 To avoid conflicts with the naming conventions used in describing the
61 different modes of a terminal (for example, -w), it is recommended that
62 a terminal's root name not contain hyphens. Further, it is good prac‐
63 tice to make all terminal names used in the terminfo(4) database
64 unique. Terminal entries that are present only for inclusion in other
65 entries via the use= facilities should have a '+' in their name, as in
66 4415+nl.
67
68
69 Here are some of the known terminal names: (For a complete list, enter
70 the command ls -C /usr/share/lib/terminfo/? ).
71
72
73
74
75 2621,hp2621 Hewlett-Packard 2621 series
76 2631 Hewlett-Packard 2631 line printer
77 2631−c Hewlett-Packard 2631 line printer, com‐
78 pressed mode
79 2631−e Hewlett-Packard 2631 line printer,
80 expanded mode
81 2640,hp2640 Hewlett-Packard 2640 series
82 2645,hp2645 Hewlett-Packard 2645 series
83 3270 IBM Model 3270
84 33,tty33 AT&T Teletype Model 33 KSR
85 35,tty35 AT&T Teletype Model 35 KSR
86 37,tty37 AT&T Teletype Model 37 KSR
87 4000a Trendata 4000a
88 4014,tek4014 TEKTRONIX 4014
89 40,tty40 AT&T Teletype Dataspeed 40/2
90 43,tty43 AT&T Teletype Model 43 KSR
91 4410,5410 AT&T 4410/5410 in 80-column mode, ver‐
92 sion 2
93 4410−nfk,5410−nfk AT&T 4410/5410 without function keys,
94 version 1
95 4410−nsl,5410−nsl AT&T 4410/5410 without pln defined
96 4410−w,5410−w AT&T 4410/5410 in 132-column mode
97 4410v1,5410v1 AT&T 4410/5410 in 80-column mode, ver‐
98 sion 1
99 4410v1−w,5410v1−w AT&T 4410/5410 in 132-column mode, ver‐
100 sion 1
101 4415,5420 AT&T 4415/5420 in 80-column mode
102 4415−nl,5420−nl AT&T 4415/5420 without changing labels
103 4415−rv,5420−rv AT&T 4415/5420 80 columns in reverse
104 video
105 4415−rv−nl,5420−rv−nl AT&T 4415/5420 reverse video without
106 changing labels
107 4415−w,5420−w AT&T 4415/5420 in 132-column mode
108 4415−w−nl,5420−w−nl AT&T 4415/5420 in 132-column mode with‐
109 out changing labels
110 4415−w−rv,5420−w−rv AT&T 4415/5420 132 columns in reverse
111 video
112 4418,5418 AT&T 5418 in 80-column mode
113 4418−w,5418−w AT&T 5418 in 132-column mode
114 4420 AT&T Teletype Model 4420
115 4424 AT&T Teletype Model 4424
116 4424-2 AT&T Teletype Model 4424 in display
117 function group ii
118 4425,5425 AT&T 4425/5425
119 4425−fk,5425−fk AT&T 4425/5425 without function keys
120 4425−nl,5425−nl AT&T 4425/5425 without changing labels
121 in 80-column mode
122 4425−w,5425−w AT&T 4425/5425 in 132-column mode
123 4425−w−fk,5425−w−fk AT&T 4425/5425 without function keys in
124 132-column mode
125 4425−nl−w,5425−nl−w AT&T 4425/5425 without changing labels
126 in 132-column mode
127 4426 AT&T Teletype Model 4426S
128 450 DASI 450 (same as Diablo 1620)
129 450−12 DASI 450 in 12-pitch mode
130 500,att500 AT&T-IS 500 terminal
131 510,510a AT&T 510/510a in 80-column mode
132
133 513bct,att513 AT&T 513 bct terminal
134 5320 AT&T 5320 hardcopy terminal
135 5420_2 AT&T 5420 model 2 in 80-column mode
136 5420_2−w AT&T 5420 model 2 in 132-column mode
137 5620,dmd AT&T 5620 terminal 88 columns
138 5620−24,dmd−24 AT&T Teletype Model DMD 5620 in a 24x80
139 layer
140 5620−34,dmd−34 AT&T Teletype Model DMD 5620 in a 34x80
141 layer
142 610,610bct AT&T 610 bct terminal in 80-column mode
143 610−w,610bct−w AT&T 610 bct terminal in 132-column mode
144 630,630MTG AT&T 630 Multi-Tasking Graphics terminal
145 7300,pc7300,unix_pc AT&T UNIX PC Model 7300
146 735,ti Texas Instruments TI735 and TI725
147 745 Texas Instruments TI745
148 dumb generic name for terminals that lack
149 reverse line-feed and other special
150 escape sequences
151 hp Hewlett-Packard (same as 2645)
152 lp generic name for a line printer
153 pt505 AT&T Personal Terminal 505 (22 lines)
154 pt505−24 AT&T Personal Terminal 505 (24-line
155 mode)
156 sync generic name for synchronous Teletype
157 Model 4540-compatible terminals
158
159
160
161 Commands whose behavior depends on the type of terminal should accept
162 arguments of the form -Tterm where term is one of the names given
163 above; if no such argument is present, such commands should obtain the
164 terminal type from the environment variable TERM, which, in turn,
165 should contain term.
166
168 /usr/share/lib/terminfo/?/*
169
170 compiled terminal description database
171
172
174 sh(1), stty(1), tabs(1), tput(1), vi(1), infocmp(1M), curses(3CURSES),
175 profile(4), terminfo(4), environ(5)
176
177
178
179SunOS 5.11 3 Jul 1990 term(5)