[BACK]Return to terminfo.src CVS log [TXT][DIR] Up to [local] / src / share / terminfo

Diff for /src/share/terminfo/Attic/terminfo.src between version 1.7 and 1.8

version 1.7, 1998/01/22 19:20:19 version 1.8, 1998/05/31 18:12:47
Line 1 
Line 1 
 ######## TERMINAL TYPE DESCRIPTIONS SOURCE FILE  ######## TERMINAL TYPE DESCRIPTIONS SOURCE FILE
 #  #
 #       Version 9.13.24  #       Version 10.2.3
   #       $Date$
 #       terminfo syntax  #       terminfo syntax
 #  #
 #       Eric S. Raymond         (current maintainer)  #       Eric S. Raymond         (current maintainer)
 #       John Kunze, Berkeley  #       John Kunze, Berkeley
 #       Craig Leres, Berkeley  #       Craig Leres, Berkeley
 #  #
 # Please e-mail changes to terminfo@ccil.org.  The old termcap@berkeley.edu  # Please e-mail changes to terminfo@ccil.org; the old termcap@berkeley.edu
 # address is no longer valid.  # address is no longer valid.  The latest version can always be found at
   # <http://earthspace.net/terminfo>.
 #  #
 # PURPOSE OF THIS FILE:  # PURPOSE OF THIS FILE:
 #  #
Line 24 
Line 26 
 # termcap/terminfo versions.  # termcap/terminfo versions.
 #  #
 # Pointers to related resources (including the ncurses distribution) may  # Pointers to related resources (including the ncurses distribution) may
 # be found at <http://www.ccil.org/terminfo>.  # be found at <http://earthspace.net/terminfo>.
 #  #
 # INTERNATIONALIZATION:  # INTERNATIONALIZATION:
 #  #
Line 86 
Line 88 
 # FILE ORGANIZATION:  # FILE ORGANIZATION:
 #  #
 # Comments in this file begin with # - they cannot appear in the middle  # Comments in this file begin with # - they cannot appear in the middle
 # of a terminfo/termcap entry.  Individual capabilities are commented out by  # of a terminfo/termcap entry (this feature had to be sacrificed in order
   # to allow standard terminfo and termcap syntax to be generated cleanly from
   # the master format).  Individual capabilities are commented out by
 # placing a period between the colon and the capability name.  # placing a period between the colon and the capability name.
 #  #
 # The file is divided up into major sections (headed by lines beginning with  # The file is divided up into major sections (headed by lines beginning with
Line 97 
Line 101 
 # to see a listing of section headings.  The intent of the divisions is  # to see a listing of section headings.  The intent of the divisions is
 # (a) to make it easier to find things, and (b) to order the database so  # (a) to make it easier to find things, and (b) to order the database so
 # that important and frequently-encountered terminal types are near the  # that important and frequently-encountered terminal types are near the
 # front (so that you'll get reasonable search efficiency even if you don't  # front (so that you'll get reasonable search efficiency from a linear
 # use reorder).  Minor sections usually correspond to manufacturers or  # search of the termcap form even if you don't use reorder).  Minor sections
 # standard terminal classes.  Parenthesized words following manufacturer  # usually correspond to manufacturers or standard terminal classes.
 # names are type prefixes or product line names used by that manufacturers.  # Parenthesized words following manufacturer names are type prefixes or
   # product line names used by that manufacturers.
 #  #
 # HOW TO READ THE ENTRIES:  # HOW TO READ THE ENTRIES:
 #  #
Line 124 
Line 129 
 #               only support one attribute without magic-cookie lossage.  #               only support one attribute without magic-cookie lossage.
 #               Their base entry is usually paired with another that  #               Their base entry is usually paired with another that
 #               uses magic cookies to support multiple attributes.  #               uses magic cookies to support multiple attributes.
 #       -na     No arrow keys - termcap ignores arrow keys which are  
 #               actually there on the terminal, so the user can use  
 #               the arrow keys locally.  
 #       -nam    No auto-margin - suppress <am> capability  #       -nam    No auto-margin - suppress <am> capability
 #       -nl     No labels - suppress soft labels  #       -nl     No labels - suppress soft labels
 #       -ns     No status line - suppress status line  #       -ns     No status line - suppress status line
Line 135 
Line 137 
 #       -vb     Use visible bell (<flash>) rather than <bel>.  #       -vb     Use visible bell (<flash>) rather than <bel>.
 #       -w      Wide - in 132 column mode.  #       -w      Wide - in 132 column mode.
 # If a name has multiple suffixes and one is a line height, that one should  # If a name has multiple suffixes and one is a line height, that one should
 # go first.  Thus `aaa-30-s-rv' is recommended over `aaa-s-rv'.  # go first.  Thus `aaa-30-s-rv' is recommended over `aaa-s-rv-30'.
 #  #
 # Entries with embedded plus signs are designed to be included through use/tc  # Entries with embedded plus signs are designed to be included through use/tc
 # capabilities, not used as standalone entries.  # capabilities, not used as standalone entries.
Line 194 
Line 196 
 #  #
 # All the entries in this file have been edited to assume that the tabset  # All the entries in this file have been edited to assume that the tabset
 # files directory is /usr/share/tabset, in conformance with the File Hierarchy  # files directory is /usr/share/tabset, in conformance with the File Hierarchy
 # Standard for Linux and free BSD systems.  Some vendors (notably Sun) use  # Standard for Linux and open-source BSD systems.  Some vendors (notably Sun)
 # /usr/lib/tabset or (more recently) /usr/share/lib/tabset.  # use /usr/lib/tabset or (more recently) /usr/share/lib/tabset.
 #  #
 # No curses package we know of uses these files.  If their location is an  # No curses package we know of actually uses these files.  If their location
 # issue, you will have to hand-patch the file locations before compiling  # is an issue, you will have to hand-patch the file locations before compiling
 # this file.  # this file.
 #  #
 # REQUEST FOR CONTACT INFORMATION AND HISTORICAL MATERIAL:  # REQUEST FOR CONTACT INFORMATION AND HISTORICAL MATERIAL
 #  #
 # As the ANSI/ECMA-48 standard and variants take firmer hold, and as  # As the ANSI/ECMA-48 standard and variants take firmer hold, and as
 # character-cell terminals are increasingly replaced by X displays, much of  # character-cell terminals are increasingly replaced by X displays, much of
Line 249 
Line 251 
 # There are no guarantees anywhere.  Svaha!  # There are no guarantees anywhere.  Svaha!
 #  #
   
 ######## STANDARD AND SPECIAL TYPES  ######## ANSI, UNIX CONSOLE, AND SPECIAL TYPES
 #  #
 # This section describes terminal classes and maker brands that are still  # This section describes terminal classes and maker brands that are still
 # quite common.  # quite common.
Line 290 
Line 292 
 # will work with any Intel console, they all seem to have inherited \E[11m  # will work with any Intel console, they all seem to have inherited \E[11m
 # from the ANSI.SYS de-facto standard.  # from the ANSI.SYS de-facto standard.
 klone+acs|alternate character set for ansi.sys displays,  klone+acs|alternate character set for ansi.sys displays,
         acsc=`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~q\304r\362s_t\303u\264v\301w\302x\263y\371z\372{\373|\374}\375~\376.\031-\030\,\021+^P0\333p\304r\304y\363z\362{\343|\330}\234,          acsc=+\020\,\021-\030.^Y0\333`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376,
         rmacs=\E[10m, smacs=\E[11m,          rmacs=\E[10m, smacs=\E[11m,
   
 # Highlight controls corresponding to the ANSI.SYS standard.  Most  # Highlight controls corresponding to the ANSI.SYS standard.  Most
Line 315 
Line 317 
         sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, smul=\E[4m,          sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, smul=\E[4m,
         use=klone+acs,          use=klone+acs,
   
 # KOI8 (RFC1489) alternate character set  # KOI8-R (RFC1489) acs (alternate character set)
 # From: Qing Long <qinglong@Bolizm.ihep.su>, 24 Feb 1996.  # From: Qing Long <qinglong@Bolizm.ihep.su>, 24 Feb 1996.
 klone+koi8acs|alternate character set for ansi.sys displays with KOI8 charset,  klone+koi8acs|alternate character set for ansi.sys displays with KOI8 charset,
         acsc=l\202m\204k\203j\205u\207t\206v\210w\211q\200x\201n\212o\213s\214p\216r\217`\004a\237f\234g\232~\225.\037-\036+\020\,\021h\222I\2200\215y\230z\231{\267}L|\274,          acsc=+\020\,\021-\036.^_0\215`\004a\237f\234g\232h\222i\220j\205k\203l\202m\204n\212o\213p\216q\0r\217s\214t\206u\207v\210w\211x\201y\230z\231{\267|\274}L~\225,
         rmacs=\E[10m, smacs=\E[11m,          rmacs=\E[10m, smacs=\E[11m,
   
 # ANSI.SYS color control.  The setb/setf caps depend on the coincidence  # ANSI.SYS color control.  The setab/setaf caps depend on the coincidence
 # between SVr4/XPG4's color numbers and ANSI.SYS attributes.  Here are longer  # between SVr4/XPG4's color numbers and ANSI.SYS attributes.  Here are longer
 # but equivalent strings that don't rely on that coincidence:  # but equivalent strings that don't rely on that coincidence:
 # setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,  # setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
Line 330 
Line 332 
 # They match a subset of ECMA-48.  # They match a subset of ECMA-48.
 klone+color|color control for ansi.sys and ISO6429-compatible displays,  klone+color|color control for ansi.sys and ISO6429-compatible displays,
         colors#8, ncv#3, pairs#64,          colors#8, ncv#3, pairs#64,
         op=\E[37;40m, setb=\E[4%p1%dm, setf=\E[3%p1%dm,          op=\E[37;40m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
   
 # This is better than klone+color, it doesn't assume white-on-black as the  # This is better than klone+color, it doesn't assume white-on-black as the
 # default color pair,  but many `ANSI' terminals don't grok the <op> cap.  # default color pair,  but many `ANSI' terminals don't grok the <op> cap.
 ecma+color|color control for ECMA-48-compatible terminals,  ecma+color|color control for ECMA-48-compatible terminals,
         colors#8, ncv#3, pairs#64,          colors#8, ncv#3, pairs#64,
         op=\E[39;49m, setb=\E[4%p1%dm, setf=\E[3%p1%dm,          op=\E[39;49m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
   
 # Attribute control for ECMA-48-compatible terminals  # Attribute control for ECMA-48-compatible terminals
 ecma+sgr|attribute capabilities for true ECMA-48 terminals,  ecma+sgr|attribute capabilities for true ECMA-48 terminals,
Line 378 
Line 380 
 # not to require any -- even at 9600 bps.  If you encounter problems,  # not to require any -- even at 9600 bps.  If you encounter problems,
 # try including the padding specifications.  # try including the padding specifications.
 #  #
 # Note: the "as" and "ae" specifications are not implemented here, for  # Note: the :as: and :ae: specifications are not implemented here, for
 # the available termcap documentation does not make clear WHICH alternate  # the available termcap documentation does not make clear WHICH alternate
 # character set to specify.  ANSI 3.64 seems to make allowances for several.  # character set to specify.  ANSI 3.64 seems to make allowances for several.
 # Please make the appropriate adjustments to fit your needs -- that is  # Please make the appropriate adjustments to fit your needs -- that is
Line 468 
Line 470 
         u9=\E[c,          u9=\E[c,
         use=ecma+color, use=klone+sgr, use=ansi-m,          use=ecma+color, use=klone+sgr, use=ansi-m,
   
   #### Linux consoles
 #  #
 # ANSI.SYS entries  
 #  
 # This completely describes the sequences specified in the DOS 2.1 ANSI.SYS  
 # documentation (except for the keyboard key reassignment feature, which  
 # doen't fit the <pfkey> model well).  The klone+acs sequences were valid  
 # though undocumented.  The <pfkey> capability is untested but should work for  
 # keys F1-F10 (%p1 values outside this range will yield unpredictable results).  
 # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 7 1995  
 ansi.sys-old|ANSI.SYS under PC-DOS 2.1,  
         am, mir, msgr, xon,  
         cols#80, lines#25,  
         clear=\E[2J, cub1=^H, cud1=\E[B, cuf1=\E[C,  
         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[k, home=\E[H,  
         is2=\E[m\E[?7h, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,  
         khome=^^, pfkey=\E[0;%p1%{58}%+%d;%p2"%s", rc=\E[u,  
         rmam=\E[?7l, sc=\E[s, smam=\E[?7h, u6=\E[%i%d;%dR,  
         u7=\E[6n,  
         use=klone+color, use=klone+sgr,  
 ansi.sys|ANSI.SYS 3.1 and later versions,  
         el=\E[K, use=ansi.sys-old,  
   
   # This entry is good for the 1.2.13 or later version of the Linux console.
 #  #
 # Define IBM PC keypad keys for vi as per MS-Kermit while using ANSI.SYS.  
 # This should only be used when the terminal emulator cannot redefine the keys.  
 # Since redefining keys with ansi.sys also affects PC-DOS programs, the key  
 # definitions must be restored.  If the terminal emulator is quit while in vi  
 # or others using <smkx>/<rmkx>, the keypad will not be defined as per PC-DOS.  
 # The PgUp and PgDn are prefixed with ESC so that tn3270 can be used on Unix  
 # (^U and ^D are already defined for tn3270).  The ESC is safe for vi but it  
 # does "beep".  ESC ESC i is used for Ins to avoid tn3270 ESC i for coltab.  
 # Note that <kcub1> is always BS, because PC-dos can tolerate this change.  
 # Caution: vi is limited to 256 string bytes, longer crashes or weirds out vi.  
 # Consequently the End keypad key could not be set (it is relatively safe and  
 # actually useful because it sends ^@ O, which beeps and opens a line above).  
 ansi.sysk|ansisysk|PC-DOS 3.1 ANSI.SYS with keypad redefined for vi,  
         is2=U2 PC-DOS 3.1 ANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p,  
         rmkx=\E[;71;0;71p\E[;72;0;72p\E[;73;0;73p\E[;77;0;77p\E[;80;0;80p\E[;81;0;81p\E[;82;0;82p\E[;83;0;83p,  
         smkx=\E[;71;30p\E[;72;11p\E[;73;27;21p\E[;77;12p\E[;80;10p\E[;81;27;4p\E[;82;27;27;105p\E[;83;127p,  
         use=ansi.sys,  
 #  
 # Adds ins/del line/character, hence vi reverse scrolls/inserts/deletes nicer.  
 nansi.sys|nansisys|PC-DOS Public Domain NANSI.SYS,  
         dch1=\E[1P, dl1=\E[1M, ich1=\E[1@, il1=\E[1L,  
         is2=U3 PC-DOS Public Domain NANSI.SYS 9-23-86\n, use=ansi.sys,  
 #  
 # See ansi.sysk and nansi.sys above.  
 nansi.sysk|nansisysk|PC-DOS Public Domain NANSI.SYS with keypad redefined for vi,  
         dch1=\E[1P, dl1=\E[1M, ich1=\E[1@, il1=\E[1L,  
         is2=U4 PC-DOS Public Domain NANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p,  
         use=ansi.sysk,  
   
 # From: Federico Bianchi <bianchi@magna.cisid.unipi.it>, 15 Jan 1997  
 ansi-nt|psx_ansi|Windows NT POSIX console,  
         am, bw, msgr,  
         cols#80, it#8, lines#25,  
         bel=^G, clear=\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,  
         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K,  
         home=\E[H, ht=^I, ind=\E[S, kbs=^H, kcub1=\E[D, kcud1=\E[V,  
         kcuf1=\E[C, kcuu1=\E[A, nel=\r\E[S, rc=\E[u, rev=\E[7m,  
         ri=\E[T, rmso=\E[m, sc=\E[s, sgr0=\E[0m, smso=\E[7m,  
   
 #### ANSI console types  
 #  
   
 # This entry is good for the 1.2.13 version of the Linux console driver.  
 #  
 # Note: there are numerous broken linux entries out there, which didn't screw  
 # up BSD termcap but hose ncurses's smarter cursor-movement optimization.  
 # One common pathology is an incorrect tab length of 4.  
 #  
 # ***************************************************************************  # ***************************************************************************
 # *                                                                         *  # *                                                                         *
 # *                           WARNING:                                      *  # *                           WARNING:                                      *
Line 552 
Line 488 
 #       string F26 ="\033[Z"  #       string F26 ="\033[Z"
 # *                                                                         *  # *                                                                         *
 # * This has to use a key slot which is unfortunate (any unused one will    *  # * This has to use a key slot which is unfortunate (any unused one will    *
 # # do, F26 is the higher-numbered one).  The change ought to be built      *  # * do, F26 is the higher-numbered one).  The change ought to be built      *
 # * into the kernel tables.                                                 *  # * into the kernel tables.                                                 *
 # *                                                                         *  # *                                                                         *
 # ***************************************************************************  # ***************************************************************************
Line 563 
Line 499 
 # 1.9.9. All linux kernels since 1.2.13 (at least) set the screen size  # 1.9.9. All linux kernels since 1.2.13 (at least) set the screen size
 # themselves; this entry assumes that capability.  # themselves; this entry assumes that capability.
 #  #
 # From: Eric S. Raymond <esr@snark.thyrsus.com> 15 Dec 1995  
 linux|linux console,  linux|linux console,
         am, bce, eo, mir, msgr, xenl, xon,          am, bce, eo, mir, msgr, xenl, xon,
         it#8,          it#8, ncv@,
           acsc=+\020\,\021-\030.^Y0\333`\004a\261f\370g\361h\260i\316j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376,
         bel=^G, civis=\E[?25l, clear=\E[H\E[J, cnorm=\E[?25h,          bel=^G, civis=\E[?25l, clear=\E[H\E[J, cnorm=\E[?25h,
         cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C,          cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C,
         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP,          cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP,
Line 583 
Line 519 
         kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,          kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
         khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, kspd=^Z,          khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, kspd=^Z,
         nel=^M^J, rc=\E8, rev=\E[7m, ri=\EM, rmir=\E[4l, rmso=\E[27m,          nel=^M^J, rc=\E8, rev=\E[7m, ri=\EM, rmir=\E[4l, rmso=\E[27m,
         rmul=\E[24m, rs1=\Ec, sc=\E7,          rmul=\E[24m, rs1=\Ec\E]R, sc=\E7,
         sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m,          sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m,
         smir=\E[4h, smul=\E[4m, tbc=\E[3g, u6=\E[%i%d;%dR,          smir=\E[4h, smul=\E[4m, tbc=\E[3g, u6=\E[%i%d;%dR,
         u7=\E[6n, u8=\E[?6c, u9=\E[c, vpa=\E[%i%p1%dd,          u7=\E[6n, u8=\E[?6c, u9=\E[c, vpa=\E[%i%p1%dd,
Line 593 
Line 529 
         setab@, setaf@, setb@, setf@, use=linux,          setab@, setaf@, setb@, setf@, use=linux,
 linux-c-nc|linux console 1.3.x hack for ncurses only,  linux-c-nc|linux console 1.3.x hack for ncurses only,
         ccc,          ccc,
         initc=\E]P%p1%x%p2%02x%p3%02x%p4%02x, oc=\E]R, use=linux,          initc=\E]P%p1%x%p2%{255}%*%{1000}%/%02x%p3%{255}%*%{1000}%/%02x%p4%{255}%*%{1000}%/%02x,
           oc=\E]R,
           use=linux,
 # From: Dennis Henriksen <opus@osrl.dk>, 9 July 1996  # From: Dennis Henriksen <opus@osrl.dk>, 9 July 1996
 linux-c|linux console 1.3.6+, with private palette for each virtual console,  linux-c|linux console 1.3.6+ with private palette for each virtual console,
         ccc,          ccc,
         colors#8, pairs#64,          colors#8, pairs#64,
         initc=\E]P%?%p1%{9}%>%t%p1%{10}%-%p'a'%+%c%e%p1%d%p2%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%p3%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%p4%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;,          initc=\E]P%?%p1%{9}%>%t%p1%{10}%-%p'a'%+%c%e%p1%d%p2%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%p3%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%p4%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;,
Line 608 
Line 546 
         use=linux,          use=linux,
   
 # This assumes you have used setfont(8) to load one of the Linux koi8-r fonts.  # This assumes you have used setfont(8) to load one of the Linux koi8-r fonts.
   # acsc entry from Pavel Roskin" <pavel@absolute.spb.su>, 29 Sep 1997.
 linux-koi8|linux with koi8 alternate character set,  linux-koi8|linux with koi8 alternate character set,
           acsc=+\020\,\021-\030.^Y0\215`\004a\221f\234g\237h\220i\276j\205k\203l\202m\204n\212o~p\0q\0r\0s_t\206u\207v\211w\210x\201y\230z\231{\267|\274~\224,
         use=linux, use=klone+koi8acs,          use=linux, use=klone+koi8acs,
   
 # SCO console and SOS-Syscons console for 386bsd  # Another entry for KOI8-r with Qing Long's acsc.
 # (scoansi: had unknown capabilities  # (which one better complies with the standard?)
 #       :Gc=N:Gd=K:Gh=M:Gl=L:Gu=J:Gv=\072:\  linux-koi8r|linux with koi8-r alternate character set,
 #       :GC=E:GD=B:GH=D:GL=\64:GU=A:GV=\63:GR=C:          use=linux, use=klone+koi8acs,
 #       :G1=?:G2=Z:G3=@:G4=Y:G5=;:G6=I:G7=H:G8=<:\  
 #       :CW=\E[M:NU=\E[N:RF=\E[O:RC=\E[P:\  
 #       :WL=\E[S:WR=\E[T:CL=\E[U:CR=\E[V:\  
 # I renamed GS/GE/HM/EN/PU/PD/RT and added klone+sgr-dumb, based  
 # on the <smacs>=\E[12m  -- esr)  
 scoansi|SCO Extended ANSI standard crt,  
         am, eo, xon,  
         cols#80, it#8, lines#25,  
         blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[2J,  
         cub1=\E[D, cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,  
         cuu1=\E[A, dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H,  
         ht=^I, ich1=\E[@, il1=\E[L, ind=\E[S, kbs=^H, kcub1=\E[D,  
         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[F, kf1=\E[M,  
         kf10=\E[V, kf2=\E[N, kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R,  
         kf7=\E[S, kf8=\E[T, kf9=\E[U, khome=\E[H, knp=\E[G, kpp=\E[I,  
         ri=\E[T,  
         use=klone+sgr-dumb,  
   
 # This actually describes the generic SVr4 display driver for Intel boxes.  
 # The <dim=\E[2m> isn't documented and therefore may not be reliable.  
 # From: Eric Raymond <esr@snark.thyrsus.com> Mon Nov 27 19:00:53 EST 1995  
 att6386|at386|386at|AT&T WGS 6386 console,  
         am, bw, eo, xon,  
         cols#80, it#8, lines#25,  
         acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~,  
         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[=C,  
         clear=\E[2J\E[H, cnorm=\E[=1C, cr=^M, cub=\E[%p1%dD,  
         cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC,  
         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,  
         cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,  
         dl=\E[%p1%dM, dl1=\E[1M, ech=\E[%p1%dX, ed=\E[J, el=\E[K,  
         home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,  
         ich1=\E[1@, il=\E[%p1%dL, il1=\E[1L, ind=\E[S,  
         indn=\E[%p1%dS, invis=\E[9m, is2=\E[0;10;39m, kbs=^H,  
         kcbt=^], kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,  
         kdch1=\E[P, kend=\E[Y, kf1=\EOP, kf10=\EOY, kf11=\EOZ,  
         kf12=\EOA, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU,  
         kf7=\EOV, kf8=\EOW, kf9=\EOX, khome=\E[H, kich1=\E[@,  
         knp=\E[U, kpp=\E[V, krmir=\E0, nel=\r\E[S, rc=\E8, rev=\E[7m,  
         ri=\E[T, rin=\E[%p1%dT, rmacs=\E[10m, rmso=\E[m, rmul=\E[m,  
         sc=\E7,  
         sgr=\E[10m\E[0%?%p1%p3%|%t;7%;%?%p2%t;4%;%?%p4%t;5%;%?%p5%t;2%;?%p6%t;1%;%?%p9%t;12%e;10%;%?%p7%t;9%;m,  
         sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, smul=\E[4m,  
         tbc=\E[2g, vpa=\E[%i%p1%dd,  
         use=klone+color,  
 # (pc6300plus: removed ":KM=/usr/lib/ua/kmap.s5:"; renamed BO/EE/CI/CV -- esr)  
 pc6300plus|AT&T 6300 plus,  
         am, xon,  
         cols#80, lines#24,  
         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[=C,  
         clear=\E[2J\E[H, cnorm=\E[=1C, cr=^M, cub1=^H, cud1=\E[B,  
         cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A,  
         dch1=\E[1P, dim=\E[2m, dl1=\E[1M, ed=\E[0J, el=\E[0K,  
         home=\E[H, hts=\EH, ich1=\E[1@, il1=\E[1L, ind=^J,  
         invis=\E[9m, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,  
         kcuu1=\E[A, kf1=\EOc, kf10=\EOu, kf2=\EOd, kf3=\EOe,  
         kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\EOk,  
         nel=^M^J, rev=\E[7m, rmso=\E[m, rmul=\E[m, sgr0=\E[m,  
         smso=\E[7m, smul=\E[4m, tbc=\E[3g,  
   
 #  
 #       Terminfo entry for the AT&T Unix PC 7300  
 #       from escape(7) in Unix PC 7300 Manual.  
 #       Somewhat similar to a vt100-am (but different enough  
 #       to redo this from scratch.)  
 #  
 #       /***************************************************************  
 #       *  
 #       *           FONT LOADING PROGRAM FOR THE UNIX PC  
 #       *  
 #       *     This routine loads a font defined in the file ALTFONT  
 #       *     into font memory slot #1.  Once the font has been loaded,  
 #       *     it can be used as an alternative character set.  
 #       *  
 #       *     The call to ioctl with the argument WIOCLFONT is the key  
 #       *     to this routine.  For more information, see window(7) in  
 #       *     the PC 7300 documentation.  
 #       ***************************************************************/  
 #       #include <string.h>             /* needed for strcpy call */  
 #       #include <sys/window.h>         /* needed for ioctl call */  
 #       #define FNSIZE  60              /* font name size */  
 #       #define ALTFONT  "/usr/lib/wfont/special.8.ft"  /* font file */  
 #       /*  
 #       *     The file /usr/lib/wfont/special.8.ft comes with the  
 #       *     standard PC software.  It defines a graphics character set  
 #       *     similar to that of the Teletype 5425 terminal.  To view  
 #       *     this or other fonts in /usr/lib/wfont, use the command  
 #       *     cfont <filename>.  For further information on fonts see  
 #       *     cfont(1) in the PC 7300 documentation.  
 #       */  
 #  
 #       struct altfdata         /* structure for alt font data */  
 #       {  
 #       short   altf_slot;              /* memory slot number */  
 #       char    altf_name[FNSIZE];      /* font name (file name) */  
 #       };  
 #       ldfont()  
 #       {  
 #               int wd;         /* window in which altfont will be */  
 #               struct altfdata altf;  
 #               altf.altf_slot=1;  
 #               strcpy(altf.altf_name,ALTFONT);  
 #               for (wd =1; wd < 12; wd++) {  
 #                    ioctl(wd, WIOCLFONT,&altf);  
 #               }  
 #       }  
 #  
 # (att7300: added <civis>/<cnorm>/<ich1>/<invis> from the BSDI entry,  
 # they're confirmed by the man page for the System V display---esr)  
 #  
 att7300|unixpc|pc7300|3b1|s4|AT&T UNIX PC Model 7300,  
         am, xenl, xon,  
         cols#80, it#8, lines#24,  
         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,  
         bel=^G, bold=\E[7m, cbt=\E^I, civis=\E[=C, clear=\E[2J\E[H,  
         cnorm=\E[=1C, cr=^M, cub=\E[%p1%dD, cud=\E[%p1%dB,  
         cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,  
         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,  
         dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J,  
         el=\E[0K, home=\E[H, ich1=\E[@, il=\E[%p1%dL, il1=\E[L,  
         ind=^J, invis=\E[9m, is1=^O, kBEG=\EBG, kCAN=\ECN, kCPY=\ECP,  
         kCRT=\ECR, kDC=\EDC, kDL=\EDL, kEND=\EEN, kEOL=\ECI,  
         kFND=\EFI, kHLP=\EHL, kHOM=\EHM, kIC=\ENJ, kLFT=\EBW,  
         kMOV=\EMV, kNXT=\ENX, kOPT=\EOT, kPRV=\EPV, kRDO=\ERO,  
         kRIT=\EFW, kRPL=\ERP, kSAV=\ESV, kUND=\EUD, kbeg=\Ebg,  
         kbs=^H, kcan=\Ecn, kcbt=\E^I, kclo=\Ecl, kclr=\Ece,  
         kcmd=\Ecm, kcpy=\Ecp, kcrt=\Ecr, kcub1=\E[D, kcud1=\E[B,  
         kcuf1=\E[C, kcuu1=\E[A, kdch1=\Edc, ked=\Ece, kel=\Eci,  
         kend=\Een, kext=\Eex, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,  
         kf5=\E5, kf6=\E6, kf7=\E7, kf8=\E8, kfnd=\Efi, khlp=\Ehl,  
         khome=\Ehm, kich1=\Eim, kind=\Erd, kmov=\Emv, kmrk=\Emk,  
         knp=\Epg, knxt=\Enx, kopn=\Eop, kopt=\Eot, kpp=\EPG,  
         kprt=\Epr, kprv=\Epv, krdo=\Ero, kref=\Ere, krfr=\Erf,  
         kri=\Eru, krpl=\Erp, krst=\Ers, ksav=\Esv, kslt=\Esl,  
         kund=\Eud, nel=\EE, rev=\E[7m, ri=\EM, rmacs=\E[10m,  
         rmso=\E[m, rmul=\E[m, sgr0=\E[0;10m, smacs=\E[11m,  
         smso=\E[7m, smul=\E[4m,  
   
 # From: davis@unidata.ucar.edu  
 # (iris-ansi: added rmam/smam based on init string -- esr)  
 iris-ansi|iris-ansi-net|IRIS emulating ANSI terminal,  
         am,  
         cols#80, it#8, lines#40,  
         bel=^G, bold=\E[1m, clear=\E[H\E[2J,  
         cnorm=\E[9/y\E[12/y\E[=6l, cr=^M, cub=\E[%p1%dD,  
         cub1=\E[D, cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC,  
         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,  
         cuu1=\E[A, cvvis=\E[10/y\E[=1h\E[=2l\E[=6h,  
         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,  
         home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=\ED,  
         is2=\E[?1l\E>\E[?7h\E[100g\E[0m\E7\E[r\E8, kDC=\E[P,  
         kEND=\E[147q, kHOM=\E[143q, kLFT=\E[158q, kPRT=\E[210q,  
         kRIT=\E[167q, kSPD=\E[218q, kbs=^H, kcbt=\E[Z, kcub1=\E[D,  
         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177,  
         kend=\E[146q, kent=^M, kf1=\E[001q, kf10=\EOQ, kf11=\EOR,  
         kf12=\EOS, kf2=\E[002q, kf3=\E[003q, kf4=\E[004q,  
         kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, kf8=\E[008q,  
         kf9=\EOP, khome=\E[H, kich1=\E[139q, knp=\E[154q,  
         kpp=\E[150q, kprt=\E[209q, krmir=\E[146q, kspd=\E[217q,  
         nel=\EE, pfkey=\EP101;%p1%d.y%p2%s\E\\, rc=\E8,  
         rev=\E[7m, ri=\EM, rmam=\E[?7l, rmso=\E[m, rmul=\E[m, sc=\E7,  
         sgr0=\E[m, smam=\E[?7h, smso=\E[1;7m, smul=\E[4m,  
         tbc=\E[3g,  
 iris-ansi-ap|IRIS ANSI in application-keypad mode,  
         is2=\E[?1l\E>\E[?7h, kf10=\E[010q, kf11=\E[011q,  
         kf12=\E[012q, rmkx=\E>, smkx=\E=,  
         use=iris-ansi,  
   
 # The following is a version of the ibm-pc entry distributed with PC/IX,  
 # (Interactive Systems' System 3 for the Big Blue), modified by Richard  
 # McIntosh at UCB/CSM.  The :pt: and :uc: have been removed from the original,  
 # (the former is untrue, and the latter failed under UCB/man); standout and  
 # underline modes have been added.  Note: this entry describes the "native"  
 # capabilities of the PC monochrome display, without ANY emulation; most  
 # communications packages (but NOT PC/IX connect) do some kind of emulation.  
 pcix|PC/IX console,  
         am, bw, eo,  
         cols#80, lines#24,  
         clear=\Ec, cub1=^H, cud1=\E[B, cuf1=\E[C,  
         cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\E[J, el=\E[K,  
         home=\E[H, rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m,  
         smul=\E[4m,  
   
 # (ibmpcx: this entry used to be known as ibmx.  
 # It formerly included the following extension capabilities:  
 #       :GC=b:GL=v:GR=t:RT=^J:\  
 #       :GH=\E[196g:GV=\E[179g:\  
 #       :GU=\E[193g:GD=\E[194g:\  
 #       :G1=\E[191g:G2=\E[218g:G3=\E[192g:G4=\E[217g:\  
 #       :CW=\E[E:NU=\E[F:RF=\E[G:RC=\E[H:\  
 #       :WL=\E[K:WR=\E[L:CL=\E[M:CR=\E[N:\  
 # I renamed GS/GE/WL/WR/CL/CR/PU/PD/HM/EN; also, removed a duplicate  
 # ":kh=\E[Y:".  Added IBM-PC forms characters and highlights, they match  
 # what was there before. -- esr)  
 ibmpcx|xenix|ibmx|IBM PC xenix console display,  
         am, msgr,  
         cols#80, lines#25,  
         clear=^L, cub1=^H, cud1=\E[B, cuf1=\E[C,  
         cup=\E[%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,  
         ed=\E[J, el=\E[K, home=\E[H, ich1=\E[@, il1=\E[L, kbs=^H,  
         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[d,  
         kf1=\E[K, kf2=\E[L, kf3=\E[M, kf4=\E[N, khome=\E[Y, knp=\E[e,  
         kpp=\E[Z,  
         use=klone+acs, use=klone+sgr,  
   
   
 # QNX 4.0 Console  
 # Michael's original version of this entry had <am@>, <smcup=\Ei>,  
 # <rmcup=\Eh\ER>; this was so terminfo applications could write the lower  
 # right corner without triggering a scroll.  The ncurses terminfo library can  
 # handle this case with the <ich1> capability, and prefers <am> for better  
 # optimization.  Bug: The <op> capability resets attributes.  
 # From: Michael Hunter <mphunter@qnx.com> 30 Jul 1996  
 qnx|qnx4|qnx console,  
         daisy, km, mir, msgr, xhpa, xt,  
         colors#8, cols#80, it#4, lines#25, ncv#3, pairs#8,  
         acsc=l\332m\300k\277j\331q\304x\263u\264t\303n\305v\301w\302O\333a\261o\337s\334,  
         bel=^G, blink=\E{, bold=\E<, civis=\Ey0, clear=\EH\EJ,  
         cnorm=\Ey1, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,  
         cup=\EY%p1%' '%+%c%p2%' '%+%c, cuu1=\EA, cvvis=\Ey2,  
         dch1=\Ef, dl1=\EF, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\Ee,  
         il1=\EE, ind=^J, kBEG=\377\356, kCAN=\377\263,  
         kCMD=\377\267, kCPY=\377\363, kCRT=\377\364,  
         kDL=\377\366, kEND=\377\301, kEOL=\377\311,  
         kEXT=\377\367, kFND=\377\370, kHLP=\377\371,  
         kHOM=\377\260, kIC=\377\340, kLFT=\377\264,  
         kMOV=\377\306, kMSG=\377\304, kNXT=\377\272,  
         kOPT=\377\372, kPRT=\377\275, kPRV=\377\262,  
         kRDO=\377\315, kRES=\377\374, kRIT=\377\266,  
         kRPL=\377\373, kSAV=\377\307, kSPD=\377\303,  
         kUND=\377\337, kbeg=\377\300, kcan=\377\243,  
         kcbt=\377\200, kclo=\377\343, kclr=\377\341,  
         kcmd=\377\245, kcpy=\377\265, kcrt=\377\305,  
         kctab=\377\237, kcub1=\377\244, kcud1=\377\251,  
         kcuf1=\377\246, kcuu1=\377\241, kdch1=\377\254,  
         kdl1=\377\274, ked=\377\314, kel=\377\310, kend=\377\250,  
         kent=\377\320, kext=\377\270, kf1=\377\201,  
         kf10=\377\212, kf11=\377\256, kf12=\377\257,  
         kf13=\377\213, kf14=\377\214, kf15=\377\215,  
         kf16=\377\216, kf17=\377\217, kf18=\377\220,  
         kf19=\377\221, kf2=\377\202, kf20=\377\222,  
         kf21=\377\223, kf22=\377\224, kf23=\377\333,  
         kf24=\377\334, kf25=\377\225, kf26=\377\226,  
         kf27=\377\227, kf28=\377\230, kf29=\377\231,  
         kf3=\377\203, kf30=\377\232, kf31=\377\233,  
         kf32=\377\234, kf33=\377\235, kf34=\377\236,  
         kf35=\377\276, kf36=\377\277, kf37=\377\321,  
         kf38=\377\322, kf39=\377\323, kf4=\377\204,  
         kf40=\377\324, kf41=\377\325, kf42=\377\326,  
         kf43=\377\327, kf44=\377\330, kf45=\377\331,  
         kf46=\377\332, kf47=\377\316, kf48=\377\317,  
         kf5=\377\205, kf6=\377\206, kf7=\377\207, kf8=\377\210,  
         kf9=\377\211, kfnd=\377\346, khlp=\377\350,  
         khome=\377\240, khts=\377\342, kich1=\377\253,  
         kil1=\377\273, kind=\377\261, kmov=\377\351,  
         kmrk=\377\355, kmsg=\377\345, knp=\377\252,  
         knxt=\377\312, kopn=\377\357, kopt=\377\353,  
         kpp=\377\242, kprt=\377\255, kprv=\377\302,  
         krdo=\377\336, kref=\377\354, kres=\377\360,  
         krfr=\377\347, kri=\377\271, krmir=\377\313,  
         krpl=\377\362, krst=\377\352, ksav=\377\361,  
         kslt=\377\247, kspd=\377\335, ktbc=\377\344,  
         kund=\377\365, mvpa=\E!%p1%02d, op=\ER,  
         rep=\Eg%p2%' '%+%c%p1%c, rev=\E(, ri=\EI, rmcup=\Eh\ER,  
         rmso=\E), rmul=\E], rs1=\ER, setb=\E@%p1%Pb%gb%gf%d%d,  
         setf=\E@%p1%Pf%gb%gf%d%d,  
         sgr=%?%p1%t\E<%;%p2%t\E[%;%p3%t\E(%;%p4%t\E{%;%p6%t\E<%;,  
         sgr0=\E}\E]\E>\E), smcup=\Ei, smso=\E(, smul=\E[,  
   
 #### NetBSD consoles  #### NetBSD consoles
 #  #
 # pcvt termcap database entries (corresponding to release 3.31)  # pcvt termcap database entries (corresponding to release 3.31)
Line 894 
Line 566 
 # the :Xs: flag. Then I split :is: into a size-independent <is1> and a  # the :Xs: flag. Then I split :is: into a size-independent <is1> and a
 # size-dependent <is2>.  Finally, I added <rmam>/<smam> -- esr)  # size-dependent <is2>.  Finally, I added <rmam>/<smam> -- esr)
   
 # NOTE: because the 386BSD "vi"/"elvis" seems to have a bug if  # NOTE: <ich1> has been taken out of this entry. for reference, it should
 # both <ich1> and <smir> are specified (an original VT220  # be <ich1=\E[@>.  For discussion, see ICH/ICH1 VERSUS RMIR/SMIR below.
 # shows the same buggy behaviour!), <ich1> has been taken  
 # out of this entry. for reference, it should be <ich1=\E[@>.  
 pcvtXX|pcvt vt200 emulator (DEC VT220),  pcvtXX|pcvt vt200 emulator (DEC VT220),
         am, km, mir, msgr, xenl,          am, km, mir, msgr, xenl,
         it#8, vt#3,          it#8, vt#3,
         acsc=llmmkkjjuuttvvwwqqxxnnoosspprr``aaffgg~~..--++\,\,hhII00yyzz,          acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz~~,
         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M,          bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M,
         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,          csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,          cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
Line 989 
Line 659 
 # for syscons  # for syscons
 # common entry without semigraphics  # common entry without semigraphics
 # Bug: The <op> capability resets attributes.  # Bug: The <op> capability resets attributes.
   # Bug? The ech and el1 attributes appear to move the cursor in some cases; for
   # instance el1 does if the cursor is moved to the right margin first.  Removed
   # by T.Dickey 97/5/3 (ech=\E[%p1%dX, el1=\E[1K)
   #
   # Setting colors turns off reverse; we cannot guarantee order, so use ncv.
   # Note that this disables standout with color.
 cons25w|ansiw|ansi80x25-raw|freebsd console (25-line raw mode),  cons25w|ansiw|ansi80x25-raw|freebsd console (25-line raw mode),
         am, bce, bw, eo, msgr, npc,          am, bce, bw, eo, msgr, npc,
         colors#8, cols#80, it#8, lines#25, pairs#64,          colors#8, cols#80, it#8, lines#25, ncv#5, pairs#64,
         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,          bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
         cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,          cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,          cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
         cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,          cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
         dim=\E[30;1m, dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX,          dim=\E[30;1m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K,
         ed=\E[J, el=\E[K, el1=\E[1K, home=\E[H, hpa=\E[%i%p1%d`,          home=\E[H, hpa=\E[%i%p1%d`, ht=^I, ich=\E[%p1%d@,
         ht=^I, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L,          ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S,
         ind=\E[S, indn=\E[%p1%dS, kb2=\E[E, kbs=^H, kcbt=\E[Z,          indn=\E[%p1%dS, kb2=\E[E, kbs=^H, kcbt=\E[Z, kcub1=\E[D,
         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177,          kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177, kend=\E[F,
         kend=\E[F, kf1=\E[M, kf10=\E[V, kf11=\E[W, kf12=\E[X,          kf1=\E[M, kf10=\E[V, kf11=\E[W, kf12=\E[X, kf2=\E[N,
         kf2=\E[N, kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S,          kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S, kf8=\E[T,
         kf8=\E[T, kf9=\E[U, khome=\E[H, kich1=\E[L, knp=\E[G,          kf9=\E[U, khome=\E[H, kich1=\E[L, knp=\E[G, kpp=\E[I,
         kpp=\E[I, nel=\E[E, op=\E[x, rev=\E[7m, ri=\E[T,          nel=\E[E, op=\E[x, rev=\E[7m, ri=\E[T, rin=\E[%p1%dT,
         rin=\E[%p1%dT, rmso=\E[m, rs1=\E[x\E[m\Ec,          rmso=\E[m, rs1=\E[x\E[m\Ec, setab=\E[4%p1%dm,
         setb=\E[4%p1%dm, setf=\E[3%p1%dm, sgr0=\E[m, smso=\E[7m,          setaf=\E[3%p1%dm, sgr0=\E[m, smso=\E[7m, vpa=\E[%i%p1%dd,
         vpa=\E[%i%p1%dd,  
 cons25|ansis|ansi80x25|freebsd console (25-line ansi mode),  cons25|ansis|ansi80x25|freebsd console (25-line ansi mode),
         acsc=l\332m\300k\277j\331u\264t\303v\301w\302q\304x\263n\305`\004a\260f\370g\361~\371.\031-\030h\261I^U0\333y\363z\362,          acsc=-\030.^Y0\333`\004a\260f\370g\361h\261i\025j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263y\363z\362~\371,
         use=cons25w,          use=cons25w,
 cons25-m|ansis-mono|ansi80x25-mono|freebsd console (25-line mono ansi mode),  cons25-m|ansis-mono|ansi80x25-mono|freebsd console (25-line mono ansi mode),
         colors@, pairs@,          colors@, pairs@,
         bold@, dim@, op@, rmul=\E[m, setb@, setf@, smul=\E[4m, use=cons25,          bold@, dim@, op@, rmul=\E[m, setab@, setaf@, smul=\E[4m, use=cons25,
 cons30|ansi80x30|freebsd console (30-line ansi mode),  cons30|ansi80x30|freebsd console (30-line ansi mode),
         lines#30, use=cons25,          lines#30, use=cons25,
 cons30-m|ansi80x30-mono|freebsd console (30-line mono ansi mode),  cons30-m|ansi80x30-mono|freebsd console (30-line mono ansi mode),
Line 1031 
Line 706 
 cons60-m|ansi80x60-mono|freebsd console (60-line mono ansi mode),  cons60-m|ansi80x60-mono|freebsd console (60-line mono ansi mode),
         lines#60, use=cons25-m,          lines#60, use=cons25-m,
 cons25r|pc3r|ibmpc3r|cons25-koi8-r|freebsd console w/koi8-r cyrillic,  cons25r|pc3r|ibmpc3r|cons25-koi8-r|freebsd console w/koi8-r cyrillic,
         acsc=q\200x\201m\204v\211j\205t\206n\212u\207l\202w\210k\203y\230z\231f\234~\225a\220h\221`\004.\031-\030I^U0\215,          acsc=-\030.^Y0\215`\004a\220f\234h\221i\025j\205k\203l\202m\204n\212q\0t\206u\207v\211w\210x\201y\230z\231~\225,
         use=cons25w,          use=cons25w,
 cons25r-m|pc3r-m|ibmpc3r-mono|cons25-koi8r-m|freebsd console w/koi8-r cyrillic (mono),  cons25r-m|pc3r-m|ibmpc3r-mono|cons25-koi8r-m|freebsd console w/koi8-r cyrillic (mono),
         colors@, pairs@,          colors@, pairs@,
         op@, rmul=\E[m, setb@, setf@, smul=\E[4m, use=cons25r,          op@, rmul=\E[m, setab@, setaf@, smul=\E[4m, use=cons25r,
 cons50r|cons50-koi8r|freebsd console w/koi8-r cyrillic (50 lines),  cons50r|cons50-koi8r|freebsd console w/koi8-r cyrillic (50 lines),
         lines#50, use=cons25r,          lines#50, use=cons25r,
 cons50r-m|cons50-koi8r-m|freebsd console w/koi8-r cyrillic (50-line mono),  cons50r-m|cons50-koi8r-m|freebsd console w/koi8-r cyrillic (50-line mono),
Line 1046 
Line 721 
         lines#60, use=cons25r-m,          lines#60, use=cons25r-m,
 # ISO 8859-1 FreeBSD console  # ISO 8859-1 FreeBSD console
 cons25l1|cons25-iso8859|freebsd console w/iso 8859-1 chars,  cons25l1|cons25-iso8859|freebsd console w/iso 8859-1 chars,
         acsc=l\215m\216k\214j\213u\226t\225v\227w\230q\222x\231n\217o\220s\224p\221r\223`\201a\202f\207g\210~\237.\031-\030+\253\,\273I\247y\232z\233,          acsc=+\253\,\273-\030.\031`\201a\202f\207g\210i\247j\213k\214l\215m\216n\217o\220p\221q\222r\223s\224t\225u\226v\227w\230x\231y\232z\233~\237,
         use=cons25w,          use=cons25w,
 cons25l1-m|cons25-iso-m|freebsd console w/iso 8859-1 chars (mono),  cons25l1-m|cons25-iso-m|freebsd console w/iso 8859-1 chars (mono),
         colors@, pairs@,          colors@, pairs@,
         bold@, dim@, op@, rmul=\E[m, setb@, setf@, smul=\E[4m, use=cons25l1,          bold@, dim@, op@, rmul=\E[m, setab@, setaf@, smul=\E[4m, use=cons25l1,
 cons50l1|cons50-iso8859|freebsd console w/iso 8859-1 chars (50 lines),  cons50l1|cons50-iso8859|freebsd console w/iso 8859-1 chars (50 lines),
         lines#50, use=cons25l1,          lines#50, use=cons25l1,
 cons50l1-m|cons50-iso-m|freebsd console w/iso 8859-1 chars (50-line mono),  cons50l1-m|cons50-iso-m|freebsd console w/iso 8859-1 chars (50-line mono),
Line 1069 
Line 744 
 origpc3|origibmpc3|IBM PC 386BSD Console,  origpc3|origibmpc3|IBM PC 386BSD Console,
         am, bw, eo, xon,          am, bw, eo, xon,
         cols#80, lines#25,          cols#80, lines#25,
         acsc=l\332q\304k\277x\263j\331m\300w\302u\264v\301t\303n\305,          acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263,
         bold=\E[7m, clear=\Ec, cub1=^H, cud1=\E[B, cuf1=\E[C,          bold=\E[7m, clear=\Ec, cub1=^H, cud1=\E[B, cuf1=\E[C,
         cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\E[J, el=\E[K,          cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\E[J, el=\E[K,
         home=\E[H, ind=\E[S, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,          home=\E[H, ind=\E[S, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
Line 1105 
Line 780 
         il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,          il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
         kcuu1=\E[A, khome=\E[H, kich1=\E[L, kll=\E[F, knp=\E[G,          kcuu1=\E[A, khome=\E[H, kich1=\E[L, kll=\E[F, knp=\E[G,
         kpp=\E[I, nel=^M^J, op=\E[x, rc=\E8, rev=\E[7m, rmso=\E[0m,          kpp=\E[I, nel=^M^J, op=\E[x, rc=\E8, rev=\E[7m, rmso=\E[0m,
         sc=\E7, setb=\E[4%p1%dm, setf=\E[3%p1%dm, sgr0=\E[0m,          sc=\E7, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[0m,
         smso=\E[7m,          smso=\E[7m,
 bsdos-bold|IBM PC BSD/386 Console with bold instead of underline,  bsdos-bold|IBM PC BSD/386 Console with bold instead of underline,
         rmul=\E[0m, smul=\E[1m,          rmul=\E[0m, smul=\E[1m,
Line 1121 
Line 796 
   
 #### DEC VT100 and compatibles  #### DEC VT100 and compatibles
 #  #
 # DEC terminals from the vt100 forward (and the vt52, way obsolete but still  # DEC terminals from the vt100 forward are collected here. Older DEC terminals
 # the basis of some emulations) are collected here. Older DEC terminals and  # and micro consoles can be found in the `obsolete' section.  More details on
 # micro consoles can be found in the `obsolete' section.  More details on  
 # the relationship between the VT100 and ANSI X3.64/ISO 6429/ECMA-48 may be  # the relationship between the VT100 and ANSI X3.64/ISO 6429/ECMA-48 may be
 # found near the end of this file.  # found near the end of this file.
 #  #
Line 1136 
Line 810 
 # line and trademark, to SunRiver Data Systems.  SunRiver has since changed  # line and trademark, to SunRiver Data Systems.  SunRiver has since changed
 # its name to Boundless Technologies; see http://www.boundless.com.  # its name to Boundless Technologies; see http://www.boundless.com.
 #  #
 # (The <acsc>, <rmacs>, and <smacs> capabilities aren't in DEC's official  
 # entry -- esr)  
   
 vt52|dec vt52,  
         cols#80, it#8, lines#24,  
         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,  
         bel=^G, clear=\EH\EJ, cr=^M, cub1=\ED, cud1=\EB, cuf1=\EC,  
         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,  
         el=\EK, home=\EH, ht=^I, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB,  
         kcuf1=\EC, kcuu1=\EA, nel=^M^J, ri=\EI, rmacs=\EG, smacs=\EF,  
   
 # NOTE:  Any VT100 emulation, whether in hardware or software, almost  # NOTE:  Any VT100 emulation, whether in hardware or software, almost
 # certainly includes what DEC called the `Level 1 editing extension' codes;  # certainly includes what DEC called the `Level 1 editing extension' codes;
 # only the very oldest VT100s lacked these and there probably aren't any of  # only the very oldest VT100s lacked these and there probably aren't any of
Line 1231 
Line 895 
 # (and even then, whenever it can be arranged!) you should set  # (and even then, whenever it can be arranged!) you should set
 #       INTERLACE_OFF  #       INTERLACE_OFF
 #  #
 # (I added <rmam>/<smam> based on the init string, also <OTbs> -- esr)  # (vt100: I added <rmam>/<smam> based on the init string, also <OTbs>. -- esr)
 vt100|vt100-am|dec vt100 (w/advanced video),  vt100|vt100-am|dec vt100 (w/advanced video),
         am, msgr, xenl, xon,          am, msgr, xenl, xon,
         cols#80, it#8, lines#24, vt#3,          cols#80, it#8, lines#24, vt#3,
Line 1255 
Line 919 
         smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,          smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
 vt100nam|vt100-nam|vt100 no automargins,  vt100nam|vt100-nam|vt100 no automargins,
         am@, xenl@, use=vt100-am,          am@, xenl@, use=vt100-am,
   vt100-vb|dec vt100 (w/advanced video) & no beep,
           bel@, flash=\E[?5h\E[?5l, use=vt100,
   
 # Ordinary vt100 in 132 column ("wide") mode.  # Ordinary vt100 in 132 column ("wide") mode.
 vt100-w|vt100-w-am|dec vt100 132 cols (w/advanced video),  vt100-w|vt100-w-am|dec vt100 132 cols (w/advanced video),
Line 1299 
Line 965 
         mir,          mir,
         dch1=\E[P, dl1=\E[M, il1=\E[L, rmir=\E[4l, smir=\E[4h, use=vt100,          dch1=\E[P, dl1=\E[M, il1=\E[L, rmir=\E[4l, smir=\E[4h, use=vt100,
 vt102-w|dec vt102 in wide mode,  vt102-w|dec vt102 in wide mode,
         lines#132,          cols#132,
         rs3=\E[?3h, use=vt102,          rs3=\E[?3h, use=vt102,
   
 # Many brain-dead PC comm programs that pretend to be `vt100-compatible'  # Many brain-dead PC comm programs that pretend to be `vt100-compatible'
Line 1365 
Line 1031 
         cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P,          cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P,
         dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I,          dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I,
         if=/usr/share/tabset/vt100, il1=\E[L, ind=\ED$<20/>,          if=/usr/share/tabset/vt100, il1=\E[L, ind=\ED$<20/>,
         is2=\E[1;24r\E[24;1H, kbs=\177, kcub1=\EOD, kcud1=\EOB,          is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\E[D, kcud1=\E[B,
         kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~, kend=\E[4~, kf1=\EOP,          kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kend=\E[4~, kf1=\EOP,
         kf10=\E[29~, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\E[17~,          kf10=\E[29~, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\E[17~,
         kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, kf9=\E[21~,          kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, kf9=\E[21~,
         khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, rc=\E8,          khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, rc=\E8,
Line 1400 
Line 1066 
         am@,          am@,
         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h, use=vt220,          rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h, use=vt220,
   
   # This is misnamed (see xterm-8bit for an example of 8-bit controls)
 vt220-8|dec vt220 8 bit terminal,  vt220-8|dec vt220 8 bit terminal,
         am, mc5i, mir, msgr, xenl, xon,          am, mc5i, mir, msgr, xenl, xon,
         cols#80, it#8, lines#24,          cols#80, it#8, lines#24,
Line 1413 
Line 1080 
         flash=\E[?5h$<200/>\E[?5l, home=\E[H, ht=^I, hts=\EH,          flash=\E[?5h$<200/>\E[?5l, home=\E[H, ht=^I, hts=\EH,
         ich=\E[%p1%d@, if=/usr/share/tabset/vt100,          ich=\E[%p1%d@, if=/usr/share/tabset/vt100,
         il=\E[%p1%dL, il1=\E[L, ind=\ED,          il=\E[%p1%dL, il1=\E[L, ind=\ED,
         is2=\E[?7h\E[>\E[?1h\E F\E[?4l, kbs=\177, kcub1=\E[D,          is2=\E[?7h\E[>\E[?1h\E F\E[?4l, kbs=^H, kcub1=\E[D,
         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf10=\E[21~,          kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf10=\E[21~,
         kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,          kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
         kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\EOQ,          kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\EOQ,
Line 1426 
Line 1093 
         rmul=\E[24m, rs1=\E[?3l, sc=\E7, sgr0=\E[m, smacs=^N,          rmul=\E[24m, rs1=\E[?3l, sc=\E7, sgr0=\E[m, smacs=^N,
         smam=\E[?7h, smir=\E[4h, smso=\E[7m, smul=\E[4m, tbc=\E[3g,          smam=\E[?7h, smir=\E[4h, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
   
   # vt220 termcap written Tue Oct 25 20:41:10 1988 by Alex Latzko
   # (not an official DEC entry!)
   # The problem with real vt220 terminals is they don't send escapes when in
   # in vt220 mode.  This can be gotten around two ways.  1> don't send
   # escapes or 2> put the vt220 into vt100 mode and use all the nifty
   # features of vt100 advanced video which it then has.
   #
   # This entry takes the view of putting a vt220 into vt100 mode so
   # you can use the escape key in emacs and everything else which needs it.
   #
   # You probably don't want to use this on a VMS machine since VMS will think
   # it has a vt220 and will get fouled up coming out of emacs
   #
   # From: Alexander Latzko <latzko@marsenius.rutgers.edu>, 30 Dec 1996
   vt200-js|vt220-js|dec vt200 series with jump scroll,
           am,
           cols#80,
           bel=^G, clear=\E[H\E[J, cr=^M, csr=\E[%i%p1%d;%p2%dr,
           cub1=^H, cud1=^J, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
           dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
           il1=\E[L, ind=\ED,
           is2=\E[61"p\E[H\E[?3l\E[?4l\E[?1l\E[?5l\E[?6l\E[?7h\E[?8h\E[?25h\E>\E[m,
           kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
           kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, nel=^M\ED,
           rf=/usr/lib/tabset/vt100, ri=\EM, rmdc=, rmir=\E[4l,
           rmkx=\E[?1l\E>, rmso=\E[27m$<5/>, rmul=\E[24m,
           rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, smdc=,
           smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m$<5/>, smul=\E[4m,
   
 # This was DEC's vt320.  Use the purpose-built one below instead  # This was DEC's vt320.  Use the purpose-built one below instead
 #vt320|DEC VT320 in vt100 emulation mode,  #vt320|DEC VT320 in vt100 emulation mode,
 #       use=vt220,  #       use=vt220,
Line 1615 
Line 1311 
         smkx=\E=, smso=\E[7m, smul=\E[4m,          smkx=\E=, smso=\E[7m, smul=\E[4m,
   
 #  #
 #  DECUDK  # DEC VT220 and up support DECUDK (user-defined keys).  DECUDK (i.e., pfx)
   # takes two parameters, the key and the string.  Translating the key is
   # straightforward (keys 1-5 are not defined on real terminals, though some
   # emulators define these):
   #
 #               if (key < 16) then  value = key;  #               if (key < 16) then  value = key;
 #               else if (key < 21) then value = key + 1;  #               else if (key < 21) then value = key + 1;
 #               else if (key < 25) then value = key + 2;  #               else if (key < 25) then value = key + 2;
Line 1623 
Line 1323 
 #               else if (key < 30) then value = key + 4;  #               else if (key < 30) then value = key + 4;
 #               else value = key + 5;  #               else value = key + 5;
 #  #
   # The string must be the hexadecimal equivalent, e.g., "5052494E" for "PRINT".
   # There's no provision in terminfo for emitting a string in this format, so the
   # application has to know it.
   #
 vt420pc|DEC VT420 w/PC keyboard,  vt420pc|DEC VT420 w/PC keyboard,
         kdch1=\177, kend=\E[4~, kf1=\E[11~, kf10=\E[21~,          kdch1=\177, kend=\E[4~, kf1=\E[11~, kf10=\E[21~,
         kf11=\E[23~, kf12=\E[24~, kf13=\E[11;2~, kf14=\E[12;2~,          kf11=\E[23~, kf12=\E[24~, kf13=\E[11;2~, kf14=\E[12;2~,
Line 1757 
Line 1461 
         is2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H,          is2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H,
         rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H,          rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H,
         use=vt320-w,          use=vt320-w,
 z340-nam|zstem vt340 terminal emulator 132col 42line,  z340-nam|zstem vt340 terminal emulator 132col 42line (no automatic margins),
         am@,          am@,
         is2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H,          is2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H,
         rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H,          rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H,
Line 1842 
Line 1546 
         rs2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, sc=\E7,          rs2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, sc=\E7,
         sgr0=\E[m, smacs=^N, smcup=\E7\E[?47h, smir=\E[4h,          sgr0=\E[m, smacs=^N, smcup=\E7\E[?47h, smir=\E[4h,
         smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,          smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
 # This is the stock xterm entry supplied with XFree86 3.2  # This is the base xterm entry for the xterm supplied with XFree86 3.2 & up.
 # The name has been changed and some aliases have been removed.  # The name has been changed and some aliases have been removed.
 xterm-xf86-v32|xterm terminal emulator (X Window System),  xterm-xf86-v32|xterm terminal emulator (XFree86 3.2 Window System),
         am, bce, km, mir, msgr, xenl,          am, bce, km, mir, msgr, xenl,
         colors#8, cols#80, it#8, lines#24, pairs#64,          colors#8, cols#80, it#8, lines#24, pairs#64,
         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,          acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
         bel=^G, bold=\E[1m, civis=\E[?25l, clear=\E[H\E[2J,          bel=^G, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
         cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr,          clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,          csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,          cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
         cuu=\E[%p1%dA, cuu1=\E[A, cvvis=\E[?25h, dch=\E[%p1%dP,          cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
         dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J,          cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
         el=\E[K, el1=\E[1K, enacs=\E(B\E)0, flash=\E[?5h\E[?5l,          dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K,
         home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,          enacs=\E(B\E)0, flash=\E[?5h\E[?5l, home=\E[H,
         ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,          hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,
           il=\E[%p1%dL, il1=\E[L, ind=^J,
         is2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>,          is2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>,
         ka1=\EOw, ka3=\EOu, kb2=\EOy, kbeg=\EOE, kbs=^H, kc1=\EOq,          ka1=\EOw, ka3=\EOu, kb2=\EOy, kbeg=\EOE, kbs=^H, kc1=\EOq,
         kc3=\EOs, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,          kc3=\EOs, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
Line 1879 
Line 1584 
         smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,          smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
         tbc=\E[3g, vpa=\E[%i%p1%dd,          tbc=\E[3g, vpa=\E[%i%p1%dd,
   
   # This is the stock xterm entry supplied with XFree86 3.3, which uses VT100
   # codes for F1-F4 except while in VT220 mode.
   xterm-xf86-v33|xterm terminal emulator (XFree86 3.3 Window System),
           kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
           use=xterm-xf86-v32,
   
   # This beta version will probably be released in XFree86 4.0 in 1998.
   # Besides providing printer support, it exploits a new feature that allows
   # xterm to use terminfo-based descriptions with the titeInhibit resource.
   xterm-xf86-v40|xterm terminal emulator (XFree86 4.0 Window System),
           mc5i,
           mc0=\E[i, mc4=\E[4i, mc5=\E[5i, rmcup=\E[?1047l\E[?1048l,
           rs1=\Ec, smcup=\E[?1048h\E[?1047h,
           use=xterm-xf86-v33,
   
   # From: David J. MacKenzie <djm@va.pubnix.com>, 14 Nov 1997
   xterm-xi|xterm on XI Graphics Accelerated X under BSD/OS 3.1,
           rmso=\E[m, rmul=\E[m,
           use=xterm-xf86-v33,
   
   # This is one of the variants from XFree86 3.3 xterm, updated for 4.0
   # From Thomas S. Dickey <dickey@clark.net>, 11 May 1998
   xterm-16color|xterm with 16 colors like aixterm,
           colors#16, ncv#32, pairs#256,
           setab@, setaf@,
           setb=%p1%{8}%/%{6}%*%{4}%+\E[%d%p1%{8}%m%Pa%?%ga%{1}%=%t4%e%ga%{3}%=%t6%e%ga%{4}%=%t1%e%ga%{6}%=%t3%e%ga%d%;m,
           setf=%p1%{8}%/%{6}%*%{3}%+\E[%d%p1%{8}%m%Pa%?%ga%{1}%=%t4%e%ga%{3}%=%t6%e%ga%{4}%=%t1%e%ga%{6}%=%t3%e%ga%d%;m,
           use=xterm-xf86-v40,
   
   # This is another variant, for XFree86 4.0 xterm (T.Dickey)
   # This is an 8-bit version of xterm, which emulates DEC vt220 with ANSI color.
   # To use it, your decTerminalID resource must be set to 200 or above.
   #
   #       HTS     \E H    \210
   #       RI      \E M    \215
   #       SS3     \E O    \217
   #       CSI     \E [    \233
   #
   xterm-8bit|xterm terminal emulator 8-bit controls (X Window System),
           am, bce, km, mc5i, mir, msgr, xenl,
           colors#8, cols#80, it#8, lines#24, pairs#64,
           acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
           bel=^G, bold=\2331m, cbt=\233Z, civis=\233?25l,
           clear=\233H\2332J, cnorm=\233?25h, cr=^M,
           csr=\233%i%p1%d;%p2%dr, cub=\233%p1%dD, cub1=^H,
           cud=\233%p1%dB, cud1=^J, cuf=\233%p1%dC, cuf1=\233C,
           cup=\233%i%p1%d;%p2%dH, cuu=\233%p1%dA, cuu1=\233A,
           cvvis=\233?25h, dch=\233%p1%dP, dch1=\233P,
           dl=\233%p1%dM, dl1=\233M, ech=\233%p1%dX, ed=\233J,
           el=\233K, el1=\2331K, enacs=\E(B\E)0,
           flash=\233?5h\233?5l, home=\233H, hpa=\233%i%p1%dG,
           ht=^I, hts=\210, ich=\233%p1%d@, ich1=\233@, il=\233%p1%dL,
           il1=\233L, ind=^J,
           is2=\E7\E G\233r\233m\233?7h\233?1;3;4;6l\2334l\E8\E>,
           ka1=\217w, ka3=\217u, kb2=\217y, kbeg=\217E, kbs=^H,
           kc1=\217q, kc3=\217s, kcub1=\217D, kcud1=\217B,
           kcuf1=\217C, kcuu1=\217A, kdch1=\2333~, kend=\217F,
           kent=\217M, kf1=\23311~, kf10=\23321~, kf11=\23323~,
           kf12=\23324~, kf13=\23325~, kf14=\23326~, kf15=\23328~,
           kf16=\23329~, kf17=\23331~, kf18=\23332~, kf19=\23333~,
           kf2=\23312~, kf20=\23334~, kf3=\23313~, kf4=\23314~,
           kf5=\23315~, kf6=\23317~, kf7=\23318~, kf8=\23319~,
           kf9=\23320~, kfnd=\2331~, khome=\217H, kich1=\2332~,
           kmous=\233M, knp=\2336~, kpp=\2335~, kslt=\2334~,
           mc0=\233i, mc4=\2334i, mc5=\2335i, meml=\El, memu=\Em,
           op=\23339;49m, rc=\E8, rev=\2337m, ri=\215, rmacs=^O,
           rmam=\233?7l, rmcup=\2332J\233?47l\E8, rmir=\2334l,
           rmkx=\233?1l\E>, rmso=\23327m, rmul=\23324m, rs1=\Ec,
           rs2=\E7\E[62"p\E G\233r\233m\233?7h\233?1;3;4;6l\2334l\E8\E>,
           sc=\E7, setab=\2334%p1%dm, setaf=\2333%p1%dm,
           setb=\2334%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
           setf=\2333%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
           sgr=\2330%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
           sgr0=\233m^O, smacs=^N, smam=\233?7h, smcup=\E7\233?47h,
           smir=\2334h, smkx=\233?1h\E=, smso=\2337m, smul=\2334m,
           tbc=\2333g, vpa=\233%i%p1%dd,
   
 # This is xterm for ncurses. It mainly adds mappings for more high-half  # This is xterm for ncurses. It mainly adds mappings for more high-half
 # characters.  Note that these will only work for fixed-width fonts.  # characters.  Note that these will only work for fixed-width fonts.
 # Once XFree86 3.2 is established, we'll switch this to use=xterm-xf86-v32  
 xterm|vs100|xterms|xterm terminal emulator (X Window System),  xterm|vs100|xterms|xterm terminal emulator (X Window System),
         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++\,\,II00,          acsc=++\,\,--..00``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
         u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c,          kmous=\E[M, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c,
         use=xterm-r6,          use=xterm-r6,
   
 # These entries allow access to the X titlebar and icon name as a status line.  # These entries allow access to the X titlebar and icon name as a status line.
Line 1911 
Line 1692 
 #  -- Kenji Rikitake)  #  -- Kenji Rikitake)
 kterm|kterm kanji terminal emulator (X window system),  kterm|kterm kanji terminal emulator (X window system),
         eslok, hs,          eslok, hs,
         csr=\E[%i%p1%d;%p2%dr, dsl=\E[?H, enacs=\E(B, fsl=\E[?F,          acsc@, csr=\E[%i%p1%d;%p2%dr, dsl=\E[?H, enacs@, fsl=\E[?F,
         rc=\E8, sc=\E7, tsl=\E[?E\E[?%i%dT,          kmous=\E[M, op=\E[39;49m, rc=\E8, rmacs@, sc=\E7, smacs@,
         use=xterm,          tsl=\E[?E\E[?%i%dT,
           use=xterm-r6, use=klone+color,
 # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file  # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
 xterm-nic|xterm with ich/ich1 suppressed for non-curses programs,  xterm-nic|xterm with ich/ich1 suppressed for non-curses programs,
         ich@, ich1@,          ich@, ich1@,
Line 1927 
Line 1709 
 # before ECMA-64 color support was folded into the main-line xterm release.  # before ECMA-64 color support was folded into the main-line xterm release.
 # This entry is straight from color_xterm's maintainer.  # This entry is straight from color_xterm's maintainer.
 # From: Jacob Mandelson <jlm@ugcs.caltech.edu>, 09 Nov 1996  # From: Jacob Mandelson <jlm@ugcs.caltech.edu>, 09 Nov 1996
   # The README's with the distribution also say that it supports SGR 21, 24, 25
   # and 27, but they are not present in the terminfo or termcap.
 color_xterm|cx|cx100|color_xterm color terminal emulator for X,  color_xterm|cx|cx100|color_xterm color terminal emulator for X,
         am, km, mir, msgr, xenl,          am, km, mir, msgr, xenl,
         colors#8, cols#80, it#8, lines#65, pairs#64,          colors#8, cols#80, it#8, lines#65, pairs#64,
Line 1954 
Line 1738 
         smcup=\E[?1;41s\E[?1;41h\E=, smir=\E[4h, smso=\E[7m,          smcup=\E[?1;41s\E[?1;41h\E=, smir=\E[4h, smso=\E[7m,
         smul=\E[4m,          smul=\E[4m,
   
 # From: Mark Olesen & Thomas Dickey <dickey@clark.net> 13 Jul 1996  # The 'nxterm' distributed with Redhat Linux is a slight rehack of
 rxvt|reduced xterm terminal (X Window System),  # xterm-sb_right-ansi-3d, which implements ANSI colors, but does not support
         am, bce, km, mir, msgr, xenl, xon,  # SGR 39 or 49.  SGR 0 does reset colors (along with everything else).  This
         colors#8, cols#80, it#8, lines#24, pairs#64,  # description is "compatible" with color_xterm, rxvt and XFree86 xterm, except
   # that each of those implements the home, end, delete keys differently.
   nxterm|xterm-color|generic color xterm,
           op=\E[m, use=xterm-r6,
           use=klone+color,
   
   # From: Thomas Dickey <dickey@clark.net> 04 Oct 1997
   # Updated: Oezguer Kesim <kesim@math.fu-berlin.de> 02 Nov 1997
   # Notes:
   # rxvt 2.21b uses
   #       smacs=\E(B\E)U^N, rmacs=\E(B\E)0^O,
   # but some applications don't work with that.
   # It also has an AIX extension
   #       box2=lqkxjmwuvtn,
   # and
   #       ech=\E[%p1%dX,
   # but the latter does not work correctly.
   #
   # rxvt is normally configured to look for "xterm" or "xterm-color" as $TERM.
   # Since rxvt is not really compatible with xterm, it should be configured as
   # "rxvt" (monochrome) and "rxvt-color".
   rxvt-basic|rxvt terminal base (X Window System),
           am, bce, eo, km, mir, msgr, xenl, xon,
           cols#80, it#8, lines#24,
         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,          acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,          bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
         clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,          clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
Line 1965 
Line 1772 
         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,          cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,          cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
         cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,          cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
         dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K,          dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0,
         enacs=\E(B\E)0, flash=\E[?5h\E[?5l, home=\E[H,          flash=\E[?5h\E[?5l, home=\E[H, ht=^I, hts=\EH,
         hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,          ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
         il=\E[%p1%dL, il1=\E[L, ind=^J, is1=\E[?47l\E=\E[?1l,          is1=\E[?47l\E=\E[?1l,
         is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l,          is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l,
         kDC=\E[3$, kEND=\E[8$, kHOM=\E[7$, kLFT=\E[d, kNXT=\E[6$,          kDC=\E[3$, kEND=\E[8$, kHOM=\E[7$, kLFT=\E[d, kNXT=\E[6$,
         kPRV=\E[5$, kRIT=\E[c, ka1=\EOq, ka3=\EOs, kb2=\EOr, kbs=^H,          kPRV=\E[5$, kRIT=\E[c, ka1=\EOw, ka3=\EOy, kb2=\EOu, kbs=^H,
         kc1=\EOp, kc3=\EOn, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B,          kc1=\EOq, kc3=\EOs, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B,
         kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kend=\E[8~, kent=\EOM,          kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kel=\E[8\^,
         kf0=\E[21~, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~,          kend=\E[8~, kent=\EOM, kf0=\E[21~, kf1=\E[11~, kf10=\E[21~,
         kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,          kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
         kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,          kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
         kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, kf4=\E[14~,          kf19=\E[33~, kf2=\E[12~, kf20=\E[34~, kf3=\E[13~,
         kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,          kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~,
         khome=\E[7~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~,          kf9=\E[20~, kfnd=\E[1~, khome=\E[7~, kich1=\E[2~,
         op=\E[39m\E[49m, rc=\E8, rev=\E[7m, ri=\EM,          kmous=\E[M, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, rc=\E8,
         rmacs=\E(B\E)0\017, rmcup=\E[?47l\E8, rmir=\E[4l,          rev=\E[7m, ri=\EM, rmacs=^O, rmcup=\E[2J\E[?47l\E8,
         rmkx=\E>, rmso=\E[27m, rmul=\E[24m,          rmir=\E[4l, rmkx=\E>, rmso=\E[27m, rmul=\E[24m,
         rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H,          rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H,
         rs2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E>,          rs2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E>,
         sc=\E7, setb=\E[4%p1%dm, setf=\E[3%p1%dm, sgr0=\E[m,          s0ds=\E(B, s1ds=\E(0, sc=\E7, sgr0=\E[0m\017, smacs=^N,
         smacs=\E(B\E)U\016, smcup=\E7\E[?47h, smir=\E[4h,          smcup=\E7\E[?47h, smir=\E[4h, smkx=\E=, smso=\E[7m,
         smkx=\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,          smul=\E[4m, tbc=\E[3g,
         vpa=\E[%i%p1%dd,  rxvt|rxvt terminal emulator (X Window System),
           colors#8, pairs#64,
           op=\E[39;49m, setab=\E[%p1%{40}%+%dm,
           setaf=\E[%p1%{30}%+%dm, sgr0=\E[m\017, use=rxvt-basic,
   
 # From: David J. MacKenzie <djm@va.pubnix.com> 20 Apr 1995  # From: David J. MacKenzie <djm@va.pubnix.com> 20 Apr 1995
 # Here's a termcap entry I've been using for xterm_color, which comes  # Here's a termcap entry I've been using for xterm_color, which comes
Line 1998 
Line 1808 
 xterm-pcolor|xterm with color used for highlights and status line,  xterm-pcolor|xterm with color used for highlights and status line,
         bold=\E[1m\E[43m, rev=\E[7m\E[34m, smso=\E[7m\E[31m,          bold=\E[1m\E[43m, rev=\E[7m\E[34m, smso=\E[7m\E[31m,
         smul=\E[4m\E[42m,          smul=\E[4m\E[42m,
         use=xterm+sl, use=xterm,          use=xterm+sl, use=xterm-r6,
   
 # HP ships this, except for the pb#9600 which was merged in from BSD termcap.  # HP ships this, except for the pb#9600 which was merged in from BSD termcap.
 # (hpterm: added empty <acsc>, we have no idea what ACS chars look like --esr)  # (hpterm: added empty <acsc>, we have no idea what ACS chars look like --esr)
 xhpterm|X-hpterm|hp X11 terminal emulator,  hpterm|X-hpterm|hp X11 terminal emulator,
         am, da, db, mir, xhp,          am, da, db, mir, xhp,
         cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8, pb#9600, xmc#0,          cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8, pb#9600, xmc#0,
         acsc=, bel=^G, bold=\E&dB, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M,          acsc=, bel=^G, bold=\E&dB, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M,
Line 2048 
Line 1858 
         cols#80, lines#24, use=xterm-sun,          cols#80, lines#24, use=xterm-sun,
   
 # This is for the extensible terminal emulator on the X11R6 contrib tape.  # This is for the extensible terminal emulator on the X11R6 contrib tape.
 # (emu: I changed <setab>/<setaf> to <setb>/<setf> -- esr)  
 emu|emu native mode,  emu|emu native mode,
         mir, msgr, xon,          mir, msgr, xon,
         colors#15, cols#80, it#8, lines#24, pairs#64, vt#200,          colors#15, cols#80, it#8, lines#24, pairs#64, vt#200,
         acsc=a\202f\260g261j\213k\214l\215m\216n\217o\220q\222s\224t\225u\226v\227w\230x\231~\244,          acsc=61a\202f\260g2j\213k\214l\215m\216n\217o\220q\222s\224t\225u\226v\227w\230x\231~\244,
         bel=^G, blink=\ES\EW, bold=\ES\EU, civis=\EZ,          bel=^G, blink=\ES\EW, bold=\ES\EU, civis=\EZ,
         clear=\EP\EE0;0;, cnorm=\Ea, cr=^M, csr=\Ek%p1%d;%p2%d;,          clear=\EP\EE0;0;, cnorm=\Ea, cr=^M, csr=\Ek%p1%d;%p2%d;,
         cub=\Eq-%p1%d;, cub1=^H, cud=\Ep%p1%d;, cud1=\EB,          cub=\Eq-%p1%d;, cub1=^H, cud=\Ep%p1%d;, cud1=\EB,
         cuf=\Eq%p1%d;, cuf1=\ED, cup=\EE%p1%d;%p2%d;,          cuf=\Eq%p1%d;, cuf1=\ED, cup=\EE%p1%d;%p2%d;,
         cuu=\Ep-%p1%d;, cuu1=\EA, cvvis=\Ea, dch=\EI%p1%d;,          cuu=\Ep-%p1%d;, cuu1=\EA, cvvis=\Ea, dch=\EI%p1%d;,
         dch1=\EI1;, dl=\ER%p1%d;, dl1=\ER1;, ech=\Ej%p1%d;, ed=\EN,          dch1=\EI1;, dl=\ER%p1%d;, dl1=\ER1;, ech=\Ej%p1%d;, ed=\EN,
         el=\EK, el1=\EL, enacs=\200, home=\EE0;0;, ht=^I, hts=\Eh,          el=\EK, el1=\EL, enacs=\0, home=\EE0;0;, ht=^I, hts=\Eh,
         il=\EQ%p1%d;, il1=\EQ1;, ind=\EG, is2=\ES\Er0;\Es0;,          il=\EQ%p1%d;, il1=\EQ1;, ind=\EG, is2=\ES\Er0;\Es0;,
         kbs=^H, kcub1=\EC, kcud1=\EB, kcuf1=\ED, kcuu1=\EA,          kbs=^H, kcub1=\EC, kcud1=\EB, kcuf1=\ED, kcuu1=\EA,
         kdch1=\177, kent=^M, kf0=\EF00, kf1=\EF01, kf10=\EF10,          kdch1=\177, kent=^M, kf0=\EF00, kf1=\EF01, kf10=\EF10,
Line 2068 
Line 1877 
         kf20=\EF20, kf3=\EF03, kf4=\EF04, kf5=\EF05, kf6=\EF06,          kf20=\EF20, kf3=\EF03, kf4=\EF04, kf5=\EF05, kf6=\EF06,
         kf7=\EF07, kf8=\EF08, kf9=\EF09, kfnd=\Efind, kich1=\Eins,          kf7=\EF07, kf8=\EF08, kf9=\EF09, kfnd=\Efind, kich1=\Eins,
         knp=\Enext, kpp=\Eprior, kslt=\Esel, oc=\Es0;\Er0;,          knp=\Enext, kpp=\Eprior, kslt=\Esel, oc=\Es0;\Er0;,
         rev=\ES\ET, ri=\EF, rmacs=\200, rmir=\EX, rmso=\ES, rmul=\ES,          rev=\ES\ET, ri=\EF, rmacs=\0, rmir=\EX, rmso=\ES, rmul=\ES,
         rs2=\ES\Es0;\Er0;, setb=\Es%i%p1%d; setf=\Er%i%p1%d;,          rs2=\ES\Es0;\Er0;, setab=\Es%i%p1%d;,
         sgr0=\ES, smacs=\200, smir=\EY, smso=\ES\ET, smul=\ES\EV,          setaf=\Er%i%p1%d;, sgr0=\ES, smacs=\0, smir=\EY,
         tbc=\Ej,          smso=\ES\ET, smul=\ES\EV, tbc=\Ej,
   
 ######## MGR  ######## COMMERCIAL WORKSTATION CONSOLES
 #  #
 # MGR is a Bell Labs window system lighter-weight than X.  
 # These entries describe MGR's xterm-equivalent.  #### Alpha consoles
 # They are courtesy of Vincent Broman <broman@nosc.mil> 14 Jan 1997  
 #  #
   
 mgr|Bellcore MGR (non X) window system terminal emulation,  # This is from the OSF/1 Release 1.0 termcap file
         am, km,  pccons|pcconsole|ANSI (mostly) Alpha PC console terminal emulation,
         bel=^G, bold=\E2n, civis=\E9h, clear=^L, cnorm=\Eh, cr=^M,          am, xon,
         csr=\E%p1%d;%p2%dt, cub1=^H, cud1=\Ef, cuf1=\Er,          cols#80, lines#25,
         cup=\E%p2%d;%p1%dM, cuu1=\Eu, cvvis=\E0h,          bel=^G, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
         dch=\E%p1%dE$<5>, dch1=\EE, dl=\E%p1%dd$<3*>,          cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
         dl1=\Ed$<3>, ed=\EC, el=\Ec, hd=\E1;2f, ht=^I, hu=\E1;2u,          el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L, kbs=^H,
         ich=\E%p1%dA$<5>, ich1=\EA, il=\E%p1%da$<3*>,          kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H,
         il1=\Ea$<3>, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B,          nel=^M^J, rev=\E[7m, rmso=\E[m, sgr0=\E[m, smso=\E[7m,
         kcuf1=\E[C, kcuu1=\E[A, nel=^M^J, rev=\E1n, rmam=\E5S,  
         rmso=\E0n, rmul=\E0n, sgr0=\E0n, smam=\E5s, smso=\E1n,  
         smul=\E4n,  
 mgr-sun|Mgr window with Sun keyboard,  
         ka1=\E[214z, ka3=\E[216z, kb2=\E[218z, kc1=\E[220z,  
         kc3=\E[222z, kcpy=\E197z, kend=\E[220z, kent=\E[250z,  
         kf1=\E[224z, kf10=\E[233z, kf11=\E[234z, kf12=\E[235z,  
         kf2=\E[225z, kf3=\E[226z, kf4=\E[227z, kf5=\E[228z,  
         kf6=\E[229z, kf7=\E[230z, kf8=\E[231z, kf9=\E[232z,  
         kfnd=\E[200z, khlp=\E[207z, khome=\E[214z, knp=\E[222z,  
         kopn=\E[198z, kpp=\E[216z, kund=\E[195z,  
         use=mgr,  
 mgr-linux|Mgr window with Linux keyboard,  
         ka1=\E[H, ka3=\E[5~, kb2=\E[G, kc1=\E[Y, kc3=\E[6~,  
         kdch1=\E[3~, kend=\E[4~, kf0=\E[[J, kf1=\E[[A, kf10=\E[21~,  
         kf11=\E[23~, kf12=\E[24~, kf2=\E[[B, kf3=\E[[C, kf4=\E[[D,  
         kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,  
         khome=\E[1~, knp=\E[6~, kpp=\E[5~,  
         use=mgr,  
   
 ######## UNIX VIRTUAL TERMINALS AND VIRTUAL CONSOLES  #### AT&T consoles
 #  #
   
 # Columbus UNIX virtual terminal. This terminal also appears in  # This actually describes the generic SVr4 display driver for Intel boxes.
 # UNIX 4.0 and successors as line discipline 1 (?), but is  # The <dim=\E[2m> isn't documented and therefore may not be reliable.
 # undocumented and does not really work quite right.  # From: Eric Raymond <esr@snark.thyrsus.com> Mon Nov 27 19:00:53 EST 1995
 cbunix|cb unix virtual terminal,  att6386|at386|386at|AT&T WGS 6386 console,
         am, da, db,          am, bw, eo, xon,
         cols#80, lines#24, lm#0,          cols#80, it#8, lines#25,
         bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,          acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~,
         cup=\EG%p2%c%p1%c, cuu1=\EA, dch1=\EM, dl1=\EN, ed=\EL,          bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[=C,
         el=\EK, ich1=\EO, il1=\EP, ind=^J, kcub1=\ED, kcud1=\EB,          clear=\E[2J\E[H, cnorm=\E[=1C, cr=^M, cub=\E[%p1%dD,
         kcuf1=\EC, kcuu1=\EA, khome=\EE, rmso=\Eb^D, rmul=\Eb^A,          cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC,
         smso=\Ea^D, smul=\Ea^A,          cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
 # (vremote: removed obsolete ":nl@:" -- esr)          cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
 vremote|virtual remote terminal,          dl=\E[%p1%dM, dl1=\E[1M, ech=\E[%p1%dX, ed=\E[J, el=\E[K,
         am@,          home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
         cols#79, use=cbunix,          ich1=\E[1@, il=\E[%p1%dL, il1=\E[1L, ind=\E[S,
 pty|4bsd pseudo teletype,          indn=\E[%p1%dS, invis=\E[9m, is2=\E[0;10;39m, kbs=^H,
         cup=\EG%p1%{32}%+%c%p2%{32}%+%c, rmso=\Eb$, rmul=\Eb!,          kcbt=^], kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
         smso=\Ea$, smul=\Ea!,          kdch1=\E[P, kend=\E[Y, kf1=\EOP, kf10=\EOY, kf11=\EOZ,
         use=cbunix,          kf12=\EOA, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU,
           kf7=\EOV, kf8=\EOW, kf9=\EOX, khome=\E[H, kich1=\E[@,
 # The codes supported by the term.el terminal emulation in GNU Emacs 19.30          knp=\E[U, kpp=\E[V, krmir=\E0, nel=\r\E[S, rc=\E8, rev=\E[7m,
 eterm|gnu emacs term.el terminal emulation,          ri=\E[T, rin=\E[%p1%dT, rmacs=\E[10m, rmso=\E[m, rmul=\E[m,
         am, mir, xenl,          sc=\E7,
           sgr=\E[10m\E[0%?%p1%p3%|%t;7%;%?%p2%t;4%;%?%p4%t;5%;%?%p5%t;2%;?%p6%t;1%;%?%p9%t;12%e;10%;%?%p7%t;9%;m,
           sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, smul=\E[4m,
           tbc=\E[2g, vpa=\E[%i%p1%dd,
           use=klone+color,
   # (pc6300plus: removed ":KM=/usr/lib/ua/kmap.s5:"; renamed BO/EE/CI/CV -- esr)
   pc6300plus|AT&T 6300 plus,
           am, xon,
         cols#80, lines#24,          cols#80, lines#24,
         bel=^G, bold=\E[1m, clear=\E[H\E[J, cr=^M,          bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[=C,
         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,          clear=\E[2J\E[H, cnorm=\E[=1C, cr=^M, cub1=^H, cud1=\E[B,
         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,          cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A,
         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,          dch1=\E[1P, dim=\E[2m, dl1=\E[1M, ed=\E[0J, el=\E[0K,
         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\\E[J,          home=\E[H, hts=\EH, ich1=\E[1@, il1=\E[1L, ind=^J,
         el=\E[K, el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@,          invis=\E[9m, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
         il=\E[%p1%dL, il1=\E[L, ind=^J, rev=\E[7m,          kcuu1=\E[A, kf1=\EOc, kf10=\EOu, kf2=\EOd, kf3=\EOe,
         rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmso=\E[m, rmul=\E[m,          kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\EOk,
         sgr0=\E[m, smcup=\E7\E[?47h, smir=\E[4h, smso=\E[7m,          nel=^M^J, rev=\E[7m, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
         smul=\E[4m,          smso=\E[7m, smul=\E[4m, tbc=\E[3g,
   
 # Entries for use by the FSF's `screen' program.  The screen and  # From: Benjamin C. W. Sittler <bsittler@nmt.edu>
 # screen-w entries came with version 3.7.1.  The screen2 and screen3 entries  #
 # come from University of Wisconsin and may be older.  # I have a UNIX PC which I use as a terminal attached to my Linux PC.
 # (screen: added <cnorm> on ANSI model -- esr)  # Unfortunately, the UNIX PC terminfo entry that comes with ncurses
   # is broken. All the special key sequences are broken, making it unusable
 screen|VT 100/ANSI X3.64 virtual terminal,  # with Emacs. The problem stems from the following:
         am, km, mir, msgr, xenl,  #
         colors#8, cols#80, it#8, lines#24, pairs#64,  # The UNIX PC has a plethora of keys (103 of them, and there's no numeric
         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++\,\,hhII00,  # keypad!), loadable fonts, and strange highlighting modes ("dithered"
         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,  # half-intensity, "smeared" bold, and real strike-out, for example.) It also
         clear=\E[H\E[J, cnorm=\E[?25h, cr=^M,  # uses resizable terminal windows, but the bundled terminal program always
         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,  # uses an 80x24 window (and doesn't support seem to support a 132-column
         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,  # mode.)
         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM,  #
         cvvis=\E[34l, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,  # HISTORY: The UNIX PC was one of the first machines with a GUI, and used a
         dl1=\E[M, ed=\E[J, el=\E[K, enacs=\E(B\E)0, flash=\Eg,  # library which was a superset of SVr3.5 curses (called tam, for "terminal
         home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL,  # access method".) tam includes support for real, overlapping windows,
         il1=\E[L, ind=^J, is2=\E)0, kbs=^H, kcub1=\EOD, kcud1=\EOB,  # onscreen function key labels, and bitmap graphics. But since the primary
         kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~, kf1=\EOP, kf10=\E[21~,  # user interface on the UNIX PC was a GUI program (ua, for "user
         kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR, kf4=\EOS,  # assistant",) and remote administration was considered important for the
         kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,  # machine, tam also supported VT100-compatible terminals attached to the
         khome=\E[1~, kich1=\E[2~, kll=\E[4~, knp=\E[6~, kpp=\E[5~,  # serial port or used across the StarLan network. To simulate the extra keys
         nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, rmir=\E[4l,  # not present on a VT100, users could press ESC and a two-letter sequence,
         rmkx=\E[?1l\E>, rmso=\E[23m, rmul=\E[24m, rs2=\Ec, sc=\E7,  # such as u d (Undo) or U D (Shift-Undo.) These two-letter sequences,
         sgr0=\E[m, smacs=^N, smir=\E[4h, smkx=\E[?1h\E=,  # however, were not the same as those sent by the actual Undo key. The
         smso=\E[3m, smul=\E[4m, tbc=\E[3g,  # actual Undo key sends ESC 0 s unshifted, and ESC 0 S shifted, for example.
         use=ecma+color,  # (If you're interested in adding some of the tam calls to ncurses, btw, I
   # have the full documentation and several programs which use tam. It also
 screen-w|VT 100/ANSI X3.64 virtual terminal with 132 cols,  # used an extended terminfo format to describe key sequences, special
         cols#132, use=screen,  # highlighting modes, etc.)
   #
 screen2|VT 100/ANSI X3.64 virtual terminal,  # KEYS: This means that ncurses would quite painful on the UNIX PC, since
   # there are two sequences for every key-modifier combination (local keyboard
   # sequence and remote "VT100" sequence.) But I doubt many people are trying
   # to use ncurses on the UNIX PC, since ncurses doesn't properly handle the
   # GUI. Unfortunately, the terminfo entry (and the termcap, too, I presume)
   # seem to have been built from the manual describing the VT100 sequences.
   # This means it doesn't work for a real live UNIX PC.
   #
   # FONTS: The UNIX PC also has a strange interpretation of "alternate
   # character set". Rather than the VT100 graphics you might expect, it allows
   # up to 8 custom fonts to be loaded at any given time. This means that
   # programs expecting VT100 graphics will usually be disappointed. For this
   # reason I have disabled the smacs/rmacs sequences, but they could easily be
   # re-enabled. Here are the relevant control sequences (from the ESCAPE(7)
   # manpage), should you wish to do so:
   #
   # SGR10 - Select font 0 - ESC [ 10 m or SO
   # SGR11 - Select font 1 - ESC [ 11 m or SI
   # SGR12 - Select font 2 - ESC [ 12 m
   # ... (etc.)
   # SGR17 - Select font 7 - ESC [ 17 m
   #
   # Graphics for line drawing are not reliably found at *any* character
   # location because the UNIX PC has dynamically reloadable fonts. I use font
   # 0 for regular text and font 1 for italics, but this is by no means
   # universal. So ASCII line drawing is in order if smacs/rmacs are enabled.
   #
   # MISC: The cursor visible/cursor invisible sequences were swapped in the
   # distributed terminfo.
   #
   # To ameliorate these problems (and fix a few highlighting bugs) I rewrote
   # the UNIX PC terminfo entry. The modified version works great with Lynx,
   # Emacs, and XEmacs running on my Linux PC and displaying on the UNIX PC
   # attached by serial cable. In Emacs, even the Undo key works, and many
   # applications can now use the F1-F8 keys.
   #
   # esr's notes:
   #       Terminfo entry for the AT&T Unix PC 7300
   #       from escape(7) in Unix PC 7300 Manual.
   #       Somewhat similar to a vt100-am (but different enough
   #       to redo this from scratch.)
   #
   #       /***************************************************************
   #       *
   #       *           FONT LOADING PROGRAM FOR THE UNIX PC
   #       *
   #       *     This routine loads a font defined in the file ALTFONT
   #       *     into font memory slot #1.  Once the font has been loaded,
   #       *     it can be used as an alternative character set.
   #       *
   #       *     The call to ioctl with the argument WIOCLFONT is the key
   #       *     to this routine.  For more information, see window(7) in
   #       *     the PC 7300 documentation.
   #       ***************************************************************/
   #       #include <string.h>             /* needed for strcpy call */
   #       #include <sys/window.h>         /* needed for ioctl call */
   #       #define FNSIZE  60              /* font name size */
   #       #define ALTFONT  "/usr/lib/wfont/special.8.ft"  /* font file */
   #       /*
   #       *     The file /usr/lib/wfont/special.8.ft comes with the
   #       *     standard PC software.  It defines a graphics character set
   #       *     similar to that of the Teletype 5425 terminal.  To view
   #       *     this or other fonts in /usr/lib/wfont, use the command
   #       *     cfont <filename>.  For further information on fonts see
   #       *     cfont(1) in the PC 7300 documentation.
   #       */
   #
   #       struct altfdata         /* structure for alt font data */
   #       {
   #       short   altf_slot;              /* memory slot number */
   #       char    altf_name[FNSIZE];      /* font name (file name) */
   #       };
   #       ldfont()
   #       {
   #               int wd;         /* window in which altfont will be */
   #               struct altfdata altf;
   #               altf.altf_slot=1;
   #               strcpy(altf.altf_name,ALTFONT);
   #               for (wd =1; wd < 12; wd++) {
   #                    ioctl(wd, WIOCLFONT,&altf);
   #               }
   #       }
   #
   # (att7300: added <civis>/<cnorm>/<ich1>/<invis> from the BSDI entry,
   # they're confirmed by the man page for the System V display---esr)
   #
   att7300|unixpc|pc7300|3b1|s4|AT&T UNIX PC Model 7300,
           am, xon,
         cols#80, it#8, lines#24,          cols#80, it#8, lines#24,
         cbt=\E[Z, clear=\E[2J\E[H, cr=^M, cub=\E[%p1%dD, cub1=^H,          bel=^G, blink=\E[9m, bold=\E[1m, cbt=\E^I, civis=\E[=1C,
         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,          clear=\E[2J\E[H, cnorm=\E[=0C, cr=^M, cub=\E[%p1%dD,
         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,          cub1=^H, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC,
         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,          cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
         el=\E[K, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=, il=\E[%p1%dL,          cuu1=\E[A, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M,
         il1=\E[L, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC,          ed=\E[0J, el=\E[0K, home=\E[H, ich1=\E[@, il=\E[%p1%dL,
         kcuu1=\EA, kf0=\E~, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV,          il1=\E[L, ind=^J, invis=\E[9m, is1=\017\E[=1w, kBEG=\ENB,
         kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\E0I, khome=\EH,          kCAN=\EOW, kCPY=\END, kCRT=\EON, kDC=\ENF, kDL=\ENE,
         nel=^M^J, rc=\E8, ri=\EM, rmir=\E[4l, rmso=\E[23m,          kEND=\ENN, kEOL=\EOA, kFND=\EOX, kHLP=\EOM, kHOM=\ENM,
         rmul=\E[24m, rs1=\Ec, sc=\E7, sgr0=\E[m, smir=\E[4h,          kIC=\ENJ, kLFT=\ENK, kMOV=\ENC, kNXT=\ENH, kOPT=\EOR,
         smso=\E[3m, smul=\E[4m, tbc=\E[3g,          kPRV=\ENG, kRDO=\EOT, kRIT=\ENL, kRPL=\EOY, kSAV=\EOO,
 # (screen3: removed unknown ":xv:LP:G0:" -- esr)          kUND=\EOS, kbeg=\ENb, kbs=^H, kcan=\EOw, kcbt=\E[Z,
 screen3|VT 100/ANSI X3.64 virtual terminal,          kclo=\EOV, kclr=\E[J, kcmd=\EOu, kcpy=\ENd, kcrt=\EOn,
         km, mir, msgr,          kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\ENf,
         cols#80, it#8, lines#24,          ked=\E[J, kel=\EOa, kend=\E0, kext=\EOk, kf1=\EOc, kf2=\EOd,
         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,          kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj,
         cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,          kfnd=\EOx, khlp=\EOm, khome=\E[H, kich1=\ENj, kind=\E[B,
         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,          kmov=\ENc, kmrk=\ENi, knp=\E[U, knxt=\ENh, kopn=\EOv,
         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM,          kopt=\EOr, kpp=\E[V, kprt=\EOz, kprv=\ENg, krdo=\EOt,
         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,          kref=\EOb, krfr=\ENa, kri=\E[A, krpl=\EOy, krst=\EOB,
         el=\E[K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,          ksav=\EOo, kslt=\ENI, kund=\EOs, nel=\EE, rev=\E[7m, ri=\EM,
         il=\E[%p1%dL, il1=\E[L, ind=^J, is2=\E)0, kbs=^H, kcub1=\EOD,          rmso=\E[m, rmul=\E[m, sgr0=\E[0;10m, smso=\E[7m,
         kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ,          smul=\E[4m,
         kf3=\EOR, kf4=\EOS, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM,  
         rmir=\E[4l, rmkx=\E>, rmso=\E[23m, rmul=\E[24m, rs1=\Ec,  
         sc=\E7, sgr0=\E[m, smir=\E[4h, smkx=\E=, smso=\E[3m,  
         smul=\E[4m, tbc=\E[3g,  
   
 ######## WORKSTATION CONSOLES  #### Hewlett-Packard consoles
 #  #
   # These are descriptions for the HP700 series, the workstations formerly
 #### Sun consoles  # known as Apollos.  HP terminals are described elsewhere in the file
 #  #
   
 # :is1: resets scrolling region in case a previous user had used "tset vt100"  # From: Victor Duchovni <vic@fine.princeton.edu>
 oldsun|Sun Microsystems Workstation console,  # (hp700-wy: removed obsolete ":nl=^J:";
         am, km, mir, msgr,  # replaced /usr/share/tabset/hp700-wy with std because <it#8>,<hts=\E1> -- esr)
         cols#80, it#8, lines#34,  hp700-wy|HP700/41 emulating wyse30,
         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=\E[B, cuf1=\E[C,          am, bw, mir, msgr,
         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP,          cols#80, it#8, lines#24, xmc#1,
         dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, ht=^I,          cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^V, cuf1=^L,
         ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,          cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
         is1=\E[1r, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,          dl1=\ER, ed=\EY, el=\ET$<10/>, home=^^, ht=^I, hts=\E1,
         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H,          if=/usr/share/tabset/stdcrt, il1=\EE$<0.7*/>,
         rmso=\E[m, sgr0=\E[m, smso=\E[7m,          is1=\E~"\EC\Er\E(\EG0\003\E`9\E`1, kbs=\177, kcbt=\EI,
 # From: Alexander Lukyanov <lav@video.yars.free.net>, 14 Nov 1995          kclr=^Z, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, ked=\EY,
 # <lines> capability later corrected by J.T. Conklin <jtc@cygnus.com>          kel=\ET, khome=^^, khts=\EI, kich1=\Eq, krmir=\Er, ll=^^^K,
 sun-il|Sun Microsystems console with working insert-line,          ri=\Ej, rmir=\Er, rmso=\EG0$<10/>, rmul=\EG0$<10/>,
         am, km, msgr,          sgr0=\EG0$<10/>, smir=\Eq, smso=\EG4$<10/>,
         cols#80, lines#34,          smul=\EG8$<10/>, tbc=\E0, vpa=\E[%p1%{32}%+%c,
         bel=^G, bold=\E[1m, clear=^L, cr=^M, cub1=^H, cud1=^J,  # (hp70092: added empty <acsc> to avoid warnings re <smacs>/<rmacs> --esr)
         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,  hp70092|hp70092a|hp70092A|HP 700/92,
         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,          am, da, db, xhp,
         el=\E[K, ht=^I, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL,          cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8,
         il1=\E[L, ind=^J, kb2=\E[218z, kbs=^H, kcub1=\E[D,          acsc=, bel=^G, blink=\E&dA, bold=\E&dB, cbt=\Ei,
         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177,          clear=\E&a0y0C\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
         kend=\E[220z, kf1=\E[224z, kf10=\E[233z, kf11=\E[234z,          cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, dim=\E&dH,
         kf12=\E[235z, kf2=\E[225z, kf3=\E[226z, kf4=\E[227z,          dl1=\EM, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, il1=\EL,
         kf5=\E[228z, kf6=\E[229z, kf7=\E[230z, kf8=\E[231z,          kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
         kf9=\E[232z, khome=\E[214z, knp=\E[222z, kopt=\E[194z,          kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, kf1=\Ep,
         kpp=\E[216z, kres=\E[193z, kund=\E[195z, rev=\E[7m,          kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew,
         rmso=\E[m, rmul=\E[m, rs2=\E[s,          khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, kind=\ES, kll=\EF,
         sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m,          knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, ktbc=\E3, rev=\E&dB,
         sgr0=\E[m, smso=\E[7m, smul=\E[4m,          ri=\ET, rmacs=^O, rmir=\ER, rmkx=\E&s0A, rmln=\E&j@,
 # On a SparcStation 5, <il1>/<il> flake out on the last line.          rmso=\E&d@, rmul=\E&d@, sgr0=\E&d@, smacs=^N, smir=\EQ,
 # Unfortunately, without them the terminal has no way to scroll.          smkx=\E&s1A, smln=\E&jB, smso=\E&dJ, smul=\E&dD, tbc=\E3,
 sun-ss5|Sun SparcStation 5 console,          vpa=\E&a%p1%dY,
         il@, il1@, use=sun-il,  
 # If you are using an SS5, change the sun definition to use sun-ss5.  
 sun|sun1|sun2|Sun Microsystems Inc. workstation console,  
         use=sun-il,  
   
 # From: <john@ucbrenoir>  Tue Sep 24 13:14:44 1985  #  HP 700/44 Setup parameters:
 sun-s|Sun Microsystems Workstation window with status line,  # Terminal Mode         HP-PCterm
         hs,  # Inhibit Auto Wrap     NO
         dsl=\E]l\E\\, fsl=\E\\, tsl=\E]l, use=sun,  # Status Line           Host Writable
 sun-e-s|sun-s-e|Sun Microsystems Workstation with status hacked for emacs,  # PC Character Set      YES
         hs,  # Twenty-Five Line Mode YES
         dsl=\E]l\E\\, fsl=\E\\, tsl=\E]l, use=sun-e,  # XON/XOFF              @128 or 64 (sc)
 sun-48|Sun 48-line window,  # Keycode Mode          NO   or YES (sc)
         cols#80, lines#48, use=sun,  # Backspace Key         BS or BS/DEL
 sun-34|Sun 34-line window,  #
         cols#80, lines#34, use=sun,  # <is2>         sets pcterm; autowrap; 25 lines; pc char set; prog DEL key;
 sun-24|Sun 24-line window,  # \E\\? does not turn off keycode mode
         cols#80, lines#24, use=sun,  # <smsc>        sets alternate start/stop; keycode on
 sun-17|Sun 17-line window,  hpansi|hp700|hewlett packard 700/44 in HP-PCterm mode,
         cols#80, lines#17, use=sun,          am, eo, xenl, xon,
 sun-12|Sun 12-line window,          cols#80, lines#25,
         cols#80, lines#12, use=sun,          acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263,
 sun-1|Sun 1-line window for sysline,          bel=^G, cbt=\E[Z, civis=\E[?25l, clear=\E[2J\E[H,
         eslok, hs,          cnorm=\E[?25h, cr=^M, cub1=\E[D, cud1=\E[B, cuf1=\E[C,
         cols#80, lines#1,          cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
         dsl=^L, fsl=\E[K, tsl=^M, use=sun,          ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L,
 sun-e|sun-nic|sune|Sun Microsystems Workstation without insert character,          ind=^J,
         ich1@, rmir@, smir@,          is2=\E[44"p\E[?7h\E[>10h\E[>12h\EP1;1|3/7F\E\\,
         use=sun,          kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
 sun-c|sun-cmd|Sun Microsystems Workstation console with scrollable history,          kcuu1=\E[A, kend=\E[4~, kf1=\E[17~, kf10=\E[28~,
         lines#35,          kf2=\E[18~, kf3=\E[19~, kf4=\E[20~, kf5=\E[21~, kf6=\E[23~,
         rmcup=\E[>4h, smcup=\E[>4l, use=sun,          kf7=\E[24~, kf8=\E[25~, kf9=\E[26~, khome=\E[1~, knp=\E[6~,
           kpp=\E[5~, rmam=\E[?7l,
           rmsc=\E[>11l\EP1**x0/11;1/13\E[m\E\\, rmso=\E[m,
           rmul=\E[m, sgr0=\E[m, smam=\E[?7h,
           smsc=\E[>11h\EPO**x0/65;1/67\E\\$<250>, smso=\E[7m,
           smul=\E[4m, xoffc=g, xonc=e,
   
 #### Iris consoles  #### Iris consoles
 #  #
   
   # From: Stefan Stapelberg <stefan@rent-a-guru.de>, 24 Feb 1997
   # (iris-ansi: added rmam/smam based on init string -- esr)
   iris-ansi|IRIS emulating 40 line ANSI terminal (almost VT100),
           am,
           cols#80, it#8, lines#40,
           bel=^G, bold=\E[1m, clear=\E[H\E[2J,
           cnorm=\E[9/y\E[12/y\E[=6l, cr=^M, cub=\E[%p1%dD,
           cub1=\E[D, cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC,
           cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
           cuu1=\E[A, cvvis=\E[10/y\E[=1h\E[=2l\E[=6h,
           dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
           home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=\ED,
           is2=\E[?1l\E>\E[?7h\E[100g\E[0m\E7\E[r\E8, kDC=\E[P,
           kEND=\E[147q, kHOM=\E[143q, kLFT=\E[158q, kPRT=\E[210q,
           kRIT=\E[167q, kSPD=\E[218q, kbs=^H, kcbt=\E[Z, kcub1=\E[D,
           kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177,
           kend=\E[146q, kent=^M, kf1=\E[001q, kf10=\EOQ, kf11=\EOR,
           kf12=\EOS, kf2=\E[002q, kf3=\E[003q, kf4=\E[004q,
           kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, kf8=\E[008q,
           kf9=\EOP, khome=\E[H, kich1=\E[139q, knp=\E[154q,
           kpp=\E[150q, kprt=\E[209q, krmir=\E[146q, kspd=\E[217q,
           nel=\EE, pfkey=\EP101;%p1%d.y%p2%s\E\\, rc=\E8,
           rev=\E[7m, ri=\EM, rmam=\E[?7l, rmso=\E[m, rmul=\E[m, sc=\E7,
           sgr0=\E[m, smam=\E[?7h, smso=\E[1;7m, smul=\E[4m,
           tbc=\E[3g,
   iris-ansi-ap|IRIS ANSI in application-keypad mode,
           is2=\E[?1l\E>\E[?7h, kf10=\E[010q, kf11=\E[011q,
           kf12=\E[012q, rmkx=\E>, smkx=\E=,
           use=iris-ansi,
   
   # From the man-page, this is a quasi-vt100 emulator that runs on SGI's IRIX
   # (T.Dickey 98/1/24)
   iris-color|xwsh|IRIX ANSI with color,
           ncv#33,
           csr=\E[%i%p1%d;%p2%dr, dch=\E[%p1%dP, dim=\E[2m,
           ech=\E[%p1%dX, ich=\E[%p1%d@, rc=\E8, ritm=\E[23m,
           rmul=\E[24m, rs1=\Ec,
           rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
           sitm=\E[3m, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c,
           use=klone+color, use=iris-ansi-ap,
   
 # (wsiris: this had extension capabilities  # (wsiris: this had extension capabilities
 #       :HS=\E7F2:HE=\E7F7:\  #       :HS=\E7F2:HE=\E7F7:\
 #       :CT#2:CZ=*Bblack,red,green,yellow,blue,magenta,cyan,*Fwhite:  #       :CT#2:CZ=*Bblack,red,green,yellow,blue,magenta,cyan,*Fwhite:
Line 2342 
Line 2263 
         rmso=^No, rmul=^Nu, sc=^], sgr0=^N*, smcup=^Ot, smir=^Oi,          rmso=^No, rmul=^Nu, sc=^], sgr0=^N*, smcup=^Ot, smir=^Oi,
         smso=^Oo, smul=^Ou, tsl=^Ol,          smso=^Oo, smul=^Ou, tsl=^Ol,
   
 #### NeXT Consoles  #### NeXT consoles
 #  #
 # Use `glasstty' for the Workspace application  # Use `glasstty' for the Workspace application
 #  #
Line 2361 
Line 2282 
         bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, kbs=^H, kcub1=^H,          bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, kbs=^H, kcub1=^H,
         kcud1=^J, nel=^M^J,          kcud1=^J, nel=^M^J,
   
 ### Common Desktop Environment  #### SCO consoles
 #  #
   
   # SCO console and SOS-Syscons console for 386bsd
   # (scoansi: had unknown capabilities
   #       :Gc=N:Gd=K:Gh=M:Gl=L:Gu=J:Gv=\072:\
   #       :GC=E:GD=B:GH=D:GL=\64:GU=A:GV=\63:GR=C:
   #       :G1=?:G2=Z:G3=@:G4=Y:G5=;:G6=I:G7=H:G8=<:\
   #       :CW=\E[M:NU=\E[N:RF=\E[O:RC=\E[P:\
   #       :WL=\E[S:WR=\E[T:CL=\E[U:CR=\E[V:\
   # I renamed GS/GE/HM/EN/PU/PD/RT and added klone+sgr-dumb, based
   # on the <smacs>=\E[12m  -- esr)
   scoansi|SCO Extended ANSI standard crt,
           am, eo, xon,
           cols#80, it#8, lines#25,
           blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[2J,
           cub1=\E[D, cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
           cuu1=\E[A, dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H,
           ht=^I, ich1=\E[@, il1=\E[L, ind=\E[S, kbs=^H, kcub1=\E[D,
           kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[F, kf1=\E[M,
           kf10=\E[V, kf2=\E[N, kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R,
           kf7=\E[S, kf8=\E[T, kf9=\E[U, khome=\E[H, knp=\E[G, kpp=\E[I,
           ri=\E[T,
           use=klone+sgr-dumb,
   
   #### Sun consoles
   #
   
   # :is1: resets scrolling region in case a previous user had used "tset vt100"
   oldsun|Sun Microsystems Workstation console,
           am, km, mir, msgr,
           cols#80, it#8, lines#34,
           bel=^G, clear=^L, cr=^M, cub1=^H, cud1=\E[B, cuf1=\E[C,
           cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP,
           dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, ht=^I,
           ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
           is1=\E[1r, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
           kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H,
           rmso=\E[m, sgr0=\E[m, smso=\E[7m,
   # From: Alexander Lukyanov <lav@video.yars.free.net>, 14 Nov 1995
   # <lines> capability later corrected by J.T. Conklin <jtc@cygnus.com>
   # SGR 1, 4 aren't supported - removed bold/underline (T.Dickey 17 Jan 1998)
   sun-il|Sun Microsystems console with working insert-line,
           am, km, msgr,
           cols#80, lines#34,
           bel=^G, bold@, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
           cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP,
           dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, ht=^I,
           ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
           kb2=\E[218z, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
           kcuu1=\E[A, kdch1=\177, kend=\E[220z, kf1=\E[224z,
           kf10=\E[233z, kf11=\E[234z, kf12=\E[235z, kf2=\E[225z,
           kf3=\E[226z, kf4=\E[227z, kf5=\E[228z, kf6=\E[229z,
           kf7=\E[230z, kf8=\E[231z, kf9=\E[232z, khome=\E[214z,
           knp=\E[222z, kopt=\E[194z, kpp=\E[216z, kres=\E[193z,
           kund=\E[195z, rev=\E[7m, rmso=\E[m, rmul@, rs2=\E[s,
           sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m,
           sgr0=\E[m, smso=\E[7m, smul@, u8=\E[1t, u9=\E[11t,
   # On a SparcStation 5, <il1>/<il> flake out on the last line.
   # Unfortunately, without them the terminal has no way to scroll.
   sun-ss5|Sun SparcStation 5 console,
           il@, il1@, use=sun-il,
   # If you are using an SS5, change the sun definition to use sun-ss5.
   sun|sun1|sun2|Sun Microsystems Inc. workstation console,
           use=sun-il,
   
   # From: <john@ucbrenoir>  Tue Sep 24 13:14:44 1985
   sun-s|Sun Microsystems Workstation window with status line,
           hs,
           dsl=\E]l\E\\, fsl=\E\\, tsl=\E]l, use=sun,
   sun-e-s|sun-s-e|Sun Microsystems Workstation with status hacked for emacs,
           hs,
           dsl=\E]l\E\\, fsl=\E\\, tsl=\E]l, use=sun-e,
   sun-48|Sun 48-line window,
           cols#80, lines#48, use=sun,
   sun-34|Sun 34-line window,
           cols#80, lines#34, use=sun,
   sun-24|Sun 24-line window,
           cols#80, lines#24, use=sun,
   sun-17|Sun 17-line window,
           cols#80, lines#17, use=sun,
   sun-12|Sun 12-line window,
           cols#80, lines#12, use=sun,
   sun-1|Sun 1-line window for sysline,
           eslok, hs,
           cols#80, lines#1,
           dsl=^L, fsl=\E[K, tsl=^M, use=sun,
   sun-e|sun-nic|sune|Sun Microsystems Workstation without insert character,
           ich1@, rmir@, smir@,
           use=sun,
   sun-c|sun-cmd|Sun Microsystems Workstation console with scrollable history,
           lines#35,
           rmcup=\E[>4h, smcup=\E[>4l, use=sun,
   
   #### Common Desktop Environment
   #
   
 # This ships with Sun's CDE in Solaris 2.5  # This ships with Sun's CDE in Solaris 2.5
 dtterm|CDE desktop terminal,  dtterm|CDE desktop terminal,
         am, mir, msgr, xenl, xon,          am, mir, msgr, xenl, xon,
Line 2394 
Line 2409 
         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,          sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
         smso=\E[2;7m, smul=\E[4m, tbc=\E[3g,          smso=\E[2;7m, smul=\E[4m, tbc=\E[3g,
   
 ######## COMMON TERMINAL TYPES  ######## UNIX VIRTUAL TERMINALS AND TELNET CLIENTS
 #  #
 # This section describes terminal classes and maker brands that are still  
 # quite common, but have proprietary command sets not blessed by ANSI.  
 #  
   
 #### Altos  #### FSF virtual terminal types
 #  #
 # Altos made a moderately successful line of UNIX boxes.  In 1990 they were  
 # bought out by Acer, a major Taiwanese manufacturer of PC-clones.  
 # Acer has a web site at http://www.acer.com.  
 #  
 # Altos descriptions from Ted Mittelstaedt <tedm@agora.rain.com> 4 Sep 1993  
 # His comments suggest they were shipped with the system.  
 #  
   
 # (altos2: had extension capabilities  # The codes supported by the term.el terminal emulation in GNU Emacs 19.30
 #       :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\  eterm|gnu emacs term.el terminal emulation,
 #       :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\          am, mir, xenl,
 #       :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\          cols#80, lines#24,
 #       :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:          bel=^G, bold=\E[1m, clear=\E[H\E[J, cr=^M,
 #       :XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\          csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
 #       :YU=^AQ\r:YD=^AR\r:YR=^AS\r:YL=^AT\r:\          cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
 #       :HL=^AP\r:SP=\E[i:\          cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
 #       :IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\          dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\\E[J,
 #       :LO=\E[0q:LC=\E[5q:LL=\E[6q:\          el=\E[K, el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@,
 # Comparison with the k* capabilities makes it obvious that the c* things are          il=\E[%p1%dL, il1=\E[L, ind=^J, rev=\E[7m,
 # shift keys.  I have renamed them to keys 32 and up accordingly.  Also,          rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmso=\E[m, rmul=\E[m,
 # :sr: was given as a boolean-- esr)          sgr0=\E[m, smcup=\E7\E[?47h, smir=\E[4h, smso=\E[7m,
 altos2|alt2|altos-2|altos II,          smul=\E[4m,
         cols#80, it#8, lines#24, xmc#0,  
         clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[1B, cuf1=\E[1C,  
         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[1A, dch1=\E[P, dl=\E[M,  
         ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@,  
         if=/usr/share/tabset/vt100, il1=\E[L, ind=^J,  
         is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kDL=^Am\r,  
         kEOL=^An\r, kbs=^H, kcbt=^AK\r, kclr=^AL\r, kcub1=\E[D,  
         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=^AM\r, kel=^AN\r,  
         kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf32=^A`\r,  
         kf33=^Aa\r, kf34=^Ab\r, kf35=^Ac\r, kf36=^Ad\r, kf37=^Ae\r,  
         kf38=^Af\r, kf39=^Ag\r, kf4=^AC\r, kf40=^Ah\r, kf41=^Ai\r,  
         kf42=^Aj\r, kf43=^Ak\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,  
         kf8=^AG\r, kf9=^AH\r, khome=\E[f, kil1=^AJ\r, kind=^AO\r,  
         nel=^M^J, rmam=\E[?7l, rmso=\E[m, rmul=\E[m, sgr0=\E[m,  
         smam=\E[?7h, smso=\E[7m, smul=\E[4m,  
 # (altos3: had extension capabilities  
 #       :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\  
 #       :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\  
 #       :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\  
 #       :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:  
 #       :XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\  
 #       :HL=^AP\r:SP=\E[i:\  
 #       :IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\  
 altos3|altos5|alt3|alt5|altos-3|altos-5|altos III or V,  
         blink=\E[5p, ri=\EM, sgr0=\E[p,  
         use=altos2,  
 altos4|alt4|altos-4|altos IV,  
         use=wy50,  
 # (altos7: had extension capabilities:  
 #       :GG#0:GI=\EH8:GF=\EH7:\  
 #       :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\  
 #       :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\  
 #       :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\  
 #       :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:  
 # Comparison with the k* capabilities makes it obvious that the c* things are  
 # shift keys.  I have renamed them to keys 32 and up accordingly.  I have  
 # also made this entry relative to adm12 in order to give it an <sgr>. The  
 # <invis> imported by use=adm+sgr may work, let me know. -- esr)  
 altos7|alt7|altos VII,  
         am, mir,  
         cols#80, lines#24, xmc#0,  
         acsc=l2m1k3j5t4u9v=w0q\:x6n8, blink=\EG2, bold=\EGt,  
         clear=\E+^^, cr=^M, cub1=^H, cud1=^J, cuf1=^L,  
         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,  
         dim=\EGp, dl=\ER, ed=\EY, el=\ET, home=^^, ht=^I, il1=\EE,  
         ind=^J, invis=\EG1,  
         is2=\E`\:\Ee(\EO\Ee6\Ec41\E~4\Ec21\Eu\E~2, kDL=^Am\r,  
         kEOL=^An\r, kbs=^H, kcbt=^AK\r, kclr=^AL\r, kcub1=^H,  
         kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=^AM\r, kel=^AN\r,  
         kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf32=^A`\r,  
         kf33=^Aa\r, kf34=^Ab\r, kf35=^Ac\r, kf36=^Ad\r, kf37=^Ae\r,  
         kf38=^Af\r, kf39=^Ag\r, kf4=^AC\r, kf40=^Ah\r, kf41=^Ai\r,  
         kf42=^Aj\r, kf43=^Ak\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,  
         kf8=^AG\r, kf9=^AH\r, khome=^^, kil1=^AJ\r, kind=^AO\r,  
         knp=\EK, kpp=\EJ, mc4=\EJ, mc5=\Ed#, nel=^M^J, ri=\Ej,  
         rmir=\Er, smir=\Eq,  
         use=adm+sgr,  
 altos7pc|alt7pc|altos PC VII,  
         kend=\ET, use=altos7,  
   
 #### Hewlett-Packard (hp)  # Entries for use by the FSF's `screen' program.  The screen and
 #  # screen-w entries came with version 3.7.1.  The screen2 and screen3 entries
 #       Hewlett-Packard  # come from University of Wisconsin and may be older.
 #       8000 Foothills Blvd  # (screen: added <cnorm> on ANSI model -- esr)
 #       Roseville, CA 95747  
 #       Vox: 1-(916)-785-4363   (Technical response line for VDTs)  
 #            1-(800)-633-3600   (General customer support)  
 #  
   
 # Generic HP terminal - this should (hopefully) work on any HP terminal.  screen|VT 100/ANSI X3.64 virtual terminal,
 hpgeneric|hp|hewlett-packard generic terminal,          am, km, mir, msgr, xenl,
         am, da, db, mir, xhp,          colors#8, cols#80, it#8, lines#24, pairs#64,
         cols#80, lines#24, lm#0, vt#6,          acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
         bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,          bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
         cup=\E&a%p2%dc%p1%dY$<6>, cuu1=\EA, dch1=\EP, dl1=\EM,          clear=\E[H\E[J, cnorm=\E[?25h, cr=^M,
         ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, il1=\EL,          csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
         ind=^J, kbs=^H, kcbt=\Ei, rmir=\ER, rmso=\E&d@, rmul=\E&d@,          cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
         sgr0=\E&d@, smir=\EQ, smso=\E&dJ, smul=\E&dD, tbc=\E3,          cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM,
         vpa=\E&a%p1%dY,          cvvis=\E[34l, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
           dl1=\E[M, ed=\E[J, el=\E[K, enacs=\E(B\E)0, flash=\Eg,
           home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL,
           il1=\E[L, ind=^J, is2=\E)0, kbs=^H, kcub1=\EOD, kcud1=\EOB,
           kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~, kf1=\EOP, kf10=\E[21~,
           kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
           kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
           khome=\E[1~, kich1=\E[2~, kll=\E[4~, knp=\E[6~, kpp=\E[5~,
           nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, rmir=\E[4l,
           rmkx=\E[?1l\E>, rmso=\E[23m, rmul=\E[24m, rs2=\Ec, sc=\E7,
           sgr0=\E[m, smacs=^N, smir=\E[4h, smkx=\E[?1h\E=,
           smso=\E[3m, smul=\E[4m, tbc=\E[3g,
           use=ecma+color,
   
 hp110|hewlett-packard model 110 portable,  screen-w|VT 100/ANSI X3.64 virtual terminal with 132 cols,
         lines#16, use=hpgeneric,          cols#132, use=screen,
   
 hp+pfk+cr|hp function keys with CR,  screen2|old VT 100/ANSI X3.64 virtual terminal,
         kf1=\Ep\r, kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r, kf5=\Et\r,          cols#80, it#8, lines#24,
         kf6=\Eu\r, kf7=\Ev\r, kf8=\Ew\r,          cbt=\E[Z, clear=\E[2J\E[H, cr=^M, cub=\E[%p1%dD, cub1=^H,
           cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
           cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
           dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
           el=\E[K, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=, il=\E[%p1%dL,
           il1=\E[L, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
           kcuu1=\EA, kf0=\E~, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV,
           kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\E0I, khome=\EH,
           nel=^M^J, rc=\E8, ri=\EM, rmir=\E[4l, rmso=\E[23m,
           rmul=\E[24m, rs1=\Ec, sc=\E7, sgr0=\E[m, smir=\E[4h,
           smso=\E[3m, smul=\E[4m, tbc=\E[3g,
   # (screen3: removed unknown ":xv:LP:G0:" -- esr)
   screen3|older VT 100/ANSI X3.64 virtual terminal,
           km, mir, msgr,
           cols#80, it#8, lines#24,
           bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
           cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
           cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
           cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM,
           dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
           el=\E[K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
           il=\E[%p1%dL, il1=\E[L, ind=^J, is2=\E)0, kbs=^H, kcub1=\EOD,
           kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ,
           kf3=\EOR, kf4=\EOS, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM,
           rmir=\E[4l, rmkx=\E>, rmso=\E[23m, rmul=\E[24m, rs1=\Ec,
           sc=\E7, sgr0=\E[m, smir=\E[4h, smkx=\E=, smso=\E[3m,
           smul=\E[4m, tbc=\E[3g,
   
 hp+pfk-cr|hp function keys w/o CR,  #### Pilot Pro Palm-Top
         kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev,  #
         kf8=\Ew,  
   
 # The hp2621s use the same keys for the arrows and function keys,  # From: Jason Downs <downsj@downsj.com>, 15 Jun 1997 (Top Gun Telnet's author)
 # but not separate escape sequences. These definitions allow the  pilot|tgtelnet|Top Gun Telnet on the Palm Pilot Professional,
 # user to use those keys as arrow keys rather than as function          am, xenl,
 # keys.          cols#39, lines#16,
 hp+pfk+arrows|hp alternate arrow definitions,          bel=^G, clear=\Ec, cr=^M, cub1=^H, cud1=^J,
         kcub1=\Eu\r, kcud1=\Ew\r, kcuf1=\Ev\r, kcuu1=\Et\r, kf1@,          cup=\Em%p1%{32}%+%c%p2%{32}%+%c, home=\Em\s\s, ht=^I,
         kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, khome=\Ep\r, kind=\Er\r,          ind=^J, kbs=^H, kcub1=^H, kcud1=^J, knp=^L, kpp=^K, nel=\Em~\s,
         kll=\Eq\r, kri=\Es\r,          rmso=\EB, smso=\Eb,
   
 hp+arrows|hp arrow definitions,  ######## NON-UNIX CONSOLES
         kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh,  #
         kind=\ES, kll=\EF, kri=\ET,  
   
 # Generic stuff from the HP 262x series  #### MGR
 #  #
 hp262x|HP 262x terminals,  # MGR is a Bell Labs window system lighter-weight than X.
         xhp,  # These entries describe MGR's xterm-equivalent.
         blink=\E&dA, dch1=\EP$<2>, ed=\EJ, ht=\011$<2>, ind=\ES,  # They are courtesy of Vincent Broman <broman@nosc.mil> 14 Jan 1997
         invis=\E&dS, ip=$<2>, kcub1=\ED, kcud1=\EB, kcuf1=\EC,  #
         kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, khome=\Eh,  
         kich1=\EQ, kil1=\EL, kind=\ES, knp=\EU, kpp=\EV, kri=\ET,  
         krmir=\ER, rev=\E&dB, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@,  
         sgr=\E&d%'@'%?%p1%t%'B'%|%;%?%p2%t%'D'%|%;%?%p3%t%'B'%|%;%?%p4%t%'A'%|%;%c,  
         sgr0=\E&d@, smkx=\E&s1A, smso=\E&dB, smul=\E&dD,  
   
 # Note: no <home> on HPs since that homes to top of memory, not screen.  mgr|Bellcore MGR (non X) window system terminal emulation,
 # Due to severe 2621 braindamage, the only way to get the arrow keys to          am, km,
 # transmit anything at all is to turn on the function key labels          bel=^G, bold=\E2n, civis=\E9h, clear=^L, cnorm=\Eh, cr=^M,
 # with <smkx>, and even then the user has to hold down shift!          csr=\E%p1%d;%p2%dt, cub1=^H, cud1=\Ef, cuf1=\Er,
 # The default 2621 turns off the labels except when it has to to          cup=\E%p2%d;%p1%dM, cuu1=\Eu, cvvis=\E0h,
 # enable the function keys. If your installation prefers labels          dch=\E%p1%dE$<5>, dch1=\EE, dl=\E%p1%dd$<3*>,
 # on all the time, or off all the time (at the "expense" of the          dl1=\Ed$<3>, ed=\EC, el=\Ec, hd=\E1;2f, ht=^I, hu=\E1;2u,
 # function keys), use 2621-nl or 2621-wl.          ich=\E%p1%dA$<5>, ich1=\EA, il=\E%p1%da$<3*>,
 #          il1=\Ea$<3>, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B,
 # Note: there are newer ROMs for 2621's that allow you to set          kcuf1=\E[C, kcuu1=\E[A, nel=^M^J, rev=\E1n, rmam=\E5S,
 # strap A so the regular arrow keys xmit \EA, etc, as with the          rmso=\E0n, rmul=\E0n, sgr0=\E0n, smam=\E5s, smso=\E1n,
 # 2645. However, even with this strap set, the terminal stops          smul=\E4n,
 # xmitting if you reset it, until you unset and reset the strap!  mgr-sun|Mgr window with Sun keyboard,
 # Since there is no way to set/unset the strap with an escape          ka1=\E[214z, ka3=\E[216z, kb2=\E[218z, kc1=\E[220z,
 # sequence, we don't use it in the default.          kc3=\E[222z, kcpy=\E197z, kend=\E[220z, kent=\E[250z,
 # If you like, you can use 2621-ba (brain-damaged arrow keys).          kf1=\E[224z, kf10=\E[233z, kf11=\E[234z, kf12=\E[235z,
 hp2621-ba|2621 w/new rom and strap A set,          kf2=\E[225z, kf3=\E[226z, kf4=\E[227z, kf5=\E[228z,
         rmkx@, smkx@, use=hp+arrows,          kf6=\E[229z, kf7=\E[230z, kf8=\E[231z, kf9=\E[232z,
         use=hp2621,          kfnd=\E[200z, khlp=\E[207z, khome=\E[214z, knp=\E[222z,
           kopn=\E[198z, kpp=\E[216z, kund=\E[195z,
           use=mgr,
   mgr-linux|Mgr window with Linux keyboard,
           ka1=\E[H, ka3=\E[5~, kb2=\E[G, kc1=\E[Y, kc3=\E[6~,
           kdch1=\E[3~, kend=\E[4~, kf0=\E[[J, kf1=\E[[A, kf10=\E[21~,
           kf11=\E[23~, kf12=\E[24~, kf2=\E[[B, kf3=\E[[C, kf4=\E[[D,
           kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
           khome=\E[1~, knp=\E[6~, kpp=\E[5~,
           use=mgr,
   
 # hp2621 with function labels. Most of the time they are off,  #### BeOS
 # but inside vi, the function key labels appear. You have to  #
 # hold down shift to get them to xmit.  # BeOS entry for Terminal program Seems to be almost ANSI
 hp2621|hp2621a|hp2621A|2621|2621a|2621A|hp2621-wl|2621-wl|hp 2621 w/labels,  beterm|BeOS Terminal,
         is2=\E&jA\r, rmkx=\E&jA,          am, eo, mir, msgr, xenl, xon,
         use=hp2621-fl,          colors#8, cols#80, it#8, lines#25, pairs#64,
 hp2621-fl|hp 2621,          bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
         xhp@, xon,          clear=\E[H\E[J, cnorm=\E[?25h, cr=^M,
         pb#19200,          csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C,
         cbt=\Ei, cup=\E&a%p2%dc%p1%dY, dch1=\EP$<2>, ht=\011$<2>,          cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP,
         ip=$<2>, is2=\E&j@\r, rmkx=\E&j@, rmso=\E&d@, rmul=\E&d@,          dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
         sgr0=\E&d@, smkx=\E&jB, smso=\E&dD, smul=\E&dD,          el=\E[K, flash=\E[?5h\E[?5l$<200/>, home=\E[H,
         use=hp+pfk+cr, use=hpgeneric,          hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,
           il=\E[%p1%dL, il1=\E[L, ind=^J, invis=\E[8m, kb2=\E[G,
           kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
           kend=\E[4~, kf1=\E[11~, kf10=\E[20~, kf11=\E[21~,
           kf12=\E[22~, kf2=\E[12~, kf3=\E[13~, kf4=\E[14~,
           kf5=\E[15~, kf6=\E[16~, kf7=\E[17~, kf8=\E[18~, kf9=\E[19~,
           khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, kspd=^Z,
           nel=^M^J, op=\E[m, rc=\E8, rev=\E[7m, ri=\EM, rmir=\E[4l,
           rmso=\E[m, rmul=\E[24m, rs1=\Ec, sc=\E7, setab=\E[4%p1%dm,
           setaf=\E[3%p1%dm, setb=\E[%p1%'('%+%cm,
           setf=\E[%p1%{30}%+%cm, sgr0=\E[0;10m, smir=\E[4h,
           smso=\E[7m, smul=\E[4m, tbc=\E[3g, u6=\E[%i%p1%d;%p2%dR,
           u7=\E[6n, u8=\E[?6c, u9=\E[c, vpa=\E[%i%p1%dd,
   
 # To use hp2621p printer, setenv TERM=2621p, PRINTER=2612p  #### QNX
 hp2621p|hp 2621 with printer,  #
         mc4=\E&p13C, mc5=\E&p11C, use=hp2621,  
   
 hp2621p-a|hp2621p with fn as arrows,  # QNX 4.0 Console
         use=hp+pfk+arrows, use=hp2621p,  # Michael's original version of this entry had <am@>, <smcup=\Ei>,
   # <rmcup=\Eh\ER>; this was so terminfo applications could write the lower
   # right corner without triggering a scroll.  The ncurses terminfo library can
   # handle this case with the <ich1> capability, and prefers <am> for better
   # optimization.  Bug: The <op> capability resets attributes.
   # From: Michael Hunter <mphunter@qnx.com> 30 Jul 1996
   # (removed: <sgr=%?%p1%t\E<%;%p2%t\E[%;%p3%t\E(%;%p4%t\E{%;%p6%t\E<%;,>)
   qnx|qnx4|qnx console,
           daisy, km, mir, msgr, xhpa, xt,
           colors#8, cols#80, it#4, lines#25, ncv#3, pairs#8,
           acsc=O\333a\261j\331k\277l\332m\300n\305o\337q\304s\334t\303u\264v\301w\302x\263,
           bel=^G, blink=\E{, bold=\E<, civis=\Ey0, clear=\EH\EJ,
           cnorm=\Ey1, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
           cup=\EY%p1%' '%+%c%p2%' '%+%c, cuu1=\EA, cvvis=\Ey2,
           dch1=\Ef, dl1=\EF, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\Ee,
           il1=\EE, ind=^J, kBEG=\377\356, kCAN=\377\263,
           kCMD=\377\267, kCPY=\377\363, kCRT=\377\364,
           kDL=\377\366, kEND=\377\301, kEOL=\377\311,
           kEXT=\377\367, kFND=\377\370, kHLP=\377\371,
           kHOM=\377\260, kIC=\377\340, kLFT=\377\264,
           kMOV=\377\306, kMSG=\377\304, kNXT=\377\272,
           kOPT=\377\372, kPRT=\377\275, kPRV=\377\262,
           kRDO=\377\315, kRES=\377\374, kRIT=\377\266,
           kRPL=\377\373, kSAV=\377\307, kSPD=\377\303,
           kUND=\377\337, kbeg=\377\300, kcan=\377\243, kcbt=\377\0,
           kclo=\377\343, kclr=\377\341, kcmd=\377\245,
           kcpy=\377\265, kcrt=\377\305, kctab=\377\237,
           kcub1=\377\244, kcud1=\377\251, kcuf1=\377\246,
           kcuu1=\377\241, kdch1=\377\254, kdl1=\377\274,
           ked=\377\314, kel=\377\310, kend=\377\250, kent=\377\320,
           kext=\377\270, kf1=\377\201, kf10=\377\212,
           kf11=\377\256, kf12=\377\257, kf13=\377\213,
           kf14=\377\214, kf15=\377\215, kf16=\377\216,
           kf17=\377\217, kf18=\377\220, kf19=\377\221,
           kf2=\377\202, kf20=\377\222, kf21=\377\223,
           kf22=\377\224, kf23=\377\333, kf24=\377\334,
           kf25=\377\225, kf26=\377\226, kf27=\377\227,
           kf28=\377\230, kf29=\377\231, kf3=\377\203,
           kf30=\377\232, kf31=\377\233, kf32=\377\234,
           kf33=\377\235, kf34=\377\236, kf35=\377\276,
           kf36=\377\277, kf37=\377\321, kf38=\377\322,
           kf39=\377\323, kf4=\377\204, kf40=\377\324,
           kf41=\377\325, kf42=\377\326, kf43=\377\327,
           kf44=\377\330, kf45=\377\331, kf46=\377\332,
           kf47=\377\316, kf48=\377\317, kf5=\377\205, kf6=\377\206,
           kf7=\377\207, kf8=\377\210, kf9=\377\211, kfnd=\377\346,
           khlp=\377\350, khome=\377\240, khts=\377\342,
           kich1=\377\253, kil1=\377\273, kind=\377\261,
           kmov=\377\351, kmrk=\377\355, kmsg=\377\345,
           knp=\377\252, knxt=\377\312, kopn=\377\357,
           kopt=\377\353, kpp=\377\242, kprt=\377\255,
           kprv=\377\302, krdo=\377\336, kref=\377\354,
           kres=\377\360, krfr=\377\347, kri=\377\271,
           krmir=\377\313, krpl=\377\362, krst=\377\352,
           ksav=\377\361, kslt=\377\247, kspd=\377\335,
           ktbc=\377\344, kund=\377\365, mvpa=\E!%p1%02d, op=\ER,
           rep=\Eg%p2%' '%+%c%p1%c, rev=\E(, ri=\EI, rmcup=\Eh\ER,
           rmso=\E), rmul=\E], rs1=\ER, setb=\E@%p1%Pb%gb%gf%d%d,
           setf=\E@%p1%Pf%gb%gf%d%d, sgr0=\E}\E]\E>\E), smcup=\Ei,
           smso=\E(, smul=\E[,
   
 # hp2621 with k45 keyboard  #### DOS ANSI.SYS variants
 hp2621-k45|hp2621k45|k45|hp 2621 with 45 keyboard,  
         kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,  
         khome=\Eh, rmkx=\E&s0A, smkx=\E&s1A,  
         use=hp2621,  
   
 # 2621 using all 48 lines of memory, only 24 visible at any time.  
 hp2621-48|48 line 2621,  
         lines#48,  
         cup=\E&a%p2%dc%p1%dR, home=\EH, vpa=\E&a%p1%dR, use=hp2621,  
   
 # 2621 with no labels ever. Also prevents vi delays on escape.  
 hp2621-nl|hp 2621 with no labels,  
         kcub1@, kcud1@, kcuf1@, kcuu1@, khome@, rmkx@, smkx@, use=hp2621-fl,  
   
 # Needed for UCB ARPAVAX console, since lsi-11 expands tabs  
 # (wrong).  
 #  #
 hp2621-nt|hp 2621 w/no tabs,  # This completely describes the sequences specified in the DOS 2.1 ANSI.SYS
         ht@, use=hp2621,  # documentation (except for the keyboard key reassignment feature, which
   # doen't fit the <pfkey> model well).  The klone+acs sequences were valid
   # though undocumented.  The <pfkey> capability is untested but should work for
   # keys F1-F10 (%p1 values outside this range will yield unpredictable results).
   # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 7 1995
   ansi.sys-old|ANSI.SYS under PC-DOS 2.1,
           am, mir, msgr, xon,
           cols#80, lines#25,
           clear=\E[2J, cub1=^H, cud1=\E[B, cuf1=\E[C,
           cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[k, home=\E[H,
           is2=\E[m\E[?7h, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
           khome=^^, pfkey=\E[0;%p1%{58}%+%d;%p2"%s", rc=\E[u,
           rmam=\E[?7l, sc=\E[s, smam=\E[?7h, u6=\E[%i%d;%dR,
           u7=\E[6n,
           use=klone+color, use=klone+sgr,
   ansi.sys|ANSI.SYS 3.1 and later versions,
           el=\E[K, use=ansi.sys-old,
   
 # Hp 2624 B with 4 or 10 pages of memory.  
 #  
 # Some assumptions are made with this entry. These settings are  
 # NOT set up by the initialization strings.  
 #  
 # Port Configuration  
 #       RecvPace=Xon/Xoff  
 #       XmitPace=Xon/Xoff  
 #       StripNulDel=Yes  
 #  
 # Terminal Configuration  
 #       InhHndShk=Yes  
 #       InhDC2=Yes  
 #       XmitFnctn(A)=No  
 #       InhEolWrp=No  
 #  
 # Note: the 2624 DOES have a true <home>, believe it or not!  
 #  
 # The 2624 has an "error line" to which messages can be sent.  
 # This is CLOSE to what is expected for a "status line". However,  
 # after a message is sent to the "error line", the next carriage  
 # return is EATEN and the "error line" is turned back off again!  
 # So I guess we can't define <hs>, <eslok>, <wsl>, <dsl>, <fsl>, <tsl>.  
 #  
 # This entry supports emacs (and any other program that uses raw  
 # mode) at 4800 baud and less. I couldn't get the padding right  
 # for 9600.  
 #  #
 # (hp2624: replaced NUL sequences in flash with mandatory pauses -- esr)  # Define IBM PC keypad keys for vi as per MS-Kermit while using ANSI.SYS.
 hp2624|hp2624a|hp2624b|hp2624b-4p|Hewlett Packard 2624 B,  # This should only be used when the terminal emulator cannot redefine the keys.
         da, db,  # Since redefining keys with ansi.sys also affects PC-DOS programs, the key
         lm#96,  # definitions must be restored.  If the terminal emulator is quit while in vi
         flash=\E&w13F$<66/>\E&w12F$<66/>\E&w13F$<66/>\E&w12F, use=hp+labels, use=scrhp,  # or others using <smkx>/<rmkx>, the keypad will not be defined as per PC-DOS.
   # The PgUp and PgDn are prefixed with ESC so that tn3270 can be used on Unix
   # (^U and ^D are already defined for tn3270).  The ESC is safe for vi but it
   # does "beep".  ESC ESC i is used for Ins to avoid tn3270 ESC i for coltab.
   # Note that <kcub1> is always BS, because PC-dos can tolerate this change.
   # Caution: vi is limited to 256 string bytes, longer crashes or weirds out vi.
   # Consequently the End keypad key could not be set (it is relatively safe and
   # actually useful because it sends ^@ O, which beeps and opens a line above).
   ansi.sysk|ansisysk|PC-DOS 3.1 ANSI.SYS with keypad redefined for vi,
           is2=U2 PC-DOS 3.1 ANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p,
           rmkx=\E[;71;0;71p\E[;72;0;72p\E[;73;0;73p\E[;77;0;77p\E[;80;0;80p\E[;81;0;81p\E[;82;0;82p\E[;83;0;83p,
           smkx=\E[;71;30p\E[;72;11p\E[;73;27;21p\E[;77;12p\E[;80;10p\E[;81;27;4p\E[;82;27;27;105p\E[;83;127p,
           use=ansi.sys,
   #
   # Adds ins/del line/character, hence vi reverse scrolls/inserts/deletes nicer.
   nansi.sys|nansisys|PC-DOS Public Domain NANSI.SYS,
           dch1=\E[1P, dl1=\E[1M, ich1=\E[1@, il1=\E[1L,
           is2=U3 PC-DOS Public Domain NANSI.SYS 9-23-86\n, use=ansi.sys,
   #
   # See ansi.sysk and nansi.sys above.
   nansi.sysk|nansisysk|PC-DOS Public Domain NANSI.SYS with keypad redefined for vi,
           dch1=\E[1P, dl1=\E[1M, ich1=\E[1@, il1=\E[1L,
           is2=U4 PC-DOS Public Domain NANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p,
           use=ansi.sysk,
   
 # This hp2626 entry does not use any of the fancy windowing stuff  #### OS/2
 # of the 2626.  
 #  
 # Indeed, terminfo does not yet handle such stuff. Since changing  
 # any window clears memory, it is probably not possible to use  
 # this for screen opt.  
 #  
 # ed is incredibly slow most of the time - I am guessing at the  
 # exact padding. Since the terminal uses xoff/xon this is intended  
 # only for cost computation, so that the terminal will prefer el  
 # or even dl1 which is probably faster!  
 #  
 # \ED\EJ\EC hack for ed from Ed Bradford - apparently ed is only  
 # extra slow on the last line of the window.  
 #  
 # The padding probably should be changed.  
 #  #
 hp2626|hp2626a|hp2626p|hp 2626,  
         da, db,  
         lm#0, pb#19200,  
         ed=\ED\EJ$<500>\EC, indn=\E&r%p1%dD, ip=$<4>,  
         is2=\E&j@\r, rin=\E&r%p1%dU,  
         use=hp+pfk+cr, use=hp+labels, use=scrhp,  
   
 # This entry is for sysline. It allocates a 23 line window with  # Except for the "-emx" suffixes, these are as distributed with EMX 0.9b,
 # a 115 line workspace for regular use, and a 1 line window for  # a Unix-style environment used on OS/2.  (Note that the suffix makes some
 # the status line.  # names longer than 14 characters, the nominal maximum).
 #  
 # This assumes port 2 is being used.  
 # Turn off horizontal line, Create ws #1 with 115 lines,  
 # Create ws #2 with 1 line, Create window #1 lines 1-23,  
 # Create window #2 lines 24-24, Attach cursor to workspace #1.  
 # Note that this clears the tabs so it must be done by tset before  
 # it sets the tabs.  
 #  #
 hp2626-s|hp 2626 using only 23 lines,  # Removed: rmacs=\E[10m, smacs=\E[11m, because OS/2 does not implement acs.
         eslok, hs,  ansi-emx|ANSI.SYS color,
         lines#23,          am, bce, eo, mir, msgr, xenl, xon,
         fsl=\E&d@\E&w7f2p1I\E&w4f1I,          colors#16, cols#80, it#8, lines#25, pairs#64,
         is1=\E&q3t0{0H \E&w0f115n1I \E&w0f1n2I \E&w2f1i0d0u22l0S \E&w2f2i0d23u23l0S \E&w7f2p1I \r,          bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
         tsl=\E&w7f2p2I\E&w4f2I\r\EK\E&a%p1%dC,          clear=\E[1;33;44m\E[H\E[J, cnorm=\E[?25h, cr=^M, cub1=^H,
         use=hp2626,          cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
 # Force terminal back to 24 lines after being 23.          dch=\E[%p1%dp, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l,
 hp2626-ns|hp 2626 using all 24 lines,          home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, ind=^J,
         is1=\E&q3t0{0H \E&w0f118n1I \E&w0f1n2I \E&w2f1i0d0u23l0S \E&w3f2I \E&w7f2p1I \r, use=hp2626,          kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M, kcuu1=\0H,
 # Various entries useful for small windows on 2626.          kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>, kf5=\0?, kf6=\0@,
 hp2626-12|hewlett-packard 2626 12 lines,          kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G, kich1=\0R, kll=\0O,
         lines#12, use=hp2626,          knp=\0Q, kpp=\0I, kspd=^Z, nel=^M^J, rev=\E[5;37;41m,
 hp2626-12x40|hewlett-packard 2626 12 lines 40 columns,          rmir=\E[4l, rmpch=\E[10m, rmso=\E[0;44m\E[1;33m,
         cols#40, lines#12, use=hp2626,          rmul=\E[0;44m\E[1;33m, rs1=\Ec, setab=\E[4%p1%dm,
 hp2626-x40|hewlett-packard 2626 40 columns,          setaf=\E[3%p1%dm, sgr0=\E[0m\E[1;33;44m, smir=\E[4h,
         cols#40, use=hp2626,          smpch=\E[11m, smso=\E[0;31;47m, smul=\E[1;31;44m,
 hp2626-12-s|hewlett-packard 2626 11 lines plus status,          tbc=\E[3g, u8=\E[?6c, u9=\E[c,
         lines#11, use=hp2626-s,  ansi-color-2-emx|ANSI.SYS color 2,
           am, bce, eo, mir, msgr, xenl, xon,
           colors#16, cols#80, it#8, lines#25, pairs#64,
           bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
           clear=\E[0;37;44m\E[H\E[J, cnorm=\E[?25h, cr=^M, cub1=^H,
           cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
           dch=\E[%p1%dp, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l,
           home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, ind=^J,
           kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M, kcuu1=\0H,
           kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>, kf5=\0?, kf6=\0@,
           kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G, kich1=\0R, kll=\0O,
           knp=\0Q, kpp=\0I, kspd=^Z, nel=^M^J, rev=\E[1;37;46m,
           rmir=\E[4l, rmpch=\E[10m, rmso=\E[0;37;44m,
           rmul=\E[0;37;44m, rs1=\Ec, setab=\E[4%p1%dm,
           setaf=\E[3%p1%dm, sgr0=\E[0;37;44m, smir=\E[4h,
           smpch=\E[11m, smso=\E[1;37;46m, smul=\E[1;36;44m,
           tbc=\E[3g, u8=\E[?6c, u9=\E[c,
   ansi-color-3-emx|ANSI.SYS color 3,
           am, bce, eo, mir, msgr, xenl, xon,
           colors#16, cols#80, it#8, lines#25, pairs#64,
           bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
           clear=\E[0;37;40m\E[H\E[J, cnorm=\E[?25h, cr=^M, cub1=^H,
           cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
           dch=\E[%p1%dp, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l,
           home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, ind=^J,
           kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M, kcuu1=\0H,
           kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>, kf5=\0?, kf6=\0@,
           kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G, kich1=\0R, kll=\0O,
           knp=\0Q, kpp=\0I, kspd=^Z, nel=^M^J, rev=\E[1;37;46m,
           rmir=\E[4l, rmpch=\E[10m, rmso=\E[0;37;40m,
           rmul=\E[0;37;40m, rs1=\Ec, setab=\E[4%p1%dm,
           setaf=\E[3%p1%dm, sgr0=\E[0;10m, smir=\E[4h,
           smpch=\E[11m, smso=\E[1;37;46m, smul=\E[0;36;40m,
           tbc=\E[3g, u8=\E[?6c, u9=\E[c,
   mono-emx|stupid monochrome ansi terminal with only one kind of emphasis,
           am,
           cols#80, it#8, lines#24,
           clear=\E[H\E[2J$<50>, cub1=\E[D, cud1=\E[B, cuf1=\E[C,
           cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H,
           ht=^I, kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M,
           kcuu1=\0H, kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>,
           kf5=\0?, kf6=\0@, kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G,
           kich1=\0R, kll=\0O, knp=\0Q, kpp=\0I, nel=^M^J, rev=\E[7m,
           sgr0=\E[0m,
   
   #### Windows NT
 #  #
 # hp2627 color tubes from University of Wisconsin  # This entry fits the Windows NT console when the _POSIX_TERM environment
   # variable is set to 'on'.  While the Windows NT POSIX console is seldom used,
   # the Telnet client supplied with both the Windows for WorkGroup 3.11 TCP/IP
   # stack and the Win32 (i.e., Windows 95 and Windows NT 3.1 or later) operating
   # systems is not, and (surprise!) they match very well.
 #  #
 hp2627a-rev|hp 2627 with reverse video colors,  # See:  MS Knowledge Base item Q108581, dated 13-MAY-1997, titled "Setting Up
         cr=^M, cud1=^J, ht=^I, ind=^J,  # VI POSIX Editor for Windows NT 3.1".  True to Microsoft form, not only
         is2=\E&v0m1a0b0c1x1y1z1i0a0b1c1x1y1z0i0S\E&j@\r\E3\r,  # are the installation instructions a pile of mind-numbing bureaucratese,
         kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rmul=\E&v0S\E&d@,  # but the termcap entry is actually broken and unusable as given; the :do:
         smul=\E&dD\E&v1S,  # capability is misspelled "d".
         use=hp2621-nl,  
 hp2627a|hp 2627 color terminal with no labels,  
         cr=^M, cud1=^J, ht=^I, ind=^J,  
         is2=\E&v0m1a1b0c1i0a1b1c2i1a0b0c0i0S\E&j@\r\E3\r,  
         kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rmso=\E&v0S,  
         rmul=\E&v0S\E&d@, smso=\E&v2S, smul=\E&dD\E&v1S,  
         use=hp2621-nl,  
 hp2627c|hp 2627 color (cyan) terminal with no labels,  
         cr=^M, cud1=^J, ht=^I, ind=^J,  
         is2=\E&v0m1a0b0c2i1a1b0c1i0a1b1c0i0S\E&j@\r\E3\r,  
         kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J,  
         use=hp2627a,  
   
 # hp2640a doesn't have the Y cursor addressing feature, and C is  
 # memory relative instead of screen relative, as we need.  
 #  #
 hp2640a|hp 2640a,  # To use this, you need to a bunch of environment variables:
         cup@, rmkx@, smkx@, use=hp2645,  
   
 hp2640b|hp2644a|hp 264x series,  
         rmkx@, smkx@, use=hp2645,  
   
 # (hp2641a: removed unknown :gu: -- esr)  
 hp2641a|hp2645a|hp2647a|HP 264?A series BRL entry,  
         am, da, db, mir, xhp,  
         cols#80, lines#24,  
         bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,  
         cup=\E&a%p2%2dc%p1%2dY, cuu1=\EA, dch1=\EP, dl1=\EM,  
         ed=\EJ, el=\EK, hpa=\E&a%p1%2dC, ht=^I,  
         if=/usr/share/tabset/std, il1=\EL, ind=^J,  
         is2=\EE$<500/>, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J,  
         rmir=\ER, rmso=\E&d@, smir=\EQ, smso=\E&dB,  
         vpa=\E&a%p1%2dY,  
   
 # This terminal should be used at 4800 baud or less. It needs padding for  
 # plain characters at 9600, I guessed at an appropriate cr delay.  It really  
 # wants ^E/^F handshaking, but that doesn't work well even if you write  
 # software to support it.  
 hp2645|hp45|HP 2645 series,  
         pb#9600,  
         blink=\E&dA, cr=\r$<20>, dim=\E&dH, kctab=\E2, kcub1=\ED,  
         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM,  
         ked=\EJ, kel=\EK, khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL,  
         kind=\ES, knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, rev=\E&dB,  
         rmkx=\E&s0A,  
         sgr=\E&d%'@'%?%p1%t%'B'%|%;%?%p2%t%'D'%|%;%?%p3%t%'B'%|%;%?%p4%t%'A'%|%;%?%p5%t%'H'%|%;%?%p6%t%'B'%|%;%c,  
         sgr0=\E&d@, smkx=\E&s1A, smul=\E&dD,  
         use=hpgeneric,  
 # You should use this terminal at 4800 baud or less.  
 hp2648|hp2648a|HP 2648a graphics terminal,  
         clear=\EH\EJ$<50>, cup=\E&a%p2%dc%p1%dY$<20>,  
         dch1=\EP$<7>, ip=$<5>,  
         use=hp2645,  
   
 # The HP 150 terminal is a fairly vanilla HP terminal, with the  
 # clreol standout problem. It also has graphics capabilities and  
 # a touch screen, which we don't describe here.  
 hp150|hewlett packard Model 150,  
         use=hp2622,  
   
 # HP 2382a terminals, "the little ones." They don't have any  
 # alternate character set support and sending out ^N/^O will  
 # leave the screen blank.  
 hp2382a|hp2382|hewlett packard 2382a,  
         da, db,  
         lh#1, lm#48,  
         acsc@,  
         pln=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s,  
         rmacs@,  
         sgr=\E&d%{0}%Pa%?%p4%t%{1}%ga%+%Pa%;%?%p1%p3%|%p6%|%t%{2}%ga%+%Pa%;%?%p2%p6%|%t%{4}%ga%+%Pa%;%?%p1%p5%|%t%{8}%ga%+%Pa%;%?%p7%t%?%ga%ts%ga%'@'%+%e%'S'%;%e%?%ga%t%ga%'@'%+%e%'@'%;%;%c,  
         sgr0=\E&d@, smacs@,  
         use=hp+labels, use=scrhp,  
   
 hp2621-a|hp2621a-a|hp2621 with fn as arrows,  
         use=hp+pfk+arrows, use=hp2621-fl,  
   
 # newer hewlett packard terminals  
   
 newhpkeyboard|generic entry for HP extended keyboard,  
         kbs=^H, kcbt=\Ei, kclr=\EJ, kcub1=\ED, kcud1=\EB, kcuf1=\EC,  
         kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, khome=\Eh,  
         kich1=\EQ, kil1=\EL, kind=\ET, kll=\EF, knp=\EU, kpp=\EV,  
         kri=\ES, krmir=\ER, rmkx=\E&s0A, smkx=\E&s1A,  
         use=hp+pfk-cr,  
   
 newhp|generic entry for new hewlett packard terminals,  
         am, bw, mir, xhp, xon,  
         cols#80, lines#24, pb#4800,  
         acsc=T1R!U2S"W3O#V4P$t5u6w7v8\:'9(LQKWlRkT5I3@2[MAJSmFjGdHQ;Y+Z*X\:4>q\,x.n/,  
         bel=^G, blink=\E&dA, bold=\E&dF, cbt=\Ei, cr=^M, cub1=^H,  
         cud1=^J, cuf1=\EC, cuu1=\EA, dch1=\EP$<2>, dim=\E&dH,  
         dl1=\EM, ed=\EJ, el=\EK, ht=\011$<2>, hts=\E1, il1=\EL, ind=^J,  
         invis=\E&dS, ip=$<2>, is1=\E&jB$<8>, nel=^M^J,  
         pfkey=\E&f0a%p1%dk0d%p2%l%dL%p2%s,  
         pfloc=\E&f1a%p1%dk0d%p2%l%dL%p2%s,  
         pfx=\E&f2a%p1%dk0d%p2%l%dL%p2%s, rev=\E&dB, ri=\ET,  
         rmacs=^O, rmir=\ER, rmso=\E&d@, rmul=\E&d@, rs1=\Eg,  
         sgr=\E&d%{0}%Pa%?%p4%t%{1}%ga%+%Pa%;%?%p1%p3%|%p6%|%t%{2}%ga%+%Pa%;%?%p2%p6%|%t%{4}%ga%+%Pa%;%?%p1%p5%|%t%{8}%ga%+%Pa%;%?%p7%t%?%ga%ts%ga%'@'%+%e%'S'%;%e%?%ga%t%ga%'@'%+%e%'@'%;%;%c%?%p9%t\016%e\017%;,  
         sgr0=\E&d@\017, smacs=^N, smir=\EQ, smso=\E&dJ, smul=\E&dD,  
         tbc=\E3,  
         use=newhpkeyboard,  
   
 memhp|memory relative addressing for new HP ttys,  
         vt#6,  
         clear=\EH\EJ$<40>, cub=\E&a-%p1%dC, cud=\E&a+%p1%dR,  
         cuf=\E&a+%p1%dC, cup=\E&a%p1%dr%p2%dC, cuu=\E&a-%p1%dR,  
         home=\EH, hpa=\E&a%p1%dC, ll=\E&a23R\r,  
         mrcup=\E&a%p1%dr%p2%dC, vpa=\E&a%p1%dR, use=newhp,  
   
 scrhp|screen relative addressing for new HP ttys,  
         clear=\E&a0c0Y\EJ$<40>, cub=\E&a-%p1%dC,  
         cud=\E&a+%p1%dR, cuf=\E&a+%p1%dC,  
         cup=\E&a%p1%dy%p2%dC$<10>, cuu=\E&a-%p1%dR,  
         home=\E&a0y0C, hpa=\E&a%p1%dC, ll=\E&a0y0C\EA,  
         mrcup=\E&a%p1%dr%p2%dC, vpa=\E&a%p1%dY, use=newhp,  
   
 # (hp+labels: added label values from a BRL termcap -- esr)  
 hp+labels|"standard" label info for new HP ttys,  
         lh#2, lw#8, nlab#8,  
         lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7, lf7=f8,  
         pln=\E&f2a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s,  
         rmln=\E&j@, smln=\E&jB,  
   
 hp+printer|"standard" printer info for HP ttys,  
         ff=\E&p4u0C, mc0=\EH\E&p4dF, mc4=\E&p13C, mc5=\E&p11C,  
   
   
 # The new hp2621b is kind of a cross between the old 2621 and the  
 # new 262x series of machines. It has dip-switched options.  
 # The firmware has a bug in it such that if you give it a null  
 # length label, the following character is eaten!  
 hp2621b|hp 2621b with old style keyboard,  
         lh#1, lm#48, lw#8, nlab#8,  
         kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh,  
         kind=\ET, kll=\EF, kri=\ES,  
         pln=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d3L%?%ga%!%t%{32}%c%;%p2%s\E%'o'%p1%+%c\r,  
         smln=\E&jB,  
         use=hp2621,  
   
 hp2621b-p|hp 2621b with printer,  
         use=hp+printer, use=hp2621b,  
   
 # hp2621b - new 2621b with new extended keyboard  
 # these are closer to the new 26xx series than the other 2621b  
 hp2621b-kx|hp 2621b with extended keyboard,  
         use=newhpkeyboard, use=hp2621b,  
   
 hp2621b-kx-p|hp 2621b with new keyboard & printer,  
         use=hp+printer, use=hp2621b-kx,  
   
 # Some assumptions are made in the following entries.  
 # These settings are NOT set up by the initialization strings.  
 #  
 #    Port Configuration  
 # RecvPace=Xon/Xoff     XmitPace=Xon/Xoff       StripNulDel=Yes  
 #  
 #    Terminal Configuration  
 # InhHndShk(G)=Yes      InhDC2(H)=Yes  
 # XmitFnctn(A)=No               InhEolWrp=No  
 #  #
 #  # SET _POSIX_TERM=on
 # Hp 2622a & hp2623a display and graphics terminals  # SET TERM=ansi
   # SET TERMCAP=location of termcap file in POSIX file format
   # which is case-sensitive.
   # e.g. SET TERMCAP=//D/RESKIT35/posix/termcap
   # SET TMP=//C/TEMP
 #  #
 hp2622|hp2622a|hp 2622,  # Important note: setting the TMP environment variable in POSIX style renders
         da, db,  # it incompatible with a lot of other applications, including Visual C++. So
         lm#0, pb#19200,  # you should have a separate command window just for vi. All the other
         is2=\E&dj@\r, use=hp+pfk+cr, use=hp+labels, use=scrhp,  # variables may be permanently set in the Control Panel\System applet.
   
 # The 2623 is a 2622 with extra graphics hardware.  
 hp2623|hp2623a|hp 2623,  
         use=hp2622,  
   
 hp2624b-p|hp2624b-4p-p|hewlett packard 2624 B with printer,  
         use=hp+printer, use=hp2624,  
   
 # The hewlett packard B can have an optional extra 6 pages of memory.  
 hp2624-10p|hp2624a-10p|hp2624b-10p|hewlett packard 2624 B w/ 10 pages of memory,  
         lm#240, use=hp2624,  
   
 hp2624b-10p-p|hewlett packard 2624 B w/ extra memory & printer,  
         lm#240, use=hp2624b-p,  
   
 # Color manipulations for HP terminals  
 hp+color|hp with colors,  
         ccc,  
         colors#16, ncv#17, pairs#7,  
         initp=\E&v%?%p2%{1000}%=%t1%e.%p2%d%;a\n%?%p3%{1000}%=%t1%e.%p3%d%;b\n%?%p4%{1000}%=%t1%e.%p4%d%;c\n%?%p5%{1000}%=%t1%e.%p5%d%;x\n%?%p6%{1000}%=%t1%e.%p6%d%;y\n%?%p7%{1000}%=%t1%e.%p7%d%;z\n%p1%dI,  
         oc=\E&v0m1a1b1c0I\E&v1a1I\E&v1b2I\E&v1a1b3I\E&v1c4I\E&v1a1c5I\E&v1b1c6I\E&v1x1y7I,  
         op=\E&v0S, scp=\E&v%p1%dS,  
   
 # <is2> sets the screen to be 80 columns wide  
 hp2397a|hp2397|hewlett packard 2397A color terminal,  
         is2=\E&w6f80X,  
         use=memhp, use=hp+labels, use=hp+color,  
   
 #  HP 700/44 Setup parameters:  
 # Terminal Mode         HP-PCterm  
 # Inhibit Auto Wrap     NO  
 # Status Line           Host Writable  
 # PC Character Set      YES  
 # Twenty-Five Line Mode YES  
 # XON/XOFF              @128 or 64 (sc)  
 # Keycode Mode          NO   or YES (sc)  
 # Backspace Key         BS or BS/DEL  
 #  #
 # <is2>         sets pcterm; autowrap; 25 lines; pc char set; prog DEL key;  # You can find out more about the restrictions of this facility at
 # \E\\? does not turn off keycode mode  # <http://www.nentug.org/unix-to-nt/ntposix.htm>.
 # <smsc>        sets alternate start/stop; keycode on  
 hpansi|hp700|hewlett packard 700/44 in HP-PCterm mode,  
         am, eo, xenl, xon,  
         cols#80, lines#25,  
         acsc=k\277l\332m\300j\331n\305w\302q\304u\264t\303v\301x\263,  
         bel=^G, cbt=\E[Z, civis=\E[?25l, clear=\E[2J\E[H,  
         cnorm=\E[?25h, cr=^M, cub1=\E[D, cud1=\E[B, cuf1=\E[C,  
         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,  
         ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L,  
         ind=^J,  
         is2=\E[44"p\E[?7h\E[>10h\E[>12h\EP1;1|3/7F\E\\,  
         kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,  
         kcuu1=\E[A, kend=\E[4~, kf1=\E[17~, kf10=\E[28~,  
         kf2=\E[18~, kf3=\E[19~, kf4=\E[20~, kf5=\E[21~, kf6=\E[23~,  
         kf7=\E[24~, kf8=\E[25~, kf9=\E[26~, khome=\E[1~, knp=\E[6~,  
         kpp=\E[5~, rmam=\E[?7l,  
         rmsc=\E[>11l\EP1**x0/11;1/13\E[m\E\\, rmso=\E[m,  
         rmul=\E[m, sgr0=\E[m, smam=\E[?7h,  
         smsc=\E[>11h\EPO**x0/65;1/67\E\\$<250>, smso=\E[7m,  
         smul=\E[4m, xoffc=g, xonc=e,  
 #  #
 # (hp2392: copied <rmir> here from hpex -- esr)  # From: Federico Bianchi <bianchi@magna.cisid.unipi.it>, 15 Jan 1997
 hp2392|239x series,  ansi-nt|psx_ansi|Microsoft Windows NT console POSIX ANSI mode,
         cols#80,          am, bw, msgr,
         cbt=\Ei, cup=\E&a%p1%dy%p2%dC, kf1=\Ep\r, kf2=\Eq\r,          cols#80, it#8, lines#25,
         kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, kf6=\Eu\r, kf7=\Ev\r,          bel=^G, clear=\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
         kf8=\Ew\r, khome=\Eh, kind=\EU, knp=\Eu, kpp=\Ev, kri=\EV,          cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K,
         rmir=\ER, rmul=\E&d@, smir=\EQ, smul=\E&dD, vpa=\E&a%p1%dY,          home=\E[H, ht=^I, ind=\E[S, kbs=^H, kcub1=\E[D, kcud1=\E[V,
         use=hpsub,          kcuf1=\E[C, kcuu1=\E[A, nel=\r\E[S, rc=\E[u, rev=\E[7m,
           ri=\E[T, rmso=\E[m, sc=\E[s, sgr0=\E[0m, smso=\E[7m,
   
 hpsub|hp terminals -- capability subset,  ######## COMMON TERMINAL TYPES
         am, da, db, mir, xhp, xon,  
         lines#24,  
         bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,  
         cuu1=\EA, dch1=\EP, dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC,  
         ht=^I, if=/usr/share/tabset/stdcrt, il1=\EL, ind=^J,  
         is2=\E&s1A\E<\E&k0\\, kbs=^H, kcub1=\ED, kcud1=\EB,  
         kcuf1=\EC, kcuu1=\EA, khome=\Eh, rmkx=\E&s0A, rmso=\E&d@,  
         sgr0=\E&d@, smkx=\E&s1A, smso=\E&dB,  
   
 # hpex:  
 #       May be used for most 24 x 80 hp terminals,  
 # but has no padding added, so may allow runover in some terminals at high  
 # baud rates.  Will not work for hp2640a or hp2640b terminals, hp98x6 and  
 # hp98x5 terminal emulators or hp98x6 consoles.  
 #       Adds xy-cursor addressing, vertical cursor addressing, home,  
 # last line, and underline capabilities.  
 #  #
 # (hpex: removed memory-lock capabilities ":ml=\El:mu=\Em:",  # This section describes terminal classes and maker brands that are still
 # moved <rmir> here from hpsub -- esr)  # quite common, but have proprietary command sets not blessed by ANSI.
 hpex|hp extended capabilites,  
         cr=^M, cud1=^J, cup=\E&a%p1%dy%p2%dC, ht=^I, ind=^J, kbs=^H,  
         kcub1=^H, kcud1=^J, nel=^M^J, rmir=\ER, rmul=\E&d@, smir=\EQ,  
         smul=\E&dD, vpa=\E&a%p1%dY,  
         use=hpsub,  
   
 # From: Ville Sulko <Ville.Sulko@bip.atk.tpo.fi>, 05 Aug 1996  
 hp2|hpex2|hewlett-packard extended capabilities newer version,  
         am, da, db, mir, xhp,  
         cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8, xmc#0,  
         bel=^G, clear=\E&a0y0C\EJ, cr=^M, cub1=^H, cud1=\EB,  
         cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP,  
         dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1,  
         il1=\EL, ind=^J, kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED,  
         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM,  
         ked=\EJ, kel=\EK, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et,  
         kf6=\Eu, kf7=\Ev, kf8=\Ew, khome=\Eh, khts=\E1, kich1=\EQ,  
         kil1=\EL, kind=\ES, kll=\EF, knp=\EU, kpp=\EV, kri=\ET,  
         krmir=\ER, ktbc=\E3, meml=\El, memu=\Em,  
         pfkey=\E&f%p1%dk%p2%l%dL%p2%s,  
         pfloc=\E&f1a%p1%dk%p2%l%dL%p2%s,  
         pfx=\E&f2a%p1%dk%p2%l%dL%p2%s,  
         pln=\E&f%p1%dk%p2%l%dd0L%p2%s, rmir=\ER, rmkx=\E&s0A,  
         rmln=\E&j@, rmso=\E&d@, rmul=\E&d@,  
         sgr=\E&d%?%p7%t%'s'%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%'@'%+%c%?%p9%t%'\016'%c%e%'\017'%c%;,  
         sgr0=\E&d@, smir=\EQ, smkx=\E&s1A, smln=\E&jB, smso=\E&dB,  
         smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY,  
   
 # HP 236 console  
 # From: <ddavis@ic.berkeley.edu>  
 hp236|hp236 internal terminal emulator,  
         am,  
         cols#80, lines#24,  
         clear=\EF, cnorm=\EDE, cub1=^H,  
         cup=\EE%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, cvvis=\EDB,  
         dch1=\EJ, dl1=\EH, el=\EK, ich1=\EI, il1=\EG, rmso=\ECI,  
         sgr0=\ECI, smso=\EBI,  
   
 # This works on a hp300 console running Utah 4.3 BSD  
 # From: Craig Leres <leres@okeeffe.berkeley.edu>  
 hp300h|HP Catseye console,  
         am, da, db, mir, xhp,  
         cols#128, lines#51, lm#0, xmc#0,  
         bel=^G, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M, cub1=^H, cud1=\EB,  
         cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP,  
         dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I,  
         if=/usr/share/tabset/stdcrt, il1=\EL, ind=^J, kbs=^H,  
         kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh,  
         rmir=\ER, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@, sgr0=\E&d@,  
         smir=\EQ, smkx=\E&s1A, smso=\E&dB, smul=\E&dD, tbc=\E3,  
         vpa=\E&a%p1%dY,  
 # From: Greg Couch <gregc@ernie.berkeley.edu>  
 hp9837|hp98720|hp98721|HP 9000/300 workstations,  
         am, da, db, mir, xhp,  
         cols#128, it#8, lines#46, lm#0,  
         bel=^G, cbt=\Ei, clear=\E&a0y0C\EJ, cub1=^H, cud1=\EB,  
         cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP,  
         dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1,  
         il1=\EL, ind=^J, is2=\E&v0m1b0i&j@, kbs=^H, kcub1=\ED,  
         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM,  
         ked=\EJ, kel=\EK, khome=\Eh, kich1=\EQ, kil1=\EL, knp=\EU,  
         kpp=\EV, rmir=\ER, rmkx=\E&s0A, rmso=\E&v0S, rmul=\E&d@,  
         sgr0=\E&d@, smir=\EQ, smkx=\E&s1A, smso=\E&v5S, smul=\E&dD,  
         tbc=\E3, vpa=\E&a%p1%dY,  
 # HP 9845 desktop computer from BRL  
 # (hp9845: removed unknown capability :gu: -- esr)  
 hp9845|HP 9845,  
         am, da, db, eo, mir, xhp,  
         cols#80, lines#21,  
         clear=\EH\EJ, cuf1=\EC, cup=\E&a%p2%2dc%p1%2dY, cuu1=\EA,  
         dch1=\EP, dl1=\EM, ed=\EJ, el=\EK,  
         if=/usr/share/tabset/std, il1=\EL, rmir=\ER, rmso=\E&d@,  
         smir=\EQ, smso=\E&dB,  
 # From: Charles A. Finnell of MITRE <finnell@mitre.org>, developed 07SEP90  
 # (hp98550: replaced /usr/share/tabset/9837 with std because <it#8>,<hts=\E1>;  
 # added empty <acsc> to avoid warnings re <smacs>/<rmacs> --esr)  
 hp98550|hp98550a|HP 9000 Series 300 color console,  
         am, da, db, mir, xhp,  
         cols#128, it#8, lines#49, lm#0,  
         acsc=, bel=^G, blink=\E&dA, bold=\E&dJ, cbt=\Ei, civis=\E*dR,  
         clear=\EH\EJ, cnorm=\E*dQ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,  
         cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, dim=\E&dH,  
         dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1,  
         if=/usr/share/tabset/std, il1=\EL, ind=^J, invis=\E&ds,  
         kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC,  
         kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, kf1=\Ep,  
         kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew,  
         khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, kind=\ES, kll=\EF,  
         knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, ktbc=\E3, rev=\E&dJ,  
         rmacs=^O, rmir=\ER, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@,  
         sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A, smso=\E&dJ,  
         smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY,  
 # From: Victor Duchovni <vic@fine.princeton.edu>  
 # (hp700-wy: removed obsolete ":nl=^J:";  
 # replaced /usr/share/tabset/hp700-wy with std because <it#8>,<hts=\E1> -- esr)  
 hp700-wy|HP700/41 emulating wyse30,  
         am, bw, mir, msgr,  
         cols#80, it#8, lines#24, xmc#1,  
         cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^V, cuf1=^L,  
         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,  
         dl1=\ER, ed=\EY, el=\ET$<10/>, home=^^, ht=^I, hts=\E1,  
         if=/usr/share/tabset/stdcrt, il1=\EE$<0.7*/>,  
         is1=\E~"\EC\Er\E(\EG0\003\E`9\E`1, kbs=\177, kcbt=\EI,  
         kclr=^Z, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, ked=\EY,  
         kel=\ET, khome=^^, khts=\EI, kich1=\Eq, krmir=\Er, ll=^^^K,  
         ri=\Ej, rmir=\Er, rmso=\EG0$<10/>, rmul=\EG0$<10/>,  
         sgr0=\EG0$<10/>, smir=\Eq, smso=\EG4$<10/>,  
         smul=\EG8$<10/>, tbc=\E0, vpa=\E[%p1%{32}%+%c,  
 # (hp70092: added empty <acsc> to avoid warnings re <smacs>/<rmacs> --esr)  
 hp70092|hp70092a|hp70092A|HP 700/92,  
         am, da, db, xhp,  
         cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8,  
         acsc=, bel=^G, blink=\E&dA, bold=\E&dB, cbt=\Ei,  
         clear=\E&a0y0C\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,  
         cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, dim=\E&dH,  
         dl1=\EM, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, il1=\EL,  
         kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC,  
         kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, kf1=\Ep,  
         kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew,  
         khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, kind=\ES, kll=\EF,  
         knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, ktbc=\E3, rev=\E&dB,  
         ri=\ET, rmacs=^O, rmir=\ER, rmkx=\E&s0A, rmln=\E&j@,  
         rmso=\E&d@, rmul=\E&d@, sgr0=\E&d@, smacs=^N, smir=\EQ,  
         smkx=\E&s1A, smln=\E&jB, smso=\E&dJ, smul=\E&dD, tbc=\E3,  
         vpa=\E&a%p1%dY,  
   
 bobcat|sbobcat|HP 9000 model 300 console,  
         am, da, db, mir, xhp,  
         cols#128, it#8, lines#47, xmc#0,  
         cbt=\Ei, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,  
         cup=\E&a%dy%dC$<6/>, cuu1=\EA, dch1=\EP, dl1=\EM$<10*/>,  
         ed=\EJ, el=\EK, hpa=\E&a%dC$<6/>, ht=^I, il1=\EL$<10*/>,  
         ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,  
         khome=\Eh, nel=^M^J, rmir=\ER, rmkx=\E&s0A, rmso=\E&d@,  
         rmul=\E&d@, sgr0=\E&d@, smir=\EQ, smkx=\E&s1A, smso=\E&dB,  
         smul=\E&dD, vpa=\E&a%dY$<6/>,  
 gator-t|HP 9000 model 237 emulating extra-tall AAA,  
         lines#94, use=gator,  
 gator|HP 9000 model 237 emulating AAA,  
         bw, km, mir, ul,  
         cols#128, it#8, lines#47,  
         bel=^G, cbt=\E[Z, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J,  
         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\EM,  
         dch=\E[%p1%dP$<4/>, dch1=\E[P, dl=\E[%p1%dM$<1*/>,  
         dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, hpa=\E[%i%p1%d`,  
         ht=^I, ich=\E[%p1%d@$<4/>, ich1=\E[@, il=\E[%p1%dL$<1*/>,  
         il1=\E[L, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J,  
         rep=%p1%c\E[%p2%db$<1*/>, rev=\E[7m, rmso=\E[m,  
         rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m,  
 gator-52|HP 9000 model 237 emulating VT52,  
         cols#128, lines#47, use=vt52,  
 gator-52t|HP 9000 model 237 emulating extra-tall VT52,  
         lines#94, use=gator-52,  
   
 #### Honeywell-Bull  
 #  #
 # From: Michael Haardt <michael@gandalf.moria> 11 Jan 93  
 #  
   
 # Honeywell Bull terminal.  Its cursor and function keys send single  
 # control characters and it has standout/underline glitch.  Most programs  
 # do not like these features/bugs.  Visual bell is realized by flashing the  
 # "keyboard locked" LED.  
 dku7003-dumb|Honeywell Bull DKU 7003 dumb mode,  
         cols#80, lines#25,  
         clear=^]^_, cr=^M, cub1=^Y, cud1=^K, cuf1=^X,  
         cup=\E[%i%p1%d;%p2%dH, cuu1=^Z, ed=^_, el=\E[K,  
         flash=\E[2h\E[2l, home=^], ht=^I, ind=^J, kbs=^H, kcub1=^Y,  
         kcud1=^K, kcuf1=^X, kcuu1=^Z, khome=^], nel=^M^J,  
 dku7003|Honeywell Bull DKU 7003 all features described,  
         msgr,  
         xmc#1,  
         blink=\E[5m, bold=\E[7m, dim=\E[2m, rev=\E[7m, rmso=\E[m,  
         rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m,  
         use=dku7003-dumb,  
   
 #### Lear-Siegler (adm)  #### Lear-Siegler (adm)
 #  #
 # These guys are long since out of the terminals business, but  # These guys are long since out of the terminals business, but
Line 3139 
Line 2808 
 # emulations (usually their stupidest, and usually labeled adm3, though  # emulations (usually their stupidest, and usually labeled adm3, though
 # these `adm3' emulations normally have adm3a+ capabilities).  # these `adm3' emulations normally have adm3a+ capabilities).
 #  #
 # WARNING: Some early ADM terminals (including the ADM3 and ADM5) are  # WARNING: Some early ADM terminals (including the ADM3 and ADM5) had a
 # reputed to have had the weird `feature' that sending them a ^G would trigger  # `diagnostic feature' that sending them a ^G while pin 22 (`Ring Indicator')
 # a diagnostic dump to screen if one of the more obscure RS-232 pins  # was being held to ground would trigger a send of the top line on the screen.
 # (variously reported as 22 or as `Ring Indicator') was being held high during  # A quick fix might be to drop back to a cheesy 4-wire cable with pin 22
 # receipt of the ^G.  If you have a real ADM and think you've run into this,  # hanging in the air.
 # check it out with a breakout box and tell us if this rumor is correct!  
 # A quick fix might be to drop back to a cheesy 4-wire cable.  
 #  #
   
 adm1a|adm1|lsi adm1a,  adm1a|adm1|lsi adm1a,
Line 3218 
Line 2885 
         use=adm+sgr,          use=adm+sgr,
 # From: Andrew Scott Beals <bandy@lll-crg.ARPA>  # From: Andrew Scott Beals <bandy@lll-crg.ARPA>
 # Corrected by Olaf Siebert <rhialto@polder.ubc.kun.nl>, 11 May 1995  # Corrected by Olaf Siebert <rhialto@polder.ubc.kun.nl>, 11 May 1995
   # Supervisor mode info by Ari Wuolle, <awuolle@delta.hut.fi>, 27 Aug 1996
 # (adm12: removed obsolete ":kn:ma=j^Jk^P^K^Pl ^R^L^L :".  This formerly had  # (adm12: removed obsolete ":kn:ma=j^Jk^P^K^Pl ^R^L^L :".  This formerly had
 # <is2>=\Eq but that looked wrong; this <is2> is from Dave Yost <esquire!yost>  # <is2>=\Eq but that looked wrong; this <is2> is from Dave Yost <esquire!yost>
 # via BRL.  That entry asserted <xmc#1>, but I've left that out because  # via BRL.  That entry asserted <xmc#1>, but I've left that out because
 # neither earlier nor later ADMSs have it -- esr)  # neither earlier nor later ADMSs have it -- esr)
   #
   # You will need to get into the supervisor setup before you can set
   # baudrate etc. for your ADM-12+. Press Shift-Ctrl-Setup and you should
   # see a lot more setup options.
   #
   # While in supervisor setup you can also use following codes:
   #
   # Ctrl-P Personality character selections (configure for example what
   #        arrow keys send, if I recall correctly)
   # Ctrl-T tabs 1-80   use left&right to move and up to set and
   # Ctrl-V tabs 81-158 down to clear tab. Shift-Ctrl-M sets right margin at cursor
   # Ctrl-B Binary setup (probably not needed. I think that everything can
   #        be set using normal setup)
   # Ctrl-A Answerback mode (enter answerback message)
   # Ctrl-U User friendly mode (normal setup)
   # Ctrl-D Defaults entire setup and function keys from EPROM tables
   # Ctrl-S Save both setup and functions keys. Takes from 6 to 10 seconds.
   # Ctrl-R Reads both setup and functions keys from NVM.
   # Shift-Ctrl-X Unlock keyboard and cancel received X-OFF status
   #
   # ADM-12+ supports hardware handshaking, but it is DTR/CTS as opposed to
   # RTS/CTS used nowadays with virtually every modem and computer. 19200
   # bps works fine with hardware flow control.
   #
   # The following null-modem cable should fix this and enable you to use
   # RTS/CTS handshaking (which Linux supports, use CRTSCTS setting). Also
   # set ADM-12+ for DTR handshaking from supervisor setup.
   #
   # PC Serial   ADM-12+
   #  --------   -------
   #         2 - 3
   #         3 - 2
   #         4 - 5
   #         5 - 20
   #       6,8 - 4
   #         7 - 7
   #        20 - 6,8
   #
 adm12|lsi adm12,  adm12|lsi adm12,
         am, mir,          am, mir,
         cols#80, it#8, lines#24,          cols#80, it#8, lines#24,
Line 3257 
Line 2963 
         bel=^G, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J, cuf1=^L,          bel=^G, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,          cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
         dl1=\ER, ed=\Ey, el=\Et, home=^^, ht=\Ei, ich1=\EQ, il1=\EE,          dl1=\ER, ed=\Ey, el=\Et, home=^^, ht=\Ei, ich1=\EQ, il1=\EE,
         is2=\E%\014\014\014\016\003\200\003\002\003\002\200\200\200\200\200\200\200\200\200\200\200,          is2=\E%\014\014\014\016\003\0\003\002\003\002\0\0\0\0\0\0\0\0\0\0\0,
         kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf1=^A@\r,          kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf1=^A@\r,
         kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,          kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
         kf7=^AF\r, khome=^^, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5,          kf7=^AF\r, khome=^^, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5,
Line 3457 
Line 3163 
         kcud1=^J, nel=^M^J, pad=\177, rev=\EG4, rmso=\EG0, rmul=\EG0,          kcud1=^J, nel=^M^J, pad=\177, rev=\EG4, rmso=\EG0, rmul=\EG0,
         sgr0=\E), smso=\EG4, smul=\EG1,          sgr0=\E), smso=\EG4, smul=\EG1,
   
 #### Prime  
 #  
 # Yes, Prime makes terminals.  These entries were posted by Kevin J. Cummings  
 # <cummings@primerd.Prime.COM> on 14 Dec 1992 and lightly edited by esr.  
 #  
   
 # Standout mode is dim reverse-video.  
 pt100|pt200|wren|fenix|prime pt100/pt200,  
         am, bw, mir, msgr,  
         cols#80, it#8, lines#24,  
         cbt=\E[Z, clear=\E?, cr=^M, cub=\E[%p1%dD, cub1=^H,  
         cud=\E[%p1%dB, cud1=\ED, cuf=\E[%p1%dC, cuf1=\E[C,  
         cup=\E0%p1%'!'%+%c%p2%'!'%+%c, cuu=\E[%p1%dA, cuu1=\EM,  
         dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[M, ed=\E[J\E[r,  
         el=\E[K\E[t, flash=\E$$<200/>\E$P, home=\E$B, ht=^I,  
         il1=\E[L\E[t, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B,  
         kcuf1=\E[C, kcuu1=\E[A, khome=\E$A, nel=^M^J, rmcup=,  
         rmir=\E[4l, rmkx=\E[>13l, rmso=\E[m, rmul=\E[m, sgr0=\E[m,  
         smcup=\E[>1l\E[>2l\E[>16l\E[4l\E[>9l\E[20l\E[>3l\E[>7h\E[>12l\E[1Q,  
         smir=\E[4h, smkx=\E[>13h, smso=\E[2;7m, smul=\E[4m,  
 pt100w|pt200w|wrenw|fenixw|prime pt100/pt200 in 132-column mode,  
         cols#132,  
         cup=\E[%i%p1%d;%p2%dH, use=pt100,  
 pt250|Prime PT250,  
         rmso@, smso@, use=pt100,  
 pt250w|Prime PT250 in 132-column mode,  
         rmso@, smso@, use=pt100w,  
   
 #### Qume (qvt)  #### Qume (qvt)
 #  #
 #       Qume, Inc.  #       Qume, Inc.
Line 3515 
Line 3193 
 # model is the qvt520, which is vt420-compatible.  # model is the qvt520, which is vt420-compatible.
 #  #
 # There are some ancient printing Qume terminals under `Daisy Wheel Printers'  # There are some ancient printing Qume terminals under `Daisy Wheel Printers'
   #
   # If you inherit a Qume without docs, try Ctrl-Shift-Setup to enter its
   # setup mode.  Shift-s should be a configuration save to NVRAM.
   
 qvt101|qvt108|qume qvt 101 and QVT 108,  qvt101|qvt108|qume qvt 101 and QVT 108,
         xmc#1, use=qvt101+,          xmc#1, use=qvt101+,
Line 3862 
Line 3543 
 # without the beeper  # without the beeper
 # (tvi92B: removed :ko=bt: before translation, I see no backtab cap;  # (tvi92B: removed :ko=bt: before translation, I see no backtab cap;
 # also added empty <acsc> to suppress tic warning -- esr)  # also added empty <acsc> to suppress tic warning -- esr)
 tvi92B|televideo model 921 with sysline same as page & real vi function,  tvi92B|televideo model 921 with sysline same as page & real vi function & no beeper,
         am, hs, xenl, xhp,          am, hs, xenl, xhp,
         cols#80, lines#24, xmc#0,          cols#80, lines#24, xmc#0,
         acsc=, clear=^Z, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V, cuf1=^L,          acsc=, clear=^Z, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V, cuf1=^L,
Line 3873 
Line 3554 
         invis@, is2=\El\E"\EF1\E.3\017\EA\E<, kbs=^H, kclr=^Z,          invis@, is2=\El\E"\EF1\E.3\017\EA\E<, kbs=^H, kclr=^Z,
         kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW,          kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW,
         kdl1=\ER$<1*/>, ked=\EY, kel=\ET, kich1=\EQ, kil1=\EE,          kdl1=\ER$<1*/>, ked=\EY, kel=\ET, kich1=\EQ, kil1=\EE,
         nel=^M^J, rmacs=\E%, rmir=, smacs=\E$, smir=, tsl=\Ef\EG0,          nel=^M^J, rmacs=\E%, smacs=\E$, tsl=\Ef\EG0,
         use=adm+sgr,          use=adm+sgr,
 # (tvi92D: removed :ko=bt: before translation, I see no backtab cap -- esr)  # (tvi92D: removed :ko=bt: before translation, I see no backtab cap -- esr)
 tvi92D|tvi92B with DTR instead of XON/XOFF & better padding,  tvi92D|tvi92B with DTR instead of XON/XOFF & better padding,
Line 4158 
Line 3839 
 tvi950|televideo 950,  tvi950|televideo 950,
         am, hs, mir, msgr, xenl, xon,          am, hs, mir, msgr, xenl, xon,
         cols#80, it#8, lines#24, xmc#1,          cols#80, it#8, lines#24, xmc#1,
         acsc=d\rc\014e\nb\011i\013, bel=^G, cbt=\EI, clear=\E*,          acsc=b\011c\014d\re\ni\013, bel=^G, cbt=\EI, clear=\E*,
         cr=^M, cub1=^H, cud1=^J, cuf1=^L,          cr=^M, cub1=^H, cud1=^J, cuf1=^L,
         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,          cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
         dl1=\ER, dsl=\Eg\Ef\r, ed=\Ey, el=\Et, flash=\Eb$<200/>\Ed,          dl1=\ER, dsl=\Eg\Ef\r, ed=\Ey, el=\Et, flash=\Eb$<200/>\Ed,
         fsl=^M, home=^^, ht=^I, hts=\E1, ich1=\EQ, il1=\EE, ind=^J,          fsl=^M, home=^^, ht=^I, hts=\E1, ich1=\EQ, il1=\EE, ind=^J,
         invis@,          invis@,
         is2=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\El\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\011\Ex3\200\200\Ex4\r\200\Ef\r,          is2=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\El\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0\Ef\r,
         kbs=^H, kcbt=\EI, kclr=\E*, kcub1=^H, kcud1=^V, kcuf1=^L,          kbs=^H, kcbt=\EI, kclr=\E*, kcub1=^H, kcud1=^V, kcuf1=^L,
         kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\Ey, kel=\Et, kf0=^A0\r,          kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\Ey, kel=\Et, kf0=^A0\r,
         kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,          kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
Line 4186 
Line 3867 
 #       set local (no send) edit keys (\Ek) when exiting vi  #       set local (no send) edit keys (\Ek) when exiting vi
 #  #
 tvi950-2p|televideo950 w/2 pages,  tvi950-2p|televideo950 w/2 pages,
         is2=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\011\Ex3\200\200\Ex4\r\200\E\\2\E-07 \011,          is2=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0\E\\2\E-07 \011,
         rmcup=\E\\2\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s,          rmcup=\E\\2\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s,
         smkx=\El,          smkx=\El,
         use=tvi950,          use=tvi950,
Line 4201 
Line 3882 
 #                        place cursor at 0,24,1 (\E-07 )  #                        place cursor at 0,24,1 (\E-07 )
 #  #
 tvi950-4p|televideo950 w/4 pages,  tvi950-4p|televideo950 w/4 pages,
         is2=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\011\Ex3\200\200\Ex4\r\200\E\\3\E-07 \011,          is2=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0\E\\3\E-07 \011,
         rmcup=\E\\3\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s,          rmcup=\E\\3\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s,
         smkx=\El,          smkx=\El,
         use=tvi950,          use=tvi950,
Line 4213 
Line 3894 
 #  #
 tvi950-rv|televideo950 rev video,  tvi950-rv|televideo950 rev video,
         flash=\Ed$<200/>\Eb,          flash=\Ed$<200/>\Eb,
         is2=\EDF\EC\Eb\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\El\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\011\Ex3\200\200\Ex4\r\200, use=tvi950,          is2=\EDF\EC\Eb\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\El\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0, use=tvi950,
   
 # tvi950-rv-2p uses the appropriate entries from 950-2p and 950-rv  # tvi950-rv-2p uses the appropriate entries from 950-2p and 950-rv
 tvi950-rv-2p|televideo950 rev video w/2 pages,  tvi950-rv-2p|televideo950 rev video w/2 pages,
         flash=\Ed$<200/>\Eb,          flash=\Ed$<200/>\Eb,
         is2=\EDF\EC\Eb\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\011\Ex3\200\200\Ex4\r\200\E\\2\E-07\s,          is2=\EDF\EC\Eb\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0\E\\2\E-07\s,
         rmcup=\E\\2\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s,          rmcup=\E\\2\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s,
         smkx=\El,          smkx=\El,
         use=tvi950,          use=tvi950,
Line 4226 
Line 3907 
 # tvi950-rv uses the appropriate entries from 950-4p and 950-rv  # tvi950-rv uses the appropriate entries from 950-4p and 950-rv
 tvi950-rv-4p|televideo950 rev video w/4 pages,  tvi950-rv-4p|televideo950 rev video w/4 pages,
         flash=\Ed$<200/>\Eb,          flash=\Ed$<200/>\Eb,
         is2=\EDF\EC\Eb\EG0\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\011\Ex3\200\200\Ex4\r\200\E\\3\E-07\s,          is2=\EDF\EC\Eb\EG0\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0\E\\3\E-07\s,
         rmcup=\E\\3\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s,          rmcup=\E\\3\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s,
         smkx=\El,          smkx=\El,
         use=tvi950,          use=tvi950,
Line 4249 
Line 3930 
         is2=\E[=3l\EF1\Ed\EG0\E[=5l\E%\El, kctab=\E2, khts=\E1,          is2=\E[=3l\EF1\Ed\EG0\E[=5l\E%\El, kctab=\E2, khts=\E1,
         knp=\EK, kpp=\EJ, krmir=\EQ, ktbc=\E3, mc0=\EP, rmacs=\E%,          knp=\EK, kpp=\EJ, krmir=\EQ, ktbc=\E3, mc0=\EP, rmacs=\E%,
         rmam=\E[=7l, rmxon=^N,          rmam=\E[=7l, rmxon=^N,
         rs1=\EDF\EC\Eg\Er\EO\E'\E(\Ew\EX\Ee \017\E0P\E6\200\E0p\E4\200\Ef\r,          rs1=\EDF\EC\Eg\Er\EO\E'\E(\Ew\EX\Ee \017\E0P\E6\0\E0p\E4\0\Ef\r,
         sgr0=\EG0\E[=5l, smacs=\E$, smam=\E[=7h, smxon=^O,          sgr0=\EG0\E[=5l, smacs=\E$, smam=\E[=7h, smxon=^O,
         use=tvi950,          use=tvi950,
 tvi955-w|955-w|televideo955 w/132 cols,  tvi955-w|955-w|televideo955 w/132 cols,
Line 4283 
Line 3964 
         smcup=\E[?20l\E[?7h\E[1Q, smir=\E[4h, smso=\E[7m,          smcup=\E[?20l\E[?7h\E[1Q, smir=\E[4h, smso=\E[7m,
         smul=\E[4m, vpa=\E[%i%p1%dd,          smul=\E[4m, vpa=\E[%i%p1%dd,
 tvi970-vb|televideo 970 with visual bell,  tvi970-vb|televideo 970 with visual bell,
         flash=\E[?5h\200\200\200\200\200\200\200\200\200\200\200\200\200\E[?5l, use=tvi970,          flash=\E[?5h\0\0\0\0\0\0\0\0\0\0\0\0\0\E[?5l, use=tvi970,
 tvi970-2p|televideo 970 with using 2 pages of memory,  tvi970-2p|televideo 970 with using 2 pages of memory,
         rmcup=\E[H\E[J\E[V, smcup=\E[U\E[?20l\E[?7h\E[1Q,          rmcup=\E[H\E[J\E[V, smcup=\E[U\E[?20l\E[?7h\E[1Q,
         use=tvi970,          use=tvi970,
Line 4292 
Line 3973 
 # padding is needed, but adapted from the tvi920c termcap.  The <smso> and  # padding is needed, but adapted from the tvi920c termcap.  The <smso> and
 # <smul> strings are klutzy, but at least use no screen space.  # <smul> strings are klutzy, but at least use no screen space.
 # (tvipt: removed obsolete ":ma=^Kk^Ll^R^L:".  I wish we knew <rmam>,  # (tvipt: removed obsolete ":ma=^Kk^Ll^R^L:".  I wish we knew <rmam>,
 # its absence means <smam>=\Ev isn't save to use. -- esr)  # its absence means <smam>=\Ev isn't safe to use. -- esr)
 # From: Gene Rochlin <armsis@amber.berkeley.edu> 9/19/84.  # From: Gene Rochlin <armsis@amber.berkeley.edu> 9/19/84.
 # The <ed>/<kf0>/<kf1>/<khome>/<mc4>, and <mc5> caps are from BRL, which says:  # The <ed>/<kf0>/<kf1>/<khome>/<mc4>, and <mc5> caps are from BRL, which says:
 # F1 and F2 should be programmed as ^A and ^B; required for UNIFY.  # F1 and F2 should be programmed as ^A and ^B; required for UNIFY.
Line 4310 
Line 3991 
         am, bw, chts, hs, mc5i, mir, msgr, xenl, xon,          am, bw, chts, hs, mc5i, mir, msgr, xenl, xon,
         cols#80, it#8, lh#1, lines#25, lm#0, lw#9, ma#4, nlab#8, vt#0,          cols#80, it#8, lh#1, lines#25, lm#0, lw#9, ma#4, nlab#8, vt#0,
         wnum#0, wsl#30,          wnum#0, wsl#30,
         acsc=0_'rjhkglfmeniopxjqksqtmulvown, bel=^G,          acsc='r0_jhkglfmeniopqksqtmulvownxj, bel=^G,
         blink=\EG2, bold=\EG\,, cbt=\EI, civis=\E.0, clear=^Z,          blink=\EG2, bold=\EG\,, cbt=\EI, civis=\E.0, clear=^Z,
         cnorm=\E.3, cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD,          cnorm=\E.3, cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD,
         cub1=^H, cud=\E[%p1%dB, cud1=^V, cuf=\E[%p1%dC, cuf1=^L,          cub1=^H, cud=\E[%p1%dB, cud1=^V, cuf=\E[%p1%dC, cuf1=^L,
Line 4335 
Line 4016 
         rep=\E[%p2%db%p1%c, rev=\EG4,          rep=\E[%p2%db%p1%c, rev=\EG4,
         rf=/usr/share/tabset/stdcrt, ri=\Ej, rin=\E[%p1%dT,          rf=/usr/share/tabset/stdcrt, ri=\Ej, rin=\E[%p1%dT,
         rmacs=\E%, rmam=\E[=7l, rmcup=\E.3\Er\E[1;25r\E[25;0H,          rmacs=\E%, rmam=\E[=7l, rmcup=\E.3\Er\E[1;25r\E[25;0H,
         rmdc=\200, rmir=\Er, rmln=\E[4;1v, rmso=\EG0, rmul=\EG0,          rmdc=\0, rmir=\Er, rmln=\E[4;1v, rmso=\EG0, rmul=\EG0,
         rmxon=^N, rs1=\EC\EDF\E[0;0v\E[8;1v\E[=65l,          rmxon=^N, rs1=\EC\EDF\E[0;0v\E[8;1v\E[=65l,
         rs2=\E.b\E[10;20v\E[14;1v\E[3;0v\E[7;0v\E[=11.h\E[=12.h\E[=13.h\E[=14.h\E[=15l\E[=20h\E[=60l\E[=61h\E[=9l\E[=10l\E[=21l\E[=23l\E[=3l\E_40\E_50\En\Ew\Ee \Ex0\200\200\Ex1\200\200\Ex2\200\200\Ex3\200\200\Ex4\200\200\E1,          rs2=\E.b\E[10;20v\E[14;1v\E[3;0v\E[7;0v\E[=11.h\E[=12.h\E[=13.h\E[=14.h\E[=15l\E[=20h\E[=60l\E[=61h\E[=9l\E[=10l\E[=21l\E[=23l\E[=3l\E_40\E_50\En\Ew\Ee \Ex0\0\0\Ex1\0\0\Ex2\0\0\Ex3\0\0\Ex4\0\0\E1,
         rs3=\E[=19h\E.3\E9\E0O\200\200\200\200\200\E0o\200\200\200\200\200\E0J\177\200\200\200\200,          rs3=\E[=19h\E.3\E9\E0O\0\0\0\0\0\E0o\0\0\0\0\0\E0J\177\0\0\0\0,
         sgr=\EG0%?%p1%t\EGt%;%?%p2%t\EG8%;%?%p3%t\EG4%;%?%p4%t\EG2%;%?%p5%t\EGp%;%?%p6%t\EG\,%;%?%p7%t\EG1%;%?%p9%t\E$%e\E%%%;,          sgr=\EG0%?%p1%t\EGt%;%?%p2%t\EG8%;%?%p3%t\EG4%;%?%p4%t\EG2%;%?%p5%t\EGp%;%?%p6%t\EG\,%;%?%p7%t\EG1%;%?%p9%t\E$%e\E%%%;,
         sgr0=\EG0, smacs=\E$, smam=\E=7h, smcup=\E.2, smdc=\Er,          sgr0=\EG0, smacs=\E$, smam=\E=7h, smcup=\E.2, smdc=\Er,
         smir=\Eq, smln=\E[4;2v, smso=\EGt, smul=\EG8, smxon=^O,          smir=\Eq, smln=\E[4;2v, smso=\EGt, smul=\EG8, smxon=^O,
Line 4420 
Line 4101 
         kf7=\E?w, kf8=\E?x, kf9=\E?y, khome=\EH, khts=\E1, kich1=\Ei,          kf7=\E?w, kf8=\E?x, kf9=\E?y, khome=\EH, khts=\E1, kich1=\Ei,
         kil1=\EL, krmir=\Ej, mc0=\EH\E], mc4=\EX, mc5=\EW, ri=\EI,          kil1=\EL, krmir=\Ej, mc0=\EH\E], mc4=\EX, mc5=\EW, ri=\EI,
         rmacs=\EG, rmkx=\E>, rmso=\E3,          rmacs=\EG, rmkx=\E>, rmso=\E3,
         rs1=\E3\Eb\Ej\E\\\El\EG\Ec\Ek\EX, sgr0=\E3\Eb,          rs1=\E3\Eb\Ej\E\El\EG\Ec\Ek\EX, sgr0=\E3\Eb, smacs=\EF,
         smacs=\EF, smkx=\E=, smso=\E4, tbc=\Eg,          smkx=\E=, smso=\E4, tbc=\Eg,
 # The older Visuals didn't come with function keys. This entry uses  # The older Visuals didn't come with function keys. This entry uses
 # <smkx> and <rmkx> so that the keypad keys can be used as function keys.  # <smkx> and <rmkx> so that the keypad keys can be used as function keys.
 # If your version of vi doesn't support function keys you may want  # If your version of vi doesn't support function keys you may want
Line 4511 
Line 4192 
 #  #
 # Wyse sales can be reached by phone at 1-800-GET-WYSE.  Tech support is at  # Wyse sales can be reached by phone at 1-800-GET-WYSE.  Tech support is at
 # (800)-800-WYSE (option 5 gets you a human).  There's a Web page at the  # (800)-800-WYSE (option 5 gets you a human).  There's a Web page at the
 # obvious address, http://www.wyse.com.  # obvious address, <http://www.wyse.com>.  They keep terminfo entries at
   # <http://www.wyse.co.uk/support/appnotes/idxappnt.htm>.
 #  #
 # Wyse bought out Link Technology, Inc. in 1990 and closed it down in 1995.  # Wyse bought out Link Technology, Inc. in 1990 and closed it down in 1995.
 # They now own the Qume and Amdek brands, too.  So these are the people to  # They now own the Qume and Amdek brands, too.  So these are the people to
 # talk with about all Link, Qume, and Amdek terminals.  # talk with about all Link, Qume, and Amdek terminals.
 #  #
 # Wyse has a BBS containing termcap and terminfo stuff for their terminals  # These entries include a few small fixes.
 # (though this may not last long -- I expect the Web will kill it off by  
 # mid-1997 or so).  According to their tech support, at 800-800-9973, it's  
 # at 408-922-4400 thru 4405.  The 4400 modem is flaky as of 5/96, so  
 # call 4401 etc.  Come in at 9600 hard; don't use autospeed sense.  
 #  
 # All the following entries until (but not including) wy520 are direct from  
 # Wyse technical support and represent their best knowledge as of January 1995.  
 # I canceled the bel capacities in the vb entries.  # I canceled the bel capacities in the vb entries.
 # I made two trivial syntax fixes in the wyse30 entry.  # I made two trivial syntax fixes in the wyse30 entry.
 # I made some entries relative to adm+sgr.  # I made some entries relative to adm+sgr.
Line 4569 
Line 4244 
         msgr@,          msgr@,
         ma@, xmc#1,          ma@, xmc#1,
         blink=\EG2, dim=\EGp, prot=\EG0\E), rmacs=\EG0\EH\003,          blink=\EG2, dim=\EGp, prot=\EG0\E), rmacs=\EG0\EH\003,
         rmcup=\EG0,          rmcup=\EG0, rmso=\EG0,
         sgr=\EG%'0'%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;,          sgr=\EG%'0'%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;,
         sgr0=\EG0\E(\EH\003, smacs=\EG0\EH\002, smcup=,          sgr0=\EG0\E(\EH\003, smacs=\EG0\EH\002, smcup=,
         use=wy30, use=adm+sgr,          smso=\EG4, use=wy30,
           use=adm+sgr,
 #       The mandatory pause used by <flash> does not work with  #       The mandatory pause used by <flash> does not work with
 #       older versions of terminfo.  If you see this effect then  #       older versions of terminfo.  If you see this effect then
 #       unset xon and delete the / from the delay.  #       unset xon and delete the / from the delay.
Line 4609 
Line 4285 
         pfx=\Ez%p1%'?'%+%c%p2%s\177,          pfx=\Ez%p1%'?'%+%c%p2%s\177,
         pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E`7\E), rev=\E`6\E),          pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E`7\E), rev=\E`6\E),
         ri=\Ej, rmacs=\EH^C, rmir=\Er, rmln=\EA11, rmso=\E(,          ri=\Ej, rmacs=\EH^C, rmir=\Er, rmln=\EA11, rmso=\E(,
         sgr=%?%p1%p3%|%t\E`6\E)\n%e%p5%p8%|%t\E`7\E)%e\E(%;\n%?%p9%t\EH\002%e\EH\003%;,          sgr=%?%p1%p3%|%t\E`6\E)%e%p5%p8%|%t\E`7\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;,
         sgr0=\E(\EH\003, smacs=\EH^B, smir=\Eq, smln=\EA10,          sgr0=\E(\EH\003, smacs=\EH^B, smir=\Eq, smln=\EA10,
         smso=\E`6\E), tbc=\E0, tsl=\EF,          smso=\E`6\E), tbc=\E0, tsl=\EF,
 #  #
Line 4624 
Line 4300 
 wy50-mc|wyse50-mc|wyse 50 with magic cookies,  wy50-mc|wyse50-mc|wyse 50 with magic cookies,
         msgr@,          msgr@,
         ma@, xmc#1,          ma@, xmc#1,
         blink=\EG2, dim=\EGp, prot=\EG0\E), rmacs=\EG0\EH\003,          blink=\EG2, dim=\EGp, prot=\EG0\E), rev=\EG4,
         rmcup=\EG0,          rmacs=\EG0\EH\003, rmcup=\EG0, rmso=\EG0,
         sgr=\EG%'0'%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;,          sgr=\EG%'0'%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;,
         sgr0=\EG0\E(\EH\003, smacs=\EG0\EH\002, smcup=,          sgr0=\EG0\E(\EH\003, smacs=\EG0\EH\002, smcup=,
         smso=\EGt, use=wy50,          smso=\EGt, use=wy50,
Line 4683 
Line 4359 
         pfx=\Ez%p1%'?'%+%c%p2%s\177,          pfx=\Ez%p1%'?'%+%c%p2%s\177,
         pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\EG0\E), ri=\Ej,          pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\EG0\E), ri=\Ej,
         rmacs=\EG0\EH\003, rmir=\Er, rmln=\EA11, setb=,          rmacs=\EG0\EH\003, rmir=\Er, rmln=\EA11, setb=,
         setf=%?%p1%{0}%=%t%{76}\n%e%p1%{1}%=%t%{64}\n%e%p1%{2}%=%t%{8}\n%e%p1%{3}%=%t%{72}\n%e%p1%{4}%=%t%{4}\n%e%p1%{5}%=%t%{68}\n%e%p1%{6}%=%t%{12}\n%e%p1%{7}%=%t%{0}\n%;%PC\n\EG%gC%gA%+%'0'%+%c,          setf=%?%p1%{0}%=%t%{76}%e%p1%{1}%=%t%{64}%e%p1%{2}%=%t%{8}%e%p1%{3}%=%t%{72}%e%p1%{4}%=%t%{4}%e%p1%{5}%=%t%{68}%e%p1%{6}%=%t%{12}%e%p1%{7}%=%t%{0}%;%PC\EG%gC%gA%+%'0'%+%c,
         sgr=%{0}%?%p4%t%{2}%|%;\n%?%p7%t%{1}%|%;%PA\n\EG%?%gC%t%gC%e\n%{0}%?%p1%t%{4}%|%;\n%?%p2%t%{8}%|%;\n%?%p3%t%{4}%|%;\n%?%p5%t%{64}%|%;\n%;%gA%+%'0'%+%c\n%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;,          sgr=%{0}%?%p4%t%{2}%|%;%?%p7%t%{1}%|%;%PA\EG%?%gC%t%gC%e%{0}%?%p1%t%{4}%|%;%?%p2%t%{8}%|%;%?%p3%t%{4}%|%;%?%p5%t%{64}%|%;%;%gA%+%'0'%+%c%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;,
         sgr0=\EG0\E(\EH\003%{0}%PA%{0}%PC, smacs=\EG0\EH\002,          sgr0=\EG0\E(\EH\003%{0}%PA%{0}%PC, smacs=\EG0\EH\002,
         smir=\Eq, smln=\EA10, tbc=\E0, tsl=\EF,          smir=\Eq, smln=\EA10, tbc=\E0, tsl=\EF,
         use=adm+sgr,          use=adm+sgr,
Line 4721 
Line 4397 
 wy120|wyse120|wy150|wyse150|Wyse 120/150,  wy120|wyse120|wy150|wyse150|Wyse 120/150,
         am, bw, hs, km, mc5i, mir, msgr, xon,          am, bw, hs, km, mc5i, mir, msgr, xon,
         cols#80, it#8, lh#1, lines#24, lw#8, nlab#8, pb#9601, wsl#45,          cols#80, it#8, lh#1, lines#24, lw#8, nlab#8, pb#9601, wsl#45,
         acsc=+/\\\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~,          acsc=+/\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~,
         bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<50>,          bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<50>,
         cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L,          cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<7>,          cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<7>,
Line 4745 
Line 4421 
         rs3=\EwG\Ee($<100>,          rs3=\EwG\Ee($<100>,
         sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%'0'%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c,          sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%'0'%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c,
         sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/,          sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/,
         smcup=\Ew0, smir=\Eq, smln=\EA10, smso=\EGt,          smcup=\Ew0, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21,
         smxon=\Ec21\ntbc=\E0, tsl=\EF, use=adm+sgr,          tbc=\E0, tsl=\EF,
           use=adm+sgr,
 #  #
 wy120-w|wyse120-w|wy150-w|wyse150-w|wyse 120/150 132-column,  wy120-w|wyse120-w|wy150-w|wyse150-w|wyse 120/150 132-column,
         cols#132, lw#7, nlab#16, wsl#97,          cols#132, lw#7, nlab#16, wsl#97,
Line 4802 
Line 4479 
 wy60|wyse60|Wyse 60,  wy60|wyse60|Wyse 60,
         am, bw, hs, km, mc5i, mir, msgr,          am, bw, hs, km, mc5i, mir, msgr,
         cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#45,          cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#45,
         acsc=+/\\\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~,          acsc=+/\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~,
         bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<100>,          bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<100>,
         cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L,          cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,          cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
Line 4937 
Line 4614 
 wy160|wyse160|Wyse 160,  wy160|wyse160|Wyse 160,
         am, bw, hs, km, mc5i, mir, msgr,          am, bw, hs, km, mc5i, mir, msgr,
         cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#38,          cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#38,
         acsc=+/\\\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~,          acsc=+/\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~,
         bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<30>,          bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<30>,
         cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L,          cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<5>,          cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<5>,
Line 5023 
Line 4700 
         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,          cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
         cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP$<3*>,          cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP$<3*>,
         dch1=\E[P$<3>, dim=\E[0t\E[2m, dl=\E[%p1%dM$<1*>,          dch1=\E[P$<3>, dim=\E[0t\E[2m, dl=\E[%p1%dM$<1*>,
         dl1=\E[M, dsl=\E[>\\\,\001\001\E[>-\001\001,          dl1=\E[M, dsl=\E[>\,\001\001\E[>-\001\001,
         ech=\E[%p1%dX, ed=\E[J$<30>, el=\E[K$<3>, el1=\E[1K$<3>,          ech=\E[%p1%dX, ed=\E[J$<30>, el=\E[K$<3>, el1=\E[1K$<3>,
         enacs=\E)0, flash=\E[30h\E\\\,\E[30l$<250>, fsl=^A,          enacs=\E)0, flash=\E[30h\E\,\E[30l$<250>, fsl=^A,
         home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH,          home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH,
         ich=\E[%p1%d@$<1*>, il=\E[%p1%dL$<2*>, il1=\E[L$<2>,          ich=\E[%p1%d@$<1*>, il=\E[%p1%dL$<2*>, il1=\E[L$<2>,
         ind=\n$<2>, ip=$<1>,          ind=\n$<2>, ip=$<1>,
Line 5047 
Line 4724 
         sgr=%?%p5%t\E[0t%;%?%p3%p1%|%t\E[1t%;%?%p2%t\E[2t%;%?%p4%t\E[3t%;%?%p1%p2%p3%p4%p5%|%|%|%|%t\E[7m%e\E[m%;%?%p9%t\016%e\017%;,          sgr=%?%p5%t\E[0t%;%?%p3%p1%|%t\E[1t%;%?%p2%t\E[2t%;%?%p4%t\E[3t%;%?%p1%p2%p3%p4%p5%|%|%|%|%t\E[7m%e\E[m%;%?%p9%t\016%e\017%;,
         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,          sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
         smkx=\E[?1l\E[?7h\E=, smso=\E[1t\E[7m, smul=\E[2t\E[4m,          smkx=\E[?1l\E[?7h\E=, smso=\E[1t\E[7m, smul=\E[2t\E[4m,
         tbc=\E[3g, tsl=\E[>\\\,\001,          tbc=\E[3g, tsl=\E[>\,\001,
 #  #
 #       This terminal description uses the non-hidden attribute mode  #       This terminal description uses the non-hidden attribute mode
 #       (with magic cookie).  #       (with magic cookie).
Line 5094 
Line 4771 
         dch=\E[%p1%dP$<3*>, dch1=\E[P$<3>, dim=\E[2m,          dch=\E[%p1%dP$<3*>, dch1=\E[P$<3>, dim=\E[2m,
         dl=\E[%p1%dM$<3*>, dl1=\E[M$<3>, dsl=\E[40l,          dl=\E[%p1%dM$<3*>, dl1=\E[M$<3>, dsl=\E[40l,
         ech=\E[%p1%dX, ed=\E[J$<110>, el=\E[K$<1>, el1=\E[1K,          ech=\E[%p1%dX, ed=\E[J$<110>, el=\E[K$<1>, el1=\E[1K,
         enacs=\E)0, flash=\E[30h\E\\\,\E[30l$<300>,          enacs=\E)0, flash=\E[30h\E\,\E[30l$<300>,
         fsl=\E[1;24r\E8, home=\E[H, ht=\011$<1>, hts=\EH,          fsl=\E[1;24r\E8, home=\E[H, ht=\011$<1>, hts=\EH,
         ich=\E[%p1%d@$<4*>, il=\E[%p1%dL$<5*>, il1=\E[L$<5>,          ich=\E[%p1%d@$<4*>, il=\E[%p1%dL$<5*>, il1=\E[L$<5>,
         ind=\n$<3>, invis=\E[8m, ip=$<3>, is1=\E[62;1"p\E[?5W,          ind=\n$<3>, invis=\E[8m, ip=$<3>, is1=\E[62;1"p\E[?5W,
Line 5119 
Line 4796 
 #  #
 #       Wyse 85 with visual bell.  #       Wyse 85 with visual bell.
 wy85-vb|wyse85-vb|wyse 85 with visible bell,  wy85-vb|wyse85-vb|wyse 85 with visible bell,
         bel@, flash=\E[30h\E\\\,\E[30l$<300>, use=wy85,          bel@, flash=\E[30h\E\,\E[30l$<300>, use=wy85,
 #  #
 #       Wyse 85 in 132-column mode.  #       Wyse 85 in 132-column mode.
 wy85-w|wyse85-w|wyse 85 in 132-column mode,  wy85-w|wyse85-w|wyse 85 in 132-column mode,
Line 5154 
Line 4831 
         dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>,          dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>,
         dsl=\E7\E[99;0H\E[K\E8, ech=\E[%p1%dX, ed=\E[J$<40>,          dsl=\E7\E[99;0H\E[K\E8, ech=\E[%p1%dX, ed=\E[J$<40>,
         el=\E[K, el1=\E[1K, enacs=\E)0,          el=\E[K, el1=\E[1K, enacs=\E)0,
         flash=\E[30h\E\\\,\E[30l$<100>, fsl=\E[1;24r\E8,          flash=\E[30h\E\,\E[30l$<100>, fsl=\E[1;24r\E8,
         home=\E[H, hpa=\E[%i%p1%d`, ht=^I, hts=\EH,          home=\E[H, hpa=\E[%i%p1%d`, ht=^I, hts=\EH,
         ich=\E[%p1%d@$<2>, il=\E[%p1%dL$<3*>, il1=\E[L$<3>,          ich=\E[%p1%d@$<2>, il=\E[%p1%dL$<3*>, il1=\E[L$<3>,
         ind=\n$<2>, invis=\E[8m, ip=$<4>, is1=\E[?5W,          ind=\n$<2>, invis=\E[8m, ip=$<4>, is1=\E[?5W,
Line 5207 
Line 4884 
 wy325|wyse325|Wyse epc,  wy325|wyse325|Wyse epc,
         am, bw, hs, mc5i, mir,          am, bw, hs, mc5i, mir,
         cols#80, lh#1, lines#24, lw#8, nlab#8, pb#9601, wsl#45,          cols#80, lh#1, lines#24, lw#8, nlab#8, pb#9601, wsl#45,
         acsc=+/\\\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~,          acsc=+/\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~,
         bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<50>,          bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<50>,
         cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L,          cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<7>,          cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<7>,
Line 5335 
Line 5012 
         dclk=\E[31h, dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>,          dclk=\E[31h, dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>,
         dsl=\E[40l, ech=\E[%p1%dX$<.1*>, ed=\E[J$<40>,          dsl=\E[40l, ech=\E[%p1%dX$<.1*>, ed=\E[J$<40>,
         el=\E[K$<10>, el1=\E[1K$<12>, enacs=\E)0,          el=\E[K$<10>, el1=\E[1K$<12>, enacs=\E)0,
         flash=\E[30h\E\\\,\E[30l$<300>, fsl=\E[1;24r\E8,          flash=\E[30h\E\,\E[30l$<300>, fsl=\E[1;24r\E8,
         home=\E[H, hpa=\E[%i%p1%d`, ht=\011$<1>, hts=\EH,          home=\E[H, hpa=\E[%i%p1%d`, ht=\011$<1>, hts=\EH,
         ich=\E[%p1%d@$<1*>, il=\E[%p1%dL$<2*>, il1=\E[L$<2>,          ich=\E[%p1%d@$<1*>, il=\E[%p1%dL$<2*>, il1=\E[L$<2>,
         ind=\n$<2>,          ind=\n$<2>,
         initc=\E[66;%p1%d;\n%?%p2%{250}%<%t%{0}\n%e%p2%{500}%<%t%{16}\n%e%p2%{750}%<%t%{32}%e%{48}%;\n%?%p3%{250}%<%t%{0}\n%e%p3%{500}%<%t%{4}\n%e%p3%{750}%<%t%{8}%e%{12}%;\n%?%p4%{250}%<%t%{0}\n%e%p4%{500}%<%t%{1}\n%e%p4%{750}%<%t%{2}%e%{3}%;%{1}%+%+%+%dw,          initc=\E[66;%p1%d;%?%p2%{250}%<%t%{0}%e%p2%{500}%<%t%{16}%e%p2%{750}%<%t%{32}%e%{48}%;%?%p3%{250}%<%t%{0}%e%p3%{500}%<%t%{4}%e%p3%{750}%<%t%{8}%e%{12}%;%?%p4%{250}%<%t%{0}%e%p4%{500}%<%t%{1}%e%p4%{750}%<%t%{2}%e%{3}%;%{1}%+%+%+%dw,
         invis=\E[8m, ip=$<1>, is1=\E[90;1"p\E[?5W$<6>,          invis=\E[8m, ip=$<1>, is1=\E[90;1"p\E[?5W$<6>,
         is2=\E[2;4;20;30;40l\E[?1;10;16l\E[12h\E[?7;8;25h,          is2=\E[2;4;20;30;40l\E[?1;10;16l\E[12h\E[?7;8;25h,
         is3=\E>\017\E)0\E(B\E[63;0w\E[m, mc0=\E[0i, mc4=\E[4i,          is3=\E>\017\E)0\E(B\E[63;0w\E[m, mc0=\E[0i, mc4=\E[4i,
         mc5=\E[5i,          mc5=\E[5i,
         oc=\E[60w\E[63;0w\n\E[66;1;4w\n\E[66;2;13w\n\E[66;3;16w\n\E[66;4;49w\n\E[66;5;51w\n\E[66;6;61w\n\E[66;7;64w,          oc=\E[60w\E[63;0w\E[66;1;4w\E[66;2;13w\E[66;3;16w\E[66;4;49w\E[66;5;51w\E[66;6;61w\E[66;7;64w,
         op=\E[m, rc=\E8, rev=\E[7m, ri=\EM$<2>, rmacs=^O,          op=\E[m, rc=\E8, rev=\E[7m, ri=\EM$<2>, rmacs=^O,
         rmam=\E[?7l, rmclk=\E[31l, rmcup=\E[ R, rmir=\E[4l,          rmam=\E[?7l, rmclk=\E[31l, rmcup=\E[ R, rmir=\E[4l,
         rmkx=\E>, rmso=\E[27m, rmul=\E[24m,          rmkx=\E>, rmso=\E[27m, rmul=\E[24m,
Line 5405 
Line 5082 
 #  #
 #       Wyse 370 in 132-column mode with visual bell.  #       Wyse 370 in 132-column mode with visual bell.
 wy370-wvb|Wyse 370 with visible bell 132-columns,  wy370-wvb|Wyse 370 with visible bell 132-columns,
         flash=\E[30h\E\\\,\E[30l$<300>,          flash=\E[30h\E\,\E[30l$<300>,
         use=wy370-w,          use=wy370-w,
 wy370-rv|Wyse 370 reverse video,  wy370-rv|Wyse 370 reverse video,
         rs3=\E[32h\E[?5h, use=wy370,          rs3=\E[32h\E[?5h, use=wy370,
Line 5416 
Line 5093 
         am, os,          am, os,
         cols#74, lines#35,          cols#74, lines#35,
         bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s,          bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s,
         cup=\035%{3040}%{89}%p1%*%-%Py\n%p2%{55}%*%Px\n%gy%{128}%/%{31}%&%{32}%+%c\n%gy%{3}%&%{4}%*%gx%{3}%&%+%{96}%+%c\n%gy%{004}%/%{31}%&%{96}%+%c\n%gx%{128}%/%{31}%&%{32}%+%c\n%gx%{004}%/%{31}%&%{64}%+%c\037,          cup=\035%{3040}%{89}%p1%*%-%Py%p2%{55}%*%Px%gy%{128}%/%{31}%&%{32}%+%c%gy%{3}%&%{4}%*%gx%{3}%&%+%{96}%+%c%gy%{004}%/%{31}%&%{96}%+%c%gx%{128}%/%{31}%&%{32}%+%c%gx%{004}%/%{31}%&%{64}%+%c\037,
         cuu1=^K, ff=^L,          cuu1=^K, ff=^L,
         hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037,          hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037,
         home=^]7`x @\037,          home=^]7`x @\037,
Line 5426 
Line 5103 
 #       Wyse 160 Tektronix 4010/4014 emulator,  #       Wyse 160 Tektronix 4010/4014 emulator,
 #  #
 wy160-tek|Wyse 160 Tektronix 4010/4014 emulator,  wy160-tek|Wyse 160 Tektronix 4010/4014 emulator,
         cup=\035%{3103}%{91}%p1%*%-%Py\n%p2%{55}%*%Px\n%gy%{128}%/%{31}%&%{32}%+%c\n%gy%{3}%&%{4}%*%gx%{3}%&%+%{96}%+%c\n%gy%{004}%/%{31}%&%{96}%+%c\n%gx%{128}%/%{31}%&%{32}%+%c\n%gx%{004}%/%{31}%&%{64}%+%c\037,          cup=\035%{3103}%{91}%p1%*%-%Py%p2%{55}%*%Px%gy%{128}%/%{31}%&%{32}%+%c%gy%{3}%&%{4}%*%gx%{3}%&%+%{96}%+%c%gy%{004}%/%{31}%&%{96}%+%c%gx%{128}%/%{31}%&%{32}%+%c%gx%{004}%/%{31}%&%{64}%+%c\037,
         home=^]8`g @\037,          home=^]8`g @\037,
         use=wy99gt-tek,          use=wy99gt-tek,
 #  #
Line 5436 
Line 5113 
         am, os,          am, os,
         cols#80, lines#36,          cols#80, lines#36,
         bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s,          bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s,
         cup=\035%{775}%{108}%p1%*%{5}%/%-%Py\n%p2%{64}%*%{4}%+%{5}%/%Px\n%gy%{32}%/%{31}%&%{32}%+%c\n%gy%{31}%&%{96}%+%c\n%gx%{32}%/%{31}%&%{32}%+%c\n%gx%{31}%&%{64}%+%c\037,          cup=\035%{775}%{108}%p1%*%{5}%/%-%Py%p2%{64}%*%{4}%+%{5}%/%Px%gy%{32}%/%{31}%&%{32}%+%c%gy%{31}%&%{96}%+%c%gx%{32}%/%{31}%&%{32}%+%c%gx%{31}%&%{64}%+%c\037,
         cuu1=^K, ff=^L,          cuu1=^K, ff=^L,
         hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037,          hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037,
         home=^]8g @\037,          home=^]8g @\037,
Line 5517 
Line 5194 
 #  #
 #       Wyse 520 with visual bell.  #       Wyse 520 with visual bell.
 wy520-vb|wyse520-vb|wyse 520 with visible bell,  wy520-vb|wyse520-vb|wyse 520 with visible bell,
         flash=\E[30h\E\\\,\E[30l$<100>, use=wy520,          flash=\E[30h\E\,\E[30l$<100>, use=wy520,
 #  #
 #       Wyse 520 in 132-column mode.  #       Wyse 520 in 132-column mode.
 wy520-w|wyse520-w|wyse 520 in 132-column mode,  wy520-w|wyse520-w|wyse 520 in 132-column mode,
Line 5528 
Line 5205 
 #  #
 #       Wyse 520 in 132-column mode with visual bell.  #       Wyse 520 in 132-column mode with visual bell.
 wy520-wvb|wyse520-wvb|wyse 520 with visible bell 132-columns,  wy520-wvb|wyse520-wvb|wyse 520 with visible bell 132-columns,
         flash=\E[30h\E\\\,\E[30l$<100>,          flash=\E[30h\E\,\E[30l$<100>,
         use=wy520-w,          use=wy520-w,
 #  #
 #  #
Line 5541 
Line 5218 
 #       - Delete : delete a character (have to change interrupt character  #       - Delete : delete a character (have to change interrupt character
 #                  to CTRL-C: stty intr '^c') for it to work since the  #                  to CTRL-C: stty intr '^c') for it to work since the
 #                  Delete key sends 7FH.  #                  Delete key sends 7FH.
 wy520-epc|wyse520-epc|wyse 520 with EPC kb,  wy520-epc|wyse520-epc|wyse 520 with EPC keyboard,
         kdch1=\177, kel=\E[4~, kend=\E[4~, kf0=\E[21~, kf1=\E[11~,          kdch1=\177, kel=\E[4~, kend=\E[4~, kf0=\E[21~, kf1=\E[11~,
         kf2=\E[12~, kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, khome=\E[H,          kf2=\E[12~, kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, khome=\E[H,
         use=wy520,          use=wy520,
Line 5554 
Line 5231 
 #  #
 #       Wyse 520 with visual bell.  #       Wyse 520 with visual bell.
 wy520-epc-vb|wyse520-pc-vb|wyse 520 with visible bell,  wy520-epc-vb|wyse520-pc-vb|wyse 520 with visible bell,
         flash=\E[30h\E\\\,\E[30l$<100>,          flash=\E[30h\E\,\E[30l$<100>,
         use=wy520-epc,          use=wy520-epc,
 #  #
 #       Wyse 520 in 132-column mode.  #       Wyse 520 in 132-column mode.
 wy520-epc-w|wyse520-epc-w|wyse 520 in 132-column mode,  wy520-epc-w|wyse520-epc-w|wyse 520 in 132-column mode with EPC keyboard,
         cols#132, wsl#132,          cols#132, wsl#132,
         dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>,          dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>,
         ip=$<7>, rs2=\E[35h\E[?3h,          ip=$<7>, rs2=\E[35h\E[?3h,
Line 5566 
Line 5243 
 #  #
 #       Wyse 520 in 132-column mode with visual bell.  #       Wyse 520 in 132-column mode with visual bell.
 wy520-epc-wvb|wyse520-p-wvb|wyse 520 with visible bell 132-columns,  wy520-epc-wvb|wyse520-p-wvb|wyse 520 with visible bell 132-columns,
         flash=\E[30h\E\\\,\E[30l$<100>,          flash=\E[30h\E\,\E[30l$<100>,
         use=wy520-epc-w,          use=wy520-epc-w,
 #  #
 #       Wyse 520 in 80-column, 36 lines  #       Wyse 520 in 80-column, 36 lines
Line 5582 
Line 5259 
         dsl@, fsl@, rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r, tsl@, use=wy520,          dsl@, fsl@, rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r, tsl@, use=wy520,
 #  #
 #       Wyse 520 in 132-column, 36 lines  #       Wyse 520 in 132-column, 36 lines
 wy520-36w|wyse520-36w|wyse 520 with 36 data lines,  wy520-36w|wyse520-36w|wyse 520 with 132 columns and 36 data lines,
         cols#132, wsl#132,          cols#132, wsl#132,
         rs2=\E[?3h,          rs2=\E[?3h,
         rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|, use=wy520-36,          rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|, use=wy520-36,
Line 5595 
Line 5272 
 #  #
 #  #
 #       Wyse 520 in 80-column, 36 lines with EPC keyboard  #       Wyse 520 in 80-column, 36 lines with EPC keyboard
 wy520-36pc|wyse520-36pc|wyse 520 with 36 data lines,  wy520-36pc|wyse520-36pc|wyse 520 with 36 data lines and EPC keyboard,
         hs@,          hs@,
         lines#36,          lines#36,
         dsl@, fsl@, rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r, tsl@, use=wy520-epc,          dsl@, fsl@, rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r, tsl@, use=wy520-epc,
 #  #
 #       Wyse 520 in 80-column, 48 lines with EPC keyboard  #       Wyse 520 in 80-column, 48 lines with EPC keyboard
 wy520-48pc|wyse520-48pc|wyse 520 with 48 data lines,  wy520-48pc|wyse520-48pc|wyse 520 with 48 data lines and EPC keyboard,
         hs@,          hs@,
         lines#48,          lines#48,
         dsl@, fsl@, rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r, tsl@, use=wy520-epc,          dsl@, fsl@, rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r, tsl@, use=wy520-epc,
 #  #
 #       Wyse 520 in 132-column, 36 lines with EPC keyboard  #       Wyse 520 in 132-column, 36 lines with EPC keyboard
 wy520-36wpc|wyse520-36wpc|wyse 520 with 36 data lines,  wy520-36wpc|wyse520-36wpc|wyse 520 with 36 data lines and EPC keyboard,
         cols#132, wsl#132,          cols#132, wsl#132,
         rs2=\E[?3h,          rs2=\E[?3h,
         rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|, use=wy520-36pc,          rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|, use=wy520-36pc,
Line 5621 
Line 5298 
 # From: John Gilmore <hoptoad!gnu@lll-crg.arpa>  # From: John Gilmore <hoptoad!gnu@lll-crg.arpa>
 # (wyse-vp: removed <if=/usr/share/tabset/wyse-adds>, there's no such  # (wyse-vp: removed <if=/usr/share/tabset/wyse-adds>, there's no such
 # file and we don't know what <hts> is -- esr)  # file and we don't know what <hts> is -- esr)
 wyse-vp|wyse|Wyse 50 in ADDS Viewpoint emulation mode with "enhance" on,  wyse-vp|Wyse 50 in ADDS Viewpoint emulation mode with "enhance" on,
         am,          am,
         cols#80, it#8, lines#24,          cols#80, it#8, lines#24,
         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F,          bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F,
Line 5644 
Line 5321 
         cbt=\EI, clear=^Z, cub1=^H, cud1=^J, cuf1=^L,          cbt=\EI, clear=^Z, cub1=^H, cud1=^J, cuf1=^L,
         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,          cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
         dl1=\ER, ed=\EY, el=\ET, home=^^, il1=\EE, invis@,          dl1=\ER, ed=\EY, el=\ET, home=^^, il1=\EE, invis@,
         is2=\E`\:\200\EC\EDF\E0\E'\E(\EA21, kcub1=^H, kcud1=^J,          is2=\E`\:\0\EC\EDF\E0\E'\E(\EA21, kcub1=^H, kcud1=^J,
         kcuf1=^L, kcuu1=^K, ri=\Ej, rmir=\Er, smir=\Eq,          kcuf1=^L, kcuu1=^K, ri=\Ej, rmir=\Er, smir=\Eq,
         use=adm+sgr,          use=adm+sgr,
   
Line 5783 
Line 5460 
         smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m,          smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m,
         smul=\E[4m, tbc=\E[3g, tsl=\E[2$~\E[1$}\E[1;%dH,          smul=\E[4m, tbc=\E[3g, tsl=\E[2$~\E[1$}\E[1;%dH,
   
 ######## NON-ANSI TERMINAL EMULATIONS  
 #  #
   ######## ---------------- TERMINFO FILE CAN BE SPLIT HERE -------------------
 #### Avatar  # This cut mark helps make life less painful for people running ncurses tic
   # on machines with relatively little RAM.  The file can be broken in half here
   # cleanly and compiled in sections -- no `use' references cross this cut
   # going forward.
 #  #
 # These entries attempt to describe Avatar, a terminal emulation used with  
 # MS-DOS bulletin-board systems.  It was designed to give ANSI-like  
 # capabilities, but with cheaper (shorter) control sequences.  Messy design,  
 # excessively dependent on PC idiosyncracies, but apparently rather popular  
 # in the BBS world.  
 #  
 # No color support.  Avatar doesn't fit either of the Tektronix or HP color  
 # models that terminfo knows about.  An Avatar color attribute is the  
 # low 7 bits of the IBM-PC display-memory attribute.  Bletch.  
 #  
 # I wrote these entries while looking at the Avatar spec.  I don't have  
 # the facilities to test them.  Let me know if they work, or don't.  
 #  
 # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995  
 # (The <blink>/<bold>/<rev>/<smacs>/<smul>/<smso> capabilities exist only to  
 # tell ncurses that the corresponding highlights exist; it should use <sgr>,  
 # which is the only method that will actually work for multiple highlights.)  
 avatar0|avatar terminal emulator level 0,  
         am, bce, msgr,  
         cols#80, it#8, lines#25,  
         blink=^A^V\177, bold=^V^A^P, cr=^M, cub1=^V^E, cud1=^V^D,  
         cuf1=^V^F, cup=\026\010%p1%c%p2%c, cuu1=^V^C, el=^V^G,  
         ind=^J, invis=^V^A\200, rep=\031%p1%c%p2%d, rev=^A^Vp,  
         rs2=^L,  
         sgr=\026\001%{0}%?%p1%t%{112}%|%;%?%p2%t%{1}%|%;%?%p3%t%{112}%|%;%?%p4%t{128}%|%;%?%p6%t%{16}%|%;,  
         sgr0=^V^A^G, smacs=, smso=^A^Vp, smul=^V^A,  
         use=klone+acs,  
 # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995  
 avatar0+|avatar terminal emulator level 0+,  
         dch1=^V^N, rmir=\026\n\200\200\200\200, smir=^V^I, use=avatar0,  
 # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995  
 avatar|avatar1|avatar terminal emulator level 1,  
         civis=^V'^B, cnorm=^V'^A, cvvis=^V^C, dl1=^V-, il1=^V+,  
         rmam=^V", rmir=^V^P, smam=^V$,  
         use=avatar0+,  
   
 ######## OLDER TERMINAL TYPES  ######## OLDER TERMINAL TYPES
 #  #
Line 5876 
Line 5520 
 att5410v1|att4410v1|tty5410v1|AT&T 4410/5410 80 columns - version 1,  att5410v1|att4410v1|tty5410v1|AT&T 4410/5410 80 columns - version 1,
         am, hs, mir, msgr, xon,          am, hs, mir, msgr, xon,
         cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80,          cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80,
         acsc=``aaffhhggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~00++--\,\,..,          acsc=++\,\,--..00``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
         bel=^G, blink=\E[5m, bold=\E[2;7m, clear=\E[H\E[J, cr=^M,          bel=^G, blink=\E[5m, bold=\E[2;7m, clear=\E[H\E[J, cr=^M,
         csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C,          csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C,
         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dim=\E[2m,          cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dim=\E[2m,
Line 6243 
Line 5887 
 att510a|bct510a|AT&T 510A Personal Terminal,  att510a|bct510a|AT&T 510A Personal Terminal,
         am, mir, msgr, xenl, xon,          am, mir, msgr, xenl, xon,
         cols#80, lh#2, lines#24, lw#7, nlab#8,          cols#80, lh#2, lines#24, lw#7, nlab#8,
         acsc=hrisjjkkllmmnnqqttuuvvwwxx{{||}}~~-f\,h.e+g`b,          acsc=+g\,h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~,
         bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z,          bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z,
         civis=\E[11;0|, clear=\E[H\E[J, cnorm=\E[11;3|, cr=^M,          civis=\E[11;0|, clear=\E[H\E[J, cnorm=\E[11;3|, cr=^M,
         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[1B,          cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[1B,
Line 6276 
Line 5920 
 att510d|bct510d|AT&T 510D Personal Terminal,  att510d|bct510d|AT&T 510D Personal Terminal,
         am, da, db, mir, msgr, xenl, xon,          am, da, db, mir, msgr, xenl, xon,
         cols#80, lh#2, lines#24, lm#48, lw#7, nlab#8,          cols#80, lh#2, lines#24, lm#48, lw#7, nlab#8,
         acsc=hrisjjkkllmmnnqqttuuvvwwxx{{||}}~~-f\,h.e+g`b,          acsc=+g\,h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~,
         bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z,          bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z,
         clear=\E[H\E[J, cnorm=\E[11;3|, cr=^M, cub=\E[%p1%dD,          clear=\E[H\E[J, cnorm=\E[11;3|, cr=^M, cub=\E[%p1%dD,
         cub1=^H, cud=\E[%p1%dB, cud1=\E[1B, cuf=\E[%p1%dC,          cub1=^H, cud=\E[%p1%dB, cud1=\E[1B, cuf=\E[%p1%dC,
Line 6307 
Line 5951 
 att500|att513|AT&T 513 using page mode,  att500|att513|AT&T 513 using page mode,
         am, chts, mir, msgr, xenl, xon,          am, chts, mir, msgr, xenl, xon,
         cols#80, lh#2, lines#24, lw#8, nlab#8,          cols#80, lh#2, lines#24, lw#8, nlab#8,
         acsc=hrisjjkkllmmnnqqttuuvvwwxx{{||}}~~-f\,h.e+g`b,          acsc=+g\,h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~,
         bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z,          bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z,
         clear=\E[H\E[J, cnorm=\E[11;0|, cr=^M,          clear=\E[H\E[J, cnorm=\E[11;0|, cr=^M,
         csr=%i\E[%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,          csr=%i\E[%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
Line 6469 
Line 6113 
         smir=\E[4h, smln=\E[p, smso=\E[7m, smul=\E[4m,          smir=\E[4h, smln=\E[p, smso=\E[7m, smul=\E[4m,
         tsl=\E7\E[25;%i%p1%dx,          tsl=\E7\E[25;%i%p1%dx,
 att605-pc|ATT 605 in pc term mode,  att605-pc|ATT 605 in pc term mode,
         acsc=k\277l\332m\300j\331n\305w\302q\304u\264t\303v\301x\263,          acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263,
         cbt=\E[Z, cub1=\E[D, cud1=\E[B, cuf1=\E[C, cuu1=\E[A,          cbt=\E[Z, cub1=\E[D, cud1=\E[B, cuf1=\E[C, cuu1=\E[A,
         dch1=\E[P, dl1=\E[M, ich1=\E[@, il=\E[L, il1=\E[L, kcbt=\E[Z,          dch1=\E[P, dl1=\E[M, ich1=\E[@, il=\E[L, il1=\E[L, kcbt=\E[Z,
         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P,          kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P,
Line 6660 
Line 6304 
 att630-24|5630-24|5630DMD-24|630MTG-24|AT&T 630 windowing terminal 24 lines,  att630-24|5630-24|5630DMD-24|630MTG-24|AT&T 630 windowing terminal 24 lines,
         lines#24, use=att630,          lines#24, use=att630,
   
   # This is the att700 entry for 700 native emulation of the AT&T 700
   # terminal.  Comments are relative to changes from the 605V2 entry and
   # att730 on which the entry is based.  Comments show the terminfo
   # capability name, termcap name, and description.
   #
   # Here is what's going onm in the init string:
   #       ESC [ 50;4|     set 700 native mode (really is 605)
   # x     ESC [ 56;ps|    set lines to 24: ps=0; 40: ps=1 (plus status line)
   #       ESC [ 53;0|     set GenFlow to Xon/Xoff
   #       ESC [ 8 ;0|     set CR on NL
   # x     ESC [ ? 3 l/h   set workspace: 80 col(l); 132 col(h)
   #       ESC [ ? 4 l     jump scroll
   #       ESC [ ? 5 l/h   video: normal (l); reverse (h)
   #       ESC [ ?13 l     Labels on
   #       ESC [ ?15 l     parity check = no
   #       ESC [ 13 l      monitor mode off
   #       ESC [ 20 l      LF on NL (not CRLF on NL)
   #       ESC [ ? 7 h     autowrap on
   #       ESC [ 12 h      local echo off
   #       ESC ( B         GO = ASCII
   #       ESC ) 0         G1 = Special Char & Line Drawing
   #       ESC [ ? 31 l    Set 7 bit controls
   #
   # Note: Most terminals, especially the 600 family use Reverse Video for
   # standout mode.  DEC also uses reverse video.  The VT100 uses bold in addition
   # Assume we should stay with reverse video for 70..  However, the 605V2 exits
   # standout mode with \E[m (all normal attributes).  The 730 entry simply
   # exits reverse video which would leave other current attributes intact.  It
   # was assumed the 730 entry to be more correct so rmso has changed.  The
   # 605V2 has no sequences to turn individual attributes off, thus its setting
   # and the rmso/smso settings from the 730.
   #
   # Note: For the same reason as above in rmso I changed exit under-score mode
   # to specifically turn off underscore, rather than return to all normal
   # attributes
   #
   # Note: The following pkey_xmit is taken from the 605V2 which contained the
   # capability as pfxl.  It was changed here to pfx since pfxl
   # will only compile successfully with Unix 4.0 tic.  Also note that pfx only
   # allows strings to be parameters and label values must be programmed as
   # constant strings.  Supposedly the pfxl of Version 4.0 allows both labels
   # and strings to be parameters.  The 605V2 pfx entry should be examined later
   # in this regard. For reference the 730 pfxl entry is shown here for comparison
   # 730 pfx entry:
   #     pfxl=\E[%?%p1%{25}%<%t%p1%e%p1%{24}%-%;%d;%p2%l%02d%?%p1%{25}%<%tq\s\s\s
   # SYS\s\s\s\s\sF%p1%:-2d\s\s%e;0;3q%;%p2%s,
   #
   # (for 4.0 tic)
   #     pfxl=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s,
   #
   # (for <4.0 tic)
   #     pfx=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s,
   #
   # From the AT&T 705 Multi-tasking terminal user's guide Page 8-8,8-9
   #
   # Port1 Interface
   #
   # modular 10 pin Connector
   # Left side       Right side
   # Pin 1 2 3 4 5 6 7 8 9 10
   #
   #        Key (notch) at bottom
   #
   # Pin    1 DSR
   #        3 DCD
   #        4 DTR
   #        5 Sig Ground
   #        6 RD
   #        7 SD
   #        8 CTS
   #        9 RTS
   #        10 Frame Ground
   #
   # The manual is 189 pages and is loaded with details about the escape codes,
   # etc..... Available from AT&T CIC 800-432-6600...
   # ask for Document number 999-300-660..
   #
   att700|AT&T 700 24x80 column display w/102key keyboard,
           am, eslok, hs, mir, msgr, xenl, xon,
           cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80,
           acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
           bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
           clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M,
           csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
           cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
           cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
           cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
           dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
           enacs=\E(B\E)0, flash=\E[?5h$<200>\E[?5l, fln=4\,4,
           fsl=\E8, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
           il=\E[%p1%dL, il1=\E[L, ind=\ED, invis=\E[8m,
           is2=\E[50;4|\E[53;0|\E[8;0|\E[?4;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)0\E[?31l\E[0m\017,
           is3=\E(B\E)0, kLFT=\E[ A, kRIT=\E[ @, kbs=^H, kcbt=\E[Z,
           kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
           kdch1=\E[P, kdl1=\E[M, kend=\E[24;1H, kf1=\EOc, kf10=\ENp,
           kf11=\ENq, kf12=\ENr, kf13=\ENs, kf14=\ENt, kf15=\EOC,
           kf16=\EOD, kf17=\EOE, kf18=\EOF, kf19=\EOG, kf2=\EOd,
           kf20=\EOH, kf21=\EOI, kf22=\EOJ, kf23=\ENO, kf24=\ENP,
           kf25=\ENQ, kf26=\ENR, kf27=\ENS, kf28=\ENT, kf29=\EOq,
           kf3=\EOe, kf30=\EOr, kf31=\EOs, kf32=\EOt, kf33=\EOu,
           kf34=\EOv, kf35=\EOw, kf36=\EOx, kf37=\EOy, kf38=\EOu,
           kf39=\EOv, kf4=\EOf, kf40=\EOl, kf41=\EOq, kf42=\EOr,
           kf43=\EOs, kf44=\EOp, kf45=\EOn, kf46=\EOM, kf5=\EOg,
           kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H,
           kich1=\E[@, kil1=\E[L, knp=\E[U, kpp=\E[V, ll=\E[24H,
           mc0=\E[i, mc4=\E[?4i, mc5=\E[?5i, nel=\EE,
           pfx=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s,
           pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8,
           rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, rmacs=^O,
           rmir=\E[4l, rmln=\E[2p, rmso=\E[27m, rmul=\E[24m,
           rmxon=\E[53;3|, rs1=\Ec\E[?3;5l\E[56;0|, sc=\E7,
           sgr=\E[0%?%p6%t;1%;%?%p5%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
           sgr0=\E[m\017, smacs=^N, smir=\E[4h, smln=\E[p, smso=\E[7m,
           smul=\E[4m, smxon=\E[53;0|, tbc=\E[3g,
           tsl=\E7\E[99;%i%p1%dx,
   
 # This entry was modified 3/13/90 by JWE.  # This entry was modified 3/13/90 by JWE.
 # fixes include additions of <enacs>, correcting <rep>, and modification  # fixes include additions of <enacs>, correcting <rep>, and modification
 # of <kHOM>.  (See comments below)  # of <kHOM>.  (See comments below)
Line 6915 
Line 6675 
         mc4@, mc5@, rc@, rmam@, sc@, smam@, use=att505,          mc4@, mc5@, rc@, rmam@, sc@, smam@, use=att505,
 tt505-22|pt505-22|gs5430-22|AT&T PT505 or 5430 GETSET version 1 22 lines,  tt505-22|pt505-22|gs5430-22|AT&T PT505 or 5430 GETSET version 1 22 lines,
         lines#22, use=att505,          lines#22, use=att505,
 #  
 # -------------------- TERMINFO FILE CAN BE SPLIT HERE -----------------------  
 # This cut mark helps make life less painful for people running ncurses tic  
 # on machines with relatively little RAM.  The file can be broken in half here  
 # cleanly and compiled in sections -- no `use' references cross this cut  
 # going forward.  
 #  
   
 #### Ampex (Dialogue)  #### Ampex (Dialogue)
 #  #
Line 7155 
Line 6908 
         am,          am,
         cols#80, lines#40,          cols#80, lines#40,
         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^_, cuu1=^N,          bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^_, cuu1=^N,
         home=^K, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, ll=^O\200c,          home=^K, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, ll=^O\0c,
         nel=^M^J,          nel=^M^J,
   
 # If you're using the GNU termcap library, add  # If you're using the GNU termcap library, add
Line 7252 
Line 7005 
 aaa-s-ctxt|aaa-30-s-ctxt|ann arbor ambassador/30 lines+status+save context,  aaa-s-ctxt|aaa-30-s-ctxt|ann arbor ambassador/30 lines+status+save context,
         rmcup=\E[60;1;0;30p\E[59;1H\E[K,          rmcup=\E[60;1;0;30p\E[59;1H\E[K,
         smcup=\E[30;1H\E[K\E[30;1;0;30p, use=aaa-30-s,          smcup=\E[30;1H\E[K\E[30;1;0;30p, use=aaa-30-s,
 aaa-s-rv-ctxt|aaa-30-s-rv-ct|ann arbor ambassador/30 lines+status+save context,  aaa-s-rv-ctxt|aaa-30-s-rv-ct|ann arbor ambassador/30 lines+status+save context+reverse video,
         rmcup=\E[60;1;0;30p\E[59;1H\E[K,          rmcup=\E[60;1;0;30p\E[59;1H\E[K,
         smcup=\E[30;1H\E[K\E[30;1;0;30p, use=aaa-30-s-rv,          smcup=\E[30;1H\E[K\E[30;1;0;30p, use=aaa-30-s-rv,
 aaa|aaa-30|ambas|ambassador|ann arbor ambassador/30 lines,  aaa|aaa-30|ambas|ambassador|ann arbor ambassador/30 lines,
Line 7386 
Line 7139 
 #       Hauppauge, NY 11788-3762  #       Hauppauge, NY 11788-3762
 #       Vox: (800)-231-5445  #       Vox: (800)-231-5445
 #       Fax: (516)-342-7378  #       Fax: (516)-342-7378
   #       Web: http://boundless.com
 #  #
 # Their voice mail used to describe the place as "SunRiver (formerly ADDS)".  # Their voice mail used to describe the place as "SunRiver (formerly ADDS)".
 # In 1995 Boundless acquired DEC's terminals business.  # In 1995 Boundless acquired DEC's terminals business.
Line 7528 
Line 7282 
 # The following termcap entry was created from the Callan cd100 entry.  The  # The following termcap entry was created from the Callan cd100 entry.  The
 # last two lines (with the capabilities in caps) are used by RM-cobol to allow  # last two lines (with the capabilities in caps) are used by RM-cobol to allow
 # full selection of combinations of reverse video, underline, and blink.  # full selection of combinations of reverse video, underline, and blink.
 # (cit101e: emoved unknown :f0=\EOp:f1=\EOq:f2=\EOr:f3=\EOs:f4=\EOt:f5=\EOu:\  # (cit101e: removed unknown :f0=\EOp:f1=\EOq:f2=\EOr:f3=\EOs:f4=\EOt:f5=\EOu:\
 # f6=\EOv:f7=\EOw:f8=\EOx:f9=\EOy:AB=\E[0;5m:AL=\E[m:AR=\E[0;7m:AS=\E[0;5;7m:\  # f6=\EOv:f7=\EOw:f8=\EOx:f9=\EOy:AB=\E[0;5m:AL=\E[m:AR=\E[0;7m:AS=\E[0;5;7m:\
 # :NB=\E[0;1;5m:NM=\E[0;1m:NR=\E[0;1;7m:NS=\E[0;1;5;7m: -- esr)  # :NB=\E[0;1;5m:NM=\E[0;1m:NR=\E[0;1;7m:NS=\E[0;1;5;7m: -- esr)
 cit101e|C. Itoh CIT-101e,  cit101e|C. Itoh CIT-101e,
Line 7543 
Line 7297 
         kf7=\EOM, kf8=\EOn, rc=\E8, ri=\EM, rmacs=^O, rmir=\E[4l,          kf7=\EOM, kf8=\EOn, rc=\E8, ri=\EM, rmacs=^O, rmir=\E[4l,
         rmkx=\E>, rmso=\E[m, rmul=\E[m, sc=\E7, smacs=^N, smir=\E[4h,          rmkx=\E>, rmso=\E[m, rmul=\E[m, sc=\E7, smacs=^N, smir=\E[4h,
         smkx=\E=, smso=\E[7m, smul=\E[4m,          smkx=\E=, smso=\E[7m, smul=\E[4m,
   # From: David S. Lawyer, June 1997:
   # The CIT 101-e was made in Japan in 1983-4 and imported by CIE
   # Terminals in Irvine, CA.  It was part of CITOH Electronics.  In the
   # late 1980's CIT Terminals went out of business.
   # There is no need to use the initialization string is=... (by invoking
   # tset or setterm etc.) provided that the terminal has been manually set
   # up (and the setup saved with ^S) to be compatible with this termcap.  To be
   # compatible it should be in ANSI mode (not VT52).   A set-up that
   # works is to set all the manually setable stuff to factory defaults
   # by pressing ^D in set-up mode.  Then increse the brighness with the
   # up-arrow key since the factory default will likely be dim on an old
   # terminal.  Then change any options you want (provided that they are
   # compatible with the termcap).  For my terminal I set: Screen
   # Background: light; Keyclicks: silent; Auto wraparound: on; CRT saver:
   # on.  I also set up mine for parity (but you may not need it).  Then
   # save the setup with ^S.
   # (cit101e-rv: added empty <rmcup> to suppress a tic warning. --esr)
   cit101e-rv|Citoh CIT-101e (sets reverse video),
           am, eo, mir, msgr, xenl, xon,
           cols#80, it#8, lines#24,
           bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[1v,
           clear=\E[H\E[J, cnorm=\E[0;3;4v, cr=^M,
           csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
           cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
           cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
           cvvis=\E[3;5v, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
           dl1=\E[M, ed=\E[J, el=\E[K, flash=\E[?5l\E[?5h$<200/>,
           home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
           ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS,
           is2=\E<\E>\E[?1l\E[?3l\E[?4l\E[?5h\E[?7h\E[?8h\E[3g\E[>5g\E(B\E[m\E[20l\E[1;24r\E[24;1H,
           kbs=\177, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
           kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, nel=\EE, rc=\E8,
           rev=\E[7m, ri=\EM, rin=\E[%p1%dT, rmcup=, rmir=\E[4l,
           rmso=\E[m, rmul=\E[m, rs1=\Ec\E[?7h\E[>5g, sc=\E7,
           sgr0=\E[m, smcup=\E[>5g\E[?7h\E[?5h, smir=\E[4h,
           smso=\E[7m, smul=\E[4m, tbc=\E[3g, u6=\E[%i%p1%d;%p2%dR,
           u7=\E[6n, u8=\E[?6c, u9=\E[c,
 cit101e-n|CIT-101e w/o am,  cit101e-n|CIT-101e w/o am,
         am@,          am@,
         cvvis=\E[?1l\E[?4l\E[?7l, kbs=^H, kcub1=^H, kcud1=^J, use=cit101e,          cvvis=\E[?1l\E[?4l\E[?7l, kbs=^H, kcub1=^H, kcud1=^J, use=cit101e,
 cit101e-132|CIT-101e, 132 cols,  cit101e-132|CIT-101e with 132 cols,
         cols#132,          cols#132,
         kbs=^H, kcub1=^H, kcud1=^J, use=cit101e,          kbs=^H, kcub1=^H, kcud1=^J, use=cit101e,
 cit101e-n132|CIT-101e, 132 cols w/o am,  cit101e-n132|CIT-101e with 132 cols w/o am,
         am@,          am@,
         cols#132,          cols#132,
         cvvis=\E[?1l\E[?4l\E[?7l, kbs=^H, kcub1=^H, kcud1=^J, use=cit101e,          cvvis=\E[?1l\E[?4l\E[?7l, kbs=^H, kcub1=^H, kcud1=^J, use=cit101e,
Line 7681 
Line 7472 
         cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c, cuu1=^W,          cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c, cuu1=^W,
         dch1=^^N, dim=^\, dl1=^^Q, ed=^^P, el=^K, home=^Y, hts=^^^RW,          dch1=^^N, dim=^\, dl1=^^Q, ed=^^P, el=^K, home=^Y, hts=^^^RW,
         ich1=^^O, il1=^^R, ind=\036W =\036U, invis=^^^R[,          ich1=^^O, il1=^^R, ind=\036W =\036U, invis=^^^R[,
         is2=\036\022B\003\036\035\017\022\025\035\036E\036\022H\036\022J\036\022L\036\022N\036\022P\036\022Q\036\022\\\036\022\^\036\022b\036\022i\036W =\036\022Z\036\011C1-` `!k/o,          is2=\036\022B\003\036\035\017\022\025\035\036E\036\022H\036\022J\036\022L\036\022N\036\022P\036\022Q\036\022\036\022\^\036\022b\036\022i\036W =\036\022Z\036\011C1-` `!k/o,
         kbs=^H, kcub1=^H, kcud1=^Z, kcuf1=^X, kcuu1=^W, kf0=^^q,          kbs=^H, kcub1=^H, kcud1=^Z, kcuf1=^X, kcuu1=^W, kf0=^^q,
         kf1=^^r, kf2=^^s, kf3=^^t, kf4=^^u, kf5=^^v, kf6=^^w, kf7=^^x,          kf1=^^r, kf2=^^s, kf3=^^t, kf4=^^u, kf5=^^v, kf6=^^w, kf7=^^x,
         kf8=^^y, kf9=^^z, khome=^Y, ll=^B =, rev=^^D,          kf8=^^y, kf9=^^z, khome=^Y, ll=^B =, rev=^^D,
Line 7714 
Line 7505 
 visa50|geveke visa 50 terminal in ansi 80 character mode,  visa50|geveke visa 50 terminal in ansi 80 character mode,
         bw, mir, msgr,          bw, mir, msgr,
         cols#80, lines#25,          cols#80, lines#25,
         acsc=0_aaffggjjkkllmmnnqqttuuvvwwxxh ooss, bel=^G,          acsc=0_aaffggh jjkkllmmnnooqqssttuuvvwwxx, bel=^G,
         blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[2J, cr=^M,          blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[2J, cr=^M,
         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D,          csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D,
         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,          cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
Line 7792 
Line 7583 
 c108-4p|concept108-4p|concept 108 w/4 pages,  c108-4p|concept108-4p|concept 108 w/4 pages,
         eslok, hs, xon,          eslok, hs, xon,
         pb@,          pb@,
         acsc=l\\qLkTxUmMjE, cnorm=\Ew, cr=^M,          acsc=jEkTl\\mMqLxU, cnorm=\Ew, cr=^M,
         cup=\Ea%p1%?%p1%{95}%>%t\001%{96}%-%;%{32}%+%c%p2%?%p2%{95}%>%t\001%{96}%-%;%{32}%+%c,          cup=\Ea%p1%?%p1%{95}%>%t\001%{96}%-%;%{32}%+%c%p2%?%p2%{95}%>%t\001%{96}%-%;%{32}%+%c,
         cvvis=\EW, dch1=\E 1$<16*>, dsl=\E ;\177, fsl=\Ee\E z\s,          cvvis=\EW, dch1=\E 1$<16*>, dsl=\E ;\177, fsl=\Ee\E z\s,
         ind=^J, is1=\EK\E!\E F,          ind=^J, is1=\EK\E!\E F,
Line 7859 
Line 7650 
         ed=\E\005$<16*>, el=\E\025$<16>, flash=\Ek$<200>\EK,          ed=\E\005$<16*>, el=\E\025$<16>, flash=\Ek$<200>\EK,
         ht=\011$<8>, il1=\E\022$<3*>, ind=^J, invis=\EH, ip=$<16*>,          ht=\011$<8>, il1=\E\022$<3*>, ind=^J, invis=\EH, ip=$<16*>,
         is1=\EK,          is1=\EK,
         is2=\EU\Ef\E7\E5\E8\El\ENH\E\200\Eo&\200\Eo'\E\Eo!\200\E\007!\E\010A@ \E4#\:"\E\:a\E4#;"\E\:b\E4#<"\E\:c,          is2=\EU\Ef\E7\E5\E8\El\ENH\E\0\Eo&\0\Eo'\E\Eo!\0\E\007!\E\010A@ \E4#\:"\E\:a\E4#;"\E\:b\E4#<"\E\:c,
         is3=\Ev    $<6>\Ep\n, kbs=^H, kcbt=\E', kctab=\E_,          is3=\Ev    $<6>\Ep\n, kbs=^H, kcbt=\E', kctab=\E_,
         kcub1=\E>, kcud1=\E<, kcuf1=\E=, kcuu1=\E;, kdch1=\E^Q,          kcub1=\E>, kcud1=\E<, kcuf1=\E=, kcuu1=\E;, kdch1=\E^Q,
         kdl1=\E^B, ked=\E^C, kel=\E^S, kf1=\E5, kf2=\E6, kf3=\E7,          kdl1=\E^B, ked=\E^C, kel=\E^S, kf1=\E5, kf2=\E6, kf3=\E7,
         kf4=\E8, kf5=\E9, kf6=\E\:a, kf7=\E\:b, kf8=\E\:c, khome=\E?,          kf4=\E8, kf5=\E9, kf6=\E\:a, kf7=\E\:b, kf8=\E\:c, khome=\E?,
         khts=\E], kich1=\E^P, kil1=\E^R, kind=\E[, knp=\E-, kpp=\E.,          khts=\E], kich1=\E^P, kil1=\E^R, kind=\E[, knp=\E-, kpp=\E.,
         kri=\E\\, krmir=\E\200, mc4=\036o \E\EQ!\EYP\027,          kri=\E\\, krmir=\E\0, mc4=\036o \E\EQ!\EYP\027,
         mc5=\EQ"\EY(\027\EYD\Eo \036, prot=\EI,          mc5=\EQ"\EY(\027\EYD\Eo \036, prot=\EI,
         rep=\Er%p1%c%p2%{32}%+%c$<.2*>, rev=\ED,          rep=\Er%p1%c%p2%{32}%+%c$<.2*>, rev=\ED,
         rmcup=\Ev    $<6>\Ep\r\n, rmir=\E\s\s, rmkx=\Ex,          rmcup=\Ev    $<6>\Ep\r\n, rmir=\E\s\s, rmkx=\Ex,
Line 7880 
Line 7671 
         in,          in,
         is3@, use=c100,          is3@, use=c100,
   
   # From: Walter Skorski <walt@genetics1.JMP.TJU.EDU>, 16-oct-1996.
   # Lots of notes, originally inline, but ncurses doesn't grok that.
   #
   # am:   not available in power on mode, but turned on with \E[=107;207h in
   #       is2=.  Also, \E=124l in is2= could have been used to prevent needing
   #       to specify xenl:, but that would have rendered the last space on the
   #       last line useless.
   # bw:   Not available in power on mode, but turned on with \E[=107;207h in
   #       is2=.
   # clear: Could be done with \E[2J alone, except that vi (and probably most
   #       other programs) assume that this also homes the cursor.
   # dsl:  Go to window 2, go to the beginning of the line, use a line feed to
   #       scroll the window, and go back to window 1.
   # is2:  the string may cause a warning to be issued by tic that it
   #       found a very long line and that it suspects that a comma is missing
   #       somewhere.  This warning can be ignored (unless it comes up more than
   #       once).  The initialization string contains the following commands:
   #
   #        [Setup mode items changed from factory defaults:]
   #               \E)0                    set alternate character set to
   #                                               graphics
   #               ^O                      set character set to default
   #        [In case it wasn't]
   #               \E[m                    turn off all attributes
   #        [In case they weren't off]
   #               \E[=107;                cursor wrap and
   #                       207h                    character wrap on
   #               \E[90;3u                set Fkey definitions to "transmit"
   #                                               defaults
   #               \E[92;3u                set cursor key definitions to
   #                                               "transmit" defaults
   #               \E[43;1u                set shift F13 to transmit...
   #               \177\E$P\177
   #               \E[44;1u                set shift F14 to transmit...
   #                       \177\E$Q\177
   #               \E[45;1u                set shift F15 to transmit...
   #                       \177\E$R\177
   #               \E[46;1u                set shift F16 to transmit...
   #                       \177\E$S\177
   #               \E[200;1u               set shift up to transmit...
   #                       \177\E$A\177
   #               \E[201;1u               set shift down to transmit...
   #                       \177\E$B\177
   #               \E[202;1u               set shift right to transmit...
   #                       \177\E$C\177
   #               \E[203;1u               set shift left to transmit...
   #                       \177\E$D\177
   #               \E[204;1u               set shift home to transmit...
   #                       \177\E$H\177
   #               \E[212;1u               set backtab to transmit...
   #                       \177\E$I\177
   #               \E[213;1u               set shift backspace to transmit...
   #                       \177\E$^H\177
   #               \E[214;1u               set shift del to transmit...
   #                       "\E$\177"
   #        [Necessary items not mentioned in setup mode:]
   #               \E[2!w                  move to window 2
   #               \E[25;25w               define window as line 25 of memory
   #               \E[!w                   move to window 1
   #               \E[2*w                  show current line of window 2 as
   #                                               status line
   #               \E[2+x                  set meta key to use high bit
   #               \E[;3+}                 move underline to bottom of character
   #
   #       All Fkeys are set to their default transmit definitions with \E[90;3u
   #       in is2=.  IMPORTANT:  to use this terminal definition, the "quit" stty
   #       setting MUST be redefined or deactivated, because the default is
   #       contained in almost all of this terminal's Fkey strings!  If for some
   #       reason "quit" cannot be altered, the Fkeys can, but it would be
   #       necessary to change ^| to ^] in all of these definitions, and add
   #       \E[2;029!t to is2.
   # lines: is set to 24 because this terminal refuses to treat the 25th
   #       line normally.
   # ll:   Not available in power on mode, but turned on with \E[=107;207h in
   #       is2=.
   # lm:   Pointless, given that this definition locks a single screen of
   #       memory into view, but what the hey...
   # rmso: Could use \E[1;7!{ to turn off only bold and reverse (leaving any
   #       other attributes alone), but some programs expect this to turn off
   #       everything.
   # rmul: Could use \E[4!{ to turn off only underline (leaving any other
   #       attributes alone), but some programs expect this to turn off
   #       everything.
   # sgr:  Attributes are set on this terminal with the string \E[ followed by
   #       a list of attribute code numbers (in decimal, separated by
   #       semicolons), followed by the character m.  The attribute code
   #       numbers are:
   #                 1 for bold;
   #                 2 for dim (which is ignored in power on mode);
   #                 4 for underline;
   #                 5 for blinking;
   #                 7 for inverse;
   #                 8 for not displayable; and
   #               =99 for protected (except that there are strange side
   #               effects to protected characters which make them inadvisable).
   #        The mapping of terminfo parameters to attributes is as follows:
   #               %p1 (standout) = bold and inverse together;
   #               %p2 (underline) = underline;
   #               %p3 (reverse) = inverse;
   #               %p4 (blink) = blinking;
   #               %p5 (dim) is ignored;
   #               %p6 (bold) = bold;
   #               %p7 (invisible) = not displayable;
   #               %p8 (protected) is ignored; and
   #               %p9 (alt char set) = alt char set.
   #        The code to do this is:
   #               \E[0            OUTPUT  \E[0
   #               %?%p1%p6%O      IF      (standout; bold) OR
   #               %t;1            THEN    OUTPUT  ;1
   #               %;              ENDIF
   #               %?%p2           IF      underline
   #               %t;4            THEN    OUTPUT  ;4
   #               %;              ENDIF
   #               %?%p4           IF      blink
   #               %t;5            THEN    OUTPUT  ;5
   #               %;              ENDIF
   #               %?%p1%p3%O      IF      (standout; reverse) OR
   #               %t;7            THEN    OUTPUT  ;7
   #               %;              ENDIF
   #               %?%p7           IF      invisible
   #               %t;8            THEN    OUTPUT  ;8
   #               %;              ENDIF
   #               m               OUTPUT  m
   #               %?%p9           IF      altcharset
   #               %t^N            THEN    OUTPUT  ^N
   #               %e^O            ELSE    OUTPUT  ^O
   #               %;              ENDIF
   # sgr0: Everything is turned off (including alternate character set), since
   #       there is no way of knowing what it is that the program wants turned
   #       off.
   # smul: The "underline" attribute is reconfigurable to an overline or
   #       strikethru, or (as done with \E[;3+} in is2=), to a line at the true
   #       bottom of the character cell.  This was done to allow for more readable
   #       underlined characters, and to be able to distinguish between an
   #       underlined space, an underscore, and an underlined underscore.
   # xenl: Terminal can be configured to not need this, but this "glitch"
   #       behavior is actually preferable with autowrap terminals.
   #
   # Parameters kf31= thru kf53= actually contain the strings sent by the shifted
   # Fkeys.  There are no parameters for shifted Fkeys in terminfo.  The is2
   # string modifies the 'O' in kf43 to kf46 to a '$'.
   #
   # kcbt was originally ^I but redefined in is2=.
   # kHOM was \E[H originally but redefined in is2=, as were a number of
   # other keys.
   # kDC was originally \177 but redefined in is2=.
   #
   # kbs:  Shift was also ^H originally but redefined as \E$^H in is2=.
   # tsl:  Go to window 2, then do an hpa=.
   #
   #------- flash=\E[8;3!}^G\E[3;3!}
   #------- flash=\E[?5h$<100>\E[?5l
   # There are two ways to flash the screen, both of which have their drawbacks.
   # The first is to set the bell mode to video, transmit a bell character, and
   # set the bell mode back - but to what?  There is no way of knowing what the
   # user's old bell setting was before we messed with it.  Worse, the command to
   # set the bell mode also sets the key click volume, and there is no way to say
   # "leave that alone", or to know what it's set to, either.
   # The second way to do a flash is to set the screen to inverse video, pad for a
   # tenth of a second, and set it back - but like before, there's no way to know
   # that the screen wasn't ALREADY in inverse video, or that the user may prefer
   # it that way.  The point is moot anyway, since vi (and probably other
   # programs) assume that by defining flash=, you want the computer to use it
   # INSTEAD of bel=, rather than as a secondary type of signal.
   #
   #------- cvvis=\E[+{
   # The is the power on setting, which is also as visible as the cursor
   # gets.
   #-------  wind=\E[%i%p1%d;%p2%d;%p3%{1}%+%d;%p4%{1}%+%dw
   # Windowing is possible, but not defined here because it is also used to
   # emulate status line functions.  Allowing a program to set a window could
   # clobber the status line or render it unusable.  There is additional memory,
   # but screen scroll functions are destructive and do not make use of it.
   #
   #-------   dim=                 Not available in power on mode.
   # You have a choice of defining low intensity characters as "half bright" and
   # high intensity as "normal", or defining low as "normal" and high as "bold".
   # No matter which you choose, only one of either "half bright" or "bold" is
   # available at any time, so taking the time to override the default is
   # pointless.
   #
   #-------  prot=\E[=0;99m
   # Not defined, because it appears to have some strange side effects.
   #------- pfkey=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%du\177%p2%s\177%;
   #------- pfloc=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%du\177%p2%s\177%;
   #-------   pfx=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%d;1u\177%p2%s\177%;
   #        Available, but making them available to programs is inadvisable.
   #        The code to do this is:
   #               %?%p1%{24}%<    IF      ((key; 24) <;
   #               %p1%{30}%>               ((key; 30) >;
   #               %p1%{54}%<                (key; 54) <
   #               %A                       ) AND
   #               %O                      ) OR
   #        [that is, "IF key < 24 OR (key > 30 AND key < 54)",]
   #               %t\E[           THEN    OUTPUT  \E[
   #               %p1%d                   OUTPUT  (key) as decimal
   #        [next line applies to pfx only]
   #               ;1                      OUTPUT  ;1
   #               u                       OUTPUT  u
   #               \177                    OUTPUT  \177
   #               %p2%s                   OUTPUT  (string) as string
   #               \177                    OUTPUT  \177
   #        [DEL chosen as delimiter, but could be any character]
   #        [implied:              ELSE    do nothing]
   #               %;              ENDIF
   #
   #-------   rs2=
   # Not defined since anything it might do could be done faster and easier with
   # either Meta-Shift-Reset or the main power switch.
   #
   #-------  smkx=\E[1!z
   #-------  rmkx=\E[!z
   # These sequences apply to the cursor and setup keys only, not to the
   # numeric keypad.  But it doesn't matter anyway, since making these
   # available to programs is inadvisable.
   # For the key definitions below, all sequences beginning with \E$ are
   # custom and programmed into the terminal via is2.  \E$ also has no
   # meaning to any other terminal.
   #
   #------- cmdch=\E[;%p1%d!t
   # Available, but making it available to programs is inadvisable.
   #------- smxon=\E[1*q
   # Available, but making it available to programs is inadvisable.
   # Terminal will send XON/XOFF on buffer overflow.
   #------- rmxon=\E[*q
   # Available, but making it available to programs is inadvisable.
   # Terminal will not notify on buffer overflow.
   #-------   smm=\E[2+x
   #-------   rmm=\E[+x
   # Available, but making them available to programs is inadvisable.
   #
   # Printing:
   #        It's not made clear in the manuals, but based on other ansi/vt type
   #        terminals, it's a good guess that this terminal is capable of both
   #        "transparent print" (which doesn't copy data to the screen, and
   #        therefore needs mc5i: specified to say so) and "auxilliary print"
   #        (which does duplicate printed data on the screen, in which case mc4=
   #        and mc5= should use the \E[?4i and \E[?5i strings instead).
   #
   # (esr: I have commented out is2 in order to avoid overflowing termcap's
   # 1024-byte limit.)
   
   hds200|Human Designed Systems HDS200,
           am, bw, eslok, hs, km, mc5i, mir, msgr, xenl, xon,
           cols#80, it#8, lines#24, lm#0,
           acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G,
           blink=\E[0;5m, bold=\E[0;1m, cbt=\E[Z, civis=\E[6+{,
           clear=\E[H\E[J, cnorm=\E[+{, cr=^M,
           csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D,
           cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
           cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
           dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
           dsl=\E[2!w\r\n\E[!w, ed=\E[J, el=\E[K, el1=\E[1K,
           fsl=\E[!w, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH,
           ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
           invis=\E[0;8m, kDC=\E$\177, kHOM=\E$H, kLFT=\E$D,
           kRIT=\E$C, kbs=^H, kcbt=\E$I, kcub1=\E[D, kcud1=\E[B,
           kcuf1=\E[C, kcuu1=\E[A, kdch1=\177, kent=^M, kf1=^\001\r,
           kf10=^\010\r, kf11=^\011\r, kf12=^\012\r, kf13=\EOP,
           kf14=\EOQ, kf15=\EOR, kf16=\EOS, kf17=^\017\r,
           kf18=^\018\r, kf19=^\019\r, kf2=^\002\r, kf20=^\020\r,
           kf21=^\021\r, kf22=^\022\r, kf23=^\023\r, kf3=^\003\r,
           kf31=^\031\r, kf32=^\032\r, kf33=^\033\r, kf34=^\034\r,
           kf35=^\035\r, kf36=^\036\r, kf37=^\037\r, kf38=^\038\r,
           kf39=^\039\r, kf4=^\004\r, kf40=^\040\r, kf41=^\041\r,
           kf42=^\042\r, kf43=\E$P, kf44=\E$Q, kf45=\E$R, kf46=\E$S,
           kf47=^\047\r, kf48=^\048\r, kf49=^\049\r, kf5=^\005\r,
           kf50=^\050\r, kf51=^\051\r, kf52=^\052\r, kf53=^\053\r,
           kf6=^\006\r, kf7=^\007\r, kf8=^\008\r, kf9=^\009\r,
           khome=\E[H, kind=\E[T, knp=\E[U, kpp=\E[V, kri=\E[S,
           ll=\E[H\E[A, mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=\E[E,
           rc=\E8, rev=\E[0;7m, ri=\EM, rmacs=^O, rmir=\E[4l,
           rmso=\E[m\017, rmul=\E[m\017, sc=\E7,
           sgr=\E[0%?%p1%p6%O%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%O%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
           sgr0=\E[m\017, smacs=^N, smir=\E[4h, smso=\E[0;1;7m,
           smul=\E[0;4m, tbc=\E[3g, tsl=\E[2!w\E[%i%p1%dG,
           vpa=\E[%i%p1%dd,
   
 # <ht> through <el> included to specify padding needed in raw mode.  # <ht> through <el> included to specify padding needed in raw mode.
 # (avt-ns: added empty <acsc> to suppress a tic warning --esr)  # (avt-ns: added empty <acsc> to suppress a tic warning --esr)
 avt-ns|concept avt no status line,  avt-ns|concept avt no status line,
Line 7961 
Line 8030 
         hts=\E1, ich1=\EN, il1=\EL$<5.5*>, ind=^J, ip=$<5.5*>,          hts=\E1, ich1=\EN, il1=\EL$<5.5*>, ind=^J, ip=$<5.5*>,
         kbs=^H, kf0=\ERJ, kf1=\ERA, kf2=\ERB, kf3=\ERC, kf4=\ERD,          kbs=^H, kf0=\ERJ, kf1=\ERA, kf2=\ERB, kf3=\ERC, kf4=\ERD,
         kf5=\ERE, kf6=\ERF, kf7=\ERG, kf8=\ERH, kf9=\ERI, ll=\EH\EA,          kf5=\ERE, kf6=\ERF, kf7=\ERG, kf8=\ERH, kf9=\ERI, ll=\EH\EA,
         rmso=\E!\200, sgr0=\E!\200, smso=\E!\r, tbc=\E3,          rmso=\E!\0, sgr0=\E!\0, smso=\E!\r, tbc=\E3,
 # Contel c301 and c321 terminals.  # Contel c301 and c321 terminals.
 contel301|contel321|c301|c321|Contel Business Systems C-301 or C-321,  contel301|contel321|c301|c321|Contel Business Systems C-301 or C-321,
         flash@, ich1@, ip@, rmso=\E!\200$<20>, smso=\E!\r$<20>,          flash@, ich1@, ip@, rmso=\E!\0$<20>, smso=\E!\r$<20>,
         use=contel300,          use=contel300,
   
 #### Data General (dg)  #### Data General (dg)
Line 8002 
Line 8071 
 dg211|Data General d211,  dg211|Data General d211,
         cnorm=^L, cvvis=^L^R, ht=^I, ind@, kbs=^Y, kf0@, kf1@, kf2@, kf3@,          cnorm=^L, cvvis=^L^R, ht=^I, ind@, kbs=^Y, kf0@, kf1@, kf2@, kf3@,
         kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, lf0@, nel=^M^Z, rmcup=^L,          kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, lf0@, nel=^M^Z, rmcup=^L,
         rmso=\036E$<\200/>, smcup=^L^R, smso=\036D$<5/>,          rmso=\036E$<\0/>, smcup=^L^R, smso=\036D$<5/>,
         use=dg200,          use=dg200,
 # dg450 from cornell  # dg450 from cornell
 dg450|dg6134|data general 6134,  dg450|dg6134|data general 6134,
Line 8043 
Line 8112 
         cup=\020%p2%c%p1%c, cuu1=^W, cvvis=^L^R, el=^K, home=^H,          cup=\020%p2%c%p1%c, cuu1=^W, cvvis=^L^R, el=^K, home=^H,
         ht=^I, is2=^R, kbs=^Y, kcub1=^Y, kcud1=^Z, kcuf1=^X, kcuu1=^W,          ht=^I, is2=^R, kbs=^Y, kcub1=^Y, kcud1=^Z, kcuf1=^X, kcuu1=^W,
         kf0=^^q, kf1=^^r, kf2=^^s, kf3=^^t, kf4=^^u, kf5=^^v, kf6=^^w,          kf0=^^q, kf1=^^r, kf2=^^s, kf3=^^t, kf4=^^u, kf5=^^v, kf6=^^w,
         kf7=^^x, kf8=^^y, kf9=^^z, khome=^H, rmcup=^L, rmso=\200^^E,          kf7=^^x, kf8=^^y, kf9=^^z, khome=^H, rmcup=^L, rmso=\0^^E,
         rmul=^U, smcup=^L^R, smso=\200\200\200\200\200\036D,          rmul=^U, smcup=^L^R, smso=\0\0\0\0\0\036D, smul=^T,
         smul=^T,  
   
 #### Datamedia (dm)  #### Datamedia (dm)
 #  #
Line 8089 
Line 8157 
         cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],          cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
         home=^Y, ht=^I, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^\, kcuu1=^_,          home=^Y, ht=^I, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^\, kcuu1=^_,
         khome=^Y,          khome=^Y,
   # dm2500: this terminal has both <ich> and <smir>. Applications using
   # termcap/terminfo directly (rather than through ncurses) might be confused.
 dm2500|datamedia2500|datamedia 2500,  dm2500|datamedia2500|datamedia 2500,
         cols#80, lines#24,          cols#80, lines#24,
         bel=^G, clear=^^^^\177, cub1=^H, cud1=^J, cuf1=^\,          bel=^G, clear=^^^^\177, cub1=^H, cud1=^J, cuf1=^\,
Line 8541 
Line 8611 
         cuf1=\EC, cup=\EF%p2%3d%p1%3d, cuu1=\EA$<3>,          cuf1=\EC, cup=\EF%p2%3d%p1%3d, cuu1=\EA$<3>,
         dch1=\EP$<3>, dl1=\EM$<100>, ed=\EJ$<3>, el=\EK$<3>,          dch1=\EP$<3>, dl1=\EM$<100>, ed=\EJ$<3>, el=\EK$<3>,
         home=\EH, ht=^I, hts=\E1,          home=\EH, ht=^I, hts=\E1,
         ind=\n\200\200\200\n\200\200\200\EA\EK\200\200\200\ET\ET,          ind=\n\0\0\0\n\0\0\0\EA\EK\0\0\0\ET\ET, is2=\EH\EJ,
         is2=\EH\EJ, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,          kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf1=\Ep, kf2=\Eq,
         kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev,          kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew,
         kf8=\Ew, khome=\EH, rmso=\E_3, sgr0=\E_3, smso=\E_1, tbc=\E3,          khome=\EH, rmso=\E_3, sgr0=\E_3, smso=\E_1, tbc=\E3,
 # This loses on lines > 80 chars long, use at your own risk  # This loses on lines > 80 chars long, use at your own risk
 superbeeic|super bee with insert char,  superbeeic|super bee with insert char,
         ich1=, rmir=\ER, smir=\EQ, use=superbee-xsb,          ich1=, rmir=\ER, smir=\EQ, use=superbee-xsb,
Line 8611 
Line 8681 
   
 #### Hazeltine  #### Hazeltine
 #  #
 # Hazeltine appears to be out of the business now (1995).  These guys were  # Hazeltine appears to be out of the terminal business as of 1995.  These
 # co-owners of the Terminal Brain Damage Hall Of Fame along with Harris.  # guys were co-owners of the Terminal Brain Damage Hall Of Fame along with
 # They have a hazeltine.com domain and can be reached at:  # Harris. They have a hazeltine.com domain (but no web page there ) and can
   # be reached at:
 #  #
 #       Hazeltine  #       Hazeltine
 #       450 East Pulaski Road  #       450 East Pulaski Road
Line 8627 
Line 8698 
 #       P.O. Box 2076  #       P.O. Box 2076
 #       Fairfield, NJ 07007-2078  #       Fairfield, NJ 07007-2078
 #  #
   # They're now (1998) a subsidiary of General Electric, operating under the
   # marque "GEC-Marconi Hazeltine" and doing military avionics.  Web page
   # at <http://www.gec.com/cpd/1ncpd.htm#1.55>.
   #
   
 # Since <cuf1> is blank, when you want to erase something you  # Since <cuf1> is blank, when you want to erase something you
 # are out of luck.  You will have to do ^L's a lot to  # are out of luck.  You will have to do ^L's a lot to
Line 8758 
Line 8833 
         sgr0=\E[m$<2/>, smkx=\E[?1h\E=, smso=\E[7m$<2/>,          sgr0=\E[m$<2/>, smkx=\E[?1h\E=, smso=\E[7m$<2/>,
         smul=\E[4m$<2/>,          smul=\E[4m$<2/>,
   
   #### Hewlett-Packard (hp)
   #
   #       Hewlett-Packard
   #       8000 Foothills Blvd
   #       Roseville, CA 95747
   #       Vox: 1-(916)-785-4363   (Technical response line for VDTs)
   #            1-(800)-633-3600   (General customer support)
   #
   #
   # As of March 1998, HP no longer has any terminals in production.
   # The 700 series (22, 32, 41, 44, 92, 94, 96, 98) is still being
   # supported (they still have parts). So are the 2392a and 2394a.
   # See the WORKSTATION CONSOLES section for the 700s.
   #
   
   # Generic HP terminal - this should (hopefully) work on any HP terminal.
   hpgeneric|hp|hewlett-packard generic terminal,
           am, da, db, mir, xhp,
           cols#80, lines#24, lm#0, vt#6,
           bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
           cup=\E&a%p2%dc%p1%dY$<6>, cuu1=\EA, dch1=\EP, dl1=\EM,
           ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, il1=\EL,
           ind=^J, kbs=^H, kcbt=\Ei, rmir=\ER, rmso=\E&d@, rmul=\E&d@,
           sgr0=\E&d@, smir=\EQ, smso=\E&dJ, smul=\E&dD, tbc=\E3,
           vpa=\E&a%p1%dY,
   
   hp110|hewlett-packard model 110 portable,
           lines#16, use=hpgeneric,
   
   hp+pfk+cr|hp function keys with CR,
           kf1=\Ep\r, kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r, kf5=\Et\r,
           kf6=\Eu\r, kf7=\Ev\r, kf8=\Ew\r,
   
   hp+pfk-cr|hp function keys w/o CR,
           kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev,
           kf8=\Ew,
   
   # The hp2621s use the same keys for the arrows and function keys,
   # but not separate escape sequences. These definitions allow the
   # user to use those keys as arrow keys rather than as function
   # keys.
   hp+pfk+arrows|hp alternate arrow definitions,
           kcub1=\Eu\r, kcud1=\Ew\r, kcuf1=\Ev\r, kcuu1=\Et\r, kf1@,
           kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, khome=\Ep\r, kind=\Er\r,
           kll=\Eq\r, kri=\Es\r,
   
   hp+arrows|hp arrow definitions,
           kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh,
           kind=\ES, kll=\EF, kri=\ET,
   
   # Generic stuff from the HP 262x series
   #
   hp262x|HP 262x terminals,
           xhp,
           blink=\E&dA, dch1=\EP$<2>, ed=\EJ, ht=\011$<2>, ind=\ES,
           invis=\E&dS, ip=$<2>, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
           kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, khome=\Eh,
           kich1=\EQ, kil1=\EL, kind=\ES, knp=\EU, kpp=\EV, kri=\ET,
           krmir=\ER, rev=\E&dB, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@,
           sgr=\E&d%'@'%?%p1%t%'B'%|%;%?%p2%t%'D'%|%;%?%p3%t%'B'%|%;%?%p4%t%'A'%|%;%c,
           sgr0=\E&d@, smkx=\E&s1A, smso=\E&dB, smul=\E&dD,
   
   # Note: no <home> on HPs since that homes to top of memory, not screen.
   # Due to severe 2621 braindamage, the only way to get the arrow keys to
   # transmit anything at all is to turn on the function key labels
   # with <smkx>, and even then the user has to hold down shift!
   # The default 2621 turns off the labels except when it has to to
   # enable the function keys. If your installation prefers labels
   # on all the time, or off all the time (at the "expense" of the
   # function keys), use 2621-nl or 2621-wl.
   #
   # Note: there are newer ROMs for 2621's that allow you to set
   # strap A so the regular arrow keys xmit \EA, etc, as with the
   # 2645. However, even with this strap set, the terminal stops
   # xmitting if you reset it, until you unset and reset the strap!
   # Since there is no way to set/unset the strap with an escape
   # sequence, we don't use it in the default.
   # If you like, you can use 2621-ba (brain-damaged arrow keys).
   hp2621-ba|2621 w/new rom and strap A set,
           rmkx@, smkx@, use=hp+arrows,
           use=hp2621,
   
   # hp2621 with function labels. Most of the time they are off,
   # but inside vi, the function key labels appear. You have to
   # hold down shift to get them to xmit.
   hp2621|hp2621a|hp2621A|2621|2621a|2621A|hp2621-wl|2621-wl|hp 2621 w/labels,
           is2=\E&jA\r, rmkx=\E&jA,
           use=hp2621-fl,
   hp2621-fl|hp 2621,
           xhp@, xon,
           pb#19200,
           cbt=\Ei, cup=\E&a%p2%dc%p1%dY, dch1=\EP$<2>, ht=\011$<2>,
           ip=$<2>, is2=\E&j@\r, rmkx=\E&j@, rmso=\E&d@, rmul=\E&d@,
           sgr0=\E&d@, smkx=\E&jB, smso=\E&dD, smul=\E&dD,
           use=hp+pfk+cr, use=hpgeneric,
   
   # To use hp2621p printer, setenv TERM=2621p, PRINTER=2612p
   hp2621p|hp 2621 with printer,
           mc4=\E&p13C, mc5=\E&p11C, use=hp2621,
   
   hp2621p-a|hp2621p with fn as arrows,
           use=hp+pfk+arrows, use=hp2621p,
   
   # hp2621 with k45 keyboard
   hp2621-k45|hp2621k45|k45|hp 2621 with 45 keyboard,
           kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
           khome=\Eh, rmkx=\E&s0A, smkx=\E&s1A,
           use=hp2621,
   
   # 2621 using all 48 lines of memory, only 24 visible at any time.
   hp2621-48|48 line 2621,
           lines#48,
           cup=\E&a%p2%dc%p1%dR, home=\EH, vpa=\E&a%p1%dR, use=hp2621,
   
   # 2621 with no labels ever. Also prevents vi delays on escape.
   hp2621-nl|hp 2621 with no labels,
           kcub1@, kcud1@, kcuf1@, kcuu1@, khome@, rmkx@, smkx@, use=hp2621-fl,
   
   # Needed for UCB ARPAVAX console, since lsi-11 expands tabs
   # (wrong).
   #
   hp2621-nt|hp 2621 w/no tabs,
           ht@, use=hp2621,
   
   # Hp 2624 B with 4 or 10 pages of memory.
   #
   # Some assumptions are made with this entry. These settings are
   # NOT set up by the initialization strings.
   #
   # Port Configuration
   #       RecvPace=Xon/Xoff
   #       XmitPace=Xon/Xoff
   #       StripNulDel=Yes
   #
   # Terminal Configuration
   #       InhHndShk=Yes
   #       InhDC2=Yes
   #       XmitFnctn(A)=No
   #       InhEolWrp=No
   #
   # Note: the 2624 DOES have a true <home>, believe it or not!
   #
   # The 2624 has an "error line" to which messages can be sent.
   # This is CLOSE to what is expected for a "status line". However,
   # after a message is sent to the "error line", the next carriage
   # return is EATEN and the "error line" is turned back off again!
   # So I guess we can't define <hs>, <eslok>, <wsl>, <dsl>, <fsl>, <tsl>.
   #
   # This entry supports emacs (and any other program that uses raw
   # mode) at 4800 baud and less. I couldn't get the padding right
   # for 9600.
   #
   # (hp2624: replaced NUL sequences in flash with mandatory pauses -- esr)
   hp2624|hp2624a|hp2624b|hp2624b-4p|Hewlett Packard 2624 B,
           da, db,
           lm#96,
           flash=\E&w13F$<66/>\E&w12F$<66/>\E&w13F$<66/>\E&w12F, use=hp+labels, use=scrhp,
   
   # This hp2626 entry does not use any of the fancy windowing stuff
   # of the 2626.
   #
   # Indeed, terminfo does not yet handle such stuff. Since changing
   # any window clears memory, it is probably not possible to use
   # this for screen opt.
   #
   # ed is incredibly slow most of the time - I am guessing at the
   # exact padding. Since the terminal uses xoff/xon this is intended
   # only for cost computation, so that the terminal will prefer el
   # or even dl1 which is probably faster!
   #
   # \ED\EJ\EC hack for ed from Ed Bradford - apparently ed is only
   # extra slow on the last line of the window.
   #
   # The padding probably should be changed.
   #
   hp2626|hp2626a|hp2626p|hp 2626,
           da, db,
           lm#0, pb#19200,
           ed=\ED\EJ$<500>\EC, indn=\E&r%p1%dD, ip=$<4>,
           is2=\E&j@\r, rin=\E&r%p1%dU,
           use=hp+pfk+cr, use=hp+labels, use=scrhp,
   
   # This entry is for sysline. It allocates a 23 line window with
   # a 115 line workspace for regular use, and a 1 line window for
   # the status line.
   #
   # This assumes port 2 is being used.
   # Turn off horizontal line, Create ws #1 with 115 lines,
   # Create ws #2 with 1 line, Create window #1 lines 1-23,
   # Create window #2 lines 24-24, Attach cursor to workspace #1.
   # Note that this clears the tabs so it must be done by tset before
   # it sets the tabs.
   #
   hp2626-s|hp 2626 using only 23 lines,
           eslok, hs,
           lines#23,
           fsl=\E&d@\E&w7f2p1I\E&w4f1I,
           is1=\E&q3t0{0H \E&w0f115n1I \E&w0f1n2I \E&w2f1i0d0u22l0S \E&w2f2i0d23u23l0S \E&w7f2p1I \r,
           tsl=\E&w7f2p2I\E&w4f2I\r\EK\E&a%p1%dC,
           use=hp2626,
   # Force terminal back to 24 lines after being 23.
   hp2626-ns|hp 2626 using all 24 lines,
           is1=\E&q3t0{0H \E&w0f118n1I \E&w0f1n2I \E&w2f1i0d0u23l0S \E&w3f2I \E&w7f2p1I \r, use=hp2626,
   # Various entries useful for small windows on 2626.
   hp2626-12|hewlett-packard 2626 12 lines,
           lines#12, use=hp2626,
   hp2626-12x40|hewlett-packard 2626 12 lines 40 columns,
           cols#40, lines#12, use=hp2626,
   hp2626-x40|hewlett-packard 2626 40 columns,
           cols#40, use=hp2626,
   hp2626-12-s|hewlett-packard 2626 11 lines plus status,
           lines#11, use=hp2626-s,
   
   #
   # hp2627 color tubes from University of Wisconsin
   #
   hp2627a-rev|hp 2627 with reverse video colors,
           cr=^M, cud1=^J, ht=^I, ind=^J,
           is2=\E&v0m1a0b0c1x1y1z1i0a0b1c1x1y1z0i0S\E&j@\r\E3\r,
           kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rmul=\E&v0S\E&d@,
           smul=\E&dD\E&v1S,
           use=hp2621-nl,
   hp2627a|hp 2627 color terminal with no labels,
           cr=^M, cud1=^J, ht=^I, ind=^J,
           is2=\E&v0m1a1b0c1i0a1b1c2i1a0b0c0i0S\E&j@\r\E3\r,
           kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rmso=\E&v0S,
           rmul=\E&v0S\E&d@, smso=\E&v2S, smul=\E&dD\E&v1S,
           use=hp2621-nl,
   hp2627c|hp 2627 color (cyan) terminal with no labels,
           cr=^M, cud1=^J, ht=^I, ind=^J,
           is2=\E&v0m1a0b0c2i1a1b0c1i0a1b1c0i0S\E&j@\r\E3\r,
           kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J,
           use=hp2627a,
   
   # hp2640a doesn't have the Y cursor addressing feature, and C is
   # memory relative instead of screen relative, as we need.
   #
   hp2640a|hp 2640a,
           cup@, rmkx@, smkx@, use=hp2645,
   
   hp2640b|hp2644a|hp 264x series,
           rmkx@, smkx@, use=hp2645,
   
   # (hp2641a: removed unknown :gu: -- esr)
   hp2641a|hp2645a|hp2647a|HP 264?A series BRL entry,
           am, da, db, mir, xhp,
           cols#80, lines#24,
           bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
           cup=\E&a%p2%2dc%p1%2dY, cuu1=\EA, dch1=\EP, dl1=\EM,
           ed=\EJ, el=\EK, hpa=\E&a%p1%2dC, ht=^I,
           if=/usr/share/tabset/std, il1=\EL, ind=^J,
           is2=\EE$<500/>, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J,
           rmir=\ER, rmso=\E&d@, smir=\EQ, smso=\E&dB,
           vpa=\E&a%p1%2dY,
   
   # This terminal should be used at 4800 baud or less. It needs padding for
   # plain characters at 9600, I guessed at an appropriate cr delay.  It really
   # wants ^E/^F handshaking, but that doesn't work well even if you write
   # software to support it.
   hp2645|hp45|HP 2645 series,
           pb#9600,
           blink=\E&dA, cr=\r$<20>, dim=\E&dH, kctab=\E2, kcub1=\ED,
           kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM,
           ked=\EJ, kel=\EK, khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL,
           kind=\ES, knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, rev=\E&dB,
           rmkx=\E&s0A,
           sgr=\E&d%'@'%?%p1%t%'B'%|%;%?%p2%t%'D'%|%;%?%p3%t%'B'%|%;%?%p4%t%'A'%|%;%?%p5%t%'H'%|%;%?%p6%t%'B'%|%;%c,
           sgr0=\E&d@, smkx=\E&s1A, smul=\E&dD,
           use=hpgeneric,
   # You should use this terminal at 4800 baud or less.
   hp2648|hp2648a|HP 2648a graphics terminal,
           clear=\EH\EJ$<50>, cup=\E&a%p2%dc%p1%dY$<20>,
           dch1=\EP$<7>, ip=$<5>,
           use=hp2645,
   
   # The HP 150 terminal is a fairly vanilla HP terminal, with the
   # clreol standout problem. It also has graphics capabilities and
   # a touch screen, which we don't describe here.
   hp150|hewlett packard Model 150,
           use=hp2622,
   
   # HP 2382a terminals, "the little ones." They don't have any
   # alternate character set support and sending out ^N/^O will
   # leave the screen blank.
   hp2382a|hp2382|hewlett packard 2382a,
           da, db,
           lh#1, lm#48,
           acsc@,
           pln=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s,
           rmacs@,
           sgr=\E&d%{0}%Pa%?%p4%t%{1}%ga%+%Pa%;%?%p1%p3%|%p6%|%t%{2}%ga%+%Pa%;%?%p2%p6%|%t%{4}%ga%+%Pa%;%?%p1%p5%|%t%{8}%ga%+%Pa%;%?%p7%t%?%ga%ts%ga%'@'%+%e%'S'%;%e%?%ga%t%ga%'@'%+%e%'@'%;%;%c,
           sgr0=\E&d@, smacs@,
           use=hp+labels, use=scrhp,
   
   hp2621-a|hp2621a-a|hp2621 with fn as arrows,
           use=hp+pfk+arrows, use=hp2621-fl,
   
   # newer hewlett packard terminals
   
   newhpkeyboard|generic entry for HP extended keyboard,
           kbs=^H, kcbt=\Ei, kclr=\EJ, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
           kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, khome=\Eh,
           kich1=\EQ, kil1=\EL, kind=\ET, kll=\EF, knp=\EU, kpp=\EV,
           kri=\ES, krmir=\ER, rmkx=\E&s0A, smkx=\E&s1A,
           use=hp+pfk-cr,
   
   newhp|generic entry for new hewlett packard terminals,
           am, bw, mir, xhp, xon,
           cols#80, lines#24, pb#4800,
           acsc=2[3@4>5I9(\:'JSKWLQMAO#P$Q;R!S"T1U2V4W3X\:Y+Z*dHjGkTlRmFn/q\,t5u6v8w7x.,
           bel=^G, blink=\E&dA, bold=\E&dF, cbt=\Ei, cr=^M, cub1=^H,
           cud1=^J, cuf1=\EC, cuu1=\EA, dch1=\EP$<2>, dim=\E&dH,
           dl1=\EM, ed=\EJ, el=\EK, ht=\011$<2>, hts=\E1, il1=\EL, ind=^J,
           invis=\E&dS, ip=$<2>, is1=\E&jB$<8>, nel=^M^J,
           pfkey=\E&f0a%p1%dk0d%p2%l%dL%p2%s,
           pfloc=\E&f1a%p1%dk0d%p2%l%dL%p2%s,
           pfx=\E&f2a%p1%dk0d%p2%l%dL%p2%s, rev=\E&dB, ri=\ET,
           rmacs=^O, rmir=\ER, rmso=\E&d@, rmul=\E&d@, rs1=\Eg,
           sgr=\E&d%{0}%Pa%?%p4%t%{1}%ga%+%Pa%;%?%p1%p3%|%p6%|%t%{2}%ga%+%Pa%;%?%p2%p6%|%t%{4}%ga%+%Pa%;%?%p1%p5%|%t%{8}%ga%+%Pa%;%?%p7%t%?%ga%ts%ga%'@'%+%e%'S'%;%e%?%ga%t%ga%'@'%+%e%'@'%;%;%c%?%p9%t\016%e\017%;,
           sgr0=\E&d@\017, smacs=^N, smir=\EQ, smso=\E&dJ, smul=\E&dD,
           tbc=\E3,
           use=newhpkeyboard,
   
   memhp|memory relative addressing for new HP ttys,
           vt#6,
           clear=\EH\EJ$<40>, cub=\E&a-%p1%dC, cud=\E&a+%p1%dR,
           cuf=\E&a+%p1%dC, cup=\E&a%p1%dr%p2%dC, cuu=\E&a-%p1%dR,
           home=\EH, hpa=\E&a%p1%dC, ll=\E&a23R\r,
           mrcup=\E&a%p1%dr%p2%dC, vpa=\E&a%p1%dR, use=newhp,
   
   scrhp|screen relative addressing for new HP ttys,
           clear=\E&a0c0Y\EJ$<40>, cub=\E&a-%p1%dC,
           cud=\E&a+%p1%dR, cuf=\E&a+%p1%dC,
           cup=\E&a%p1%dy%p2%dC$<10>, cuu=\E&a-%p1%dR,
           home=\E&a0y0C, hpa=\E&a%p1%dC, ll=\E&a0y0C\EA,
           mrcup=\E&a%p1%dr%p2%dC, vpa=\E&a%p1%dY, use=newhp,
   
   # (hp+labels: added label values from a BRL termcap -- esr)
   hp+labels|"standard" label info for new HP ttys,
           lh#2, lw#8, nlab#8,
           lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7, lf7=f8,
           pln=\E&f2a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s,
           rmln=\E&j@, smln=\E&jB,
   
   hp+printer|"standard" printer info for HP ttys,
           ff=\E&p4u0C, mc0=\EH\E&p4dF, mc4=\E&p13C, mc5=\E&p11C,
   
   
   # The new hp2621b is kind of a cross between the old 2621 and the
   # new 262x series of machines. It has dip-switched options.
   # The firmware has a bug in it such that if you give it a null
   # length label, the following character is eaten!
   hp2621b|hp 2621b with old style keyboard,
           lh#1, lm#48, lw#8, nlab#8,
           kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh,
           kind=\ET, kll=\EF, kri=\ES,
           pln=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d3L%?%ga%!%t%{32}%c%;%p2%s\E%'o'%p1%+%c\r,
           smln=\E&jB,
           use=hp2621,
   
   hp2621b-p|hp 2621b with printer,
           use=hp+printer, use=hp2621b,
   
   # hp2621b - new 2621b with new extended keyboard
   # these are closer to the new 26xx series than the other 2621b
   hp2621b-kx|hp 2621b with extended keyboard,
           use=newhpkeyboard, use=hp2621b,
   
   hp2621b-kx-p|hp 2621b with new keyboard & printer,
           use=hp+printer, use=hp2621b-kx,
   
   # Some assumptions are made in the following entries.
   # These settings are NOT set up by the initialization strings.
   #
   #    Port Configuration
   # RecvPace=Xon/Xoff     XmitPace=Xon/Xoff       StripNulDel=Yes
   #
   #    Terminal Configuration
   # InhHndShk(G)=Yes      InhDC2(H)=Yes
   # XmitFnctn(A)=No               InhEolWrp=No
   #
   #
   # Hp 2622a & hp2623a display and graphics terminals
   #
   hp2622|hp2622a|hp 2622,
           da, db,
           lm#0, pb#19200,
           is2=\E&dj@\r, use=hp+pfk+cr, use=hp+labels, use=scrhp,
   
   # The 2623 is a 2622 with extra graphics hardware.
   hp2623|hp2623a|hp 2623,
           use=hp2622,
   
   hp2624b-p|hp2624b-4p-p|hewlett packard 2624 B with printer,
           use=hp+printer, use=hp2624,
   
   # The hewlett packard B can have an optional extra 6 pages of memory.
   hp2624-10p|hp2624a-10p|hp2624b-10p|hewlett packard 2624 B w/ 10 pages of memory,
           lm#240, use=hp2624,
   
   hp2624b-10p-p|hewlett packard 2624 B w/ extra memory & printer,
           lm#240, use=hp2624b-p,
   
   # Color manipulations for HP terminals
   hp+color|hp with colors,
           ccc,
           colors#16, ncv#17, pairs#7,
           initp=\E&v%?%p2%{1000}%=%t1%e.%p2%d%;a%?%p3%{1000}%=%t1%e.%p3%d%;b%?%p4%{1000}%=%t1%e.%p4%d%;c%?%p5%{1000}%=%t1%e.%p5%d%;x%?%p6%{1000}%=%t1%e.%p6%d%;y%?%p7%{1000}%=%t1%e.%p7%d%;z%p1%dI,
           oc=\E&v0m1a1b1c0I\E&v1a1I\E&v1b2I\E&v1a1b3I\E&v1c4I\E&v1a1c5I\E&v1b1c6I\E&v1x1y7I,
           op=\E&v0S, scp=\E&v%p1%dS,
   
   # <is2> sets the screen to be 80 columns wide
   hp2397a|hp2397|hewlett packard 2397A color terminal,
           is2=\E&w6f80X,
           use=memhp, use=hp+labels, use=hp+color,
   
   #
   # (hp2392: copied <rmir> here from hpex -- esr)
   hp2392|239x series,
           cols#80,
           cbt=\Ei, cup=\E&a%p1%dy%p2%dC, kf1=\Ep\r, kf2=\Eq\r,
           kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, kf6=\Eu\r, kf7=\Ev\r,
           kf8=\Ew\r, khome=\Eh, kind=\EU, knp=\Eu, kpp=\Ev, kri=\EV,
           rmir=\ER, rmul=\E&d@, smir=\EQ, smul=\E&dD, vpa=\E&a%p1%dY,
           use=hpsub,
   
   hpsub|hp terminals -- capability subset,
           am, da, db, mir, xhp, xon,
           lines#24,
           bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
           cuu1=\EA, dch1=\EP, dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC,
           ht=^I, if=/usr/share/tabset/stdcrt, il1=\EL, ind=^J,
           is2=\E&s1A\E<\E&k0\\, kbs=^H, kcub1=\ED, kcud1=\EB,
           kcuf1=\EC, kcuu1=\EA, khome=\Eh, rmkx=\E&s0A, rmso=\E&d@,
           sgr0=\E&d@, smkx=\E&s1A, smso=\E&dB,
   
   # hpex:
   #       May be used for most 24 x 80 hp terminals,
   # but has no padding added, so may allow runover in some terminals at high
   # baud rates.  Will not work for hp2640a or hp2640b terminals, hp98x6 and
   # hp98x5 terminal emulators or hp98x6 consoles.
   #       Adds xy-cursor addressing, vertical cursor addressing, home,
   # last line, and underline capabilities.
   #
   # (hpex: removed memory-lock capabilities ":ml=\El:mu=\Em:",
   # moved <rmir> here from hpsub -- esr)
   hpex|hp extended capabilites,
           cr=^M, cud1=^J, cup=\E&a%p1%dy%p2%dC, ht=^I, ind=^J, kbs=^H,
           kcub1=^H, kcud1=^J, nel=^M^J, rmir=\ER, rmul=\E&d@, smir=\EQ,
           smul=\E&dD, vpa=\E&a%p1%dY,
           use=hpsub,
   
   # From: Ville Sulko <Ville.Sulko@bip.atk.tpo.fi>, 05 Aug 1996
   hp2|hpex2|hewlett-packard extended capabilities newer version,
           am, da, db, mir, xhp,
           cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8, xmc#0,
           bel=^G, clear=\E&a0y0C\EJ, cr=^M, cub1=^H, cud1=\EB,
           cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP,
           dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1,
           il1=\EL, ind=^J, kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED,
           kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM,
           ked=\EJ, kel=\EK, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et,
           kf6=\Eu, kf7=\Ev, kf8=\Ew, khome=\Eh, khts=\E1, kich1=\EQ,
           kil1=\EL, kind=\ES, kll=\EF, knp=\EU, kpp=\EV, kri=\ET,
           krmir=\ER, ktbc=\E3, meml=\El, memu=\Em,
           pfkey=\E&f%p1%dk%p2%l%dL%p2%s,
           pfloc=\E&f1a%p1%dk%p2%l%dL%p2%s,
           pfx=\E&f2a%p1%dk%p2%l%dL%p2%s,
           pln=\E&f%p1%dk%p2%l%dd0L%p2%s, rmir=\ER, rmkx=\E&s0A,
           rmln=\E&j@, rmso=\E&d@, rmul=\E&d@,
           sgr=\E&d%?%p7%t%'s'%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%'@'%+%c%?%p9%t%'\016'%c%e%'\017'%c%;,
           sgr0=\E&d@, smir=\EQ, smkx=\E&s1A, smln=\E&jB, smso=\E&dB,
           smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY,
   
   # HP 236 console
   # From: <ddavis@ic.berkeley.edu>
   hp236|hp236 internal terminal emulator,
           am,
           cols#80, lines#24,
           clear=\EF, cnorm=\EDE, cub1=^H,
           cup=\EE%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, cvvis=\EDB,
           dch1=\EJ, dl1=\EH, el=\EK, ich1=\EI, il1=\EG, rmso=\ECI,
           sgr0=\ECI, smso=\EBI,
   
   # This works on a hp300 console running Utah 4.3 BSD
   # From: Craig Leres <leres@okeeffe.berkeley.edu>
   hp300h|HP Catseye console,
           am, da, db, mir, xhp,
           cols#128, lines#51, lm#0, xmc#0,
           bel=^G, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M, cub1=^H, cud1=\EB,
           cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP,
           dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I,
           if=/usr/share/tabset/stdcrt, il1=\EL, ind=^J, kbs=^H,
           kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh,
           rmir=\ER, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@, sgr0=\E&d@,
           smir=\EQ, smkx=\E&s1A, smso=\E&dB, smul=\E&dD, tbc=\E3,
           vpa=\E&a%p1%dY,
   # From: Greg Couch <gregc@ernie.berkeley.edu>
   hp9837|hp98720|hp98721|HP 9000/300 workstations,
           am, da, db, mir, xhp,
           cols#128, it#8, lines#46, lm#0,
           bel=^G, cbt=\Ei, clear=\E&a0y0C\EJ, cub1=^H, cud1=\EB,
           cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP,
           dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1,
           il1=\EL, ind=^J, is2=\E&v0m1b0i&j@, kbs=^H, kcub1=\ED,
           kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM,
           ked=\EJ, kel=\EK, khome=\Eh, kich1=\EQ, kil1=\EL, knp=\EU,
           kpp=\EV, rmir=\ER, rmkx=\E&s0A, rmso=\E&v0S, rmul=\E&d@,
           sgr0=\E&d@, smir=\EQ, smkx=\E&s1A, smso=\E&v5S, smul=\E&dD,
           tbc=\E3, vpa=\E&a%p1%dY,
   # HP 9845 desktop computer from BRL
   # (hp9845: removed unknown capability :gu: -- esr)
   hp9845|HP 9845,
           am, da, db, eo, mir, xhp,
           cols#80, lines#21,
           clear=\EH\EJ, cuf1=\EC, cup=\E&a%p2%2dc%p1%2dY, cuu1=\EA,
           dch1=\EP, dl1=\EM, ed=\EJ, el=\EK,
           if=/usr/share/tabset/std, il1=\EL, rmir=\ER, rmso=\E&d@,
           smir=\EQ, smso=\E&dB,
   # From: Charles A. Finnell of MITRE <finnell@mitre.org>, developed 07SEP90
   # (hp98550: replaced /usr/share/tabset/9837 with std because <it#8>,<hts=\E1>;
   # added empty <acsc> to avoid warnings re <smacs>/<rmacs> --esr)
   hp98550|hp98550a|HP 9000 Series 300 color console,
           am, da, db, mir, xhp,
           cols#128, it#8, lines#49, lm#0,
           acsc=, bel=^G, blink=\E&dA, bold=\E&dJ, cbt=\Ei, civis=\E*dR,
           clear=\EH\EJ, cnorm=\E*dQ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
           cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, dim=\E&dH,
           dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1,
           if=/usr/share/tabset/std, il1=\EL, ind=^J, invis=\E&ds,
           kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
           kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, kf1=\Ep,
           kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew,
           khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, kind=\ES, kll=\EF,
           knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, ktbc=\E3, rev=\E&dJ,
           rmacs=^O, rmir=\ER, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@,
           sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A, smso=\E&dJ,
           smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY,
   
   bobcat|sbobcat|HP 9000 model 300 console,
           am, da, db, mir, xhp,
           cols#128, it#8, lines#47, xmc#0,
           cbt=\Ei, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
           cup=\E&a%dy%dC$<6/>, cuu1=\EA, dch1=\EP, dl1=\EM$<10*/>,
           ed=\EJ, el=\EK, hpa=\E&a%dC$<6/>, ht=^I, il1=\EL$<10*/>,
           ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
           khome=\Eh, nel=^M^J, rmir=\ER, rmkx=\E&s0A, rmso=\E&d@,
           rmul=\E&d@, sgr0=\E&d@, smir=\EQ, smkx=\E&s1A, smso=\E&dB,
           smul=\E&dD, vpa=\E&a%dY$<6/>,
   gator-t|HP 9000 model 237 emulating extra-tall AAA,
           lines#94, use=gator,
   gator|HP 9000 model 237 emulating AAA,
           bw, km, mir, ul,
           cols#128, it#8, lines#47,
           bel=^G, cbt=\E[Z, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J,
           cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\EM,
           dch=\E[%p1%dP$<4/>, dch1=\E[P, dl=\E[%p1%dM$<1*/>,
           dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, hpa=\E[%i%p1%d`,
           ht=^I, ich=\E[%p1%d@$<4/>, ich1=\E[@, il=\E[%p1%dL$<1*/>,
           il1=\E[L, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J,
           rep=%p1%c\E[%p2%db$<1*/>, rev=\E[7m, rmso=\E[m,
           rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m,
   gator-52|HP 9000 model 237 emulating VT52,
           cols#128, lines#47, use=vt52,
   gator-52t|HP 9000 model 237 emulating extra-tall VT52,
           lines#94, use=gator-52,
   
   #### Honeywell-Bull
   #
   # From: Michael Haardt <michael@gandalf.moria> 11 Jan 93
   #
   
   # Honeywell Bull terminal.  Its cursor and function keys send single
   # control characters and it has standout/underline glitch.  Most programs
   # do not like these features/bugs.  Visual bell is realized by flashing the
   # "keyboard locked" LED.
   dku7003-dumb|Honeywell Bull DKU 7003 dumb mode,
           cols#80, lines#25,
           clear=^]^_, cr=^M, cub1=^Y, cud1=^K, cuf1=^X,
           cup=\E[%i%p1%d;%p2%dH, cuu1=^Z, ed=^_, el=\E[K,
           flash=\E[2h\E[2l, home=^], ht=^I, ind=^J, kbs=^H, kcub1=^Y,
           kcud1=^K, kcuf1=^X, kcuu1=^Z, khome=^], nel=^M^J,
   dku7003|Honeywell Bull DKU 7003 all features described,
           msgr,
           xmc#1,
           blink=\E[5m, bold=\E[7m, dim=\E[2m, rev=\E[7m, rmso=\E[m,
           rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m,
           use=dku7003-dumb,
   
 #### IBM  #### IBM
 #  #
   
Line 8787 
Line 9451 
 ibm3161|ibm3163|wy60-316X|wyse60-316X|IBM 3161/3163 display,  ibm3161|ibm3163|wy60-316X|wyse60-316X|IBM 3161/3163 display,
         am, mir, msgr,          am, mir, msgr,
         cols#80, it#8, lines#24,          cols#80, it#8, lines#24,
         acsc=l\354q\361k\353x\370j\352m\355w\367u\365v\366t\364n\356,          acsc=j\352k\353l\354m\355n\356q\361t\364u\365v\366w\367x\370,
         bel=^G, blink=\E4D, bold=\E4H, clear=\EH\EJ, cr=^M, cub1=\ED,          bel=^G, blink=\E4D, bold=\E4H, clear=\EH\EJ, cr=^M, cub1=\ED,
         cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,          cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
         cuu1=\EA, dch1=\EQ, dl1=\EO, ed=\EJ, el=\EI, home=\EH, ind=^J,          cuu1=\EA, dch1=\EQ, dl1=\EO, ed=\EJ, el=\EI, home=\EH, ind=^J,
Line 8801 
Line 9465 
         kf4=\Ed\r, kf5=\Ee\r, kf6=\Ef\r, kf7=\Eg\r, kf8=\Eh\r,          kf4=\Ed\r, kf5=\Ee\r, kf6=\Ef\r, kf7=\Eg\r, kf8=\Eh\r,
         kf9=\Ei\r, khome=\EH, khts=\E0, kich1=\EP \010, kil1=\EN,          kf9=\Ei\r, khome=\EH, khts=\E0, kich1=\EP \010, kil1=\EN,
         ktbc=\E 1, rev=\E4A, rmcup=\E>A, rmso=\E4@, rmul=\E4@,          ktbc=\E 1, rev=\E4A, rmcup=\E>A, rmso=\E4@, rmul=\E4@,
         sgr=\E4%'@'%?%p1%t%'A'%|%;\n%?%p2%t%'B'%|%;\n%?%p3%t%'A'%|%;\n%?%p4%t%'D'%|%;\n%?%p5%t%'@'%|%;\n%?%p6%t%'H'%|%;\n%?%p7%t%'P'%|%;%c\n%?%p9%t\E>A%e\E<@%;,          sgr=\E4%'@'%?%p1%t%'A'%|%;%?%p2%t%'B'%|%;%?%p3%t%'A'%|%;%?%p4%t%'D'%|%;%?%p5%t%'@'%|%;%?%p6%t%'H'%|%;%?%p7%t%'P'%|%;%c%?%p9%t\E>A%e\E<@%;,
         sgr0=\E4@\E<@, smcup=\E>A, smso=\E4A, smul=\E4B,          sgr0=\E4@\E<@, smcup=\E>A, smso=\E4A, smul=\E4B,
   
 # How the 3164 sgr string works:  # How the 3164 sgr string works:
Line 8837 
Line 9501 
         bold=\EZ, dl1=\EM, dsl=\Ej\EY8 \EI\Ek, fsl=\Ek, il1=\EL,          bold=\EZ, dl1=\EM, dsl=\Ej\EY8 \EI\Ek, fsl=\Ek, il1=\EL,
         invis=\EF\Ef0;\Eb0;, kbs=^H, kf0=\E<, kf1=\ES, kf2=\ET,          invis=\EF\Ef0;\Eb0;, kbs=^H, kf0=\E<, kf1=\ES, kf2=\ET,
         kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\EY,          kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\EY,
         khome=\EH, kich1=\200, kind=\EE, knp=\EE, kpp=\Eg, kri=\EG,          khome=\EH, kich1=\0, kind=\EE, knp=\EE, kpp=\Eg, kri=\EG,
         lf0=f10, rev=\Ep, ri=\EA, rmso=\Ez, rmul=\Ew,          lf0=f10, rev=\Ep, ri=\EA, rmso=\Ez, rmul=\Ew,
         sgr0=\Ew\Eq\Ez\EB, smso=\EZ, smul=\EW, tsl=\Ej\EY8%+ \Eo, use=ibm3101,          sgr0=\Ew\Eq\Ez\EB, smso=\EZ, smul=\EW, tsl=\Ej\EY8%+ \Eo, use=ibm3101,
 ibmega|ibm5154|IBM Enhanced Color Display,  ibmega|ibm5154|IBM Enhanced Color Display,
         cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J,          cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J,
         nel=^M^J,          nel=^M^J,
         use=ibmmono,          use=ibmmono,
 ibmega-c|ibm5154-c|IBM Enhanced Color Display,  ibmega-c|ibm5154-c|IBM Enhanced Color Display with standout and underline,
         rmso=\EB, rmul=\EB, smso=\EF\Ef3;, smul=\EF\Ef2;, use=ibmmono,          rmso=\EB, rmul=\EB, smso=\EF\Ef3;, smul=\EF\Ef2;,
           use=ibmmono,
 ibmvga-c|IBM VGA display color termcap,  ibmvga-c|IBM VGA display color termcap,
         cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J,          cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J,
         nel=^M^J,          nel=^M^J,
Line 8910 
Line 9575 
         ind=^J,          ind=^J,
   
 # From: <pryor@math.berkeley.edu>  # From: <pryor@math.berkeley.edu>
 ibm5081|ibmmpel|IBM 5081 1024x1024 256/4096 color display,  ibm5081|ibmmpel|IBM 5081 1024x1024 256/4096 Megapel color display,
         eslok, hs,          eslok, hs,
         lines#33,          lines#33,
         dsl=\Ej\EYA \EI\Ek, fsl=\Ek, tsl=\Ej\EYA%+ \Eo, use=ibmmono,          dsl=\Ej\EYA \EI\Ek, fsl=\Ek, tsl=\Ej\EYA%+ \Eo, use=ibmmono,
 ibm5081-c|ibmmpel-c|IBM 5081 1024x1024 256/4096 enhanced color display,  ibm5081-c|ibmmpel-c|IBM 5081 1024x1024 256/4096 Megapel enhanced color display,
         eslok, hs,          eslok, hs,
         lines#33,          lines#33,
         dsl=\Ej\EYA \EI\Ek, fsl=\Ek, tsl=\Ej\EYA%+ \Eo, use=ibmega-c,          dsl=\Ej\EYA \EI\Ek, fsl=\Ek, tsl=\Ej\EYA%+ \Eo, use=ibmega-c,
Line 8924 
Line 9589 
         cr=^M, cud1=^J, dsl=\Ej\EYI \EI\Ek, fsl=\Ek, ht=^I, ind=^J,          cr=^M, cud1=^J, dsl=\Ej\EYI \EI\Ek, fsl=\Ek, ht=^I, ind=^J,
         kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, tsl=\Ej\EYI%+ \Eo,          kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, tsl=\Ej\EYI%+ \Eo,
         use=ibmega,          use=ibmega,
 ibm8514-c|IBM 8514 color display,  ibm8514-c|IBM 8514 color display with standout and underline,
         eslok, hs,          eslok, hs,
         lines#41,          lines#41,
         cr=^M, cud1=^J, dsl=\Ej\EYI \EI\Ek, fsl=\Ek, ht=^I, ind=^J,          cr=^M, cud1=^J, dsl=\Ej\EYI \EI\Ek, fsl=\Ek, ht=^I, ind=^J,
Line 8938 
Line 9603 
 #  #
 aixterm-m|IBM AIXterm Monochrome Terminal Emulator,  aixterm-m|IBM AIXterm Monochrome Terminal Emulator,
         eslok, hs,          eslok, hs,
         acsc=llqqkkxxjjmmwwuuvvttnn, bold=\E[1m, dsl=\E[?E,          acsc=jjkkllmmnnqqttuuvvwwxx, bold=\E[1m, dsl=\E[?E,
         fsl=\E[?F, ri@, s0ds=\E(B, s1ds=\E(0,          fsl=\E[?F, ri@, s0ds=\E(B, s1ds=\E(0,
         sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,          sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
         sgr0=\E[0;10m\E(B, tsl=\E[?%p1%dT,          sgr0=\E[0;10m\E(B, tsl=\E[?%p1%dT,
         use=ibm6153,          use=ibm6153,
 aixterm-m-old|IBM AIXterm Monochrome Terminal Emulator,  aixterm-m-old|old IBM AIXterm Monochrome Terminal Emulator,
         eslok, hs,          eslok, hs,
         bold=\E[1m, dsl=\E[?E, fsl=\E[?F, ri@,          bold=\E[1m, dsl=\E[?E, fsl=\E[?F, ri@,
         sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,          sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
Line 8985 
Line 9650 
         bel=^G, clear=^L, cr=^M, cub1=^Z, cud1=^J, cuf1=^Y, cuu1=^\,          bel=^G, clear=^L, cr=^M, cub1=^Z, cud1=^J, cuf1=^Y, cuu1=^\,
         ed=^K, ind=^J, ll=^H^\,          ed=^K, ind=^J, ll=^H^\,
   
   # The ICL6402 was actually the Kokusai Display System 6402.
   # The 6404 was the KDS7372 (color version of the 6402).
   #
   # ICL6404 control codes follow:
   #
   #code            function
   #~~~~~~~~~~~     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   #ctrl-A          set SOM position at cursor position
   #ctrl-G          Bell
   #ctrl-H          Backspace
   #ctrl-I          Horiz tab
   #ctrl-J          Linefeed
   #ctrl-K          Cursor up
   #ctrl-L          Cursor right
   #ctrl-M          Carriage return
   #ctrl-N          Disable xon/xoff to host
   #ctrl-O          Enable xon/xoff to host
   #ctrl-R          Enable bidirectional mode
   #ctrl-T          Disable bidirectional mode
   #ctrl-V          Cursor down
   #ctrl-Z          Clear unprotected data to insert char
   #ctrl-^          Cursor home
   #ctrl-_          Newline
   #
   #ESC             lead-in char for multiple character command
   #
   #ESC space R     execute power on sequence
   #ESC ! p1 p2     define scroll region:
   #                p1 = scroll top    line:  20h - 37h
   #                p1 = scroll bottom line:  20h - 37h
   #ESC "           unlock keyboard
   #ESC #           lock keyboard
   #ESC $           Semi-graphics mode on
   #ESC %           Semi-graphics mode off
   #ESC &           protect mode on
   #ESC '           protect mode off
   #ESC (           write protect mode off (full intensity)
   #ESC )           write protect mode on (half intensity)
   #
   #ESC *           clear screen
   #ESC +           clear unprotected data to insert char
   #ESC ,           clear unprotected data to half intensity spaces
   #ESC - p1 p2 p3 p4     address cursor to page, row, column:
   #                      p1 = page number  0 - 3
   #                      p2 = row          20h - 7fh
   #                      p3 = column (lo)  20h - 7fh
   #                      p4 = column (hi)  20h - 21h (only 132 col)
   #ESC . p1        set cursor style:
   #                p1 = 0  invisible cursor
   #                p1 = 1  block blinking cursor
   #                p1 = 2  block steady cursor
   #                p1 = 3  underline blinking cursor
   #                p1 = 4  underline steady cursor
   #ESC /           transmit cursor location (page, row, column)
   #ESC 0 p1 p2 p3 p4     program edit key:
   #                      p1 = edit key code: '@'-'S', '`'-'s'
   #                      p2 p3 p4 = program data (3 bytes)
   #
   #ESC 1           set tab
   #ESC 2           clear tab at cursor
   #ESC 3           clear all tabs
   #ESC 4           send unprotect line to cursor
   #ESC 5           send unprotect page to cursor
   #ESC 6           send line to cursor
   #ESC 7           send page to cursor
   #ESC 8 n         set scroll mode:
   #                n = 0   set jump scroll
   #                n = 1   set smooth scroll
   #ESC 9 n         control display:
   #                n = 0   display off
   #                n = 1   display on
   #ESC :           clear unprotected data to null
   #ESC ;           clear unprotected data to insert char
   #
   #ESC <           keyclick on
   #ESC = p1 p2     address cursor to row, column
   #                p1 = row          20h - 7fh
   #                p2 = column (lo)  20h - 7fh
   #                p3 = column (hi)  20h - 21h (only 132 col)
   #ESC >           keyclick off
   #ESC ?           transmit cursor location (row, column)
   #
   #ESC @           copy print mode on
   #ESC A           copy print mode off
   #ESC B           block mode on
   #ESC C           block mode off (conversation mode)
   #ESC D F         set full duplex
   #ESC D H         set half duplex
   #ESC E           line insert
   #ESC F p1 p2     set page colour (p1 = f/grnd, p2 = b/grnd)
   #                0 = black, 1 = red,     2 = green, 3 = yellow
   #                4 = blue,  5 = magenta, 6 = cyan,  7 = white
   #ESC G n         set serial field attribute (n = 30h - 3Fh)
   #ESC H n         full graphics mode:
   #                n = 0  exit full graphics mode
   #                n = 1  enter full graphics mode
   #ESC I           back tab
   #ESC J           back page
   #ESC K           forward page
   #
   #ESC L           unformatted page print
   #ESC M L         move window left  (132 col mode only)
   #ESC M R         move window right (132 col mode only)
   #ESC N           set page edit (clear line edit)
   #ESC O           set line edit (clear page edit)
   #ESC P           formatted page print
   #ESC Q           character insert
   #ESC R           line delete
   #ESC S           send message unprotected only
   #ESC T           erase line to insert char
   #ESC U           set monitor mode   (see ESC X, ESC u)
   #
   #ESC V n         select video attribute mode:
   #                n = 0   serial field attribute mode
   #                n = 1   parallel character attribute mode
   #ESC V 2 n       define line attribute:
   #                n = 0   single width single height
   #                n = 1   single width double height
   #                n = 2   double width single height
   #                n = 3   double width double height
   #ESC V 3 n       select character font:
   #                n = 0   system font
   #                n = 1   user defined font
   #ESC V 4 n       select screen mode:
   #                n = 0   page screen mode
   #                n = 1   virtual screen mode
   #ESC V 5 n       control mouse mode:
   #                n = 0   disable mouse
   #                n = 1   enable sample mode
   #                n = 2   send mouse information
   #                n = 3   enable request mode
   #ESC W           character delete
   #ESC X           clear monitor mode (see ESC U, ESC u)
   #ESC Y           erase page to insert char
   #
   #ESC Z n         send user/status line:
   #                n = 0   send user line
   #                n = 1   send status line
   #                n = 2   send terminal ID
   #ESC [ p1 p2 p3  set character attribute (parallel char mode):
   #                p1: 0 = normal
   #                    1 = blank
   #                    2 = blink
   #                    3 = blink blank (= blank)
   #                    4 = reverse
   #                    5 = reverse blank
   #                    6 = reverse blink
   #                    7 = reverse blink blank (= reverse blank)
   #                    8 = underline
   #                    9 = underline blank
   #                    : = underline blink
   #                    ; = underline blink blank
   #                    < = reverse underline
   #                    = = reverse underline blank
   #                    > = reverse underline blink
   #                    ? = reverse underline blink blank
   #                p2, p3: f/grnd, b/grnd colour
   #                (see ESC F for colours)
   #                use ZZ for mono, eg.
   #                    ESC [ 0 Z Z for normal
   #                    ESC [ 4 Z Z for inverse etc.
   #
   #ESC \ n         set page size:
   #                n = 1   24 lines/page
   #                n = 2   48 lines/page
   #                n = 3   72 lines/page
   #                n = 4   96 lines/page
   #ESC ] n         set Wordstar mode:
   #                n = 0   normal (KDS7372) mode
   #                n = 1   Wordstar mode
   #
   #ESC b           set foreground colour screen
   #
   #ESC c n         enter self-test mode:
   #                n = 0   exit self test mode
   #                n = 1   ROM test
   #                n = 2   RAM test
   #                n = 3   NVRAM test
   #                n = 4   screen display test
   #                n = 5   main/printer port test
   #                n = 6   mouse port test
   #                n = 7   graphics board test
   #                n = 8   graphics memory test
   #                n = 9   display all 'E'
   #                n = :   display all 'H'
   #ESC d           set background colour screen
   #
   #ESC e n         program insert char (n = insert char)
   #ESC f text CR   load user status line with 'text'
   #
   #ESC g           display user status line on 25th line
   #ESC h           display system status line on 25th line
   #ESC i           tab
   #ESC j           reverse linefeed
   #ESC k n         duplex/local edit mode:
   #                n = 0   duplex edit mode
   #                n = 1   local edit mode
   #ESC l n         select virtual screen:
   #                n = 0   screen 1
   #                n = 1   screen 2
   #ESC m           save current config to NVRAM
   #ESC n p1        select display screen:
   #                p1 = 0  screen 1
   #                p1 = 1  screen 2
   #                p1 = 2  screen 3
   #                p1 = 3  screen 4
   #ESC o p1 p2     set characters/line and attribute:
   #                p1 = 0  80 chars/line
   #
   #ESC o p1 p2     set characters/line and attribute:
   #                p1 = 0  80 chars/line
   #                p1 = 1  132 chars/line
   #                p2 = 0  single width single height
   #                p2 = 1  single width double height
   #                p2 = 2  double width single height
   #                p2 = 3  double width double height
   #
   #ESC q           insert mode on
   #ESC r           edit mode on
   #ESC s           send message all
   #ESC t           erase line to null
   #ESC u           clear monitor mode (see ESC U, ESC X)
   #ESC v           autopage mode on
   #ESC w           autopage mode off
   #ESC x p1 p2 p3  define delimiter code...
   #ESC y           erase page to null
   #
   #ESC z 2 p1 p2 p3 p4   draw quadrangle:
   #                      p1 = starting row
   #                      p2 = starting column
   #                      p3 = end row
   #                      p4 = end column
   #
   #ESC { p1 p2 p3 p4     configure main port
   #                      (baud, stop bits, parity, word length)
   #
   #ESC | p1 p2 text Ctrl-Y    program function key with 'text':
   #                        p1 = function key code:
   #                             '1' - ';'  normal f1- f11
   #                             '<' - 'F'  shifted f1 - f11
   #                        p2 = program mode:
   #                             1 = FDX
   #                             2 = LOC
   #                             3 = HDX
   #                        Ctrl-Y = terminator
   #                        (use Ctrl-P to escape ^P, ^Y )
   #
   #ESC } p1 p2 p3 p4     configure printer port
   #                      (baud, stop bits, parity, word length)
   #ESC ~           send system status
   #
   # Codes and info from Peter Disdale <pete@pdlmail.demon.co.uk> 12 May 1997
   #
   # Entry is by esr going solely on above information and is UNTESTED.
   # This actually looks a lot like a Televideo 9xx.
   # This entry uses page 0 and is monochrome; I'm not brave enough to try
   # to make color work without a test terminal.  The <am> capability is a guess.
   # The initialization string sets conversation mode, blinking underline cursor,
   # full duplex, parallel attribute mode, display user status line, white
   # foreground, black background, normal highlight.
   #
   icl6404|kds7372|icl6402|kds6402|ICL 6404 aka Kokusai Display Systems 7372,
           am, hs,
           cols#80, lines#24,
           bel=^G, blink=\E[2ZZ, cbt=\EI, civis=\E.0, clear=\E*,
           cnorm=\E.3, cr=^M,
           csr=\E!%+%p1%{32}%+%p2%{32} cud1=\026, cuf1=^L,
           cup=\E=%p1%''%+%c%p2%{80}%m%' '%+%c%p2%{80}%>%' '%+%c,
           cuu1=^K, cvvis=\E.1, dch=\EW, dl1=\ER, home=^^, ht=^I, hts=\E1,
           il1=\EE, invis=\E[1ZZ, is1=\EC\E.3\EDF\EV1\Eg\E[0ZZ,
           nel=^_, rev=\E[4ZZ, rmir=\Er,
           rmso=\E[%gh%{4}%^%Ph%gh%dZZ,
           rmul=\E[%gh%{8}%^%Ph%gh%dZZ, rs2=\Eo1,
           sgr=\E[%{0}%?%p1%t%{4}%|%;%?%p2%t%{8}%|%;%?%p3%t%{4}%|%;%?%p4%t%{2}%|%;%?%p7%t%{1}%|%;ZZ,
           sgr0=\E[0ZZ, smir=\Eq, smso=\E[8ZZ, smul=\E[8ZZ, tbc=\E3,
   icl6404-w|kds7372-w|ICL 6404 aka Kokusai Display Systems 7372 132 cols,
           rs2=\Eo1,
           use=icl6404,
   
 #### Interactive Systems Corp  #### Interactive Systems Corp
 #  #
 # ISC used to sell OEMed and customized hardware to support ISC UNIX.  # ISC used to sell OEMed and customized hardware to support ISC UNIX.
Line 9025 
Line 9969 
   
 #### Kimtron (abm, kt)  #### Kimtron (abm, kt)
 #  #
   # Kimtron seems to be history, but as March 1998 these people are still
   # offering repair services for Kimtron equipment:
   #
   #    Com/Pair Monitor Service
   #    1105 N. Cliff Ave.
   #    Sioux Falls, South Dakota 57103
   #
   #    WATS voice:  1-800/398-4946
   #    POTS   fax: +1 605/338-8709
   #    POTS voice: +1 605/338-9650
   #         Email: <compair@sd.cybernex.net>
   #  Internet/Web: <http://www.com-pair.com>
   #
 # Kimtron entries include (undocumented) codes for: enter dim mode,  # Kimtron entries include (undocumented) codes for: enter dim mode,
 # enter bold mode, enter reverse mode, turn off all attributes.  # enter bold mode, enter reverse mode, turn off all attributes.
 #  #
Line 9105 
Line 10062 
 kt7ix|kimtron model kt-7 or 70 in IX mode,  kt7ix|kimtron model kt-7 or 70 in IX mode,
         am, bw,          am, bw,
         cols#80, it#8, lines#25,          cols#80, it#8, lines#25,
         acsc=lZm@k?jYt4uCvAwBqDx3nE, bel=^G, blink=\EG2, cbt=\EI,          acsc=jYk?lZm@nEqDt4uCvAwBx3, bel=^G, blink=\EG2, cbt=\EI,
         civis=\E.0, clear=\E*, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V,          civis=\E.0, clear=\E*, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V,
         cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,          cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
         dch1=\EW, dim=\EG@, dl1=\ER, dsl=\Ef\r, ed=\EY, el=\ET, fsl=^M,          dch1=\EW, dim=\EG@, dl1=\ER, dsl=\Ef\r, ed=\EY, el=\ET, fsl=^M,
Line 9188 
Line 10145 
 #  Horizontal cursor qualifiers of NUL, XON and XOFF are mapped to the next  #  Horizontal cursor qualifiers of NUL, XON and XOFF are mapped to the next
 #  value up, followed by backspace.  #  value up, followed by backspace.
 #  #
 P2|prism2|MDC Prism-2,  prism2|MDC Prism-2,
         am, bw, msgr,          am, bw, msgr,
         cols#80, lines#24,          cols#80, lines#24,
         bel=^G, clear=\014$<20>, cr=^M, cub1=^H, cud1=^J, cuf1=^F,          bel=^G, clear=\014$<20>, cr=^M, cub1=^H, cud1=^J, cuf1=^F,
Line 9214 
Line 10171 
         cnorm=^]\342, cr=^M, cub1=^H, cud1=^J, cuf1=^F,          cnorm=^]\342, cr=^M, cub1=^H, cud1=^J, cuf1=^F,
         cup=\013%p1%' '%+%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c,          cup=\013%p1%' '%+%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c,
         cuu1=^Z, dim=^CA, dsl=\035\343\035\345, ed=\EJ, el=\EK,          cuu1=^Z, dim=^CA, dsl=\035\343\035\345, ed=\EJ, el=\EK,
         fsl=^]\345, home=^A^J,          fsl=^]\345, home=^A,
         hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c,          hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c,
         ind=^J, invis=^CH, kbs=^H, khome=^A, mc0=\EU, mc4=\ET, mc5=\ER,          ind=^J, invis=^CH, kbs=^H, khome=^A, mc0=\EU, mc4=\ET, mc5=\ER,
         rev=^CD, rmso=^C\s, rmul=^C\s,          rev=^CD, rmso=^C\s, rmul=^C\s,
Line 9427 
Line 10384 
         kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,          kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
         kf8=^AG\r, kf9=^AH\r, khome=^A, lf1=F1, lf10=F10, lf2=F2,          kf8=^AG\r, kf9=^AH\r, khome=^A, lf1=F1, lf10=F10, lf2=F2,
         lf3=F3, lf4=F4, lf5=F5, lf6=F6, lf7=F7, lf8=F8, lf9=F9, nel=^J^M,          lf3=F3, lf4=F4, lf5=F5, lf6=F6, lf7=F7, lf8=F8, lf9=F9, nel=^J^M,
         pad=\200, rev=^CD, rmso=^C\s, rmul=^C\s, sgr0=^C\s, smso=^CE,          pad=\0, rev=^CD, rmso=^C\s, rmul=^C\s, sgr0=^C\s, smso=^CE,
         smul=^C0,          smul=^C0,
   
 #### Microterm (act, mime)  #### Microterm (act, mime)
Line 9576 
Line 10533 
 # There is an NCR4103 terminal that's just a re-badged Wyse-50.  # There is an NCR4103 terminal that's just a re-badged Wyse-50.
 #  #
   
   # The following vendor-supplied termcaps were captured from the Boundless
   # Technologies site, 8 March 1998.  I removed all-upper-case names that were
   # identical, except for case, to lower-case ones.  I also uncommented the acsc
   # capabilities.X
   #
   # The Intecolor emulation of the NCR 2900/260C color terminal is basicly a
   # DEC vt200/300 with color capabilities added.
   ncr260intan|NCR Intecolor emulation of the 2900_260C with an ANSI keyboard,
           colors#8, pairs#64,
           op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=ncr260vt300an,
   # The Intecolor emulation of the NCR 2900/260C color terminal is basicly a
   # DEC vt200/300 with color capabilities added.
   ncr260intwan|NCR Intecolor emulation of the 2900_260C with an ANSI keyboard,
           colors#8, pairs#64,
           op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=ncr260vt300wan,
   # The Intecolor emulation of the NCR 2900/260C color terminal is basicly a DEC
   # vt200/300 with color capabilities added.
   ncr260intpp|NCR Intecolor emulation of the 2900_260C with a PC+ keyboard,
           colors#8, pairs#64,
           op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=ncr260vt300pp,
   # The Intecolor emulation of the NCR 2900/260C color terminal is basicly a
   # DEC vt200/300 with color capabilities added.
   ncr260intwpp|NCR Intecolor emulation of the 2900_260C with a PC+ keyboard in 132 column mode,
           colors#8, pairs#64,
           op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=ncr260vt300wpp,
   # This definition for ViewPoint supports several attributes.  This means
   # that it has magic cookies (extra spaces where the attributes begin).
   # Some applications do not function well with magic cookies.  The System
   # Administrator's Shell in NCR Unix SVR4 1.03 is one such application.
   # If supporting various attributes is not vital, 'xmc#1' and the extra
   # attributes can be removed.
   # Mapping to ASCII character set ('acsc' capability) can also be
   # restored if needed.
   ncr260vppp|NCR 2900_260 viewpoint,
           am, bw, hs, km, mc5i, mir, msgr, xon,
           cols#80, lines#24, nlab#32, xmc#1,
           acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2,
           cbt=\EI, civis=\E`0, clear=\014$<40>, cnorm=\E`5,
           cr=\r$<2>, cub1=\010$<2>, cud1=\n$<2>, cuf1=\006$<2>,
           cup=\EY%p1%' '%+%c%p2%' '%+%c$<5>, cuu1=\032$<2>,
           cvvis=\E`5, dch1=\EW$<2>, dim=\EGp, dl1=\El$<2>, dsl=\E`c,
           ed=\Ek$<2>, el=\EK$<2>, fsl=^M, home=\036$<2>, ht=^I,
           hts=\E1, il1=\EM$<2>, ind=\n$<2>, invis=\EG1,
           is2=\Ee6\E~%$<100>\E+\E`\:\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>,
           kDC=\El, kEND=\Ek, kHOM=^A, kPRT=\E7, kRIT=^F, ka1=^A, ka3=\EJ,
           kbs=^H, kc1=\ET, kc3=\EJ, kcub1=^U, kcud1=^J, kcuf1=^F,
           kcuu1=^Z, kdch1=\EW, kend=\EK, kf1=^B1\r, kf10=^B\:\r,
           kf11=^B;\r, kf12=^B<\r, kf13=^B=\r, kf14=^B>\r, kf15=^B?\r,
           kf16=^B@\r, kf17=^B!\r, kf18=^B"\r, kf19=^B#\r, kf2=^B2\r,
           kf20=^B$\r, kf21=\002%^M, kf22=^B&\r, kf23=^B'\r,
           kf24=^B(\r, kf25=^B)\r, kf26=^B*\r, kf27=^B+\r,
           kf28=^B\,\r, kf29=^B-\r, kf3=^B3\r, kf30=^B.\r, kf31=^B/\r,
           kf32=^B0\r, kf4=^B4\r, kf5=^B5\r, kf6=^B6\r, kf7=^B7\r,
           kf8=^B8\r, kf9=^B9\r, khome=^A, kich1=\Eq, knp=\EJ, kpp=\EJ,
           kprt=\EP, ll=\001$<5>, mc0=\EP$<100>, mc4=^T, mc5=^R,
           mrcup=\Ew@%p1%{48}%+%c%p2%' '%+%c%p3%' '%+%c$<5>,
           nel=\037$<2>, rev=\EG4, ri=\Ej$<2>, rmacs=\EcB0\EH\003,
           rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20,
           rs2=\Ee6\E~%$<100>\E+\E`\:\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>,
           sgr0=\EG0\EH\003, smacs=\EcB1\EH\002, smir=\Eq,
           smso=\EG4, smul=\EG8, smxon=\Ec21, tsl=\EF,
   ncr260vpwpp|NCR 2900_260 viewpoint wide mode,
           cols#132,
           cup=\Ea%i%p1%dR%p2%dC$<30>,
           is2=\Ee6\E~%$<100>\E+\E`;\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>,
           rs2=\Ee6\E~%$<100>\E+\E`;\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>,
           use=ncr260vppp,
   ncr260vt100an|NCR 2900_260 vt100 with ansi kybd,
           am, hs, mir, msgr, xenl, xon,
           cols#80, lines#24, nlab#32,
           acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G,
           blink=\E[5m, bold=\E[1m, civis=\E[?25l,
           clear=\E[2J\E[1;1H$<20>, cnorm=\E[?25h, cr=\r$<1>,
           csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD$<5>,
           cub1=\E[D$<5>, cud=\E[%p1%dB$<5>, cud1=\E[B$<5>,
           cuf=\E[%p1%dC$<5>, cuf1=\E[C$<5>,
           cup=\E[%i%p1%d;%p2%dH$<10>, cuu=\E[%p1%dA$<5>,
           cuu1=\E[A$<5>, dch=\E[%p1%dP$<5>, dch1=\E[1P$<5>,
           dl=\E[%p1%dM$<5>, dl1=\E[M$<5>, dsl=\E[0$~\E[1$~,
           ech=\E[%p1%dX, ed=\E[0J$<5>, el=\E[0K$<3>, el1=\E[1K$<3>,
           fsl=\E[0$}, home=\E[H$<1>, hpa=\E[%p1%dG$<40>, ht=^I,
           hts=\EH, ich=\E[%p1%d@$<5>, il=\E[%p1%dL$<5>,
           il1=\E[L$<5>, ind=\ED$<5>, indn=\E[%p1%dE$<5>,
           invis=\E[8m,
           is2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
           ka1=\EOw, ka3=\EOu, kb2=\EOy, kbs=^H, kc1=\EOq, kc3=\EOs,
           kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
           kdch1=\E[3~, kent=\EOM, kf1=\EOP, kf2=\EOQ, kf3=\EOR,
           kf4=\EOS, kfnd=\E[1~, khlp=\E[28~, kich1=\E[2~, knp=\E[6~,
           kpp=\E[5~, krdo=\E[29~, kslt=\E[4~, nel=\EE$<5>, rc=\E8,
           rev=\E[7m, ri=\EM$<5>, rmacs=^O, rmir=\E[4l,
           rmkx=\E[?1l\E>, rmso=\E[0m, rmul=\E[0m,
           rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
           sc=\E7,
           sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<20>,
           sgr0=\E[0m\017$<20>, smacs=^N, smir=\E[4h,
           smkx=\E[?1h\E=, smso=\E[1;7m, smul=\E[4m, tbc=\E[3g,
           tsl=\E[2$~\E[1$}, vpa=\E[%p1%dd$<40>,
   ncr260vt100wan|NCR 2900_260 vt100 wide mode ansi kybd,
           cols#132,
           cup=\E[%i%p1%d;%p2%dH$<30>,
           is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
           rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
           use=ncr260vt100an,
   ncr260vt100pp|NCR 2900_260 vt100 with PC+ kybd,
           is2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
           ka1=\E[H, ka3=\EOu, kb2=\E[V, kc3=\E[U, kcub1=\E[D,
           kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[4~,
           kend=\E[5~, khome=\E[2~, kich1=\E[1~, knp=\E[6~, kpp=\E[3~,
           lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, rmkx=\E>,
           rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
           smkx=\E=,
           use=ncr260vt100an,
   ncr260vt100wpp|NCR 2900_260 vt100 wide mode pc+  kybd,
           cols#132,
           cup=\E[%i%p1%d;%p2%dH$<30>,
           is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
           rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
           use=ncr260vt100pp,
   ncr260vt200an|NCR 2900_260 vt200 with ansi kybd,
           am, hs, mir, msgr, xenl, xon,
           cols#80, lines#24, nlab#32,
           acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G,
           blink=\E[5m, bold=\E[1m, civis=\E[?25l,
           clear=\E[2J\E[1;1H$<20>, cnorm=\E[?25h, cr=\r$<1>,
           csr=\E[%i%p1%d;%p2%dr$<5>, cub=\E[%p1%dD$<5>,
           cub1=\E[D$<5>, cud=\E[%p1%dB$<5>, cud1=\E[B$<5>,
           cuf=\E[%p1%dC$<5>, cuf1=\E[C$<5>,
           cup=\E[%i%p1%d;%p2%dH$<10>, cuu=\E[%p1%dA$<5>,
           cuu1=\E[A$<5>, dch=\E[%p1%dP$<5>, dch1=\E[1P$<5>,
           dl=\E[%p1%dM$<5>, dl1=\E[M$<5>, dsl=\E[0$~\E[1$~,
           ech=\E[%p1%dX$<5>, ed=\E[0J, el=\E[0K$<5>, el1=\E[1K$<5>,
           fsl=\E[0$}, home=\E[H, hpa=\E[%p1%dG$<40>, ht=^I, hts=\EH,
           ich=\E[%p1%d@$<5>, il=\E[%p1%dL$<5>, il1=\E[L$<5>,
           ind=\ED$<5>, indn=\E[%p1%dE$<5>, invis=\E[8m,
           is2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
           ka1=\EOw, ka3=\EOu, kb2=\EOy, kbs=^H, kc1=\EOq, kc3=\EOs,
           kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
           kdch1=\E[3~, kent=\EOM, kf0=\EOy, kf1=\EOP, kf10=\E[21~,
           kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
           kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
           kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf21=\E[31~,
           kf22=\E[32~, kf23=\E[33~, kf24=\E[34~, kf25=\E[35~,
           kf26=\E[1~, kf27=\E[2~, kf28=\E[3~, kf29=\E[4~, kf3=\EOR,
           kf30=\E[5~, kf31=\E[6~, kf32=\E[7~, kf33=\E[8~, kf34=\E[9~,
           kf35=\E[10~, kf4=\EOS, kf5=\E[M, kf6=\E[17~, kf7=\E[18~,
           kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~,
           kich1=\E[2~, knp=\E[6~, kpp=\E[5~, krdo=\E[29~, kslt=\E[4~,
           mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=\EE, rc=\E8, rev=\E[7m,
           ri=\EM$<5>, rmacs=\017$<20>, rmam=\E[?7l, rmir=\E[4l,
           rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m,
           rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
           sc=\E7,
           sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<20>,
           sgr0=\E[0m\017$<20>, smacs=\016$<20>, smam=\E[?7h,
           smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
           tbc=\E[3g, tsl=\E[2$~\E[1$}, vpa=\E[%p1%dd$<40>,
   ncr260vt200wan|NCR 2900_260 vt200 wide mode ansi kybd,
           cols#132,
           cup=\E[%i%p1%d;%p2%dH$<30>,
           is2=\E[!p\E[?3;7;19;67h\E[?4l\E(B\E)0\017\E[2J\E[1;1H$<200>,
           rs2=\E[!p\E[?3;7;19;67h\E[?4l\E(B\E)0\017\E[2J\E[1;1H$<200>,
           use=ncr260vt200an,
   ncr260vt200pp|NCR 2900_260 vt200 with pc+ kybd,
           ka1=\E[H, ka3=\EOu, kb2=\E[V, kc3=\E[U, kcub1=\E[D,
           kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[4~,
           kend=\E[1~, khome=\E[H, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
           lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, rmkx=\E>, smkx=\E=,
           use=ncr260vt200an,
   ncr260vt200wpp|NCR 2900_260 vt200 wide mode pc+  kybd,
           cols#132,
           cup=\E[%i%p1%d;%p2%dH$<30>,
           is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
           rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
           use=ncr260vt200pp,
   ncr260vt300an|NCR 2900_260 vt300 with ansi kybd,
           am, hs, mir, msgr, xenl, xon,
           cols#80, lines#24, nlab#32,
           acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G,
           blink=\E[5m, bold=\E[1m, civis=\E[?25l,
           clear=\E[2J\E[1;1H$<20>, cnorm=\E[?25h, cr=\r$<1>,
           csr=\E[%i%p1%d;%p2%dr$<5>, cub=\E[%p1%dD$<5>,
           cub1=\E[D$<5>, cud=\E[%p1%dB$<5>, cud1=\E[B$<5>,
           cuf=\E[%p1%dC$<5>, cuf1=\E[C$<5>,
           cup=\E[%i%p1%d;%p2%dH$<10>, cuu=\E[%p1%dA$<5>,
           cuu1=\E[A$<5>, dch=\E[%p1%dP$<5>, dch1=\E[1P$<5>,
           dl=\E[%p1%dM$<5>, dl1=\E[M$<5>, dsl=\E[0$~\E[1$~,
           ech=\E[%p1%dX$<5>, ed=\E[0J, el=\E[0K$<5>, el1=\E[1K$<5>,
           fsl=\E[0$}, home=\E[H, hpa=\E[%p1%dG$<40>, ht=^I, hts=\EH,
           ich=\E[%p1%d@$<5>, il=\E[%p1%dL$<5>, il1=\E[L$<5>,
           ind=\ED$<5>, indn=\E[%p1%dE$<5>, invis=\E[8m,
           is2=\E[!p\E[?7;19;67h\E[?1;3;4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
           ka1=\EOw, ka3=\EOu, kb2=\EOy, kbs=^H, kc1=\EOq, kc3=\EOs,
           kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
           kdch1=\E[3~, kent=\EOM, kf0=\EOy, kf1=\EOP, kf10=\E[21~,
           kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
           kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
           kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf21=\E[31~,
           kf22=\E[32~, kf23=\E[33~, kf24=\E[34~, kf25=\E[35~,
           kf26=\E[1~, kf27=\E[2~, kf28=\E[3~, kf29=\E[4~, kf3=\EOR,
           kf30=\E[5~, kf31=\E[6~, kf32=\E[7~, kf33=\E[8~, kf34=\E[9~,
           kf35=\E[10~, kf4=\EOS, kf5=\E[M, kf6=\E[17~, kf7=\E[18~,
           kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~,
           kich1=\E[2~, knp=\E[6~, kpp=\E[5~, krdo=\E[29~, kslt=\E[4~,
           mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=\EE, rc=\E8, rev=\E[7m,
           ri=\EM$<5>, rmacs=\017$<20>, rmam=\E[?7l, rmir=\E[4l,
           rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m,
           rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
           sc=\E7,
           sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<20>,
           sgr0=\E[0m\017$<20>, smacs=\016$<20>, smam=\E[?7h,
           smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
           tbc=\E[3g, tsl=\E[2$~\E[1$}, vpa=\E[%p1%dd$<40>,
   ncr260vt300wan|NCR 2900_260 vt300 wide mode ansi kybd,
           cols#132,
           cup=\E[%i%p1%d;%p2%dH$<30>,
           is2=\E[!p\E[?3;7;19;67h\E[?4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H$<200>,
           rs2=\E[!p\E[?3;7;19;67h\E[?4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H$<200>,
           use=ncr260vt300an,
   ncr260vt300pp|NCR 2900_260 vt300 with pc+ kybd,
           ka1=\E[H, ka3=\EOu, kb2=\E[V, kc3=\E[U, kcub1=\E[D,
           kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[4~,
           kend=\E[1~, khome=\E[H, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
           lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, rmkx=\E>, smkx=\E=,
           use=ncr260vt300an,
   NCR260VT300WPP|ncr260vt300wpp|NCR 2900_260 vt300 wide mode pc+  kybd,
           cols#132,
           cup=\E[%i%p1%d;%p2%dH$<30>,
           is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
           rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
           use=ncr260vt300pp,
   # This terminfo file contains color capabilities for the Wyse325 emulation of
   # the NCR 2900/260C color terminal.  Because of the structure of the command
   # (escape sequence) used to set color attributes, one of the fore/background
   # colors must be preset to a given value. I have set the background color to
   # black.  The user can change this setup by altering the last section of the
   # 'setf' definition.  The escape sequence to set color attributes is
   #               ESC d y <foreground_color> <background_color> 1
   # In addition, the background color can be changed through the desk accessories.
   # The capablitiy 'op' sets colors to green on black (default combination).
   #
   # NOTE:  The NCR Unix System Administrator's Shell will not function properly
   #           if the 'pairs' capability is defined. Un-Comment the 'pairs'
   #           capability and recompile if you wish to have it included.
   #
   ncr260wy325pp|NCR 2900_260 wyse 325,
           am, bw, hs, km, mc5i, mir, msgr, xon,
           colors#16, cols#80, lines#24, ncv#33, nlab#32,
           acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2,
           cbt=\EI, civis=\E`0, clear=\E*$<10>, cnorm=\E`1, cr=^M,
           cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>,
           cup=\E=%p1%' '%+%c%p2%' '%+%c$<10>, cuu1=\013$<5>,
           cvvis=\E`5, dch1=\EW$<50>, dl1=\ER$<5>, dsl=\E`c,
           ed=\Ey$<5>, el=\Et$<5>, fsl=^M, home=\036$<5>, ht=^I,
           hts=\E1, il1=\EE$<5>, ind=\n$<5>, invis=\EG1,
           is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
           kDC=\ER, kEND=\EY, kHOM=\E{, kNXT=\EK, kPRT=\E7, kPRV=\EJ,
           kRIT=^L, ka1=^^, kb2=\EJ, kbs=^H, kc1=\ET, kc3=\EK, kcbt=\EI,
           kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kend=\ET,
           kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r,
           kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, kf17=^A`\r, kf18=^Aa\r,
           kf19=^Ab\r, kf2=^AA\r, kf20=^Ac\r, kf21=^Ad\r, kf22=^Ae\r,
           kf23=^Af\r, kf24=^Ag\r, kf25=^Ah\r, kf26=^Ai\r, kf27=^Aj\r,
           kf28=^Ak\r, kf29=^Al\r, kf3=^AB\r, kf30=^Am\r, kf31=^An\r,
           kf32=^Ao\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
           kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\Eq, knp=\EK, kpp=\EJ,
           kprt=\EP, mc0=\EP, mc4=^T, mc5=^R,
           mrcup=\Ew@%p1%{48}%+%c%p2%' '%+%c%p3%' '%+%c$<10>,
           nel=\037$<5>, rev=\EG4, ri=\Ej$<5>, rmacs=\EH\003\EcB0,
           rmam=\Ed., rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20,
           rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
           setb=\s,
           setf=%?%p1%{0}%=%t%'1'%e%p1%{1}%=%t%'2'%e%p1%{2}%=%t%'3'%e%p1%{3}%=%t%'4'%e%p1%{4}%=%t%'5'%e%p1%{5}%=%t%'6'%e%p1%{6}%=%t%'7'%e%p1%{7}%=%t%'@'%e%p1%{8}%=%t%'9'%e%p1%{9}%=%t%'\:'%e%p1%{10}%=%t%';'%e%p1%{11}%=%t%'<'%e%p1%{12}%=%t%'='%e%p1%{13}%=%t%'>'%e%p1%{14}%=%t%'?'%e%p1%{15}%=%t%'8'%;\Edy%c11$<100>,
           sgr0=\EG0\EcB0\EcD$<15>, smacs=\EH\002\EcB1, smam=\Ed/,
           smir=\Eq, smso=\EGt, smul=\EG8, smxon=\Ec21, tbc=\E0,
           tsl=\EF,
   ncr260wy325wpp|NCR 2900_260 wyse 325 wide mode,
           cols#132,
           cup=\Ea%i%p1%dR%p2%dC$<30>,
           is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
           rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
           use=ncr260wy325pp,
   # This definition for Wyse 350 supports several attributes.  This means
   # that it has magic cookies (extra spaces where the attributes begin).
   # Some applications do not function well with magic cookies.  The System
   # Administrator's Shell in NCR Unix SVR4 1.03 is one such application.
   # If supporting various attributes is not vital, 'xmc#1' and the extra
   # attributes can be removed.
   # Mapping to ASCII character set ('acsc' capability) can also be
   # restored if needed.
   # In addition, color capabilities have been added to this file.  The drawback,
   # however, is that the background color has to be black.  The foreground colors
   # are numbered 0 through 15.
   #
   # NOTE:  The NCR Unix System Administrator's Shell does not function properly
   #           with the 'pairs' capability defined as below.  If you wish to
   #           have it included, Un-comment it and recompile (using 'tic').
   #
   ncr260wy350pp|NCR 2900_260 wyse 350,
           am, bw, hs, km, mc5i, mir, msgr, xon,
           colors#16, cols#80, lines#24, ncv#33, nlab#32, xmc#1,
           acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2,
           cbt=\EI, civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M,
           cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>,
           cup=\E=%p1%' '%+%c%p2%' '%+%c$<40>, cuu1=\013$<5>,
           cvvis=\E`5, dch1=\EW$<50>, dim=\EGp, dl1=\ER$<5>, dsl=\E`c,
           ed=\Ey$<5>, el=\Et$<5>, fsl=^M, home=\036$<10>, ht=^I,
           hts=\E1, il1=\EE$<5>, ind=\n$<5>, invis=\EG1,
           is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
           kDC=\ER, kEND=\EY, kHOM=\E{, kPRT=\E7, kRIT=^L, ka1=^^, kbs=^H,
           kc1=\ET, kc3=\EK, kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L,
           kcuu1=^K, kdch1=\EW, kend=\ET, kf1=^A@\r, kf10=^AI\r,
           kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r,
           kf16=^AO\r, kf17=^A`\r, kf18=^Aa\r, kf19=^Ab\r, kf2=^AA\r,
           kf20=^Ac\r, kf21=^Ad\r, kf22=^Ae\r, kf23=^Af\r, kf24=^Ag\r,
           kf25=^Ah\r, kf26=^Ai\r, kf27=^Aj\r, kf28=^Ak\r, kf29=^Al\r,
           kf3=^AB\r, kf30=^Am\r, kf31=^An\r, kf32=^Ao\r, kf4=^AC\r,
           kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r,
           khome=^^, kich1=\Eq, knp=\EK, kpp=\EJ, kprt=\EP,
           mc0=\EP$<10>, mc4=^T, mc5=^R,
           mrcup=\Ew@%p1%{48}%+%c%p2%' '%+%c%p3%' '%+%c$<20>,
           nel=\037$<5>, rev=\EG4, ri=\Ej$<5>, rmacs=\EH\003\EcB0,
           rmam=\Ed., rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20,
           rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
           setb=\s,
           setf=%?%p1%{0}%=%t%'1'%e%p1%{1}%=%t%'2'%e%p1%{2}%=%t%'3'%e%p1%{3}%=%t%'4'%e%p1%{4}%=%t%'5'%e%p1%{5}%=%t%'6'%e%p1%{6}%=%t%'7'%e%p1%{7}%=%t%'f'%e%p1%{8}%=%t%'a'%e%p1%{9}%=%t%'b'%e%p1%{10}%=%t%'c'%e%p1%{11}%=%t%'e'%e%p1%{12}%=%t%'j'%e%p1%{13}%=%t%'n'%e%p1%{14}%=%t%'o'%e%p1%{15}%=%t%'8'%;\Em0%c$<100>,
           sgr0=\EG0\EH\003\EcD, smacs=\EH\002\EcB1, smam=\Ed/,
           smir=\Eq, smso=\EGt, smul=\EG8, smxon=\Ec21, tbc=\E0,
           tsl=\EF,
   ncr260wy350wpp|NCR 2900_260 wyse 350 wide mode,
           cols#132,
           cup=\Ea%i%p1%dR%p2%dC$<30>,
           is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>,
           rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>,
           use=ncr260wy350pp,
   # This definition for Wyse 50+ supports several attributes.  This means
   # that it has magic cookies (extra spaces where the attributes begin).
   # Some applications do not function well with magic cookies.  The System
   # Administrator's Shell in NCR Unix SVR4 1.03 is one such application.
   # If supporting various attributes is not vital, 'xmc#1' and the extra
   # attributes can be removed.
   # Mapping to ASCII character set ('acsc' capability) can also be
   # restored if needed.
   # (ncr260wy50+pp: originally contained commented-out
   # <acsc=j5k3l2m1n8q:t4u9v=w0x6>, as well as the commented-out one there -- esr)
   ncr260wy50+pp|NCR 2900_260 wyse 50+,
           am, bw, hs, km, mc5i, mir, msgr, xon,
           cols#80, lines#24, nlab#32, xmc#1,
           acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, blink=\EG2,
           cbt=\EI$<5>, civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M,
           cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>,
           cup=\E=%p1%' '%+%c%p2%' '%+%c$<30>, cuu1=\013$<5>,
           cvvis=\E`5, dch1=\EW$<50>, dim=\EGp, dl1=\ER$<5>, dsl=\E`c,
           ed=\EY$<5>, el=\ET$<5>, fsl=^M, home=\036$<10>,
           ht=\011$<5>, hts=\E1$<5>, il1=\EE$<5>, ind=\n$<5>,
           invis=\EG1,
           is2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
           kDC=\ER, kEND=\EY, kHOM=\E{, kPRT=\E7, kRIT=^L, ka1=^^, kbs=^H,
           kc1=\ET, kc3=\EK, kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L,
           kcuu1=^K, kdch1=\EW, kend=\ET, kf1=^A@\r, kf10=^AI\r,
           kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r,
           kf16=^AO\r, kf17=^A`\r, kf18=^Aa\r, kf19=^Ab\r, kf2=^AA\r,
           kf20=^Ac\r, kf21=^Ad\r, kf22=^Ae\r, kf23=^Af\r, kf24=^Ag\r,
           kf25=^Ah\r, kf26=^Ai\r, kf27=^Aj\r, kf28=^Ak\r, kf29=^Al\r,
           kf3=^AB\r, kf30=^Am\r, kf31=^An\r, kf32=^Ao\r, kf4=^AC\r,
           kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r,
           khome=^^, kich1=\Eq, knp=\EK, kpp=\EJ, kprt=\EP,
           mc0=\EP$<10>, mc4=^T, mc5=^R,
           mrcup=\Ew@%p1%{48}%+%c%p2%' '%+%c%p3%' '%+%c$<10>,
           nel=\037$<5>, rev=\EG4, ri=\Ej$<5>, rmacs=\EH^C, rmam=\Ed.,
           rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20,
           rs2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
           sgr0=\EG0\EH\003$<15>, smacs=\EH^B, smam=\Ed/, smir=\Eq,
           smso=\EGt, smul=\EG8, smxon=\Ec21, tbc=\E0$<5>, tsl=\EF,
   ncr260wy50+wpp|NCR 2900_260 wyse 50+ wide mode,
           cols#132,
           cup=\Ea%i%p1%dR%p2%dC$<30>,
           is2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>,
           rs2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>,
           use=ncr260wy50+pp,
   ncr260wy60pp|NCR 2900_260 wyse 60,
           am, bw, hs, km, mc5i, mir, msgr, xon,
           cols#80, lines#24, nlab#32,
           acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2,
           cbt=\EI$<15>, civis=\E`0, clear=\E*$<100>, cnorm=\E`1,
           cr=^M, cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>,
           cup=\E=%p1%' '%+%c%p2%' '%+%c$<10>, cuu1=\013$<5>,
           cvvis=\E`5, dch1=\EW$<50>, dl1=\ER$<5>, dsl=\E`c,
           ed=\Ey$<5>, el=\Et$<5>, fsl=^M, home=\036$<25>,
           ht=\011$<15>, hts=\E1$<15>, il1=\EE$<5>, ind=\n$<5>,
           invis=\EG1,
           is2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
           kDC=\ER, kEND=\EY, kHOM=\E{, kNXT=\EK, kPRT=\E7, kPRV=\EJ,
           kRIT=^L, ka1=^^, kb2=\EJ, kbs=^H, kc1=\ET, kc3=\EK,
           kcbt=\EI$<15>, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
           kdch1=\EW, kend=\ET, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r,
           kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r,
           kf17=^A`\r, kf18=^Aa\r, kf19=^Ab\r, kf2=^AA\r, kf20=^Ac\r,
           kf21=^Ad\r, kf22=^Ae\r, kf23=^Af\r, kf24=^Ag\r, kf25=^Ah\r,
           kf26=^Ai\r, kf27=^Aj\r, kf28=^Ak\r, kf29=^Al\r, kf3=^AB\r,
           kf30=^Am\r, kf31=^An\r, kf32=^Ao\r, kf4=^AC\r, kf5=^AD\r,
           kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
           kich1=\Eq, knp=\EK, kpp=\EJ, kprt=\EP, mc0=\EP, mc4=^T, mc5=^R,
           mrcup=\Ew@%p1%{48}%+%c%p2%' '%+%c%p3%' '%+%c$<30>,
           nel=\037$<5>, rev=\EG4, ri=\Ej$<5>, rmacs=\EH^C, rmam=\Ed.,
           rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20,
           rs2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
           sgr0=\EG0\EcB0\EcD$<15>, smacs=\EH^B, smam=\Ed/,
           smir=\Eq, smso=\EGt, smul=\EG8, smxon=\Ec21, tbc=\E0$<15>,
           tsl=\EF,
   ncr260wy60wpp|NCR 2900_260 wyse 60 wide mode,
           cols#132,
           cup=\Ea%i%p1%dR%p2%dC$<30>,
           is2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
           rs2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
           use=ncr260wy60pp,
   ncr160vppp|NCR 2900_160 viewpoint,
           use=ncr260vppp,
   ncr160vpwpp|NCR 2900_160 viewpoint wide mode,
           use=ncr260vpwpp,
   ncr160vt100an|NCR 2900_160 vt100 with ansi kybd,
           use=ncr260vt100an,
   ncr160vt100pp|NCR 2900_160 vt100 with PC+ kybd,
           use=ncr260vt100pp,
   ncr160vt100wan|NCR 2900_160 vt100 wide mode ansi kybd,
           use=ncr260vt100wan,
   ncr160vt100wpp|NCR 2900_160 vt100 wide mode pc+  kybd,
           use=ncr260vt100wpp,
   ncr160vt200an|NCR 2900_160 vt200 with ansi kybd,
           use=ncr260vt200an,
   ncr160vt200pp|NCR 2900_160 vt200 with pc+ kybd,
           use=ncr260vt200pp,
   ncr160vt200wan|NCR 2900_160 vt200 wide mode ansi kybd,
           use=ncr260vt200wan,
   ncr160vt200wpp|NCR 2900_160 vt200 wide mode pc+  kybd,
           use=ncr260vt200wpp,
   ncr160vt300an|NCR 2900_160 vt300 with ansi kybd,
           use=ncr260vt300an,
   ncr160vt300pp|NCR 2900_160 vt300 with pc+ kybd,
           use=ncr260vt300pp,
   ncr160vt300wan|NCR 2900_160 vt300 wide mode ansi kybd,
           use=ncr260vt300wan,
   ncr160vt300wpp|NCR 2900_160 vt300 wide mode pc+  kybd,
           use=ncr260vt300wpp,
   ncr160wy50+pp|NCR 2900_160 wyse 50+,
           use=ncr260wy50+pp,
   ncr160wy50+wpp|NCR 2900_160 wyse 50+ wide mode,
           use=ncr260wy50+wpp,
   ncr160wy60pp|NCR 2900_160 wyse 60,
           use=ncr260wy60pp,
   ncr160wy60wpp|NCR 2900_160 wyse 60 wide mode,
           use=ncr260wy60wpp,
   ncrvt100an|ncrvt100pp|NCR vt100 for the 2900 terminal,
           am, hs, mc5i, mir, msgr, xon,
           cols#80, it#8, lines#24, nlab#32,
           acsc=``aaffgghhiijjkkllmmnnqqttuuvvwwxxyyzz~~,
           bel=^G, blink=\E[5m$<30>, bold=\E[1m$<30>,
           clear=\E[2J\E[1;1H$<300>, cr=^M,
           csr=\E[%i%p1%d;%p2%dr$<100>, cub=\E[%p1%dD$<30>,
           cub1=\E[D$<2>, cud=\E[%p1%dB$<30>, cud1=\E[B$<2>,
           cuf=\E[%p1%dC$<30>, cuf1=\E[C$<2>,
           cup=\E[%i%p1%d;%p2%dH$<100>, cuu=\E[%p1%dA$<30>,
           cuu1=\E[A$<2>, dch=\E[%p1%dP$<40>, dch1=\E[1P$<10>,
           dl=\E[%p1%dM$<70>, dl1=\E[M$<40>, dsl=\E[31l$<25>,
           ed=\E[0J$<300>, el=\E[0K$<30>, el1=\E[1K$<30>,
           enacs=\E(B\E)0$<40>, fsl=1$<10>, home=\E[H$<2>$<80>,
           ht=^I, hts=\EH, il=\E[%p1%dL$<80>, il1=\E[B\E[L$<80>,
           ind=\ED,
           is2=\E[12h\E[?10l\E%/0n\E[P\031\E[?3l\E(B\E)0$<200>,
           kLFT=\E[D, kRIT=\E[C, ka1=\E[H, kbs=^H, kcub1=\E[D,
           kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kent=^M, kf1=\EOP,
           kf2=\EOQ, kf3=\EOR, kf4=\EOS, mc0=\E[i$<100>, nel=\EE,
           rc=\E8, rev=\E[7m$<30>, ri=\EM$<50>, rmacs=\017$<90>,
           rmir=\E[4l$<80>, rmso=\E[0m$<30>, rmul=\E[0m$<30>,
           rs2=\Ec\E[12;31h\E[?3;4;5;10l\E[?6;7;19;25h\E[33;34l\E[0m\E(B\E)0\E%/0n\E[P\031$<200>,
           sc=\E7,
           sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<100>,
           sgr0=\017\E[0m$<120>, smacs=\016$<90>, smir=\E[4h$<80>,
           smso=\E[7m$<30>, smul=\E[4m$<30>, tbc=\E[3g$<40>,
           tsl=\E[>+1$<70>,
   ncrvt100wan|NCRVT100WPP|ncrvt100wpp|NCR VT100 emulation of the 2900 terminal,
           cols#132,
           is2=\E[12h\E[?10l\E%/0n\E[P\031\E[?3h\E(B\E)0$<200>,
           rs2=\Ec\E[12;31h\E[?4;5;10l\E?3;6;7;19;25h\E[33;34l\E[0m\E(B\E)0\E%/0n\E[P\031$<200>,
           use=ncrvt100an,
   #
   # Vendor-supplied NCR termcaps end here
   
 # NCR7900 DIP switches:  # NCR7900 DIP switches:
 #  #
 # Switch A:  # Switch A:
Line 9675 
Line 11120 
         hts=\E1, ich1=\EN, il1=\EL$<5.5*>, ind=^J, ip=$<5.5*>,          hts=\E1, ich1=\EN, il1=\EL$<5.5*>, ind=^J, ip=$<5.5*>,
         kbs=^H, kf0=\ERJ, kf1=\ERA, kf2=\ERB, kf3=\ERC, kf4=\ERD,          kbs=^H, kf0=\ERJ, kf1=\ERA, kf2=\ERB, kf3=\ERC, kf4=\ERD,
         kf5=\ERE, kf6=\ERF, kf7=\ERG, kf8=\ERH, kf9=\ERI, ll=\EH\EA,          kf5=\ERE, kf6=\ERF, kf7=\ERG, kf8=\ERH, kf9=\ERI, ll=\EH\EA,
         rmso=\E!\200, sgr0=\E!\200, smso=\E!^H, tbc=\E3,          rmso=\E!\0, sgr0=\E!\0, smso=\E!^H, tbc=\E3,
 pe1251|pe6300|pe6312|perkin elmer 1251,  pe1251|pe6300|pe6312|perkin elmer 1251,
         am,          am,
         cols#80, it#8, lines#24, pb#300, vt#8, xmc#1,          cols#80, it#8, lines#24, pb#300, vt#8, xmc#1,
Line 9693 
Line 11138 
         bel=^G, cbt=\E!Y, clear=\EK, cr=^M, cub1=\ED, cud1=\EB,          bel=^G, cbt=\E!Y, clear=\EK, cr=^M, cub1=\ED, cud1=\EB,
         cuf1=\EC, cup=\ES%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,          cuf1=\EC, cup=\ES%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
         ed=\EJ, el=\EI, home=\EH, ind=^J,          ed=\EJ, el=\EI, home=\EH, ind=^J,
         is1=\E!\200\EW  7o\Egf\ES7\s, kbs=^H, kcub1=\E!V,          is1=\E!\0\EW  7o\Egf\ES7\s, kbs=^H, kcub1=\E!V,
         kcud1=\E!U, kcuf1=\E!W, kcuu1=\E!T, kf0=\E!\200, kf1=\E!^A,          kcud1=\E!U, kcuf1=\E!W, kcuu1=\E!T, kf0=\E!\0, kf1=\E!^A,
         kf10=\E!^J, kf2=\E!^B, kf3=\E!^C, kf4=\E!^D, kf5=\E!^E,          kf10=\E!^J, kf2=\E!^B, kf3=\E!^C, kf4=\E!^D, kf5=\E!^E,
         kf6=\E!^F, kf7=\E!^G, kf8=\E!^H, kf9=\E!^I, khome=\E!S,          kf6=\E!^F, kf7=\E!^G, kf8=\E!^H, kf9=\E!^I, khome=\E!S,
         ll=\ES7\s, ri=\ER,          ll=\ES7\s, ri=\ER,
 pe7000c|perkin elmer 7000 series colour monitor,  pe7000c|perkin elmer 7000 series colour monitor,
         is1=\E!\200\EW  7o\Egf\Eb0\Ec7\ES7\s, rmso=\Eb0,          is1=\E!\0\EW  7o\Egf\Eb0\Ec7\ES7\s, rmso=\Eb0,
         rmul=\E!\200, smso=\Eb2, smul=\E!\s,          rmul=\E!\0, smso=\Eb2, smul=\E!\s,
         use=pe7000m,          use=pe7000m,
   
   #### Prime
   #
   # Yes, Prime made terminals.  These entries were posted by Kevin J. Cummings
   # <cummings@primerd.prime.com> on 14 Dec 1992 and lightly edited by esr.
   # Prime merged with ComputerVision in the late 1980s; you can reach them at:
   #
   #       ComputerVision Services
   #       500 Old Connecticut Path
   #       Framingham, Mass.
   #
   
   # Standout mode is dim reverse-video.
   pt100|pt200|wren|fenix|prime pt100/pt200,
           am, bw, mir, msgr,
           cols#80, it#8, lines#24,
           cbt=\E[Z, clear=\E?, cr=^M, cub=\E[%p1%dD, cub1=^H,
           cud=\E[%p1%dB, cud1=\ED, cuf=\E[%p1%dC, cuf1=\E[C,
           cup=\E0%p1%'!'%+%c%p2%'!'%+%c, cuu=\E[%p1%dA, cuu1=\EM,
           dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[M, ed=\E[J\E[r,
           el=\E[K\E[t, flash=\E$$<200/>\E$P, home=\E$B, ht=^I,
           il1=\E[L\E[t, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B,
           kcuf1=\E[C, kcuu1=\E[A, khome=\E$A, nel=^M^J, rmcup=,
           rmir=\E[4l, rmkx=\E[>13l, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
           smcup=\E[>1l\E[>2l\E[>16l\E[4l\E[>9l\E[20l\E[>3l\E[>7h\E[>12l\E[1Q,
           smir=\E[4h, smkx=\E[>13h, smso=\E[2;7m, smul=\E[4m,
   pt100w|pt200w|wrenw|fenixw|prime pt100/pt200 in 132-column mode,
           cols#132,
           cup=\E[%i%p1%d;%p2%dH, use=pt100,
   pt250|Prime PT250,
           rmso@, smso@, use=pt100,
   pt250w|Prime PT250 in 132-column mode,
           rmso@, smso@, use=pt100w,
   
 #### Sperry Univac  #### Sperry Univac
 #  #
 # Sperry Univac has merged with Burroughs to form Unisys.  # Sperry Univac has merged with Burroughs to form Unisys.
Line 9775 
Line 11253 
 dt100|dt-100|Tandy DT-100 terminal,  dt100|dt-100|Tandy DT-100 terminal,
         xon,          xon,
         cols#80, lines#24, xmc#1,          cols#80, lines#24, xmc#1,
         acsc=kkllmmjjnnwwvvttuuqqxx, bel=^G, civis=\E[?25l,          acsc=jjkkllmmnnqqttuuvvwwxx, bel=^G, civis=\E[?25l,
         clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,          clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
         csr=\E[%p1%2d;%p2%2dr, cub1=^H, cud1=\E[B, cuf1=\E[C,          csr=\E[%p1%2d;%p2%2dr, cub1=^H, cud1=\E[B, cuf1=\E[C,
         cup=\010\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P,          cup=\010\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P,
Line 9792 
Line 11270 
 dt110|Tandy DT-110 emulating ansi,  dt110|Tandy DT-110 emulating ansi,
         xon,          xon,
         cols#80, lines#24,          cols#80, lines#24,
         acsc=kkllmmjjnnwwvvuuttqqxx, bel=^G, civis=\E[?25l,          acsc=jjkkllmmnnqqttuuvvwwxx, bel=^G, civis=\E[?25l,
         clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,          clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
         csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[0B, cuf1=\E[C,          csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[0B, cuf1=\E[C,
         cup=\010\E[%i%p1%d;%p2%dH, cuu1=\E[0A, dch1=\E[0P,          cup=\010\E[%i%p1%d;%p2%dH, cuu1=\E[0A, dch1=\E[0P,
Line 10046 
Line 11524 
 # and factory color maps.  After setting these modes, save them with NVSAVE.  No  # and factory color maps.  After setting these modes, save them with NVSAVE.  No
 # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!  # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
 # "IC" cannot be used in combination with "im" & "ei".  # "IC" cannot be used in combination with "im" & "ei".
 tek4106brl|tek4107brl|tek4109brl|Tektronix 4106, 4107, or 4109,  tek4106brl|tek4107brl|tek4109brl|Tektronix 4106 4107 or 4109,
         msgr, xon,          msgr, xon,
         cols#80, it#8, lines#32, vt#3,          cols#80, it#8, lines#32, vt#3,
         acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,          acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
Line 10268 
Line 11746 
         dch1=\E[1P, dim=\E[=1;<6m, dl1=\E[1M, ech=\E%p1%dX,          dch1=\E[1P, dim=\E[=1;<6m, dl1=\E[1M, ech=\E%p1%dX,
         ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0, home=\E[H, ht=^I,          ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0, home=\E[H, ht=^I,
         ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[1L, ind=\ED,          ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[1L, ind=\ED,
         initc=\E%%!0\n\ETF4\n%?%p1%{0}%=%t0\n%e%p1%{1}%=%t4\n%e%p1%{2}%=%t3\n%e%p1%{3}%=%t5\n%e%p1%{4}%=%t2\n%e%p1%{5}%=%t6\n%e%p1%{6}%=%t7\n%e1%;\n%?%p2%{125}%<%t0\n%e%p2%{250}%<%tA2\n%e%p2%{375}%<%tA?\n%e%p2%{500}%<%tC8\n%e%p2%{625}%<%tD4\n%e%p2%{750}%<%tE1\n%e%p2%{875}%<%tE\:\n%eF4%;\n%?%p3%{125}%<%t0\n%e%p3%{250}%<%tA2\n%e%p3%{375}%<%tA?\n%e%p3%{500}%<%tC8\n%e%p3%{625}%<%tD4\n%e%p3%{750}%<%tE1\n%e%p3%{875}%<%tE\:\n%eF4%;\n%?%p4%{125}%<%t0\n%e%p4%{250}%<%tA2\n%e%p4%{375}%<%tA?\n%e%p4%{500}%<%tC8\n%e%p4%{625}%<%tD4\n%e%p4%{750}%<%tE1\n%e%p4%{875}%<%tE\:\n%eF4%;\n\E%%!1,          initc=\E%%!0\ETF4%?%p1%{0}%=%t0%e%p1%{1}%=%t4%e%p1%{2}%=%t3%e%p1%{3}%=%t5%e%p1%{4}%=%t2%e%p1%{5}%=%t6%e%p1%{6}%=%t7%e1%;%?%p2%{125}%<%t0%e%p2%{250}%<%tA2%e%p2%{375}%<%tA?%e%p2%{500}%<%tC8%e%p2%{625}%<%tD4%e%p2%{750}%<%tE1%e%p2%{875}%<%tE\:%eF4%;%?%p3%{125}%<%t0%e%p3%{250}%<%tA2%e%p3%{375}%<%tA?%e%p3%{500}%<%tC8%e%p3%{625}%<%tD4%e%p3%{750}%<%tE1%e%p3%{875}%<%tE\:%eF4%;%?%p4%{125}%<%t0%e%p4%{250}%<%tA2%e%p4%{375}%<%tA?%e%p4%{500}%<%tC8%e%p4%{625}%<%tD4%e%p4%{750}%<%tE1%e%p4%{875}%<%tE\:%eF4%;\E%%!1,
         invis=\E[=6;<5, is1=\E%!0\ETM1\E%!1\E[m, kbs=^H,          invis=\E[=6;<5, is1=\E%!0\ETM1\E%!1\E[m, kbs=^H,
         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\EOA,          kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\EOA,
         kf1=\EOB, kf2=\EOC, kf3=\EOD, kf4=\EP, kf5=\EQ, kf6=\ER,          kf1=\EOB, kf2=\EOC, kf3=\EOD, kf4=\EP, kf5=\EQ, kf6=\ER,
         kf7=\ES,          kf7=\ES,
         oc=\E%!0\n\ETFB0\n0000\n1F4F4F4\n2F400\n30F40\n4A4C<F4\n50F4F4\n6F40F4\n7F4F40\n\E%!1,          oc=\E%!0\ETFB000001F4F4F42F40030F404A4C<F450F4F46F40F47F4F40\E%!1,
         op=\E[39;40m, rev=\E[7m, ri=\EM, rmacs=^O, rmcup=,          op=\E[39;40m, rev=\E[7m, ri=\EM, rmacs=^O, rmcup=,
         rmir=\E[4l, rmso=\E[=0;<1m, rmul=\E[24m,          rmir=\E[4l, rmso=\E[=0;<1m, rmul=\E[24m,
         setb=\E[=%?%p1%{0}%=%t0m\n%e%p1%{1}%=%t4m\n%e%p1%{2}%=%t3m\n%e%p1%{3}%=%t5m\n%e%p1%{4}%=%t2m\n%e%p1%{5}%=%t6m\n%e%p1%{6}%=%t7m\n%e1m%;,          setb=\E[=%?%p1%{0}%=%t0m%e%p1%{1}%=%t4m%e%p1%{2}%=%t3m%e%p1%{3}%=%t5m%e%p1%{4}%=%t2m%e%p1%{5}%=%t6m%e%p1%{6}%=%t7m%e1m%;,
         setf=\E[<%?%p1%{0}%=%t0m\n%e%p1%{1}%=%t4m\n%e%p1%{2}%=%t3m\n%e%p1%{3}%=%t5m\n%e%p1%{4}%=%t2m\n%e%p1%{5}%=%t6m\n%e%p1%{6}%=%t7m\n%e1m%;,          setf=\E[<%?%p1%{0}%=%t0m%e%p1%{1}%=%t4m%e%p1%{2}%=%t3m%e%p1%{3}%=%t5m%e%p1%{4}%=%t2m%e%p1%{5}%=%t6m%e%p1%{6}%=%t7m%e1m%;,
         sgr0=\E[=0;<1m\E[24;25;27m\017, smacs=^N,          sgr0=\E[=0;<1m\E[24;25;27m\017, smacs=^N,
         smcup=\E%%!1\E[?6l\E[2J, smir=\E[4h, smso=\E[=2;<3m,          smcup=\E%%!1\E[?6l\E[2J, smir=\E[4h, smso=\E[=2;<3m,
         smul=\E[4m, tbc=\E[1g,          smul=\E[4m, tbc=\E[1g,
Line 10335 
Line 11813 
 scanset|sc410|sc415|Tymshare Scan Set,  scanset|sc410|sc415|Tymshare Scan Set,
         am, bw, msgr,          am, bw, msgr,
         cols#80, lines#24,          cols#80, lines#24,
         acsc=l<m-k4j%q\,x5, bel=^G, clear=\EH\EJ, cr=^M, cub1=^H,          acsc=j%k4l<m-q\,x5, bel=^G, clear=\EH\EJ, cr=^M, cub1=^H,
         cud1=^J, cuf1=^I, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,          cud1=^J, cuf1=^I, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
         cuu1=^K, ed=\EJ, el=\EK, home=\EH, ind=^J, kcub1=\ED,          cuu1=^K, ed=\EJ, el=\EK, home=\EH, ind=^J, kcub1=\ED,
         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, mc0=\E;3, mc4=\E;0,          kcud1=\EB, kcuf1=\EC, kcuu1=\EA, mc0=\E;3, mc4=\E;0,
Line 10345 
Line 11823 
 #  #
 # If you saw a Byte Magazine cover with a terminal on it during the early  # If you saw a Byte Magazine cover with a terminal on it during the early
 # 1980s, it was probably one of these.  Carl Helmers liked them because  # 1980s, it was probably one of these.  Carl Helmers liked them because
 # they could crank 19.2 and were cheap (that is, until he tried to program  # they could crank 19.2 and were cheap (that is, he liked them until he tried
 # one...)  # to program one...)
 #  #
   
 # Missing in vc303a and vc303 descriptions:  they scroll 2 lines at a time  # Missing in vc303a and vc303 descriptions:  they scroll 2 lines at a time
Line 10592 
Line 12070 
 lisa|apple lisa console display (black on white),  lisa|apple lisa console display (black on white),
         am, eo, msgr,          am, eo, msgr,
         cols#88, it#8, lines#32,          cols#88, it#8, lines#32,
         acsc=lfmekcjdttuvvuwsqax`nb, civis=\E[5h, clear=^L,          acsc=jdkclfmenbqattuvvuwsx`, civis=\E[5h, clear=^L,
         cnorm=\E[5l, cub1=^H, cud1=\E[B, cuf1=\E[C,          cnorm=\E[5l, cub1=^H, cud1=\E[B, cuf1=\E[C,
         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,          cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
         ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L,          ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L,
Line 10659 
Line 12137 
         cup=\002%p2%{32}%+%c%p1%{32}%+%c$<2/>, cuu1=^I,          cup=\002%p2%{32}%+%c%p1%{32}%+%c$<2/>, cuu1=^I,
         dl1=^_1, ed=^K, el=^D, home=^A, il1=^_0, kcub1=^H, kcud1=^J,          dl1=^_1, ed=^K, el=^D, home=^A, il1=^_0, kcub1=^H, kcud1=^J,
         kcuf1=^I, kcuu1=^L, rev=^_\s, rmso=^_!, rmul=^_#,          kcuf1=^I, kcuu1=^L, rev=^_\s, rmso=^_!, rmul=^_#,
         sgr0=\037!\E\:\200, smso=^_\s, smul=^_",          sgr0=\037!\E\:\0, smso=^_\s, smul=^_",
 # (trs2: removed obsolete ":nl=^_:" -- esr)  # (trs2: removed obsolete ":nl=^_:" -- esr)
 trs2|trsII|trs80II|Radio Shack Model II using P&T CP/M,  trs2|trsII|trs80II|Radio Shack Model II using P&T CP/M,
         am, msgr,          am, msgr,
Line 10676 
Line 12154 
 trs16|trs-80 model 16 console,  trs16|trs-80 model 16 console,
         am,          am,
         cols#80, it#8, lines#24,          cols#80, it#8, lines#24,
         acsc=l_mbk`javewcquxs, bel=^G, civis=\ERc, clear=^L,          acsc=jak`l_mbquvewcxs, bel=^G, civis=\ERc, clear=^L,
         cnorm=\ERC, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,          cnorm=\ERC, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ,          cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ,
         dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EP, il1=\EL,          dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EP, il1=\EL,
Line 10747 
Line 12225 
 # :k0=\E9~:     map F10 to k0 - could have F0-9 -> k0-9, but ... F10 was 'k;'  # :k0=\E9~:     map F10 to k0 - could have F0-9 -> k0-9, but ... F10 was 'k;'
 # (amiga: removed obsolete :kn#10:,  # (amiga: removed obsolete :kn#10:,
 # also added empty <acsc> to suppress a warning --esr)  # also added empty <acsc> to suppress a warning --esr)
 amiga-old|Amiga ANSI,  amiga|Amiga ANSI,
         am, bw, xenl,          am, bw, xenl,
         cols#80, lines#24,          cols#80, lines#24,
         acsc=, bel=^G, blink=\E[7;2m, bold=\E[1m, cbt=\E[Z,          acsc=, bel=^G, blink=\E[7;2m, bold=\E[1m, cbt=\E[Z,
Line 10765 
Line 12243 
         smso=\E[7m, smul=\E[4m,          smso=\E[7m, smul=\E[4m,
   
 # From: Hans Verkuil <hans@wyst.hobby.nl>, 4 Dec 1995  # From: Hans Verkuil <hans@wyst.hobby.nl>, 4 Dec 1995
 # (amiga: added empty <acsc> to suppress a warning --esr)  # (amiga: added empty <acsc> to suppress a warning.
 amiga|Amiga ANSI,  # I'm told this entry screws up badly with AS225, the Amiga
   # TCP/IP package once from Commodore, and now sold by InterWorks.--esr)
   amiga-h|Hans Verkuil's Amiga ANSI,
         bw, msgr,          bw, msgr,
         cols#80, lines#24,          cols#80, lines#24,
         acsc=, bel=^G, blink=\2337;2m, bold=\2331m, cbt=\233Z,          acsc=, bel=^G, blink=\2337;2m, bold=\2331m, cbt=\233Z,
Line 10944 
Line 12424 
 # If you know anything more about any of these, please tell me.  # If you know anything more about any of these, please tell me.
 #  #
   
   # The MAI Basic Four computer was obsolete at the end of the 1980s.
   # It may be used as a terminal by putting it in "line" mode as seen on
   # one of the status lines.
   # Initialization is similar to CIT80. <is2> will set ANSI mode for you.
   # Hardware tabs set by <if> at 8-spacing.  Auto line wrap causes glitches so
   # wrap mode is reset by <cvvis>.  Using <ind>=\E[S caused errors so I
   # used \ED instead.
   # From: bf347@lafn.org (David Lawyer), 28 Jun 1997
   mai|basic4|MAI Basic Four in ansi mode,
           am, da, db, mir, msgr,
           cols#82, it#8, lines#25,
           bel=^G, blink=\E[5m, bold=\E[1m, clear=^]^_, cnorm=\E[?7h,
           cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=^X,
           cup=\E[%i%p1%d;%p2%dH, cuu1=^Z, cvvis=\E[?7l, dch1=\E[1P,
           dl1=\E[M, ed=^_, el=^^, home=^], ht=^I,
           if=/usr/lib/tabset/vt100, il1=\E[L, ind=\ED,
           is2=\E>\E[?1h\E[?7h\E[?5l\017\E(B\E[m\E[20l\E[1;24r\E[24;1H,
           kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
           kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU,
           kf7=\EOV, kf8=\EOW, nel=^M\ED, rc=\E8, rev=\E[7m, ri=\E[T,
           rmir=\E[4l, rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m,
           smir=\E[4h, smso=\E[7m, smul=\E[4m,
 # basis from Peter Harrison, Computer Graphics Lab, San Francisco  # basis from Peter Harrison, Computer Graphics Lab, San Francisco
 #   ucbvax!ucsfmis!harrison ...uucp / ucbvax!ucsfmis!harrison@BERKELEY ...ARPA  #   ucbvax!ucsfmis!harrison ...uucp / ucbvax!ucsfmis!harrison@BERKELEY ...ARPA
 # (basis: removed obsolete ":ma=^K^P^R^L^L :nl=5000*^J:" -- esr)  # (basis: removed obsolete ":ma=^K^P^R^L^L :nl=5000*^J:" -- esr)
Line 11075 
Line 12577 
 # The parent company, best known as the architects of the Internet, is  # The parent company, best known as the architects of the Internet, is
 # still around.  # still around.
 #  #
   # Jeff DelPapa <dp@world.std.com> writes:
   # The bitgraph was a large white box that contained a monochrome bitmap
   # display, and a 68000 to run it.  You could download code and run it on
   # the cpu, it had 128kb (I think) of memory.  I used one in the late
   # 70's, sure beat a vt100.  It had one strange feature tho -- it used
   # the cpu to bitblt pixels to scroll, it took longer than the refresh
   # rate, and looked like a rubber sheet stretching, then snapping
   # upwards.  It had everything the early mac had, except a floppy drive a
   # small screen (it had a 17" crisp beauty) and a real OS. They (Bolt
   # Beranek and Neuman) sold at most a few hundred of them to the real
   # world.  DOD may have bought more...
   #
   
 # Entries for the BitGraph terminals.  The problem  # Entries for the BitGraph terminals.  The problem
 # with scrolling in vi can only be fixed by getting BBN to put  # with scrolling in vi can only be fixed by getting BBN to put
Line 11140 
Line 12654 
         rmcup=\001W0\,40\,85\,48\,\014\001W0\,0\,85\,48\,\001M0\,40\,,          rmcup=\001W0\,40\,85\,48\,\014\001W0\,0\,85\,48\,\001M0\,40\,,
         rmso=\001C1\,\001c2\,,          rmso=\001C1\,\001c2\,,
         smcup=\001P0\001O1\001R1\001C4\,\001c0\,\014\001M0\,42\,WARNING DOUBLE ENTER ESCAPE and \025\001C1\,\001c2\,\001W0\,0\,79\,39\,,          smcup=\001P0\001O1\001R1\001C4\,\001c0\,\014\001M0\,42\,WARNING DOUBLE ENTER ESCAPE and \025\001C1\,\001c2\,\001W0\,0\,79\,39\,,
         smso=\001C4\,\001c7\,, uc=\001\001_\001\200,          smso=\001C4\,\001c7\,, uc=\001\001_\001\0,
   
 #### Computer Automation  #### Computer Automation
 #  #
Line 11188 
Line 12702 
         bel=^G, clear=^]^_, cr=^M, cub1=^H, cud1=^J, cuf1=^X, cuu1=^Z,          bel=^G, clear=^]^_, cr=^M, cub1=^H, cud1=^J, cuf1=^X, cuu1=^Z,
         ed=^_, el=^^, home=^], ind=^J,          ed=^_, el=^^, home=^], ind=^J,
   
   # From: Jan Willem Stumpel <jw.stumpel@inter.nl.net>, 11 May 1997
   # The Datapoint 8242 Workstation was sold at least between 1985
   # and 1989. To make the terminal work with this entry, press
   # CONTROL-INT-INT to take the terminal off-line, and type (opt).
   # Set the options AUTO ROLL, ROLL DN, and ESC KBD on, and AUTO
   # CR/LF off. Use control-shift-[] as escape key, control-I as tab,
   # shift-F1 to shift-F5 as F6 to F10 (unshifted F1 to F5 are in
   # fact unusable because the strings sent by the terminal conflict
   # with other keys).
   # The terminal is capable of displaying "box draw" characters.
   # For each graphic character you must send 2 ESC's (\E\E) followed
   # by a control character as follows:
   #         character        meaning
   #         =========        =======
   #         ctrl-E           top tee
   #         ctrl-F           right tee
   #         ctrl-G           bottom tee
   #         ctrl-H           left tee
   #         ctrl-I           cross
   #         ctrl-J           top left corner
   #         ctrl-K           top right corner
   #         ctrl-L           bottom left corner
   #         ctrl-M           bottom right corner
   #         ctrl-N           horizontal line
   #         ctrl-O           vertical line
   # Unfortunately this cannot be fitted into the termcap/terminfo
   # description scheme.
   dp8242|datapoint 8242,
           msgr,
           cols#80, lines#25,
           bel=^G, civis=^Y, clear=\025\E\004\027\030, cnorm=^X,
           cr=^M, cub1=^H, cud1=^J,
           cup=\011%p2%'\0'%+%c%p1%'\0'%+%c, dl1=\E^Z, ed=^W, el=^V,
           home=^U, ht=^I, il1=\E^T, ind=^C,
           is1=\E\014\E\016\0\230\0\317\025\027\030\E\004,
           kbs=^H, kcub1=^D, kcud1=^B, kcuf1=^F, kcuu1=^E, kf1=^G\Ee,
           kf10=\EK\Ea, kf2=^I\Ed, kf3=^J\Ec, kf4=^J\Eb, kf5=^S\Ea,
           kf6=\EO\Ee, kf7=\EN\Ed, kf8=\EM\Ec, kf9=\EL\Eb, nel=^M^J,
           rep=\E\023%p1%c%p2%c, ri=^K, rmso=\E^D, rmul=\E^D,
           rs1=\E\014\E\016\0\230\0\317\025\027\030\E\004,
           smso=\E^E, smul=\E^F,
           wind=\E\014\E\016%p1%'\0'%+%c%p2%'\0'%+%c%p3%'\0'%+%c%p4%'\0'%+%c\025,
   
 #### DEC terminals (Obsolete types: DECwriter and vt40/42/50)  #### DEC terminals (Obsolete types: DECwriter and vt40/42/50)
 #  #
 # These entries are DEC's official terminfos for its older terminals.  # These entries are DEC's official terminfos for its older terminals.
Line 11204 
Line 12761 
         os,          os,
         cols#72, lines#40,          cols#72, lines#40,
         bel=^G, cr=^M, cub1=^H, cud1=^J,          bel=^G, cr=^M, cub1=^H, cud1=^J,
   
 vt50|dec vt50,  vt50|dec vt50,
         cols#80, lines#12,          cols#80, lines#12,
         bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,          bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
Line 11213 
Line 12771 
         bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,          bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,          cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
         el=\EK, ht=^I, ind=^J, ri=\EI,          el=\EK, ht=^I, ind=^J, ri=\EI,
   # (<acsc>/<rmacs>/<smacs> capabilities aren't in DEC's official entry -- esr)
   vt52|dec vt52,
           cols#80, it#8, lines#24,
           acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
           bel=^G, clear=\EH\EJ, cr=^M, cub1=\ED, cud1=\EB, cuf1=\EC,
           cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
           el=\EK, home=\EH, ht=^I, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB,
           kcuf1=\EC, kcuu1=\EA, nel=^M^J, ri=\EI, rmacs=\EG, smacs=\EF,
   
 # (vt61: there's a BSD termcap that claims <dl1=\EPd>, <il1=\EPf.> <kbs=^H>)  # (vt61: there's a BSD termcap that claims <dl1=\EPd>, <il1=\EPf.> <kbs=^H>)
 vt61|vt-61|vt61.5|dec vt61,  vt61|vt-61|vt61.5|dec vt61,
         cols#80, lines#24,          cols#80, lines#24,
Line 11417 
Line 12984 
         smacs=\E[10m, smam=\E[?7h, smir=\E[4h, smso=\E[7m,          smacs=\E[10m, smam=\E[?7h, smir=\E[4h, smso=\E[7m,
 h19-bs|heathkit w/keypad shifted,  h19-bs|heathkit w/keypad shifted,
         rmkx=\Eu, smkx=\Et, use=h19-b,          rmkx=\Eu, smkx=\Et, use=h19-b,
 h19-smul|heathkit w/keypad shifted/underscore cursor,  h19-us|h19us|h19-smul|heathkit w/keypad shifted/underscore cursor,
         rmkx=\Eu, smkx=\Et,          rmkx=\Eu, smkx=\Et,
         use=h19-u,          use=h19-u,
 # (h19: merged in <ip> from BSDI hp19-e entry>;  # (h19: merged in <ip> from BSDI hp19-e entry>;
 # also added empty <acsc> to suppress a tic warning --esr)  # also added empty <acsc> to suppress a tic warning --esr)
   # From: Tim Pierce <twp@skepsis.com>, 23 Feb 1998
   # Tim tells us that:
   # I have an old Zenith-19 terminal at home that still gets a lot of use.
   # This terminal suffers from the same famous insert-mode padding lossage
   # that has been acknowledged for the Z29 terminal.  Emacs is nearly
   # unusable on this box, since even a half-scroll up or down the window
   # causes flaming terminal death.
   #
   # On the Z19, the only way I have found around this problem is to remove
   # the :al: and :dl: entries entirely.  No amount of extra padding will
   # help (I have tried up to 20000).  Removing <il1=\EL$> and <dl1=\EM$>
   # makes Emacs a little slower, but it remains in the land of the living.
   # Big win.
 h19|heath|h19-b|heathkit|heath-19|z19|zenith|heathkit h19,  h19|heath|h19-b|heathkit|heath-19|z19|zenith|heathkit h19,
         am, eslok, hs, mir, msgr,          am, eslok, hs, mir, msgr,
         cols#80, it#8, lines#24,          cols#80, it#8, lines#24,
         acsc=, bel=^G, clear=\EE, cnorm=\Ey4, cr=^M, cub1=^H, cud1=\EB,          acsc=, bel=^G, clear=\EE, cnorm=\Ey4, cr=^M, cub1=^H, cud1=\EB,
         cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,          cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
         cvvis=\Ex4, dch1=\EN, dl1=\EM$<1*>, ed=\EJ, el=\EK,          cvvis=\Ex4, dch1=\EN, ed=\EJ, el=\EK, fsl=\Ek\Ey5, home=\EH,
         fsl=\Ek\Ey5, home=\EH, ht=^I, il1=\EL$<1*>, ind=^J,          ht=^I, ind=^J, ip=<1.5/>, kbs=^H, kcub1=\ED, kcud1=\EB,
         ip=<1.5/>, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC,          kcuf1=\EC, kcuu1=\EA, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV,
         kcuu1=\EA, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV, kf5=\EW,          kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, khome=\EH, lf6=blue,
         kf6=\EP, kf7=\EQ, kf8=\ER, khome=\EH, lf6=blue, lf7=red,          lf7=red, lf8=white, ri=\EI, rmacs=\EG, rmir=\EO, rmso=\Eq,
         lf8=white, ri=\EI, rmacs=\EG, rmir=\EO, rmso=\Eq, smacs=\EF,          smacs=\EF, smir=\E@, smso=\Ep,
         smir=\E@, smso=\Ep, tsl=\Ej\Ex5\EY8%p1%{32}%+%c\Eo\Eo,          tsl=\Ej\Ex5\EY8%p1%{32}%+%c\Eo\Eo,
 h19-u|heathkit with underscore cursor,  h19-u|heathkit with underscore cursor,
         cnorm@, cvvis@, use=h19-b,          cnorm@, cvvis@, use=h19-b,
 h19-us|h19us|heathkit w/keypad shifted/underscore cursor,  
         rmkx=\Eu, smkx=\Et,  
         use=h19-u,  
 h19-g|h19g|heathkit w/block cursor,  h19-g|h19g|heathkit w/block cursor,
         cnorm=\Ex4, use=h19-b,          cnorm=\Ex4, use=h19-b,
 alto-h19|altoh19|altoheath|alto-heath|alto emulating heathkit h19,  alto-h19|altoh19|altoheath|alto-heath|alto emulating heathkit h19,
Line 11539 
Line 13116 
 z39-a|z39a|zenith39-a|zenith39-ansi|Zenith 39 in ANSI mode,  z39-a|z39a|zenith39-a|zenith39-ansi|Zenith 39 in ANSI mode,
         am, eslok, hs, mc5i, mir, msgr, xon,          am, eslok, hs, mc5i, mir, msgr, xon,
         cols#80, lines#24,          cols#80, lines#24,
         acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~0a, bel=^G,          acsc=0a``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G,
         blink=\E[5m, bold=\E[1m, cbt=\E[1Z, civis=\E[>5h,          blink=\E[5m, bold=\E[1m, cbt=\E[1Z, civis=\E[>5h,
         clear=\E[2J\E[H, cnorm=\E[>5l, cr=^M,          clear=\E[2J\E[H, cnorm=\E[>5l, cr=^M,
         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,          csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
Line 11555 
Line 13132 
         kf8=\EOR, kf9=\EOX, khlp=\E[~, khome=\E[H, ll=\E[24;1H,          kf8=\EOR, kf9=\EOX, khlp=\E[~, khome=\E[H, ll=\E[24;1H,
         mc0=\E[?19h\E[i, mc4=\E[4i, mc5=\E[5i, rc=\E[u, rev=\E[7m,          mc0=\E[?19h\E[i, mc4=\E[4i, mc5=\E[5i, rc=\E[u, rev=\E[7m,
         rmacs=\E(B, rmir=\E[4l, rmkx=\E[>7l, rmso=\E[0m,          rmacs=\E(B, rmir=\E[4l, rmkx=\E[>7l, rmso=\E[0m,
         rmul=\E[0m, rs2=\E<\Ec\200, sc=\E[s, sgr0=\E[0m,          rmul=\E[0m, rs2=\E<\Ec\0, sc=\E[s, sgr0=\E[0m, smacs=\E(0,
         smacs=\E(0, smir=\E[4h, smkx=\E[>7h, smso=\E[7m,          smir=\E[4h, smkx=\E[>7h, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
         smul=\E[4m, tbc=\E[3g, tsl=\E[s\E[>1h\E[25;%i%p1%dH,          tsl=\E[s\E[>1h\E[25;%i%p1%dH,
   
 # From: Brad Brahms <Brahms@USC-ECLC>  # From: Brad Brahms <Brahms@USC-ECLC>
 z100|h100|z110|z-100|h-100|heath/zenith z-100 pc with color monitor,  z100|h100|z110|z-100|h-100|heath/zenith z-100 pc with color monitor,
Line 11704 
Line 13281 
 #       Vox: (617)-890-5796.  #       Vox: (617)-890-5796.
 #  #
 # However, if you call that number today you'll get an insurance company.  # However, if you call that number today you'll get an insurance company.
 # I think Modgraph is long gone.  # I have mail from "Michael Berman, V.P. Sales, Modgraph" dated
   # 26 Feb 1997 that says:
 #  #
   # Modgraph GX-1000, replaced by GX-2000.  Both are out of production, have been
   # for ~7 years.  Modgraph still in business.  Products are rugged laptop and
   # portable PC's and specialized CRT and LCD monitors (rugged, rack-mount
   # panel-mount etc).  I can be emailed at sonfour@aol.com
   #
   # Peter D. Smith <pdsmith@nbbn.com> notes that his modgraph manual was
   # dated 1984.  According to the manual, it featured Tek 4010/4014
   # graphics and DEC VT100/VT52 + ADM-3A emulation with a VT220-style keyboard.
   #
   
 modgraph|mod24|modgraph terminal emulating vt100,  modgraph|mod24|modgraph terminal emulating vt100,
         xenl@,          xenl@,
Line 11768 
Line 13355 
 mt70|mt-70|Morrow MD-70; native Morrow mode,  mt70|mt-70|Morrow MD-70; native Morrow mode,
         am, mir, msgr, xon,          am, mir, msgr, xon,
         cols#80, it#8, lines#24,          cols#80, it#8, lines#24,
         acsc=+z\,{.yOi-x`|jGkFlEmDnHtLuKvNwMxIqJ, bel=^G,          acsc=+z\,{-x.yOi`|jGkFlEmDnHqJtLuKvNwMxI, bel=^G,
         cbt=\EI, civis=\E"0, clear=^Z, cnorm=\E"2, cr=^M, cub1=^H,          cbt=\EI, civis=\E"0, clear=^Z, cnorm=\E"2, cr=^M, cub1=^H,
         cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<1>,          cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<1>,
         cuu1=^K, dch1=\EW, dim=\EG2, dl1=\ER, ed=\EY, el=\ET$<10>,          cuu1=^K, dch1=\EW, dim=\EG2, dl1=\ER, ed=\EY, el=\ET$<10>,
Line 11826 
Line 13413 
 # "reset", "tset", or "tabs" utilities (use rt6221-w, 160 columns, for this).  # "reset", "tset", or "tabs" utilities (use rt6221-w, 160 columns, for this).
 # Note that the Control-E key is useless on this brain-damaged terminal.  No  # Note that the Control-E key is useless on this brain-damaged terminal.  No
 # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!  # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
 rt6221|Ramtek 6221, 80x24,  rt6221|Ramtek 6221 80x24,
         msgr, xon,          msgr, xon,
         cols#80, it#8, lines#24, vt#3,          cols#80, it#8, lines#24, vt#3,
         acsc=, bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[>5l,          acsc=, bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[>5l,
Line 11844 
Line 13431 
         sc=\E7, sgr0=\E[m, smacs=^N, smkx=\E=, smso=\E[7m,          sc=\E7, sgr0=\E[m, smacs=^N, smkx=\E=, smso=\E[7m,
         smul=\E[4m, tbc=\E[3g,          smul=\E[4m, tbc=\E[3g,
 # [TO DO: Check out: short forms of ho/cl and ll; reset (\Ec)].  # [TO DO: Check out: short forms of ho/cl and ll; reset (\Ec)].
 rt6221-w|Ramtek 6221, 160x48,  rt6221-w|Ramtek 6221 160x48,
         cols#160, lines#48,          cols#160, lines#48,
         ll=\E[48;1H, use=rt6221,          ll=\E[48;1H, use=rt6221,
   
Line 12093 
Line 13680 
         clear=\Ej$<30/>, cub1=^H, cuf1=\EC,          clear=\Ej$<30/>, cub1=^H, cuf1=\EC,
         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ,          cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ,
         dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EP, il1=\EL,          dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EP, il1=\EL,
         ind=\Eq, pad=\200, ri=\Ep, rmso=\ER@, rmul=\ER@, smso=\ERD,          ind=\Eq, pad=\0, ri=\Ep, rmso=\ER@, rmul=\ER@, smso=\ERD,
         smul=\ERH,          smul=\ERH,
 # teleray 16 - map the arrow keys for vi/rogue, shifted to up/down page, and  # teleray 16 - map the arrow keys for vi/rogue, shifted to up/down page, and
 # back/forth words. Put the function keys (f1-f10) where they can be  # back/forth words. Put the function keys (f1-f10) where they can be
Line 12161 
Line 13748 
 #  #
 # Texas Instruments 916 VDT 8859/1 8 bit control 132 column mode  # Texas Instruments 916 VDT 8859/1 8 bit control 132 column mode
 #  #
 ti916-8-132|Texas Instruments 916 VDT vt220 132 column,  ti916-8-132|Texas Instruments 916 VDT 8-bit vt220 132 column,
         cols#132, use=ti916-8,          cols#132, use=ti916-8,
 ti924|Texas Instruments 924 VDT 8859/1 7 bit CTRL,  ti924|Texas Instruments 924 VDT 8859/1 7 bit CTRL,
         am, xon,          am, xon,
Line 12227 
Line 13814 
         kf2=\E[N, kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S,          kf2=\E[N, kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S,
         kf8=\E[T, kf9=\E[U, khome=\E[H, knp=\E[G, kpp=\E[I,          kf8=\E[T, kf9=\E[U, khome=\E[H, knp=\E[G, kpp=\E[I,
         op=\E[37;40m, ri=\E[T, rmso=\E[m, rmul=\E[m,          op=\E[37;40m, ri=\E[T, rmso=\E[m, rmul=\E[m,
         setb=\E[4%p1%dm, setf=\E[3%p1%dm, sgr0=\E[m, smso=\E[7m,          setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[m,
         smul=\E[4m,          smso=\E[7m, smul=\E[4m,
 #  #
 #       928 VDT 7 bit control mode  #       928 VDT 7 bit control mode
 #  #
Line 12297 
Line 13884 
 ######## OBSOLETE UNIX CONSOLES  ######## OBSOLETE UNIX CONSOLES
 #  #
   
   #### Altos
   #
   # Altos made a moderately successful line of UNIX boxes.  In 1990 they were
   # bought out by Acer, a major Taiwanese manufacturer of PC-clones.
   # Acer has a web site at http://www.acer.com.
   #
   # Altos descriptions from Ted Mittelstaedt <tedm@agora.rain.com> 4 Sep 1993
   # His comments suggest they were shipped with the system.
   #
   
   # (altos2: had extension capabilities
   #       :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
   #       :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
   #       :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
   #       :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
   #       :XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
   #       :YU=^AQ\r:YD=^AR\r:YR=^AS\r:YL=^AT\r:\
   #       :HL=^AP\r:SP=\E[i:\
   #       :IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
   #       :LO=\E[0q:LC=\E[5q:LL=\E[6q:\
   # Comparison with the k* capabilities makes it obvious that the c* things are
   # shift keys.  I have renamed them to keys 32 and up accordingly.  Also,
   # :sr: was given as a boolean-- esr)
   altos2|alt2|altos-2|altos II,
           cols#80, it#8, lines#24, xmc#0,
           clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[1B, cuf1=\E[1C,
           cup=\E[%i%p1%d;%p2%dH, cuu1=\E[1A, dch1=\E[P, dl=\E[M,
           ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@,
           if=/usr/share/tabset/vt100, il1=\E[L, ind=^J,
           is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kDL=^Am\r,
           kEOL=^An\r, kbs=^H, kcbt=^AK\r, kclr=^AL\r, kcub1=\E[D,
           kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=^AM\r, kel=^AN\r,
           kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf32=^A`\r,
           kf33=^Aa\r, kf34=^Ab\r, kf35=^Ac\r, kf36=^Ad\r, kf37=^Ae\r,
           kf38=^Af\r, kf39=^Ag\r, kf4=^AC\r, kf40=^Ah\r, kf41=^Ai\r,
           kf42=^Aj\r, kf43=^Ak\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
           kf8=^AG\r, kf9=^AH\r, khome=\E[f, kil1=^AJ\r, kind=^AO\r,
           nel=^M^J, rmam=\E[?7l, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
           smam=\E[?7h, smso=\E[7m, smul=\E[4m,
   # (altos3: had extension capabilities
   #       :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
   #       :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
   #       :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
   #       :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
   #       :XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
   #       :HL=^AP\r:SP=\E[i:\
   #       :IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
   altos3|altos5|alt3|alt5|altos-3|altos-5|altos III or V,
           blink=\E[5p, ri=\EM, sgr0=\E[p,
           use=altos2,
   altos4|alt4|altos-4|altos IV,
           use=wy50,
   # (altos7: had extension capabilities:
   #       :GG#0:GI=\EH8:GF=\EH7:\
   #       :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
   #       :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
   #       :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
   #       :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
   # Comparison with the k* capabilities makes it obvious that the c* things are
   # shift keys.  I have renamed them to keys 32 and up accordingly.  I have
   # also made this entry relative to adm12 in order to give it an <sgr>. The
   # <invis> imported by use=adm+sgr may work, let me know. -- esr)
   altos7|alt7|altos VII,
           am, mir,
           cols#80, lines#24, xmc#0,
           acsc=j5k3l2m1n8q\:t4u9v=w0x6, blink=\EG2, bold=\EGt,
           clear=\E+^^, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
           cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
           dim=\EGp, dl=\ER, ed=\EY, el=\ET, home=^^, ht=^I, il1=\EE,
           ind=^J, invis=\EG1,
           is2=\E`\:\Ee(\EO\Ee6\Ec41\E~4\Ec21\Eu\E~2, kDL=^Am\r,
           kEOL=^An\r, kbs=^H, kcbt=^AK\r, kclr=^AL\r, kcub1=^H,
           kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=^AM\r, kel=^AN\r,
           kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf32=^A`\r,
           kf33=^Aa\r, kf34=^Ab\r, kf35=^Ac\r, kf36=^Ad\r, kf37=^Ae\r,
           kf38=^Af\r, kf39=^Ag\r, kf4=^AC\r, kf40=^Ah\r, kf41=^Ai\r,
           kf42=^Aj\r, kf43=^Ak\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
           kf8=^AG\r, kf9=^AH\r, khome=^^, kil1=^AJ\r, kind=^AO\r,
           knp=\EK, kpp=\EJ, mc4=\EJ, mc5=\Ed#, nel=^M^J, ri=\Ej,
           rmir=\Er, smir=\Eq,
           use=adm+sgr,
   altos7pc|alt7pc|altos PC VII,
           kend=\ET, use=altos7,
   
 #### Apollo consoles  #### Apollo consoles
 #  #
 # Apollo got bought by Hewlett-Packard.  The Apollo workstations are  # Apollo got bought by Hewlett-Packard.  The Apollo workstations are
Line 12332 
Line 14003 
   
 # Convergent AWS workstation from Gould/SEL UTX/32 via BRL  # Convergent AWS workstation from Gould/SEL UTX/32 via BRL
 # (aws: removed unknown :dn=^K: -- esr)  # (aws: removed unknown :dn=^K: -- esr)
 aws|Convergent Technologies AWS workstation under UTX,Xenix,  aws|Convergent Technologies AWS workstation under UTX and Xenix,
         am,          am,
         cols#80, lines#28, xmc#0,          cols#80, lines#28, xmc#0,
         acsc=, clear=^L, cud1=^K, cuf1=^R, cup=\EC%p2%c%p1%c,          acsc=, clear=^L, cud1=^K, cuf1=^R, cup=\EC%p2%c%p1%c,
Line 12392 
Line 14063 
 fos|fortune|Fortune system,  fos|fortune|Fortune system,
         am, bw,          am, bw,
         cols#80, lines#25,          cols#80, lines#25,
         acsc=l m"k(j*v%w#q&x-, bel=^G, blink=\EN, civis=\E],          acsc=j*k(l m"q&v%w#x-, bel=^G, blink=\EN, civis=\E],
         clear=\014$<20>, cnorm=\E\\, cr=^M, cub1=^H, cud1=\n$<3>,          clear=\014$<20>, cnorm=\E\\, cr=^M, cub1=^H, cud1=\n$<3>,
         cup=\034C%p1%{32}%+%c%p2%{32}%+%c, cuu1=\013$<3>,          cup=\034C%p1%{32}%+%c%p2%{32}%+%c, cuu1=\013$<3>,
         cvvis=\E\:, dch1=\034W$<5>, dl1=\034R$<15>,          cvvis=\E\:, dch1=\034W$<5>, dl1=\034R$<15>,
Line 12405 
Line 14076 
         rmacs=^O, rmso=^\I`, rmul=^\IP, sgr0=\EI, smacs=\Eo,          rmacs=^O, rmso=^\I`, rmul=^\IP, sgr0=\EI, smacs=\Eo,
         smso=^\H`, smul=^\HP,          smso=^\H`, smul=^\HP,
   
   #### IBM Unix consoles
   #
   
   # The following is a version of the ibm-pc entry distributed with PC/IX,
   # (Interactive Systems' System 3 for the Big Blue), modified by Richard
   # McIntosh at UCB/CSM.  The :pt: and :uc: have been removed from the original,
   # (the former is untrue, and the latter failed under UCB/man); standout and
   # underline modes have been added.  Note: this entry describes the "native"
   # capabilities of the PC monochrome display, without ANY emulation; most
   # communications packages (but NOT PC/IX connect) do some kind of emulation.
   pcix|PC/IX console,
           am, bw, eo,
           cols#80, lines#24,
           clear=\Ec, cub1=^H, cud1=\E[B, cuf1=\E[C,
           cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\E[J, el=\E[K,
           home=\E[H, rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m,
           smul=\E[4m,
   
   # (ibmpcx: this entry used to be known as ibmx.
   # It formerly included the following extension capabilities:
   #       :GC=b:GL=v:GR=t:RT=^J:\
   #       :GH=\E[196g:GV=\E[179g:\
   #       :GU=\E[193g:GD=\E[194g:\
   #       :G1=\E[191g:G2=\E[218g:G3=\E[192g:G4=\E[217g:\
   #       :CW=\E[E:NU=\E[F:RF=\E[G:RC=\E[H:\
   #       :WL=\E[K:WR=\E[L:CL=\E[M:CR=\E[N:\
   # I renamed GS/GE/WL/WR/CL/CR/PU/PD/HM/EN; also, removed a duplicate
   # ":kh=\E[Y:".  Added IBM-PC forms characters and highlights, they match
   # what was there before. -- esr)
   ibmpcx|xenix|ibmx|IBM PC xenix console display,
           am, msgr,
           cols#80, lines#25,
           clear=^L, cub1=^H, cud1=\E[B, cuf1=\E[C,
           cup=\E[%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
           ed=\E[J, el=\E[K, home=\E[H, ich1=\E[@, il1=\E[L, kbs=^H,
           kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[d,
           kf1=\E[K, kf2=\E[L, kf3=\E[M, kf4=\E[N, khome=\E[Y, knp=\E[e,
           kpp=\E[Z,
           use=klone+acs, use=klone+sgr,
   
   
 #### Masscomp consoles  #### Masscomp consoles
 #  #
 # Masscomp has gone out of business.  Their product line was purchased by  # Masscomp has gone out of business.  Their product line was purchased by
Line 12426 
Line 14138 
 masscomp2|masscomp large screen version 2,  masscomp2|masscomp large screen version 2,
         cols#64, lines#21, use=masscomp,          cols#64, lines#21, use=masscomp,
   
   
   #### Sony NEWS workstations
   #
   
   # (news-unk: this had :KB=news: -- esr)
   news-unk|SONY NEWS vt100 emulator common entry,
           am, xenl,
           cols#80,
           bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, cr=^M,
           csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C,
           cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dl=\E[%p1%dM, dl1=\E[M,
           ed=\E[J, el=\E[K, home=\E[H, ht=^I,
           if=/usr/lib/tabset/vt100, il=\E[%p1%dL, il1=\E[L,
           is2=\E[?7h\E[?1l\E[?3l\E7\E8, kbs=^H, kcub1=\EOD,
           kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOY, kf1=\EOP,
           kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV,
           kf8=\EOW, kf9=\EOX, rc=\E8, rev=\E[7m, ri=\EM,
           rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m,
           smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
   #
   # (news-29: this had :TY=ascii: --esr)
   news-29,
           lines#29, use=news-unk,
   # (news-29-euc: this had :TY=euc: --esr)
   news-29-euc,
           use=news-29,
   # (news-29-sjis: this had :TY=sjis: --esr)
   news-29-sjis,
           use=news-29,
   #
   # (news-33: this had :TY=ascii: --esr)
   news-33,
           lines#33, use=news-unk,
   # (news-33-euc: this had :TY=euc: --esr)
   news-33-euc,
           use=news-33,
   # (news-33-sjis: this had :TY=sjis: --esr)
   news-33-sjis,
           use=news-33,
   #
   # (news-42: this had :TY=ascii: --esr)
   news-42,
           lines#42, use=news-unk,
   # (news-42-euc: this had :TY=euc: --esr)
   news-42-euc,
           use=news-42,
   # (news-42-sjis: this had :TY=sjis: --esr)
   news-42-sjis,
           use=news-42,
   #
   #       NEWS-OS old termcap entry
   #
   # (news-old-unk: this had :KB=news:TY=sjis: --esr)
   news-old-unk|SONY NEWS vt100 emulator common entry,
           am, xenl,
           cols#80, vt#3,
           bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[;H\E[2J, cr=^M,
           csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C,
           cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K,
           home=\E[H, ht=^I, if=/usr/lib/tabset/vt100, kbs=^H,
           kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP,
           kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m, ri=\EM,
           rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m,
           smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
   #
   # (nwp512: this had :DE=^H:, which I think means <OTbs> --esr)
   nwp512|news|nwp514|news40|vt100-bm|sony vt100 emulator 40 lines,
           lines#40,
           is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;40r\E8, use=news-old-unk,
   #
   # (nwp512-a: this had :TY=ascii: and the alias vt100-bm --esr)
   nwp512-a|nwp514-a|news-a|news42|news40-a|sony vt100 emulator 42 line,
           lines#42,
           is2=\E[?7h\E[?1l\E[?3l\E7\E[1;42r\E8, use=news-old-unk,
   #
   # (nwp-512-o: this had :KB=nwp410:DE=^H:  I interpret the latter as <OTbs>. --esr)
   nwp512-o|nwp514-o|news-o|news40-o|vt100-bm-o|sony vt100 emulator 40 lines,
           lines#40,
           is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;40r\E8, use=news-old-unk,
   #
   # (nwp513: this had :DE=^H: and the alias vt100-bm --esr)
   nwp513|nwp518|nwe501|newscbm|news31|sony vt100 emulator 33 lines,
           lines#31,
           is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;31r\E8, use=news-old-unk,
   #
   # (nwp513-a: this had :TY=ascii: and :DE=^H:, which I interpret as <OTbs>; --esr)
   # also the alias vt100-bm.
   nwp513-a|nwp518-a|nwe501-a|nwp251-a|newscbm-a|news31-a|newscbm33|news33|sony vt100 emulator 33 lines,
           lines#33,
           is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;33r\E8, use=news-old-unk,
   #
   # (nwp513-o: had :DE=^H:, I think that's <OTbs>; also the alias vt100-bm --esr)
   nwp513-o|nwp518-o|nwe501-o|nwp251-o|newscbm-o|news31-o|sony vt100 emulator 33 lines,
           lines#31,
           is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;31r\E8, use=news-old-unk,
   #
   # (news28: this had :DE=^H:, I think that's <OTbs>, and :KB=nws1200: --esr)
   news28|sony vt100 emulator 28 lines,
           lines#28,
           is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;28r\E8, use=news-old-unk,
   #
   # (news29: this had :TY=ascii:KB=nws1200:\ --esr)
   news29|news28-a|sony vt100 emulator 29 lines,
           lines#29,
           is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;29r\E8, use=news-old-unk,
   #
   # (news511: this had :TY=sjis: --esr)
   nwp511|nwp-511|nwp-511 vt100,
           am, xenl,
           cols#80, lines#24,
           clear=\E[;H\E[2J$<20/>, cuf1=\E[C,
           cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A$<2/>, dl1=\E[M,
           ed=\E[J$<30/>, el=\E[K$<3/>,
           flash=\E[?5h\0\0\0\0\0\0\0\0\0\0\0\0\0\E[?5l,
           il1=\E[L, is2=\E[?5l\E[?1l\E>\E[?7h\E[?8h, kcub1=\E[D,
           kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ,
           kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\E#W, khome=\E[H,
           ri=\EM$<5/>, rmso=\E[m$<2/>, rmul=\E[m$<2/>,
           smso=\E[7m$<2/>, smul=\E[4m$<2/>,
   # (news517: this had :TY=sjis:. --esr)
   nwp517|nwp-517|nwp-517 vt200 80 cols 30 rows,
           eslok, hs,
           cols#80, lines#30,
           dsl=\E[1$~, fsl=\E[0$},
           is2=\E7\E[r\E8\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
           tsl=\E[1$}\E[;%df,
           use=vt200,
   # (news517-w: this had :TY=sjis:. --esr)
   nwp517-w|nwp-517-w|nwp-517 vt200 132 cols 50 rows,
           eslok, hs,
           cols#132, lines#50,
           dsl=\E[1$~, fsl=\E[0$},
           is2=\E7\E[r\E8\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h,
           tsl=\E[1$}\E[;%df,
           use=vt200,
   
   #### Obsolete virtual-terminal types.
   #
   
   # Columbus UNIX virtual terminal. This terminal also appears in
   # UNIX 4.0 and successors as line discipline 1 (?), but is
   # undocumented and does not really work quite right.
   cbunix|cb unix virtual terminal,
           am, da, db,
           cols#80, lines#24, lm#0,
           bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
           cup=\EG%p2%c%p1%c, cuu1=\EA, dch1=\EM, dl1=\EN, ed=\EL,
           el=\EK, ich1=\EO, il1=\EP, ind=^J, kcub1=\ED, kcud1=\EB,
           kcuf1=\EC, kcuu1=\EA, khome=\EE, rmso=\Eb^D, rmul=\Eb^A,
           smso=\Ea^D, smul=\Ea^A,
   # (vremote: removed obsolete ":nl@:" -- esr)
   vremote|virtual remote terminal,
           am@,
           cols#79, use=cbunix,
   
   pty|4bsd pseudo teletype,
           cup=\EG%p1%{32}%+%c%p2%{32}%+%c, rmso=\Eb$, rmul=\Eb!,
           smso=\Ea$, smul=\Ea!,
           use=cbunix,
   
 ######## OTHER OBSOLETE TYPES  ######## OTHER OBSOLETE TYPES
 #  #
 # These terminals are *long* dead -- these entries are retained for  # These terminals are *long* dead -- these entries are retained for
Line 12435 
Line 14307 
 #### Obsolete non-ANSI software emulations  #### Obsolete non-ANSI software emulations
 #  #
   
   #### Avatar
   #
   # These entries attempt to describe Avatar, a terminal emulation used with
   # MS-DOS bulletin-board systems.  It was designed to give ANSI-like
   # capabilities, but with cheaper (shorter) control sequences.  Messy design,
   # excessively dependent on PC idiosyncracies, but apparently rather popular
   # in the BBS world.
   #
   # No color support.  Avatar doesn't fit either of the Tektronix or HP color
   # models that terminfo knows about.  An Avatar color attribute is the
   # low 7 bits of the IBM-PC display-memory attribute.  Bletch.
   #
   # I wrote these entries while looking at the Avatar spec.  I don't have
   # the facilities to test them.  Let me know if they work, or don't.
   #
   # Avatar escapes not used by these entries (because maybe you're smarter
   # and more motivated than I am and can figure out how to wrap terminfo
   # around some of them, and because they are weird enough to be funny):
   #                               level 0:
   # ^L            -- clear window/reset current attribute to default
   # ^V^A%p1%c     -- set current color attribute, parameter decodes as follows:
   #
   #      bit:         6   5   4   3   2   1   0
   #                   |       |   |   |       |
   #                   +---+---+   |   +---+---+
   #                       |       |       |
   #                       |       |  foreground color
   #                       |  foreground intensity
   #                  background color
   #                               level 0+:
   # ^V^J%p1%c%p2%c%p3%c%p4%c%p5%c -- scroll (p2,p3) to (p4,p5) up by p1 lines
   # ^V^K%p1%c%p2%c%p3%c%p4%c%p5%c -- scroll (p2,p3) to (p4,p5) down by p1 lines
   # ^V^L%p1%c%p2%c%p3%c           -- clear p2 lines and p3 cols w/attr %p1
   # ^V^M%p1%c%p2%c%p3%c%p4%c      -- fill p3 lines & p4 cols w/char p2+attr %p1
   # (^V^L and ^V^M set the current attribute as a side-effect.)
   # ^V ^Y <a> [...] <c>   -- repeat pattern. <a> specifies the number of bytes
   #                          in the pattern, <c> the number of times the pattern
   #                          should be repeated. If either value is 0, no-op.
   #                          The pattern can contain Avatar console codes,
   #                          including other ^V ^Y patterns.
   #                               level 1:
   # ^V^O          -- clockwise mode on; turn print direction right each time you
   #                  hit a window edge (yes, really).  Turned off by CR
   # ^V^P          -- no-op
   # ^V^Q%c        -- query the driver
   # ^V^R          -- driver reset
   # ^V^S          -- Sound tone (PC-specific)
   # ^V^T                  -- change highlight at current cursor poition to %c
   # ^V^U%p1%c%p2%c        -- highlight window <a> with attribute <b>
   # ^V^V%p1%c%p2%c%p3%c%p4%c%p5%c
   #                       -- define window
   #
   # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
   # (The <blink>/<bold>/<rev>/<smacs>/<smul>/<smso> capabilities exist only to
   # tell ncurses that the corresponding highlights exist; it should use <sgr>,
   # which is the only method that will actually work for multiple highlights.)
   avatar0|avatar terminal emulator level 0,
           am, bce, msgr,
           cols#80, it#8, lines#25,
           blink=^A^V\177, bold=^V^A^P, cr=^M, cub1=^V^E, cud1=^V^D,
           cuf1=^V^F, cup=\026\010%p1%c%p2%c, cuu1=^V^C, el=^V^G,
           ind=^J, invis=^V^A\0, rep=\031%p1%c%p2%d, rev=^A^Vp,
           rs2=^L,
           sgr=\026\001%{0}%?%p1%t%{112}%|%;%?%p2%t%{1}%|%;%?%p3%t%{112}%|%;%?%p4%t{128}%|%;%?%p6%t%{16}%|%;,
           sgr0=^V^A^G, smacs=, smso=^A^Vp, smul=^V^A,
           use=klone+acs,
   # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
   avatar0+|avatar terminal emulator level 0+,
           dch1=^V^N, rmir=\026\n\0\0\0\0, smir=^V^I, use=avatar0,
   # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
   avatar|avatar1|avatar terminal emulator level 1,
           civis=^V'^B, cnorm=^V'^A, cvvis=^V^C, dl1=^V-, il1=^V+,
           rmam=^V", rmir=^V^P, smam=^V$,
           use=avatar0+,
   
   #### RBcomm
   #
   # RBComm is a lean and mean terminal emulator written by the Interrupt List
   # maintainer, Ralf Brown. It was fairly popular in the late DOS years (early
   # '90s), especially in the BBS world, and still has some loyal users due to
   # its very small memory footprint and to a cute macro language.
   rbcomm|IBM PC with RBcomm and EMACS keybindings,
           am, bw, mir, msgr, xenl,
           cols#80, it#8, lines#25,
           bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
           clear=^L, cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr,
           cub1=^H, cud1=^C, cuf1=^B,
           cup=\037%p2%{32}%+%c%p1%{32}%+%c, cuu1=^^,
           cvvis=\E[?25h, dch1=^W, dl=\E[%p1%dM, dl1=^Z,
           ech=\E[%p1%dX, ed=^F5, el=^P^P, ht=^I, il=\E[%p1%dL, il1=^K,
           ind=\ED, invis=\E[8m,
           is2=\017\035\E(B\E)0\E[?7h\E[?3l\E[>8g, kbs=^H,
           kcub1=^B, kcud1=^N, kcuf1=^F, kcuu1=^P, khome=^A, nel=^M\ED,
           rc=\E8, rep=\030%p1%c%p2%c, rev=^R, ri=\EM, rmcup=, rmdc=,
           rmir=^], rmkx=\E>, rmso=^U, rmul=^U,
           rs1=\017\E(B\E)0\025\E[?3l\E[>8g, sc=\E7, sgr0=\E[m,
           smcup=, smdc=, smir=^\, smkx=\E=, smso=^R, smul=^T,
   rbcomm-nam|IBM PC with RBcomm without autowrap,
           am@,
           bel=^G, cr=^M, cud1=^J, ht=^I, ind=^J,
           is2=\017\035\E(B\E)0\E[?7l\E[?3l\E[>8g, kbs=^H,
           kcub1=^H, kcud1=^J, nel=^M^J,
           use=rbcomm,
   rbcomm-w|IBM PC with RBcomm in 132 column mode,
           cols#132,
           bel=^G, cr=^M, cud1=^J, ht=^I, ind=^J,
           is2=\017\035\E(B\E)0\E[?7h\E[?3h\E[>8g, kbs=^H,
           kcub1=^H, kcud1=^J, nel=^M^J,
           use=rbcomm,
   
 # CTRM terminal emulator  # CTRM terminal emulator
 # 1. underlining is not allowed with colors: first, is is simulated by  # 1. underlining is not allowed with colors: first, is is simulated by
 # black on white, second, it disables background color manipulations.  # black on white, second, it disables background color manipulations.
Line 12475 
Line 14457 
         kcud1=\Ew\r, kcuf1=\Ev\r, kcuu1=\Et\r, kf1=\Ep\r,          kcud1=\Ew\r, kcuf1=\Ev\r, kcuu1=\Et\r, kf1=\Ep\r,
         kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, kf6=\Eu\r,          kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, kf6=\Eu\r,
         kf7=\Ev\r, kf8=\Ew\r, khome=\Ep\r,          kf7=\Ev\r, kf8=\Ew\r, khome=\Ep\r,
         op=\E&bn\E&bB\E&bG\E&bR\n%{0}%PX%{0}%PY%{0}%PZ\n%{1}%PW%{1}%PV%{1}%PU,          op=\E&bn\E&bB\E&bG\E&bR%{0}%PX%{0}%PY%{0}%PZ%{1}%PW%{1}%PV%{1}%PU,
         rev=%?%gB%{0}%=%t\E&dB%{1}%PB%;, rmir=\ER, rmkx=\E&jA,          rev=%?%gB%{0}%=%t\E&dB%{1}%PB%;, rmir=\ER, rmkx=\E&jA,
         setb=\E&bn\n%?%gA%t\E&dA%;\n%?%gB%t\E&dB%;\n%?%gH%t\E&dH%;\n%?%gU%t\E&bR%;\n%?%gV%t\E&bG%;\n%?%gW%t\E&bB%;\n\n%?%p1%{1}%&%t\E&bb%{1}%e%{0}%;%PZ\n%?%p1%{2}%&%t\E&bg%{1}%e%{0}%;%PY\n%?%p1%{4}%&%t\E&br%{1}%e%{0}%;%PX,          setb=\E&bn%?%gA%t\E&dA%;%?%gB%t\E&dB%;%?%gH%t\E&dH%;%?%gU%t\E&bR%;%?%gV%t\E&bG%;%?%gW%t\E&bB%;%?%p1%{1}%&%t\E&bb%{1}%e%{0}%;%PZ%?%p1%{2}%&%t\E&bg%{1}%e%{0}%;%PY%?%p1%{4}%&%t\E&br%{1}%e%{0}%;%PX,
         setf=\E&bn\n%?%gA%t\E&dA%;\n%?%gB%t\E&dB%;\n%?%gH%t\E&dH%;\n%?%gX%t\E&br%;\n%?%gY%t\E&bg%;\n%?%gZ%t\E&bb%;\n\n%?%p1%{1}%&%t\E&bB%{1}%e%{0}%;%PW\n%?%p1%{2}%&%t\E&bG%{1}%e%{0}%;%PV\n%?%p1%{4}%&%t\E&bR%{1}%e%{0}%;%PU,          setf=\E&bn%?%gA%t\E&dA%;%?%gB%t\E&dB%;%?%gH%t\E&dH%;%?%gX%t\E&br%;%?%gY%t\E&bg%;%?%gZ%t\E&bb%;%?%p1%{1}%&%t\E&bB%{1}%e%{0}%;%PW%?%p1%{2}%&%t\E&bG%{1}%e%{0}%;%PV%?%p1%{4}%&%t\E&bR%{1}%e%{0}%;%PU,
         sgr=\E&d@%{0}%PA%{0}%PB%{0}%PD%{0}%PH\n%?%p1%p3%p5%|%|%t\E&dB%{1}%PB%;\n%?%p4%t\E&dA%{1}%PA%;\n%?%p6%t\E&dH%{1}%PH%;\n%?%p2%t\E&dD%;,          sgr=\E&d@%{0}%PA%{0}%PB%{0}%PD%{0}%PH%?%p1%p3%p5%|%|%t\E&dB%{1}%PB%;%?%p4%t\E&dA%{1}%PA%;%?%p6%t\E&dH%{1}%PH%;%?%p2%t\E&dD%;,
         sgr0=\E&d@%{0}%PA%{0}%PB%{0}%PH, smir=\EQ, smkx=\E&jB,          sgr0=\E&d@%{0}%PA%{0}%PB%{0}%PH, smir=\EQ, smkx=\E&jB,
         smso=\E&dD, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY,          smso=\E&dD, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY,
   
Line 12490 
Line 14472 
 gs6300|emots|AT&T PC6300 with EMOTS terminal emulator,  gs6300|emots|AT&T PC6300 with EMOTS terminal emulator,
         am, bce, msgr, xon,          am, bce, msgr, xon,
         colors#8, cols#80, it#8, lines#24, pairs#63,          colors#8, cols#80, it#8, lines#24, pairs#63,
         acsc=\,\,..--++``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,          acsc=++\,\,--..``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M,          bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M,
         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,          cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,          cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
Line 12502 
Line 14484 
         kf4=\E[23s, kf5=\E[2s, kf6=\E[22s, kf7=\E[3s, kf8=\E[21s,          kf4=\E[23s, kf5=\E[2s, kf6=\E[22s, kf7=\E[3s, kf8=\E[21s,
         khome=\E[H, mc4=\E[4i, mc5=\E[5i, op=\E[?;m, rev=\E[7m,          khome=\E[H, mc4=\E[4i, mc5=\E[5i, op=\E[?;m, rev=\E[7m,
         ri=\E[L, rmacs=\E[10m, rs1=\Ec, setb=\E[?;%p1%dm,          ri=\E[L, rmacs=\E[10m, rs1=\Ec, setb=\E[?;%p1%dm,
         setf=\E[?%?%p1%{0}%=%t0\n%e%p1%{1}%=%t2\n%e%p1%{1}%-%d%;m,          setf=\E[?%?%p1%{0}%=%t0%e%p1%{1}%=%t2%e%p1%{1}%-%d%;m,
         sgr0=\E[m\E[10m, smacs=\E[11m, smso=\E[1m, smul=\E[4m,          sgr0=\E[m\E[10m, smacs=\E[11m, smso=\E[1m, smul=\E[4m,
   
 # From: <earle@smeagol.UUCP> 29 Oct 85 05:40:18 GMT  # From: <earle@smeagol.UUCP> 29 Oct 85 05:40:18 GMT
Line 12536 
Line 14518 
   
 # From: Rick Thomas <ihnp4!btlunix!rbt>  # From: Rick Thomas <ihnp4!btlunix!rbt>
 # (xtalk: I added <rmam>/<smam> based on the init string.  # (xtalk: I added <rmam>/<smam> based on the init string.
 # I also removed <xmc#1> and the trailing \s characters from the highlight  
 # changers, I don't believe these on a VT100-emulating PC display -- esr)  
 xtalk|IBM PC with xtalk communication program (versions up to 3.4),  xtalk|IBM PC with xtalk communication program (versions up to 3.4),
         am, mir, msgr, xon,          am, mir, msgr, xon,
         cols#80, it#8, lines#24, vt#3,          cols#80, it#8, lines#24, vt#3, xmc#1,
         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,          acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
         bel=^G, clear=\E[H\E[J$<50>, cr=^M, cub=\E[%p1%dD, cub1=^H,          bel=^G, clear=\E[H\E[J$<50>, cr=^M, cub=\E[%p1%dD, cub1=^H,
         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C$<2>,          cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C$<2>,
Line 12552 
Line 14532 
         kcuu1=\EOA, kent=\EOM, kf0=\EOy, kf1=\EOP, kf10=\EOx,          kcuu1=\EOA, kent=\EOM, kf0=\EOy, kf1=\EOP, kf10=\EOx,
         kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt, kf6=\EOu, kf7=\EOv,          kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt, kf6=\EOu, kf7=\EOv,
         kf8=\EOl, kf9=\EOw, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l,          kf8=\EOl, kf9=\EOw, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l,
         rmkx=\E[?1l\E>, rmso=\E[m,          rmkx=\E[?1l\E>, rmso=\E[m\s,
         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sgr0=\E[m,          rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sgr0=\E[m,
         smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m,          smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m\s,
         tbc=\E[3g,          tbc=\E[3g,
   
 # The official PC terminal emulator program of the AT&T Product Centers.  # The official PC terminal emulator program of the AT&T Product Centers.
Line 12567 
Line 14547 
         dl1=\EM, ed=\EJ, el=\EK, home=\EH, il1=\EL, ind=^J, rmcup=\EVE,          dl1=\EM, ed=\EJ, el=\EK, home=\EH, il1=\EL, ind=^J, rmcup=\EVE,
         rmso=\E&d@, sgr0=\E&d@, smcup=\EVS, smso=\E&dB,          rmso=\E&d@, sgr0=\E&d@, smcup=\EVS, smso=\E&dB,
   
 #### Daisy wheel printers  
 #  
 # This section collects Diablo, DTC, Xerox, Qume, and other daisy  
 # wheel terminals.  These are now largely obsolete.  
 #  
   
 # (diablo1620: removed <if=/usr/share/tabset/xerox1720>, no such file -- esr)  
 diablo1620|diablo1720|diablo450|ipsi|diablo 1620,  
         hc, os,  
         cols#132, it#8,  
         cub1=^H, cud1=^J, cuu1=\E^J, hd=\ED, hpa=\E\011%i%p1%c,  
         ht=^I, hts=\E1, hu=\EU, kbs=^H, tbc=\E2,  
 diablo1620-m8|diablo1640-m8|diablo 1620 w/8 column left margin,  
         cols#124,  
         is2=\r        \E9, use=diablo1620,  
 # (diablo1640: removed <if=/usr/share/tabset/xerox1730>, no such file -- esr)  
 diablo1640|diablo1730|diablo1740|diablo630|x1700|diablo|xerox|diablo 1640,  
         bel=^G, rmso=\E&, rmul=\ER, smso=\EW, smul=\EE,  
         use=diablo1620,  
 # (diablo1640-lm: removed <if=/usr/share/tabset/xerox1730-lm>, no such  
 # file -- esr)  
 diablo1640-lm|diablo-lm|xerox-lm|diablo 1640 with indented left margin,  
         cols#124,  
         rmso=\E&, rmul=\ER, smso=\EW, smul=\EE, use=diablo1620,  
 diablo1740-lm|630-lm|1730-lm|x1700-lm|diablo 1740 printer,  
         use=diablo1640-lm,  
 # DTC 382 with VDU.  Has no <ed> so we fake it with <el>.  Standout  
 # <smso=^P\s\002^PF> works but won't go away without dynamite <rmso=^P\s\200>.  
 # The terminal has tabs, but I'm getting tired of fighting the braindamage.  
 # If no tab is set or the terminal's in a bad mood, it glitches the screen  
 # around all of memory.  Note that return puts a blank ("a return character")  
 # in the space the cursor was at, so we use ^P return (and thus ^P newline for  
 # newline).  Note also that if you turn off :pt: and let Unix expand tabs,  
 # curses won't work (some old BSD versions) because it doesn't clear this bit,  
 # and cursor addressing sends a tab for row/column 9.  What a losing terminal!  
 # I have been unable to get tabs set in all 96 lines - it always leaves at  
 # least one line with no tabs in it, and once you tab through that line,  
 # it completely weirds out.  
 # (dtc382: change <rmcup> to <smcup> -- it  just does a clear --esr)  
 dtc382|DTC 382,  
         am, da, db, xhp,  
         cols#80, lines#24, lm#96,  
         bel=^G, clear=\020\035$<20>, cnorm=^Pb, cr=^P^M, cub1=^H,  
         cuf1=^PR, cup=\020\021%p2%c%p1%c, cuu1=^P^L, cvvis=^PB,  
         dch1=^X, dl1=^P^S, ed=\020\025\020\023\020\023, el=^P^U,  
         home=^P^R, il1=^P^Z, ind=^J, pad=\177, rmcup=, rmir=^Pi,  
         rmul=^P \200, smcup=\020\035$<20>, smir=^PI, smul=^P ^P,  
 dtc300s|DTC 300s,  
         hc, os,  
         cols#132,  
         bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, ff=^L, hd=\Eh, ht=^I,  
         hts=\E1, hu=\EH, ind=^J, kbs=^H, tbc=\E3,  
 gsi|mystery gsi terminal,  
         hc, os,  
         cols#132,  
         bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, hd=\Eh, ht=^I, hu=\EH,  
         ind=^J,  
 aj830|aj832|aj|anderson jacobson,  
         hc, os,  
         bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E7, hd=\E9, hu=\E8,  
         ind=^J,  
 # From: Chris Torek <chris@gyre.umd.edu> Thu, 7 Nov 85 18:21:58 EST  
 aj510|Anderson-Jacobson model 510,  
         am, mir,  
         cols#80, lines#24,  
         clear=^L, cub1=^H, cuf1=\EX,  
         cup=\E#%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EY,  
         dch1=.1*\E'D, dl1=\E&D$<2*/>, ed=\E'P, el=\E'L, ich1=,  
         il1=\E&I$<2*/>, ip=$<.1*/>, kcub1=\EW, kcud1=\EZ,  
         kcuf1=\EX, kcuu1=\EY, pad=\177, rmcup=\E"N, rmir=\E'J,  
         rmso=\E"I, rmul=\E"U, smcup=\E"N, smir=\E'I, smso=\E"I,  
         smul=\E"U,  
 # From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981  
 # This is incomplete, but it's a start.  
 nec5520|nec|spinwriter|nec 5520,  
         hc, os,  
         cols#132, it#8,  
         bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E9, ff=^L,  
         hd=\E]s\n\E]W, ht=^I, hts=\E1, hu=\E]s\E9\E]W, ind=^J,  
         kbs=^H, tbc=\E3,  
 qume5|qume|Qume Sprint 5,  
         hc, os,  
         cols#80, it#8,  
         bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, ff=^L, hd=\Eh, ht=^I,  
         hts=\E1, hu=\EH, ind=^J, kbs=^H, tbc=\E3,  
 # I suspect the xerox 1720 is the same as the diablo 1620.  
 xerox1720|x1720|x1750|xerox 1720,  
         hc, os,  
         cols#132, it#8,  
         bel=^G, cr=^M, cub1=^H, cud1=^J, ff=^L, ht=^I, hts=\E1, ind=^J,  
         tbc=\E2,  
   
 #### Miscellaneous obsolete terminals, manufacturers unknown  #### Miscellaneous obsolete terminals, manufacturers unknown
 #  #
 # If you have any information about these (like, a manufacturer's name,  # If you have any information about these (like, a manufacturer's name,
Line 12713 
Line 14601 
 dwk|dwk-vt|dwk terminal,  dwk|dwk-vt|dwk terminal,
         am,          am,
         cols#80, it#8, lines#24,          cols#80, it#8, lines#24,
         acsc=lJmFkCjXtEuPv\\wKqUxWnNo~s_`+a\:f'g#~_\\\,Q+\^.M-Sh#I#0\177,          acsc=+\^\,Q-S.M0\177`+a\:f'g#h#i#jXkClJmFnNo~qUs_tEuPv\\wKxW~_,
         bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,          bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
         cup=\EY%p1%' '%+%c%p2%' '%+%c, cuu1=\EA, dch1=\EP,          cup=\EY%p1%' '%+%c%p2%' '%+%c, cuu1=\EA, dch1=\EP,
         ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EQ, ind=^J, kbs=\177,          ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EQ, ind=^J, kbs=\177,
Line 12792 
Line 14680 
         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^_, cuu1=^K,          bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^_, cuu1=^K,
         home=^^, ind=^J,          home=^^, ind=^J,
 # From: Mark Dornfeld <romwa@ucbvax.berkeley.edu>  # From: Mark Dornfeld <romwa@ucbvax.berkeley.edu>
 #               This termcap is for the LANPAR Technologies VISION 3220  # This description is for the LANPAR Technologies VISION 3220
 #       terminal.  The function key definitions k0-k5 represent the  # terminal from 1984/85.  The function key definitions k0-k5 represent the
 #       edit keypad: FIND, INSERT HERE, REMOVE, SELECT, PREV SCREEN,  # edit keypad: FIND, INSERT HERE, REMOVE, SELECT, PREV SCREEN,
 #       NEXT SCREEN. The key definitions k6-k9 represent the PF1 to  # NEXT SCREEN. The key definitions k6-k9 represent the PF1 to PF4 keys.
 #       PF4 keys.  
 # (v3220: removed obsolete ":kn#10:",  # (v3220: removed obsolete ":kn#10:",
 # I added <rmam>/<smam> based on the init string -- esr)  # I added <rmam>/<smam> based on the init string -- esr)
 v3220|LANPAR Vision II model 3220/3221/3222,  v3220|LANPAR Vision II model 3220/3221/3222,
Line 12811 
Line 14698 
         kf8=\E[OR, kf9=\E[OS, khome=\E[H, ri=\EM, rmam=\E[?7l,          kf8=\E[OR, kf9=\E[OS, khome=\E[H, ri=\EM, rmam=\E[?7l,
         rmir=\E[4l, rmkx=\E>, rmso=\E[m, rmul=\E[m, sgr0=\E[m,          rmir=\E[4l, rmkx=\E>, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
         smam=\E[?7h, smir=\E[4h, smkx=\E=, smso=\E[7m, smul=\E[4m,          smam=\E[?7h, smir=\E[4h, smkx=\E=, smso=\E[7m, smul=\E[4m,
 # From: iang@cs.berkeley.edu  
 pilot|tgtelnet,  
         am, xenl,  
         cols#39, lines#16,  
         bel=^G, clear=\Ec, cr=^M, cub1=^H, cud1=^J,  
         cup=\Em%p1%{32}%+%c%p2%{32}%+%c, home=\Em  , ht=^I,  
         ind=^J, kbs=^H, kcub1=^H, kcud1=^J, knp=^L, kpp=^K,  
         nel=\Em~ , rmso=\EB, smso=\Eb,  
 ######## ICH/ICH1 VERSUS RMIR/SMIR  ######## ICH/ICH1 VERSUS RMIR/SMIR
 #  #
 # Some non-curses applications get confused if both ich/ich1 and rmir/smir  # Some non-curses applications get confused if both ich/ich1 and rmir/smir
 # are present; the symptom is doubled characters in an update using insert.  # are present; the symptom is doubled characters in an update using insert.
 # These applications are technically correct; in both 4.3BSD termcap and  # These applications are technically correct; in both 4.3BSD termcap and
 # terminfo, you're not actually supposed to specify both ich/ich1 and rmir/smir  # terminfo, you're not actually supposed to specify both ich/ich1 and rmir/smir
 # unless the terminal needs both.  This requirement is now rare; most ich  # unless the terminal needs both.  To my knowledge, no terminal still in this
 # sequences do not require previous smir, and most smir insert modes do not  # file requires both other than the very obsolete dm2500.
 # require ich1 before each character.  
 #  #
 # For ncurses-based applications this is not a problem, as ncurses uses  # For ncurses-based applications this is not a problem, as ncurses uses
 # one or the other as appropriate but never mixes the two.  Therefore we  # one or the other as appropriate but never mixes the two.  Therefore we
Line 13980 
Line 15858 
 # 9.13.24 (Sun Feb 23 20:55:23 EST 1997):  # 9.13.24 (Sun Feb 23 20:55:23 EST 1997):
 #       * Thorsten Lockert added termcap `bs' to a lot of types, working from  #       * Thorsten Lockert added termcap `bs' to a lot of types, working from
 #         the 4.4BSD Lite2 file.  #         the 4.4BSD Lite2 file.
   # 9.13.25 (Fri Jun 20 12:33:36 EDT 1997):
   #       * Added Datapoint 8242, pilot, ansi_psx, rbcomm, vt220js.
   #       * Updated iris-ansi; corrected vt102-w.
   #       * Switch base xterm entry to 3.3 level.
   # 9.13.26 (Mon Jun 30 22:45:45 EDT 1997)
   #       * Added basic4.
   #       * Removed rmir/smir from tv92B.
 #  #
 # The following sets edit modes for GNU EMACS  # 10.2.0 (Sat Feb 28 12:47:36 EST 1998):
   #       * add hds200 description (Walter Skorski)
   #       * add beterm entry (Fred Fish)
   #       * add Thomas Dickey's xterm-xf86-v40, xterm-8bit, xterm-16color,
   #         iris-color entries.
   #       * add emx entries.
   #       * Replaced unixpc entry with Benjamin Sittler's corrected version.
   #       * Replaced xterm/rxvt/emu/syscons entries with Thomas Dickey's
   #         versions.
   #       * remove sgr string from qnx based on report by Xiaodan Tang
   #       * Added u8/u9, removed rmul/smul from sun-il.
   #       * 4.2 tic displays \0 rather than \200.
   #       * add linux-koi8r to replace linux-koi8 (which uses a corrupt acsc,
   #         apparently based on cp-866).
   #       * Merged in Pavel Roskin's acsc for linux-koi8
   #       * Corrected some erroneous \\\s to \.
   #       * 4.2 ncurses has been changed to use setaf/setab, consistent w/SysV.
   #       * II -> ii in pcvtXX, screen, xterm.
   #       * Removed \n chars following ANSI escapes in sgr & friends.
   #       * Updated Wyse entries.
   #       * h19 corrections from Tim Pierce.
   #       * Noted that the dm2500 has both ich and smir.
   #       * added pccons for the Alpha under OSF/1.
   #       * Added Sony NEWS workstation entries and cit101e-rv.
   #       * Reverted `amiga'; to Kent Polk's version, as I'm told
   #         the Verkuil entry messes up with Amiga Telnet.
   # 10.2.1 (Sun Mar  8 18:32:04 EST 1998):
   #       * Corrected attributions in 10.2.0 release notes.
   #       * Scanned the Shuford archive for new terminfos and information.
   #       * Removed sgr from qnx entry (Thomas Dickey).
   #       * Added entries for ICL and Kokusai Data Systems terminals.
   #       * Incorporated NCR terminfos from the Boundless Technology FTP site.
   #       * Incorporated att700 from the Boundless Technology FTP site.
   #       * Miscellaneous contact-address and Web-page updates.
   # 10.2.2 (Thu May  7 12:18:04 EDT 1998):
   #       * Moved Altos to OBSOLETE UNIX CONSOLES
   #       * Moved Hewlett-Packard terminals to OLDER TERMINAL TYPES, except for
   #         the 700s which go to WORKSTATION CONSOLES.
   #       * Major reorganization of ANSI/console/VT types.  Moved vt52 to the
   #         obsolete section.
   #       * Daisy-wheel printers moved to UFO file.
   # 10.2.3 (Tue May 12 22:59:11 EDT 1998):
   #       * Commented out hds200 is2 to avoid overflowing terminfo length limit.
   #       * Restored OT capabilities to UFO file.
   #       * add nxterm and xterm-color terminfo description (request by Cristian
   #         Gafton <gafton@redhat.com>).
   #       * Modify rxvt terminfo description to clear alternate screen before
   #         switching back to normal screen, for compatibility with applications
   #         which use xterm (reported by Manoj Kasichainula <manojk@io.com>).
   #       * Modify linux terminfo description to reset color palette (reported
   #         by Telford Tendys <telford@eng.uts.edu.au>).
   #
   # The following sets edit modes for GNU EMACS.
 # Local Variables:  # Local Variables:
 # fill-prefix:"\t"  # fill-prefix:"\t"
 # fill-column:75  # fill-column:75
   # comment-column:0
   # comment-start-skip:"^#+"
   # comment-start:"# "
   # compile-command:"tic -c termtypes.master"
 # End:  # End:
 ######## SHANTIH!  SHANTIH!  SHANTIH!  ######## SHANTIH!  SHANTIH!  SHANTIH!

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8