term(5) DG/UX R4.11 term(5)
NAME
term - conventional names for terminals
DESCRIPTION
Terminal names are maintained as part of the shell environment in the
environment variable TERM [see sh(1), csh(1), profile(4), and
environ(5)]. These names are used by certain commands [for example,
man(1), tabs(1), tput(1), and vi(1)] and certain functions [for
examples, see curses(3X) and termcap(3X)].
Files under /usr/share/lib/terminfo are used to name terminals and
describe their capabilities. These files are in the format described
in terminfo(4). To print a source description for a terminal term,
use the following command:
infocmp -I term
[See infocmp(1M) for more information.]
Entries in TERMINFO source files consist of a number of comma-
separated fields. White space after each comma is ignored. The
first line of each terminal description in the TERMINFO database
gives the names by which TERMINFO knows the terminal, separated by
bar (|) characters. The first name given is the most common
abbreviation for the terminal. This is the preferred one to use to
set the environment variable TERM; see profile(4). The last name
given should be a long name fully identifying the terminal. All
others are understood as synonyms for the terminal name. All names
but the last should contain no blanks and should be unique in the
first 14 characters; the last name may contain blanks for
readability.
Terminal names (except for the last, verbose entry) should be chosen
using the following conventions. Select a root name based on the
particular piece of hardware making up the terminal; for example, for
the Data General D463 terminal, d463. This name should not contain
hyphens, except that synonyms may be chosen that do not conflict with
other names. Up to 8 characters, chosen from the set a through z and
0 through 9, make up a basic terminal name. Names should generally
be based on original vendors rather than local distributors. A
terminal acquired from one vendor should not have more than one
distinct basic name. Terminal sub-models, operational modes of the
hardware, or user preferences should be indicated by appending a
hyphen and an indicator of the mode. Thus, a Data General D463
terminal in 132 column mode is d463-w. The following suffixes should
be used where possible:
Suffix Meaning Example
-------------------------------------------------------------
-w Wide mode (more than 80 columns) d463-w
-am With automatic margins (usual default) vt100-am
-nam Without automatic margins vt100-nam
-n n number of lines on the screen aaa-60
-na No arrow keys (leave them in local) c100-na
-np n number of pages of memory c100-4p
-rv Reverse video att4415-rv
To avoid conflicts with the naming conventions used in describing the
different modes of a terminal (e.g., -w), it is recommended that a
terminal's root name not contain hyphens. Further, it is good
practice to make all terminal names used in the TERMINFO database
unique. Terminal entries that are present only for inclusion in
other entries via the use= facilities should have a `+' in their
name, as in 4415+nl.
The most useful known terminal names are summarized in the table
below. For a complete list, enter the following command:
ls -C /usr/share/lib/terminfo/?
2621,hp2621 Hewlett-Packard 2621 series
2640,hp2640 Hewlett-Packard 2640 series
2645,hp2645 Hewlett-Packard 2645 series
33,tty33 AT&T Teletype Model 33 KSR
35,tty35 AT&T Teletype Model 35 KSR
37,tty37 AT&T Teletype Model 37 KSR
4014,tek4014 TEKTRONIX 4014
40,tty40 AT&T Teletype Dataspeed 40/2
43,tty43 AT&T Teletype Model 43 KSR
4410,5410 AT&T 4410/5410 in 80-column mode, version 2
4410-nfk,5410-nfk AT&T 4410/5410 without function keys, version 1
4410-nsl,5410-nsl AT&T 4410/5410 without pln defined
4410-w,5410-w AT&T 4410/5410 in 132-column mode
4410v1,5410v1 AT&T 4410/5410 in 80-column mode, version 1
4410v1-w,5410v1-w AT&T 4410/5410 in 132-column mode, version 1
4415,5420 AT&T 4415/5420 in 80-column mode
4415-nl,5420-nl AT&T 4415/5420 without changing labels
4415-rv,5420-rv AT&T 4415/5420 80 columns in reverse video
4415-rv-nl,5420-rv-nl AT&T 4415/5420 reverse video w/o changing labels
4415-w,5420-w AT&T 4415/5420 in 132-column mode
4415-w-nl,5420-w-nl AT&T 4415/5420 132-column mode w/o changing labels
4415-w-rv,5420-w-rv AT&T 4415/5420 132 columns in reverse video
4418,5418 AT&T 5418 in 80-column mode
4418-w,5418-w AT&T 5418 in 132-column mode
4420 AT&T Teletype Model 4420
4424 AT&T Teletype Model 4424
4425,5425 AT&T 4425/5425
4425-fk,5425-fk AT&T 4425/5425 without function keys
4425-nl,5425-nl AT&T 4425/5425 w/o changing labels, 80-column mode
4425-w,5425-w AT&T 4425/5425 in 132-column mode
4425-w-fk,5425-w-fk AT&T 4425/5425 w/o function keys, 132-column mode
4425-nl-w,5425-nl-w AT&T 4425/5425 w/o changing labels 132-column mode
4426 AT&T Teletype Model 4426S
500,att500 AT&T-IS 500 terminal
510a AT&T 510a in 80-column mode
513bct,att513 AT&T 513 bct terminal
54202 AT&T 5420 model 2 in 80-column mode
54202-w AT&T 5420 model 2 in 132-column mode
5620,dmd AT&T 5620 terminal 88 columns
5620-24,dmd-24 AT&T Teletype Model DMD 5620 in a 24x80 layer
5620-34,dmd-34 AT&T Teletype Model DMD 5620 in a 34x80 layer
605x,dg605x,dg Generic DG terminal (DG mode)
6053,dg6053,d2 DG 6053/D2 terminal (DG mode)
610,610bct AT&T 610 bct terminal in 80-column mode
610-w,610bct-w AT&T 610 bct terminal in 132-column mode
630,630MTG AT&T 630 Multi-Tasking Graphics terminal
7300,pc7300,unixpc AT&T UNIX PC Model 7300
d200 DG Dasher D200 terminal (DG mode)
d210 DG Dasher D210 terminal (ANSI mode)
d211 DG Dasher D211 terminal (8 bit ANSI mode)
d211-7b DG Dasher D211 terminal (7 bit ANSI mode)
d214 DG Dasher D214 terminal (ANSI mode)
d215 DG Dasher D215 terminal (8 bit ANSI mode)
d215-7b DG Dasher D215 terminal (7 bit ANSI mode)
d216 DG D216/D216+ terminals (VT100 mode)
d216-unix,d216+ DG D216+ terminal (DG-UNIX mode)
d216-unix-25,d216+25 DG D216+ terminal (25-line DG-UNIX mode)
d216e-unix,d216e+ DG D216E+ terminal (DG-UNIX mode)
d217 DG D217 terminal (VT100 mode)
d217-unix DG D217 terminal (DG-UNIX mode)
d217-unix-25 DG D217 terminal (25-line DG-UNIX mode)
d220 DG Dasher D220 color terminal (8 bit ANSI mode)
d220-7b DG Dasher D220 color terminal (7 bit ANSI mode)
d230c DG Dasher D230C color terminal (ANSI-LF mode)
d400 DG Dasher D400 terminal (DG mode)
d410 DG Dasher D410 terminal (8 bit ANSI mode)
d410-w DG Dasher D410 (8 bit compressed ANSI mode)
d410-7b DG Dasher D410 terminal (7 bit ANSI mode)
d410-7b-w DG Dasher D410 (7 bit compressed ANSI mode)
d411 DG Dasher D411 terminal (8 bit ANSI mode)
d411-w DG Dasher D411 (8 bit compressed ANSI mode)
d411-7b DG Dasher D411 terminal (7 bit ANSI mode)
d411-7b-w DG Dasher D411 (7 bit compressed ANSI mode)
d412 DG D412/D412+ terminals (VT220/VT320 mode)
d412-w DG D412/D412+ (132-column VT220/VT320 mode)
d412-unix,d412+, DG D412+ terminal (DG-UNIX mode)
d412-unix-25,d412+25, DG D412+ terminal (25-line DG-UNIX mode)
d412-unix-s,d412+s, DG D412+ terminal (DG-UNIX mode with status line)
d412-unix-sr,d412+sr, DG D412+ (DG-UNIX mode with scrolling region)
d412-unix-w,d412+w, DG D412+ terminal (132-column DG-UNIX mode)
d413 DG D413 terminal (VT320 mode)
d413-w DG D413 terminal (132-column VT320 mode)
d413-unix DG D413 terminal (DG-UNIX mode)
d413-unix-25 DG D413 terminal (25-line DG-UNIX mode)
d413-unix-s DG D413 terminal (DG-UNIX mode with status line)
d413-unix-sr DG D413 (DG-UNIX mode with scrolling region)
d413-unix-w, DG D413 terminal (132-column DG-UNIX mode)
d450 DG Dasher D450 terminal (DG mode)
d460 DG Dasher D460 terminal (8 bit ANSI mode)
d460-w DG Dasher D460 (8 bit compressed ANSI mode)
d460-7b DG Dasher D460 terminal (7 bit ANSI mode)
d460-7b-w DG Dasher D460 (7 bit compressed ANSI mode)
d461 DG Dasher D461 terminal (8 bit ANSI mode)
d461-w DG Dasher D461 (8 bit compressed ANSI mode)
d461-7b DG Dasher D461 terminal (7 bit ANSI mode)
d461-7b-w DG Dasher D461 (7 bit compressed ANSI mode)
d462 DG D462/D462+ terminals (VT220/VT320 mode)
d462-w DG D462/D462+ (132-column VT220/VT320 mode)
d462e DG D462E terminal (VT220 mode)
d462e-w DG D462E terminal (132-column VT220 mode)
d462-unix,d462+ DG D462+ terminal (DG-UNIX mode)
d462-unix-25,d462+25 DG D462+ terminal (25-line DG-UNIX mode)
d462-unix-s,d462+s DG D462+ terminal (DG-UNIX mode with status line)
d462-unix-sr,d462+sr DG D462+ (DG-UNIX mode with scrolling region)
d462-unix-w,d462+w DG D462+ terminal (132-column DG-UNIX mode)
d463 DG D463 terminal (VT320 mode)
d463-w DG D463 terminal (132-column VT320 mode)
d463-unix DG D463 terminal (DG-UNIX mode)
d463-unix-25 DG D463 terminal (25-line DG-UNIX mode)
d463-unix-s DG D463 terminal (DG-UNIX mode with status line)
d463-unix-sr DG D463 (DG-UNIX mode with scrolling region)
d463-unix-w DG D463 terminal (132-column DG-UNIX mode)
d470c,d470 DG Dasher D470C color terminal (8 bit ANSI mode)
d470c-7b,d470-7b DG Dasher D470C color terminal (7 bit ANSI mode)
d555 DG Dasher D555 phone terminal (8 bit ANSI mode)
d555-w DG Dasher D555 (8 bit compressed ANSI mode)
d555-7b DG Dasher D555 terminal (7 bit ANSI mode)
d555-7b-w DG Dasher D555 (7 bit compressed ANSI mode)
d577 DG Dasher D577 console terminal (8 bit ANSI mode)
d577-w DG Dasher D577 (8 bit compressed ANSI mode)
d577-7b DG Dasher D577 terminal (7 bit ANSI mode)
d577-7b-w DG Dasher D577 (7 bit compressed ANSI mode)
d578 DG D578 console terminal (8 bit ANSI mode)
d578-7b DG D578 terminal (7 bit ANSI mode)
dumb generic name for terminals that lack reverse
line-feed and other special escape sequences
hp generic Hewlett-Packard terminal
pt505 AT&T Personal Terminal 505 (22 lines)
pt505-24 AT&T Personal Terminal 505 (24-line mode)
vt100,vt100-am DEC VT100 terminal and compatibles
vt100-fk DEC VT100 compatible with VT220 function keys
vt100-nam DEC VT100 compatible without automatic margins
vt100-nav DEC VT100 compatible without advanced video
vt100-s,vt100-s-top DEC VT100 terminal with status line (top)
vt100-s-bot DEC VT100 terminal with status line (bottom)
vt100-w,vt100-w-am DEC VT100 terminal (132-column mode)
vt220 DEC VT220 terminal and compatibles
vt220-w DEC VT220 terminal (132-column mode)
xterm,xterm-65 X Window System xterm terminal emulator
xterms,xterm-24 xterm terminal emulator (24 line window)
xterm-fk,xterm-65-fk xterm with VT220-style function keys
xterms-fk,xterm-24-fk xterm with function keys (24 line window)
xterm-dg,xterm-65-dg xterm on a DG AViiON workstation keyboard
xterms-dg,xterm-24-dg xterm on a DG AViiON (24 line window)
Commands whose behavior depends on the type of terminal should accept
arguments of the form -Tterm where term is one of the names given
above; if no such argument is present, such commands should obtain
the terminal type from the environment variable TERM, which, in turn,
should contain term.
FILES
/usr/share/lib/terminfo/?/* compiled terminal descriptions
/usr/src/cmd/terminfo/*.ti source terminal descriptions
SEE ALSO
csh(1), man(1), sh(1), stty(1), tabs(1), tput(1), vi(1), infocmp(1M),
curses(3X), termcap(3X). profile(4), terminfo(4), editread(5),
environ(5), termcap(5), ttcompat(7).
NOTES
Not all programs follow the above naming conventions.
The following line discipline stty(1) settings are recommended for
Data General terminals:
nl -tabs -istrip for eight-bit ANSI and DG modes.
nl -tabs for seven-bit ANSI and DG modes.
-nl tabs for VT100 mode.
-nl tabs -istrip for VT220, VT320, and DG-UNIX modes.
-nl -tabs -istrip for eight-bit ANSI-LF mode.
-nl -tabs for seven-bit ANSI-LF mode.
In addition to supporting the Data General D216 terminal in its VT100
mode, the d216 entry supports the D216+ terminal in its VT100 mode.
The vt100 entry can also be used with these terminals; it makes the
numeric keypad work as an additional set of function keys (but of
course prevents the keypad from being used for data entry).
In addition to supporting the Data General D412 and D462 terminals in
their VT220 modes, the d412 and d462 entries support the D412+ and
D462+ terminals in their VT320 modes. The vt220 entry can also be
used with these terminals; it maps the function keys so that they are
more suitable for a touch-typist familiar with a VT220/VT320 keyboard
(but then the function key labels do not match the keys' effects).
The default entries for the xterm terminal emulator, xterm and
xterms, are compatible with the vt100 entry. They make the numeric
keypad work as an additional set of function keys, but do not take
advantage of the large number of function keys found on modern
keyboards (such as the PC-style keyboard used on AViiON
workstations). Additional entries, xterm-fk and xterms-fk, are
provided to enable use of these function keys and to allow data entry
from the keypad; they are usable with any keyboard that has modern
function keys. Two more entries, xterm-dg and xterms-dg, are
provided; they are similar to xterm-fk and xterms-fk, but match the
keys and layout of an AViiON keyboard exactly.
The d230c terminal entry supports both seven-bit and eight-bit
character sizes in a single entry. Separate entries are required for
other DG terminals in ANSI mode, one to support each character size.
Support for Data General terminals in DG mode is limited because this
mode does not in general work well on UNIX systems. The problem is
that the ANSI standard backspace character (Ctrl-H) causes the cursor
to ``home'' to the upper-left corner of a DG terminal in DG mode.
This behavior is incompatible with the way characters and lines are
erased from the screen by the tty(7) driver; the cursor will go to
the home position whenever the erase key is pressed. This problem
can be partially avoided by using editread(5) or by using stty(1) to
turn off echoing for the ERASE and KILL characters.
The 6053, D200, D400, and D450 terminals provide only DG mode.
International Notes
The Data General D216, D216E, D216+, and D216E+ terminals do not
support eight-bit characters in their VT100 modes.
The d412, d413, d462, and d463 entries support eight-bit characters
but require that the terminal be set for ``seven-bit control''
sequences.
Data General terminals in (eight-bit) ANSI, DG-UNIX, and DG modes use
the proprietary ``DG International'' code set, instead of an standard
code set such as ISO 8859-1. Data General terminals in VT220 and
VT320 modes use the ``DEC Multinational'' code set, which is a
compatible subset of ISO 8859-1.
The 6053, D200, D210, D214, D400, and D450 terminals do not support
eight-bit characters at all.
Licensed material--property of copyright holder(s)