]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - misc/terminfo.src
ncurses 5.0
[ncurses.git] / misc / terminfo.src
index fedfe67ece42971022c2de682c10864e9ed6652e..ee3db89d8a1ad31464bf7857e576aa21bde69233 100644 (file)
@@ -1,14 +1,18 @@
 ######## TERMINAL TYPE DESCRIPTIONS SOURCE FILE
 #
-#      Version 10.2.0
+# This version of terminfo.src is distributed with ncurses.
+#
+#      Version 10.2.1
+#      $Date: 1999/10/24 00:28:48 $
 #      terminfo syntax
 #
 #      Eric S. Raymond         (current maintainer)
 #      John Kunze, Berkeley
 #      Craig Leres, Berkeley
 #
-# Please e-mail changes to terminfo@ccil.org.  The old termcap@berkeley.edu
-# address is no longer valid.
+# Please e-mail changes to terminfo@ccil.org; the old termcap@berkeley.edu
+# address is no longer valid.  The latest version can always be found at
+# <http://earthspace.net/terminfo>.
 #
 # PURPOSE OF THIS FILE:
 #
@@ -86,7 +90,9 @@
 # FILE ORGANIZATION:
 #
 # Comments in this file begin with # - they cannot appear in the middle
-# of a terminfo/termcap entry.  Individual capabilities are commented out by
+# of a terminfo/termcap entry (this feature had to be sacrificed in order
+# to allow standard terminfo and termcap syntax to be generated cleanly from
+# the master format).  Individual capabilities are commented out by
 # placing a period between the colon and the capability name.
 #
 # The file is divided up into major sections (headed by lines beginning with 
 # to see a listing of section headings.  The intent of the divisions is
 # (a) to make it easier to find things, and (b) to order the database so
 # that important and frequently-encountered terminal types are near the
-# front (so that you'll get reasonable search efficiency even if you don't
-# use reorder).  Minor sections usually correspond to manufacturers or
-# standard terminal classes.  Parenthesized words following manufacturer
-# names are type prefixes or product line names used by that manufacturers.
+# front (so that you'll get reasonable search efficiency from a linear
+# search of the termcap form even if you don't use reorder).  Minor sections
+# usually correspond to manufacturers or standard terminal classes. 
+# Parenthesized words following manufacturer names are type prefixes or
+# product line names used by that manufacturers.
 #
 # HOW TO READ THE ENTRIES:
 #
 #              only support one attribute without magic-cookie lossage.
 #              Their base entry is usually paired with another that
 #              uses magic cookies to support multiple attributes.
-#      -na     No arrow keys - termcap ignores arrow keys which are
-#              actually there on the terminal, so the user can use
-#              the arrow keys locally.
 #      -nam    No auto-margin - suppress <am> capability
 #      -nl     No labels - suppress soft labels
 #      -ns     No status line - suppress status line
 #      -vb     Use visible bell (<flash>) rather than <bel>.
 #      -w      Wide - in 132 column mode.
 # If a name has multiple suffixes and one is a line height, that one should 
-# go first.  Thus `aaa-30-s-rv' is recommended over `aaa-s-rv'.  
+# go first.  Thus `aaa-30-s-rv' is recommended over `aaa-s-rv-30'.  
 # 
 # Entries with embedded plus signs are designed to be included through use/tc
 # capabilities, not used as standalone entries. 
 #
 # All the entries in this file have been edited to assume that the tabset
 # files directory is /usr/share/tabset, in conformance with the File Hierarchy
-# Standard for Linux and free BSD systems.  Some vendors (notably Sun) use
-# /usr/lib/tabset or (more recently) /usr/share/lib/tabset.  
+# Standard for Linux and open-source BSD systems.  Some vendors (notably Sun)
+# use /usr/lib/tabset or (more recently) /usr/share/lib/tabset.  
 #
-# No curses package we know of uses these files.  If their location is an
-# issue, you will have to hand-patch the file locations before compiling
+# No curses package we know of actually uses these files.  If their location
+# is an issue, you will have to hand-patch the file locations before compiling
 # this file.
 # 
-# REQUEST FOR CONTACT INFORMATION AND HISTORICAL MATERIAL:
+# REQUEST FOR CONTACT INFORMATION AND HISTORICAL MATERIAL
 #
 # As the ANSI/ECMA-48 standard and variants take firmer hold, and as
 # character-cell terminals are increasingly replaced by X displays, much of
 # There are no guarantees anywhere.  Svaha!
 #
 
-######## STANDARD AND SPECIAL TYPES
+######## ANSI, UNIX CONSOLE, AND SPECIAL TYPES
 #
 # This section describes terminal classes and maker brands that are still
 # quite common.
@@ -316,7 +320,7 @@ klone+sgr-dumb|attribute control for ansi.sys displays (no ESC [ 11 m),
        use=klone+acs, 
 
 # KOI8-R (RFC1489) acs (alternate character set)
-# From: QingLong <qinglong@Bolizm.ihep.su>, 24 Feb 1996.
+# From: Qing Long <qinglong@Bolizm.ihep.su>, 24 Feb 1996.
 klone+koi8acs|alternate character set for ansi.sys displays with KOI8 charset, 
        acsc=+\020\,\021-\036.^_0\215`\004a\237f\234g\232h\222i\220j\205k\203l\202m\204n\212o\213p\216q\0r\217s\214t\206u\207v\210w\211x\201y\230z\231{\267|\274}L~\225, 
        rmacs=\E[10m, smacs=\E[11m, 
@@ -378,7 +382,7 @@ ansi-mini|any ansi terminal with pessimistic assumptions,
 # not to require any -- even at 9600 bps.  If you encounter problems,
 # try including the padding specifications.
 #
-# Note: the "as" and "ae" specifications are not implemented here, for
+# Note: the :as: and :ae: specifications are not implemented here, for
 # the available termcap documentation does not make clear WHICH alternate
 # character set to specify.  ANSI 3.64 seems to make allowances for several.
 # Please make the appropriate adjustments to fit your needs -- that is
@@ -468,8 +472,7 @@ ansi|ansi/pc-term compatible with color,
        u9=\E[c, 
        use=ecma+color, use=klone+sgr, use=ansi-m, 
 
-#
-# ANSI.SYS entries
+#### DOS ANSI.SYS variants
 #
 # This completely describes the sequences specified in the DOS 2.1 ANSI.SYS
 # documentation (except for the keyboard key reassignment feature, which
@@ -523,36 +526,34 @@ nansi.sysk|nansisysk|PC-DOS Public Domain NANSI.SYS with keypad redefined for vi
 #### ANSI console types
 #
 
-#### BeOS entry for Terminal program. Seems to be almost ANSI
-#      
+#### BeOS
+#
+# BeOS entry for Terminal program Seems to be almost ANSI
 beterm|BeOS Terminal, 
        am, eo, mir, msgr, xenl, xon, 
-       colors#8, cols#80, it#8, lines#25, pairs#64, 
-       bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
-       clear=\E[H\E[J, cnorm=\E[?25h, cr=^M, 
+       colors#8, cols#80, it#8, lines#25, ncv#5, pairs#64, 
+       bel=^G, bold=\E[1m, clear=\E[H\E[J, cr=^M, 
        csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C, 
        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP, 
-       dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
-       el=\E[K, 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, kb2=\E[G, 
-       kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
-       kend=\E[4~, kf1=\E[11~, kf10=\E[20~, kf11=\E[21~, 
-       kf12=\E[22~, kf2=\E[12~, kf3=\E[13~, kf4=\E[14~, 
-       kf5=\E[15~, kf6=\E[16~, kf7=\E[17~, kf8=\E[18~, kf9=\E[19~, 
-       khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, kspd=^Z, 
-       nel=^M^J, op=\E[m, rc=\E8, rev=\E[7m, ri=\EM, rmir=\E[4l, 
-       rmso=\E[m, rmul=\E[24m, rs1=\Ec, sc=\E7, setab=\E[4%p1%dm, 
-       setaf=\E[3%p1%dm, setb=\E[%p1%'('%+%cm, 
-       setf=\E[%p1%{30}%+%cm, sgr0=\E[0;10m, smir=\E[4h, 
-       smso=\E[7m, smul=\E[4m, tbc=\E[3g, u6=\E[%i%p1%d;%p2%dR, 
-       u7=\E[6n, u8=\E[?6c, u9=\E[c, vpa=\E[%i%p1%dd, 
+       dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, 
+       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, kbs=^H, 
+       kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
+       kdch1=\E[3~, kend=\E[4~, kf1=\E[11~, kf10=\E[20~, 
+       kf11=\E[21~, kf12=\E[22~, kf2=\E[12~, kf3=\E[13~, 
+       kf4=\E[14~, kf5=\E[15~, kf6=\E[16~, kf7=\E[17~, kf8=\E[18~, 
+       kf9=\E[19~, khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
+       kspd=^Z, nel=^M^J, op=\E[m, rc=\E8, rev=\E[7m, ri=\EM, 
+       rmir=\E[4l, rmso=\E[m, rmul=\E[24m, rs1=\Ec, sc=\E7, 
+       setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
+       setb=\E[%p1%{40}%+%cm, setf=\E[%p1%{30}%+%cm, 
+       sgr0=\E[0;10m, smir=\E[4h, smso=\E[7m, smul=\E[4m, 
+       u6=\E[%i%p1%d;%p2%dR, u7=\E[6n, vpa=\E[%i%p1%dd, 
 
-# This entry is good for the 1.2.13 version of the Linux console driver.
+#### Linux consoles
 #
-# Note: there are numerous broken linux entries out there, which didn't screw
-# up BSD termcap but hose ncurses's smarter cursor-movement optimization.
-# One common pathology is an incorrect tab length of 4.
+
+# This entry is good for the 1.2.13 or later version of the Linux console.
 #
 # ***************************************************************************
 # *                                                                         *
@@ -567,7 +568,7 @@ beterm|BeOS Terminal,
 #      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      *
+# * do, F26 is the higher-numbered one).  The change ought to be built      *
 # * into the kernel tables.                                                 *
 # *                                                                         *
 # ***************************************************************************
@@ -578,27 +579,30 @@ beterm|BeOS Terminal,
 # 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, 
-       it#8, ncv@
+       it#8, ncv#2
        acsc=+\020\,\021-\030.^Y0\333`\004a\261f\370g\361h\260i\316j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376, 
-       bel=^G, civis=\E[?25l, clear=\E[H\E[J, cnorm=\E[?25h
-       cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C
-       cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP
-       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=\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, 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[[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~, 
+       bel=^G, civis=\E[?25l\E[?1c, clear=\E[H\E[J
+       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
+       cuu1=\E[A, cvvis=\E[?25h\E[?8c, 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=\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, 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[[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, rc=\E8, rev=\E[7m, ri=\EM, rmir=\E[4l, rmso=\E[27m, 
-       rmul=\E[24m, rs1=\Ec, sc=\E7, 
+       rmul=\E[24m, rs1=\Ec\E]R, sc=\E7, 
        sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m, 
        smir=\E[4h, smul=\E[4m, tbc=\E[3g, u6=\E[%i%d;%dR, 
        u7=\E[6n, u8=\E[?6c, u9=\E[c, vpa=\E[%i%p1%dd, 
@@ -615,7 +619,7 @@ linux-c-nc|linux console 1.3.x hack for ncurses only,
 linux-c|linux console 1.3.6+ with private palette for each virtual console, 
        ccc, 
        colors#8, pairs#64, 
-       initc=\E]P%?%p1%{9}%>%t%p1%{10}%-%p'a'%+%c%e%p1%d%p2%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%p3%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%p4%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;, 
+       initc=\E]P%?%p1%{9}%>%t%p1%{10}%-%'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, 
 
@@ -630,11 +634,36 @@ linux-koi8|linux with koi8 alternate character set,
        acsc=+\020\,\021-\030.^Y0\215`\004a\221f\234g\237h\220i\276j\205k\203l\202m\204n\212o~p\0q\0r\0s_t\206u\207v\211w\210x\201y\230z\231{\267|\274~\224, 
        use=linux, use=klone+koi8acs, 
 
-# Another entry for KOI8-r with QingLong's acsc.
-# (which one better complies the standard?)
+# Another entry for KOI8-r with Qing Long's acsc.
+# (which one better complies with the standard?)
 linux-koi8r|linux with koi8-r alternate character set, 
+       kbs=^H, kcub1=^H, kcud1=^J, 
        use=linux, use=klone+koi8acs, 
 
+# From:  Matthew Vernon <mcv21@pick.sel.cam.ac.uk>
+mach|Mach Console, 
+       am, km, 
+       cols#80, it#8, lines#25, 
+       bel=^G, blink=\E[5m, bold=\E[1m, clear=\Ec, cr=^M, 
+       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, 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, 
+       kdch1=\E[9, kend=\E[Y, kf1=\EOP, kf10=\EOY, kf2=\EOQ, 
+       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, 
+       kpp=\E[V, nel=^M^J, rev=\E[7m, rmso=\E[0m, sgr0=\E[0m, 
+       smso=\E[7m, 
+mach-bold|Mach Console with bold instead of underline, 
+       rmul=\E[0m, smul=\E[1m, 
+       use=mach, 
+
+# Entry for the latin1 and latin2 fonts
+linux-lat|linux with latin1 or latin2 alternate character set, 
+       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, 
+
 # SCO console and SOS-Syscons console for 386bsd
 # (scoansi: had unknown capabilities
 #      :Gc=N:Gd=K:Gh=M:Gl=L:Gu=J:Gv=\072:\
@@ -644,18 +673,38 @@ linux-koi8r|linux with koi8-r alternate character set,
 #      :WL=\E[S:WR=\E[T:CL=\E[U:CR=\E[V:\
 # I renamed GS/GE/HM/EN/PU/PD/RT and added klone+sgr-dumb, based
 # on the <smacs>=\E[12m  -- esr)
+#
+# 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
+# values:
+#      F13-F24 are shifted F1-F12
+#      F25-F36 are control F1-F12
+#      F37-F48 are shift+control F1-F12
 scoansi|SCO Extended ANSI standard crt, 
        am, eo, xon, 
-       cols#80, it#8, lines#25, 
+       colors#8, cols#80, it#8, lines#25, pairs#64, 
+       acsc=0[5566778899\:\:;;<<==>>FFGGHHIIJJKKLLMMNNOOPPQQRRSSTTUUVVWWXX`ja0fxgqh2jYk?lZm@nEqDtCu4vAwBx3~y, 
        blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[2J, 
        cub1=\E[D, cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
        cuu1=\E[A, dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, 
-       ht=^I, ich1=\E[@, il1=\E[L, ind=\E[S, kbs=^H, kcub1=\E[D, 
-       kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[F, kf1=\E[M, 
-       kf10=\E[V, kf2=\E[N, kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, 
-       kf7=\E[S, kf8=\E[T, kf9=\E[U, khome=\E[H, knp=\E[G, kpp=\E[I, 
-       ri=\E[T, 
-       use=klone+sgr-dumb, 
+       ht=^I, ich1=\E[@, il1=\E[L, ind=\E[S, invis=\E[8m, kbeg=\E[E, 
+       kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
+       kcuu1=\E[A, kend=\E[F, kf1=\E[M, kf10=\E[V, kf11=\E[W, 
+       kf12=\E[X, kf13=\E[Y, kf15=\E[a, kf16=\E[b, kf17=\E[c, 
+       kf18=\E[d, kf19=\E[e, kf2=\E[N, kf20=\E[f, kf21=\E[g, 
+       kf22=\E[h, kf23=\E[i, kf24=\E[j, kf25=\E[k, kf26=\E[l, 
+       kf27=\E[m, kf28=\E[n, kf29=\E[o, kf3=\E[O, kf30=\E[p, 
+       kf31=\E[q, 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, op=\E[37;40m, rev=\E[7m, 
+       ri=\E[T, rmacs=\E[10m, rmso=\E[m, rmul=\E[m, 
+       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;12%;m, 
+       sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, smul=\E[4m, 
 
 # This actually describes the generic SVr4 display driver for Intel boxes.
 # The <dim=\E[2m> isn't documented and therefore may not be reliable.
@@ -680,7 +729,7 @@ att6386|at386|386at|AT&T WGS 6386 console,
        knp=\E[U, kpp=\E[V, krmir=\E0, nel=\r\E[S, rc=\E8, rev=\E[7m, 
        ri=\E[T, rin=\E[%p1%dT, rmacs=\E[10m, rmso=\E[m, rmul=\E[m, 
        sc=\E7, 
-       sgr=\E[10m\E[0%?%p1%p3%|%t;7%;%?%p2%t;4%;%?%p4%t;5%;%?%p5%t;2%;?%p6%t;1%;%?%p9%t;12%e;10%;%?%p7%t;9%;m, 
+       sgr=\E[10m\E[0%?%p1%p3%|%t;7%;%?%p2%t;4%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p9%t;12%e;10%;%?%p7%t;9%;m, 
        sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, smul=\E[4m, 
        tbc=\E[2g, vpa=\E[%i%p1%dd, 
        use=klone+color, 
@@ -843,9 +892,40 @@ att7300|unixpc|pc7300|3b1|s4|AT&T UNIX PC Model 7300,
        rmso=\E[m, rmul=\E[m, sgr0=\E[0;10m, smso=\E[7m, 
        smul=\E[4m, 
 
-# From: Stefan Stapelberg <stefan@rent-a-guru.de>, 24 Feb 1997
+# Sent by Stefan Stapelberg <stefan@rent-a-guru.de>, 24 Feb 1997, this is
+# from SGI's terminfo database.  SGI's entry shows F9-F12 with the codes
+# for the application keypad mode.  We have added iris-ansi-ap rather than
+# change the original to keypad mode.
+#
 # (iris-ansi: added rmam/smam based on init string -- esr)
-iris-ansi|IRIS emulating 40 line ANSI terminal (almost VT100), 
+#
+# This entry, and those derived from it, is used in xwsh (also known as
+# winterm).  Some capabilities that do not fit into the terminfo model
+# include the shift- and control-functionkeys:
+#
+# F1-F12 generate different codes when shift or control modifiers are used.
+# For example:
+#      F1              \E[001q
+#      shift F1        \E[013q
+#      control-F1      \E[025q
+#
+# In application keypad mode, F9-F12 generate codes like vt100 PF1-PF4, i.e.,
+# \EOP to \EOS.  The shifted and control modifiers still do the same thing.
+#
+# The cursor keys also have different codes:
+#      control-up      \E[162q
+#      control-down    \E[165q
+#      control-left    \E[159q
+#      control-right   \E[168q
+#
+#      shift-up        \E[161q
+#      shift-down      \E[164q
+#      shift-left      \E[158q
+#      shift-right     \E[167q
+#
+#      control-tab     \[072q
+#
+iris-ansi|iris-ansi-net|IRIS emulating 40 line ANSI terminal (almost VT100), 
        am, 
        cols#80, it#8, lines#40, 
        bel=^G, bold=\E[1m, clear=\E[H\E[2J, 
@@ -859,18 +939,18 @@ iris-ansi|IRIS emulating 40 line ANSI terminal (almost VT100),
        kEND=\E[147q, kHOM=\E[143q, kLFT=\E[158q, kPRT=\E[210q, 
        kRIT=\E[167q, kSPD=\E[218q, kbs=^H, kcbt=\E[Z, kcub1=\E[D, 
        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177, 
-       kend=\E[146q, kent=^M, kf1=\E[001q, kf10=\EOQ, kf11=\EOR
-       kf12=\EOS, kf2=\E[002q, kf3=\E[003q, kf4=\E[004q, 
-       kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, kf8=\E[008q, 
-       kf9=\EOP, khome=\E[H, kich1=\E[139q, knp=\E[154q, 
-       kpp=\E[150q, kprt=\E[209q, krmir=\E[146q, kspd=\E[217q, 
-       nel=\EE, pfkey=\EP101;%p1%d.y%p2%s\E\\, rc=\E8
-       rev=\E[7m, ri=\EM, rmam=\E[?7l, rmso=\E[m, rmul=\E[m, sc=\E7
-       sgr0=\E[m, smam=\E[?7h, smso=\E[1;7m, smul=\E[4m, 
+       kend=\E[146q, kent=^M, kf1=\E[001q, kf10=\E[010q
+       kf11=\E[011q, kf12=\E[012q, kf2=\E[002q, kf3=\E[003q, 
+       kf4=\E[004q, kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, 
+       kf8=\E[008q, kf9=\E[009q, khome=\E[H, kich1=\E[139q, 
+       knp=\E[154q, kpp=\E[150q, kprt=\E[209q, krmir=\E[146q, 
+       kspd=\E[217q, nel=\EE, pfkey=\EP101;%p1%d.y%p2%s\E\\
+       rc=\E8, rev=\E[7m, ri=\EM, rmam=\E[?7l, rmso=\E[m, rmul=\E[m
+       sc=\E7, sgr0=\E[m, smam=\E[?7h, smso=\E[1;7m, smul=\E[4m, 
        tbc=\E[3g, 
 iris-ansi-ap|IRIS ANSI in application-keypad mode, 
-       is2=\E[?1l\E>\E[?7h, kf10=\E[010q, kf11=\E[011q, 
-       kf12=\E[012q, rmkx=\E>, smkx=\E=
+       is2=\E[?1l\E=\E[?7h, kent=\EOM, kf10=\E[010q, 
+       kf11=\E[011q, kf12=\E[012q, kf9=\E[009q
        use=iris-ansi, 
 
 # From the man-page, this is a quasi-vt100 emulator that runs on SGI's IRIX
@@ -929,13 +1009,14 @@ ibmpcx|xenix|ibmx|IBM PC xenix console display,
 # handle this case with the <ich1> capability, and prefers <am> for better
 # optimization.  Bug: The <op> capability resets attributes.
 # From: Michael Hunter <mphunter@qnx.com> 30 Jul 1996
+# (removed: <sgr=%?%p1%t\E<%;%p2%t\E[%;%p3%t\E(%;%p4%t\E{%;%p6%t\E<%;,>)
 qnx|qnx4|qnx console, 
        daisy, km, mir, msgr, xhpa, xt, 
        colors#8, cols#80, it#4, lines#25, ncv#3, pairs#8, 
        acsc=O\333a\261j\331k\277l\332m\300n\305o\337q\304s\334t\303u\264v\301w\302x\263, 
        bel=^G, blink=\E{, bold=\E<, civis=\Ey0, clear=\EH\EJ, 
        cnorm=\Ey1, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
-       cup=\EY%p1%' '%+%c%p2%' '%+%c, cuu1=\EA, cvvis=\Ey2, 
+       cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, cvvis=\Ey2, 
        dch1=\Ef, dl1=\EF, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\Ee, 
        il1=\EE, ind=^J, kBEG=\377\356, kCAN=\377\263, 
        kCMD=\377\267, kCPY=\377\363, kCRT=\377\364, 
@@ -978,11 +1059,19 @@ qnx|qnx4|qnx console,
        krmir=\377\313, krpl=\377\362, krst=\377\352, 
        ksav=\377\361, kslt=\377\247, kspd=\377\335, 
        ktbc=\377\344, kund=\377\365, mvpa=\E!%p1%02d, op=\ER, 
-       rep=\Eg%p2%' '%+%c%p1%c, rev=\E(, ri=\EI, rmcup=\Eh\ER, 
+       rep=\Eg%p2%{32}%+%c%p1%c, rev=\E(, ri=\EI, rmcup=\Eh\ER, 
        rmso=\E), rmul=\E], rs1=\ER, setb=\E@%p1%Pb%gb%gf%d%d, 
-       setf=\E@%p1%Pf%gb%gf%d%d, 
-       sgr=%?%p1%t\E<%;%p2%t\E[%;%p3%t\E(%;%p4%t\E{%;%p6%t\E<%;, 
-       sgr0=\E}\E]\E>\E), smcup=\Ei, smso=\E(, smul=\E[, 
+       setf=\E@%p1%Pf%gb%gf%d%d, sgr0=\E}\E]\E>\E), smcup=\Ei, 
+       smso=\E(, smul=\E[, 
+
+# From: Federico Bianchi <bianchi@pc-arte2.arte.unipi.it>, 1 Jul 1998
+# (esr: commented out <scp> and <rmcup> to avoid warnings.)
+# (TD: derive from original qnx4 entry)
+qnxt2|qnx 2.15 serial terminal, 
+       am, 
+       civis@, cnorm@, cvvis@, dch1@, ich1@, kRES@, kRPL@, kUND@, kspd@, 
+       rep@, rmcup@, rmso=\E>, setb@, setf@, smcup@, smso=\E<, 
+       use=qnx4, 
 
 #### NetBSD consoles
 #
@@ -994,15 +1083,15 @@ qnx|qnx4|qnx console,
 # the :Xs: flag. Then I split :is: into a size-independent <is1> and a
 # size-dependent <is2>.  Finally, I added <rmam>/<smam> -- esr)
 
-# NOTE: because the 386BSD "vi"/"elvis" seems to have a bug if
-# both <ich1> and <smir> are specified (an original VT220 
-# shows the same buggy behaviour!), <ich1> has been taken
-# out of this entry. for reference, it should be <ich1=\E[@>.
+# NOTE: <ich1> has been taken out of this entry. for reference, it should
+# be <ich1=\E[@>.  For discussion, see ICH/ICH1 VERSUS RMIR/SMIR below.
+# (esr: added <civis> and <cnorm> to resolve NetBSD Problem Report #4583)
 pcvtXX|pcvt vt200 emulator (DEC VT220), 
        am, km, mir, msgr, xenl, 
        it#8, vt#3, 
        acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz~~, 
-       bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M, 
+       bel=^G, blink=\E[5m, bold=\E[1m, 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=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
@@ -1065,6 +1154,38 @@ pcvt50w|dec vt220 emulation with 50 lines and 132 cols,
        cols#132, lines#50, 
        is2=\E[1;50r\E[50;1H, use=pcvtXX, 
 
+# Terminfo entries to enable the use of the ncurses library in colour on a
+# NetBSD-arm32 console (only tested on a RiscPC).
+# Created by Dave Millen <dmill@globalnet.co.uk> 22.07.98
+# modified codes for setf/setb to setaf/setab, then to klone+color, corrected
+# typo in invis - TD
+arm100|arm100-am|Arm(RiscPC) ncurses compatible (for 640x480), 
+       am, bce, msgr, xenl, xon, 
+       cols#80, it#8, lines#30, 
+       acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
+       bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
+       clear=\E[H\E[J$<50>, 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$<2>, 
+       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>, 
+       enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ind=^J, 
+       invis=\E[8m$<2>, ka1=\E[q, ka3=\E[s, kb2=\E[r, kbs=^H, 
+       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, 
+       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>, 
+       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, 
+       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%;, 
+       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, use=klone+color, 
+
+arm100-w|arm100-wam|Arm(RiscPC) ncurses compatible (for 1024x768), 
+       cols#132, lines#50, use=arm100, 
+
 # NetBSD/x68k console vt200 emulator. This port runs on a 68K machine
 # manufactured by Sharp for the Japenese market.
 # From Minoura Makoto <minoura@netlaputa.or.jp>, 12 May 1996
@@ -1072,6 +1193,46 @@ x68k|x68k-ite|NetBSD/x68k ITE,
        cols#96, lines#32, 
        kclr=\E[9~, khlp=\E[28~, use=vt220, 
 
+# <tv@pobox.com>:
+# Entry for the DNARD OpenFirmware console, close to ANSI but not quite.
+#
+# (still unfinished, but good enough so far.)
+ofcons, 
+       bw, 
+       cols#80, lines#30, 
+       bel=^G, blink=\2337;2m, bold=\2331m, clear=^L, cr=^M, 
+       cub=\233%p1%dD, cub1=\233D, cud=\233%p1%dB, cud1=\233B, 
+       cuf=\233%p1%dC, cuf1=\233C, cup=\233%i%p1%d;%p2%dH, 
+       cuu=\233%p1%dA, cuu1=\233A, dch=\233%p1%dP, dch1=\233P, 
+       dim=\2332m, dl=\233%p1%dM, dl1=\233M, ed=\233J, el=\233K, 
+       flash=^G, ht=^I, ich=\233%p1%d@, ich1=\233@, il=\233%p1%dL, 
+       il1=\233L, ind=^J, invis=\2338m, kbs=^H, kcub1=\233D, 
+       kcud1=\233B, kcuf1=\233C, kcuu1=\233A, kdch1=\233P, 
+       kf1=\2330P, kf10=\2330M, kf2=\2330Q, kf3=\2330W, 
+       kf4=\2330x, kf5=\2330t, kf6=\2330u, kf7=\2330q, kf8=\2330r, 
+       kf9=\2330p, knp=\233/, kpp=\233?, nel=^M^J, rev=\2337m, 
+       rmso=\2330m, rmul=\2330m, sgr0=\2330m, 
+
+# NetBSD "wscons" emulator in vt220 mode
+# These are micro-minimal and probably need to be redone for real
+# after the manner of the pcvt entries.
+wsvt25|NetBSD wscons in 25 line DEC VT220 mode, 
+       cols#80, lines#25, use=vt220, 
+
+wsvt25m|NetBSD wscons in 25 line DEC VT220 mode with Meta, 
+       km, 
+       cols#80, lines#25, use=vt220, 
+
+# `rasterconsole' provided by 4.4BSD, NetBSD and OpenBSD on SPARC, and 
+# DECstation/pmax.
+rcons|BSD rasterconsole, 
+       use=sun-il, 
+# Color version of above. Color currenly only provided by NetBSD.
+rcons-color|BSD rasterconsole with ANSI color, 
+       bce, 
+       colors#8, pairs#64, 
+       op=\E[m, setab=\E[4%dm, setaf=\E[3%dm, use=rcons, 
+
 #### FreeBSD console entries
 #
 # From: Andrey Chernov <ache@astral.msk.su> 29 Mar 1996
@@ -1097,22 +1258,23 @@ x68k|x68k-ite|NetBSD/x68k ITE,
 # Note that this disables standout with color.
 cons25w|ansiw|ansi80x25-raw|freebsd console (25-line raw mode), 
        am, bce, bw, eo, msgr, npc, 
-       colors#8, cols#80, it#8, lines#25, ncv#5, pairs#64, 
+       colors#8, cols#80, it#8, lines#25, ncv#21, pairs#64, 
        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J, 
-       cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, 
-       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[30;1m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, 
-       home=\E[H, hpa=\E[%i%p1%d`, ht=^I, ich=\E[%p1%d@, 
-       ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S, 
-       indn=\E[%p1%dS, kb2=\E[E, kbs=^H, kcbt=\E[Z, kcub1=\E[D, 
-       kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177, kend=\E[F, 
-       kf1=\E[M, kf10=\E[V, kf11=\E[W, kf12=\E[X, kf2=\E[N, 
-       kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S, kf8=\E[T, 
-       kf9=\E[U, khome=\E[H, kich1=\E[L, knp=\E[G, kpp=\E[I, 
-       nel=\E[E, op=\E[x, rev=\E[7m, ri=\E[T, rin=\E[%p1%dT, 
-       rmso=\E[m, rs1=\E[x\E[m\Ec, setab=\E[4%p1%dm, 
-       setaf=\E[3%p1%dm, sgr0=\E[m, smso=\E[7m, vpa=\E[%i%p1%dd, 
+       cnorm=\E[=0C, 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[=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, 
+       hpa=\E[%i%p1%d`, ht=^I, ich=\E[%p1%d@, ich1=\E[@, 
+       il=\E[%p1%dL, il1=\E[L, ind=\E[S, indn=\E[%p1%dS, kb2=\E[E, 
+       kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
+       kcuu1=\E[A, kdch1=\177, kend=\E[F, kf1=\E[M, kf10=\E[V, 
+       kf11=\E[W, kf12=\E[X, kf2=\E[N, kf3=\E[O, kf4=\E[P, kf5=\E[Q, 
+       kf6=\E[R, kf7=\E[S, kf8=\E[T, kf9=\E[U, khome=\E[H, 
+       kich1=\E[L, knp=\E[G, kpp=\E[I, nel=\E[E, op=\E[x, rev=\E[7m, 
+       ri=\E[T, rin=\E[%p1%dT, rmso=\E[m, rs1=\E[x\E[m\Ec, 
+       setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[m, 
+       smso=\E[7m, vpa=\E[%i%p1%dd, 
 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, 
        use=cons25w, 
@@ -1199,30 +1361,34 @@ oldpc3|oldibmpc3|old IBM PC BSD/386 Console,
 # "stty rows NN", e.g. to use 24 lines.
 # (Color support from Kevin Rosenberg <kevin@cyberport.com>, 2 May 1996) 
 # Bug: The <op> capability resets attributes.
-bsdos|BSD/OS console, 
-       am, bw, eo, km, xon, 
-       colors#8, cols#80, it#8, lines#25, pairs#64, 
-       bel=^G, blink=\E[5m, bold=\E[1m, clear=\Ec, cr=^M, 
-       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, dim=\E[=8F, 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, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
-       kcuu1=\E[A, khome=\E[H, kich1=\E[L, kll=\E[F, knp=\E[G, 
-       kpp=\E[I, nel=^M^J, op=\E[x, rc=\E8, rev=\E[7m, rmso=\E[0m, 
-       sc=\E7, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[0m, 
-       smso=\E[7m, 
-bsdos-bold|IBM PC BSD/386 Console with bold instead of underline, 
-       rmul=\E[0m, smul=\E[1m, 
-       use=bsdos, 
-
-# If you are BSDI, you want the following entries, for the moment.  
-# In release 2.0 they will probably phase out the pc3 and ibmpc3 names
-pc3|IBM PC BSD/386 Console, 
-       use=bsdos, 
-ibmpc3|pc3-bold|IBM PC BSD/386 Console with bold instead of underline, 
-       smul=\E[1m, 
-       use=bsdos-bold, 
+bsdos-pc-nobold|BSD/OS PC console w/o bold, 
+       am, eo, km, xon, 
+       cols#80, it#8, lines#25, 
+       bel=^G, clear=\Ec, cr=^M, 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, 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, khome=\E[H, kich1=\E[L, 
+       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%;, 
+       use=klone+sgr, use=klone+color, 
+bsdos-pc|IBM PC BSD/OS Console, 
+       sgr=\E[0;10%?%p1%t;7%;%?%p2%t;1%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m, use=bsdos-pc-nobold, 
+
+# Old names for BSD/OS PC console used in releases before 4.1. 
+pc3|BSD/OS on the PC Console, 
+       use=bsdos-pc-nobold, 
+ibmpc3|pc3-bold|BSD/OS on the PC Console with bold instead of underline, 
+       use=bsdos-pc, 
+# BSD/OS on the SPARC 
+bsdos-sparc|Sun SPARC BSD/OS Console, 
+       use=sun, 
+        
+# BSD/OS on the PowerPC 
+bsdos-ppc|PowerPC BSD/OS Console, 
+       use=bsdos-pc, 
 
 #### DEC VT100 and compatibles
 #
@@ -1242,8 +1408,7 @@ ibmpc3|pc3-bold|IBM PC BSD/386 Console with bold instead of underline,
 # its name to Boundless Technologies; see http://www.boundless.com.
 #
 
-# (The <acsc>, <rmacs>, and <smacs> capabilities aren't in DEC's official
-# entry -- esr)
+# (<acsc>/<rmacs>/<smacs> capabilities aren't in DEC's official entry -- esr)
 vt52|dec vt52, 
        cols#80, it#8, lines#24, 
        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
@@ -1908,6 +2073,83 @@ z340-nam|zstem vt340 terminal emulator 132col 42line (no automatic margins),
        rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H, 
        use=z340, 
 
+# CRT is shareware.  It implements some xterm features, including mouse.
+crt|crt-vt220|CRT 2.3 emulating VT220, 
+       bce, msgr, 
+       colors#8, pairs#64, 
+       hts=\EH, op=\E[39;49m, setab=\E[4%p1%dm, 
+       setaf=\E[3%p1%dm, setb=\E[4%p1%dm, setf=\E[3%p1%dm, 
+       u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c, 
+       use=vt220, 
+
+# 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
+# (communication program) which supports:
+#
+#      - Serial port connections.
+#      - TCP/IP (telnet) connections.
+#      - VT100 emulation, and selected VT200/300 emulation.
+#      - TEK4010 emulation.
+#      - File transfer protocols (Kermit, XMODEM, ZMODEM, B-PLUS and
+#        Quick-VAN).
+#      - Scripts using the "Tera Term Language".
+#      - Japanese and Russian character sets.
+#
+# The program does not come with terminfo or termcap entries.  However, the
+# emulation (testing with vttest and ncurses) is reasonably close to vt100 (no
+# vt52 or doublesize character support; blinking is done with color).  Besides
+# the HPA, VPA extensions it also implements CPL and CNL.
+#
+# All of the function keys can be remapped.  This description shows the default
+# mapping, as installed.  Both vt100 PF1-PF4 keys and quasi-vt220 F1-F4 keys
+# are supported.  F13-F20 are obtained by shifting F3-F10.  The editing keypad
+# is laid out like vt220, rather than the face codes on the PC keyboard, i.e,
+#      kfnd    Insert
+#      kslt    Delete
+#      kich1   Home
+#      kdch1   PageUp
+#      kpp     End
+#      knp     PageDown
+#
+# ANSI colors are implemented, but cannot be combined with video attributes
+# except for reverse.
+#
+# No fonts are supplied with the program, so the acsc string is chosen to
+# correspond with the default Microsoft terminal font.
+#
+# Tera Term recognizes some xterm sequences, including those for setting and
+# 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
+# user resizes the window with the mouse.
+teraterm|Tera Term Pro, 
+       km, xon@, 
+       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, 
+       blink=\E[5m, bold=\E[1m, civis=\E[?25l, clear=\E[H\E[J, 
+       cnorm=\E[?25h, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
+       cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
+       dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, 
+       flash=\E[?5h\E[?5l$<200/>, hpa=\E[%i%p1%dG, 
+       il=\E[%p1%dL, il1=\E[L, 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~, op=\E[100m, rev=\E[7m, ri=\EM, 
+       rmso=\E[27m, rmul=\E[24m, sgr0=\E[m, smso=\E[7m, 
+       smul=\E[4m, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c, 
+       vpa=\E[%i%p1%dd, 
+       use=klone+color, use=vt100, 
+
+# Tested with WinNT 4.0, the telnet application assumes the screensize is
+# 25x80.  This entry uses the 'Terminal' font, to get line-drawing characters.
+ms-vt100|MS telnet imitating dec vt100, 
+       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, 
+       tbc@, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?6c, u9=\E[c, 
+       use=vt100, 
+
 #### X terminal emulators
 #
 # You can add the following line to your .Xdefaults to change the terminal type
@@ -1940,6 +2182,8 @@ x10term|vs100-x10|xterm terminal emulator (X10 window system),
        smso=\E[7m, smul=\E[4m, 
 # Compatible with the R5 xterm 
 # (from the XFree86 3.2 distribution, <blink=@> removed)
+# added khome/kend, rmir/smir, rmul/smul based on the R5 xterm code - TD
+# corrected typos in rs2 string - TD
 xterm-r5|xterm R5 version, 
        am, km, msgr, xenl, 
        cols#80, it#8, lines#24, 
@@ -1951,21 +2195,25 @@ xterm-r5|xterm R5 version,
        el=\E[K, 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, kdch1=\E[3~, 
-       kdl1=\E[31~, kel=\E[8~, kf0=\EOq, kf1=\E[11~, 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~, kf8=\E[19~, 
-       kf9=\E[20~, khome=\E[7~, kich1=\E[2~, kil1=\E[30~, 
-       knp=\E[6~, kpp=\E[5~, rc=\E8, rev=\E[7m, ri=\EM, 
-       rmkx=\E[?1l\E>, rmso=\E[m, 
-       rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H, sc=\E7, 
+       kdl1=\E[31~, kel=\E[8~, kend=\E[4~, kf0=\EOq, kf1=\E[11~, 
+       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~, 
+       kf8=\E[19~, kf9=\E[20~, khome=\E[1~, kich1=\E[2~, 
+       kil1=\E[30~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, rc=\E8, 
+       rev=\E[7m, ri=\EM, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, 
+       rmul=\E[m, 
+       rs2=\E>\E[?1;3;4;5;6l\E[4l\E[?7h\E[m\E[r\E[2J\E[H, 
+       sc=\E7, 
        sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, 
-       sgr0=\E[m, smkx=\E[?1h\E=, smso=\E[7m, tbc=\E[3g, 
+       sgr0=\E[m, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, 
+       smul=\E[4m, tbc=\E[3g, 
 # Compatible with the R6 xterm
 # (from XFree86 3.2 distribution, <acsc> and <it> added, <blink@> removed)
+# added khome/kend - TD
 xterm-r6|xterm-old|xterm X11R6 version, 
        am, km, mir, msgr, xenl, 
        cols#80, it#8, lines#24, 
-       acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
+       acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
        bel=^G, 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, 
@@ -1980,19 +2228,20 @@ xterm-r6|xterm-old|xterm X11R6 version,
        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~, kfnd=\E[1~, 
-       kich1=\E[2~, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, meml=\El
-       memu=\Em, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, 
+       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, rmacs=^O, 
        rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmkx=\E[?1l\E>, 
        rmso=\E[m, rmul=\E[m, 
        rs2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, sc=\E7, 
        sgr0=\E[m, smacs=^N, smcup=\E7\E[?47h, smir=\E[4h, 
        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, 
 # 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.
 xterm-xf86-v32|xterm terminal emulator (XFree86 3.2 Window System), 
        am, bce, km, mir, msgr, xenl, 
        colors#8, cols#80, it#8, lines#24, pairs#64, 
-       acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
+       acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
        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, 
@@ -2023,7 +2272,8 @@ xterm-xf86-v32|xterm terminal emulator (XFree86 3.2 Window System),
        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, 
        smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
-       tbc=\E[3g, vpa=\E[%i%p1%dd, 
+       tbc=\E[3g, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c, 
+       vpa=\E[%i%p1%dd, 
 
 # This is the stock xterm entry supplied with XFree86 3.3, which uses VT100
 # codes for F1-F4 except while in VT220 mode.
@@ -2031,24 +2281,40 @@ xterm-xf86-v33|xterm terminal emulator (XFree86 3.3 Window System),
        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
        use=xterm-xf86-v32, 
 
-# This beta version will probably be released in XFree86 4.0 in 1998.
+# This version was released in XFree86 3.3.3 (November 1998).
 # Besides providing printer support, it exploits a new feature that allows
 # xterm to use terminfo-based descriptions with the titeInhibit resource.
-xterm-xf86-v40|xterm terminal emulator (XFree86 4.0 Window System), 
+xterm-xf86-v333|xterm terminal emulator (XFree86 3.3.3 Window System), 
        mc5i, 
-       mc0=\E[i, mc4=\E[4i, mc5=\E[5i, rmcup=\E[?1047l\E[?1048l, 
-       rs1=\Ec, smcup=\E[?1048h\E[?1047h, 
+       blink=\E[5m, ich1@, invis=\E[8m, 
+       is2=\E[!p\E[?3;4l\E[4l\E>, kdch1=\E[3~, kend=\E[4~, 
+       kfnd@, khome=\E[1~, kslt@, mc0=\E[i, mc4=\E[4i, mc5=\E[5i, 
+       rmcup=\E[?1047l\E[?1048l, rs1=\Ec, 
+       rs2=\E[!p\E[?3;4l\E[4l\E>, 
+       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%;, 
+       smcup=\E[?1048h\E[?1047h, 
        use=xterm-xf86-v33, 
 
+# This beta version will probably be released in XFree86 4.0.
+xterm-xf86-v40|xterm terminal emulator (XFree86 4.0 Window System), 
+       ka1=\EOH, ka3=\E[5~, kb2=\EOE, kc1=\EOF, kc3=\E[6~, 
+       kdch1=\177, kend=\EOF, khome=\EOH, rmcup=\E[?1049l, 
+       smcup=\E[?1049h, 
+       use=xterm-xf86-v333, 
+
+xterm-xfree86|xterm-new|xterm terminal emulator (XFree86 4.0 Window System), 
+       use=xterm-xf86-v40, 
+
 # From: David J. MacKenzie <djm@va.pubnix.com>, 14 Nov 1997
 xterm-xi|xterm on XI Graphics Accelerated X under BSD/OS 3.1, 
        rmso=\E[m, rmul=\E[m, 
        use=xterm-xf86-v33, 
 
-# This is one of the variants from XFree86 3.3 (T.Dickey)
+# This is one of the variants of XFree86 3.3 xterm, updated for 4.0 (T.Dickey)
 xterm-16color|xterm with 16 colors like aixterm, 
        colors#16, ncv#32, pairs#256, 
-       setab@, setaf@, 
+       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, 
        use=xterm-xf86-v40, 
@@ -2065,9 +2331,9 @@ xterm-16color|xterm with 16 colors like aixterm,
 xterm-8bit|xterm terminal emulator 8-bit controls (X Window System), 
        am, bce, km, mc5i, mir, msgr, xenl, 
        colors#8, cols#80, it#8, lines#24, pairs#64, 
-       acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
-       bel=^G, bold=\2331m, cbt=\233Z, civis=\233?25l
-       clear=\233H\2332J, cnorm=\233?25h, cr=^M, 
+       acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
+       bel=^G, blink=\2335m, bold=\2331m, cbt=\233Z
+       civis=\233?25l, clear=\233H\2332J, cnorm=\233?25h, cr=^M, 
        csr=\233%i%p1%d;%p2%dr, cub=\233%p1%dD, cub1=^H, 
        cud=\233%p1%dB, cud1=^J, cuf=\233%p1%dC, cuf1=\233C, 
        cup=\233%i%p1%d;%p2%dH, cuu=\233%p1%dA, cuu1=\233A, 
@@ -2075,36 +2341,39 @@ xterm-8bit|xterm terminal emulator 8-bit controls (X Window System),
        dl=\233%p1%dM, dl1=\233M, ech=\233%p1%dX, ed=\233J, 
        el=\233K, el1=\2331K, enacs=\E(B\E)0, 
        flash=\233?5h\233?5l, home=\233H, hpa=\233%i%p1%dG, 
-       ht=^I, hts=\210, ich=\233%p1%d@, ich1=\233@, il=\233%p1%dL, 
-       il1=\233L, ind=^J
+       ht=^I, hts=\210, ich=\233%p1%d@, il=\233%p1%dL, il1=\233L, 
+       ind=^J, invis=\2338m
        is2=\E7\E G\233r\233m\233?7h\233?1;3;4;6l\2334l\E8\E>, 
        ka1=\217w, ka3=\217u, kb2=\217y, kbeg=\217E, kbs=^H, 
        kc1=\217q, kc3=\217s, kcub1=\217D, kcud1=\217B, 
-       kcuf1=\217C, kcuu1=\217A, kdch1=\2333~, kend=\217F
+       kcuf1=\217C, kcuu1=\217A, kdch1=\2333~, kend=\2334~
        kent=\217M, kf1=\23311~, kf10=\23321~, kf11=\23323~, 
        kf12=\23324~, kf13=\23325~, kf14=\23326~, kf15=\23328~, 
        kf16=\23329~, kf17=\23331~, kf18=\23332~, kf19=\23333~, 
        kf2=\23312~, kf20=\23334~, kf3=\23313~, kf4=\23314~, 
        kf5=\23315~, kf6=\23317~, kf7=\23318~, kf8=\23319~, 
-       kf9=\23320~, kfnd=\2331~, khome=\217H, kich1=\2332~
-       kmous=\233M, knp=\2336~, kpp=\2335~, kslt=\2334~
-       mc0=\233i, mc4=\2334i, mc5=\2335i, meml=\El, memu=\Em, 
-       op=\23339;49m, rc=\E8, rev=\2337m, ri=\215, rmacs=^O
-       rmam=\233?7l, rmcup=\2332J\233?47l\E8, rmir=\2334l
-       rmkx=\233?1l\E>, rmso=\23327m, rmul=\23324m, rs1=\Ec, 
+       kf9=\23320~, khome=\2331~, kich1=\2332~, kmous=\233M
+       knp=\2336~, kpp=\2335~, mc0=\233i, mc4=\2334i, mc5=\2335i
+       meml=\El, memu=\Em, op=\23339;49m, rc=\E8, rev=\2337m, 
+       ri=\215, rmacs=^O, rmam=\233?7l, rmcup=\233?1049l
+       rmir=\2334l, rmkx=\233?1l\E>, rmso=\23327m, rmul=\23324m
+       rs1=\Ec, 
        rs2=\E7\E[62"p\E G\233r\233m\233?7h\233?1;3;4;6l\2334l\E8\E>, 
        sc=\E7, setab=\2334%p1%dm, setaf=\2333%p1%dm, 
        setb=\2334%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
        setf=\2333%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
-       sgr=\2330%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
-       sgr0=\233m^O, smacs=^N, smam=\233?7h, smcup=\E7\233?47h, 
+       sgr=\2330%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
+       sgr0=\233m^O, smacs=^N, smam=\233?7h, smcup=\233?1049h, 
        smir=\2334h, smkx=\233?1h\E=, smso=\2337m, smul=\2334m, 
-       tbc=\2333g, vpa=\233%i%p1%dd, 
+       tbc=\2333g, u6=\233[%i%d;%dR, u7=\E[6n, u8=\233[?1;2c, 
+       u9=\E[c, vpa=\233%i%p1%dd, 
+
+xterm-24|vs100|xterms|xterm terminal emulator (X Window System), 
+       lines#24, use=xterm, 
 
-# This is xterm for ncurses. It mainly adds mappings for more high-half
-# characters.  Note that these will only work for fixed-width fonts.
-xterm|vs100|xterms|xterm terminal emulator (X Window System), 
-       acsc=++\,\,--..00``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
+# This is xterm for ncurses.
+xterm|xterm terminal emulator (X Window System), 
+       acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
        kmous=\E[M, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c, 
        use=xterm-r6, 
 
@@ -2115,17 +2384,18 @@ xterm|vs100|xterms|xterm terminal emulator (X Window System),
 xterm+sl|access X title line and icon name, 
        hs, 
        wsl#40, 
-       dsl=\E]0;\007, fsl=^G, tsl=\E]0;, 
+       dsl=\E]0;\007, fsl=^G, tsl=\E]0;, use=xterm, 
 xterm+sl-twm|access X title line (pacify twm-descended window managers), 
        hs, 
        wsl#40, 
-       dsl=\E]2;\007, fsl=^G, tsl=\E]2;, 
+       dsl=\E]2;\007, fsl=^G, tsl=\E]2;, use=xterm, 
 
 #
 # The following xterm variants don't depend on your base version
 #
+# xterm with bold instead of underline
 xterm-bold|xterm terminal emulator (X11R6 Window System) standout w/bold, 
-       smso=\E[1m, 
+       smso=\E[7m, smul=\E[1m, 
        use=xterm, 
 # (kterm: this had extension capabilities ":KJ:TY=ascii:" -- esr)
 # (kterm should not invoke DEC Graphics as the alternate character set
@@ -2149,6 +2419,8 @@ xterm1|xterm terminal emulator ignoring the alternate screen buffer,
 # before ECMA-64 color support was folded into the main-line xterm release.
 # This entry is straight from color_xterm's maintainer.
 # From: Jacob Mandelson <jlm@ugcs.caltech.edu>, 09 Nov 1996
+# The README's with the distribution also say that it supports SGR 21, 24, 25
+# and 27, but they are not present in the terminfo or termcap.
 color_xterm|cx|cx100|color_xterm color terminal emulator for X, 
        am, km, mir, msgr, xenl, 
        colors#8, cols#80, it#8, lines#65, pairs#64, 
@@ -2176,6 +2448,15 @@ color_xterm|cx|cx100|color_xterm color terminal emulator for X,
        smcup=\E[?1;41s\E[?1;41h\E=, smir=\E[4h, smso=\E[7m, 
        smul=\E[4m, 
 
+# The 'nxterm' distributed with Redhat Linux is a slight rehack of
+# xterm-sb_right-ansi-3d, which implements ANSI colors, but does not support
+# SGR 39 or 49.  SGR 0 does reset colors (along with everything else).  This
+# description is "compatible" with color_xterm, rxvt and XFree86 xterm, except
+# that each of those implements the home, end, delete keys differently.
+nxterm|xterm-color|generic color xterm, 
+       ncv@, 
+       op=\E[m, use=xterm-r6, use=klone+color, 
+
 # From: Thomas Dickey <dickey@clark.net> 04 Oct 1997
 # Updated: Oezguer Kesim <kesim@math.fu-berlin.de> 02 Nov 1997
 # Notes:
@@ -2188,6 +2469,9 @@ color_xterm|cx|cx100|color_xterm color terminal emulator for X,
 #      ech=\E[%p1%dX,
 # but the latter does not work correctly.
 #
+# The distributed terminfo says it implements hpa and vpa, but they are not
+# implemented correctly, using relative rather than absolute positioning.
+#
 # rxvt is normally configured to look for "xterm" or "xterm-color" as $TERM.
 # Since rxvt is not really compatible with xterm, it should be configured as
 # "rxvt" (monochrome) and "rxvt-color". 
@@ -2217,8 +2501,8 @@ rxvt-basic|rxvt terminal base (X Window System),
        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[?47l\E8, rmir=\E[4l
-       rmkx=\E>, rmso=\E[27m, rmul=\E[24m, 
+       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, 
        rs2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E>, 
        s0ds=\E(B, s1ds=\E(0, sc=\E7, sgr0=\E[0m\017, smacs=^N, 
@@ -2229,6 +2513,41 @@ rxvt|rxvt terminal emulator (X Window System),
        op=\E[39;49m, setab=\E[%p1%{40}%+%dm, 
        setaf=\E[%p1%{30}%+%dm, sgr0=\E[m\017, use=rxvt-basic, 
 
+# These (xtermc and xtermm) are distributed with Solaris.  They refer to a
+# variant of xterm which is apparently no longer supported, but are interesting
+# because they illustrate SVr4 curses mouse controls - T.Dickey
+xtermm|xterm terminal emulator (monocrome), 
+       am, km, mir, msgr, xenl, 
+       btns#3, cols#80, it#8, lines#24, 
+       acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
+       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, 
+       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$<3>, enacs=\E(B\E)0, getm=\E[%p1%dY, 
+       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, 
+       kbs=^H, kc1=\EOp, kc3=\EOn, kcub1=\EOD, kcud1=\EOB, 
+       kcuf1=\EOC, kcuu1=\EOA, kend=\E[Y, kent=\EOM, kf0=\EOy, 
+       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, kmous=\E[^_, knp=\E[U, kpp=\E[V, 
+       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, 
+       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%;, 
+       sgr0=\E[m\017, smacs=^N, smcup=\E@0\E[?4s\E[?4h\E@1, 
+       smso=\E[7m, tbc=\E[3g, 
+
+xtermc|xterm terminal emulator (color), 
+       colors#8, ncv#7, pairs#64, 
+       op=\E[100m, 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=xtermm, 
+
 # From: David J. MacKenzie <djm@va.pubnix.com> 20 Apr 1995
 # Here's a termcap entry I've been using for xterm_color, which comes
 # with BSD/OS 2.0, and the X11R6 contrib tape too I think.  Besides the
@@ -2259,7 +2578,7 @@ hpterm|X-hpterm|hp X11 terminal emulator,
        pln=\E&f%p1%dk%p2%l%dd0L%p2%s, rev=\E&dB, ri=\ET, 
        rmacs=^O, rmir=\ER, rmkx=\E&s0A, rmln=\E&j@, rmso=\E&d@, 
        rmul=\E&d@, 
-       sgr=\E&d%?%p7%t%'s'%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%'@'%+%c%?%p9%t%'\016'%c%e%'\017'%c%;, 
+       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, 
        smso=\E&dJ, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY, 
 
@@ -2287,7 +2606,6 @@ xterms-sun|small (80x24) xterm with sunFunctionKeys true,
        cols#80, lines#24, use=xterm-sun, 
 
 # This is for the extensible terminal emulator on the X11R6 contrib tape.
-# (emu: I changed <setab>/<setaf> to <setb>/<setf> -- esr)
 emu|emu native mode, 
        mir, msgr, xon, 
        colors#15, cols#80, it#8, lines#24, pairs#64, vt#200, 
@@ -2308,11 +2626,11 @@ emu|emu native mode,
        kf7=\EF07, kf8=\EF08, kf9=\EF09, kfnd=\Efind, kich1=\Eins, 
        knp=\Enext, kpp=\Eprior, kslt=\Esel, oc=\Es0;\Er0;, 
        rev=\ES\ET, ri=\EF, rmacs=\0, rmir=\EX, rmso=\ES, rmul=\ES, 
-       rs2=\ES\Es0;\Er0;, setb=\Es%i%p1%d;, setf=\Er%i%p1%d;, 
-       sgr0=\ES, smacs=\0, smir=\EY, smso=\ES\ET, smul=\ES\EV
-       tbc=\Ej, 
+       rs2=\ES\Es0;\Er0;, setab=\Es%i%p1%d;, 
+       setaf=\Er%i%p1%d;, sgr0=\ES, smacs=\0, smir=\EY
+       smso=\ES\ET, smul=\ES\EV, tbc=\Ej, 
 
-######## MGR
+#### MGR
 #
 # MGR is a Bell Labs window system lighter-weight than X.
 # These entries describe MGR's xterm-equivalent. 
@@ -2380,7 +2698,7 @@ eterm|gnu emacs term.el terminal emulation,
        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, 
+       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, rev=\E[7m, 
        rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmso=\E[m, rmul=\E[m, 
@@ -2397,22 +2715,22 @@ screen|VT 100/ANSI X3.64 virtual terminal,
        colors#8, cols#80, it#8, lines#24, pairs#64, 
        acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
-       clear=\E[H\E[J, cnorm=\E[?25h, cr=^M, 
+       clear=\E[H\E[J, cnorm=\E[34h\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=\EM, 
        cvvis=\E[34l, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
-       dl1=\E[M, ed=\E[J, el=\E[K, enacs=\E(B\E)0, flash=\Eg
-       home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL
-       il1=\E[L, ind=^J, is2=\E)0, kbs=^H, kcub1=\EOD, kcud1=\EOB
-       kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~, kf1=\EOP, kf10=\E[21~
-       kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR, kf4=\EOS
-       kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
-       khome=\E[1~, kich1=\E[2~, kll=\E[4~, knp=\E[6~, kpp=\E[5~, 
-       nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, rmir=\E[4l
-       rmkx=\E[?1l\E>, rmso=\E[23m, rmul=\E[24m, rs2=\Ec, sc=\E7
-       sgr0=\E[m, smacs=^N, smir=\E[4h, smkx=\E[?1h\E=
-       smso=\E[3m, smul=\E[4m, tbc=\E[3g, 
+       dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0
+       flash=\Eg, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@
+       il=\E[%p1%dL, il1=\E[L, ind=^J, is2=\E)0, kbs=^H, kcub1=\EOD
+       kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~, kf1=\EOP
+       kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR
+       kf4=\EOS, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, 
+       kf9=\E[20~, khome=\E[1~, kich1=\E[2~, kll=\E[4~, knp=\E[6~, 
+       kpp=\E[5~, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O
+       rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[23m, rmul=\E[24m
+       rs2=\Ec, sc=\E7, sgr0=\E[m, smacs=^N, smir=\E[4h
+       smkx=\E[?1h\E=, smso=\E[3m, smul=\E[4m, tbc=\E[3g, 
        use=ecma+color, 
 
 screen-w|VT 100/ANSI X3.64 virtual terminal with 132 cols, 
@@ -2448,6 +2766,90 @@ screen3|older VT 100/ANSI X3.64 virtual terminal,
        sc=\E7, sgr0=\E[m, smir=\E[4h, smkx=\E=, smso=\E[3m, 
        smul=\E[4m, tbc=\E[3g, 
 
+# Francesco Potorti <F.Potorti@cnuce.cnr.it>:
+# NCSA telnet is one of the most used telnet clients for the Macintosh.  It has
+# been maintained until recently by the National Center for Supercomputer
+# Applications, and it is feature rich, stable and free.  It can be downloaded
+# from www.ncsa.edu.  This terminfo description file is based on xterm-vt220,
+# xterm+sl, and the docs at NCSA.  It works well.
+#
+# NCSA Telnet 2.6 for Macintosh in vt220 8-bit emulation mode
+# The terminal options should be set as follows:
+#         Xterm sequences ON
+#         use VT wrap mode ON
+#         use Emacs arrow keys OFF
+#         CTRL-COMND is Emacs meta ON
+#         8 bit mode ON
+#         answerback string: "ncsa-vt220-8"
+#         setup keys: all disabled
+#
+# Application mode is not used.
+#
+# Other special mappings:
+#      Apple           VT220
+#      HELP            Find
+#      HOME            Insert here
+#      PAGEUP          Remove
+#      DEL             Select
+#      END             Prev Screen
+#      PAGEDOWN        Next Screen
+#
+# Though it supports ANSI color, NCSA Telnet uses color to represent blinking
+# text.
+#
+# The status-line manipulation is a mapping of the xterm-compatible control
+# sequences for setting the window-title.  So you must use tsl and fsl in
+# pairs, since the latter ends the string that is loaded to the window-title.
+ncsa-m|ncsa-vt220-8|NCSA Telnet 2.6 for Macintosh in vt220-8 mode, 
+       am, hs, km, mir, msgr, xenl, 
+       acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
+       bel=^G, blink=\E[5m, bold=\E[1m, 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, 
+       dsl=\E]0;\007, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0, 
+       flash=\E[?5h\E[?5l, fsl=^G, home=\E[H, ht=^I, hts=\EH, 
+       ich=\E[%p1%d@, if=/usr/share/tabset/vt100, 
+       il=\E[%p1%dL, il1=\E[L, ind=\n$<150*>, 
+       is2=\E7\E[r\E[m\E[?7h\E[?1;4;6l\E[4l\E8\E>, kbs=^H, 
+       kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
+       kdch1=\E[4~, kend=\E[5~, kf1=\E[17~, kf10=\E[28~, 
+       kf11=\E[29~, kf12=\E[31~, kf13=\E[32~, kf14=\E[33~, 
+       kf15=\E[34~, kf2=\E[18, kf3=\E[19~, kf4=\E[20~, kf5=\E[21~, 
+       kf6=\E23~, 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, 
+       rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt100, ri=\EM, 
+       rmacs=^O, rmam=\E[?7l, rmcup=\E[2J\E8, rmir=\E[4l, 
+       rmso=\E[27m, rmul=\E[24m, 
+       rs2=\E7\E[r\E[m\E[?7h\E[?1;4;6l\E[4l\E8\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%;, 
+       sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E7, 
+       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, 
+ncsa|NCSA Telnet 2.7 for Macintosh in vt220-8 mode, 
+       use=ncsa-m, use=klone+color, 
+ncsa-ns|NCSA Telnet 2.7 for Macintosh in vt220-8 mode, 
+       hs@, 
+       dsl@, fsl@, tsl@, use=ncsa, 
+ncsa-m-ns|NCSA Telnet 2.6 for Macintosh in vt220-8 mode, 
+       hs@, 
+       dsl@, fsl@, tsl@, use=ncsa-m, 
+# alternate -TD:
+# The documented function-key mapping refers to the Apple Extended Keyboard
+# (e.g., NCSA Telnet's F1 corresponds to a VT220 F6).  We use the VT220-style
+# codes, however, since the numeric keypad (VT100) PF1-PF4 are available on
+# some keyboards and many applications require these as F1-F4.
+#
+ncsa-vt220|NCSA Telnet using vt220-compatible function keys, 
+       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, kf6=\E[17~, kf7=\E[18~, 
+       kf8=\E[19~, kf9=\E[20~, 
+       use=ncsa, 
+
 #### Pilot Pro Palm-Top
 #
 # From: Jason Downs <downsj@downsj.com>, 15 Jun 1997 (Top Gun Telnet's author)
@@ -2459,7 +2861,7 @@ pilot|tgtelnet|Top Gun Telnet on the Palm Pilot Professional,
        ind=^J, kbs=^H, kcub1=^H, kcud1=^J, knp=^L, kpp=^K, nel=\Em~\s, 
        rmso=\EB, smso=\Eb, 
 
-######## WORKSTATION CONSOLES
+######## COMMERCIAL WORKSTATION CONSOLES
 #
 
 #### Alpha consoles
@@ -2606,7 +3008,7 @@ psterm-fast|NeWS psterm fast version (flaky ctrl chars),
        rmso=^No, rmul=^Nu, sc=^], sgr0=^N*, smcup=^Ot, smir=^Oi, 
        smso=^Oo, smul=^Ou, tsl=^Ol, 
 
-#### NeXT Consoles
+#### NeXT consoles
 #
 # Use `glasstty' for the Workspace application
 #
@@ -2625,7 +3027,7 @@ nextshell|NeXT Shell application,
        bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, kbs=^H, kcub1=^H, 
        kcud1=^J, nel=^M^J, 
 
-### Sony NEWS workstations
+#### Sony NEWS workstations
 #
 
 # (news-unk: this had :KB=news: -- esr)
@@ -2696,9 +3098,6 @@ nwp512|news|nwp514|news40|vt100-bm|sony vt100 emulator 40 lines,
 #
 # (nwp512-a: this had :TY=ascii: and the alias vt100-bm --esr)
 nwp512-a|nwp514-a|news-a|news42|news40-a|sony vt100 emulator 42 line, 
-       
-       
-s, 
        lines#42, 
        is2=\E[?7h\E[?1l\E[?3l\E7\E[1;42r\E8, use=news-old-unk, 
 #
@@ -2767,6 +3166,7 @@ nwp517-w|nwp-517-w|nwp-517 vt200 132 cols 50 rows,
 #
 
 # This ships with Sun's CDE in Solaris 2.5
+# Corrected Sun Aug 9 1998 by Alexander V. Lukyanov <lav@video.yars.free.net>
 dtterm|CDE desktop terminal, 
        am, mir, msgr, xenl, xon, 
        colors#8, cols#80, it#8, lines#24, lm#0, pairs#64, 
@@ -2778,10 +3178,10 @@ dtterm|CDE desktop terminal,
        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, el1=\E[1K, 
-       flash=\E[?5h$<200>\E[?5l, home=\E[H, ht=^I, hts=\EH, 
-       ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED
-       invis=\E[8m, is2=\E F\E>\E[?1l\E[?7h\E[?45l, kbs=^H
-       kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
+       enacs=\E(B\E)0, flash=\E[?5h$<200>\E[?5l, home=\E[H, 
+       ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L
+       ind=\ED, invis=\E[8m, is2=\E F\E>\E[?1l\E[?7h\E[?45l
+       kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
        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~, 
@@ -2796,7 +3196,7 @@ dtterm|CDE desktop terminal,
        sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
        smso=\E[2;7m, smul=\E[4m, tbc=\E[3g, 
 
-### Non-Unix Consoles
+#### Non-Unix Consoles
 #
 
 # Except for the "-emx" suffixes, these are as distributed with EMX 0.9b,
@@ -2866,6 +3266,19 @@ mono-emx|stupid monochrome ansi terminal with only one kind of emphasis,
        kich1=\0R, kll=\0O, knp=\0Q, kpp=\0I, nel=^M^J, rev=\E[7m, 
        sgr0=\E[0m, 
 
+# Use this for cygwin32 (tested with beta 19.1)
+# underline is colored bright magenta
+# shifted kf1-kf12 are kf11-kf22
+cygwin|ansi emulation for cygwin32, 
+       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~, rmam@, smam@, 
+       use=ansi.sys, 
+
 # This entry fits the Windows NT console when the _POSIX_TERM environment
 # variable is set to 'on'.  While the Windows NT POSIX console is seldom used,
 # the Telnet client supplied with both the Windows for WorkGroup 3.11 TCP/IP
@@ -3048,7 +3461,7 @@ hp262x|HP 262x terminals,
        kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, khome=\Eh, 
        kich1=\EQ, kil1=\EL, kind=\ES, knp=\EU, kpp=\EV, kri=\ET, 
        krmir=\ER, rev=\E&dB, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@, 
-       sgr=\E&d%'@'%?%p1%t%'B'%|%;%?%p2%t%'D'%|%;%?%p3%t%'B'%|%;%?%p4%t%'A'%|%;%c, 
+       sgr=\E&d%{64}%?%p1%t%{66}%|%;%?%p2%t%{68}%|%;%?%p3%t%{66}%|%;%?%p4%t%{65}%|%;%c, 
        sgr0=\E&d@, smkx=\E&s1A, smso=\E&dB, smul=\E&dD, 
 
 # Note: no <home> on HPs since that homes to top of memory, not screen.
@@ -3255,7 +3668,7 @@ hp2645|hp45|HP 2645 series,
        ked=\EJ, kel=\EK, khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, 
        kind=\ES, knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, rev=\E&dB, 
        rmkx=\E&s0A, 
-       sgr=\E&d%'@'%?%p1%t%'B'%|%;%?%p2%t%'D'%|%;%?%p3%t%'B'%|%;%?%p4%t%'A'%|%;%?%p5%t%'H'%|%;%?%p6%t%'B'%|%;%c, 
+       sgr=\E&d%{64}%?%p1%t%{66}%|%;%?%p2%t%{68}%|%;%?%p3%t%{66}%|%;%?%p4%t%{65}%|%;%?%p5%t%{72}%|%;%?%p6%t%{66}%|%;%c, 
        sgr0=\E&d@, smkx=\E&s1A, smul=\E&dD, 
        use=hpgeneric, 
 # You should use this terminal at 4800 baud or less.
@@ -3279,7 +3692,7 @@ hp2382a|hp2382|hewlett packard 2382a,
        acsc@, 
        pln=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s, 
        rmacs@, 
-       sgr=\E&d%{0}%Pa%?%p4%t%{1}%ga%+%Pa%;%?%p1%p3%|%p6%|%t%{2}%ga%+%Pa%;%?%p2%p6%|%t%{4}%ga%+%Pa%;%?%p1%p5%|%t%{8}%ga%+%Pa%;%?%p7%t%?%ga%ts%ga%'@'%+%e%'S'%;%e%?%ga%t%ga%'@'%+%e%'@'%;%;%c, 
+       sgr=\E&d%{0}%Pa%?%p4%t%{1}%ga%+%Pa%;%?%p1%p3%|%p6%|%t%{2}%ga%+%Pa%;%?%p2%p6%|%t%{4}%ga%+%Pa%;%?%p1%p5%|%t%{8}%ga%+%Pa%;%?%p7%t%?%ga%ts%ga%{64}%+%e%{83}%;%e%?%ga%t%ga%{64}%+%e%{64}%;%;%c, 
        sgr0=\E&d@, smacs@, 
        use=hp+labels, use=scrhp, 
 
@@ -3307,7 +3720,7 @@ newhp|generic entry for new hewlett packard terminals,
        pfloc=\E&f1a%p1%dk0d%p2%l%dL%p2%s, 
        pfx=\E&f2a%p1%dk0d%p2%l%dL%p2%s, rev=\E&dB, ri=\ET, 
        rmacs=^O, rmir=\ER, rmso=\E&d@, rmul=\E&d@, rs1=\Eg, 
-       sgr=\E&d%{0}%Pa%?%p4%t%{1}%ga%+%Pa%;%?%p1%p3%|%p6%|%t%{2}%ga%+%Pa%;%?%p2%p6%|%t%{4}%ga%+%Pa%;%?%p1%p5%|%t%{8}%ga%+%Pa%;%?%p7%t%?%ga%ts%ga%'@'%+%e%'S'%;%e%?%ga%t%ga%'@'%+%e%'@'%;%;%c%?%p9%t\016%e\017%;, 
+       sgr=\E&d%{0}%Pa%?%p4%t%{1}%ga%+%Pa%;%?%p1%p3%|%p6%|%t%{2}%ga%+%Pa%;%?%p2%p6%|%t%{4}%ga%+%Pa%;%?%p1%p5%|%t%{8}%ga%+%Pa%;%?%p7%t%?%ga%ts%ga%{64}%+%e%{83}%;%e%?%ga%t%ga%{64}%+%e%{64}%;%;%c%?%p9%t\016%e\017%;, 
        sgr0=\E&d@\017, smacs=^N, smir=\EQ, smso=\E&dJ, smul=\E&dD, 
        tbc=\E3, 
        use=newhpkeyboard, 
@@ -3345,7 +3758,7 @@ hp2621b|hp 2621b with old style keyboard,
        lh#1, lm#48, lw#8, nlab#8, 
        kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh, 
        kind=\ET, kll=\EF, kri=\ES, 
-       pln=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d3L%?%ga%!%t%{32}%c%;%p2%s\E%'o'%p1%+%c\r, 
+       pln=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d3L%?%ga%!%t%{32}%c%;%p2%s\E%{111}%p1%+%c\r, 
        smln=\E&jB, 
        use=hp2621, 
 
@@ -3491,7 +3904,7 @@ hp2|hpex2|hewlett-packard extended capabilities newer version,
        pfx=\E&f2a%p1%dk%p2%l%dL%p2%s, 
        pln=\E&f%p1%dk%p2%l%dd0L%p2%s, rmir=\ER, rmkx=\E&s0A, 
        rmln=\E&j@, rmso=\E&d@, rmul=\E&d@, 
-       sgr=\E&d%?%p7%t%'s'%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%'@'%+%c%?%p9%t%'\016'%c%e%'\017'%c%;, 
+       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@, smir=\EQ, smkx=\E&s1A, smln=\E&jB, smso=\E&dB, 
        smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY, 
 
@@ -3576,22 +3989,22 @@ hp700-wy|HP700/41 emulating wyse30,
        sgr0=\EG0$<10/>, smir=\Eq, smso=\EG4$<10/>, 
        smul=\EG8$<10/>, tbc=\E0, vpa=\E[%p1%{32}%+%c, 
 # (hp70092: added empty <acsc> to avoid warnings re <smacs>/<rmacs> --esr)
-hp70092|hp70092a|hp70092A|HP 700/92, 
+hp70092|hp70092a|hp70092A|70092|HP 700/92, 
        am, da, db, xhp, 
        cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8, 
-       acsc=, bel=^G, blink=\E&dA, bold=\E&dB, cbt=\Ei
-       clear=\E&a0y0C\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC
-       cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, dim=\E&dH
-       dl1=\EM, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, il1=\EL
-       kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC
-       kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, kf1=\Ep
-       kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew
-       khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, kind=\ES, kll=\EF
-       knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, ktbc=\E3, rev=\E&dB
-       ri=\ET, rmacs=^O, rmir=\ER, rmkx=\E&s0A, rmln=\E&j@
-       rmso=\E&d@, rmul=\E&d@, sgr0=\E&d@, smacs=^N, smir=\EQ
-       smkx=\E&s1A, smln=\E&jB, smso=\E&dJ, smul=\E&dD, tbc=\E3
-       vpa=\E&a%p1%dY, 
+       acsc=0cjgktlrmfn/q\,t5u6v8w7x., bel=^G, blink=\E&dA
+       bold=\E&dB, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M, cub1=^H
+       cud1=\EB, cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA
+       dch1=\EP, dim=\E&dH, dl1=\EM, el=\EK, hpa=\E&a%p1%dC, ht=^I
+       hts=\E1, il1=\EL, kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED
+       kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM
+       ked=\EJ, kel=\EK, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et
+       kf6=\Eu, kf7=\Ev, kf8=\Ew, khome=\Eh, khts=\E1, kich1=\EQ
+       kil1=\EL, kind=\ES, kll=\EF, knp=\EU, kpp=\EV, kri=\ET
+       krmir=\ER, ktbc=\E3, rev=\E&dB, ri=\ET, rmacs=^O, rmir=\ER
+       rmkx=\E&s0A, rmln=\E&j@, rmso=\E&d@, rmul=\E&d@
+       sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A, smln=\E&jB
+       smso=\E&dJ, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY, 
 
 bobcat|sbobcat|HP 9000 model 300 console, 
        am, da, db, mir, xhp, 
@@ -3654,8 +4067,8 @@ dku7003|Honeywell Bull DKU 7003 all features described,
 # `diagnostic feature' that sending them a ^G while pin 22 (`Ring Indicator')
 # was being held to ground would trigger a send of the top line on the screen.
 # A quick fix might be to drop back to a cheesy 4-wire cable with pin 22
-# hanging in the air.
-#
+# hanging in the air. (Thanks to Eric Fischer, <eric@fudge.uchicago.edu>,
+# for clearing up this point.)
 
 adm1a|adm1|lsi adm1a, 
        am, 
@@ -3727,10 +4140,49 @@ adm11|LSI ADM-11,
        use=adm+sgr, 
 # From: Andrew Scott Beals <bandy@lll-crg.ARPA>
 # Corrected by Olaf Siebert <rhialto@polder.ubc.kun.nl>, 11 May 1995
+# Supervisor mode info by Ari Wuolle, <awuolle@delta.hut.fi>, 27 Aug 1996
 # (adm12: removed obsolete ":kn:ma=j^Jk^P^K^Pl ^R^L^L :".  This formerly had
 # <is2>=\Eq but that looked wrong; this <is2> is from Dave Yost <esquire!yost>
 # via BRL.  That entry asserted <xmc#1>, but I've left that out because 
 # neither earlier nor later ADMSs have it -- esr)
+#
+# You will need to get into the supervisor setup before you can set
+# baudrate etc. for your ADM-12+. Press Shift-Ctrl-Setup and you should
+# see a lot more setup options.
+# 
+# While in supervisor setup you can also use following codes:
+# 
+# Ctrl-P Personality character selections (configure for example what
+#        arrow keys send, if I recall correctly)
+# Ctrl-T tabs 1-80   use left&right to move and up to set and
+# Ctrl-V tabs 81-158 down to clear tab. Shift-Ctrl-M sets right margin at cursor
+# Ctrl-B Binary setup (probably not needed. I think that everything can
+#        be set using normal setup)
+# Ctrl-A Answerback mode (enter answerback message)
+# Ctrl-U User friendly mode (normal setup)
+# Ctrl-D Defaults entire setup and function keys from EPROM tables
+# Ctrl-S Save both setup and functions keys. Takes from 6 to 10 seconds.
+# Ctrl-R Reads both setup and functions keys from NVM.
+# Shift-Ctrl-X Unlock keyboard and cancel received X-OFF status
+# 
+# ADM-12+ supports hardware handshaking, but it is DTR/CTS as opposed to
+# RTS/CTS used nowadays with virtually every modem and computer. 19200
+# bps works fine with hardware flow control.
+# 
+# The following null-modem cable should fix this and enable you to use
+# RTS/CTS handshaking (which Linux supports, use CRTSCTS setting). Also
+# set ADM-12+ for DTR handshaking from supervisor setup.
+# 
+# PC Serial   ADM-12+
+#  --------   -------
+#         2 - 3
+#         3 - 2
+#         4 - 5
+#         5 - 20
+#       6,8 - 4
+#         7 - 7
+#        20 - 6,8
+#
 adm12|lsi adm12, 
        am, mir, 
        cols#80, it#8, lines#24, 
@@ -3968,8 +4420,13 @@ adm1178|1178|lsi adm1178,
 
 #### Prime
 #
-# Yes, Prime makes terminals.  These entries were posted by Kevin J. Cummings
-# <cummings@primerd.Prime.COM> on 14 Dec 1992 and lightly edited by esr.
+# Yes, Prime made terminals.  These entries were posted by Kevin J. Cummings
+# <cummings@primerd.prime.com> on 14 Dec 1992 and lightly edited by esr.
+# Prime merged with ComputerVision in the late 1980s; you can reach them at:
+#
+#      ComputerVision Services
+#      500 Old Connecticut Path
+#      Framingham, Mass.
 #
 
 # Standout mode is dim reverse-video.
@@ -3978,12 +4435,13 @@ pt100|pt200|wren|fenix|prime pt100/pt200,
        cols#80, it#8, lines#24, 
        cbt=\E[Z, clear=\E?, cr=^M, cub=\E[%p1%dD, cub1=^H, 
        cud=\E[%p1%dB, cud1=\ED, cuf=\E[%p1%dC, cuf1=\E[C, 
-       cup=\E0%p1%'!'%+%c%p2%'!'%+%c, cuu=\E[%p1%dA, cuu1=\EM, 
-       dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[M, ed=\E[J\E[r, 
-       el=\E[K\E[t, flash=\E$$<200/>\E$P, home=\E$B, ht=^I, 
-       il1=\E[L\E[t, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
-       kcuf1=\E[C, kcuu1=\E[A, khome=\E$A, nel=^M^J, rmcup=, 
-       rmir=\E[4l, rmkx=\E[>13l, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
+       cup=\E0%p1%{33}%+%c%p2%{33}%+%c, cuu=\E[%p1%dA, 
+       cuu1=\EM, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[M, 
+       ed=\E[J\E[r, el=\E[K\E[t, flash=\E$$<200/>\E$P, 
+       home=\E$B, ht=^I, il1=\E[L\E[t, ind=^J, kbs=^H, kcub1=\E[D, 
+       kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E$A, nel=^M^J, 
+       rmcup=, rmir=\E[4l, rmkx=\E[>13l, rmso=\E[m, rmul=\E[m, 
+       sgr0=\E[m, 
        smcup=\E[>1l\E[>2l\E[>16l\E[4l\E[>9l\E[20l\E[>3l\E[>7h\E[>12l\E[1Q, 
        smir=\E[4h, smkx=\E[>13h, smso=\E[2;7m, smul=\E[4m, 
 pt100w|pt200w|wrenw|fenixw|prime pt100/pt200 in 132-column mode, 
@@ -4024,6 +4482,9 @@ pt250w|Prime PT250 in 132-column mode,
 # model is the qvt520, which is vt420-compatible.
 #
 # There are some ancient printing Qume terminals under `Daisy Wheel Printers'
+#
+# If you inherit a Qume without docs, try Ctrl-Shift-Setup to enter its
+# setup mode.  Shift-s should be a configuration save to NVRAM.
 
 qvt101|qvt108|qume qvt 101 and QVT 108, 
        xmc#1, use=qvt101+, 
@@ -4412,7 +4873,7 @@ tvi924|televideo tvi924,
        kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, kf9=^AI\r, khome=^^, 
        kich1=\EQ, kil1=\EE, lf0=F1, lf1=F2, lf10=F11, lf2=F3, lf3=F4, 
        lf4=F5, lf5=F6, lf6=F7, lf7=F8, lf8=F9, lf9=F10, 
-       pfkey=\E|%p1%'1'%+%c%p2%s\031, ri=\Ej, tbc=\E3, tsl=\Ef, use=adm+sgr, 
+       pfkey=\E|%p1%{49}%+%c%p2%s\031, ri=\Ej, tbc=\E3, tsl=\Ef, use=adm+sgr, 
 
 # TVI925 DIP switches.  In each of these, D = Down and U = Up,
 #
@@ -4801,7 +5262,7 @@ tvi970-2p|televideo 970 with using 2 pages of memory,
 # padding is needed, but adapted from the tvi920c termcap.  The <smso> and 
 # <smul> strings are klutzy, but at least use no screen space.
 # (tvipt: removed obsolete ":ma=^Kk^Ll^R^L:".  I wish we knew <rmam>,
-# its absence means <smam>=\Ev isn't save to use. -- esr)
+# its absence means <smam>=\Ev isn't safe to use. -- esr)
 # From: Gene Rochlin <armsis@amber.berkeley.edu> 9/19/84. 
 # The <ed>/<kf0>/<kf1>/<khome>/<mc4>, and <mc5> caps are from BRL, which says:
 # F1 and F2 should be programmed as ^A and ^B; required for UNIFY.
@@ -4823,8 +5284,8 @@ tvi9065|televideo 9065,
        blink=\EG2, bold=\EG\,, cbt=\EI, civis=\E.0, clear=^Z, 
        cnorm=\E.3, cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, 
        cub1=^H, cud=\E[%p1%dB, cud1=^V, cuf=\E[%p1%dC, cuf1=^L, 
-       cup=\E=%p1%' '%+%c%p2%' '%+%c, cuu=\E[%p1%dA, cuu1=^K
-       cvvis=\E.2, dch=\E[%p1%dP, dch1=\EW, dim=\EGp, 
+       cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu=\E[%p1%dA
+       cuu1=^K, cvvis=\E.2, dch=\E[%p1%dP, dch1=\EW, dim=\EGp, 
        dl=\E[%p1%dM, dl1=\ER, dsl=\E_30\r, ech=\E[%p1%d@, ed=\EY, 
        el=\ET, flash=\Eb$<15>\Ed, fsl=^M, home=^^, ht=^I, hts=\E1, 
        ich=\E[%p1%d@, if=/usr/share/tabset/stdcrt, 
@@ -4837,10 +5298,10 @@ tvi9065|televideo 9065,
        kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
        kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, ll=\E[25;1H, 
        mc0=\E[0;0i, mc4=\Ea, mc5=\E`, nel=^M^J, 
-       pfkey=\E|%p1%'0'%+%c3%p2%s\031, 
-       pfloc=\E|%p1%'0'%+%c2%p2%s\031, 
-       pfx=\E|%p1%'0'%+%c1%p2%s\031, 
-       pln=\E_%p1%'?'%+%c%p2%s\r, prot=\E&, 
+       pfkey=\E|%p1%{48}%+%c3%p2%s\031, 
+       pfloc=\E|%p1%{48}%+%c2%p2%s\031, 
+       pfx=\E|%p1%{48}%+%c1%p2%s\031, 
+       pln=\E_%p1%{63}%+%c%p2%s\r, prot=\E&, 
        rep=\E[%p2%db%p1%c, rev=\EG4, 
        rf=/usr/share/tabset/stdcrt, ri=\Ej, rin=\E[%p1%dT, 
        rmacs=\E%, rmam=\E[=7l, rmcup=\E.3\Er\E[1;25r\E[25;0H, 
@@ -4899,7 +5360,7 @@ vi50adm|visual 50 in adm3a mode,
 vi55|Visual 55, 
        am, mir, msgr, 
        cols#80, it#8, lines#24, 
-       clear=\Ev, csr=\E_%p1%'A'%+%c%p2%'A'%+%c, cub1=^H, 
+       clear=\Ev, csr=\E_%p1%{65}%+%c%p2%{65}%+%c, cub1=^H, 
        cud1=^J, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
        cuu1=\EA, dch1=\Ew, dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, 
        il1=\EL, is2=\Ev\E_AX\Eb\EW\E9P\ET, kbs=^H, kcub1=\ED, 
@@ -5057,8 +5518,8 @@ wy30|wyse30|Wyse 30,
        kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
        kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, khome=^^, kich1=\EQ, 
        kil1=\EE, knp=\EK, kpp=\EJ, krpl=\Er, ll=^^^K, mc0=\EP, mc4=^T, 
-       mc5=^X, nel=^M^J, pfx=\Ez%p1%'?'%+%c%p2%s\177, 
-       pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E`7\E), ri=\Ej$<3>, 
+       mc5=^X, nel=^M^J, pfx=\Ez%p1%{63}%+%c%p2%s\177, 
+       pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E`7\E), ri=\Ej$<3>, 
        rmacs=\EH^C, rmir=\Er, rmln=\EA11, rmso=\E(, 
        sgr=%?%p1%p5%p8%|%|%t\E`7\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;, 
        sgr0=\E(\EH\003, smacs=\EH^B, smir=\Eq, smln=\EA10, 
@@ -5073,7 +5534,7 @@ wy30-mc|wyse30-mc|wyse 30 with magic cookies,
        ma@, xmc#1, 
        blink=\EG2, dim=\EGp, prot=\EG0\E), rmacs=\EG0\EH\003, 
        rmcup=\EG0, rmso=\EG0, 
-       sgr=\EG%'0'%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;, 
+       sgr=\EG%{48}%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;, 
        sgr0=\EG0\E(\EH\003, smacs=\EG0\EH\002, smcup=, 
        smso=\EG4, use=wy30, 
        use=adm+sgr, 
@@ -5110,8 +5571,8 @@ wy50|wyse50|Wyse 50,
        kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
        kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, 
        ll=^^^K, mc0=\EP, mc4=^T, mc5=^X, nel=^M^J, 
-       pfx=\Ez%p1%'?'%+%c%p2%s\177, 
-       pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E`7\E), rev=\E`6\E), 
+       pfx=\Ez%p1%{63}%+%c%p2%s\177, 
+       pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E`7\E), rev=\E`6\E), 
        ri=\Ej, rmacs=\EH^C, rmir=\Er, rmln=\EA11, rmso=\E(, 
        sgr=%?%p1%p3%|%t\E`6\E)%e%p5%p8%|%t\E`7\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;, 
        sgr0=\E(\EH\003, smacs=\EH^B, smir=\Eq, smln=\EA10, 
@@ -5130,7 +5591,7 @@ wy50-mc|wyse50-mc|wyse 50 with magic cookies,
        ma@, xmc#1, 
        blink=\EG2, dim=\EGp, prot=\EG0\E), rev=\EG4, 
        rmacs=\EG0\EH\003, rmcup=\EG0, rmso=\EG0, 
-       sgr=\EG%'0'%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;, 
+       sgr=\EG%{48}%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;, 
        sgr0=\EG0\E(\EH\003, smacs=\EG0\EH\002, smcup=, 
        smso=\EGt, use=wy50, 
        use=adm+sgr, 
@@ -5142,6 +5603,7 @@ wy50-w|wyse50-w|wyse 50 132-column,
 wy50-wvb|wyse50-wvb|wyse 50 132-column visible bell, 
        bel@, 
        use=wy50-w, 
+
 #
 #      The Wyse 350 is a Wyse 50 with color.
 #      Unfortunately this means that it has magic cookies.
@@ -5184,11 +5646,11 @@ wy350|wyse350|Wyse 350,
        kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
        kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, 
        ll=^^^K, mc0=\EP, mc4=^T, mc5=^X, nel=^M^J, oc=\E%?, op=\EG0, 
-       pfx=\Ez%p1%'?'%+%c%p2%s\177, 
-       pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\EG0\E), ri=\Ej, 
+       pfx=\Ez%p1%{63}%+%c%p2%s\177, 
+       pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\EG0\E), ri=\Ej, 
        rmacs=\EG0\EH\003, rmir=\Er, rmln=\EA11, setb=, 
-       setf=%?%p1%{0}%=%t%{76}%e%p1%{1}%=%t%{64}%e%p1%{2}%=%t%{8}%e%p1%{3}%=%t%{72}%e%p1%{4}%=%t%{4}%e%p1%{5}%=%t%{68}%e%p1%{6}%=%t%{12}%e%p1%{7}%=%t%{0}%;%PC\EG%gC%gA%+%'0'%+%c, 
-       sgr=%{0}%?%p4%t%{2}%|%;%?%p7%t%{1}%|%;%PA\EG%?%gC%t%gC%e%{0}%?%p1%t%{4}%|%;%?%p2%t%{8}%|%;%?%p3%t%{4}%|%;%?%p5%t%{64}%|%;%;%gA%+%'0'%+%c%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;, 
+       setf=%?%p1%{0}%=%t%{76}%e%p1%{1}%=%t%{64}%e%p1%{2}%=%t%{8}%e%p1%{3}%=%t%{72}%e%p1%{4}%=%t%{4}%e%p1%{5}%=%t%{68}%e%p1%{6}%=%t%{12}%e%p1%{7}%=%t%{0}%;%PC\EG%gC%gA%+%{48}%+%c, 
+       sgr=%{0}%?%p4%t%{2}%|%;%?%p7%t%{1}%|%;%PA\EG%?%gC%t%gC%e%{0}%?%p1%t%{4}%|%;%?%p2%t%{8}%|%;%?%p3%t%{4}%|%;%?%p5%t%{64}%|%;%;%gA%+%{48}%+%c%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;, 
        sgr0=\EG0\E(\EH\003%{0}%PA%{0}%PC, smacs=\EG0\EH\002, 
        smir=\Eq, smln=\EA10, tbc=\E0, tsl=\EF, 
        use=adm+sgr, 
@@ -5241,13 +5703,13 @@ wy120|wyse120|wy150|wyse150|Wyse 120/150,
        kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ, 
        kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=^^^K, 
        mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<3>, 
-       pfloc=\EZ2%p1%'?'%+%c%p2%s\177, 
-       pfx=\EZ1%p1%'?'%+%c%p2%s\177, 
-       pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E), ri=\Ej$<2>, 
+       pfloc=\EZ2%p1%{63}%+%c%p2%s\177, 
+       pfx=\EZ1%p1%{63}%+%c%p2%s\177, 
+       pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<2>, 
        rmacs=\EcD, rmam=\Ed., rmcup=\Ew1, rmir=\Er, rmln=\EA11, 
        rmxon=\Ec20, rs1=\E~!\E~4$<30>, rs2=\EeF\E`\:$<70>, 
        rs3=\EwG\Ee($<100>, 
-       sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%'0'%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c, 
+       sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%{48}%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c, 
        sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/, 
        smcup=\Ew0, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21, 
        tbc=\E0, tsl=\EF, 
@@ -5324,13 +5786,13 @@ wy60|wyse60|Wyse 60,
        kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ, 
        kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=\E{^K, 
        mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<3>, 
-       pfloc=\EZ2%p1%'?'%+%c%p2%s\177, 
-       pfx=\EZ1%p1%'?'%+%c%p2%s\177, 
-       pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E), ri=\Ej$<7>, 
+       pfloc=\EZ2%p1%{63}%+%c%p2%s\177, 
+       pfx=\EZ1%p1%{63}%+%c%p2%s\177, 
+       pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<7>, 
        rmacs=\EcD, rmam=\Ed., rmclk=\E`c, rmcup=\Ew1, rmir=\Er, 
        rmln=\EA11, rmxon=\Ec20, rs1=\E~!\E~4$<150>, 
        rs2=\EeG$<150>, rs3=\EwG\Ee($<200>, 
-       sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%'0'%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c, 
+       sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%{48}%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c, 
        sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/, 
        smcup=\Ew0, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21, 
        tbc=\E0, tsl=\EF, 
@@ -5418,6 +5880,99 @@ wy99gt-vb|wyse99gt-vb|Wyse 99gt visible bell,
 wy99gt-w-vb|wy99gt-wvb|wyse99gt-wvb|Wyse 99gt 132-column visible bell, 
        bel@, 
        use=wy99gt-w, 
+
+# Can't set tabs! Other bugs (ANSI mode only):
+# - can't redefine function keys (anyway, key redefinition in ANSI mode
+#   is too much complex to be described);
+# - meta key can't be described (the terminal forgets it when reset);
+# The xon-xoff handshaking can't be disabled while in ansi personality, so
+# emacs can't work at speed greater than 9600 baud.  No padding is needed at
+# this speed.
+#   dch1 has been commented out because it causes annoying glittering when
+# vi deletes one character at the beginning of a line with tabs in it.
+#   dch makes sysgen(1M) have a horrible behaviour when deleting
+# a screen and makes screen(1) behave badly, so it is disabled too. The nice
+# thing is that vi goes crazy if smir-rmir are present and both dch-dch1 are
+# not, so smir and rmir are commented out as well.
+# From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
+wy99-ansi|Wyse WY-99GT in ansi mode (int'l PC keyboard), 
+       am, km, mc5i, mir, msgr, xenl, 
+       cols#80, it#8, lines#25, vt#3, 
+       acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx{{||}}~~, 
+       bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
+       clear=\E[H\E[J$<200>, cnorm=\E[34h\E[?25h, cr=^M, 
+       csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD$<1>, 
+       cub1=\010$<1>, cud=\E[%p1%dB, cud1=\ED, 
+       cuf=\E[%p1%dC$<1>, cuf1=\E[C$<1>, 
+       cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM, 
+       cvvis=\E[34l\E[?25h, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, 
+       ech=\E[%p1%dX, ed=\E[J$<8*>, el=\E[K$<1>, el1=\E[1K$<1>, 
+       enacs=\E)0, flash=\E[?5h$<30/>\E[?5l, home=\E[H, 
+       hpa=\E[%i%p1%dG, ht=^I, ich=\E[%p1%d@, il=\E[%p1%dL, 
+       il1=\E[L, ind=\n$<1>, invis=\E[8m, 
+       is2=\E7\E[1r\E8\E[2;3;4;13;20;34;39;36l\E[12;16;34h\E[?1;3;4;5;10;18l\E[?7;8;25h\E>\E[?5W\E(B\017\E[4i, 
+       kbs=^H, kcbt=\E[z, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, 
+       kcuu1=\EOA, kf1=\EOP, kf10=\E[21~, kf11=\E[23~, 
+       kf12=\E[24~, kf17=\E[K, kf18=\E[31~, kf19=\E[32~, kf2=\EOQ, 
+       kf20=\E[33~, kf21=\E[34~, kf22=\E[35~, kf23=\E[1~, 
+       kf24=\E[2~, kf3=\EOR, kf4=\EOS, kf5=\E[M, kf6=\E[17~, 
+       kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, ll=\E[24E, mc0=\E[?19h, 
+       mc4=\E[4i, mc5=\E[5i, nel=\EE, prot=\E[1"q, rc=\E8, 
+       rev=\E[7m, ri=\EM, rmacs=^O, rmam=\E[?7l, rmir=\E[4l, 
+       rmkx=\E[?1l, rmso=\E[27m, rmul=\E[24m, 
+       rs2=\E[61"p\E[40h\E[?6l\E[1r\E[2;3;4;13;20;34;39;36l\E[12;16;34h\E[?1;3;4;5;10;18l\E[?7;8;25h\E>\E[?5W\E(B\017\E[24E\E[4i, 
+       sc=\E7, 
+       sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%O%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p7%t;8%;m\E[%?%p8%t1%;"q%?%p9%t\016%e\017%;, 
+       sgr0=\E[m\017\E["q, smacs=^N, smam=\E[?7h, smir=\E[4h, 
+       smkx=\E[?1h, smso=\E[7m, smul=\E[4m, vpa=\E[%i%p1%dd, 
+
+#   This is the american terminal. Here tabs work fine.
+# From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
+wy99a-ansi|Wyse WY-99GT in ansi mode (US PC keyboard), 
+       hts=\EH, is3=\E[?5l, rs3=\E[?5l, tbc=\E[3g, 
+       use=wy99-ansi, 
+
+# This terminal (firmware version 02) has a lot of bugs:
+# - can't set tabs;
+# - other bugs in ANSI modes (see above).
+# This description disables handshaking when using cup. This is because
+# GNU emacs doesn't like Xon-Xoff handshaking. This means the terminal
+# cannot be used at speeds greater than 9600 baud, because at greater
+# speeds handshaking is needed even for character sending. If you use
+# DTR handshaking, you can use even greater speeds.
+# From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
+wy99f|wy99fgt|wy-99fgt|Wyse WY-99GT (int'l PC keyboard), 
+       am, bw, hs, km, mc5i, mir, msgr, xon, 
+       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, 
+       blink=\EG2, cbt=\EI, civis=\E`0, clear=\E'\E(\032, 
+       cnorm=\E`4\E`1, cr=^M, cub1=^H, cud1=\Ej, cuf1=^L, 
+       cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
+       cvvis=\E`2\E`1, dch1=\EW, dim=\EGp, dl1=\ER, dsl=\EF\r, 
+       ed=\EY$<8*>, el=\ET$<8>, enacs=\Ec@1J$<2000>, 
+       flash=\E\^1$<30/>\E\^0, fsl=^M, home=^^, ht=^I, il1=\EE, 
+       ind=^J, invis=\EG3, 
+       is2=\Eu\Ee6\EC\EDF\Ec21\Ec31\Ec62\Ec72\Ee;\016\E'\EeL\E`9\E\^0\E`1\E`4\Ee.\E`\:\Ee1\EG0\E(\Ed/\Ee4\Ed*\EO\E`I\Er\Ee"\EcD\024, 
+       ka1=^^, ka3=\EJ, kbs=^H, kc1=\ET, kc3=\EK, kcbt=\EI, kcub1=^H, 
+       kcud1=^J, kcuf1=^L, kcuu1=^K, kf1=^A@\r, kf10=^AI\r, 
+       kf11=^AJ\r, kf12=^AK\r, kf13=^A`\r, kf14=^Aa\r, kf15=^Ab\r, 
+       kf16=^Ac\r, kf17=^Ad\r, kf18=^Ae\r, kf19=^Af\r, kf2=^AA\r, 
+       kf20=^Ag\r, kf21=^Ah\r, kf22=^Ai\r, kf23=^Aj\r, kf24=^Ak\r, 
+       kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
+       kf8=^AG\r, kf9=^AH\r, kprt=\EP, mc0=\EP, mc4=^T, mc5=\Ed#, 
+       nel=^_, prot=\E), rev=\EG4, ri=\Ej, rmacs=\EcD, rmam=\Ed., 
+       rmcup=\Ec21\Ec31, rmir=\Er, rmso=\EG0, rmxon=\Ec20\Ec30, 
+       rs2=\Eu\E~4\Ee6\EC\EDF\Ec21\Ec31\Ec62\Ec72\Ee;\016\E'\EeL\E`9\E\^0\E`1\E`4\Ee.\E`\:\Ee)\Ew\EwG\Ew0\Ee1\EG0\E(\Ed/\Ee4\Ed*\EO\E`I\Er\Ee"\Ec@0B\EcD\024, 
+       sgr=\E(\EG%{48}%?%p1%p3%O%t%{4}%+%;%?%p2%t%{8}%+%;%?%p4%t%{2}%+%;%?%p5%t%{64}%+%;%?%p7%t%{1}%+%;%c%?%p8%t\E)%;%?%p9%t\EcE%e\EcD%;, 
+       sgr0=\E(\EG0, smacs=\EcE, smam=\Ed/, smcup=\Ec20\Ec30, 
+       smir=\Eq, smso=\EG4, smxon=\Ec21\Ec31, tsl=\EF, 
+
+# This is the american terminal. Here tabs work.
+# From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
+wy99fa|wy99fgta|wy-99fgta|Wyse WY-99GT (US PC keyboard), 
+       hts=\E1, tbc=\E0, 
+       use=wy99f, 
+
 #
 #      The Wyse 160 is combination of the WY-60 and the WY-99gt.
 #      The reset strings are slow and the pad times very depending
@@ -5458,13 +6013,13 @@ wy160|wyse160|Wyse 160,
        kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ, 
        kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=\E{^K, 
        mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<1>, 
-       pfloc=\EZ2%p1%'?'%+%c%p2%s\177, 
-       pfx=\EZ1%p1%'?'%+%c%p2%s\177, 
-       pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E), ri=\Ej$<1>, 
+       pfloc=\EZ2%p1%{63}%+%c%p2%s\177, 
+       pfx=\EZ1%p1%{63}%+%c%p2%s\177, 
+       pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<1>, 
        rmacs=\EcD, rmam=\Ed., rmclk=\E`c, rmcup=\Ew0, rmir=\Er, 
        rmln=\EA11, rmxon=\Ec20, rs1=\E~!\E~4$<70>, 
        rs2=\E`\:$<100>, rs3=\EwG\Ee($<140>, 
-       sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%'0'%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c, 
+       sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%{48}%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c, 
        sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/, 
        smcup=\Ew1, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21, 
        tbc=\E0, tsl=\EF, 
@@ -5728,13 +6283,13 @@ wy325|wyse325|Wyse epc,
        kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\Eq, 
        kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=^^^K, 
        mc0=\EP, mc4=^T, mc5=\Ed#, 
-       pfloc=\EZ2%p1%'?'%+%c%p2%s\177, 
-       pfx=\EZ1%p1%'?'%+%c%p2%s\177, 
-       pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E), ri=\Ej$<2>, 
+       pfloc=\EZ2%p1%{63}%+%c%p2%s\177, 
+       pfx=\EZ1%p1%{63}%+%c%p2%s\177, 
+       pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<2>, 
        rmacs=\EcD, rmam=\Ed., rmcup=\Ew0, rmir=\Er, rmln=\EA11, 
        rs1=\E~!\E~4$<30>, rs2=\EeF\E`\:$<70>, 
        rs3=\EwG\Ee($<100>, 
-       sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%'0'%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c, 
+       sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%{48}%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c, 
        sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/, 
        smcup=\Ew1, smir=\Eq, smln=\EA10, smso=\EGt, tbc=\E0, 
        tsl=\EF, 
@@ -7237,6 +7792,122 @@ att630|AT&T 630 windowing terminal,
 att630-24|5630-24|5630DMD-24|630MTG-24|AT&T 630 windowing terminal 24 lines, 
        lines#24, use=att630, 
 
+# This is the att700 entry for 700 native emulation of the AT&T 700
+# terminal.  Comments are relative to changes from the 605V2 entry and
+# att730 on which the entry is based.  Comments show the terminfo
+# capability name, termcap name, and description.
+#
+# Here is what's going onm in the init string:
+#      ESC [ 50;4|     set 700 native mode (really is 605)
+# x    ESC [ 56;ps|    set lines to 24: ps=0; 40: ps=1 (plus status line)
+#      ESC [ 53;0|     set GenFlow to Xon/Xoff
+#      ESC [ 8 ;0|     set CR on NL 
+# x    ESC [ ? 3 l/h   set workspace: 80 col(l); 132 col(h)
+#      ESC [ ? 4 l     jump scroll 
+#      ESC [ ? 5 l/h   video: normal (l); reverse (h)
+#      ESC [ ?13 l     Labels on
+#      ESC [ ?15 l     parity check = no
+#      ESC [ 13 l      monitor mode off
+#      ESC [ 20 l      LF on NL (not CRLF on NL)
+#      ESC [ ? 7 h     autowrap on
+#      ESC [ 12 h      local echo off
+#      ESC ( B         GO = ASCII
+#      ESC ) 0         G1 = Special Char & Line Drawing
+#      ESC [ ? 31 l    Set 7 bit controls
+#
+# Note: Most terminals, especially the 600 family use Reverse Video for
+# standout mode.  DEC also uses reverse video.  The VT100 uses bold in addition
+# Assume we should stay with reverse video for 70..  However, the 605V2 exits
+# standout mode with \E[m (all normal attributes).  The 730 entry simply
+# exits reverse video which would leave other current attributes intact.  It
+# was assumed the 730 entry to be more correct so rmso has changed.  The
+# 605V2 has no sequences to turn individual attributes off, thus its setting
+# and the rmso/smso settings from the 730.
+#
+# Note: For the same reason as above in rmso I changed exit under-score mode
+# to specifically turn off underscore, rather than return to all normal 
+# attributes
+#
+# Note: The following pkey_xmit is taken from the 605V2 which contained the
+# capability as pfxl.  It was changed here to pfx since pfxl
+# will only compile successfully with Unix 4.0 tic.  Also note that pfx only
+# allows strings to be parameters and label values must be programmed as
+# constant strings.  Supposedly the pfxl of Version 4.0 allows both labels
+# and strings to be parameters.  The 605V2 pfx entry should be examined later
+# in this regard. For reference the 730 pfxl entry is shown here for comparison
+# 730 pfx entry:
+#     pfxl=\E[%?%p1%{25}%<%t%p1%e%p1%{24}%-%;%d;%p2%l%02d%?%p1%{25}%<%tq\s\s\s
+# SYS\s\s\s\s\sF%p1%:-2d\s\s%e;0;3q%;%p2%s,
+#
+# (for 4.0 tic)
+#     pfxl=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s,
+#
+# (for <4.0 tic)
+#     pfx=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s,
+#
+# From the AT&T 705 Multi-tasking terminal user's guide Page 8-8,8-9
+#
+# Port1 Interface
+#
+# modular 10 pin Connector
+# Left side       Right side
+# Pin 1 2 3 4 5 6 7 8 9 10
+#
+#        Key (notch) at bottom
+#
+# Pin    1 DSR
+#        3 DCD
+#        4 DTR
+#        5 Sig Ground
+#        6 RD
+#        7 SD
+#        8 CTS
+#        9 RTS
+#        10 Frame Ground
+#
+# The manual is 189 pages and is loaded with details about the escape codes,
+# etc..... Available from AT&T CIC 800-432-6600...
+# ask for Document number 999-300-660..
+#
+att700|AT&T 700 24x80 column display w/102key keyboard, 
+       am, eslok, hs, mir, msgr, xenl, xon, 
+       cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80, 
+       acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
+       bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
+       clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M, 
+       csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
+       cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
+       cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
+       cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
+       dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, 
+       enacs=\E(B\E)0, flash=\E[?5h$<200>\E[?5l, fln=4\,4, 
+       fsl=\E8, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, 
+       il=\E[%p1%dL, il1=\E[L, ind=\ED, invis=\E[8m, 
+       is2=\E[50;4|\E[53;0|\E[8;0|\E[?4;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)0\E[?31l\E[0m\017, 
+       is3=\E(B\E)0, kLFT=\E[ A, kRIT=\E[ @, kbs=^H, kcbt=\E[Z, 
+       kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
+       kdch1=\E[P, kdl1=\E[M, kend=\E[24;1H, kf1=\EOc, kf10=\ENp, 
+       kf11=\ENq, kf12=\ENr, kf13=\ENs, kf14=\ENt, kf15=\EOC, 
+       kf16=\EOD, kf17=\EOE, kf18=\EOF, kf19=\EOG, kf2=\EOd, 
+       kf20=\EOH, kf21=\EOI, kf22=\EOJ, kf23=\ENO, kf24=\ENP, 
+       kf25=\ENQ, kf26=\ENR, kf27=\ENS, kf28=\ENT, kf29=\EOq, 
+       kf3=\EOe, kf30=\EOr, kf31=\EOs, kf32=\EOt, kf33=\EOu, 
+       kf34=\EOv, kf35=\EOw, kf36=\EOx, kf37=\EOy, kf38=\EOu, 
+       kf39=\EOv, kf4=\EOf, kf40=\EOl, kf41=\EOq, kf42=\EOr, 
+       kf43=\EOs, kf44=\EOp, kf45=\EOn, kf46=\EOM, kf5=\EOg, 
+       kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H, 
+       kich1=\E[@, kil1=\E[L, knp=\E[U, kpp=\E[V, ll=\E[24H, 
+       mc0=\E[i, mc4=\E[?4i, mc5=\E[?5i, nel=\EE, 
+       pfx=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s, 
+       pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, 
+       rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, rmacs=^O, 
+       rmir=\E[4l, rmln=\E[2p, rmso=\E[27m, rmul=\E[24m, 
+       rmxon=\E[53;3|, rs1=\Ec\E[?3;5l\E[56;0|, sc=\E7, 
+       sgr=\E[0%?%p6%t;1%;%?%p5%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
+       sgr0=\E[m\017, smacs=^N, smir=\E[4h, smln=\E[p, smso=\E[7m, 
+       smul=\E[4m, smxon=\E[53;0|, tbc=\E[3g, 
+       tsl=\E7\E[99;%i%p1%dx, 
+
 # This entry was modified 3/13/90 by JWE.
 # fixes include additions of <enacs>, correcting <rep>, and modification
 # of <kHOM>.  (See comments below)
@@ -7493,7 +8164,7 @@ att505-24|pt505-24|gs5430-24|AT&T PT505 or 5430 GETSET version 1 24 lines,
 tt505-22|pt505-22|gs5430-22|AT&T PT505 or 5430 GETSET version 1 22 lines, 
        lines#22, use=att505, 
 #
-# -------------------- TERMINFO FILE CAN BE SPLIT HERE -----------------------
+#### ------------------ TERMINFO FILE CAN BE SPLIT HERE ---------------------
 # This cut mark helps make life less painful for people running ncurses tic
 # on machines with relatively little RAM.  The file can be broken in half here
 # cleanly and compiled in sections -- no `use' references cross this cut
@@ -7723,7 +8394,7 @@ annarbor4080|aa4080|ann arbor 4080,
        am, 
        cols#80, lines#40, 
        bel=^G, clear=\014$<2>, cr=^M, cub1=^H, cud1=^J, cuf1=^_, 
-       cup=\017%p2%{10}%/%{16}%*%p2%{10}%m%+%c%p1%?%p1%{19}%>%t%{12}%+%;%'@'%+%c, 
+       cup=\017%p2%{10}%/%{16}%*%p2%{10}%m%+%c%p1%?%p1%{19}%>%t%{12}%+%;%{64}%+%c, 
        cuu1=^N, home=^K, ht=^I, hts=^]^P1, ind=^J, kbs=^^, kcub1=^H, 
        kcud1=^J, kcuf1=^_, kcuu1=^N, khome=^K, tbc=^\^P^P, 
 
@@ -7963,6 +8634,7 @@ aaa-rv-unk|ann arbor unknown type,
 #      Hauppauge, NY 11788-3762
 #      Vox: (800)-231-5445
 #      Fax: (516)-342-7378
+#      Web: http://boundless.com
 #
 # Their voice mail used to describe the place as "SunRiver (formerly ADDS)". 
 # In 1995 Boundless acquired DEC's terminals business.  
@@ -8031,7 +8703,7 @@ vp3a+|viewpoint3a+|adds viewpoint 3a+,
        cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
        ed=\EY$<80>, el=\ET, home=^^, ht=^I, ind=^J, kbs=^H, kcub1=^H, 
        kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, nel=^M^J, rmso=\E(, 
-       sgr=\E0%'@'%?%p1%tQ%|%;%?%p2%t%'`'%|%;%?%p3%tP%|%;%?%p4%t%{2}%|%;%?%p5%t%{1}%|%;%?%p7%tD%|%;%c\E), 
+       sgr=\E0%{64}%?%p1%tQ%|%;%?%p2%t%{96}%|%;%?%p3%tP%|%;%?%p4%t%{2}%|%;%?%p5%t%{1}%|%;%?%p7%tD%|%;%c\E), 
        sgr0=\E(, smso=\E0Q\E), 
 vp60|viewpoint60|addsvp60|adds viewpoint60, 
        use=regent40, 
@@ -8065,7 +8737,7 @@ adds980|a980|adds consul 980,
        am, 
        cols#80, lines#24, 
        bel=^G, clear=\014$<1>\013@, cr=^M, cub1=^H, cud1=^J, 
-       cuf1=\E^E01, cup=\013%p1%'@'%+%c\E\005%p2%2d, 
+       cuf1=\E^E01, cup=\013%p1%{64}%+%c\E\005%p2%2d, 
        dl1=\E\017$<13>, il1=\E\016$<13>, ind=^J, kf0=\E0, kf1=\E1, 
        kf2=\E2, kf3=\E3, kf4=\E4, kf5=\E5, kf6=\E6, kf7=\E7, kf8=\E8, 
        kf9=\E9, rmso=^O, sgr0=^O, smso=^Y^^^N, 
@@ -8136,7 +8808,7 @@ cit101e|C. Itoh CIT-101e,
 # Background: light; Keyclicks: silent; Auto wraparound: on; CRT saver:
 # on.  I also set up mine for parity (but you may not need it).  Then 
 # save the setup with ^S.
-# 
+# (cit101e-rv: added empty <rmcup> to suppress a tic warning. --esr)
 cit101e-rv|Citoh CIT-101e (sets reverse video), 
        am, eo, mir, msgr, xenl, xon, 
        cols#80, it#8, lines#24, 
@@ -8152,11 +8824,11 @@ cit101e-rv|Citoh CIT-101e (sets reverse video),
        is2=\E<\E>\E[?1l\E[?3l\E[?4l\E[?5h\E[?7h\E[?8h\E[3g\E[>5g\E(B\E[m\E[20l\E[1;24r\E[24;1H, 
        kbs=\177, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, nel=\EE, rc=\E8, 
-       rev=\E[7m, ri=\EM, rin=\E[%p1%dT, rmir=\E[4l, rmso=\E[m
-       rmul=\E[m, rs1=\Ec\E[?7h\E[>5g, sc=\E7, sgr0=\E[m
-       smcup=\E[>5g\E[?7h\E[?5h, smir=\E[4h, smso=\E[7m
-       smul=\E[4m, tbc=\E[3g, u6=\E[%i%p1%d;%p2%dR, u7=\E[6n
-       u8=\E[?6c, u9=\E[c, 
+       rev=\E[7m, ri=\EM, rin=\E[%p1%dT, rmcup=, rmir=\E[4l
+       rmso=\E[m, rmul=\E[m, rs1=\Ec\E[?7h\E[>5g, sc=\E7
+       sgr0=\E[m, smcup=\E[>5g\E[?7h\E[?5h, smir=\E[4h
+       smso=\E[7m, smul=\E[4m, tbc=\E[3g, u6=\E[%i%p1%d;%p2%dR
+       u7=\E[6n, u8=\E[?6c, u9=\E[c, 
 cit101e-n|CIT-101e w/o am, 
        am@, 
        cvvis=\E[?1l\E[?4l\E[?7l, kbs=^H, kcub1=^H, kcud1=^J, use=cit101e, 
@@ -8864,11 +9536,184 @@ contel301|contel321|c301|c321|Contel Business Systems C-301 or C-321,
 # the terminals group at Data General was shut down in 1991; all these
 # terminals have thus been discontinued.
 #
+# DG terminals have function keys that respond to the SHIFT and CTRL keys,
+# e.g., SHIFT-F1 generates a different code from F1.  To number the keys
+# sequentially, first the unmodified key codes are listed as F1 through F15. 
+# Then their SHIFT versions are listed as F16 through F30, their CTRL versions
+# are listed as F31 through F45, and their CTRL-SHIFT versions are listed as
+# F46 through F60.  This is done in the private "includes" below whose names
+# start with "dgkeys+".
+#
+# DG terminals generally support 8 bit characters.  For each of these terminals
+# two descriptions are supplied:
+#      1) A default description for 8 bits/character communications, which
+#         uses the default DG international character set and keyboard codes.
+#      2) A description with suffix "-7b" for 7 bits/character communications.
+#         This description must use the NON-DEFAULT native keyboard language.
+
+# Unmodified fkeys (kf1-kf11), Shift fkeys (kf12-kf22), Ctrl fkeys (kf23-kf33),
+# Ctrl/Shift fdkeys (kf34-kf44).
+
+dgkeys+8b|Private entry describing DG terminal 8-bit ANSI mode special keys, 
+       ka1=\233020z, ka3=\233021z, kc1=\233022z, kc3=\233023z, 
+       kclr=\2332J, kcub1=\233D, kcud1=\233B, kcuf1=\233C, 
+       kcuu1=\233A, kel=\233K, kf1=\233001z, kf10=\233010z, 
+       kf11=\233011z, kf12=\233012z, kf13=\233013z, 
+       kf14=\233014z, kf15=\233000z, kf16=\233101z, 
+       kf17=\233102z, kf18=\233103z, kf19=\233104z, 
+       kf2=\233002z, kf20=\233105z, kf21=\233106z, 
+       kf22=\233107z, kf23=\233108z, kf24=\233109z, 
+       kf25=\233110z, kf26=\233111z, kf27=\233112z, 
+       kf28=\233113z, kf29=\233114z, kf3=\233003z, 
+       kf30=\233100z, kf31=\233201z, kf32=\233202z, 
+       kf33=\233203z, kf34=\233204z, kf35=\233205z, 
+       kf36=\233206z, kf37=\233207z, kf38=\233208z, 
+       kf39=\233209z, kf4=\233004z, kf40=\233210z, 
+       kf41=\233211z, kf42=\233212z, kf43=\233213z, 
+       kf44=\233214z, kf45=\233200z, kf46=\233301z, 
+       kf47=\233302z, kf48=\233303z, kf49=\233304z, 
+       kf5=\233005z, kf50=\233305z, kf51=\233306z, 
+       kf52=\233307z, kf53=\233308z, kf54=\233309z, 
+       kf55=\233310z, kf56=\233311z, kf57=\233312z, 
+       kf58=\233313z, kf59=\233314z, kf6=\233006z, 
+       kf60=\233300z, kf7=\233007z, kf8=\233008z, kf9=\233009z, 
+       khome=\233H, kprt=\233i, 
+
+dgkeys+7b|Private entry describing DG terminal 7-bit ANSI mode special keys, 
+       ka1=\E[020z, ka3=\E[021z, kc1=\E[022z, kc3=\E[023z, 
+       kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
+       kel=\E[K, kf1=\E[001z, kf10=\E[010z, kf11=\E[011z, 
+       kf12=\E[012z, kf13=\E[013z, kf14=\E[014z, kf15=\E[000z, 
+       kf16=\E[101z, kf17=\E[102z, kf18=\E[103z, kf19=\E[104z, 
+       kf2=\E[002z, kf20=\E[105z, kf21=\E[106z, kf22=\E[107z, 
+       kf23=\E[108z, kf24=\E[109z, kf25=\E[110z, kf26=\E[111z, 
+       kf27=\E[112z, kf28=\E[113z, kf29=\E[114z, kf3=\E[003z, 
+       kf30=\E[100z, kf31=\E[201z, kf32=\E[202z, kf33=\E[203z, 
+       kf34=\E[204z, kf35=\E[205z, kf36=\E[206z, kf37=\E[207z, 
+       kf38=\E[208z, kf39=\E[209z, kf4=\E[004z, kf40=\E[210z, 
+       kf41=\E[211z, kf42=\E[212z, kf43=\E[213z, kf44=\E[214z, 
+       kf45=\E[200z, kf46=\E[301z, kf47=\E[302z, kf48=\E[303z, 
+       kf49=\E[304z, kf5=\E[005z, kf50=\E[305z, kf51=\E[306z, 
+       kf52=\E[307z, kf53=\E[308z, kf54=\E[309z, kf55=\E[310z, 
+       kf56=\E[311z, kf57=\E[312z, kf58=\E[313z, kf59=\E[314z, 
+       kf6=\E[006z, kf60=\E[300z, kf7=\E[007z, kf8=\E[008z, 
+       kf9=\E[009z, khome=\E[H, kprt=\E[i, 
+
+dgkeys+11|Private entry describing 11 minimal-subset DG mode special keys, 
+       kclr=^L, kcub1=^Y, kcud1=^Z, kcuf1=^X, kcuu1=^W, kel=^K, 
+       kf1=^^q, kf10=^^z, kf11=^^{, kf12=^^a, kf13=^^b, kf14=^^c, 
+       kf15=^^d, kf16=^^e, kf17=^^f, kf18=^^g, kf19=^^h, kf2=^^r, 
+       kf20=^^i, kf21=^^j, kf22=^^k, kf23=^^1, kf24=^^2, kf25=^^3, 
+       kf26=^^4, kf27=^^5, kf28=^^6, kf29=^^7, kf3=^^s, kf30=^^8, 
+       kf31=^^9, kf32=^^\:, kf33=^^;, kf34=^^!, kf35=^^", kf36=^^#, 
+       kf37=^^$, kf38=^^%, kf39=^^&, kf4=^^t, kf40=^^', kf41=^^(, 
+       kf42=^^), kf43=^^*, kf44=^^+, kf5=^^u, kf6=^^v, kf7=^^w, 
+       kf8=^^x, kf9=^^y, khome=^H, 
+
+dgkeys+15|Private entry describing 15 DG mode special keys, 
+       kHOM=^^^H, kLFT=^^^Y, kRIT=^^^X, ka1=^^\\, ka3=^^], kc1=^^\^, 
+       kc3=^^_, kf1=^^q, kf10=^^z, kf11=^^{, kf12=^^|, kf13=^^}, 
+       kf14=^^~, kf15=^^p, kf16=^^a, kf17=^^b, kf18=^^c, kf19=^^d, 
+       kf2=^^r, kf20=^^e, kf21=^^f, kf22=^^g, kf23=^^h, kf24=^^i, 
+       kf25=^^j, kf26=^^k, kf27=^^l, kf28=^^m, kf29=^^n, kf3=^^s, 
+       kf30=^^`, kf31=^^1, kf32=^^2, kf33=^^3, kf34=^^4, kf35=^^5, 
+       kf36=^^6, kf37=^^7, kf38=^^8, kf39=^^9, kf4=^^t, kf40=^^\:, 
+       kf41=^^;, kf42=^^<, kf43=^^=, kf44=^^>, kf45=^^0, kf46=^^!, 
+       kf47=^^", kf48=^^#, kf49=^^$, kf5=^^u, kf50=^^%, kf51=^^&, 
+       kf52=^^', kf53=^^(, kf54=^^), kf55=^^*, kf56=^^+, kf57=^^\,, 
+       kf58=^^-, kf59=^^., kf6=^^v, kf60=^^\s, kf7=^^w, kf8=^^x, 
+       kf9=^^y, 
+
+# Data General color terminals use the "Tektronix" color model.  The total
+# number of colors varies with the terminal model, as does support for
+# attributes used in conjunction with color.
+
+# Removed u7, u8 definitions since they conflict with tack:
+#              Preserve user-defined colors in at least some cases.
+#      u7=^^Fh,
+#              Default is ACM mode.
+#      u8=^^F}20^^Fi^^F}21,
+#
+dgunix+fixed|Fixed color info for DG D430C terminals in DG-UNIX mode, 
+       bce, 
+       colors#16, ncv#53, pairs#256, 
+       op=\036Ad\036Bd, 
+       setab=\036B%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c, 
+       setaf=\036A%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c, 
+       setb=\036B%p1%{48}%+%c, setf=\036A%p1%{48}%+%c, 
+
+dg+fixed|Fixed color info for DG D430C terminals in DG mode, 
+       use=dgunix+fixed, 
+
+# Video attributes are coordinated using static variables set by "sgr", then
+# checked by "op", "seta[bf]", and "set[bf]" to refresh the attribute settings. 
+# (D=dim, U=underline, B=blink, R=reverse.)
+dg+color8|Color info for Data General D220 and D230C terminals in ANSI mode, 
+       bce, 
+       colors#8, ncv#16, pairs#64, 
+       op=\E[%?%gD%t2;%;%?%gU%t4;%;%?%gB%t5;%;%?%gR%t7;%;m, 
+       setab=\E[4%p1%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m, 
+       setaf=\E[3%p1%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m, 
+       setb=\E[4%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m, 
+       setf=\E[3%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m, 
+
+dg+color|Color info for Data General D470C terminals in ANSI mode, 
+       colors#16, ncv#53, pairs#256, 
+       setab=\E[%?%p1%{8}%<%t4%p1%e=%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m, 
+       setaf=\E[%?%p1%{8}%<%t3%p1%e<%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m, 
+       setb=\E[%?%p1%{8}%<%t4%e=%;%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m, 
+       setf=\E[%?%p1%{8}%<%t3%e<%;%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m, 
+       use=dg+color8, 
+
+dgmode+color8|Color info for Data General D220/D230C terminals in DG mode, 
+       bce, 
+       colors#8, ncv#16, pairs#64, 
+       op=\036Ad\036Bd, 
+       setab=\036B%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%{48}%+%c, 
+       setaf=\036A%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%{48}%+%c, 
+       setb=\036B%p1%{48}%+%c, setf=\036A%p1%{48}%+%c, 
+
+dgmode+color|Color info for Data General D470C terminals in DG mode, 
+       colors#16, pairs#256, 
+       setab=\036B%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c, 
+       setaf=\036A%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c, 
+       use=dgmode+color8, 
+
+dgunix+ccc|Configurable color info for DG D430C terminals in DG-UNIX mode, 
+       bce, ccc, 
+       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, 
+       oc=\036RG01A00FF00000000\036RG01B00000000FF00\036RG01C007F00000000\036RG01D000000007F00, 
+       op=\036RF4831A\036RF2E31B\036RF1D31C\036RF3F31D, 
+       scp=\036RG2%p1%02X, 
+
+# Colors are in the order:  normal, reverse, dim, dim + reverse.
+dg+ccc|Configurable color info for DG D430C terminals in DG mode, 
+       bce, ccc, 
+       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, 
+       oc=\036RG01\:00??00000000\036RG01;00000000??00\036RG01<007?00000000\036RG01=000000007?00, 
+       op=\036RF4831\:\036RF2>31;\036RF1=31<\036RF3?31=, 
+       scp=\036RG2%p1%{16}%/%{48}%+%c%p1%{16}%m%{48}%+%c, 
+
+# The generic DG terminal type (an 8-bit-clean subset of the 6053)
+# Initialization string 1 sets:
+#      ^R              - vertical scrolling enabled
+#      ^C              - blinking enabled
+dg-generic|Generic Data General terminal in DG mode, 
+       am, bw, msgr, xon, 
+       cols#80, lines#24, 
+       bel=^G, blink=^N, clear=^L, cr=^M, cub1=^Y, cud1=^Z, cuf1=^X, 
+       cup=\020%p2%c%p1%c, cuu1=^W, dim=^\, el=^K, ind=^J, is1=^R^C, 
+       mc0=^Q, nel=^J, rmso=^], rmul=^U, sgr0=^O^U^], smso=^\, 
+       smul=^T, 
+       use=dgkeys+11, 
 
 # According to the 4.4BSD termcap file, the dg200 <cup> should be the
 # termcap equivalent of \020%p2%{128}%+%c%p1%{128}%+%c (in termcap
 # notation that's "^P%r%+\200%+\200").  Those \200s are suspicious,
 # maybe they were originally nuls (which would fit).
+
 dg200|data general dasher 200, 
        am, bw, 
        cols#80, lines#24, 
@@ -8878,6 +9723,7 @@ dg200|data general dasher 200,
        kf2=^^r, kf3=^^s, kf4=^^t, kf5=^^u, kf6=^^v, kf7=^^w, kf8=^^x, 
        kf9=^^y, khome=^H, lf0=f10, nel=^J, rmso=^^E, rmul=^U, 
        smso=^^D, smul=^T, 
+
 # Data General 210/211 (and 410?)      from Lee Pearson (umich!lp) via BRL
 dg210|dg-ansi|Data General 210/211, 
        am, 
@@ -8927,7 +9773,7 @@ dg460-ansi|Data General Dasher 460 in ANSI-mode,
 # This also matches a posted description of something called a `Dasher 100'
 # so there's a dg100 alias here. 
 # (dg6053: the 4.4BSD file had <cub1=^H>, <cud1=^J>, <cuf1=^S>. -- esr) 
-dg6053|dg100|data general 6053, 
+dg6053-old|dg100|data general 6053, 
        am, bw, ul, 
        cols#80, lines#24, 
        bel=^G, clear=^L, cnorm=^L, cr=^M, cub1=^Y, cud1=^Z, cuf1=^X, 
@@ -8937,6 +9783,478 @@ dg6053|dg100|data general 6053,
        kf7=^^x, kf8=^^y, kf9=^^z, khome=^H, rmcup=^L, rmso=\0^^E, 
        rmul=^U, smcup=^L^R, smso=\0\0\0\0\0\036D, smul=^T, 
 
+# (Some performance can be gained over the generic DG terminal type)
+dg6053|6053|6053-dg|dg605x|605x|605x-dg|d2|d2-dg|Data General DASHER 6053, 
+       xon@, 
+       home=^P\0\0, ll=^P\0^W, use=dg-generic, 
+
+# Like 6053, but adds reverse video and more keypad and function keys.
+d200|d200-dg|Data General DASHER D200, 
+       bold=^^D^T, home@, ll@, rev=^^D, rmso=^^E^], 
+       sgr=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;%?%p4%t\016%e\017%;%?%p1%p5%|%t\034%e\035%;, 
+       sgr0=\017\025\035\036E, smso=^^D^\, 
+       use=dgkeys+15, use=dg6053, 
+
+# DASHER D210 series terminals in ANSI mode.
+#      Reverse video, no insert/delete character/line, 7 bits/character only.
+#
+# Initialization string 1 sets:
+#      <0              - scrolling enabled
+#      <1              - blink enabled
+#      <4              - print characters regardless of attributes
+d210|d214|Data General DASHER D210 series, 
+       am, bw, msgr, xon, 
+       cols#80, lines#24, 
+       bel=^G, blink=\E[5m, bold=\E[4;7m, clear=\E[2J, 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, dim=\E[2m, ed=\E[J, el=\E[K, 
+       el1=\E[1K, home=\E[H, ind=^J, is1=\E[<0;<1;<4l, 
+       ll=\E[H\E[A, nel=^J, rev=\E[7m, rmso=\E[m, rmul=\E[m, 
+       sgr=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m, 
+       sgr0=\E[m, smso=\E[2;7m, smul=\E[4m, 
+       use=dgkeys+7b, 
+
+# DASHER D210 series terminals in DG mode.
+# Like D200, but adds clear to end-of-screen and needs XON/XOFF.
+d210-dg|d214-dg|Data General DASHER D210 series in DG mode, 
+       xon, 
+       ed=^^FF, use=d200-dg, 
+
+# DASHER D211 series terminals in ANSI mode.
+# Like the D210, but with 8-bit characters and local printer support.
+#
+# Initialization string 2 sets:
+#      \E[2;1;1;1v
+#              2;1     - 8 bit operations
+#              1;1     - 8 bit (international) keyboard language
+#      \E(B            - default primary character set (U.S. ASCII)
+#      \E)4            - default secondary character set (international)
+#      ^O              - primary character set
+#
+d211|d215|Data General DASHER D211 series, 
+       km, 
+       is2=\E[2;1;1;1v\E(B\E)4\017, mc0=\E[i, use=dgkeys+8b, use=d210, 
+
+# Initialization string 2 sets:
+#      \E[2;0;1;0v
+#              2;0     - 7 bit operations
+#              1;0     - 7 bit (native) keyboard language
+#      \E(0            - default character set (the keyboard native language)
+#      ^O              - primary character set
+d211-7b|d215-7b|Data General DASHER D211 series in 7 bit mode, 
+       km@, 
+       is2=\E[2;0;1;0v\E(0\017, use=dgkeys+7b, use=d211, 
+
+# Like the D210 series, but adds support for 8-bit characters.
+#
+# Reset string 2 sets:
+#      ^^N     - secondary character set
+#      ^^FS0>  - 8 bit international character set
+#      ^^O     - primary character set
+#      ^^FS00  - default character set (matching the native keyboard language)
+#
+d211-dg|d215-dg|Data General DASHER D211 series in DG mode, 
+       km, 
+       rs2=\036N\036FS0>\036O\036FS00, use=d210-dg, 
+
+d216-dg|d216e-dg|d216+dg|d216e+dg|d217-dg|Data General DASHER D216 series in DG mode, 
+       use=d211-dg, 
+
+# Enhanced DG mode with changes to be more UNIX compatible.
+d216-unix|d216e-unix|d216+|d216e+|Data General DASHER D216+ in DG-UNIX mode, 
+       mc5i, 
+       it#8, 
+       acsc=a\177j$k"l!m#n)q+t'u&v(w%x*, blink=^^PI, 
+       clear=^^PH, cub1=^^PD, cud1=^^PB, cuf1=^^PC, cuu1=^^PA, 
+       el=^^PE, home=^^PF, hpa=\020%p1%c\177, ht=^I, ind=^J, 
+       is1=\022\003\036P@1, is3=\036Fz0, kHOM=^^Pf, kLFT=^^Pd, 
+       kPRT=^^P1, kRIT=^^Pc, kclr=^^PH, kcub1=^^PD, kcud1=^^PB, 
+       kcuf1=^^PC, kcuu1=^^PA, kel=^^PE, khome=^^PF, kprt=^^P0, 
+       mc0=\036F?9, mc4=^^Fa, mc5=^^F`, rmacs=\036FS00, 
+       rs2=\036N\036FS0E\036O\036FS00, 
+       sgr=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;\036P%?%p4%tI%eJ%;%?%p1%p5%|%t\034%e\035%;\036FS%?%p9%t11%e00%;, 
+       sgr0=\036PJ\025\035\036E\036FS00, smacs=\036FS11, 
+       vpa=\020\177%p1%c, 
+       use=dgkeys+15, use=d216-dg, 
+d216-unix-25|d216+25|Data General DASHER D216+ in DG-UNIX mode with 25 lines, 
+       lines#25, 
+       is3=\036Fz2, use=d216+, 
+
+d217-unix|Data General DASHER D217 in DG-UNIX mode, 
+       use=d216-unix, 
+d217-unix-25|Data General DASHER D217 in DG-UNIX mode with 25 lines, 
+       use=d216-unix-25, 
+
+# DASHER D220 color terminal in ANSI mode.
+# Like the D470C but with fewer colors and screen editing features.
+#
+# Initialization string 1 sets:
+#      \E[<0;<1;<4l
+#              <0      - scrolling enabled
+#              <1      - blink enabled
+#              <4      - print characters regardless of attributes
+#      \E[m            - all attributes off
+# Reset string 1 sets:
+#      \Ec             - initial mode defaults (RIS)
+#
+d220|Data General DASHER D220, 
+       mc5i@, 
+       dl@, dl1@, il@, il1@, is1=\E[<0;<1;<4l\E[m, mc4@, mc5@, rs1=\Ec, use=dg+color8, use=d470c, 
+
+d220-7b|Data General DASHER D220 in 7 bit mode, 
+       mc5i@, 
+       dl@, dl1@, il@, il1@, is1=\E[<0;<1;<4l\E[m, mc4@, mc5@, rs1=\Ec, use=dg+color8, use=d470c-7b, 
+
+# Initialization string 3 sets:
+#      - default cursor (solid rectangle)
+# Reset string 2 sets:
+#      ^^N     - secondary character set
+#      ^^FS0>  - 8 bit international character set
+#      ^^O     - primary character set
+#       ^^FS00  - default character set (matching the native keyboard language)
+#
+d220-dg|Data General DASHER D220 color terminal in DG mode, 
+       mc5i@, 
+       dl1@, home@, il1@, is2@, is3=\036FQ2, ll@, mc4@, mc5@, rs1@, 
+       rs2=\036N\036FS0>\036O\036FS00, 
+       use=dgmode+color8, use=d470c-dg, 
+
+# DASHER D230C color terminal in ANSI mode.
+# Like the D220 but with minor ANSI compatibility improvements.
+#
+d230c|d230|Data General DASHER D230C, 
+       blink=\E[5;50m, bold=\E[4;7;50m, dim=\E[2;50m, nel=^M^J, 
+       rev=\E[7;50m, rmkx=\E[2;1v, rmso=\E[50m, rmul=\E[50m, 
+       sgr=\E[50%?%p1%p3%|%p6%|%t;7%{1}%e%{0}%;%PR%?%p4%t;5%{1}%e%{0}%;%PB%?%p2%p6%|%t;4%{1}%e%{0}%;%PU%?%p1%p5%|%t;2%{1}%e%{0}%;%PDm\E)%?%p9%t6\016%e4\017%;, 
+       sgr0=\E[50m\E)4\017, smkx=\E[2;0v, smso=\E[2;7;50m, 
+       smul=\E[4;50m, 
+       use=dgkeys+7b, use=d220, 
+
+d230c-dg|d230-dg|Data General DASHER D230C in DG mode, 
+       use=d220-dg, 
+
+# DASHER D400/D450 series terminals.
+# These add intelligent features like insert/delete to the D200 series.
+#
+# Initialization string 2 sets:
+#      ^^FQ2           - default cursor (solid rectangle)
+#      ^^FW            - character protection disabled
+#      ^^FJ            - normal (80 column) mode
+#      ^^F\^           - horizontal scrolling enabled (for alignment)
+#      ^^FX004?        - margins at columns 0 and 79
+#      ^^F]            - horizontal scrolling disabled
+#      ^^O             - primary character set
+#      ^^FS00          - default character set (the keyboard native language)
+#      - (should reset scrolling regions, but that glitches the screen)
+# Reset string 1 sets:
+#      ^^FA            - all terminal defaults except scroll rate
+# Reset string 2 sets:
+#      ^^F]            - horizontal scrolling disabled
+#      ^^FT0           - jump scrolling
+#
+d400|d400-dg|d450|d450-dg|Data General DASHER D400/D450 series, 
+       mc5i, 
+       acsc=j$k"l!m#n)q+t'u&v(w%x*, civis=\036FQ0, 
+       cnorm=\036FQ2, dch1=^^K, dl1=^^FI, 
+       enacs=\036N\036FS11\036O, home=^^FG, hpa=\020%p1%c\177, 
+       ich1=^^J, il1=^^FH, 
+       is2=\036FQ2\036FW\036FJ\036F\^\036FX004?\036F]\036O\036FS00, 
+       ll=\036FG\027, mc4=^^Fa, mc5=^^F`, ri=^^I, rmacs=^^O, 
+       rs1=^^FA, rs2=\036F]\036FT0, 
+       sgr=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;%?%p4%t\016%e\017%;%?%p1%p5%|%t\034%e\035%;\036%?%p9%tN%eO%;, 
+       sgr0=\017\025\035\036E\036O, smacs=^^N, 
+       vpa=\020\177%p1%c, use=d210-dg, 
+
+# DASHER D410/D460 series terminals in ANSI mode.
+# These add a large number of intelligent terminal features.
+#
+# Initialization string 1 sets:
+#      \E[<0;<1;<2;<4l
+#              <0      - scrolling enabled
+#              <1      - blink enabled
+#              <2      - horizontal scrolling enabled (for alignment)
+#              <4      - print characters regardless of attributes
+#      \E[5;0v         - normal (80 column) mode
+#      \E[1;1;80w      - margins at columns 1 and 80
+#      \E[1;6;<2h
+#              1       - print all characters even if protected
+#              6       - character protection disabled
+#              <2      - horizontal scrolling disabled
+#      - (should reset scrolling regions, but that glitches the screen)
+#
+# Initialization string 2 sets:
+#      \E[3;2;2;1;1;1v
+#              3;2     - default cursor (solid rectangle)
+#              2;1     - 8 bit operations
+#              1;1     - international keyboard language
+#      \E(B            - default primary character set (U.S. ASCII)
+#      \E)4            - default secondary character set (international)
+#      ^O              - primary character set
+#
+#      Reset string 1 sets:
+#      \Ec             - initial mode defaults (RIS)
+#      \E[<2h          - horizontal scrolling disabled
+#
+# Reset string 2 sets:
+#      \E[4;0;2;1;1;1v
+#              4;0     - jump scrolling
+#              2;1     - 8 bit operations
+#              1;1     - 8 bit (international) keyboard language
+#      \E(B            - default primary character set (U.S. ASCII)
+#      \E)4            - default secondary character set (international)
+#
+d410|d411|d460|d461|Data General DASHER D410/D460 series, 
+       mc5i, 
+       acsc=j$k"l!m#n)q+t'u&v(w%x*, civis=\E[3;0v, 
+       cnorm=\E[3;2v, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
+       dl1=\E[M, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, 
+       is1=\E[<0;<1;<2;<4l\E[5;0v\E[1;1;80w\E[1;6;<2h, 
+       is2=\E[3;2;2;1;1;1v\E(B\E)4\017, mc4=\E[4i, mc5=\E[5i, 
+       ri=\EM, rmacs=\E)4\017, rs1=\Ec\E[<2h, 
+       rs2=\E[4;0;2;1;1;1v\E(B\E)4, 
+       sgr=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m\E)%?%p9%t6\016%e4\017%;, 
+       sgr0=\E[m\E)4\017, smacs=\E)6\016, 
+       use=d211, 
+
+# Initialization string 2 sets:
+#      \E[3;2;2;0;1;0v
+#              3;2     - default cursor (solid rectangle)
+#              2;0     - 7 bit operations
+#              1;0     - 7 bit (native) keyboard language
+#      \E(0            - default character set (the keyboard native language)
+#      ^O              - primary character set
+#
+# Reset string 2 sets:
+#      \E[4;0;2;0;1;0v
+#              4;0     - jump scrolling
+#              2;0     - 7 bit operations
+#              1;0     - 7 bit (native) keyboard language
+#      \E(0            - default character set (the keyboard native language)
+#
+d410-7b|d411-7b|d460-7b|d461-7b|Data General DASHER D410/D460 series in 7 bit mode, 
+       km@, 
+       enacs=\E)6, is2=\E[3;2;2;0;1;0v\E(0\017, rmacs=^O, 
+       rs2=\E[4;0;2;0;1;0v\E(0, 
+       sgr=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m%?%p9%t\016%e\017%;, 
+       sgr0=\E[m\017, smacs=^N, 
+       use=dgkeys+7b, use=d410, 
+
+d410-dg|d460-dg|d411-dg|d461-dg|Data General DASHER D410/D460 series in DG mode, 
+       km, 
+       enacs@, rmacs=\036FS00, 
+       sgr=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;%?%p4%t\016%e\017%;%?%p1%p5%|%t\034%e\035%;\036FS%?%p9%t11%e00%;, 
+       sgr0=\017\025\035\036E\036FS00, smacs=\036FS11, 
+       use=d400-dg, 
+
+# DASHER D410/D460 series terminals in wide (126 columns) ANSI mode.
+#
+# Initialization string 1 sets:
+#      \E[<0;<1;<2;<4l
+#              <0      - scrolling enabled
+#              <1      - blink enabled
+#              <2      - horizontal scrolling enabled (for alignment)
+#              <4      - print characters regardless of attributes
+#      \E[5;1v         - compressed (135 column) mode
+#      \E[1;1;126      - margins at columns 1 and 126
+#      \E[1;6;<2h
+#              1       - print all characters even if protected
+#              6       - character protection disabled
+#              <2      - horizontal scrolling disabled
+#      - (should reset scrolling regions, but that glitches the screen)
+#
+# Reset string 1 sets:
+#      \Ec             - initial mode defaults (RIS)
+#      \E[5;1v         - compressed (135 column) mode
+#      \E[1;1;126w     - margins at columns 1 and 126
+#      \E[<2h          - horizontal scrolling disabled
+#
+d410-w|d411-w|d460-w|d461-w|Data General DASHER D410/D460 series in wide mode, 
+       cols#126, 
+       is1=\E[<0;<1;<2;<4l\E[5;1v\E[1;1;126w\E[1;6;<2h, 
+       rs1=\Ec\E[5;1v\E[1;1;126w\E[<2h, 
+       use=d410, 
+
+d410-7b-w|d411-7b-w|d460-7b-w|d461-7b-w|Data General DASHER D410/D460 series in wide 7 bit mode, 
+       cols#126, 
+       is1=\E[<0;<1;<2;<4l\E[5;1v\E[1;1;126w\E[1;6;<2h, 
+       rs1=\Ec\E[5;1v\E[1;1;126w\E[<2h, 
+       use=d410-7b, 
+
+d412-dg|d462-dg|d462e-dg|d412+dg|d462+dg|d413-dg|d463-dg|Data General DASHER D412/D462 series in DG mode, 
+       use=d410-dg, 
+
+# These add intelligent features like scrolling regions.
+d412-unix|d462-unix|d412+|d462+|Data General DASHER D412+/D462+ series in Unix mode, 
+       civis=\036FQ0, clear=^^FE, cnorm=\036FQ5, 
+       cup=\036FP%p2%2.2X%p1%2.2X, dch1=^^K, dl1=^^FI, 
+       home=^^FG, hpa=\036FP%p1%2.2XFF, ich1=^^J, il1=^^FH, 
+       is2=\036FQ5\036FW\036FJ\036F\^\036FX004F\036O\036FS00, 
+       ll=\036FG\036PA, mc0=^A, rc=\036F}11, ri=^^I, 
+       rs1=\036FA\036FT0, rs2=\036P@1, sc=\036F}10, 
+       vpa=\036FPFF%p1%2.2X, 
+       wind=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2%>%t000%;\036FX%p3%2.2X%p4%2.2X, use=d216+, 
+d412-unix-w|d462-unix-w|d412+w|d462+w|Data General DASHER D412+/D462+ series in wide Unix mode, 
+       cols#132, 
+       is2=\036FQ5\036FW\036FK\036F\^\036FX0083\036O\036FS00, 
+       rs2=\036P@1\036FK\036FX0083, 
+       wind=\036FB%?%p1%t%p1%2.2X1%;%p2%p1%-%{1}%+%2.2X1%?%{23}%p2%>%t001%;\036FX%p3%2.2X%p4%2.2X, use=d412-unix, 
+d412-unix-25|d462-unix-25|d412+25|d462+25|Data General DASHER D412+/D462+ series in Unix mode with 25 lines, 
+       lines#25, 
+       is3=\036Fz2, 
+       wind=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{24}%p2%>%t000%;\036FX%p3%2.2X%p4%2.2X, use=d462+, 
+d412-unix-s|d462-unix-s|d412+s|d462+s|Data General DASHER D412+/D462+ in Unix mode with status line, 
+       eslok, hs, 
+       clear=\036FG\036PH, fsl=\036F}01\022, 
+       is3=\036Fz2\036F}00\036FB180000\036F}01, ll@, 
+       tsl=\036F}00\036FP%p1%2.2X18\036PG, 
+       wind=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2%>%t%{23}%p2%-%2.2X0%;000\036FX%p3%2.2X%p4%2.2X, use=d462+, 
+
+#      Relative cursor motions are confined to the current window,
+#      which is not what the scrolling region specification expects.
+#      Thus, relative vertical cursor positioning must be deleted.
+d412-unix-sr|d462-unix-sr|d412+sr|d462+sr|Data General DASHER D412+/D462+ in Unix mode with scrolling region, 
+       csr=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2%>%t000%;, 
+       cud1@, cuu1@, ll@, 
+       use=d462+, 
+
+d413-unix|d463-unix|Data General DASHER D413/D463 series in DG-UNIX mode, 
+       use=d412-unix, 
+d413-unix-w|d463-unix-w|Data General DASHER D413/D463 series in wide DG-UNIX mode, 
+       use=d412-unix-w, 
+d413-unix-25|d463-unix-25|Data General DASHER D413/D463 series in DG-UNIX mode with 25 lines, 
+       use=d412-unix-25, 
+d413-unix-s|d463-unix-s|Data General DASHER D413/D463 in DG-UNIX mode with status line, 
+       use=d412-unix-s, 
+d413-unix-sr|d463-unix-sr|Data General DASHER D413/D463 in DG-UNIX mode with scrolling region, 
+       use=d412-unix-sr, 
+
+d414-unix|d464-unix|Data General D414/D464 in DG-UNIX mode, 
+       use=d413-unix, 
+d414-unix-w|d464-unix-w|Data General D414/D464 in wide DG-UNIX mode, 
+       use=d413-unix-w, 
+d414-unix-25|d464-unix-25|Data General D414/D464 in DG-UNIX mode with 25 lines, 
+       use=d413-unix-25, 
+d414-unix-s|d464-unix-s|Data General D414/D464 in DG-UNIX mode with status line, 
+       use=d413-unix-s, 
+d414-unix-sr|d464-unix-sr|Data General D414/D464 in DG-UNIX mode with scrolling region, 
+       use=d413-unix-sr, 
+
+d430c-dg|d430-dg|Data General D430C in DG mode, 
+       use=d413-dg, use=dg+fixed, 
+d430c-dg-ccc|d430-dg-ccc|Data General D430C in DG mode with configurable colors, 
+       use=d413-dg, use=dg+ccc, 
+
+d430c-unix|d430-unix|Data General D430C in DG-UNIX mode, 
+       use=d413-unix, use=dgunix+fixed, 
+d430c-unix-w|d430-unix-w|Data General D430C in wide DG-UNIX mode, 
+       use=d413-unix-w, use=dgunix+fixed, 
+d430c-unix-25|d430-unix-25|Data General D430C in DG-UNIX mode with 25 lines, 
+       use=d413-unix-25, use=dgunix+fixed, 
+d430c-unix-s|d430-unix-s|Data General D430C in DG-UNIX mode with status line, 
+       use=d413-unix-s, use=dgunix+fixed, 
+d430c-unix-sr|d430-unix-sr|Data General D430C in DG-UNIX mode with scrolling region, 
+       use=d413-unix-sr, use=dgunix+fixed, 
+d430c-unix-ccc|d430-unix-ccc|Data General D430C in DG-UNIX mode with configurable colors, 
+       use=d413-unix, use=dgunix+ccc, 
+d430c-unix-w-ccc|d430-unix-w-ccc|Data General D430C in wide DG-UNIX mode with configurable colors, 
+       use=d413-unix-w, use=dgunix+ccc, 
+d430c-unix-25-ccc|d430-unix-25-ccc|Data General D430C in DG-UNIX mode with 25 lines and configurable colors, 
+       use=d413-unix-25, use=dgunix+ccc, 
+d430c-unix-s-ccc|d430-unix-s-ccc|Data General D430C in DG-UNIX mode with status line and configurable colors, 
+       use=d413-unix-s, use=dgunix+ccc, 
+d430c-unix-sr-ccc|d430-unix-sr-ccc|Data General D430C in DG-UNIX mode with scrolling region and configurable colors, 
+       use=d413-unix-sr, use=dgunix+ccc, 
+
+# DASHER D470C color terminal in ANSI mode.
+# Like the D460 but with 16 colors and without a compressed mode.
+#
+# Initialization string 1 sets:
+#      \E[<0;<1;<2;<4l
+#              <0      - scrolling enabled
+#              <1      - blink enabled
+#              <2      - horizontal scrolling enabled (for alignment)
+#              <4      - print characters regardless of attributes
+#      \E[1;1;80w      - margins at columns 1 and 80
+#      \E[1;6;<2h
+#              1       - print all characters even if protected
+#              6       - character protection disabled
+#              <2      - horizontal scrolling disabled
+#      - (should reset scrolling regions, but that glitches the screen)
+#
+d470c|d470|Data General DASHER D470C, 
+       is1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h, 
+       sgr=\E[%?%p1%p3%|%p6%|%t7;%{1}%e%{0}%;%PR%?%p4%t5;%{1}%e%{0}%;%PB%?%p2%p6%|%t4;%{1}%e%{0}%;%PU%?%p1%p5%|%t2;%{1}%e%{0}%;%PDm\E)%?%p9%t6\016%e4\017%;, 
+       use=dg+color, use=d460, 
+
+d470c-7b|d470-7b|Data General DASHER D470C in 7 bit mode, 
+       is1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h, 
+       sgr=\E[%?%p1%p3%|%p6%|%t7;%{1}%e%{0}%;%PR%?%p4%t5;%{1}%e%{0}%;%PB%?%p2%p6%|%t4;%{1}%e%{0}%;%PU%?%p1%p5%|%t2;%{1}%e%{0}%;%PDm%?%p9%t\016%e\017%;, 
+       use=dg+color, use=d460-7b, 
+
+# Initialization string 2 sets:
+#      ^^FQ2           - default cursor (solid rectangle)
+#      ^^FW            - character protection disabled
+#      ^^F\^           - horizontal scrolling enabled (for alignment)
+#      ^^FX004?        - margins at columns 0 and 79
+#      ^^F]            - horizontal scrolling disabled
+#      ^^O             - primary character set
+#      ^^FS00          - default character set (the keyboard native language)
+#      - (should reset scrolling regions, but that glitches the screen)
+#
+d470c-dg|d470-dg|Data General DASHER D470C in DG mode, 
+       is2=\036FQ2\036FW\036F\^\036FX004?\036F]\036O\036FS00, 
+       use=dgmode+color, use=d460-dg, 
+
+# DASHER D555 terminal in ANSI mode.
+# Like a D411, but has an integrated phone.
+d555|Data General DASHER D555, 
+       use=d411, 
+d555-7b|Data General DASHER D555 in 7-bit mode, 
+       use=d411-7b, 
+d555-w|Data General DASHER D555 in wide mode, 
+       use=d411-w, 
+d555-7b-w|Data General DASHER D555 in wide 7-bit mode, 
+       use=d411-7b-w, 
+d555-dg|Data General DASHER D555 series in DG mode, 
+       use=d411-dg, 
+
+# DASHER D577 terminal in ANSI mode.
+# Like a D411, but acts as a keyboard for serial printers ("KSR" modes).
+d577|Data General DASHER D577, 
+       use=d411, 
+d577-7b|Data General DASHER D577 in 7-bit mode, 
+       use=d411-7b, 
+d577-w|Data General DASHER D577 in wide mode, 
+       use=d411-w, 
+d577-7b-w|Data General DASHER D577 in wide 7-bit mode, 
+       use=d411-7b-w, 
+
+d577-dg|d578-dg|Data General DASHER D577/D578 series in DG mode, 
+       use=d411-dg, 
+
+# DASHER D578 terminal.
+# Like a D577, but without compressed mode; like a D470C in this respect.
+#
+# Initialization string 1 sets:
+#      \E[<0;<1;<2;<4l
+#              <0      - scrolling enabled
+#              <1      - blink enabled
+#              <2      - horizontal scrolling enabled (for alignment)
+#              <4      - print characters regardless of attributes
+#      \E[1;1;80w      - margins at columns 1 and 80
+#      \E[1;6;<2h
+#              1       - print all characters even if protected
+#              6       - character protection disabled
+#              <2      - horizontal scrolling disabled
+#      - (should reset scrolling regions, but that glitches the screen)
+#
+d578|Data General DASHER D578, 
+       is1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h, use=d577, 
+d578-7b|Data General DASHER D578 in 7-bit mode, 
+       is1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h, 
+       use=d577-7b, 
+
 #### Datamedia (dm)
 #
 # Datamedia was headquartered in Nashua, New Hampshire in 1993.
@@ -8954,7 +10272,7 @@ dg6053|dg100|data general 6053,
 # only company and no longer make terminals.  However, the operator there
 # told me that she had once spoken to a customer looking for Datamedia
 # terminals who'd mentioned a Datamedia in New Jersey.  This is backed up
-# by comp.terminals poosting describing the ID plate on the back of a
+# by comp.terminals posting describing the ID plate on the back of a
 # "Datamedia 3000" terminal.  Was this an earlier incarnation of Axent?
 # Inquiring minds want to know...
 #
@@ -9068,9 +10386,9 @@ dt80-sas|Datamedia DT803/DTX for SAS usage,
        cols#80, lines#24, 
        acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~, 
        bel=^G, clear=^L, cr=^M, 
-       csr=\E=%p1%' '%+%c%' '%c\E#1\E=%p2%' '%+%c%' '%c\E#2, 
+       csr=\E=%p1%{32}%+%c%{32}%c\E#1\E=%p2%{32}%+%c%{32}%c\E#2, 
        cub1=^H, cud1=\EB, cuf1=^\, 
-       cup=\E=%p2%' '%+%c%p1%' '%+%c, cuu1=^_, dl1=\EM, ed=^K, 
+       cup=\E=%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, dl1=\EM, ed=^K, 
        el=^], ff=^L, home=^Y, ht=^I, hts=\E'1, il1=\EL, ind=\EB, 
        is2=\E)0\E<\EP\E'0\E$2, kclr=^L, kcub1=^H, kcud1=^J, 
        kcuf1=^\, kcuu1=^_, ked=^K, kel=^], khome=^Y, mc4=^O, mc5=^N, 
@@ -9503,9 +10821,10 @@ ha8686|harris 8686,
 
 #### Hazeltine
 #
-# Hazeltine appears to be out of the business now (1995).  These guys were 
-# co-owners of the Terminal Brain Damage Hall Of Fame along with Harris.
-# They have a hazeltine.com domain and can be reached at:
+# Hazeltine appears to be out of the terminal business as of 1995.  These
+# guys were co-owners of the Terminal Brain Damage Hall Of Fame along with
+# Harris. They have a hazeltine.com domain (but no web page there ) and can
+# be reached at:
 #
 #      Hazeltine
 #      450 East Pulaski Road
@@ -9519,6 +10838,10 @@ ha8686|harris 8686,
 #      P.O. Box 2076
 #      Fairfield, NJ 07007-2078
 #
+# They're now (1998) a subsidiary of General Electric, operating under the
+# marque "GEC-Marconi Hazeltine" and doing military avionics.  Web page
+# at <http://www.gec.com/cpd/1ncpd.htm#1.55>.
+#
 
 # Since <cuf1> is blank, when you want to erase something you
 # are out of luck.  You will have to do ^L's a lot to
@@ -9544,7 +10867,7 @@ hz1500|hazeltine 1500,
        am, hz, 
        cols#80, lines#24, 
        bel=^G, clear=~^\, cr=^M, cub1=^H, cud1=~^K, cuf1=^P, 
-       cup=~\021%p2%p2%?%{30}%>%t%{32}%+%;%'`'%+%c%p1%'`'%+%c, 
+       cup=~\021%p2%p2%?%{30}%>%t%{32}%+%;%{96}%+%c%p1%{96}%+%c, 
        cuu1=~^L, dl1=~\023$<40>, ed=~\030$<10>, el=~^O, home=~^R, 
        il1=~\032$<40>, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^P, 
        kcuu1=~^L, khome=~^R, rmso=~^Y, smso=~^_, 
@@ -9657,23 +10980,18 @@ ibm327x|line mode IBM 3270 style,
        gn, 
        clear=^M^J, el=^M, home=^M, 
 
-# Beware! The 3101 entry IBM shipped with AIX 3 is *wrong*.  Losers...
-# From: J.B. Nicholson-Owens <jeffo@uiuc.edu> 8 Mar 94
-# (ibm3101: <if=/usr/share/tabset/ibm3101> removed, no such file -- esr)
 ibm3101|i3101|IBM 3101-10, 
        am, xon, 
        cols#80, lines#24, 
        bel=^G, clear=\EK, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
-       el=\EI, home=\EH, ht=^I, hts=\E0, ind=^J, kbs=^H, kcub1=\ED, 
-       kcud1=\EB, kcuf1=\EC, kcuu1=\EA, nel=^M^J, tbc=\E1, 
-#   Received from the IBM terminals division (given to DRB)
-#   June 1988 for PS/2 OS 2.2.3 cut
-ibm3151|i3151|IBM 3151, 
-       rmso=\E4@, rmul=\E4@, 
-       sgr=\E4%{64}%?%p1%{0}%>%p1%{4}%<%&%t%{8}%|%;%?%p1%{7}%=%t%{16}%|%;%?%p2%t%{1}%|%;%?%p3%t%{4}%|%;%?%p4%t%{2}%|%;%c, 
-       sgr0=\E4@, smso=\E4A, smul=\E4B, 
-       use=ibm3163, 
+       el=\EI, home=\EH, hts=\E0, ind=^J, kcub1=\ED, kcud1=\EB, 
+       kcuf1=\EC, kcuu1=\EA, nel=^M^J, tbc=\EH, 
+ibm3151|IBM 3151 display, 
+       is2=\E S, rmacs=\E>B, rmcup=\E>B, rs2=\E S, s0ds=\E>B, 
+       sgr=\E4%{64}%?%p1%t%{65}%|%;%?%p2%t%{66}%|%;%?%p3%t%{65}%|%;%?%p4%t%{68}%|%;%?%p5%t%{64}%|%;%?%p6%t%{72}%|%;%?%p7%t%{80}%|%;%c%?%p9%t\E>A%e\E>B%;, 
+       sgr0=\E4@\E>B, smacs=\E>A, smcup=\E>B, 
+       use=ibm3162, 
 # From: Mark Easter <marke@fsi-ssd.csg.ssd.fsi.com> 29 Oct 1992 
 # I've commented out or translated some IBM extensions.
 ibm3161|ibm3163|wy60-316X|wyse60-316X|IBM 3161/3163 display, 
@@ -9685,32 +11003,63 @@ ibm3161|ibm3163|wy60-316X|wyse60-316X|IBM 3161/3163 display,
        cuu1=\EA, dch1=\EQ, dl1=\EO, ed=\EJ, el=\EI, home=\EH, ind=^J, 
        invis=\E4P, kbs=^H, kcbt=\E2, kclr=\EL\r, kctab=\E1, 
        kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EQ, 
-       kdl1=\EO, ked=\EJ, kel=\EI, kf1=\Ea\r, kf10=\Ej\r, 
+       kdl1=\EO, ked=\EJ, kel=\EI, kend=\E2, kf1=\Ea\r, kf10=\Ej\r, 
        kf11=\Ek\r, kf12=\El\r, kf13=\E!a\r, kf14=\E!b\r, 
        kf15=\E!c\r, kf16=\E!d\r, kf17=\E!e\r, kf18=\E!f\r, 
        kf19=\E!g\r, kf2=\Eb\r, kf20=\E!h\r, kf21=\E!i\r, 
        kf22=\E!j\r, kf23=\E!k\r, kf24=\E!l\r, kf3=\Ec\r, 
        kf4=\Ed\r, kf5=\Ee\r, kf6=\Ef\r, kf7=\Eg\r, kf8=\Eh\r, 
        kf9=\Ei\r, khome=\EH, khts=\E0, kich1=\EP \010, kil1=\EN, 
-       ktbc=\E 1, rev=\E4A, rmcup=\E>A, rmso=\E4@, rmul=\E4@, 
-       sgr=\E4%'@'%?%p1%t%'A'%|%;%?%p2%t%'B'%|%;%?%p3%t%'A'%|%;%?%p4%t%'D'%|%;%?%p5%t%'@'%|%;%?%p6%t%'H'%|%;%?%p7%t%'P'%|%;%c%?%p9%t\E>A%e\E<@%;, 
+       knp=\EI, kpp=\EL, ktbc=\E 1, mc4=^P^T, mc5=^P^R, rev=\E4A, 
+       rmcup=\E>A, rmso=\E4@, rmul=\E4@, 
+       sgr=\E4%{64}%?%p1%t%{65}%|%;%?%p2%t%{66}%|%;%?%p3%t%{65}%|%;%?%p4%t%{68}%|%;%?%p5%t%{64}%|%;%?%p6%t%{72}%|%;%?%p7%t%{80}%|%;%c%?%p9%t\E>A%e\E<@%;, 
        sgr0=\E4@\E<@, smcup=\E>A, smso=\E4A, smul=\E4B, 
 
-# How the 3164 sgr string works:
-#      %{32}           # push space for no special video characteristics
-#      %?%p2%t%{1}%|%; # if p2 set, then OR the 1 bit for reverse
-#      %?%p3%t%{4}%|%; # if p3 set, then OR the 4 bit for blink
-#      %?%p4%t%{2}%|%; # if p4 set, then OR the 2 bit for underline
-#      %c              # pop Pa1
-#      %{39}%p1%-      # calculate 32 + (7 - p1) for foreground
-#      %c              # pop Pa2 
-#      %{64}           # use only black background for now
-#      %c              # pop Pa3
+ibm3161-C|IBM 3161-C NLS terminal using cartridge, 
+       rmcup=\E>B, s0ds=\E>B, s1ds=\E>A, smcup=\E>B, 
+       use=ibm3161, 
+ibm3162|IBM 3162 display, 
+       blink=\E4$a, bold=\E4(a, il1=\EN, invis=\E40a, rev=\E4!a, 
+       rmso=\E4>b, rmul=\E4=b, sgr0=\E4@, smso=\E4!a, smul=\E4"a, 
+       use=ibm3161-C, 
+
 ibm3164|i3164|IBM 3164, 
-       blink=\E4D, bold=\E4H, 
-       sgr=\E4%{32}%?%p2%t%{1}%|%;%?%p3%t%{4}%|%;%?%p4%t%{2}%|%;%c%{39}%p1%-%c%{64}%c, 
-       sgr0=\E4@, 
-       use=ibm3163, 
+       msgr, 
+       colors#8, pairs#64, 
+       rmcup=\E!9(N\E>B, s0ds=\E>B, s1ds=\E>A, 
+       setb=\E4  %p1%{64}%+%c, 
+       setf=\E4%?%p1%t %p1%{32}%+%c%e!'%;@, 
+       smcup=\E!9/N\E>B, use=ibm3161, 
+
+ibm5151|wy60-AT|wyse60-AT|IBM 5151 Monochrome display, 
+       am, bw, msgr, xon, 
+       cols#80, it#8, lines#25, 
+       acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263, 
+       bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
+       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, dch1=\E[P, dl=\E[%p1%dM, 
+       dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H, 
+       hpa=\E[%i%p1%dG, il=\E[%p1%dL, il1=\E[L, ind=\E[S, 
+       indn=\E[%p1%dS, invis=\E[8m, is2=\Ec, kbs=^H, kcbt=\E[Z, 
+       kclr=\E[144q, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
+       kcuu1=\E[A, kdch1=\E[P, ked=\E[148q, kel=\E[142q, 
+       kend=\E[146q, kf0=\E[010q, kf1=\E[001q, kf10=\E[010q, 
+       kf11=\E[011q, kf12=\E[012q, kf13=\E[013q, kf14=\E[014q, 
+       kf15=\E[015q, kf16=\E[016q, kf17=\E[017q, kf18=\E[018q, 
+       kf19=\E[019q, kf2=\E[002q, kf20=\E[020q, kf21=\E[021q, 
+       kf22=\E[022q, kf23=\E[023q, kf24=\E[024q, kf25=\E[025q, 
+       kf26=\E[026q, kf27=\E[027q, kf28=\E[028q, kf29=\E[029q, 
+       kf3=\E[003q, kf30=\E[030q, kf31=\E[031q, kf32=\E[032q, 
+       kf33=\E[033q, kf34=\E[034q, kf35=\E[035q, kf36=\E[036q, 
+       kf4=\E[004q, kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, 
+       kf8=\E[008q, kf9=\E[009q, khome=\E[H, kich1=\E[139q, 
+       kil1=\E[140q, kind=\E[151q, knp=\E[154q, kpp=\E[150q, 
+       kri=\E[155q, krmir=\E[4l, rc=\E[u, rev=\E[7m, ri=\E[T, 
+       rin=\E[%p1%dT, rmir=\E[4l, rmso=\E[m, rmul=\E[m, rs2=\Ec, 
+       sc=\E[s, 
+       sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;m, 
+       sgr0=\E[0m, smir=\E[4h, smso=\E[7m, smul=\E[4m, 
 
 ibmaed|IBM Experimental display, 
        am, eo, msgr, 
@@ -9724,7 +11073,7 @@ ibm-apl|apl|IBM apl terminal simulator,
        lines#25, use=dm1520, 
 # (ibmmono: this had an unknown `sb' boolean, I changed it to `bs'.  
 # Also it had ":I0=f10:" which pretty obviously should be "l0=f10" -- esr)
-ibmmono|ibm5151|IBM workstation monochrome, 
+ibmmono|IBM workstation monochrome, 
        eslok, hs, 
        bold=\EZ, dl1=\EM, dsl=\Ej\EY8 \EI\Ek, fsl=\Ek, il1=\EL, 
        invis=\EF\Ef0;\Eb0;, kbs=^H, kf0=\E<, kf1=\ES, kf2=\ET, 
@@ -9732,10 +11081,13 @@ ibmmono|ibm5151|IBM workstation monochrome,
        khome=\EH, kich1=\0, kind=\EE, knp=\EE, kpp=\Eg, kri=\EG, 
        lf0=f10, rev=\Ep, ri=\EA, rmso=\Ez, rmul=\Ew, 
        sgr0=\Ew\Eq\Ez\EB, smso=\EZ, smul=\EW, tsl=\Ej\EY8%+ \Eo, use=ibm3101, 
-ibmega|ibm5154|IBM Enhanced Color Display, 
+ibmega|IBM Enhanced Color Display, 
        cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, 
        nel=^M^J, 
        use=ibmmono, 
+ibm5154|IBM 5154 Color display, 
+       colors#8, pairs#64, 
+       bold@, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=ibm5151, 
 ibmega-c|ibm5154-c|IBM Enhanced Color Display with standout and underline, 
        rmso=\EB, rmul=\EB, smso=\EF\Ef3;, smul=\EF\Ef2;, 
        use=ibmmono, 
@@ -9748,75 +11100,77 @@ ibmvga|IBM VGA display,
        nel=^M^J, 
        use=ibmega, 
 # ibmapa* and ibmmono entries come from ACIS 4.3 distribution
-rtpc|ibmapa16|ibm6155|IBM 6155 Extended Monochrome Graphics Display, 
+rtpc|ibmapa16|IBM 6155 Extended Monochrome Graphics Display, 
        lines#32, 
        dsl=\Ej\EY@ \EI\Ek, tsl=\Ej\EY@%+ \Eo, use=ibmmono, 
+ibm6155|IBM 6155 Black & White display, 
+       blink@, bold@, use=ibm5151, 
 # Advanced Monochrome (6153) and Color (6154) Graphics Display:
-ibmapa8c|ibmapa8|ibm6154|ibm6153|IBM 6153/4 Advanced Graphics Display, 
+ibmapa8c|ibmapa8|IBM 6154 Advanced Graphics Display, 
        lines#31, 
        dsl=\Ej\EY? \EI\Ek, tsl=\Ej\EY?%+ \Eo, use=ibmmono, 
 ibmapa8c-c|ibm6154-c|IBM 6154 Advanced Color Graphics Display, 
        lines#31, 
        dim=\EF\Ef7;, dsl=\Ej\EY? \EI\Ek, tsl=\Ej\EY?%+ \Eo, use=ibmega-c, 
-# From: Marc Pawliger <marc@ibminet.awdpa.ibm.com>
-# also in /usr/lpp/bos/bsdsysadmin.
-# (hft-c: this entry had :kb=\E[D:kf=\E[C: on the line with ku/kd/kh; this was
-# pretty obviously mislabeled for :le: and :nd:; also ":ul=\E[4m:" was clearly
-# a typo for ":us=\E[4m:"; also ":el=\E[K:" was a typo for ":ce=\E[K:".
-# I also added <rmam>/<smam> based on the terminal reset string.
-# There was an unknown boolean ":ht:" which I assume was meant to set hardware
-# tabs, so I have inserted it#8. Finally, :ac=^N: paired with the :ae: looked
-# like a typo for :as=^N:; finally, added empty <acsc> to quiet tic -- esr)
-ibm8512|ibm8513|hft-c|IBM High Function Terminal, 
+ibm6154|IBM 6154 Color displays, 
+       blink@, bold=\E[12m, s0ds=\E[10m, s1ds=\E[11m, s2ds=\E[12m, 
+       sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;12%;m, 
+       sgr0=\E[0;10m, 
+       use=ibm5154, 
+ibm6153|IBM 6153 Black & White display, 
+       blink@, bold=\E[12m, s0ds=\E[10m, s1ds=\E[11m, s2ds=\E[12m, 
+       sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;12%;m, 
+       sgr0=\E[0;10m, 
+       use=ibm5151, 
+ibm6153-90|IBM 6153 Black & White display, 
+       cols#90, lines#36, 
+       blink@, bold@, use=ibm5151, 
+ibm6153-40|IBM 6153 Black & White display, 
+       cols#40, lines#12, use=ibm6153-90, 
+ibm8512|ibm8513|IBM color VGA Terminal, 
        am, mir, msgr, 
        cols#80, it#8, lines#25, 
-       acsc=, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cub1=\E[D, 
-       cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
-       dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, 
-       home=\E[H, il=\E[%p1%dL, il1=\E[L, is2=\Eb\E[m\017\E[?7h, 
-       kcud1=\E[B, kcuu1=\E[A, kf0=\E[010q, kf1=\E[001q, 
-       kf2=\E[002q, kf3=\E[003q, kf4=\E[004q, kf5=\E[005q, 
-       kf6=\E[006q, kf7=\E[007q, kf8=\E[008q, kf9=\E[009q, 
-       khome=\E[H, rc=\E[u, rev=\E[7m, rmacs=^O, rmam=\E[?7l, 
-       rmcup=\E[20h, rmdc=\E[4l, rmir=\E[4l, rmso=\E[m, rmul=\E[m, 
+       acsc=jjkkllmmnnqqttuuvvwwxx, blink=\E[5m, bold=\E[1m, 
+       clear=\E[H\E[2J, cub1=\E[D, cud1=^J, cuf1=\E[C, 
+       cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dl=\E[%p1%dM, dl1=\E[M, 
+       ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H, il=\E[%p1%dL, 
+       il1=\E[L, is2=\Eb\E[m\017\E[?7h, kcud1=\E[B, kcuu1=\E[A, 
+       kf0=\E[010q, kf1=\E[001q, kf2=\E[002q, kf3=\E[003q, 
+       kf4=\E[004q, kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, 
+       kf8=\E[008q, kf9=\E[009q, khome=\E[H, rc=\E[u, rev=\E[7m, 
+       rmacs=^O, rmam=\E[?7l, rmcup=\E[20h, rmdc=\E[4l, 
+       rmir=\E[4l, rmso=\E[m, rmul=\E[m, 
        rs1=\Eb\E[m\017\E[?7h\E[H\E[J, sc=\E[s, sgr0=\E[m, 
        smacs=^N, smam=\E[?7h, smcup=\E[20;4l\E[?7h\Eb, 
        smdc=\E[4h, smir=\E[4h, smso=\E[7m, smul=\E[4m, 
-hft|AIWS High Function Terminal, 
-       am, xon, 
-       cols#80, lines#25, 
-       bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
-       cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
-       cuu1=\E[A, dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, 
-       ht=^I, ich1=\E[@, il1=\E[L, ind=^J, invis=\E[8m, kbs=^H, 
-       kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
-       kf1=\E[001q, kf2=\E[002q, kf3=\E[003q, kf4=\E[004q, 
-       kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, kf8=\E[008q, 
-       kf9=\E[009q, khome=\E[H, knp=\E[153q, kpp=\E[159q, 
-       ktbc=\E[010q, rev=\E[7m, rmir=\E6, rmso=\E[m, rmul=\E[m, 
-       sgr0=\E[m, smir=\E6, smso=\E[7m, smul=\E[4m, 
+       use=ibm8503, 
+hft-c|HFT with Color, 
+       colors#8, pairs#64, 
+       acsc=jjkkllmmnnqqttuuvvwwxx, s0ds=\E(B, s1ds=\E(0, 
+       setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[0m\E(B, 
+       use=ibm5151, 
+hft-c-old|HFT with Color PC850, 
+       colors#8, pairs#64, 
+       setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=ibm5151, 
 ibm-system1|system1|ibm system/1 computer, 
        am, xt, 
        cols#80, lines#24, 
        bel=^G, clear=^Z, cub1=^H, cuf1=^\, 
        cup=\005%p1%{32}%+%c%p2%{32}%+%c, cuu1=^^, home=^K, 
        ind=^J, 
-
-# From: <pryor@math.berkeley.edu>
-ibm5081|ibmmpel|IBM 5081 1024x1024 256/4096 color display, 
-       eslok, hs, 
-       lines#33, 
-       dsl=\Ej\EYA \EI\Ek, fsl=\Ek, tsl=\Ej\EYA%+ \Eo, use=ibmmono, 
-ibm5081-c|ibmmpel-c|IBM 5081 1024x1024 256/4096 enhanced color display, 
+ibm5081|hft|IBM Megapel Color display, 
+       acsc=jjkkllmmnnqqttuuvvwwxx, blink@, bold@, s0ds=\E(B, 
+       s1ds=\E(0, sgr0=\E[0m\E(B, 
+       use=ibm5154, 
+ibm5081-c|ibmmpel-c|IBM 5081 1024x1024 256/4096 Megapel enhanced color display, 
        eslok, hs, 
        lines#33, 
        dsl=\Ej\EYA \EI\Ek, fsl=\Ek, tsl=\Ej\EYA%+ \Eo, use=ibmega-c, 
-ibm8514|IBM 8514 color display, 
+ibm8503|ibm8507|ibm8604|IBM 8503 B & W VGA display, 
+       use=hft-c, 
+ibm8514|IBM 8514/a color VGA display, 
        eslok, hs, 
-       lines#41, 
-       cr=^M, cud1=^J, dsl=\Ej\EYI \EI\Ek, fsl=\Ek, ht=^I, ind=^J, 
-       kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, tsl=\Ej\EYI%+ \Eo, 
-       use=ibmega, 
+       dsl=\Ej\EYI \EI\Ek, fsl=\Ek, tsl=\Ej\EYI%+ \Eo, use=hft, 
 ibm8514-c|IBM 8514 color display with standout and underline, 
        eslok, hs, 
        lines#41, 
@@ -9825,10 +11179,17 @@ ibm8514-c|IBM 8514 color display with standout and underline,
        use=ibmega-c, 
 
 #
-# AIX entries.  IBM ships these with AIX 3. 
+# AIX entries.  IBM ships these with AIX 3.2.5. 
 # AIX extension caps are commented out,
 # except for box1 which has been translated to an <acsc> string.
 #
+aixterm|IBM Aixterm Terminal Eemulator, 
+       eslok, hs, 
+       acsc=jjkkllmmnnqqttuuvvwwxx, bold=\E[1m, dsl=\E[?E, 
+       fsl=\E[?F, ri@, s0ds=\E(B, s1ds=\E(0, 
+       sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;m, 
+       sgr0=\E[0;10m\E(B, tsl=\E[?%p1%dT, 
+       use=ibm6154, 
 aixterm-m|IBM AIXterm Monochrome Terminal Emulator, 
        eslok, hs, 
        acsc=jjkkllmmnnqqttuuvvwwxx, bold=\E[1m, dsl=\E[?E, 
@@ -9842,6 +11203,8 @@ aixterm-m-old|old IBM AIXterm Monochrome Terminal Emulator,
        sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, 
        tsl=\E[?%p1%dT, 
        use=ibm6153, 
+jaixterm|IBM Kanji Aixterm Terminal Eemulator, 
+       acsc@, use=aixterm, 
 jaixterm-m|IBM Kanji AIXterm Monochrome Terminal Emulator, 
        acsc@, 
        use=aixterm-m, 
@@ -9878,6 +11241,285 @@ infoton,
        bel=^G, clear=^L, cr=^M, cub1=^Z, cud1=^J, cuf1=^Y, cuu1=^\, 
        ed=^K, ind=^J, ll=^H^\, 
 
+# The ICL6402 was actually the Kokusai Display System 6402.
+# The 6404 was the KDS7372 (color version of the 6402).
+# 
+# ICL6404 control codes follow:
+#
+#code            function
+#~~~~~~~~~~~     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+#ctrl-A          set SOM position at cursor position
+#ctrl-G          Bell
+#ctrl-H          Backspace
+#ctrl-I          Horiz tab
+#ctrl-J          Linefeed
+#ctrl-K          Cursor up
+#ctrl-L          Cursor right
+#ctrl-M          Carriage return
+#ctrl-N          Disable xon/xoff to host
+#ctrl-O          Enable xon/xoff to host
+#ctrl-R          Enable bidirectional mode
+#ctrl-T          Disable bidirectional mode
+#ctrl-V          Cursor down
+#ctrl-Z          Clear unprotected data to insert char
+#ctrl-^          Cursor home
+#ctrl-_          Newline
+#
+#ESC             lead-in char for multiple character command
+#
+#ESC space R     execute power on sequence
+#ESC ! p1 p2     define scroll region:
+#                p1 = scroll top    line:  20h - 37h
+#                p1 = scroll bottom line:  20h - 37h
+#ESC "           unlock keyboard
+#ESC #           lock keyboard
+#ESC $           Semi-graphics mode on
+#ESC %           Semi-graphics mode off
+#ESC &           protect mode on
+#ESC '           protect mode off
+#ESC (           write protect mode off (full intensity)
+#ESC )           write protect mode on (half intensity)
+#
+#ESC *           clear screen
+#ESC +           clear unprotected data to insert char
+#ESC ,           clear unprotected data to half intensity spaces
+#ESC - p1 p2 p3 p4     address cursor to page, row, column:
+#                      p1 = page number  0 - 3
+#                      p2 = row          20h - 7fh
+#                      p3 = column (lo)  20h - 7fh
+#                      p4 = column (hi)  20h - 21h (only 132 col)
+#ESC . p1        set cursor style:
+#                p1 = 0  invisible cursor
+#                p1 = 1  block blinking cursor
+#                p1 = 2  block steady cursor
+#                p1 = 3  underline blinking cursor
+#                p1 = 4  underline steady cursor
+#ESC /           transmit cursor location (page, row, column)
+#ESC 0 p1 p2 p3 p4     program edit key:
+#                      p1 = edit key code: '@'-'S', '`'-'s'
+#                      p2 p3 p4 = program data (3 bytes)
+#
+#ESC 1           set tab
+#ESC 2           clear tab at cursor
+#ESC 3           clear all tabs
+#ESC 4           send unprotect line to cursor
+#ESC 5           send unprotect page to cursor
+#ESC 6           send line to cursor
+#ESC 7           send page to cursor
+#ESC 8 n         set scroll mode:
+#                n = 0   set jump scroll
+#                n = 1   set smooth scroll
+#ESC 9 n         control display:
+#                n = 0   display off
+#                n = 1   display on
+#ESC :           clear unprotected data to null
+#ESC ;           clear unprotected data to insert char
+#
+#ESC <           keyclick on
+#ESC = p1 p2     address cursor to row, column
+#                p1 = row          20h - 7fh
+#                p2 = column (lo)  20h - 7fh
+#                p3 = column (hi)  20h - 21h (only 132 col)
+#ESC >           keyclick off
+#ESC ?           transmit cursor location (row, column)
+#
+#ESC @           copy print mode on
+#ESC A           copy print mode off
+#ESC B           block mode on
+#ESC C           block mode off (conversation mode)
+#ESC D F         set full duplex
+#ESC D H         set half duplex
+#ESC E           line insert
+#ESC F p1 p2     set page colour (p1 = f/grnd, p2 = b/grnd)
+#                0 = black, 1 = red,     2 = green, 3 = yellow
+#                4 = blue,  5 = magenta, 6 = cyan,  7 = white
+#ESC G n         set serial field attribute (n = 30h - 3Fh)
+#ESC H n         full graphics mode:
+#                n = 0  exit full graphics mode
+#                n = 1  enter full graphics mode
+#ESC I           back tab
+#ESC J           back page
+#ESC K           forward page
+#
+#ESC L           unformatted page print
+#ESC M L         move window left  (132 col mode only)
+#ESC M R         move window right (132 col mode only)
+#ESC N           set page edit (clear line edit)
+#ESC O           set line edit (clear page edit)
+#ESC P           formatted page print
+#ESC Q           character insert
+#ESC R           line delete
+#ESC S           send message unprotected only
+#ESC T           erase line to insert char
+#ESC U           set monitor mode   (see ESC X, ESC u)
+#
+#ESC V n         select video attribute mode:
+#                n = 0   serial field attribute mode
+#                n = 1   parallel character attribute mode
+#ESC V 2 n       define line attribute:
+#                n = 0   single width single height
+#                n = 1   single width double height
+#                n = 2   double width single height
+#                n = 3   double width double height
+#ESC V 3 n       select character font:
+#                n = 0   system font
+#                n = 1   user defined font
+#ESC V 4 n       select screen mode:
+#                n = 0   page screen mode
+#                n = 1   virtual screen mode
+#ESC V 5 n       control mouse mode:
+#                n = 0   disable mouse
+#                n = 1   enable sample mode
+#                n = 2   send mouse information
+#                n = 3   enable request mode
+#ESC W           character delete
+#ESC X           clear monitor mode (see ESC U, ESC u)
+#ESC Y           erase page to insert char
+#
+#ESC Z n         send user/status line:
+#                n = 0   send user line
+#                n = 1   send status line
+#                n = 2   send terminal ID
+#ESC [ p1 p2 p3  set character attribute (parallel char mode):
+#                p1: 0 = normal
+#                    1 = blank
+#                    2 = blink
+#                    3 = blink blank (= blank)
+#                    4 = reverse
+#                    5 = reverse blank
+#                    6 = reverse blink
+#                    7 = reverse blink blank (= reverse blank)
+#                    8 = underline
+#                    9 = underline blank
+#                    : = underline blink
+#                    ; = underline blink blank
+#                    < = reverse underline
+#                    = = reverse underline blank
+#                    > = reverse underline blink
+#                    ? = reverse underline blink blank
+#                p2, p3: f/grnd, b/grnd colour
+#                (see ESC F for colours)
+#                use ZZ for mono, eg.
+#                    ESC [ 0 Z Z for normal
+#                    ESC [ 4 Z Z for inverse etc.
+#
+#ESC \ n         set page size:
+#                n = 1   24 lines/page
+#                n = 2   48 lines/page
+#                n = 3   72 lines/page
+#                n = 4   96 lines/page
+#ESC ] n         set Wordstar mode:
+#                n = 0   normal (KDS7372) mode
+#                n = 1   Wordstar mode
+#
+#ESC b           set foreground colour screen
+#
+#ESC c n         enter self-test mode:
+#                n = 0   exit self test mode
+#                n = 1   ROM test
+#                n = 2   RAM test
+#                n = 3   NVRAM test
+#                n = 4   screen display test
+#                n = 5   main/printer port test
+#                n = 6   mouse port test
+#                n = 7   graphics board test
+#                n = 8   graphics memory test
+#                n = 9   display all 'E'
+#                n = :   display all 'H'
+#ESC d           set background colour screen
+#
+#ESC e n         program insert char (n = insert char)
+#ESC f text CR   load user status line with 'text'
+#
+#ESC g           display user status line on 25th line
+#ESC h           display system status line on 25th line
+#ESC i           tab
+#ESC j           reverse linefeed
+#ESC k n         duplex/local edit mode:
+#                n = 0   duplex edit mode
+#                n = 1   local edit mode
+#ESC l n         select virtual screen:
+#                n = 0   screen 1
+#                n = 1   screen 2
+#ESC m           save current config to NVRAM
+#ESC n p1        select display screen:
+#                p1 = 0  screen 1
+#                p1 = 1  screen 2
+#                p1 = 2  screen 3
+#                p1 = 3  screen 4
+#ESC o p1 p2     set characters/line and attribute:
+#                p1 = 0  80 chars/line
+#
+#ESC o p1 p2     set characters/line and attribute:
+#                p1 = 0  80 chars/line
+#                p1 = 1  132 chars/line
+#                p2 = 0  single width single height
+#                p2 = 1  single width double height
+#                p2 = 2  double width single height
+#                p2 = 3  double width double height
+#
+#ESC q           insert mode on
+#ESC r           edit mode on
+#ESC s           send message all
+#ESC t           erase line to null
+#ESC u           clear monitor mode (see ESC U, ESC X)
+#ESC v           autopage mode on
+#ESC w           autopage mode off
+#ESC x p1 p2 p3  define delimiter code...
+#ESC y           erase page to null
+#
+#ESC z 2 p1 p2 p3 p4   draw quadrangle:
+#                      p1 = starting row
+#                      p2 = starting column
+#                      p3 = end row
+#                      p4 = end column
+#
+#ESC { p1 p2 p3 p4     configure main port
+#                      (baud, stop bits, parity, word length)
+#
+#ESC | p1 p2 text Ctrl-Y    program function key with 'text':
+#                        p1 = function key code:
+#                             '1' - ';'  normal f1- f11
+#                             '<' - 'F'  shifted f1 - f11
+#                        p2 = program mode:
+#                             1 = FDX
+#                             2 = LOC
+#                             3 = HDX
+#                        Ctrl-Y = terminator
+#                        (use Ctrl-P to escape ^P, ^Y )
+#
+#ESC } p1 p2 p3 p4     configure printer port
+#                      (baud, stop bits, parity, word length)
+#ESC ~           send system status
+#
+# Codes and info from Peter Disdale <pete@pdlmail.demon.co.uk> 12 May 1997
+#
+# Entry is by esr going solely on above information and is UNTESTED.
+# This actually looks a lot like a Televideo 9xx.
+# This entry uses page 0 and is monochrome; I'm not brave enough to try
+# to make color work without a test terminal.  The <am> capability is a guess.
+# The initialization string sets conversation mode, blinking underline cursor,
+# full duplex, parallel attribute mode, display user status line, white
+# foreground, black background, normal highlight.
+#
+icl6404|kds7372|icl6402|kds6402|ICL 6404 aka Kokusai Display Systems 7372, 
+       am, hs, 
+       cols#80, lines#24, 
+       bel=^G, blink=\E[2ZZ, cbt=\EI, civis=\E.0, clear=\E*, 
+       cnorm=\E.3, cr=^M, 
+       csr=\E!%+%p1%{32}%+%p2%{32} cud1=\026, cuf1=^L, 
+       cup=\E=%p1%{32}%+%c%p2%{80}%m%{32}%+%c%p2%{80}%>%{32}%+%c, 
+       cuu1=^K, cvvis=\E.1, dch=\EW, dl1=\ER, home=^^, ht=^I, hts=\E1, 
+       il1=\EE, invis=\E[1ZZ, is1=\EC\E.3\EDF\EV1\Eg\E[0ZZ, 
+       nel=^_, rev=\E[4ZZ, rmir=\Er, 
+       rmso=\E[%gh%{4}%^%Ph%gh%dZZ, 
+       rmul=\E[%gh%{8}%^%Ph%gh%dZZ, rs2=\Eo1, 
+       sgr=\E[%{0}%?%p1%t%{4}%|%;%?%p2%t%{8}%|%;%?%p3%t%{4}%|%;%?%p4%t%{2}%|%;%?%p7%t%{1}%|%;ZZ, 
+       sgr0=\E[0ZZ, smir=\Eq, smso=\E[8ZZ, smul=\E[8ZZ, tbc=\E3, 
+icl6404-w|kds7372-w|ICL 6404 aka Kokusai Display Systems 7372 132 cols, 
+       rs2=\Eo1, 
+       use=icl6404, 
+
 #### Interactive Systems Corp
 #
 # ISC used to sell OEMed and customized hardware to support ISC UNIX.
@@ -9918,6 +11560,19 @@ intext2|intextii|INTERACTIVE modified owl 1251,
 
 #### Kimtron (abm, kt)
 #
+# Kimtron seems to be history, but as March 1998 these people are still 
+# offering repair services for Kimtron equipment:
+#
+#    Com/Pair Monitor Service
+#    1105 N. Cliff Ave.
+#    Sioux Falls, South Dakota 57103
+#     
+#    WATS voice:  1-800/398-4946
+#    POTS   fax: +1 605/338-8709
+#    POTS voice: +1 605/338-9650
+#         Email: <compair@sd.cybernex.net>
+#  Internet/Web: <http://www.com-pair.com>
+#
 # Kimtron entries include (undocumented) codes for: enter dim mode,
 # enter bold mode, enter reverse mode, turn off all attributes.
 #
@@ -10085,10 +11740,10 @@ prism2|MDC Prism-2,
        am, bw, msgr, 
        cols#80, lines#24, 
        bel=^G, clear=\014$<20>, cr=^M, cub1=^H, cud1=^J, cuf1=^F, 
-       cup=\013%p1%' '%+%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c, 
+       cup=\013%p1%{32}%+%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c, 
        cuu1=^Z, ed=\EJ, el=\EK, home=^A, 
        hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c, 
-       ind=^J, kbs=^H, khome=^A, vpa=\013%p1%' '%+%c, 
+       ind=^J, kbs=^H, khome=^A, vpa=\013%p1%{32}%+%c, 
 
 # p4: Prism-4
 # -----------
@@ -10105,15 +11760,15 @@ prism4|p4|P4|MDC Prism-4,
        cols#80, lines#24, wsl#72, xmc#1, 
        bel=^G, blink=^CB, civis=^]\344, clear=\014$<20>, 
        cnorm=^]\342, cr=^M, cub1=^H, cud1=^J, cuf1=^F, 
-       cup=\013%p1%' '%+%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c, 
+       cup=\013%p1%{32}%+%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c, 
        cuu1=^Z, dim=^CA, dsl=\035\343\035\345, ed=\EJ, el=\EK, 
        fsl=^]\345, home=^A, 
        hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c, 
        ind=^J, invis=^CH, kbs=^H, khome=^A, mc0=\EU, mc4=\ET, mc5=\ER, 
        rev=^CD, rmso=^C\s, rmul=^C\s, 
-       sgr=\003%'@'%?%p1%p3%|%t%{4}%+%;%?%p2%t%{16}%+%;%?%p4%t%{2}%+%;%?%p5%t%{1}%+%;%?%p7%t%{8}%+%;%c%?%p9%t\016%e\017%;, 
+       sgr=\003%{64}%?%p1%p3%|%t%{4}%+%;%?%p2%t%{16}%+%;%?%p4%t%{2}%+%;%?%p5%t%{1}%+%;%?%p7%t%{8}%+%;%c%?%p9%t\016%e\017%;, 
        sgr0=^C\s, smso=^CD, smul=^CP, tsl=^]\343, 
-       vpa=\013%p1%' '%+%c, 
+       vpa=\013%p1%{32}%+%c, 
 
 # p5: Prism-5
 # -----------
@@ -10338,7 +11993,7 @@ act4|microterm|microterm act iv,
        am, 
        cols#80, lines#24, 
        bel=^G, clear=\014$<12/>, cr=^M, cub1=^H, cud1=^K, cuf1=^X, 
-       cup=\024%p1%{24}%+%c%p2%p2%?%'/'%>%t%'0'%+%;%'P'%+%c, 
+       cup=\024%p1%{24}%+%c%p2%p2%?%{47}%>%t%{48}%+%;%{80}%+%c, 
        cuu1=^Z, dch1=\004$<.1*/>, dl1=\027$<2.3*/>, 
        ed=\037$<2.2*/>, el=\036$<.1*/>, home=^], 
        il1=\001<2.3*/>, ind=^J, kcub1=^H, kcud1=^K, kcuf1=^X, 
@@ -10361,7 +12016,7 @@ mime|mime1|mime2|mimei|mimeii|microterm mime1,
        am, 
        cols#80, it#8, lines#24, vt#9, 
        bel=^G, clear=^]^C, cr=^M, cub1=^H, cud1=^J, cuf1=^X, 
-       cup=\024%p1%{24}%+%c%p2%p2%?%{32}%>%t%'0'%+%;%'P'%+%c, 
+       cup=\024%p1%{24}%+%c%p2%p2%?%{32}%>%t%{48}%+%;%{80}%+%c, 
        cuu1=^Z, dl1=\027$<80>, ed=^_, el=^^, home=^], ht=\011$<2>, 
        il1=\001$<80>, ind=^J, is2=^S\E^Q, kcub1=^H, kcud1=^K, 
        kcuf1=^X, kcuu1=^Z, ri=\022$<3>, uc=^U, 
@@ -10469,6 +12124,494 @@ ergo4000|microterm ergo 4000,
 # There is an NCR4103 terminal that's just a re-badged Wyse-50.
 #
 
+# The following vendor-supplied termcaps were captured from the Boundless
+# Technologies site, 8 March 1998.  I removed all-upper-case names that were
+# identical, except for case, to lower-case ones.  I also uncommented the acsc
+# capabilities.X
+#
+# The Intecolor emulation of the NCR 2900/260C color terminal is basicly a
+# DEC vt200/300 with color capabilities added.
+ncr260intan|NCR Intecolor emulation of the 2900_260C with an ANSI keyboard, 
+       colors#8, pairs#64, 
+       op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=ncr260vt300an, 
+# The Intecolor emulation of the NCR 2900/260C color terminal is basicly a
+# DEC vt200/300 with color capabilities added.
+ncr260intwan|NCR Intecolor emulation of the 2900_260C with an ANSI keyboard, 
+       colors#8, pairs#64, 
+       op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=ncr260vt300wan, 
+# The Intecolor emulation of the NCR 2900/260C color terminal is basicly a DEC 
+# vt200/300 with color capabilities added.
+ncr260intpp|NCR Intecolor emulation of the 2900_260C with a PC+ keyboard, 
+       colors#8, pairs#64, 
+       op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=ncr260vt300pp, 
+# The Intecolor emulation of the NCR 2900/260C color terminal is basicly a
+# DEC vt200/300 with color capabilities added.
+ncr260intwpp|NCR Intecolor emulation of the 2900_260C with a PC+ keyboard in 132 column mode, 
+       colors#8, pairs#64, 
+       op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=ncr260vt300wpp, 
+# This definition for ViewPoint supports several attributes.  This means
+# that it has magic cookies (extra spaces where the attributes begin).
+# Some applications do not function well with magic cookies.  The System
+# Administrator's Shell in NCR Unix SVR4 1.03 is one such application. 
+# If supporting various attributes is not vital, 'xmc#1' and the extra
+# attributes can be removed. 
+# Mapping to ASCII character set ('acsc' capability) can also be 
+# restored if needed.
+ncr260vppp|NCR 2900_260 viewpoint, 
+       am, bw, hs, km, mc5i, mir, msgr, xon, 
+       cols#80, lines#24, nlab#32, xmc#1, 
+       acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2, 
+       cbt=\EI, civis=\E`0, clear=\014$<40>, cnorm=\E`5, 
+       cr=\r$<2>, cub1=\010$<2>, cud1=\n$<2>, cuf1=\006$<2>, 
+       cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<5>, cuu1=\032$<2>, 
+       cvvis=\E`5, dch1=\EW$<2>, dim=\EGp, dl1=\El$<2>, dsl=\E`c, 
+       ed=\Ek$<2>, el=\EK$<2>, fsl=^M, home=\036$<2>, ht=^I, 
+       hts=\E1, il1=\EM$<2>, ind=\n$<2>, invis=\EG1, 
+       is2=\Ee6\E~%$<100>\E+\E`\:\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>, 
+       kDC=\El, kEND=\Ek, kHOM=^A, kPRT=\E7, kRIT=^F, ka1=^A, ka3=\EJ, 
+       kbs=^H, kc1=\ET, kc3=\EJ, kcub1=^U, kcud1=^J, kcuf1=^F, 
+       kcuu1=^Z, kdch1=\EW, kend=\EK, kf1=^B1\r, kf10=^B\:\r, 
+       kf11=^B;\r, kf12=^B<\r, kf13=^B=\r, kf14=^B>\r, kf15=^B?\r, 
+       kf16=^B@\r, kf17=^B!\r, kf18=^B"\r, kf19=^B#\r, kf2=^B2\r, 
+       kf20=^B$\r, kf21=\002%^M, kf22=^B&\r, kf23=^B'\r, 
+       kf24=^B(\r, kf25=^B)\r, kf26=^B*\r, kf27=^B+\r, 
+       kf28=^B\,\r, kf29=^B-\r, kf3=^B3\r, kf30=^B.\r, kf31=^B/\r, 
+       kf32=^B0\r, kf4=^B4\r, kf5=^B5\r, kf6=^B6\r, kf7=^B7\r, 
+       kf8=^B8\r, kf9=^B9\r, khome=^A, kich1=\Eq, knp=\EJ, kpp=\EJ, 
+       kprt=\EP, ll=\001$<5>, mc0=\EP$<100>, mc4=^T, mc5=^R, 
+       mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<5>, 
+       nel=\037$<2>, rev=\EG4, ri=\Ej$<2>, rmacs=\EcB0\EH\003, 
+       rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20, 
+       rs2=\Ee6\E~%$<100>\E+\E`\:\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>, 
+       sgr0=\EG0\EH\003, smacs=\EcB1\EH\002, smir=\Eq, 
+       smso=\EG4, smul=\EG8, smxon=\Ec21, tsl=\EF, 
+ncr260vpwpp|NCR 2900_260 viewpoint wide mode, 
+       cols#132, 
+       cup=\Ea%i%p1%dR%p2%dC$<30>, 
+       is2=\Ee6\E~%$<100>\E+\E`;\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>, 
+       rs2=\Ee6\E~%$<100>\E+\E`;\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>, 
+       use=ncr260vppp, 
+ncr260vt100an|NCR 2900_260 vt100 with ansi kybd, 
+       am, hs, mir, msgr, xenl, xon, 
+       cols#80, lines#24, nlab#32, 
+       acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G, 
+       blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
+       clear=\E[2J\E[1;1H$<20>, cnorm=\E[?25h, cr=\r$<1>, 
+       csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD$<5>, 
+       cub1=\E[D$<5>, cud=\E[%p1%dB$<5>, cud1=\E[B$<5>, 
+       cuf=\E[%p1%dC$<5>, cuf1=\E[C$<5>, 
+       cup=\E[%i%p1%d;%p2%dH$<10>, cuu=\E[%p1%dA$<5>, 
+       cuu1=\E[A$<5>, dch=\E[%p1%dP$<5>, dch1=\E[1P$<5>, 
+       dl=\E[%p1%dM$<5>, dl1=\E[M$<5>, dsl=\E[0$~\E[1$~, 
+       ech=\E[%p1%dX, ed=\E[0J$<5>, el=\E[0K$<3>, el1=\E[1K$<3>, 
+       fsl=\E[0$}, home=\E[H$<1>, hpa=\E[%p1%dG$<40>, ht=^I, 
+       hts=\EH, ich=\E[%p1%d@$<5>, il=\E[%p1%dL$<5>, 
+       il1=\E[L$<5>, ind=\ED$<5>, indn=\E[%p1%dE$<5>, 
+       invis=\E[8m, 
+       is2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
+       ka1=\EOw, ka3=\EOu, kb2=\EOy, kbs=^H, kc1=\EOq, kc3=\EOs, 
+       kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
+       kdch1=\E[3~, kent=\EOM, kf1=\EOP, kf2=\EOQ, kf3=\EOR, 
+       kf4=\EOS, kfnd=\E[1~, khlp=\E[28~, kich1=\E[2~, knp=\E[6~, 
+       kpp=\E[5~, krdo=\E[29~, kslt=\E[4~, nel=\EE$<5>, rc=\E8, 
+       rev=\E[7m, ri=\EM$<5>, rmacs=^O, rmir=\E[4l, 
+       rmkx=\E[?1l\E>, rmso=\E[0m, rmul=\E[0m, 
+       rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
+       sc=\E7, 
+       sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<20>, 
+       sgr0=\E[0m\017$<20>, smacs=^N, smir=\E[4h, 
+       smkx=\E[?1h\E=, smso=\E[1;7m, smul=\E[4m, tbc=\E[3g, 
+       tsl=\E[2$~\E[1$}, vpa=\E[%p1%dd$<40>, 
+ncr260vt100wan|NCR 2900_260 vt100 wide mode ansi kybd, 
+       cols#132, 
+       cup=\E[%i%p1%d;%p2%dH$<30>, 
+       is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
+       rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
+       use=ncr260vt100an, 
+ncr260vt100pp|NCR 2900_260 vt100 with PC+ kybd, 
+       is2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
+       ka1=\E[H, ka3=\EOu, kb2=\E[V, kc3=\E[U, kcub1=\E[D, 
+       kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[4~, 
+       kend=\E[5~, khome=\E[2~, kich1=\E[1~, knp=\E[6~, kpp=\E[3~, 
+       lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, rmkx=\E>, 
+       rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
+       smkx=\E=, 
+       use=ncr260vt100an, 
+ncr260vt100wpp|NCR 2900_260 vt100 wide mode pc+  kybd, 
+       cols#132, 
+       cup=\E[%i%p1%d;%p2%dH$<30>, 
+       is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
+       rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
+       use=ncr260vt100pp, 
+ncr260vt200an|NCR 2900_260 vt200 with ansi kybd, 
+       am, hs, mir, msgr, xenl, xon, 
+       cols#80, lines#24, nlab#32, 
+       acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G, 
+       blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
+       clear=\E[2J\E[1;1H$<20>, cnorm=\E[?25h, cr=\r$<1>, 
+       csr=\E[%i%p1%d;%p2%dr$<5>, cub=\E[%p1%dD$<5>, 
+       cub1=\E[D$<5>, cud=\E[%p1%dB$<5>, cud1=\E[B$<5>, 
+       cuf=\E[%p1%dC$<5>, cuf1=\E[C$<5>, 
+       cup=\E[%i%p1%d;%p2%dH$<10>, cuu=\E[%p1%dA$<5>, 
+       cuu1=\E[A$<5>, dch=\E[%p1%dP$<5>, dch1=\E[1P$<5>, 
+       dl=\E[%p1%dM$<5>, dl1=\E[M$<5>, dsl=\E[0$~\E[1$~, 
+       ech=\E[%p1%dX$<5>, ed=\E[0J, el=\E[0K$<5>, el1=\E[1K$<5>, 
+       fsl=\E[0$}, home=\E[H, hpa=\E[%p1%dG$<40>, ht=^I, hts=\EH, 
+       ich=\E[%p1%d@$<5>, il=\E[%p1%dL$<5>, il1=\E[L$<5>, 
+       ind=\ED$<5>, indn=\E[%p1%dE$<5>, invis=\E[8m, 
+       is2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
+       ka1=\EOw, ka3=\EOu, kb2=\EOy, kbs=^H, kc1=\EOq, kc3=\EOs, 
+       kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
+       kdch1=\E[3~, kent=\EOM, kf0=\EOy, kf1=\EOP, kf10=\E[21~, 
+       kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
+       kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
+       kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf21=\E[31~, 
+       kf22=\E[32~, kf23=\E[33~, kf24=\E[34~, kf25=\E[35~, 
+       kf26=\E[1~, kf27=\E[2~, kf28=\E[3~, kf29=\E[4~, kf3=\EOR, 
+       kf30=\E[5~, kf31=\E[6~, kf32=\E[7~, kf33=\E[8~, kf34=\E[9~, 
+       kf35=\E[10~, kf4=\EOS, kf5=\E[M, kf6=\E[17~, kf7=\E[18~, 
+       kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~, 
+       kich1=\E[2~, knp=\E[6~, kpp=\E[5~, krdo=\E[29~, kslt=\E[4~, 
+       mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=\EE, rc=\E8, rev=\E[7m, 
+       ri=\EM$<5>, rmacs=\017$<20>, rmam=\E[?7l, rmir=\E[4l, 
+       rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, 
+       rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
+       sc=\E7, 
+       sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<20>, 
+       sgr0=\E[0m\017$<20>, smacs=\016$<20>, smam=\E[?7h, 
+       smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
+       tbc=\E[3g, tsl=\E[2$~\E[1$}, vpa=\E[%p1%dd$<40>, 
+ncr260vt200wan|NCR 2900_260 vt200 wide mode ansi kybd, 
+       cols#132, 
+       cup=\E[%i%p1%d;%p2%dH$<30>, 
+       is2=\E[!p\E[?3;7;19;67h\E[?4l\E(B\E)0\017\E[2J\E[1;1H$<200>, 
+       rs2=\E[!p\E[?3;7;19;67h\E[?4l\E(B\E)0\017\E[2J\E[1;1H$<200>, 
+       use=ncr260vt200an, 
+ncr260vt200pp|NCR 2900_260 vt200 with pc+ kybd, 
+       ka1=\E[H, ka3=\EOu, kb2=\E[V, kc3=\E[U, kcub1=\E[D, 
+       kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[4~, 
+       kend=\E[1~, khome=\E[H, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
+       lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, rmkx=\E>, smkx=\E=, 
+       use=ncr260vt200an, 
+ncr260vt200wpp|NCR 2900_260 vt200 wide mode pc+  kybd, 
+       cols#132, 
+       cup=\E[%i%p1%d;%p2%dH$<30>, 
+       is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
+       rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
+       use=ncr260vt200pp, 
+ncr260vt300an|NCR 2900_260 vt300 with ansi kybd, 
+       am, hs, mir, msgr, xenl, xon, 
+       cols#80, lines#24, nlab#32, 
+       acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G, 
+       blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
+       clear=\E[2J\E[1;1H$<20>, cnorm=\E[?25h, cr=\r$<1>, 
+       csr=\E[%i%p1%d;%p2%dr$<5>, cub=\E[%p1%dD$<5>, 
+       cub1=\E[D$<5>, cud=\E[%p1%dB$<5>, cud1=\E[B$<5>, 
+       cuf=\E[%p1%dC$<5>, cuf1=\E[C$<5>, 
+       cup=\E[%i%p1%d;%p2%dH$<10>, cuu=\E[%p1%dA$<5>, 
+       cuu1=\E[A$<5>, dch=\E[%p1%dP$<5>, dch1=\E[1P$<5>, 
+       dl=\E[%p1%dM$<5>, dl1=\E[M$<5>, dsl=\E[0$~\E[1$~, 
+       ech=\E[%p1%dX$<5>, ed=\E[0J, el=\E[0K$<5>, el1=\E[1K$<5>, 
+       fsl=\E[0$}, home=\E[H, hpa=\E[%p1%dG$<40>, ht=^I, hts=\EH, 
+       ich=\E[%p1%d@$<5>, il=\E[%p1%dL$<5>, il1=\E[L$<5>, 
+       ind=\ED$<5>, indn=\E[%p1%dE$<5>, invis=\E[8m, 
+       is2=\E[!p\E[?7;19;67h\E[?1;3;4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
+       ka1=\EOw, ka3=\EOu, kb2=\EOy, kbs=^H, kc1=\EOq, kc3=\EOs, 
+       kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
+       kdch1=\E[3~, kent=\EOM, kf0=\EOy, kf1=\EOP, kf10=\E[21~, 
+       kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
+       kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
+       kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf21=\E[31~, 
+       kf22=\E[32~, kf23=\E[33~, kf24=\E[34~, kf25=\E[35~, 
+       kf26=\E[1~, kf27=\E[2~, kf28=\E[3~, kf29=\E[4~, kf3=\EOR, 
+       kf30=\E[5~, kf31=\E[6~, kf32=\E[7~, kf33=\E[8~, kf34=\E[9~, 
+       kf35=\E[10~, kf4=\EOS, kf5=\E[M, kf6=\E[17~, kf7=\E[18~, 
+       kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~, 
+       kich1=\E[2~, knp=\E[6~, kpp=\E[5~, krdo=\E[29~, kslt=\E[4~, 
+       mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=\EE, rc=\E8, rev=\E[7m, 
+       ri=\EM$<5>, rmacs=\017$<20>, rmam=\E[?7l, rmir=\E[4l, 
+       rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, 
+       rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
+       sc=\E7, 
+       sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<20>, 
+       sgr0=\E[0m\017$<20>, smacs=\016$<20>, smam=\E[?7h, 
+       smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
+       tbc=\E[3g, tsl=\E[2$~\E[1$}, vpa=\E[%p1%dd$<40>, 
+ncr260vt300wan|NCR 2900_260 vt300 wide mode ansi kybd, 
+       cols#132, 
+       cup=\E[%i%p1%d;%p2%dH$<30>, 
+       is2=\E[!p\E[?3;7;19;67h\E[?4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H$<200>, 
+       rs2=\E[!p\E[?3;7;19;67h\E[?4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H$<200>, 
+       use=ncr260vt300an, 
+ncr260vt300pp|NCR 2900_260 vt300 with pc+ kybd, 
+       ka1=\E[H, ka3=\EOu, kb2=\E[V, kc3=\E[U, kcub1=\E[D, 
+       kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[4~, 
+       kend=\E[1~, khome=\E[H, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
+       lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, rmkx=\E>, smkx=\E=, 
+       use=ncr260vt300an, 
+NCR260VT300WPP|ncr260vt300wpp|NCR 2900_260 vt300 wide mode pc+  kybd, 
+       cols#132, 
+       cup=\E[%i%p1%d;%p2%dH$<30>, 
+       is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
+       rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
+       use=ncr260vt300pp, 
+# This terminfo file contains color capabilities for the Wyse325 emulation of 
+# the NCR 2900/260C color terminal.  Because of the structure of the command
+# (escape sequence) used to set color attributes, one of the fore/background
+# colors must be preset to a given value. I have set the background color to
+# black.  The user can change this setup by altering the last section of the
+# 'setf' definition.  The escape sequence to set color attributes is 
+#              ESC d y <foreground_color> <background_color> 1  
+# In addition, the background color can be changed through the desk accessories.
+# The capablitiy 'op' sets colors to green on black (default combination).  
+#
+# NOTE:  The NCR Unix System Administrator's Shell will not function properly
+#          if the 'pairs' capability is defined. Un-Comment the 'pairs'
+#          capability and recompile if you wish to have it included. 
+#
+ncr260wy325pp|NCR 2900_260 wyse 325, 
+       am, bw, hs, km, mc5i, mir, msgr, xon, 
+       colors#16, cols#80, lines#24, ncv#33, nlab#32, 
+       acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2, 
+       cbt=\EI, civis=\E`0, clear=\E*$<10>, cnorm=\E`1, cr=^M, 
+       cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>, 
+       cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<10>, cuu1=\013$<5>, 
+       cvvis=\E`5, dch1=\EW$<50>, dl1=\ER$<5>, dsl=\E`c, 
+       ed=\Ey$<5>, el=\Et$<5>, fsl=^M, home=\036$<5>, ht=^I, 
+       hts=\E1, il1=\EE$<5>, ind=\n$<5>, invis=\EG1, 
+       is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
+       kDC=\ER, kEND=\EY, kHOM=\E{, kNXT=\EK, kPRT=\E7, kPRV=\EJ, 
+       kRIT=^L, ka1=^^, kb2=\EJ, kbs=^H, kc1=\ET, kc3=\EK, kcbt=\EI, 
+       kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kend=\ET, 
+       kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, 
+       kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, kf17=^A`\r, kf18=^Aa\r, 
+       kf19=^Ab\r, kf2=^AA\r, kf20=^Ac\r, kf21=^Ad\r, kf22=^Ae\r, 
+       kf23=^Af\r, kf24=^Ag\r, kf25=^Ah\r, kf26=^Ai\r, kf27=^Aj\r, 
+       kf28=^Ak\r, kf29=^Al\r, kf3=^AB\r, kf30=^Am\r, kf31=^An\r, 
+       kf32=^Ao\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
+       kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\Eq, knp=\EK, kpp=\EJ, 
+       kprt=\EP, mc0=\EP, mc4=^T, mc5=^R, 
+       mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<10>, 
+       nel=\037$<5>, rev=\EG4, ri=\Ej$<5>, rmacs=\EH\003\EcB0, 
+       rmam=\Ed., rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20, 
+       rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
+       setb=\s, 
+       setf=%?%p1%{0}%=%t%{49}%e%p1%{1}%=%t%{50}%e%p1%{2}%=%t%{51}%e%p1%{3}%=%t%{52}%e%p1%{4}%=%t%{53}%e%p1%{5}%=%t%{54}%e%p1%{6}%=%t%{55}%e%p1%{7}%=%t%{64}%e%p1%{8}%=%t%{57}%e%p1%{9}%=%t%{58}%e%p1%{10}%=%t%{59}%e%p1%{11}%=%t%{60}%e%p1%{12}%=%t%{61}%e%p1%{13}%=%t%{62}%e%p1%{14}%=%t%{63}%e%p1%{15}%=%t%{56}%;\Edy%c11$<100>, 
+       sgr0=\EG0\EcB0\EcD$<15>, smacs=\EH\002\EcB1, smam=\Ed/, 
+       smir=\Eq, smso=\EGt, smul=\EG8, smxon=\Ec21, tbc=\E0, 
+       tsl=\EF, 
+ncr260wy325wpp|NCR 2900_260 wyse 325 wide mode, 
+       cols#132, 
+       cup=\Ea%i%p1%dR%p2%dC$<30>, 
+       is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
+       rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
+       use=ncr260wy325pp, 
+# This definition for Wyse 350 supports several attributes.  This means
+# that it has magic cookies (extra spaces where the attributes begin).
+# Some applications do not function well with magic cookies.  The System
+# Administrator's Shell in NCR Unix SVR4 1.03 is one such application. 
+# If supporting various attributes is not vital, 'xmc#1' and the extra
+# attributes can be removed. 
+# Mapping to ASCII character set ('acsc' capability) can also be 
+# restored if needed.
+# In addition, color capabilities have been added to this file.  The drawback,
+# however, is that the background color has to be black.  The foreground colors
+# are numbered 0 through 15.  
+#
+# NOTE:  The NCR Unix System Administrator's Shell does not function properly
+#          with the 'pairs' capability defined as below.  If you wish to
+#          have it included, Un-comment it and recompile (using 'tic'). 
+#
+ncr260wy350pp|NCR 2900_260 wyse 350, 
+       am, bw, hs, km, mc5i, mir, msgr, xon, 
+       colors#16, cols#80, lines#24, ncv#33, nlab#32, xmc#1, 
+       acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2, 
+       cbt=\EI, civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M, 
+       cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>, 
+       cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<40>, cuu1=\013$<5>, 
+       cvvis=\E`5, dch1=\EW$<50>, dim=\EGp, dl1=\ER$<5>, dsl=\E`c, 
+       ed=\Ey$<5>, el=\Et$<5>, fsl=^M, home=\036$<10>, ht=^I, 
+       hts=\E1, il1=\EE$<5>, ind=\n$<5>, invis=\EG1, 
+       is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
+       kDC=\ER, kEND=\EY, kHOM=\E{, kPRT=\E7, kRIT=^L, ka1=^^, kbs=^H, 
+       kc1=\ET, kc3=\EK, kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L, 
+       kcuu1=^K, kdch1=\EW, kend=\ET, kf1=^A@\r, kf10=^AI\r, 
+       kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, 
+       kf16=^AO\r, kf17=^A`\r, kf18=^Aa\r, kf19=^Ab\r, kf2=^AA\r, 
+       kf20=^Ac\r, kf21=^Ad\r, kf22=^Ae\r, kf23=^Af\r, kf24=^Ag\r, 
+       kf25=^Ah\r, kf26=^Ai\r, kf27=^Aj\r, kf28=^Ak\r, kf29=^Al\r, 
+       kf3=^AB\r, kf30=^Am\r, kf31=^An\r, kf32=^Ao\r, kf4=^AC\r, 
+       kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, 
+       khome=^^, kich1=\Eq, knp=\EK, kpp=\EJ, kprt=\EP, 
+       mc0=\EP$<10>, mc4=^T, mc5=^R, 
+       mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<20>, 
+       nel=\037$<5>, rev=\EG4, ri=\Ej$<5>, rmacs=\EH\003\EcB0, 
+       rmam=\Ed., rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20, 
+       rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
+       setb=\s, 
+       setf=%?%p1%{0}%=%t%{49}%e%p1%{1}%=%t%{50}%e%p1%{2}%=%t%{51}%e%p1%{3}%=%t%{52}%e%p1%{4}%=%t%{53}%e%p1%{5}%=%t%{54}%e%p1%{6}%=%t%{55}%e%p1%{7}%=%t%{102}%e%p1%{8}%=%t%{97}%e%p1%{9}%=%t%{98}%e%p1%{10}%=%t%{99}%e%p1%{11}%=%t%{101}%e%p1%{12}%=%t%{106}%e%p1%{13}%=%t%{110}%e%p1%{14}%=%t%{111}%e%p1%{15}%=%t%{56}%;\Em0%c$<100>, 
+       sgr0=\EG0\EH\003\EcD, smacs=\EH\002\EcB1, smam=\Ed/, 
+       smir=\Eq, smso=\EGt, smul=\EG8, smxon=\Ec21, tbc=\E0, 
+       tsl=\EF, 
+ncr260wy350wpp|NCR 2900_260 wyse 350 wide mode, 
+       cols#132, 
+       cup=\Ea%i%p1%dR%p2%dC$<30>, 
+       is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>, 
+       rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>, 
+       use=ncr260wy350pp, 
+# This definition for Wyse 50+ supports several attributes.  This means
+# that it has magic cookies (extra spaces where the attributes begin).
+# Some applications do not function well with magic cookies.  The System
+# Administrator's Shell in NCR Unix SVR4 1.03 is one such application. 
+# If supporting various attributes is not vital, 'xmc#1' and the extra
+# attributes can be removed. 
+# Mapping to ASCII character set ('acsc' capability) can also be 
+# restored if needed.
+# (ncr260wy50+pp: originally contained commented-out 
+# <acsc=j5k3l2m1n8q:t4u9v=w0x6>, as well as the commented-out one there -- esr)
+ncr260wy50+pp|NCR 2900_260 wyse 50+, 
+       am, bw, hs, km, mc5i, mir, msgr, xon, 
+       cols#80, lines#24, nlab#32, xmc#1, 
+       acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, blink=\EG2, 
+       cbt=\EI$<5>, civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M, 
+       cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>, 
+       cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<30>, cuu1=\013$<5>, 
+       cvvis=\E`5, dch1=\EW$<50>, dim=\EGp, dl1=\ER$<5>, dsl=\E`c, 
+       ed=\EY$<5>, el=\ET$<5>, fsl=^M, home=\036$<10>, 
+       ht=\011$<5>, hts=\E1$<5>, il1=\EE$<5>, ind=\n$<5>, 
+       invis=\EG1, 
+       is2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
+       kDC=\ER, kEND=\EY, kHOM=\E{, kPRT=\E7, kRIT=^L, ka1=^^, kbs=^H, 
+       kc1=\ET, kc3=\EK, kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L, 
+       kcuu1=^K, kdch1=\EW, kend=\ET, kf1=^A@\r, kf10=^AI\r, 
+       kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, 
+       kf16=^AO\r, kf17=^A`\r, kf18=^Aa\r, kf19=^Ab\r, kf2=^AA\r, 
+       kf20=^Ac\r, kf21=^Ad\r, kf22=^Ae\r, kf23=^Af\r, kf24=^Ag\r, 
+       kf25=^Ah\r, kf26=^Ai\r, kf27=^Aj\r, kf28=^Ak\r, kf29=^Al\r, 
+       kf3=^AB\r, kf30=^Am\r, kf31=^An\r, kf32=^Ao\r, kf4=^AC\r, 
+       kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, 
+       khome=^^, kich1=\Eq, knp=\EK, kpp=\EJ, kprt=\EP, 
+       mc0=\EP$<10>, mc4=^T, mc5=^R, 
+       mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<10>, 
+       nel=\037$<5>, rev=\EG4, ri=\Ej$<5>, rmacs=\EH^C, rmam=\Ed., 
+       rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20, 
+       rs2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
+       sgr0=\EG0\EH\003$<15>, smacs=\EH^B, smam=\Ed/, smir=\Eq, 
+       smso=\EGt, smul=\EG8, smxon=\Ec21, tbc=\E0$<5>, tsl=\EF, 
+ncr260wy50+wpp|NCR 2900_260 wyse 50+ wide mode, 
+       cols#132, 
+       cup=\Ea%i%p1%dR%p2%dC$<30>, 
+       is2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>, 
+       rs2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>, 
+       use=ncr260wy50+pp, 
+ncr260wy60pp|NCR 2900_260 wyse 60, 
+       am, bw, hs, km, mc5i, mir, msgr, xon, 
+       cols#80, lines#24, nlab#32, 
+       acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2, 
+       cbt=\EI$<15>, civis=\E`0, clear=\E*$<100>, cnorm=\E`1, 
+       cr=^M, cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>, 
+       cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<10>, cuu1=\013$<5>, 
+       cvvis=\E`5, dch1=\EW$<50>, dl1=\ER$<5>, dsl=\E`c, 
+       ed=\Ey$<5>, el=\Et$<5>, fsl=^M, home=\036$<25>, 
+       ht=\011$<15>, hts=\E1$<15>, il1=\EE$<5>, ind=\n$<5>, 
+       invis=\EG1, 
+       is2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
+       kDC=\ER, kEND=\EY, kHOM=\E{, kNXT=\EK, kPRT=\E7, kPRV=\EJ, 
+       kRIT=^L, ka1=^^, kb2=\EJ, kbs=^H, kc1=\ET, kc3=\EK, 
+       kcbt=\EI$<15>, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
+       kdch1=\EW, kend=\ET, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, 
+       kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, 
+       kf17=^A`\r, kf18=^Aa\r, kf19=^Ab\r, kf2=^AA\r, kf20=^Ac\r, 
+       kf21=^Ad\r, kf22=^Ae\r, kf23=^Af\r, kf24=^Ag\r, kf25=^Ah\r, 
+       kf26=^Ai\r, kf27=^Aj\r, kf28=^Ak\r, kf29=^Al\r, kf3=^AB\r, 
+       kf30=^Am\r, kf31=^An\r, kf32=^Ao\r, kf4=^AC\r, kf5=^AD\r, 
+       kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
+       kich1=\Eq, knp=\EK, kpp=\EJ, kprt=\EP, mc0=\EP, mc4=^T, mc5=^R, 
+       mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<30>, 
+       nel=\037$<5>, rev=\EG4, ri=\Ej$<5>, rmacs=\EH^C, rmam=\Ed., 
+       rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20, 
+       rs2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
+       sgr0=\EG0\EcB0\EcD$<15>, smacs=\EH^B, smam=\Ed/, 
+       smir=\Eq, smso=\EGt, smul=\EG8, smxon=\Ec21, tbc=\E0$<15>, 
+       tsl=\EF, 
+ncr260wy60wpp|NCR 2900_260 wyse 60 wide mode, 
+       cols#132, 
+       cup=\Ea%i%p1%dR%p2%dC$<30>, 
+       is2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
+       rs2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
+       use=ncr260wy60pp, 
+ncr160vppp|NCR 2900_160 viewpoint, 
+       use=ncr260vppp, 
+ncr160vpwpp|NCR 2900_160 viewpoint wide mode, 
+       use=ncr260vpwpp, 
+ncr160vt100an|NCR 2900_160 vt100 with ansi kybd, 
+       use=ncr260vt100an, 
+ncr160vt100pp|NCR 2900_160 vt100 with PC+ kybd, 
+       use=ncr260vt100pp, 
+ncr160vt100wan|NCR 2900_160 vt100 wide mode ansi kybd, 
+       use=ncr260vt100wan, 
+ncr160vt100wpp|NCR 2900_160 vt100 wide mode pc+  kybd, 
+       use=ncr260vt100wpp, 
+ncr160vt200an|NCR 2900_160 vt200 with ansi kybd, 
+       use=ncr260vt200an, 
+ncr160vt200pp|NCR 2900_160 vt200 with pc+ kybd, 
+       use=ncr260vt200pp, 
+ncr160vt200wan|NCR 2900_160 vt200 wide mode ansi kybd, 
+       use=ncr260vt200wan, 
+ncr160vt200wpp|NCR 2900_160 vt200 wide mode pc+  kybd, 
+       use=ncr260vt200wpp, 
+ncr160vt300an|NCR 2900_160 vt300 with ansi kybd, 
+       use=ncr260vt300an, 
+ncr160vt300pp|NCR 2900_160 vt300 with pc+ kybd, 
+       use=ncr260vt300pp, 
+ncr160vt300wan|NCR 2900_160 vt300 wide mode ansi kybd, 
+       use=ncr260vt300wan, 
+ncr160vt300wpp|NCR 2900_160 vt300 wide mode pc+  kybd, 
+       use=ncr260vt300wpp, 
+ncr160wy50+pp|NCR 2900_160 wyse 50+, 
+       use=ncr260wy50+pp, 
+ncr160wy50+wpp|NCR 2900_160 wyse 50+ wide mode, 
+       use=ncr260wy50+wpp, 
+ncr160wy60pp|NCR 2900_160 wyse 60, 
+       use=ncr260wy60pp, 
+ncr160wy60wpp|NCR 2900_160 wyse 60 wide mode, 
+       use=ncr260wy60wpp, 
+ncrvt100an|ncrvt100pp|NCR vt100 for the 2900 terminal, 
+       am, hs, mc5i, mir, msgr, xon, 
+       cols#80, it#8, lines#24, nlab#32, 
+       acsc=``aaffgghhiijjkkllmmnnqqttuuvvwwxxyyzz~~, 
+       bel=^G, blink=\E[5m$<30>, bold=\E[1m$<30>, 
+       clear=\E[2J\E[1;1H$<300>, cr=^M, 
+       csr=\E[%i%p1%d;%p2%dr$<100>, cub=\E[%p1%dD$<30>, 
+       cub1=\E[D$<2>, cud=\E[%p1%dB$<30>, cud1=\E[B$<2>, 
+       cuf=\E[%p1%dC$<30>, cuf1=\E[C$<2>, 
+       cup=\E[%i%p1%d;%p2%dH$<100>, cuu=\E[%p1%dA$<30>, 
+       cuu1=\E[A$<2>, dch=\E[%p1%dP$<40>, dch1=\E[1P$<10>, 
+       dl=\E[%p1%dM$<70>, dl1=\E[M$<40>, dsl=\E[31l$<25>, 
+       ed=\E[0J$<300>, el=\E[0K$<30>, el1=\E[1K$<30>, 
+       enacs=\E(B\E)0$<40>, fsl=1$<10>, home=\E[H$<2>$<80>, 
+       ht=^I, hts=\EH, il=\E[%p1%dL$<80>, il1=\E[B\E[L$<80>, 
+       ind=\ED, 
+       is2=\E[12h\E[?10l\E%/0n\E[P\031\E[?3l\E(B\E)0$<200>, 
+       kLFT=\E[D, kRIT=\E[C, ka1=\E[H, kbs=^H, kcub1=\E[D, 
+       kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kent=^M, kf1=\EOP, 
+       kf2=\EOQ, kf3=\EOR, kf4=\EOS, mc0=\E[i$<100>, nel=\EE, 
+       rc=\E8, rev=\E[7m$<30>, ri=\EM$<50>, rmacs=\017$<90>, 
+       rmir=\E[4l$<80>, rmso=\E[0m$<30>, rmul=\E[0m$<30>, 
+       rs2=\Ec\E[12;31h\E[?3;4;5;10l\E[?6;7;19;25h\E[33;34l\E[0m\E(B\E)0\E%/0n\E[P\031$<200>, 
+       sc=\E7, 
+       sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<100>, 
+       sgr0=\017\E[0m$<120>, smacs=\016$<90>, smir=\E[4h$<80>, 
+       smso=\E[7m$<30>, smul=\E[4m$<30>, tbc=\E[3g$<40>, 
+       tsl=\E[>+1$<70>, 
+ncrvt100wan|NCRVT100WPP|ncrvt100wpp|NCR VT100 emulation of the 2900 terminal, 
+       cols#132, 
+       is2=\E[12h\E[?10l\E%/0n\E[P\031\E[?3h\E(B\E)0$<200>, 
+       rs2=\Ec\E[12;31h\E[?4;5;10l\E?3;6;7;19;25h\E[33;34l\E[0m\E(B\E)0\E%/0n\E[P\031$<200>, 
+       use=ncrvt100an, 
+#
+# Vendor-supplied NCR termcaps end here
+
 # NCR7900 DIP switches:
 #
 # Switch A:
@@ -10515,13 +12658,13 @@ ncr7900i|ncr7900|ncr 7900 model 1,
        is2=\E0@\010\E3\E4\E7, kcub1=^U, kcud1=^J, kcuf1=^F, 
        kcuu1=^Z, khome=^A, ll=^A, mc4=^T, mc5=^R, rev=\E0P, rmso=\E0@, 
        rmul=\E0@, 
-       sgr=\E0%p5%'@'%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c, 
+       sgr=\E0%p5%{64}%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c, 
        sgr0=\E0@, smso=\E0Q, smul=\E0`, 
 ncr7900iv|ncr 7900 model 4, 
        am, bw, eslok, hs, 
        cols#80, lines#24, 
        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, 
-       cup=\013%p1%'@'%+%c\E\005%p2%02d, dl1=\E^O, dsl=\Ey1, 
+       cup=\013%p1%{64}%+%c\E\005%p2%02d, dl1=\E^O, dsl=\Ey1, 
        fsl=\Ek\Ey5, home=\013@\E^E00, il1=\E^N, ind=^J, kbs=^H, 
        kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf1=\ES, kf2=\ET, 
        kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, 
@@ -10537,9 +12680,9 @@ ncr7901|ncr 7901 model,
        hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%c, ind=^J, 
        is2=\E4^O, kclr=^L, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z, 
        khome=^H, ll=^A, mc4=^T, mc5=^R, rev=\E0P, rmso=^O, rmul=^O, 
-       sgr=\E0%p5%'@'%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c\016, 
+       sgr=\E0%p5%{64}%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c\016, 
        sgr0=^O, smso=\E0Q\016, smul=\E0`\016, 
-       vpa=\013%p1%'@'%+%c, 
+       vpa=\013%p1%{64}%+%c, 
 
 #### Perkin-Elmer (Owl)
 #
@@ -11238,8 +13381,8 @@ scanset|sc410|sc415|Tymshare Scan Set,
 #
 # If you saw a Byte Magazine cover with a terminal on it during the early
 # 1980s, it was probably one of these.  Carl Helmers liked them because
-# they could crank 19.2 and were cheap (that is, until he tried to program
-# one...)
+# they could crank 19.2 and were cheap (that is, he liked them until he tried
+# to program one...)
 #
 
 # Missing in vc303a and vc303 descriptions:  they scroll 2 lines at a time
@@ -11308,13 +13451,32 @@ kaypro|kaypro2|kaypro II,
        el=^X, home=^^, il1=\EE, ind=^J, kcud1=^J, kcuf1=^L, kcuu1=^K, 
 
 # From IBM, Thu May  5 19:35:27 1983
-# (ibmpc: commented out <smir>=\200R because we don't know <rmir> -- esr)
-ibmpc|ibm-pc|ibm5051|5051|IBM Personal Computer (no ANSI.SYS), 
+# (commented out <smir>=\200R because we don't know <rmir> -- esr)
+ibm-pc|ibm5051|5051|IBM Personal Computer (no ANSI.SYS), 
        am, 
        cols#80, lines#24, 
        bel=^G, clear=^L^K, cr=^M^^, cub1=^], cud1=^J, cuf1=^\, 
        cuu1=^^, home=^K, ind=\n$<10>, kcud1=^_, 
 
+ibmpc|wy60-PC|wyse60-PC|IBM PC/XT running PC/IX, 
+       am, bw, eo, hs, km, msgr, ul, 
+       cols#80, it#8, lines#24, 
+       acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263, 
+       bel=^G, blink=\E[5m, bold=\E[1m, clear=\Ec, 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, ech=\E[%p1%dX, ed=\E[J, el=\E[K, 
+       home=\E[H, hpa=\E[%i%p1%dG, ind=\E[S\E[B, 
+       indn=\E[%p1%dS\E[%p1%dB, invis=\E[30;40m, kbs=^H, 
+       kcbt=^], kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
+       kdch1=\177, kend=\E[Y, kf1=\240, kf10=\251, kf2=\241, 
+       kf3=\242, kf4=\243, kf5=\244, kf6=\245, kf7=\246, kf8=\247, 
+       kf9=\250, khome=\E[H, kich1=\E[^H, knp=\E[U, ll=\E[24;1H, 
+       nel=^M, rev=\E[7m, ri=\E[T\E[A, rin=\E[%p1%dT\E[%p1%dA, 
+       rmso=\E[m, rmul=\E[m, 
+       sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, 
+       sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
+
 #### Apple II
 #
 # Apple II firmware console first, then various 80-column cards and 
@@ -11680,6 +13842,12 @@ amiga-h|Hans Verkuil's Amiga ANSI,
        rmul=\2330m, rs1=\Ec, sgr0=\2330m, smacs=^N, smcup=\233?7l, 
        smso=\2337m, smul=\2334m, 
 
+# From: Henning 'Faroul' Peters <Faroul@beyond.kn-bremen.de>, 25 Sep 1999
+amiga-8bit|Amiga ANSI using 8-bit controls, 
+       acsc=, dl=\233%p1%dM, dl1=\233M, il=\233%p1%dL, il1=\233L, 
+       ind=\204, indn@, ri=\215, rin@, 
+       use=amiga-h, 
+
 # 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
 # having a little trouble. I've had to map most of my control characters
@@ -11738,7 +13906,7 @@ osborne|osborne1|osborne I in 80-column mode,
        cols#80, lines#24, 
        clear=^Z, cub1=\010$<4>, cud1=^J, cuf1=^L, 
        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
-       dch1=\\EW$<4/>, dl1=\ER, el=\ET, il1=\EE, is2=^Z, kbs=^H, 
+       dch1=\EW$<4/>, dl1=\ER, el=\ET, il1=\EE, is2=^Z, kbs=^H, 
        kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, rmir=, rmso=\E), 
        rmul=\Em, smir=\EQ, smso=\E(, smul=\El, 
 #
@@ -11918,6 +14086,46 @@ m2-nam|minitel|minitel-2|minitel-2-nam|France Telecom Minitel 2 mode te'le'infor
        smacs=^N, smir=\E[4h, smso=\E[7m, smul=\E[4m, tsl=^_@A, 
        u6=\E[%i%d;%dR, u7=\E[6n, 
 
+# From: Alexandre Montaron <canal@mygale.org>, 18 Jun 1998
+#
+minitel1|minitel 1, 
+       am, bw, eslok, hs, hz, msgr, 
+       colors#8, cols#40, lines#24, pairs#8, 
+       acsc=+.\,\,./f0g1, bel=^G, blink=\EH, civis=^T, clear=^L, 
+       cnorm=^Q, cr=^M, cub1=^H, cud1=^J, cuf1=^I, 
+       cup=\037%p1%{65}%+%c%p2%{65}%+%c, cuu1=^K, el=^X, 
+       enacs=^Y, fsl=^J, home=^^, ind=^J, 
+       is2=\E;`ZQ\E\:iC\E\:iE\021, nel=^M^J, op=\EG, 
+       rep=%p1%c\022%p2%{63}%+%c, rev=\E], ri=^K, rmso=\E\\, 
+       setf=\E%?%p1%{1}%=%tD%e%p1%{3}%=%tF%e%p1%{4}%=%tA%e%p1%{6}%=%tC%e%p1%{64}%+%c%;, 
+       sgr=%?%p1%t\E]%;%?%p3%t\E]%;%?%p4%t\EH%;, 
+       sgr0=\EI\E\\, smso=\E], tsl=\037@%p1%{65}%+%c, 
+# is2=Fnct TE, Fnct MR, Fnct CM et pour finir: curseur ON.
+minitel1b|minitel 1-bistandard (in 40cols mode), 
+       mir, 
+       cub=\E[%p1%dD, cud=\E[%p1%dB, cuf=\E[%p1%dC, 
+       cuu=\E[%p1%dA, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
+       dl1=\E[M, ed=\E[J, el1=\E[1K, il=\E[%p1%dL, il1=\E[L, 
+       is1=\E;iYA\E;jYC, kclr=\E[2J, kctab=^I, kcub1=\E[D, 
+       kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, 
+       kel=^X, khome=\E[H, kich1=\E[4h, kil1=\E[L, rmir=\E[4l, 
+       smir=\E[4h, smkx=\E;iYA\E;jYC, 
+       use=minitel1, 
+# <rmkx> posait des problemes (logout en sortant de vi).
+minitel1b-80|minitel 1-bistandard (standard teleinformatique), 
+       am@, bw@, hz@, 
+       colors@, cols#80, it#8, pairs@, 
+       blink=\E[5m, bold=\E[1m, civis=\037@A\024\n, 
+       clear=\E[H\E[2J, cnorm=\037@A\021\n, cuf1=\E[C, 
+       cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H, 
+       ht=^I, ind=\ED, is1@, is2@, kent=\EOM, kf0=\EOp, kf1=\EOq, 
+       kf2=\EOr, kf3=\EOs, kf4=\EOt, kf5=\EOu, kf6=\EOv, kf7=\EOw, 
+       kf8=\EOx, kf9=\EOy, nel=\EE, op@, rc=\E8, rep@, rev=\E[7m, 
+       ri=\EM, rmkx@, rmso=\E[27m, rmul=\E[24m, sc=\E7, setf@, 
+       sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m, 
+       sgr0=\E[m, smkx@, smso=\E[7m, smul=\E[4m, 
+       use=minitel1b, 
+
 ######## OBSOLETE VDT TYPES
 #
 # These terminals are *long* dead -- these entries are retained for
@@ -12286,7 +14494,7 @@ delta|dd5000|delta data 5000,
        am, 
        cols#80, lines#27, 
        bel=^G, clear=^NR, cub1=^H, cud1=^J, cuf1=^Y, 
-       cup=\017%p1%p1%{16}%m%{2}%*%-%'9'%+%c%p2%p2%{16}%m%{2}%*%-%'9'%+%c, 
+       cup=\017%p1%p1%{16}%m%{2}%*%-%{57}%+%c%p2%p2%{16}%m%{2}%*%-%{57}%+%c, 
        cuu1=^Z, dch1=^NV, el=^NU, home=^NQ, ind=^J, 
 
 #### Digital Data Research (ddr)
@@ -13528,11 +15736,9 @@ versaterm|versaterm vt100 emulator for the macintosh,
 
 # From: Rick Thomas <ihnp4!btlunix!rbt>
 # (xtalk: I added <rmam>/<smam> based on the init string.
-# I also removed <xmc#1> and the trailing \s characters from the highlight
-# changers, I don't believe these on a VT100-emulating PC display -- esr)
 xtalk|IBM PC with xtalk communication program (versions up to 3.4), 
        am, mir, msgr, xon, 
-       cols#80, it#8, lines#24, vt#3, 
+       cols#80, it#8, lines#24, vt#3, xmc#1, 
        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
        bel=^G, clear=\E[H\E[J$<50>, cr=^M, cub=\E[%p1%dD, cub1=^H, 
        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C$<2>, 
@@ -13544,9 +15750,9 @@ xtalk|IBM PC with xtalk communication program (versions up to 3.4),
        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, 
+       rmkx=\E[?1l\E>, rmso=\E[m\s
        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sgr0=\E[m, 
-       smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m, 
+       smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m\s
        tbc=\E[3g, 
 
 # The official PC terminal emulator program of the AT&T Product Centers.
@@ -13707,7 +15913,7 @@ dwk|dwk-vt|dwk terminal,
        cols#80, it#8, lines#24, 
        acsc=+\^\,Q-S.M0\177`+a\:f'g#h#i#jXkClJmFnNo~qUs_tEuPv\\wKxW~_, 
        bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
-       cup=\EY%p1%' '%+%c%p2%' '%+%c, cuu1=\EA, dch1=\EP, 
+       cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EP, 
        ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EQ, ind=^J, kbs=\177, 
        kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\Ee, 
        kf1=\Ef1, kf10=\Ef0, kf2=\Ef2, kf3=\Ef3, kf4=\Ef4, kf5=\Ef5, 
@@ -13766,13 +15972,13 @@ opus3n1+|Esprit Opus3n1+ in wy60 mode with ANSI arrow keys,
        kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
        kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, 
        mc0=\EP, mc4=^T, mc5=^R, nel=\r\n$<3>, 
-       pfloc=\EZ2%p1%'?'%+%c%p2%s\177, 
-       pfx=\EZ1%p1%'?'%+%c%p2%s\177, 
-       pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E), ri=\Ej$<7>, 
+       pfloc=\EZ2%p1%{63}%+%c%p2%s\177, 
+       pfx=\EZ1%p1%{63}%+%c%p2%s\177, 
+       pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<7>, 
        rmacs=\EH^C, rmam=\Ed., rmcup=, rmir=\Er, rmln=\EA11, 
        rmxon=\Ec20, rs1=\E~!\E~4$<150>, rs2=\EeF$<150>, 
        rs3=\EwG\Ee($<150>, 
-       sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;\EG%'0'%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c, 
+       sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;\EG%{48}%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c, 
        sgr0=\E(\EH\003\EG0\EcD, smacs=\EH^B, smam=\Ed/, 
        smcup=\Ezz&\E[A\177\Ezz'\E[B\177\Ezz(\E[D\177\Ezz)\E[C\177\Ezz<\E[Q\177, 
        smir=\Eq, smln=\EA10, smxon=\Ec21, tbc=\E0, tsl=\Ez(, 
@@ -13784,11 +15990,10 @@ teletec|Teletec Datascreen,
        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^_, cuu1=^K, 
        home=^^, ind=^J, 
 # From: Mark Dornfeld <romwa@ucbvax.berkeley.edu>
-#              This termcap is for the LANPAR Technologies VISION 3220
-#      terminal.  The function key definitions k0-k5 represent the
-#      edit keypad: FIND, INSERT HERE, REMOVE, SELECT, PREV SCREEN,
-#      NEXT SCREEN. The key definitions k6-k9 represent the PF1 to
-#      PF4 keys.
+# This description is for the LANPAR Technologies VISION 3220
+# terminal from 1984/85.  The function key definitions k0-k5 represent the
+# edit keypad: FIND, INSERT HERE, REMOVE, SELECT, PREV SCREEN,
+# NEXT SCREEN. The key definitions k6-k9 represent the PF1 to PF4 keys.
 # (v3220: removed obsolete ":kn#10:",
 # I added <rmam>/<smam> based on the init string -- esr)
 v3220|LANPAR Vision II model 3220/3221/3222, 
@@ -14733,7 +16938,7 @@ v3220|LANPAR Vision II model 3220/3221/3222,
 #        that it was messing up someone's 3270 emulator.
 #      * Added some longname fields in order to avoid warning messages from
 #        older tic implementations.
-#      * According to ctrlseqs.ms, xterm has a full vt100 graphics set.  Use
+#      * According to ctlseqs.ms, xterm has a full vt100 graphics set.  Use
 #        it! (This gives us pi, greater than, less than, and a few more.)
 #      * Freeze for ncurses-1.9.6 release.
 # 9.10.1 (Sat Oct 21 22:18:09 EDT 1995):
@@ -14972,16 +17177,21 @@ v3220|LANPAR Vision II model 3220/3221/3222,
 #      * Removed rmir/smir from tv92B.
 #
 # 10.2.0 (Sat Feb 28 12:47:36 EST 1998):
-#      * Added Thomas Dickey's acsc string for linux.
-#      * Merged in BeOS, iris-color, hds200, xterm-xf86-v40, xterm-8bit,
-#        and emx entries.
+#      * add hds200 description (Walter Skorski)
+#      * add beterm entry (Fred Fish)
+#      * add Thomas Dickey's xterm-xf86-v40, xterm-8bit, xterm-16color,
+#        iris-color entries.
+#      * add emx entries.
 #      * Replaced unixpc entry with Benjamin Sittler's corrected version.
 #      * Replaced xterm/rxvt/emu/syscons entries with Thomas Dickey's
 #        versions.
+#      * remove sgr string from qnx based on report by Xiaodan Tang
 #      * Added u8/u9, removed rmul/smul from sun-il.
-#      * 4.2 tic allows us to use \0 instead of \200 now.
+#      * 4.2 tic displays \0 rather than \200.
+#      * add linux-koi8r to replace linux-koi8 (which uses a corrupt acsc,
+#        apparently based on cp-866).
 #      * Merged in Pavel Roskin's acsc for linux-koi8
-#      * Corrected some erroneous \\\s to \.
+#      * Corrected some erroneous \\'s to \.
 #      * 4.2 ncurses has been changed to use setaf/setab, consistent w/SysV.
 #      * II -> ii in pcvtXX, screen, xterm.
 #      * Removed \n chars following ANSI escapes in sgr & friends.
@@ -14992,10 +17202,154 @@ v3220|LANPAR Vision II model 3220/3221/3222,
 #      * Added Sony NEWS workstation entries and cit101e-rv.
 #      * Reverted `amiga'; to Kent Polk's version, as I'm told
 #        the Verkuil entry messes up with Amiga Telnet.
+# 10.2.1 (Sun Mar  8 18:32:04 EST 1998):
+#      * Corrected attributions in 10.2.0 release notes.
+#      * Scanned the Shuford archive for new terminfos and information.
+#      * Removed sgr from qnx entry (Thomas Dickey).
+#      * Added entries for ICL and Kokusai Data Systems terminals.
+#      * Incorporated NCR terminfos from the Boundless Technology FTP site.
+#      * Incorporated att700 from the Boundless Technology FTP site.
+#      * Miscellaneous contact-address and Web-page updates.
+#
+# 1998/5/9
+#      * add nxterm and xterm-color terminfo description (request by Cristian
+#        Gafton <gafton@redhat.com>).
+#      * modify rxvt terminfo description to clear alternate screen before
+#        switching back to normal screen, for compatibility with applications
+#        which use xterm (reported by Manoj Kasichainula <manojk@io.com>).
+#      * modify linux terminfo description to reset color palette (reported
+#        by Telford Tendys <telford@eng.uts.edu.au>).
+#
+# 1998/7/4
+#      * merge changes from current XFree86 xterm terminfo descriptions.
+#
+# 1998/7/25
+#      * Added minitel1 entries from Alexander Montaron.
+#      * Added qnxt2 from Federico Bianchi.
+#      * Added arm100 terminfo entries from Dave Millen.
+#
+# 1998/8/6
+#      * Added ncsa telnet entries from Francesco Potorti
+#
+# 1998/8/15
+#      * modify ncsa telnet entry to reflect color, other capabilities based on
+#        examination of the source code - T.Dickey.
+#
+# 1998/8/22
+#      * Corrected some erroneous \\'s to \ (eterm, osborne) - TD.
+#
+# 1998/8/29
+#      * Added Francesco Potorti's tuned Wyse 99 entries.
+#      * dtterm enacs correction from Alexander V. Lukyanov.
+#      * Add ncsa-ns, ncsa-m-ns and ncsa-m entries from esr version.
+#      * correct a typo in icl6404 entry.
+#      * add xtermm and xtermc
+#
+# 1998/9/26
+#      * format most %'char' sequences to %{number}
+#      * adapt IBM AIX 3.2.5 terminfo - T.Dickey
+#      * merge Data General terminfo from Hasufin <hasufin@vidnet.net> - TD
+#
+# 1998/10/10
+#      * update xterm-xfree86 to current (patch 84), for is2/rs2 changes - TD
+#      * correct initialization string in xterm-r5, add misc other features
+#        to correspond with xterm patch 84 - TD
+#
+# 1998/12/19
+#      * update xterm-xfree86 to current (patch 90), smcur/rmcur changes - TD
+#      * add Mathew Vernon's mach console entries
+#      * corrections for ncsa function-keys (report by Larry Virden)
+#
+# 1998/12/19
+#      * change linux to use ncv#2, since underline does not work with color - TD
+#
+# 1999/1/9
+#      * add kbt to iris-ansi, document other shift/control functionkeys - TD
+#      * correct iris-ansi and iris-ansi-ap with respect to normal vs keypad
+#        application modes, change kent to use the correct keypad code - TD
+#
+# 1999/1/10
+#      * add entry for Tera Term - TD
+#
+# 1999/1/23
+#      * minor improvements for teraterm entry - TD
+#      * rename several entries used by BSDI: bsdos to bsdos-pc-nobold,
+#        and bsdos-bold to bsdos-pc (Jeffrey C Honig)
+#
+# 1999/2/20
+#      * resolve ambiguity of kend/kll/kslt and khome/kfnd/kich1 strings in
+#        xterm and ncsa entries by removing the unneeded ones.  Note that
+#        some entries will return kend & khome versus kslt and kfnd, for
+#        PC-style keyboards versus strict vt220 compatiblity - TD
+#
+# 1999/3/13
+#      * adjust xterm-xfree86 khome/kend to match default PC-style keyboard
+#        tables - TD
+#      * add 'crt' entry - TD
+#      * correct typos in 'linux-c' entry - TD
+#
+# 1999/3/14
+#      * update entries for BSD/OS console to use klone+sgr and klone+color
+#        (Jeffrey C Honig)
+#
+# 1999/3/27
+#      * adjust xterm-xfree86 miscellaneous keypad keys, as per patch #94 - TD.
+#
+# 1999/4/10
+#      * add linux-lat, from RedHat patches to ncurses 4.2
+#
+# 1999/4/17
+#      * add complete set of default function-key definitions for scoansi - TD.
+#
+# 1999/7/3
+#      * add cnorm, cvvis for Linux 2.2 kernels
+#
+# 1999/7/24
+#      * add kmous to xterm-r5 -TD
+#      * correct entries xterm+sl and xterm+sl-twm, which were missing the
+#        parent "use" clause -TD
+#
+# 1999/7/31
+#      * corrected cnorm, added el1 in 'screen' description -TD
+#
+# 1999/8/14
+#      * add ms-vt100 -TD
+#
+# 1999/8/21
+#      * corrections to beterm entry -TD
+#
+# 1999/8/28
+#      * add cygwin entry -TD
+#
+# 1999/9/4
+#      * minor corrections for beterm entry -TD
+#
+# 1999/9/18
+#      * add acsc string to HP 70092 terminfo entry -Joerg Wunsch
+#
+# 1999/9/25
+#      * add amiga-8bit entry
+#      * add console entries from NetBSD: ofcons, wsvt25, wsvt25m, rcons,
+#        rcons-color, based on
+#        ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-current/src/share/termcap/termcap.src
+#      * add alias for iris-ansi-net
+#
+# 1999/10/2
+#      * corrected scoansi entry's acsc, some function keys, add color -TD
+#
+# 1999/10/23
+#      * add cnorm, cvvis to cons25w, and modify ncv to add 'dim' -TD
+#      * reorder ncsa entries to make ncsa-vt220 use the alternate function
+#        key mapping, leaving Potorti's entries more like he named them -TD
+#      * remove enter/exit am-mode from cygwin -TD
 #
-# The following sets edit modes for GNU EMACS
+# The following sets edit modes for GNU EMACS.
 # Local Variables:
 # fill-prefix:"\t"
 # fill-column:75
+# comment-column:0
+# comment-start-skip:"^#+"
+# comment-start:"# "
+# compile-command:"tic -c terminfo.master"
 # End:
 ######## SHANTIH!  SHANTIH!  SHANTIH!