JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
man pages section 5: Standards, Environments, and Macros     Oracle Solaris 11.1 Information Library
search filter icon
search icon

Document Information

Preface

Introduction

Standards, Environments, and Macros

acl(5)

ad(5)

advance(5)

adv_cap_1000fdx(5)

adv_cap_1000hdx(5)

adv_cap_100fdx(5)

adv_cap_100hdx(5)

adv_cap_10fdx(5)

adv_cap_10hdx(5)

adv_cap_asym_pause(5)

adv_cap_autoneg(5)

adv_cap_pause(5)

adv_rem_fault(5)

ANSI(5)

architecture(5)

ars(5)

ascii(5)

attributes(5)

audit_binfile(5)

audit_flags(5)

audit_remote(5)

audit_syslog(5)

availability(5)

brands(5)

C++(5)

C(5)

cancellation(5)

cap_1000fdx(5)

cap_1000hdx(5)

cap_100fdx(5)

cap_100hdx(5)

cap_10fdx(5)

cap_10hdx(5)

cap_asym_pause(5)

cap_autoneg(5)

cap_pause(5)

cap_rem_fault(5)

charmap(5)

compile(5)

condition(5)

crypt_bsdbf(5)

crypt_bsdmd5(5)

crypt_sha256(5)

crypt_sha512(5)

crypt_sunmd5(5)

crypt_unix(5)

CSI(5)

datasets(5)

device_clean(5)

dhcp(5)

dhcp_modules(5)

environ(5)

eqnchar(5)

extendedFILE(5)

extensions(5)

fedfs(5)

filesystem(5)

fmri(5)

fnmatch(5)

formats(5)

fsattr(5)

grub(5)

gss_auth_rules(5)

hal(5)

iconv_1250(5)

iconv_1251(5)

iconv(5)

iconv_646(5)

iconv_852(5)

iconv_8859-1(5)

iconv_8859-2(5)

iconv_8859-5(5)

iconv_dhn(5)

iconv_koi8-r(5)

iconv_mac_cyr(5)

iconv_maz(5)

iconv_pc_cyr(5)

iconv_unicode(5)

ieee802.11(5)

ieee802.3(5)

ipfilter(5)

ipkg(5)

isalist(5)

ISO(5)

kerberos(5)

krb5_auth_rules(5)

krb5envvar(5)

KSSL(5)

kssl(5)

labels(5)

largefile(5)

ldap(5)

lf64(5)

lfcompile(5)

lfcompile64(5)

link_duplex(5)

link_rx_pause(5)

link_tx_pause(5)

link_up(5)

locale(5)

locale_alias(5)

lp_cap_1000fdx(5)

lp_cap_1000hdx(5)

lp_cap_100fdx(5)

lp_cap_100hdx(5)

lp_cap_10fdx(5)

lp_cap_10hdx(5)

lp_cap_asym_pause(5)

lp_cap_autoneg(5)

lp_cap_pause(5)

lp_rem_fault(5)

man(5)

mansun(5)

me(5)

mech_spnego(5)

mm(5)

ms(5)

MT-Level(5)

mutex(5)

MWAC(5)

mwac(5)

nfssec(5)

NIS+(5)

NIS(5)

nis(5)

nwam(5)

openssl(5)

pam_allow(5)

pam_authtok_check(5)

pam_authtok_get(5)

pam_authtok_store(5)

pam_deny(5)

pam_dhkeys(5)

pam_dial_auth(5)

pam_krb5(5)

pam_krb5_migrate(5)

pam_ldap(5)

pam_list(5)

pam_passwd_auth(5)

pam_pkcs11(5)

pam_rhosts_auth(5)

pam_roles(5)

pam_sample(5)

pam_smbfs_login(5)

pam_smb_passwd(5)

pam_tsol_account(5)

pam_tty_tickets(5)

pam_unix_account(5)

pam_unix_auth(5)

pam_unix_cred(5)

pam_unix_session(5)

pam_user_policy(5)

pam_zfs_key(5)

pkcs11_kernel(5)

pkcs11_kms(5)

pkcs11_softtoken(5)

pkcs11_tpm(5)

pkg(5)

POSIX.1(5)

POSIX.2(5)

POSIX(5)

privileges(5)

prof(5)

pthreads(5)

RBAC(5)

rbac(5)

regex(5)

regexp(5)

resource_controls(5)

sgml(5)

smf(5)

smf_bootstrap(5)

smf_method(5)

smf_restarter(5)

smf_security(5)

smf_template(5)

solaris10(5)

solaris(5)

solbook(5)

stability(5)

standard(5)

standards(5)

step(5)

sticky(5)

suri(5)

SUS(5)

SUSv2(5)

SUSv3(5)

SVID3(5)

SVID(5)

tecla(5)

teclarc(5)

term(5)

threads(5)

trusted_extensions(5)

vgrindefs(5)

wbem(5)

xcvr_addr(5)

xcvr_id(5)

xcvr_inuse(5)

XNS4(5)

XNS(5)

XNS5(5)

XPG3(5)

XPG4(5)

XPG4v2(5)

XPG(5)

zones(5)

term

- conventional names for terminals

Description

Terminal names are maintained as part of the shell environment in the environment variable TERM. See sh(1), profile(4), and environ(5). These names are used by certain commands (for example, tabs, tput, and vi) and certain functions (for example, see curses(3CURSES)).

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). Entries in terminfo source files consist of a number of comma-separated fields. To print a description of a terminal term, use the command infocmp -I term. See infocmp(1M). 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 one to use to set the environment variable TERMINFO in $HOME/.profile; see profile(4)), the last name given should be a long name fully identifying the terminal, and all others are understood as synonyms for the terminal name. All names but the last should contain no blanks and must 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. The particular piece of hardware making up the terminal should have a root name chosen, for example, for the AT&T 4425 terminal, att4425. 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 that the hardware can be in, or user preferences should be indicated by appending a hyphen and an indicator of the mode. Thus, an AT&T 4425 terminal in 132 column mode is att4425-w. The following suffixes should be used where possible:

Suffix
Meaning
Example
-w
Wide mode (more than 80 columns)
att4425-w
-am
With auto. margins (usually default)
vt100-am
-nam
Without automatic margins
vt100-nam
-n
Number of lines on the screen
aaa-60
-na
No arrow keys (leave them in local)
c100-na
-np
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 (for example, -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(4) 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.

Here are some of the known terminal names: (For a complete list, enter the command ls -C /usr/share/lib/terminfo/? ).

2621,hp2621
Hewlett-Packard 2621 series
2631
Hewlett-Packard 2631 line printer
2631-c
Hewlett-Packard 2631 line printer, compressed mode
2631-e
Hewlett-Packard 2631 line printer, expanded mode
2640,hp2640
Hewlett-Packard 2640 series
2645,hp2645
Hewlett-Packard 2645 series
3270
IBM Model 3270
33,tty33
AT&T Teletype Model 33 KSR
35,tty35
AT&T Teletype Model 35 KSR
37,tty37
AT&T Teletype Model 37 KSR
4000a
Trendata 4000a
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 without changing labels
4415-w,5420-w
AT&T 4415/5420 in 132-column mode
4415-w-nl,5420-w-nl
AT&T 4415/5420 in 132-column mode without 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
4424-2
AT&T Teletype Model 4424 in display function group ii
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 without changing labels in 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 without function keys in 132-column mode
4425-nl-w,5425-nl-w
AT&T 4425/5425 without changing labels in 132-column mode
4426
AT&T Teletype Model 4426S
450
DASI 450 (same as Diablo 1620)
450-12
DASI 450 in 12-pitch mode
500,att500
AT&T-IS 500 terminal
510,510a
AT&T 510/510a in 80-column mode
513bct,att513
AT&T 513 bct terminal
5320
AT&T 5320 hardcopy terminal
5420_2
AT&T 5420 model 2 in 80-column mode
5420_2-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
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,unix_pc
AT&T UNIX PC Model 7300
735,ti
Texas Instruments TI735 and TI725
745
Texas Instruments TI745
dumb
generic name for terminals that lack reverse line-feed and other special escape sequences
hp
Hewlett-Packard (same as 2645)
lp
generic name for a line printer
pt505
AT&T Personal Terminal 505 (22 lines)
pt505-24
AT&T Personal Terminal 505 (24-line mode)
sync
generic name for synchronous Teletype Model 4540-compatible terminals

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 description database

See Also

sh(1), stty(1), tabs(1), tput(1), vi(1), infocmp(1M), curses(3CURSES), profile(4), terminfo(4), environ(5)