]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - misc/terminfo.src
ncurses 4.2
[ncurses.git] / misc / terminfo.src
index 496be629995ea476fd8bf1e80f3cc348a1fcea81..fedfe67ece42971022c2de682c10864e9ed6652e 100644 (file)
@@ -1,6 +1,6 @@
 ######## TERMINAL TYPE DESCRIPTIONS SOURCE FILE
 #
-#      Version 10.1.1
+#      Version 10.2.0
 #      terminfo syntax
 #
 #      Eric S. Raymond         (current maintainer)
@@ -24,7 +24,7 @@
 # termcap/terminfo versions.
 #
 # Pointers to related resources (including the ncurses distribution) may
-# be found at <http://www.ccil.org/terminfo>.
+# be found at <http://earthspace.net/terminfo>.
 #
 # INTERNATIONALIZATION:
 #
@@ -290,7 +290,7 @@ glasstty|classic glass tty interpreting ASCII control characters,
 # will work with any Intel console, they all seem to have inherited \E[11m
 # from the ANSI.SYS de-facto standard.
 klone+acs|alternate character set for ansi.sys displays, 
-       acsc=`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~q\304r\362s_t\303u\264v\301w\302x\263y\371z\372{\373|\374}\375~\376.\031-\030\,\021+^P0\333p\304r\304y\363z\362{\343|\330}\234
+       acsc=+\020\,\021-\030.^Y0\333`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376
        rmacs=\E[10m, smacs=\E[11m, 
 
 # Highlight controls corresponding to the ANSI.SYS standard.  Most 
@@ -315,10 +315,10 @@ klone+sgr-dumb|attribute control for ansi.sys displays (no ESC [ 11 m),
        sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, smul=\E[4m, 
        use=klone+acs, 
 
-# KOI8 (RFC1489) alternate character set 
-# From: Qing Long <qinglong@Bolizm.ihep.su>, 24 Feb 1996.
+# KOI8-R (RFC1489) acs (alternate character set)
+# From: QingLong <qinglong@Bolizm.ihep.su>, 24 Feb 1996.
 klone+koi8acs|alternate character set for ansi.sys displays with KOI8 charset, 
-       acsc=l\202m\204k\203j\205u\207t\206v\210w\211q\200x\201n\212o\213s\214p\216r\217`\004a\237f\234g\232~\225.\037-\036+\020\,\021h\222I\2200\215y\230z\231{\267}L|\274
+       acsc=+\020\,\021-\036.^_0\215`\004a\237f\234g\232h\222i\220j\205k\203l\202m\204n\212o\213p\216q\0r\217s\214t\206u\207v\210w\211x\201y\230z\231{\267|\274}L~\225
        rmacs=\E[10m, smacs=\E[11m, 
 
 # ANSI.SYS color control.  The setab/setaf caps depend on the coincidence
@@ -330,7 +330,7 @@ klone+koi8acs|alternate character set for ansi.sys displays with KOI8 charset,
 # They match a subset of ECMA-48.
 klone+color|color control for ansi.sys and ISO6429-compatible displays, 
        colors#8, ncv#3, pairs#64, 
-       op=\E[37;40m, setb=\E[4%p1%dm, setf=\E[3%p1%dm, 
+       op=\E[37;40m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
 
 # This is better than klone+color, it doesn't assume white-on-black as the
 # default color pair,  but many `ANSI' terminals don't grok the <op> cap.
@@ -523,6 +523,31 @@ 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
+#      
+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, 
+       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, 
+
 # This entry is good for the 1.2.13 version of the Linux console driver.
 #
 # Note: there are numerous broken linux entries out there, which didn't screw
@@ -553,10 +578,10 @@ nansi.sysk|nansisysk|PC-DOS Public Domain NANSI.SYS with keypad redefined for vi
 # 1.9.9. All linux kernels since 1.2.13 (at least) set the screen size
 # themselves; this entry assumes that capability.
 #
-# From: Eric S. Raymond <esr@snark.thyrsus.com> 15 Dec 1995
 linux|linux console, 
        am, bce, eo, mir, msgr, xenl, xon, 
-       it#8, 
+       it#8, ncv@, 
+       acsc=+\020\,\021-\030.^Y0\333`\004a\261f\370g\361h\260i\316j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376, 
        bel=^G, civis=\E[?25l, clear=\E[H\E[J, cnorm=\E[?25h, 
        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, 
@@ -583,9 +608,11 @@ linux-m|Linux console no color,
        setab@, setaf@, setb@, setf@, use=linux, 
 linux-c-nc|linux console 1.3.x hack for ncurses only, 
        ccc, 
-       initc=\E]P%p1%x%p2%02x%p3%02x%p4%02x, oc=\E]R, use=linux, 
+       initc=\E]P%p1%x%p2%{255}%*%{1000}%/%02x%p3%{255}%*%{1000}%/%02x%p4%{255}%*%{1000}%/%02x, 
+       oc=\E]R, 
+       use=linux, 
 # From: Dennis Henriksen <opus@osrl.dk>, 9 July 1996
-linux-c|linux console 1.3.6+, with private palette for each virtual console, 
+linux-c|linux console 1.3.6+ with private palette for each virtual console, 
        ccc, 
        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%;, 
@@ -598,7 +625,14 @@ linux-nic|linux with ich/ich1 suppressed for non-curses programs,
        use=linux, 
 
 # This assumes you have used setfont(8) to load one of the Linux koi8-r fonts.
+# acsc entry from Pavel Roskin" <pavel@absolute.spb.su>, 29 Sep 1997.
 linux-koi8|linux with koi8 alternate character set, 
+       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?)
+linux-koi8r|linux with koi8-r alternate character set, 
        use=linux, use=klone+koi8acs, 
 
 # SCO console and SOS-Syscons console for 386bsd
@@ -665,7 +699,74 @@ pc6300plus|AT&T 6300 plus,
        nel=^M^J, rev=\E[7m, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
        smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
 
-#
+# From: Benjamin C. W. Sittler <bsittler@nmt.edu>
+#
+# I have a UNIX PC which I use as a terminal attached to my Linux PC.
+# Unfortunately, the UNIX PC terminfo entry that comes with ncurses
+# is broken. All the special key sequences are broken, making it unusable
+# with Emacs. The problem stems from the following:
+# 
+# The UNIX PC has a plethora of keys (103 of them, and there's no numeric
+# keypad!), loadable fonts, and strange highlighting modes ("dithered"
+# half-intensity, "smeared" bold, and real strike-out, for example.) It also
+# uses resizable terminal windows, but the bundled terminal program always
+# uses an 80x24 window (and doesn't support seem to support a 132-column
+# mode.) 
+# 
+# HISTORY: The UNIX PC was one of the first machines with a GUI, and used a
+# library which was a superset of SVr3.5 curses (called tam, for "terminal
+# access method".) tam includes support for real, overlapping windows,
+# onscreen function key labels, and bitmap graphics. But since the primary
+# user interface on the UNIX PC was a GUI program (ua, for "user
+# assistant",) and remote administration was considered important for the
+# machine, tam also supported VT100-compatible terminals attached to the
+# serial port or used across the StarLan network. To simulate the extra keys
+# not present on a VT100, users could press ESC and a two-letter sequence,
+# such as u d (Undo) or U D (Shift-Undo.) These two-letter sequences,
+# however, were not the same as those sent by the actual Undo key. The
+# actual Undo key sends ESC 0 s unshifted, and ESC 0 S shifted, for example.
+# (If you're interested in adding some of the tam calls to ncurses, btw, I
+# have the full documentation and several programs which use tam. It also
+# used an extended terminfo format to describe key sequences, special
+# highlighting modes, etc.) 
+# 
+# KEYS: This means that ncurses would quite painful on the UNIX PC, since
+# there are two sequences for every key-modifier combination (local keyboard
+# sequence and remote "VT100" sequence.) But I doubt many people are trying
+# to use ncurses on the UNIX PC, since ncurses doesn't properly handle the
+# GUI. Unfortunately, the terminfo entry (and the termcap, too, I presume) 
+# seem to have been built from the manual describing the VT100 sequences. 
+# This means it doesn't work for a real live UNIX PC. 
+# 
+# FONTS: The UNIX PC also has a strange interpretation of "alternate
+# character set". Rather than the VT100 graphics you might expect, it allows
+# up to 8 custom fonts to be loaded at any given time. This means that
+# programs expecting VT100 graphics will usually be disappointed. For this
+# reason I have disabled the smacs/rmacs sequences, but they could easily be
+# re-enabled. Here are the relevant control sequences (from the ESCAPE(7) 
+# manpage), should you wish to do so: 
+# 
+# SGR10 - Select font 0 - ESC [ 10 m or SO
+# SGR11 - Select font 1 - ESC [ 11 m or SI
+# SGR12 - Select font 2 - ESC [ 12 m
+# ... (etc.)
+# SGR17 - Select font 7 - ESC [ 17 m
+# 
+# Graphics for line drawing are not reliably found at *any* character
+# location because the UNIX PC has dynamically reloadable fonts. I use font
+# 0 for regular text and font 1 for italics, but this is by no means
+# universal. So ASCII line drawing is in order if smacs/rmacs are enabled.
+# 
+# MISC: The cursor visible/cursor invisible sequences were swapped in the
+# distributed terminfo.
+# 
+# To ameliorate these problems (and fix a few highlighting bugs) I rewrote
+# the UNIX PC terminfo entry. The modified version works great with Lynx,
+# Emacs, and XEmacs running on my Linux PC and displaying on the UNIX PC
+# attached by serial cable. In Emacs, even the Undo key works, and many
+# applications can now use the F1-F8 keys. 
+# 
+# esr's notes:
 #      Terminfo entry for the AT&T Unix PC 7300
 #      from escape(7) in Unix PC 7300 Manual.
 #      Somewhat similar to a vt100-am (but different enough
@@ -716,36 +817,35 @@ pc6300plus|AT&T 6300 plus,
 # they're confirmed by the man page for the System V display---esr)
 #
 att7300|unixpc|pc7300|3b1|s4|AT&T UNIX PC Model 7300, 
-       am, xenl, xon, 
+       am, xon, 
        cols#80, it#8, lines#24, 
-       acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
-       bel=^G, bold=\E[7m, cbt=\E^I, civis=\E[=C, clear=\E[2J\E[H, 
-       cnorm=\E[=1C, cr=^M, cub=\E[%p1%dD, cud=\E[%p1%dB, 
-       cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
-       cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
-       dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, 
-       el=\E[0K, home=\E[H, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, 
-       ind=^J, invis=\E[9m, is1=^O, kBEG=\EBG, kCAN=\ECN, kCPY=\ECP, 
-       kCRT=\ECR, kDC=\EDC, kDL=\EDL, kEND=\EEN, kEOL=\ECI, 
-       kFND=\EFI, kHLP=\EHL, kHOM=\EHM, kIC=\ENJ, kLFT=\EBW, 
-       kMOV=\EMV, kNXT=\ENX, kOPT=\EOT, kPRV=\EPV, kRDO=\ERO, 
-       kRIT=\EFW, kRPL=\ERP, kSAV=\ESV, kUND=\EUD, kbeg=\Ebg, 
-       kbs=^H, kcan=\Ecn, kcbt=\E^I, kclo=\Ecl, kclr=\Ece, 
-       kcmd=\Ecm, kcpy=\Ecp, kcrt=\Ecr, kcub1=\E[D, kcud1=\E[B, 
-       kcuf1=\E[C, kcuu1=\E[A, kdch1=\Edc, ked=\Ece, kel=\Eci, 
-       kend=\Een, kext=\Eex, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
-       kf5=\E5, kf6=\E6, kf7=\E7, kf8=\E8, kfnd=\Efi, khlp=\Ehl, 
-       khome=\Ehm, kich1=\Eim, kind=\Erd, kmov=\Emv, kmrk=\Emk, 
-       knp=\Epg, knxt=\Enx, kopn=\Eop, kopt=\Eot, kpp=\EPG, 
-       kprt=\Epr, kprv=\Epv, krdo=\Ero, kref=\Ere, krfr=\Erf, 
-       kri=\Eru, krpl=\Erp, krst=\Ers, ksav=\Esv, kslt=\Esl, 
-       kund=\Eud, nel=\EE, rev=\E[7m, ri=\EM, rmacs=\E[10m, 
-       rmso=\E[m, rmul=\E[m, sgr0=\E[0;10m, smacs=\E[11m, 
-       smso=\E[7m, smul=\E[4m, 
+       bel=^G, blink=\E[9m, bold=\E[1m, cbt=\E^I, civis=\E[=1C, 
+       clear=\E[2J\E[H, 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, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, 
+       ed=\E[0J, el=\E[0K, home=\E[H, ich1=\E[@, il=\E[%p1%dL, 
+       il1=\E[L, ind=^J, invis=\E[9m, is1=\017\E[=1w, kBEG=\ENB, 
+       kCAN=\EOW, kCPY=\END, kCRT=\EON, kDC=\ENF, kDL=\ENE, 
+       kEND=\ENN, kEOL=\EOA, kFND=\EOX, kHLP=\EOM, kHOM=\ENM, 
+       kIC=\ENJ, kLFT=\ENK, kMOV=\ENC, kNXT=\ENH, kOPT=\EOR, 
+       kPRV=\ENG, kRDO=\EOT, kRIT=\ENL, kRPL=\EOY, kSAV=\EOO, 
+       kUND=\EOS, kbeg=\ENb, kbs=^H, kcan=\EOw, kcbt=\E[Z, 
+       kclo=\EOV, kclr=\E[J, kcmd=\EOu, kcpy=\ENd, kcrt=\EOn, 
+       kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\ENf, 
+       ked=\E[J, kel=\EOa, kend=\E0, kext=\EOk, kf1=\EOc, kf2=\EOd, 
+       kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, 
+       kfnd=\EOx, khlp=\EOm, khome=\E[H, kich1=\ENj, kind=\E[B, 
+       kmov=\ENc, kmrk=\ENi, knp=\E[U, knxt=\ENh, kopn=\EOv, 
+       kopt=\EOr, kpp=\E[V, kprt=\EOz, kprv=\ENg, krdo=\EOt, 
+       kref=\EOb, krfr=\ENa, kri=\E[A, krpl=\EOy, krst=\EOB, 
+       ksav=\EOo, kslt=\ENI, kund=\EOs, nel=\EE, rev=\E[7m, ri=\EM, 
+       rmso=\E[m, rmul=\E[m, sgr0=\E[0;10m, smso=\E[7m, 
+       smul=\E[4m, 
 
-# From: davis@unidata.ucar.edu
+# From: Stefan Stapelberg <stefan@rent-a-guru.de>, 24 Feb 1997
 # (iris-ansi: added rmam/smam based on init string -- esr)
-iris-ansi|iris-ansi-net|IRIS emulating ANSI terminal
+iris-ansi|IRIS emulating 40 line ANSI terminal (almost VT100)
        am, 
        cols#80, it#8, lines#40, 
        bel=^G, bold=\E[1m, clear=\E[H\E[2J, 
@@ -773,6 +873,17 @@ iris-ansi-ap|IRIS ANSI in application-keypad mode,
        kf12=\E[012q, rmkx=\E>, smkx=\E=, 
        use=iris-ansi, 
 
+# From the man-page, this is a quasi-vt100 emulator that runs on SGI's IRIX
+# (T.Dickey 98/1/24)
+iris-color|xwsh|IRIX ANSI with color, 
+       ncv#33, 
+       csr=\E[%i%p1%d;%p2%dr, dch=\E[%p1%dP, dim=\E[2m, 
+       ech=\E[%p1%dX, ich=\E[%p1%d@, rc=\E8, ritm=\E[23m, 
+       rmul=\E[24m, rs1=\Ec, 
+       rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
+       sitm=\E[3m, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c, 
+       use=klone+color, use=iris-ansi-ap, 
+
 # The following is a version of the ibm-pc entry distributed with PC/IX,
 # (Interactive Systems' System 3 for the Big Blue), modified by Richard
 # McIntosh at UCB/CSM.  The :pt: and :uc: have been removed from the original,
@@ -821,7 +932,7 @@ ibmpcx|xenix|ibmx|IBM PC xenix console display,
 qnx|qnx4|qnx console, 
        daisy, km, mir, msgr, xhpa, xt, 
        colors#8, cols#80, it#4, lines#25, ncv#3, pairs#8, 
-       acsc=l\332m\300k\277j\331q\304x\263u\264t\303n\305v\301w\302O\333a\261o\337s\334
+       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, 
@@ -835,39 +946,38 @@ qnx|qnx4|qnx console,
        kOPT=\377\372, kPRT=\377\275, kPRV=\377\262, 
        kRDO=\377\315, kRES=\377\374, kRIT=\377\266, 
        kRPL=\377\373, kSAV=\377\307, kSPD=\377\303, 
-       kUND=\377\337, kbeg=\377\300, kcan=\377\243, 
-       kcbt=\377\200, kclo=\377\343, kclr=\377\341, 
-       kcmd=\377\245, kcpy=\377\265, kcrt=\377\305, 
-       kctab=\377\237, kcub1=\377\244, kcud1=\377\251, 
-       kcuf1=\377\246, kcuu1=\377\241, kdch1=\377\254, 
-       kdl1=\377\274, ked=\377\314, kel=\377\310, kend=\377\250, 
-       kent=\377\320, kext=\377\270, kf1=\377\201, 
-       kf10=\377\212, kf11=\377\256, kf12=\377\257, 
-       kf13=\377\213, kf14=\377\214, kf15=\377\215, 
-       kf16=\377\216, kf17=\377\217, kf18=\377\220, 
-       kf19=\377\221, kf2=\377\202, kf20=\377\222, 
-       kf21=\377\223, kf22=\377\224, kf23=\377\333, 
-       kf24=\377\334, kf25=\377\225, kf26=\377\226, 
-       kf27=\377\227, kf28=\377\230, kf29=\377\231, 
-       kf3=\377\203, kf30=\377\232, kf31=\377\233, 
-       kf32=\377\234, kf33=\377\235, kf34=\377\236, 
-       kf35=\377\276, kf36=\377\277, kf37=\377\321, 
-       kf38=\377\322, kf39=\377\323, kf4=\377\204, 
-       kf40=\377\324, kf41=\377\325, kf42=\377\326, 
-       kf43=\377\327, kf44=\377\330, kf45=\377\331, 
-       kf46=\377\332, kf47=\377\316, kf48=\377\317, 
-       kf5=\377\205, kf6=\377\206, kf7=\377\207, kf8=\377\210, 
-       kf9=\377\211, kfnd=\377\346, khlp=\377\350, 
-       khome=\377\240, khts=\377\342, kich1=\377\253, 
-       kil1=\377\273, kind=\377\261, kmov=\377\351, 
-       kmrk=\377\355, kmsg=\377\345, knp=\377\252, 
-       knxt=\377\312, kopn=\377\357, kopt=\377\353, 
-       kpp=\377\242, kprt=\377\255, kprv=\377\302, 
-       krdo=\377\336, kref=\377\354, kres=\377\360, 
-       krfr=\377\347, kri=\377\271, krmir=\377\313, 
-       krpl=\377\362, krst=\377\352, ksav=\377\361, 
-       kslt=\377\247, kspd=\377\335, ktbc=\377\344, 
-       kund=\377\365, mvpa=\E!%p1%02d, op=\ER, 
+       kUND=\377\337, kbeg=\377\300, kcan=\377\243, kcbt=\377\0, 
+       kclo=\377\343, kclr=\377\341, kcmd=\377\245, 
+       kcpy=\377\265, kcrt=\377\305, kctab=\377\237, 
+       kcub1=\377\244, kcud1=\377\251, kcuf1=\377\246, 
+       kcuu1=\377\241, kdch1=\377\254, kdl1=\377\274, 
+       ked=\377\314, kel=\377\310, kend=\377\250, kent=\377\320, 
+       kext=\377\270, kf1=\377\201, kf10=\377\212, 
+       kf11=\377\256, kf12=\377\257, kf13=\377\213, 
+       kf14=\377\214, kf15=\377\215, kf16=\377\216, 
+       kf17=\377\217, kf18=\377\220, kf19=\377\221, 
+       kf2=\377\202, kf20=\377\222, kf21=\377\223, 
+       kf22=\377\224, kf23=\377\333, kf24=\377\334, 
+       kf25=\377\225, kf26=\377\226, kf27=\377\227, 
+       kf28=\377\230, kf29=\377\231, kf3=\377\203, 
+       kf30=\377\232, kf31=\377\233, kf32=\377\234, 
+       kf33=\377\235, kf34=\377\236, kf35=\377\276, 
+       kf36=\377\277, kf37=\377\321, kf38=\377\322, 
+       kf39=\377\323, kf4=\377\204, kf40=\377\324, 
+       kf41=\377\325, kf42=\377\326, kf43=\377\327, 
+       kf44=\377\330, kf45=\377\331, kf46=\377\332, 
+       kf47=\377\316, kf48=\377\317, kf5=\377\205, kf6=\377\206, 
+       kf7=\377\207, kf8=\377\210, kf9=\377\211, kfnd=\377\346, 
+       khlp=\377\350, khome=\377\240, khts=\377\342, 
+       kich1=\377\253, kil1=\377\273, kind=\377\261, 
+       kmov=\377\351, kmrk=\377\355, kmsg=\377\345, 
+       knp=\377\252, knxt=\377\312, kopn=\377\357, 
+       kopt=\377\353, kpp=\377\242, kprt=\377\255, 
+       kprv=\377\302, krdo=\377\336, kref=\377\354, 
+       kres=\377\360, krfr=\377\347, kri=\377\271, 
+       krmir=\377\313, krpl=\377\362, krst=\377\352, 
+       ksav=\377\361, kslt=\377\247, kspd=\377\335, 
+       ktbc=\377\344, kund=\377\365, mvpa=\E!%p1%02d, op=\ER, 
        rep=\Eg%p2%' '%+%c%p1%c, rev=\E(, ri=\EI, rmcup=\Eh\ER, 
        rmso=\E), rmul=\E], rs1=\ER, setb=\E@%p1%Pb%gb%gf%d%d, 
        setf=\E@%p1%Pf%gb%gf%d%d, 
@@ -891,7 +1001,7 @@ qnx|qnx4|qnx console,
 pcvtXX|pcvt vt200 emulator (DEC VT220), 
        am, km, mir, msgr, xenl, 
        it#8, vt#3, 
-       acsc=llmmkkjjuuttvvwwqqxxnnoosspprr``aaffgg~~..--++\,\,hhII00yyzz
+       acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz~~
        bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M, 
        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, 
@@ -982,9 +1092,12 @@ x68k|x68k-ite|NetBSD/x68k ITE,
 # Bug? The ech and el1 attributes appear to move the cursor in some cases; for
 # instance el1 does if the cursor is moved to the right margin first.  Removed
 # by T.Dickey 97/5/3 (ech=\E[%p1%dX, el1=\E[1K)
+#
+# Setting colors turns off reverse; we cannot guarantee order, so use ncv.
+# Note that this disables standout with color.
 cons25w|ansiw|ansi80x25-raw|freebsd console (25-line raw mode), 
        am, bce, bw, eo, msgr, npc, 
-       colors#8, cols#80, it#8, lines#25, pairs#64, 
+       colors#8, cols#80, it#8, lines#25, ncv#5, pairs#64, 
        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J, 
        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, 
@@ -1001,7 +1114,7 @@ cons25w|ansiw|ansi80x25-raw|freebsd console (25-line raw mode),
        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=l\332m\300k\277j\331u\264t\303v\301w\302q\304x\263n\305`\004a\260f\370g\361~\371.\031-\030h\261I^U0\333y\363z\362
+       acsc=-\030.^Y0\333`\004a\260f\370g\361h\261i\025j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263y\363z\362~\371
        use=cons25w, 
 cons25-m|ansis-mono|ansi80x25-mono|freebsd console (25-line mono ansi mode), 
        colors@, pairs@, 
@@ -1023,7 +1136,7 @@ cons60|ansi80x60|freebsd console (60-line ansi mode),
 cons60-m|ansi80x60-mono|freebsd console (60-line mono ansi mode), 
        lines#60, use=cons25-m, 
 cons25r|pc3r|ibmpc3r|cons25-koi8-r|freebsd console w/koi8-r cyrillic, 
-       acsc=q\200x\201m\204v\211j\205t\206n\212u\207l\202w\210k\203y\230z\231f\234~\225a\220h\221`\004.\031-\030I^U0\215, 
+       acsc=-\030.^Y0\215`\004a\220f\234h\221i\025j\205k\203l\202m\204n\212q\0t\206u\207v\211w\210x\201y\230z\231~\225, 
        use=cons25w, 
 cons25r-m|pc3r-m|ibmpc3r-mono|cons25-koi8r-m|freebsd console w/koi8-r cyrillic (mono), 
        colors@, pairs@, 
@@ -1038,7 +1151,7 @@ cons60r-m|cons60-koi8r-m|freebsd console w/koi8-r cyrillic (60-line mono),
        lines#60, use=cons25r-m, 
 # ISO 8859-1 FreeBSD console
 cons25l1|cons25-iso8859|freebsd console w/iso 8859-1 chars, 
-       acsc=l\215m\216k\214j\213u\226t\225v\227w\230q\222x\231n\217o\220s\224p\221r\223`\201a\202f\207g\210~\237.\031-\030+\253\,\273I\247y\232z\233
+       acsc=+\253\,\273-\030.\031`\201a\202f\207g\210i\247j\213k\214l\215m\216n\217o\220p\221q\222r\223s\224t\225u\226v\227w\230x\231y\232z\233~\237
        use=cons25w, 
 cons25l1-m|cons25-iso-m|freebsd console w/iso 8859-1 chars (mono), 
        colors@, pairs@, 
@@ -1061,7 +1174,7 @@ cons60l1-m|cons60-iso-m|freebsd console w/iso 8859-1 chars (60-line mono),
 origpc3|origibmpc3|IBM PC 386BSD Console, 
        am, bw, eo, xon, 
        cols#80, lines#25, 
-       acsc=l\332q\304k\277x\263j\331m\300w\302u\264v\301t\303n\305
+       acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263
        bold=\E[7m, clear=\Ec, cub1=^H, cud1=\E[B, cuf1=\E[C, 
        cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
        home=\E[H, ind=\E[S, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
@@ -1125,11 +1238,12 @@ ibmpc3|pc3-bold|IBM PC BSD/386 Console with bold instead of underline,
 # are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
 #
 # In October 1995 DEC sold its terminals business, including the VT and Dorio
-# line and trademark, to SunRiver Data Systems.
+# line and trademark, to SunRiver Data Systems.  SunRiver has since changed
+# its name to Boundless Technologies; see http://www.boundless.com.
 #
+
 # (The <acsc>, <rmacs>, and <smacs> capabilities aren't in DEC's official
 # entry -- esr)
-
 vt52|dec vt52, 
        cols#80, it#8, lines#24, 
        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
@@ -1222,7 +1336,7 @@ vt52|dec vt52,
 # (and even then, whenever it can be arranged!) you should set
 #      INTERLACE_OFF
 #
-# (I added <rmam>/<smam> based on the init string, also <OTbs> -- esr)
+# (vt100: I added <rmam>/<smam> based on the init string, also <OTbs>. -- esr)
 vt100|vt100-am|dec vt100 (w/advanced video), 
        am, msgr, xenl, xon, 
        cols#80, it#8, lines#24, vt#3, 
@@ -1246,6 +1360,8 @@ vt100|vt100-am|dec vt100 (w/advanced video),
        smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, 
 vt100nam|vt100-nam|vt100 no automargins, 
        am@, xenl@, use=vt100-am, 
+vt100-vb|dec vt100 (w/advanced video) & no beep, 
+       bel@, flash=\E[?5h\E[?5l, use=vt100, 
 
 # Ordinary vt100 in 132 column ("wide") mode.
 vt100-w|vt100-w-am|dec vt100 132 cols (w/advanced video), 
@@ -1290,7 +1406,7 @@ vt102|dec vt102,
        mir, 
        dch1=\E[P, dl1=\E[M, il1=\E[L, rmir=\E[4l, smir=\E[4h, use=vt100, 
 vt102-w|dec vt102 in wide mode, 
-       lines#132, 
+       cols#132, 
        rs3=\E[?3h, use=vt102, 
 
 # Many brain-dead PC comm programs that pretend to be `vt100-compatible'
@@ -1391,6 +1507,7 @@ vt220-nam|v200-nam|VT220 in vt100 mode with no auto margins,
        am@, 
        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h, use=vt220, 
 
+# This is misnamed (see xterm-8bit for an example of 8-bit controls)
 vt220-8|dec vt220 8 bit terminal, 
        am, mc5i, mir, msgr, xenl, xon, 
        cols#80, it#8, lines#24, 
@@ -1417,6 +1534,35 @@ vt220-8|dec vt220 8 bit terminal,
        rmul=\E[24m, rs1=\E[?3l, sc=\E7, sgr0=\E[m, smacs=^N, 
        smam=\E[?7h, smir=\E[4h, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
 
+# vt220 termcap written Tue Oct 25 20:41:10 1988 by Alex Latzko
+# (not an official DEC entry!)
+# The problem with real vt220 terminals is they don't send escapes when in
+# in vt220 mode.  This can be gotten around two ways.  1> don't send
+# escapes or 2> put the vt220 into vt100 mode and use all the nifty
+# features of vt100 advanced video which it then has.
+#
+# This entry takes the view of putting a vt220 into vt100 mode so
+# you can use the escape key in emacs and everything else which needs it.
+#
+# You probably don't want to use this on a VMS machine since VMS will think
+# it has a vt220 and will get fouled up coming out of emacs
+#
+# From: Alexander Latzko <latzko@marsenius.rutgers.edu>, 30 Dec 1996
+vt200-js|vt220-js|dec vt200 series with jump scroll, 
+       am, 
+       cols#80, 
+       bel=^G, clear=\E[H\E[J, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
+       cub1=^H, cud1=^J, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
+       dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
+       il1=\E[L, ind=\ED, 
+       is2=\E[61"p\E[H\E[?3l\E[?4l\E[?1l\E[?5l\E[?6l\E[?7h\E[?8h\E[?25h\E>\E[m, 
+       kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
+       kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, nel=^M\ED, 
+       rf=/usr/lib/tabset/vt100, ri=\EM, rmdc=, rmir=\E[4l, 
+       rmkx=\E[?1l\E>, rmso=\E[27m$<5/>, rmul=\E[24m, 
+       rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, smdc=, 
+       smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m$<5/>, smul=\E[4m, 
 # This was DEC's vt320.  Use the purpose-built one below instead 
 #vt320|DEC VT320 in vt100 emulation mode,
 #      use=vt220,
@@ -1606,7 +1752,11 @@ vt420|DEC VT420,
        smkx=\E=, smso=\E[7m, smul=\E[4m, 
 
 #
-#  DECUDK   
+# DEC VT220 and up support DECUDK (user-defined keys).  DECUDK (i.e., pfx)
+# takes two parameters, the key and the string.  Translating the key is
+# straightforward (keys 1-5 are not defined on real terminals, though some
+# emulators define these):
+#
 #               if (key < 16) then  value = key;
 #               else if (key < 21) then value = key + 1; 
 #               else if (key < 25) then value = key + 2;
@@ -1614,6 +1764,10 @@ vt420|DEC VT420,
 #               else if (key < 30) then value = key + 4;
 #               else value = key + 5;
 #
+# The string must be the hexadecimal equivalent, e.g., "5052494E" for "PRINT". 
+# There's no provision in terminfo for emitting a string in this format, so the
+# application has to know it.
+#
 vt420pc|DEC VT420 w/PC keyboard, 
        kdch1=\177, kend=\E[4~, kf1=\E[11~, kf10=\E[21~, 
        kf11=\E[23~, kf12=\E[24~, kf13=\E[11;2~, kf14=\E[12;2~, 
@@ -1748,7 +1902,7 @@ z340|zstem vt340 terminal emulator 132col 42line,
        is2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H, 
        rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H, 
        use=vt320-w, 
-z340-nam|zstem vt340 terminal emulator 132col 42line, 
+z340-nam|zstem vt340 terminal emulator 132col 42line (no automatic margins)
        am@, 
        is2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H, 
        rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H, 
@@ -1833,21 +1987,22 @@ xterm-r6|xterm-old|xterm X11R6 version,
        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, 
-# This is the stock xterm entry supplied with XFree86 3.2
+# This is the base xterm entry for the xterm supplied with XFree86 3.2 & up.
 # The name has been changed and some aliases have been removed.
-xterm-xf86-v32|xterm terminal emulator (X Window System), 
+xterm-xf86-v32|xterm terminal emulator (XFree86 3.2 Window System), 
        am, bce, km, mir, msgr, xenl, 
        colors#8, cols#80, it#8, lines#24, pairs#64, 
        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
-       bel=^G, 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, cvvis=\E[?25h, dch=\E[%p1%dP, 
-       dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, 
-       el=\E[K, el1=\E[1K, enacs=\E(B\E)0, flash=\E[?5h\E[?5l, 
-       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, 
+       bel=^G, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
+       clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
+       csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
+       cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
+       cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
+       cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
+       dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, 
+       enacs=\E(B\E)0, flash=\E[?5h\E[?5l, 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, 
        is2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, 
        ka1=\EOw, ka3=\EOu, kb2=\EOy, kbeg=\EOE, kbs=^H, kc1=\EOq, 
        kc3=\EOs, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
@@ -1870,11 +2025,86 @@ xterm-xf86-v32|xterm terminal emulator (X Window System),
        smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
        tbc=\E[3g, vpa=\E[%i%p1%dd, 
 
+# This is the stock xterm entry supplied with XFree86 3.3, which uses VT100
+# codes for F1-F4 except while in VT220 mode.
+xterm-xf86-v33|xterm terminal emulator (XFree86 3.3 Window System), 
+       kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
+       use=xterm-xf86-v32, 
+
+# This beta version will probably be released in XFree86 4.0 in 1998.
+# Besides providing printer support, it exploits a new feature that allows
+# xterm to use terminfo-based descriptions with the titeInhibit resource.
+xterm-xf86-v40|xterm terminal emulator (XFree86 4.0 Window System), 
+       mc5i, 
+       mc0=\E[i, mc4=\E[4i, mc5=\E[5i, rmcup=\E[?1047l\E[?1048l, 
+       rs1=\Ec, smcup=\E[?1048h\E[?1047h, 
+       use=xterm-xf86-v33, 
+
+# From: David J. MacKenzie <djm@va.pubnix.com>, 14 Nov 1997
+xterm-xi|xterm on XI Graphics Accelerated X under BSD/OS 3.1, 
+       rmso=\E[m, rmul=\E[m, 
+       use=xterm-xf86-v33, 
+
+# This is one of the variants from XFree86 3.3 (T.Dickey)
+xterm-16color|xterm with 16 colors like aixterm, 
+       colors#16, ncv#32, pairs#256, 
+       setab@, setaf@, 
+       setb=%p1%{8}%/%{6}%*%{4}%+\E[%d%p1%{8}%m%Pa%?%ga%{1}%=%t4%e%ga%{3}%=%t6%e%ga%{4}%=%t1%e%ga%{6}%=%t3%e%ga%d%;m, 
+       setf=%p1%{8}%/%{6}%*%{3}%+\E[%d%p1%{8}%m%Pa%?%ga%{1}%=%t4%e%ga%{3}%=%t6%e%ga%{4}%=%t1%e%ga%{6}%=%t3%e%ga%d%;m, 
+       use=xterm-xf86-v40, 
+
+# This is another variant, for XFree86 4.0 xterm (T.Dickey)
+# This is an 8-bit version of xterm, which emulates DEC vt220 with ANSI color.
+# To use it, your decTerminalID resource must be set to 200 or above.
+#
+#      HTS     \E H    \210
+#      RI      \E M    \215
+#      SS3     \E O    \217
+#      CSI     \E [    \233
+#
+xterm-8bit|xterm terminal emulator 8-bit controls (X Window System), 
+       am, bce, km, mc5i, mir, msgr, xenl, 
+       colors#8, cols#80, it#8, lines#24, pairs#64, 
+       acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
+       bel=^G, bold=\2331m, cbt=\233Z, civis=\233?25l, 
+       clear=\233H\2332J, cnorm=\233?25h, cr=^M, 
+       csr=\233%i%p1%d;%p2%dr, cub=\233%p1%dD, cub1=^H, 
+       cud=\233%p1%dB, cud1=^J, cuf=\233%p1%dC, cuf1=\233C, 
+       cup=\233%i%p1%d;%p2%dH, cuu=\233%p1%dA, cuu1=\233A, 
+       cvvis=\233?25h, dch=\233%p1%dP, dch1=\233P, 
+       dl=\233%p1%dM, dl1=\233M, ech=\233%p1%dX, ed=\233J, 
+       el=\233K, el1=\2331K, enacs=\E(B\E)0, 
+       flash=\233?5h\233?5l, home=\233H, hpa=\233%i%p1%dG, 
+       ht=^I, hts=\210, ich=\233%p1%d@, ich1=\233@, il=\233%p1%dL, 
+       il1=\233L, ind=^J, 
+       is2=\E7\E G\233r\233m\233?7h\233?1;3;4;6l\2334l\E8\E>, 
+       ka1=\217w, ka3=\217u, kb2=\217y, kbeg=\217E, kbs=^H, 
+       kc1=\217q, kc3=\217s, kcub1=\217D, kcud1=\217B, 
+       kcuf1=\217C, kcuu1=\217A, kdch1=\2333~, kend=\217F, 
+       kent=\217M, kf1=\23311~, kf10=\23321~, kf11=\23323~, 
+       kf12=\23324~, kf13=\23325~, kf14=\23326~, kf15=\23328~, 
+       kf16=\23329~, kf17=\23331~, kf18=\23332~, kf19=\23333~, 
+       kf2=\23312~, kf20=\23334~, kf3=\23313~, kf4=\23314~, 
+       kf5=\23315~, kf6=\23317~, kf7=\23318~, kf8=\23319~, 
+       kf9=\23320~, kfnd=\2331~, khome=\217H, kich1=\2332~, 
+       kmous=\233M, knp=\2336~, kpp=\2335~, kslt=\2334~, 
+       mc0=\233i, mc4=\2334i, mc5=\2335i, meml=\El, memu=\Em, 
+       op=\23339;49m, rc=\E8, rev=\2337m, ri=\215, rmacs=^O, 
+       rmam=\233?7l, rmcup=\2332J\233?47l\E8, rmir=\2334l, 
+       rmkx=\233?1l\E>, rmso=\23327m, rmul=\23324m, rs1=\Ec, 
+       rs2=\E7\E[62"p\E G\233r\233m\233?7h\233?1;3;4;6l\2334l\E8\E>, 
+       sc=\E7, setab=\2334%p1%dm, setaf=\2333%p1%dm, 
+       setb=\2334%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
+       setf=\2333%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
+       sgr=\2330%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
+       sgr0=\233m^O, smacs=^N, smam=\233?7h, smcup=\E7\233?47h, 
+       smir=\2334h, smkx=\233?1h\E=, smso=\2337m, smul=\2334m, 
+       tbc=\2333g, vpa=\233%i%p1%dd, 
+
 # This is xterm for ncurses. It mainly adds mappings for more high-half
 # characters.  Note that these will only work for fixed-width fonts.
-# Once XFree86 3.2 is established, we'll switch this to use=xterm-xf86-v32
 xterm|vs100|xterms|xterm terminal emulator (X Window System), 
-       acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++\,\,II00
+       acsc=++\,\,--..00``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~
        kmous=\E[M, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c, 
        use=xterm-r6, 
 
@@ -1902,9 +2132,10 @@ xterm-bold|xterm terminal emulator (X11R6 Window System) standout w/bold,
 #  -- Kenji Rikitake)
 kterm|kterm kanji terminal emulator (X window system), 
        eslok, hs, 
-       csr=\E[%i%p1%d;%p2%dr, dsl=\E[?H, enacs=\E(B, fsl=\E[?F, 
-       rc=\E8, sc=\E7, tsl=\E[?E\E[?%i%dT, 
-       use=xterm, 
+       acsc@, csr=\E[%i%p1%d;%p2%dr, dsl=\E[?H, enacs@, fsl=\E[?F, 
+       kmous=\E[M, op=\E[39;49m, rc=\E8, rmacs@, sc=\E7, smacs@, 
+       tsl=\E[?E\E[?%i%dT, 
+       use=xterm-r6, use=klone+color, 
 # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
 xterm-nic|xterm with ich/ich1 suppressed for non-curses programs, 
        ich@, ich1@, 
@@ -1945,10 +2176,24 @@ 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, 
 
-# From: Mark Olesen & Thomas Dickey <dickey@clark.net> 13 Jul 1996
-rxvt|reduced xterm terminal (X Window System), 
-       am, bce, km, mir, msgr, xenl, xon, 
-       colors#8, cols#80, it#8, lines#24, pairs#64, 
+# From: Thomas Dickey <dickey@clark.net> 04 Oct 1997
+# Updated: Oezguer Kesim <kesim@math.fu-berlin.de> 02 Nov 1997
+# Notes:
+# rxvt 2.21b uses
+#      smacs=\E(B\E)U^N, rmacs=\E(B\E)0^O,
+# but some applications don't work with that.
+# It also has an AIX extension
+#      box2=lqkxjmwuvtn,
+# and
+#      ech=\E[%p1%dX,
+# but the latter does not work correctly.
+#
+# rxvt is normally configured to look for "xterm" or "xterm-color" as $TERM.
+# Since rxvt is not really compatible with xterm, it should be configured as
+# "rxvt" (monochrome) and "rxvt-color". 
+rxvt-basic|rxvt terminal base (X Window System), 
+       am, bce, eo, km, mir, msgr, xenl, xon, 
+       cols#80, it#8, lines#24, 
        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
        clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
@@ -1956,30 +2201,33 @@ rxvt|reduced xterm terminal (X Window System),
        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
        cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
-       dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K
-       enacs=\E(B\E)0, flash=\E[?5h\E[?5l, 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, is1=\E[?47l\E=\E[?1l, 
+       dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0
+       flash=\E[?5h\E[?5l, home=\E[H, ht=^I, hts=\EH, 
+       ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J
+       is1=\E[?47l\E=\E[?1l, 
        is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l, 
        kDC=\E[3$, kEND=\E[8$, kHOM=\E[7$, kLFT=\E[d, kNXT=\E[6$, 
-       kPRV=\E[5$, kRIT=\E[c, ka1=\EOq, ka3=\EOs, kb2=\EOr, kbs=^H, 
-       kc1=\EOp, kc3=\EOn, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, 
-       kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kend=\E[8~, kent=\EOM
-       kf0=\E[21~, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~, 
-       kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
-       kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
-       kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, kf4=\E[14~, 
-       kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
-       khome=\E[7~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, 
-       op=\E[39m\E[49m, rc=\E8, rev=\E[7m, ri=\EM
-       rmacs=\E(B\E)0\017, rmcup=\E[?47l\E8, rmir=\E[4l, 
+       kPRV=\E[5$, kRIT=\E[c, ka1=\EOw, ka3=\EOy, kb2=\EOu, kbs=^H, 
+       kc1=\EOq, kc3=\EOs, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, 
+       kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kel=\E[8\^
+       kend=\E[8~, kent=\EOM, kf0=\E[21~, kf1=\E[11~, kf10=\E[21~, 
+       kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
+       kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
+       kf19=\E[33~, kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, 
+       kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, 
+       kf9=\E[20~, kfnd=\E[1~, khome=\E[7~, kich1=\E[2~, 
+       kmous=\E[M, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, rc=\E8
+       rev=\E[7m, ri=\EM, rmacs=^O, rmcup=\E[?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>, 
-       sc=\E7, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[m, 
-       smacs=\E(B\E)U\016, smcup=\E7\E[?47h, smir=\E[4h, 
-       smkx=\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
-       vpa=\E[%i%p1%dd, 
+       s0ds=\E(B, s1ds=\E(0, sc=\E7, sgr0=\E[0m\017, smacs=^N, 
+       smcup=\E7\E[?47h, smir=\E[4h, smkx=\E=, smso=\E[7m, 
+       smul=\E[4m, tbc=\E[3g, 
+rxvt|rxvt terminal emulator (X Window System), 
+       colors#8, pairs#64, 
+       op=\E[39;49m, setab=\E[%p1%{40}%+%dm, 
+       setaf=\E[%p1%{30}%+%dm, sgr0=\E[m\017, use=rxvt-basic, 
 
 # From: David J. MacKenzie <djm@va.pubnix.com> 20 Apr 1995
 # Here's a termcap entry I've been using for xterm_color, which comes
@@ -1989,11 +2237,11 @@ rxvt|reduced xterm terminal (X Window System),
 xterm-pcolor|xterm with color used for highlights and status line, 
        bold=\E[1m\E[43m, rev=\E[7m\E[34m, smso=\E[7m\E[31m, 
        smul=\E[4m\E[42m, 
-       use=xterm+sl, use=xterm, 
+       use=xterm+sl, use=xterm-r6
 
 # HP ships this, except for the pb#9600 which was merged in from BSD termcap.
 # (hpterm: added empty <acsc>, we have no idea what ACS chars look like --esr)
-xhpterm|X-hpterm|hp X11 terminal emulator, 
+hpterm|X-hpterm|hp X11 terminal emulator, 
        am, da, db, mir, xhp, 
        cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8, pb#9600, xmc#0, 
        acsc=, bel=^G, bold=\E&dB, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M, 
@@ -2038,18 +2286,19 @@ xterm-sun|xterm with sunFunctionKeys true,
 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).
+# 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, 
-       acsc=a\202f\260g261j\213k\214l\215m\216n\217o\220q\222s\224t\225u\226v\227w\230x\231~\244, 
+       acsc=61a\202f\260g2j\213k\214l\215m\216n\217o\220q\222s\224t\225u\226v\227w\230x\231~\244, 
        bel=^G, blink=\ES\EW, bold=\ES\EU, civis=\EZ, 
        clear=\EP\EE0;0;, cnorm=\Ea, cr=^M, csr=\Ek%p1%d;%p2%d;, 
        cub=\Eq-%p1%d;, cub1=^H, cud=\Ep%p1%d;, cud1=\EB, 
        cuf=\Eq%p1%d;, cuf1=\ED, cup=\EE%p1%d;%p2%d;, 
        cuu=\Ep-%p1%d;, cuu1=\EA, cvvis=\Ea, dch=\EI%p1%d;, 
        dch1=\EI1;, dl=\ER%p1%d;, dl1=\ER1;, ech=\Ej%p1%d;, ed=\EN, 
-       el=\EK, el1=\EL, enacs=\200, home=\EE0;0;, ht=^I, hts=\Eh, 
+       el=\EK, el1=\EL, enacs=\0, home=\EE0;0;, ht=^I, hts=\Eh, 
        il=\EQ%p1%d;, il1=\EQ1;, ind=\EG, is2=\ES\Er0;\Es0;, 
        kbs=^H, kcub1=\EC, kcud1=\EB, kcuf1=\ED, kcuu1=\EA, 
        kdch1=\177, kent=^M, kf0=\EF00, kf1=\EF01, kf10=\EF10, 
@@ -2058,12 +2307,48 @@ emu|emu native mode,
        kf20=\EF20, kf3=\EF03, kf4=\EF04, kf5=\EF05, kf6=\EF06, 
        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=\200, rmir=\EX, rmso=\ES, rmul=\ES, 
-       rs2=\ES\Es0;\Er0;, 
-       setab=\Es%i%p1%d; setaf=\Er%i%p1%d;, sgr0=\ES
-       smacs=\200, smir=\EY, smso=\ES\ET, smul=\ES\EV, tbc=\Ej, 
+       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, 
 
-######## UNIX VIRTUAL TERMINALS AND VIRTUAL CONSOLES
+######## MGR
+#
+# MGR is a Bell Labs window system lighter-weight than X.
+# These entries describe MGR's xterm-equivalent. 
+# They are courtesy of Vincent Broman <broman@nosc.mil> 14 Jan 1997 
+#
+
+mgr|Bellcore MGR (non X) window system terminal emulation, 
+       am, km, 
+       bel=^G, bold=\E2n, civis=\E9h, clear=^L, cnorm=\Eh, cr=^M, 
+       csr=\E%p1%d;%p2%dt, cub1=^H, cud1=\Ef, cuf1=\Er, 
+       cup=\E%p2%d;%p1%dM, cuu1=\Eu, cvvis=\E0h, 
+       dch=\E%p1%dE$<5>, dch1=\EE, dl=\E%p1%dd$<3*>, 
+       dl1=\Ed$<3>, ed=\EC, el=\Ec, hd=\E1;2f, ht=^I, hu=\E1;2u, 
+       ich=\E%p1%dA$<5>, ich1=\EA, il=\E%p1%da$<3*>, 
+       il1=\Ea$<3>, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
+       kcuf1=\E[C, kcuu1=\E[A, nel=^M^J, rev=\E1n, rmam=\E5S, 
+       rmso=\E0n, rmul=\E0n, sgr0=\E0n, smam=\E5s, smso=\E1n, 
+       smul=\E4n, 
+mgr-sun|Mgr window with Sun keyboard, 
+       ka1=\E[214z, ka3=\E[216z, kb2=\E[218z, kc1=\E[220z, 
+       kc3=\E[222z, kcpy=\E197z, kend=\E[220z, kent=\E[250z, 
+       kf1=\E[224z, kf10=\E[233z, kf11=\E[234z, kf12=\E[235z, 
+       kf2=\E[225z, kf3=\E[226z, kf4=\E[227z, kf5=\E[228z, 
+       kf6=\E[229z, kf7=\E[230z, kf8=\E[231z, kf9=\E[232z, 
+       kfnd=\E[200z, khlp=\E[207z, khome=\E[214z, knp=\E[222z, 
+       kopn=\E[198z, kpp=\E[216z, kund=\E[195z, 
+       use=mgr, 
+mgr-linux|Mgr window with Linux keyboard, 
+       ka1=\E[H, ka3=\E[5~, kb2=\E[G, kc1=\E[Y, kc3=\E[6~, 
+       kdch1=\E[3~, kend=\E[4~, kf0=\E[[J, kf1=\E[[A, kf10=\E[21~, 
+       kf11=\E[23~, kf12=\E[24~, kf2=\E[[B, kf3=\E[[C, kf4=\E[[D, 
+       kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
+       khome=\E[1~, knp=\E[6~, kpp=\E[5~, 
+       use=mgr, 
+
+######## UNIX VIRTUAL TERMINALS, VIRTUAL CONSOLES, AND TELNET CLIENTS
 #
 
 # Columbus UNIX virtual terminal. This terminal also appears in 
@@ -2081,6 +2366,7 @@ cbunix|cb unix virtual terminal,
 vremote|virtual remote terminal, 
        am@, 
        cols#79, use=cbunix, 
+
 pty|4bsd pseudo teletype, 
        cup=\EG%p1%{32}%+%c%p2%{32}%+%c, rmso=\Eb$, rmul=\Eb!, 
        smso=\Ea$, smul=\Ea!, 
@@ -2109,7 +2395,7 @@ eterm|gnu emacs term.el terminal emulation,
 screen|VT 100/ANSI X3.64 virtual terminal, 
        am, km, mir, msgr, xenl, 
        colors#8, cols#80, it#8, lines#24, pairs#64, 
-       acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++\,\,hhII00
+       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, 
        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
@@ -2132,7 +2418,7 @@ screen|VT 100/ANSI X3.64 virtual terminal,
 screen-w|VT 100/ANSI X3.64 virtual terminal with 132 cols, 
        cols#132, use=screen, 
 
-screen2|VT 100/ANSI X3.64 virtual terminal, 
+screen2|old VT 100/ANSI X3.64 virtual terminal, 
        cols#80, it#8, lines#24, 
        cbt=\E[Z, clear=\E[2J\E[H, cr=^M, cub=\E[%p1%dD, cub1=^H, 
        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
@@ -2146,7 +2432,7 @@ screen2|VT 100/ANSI X3.64 virtual terminal,
        rmul=\E[24m, rs1=\Ec, sc=\E7, sgr0=\E[m, smir=\E[4h, 
        smso=\E[3m, smul=\E[4m, tbc=\E[3g, 
 # (screen3: removed unknown ":xv:LP:G0:" -- esr)
-screen3|VT 100/ANSI X3.64 virtual terminal, 
+screen3|older VT 100/ANSI X3.64 virtual terminal, 
        km, mir, msgr, 
        cols#80, it#8, lines#24, 
        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J, 
@@ -2162,9 +2448,33 @@ screen3|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, 
 
+#### Pilot Pro Palm-Top
+#
+# From: Jason Downs <downsj@downsj.com>, 15 Jun 1997 (Top Gun Telnet's author)
+pilot|tgtelnet|Top Gun Telnet on the Palm Pilot Professional, 
+       am, xenl, 
+       cols#39, lines#16, 
+       bel=^G, clear=\Ec, cr=^M, cub1=^H, cud1=^J, 
+       cup=\Em%p1%{32}%+%c%p2%{32}%+%c, home=\Em\s\s, ht=^I, 
+       ind=^J, kbs=^H, kcub1=^H, kcud1=^J, knp=^L, kpp=^K, nel=\Em~\s, 
+       rmso=\EB, smso=\Eb, 
+
 ######## WORKSTATION CONSOLES
 #
 
+#### Alpha consoles
+#
+
+# This is from the OSF/1 Release 1.0 termcap file
+pccons|pcconsole|ANSI (mostly) Alpha PC console terminal emulation, 
+       am, xon, 
+       cols#80, lines#25, 
+       bel=^G, 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, 
+       el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L, kbs=^H, 
+       kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, 
+       nel=^M^J, rev=\E[7m, rmso=\E[m, sgr0=\E[m, smso=\E[7m, 
+
 #### Sun consoles
 #
 
@@ -2181,23 +2491,23 @@ oldsun|Sun Microsystems Workstation console,
        rmso=\E[m, sgr0=\E[m, smso=\E[7m, 
 # From: Alexander Lukyanov <lav@video.yars.free.net>, 14 Nov 1995
 # <lines> capability later corrected by J.T. Conklin <jtc@cygnus.com>
+# SGR 1, 4 aren't supported - removed bold/underline (T.Dickey 17 Jan 1998)
 sun-il|Sun Microsystems console with working insert-line, 
        am, km, msgr, 
        cols#80, lines#34, 
-       bel=^G, bold=\E[1m, clear=^L, cr=^M, cub1=^H, cud1=^J, 
-       cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
-       dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
-       el=\E[K, ht=^I, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, 
-       il1=\E[L, ind=^J, kb2=\E[218z, kbs=^H, kcub1=\E[D, 
-       kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177, 
-       kend=\E[220z, kf1=\E[224z, kf10=\E[233z, kf11=\E[234z, 
-       kf12=\E[235z, kf2=\E[225z, kf3=\E[226z, kf4=\E[227z, 
-       kf5=\E[228z, kf6=\E[229z, kf7=\E[230z, kf8=\E[231z, 
-       kf9=\E[232z, khome=\E[214z, knp=\E[222z, kopt=\E[194z, 
-       kpp=\E[216z, kres=\E[193z, kund=\E[195z, rev=\E[7m, 
-       rmso=\E[m, rmul=\E[m, rs2=\E[s, 
+       bel=^G, bold@, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
+       cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP, 
+       dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, ht=^I, 
+       ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
+       kb2=\E[218z, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
+       kcuu1=\E[A, kdch1=\177, kend=\E[220z, kf1=\E[224z, 
+       kf10=\E[233z, kf11=\E[234z, kf12=\E[235z, kf2=\E[225z, 
+       kf3=\E[226z, kf4=\E[227z, kf5=\E[228z, kf6=\E[229z, 
+       kf7=\E[230z, kf8=\E[231z, kf9=\E[232z, khome=\E[214z, 
+       knp=\E[222z, kopt=\E[194z, kpp=\E[216z, kres=\E[193z, 
+       kund=\E[195z, rev=\E[7m, rmso=\E[m, rmul@, rs2=\E[s, 
        sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m, 
-       sgr0=\E[m, smso=\E[7m, smul=\E[4m
+       sgr0=\E[m, smso=\E[7m, smul@, u8=\E[1t, u9=\E[11t
 # On a SparcStation 5, <il1>/<il> flake out on the last line.
 # Unfortunately, without them the terminal has no way to scroll.
 sun-ss5|Sun SparcStation 5 console, 
@@ -2315,7 +2625,145 @@ nextshell|NeXT Shell application,
        bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, kbs=^H, kcub1=^H, 
        kcud1=^J, nel=^M^J, 
 
-### Common Desktop Environment
+### Sony NEWS workstations
+#
+
+# (news-unk: this had :KB=news: -- esr)
+news-unk|SONY NEWS vt100 emulator common entry, 
+       am, xenl, 
+       cols#80, 
+       bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
+       csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C, 
+       cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dl=\E[%p1%dM, dl1=\E[M, 
+       ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
+       if=/usr/lib/tabset/vt100, il=\E[%p1%dL, il1=\E[L, 
+       is2=\E[?7h\E[?1l\E[?3l\E7\E8, kbs=^H, kcub1=\EOD, 
+       kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOY, kf1=\EOP, 
+       kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, 
+       kf8=\EOW, kf9=\EOX, rc=\E8, rev=\E[7m, ri=\EM, 
+       rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m, 
+       smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
+#
+# (news-29: this had :TY=ascii: --esr)
+news-29, 
+       lines#29, use=news-unk, 
+# (news-29-euc: this had :TY=euc: --esr)
+news-29-euc, 
+       use=news-29, 
+# (news-29-sjis: this had :TY=sjis: --esr)
+news-29-sjis, 
+       use=news-29, 
+#
+# (news-33: this had :TY=ascii: --esr)
+news-33, 
+       lines#33, use=news-unk, 
+# (news-33-euc: this had :TY=euc: --esr)
+news-33-euc, 
+       use=news-33, 
+# (news-33-sjis: this had :TY=sjis: --esr)
+news-33-sjis, 
+       use=news-33, 
+#
+# (news-42: this had :TY=ascii: --esr)
+news-42, 
+       lines#42, use=news-unk, 
+# (news-42-euc: this had :TY=euc: --esr)
+news-42-euc, 
+       use=news-42, 
+# (news-42-sjis: this had :TY=sjis: --esr)
+news-42-sjis, 
+       use=news-42, 
+#
+#      NEWS-OS old termcap entry 
+#
+# (news-old-unk: this had :KB=news:TY=sjis: --esr)
+news-old-unk|SONY NEWS vt100 emulator common entry, 
+       am, xenl, 
+       cols#80, vt#3, 
+       bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[;H\E[2J, cr=^M, 
+       csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C, 
+       cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
+       home=\E[H, ht=^I, if=/usr/lib/tabset/vt100, kbs=^H, 
+       kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, 
+       kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m, ri=\EM, 
+       rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m, 
+       smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
+#
+# (nwp512: this had :DE=^H:, which I think means <OTbs> --esr)
+nwp512|news|nwp514|news40|vt100-bm|sony vt100 emulator 40 lines, 
+       lines#40, 
+       is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;40r\E8, use=news-old-unk, 
+#
+# (nwp512-a: this had :TY=ascii: and the alias vt100-bm --esr)
+nwp512-a|nwp514-a|news-a|news42|news40-a|sony vt100 emulator 42 line, 
+       
+       
+s, 
+       lines#42, 
+       is2=\E[?7h\E[?1l\E[?3l\E7\E[1;42r\E8, use=news-old-unk, 
+#
+# (nwp-512-o: this had :KB=nwp410:DE=^H:  I interpret the latter as <OTbs>. --esr)
+nwp512-o|nwp514-o|news-o|news40-o|vt100-bm-o|sony vt100 emulator 40 lines, 
+       lines#40, 
+       is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;40r\E8, use=news-old-unk, 
+#
+# (nwp513: this had :DE=^H: and the alias vt100-bm --esr)
+nwp513|nwp518|nwe501|newscbm|news31|sony vt100 emulator 33 lines, 
+       lines#31, 
+       is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;31r\E8, use=news-old-unk, 
+#
+# (nwp513-a: this had :TY=ascii: and :DE=^H:, which I interpret as <OTbs>; --esr)
+# also the alias vt100-bm.
+nwp513-a|nwp518-a|nwe501-a|nwp251-a|newscbm-a|news31-a|newscbm33|news33|sony vt100 emulator 33 lines, 
+       lines#33, 
+       is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;33r\E8, use=news-old-unk, 
+#
+# (nwp513-o: had :DE=^H:, I think that's <OTbs>; also the alias vt100-bm --esr)
+nwp513-o|nwp518-o|nwe501-o|nwp251-o|newscbm-o|news31-o|sony vt100 emulator 33 lines, 
+       lines#31, 
+       is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;31r\E8, use=news-old-unk, 
+#
+# (news28: this had :DE=^H:, I think that's <OTbs>, and :KB=nws1200: --esr)
+news28|sony vt100 emulator 28 lines, 
+       lines#28, 
+       is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;28r\E8, use=news-old-unk, 
+#
+# (news29: this had :TY=ascii:KB=nws1200:\ --esr)
+news29|news28-a|sony vt100 emulator 29 lines, 
+       lines#29, 
+       is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;29r\E8, use=news-old-unk, 
+#
+# (news511: this had :TY=sjis: --esr)
+nwp511|nwp-511|nwp-511 vt100, 
+       am, xenl, 
+       cols#80, lines#24, 
+       clear=\E[;H\E[2J$<20/>, cuf1=\E[C, 
+       cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A$<2/>, dl1=\E[M, 
+       ed=\E[J$<30/>, el=\E[K$<3/>, 
+       flash=\E[?5h\0\0\0\0\0\0\0\0\0\0\0\0\0\E[?5l, 
+       il1=\E[L, is2=\E[?5l\E[?1l\E>\E[?7h\E[?8h, kcub1=\E[D, 
+       kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, 
+       kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\E#W, khome=\E[H, 
+       ri=\EM$<5/>, rmso=\E[m$<2/>, rmul=\E[m$<2/>, 
+       smso=\E[7m$<2/>, smul=\E[4m$<2/>, 
+# (news517: this had :TY=sjis:. --esr)
+nwp517|nwp-517|nwp-517 vt200 80 cols 30 rows, 
+       eslok, hs, 
+       cols#80, lines#30, 
+       dsl=\E[1$~, fsl=\E[0$}, 
+       is2=\E7\E[r\E8\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
+       tsl=\E[1$}\E[;%df, 
+       use=vt200, 
+# (news517-w: this had :TY=sjis:. --esr)
+nwp517-w|nwp-517-w|nwp-517 vt200 132 cols 50 rows, 
+       eslok, hs, 
+       cols#132, lines#50, 
+       dsl=\E[1$~, fsl=\E[0$}, 
+       is2=\E7\E[r\E8\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h, 
+       tsl=\E[1$}\E[;%df, 
+       use=vt200, 
+
+#### Common Desktop Environment
 #
 
 # This ships with Sun's CDE in Solaris 2.5
@@ -2348,6 +2796,115 @@ 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
+#
+
+# Except for the "-emx" suffixes, these are as distributed with EMX 0.9b,
+# a Unix-style environment used on OS/2.  (Note that the suffix makes some
+# names longer than 14 characters, the nominal maximum).
+#
+# Removed: rmacs=\E[10m, smacs=\E[11m, because OS/2 does not implement acs.
+ansi-emx|ANSI.SYS color, 
+       am, bce, eo, mir, msgr, xenl, xon, 
+       colors#16, cols#80, it#8, lines#25, pairs#64, 
+       bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
+       clear=\E[1;33;44m\E[H\E[J, cnorm=\E[?25h, cr=^M, cub1=^H, 
+       cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
+       dch=\E[%p1%dp, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l, 
+       home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, ind=^J, 
+       kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M, kcuu1=\0H, 
+       kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>, kf5=\0?, kf6=\0@, 
+       kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G, kich1=\0R, kll=\0O, 
+       knp=\0Q, kpp=\0I, kspd=^Z, nel=^M^J, rev=\E[5;37;41m, 
+       rmir=\E[4l, rmpch=\E[10m, rmso=\E[0;44m\E[1;33m, 
+       rmul=\E[0;44m\E[1;33m, rs1=\Ec, setab=\E[4%p1%dm, 
+       setaf=\E[3%p1%dm, sgr0=\E[0m\E[1;33;44m, smir=\E[4h, 
+       smpch=\E[11m, smso=\E[0;31;47m, smul=\E[1;31;44m, 
+       tbc=\E[3g, u8=\E[?6c, u9=\E[c, 
+ansi-color-2-emx|ANSI.SYS color 2, 
+       am, bce, eo, mir, msgr, xenl, xon, 
+       colors#16, cols#80, it#8, lines#25, pairs#64, 
+       bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
+       clear=\E[0;37;44m\E[H\E[J, cnorm=\E[?25h, cr=^M, cub1=^H, 
+       cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
+       dch=\E[%p1%dp, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l, 
+       home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, ind=^J, 
+       kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M, kcuu1=\0H, 
+       kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>, kf5=\0?, kf6=\0@, 
+       kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G, kich1=\0R, kll=\0O, 
+       knp=\0Q, kpp=\0I, kspd=^Z, nel=^M^J, rev=\E[1;37;46m, 
+       rmir=\E[4l, rmpch=\E[10m, rmso=\E[0;37;44m, 
+       rmul=\E[0;37;44m, rs1=\Ec, setab=\E[4%p1%dm, 
+       setaf=\E[3%p1%dm, sgr0=\E[0;37;44m, smir=\E[4h, 
+       smpch=\E[11m, smso=\E[1;37;46m, smul=\E[1;36;44m, 
+       tbc=\E[3g, u8=\E[?6c, u9=\E[c, 
+ansi-color-3-emx|ANSI.SYS color 3, 
+       am, bce, eo, mir, msgr, xenl, xon, 
+       colors#16, cols#80, it#8, lines#25, pairs#64, 
+       bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
+       clear=\E[0;37;40m\E[H\E[J, cnorm=\E[?25h, cr=^M, cub1=^H, 
+       cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
+       dch=\E[%p1%dp, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l, 
+       home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, ind=^J, 
+       kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M, kcuu1=\0H, 
+       kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>, kf5=\0?, kf6=\0@, 
+       kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G, kich1=\0R, kll=\0O, 
+       knp=\0Q, kpp=\0I, kspd=^Z, nel=^M^J, rev=\E[1;37;46m, 
+       rmir=\E[4l, rmpch=\E[10m, rmso=\E[0;37;40m, 
+       rmul=\E[0;37;40m, rs1=\Ec, setab=\E[4%p1%dm, 
+       setaf=\E[3%p1%dm, sgr0=\E[0;10m, smir=\E[4h, 
+       smpch=\E[11m, smso=\E[1;37;46m, smul=\E[0;36;40m, 
+       tbc=\E[3g, u8=\E[?6c, u9=\E[c, 
+mono-emx|stupid monochrome ansi terminal with only one kind of emphasis, 
+       am, 
+       cols#80, it#8, lines#24, 
+       clear=\E[H\E[2J$<50>, cub1=\E[D, cud1=\E[B, cuf1=\E[C, 
+       cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H, 
+       ht=^I, kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M, 
+       kcuu1=\0H, kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>, 
+       kf5=\0?, kf6=\0@, kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G, 
+       kich1=\0R, kll=\0O, knp=\0Q, kpp=\0I, nel=^M^J, rev=\E[7m, 
+       sgr0=\E[0m, 
+
+# This entry fits the Windows NT console when the _POSIX_TERM environment
+# variable is set to 'on'.  While the Windows NT POSIX console is seldom used,
+# the Telnet client supplied with both the Windows for WorkGroup 3.11 TCP/IP
+# stack and the Win32 (i.e., Windows 95 and Windows NT 3.1 or later) operating
+# systems is not, and (surprise!) they match very well.
+#
+# See:  MS Knowledge Base item Q108581, dated 13-MAY-1997, titled "Setting Up
+# VI POSIX Editor for Windows NT 3.1".  True to Microsoft form, not only
+# are the installation instructions a pile of mind-numbing bureaucratese,
+# but the termcap entry is actually broken and unusable as given; the :do:
+# capability is misspelled "d".
+#
+# To use this, you need to a bunch of environment variables: 
+#
+# SET _POSIX_TERM=on
+# SET TERM=ansi
+# SET TERMCAP=location of termcap file in POSIX file format
+# which is case-sensitive.
+# e.g. SET TERMCAP=//D/RESKIT35/posix/termcap
+# SET TMP=//C/TEMP
+#
+# Important note: setting the TMP environment variable in POSIX style renders
+# it incompatible with a lot of other applications, including Visual C++. So
+# you should have a separate command window just for vi. All the other
+# variables may be permanently set in the Control Panel\System applet. 
+#
+# You can find out more about the restrictions of this facility at
+# <http://www.nentug.org/unix-to-nt/ntposix.htm>.
+#
+# From: Federico Bianchi <bianchi@magna.cisid.unipi.it>, 15 Jan 1997
+ansi-nt|psx_ansi|Microsoft Windows NT console POSIX ANSI mode, 
+       am, bw, msgr, 
+       cols#80, it#8, lines#25, 
+       bel=^G, clear=\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
+       cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
+       home=\E[H, ht=^I, ind=\E[S, kbs=^H, kcub1=\E[D, kcud1=\E[V, 
+       kcuf1=\E[C, kcuu1=\E[A, nel=\r\E[S, rc=\E[u, rev=\E[7m, 
+       ri=\E[T, rmso=\E[m, sc=\E[s, sgr0=\E[0m, smso=\E[7m, 
+
 ######## COMMON TERMINAL TYPES
 #
 # This section describes terminal classes and maker brands that are still
@@ -2419,7 +2976,7 @@ altos4|alt4|altos-4|altos IV,
 altos7|alt7|altos VII, 
        am, mir, 
        cols#80, lines#24, xmc#0, 
-       acsc=l2m1k3j5t4u9v=w0q\:x6n8, blink=\EG2, bold=\EGt, 
+       acsc=j5k3l2m1n8q\:t4u9v=w0x6, blink=\EG2, bold=\EGt, 
        clear=\E+^^, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
        dim=\EGp, dl=\ER, ed=\EY, el=\ET, home=^^, ht=^I, il1=\EE, 
@@ -2741,7 +3298,7 @@ newhpkeyboard|generic entry for HP extended keyboard,
 newhp|generic entry for new hewlett packard terminals, 
        am, bw, mir, xhp, xon, 
        cols#80, lines#24, pb#4800, 
-       acsc=T1R!U2S"W3O#V4P$t5u6w7v8\:'9(LQKWlRkT5I3@2[MAJSmFjGdHQ;Y+Z*X\:4>q\,x.n/
+       acsc=2[3@4>5I9(\:'JSKWLQMAO#P$Q;R!S"T1U2V4W3X\:Y+Z*dHjGkTlRmFn/q\,t5u6v8w7x.
        bel=^G, blink=\E&dA, bold=\E&dF, cbt=\Ei, cr=^M, cub1=^H, 
        cud1=^J, cuf1=\EC, cuu1=\EA, dch1=\EP$<2>, dim=\E&dH, 
        dl1=\EM, ed=\EJ, el=\EK, ht=\011$<2>, hts=\E1, il1=\EL, ind=^J, 
@@ -2839,7 +3396,7 @@ hp2624b-10p-p|hewlett packard 2624 B w/ extra memory & printer,
 hp+color|hp with colors, 
        ccc, 
        colors#16, ncv#17, pairs#7, 
-       initp=\E&v%?%p2%{1000}%=%t1%e.%p2%d%;a\n%?%p3%{1000}%=%t1%e.%p3%d%;b\n%?%p4%{1000}%=%t1%e.%p4%d%;c\n%?%p5%{1000}%=%t1%e.%p5%d%;x\n%?%p6%{1000}%=%t1%e.%p6%d%;y\n%?%p7%{1000}%=%t1%e.%p7%d%;z\n%p1%dI, 
+       initp=\E&v%?%p2%{1000}%=%t1%e.%p2%d%;a%?%p3%{1000}%=%t1%e.%p3%d%;b%?%p4%{1000}%=%t1%e.%p4%d%;c%?%p5%{1000}%=%t1%e.%p5%d%;x%?%p6%{1000}%=%t1%e.%p6%d%;y%?%p7%{1000}%=%t1%e.%p7%d%;z%p1%dI, 
        oc=\E&v0m1a1b1c0I\E&v1a1I\E&v1b2I\E&v1a1b3I\E&v1c4I\E&v1a1c5I\E&v1b1c6I\E&v1x1y7I, 
        op=\E&v0S, scp=\E&v%p1%dS, 
 
@@ -2864,7 +3421,7 @@ hp2397a|hp2397|hewlett packard 2397A color terminal,
 hpansi|hp700|hewlett packard 700/44 in HP-PCterm mode, 
        am, eo, xenl, xon, 
        cols#80, lines#25, 
-       acsc=k\277l\332m\300j\331n\305w\302q\304u\264t\303v\301x\263, 
+       acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263, 
        bel=^G, cbt=\E[Z, civis=\E[?25l, clear=\E[2J\E[H, 
        cnorm=\E[?25h, cr=^M, cub1=\E[D, cud1=\E[B, cuf1=\E[C, 
        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
@@ -3093,13 +3650,11 @@ dku7003|Honeywell Bull DKU 7003 all features described,
 # emulations (usually their stupidest, and usually labeled adm3, though
 # these `adm3' emulations normally have adm3a+ capabilities).
 #
-# WARNING: Some early ADM terminals (including the ADM3 and ADM5) are 
-# reputed to have had the weird `feature' that sending them a ^G would trigger
-# a diagnostic dump to screen if one of the more obscure RS-232 pins
-# (variously reported as 22 or as `Ring Indicator') was being held high during
-# receipt of the ^G.  If you have a real ADM and think you've run into this,
-# check it out with a breakout box and tell us if this rumor is correct!
-# A quick fix might be to drop back to a cheesy 4-wire cable.
+# WARNING: Some early ADM terminals (including the ADM3 and ADM5) had a 
+# `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.
 #
 
 adm1a|adm1|lsi adm1a, 
@@ -3211,7 +3766,7 @@ adm22|lsi adm22,
        bel=^G, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
        dl1=\ER, ed=\Ey, el=\Et, home=^^, ht=\Ei, ich1=\EQ, il1=\EE, 
-       is2=\E%\014\014\014\016\003\200\003\002\003\002\200\200\200\200\200\200\200\200\200\200\200, 
+       is2=\E%\014\014\014\016\003\0\003\002\003\002\0\0\0\0\0\0\0\0\0\0\0, 
        kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf1=^A@\r, 
        kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
        kf7=^AF\r, khome=^^, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5, 
@@ -3816,7 +4371,7 @@ tvi921|televideo model 921 with sysline same as page & real vi function,
 # without the beeper
 # (tvi92B: removed :ko=bt: before translation, I see no backtab cap;
 # also added empty <acsc> to suppress tic warning -- esr)
-tvi92B|televideo model 921 with sysline same as page & real vi function, 
+tvi92B|televideo model 921 with sysline same as page & real vi function & no beeper
        am, hs, xenl, xhp, 
        cols#80, lines#24, xmc#0, 
        acsc=, clear=^Z, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V, cuf1=^L, 
@@ -3827,7 +4382,7 @@ tvi92B|televideo model 921 with sysline same as page & real vi function,
        invis@, is2=\El\E"\EF1\E.3\017\EA\E<, kbs=^H, kclr=^Z, 
        kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, 
        kdl1=\ER$<1*/>, ked=\EY, kel=\ET, kich1=\EQ, kil1=\EE, 
-       nel=^M^J, rmacs=\E%, rmir=, smacs=\E$, smir=, tsl=\Ef\EG0, 
+       nel=^M^J, rmacs=\E%, smacs=\E$, tsl=\Ef\EG0, 
        use=adm+sgr, 
 # (tvi92D: removed :ko=bt: before translation, I see no backtab cap -- esr)
 tvi92D|tvi92B with DTR instead of XON/XOFF & better padding, 
@@ -4112,13 +4667,13 @@ tvi925-hi|TeleVideo Model 925 with half intensity standout mode,
 tvi950|televideo 950, 
        am, hs, mir, msgr, xenl, xon, 
        cols#80, it#8, lines#24, xmc#1, 
-       acsc=d\rc\014e\nb\011i\013, bel=^G, cbt=\EI, clear=\E*, 
+       acsc=b\011c\014d\re\ni\013, bel=^G, cbt=\EI, clear=\E*, 
        cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
        dl1=\ER, dsl=\Eg\Ef\r, ed=\Ey, el=\Et, flash=\Eb$<200/>\Ed, 
        fsl=^M, home=^^, ht=^I, hts=\E1, ich1=\EQ, il1=\EE, ind=^J, 
        invis@, 
-       is2=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\El\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\011\Ex3\200\200\Ex4\r\200\Ef\r, 
+       is2=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\El\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0\Ef\r, 
        kbs=^H, kcbt=\EI, kclr=\E*, kcub1=^H, kcud1=^V, kcuf1=^L, 
        kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\Ey, kel=\Et, kf0=^A0\r, 
        kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
@@ -4140,7 +4695,7 @@ tvi950|televideo 950,
 #      set local (no send) edit keys (\Ek) when exiting vi
 #
 tvi950-2p|televideo950 w/2 pages, 
-       is2=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\011\Ex3\200\200\Ex4\r\200\E\\2\E-07 \011, 
+       is2=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0\E\\2\E-07 \011, 
        rmcup=\E\\2\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s, 
        smkx=\El, 
        use=tvi950, 
@@ -4155,7 +4710,7 @@ tvi950-2p|televideo950 w/2 pages,
 #                       place cursor at 0,24,1 (\E-07 )
 #
 tvi950-4p|televideo950 w/4 pages, 
-       is2=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\011\Ex3\200\200\Ex4\r\200\E\\3\E-07 \011, 
+       is2=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0\E\\3\E-07 \011, 
        rmcup=\E\\3\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s, 
        smkx=\El, 
        use=tvi950, 
@@ -4167,12 +4722,12 @@ tvi950-4p|televideo950 w/4 pages,
 #
 tvi950-rv|televideo950 rev video, 
        flash=\Ed$<200/>\Eb, 
-       is2=\EDF\EC\Eb\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\El\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\011\Ex3\200\200\Ex4\r\200, use=tvi950, 
+       is2=\EDF\EC\Eb\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\El\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0, use=tvi950, 
 
 # tvi950-rv-2p uses the appropriate entries from 950-2p and 950-rv
 tvi950-rv-2p|televideo950 rev video w/2 pages, 
        flash=\Ed$<200/>\Eb, 
-       is2=\EDF\EC\Eb\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\011\Ex3\200\200\Ex4\r\200\E\\2\E-07\s, 
+       is2=\EDF\EC\Eb\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0\E\\2\E-07\s, 
        rmcup=\E\\2\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s, 
        smkx=\El, 
        use=tvi950, 
@@ -4180,7 +4735,7 @@ tvi950-rv-2p|televideo950 rev video w/2 pages,
 # tvi950-rv uses the appropriate entries from 950-4p and 950-rv
 tvi950-rv-4p|televideo950 rev video w/4 pages, 
        flash=\Ed$<200/>\Eb, 
-       is2=\EDF\EC\Eb\EG0\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\011\Ex3\200\200\Ex4\r\200\E\\3\E-07\s, 
+       is2=\EDF\EC\Eb\EG0\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0\E\\3\E-07\s, 
        rmcup=\E\\3\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s, 
        smkx=\El, 
        use=tvi950, 
@@ -4203,7 +4758,7 @@ tvi955|televideo 955,
        is2=\E[=3l\EF1\Ed\EG0\E[=5l\E%\El, kctab=\E2, khts=\E1, 
        knp=\EK, kpp=\EJ, krmir=\EQ, ktbc=\E3, mc0=\EP, rmacs=\E%, 
        rmam=\E[=7l, rmxon=^N, 
-       rs1=\EDF\EC\Eg\Er\EO\E'\E(\Ew\EX\Ee \017\E0P\E6\200\E0p\E4\200\Ef\r, 
+       rs1=\EDF\EC\Eg\Er\EO\E'\E(\Ew\EX\Ee \017\E0P\E6\0\E0p\E4\0\Ef\r, 
        sgr0=\EG0\E[=5l, smacs=\E$, smam=\E[=7h, smxon=^O, 
        use=tvi950, 
 tvi955-w|955-w|televideo955 w/132 cols, 
@@ -4237,7 +4792,7 @@ tvi970|televideo 970,
        smcup=\E[?20l\E[?7h\E[1Q, smir=\E[4h, smso=\E[7m, 
        smul=\E[4m, vpa=\E[%i%p1%dd, 
 tvi970-vb|televideo 970 with visual bell, 
-       flash=\E[?5h\200\200\200\200\200\200\200\200\200\200\200\200\200\E[?5l, use=tvi970, 
+       flash=\E[?5h\0\0\0\0\0\0\0\0\0\0\0\0\0\E[?5l, use=tvi970, 
 tvi970-2p|televideo 970 with using 2 pages of memory, 
        rmcup=\E[H\E[J\E[V, smcup=\E[U\E[?20l\E[?7h\E[1Q, 
        use=tvi970, 
@@ -4264,7 +4819,7 @@ tvi9065|televideo 9065,
        am, bw, chts, hs, mc5i, mir, msgr, xenl, xon, 
        cols#80, it#8, lh#1, lines#25, lm#0, lw#9, ma#4, nlab#8, vt#0, 
        wnum#0, wsl#30, 
-       acsc=0_'rjhkglfmeniopxjqksqtmulvown, bel=^G, 
+       acsc='r0_jhkglfmeniopqksqtmulvownxj, bel=^G, 
        blink=\EG2, bold=\EG\,, cbt=\EI, civis=\E.0, clear=^Z, 
        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, 
@@ -4289,10 +4844,10 @@ tvi9065|televideo 9065,
        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, 
-       rmdc=\200, rmir=\Er, rmln=\E[4;1v, rmso=\EG0, rmul=\EG0, 
+       rmdc=\0, rmir=\Er, rmln=\E[4;1v, rmso=\EG0, rmul=\EG0, 
        rmxon=^N, rs1=\EC\EDF\E[0;0v\E[8;1v\E[=65l, 
-       rs2=\E.b\E[10;20v\E[14;1v\E[3;0v\E[7;0v\E[=11.h\E[=12.h\E[=13.h\E[=14.h\E[=15l\E[=20h\E[=60l\E[=61h\E[=9l\E[=10l\E[=21l\E[=23l\E[=3l\E_40\E_50\En\Ew\Ee \Ex0\200\200\Ex1\200\200\Ex2\200\200\Ex3\200\200\Ex4\200\200\E1, 
-       rs3=\E[=19h\E.3\E9\E0O\200\200\200\200\200\E0o\200\200\200\200\200\E0J\177\200\200\200\200, 
+       rs2=\E.b\E[10;20v\E[14;1v\E[3;0v\E[7;0v\E[=11.h\E[=12.h\E[=13.h\E[=14.h\E[=15l\E[=20h\E[=60l\E[=61h\E[=9l\E[=10l\E[=21l\E[=23l\E[=3l\E_40\E_50\En\Ew\Ee \Ex0\0\0\Ex1\0\0\Ex2\0\0\Ex3\0\0\Ex4\0\0\E1, 
+       rs3=\E[=19h\E.3\E9\E0O\0\0\0\0\0\E0o\0\0\0\0\0\E0J\177\0\0\0\0, 
        sgr=\EG0%?%p1%t\EGt%;%?%p2%t\EG8%;%?%p3%t\EG4%;%?%p4%t\EG2%;%?%p5%t\EGp%;%?%p6%t\EG\,%;%?%p7%t\EG1%;%?%p9%t\E$%e\E%%%;, 
        sgr0=\EG0, smacs=\E$, smam=\E=7h, smcup=\E.2, smdc=\Er, 
        smir=\Eq, smln=\E[4;2v, smso=\EGt, smul=\EG8, smxon=^O, 
@@ -4374,8 +4929,8 @@ vi200|visual 200,
        kf7=\E?w, kf8=\E?x, kf9=\E?y, khome=\EH, khts=\E1, kich1=\Ei, 
        kil1=\EL, krmir=\Ej, mc0=\EH\E], mc4=\EX, mc5=\EW, ri=\EI, 
        rmacs=\EG, rmkx=\E>, rmso=\E3, 
-       rs1=\E3\Eb\Ej\E\\\El\EG\Ec\Ek\EX, sgr0=\E3\Eb
-       smacs=\EF, smkx=\E=, smso=\E4, tbc=\Eg, 
+       rs1=\E3\Eb\Ej\E\El\EG\Ec\Ek\EX, sgr0=\E3\Eb, smacs=\EF
+       smkx=\E=, smso=\E4, tbc=\Eg, 
 # The older Visuals didn't come with function keys. This entry uses
 # <smkx> and <rmkx> so that the keypad keys can be used as function keys.
 # If your version of vi doesn't support function keys you may want
@@ -4465,20 +5020,14 @@ vi603|visual603|visual 603,
 #
 # Wyse sales can be reached by phone at 1-800-GET-WYSE.  Tech support is at
 # (800)-800-WYSE (option 5 gets you a human).  There's a Web page at the
-# obvious address, http://www.wyse.com.
+# obvious address, <http://www.wyse.com>.  They keep terminfo entries at
+# <http://www.wyse.co.uk/support/appnotes/idxappnt.htm>.
 #
 # Wyse bought out Link Technology, Inc. in 1990 and closed it down in 1995.
 # They now own the Qume and Amdek brands, too.  So these are the people to
 # talk with about all Link, Qume, and Amdek terminals.
 #
-# Wyse has a BBS containing termcap and terminfo stuff for their terminals
-# (though this may not last long -- I expect the Web will kill it off by
-# mid-1997 or so).  According to their tech support, at 800-800-9973, it's
-# at 408-922-4400 thru 4405.  The 4400 modem is flaky as of 5/96, so
-# call 4401 etc.  Come in at 9600 hard; don't use autospeed sense.
-#
-# All the following entries until (but not including) wy520 are direct from
-# Wyse technical support and represent their best knowledge as of January 1995.
+# These entries include a few small fixes.
 # I canceled the bel capacities in the vb entries.
 # I made two trivial syntax fixes in the wyse30 entry.
 # I made some entries relative to adm+sgr.
@@ -4523,10 +5072,11 @@ wy30-mc|wyse30-mc|wyse 30 with magic cookies,
        msgr@, 
        ma@, xmc#1, 
        blink=\EG2, dim=\EGp, prot=\EG0\E), rmacs=\EG0\EH\003, 
-       rmcup=\EG0, 
+       rmcup=\EG0, rmso=\EG0, 
        sgr=\EG%'0'%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;, 
        sgr0=\EG0\E(\EH\003, smacs=\EG0\EH\002, smcup=, 
-       use=wy30, use=adm+sgr, 
+       smso=\EG4, use=wy30, 
+       use=adm+sgr, 
 #      The mandatory pause used by <flash> does not work with
 #      older versions of terminfo.  If you see this effect then
 #      unset xon and delete the / from the delay.
@@ -4563,7 +5113,7 @@ wy50|wyse50|Wyse 50,
        pfx=\Ez%p1%'?'%+%c%p2%s\177, 
        pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E`7\E), rev=\E`6\E), 
        ri=\Ej, rmacs=\EH^C, rmir=\Er, rmln=\EA11, rmso=\E(, 
-       sgr=%?%p1%p3%|%t\E`6\E)\n%e%p5%p8%|%t\E`7\E)%e\E(%;\n%?%p9%t\EH\002%e\EH\003%;, 
+       sgr=%?%p1%p3%|%t\E`6\E)%e%p5%p8%|%t\E`7\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;, 
        sgr0=\E(\EH\003, smacs=\EH^B, smir=\Eq, smln=\EA10, 
        smso=\E`6\E), tbc=\E0, tsl=\EF, 
 #
@@ -4578,8 +5128,8 @@ wy50|wyse50|Wyse 50,
 wy50-mc|wyse50-mc|wyse 50 with magic cookies, 
        msgr@, 
        ma@, xmc#1, 
-       blink=\EG2, dim=\EGp, prot=\EG0\E), rmacs=\EG0\EH\003
-       rmcup=\EG0, 
+       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%;, 
        sgr0=\EG0\E(\EH\003, smacs=\EG0\EH\002, smcup=, 
        smso=\EGt, use=wy50, 
@@ -4637,8 +5187,8 @@ wy350|wyse350|Wyse 350,
        pfx=\Ez%p1%'?'%+%c%p2%s\177, 
        pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\EG0\E), ri=\Ej, 
        rmacs=\EG0\EH\003, rmir=\Er, rmln=\EA11, setb=, 
-       setf=%?%p1%{0}%=%t%{76}\n%e%p1%{1}%=%t%{64}\n%e%p1%{2}%=%t%{8}\n%e%p1%{3}%=%t%{72}\n%e%p1%{4}%=%t%{4}\n%e%p1%{5}%=%t%{68}\n%e%p1%{6}%=%t%{12}\n%e%p1%{7}%=%t%{0}\n%;%PC\n\EG%gC%gA%+%'0'%+%c, 
-       sgr=%{0}%?%p4%t%{2}%|%;\n%?%p7%t%{1}%|%;%PA\n\EG%?%gC%t%gC%e\n%{0}%?%p1%t%{4}%|%;\n%?%p2%t%{8}%|%;\n%?%p3%t%{4}%|%;\n%?%p5%t%{64}%|%;\n%;%gA%+%'0'%+%c\n%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;, 
+       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%;, 
        sgr0=\EG0\E(\EH\003%{0}%PA%{0}%PC, smacs=\EG0\EH\002, 
        smir=\Eq, smln=\EA10, tbc=\E0, tsl=\EF, 
        use=adm+sgr, 
@@ -4675,7 +5225,7 @@ wy100|wyse 100,
 wy120|wyse120|wy150|wyse150|Wyse 120/150, 
        am, bw, hs, km, mc5i, mir, msgr, xon, 
        cols#80, it#8, lh#1, lines#24, lw#8, nlab#8, pb#9601, wsl#45, 
-       acsc=+/\\\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~, 
+       acsc=+/\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~, 
        bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<50>, 
        cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<7>, 
@@ -4699,8 +5249,9 @@ wy120|wyse120|wy150|wyse150|Wyse 120/150,
        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, 
        sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/, 
-       smcup=\Ew0, smir=\Eq, smln=\EA10, smso=\EGt, 
-       smxon=\Ec21\ntbc=\E0, tsl=\EF, use=adm+sgr, 
+       smcup=\Ew0, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21, 
+       tbc=\E0, tsl=\EF, 
+       use=adm+sgr, 
 #
 wy120-w|wyse120-w|wy150-w|wyse150-w|wyse 120/150 132-column, 
        cols#132, lw#7, nlab#16, wsl#97, 
@@ -4756,7 +5307,7 @@ wy120-w-vb|wy120-wvb|wyse120-wvb|wy150-w-vb|wyse150-w-vb|Wyse 120/150 132-column
 wy60|wyse60|Wyse 60, 
        am, bw, hs, km, mc5i, mir, msgr, 
        cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#45, 
-       acsc=+/\\\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~, 
+       acsc=+/\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~, 
        bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<100>, 
        cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
@@ -4891,7 +5442,7 @@ wy99gt-w-vb|wy99gt-wvb|wyse99gt-wvb|Wyse 99gt 132-column visible bell,
 wy160|wyse160|Wyse 160, 
        am, bw, hs, km, mc5i, mir, msgr, 
        cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#38, 
-       acsc=+/\\\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~, 
+       acsc=+/\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~, 
        bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<30>, 
        cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<5>, 
@@ -4977,9 +5528,9 @@ wy75|wyse75|wyse 75,
        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
        cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP$<3*>, 
        dch1=\E[P$<3>, dim=\E[0t\E[2m, dl=\E[%p1%dM$<1*>, 
-       dl1=\E[M, dsl=\E[>\\\,\001\001\E[>-\001\001, 
+       dl1=\E[M, dsl=\E[>\,\001\001\E[>-\001\001, 
        ech=\E[%p1%dX, ed=\E[J$<30>, el=\E[K$<3>, el1=\E[1K$<3>, 
-       enacs=\E)0, flash=\E[30h\E\\\,\E[30l$<250>, fsl=^A, 
+       enacs=\E)0, flash=\E[30h\E\,\E[30l$<250>, fsl=^A, 
        home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, 
        ich=\E[%p1%d@$<1*>, il=\E[%p1%dL$<2*>, il1=\E[L$<2>, 
        ind=\n$<2>, ip=$<1>, 
@@ -5001,7 +5552,7 @@ wy75|wyse75|wyse 75,
        sgr=%?%p5%t\E[0t%;%?%p3%p1%|%t\E[1t%;%?%p2%t\E[2t%;%?%p4%t\E[3t%;%?%p1%p2%p3%p4%p5%|%|%|%|%t\E[7m%e\E[m%;%?%p9%t\016%e\017%;, 
        sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
        smkx=\E[?1l\E[?7h\E=, smso=\E[1t\E[7m, smul=\E[2t\E[4m, 
-       tbc=\E[3g, tsl=\E[>\\\,\001, 
+       tbc=\E[3g, tsl=\E[>\,\001, 
 #
 #      This terminal description uses the non-hidden attribute mode
 #      (with magic cookie).
@@ -5048,7 +5599,7 @@ wy85|wyse85|wyse 85,
        dch=\E[%p1%dP$<3*>, dch1=\E[P$<3>, dim=\E[2m, 
        dl=\E[%p1%dM$<3*>, dl1=\E[M$<3>, dsl=\E[40l, 
        ech=\E[%p1%dX, ed=\E[J$<110>, el=\E[K$<1>, el1=\E[1K, 
-       enacs=\E)0, flash=\E[30h\E\\\,\E[30l$<300>, 
+       enacs=\E)0, flash=\E[30h\E\,\E[30l$<300>, 
        fsl=\E[1;24r\E8, home=\E[H, ht=\011$<1>, hts=\EH, 
        ich=\E[%p1%d@$<4*>, il=\E[%p1%dL$<5*>, il1=\E[L$<5>, 
        ind=\n$<3>, invis=\E[8m, ip=$<3>, is1=\E[62;1"p\E[?5W, 
@@ -5073,7 +5624,7 @@ wy85|wyse85|wyse 85,
 #
 #      Wyse 85 with visual bell.
 wy85-vb|wyse85-vb|wyse 85 with visible bell, 
-       bel@, flash=\E[30h\E\\\,\E[30l$<300>, use=wy85, 
+       bel@, flash=\E[30h\E\,\E[30l$<300>, use=wy85, 
 #
 #      Wyse 85 in 132-column mode.
 wy85-w|wyse85-w|wyse 85 in 132-column mode, 
@@ -5108,7 +5659,7 @@ wy185|wyse185|wyse 185,
        dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>, 
        dsl=\E7\E[99;0H\E[K\E8, ech=\E[%p1%dX, ed=\E[J$<40>, 
        el=\E[K, el1=\E[1K, enacs=\E)0, 
-       flash=\E[30h\E\\\,\E[30l$<100>, fsl=\E[1;24r\E8, 
+       flash=\E[30h\E\,\E[30l$<100>, fsl=\E[1;24r\E8, 
        home=\E[H, hpa=\E[%i%p1%d`, ht=^I, hts=\EH, 
        ich=\E[%p1%d@$<2>, il=\E[%p1%dL$<3*>, il1=\E[L$<3>, 
        ind=\n$<2>, invis=\E[8m, ip=$<4>, is1=\E[?5W, 
@@ -5161,7 +5712,7 @@ wy185-wvb|wyse185-wvb|wyse 185+flash+132 cols,
 wy325|wyse325|Wyse epc, 
        am, bw, hs, mc5i, mir, 
        cols#80, lh#1, lines#24, lw#8, nlab#8, pb#9601, wsl#45, 
-       acsc=+/\\\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~, 
+       acsc=+/\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~, 
        bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<50>, 
        cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<7>, 
@@ -5289,16 +5840,16 @@ wy370-nk|wyse 370 without function keys,
        dclk=\E[31h, dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>, 
        dsl=\E[40l, ech=\E[%p1%dX$<.1*>, ed=\E[J$<40>, 
        el=\E[K$<10>, el1=\E[1K$<12>, enacs=\E)0, 
-       flash=\E[30h\E\\\,\E[30l$<300>, fsl=\E[1;24r\E8, 
+       flash=\E[30h\E\,\E[30l$<300>, fsl=\E[1;24r\E8, 
        home=\E[H, hpa=\E[%i%p1%d`, ht=\011$<1>, hts=\EH, 
        ich=\E[%p1%d@$<1*>, il=\E[%p1%dL$<2*>, il1=\E[L$<2>, 
        ind=\n$<2>, 
-       initc=\E[66;%p1%d;\n%?%p2%{250}%<%t%{0}\n%e%p2%{500}%<%t%{16}\n%e%p2%{750}%<%t%{32}%e%{48}%;\n%?%p3%{250}%<%t%{0}\n%e%p3%{500}%<%t%{4}\n%e%p3%{750}%<%t%{8}%e%{12}%;\n%?%p4%{250}%<%t%{0}\n%e%p4%{500}%<%t%{1}\n%e%p4%{750}%<%t%{2}%e%{3}%;%{1}%+%+%+%dw, 
+       initc=\E[66;%p1%d;%?%p2%{250}%<%t%{0}%e%p2%{500}%<%t%{16}%e%p2%{750}%<%t%{32}%e%{48}%;%?%p3%{250}%<%t%{0}%e%p3%{500}%<%t%{4}%e%p3%{750}%<%t%{8}%e%{12}%;%?%p4%{250}%<%t%{0}%e%p4%{500}%<%t%{1}%e%p4%{750}%<%t%{2}%e%{3}%;%{1}%+%+%+%dw, 
        invis=\E[8m, ip=$<1>, is1=\E[90;1"p\E[?5W$<6>, 
        is2=\E[2;4;20;30;40l\E[?1;10;16l\E[12h\E[?7;8;25h, 
        is3=\E>\017\E)0\E(B\E[63;0w\E[m, mc0=\E[0i, mc4=\E[4i, 
        mc5=\E[5i, 
-       oc=\E[60w\E[63;0w\n\E[66;1;4w\n\E[66;2;13w\n\E[66;3;16w\n\E[66;4;49w\n\E[66;5;51w\n\E[66;6;61w\n\E[66;7;64w, 
+       oc=\E[60w\E[63;0w\E[66;1;4w\E[66;2;13w\E[66;3;16w\E[66;4;49w\E[66;5;51w\E[66;6;61w\E[66;7;64w, 
        op=\E[m, rc=\E8, rev=\E[7m, ri=\EM$<2>, rmacs=^O, 
        rmam=\E[?7l, rmclk=\E[31l, rmcup=\E[ R, rmir=\E[4l, 
        rmkx=\E>, rmso=\E[27m, rmul=\E[24m, 
@@ -5359,7 +5910,7 @@ wy370-w|Wyse 370 in 132-column mode,
 #
 #      Wyse 370 in 132-column mode with visual bell.
 wy370-wvb|Wyse 370 with visible bell 132-columns, 
-       flash=\E[30h\E\\\,\E[30l$<300>, 
+       flash=\E[30h\E\,\E[30l$<300>, 
        use=wy370-w, 
 wy370-rv|Wyse 370 reverse video, 
        rs3=\E[32h\E[?5h, use=wy370, 
@@ -5370,7 +5921,7 @@ wy99gt-tek|Wyse 99gt Tektronix 4010/4014 emulator,
        am, os, 
        cols#74, lines#35, 
        bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s, 
-       cup=\035%{3040}%{89}%p1%*%-%Py\n%p2%{55}%*%Px\n%gy%{128}%/%{31}%&%{32}%+%c\n%gy%{3}%&%{4}%*%gx%{3}%&%+%{96}%+%c\n%gy%{004}%/%{31}%&%{96}%+%c\n%gx%{128}%/%{31}%&%{32}%+%c\n%gx%{004}%/%{31}%&%{64}%+%c\037, 
+       cup=\035%{3040}%{89}%p1%*%-%Py%p2%{55}%*%Px%gy%{128}%/%{31}%&%{32}%+%c%gy%{3}%&%{4}%*%gx%{3}%&%+%{96}%+%c%gy%{004}%/%{31}%&%{96}%+%c%gx%{128}%/%{31}%&%{32}%+%c%gx%{004}%/%{31}%&%{64}%+%c\037, 
        cuu1=^K, ff=^L, 
        hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037, 
        home=^]7`x @\037, 
@@ -5380,7 +5931,7 @@ wy99gt-tek|Wyse 99gt Tektronix 4010/4014 emulator,
 #      Wyse 160 Tektronix 4010/4014 emulator,
 #
 wy160-tek|Wyse 160 Tektronix 4010/4014 emulator, 
-       cup=\035%{3103}%{91}%p1%*%-%Py\n%p2%{55}%*%Px\n%gy%{128}%/%{31}%&%{32}%+%c\n%gy%{3}%&%{4}%*%gx%{3}%&%+%{96}%+%c\n%gy%{004}%/%{31}%&%{96}%+%c\n%gx%{128}%/%{31}%&%{32}%+%c\n%gx%{004}%/%{31}%&%{64}%+%c\037, 
+       cup=\035%{3103}%{91}%p1%*%-%Py%p2%{55}%*%Px%gy%{128}%/%{31}%&%{32}%+%c%gy%{3}%&%{4}%*%gx%{3}%&%+%{96}%+%c%gy%{004}%/%{31}%&%{96}%+%c%gx%{128}%/%{31}%&%{32}%+%c%gx%{004}%/%{31}%&%{64}%+%c\037, 
        home=^]8`g @\037, 
        use=wy99gt-tek, 
 #
@@ -5390,7 +5941,7 @@ wy370-tek|Wyse 370 Tektronix 4010/4014 emulator,
        am, os, 
        cols#80, lines#36, 
        bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s, 
-       cup=\035%{775}%{108}%p1%*%{5}%/%-%Py\n%p2%{64}%*%{4}%+%{5}%/%Px\n%gy%{32}%/%{31}%&%{32}%+%c\n%gy%{31}%&%{96}%+%c\n%gx%{32}%/%{31}%&%{32}%+%c\n%gx%{31}%&%{64}%+%c\037, 
+       cup=\035%{775}%{108}%p1%*%{5}%/%-%Py%p2%{64}%*%{4}%+%{5}%/%Px%gy%{32}%/%{31}%&%{32}%+%c%gy%{31}%&%{96}%+%c%gx%{32}%/%{31}%&%{32}%+%c%gx%{31}%&%{64}%+%c\037, 
        cuu1=^K, ff=^L, 
        hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037, 
        home=^]8g @\037, 
@@ -5471,7 +6022,7 @@ wy520-24|wyse520-24|wyse 520 with 24 data lines,
 #
 #       Wyse 520 with visual bell.
 wy520-vb|wyse520-vb|wyse 520 with visible bell, 
-       flash=\E[30h\E\\\,\E[30l$<100>, use=wy520, 
+       flash=\E[30h\E\,\E[30l$<100>, use=wy520, 
 #
 #       Wyse 520 in 132-column mode.
 wy520-w|wyse520-w|wyse 520 in 132-column mode, 
@@ -5482,7 +6033,7 @@ wy520-w|wyse520-w|wyse 520 in 132-column mode,
 #
 #       Wyse 520 in 132-column mode with visual bell.
 wy520-wvb|wyse520-wvb|wyse 520 with visible bell 132-columns, 
-       flash=\E[30h\E\\\,\E[30l$<100>, 
+       flash=\E[30h\E\,\E[30l$<100>, 
        use=wy520-w, 
 #
 #
@@ -5495,7 +6046,7 @@ wy520-wvb|wyse520-wvb|wyse 520 with visible bell 132-columns,
 #       - Delete : delete a character (have to change interrupt character
 #                  to CTRL-C: stty intr '^c') for it to work since the
 #                  Delete key sends 7FH.
-wy520-epc|wyse520-epc|wyse 520 with EPC kb
+wy520-epc|wyse520-epc|wyse 520 with EPC keyboard
        kdch1=\177, kel=\E[4~, kend=\E[4~, kf0=\E[21~, kf1=\E[11~, 
        kf2=\E[12~, kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, khome=\E[H, 
        use=wy520, 
@@ -5508,11 +6059,11 @@ wy520-epc-24|wyse520-pc-24|wyse 520 with 24 data lines,
 #
 #       Wyse 520 with visual bell.
 wy520-epc-vb|wyse520-pc-vb|wyse 520 with visible bell, 
-       flash=\E[30h\E\\\,\E[30l$<100>, 
+       flash=\E[30h\E\,\E[30l$<100>, 
        use=wy520-epc, 
 #
 #       Wyse 520 in 132-column mode.
-wy520-epc-w|wyse520-epc-w|wyse 520 in 132-column mode, 
+wy520-epc-w|wyse520-epc-w|wyse 520 in 132-column mode with EPC keyboard
        cols#132, wsl#132, 
        dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>, 
        ip=$<7>, rs2=\E[35h\E[?3h, 
@@ -5520,7 +6071,7 @@ wy520-epc-w|wyse520-epc-w|wyse 520 in 132-column mode,
 #
 #       Wyse 520 in 132-column mode with visual bell.
 wy520-epc-wvb|wyse520-p-wvb|wyse 520 with visible bell 132-columns, 
-       flash=\E[30h\E\\\,\E[30l$<100>, 
+       flash=\E[30h\E\,\E[30l$<100>, 
        use=wy520-epc-w, 
 #
 #       Wyse 520 in 80-column, 36 lines
@@ -5536,7 +6087,7 @@ wy520-48|wyse520-48|wyse 520 with 48 data lines,
        dsl@, fsl@, rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r, tsl@, use=wy520, 
 #
 #       Wyse 520 in 132-column, 36 lines
-wy520-36w|wyse520-36w|wyse 520 with 36 data lines, 
+wy520-36w|wyse520-36w|wyse 520 with 132 columns and 36 data lines, 
        cols#132, wsl#132, 
        rs2=\E[?3h, 
        rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|, use=wy520-36, 
@@ -5549,19 +6100,19 @@ wy520-48w|wyse520-48w|wyse 520 with 48 data lines,
 #
 #
 #       Wyse 520 in 80-column, 36 lines with EPC keyboard
-wy520-36pc|wyse520-36pc|wyse 520 with 36 data lines, 
+wy520-36pc|wyse520-36pc|wyse 520 with 36 data lines and EPC keyboard
        hs@, 
        lines#36, 
        dsl@, fsl@, rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r, tsl@, use=wy520-epc, 
 #
 #       Wyse 520 in 80-column, 48 lines with EPC keyboard
-wy520-48pc|wyse520-48pc|wyse 520 with 48 data lines, 
+wy520-48pc|wyse520-48pc|wyse 520 with 48 data lines and EPC keyboard
        hs@, 
        lines#48, 
        dsl@, fsl@, rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r, tsl@, use=wy520-epc, 
 #
 #       Wyse 520 in 132-column, 36 lines with EPC keyboard
-wy520-36wpc|wyse520-36wpc|wyse 520 with 36 data lines, 
+wy520-36wpc|wyse520-36wpc|wyse 520 with 36 data lines and EPC keyboard
        cols#132, wsl#132, 
        rs2=\E[?3h, 
        rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|, use=wy520-36pc, 
@@ -5575,7 +6126,7 @@ wy520-48wpc|wyse520-48wpc|wyse 520 with 48 data lines,
 # From: John Gilmore <hoptoad!gnu@lll-crg.arpa>
 # (wyse-vp: removed <if=/usr/share/tabset/wyse-adds>, there's no such
 # file and we don't know what <hts> is -- esr)
-wyse-vp|wyse|Wyse 50 in ADDS Viewpoint emulation mode with "enhance" on, 
+wyse-vp|Wyse 50 in ADDS Viewpoint emulation mode with "enhance" on, 
        am, 
        cols#80, it#8, lines#24, 
        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F, 
@@ -5598,7 +6149,7 @@ wy100q|Wyse 100 for Quotron,
        cbt=\EI, clear=^Z, cub1=^H, cud1=^J, cuf1=^L, 
        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
        dl1=\ER, ed=\EY, el=\ET, home=^^, il1=\EE, invis@, 
-       is2=\E`\:\200\EC\EDF\E0\E'\E(\EA21, kcub1=^H, kcud1=^J, 
+       is2=\E`\:\0\EC\EDF\E0\E'\E(\EA21, kcub1=^H, kcud1=^J, 
        kcuf1=^L, kcuu1=^K, ri=\Ej, rmir=\Er, smir=\Eq, 
        use=adm+sgr, 
 
@@ -5755,6 +6306,43 @@ vt320-k311|dec vt320 series as defined by kermit 3.11,
 # I wrote these entries while looking at the Avatar spec.  I don't have
 # the facilities to test them.  Let me know if they work, or don't.
 #
+# Avatar escapes not used by these entries (because maybe you're smarter
+# and more motivated than I am and can figure out how to wrap terminfo
+# around some of them, and because they are weird enough to be funny):
+#                              level 0:
+# ^L           -- clear window/reset current attribute to default
+# ^V^A%p1%c    -- set current color attribute, parameter decodes as follows:
+# 
+#      bit:         6   5   4   3   2   1   0
+#                   |       |   |   |       |
+#                   +---+---+   |   +---+---+
+#                       |       |       |
+#                       |       |  foreground color
+#                       |  foreground intensity
+#                  background color
+#                              level 0+:
+# ^V^J%p1%c%p2%c%p3%c%p4%c%p5%c        -- scroll (p2,p3) to (p4,p5) up by p1 lines
+# ^V^K%p1%c%p2%c%p3%c%p4%c%p5%c        -- scroll (p2,p3) to (p4,p5) down by p1 lines
+# ^V^L%p1%c%p2%c%p3%c          -- clear p2 lines and p3 cols w/attr %p1 
+# ^V^M%p1%c%p2%c%p3%c%p4%c     -- fill p3 lines & p4 cols w/char p2+attr %p1 
+# (^V^L and ^V^M set the current attribute as a side-effect.)
+# ^V ^Y <a> [...] <c>  -- repeat pattern. <a> specifies the number of bytes
+#                         in the pattern, <c> the number of times the pattern
+#                         should be repeated. If either value is 0, no-op.
+#                         The pattern can contain Avatar console codes,
+#                         including other ^V ^Y patterns.
+#                              level 1:
+# ^V^O         -- clockwise mode on; turn print direction right each time you
+#                 hit a window edge (yes, really).  Turned off by CR
+# ^V^P         -- no-op
+# ^V^Q%c       -- query the driver
+# ^V^R         -- driver reset
+# ^V^S         -- Sound tone (PC-specific)
+# ^V^T                 -- change highlight at current cursor poition to %c
+# ^V^U%p1%c%p2%c       -- highlight window <a> with attribute <b>
+# ^V^V%p1%c%p2%c%p3%c%p4%c%p5%c
+#                      -- define window 
+#
 # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
 # (The <blink>/<bold>/<rev>/<smacs>/<smul>/<smso> capabilities exist only to
 # tell ncurses that the corresponding highlights exist; it should use <sgr>,
@@ -5764,20 +6352,55 @@ avatar0|avatar terminal emulator level 0,
        cols#80, it#8, lines#25, 
        blink=^A^V\177, bold=^V^A^P, cr=^M, cub1=^V^E, cud1=^V^D, 
        cuf1=^V^F, cup=\026\010%p1%c%p2%c, cuu1=^V^C, el=^V^G, 
-       ind=^J, invis=^V^A\200, rep=\031%p1%c%p2%d, rev=^A^Vp, 
+       ind=^J, invis=^V^A\0, rep=\031%p1%c%p2%d, rev=^A^Vp, 
        rs2=^L, 
        sgr=\026\001%{0}%?%p1%t%{112}%|%;%?%p2%t%{1}%|%;%?%p3%t%{112}%|%;%?%p4%t{128}%|%;%?%p6%t%{16}%|%;, 
        sgr0=^V^A^G, smacs=, smso=^A^Vp, smul=^V^A, 
        use=klone+acs, 
 # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
 avatar0+|avatar terminal emulator level 0+, 
-       dch1=^V^N, rmir=\026\n\200\200\200\200, smir=^V^I, use=avatar0, 
+       dch1=^V^N, rmir=\026\n\0\0\0\0, smir=^V^I, use=avatar0, 
 # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
 avatar|avatar1|avatar terminal emulator level 1, 
        civis=^V'^B, cnorm=^V'^A, cvvis=^V^C, dl1=^V-, il1=^V+, 
        rmam=^V", rmir=^V^P, smam=^V$, 
        use=avatar0+, 
 
+#### RBcomm
+#
+# RBComm is a lean and mean terminal emulator written by the Interrupt List
+# maintainer, Ralf Brown. It was fairly popular in the late DOS years (early
+# '90s), especially in the BBS world, and still has some loyal users due to
+# its very small memory footprint and to a cute macro language.
+rbcomm|IBM PC with RBcomm and EMACS keybindings, 
+       am, bw, mir, msgr, xenl, 
+       cols#80, it#8, lines#25, 
+       bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
+       clear=^L, cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
+       cub1=^H, cud1=^C, cuf1=^B, 
+       cup=\037%p2%{32}%+%c%p1%{32}%+%c, cuu1=^^, 
+       cvvis=\E[?25h, dch1=^W, dl=\E[%p1%dM, dl1=^Z, 
+       ech=\E[%p1%dX, ed=^F5, el=^P^P, ht=^I, il=\E[%p1%dL, il1=^K, 
+       ind=\ED, invis=\E[8m, 
+       is2=\017\035\E(B\E)0\E[?7h\E[?3l\E[>8g, kbs=^H, 
+       kcub1=^B, kcud1=^N, kcuf1=^F, kcuu1=^P, khome=^A, nel=^M\ED, 
+       rc=\E8, rep=\030%p1%c%p2%c, rev=^R, ri=\EM, rmcup=, rmdc=, 
+       rmir=^], rmkx=\E>, rmso=^U, rmul=^U, 
+       rs1=\017\E(B\E)0\025\E[?3l\E[>8g, sc=\E7, sgr0=\E[m, 
+       smcup=, smdc=, smir=^\, smkx=\E=, smso=^R, smul=^T, 
+rbcomm-nam|IBM PC with RBcomm without autowrap, 
+       am@, 
+       bel=^G, cr=^M, cud1=^J, ht=^I, ind=^J, 
+       is2=\017\035\E(B\E)0\E[?7l\E[?3l\E[>8g, kbs=^H, 
+       kcub1=^H, kcud1=^J, nel=^M^J, 
+       use=rbcomm, 
+rbcomm-w|IBM PC with RBcomm in 132 column mode, 
+       cols#132, 
+       bel=^G, cr=^M, cud1=^J, ht=^I, ind=^J, 
+       is2=\017\035\E(B\E)0\E[?7h\E[?3h\E[>8g, kbs=^H, 
+       kcub1=^H, kcud1=^J, nel=^M^J, 
+       use=rbcomm, 
+
 ######## OLDER TERMINAL TYPES
 #
 # This section is devoted to older commercial terminal brands that are now
@@ -5788,8 +6411,9 @@ avatar|avatar1|avatar terminal emulator level 1,
 #
 # This section also includes Teletype-branded VDTs.
 #
-# The AT&T/Teletype terminals group was sold to SunRiver Data Systems; for
-# details, see the header comment on the ADDS section.
+# The AT&T/Teletype terminals group was sold to SunRiver Data Systems (now
+# Boundless Technologies); for details, see the header comment on the ADDS
+# section.
 #
 # These are AT&T's official terminfo entries.  All-caps aliases have been
 # removed.
@@ -5829,7 +6453,7 @@ att2350|AT&T 2350 Video Information Terminal 80 column mode,
 att5410v1|att4410v1|tty5410v1|AT&T 4410/5410 80 columns - version 1, 
        am, hs, mir, msgr, xon, 
        cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80, 
-       acsc=``aaffhhggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~00++--\,\,..
+       acsc=++\,\,--..00``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~
        bel=^G, blink=\E[5m, bold=\E[2;7m, clear=\E[H\E[J, cr=^M, 
        csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C, 
        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dim=\E[2m, 
@@ -6196,7 +6820,7 @@ att4426|tty4426|teletype 4426S,
 att510a|bct510a|AT&T 510A Personal Terminal, 
        am, mir, msgr, xenl, xon, 
        cols#80, lh#2, lines#24, lw#7, nlab#8, 
-       acsc=hrisjjkkllmmnnqqttuuvvwwxx{{||}}~~-f\,h.e+g`b
+       acsc=+g\,h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~
        bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z, 
        civis=\E[11;0|, clear=\E[H\E[J, cnorm=\E[11;3|, cr=^M, 
        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[1B, 
@@ -6229,7 +6853,7 @@ att510a|bct510a|AT&T 510A Personal Terminal,
 att510d|bct510d|AT&T 510D Personal Terminal, 
        am, da, db, mir, msgr, xenl, xon, 
        cols#80, lh#2, lines#24, lm#48, lw#7, nlab#8, 
-       acsc=hrisjjkkllmmnnqqttuuvvwwxx{{||}}~~-f\,h.e+g`b
+       acsc=+g\,h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~
        bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z, 
        clear=\E[H\E[J, cnorm=\E[11;3|, cr=^M, cub=\E[%p1%dD, 
        cub1=^H, cud=\E[%p1%dB, cud1=\E[1B, cuf=\E[%p1%dC, 
@@ -6260,7 +6884,7 @@ att510d|bct510d|AT&T 510D Personal Terminal,
 att500|att513|AT&T 513 using page mode, 
        am, chts, mir, msgr, xenl, xon, 
        cols#80, lh#2, lines#24, lw#8, nlab#8, 
-       acsc=hrisjjkkllmmnnqqttuuvvwwxx{{||}}~~-f\,h.e+g`b
+       acsc=+g\,h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~
        bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z, 
        clear=\E[H\E[J, cnorm=\E[11;0|, cr=^M, 
        csr=%i\E[%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
@@ -6422,7 +7046,7 @@ att605|AT&T 605 80 column 102key keyboard,
        smir=\E[4h, smln=\E[p, smso=\E[7m, smul=\E[4m, 
        tsl=\E7\E[25;%i%p1%dx, 
 att605-pc|ATT 605 in pc term mode, 
-       acsc=k\277l\332m\300j\331n\305w\302q\304u\264t\303v\301x\263, 
+       acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263, 
        cbt=\E[Z, cub1=\E[D, cud1=\E[B, cuf1=\E[C, cuu1=\E[A, 
        dch1=\E[P, dl1=\E[M, ich1=\E[@, il=\E[L, il1=\E[L, kcbt=\E[Z, 
        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, 
@@ -7108,7 +7732,7 @@ aas1901|Ann Arbor K4080 w/S1901 mod,
        am, 
        cols#80, lines#40, 
        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^_, cuu1=^N, 
-       home=^K, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, ll=^O\200c, 
+       home=^K, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, ll=^O\0c, 
        nel=^M^J, 
 
 # If you're using the GNU termcap library, add
@@ -7205,7 +7829,7 @@ aaa-30-s-rv|aaa-s-rv|ann arbor ambassador/30 lines+status+reverse video,
 aaa-s-ctxt|aaa-30-s-ctxt|ann arbor ambassador/30 lines+status+save context, 
        rmcup=\E[60;1;0;30p\E[59;1H\E[K, 
        smcup=\E[30;1H\E[K\E[30;1;0;30p, use=aaa-30-s, 
-aaa-s-rv-ctxt|aaa-30-s-rv-ct|ann arbor ambassador/30 lines+status+save context, 
+aaa-s-rv-ctxt|aaa-30-s-rv-ct|ann arbor ambassador/30 lines+status+save context+reverse video
        rmcup=\E[60;1;0;30p\E[59;1H\E[K, 
        smcup=\E[30;1H\E[K\E[30;1;0;30p, use=aaa-30-s-rv, 
 aaa|aaa-30|ambas|ambassador|ann arbor ambassador/30 lines, 
@@ -7330,17 +7954,18 @@ aaa-rv-unk|ann arbor unknown type,
 # ADDS itself is long gone.  ADDS was bought by NCR, and the same group made
 # ADDS and NCR terminals.  When AT&T and NCR merged, the engineering for
 # terminals was merged again.  Then AT&T sold the terminal business to
-# SunRiver.  The engineers from Teletype, AT&T terminals, ADDS,
-# and NCR (who are still there as of early 1995) are at:
+# SunRiver, which later changed its  name to Boundless Technologies.  The
+# engineers from Teletype, AT&T terminals, ADDS, and NCR (who are still there
+# as of early 1995) are at:
 #
-#      SunRiver Data Systems
+#      Boundless Technologies
 #      100 Marcus Boulevard
 #      Hauppauge, NY 11788-3762
 #      Vox: (800)-231-5445
 #      Fax: (516)-342-7378
 #
 # Their voice mail used to describe the place as "SunRiver (formerly ADDS)". 
-# In 1995 SunRiver acquired DEC's terminals business.
+# In 1995 Boundless acquired DEC's terminals business.  
 #
 
 # Regent: lowest common denominator, works on all regents.
@@ -7480,7 +8105,7 @@ cit101|citc|C.itoh fast vt100,
 # The following termcap entry was created from the Callan cd100 entry.  The
 # last two lines (with the capabilities in caps) are used by RM-cobol to allow
 # full selection of combinations of reverse video, underline, and blink.
-# (cit101e: emoved unknown :f0=\EOp:f1=\EOq:f2=\EOr:f3=\EOs:f4=\EOt:f5=\EOu:\
+# (cit101e: removed unknown :f0=\EOp:f1=\EOq:f2=\EOr:f3=\EOs:f4=\EOt:f5=\EOu:\
 # f6=\EOv:f7=\EOw:f8=\EOx:f9=\EOy:AB=\E[0;5m:AL=\E[m:AR=\E[0;7m:AS=\E[0;5;7m:\
 # :NB=\E[0;1;5m:NM=\E[0;1m:NR=\E[0;1;7m:NS=\E[0;1;5;7m: -- esr)
 cit101e|C. Itoh CIT-101e, 
@@ -7495,13 +8120,50 @@ cit101e|C. Itoh CIT-101e,
        kf7=\EOM, kf8=\EOn, rc=\E8, ri=\EM, rmacs=^O, rmir=\E[4l, 
        rmkx=\E>, rmso=\E[m, rmul=\E[m, sc=\E7, smacs=^N, smir=\E[4h, 
        smkx=\E=, smso=\E[7m, smul=\E[4m, 
+# From: David S. Lawyer, June 1997:
+# The CIT 101-e was made in Japan in 1983-4 and imported by CIE
+# Terminals in Irvine, CA.  It was part of CITOH Electronics.  In the
+# late 1980's CIT Terminals went out of business.
+# There is no need to use the initialization string is=... (by invoking
+# tset or setterm etc.) provided that the terminal has been manually set
+# up (and the setup saved with ^S) to be compatible with this termcap.  To be
+# compatible it should be in ANSI mode (not VT52).   A set-up that
+# works is to set all the manually setable stuff to factory defaults
+# by pressing ^D in set-up mode.  Then increse the brighness with the
+# up-arrow key since the factory default will likely be dim on an old
+# terminal.  Then change any options you want (provided that they are
+# compatible with the termcap).  For my terminal I set: Screen
+# Background: light; Keyclicks: silent; Auto wraparound: on; CRT saver:
+# on.  I also set up mine for parity (but you may not need it).  Then 
+# save the setup with ^S.
+# 
+cit101e-rv|Citoh CIT-101e (sets reverse video), 
+       am, eo, mir, msgr, xenl, xon, 
+       cols#80, it#8, lines#24, 
+       bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[1v, 
+       clear=\E[H\E[J, cnorm=\E[0;3;4v, cr=^M, 
+       csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
+       cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
+       cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
+       cvvis=\E[3;5v, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
+       dl1=\E[M, ed=\E[J, el=\E[K, flash=\E[?5l\E[?5h$<200/>, 
+       home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, 
+       ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, 
+       is2=\E<\E>\E[?1l\E[?3l\E[?4l\E[?5h\E[?7h\E[?8h\E[3g\E[>5g\E(B\E[m\E[20l\E[1;24r\E[24;1H, 
+       kbs=\177, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
+       kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, nel=\EE, rc=\E8, 
+       rev=\E[7m, ri=\EM, rin=\E[%p1%dT, 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, 
-cit101e-132|CIT-101e, 132 cols, 
+cit101e-132|CIT-101e with 132 cols, 
        cols#132, 
        kbs=^H, kcub1=^H, kcud1=^J, use=cit101e, 
-cit101e-n132|CIT-101e, 132 cols w/o am, 
+cit101e-n132|CIT-101e with 132 cols w/o am, 
        am@, 
        cols#132, 
        cvvis=\E[?1l\E[?4l\E[?7l, kbs=^H, kcub1=^H, kcud1=^J, use=cit101e, 
@@ -7633,7 +8295,7 @@ cdc721-esc|Control Data 721,
        cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c, cuu1=^W, 
        dch1=^^N, dim=^\, dl1=^^Q, ed=^^P, el=^K, home=^Y, hts=^^^RW, 
        ich1=^^O, il1=^^R, ind=\036W =\036U, invis=^^^R[, 
-       is2=\036\022B\003\036\035\017\022\025\035\036E\036\022H\036\022J\036\022L\036\022N\036\022P\036\022Q\036\022\\\036\022\^\036\022b\036\022i\036W =\036\022Z\036\011C1-` `!k/o, 
+       is2=\036\022B\003\036\035\017\022\025\035\036E\036\022H\036\022J\036\022L\036\022N\036\022P\036\022Q\036\022\036\022\^\036\022b\036\022i\036W =\036\022Z\036\011C1-` `!k/o, 
        kbs=^H, kcub1=^H, kcud1=^Z, kcuf1=^X, kcuu1=^W, kf0=^^q, 
        kf1=^^r, kf2=^^s, kf3=^^t, kf4=^^u, kf5=^^v, kf6=^^w, kf7=^^x, 
        kf8=^^y, kf9=^^z, khome=^Y, ll=^B =, rev=^^D, 
@@ -7666,7 +8328,7 @@ cdc721-esc|Control Data 721,
 visa50|geveke visa 50 terminal in ansi 80 character mode, 
        bw, mir, msgr, 
        cols#80, lines#25, 
-       acsc=0_aaffggjjkkllmmnnqqttuuvvwwxxh ooss, bel=^G, 
+       acsc=0_aaffggh jjkkllmmnnooqqssttuuvvwwxx, bel=^G, 
        blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[2J, cr=^M, 
        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D, 
        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
@@ -7744,7 +8406,7 @@ c108|concept108|c108-8p|concept108-8p|concept 108 w/8 pages,
 c108-4p|concept108-4p|concept 108 w/4 pages, 
        eslok, hs, xon, 
        pb@, 
-       acsc=l\\qLkTxUmMjE, cnorm=\Ew, cr=^M, 
+       acsc=jEkTl\\mMqLxU, cnorm=\Ew, cr=^M, 
        cup=\Ea%p1%?%p1%{95}%>%t\001%{96}%-%;%{32}%+%c%p2%?%p2%{95}%>%t\001%{96}%-%;%{32}%+%c, 
        cvvis=\EW, dch1=\E 1$<16*>, dsl=\E ;\177, fsl=\Ee\E z\s, 
        ind=^J, is1=\EK\E!\E F, 
@@ -7811,13 +8473,13 @@ c100|concept100|concept|c104|c100-4p|hds concept 100,
        ed=\E\005$<16*>, el=\E\025$<16>, flash=\Ek$<200>\EK, 
        ht=\011$<8>, il1=\E\022$<3*>, ind=^J, invis=\EH, ip=$<16*>, 
        is1=\EK, 
-       is2=\EU\Ef\E7\E5\E8\El\ENH\E\200\Eo&\200\Eo'\E\Eo!\200\E\007!\E\010A@ \E4#\:"\E\:a\E4#;"\E\:b\E4#<"\E\:c, 
+       is2=\EU\Ef\E7\E5\E8\El\ENH\E\0\Eo&\0\Eo'\E\Eo!\0\E\007!\E\010A@ \E4#\:"\E\:a\E4#;"\E\:b\E4#<"\E\:c, 
        is3=\Ev    $<6>\Ep\n, kbs=^H, kcbt=\E', kctab=\E_, 
        kcub1=\E>, kcud1=\E<, kcuf1=\E=, kcuu1=\E;, kdch1=\E^Q, 
        kdl1=\E^B, ked=\E^C, kel=\E^S, kf1=\E5, kf2=\E6, kf3=\E7, 
        kf4=\E8, kf5=\E9, kf6=\E\:a, kf7=\E\:b, kf8=\E\:c, khome=\E?, 
        khts=\E], kich1=\E^P, kil1=\E^R, kind=\E[, knp=\E-, kpp=\E., 
-       kri=\E\\, krmir=\E\200, mc4=\036o \E\EQ!\EYP\027, 
+       kri=\E\\, krmir=\E\0, mc4=\036o \E\EQ!\EYP\027, 
        mc5=\EQ"\EY(\027\EYD\Eo \036, prot=\EI, 
        rep=\Er%p1%c%p2%{32}%+%c$<.2*>, rev=\ED, 
        rmcup=\Ev    $<6>\Ep\r\n, rmir=\E\s\s, rmkx=\Ex, 
@@ -7832,6 +8494,283 @@ oc100|oconcept|c100-1p|old 1 page concept 100,
        in, 
        is3@, use=c100, 
 
+# From: Walter Skorski <walt@genetics1.JMP.TJU.EDU>, 16-oct-1996.
+# Lots of notes, originally inline, but ncurses doesn't grok that.
+#
+# am:  not available in power on mode, but turned on with \E[=107;207h in
+#      is2=.  Also, \E=124l in is2= could have been used to prevent needing
+#      to specify xenl:, but that would have rendered the last space on the
+#      last line useless.
+# bw:  Not available in power on mode, but turned on with \E[=107;207h in
+#      is2=.
+# clear: Could be done with \E[2J alone, except that vi (and probably most
+#      other programs) assume that this also homes the cursor.
+# dsl: Go to window 2, go to the beginning of the line, use a line feed to
+#      scroll the window, and go back to window 1.
+# is2: the string may cause a warning to be issued by tic that it
+#      found a very long line and that it suspects that a comma is missing
+#      somewhere.  This warning can be ignored (unless it comes up more than
+#      once).  The initialization string contains the following commands:
+#
+#       [Setup mode items changed from factory defaults:]
+#              \E)0                    set alternate character set to
+#                                              graphics
+#              ^O                      set character set to default
+#       [In case it wasn't]
+#              \E[m                    turn off all attributes
+#       [In case they weren't off]
+#              \E[=107;                cursor wrap and
+#                      207h                    character wrap on
+#              \E[90;3u                set Fkey definitions to "transmit"
+#                                              defaults
+#              \E[92;3u                set cursor key definitions to
+#                                              "transmit" defaults
+#              \E[43;1u                set shift F13 to transmit...
+#              \177\E$P\177
+#              \E[44;1u                set shift F14 to transmit...
+#                      \177\E$Q\177
+#              \E[45;1u                set shift F15 to transmit...
+#                      \177\E$R\177
+#              \E[46;1u                set shift F16 to transmit...
+#                      \177\E$S\177
+#              \E[200;1u               set shift up to transmit...
+#                      \177\E$A\177
+#              \E[201;1u               set shift down to transmit...
+#                      \177\E$B\177
+#              \E[202;1u               set shift right to transmit...
+#                      \177\E$C\177
+#              \E[203;1u               set shift left to transmit...
+#                      \177\E$D\177
+#              \E[204;1u               set shift home to transmit...
+#                      \177\E$H\177
+#              \E[212;1u               set backtab to transmit...
+#                      \177\E$I\177
+#              \E[213;1u               set shift backspace to transmit...
+#                      \177\E$^H\177
+#              \E[214;1u               set shift del to transmit...
+#                      "\E$\177"
+#       [Necessary items not mentioned in setup mode:]
+#              \E[2!w                  move to window 2
+#              \E[25;25w               define window as line 25 of memory
+#              \E[!w                   move to window 1
+#              \E[2*w                  show current line of window 2 as
+#                                              status line
+#              \E[2+x                  set meta key to use high bit
+#              \E[;3+}                 move underline to bottom of character
+#
+#      All Fkeys are set to their default transmit definitions with \E[90;3u
+#      in is2=.  IMPORTANT:  to use this terminal definition, the "quit" stty
+#      setting MUST be redefined or deactivated, because the default is
+#      contained in almost all of this terminal's Fkey strings!  If for some
+#      reason "quit" cannot be altered, the Fkeys can, but it would be
+#      necessary to change ^| to ^] in all of these definitions, and add
+#      \E[2;029!t to is2.
+# lines: is set to 24 because this terminal refuses to treat the 25th
+#      line normally.
+# ll:  Not available in power on mode, but turned on with \E[=107;207h in
+#      is2=.
+# lm:  Pointless, given that this definition locks a single screen of
+#      memory into view, but what the hey...
+# rmso: Could use \E[1;7!{ to turn off only bold and reverse (leaving any
+#      other attributes alone), but some programs expect this to turn off
+#      everything.
+# rmul: Could use \E[4!{ to turn off only underline (leaving any other
+#      attributes alone), but some programs expect this to turn off
+#      everything.
+# sgr: Attributes are set on this terminal with the string \E[ followed by
+#      a list of attribute code numbers (in decimal, separated by
+#      semicolons), followed by the character m.  The attribute code
+#      numbers are:
+#                1 for bold;
+#                2 for dim (which is ignored in power on mode);
+#                4 for underline;
+#                5 for blinking;
+#                7 for inverse;
+#                8 for not displayable; and
+#              =99 for protected (except that there are strange side
+#              effects to protected characters which make them inadvisable).
+#       The mapping of terminfo parameters to attributes is as follows:
+#              %p1 (standout) = bold and inverse together;
+#              %p2 (underline) = underline;
+#              %p3 (reverse) = inverse;
+#              %p4 (blink) = blinking;
+#              %p5 (dim) is ignored;
+#              %p6 (bold) = bold;
+#              %p7 (invisible) = not displayable;
+#              %p8 (protected) is ignored; and
+#              %p9 (alt char set) = alt char set.
+#       The code to do this is:
+#              \E[0            OUTPUT  \E[0
+#              %?%p1%p6%O      IF      (standout; bold) OR
+#              %t;1            THEN    OUTPUT  ;1
+#              %;              ENDIF
+#              %?%p2           IF      underline
+#              %t;4            THEN    OUTPUT  ;4
+#              %;              ENDIF
+#              %?%p4           IF      blink
+#              %t;5            THEN    OUTPUT  ;5
+#              %;              ENDIF
+#              %?%p1%p3%O      IF      (standout; reverse) OR
+#              %t;7            THEN    OUTPUT  ;7
+#              %;              ENDIF
+#              %?%p7           IF      invisible
+#              %t;8            THEN    OUTPUT  ;8
+#              %;              ENDIF
+#              m               OUTPUT  m
+#              %?%p9           IF      altcharset
+#              %t^N            THEN    OUTPUT  ^N
+#              %e^O            ELSE    OUTPUT  ^O
+#              %;              ENDIF
+# sgr0: Everything is turned off (including alternate character set), since
+#      there is no way of knowing what it is that the program wants turned
+#      off.
+# smul: The "underline" attribute is reconfigurable to an overline or
+#      strikethru, or (as done with \E[;3+} in is2=), to a line at the true
+#      bottom of the character cell.  This was done to allow for more readable
+#      underlined characters, and to be able to distinguish between an
+#      underlined space, an underscore, and an underlined underscore.
+# xenl: Terminal can be configured to not need this, but this "glitch"
+#      behavior is actually preferable with autowrap terminals.
+#
+# Parameters kf31= thru kf53= actually contain the strings sent by the shifted
+# Fkeys.  There are no parameters for shifted Fkeys in terminfo.  The is2
+# string modifies the 'O' in kf43 to kf46 to a '$'.
+#
+# kcbt was originally ^I but redefined in is2=.
+# kHOM was \E[H originally but redefined in is2=, as were a number of
+# other keys.
+# kDC was originally \177 but redefined in is2=.
+#
+# kbs: Shift was also ^H originally but redefined as \E$^H in is2=.
+# tsl: Go to window 2, then do an hpa=.
+#
+#------- flash=\E[8;3!}^G\E[3;3!}
+#------- flash=\E[?5h$<100>\E[?5l
+# There are two ways to flash the screen, both of which have their drawbacks. 
+# The first is to set the bell mode to video, transmit a bell character, and
+# set the bell mode back - but to what?  There is no way of knowing what the
+# user's old bell setting was before we messed with it.  Worse, the command to
+# set the bell mode also sets the key click volume, and there is no way to say
+# "leave that alone", or to know what it's set to, either.
+# The second way to do a flash is to set the screen to inverse video, pad for a
+# tenth of a second, and set it back - but like before, there's no way to know
+# that the screen wasn't ALREADY in inverse video, or that the user may prefer
+# it that way.  The point is moot anyway, since vi (and probably other
+# programs) assume that by defining flash=, you want the computer to use it
+# INSTEAD of bel=, rather than as a secondary type of signal.
+#
+#------- cvvis=\E[+{
+# The is the power on setting, which is also as visible as the cursor
+# gets.
+#-------  wind=\E[%i%p1%d;%p2%d;%p3%{1}%+%d;%p4%{1}%+%dw
+# Windowing is possible, but not defined here because it is also used to
+# emulate status line functions.  Allowing a program to set a window could
+# clobber the status line or render it unusable.  There is additional memory,
+# but screen scroll functions are destructive and do not make use of it.
+#
+#-------   dim=                        Not available in power on mode.
+# You have a choice of defining low intensity characters as "half bright" and
+# high intensity as "normal", or defining low as "normal" and high as "bold". 
+# No matter which you choose, only one of either "half bright" or "bold" is
+# available at any time, so taking the time to override the default is
+# pointless.
+#
+#-------  prot=\E[=0;99m
+# Not defined, because it appears to have some strange side effects.
+#------- pfkey=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%du\177%p2%s\177%;
+#------- pfloc=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%du\177%p2%s\177%;
+#-------   pfx=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%d;1u\177%p2%s\177%;
+#       Available, but making them available to programs is inadvisable.
+#       The code to do this is:
+#              %?%p1%{24}%<    IF      ((key; 24) <;
+#              %p1%{30}%>               ((key; 30) >;
+#              %p1%{54}%<                (key; 54) <
+#              %A                       ) AND
+#              %O                      ) OR
+#       [that is, "IF key < 24 OR (key > 30 AND key < 54)",]
+#              %t\E[           THEN    OUTPUT  \E[
+#              %p1%d                   OUTPUT  (key) as decimal
+#       [next line applies to pfx only]
+#              ;1                      OUTPUT  ;1
+#              u                       OUTPUT  u
+#              \177                    OUTPUT  \177
+#              %p2%s                   OUTPUT  (string) as string
+#              \177                    OUTPUT  \177
+#       [DEL chosen as delimiter, but could be any character]
+#       [implied:              ELSE    do nothing]
+#              %;              ENDIF
+#      
+#-------   rs2=
+# Not defined since anything it might do could be done faster and easier with
+# either Meta-Shift-Reset or the main power switch.
+#
+#-------  smkx=\E[1!z
+#-------  rmkx=\E[!z
+# These sequences apply to the cursor and setup keys only, not to the
+# numeric keypad.  But it doesn't matter anyway, since making these
+# available to programs is inadvisable.
+# For the key definitions below, all sequences beginning with \E$ are
+# custom and programmed into the terminal via is2.  \E$ also has no
+# meaning to any other terminal.
+#
+#------- cmdch=\E[;%p1%d!t
+# Available, but making it available to programs is inadvisable.
+#------- smxon=\E[1*q
+# Available, but making it available to programs is inadvisable.
+# Terminal will send XON/XOFF on buffer overflow.
+#------- rmxon=\E[*q
+# Available, but making it available to programs is inadvisable.
+# Terminal will not notify on buffer overflow.
+#-------   smm=\E[2+x
+#-------   rmm=\E[+x
+# Available, but making them available to programs is inadvisable.
+#
+# Printing:
+#       It's not made clear in the manuals, but based on other ansi/vt type
+#       terminals, it's a good guess that this terminal is capable of both
+#       "transparent print" (which doesn't copy data to the screen, and
+#       therefore needs mc5i: specified to say so) and "auxilliary print"
+#       (which does duplicate printed data on the screen, in which case mc4=
+#       and mc5= should use the \E[?4i and \E[?5i strings instead).
+
+hds200|Human Designed Systems HDS200, 
+       am, bw, eslok, hs, km, mc5i, mir, msgr, xenl, xon, 
+       cols#80, it#8, lines#24, lm#0, 
+       acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G, 
+       blink=\E[0;5m, bold=\E[0;1m, cbt=\E[Z, civis=\E[6+{, 
+       clear=\E[H\E[J, cnorm=\E[+{, cr=^M, 
+       csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D, 
+       cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
+       cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
+       dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
+       dsl=\E[2!w\r\n\E[!w, ed=\E[J, el=\E[K, el1=\E[1K, 
+       fsl=\E[!w, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, 
+       ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
+       invis=\E[0;8m, 
+       is2=\E)0\017\E[m\E[=107;207h\E[90;3u\E[92;3u\E[43;1u\177\E$P\177\E[44;1u\177\E$Q\177\E[45;1u\177\E$R\177\E[46;1u\177\E$S\177\E[200;1u\177\E$A\177\E[201;1u\177\E$B\177\E[202;1u\177\E$C\177\E[203;1u\177\E$D\177\E[204;1u\177\E$H\177\E[212;1u\177\E$I\177\E[213;1u\177\E$\010\177\E[214;1u"\E$\177"\E[2!w\E[25;25w\E[!w\E[2*w\E[2+x\E[;3+}, 
+       kDC=\E$\177, kHOM=\E$H, kLFT=\E$D, kRIT=\E$C, kbs=^H, 
+       kcbt=\E$I, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
+       kdch1=\177, kent=^M, kf1=^\001\r, kf10=^\010\r, 
+       kf11=^\011\r, kf12=^\012\r, kf13=\EOP, kf14=\EOQ, 
+       kf15=\EOR, kf16=\EOS, kf17=^\017\r, kf18=^\018\r, 
+       kf19=^\019\r, kf2=^\002\r, kf20=^\020\r, kf21=^\021\r, 
+       kf22=^\022\r, kf23=^\023\r, kf3=^\003\r, kf31=^\031\r, 
+       kf32=^\032\r, kf33=^\033\r, kf34=^\034\r, kf35=^\035\r, 
+       kf36=^\036\r, kf37=^\037\r, kf38=^\038\r, kf39=^\039\r, 
+       kf4=^\004\r, kf40=^\040\r, kf41=^\041\r, kf42=^\042\r, 
+       kf43=\E$P, kf44=\E$Q, kf45=\E$R, kf46=\E$S, kf47=^\047\r, 
+       kf48=^\048\r, kf49=^\049\r, kf5=^\005\r, kf50=^\050\r, 
+       kf51=^\051\r, kf52=^\052\r, kf53=^\053\r, kf6=^\006\r, 
+       kf7=^\007\r, kf8=^\008\r, kf9=^\009\r, khome=\E[H, 
+       kind=\E[T, knp=\E[U, kpp=\E[V, kri=\E[S, ll=\E[H\E[A, 
+       mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=\E[E, rc=\E8, 
+       rev=\E[0;7m, ri=\EM, rmacs=^O, rmir=\E[4l, rmso=\E[m\017, 
+       rmul=\E[m\017, sc=\E7, 
+       sgr=\E[0%?%p1%p6%O%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%O%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
+       sgr0=\E[m\017, smacs=^N, smir=\E[4h, smso=\E[0;1;7m, 
+       smul=\E[0;4m, tbc=\E[3g, tsl=\E[2!w\E[%i%p1%dG, 
+       vpa=\E[%i%p1%dd, 
+
 # <ht> through <el> included to specify padding needed in raw mode.
 # (avt-ns: added empty <acsc> to suppress a tic warning --esr)
 avt-ns|concept avt no status line, 
@@ -7913,10 +8852,10 @@ contel300|contel320|c300|Contel Business Systems C-300 or C-320,
        hts=\E1, ich1=\EN, il1=\EL$<5.5*>, ind=^J, ip=$<5.5*>, 
        kbs=^H, kf0=\ERJ, kf1=\ERA, kf2=\ERB, kf3=\ERC, kf4=\ERD, 
        kf5=\ERE, kf6=\ERF, kf7=\ERG, kf8=\ERH, kf9=\ERI, ll=\EH\EA, 
-       rmso=\E!\200, sgr0=\E!\200, smso=\E!\r, tbc=\E3, 
+       rmso=\E!\0, sgr0=\E!\0, smso=\E!\r, tbc=\E3, 
 # Contel c301 and c321 terminals.
 contel301|contel321|c301|c321|Contel Business Systems C-301 or C-321, 
-       flash@, ich1@, ip@, rmso=\E!\200$<20>, smso=\E!\r$<20>, 
+       flash@, ich1@, ip@, rmso=\E!\0$<20>, smso=\E!\r$<20>, 
        use=contel300, 
 
 #### Data General (dg)
@@ -7954,7 +8893,7 @@ dg210|dg-ansi|Data General 210/211,
 dg211|Data General d211, 
        cnorm=^L, cvvis=^L^R, ht=^I, ind@, kbs=^Y, kf0@, kf1@, kf2@, kf3@, 
        kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, lf0@, nel=^M^Z, rmcup=^L, 
-       rmso=\036E$<\200/>, smcup=^L^R, smso=\036D$<5/>, 
+       rmso=\036E$<\0/>, smcup=^L^R, smso=\036D$<5/>, 
        use=dg200, 
 # dg450 from cornell
 dg450|dg6134|data general 6134, 
@@ -7995,9 +8934,8 @@ dg6053|dg100|data general 6053,
        cup=\020%p2%c%p1%c, cuu1=^W, cvvis=^L^R, el=^K, home=^H, 
        ht=^I, is2=^R, kbs=^Y, kcub1=^Y, kcud1=^Z, kcuf1=^X, kcuu1=^W, 
        kf0=^^q, kf1=^^r, kf2=^^s, kf3=^^t, kf4=^^u, kf5=^^v, kf6=^^w, 
-       kf7=^^x, kf8=^^y, kf9=^^z, khome=^H, rmcup=^L, rmso=\200^^E, 
-       rmul=^U, smcup=^L^R, smso=\200\200\200\200\200\036D, 
-       smul=^T, 
+       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, 
 
 #### Datamedia (dm)
 #
@@ -8041,6 +8979,8 @@ dm1520|dm1521|datamedia 1520,
        cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
        home=^Y, ht=^I, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^\, kcuu1=^_, 
        khome=^Y, 
+# dm2500: this terminal has both <ich> and <smir>. Applications using 
+# termcap/terminfo directly (rather than through ncurses) might be confused.
 dm2500|datamedia2500|datamedia 2500, 
        cols#80, lines#24, 
        bel=^G, clear=^^^^\177, cub1=^H, cud1=^J, cuf1=^\, 
@@ -8493,10 +9433,10 @@ superbee-xsb|beehive super bee,
        cuf1=\EC, cup=\EF%p2%3d%p1%3d, cuu1=\EA$<3>, 
        dch1=\EP$<3>, dl1=\EM$<100>, ed=\EJ$<3>, el=\EK$<3>, 
        home=\EH, ht=^I, hts=\E1, 
-       ind=\n\200\200\200\n\200\200\200\EA\EK\200\200\200\ET\ET
-       is2=\EH\EJ, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA
-       kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev
-       kf8=\Ew, khome=\EH, rmso=\E_3, sgr0=\E_3, smso=\E_1, tbc=\E3, 
+       ind=\n\0\0\0\n\0\0\0\EA\EK\0\0\0\ET\ET, is2=\EH\EJ
+       kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf1=\Ep, kf2=\Eq
+       kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew
+       khome=\EH, rmso=\E_3, sgr0=\E_3, smso=\E_1, tbc=\E3, 
 # This loses on lines > 80 chars long, use at your own risk
 superbeeic|super bee with insert char, 
        ich1=, rmir=\ER, smir=\EQ, use=superbee-xsb, 
@@ -8739,7 +9679,7 @@ ibm3151|i3151|IBM 3151,
 ibm3161|ibm3163|wy60-316X|wyse60-316X|IBM 3161/3163 display, 
        am, mir, msgr, 
        cols#80, it#8, lines#24, 
-       acsc=l\354q\361k\353x\370j\352m\355w\367u\365v\366t\364n\356
+       acsc=j\352k\353l\354m\355n\356q\361t\364u\365v\366w\367x\370
        bel=^G, blink=\E4D, bold=\E4H, clear=\EH\EJ, cr=^M, cub1=\ED, 
        cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
        cuu1=\EA, dch1=\EQ, dl1=\EO, ed=\EJ, el=\EI, home=\EH, ind=^J, 
@@ -8753,7 +9693,7 @@ ibm3161|ibm3163|wy60-316X|wyse60-316X|IBM 3161/3163 display,
        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'%|%;\n%?%p2%t%'B'%|%;\n%?%p3%t%'A'%|%;\n%?%p4%t%'D'%|%;\n%?%p5%t%'@'%|%;\n%?%p6%t%'H'%|%;\n%?%p7%t%'P'%|%;%c\n%?%p9%t\E>A%e\E<@%;, 
+       sgr=\E4%'@'%?%p1%t%'A'%|%;%?%p2%t%'B'%|%;%?%p3%t%'A'%|%;%?%p4%t%'D'%|%;%?%p5%t%'@'%|%;%?%p6%t%'H'%|%;%?%p7%t%'P'%|%;%c%?%p9%t\E>A%e\E<@%;, 
        sgr0=\E4@\E<@, smcup=\E>A, smso=\E4A, smul=\E4B, 
 
 # How the 3164 sgr string works:
@@ -8789,15 +9729,16 @@ ibmmono|ibm5151|IBM workstation monochrome,
        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, 
        kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\EY, 
-       khome=\EH, kich1=\200, kind=\EE, knp=\EE, kpp=\Eg, kri=\EG, 
+       khome=\EH, kich1=\0, kind=\EE, knp=\EE, kpp=\Eg, kri=\EG, 
        lf0=f10, rev=\Ep, ri=\EA, rmso=\Ez, rmul=\Ew, 
        sgr0=\Ew\Eq\Ez\EB, smso=\EZ, smul=\EW, tsl=\Ej\EY8%+ \Eo, use=ibm3101, 
 ibmega|ibm5154|IBM Enhanced Color Display, 
        cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, 
        nel=^M^J, 
        use=ibmmono, 
-ibmega-c|ibm5154-c|IBM Enhanced Color Display, 
-       rmso=\EB, rmul=\EB, smso=\EF\Ef3;, smul=\EF\Ef2;, use=ibmmono, 
+ibmega-c|ibm5154-c|IBM Enhanced Color Display with standout and underline, 
+       rmso=\EB, rmul=\EB, smso=\EF\Ef3;, smul=\EF\Ef2;, 
+       use=ibmmono, 
 ibmvga-c|IBM VGA display color termcap, 
        cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, 
        nel=^M^J, 
@@ -8876,7 +9817,7 @@ ibm8514|IBM 8514 color display,
        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, 
-ibm8514-c|IBM 8514 color display, 
+ibm8514-c|IBM 8514 color display with standout and underline
        eslok, hs, 
        lines#41, 
        cr=^M, cud1=^J, dsl=\Ej\EYI \EI\Ek, fsl=\Ek, ht=^I, ind=^J, 
@@ -8890,12 +9831,12 @@ ibm8514-c|IBM 8514 color display,
 #
 aixterm-m|IBM AIXterm Monochrome Terminal Emulator, 
        eslok, hs, 
-       acsc=llqqkkxxjjmmwwuuvvttnn, bold=\E[1m, dsl=\E[?E, 
+       acsc=jjkkllmmnnqqttuuvvwwxx, bold=\E[1m, dsl=\E[?E, 
        fsl=\E[?F, ri@, s0ds=\E(B, s1ds=\E(0, 
        sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, 
        sgr0=\E[0;10m\E(B, tsl=\E[?%p1%dT, 
        use=ibm6153, 
-aixterm-m-old|IBM AIXterm Monochrome Terminal Emulator, 
+aixterm-m-old|old IBM AIXterm Monochrome Terminal Emulator, 
        eslok, hs, 
        bold=\E[1m, dsl=\E[?E, fsl=\E[?F, ri@, 
        sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, 
@@ -9057,7 +9998,7 @@ kt7|kimtron model kt-7,
 kt7ix|kimtron model kt-7 or 70 in IX mode, 
        am, bw, 
        cols#80, it#8, lines#25, 
-       acsc=lZm@k?jYt4uCvAwBqDx3nE, bel=^G, blink=\EG2, cbt=\EI, 
+       acsc=jYk?lZm@nEqDt4uCvAwBx3, bel=^G, blink=\EG2, cbt=\EI, 
        civis=\E.0, clear=\E*, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V, 
        cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
        dch1=\EW, dim=\EG@, dl1=\ER, dsl=\Ef\r, ed=\EY, el=\ET, fsl=^M, 
@@ -9166,7 +10107,7 @@ prism4|p4|P4|MDC Prism-4,
        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, 
        cuu1=^Z, dim=^CA, dsl=\035\343\035\345, ed=\EJ, el=\EK, 
-       fsl=^]\345, home=^A^J
+       fsl=^]\345, home=^A, 
        hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c, 
        ind=^J, invis=^CH, kbs=^H, khome=^A, mc0=\EU, mc4=\ET, mc5=\ER, 
        rev=^CD, rmso=^C\s, rmul=^C\s, 
@@ -9379,7 +10320,7 @@ p8gl|prism8gl|McDonnell-Douglas Prism-8 alternate definition,
        kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
        kf8=^AG\r, kf9=^AH\r, khome=^A, lf1=F1, lf10=F10, lf2=F2, 
        lf3=F3, lf4=F4, lf5=F5, lf6=F6, lf7=F7, lf8=F8, lf9=F9, nel=^J^M, 
-       pad=\200, rev=^CD, rmso=^C\s, rmul=^C\s, sgr0=^C\s, smso=^CE, 
+       pad=\0, rev=^CD, rmso=^C\s, rmul=^C\s, sgr0=^C\s, smso=^CE, 
        smul=^C0, 
 
 #### Microterm (act, mime)
@@ -9627,7 +10568,7 @@ owl|pe1200|perkin elmer 1200,
        hts=\E1, ich1=\EN, il1=\EL$<5.5*>, ind=^J, ip=$<5.5*>, 
        kbs=^H, kf0=\ERJ, kf1=\ERA, kf2=\ERB, kf3=\ERC, kf4=\ERD, 
        kf5=\ERE, kf6=\ERF, kf7=\ERG, kf8=\ERH, kf9=\ERI, ll=\EH\EA, 
-       rmso=\E!\200, sgr0=\E!\200, smso=\E!^H, tbc=\E3, 
+       rmso=\E!\0, sgr0=\E!\0, smso=\E!^H, tbc=\E3, 
 pe1251|pe6300|pe6312|perkin elmer 1251, 
        am, 
        cols#80, it#8, lines#24, pb#300, vt#8, xmc#1, 
@@ -9645,14 +10586,14 @@ pe7000m|perkin elmer 7000 series monochrome monitor,
        bel=^G, cbt=\E!Y, clear=\EK, cr=^M, cub1=\ED, cud1=\EB, 
        cuf1=\EC, cup=\ES%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
        ed=\EJ, el=\EI, home=\EH, ind=^J, 
-       is1=\E!\200\EW  7o\Egf\ES7\s, kbs=^H, kcub1=\E!V, 
-       kcud1=\E!U, kcuf1=\E!W, kcuu1=\E!T, kf0=\E!\200, kf1=\E!^A, 
+       is1=\E!\0\EW  7o\Egf\ES7\s, kbs=^H, kcub1=\E!V, 
+       kcud1=\E!U, kcuf1=\E!W, kcuu1=\E!T, kf0=\E!\0, kf1=\E!^A, 
        kf10=\E!^J, kf2=\E!^B, kf3=\E!^C, kf4=\E!^D, kf5=\E!^E, 
        kf6=\E!^F, kf7=\E!^G, kf8=\E!^H, kf9=\E!^I, khome=\E!S, 
        ll=\ES7\s, ri=\ER, 
 pe7000c|perkin elmer 7000 series colour monitor, 
-       is1=\E!\200\EW  7o\Egf\Eb0\Ec7\ES7\s, rmso=\Eb0, 
-       rmul=\E!\200, smso=\Eb2, smul=\E!\s, 
+       is1=\E!\0\EW  7o\Egf\Eb0\Ec7\ES7\s, rmso=\Eb0, 
+       rmul=\E!\0, smso=\Eb2, smul=\E!\s, 
        use=pe7000m, 
 
 #### Sperry Univac
@@ -9727,7 +10668,7 @@ dmterm|deskmate terminal,
 dt100|dt-100|Tandy DT-100 terminal, 
        xon, 
        cols#80, lines#24, xmc#1, 
-       acsc=kkllmmjjnnwwvvttuuqqxx, bel=^G, civis=\E[?25l, 
+       acsc=jjkkllmmnnqqttuuvvwwxx, bel=^G, civis=\E[?25l, 
        clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
        csr=\E[%p1%2d;%p2%2dr, cub1=^H, cud1=\E[B, cuf1=\E[C, 
        cup=\010\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, 
@@ -9744,7 +10685,7 @@ dt100w|dt-100w|Tandy DT-100 terminal (wide mode),
 dt110|Tandy DT-110 emulating ansi, 
        xon, 
        cols#80, lines#24, 
-       acsc=kkllmmjjnnwwvvuuttqqxx, bel=^G, civis=\E[?25l, 
+       acsc=jjkkllmmnnqqttuuvvwwxx, bel=^G, civis=\E[?25l, 
        clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
        csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[0B, cuf1=\E[C, 
        cup=\010\E[%i%p1%d;%p2%dH, cuu1=\E[0A, dch1=\E[0P, 
@@ -9998,7 +10939,7 @@ tek4105a|Tektronix 4105,
 # and factory color maps.  After setting these modes, save them with NVSAVE.  No
 # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
 # "IC" cannot be used in combination with "im" & "ei".
-tek4106brl|tek4107brl|tek4109brl|Tektronix 4106, 4107, or 4109, 
+tek4106brl|tek4107brl|tek4109brl|Tektronix 4106 4107 or 4109, 
        msgr, xon, 
        cols#80, it#8, lines#32, vt#3, 
        acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
@@ -10220,16 +11161,16 @@ tek4205|tektronix 4205,
        dch1=\E[1P, dim=\E[=1;<6m, dl1=\E[1M, ech=\E%p1%dX, 
        ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0, home=\E[H, ht=^I, 
        ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[1L, ind=\ED, 
-       initc=\E%%!0\n\ETF4\n%?%p1%{0}%=%t0\n%e%p1%{1}%=%t4\n%e%p1%{2}%=%t3\n%e%p1%{3}%=%t5\n%e%p1%{4}%=%t2\n%e%p1%{5}%=%t6\n%e%p1%{6}%=%t7\n%e1%;\n%?%p2%{125}%<%t0\n%e%p2%{250}%<%tA2\n%e%p2%{375}%<%tA?\n%e%p2%{500}%<%tC8\n%e%p2%{625}%<%tD4\n%e%p2%{750}%<%tE1\n%e%p2%{875}%<%tE\:\n%eF4%;\n%?%p3%{125}%<%t0\n%e%p3%{250}%<%tA2\n%e%p3%{375}%<%tA?\n%e%p3%{500}%<%tC8\n%e%p3%{625}%<%tD4\n%e%p3%{750}%<%tE1\n%e%p3%{875}%<%tE\:\n%eF4%;\n%?%p4%{125}%<%t0\n%e%p4%{250}%<%tA2\n%e%p4%{375}%<%tA?\n%e%p4%{500}%<%tC8\n%e%p4%{625}%<%tD4\n%e%p4%{750}%<%tE1\n%e%p4%{875}%<%tE\:\n%eF4%;\n\E%%!1, 
+       initc=\E%%!0\ETF4%?%p1%{0}%=%t0%e%p1%{1}%=%t4%e%p1%{2}%=%t3%e%p1%{3}%=%t5%e%p1%{4}%=%t2%e%p1%{5}%=%t6%e%p1%{6}%=%t7%e1%;%?%p2%{125}%<%t0%e%p2%{250}%<%tA2%e%p2%{375}%<%tA?%e%p2%{500}%<%tC8%e%p2%{625}%<%tD4%e%p2%{750}%<%tE1%e%p2%{875}%<%tE\:%eF4%;%?%p3%{125}%<%t0%e%p3%{250}%<%tA2%e%p3%{375}%<%tA?%e%p3%{500}%<%tC8%e%p3%{625}%<%tD4%e%p3%{750}%<%tE1%e%p3%{875}%<%tE\:%eF4%;%?%p4%{125}%<%t0%e%p4%{250}%<%tA2%e%p4%{375}%<%tA?%e%p4%{500}%<%tC8%e%p4%{625}%<%tD4%e%p4%{750}%<%tE1%e%p4%{875}%<%tE\:%eF4%;\E%%!1, 
        invis=\E[=6;<5, is1=\E%!0\ETM1\E%!1\E[m, kbs=^H, 
        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\EOA, 
        kf1=\EOB, kf2=\EOC, kf3=\EOD, kf4=\EP, kf5=\EQ, kf6=\ER, 
        kf7=\ES, 
-       oc=\E%!0\n\ETFB0\n0000\n1F4F4F4\n2F400\n30F40\n4A4C<F4\n50F4F4\n6F40F4\n7F4F40\n\E%!1, 
+       oc=\E%!0\ETFB000001F4F4F42F40030F404A4C<F450F4F46F40F47F4F40\E%!1, 
        op=\E[39;40m, rev=\E[7m, ri=\EM, rmacs=^O, rmcup=, 
        rmir=\E[4l, rmso=\E[=0;<1m, rmul=\E[24m, 
-       setb=\E[=%?%p1%{0}%=%t0m\n%e%p1%{1}%=%t4m\n%e%p1%{2}%=%t3m\n%e%p1%{3}%=%t5m\n%e%p1%{4}%=%t2m\n%e%p1%{5}%=%t6m\n%e%p1%{6}%=%t7m\n%e1m%;, 
-       setf=\E[<%?%p1%{0}%=%t0m\n%e%p1%{1}%=%t4m\n%e%p1%{2}%=%t3m\n%e%p1%{3}%=%t5m\n%e%p1%{4}%=%t2m\n%e%p1%{5}%=%t6m\n%e%p1%{6}%=%t7m\n%e1m%;, 
+       setb=\E[=%?%p1%{0}%=%t0m%e%p1%{1}%=%t4m%e%p1%{2}%=%t3m%e%p1%{3}%=%t5m%e%p1%{4}%=%t2m%e%p1%{5}%=%t6m%e%p1%{6}%=%t7m%e1m%;, 
+       setf=\E[<%?%p1%{0}%=%t0m%e%p1%{1}%=%t4m%e%p1%{2}%=%t3m%e%p1%{3}%=%t5m%e%p1%{4}%=%t2m%e%p1%{5}%=%t6m%e%p1%{6}%=%t7m%e1m%;, 
        sgr0=\E[=0;<1m\E[24;25;27m\017, smacs=^N, 
        smcup=\E%%!1\E[?6l\E[2J, smir=\E[4h, smso=\E[=2;<3m, 
        smul=\E[4m, tbc=\E[1g, 
@@ -10287,7 +11228,7 @@ tty43|model 43 teletype,
 scanset|sc410|sc415|Tymshare Scan Set, 
        am, bw, msgr, 
        cols#80, lines#24, 
-       acsc=l<m-k4j%q\,x5, bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, 
+       acsc=j%k4l<m-q\,x5, bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, 
        cud1=^J, cuf1=^I, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
        cuu1=^K, ed=\EJ, el=\EK, home=\EH, ind=^J, kcub1=\ED, 
        kcud1=\EB, kcuf1=\EC, kcuu1=\EA, mc0=\E;3, mc4=\E;0, 
@@ -10544,7 +11485,7 @@ apple-vm80|ap-vm80|apple with viewmax-80,
 lisa|apple lisa console display (black on white), 
        am, eo, msgr, 
        cols#88, it#8, lines#32, 
-       acsc=lfmekcjdttuvvuwsqax`nb, civis=\E[5h, clear=^L, 
+       acsc=jdkclfmenbqattuvvuwsx`, civis=\E[5h, clear=^L, 
        cnorm=\E[5l, cub1=^H, cud1=\E[B, cuf1=\E[C, 
        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, 
@@ -10611,7 +11552,7 @@ coco3|os9LII|Tandy CoCo3 24*80 OS9 Level II,
        cup=\002%p2%{32}%+%c%p1%{32}%+%c$<2/>, cuu1=^I, 
        dl1=^_1, ed=^K, el=^D, home=^A, il1=^_0, kcub1=^H, kcud1=^J, 
        kcuf1=^I, kcuu1=^L, rev=^_\s, rmso=^_!, rmul=^_#, 
-       sgr0=\037!\E\:\200, smso=^_\s, smul=^_", 
+       sgr0=\037!\E\:\0, smso=^_\s, smul=^_", 
 # (trs2: removed obsolete ":nl=^_:" -- esr)
 trs2|trsII|trs80II|Radio Shack Model II using P&T CP/M, 
        am, msgr, 
@@ -10628,7 +11569,7 @@ trs2|trsII|trs80II|Radio Shack Model II using P&T CP/M,
 trs16|trs-80 model 16 console, 
        am, 
        cols#80, it#8, lines#24, 
-       acsc=l_mbk`javewcquxs, bel=^G, civis=\ERc, clear=^L, 
+       acsc=jak`l_mbquvewcxs, bel=^G, civis=\ERc, clear=^L, 
        cnorm=\ERC, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC, 
        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ, 
        dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EP, il1=\EL, 
@@ -10699,7 +11640,7 @@ st52|Atari ST with VT52 emulation,
 # :k0=\E9~:    map F10 to k0 - could have F0-9 -> k0-9, but ... F10 was 'k;'
 # (amiga: removed obsolete :kn#10:,
 # also added empty <acsc> to suppress a warning --esr)
-amiga-old|Amiga ANSI, 
+amiga|Amiga ANSI, 
        am, bw, xenl, 
        cols#80, lines#24, 
        acsc=, bel=^G, blink=\E[7;2m, bold=\E[1m, cbt=\E[Z, 
@@ -10717,8 +11658,10 @@ amiga-old|Amiga ANSI,
        smso=\E[7m, smul=\E[4m, 
 
 # From: Hans Verkuil <hans@wyst.hobby.nl>, 4 Dec 1995
-# (amiga: added empty <acsc> to suppress a warning --esr)
-amiga|Amiga ANSI, 
+# (amiga: added empty <acsc> to suppress a warning.
+# I'm told this entry screws up badly with AS225, the Amiga
+# TCP/IP package once from Commodore, and now sold by InterWorks.--esr)
+amiga-h|Hans Verkuil's Amiga ANSI, 
        bw, msgr, 
        cols#80, lines#24, 
        acsc=, bel=^G, blink=\2337;2m, bold=\2331m, cbt=\233Z, 
@@ -10843,9 +11786,11 @@ minix|minix console (v1.7),
        kf5=\E[G, khome=\E[H, lf0=End, lf1=PgUp, lf2=PgDn, lf3=Num +, 
        lf4=Num -, lf5=Num 5, nel=^M^J, rev=\E[7m, ri=\EM, 
        rmso=\E[0m, rmul=\E[0m, sgr0=\E[0m, smso=\E[7m, smul=\E[4m, 
+# Corrected Jan 14, 1997 by Vincent Broman <broman@nosc.mil>
 minix-old|minix console (v1.5), 
+       xon, 
        cols#80, it#8, lines#25, 
-       blink=\E[5m, bold=\E[1m, clear=\E[H\E[0J, cr=^M, 
+       bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[0J, 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, 
@@ -10855,6 +11800,10 @@ minix-old|minix console (v1.5),
        kf0=\E[Y, kf1=\E[V, kf2=\E[U, kf3=\E[T, kf4=\E[S, kf5=\E[G, 
        khome=\E[H, nel=^M^J, rev=\E[7m, ri=\EM, rmso=\E[0m, 
        rmul=\E[0m, sgr0=\E[0m, smso=\E[7m, smul=\E[4m, 
+# The linewrap option can be specified by editing /usr/include/minix/config.h
+# before recompiling the minix 1.5 kernel.
+minix-old-am|minix console with linewrap, 
+       am, use=minix-old, 
 
 pc-minix|minix console on an Intel box, 
        use=klone+acs, use=minix, 
@@ -10890,6 +11839,28 @@ pc-venix|venix|IBM PC console running Venix,
 # If you know anything more about any of these, please tell me.
 #
 
+# The MAI Basic Four computer was obsolete at the end of the 1980s.
+# It may be used as a terminal by putting it in "line" mode as seen on 
+# one of the status lines.
+# Initialization is similar to CIT80. <is2> will set ANSI mode for you.  
+# Hardware tabs set by <if> at 8-spacing.  Auto line wrap causes glitches so
+# wrap mode is reset by <cvvis>.  Using <ind>=\E[S caused errors so I 
+# used \ED instead.
+# From: bf347@lafn.org (David Lawyer), 28 Jun 1997
+mai|basic4|MAI Basic Four in ansi mode, 
+       am, da, db, mir, msgr, 
+       cols#82, it#8, lines#25, 
+       bel=^G, blink=\E[5m, bold=\E[1m, clear=^]^_, cnorm=\E[?7h, 
+       cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=^X, 
+       cup=\E[%i%p1%d;%p2%dH, cuu1=^Z, cvvis=\E[?7l, dch1=\E[1P, 
+       dl1=\E[M, ed=^_, el=^^, home=^], ht=^I, 
+       if=/usr/lib/tabset/vt100, il1=\E[L, ind=\ED, 
+       is2=\E>\E[?1h\E[?7h\E[?5l\017\E(B\E[m\E[20l\E[1;24r\E[24;1H, 
+       kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
+       kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, 
+       kf7=\EOV, kf8=\EOW, nel=^M\ED, rc=\E8, rev=\E[7m, ri=\E[T, 
+       rmir=\E[4l, rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m, 
+       smir=\E[4h, smso=\E[7m, smul=\E[4m, 
 # basis from Peter Harrison, Computer Graphics Lab, San Francisco
 #   ucbvax!ucsfmis!harrison ...uucp / ucbvax!ucsfmis!harrison@BERKELEY ...ARPA
 # (basis: removed obsolete ":ma=^K^P^R^L^L :nl=5000*^J:" -- esr)
@@ -10916,20 +11887,36 @@ xerox820|x820|Xerox 820,
 #### Videotex and teletext
 #
 
-# standard-issue France Telecom minitel terminal (made by Philips)
-# (m2-nam: had unknown :zd=\E[1m:zb=\E[5m:zc=lkmjqxtuwvn:; also deleted
-# unnecessary :ug#0:sg#0: and added <acsc> to quiet tic. -- esr)
-m2-nam|minitel|minitel-2|minitel-2-nam|France Telecom Minitel, 
-       xenl, 
-       cols#80, it#8, lines#24, 
-       acsc=, clear=\E[H\E[J, cub1=^H, 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, il1=\E[L, ind=^J, ip=$<7/>, 
-       is2=\E[1;24r\E[24;1H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
-       kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
-       khome=\E[H, ri=\EM, rmacs=\E(B, rmir=\E[4l, rmso=\E[m, 
-       rmul=\E[m, sgr0=\E[m, smacs=\E(0, smir=\E[4h, smso=\E[7m, 
-       smul=\E[4m, 
+# \E\:1}       switch to te'le'informatique mode (ascii terminal/ISO 6429)
+# \E[?3l       80 columns
+# \E[?4l       scrolling on
+# \E[12h       local echo off
+# \Ec          reset: G0 U.S. charset (to get #,@,{,},...), 80 cols, clear screen
+# \E)0         G1 DEC set (line graphics)
+#
+# From: Igor Tamitegama <igor@ppp1493-ft.teaser.fr>, 18 Jan 1997
+m2-nam|minitel|minitel-2|minitel-2-nam|France Telecom Minitel 2 mode te'le'informatique, 
+       eslok, hs, xenl, 
+       cols#80, it#8, lines#24, wsl#72, xmc#0, 
+       acsc=aaffggjjkkllmmnnooqqssttuuvvwwxx, bel=^G, 
+       blink=\E[5m, bold=\E[1m, civis=\E[<1h, clear=\E[H\E[J, 
+       cnorm=\E[<1l, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
+       cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, 
+       cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
+       cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
+       dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, flash=^G, fsl=^J, 
+       home=\E[H, ht=^I, il=\E[%p1%dL, il1=\E[L, ind=^J, indn=^J, 
+       ip=$<7/>, is1=\E\:1}\Ec\E[?4l\E[12h, is2=\Ec\E[12h\E)0, 
+       is3=\E[?3l kbs=\010, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, 
+       kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, kf0=\EOp, 
+       kf1=\EOq, kf10=\EOp, kf2=\EOr, kf3=\EOs, kf4=\EOt, kf5=\EOu, 
+       kf6=\EOv, kf7=\EOw, kf8=\EOx, kf9=\EOy, khome=\E[H, 
+       kich1=\E[4h, kil1=\E[4l, knp=\EOn, kpp=\EOR, ll=\E[24;80H, 
+       mc0=\E[i, nel=^M^J, rc=\E8, rev=\E[7m, ri=\EM, rin=\EM, 
+       rmacs=^O, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m, 
+       rs1=\Ec\E[?4l\E[12h, rs2=\Ec\E)0, sc=\E7, sgr0=\E[m, 
+       smacs=^N, smir=\E[4h, smso=\E[7m, smul=\E[4m, tsl=^_@A, 
+       u6=\E[%i%d;%dR, u7=\E[6n, 
 
 ######## OBSOLETE VDT TYPES
 #
@@ -11005,6 +11992,18 @@ oblit|ojerq|first version of blit rom,
 # The parent company, best known as the architects of the Internet, is
 # still around.
 #
+# Jeff DelPapa <dp@world.std.com> writes:
+# The bitgraph was a large white box that contained a monochrome bitmap
+# display, and a 68000 to run it.  You could download code and run it on
+# the cpu, it had 128kb (I think) of memory.  I used one in the late
+# 70's, sure beat a vt100.  It had one strange feature tho -- it used
+# the cpu to bitblt pixels to scroll, it took longer than the refresh
+# rate, and looked like a rubber sheet stretching, then snapping
+# upwards.  It had everything the early mac had, except a floppy drive a
+# small screen (it had a 17" crisp beauty) and a real OS. They (Bolt
+# Beranek and Neuman) sold at most a few hundred of them to the real
+# world.  DOD may have bought more...
+# 
 
 # Entries for the BitGraph terminals.  The problem 
 # with scrolling in vi can only be fixed by getting BBN to put 
@@ -11070,7 +12069,7 @@ cg7900|chromatics|chromatics 7900,
        rmcup=\001W0\,40\,85\,48\,\014\001W0\,0\,85\,48\,\001M0\,40\,, 
        rmso=\001C1\,\001c2\,, 
        smcup=\001P0\001O1\001R1\001C4\,\001c0\,\014\001M0\,42\,WARNING DOUBLE ENTER ESCAPE and \025\001C1\,\001c2\,\001W0\,0\,79\,39\,, 
-       smso=\001C4\,\001c7\,, uc=\001\001_\001\200, 
+       smso=\001C4\,\001c7\,, uc=\001\001_\001\0, 
 
 #### Computer Automation
 #
@@ -11118,6 +12117,49 @@ dp3360|datapoint|datapoint 3360,
        bel=^G, clear=^]^_, cr=^M, cub1=^H, cud1=^J, cuf1=^X, cuu1=^Z, 
        ed=^_, el=^^, home=^], ind=^J, 
 
+# From: Jan Willem Stumpel <jw.stumpel@inter.nl.net>, 11 May 1997
+# The Datapoint 8242 Workstation was sold at least between 1985 
+# and 1989. To make the terminal work with this entry, press 
+# CONTROL-INT-INT to take the terminal off-line, and type (opt). 
+# Set the options AUTO ROLL, ROLL DN, and ESC KBD on, and AUTO 
+# CR/LF off. Use control-shift-[] as escape key, control-I as tab, 
+# shift-F1 to shift-F5 as F6 to F10 (unshifted F1 to F5 are in
+# fact unusable because the strings sent by the terminal conflict
+# with other keys).
+# The terminal is capable of displaying "box draw" characters.
+# For each graphic character you must send 2 ESC's (\E\E) followed 
+# by a control character as follows: 
+#         character        meaning
+#         =========        =======
+#         ctrl-E           top tee
+#         ctrl-F           right tee
+#         ctrl-G           bottom tee
+#         ctrl-H           left tee
+#         ctrl-I           cross
+#         ctrl-J           top left corner
+#         ctrl-K           top right corner
+#         ctrl-L           bottom left corner
+#         ctrl-M           bottom right corner
+#         ctrl-N           horizontal line
+#         ctrl-O           vertical line
+# Unfortunately this cannot be fitted into the termcap/terminfo 
+# description scheme. 
+dp8242|datapoint 8242, 
+       msgr, 
+       cols#80, lines#25, 
+       bel=^G, civis=^Y, clear=\025\E\004\027\030, cnorm=^X, 
+       cr=^M, cub1=^H, cud1=^J, 
+       cup=\011%p2%'\0'%+%c%p1%'\0'%+%c, dl1=\E^Z, ed=^W, el=^V, 
+       home=^U, ht=^I, il1=\E^T, ind=^C, 
+       is1=\E\014\E\016\0\230\0\317\025\027\030\E\004, 
+       kbs=^H, kcub1=^D, kcud1=^B, kcuf1=^F, kcuu1=^E, kf1=^G\Ee, 
+       kf10=\EK\Ea, kf2=^I\Ed, kf3=^J\Ec, kf4=^J\Eb, kf5=^S\Ea, 
+       kf6=\EO\Ee, kf7=\EN\Ed, kf8=\EM\Ec, kf9=\EL\Eb, nel=^M^J, 
+       rep=\E\023%p1%c%p2%c, ri=^K, rmso=\E^D, rmul=\E^D, 
+       rs1=\E\014\E\016\0\230\0\317\025\027\030\E\004, 
+       smso=\E^E, smul=\E^F, 
+       wind=\E\014\E\016%p1%'\0'%+%c%p2%'\0'%+%c%p3%'\0'%+%c%p4%'\0'%+%c\025, 
+
 #### DEC terminals (Obsolete types: DECwriter and vt40/42/50)
 #
 # These entries are DEC's official terminfos for its older terminals.
@@ -11191,7 +12233,6 @@ dw2|decwriter|dw|decwriter II,
        hc, os, 
        cols#132, 
        bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J, kbs=^H, 
-
 # \E(B         Use U.S. character set (otherwise # => british pound !)
 # \E[20l       Disable "linefeed newline" mode (else puts \r after \n,\f,\v)
 # \E[w         10 char/in pitch
@@ -11348,28 +12389,38 @@ h19-a|h19a|heath-ansi|heathkit-a|heathkit h19 ansi mode,
        smacs=\E[10m, smam=\E[?7h, smir=\E[4h, smso=\E[7m, 
 h19-bs|heathkit w/keypad shifted, 
        rmkx=\Eu, smkx=\Et, use=h19-b, 
-h19-smul|heathkit w/keypad shifted/underscore cursor, 
+h19-us|h19us|h19-smul|heathkit w/keypad shifted/underscore cursor, 
        rmkx=\Eu, smkx=\Et, 
        use=h19-u, 
 # (h19: merged in <ip> from BSDI hp19-e entry>;
 # also added empty <acsc> to suppress a tic warning --esr)
+# From: Tim Pierce <twp@skepsis.com>, 23 Feb 1998 
+# Tim tells us that:
+# I have an old Zenith-19 terminal at home that still gets a lot of use.
+# This terminal suffers from the same famous insert-mode padding lossage
+# that has been acknowledged for the Z29 terminal.  Emacs is nearly
+# unusable on this box, since even a half-scroll up or down the window
+# causes flaming terminal death.
+#   
+# On the Z19, the only way I have found around this problem is to remove
+# the :al: and :dl: entries entirely.  No amount of extra padding will
+# help (I have tried up to 20000).  Removing <il1=\EL$> and <dl1=\EM$>
+# makes Emacs a little slower, but it remains in the land of the living.
+# Big win.
 h19|heath|h19-b|heathkit|heath-19|z19|zenith|heathkit h19, 
        am, eslok, hs, mir, msgr, 
        cols#80, it#8, lines#24, 
        acsc=, bel=^G, clear=\EE, cnorm=\Ey4, cr=^M, cub1=^H, cud1=\EB, 
        cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
-       cvvis=\Ex4, dch1=\EN, dl1=\EM$<1*>, ed=\EJ, el=\EK
-       fsl=\Ek\Ey5, home=\EH, ht=^I, il1=\EL$<1*>, ind=^J
-       ip=<1.5/>, 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, khome=\EH, lf6=blue, lf7=red
-       lf8=white, ri=\EI, rmacs=\EG, rmir=\EO, rmso=\Eq, smacs=\EF
-       smir=\E@, smso=\Ep, tsl=\Ej\Ex5\EY8%p1%{32}%+%c\Eo\Eo, 
+       cvvis=\Ex4, dch1=\EN, ed=\EJ, el=\EK, fsl=\Ek\Ey5, home=\EH
+       ht=^I, ind=^J, ip=<1.5/>, 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, khome=\EH, lf6=blue
+       lf7=red, lf8=white, ri=\EI, rmacs=\EG, rmir=\EO, rmso=\Eq
+       smacs=\EF, smir=\E@, smso=\Ep
+       tsl=\Ej\Ex5\EY8%p1%{32}%+%c\Eo\Eo, 
 h19-u|heathkit with underscore cursor, 
        cnorm@, cvvis@, use=h19-b, 
-h19-us|h19us|heathkit w/keypad shifted/underscore cursor, 
-       rmkx=\Eu, smkx=\Et, 
-       use=h19-u, 
 h19-g|h19g|heathkit w/block cursor, 
        cnorm=\Ex4, use=h19-b, 
 alto-h19|altoh19|altoheath|alto-heath|alto emulating heathkit h19, 
@@ -11470,7 +12521,7 @@ z29a-nkc-uc|h29a-nkc-uc|z29 ansi mode with underscore cursor and no keyclick,
 z39-a|z39a|zenith39-a|zenith39-ansi|Zenith 39 in ANSI mode, 
        am, eslok, hs, mc5i, mir, msgr, xon, 
        cols#80, lines#24, 
-       acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~0a, bel=^G, 
+       acsc=0a``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G, 
        blink=\E[5m, bold=\E[1m, cbt=\E[1Z, civis=\E[>5h, 
        clear=\E[2J\E[H, cnorm=\E[>5l, cr=^M, 
        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
@@ -11486,9 +12537,9 @@ z39-a|z39a|zenith39-a|zenith39-ansi|Zenith 39 in ANSI mode,
        kf8=\EOR, kf9=\EOX, khlp=\E[~, khome=\E[H, ll=\E[24;1H, 
        mc0=\E[?19h\E[i, mc4=\E[4i, mc5=\E[5i, rc=\E[u, rev=\E[7m, 
        rmacs=\E(B, rmir=\E[4l, rmkx=\E[>7l, rmso=\E[0m, 
-       rmul=\E[0m, rs2=\E<\Ec\200, sc=\E[s, sgr0=\E[0m
-       smacs=\E(0, smir=\E[4h, smkx=\E[>7h, smso=\E[7m
-       smul=\E[4m, tbc=\E[3g, tsl=\E[s\E[>1h\E[25;%i%p1%dH, 
+       rmul=\E[0m, rs2=\E<\Ec\0, sc=\E[s, sgr0=\E[0m, smacs=\E(0
+       smir=\E[4h, smkx=\E[>7h, smso=\E[7m, smul=\E[4m, tbc=\E[3g
+       tsl=\E[s\E[>1h\E[25;%i%p1%dH, 
 
 # From: Brad Brahms <Brahms@USC-ECLC>
 z100|h100|z110|z-100|h-100|heath/zenith z-100 pc with color monitor, 
@@ -11635,7 +12686,17 @@ graphos-30|graphos III with 30 lines,
 #      Vox: (617)-890-5796.
 #
 # However, if you call that number today you'll get an insurance company.
-# I think Modgraph is long gone.
+# I have mail from "Michael Berman, V.P. Sales, Modgraph" dated 
+# 26 Feb 1997 that says:
+#
+# Modgraph GX-1000, replaced by GX-2000.  Both are out of production, have been
+# for ~7 years.  Modgraph still in business.  Products are rugged laptop and
+# portable PC's and specialized CRT and LCD monitors (rugged, rack-mount
+# panel-mount etc).  I can be emailed at sonfour@aol.com
+#
+# Peter D. Smith <pdsmith@nbbn.com> notes that his modgraph manual was
+# dated 1984.  According to the manual, it featured Tek 4010/4014
+# graphics and DEC VT100/VT52 + ADM-3A emulation with a VT220-style keyboard.
 #
 
 modgraph|mod24|modgraph terminal emulating vt100, 
@@ -11699,7 +12760,7 @@ modgraph48|mod|Modgraph w/48 lines,
 mt70|mt-70|Morrow MD-70; native Morrow mode, 
        am, mir, msgr, xon, 
        cols#80, it#8, lines#24, 
-       acsc=+z\,{.yOi-x`|jGkFlEmDnHtLuKvNwMxIqJ, bel=^G, 
+       acsc=+z\,{-x.yOi`|jGkFlEmDnHqJtLuKvNwMxI, bel=^G, 
        cbt=\EI, civis=\E"0, clear=^Z, cnorm=\E"2, cr=^M, cub1=^H, 
        cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<1>, 
        cuu1=^K, dch1=\EW, dim=\EG2, dl1=\ER, ed=\EY, el=\ET$<10>, 
@@ -11757,7 +12818,7 @@ omron|Omron 8025AG,
 # "reset", "tset", or "tabs" utilities (use rt6221-w, 160 columns, for this).
 # Note that the Control-E key is useless on this brain-damaged terminal.  No
 # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
-rt6221|Ramtek 6221, 80x24, 
+rt6221|Ramtek 6221 80x24, 
        msgr, xon, 
        cols#80, it#8, lines#24, vt#3, 
        acsc=, bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[>5l, 
@@ -11775,7 +12836,7 @@ rt6221|Ramtek 6221, 80x24,
        sc=\E7, sgr0=\E[m, smacs=^N, smkx=\E=, smso=\E[7m, 
        smul=\E[4m, tbc=\E[3g, 
 # [TO DO: Check out: short forms of ho/cl and ll; reset (\Ec)].
-rt6221-w|Ramtek 6221, 160x48, 
+rt6221-w|Ramtek 6221 160x48, 
        cols#160, lines#48, 
        ll=\E[48;1H, use=rt6221, 
 
@@ -12024,7 +13085,7 @@ t10|teleray 10 special,
        clear=\Ej$<30/>, cub1=^H, cuf1=\EC, 
        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ, 
        dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EP, il1=\EL, 
-       ind=\Eq, pad=\200, ri=\Ep, rmso=\ER@, rmul=\ER@, smso=\ERD, 
+       ind=\Eq, pad=\0, ri=\Ep, rmso=\ER@, rmul=\ER@, smso=\ERD, 
        smul=\ERH, 
 # teleray 16 - map the arrow keys for vi/rogue, shifted to up/down page, and
 # back/forth words. Put the function keys (f1-f10) where they can be
@@ -12092,7 +13153,7 @@ ti916-132|Texas Instruments 916 VDT vt220 132 column,
 #
 # Texas Instruments 916 VDT 8859/1 8 bit control 132 column mode
 #
-ti916-8-132|Texas Instruments 916 VDT vt220 132 column, 
+ti916-8-132|Texas Instruments 916 VDT 8-bit vt220 132 column, 
        cols#132, use=ti916-8, 
 ti924|Texas Instruments 924 VDT 8859/1 7 bit CTRL, 
        am, xon, 
@@ -12263,7 +13324,7 @@ apollo_color|apollo color display,
 
 # Convergent AWS workstation from Gould/SEL UTX/32 via BRL
 # (aws: removed unknown :dn=^K: -- esr)
-aws|Convergent Technologies AWS workstation under UTX,Xenix, 
+aws|Convergent Technologies AWS workstation under UTX and Xenix, 
        am, 
        cols#80, lines#28, xmc#0, 
        acsc=, clear=^L, cud1=^K, cuf1=^R, cup=\EC%p2%c%p1%c, 
@@ -12323,7 +13384,7 @@ qdss|qdcons|qdss glass tty,
 fos|fortune|Fortune system, 
        am, bw, 
        cols#80, lines#25, 
-       acsc=l m"k(j*v%w#q&x-, bel=^G, blink=\EN, civis=\E], 
+       acsc=j*k(l m"q&v%w#x-, bel=^G, blink=\EN, civis=\E], 
        clear=\014$<20>, cnorm=\E\\, cr=^M, cub1=^H, cud1=\n$<3>, 
        cup=\034C%p1%{32}%+%c%p2%{32}%+%c, cuu1=\013$<3>, 
        cvvis=\E\:, dch1=\034W$<5>, dl1=\034R$<15>, 
@@ -12406,11 +13467,11 @@ ctrm|C terminal emulator,
        kcud1=\Ew\r, kcuf1=\Ev\r, kcuu1=\Et\r, kf1=\Ep\r, 
        kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, kf6=\Eu\r, 
        kf7=\Ev\r, kf8=\Ew\r, khome=\Ep\r, 
-       op=\E&bn\E&bB\E&bG\E&bR\n%{0}%PX%{0}%PY%{0}%PZ\n%{1}%PW%{1}%PV%{1}%PU, 
+       op=\E&bn\E&bB\E&bG\E&bR%{0}%PX%{0}%PY%{0}%PZ%{1}%PW%{1}%PV%{1}%PU, 
        rev=%?%gB%{0}%=%t\E&dB%{1}%PB%;, rmir=\ER, rmkx=\E&jA, 
-       setb=\E&bn\n%?%gA%t\E&dA%;\n%?%gB%t\E&dB%;\n%?%gH%t\E&dH%;\n%?%gU%t\E&bR%;\n%?%gV%t\E&bG%;\n%?%gW%t\E&bB%;\n\n%?%p1%{1}%&%t\E&bb%{1}%e%{0}%;%PZ\n%?%p1%{2}%&%t\E&bg%{1}%e%{0}%;%PY\n%?%p1%{4}%&%t\E&br%{1}%e%{0}%;%PX, 
-       setf=\E&bn\n%?%gA%t\E&dA%;\n%?%gB%t\E&dB%;\n%?%gH%t\E&dH%;\n%?%gX%t\E&br%;\n%?%gY%t\E&bg%;\n%?%gZ%t\E&bb%;\n\n%?%p1%{1}%&%t\E&bB%{1}%e%{0}%;%PW\n%?%p1%{2}%&%t\E&bG%{1}%e%{0}%;%PV\n%?%p1%{4}%&%t\E&bR%{1}%e%{0}%;%PU, 
-       sgr=\E&d@%{0}%PA%{0}%PB%{0}%PD%{0}%PH\n%?%p1%p3%p5%|%|%t\E&dB%{1}%PB%;\n%?%p4%t\E&dA%{1}%PA%;\n%?%p6%t\E&dH%{1}%PH%;\n%?%p2%t\E&dD%;, 
+       setb=\E&bn%?%gA%t\E&dA%;%?%gB%t\E&dB%;%?%gH%t\E&dH%;%?%gU%t\E&bR%;%?%gV%t\E&bG%;%?%gW%t\E&bB%;%?%p1%{1}%&%t\E&bb%{1}%e%{0}%;%PZ%?%p1%{2}%&%t\E&bg%{1}%e%{0}%;%PY%?%p1%{4}%&%t\E&br%{1}%e%{0}%;%PX, 
+       setf=\E&bn%?%gA%t\E&dA%;%?%gB%t\E&dB%;%?%gH%t\E&dH%;%?%gX%t\E&br%;%?%gY%t\E&bg%;%?%gZ%t\E&bb%;%?%p1%{1}%&%t\E&bB%{1}%e%{0}%;%PW%?%p1%{2}%&%t\E&bG%{1}%e%{0}%;%PV%?%p1%{4}%&%t\E&bR%{1}%e%{0}%;%PU, 
+       sgr=\E&d@%{0}%PA%{0}%PB%{0}%PD%{0}%PH%?%p1%p3%p5%|%|%t\E&dB%{1}%PB%;%?%p4%t\E&dA%{1}%PA%;%?%p6%t\E&dH%{1}%PH%;%?%p2%t\E&dD%;, 
        sgr0=\E&d@%{0}%PA%{0}%PB%{0}%PH, smir=\EQ, smkx=\E&jB, 
        smso=\E&dD, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY, 
 
@@ -12421,7 +13482,7 @@ ctrm|C terminal emulator,
 gs6300|emots|AT&T PC6300 with EMOTS terminal emulator, 
        am, bce, msgr, xon, 
        colors#8, cols#80, it#8, lines#24, pairs#63, 
-       acsc=\,\,..--++``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
+       acsc=++\,\,--..``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
        bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M, 
        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, 
@@ -12433,7 +13494,7 @@ gs6300|emots|AT&T PC6300 with EMOTS terminal emulator,
        kf4=\E[23s, kf5=\E[2s, kf6=\E[22s, kf7=\E[3s, kf8=\E[21s, 
        khome=\E[H, mc4=\E[4i, mc5=\E[5i, op=\E[?;m, rev=\E[7m, 
        ri=\E[L, rmacs=\E[10m, rs1=\Ec, setb=\E[?;%p1%dm, 
-       setf=\E[?%?%p1%{0}%=%t0\n%e%p1%{1}%=%t2\n%e%p1%{1}%-%d%;m, 
+       setf=\E[?%?%p1%{0}%=%t0%e%p1%{1}%=%t2%e%p1%{1}%-%d%;m, 
        sgr0=\E[m\E[10m, smacs=\E[11m, smso=\E[1m, smul=\E[4m, 
 
 # From: <earle@smeagol.UUCP> 29 Oct 85 05:40:18 GMT
@@ -12525,7 +13586,7 @@ diablo1640-lm|diablo-lm|xerox-lm|diablo 1640 with indented left margin,
 diablo1740-lm|630-lm|1730-lm|x1700-lm|diablo 1740 printer, 
        use=diablo1640-lm, 
 # DTC 382 with VDU.  Has no <ed> so we fake it with <el>.  Standout
-# <smso=^P\s\002^PF> works but won't go away without dynamite <rmso=^P\s\200>.
+# <smso=^P\s\002^PF> works but won't go away without dynamite <rmso=^P\s\0>.
 # The terminal has tabs, but I'm getting tired of fighting the braindamage. 
 # If no tab is set or the terminal's in a bad mood, it glitches the screen
 # around all of memory.  Note that return puts a blank ("a return character")
@@ -12544,7 +13605,7 @@ dtc382|DTC 382,
        cuf1=^PR, cup=\020\021%p2%c%p1%c, cuu1=^P^L, cvvis=^PB, 
        dch1=^X, dl1=^P^S, ed=\020\025\020\023\020\023, el=^P^U, 
        home=^P^R, il1=^P^Z, ind=^J, pad=\177, rmcup=, rmir=^Pi, 
-       rmul=^P \200, smcup=\020\035$<20>, smir=^PI, smul=^P ^P, 
+       rmul=^P \0, smcup=\020\035$<20>, smir=^PI, smul=^P ^P, 
 dtc300s|DTC 300s, 
        hc, os, 
        cols#132, 
@@ -12644,7 +13705,7 @@ digilog|digilog 333,
 dwk|dwk-vt|dwk terminal, 
        am, 
        cols#80, it#8, lines#24, 
-       acsc=lJmFkCjXtEuPv\\wKqUxWnNo~s_`+a\:f'g#~_\\\,Q+\^.M-Sh#I#0\177
+       acsc=+\^\,Q-S.M0\177`+a\:f'g#h#i#jXkClJmFnNo~qUs_tEuPv\\wKxW~_
        bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
        cup=\EY%p1%' '%+%c%p2%' '%+%c, cuu1=\EA, dch1=\EP, 
        ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EQ, ind=^J, kbs=\177, 
@@ -12748,9 +13809,8 @@ v3220|LANPAR Vision II model 3220/3221/3222,
 # are present; the symptom is doubled characters in an update using insert.
 # These applications are technically correct; in both 4.3BSD termcap and
 # terminfo, you're not actually supposed to specify both ich/ich1 and rmir/smir
-# unless the terminal needs both.  This requirement is now rare; most ich
-# sequences do not require previous smir, and most smir insert modes do not
-# require ich1 before each character.
+# unless the terminal needs both.  To my knowledge, no terminal still in this
+# file requires both other than the very obsolete dm2500.
 #
 # For ncurses-based applications this is not a problem, as ncurses uses
 # one or the other as appropriate but never mixes the two.  Therefore we
@@ -13894,14 +14954,44 @@ v3220|LANPAR Vision II model 3220/3221/3222,
 #      * Back off the xterm entry to use r6 as a base.
 # 9.13.22 (Sat Nov 30 11:51:31 EST 1996):
 #      * Added dec-vt220 at Adrian Garside's request.
-#
-# 10.1.0 (Sun Dec 29 02:36:31 EST 1996):
+# 9.13.23 (Fri Feb 21 16:36:06 EST 1997):
+#      * Replaced minitel-2 entry.
+#      * Added MGR, ansi-nt.
 #      * Minor corrections to xterm entries.
 #      * Replaced EWAN telnet entry.
 #      * Dropped the reorder script generator.  It was a fossil.
-# 10.1.1 (Sat May  3 21:41:27 EDT 1997):
-#      * Use setaf/setab consistently with SVr4.
-#      * Remove ech, el1 from cons25w, they do not work in FreeBSD 2.1.5
+# 9.13.24 (Sun Feb 23 20:55:23 EST 1997):
+#      * Thorsten Lockert added termcap `bs' to a lot of types, working from
+#        the 4.4BSD Lite2 file.
+# 9.13.25 (Fri Jun 20 12:33:36 EDT 1997):
+#      * Added Datapoint 8242, pilot, ansi_psx, rbcomm, vt220js.
+#      * Updated iris-ansi; corrected vt102-w.
+#      * Switch base xterm entry to 3.3 level.
+# 9.13.26 (Mon Jun 30 22:45:45 EDT 1997)
+#      * Added basic4.
+#      * Removed rmir/smir from tv92B.
+#
+# 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.
+#      * Replaced unixpc entry with Benjamin Sittler's corrected version.
+#      * Replaced xterm/rxvt/emu/syscons entries with Thomas Dickey's
+#        versions.
+#      * Added u8/u9, removed rmul/smul from sun-il.
+#      * 4.2 tic allows us to use \0 instead of \200 now.
+#      * Merged in Pavel Roskin's acsc for linux-koi8
+#      * Corrected some erroneous \\\s to \.
+#      * 4.2 ncurses has been changed to use setaf/setab, consistent w/SysV.
+#      * II -> ii in pcvtXX, screen, xterm.
+#      * Removed \n chars following ANSI escapes in sgr & friends.
+#      * Updated Wyse entries.
+#      * h19 corrections from Tim Pierce.
+#      * Noted that the dm2500 has both ich and smir.
+#      * added pccons for the Alpha under OSF/1.
+#      * Added Sony NEWS workstation entries and cit101e-rv.
+#      * Reverted `amiga'; to Kent Polk's version, as I'm told
+#        the Verkuil entry messes up with Amiga Telnet.
 #
 # The following sets edit modes for GNU EMACS
 # Local Variables: