unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (SunOS-5.10)
Page:
Section:
Apropos / Subsearch:
optional field

term(5)               Standards, Environments, and Macros              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),  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  termi-
       nal,  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  mak-
       ing  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 possi-
       ble:


       tab();   lw(1.833333i)   cw(1.833333i)   lw(1.833333i)    lw(1.833333i)
       lw(1.833333i)  lw(1.833333i).   SuffixMeaningExample  -wWide mode (more
       than 80 columns)att4425-w -amT{ With auto.  margins  (usually  default)
       T}vt100-am  -namWithout automatic marginsvt100-nam -nNumber of lines on
       the screen aaa-60 -naNo arrow keys (leave them in local)c100-na -npNum-
       ber of pages of memoryc100-4p -rvReverse videoatt4415-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 prac-
       tice 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/? ).


       tab(); lw(2.062500i)  lw(3.437500i).   2621,hp2621Hewlett-Packard  2621
       series  2631Hewlett-Packard  2631 line printer 2631-cT{ Hewlett-Packard
       2631 line printer, compressed mode  T}  2631-eT{  Hewlett-Packard  2631
       line  printer,  expanded mode T} 2640,hp2640Hewlett-Packard 2640 series
       2645,hp2645Hewlett-Packard 2645 series 3270IBM  Model  3270  33,tty33T{
       AT&T  Teletype Model 33 KSR T} 35,tty35T{ AT&T Teletype Model 35 KSR T}
       37,tty37T{  AT&T  Teletype  Model  37  KSR   T}   4000aTrendata   4000a
       4014,tek4014TEKTRONIX  4014  40,tty40T{ AT&T Teletype Dataspeed 40/2 T}
       43,tty43T{ AT&T Teletype Model 43 KSR T} 4410,5410T{ AT&T 4410/5410  in
       80-column  mode,  version 2 T} T{ 4410-nfk,5410-nfk T}T{ AT&T 4410/5410
       without function keys, version 1  T}  T{  4410-nsl,5410-nsl  T}T{  AT&T
       4410/5410  without  pln  defined  T}  4410-w,5410-wT{ AT&T 4410/5410 in
       132-column mode T} 4410v1,5410v1T{ AT&T 4410/5410  in  80-column  mode,
       version  1  T}  T{  4410v1-w,5410v1-w T}T{ AT&T 4410/5410 in 132-column
       mode, version 1 T} 4415,5420T{ AT&T 4415/5420 in 80-column mode  T}  T{
       4415-nl,5420-nl  T}T{  AT&T  4415/5420  without  changing  labels T} T{
       4415-rv,5420-rv T}T{ AT&T 4415/5420 80 columns in reverse video  T}  T{
       4415-rv-nl,5420-rv-nl  T}T{ AT&T 4415/5420 reverse video without chang-
       ing labels T} T{ 4415-w,5420-w T}T{ AT&T 4415/5420 in  132-column  mode
       T}  T{ 4415-w-nl,5420-w-nl T}T{ AT&T 4415/5420 in 132-column mode with-
       out changing labels T} T{ 4415-w-rv,5420-w-rv T}T{ AT&T  4415/5420  132
       columns  in reverse video T} 4418,5418T{ AT&T 5418 in 80-column mode T}
       4418-w,5418-wT{ AT&T 5418 in 132-column mode T} 4420AT&T Teletype Model
       4420  4424AT&T Teletype Model 4424 4424-2T{ AT&T Teletype Model 4424 in
       display  function   group   ii   T}   4425,5425   AT&T   4425/5425   T{
       4425-fk,5425-fk  T}T{  AT&T  4425/5425  without  function  keys  T}  T{
       4425-nl,5425-nl T}T{ AT&T 4425/5425 without changing labels in  80-col-
       umn  mode  T}  4425-w,5425-wT{  AT&T 4425/5425 in 132-column mode T} T{
       4425-w-fk,5425-w-fk  T}T{  AT&T  4425/5425  without  function  keys  in
       132-column  mode  T} T{ 4425-nl-w,5425-nl-w T}T{ AT&T 4425/5425 without
       changing labels in 132-column mode T} 4426T{ AT&T Teletype Model  4426S
       T}  450DASI  450  (same as Diablo 1620) 450-12DASI 450 in 12-pitch mode
       500,att500AT&T-IS 500 terminal 510,510aT{ AT&T  510/510a  in  80-column
       mode  T}  513bct,att513AT&T  513 bct terminal 5320T{ AT&T 5320 hardcopy
       terminal T} 5420_2T{ AT&T 5420 model 2 in 80-column mode T}  5420_2-wT{
       AT&T  5420  model 2 in 132-column mode T} 5620,dmdT{ AT&T 5620 terminal
       88 columns T} T{ 5620-24,dmd-24 T}T{ AT&T Teletype Model DMD 5620 in  a
       24x80 layer T} T{ 5620-34,dmd-34 T}T{ AT&T Teletype Model DMD 5620 in a
       34x80 layer T} 610,610bctT{ AT&T 610 bct terminal in 80-column mode  T}
       T{  610-w,610bct-w  T}T{  AT&T  610  bct terminal in 132-column mode T}
       630,630MTGT{   AT&T   630   Multi-Tasking    Graphics    terminal    T}
       7300,pc7300,unix_pcAT&T  UNIX  PC  Model  7300  735,tiTexas Instruments
       TI735 and TI725 745Texas Instruments TI745 dumbT{ generic name for ter-
       minals  that  lack reverse line-feed and other special escape sequences
       T} hpHewlett-Packard (same as 2645) lpgeneric name for a  line  printer
       pt505T{  AT&T  Personal Terminal 505 (22 lines) T} pt505-24T{ AT&T Per-
       sonal Terminal 505 (24-line mode) T} syncT{ generic name  for  synchro-
       nous Teletype Model 4540-compatible terminals T}


       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)



SunOS 5.10                        3 Jul 1990                           term(5)