9330 stack overflow when creating a deeply nested dataset
[unleashed.git] / usr / src / man / man5 / term.5
blob981a380fda7e5d77d3f5845cb4a8d5f3697e2181
1 '\" te
2 .\"  Copyright 1989 AT&T
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH TERM 5 "Jul 3, 1990"
7 .SH NAME
8 term \- conventional names for terminals
9 .SH DESCRIPTION
10 .sp
11 .LP
12 Terminal names are maintained as part of the shell environment in the
13 environment variable \fB\fR\fBTERM\fR\fB\&. \fR See \fBsh\fR(1),
14 \fBprofile\fR(4), and \fBenviron\fR(5). These names are used by certain
15 commands (for example, \fBtabs\fR, \fBtput\fR, and \fBvi\fR) and certain
16 functions (for example, see \fBcurses\fR(3CURSES)).
17 .sp
18 .LP
19 Files under \fB/usr/share/lib/terminfo\fR are used to name terminals and
20 describe their capabilities. These files are in the format described in
21 \fBterminfo\fR(4). Entries in \fBterminfo\fR source files consist of a number
22 of comma-separated fields. To print a description of a terminal  \fIterm\fR,
23 use the command  \fBinfocmp\fR \fB-I\fR \fIterm\fR. See \fBinfocmp\fR(1M).
24 White space after each comma is ignored. The first line of each terminal
25 description in the \fBterminfo\fR database gives the names by which
26 \fBterminfo\fR knows the terminal, separated by bar (\fB|\fR) characters. The
27 first name given is the most common abbreviation for the terminal (this is the
28 one to use to set the environment variable \fBTERMINFO\fR in
29 \fB$HOME/.profile\fR; see \fBprofile\fR(4)), the last name given should be a
30 long name fully identifying the terminal, and all others are understood as
31 synonyms for the terminal name. All names but the last should contain no blanks
32 and must be unique in the first 14 characters; the last name may contain blanks
33 for readability.
34 .sp
35 .LP
36 Terminal names (except for the last, verbose entry) should be chosen using the
37 following conventions. The particular piece of hardware making up the terminal
38 should have a root name chosen, for example, for the AT&T 4425 terminal,
39 \fBatt4425\fR. This name should not contain hyphens, except that synonyms may
40 be chosen that do not conflict with other names. Up to 8 characters, chosen
41 from the set \fBa\fR through \fBz\fR and \fB0\fR through \fB9\fR, make up a
42 basic terminal name. Names should generally be based on original vendors rather
43 than local distributors. A terminal acquired from one vendor should not have
44 more than one distinct basic name. Terminal sub-models, operational modes that
45 the hardware can be in, or user preferences should be indicated by appending a
46 hyphen and an indicator of the mode. Thus, an AT&T 4425 terminal in 132 column
47 mode is \fBatt4425\(miw\fR. The following suffixes should be used where
48 possible:
49 .sp
51 .sp
52 .TS
53 l l l
54 l l l .
55 Suffix  Meaning Example
56 \(miw   Wide mode (more than 80 columns)        att4425\(miw
57 \(miam  With auto. margins (usually default)    vt100\(miam
58 \(minam Without automatic margins       vt100\(minam
59 \(mi\fIn\fR     Number of lines on the screen   aaa\(mi60
60 \(mina  No arrow keys (leave them in local)     c100\(mina
61 \(minp  Number of pages of memory       c100\(mi4p
62 \(mirv  Reverse video   att4415\(mirv
63 .TE
65 .sp
66 .LP
67 To avoid conflicts with the naming conventions used in describing the different
68 modes of a terminal (for example, \fB-w\fR), it is recommended that a
69 terminal's root name not contain hyphens. Further, it is good practice to make
70 all terminal names used in the  \fBterminfo\fR(4) database unique. Terminal
71 entries that are present only for inclusion in other entries via the \fBuse=\fR
72 facilities should have a '\fB+\fR' in their name, as in  \fB4415+nl\fR.
73 .sp
74 .LP
75 Here are some of the known terminal names: (For a complete list, enter the
76 command \fBls -C /usr/share/lib/terminfo/?\fR ).
77 .sp
79 .sp
80 .TS
81 l l
82 l l .
83 2621,hp2621     Hewlett-Packard 2621 series
84 2631    Hewlett-Packard 2631 line printer
85 2631\(mic       T{
86 Hewlett-Packard 2631 line printer, compressed mode
88 2631\(mie       T{
89 Hewlett-Packard 2631 line printer, expanded mode
91 2640,hp2640     Hewlett-Packard 2640 series
92 2645,hp2645     Hewlett-Packard 2645 series
93 3270    IBM Model 3270
94 33,tty33        AT&T Teletype Model 33 KSR
95 35,tty35        AT&T Teletype Model 35 KSR
96 37,tty37        AT&T Teletype Model 37 KSR
97 4000a   Trendata 4000a
98 4014,tek4014    TEKTRONIX 4014
99 40,tty40        AT&T Teletype Dataspeed 40/2
100 43,tty43        AT&T Teletype Model 43 KSR
101 4410,5410       T{
102 AT&T 4410/5410 in 80-column mode, version 2
104 4410\(minfk,5410\(minfk T{
105 AT&T 4410/5410 without function keys, version 1
107 4410\(minsl,5410\(minsl AT&T 4410/5410 without pln defined
108 4410\(miw,5410\(miw     AT&T 4410/5410 in 132-column mode
109 4410v1,5410v1   T{
110 AT&T 4410/5410 in 80-column mode, version 1
112 4410v1\(miw,5410v1\(miw T{
113 AT&T 4410/5410 in 132-column mode, version 1
115 4415,5420       AT&T 4415/5420 in 80-column mode
116 4415\(minl,5420\(minl   AT&T 4415/5420 without changing labels
117 4415\(mirv,5420\(mirv   T{
118 AT&T 4415/5420 80 columns in reverse video
120 4415\(mirv\(minl,5420\(mirv\(minl       T{
121 AT&T 4415/5420 reverse video without changing labels
123 4415\(miw,5420\(miw     AT&T 4415/5420 in 132-column mode
124 4415\(miw\(minl,5420\(miw\(minl T{
125 AT&T 4415/5420 in 132-column mode without changing labels
127 4415\(miw\(mirv,5420\(miw\(mirv T{
128 AT&T 4415/5420 132 columns in reverse video
130 4418,5418       AT&T 5418 in 80-column mode
131 4418\(miw,5418\(miw     AT&T 5418 in 132-column mode
132 4420    AT&T Teletype Model 4420
133 4424    AT&T Teletype Model 4424
134 4424-2  T{
135 AT&T Teletype Model 4424 in display function group ii
137 4425,5425        AT&T 4425/5425
138 4425\(mifk,5425\(mifk   AT&T 4425/5425 without function keys
139 4425\(minl,5425\(minl   T{
140 AT&T 4425/5425 without changing labels in 80-column mode
142 4425\(miw,5425\(miw     AT&T 4425/5425 in 132-column mode
143 4425\(miw\(mifk,5425\(miw\(mifk T{
144 AT&T 4425/5425 without function keys in 132-column mode
146 4425\(minl\(miw,5425\(minl\(miw T{
147 AT&T 4425/5425 without changing labels in 132-column mode
149 4426    AT&T Teletype Model 4426S
150 450     DASI 450 (same as Diablo 1620)
151 450\(mi12       DASI 450 in 12-pitch mode
152 500,att500      AT&T-IS 500 terminal
153 510,510a        AT&T 510/510a in 80-column mode
154 513bct,att513   AT&T 513 bct terminal
155 5320    AT&T 5320 hardcopy terminal
156 5420_2  AT&T 5420 model 2 in 80-column mode
157 5420_2\(miw     AT&T 5420 model 2 in 132-column mode
158 5620,dmd        AT&T 5620 terminal 88 columns
159 5620\(mi24,dmd\(mi24    T{
160 AT&T Teletype Model DMD 5620 in a 24x80 layer
162 5620\(mi34,dmd\(mi34    T{
163 AT&T Teletype Model DMD 5620 in a 34x80 layer
165 610,610bct      AT&T 610 bct terminal in 80-column mode
166 610\(miw,610bct\(miw    AT&T 610 bct terminal in 132-column mode
167 630,630MTG      AT&T 630 Multi-Tasking Graphics terminal
168 7300,pc7300,unix_pc     AT&T UNIX PC Model 7300
169 735,ti  Texas Instruments TI735 and TI725
170 745     Texas Instruments TI745
171 dumb    T{
172 generic name for terminals that lack reverse line-feed and other special escape sequences
174 hp      Hewlett-Packard (same as 2645)
175 lp      generic name for a line printer
176 pt505   AT&T Personal Terminal 505 (22 lines)
177 pt505\(mi24     T{
178 AT&T Personal Terminal 505 (24-line mode)
180 sync    T{
181 generic name for synchronous Teletype Model 4540-compatible terminals
187 Commands whose behavior depends on the type of terminal should accept arguments
188 of the form \fB-T\fR\fIterm\fR where \fIterm\fR is one of the names given
189 above; if no such argument is present, such commands should obtain the terminal
190 type from the environment variable \fBTERM\fR, which, in turn, should contain
191 \fIterm\fR.
192 .SH FILES
194 .ne 2
196 \fB\fB/usr/share/lib/terminfo/?/*\fR\fR
198 .sp .6
199 .RS 4n
200 compiled terminal description database
203 .SH SEE ALSO
206 \fBsh\fR(1), \fBstty\fR(1), \fBtabs\fR(1), \fBtput\fR(1), \fBvi\fR(1),
207 \fBinfocmp\fR(1M), \fBcurses\fR(3CURSES), \fBprofile\fR(4), \fBterminfo\fR(4),
208 \fBenviron\fR(5)