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

Diff for /src/share/termtypes/termtypes.master between version 1.37 and 1.38

version 1.37, 2009/07/12 21:09:37 version 1.38, 2009/10/28 20:17:28
Line 2 
Line 2 
 #  #
 # $OpenBSD$  # $OpenBSD$
 #  #
 # This version of terminfo.src is distributed with ncurses.  # This version of terminfo.src is distributed with ncurses and is maintained
 # Report bugs to  # by Thomas E. Dickey (TD).
   #
   # Report bugs and new terminal descriptions to
 #       bug-ncurses@gnu.org  #       bug-ncurses@gnu.org
 #  #
   #       $Revision$
   #       $Date$
   #
   # The original header is preserved below for reference.  It is noted that there
   # is a "newer" version which differs in some cosmetic details (but actually
   # stopped updates several years ago); we have decided to not change the header
   # unless there is also a change in content.
   #
   # To further muddy the waters, it is noted that changes to this file as part of
   # maintenance of ncurses (since 1996) are generally conceded to be copyright
   # under the ncurses MIT-style license.  That was the effect of the agreement
   # which the principal authors of ncurses made in 1998.  However, since much of
   # the file itself is of unknown authorship (and the disclaimer below makes it
   # obvious that Raymond cannot or will not convey rights over those parts),
   # there is no explicit copyright notice on the file itself.
   #
   # It would also be a nuisance to split the file into unknown/known authorship
   # and move pieces as they are maintained, since many of the maintenance changes
   # have been small corrections to Raymond's translations to/from termcap format,
   # correcting the data but not the accompanying annotations.
   #
   # In any case, note that almost half of this file is not data but annotations
   # which reflect creative effort.  Furthermore, the structure of entries to
   # reuse common chunks also is creative (and subject to copyright).  Finally,
   # some portions of the data are derivative work under a compatible MIT-style
   # license from xterm.
   #
   #------------------------------------------------------------------------------
 #       Version 10.2.1  #       Version 10.2.1
 #       Date: 2001/02/11 01:36:18  
 #       terminfo syntax  #       terminfo syntax
 #  #
 #       Eric S. Raymond         (current maintainer)  #       Eric S. Raymond         (current maintainer)
Line 286 
Line 315 
         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, ht=^I, kcub1=^H,          bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, ht=^I, kcub1=^H,
         kcud1=^J, nel=^M^J, .kbs=^H,          kcud1=^J, nel=^M^J, .kbs=^H,
   
 vanilla,  vanilla|dumb tty,
         OTbs,          OTbs,
         bel=^G, cr=^M, cud1=^J, ind=^J,          bel=^G, cr=^M, cud1=^J, ind=^J,
   
   # This is almost the same as "dumb", but with no prespecified width.
   # DEL and ^C are hardcoded to act as kill characters.
   # ^D acts as a line break (just like newline).
   # It also interprets
   #      \033];xxx\007
   # for compatibility with xterm -TD
   9term|Plan9 terminal emulator for X,
           am,
           OTnl=^J, bel=^G, cud1=^J,
   
 #### ANSI.SYS/ISO 6429/ECMA-48 Capabilities  #### ANSI.SYS/ISO 6429/ECMA-48 Capabilities
 #  #
 # See the end-of-file comment for more on these.  # See the end-of-file comment for more on these.
Line 303 
Line 342 
         cub=\E[%p1%dD, cud=\E[%p1%dB, cuf=\E[%p1%dC,          cub=\E[%p1%dD, cud=\E[%p1%dB, cuf=\E[%p1%dC,
         cuu=\E[%p1%dA, use=ansi+local1,          cuu=\E[%p1%dA, use=ansi+local1,
 ansi+tabs,  ansi+tabs,
         cbt=\E[Z, ht=^I, hts=\EH, tbc=\E[2g,          cbt=\E[Z, ht=^I, hts=\EH, tbc=\E[3g,
 ansi+inittabs,  ansi+inittabs,
         it#8, use=ansi+tabs,          it#8, use=ansi+tabs,
 ansi+erase,  ansi+erase,
Line 324 
Line 363 
         kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,          kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
         khome=\E[H,          khome=\E[H,
 ansi+sgr|ansi graphic renditions,  ansi+sgr|ansi graphic renditions,
         blink=\E[5m, invis=\E[8m, rev=\E[7m, sgr0=\E[0m,          blink=\E[5m, invis=\E[8m, rev=\E[7m,
           sgr=\E[0%?%p3%t;7%;%?%p4%t;5%;%?%p7%t;8%;m,
           sgr0=\E[0m,
 ansi+sgrso|ansi standout only,  ansi+sgrso|ansi standout only,
         rmso=\E[m, smso=\E[7m,          rmso=\E[m, smso=\E[7m,
 ansi+sgrul|ansi underline only,  ansi+sgrul|ansi underline only,
         rmul=\E[m, smul=\E[4m,          rmul=\E[m, smul=\E[4m,
 ansi+sgrbold|ansi graphic renditions; assuming terminal has bold; not dim,  ansi+sgrbold|ansi graphic renditions; assuming terminal has bold; not dim,
         bold=\E[1m,          bold=\E[1m,
         sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m,          sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m,
         use=ansi+sgr, use=ansi+sgrso, use=ansi+sgrul,          use=ansi+sgr, use=ansi+sgrso, use=ansi+sgrul,
 ansi+sgrdim|ansi graphic renditions; assuming terminal has dim; not bold,  ansi+sgrdim|ansi graphic renditions; assuming terminal has dim; not bold,
         dim=\E[2m,          dim=\E[2m,
         sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p5%t2;%;m,          sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p5%t2;%;%?%p7%t8;%;m,
         use=ansi+sgr, use=ansi+sgrso, use=ansi+sgrul,          use=ansi+sgr, use=ansi+sgrso, use=ansi+sgrul,
 ansi+pp|ansi printer port,  ansi+pp|ansi printer port,
         mc0=\E[0i, mc4=\E[4i, mc5=\E[5i,          mc0=\E[0i, mc4=\E[4i, mc5=\E[5i,
Line 357 
Line 398 
 # about \E[11m as klone+acs.  True ANSI/ECMA-48 would have <rmso=\E[27m>,  # about \E[11m as klone+acs.  True ANSI/ECMA-48 would have <rmso=\E[27m>,
 # <rmul=\E[24m>, but this isn't a documented feature of ANSI.SYS.  # <rmul=\E[24m>, but this isn't a documented feature of ANSI.SYS.
 klone+sgr|attribute control for ansi.sys displays,  klone+sgr|attribute control for ansi.sys displays,
         blink=\E[5m, bold=\E[1m, invis=\E[8m, rev=\E[7m,          blink=\E[5m, bold=\E[1m, rev=\E[7m, rmpch=\E[10m,
         rmpch=\E[10m, rmso=\E[m, rmul=\E[m,          rmso=\E[m, rmul=\E[m,
         sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%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%;%?%p6%t;1%;%?%p9%t;11%;m,
         sgr0=\E[0;10m, smpch=\E[11m, smso=\E[7m, smul=\E[4m,          sgr0=\E[0;10m, smpch=\E[11m, smso=\E[7m, smul=\E[4m,
         use=klone+acs,          use=klone+acs,
   
   # Most Intel boxes do not treat "invis" (invisible) text.
   klone+sgr8|attribute control for ansi.sys displays,
           invis=\E[8m,
           sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m,
           use=klone+sgr,
   
 # Highlight controls corresponding to the ANSI.SYS standard.  *All*  # Highlight controls corresponding to the ANSI.SYS standard.  *All*
 # console drivers for Intel boxes obey these.  Does not assume \E[11m will  # console drivers for Intel boxes obey these.  Does not assume \E[11m will
 # work; uses \E[12m instead, which is pretty bulletproof but loses you the ACS  # work; uses \E[12m instead, which is pretty bulletproof but loses you the ACS
Line 400 
Line 447 
   
 # 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,
         rmso=\E[27m, rmul=\E[24m, use=klone+sgr,          rmso=\E[27m, rmul=\E[24m, use=klone+sgr8,
   
 # For comparison, here are all the capabilities implied by the Intel  # For comparison, here are all the capabilities implied by the Intel
 # Binary Compatibility Standard (level 2) that fit within terminfo.  # Binary Compatibility Standard (level 2) that fit within terminfo.
Line 500 
Line 547 
         cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,          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,          dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
         hts=\EH, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B,          hts=\EH, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B,
         kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, tbc=\E[2g,          kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, tbc=\E[3g,
         use=klone+sgr-dumb,          use=klone+sgr-dumb,
 pcansi-25-m|pcansi25m|ibm-pc terminal programs with 25 lines (mono mode),  pcansi-25-m|pcansi25m|ibm-pc terminal programs with 25 lines (mono mode),
         lines#25, use=pcansi-m,          lines#25, use=pcansi-m,
Line 531 
Line 578 
         kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,          kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
         kich1=\E[L, mc4=\E[4i, mc5=\E[5i, nel=\r\E[S,          kich1=\E[L, mc4=\E[4i, mc5=\E[5i, nel=\r\E[S,
         rep=%p1%c\E[%p2%{1}%-%db, rin=\E[%p1%dT, s0ds=\E(B,          rep=%p1%c\E[%p2%{1}%-%db, rin=\E[%p1%dT, s0ds=\E(B,
         s1ds=\E)B, s2ds=\E*B, s3ds=\E+B, tbc=\E[2g,          s1ds=\E)B, s2ds=\E*B, s3ds=\E+B, tbc=\E[3g,
         vpa=\E[%i%p1%dd, use=pcansi-m,          vpa=\E[%i%p1%dd, use=pcansi-m,
   
   ansi+enq|ncurses extension for ANSI ENQ,
           u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?%[;0123456789]c,
           u9=\E[c,
   
 # ansi -- this terminfo expresses the largest subset of X3.64 that will fit in  # ansi -- this terminfo expresses the largest subset of X3.64 that will fit in
 # standard terminfo.  Assumes ANSI.SYS-compatible attributes and color.  # standard terminfo.  Assumes ANSI.SYS-compatible attributes and color.
 # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995  # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
 ansi|ansi/pc-term compatible with color,  ansi|ansi/pc-term compatible with color,
         u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?%[;0123456789]c,          use=ansi+enq, use=ecma+color, use=klone+sgr8, use=ansi-m,
         u9=\E[c, use=ecma+color, use=klone+sgr, use=ansi-m,  
   
 # ansi-generic is a vanilla ANSI terminal. This is assumed to implement  # ansi-generic is a vanilla ANSI terminal. This is assumed to implement
 # all the normal ANSI stuff with no extensions. It assumes  # all the normal ANSI stuff with no extensions. It assumes
Line 559 
Line 609 
 #  #
 # This completely describes the sequences specified in the DOS 2.1 ANSI.SYS  # This completely describes the sequences specified in the DOS 2.1 ANSI.SYS
 # documentation (except for the keyboard key reassignment feature, which  # documentation (except for the keyboard key reassignment feature, which
 # doen't fit the <pfkey> model well).  The klone+acs sequences were valid  # doesn't fit the <pfkey> model well).  The klone+acs sequences were valid
 # though undocumented.  The <pfkey> capability is untested but should work for  # though undocumented.  The <pfkey> capability is untested but should work for
 # keys F1-F10 (%p1 values outside this range will yield unpredictable results).  # keys F1-F10 (%p1 values outside this range will yield unpredictable results).
 # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 7 1995  # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 7 1995
Line 569 
Line 619 
         clear=\E[2J, cub1=^H, cud1=\E[B, cuf1=\E[C,          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,          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,          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,          khome=^^, pfkey=\E[0;%p1%{58}%+%d;%p2"%s"p, rc=\E[u,
         rmam=\E[?7l, sc=\E[s, smam=\E[?7h, u6=\E[%i%d;%dR,          rmam=\E[?7l, sc=\E[s, smam=\E[?7h, u6=\E[%i%d;%dR,
         u7=\E[6n, use=klone+color, use=klone+sgr,          u7=\E[6n, use=klone+color, use=klone+sgr8,
   
   # Keypad:       Home=\0G        Up=\0H  PrPag=\0I
   #               ka1,kh          kcuu1           kpp,ka3
   #
   #               Left=\0K        5=\0L           Right=\0M
   #               kcub1           kb2             kcuf1
   #
   #               End=\0O         Down=\0P        NxPag=\0Q
   #               kc1,kend        kcud1           kc3,knp
   #
   #               Ins=\0R         Del=\0S
   #               kich1           kdch1
   #
   # On keyboard with 12 function keys,
   #       shifted f-keys: F13-F24
   #       control f-keys: F25-F36
   #       alt f-keys:     F37-F48
   # The shift/control/alt keys do not modify each other, but alt overrides both,
   # and control overrides shift.
   #
   # <pfkey> capability for F1-F48 -TD
 ansi.sys|ANSI.SYS 3.1 and later versions,  ansi.sys|ANSI.SYS 3.1 and later versions,
         el=\E[K, use=ansi.sys-old,          el=\E[K, ka1=\0G, ka3=\0I, kb2=\0L, kbs=^H, kc1=\0O, kc3=\0Q,
           kcbt=\0^O, kcub1=\0K, kcud1=\0P, kcuf1=\0M, kcuu1=\0H,
           kdch1=\0S, kend=\0O, kf1=\0;, kf10=\0D, kf11=\0\205,
           kf12=\0\206, kf13=\0T, kf14=\0U, kf15=\0V, kf16=\0W,
           kf17=\0X, kf18=\0Y, kf19=\0Z, kf2=\0<, kf20=\0[, kf21=\0\\,
           kf22=\0], kf23=\0\207, kf24=\0\210, kf25=\0\^, kf26=\0_,
           kf27=\0`, kf28=\0a, kf29=\0b, kf3=\0=, kf30=\0c, kf31=\0d,
           kf32=\0e, kf33=\0f, kf34=\0g, kf35=\0\211, kf36=\0\212,
           kf37=\0h, kf38=\0i, kf39=\0j, kf4=\0>, kf40=\0k, kf41=\0l,
           kf42=\0m, kf43=\0n, kf44=\0o, kf45=\0p, kf46=\0q,
           kf47=\0\213, kf48=\0\214, kf5=\0?, kf6=\0@, kf7=\0A, kf8=\0B,
           kf9=\0C, khome=\0G, kich1=\0R, knp=\0Q, kpp=\0I,
           pfkey=\E[0;%?%p1%{11}%<%t%'\:'%e%?%p1%{13}%<%t%'z'%e%?%p1%{23}%<%t%'G'%e%?%p1%{25}%<%t%'p'%e%?%p1%'#'%<%t%'E'%e%?%p1%'%'%<%t%'f'%e%?%p1%'/'%<%t%'C'%e%{92}%;%;%;%;%;%;%;%p1%+%d;%p2"%s"p,
           use=ansi.sys-old,
   
 #  #
 # Define IBM PC keypad keys for vi as per MS-Kermit while using ANSI.SYS.  # Define IBM PC keypad keys for vi as per MS-Kermit while using ANSI.SYS.
Line 659 
Line 743 
 # *                                                                         *  # *                                                                         *
 # ***************************************************************************  # ***************************************************************************
 #  #
 # The 1.3.x kernels add color-change capabilities; if yours doesn't have this  # All linux kernels since 1.2.13 (at least) set the screen size
 # and it matters, turn off <ccc>.  The %02x escape used to implement this is  
 # not back-portable to SV curses and not supported in ncurses versions before  
 # 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.
 #  #
 # This entry is good for the 1.2.13 or later version of the Linux console.  linux-basic|linux console,
 #  
 # ***************************************************************************  
 # *                                                                         *  
 # *                           WARNING:                                      *  
 # * Linuxes come with a default keyboard mapping kcbt=^I.  This entry, in   *  
 # * response to user requests, assumes kcbt=\E[Z, the ANSI/ECMA reverse-tab *  
 # * character. Here are the keymap replacement lines that will set this up: *  
 # *                                                                         *  
 #       keycode  15 = Tab             Tab  
 #               alt     keycode  15 = Meta_Tab  
 #               shift   keycode  15 = F26  
 #       string F26 ="\033[Z"  
 # *                                                                         *  
 # * 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      *  
 # * into the kernel tables.                                                 *  
 # *                                                                         *  
 # ***************************************************************************  
 #  
 # The 1.3.x kernels add color-change capabilities; if yours doesn't have this  
 # and it matters, turn off <ccc>.  The %02x escape used to implement this is  
 # not back-portable to SV curses and not supported in ncurses versions before  
 # 1.9.9. All linux kernels since 1.2.13 (at least) set the screen size  
 # themselves; this entry assumes that capability.  
 #  
 # The 2.2.x kernels add a private mode that sets the cursor type; use that to  
 # get a block cursor for cvvis.  
 # reported by Frank Heckenbach <frank@g-n-u.de>.  
 linux|linux console,  
         am, bce, eo, mir, msgr, xenl, xon,          am, bce, eo, mir, msgr, xenl, xon,
         it#8, ncv#18,          it#8, ncv#18,
         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,          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\E[?1c, clear=\E[H\E[J,          bel=^G, clear=\E[H\E[J, cr=^M, csr=\E[%i%p1%d;%p2%dr,
         cnorm=\E[?25h\E[?0c, cr=^M, csr=\E[%i%p1%d;%p2%dr,  
         cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,          cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
         cuu1=\E[A, cvvis=\E[?25h\E[?8c, dch=\E[%p1%dP, dch1=\E[P,          cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
         dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J,          dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K,
         el=\E[K, el1=\E[1K, flash=\E[?5h\E[?5l$<200/>, home=\E[H,          el1=\E[1K, flash=\E[?5h\E[?5l$<200/>, home=\E[H,
         hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,          hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,
         il=\E[%p1%dL, il1=\E[L, ind=^J, kb2=\E[G, kbs=\177,          il=\E[%p1%dL, il1=\E[L, ind=^J, kb2=\E[G, kbs=\177,
         kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,          kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
Line 713 
Line 764 
         kf19=\E[33~, kf2=\E[[B, kf20=\E[34~, kf3=\E[[C, kf4=\E[[D,          kf19=\E[33~, kf2=\E[[B, kf20=\E[34~, kf3=\E[[C, kf4=\E[[D,
         kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,          kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
         khome=\E[1~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~,          khome=\E[1~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~,
         kspd=^Z, nel=^M^J, rc=\E8, rev=\E[7m, ri=\EM, rmir=\E[4l,          kspd=^Z, nel=^M^J, rc=\E8, rev=\E[7m, ri=\EM, rmam=\E[?7l,
         rmso=\E[27m, rmul=\E[24m, rs1=\Ec\E]R, sc=\E7,          rmir=\E[4l, rmso=\E[27m, 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,          smam=\E[?7h, smir=\E[4h, smul=\E[4m, tbc=\E[3g,
         u7=\E[6n, u8=\E[?6c, u9=\E[c, vpa=\E[%i%p1%dd,          vpa=\E[%i%p1%dd, use=vt102+enq, use=klone+sgr,
         use=klone+sgr, use=ecma+color,          use=ecma+color,
   
 linux-m|Linux console no color,  linux-m|Linux console no color,
         colors@, pairs@,          colors@, pairs@,
         setab@, setaf@, setb@, setf@, use=linux,          setab@, setaf@, setb@, setf@, use=linux,
 linux-c-nc|linux console 1.3.x hack for ncurses only,  
   # The 1.3.x kernels add color-change capabilities; if yours doesn't have this
   # and it matters, turn off <ccc>.  The %02x escape used to implement this is
   # not supposedly back-portable to older SV curses (although it has worked fine
   # on Solaris for several years) and not supported in ncurses versions before
   # 1.9.9.
   linux-c-nc|linux console with color-change,
         ccc,          ccc,
         initc=\E]P%p1%x%p2%{255}%*%{1000}%/%02x%p3%{255}%*%{1000}%/%02x%p4%{255}%*%{1000}%/%02x,          initc=\E]P%p1%x%p2%{255}%*%{1000}%/%02x%p3%{255}%*%{1000}%/%02x%p4%{255}%*%{1000}%/%02x,
         oc=\E]R, use=linux,          oc=\E]R, use=linux-basic,
 # 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+ for older ncurses,
         ccc,          ccc,
         colors#8, pairs#64,          initc=\E]P%?%p1%{9}%>%t%p1%{10}%-%'a'%+%c%e%p1%d%;%p2%{255}%*%{1000}%/%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}%*%{1000}%/%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}%*%{1000}%/%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}%-%'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%;,          oc=\E]R, use=linux-basic,
         oc=\E]R, use=linux,  
   
   # The 2.2.x kernels add a private mode that sets the cursor type; use that to
   # get a block cursor for cvvis.
   # reported by Frank Heckenbach <frank@g-n-u.de>.
   linux|linux console,
           civis=\E[?25l\E[?1c, cnorm=\E[?25h\E[?0c,
           cvvis=\E[?25h\E[?8c, use=linux-c-nc,
   
   # Subject: linux 2.6.26 vt back_color_erase
   # Changes to the Linux console driver broke bce model as reported in
   #       https://bugzilla.novell.com/show_bug.cgi?id=418613
   # apparently from
   #       http://lkml.org/lkml/2008/4/26/305
   #       http://groups.google.com/group/fa.linux.kernel/browse_thread/thread/87f98338f0d636bb/aa96e8b86cee0d1e?lnk=st&q=#aa96e8b86cee0d1e
   linux2.6.26|linux console w/o bce,
           bce@, use=linux,
   
 # 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
 linux-nic|linux with ich/ich1 suppressed for non-curses programs,  linux-nic|linux with ich/ich1 suppressed for non-curses programs,
         ich@, ich1@, use=linux,          ich@, ich1@, use=linux,
Line 753 
Line 826 
         acsc=+\020\,\021-\030.^Y0\333`\004a\013f\370g\361h\260i\316j\211k\214l\206m\203n\305o~p\304q\212r\304s_t\207u\215v\301w\302x\205y\363z\362{\343|\330}\234~\376,          acsc=+\020\,\021-\030.^Y0\333`\004a\013f\370g\361h\260i\316j\211k\214l\206m\203n\305o~p\304q\212r\304s_t\207u\215v\301w\302x\205y\363z\362{\343|\330}\234~\376,
         use=linux,          use=linux,
   
   # This uses graphics from VT codeset instead of from cp437.
   # reason: cp437 (aka "straight to font") is not functional under luit.
   # from: Andrey V Lukyanov <land@long.yar.ru>.
   linux-vt|linux console using VT codes for graphics,
           acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz~~,
           rmacs=\E(K, rmpch@, sgr@, sgr0=\E[0m\E(K\017, smacs=\E(0,
           smpch@, use=linux,
   
   # This is based on the Linux console (relies on the console to perform some
   # of the functionality), but does not recognize as many control sequences.
   # The program comes bundled with an old (circa 1998) copy of the Linux
   # console terminfo.  It recognizes some non-ANSI/VT100 sequences such as
   #       \E*     move cursor to home, as as \E[H
   #       \E,X    same as \E(X
   #       \EE     move cursor to beginning of row
   #       \E[y,xf same as \E[y,xH
   #
   # Note: The status-line support is buggy (dsl does not work).
   kon|kon2|jfbterm|Kanji ON Linux console,
           ccc@, hs,
           civis@, cnorm@, cvvis@, dsl=\E[?H, flash@, fsl=\E[?F, initc@,
           initp@, kcbt@, oc@, op=\E[37;40m, rs1=\Ec, tsl=\E[?T,
           use=linux,
   
   # 16-color linux console entry; this works with a 256-character
   # console font but bright background colors turn into dim ones when
   # you use a 512-character console font. This uses bold for bright
   # foreground colors and blink for bright background colors.
   linux-16color|linux console with 16 colors,
           colors#16, ncv#54, pairs#256,
           setab=\E[4%p1%{7}%m%d%?%p1%{7}%>%t;5%e;25%;m,
           setaf=\E[3%p1%{7}%m%d%?%p1%{7}%>%t;1%e;21%;m,
           use=linux,
   
 #### Mach  #### Mach
 #  #
   
Line 765 
Line 872 
         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, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,          cuu=\E[%p1%dA, cuu1=\E[A, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
         el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL, il1=\E[L, ind=^J,          el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL, il1=\E[L, ind=^J,
         kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,          kbs=\177, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
         kdch1=\E[9, kend=\E[Y, kf1=\EOP, kf10=\EOY, kf2=\EOQ,          kdch1=\E[9, kend=\E[Y, kf1=\EOP, kf10=\EOY, kf2=\EOQ,
         kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW,          kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW,
         kf9=\EOX, khome=\E[H, kich1=\E[@, kll=\E[F, knp=\E[U,          kf9=\EOX, khome=\E[H, kich1=\E[@, kll=\E[F, knp=\E[U,
Line 778 
Line 885 
         dim=\E[2m, invis=\E[8m, op=\E[37;40m, rmso=\E[27m,          dim=\E[2m, invis=\E[8m, op=\E[37;40m, rmso=\E[27m,
         setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=mach,          setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=mach,
   
   # From: Marcus Brinkmann
   # http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/hurd/hurd/console/
   #
   # Comments in the original are summarized here:
   #
   # hurd uses 8-bit characters (km).
   #
   # Although it doesn't do XON/XOFF, we don't want padding characters (xon).
   #
   # Regarding compatibility to vt100:  hurd doesn't specify <xenl>, as we don't
   # have the eat_newline_glitch.  It doesn't support setting or removing tab
   # stops (hts/tbc).
   #
   # hurd uses ^H instead of \E[D for cub1, as only ^H implements <bw> and it is
   # one byte instead three.
   #
   # <ich1> is not included because hurd has insert mode.
   #
   # hurd doesn't use ^J for scrolling, because this could put things into the
   # scrollback buffer.
   #
   # gsbom/grbom are used to enable/disable real bold (not intensity bright) mode.
   # This is a GNU extension.
   #
   # The original has commented-out ncv, but is restored here.
   #
   # Reading the source, RIS resets cnorm, but not xmous.
   hurd|The GNU Hurd console server,
           am, bce, bw, eo, km, mir, msgr, xon,
           colors#8, it#8, ncv#18, pairs#64,
           acsc=++\,\,--..00ii``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
           bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
           clear=\Ec, cnorm=\E[?25h, 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[34l, dch=\E[%p1%dP,
           dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M,
           ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, flash=\Eg,
           home=\E[H, hpa=\E[%i%p1%dG, ht=^I, ich=\E[%p1%d@,
           il=\E[%p1%dL, il1=\E[L, ind=\E[S, indn=\E[%p1%dS,
           invis=\E[8m, kb2=\E[G, kbs=\177, kcbt=\E[Z, kcub1=\EOD,
           kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~,
           kend=\E[4~, 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~, 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~, kmous=\E[M, knp=\E[6~, kpp=\E[5~,
           kspd=^Z, nel=^M^J, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\E[T,
           rin=\E[%p1%dT, ritm=\E[23m, rmacs=\E[10m, rmir=\E[4l,
           rmso=\E[27m, rmul=\E[24m, rs1=\EM\E[?1000l, sc=\E7,
           setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
           sgr=\E[0%?%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,
           sgr0=\E[0m, sitm=\E[3m, smacs=\E[11m, smir=\E[4h,
           smso=\E[7m, smul=\E[4m, vpa=\E[%i%p1%dd, grbom=\E[>1l,
           gsbom=\E[>1h,
   
 #### OSF Unix  #### OSF Unix
 #  #
   
Line 801 
Line 965 
 #  #
 # klone+sgr-dumb is an error since the acsc does not match -TD  # klone+sgr-dumb is an error since the acsc does not match -TD
 #  #
 # In this description based on SCO's keyboard(HW) manpage list of default function key  # In this description based on SCO's keyboard(HW) manpage list of default
 # values:  # function key values:
 #       F13-F24 are shifted F1-F12  #       F13-F24 are shifted F1-F12
 #       F25-F36 are control F1-F12  #       F25-F36 are control F1-F12
 #       F37-F48 are shift+control F1-F12  #       F37-F48 are shift+control F1-F12
Line 817 
Line 981 
 # which do not work (console or scoterm).  # which do not work (console or scoterm).
 #  #
 # Console documents only 3 attributes can be set with SGR (so we don't use sgr).  # Console documents only 3 attributes can be set with SGR (so we don't use sgr).
 scoansi|SCO Extended ANSI standard crt,  scoansi-old|SCO Extended ANSI standard crt (5.0.5),
         OTbs, am, bce, eo, xon,          OTbs, am, bce, eo, xon,
         colors#8, cols#80, it#8, lines#25, pairs#64,          colors#8, cols#80, it#8, lines#25, pairs#64,
         acsc=0[5566778899\:\:;;<<==>>FFGGHHIIJJKKLLMMNNOOPPQQRRSSTTUUVVWWXX`ja0fxgqh2jYk?lZm@nEqDtCu4vAwBx3~y,          acsc=-\230.\231\,.+/0[5566778899\:\:;;<<==>>FFGGHHIIJJKKLLMMNNOOPPQQRRSSTTUUVVWWXX`\204a0fxgqh2jYk?lZm@nEqDtCu4vAwBx3yszr{c}\034~\207,
         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,          bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
         civis=\E[=14;12C, clear=\E[2J\E[H, cnorm=\E[=10;12C,          civis=\E[=14;12C, clear=\E[H\E[2J, cnorm=\E[=10;12C,
         cub1=\E[D, cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,          cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
         cuu1=\E[A, cvvis=\E[=0;12C, dch1=\E[P, dl=\E[%p1%dM,          cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
         dl1=\E[M, ed=\E[m\E[J, el=\E[m\E[K, home=\E[H, ht=^I,          cuu=\E[%p1%dA, cuu1=\E[A, cvvis=\E[=0;12C, dch=\E[%p1%dP,
         ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S,          dch1=\E[P, dispc=\E[=%p1%dg, dl=\E[%p1%dM, dl1=\E[M,
         indn=\E[%p1%dS, invis=\E[8m, kbeg=\E[E, kbs=^H, kcbt=\E[Z,          ed=\E[m\E[J, el=\E[m\E[K, el1=\E[1K, home=\E[H, ht=^I,
         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=^_,          hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L,
         kend=\E[F, kf1=\E[M, kf10=\E[V, kf11=\E[W, kf12=\E[X,          ind=\E[S, indn=\E[%p1%dS, invis=\E[8m, kbeg=\E[E, kbs=^H,
         kf13=\E[Y, kf15=\E[a, kf16=\E[b, kf17=\E[c, kf18=\E[d,          kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
         kf19=\E[e, kf2=\E[N, kf20=\E[f, kf21=\E[g, kf22=\E[h,          kdch1=\177, kend=\E[F, kf1=\E[M, kf10=\E[V, kf11=\E[W,
         kf23=\E[i, kf24=\E[j, kf25=\E[k, kf26=\E[l, kf27=\E[m,          kf12=\E[X, kf13=\E[Y, kf15=\E[a, kf16=\E[b, kf17=\E[c,
         kf28=\E[n, kf29=\E[o, kf3=\E[O, kf30=\E[p, kf31=\E[q,          kf18=\E[d, kf19=\E[e, kf2=\E[N, kf20=\E[f, kf21=\E[g,
         kf32=\E[r, kf33=\E[s, kf34=\E[t, kf35=\E[u, kf36=\E[v,          kf22=\E[h, kf23=\E[i, kf24=\E[j, kf25=\E[k, kf26=\E[l,
         kf37=\E[w, kf38=\E[x, kf39=\E[y, kf4=\E[P, kf40=\E[z,          kf27=\E[m, kf28=\E[n, kf29=\E[o, kf3=\E[O, kf30=\E[p,
         kf41=\E[@, kf42=\E[[, kf43=\E[\\, kf44=\E[], kf45=\E[\^,          kf31=\E[q, kf32=\E[r, kf33=\E[s, kf34=\E[t, kf35=\E[u,
         kf46=\E[_, kf47=\E[`, kf48=\E[{, kf5=\E[Q, kf6=\E[R,          kf36=\E[v, kf37=\E[w, kf38=\E[x, kf39=\E[y, kf4=\E[P,
         kf7=\E[S, kf8=\E[T, kf9=\E[U, khome=\E[H, kich1=\E[L,          kf40=\E[z, kf41=\E[@, kf42=\E[[, kf43=\E[\\, kf44=\E[],
         knp=\E[G, kpp=\E[I, op=\E[37;40m, rev=\E[7m, ri=\E[T,          kf45=\E[\^, kf46=\E[_, kf47=\E[`, kf48=\E[{, kf5=\E[Q,
         rin=\E[%p1%dT, rmacs=\E[10m, rmam=\E[?7l, rmso=\E[m,          kf6=\E[R, kf7=\E[S, kf8=\E[T, kf9=\E[U, khome=\E[H,
         rmul=\E[m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,          kich1=\E[L, knp=\E[G, kpp=\E[I, op=\E[0;37;40m, rc=\E8,
         sgr0=\E[0;10m, smacs=\E[12m, smam=\E[?7h, smso=\E[7m,          rev=\E[7m, ri=\E[T, rin=\E[%p1%dT, rmacs=\E[10m,
         smul=\E[4m,          rmam=\E[?7l, rmso=\E[m, rmul=\E[m, sc=\E7,
           setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[0;10m,
           smacs=\E[12m, smam=\E[?7h, smso=\E[7m, smul=\E[4m,
   scoansi-new|SCO Extended ANSI standard crt (5.0.6),
           km,
           civis=\E[=0c, cnorm=\E[=1c, csr=\E[%i%p1%d;%p2%dr,
           cvvis=\E[=2c, mgc=\E[=r, oc=\E[51m, op=\E[50m,
           rep=\E[%p1%d;%p2%db, rmm=\E[=11L,
           sgr=\E[0%?%p1%p3%|%t;7%;%?%p2%t;4%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;12%;m,
           smgb=\E[=1;0m, smgbp=\E[=1;%i%p1%dm,
           smglp=\E[=2;%i%p1%dm, smgr=\E[=3;0m,
           smgrp=\E[=3;%i%p1%dm, smgt=\E[=0;0m,
           smgtp=\E[=0;%i%p1%dm, smm=\E[=10L,
           wind=\E[%i%p1%d;%p2%d;%i%p3%d;%p4%dr,
           use=scoansi-old,
   # make this easy to change...
   scoansi|SCO Extended ANSI standard crt,
           use=scoansi-old,
   
 # This actually describes the generic SVr4 display driver for Intel boxes.  # This actually describes the generic SVr4 display driver for Intel boxes.
 # The <dim=\E[2m> isn't documented and therefore may not be reliable.  # The <dim=\E[2m> isn't documented and therefore may not be reliable.
Line 870 
Line 1051 
         sc=\E7,          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,          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,          sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, smul=\E[4m,
         tbc=\E[2g, vpa=\E[%i%p1%dd, use=klone+color,          tbc=\E[3g, vpa=\E[%i%p1%dd, use=klone+color,
 # (pc6300plus: removed ":KM=/usr/lib/ua/kmap.s5:"; renamed BO/EE/CI/CV -- esr)  # (pc6300plus: removed ":KM=/usr/lib/ua/kmap.s5:"; renamed BO/EE/CI/CV -- esr)
 pc6300plus|AT&T 6300 plus,  pc6300plus|AT&T 6300 plus,
         OTbs, am, xon,          OTbs, am, xon,
Line 1098 
Line 1279 
         ech=\E[%p1%dX, ich=\E[%p1%d@, rc=\E8, ritm=\E[23m,          ech=\E[%p1%dX, ich=\E[%p1%d@, rc=\E8, ritm=\E[23m,
         rmul=\E[24m, rs1=\Ec,          rmul=\E[24m, rs1=\Ec,
         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,          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,          sitm=\E[3m, use=vt100+enq, use=klone+color,
         use=klone+color, use=iris-ansi-ap,          use=iris-ansi-ap,
   
 # The following is a version of the ibm-pc entry distributed with PC/IX,  # 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  # (Interactive Systems' System 3 for the Big Blue), modified by Richard
Line 1135 
Line 1316 
         ed=\E[J, el=\E[K, home=\E[H, ich1=\E[@, il1=\E[L, kbs=^H,          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,          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,          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,          kpp=\E[Z, use=klone+acs, use=klone+sgr8,
   
 #### QNX  #### QNX
 #  #
Line 1279 
Line 1460 
         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,          rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
         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,
         setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,          setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
         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%;,          sgr=\E[0%?%p6%t;1%;%?%p5%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%t;7%;%?%p7%t;9%;m%?%p9%t\016%e\017%;,
         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smso=\E[7m,          sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smso=\E[7m,
         smul=\E[4m, tbc=\E[2g,          smul=\E[4m, tbc=\E[3g,
         tsl=\E7\E1;24r\E[?6l\E[25;%i%p1%dH,          tsl=\E7\E1;24r\E[?6l\E[25;%i%p1%dH,
 #  #
 qansi|QNX ansi with console writes,  qansi|QNX ansi with console writes,
Line 1326 
Line 1507 
         el=\E[K, el1=\E[1K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,          el=\E[K, el1=\E[1K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
         il=\E[%p1%dL, il1=\E[L, ind=\ED, indn=\E[%p1%dS,          il=\E[%p1%dL, il1=\E[L, ind=\ED, indn=\E[%p1%dS,
         is1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kbs=\177,          is1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kbs=\177,
         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~,          kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
         kf1=\EOP, kf10=\E[29~, kf2=\EOQ, kf3=\EOR, kf4=\EOS,          kdch1=\E[3~, kf1=\E[17~, kf2=\E[18~, kf3=\E[19~,
         kf5=\E[17~, kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, kf9=\E[21~,          kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~,
         khome=\E[1~, kich1=\E[2~, kll=\E[4~, knp=\E[6~, kpp=\E[5~,          khome=\E[1~, kich1=\E[2~, kll=\E[4~, knp=\E[6~, kpp=\E[5~,
         nel=\EE, rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt100,          nel=\EE, rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt100,
         ri=\EM, rin=\E[%p1%dT, rmacs=\E(B, rmam=\E[?7l, rmir=\E[4l,          ri=\EM, rin=\E[%p1%dT, rmacs=\E(B, rmam=\E[?7l, rmir=\E[4l,
Line 1342 
Line 1523 
 #       50 lines entries; 80 columns  #       50 lines entries; 80 columns
 pcvt25|dec vt220 emulation with 25 lines,  pcvt25|dec vt220 emulation with 25 lines,
         cols#80, lines#25,          cols#80, lines#25,
         is2=\E[1;25r\E[25;1H, use=pcvtXX, use=ecma+color,          is2=\E[1;25r\E[25;1H, use=pcvtXX,
 pcvt28|dec vt220 emulation with 28 lines,  pcvt28|dec vt220 emulation with 28 lines,
         cols#80, lines#28,          cols#80, lines#28,
         is2=\E[1;28r\E[28;1H, use=pcvtXX,          is2=\E[1;28r\E[28;1H, use=pcvtXX,
Line 1381 
Line 1562 
         cols#132, lines#50,          cols#132, lines#50,
         is2=\E[1;50r\E[50;1H, use=pcvtXX,          is2=\E[1;50r\E[50;1H, use=pcvtXX,
   
   #       OpenBSD implements a color variation
   pcvt25-color|dec vt220 emulation with 25 lines and color,
           cols#80, lines#25,
           is2=\E[1;25r\E[25;1H, kf1=\EOP, kf10=\E[29~, 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~, kf3=\EOR, kf4=\EOS, kf5=\E[17~,
           kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, kf9=\E[21~, use=pcvtXX,
           use=ecma+color,
   
 # Terminfo entries to enable the use of the ncurses library in colour on a  # Terminfo entries to enable the use of the ncurses library in colour on a
 # NetBSD-arm32 console (only tested on a RiscPC).  # NetBSD-arm32 console (only tested on a RiscPC).
 # Created by Dave Millen <dmill@globalnet.co.uk> 22.07.98  # Created by Dave Millen <dmill@globalnet.co.uk> 22.07.98
Line 1401 
Line 1592 
         kc1=\E[p, kc3=\E[n, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,          kc1=\E[p, kc3=\E[n, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
         kcuu1=\E[A, kent=\E[M, kf0=\E[y, kf1=\E[P, kf10=\E[x,          kcuu1=\E[A, kent=\E[M, kf0=\E[y, kf1=\E[P, kf10=\E[x,
         kf2=\E[Q, kf3=\E[R, kf4=\E[S, kf5=\E[t, kf6=\E[u, kf7=\E[v,          kf2=\E[Q, kf3=\E[R, kf4=\E[S, kf5=\E[t, kf6=\E[u, kf7=\E[v,
         kf8=\E[l, kf9=\E[w, rc=\E8, rev=\E[6m$<2>, ri=\EM$<5>,          kf8=\E[l, kf9=\E[w, rc=\E8, rev=\E[7m$<2>, ri=\EM$<5>,
         rmacs=^O, rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m$<2>,          rmacs=^O, rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m$<2>,
         rmul=\E[m$<2>, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,          rmul=\E[m$<2>, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
         sc=\E7,          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%;,          sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;$<2>,
         sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=,          sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=,
         smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, use=ecma+sgr,          smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, use=ecma+sgr,
         use=klone+color,          use=klone+color,
Line 1424 
Line 1615 
 # Entry for the DNARD OpenFirmware console, close to ANSI but not quite.  # Entry for the DNARD OpenFirmware console, close to ANSI but not quite.
 #  #
 # (still unfinished, but good enough so far.)  # (still unfinished, but good enough so far.)
 ofcons,  ofcons|DNARD OpenFirmware console,
         bw,          bw,
         cols#80, lines#30,          cols#80, lines#30,
         bel=^G, blink=\2337;2m, bold=\2331m, clear=^L, cr=^M,          bel=^G, blink=\2337;2m, bold=\2331m, clear=^L, cr=^M,
Line 1438 
Line 1629 
         kf1=\2330P, kf10=\2330M, kf2=\2330Q, kf3=\2330W,          kf1=\2330P, kf10=\2330M, kf2=\2330Q, kf3=\2330W,
         kf4=\2330x, kf5=\2330t, kf6=\2330u, kf7=\2330q, kf8=\2330r,          kf4=\2330x, kf5=\2330t, kf6=\2330u, kf7=\2330q, kf8=\2330r,
         kf9=\2330p, knp=\233/, kpp=\233?, nel=^M^J, rev=\2337m,          kf9=\2330p, knp=\233/, kpp=\233?, nel=^M^J, rev=\2337m,
         rmso=\2330m, rmul=\2330m, sgr0=\2330m,          rmso=\2330m, rmul=\2330m,
           sgr=\2330%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m,
           sgr0=\2330m,
   
 # NetBSD "wscons" emulator in vt220 mode  # NetBSD "wscons" emulator in vt220 mode.
 # These are micro-minimal and probably need to be redone for real  # This entry is based on the NetBSD termcap entry, correcting the ncv value.
 # after the manner of the pcvt entries.  # The emulator renders underlined text in red.  Colors are otherwise usable.
   #
   # Testing the emulator and reading the source code (NetBSD 2.0), it appears
   # that "vt220" is inaccurate.  There are a few vt220-features, but most of the
   # vt220 screens in vttest do not work with this emulator.  For instance, it
   # identifies itself (primary DA response) as a vt220 with selective erase.  But
   # the selective erase feature does not work.  The secondary response is copied
   # from Kermit's emulation of vt220, does not correspond to actual vt220.  At
   # the level of detail in a termcap, it is a passable emulator, since ECH does
   # work.  Don't use it on a VMS system -TD
 wsvt25|NetBSD wscons in 25 line DEC VT220 mode,  wsvt25|NetBSD wscons in 25 line DEC VT220 mode,
         bce, msgr,          bce, msgr,
         colors#8, cols#80, lines#25, ncv#3, pairs#64,          colors#8, cols#80, it#8, lines#25, ncv#2, pairs#64,
         op=\E[m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,          is2=\E[r\E[25;1H, kend=\E[8~, kf1=\E[11~, kf10=\E[21~,
         use=vt220,          kf11=\E[23~, kf12=\E[24~, kf2=\E[12~, kf3=\E[13~,
           kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~,
           kf9=\E[20~, khome=\E[7~, op=\E[m, setab=\E[4%p1%dm,
           setaf=\E[3%p1%dm, use=vt220,
   
 wsvt25m|NetBSD wscons in 25 line DEC VT220 mode with Meta,  wsvt25m|NetBSD wscons in 25 line DEC VT220 mode with Meta,
         bce, km, msgr,          km, use=wsvt25,
         colors#8, cols#80, lines#25, ncv#3, pairs#64,  
         op=\E[m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,  
         use=vt220,  
   
 # `rasterconsole' provided by 4.4BSD, NetBSD and OpenBSD on SPARC, and  # `rasterconsole' provided by 4.4BSD, NetBSD and OpenBSD on SPARC, and
 # DECstation/pmax.  # DECstation/pmax.
 rcons|BSD rasterconsole,  rcons|BSD rasterconsole,
         use=sun-il,          use=sun-il,
 # Color version of above. Color currenly only provided by NetBSD.  # Color version of above. Color currently only provided by NetBSD.
 rcons-color|BSD rasterconsole with ANSI color,  rcons-color|BSD rasterconsole with ANSI color,
         bce,          bce,
         colors#8, pairs#64,          colors#8, pairs#64,
Line 1512 
Line 1714 
 #  #
 # Setting colors turns off reverse; we cannot guarantee order, so use ncv.  # Setting colors turns off reverse; we cannot guarantee order, so use ncv.
 # Note that this disables standout with color.  # Note that this disables standout with color.
   #
   # The emulator sends difference strings based on shift- and control-keys,
   # like scoansi:
   #       F13-F24 are shifted F1-F12
   #       F25-F36 are control F1-F12
   #       F37-F48 are shift+control F1-F12
 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, ncv#21, pairs#64,          colors#8, cols#80, it#8, lines#25, ncv#21, pairs#64,
Line 1520 
Line 1728 
         cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,          cud1=\E[B, 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[=1C, dch=\E[%p1%dP, dch1=\E[P, dim=\E[30;1m,          cvvis=\E[=1C, dch=\E[%p1%dP, dch1=\E[P, dim=\E[30;1m,
         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H,          dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K,
         hpa=\E[%i%p1%d`, ht=^I, ich=\E[%p1%d@, ich1=\E[@,          home=\E[H, hpa=\E[%i%p1%d`, ht=^I, ich=\E[%p1%d@,
         il=\E[%p1%dL, il1=\E[L, ind=\E[S, indn=\E[%p1%dS, kb2=\E[E,          ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S,
         kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,          indn=\E[%p1%dS, kb2=\E[E, kbs=^H, kcbt=\E[Z, kcub1=\E[D,
         kcuu1=\E[A, kdch1=\177, kend=\E[F, kf1=\E[M, kf10=\E[V,          kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177, kend=\E[F,
         kf11=\E[W, kf12=\E[X, kf2=\E[N, kf3=\E[O, kf4=\E[P, kf5=\E[Q,          kf1=\E[M, kf10=\E[V, kf11=\E[W, kf12=\E[X, kf13=\E[Y,
         kf6=\E[R, kf7=\E[S, kf8=\E[T, kf9=\E[U, khome=\E[H,          kf14=\E[Z, kf15=\E[a, kf16=\E[b, kf17=\E[c, kf18=\E[d,
         kich1=\E[L, knp=\E[G, kpp=\E[I, nel=\E[E, op=\E[x, rev=\E[7m,          kf19=\E[e, kf2=\E[N, kf20=\E[f, kf21=\E[g, kf22=\E[h,
         ri=\E[T, rin=\E[%p1%dT, rmso=\E[m, rs2=\E[x\E[m\Ec,          kf23=\E[i, kf24=\E[j, kf25=\E[k, kf26=\E[l, kf27=\E[m,
         setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[m,          kf28=\E[n, kf29=\E[o, kf3=\E[O, kf30=\E[p, kf31=\E[q,
         smso=\E[7m, vpa=\E[%i%p1%dd,          kf32=\E[r, kf33=\E[s, kf34=\E[t, kf35=\E[u, kf36=\E[v,
           kf37=\E[w, kf38=\E[x, kf39=\E[y, kf4=\E[P, kf40=\E[z,
           kf41=\E[@, kf42=\E[[, kf43=\E[\\, kf44=\E[], kf45=\E[\^,
           kf46=\E[_, kf47=\E[`, kf48=\E[{, kf5=\E[Q, kf6=\E[R,
           kf7=\E[S, kf8=\E[T, kf9=\E[U, khome=\E[H, kich1=\E[L,
           knp=\E[G, kpp=\E[I, nel=\E[E, op=\E[x, rc=\E8, rev=\E[7m,
           ri=\E[T, rin=\E[%p1%dT, rmso=\E[m, rs2=\E[x\E[m\Ec, sc=\E7,
           setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
           sgr=\E[0%?%p1%t;2;7%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;30;1%;%?%p6%t;1%;m,
           sgr0=\E[m, smso=\E[7m, vpa=\E[%i%p1%dd,
 cons25|ansis|ansi80x25|freebsd console (25-line ansi mode),  cons25|ansis|ansi80x25|freebsd console (25-line ansi mode),
         acsc=-\030.^Y0\333`\004a\260f\370g\361h\261i\025j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263y\363z\362~\371,          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, setab@, setaf@, smul=\E[4m,          bold@, dim@, op@, rmul=\E[m, setab@, setaf@,
         use=cons25,          sgr=\E[0%?%p1%t;2;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;m,
           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 1559 
Line 1777 
         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, setab@, setaf@, smul=\E[4m, use=cons25r,          op@, rmul=\E[m, setab@, setaf@,
           sgr=\E[0%?%p1%t;2;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;30;1%;%?%p6%t;1%;m,
           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 1574 
Line 1794 
         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, setab@, setaf@, smul=\E[4m,          bold@, dim@, op@, rmul=\E[m, setab@, setaf@,
         use=cons25l1,          sgr=\E[0%?%p1%t;2;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;m,
           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 1637 
Line 1858 
         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, kich1=\E[L,          kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, kich1=\E[L,
         kll=\E[F, knp=\E[G, kpp=\E[I, nel=^M^J, rc=\E8, sc=\E7,          kll=\E[F, knp=\E[G, kpp=\E[I, nel=^M^J, rc=\E8, sc=\E7,
         sgr=\E[0;10%?%p1%t;7%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m%?%p5%t\E[=8F%;,          sgr=\E[0;10%?%p1%t;7%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m%?%p5%t\E[=8F%;,
         use=klone+sgr,          use=klone+sgr8,
   
 # Old names for BSD/OS PC console used in releases before 4.1.  # Old names for BSD/OS PC console used in releases before 4.1.
 pc3|BSD/OS on the PC Console,  pc3|BSD/OS on the PC Console,
Line 1655 
Line 1876 
   
 #### DEC VT52  #### DEC VT52
 # (<acsc>/<rmacs>/<smacs> capabilities aren't in DEC's official entry -- esr)  # (<acsc>/<rmacs>/<smacs> capabilities aren't in DEC's official entry -- esr)
   #
   # Actually (TD pointed this out at the time the acsc string was added):
   # vt52 shouldn't define full acsc since most of the cells don't match.
   # see vt100 manual page A-31.  This is the list that does match:
   #       f degree
   #       g plus/minus
   #       h right-arrow
   #       k down-arrow
   #       m scan-1
   #       o scan-3
   #       q scan-5
   #       s scan-7
   # The line-drawing happens to work in several terminal emulators, but should
   # not be used as a guide to the capabilities of the vt52.  Note in particular
   # that vt52 does not support line-drawing characters (the scan-X values refer
   # to a crude plotting feature) -TD
 vt52|dec vt52,  vt52|dec vt52,
         OTbs,          OTbs,
         cols#80, it#8, lines#24,          cols#80, it#8, lines#24,
         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,          acsc=ffgghhompoqqss.k, bel=^G, clear=\EH\EJ, cr=^M,
         bel=^G, clear=\EH\EJ, cr=^M, cub1=\ED, cud1=\EB, cuf1=\EC,          cub1=\ED, cud1=\EB, 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, home=\EH, ht=^I, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB,          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,          kcuf1=\EC, kcuu1=\EA, nel=^M^J, ri=\EI, rmacs=\EG, smacs=\EF,
Line 1771 
Line 2008 
 #  |        $Op        |  $On    |         |  #  |        $Op        |  $On    |         |
 #  |___kc1_______K4____|_kc3__K5_|_kent_@8_|  #  |___kc1_______K4____|_kc3__K5_|_kent_@8_|
 #  #
   # Note however, that the arrangement of the 5-key ka1-kc3 do not follow the
   # terminfo guidelines.  That is a compromise used to assign the remaining
   # keys on the keypad to kf5-kf0, used on older systems with legacy termcap
   # support:
   vt100+keypad|dec vt100 numeric keypad no fkeys,
           ka1=\EOq, ka3=\EOs, kb2=\EOr, kc1=\EOp, kc3=\EOn,
   vt100+pfkeys|dec vt100 numeric keypad,
           kent=\EOM, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
           use=vt100+keypad,
   vt100+fnkeys|dec vt100 numeric keypad,
           kf0=\EOy, kf10=\EOx, kf5=\EOt, kf6=\EOu, kf7=\EOv, kf8=\EOl,
           kf9=\EOw, use=vt100+pfkeys,
   #
   # A better adaptation to modern keyboards such as the PC's, which have a dozen
   # function keys and the keypad 2,4,6,8 keys are labeled with arrows keys, is to
   # use the 5-key arrangement to model the arrow keys as suggested in the
   # terminfo guidelines:
   #   _______________________________________
   #  |   PF1   |   PF2   |   PF3   |   PF4   |
   #  |   $OP   |   $OQ   |   $OR   |   $OS   |
   #  |_kf1__k1_|_kf2__k2_|_kf3__k3_|_kf4__k4_|
   #  |    7         8         9         -    |
   #  |   $Ow   |   $Ox   |   $Oy   |   $Om   |
   #  |_ka1__K1_|_________|_ka3__K3_|_________|
   #  |    4    |    5    |    6    |    ,    |
   #  |   $Ot   |   $Ou   |   $Ov   |   $Ol   |
   #  |_________|_kb2__K2_|_________|_________|
   #  |    1    |    2    |    3    |         |
   #  |   $Oq   |   $Or   |   $Os   |  enter  |
   #  |_kc1__K4_|_________|_kc3__K5_|  $OM    |
   #  |         0         |   .     |         |
   #  |        $Op        |  $On    |         |
   #  |___________________|_________|_kent_@8_|
   #
   vt220+keypad|dec vt220 numeric keypad,
           ka1=\EOw, ka3=\EOy, kb2=\EOu, kc1=\EOq, kc3=\EOs, kent=\EOM,
           kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, ka2=\EOx, kb1=\EOt,
           kb3=\EOv, kc2=\EOr,
   #
   vt100+enq|ncurses extension for vt100-style ENQ,
           u8=\E[?1;2c, use=ansi+enq,
   vt102+enq|ncurses extension for vt102-style ENQ,
           u8=\E[?6c, use=ansi+enq,
   #
 # And here, for those of you with orphaned VT100s lacking documentation, is  # And here, for those of you with orphaned VT100s lacking documentation, is
 # a description of the soft switches invoked when you do `Set Up'.  # a description of the soft switches invoked when you do `Set Up'.
 #  #
Line 1806 
Line 2087 
 #  #
 # (vt100: 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),
         OTbs, am, msgr, xenl, xon,          OTbs, am, mc5i, msgr, xenl, xon,
         cols#80, it#8, lines#24, vt#3,          cols#80, it#8, lines#24, vt#3,
         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,          acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,          bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
Line 1815 
Line 2096 
         cuf=\E[%p1%dC, cuf1=\E[C$<2>,          cuf=\E[%p1%dC, cuf1=\E[C$<2>,
         cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,          cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
         cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>,          cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>,
         enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ind=^J, ka1=\EOq,          enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ind=^J, kbs=^H,
         ka3=\EOs, kb2=\EOr, kbs=^H, kc1=\EOp, kc3=\EOn, kcub1=\EOD,          kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, lf1=pf1,
         kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kent=\EOM, kf0=\EOy,          lf2=pf2, lf3=pf3, lf4=pf4, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i,
         kf1=\EOP, kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt,          rc=\E8, rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l,
         kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, rc=\E8,  
         rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l,  
         rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>,          rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>,
         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,          rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 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%;,          sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<2>,
         sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=,          sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=,
         smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,          smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
           use=vt100+fnkeys,
 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,  vt100-vb|dec vt100 (w/advanced video) & no beep,
Line 1869 
Line 2149 
 # This entry (or vt102-nsgr) is probably the right thing to use for  # This entry (or vt102-nsgr) is probably the right thing to use for
 # these.  # these.
 vt102|dec vt102,  vt102|dec vt102,
         mir,  
         dch1=\E[P, dl1=\E[M, il1=\E[L, rmir=\E[4l, smir=\E[4h,          dch1=\E[P, dl1=\E[M, il1=\E[L, rmir=\E[4l, smir=\E[4h,
         use=vt100,          use=vt100,
 vt102-w|dec vt102 in wide mode,  vt102-w|dec vt102 in wide mode,
Line 1888 
Line 2167 
         sgr@, sgr0=\E[m, use=vt102,          sgr@, sgr0=\E[m, use=vt102,
   
 # VT125 Graphics CRT.  Clear screen also erases graphics  # VT125 Graphics CRT.  Clear screen also erases graphics
   # Some vt125's came configured with vt102 support.
 vt125|vt125 graphics terminal,  vt125|vt125 graphics terminal,
           mir,
         clear=\E[H\E[2J\EPpS(E)\E\\$<50>, use=vt100,          clear=\E[H\E[2J\EPpS(E)\E\\$<50>, use=vt100,
   
 # This isn't a DEC entry, it came from University of Wisconsin.  # This isn't a DEC entry, it came from University of Wisconsin.
Line 1926 
Line 2207 
 # with the key marked (ESC) on the vt220.  See vt220d for an alternate mapping.  # with the key marked (ESC) on the vt220.  See vt220d for an alternate mapping.
 # PF1--PF4 are used as F1--F4.  # PF1--PF4 are used as F1--F4.
 #  #
 vt220|vt200|DEC VT220 in vt100 emulation mode,  vt220-old|vt200-old|DEC VT220 in vt100 emulation mode,
         OTbs, OTpt, am, mir, xenl, xon,          OTbs, OTpt, am, mir, xenl, xon,
         cols#80, lines#24, vt#3,          cols#80, lines#24, vt#3,
         OTnl=^J,          OTnl=^J,
Line 1937 
Line 2218 
         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=\E[D, kcud1=\E[B,          is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\E[D, kcud1=\E[B,
         kcuf1=\E[C, kcuu1=\E[A, 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~,
Line 1946 
Line 2227 
         ri=\EM$<14/>, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l,          ri=\EM$<14/>, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l,
         rmso=\E[27m, rmul=\E[24m,          rmso=\E[27m, rmul=\E[24m,
         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,          rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
         sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;,          sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;$<2>,
         sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h,          sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h,
         smso=\E[7m, smul=\E[4m,          smso=\E[7m, smul=\E[4m,
   
 # A much better description of the VT200/220; used to be vt220-8  # A much better description of the VT200/220; used to be vt220-8
 vt220-new|vt200-new|dec vt220,  # changed rmacs/smacs from shift-in/shift-out to vt200-old's explicit G0/G1
   # designation to accommodate bug in pcvt -TD
   vt220|vt200|dec vt220,
         OTbs, am, mc5i, mir, msgr, xenl, xon,          OTbs, am, mc5i, mir, msgr, xenl, xon,
         cols#80, it#8, lines#24, vt#3,          cols#80, it#8, lines#24, vt#3,
         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,          acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
Line 1964 
Line 2247 
         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,
         kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, kf7=\E[18~,          kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, kf7=\E[18~,
         kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~,          kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~,
         khome=\E[H, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, krdo=\E[29~,          kich1=\E[2~, knp=\E[6~, kpp=\E[5~, krdo=\E[29~, kslt=\E[4~,
         kslt=\E[4~, lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, mc0=\E[i,          lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, mc0=\E[i, mc4=\E[4i,
         mc4=\E[4i, mc5=\E[5i, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM,          mc5=\E[5i, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM,
         rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l, rmso=\E[27m,          rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l, rmso=\E[27m,
         rmul=\E[24m, rs1=\E[?3l, sc=\E7, sgr0=\E[m, smacs=\E(0$<2>,          rmul=\E[24m, rs1=\E[?3l, sc=\E7,
         smam=\E[?7h, smir=\E[4h, smso=\E[7m, smul=\E[4m, tbc=\E[3g,          sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;$<2>,
           sgr0=\E[m\E(B, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h,
           smso=\E[7m, smul=\E[4m, tbc=\E[3g,
 vt220-w|vt200-w|DEC vt220 in wide mode,  vt220-w|vt200-w|DEC vt220 in wide mode,
         cols#132,          cols#132,
         rs3=\E[?3h, use=vt220,          rs3=\E[?3h, use=vt220,
Line 1992 
Line 2277 
         flash=\233?5h$<200/>\233?5l, home=\233H, ht=^I, hts=\EH,          flash=\233?5h$<200/>\233?5l, home=\233H, ht=^I, hts=\EH,
         ich=\233%p1%d@, if=/usr/share/tabset/vt100,          ich=\233%p1%d@, if=/usr/share/tabset/vt100,
         il=\233%p1%dL, il1=\233L, ind=\ED,          il=\233%p1%dL, il1=\233L, ind=\ED,
         is2=\233?7h\233>\233?1h\E F\233?4l, kbs=\177,          is2=\233?7h\233>\233?1h\E F\233?4l, kbs=^H,
         kcub1=\233D, kcud1=\233B, kcuf1=\233C, kcuu1=\233A,          kcub1=\233D, kcud1=\233B, kcuf1=\233C, kcuu1=\233A,
         kf1=\EOP, kf10=\23321~, kf11=\23323~, kf12=\23324~,          kf1=\EOP, kf10=\23321~, kf11=\23323~, kf12=\23324~,
         kf13=\23325~, kf14=\23326~, kf17=\23331~, kf18=\23332~,          kf13=\23325~, kf14=\23326~, kf17=\23331~, kf18=\23332~,
Line 2001 
Line 2286 
         kfnd=\2331~, khlp=\23328~, khome=\233H, kich1=\2332~,          kfnd=\2331~, khlp=\23328~, khome=\233H, kich1=\2332~,
         knp=\2336~, kpp=\2335~, krdo=\23329~, kslt=\2334~, lf1=pf1,          knp=\2336~, kpp=\2335~, krdo=\23329~, kslt=\2334~, lf1=pf1,
         lf2=pf2, lf3=pf3, lf4=pf4, mc0=\233i, mc4=\2334i, mc5=\2335i,          lf2=pf2, lf3=pf3, lf4=pf4, mc0=\233i, mc4=\2334i, mc5=\2335i,
         nel=\EE, rc=\E8, rev=\2337m, ri=\EM, rmacs=^O, rmam=\233?7l,          nel=\EE, rc=\E8, rev=\2337m, ri=\EM, rmacs=\E(B,
         rmir=\2334l, rmso=\23327m, rmul=\23324m, rs1=\233?3l,          rmam=\233?7l, rmir=\2334l, rmso=\23327m, rmul=\23324m,
         sc=\E7, sgr0=\233m, smacs=^N, smam=\233?7h, smir=\2334h,          rs1=\233?3l, sc=\E7,
           sgr=\2330%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;$<2>,
           sgr0=\2330m\E(B, smacs=\E(0, smam=\233?7h, smir=\2334h,
         smso=\2337m, smul=\2334m, tbc=\2333g,          smso=\2337m, smul=\2334m, tbc=\2333g,
   
 #  
 # vt220d:  # vt220d:
 # This vt220 description regards F6--F10 as the second block of function keys  # This vt220 description regards F6--F10 as the second block of function keys
 # at the top of the keyboard.  This mapping follows the description given  # at the top of the keyboard.  This mapping follows the description given
Line 2018 
Line 2304 
         kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,          kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
         kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,          kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
         kf18=\E[32~, kf19=\E[33~, kf20=\E[34~, kf5@, kf6=\E[17~,          kf18=\E[32~, kf19=\E[33~, kf20=\E[34~, kf5@, kf6=\E[17~,
         kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, use=vt220,          kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, use=vt220-old,
   
 vt220-nam|v200-nam|VT220 in vt100 mode with no auto margins,  vt220-nam|v200-nam|VT220 in vt100 mode with no auto margins,
         am@,          am@,
Line 2047 
Line 2333 
         dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,          dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
         il1=\E[L, ind=\ED,          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,          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=\177, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,          kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, nel=^M\ED, rc=\E8,          kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, nel=^M\ED, rc=\E8,
         rf=/usr/lib/tabset/vt100, ri=\EM, rmdc=, rmir=\E[4l,          rf=/usr/share/tabset/vt100, ri=\EM, rmdc=, rmir=\E[4l,
         rmkx=\E[?1l\E>, rmso=\E[27m$<5/>, rmul=\E[24m,          rmkx=\E[?1l\E>, rmso=\E[27m$<5/>, rmul=\E[24m,
         rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, smdc=,          rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, smdc=,
         smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m$<5/>, smul=\E[4m,          smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m$<5/>, smul=\E[4m,
Line 2058 
Line 2344 
 #vt320|DEC VT320 in vt100 emulation mode,  #vt320|DEC VT320 in vt100 emulation mode,
 #       use=vt220,  #       use=vt220,
   
 #  
 # Use v320n for SCO's LYRIX.  Otherwise, use Adam Thompson's vt320-nam.  # Use v320n for SCO's LYRIX.  Otherwise, use Adam Thompson's vt320-nam.
 #  #
 vt320nam|v320n|DEC VT320 in vt100 emul. mode with NO AUTO WRAP mode,  vt320nam|v320n|DEC VT320 in vt100 emul. mode with NO AUTO WRAP mode,
Line 2091 
Line 2376 
         ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, fsl=\E[0$},          ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, fsl=\E[0$},
         home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL,          home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL,
         il1=\E[L, ind=\ED,          il1=\E[L, ind=\ED,
         is2=\E>\E[?3l\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H,          is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H,
         ka1=\EOw, ka3=\EOy, kb2=\EOu, kbs=\177, kc1=\EOq, kc3=\EOs,          kbs=\177, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,          kdch1=\E[3~, kel=\E[4~, kf10=\E[21~, kf11=\E[23~,
         kdch1=\E[3~, kel=\E[4~, kent=\EOM, kf1=\EOP, 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~,          kf20=\E[34~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~,
         kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS,          kf9=\E[20~, khome=\E[1~, kich1=\E[2~, knp=\E[6~, knxt=^I,
         kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,          kpp=\E[5~, kprv=\E[Z, kslt=\E[4~, mc0=\E[i, mc4=\E[?4i,
         khome=\E[1~, kich1=\E[2~, knp=\E[6~, knxt=^I, kpp=\E[5~,          mc5=\E[?5i, nel=\EE, rc=\E8, rev=\E[7m,
         kprv=\E[Z, kslt=\E[4~, mc0=\E[i, mc4=\E[?4i, mc5=\E[?5i,          rf=/usr/share/tabset/vt300, ri=\EM, rmacs=\E(B,
         nel=\EE, rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt300,          rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m,
         ri=\EM, rmacs=\E(B, rmam=\E[?7l, rmir=\E[4l,          rmul=\E[m,
         rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,          rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H,
         rs2=\E>\E[?3l\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H,          sc=\E7,
         sc=\E7, sgr0=\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h,          sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;$<2>,
           sgr0=\E[m\E(B, smacs=\E(0, smam=\E[?7h, 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,
         tsl=\E[1$}\E[H\E[K,          tsl=\E[1$}\E[H\E[K, use=vt220+keypad,
 vt320-nam|vt300-nam|dec vt320 7 bit terminal with no am to make SAS happy,  vt320-nam|vt300-nam|dec vt320 7 bit terminal with no am to make SAS happy,
         am@,          am@,
         is2=\E>\E[?3l\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H,          is2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h\E[1;24r\E[24;1H,
         rs2=\E>\E[?3l\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H,          rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h\E[1;24r\E[24;1H,
         use=vt320,          use=vt320,
 # We have to init 132-col mode, not 80-col mode.  # We have to init 132-col mode, not 80-col mode.
 vt320-w|vt300-w|dec vt320 wide 7 bit terminal,  vt320-w|vt300-w|dec vt320 wide 7 bit terminal,
         cols#132, wsl#132,          cols#132, wsl#132,
         is2=\E>\E[?3h\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H,          is2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H,
         rs2=\E>\E[?3h\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H,          rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H,
         use=vt320,          use=vt320,
 vt320-w-nam|vt300-w-nam|dec vt320 wide 7 bit terminal with no am,  vt320-w-nam|vt300-w-nam|dec vt320 wide 7 bit terminal with no am,
         am@,          am@,
         is2=\E>\E[?3h\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H,          is2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;24r\E[24;1H,
         rs2=\E>\E[?3h\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H,          rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;24r\E[24;1H,
         use=vt320-w,          use=vt320-w,
   
 # VT330 and VT340 -- These are ReGIS and SIXEL graphics terminals  # VT330 and VT340 -- These are ReGIS and SIXEL graphics terminals
Line 2153 
Line 2439 
         cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr,          cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr,
         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,
         cuu=\E[%p1%dA, cuu1=\E[A, cvvis=\E[?25h, dch=\E[%p1%dP,          cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
         dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,          dl=\E[%p1%dM, dl1=\E[M, dsl=\E[2$~\r\E[1$}\E[K\E[$},
         dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J, el=\E[K,          ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l$<200/>, fsl=\E[$},
         flash=\E[?5h\E[?5l$<200/>, fsl=\E[$}, home=\E[H, ht=^I,          home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL,
         hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED,          il1=\E[L, ind=\ED,
         is2=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H,          is2=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H,
         kbs=\177, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,          kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~,          kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~,
         kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, lf1=pf1, lf2=pf2,          kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, lf1=pf1, lf2=pf2,
         lf3=pf3, lf4=pf4, nel=^M\ED, rc=\E8, rev=\E[7m,          lf3=pf3, lf4=pf4, nel=^M\ED, rc=\E8, rev=\E[7m,
         rf=/usr/share/tabset/vt300, ri=\EM, rmacs=^O,          rf=/usr/share/tabset/vt300, ri=\EM, rmacs=\E(B,
         rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m,          rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m,
         rmul=\E[24m, rs1=\E[?3l, sc=\E7, sgr0=\E[m, smacs=^N,          rmul=\E[24m, rs1=\E[?3l, sc=\E7,
         smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m,          sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;$<2>,
         smul=\E[4m, tbc=\E[3g, tsl=\E[2$~\E[1$}\E[1;%dH,          sgr0=\E[m\E(B, smacs=\E(0, 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,
   
 # DEC doesn't supply a vt400 description, so we add Daniel Glasser's  # DEC doesn't supply a vt400 description, so we add Daniel Glasser's
 # (originally written with vt420 as its primary name, and usable for it).  # (originally written with vt420 as its primary name, and usable for it).
Line 2199 
Line 2487 
         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=^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,          dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
         dl1=\E[M, dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J$<10/>,          dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J$<10/>,
         el=\E[K$<4/>, flash=\E[?5h\E[?5l$<200/>, fsl=\E[$},          el=\E[K$<4/>, flash=\E[?5h\E[?5l$<200/>, fsl=\E[$},
         home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,          home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,
         il=\E[%p1%dL, il1=\E[L, ind=\ED,          il=\E[%p1%dL, il1=\E[L, ind=\ED,
         is2=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H,          is2=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H,
         kbs=\177, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,          kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~,          kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~,
         kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, lf1=pf1, lf2=pf2,          kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, lf1=pf1, lf2=pf2,
         lf3=pf3, lf4=pf4, nel=^M\ED, rc=\E8, rev=\E[7m,          lf3=pf3, lf4=pf4, nel=^M\ED, rc=\E8, rev=\E[7m,
         rf=/usr/share/tabset/vt300, ri=\EM, rmacs=^O,          rf=/usr/share/tabset/vt300, ri=\EM, rmacs=\E(B,
         rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m,          rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m,
         rmul=\E[24m, rs1=\E<\E[?3l\E[!p\E[?7h, sc=\E7, sgr0=\E[m,          rmul=\E[24m, rs1=\E<\E[?3l\E[!p\E[?7h, sc=\E7,
         smacs=^N, smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=,          sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;$<2>,
         smso=\E[7m, smul=\E[4m, tbc=\E[3g,          sgr0=\E[m\E(B, smacs=\E(0, 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,          tsl=\E[2$~\E[1$}\E[1;%dH,
   
 # (vt420: I removed <kf0>, it collided with <kf10>.  I also restored  # (vt420: I removed <kf0>, it collided with <kf10>.  I also restored
Line 2228 
Line 2517 
         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/vt300, il1=\E[L, ind=\ED,          if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED,
         is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=\177,          is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=^H,
         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,          kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
         kdch1=\E[3~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ, kf3=\EOR,          kdch1=\E[3~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ, kf3=\EOR,
         kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~, kf8=\E[20~,          kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~, kf8=\E[20~,
Line 2238 
Line 2527 
         rmam=\E[?7l, rmir=\E[4l, rmkx=\E>,          rmam=\E[?7l, rmir=\E[4l, rmkx=\E>,
         rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,          rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
         rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, sc=\E7,          rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, sc=\E7,
         sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;,          sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;$<2>,
         sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h,          sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h,
         smkx=\E=, smso=\E[7m, smul=\E[4m,          smkx=\E=, smso=\E[7m, smul=\E[4m,
   
 #  
 # DEC VT220 and up support DECUDK (user-defined keys).  DECUDK (i.e., pfx)  # 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  # takes two parameters, the key and the string.  Translating the key is
 # straightforward (keys 1-5 are not defined on real terminals, though some  # straightforward (keys 1-5 are not defined on real terminals, though some
Line 2325 
Line 2613 
         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/vt300, il1=\E[L, ind=\ED,          if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED,
         is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=\177,          is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=^H,
         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,          kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
         kdch1=\E[3~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ, kf3=\EOR,          kdch1=\E[3~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ, kf3=\EOR,
         kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~, kf8=\E[20~,          kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~, kf8=\E[20~,
Line 2336 
Line 2624 
         ri=\EM, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l,          ri=\EM, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l,
         rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,          rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
         rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, sc=\E7,          rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, sc=\E7,
         sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;,          sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;$<2>,
         sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h,          sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h,
         smso=\E[7m, smul=\E[4m,          smso=\E[7m, smul=\E[4m,
   
Line 2352 
Line 2640 
         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/vt300, il1=\E[L, ind=\ED,          if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED,
         is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=\177,          is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=^H,
         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,          kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
         kdch1=\E[3~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ, kf3=\EOR,          kdch1=\E[3~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ, kf3=\EOR,
         kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~, kf8=\E[20~,          kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~, kf8=\E[20~,
Line 2363 
Line 2651 
         ri=\EM, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l,          ri=\EM, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l,
         rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,          rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
         rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, sc=\E7,          rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, sc=\E7,
         sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;,          sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;$<2>,
         sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h,          sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h,
         smso=\E[7m, smul=\E[4m,          smso=\E[7m, smul=\E[4m,
   
Line 2403 
Line 2691 
 crt|crt-vt220|CRT 2.3 emulating VT220,  crt|crt-vt220|CRT 2.3 emulating VT220,
         bce, msgr,          bce, msgr,
         ncv@,          ncv@,
         hts=\EH, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c,          hts=\EH, use=vt100+enq, use=vt220, use=ecma+color,
         use=vt220, use=ecma+color,  
   
   # PuTTY 0.55 (released 3 August 2004)
   # http://www.chiark.greenend.org.uk/~sgtatham/putty/
   #
   # Comparing with 0.51, vttest is much better (only a few problems with the
   # cursor position reports and wrapping).
   #
   # PuTTY 0.51 (released 14 December 2000)
   #
   # This emulates vt100 + vt52 (plus a few vt220 features:  ech, SRM, DECTCEM, as
   # well as SCO and Atari, color palettes from Linux console).  Reading the code,
   # it is intended to be VT102 plus selected features.  By default, it sets $TERM
   # to xterm, which is incorrect, since several features are misimplemented:
   #
   #       Alt+key always sends ESC+key, so 'km' capability is removed.
   #
   #       Control responses, wrapping and tabs are buggy, failing a couple of
   #       screens in vttest.
   #
   #       xterm mouse support is not implemented (unrelease version may).
   #
   # Several features such as backspace/delete are optional; this entry documents
   # the default behavior -TD
   
   putty|PuTTY terminal emulator,
           am, bce, bw, ccc, hs, mir, msgr, xenl, xon,
           colors#8, it#8, ncv#22, pairs#64,
           acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
           bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
           clear=\E[H\E[J, cnorm=\E[?25h, cr=^M,
           csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
           cud=\E[%p1%dB, cud1=\ED, 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,
           dispc=%?%p1%{8}%=%t\E%%G\342\227\230\E%%@%e%p1%{10}%=%t\E%%G\342\227\231\E%%@%e%p1%{12}%=%t\E%%G\342\231\0\E%%@%e%p1%{13}%=%t\E%%G\342\231\252\E%%@%e%p1%{14}%=%t\E%%G\342\231\253\E%%@%e%p1%{15}%=%t\E%%G\342\230\274\E%%@%e%p1%{27}%=%t\E%%G\342\206\220\E%%@%e%p1%{155}%=%t\E%%G\340\202\242\E%%@%e%p1%c%;,
           dl=\E[%p1%dM, dl1=\E[M, dsl=\E]0;\007, ech=\E[%p1%dX,
           ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0,
           flash=\E[?5h\E[?5l, fsl=^G, home=\E[H, hpa=\E[%i%p1%dG,
           ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=^J,
           indn=\E[%p1%dS,
           initc=\E]P%p1%x%p2%{255}%*%{1000}%/%02x%p3%{255}%*%{1000}%/%02x%p4%{255}%*%{1000}%/%02x,
           is2=\E7\E[r\E[m\E[?7h\E[?1;4;6l\E[4l\E8\E>\E]R,
           kb2=\E[G, kbs=\177, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B,
           kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kend=\E[4~,
           kf1=\E[11~, 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=\E[12~,
           kf20=\E[34~, kf3=\E[13~, kf4=\E[14~, kf5=\E[15~,
           kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
           khome=\E[1~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~,
           kspd=^Z, nel=^M^J, oc=\E]R, op=\E[39;49m, rc=\E8, rev=\E[7m,
           ri=\EM, rin=\E[%p1%dT, rmacs=^O, rmam=\E[?7l,
           rmcup=\E[2J\E[?47l, rmir=\E[4l, rmpch=\E[10m,
           rmso=\E[27m, rmul=\E[24m,
           rs2=\E<\E["p\E[50;6"p\Ec\E[?3l\E]R\E[?1000l,
           s0ds=\E[10m, s1ds=\E[11m, s2ds=\E[12m, sc=\E7,
           setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
           sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
           sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E[?47h,
           smir=\E[4h, smpch=\E[11m, smso=\E[7m, smul=\E[4m,
           tbc=\E[3g, tsl=\E]0;, vpa=\E[%i%p1%dd, use=vt102+enq,
   vt100-putty|Reset PuTTY to pure vt100,
           rs2=\E<\E["p\Ec\E[?3l\E]R\E[40"p\E[61"p\E[50;1;2"p,
           use=vt100,
   # palette is hardcoded...
   putty-256color|PuTTY 0.58 with xterm 256-colors,
           initc@, use=xterm+256color, use=putty,
   
   # One of the keyboard selections is "VT100+".
   # pterm (the X11 port) uses shifted F1-F10 as F11-F20
   putty-vt100|VT100+ keyboard layout,
           kf1=\EOP, kf10=\EOY, kf11=\EOZ, kf12=\EO[, kf2=\EOQ,
           kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW,
           kf9=\EOX, use=putty,
   
 # This entry is for Tera Term Pro version 2.3, for MS-Windows 95/NT written by  # This entry is for Tera Term Pro version 2.3, for MS-Windows 95/NT written by
 # T. Teranishi dated Mar 10, 1998.  It is a free software terminal emulator  # T. Teranishi dated Mar 10, 1998.  It is a free software terminal emulator
 # (communication program) which supports:  # (communication program) which supports:
Line 2445 
Line 2806 
 # retrieving the window title, and for setting the window size (i.e., using  # retrieving the window title, and for setting the window size (i.e., using
 # "resize -s"), though it does not pass SIGWINCH to the application if the  # "resize -s"), though it does not pass SIGWINCH to the application if the
 # user resizes the window with the mouse.  # user resizes the window with the mouse.
 teraterm|Tera Term Pro,  teraterm2.3|Tera Term Pro,
         km, xon@,          km, xon@,
         ncv#43, vt@,          ncv#43, vt@,
         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,          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,
Line 2461 
Line 2822 
         kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~,          kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~,
         kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~,          kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~,
         kpp=\E[5~, kslt=\E[4~, op=\E[100m, rev=\E[7m, ri=\EM,          kpp=\E[5~, kslt=\E[4~, op=\E[100m, rev=\E[7m, ri=\EM,
         rmso=\E[27m, rmul=\E[24m, sgr0=\E[m, smso=\E[7m,          rmso=\E[27m, rmul=\E[24m, sgr0=\E[0m\017, smso=\E[7m,
         smul=\E[4m, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c,          smul=\E[4m, vpa=\E[%i%p1%dd, use=vt100+enq,
         vpa=\E[%i%p1%dd, use=klone+color, use=vt100,          use=klone+color, use=vt100,
   
   # Version 4.59 has regular vt100 line-drawing (so it is no longer necessary
   # to choose a Windows OEM font).
   #
   # Testing with tack:
   #       - it does not have xenl (suppress that)
   #       - underline seems to work with color (modify ncv).
   # Testing with vttest:
   #       - wrapping differs from vt100 (menu 1).
   #       - it recognizes xterm's X10 and normal mouse tracking, but none of the
   #         other flavors.
   #       - it recognizes the dtterm window controls for reporting size in
   #         characters and pixels.
   #       - it passes SIGWINCH.
   teraterm4.59|Tera Term Pro,
           bce, xenl@,
           ncv#41,
           acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
           kmous=\E[M, use=teraterm2.3,
   
   teraterm|Tera Term,
           use=teraterm4.59,
   
 # Tested with WinNT 4.0, the telnet application assumes the screensize is  # Tested with WinNT 4.0, the telnet application assumes the screensize is
 # 25x80.  This entry uses the 'Terminal' font, to get line-drawing characters.  # 25x80.  This entry uses the 'Terminal' font, to get line-drawing characters.
   #
   # Other notes:
   # a) Fails tack's cup (cursor-addressing) test, though cup works well enough
   #    for casual (occasional) use.  Also fails several of the vttest screens,
   #    but that is not unusual for vt100 "emulators".
   # b) Does not implement vt100 keypad
   # c) Recognizes a subset of vt52 controls.
 ms-vt100|MS telnet imitating dec vt100,  ms-vt100|MS telnet imitating dec vt100,
         lines#25,          lines#25,
         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,          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,
         tbc@, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?6c, u9=\E[c,          ka1@, ka3@, kb2@, kc1@, kc3@, kent@, kf0@, kf1@, kf10@, kf2@, kf3@, kf4@,
         use=vt100,          kf5@, kf6@, kf7@, kf8@, kf9@, tbc@, use=vt102+enq, use=vt100,
   
   # Tested with Windows 2000, the telnet application runs in a console window,
   # also using 'Terminal' font.
   #
   # Other notes:
   # a) This version has no function keys or numeric keypad.  Unlike the older
   #    version, the numeric keypad is entirely ignored.
   # b) The program sets $TERM to "ansi", which of course is inaccurate.
   ms-vt100-color|vtnt|windows 2000 ansi (sic),
           bce,
           dch=\E[%p1%dP, ich=\E[%p1%d@, use=ecma+color,
           use=ms-vt100,
   
   # Based on comments from Federico Bianchi:
   #
   #       vt100+ is basically a VT102-noSGR with ANSI.SYS colors and a different
   #       scheme for PF keys.
   #
   # and PuTTY wishlist:
   #
   #       The modifiers are represented as the codes listed above, prefixed to
   #       the normal sequences.  If the modifier is pressed alone, its sequence
   #       is transmitted twice in succession.  If multiple modifiers apply,
   #       they're transmitted in the order shift, control, alt.
   #
   #       Shift   \E^S
   #       Alt     \E^A,
   #       Ctrl    \E^C,
   ms-vt100+|vt100+|windows XP vt100+ (sic),
           kdch1=\E-, kend=\Ek, kf1=\E1, kf10=\E0, kf11=\E!, kf12=\E@,
           kf13=\E\023\E1, kf14=\E\023\E2, kf15=\E\023\E3,
           kf16=\E\023\E4, kf17=\E\023\E5, kf18=\E\023\E6,
           kf19=\E\023\E7, kf2=\E2, kf20=\E\023\E8, kf21=\E\023\E9,
           kf22=\E\023\E0, kf23=\E\023\E!, kf24=\E\023\E@,
           kf25=\E\003\E1, kf26=\E\003\E2, kf27=\E\003\E3,
           kf28=\E\003\E4, kf29=\E\003\E5, kf3=\E3, kf30=\E\003\E6,
           kf31=\E\003\E7, kf32=\E\003\E8, kf33=\E\003\E9,
           kf34=\E\003\E0, kf35=\E\003\E!, kf36=\E\003\E@,
           kf37=\E\001\E1, kf38=\E\001\E2, kf39=\E\001\E3, kf4=\E4,
           kf40=\E\001\E4, kf41=\E\001\E5, kf42=\E\001\E6,
           kf43=\E\001\E7, kf44=\E\001\E8, kf45=\E\001\E9,
           kf46=\E\001\E0, kf47=\E\001\E!, kf48=\E\001\E@, kf5=\E5,
           kf6=\E6, kf7=\E7, kf8=\E8, kf9=\E9, khome=\Eh, kich1=\E+,
           knp=\E/, kpp=\E?, use=ms-vt100-color,
   
   ms-vt-utf8|vt-utf8|UTF-8 flavor of vt100+,
           use=ms-vt100+,
   
   # a minimal subset of a vt100 (compare with "news-unk).
   tt|tkterm|Don Libes' tk text widget terminal emulator,
           clear=\E[H\E[J, cr=^M, cuf1=\E[C, cup=\E[%p1%d;%p2%dH,
           cuu1=\E[A, ind=^J, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
           kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW, kf9=\EOX, rmso=\E[m,
           smso=\E[7m,
   
 #### X terminal emulators  #### X terminal emulators
 #  #
 # You can add the following line to your .Xdefaults to change the terminal type  # You can add the following line to your .Xdefaults to change the terminal type
Line 2530 
Line 2974 
         sc=\E7,          sc=\E7,
         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[m, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m,          sgr0=\E[m, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m,
         smul=\E[4m, tbc=\E[3g, u6=\E[%i%d;%dR, u7=\E[6n,          smul=\E[4m, tbc=\E[3g, use=vt100+enq,
         u8=\E[?1;2c, u9=\E[c,  
 # Compatible with the R6 xterm  # Compatible with the R6 xterm
 # (from XFree86 3.2 distribution, <acsc> and <it> added, <blink@> removed)  # (from XFree86 3.2 distribution, <acsc> and <it> added, <blink@> removed)
 # added khome/kend, hts based on the R6 xterm code - TD  # added khome/kend, hts based on the R6 xterm code - TD
Line 2548 
Line 2991 
         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,          dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
         el=\E[K, enacs=\E)0, home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL,          el=\E[K, enacs=\E)0, home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL,
         il1=\E[L, ind=^J,          il1=\E[L, ind=^J,
         is2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, kbs=\177,          is2=\E[m\E[?7h\E[4l\E>\E7\E[r\E[?1;3;4;6l\E8, kbs=\177,
         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,          kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
         kdch1=\E[3~, kend=\EOF, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~,          kdch1=\E[3~, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~,
         kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,          kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
         kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,          kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
         kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, kf4=\E[14~,          kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, kf4=\E[14~,
         kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,          kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
         kfnd=\E[1~, khome=\EOH, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~,          kfnd=\E[1~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~,
         kslt=\E[4~, meml=\El, memu=\Em, rc=\E8, rev=\E[7m, ri=\EM,          kslt=\E[4~, meml=\El, memu=\Em, rc=\E8, rev=\E[7m, ri=\EM,
         rmacs=^O, rmcup=\E[2J\E[?47l\E8, rmir=\E[4l,          rmacs=^O, rmcup=\E[2J\E[?47l\E8, rmir=\E[4l,
         rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,          rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
         rs2=\E7\E[r\E8\E[m\E[?7h\E[?1;3;4;6l\E[4l\E>, sc=\E7,          rs2=\E[m\E[?7h\E[4l\E>\E7\E[r\E[?1;3;4;6l\E8, 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,
         u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c,          use=vt100+enq,
 # This is the base xterm entry for the xterm supplied with XFree86 3.2 & up.  # 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 (XFree86 3.2 Window System),  xterm-xf86-v32|xterm terminal emulator (XFree86 3.2 Window System),
Line 2580 
Line 3023 
         ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL,          ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL,
         il1=\E[L, ind=^J,          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=\177, kc1=\EOq,          kbeg=\EOE, kbs=\177, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
         kc3=\EOs, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,          kcuu1=\EOA, kdch1=\177, kend=\EOF, kf1=\E[11~, kf10=\E[21~,
         kdch1=\177, kend=\EOF, kent=\EOM, kf1=\E[11~, 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~,
         kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,          kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
         kf19=\E[33~, kf2=\E[12~, kf20=\E[34~, kf3=\E[13~,          kf19=\E[33~, kf2=\E[12~, kf20=\E[34~, kf3=\E[13~,
Line 2598 
Line 3040 
         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,          sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E7\E[?47h,          sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E7\E[?47h,
         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, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c,          tbc=\E[3g, vpa=\E[%i%p1%dd, use=vt100+enq,
         vpa=\E[%i%p1%dd, use=ecma+color,          use=ecma+color, use=vt220+keypad,
   
 # This is the stock xterm entry supplied with XFree86 3.3, which uses VT100  # This is the stock xterm entry supplied with XFree86 3.3, which uses VT100
 # codes for F1-F4 except while in VT220 mode.  # codes for F1-F4 except while in VT220 mode.
Line 2636 
Line 3078 
         kf42=\E[17;6~, kf43=\E[18;6~, kf44=\E[19;6~,          kf42=\E[17;6~, kf43=\E[18;6~, kf44=\E[19;6~,
         kf45=\E[20;6~, kf46=\E[21;6~, kf47=\E[23;6~,          kf45=\E[20;6~, kf46=\E[21;6~, kf47=\E[23;6~,
         kf48=\E[24;6~, khome=\EOH, rmcup=\E[?1049l,          kf48=\E[24;6~, khome=\EOH, rmcup=\E[?1049l,
         sgr=\E[0%?%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,          sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
         smcup=\E[?1049h, use=xterm-xf86-v333,          smcup=\E[?1049h, use=xterm-xf86-v333,
   
 xterm-xfree86|xterm-new|xterm terminal emulator (XFree86 4.0 Window System),  # This version was released in XFree86 4.3.
   xterm-xf86-v43|xterm terminal emulator (XFree86 4.3 Window System),
           kDC=\E[3;2~, kEND=\E[1;2F, kHOM=\E[1;2H, kIC=\E[2;2~,
           kLFT=\E[1;2D, kNXT=\E[6;2~, kPRV=\E[5;2~, kRIT=\E[1;2C,
           kbeg@,
           sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
           use=xterm-xf86-v40,
   
   # This version was released in XFree86 4.4.
   xterm-xf86-v44|xterm terminal emulator (XFree86 4.4 Window System),
           cnorm=\E[?12l\E[?25h, cvvis=\E[?12;25h, indn=\E[%p1%dS,
           rin=\E[%p1%dT, use=xterm-xf86-v43,
   
   xterm-xfree86|xterm terminal emulator (XFree86),
           use=xterm-xf86-v44,
   
   # This version reflects the current xterm features.
   xterm-new|modern xterm terminal emulator,
         npc,          npc,
         kDC=\E[3;5~, kEND=\EO5F, kHOM=\EO5H, kIC=\E[2;5~,          indn=\E[%p1%dS, kDC=\E[3;2~, kEND=\E[1;2F, kHOM=\E[1;2H,
         kLFT=\EO5D, kNXT=\E[6;5~, kPRV=\E[5;5~, kRIT=\EO5C,          kIC=\E[2;2~, kNXT=\E[6;2~, kPRV=\E[5;2~, kb2=\EOE,
         kb2=\EOE, kcbt=\E[Z, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,          kcbt=\E[Z, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
         kcuu1=\EOA, kend=\EOF, kent=\EOM, kf1=\EOP, kf10=\E[21~,          kend=\EOF, kent=\EOM, khome=\EOH, kich1=\E[2~, kmous=\E[M,
         kf11=\E[23~, kf12=\E[24~, kf13=\EO2P, kf14=\EO2Q,          knp=\E[6~, kpp=\E[5~, rin=\E[%p1%dT, use=xterm+pcfkeys,
         kf15=\EO2R, kf16=\EO2S, kf17=\E[15;2~, kf18=\E[17;2~,          use=xterm-basic,
         kf19=\E[18;2~, kf2=\EOQ, kf20=\E[19;2~, kf21=\E[20;2~,  #
         kf22=\E[21;2~, kf23=\E[23;2~, kf24=\E[24;2~, kf25=\EO5P,  # This fragment describes as much of XFree86 xterm's "pc-style" function
         kf26=\EO5Q, kf27=\EO5R, kf28=\EO5S, kf29=\E[15;5~,  # keys as will fit into terminfo's 60 function keys.
         kf3=\EOR, kf30=\E[17;5~, kf31=\E[18;5~, kf32=\E[19;5~,  # From ctlseqs.ms:
   #    Code     Modifiers
   #  ---------------------------------
   #     2       Shift
   #     3       Alt
   #     4       Shift + Alt
   #     5       Control
   #     6       Shift + Control
   #     7       Alt + Control
   #     8       Shift + Alt + Control
   #  ---------------------------------
   # The meta key may also be used as a modifier in this scheme, adding another
   # bit to the parameter.
   xterm+pcfkeys|fragment for PC-style fkeys,
           use=xterm+app, use=xterm+pcf2, use=xterm+pcc2,
           use=xterm+pce2,
   #
   xterm+noapp|fragment with cursor keys in normal mode,
           kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[F,
           khome=\E[H,
   
   xterm+app|fragment with cursor keys in application mode,
           kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kend=\EOF,
           khome=\EOH,
   #
   # The "PC-style" modifier scheme was introduced in xterm patch #94 (1999/3/27)
   # and revised in patch #167 (2002/8/24).  Some other terminal emulators copied
   # the earlier scheme, as noted in the "use=" clauses in this file.
   #
   # The original assignments from patch #94 for cursor-keys had some technical
   # issues:
   #
   #       A parameter for a function-key to represent a modifier is just more
   #       bits.  But for a cursor-key it may change the behavior of the
   #       application.  For instance, emacs decodes the first parameter of a
   #       cursor-key as a repeat count.
   #
   #       A parameterized string should (really) not begin with SS3 (\EO).
   #       Rather, CSI (\E[) should be used.
   #
   # For these reasons, the original assignments were deprecated.  For
   # compatibility reasons, they are still available as a setting of xterm's
   # modifyCursorKeys resource.  These fragments list the modified cursor-keys
   # that might apply to xterm+pcfkeys with different values of that resource.
   xterm+pcc3|fragment with modifyCursorKeys:3,
           kLFT=\E[>1;2D, kRIT=\E[>1;2C, kind=\E[>1;2B,
           kri=\E[>1;2A, kDN=\E[>1;2B, kDN3=\E[>1;3B, kDN4=\E[>1;4B,
           kDN5=\E[>1;5B, kDN6=\E[>1;6B, kDN7=\E[>1;7B,
           kLFT3=\E[>1;3D, kLFT4=\E[>1;4D, kLFT5=\E[>1;5D,
           kLFT6=\E[>1;6D, kLFT7=\E[>1;7D, kRIT3=\E[>1;3C,
           kRIT4=\E[>1;4C, kRIT5=\E[>1;5C, kRIT6=\E[>1;6C,
           kRIT7=\E[>1;7C, kUP=\E[>1;2A, kUP3=\E[>1;3A,
           kUP4=\E[>1;4A, kUP5=\E[>1;5A, kUP6=\E[>1;6A,
           kUP7=\E[>1;7A,
   
   xterm+pcc2|fragment with modifyCursorKeys:2,
           kLFT=\E[1;2D, kRIT=\E[1;2C, kind=\E[1;2B, kri=\E[1;2A,
           kDN=\E[1;2B, kDN3=\E[1;3B, kDN4=\E[1;4B, kDN5=\E[1;5B,
           kDN6=\E[1;6B, kDN7=\E[1;7B, kLFT3=\E[1;3D, kLFT4=\E[1;4D,
           kLFT5=\E[1;5D, kLFT6=\E[1;6D, kLFT7=\E[1;7D,
           kRIT3=\E[1;3C, kRIT4=\E[1;4C, kRIT5=\E[1;5C,
           kRIT6=\E[1;6C, kRIT7=\E[1;7C, kUP=\E[1;2A, kUP3=\E[1;3A,
           kUP4=\E[1;4A, kUP5=\E[1;5A, kUP6=\E[1;6A, kUP7=\E[1;7A,
   
   xterm+pcc1|fragment with modifyCursorKeys:1,
           kLFT=\E[2D, kRIT=\E[2C, kind=\E[2B, kri=\E[2A, kDN=\E[2B,
           kDN3=\E[3B, kDN4=\E[4B, kDN5=\E[5B, kDN6=\E[6B, kDN7=\E[7B,
           kLFT3=\E[3D, kLFT4=\E[4D, kLFT5=\E[5D, kLFT6=\E[6D,
           kLFT7=\E[7D, kRIT3=\E[3C, kRIT4=\E[4C, kRIT5=\E[5C,
           kRIT6=\E[6C, kRIT7=\E[7C, kUP=\E[2A, kUP3=\E[3A,
           kUP4=\E[4A, kUP5=\E[5A, kUP6=\E[6A, kUP7=\E[7A,
   
   xterm+pcc0|fragment with modifyCursorKeys:0,
           kLFT=\EO2D, kRIT=\EO2C, kind=\EO2B, kri=\EO2A, kDN=\EO2B,
           kDN3=\EO3B, kDN4=\EO4B, kDN5=\EO5B, kDN6=\EO6B, kDN7=\EO7B,
           kLFT3=\EO3D, kLFT4=\EO4D, kLFT5=\EO5D, kLFT6=\EO6D,
           kLFT7=\EO7D, kRIT3=\EO3C, kRIT4=\EO4C, kRIT5=\EO5C,
           kRIT6=\EO6C, kRIT7=\EO7C, kUP=\EO2A, kUP3=\EO3A,
           kUP4=\EO4A, kUP5=\EO5A, kUP6=\EO6A, kUP7=\EO7A,
   
   #
   # Here are corresponding fragments from xterm patch #216:
   #
   xterm+pcf0|fragment with modifyFunctionKeys:0,
           kf1=\EOP, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
           kf13=\EO2P, kf14=\EO2Q, kf15=\EO2R, kf16=\EO2S,
           kf17=\E[15;2~, kf18=\E[17;2~, kf19=\E[18;2~, kf2=\EOQ,
           kf20=\E[19;2~, kf21=\E[20;2~, kf22=\E[21;2~,
           kf23=\E[23;2~, kf24=\E[24;2~, kf25=\EO5P, kf26=\EO5Q,
           kf27=\EO5R, kf28=\EO5S, kf29=\E[15;5~, kf3=\EOR,
           kf30=\E[17;5~, kf31=\E[18;5~, kf32=\E[19;5~,
         kf33=\E[20;5~, kf34=\E[21;5~, kf35=\E[23;5~,          kf33=\E[20;5~, kf34=\E[21;5~, kf35=\E[23;5~,
         kf36=\E[24;5~, kf37=\EO6P, kf38=\EO6Q, kf39=\EO6R,          kf36=\E[24;5~, kf37=\EO6P, kf38=\EO6Q, kf39=\EO6R,
         kf4=\EOS, kf40=\EO6S, kf41=\E[15;6~, kf42=\E[17;6~,          kf4=\EOS, kf40=\EO6S, kf41=\E[15;6~, kf42=\E[17;6~,
         kf43=\E[18;6~, kf44=\E[19;6~, kf45=\E[20;6~,          kf43=\E[18;6~, kf44=\E[19;6~, kf45=\E[20;6~,
         kf46=\E[21;6~, kf47=\E[23;6~, kf48=\E[24;6~, kf5=\E[15~,          kf46=\E[21;6~, kf47=\E[23;6~, kf48=\E[24;6~, kf49=\EO3P,
         kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, khome=\EOH,          kf5=\E[15~, kf50=\EO3Q, kf51=\EO3R, kf52=\EO3S,
         kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~,          kf53=\E[15;3~, kf54=\E[17;3~, kf55=\E[18;3~,
         use=xterm-basic,          kf56=\E[19;3~, kf57=\E[20;3~, kf58=\E[21;3~,
           kf59=\E[23;3~, kf6=\E[17~, kf60=\E[24;3~, kf61=\EO4P,
           kf62=\EO4Q, kf63=\EO4R, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
 #  #
   xterm+pcf2|fragment with modifyFunctionKeys:2,
           kf1=\EOP, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
           kf13=\E[1;2P, kf14=\E[1;2Q, kf15=\E[1;2R, kf16=\E[1;2S,
           kf17=\E[15;2~, kf18=\E[17;2~, kf19=\E[18;2~, kf2=\EOQ,
           kf20=\E[19;2~, kf21=\E[20;2~, kf22=\E[21;2~,
           kf23=\E[23;2~, kf24=\E[24;2~, kf25=\E[1;5P, kf26=\E[1;5Q,
           kf27=\E[1;5R, kf28=\E[1;5S, kf29=\E[15;5~, kf3=\EOR,
           kf30=\E[17;5~, kf31=\E[18;5~, kf32=\E[19;5~,
           kf33=\E[20;5~, kf34=\E[21;5~, kf35=\E[23;5~,
           kf36=\E[24;5~, kf37=\E[1;6P, kf38=\E[1;6Q, kf39=\E[1;6R,
           kf4=\EOS, kf40=\E[1;6S, kf41=\E[15;6~, kf42=\E[17;6~,
           kf43=\E[18;6~, kf44=\E[19;6~, kf45=\E[20;6~,
           kf46=\E[21;6~, kf47=\E[23;6~, kf48=\E[24;6~,
           kf49=\E[1;3P, kf5=\E[15~, kf50=\E[1;3Q, kf51=\E[1;3R,
           kf52=\E[1;3S, kf53=\E[15;3~, kf54=\E[17;3~,
           kf55=\E[18;3~, kf56=\E[19;3~, kf57=\E[20;3~,
           kf58=\E[21;3~, kf59=\E[23;3~, kf6=\E[17~, kf60=\E[24;3~,
           kf61=\E[1;4P, kf62=\E[1;4Q, kf63=\E[1;4R, kf7=\E[18~,
           kf8=\E[19~, kf9=\E[20~,
   #
   # Chunks from xterm #230:
   xterm+pce2|fragment with modifyCursorKeys:2,
           kDC=\E[3;2~, kEND=\E[1;2F, kHOM=\E[1;2H, kIC=\E[2;2~,
           kNXT=\E[6;2~, kPRV=\E[5;2~, kich1=\E[2~, knp=\E[6~,
           kpp=\E[5~, kDC3=\E[3;3~, kDC4=\E[3;4~, kDC5=\E[3;5~,
           kDC6=\E[3;6~, kDC7=\E[3;7~, kEND3=\E[1;3F, kEND4=\E[1;4F,
           kEND5=\E[1;5F, kEND6=\E[1;6F, kEND7=\E[1;7F,
           kHOM3=\E[1;3H, kHOM4=\E[1;4H, kHOM5=\E[1;5H,
           kHOM6=\E[1;6H, kHOM7=\E[1;7H, kIC3=\E[2;3~, kIC4=\E[2;4~,
           kIC5=\E[2;5~, kIC6=\E[2;6~, kIC7=\E[2;7~, kNXT3=\E[6;3~,
           kNXT4=\E[6;4~, kNXT5=\E[6;5~, kNXT6=\E[6;6~,
           kNXT7=\E[6;7~, kPRV3=\E[5;3~, kPRV4=\E[5;4~,
           kPRV5=\E[5;5~, kPRV6=\E[5;6~, kPRV7=\E[5;7~,
           use=xterm+edit,
   
   xterm+edit|fragment for 6-key editing-keypad,
           kdch1=\E[3~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
           use=xterm+pc+edit,
   
   xterm+pc+edit|fragment for pc-style editing keypad,
           kend=\E[4~, khome=\E[1~,
   
   xterm+vt+edit|fragment for vt220-style editing keypad,
           kfnd=\E[1~, kslt=\E[4~,
   
   #
   # Those chunks use the new-style (the xterm oldFunctionKeys resource is false).
   # Alternatively, the same scheme with old-style function keys as in xterm-r6
   # is shown here (because that is used in mrxvt and mlterm):
   xterm+r6f2|xterm with oldFunctionKeys and modifyFunctionKeys:2,
           kf1=\E[11~, kf13=\E[11;2~, kf14=\E[12;2~, kf15=\E[13;2~,
           kf16=\E[14;2~, kf2=\E[12~, kf25=\E[11;5~, kf26=\E[12;5~,
           kf27=\E[13;5~, kf28=\E[14;5~, kf3=\E[13~, kf37=\E[11;6~,
           kf38=\E[12;6~, kf39=\E[13;6~, kf4=\E[14~, kf40=\E[14;6~,
           kf49=\E[11;3~, kf50=\E[12;3~, kf51=\E[13;3~,
           kf52=\E[14;3~, kf61=\E[11;4~, kf62=\E[12;4~,
           kf63=\E[13;4~, use=xterm+pcf2,
   #
 # This chunk is used for building the VT220/Sun/PC keyboard variants.  # This chunk is used for building the VT220/Sun/PC keyboard variants.
 xterm-basic|xterm terminal emulator - common (XFree86),  xterm-basic|modern xterm terminal emulator - common,
         am, bce, km, mc5i, mir, msgr, xenl,          OTbs, am, bce, km, mc5i, mir, msgr, xenl, AX,
         colors#8, cols#80, it#8, lines#24, pairs#64,          colors#8, cols#80, it#8, lines#24, pairs#64,
         acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,          acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,          bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
         clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,          clear=\E[H\E[2J, cnorm=\E[?12l\E[?25h, 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=^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,
         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,          cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
         ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0,          dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K,
         flash=\E[?5h$<100/>\E[?5l, home=\E[H, hpa=\E[%i%p1%dG,          flash=\E[?5h$<100/>\E[?5l, home=\E[H, hpa=\E[%i%p1%dG,
         ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L,          ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L,
         ind=^J, invis=\E[8m, is2=\E[!p\E[?3;4l\E[4l\E>, kbs=\177,          ind=^J, invis=\E[8m, is2=\E[!p\E[?3;4l\E[4l\E>, kbs=\177,
         kdch1=\E[3~, mc0=\E[i, mc4=\E[4i, mc5=\E[5i, meml=\El,          kmous=\E[M, mc0=\E[i, mc4=\E[4i, mc5=\E[5i, meml=\El,
         memu=\Em, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O,          memu=\Em, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM,
         rmam=\E[?7l, rmcup=\E[?1049l, rmir=\E[4l, rmkx=\E[?1l\E>,          rmacs=\E(B, rmam=\E[?7l, rmcup=\E[?1049l, rmir=\E[4l,
         rmso=\E[27m, rmul=\E[24m, rs1=\Ec,          rmkx=\E[?1l\E>, rmm=\E[?1034l, rmso=\E[27m, rmul=\E[24m,
         rs2=\E[!p\E[?3;4l\E[4l\E>, sc=\E7, setab=\E[4%p1%dm,          rs1=\Ec, rs2=\E[!p\E[?3;4l\E[4l\E>, sc=\E7,
         setaf=\E[3%p1%dm,          setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
         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,
         setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,          setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
         sgr=\E[0%?%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,          sgr=%?%p9%t\E(0%e\E(B%;\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m,
         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E[?1049h,          sgr0=\E(B\E[m, smacs=\E(0, smam=\E[?7h, smcup=\E[?1049h,
         smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,          smir=\E[4h, smkx=\E[?1h\E=, smm=\E[?1034h, smso=\E[7m,
         tbc=\E[3g, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c,          smul=\E[4m, tbc=\E[3g, vpa=\E[%i%p1%dd, use=vt100+enq,
         vpa=\E[%i%p1%dd,  
   
 # From: David J. MacKenzie <djm@va.pubnix.com>, 14 Nov 1997  # From: David J. MacKenzie <djm@va.pubnix.com>, 14 Nov 1997
   # In retrospect, something like xterm-r6 was intended here -TD
 xterm-xi|xterm on XI Graphics Accelerated X under BSD/OS 3.1,  xterm-xi|xterm on XI Graphics Accelerated X under BSD/OS 3.1,
         rmso=\E[m, rmul=\E[m, use=xterm-xf86-v33,          rmso=\E[m, rmul=\E[m, use=xterm-xf86-v33,
   
 # This is one of the variants of XFree86 3.3 xterm, updated for 4.0 (T.Dickey)  # 16-colors is one of the variants of XFree86 3.3 xterm, updated for 4.0 (T.Dickey)
   # If configured to support 88- or 256-colors (which is fairly common in 2009),
   # xterm also recognizes the control sequences for initc -TD
 xterm-16color|xterm with 16 colors like aixterm,  xterm-16color|xterm with 16 colors like aixterm,
         colors#16, ncv#32, pairs#256,          ccc,
         setab=\E[%?%p1%{8}%<%t%p1%{40}%+%e%p1%{92}%+%;%dm,          initc=\E]4;%p1%d;rgb\:%p2%{255}%*%{1000}%/%2.2X/%p3%{255}%*%{1000}%/%2.2X/%p4%{255}%*%{1000}%/%2.2X\E\\,
         setaf=\E[%?%p1%{8}%<%t%p1%{30}%+%e%p1%{82}%+%;%dm,          use=ibm+16color, use=xterm-new,
         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-xfree86,  
   
 # These variants of XFree86 3.9.16 xterm are built as a configure option.  # 256-colors is a compile-time feature of XFree86 xterm beginning with
 xterm-256color|xterm with 256 colors,  # patch #111 (1999/7/10) -TD
   xterm+256color|xterm 256-color feature,
         ccc,          ccc,
         colors#256, ncv#32, pairs#256,          colors#256, pairs#32767,
         initc=\E]4;%p1%d;rgb\:%p2%{255}%*%{1000}%/%2.2X/%p3%{255}%*%{1000}%/%2.2X/%p4%{255}%*%{1000}%/%2.2X\E\\,          initc=\E]4;%p1%d;rgb\:%p2%{255}%*%{1000}%/%2.2X/%p3%{255}%*%{1000}%/%2.2X/%p4%{255}%*%{1000}%/%2.2X\E\\,
         setab=\E[48;5;%p1%dm, setaf=\E[38;5;%p1%dm,          setab=\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m,
         setb=\E[48;5;%p1%dm, setf=\E[38;5;%p1%dm,          setaf=\E[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m,
         use=xterm-xfree86,          setb@, setf@,
   
   # 88-colors is a compile-time feature of XFree86 xterm beginning with
   # patch #115 (1999/9/18) -TD
   #
   # Note that the escape sequences used are the same as for 256-colors - xterm
   # has a different table of default color resource values.  If built for
   # 256-colors, it can still handle an 88-color palette by using the initc
   # capability.
   #
   # At this time (2007/7/14), except for rxvt 2.7.x, none of the other terminals
   # which support the xterm+256color feature support the associated initc
   # capability.  So it is cancelled in the entries which use this and/or the
   # xterm+256color block.
   #
   # The default color palette for the 256- and 88-colors are different.  A
   # given executable will have one palette (perhaps compiled-in).  If the program
   # supports xterm's control sequence, it can be programmed using initc.
   xterm+88color|xterm 88-color feature,
           colors#88, pairs#7744, use=xterm+256color,
   
   # These variants of XFree86 3.9.16 xterm are built as a configure option.
   xterm-256color|xterm with 256 colors,
           use=xterm+256color, use=xterm-new,
 xterm-88color|xterm with 88 colors,  xterm-88color|xterm with 88 colors,
         colors#88, pairs#88, use=xterm-256color,          use=xterm+88color, use=xterm-256color,
   
   # These two are used to demonstrate the any-event mouse support, i.e., by
   # using an extended name "XM" which tells ncurses to put the terminal into
   # a special mode when initializing the xterm mouse.
   xterm-1002|testing xterm-mouse,
           XM=\E[?1002%?%p1%{1}%=%th%el%;, use=xterm-new,
   xterm-1003|testing xterm-mouse,
           XM=\E[?1003%?%p1%{1}%=%th%el%;, use=xterm-new,
   
 # This is another variant, for XFree86 4.0 xterm (T.Dickey)  # 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.  # 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.  # To use it, your decTerminalID resource must be set to 200 or above.
Line 2723 
Line 3363 
 #       CSI     \E [    \233  #       CSI     \E [    \233
 #  #
 xterm-8bit|xterm terminal emulator 8-bit controls (X Window System),  xterm-8bit|xterm terminal emulator 8-bit controls (X Window System),
         OTbs, am, bce, km, mc5i, mir, msgr, npc, xenl,          OTbs, am, bce, km, mc5i, mir, msgr, npc, xenl, AX,
         colors#8, cols#80, it#8, lines#24, pairs#64,          colors#8, cols#80, it#8, lines#24, pairs#64,
         acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,          acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
         bel=^G, blink=\2335m, bold=\2331m, cbt=\233Z,          bel=^G, blink=\2335m, bold=\2331m, cbt=\233Z,
         civis=\233?25l, clear=\233H\2332J, cnorm=\233?25h, cr=^M,          civis=\233?25l, clear=\233H\2332J,
         csr=\233%i%p1%d;%p2%dr, cub=\233%p1%dD, cub1=^H,          cnorm=\233?25l\233?25h, cr=^M, csr=\233%i%p1%d;%p2%dr,
         cud=\233%p1%dB, cud1=^J, cuf=\233%p1%dC, cuf1=\233C,          cub=\233%p1%dD, cub1=^H, cud=\233%p1%dB, cud1=^J,
         cup=\233%i%p1%d;%p2%dH, cuu=\233%p1%dA, cuu1=\233A,          cuf=\233%p1%dC, cuf1=\233C, cup=\233%i%p1%d;%p2%dH,
           cuu=\233%p1%dA, cuu1=\233A, cvvis=\233?12;25h,
         dch=\233%p1%dP, dch1=\233P, dl=\233%p1%dM, dl1=\233M,          dch=\233%p1%dP, dch1=\233P, dl=\233%p1%dM, dl1=\233M,
         ech=\233%p1%dX, ed=\233J, el=\233K, el1=\2331K,          ech=\233%p1%dX, ed=\233J, el=\233K, el1=\2331K,
         enacs=\E(B\E)0, flash=\233?5h$<100/>\233?5l,          flash=\233?5h$<100/>\233?5l, home=\233H,
         home=\233H, hpa=\233%i%p1%dG, ht=^I, hts=\210,          hpa=\233%i%p1%dG, ht=^I, hts=\210, ich=\233%p1%d@,
         ich=\233%p1%d@, il=\233%p1%dL, il1=\233L, ind=^J,          il=\233%p1%dL, il1=\233L, ind=^J, invis=\2338m,
         invis=\2338m,          is2=\E[62"p\E G\233m\233?7h\E>\E7\233?1;3;4;6l\2334l\233r\E8,
         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=\177,          ka1=\217w, ka3=\217u, kb2=\217y, kbeg=\217E, kbs=\177,
         kc1=\217q, kc3=\217s, kcbt=\233Z, kcub1=\217D, kcud1=\217B,          kc1=\217q, kc3=\217s, kcbt=\233Z, kcub1=\217D, kcud1=\217B,
         kcuf1=\217C, kcuu1=\217A, kdch1=\2333~, kend=\2334~,          kcuf1=\217C, kcuu1=\217A, kdch1=\2333~, kend=\2334~,
Line 2749 
Line 3389 
         kf9=\23320~, khome=\2331~, kich1=\2332~, kmous=\233M,          kf9=\23320~, khome=\2331~, kich1=\2332~, kmous=\233M,
         knp=\2336~, kpp=\2335~, mc0=\233i, mc4=\2334i, mc5=\2335i,          knp=\2336~, kpp=\2335~, mc0=\233i, mc4=\2334i, mc5=\2335i,
         meml=\El, memu=\Em, op=\23339;49m, rc=\E8, rev=\2337m,          meml=\El, memu=\Em, op=\23339;49m, rc=\E8, rev=\2337m,
         ri=\215, rmacs=^O, rmam=\233?7l, rmcup=\233?1049l,          ri=\215, rmacs=\E(B, rmam=\233?7l, rmcup=\233?1049l,
         rmir=\2334l, rmkx=\233?1l\E>, rmso=\23327m, rmul=\23324m,          rmir=\2334l, rmkx=\233?1l\E>, rmso=\23327m, rmul=\23324m,
         rs1=\Ec,          rs1=\Ec,
         rs2=\E[62"p\E G\E7\233r\E8\233m\233?7h\233?1;3;4;6l\2334l\E>,          rs2=\E[62"p\E G\233m\233?7h\E>\E7\233?1;3;4;6l\2334l\233r\E8,
         sc=\E7, setab=\2334%p1%dm, setaf=\2333%p1%dm,          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,          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,          setf=\2333%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
         sgr=\2330%?%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,          sgr=\2330%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\E(0%e\E(B%;,
         sgr0=\233m^O, smacs=^N, smam=\233?7h, smcup=\233?1049h,          sgr0=\2330m\E(B, smacs=\E(0, smam=\233?7h,
         smir=\2334h, smkx=\233?1h\E=, smso=\2337m, smul=\2334m,          smcup=\233?1049h, smir=\2334h, smkx=\233?1h\E=,
         tbc=\2333g, u6=\233[%i%d;%dR, u7=\E[6n, u8=\233[?1;2c,          smso=\2337m, smul=\2334m, tbc=\2333g, u6=\233[%i%d;%dR,
         u9=\E[c, vpa=\233%i%p1%dd,          u7=\E[6n, u8=\233[?1;2c, u9=\E[c, vpa=\233%i%p1%dd,
   
 xterm-hp|XFree86 xterm with hpterm function keys,  xterm-hp|xterm with hpterm function keys,
         kclr=\EJ, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,          kclr=\EJ, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
         kdch1=\EP, kend=\EF, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es,          kdch1=\EP, kend=\EF, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es,
         kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew, khome=\Eh, kich1=\EQ,          kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew, khome=\Eh, kich1=\EQ,
         knp=\ES, kpp=\ET, use=xterm-basic,          knp=\ES, kpp=\ET, use=xterm-basic,
   
 xterm-sco|XFree86 xterm with SCO function keys,  xterm-sco|xterm with SCO function keys,
         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[F,          kbeg=\E[E, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
         kf1=\E[M, kf10=\E[V, kf11=\E[W, kf12=\E[X, kf13=\E[Y,          kdch1=\177, kend=\E[F, kf1=\E[M, kf10=\E[V, kf11=\E[W,
         kf15=\E[a, kf16=\E[b, kf17=\E[c, kf18=\E[d, kf19=\E[e,          kf12=\E[X, kf13=\E[Y, kf14=\E[Z, kf15=\E[a, kf16=\E[b,
         kf2=\E[N, kf20=\E[f, kf21=\E[g, kf22=\E[h, kf23=\E[i,          kf17=\E[c, kf18=\E[d, kf19=\E[e, kf2=\E[N, kf20=\E[f,
         kf24=\E[j, kf25=\E[k, kf26=\E[l, kf27=\E[m, kf28=\E[n,          kf21=\E[g, kf22=\E[h, kf23=\E[i, kf24=\E[j, kf25=\E[k,
         kf29=\E[o, kf3=\E[O, kf30=\E[p, kf31=\E[q, kf32=\E[r,          kf26=\E[l, kf27=\E[m, kf28=\E[n, kf29=\E[o, kf3=\E[O,
         kf33=\E[s, kf34=\E[t, kf35=\E[u, kf4=\E[P, kf5=\E[Q,          kf30=\E[p, kf31=\E[q, kf32=\E[r, kf33=\E[s, kf34=\E[t,
         kf6=\E[R, kf7=\E[S, kf8=\E[T, kf9=\E[U, khome=\E[H,          kf35=\E[u, kf36=\E[v, kf37=\E[w, kf38=\E[x, kf39=\E[y,
         kich1=\E[L, knp=\E[G, kpp=\E[I, use=xterm-basic,          kf4=\E[P, kf40=\E[z, kf41=\E[@, kf42=\E[[, kf43=\E[\\,
           kf44=\E[], kf45=\E[\^, kf46=\E[_, kf47=\E[`, kf48=\E[{,
           kf5=\E[Q, kf6=\E[R, kf7=\E[S, kf8=\E[T, kf9=\E[U, khome=\E[H,
           kich1=\E[L, kmous=\E[>M, knp=\E[G, kpp=\E[I,
           use=xterm-basic,
   
 # The xterm-xfree86 description has all of the features, but is not completely  # The xterm-new description has all of the features, but is not completely
 # compatible with vt220.  If you are using a Sun or PC keyboard, set the  # compatible with vt220.  If you are using a Sun or PC keyboard, set the
 # sunKeyboard resource to true:  # sunKeyboard resource to true:
 #       + maps the editing keypad  #       + maps the editing keypad
Line 2788 
Line 3432 
 #       + maps numeric keypad "+" to ",".  #       + maps numeric keypad "+" to ",".
 #       + uses DEC-style control sequences for the application keypad.  #       + uses DEC-style control sequences for the application keypad.
 #  #
 xterm-vt220|XFree86 xterm emulating vt220,  xterm-vt220|xterm emulating vt220,
         ka1=\EOw, ka3=\EOy, kbeg=\EOu, kc1=\EOq, kc3=\EOs, kcbt=\E[Z,          kcbt=\E[Z, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kend=\E[4~,          kend=\E[4~, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
         kent=\EOM, kf1=\EOP, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,  
         kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~,          kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~,
         kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\EOQ,          kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf20=\E[34~,
         kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf5=\E[15~, kf6=\E[17~,          kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
         kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, khome=\E[1~,          khome=\E[1~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~,
         kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~,          use=xterm+app, use=xterm+edit, use=xterm-basic,
         use=xterm-basic,          use=vt220+keypad,
   
 xterm-vt52|XFree86 xterm emulating dec vt52,  xterm-vt52|xterm emulating dec vt52,
         cols#80, it#8, lines#24,          cols#80, it#8, lines#24,
         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,          acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
         bel=^G, clear=\EH\EJ, cr=^M, cub1=\ED, cud1=\EB, cuf1=\EC,          bel=^G, clear=\EH\EJ, cr=^M, cub1=\ED, cud1=\EB, cuf1=\EC,
Line 2808 
Line 3451 
         kcuf1=\EC, kcuu1=\EA, nel=^M^J, ri=\EI, rmacs=\EG, smacs=\EF,          kcuf1=\EC, kcuu1=\EA, nel=^M^J, ri=\EI, rmacs=\EG, smacs=\EF,
   
 xterm-noapp|xterm with cursor keys in normal mode,  xterm-noapp|xterm with cursor keys in normal mode,
         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, rmcup@,          rmcup@, rmkx=\E>, smcup@, smkx=\E=, use=xterm+noapp,
         rmkx=\E>, smcup@, smkx=\E=, use=xterm,          use=xterm,
   
 xterm-24|vs100|xterms|xterm terminal emulator (X Window System),  xterm-24|vs100|xterms|xterm terminal emulator (X Window System),
         lines#24, use=xterm-r6,          lines#24, use=xterm-old,
   
 # This is xterm for ncurses.  # This is xterm for ncurses.
 xterm|xterm terminal emulator (X Window System),  xterm|xterm terminal emulator (X Window System),
         use=xterm-r6,          use=xterm-new,
 #       use=xterm-xfree86,  
   
 # 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.
 # Note that twm (and possibly window managers descended from it such as tvtwm,  # Note that twm (and possibly window managers descended from it such as tvtwm,
Line 2837 
Line 3479 
 #  #
 # xterm with bold instead of underline  # xterm with bold instead of underline
 xterm-bold|xterm terminal emulator (X11R6 Window System) standout w/bold,  xterm-bold|xterm terminal emulator (X11R6 Window System) standout w/bold,
         smso=\E[7m, smul=\E[1m, use=xterm,          smso=\E[7m, smul=\E[1m, use=xterm-old,
 # (kterm: this had extension capabilities ":KJ:TY=ascii:" -- esr)  # (kterm: this had extension capabilities ":KJ:TY=ascii:" -- esr)
 # (kterm should not invoke DEC Graphics as the alternate character set  # (kterm should not invoke DEC Graphics as the alternate character set
 #  -- Kenji Rikitake)  #  -- Kenji Rikitake)
 # (proper setting of enacs, smacs, rmacs makes kterm to use DEC Graphics  # (proper setting of enacs, smacs, rmacs makes kterm to use DEC Graphics
 #  -- MATSUMOTO Shoji)  #  -- MATSUMOTO Shoji)
   # kterm implements acsc via built-in table of X Drawable's
 kterm|kterm kanji terminal emulator (X window system),  kterm|kterm kanji terminal emulator (X window system),
         eslok, hs,          eslok, hs,
         acsc=++\,\,--..00II``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,          ncv@,
           acsc=``aajjkkllmmnnooppqqrrssttuuvvwwxx~~,
         csr=\E[%i%p1%d;%p2%dr, dsl=\E[?H, enacs=, fsl=\E[?F,          csr=\E[%i%p1%d;%p2%dr, dsl=\E[?H, enacs=, fsl=\E[?F,
         kmous=\E[M, rc=\E8, rmacs=\E(B, sc=\E7, smacs=\E(0,          kmous=\E[M, rc=\E8, rmacs=\E(B, rmam=\E[?7l, sc=\E7,
         tsl=\E[?E\E[?%i%dT, use=xterm-r6, use=ecma+color,          sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;,
           sgr0=\E[m\E(B, smacs=\E(0, smam=\E[?7h,
           tsl=\E[?E\E[?%i%p1%dT, use=xterm-r6, use=ecma+color,
 kterm-color|kterm-co|kterm with ANSI colors,  kterm-color|kterm-co|kterm with ANSI colors,
         ncv@, use=kterm, use=ecma+color,          ncv@, use=kterm, use=ecma+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
Line 2875 
Line 3521 
         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,          dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
         el=\E[K, el1=\E[1K, enacs=\E(B\E)0, home=\E[H, ht=^I,          el=\E[K, el1=\E[1K, enacs=\E(B\E)0, home=\E[H, ht=^I,
         ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J,          ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J,
         is1=\E[r\E[m\E[?7h\E[?4;6l\E[4l, ka1=\EOw, ka3=\EOy,          is1=\E[r\E[m\E[?7h\E[?4;6l\E[4l, kbs=\177, kcub1=\EOD,
         kb2=\EOu, kbs=\177, kc1=\EOq, kc3=\EOs, kcub1=\EOD, kcud1=\EOB,          kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kend=\E[8~, kf1=\E[11~,
         kcuf1=\EOC, kcuu1=\EOA, kend=\E[8~, kent=\EOM, kf1=\E[11~,  
         kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf2=\E[12~,          kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf2=\E[12~,
         kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~,          kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~,
         kf8=\E[19~, kf9=\E[20~, khome=\E[7~, kich1=\E[2~,          kf8=\E[19~, kf9=\E[20~, khome=\E[7~, kich1=\E[2~,
Line 2887 
Line 3532 
         rs1=\E(B\017\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E<,          rs1=\E(B\017\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E<,
         sc=\E7,          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%;,          sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
         sgr0=\E[m, smacs=^N, smam=\E[?7h,          sgr0=\E[0m\017, smacs=^N, smam=\E[?7h,
         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, use=ecma+color,          smul=\E[4m, use=ecma+color, use=vt220+keypad,
   
 # The 'nxterm' distributed with Redhat Linux 5.2 is a slight rehack of  # The 'nxterm' distributed with Redhat Linux 5.2 is a slight rehack of
 # xterm-sb_right-ansi-3d, which implements ANSI colors, but does not support  # xterm-sb_right-ansi-3d, which implements ANSI colors, but does not support
Line 2899 
Line 3544 
 #  #
 # Redhat Linux 6.x distributes XFree86 xterm as "nxterm", which uses bce  # Redhat Linux 6.x distributes XFree86 xterm as "nxterm", which uses bce
 # colors; note that this is not compatible with the 5.2 version.  # colors; note that this is not compatible with the 5.2 version.
 nxterm|xterm-color|generic color xterm,  # csw (2002-05-15): make xterm-color primary instead of nxterm, to
   #   match XFree86's xterm.terminfo usage and prevent circular links
   xterm-color|nxterm|generic color xterm,
         ncv@,          ncv@,
         op=\E[m, use=xterm-r6, use=klone+color,          op=\E[m, use=xterm-r6, use=klone+color,
   
 # this describes the alpha-version of Gnome terminal shipped with Redhat 6.0  # this describes the alpha-version of Gnome terminal shipped with Redhat 6.0
 gnome|Gnome terminal,  gnome-rh62|Gnome terminal,
         bce,          bce,
         kdch1=\177, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,          kdch1=\177, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
         use=xterm-color,          use=xterm-color,
   
   # GNOME Terminal 1.4.0.4 (Redhat 7.2)
   #
   # This implements a subset of vt102 with a random selection of features from
   # other terminals such as color and function-keys.
   #
   # shift-f1 to shift-f10 are f11 to f20
   #
   # NumLock changes the application keypad to approximate vt100 keypad, except
   # that there is no escape sequence matching comma (,).
   #
   # Other defects observed:
   #       vt100 LNM mode is not implemented.
   #       vt100 80/132 column mode is not implemented.
   #       vt100 DECALN is not implemented.
   #       vt100 DECSCNM mode is not implemented, so flash does not work.
   #       vt100 TBC (tab reset) is not implemented.
   #       xterm alternate screen controls do not restore cursor position properly
   #       it hangs in tack after running function-keys test.
   gnome-rh72|GNOME Terminal,
           bce, km@,
           civis=\E[?25l, cnorm=\E[?25h, kdch1=\E[3~, kf1=\EOP,
           kf2=\EOQ, kf3=\EOR, kf4=\EOS, rmam=\E[?7l,
           sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m%?%p9%t\016%e\017%;,
           sgr0=\E[0m\017, smam=\E[?7h, tbc@, use=xterm-color,
   
   # GNOME Terminal 2.0.1 (Redhat 8.0)
   #
   # Documentation now claims it implements vt220 (which is demonstrably false).
   # However, it does implement ECH, which is a vt220 feature.  And there are
   # workable vt100 LNM, DECALN, DECSNM modes, making it possible to display
   # more of its bugs using vttest.
   #
   # However, note that bce and msgr are broken in this release.  Tabs (tbc and
   # hts) are broken as well.  Sometimes flash (as in xterm-new) works.
   #
   # kf1 and kf10 are not tested since they're assigned (hardcoded?) to menu
   # operations.  Shift-tab generates a distinct sequence so it can be argued
   # that it implements kcbt.
   gnome-rh80|GNOME Terminal,
           bce@, msgr@,
           ech=\E[%p1%dX, flash=\E[?5h$<100/>\E[?5l, kbs=\177,
           kcbt=\E^I, op=\E[39;49m, use=gnome-rh72,
   
   # GNOME Terminal 2.2.1 (Redhat 9.0)
   #
   # bce and msgr are repaired.
   gnome-rh90|GNOME Terminal,
           bce, msgr,
           hpa=\E[%i%p1%dG, kDC=\E[3;2~, kLFT=\EO2D, kRIT=\EO2C,
           kb2=\E[E, kcbt=\E[Z, kend=\EOF, khome=\EOH, tbc=\E[3g,
           vpa=\E[%i%p1%dd, use=xterm+pcf0, use=xterm+pcfkeys,
           use=gnome-rh80,
   
   # GNOME Terminal 2.14.2 (Fedora Core 5)
   # Ed Catmur notes that gnome-terminal has recognized soft-reset since May 2002.
   gnome-fc5|GNOME Terminal,
           rs1=\Ec,
           rs2=\E7\E[r\E8\E[m\E[?7h\E[!p\E[?1;3;4;6l\E[4l\E>\E[?1000l\E[?25h,
           use=ansi+enq, use=xterm+pcc0, use=gnome-rh90,
   
   # GNOME Terminal 2.18.1 (2007 snapshot)
   #
   # For any "recent" version of gnome-terminal, it is futile to attempt to
   # support modifiers on cursor- and keypad keys because the program usually
   # is hardcoded to set $TERM to "xterm", and on startup, it builds a subset
   # of the keys (which more/less correspond to the termcap values), and will
   # interpret those according to the $TERM value, but others not in the
   # terminfo according to some constantly changing set of hacker guidelines -TD
   gnome-2007|GNOME Terminal snapshot 2.18.1,
           use=xterm+pcc2, use=gnome-fc5,
   
   # GNOME Terminal 2.22.3 (2008 snapshot)
   #
   # In vttest, it claims to be a vt220 with national replacement character-sets,
   # but aside from the identifier string, implements only a small fraction of
   # vt220's behavior, which will make it less usable on a VMS system (unclear
   # what the intent of the developer is, since the NRC feature exposed in vttest
   # by this change does not work).
   gnome-2008|GNOME Terminal snapshot 2.22.3,
           use=gnome+pcfkeys, use=gnome-2007,
   
   # GNOME terminal may automatically use the contents of the "xterm" terminfo to
   # supply key information which is not built into the program.  With 2.22.3,
   # this list is built into the program (which addresses the inadvertant use of
   # random terminfo data, though using a set of values which does not correspond
   # to any that xterm produces - still not solving the problem that GNOME
   # terminal hardcodes the $TERM variable as "xterm").
   #
   #       terminfo        modifier        code    keys
   #       kf13-kf24       shift           2       F1 to F12
   #       kf25-kf36       control         5       F1 to F12
   #       kf37-kf48       shift/control   6       F1 to F12
   #       kf49-kf60       alt             3       F1 to F12
   #       kf61-kf63       shift-alt       4       F1 to F3
   #
   # The parameters with \EO (SS3) are technically an error, since SS3 should have
   # no parameters.  This appears to be rote copying based on xterm+pcc0.
   gnome+pcfkeys|gnome variation on xterm+pcfkeys,
           kf1=\EOP, kf13=\EO1;2P, kf14=\EO1;2Q, kf15=\EO1;2R,
           kf16=\EO1;2S, kf2=\EOQ, kf25=\EO1;5P, kf26=\EO1;5Q,
           kf27=\EO1;5R, kf28=\EO1;5S, kf3=\EOR, kf37=\EO1;6P,
           kf38=\EO1;6Q, kf39=\EO1;6R, kf4=\EOS, kf40=\EO1;6S,
           kf49=\EO1;3P, kf50=\EO1;3Q, kf51=\EO1;3R, kf52=\EO1;3S,
           kf61=\EO1;4P, kf62=\EO1;4Q, kf63=\EO1;4R,
           use=xterm+pcfkeys,
   
   gnome|GNOME Terminal,
           use=gnome-2008,
   
   # palette is hardcoded...
   gnome-256color|GNOME Terminal with xterm 256-colors,
           initc@, use=xterm+256color, use=gnome,
   
   # XFCE Terminal 0.2.5.4beta2
   #
   # This is based on some of the same source code, e.g., the VTE library, as
   # gnome-terminal, but has fewer features, fails more screens in vttest.
   # Since most of the terminfo-related behavior is due to the VTE library,
   # the terminfo is the same as gnome-terminal.
   xfce|Xfce Terminal,
           use=gnome,
   
   # Multi-Gnome-Terminal 1.6.2
   #
   # This does not use VTE, and does have different behavior (compare xfce and
   # gnome).
   mgt|Multi GNOME Terminal,
           indn=\E[%p1%dS, rin=\E[%p1%dT, use=xterm-xf86-v333,
   
 # This is kvt 0-18.7, shipped with Redhat 6.0 (though whether it supports bce  # This is kvt 0-18.7, shipped with Redhat 6.0 (though whether it supports bce
 # or not is debatable).  # or not is debatable).
 kvt|KDE terminal,  kvt|KDE terminal,
         bce, km@,          bce, km@,
         kdch1=\177, kend=\E[F, khome=\E[H, use=xterm-color,          kdch1=\177, kend=\E[F, khome=\E[H, use=xterm-color,
   
   # Konsole 1.0.1
   # (formerly known as kvt)
   #
   # This program hardcodes $TERM to 'xterm', which is not accurate.  However, to
   # simplify this entry (and point out why konsole isn't xterm), we base this on
   # xterm-r6.  The default keyboard appears to be 'linux'.
   #
   # Notes:
   # a) konsole implements several features from XFree86 xterm, though none of
   #    that is documented - except of course in its source code - apparently
   #    because its implementors are unaccustomed to reading documentation - as
   #    evidenced by the sparse and poorly edited documentation distributed with
   #    konsole.  Some features such as the 1049 private mode are recognized but
   #    incorrectly implemented as a duplicate of the 47 private mode.
   # b) even with the "vt100 (historical)" keyboard setting, the numeric keypad
   #    sends PC-style escapes rather than vt100.
   # c) fails vttest menu 3 (Test of character sets) because it does not properly
   #    parse some control sequences.  Also fails vttest Primary Device Attributes
   #    by sending a bogus code (in the source it says it's supposed to be a
   #    vt220, which is doubly incorrect because it does not implement vt220
   #    control sequences except for a few special cases).  Treat it as a
   #    mildly-broken vt102.
   #
   # Update for konsole 1.3.2:
   #    The 1049 private mode works (but see the other xterm screens in vttest).
   #    Primary Device Attributes now returns the code for a vt100 with advanced
   #    video option.  Perhaps that's intended to be a "mildly-broken vt102".
   #
   # Updated for konsole 1.6.4:
   #    add konsole-solaris
   #
   # Updated for konsole 1.6.6:
   #    add control-key modifiers for function-keys, etc.
   #
   # vttest menu 1 shows that both konsole and gnome terminal do wrapping
   # different from xterm (and vt100's).  They have the same behavior in this
   # detail, but it is unclear which copies the other.
   konsole-base|KDE console window,
           bce, km@, npc,
           bel@, blink=\E[5m, civis=\E[?25l, cnorm=\E[?25h,
           ech=\E[%p1%dX, flash=\E[?5h$<100/>\E[?5l,
           hpa=\E[%i%p1%dG, indn=\E[%p1%dS, kbs=\177, kdch1@,
           kend=\E[4~, kf1@, kf10@, kf11@, kf12@, kf13@, kf14@, kf15@, kf16@,
           kf17@, kf18@, kf19@, kf2@, kf20@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@,
           kf9@, kfnd@, khome=\E[1~, kslt@, rin=\E[%p1%dT, rmam=\E[?7l,
           rmso=\E[27m, rmul=\E[24m,
           rs2=\E7\E[r\E8\E[m\E[?7h\E[?1;3;4;6l\E[4l\E>\E[?1000l\E[?25h,
           sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
           sgr0=\E[0m\017, smam=\E[?7h, vpa=\E[%i%p1%dd,
           use=ecma+color, use=xterm-r6,
   konsole-linux|KDE console window with linux keyboard,
           kdch1=\E[3~, kf1=\E[[A, kf10=\E[21~, kf11=\E[23~,
           kf12=\E[24~, kf13@, kf14@, kf15@, kf16@, kf17@, kf18@, kf19@,
           kf2=\E[[B, kf20@, kf3=\E[[C, kf4=\E[[D, kf5=\E[[E,
           kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
           use=konsole-base,
   konsole-solaris|KDE console window with Solaris keyboard,
           kbs=^H, kend=\E[4~, khome=\E[1~, use=konsole-vt100,
   # KDE's "XFree86 3.x.x" keyboard is based on reading the xterm terminfo rather
   # than testing the code.
   konsole-xf3x|KDE console window with keyboard for XFree86 3.x xterm,
           kend=\E[4~, khome=\E[1~, use=konsole-vt100,
   # The value for kbs reflects local customization rather than the settings used
   # for XFree86 xterm.
   konsole-xf4x|KDE console window with keyboard for XFree86 4.x xterm,
           kend=\EOF, khome=\EOH, use=konsole+pcfkeys,
           use=konsole-vt100,
   # Konsole does not implement shifted cursor-keys.
   konsole+pcfkeys|konsole subset of xterm+pcfkeys,
           kLFT@, kRIT@, kcbt=\E[Z, kind@, kri@, kDN@, kUP@, use=xterm+pcc2,
           use=xterm+pcf0,
   # KDE's "vt100" keyboard has no relationship to any terminal that DEC made, but
   # it is still useful for deriving the other entries.
   konsole-vt100|KDE console window with vt100 (sic) keyboard,
           kbs=\177, kdch1=\E[3~, kend=\E[F, kf1=\E[11~, kf10=\E[21~,
           kf11=\E[23~, kf12=\E[24~, kf13@, kf14@, kf15@, kf16@, kf17@,
           kf18@, kf19@, kf2=\E[12~, kf20@, kf3=\E[13~, kf4=\E[14~,
           kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
           khome=\E[H, use=konsole-base,
   konsole-vt420pc|KDE console window with vt420 pc keyboard,
           kbs=^H, kdch1=\177, use=konsole-vt100,
   konsole-16color|klone of xterm-16color,
           ncv#32, use=ibm+16color, use=konsole,
   # make a default entry for konsole
   konsole|KDE console window,
           use=konsole-xf4x,
   
   # palette is hardcoded...
   konsole-256color|KDE console window with xterm 256-colors,
           initc@, use=xterm+256color, use=konsole,
   
   # This is mlterm 2.9.3's mlterm.ti, with some additions/corrections -TD
   #
   # It is nominally a vt102 emulator, with features borrowed from rxvt and
   # xterm.
   #
   # The function keys are numbered based on shift/control/alt modifiers, except
   # that the control-modifier itself is used to spawn a new copy of mlterm (the
   # "-P" option).  So control/F1 to control/F12 may not be usable, depending on
   # how it is configured.
   #
   #                               kf1 to kf12     \E[11~   to \E[24~
   #       shift                   kf1 to kf12     \E[11;2~ to \E[24;2~
   #       alt                     kf1 to kf12     \E[11;3~ to \E[24;3~
   #       shift/alt               kf1 to kf12     \E[11;4~ to \E[24;4~
   #       control                 kf1 to kf12     \E[11;5~ to \E[24;5~ (maybe)
   #       control/shift           kf1 to kf12     \E[11;6~ to \E[24;6~
   #       control/alt             kf1 to kf12     \E[11;7~ to \E[24;7~
   #       control/shift/alt       kf1 to kf12     \E[11;8~ to \E[24;8~
   #
   mlterm|multi lingual terminal emulator,
           am, eslok, km, mc5i, mir, msgr, npc, xenl,
           colors#8, cols#80, it#8, lines#24, pairs#64,
           acsc=00``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
           bel=^G, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
           clear=\E[H\E[2J, cnorm=\E[?25h, 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=\E[A,
           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, enacs=,
           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=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>,
           kbs=\177, kcbt=\E[Z, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
           kcuu1=\EOA, kdch1=\E[3~, kend=\EOF, kent=\EOM, kfnd=\E[1~,
           khome=\EOH, kich1=\E[2~, kind=\EO1;2B, kmous=\E[M,
           knp=\E[6~, kpp=\E[5~, kri=\EO1;2A, kslt=\E[4~, mc0=\E[i,
           nel=\EE, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM,
           rin=\E[%p1%dT, rmacs=\E(B, rmam=\E[?7l, rmcup=\E[?1049l,
           rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m,
           rs2=\E7\E[r\E8\E[m\E[?7h\E[?1;3;4;6l\E[4l\E>\E[?1000l,
           sc=\E7, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
           sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;,
           sgr0=\E[m\E(B, smacs=\E(0, smam=\E[?7h, smcup=\E[?1049h,
           smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
           tbc=\E[3g, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c,
           vpa=\E[%i%p1%dd, use=mlterm+pcfkeys, use=xterm+r6f2,
   
   # The insert/delete/home/end keys do not respond to modifiers because mlterm
   # looks in its termcap to decide which string to send.  If it used terminfo
   # (when available), it could use the extended names introduced for xterm.
   mlterm+pcfkeys|fragment for PC-style fkeys,
           kLFT=\EO1;2D, kNXT=\E[6;2~, kPRV=\E[5;2~, kRIT=\EO1;2C,
           kDN=\EO1;2B, kDN3=\EO1;3B, kDN4=\EO1;4B, kDN5=\EO1;5B,
           kDN6=\EO1;6B, kDN7=\EO1;7B, kIC5=\E[2;5~, kIC6=\E[2;6~,
           kLFT3=\EO1;3D, kLFT4=\EO1;4D, kLFT5=\EO1;5D,
           kLFT6=\EO1;6D, kLFT7=\EO1;7D, kNXT5=\E[6;5~,
           kNXT6=\E[6;6~, kPRV5=\E[5;5~, kPRV6=\E[5;6~,
           kRIT3=\EO1;3C, kRIT4=\EO1;4C, kRIT5=\EO1;5C,
           kRIT6=\EO1;6C, kRIT7=\EO1;7C, kUP=\EO1;2A, kUP3=\EO1;3A,
           kUP4=\EO1;4A, kUP5=\EO1;5A, kUP6=\EO1;6A, kUP7=\EO1;7A,
   
 # From: Thomas Dickey <dickey@clark.net> 04 Oct 1997  # From: Thomas Dickey <dickey@clark.net> 04 Oct 1997
 # Updated: Oezguer Kesim <kesim@math.fu-berlin.de> 02 Nov 1997  # Updated: Oezguer Kesim <kesim@math.fu-berlin.de> 02 Nov 1997
 # Notes:  # Notes:
Line 2932 
Line 3861 
 #  #
 # rxvt is normally configured to look for "xterm" or "xterm-color" as $TERM.  # 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  # Since rxvt is not really compatible with xterm, it should be configured as
 # "rxvt" (monochrome) and "rxvt-color".  # "rxvt" or "rxvt-color".
   #
   # removed dch/dch1 because they are inconsistent with bce/ech -TD
   # remove km as per tack test -TD
 rxvt-basic|rxvt terminal base (X Window System),  rxvt-basic|rxvt terminal base (X Window System),
         OTbs, am, bce, eo, km, mir, msgr, xenl, xon,          OTbs, am, bce, eo, mir, msgr, xenl, xon,
         cols#80, it#8, lines#24,          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,
Line 2942 
Line 3874 
         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=^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,
         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,          dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
         el=\E[K, el1=\E[1K, enacs=\E(B\E)0, flash=\E[?5h\E[?5l,          enacs=\E(B\E)0, flash=\E[?5h\E[?5l, home=\E[H, ht=^I,
         home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,          hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L,
         il=\E[%p1%dL, il1=\E[L, ind=^J, is1=\E[?47l\E=\E[?1l,          ind=^J, 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, kbs=^H,
         kDC=\E[3$, kEND=\E[8$, kHOM=\E[7$, kLFT=\E[d, kNXT=\E[6$,          kcbt=\E[Z, kmous=\E[M, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O,
         kPRV=\E[5$, kRIT=\E[c, ka1=\EOw, ka3=\EOy, kb2=\EOu, kbs=^H,          rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmkx=\E>, rmso=\E[27m,
         kc1=\EOq, kc3=\EOs, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B,          rmul=\E[24m,
         kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kel=\E[8\^,  
         kend=\E[8~, kent=\EOM, kf1=\E[11~, 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=\E[12~, kf20=\E[34~, kf3=\E[13~,  
         kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~,  
         kf9=\E[20~, kfnd=\E[1~, khome=\E[7~, kich1=\E[2~,  
         kmous=\E[M, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, rc=\E8,  
         rev=\E[7m, ri=\EM, rmacs=^O, rmcup=\E[2J\E[?47l\E8,  
         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>\E[?1000l\E[?25h,
         s0ds=\E(B, s1ds=\E(0, sc=\E7, sgr0=\E[0m\017, smacs=^N,          s0ds=\E(B, s1ds=\E(0, sc=\E7,
         smcup=\E7\E[?47h, smir=\E[4h, smkx=\E=, smso=\E[7m,          sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
         smul=\E[4m, tbc=\E[3g,          sgr0=\E[0m\017, smacs=^N, smcup=\E7\E[?47h, smir=\E[4h,
           smkx=\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, use=vt100+enq,
           use=rxvt+pcfkeys, use=vt220+keypad,
   # Key Codes from rxvt reference:
   #
   # Note: Shift + F1-F10 generates F11-F20
   #
   # For the keypad, use Shift to temporarily override Application-Keypad
   # setting use Num_Lock to toggle Application-Keypad setting if Num_Lock
   # is off, escape sequences toggle Application-Keypad setting.
   # Also note that values of Home, End, Delete may have been compiled
   # differently on your system.
   #
   #                   Normal       Shift        Control      Ctrl+Shift
   #  Tab              ^I           ESC [ Z      ^I           ESC [ Z
   #  BackSpace        ^H           ^?           ^?           ^?
   #  Find             ESC [ 1 ~    ESC [ 1 $    ESC [ 1 ^    ESC [ 1 @
   #  Insert           ESC [ 2 ~    paste        ESC [ 2 ^    ESC [ 2 @
   #  Execute          ESC [ 3 ~    ESC [ 3 $    ESC [ 3 ^    ESC [ 3 @
   #  Select           ESC [ 4 ~    ESC [ 4 $    ESC [ 4 ^    ESC [ 4 @
   #  Prior            ESC [ 5 ~    scroll-up    ESC [ 5 ^    ESC [ 5 @
   #  Next             ESC [ 6 ~    scroll-down  ESC [ 6 ^    ESC [ 6 @
   #  Home             ESC [ 7 ~    ESC [ 7 $    ESC [ 7 ^    ESC [ 7 @
   #  End              ESC [ 8 ~    ESC [ 8 $    ESC [ 8 ^    ESC [ 8 @
   #  Delete           ESC [ 3 ~    ESC [ 3 $    ESC [ 3 ^    ESC [ 3 @
   #  F1               ESC [ 11 ~   ESC [ 23 ~   ESC [ 11 ^   ESC [ 23 ^
   #  F2               ESC [ 12 ~   ESC [ 24 ~   ESC [ 12 ^   ESC [ 24 ^
   #  F3               ESC [ 13 ~   ESC [ 25 ~   ESC [ 13 ^   ESC [ 25 ^
   #  F4               ESC [ 14 ~   ESC [ 26 ~   ESC [ 14 ^   ESC [ 26 ^
   #  F5               ESC [ 15 ~   ESC [ 28 ~   ESC [ 15 ^   ESC [ 28 ^
   #  F6               ESC [ 17 ~   ESC [ 29 ~   ESC [ 17 ^   ESC [ 29 ^
   #  F7               ESC [ 18 ~   ESC [ 31 ~   ESC [ 18 ^   ESC [ 31 ^
   #  F8               ESC [ 19 ~   ESC [ 32 ~   ESC [ 19 ^   ESC [ 32 ^
   #  F9               ESC [ 20 ~   ESC [ 33 ~   ESC [ 20 ^   ESC [ 33 ^
   #  F10              ESC [ 21 ~   ESC [ 34 ~   ESC [ 21 ^   ESC [ 34 ^
   #  F11              ESC [ 23 ~   ESC [ 23 $   ESC [ 23 ^   ESC [ 23 @
   #  F12              ESC [ 24 ~   ESC [ 24 $   ESC [ 24 ^   ESC [ 24 @
   #  F13              ESC [ 25 ~   ESC [ 25 $   ESC [ 25 ^   ESC [ 25 @
   #  F14              ESC [ 26 ~   ESC [ 26 $   ESC [ 26 ^   ESC [ 26 @
   #  F15 (Help)       ESC [ 28 ~   ESC [ 28 $   ESC [ 28 ^   ESC [ 28 @
   #  F16 (Menu)       ESC [ 29 ~   ESC [ 29 $   ESC [ 29 ^   ESC [ 29 @
   #  F17              ESC [ 31 ~   ESC [ 31 $   ESC [ 31 ^   ESC [ 31 @
   #  F18              ESC [ 32 ~   ESC [ 32 $   ESC [ 32 ^   ESC [ 32 @
   #  F19              ESC [ 33 ~   ESC [ 33 $   ESC [ 33 ^   ESC [ 33 @
   #  F20              ESC [ 34 ~   ESC [ 34 $   ESC [ 34 ^   ESC [ 34 @
   #
   #                                                          Application
   #  Up               ESC [ A      ESC [ a      ESC O a      ESC O A
   #  Down             ESC [ B      ESC [ b      ESC O b      ESC O B
   #  Right            ESC [ C      ESC [ c      ESC O c      ESC O C
   #  Left             ESC [ D      ESC [ d      ESC O d      ESC O D
   #  KP_Enter         ^M                                     ESC O M
   #  KP_F1            ESC O P                                ESC O P
   #  KP_F2            ESC O Q                                ESC O Q
   #  KP_F3            ESC O R                                ESC O R
   #  KP_F4            ESC O S                                ESC O S
   #  XK_KP_Multiply   *                                      ESC O j
   #  XK_KP_Add        +                                      ESC O k
   #  XK_KP_Separator  ,                                      ESC O l
   #  XK_KP_Subtract   -                                      ESC O m
   #  XK_KP_Decimal    .                                      ESC O n
   #  XK_KP_Divide     /                                      ESC O o
   #  XK_KP_0          0                                      ESC O p
   #  XK_KP_1          1                                      ESC O q
   #  XK_KP_2          2                                      ESC O r
   #  XK_KP_3          3                                      ESC O s
   #  XK_KP_4          4                                      ESC O t
   #  XK_KP_5          5                                      ESC O u
   #  XK_KP_6          6                                      ESC O v
   #  XK_KP_7          7                                      ESC O w
   #  XK_KP_8          8                                      ESC O x
   #  XK_KP_9          9                                      ESC O y
   #
   # The source-code for rxvt actually defines mappings for F21-F35, using
   # "ESC [ 35 ~" to "ESC [  49 ~".  Keyboards with more than 12 function keys
   # are rare, so this entry uses the shift- and control-modifiers as in
   # xterm+pcfkeys to define keys past F12.
   #
   # kIC is normally not used, since rxvt performs a paste for that (shifted
   # insert), unless private mode 35 is set.
   #
   # kDN, kDN5, kDN6, etc are extensions based on the names from xterm+pcfkeys -TD
   # Removed kDN6, etc (control+shift) since rxvt does not implement this -TD
   rxvt+pcfkeys|fragment for PC-style fkeys,
           kDC=\E[3$, kEND=\E[8$, kHOM=\E[7$, kIC=\E[2$, kLFT=\E[d,
           kNXT=\E[6$, kPRV=\E[5$, kRIT=\E[c, kcub1=\E[D, kcud1=\E[B,
           kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kel=\E[8\^,
           kend=\E[8~, kf1=\E[11~, 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=\E[12~, kf20=\E[34~, kf21=\E[23$, kf22=\E[24$,
           kf23=\E[11\^, kf24=\E[12\^, kf25=\E[13\^, kf26=\E[14\^,
           kf27=\E[15\^, kf28=\E[17\^, kf29=\E[18\^, kf3=\E[13~,
           kf30=\E[19\^, kf31=\E[20\^, kf32=\E[21\^, kf33=\E[23\^,
           kf34=\E[24\^, kf35=\E[25\^, kf36=\E[26\^, kf37=\E[28\^,
           kf38=\E[29\^, kf39=\E[31\^, kf4=\E[14~, kf40=\E[32\^,
           kf41=\E[33\^, kf42=\E[34\^, kf43=\E[23@, kf44=\E[24@,
           kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
           kfnd=\E[1~, khome=\E[7~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
           kslt=\E[4~, kDC5=\E[3\^, kDC6=\E[3@, kDN=\E[b, kDN5=\EOb,
           kEND5=\E[8\^, kEND6=\E[8@, kHOM5=\E[7\^, kHOM6=\E[7@,
           kIC5=\E[2\^, kIC6=\E[2@, kLFT5=\EOd, kNXT5=\E[6\^,
           kNXT6=\E[6@, kPRV5=\E[5\^, kPRV6=\E[5@, kRIT5=\EOc,
           kUP=\E[a, kUP5=\EOa,
   
 rxvt|rxvt terminal emulator (X Window System),  rxvt|rxvt terminal emulator (X Window System),
         ncv@,          ncv@,
         sgr0=\E[m\017, use=rxvt-basic, use=ecma+color,          hpa=\E[%i%p1%dG, kf0=\E[21~, sgr0=\E[m\017,
           vpa=\E[%i%p1%dd, use=rxvt-basic, use=ecma+color,
   rxvt-color|rxvt terminal emulator (X Window System),
           use=rxvt,
   rxvt-256color|rxvt 2.7.9 with xterm 256-colors,
           use=xterm+256color, use=rxvt,
   rxvt-88color|rxvt 2.7.9 with xterm 88-colors,
           use=xterm+88color, use=rxvt,
   rxvt-xpm|rxvt terminal emulator (X Window System),
           use=rxvt,
   rxvt-cygwin|rxvt terminal emulator (X Window System) on cygwin,
           acsc=0\333+\257\,\256-\^`\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,
           use=rxvt,
   rxvt-cygwin-native|rxvt terminal emulator (native MS Window System port) on cygwin,
           acsc=0\333+\257\,\256-\^`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330~\376,
           use=rxvt-cygwin,
   
   # This variant is supposed to work with rxvt 2.7.7 when compiled with
   # NO_BRIGHTCOLOR defined.  rxvt needs more work...
   rxvt-16color|xterm with 16 colors like aixterm,
           ncv#32, use=ibm+16color, use=rxvt,
   
   # mrxvt 0.5.3
   #
   # mrxvt is based on rxvt 2.7.11, but has by default XTERM_FKEYS defined, which
   # makes its function-keys different from other flavors of rxvt -TD
   mrxvt|multitabbed rxvt,
           use=xterm+pcc2, use=xterm+r6f2, use=rxvt,
   
 # From: Michael Jennings <mej@valinux.com>  # From: Michael Jennings <mej@valinux.com>
   #
   # Eterm 0.9.3
   #
 # removed kf0 which conflicts with kf10 -TD  # removed kf0 which conflicts with kf10 -TD
 # remove cvvis which conflicts with cnorm -TD  # remove cvvis which conflicts with cnorm -TD
 # There's no u6 because Eterm appears to lack CPR (cursor position report).  # Eterm does not implement control/shift cursor keys such as kDN6, or kPRV/kNXT
   # but does otherwise follow the rxvt+pcfkeys model -TD
   # remove nonworking flash -TD
   # remove km as per tack test -TD
 Eterm|Eterm-color|Eterm with xterm-style color support (X Window System),  Eterm|Eterm-color|Eterm with xterm-style color support (X Window System),
         am, bce, bw, eo, km, mc5i, mir, msgr, xenl, xon,          am, bce, bw, eo, mc5i, mir, msgr, xenl, xon,
         btns#5, cols#80, it#8, lines#24, lm#0, ncv@,          btns#5, cols#80, it#8, lines#24, lm#0, ncv@,
         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,
Line 2984 
Line 4043 
         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,
         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,          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, enacs=\E)0,          ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0,
         flash=\E[?5h\E[?5l, home=\E[H, hpa=\E[%i%p1%dG, ht=^I,          home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
         hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L,          ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
         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, kNXT@,
         kDC=\E[3$, kEND=\E[8$, kHOM=\E[7$, kLFT=\E[d, kNXT=\E[6$,          kPRV@, ka1=\E[7~, ka3=\E[5~, kb2=\EOu, kbeg=\EOu, kbs=^H,
         kPRV=\E[5$, kRIT=\E[c, ka1=\E[7~, ka3=\E[5~, kb2=\EOu,          kc1=\E[8~, kc3=\E[6~, kent=\EOM, khlp=\E[28~, kmous=\E[M,
         kbeg=\EOu, kbs=^H, kc1=\E[8~, kc3=\E[6~, kcbt=\E[Z,          mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O,
         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,          rmam=\E[?7l, rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmkx=,
         kdch1=\E[3~, kel=\E[8\^, kend=\E[8~, kent=\EOM, kf1=\E[11~,          rmso=\E[27m, rmul=\E[24m,
         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=\E[12~, kf20=\E[34~,  
         kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~,  
         kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~,  
         khome=\E[7~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~,  
         kslt=\E[4~, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, ri=\EM,  
         rmacs=^O, rmam=\E[?7l, rmcup=\E[2J\E[?47l\E8, rmir=\E[4l,  
         rmkx=, 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>\E[?1000l\E[?25h,
         sc=\E7,          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%;,          sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E7\E[?47h,          sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E7\E[?47h,
         smir=\E[4h, smkx=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,          smir=\E[4h, smkx=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
         u7=\E[6n, u8=\E[?1;2c, u9=\E[c, vpa=\E[%i%p1%dd,          vpa=\E[%i%p1%dd, use=vt100+enq, use=rxvt+pcfkeys,
         use=ecma+color,          use=ecma+color,
   
   Eterm-256color|Eterm with xterm 256-colors,
           use=xterm+256color, use=Eterm,
   
   Eterm-88color|Eterm with 88 colors,
           use=xterm+88color, use=Eterm,
   
   # Based on rxvt 2.4.8, it has a few differences in key bindings
   aterm|AfterStep terminal,
           kbs=\177, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, use=rxvt,
   
   # xiterm  0.5-5.2
   # This is not based on xterm's source...
   # vttest shows several problems with keyboard, cursor-movements.
   # see also http://invisible-island.net/xterm/xterm.faq.html#bug_xiterm
   xiterm|internationalized terminal emulator for X,
           km@,
           kbs=\177, kdch1=\E[3~, use=klone+color, use=xterm-r6,
   
 # These (xtermc and xtermm) are distributed with Solaris.  They refer to a  # These (xtermc and xtermm) are distributed with Solaris.  They refer to a
 # variant of xterm which is apparently no longer supported, but are interesting  # variant of xterm which is apparently no longer supported, but are interesting
 # because they illustrate SVr4 curses mouse controls - T.Dickey  # because they illustrate SVr4 curses mouse controls - T.Dickey
Line 3018 
Line 4086 
         OTbs, am, km, mir, msgr, xenl,          OTbs, am, km, mir, msgr, xenl,
         btns#3, cols#80, it#8, lines#24,          btns#3, cols#80, it#8, lines#24,
         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,          acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
         bel=^G, blink=@, bold=\E[1m, clear=\E[H\E[2J, cr=^M,          bel=^G, blink@, bold=\E[1m, clear=\E[H\E[2J, cr=^M,
         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[1D,          csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[1D,
         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,
         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,          dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
         el=\E[K, el1=\E[1K$<3>, enacs=\E(B\E)0, getm=\E[%p1%dY,          el=\E[K, el1=\E[1K$<3>, enacs=\E(B\E)0, getm=\E[%p1%dY,
         home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,          home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,
         il=\E[%p1%dL, il1=\E[L, ind=^J, ka1=\EOq, ka3=\EOs, kb2=\EOr,          il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcub1=\EOD,
         kbs=\177, kc1=\EOp, kc3=\EOn, kcub1=\EOD, kcud1=\EOB,          kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kend=\E[Y, kf0=\EOy,
         kcuf1=\EOC, kcuu1=\EOA, kend=\E[Y, kent=\EOM, kf0=\EOy,          kf10=\EOY, kf11=\EOZ, kf12=\EOA, kf5=\EOT, kf6=\EOU,
         kf1=\EOP, kf10=\EOY, kf11=\EOZ, kf12=\EOA, kf2=\EOQ,          kf7=\EOV, kf8=\EOW, kf9=\EOX, khome=\E[H, kmous=\E[^_,
         kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW,          knp=\E[U, kpp=\E[V, rc=\E8, reqmp=\E[492Z, rev=\E[7m, ri=\EM,
         kf9=\EOX, khome=\E[H, kmous=\E[^_, knp=\E[U, kpp=\E[V,          rmacs=^O, rmcup=\E@0\E[?4r, rmso=\E[m,
         rc=\E8, reqmp=\E[492Z, rev=\E[7m, ri=\EM, rmacs=^O,  
         rmcup=\E@0\E[?4r, rmso=\E[m,  
         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>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,          rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 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%;,          sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
         sgr0=\E[m\017, smacs=^N, smcup=\E@0\E[?4s\E[?4h\E@1,          sgr0=\E[m\017, smacs=^N, smcup=\E@0\E[?4s\E[?4h\E@1,
         smso=\E[7m, tbc=\E[3g,          smso=\E[7m, tbc=\E[3g, use=vt100+fnkeys,
   
 xtermc|xterm terminal emulator (color),  xtermc|xterm terminal emulator (color),
         colors#8, ncv#7, pairs#64,          colors#8, ncv#7, pairs#64,
Line 3055 
Line 4121 
         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, use=xterm+sl, use=xterm-r6,          smul=\E[4m\E[42m, use=xterm+sl, use=xterm-r6,
   
 # HP ships this, except for the pb#9600 which was merged in from BSD termcap.  # HP ships this (HPUX 9 and 10), except for the pb#9600 which was merged in
 # (hpterm: added empty <acsc>, we have no idea what ACS chars look like --esr)  # from BSD termcap.  (hpterm:  added empty <acsc>, we have no idea what ACS
   # chars look like --esr)
 hpterm|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,
Line 3078 
Line 4145 
         sgr=\E&d%?%p7%t%{115}%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%{64}%+%c%?%p9%t%'\016'%c%e%'\017'%c%;,          sgr=\E&d%?%p7%t%{115}%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%{64}%+%c%?%p9%t%'\016'%c%e%'\017'%c%;,
         sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A, smln=\E&jB,          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,          smso=\E&dJ, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY,
   # HPUX 11 provides a color version.
   hpterm-color|HP X11 terminal emulator with color,
           ccc,
           colors#64, pairs#8,
           home=\E&a0y0C,
           initp=\E&v%p2%da%p3%db%p4%dc%p5%dx%p6%dy%p7%dz%p1%dI,
           op=\E&v0S, scp=\E&v%p1%dS, use=hpterm,
   
 # This entry describes an xterm with Sun-style function keys enabled  # This entry describes an xterm with Sun-style function keys enabled
 # via the X resource setting "xterm*sunFunctionKeys:true"  # via the X resource setting "xterm*sunFunctionKeys:true"
Line 3088 
Line 4162 
 # with their Sun keyboard labels instead.  # with their Sun keyboard labels instead.
 # From: Simon J. Gerraty <sjg@zen.void.oz.au> 10 Jan 1996  # From: Simon J. Gerraty <sjg@zen.void.oz.au> 10 Jan 1996
 xterm-sun|xterm with sunFunctionKeys true,  xterm-sun|xterm with sunFunctionKeys true,
         kb2=\E[218z, kcpy=\E[197z, kend=\E[220z, kf1=\E[224z,          kb2=\E[218z, kcpy=\E[197z, kcub1=\EOD, kcud1=\EOB,
         kf10=\E[233z, kf11=\E[192z, kf12=\E[193z, kf13=\E[194z,          kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3z, kend=\E[220z,
         kf14=\E[195z, kf15=\E[196z, kf17=\E[198z, kf18=\E[199z,          kent=\EOM, kf1=\E[224z, kf10=\E[233z, kf11=\E[192z,
         kf19=\E[200z, kf2=\E[225z, kf20=\E[201z, kf3=\E[226z,          kf12=\E[193z, kf13=\E[194z, kf14=\E[195z, kf15=\E[196z,
         kf31=\E[208z, kf32=\E[209z, kf33=\E[210z, kf34=\E[211z,          kf17=\E[198z, kf18=\E[199z, kf19=\E[200z, kf2=\E[225z,
         kf35=\E[212z, kf36=\E[213z, kf38=\E[215z, kf4=\E[227z,          kf20=\E[201z, kf3=\E[226z, kf31=\E[208z, kf32=\E[209z,
         kf40=\E[217z, kf42=\E[219z, kf44=\E[221z, kf5=\E[228z,          kf33=\E[210z, kf34=\E[211z, kf35=\E[212z, kf36=\E[213z,
         kf6=\E[229z, kf7=\E[230z, kf8=\E[231z, kf9=\E[232z,          kf38=\E[215z, kf4=\E[227z, kf40=\E[217z, kf42=\E[219z,
         kfnd=\E[200z, khlp=\E[196z, khome=\E[214z, kich1=\E[2z,          kf44=\E[221z, kf45=\E[222z, kf46=\E[234z, kf47=\E[235z,
         knp=\E[222z, kpp=\E[216z, kund=\E[195z, use=xterm,          kf5=\E[228z, kf6=\E[229z, kf7=\E[230z, kf8=\E[231z,
           kf9=\E[232z, kfnd=\E[200z, khlp=\E[196z, khome=\E[214z,
           kich1=\E[2z, knp=\E[222z, kpp=\E[216z, kund=\E[195z,
           use=xterm-basic,
 xterms-sun|small (80x24) xterm with sunFunctionKeys true,  xterms-sun|small (80x24) xterm with sunFunctionKeys true,
         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.
   # It corresponds to emu's internal emulation:
   #       emu -term emu
   # emu's default sets TERM to "xterm", but that doesn't work well -TD
   # fixes: remove bogus rmacs/smacs, change oc to op, add bce, am -TD
   # fixes: add civis, cnorm, sgr -TD
 emu|emu native mode,  emu|emu native mode,
         mir, msgr, xon,          am, bce, 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=61a\202f\260g2j\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=\EW, bold=\EU, civis=\EZ, clear=\EP\EE0;0;,
         clear=\EP\EE0;0;, cnorm=\Ea, cr=^M, csr=\Ek%p1%d;%p2%d;,          cnorm=\Ea, cr=^M, csr=\Ek%p1%d;%p2%d;, cub=\Eq-%p1%d;,
         cub=\Eq-%p1%d;, cub1=^H, cud=\Ep%p1%d;, cud1=\EB,          cub1=^H, cud=\Ep%p1%d;, cud1=\EB, cuf=\Eq%p1%d;, cuf1=\ED,
         cuf=\Eq%p1%d;, cuf1=\ED, cup=\EE%p1%d;%p2%d;,          cup=\EE%p1%d;%p2%d;, cuu=\Ep-%p1%d;, cuu1=\EA,
         cuu=\Ep-%p1%d;, cuu1=\EA, dch=\EI%p1%d;, dch1=\EI1;,          dch=\EI%p1%d;, dch1=\EI1;, dl=\ER%p1%d;, dl1=\ER1;,
         dl=\ER%p1%d;, dl1=\ER1;, ech=\Ej%p1%d;, ed=\EN, el=\EK,          ech=\Ej%p1%d;, ed=\EN, el=\EK, el1=\EL, home=\EE0;0;, ht=^I,
         el1=\EL, enacs=\0, home=\EE0;0;, ht=^I, hts=\Eh,          hts=\Eh, il=\EQ%p1%d;, il1=\EQ1;, ind=\EG,
         il=\EQ%p1%d;, il1=\EQ1;, ind=\EG, is2=\ES\Er0;\Es0;,          is2=\ES\Er0;\Es0;, kbs=^H, kcub1=\EC, kcud1=\EB, kcuf1=\ED,
         kbs=^H, kcub1=\EC, kcud1=\EB, kcuf1=\ED, kcuu1=\EA,          kcuu1=\EA, kdch1=\177, kent=^M, kf0=\EF00, kf1=\EF01,
         kdch1=\177, kent=^M, kf0=\EF00, kf1=\EF01, kf10=\EF10,          kf10=\EF10, kf11=\EF11, kf12=\EF12, kf13=\EF13, kf14=\EF14,
         kf11=\EF11, kf12=\EF12, kf13=\EF13, kf14=\EF14, kf15=\EF15,          kf15=\EF15, kf16=\EF16, kf17=\EF17, kf18=\EF18, kf19=\EF19,
         kf16=\EF16, kf17=\EF17, kf18=\EF18, kf19=\EF19, kf2=\EF02,          kf2=\EF02, kf20=\EF20, kf3=\EF03, kf4=\EF04, kf5=\EF05,
         kf20=\EF20, kf3=\EF03, kf4=\EF04, kf5=\EF05, kf6=\EF06,          kf6=\EF06, kf7=\EF07, kf8=\EF08, kf9=\EF09, kfnd=\Efind,
         kf7=\EF07, kf8=\EF08, kf9=\EF09, kfnd=\Efind, kich1=\Eins,          kich1=\Eins, knp=\Enext, kpp=\Eprior, kslt=\Esel,
         knp=\Enext, kpp=\Eprior, kslt=\Esel, oc=\Es0;\Er0;,          op=\Es0;\Er0;, rev=\ET, ri=\EF, rmir=\EX, rmso=\ES, rmul=\ES,
         rev=\ES\ET, ri=\EF, rmacs=\0, rmir=\EX, rmso=\ES, rmul=\ES,  
         rs2=\ES\Es0;\Er0;, setab=\Es%i%p1%d;,          rs2=\ES\Es0;\Er0;, setab=\Es%i%p1%d;,
         setaf=\Er%i%p1%d;, sgr0=\ES, smacs=\0, smir=\EY,          setaf=\Er%i%p1%d;,
         smso=\ES\ET, smul=\ES\EV, tbc=\Ej,          sgr=\ES%?%p1%t\ET%;%?%p2%t\EV%;%?%p3%t\ET%;%?%p4%t\EW%;%?%p6%t\EU%;,
           sgr0=\ES, smir=\EY, smso=\ET, smul=\EV, tbc=\Ej,
   
   # vt220 Terminfo entry for the Emu emulation, corresponds to
   #       emu -term vt220
   # with NumLock set (to make the keypad transmit kf0-kf9).
   # fixes: add am, xenl, corrected sgr0 -TD
   emu-220|Emu-220 (vt200-7bit mode),
           am, xenl, xon,
           cols#80, it#8, lines#24, vt#200,
           acsc=aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G,
           blink=\E[0;5m, bold=\E[0;1m, civis=\E[?25l,
           clear=\E[2J\E[H, cnorm=\E[?25h, cr=^M,
           csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[1D,
           cud=\E[%p1%dB, cud1=\E[1B, cuf=\E[%p1%dC, cuf1=\E[1C,
           cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[1A,
           dch=\E[%p1%dP, dch1=\E[1P, dl=\E[%p1%dM, dl1=\E[1M,
           ed=\E[0J, el=\E[0K, el1=\E[1K, enacs=\E)0, home=\E[H, ht=^I,
           hts=\EH, if=/usr/share/tabset/vt300, il=\E[%p1%dL,
           il1=\E[1L, ind=\ED, is2=\E>\E[?1l\E[?3l\E[4l\E[?7h,
           kbs=^H, kcmd=\E[29~, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
           kcuu1=\E[A, kdch1=\E[3~, kent=\EOM, kf0=\EOp, kf1=\EOq,
           kf10=\EOl, kf11=\EOm, kf12=\EOn, kf13=\EOP, kf14=\EOQ,
           kf15=\EOR, kf16=\EOS, kf2=\EOr, kf26=\E[17~, kf27=\E[18~,
           kf28=\E[19~, kf29=\E[20~, kf3=\EOs, kf30=\E[21~,
           kf34=\E[26~, kf37=\E[31~, kf38=\E[32~, kf39=\E[33~,
           kf4=\EOt, kf40=\E[34~, kf5=\EOu, kf6=\EOv, kf7=\EOw,
           kf8=\EOx, kf9=\EOy, kfnd=\E[1~, khlp=\E[28~, kich1=\E[2~,
           knp=\E[6~, kpp=\E[5~, kslt=\E[4~, rc=\E8, rev=\E[0;7m,
           ri=\EM, rmacs=^O, rmcup=\E>, rmkx=\E>, rmso=\E[m, rmul=\E[m,
           rs2=\E[4l\E[34l\E[?1l\E[?3l\E[?5l\E[?7h, sc=\E7,
           sgr=\E[0%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
           sgr0=\E[m, smacs=^N, smcup=\E[?1l\E=, smkx=\E=,
           smso=\E[0;7m, smul=\E[0;4m, tbc=\E[3g,
   # A commercial product, Reportedly a version of Xterm with an OPEN LOOK UI,
   # print interface, ANSI X3.64 colour escape sequences, etc.  Newsgroup postings
   # indicate that it emulates more than one terminal, but incompletely.
   #
   # This is adapted from a FreeBSD bug-report by Daniel Rudy <dcrudy@pacbell.net>
   # It is based on vt102's entry, with some subtle differences, but also
   #       has status line
   #       supports ANSI colors (except for 'op' string)
   #       apparently implements alternate screen like xterm
   #       does not use padding, of course.
   mvterm|vv100|SwitchTerm aka mvTERM,
           am, eslok, hs, km, mir, msgr, xenl,
           colors#8, cols#80, it#8, lines#24, pairs#64,
           acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
           bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, 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=\E[A,
           dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
           dsl=\E[?E, ed=\E[J, el=\E[K, el1=\E[1K$<3>, enacs=\E(B\E)0,
           fsl=\E[?F, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
           ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H,
           kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOy,
           kf10=\EOx, kf5=\EOt, kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw,
           op=\E[100m, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O,
           rmcup=\E[2J\E[?47l\E8, rmkx=\E[?1l\E>, rmso=\E[m,
           rmul=\E[m,
           rs2=\E>\E[1;3;4;5;6l\E[?7h\E[100m\E[m\E[r\E[2J\E[H,
           sc=\E7, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
           sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
           sgr0=\E[m\017, smacs=^N, smcup=\E7\E[?47h,
           smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
           tsl=\E[?E\E[?%i%p1%dT, use=vt100+fnkeys,
   
   ### MTERM
   #
   # This application is available by email from <mouse@Rodents.Montreal.QC.CA>.
   #
   # "mterm -type ansi" sets $TERM to "ansi"
   mterm-ansi|ANSI emulation,
           am, bw, mir, msgr,
           it#8,
           acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
           bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, 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[M, ech=\E[%p1%dX, ed=\E[J,
           el=\E[K, home=\E[H, hpa=\E[%i%p1%d`, ht=^I, ich1=,
           il=\E[%p1%dL, il1=\E[L, ind=\E[S, indn=\E[%p1%dS,
           invis=\E[8m, is2=\E)0\017, kbs=^H, nel=\EE, rev=\E[7m,
           ri=\E[T, rin=\E[%p1%dT, rmacs=^O, rmir=\E[4l, rmso=\E[27m,
           rmul=\E[24m,
           sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
           sgr0=\E[m, smacs=^N, smir=\E[4h, smso=\E[7m, smul=\E[4m,
           vpa=\E[%i%p1%dd,
   # mterm normally sets $TERM to "mterm"
   mterm|mouse-sun|Der Mouse term,
           am, bw, mir,
           it#8,
           bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^N, cuf1=^S,
           cup=\006%p1%d.%p2%d., cuu1=^X, dch1=^Y, dl1=^K, ed=^B, el=^C,
           home=^P, ht=^I, il1=^A, ind=^U, kbs=^H, ll=^R, nel=^M^U, ri=^W,
           rmir=^O, rmso=^T, smir=^Q, smso=^V,
   # "mterm -type decansi" sets $TERM to "decansi"
   #
   # note: kdch1, kfnd, kslt are in the source code, but do not work -TD
   decansi|ANSI emulation with DEC compatibility hacks,
           am, mir, msgr, xenl,
           colors#8, it#8, pairs#64,
           acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
           bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
           clear=\E[H\E[J, cnorm=\E[?25h, 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, dim=\E[2m, dl=\E[%p1%dM,
           dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, enacs=\E(B\E)0,
           home=\E[H, hpa=\E[%i%p1%d`, ht=^I, ich1=, il=\E[%p1%dL,
           il1=\E[L, ind=\E[S, indn=\E[%p1%dS, invis=\E[8m,
           is2=\E)0\E[r\017, kbs=^H, kcub1=\EOD, kcud1=\EOB,
           kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~, kf1=\E[11~,
           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=\E[12~, kf20=\E[34~,
           kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~,
           kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~,
           kpp=\E[5~, kslt=\E[4~, nel=\EE, op=\E[0m, rc=\E8, rev=\E[7m,
           ri=\E[T, rin=\E[%p1%dT, rmacs=^O, rmam=\E[?7l, rmir=\E[4l,
           rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, sc=\E7,
           setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
           sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
           sgr0=\E[m, smacs=^N, smam=\E[?7h, smir=\E[4h,
           smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, u6=\E[%i%d;%dR,
           u7=\E[6n, vpa=\E[%i%p1%dd,
   
   #### VWM
   #
   # vwmterm is a terminal emulator written for the VWM console window manager
   #
   vwmterm|(vwm term),
           am, bce, ccc, mir, msgr, npc, xenl, xon,
           colors#8, pairs#64,
           acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
           bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
           clear=\E[H\E[J, cnorm=\E[?25h, cr=^M, cub1=^H,
           cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
           cvvis=\E[?25h, dim=\E[2m, ed=\E[J, el=\E[K, home=\E[H,
           il1=\E[L, ind=^J, invis=\E[8m, kcub1=\E[D, kcud1=\E[B,
           kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kend=\E[4~, kf1=\E[[A,
           kf10=\E[21~, kf11=\E[22~, kf12=\E[23~, 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~,
           rev=\E[7m, rmacs=\E[10m, rmam=\E[?7l, rmcup=\E[?1049l,
           rs1=\E[H\E[J\E[m\Ec, setab=\E[4%p1%dm,
           setaf=\E[3%p1%dm,
           sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m,
           sgr0=\E[0;10m, smacs=\E[11m, smam=\E[?7h,
           smcup=\E[?1049h, smso=\E[3m, smul=\E[4m,
   
 #### MGR  #### MGR
 #  #
 # MGR is a Bell Labs window system lighter-weight than X.  # MGR is a Bell Labs window system lighter-weight than X.
Line 3198 
Line 4431 
         sgr0=\E[m, smcup=\E7\E[?47h, smir=\E[4h, smso=\E[7m,          sgr0=\E[m, smcup=\E7\E[?47h, smir=\E[4h, smso=\E[7m,
         smul=\E[4m,          smul=\E[4m,
   
   # The codes supported by the term.el terminal emulation in GNU Emacs 22.2
   eterm-color|Emacs term.el terminal emulator term-protocol-version 0.96,
           am, mir, msgr, xenl,
           colors#8, cols#80, lines#24, pairs#64,
           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,
           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,
           dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
           el=\E[K, el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@,
           il=\E[%p1%dL, il1=\E[L, ind=^J, invis=\E[8m, kbs=\177,
           kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
           kdch1=\E[3~, kend=\E[4~, khome=\E[1~, kich1=\E[2~,
           knp=\E[6~, kpp=\E[5~, op=\E[39;49m, rc=\E8, rev=\E[7m,
           ri=\EM, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m, rs1=\Ec,
           sc=\E7, setab=\E[%p1%'('%+%dm, setaf=\E[%p1%{30}%+%dm,
           sgr=\E[0%?%p1%p3%|%t;7%;%?%p2%t;4%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;m,
           sgr0=\E[m, smir=\E[4h, smso=\E[7m, smul=\E[4m,
           u6=\E[%i%d;%dR, u7=\E[6n,
   
 # Entries for use by the `screen' program by Juergen Weigert,  # Entries for use by the `screen' program by Juergen Weigert,
 # Michael Schroeder, Oliver Laumann.  The screen and  # Michael Schroeder, Oliver Laumann.  The screen and
 # screen-w entries came with version 3.7.1.  The screen2 and screen3 entries  # screen-w entries came with version 3.7.1.  The screen2 and screen3 entries
Line 3245 
Line 4498 
 screen-s|VT 100/ANSI X3.64 virtual terminal with hardstatus line,  screen-s|VT 100/ANSI X3.64 virtual terminal with hardstatus line,
         dsl=\E_\E\\, fsl=\E\\, tsl=\E_, use=screen,          dsl=\E_\E\\, fsl=\E\\, tsl=\E_, use=screen,
   
   # ======================================================================
   # Entries for GNU Screen with 16 colors.
   # Those variations permit to benefit from 16 colors palette, and from
   # bold font and blink attribute separated from bright colors. But they
   # are less portable than the generic "screen" 8 color entries: Their
   # usage makes real sense only if the terminals you attach and reattach
   # do all support 16 color palette.
   
   screen-16color|GNU Screen with 16 colors,
           use=ibm+16color, use=screen,
   
   screen-16color-s|GNU Screen with 16 colors and status line,
           use=ibm+16color, use=screen-s,
   
   screen-16color-bce|GNU Screen with 16 colors and BCE,
           use=ibm+16color, use=screen-bce,
   
   screen-16color-bce-s|GNU Screen with 16 colors, BCE, and status line,
           bce, use=ibm+16color, use=screen-s,
   
   # ======================================================================
   # Entries for GNU Screen 4.02 with --enable-colors256.
   
   screen-256color|GNU Screen with 256 colors,
           ccc@,
           initc@, use=xterm+256color, use=screen,
   
   screen-256color-s|GNU Screen with 256 colors and status line,
           ccc@,
           initc@, use=xterm+256color, use=screen-s,
   
   screen-256color-bce|GNU Screen with 256 colors and BCE,
           ccc@,
           initc@, use=xterm+256color, use=screen-bce,
   
   screen-256color-bce-s|GNU Screen with 256 colors, BCE, and status line,
           bce, ccc@,
           initc@, use=xterm+256color, use=screen-s,
   
   # ======================================================================
   
   # Read the fine manpage:
   #       When  screen  tries  to  figure  out  a  terminal name for
   #       itself, it first looks for an entry named "screen.<term>",
   #       where  <term>  is the contents of your $TERM variable.  If
   #       no such entry exists, screen tries "screen" (or "screen-w"
   #       if the terminal is wide (132 cols or more)).  If even this
   #       entry cannot be found, "vt100" is used as a substitute.
   #
   # Notwithstanding the manpage, screen uses its own notion of the termcap
   # and some keys from "screen.<term>" are ignored.  Here is an entry which
   # covers those (tested with screen 4.00.02) -TD
   screen+fkeys|function-keys according to screen,
           kend=\E[4~, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kfnd@,
           khome=\E[1~, kslt@,
   #
   # Here are a few customized entries which are useful -TD
   #
   # Notes:
   # (a)   screen does not support invis.
   # (b)   screen's implementation of bw is incorrect according to tack.
   # (c)   screen appears to hardcode the strings for khome/kend, making it
   #       necessary to override the "use=" clause's values (screen+fkeys).
   # (d)   screen sets $TERMCAP to a termcap-formatted copy of the 'screen' entry,
   #       which is NOT the same as the terminfo screen.<term>.
   # (e)   when screen finds one of these customized entries, it sets $TERM to
   #       match.  Hence, no "screen.xterm" entry is provided, since that would
   #       create heartburn for people running remote xterm's.
   #
   #       xterm (-xfree86 or -r6) does not normally support kIC, kNXT and kPRV
   #       since the default translations override the built-in keycode
   #       translation.  They are suppressed here to show what is tested by tack.
   screen.xterm-xfree86|screen.xterm-new|screen customized for modern xterm,
           bce@, bw,
           invis@, kIC@, kNXT@, kPRV@, meml@, memu@,
           sgr=%?%p9%t\E(0%e\E(B%;\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m,
           use=screen+fkeys, use=xterm-new,
   # xterm-r6 does not really support khome/kend unless it is propped up by
   # the translations resource.
   screen.xterm-r6|screen customized for X11R6 xterm,
           bw, use=screen+fkeys, use=xterm-r6,
   # Color applications running in screen and TeraTerm do not play well together
   # on Solaris because Sun's curses implementation gets confused.
   screen.teraterm|disable ncv in teraterm,
           ncv#127,
           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,
           use=screen+fkeys, use=screen,
   # Other terminals
   screen.rxvt|screen in rxvt,
           bw,
           cvvis@, flash@, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
           kcuu1=\EOA, use=screen+fkeys, use=vt100+enq,
           use=rxvt+pcfkeys, use=vt220+keypad, use=screen,
   screen.Eterm|screen in Eterm,
           use=screen+fkeys, use=Eterm,
   # fix the backspace key
   screen.linux|screen in linux console,
           bw,
           kbs=\177, kcbt@, use=screen+fkeys, use=screen,
   screen.mlterm|screen in mlterm,
           use=screen+fkeys, use=mlterm,
   
 screen-w|VT 100/ANSI X3.64 virtual terminal with 132 cols,  screen-w|VT 100/ANSI X3.64 virtual terminal with 132 cols,
         cols#132, use=screen,          cols#132, use=screen,
   
Line 3333 
Line 4688 
         kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, kf9=\E[26~, khlp=\E[1~,          kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, kf9=\E[26~, khlp=\E[1~,
         khome=\E[2~, knp=\E[6~, kpp=\E[3~, mc4=\E[4i, mc5=\E[5i,          khome=\E[2~, knp=\E[6~, kpp=\E[3~, mc4=\E[4i, mc5=\E[5i,
         rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt100, ri=\EM,          rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt100, ri=\EM,
         rmacs=^O, rmam=\E[?7l, rmcup=\E[2J\E8, rmir=\E[4l,          rmacs=\E(B, rmam=\E[?7l, rmcup=\E[2J\E8, rmir=\E[4l,
         rmso=\E[27m, rmul=\E[24m,          rmso=\E[27m, rmul=\E[24m,
         rs2=\E7\E[r\E8\E[m\E[?7h\E[?1;4;6l\E[4l\E>, sc=\E7,          rs2=\E7\E[r\E8\E[m\E[?7h\E[?1;4;6l\E[4l\E>, sc=\E7,
         sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;,          sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;,
         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E7,          sgr0=\E[m\E(B, smacs=\E(0, smam=\E[?7h, smcup=\E7,
         smir=\E[4h, smso=\E[7m, smul=\E[4m, tbc=\E[3g, tsl=\E]0;,          smir=\E[4h, smso=\E[7m, smul=\E[4m, tbc=\E[3g, tsl=\E]0;,
         u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?62;1;6c, u9=\E[c,          u8=\E[?62;1;6c, use=ansi+enq,
 ncsa|NCSA Telnet 2.7 for Macintosh in vt220-8 mode,  ncsa|NCSA Telnet 2.7 for Macintosh in vt220-8 mode,
         use=ncsa-m, use=klone+color,          use=ncsa-m, use=klone+color,
 ncsa-ns|NCSA Telnet 2.7 for Macintosh in vt220-8 mode,  ncsa-ns|NCSA Telnet 2.7 for Macintosh in vt220-8 mode,
Line 3364 
Line 4719 
 #### Pilot Pro Palm-Top  #### Pilot Pro Palm-Top
 #  #
 # Termcap for Top Gun Telnet and SSH on the Palm Pilot.  # Termcap for Top Gun Telnet and SSH on the Palm Pilot.
 # http://www.isaac.cs.berkeley.edu/pilot/tgtelnet.html  # http://www.ai/~iang/TGssh/
 pilot|tgtelnet|Top Gun Telnet on the Palm Pilot Professional,  pilot|tgtelnet|Top Gun Telnet on the Palm Pilot Professional,
         OTbs, am, xenl,          OTbs, am, xenl,
         cols#39, lines#16,          cols#39, lines#16,
Line 3373 
Line 4728 
         ind=^J, kbs=^H, kcub1=^H, kcud1=^J, knp=^L, kpp=^K, nel=\Em~\s,          ind=^J, kbs=^H, kcub1=^H, kcud1=^J, knp=^L, kpp=^K, nel=\Em~\s,
         rmso=\EB, smso=\Eb,          rmso=\EB, smso=\Eb,
   
   # From: Federico Bianchi <bianchi@www.arte.unipi.it>
   # These entries are for the Embeddable Linux Kernel System (ELKS)
   # project - an heavily stripped down Linux to be run on 16 bit
   # boxes or, eventually, to be used in embedded systems - and have been
   # adapted from the stock ELKS termcap. The project itself looks stalled,
   # and the latest improvements I know of date back to March 2000.
   #
   # To cope with the ELKS dumb console I added an "elks-glasstty" entry;
   # as an added bonus, this deals with all the capabilities common to
   # both VT52 and ANSI (or, eventually, "special") modes.
   
   elks-glasstty|ELKS glass-TTY capabilities,
           OTbs, am,
           cols#80, it#8, lines#25,
           bel=^G, cr=^M, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J,
           nel=^M^J,
   
   elks-vt52|ELKS vt52 console,
           clear=\EH\EJ, cub1=\ED, cud1=\EB, cuf1=\EC,
           cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, el=\EK,
           home=\EH, use=elks-glasstty,
   
   elks-ansi|ELKS ANSI console,
           clear=\E[H\E[2J, 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,
           rmso=\E[m, smso=\E[7m, use=elks-glasstty,
   
   # As a matter of fact, ELKS 0.0.83 on PCs defaults to ANSI emulation
   # instead of VT52, but the "elks" entry still refers to the latter.
   
   elks|default ELKS console,
           use=elks-vt52,
   
   # Project SIBO (for Psion 3 palmtops) console is identical to the ELKS
   # one but in screen size
   
   sibo|ELKS SIBO console,
           cols#61, it#8, lines#20, use=elks-vt52,
   
 ######## COMMERCIAL WORKSTATION CONSOLES  ######## COMMERCIAL WORKSTATION CONSOLES
 #  #
   
Line 3409 
Line 4803 
 sun-il|Sun Microsystems console with working insert-line,  sun-il|Sun Microsystems console with working insert-line,
         am, km, msgr,          am, km, msgr,
         cols#80, lines#34,          cols#80, lines#34,
         bel=^G, bold@, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,          bel=^G, 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,          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,          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,          ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
Line 3420 
Line 4814 
         kf7=\E[230z, kf8=\E[231z, kf9=\E[232z, khome=\E[214z,          kf7=\E[230z, kf8=\E[231z, kf9=\E[232z, khome=\E[214z,
         knp=\E[222z, kopt=\E[194z, kpp=\E[216z, kres=\E[193z,          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,          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,          sgr=\E[0%?%p1%p3%|%t;7%;m, sgr0=\E[m, smso=\E[7m,
         sgr0=\E[m, smso=\E[7m, smul@, u8=\E[1t, u9=\E[11t,          u8=\E[1t, u9=\E[11t,
 # On some versions of CGSIX framebuffer firmware (SparcStation 5), <il1>/<il>  # On some versions of CGSIX framebuffer firmware (SparcStation 5), <il1>/<il>
 # flake out on the last line.  Unfortunately, without them the terminal has no  # flake out on the last line.  Unfortunately, without them the terminal has no
 # way to scroll.  # way to scroll.
Line 3457 
Line 4851 
 sun-c|sun-cmd|Sun Microsystems Workstation console with scrollable history,  sun-c|sun-cmd|Sun Microsystems Workstation console with scrollable history,
         lines#35,          lines#35,
         rmcup=\E[>4h, smcup=\E[>4l, use=sun,          rmcup=\E[>4h, smcup=\E[>4l, use=sun,
   sun-type4|Sun Workstation console with type 4 keyboard,
           kcub1=\E[217z, kcud1=\E[221z, kcuf1=\E[219z,
           kcuu1=\E[215z, use=sun-il,
   
   # Most of the current references to sun-color are from users wondering why this
   # is the default on install.  Details from reading the wscons manpage, adding
   # cub, etc., here (rather than in the base sun-il entry) since it is not clear
   # when those were added -TD (2005-05-28)
   #
   # According to wscons manpage, color is supported only on IA systems.
   # Sun's terminfo entry documents bold and smul/rmul capabilities, but wscons
   # does not list these.  It also sets ncv#3, however that corresponds to
   # underline and standout.
   #
   # Since the documentation and terminfo do not agree, see also current code at
   # http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/io/tem_safe.c
   #
   # That (actually a different driver which "supports" sun-color) also supports
   # these features:
   #       vpa=\E[%i%p1%dd
   #       hpa=\E[%i%p1%d`
   #       cbt=\E[Z
   #       dim=\E[2m
   #       blink=\E[5m
   # It supports bold, but not underline -TD (2009-09-19)
   sun-color|Sun Microsystems Workstation console with color support (IA systems),
           colors#8, ncv#3, pairs#64,
           cub=\E[%p1%dD, cud=\E[%p1%dB, cuf=\E[%p1%dC,
           cuu=\E[%p1%dA, home=\E[H, op=\E[0m, setab=\E[4%p1%dm,
           setaf=\E[3%p1%dm,
           setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
           setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
           use=sun,
   
 #### Iris consoles  #### Iris consoles
 #  #
   
Line 3550 
Line 4977 
         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, dl=\E[%p1%dM, dl1=\E[M,          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,          ed=\E[J, el=\E[K, home=\E[H, ht=^I,
         if=/usr/lib/tabset/vt100, il=\E[%p1%dL, il1=\E[L,          if=/usr/share/tabset/vt100, il=\E[%p1%dL, il1=\E[L,
         is2=\E[?7h\E[?1l\E[?3l\E7\E8, kbs=^H, kcub1=\EOD,          is2=\E[?7h\E[?1l\E[?3l\E7\E8, kbs=^H, kcub1=\EOD,
         kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOY, kf1=\EOP,          kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOY, kf1=\EOP,
         kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV,          kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV,
Line 3598 
Line 5025 
         OTnl=^J, bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[;H\E[2J,          OTnl=^J, 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,          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,          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,          home=\E[H, ht=^I, if=/usr/share/tabset/vt100, kbs=^H,
         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP,          kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP,
         kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m, ri=\EM,          kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m, ri=\EM,
         rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,          rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
Line 3726 
Line 5153 
 #### Non-Unix Consoles  #### Non-Unix Consoles
 #  #
   
   ### EMX termcap.dat compatibility modes
   #
   # Also (possibly only EMX, so we don't put it in ansi.sys, etc): set the
   # no_color_video to inform the application that standout(1), underline(2)
   # reverse(4) and invisible(64) don't work with color.
   emx-base|DOS special keys,
           bce, bw,
           it#8, ncv#71,
           bel=^G, use=ansi.sys,
   
 # Except for the "-emx" suffixes, these are as distributed with EMX 0.9b,  # Except for the "-emx" suffixes, these are as distributed with EMX 0.9b,
 # a Unix-style environment used on OS/2.  (Note that the suffix makes some  # a Unix-style environment used on OS/2.  (Note that the suffix makes some
 # names longer than 14 characters, the nominal maximum).  # names longer than 14 characters, the nominal maximum).
 #  #
 # Removed: rmacs=\E[10m, smacs=\E[11m, because OS/2 does not implement acs.  # Removed: rmacs=\E[10m, smacs=\E[11m, because OS/2 does not implement acs.
 ansi-emx|ANSI.SYS color,  ansi-emx|ANSI.SYS color,
         am, bce, eo, mir, msgr, xenl, xon,          am, bce, eo, mir, msgr, xon,
         colors#16, cols#80, it#8, lines#25, pairs#64,          colors#8, cols#80, it#8, lines#25, pairs#64,
         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,          bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
         clear=\E[1;33;44m\E[H\E[J, cnorm=\E[?25h, cr=^M, cub1=^H,          clear=\E[1;33;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,          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,          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,          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,          kb2=\E[G, kbs=^H, kf0=\0D, kll=\0O, kspd=^Z, nel=^M^J,
         kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>, kf5=\0?, kf6=\0@,          rev=\E[5;37;41m, rmir=\E[4l, rmpch=\E[10m,
         kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G, kich1=\0R, kll=\0O,          rmso=\E[0;44m\E[1;33m, rmul=\E[0;44m\E[1;33m, rs1=\Ec,
         knp=\0Q, kpp=\0I, kspd=^Z, nel=^M^J, rev=\E[5;37;41m,          setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
         rmir=\E[4l, rmpch=\E[10m, rmso=\E[0;44m\E[1;33m,          sgr0=\E[0m\E[1;33;44m, smir=\E[4h, smpch=\E[11m,
         rmul=\E[0;44m\E[1;33m, rs1=\Ec, setab=\E[4%p1%dm,          smso=\E[0;31;47m, smul=\E[1;31;44m, tbc=\E[3g, u8=\E[?6c,
         setaf=\E[3%p1%dm, sgr0=\E[0m\E[1;33;44m, smir=\E[4h,          u9=\E[c, use=emx-base,
         smpch=\E[11m, smso=\E[0;31;47m, smul=\E[1;31;44m,  # nice colors for Emacs (white on blue, mode line white on cyan)
         tbc=\E[3g, u8=\E[?6c, u9=\E[c,  
 ansi-color-2-emx|ANSI.SYS color 2,  ansi-color-2-emx|ANSI.SYS color 2,
         am, bce, eo, mir, msgr, xenl, xon,          clear=\E[0;37;44m\E[H\E[J, rev=\E[1;37;46m,
         colors#16, cols#80, it#8, lines#25, pairs#64,          rmso=\E[0;37;44m, rmul=\E[0;37;44m, rs1=\Ec,
         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,          setaf=\E[3%p1%dm, sgr0=\E[0;37;44m, smso=\E[1;37;46m,
         clear=\E[0;37;44m\E[H\E[J, cnorm=\E[?25h, cr=^M, cub1=^H,          smul=\E[1;36;44m, use=ansi-emx,
         cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,  # nice colors for Emacs (white on black, mode line black on cyan)
         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,  ansi-color-3-emx|ANSI.SYS color 3,
         am, bce, eo, mir, msgr, xenl, xon,          clear=\E[0;37;40m\E[H\E[J, rev=\E[1;37;46m,
         colors#16, cols#80, it#8, lines#25, pairs#64,          rmso=\E[0;37;40m, rmul=\E[0;37;40m, rs1=\Ec,
         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,          setaf=\E[3%p1%dm, sgr0=\E[0;10m, smso=\E[1;37;46m,
         clear=\E[0;37;40m\E[H\E[J, cnorm=\E[?25h, cr=^M, cub1=^H,          smul=\E[0;36;40m, use=ansi-emx,
         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,  mono-emx|stupid monochrome ansi terminal with only one kind of emphasis,
         am,          am,
         cols#80, it#8, lines#24,          cols#80, it#8, lines#24,
Line 3811 
Line 5224 
 # I've indicated which of these were and which I used.  # I've indicated which of these were and which I used.
 # Cheers, earnie_boyd@yahoo.com  # Cheers, earnie_boyd@yahoo.com
 # several changes based on running with tack and comparing with older entry -TD  # several changes based on running with tack and comparing with older entry -TD
   # more changes from csw:
   #   add    cbt   [backtab]
   #   remove eo    [erase overstrike with blank]
   #   change clear was \E[H\E[J  now \E[2J  (faster?)
   #   remove cols
   #   remove lines
   #   remove ncv#3 [colors collide with highlights, bitmask] not applicable
   #                to MSDOS box?
   #   add    cub   [cursor back param]
   #   add    cuf   [cursor forward param]
   #   add    cuu   [cursor up param]
   #   add    cud   [cursor down param]
   #   add    hs    [has status line]
   #   add    fsl   [return from status line]
   #   add    tsl   [go to status line]
   #   add    smacs [Start alt charset] (not sure if this works)
   #   add    rmacs [End alt charset]   (ditto)
   #   add    smcup [enter_ca_mode] (save console; thanks Corinna)
   #   add    rmcup [exit_ca_mode]  (restore console; thanks Corinna)
   #   add    kb2   [center of keypad]
   #   add    u8    [user string 8] \E[?6c
   #   add    el    [clear to end of line] \E[K
   # Notes:
   #   cnorm [make cursor normal] not implemented
   #   flash [flash] not implemented
   #   blink [blink] not implemented very usefully in cygwin? \E[5m
   #   dim   [dim] not implemented very usefully in cygwin? \E[2m
   #   cub1  [cursor back 1] typically \E[D, but ^H is faster?
   #   kNXT  [shifted next key] not implemented
   #   kPRV  [shifted prev key] not implemented
   #   khome [home key] really is \E[1~ NOT \E[H
   #   tbc   [clear tab stops] not implemented
   #   xenl  [newline ignnored after 80 cols] messes up last line? Ehud Karni
   #   smpch [Start PC charset] is \E[11m, same as smacs
   #   rmpch [End PC charset] is \E[10m, same as rmacs
   #   mir   [move in insert mode] fails in tack?
   #   bce   [back color erase] causes problems with change background color?
   #   cvvis [make cursor very visible] causes a stackdump when testing with
   #         testcurs using the output option? \E[?25h\E[?8c
   #   civis [make cursor invisible] causes everything to stackdump? \E[?25l\E[?1c
   #   ech   [erase characters param] broken \E[%p1%dX
   #   kcbt  [back-tab key] not implemented in cygwin?  \E[Z
   #
   # 2005/11/12 -TD
   #       Remove cbt since it does not work in current cygwin
   #       Add 'mir' and 'in' flags based on tack
 cygwin|ansi emulation for Cygwin,  cygwin|ansi emulation for Cygwin,
         am, eo, in, msgr, xon,          am, hs, mir, msgr, xon,
         colors#8, cols#80, it#8, lines#25, ncv#3, pairs#64,          colors#8, it#8, pairs#64,
         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,          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,
         bel=^G, bold=\E[1m, clear=\E[H\E[J, cr=^M, cub1=^H,          bel=^G, bold=\E[1m, clear=\E[H\E[J, cr=^M, cub=\E[%p1%dD,
         cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 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, el1=\E[1K, home=\E[H, hpa=\E[%i%p1%dG, ht=^I,          cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
         hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L,          dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, fsl=^G, home=\E[H,
         ind=^J, invis=\E[8m, kbs=^H, kcub1=\E[D, kcud1=\E[B,          hpa=\E[%i%p1%dG, ht=^I, 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,
           kdch1=\E[3~, kend=\E[4~, kf1=\E[[A, 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=\E[[B, kf20=\E[34~, kf3=\E[[C, kf4=\E[[D,
           kf5=\E[[E, 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,
           nel=^M^J, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM,
           rmacs=\E[10m, rmcup=\E[2J\E[?47l\E8, rmir=\E[4l,
           rmpch=\E[10m, rmso=\E[27m, rmul=\E[24m, rs1=\Ec\E]R,
           sc=\E7, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
           sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m,
           sgr0=\E[0;10m, smacs=\E[11m, smcup=\E7\E[?47h,
           smir=\E[4h, smpch=\E[11m, smso=\E[7m, smul=\E[4m, tsl=\E];,
           vpa=\E[%i%p1%dd, use=vt102+enq,
   
   # I've supplied this so that you can help test new values and add other
   # features.  Cheers, earnie_boyd@yahoo.com.
   #
   # Some features are from pcansi.  The op value is from linux.  Function-keys
   # are from linux.  These have been tested not to cause problems.  xenl was in
   # this list, but DOES cause problems so it has been removed
   cygwinDBG|Debug Version for Cygwin,
           am, eo, mir, msgr, xon,
           colors#8, cols#80, it#8, lines#24, ncv#3, pairs#64,
           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,
           bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
           cnorm=\E[?25h, 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[M, ed=\E[J, el=\E[K, el1=\E[1K,
           flash=\E[?5h\E[?5l$<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, invis=\E[8m, kNXT=\E[6$, kPRV=\E[5$,
           kb2=\E[G, kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B,
         kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kend=\E[4~, kf1=\E[[A,          kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kend=\E[4~, kf1=\E[[A,
         kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,          kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
         kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,          kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
Line 3828 
Line 5324 
         kf3=\E[[C, kf4=\E[[D, kf5=\E[[E, kf6=\E[17~, kf7=\E[18~,          kf3=\E[[C, kf4=\E[[D, kf5=\E[[E, kf6=\E[17~, kf7=\E[18~,
         kf8=\E[19~, kf9=\E[20~, khome=\E[1~, kich1=\E[2~,          kf8=\E[19~, kf9=\E[20~, khome=\E[1~, kich1=\E[2~,
         knp=\E[6~, kpp=\E[5~, kspd=^Z, nel=^M^J, op=\E[39;49m,          knp=\E[6~, kpp=\E[5~, kspd=^Z, nel=^M^J, op=\E[39;49m,
         rc=\E8, rev=\E[7m, ri=\EM, rmir=\E[4l, rmpch=\E[10m,          rc=\E8, rev=\E[7m, ri=\EM, rmacs=\E[10m, rmir=\E[4l,
         rmso=\E[27m, rmul=\E[24m, rs1=\Ec\E]R, sc=\E7,          rmso=\E[m, rmul=\E[m, rs1=\Ec\E]R, sc=\E7,
         setab=\E[4%p1%dm, setaf=\E[3%p1%dm,          setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
         sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%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%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;12%;m,
         sgr0=\E[0;10m, smir=\E[4h, smpch=\E[11m, smso=\E[7m,          sgr0=\E[0;10m, smacs=\E[11m, smir=\E[4h, smso=\E[7m,
         smul=\E[4m, u6=\E[%i%d;%dR, u7=\E[6n, u9=\E[c,          smul=\E[4m, tbc=\E[3g, vpa=\E[%i%p1%dd, use=vt102+enq,
         vpa=\E[%i%p1%dd,  
   
   # Key definitions:
   # The encodings for unshifted arrow keys, F1-F12, Home, Insert, etc.  match the
   # encodings used by other x86 environments.  All others are invented for DJGPP.
   # Oddly enough, while several combinations of modifiers are tabulated, there is
   # none for shifted cursor keys.
   #
   #       F1                      \E[[A
   #       F2                      \E[[B
   #       F3                      \E[[C
   #       F4                      \E[[D
   #       F5                      \E[[E
   #       F6                      \E[17~
   #       F7                      \E[18~
   #       F8                      \E[19~
   #       F9                      \E[20~
   #       F10                     \E[21~
   #       F11                     \E[23~
   #       F12                     \E[24~
   #
   #       Delete                  \E[3~
   #       Down Arrow              \E[B
   #       End                     \E[4~
   #       Home                    \E[1~
   #       Insert                  \E[2~
   #       Left Arrow              \E[D
   #       Page Down               \E[6~
   #       Page Up                 \E[5~
   #       Right Arrow             \E[C
   #       Up Arrow                \E[A
   #
   #       Shift-F1                \E[25~
   #       Shift-F2                \E[26~
   #       Shift-F3                \E[27~
   #       Shift-F4                \E[28~
   #       Shift-F5                \E[29~
   #       Shift-F6                \E[30~
   #       Shift-F7                \E[31~
   #       Shift-F8                \E[32~
   #       Shift-F9                \E[33~
   #       Shift-F10               \E[34~
   #       Shift-F11               \E[35~
   #       Shift-F12               \E[36~
   #
   #       Ctrl-F1                 \E[47~
   #       Ctrl-F2                 \E[48~
   #       Ctrl-F3                 \E[49~
   #       Ctrl-F4                 \E[50~
   #       Ctrl-F5                 \E[51~
   #       Ctrl-F6                 \E[52~
   #       Ctrl-F7                 \E[53~
   #       Ctrl-F8                 \E[54~
   #       Ctrl-F9                 \E[55~
   #       Ctrl-F10                \E[56~
   #       Ctrl-F11                \E[57~
   #       Ctrl-F12                \E[58~
   #
   #       Ctrl-Delete             \E[43~
   #       Ctrl-Down Arrow         \E[38~
   #       Ctrl-End                \E[44~
   #       Ctrl-Home               \E[41~
   #       Ctrl-Insert             \E[42~
   #       Ctrl-Left Arrow         \E[39~
   #       Ctrl-Page Down          \E[46~
   #       Ctrl-Page Up            \E[45~
   #       Ctrl-Right Arrow        \E[40~
   #       Ctrl-Up Arrow           \E[37~
   #
   #       Alt-F1                  \E[59~
   #       Alt-F2                  \E[60~
   #       Alt-F3                  \E[61~
   #       Alt-F4                  \E[62~
   #       Alt-F5                  \E[63~
   #       Alt-F6                  \E[64~
   #       Alt-F7                  \E[65~
   #       Alt-F8                  \E[66~
   #       Alt-F9                  \E[67~
   #       Alt-F10                 \E[68~
   #       Alt-F11                 \E[79~
   #       Alt-F12                 \E[80~
   #
   #       Alt-Delete              \E[65~
   #       Alt-Down Arrow          \E[60~
   #       Alt-End                 \E[66~
   #       Alt-Home                \E[41~
   #       Alt-Insert              \E[64~
   #       Alt-Left Arrow          \E[61~
   #       Alt-Page Down           \E[68~
   #       Alt-Page Up             \E[67~
   #       Alt-Right Arrow         \E[62~
   #       Alt-Up Arrow            \E[59~
   #
   # Also:
   #       Alt-A                   \E[82~
   #       Alt-B                   \E[82~
   #       Alt-C                   \E[83~
   #       Alt-D                   \E[84~
   #       Alt-E                   \E[85~
   #       Alt-F                   \E[86~
   #       Alt-G                   \E[87~
   #       Alt-H                   \E[88~
   #       Alt-I                   \E[89~
   #       Alt-J                   \E[90~
   #       Alt-K                   \E[91~
   #       Alt-L                   \E[92~
   #       Alt-M                   \E[93~
   #       Alt-N                   \E[94~
   #       Alt-O                   \E[95~
   #       Alt-P                   \E[96~
   #       Alt-Q                   \E[97~
   #       Alt-R                   \E[98~
   #       Alt-S                   \E[99~
   #       Alt-T                   \E[100~
   #       Alt-U                   \E[101~
   #       Alt-V                   \E[102~
   #       Alt-W                   \E[103~
   #       Alt-X                   \E[104~
   #       Alt-Y                   \E[105~
   #       Alt-Z                   \E[106~
   djgpp|ansi emulation for DJGPP alpha,
           am, bce, msgr, xhp, xon, xt,
           colors#8, it#8, pairs#64,
           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,
           bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[1v,
           clear=\E[H\E[J, cnorm=\E[v, 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,
           cvvis=\E[2v, 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,
           home=\E[H, hpa=\E[%i%p1%dG, ht=^I, ich=\E[%p1%d@,
           ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S,
           indn=\E[%p1%dS, invis=\E[8m, kbs=^H, kcub1=\E[D,
           kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~,
           kend=\E[4~, 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~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, nel=^M^J,
           op=\E[37;40m, rev=\E[7m, ri=\E[T, rin=\E[%p1%dT, rmso=\E[m,
           setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
           sgr=\E[0%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%e;25%;%?%p6%t;1%;%?%p7%t;8%;m,
           sgr0=\E[m, smso=\E[7m, smul=\E[4m, vpa=\E[%i%p1%dd,
   
   djgpp203|Entry for DJGPP 2.03,
           OTbs, am,
           cols#80, it#8, lines#25,
           bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H,
           kcud1=^J, nel=^M^J,
   
   djgpp204|Entry for DJGPP 2.04,
           OTbs, am, AX,
           colors#8, cols#80, it#8, lines#25, ncv#3, pairs#64,
           bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[1v,
           clear=\E[H\E[2J, cnorm=\E[v, 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, cvvis=\E[2v, dch=\E[%p1%dP, dch1=\E[P,
           dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K,
           home=\E[H, ht=^I, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL,
           il1=\E[L, ind=\E[S, indn=\E[%p1%dS, invis=\E[8m, kbs=^H,
           kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
           kdch1=\E[3~, kf0=\E[21~, kf1=\E[[A, kf10=\E[21~, 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~, kich1=\E[2~,
           kll=\E[4~, knp=\E[6~, kpp=\E[5~, nel=^M^J, rev=\E[7m,
           ri=\E[T, rin=\E[%p1%dT, rmso=\E[m, setab=\E[4%p1%dm,
           setaf=\E[3%p1%dm, sgr0=\E[m, smso=\E[7m, smul=\E[4m,
   
   # This is tested using U/Win's telnet.  Scrolling is omitted because it is
   # buggy.  Another odd bug appears when displaying "~" in alternate character
   # set (the emulator spits out error messages).  Compare with att6386 -TD
   uwin|U/Win 3.2 console,
           am, eo, in, msgr, xenl, xon,
           colors#8, it#8, ncv#58, pairs#64,
           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, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
           clear=\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, dch1=\E[P, dim=\E[2m, ech=\E[%p1%dX,
           ed=\E[J, el=\E[K, el1=\E[1K, home=\E[H, ht=^I, hts=\EH,
           ich=\E[%p1%d@, ich1=\E[@, kbs=^H, kcub1=\E[D, kcud1=\E[B,
           kcuf1=\E[C, kcuu1=\E[A, kdch1=\177, 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[@, nel=^M^J, op=\E[39;49m, rc=\E8,
           rev=\E[7m, rmacs=\E[10m, rmir=\E[4l, rmpch=\E[10m,
           rmso=\E[27m, rmul=\E[m, rs1=\Ec\E]R, sc=\E7,
           setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[0;10m,
           smacs=\E[11m, smir=\E[4h, smpch=\E[11m, smso=\E[7m,
           smul=\E[4m, tbc=\E[3g, u6=\E[%i%d;%dR, u7=\E[6n,
   
 # This entry fits the Windows NT console when the _POSIX_TERM environment  # 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,  # 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  # the Telnet client supplied with both the Windows for WorkGroup 3.11 TCP/IP
Line 3895 
Line 5579 
         sgr0=\E[m$<2/>, smso=\E[7m$<2/>, smul=\E[4m$<2/>,          sgr0=\E[m$<2/>, smso=\E[7m$<2/>, smul=\E[4m$<2/>,
         tbc=\E[3g$<2/>,          tbc=\E[3g$<2/>,
   
   # From: Federico Bianchi
   # This is the entry for the OpenNT terminal.
   # The ntconsole name is for backward compatability.
   # This is for OpenNT 2.0 and later.
   # Later OpenNT was renamed to Interix.
   #
   # Presently it is distributed by Microsoft as Services For Unix (SFU).
   # The 3.5 beta contains ncurses 4.2 (that is header files and executables,
   # the documentation dates from 1.9.9e) -TD
   
   interix|opennt|opennt-25|ntconsole|ntconsole-25|OpenNT-term compatible with color,
           am, bw, msgr,
           colors#8, cols#80, lines#25, ncv#3, pairs#64,
           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,
           bel=^G, bold=\E[1m, cbt=\E[Z, clear=\E[2J, 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, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K,
           home=\E[H, ht=^I, il=\E[%p1%dL, il1=\E[L, ind=\E[S,
           indn=\E[%p1%dS, kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B,
           kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[M, kend=\E[U, kf0=\EFA,
           kf1=\EF1, kf10=\EFA, kf11=\EFB, kf12=\EFC, kf13=\EFD,
           kf14=\EFE, kf15=\EFF, kf16=\EFG, kf17=\EFH, kf18=\EFI,
           kf19=\EFJ, kf2=\EF2, kf20=\EFK, kf21=\EFL, kf22=\EFM,
           kf23=\EFN, kf24=\EFO, kf25=\EFP, kf26=\EFQ, kf27=\EFR,
           kf28=\EFS, kf29=\EFT, kf3=\EF3, kf30=\EFU, kf31=\EFV,
           kf32=\EFW, kf33=\EFX, kf34=\EFY, kf35=\EFZ, kf36=\EFa,
           kf37=\EFb, kf38=\EFc, kf39=\EFd, kf4=\EF4, kf40=\EFe,
           kf41=\EFf, kf42=\EFg, kf43=\EFh, kf44=\EFi, kf45=\EFj,
           kf46=\EFk, kf47=\EFm, kf48=\EFn, kf49=\EFo, kf5=\EF5,
           kf50=\EFp, kf51=\EFq, kf52=\EFr, kf53=\EFs, kf54=\EFt,
           kf55=\EFu, kf56=\EFv, kf57=\EFw, kf58=\EFx, kf59=\EFy,
           kf6=\EF6, kf60=\EFz, kf61=\EF+, kf62=\EF-,
           kf63=\EF\014 kf64=\EF$, kf7=\EF7, kf8=\EF8, kf9=\EF9,
           kich1=\E[L, kll=\E[U, knp=\E[T, kpp=\E[S, ll=\E[U, nel=^M^J,
           op=\E[m, rc=\E[u, rev=\E[7m, ri=\E[T, rin=\E[%p1%dT,
           rmcup=\E[2b\E[u\r\E[K, rmso=\E[m, rmul=\E[m, rs1=\Ec,
           sc=\E[s, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
           setb=\E[%p1%{40}%+%dm, setf=\E[%p1%{30}%+%dm,
           sgr0=\E[0m, smcup=\E[s\E[1b, smso=\E[7m, smul=\E[4m,
   
   opennt-35|ntconsole-35|OpenNT-term35 compatible with color,
           lines#35, use=opennt,
   
   opennt-50|ntconsole-50|OpenNT-term50 compatible with color,
           lines#50, use=opennt,
   
   opennt-60|ntconsole-60|OpenNT-term60 compatible with color,
           lines#60, use=opennt,
   
   opennt-100|ntconsole-100|OpenNT-term100 compatible with color,
           lines#100, use=opennt,
   
   # OpenNT wide terminals
   opennt-w|opennt-25-w|ntconsole-w|ntconsole-25-w|OpenNT-term-w compat with color,
           cols#125, use=opennt,
   
   opennt-35-w|ntconsole-35-w|OpenNT-term35-w compatible with color,
           lines#35, use=opennt-w,
   
   opennt-50-w|ntconsole-50-w|OpenNT-term50-w compatible with color,
           lines#50, use=opennt-w,
   
   opennt-60-w|ntconsole-60-w|OpenNT-term60-w compatible with color,
           lines#60, use=opennt-w,
   
   opennt-w-vt|opennt-25-w-vt|ntconsole-w-vt|ntconsole-25-w-vt|OpenNT-term-w-vt compat with color,
           cols#132, use=opennt,
   
   # OpenNT terminals with no smcup/rmcup (names match termcap entries)
   interix-nti|opennt-nti|opennt-25-nti|ntconsole-25-nti|OpenNT-nti compatible with color,
           rmcup@, smcup@, use=opennt,
   
   opennt-35-nti|ntconsole-35-nti|OpenNT-term35-nti compatible with color,
           lines#35, use=opennt-nti,
   
   opennt-50-nti|ntconsole-50-nti|OpenNT-term50-nti compatible with color,
           lines#50, use=opennt-nti,
   
   opennt-60-nti|ntconsole-60-nti|OpenNT-term60-nti compatible with color,
           lines#60, use=opennt-nti,
   
   opennt-100-nti|ntconsole-100-nti|OpenNT-term100-nti compatible with color,
           lines#100, use=opennt-nti,
   
 ######## COMMON TERMINAL TYPES  ######## COMMON TERMINAL TYPES
 #  #
 # This section describes terminal classes and maker brands that are still  # This section describes terminal classes and maker brands that are still
Line 4953 
Line 6722 
 adm36|LSI ADM36,  adm36|LSI ADM36,
         OTbs, OTpt,          OTbs, OTpt,
         OTkn#4,          OTkn#4,
         if=/usr/lib/tabset/vt100,          if=/usr/share/tabset/vt100,
         is2=\E<\E>\E[6;?2;?7;?8h\E[4;20;?1;?3;?4;?5;?6;?18;?19l,          is2=\E<\E>\E[6;?2;?7;?8h\E[4;20;?1;?3;?4;?5;?6;?18;?19l,
         use=vt100,          use=vt100,
 # (adm42: removed obsolete ":ma=^K^P:" -- esr)  # (adm42: removed obsolete ":ma=^K^P:" -- esr)
Line 5097 
Line 6866 
         rev=\E[7m$<2>, ri=\EM$<5>, rmam=\E[?7l, rmkx=\E[?1l\E>,          rev=\E[7m$<2>, ri=\EM$<5>, rmam=\E[?7l, rmkx=\E[?1l\E>,
         rmso=\E[m$<2>, rmul=\E[m$<2>,          rmso=\E[m$<2>, rmul=\E[m$<2>,
         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,          rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
         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$<2>,
         sgr0=\E[m$<2>, smam=\E[?7h, smkx=\E[?1h\E=,          sgr0=\E[m$<2>, smam=\E[?7h, smkx=\E[?1h\E=,
         smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,          smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
 qvt103-w|qume qvt103 132 cols,  qvt103-w|qume qvt103 132 cols,
Line 5154 
Line 6923 
 #       Fax: (408)-954-0623  #       Fax: (408)-954-0623
 #  #
 #  #
 # There are some tvi terminals that require incredible amounts of padding and  # These require incredible amounts of padding.
 # some that don't.  I'm assuming tvi912 and tvi920 are the old slow ones, and  
 # tvi912b, tvi912c, tvi920b, tvi920c are the new ones that don't need padding.  
 #  #
 # All of these terminals (912 to 970 and the tvipt) are discontinued.  Newer  # All of these terminals (912 to 970 and the tvipt) are discontinued.  Newer
 # Televideo terminals are ANSI and PC-ANSI compatible.  # Televideo terminals are ANSI and PC-ANSI compatible.
Line 5307 
Line 7074 
         kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r,          kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r,
         kf9=^AH\r, khome=^^, rmso=\Ek, rmul=\Em, smso=\Ej, smul=\El,          kf9=^AH\r, khome=^^, rmso=\Ek, rmul=\Em, smso=\Ej, smul=\El,
         tbc=\E3,          tbc=\E3,
 # the 912 has a <funct> key that's like shift: <funct>8 xmits "^A8\r".  
 # The 920 has this plus real function keys that xmit different things.  
 # Terminfo makes you use the funct key on the 912 but the real keys on the 920.  
 tvi912c|tvi912b|new televideo 912,  
         dl1=\ER$<5*>, il1=\EE$<5*>, use=tvi912,  
 # set to page 1 when entering curses application (\E-17 )  
 # reset to page 0 when exiting curses application (\E-07 )  
 tvi912-2p|tvi920-2p|tvi-2p|televideo w/2 pages,  
         rmcup=\E-07\s, smcup=\E-17\s, use=tvi912,  
 # We got some new tvi912c terminals that act really weird on the regular  # We got some new tvi912c terminals that act really weird on the regular
 # termcap, so one of our gurus worked this up. Seems that cursor  # termcap, so one of our gurus worked this up. Seems that cursor
 # addressing is broken.  # addressing is broken.
 tvi912cc|tvi912 at cowell college,  tvi912cc|tvi912 at cowell college,
         cup@, use=tvi912c,          cup@, use=tvi912c,
   
 # Here are the switch settings for the tvi920c:  # tvi{912,920}[bc] - TeleVideo TVI-912B/TVI-920B and TVI-912C/TVI-920C
   # From: Benjamin C. W. Sittler
 #  #
   # Someone has put a scanned copy of the manual online at:
   #     http://vt100.net/televideo/912b-om/
   #
   # These terminals were produced ca. 1979, and had a 12" monochrome
   # screen, supported 75-9600 baud (no handshaking), monochrome, 7-bit
   # ASCII, and were generally similar to adm3a but with attributes
   # (including some with magic cookies), fancy half-duplex mode, and
   # different bugs.
   #
   # Some operations reqire truly incredible amounts of padding. The
   # insert_line (<il1>) and delete_line (<dl1>) operations in particular
   # are so slow as to be nearly unusable.
   #
   # There may or may not have been a separate, earlier series of 912/920
   # terminals (without the "B" and "C" suffix); I have never seen one,
   # and the manual only describes the "B" and "C" series. The 912 and 920
   # are quite distinct from the 914 and 924, which were much nicer non-
   # magic-cookie terminals similar to the 950.
   #
   # This is a new description for the following TeleVideo terminals,
   # distinguished chiefly by their keyboards:
   #
   #   TVI-912B - very odd layout, no function keys (84 keys)
   #   TVI-920B - typewriter layout, no function keys (103 keys)
   #   TVI-912C - very odd layout, function keys F1-F11 (82 keys)
   #   TVI-920C - typewriter layout, function keys F1-F11 (101 keys)
   #
   # To choose a setting for the TERM variable, start with the model:
   #
   #    Model  || base name
   # ----------||-----------
   #  TVI-912B || tvi912b
   #  TVI-912C || tvi912c
   #  TVI-920B || tvi920b
   #  TVI-920C || tvi920c
   #
   # Then add a suffix from the following table describing installed options
   # and how you'd like to use the terminal:
   #
   #   Use Video | Second | Visual |  Magic  |  Page || feature
   #  Attributes |  Page  |  Bell  | Cookies | Print || suffix
   # ------------|--------|--------|---------|-------||---------
   #      No     |   No   |  N/A   |   N/A   |   No  || -unk
   #      No     |   No   |  N/A   |   N/A   |  Yes  || -p
   #      No     |  Yes   |   No   |   N/A   |   No  || -2p-unk
   #      No     |  Yes   |   No   |   N/A   |  Yes  || -2p-p
   #      No     |  Yes   |  Yes   |   N/A   |   No  || -vb-unk
   #      No     |  Yes   |  Yes   |   N/A   |  Yes  || -vb-p
   #     Yes     |   No   |  N/A   |    No   |  N/A  ||
   #     Yes     |   No   |  N/A   |   Yes   |  N/A  || -mc
   #     Yes     |  Yes   |   No   |    No   |  N/A  || -2p
   #     Yes     |  Yes   |   No   |   Yes   |  N/A  || -2p-mc
   #     Yes     |  Yes   |  Yes   |    No   |  N/A  || -vb
   #     Yes     |  Yes   |  Yes   |   Yes   |  N/A  || -vb-mc
   #
   # So e.g. a model 920 C with second page memory option, visual bell
   # and no magic cookies would be tvi920c-vb; a model 912 B without the
   # second page memory option and using magic cookies would be
   # tvi912b-mc
   #
   # PADDING
   #
   # At 9600 baud, the terminal is prone to overflow its input buffer
   # during complex operations (insert/delete
   # character/line/screen/page), and it does not signal this over the
   # RS232 cable. The typical symptom of an overrun is that the terminal
   # starts beeping, and output becomes garbled.
   #
   # The padding delays in this terminfo were derived using tack(1)
   # running on a Linux box connected to a TVI-920C with a later-model
   # (A49C1-style) ROM running at 9600 baud, so your mileage may
   # vary. The numbers below seem to give the terminal enough time so
   # that it doesn't overflow its input buffer and start losing
   # characters.
   #
   # KEYS
   #
   # If you want to use the FUNCT key on a tvi912[bc], use the
   # corresponding tvi920[bc] terminfo with FUNCT + ... equivalents from
   # the following table (these also work on the 920 series):
   #
   # Unshifted Function Keys:
   #
   #  Key | capname|| Equivalent
   # -----|--------||------------
   #   F1 |  <kf1> || FUNCT + @
   #   F2 |  <kf2> || FUNCT + A
   #   F3 |  <kf3> || FUNCT + B
   #   F4 |  <kf4> || FUNCT + C
   #   F5 |  <kf5> || FUNCT + D
   #   F6 |  <kf6> || FUNCT + E
   #   F7 |  <kf7> || FUNCT + F
   #   F8 |  <kf8> || FUNCT + G
   #   F9 |  <kf9> || FUNCT + H
   #  F10 | <kf10> || FUNCT + I
   #  F11 | <kf11> || FUNCT + J
   #
   # Shifted Function Keys:
   #
   #  SHIFT + Key | capname|| Equivalent
   # -------------|--------||------------
   #   SHIFT + F1 | <kf12> || FUNCT + `
   #   SHIFT + F2 | <kf13> || FUNCT + a
   #   SHIFT + F3 | <kf14> || FUNCT + b
   #   SHIFT + F4 | <kf15> || FUNCT + c
   #   SHIFT + F5 | <kf16> || FUNCT + d
   #   SHIFT + F6 | <kf17> || FUNCT + e
   #   SHIFT + F7 | <kf18> || FUNCT + f
   #   SHIFT + F8 | <kf19> || FUNCT + g
   #   SHIFT + F9 | <kf20> || FUNCT + h
   #  SHIFT + F10 | <kf21> || FUNCT + i
   #  SHIFT + F11 | <kf22> || FUNCT + j
   #
   # PORTS AND SWITCH SETTINGS
   #
   # Here are the switch settings for the TVI-912B/TVI-920B and
   # TVI-912C/TVI-920C:
   #
 # S1 (Line), and S3 (Printer) baud rates -- put one, and only one, switch down:  # S1 (Line), and S3 (Printer) baud rates -- put one, and only one, switch down:
 # 2: 9600       3: 4800         4: 2400         5: 1200  # 2: 9600       3: 4800         4: 2400         5: 1200
 # 6:  600       7:  300         8:  150         9:   75  # 6:  600       7:  300         8:  150         9:   75
Line 5374 
Line 7251 
 # S4/W34:       Selects Page Print Mode as initial condition.  If not  # S4/W34:       Selects Page Print Mode as initial condition.  If not
 #               installed, Extension Mode is selected.  #               installed, Extension Mode is selected.
 #  #
 tvi920b|tvi920c|new televideo 920,  # NON-STANDARD CAPABILITIES
         dl1=\ER$<5*>, il1=\EE$<5*>, kf0=^AI\r, kf1=^A@\r,  #
         kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,  # Sending <u9> or <u7> returns a cursor position report in the format
         kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, use=tvi912,  # YX\r, where Y and X are as in <cup>. This format is described in
   # <u8> and <u6>, but it's not clear how one should write an
   # appropriate scanf string, since we need to subtract %' ' from the
   # character after reading it. The <u9> capability is used by tack(1)
   # to synchronize during padding tests, and seems to work for that
   # purpose.
   #
   # This description also includes the obsolete termcap capabilities
   # has_hardware_tabs (<OTpt>) and backspaces_with_bs (<OTbs>).
   #
   # FEATURES NOT YET DESCRIBED IN THIS TERMINFO
   #
   # The FUNCT modifier actually works with every normal key by sending
   # ^AX\r, where X is the sequence normally sent by that key. This is a
   # sort of meta key not currently describable in terminfo.
   #
   # There are quite a few other keys (especially on the 920 models,) but
   # they are for the most part only useful in block mode.
   #
   # These terminals have lots of forms manipulation features, mainly
   # useful in block mode, including "clear X to nulls" (vs. "clear X to
   # spaces"; nulls are sentinels for "send X" operations); "send X"
   # operations for uploading all or part of the screen; and block-mode
   # editing keys (they don't send escape sequences, but manipulate video
   # memory directly). Block mode is used for local editing, and protect
   # mode (in conjunction with the "write protect" attribute,
   # a.k.a. half-intensity outside of protect mode) is used to control
   # which parts of the screen are edited/sent/printed (by <mc0>).
   #
   # There are at least two major families of ROM, "early" and
   # A49B1/A49C1; the major difference seems to be that the latter ROMs
   # support a few extra escape sequences for manipulating the off-screen
   # memory page, and for sending whole pages back to the host (mainly
   # useful in block mode.) The descriptions in this file don't use any
   # of those sequences: set cursor position including page (\E-PYX,
   # where P is \s for page 0 and ! for page 1 [actually only the LSB of
   # P is taken into account, so e.g. 0 and 1 work too,] and Y and X are
   # as in <cup>); read cursor position (\E/), which is analogous to <u9>
   # and returns PYX\r, where P is \s for page 0 or ! for page 1, and YX
   # are as in <cup>, and some "send page" features mainly useful for
   # forms manipulation.
   #
   # The keyboard enable (\E") and disable (\E#) sequences are unused,
   # except that a terminal reset (<is2>) enables the keyboard.
   #
   # Auto-flip mode (\Ev) is likely faster than the scrolling mode (\Ew)
   # enabled in <is2>, but auto-flip is very jarring so we don't use it.
   #
   # BUGS
   #
   # At least up to the A49B1 and A49C1 ROMs, there are no \Eb and \Ed
   # sequences (I infer that in some TeleVideo terminal they may invert
   # and uninvert the display) so the <flash> sequence given here is a
   # cheesy page-flip instead.
   #
   # The back_tab (<cbt>) sequence (\EI) doesn't work according to
   # tack(1), so it is not included in the descriptions below.
   #
   # It's not clear whether auto_left_margin (<bw>) flag should be set
   # for these terminals; tack says yes, so it is set here, but this
   # differs from other descriptions I've seen.
   #
   # Extension print mode (<mc5>) echoes all characters to the printer
   # port [in addition to displaying them] except for the page print mode
   # sequence (<mc4>); this is a slight violation of the terminfo
   # definition for <mc5> but I don't expect it to cause problems.  We
   # reset to page print mode in <rs1> since it may have been enabled
   # accidentally.
   #
   # The descriptions with plus signs (+) are building blocks.
   
   tvi912b-unk|tvi912c-unk|TeleVideo TVI-912B or TVI-912C (no attributes),
           OTbs, OTpt, am, bw,
           cols#80, it#8, lines#24,
           bel=^G, clear=\032$<50>, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
           cup=\E=%p1%' '%+%c%p2%' '%+%c, cuu1=^K, dch1=\EW$<30>,
           dl1=\ER$<1*>$<100>, ed=\Ey$<2*>$<10>, el=\ET$<15>,
           home=^^, ht=^I, hts=\E1, ich1=\EQ$<30>,
           if=/usr/share/tabset/stdcrt, il1=\EE$<1*>$<100>,
           ind=\n$<10>, is2=\Ew\EA\E'\E"\E(, kcub1=^H, kcud1=^J,
           kcuf1=^L, kcuu1=^K, kdch1=\177, kent=^M, khome=^^, mc4=\EA,
           mc5=\E@, rs1=\Ek\010\Em\010\Eq\032, tbc=\E3, u6=%c%c\r,
           u7=\E?, u8=%c%c\r, u9=\E?,
   
   # This isn't included in the basic capabilities because it is
   # typically unusable in combination with the full range of video
   # attributes, since the magic cookie attributes turn into ASCII
   # control characters, and the half-intensity ("protected") attribute
   # converts all affected characters to spaces.
   
   tvi912b+printer|TeleVideo TVI-912B/TVI-920B and TVI-912C/TVI-920C page print support,
           mc0=\EP,
   
   # This uses half-intensity mode (<dim>) for standout (<smso>), and
   # exposes no other attributes (half-intensity is the only attribute
   # that does not generate a magic cookie.)
   
   tvi912b+dim|TeleVideo TVI-912B/TVI-920B and TVI-912C/TVI-920C half-intensity attribute support,
           msgr,
           dim=\E), rmso=\E(, sgr=\E%?%p1%p5%|%t)%e(%;, sgr0=\E(,
           smso=\E),
   
   # Full magic-cookie attribute support, with half-intensity reverse
   # video for standout. Note that we add a space in the <dim> sequence
   # to give a consistent magic-cookie count. Also note that <sgr> uses
   # backspacing (in the TVI-supported order) to apply all requested
   # attributes with only a single magic cookie.
   
   tvi912b+mc|TeleVideo TVI-912B/TVI-920B and TVI-912C/TVI-920C full magic-cookie attribute support,
           xmc#1,
           blink=\E\^, dim=\E)\s, invis=\E_, rev=\Ej, rmso=\E(\Ek,
           rmul=\Em,
           sgr=\E%?%p1%p5%|%t)%e(%; \010\E%?%p1%p3%|%tj%ek%;\010\E%?%p2%tl%em%;\010\E%?%p7%t_%e%?%p4%t\^%eq%;%;,
           sgr0=\E(\Ek\010\Em\010\Eq, smso=\E)\Ej, smul=\El,
   
   # This uses the second page memory option to save & restore screen
   # contents. If your terminal is missing the option, this description
   # should still work, but that has not been tested.
   
   tvi912b+2p|TeleVideo TVI-912B/TVI-920B and TVI-912C/TVI-920C second page memory option support,
           flash=\EK$<100>\EK, rmcup=\032$<50>\EK\E=7\s,
           smcup=\EK\032$<50>\E(\Ek\010\Em\010\Eq\032$<50>,
   
   # This simulates flashing by briefly toggling to the other page
   # (kludge!)
   
   tvi912b+vb|TeleVideo TVI-912B/TVI-920B and TVI-912C/TVI-920C second page memory option "visible bell" support,
           bel=\EK$<100>\EK, use=tvi912b+2p,
   
   # Function keys (<kf12> .. <kf22> are shifted <kf1> .. <kf11>)
   
   tvi920b+fn|TeleVideo TVI-920B and TVI-920C function key support,
           kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, kf12=^A`\r, kf13=^Aa\r,
           kf14=^Ab\r, kf15=^Ac\r, kf16=^Ad\r, kf17=^Ae\r, kf18=^Af\r,
           kf19=^Ag\r, kf2=^AA\r, kf20=^Ah\r, kf21=^Ai\r, kf22=^Aj\r,
           kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
           kf8=^AG\r, kf9=^AH\r,
   
   # Combinations of the basic building blocks
   
   tvi912b-2p-unk|tvi912c-2p-unk|tvi912b-unk-2p|tvi912c-unk-2p|TeleVideo TVI-912B or TVI-912C (second page memory option; no attributes),
           use=tvi912b+2p, use=tvi912b-unk,
   
   tvi912b-vb-unk|tvi912c-vb-unk|tvi912b-unk-vb|tvi912c-unk-vb|TeleVideo TVI-912B or TVI-912C (second page memory option "visible bell"; no attributes),
           use=tvi912b+vb, use=tvi912b-unk,
   
   tvi912b-p|tvi912c-p|TeleVideo TVI-912B or TVI-912C (no attributes; page print),
           use=tvi912b+printer, use=tvi912b-unk,
   
   tvi912b-2p-p|tvi912c-2p-p|tvi912b-p-2p|tvi912c-p-2p|TeleVideo TVI-912B or TVI-912C (second page memory option; no attributes; page print),
           use=tvi912b+2p, use=tvi912b+printer, use=tvi912b-unk,
   
   tvi912b-vb-p|tvi912c-vb-p|tvi912b-p-vb|tvi912c-p-vb|TeleVideo TVI-912B or TVI-912C (second page memory option "visible bell"; no attributes; page print),
           use=tvi912b+vb, use=tvi912b+printer, use=tvi912b-unk,
   
   tvi912b-2p|tvi912c-2p|TeleVideo TVI-912B or TVI-912C (second page memory option; half-intensity attribute),
           use=tvi912b+2p, use=tvi912b+dim, use=tvi912b-unk,
   
   tvi912b-2p-mc|tvi912c-2p-mc|tvi912b-mc-2p|tvi912c-mc-2p|TeleVideo TVI-912B or TVI-912C (second page memory option; magic cookies),
           use=tvi912b+2p, use=tvi912b+mc, use=tvi912b-unk,
   
   tvi912b-vb|tvi912c-vb|TeleVideo TVI-912B or TVI-912C (second page memory option "visible bell"; half-intensity attribute),
           use=tvi912b+vb, use=tvi912b+dim, use=tvi912b-unk,
   
   tvi912b-vb-mc|tvi912c-vb-mc|tvi912b-mc-vb|tvi912c-mc-vb|TeleVideo TVI-912B or TVI-912C (second page memory option "visible bell"; magic cookies),
           use=tvi912b+vb, use=tvi912b+mc, use=tvi912b-unk,
   
   tvi912b|tvi912c|TeleVideo TVI-912B or TVI-912C (half-intensity attribute),
           use=tvi912b+dim, use=tvi912b-unk,
   
   tvi912b-mc|tvi912c-mc|TeleVideo TVI-912B or TVI-912C (magic cookies),
           use=tvi912b+mc, use=tvi912b-unk,
   
   tvi920b-unk|tvi920c-unk|TeleVideo TVI-920B or TVI-920C (no attributes),
           use=tvi920b+fn, use=tvi912b-unk,
   
   tvi920b-2p-unk|tvi920c-2p-unk|tvi920b-unk-2p|tvi920c-unk-2p|TeleVideo TVI-920B or TVI-920C (second page memory option; no attributes),
           use=tvi920b+fn, use=tvi912b+2p, use=tvi912b-unk,
   
   tvi920b-vb-unk|tvi920c-vb-unk|tvi920b-unk-vb|tvi920c-unk-vb|TeleVideo TVI-920B or TVI-920C (second page memory option "visible bell"; no attributes),
           use=tvi920b+fn, use=tvi912b+vb, use=tvi912b-unk,
   
   tvi920b-p|tvi920c-p|TeleVideo TVI-920B or TVI-920C (no attributes; page print),
           use=tvi920b+fn, use=tvi912b+printer, use=tvi912b-unk,
   
   tvi920b-2p-p|tvi920c-2p-p|tvi920b-p-2p|tvi920c-p-2p|TeleVideo TVI-920B or TVI-920C (second page memory option; no attributes; page print),
           use=tvi920b+fn, use=tvi912b+2p, use=tvi912b+printer,
           use=tvi912b-unk,
   
   tvi920b-vb-p|tvi920c-vb-p|tvi920b-p-vb|tvi920c-p-vb|TeleVideo TVI-920B or TVI-920C (second page memory option "visible bell"; no attributes; page print),
           use=tvi920b+fn, use=tvi912b+vb, use=tvi912b+printer,
           use=tvi912b-unk,
   
   tvi920b-2p|tvi920c-2p|TeleVideo TVI-920B or TVI-920C (second page memory option; half-intensity attribute),
           use=tvi920b+fn, use=tvi912b+2p, use=tvi912b+dim,
           use=tvi912b-unk,
   
   tvi920b-2p-mc|tvi920c-2p-mc|tvi920b-mc-2p|tvi920c-mc-2p|TeleVideo TVI-920B or TVI-920C (second page memory option; magic cookies),
           use=tvi920b+fn, use=tvi912b+2p, use=tvi912b+mc,
           use=tvi912b-unk,
   
   tvi920b-vb|tvi920c-vb|TeleVideo TVI-920B or TVI-920C (second page memory option "visible bell"; half-intensity attribute),
           use=tvi920b+fn, use=tvi912b+vb, use=tvi912b+dim,
           use=tvi912b-unk,
   
   tvi920b-vb-mc|tvi920c-vb-mc|tvi920b-mc-vb|tvi920c-mc-vb|TeleVideo TVI-920B or TVI-920C (second page memory option "visible bell"; magic cookies),
           use=tvi920b+fn, use=tvi912b+vb, use=tvi912b+mc,
           use=tvi912b-unk,
   
   tvi920b|tvi920c|TeleVideo TVI-920B or TVI-920C (half-intensity attribute),
           use=tvi920b+fn, use=tvi912b+dim, use=tvi912b-unk,
   
   tvi920b-mc|tvi920c-mc|TeleVideo TVI-920B or TVI-920C (magic cookies),
           use=tvi920b+fn, use=tvi912b+mc, use=tvi912b-unk,
   
 # Televideo 921 and variants  # Televideo 921 and variants
 # From: Tim Theisen <tim@cs.wisc.edu> 22 Sept 1995  # From: Tim Theisen <tim@cs.wisc.edu> 22 Sept 1995
 # (tvi921: removed :ko=bt: before translation, I see no backtab cap;  # (tvi921: removed :ko=bt: before translation, I see no backtab cap;
Line 6244 
Line 8334 
 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 6323 
Line 8413 
 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 6492 
Line 8582 
 wy99f|wy99fgt|wy-99fgt|Wyse WY-99GT (int'l PC keyboard),  wy99f|wy99fgt|wy-99fgt|Wyse WY-99GT (int'l PC keyboard),
         am, bw, hs, km, mc5i, mir, msgr, xon,          am, bw, hs, km, mc5i, mir, msgr, xon,
         cols#80, it#8, lines#25, wsl#46,          cols#80, it#8, lines#25, wsl#46,
         acsc='x+y.wI~_vj(k'l&m%n)o9q*s8t-u.v\,w+x=, bel=^G,          acsc='x+y.wi~_vj(k'l&m%n)o9q*s8t-u.v\,w+x=, bel=^G,
         blink=\EG2, cbt=\EI, civis=\E`0, clear=\E'\E(\032,          blink=\EG2, cbt=\EI, civis=\E`0, clear=\E'\E(\032,
         cnorm=\E`4\E`1, cr=^M, cub1=^H, cud1=\Ej, cuf1=^L,          cnorm=\E`4\E`1, cr=^M, cub1=^H, cud1=\Ej, cuf1=^L,
         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,          cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
Line 6544 
Line 8634 
 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 6633 
Line 8723 
         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>,
         is1=\E[2;4;20;30l\E[?1;10l\E[12h\E[?7;8;25h,          is1=\E[2;4;20;30l\E[?1;10l\E[12h\E[?7;8;25h,
         is2=\E>\E(B\E)0\017, is3=\E[m, ka1=\EOw, ka3=\EOy,          is2=\E>\E(B\E)0\017, is3=\E[m, kbs=^H, kcub1=\E[D,
         kb2=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\E[D, kcud1=\E[B,          kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdl1=\E[M, kel=\E[K,
         kcuf1=\E[C, kcuu1=\E[A, kdl1=\E[M, kel=\E[K, kent=\EOM,  
         kf1=\E[?5i, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,          kf1=\E[?5i, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
         kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~,          kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~,
         kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\E[?3i,          kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\E[?3i,
Line 6650 
Line 8739 
         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, use=vt220+keypad,
 #  #
 #       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 6702 
Line 8791 
         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,
         is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h$<16>,          is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h$<16>,
         is3=\E>\E(B\E)0\017\E[m, ka1=\EOw, ka3=\EOy, kb2=\EOu,          is3=\E>\E(B\E)0\017\E[m, kbs=^H, kcub1=\E[D, kcud1=\E[B,
         kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\E[D, kcud1=\E[B,          kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kf10=\E[21~,
         kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kent=\EOM, kf1=\EOP,          kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
         kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,          kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
         kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,          kf19=\E[33~, kf20=\E[34~, kf6=\E[17~, kf7=\E[18~,
         kf18=\E[32~, kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf3=\EOR,          kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~,
         kf4=\EOS, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,          khome=\E[26~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
         kfnd=\E[1~, khlp=\E[28~, khome=\E[26~, kich1=\E[2~,          kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, mc0=\E[0i,
         knp=\E[6~, kpp=\E[5~, kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3,          mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, ri=\EM$<3>,
         lf4=PF4, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m,          rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, rmso=\E[m,
         ri=\EM$<3>, rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmkx=\E>,          rmul=\E[m, rs1=\E[13l\E[3l\E!p, rs2=\E[35h\E[?3l$<70>,
         rmso=\E[m, rmul=\E[m, rs1=\E[13l\E[3l\E!p,          rs3=\E[?5l, sc=\E7,
         rs2=\E[35h\E[?3l$<70>, rs3=\E[?5l, sc=\E7,  
         sgr=\E[0%?%p2%t;4%;%?%p3%p1%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,          sgr=\E[0%?%p2%t;4%;%?%p3%p1%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;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=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,          smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
         tsl=\E[40h\E7\E[25;%i%p1%dH,          tsl=\E[40h\E7\E[25;%i%p1%dH, use=vt220+keypad,
 #  #
 #       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,
Line 6807 
Line 8895 
         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,
         is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h,          is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h,
         is3=\E>\E(B\E)0\017\E[m, ka1=\EOw, ka3=\EOy, kb2=\EOu,          is3=\E>\E(B\E)0\017\E[m, kbs=^H, kcbt=\E[Z, kcub1=\E[D,
         kbs=^H, kc1=\EOq, kc3=\EOs, kcbt=\E[Z, kcub1=\E[D,          kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kf1=\EOP,
         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kent=\EOM,          kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
         kf1=\EOP, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,          kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
         kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~,          kf18=\E[32~, kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf3=\EOR,
         kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\EOQ,          kf4=\EOS, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
         kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, kf7=\E[18~,          kfnd=\E[1~, khlp=\E[28~, khome=\E[26~, kich1=\E[2~,
         kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~,          knp=\E[6~, kpp=\E[5~, kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3,
         khome=\E[26~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,          lf4=PF4, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m,
         kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, mc0=\E[0i,          ri=\EM$<2>, rmacs=^O, rmam=\E[?7l, rmcup=\E[ R, rmir=\E[4l,
         mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, ri=\EM$<2>,          rmkx=\E>, rmso=\E[27m, rmul=\E[24m,
         rmacs=^O, rmam=\E[?7l, rmcup=\E[ R, rmir=\E[4l, rmkx=\E>,  
         rmso=\E[27m, rmul=\E[24m,  
         rs1=\E[13l\E[3l\E\\\E[63;1"p\E[!p, rs2=\E[35h\E[?3l,          rs1=\E[13l\E[3l\E\\\E[63;1"p\E[!p, rs2=\E[35h\E[?3l,
         rs3=\E[?5l\E[47h\E[40l\E[r, sc=\E7,          rs3=\E[?5l\E[47h\E[40l\E[r, sc=\E7,
         sgr=\E[0%?%p2%t;4%;%?%p3%p1%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,          sgr=\E[0%?%p2%t;4%;%?%p3%p1%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E[ Q,          sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E[ Q,
         smir=\E[4h, smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m,          smir=\E[4h, smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m,
         tbc=\E[3g, tsl=\E7\E[99;%i%p1%dH, vpa=\E[%i%p1%dd,          tbc=\E[3g, tsl=\E7\E[99;%i%p1%dH, vpa=\E[%i%p1%dd,
           use=vt220+keypad,
 #  #
 #       Wyse 185 with 24 data lines and top status (terminal status)  #       Wyse 185 with 24 data lines and top status (terminal status)
 wy185-24|wyse185-24|wyse 185 with 24 data lines,  wy185-24|wyse185-24|wyse 185 with 24 data lines,
Line 6855 
Line 8942 
 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 7016 
Line 9103 
 #       Function key set for the VT-320 (and wy85) compatible keyboard  #       Function key set for the VT-320 (and wy85) compatible keyboard
 #  #
 wy370-105k|Wyse 370 with 105 key keyboard,  wy370-105k|Wyse 370 with 105 key keyboard,
         ka1=\EOw, ka3=\EOy, kb2=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs,          kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,          kdch1=\E[3~, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
         kdch1=\E[3~, kent=\EOM, kf1=\EOP, kf10=\E[21~, kf11=\E[23~,          kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~,
         kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,          kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf20=\E[34~,
         kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,          kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~,
         kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~,  
         kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~,  
         khlp=\E[28~, khome=\E[26~, kich1=\E[2~, knp=\E[6~,          khlp=\E[28~, khome=\E[26~, kich1=\E[2~, knp=\E[6~,
         kpp=\E[5~, kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4,          kpp=\E[5~, kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4,
         use=wy370-nk,          use=wy370-nk, use=vt220+keypad,
 #  #
 #       Function key set for the PC compatible keyboard  #       Function key set for the PC compatible keyboard
 #  #
Line 7129 
Line 9214 
         hts=\EH, ich=\E[%p1%d@$<2>, il=\E[%p1%dL$<3*>,          hts=\EH, 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,          il1=\E[L$<3>, ind=\n$<2>, invis=\E[8m, ip=$<4>, is1=\E[?5W,
         is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25;67h,          is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25;67h,
         is3=\E>\E(B\E)0\017\E[m, ka1=\EOw, ka3=\EOu, kb2=\EOy,          is3=\E>\E(B\E)0\017\E[m, kbs=^H, kcbt=\E[Z, kcub1=\E[D,
         kbs=^H, kc1=\EOq, kc3=\EOs, kcbt=\E[Z, kcub1=\E[D,  
         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, ked=\E[1~,          kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, ked=\E[1~,
         kel=\E[4~, kent=\EOM, kf1=\EOP, kf10=\E[21~, kf11=\E[23~,          kel=\E[4~, kent=\EOM, kf10=\E[21~, kf11=\E[23~,
         kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,          kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
         kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,          kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
         kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~,          kf20=\E[34~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~,
         kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~,          kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~, khome=\E[26~,
         khlp=\E[28~, khome=\E[26~, kich1=\E[2~, knp=\E[6~,          kich1=\E[2~, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, lf1=PF1,
         kpp=\E[5~, kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4,          lf2=PF2, lf3=PF3, lf4=PF4, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i,
         mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m,          rc=\E8, rev=\E[7m, ri=\EM$<2>, rmacs=^O, rmam=\E[?7l,
         ri=\EM$<2>, rmacs=^O, rmam=\E[?7l, rmcup=\E[ R, rmir=\E[4l,          rmcup=\E[ R, rmir=\E[4l, rmso=\E[m, rmul=\E[24m,
         rmso=\E[m, rmul=\E[24m,  
         rs1=\E[13l\E[3l\E\\\E[63;1"p\E[!p, rs2=\E[35h\E[?3l,          rs1=\E[13l\E[3l\E\\\E[63;1"p\E[!p, rs2=\E[35h\E[?3l,
         rs3=\E[?5l\E[47h\E[40l\E[r, sc=\E7,          rs3=\E[?5l\E[47h\E[40l\E[r, sc=\E7,
         sgr=\E[0%?%p2%t;4%;%?%p3%p1%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,          sgr=\E[0%?%p2%t;4%;%?%p3%p1%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
         sgr0=\E[m\017, smacs=^N, smam=\E[?7h,          sgr0=\E[m\017, smacs=^N, smam=\E[?7h,
         smcup=\E[ Q\E[?67;8h, smir=\E[4h, smso=\E[7m, smul=\E[4m,          smcup=\E[ Q\E[?67;8h, smir=\E[4h, smso=\E[7m, smul=\E[4m,
         tbc=\E[3g, tsl=\E[2$~\E[1$}\E[%i%p1%d`,          tbc=\E[3g, tsl=\E[2$~\E[1$}\E[%i%p1%d`,
         vpa=\E[%i%p1%dd,          vpa=\E[%i%p1%dd, use=vt220+keypad,
 #  #
 #       Wyse 520 with 24 data lines and status (terminal status)  #       Wyse 520 with 24 data lines and status (terminal status)
 wy520-24|wyse520-24|wyse 520 with 24 data lines,  wy520-24|wyse520-24|wyse 520 with 24 data lines,
Line 7414 
Line 9497 
         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=^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,          dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
         dl1=\E[M, dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J, el=\E[K,          dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J, el=\E[K,
         flash=\E[?5h\E[?5l, fsl=\E[$}, home=\E[H, ht=^I, hts=\EH,          flash=\E[?5h\E[?5l, fsl=\E[$}, home=\E[H, ht=^I, hts=\EH,
         ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L$<3/>, ind=\ED,          ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L$<3/>, ind=\ED,
         is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H,          is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H,
Line 7488 
Line 9571 
 # (The <blink>/<bold>/<rev>/<smacs>/<smul>/<smso> capabilities exist only to  # (The <blink>/<bold>/<rev>/<smacs>/<smul>/<smso> capabilities exist only to
 # tell ncurses that the corresponding highlights exist; it should use <sgr>,  # tell ncurses that the corresponding highlights exist; it should use <sgr>,
 # which is the only method that will actually work for multiple highlights.)  # which is the only method that will actually work for multiple highlights.)
   #
   # Update by TD - 2004: half of this was inconsistent.  Found documentation
   # and repaired most of the damage.  sgr0 is probably incorrect, but the
   # available documentation gives no clues for a workable string.
 avatar0|avatar terminal emulator level 0,  avatar0|avatar terminal emulator level 0,
         am, bce, msgr,          am, bce, msgr,
         cols#80, it#8, lines#25,          cols#80, it#8, lines#25,
         blink=^A^V\177, bold=^V^A^P, cr=^M, cub1=^V^E, cud1=^V^D,          blink=^V^B, 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,          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,          ind=^J, invis=^V^A\0, rep=\031%p1%c%p2%c, rev=^V^Ap,
         rs2=^L,          rmacs@, rs2=^L,
         sgr=\026\001%{0}%?%p1%t%{112}%|%;%?%p2%t%{1}%|%;%?%p3%t%{112}%|%;%?%p4%t{128}%|%;%?%p6%t%{16}%|%;,          sgr=%?%p1%p2%|%p3%|%p6%|%p7%|%t\026\001%?%p7%t%{128}%e%{0}%?%p1%t%{112}%|%;%?%p2%t%{1}%|%;%?%p3%t%{112}%|%;%?%p6%t%{16}%|%;%;%c%;%?%p4%t\026\002%;,
         sgr0=^V^A^G, smacs=, smso=^A^Vp, smul=^V^A, use=klone+acs,          sgr0=^V^A^G, smacs@, smso=^V^Ap, smul=^V^A^A,
           use=klone+acs,
 # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995  # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
 avatar0+|avatar terminal emulator level 0+,  avatar0+|avatar terminal emulator level 0+,
         dch1=^V^N, rmir=\026\n\0\0\0\0, smir=^V^I, use=avatar0,          dch1=^V^N, rmir=\026\n\0\0\0\0, smir=^V^I, use=avatar0,
Line 7517 
Line 9605 
         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,          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,          clear=^L, cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr,
         cub1=^H, cud1=^C, cuf1=^B,          cub1=^H, cud1=^C, cuf1=^B,
         cup=\037%p2%{32}%+%c%p1%{32}%+%c, cuu1=^^,          cup=\037%p2%{32}%+%c%p1%{32}%+%c, cuu1=^^, dch1=^W,
         cvvis=\E[?25h, dch1=^W, dl=\E[%p1%dM, dl1=^Z,          dl=\E[%p1%dM, dl1=^Z, ech=\E[%p1%dX, ed=^F5, el=^P^P, ht=^I,
         ech=\E[%p1%dX, ed=^F5, el=^P^P, ht=^I, il=\E[%p1%dL, il1=^K,          il=\E[%p1%dL, il1=^K, ind=\ED, invis=\E[8m,
         ind=\ED, invis=\E[8m,  
         is2=\017\035\E(B\E)0\E[?7h\E[?3l\E[>8g, kbs=^H,          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,          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=,          rc=\E8, rep=\030%p1%c%p2%c, rev=^R, ri=\EM, rmcup=, rmdc=,
Line 7565 
Line 9652 
 # NOTE: calling 'beep' turns on the backlight (bell)  # NOTE: calling 'beep' turns on the backlight (bell)
 # NOTE: calling 'flash' turns it on and back off (visual bell)  # NOTE: calling 'flash' turns it on and back off (visual bell)
 #  #
 MtxOrb| Generic Matrix Orbital LCD display,  MtxOrb|Generic Matrix Orbital LCD display,
         bel=\376B^A, clear=\376X\376C\376R\376K\376T,          bel=\376B^A, clear=\376X\376C\376R\376K\376T,
         cnorm=\376K\376T, cub1=\376L, cuf1=\376M,          cnorm=\376K\376T, cub1=\376L, cuf1=\376M,
         flash=\376B\001$<200>\376F, home=\376H,          flash=\376B\001$<200>\376F, home=\376H,
 MtxOrb204| 20x4 Matrix Orbital LCD display,  MtxOrb204|20x4 Matrix Orbital LCD display,
         cols#20, lines#4, use=MtxOrb,          cols#20, lines#4, use=MtxOrb,
 MtxOrb162| 16x2 Matrix Orbital LCD display,  MtxOrb162|16x2 Matrix Orbital LCD display,
         cols#16, lines#2, use=MtxOrb,          cols#16, lines#2, use=MtxOrb,
 # The end  # The end
   
Line 7670 
Line 9757 
         cup=\E[%i%p1%d;%p2%dH$<5>, cuu1=\E[A$<2>, dch1=\E[P,          cup=\E[%i%p1%d;%p2%dH$<5>, cuu1=\E[A$<2>, dch1=\E[P,
         dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>,          dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>,
         enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ich1=\E[@,          enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ich1=\E[@,
         il1=\E[L, ind=^J, ka1=\EOq, ka3=\EOs, kb2=\EOr, kbs=^H,          il1=\E[L, ind=^J, kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
         kc1=\EOp, kc3=\EOn, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,          kcuu1=\EOA, rc=\E8, rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O,
         kcuu1=\EOA, kent=\EOM, kf0=\EOy, kf1=\EOP, kf10=\EOx,          rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m$<2>,
         kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt, kf6=\EOu, kf7=\EOv,  
         kf8=\EOl, kf9=\EOw, rc=\E8, rev=\E[7m$<2>, ri=\EM$<5>,  
         rmacs=^O, rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m$<2>,  
         rmul=\E[m$<2>, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,          rmul=\E[m$<2>, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
         sc=\E7,          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%;,          sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<2>,
         sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=,          sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=,
         smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,          smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
           use=vt100+fnkeys,
   
 #  #
 # Teletype Model 5420 -- A souped up 5410, with multiple windows,  # Teletype Model 5420 -- A souped up 5410, with multiple windows,
Line 9057 
Line 11142 
         sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m,          sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m,
         sgr0=\E[m,          sgr0=\E[m,
         smkx=\EP`>z~[[J`8xz~[[A`4xz~[[D`6xz~[[C`2xz~[[B\E\\,          smkx=\EP`>z~[[J`8xz~[[A`4xz~[[D`6xz~[[C`2xz~[[B\E\\,
         smm=\E[>52h, smso=\E[7m, smul=\E[4m, tbc=\E[2g,          smm=\E[>52h, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
         vpa=\E[%p1%{1}%+%dd,          vpa=\E[%p1%{1}%+%dd,
   
 aaa+rv|ann arbor ambassador in reverse video,  aaa+rv|ann arbor ambassador in reverse video,
Line 9317 
Line 11402 
 # underline=01100000, rev=01010000, blink=01000010,dim=01000001,  # underline=01100000, rev=01010000, blink=01000010,dim=01000001,
 # invis=01000100 and %c is the logical or of desired attributes.  # invis=01000100 and %c is the logical or of desired attributes.
 # There is also a `tag bit' enabling attributes, set by \E) and unset by \E(.  # There is also a `tag bit' enabling attributes, set by \E) and unset by \E(.
   #
   # Update by TD - 2004:
   # Adapted from
   #       http://www.cs.utk.edu/~shuford/terminal/adds_viewpoint_news.txt
   #
   # COMMANDS                        ASCII CODE
   #
   # Address, Absolute               ESC,=,row,column
   # Beep                            BEL
   # Aux Port Enable                 ESC,@
   # Aux Port Disable                ESC,A
   # Backspace                       BS
   # Cursor back                     BS
   # Cursor down                     LF
   # Cursor forward                  FF
   # Cursor home                     RS
   # Cursor up                       VT
   # Cursor supress                  ETB
   # Cursor enable                   CAN
   # Erase to end of line            ESC,T
   # Erase to end of page            ESC,Y
   # Erase screen                    SUB
   # Keyboard lock                   SI
   # Keyboard unlock                 SO
   # Read current cursor position    ESC,?
   # Set Attribute                   ESC,0,x  (see below for values of x)
   # Tag bit reset                   ESC,(
   # Tag bit set                     ESC,)
   # Transparent Print on            ESC,3
   # Transparent Print off           ESC,4
   #
   #
   # ATTRIBUTES
   #
   # Normal                          @     0100
   # Half Intensity                  A     0101
   # Blinking                        B     0102
   # Half Intensity Blinking         C     0103
   # Reverse Video                   P     0120
   # Reverse Video Half Intensity    Q     0121
   # Reverse Video Blinking          R     0122
   # Reverse Video Half Intensity
   #    Blinking                     S     0123
   # Underlined                      `     0140
   # Underlined Half Intensity       a     0141
   # Underlined Blinking             b     0142
   # Underlined Half Intensity
   #    Blinking                     c     0143
   # Video suppress                  D     0104
 vp3a+|viewpoint3a+|adds viewpoint 3a+,  vp3a+|viewpoint3a+|adds viewpoint 3a+,
         am, bw,          am, bw,
         cols#80, it#8, lines#24,          cols#80, it#8, lines#24,
         civis=^W, clear=\E*$<80>, cnorm=^X, cr=^M, cub1=^H, cud1=^J,          blink=\E0B\E), civis=^W, clear=\E*$<80>, cnorm=^X, cr=^M,
         cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,          cub1=^H, cud1=^J, cuf1=^L,
         ed=\EY$<80>, el=\ET, home=^^, ht=^I, ind=^J, kbs=^H, kcub1=^H,          cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dim=\E0A\E),
         kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, nel=^M^J, rmso=\E(,          ed=\EY$<80>, el=\ET, home=^^, ht=^I, ind=^J, invis=\E0D\E),
         sgr=\E0%{64}%?%p1%tQ%|%;%?%p2%t%{96}%|%;%?%p3%tP%|%;%?%p4%t%{2}%|%;%?%p5%t%{1}%|%;%?%p7%tD%|%;%c\E),          kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^,
         sgr0=\E(, smso=\E0Q\E),          nel=^M^J, rev=\E0P\E), rmso=\E(,
           sgr=%?%p1%p2%|%p3%|%p4%|%p5%|%p7%|%t\E0%{64}%?%p1%t%{17}%|%;%?%p2%t%{32}%|%;%?%p3%t%{16}%|%;%?%p4%t%{2}%|%;%?%p5%t%{1}%|%;%c%?%p7%tD%;\E)%e\E(%;,
           sgr0=\E(, smso=\E0Q\E), smul=\E0`\E),
 vp60|viewpoint60|addsvp60|adds viewpoint60,  vp60|viewpoint60|addsvp60|adds viewpoint60,
         use=regent40,          use=regent40,
 #  #
Line 10093 
Line 12229 
         sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m,          sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m,
         sgr0=\E[m, smacs=\017$<1>, smcup=\E[=4l\E[1;24w\E2\r,          sgr0=\E[m, smacs=\017$<1>, smcup=\E[=4l\E[1;24w\E2\r,
         smir=\E[4h, smkx=\E[1!z\E[0;3u, smso=\E[7m, smul=\E[4m,          smir=\E[4h, smkx=\E[1!z\E[0;3u, smso=\E[7m, smul=\E[4m,
         tbc=\E[2g, vpa=\E[%p1%{1}%+%dd,          tbc=\E[3g, vpa=\E[%p1%{1}%+%dd,
 avt-rv-ns|concept avt in reverse video mode/no status line,  avt-rv-ns|concept avt in reverse video mode/no status line,
         flash=\E[=205l$<200>\E[=205h, is1=\E[=103l\E[=205h,          flash=\E[=205l$<200>\E[=205h, is1=\E[=103l\E[=205h,
         use=avt-ns,          use=avt-ns,
Line 10303 
Line 12439 
 dgunix+ccc|Configurable color info for DG D430C terminals in DG-UNIX mode,  dgunix+ccc|Configurable color info for DG D430C terminals in DG-UNIX mode,
         bce, ccc,          bce, ccc,
         colors#52, ncv#53, pairs#26,          colors#52, ncv#53, pairs#26,
         initp=\036RG0%p1%02X%p2%{256}%*%{1001}%/%02X%p3%{256}%*%{1001}%/%02X%p4%{256}%*%{1001}%/%02X%p5%{256}%*%{1001}%/%02X%p6%{256}%*%{1001}%/%02X%p7%{256}%*%{1001}%/%02X,          initp=\036RG0%p1%02X%p2%{255}%*%{1000}%/%02X%p3%{255}%*%{1000}%/%02X%p4%{255}%*%{1000}%/%02X%p5%{255}%*%{1000}%/%02X%p6%{255}%*%{1000}%/%02X%p7%{255}%*%{1000}%/%02X,
         oc=\036RG01A00FF00000000\036RG01B00000000FF00\036RG01C007F00000000\036RG01D000000007F00,          oc=\036RG01A00FF00000000\036RG01B00000000FF00\036RG01C007F00000000\036RG01D000000007F00,
         op=\036RF4831A\036RF2E31B\036RF1D31C\036RF3F31D,          op=\036RF4831A\036RF2E31B\036RF1D31C\036RF3F31D,
         scp=\036RG2%p1%02X,          scp=\036RG2%p1%02X,
Line 10312 
Line 12448 
 dg+ccc|Configurable color info for DG D430C terminals in DG mode,  dg+ccc|Configurable color info for DG D430C terminals in DG mode,
         bce, ccc,          bce, ccc,
         colors#52, ncv#53, pairs#26,          colors#52, ncv#53, pairs#26,
         initp=\036RG0%p1%{16}%/%{48}%+%c%p1%{16}%m%{48}%+%c%p2%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p3%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p4%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p5%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p6%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p7%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c,          initp=\036RG0%p1%{16}%/%{48}%+%c%p1%{16}%m%{48}%+%c%p2%{255}%*%{1000}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p3%{255}%*%{1000}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p4%{255}%*%{1000}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p5%{255}%*%{1000}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p6%{255}%*%{1000}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p7%{255}%*%{1000}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c,
         oc=\036RG01\:00??00000000\036RG01;00000000??00\036RG01<007?00000000\036RG01=000000007?00,          oc=\036RG01\:00??00000000\036RG01;00000000??00\036RG01<007?00000000\036RG01=000000007?00,
         op=\036RF4831\:\036RF2>31;\036RF1=31<\036RF3?31=,          op=\036RF4831\:\036RF2>31;\036RF1=31<\036RF3?31=,
         scp=\036RG2%p1%{16}%/%{48}%+%c%p1%{16}%m%{48}%+%c,          scp=\036RG2%p1%{16}%/%{48}%+%c%p1%{16}%m%{48}%+%c,
Line 11074 
Line 13210 
         cuu1=\E[A$<2>, dch1=\E~W, dl1=\E~R, ed=\E[J$<50>,          cuu1=\E[A$<2>, dch1=\E~W, dl1=\E~R, ed=\E[J$<50>,
         el=\E[K$<3>, el1=\E[1K$<3>, enacs=\E(B\E)0, home=\E[H,          el=\E[K$<3>, el1=\E[1K$<3>, enacs=\E(B\E)0, home=\E[H,
         ht=^I, hts=\EH, ich1=\E~Q, il1=\E~E, ind=^J, is1=\E~)\E~ea,          ht=^I, hts=\EH, ich1=\E~Q, il1=\E~E, ind=^J, is1=\E~)\E~ea,
         ka1=\EOq, ka3=\EOs, kb2=\EOr, kbs=^H, kc1=\EOp, kc3=\EOn,          kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kent=\EOM,          rc=\E8, rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l,
         kf0=\EOy, kf1=\EOP, kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS,  
         kf5=\EOt, kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, rc=\E8,  
         rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l,  
         rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>,          rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>,
         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,          rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 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%;,          sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<2>,
         sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=,          sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=,
         smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,          smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
           use=vt100+fnkeys,
 ts100-ctxt|falco ts-100 saving context,  ts100-ctxt|falco ts-100 saving context,
         rmcup=\E~_b, smcup=\E~_d\E[2J, use=ts100,          rmcup=\E~_b, smcup=\E~_d\E[2J, use=ts100,
   
Line 11169 
Line 13303 
         bw@, eslok,          bw@, eslok,
         it#8, wsl#80,          it#8, wsl#80,
         blink=\EG2, bold=\EG0, civis=\E.1, cnorm=\E.2, cud1=^V,          blink=\EG2, bold=\EG0, civis=\E.1, cnorm=\E.2, cud1=^V,
         cvvis=\E.2, dim=\EG@, dl1=\ER, dsl=\Ef\r,          dim=\EG@, dl1=\ER, dsl=\Ef\r, flash=\Eb$<200/>\Ed, il1=\EE,
         flash=\Eb$<200/>\Ed, il1=\EE, ip@, is2@, kclr=^^, kdch1=\EW,          ip@, is2@, kclr=^^, kdch1=\EW, kdl1=\ER, ked=\EY, kel=\ET,
         kdl1=\ER, ked=\EY, kel=\ET, kf0=^AI\r, kf10@, kich1=\EQ,          kf0=^AI\r, kf10@, kich1=\EQ, kil1=\EE, mc4=\Ea, mc5=\E`,
         kil1=\EE, mc4=\Ea, mc5=\E`, ri=\EJ, rmacs=\E%%, rmir=\Er\EO,          ri=\EJ, rmacs=\E%%, rmir=\Er\EO, smacs=\E$, smir=\EO\Eq,
         smacs=\E$, smir=\EO\Eq, smso=\EG<, tsl=\Ef, use=f100,          smso=\EG<, tsl=\Ef, use=f100,
 f110-14|Liberty Freedom 110 14inch,  f110-14|Liberty Freedom 110 14inch,
         dch1@, use=f110,          dch1@, use=f110,
 f110-w|Liberty Freedom 110 - 132 cols,  f110-w|Liberty Freedom 110 - 132 cols,
Line 11189 
Line 13323 
         clear=^Z, cnorm=\E.1, cr=^M,          clear=^Z, cnorm=\E.1, cr=^M,
         csr=\Em0%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=^V,          csr=\Em0%p1%{32}%+%c%p2%{32}%+%c, 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,
         cvvis=\E.1, dch1=\EW, dim=\EG@, dl1=\ER, dsl=\Ef\r, ed=\EY,          dch1=\EW, dim=\EG@, dl1=\ER, dsl=\Ef\r, ed=\EY, el=\ET,
         el=\ET, flash=\Eo$<200/>\En, fsl=^M, home=^^,          flash=\Eo$<200/>\En, fsl=^M, home=^^,
         hpa=\E]%p1%{32}%+%c, hts=\E1, il1=\EE, ind=^J, kbs=^H,          hpa=\E]%p1%{32}%+%c, hts=\E1, il1=\EE, ind=^J, kbs=^H,
         kclr=^^, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW,          kclr=^^, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW,
         kdl1=\ER, ked=\EY, kel=\ET, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r,          kdl1=\ER, ked=\EY, kel=\ET, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r,
Line 11714 
Line 13848 
         op=\E[32m\E[40m,          op=\E[32m\E[40m,
         setb=\E[%?%p1%{0}%=%t40m%e%p1%{1}%=%t41m%e%p1%{2}%=%t42m%e%p1%{3}%=%t43m%e%p1%{4}%=%t44m%e%p1%{5}%=%t45m%e%p1%{6}%=%t46m%e%p1%{7}%=%t107m%;,          setb=\E[%?%p1%{0}%=%t40m%e%p1%{1}%=%t41m%e%p1%{2}%=%t42m%e%p1%{3}%=%t43m%e%p1%{4}%=%t44m%e%p1%{5}%=%t45m%e%p1%{6}%=%t46m%e%p1%{7}%=%t107m%;,
         setf=\E[%?%p1%{0}%=%t30m%e%p1%{1}%=%t31m%e%p1%{2}%=%t32m%e%p1%{3}%=%t33m%e%p1%{4}%=%t34m%e%p1%{5}%=%t35m%e%p1%{6}%=%t36m%e%p1%{7}%=%t97m%;,          setf=\E[%?%p1%{0}%=%t30m%e%p1%{1}%=%t31m%e%p1%{2}%=%t32m%e%p1%{3}%=%t33m%e%p1%{4}%=%t34m%e%p1%{5}%=%t35m%e%p1%{6}%=%t36m%e%p1%{7}%=%t97m%;,
   ibm+16color|IBM aixterm color definitions,
           colors#16, pairs#256,
           setab=\E[%?%p1%{8}%<%t%p1%{40}%+%e%p1%{92}%+%;%dm,
           setaf=\E[%?%p1%{8}%<%t%p1%{30}%+%e%p1%{82}%+%;%dm,
           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,
 ibm5154|IBM 5154 Color display,  ibm5154|IBM 5154 Color display,
         colors#8, ncv@, pairs#64,          colors#8, ncv@, pairs#64,
         bold@, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=ibm5151,          bold@, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=ibm5151,
Line 11855 
Line 13995 
 #  #
 # AIX entries.  IBM ships these with AIX 3.2.5.  # AIX entries.  IBM ships these with AIX 3.2.5.
 # -- added rc, sc based on manpage -TD  # -- added rc, sc based on manpage -TD
   # Note that we could use ibm+16color, but that is not how IBM defines this one.
 aixterm|IBM Aixterm Terminal Emulator,  aixterm|IBM Aixterm Terminal Emulator,
         eslok, hs,          eslok, hs,
         acsc=jjkkllmmnnqqttuuvvwwxx, bold=\E[1m, dsl=\E[?E,          acsc=jjkkllmmnnqqttuuvvwwxx, bold=\E[1m, dsl=\E[?E,
Line 11877 
Line 14018 
 jaixterm-m|IBM Kanji AIXterm Monochrome Terminal Emulator,  jaixterm-m|IBM Kanji AIXterm Monochrome Terminal Emulator,
         acsc@, use=aixterm-m,          acsc@, use=aixterm-m,
   
   # This flavor is adapted from xterm, in turn from aixterm documentation -TD
   aixterm-16color|IBM Aixterm Terminal Emulator with 16 colors,
           use=ibm+16color, use=aixterm,
   
 #### Infoton/General Terminal Corp.  #### Infoton/General Terminal Corp.
 #  #
   
Line 11892 
Line 14037 
         OTbs, am,          OTbs, am,
         cols#80, lines#25,          cols#80, lines#25,
         bel=^G, clear=\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,          bel=^G, clear=\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
         cup=%i\E[%p1%3d;%p2%3dH, cuu1=\E[A,          cup=\E[%i%p1%3d;%p2%3dH, cuu1=\E[A,
         dch1=\E[4h\E[2Q\E[P\E[4l\E[0Q, dl1=\E[M, el=\E[N,          dch1=\E[4h\E[2Q\E[P\E[4l\E[0Q, dl1=\E[M, el=\E[N,
         il1=\E[L, ind=^J, rmir=\E[4l\E[0Q, smir=\E[4h\E[2Q,          il1=\E[L, ind=^J, rmir=\E[4l\E[0Q, smir=\E[4h\E[2Q,
 # (addrinfo: removed obsolete ":bc=^Z:" -- esr)  # (addrinfo: removed obsolete ":bc=^Z:" -- esr)
Line 11900 
Line 14045 
         am,          am,
         cols#80, lines#24,          cols#80, lines#24,
         bel=^G, clear=^L, cr=^M, cub1=^Z, cud1=^J, cuf1=^Y,          bel=^G, clear=^L, cr=^M, cub1=^Z, cud1=^J, cuf1=^Y,
         cup=\037%p1%{1}%-%c%p2%{1}%-%c, cuu1=^\, ed=^K, home=^H,          cup=\037%p1%c%p2%c, cuu1=^\, ed=^K, home=^H, ind=^J, ll=^H^\,
         ind=^J, ll=^H^\,  
 # (infoton: used to have the no-ops <lh#0>, <lw#0>, <nlab#0> -- esr)  # (infoton: used to have the no-ops <lh#0>, <lw#0>, <nlab#0> -- esr)
 infoton,  infoton,
         am,          am,
Line 12520 
Line 14664 
         ri=\E[L, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m,          ri=\E[L, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m,
         rs2=\E[&p\E[<12l\E F\E[3g\E[9;17;25;33;41;49;57;65;73 N,          rs2=\E[&p\E[<12l\E F\E[3g\E[9;17;25;33;41;49;57;65;73 N,
         sc=\E[%y,          sc=\E[%y,
         sgr=\E[%{0}%?%p1%p3%|%t%{4}%+%;%?%p2%t%{2}%+%;%?%p4%t%{1}%+%;%?%p6%t%{8}%+%;%?%p8%t%{32}%+%;%d%%{%?%p9%t\016%e\017%;,          sgr=\E[%{0}%?%p1%p3%|%t%{7}%+%;%?%p2%t%{2}%+%;%?%p4%t%{5}%+%;%?%p6%t%{1}%+%;m%?%p8%t\E[%{32}%+%d%%{%;%?%p9%t\016%e\017%;,
         sgr0=\E[0m, smir=\E[4h, smso=\E[7m, smul=\E[4m, tbc=\E[2g,          sgr0=\E[0m\017, smir=\E[4h, smso=\E[7m, smul=\E[4m,
         tsl=\E[%i%p1%d%%}, vpa=\E[%i%p1%dd,          tbc=\E[3g, tsl=\E[%i%p1%d%%}, vpa=\E[%i%p1%dd,
   
 # p9-w: Prism-9 in 132 column mode  # p9-w: Prism-9 in 132 column mode
 # --------------------------------  # --------------------------------
Line 12834 
Line 14978 
         cbt=\EI, civis=\E`0, clear=\014$<40>, cnorm=\E`5,          cbt=\EI, civis=\E`0, clear=\014$<40>, cnorm=\E`5,
         cr=\r$<2>, cub1=\010$<2>, cud1=\n$<2>, cuf1=\006$<2>,          cr=\r$<2>, cub1=\010$<2>, cud1=\n$<2>, cuf1=\006$<2>,
         cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<5>, cuu1=\032$<2>,          cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<5>, cuu1=\032$<2>,
         cvvis=\E`5, dch1=\EW$<2>, dim=\EGp, dl1=\El$<2>, dsl=\E`c,          dch1=\EW$<2>, dim=\EGp, dl1=\El$<2>, dsl=\E`c, ed=\Ek$<2>,
         ed=\Ek$<2>, el=\EK$<2>, fsl=^M, home=\036$<2>, ht=^I,          el=\EK$<2>, fsl=^M, home=\036$<2>, ht=^I, hts=\E1,
         hts=\E1, il1=\EM$<2>, ind=\n$<2>, invis=\EG1,          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>,          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,          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,          kbs=^H, kc1=\ET, kc3=\EJ, kcub1=^U, kcud1=^J, kcuf1=^F,
Line 12879 
Line 15023 
         il1=\E[L$<5>, ind=\ED$<5>, indn=\E[%p1%dE$<5>,          il1=\E[L$<5>, ind=\ED$<5>, indn=\E[%p1%dE$<5>,
         invis=\E[8m,          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>,          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,          kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,          kdch1=\E[3~, kfnd=\E[1~, khlp=\E[28~, kich1=\E[2~,
         kdch1=\E[3~, kent=\EOM, kf1=\EOP, kf2=\EOQ, kf3=\EOR,          knp=\E[6~, kpp=\E[5~, krdo=\E[29~, kslt=\E[4~, nel=\EE$<5>,
         kf4=\EOS, kfnd=\E[1~, khlp=\E[28~, kich1=\E[2~, knp=\E[6~,          rc=\E8, rev=\E[7m, ri=\EM$<5>, rmacs=^O, rmir=\E[4l,
         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,          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>,          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,          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>,          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,          sgr0=\E[0m\017$<20>, smacs=^N, smir=\E[4h,
         smkx=\E[?1h\E=, smso=\E[1;7m, smul=\E[4m, tbc=\E[3g,          smkx=\E[?1h\E=, smso=\E[1;7m, smul=\E[4m, tbc=\E[3g,
         tsl=\E[2$~\E[1$}, vpa=\E[%p1%dd$<40>,          tsl=\E[2$~\E[1$}, vpa=\E[%p1%dd$<40>, use=vt220+keypad,
 ncr260vt100wan|NCR 2900_260 vt100 wide mode ansi kybd,  ncr260vt100wan|NCR 2900_260 vt100 wide mode ansi kybd,
         cols#132,          cols#132,
         cup=\E[%i%p1%d;%p2%dH$<30>,          cup=\E[%i%p1%d;%p2%dH$<30>,
Line 12929 
Line 15071 
         ich=\E[%p1%d@$<5>, il=\E[%p1%dL$<5>, il1=\E[L$<5>,          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,          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>,          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,          kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,          kdch1=\E[3~, kf0=\EOy, kf10=\E[21~, kf11=\E[23~,
         kdch1=\E[3~, kent=\EOM, kf0=\EOy, kf1=\EOP, 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=\EOQ, kf20=\E[34~, kf21=\E[31~, kf22=\E[32~,
         kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf21=\E[31~,          kf23=\E[33~, kf24=\E[34~, kf25=\E[35~, kf26=\E[1~,
         kf22=\E[32~, kf23=\E[33~, kf24=\E[34~, kf25=\E[35~,          kf27=\E[2~, kf28=\E[3~, kf29=\E[4~, kf3=\EOR, kf30=\E[5~,
         kf26=\E[1~, kf27=\E[2~, kf28=\E[3~, kf29=\E[4~, kf3=\EOR,          kf31=\E[6~, kf32=\E[7~, kf33=\E[8~, kf34=\E[9~,
         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~,          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~,          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~,          kich1=\E[2~, knp=\E[6~, kpp=\E[5~, krdo=\E[29~, kslt=\E[4~,
Line 12950 
Line 15091 
         sgr0=\E[0m\017$<20>, smacs=\016$<20>, smam=\E[?7h,          sgr0=\E[0m\017$<20>, smacs=\016$<20>, smam=\E[?7h,
         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, tsl=\E[2$~\E[1$}, vpa=\E[%p1%dd$<40>,          tbc=\E[3g, tsl=\E[2$~\E[1$}, vpa=\E[%p1%dd$<40>,
           use=vt220+keypad,
 ncr260vt200wan|NCR 2900_260 vt200 wide mode ansi kybd,  ncr260vt200wan|NCR 2900_260 vt200 wide mode ansi kybd,
         cols#132,          cols#132,
         cup=\E[%i%p1%d;%p2%dH$<30>,          cup=\E[%i%p1%d;%p2%dH$<30>,
Line 12985 
Line 15127 
         ich=\E[%p1%d@$<5>, il=\E[%p1%dL$<5>, il1=\E[L$<5>,          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,          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>,          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,          kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,          kdch1=\E[3~, kf0=\EOy, kf10=\E[21~, kf11=\E[23~,
         kdch1=\E[3~, kent=\EOM, kf0=\EOy, kf1=\EOP, 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~,          kf20=\E[34~, kf21=\E[31~, kf22=\E[32~, kf23=\E[33~,
         kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf21=\E[31~,          kf24=\E[34~, kf25=\E[35~, kf26=\E[1~, kf27=\E[2~,
         kf22=\E[32~, kf23=\E[33~, kf24=\E[34~, kf25=\E[35~,          kf28=\E[3~, kf29=\E[4~, kf30=\E[5~, kf31=\E[6~, kf32=\E[7~,
         kf26=\E[1~, kf27=\E[2~, kf28=\E[3~, kf29=\E[4~, kf3=\EOR,          kf33=\E[8~, kf34=\E[9~, kf35=\E[10~, kf5=\E[M, kf6=\E[17~,
         kf30=\E[5~, kf31=\E[6~, kf32=\E[7~, kf33=\E[8~, kf34=\E[9~,          kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~,
         kf35=\E[10~, kf4=\EOS, kf5=\E[M, kf6=\E[17~, kf7=\E[18~,          khlp=\E[28~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
         kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~,          krdo=\E[29~, kslt=\E[4~, mc0=\E[i, mc4=\E[4i, mc5=\E[5i,
         kich1=\E[2~, knp=\E[6~, kpp=\E[5~, krdo=\E[29~, kslt=\E[4~,          nel=\EE, rc=\E8, rev=\E[7m, ri=\EM$<5>, rmacs=\017$<20>,
         mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=\EE, rc=\E8, rev=\E[7m,          rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m,
         ri=\EM$<5>, rmacs=\017$<20>, rmam=\E[?7l, rmir=\E[4l,          rmul=\E[24m,
         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>,          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,          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>,          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,          sgr0=\E[0m\017$<20>, smacs=\016$<20>, smam=\E[?7h,
         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, tsl=\E[2$~\E[1$}, vpa=\E[%p1%dd$<40>,          tbc=\E[3g, tsl=\E[2$~\E[1$}, vpa=\E[%p1%dd$<40>,
           use=vt220+keypad,
 ncr260vt300wan|NCR 2900_260 vt300 wide mode ansi kybd,  ncr260vt300wan|NCR 2900_260 vt300 wide mode ansi kybd,
         cols#132,          cols#132,
         cup=\E[%i%p1%d;%p2%dH$<30>,          cup=\E[%i%p1%d;%p2%dH$<30>,
Line 13093 
Line 15235 
 #  #
 ncr260wy350pp|NCR 2900_260 wyse 350,  ncr260wy350pp|NCR 2900_260 wyse 350,
         am, bw, hs, km, mc5i, mir, msgr, xon,          am, bw, hs, km, mc5i, mir, msgr, xon,
         colors#16, cols#80, lines#24, ncv#33, nlab#32, xmc#1,          colors#16, cols#80, lines#24, ncv#33, nlab#32, pairs#16, xmc#1,
         acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2,          acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2,
         cbt=\EI, civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M,          cbt=\EI, civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M,
         cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>,          cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>,
Line 13372 
Line 15514 
         sgr0=^O, smso=\E0Q\016, smul=\E0`\016,          sgr0=^O, smso=\E0Q\016, smul=\E0`\016,
         vpa=\013%p1%{64}%+%c,          vpa=\013%p1%{64}%+%c,
   
   # Newbury Data Recording Limited (Newbury Data)
   #
   # Have been manufacturing and reselling  various peripherals for a long time
   # They don't make terminals anymore, but are still in business (in 2007).
   # Their e-mail address is at ndsales@newburydata.co.uk
   # and their post address is:
   #
   # Newbury Data Recording Ltd,
   # Premier Park, Road One,
   # Winsford, Cheshire, CW7 3PT
   #
   # Their technical support is still good, they sent me for free a printed copy
   # of the 9500 user manual and I got it just 1 week after I first contacted them
   # (in 2005)!
   
   # NDR 9500
   # Manufactured in the early/mid eighties, behaves almost the same as a
   # Televideo 950.  Take a 950, change its cabinet for a more 80s-ish one (but
   # keep the same keyboard layout), add an optional 25-line mode, replace the DIP
   # switches with a menu and remove the "lock line" feature (ESC !  1 and ESC !
   # 2), here is the NDR 9500.  Even the line-lock, albeit disabled, is
   # recognized:  if you type in "ESC !", the next (third) character is not
   # echoed, showing that the terminal was actually waiting for a parameter!
   ndr9500|nd9500|Newbury Data 9500,
           am, bw, hs, mc5i, mir, msgr, ul, xon,
           cols#80, lines#24, wsl#79,
           acsc=qKnImAjDwNuLtMvOlBkCxJ, bel=^G, cbt=\EI, civis=\E.0,
           clear=\E;, cnorm=\E.1, cr=^M, cub1=^H, cud1=^V, cuf1=^L,
           cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
           dim=\E), dl1=\ER, dsl=\Eh, ed=\EY, el=\ET,
           flash=\Eb$<50/>\Ed, fsl=^M, home=^^, ht=^I, hts=\E1,
           ich1=\EQ, il1=\EE, ind=^J, is2=\Ew\E'\EDF\El\Er\EO,
           kDC=\Er, kDL=\EO, kEOL=\Et, kIC=\Eq, kcbt=\EI, kclr=^Z,
           kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER,
           ked=\EY, kel=\ET, kent=^M, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r,
           kf12=^A`\r, kf13=^Aa\r, kf14=^Ab\r, kf15=^Ac\r, kf16=^Ad\r,
           kf17=^Ae\r, kf18=^Af\r, kf19=^Ag\r, kf2=^AA\r, kf20=^Ah\r,
           kf21=^Ai\r, kf22=^Aj\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
           kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
           kich1=\EQ, kil1=\EE, kprt=\EP, mc4=\Ea, mc5=\E`, nel=^_,
           pfloc=\E|%{48}%p1%+%c2%p2\031,
           pfx=\E|%{48}%p1%+%c1%p2\031, prot=\E), ri=\Ej,
           rmacs=\E%%, rmir=\Er, rmso=\E(, rmxon=^N,
           sgr=\E%%\E(%?%p1%p5%p8%|%|%t\E)%;%?%p9%t\E$%;,
           sgr0=\EG0\E%%\E(, smacs=\E$, smir=\Eq, smso=\E), smxon=^O,
           tbc=\E3, tsl=\Eg\Ef\011%p1%{32}%+%c, .kbs=^H,
   
   ndr9500-nl|NDR 9500 with no status line,
           hs@,
           wsl@,
           dsl@, fsl@, tsl@, use=ndr9500,
   
   ndr9500-25|NDR 9500 with 25th line enabled,
           lines#25, use=ndr9500,
   
   ndr9500-25-nl|NDR 9500 with 25 lines and no status line,
           lines#25, use=ndr9500-nl,
   
   ndr9500-mc|NDR 9500 with magic cookies (enables underline inverse video invisible and blink),
           msgr@,
           xmc#1,
           blink=\EG2, invis=\EG1, rev=\EG4, rmso=\EG0, rmul=\EG0,
           sgr=\E%%\E(%?%p5%p8%|%t\E)%;%?%p9%t\E$%;\EG%{48}%?%p7%t%{1}%+%;%?%p4%t%{2}%+%;%?%p3%p1%|%t%{4}%+%;%?%p2%t%{8}%+%;%c,
           sgr0=\EG0\E%%\E(, smso=\EG4, smul=\EG8, use=ndr9500,
   
   ndr9500-25-mc|NDR 500 with 25 lines and magic cookies,
           lines#25, use=ndr9500-mc,
   
   ndr9500-mc-nl|NDR 9500 with magic cookies and no status line,
           hs@,
           wsl@,
           dsl@, fsl@, tsl@, use=ndr9500-mc,
   
   ndr9500-25-mc-nl|NDR 9500 with 25 lines and magic cookies and no status line,
           lines#25, use=ndr9500-mc-nl,
   
 #### Perkin-Elmer (Owl)  #### Perkin-Elmer (Owl)
 #  #
 # These are official terminfo entries from within Perkin-Elmer.  # These are official terminfo entries from within Perkin-Elmer.
Line 13692 
Line 15910 
         cuf=\E[%p1%dC, cuf1=\E[C$<2>,          cuf=\E[%p1%dC, cuf1=\E[C$<2>,
         cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,          cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
         cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>,          cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>,
         enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ind=^J, ka1=\EOq,          enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ind=^J, kbs=^H,
         ka3=\EOs, kb2=\EOr, kbs=^H, kc1=\EOp, kc3=\EOn, kcub1=\EOD,          kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, rc=\E8,
         kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kent=\EOM, kf0=\EOy,  
         kf1=\EOP, kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt,  
         kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, rc=\E8,  
         rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l,          rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l,
         rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>,          rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>,
         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,          rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 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%;,          sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<2>,
         sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=,          sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=,
         smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,          smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
           use=vt100+fnkeys,
   
 # Tektronix 4105 from BRL  # Tektronix 4105 from BRL
 # The following setup modes are assumed for normal operation:  # The following setup modes are assumed for normal operation:
Line 13802 
Line 16018 
         kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,          kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
         rev=\E%!1\E[7m$<2>\E%0, ri=\EI,          rev=\E%!1\E[7m$<2>\E%0, ri=\EI,
         rmso=\E%!1\E[m$<2>\E%!0, rmul=\E%!1\E[m$<2>\E%!0,          rmso=\E%!1\E[m$<2>\E%!0, rmul=\E%!1\E[m$<2>\E%!0,
         sgr=\E%%!1\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m\E%%!0,          sgr=\E%%!1\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m$<2>\E%%!0,
         sgr0=\E%!1\E[m$<2>\E%!0, smso=\E%!1\E[7;5m$<2>\E%!0,          sgr0=\E%!1\E[m$<2>\E%!0, smso=\E%!1\E[7;5m$<2>\E%!0,
         smul=\E%!1\E[4m$<2>\E%!0,          smul=\E%!1\E[4m$<2>\E%!0,
 # Tektronix 4207 with sysline.  In the ancestral termcap file this was 4107-s;  # Tektronix 4207 with sysline.  In the ancestral termcap file this was 4107-s;
Line 13903 
Line 16119 
         rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, rmam=\E[?7l,          rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, rmam=\E[?7l,
         rmso=\E[m, rmul=\E[m,          rmso=\E[m, rmul=\E[m,
         sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m,          sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m,
         sgr0=\E[m, smam=\E[?7h, smso=\E[7m, smul=\E[4m, tbc=\E[2g,          sgr0=\E[m, smam=\E[?7h, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
         vpa=\E[%p1%{1}%+%dd,          vpa=\E[%p1%{1}%+%dd,
 # The tek4125 emulates a vt100 incorrectly - the scrolling region  # The tek4125 emulates a vt100 incorrectly - the scrolling region
 # command is ignored.  The following entry replaces <csr> with the needed  # command is ignored.  The following entry replaces <csr> with the needed
Line 14390 
Line 16606 
 mac-w|macterminal-w|Apple Macintosh with Macterminal in 132 column mode,  mac-w|macterminal-w|Apple Macintosh with Macterminal in 132 column mode,
         cols#132, use=mac,          cols#132, use=mac,
   
   # The AppKit Terminal.app descriptions all have names beginning with
   # "nsterm". Note that the statusline (-s) versions use the window
   # titlebar as a phony status line, and may produce warnings during
   # compilation as a result ("tsl uses 0 parameters, expected 1".) Ignore
   # these warnings, or even ignore these entries entirely. Apps which
   # need to position the cursor or do other fancy stuff inside the status
   # line won't work with these entries. They're primarily useful for
   # programs like Pine which provide simple notifications in the status
   # line. Please note that non-ASCII characters don't work right in the
   # status line, since Terminal.app incorrectly interprets their Unicode
   # codepoints as MacRoman codepoints.
   #
   # * Renamed the AppKit Terminal.app entry from "Apple_Terminal" to
   #   "nsterm" to comply with the name length and case conventions and
   #   limitations of various software packages [notably Solaris terminfo
   #   and UNIX.] A single Apple_Terminal alias is retained for
   #   backwards-compatbility.
   #
   # * Added function key support (F1-F4). These only work in Terminal.app
   #   version 51, hopefully the capabilities won't cause problems for people
   #   using version 41.
   #
   # * Added "full color" (-c) entries which support the 16-color mode in
   #   version 51.
   #
   # * By default, version 51 uses UTF-8 encoding with broken altcharset
   #   support, so "ASCII" (-7) entries without altcharset support were
   #   added.
   
   # nsterm - AppKit Terminal.app
   #
   # Apple's Mac OS X includes a Terminal.app derived from the old NeXT
   # Terminal.app. It is a partial VT100 emulation with some xterm-like
   # extensions. This terminfo was written to describe versions 41
   # (shipped with Mac OS X version 10.0) and 51 (shipped with Mac OS X
   # version 10.1) of Terminal.app.
   #
   # Terminal.app runs under the Mac OS X Quartz windowing system (and
   # other AppKit-supported windowing systems.)  On the Mac OS X machine I
   # use, the executable for Terminal.app is:
   # /Applications/Utilities/Terminal.app/Contents/MacOS/Terminal
   #
   # If you're looking for a description of the full-screen system
   # console which runs under Apple's Darwin operating system on PowerPC
   # platforms, see the "xnuppc" entry instead.
   #
   # There were no function keys in version 41. In version 51, there are
   # four working function keys (F1, F2, F3 and F4.) The function keys
   # are included in all of these entries.
   #
   # It does not support mouse pointer position reporting. Under some
   # circumstances the cursor can be positioned using option-click; this
   # works by comparing the cursor position and the selected position,
   # and simulating enough cursor-key presses to move the cursor to the
   # selected position. This technique fails in all but the simplest
   # applications.
   #
   # It provides partial ANSI color support (background colors interacted
   # badly with bold in version 41, though, as reflected in :ncv:.) The
   # monochrome (-m) entries are useful if you've disabled color support
   # or use a monochrome monitor. The full color (-c) entries are useful
   # in version 51, which doesn't exhibit the background color bug. They
   # also enable an xterm-compatible 16-color mode.
   #
   # The configurable titlebar is set using xterm-compatible sequences;
   # it is used as a status bar in the statusline (-s) entries. Its width
   # depends on font sizes and window sizes, but 50 characters seems to
   # be the default for an 80x24 window.
   #
   # The MacRoman character encoding is used for some of the alternate
   # characters in the "MacRoman" entries; the "ASCII" (-7) entries
   # disable alternate character set support entirely, and the "VT100"
   # (-acs) entries rely instead on Terminal.app's own buggy VT100
   # graphics emulation, which seems to think the character encoding is
   # the old NeXT charset instead of MacRoman. The "ASCII" (-7) entries
   # are useful in Terminal.app version 51, which supports UTF-8 and
   # other ASCII-compatible character encodings but does not correctly
   # implement VT100 graphics; once VT100 graphics are correctly
   # implemented in Terminal.app, the "VT100" (-acs) entries should be
   # usable in any ASCII-compatible character encoding [except perhaps
   # in UTF-8, where some experts argue for disallowing alternate
   # characters entirely.]
   #
   # Terminal.app reports "vt100" as the terminal type, but exports
   # several environment variables which may aid detection in a shell
   # profile (i.e. .profile or .login):
   #
   # TERM=vt100
   # TERM_PROGRAM=Apple_Terminal
   # TERM_PROGRAM_VERSION=41      # in Terminal.app version 41
   # TERM_PROGRAM_VERSION=51      # in Terminal.app version 51
   #
   # For example, the following Bourne shell script would detect the
   # correct terminal type:
   #
   # if [ :"$TERM" = :"vt100" -a :"$TERM_PROGRAM" = :"Apple_Terminal" ]
   # then
   #     export TERM
   #     if [ :"$TERM_PROGRAM_VERSION" = :41 ]
   #     then
   #         TERM="nsterm"
   #     else
   #         TERM="nsterm-c-7"
   #     fi
   # fi
   #
   # In a C shell derivative, this would be accomplished by:
   #
   # if ( $?TERM && $?TERM_PROGRAM && $?TERM_PROGRAM_VERSION) then
   #     if ( :"$TERM" == :"vt100" && :"$TERM_PROGRAM" == :"Apple_Terminal" ) then
   #          if ( :"$TERM_PROGRAM_VERSION" == :41 ) then
   #              setenv TERM "nsterm"
   #          else
   #              setenv TERM "nsterm-c-7"
   #          endif
   #     endif
   # endif
   
   # The '+' entries are building blocks
   nsterm+7|AppKit Terminal.app v41+ basic capabilities w/ASCII charset,
           am, bw, msgr, xenl, xon,
           cols#80, it#8, lines#24,
           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,
           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,
           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=^J,
           kbs=\177, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
           kent=\EOM, rc=\E8, rev=\E[7m, ri=\EM, rmam=\E[?7l,
           rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
           rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
           sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m,
           sgr0=\E[m\017, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m,
           smul=\E[4m, tbc=\E[3g, use=vt100+enq, use=vt100+pfkeys,
   
   nsterm+acs|AppKit Terminal.app v41+ basic capabilities w/VT100 alternate-charset,
           acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
           enacs=\E(B\E)0, rmacs=^O,
           sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
           smacs=^N, use=nsterm+7,
   
   nsterm+mac|AppKit Terminal.app v41+ basic capabilities w/MacRoman alternate-charset,
           acsc=0#`\327a\:f\241g\261h#i\360jjkkllmmnno\370p\370q\321rrssttuuvvwwxxy\262z\263{\271|\255}\243~\245+\335-\366\,\334.\377,
           enacs=\E(B\E)0, rmacs=^O,
           sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
           smacs=^N, use=nsterm+7,
   
   nsterm+s|AppKit Terminal.app v41+ status-line (window titlebar) support,
           hs,
           wsl#50,
           dsl=\E]2;\007, fsl=^G, tsl=\E]2;,
   
   nsterm+c|AppKit Terminal.app v51+ full color support (including 16 colors),
           op=\E[0m, use=ibm+16color,
   
   nsterm+c41|AppKit Terminal.app v41 color support,
           colors#8, ncv#37, pairs#64,
           op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
   
   # These are different combinations of the building blocks
   
   # ASCII charset (-7)
   nsterm-m-7|nsterm-7-m|AppKit Terminal.app v41+ w/ASCII charset (monochrome),
           use=nsterm+7,
   
   nsterm-m-s-7|nsterm-7-m-s|AppKit Terminal.app v41+ w/ASCII charset (monochrome w/statusline),
           use=nsterm+s, use=nsterm+7,
   
   nsterm-7|AppKit Terminal.app v41+ w/ASCII charset (color),
           use=nsterm+c41, use=nsterm+7,
   
   nsterm-7-c|nsterm-c-7|AppKit Terminal.app v51+ w/ASCII charset (full color),
           use=nsterm+c, use=nsterm+7,
   
   nsterm-s-7|nsterm-7-s|AppKit Terminal.app v41+ w/ASCII charset (color w/statusline),
           use=nsterm+s, use=nsterm+c41, use=nsterm+7,
   
   nsterm-c-s-7|nsterm-7-c-s|AppKit Terminal.app v51+ w/ASCII charset (full color w/statusline),
           use=nsterm+s, use=nsterm+c, use=nsterm+7,
   
   # VT100 alternate-charset (-acs)
   nsterm-m-acs|nsterm-acs-m|AppKit Terminal.app v41+ w/VT100 alternate-charset (monochrome),
           use=nsterm+acs,
   
   nsterm-m-s-acs|nsterm-acs-m-s|AppKit Terminal.app v41+ w/VT100 alternate-charset (monochrome w/statusline),
           use=nsterm+s, use=nsterm+acs,
   
   nsterm-acs|AppKit Terminal.app v41+ w/VT100 alternate-charset (color),
           use=nsterm+c41, use=nsterm+acs,
   
   nsterm-c-acs|nsterm-acs-c|AppKit Terminal.app v51+ w/VT100 alternate-charset (full color),
           use=nsterm+c, use=nsterm+acs,
   
   nsterm-s-acs|nsterm-acs-s|AppKit Terminal.app v41+ w/VT100 alternate-charset (color w/statusline),
           use=nsterm+s, use=nsterm+c41, use=nsterm+acs,
   
   nsterm-c-s-acs|nsterm-acs-c-s|AppKit Terminal.app v51+ w/VT100 alternate-charset (full color w/statusline),
           use=nsterm+s, use=nsterm+c, use=nsterm+acs,
   
   # MacRoman charset
   nsterm-m|AppKit Terminal.app v41+ w/MacRoman charset (monochrome),
           use=nsterm+mac,
   
   nsterm-m-s|AppKit Terminal.app v41+ w/MacRoman charset (monochrome w/statusline),
           use=nsterm+s, use=nsterm+mac,
   
   nsterm|Apple_Terminal|AppKit Terminal.app v41+ w/MacRoman charset (color),
           use=nsterm+c41, use=nsterm+mac,
   
   nsterm-c|AppKit Terminal.app v51+ w/MacRoman charset (full color),
           use=nsterm+c, use=nsterm+mac,
   
   nsterm-s|AppKit Terminal.app v41+ w/MacRoman charset (color w/statusline),
           use=nsterm+s, use=nsterm+c41, use=nsterm+mac,
   
   nsterm-c-s|AppKit Terminal.app v51+ w/MacRoman charset (full color w/statusline),
           use=nsterm+s, use=nsterm+c, use=nsterm+mac,
   
   
   # This entry is based on newsgroup comments by Alain Bench, Christian Ebert,
   # and D P Schreber comparing to nsterm-c-s-acs.
   #
   # D P Schreber notes that $TERM can be set in Terminal.app, e.g.,
   #       defaults write com.apple.Terminal TermCapString nsterm-c-s-acs
   # and that it is not set in Terminal's preferences dialog.
   nsterm-16color|AppKit Terminal.app v100.1.8 with MacOS X 10.3.9,
           kdch1=\E[3~, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
           kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
           knp=\E[6~, kpp=\E[5~, use=nsterm-c-s-acs,
   
   # xnuppc - Darwin PowerPC Console (a.k.a. "darwin")
   #
   # On PowerPC platforms, Apple's Darwin operating system uses a
   # full-screen system console derived from a NetBSD framebuffer
   # console. It is an ANSI-style terminal, and is not really VT-100
   # compatible.
   #
   # Under Mac OS X, this is the system console driver used while in
   # single-user mode [reachable by holding down Command-S during the
   # boot process] and when logged in using console mode [reachable by
   # typing ">console" at the graphical login prompt.]
   #
   # If you're looking for a description of the Terminal.app terminal
   # emulator which runs under the Mac OS X Quartz windowing system (and
   # other AppKit-supported windowing systems,) see the "nsterm"
   # entry instead.
   #
   # NOTE: Under Mac OS X version 10.1, the default login window does not
   # prompt for user name, instead requiring an icon to be selected from
   # a list of known users. Since the special ">console" login is not in
   # this list, you must make one of two changes in the Login Window
   # panel of the Login section of System Prefs to make the special
   # ">console" login accessible. The first option is to enable 'Show
   # "Other User" in list for network users', which will add a special
   # "Other..." icon to the graphical login panel. Selecting "Other..."
   # will present the regular graphical login prompt. The second option
   # is to change the 'Display Login Window as:' setting to 'Name and
   # password entry fields', which replaces the login panel with a
   # graphical login prompt.
   #
   # There are no function keys, at least not in Darwin 1.3.
   #
   # It has no mouse support.
   #
   # It has full ANSI color support, and color combines correctly with
   # all three supported attributes: bold, inverse-video and underline.
   # However, bold colored text is almost unreadable (bolding is
   # accomplished using shifting and or-ing, and looks smeared) so bold
   # has been excluded from the list of color-compatible attributes
   # [using (ncv)]. The monochrome entry (-m) is useful if you use a
   # monochrome monitor.
   #
   # There is one serious bug with this terminal emulation's color
   # support: repositioning the cursor onto a cell with non-matching
   # colors obliterates that cell's contents, replacing it with a blank
   # and displaying a colored cursor in the "current" colors. There is
   # no complete workaround at present [other than using the monochrome
   # (-m) entries,] but removing the (msgr) capability seemed to help.
   #
   # The "standout" chosen was simple reverse-video, although a colorful
   # standout might be more aesthetically pleasing. Similarly, the bold
   # chosen is the terminal's own smeared bold, although a simple
   # color-change might be more readable. The color-bold (-b) entries
   # uses magenta colored text for bolding instead. The fancy color (-f
   # and -f2) entries use color for bold, standout and underlined text
   # (underlined text is still underlined, though.)
   #
   # Apparently the terminal emulator does support a VT-100-style
   # alternate character set, but all the alternate character set
   # positions have been left blank in the font. For this reason, no
   # alternate character set capabilities have been included in this
   # description. The console driver appears to be ASCII-only, so (enacs)
   # has been excluded [although the VT-100 sequence does work.]
   #
   # The default Mac OS X and Darwin installation reports "vt100" as the
   # terminal type, and exports no helpful environment variables. To fix
   # this, change the "console" entry in /etc/ttys from "vt100" to
   # "xnuppc-WxH", where W and H are the character dimensions of your
   # console (see below.)
   #
   # The font used by the terminal emulator is apparently one originally
   # drawn by Ka-Ping Yee, and uses 8x16-pixel characters. This
   # file includes descriptions for the following geometries:
   #
   #     Pixels        Characters   Entry Name (append -m for monochrome)
   #    -------------------------------------------------------------------
   #     640x400       80x25        xnuppc-80x25
   #     640x480       80x30        xnuppc-80x30
   #     720x480       90x30        xnuppc-90x30
   #     800x600       100x37       xnuppc-100x37
   #     896x600       112x37       xnuppc-112x37
   #     1024x640      128x40       xnuppc-128x40
   #     1024x768      128x48       xnuppc-128x48
   #     1152x768      144x48       xnuppc-144x48
   #     1280x1024     160x64       xnuppc-160x64
   #     1600x1024     200x64       xnuppc-200x64
   #     1600x1200     200x75       xnuppc-200x75
   #     2048x1536     256x96       xnuppc-256x96
   #
   # The basic "xnuppc" entry includes no size information, and the
   # emulator includes no reporting capability, so you'll be at the mercy
   # of the TTY device (which reports incorrectly on my hardware.) The
   # color-bold entries do not include size information.
   
   # The '+' entries are building blocks
   xnuppc+basic|Darwin PowerPC Console basic capabilities,
           am, bce, mir, xenl,
           it#8,
           bold=\E[1m, clear=\E[H\E[J, 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, dsl=\E]2;\007, ed=\E[J, el=\E[K,
           el1=\E[1K, home=\E[H, ht=^I, hts=\EH, ind=^J, kbs=\177,
           kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, rc=\E8,
           rev=\E[7m, ri=\EM, rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m,
           rmul=\E[m, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
           sc=\E7,
           sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m,
           sgr0=\E[m\017, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m,
           smul=\E[4m, tbc=\E[3g, use=vt100+keypad,
   
   xnuppc+c|Darwin PowerPC Console ANSI color support,
           colors#8, ncv#32, pairs#64,
           op=\E[37;40m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
   
   xnuppc+b|Darwin PowerPC Console color-bold support,
           ncv#32,
           bold=\E[35m,
           sgr=\E[0%?%p6%t;35%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m,
           use=xnuppc+basic,
   
   xnuppc+f|Darwin PowerPC Console fancy color support,
           ncv#35,
           sgr=\E[0%?%p6%t;35%;%?%p2%t;36;4%;%?%p1%t;33;44%;%?%p3%t;7%;m,
           smso=\E[33;44m, smul=\E[36;4m, use=xnuppc+b,
   
   xnuppc+f2|Darwin PowerPC Console alternate fancy color support,
           ncv#35,
           bold=\E[33m,
           sgr=\E[0%?%p6%t;33%;%?%p2%t;34%;%?%p1%t;31;47%;%?%p3%t;7%;m,
           smso=\E[31;47m, smul=\E[34m, use=xnuppc+basic,
   
   # Building blocks for specific screen sizes
   xnuppc+80x25|Darwin PowerPC Console 80x25 support (640x400 pixels),
           cols#80, lines#25,
   
   xnuppc+80x30|Darwin PowerPC Console 80x30 support (640x480 pixels),
           cols#80, lines#30,
   
   xnuppc+90x30|Darwin PowerPC Console 90x30 support (720x480 pixels),
           cols#90, lines#30,
   
   xnuppc+100x37|Darwin PowerPC Console 100x37 support (800x600 pixels),
           cols#100, lines#37,
   
   xnuppc+112x37|Darwin PowerPC Console 112x37 support (896x600 pixels),
           cols#112, lines#37,
   
   xnuppc+128x40|Darwin PowerPC Console 128x40 support (1024x640 pixels),
           cols#128, lines#40,
   
   xnuppc+128x48|Darwin PowerPC Console 128x48 support (1024x768 pixels),
           cols#128, lines#48,
   
   xnuppc+144x48|Darwin PowerPC Console 144x48 support (1152x768 pixels),
           cols#144, lines#48,
   
   xnuppc+160x64|Darwin PowerPC Console 160x64 support (1280x1024 pixels),
           cols#160, lines#64,
   
   xnuppc+200x64|Darwin PowerPC Console 200x64 support (1600x1024 pixels),
           cols#200, lines#64,
   
   xnuppc+200x75|Darwin PowerPC Console 200x75 support (1600x1200 pixels),
           cols#200, lines#75,
   
   xnuppc+256x96|Darwin PowerPC Console 256x96 support (2048x1536 pixels),
           cols#256, lines#96,
   
   # These are different combinations of the building blocks
   
   xnuppc-m|darwin-m|Darwin PowerPC Console (monochrome),
           use=xnuppc+basic,
   
   xnuppc|darwin|Darwin PowerPC Console (color),
           use=xnuppc+c, use=xnuppc+basic,
   
   xnuppc-m-b|darwin-m-b|Darwin PowerPC Console (monochrome w/color-bold),
           use=xnuppc+b,
   
   xnuppc-b|darwin-b|Darwin PowerPC Console (color w/color-bold),
           use=xnuppc+b, use=xnuppc+c,
   
   xnuppc-m-f|darwin-m-f|Darwin PowerPC Console (fancy monochrome),
           use=xnuppc+f,
   
   xnuppc-f|darwin-f|Darwin PowerPC Console (fancy color),
           use=xnuppc+f, use=xnuppc+c,
   
   xnuppc-m-f2|darwin-m-f2|Darwin PowerPC Console (alternate fancy monochrome),
           use=xnuppc+f2,
   
   xnuppc-f2|darwin-f2|Darwin PowerPC Console (alternate fancy color),
           use=xnuppc+f2, use=xnuppc+c,
   
   # Combinations for specific screen sizes
   xnuppc-80x25-m|darwin-80x25-m|Darwin PowerPC Console (monochrome) 80x25,
           use=xnuppc+80x25, use=xnuppc+basic,
   
   xnuppc-80x25|darwin-80x25|Darwin PowerPC Console (color) 80x25,
           use=xnuppc+c, use=xnuppc+80x25, use=xnuppc+basic,
   
   xnuppc-80x30-m|darwin-80x30-m|Darwin PowerPC Console (monochrome) 80x30,
           use=xnuppc+80x30, use=xnuppc+basic,
   
   xnuppc-80x30|darwin-80x30|Darwin PowerPC Console (color) 80x30,
           use=xnuppc+c, use=xnuppc+80x30, use=xnuppc+basic,
   
   xnuppc-90x30-m|darwin-90x30-m|Darwin PowerPC Console (monochrome) 90x30,
           use=xnuppc+90x30, use=xnuppc+basic,
   
   xnuppc-90x30|darwin-90x30|Darwin PowerPC Console (color) 90x30,
           use=xnuppc+c, use=xnuppc+90x30, use=xnuppc+basic,
   
   xnuppc-100x37-m|darwin-100x37-m|Darwin PowerPC Console (monochrome) 100x37,
           use=xnuppc+100x37, use=xnuppc+basic,
   
   xnuppc-100x37|darwin-100x37|Darwin PowerPC Console (color) 100x37,
           use=xnuppc+c, use=xnuppc+100x37, use=xnuppc+basic,
   
   xnuppc-112x37-m|darwin-112x37-m|Darwin PowerPC Console (monochrome) 112x37,
           use=xnuppc+112x37, use=xnuppc+basic,
   
   xnuppc-112x37|darwin-112x37|Darwin PowerPC Console (color) 112x37,
           use=xnuppc+c, use=xnuppc+112x37, use=xnuppc+basic,
   
   xnuppc-128x40-m|darwin-128x40-m|Darwin PowerPC Console (monochrome) 128x40,
           use=xnuppc+128x40, use=xnuppc+basic,
   
   xnuppc-128x40|darwin-128x40|Darwin PowerPC Console (color) 128x40,
           use=xnuppc+c, use=xnuppc+128x40, use=xnuppc+basic,
   
   xnuppc-128x48-m|darwin-128x48-m|Darwin PowerPC Console (monochrome) 128x48,
           use=xnuppc+128x48, use=xnuppc+basic,
   
   xnuppc-128x48|darwin-128x48|Darwin PowerPC Console (color) 128x48,
           use=xnuppc+c, use=xnuppc+128x48, use=xnuppc+basic,
   
   xnuppc-144x48-m|darwin-144x48-m|Darwin PowerPC Console (monochrome) 144x48,
           use=xnuppc+144x48, use=xnuppc+basic,
   
   xnuppc-144x48|darwin-144x48|Darwin PowerPC Console (color) 144x48,
           use=xnuppc+c, use=xnuppc+144x48, use=xnuppc+basic,
   
   xnuppc-160x64-m|darwin-160x64-m|Darwin PowerPC Console (monochrome) 160x64,
           use=xnuppc+160x64, use=xnuppc+basic,
   
   xnuppc-160x64|darwin-160x64|Darwin PowerPC Console (color) 160x64,
           use=xnuppc+c, use=xnuppc+160x64, use=xnuppc+basic,
   
   xnuppc-200x64-m|darwin-200x64-m|Darwin PowerPC Console (monochrome) 200x64,
           use=xnuppc+200x64, use=xnuppc+basic,
   
   xnuppc-200x64|darwin-200x64|Darwin PowerPC Console (color) 200x64,
           use=xnuppc+c, use=xnuppc+200x64, use=xnuppc+basic,
   
   xnuppc-200x75-m|darwin-200x75-m|Darwin PowerPC Console (monochrome) 200x75,
           use=xnuppc+200x75, use=xnuppc+basic,
   
   xnuppc-200x75|darwin-200x75|Darwin PowerPC Console (color) 200x75,
           use=xnuppc+c, use=xnuppc+200x75, use=xnuppc+basic,
   
   xnuppc-256x96-m|darwin-256x96-m|Darwin PowerPC Console (monochrome) 256x96,
           use=xnuppc+256x96, use=xnuppc+basic,
   
   xnuppc-256x96|darwin-256x96|Darwin PowerPC Console (color) 256x96,
           use=xnuppc+c, use=xnuppc+256x96, use=xnuppc+basic,
   
 #### Radio Shack/Tandy  #### Radio Shack/Tandy
 #  #
   
Line 14535 
Line 17250 
         smso=\2337m, smul=\2334m,          smso=\2337m, smul=\2334m,
   
 # From: Henning 'Faroul' Peters <Faroul@beyond.kn-bremen.de>, 25 Sep 1999  # From: Henning 'Faroul' Peters <Faroul@beyond.kn-bremen.de>, 25 Sep 1999
   #
   # Pavel Fedin added
   #       Home    Shift+Left
   #       End     Shift+Right
   #       PgUp    Shift+Up
   #       PgDn    Shift+Down
 amiga-8bit|Amiga ANSI using 8-bit controls,  amiga-8bit|Amiga ANSI using 8-bit controls,
         acsc=, dl=\233%p1%dM, dl1=\233M, il=\233%p1%dL, il1=\233L,          acsc=, dl=\233%p1%dM, dl1=\233M, il=\233%p1%dL, il1=\233L,
         ind=\204, indn@, ri=\215, rin@, use=amiga-h,          ind=\204, indn@, kend=\233 @, khome=\233 A, knp=\233S,
           kpp=\233T, ri=\215, rin@, use=amiga-h,
   
 # From: Ruediger Kuhlmann <terminfo@ruediger-kuhlmann.de>, 18 Jul 2000  # From: Ruediger Kuhlmann <terminfo@ruediger-kuhlmann.de>, 18 Jul 2000
 # requires use of appropriate preferences settings.  # requires use of appropriate preferences settings.
Line 14567 
Line 17289 
         sgr0=\E[0m\017\E[30;85;>15m, smcup=\E[?7h, smkx=\E[?1h,          sgr0=\E[0m\017\E[30;85;>15m, smcup=\E[?7h, smkx=\E[?1h,
         smso=\E[1m, smul=\E[4m,          smso=\E[1m, smul=\E[4m,
   
   # MorphOS on Genesi Pegasos
   # By Pavel Fedin <sonic_amiga@rambler.ru>
   morphos,
           acsc=, dl=\233%p1%dM, dl1=\233M, il=\233%p1%dL, il1=\233L,
           ind=\204, indn@, kend=\23345~, kf11=\23320~, kf12=\23321~,
           khome=\23344~, kich1=\23340~, knp=\23342~, kpp=\23341~,
           ri=\215, rin@, use=amiga-h,
   
 # Commodore B-128 microcomputer from Doug Tyrol <det@HEL-ACE.ARPA>  # Commodore B-128 microcomputer from Doug Tyrol <det@HEL-ACE.ARPA>
 #       I'm trying to write a termcap for a commodore b-128, and I'm  #       I'm trying to write a termcap for a commodore b-128, and I'm
 # having a little trouble. I've had to map most of my control characters  # having a little trouble. I've had to map most of my control characters
Line 14742 
Line 17472 
         cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=^X,          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,          cup=\E[%i%p1%d;%p2%dH, cuu1=^Z, cvvis=\E[?7l, dch1=\E[1P,
         dl1=\E[M, ed=^_, el=^^, home=^], ht=^I,          dl1=\E[M, ed=^_, el=^^, home=^], ht=^I,
         if=/usr/lib/tabset/vt100, il1=\E[L, ind=\ED,          if=/usr/share/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,          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,          kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU,          kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU,
Line 15081 
Line 17811 
         rmul=\E[m, rs2=\E[?=h\Ec, s0ds=^O, s1ds=^N,          rmul=\E[m, rs2=\E[?=h\Ec, s0ds=^O, s1ds=^N,
         sgr=\E[0%?%p1%p3%|%t;7%;%?%p2%t;4%;%?%p4%t;5%;%?%p5%t;2%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,          sgr=\E[0%?%p1%p3%|%t;7%;%?%p2%t;4%;%?%p4%t;5%;%?%p5%t;2%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
         sgr0=\E[m\017, smacs=^N, smcup=\E[?>h\EPY99\:98\E\\,          sgr0=\E[m\017, smacs=^N, smcup=\E[?>h\EPY99\:98\E\\,
         smir=\E[4h, smso=\E[0;7m, smul=\E[0;4m, tbc=\E[2g,          smir=\E[4h, smso=\E[0;7m, smul=\E[0;4m, tbc=\E[3g,
         tsl=\EPY99\:98\E\\\E[0;98v\E[2;7m,          tsl=\EPY99\:98\E\\\E[0;98v\E[2;7m,
 tws2102-sna|dku7102-sna|BULL Questar tws2102 for SNA,  tws2102-sna|dku7102-sna|BULL Questar tws2102 for SNA,
         dsl=\E[0;98v\E[2J\E[v, fsl=\E[v, is3=\Eb, tsl=\E[0;98v,          dsl=\E[0;98v\E[2J\E[v, fsl=\E[v, is3=\Eb, tsl=\E[0;98v,
Line 15184 
Line 17914 
         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,
         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,          dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
         dl1=\E[M, dsl=\E[1$}\E[2$~\n\E[0$}, ech=\E[%p1%dX,          dsl=\E[1$}\E[2$~\n\E[0$}, ech=\E[%p1%dX, ed=\E[J,
         ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0,          el=\E[K, el1=\E[1K, enacs=\E(B\E)0,
         flash=\E[?5h$<50>\E[?5l, fsl=\E[0$}, home=\E[H, ht=^I,          flash=\E[?5h$<50>\E[?5l, fsl=\E[0$}, home=\E[H, ht=^I,
         hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED,          hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
         is1=\E[63;1"p\E[2h,          is1=\E[63;1"p\E[2h,
Line 15201 
Line 17931 
         khlp=\E[28~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,          khlp=\E[28~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
         krdo=\E[29~, kslt=\E[4~, lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4,          krdo=\E[29~, kslt=\E[4~, lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4,
         mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=\EE, rc=\E8, rev=\E[7m,          mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=\EE, rc=\E8, rev=\E[7m,
         ri=\EM, rmacs=^O, rmam=\E[?7l, rmcup=\E[?7h, rmir=\E[4l,          ri=\EM, rmacs=\E(B, rmam=\E[?7l, rmcup=\E[?7h, rmir=\E[4l,
         rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, rs1=\E[!p,          rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, rs1=\E[!p,
         rs2=\E[?3l, s0ds=\E(B, s1ds=\E(0, sc=\E7,          rs2=\E[?3l, s0ds=\E(B, s1ds=\E(0, sc=\E7,
         sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m%?%p9%t\E(0%e\E(B%;,          sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m%?%p9%t\E(0%e\E(B%;,
         sgr0=\E[0m\E(B, smacs=^N, smam=\E[?7h,          sgr0=\E[0m\E(B, smacs=\E(0, smam=\E[?7h,
         smcup=\E[?7l\E[?1l\E(B, smir=\E[4h, smso=\E[7m,          smcup=\E[?7l\E[?1l\E(B, smir=\E[4h, smso=\E[7m,
         smul=\E[4m, tbc=\E[3g, tsl=\E[1$}\E[2$~,          smul=\E[4m, tbc=\E[3g, tsl=\E[1$}\E[2$~,
 bq300-rv|Bull vt320 reverse 80 columns,  bq300-rv|Bull vt320 reverse 80 columns,
Line 15284 
Line 18014 
         clear=\233H\233J, cnorm=\233?25h, cr=^M,          clear=\233H\233J, cnorm=\233?25h, cr=^M,
         csr=\233%i%p1%d;%p2%dr, cub=\233%p1%dD, cud=\233%p1%dB,          csr=\233%i%p1%d;%p2%dr, cub=\233%p1%dD, cud=\233%p1%dB,
         cuf=\233%p1%dC, cup=\233%i%p1%d;%p2%dH, cuu=\233%p1%dA,          cuf=\233%p1%dC, cup=\233%i%p1%d;%p2%dH, cuu=\233%p1%dA,
         cvvis=\233?25h, dch=\233%p1%dP, dch1=\233P,          dch=\233%p1%dP, dch1=\233P, dl=\233%p1%dM,
         dl=\233%p1%dM, dsl=\2331$}\2332$~\n\2330$},          dsl=\2331$}\2332$~\n\2330$}, ech=\233%p1%dX, ed=\233J,
         ech=\233%p1%dX, ed=\233J, el=\233K, el1=\2331K,          el=\233K, el1=\2331K, enacs=\E(B\E)0,
         enacs=\E(B\E)0, flash=\233?5h$<50>\233?5l, fsl=\2330$},          flash=\233?5h$<50>\233?5l, fsl=\2330$}, home=\233H,
         home=\233H, ht=^I, hts=\EH, ich=\233%p1%d@, il=\233%p1%dL,          ht=^I, hts=\EH, ich=\233%p1%d@, il=\233%p1%dL, ind=\ED,
         ind=\ED, is1=\E[63;2"p\E[2h,          is1=\E[63;2"p\E[2h,
         is2=\E[?2h\E[?3l\E[?5l\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l,          is2=\E[?2h\E[?3l\E[?5l\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l,
         is3=\2330$}\233?25h\2332l\233H\233J, ka1=\217w,          is3=\2330$}\233?25h\2332l\233H\233J, ka1=\217w,
         ka3=\217y, kb2=\217u, kbs=^H, kc1=\217q, kc3=\217s,          ka3=\217y, kb2=\217u, kbs=^H, kc1=\217q, kc3=\217s,
Line 15824 
Line 18554 
 h19|heath|h19-b|heathkit|heath-19|z19|zenith|heathkit h19,  h19|heath|h19-b|heathkit|heath-19|z19|zenith|heathkit h19,
         OTbs, am, eslok, hs, mir, msgr,          OTbs, 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=~\^x`qanbkcjdmelfgg+hai.kwsutvutvozs{, bel=^G,
         cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,          clear=\EE, cnorm=\Ey4, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
         cvvis=\Ex4, dch1=\EN, ed=\EJ, el=\EK, fsl=\Ek\Ey5, home=\EH,          cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, cvvis=\Ex4,
         ht=^I, ind=^J, ip=<1.5/>, kbs=^H, kcub1=\ED, kcud1=\EB,          dch1=\EN, ed=\EJ, el=\EK, fsl=\Ek\Ey5, home=\EH, ht=^I, ind=^J,
         kcuf1=\EC, kcuu1=\EA, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV,          ip=<1.5/>, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
         kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, khome=\EH, lf6=blue,          kcuu1=\EA, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV, kf5=\EW,
         lf7=red, lf8=white, ri=\EI, rmacs=\EG, rmir=\EO, rmso=\Eq,          kf6=\EP, kf7=\EQ, kf8=\ER, khome=\EH, lf6=blue, lf7=red,
         smacs=\EF, smir=\E@, smso=\Ep,          lf8=white, ri=\EI, rmacs=\EG, rmir=\EO, rmso=\Eq, smacs=\EF,
         tsl=\Ej\Ex5\EY8%p1%{32}%+%c\Eo\Eo,          smir=\E@, smso=\Ep, 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-g|h19g|heathkit w/block cursor,  h19-g|h19g|heathkit w/block cursor,
         cnorm=\Ex4, use=h19-b,          cnorm=\Ex4, cvvis@, use=h19-b,
 alto-h19|altoh19|altoheath|alto-heath|alto emulating heathkit h19,  alto-h19|altoh19|altoheath|alto-heath|alto emulating heathkit h19,
         lines#60,          lines#60,
         dl1=\EM, il1=\EL, use=h19,          dl1=\EM, il1=\EL, use=h19,
Line 15962 
Line 18692 
 z100bw|h100bw|z110bw|z-100bw|h-100bw|heath/zenith z-100 pc,  z100bw|h100bw|z110bw|z-100bw|h-100bw|heath/zenith z-100 pc,
         OTbs, OTpt, mir, msgr,          OTbs, OTpt, mir, msgr,
         OTkn#10, cols#80, it#8, lines#24,          OTkn#10, cols#80, it#8, lines#24,
         acsc=, clear=\EE$<5*/>, cnorm=\Ey4, cub1=^H, cud1=\EB,          acsc=~\^x`qanbkcjdmelfgg+hai.kwsutvutvozs{,
         cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<1*/>,          clear=\EE$<5*/>, cnorm=\Ey4, cub1=^H, cud1=\EB, cuf1=\EC,
         cuu1=\EA, cvvis=\Ex4, dch1=\EN$<1*/>, dl1=\EM$<5*/>,          cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<1*/>, cuu1=\EA,
         ed=\EJ, el=\EK, home=\EH, ht=^I, il1=\EL$<5*/>, kbs=^H,          cvvis=\Ex4, dch1=\EN$<1*/>, dl1=\EM$<5*/>, ed=\EJ, el=\EK,
         kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf0=\EJ, kf1=\ES,          home=\EH, ht=^I, il1=\EL$<5*/>, kbs=^H, kcub1=\ED, kcud1=\EB,
         kf2=\ET, kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER,          kcuf1=\EC, kcuu1=\EA, kf0=\EJ, kf1=\ES, kf2=\ET, kf3=\EU,
         kf9=\EOI, khome=\EH, ri=\EI, rmacs=\EG, rmir=\EO, rmso=\Eq,          kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\EOI,
         smacs=\EF, smir=\E@, smso=\Ep,          khome=\EH, ri=\EI, rmacs=\EG, rmir=\EO, rmso=\Eq, smacs=\EF,
           smir=\E@, smso=\Ep,
 p19|h19-b with il1/dl1,  p19|h19-b with il1/dl1,
         dl1=\EM$<2*/>, il1=\EL$<2*/>, use=h19-b,          dl1=\EM$<2*/>, il1=\EL$<2*/>, use=h19-b,
 # From: <ucscc!B.fiatlux@ucbvax.berkeley.edu>  # From: <ucscc!B.fiatlux@ucbvax.berkeley.edu>
Line 16532 
Line 19263 
         cbt=\E[Z, civis=\E[?25l, clear=\E[H\E[2J$<6>,          cbt=\E[Z, civis=\E[?25l, clear=\E[H\E[2J$<6>,
         cnorm=\E[?25h, cub=\E[%p1%dD, cud=\E[%p1%dB,          cnorm=\E[?25h, cub=\E[%p1%dD, cud=\E[%p1%dB,
         cuf=\E[%p1%dC, cup=\E[%p1%i%p1%d;%p2%dH, cuu=\E[%p1%dA,          cuf=\E[%p1%dC, cup=\E[%p1%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
         cvvis=\E[?25h, dch=\E[%p1%dP$<250>, dch1=\E[P,          dch=\E[%p1%dP$<250>, dch1=\E[P, dl=\E[%p1%dM,
         dl=\E[%p1%dM, ech=\E[%p1%dX$<20>, ed=\E[J$<6>, el=\E[0K,          ech=\E[%p1%dX$<20>, ed=\E[J$<6>, el=\E[0K, el1=\E[1K,
         el1=\E[1K, enacs=\E(B\E)0, ff=^L, flash=\E[?5h\E[?5l$<6>,          enacs=\E(B\E)0, ff=^L, flash=\E[?5h\E[?5l$<6>,
         hpa=\E[%p1%{1}%+%dG, hts=\E[0W, ich=\E[%p1%d@$<250>,          hpa=\E[%p1%{1}%+%dG, hts=\E[0W, ich=\E[%p1%d@$<250>,
         il=\E[%p1%dL$<36>, ip=$<10>, is2=\E[1;24r\E[24;1H,          il=\E[%p1%dL$<36>, ip=$<10>, is2=\E[1;24r\E[24;1H,
         kcmd=\E[29~, kdch1=\E[P, kent=^J, kf1=\E[17~, kf10=\E[28~,          kcmd=\E[29~, kdch1=\E[P, kent=^J, kf1=\E[17~, kf10=\E[28~,
         kf11=\E[29~, kf12=\E[31~, kf2=\E[18~, kf3=\E[19~,          kf11=\E[29~, kf12=\E[31~, kf2=\E[18~, kf3=\E[19~,
         kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~,          kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~,
         kf9=\E[26~, khome=\E[H, kich1=\E[@, knp=\E[S, kpp=\E[T,          kf9=\E[26~, khome=\E[H, kich1=\E[@, knp=\E[S, kpp=\E[T,
         kprt=^X, prot=\E&, rmacs=\017$<2>, rs2=\E[!p,          kprt=^X, prot=\E&, rmacs=\017$<2>, rs2=\E[!p, sgr@,
         smacs=\016$<2>, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd,          smacs=\016$<2>, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd,
         use=vt220,          use=vt220,
 #  #
Line 16840 
Line 19571 
 # respectively, to be able to restore them when color changes  # respectively, to be able to restore them when color changes
 # (because any color change turns off ALL attributes)  # (because any color change turns off ALL attributes)
 # 3. <bold> and <rev> sequences alternate modes,  # 3. <bold> and <rev> sequences alternate modes,
 # rather then simply  entering them.  Thus we have to check the  # rather than simply  entering them.  Thus we have to check the
 # static register B and H to determine the status, before sending the  # static register B and H to determine the status, before sending the
 # escape sequence.  # escape sequence.
 # 4. <sgr0> now must set the status of all 3 register (A,B,H) to zero  # 4. <sgr0> now must set the status of all 3 register (A,B,H) to zero
Line 16942 
Line 19673 
         cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,          cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
         cuu1=\E[A$<2>, dl1=\E[M$<99>, ed=\E[J$<50>, el=\E[K$<3>,          cuu1=\E[A$<2>, dl1=\E[M$<99>, ed=\E[J$<50>, el=\E[K$<3>,
         el1=\E[1K$<3>, enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH,          el1=\E[1K$<3>, enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH,
         il1=\E[L$<99>, ind=^J, ka1=\EOq, ka3=\EOs, kb2=\EOr, kbs=^H,          il1=\E[L$<99>, ind=^J, kbs=^H, kcub1=\EOD, kcud1=\EOB,
         kc1=\EOp, kc3=\EOn, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,          kcuf1=\EOC, kcuu1=\EOA, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l,
         kcuu1=\EOA, kent=\EOM, kf0=\EOy, kf1=\EOP, kf10=\EOx,  
         kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt, kf6=\EOu, kf7=\EOv,  
         kf8=\EOl, kf9=\EOw, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l,  
         rmkx=\E[?1l\E>, rmso=\E[m\s,          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\s,          smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m\s,
         tbc=\E[3g,          tbc=\E[3g, use=vt100+fnkeys,
   
 # The official PC terminal emulator program of the AT&T Product Centers.  # The official PC terminal emulator program of the AT&T Product Centers.
 # Note - insert mode commented out - doesn't seem to work on AT&T PC.  # Note - insert mode commented out - doesn't seem to work on AT&T PC.
Line 17121 
Line 19849 
 env230|envision230|envision 230 graphics terminal,  env230|envision230|envision 230 graphics terminal,
         xenl@,          xenl@,
         mc0=\E[0i, mc4=\E[4i, mc5=\E[5i,          mc0=\E[0i, mc4=\E[4i, mc5=\E[5i,
         sgr=\E[%?%p1%t;1%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,          sgr=\E[%?%p1%t;1%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m$<2>,
         use=vt100,          use=vt100,
 # These execuports were impact-printer ttys with a 30- or maybe 15-cps acoustic  # These execuports were impact-printer ttys with a 30- or maybe 15-cps acoustic
 # coupler attached, the whole rig fitting in a suitcase and more or less  # coupler attached, the whole rig fitting in a suitcase and more or less
Line 17225 
Line 19953 
         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,
 # This entry is for the BSD window program.  It pessimistically  
 # assumes a rather dumb terminal.  In practice this is fine since  
 # window will place a better entry in the TERMCAP environment variable.  
 # To make the curses actually use the TERMCAP env var, this entry is now  
 # disabled. It's faulty anyway.  
 #window-v2|window program version 2,  
 #       OTbs, am, da, db, msgr, OTpt,  
 #       it#8,  
 #       bel=^G, clear=\\EE, cr=^M, cub1=^H, cud1=^J, cuf1=\\EC,  
 #       cup=\\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\\EA, ed=\\EJ,  
 #       el=\\EK, home=\\EH, ht=^I, kbs=^H, kcub1=^H, kcud1=\\EB,  
 #       nel=^M^J, sgr0=\\Er\177,  
 ######## 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
Line 17535 
Line 20251 
 # (T) ECMA-48 calls this "Partial Line Forward" but retains the PLD  # (T) ECMA-48 calls this "Partial Line Forward" but retains the PLD
 # abbreviation.  # abbreviation.
 #  #
 # (U) ECMA-48 calls this "Partial Line Backward" but retains the PLD  # (U) ECMA-48 calls this "Partial Line Backward" but retains the PLU
 # abbreviation.  # abbreviation.
 #  #
 # (V) ECMA-48 calls this "Reverse Line Feed" but retains the RI abbreviation.  # (V) ECMA-48 calls this "Reverse Line Feed" but retains the RI abbreviation.
 #  #
 # (W) RM/SM modes are as follows: 1 = Guarder Area Transfer Mode (GATM),  # (W) RM/SM modes are as follows: 1 = Guarded Area Transfer Mode (GATM),
 # 2 = Keyboard Action Mode (KAM), 3 = Control Representation Mode (CRM),  # 2 = Keyboard Action Mode (KAM), 3 = Control Representation Mode (CRM),
 # 4 = Insertion Replacement Mode, 5 = Status Report Transfer Mode (SRTM),  # 4 = Insertion Replacement Mode, 5 = Status Report Transfer Mode (SRTM),
 # 6 = Erasure Mode (ERM), 7 = Line Editing Mode (LEM), 8 = Bi-Directional  # 6 = Erasure Mode (ERM), 7 = Line Editing Mode (LEM), 8 = Bi-Directional
Line 18300 
Line 21016 
 #       * Added x68k console  #       * Added x68k console
 #       * Added OTbs to several VT-series entries.  #       * Added OTbs to several VT-series entries.
 # 9.13.4 (Wed May 22 10:54:09 EDT 1996):  # 9.13.4 (Wed May 22 10:54:09 EDT 1996):
 #       * screen entry update for 3.7.1 from Michael Alan Dorfman.  #       * screen entry update for 3.7.1 from Michael Alan Dorman.
 # 9.13.5 (Wed Jun  5 11:22:41 EDT 1996):  # 9.13.5 (Wed Jun  5 11:22:41 EDT 1996):
 #       * kterm correction due to Kenji Rikitake.  #       * kterm correction due to Kenji Rikitake.
 #       * ACS correction in vt320-kll due to Phillippe De Muyter.  #       * ACS correction in vt320-kll due to Phillippe De Muyter.
Line 18388 
Line 21104 
 #       * Back off the xterm entry to use r6 as a base.  #       * Back off the xterm entry to use r6 as a base.
 # 9.13.22 (Sat Nov 30 11:51:31 EST 1996):  # 9.13.22 (Sat Nov 30 11:51:31 EST 1996):
 #       * Added dec-vt220 at Adrian Garside's request.  #       * Added dec-vt220 at Adrian Garside's request.
   #
   #-(original-changelog-1996/12/29-to-1998/02/28-by-TD)---------------------------
   #
   # 10.1.0 (Sun Dec 29 02:36:31 EST 1996): withdrawn
   #       * Minor corrections to xterm entries.
   #       * Replaced EWAN telnet entry.
   #       * Dropped the reorder script generator.  It was a fossil.
 # 9.13.23 (Fri Feb 21 16:36:06 EST 1997):  # 9.13.23 (Fri Feb 21 16:36:06 EST 1997):
 #       * Replaced minitel-2 entry.  #       * Replaced minitel-2 entry.
 #       * Added MGR, ansi-nt.  #       * Added MGR, ansi-nt.
   # 9.13.24 (Sun Feb 23 20:55:23 EST 1997):
   #       * Thorsten Lockert added termcap `bs' to a lot of types, working from
   #         the 4.4BSD Lite2 file.
   #
   # 10.1.1 (Sat May  3 21:41:27 EDT 1997):
   #       * Use setaf/setab consistently with SVr4.
   #       * Remove ech, el1 from cons25w, they do not work in FreeBSD 2.1.5
   # 10.1.2 (Sat May 24 21:10:57 EDT 1997)
   #       * update xterm-xf86-v32 to match XFree86 3.2A (changes F1-F4)
   #       * add xterm-16color, for XFree86 3.3
   # 10.1.3 (Sat May 31 12:21:05 EDT 1997)
   #       * correct typo in emu
   #       * correct typo in vt102-w (Robert Wuest)
   #       * make new entry xterm-xf86-v33, restored xterm-xf86-v32.
   # 10.1.4 (Sun Jun 15 08:29:05 EDT 1997)
   #       * remove ech capability from rxvt (it does the wrong thing)
   # 10.1.5 (Sat Jun 28 21:34:36 EDT 1997)
   #       * remove spurious newlines from several entries (hp+color, wy50,
   #         wy350, wy370-nk, wy99gt-tek, wy370-tek, ibm3161, tek4205, ctrm,
   #         gs6300)
   # 10.1.6 (Sat Jul  5 15:08:16 EDT 1997)
   #       * correct rmso capability of wy50-mc
   # 10.1.7 (Sat Jul 12 20:05:55 EDT 1997)
   #       * add cbt to xterm-xf86-v32
   #       * disentangle some entries from 'xterm', preferring xterm-r6 in case
   #         'xterm' is derived from xterm-xf86-v32, which implements ech and
   #         other capabilities not in xterm-r6.
   #       * remove alternate character set from kterm entry.
   # 10.1.8 (Sat Aug  2 18:43:18 EDT 1997)
   #       * correct acsc entries for ACS_LANTERN, which is 'i', not 'I'.
   # 10.1.9 (Sat Aug 23 17:54:38 EDT 1997)
   #       * add xterm-8bit entry.
   # 10.1.10 (Sat Oct  4 18:17:13 EDT 1997)
   #       * repair several places where early version of tic replaced \, with \\\,
   #       * make acsc entries canonical form (sorted, uniq).
   #       * modify acsc entries for linux, linux-koi8
   #       * new rxvt entry, from corrected copy of distribution in rxvt 2.21b
   #       * add color, mouse support to kterm.
   # 10.1.11 (Sat Oct 11 14:57:10 EDT 1997)
   #       * correct wy120 smxon/tbc capabilities which were stuck together.
   # 10.1.12 (Sat Oct 18 17:38:41 EDT 1997)
   #       * add entry for xterm-xf86-v39t
   # 10.1.13 (Sat Nov  8 13:43:33 EST 1997)
   #       * add u8,u9 to sun-il description
   # 10.1.14 (Sat Nov 22 19:59:03 EST 1997)
   #       * add vt220-js, pilot, rbcomm, datapoint entries from esr's 27-jun-97
   #         version.
   #       * add hds200 description (Walter Skorski)
   #       * add EMX 0.9b descriptions
   #       * correct rmso/smso capabilities in wy30-mc and wy50-mc (Daniel Weaver)
   #       * rename xhpterm back to hpterm.
   # 10.1.15 (Sat Nov 29 19:21:59 EST 1997)
   #       * change initc in linux-c-nc to use 0..1000 range.
   # 10.1.16 (Sat Dec 13 19:41:59 EST 1997)
   #       * remove hpa/vpa from rxvt, which implements them incorrectly.
   #       * add sgr0 for rxvt.
   #       * remove bogus smacs/rmacs from EMX descriptions.
   # 10.1.17 (Sat Dec 20 17:54:10 EST 1997)
   #       * revised entry for att7300
   # 10.1.18 (Sat Jan  3 17:58:49 EST 1998)
   #       * use \0 rather than \200.
   #       * rename rxvt-color to rxvt to match rxvt 2.4.5 distribution.
   # 10.1.19 (Sat Jan 17 14:24:57 EST 1998)
   #       * change xterm (xterm-xf86-v40), xterm-8bit rs1 to use hard reset.
   #       * rename xterm-xf86-v39t to xterm-xf86-v40
   #       * remove bold/underline from sun console entries since they're not
   #         implemented.
   # 10.1.20 (Sat Jan 24 11:02:51 EST 1998)
   #       * add beterm entry (Fred Fish)
   #       * add irix-color/xwsh entry.
   #       * turn ncv off for linux.
   # 10.1.21 (Sat Jan 31 17:39:16 EST 1998)
   #       * set ncv for FreeBSD console (treat colors with reverse specially).
   #       * remove sgr string from qnx based on report by Xiaodan Tang
   # 10.1.22 (Wed Feb 11 18:40:12 EST 1998)
   #       * remove spurious commas from descriptions
   #       * correct xterm-8bit to match XFree86 3.9Ad F1-F4.
   # 10.1.23 (Sat Feb 28 17:48:38 EST 1998)
   #       * add linux-koi8r to replace linux-koi8 (which uses a corrupt acsc,
   #         apparently based on cp-866).
   #
   #-(replaced-changelog-1998/02/28-by-ESR)----------------------------------------
   #
   # 9.13.23 (Fri Feb 21 16:36:06 EST 1997):
   #       * Replaced minitel-2 entry.
   #       * Added MGR, ansi-nt.
 #       * Minor corrections to xterm entries.  #       * Minor corrections to xterm entries.
 #       * Replaced EWAN telnet entry.  #       * Replaced EWAN telnet entry.
 #       * Dropped the reorder script generator.  It was a fossil.  #       * Dropped the reorder script generator.  It was a fossil.
Line 18440 
Line 21249 
 #       * Incorporated att700 from the Boundless Technology FTP site.  #       * Incorporated att700 from the Boundless Technology FTP site.
 #       * Miscellaneous contact-address and Web-page updates.  #       * Miscellaneous contact-address and Web-page updates.
 #  #
   #-(changelog-beginning-ncurses-4.2)---------------------------------------------
   #
 # 1998/5/9  # 1998/5/9
 #       * add nxterm and xterm-color terminfo description (request by Cristian  #       * add nxterm and xterm-color terminfo description (request by Cristian
 #         Gafton <gafton@redhat.com>).  #         Gafton <gafton@redhat.com>).
Line 18640 
Line 21451 
 #       * add rc/sc to aixterm based on manpage -TD  #       * add rc/sc to aixterm based on manpage -TD
 #  #
 # 2000/5/13  # 2000/5/13
 #       * remove ncv from xterm-16color, xterm-256 color  #       * remove ncv from xterm-16color, xterm-256color
 #  #
 # 2000/6/10  # 2000/6/10
 #       * add kmous capability to linux to use Joerg Schoen's gpm patch.  #       * add kmous capability to linux to use Joerg Schoen's gpm patch.
Line 18684 
Line 21495 
 #  #
 # 2001-02-10  # 2001-02-10
 #       * screen 3.9.8 allows xterm mouse controls to pass-through  #       * screen 3.9.8 allows xterm mouse controls to pass-through
   #
   # 2001-03-11
   #       * remove spurious "%|" from some xterm entries.
   #
   # 2001-03-31
   #       * modify 'screen' khome/kend to match screen 3.09.08
   #       * add examples of 'screen' customization (screen.xterm-xfree86,
   #         screen.xterm-r6, screen.teraterm) -TD
   #
   # 2001-04-14
   #       * correct definitions of shifted editing keys for xterm-xfree86 -TD
   #       * add "Apple_Terminal" entries -Benjamin Sittler
   #       * remove time-delays from "Apple_Terminal" entries -TD
   #       * make sgr entries time-delays consistent with individual caps -TD
   #
   # 2001-05-05
   #       * corrected/updated screen.xterm-xfree86
   #
   # 2001-05-19
   #       * ELKS descriptions, from Federico Bianchi
   #       * add u6 (CSR) to Eterm (Michael Jennings).
   #
   # 2001-07-21
   #       * renamed "Apple_Terminal" entries to "nsterm" to work with Solaris's
   #         tic which handles names no longer than 14 characters.  Add
   #         corresponding descriptions for the Darwin PowerPC console named
   #         "xnuppc" -Benjamin Sittler
   #
   # 2001-09-01
   #       * change kbs in mach entries to ^? (Marcus Brinkmann).
   #
   # 2001-11-17
   #       * add "putty" entry -TD
   #       * updated "Apple_Terminal" entries -Benjamin Sittler
   #
   # 2001-11-24
   #       * add ms-vt100-color entry -TD
   #       * add "konsole" entries -TD
   #
   # 2001-12-08
   #       * update gnome entry to Redhat 7.2 -TD
   #
   # 2002-05-25
   #       * add kf13-kf48 strings to cons25w -TD
   #       * add pcvt25-color entry -TD
   #       * changed a few /usr/lib/tabset -> /usr/share/tabset.
   #       * improve some features of scoansi entry based on SCO's version -TD
   #       * add scoansi-new entry corresponding to OpenServer 5.0.6
   #
   # 2002-06-15
   #       * add kcbt to screen entry -TD
   #
   # 2002-06-22
   #       * add rxvt-16color, ibm+16color, mvterm entries -TD
   #
   # 2002-09-28
   #       * split out linux-basic entry, making linux-c inherit from that, and
   #         in turn linux (with cnorm, etc) inherit from linux-c-nc to reflect
   #         the history of this console type -TD
   #       * scaled the linux-c terminfo entry to match linux-c-nc, i.e., the
   #         r/g/b parameters of initc are in the range 0 to 1000 -TD
   #
   # 2002-10-05
   #       * minor fix for scale-factor of linux-c and linux-c-nc -TD
   #
   # 2002-11-09
   #       * split-out vt100+keypad and vt220+keypad, fix interchanged ka3/kb2
   #         in the latter -TD
   #
   # 2002-11-16
   #       * add entries for mterm (mterm, mterm-ansi, decansi) -TD
   #       * ncr260wy350pp has only 16 color pairs -TD
   #       * add sun-type4 from NetBSD -TD
   #       * update xterm-xfree86 to current (patch 170) -TD
   #       * add screen-bce, screen-s entries -TD
   #       * add xterm-1002, xterm-1003 entries -TD
   #
   # 2003-01-11
   #       * update homepage for Top Gun Telnet/SSH
   #
   # 2003-01-25
   #       * reduce duplication in emx entries, added emx-base -TD
   #
   # 2003-05-24
   #       * corrected acs for screen.teraterm -TD
   #       * add tkterm entry -TD
   #
   # 2003-07-15
   #       * cygwin changes from Charles Wilson:
   #         misc/terminfo.src (nxterm|xterm-color): make xterm-color
   #         primary instead of nxterm, to match XFree86's xterm.terminfo
   #         usage and to prevent circular links.
   #         (rxvt): add additional codes from rxvt.org.
   #         (rxvt-color): new alias
   #         (rxvt-xpm): new alias
   #         (rxvt-cygwin): like rxvt, but with special acsc codes.
   #         (rxvt-cygwin-native): ditto.  rxvt may be run under XWindows, or
   #         with a "native" MSWin GUI.  Each takes different acsc codes,
   #         which are both different from the "normal" rxvt's acsc.
   #         (cygwin): cygwin-in-cmd.exe window.  Lots of fixes.
   #         (cygwinDBG): ditto.
   #
   # 2003-09-27
   #       * update gnome terminal entries -TD
   #
   # 2003-10-04
   #       * add entries for djgpp 2.03 and 2.04 -TD
   #
   # 2003-10-25
   #       * add alias for vtnt -TD
   #       * update xterm-xfree86 for XFree86 4.4 -TD
   #
   # 2003-11-22
   #       * add linux-vt (Andrey V Lukyanov)
   #
   # 2003-12-20
   #       * add screen.linux -TD
   #
   # 2004-01-10
   #       * revised/improved entries for tvi912b, tvi920b (Benjamin Sittler)
   #
   # 2004-01-17
   #       * add OpenNT/Interix/SFU entries (Federico Bianchi)
   #       * add vt100+ and vt-utf8 entries -TD
   #       * add uwin entry -TD
   #
   # 2004-03-27
   #       * add sgr strings to several common entries lacking them, e.g.,
   #         screen, to make the entries more portable -TD
   #       * remove cvvis from rxvt entry, since it is the same as cnorm -TD
   #       * similar fixups for cvvis/cnorm various entries -TD
   #
   # 2004-05-22
   #       * remove 'ncv' from xterm-256color (patch 188) -TD
   #
   # 2004-06-26
   #       * add mlterm -TD
   #       * add xterm-xf86-v44 -TD
   #       * modify xterm-new aka xterm-xfree86 to accommodate luit, which relies
   #         on G1 being used via an ISO-2022 escape sequence (report by
   #         Juliusz Chroboczek) -TD
   #       * add 'hurd' entry -TD
   #
   # 2004-07-03
   #       * make xterm-xf86-v43 derived from xterm-xf86-v40 rather than
   #         xterm-basic -TD
   #       * align with xterm #192's use of xterm-new -TD
   #       * update xterm-new and xterm-8bit for cvvis/cnorm strings -TD
   #       * make xterm-new the default "xterm" -TD
   #
   # 2004-07-10
   #       * minor fixes for emu -TD
   #       * add emu-220
   #       * add rmam/smam to linux (Trevor Van Bremen)
   #       * change wyse acsc strings to use 'i' map rather than 'I' -TD
   #       * fixes for avatar0 -TD
   #       * fixes for vp3a+ -TD
   #
   # 2004-07-17
   #       * add xterm-pc-fkeys -TD
   #       * review/update gnome and gnome-rh90 entries (prompted by
   #         Redhat Bugzilla #122815) -TD
   #       * review/update konsole entries -TD
   #       * add sgr, correct sgr0 for kterm and mlterm -TD
   #       * correct tsl string in kterm -TD
   #
   # 2004-07-24
   #       * make ncsa-m rmacs/smacs consistent with sgr -TD
   #       * add sgr, rc/sc and ech to syscons entries -TD
   #       * add function-keys to decansi -TD
   #       * add sgr to mterm-ansi -TD
   #       * add sgr, civis, cnorm to emu -TD
   #       * correct/simplify cup in addrinfo -TD
   #       * corrections for gnome and konsole entries
   #         (Redhat Bugzilla #122815) -Hans de Goede
   #       * modify DEC entries (vt220, etc), to add sgr string, and to use
   #         ISO-2022 strings for rmacs/smacs -TD
   #
   # 2004-07-31
   #       * rename xterm-pc-fkeys to xterm+pcfkeys -TD
   #
   # 2004-08-07
   #       * improved putty entry -Robert de Bath
   #
   # 2004-08-14
   #       * remove dch/dch1 from rxvt because they are implemented inconsistently
   #         with the common usage of bce/ech -TD
   #       * remove khome from vt220 (vt220's have no home key) -TD
   #       * add rxvt+pcfkeys -TD
   #
   # 2004-08-21
   #       * modify several entries to ensure xterm mouse and cursor visibility
   #         are reset in rs2 string:  hurd, putty, gnome, konsole-base, mlterm,
   #         Eterm, screen.  (The xterm entries are left alone - old ones for
   #         compatibility, and the new ones do not require this change) -TD
   #
   # 2004-08-28
   #       * add morphos entry -Pavel Fedin
   #       * modify amiga-8bit to add khome/kend/knp/kpp -Pavel Fedin
   #       * corrected \E[5?l to \E[?5l in vt320 entries -TD
   #
   # 2004-11-20
   #       * update wsvt25 entry -TD
   #
   # 2005-01-29
   #       * update pairs for xterm-88color and xterm-256color to reflect the
   #         ncurses extended-color support -TD
   #
   # 2005-02-26
   #       * modify sgr/sgr0 in xterm-new to improve tgetent's derived "me" -TD
   #       * add aixterm-16color to demonstrate 16-color capability -TD
   #
   # 2005-04-23
   #       * add media-copy to vt100 -TD
   #       * corrected acsc string for vt52 -TD
   #
   # 2005-04-30
   #       * add kUP, kDN (user-defined shifted up/down arrow) definitions for
   #         xterm-new -TD
   #       * add kUP5, kUP6, etc., for xterm-new and rxvt -TD
   #
   # 2005-05-07
   #       * re-corrected acsc string for vt52 -TD
   #
   # 2005-05-28
   #       * corrected sun-il sgr string which referred to bold and underline -TD
   #       * add sun-color entry -TD
   #
   # 2005-07-23
   #       * modify sgr0 in several entries to reset alternate-charset as in the
   #         sgr string -TD
   #       * modify sgr string of prism9 to better match the individual
   #         attributes -TD
   #
   # 2005-10-15
   #       * correct order of use= in rxvt-basic -TD
   #
   # 2005-10-26
   #       * use kind/kri as shifted up/down cursor keys for xterm-new -TD
   #
   # 2005-11-12
   #       * other minor fixes to cygwin based on tack -TD
   #       * correct smacs in cygwin (report by Baurzhan Ismagulov).
   #
   # 2006-02-18
   #       * add nsterm-16color entry -TD
   #       * remove ncv flag from xterm-16color -TD
   #       * remove setf/setb from xterm-256color to match xterm #209 -TD
   #       * update mlterm entry to 2.9.2 -TD
   #
   # 2006-02-25
   #       * fixes to make nsterm-16color match report
   #         by Christian Ebert -Alain Bench
   #
   # 2006-04-22
   #       * add xterm+256color building block -TD
   #       * add gnome-256color, putty-256color, rxvt-256color -TD
   #
   # 2006-05-06
   #       * add hpterm-color -TD
   #
   # 2006-06-24
   #       * add xterm+pcc0, xterm+pcc1, xterm+pcc2, xterm+pcc3 -TD
   #       * add gnome-fc5 (prompted by GenToo #122566) -TD
   #       * remove obsolete/misleading comments about kcbt on Linux -Alain Bench
   #       * improve xterm-256color by combining the ibm+16color setaf/setab
   #         strings with SGR 48.  The setf/setb strings also are cancelled here
   #         rather than omitted so derived entries will cancel those also -Alain
   #         Bench
   #
   # 2006-07-01
   #       * add some notes regarding copyright to terminfo.src -TD
   #       * use rxvt+pcfkeys in Eterm -TD
   #       * remove km and flash from gnome, Eterm and rxvt since they do not work
   #         as one would expect (km sends ESC rather than setting the 8th bit
   #         of the key) -TD
   #       * add/use ansi+enq, vt100+enq and vt102+enq -TD
   #       * add konsole-solaris -TD
   #
   # 2006-07-22
   #       * update xterm-sun and xterm-sco entries to match xterm #216 -TD
   #       * modify is2/rs2 strings for xterm-r6 as per fix in xterm #148 -TD
   #       * modify xterm-24 to inherit from "xterm" -TD
   #       * add xiterm entry -TD
   #       * add putty-vt100 entry -TD
   #       * corrected spelling of Michael A Dorman's name, prompted by
   #         http://www.advogato.org/person/mdorman/diary.html -TD
   #
   # 2006-08-05
   #       * add xterm+pcf0, xterm+pcf2 from xterm #216 -TD
   #       * update xterm+pcfkeys to match xterm #216 -TD
   #
   # 2006-08-17
   #       * make descriptions of xterm entries consistent with its terminfo -TD
   #
   # 2006-08-26
   #       * add xfce, mgt -TD
   #
   # 2006-09-02
   #       * correct acsc string in kterm -TD
   #
   # 2006-09-09
   #       * add kon entry -TD
   #       * remove invis from linux and related entries, add klone+sgr8 for those
   #         that implement the feature (or have not been shown to lack it) -TD
   #
   # 2006-09-23
   #       * add ka2, kb1, kb3, kc2 to vt220-keypad as an extension -TD
   #       * minor improvements to rxvt+pcfkeys -TD
   #
   # 2006-09-30
   #       * fix a few typos in if/then/else expressions -TD
   #
   # 2006-10-07
   #       * add several GNU Screen variations with 16- and 256-colors, and
   #         status line (Alain Bench).
   #
   # 2007-03-03
   #       * add Newbury Data entries (Jean-Charles Billaud).
   #
   # 2007-06-10
   #       * corrected xterm+pcf2 modifiers for F1-F4, match xterm #226 -TD
   #
   # 2007-07-14
   #       * restore section of pre-ncurses-4.2 changelog to fix attribution -TD
   #       * add konsole-256color entry -TD
   #
   # 2007-08-18
   #       * add 9term entry (request by Juhapekka Tolvanen) -TD
   #
   # 2007-10-13
   #       * correct kIC in rxvt+pcfkeys (prompted by Debian #446444) -TD
   #       * add shift-control- and control-modified keys for rxvt editing
   #         keypad -TD
   #       * update mlterm entry to 2.9.3 -TD
   #       * add mlterm+pcfkeys -TD
   #
   # 2007-10-20
   #       * move kLFT, kRIT, kind and kri capabilities from xterm-new to
   #         xterm+pcc0, etc., to make the corresponding building blocks reflect
   #         xterm's capabilities -TD
   #       * add mrxvt entry -TD
   #       * add xterm+r6f2, use in mlterm and mrxvt entries -TD
   #
   # 2007-11-03
   #       * correct acsc strings for h19 and z100 (Benjamin Sittler)
   #
   # 2007-11-11
   #       * use xterm-xf86-v44 for "xterm-xfree86", reflecting changes to
   #         xterm starting with patch #216 -TD
   #       * make legacy xterm entries such as xterm-24 inherit from xterm-old,
   #         to match xterm #230 -TD
   #       * extend xterm+pccX entries to match xterm #230 -TD
   #       * add xterm+app, xterm+noapp, from xterm #230 -TD
   #       * add/use xterm+pce2 from xterm #230, in xterm+pcfkeys -TD
   #
   # 2008-04-19
   #       * add screen.rxvt -TD
   #
   # 2008-04-28
   #       * add screen+fkeys (prompted by Debian # 478094) -TD
   #
   # 2008-06-28
   #       * add screen.mlterm -TD
   #       * improve mlterm and mlterm+pcfkeys -TD
   #
   # 2008-08-23
   #       * add Eterm-256color, Eterm-88color -TD
   #       * add rxvt-88color -TD
   #
   # 2008-10-12
   #       * add teraterm4.59 entry, use that as primary teraterm entry, rename
   #         original to teraterm2.3 -TD
   #       * update "gnome" to 2.22.3 -TD
   #       * update "konsole" to 1.6.6 -TD
   #       * add "aterm" -TD
   #       * add "linux2.6.26" -TD
   #
   # 2008-11-15
   #       * change several \E[2g (clear tab at current column) to \E[3g
   #         (clear all tabs) to match definition for tbc capability -TD
   #
   # 2008-11-29
   #       * add eterm-color -TD
   #
   # 2009-01-10
   #       * add screen.Eterm -TD
   #
   # 2009-03-28
   #       * correct typo in pfkey of ansi.sys-old
   #         (report by Kalle Olavi Niemitalo)
   #       * move function- and cursor-keys from emx-base to ansi.sys, and create
   #         a pfkey capability which handles F1-F48 -TD
   #
   # 2009-05-02
   #       * add vwmterm entry (Bryan Christ)
   #
   # 2009-09-19
   #       * change ncv and op capabilities in sun-color to match Sun's entry for
   #         this (report by Laszlo Peter)
   #       * improve interix smso by using reverse rather than bold (report by
   #         Kristof Zelechovski).
   #
   # 2009-10-03
   #       * remove unnecessary kcan assignment to ^C from putty (Sven Joachim)
   #       * add linux-16color (Benjamin Sittler)
   #       * correct initc capability of linux-c-nc end-of-range (Benjamin Sittler)
   #       * similar change for dg+ccc and dgunix+ccc (Benjamin Sittler)
   #       * add ccc and initc capabilities to xterm-16color -TD
 #  #
 # The following sets edit modes for GNU EMACS.  # The following sets edit modes for GNU EMACS.
 # Local Variables:  # Local Variables:

Legend:
Removed from v.1.37  
changed lines
  Added in v.1.38