changeset 44710:c440ab734cde

New version from ftp://invisible-island.net.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 20 Apr 2002 07:38:53 +0000
parents e673f42e092e
children abf41c27da8d
files etc/termcap.src
diffstat 1 files changed, 6722 insertions(+), 17774 deletions(-) [+]
line wrap: on
line diff
--- a/etc/termcap.src	Fri Apr 19 19:04:25 2002 +0000
+++ b/etc/termcap.src	Sat Apr 20 07:38:53 2002 +0000
@@ -1,8 +1,17 @@
 ######## TERMINAL TYPE DESCRIPTIONS SOURCE FILE
 #
-#	Version 11.0.1
-#	$Date: 2000/03/02 15:51:11 $
-#	termcap syntax
+# This version of terminfo.src is distributed with ncurses.
+# Report bugs and new terminal descriptions to
+#	bug-ncurses@gnu.org
+#
+# The original header is preserved below for reference.  It is noted that there
+# is a newer version which differs in some cosmetic details; we have decided
+# to not change the header unless there is also a change in content.
+#
+#------------------------------------------------------------------------------
+#	Version 10.2.1
+#	$Date: 2002/01/12 17:31:53 $
+#	terminfo syntax
 #
 #	Eric S. Raymond		(current maintainer)
 #	John Kunze, Berkeley
@@ -189,7 +198,7 @@
 # the inverse sense from the cup string).  The typical CPR value is
 # \E[%i%d;%dR (on VT100/ANSI/ECMA-48-compatible terminals).
 #
-# These capabilities are used by tac(1m), the terminfo action checker
+# These capabilities are used by tack(1m), the terminfo action checker
 # (distributed with ncurses 5.0).
 #
 # TABSET FILES
@@ -269,9 +278,7 @@
 	:co#80:\
 	:bl=^G:cr=^M:do=^J:sf=^J:
 unknown|unknown terminal type:\
-	:am:gn:\
-	:co#80:\
-	:bl=^G:cr=^M:do=^J:sf=^J:
+	:gn:tc=dumb:
 lpr|printer|line printer:\
 	:bs:hc:os:\
 	:co#132:li#66:\
@@ -279,7 +286,9 @@
 glasstty|classic glass tty interpreting ASCII control characters:\
 	:am:bs:\
 	:co#80:\
-	:bl=^G:cl=^L:cr=^M:do=^J:kd=^J:kl=^H:le=^H:nw=^M^J:ta=^I:
+	:bl=^G:cl=^L:cr=^M:do=^J:kd=^J:kl=^H:le=^H:nw=^M^J:ta=^I:\
+	:.kbs=^H:
+
 vanilla:\
 	:bs:\
 	:bl=^G:cr=^M:do=^J:sf=^J:
@@ -294,13 +303,11 @@
 ansi+local1:\
 	:do=\E[B:le=\E[D:nd=\E[C:up=\E[A:
 ansi+local:\
-	:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:do=\E[B:le=\E[D:\
-	:nd=\E[C:up=\E[A:
+	:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:tc=ansi+local1:
 ansi+tabs:\
 	:bt=\E[Z:ct=\E[2g:st=\EH:ta=^I:
 ansi+inittabs:\
-	:it#8:\
-	:bt=\E[Z:ct=\E[2g:st=\EH:ta=^I:
+	:it#8:tc=ansi+tabs:
 ansi+erase:\
 	:cd=\E[J:ce=\E[K:cl=\E[H\E[J:
 ansi+rca:\
@@ -312,7 +319,7 @@
 ansi+idl1:\
 	:al=\E[L:dl=\E[M:
 ansi+idl:\
-	:AL=\E[%dL:DL=\E[%dM:al=\E[L:dl=\E[M:
+	:AL=\E[%dL:DL=\E[%dM:tc=ansi+idl1:
 ansi+idc:\
 	:IC=\E[%d@:dc=\E[P:ei=\E6:ic=\E[@:im=\E6:
 ansi+arrows:\
@@ -324,13 +331,13 @@
 ansi+sgrul|ansi underline only:\
 	:ue=\E[m:us=\E[4m:
 ansi+sgrbold|ansi graphic renditions; assuming terminal has bold; not dim:\
-	:mb=\E[5m:md=\E[1m:me=\E[0m:mk=\E[8m:mr=\E[7m:\
-	:..sa=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m:\
-	:se=\E[m:so=\E[7m:ue=\E[m:us=\E[4m:
+	:md=\E[1m:\
+	:..sa=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m:\
+	:tc=ansi+sgr:tc=ansi+sgrso:tc=ansi+sgrul:
 ansi+sgrdim|ansi graphic renditions; assuming terminal has dim; not bold:\
-	:mb=\E[5m:me=\E[0m:mh=\E[2m:mk=\E[8m:mr=\E[7m:\
-	:..sa=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p5%t2;%;m:\
-	:se=\E[m:so=\E[7m:ue=\E[m:us=\E[4m:
+	:mh=\E[2m:\
+	:..sa=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p5%t2;%;%?%p7%t8;%;m:\
+	:tc=ansi+sgr:tc=ansi+sgrso:tc=ansi+sgrul:
 ansi+pp|ansi printer port:\
 	:pf=\E[4i:po=\E[5i:ps=\E[0i:
 ansi+csr|ansi scroll-region plus cursor save & restore:\
@@ -343,7 +350,7 @@
 # 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:\
-	:ac=`\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:\
+	:ac=+\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:\
 	:ae=\E[10m:as=\E[11m:
 
 # Highlight controls corresponding to the ANSI.SYS standard.  Most 
@@ -351,23 +358,20 @@
 # about \E[11m as klone+acs.  True ANSI/ECMA-48 would have :se=\E[27m:,
 # :ue=\E[24m:, but this isn't a documented feature of ANSI.SYS.
 klone+sgr|attribute control for ansi.sys displays:\
-	:S2=\E[11m:S3=\E[10m:\
-	:ac=`\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:\
-	:ae=\E[10m:as=\E[11m:mb=\E[5m:md=\E[1m:me=\E[0;10m:\
+	:S2=\E[11m:S3=\E[10m:mb=\E[5m:md=\E[1m:me=\E[0;10m:\
 	:mk=\E[8m:mr=\E[7m:\
 	:..sa=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m:\
-	:se=\E[m:so=\E[7m:ue=\E[m:us=\E[4m:
+	:se=\E[m:so=\E[7m:ue=\E[m:us=\E[4m:tc=klone+acs:
 
 # Highlight controls corresponding to the ANSI.SYS standard.  *All*
 # console drivers for Intel boxes obey these.  Does not assume \E[11m will
 # work; uses \E[12m instead, which is pretty bulletproof but loses you the ACS
 # diamond and arrow characters under curses.
 klone+sgr-dumb|attribute control for ansi.sys displays (no ESC [ 11 m):\
-	:ac=`\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:\
-	:ae=\E[10m:as=\E[12m:mb=\E[5m:md=\E[1m:me=\E[0;10m:\
-	:mk=\E[8m:mr=\E[7m:\
+	:as=\E[12m:mb=\E[5m:md=\E[1m:me=\E[0;10m:mk=\E[8m:\
+	:mr=\E[7m:\
 	:..sa=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;12%;m:\
-	:se=\E[m:so=\E[7m:ue=\E[m:us=\E[4m:
+	:se=\E[m:so=\E[7m:ue=\E[m:us=\E[4m:tc=klone+acs:
 
 # KOI8-R (RFC1489) acs (alternate character set)
 # From: Qing Long <qinglong@Bolizm.ihep.su>, 24 Feb 1996.
@@ -389,17 +393,13 @@
 # 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.
 ecma+color|color control for ECMA-48-compatible terminals:\
+	:AX:\
 	:Co#8:NC#3:pa#64:\
 	:AB=\E[4%dm:AF=\E[3%dm:op=\E[39;49m:
 
 # Attribute control for ECMA-48-compatible terminals
 ecma+sgr|attribute capabilities for true ECMA-48 terminals:\
-	:S2=\E[11m:S3=\E[10m:\
-	:ac=`\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:\
-	:ae=\E[10m:as=\E[11m:mb=\E[5m:md=\E[1m:me=\E[0;10m:\
-	:mk=\E[8m:mr=\E[7m:\
-	:..sa=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m:\
-	:se=\E[27m:so=\E[7m:ue=\E[24m:us=\E[4m:
+	:se=\E[27m:ue=\E[24m:tc=klone+sgr:
 
 # For comparison, here are all the capabilities implied by the Intel
 # Binary Compatibility Standard (level 2) that fit within terminfo.
@@ -426,25 +426,19 @@
 # direct cursor addressing, and makes almost no assumptions. It does
 # assume auto margins, no padding and/or xon/xoff, and a 24x80 screen.
 ansi-mr|mem rel cup ansi:\
-	:am:bs:xo:\
-	:co#80:li#24:\
-	:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cr=^M:do=^J:le=\E[D:\
-	:nd=\E[C:sf=^J:up=\E[A:
+	:am:xo:\
+	:co#80:li#24:tc=vanilla:tc=ansi+erase:tc=ansi+local1:
 
 # ansi-mini is a bare minimum ANSI terminal. This should work on anything, but 
 # beware of screen size problems and memory relative cursor addressing.
-ansi-mini|minimum ansi standard terminal:\
-	:am:bs:xo:\
-	:co#80:li#24:\
-	:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
-	:do=^J:ho=\E[H:sf=^J:
+ansi-mini|any ansi terminal with pessimistic assumptions:\
+	:am:xo:\
+	:co#80:li#24:tc=vanilla:tc=ansi+cup:tc=ansi+erase:
 
 # ansi-mtabs adds relative addressing and minimal tab support 
 ansi-mtabs|any ansi terminal with pessimistic assumptions:\
-	:am:bs:xo:\
-	:co#80:it#8:li#24:\
-	:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
-	:do=\E[B:ho=\E[H:le=\E[D:nd=\E[C:sf=^J:ta=^I:up=\E[A:
+	:it#8:\
+	:ta=^I:tc=ansi+local1:tc=ansi-mini:
 
 # ANSI X3.64 from emory!mlhhh (Hugh Hansard) via BRL
 #
@@ -496,150 +490,46 @@
 pcansi-m|pcansi-mono|ibm-pc terminal programs claiming to be ansi (mono mode):\
 	:am:bs:mi:ms:\
 	:co#80:it#8:li#24:\
-	:ac=`\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:\
-	:ae=\E[10m:al=\E[L:as=\E[12m:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
-	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[2g:dc=\E[P:\
-	:dl=\E[M:do=\E[B:ho=\E[H:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
-	:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[0;10m:\
-	:mk=\E[8m:mr=\E[7m:nd=\E[C:\
-	:..sa=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;12%;m:\
-	:se=\E[m:sf=^J:so=\E[7m:st=\EH:ta=^I:ue=\E[m:up=\E[A:\
-	:us=\E[4m:
+	:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
+	:cm=\E[%i%d;%dH:cr=^M:ct=\E[2g:dc=\E[P:dl=\E[M:do=\E[B:\
+	:ho=\E[H:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
+	:le=\E[D:nd=\E[C:sf=^J:st=\EH:ta=^I:up=\E[A:\
+	:tc=klone+sgr-dumb:
 pcansi-25-m|pcansi25m|ibm-pc terminal programs with 25 lines (mono mode):\
-	:am:bs:mi:ms:\
-	:co#80:it#8:li#25:\
-	:ac=`\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:\
-	:ae=\E[10m:al=\E[L:as=\E[12m:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
-	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[2g:dc=\E[P:\
-	:dl=\E[M:do=\E[B:ho=\E[H:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
-	:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[0;10m:\
-	:mk=\E[8m:mr=\E[7m:nd=\E[C:\
-	:..sa=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;12%;m:\
-	:se=\E[m:sf=^J:so=\E[7m:st=\EH:ta=^I:ue=\E[m:up=\E[A:\
-	:us=\E[4m:
+	:li#25:tc=pcansi-m:
 pcansi-33-m|pcansi33m|ibm-pc terminal programs with 33 lines (mono mode):\
-	:am:bs:mi:ms:\
-	:co#80:it#8:li#33:\
-	:ac=`\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:\
-	:ae=\E[10m:al=\E[L:as=\E[12m:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
-	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[2g:dc=\E[P:\
-	:dl=\E[M:do=\E[B:ho=\E[H:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
-	:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[0;10m:\
-	:mk=\E[8m:mr=\E[7m:nd=\E[C:\
-	:..sa=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;12%;m:\
-	:se=\E[m:sf=^J:so=\E[7m:st=\EH:ta=^I:ue=\E[m:up=\E[A:\
-	:us=\E[4m:
+	:li#33:tc=pcansi-m:
 pcansi-43-m|ansi43m|ibm-pc terminal programs with 43 lines (mono mode):\
-	:am:bs:mi:ms:\
-	:co#80:it#8:li#43:\
-	:ac=`\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:\
-	:ae=\E[10m:al=\E[L:as=\E[12m:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
-	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[2g:dc=\E[P:\
-	:dl=\E[M:do=\E[B:ho=\E[H:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
-	:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[0;10m:\
-	:mk=\E[8m:mr=\E[7m:nd=\E[C:\
-	:..sa=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;12%;m:\
-	:se=\E[m:sf=^J:so=\E[7m:st=\EH:ta=^I:ue=\E[m:up=\E[A:\
-	:us=\E[4m:
+	:li#43:tc=pcansi-m:
 # The color versions.  All PC emulators do color...
 pcansi|ibm-pc terminal programs claiming to be ansi:\
-	:am:bs:mi:ms:\
-	:Co#8:NC#3:co#80:it#8:li#24:pa#64:\
-	:AB=\E[4%dm:AF=\E[3%dm:\
-	:ac=`\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:\
-	:ae=\E[10m:al=\E[L:as=\E[12m:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
-	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[2g:dc=\E[P:\
-	:dl=\E[M:do=\E[B:ho=\E[H:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
-	:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[0;10m:\
-	:mk=\E[8m:mr=\E[7m:nd=\E[C:op=\E[37;40m:\
-	:..sa=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;12%;m:\
-	:se=\E[m:sf=^J:so=\E[7m:st=\EH:ta=^I:ue=\E[m:up=\E[A:\
-	:us=\E[4m:
+	:tc=klone+color:tc=pcansi-m:
 pcansi-25|pcansi25|ibm-pc terminal programs with 25 lines:\
-	:am:bs:mi:ms:\
-	:Co#8:NC#3:co#80:it#8:li#25:pa#64:\
-	:AB=\E[4%dm:AF=\E[3%dm:\
-	:ac=`\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:\
-	:ae=\E[10m:al=\E[L:as=\E[12m:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
-	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[2g:dc=\E[P:\
-	:dl=\E[M:do=\E[B:ho=\E[H:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
-	:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[0;10m:\
-	:mk=\E[8m:mr=\E[7m:nd=\E[C:op=\E[37;40m:\
-	:..sa=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;12%;m:\
-	:se=\E[m:sf=^J:so=\E[7m:st=\EH:ta=^I:ue=\E[m:up=\E[A:\
-	:us=\E[4m:
+	:li#25:tc=pcansi:
 pcansi-33|pcansi33|ibm-pc terminal programs with 33 lines:\
-	:am:bs:mi:ms:\
-	:Co#8:NC#3:co#80:it#8:li#33:pa#64:\
-	:AB=\E[4%dm:AF=\E[3%dm:\
-	:ac=`\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:\
-	:ae=\E[10m:al=\E[L:as=\E[12m:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
-	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[2g:dc=\E[P:\
-	:dl=\E[M:do=\E[B:ho=\E[H:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
-	:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[0;10m:\
-	:mk=\E[8m:mr=\E[7m:nd=\E[C:op=\E[37;40m:\
-	:..sa=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;12%;m:\
-	:se=\E[m:sf=^J:so=\E[7m:st=\EH:ta=^I:ue=\E[m:up=\E[A:\
-	:us=\E[4m:
+	:li#33:tc=pcansi:
 pcansi-43|pcansi43|ibm-pc terminal programs with 43 lines:\
-	:am:bs:mi:ms:\
-	:Co#8:NC#3:co#80:it#8:li#43:pa#64:\
-	:AB=\E[4%dm:AF=\E[3%dm:\
-	:ac=`\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:\
-	:ae=\E[10m:al=\E[L:as=\E[12m:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
-	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[2g:dc=\E[P:\
-	:dl=\E[M:do=\E[B:ho=\E[H:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
-	:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[0;10m:\
-	:mk=\E[8m:mr=\E[7m:nd=\E[C:op=\E[37;40m:\
-	:..sa=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;12%;m:\
-	:se=\E[m:sf=^J:so=\E[7m:st=\EH:ta=^I:ue=\E[m:up=\E[A:\
-	:us=\E[4m:
+	:li#43:tc=pcansi:
 
 # ansi-m -- full ANSI X3.64 with ANSI.SYS-compatible attributes, no color.
 # If you want pound signs rather than dollars, replace `B' with `A'
 # in the <s0ds>, <s1ds>, <s2ds>, and <s3ds> capabilities.
 # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
 ansi-m|ansi-mono|ANSI X3.64-1979 terminal with ANSI.SYS compatible attributes:\
-	:5i:am:bs:mi:ms:\
-	:co#80:it#8:li#24:\
+	:5i:\
 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
 	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
-	:ac=`\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:\
-	:ae=\E[10m:al=\E[L:as=\E[12m:bl=^G:bt=\E[Z:cb=\E[1K:\
-	:cd=\E[J:ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
-	:cr=^M:ct=\E[2g:cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=\E[B:\
-	:ec=\E[%dX:ei=:ho=\E[H:im=:kB=\E[Z:kI=\E[L:kb=^H:kd=\E[B:\
-	:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:\
-	:me=\E[0;10m:mk=\E[8m:mr=\E[7m:nd=\E[C:nw=\r\E[S:pf=\E[4i:\
-	:po=\E[5i:..rp=%p1%c\E[%p2%{1}%-%db:s0=\E(B:s1=\E)B:\
-	:s2=\E*B:s3=\E+B:\
-	:..sa=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;12%;m:\
-	:se=\E[m:sf=^J:so=\E[7m:st=\EH:ta=\E[I:ue=\E[m:up=\E[A:\
-	:us=\E[4m:
+	:cb=\E[1K:ch=\E[%i%dG:ct=\E[2g:cv=\E[%i%dd:ec=\E[%dX:ei=:\
+	:im=:kB=\E[Z:kI=\E[L:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:\
+	:nw=\r\E[S:pf=\E[4i:po=\E[5i:..rp=%p1%c\E[%p2%{1}%-%db:\
+	:s0=\E(B:s1=\E)B:s2=\E*B:s3=\E+B:ta=\E[I:tc=pcansi-m:
 
 # ansi -- this terminfo expresses the largest subset of X3.64 that will fit in
 # standard terminfo.  Assumes ANSI.SYS-compatible attributes and color.
 # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
 ansi|ansi/pc-term compatible with color:\
-	:5i:am:bs:mi:ms:\
-	:Co#8:NC#3:co#80:it#8:li#24:pa#64:\
-	:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
-	:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:S2=\E[11m:\
-	:S3=\E[10m:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
-	:ac=`\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:\
-	:ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:bt=\E[Z:cb=\E[1K:\
-	:cd=\E[J:ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
-	:cr=^M:ct=\E[2g:cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=\E[B:\
-	:ec=\E[%dX:ei=:ho=\E[H:im=:kB=\E[Z:kI=\E[L:kb=^H:kd=\E[B:\
-	:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:\
-	:me=\E[0;10m:mk=\E[8m:mr=\E[7m:nd=\E[C:nw=\r\E[S:\
-	:op=\E[39;49m:pf=\E[4i:po=\E[5i:\
-	:..rp=%p1%c\E[%p2%{1}%-%db:s0=\E(B:s1=\E)B:s2=\E*B:\
-	:s3=\E+B:\
-	:..sa=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m:\
-	:se=\E[m:sf=^J:so=\E[7m:st=\EH:ta=\E[I:u6=\E[%i%d;%dR:\
-	:u7=\E[6n:..u8=\E[?%[;0123456789]c:u9=\E[c:ue=\E[m:\
-	:up=\E[A:us=\E[4m:
+	:u6=\E[%i%d;%dR:u7=\E[6n:..u8=\E[?%[;0123456789]c:\
+	:u9=\E[c:tc=ecma+color:tc=klone+sgr:tc=ansi-m:
 
 # ansi-generic is a vanilla ANSI terminal. This is assumed to implement 
 # all the normal ANSI stuff with no extensions. It assumes 
@@ -649,19 +539,85 @@
 # can't do some of those. Padding is assumed to be zero, which 
 # shouldn't hurt since xon/xoff is assumed.
 ansi-generic|generic ansi standard terminal:\
-	:am:bs:xo:\
-	:co#80:li#24:\
-	:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:\
-	:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
-	:ch=\E[%+^AG:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
-	:cs=\E[%i%d;%dr:ct=\E[2g:cv=\E[%+^Ad:dc=\E[P:dl=\E[M:\
-	:do=^J:ei=\E6:ho=\E[H:ic=\E[@:im=\E6:kb=^H:kd=\E[B:kh=\E[H:\
-	:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:\
-	:me=\E[0m:mk=\E[8m:mr=\E[7m:nd=\E[C:rc=\E8:\
-	:..rp=%p1%c\E[%p2%{1}%-%db:\
-	:..sa=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m:\
-	:sc=\E7:se=\E[m:sf=^J:so=\E[7m:st=\EH:ta=^I:ue=\E[m:up=\E[A:\
-	:us=\E[4m:
+	:am:xo:\
+	:co#80:li#24:tc=vanilla:tc=ansi+csr:tc=ansi+cup:\
+	:tc=ansi+rca:tc=ansi+erase:tc=ansi+tabs:tc=ansi+local:\
+	:tc=ansi+idc:tc=ansi+idl:tc=ansi+rep:tc=ansi+sgrbold:\
+	:tc=ansi+arrows:
+
+#### DOS ANSI.SYS variants
+#
+# This completely describes the sequences specified in the DOS 2.1 ANSI.SYS
+# documentation (except for the keyboard key reassignment feature, which
+# doen't fit the <pfkey> model well).  The klone+acs sequences were valid
+# though undocumented.  The <pfkey> capability is untested but should work for
+# keys F1-F10 (%p1 values outside this range will yield unpredictable results).
+# From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 7 1995
+ansi.sys-old|ANSI.SYS under PC-DOS 2.1:\
+	:am:bs:mi:ms:xo:\
+	:co#80:li#25:\
+	:RA=\E[?7l:SA=\E[?7h:ce=\E[k:cl=\E[2J:cm=\E[%i%d;%dH:\
+	:do=\E[B:ho=\E[H:is=\E[m\E[?7h:kd=^J:kh=^^:kl=^H:kr=^L:\
+	:ku=^K:le=^H:nd=\E[C:pk=\E[0;%+\:;"%s":rc=\E[u:sc=\E[s:\
+	:u6=\E[%i%d;%dR:u7=\E[6n:up=\E[A:tc=klone+color:\
+	:tc=klone+sgr:
+ansi.sys|ANSI.SYS 3.1 and later versions:\
+	:ce=\E[K:tc=ansi.sys-old:
+
+#
+# Define IBM PC keypad keys for vi as per MS-Kermit while using ANSI.SYS.
+# This should only be used when the terminal emulator cannot redefine the keys.
+# Since redefining keys with ansi.sys also affects PC-DOS programs, the key
+# definitions must be restored.  If the terminal emulator is quit while in vi
+# or others using :ks:/:ke:, the keypad will not be defined as per PC-DOS.
+# The PgUp and PgDn are prefixed with ESC so that tn3270 can be used on Unix
+# (^U and ^D are already defined for tn3270).  The ESC is safe for vi but it
+# does "beep".  ESC ESC i is used for Ins to avoid tn3270 ESC i for coltab.
+# Note that :kl: is always BS, because PC-dos can tolerate this change.
+# Caution: vi is limited to 256 string bytes, longer crashes or weirds out vi.
+# Consequently the End keypad key could not be set (it is relatively safe and
+# actually useful because it sends ^@ O, which beeps and opens a line above).
+ansi.sysk|ansisysk|PC-DOS 3.1 ANSI.SYS with keypad redefined for vi:\
+	:is=U2 PC-DOS 3.1 ANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p:\
+	:ke=\E[;71;0;71p\E[;72;0;72p\E[;73;0;73p\E[;77;0;77p\E[;80;0;80p\E[;81;0;81p\E[;82;0;82p\E[;83;0;83p:\
+	:ks=\E[;71;30p\E[;72;11p\E[;73;27;21p\E[;77;12p\E[;80;10p\E[;81;27;4p\E[;82;27;27;105p\E[;83;127p:\
+	:tc=ansi.sys:
+#
+# Adds ins/del line/character, hence vi reverse scrolls/inserts/deletes nicer.
+nansi.sys|nansisys|PC-DOS Public Domain NANSI.SYS:\
+	:al=\E[1L:dc=\E[1P:dl=\E[1M:ei=:ic=\E[1@:im=:\
+	:is=U3 PC-DOS Public Domain NANSI.SYS 9-23-86\n:\
+	:tc=ansi.sys:
+#
+# See ansi.sysk and nansi.sys above.
+nansi.sysk|nansisysk|PC-DOS Public Domain NANSI.SYS with keypad redefined for vi:\
+	:al=\E[1L:dc=\E[1P:dl=\E[1M:ei=:ic=\E[1@:im=:\
+	:is=U4 PC-DOS Public Domain NANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p:\
+	:tc=ansi.sysk:
+
+#### ANSI console types
+#
+
+#### BeOS
+#
+# BeOS entry for Terminal program Seems to be almost ANSI
+beterm|BeOS Terminal:\
+	:am:eo:mi:ms:xn:xo:\
+	:Co#8:NC#5:co#80:it#8:li#25:pa#64:\
+	:&7=^Z:@7=\E[4~:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:\
+	:DL=\E[%dM:DO=\E[%dB:F1=\E[21~:F2=\E[22~:IC=\E[%d@:\
+	:LE=\E[%dD:RI=\E[%dC:Sb=\E[%+(m:Sf=\E[%+^^m:UP=\E[%dA:\
+	:al=\E[L:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:ch=\E[%i%dG:\
+	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
+	:cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:ei=\E[4l:\
+	:ho=\E[H:ic=\E[@:im=\E[4h:k1=\E[11~:k2=\E[12~:k3=\E[13~:\
+	:k4=\E[14~:k5=\E[15~:k6=\E[16~:k7=\E[17~:k8=\E[18~:\
+	:k9=\E[19~:k;=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
+	:kb=^H:kd=\E[B:ke=\E[?4l:kh=\E[1~:kl=\E[D:kr=\E[C:\
+	:ks=\E[?4h:ku=\E[A:le=^H:md=\E[1m:me=\E[0;10m:mr=\E[7m:\
+	:nd=\E[C:nw=^M^J:op=\E[m:r1=\Ec:rc=\E8:sc=\E7:se=\E[m:sf=^J:\
+	:so=\E[7m:sr=\EM:st=\EH:ta=^I:u6=\E[%i%d;%dR:u7=\E[6n:\
+	:ue=\E[24m:up=\E[A:us=\E[4m:
 
 #### Linux consoles
 #
@@ -721,3355 +677,149 @@
 # The 2.2.x kernels add a private mode that sets the cursor type; use that to
 # get a block cursor for cvvis.
 # reported by Frank Heckenbach <frank@g-n-u.de>.
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
 linux|linux console:\
 	:am:eo:mi:ms:ut:xn:xo:\
-	:Co#8:NC#2:it#8:pa#64:\
-	:&7=^Z:@7=\E[4~:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:\
-	:DL=\E[%dM:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
-	:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
-	:FA=\E[34~:IC=\E[%d@:K2=\E[G:S2=\E[11m:S3=\E[10m:\
-	:ac=+\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:\
-	:ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:cb=\E[1K:cd=\E[J:\
-	:ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
-	:cs=\E[%i%d;%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:DC=\E[%dP:\
-	:DL=\E[%dM:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
-	:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
-	:FA=\E[34~:IC=\E[%d@:\
-	:..Ic=\E]P%p1%x%p2%{255}%*%{1000}%/%02x%p3%{255}%*%{1000}%/%02x%p4%{255}%*%{1000}%/%02x:\
-	:K2=\E[G:S2=\E[11m:S3=\E[10m:\
-	:ac=+\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:\
-	:ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:cb=\E[1K:cd=\E[J:\
-	:ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
-	:cs=\E[%i%d;%dr:ct=\E[3g:cv=\E[%i%dd:dc=\E[P:dl=\E[M:\
-	:do=^J:ec=\E[%dX:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:\
-	:k1=\E[[A:k2=\E[[B:k3=\E[[C:k4=\E[[D:k5=\E[[E:k6=\E[17~:\
-	:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kB=\E[Z:kD=\E[3~:\
-	:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=\177:kd=\E[B:kh=\E[1~:\
-	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
-	:me=\E[0;10m:mh=\E[2m:mk=\E[8m:mr=\E[7m:nd=\E[C:nw=^M^J:\
-	:oc=\E]R:op=\E[39;49m:r1=\Ec\E]R:rc=\E8:\
-	:..sa=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m:\
-	:sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
-	:u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?6c:u9=\E[c:ue=\E[24m:\
-	:up=\E[A:us=\E[4m:vb=200\E[?5h\E[?5l:ve=\E[?25h\E[?0c:\
-	:vi=\E[?25l\E[?1c:vs=\E[?25h\E[?8c:
-# From: Dennis Henriksen <opus@osrl.dk>, 9 July 1996
-linux-c|linux console 1.3.6+ with private palette for each virtual console:\
-	:am:cc:eo:mi:ms:ut:xn:xo:\
-	:Co#8:NC#2:it#8:pa#64:\
-	:&7=^Z:@7=\E[4~:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:\
-	:DL=\E[%dM:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
-	:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
-	:FA=\E[34~:IC=\E[%d@:\
-	:..Ic=\E]P%?%p1%{9}%>%t%p1%{10}%-%'a'%+%c%e%p1%d%;%p2%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%p3%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%p4%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;:\
-	:K2=\E[G:S2=\E[11m:S3=\E[10m:\
-	:ac=+\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:\
-	:ae=\E[10m:al=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0c:\
-	:vi=\E[?25l\E[?1c:vs=\E[?25h\E[?8c:
-
-# 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:\
-	:am:eo:mi:ms:ut:xn:xo:\
-	:Co#8:NC#2:it#8:pa#64:\
-	:&7=^Z:@7=\E[4~:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:\
-	:DL=\E[%dM:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
-	:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
-	:FA=\E[34~:IC=\E[%d@:K2=\E[G:S2=\E[11m:S3=\E[10m:\
-	:ac=+\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:\
-	:ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:cb=\E[1K:cd=\E[J:\
-	:ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
-	:cs=\E[%i%d;%dr:ct=\E[3g:cv=\E[%i%dd:dc=\E[P:dl=\E[M:\
-	:do=^J:ec=\E[%dX:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:\
-	:k1=\E[[A:k2=\E[[B:k3=\E[[C:k4=\E[[D:k5=\E[[E:k6=\E[17~:\
-	:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kB=\E[Z:kD=\E[3~:\
-	:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=\177:kd=\E[B:kh=\E[1~:\
-	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
-	:me=\E[0;10m:mh=\E[2m:mk=\E[8m:mr=\E[7m:nd=\E[C:nw=^M^J:\
-	:op=\E[39;49m:r1=\Ec\E]R:rc=\E8:\
-	:..sa=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m:\
-	:sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
-	:u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?6c:u9=\E[c:ue=\E[24m:\
-	:up=\E[A:us=\E[4m:vb=200\E[?5h\E[?5l:ve=\E[?25h\E[?0c:\
-	:vi=\E[?25l\E[?1c:vs=\E[?25h\E[?8c:
-
-# Another entry for KOI8-r with Qing Long's acsc.
-# (which one better complies with the standard?)
-linux-koi8r|linux with koi8-r alternate character set:\
-	:am:eo:mi:ms:ut:xn:xo:\
-	:Co#8:NC#2:it#8:pa#64:\
-	:&7=^Z:@7=\E[4~:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:\
-	:DL=\E[%dM:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
-	:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
-	:FA=\E[34~:IC=\E[%d@:K2=\E[G:S2=\E[11m:S3=\E[10m:\
-	:ac=+\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:\
-	:ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:cb=\E[1K:cd=\E[J:\
-	:ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
-	:cs=\E[%i%d;%dr:ct=\E[3g:cv=\E[%i%dd:dc=\E[P:dl=\E[M:\
-	:do=^J:ec=\E[%dX:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:\
-	:k1=\E[[A:k2=\E[[B:k3=\E[[C:k4=\E[[D:k5=\E[[E:k6=\E[17~:\
-	:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kB=\E[Z:kD=\E[3~:\
-	:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=\177:kd=\E[B:kh=\E[1~:\
-	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
-	:me=\E[0;10m:mh=\E[2m:mk=\E[8m:mr=\E[7m:nd=\E[C:nw=^M^J:\
-	:op=\E[39;49m:r1=\Ec\E]R:rc=\E8:\
-	:..sa=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m:\
-	:sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
-	:u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?6c:u9=\E[c:ue=\E[24m:\
-	:up=\E[A:us=\E[4m:vb=200\E[?5h\E[?5l:ve=\E[?25h\E[?0c:\
-	:vi=\E[?25l\E[?1c:vs=\E[?25h\E[?8c:
-
-# Entry for the latin1 and latin2 fonts
-linux-lat|linux with latin1 or latin2 alternate character set:\
-	:am:eo:mi:ms:ut:xn:xo:\
-	:Co#8:NC#2:it#8:pa#64:\
-	:&7=^Z:@7=\E[4~:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:\
-	:DL=\E[%dM:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
-	:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
-	:FA=\E[34~:IC=\E[%d@:K2=\E[G:S2=\E[11m:S3=\E[10m:\
-	:ac=+\020,\021-\030.^Y0\333`\004a\013f\370g\361h\260i\316j\211k\214l\206m\203n\305o~p\304q\212r\304s_t\207u\215v\301w\302x\205y\363z\362{\343|\330}\234~\376:\
-	:ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:cb=\E[1K:cd=\E[J:\
-	:ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
+	:K2=\E[G:Km=\E[M:al=\E[L:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
+	:ch=\E[%i%dG:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
 	:cs=\E[%i%d;%dr:ct=\E[3g:cv=\E[%i%dd:dc=\E[P:dl=\E[M:\
 	:do=^J:ec=\E[%dX:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:\
 	:k1=\E[[A:k2=\E[[B:k3=\E[[C:k4=\E[[D:k5=\E[[E:k6=\E[17~:\
 	:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kB=\E[Z:kD=\E[3~:\
 	:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=\177:kd=\E[B:kh=\E[1~:\
-	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
-	:me=\E[0;10m:mh=\E[2m:mk=\E[8m:mr=\E[7m:nd=\E[C:nw=^M^J:\
-	:op=\E[39;49m:r1=\Ec\E]R:rc=\E8:\
-	:..sa=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m:\
-	:sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
-	:u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?6c:u9=\E[c:ue=\E[24m:\
-	:up=\E[A:us=\E[4m:vb=200\E[?5h\E[?5l:ve=\E[?25h\E[?0c:\
-	:vi=\E[?25l\E[?1c:vs=\E[?25h\E[?8c:
-
-#### NetBSD consoles
-#
-# pcvt termcap database entries (corresponding to release 3.31)
-# Author's last edit-date: [Fri Sep 15 20:29:10 1995]
-#
-# (For the terminfo master file, I translated these into terminfo syntax.
-# Then I dropped all the pseudo-HP entries. we don't want and can't use
-# the :Xs: flag. Then I split :is: into a size-independent :i1: and a
-# size-dependent :is:.  Finally, I added <rmam>/<smam> -- esr)
-
-# NOTE: :ic: has been taken out of this entry. for reference, it should
-# be <ich1=\E[@>.  For discussion, see ICH/ICH1 VERSUS RMIR/SMIR below.
-# (esr: added :vi: and :ve: to resolve NetBSD Problem Report #4583)
-pcvtXX|pcvt vt200 emulator (DEC VT220):\
-	:am:km:mi:ms:xn:\
-	:it#8:vt#3:\
-	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
-	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:SF=\E[%dS:\
-	:SR=\E[%dT:UP=\E[%dA:\
-	:ac=llmmkkiijjuuttvvwwqqxxnnoosspprr``aaffgg~~..--++,,hh00yyzz:\
-	:ae=\E(B:al=\E[L:as=\E(0:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
-	:ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
-	:i1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:im=\E[4h:\
-	:k1=\E[17~:k2=\E[18~:k3=\E[19~:k4=\E[20~:k5=\E[21~:\
-	:k6=\E[23~:k7=\E[24~:k8=\E[25~:kD=\E[3~:kH=\E[4~:kI=\E[2~:\
-	:kN=\E[6~:kP=\E[5~:kb=\177:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:\
-	:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:\
-	:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=\EE:\
-	:r1=\Ec\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
-	:rf=/usr/share/tabset/vt100:sc=\E7:se=\E[27m:sf=\ED:\
-	:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:\
-	:ve=\E[?25h:vi=\E[?25l:
-
-#	NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
-#	termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
-#	50 lines entries; 80 columns
-pcvt25|dec vt220 emulation with 25 lines:\
-	:am:km:mi:ms:xn:\
-	:co#80:it#8:li#25:vt#3:\
-	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
-	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:SF=\E[%dS:\
-	:SR=\E[%dT:UP=\E[%dA:\
-	:ac=llmmkkiijjuuttvvwwqqxxnnoosspprr``aaffgg~~..--++,,hh00yyzz:\
-	:ae=\E(B:al=\E[L:as=\E(0:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
-	:ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
-	:i1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:im=\E[4h:\
-	:is=\E[1;25r\E[25;1H:k1=\E[17~:k2=\E[18~:k3=\E[19~:\
-	:k4=\E[20~:k5=\E[21~:k6=\E[23~:k7=\E[24~:k8=\E[25~:\
-	:kD=\E[3~:kH=\E[4~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=\177:\
-	:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:kl=\EOD:kr=\EOC:\
-	:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:\
-	:mr=\E[7m:nd=\E[C:nw=\EE:\
-	:r1=\Ec\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
-	:rf=/usr/share/tabset/vt100:sc=\E7:se=\E[27m:s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=\E(B:al=\E[L:as=\E(0:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
-	:ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
-	:i1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:im=\E[4h:\
-	:is=\E[1;50r\E[50;1H:k1=\E[17~:k2=\E[18~:k3=\E[19~:\
-	:k4=\E[20~:k5=\E[21~:k6=\E[23~:k7=\E[24~:k8=\E[25~:\
-	:kD=\E[3~:kH=\E[4~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=\177:\
-	:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:kl=\EOD:kr=\EOC:\
-	:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:\
-	:mr=\E[7m:nd=\E[C:nw=\EE:\
-	:r1=\Ec\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
-	:rf=/usr/share/tabset/vt100:sc=\E7:se=\E[27m:sf=\ED:\
-	:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:\
-	:ve=\E[?25h:vi=\E[?25l:
-
-#	NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
-#	termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
-#	50 lines entries; 132 columns
-pcvt25w|dec vt220 emulation with 25 lines and 132 cols:\
-	:am:km:mi:ms:xn:\
-	:co#132:it#8:li#25:vt#3:\
-	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
-	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:SF=\E[%dS:\
-	:SR=\E[%dT:UP=\E[%dA:\
-	:ac=llmmkkiijjuuttvvwwqqxxnnoosspprr``aaffgg~~..--++,,h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E>:kh=\E[1~:kl=\EOD:kr=\EOC:\
-	:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:\
-	:mr=\E[7m:nd=\E[C:nw=\EE:\
-	:r1=\Ec\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
-	:rf=/usr/share/tabset/vt100:sc=\E7:se=\E[27m:sf=\ED:\
-	:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:\
-	:ve=\E[?25h:vi=\E[?25l:
-
-# Terminfo entries to enable the use of the ncurses library in colour on a
-# NetBSD-arm32 console (only tested on a RiscPC).
-# Created by Dave Millen <dmill@globalnet.co.uk> 22.07.98
-# modified codes for setf/setb to setaf/setab, then to klone+color, corrected
-# typo in invis - TD
-arm100|arm100-am|Arm(RiscPC) ncurses compatible (for 640x480):\
-	:am:ms:ut:xn:xo:\
-	:Co#8:NC#3:co#80:it#8:li#30:pa#64:\
-	:@8=\E[M:AB=\E[4%dm:AF=\E[3%dm:DO=\E[%dB:K1=\E[q:K2=\E[r:\
-	:K3=\E[s:K4=\E[p:K5=\E[n:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:\
-	:S2=\E[11m:S3=\E[10m:SA=\E[?7h:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
-	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:do=^J:\
-	:eA=\E(B\E)0:ho=\E[H:k0=\E[y:k1=\E[P:k2=\E[Q:k3=\E[R:\
-	:k4=\E[S:k5=\E[t:k6=\E[u:k7=\E[v:k8=\E[l:k9=\E[w:k;=\E[x:\
-	:kb=^H:kd=\E[B:ke=\E[?1l\E>:kl=\E[D:kr=\E[C:ks=\E[?1h\E=:\
-	:ku=\E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:..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
-	:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
-	:up=\E[A:us=\E[4m:
-
-# NetBSD/x68k console vt200 emulator. This port runs on a 68K machine
-# manufactured by Sharp for the Japenese market.
-# From Minoura Makoto <minoura@netlaputa.or.jp>, 12 May 1996
-x68k|x68k-ite|NetBSD/x68k ITE:\
-	:5i:am:bs:mi:ms:xn:xo:\
-	:co#96:it#8:li#32:vt#3:\
-	:%0=\E[29~:%1=\E[28~:*6=\E[4~:@0=\E[1~:AL=\E[%dL:\
-	:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:\
-	:F3=\E[25~:F4=\E[26~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
-	:FA=\E[34~:IC=\E[%d@:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:\
-	:SA=\E[?7h:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
-	:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:eA=\E)0:ec=\E[%dX:ei=\E[4l:\
-	:ho=\E[H:if=/usr/share/tabset/vt100:im=\E[4h:\
-	:is=\E[?7h\E[>\E[?1h\E F\E[?4l:k1=\EOP:k2=\EOQ:k3=\EOR:\
-	:k4=\EOS:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
-	:k;=\E[21~:kC=\E[9~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:\
-	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:l1=pf1:l2=pf2:\
-	:l3=pf3:l4=pf4:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:\
-	:nd=\E[C:nw=\EE:pf=\E[4i:po=\E[5i:ps=\E[i:r1=\E[?3l:rc=\E8:\
-	:sc=\E7:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
-	:ue=\E[24m:up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:
-
-# <tv@pobox.com>:
-# Entry for the DNARD OpenFirmware console, close to ANSI but not quite.
-#
-# (still unfinished, but good enough so far.)
-ofcons:\
-	:bw:\
-	:co#80:li#30:\
-	:AL=\233%dL:DC=\233%dP:DL=\233%dM:DO=\233%dB:IC=\233%d@:\
-	:LE=\233%dD:RI=\233%dC:UP=\233%dA:al=\233L:bl=^G:cd=\233J:\
-	:ce=\233K:cl=^L:cm=\233%i%d;%dH:cr=^M:dc=\233P:dl=\233M:\
-	:do=\233B:ei=:ic=\233@:im=:k1=\2330P:k2=\2330Q:k3=\2330W:\
-	:k4=\2330x:k5=\2330t:k6=\2330u:k7=\2330q:k8=\2330r:\
-	:k9=\2330p:k;=\2330M:kD=\233P:kN=\233/:kP=\233?:kb=^H:\
-	:kd=\233B:kl=\233D:kr=\233C:ku=\233A:le=\233D:mb=\2337;2m:\
-	:md=\2331m:me=\2330m:mh=\2332m:mk=\2338m:mr=\2337m:\
-	:nd=\233C:nw=^M^J:se=\2330m:sf=^J:ta=^I:ue=\2330m:up=\233A:\
-	:vb=^G:
-
-# NetBSD "wscons" emulator in vt220 mode
-# These are micro-minimal and probably need to be redone for real
-# after the manner of the pcvt entries.
-wsvt25|NetBSD wscons in 25 line DEC VT220 mode:\
-	:5i:am:bs:mi:ms:xn:xo:\
-	:co#80:it#8:li#25:vt#3:\
-	:%0=\E[29~:%1=\E[28~:*6=\E[4~:@0=\E[1~:AL=\E[%dL:\
-	:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:\
-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26~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
-	:FA=\E[34~:IC=\E[%d@:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:\
-	:SA=\E[?7h:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
-	:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:eA=\E)0:ec=\E[%dX:ei=\E[4l:\
-	:ho=\E[H:if=/usr/share/tabset/vt100:im=\E[4h:\
-	:is=\E[?7h\E[>\E[?1h\E F\E[?4l:k1=\EOP:k2=\EOQ:k3=\EOR:\
-	:k4=\EOS:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
-	:k;=\E[21~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:\
-	:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:l1=pf1:l2=pf2:l3=pf3:\
-	:l4=pf4:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
-	:nw=\EE:pf=\E[4i:po=\E[5i:ps=\E[i:r1=\E[?3l:rc=\E8:sc=\E7:\
-	:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[24m:\
-	:up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:
-
-# `rasterconsole' provided by 4.4BSD, NetBSD and OpenBSD on SPARC, and 
-# DECstation/pmax.
-rcons|BSD rasterconsole:\
-	:am:km:ms:\
-	:co#80:li#34:\
-	:%7=\E[194z:&5=\E[193z:&8=\E[195z:@7=\E[220z:AL=\E[%dL:\
-	:DC=\E[%dP:DL=\E[%dM:F1=\E[234z:F2=\E[235z:IC=\E[%d@:\
-	:K2=\E[218z:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=^L:\
-	:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=:ic=\E[@:im=:\
-	:k1=\E[224z:k2=\E[225z:k3=\E[226z:k4=\E[227z:k5=\E[228z:\
-	:k6=\E[229z:k7=\E[230z:k8=\E[231z:k9=\E[232z:k;=\E[233z:\
-	:kD=\177:kN=\E[222z:kP=\E[216z:kb=^H:kd=\E[B:kh=\E[214z:\
-	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:mr=\E[7m:nd=\E[C:\
-	:rs=\E[s:\
-	:..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m:\
-	:se=\E[m:sf=^J:so=\E[7m:ta=^I:u8=\E[1t:u9=\E[11t:up=\E[A:
-# Color version of above. Color currenly only provided by NetBSD.
-rcons-color|BSD rasterconsole with ANSI color:\
-	:am:km:ms:ut:\
-	:Co#8:co#80:li#34:pa#64:\
-	:%7=\E[194z:&5=\E[193z:&8=\E[195z:@7=\E[220z:AB=\E[4%dm:\
-	:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:F1=\E[234z:\
-	:F2=\E[235z:IC=\E[%d@:K2=\E[218z:al=\E[L:bl=^G:cd=\E[J:\
-	:ce=\E[K:cl=^L:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:\
-	:ei=:ic=\E[@:im=:k1=\E[224z:k2=\E[225z:k3=\E[226z:\
-	:k4=\E[227z:k5=\E[228z:k6=\E[229z:k7=\E[230z:k8=\E[231z:\
-	:k9=\E[232z:k;=\E[233z:kD=\177:kN=\E[222z:kP=\E[216z:\
-	:kb=^H:kd=\E[B:kh=\E[214z:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
-	:me=\E[m:mr=\E[7m:nd=\E[C:op=\E[m:rs=\E[s:\
-	:..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m:\
-	:se=\E[m:sf=^J:so=\E[7m:ta=^I:u8=\E[1t:u9=\E[11t:up=\E[A:
-
-#### FreeBSD console entries
-#
-# From: Andrey Chernov <ache@astral.msk.su> 29 Mar 1996
-# Andrey Chernov maintains the FreeBSD termcap distributions.
-#
-# Note: Users of FreeBSD 2.1.0 and older versions must either upgrade
-# or comment out the :cb: capability in the console entry.
-#
-# Alexander Lukyanov reports:
-# I have seen FreeBSD-2.1.5R... The old el1 bug changed, but it is still there.
-# Now el1 clears not only to the line beginning, but also a large chunk
-# of previous line. But there is another bug - ech does not work at all.
-#
-
-# for syscons
-# common entry without semigraphics
-# Bug: The <op> capability resets attributes.
-# Bug? The ech and el1 attributes appear to move the cursor in some cases; for
-# instance el1 does if the cursor is moved to the right margin first.  Removed
-# by T.Dickey 97/5/3 (ech=\E[%p1%dX, el1=\E[1K)
-#
-# Setting colors turns off reverse; we cannot guarantee order, so use ncv.
-# Note that this disables standout with color.
-cons25w|ansiw|ansi80x25-raw|freebsd console (25-line raw mode):\
-	:NP:am:bw:eo:ms:ut:\
-	:Co#8:NC#21:co#80:it#8:li#25:pa#64:\
-	:@7=\E[F:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:\
-	:DL=\E[%dM:DO=\E[%dB:F1=\E[W:F2=\E[X:IC=\E[%d@:K2=\E[E:\
-	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
-	:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%i%d`:\
-	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cv=\E[%i%dd:dc=\E[P:\
-	:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:k1=\E[M:k2=\E[N:\
-	:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:\
-	:k;=\E[V:kB=\E[Z:kD=\177:kI=\E[L:kN=\E[G:k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:\
-	:ta=^I:up=\E[A:ve=\E[=0C:vs=\E[=1C:
-cons25-m|ansis-mono|ansi80x25-mono|freebsd console (25-line mono ansi mode):\
-	:NP:am:bw:eo:ms:ut:\
-	:NC#21:co#80:it#8:li#25:\
-	:@7=\E[F:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[W:\
-	:F2=\E[X:IC=\E[%d@:K2=\E[E:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:\
-	:SR=\E[%dT:UP=\E[%dA:\
-	:ac=-\030.^Y0\333`\004a\260f\370g\361h\261i\025j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263y\363z\362~\371:\
-	:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%i%d`:\
-	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cv=\E[%i%dd:dc=\E[P:\
-	:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:k1=\E[M:k2=\E[N:\
-	:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:\
-	:k;=\E[V:kB=\E[Z:kD=\177:kI=\E[L:kN=\E[G:kP=\E[I:kb=^H:\
-	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
-	:me=\E[m:mr=\E[7m:nd=\E[C:nw=\E[E:r1=\E[x\E[m\Ec:se=\E[m:\
-	:sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:\
-	:ve=\E[=0C:vs=\E[=1C:
-cons30|ansi80x30|freebsd console (30-line ansi mode):\
-	:NP:am:bw:eo:ms:ut:\
-	:Co#8:NC#21:co#80:it#8:li#30:pa#64:\
-	:@7=\E[F:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:\
-	:DL=\E[%dM:DO=\E[%dB:F1=\E[W:F2=\E[X:IC=\E[%d@:K2=\E[E:\
-	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
-	:ac=-\030.^Y0\333`\004a\260f\370g\361h\261i\025j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263y\363z\362~\371:\
-	:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%i%d`:\
-	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cv=\E[%i%dd:dc=\E[P:\
-	:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:k1=\E[M:k2=\E[N:\
-	:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:\
-	:k;=\E[V:kB=\E[Z:kD=\177:kI=\E[L:kN=\E[G:kP=\E[I:kb=^H:\
-	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
-	:md=\E[1m:me=\E[m:mh=\E[30;1m:mr=\E[7m:nd=\E[C:nw=\E[E:\
-	:op=\E[x:r1=\E[x\E[m\Ec:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:\
-	:ta=^I:up=\E[A:ve=\E[=0C:vs=\E[=1C:
-cons30-m|ansi80x30-mono|freebsd console (30-line mono ansi mode):\
-	:NP:am:bw:eo:ms:ut:\
-	:NC#21:co#80:it#8:li#30:\
-	:@7=\E[F:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[W:\
-	:F2=\E[X:IC=\E[%d@:K2=\E[E:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:\
-	:SR=\E[%dT:UP=\E[%dA:\
-	:ac=-\030.^Y0\333`\004a\260f\370g\361h\261i\025j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263y\363z\362~\371:\
-	:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%i%d`:\
-	:cl=\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[=0C:vs=\E[=1C:
-cons50|ansil|ansi80x50|freebsd console (50-line ansi mode):\
-	:NP:am:bw:eo:ms:ut:\
-	:Co#8:NC#21:co#80:it#8:li#50:pa#64:\
-	:@7=\E[F:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:\
-	:DL=\E[%dM:DO=\E[%dB:F1=\E[W:F2=\E[X:IC=\E[%d@:K2=\E[E:\
-	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
-	:ac=-\030.^Y0\333`\004a\260f\370g\361h\261i\025j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263y\363z\362~\371:\
-	:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%i%d`:\
-	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cv=\E[%i%dd:dc=\E[P:\
-	:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:k1=\E[M:k2=\E[N:\
-	:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:\
-	:k;=\E[V:kB=\E[Z:kD=\177:kI=\E[L:kN=\E[G:kP=\E[I:kb=^H:\
-	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
-	:md=\E[1m:me=\E[m:mh=\E[30;1m:mr=\E[7m:nd=\E[C:nw=\E[E:\
-	:op=\E[x:r1=\E[x\E[m\Ec:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:\
-	:ta=^I:up=\E[A:ve=\E[=0C:vs=\E[=1C:
-cons50-m|ansil-mono|ansi80x50-mono|freebsd console (50-line mono ansi mode):\
-	:NP:am:bw:eo:ms:ut:\
-	:NC#21:co#80:it#8:li#50:\
-	:@7=\E[F:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[W:\
-	:F2=\E[X:IC=\E[%d@:K2=\E[E:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:\
-	:SR=\E[%dT:UP=\E[%dA:\
-	:ac=-\030.^Y0\333`\004a\260f\370g\361h\261i\025j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263y\363z\362~\371:\
-	:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%i%d`:\
-	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cv=\E[%i%dd:dc=\E[P:\
-	:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:k1=\E[M:k2=\E[N:\
-	:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:\
-	:k;=\E[V:kB=\E[Z:kD=\177:kI=\E[L:kN=\E[G:kP=\E[I:kb=^H:\
-	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
-	:me=\E[m:mr=\E[7m:nd=\E[C:nw=\E[E:r1=\E[x\E[m\Ec:se=\E[m:\
-	:sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:\
-	:ve=\E[=0C:vs=\E[=1C:
-cons60|ansi80x60|freebsd console (60-line ansi mode):\
-	:NP:am:bw:eo:ms:ut:\
-	:Co#8:NC#21:co#80:it#8:li#60:pa#64:\
-	:@7=\E[F:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:\
-	:DL=\E[%dM:DO=\E[%dB:F1=\E[W:F2=\E[X:IC=\E[%d@:K2=\E[E:\
-	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
-	:ac=-\030.^Y0\333`\004a\260f\370g\361h\261i\025j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263y\363z\362~\371:\
-	:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%i%d`:\
-	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:sr=\E[T:\
-	:ta=^I:up=\E[A:ve=\E[=0C:vs=\E[=1C:
-cons25r-m|pc3r-m|ibmpc3r-mono|cons25-koi8r-m|freebsd console w/koi8-r cyrillic (mono):\
-	:NP:am:bw:eo:ms:ut:\
-	:NC#21:co#80:it#8:li#25:\
-	:@7=\E[F:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[W:\
-	:F2=\E[X:IC=\E[%d@:K2=\E[E:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:\
-	:SR=\E[%dT:UP=\E[%dA:\
-	:ac=-\030.^Y0\215`\004a\220f\234h\221i\025j\205k\203l\202m\204n\212q\0t\206u\207v\211w\210x\201y\230z\231~\225:\
-	:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%i%d`:\
-	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cv=\E[%i%dd:dc=\E[P:\
-	:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:k1=\E[M:k2=\E[N:\
-	:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:\
-	:k;=\E[V:kB=\E[Z:kD=\177:kI=\E[L:kN=\E[G:kP=\E[I:kb=^H:\
-	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
-	:md=\E[1m:me=\E[m:mh=\E[30;1m:mr=\E[7m:nd=\E[C:nw=\E[E:\
-	:r1=\E[x\E[m\Ec:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:\
-	:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[=0C:vs=\E[=1C:
-cons50r|cons50-koi8r|freebsd console w/koi8-r cyrillic (50 lines):\
-	:NP:am:bw:eo:ms:ut:\
-	:Co#8:NC#21:co#80:it#8:li#50:pa#64:\
-	:@7=\E[F:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:\
-	:DL=\E[%dM:DO=\E[%dB:F1=\E[W:F2=\E[X:IC=\E[%d@:K2=\E[E:\
-	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
-	:ac=-\030.^Y0\215`\004a\220f\234h\221i\025j\205k\203l\202m\204n\212q\0t\206u\207v\211w\210x\201y\230z\231~\225:\
-	:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%i%d`:\
-	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cv=\E[%i%dd:dc=\E[P:\
-	:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:k1=\E[M:k2=\E[N:\
-	:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:\
-	:k;=\E[V:kB=\E[Z:kD=\177:kI=\E[L:kN=\E[G:kP=\E[I:kb=^H:\
-	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
-	:md=\E[1m:me=\E[m:mh=\E[30;1m:mr=\E[7m:nd=\E[C:nw=\E[E:\
-	:op=\E[x:r1=\E[x\E[m\Ec:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:\
-	:ta=^I:up=\E[A:ve=\E[=0C:vs=\E[=1C:
-cons50r-m|cons50-koi8r-m|freebsd console w/koi8-r cyrillic (50-line mono):\
-	:NP:am:bw:eo:ms:ut:\
-	:NC#21:co#80:it#8:li#50:\
-	:@7=\E[F:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[W:\
-	:F2=\E[X:IC=\E[%d@:K2=\E[E:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:\
-	:SR=\E[%dT:UP=\E[%dA:\
-	:ac=-\030.^Y0\215`\004a\220f\234h\221i\025j\205k\203l\202m\204n\212q\0t\206u\207v\211w\210x\201y\230z\231~\225:\
-	:al=\E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nd=\E[C:nw=\E[E:\
-	:r1=\E[x\E[m\Ec:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:\
-	:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[=0C:vs=\E[=1C:
-# ISO 8859-1 FreeBSD console
-cons25l1|cons25-iso8859|freebsd console w/iso 8859-1 chars:\
-	:NP:am:bw:eo:ms:ut:\
-	:Co#8:NC#21:co#80:it#8:li#25:pa#64:\
-	:@7=\E[F:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:\
-	:DL=\E[%dM:DO=\E[%dB:F1=\E[W:F2=\E[X:IC=\E[%d@:K2=\E[E:\
-	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
-	:ac=+\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:\
-	:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%i%d`:\
-	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cv=\E[%i%dd:dc=\E[P:\
-	:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:k1=\E[M:k2=\E[N:\
-	:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:\
-	:k;=\E[V:kB=\E[Z:kD=\177:kI=\E[L:kN=\E[G:kP=\E[I:kb=^H:\
-	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
-	:md=\E[1m:me=\E[m:mh=\E[30;1m:mr=\E[7m:nd=\E[C:nw=\E[E:\
-	:op=\E[x:r1=\E[x\E[m\Ec:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:\
-	:ta=^I:up=\E[A:ve=\E[=0C:vs=\E[=1C:
-cons25l1-m|cons25-iso-m|freebsd console w/iso 8859-1 chars (mono):\
-	:NP:am:bw:eo:ms:ut:\
-	:NC#21:co#80:it#8:li#25:\
-	:@7=\E[F:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[W:\
-	:F2=\E[X:IC=\E[%d@:K2=\E[E:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:\
-	:SR=\E[%dT:UP=\E[%dA:\
-	:ac=+\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:\
-	:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%i%d`:\
-	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cv=\E[%i%dd:dc=\E[P:\
-	:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:k1=\E[M:k2=\E[N:\
-	:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:\
-	:k;=\E[V:kB=\E[Z:kD=\177:kI=\E[L:kN=\E[G:kP=\E[I:kb=^H:\
-	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
-	:me=\E[m:mr=\E[7m:nd=\E[C:nw=\E[E:r1=\E[x\E[m\Ec:se=\E[m:\
-	:sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:\
-	:ve=\E[=0C:vs=\E[=1C:
-cons50l1|cons50-iso8859|freebsd console w/iso 8859-1 chars (50 lines):\
-	:NP:am:bw:eo:ms:ut:\
-	:Co#8:NC#21:co#80:it#8:li#50:pa#64:\
-	:@7=\E[F:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:\
-	:DL=\E[%dM:DO=\E[%dB:F1=\E[W:F2=\E[X:IC=\E[%d@:K2=\E[E:\
-	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
-	:ac=+\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:\
-	:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%i%d`:\
-	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cv=\E[%i%dd:dc=\E[P:\
-	:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:k1=\E[M:k2=\E[N:\
-	:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:\
-	:k;=\E[V:kB=\E[Z:kD=\177:kI=\E[L:kN=\E[G:kP=\E[I:kb=^H:\
-	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
-	:md=\E[1m:me=\E[m:mh=\E[30;1m:mr=\E[7m:nd=\E[C:nw=\E[E:\
-	:op=\E[x:r1=\E[x\E[m\Ec:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:\
-	:ta=^I:up=\E[A:ve=\E[=0C:vs=\E[=1C:
-cons50l1-m|cons50-iso-m|freebsd console w/iso 8859-1 chars (50-line mono):\
-	:NP:am:bw:eo:ms:ut:\
-	:NC#21:co#80:it#8:li#50:\
-	:@7=\E[F:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[W:\
-	:F2=\E[X:IC=\E[%d@:K2=\E[E:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:\
-	:SR=\E[%dT:UP=\E[%dA:\
-	:ac=+\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:\
-	:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%i%d`:\
-	:cl=\E[H\E[J:cm=\E[%i%d;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kI=\E[L:kN=\E[G:kP=\E[I:kb=^H:\
-	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
-	:md=\E[1m:me=\E[m:mh=\E[30;1m:mr=\E[7m:nd=\E[C:nw=\E[E:\
-	:op=\E[x:r1=\E[x\E[m\Ec:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:\
-	:ta=^I:up=\E[A:ve=\E[=0C:vs=\E[=1C:
-cons60l1-m|cons60-iso-m|freebsd console w/iso 8859-1 chars (60-line mono):\
-	:NP:am:bw:eo:ms:ut:\
-	:NC#21:co#80:it#8:li#60:\
-	:@7=\E[F:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[W:\
-	:F2=\E[X:IC=\E[%d@:K2=\E[E:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:\
-	:SR=\E[%dT:UP=\E[%dA:\
-	:ac=+\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:\
-	:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%i%d`:\
-	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cv=\E[%i%dd:dc=\E[P:\
-	:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:k1=\E[M:k2=\E[N:\
-	:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:\
-	:k;=\E[V:kB=\E[Z:kD=\177:kI=\E[L:kN=\E[G:kP=\E[I:kb=^H:\
-	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
-	:me=\E[m:mr=\E[7m:nd=\E[C:nw=\E[E:r1=\E[x\E[m\Ec:se=\E[m:\
-	:sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:\
-	:ve=\E[=0C:vs=\E[=1C:
-
-#### 386BSD and BSD/OS Consoles
-#
-
-# This was the original 386BSD console entry (I think).  
-# Some places it's named oldpc3|oldibmpc3.
-# From: Alex R.N. Wetmore <aw2t@andrew.cmu.edu>
-origpc3|origibmpc3|IBM PC 386BSD Console:\
-	:am:bw:eo:xo:\
-	:co#80:li#25:\
-	:ac=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263:\
-	:cd=\E[J:ce=\E[K:cl=\Ec:cm=\E[%i%2;%2H:do=\E[B:ho=\E[H:\
-	:kd=\E[B:kh=\E[Y:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:md=\E[7m:\
-	:me=\E[m\E[1;0x\E[2;7x:nd=\E[C:se=\E[1;0x\E[2;7x:\
-	:sf=\E[S:so=\E[1;7x\E[2;0x:sr=\E[T:ue=\E[1;0x\E[2;7x:\
-	:up=\E[A:us=\E[1;7x\E[2;0x:
-
-# description of BSD/386 console emulator in version 1.0 (supplied by BSDI)
-oldpc3|oldibmpc3|old IBM PC BSD/386 Console:\
-	:km:\
-	:li#25:\
-	:al=\E[L:bl=^G:cr=^M:dl=\E[M:do=^J:kH=\E[F:kI=\E[L:kN=\E[G:\
-	:kP=\E[I:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
-	:md=\E[=15F:me=\E[=R:mh=\E[=8F:nw=^M^J:sf=^J:ta=^I:
-
-# Description of BSD/OS console emulator in version 1.1, 2.0, 2.1
-# Note, the emulator supports many of the additional console features
-# listed in the iBCS2 (e.g. character-set selection) though not all
-# are described here.  This entry really ought to be upgraded.
-# Also note, the console will also work with fewer lines after doing
-# "stty rows NN", e.g. to use 24 lines.
-# (Color support from Kevin Rosenberg <kevin@cyberport.com>, 2 May 1996) 
-# Bug: The <op> capability resets attributes.
-bsdos-pc-nobold|BSD/OS PC console w/o bold:\
-	:am:eo:km:xo:\
-	:Co#8:NC#3:co#80:it#8:li#25:pa#64:\
-	:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:\
-	:LE=\E[%dD:RI=\E[%dC:S2=\E[11m:S3=\E[10m:UP=\E[%dA:\
-	:ac=`\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:\
-	:ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:cd=\E[J:ce=\E[K:cl=\Ec:\
-	:cm=\E[%i%d;%dH:cr=^M:dl=\E[M:do=^J:ho=\E[H:kH=\E[F:\
-	:kI=\E[L:kN=\E[G:kP=\E[I:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
-	:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[0;10m:\
-	:mk=\E[8m:mr=\E[7m:nd=\E[C:nw=^M^J:op=\E[37;40m:rc=\E8:\
-	:..sa=\E[0;10%?%p1%t;7%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m%?%p5%t\E[=8F%;:\
-	:sc=\E7:se=\E[m:sf=^J:so=\E[7m:ta=^I:ue=\E[m:up=\E[A:\
-	:us=\E[4m:
-bsdos-pc|IBM PC BSD/OS Console:\
-	:am:eo:km:xo:\
-	:Co#8:NC#3:co#80:it#8:li#25:pa#64:\
-	:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:\
-	:LE=\E[%dD:RI=\E[%dC:S2=\E[11m:S3=\E[10m:UP=\E[%dA:\
-	:ac=`\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:\
-	:ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:cd=\E[J:ce=\E[K:cl=\Ec:\
-	:cm=\E[%i%d;%dH:cr=^M:dl=\E[M:do=^J:ho=\E[H:kH=\E[F:\
-	:kI=\E[L:kN=\E[G:kP=\E[I:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
-	:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[0;10m:\
-	:mk=\E[8m:mr=\E[7m:nd=\E[C:nw=^M^J:op=\E[37;40m:rc=\E8:\
-	:..sa=\E[0;10%?%p1%t;7%;%?%p2%t;1%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m:\
-	:sc=\E7:se=\E[m:sf=^J:so=\E[7m:ta=^I:ue=\E[m:up=\E[A:\
-	:us=\E[4m:
-
-# Old names for BSD/OS PC console used in releases before 4.1. 
-pc3|BSD/OS on the PC Console:\
-	:am:eo:km:xo:\
-	:Co#8:NC#3:co#80:it#8:li#25:pa#64:\
-	:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:\
-	:LE=\E[%dD:RI=\E[%dC:S2=\E[11m:S3=\E[10m:UP=\E[%dA:\
-	:ac=`\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:\
-	:ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:cd=\E[J:ce=\E[K:cl=\Ec:\
-	:cm=\E[%i%d;%dH:cr=^M:dl=\E[M:do=^J:ho=\E[H:kH=\E[F:\
-	:kI=\E[L:kN=\E[G:kP=\E[I:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
-	:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[0;10m:\
-	:mk=\E[8m:mr=\E[7m:nd=\E[C:nw=^M^J:op=\E[37;40m:rc=\E8:\
-	:..sa=\E[0;10%?%p1%t;7%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m%?%p5%t\E[=8F%;:\
-	:sc=\E7:se=\E[m:sf=^J:so=\E[7m:ta=^I:ue=\E[m:up=\E[A:\
-	:us=\E[4m:
-ibmpc3|pc3-bold|BSD/OS on the PC Console with bold instead of underline:\
-	:am:eo:km:xo:\
-	:Co#8:NC#3:co#80:it#8:li#25:pa#64:\
-	:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:\
-	:LE=\E[%dD:RI=\E[%dC:S2=\E[11m:S3=\E[10m:UP=\E[%dA:\
-	:ac=`\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:\
-	:ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:cd=\E[J:ce=\E[K:cl=\Ec:\
-	:cm=\E[%i%d;%dH:cr=^M:dl=\E[M:do=^J:ho=\E[H:kH=\E[F:\
-	:kI=\E[L:kN=\E[G:kP=\E[I:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
-	:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[0;10m:\
-	:mk=\E[8m:mr=\E[7m:nd=\E[C:nw=^M^J:op=\E[37;40m:rc=\E8:\
-	:..sa=\E[0;10%?%p1%t;7%;%?%p2%t;1%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m:\
-	:sc=\E7:se=\E[m:sf=^J:so=\E[7m:ta=^I:ue=\E[m:up=\E[A:\
-	:us=\E[4m:
- 
-# BSD/OS on the SPARC 
-bsdos-sparc|Sun SPARC BSD/OS Console:\
-	:am:km:ms:\
-	:co#80:li#34:\
-	:%7=\E[194z:&5=\E[193z:&8=\E[195z:@7=\E[220z:AL=\E[%dL:\
-	:DC=\E[%dP:DL=\E[%dM:F1=\E[234z:F2=\E[235z:IC=\E[%d@:\
-	:K2=\E[218z:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=^L:\
-	:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=:ic=\E[@:im=:\
-	:k1=\E[224z:k2=\E[225z:k3=\E[226z:k4=\E[227z:k5=\E[228z:\
-	:k6=\E[229z:k7=\E[230z:k8=\E[231z:k9=\E[232z:k;=\E[233z:\
-	:kD=\177:kN=\E[222z:kP=\E[216z:kb=^H:kd=\E[B:kh=\E[214z:\
-	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:mr=\E[7m:nd=\E[C:\
-	:rs=\E[s:\
-	:..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m:\
-	:se=\E[m:sf=^J:so=\E[7m:ta=^I:u8=\E[1t:u9=\E[11t:up=\E[A:
-	 
-# BSD/OS on the PowerPC 
-bsdos-ppc|PowerPC BSD/OS Console:\
-	:am:eo:km:xo:\
-	:Co#8:NC#3:co#80:it#8:li#25:pa#64:\
-	:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:\
-	:LE=\E[%dD:RI=\E[%dC:S2=\E[11m:S3=\E[10m:UP=\E[%dA:\
-	:ac=`\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:\
-	:ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:cd=\E[J:ce=\E[K:cl=\Ec:\
-	:cm=\E[%i%d;%dH:cr=^M:dl=\E[M:do=^J:ho=\E[H:kH=\E[F:\
-	:kI=\E[L:kN=\E[G:kP=\E[I:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
-	:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[0;10m:\
-	:mk=\E[8m:mr=\E[7m:nd=\E[C:nw=^M^J:op=\E[37;40m:rc=\E8:\
-	:..sa=\E[0;10%?%p1%t;7%;%?%p2%t;1%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m:\
-	:sc=\E7:se=\E[m:sf=^J:so=\E[7m:ta=^I:ue=\E[m:up=\E[A:\
-	:us=\E[4m:
-
-#### DEC VT100 and compatibles
-#
-# DEC terminals from the vt100 forward are collected here. Older DEC terminals
-# and micro consoles can be found in the `obsolete' section.  More details on
-# the relationship between the VT100 and ANSI X3.64/ISO 6429/ECMA-48 may be
-# found near the end of this file.
-#
-# Except where noted, these entries are DEC's official terminfos.
-# Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
-# Engineering for more information.  Updated terminfos and termcaps 
-# 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.  SunRiver has since changed
-# its name to Boundless Technologies; see http://www.boundless.com.
-#
-
-# NOTE:  Any VT100 emulation, whether in hardware or software, almost
-# certainly includes what DEC called the `Level 1 editing extension' codes;
-# only the very oldest VT100s lacked these and there probably aren't any of
-# those left alive.  To capture these, use one of the VT102 entries.
-#
-# Note that the :xn: glitch in vt100 is not quite the same as on the Concept,
-# since the cursor is left in a different position while in the
-# weird state (concept at beginning of next line, vt100 at end
-# of this line) so all versions of vi before 3.7 don't handle
-# :xn: right on vt100. The correct way to handle :xn: is when
-# you output the char in column 80, immediately output CR LF
-# and then assume you are in column 1 of the next line. If :xn:
-# is on, am should be on too.
-# 
-# I assume you have smooth scroll off or are at a slow enough baud
-# rate that it doesn't matter (1200? or less). Also this assumes
-# that you set auto-nl to "on", if you set it off use vt100-nam 
-# below.
-# 
-# The padding requirements listed here are guesses. It is strongly
-# recommended that xon/xoff be enabled, as this is assumed here.
-# 
-# The vt100 uses <rs2> and <rf> rather than :is:/:ct:/:st: because the 
-# tab settings are in non-volatile memory and don't need to be 
-# reset upon login. Also setting the number of columns glitches 
-# the screen annoyingly. You can type "reset" to get them set.
-#
-# The VT100 series terminals have cursor ("arrows") keys which can operate
-# in two different modes: Cursor Mode and Application Mode.  Cursor Mode
-# is the reset state, and is assumed to be the normal state.  Application
-# Mode is the "set" state.  In Cursor Mode, the cursor keys transmit
-# "Esc [ {code}" sequences, conforming to ANSI standards.  In Application
-# Mode, the cursor keys transmit "Esc O <code>" sequences.  Application Mode
-# was provided primarily as an aid to the porting of VT52 applications.  It is
-# assumed that the cursor keys are normally in Cursor Mode, and expected that
-# applications such as vi will always transmit the :ks: string.  Therefore,
-# the definitions for the cursor keys are made to match what the terminal
-# transmits after the :ks: string is transmitted.  If the :ks: string
-# is a null string or is not defined, then cursor keys are assumed to be in
-# "Cursor Mode", and the cursor keys definitions should match that assumption,
-# else the appication may fail.  It is also expected that applications will
-# always transmit the :ke: string to the terminal before they exit.
-#
-# The VT100 series terminals have an auxilliary keypad, commonly referred to as
-# the "Numeric Keypad", because it is a cluster of numeric and function keys.
-# The Numeric Keypad which can operate in two different modes: Numeric Mode and
-# Application Mode.  Numeric Mode is the reset state, and is assumed to be
-# the normal state.  Application Mode is the "set" state.  In Numeric Mode,
-# the numeric and punctuation keys transmit ASCII 7-bit characters, and the 
-# Enter key transmits the same as the Return key (Note: the Return key
-# can be configured to send either LF (\015) or CR LF).  In Application Mode,
-# all the keypad keys transmit "Esc O {code}" sequences.  The PF1 - PF4 keys
-# always send the same "Esc O {code}" sequences.  It is assumed that the keypad
-# is normally in Numeric Mode.  If an application requires that the keypad be
-# in Application Mode then it is expected that the user, or the application,
-# will set the TERM environment variable to point to a terminfo entry which has
-# defined the :ks: string to include the codes that switch the keypad into
-# Application Mode, and the terminfo entry will also define function key
-# fields to match the Application Mode control codes.  If the :ks: string
-# is a null string or is not defined, then the keypad is assumed to be in
-# Numeric Mode.  If the :ks: string switches the keypad into Application
-# Mode, it is expected that the :ke: string will contain the control codes
-# necessary to reset the keypad to "Normal" mode, and it is also expected that
-# applications which transmit the :ks: string will also always transmit the
-# :ke: string to the terminal before they exit.
-#
-# Here's a diagram of the VT100 keypad keys with their bindings.
-# The top line is the name of the key (some DEC keyboards have the keys
-# labelled somewhat differently, like GOLD instead of PF1, but this is
-# the most "official" name).  The second line is the escape sequence it
-# generates in Application Keypad mode (where "$" means the ESC
-# character).  The third line contains two items, first the mapping of
-# the key in terminfo, and then in termcap.
-#   _______________________________________
-#  |   PF1   |   PF2   |   PF3   |   PF4   |
-#  |   $OP   |   $OQ   |   $OR   |   $OS   |
-#  |_kf1__k1_|_kf2__k2_|_kf3__k3_|_kf4__k4_|
-#  |    7         8         9         -    |
-#  |   $Ow   |   $Ox   |   $Oy   |   $Om   |
-#  |_kf9__k9_|_kf10_k;_|_kf0__k0_|_________|
-#  |    4    |    5    |    6    |    ,    |
-#  |   $Ot   |   $Ou   |   $Ov   |   $Ol   |
-#  |_kf5__k5_|_kf6__k6_|_kf7__k7_|_kf8__k8_|
-#  |    1    |    2    |    3    |         |
-#  |   $Oq   |   $Or   |   $Os   |  enter  |
-#  |_ka1__K1_|_kb2__K2_|_ka3__K3_|  $OM    |
-#  |         0         |   .     |         |
-#  |        $Op        |  $On    |         |
-#  |___kc1_______K4____|_kc3__K5_|_kent_@8_|
-#
-# And here, for those of you with orphaned VT100s lacking documentation, is
-# a description of the soft switches invoked when you do `Set Up'.
-# 
-#  Scroll 0-Jump               Shifted 3   0-#
-#  |      1-Smooth             |           1-British pound sign
-#  | Autorepeat 0-Off          | Wrap Around 0-Off
-#  | |          1-On           | |           1-On
-#  | | Screen 0-Dark Bkg       | | New Line 0-Off
-#  | | |      1-Light Bkg      | | |        1-On
-#  | | | Cursor 0-Underline    | | | Interlace 0-Off
-#  | | | |      1-Block        | | | |         1-On
-#  | | | |                     | | | |
-#  1 1 0 1       1 1 1 1       0 1 0 0       0 0 1 0       <--Standard Settings
-#                | | | |                     | | | |
-#                | | | Auto XON/XOFF 0-Off   | | | Power 0-60 Hz
-#                | | |               1-On    | | |       1-50 Hz
-#                | | Ansi/VT52 0-VT52        | | Bits Per Char. 0-7 Bits
-#                | |           1-ANSI        | |                1-8 Bits
-#                | Keyclick 0-Off            | Parity 0-Off
-#                |          1-On             |        1-On
-#                Margin Bell 0-Off           Parity Sense 0-Odd
-#                            1-On                         1-Even
-#
-# The following SET-UP modes are assumed for normal operation:
-#	ANSI_MODE	AUTO_XON/XOFF_ON	NEWLINE_OFF	80_COLUMNS
-#	WRAP_AROUND_ON  JUMP_SCROLL_OFF
-# Other SET-UP modes may be set for operator convenience or communication
-# requirements; I recommend
-#	AUTOREPEAT_ON	BLOCK_CURSOR	MARGIN_BELL_OFF    SHIFTED_3_#
-# Unless you have a graphics add-on such as Digital Engineering's VT640
-# (and even then, whenever it can be arranged!) you should set
-#	INTERLACE_OFF
-#
-# (vt100: I added <rmam>/<smam> based on the init string, also :bs:. -- esr)
-vt100|vt100-am|dec vt100 (w/advanced video):\
-	:am:bs:ms:xn:xo:\
-	:co#80:it#8:li#24:vt#3:\
-	:@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
-	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
-	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:do=^J:\
-	:eA=\E(B\E)0:ho=\E[H:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:\
-	:k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:\
-	:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[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\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
-	:up=\E[A:us=\E[4m:
-vt100-vb|dec vt100 (w/advanced video) & no beep:\
-	:am:bs:ms:xn:xo:\
-	:co#80:it#8:li#24:vt#3:\
-	:@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
-	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:as=^N:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
-	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:do=^J:\
-	:eA=\E(B\E)0:ho=\E[H:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:\
-	:k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:\
-	:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
-	:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:\
-	:nd=\E[C:rc=\E8:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
-	:..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
-	:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
-	:up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:
-
-# Ordinary vt100 in 132 column ("wide") mode.
-vt100-w|vt100-w-am|dec vt100 132 cols (w/advanced video):\
-	:am:bs:ms:xn:xo:\
-	:co#132:it#8:li#24:vt#3:\
-	:@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp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:rc=\E8:\
-	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:sc=\E7:se=\E[m:\
-	:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:up=\E[A:
-vt100-nav-w|vt100-w-nav|dec vt100 132 cols 14 lines (no advanced video option):\
-	:am:bs:ms:xn:xo:\
-	:co#132:it#8:li#14:sg#1:vt#3:\
-	:@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
-	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
-	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:do=^J:\
-	:eA=\E(B\E)0:ho=\E[H:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:\
-	:k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:\
-	:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
-	:ku=\EOA:le=^H:nd=\E[C:rc=\E8:\
-	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:sc=\E7:se=\E[m:\
-	:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:up=\E[A:
-
-# vt100 with one of the 24 lines used as a status line.
-# We put the status line on the top.
-vt100-s|vt100-s-top|vt100-top-s|vt100 for use with top sysline:\
-	:am:bs:es:hs:ms:xn:xo:\
-	:co#80:it#8:li#23:vt#3:\
-	:@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
-	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[2;1H\E[J:\
-	:cm=\E[%i%+^A;%dH:cr=^M:cs=\E[%i%i%d;%dr:ct=\E[3g:do=^J:\
-	:ds=\E7\E[1;24r\E8:eA=\E(B\E)0:fs=\E8:ho=\E[2;1H:\
-	:is=\E7\E[2;24r\E8:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:\
-	:k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:\
-	:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
-	:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:\
-	:nd=\E[C:rc=\E8:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
-	:..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
-	:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
-	:ts=\E7\E[1;%dH\E[1K:ue=\E[m:up=\E[A:us=\E[4m:
-
-# Status line at bottom. 
-# Clearing the screen will clobber status line.
-vt100-s-bot|vt100-bot-s|vt100 for use with bottom sysline:\
-	:am:bs:es:hs:ms:xn:xo:\
-	:co#80:it#8:li#23:vt#3:\
-	:@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
-	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
-	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:do=^J:\
-	:ds=\E7\E[1;24r\E8:eA=\E(B\E)0:fs=\E8:ho=\E[H:\
-	:is=\E[1;23r\E[23;1H:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:\
-	:k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:\
-	:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
-	:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:\
-	:nd=\E[C:rc=\E8:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
-	:..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
-	:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
-	:ts=\E7\E[24;%dH\E[1K:ue=\E[m:up=\E[A:us=\E[4m:
-
-# Most of the `vt100' emulators out there actually emulate a vt102
-# This entry (or vt102-nsgr) is probably the right thing to use for
-# these.  
-vt102|dec vt102:\
-	:am:bs:mi:ms:xn:xo:\
-	:co#80:it#8:li#24:vt#3:\
-	:@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
-	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
-	:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:eA=\E(B\E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E[?1h\E=:\
-	:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:\
-	:nd=\E[C:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
-	:r3=\E[?3h:rc=\E8:\
-	:..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
-	:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
-	:up=\E[A:us=\E[4m:
-
-# Many brain-dead PC comm programs that pretend to be `vt100-compatible'
-# fail to interpret the ^O and ^N escapes properly.  Symptom: the :me:
-# string in the canonical vt100 entry above leaves the screen littered
-# with little  snowflake or star characters (IBM PC ROM character \017 = ^O)
-# after highlight turnoffs.  This entry should fix that, and even leave
-# ACS support working, at the cost of making multiple-highlight changes 
-# slightly more expensive.
-# From: Eric S. Raymond <esr@snark.thyrsus.com> July 22 1995
-vt102-nsgr|vt102 no sgr (use if you see snowflakes after highlight changes):\
-	:am:bs:mi:ms:xn:xo:\
-	:co#80:it#8:li#24:vt#3:\
-	:@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
-	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
-	:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:eA=\E(B\E)0:ei=\E[4l:\
-	:ho=\E[H:im=\E[4h:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
-	:k5=\EOt:k6=\EOu:k7=\EOv:k8=\E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\017%;:\
-	:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
-	:up=\E[A:us=\E[4m:
-
-# This isn't a DEC entry, it came from University of Wisconsin.
-# (vt131: I added <rmam>/<smam> based on the init string, also :bs: -- esr)
-vt131|dec vt131:\
-	:am:bs:xn:\
-	:co#80:it#8:li#24:vt#3:\
-	:RA=\E[?7h:SA=\E[?7h:bl=^G:cd=50\E[J:ce=3\E[K:\
-	:cl=50\E[;H\E[2J:cm=5\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
-	:do=^J:ho=\E[H:is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:\
-	:k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
-	:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=2\E[5m:md=2\E[1m:\
-	:me=2\E[m:mr=2\E[7m:nd=2\E[C:nw=^M^J:\
-	:r1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:sc=\E7:\
-	:se=2\E[m:so=2\E[7m:sr=5\EM:ta=^I:ue=2\E[m:up=2\E[A:\
-	:us=2\E[4m:
-
-# vt132 - like vt100 but slower and has ins/del line and such.
-# I'm told that :im:/:ei: are backwards in the terminal from the
-# manual and from the ANSI standard, this describes the actual 
-# terminal. I've never actually used a vt132 myself, so this 
-# is untested.
-#
-vt132|DEC vt132:\
-	:am:bs:ms:xn:xo:\
-	:co#80:it#8:li#24:vt#3:\
-	:@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
-	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
-	:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:eA=\E(B\E)0:ei=\E[4h:\
-	:ho=\E[H:im=\E[4l:ip=:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:\
-	:k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:\
-	:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
-	:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:\
-	:nd=\E[C:rc=\E8:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
-	:..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
-	:sc=\E7:se=\E[m:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
-	:up=\E[A:us=\E[4m:
-
-# This vt220 description maps F5--F9 to the second block of function keys
-# at the top of the keyboard.  The "DO" key is used as F10 to avoid conflict
-# with the key marked (ESC) on the vt220.  See vt220d for an alternate mapping.
-# PF1--PF4 are used as F1--F4.
-#
-vt220-old|vt200-old|DEC VT220 in vt100 emulation mode:\
-	:am:bs:mi:pt:xn:xo:\
-	:co#80:li#24:vt#3:\
-	:@7=\E[4~:RA=\E[?7l:SA=\E[?7h:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:\
-	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
-	:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
-	:if=/usr/share/tabset/vt100:im=\E[4h:\
-	:is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
-	:k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:k9=\E[21~:\
-	:k;=\E[29~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:\
-	:kd=\E[B:kh=\E[1~:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
-	:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nl=^J:rc=\E8:\
-	:rf=/usr/share/tabset/vt100:\
-	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
-	:..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;:\
-	:sc=\E7:se=\E[27m:sf=20\ED:so=\E[7m:sr=14\EM:ta=^I:\
-	:ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[?25h:vi=\E[?25l:
-
-# A much better description of the VT200/220; used to be vt220-8
-vt220|vt200|dec vt220:\
-	:5i:am:bs:mi:ms:xn:xo:\
-	:co#80:it#8:li#24:vt#3:\
-	:%0=\E[29~:%1=\E[28~:*6=\E[4~:@0=\E[1~:AL=\E[%dL:\
-	:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:\
-	:F3=\E[25~:F4=\E[26~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
-	:FA=\E[34~:IC=\E[%d@:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:\
-	:SA=\E[?7h:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
-	:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:eA=\E)0:ec=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=/usr/share/tabset/vt100:im=\E[4h:\
-	:is=\E[?7h\E[>\E[?1h\E F\E[?4l:k1=\EOP:k2=\EOQ:k3=\EOR:\
-	:k4=\EOS:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
-	:k;=\E[21~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:\
-	:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:l1=pf1:l2=pf2:l3=pf3:\
-	:l4=pf4:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
-	:nw=\EE:pf=\E[4i:po=\E[5i:ps=\E[i:r1=\E[?3l:r3=\E[?3h:\
-	:rc=\E8:sc=\E7:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:\
-	:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:
-vt220-8bit|vt220-8|vt200-8bit|vt200-8|dec vt220/200 in 8-bit mode:\
-	:5i:am:bs:mi:ms:xn:xo:\
-	:co#80:it#8:li#24:vt#3:\
-	:%0=\23329~:%1=\23328~:*6=\2334~:@0=\2331~:AL=\233%dL:\
-	:DC=\233%dP:DL=\233%dM:DO=\233%dB:F1=\23323~:F2=\23324~:\
-	:F3=\23325~:F4=\23326~:F7=\23331~:F8=\23332~:F9=\23333~:\
-	:FA=\23334~:IC=\233%d@:LE=\233%dD:RA=\233?7l:RI=\233%dC:\
-	:SA=\233?7h:UP=\233%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\233L:as=^N:bl=^G:cb=\2331K:cd=\233J:ce=\233K:\
-	:cl=\233H\233J:cm=\233%i%d;%dH:cr=^M:cs=\233%i%d;%dr:\
-	:ct=\2333g:dc=\233P:dl=\233M:do=^J:eA=\E)0:ec=\233%dX:\
-	:ei=\2334l:ho=\233H:if=/usr/share/tabset/vt100:\
-	:im=\2334h:is=\233?7h\233>\233?1h\E F\233?4l:k1=\EOP:\
-	:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\23317~:k7=\23318~:k8=\23319~:\
-	:k9=\23320~:k;=\23321~:kI=\2332~:kN=\2336~:kP=\2335~:\
-	:kb=^H:kd=\233B:kh=\233H:kl=\233D:kr=\233C:ku=\233A:l1=pf1:\
-	:l2=pf2:l3=pf3:l4=pf4:le=^H:mb=\2335m:md=\2331m:me=\233m:\
-	:mr=\2337m:nd=\233C:nw=\EE:pf=\2334i:po=\2335i:ps=\233i:\
-	:r1=\233?3l:rc=\E8:sc=\E7:se=\23327m:sf=\ED:so=\2337m:\
-	:sr=\EM:st=\EH:ta=^I:ue=\23324m:up=\233A:us=\2334m:\
-	:vb=\233?5h\233?5l:
-
-#
-# vt220d:
-# This vt220 description regards F6--F10 as the second block of function keys
-# at the top of the keyboard.  This mapping follows the description given
-# in the VT220 Programmer Reference Manual and agrees with the labeling
-# on some terminals that emulate the vt220.  There is no support for an F5.
-# See vt220 for an alternate mapping. 
-#
-vt220d|DEC VT220 in vt100 mode with DEC function key labeling:\
-	:am:bs:mi:pt:xn:xo:\
-	:co#80:li#24:vt#3:\
-	:@7=\E[4~:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
-	:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
-	:FA=\E[34~:RA=\E[?7l:SA=\E[?7h:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:\
-	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
-	:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
-	:if=/usr/share/tabset/vt100:im=\E[4h:\
-	:is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
-	:k6=\E[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\E[>\E[?1h\E F\E[?4l:k1=\EOP:k2=\EOQ:k3=\EOR:\
-	:k4=\EOS:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
-	:k;=\E[21~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:\
-	:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:l1=pf1:l2=pf2:l3=pf3:\
-	:l4=pf4:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
-	:nw=\EE:pf=\E[4i:po=\E[5i:ps=\E[i:r1=\E[?3l:\
-	:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h:rc=\E8:sc=\E7:\
-	:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[24m:\
-	:up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:
-
-# 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
-# (Added vt100 :rc:,:sc: to quiet a tic warning -- esr)
-vt200-js|vt220-js|dec vt200 series with jump scroll:\
+	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mh=\E[2m:mr=\E[7m:nd=\E[C:\
+	:nw=^M^J:r1=\Ec\E]R:rc=\E8:sc=\E7:se=\E[27m:sf=^J:sr=\EM:\
+	:st=\EH:ta=^I:u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?6c:u9=\E[c:\
+	:ue=\E[24m:up=\E[A:us=\E[4m:vb=200\E[?5h\E[?5l:\
+	:ve=\E[?25h\E[?0c:vi=\E[?25l\E[?1c:vs=\E[?25h\E[?8c:\
+	:tc=klone+sgr:tc=ecma+color:
+linux-m|Linux console no color:\
+	:Co@:pa@:\
+	:AB@:AF@:Sb@:Sf@:tc=linux:
+linux-c-nc|linux console 1.3.x hack for ncurses only:\
+	:cc:\
+	:..Ic=\E]P%p1%x%p2%{255}%*%{1000}%/%02x%p3%{255}%*%{1000}%/%02x%p4%{255}%*%{1000}%/%02x:\
+	:oc=\E]R:tc=linux:
+# From: Dennis Henriksen <opus@osrl.dk>, 9 July 1996
+linux-c|linux console 1.3.6+ with private palette for each virtual console:\
+	:cc:\
+	:Co#8:pa#64:\
+	:..Ic=\E]P%?%p1%{9}%>%t%p1%{10}%-%'a'%+%c%e%p1%d%;%p2%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%p3%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%p4%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;:\
+	:oc=\E]R:tc=linux:
+
+# See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
+linux-nic|linux with ich/ich1 suppressed for non-curses programs:\
+	:IC@:ei=:ic@:im=:tc=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:\
+	:ac=+\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:\
+	:tc=linux:tc=klone+koi8acs:
+
+# Another entry for KOI8-r with Qing Long's acsc.
+# (which one better complies with the standard?)
+linux-koi8r|linux with koi8-r alternate character set:\
+	:tc=linux:tc=klone+koi8acs:
+
+# Entry for the latin1 and latin2 fonts
+linux-lat|linux with latin1 or latin2 alternate character set:\
+	:ac=+\020,\021-\030.^Y0\333`\004a\013f\370g\361h\260i\316j\211k\214l\206m\203n\305o~p\304q\212r\304s_t\207u\215v\301w\302x\205y\363z\362{\343|\330}\234~\376:\
+	:tc=linux:
+
+#### Mach
+#
+
+# From: Matthew Vernon <mcv21@pick.sel.cam.ac.uk>
+mach|Mach Console:\
+	:am:km:\
+	:co#80:it#8:li#25:\
+	:@7=\E[Y:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
+	:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\Ec:\
+	:cm=\E[%i%d;%dH:cr=^M:dl=\E[M:do=^J:ho=\E[H:k1=\EOP:\
+	:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:\
+	:k9=\EOX:k;=\EOY:kD=\E[9:kH=\E[F:kI=\E[@:kN=\E[U:kP=\E[V:\
+	:kb=\177:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
+	:mb=\E[5m:md=\E[1m:me=\E[0m:mr=\E[7m:nd=\E[C:se=\E[0m:\
+	:sf=^J:so=\E[7m:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:
+mach-bold|Mach Console with bold instead of underline:\
+	:ue=\E[0m:us=\E[1m:tc=mach:
+mach-color|Mach Console with ANSI color:\
+	:Co#8:pa#64:\
+	:AB=\E[4%dm:AF=\E[3%dm:mh=\E[2m:mk=\E[8m:op=\E[37;40m:\
+	:se=\E[27m:tc=mach:
+
+#### OSF Unix
+#
+
+# OSF/1 1.1 Snapshot 2
+pmcons|pmconsole|PMAX console:\
 	:am:\
-	:co#80:\
-	:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
-	:cr=^M:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:dm=:do=^J:ed=:\
-	:ei=\E[4l:ho=\E[H:im=\E[4h:\
-	:is=\E[61"p\E[H\E[?3l\E[?4l\E[?1l\E[?5l\E[?6l\E[?7h\E[?8h\E[?25h\E>\E[m:\
-	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:\
-	:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
-	:nw=^M\ED:r1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
-	:rf=/usr/lib/tabset/vt100:sc=\E7:se=5\E[27m:sf=\ED:\
-	:so=5\E[7m:sr=\EM:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:
- 
-
-# This was DEC's vt320.  Use the purpose-built one below instead 
-#vt320|DEC VT320 in vt100 emulation mode,
-#	use=vt220,
-
-#
-# Use v320n for SCO's LYRIX.  Otherwise, use Adam Thompson's vt320-nam.
-#
-vt320nam|v320n|DEC VT320 in vt100 emul. mode with NO AUTO WRAP mode:\
-	:5i:bs:mi:ms:xn:xo:\
-	:co#80:it#8:li#24:vt#3:\
-	:%0=\E[29~:%1=\E[28~:*6=\E[4~:@0=\E[1~:AL=\E[%dL:\
-	:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:\
-	:F3=\E[25~:F4=\E[26~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
-	:FA=\E[34~:IC=\E[%d@:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:\
-	:SA=\E[?7h:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
-	:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:eA=\E)0:ec=\E[%dX:ei=\E[4l:\
-	:ho=\E[H:if=/usr/share/tabset/vt100:im=\E[4h:\
-	:is=\E[?7h\E[>\E[?1h\E F\E[?4l:k1=\EOP:k2=\EOQ:k3=\EOR:\
-	:k4=\EOS:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
-	:k;=\E[21~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:\
-	:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:l1=pf1:l2=pf2:l3=pf3:\
-	:l4=pf4:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
-	:nw=\EE:pf=\E[4i:po=\E[5i:ps=\E[i:r1=\E[?3l:\
-	:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h:rc=\E8:sc=\E7:\
-	:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[24m:\
-	:up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:
-
-# These entries are not DEC's official ones, they were purpose-built for the 
-# VT320.  Here are the designer's notes:
-# <kel> is end on a PC kbd.  Actually 'select' on a VT.  Mapped to 
-# 'Erase to End of Field'... since nothing seems to use 'end' anyways...
-# khome is Home on a PC kbd.  Actually 'FIND' on a VT.
-# Things that use <knxt> usually use tab anyways... and things that don't use
-# tab usually use <knxt> instead...
-# kprv is same as tab - Backtab is useless...
-# I left out :sa: because of its RIDICULOUS complexity,
-# and the resulting fact that it causes the termcap translation of the entry
-# to SMASH the 1k-barrier...
-# From: Adam Thompson <athompso@pangea.ca> Sept 10 1995
-# (vt320: uncommented :fs:, comnmmented out <kslt> to avoid a conflict --esr) 
-vt320|vt300|dec vt320 7 bit terminal:\
-	:am:es:hs:mi:ms:xn:\
-	:co#80:li#24:ws#80:\
-	:%5=^I:%8=\E[Z:@8=\EOM:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
-	:DO=\E[%dB:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
-	:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
-	:FA=\E[34~:IC=\E[%d@:K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:\
-	:K5=\EOs:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
-	:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=\E(B:al=\E[L:as=\E(0:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
-	:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:ei=\E[4l:\
-	:fs=\E[0$}:ho=\E[H:im=\E[4h:\
-	:is=\E>\E[?3l\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
-	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
-	:k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\E[3~:kE=\E[4~:kI=\E[2~:\
-	:kN=\E[6~:kP=\E[5~:kb=\177:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:\
-	:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:\
-	:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=\EE:pf=\E[?4i:\
-	:po=\E[?5i:ps=\E[i:rc=\E8:rf=/usr/share/tabset/vt300:\
-	:rs=\E>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dl=\E[M:do=^J:ec=\E[%dX:ei=\E[4l:\
-	:fs=\E[0$}:ho=\E[H:im=\E[4h:\
-	:is=\E>\E[?3h\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H:\
-	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
-	:k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\E[3~:kE=\E[4~:kI=\E[2~:\
-	:kN=\E[6~:kP=\E[5~:kb=\177:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:\
-	:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:\
-	:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=\EE:pf=\E[?4i:\
-	:po=\E[?5i:ps=\E[i:rc=\E8:rf=/usr/share/tabset/vt300:\
-	:rs=\E>\E[?3h\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H:\
-	:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
-	:ts=\E[1$}\E[H\E[K:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[?25h:\
-	:vi=\E[?25l:
-
-# VT330 and VT340 -- These are ReGIS and SIXEL graphics terminals
-#   which are pretty much a superset of the VT320.  They have the
-#   host writable status line, yet another different DRCS matrix size,
-#   and such, but they add the DEC Technical character set, Multiple text
-#   pages, selectable length pages, and the like.  The difference between
-#   the vt330 and vt340 is that the latter has only 2 planes and a monochrome
-#   monitor, the former has 4 planes and a color monitor.  These terminals
-#   support VT131 and ANSI block mode, but as with much of these things,
-#   termcap/terminfo doesn't deal with these features.
-#
-# Note that this entry is are set up in what was the standard way for GNU
-# Emacs v18 terminal modes to deal with the cursor keys in that the arrow
-# keys were switched into application mode at the same time the numeric pad
-# is switched into application mode.  This changes the definitions of the
-# arrow keys.  Emacs v19 is smarter and mines its keys directly out of 
-# your termcap or terminfo entry,
-#
-# From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
-# (vt340: string capability "sb=\E[M" corrected to "sr";
-# also, added <rmam>/<smam> based on the init string -- esr)
-vt340|dec-vt340|vt330|dec-vt330|dec vt340 graphics terminal with 24 line page:\
-	:am:es:hs:mi:ms:xn:xo:\
-	:co#80:it#8:li#24:vt#3:\
-	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
-	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
-	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
-	:dl=\E[M:do=^J:ds=\E[2$~\r\E[1$}\E[K\E[$}:ei=\E[4l:\
-	:fs=\E[$}:ho=\E[H:im=\E[4h:\
-	:is=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
-	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
-	:k8=\E[19~:k9=\E[20~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
-	:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l1=pf1:l2=pf2:l3=pf3:l4=pf4:\
-	:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=^M\ED:\
-	:r1=\E[?3l:rc=\E8:rf=/usr/share/tabset/vt300:sc=\E7:\
-	:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
-	:ts=\E[2$~\E[1$}\E[1;%dH:ue=\E[24m:up=\E[A:us=\E[4m:\
-	:vb=200\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
-
-# DEC doesn't supply a vt400 description, so we add Daniel Glasser's
-# (originally written with vt420 as its primary name, and usable for it).
-# 
-# VT400/420 -- This terminal is a superset of the vt320.  It adds the multiple 
-#    text pages and long text pages with selectable length of the vt340, along
-#    with left and right margins, rectangular area text copy, fill, and erase
-#    operations, selected region character attribute change operations,
-#    page memory and rectangle checksums, insert/delete column, reception
-#    macros, and other features too numerous to remember right now.  TERMCAP
-#    can only take advantage of a few of these added features.
-#
-# Note that this entry is are set up in what was the standard way for GNU
-# Emacs v18 terminal modes to deal with the cursor keys in that the arrow
-# keys were switched into application mode at the same time the numeric pad
-# is switched into application mode.  This changes the definitions of the
-# arrow keys.  Emacs v19 is smarter and mines its keys directly out of 
-# your termcap entry,
-#
-# From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
-# (vt400: string capability ":sb=\E[M:" corrected to ":sr=\E[M:";
-# also, added <rmam>/<smam> based on the init string -- esr)
-vt400|vt400-24|dec-vt400|dec vt400 24x80 column autowrap:\
-	:am:es:hs:mi:ms:xn:xo:\
-	:co#80:it#8:li#24:vt#3:\
-	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
-	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:cd=10\E[J:ce=4\E[K:cl=10\E[H\E[J:\
-	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
-	:dl=\E[M:do=^J:ds=\E[2$~\r\E[1$}\E[K\E[$}:ei=\E[4l:\
-	:fs=\E[$}:ho=\E[H:ic=\E[@:im=\E[4h:\
-	:is=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
-	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
-	:k8=\E[19~:k9=\E[20~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
-	:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l1=pf1:l2=pf2:l3=pf3:l4=pf4:\
-	:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=^M\ED:\
-	:r1=\E<\E[?3l\E[!p\E[?7h:rc=\E8:\
-	:rf=/usr/share/tabset/vt300:sc=\E7:se=\E[27m:sf=\ED:\
-	:so=\E[7m:sr=\EM:st=\EH:ta=^I:ts=\E[2$~\E[1$}\E[1;%dH:\
-	:ue=\E[24m:up=\E[A:us=\E[4m:vb=200\E[?5h\E[?5l:\
-	:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
-
-# (vt420: I removed :k0:, it collided with <kf10>.  I also restored
-# a missing :sc: -- esr)
-vt420|DEC VT420:\
-	:am:mi:xn:xo:\
-	:co#80:li#24:vt#3:\
-	:*6=\E[4~:@0=\E[1~:RA=\E[?7l:\
-	:S5=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
-	:SA=\E[?7h:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:\
-	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
-	:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
-	:i2=\E[?67h\E[64;1"p:if=/usr/share/tabset/vt300:\
-	:im=\E[4h:is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:\
-	:k4=\EOS:k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:\
-	:k9=\E[21~:k;=\E[29~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
-	:kb=^H:kd=\E[B:ke=\E>:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=^H:\
-	:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
-	:r3=\E[?67h\E[64;1"p:rc=\E8:rf=/usr/share/tabset/vt300:\
-	:..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;:\
-	:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:\
-	:up=\E[A:us=\E[4m:
-
-#
-# 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;
-#               else if (key < 27) then value = key + 3;
-#               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:\
-	:am:mi:xn:xo:\
-	:co#80:li#24:vt#3:\
-	:*6=\E[4~:@0=\E[1~:@7=\E[4~:F1=\E[23~:F2=\E[24~:\
-	:F3=\E[11;2~:F4=\E[12;2~:F5=\E[13;2~:F6=\E[14;2~:\
-	:F7=\E[15;2~:F8=\E[17;2~:F9=\E[18;2~:FA=\E[19;2~:\
-	:FB=\E[20;2~:FC=\E[21;2~:FD=\E[23;2~:FE=\E[24;2~:\
-	:FF=\E[23~:FG=\E[24~:FH=\E[25~:FI=\E[26~:FJ=\E[28~:\
-	:FK=\E[29~:FL=\E[31~:FM=\E[32~:FN=\E[33~:FO=\E[34~:\
-	:FP=\E[35~:FQ=\E[36~:FR=\E[23;2~:FS=\E[24;2~:FT=\E[25;2~:\
-	:FU=\E[26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%{21}%p1%>%t%{1}%e%{25}%p1%>%t%{2}%e%{27}%p1%>%t%{3}%e%{30}%p1%>%t%{4}%e%{5}%;%p1%+%d/%p2%s\E\\:\
-	:r3=\E[?67h\E[64;1"p:rc=\E8:rf=/usr/share/tabset/vt300:\
-	:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:\
-	:up=\E[A:us=\E[4m:
-
-# VT520/VT525
-#
-# The VT520 is a monochrome text terminal capable of managing up to
-# four independent sessions in the terminal.  It has multiple ANSI
-# emulations (VT520, VT420, VT320, VT220, VT100, VT PCTerm, SCO Console)
-# and ASCII emulations (WY160/60, PCTerm, 50/50+, 150/120, TVI 950,
-# 925 910+, ADDS A2).  This terminfo data is for the ANSI emulations only.
-#
-# Terminal Set-Up is entered by pressing [F3], [Caps Lock]/[F3] or
-# [Alt]/[Print Screen] depending upon which keyboard and which
-# terminal mode is being used.  If Set-Up has been disabled or
-# assigned to an unknown key, Set-Up may be entered by pressing
-# [F3] as the first key after power up, regardless of keyboard type.
-# (vt520: I added <rmam>/<smam> based on the init string, also :sc: -- esr)
-vt520|DEC VT520:\
-	:am:mi:xn:xo:\
-	:co#80:li#24:vt#3:\
-	:*6=\E[4~:@0=\E[1~:RA=\E[?7l:\
-	:S5=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
-	:SA=\E[?7h:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:\
-	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
-	:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
-	:i2=\E[?67h\E[64;1"p:if=/usr/share/tabset/vt300:\
-	:im=\E[4h:is=\E[1;24r\E[24;1H:k0=\E[29~:k1=\EOP:k2=\EOQ:\
-	:k3=\EOR:k4=\EOS:k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:\
-	:k9=\E[21~:k;=\E[29~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
-	:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
-	:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
-	:..px=\EP1;1|%?%{16}%p1%>%t%{0}%e%{21}%p1%>%t%{1}%e%{25}%p1%>%t%{2}%e%{27}%p1%>%t%{3}%e%{30}%p1%>%t%{4}%e%{5}%;%p1%+%d/%p2%s\E\\:\
-	:r3=\E[?67h\E[64;1"p:rc=\E8:rf=/usr/share/tabset/vt300:\
-	:..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;:\
-	:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:\
-	:up=\E[A:us=\E[4m:
-
-# (vt525: I added <rmam>/<smam> based on the init string;
-# removed :se:=\E[m, :ue:=\E[m, added :sc: -- esr)
-vt525|DEC VT525:\
-	:am:mi:xn:xo:\
-	:co#80:li#24:vt#3:\
-	:*6=\E[4~:@0=\E[1~:RA=\E[?7l:\
-	:S5=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
-	:SA=\E[?7h:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:\
-	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
-	:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
-	:i2=\E[?67h\E[64;1"p:if=/usr/share/tabset/vt300:\
-	:im=\E[4h:is=\E[1;24r\E[24;1H:k0=\E[29~:k1=\EOP:k2=\EOQ:\
-	:k3=\EOR:k4=\EOS:k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:\
-	:k9=\E[21~:k;=\E[29~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
-	:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
-	:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
-	:..px=\EP1;1|%?%{16}%p1%>%t%{0}%e%{21}%p1%>%t%{1}%e%{25}%p1%>%t%{2}%e%{27}%p1%>%t%{3}%e%{30}%p1%>%t%{4}%e%{5}%;%p1%+%d/%p2%s\E\\:\
-	:r3=\E[?67h\E[64;1"p:rc=\E8:rf=/usr/share/tabset/vt300:\
-	:..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;:\
-	:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:\
-	:up=\E[A:us=\E[4m:
-
-#### VT100 emulations
-#
-
-# John Hawkinson <jhawk@MIT.EDU> tells us that the EWAN telnet for Windows
-# (the best Windows telnet as of September 1995) presents the name `dec-vt100'
-# to telnetd.   Michael Deutschmann <ldeutsch@mail.netshop.net> informs us
-# that this works best with a stock vt100 entry.
-dec-vt100|EWAN telnet's vt100 emulation:\
-	:am:bs:ms:xn:xo:\
-	:co#80:it#8:li#24:vt#3:\
-	:@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
-	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
-	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%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dX:ei=\E[4l:\
-	:ho=\E[H:if=/usr/share/tabset/vt100:im=\E[4h:\
-	:is=\E[?7h\E[>\E[?1h\E F\E[?4l:k1=\EOP:k2=\EOQ:k3=\EOR:\
-	:k4=\EOS:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
-	:k;=\E[21~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:\
-	:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:l1=pf1:l2=pf2:l3=pf3:\
-	:l4=pf4:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
-	:nw=\EE:pf=\E[4i:po=\E[5i:ps=\E[i:r1=\E[?3l:rc=\E8:sc=\E7:\
-	:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[24m:\
-	:up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:
-
-# Zstem340 is an (IMHO) excellent VT emulator for PC's.  I recommend it to
-# anyone who needs PC VT340 emulation. (or anything below that level, for
-# that matter -- DEC's ALL-in-1 seems happy with it, as does INFOPLUS's
-# RDBM systems, it includes ReGIS and SiXel support!  I'm impressed...
-# I can send the address if requested.
-# (z340: changed garbled \E[5?l to \E[?5l, DEC smooth scroll off -- esr)
-# From: Adam Thompson <athompso@pangea.ca> Sept 10 1995
-z340|zstem vt340 terminal emulator 132col 42line:\
-	:am:es:hs:mi:ms:xn:\
-	:co#132:li#42:ws#132:\
-	:%5=^I:%8=\E[Z:@8=\EOM:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
-	:DO=\E[%dB:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
-	:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
-	:FA=\E[34~:IC=\E[%d@:K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:\
-	:K5=\EOs:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC: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5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
-	:FA=\E[34~:IC=\E[%d@:K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:\
-	:K5=\EOs:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
-	:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=\E(B:al=\E[L:as=\E(0:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
-	:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:ei=\E[4l:\
-	:fs=\E[0$}:ho=\E[H:im=\E[4h:\
-	:is=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H:\
-	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
-	:k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\E[3~:kE=\E[4~:kI=\E[2~:\
-	:kN=\E[6~:kP=\E[5~:kb=\177:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:\
-	:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:\
-	:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=\EE:pf=\E[?4i:\
-	:po=\E[?5i:ps=\E[i:rc=\E8:rf=/usr/share/tabset/vt300:\
-	:rs=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H:\
-	:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
-	:ts=\E[1$}\E[H\E[K:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[?25h:\
-	:vi=\E[?25l:
-
-# CRT is shareware.  It implements some xterm features, including mouse.
-crt|crt-vt220|CRT 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dR:u7=\E[6n:u8=\E[?1;2c:u9=\E[c:\
-	:ue=\E[24m:up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:
-
-# This entry is for Tera Term Pro version 2.3, for MS-Windows 95/NT written by
-# T. Teranishi dated Mar 10, 1998.  It is a free software terminal emulator
-# (communication program) which supports:
-#
-#	- Serial port connections.
-#	- TCP/IP (telnet) connections.
-#	- VT100 emulation, and selected VT200/300 emulation.
-#	- TEK4010 emulation.
-#	- File transfer protocols (Kermit, XMODEM, ZMODEM, B-PLUS and
-#	  Quick-VAN).
-#	- Scripts using the "Tera Term Language".
-#	- Japanese and Russian character sets.
-#
-# The program does not come with terminfo or termcap entries.  However, the
-# emulation (testing with vttest and ncurses) is reasonably close to vt100 (no
-# vt52 or doublesize character support; blinking is done with color).  Besides
-# the HPA, VPA extensions it also implements CPL and CNL.
-#
-# All of the function keys can be remapped.  This description shows the default
-# mapping, as installed.  Both vt100 PF1-PF4 keys and quasi-vt220 F1-F4 keys
-# are supported.  F13-F20 are obtained by shifting F3-F10.  The editing keypad
-# is laid out like vt220, rather than the face codes on the PC keyboard, i.e,
-#	kfnd	Insert
-#	kslt	Delete
-#	kich1	Home
-#	kdch1	PageUp
-#	kpp	End
-#	knp	PageDown
-#
-# ANSI colors are implemented, but cannot be combined with video attributes
-# except for reverse.
-#
-# No fonts are supplied with the program, so the acsc string is chosen to
-# correspond with the default Microsoft terminal font.
-#
-# Tera Term recognizes some xterm sequences, including those for setting and
-# retrieving the window title, and for setting the window size (i.e., using
-# "resize -s"), though it does not pass SIGWINCH to the application if the
-# user resizes the window with the mouse.
-teraterm|Tera Term Pro:\
-	:am:bs:km:ms:xn:\
-	:Co#8:NC#43:co#80:it#8:li#24:pa#64:\
-	:*6=\E[4~:@0=\E[1~:@8=\EOM:AB=\E[4%dm:AF=\E[3%dm:\
-	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:\
-	:F2=\E[24~:F3=\E[25~:F4=\E[26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ve=\E[?25h:\
-	:vi=\E[?25l:
-
-# Tested with WinNT 4.0, the telnet application assumes the screensize is
-# 25x80.  This entry uses the 'Terminal' font, to get line-drawing characters.
-ms-vt100|MS telnet imitating dec vt100:\
-	:am:bs:ms:xn:xo:\
-	:co#80:it#8:li#25:vt#3:\
-	:@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
-	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
-	:ac=+\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:\
-	:ae=^O:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
-	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:do=^J:eA=\E(B\E)0:\
-	:ho=\E[H:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOt:\
-	:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:kb=^H:kd=\EOB:\
-	:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
-	:mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:nd=\E[C:rc=\E8:\
-	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
-	:..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
-	:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
-	:u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?6c:u9=\E[c:ue=\E[m:\
-	:up=\E[A:us=\E[4m:
-
-#### X terminal emulators
-#
-# You can add the following line to your .Xdefaults to change the terminal type
-# set by the xterms you start up to my-xterm:
-#
-# *termName:  my-xterm
-#
-# System administrators can change the default entry for xterm instances
-# by adding a similar line to /usr/X11/lib/X11/app-defaults/XTerm.  In either
-# case, xterm will detect and reject an invalid terminal type, falling back
-# to the default of xterm.
-#
-
-# X10/6.6	11/7/86, minus alternate screen, plus (csr)
-# (xterm: ":MT:" changed to ":km:"; added <smam>/<rmam> based on init string;
-# removed (hs, eslok, tsl=\E[?E\E[?%i%dT, fsl=\E[?F, dsl=\E[?E)
-# as these seem not to work -- esr)
-x10term|vs100-x10|xterm terminal emulator (X10 window system):\
-	:am:bs:km:mi:ms:xn:xo:\
-	:co#80:it#8:li#65:\
-	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:RA=\E[?7l:SA=\E[?7h:\
-	:al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:\
-	:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:\
-	:im=\E[4h:is=\E\E[m\E[?7h\E[?1;4l:k1=\EOP:k2=\EOQ:\
-	:k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
-	:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:me=\E[m:\
-	:mr=\E[7m:nd=\E[C:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:\
-	:ue=\E[m:up=\E[A:us=\E[4m:
-# Compatible with the R5 xterm 
-# (from the XFree86 3.2 distribution, <blink=@> removed)
-# added khome/kend, rmir/smir, rmul/smul based on the R5 xterm code - TD
-# corrected typos in rs2 string - TD
-xterm-r5|xterm R5 version:\
-	:am:bs:km:ms:xn:\
-	:co#80:it#8:li#24:\
-	:@7=\E[4~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
-	:F1=\E[23~:F2=\E[24~:IC=\E[%d@:Km=\E[M:LE=\E[%dD:\
-	:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:\
-	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
-	:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:ic=\E[@:\
-	:im=\E[4h:k0=\EOq:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:\
-	:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
-	:k;=\E[21~:kA=\E[30~:kD=\E[3~:kE=\E[8~:kI=\E[2~:kL=\E[31~:\
-	:kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:\
-	:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:\
-	:me=\E[m:mr=\E[7m:nd=\E[C:rc=\E8:\
-	:rs=\E>\E[?1;3;4;5;6l\E[4l\E[?7h\E[m\E[r\E[2J\E[H:\
-	:..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m:\
-	:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
-	:up=\E[A:us=\E[4m:
-# Compatible with the R6 xterm
-# (from XFree86 3.2 distribution, <acsc> and :it: added, <blink@> removed)
-# added khome/kend - TD
-xterm-r6|xterm-old|xterm X11R6 version:\
-	:am:bs:km:mi:ms:xn:\
-	:co#80:it#8:li#24:\
-	:*6=\E[4~:@0=\E[1~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
-	:DO=\E[%dB:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
-	:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
-	:FA=\E[34~:Km=\E[M:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
-	:ac=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
-	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
-	:dl=\E[M:do=^J:eA=\E)0:ei=\E[4l:ho=\E[H:im=\E[4h:\
-	:is=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:k1=\EOP:\
-	:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:k7=\E[18~:\
-	:k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\E[3~:kI=\E[2~:kN=\E[6~:\
-	:kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:\
-	:ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:me=\E[m:ml=\El:\
-	:mr=\E[7m:mu=\Em:nd=\E[C:rc=\E8:\
-	:rs=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:sc=\E7:\
-	:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:te=\E[2J\E[?47l\E8:\
-	:ti=\E7\E[?47h:u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?1;2c:\
-	:u9=\E[c:ue=\E[m:up=\E[A:us=\E[4m:
-# This is the base xterm entry for the xterm supplied with XFree86 3.2 & up.
-# The name has been changed and some aliases have been removed.
-xterm-xf86-v32|xterm terminal emulator (XFree86 3.2 Window System):\
-	:am:bs:km:mi:ms:ut:xn:\
-	:Co#8:co#80:it#8:li#24:pa#64:\
-	:*6=\E[4~:@0=\E[1~:@1=\EOE:@7=\EOF:@8=\EOM:AB=\E[4%dm:\
-	:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
-	:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~: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..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
-	:sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
-	:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:u6=\E[%i%d;%dR:\
-	:u7=\E[6n:u8=\E[?1;2c:u9=\E[c:ue=\E[24m:up=\E[A:us=\E[4m:\
-	:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
-
-# 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):\
-	:am:bs:km:mi:ms:ut:xn:\
-	:Co#8:co#80:it#8:li#24:pa#64:\
-	:*6=\E[4~:@0=\E[1~:@1=\EOE:@7=\EOF:@8=\EOM:AB=\E[4%dm:\
-	:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
-	:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\
-	:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:\
-	:IC=\E[%d@:K1=\EOw:K2=\EOy:K3=\EOu:K4=\EOq:K5=\EOs:Km=\E[M:\
-	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
-	:..Sb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m:\
-	:..Sf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m:\
-	:UP=\E[%dA:\
-	:ac=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:ch=\E[%i%dG:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
-	:cs=\E[%i%d;%dr:ct=\E[3g:cv=\E[%i%dd:dc=\E[P:dl=\E[M:\
-	:do=^J:eA=\E(B\E)0:ec=\E[%dX:ei=\E[4l:ho=\E[H:ic=\E[@:\
-	:im=\E[4h:is=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:\
-	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:\
-	:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\177:kI=\E[2~:\
-	:kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kh=\EOH:\
-	:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:\
-	:me=\E[m\017:ml=\El:mr=\E[7m:mu=\Em:nd=\E[C:op=\E[39;49m:\
-	:r1=^O:r2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:\
-	:rc=\E8:\
-	:..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
-	:sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
-	:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:u6=\E[%i%d;%dR:\
-	:u7=\E[6n:u8=\E[?1;2c:u9=\E[c:ue=\E[24m:up=\E[A:us=\E[4m:\
-	:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
-
-# This version was released in XFree86 3.3.3 (November 1998).
-# Besides providing printer support, it exploits a new feature that allows
-# xterm to use terminfo-based descriptions with the titeInhibit resource.
-xterm-xf86-v333|xterm terminal emulator (XFree86 3.3.3 Window System):\
-	:5i:am:bs:km:mi:ms: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?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:\
-	:mk=\E[8m:ml=\El:mr=\E[7m:mu=\Em:nd=\E[C:op=\E[39;49m:\
-	:pf=\E[4i:po=\E[5i:ps=\E[i:r1=\Ec:\
-	:r2=\E[!p\E[?3;4l\E[4l\E>:rc=\E8:\
-	:..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;:\
-	:sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
-	:te=\E[?1047l\E[?1048l:ti=\E[?1048h\E[?1047h:\
-	:u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?1;2c:u9=\E[c:ue=\E[24m:\
-	:up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:\
-	:vs=\E[?25h:
-
-# This beta version will probably be released in XFree86 4.0.
-xterm-xf86-v40|xterm terminal emulator (XFree86 4.0 Window System):\
-	:5i:am:bs:km:mi:ms:ut:xn:\
-	:Co#8:co#80:it#8:li#24:pa#64:\
-	:@1=\EOE:@7=\EOF:@8=\EOM:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:\
-	:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:\
-	:F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:\
-	:F8=\E[32~:F9=\E[33~:FA=\E[34~:IC=\E[%d@:K1=\EOH:K2=\EOE:\
-	:K3=\E[5~:K4=\EOF:K5=\E[6~:Km=\E[M:LE=\E[%dD:RA=\E[?7l:\
-	:RI=\E[%dC:SA=\E[?7h:\
-	:..Sb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m:\
-	:..Sf=\E[3%?%p1%{1}%=%t4%e%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	:u7=\E[6n:u8=\E[?1;2c:u9=\E[c:ue=\E[m:up=\E[A:us=\E[4m:\
-	:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
-
-# This is one of the variants of XFree86 3.3 xterm, updated for 4.0 (T.Dickey)
-xterm-16color|xterm with 16 colors like aixterm:\
-	:5i:am:bs:km:mi:ms:ut:xn:\
-	:Co#16:NC#32:co#80:it#8:li#24:pa#256:\
-	:@1=\EOE:@7=\EOF:@8=\EOM:\
-	:..AB=\E[%?%p1%{8}%<%t%p1%{40}%+%e%p1%{92}%+%;%dm:\
-	:..AF=\E[%?%p1%{8}%<%t%p1%{30}%+%e%p1%{82}%+%;%dm:\
-	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:\
-	:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:\
-	:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:IC=\E[%d@:\
-	:K1=\EOH:K2=\EOE:K3=\E[5~:K4=\EOF:K5=\E[6~:Km=\E[M:\
-	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
-	:..Sb=%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:\
-	:..Sf=%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:\
-	:UP=\E[%dA:\
-	:ac=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:ch=\E[%i%dG:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
-	:cs=\E[%i%d;%dr:ct=\E[3g:cv=\E[%i%dd:dc=\E[P:dl=\E[M:\
-	:do=^J:eA=\E(B\E)0:ec=\E[%dX:ei=\E[4l:ho=\E[H:im=\E[4h:\
-	:is=\E[!p\E[?3;4l\E[4l\E>:k1=\EOP:k2=\EOQ:k3=\EOR:\
-	:k4=\EOS:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
-	:k9=\E[20~:k;=\E[21~:kD=\177:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
-	:kb=^H:kd=\EOB:ke=\E[?1l\E>:kh=\EOH:kl=\EOD:kr=\EOC:\
-	:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:\
-	:mk=\E[8m:ml=\El:mr=\E[7m:mu=\Em:nd=\E[C:op=\E[39;49m:\
-	:pf=\E[4i:po=\E[5i:ps=\E[i:r1=\Ec:\
-	:r2=\E[!p\E[?3;4l\E[4l\E>:rc=\E8:\
-	:..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;:\
-	:sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
-	:te=\E[?1049l:ti=\E[?1049h:u6=\E[%i%d;%dR:u7=\E[6n:\
-	:u8=\E[?1;2c:u9=\E[c:ue=\E[24m:up=\E[A:us=\E[4m:\
-	:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
-
-# 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):\
-	:5i:am:bs:km:mi:ms:ut:xn:\
-	:Co#8:co#80:it#8:li#24:pa#64:\
-	:@1=\217E:@7=\2334~:@8=\217M:AB=\2334%dm:AF=\2333%dm:\
-	:AL=\233%dL:DC=\233%dP:DL=\233%dM:DO=\233%dB:F1=\23323~:\
-	:F2=\23324~:F3=\23325~:F4=\23326~:F5=\23328~:F6=\23329~:\
-	:F7=\23331~:F8=\23332~:F9=\23333~:FA=\23334~:IC=\233%d@:\
-	:K1=\217w:K2=\217y:K3=\217u:K4=\217q:K5=\217s:Km=\233M:\
-	:LE=\233%dD:RA=\233?7l:RI=\233%dC:SA=\233?7h:\
-	:..Sb=\2334%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m:\
-	:..Sf=\2333%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m:\
-	:UP=\233%dA:\
-	:ac=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\233L:as=^N:bl=^G:bt=\233Z:cb=\2331K:cd=\233J:\
-	:ce=\233K:ch=\233%i%dG:cl=\233H\2332J:cm=\233%i%d;%dH:\
-	:cr=^M:cs=\233%i%d;%dr:ct=\2333g:cv=\233%i%dd:dc=\233P:\
-	:dl=\233M:do=^J:eA=\E(B\E)0:ec=\233%dX:ei=\2334l:ho=\233H:\
-	:im=\2334h:\
-	:is=\E7\E G\233r\233m\233?7h\233?1;3;4;6l\2334l\E8\E>:\
-	:k1=\23311~:k2=\23312~:k3=\23313~:k4=\23314~:k5=\23315~:\
-	:k6=\23317~:k7=\23318~:k8=\23319~:k9=\23320~:k;=\23321~:\
-	:kD=\2333~:kI=\2332~:kN=\2336~:kP=\2335~:kb=^H:kd=\217B:\
-	:ke=\233?1l\E>:kh=\2331~:kl=\217D:kr=\217C:ks=\233?1h\E=:\
-	:ku=\217A:le=^H:mb=\2335m:md=\2331m:me=\233m^O:mk=\2338m:\
-	:ml=\El:mr=\2337m:mu=\Em:nd=\233C:op=\23339;49m:pf=\2334i:\
-	:po=\2335i:ps=\233i:r1=\Ec:\
-	:r2=\E7\E[62"p\E G\233r\233m\233?7h\233?1;3;4;6l\2334l\E8\E>:\
-	:rc=\E8:\
-	:..sa=\2330%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;:\
-	:sc=\E7:se=\23327m:sf=^J:so=\2337m:sr=\215:st=\210:ta=^I:\
-	:te=\233?1049l:ti=\233?1049h:u6=\233[%i%d;%dR:u7=\E[6n:\
-	:u8=\233[?1;2c:u9=\E[c:ue=\23324m:up=\233A:us=\2334m:\
-	:vb=\233?5h\233?5l:ve=\233?25h:vi=\233?25l:vs=\233?25h:
-
-xterm-24|vs100|xterms|xterm terminal emulator (X Window System):\
-	:am:bs:km:mi:ms:xn:\
-	:co#80:it#8:li#24:\
-	:*6=\E[4~:@0=\E[1~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
-	:DO=\E[%dB:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
-	:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
-	:FA=\E[34~:Km=\E[M:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
-	:ac=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
-	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
-	:dl=\E[M:do=^J:eA=\E)0:ei=\E[4l:ho=\E[H:im=\E[4h:\
-	:is=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:k1=\EOP:\
-	:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~: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17~:k7=\E[18~:\
-	:k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\E[3~:kI=\E[2~:kN=\E[6~:\
-	:kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:\
-	:ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:me=\E[m:ml=\El:\
-	:mr=\E[7m:mu=\Em:nd=\E[C:rc=\E8:\
-	:rs=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:sc=\E7:\
-	:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:te=\E[2J\E[?47l\E8:\
-	:ti=\E7\E[?47h:u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?1;2c:\
-	:u9=\E[c:ue=\E[m:up=\E[A:us=\E[4m:
-
-# These entries allow access to the X titlebar and icon name as a status line. 
-# Note that twm (and possibly window managers descended from it such as tvtwm, 
-# ctwm, and vtwm) track windows by icon-name; thus, you don't want to mess
-# with it.
-xterm+sl|access X title line and icon name:\
-	:am:bs:hs:km:mi:ms:xn:\
-	:co#80:it#8:li#24:ws#40:\
-	:*6=\E[4~:@0=\E[1~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
-	:DO=\E[%dB:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
-	:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
-	:FA=\E[34~:Km=\E[M:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
-	:ac=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
-	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
-	:dl=\E[M:do=^J:ds=\E]0;\007:eA=\E)0:ei=\E[4l:fs=^G:ho=\E[H:\
-	:im=\E[4h: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ho=\E[H:\
-	:im=\E[4h:is=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:\
-	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:\
-	:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\E[3~:\
-	:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:\
-	:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:\
-	:me=\E[m:ml=\El:mr=\E[7m:mu=\Em:nd=\E[C:rc=\E8:\
-	:rs=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:sc=\E7:\
-	:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:te=\E[2J\E[?47l\E8:\
-	:ti=\E7\E[?47h:ts=\E]2;:u6=\E[%i%d;%dR:u7=\E[6n:\
-	:u8=\E[?1;2c:u9=\E[c:ue=\E[m:up=\E[A:us=\E[4m:
-
-#
-# The following xterm variants don't depend on your base version
-#
-# xterm with bold instead of underline
-xterm-bold|xterm terminal emulator (X11R6 Window System) standout w/bold:\
-	:am:bs:km:mi:ms:xn:\
-	:co#80:it#8:li#24:\
-	:*6=\E[4~:@0=\E[1~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
-	:DO=\E[%dB:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
-	:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
-	:FA=\E[34~:Km=\E[M:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
-	:ac=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
-	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
-	:dl=\E[M:do=^J:eA=\E)0:ei=\E[4l:ho=\E[H:im=\E[4h:\
-	:is=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:k1=\EOP:\
-	:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:k7=\E[18~:\
-	:k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\E[3~:kI=\E[2~:kN=\E[6~:\
-	:kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:\
-	:ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:me=\E[m:ml=\El:\
-	:mr=\E[7m:mu=\Em:nd=\E[C:rc=\E8:\
-	:rs=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:sc=\E7:\
-	:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:te=\E[2J\E[?47l\E8:\
-	:ti=\E7\E[?47h:u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?1;2c:\
-	:u9=\E[c:ue=\E[m:up=\E[A:us=\E[1m:
-# (kterm: this had extension capabilities ":KJ:TY=ascii:" -- esr)
-# (kterm should not invoke DEC Graphics as the alternate character set
-#  -- Kenji Rikitake)
-kterm|kterm kanji terminal emulator (X window system):\
-	:am:bs:es:hs:km:mi:ms:xn:\
-	:Co#8:NC#3:co#80:it#8:li#24:pa#64:\
-	:*6=\E[4~:@0=\E[1~:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:\
-	:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:\
-	:F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:\
-	:F8=\E[32~:F9=\E[33~:FA=\E[34~:Km=\E[M:LE=\E[%dD:\
-	:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:\
-	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
-	:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ds=\E[?H:ei=\E[4l:fs=\E[?F:\
-	:ho=\E[H:im=\E[4h:\
-	:is=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:k1=\EOP:\
-	:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:k7=\E[18~:\
-	:k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\E[3~:kI=\E[2~:kN=\E[6~:\
-	:kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:\
-	:ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:me=\E[m:ml=\El:\
-	:mr=\E[7m:mu=\Em:nd=\E[C:op=\E[39;49m:rc=\E8:\
-	:rs=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:sc=\E7:\
-	:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:te=\E[2J\E[?47l\E8:\
-	:ti=\E7\E[?47h:ts=\E[?E\E[?%i%dT:u6=\E[%i%d;%dR:\
-	:u7=\E[6n:u8=\E[?1;2c:u9=\E[c:ue=\E[m:up=\E[A:us=\E[4m:
-# 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:\
-	:am:bs:km:mi:ms:xn:\
-	:co#80:it#8:li#24:\
-	:*6=\E[4~:@0=\E[1~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
-	:DO=\E[%dB:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
-	:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
-	:FA=\E[34~:Km=\E[M:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
-	:ac=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
-	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
-	:dl=\E[M:do=^J:eA=\E)0:ei=\E[4l:ho=\E[H:im=\E[4h:\
-	:is=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:k1=\EOP:\
-	:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:k7=\E[18~:\
-	:k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\E[3~:kI=\E[2~:kN=\E[6~:\
-	:kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:\
-	:ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:me=\E[m:ml=\El:\
-	:mr=\E[7m:mu=\Em:nd=\E[C:rc=\E8:\
-	:rs=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:sc=\E7:\
-	:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:te=\E[2J\E[?47l\E8:\
-	:ti=\E7\E[?47h:u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?1;2c:\
-	:u9=\E[c:ue=\E[m:up=\E[A:us=\E[4m:
-# From: Mark Sheppard <kimble@mistral.co.uk>, 4 May 1996 
-xterm1|xterm terminal emulator ignoring the alternate screen buffer:\
-	:am:bs:km:mi:ms:xn:\
-	:co#80:it#8:li#24:\
-	:*6=\E[4~:@0=\E[1~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
-	:DO=\E[%dB:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
-	:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
-	:FA=\E[34~:Km=\E[M:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
-	:ac=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
-	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
-	:dl=\E[M:do=^J:eA=\E)0:ei=\E[4l:ho=\E[H:im=\E[4h:\
-	:is=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:k1=\EOP:\
-	:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:k7=\E[18~:\
-	:k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\E[3~:kI=\E[2~:kN=\E[6~:\
-	:kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:\
-	:ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:me=\E[m:ml=\El:\
-	:mr=\E[7m:mu=\Em:nd=\E[C:rc=\E8:\
-	:rs=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:sc=\E7:\
-	:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:u6=\E[%i%d;%dR:\
-	:u7=\E[6n:u8=\E[?1;2c:u9=\E[c:ue=\E[m:up=\E[A:us=\E[4m:
-
-# This describes the capabilities of color_xterm, an xterm variant from
-# before ECMA-64 color support was folded into the main-line xterm release.
-# This entry is straight from color_xterm's maintainer.
-# From: Jacob Mandelson <jlm@ugcs.caltech.edu>, 09 Nov 1996
-# The README's with the distribution also say that it supports SGR 21, 24, 25
-# and 27, but they are not present in the terminfo or termcap.
-color_xterm|cx|cx100|color_xterm color terminal emulator for X:\
-	:am:bs:km:mi:ms:xn:\
-	:Co#8:co#80:it#8:li#65:pa#64:\
-	:@7=\E[8~:@8=\EOM:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:\
-	:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:\
-	:IC=\E[%d@:K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:Km=\E[M:\
-	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
-	:dc=\E[P:dl=\E[M:do=^J:eA=\E(B\E)0:ei=\E[4l:ho=\E[H:\
-	:i1=\E[r\E[m\E[?7h\E[?4;6l\E[4l:im=\E[4h:k1=\E[11~:\
-	:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:k6=\E[17~:\
-	:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kI=\E[2~:\
-	:kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:kh=\E[7~:kl=\EOD:kr=\EOC:\
-	:ku=\EOA:le=^H:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
-	:op=\E[39;49m:\
-	:r1=\E(B\017\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E<:\
-	:rc=\E8:\
-	:..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
-	:sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:ta=^I:\
-	:te=\E>\E[?41;1r:ti=\E[?1;41s\E[?1;41h\E=:ue=\E[24m:\
-	:up=\E[A:us=\E[4m:
-
-# The 'nxterm' distributed with Redhat Linux is a slight rehack of
-# xterm-sb_right-ansi-3d, which implements ANSI colors, but does not support
-# SGR 39 or 49.  SGR 0 does reset colors (along with everything else).  This
-# description is "compatible" with color_xterm, rxvt and XFree86 xterm, except
-# that each of those implements the home, end, delete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[c:ue=\E[m:up=\E[A:us=\E[4m:
-
-# 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.
-#
-# The distributed terminfo says it implements hpa and vpa, but they are not
-# implemented correctly, using relative rather than absolute positioning.
-#
-# rxvt is normally configured to look for "xterm" or "xterm-color" as $TERM.
-# Since rxvt is not really compatible with xterm, it should be configured as
-# "rxvt" (monochrome) and "rxvt-color". 
-rxvt|rxvt terminal base (X Window System):\
-	:am:bs:eo:km:mi:ms:ut:xn:xo:\
-	:co#80:it#8:li#24:\
-	:#2=\E[7$:#4=\E[d:%c=\E[6$:%e=\E[5$:%i=\E[c:*4=\E[3$:\
-	:*6=\E[4~:*7=\E[8$:@0=\E[1~:@7=\E[8~:@8=\EOM:AL=\E[%dL:\
-	:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:\
-	:F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:\
-	:F8=\E[32~:F9=\E[33~:FA=\E[34~:IC=\E[%d@:K1=\EOw:K2=\EOu:\
-	:K3=\EOy:K4=\EOq:K5=\EOs:Km=\E[M:LE=\E[%dD:RI=\E[%dC:\
-	:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
-	:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:eA=\E(B\E)0:ei=\E[4l:\
-	:ho=\E[H:i1=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  They refer to a
-# variant of xterm which is apparently no longer supported, but are interesting
-# because they illustrate SVr4 curses mouse controls - T.Dickey
-xtermm|xterm terminal emulator (monocrome):\
-	:am:bs:km:mi:ms:xn:\
-	:BT#3:co#80:it#8:li#24:\
-	:@7=\E[Y:@8=\EOM:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
-	:F1=\EOZ:F2=\EOA:Gm=\E[%dY:IC=\E[%d@:K1=\EOq:K2=\EOr:\
-	:K3=\EOs:K4=\EOp:K5=\EOn:Km=\E[^_:LE=\E[%dD:RI=\E[%dC:\
-	:RQ=\E[492Z:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
-	:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:eA=\E(B\E)0:ei=:ho=\E[H:\
-	:ic=\E[@:im=:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
-	:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:k9=\EOX:k;=\EOY:kN=\E[U:\
-	:kP=\E[V:kb=^H:kd=\EOB:kh=\E[H:kl=\EOD:kr=\EOC:ku=\EOA:\
-	:le=\E[1D:mb=@:md=\E[1m:me=\E[m\017:mr=\E[7m:nd=\E[C:\
-	:r1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H:\
-	:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
-	:..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
-	:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
-	:te=\E@0\E[?4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\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
-	:..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
-	:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
-	:te=\E@0\E[?4r:ti=\E@0\E[?4s\E[?4h\E@1:up=\E[A:
-
-# From: David J. MacKenzie <djm@va.pubnix.com> 20 Apr 1995
-# Here's a termcap entry I've been using for xterm_color, which comes
-# with BSD/OS 2.0, and the X11R6 contrib tape too I think.  Besides the
-# color stuff, I also have a status line defined as the window manager
-# title bar. [I have translated it to terminfo -- ESR]
-xterm-pcolor|xterm with color used for highlights and status line:\
-	:am:bs:hs:km:mi:ms:xn:\
-	:co#80:it#8:li#24:ws#40:\
-	:*6=\E[4~:@0=\E[1~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
-	:DO=\E[%dB:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
-	:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
-	:FA=\E[34~:Km=\E[M:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
-	:ac=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
-	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
-	:dl=\E[M:do=^J:ds=\E]0;\007:eA=\E)0:ei=\E[4l:fs=^G:ho=\E[H:\
-	:im=\E[4h:is=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:\
-	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:\
-	:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\E[3~:\
-	:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:\
-	:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
-	:md=\E[1m\E[43m:me=\E[m:ml=\El:mr=\E[7m\E[34m:mu=\Em:\
-	:nd=\E[C:rc=\E8:\
-	:rs=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:sc=\E7:\
-	:se=\E[m:sf=^J:so=\E[7m\E[31m:sr=\EM:ta=^I:\
-	:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ts=\E]0;:\
-	:u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?1;2c:u9=\E[c:ue=\E[m:\
-	:up=\E[A:us=\E[4m\E[42m:
-
-# HP ships this, except for the pb#9600 which was merged in from BSD termcap.
-# (hpterm: added empty <acsc>, we have no idea what ACS chars look like --esr)
-hpterm|X-hpterm|hp X11 terminal emulator:\
-	:am:da:db:mi:xs:\
-	:Nl#8:co#80:lh#2:li#24:lm#0:lw#8:pb#9600:sg#0:ug#0:\
-	:LF=\E&j@:LO=\E&jB:ac=:ae=^O:al=\EL:as=^N:bl=^G:bt=\Ei:\
-	:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:\
-	:cr=^M:ct=\E3:cv=\E&a%dY:dc=\EP:dl=\EM:do=\EB:ei=\ER:im=\EQ:\
-	:k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:\
-	:kA=\EL:kC=\EJ:kD=\EP:kE=\EK:kF=\ES:kH=\EF:kI=\EQ:kL=\EM:\
-	:kM=\ER:kN=\EU:kP=\EV:kR=\ET:kS=\EJ:kT=\E1:ka=\E3:kb=^H:\
-	:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:\
-	:ku=\EA:le=^H:md=\E&dB:me=\E&d@:mh=\E&dH:ml=\El:mr=\E&dB:\
-	:mu=\Em:nd=\EC:..pk=\E&f%p1%dk%p2%l%dL%p2%s:\
-	:..pl=\E&f1a%p1%dk%p2%l%dL%p2%s:\
-	:..pn=\E&f%p1%dk%p2%l%dd0L%p2%s:\
-	:..px=\E&f2a%p1%dk%p2%l%dL%p2%s:\
-	:..sa=\E&d%?%p7%t%{115}%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%{64}%+%c%?%p9%t%'\016'%c%e%'\017'%c%;:\
-	:se=\E&d@:sf=^J:so=\E&dJ:sr=\ET:st=\E1:ta=^I:ue=\E&d@:\
-	:up=\EA:us=\E&dD:
-
-# This entry describes an xterm with Sun-style function keys enabled
-# via the X resource setting "xterm*sunFunctionKeys:true"
-# To understand <kf11>/<kf12> note that L1,L2 and F11,F12 are the same.
-# The <kf13>...<kf20> keys are L3-L10.  We don't set <kf16=\E[197z>
-# because we want it to be seen as <kcpy>. 
-# The <kf31>...<kf45> keys are R1-R15.  We treat some of these in accordance
-# with their Sun keyboard labels instead.
-# From: Simon J. Gerraty <sjg@zen.void.oz.au> 10 Jan 1996
-xterm-sun|xterm with sunFunctionKeys true:\
-	:am:bs:km:mi:ms:xn:\
-	:co#80:it#8:li#24:\
-	:%1=\E[196z:&8=\E[195z:*6=\E[4~:@0=\E[200z:@5=\E[197z:\
-	:@7=\E[220z:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
-	:F1=\E[192z:F2=\E[193z:F3=\E[194z:F4=\E[195z:F5=\E[196z:\
-	:F6=\E[29~:F7=\E[198z:F8=\E[199z:F9=\E[200z:FA=\E[201z:\
-	:FL=\E[208z:FM=\E[209z:FN=\E[210z:FO=\E[211z:FP=\E[212z:\
-	:FQ=\E[213z:FS=\E[215z:FU=\E[217z:FW=\E[219z:FY=\E[221z:\
-	:K2=\E[218z:Km=\E[M:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
-	:ac=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
-	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
-	:dl=\E[M:do=^J:eA=\E)0:ei=\E[4l:ho=\E[H:im=\E[4h:\
-	:is=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:\
-	:k1=\E[224z:k2=\E[225z:k3=\E[226z:k4=\E[227z:k5=\E[228z:\
-	:k6=\E[229z:k7=\E[230z:k8=\E[231z:k9=\E[232z:k;=\E[233z:\
-	:kD=\E[3~:kI=\E[2z:kN=\E[222z:kP=\E[216z:kb=^H:kd=\EOB:\
-	:ke=\E[?1l\E>:kh=\E[214z:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
-	:ku=\EOA:le=^H:md=\E[1m:me=\E[m:ml=\El:mr=\E[7m:mu=\Em:\
-	:nd=\E[C:rc=\E8:\
-	:rs=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:sc=\E7:\
-	:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:te=\E[2J\E[?47l\E8:\
-	:ti=\E7\E[?47h:u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?1;2c:\
-	:u9=\E[c:ue=\E[m:up=\E[A:us=\E[4m:
-xterms-sun|small (80x24) xterm with sunFunctionKeys true:\
-	:am:bs:km:mi:ms:xn:\
-	:co#80:it#8:li#24:\
-	:%1=\E[196z:&8=\E[195z:*6=\E[4~:@0=\E[200z:@5=\E[197z:\
-	:@7=\E[220z:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
-	:F1=\E[192z:F2=\E[193z:F3=\E[194z:F4=\E[195z:F5=\E[196z:\
-	:F6=\E[29~:F7=\E[198z:F8=\E[199z:F9=\E[200z:FA=\E[201z:\
-	:FL=\E[208z:FM=\E[209z:FN=\E[210z:FO=\E[211z:FP=\E[212z:\
-	:FQ=\E[213z:FS=\E[215z:FU=\E[217z:FW=\E[219z:FY=\E[221z:\
-	:K2=\E[218z:Km=\E[M:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
-	:ac=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
-	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
-	:dl=\E[M:do=^J:eA=\E)0:ei=\E[4l:ho=\E[H:im=\E[4h:\
-	:is=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:\
-	:k1=\E[224z:k2=\E[225z:k3=\E[226z:k4=\E[227z:k5=\E[228z:\
-	:k6=\E[229z:k7=\E[230z:k8=\E[231z:k9=\E[232z:k;=\E[233z:\
-	:kD=\E[3~:kI=\E[2z:kN=\E[222z:kP=\E[216z:kb=^H:kd=\EOB:\
-	:ke=\E[?1l\E>:kh=\E[214z:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
-	:ku=\EOA:le=^H:md=\E[1m:me=\E[m:ml=\El:mr=\E[7m:mu=\Em:\
-	:nd=\E[C:rc=\E8:\
-	:rs=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:sc=\E7:\
-	:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:te=\E[2J\E[?47l\E8:\
-	:ti=\E7\E[?47h:u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?1;2c:\
-	:u9=\E[c:ue=\E[m:up=\E[A:us=\E[4m:
-
-# This is for the extensible terminal emulator on the X11R6 contrib tape.
-emu|emu native mode:\
-	:mi:ms:xo:\
-	:Co#15:co#80:it#8:li#24:pa#64:vt#200:\
-	:*6=\Esel:@0=\Efind:@8=^M:AB=\Es%i%d;:AF=\Er%i%d;:\
-	:AL=\EQ%d;:DC=\EI%d;:DL=\ER%d;:DO=\Ep%d;:F1=\EF11:\
-	:F2=\EF12:F3=\EF13:F4=\EF14:F5=\EF15:F6=\EF16:F7=\EF17:\
-	:F8=\EF18:F9=\EF19:FA=\EF20:LE=\Eq-%d;:RI=\Eq%d;:\
-	:UP=\Ep-%d;:\
-	:ac=61a\202f\260g2j\213k\214l\215m\216n\217o\220q\222s\224t\225u\226v\227w\230x\231~\244:\
-	:ae=\0:al=\EQ1;:as=\0:bl=^G:cb=\EL:cd=\EN:ce=\EK:\
-	:cl=\EP\EE0;0;:cm=\EE%d;%d;:cr=^M:cs=\Ek%d;%d;:ct=\Ej:\
-	:dc=\EI1;:dl=\ER1;:do=\EB:eA=\0:ec=\Ej%d;:ei=\EX:\
-	:ho=\EE0;0;:im=\EY:is=\ES\Er0;\Es0;:k0=\EF00:k1=\EF01:\
-	:k2=\EF02:k3=\EF03:k4=\EF04:k5=\EF05:k6=\EF06:k7=\EF07:\
-	:k8=\EF08:k9=\EF09:k;=\EF10:kD=\177:kI=\Eins:kN=\Enext:\
-	:kP=\Eprior:kb=^H:kd=\EB:kl=\EC:kr=\ED:ku=\EA:le=^H:\
-	:mb=\ES\EW:md=\ES\EU:me=\ES:mr=\ES\ET:nd=\ED:\
-	:oc=\Es0;\Er0;:rs=\ES\Es0;\Er0;:se=\ES:sf=\EG:so=\ES\ET:\
-	:sr=\EF:st=\Eh:ta=^I:ue=\ES:up=\EA:us=\ES\EV:ve=\Ea:vi=\EZ:\
-	:vs=\Ea:
-
-######## COMMERCIAL 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:xo:\
-	:co#80:li#25:\
-	:al=\E[L:bl=^G:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
-	:dc=\E[P:dl=\E[M:do=^J:ei=:ho=\E[H:ic=\E[@:im=:kb=^H:kd=\E[B:\
-	:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:mr=\E[7m:\
-	:nd=\E[C:nw=^M^J:se=\E[m:so=\E[7m:ta=^I:up=\E[A:
-
-#### AT&T consoles
-#
+	:co#128:li#57:\
+	:bl=^G:cl=^L:cr=^M:do=^J:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
+	:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:sf=^J:ta=^I:up=^K:
+
+# SCO console and SOS-Syscons console for 386bsd
+# (scoansi: had unknown capabilities
+#	:Gc=N:Gd=K:Gh=M:Gl=L:Gu=J:Gv=\072:\
+#	:GC=E:GD=B:GH=D:GL=\64:GU=A:GV=\63:GR=C:
+#	:G1=?:G2=Z:G3=@:G4=Y:G5=;:G6=I:G7=H:G8=<:\
+#	:CW=\E[M:NU=\E[N:RF=\E[O:RC=\E[P:\
+#	:WL=\E[S:WR=\E[T:CL=\E[U:CR=\E[V:\
+# I renamed GS/GE/HM/EN/PU/PD/RT and added klone+sgr-dumb, based
+# on the :as:=\E[12m  -- esr)
+#
+# klone+sgr-dumb is an error since the acsc does not match -TD
+#
+# In this description based on SCO's keyboard(HW) manpage list of default function key
+# values:
+#	F13-F24 are shifted F1-F12
+#	F25-F36 are control F1-F12
+#	F37-F48 are shift+control F1-F12
+#
+# hpa/vpa work in the console, but not in scoterm:
+#	hpa=\E[%p1%dG,
+#	vpa=\E[%p1%dd,
+#
+# SCO's terminfo uses
+#	kLFT=\E[d,
+#	kRIT=\E[c,
+# which do not work (console or scoterm).
+#
+# Console documents only 3 attributes can be set with SGR (so we don't use sgr).
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
+# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
+scoansi|SCO Extended ANSI standard crt:\
+	:am:bs:eo:xo:\
+	:co#80:it#8:li#25:\
+	:AL=\E[%dL:DL=\E[%dM:SF=\E[%dS:SR=\E[%dT:ae=\E[10m:\
+	:al=\E[L:as=\E[12m:bl=^G:bt=\E[Z:cd=\E[m\E[J:ce=\E[m\E[K:\
+	:cl=\E[2J\E[H:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=\E[B:ei=:\
+	:ho=\E[H:ic=\E[@:im=:k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:\
+	:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:kD=^_:kI=\E[L:\
+	:kN=\E[G:kP=\E[I:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:\
+	:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[0;10m:mr=\E[7m:\
+	:nd=\E[C:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:ue=\E[m:\
+	:up=\E[A:us=\E[4m:ve=\E[=10;12C:vi=\E[=14;12C:\
+	:vs=\E[=0;12C:
 
 # This actually describes the generic SVr4 display driver for Intel boxes.
 # The :mh=\E[2m: isn't documented and therefore may not be reliable.
 # From: Eric Raymond <esr@snark.thyrsus.com> Mon Nov 27 19:00:53 EST 1995
 att6386|at386|386at|AT&T WGS 6386 console:\
 	:am:bw:eo:xo:\
-	:Co#8:NC#3:co#80:it#8:li#25:pa#64:\
-	:@7=\E[Y:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:\
-	:DL=\E[%dM:DO=\E[%dB:F1=\EOZ:F2=\EOA:IC=\E[%d@:LE=\E[%dD:\
-	:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
+	:co#80:it#8:li#25:\
+	:@7=\E[Y:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\EOZ:\
+	:F2=\EOA:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:\
+	:SR=\E[%dT:UP=\E[%dA:\
 	:ac=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~:\
 	:ae=\E[10m:al=\E[1L:as=\E[12m:bl=^G:bt=\E[Z:cd=\E[J:\
 	:ce=\E[K:ch=\E[%i%dG:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:\
@@ -4079,10 +829,11 @@
 	:k;=\EOY:kB=^]:kD=\E[P:kI=\E[@:kM=\E0:kN=\E[U:kP=\E[V:kb=^H:\
 	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:\
 	:md=\E[1m:me=\E[0;10m:mh=\E[2m:mk=\E[9m:mr=\E[7m:nd=\E[C:\
-	:nw=\r\E[S:op=\E[37;40m:rc=\E8:\
+	:nw=\r\E[S:rc=\E8:\
 	:..sa=\E[10m\E[0%?%p1%p3%|%t;7%;%?%p2%t;4%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p9%t;12%e;10%;%?%p7%t;9%;m:\
 	:sc=\E7:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:st=\EH:ta=^I:\
-	:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[=1C:vi=\E[=C:
+	:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[=1C:vi=\E[=C:\
+	:tc=klone+color:
 # (pc6300plus: removed ":KM=/usr/lib/ua/kmap.s5:"; renamed BO/EE/CI/CV -- esr)
 pc6300plus|AT&T 6300 plus:\
 	:am:bs:xo:\
@@ -4213,92 +964,23 @@
 # (att7300: added :vi:/:ve:/:ic:/<invis> from the BSDI entry,
 # they're confirmed by the man page for the System V display---esr)
 #
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
+# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 att7300|unixpc|pc7300|3b1|s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E[=1C:
-
-#### Hewlett-Packard consoles
-#
-# These are descriptions for the HP700 series, the workstations formerly
-# known as Apollos.  HP terminals are described elsewhere in the file
-#
-
-# From: Victor Duchovni <vic@fine.princeton.edu>
-# (hp700-wy: removed obsolete ":nl=^J:";
-# replaced /usr/share/tabset/hp700-wy with std because :it#8:,:st=\E1: -- esr)
-hp700-wy|HP700/41 emulating wyse30:\
-	:am:bs:bw:mi:ms:\
-	:co#80:it#8:li#24:sg#1:ug#1:\
-	:al=0.7*\EE:bt=\EI:cd=\EY:ce=10\ET:cl=^Z:cm=\E=%+ %+ :\
-	:cr=^M:ct=\E0:cv=\E[%+ :dc=\EW:dl=\ER:do=^V:ei=\Er:ho=^^:\
-	:i1=\E~"\EC\Er\E(\EG0\003\E`9\E`1:\
-	:if=/usr/share/tabset/stdcrt:im=\Eq:kB=\EI:kC=^Z:kE=\ET:\
-	:kI=\Eq:kM=\Er:kS=\EY:kT=\EI:kb=\177:kd=^V:kh=^^:kl=^H:kr=^L:\
-	:ku=^K:le=^H:ll=^^^K:me=10\EG0:nd=^L:se=10\EG0:so=10\EG4:\
-	:sr=\Ej:st=\E1:ta=^I:ue=10\EG0:up=^K:us=10\EG8:
-hp70092|hp70092a|hp70092A|HP 700/92:\
-	:am:da:db:xs:\
-	:Nl#8:co#80:lh#2:li#24:lm#0:lw#8:\
-	:LF=\E&j@:LO=\E&jB:ac=0cjgktlrmfn/q,t5u6v8w7x.:ae=^O:\
-	:al=\EL:as=^N:bl=^G:bt=\Ei:ce=\EK:ch=\E&a%dC:\
-	:cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:cr=^M:ct=\E3:cv=\E&a%dY:\
-	:dc=\EP:dl=\EM:do=\EB:ei=\ER:im=\EQ:k1=\Ep:k2=\Eq:k3=\Er:\
-	:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:kA=\EL:kC=\EJ:kD=\EP:\
-	:kE=\EK:kF=\ES:kH=\EF:kI=\EQ:kL=\EM:kM=\ER:kN=\EU:kP=\EV:\
-	:kR=\ET:kS=\EJ:kT=\E1:ka=\E3:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:\
-	:kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:ku=\EA:le=^H:mb=\E&dA:\
-	:md=\E&dB:me=\E&d@:mh=\E&dH:mr=\E&dB:nd=\EC:se=\E&d@:\
-	:so=\E&dJ:sr=\ET:st=\E1:ta=^I:ue=\E&d@:up=\EA:us=\E&dD:
-
-#  HP 700/44 Setup parameters:  
-# Terminal Mode		HP-PCterm
-# Inhibit Auto Wrap	NO
-# Status Line		Host Writable
-# PC Character Set	YES
-# Twenty-Five Line Mode	YES
-# XON/XOFF		@128 or 64 (sc)
-# Keycode Mode 		NO   or YES (sc)
-# Backspace Key		BS or BS/DEL
-#
-# :is: 	sets pcterm; autowrap; 25 lines; pc char set; prog DEL key; 
-# \E\\? does not turn off keycode mode
-# <smsc>	sets alternate start/stop; keycode on
-hpansi|hp700|hewlett packard 700/44 in HP-PCterm mode:\
-	:am:eo:xn:xo:\
-	:co#80:li#25:\
-	:@7=\E[4~:RA=\E[?7l:S4=\E[>11h\EPO**x0/65;1/67\E\\:\
-	:S5=\E[>11l\EP1**x0/11;1/13\E[m\E\\:SA=\E[?7h:XF=g:XN=e:\
-	:ac=k\277l\332m\300j\331n\305w\302q\304u\264t\303v\301x\263:\
-	:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:\
-	:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
-	:ic=\E[@:im=:\
-	:is=\E[44"p\E[?7h\E[>10h\E[>12h\EP1;1|3/7F\E\\:\
-	:k1=\E[17~:k2=\E[18~:k3=\E[19~:k4=\E[20~:k5=\E[21~:\
-	:k6=\E[23~:k7=\E[24~:k8=\E[25~:k9=\E[26~:k;=\E[28~:\
-	:kB=\E[Z:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:kh=\E[1~:kl=\E[D:\
-	:kr=\E[C:ku=\E[A:le=\E[D:me=\E[m:nd=\E[C:se=\E[m:sf=^J:\
-	:so=\E[7m:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[?25h:\
-	:vi=\E[?25l:
-
-#### Iris consoles
-#
+	:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
+	:UP=\E[%dA:al=\E[L:bl=^G:bt=\E^I:cd=\E[0J:ce=\E[0K:\
+	:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:\
+	:do=\E[B:ei=:ho=\E[H:i1=\017\E[=1w:ic=\E[@:im=:k1=\EOc:\
+	:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:\
+	:kD=\ENf:kI=\ENj:kN=\E[U:kP=\E[V:kb=^H:kd=\E[B:kh=\E[H:\
+	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[9m:md=\E[1m:\
+	:me=\E[0;10m:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\EE:se=\E[m:\
+	:sf=^J:so=\E[7m:sr=\EM:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[=0C:\
+	:vi=\E[=1C:
 
 # Sent by Stefan Stapelberg <stefan@rent-a-guru.de>, 24 Feb 1997, this is
 # from SGI's terminfo database.  SGI's entry shows F9-F12 with the codes
@@ -4333,7 +1015,6 @@
 #
 #	control-tab	\[072q
 #
-# iris-ansi-net alias helps with IRIX does when you rsh to a remote system. 
 iris-ansi|iris-ansi-net|IRIS emulating 40 line ANSI terminal (almost VT100):\
 	:am:\
 	:co#80:it#8:li#40:\
@@ -4353,457 +1034,1986 @@
 	:so=\E[1;7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:\
 	:ve=\E[9/y\E[12/y\E[=6l:vs=\E[10/y\E[=1h\E[=2l\E[=6h:
 iris-ansi-ap|IRIS ANSI in application-keypad mode:\
-	:am:\
-	:co#80:it#8:li#40:\
-	:!2=\E[218q:#2=\E[143q:#4=\E[158q:%9=\E[209q:%f=\E[210q:\
-	:%i=\E[167q:&7=\E[217q:*4=\E[P:*7=\E[147q:@7=\E[146q:\
-	:@8=\EOM:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:F1=\E[011q:\
-	:F2=\E[012q:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
-	:UP=\E[%dA:al=\E[L:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:dl=\E[M:do=^J:\
-	:ho=\E[H:is=\E[?1l\E=\E[?7h:k1=\E[001q:k2=\E[002q:\
-	:k3=\E[003q:k4=\E[004q:k5=\E[005q:k6=\E[006q:k7=\E[007q:\
-	:k8=\E[008q:k9=\E[009q:k;=\E[010q:kB=\E[Z:kD=\177:\
-	:kI=\E[139q:kM=\E[146q:kN=\E[154q:kP=\E[150q:kb=^H:\
-	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:md=\E[1m:\
-	:me=\E[m:mr=\E[7m:nd=\E[C:nw=\EE:pk=\EP101;%d.y%s\E\\:\
-	:rc=\E8:sc=\E7:se=\E[m:sf=\ED:so=\E[1;7m:sr=\EM:st=\EH:\
-	:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[9/y\E[12/y\E[=6l:\
-	:vs=\E[10/y\E[=1h\E[=2l\E[=6h:
+	:@8=\EOM:F1=\E[011q:F2=\E[012q:is=\E[?1l\E=\E[?7h:\
+	:k9=\E[009q:k;=\E[010q:tc=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:\
-	:am:\
-	:Co#8:NC#33:co#80:it#8:li#40:p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\E[c:ue=\E[24m:\
-	:up=\E[A:us=\E[4m:ve=\E[9/y\E[12/y\E[=6l:\
-	:vs=\E[10/y\E[=1h\E[=2l\E[=6h:
-
-# (wsiris: this had extension capabilities
-#	:HS=\E7F2:HE=\E7F7:\
-#	:CT#2:CZ=*Bblack,red,green,yellow,blue,magenta,cyan,*Fwhite:
-# See the note on Iris extensions near the end of this file.  
-# Finally, removed suboptimal :cl:=\EH\EJ and added :do: & 
-# :vb: from BRL -- esr)
-wsiris|iris40|iris emulating a 40 line visual 50 (approximately):\
-	:am:bs:nc:pt:\
-	:co#80:it#8:kn#3:li#40:\
-	:al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=\Ev:cm=\EY%+ %+ :dl=\EM:\
-	:do=\EB:ho=\EH:is=\E7B0\E7F7\E7C2\E7R3:k0=\E0:k1=\E1:\
-	:k2=\E2:k3=\E3:k4=\E4:k5=\E5:k6=\E6:k7=\E7:k8=\E8:k9=\E9:\
-	:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:me=\E7F7:mh=\E7F2:nd=\EC:\
-	:nl=\EB:se=\E0@:sf=^J:so=\E9P:sr=\EI:ta=^I:ue=\E7R3\E0@:\
-	:up=\EA:us=\E7R2\E9P:vb=\E7F4\E7B1\013\E7F7\E7B0:ve=\E>:\
-	:vs=\E;:
-
-#### NeWS consoles
-#
-# Console terminal windows under the NeWS (Sun's Display Postscript windowing
-# environment).   Note: these have nothing to do with Sony's News workstation
-# line.
-#
-
-# Entry for NeWS's psterm from Eric Messick & Hugh Daniel
-# (psterm: unknown ":sl=\EOl:el=\ENl:" removed -- esr)
-psterm|psterm-basic|NeWS psterm-80x34:\
-	:am:bs:hs:km:ul:\
-	:co#80:it#8:li#34:\
-	:al=\EA:cd=\EB:ce=\EC:cl=^L:cm=\E%d;%d;:cs=\EE%d;%d;:\
-	:dc=\EF:dl=\EK:do=\EP:ei=\ENi:fs=\ENl:ho=\ER:i1=\EN*:\
-	:im=\EOi:kd=\E[B:kl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:cm=\E%d;%d;:cs=\EE%d;%d;:\
-	:dc=\EF:dl=\EK:do=\EP:ei=\ENi:fs=\ENl:ho=\ER:i1=\EN*:\
-	:im=\EOi:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=\ET:ll=\EU:\
-	:mb=\EOb:md=\EOd:me=\EN*:mr=\EOr:nd=\EV:rc=^\:sc=^]:se=\ENo:\
-	:sf=\EW:so=\EOo:sr=\EX:ta=^I:te=\ENt:ti=\EOt:ts=\EOl:\
-	:ue=\ENu:up=\EY:us=\EOu:vb=\EZ:
-# This is a faster termcap for psterm.  Warning:  if you use this termcap,
-# some control characters you type will do strange things to the screen.
-# (psterm-fast: unknown ":sl=^Ol:el=^Nl:" -- esr)
-psterm-fast|NeWS psterm fast version (flaky ctrl chars):\
-	:am:bs:hs:km:ul:\
-	:co#80:it#8:li#34:\
-	:al=^A:cd=^B:ce=^C:cl=^L:cm=\004%d;%d;:cs=\005%d;%d;:dc=^F:\
-	:dl=^K:do=^P:ei=^Ni:fs=^Nl:ho=^R:i1=^N*:im=^Oi:kd=\E[B:\
-	:kl=\E[D:kr=\E[C:ku=\E[A:le=^T:ll=^U:mb=^Ob:md=^Od:me=^N*:\
-	:mr=^Or:nd=^V:rc=^\:sc=^]:se=^No:sf=^W:so=^Oo:sr=^X:ta=^I:\
-	:te=^Nt:ti=^Ot:ts=^Ol:ue=^Nu:up=^Y:us=^Ou:vb=^Z:
-
-#### NeXT consoles
-#
-# Use `glasstty' for the Workspace application
-#
-
-# From: Dave Wetzel <dave@turbocat.snafu.de> 22 Dec 1995
-next|NeXT console:\
-	:am:xt:\
-	:co#80:it#8:li#24:\
-	:bl=^G:ce=\E[K:cl=^L:cm=\E[%i%d;%dH:cr=^M:do=^J:ho=\E[H:\
-	:kb=^H:kd=^J:kl=^H:le=^H:me=\E[m:nd=\E[C:nw=^M^J:se=\E[4;1m:\
-	:sf=^J:so=\E[4;2m:ta=^I:up=\E[A:
-nextshell|NeXT Shell application:\
+	:tc=klone+color:tc=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,
+# (the former is untrue, and the latter failed under UCB/man); standout and
+# underline modes have been added.  Note: this entry describes the "native"
+# capabilities of the PC monochrome display, without ANY emulation; most
+# communications packages (but NOT PC/IX connect) do some kind of emulation.
+pcix|PC/IX console:\
+	:am:bw:eo:\
+	:co#80:li#24:\
+	:cd=\E[J:ce=\E[K:cl=\Ec:cm=\E[%i%2;%2H:do=\E[B:ho=\E[H:\
+	:le=^H:me=\E[m:nd=\E[C:se=\E[m:so=\E[7m:ue=\E[m:up=\E[A:\
+	:us=\E[4m:
+
+# (ibmpcx: this entry used to be known as ibmx.
+# It formerly included the following extension capabilities:
+#	:GC=b:GL=v:GR=t:RT=^J:\
+#	:GH=\E[196g:GV=\E[179g:\
+#	:GU=\E[193g:GD=\E[194g:\
+#	:G1=\E[191g:G2=\E[218g:G3=\E[192g:G4=\E[217g:\
+#	:CW=\E[E:NU=\E[F:RF=\E[G:RC=\E[H:\
+#	:WL=\E[K:WR=\E[L:CL=\E[M:CR=\E[N:\
+# I renamed GS/GE/WL/WR/CL/CR/PU/PD/HM/EN; also, removed a duplicate
+# ":kh=\E[Y:".  Added IBM-PC forms characters and highlights, they match
+# what was there before. -- esr)
+ibmpcx|xenix|ibmx|IBM PC xenix console display:\
+	:am:bs:ms:\
+	:co#80:li#25:\
+	:@7=\E[d:al=\E[L:cd=\E[J:ce=\E[K:cl=^L:cm=\E[%d;%dH:\
+	:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:k1=\E[K:\
+	:k2=\E[L:k3=\E[M:k4=\E[N:kN=\E[e:kP=\E[Z:kb=^H:kd=\E[B:\
+	:kh=\E[Y:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:nd=\E[C:up=\E[A:\
+	:tc=klone+acs:tc=klone+sgr:
+
+#### QNX
+#
+
+# QNX 4.0 Console
+# Michael's original version of this entry had <am@>, :ti=\Ei:,
+# :te=\Eh\ER:; this was so terminfo applications could write the lower
+# right corner without triggering a scroll.  The ncurses terminfo library can
+# handle this case with the :ic: capability, and prefers :am: for better
+# optimization.  Bug: The <op> capability resets attributes.
+# From: Michael Hunter <mphunter@qnx.com> 30 Jul 1996
+# (removed: :sa=%?%p1%t\E<%;%p2%t\E[%;%p3%t\E(%;%p4%t\E{%;%p6%t\E<%;,:)
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
+# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
+qnx|qnx4|qnx console:\
+	:km:mi:ms:xt:\
+	:co#80:it#4:li#25:\
+	:al=\EE:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:\
+	:dc=\Ef:dl=\EF:do=^J:ei=:ho=\EH:ic=\Ee:im=:k1=\377\201:\
+	:k2=\377\202:k3=\377\203:k4=\377\204:k5=\377\205:\
+	:k6=\377\206:k7=\377\207:k8=\377\210:k9=\377\211:\
+	:kD=\377\254:kI=\377\253:kN=\377\252:kP=\377\242:\
+	:kd=\377\251:kh=\377\240:kl=\377\244:kr=\377\246:\
+	:ku=\377\241:le=^H:mb=\E{:md=\E<:me=\E}\E]\E>\E):mr=\E(:\
+	:nd=\EC:rp=\Eg%r%+ %.:se=\E):sf=^J:so=\E(:sr=\EI:ta=^I:\
+	:te=\Eh\ER:ti=\Ei:ue=\E]:up=\EA:us=\E[:ve=\Ey1:vi=\Ey0:\
+	:vs=\Ey2:
+#
+#
+qnxt|qnxt4|QNX4 terminal:\
+	:YB:tc=qnx4:
+#
+qnxm|QNX4 with mouse events:\
+	:Yd#1:\
+	:ZC=\E/:ZD=\E":ZJ=\E/>2h:ZT=\E/>2l:ZZ=\E/>1l\E/>9h:\
+	:Za=\E/>7h:Zb=\E/>7l:Zd=\E/>6l:Zf=\E/>1h:Zg=\E/>1h:\
+	:Zh=\E/>1h\E/>9l:Zi=\E/>6h:i1=\E/0t:tc=qnx4:
+#
+qnxw|QNX4 windows:\
+	:YD:tc=qnxm:
+#
+#	Monochrome QNX4 terminal or console. Setting this terminal type will
+#	allow an application running on a color console to behave as if it
+#	were a monochrome terminal. Output will be through stdout instead of
+#	console writes because the term routines will recognize that the
+#	terminal name starts with 'qnxt'.
+#
+qnxtmono|Monochrome QNX4 terminal or console:\
+	:Co@:pa@:\
+	:sp@:tc=qnx4:
+
+# From: Federico Bianchi <bianchi@pc-arte2.arte.unipi.it>, 1 Jul 1998
+# (esr: commented out <scp> and :te: to avoid warnings.)
+# (TD: derive from original qnx4 entry)
+qnxt2|qnx 2.15 serial terminal:\
+	:am:\
+	:!3@:%h@:%j@:&7@:Sb@:Sf@:dc@:ei=:ic@:im=:rp@:se=\E>:so=\E<:te@:ti@:\
+	:ve@:vi@:vs@:tc=qnx4:
+
+# QNX ANSI terminal definition
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
+# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
+qansi-g|QNX ANSI:\
+	:am:es:hs:xo:\
+	:co#80:it#8:li#25:ws#80:\
+	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
+	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ae=^O:\
+	:al=\E[1L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:\
+	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[2g:dc=\E[P:\
+	:dl=\E[1M:do=\E[B:ds=\E[r:ec=\E[%dX:ei=:fs=\E[?6h\E8:\
+	:ho=\E[H:i2=\E(B\E)0:ic=\E[1@:im=:\
+	:is=\E>\E[?1l\E[?7h\E[0;10;39;49m:k1=\EOP:k2=\EOQ:\
+	:k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:k9=\EOX:\
+	:kD=\E[P:kI=\E[@:kN=\E[U:kP=\E[V:kb=^H:kd=\E[B:kh=\E[H:\
+	:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:ll=\E[99H:mb=\E[5m:\
+	:md=\E[1m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\EE:\
+	:se=\E[27m:sf=\E[S:so=\E[7m:sr=\E[T:st=\EH:ta=^I:\
+	:ts=\E7\E1;24r\E[?6l\E[25;%i%dH:ue=\E[24m:up=\E[A:\
+	:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h\E[?12l:vi=\E[?25l:\
+	:vs=\E[?12;25h:
+#
+qansi|QNX ansi with console writes:\
+	:YA:YC:tc=qansi-g:
+#
+qansi-t|QNX ansi without console writes:\
+	:YB:tc=qansi:
+#
+qansi-m|QNX ansi with mouse:\
+	:Yd#1:\
+	:ZC=\E[:ZD=\E]:ZJ=\E[>2h:ZT=\E[>2l:ZZ=\E[>1l\E[>9h:\
+	:Za=\E[>7h:Zb=\E[>7l:Zd=\E[>6l:Zf=\E[>1h:Zg=\E[>1h:\
+	:Zh=\E[>1h\E[>9l:Zi=\E[>6h:i1=\E[0t:tc=qansi:
+#
+qansi-w|QNX ansi for windows:\
+	:YD:tc=qansi-m:
+
+#### NetBSD consoles
+#
+# pcvt termcap database entries (corresponding to release 3.31)
+# Author's last edit-date: [Fri Sep 15 20:29:10 1995]
+#
+# (For the terminfo master file, I translated these into terminfo syntax.
+# Then I dropped all the pseudo-HP entries. we don't want and can't use
+# the :Xs: flag. Then I split :is: into a size-independent :i1: and a
+# size-dependent :is:.  Finally, I added <rmam>/<smam> -- esr)
+
+# NOTE: :ic: has been taken out of this entry. for reference, it should
+# be <ich1=\E[@>.  For discussion, see ICH/ICH1 VERSUS RMIR/SMIR below.
+# (esr: added :vi: and :ve: to resolve NetBSD Problem Report #4583)
+pcvtXX|pcvt vt200 emulator (DEC VT220):\
+	:am:km:mi:ms:xn:\
+	:it#8:vt#3:\
+	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
+	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:SF=\E[%dS:\
+	:SR=\E[%dT:UP=\E[%dA:\
+	:ac=++,,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz~~:\
+	:ae=\E(B:al=\E[L:as=\E(0:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
+	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
+	:ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
+	:i1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:im=\E[4h:\
+	:k1=\E[17~:k2=\E[18~:k3=\E[19~:k4=\E[20~:k5=\E[21~:\
+	:k6=\E[23~:k7=\E[24~:k8=\E[25~:kD=\E[3~:kH=\E[4~:kI=\E[2~:\
+	:kN=\E[6~:kP=\E[5~:kb=\177:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:\
+	:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:\
+	:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=\EE:\
+	:r1=\Ec\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
+	:rf=/usr/share/tabset/vt100:sc=\E7:se=\E[27m:sf=\ED:\
+	:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:\
+	:ve=\E[?25h:vi=\E[?25l:
+
+#	NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
+#	termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
+#	50 lines entries; 80 columns
+pcvt25|dec vt220 emulation with 25 lines:\
+	:co#80:li#25:\
+	:is=\E[1;25r\E[25;1H:tc=pcvtXX:
+pcvt28|dec vt220 emulation with 28 lines:\
+	:co#80:li#28:\
+	:is=\E[1;28r\E[28;1H:tc=pcvtXX:
+pcvt35|dec vt220 emulation with 35 lines:\
+	:co#80:li#35:\
+	:is=\E[1;35r\E[35;1H:tc=pcvtXX:
+pcvt40|dec vt220 emulation with 40 lines:\
+	:co#80:li#40:\
+	:is=\E[1;40r\E[40;1H:tc=pcvtXX:
+pcvt43|dec vt220 emulation with 43 lines:\
+	:co#80:li#43:\
+	:is=\E[1;43r\E[43;1H:tc=pcvtXX:
+pcvt50|dec vt220 emulation with 50 lines:\
+	:co#80:li#50:\
+	:is=\E[1;50r\E[50;1H:tc=pcvtXX:
+
+#	NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
+#	termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
+#	50 lines entries; 132 columns
+pcvt25w|dec vt220 emulation with 25 lines and 132 cols:\
+	:co#132:li#25:\
+	:is=\E[1;25r\E[25;1H:tc=pcvtXX:
+pcvt28w|dec vt220 emulation with 28 lines and 132 cols:\
+	:co#132:li#28:\
+	:is=\E[1;28r\E[28;1H:tc=pcvtXX:
+pcvt35w|dec vt220 emulation with 35 lines and 132 cols:\
+	:co#132:li#35:\
+	:is=\E[1;35r\E[35;1H:tc=pcvtXX:
+pcvt40w|dec vt220 emulation with 40 lines and 132 cols:\
+	:co#132:li#40:\
+	:is=\E[1;40r\E[40;1H:tc=pcvtXX:
+pcvt43w|dec vt220 emulation with 43 lines and 132 cols:\
+	:co#132:li#43:\
+	:is=\E[1;43r\E[43;1H:tc=pcvtXX:
+pcvt50w|dec vt220 emulation with 50 lines and 132 cols:\
+	:co#132:li#50:\
+	:is=\E[1;50r\E[50;1H:tc=pcvtXX:
+
+# Terminfo entries to enable the use of the ncurses library in colour on a
+# NetBSD-arm32 console (only tested on a RiscPC).
+# Created by Dave Millen <dmill@globalnet.co.uk> 22.07.98
+# modified codes for setf/setb to setaf/setab, then to klone+color, corrected
+# typo in invis - TD
+arm100|arm100-am|Arm(RiscPC) ncurses compatible (for 640x480):\
+	:am:ms:ut:xn:xo:\
+	:co#80:it#8:li#30:\
+	:@8=\E[M:DO=\E[%dB:K1=\E[q:K2=\E[r:K3=\E[s:K4=\E[p:K5=\E[n:\
+	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
+	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
+	:ae=^O:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
+	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:do=^J:\
+	:eA=\E(B\E)0:ho=\E[H:k0=\E[y:k1=\E[P:k2=\E[Q:k3=\E[R:\
+	:k4=\E[S:k5=\E[t:k6=\E[u:k7=\E[v:k8=\E[l:k9=\E[w:k;=\E[x:\
+	:kb=^H:kd=\E[B:ke=\E[?1l\E>:kl=\E[D:kr=\E[C:ks=\E[?1h\E=:\
+	:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:mk=\E[8m:\
+	:mr=\E[7m:nd=\E[C:rc=\E8:\
+	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
+	:..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;$<2>:\
+	:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
+	:up=\E[A:us=\E[4m:tc=ecma+sgr:tc=klone+color:
+
+arm100-w|arm100-wam|Arm(RiscPC) ncurses compatible (for 1024x768):\
+	:co#132:li#50:tc=arm100:
+
+# NetBSD/x68k console vt200 emulator. This port runs on a 68K machine
+# manufactured by Sharp for the Japenese market.
+# From Minoura Makoto <minoura@netlaputa.or.jp>, 12 May 1996
+x68k|x68k-ite|NetBSD/x68k ITE:\
+	:co#96:li#32:\
+	:%1=\E[28~:kC=\E[9~:tc=vt220:
+
+# <tv@pobox.com>:
+# Entry for the DNARD OpenFirmware console, close to ANSI but not quite.
+#
+# (still unfinished, but good enough so far.)
+ofcons:\
+	:bw:\
+	:co#80:li#30:\
+	:AL=\233%dL:DC=\233%dP:DL=\233%dM:DO=\233%dB:IC=\233%d@:\
+	:LE=\233%dD:RI=\233%dC:UP=\233%dA:al=\233L:bl=^G:cd=\233J:\
+	:ce=\233K:cl=^L:cm=\233%i%d;%dH:cr=^M:dc=\233P:dl=\233M:\
+	:do=\233B:ei=:ic=\233@:im=:k1=\2330P:k2=\2330Q:k3=\2330W:\
+	:k4=\2330x:k5=\2330t:k6=\2330u:k7=\2330q:k8=\2330r:\
+	:k9=\2330p:k;=\2330M:kD=\233P:kN=\233/:kP=\233?:kb=^H:\
+	:kd=\233B:kl=\233D:kr=\233C:ku=\233A:le=\233D:mb=\2337;2m:\
+	:md=\2331m:me=\2330m:mh=\2332m:mk=\2338m:mr=\2337m:\
+	:nd=\233C:nw=^M^J:se=\2330m:sf=^J:ta=^I:ue=\2330m:up=\233A:\
+	:vb=^G:
+
+# NetBSD "wscons" emulator in vt220 mode
+# These are micro-minimal and probably need to be redone for real
+# after the manner of the pcvt entries.
+wsvt25|NetBSD wscons in 25 line DEC VT220 mode:\
+	:co#80:li#25:tc=vt220:
+
+wsvt25m|NetBSD wscons in 25 line DEC VT220 mode with Meta:\
+	:km:\
+	:co#80:li#25:tc=vt220:
+
+# `rasterconsole' provided by 4.4BSD, NetBSD and OpenBSD on SPARC, and 
+# DECstation/pmax.
+rcons|BSD rasterconsole:\
+	:tc=sun-il:
+# Color version of above. Color currenly only provided by NetBSD.
+rcons-color|BSD rasterconsole with ANSI color:\
+	:ut:\
+	:Co#8:pa#64:\
+	:AB=\E[4%dm:AF=\E[3%dm:op=\E[m:tc=rcons:
+
+# mgterm -- MGL/MGL2, MobileGear Graphic Library
+# for PocketBSD,PocketLinux,NetBSD/{hpcmips,mac68k}
+# -- the setf/setb are probably incorrect, more likely setaf/setab -TD
+# -- compare with cons25w
+mgterm:\
+	:NP:am:bs:bw:eo:km:ms:pt:ut:\
+	:Co#8:co#80:it#8:li#18:pa#64:\
+	:@7=\E[F:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[W:\
+	:F2=\E[X:IC=\E[%d@:K2=\E[E:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:\
+	:SR=\E[%dT:Sb=\E[4%dm:Sf=\E[3%dm:UP=\E[%dA:al=\E[L:bl=^G:\
+	:bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:ch=\E[%i%d`:cl=\E[H\E[J:\
+	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:cv=\E[%i%dd:dc=\E[P:\
+	:dl=\E[M:do=\E[B:ec=\E[%dX:ei=:ho=\E[H:ic=\E[@:im=:k1=\E[M:\
+	:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:\
+	:k9=\E[U:k;=\E[V:kB=\E[Z:kD=\177:kI=\E[L:kN=\E[G:kP=\E[I:\
+	:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
+	:mb=\E[5m:md=\E[1m:me=\E[m:mh=\E[30;1m:mr=\E[7m:nd=\E[C:\
+	:nw=\E[E:op=\E[x:rc=\E8:rs=\E[x\E[m\Ec:sc=\E7:se=\E[m:\
+	:sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:up=\E[A:
+
+#### FreeBSD console entries
+#
+# From: Andrey Chernov <ache@astral.msk.su> 29 Mar 1996
+# Andrey Chernov maintains the FreeBSD termcap distributions.
+#
+# Note: Users of FreeBSD 2.1.0 and older versions must either upgrade
+# or comment out the :cb: capability in the console entry.
+#
+# Alexander Lukyanov reports:
+# I have seen FreeBSD-2.1.5R... The old el1 bug changed, but it is still there.
+# Now el1 clears not only to the line beginning, but also a large chunk
+# of previous line. But there is another bug - ech does not work at all.
+#
+
+# for syscons
+# common entry without semigraphics
+# Bug: The <op> capability resets attributes.
+# Bug? The ech and el1 attributes appear to move the cursor in some cases; for
+# instance el1 does if the cursor is moved to the right margin first.  Removed
+# by T.Dickey 97/5/3 (ech=\E[%p1%dX, el1=\E[1K)
+#
+# Setting colors turns off reverse; we cannot guarantee order, so use ncv.
+# Note that this disables standout with color.
+cons25w|ansiw|ansi80x25-raw|freebsd console (25-line raw mode):\
+	:NP:am:bw:eo:ms:ut:\
+	:Co#8:NC#21:co#80:it#8:li#25:pa#64:\
+	:@7=\E[F:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:\
+	:DL=\E[%dM:DO=\E[%dB:F1=\E[W:F2=\E[X:IC=\E[%d@:K2=\E[E:\
+	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
+	:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%i%d`:\
+	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cv=\E[%i%dd:dc=\E[P:\
+	:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:k1=\E[M:k2=\E[N:\
+	:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:\
+	:k;=\E[V:kB=\E[Z:kD=\177:kI=\E[L:kN=\E[G:kP=\E[I:kb=^H:\
+	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
+	:md=\E[1m:me=\E[m:mh=\E[30;1m:mr=\E[7m:nd=\E[C:nw=\E[E:\
+	:op=\E[x:rs=\E[x\E[m\Ec:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:\
+	:ta=^I:up=\E[A:ve=\E[=0C:vs=\E[=1C:
+cons25|ansis|ansi80x25|freebsd console (25-line ansi mode):\
+	:ac=-\030.^Y0\333`\004a\260f\370g\361h\261i\025j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263y\363z\362~\371:\
+	:tc=cons25w:
+cons25-m|ansis-mono|ansi80x25-mono|freebsd console (25-line mono ansi mode):\
+	:Co@:pa@:\
+	:AB@:AF@:md@:mh@:op@:ue=\E[m:us=\E[4m:tc=cons25:
+cons30|ansi80x30|freebsd console (30-line ansi mode):\
+	:li#30:tc=cons25:
+cons30-m|ansi80x30-mono|freebsd console (30-line mono ansi mode):\
+	:li#30:tc=cons25-m:
+cons43|ansi80x43|freebsd console (43-line ansi mode):\
+	:li#43:tc=cons25:
+cons43-m|ansi80x43-mono|freebsd console (43-line mono ansi mode):\
+	:li#43:tc=cons25-m:
+cons50|ansil|ansi80x50|freebsd console (50-line ansi mode):\
+	:li#50:tc=cons25:
+cons50-m|ansil-mono|ansi80x50-mono|freebsd console (50-line mono ansi mode):\
+	:li#50:tc=cons25-m:
+cons60|ansi80x60|freebsd console (60-line ansi mode):\
+	:li#60:tc=cons25:
+cons60-m|ansi80x60-mono|freebsd console (60-line mono ansi mode):\
+	:li#60:tc=cons25-m:
+cons25r|pc3r|ibmpc3r|cons25-koi8-r|freebsd console w/koi8-r cyrillic:\
+	:ac=-\030.^Y0\215`\004a\220f\234h\221i\025j\205k\203l\202m\204n\212q\0t\206u\207v\211w\210x\201y\230z\231~\225:\
+	:tc=cons25w:
+cons25r-m|pc3r-m|ibmpc3r-mono|cons25-koi8r-m|freebsd console w/koi8-r cyrillic (mono):\
+	:Co@:pa@:\
+	:AB@:AF@:op@:ue=\E[m:us=\E[4m:tc=cons25r:
+cons50r|cons50-koi8r|freebsd console w/koi8-r cyrillic (50 lines):\
+	:li#50:tc=cons25r:
+cons50r-m|cons50-koi8r-m|freebsd console w/koi8-r cyrillic (50-line mono):\
+	:li#50:tc=cons25r-m:
+cons60r|cons60-koi8r|freebsd console w/koi8-r cyrillic (60 lines):\
+	:li#60:tc=cons25r:
+cons60r-m|cons60-koi8r-m|freebsd console w/koi8-r cyrillic (60-line mono):\
+	:li#60:tc=cons25r-m:
+# ISO 8859-1 FreeBSD console
+cons25l1|cons25-iso8859|freebsd console w/iso 8859-1 chars:\
+	:ac=+\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:\
+	:tc=cons25w:
+cons25l1-m|cons25-iso-m|freebsd console w/iso 8859-1 chars (mono):\
+	:Co@:pa@:\
+	:AB@:AF@:md@:mh@:op@:ue=\E[m:us=\E[4m:tc=cons25l1:
+cons50l1|cons50-iso8859|freebsd console w/iso 8859-1 chars (50 lines):\
+	:li#50:tc=cons25l1:
+cons50l1-m|cons50-iso-m|freebsd console w/iso 8859-1 chars (50-line mono):\
+	:li#50:tc=cons25l1-m:
+cons60l1|cons60-iso|freebsd console w/iso 8859-1 chars (60 lines):\
+	:li#60:tc=cons25l1:
+cons60l1-m|cons60-iso-m|freebsd console w/iso 8859-1 chars (60-line mono):\
+	:li#60:tc=cons25l1-m:
+
+#### 386BSD and BSD/OS Consoles
+#
+
+# This was the original 386BSD console entry (I think).  
+# Some places it's named oldpc3|oldibmpc3.
+# From: Alex R.N. Wetmore <aw2t@andrew.cmu.edu>
+origpc3|origibmpc3|IBM PC 386BSD Console:\
+	:am:bs:bw:eo:xo:\
+	:co#80:li#25:\
+	:ac=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263:\
+	:cd=\E[J:ce=\E[K:cl=\Ec:cm=\E[%i%2;%2H:do=\E[B:ho=\E[H:\
+	:kd=\E[B:kh=\E[Y:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:md=\E[7m:\
+	:me=\E[m\E[1;0x\E[2;7x:nd=\E[C:se=\E[1;0x\E[2;7x:\
+	:sf=\E[S:so=\E[1;7x\E[2;0x:sr=\E[T:ue=\E[1;0x\E[2;7x:\
+	:up=\E[A:us=\E[1;7x\E[2;0x:
+
+# description of BSD/386 console emulator in version 1.0 (supplied by BSDI)
+oldpc3|oldibmpc3|old IBM PC BSD/386 Console:\
+	:bs:km:\
+	:li#25:\
+	:al=\E[L:bl=^G:cr=^M:dl=\E[M:do=^J:kH=\E[F:kI=\E[L:kN=\E[G:\
+	:kP=\E[I:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
+	:md=\E[=15F:me=\E[=R:mh=\E[=8F:nw=^M^J:sf=^J:ta=^I:
+
+# Description of BSD/OS console emulator in version 1.1, 2.0, 2.1
+# Note, the emulator supports many of the additional console features
+# listed in the iBCS2 (e.g. character-set selection) though not all
+# are described here.  This entry really ought to be upgraded.
+# Also note, the console will also work with fewer lines after doing
+# "stty rows NN", e.g. to use 24 lines.
+# (Color support from Kevin Rosenberg <kevin@cyberport.com>, 2 May 1996) 
+# Bug: The <op> capability resets attributes.
+bsdos-pc|IBM PC BSD/OS Console:\
+	:..sa=\E[0;10%?%p1%t;7%;%?%p2%t;1%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m:\
+	:tc=bsdos-pc-nobold:
+
+bsdos-pc-nobold|BSD/OS PC console w/o bold:\
+	:tc=klone+color:tc=bsdos-pc-m:
+
+bsdos-pc-m|bsdos-pc-mono|BSD/OS PC console mono:\
+	:am:bs:eo:km:xo:\
+	:co#80:it#8:li#25:\
+	:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
+	:UP=\E[%dA:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\Ec:\
+	:cm=\E[%i%d;%dH:cr=^M:dl=\E[M:do=^J:ho=\E[H:kH=\E[F:\
+	:kI=\E[L:kN=\E[G:kP=\E[I:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
+	:kr=\E[C:ku=\E[A:le=^H:nd=\E[C:nw=^M^J:rc=\E8:\
+	:..sa=\E[0;10%?%p1%t;7%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m%?%p5%t\E[=8F%;:\
+	:sc=\E7:sf=^J:ta=^I:up=\E[A:tc=klone+sgr:
+
+# Old names for BSD/OS PC console used in releases before 4.1. 
+pc3|BSD/OS on the PC Console:\
+	:tc=bsdos-pc-nobold:
+ibmpc3|pc3-bold|BSD/OS on the PC Console with bold instead of underline:\
+	:tc=bsdos-pc:
+ 
+# BSD/OS on the SPARC 
+bsdos-sparc|Sun SPARC BSD/OS Console:\
+	:tc=sun:
+	 
+# BSD/OS on the PowerPC 
+bsdos-ppc|PowerPC BSD/OS Console:\
+	:tc=bsdos-pc:
+
+#### DEC VT52
+# (<acsc>/:ae:/:as: capabilities aren't in DEC's official entry -- esr)
+vt52|dec vt52:\
+	:bs:\
+	:co#80:it#8:li#24:\
+	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
+	:ae=\EG:as=\EF:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :\
+	:cr=^M:do=\EB:ho=\EH:kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:\
+	:le=\ED:nd=\EC:nw=^M^J:sf=^J:sr=\EI:ta=^I:up=\EA:
+
+#### DEC VT100 and compatibles
+#
+# DEC terminals from the vt100 forward are collected here. Older DEC terminals
+# and micro consoles can be found in the `obsolete' section.  More details on
+# the relationship between the VT100 and ANSI X3.64/ISO 6429/ECMA-48 may be
+# found near the end of this file.
+#
+# Except where noted, these entries are DEC's official terminfos.
+# Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
+# Engineering for more information.  Updated terminfos and termcaps 
+# 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.  SunRiver has since changed
+# its name to Boundless Technologies; see http://www.boundless.com.
+#
+
+# NOTE:  Any VT100 emulation, whether in hardware or software, almost
+# certainly includes what DEC called the `Level 1 editing extension' codes;
+# only the very oldest VT100s lacked these and there probably aren't any of
+# those left alive.  To capture these, use one of the VT102 entries.
+#
+# Note that the :xn: glitch in vt100 is not quite the same as on the Concept,
+# since the cursor is left in a different position while in the
+# weird state (concept at beginning of next line, vt100 at end
+# of this line) so all versions of vi before 3.7 don't handle
+# :xn: right on vt100. The correct way to handle :xn: is when
+# you output the char in column 80, immediately output CR LF
+# and then assume you are in column 1 of the next line. If :xn:
+# is on, am should be on too.
+# 
+# I assume you have smooth scroll off or are at a slow enough baud
+# rate that it doesn't matter (1200? or less). Also this assumes
+# that you set auto-nl to "on", if you set it off use vt100-nam 
+# below.
+# 
+# The padding requirements listed here are guesses. It is strongly
+# recommended that xon/xoff be enabled, as this is assumed here.
+# 
+# The vt100 uses <rs2> and <rf> rather than :is:/:ct:/:st: because the 
+# tab settings are in non-volatile memory and don't need to be 
+# reset upon login. Also setting the number of columns glitches 
+# the screen annoyingly. You can type "reset" to get them set.
+#
+# The VT100 series terminals have cursor ("arrows") keys which can operate
+# in two different modes: Cursor Mode and Application Mode.  Cursor Mode
+# is the reset state, and is assumed to be the normal state.  Application
+# Mode is the "set" state.  In Cursor Mode, the cursor keys transmit
+# "Esc [ {code}" sequences, conforming to ANSI standards.  In Application
+# Mode, the cursor keys transmit "Esc O <code>" sequences.  Application Mode
+# was provided primarily as an aid to the porting of VT52 applications.  It is
+# assumed that the cursor keys are normally in Cursor Mode, and expected that
+# applications such as vi will always transmit the :ks: string.  Therefore,
+# the definitions for the cursor keys are made to match what the terminal
+# transmits after the :ks: string is transmitted.  If the :ks: string
+# is a null string or is not defined, then cursor keys are assumed to be in
+# "Cursor Mode", and the cursor keys definitions should match that assumption,
+# else the application may fail.  It is also expected that applications will
+# always transmit the :ke: string to the terminal before they exit.
+#
+# The VT100 series terminals have an auxiliary keypad, commonly referred to as
+# the "Numeric Keypad", because it is a cluster of numeric and function keys.
+# The Numeric Keypad which can operate in two different modes: Numeric Mode and
+# Application Mode.  Numeric Mode is the reset state, and is assumed to be
+# the normal state.  Application Mode is the "set" state.  In Numeric Mode,
+# the numeric and punctuation keys transmit ASCII 7-bit characters, and the 
+# Enter key transmits the same as the Return key (Note: the Return key
+# can be configured to send either LF (\015) or CR LF).  In Application Mode,
+# all the keypad keys transmit "Esc O {code}" sequences.  The PF1 - PF4 keys
+# always send the same "Esc O {code}" sequences.  It is assumed that the keypad
+# is normally in Numeric Mode.  If an application requires that the keypad be
+# in Application Mode then it is expected that the user, or the application,
+# will set the TERM environment variable to point to a terminfo entry which has
+# defined the :ks: string to include the codes that switch the keypad into
+# Application Mode, and the terminfo entry will also define function key
+# fields to match the Application Mode control codes.  If the :ks: string
+# is a null string or is not defined, then the keypad is assumed to be in
+# Numeric Mode.  If the :ks: string switches the keypad into Application
+# Mode, it is expected that the :ke: string will contain the control codes
+# necessary to reset the keypad to "Normal" mode, and it is also expected that
+# applications which transmit the :ks: string will also always transmit the
+# :ke: string to the terminal before they exit.
+#
+# Here's a diagram of the VT100 keypad keys with their bindings.
+# The top line is the name of the key (some DEC keyboards have the keys
+# labelled somewhat differently, like GOLD instead of PF1, but this is
+# the most "official" name).  The second line is the escape sequence it
+# generates in Application Keypad mode (where "$" means the ESC
+# character).  The third line contains two items, first the mapping of
+# the key in terminfo, and then in termcap.
+#   _______________________________________
+#  |   PF1   |   PF2   |   PF3   |   PF4   |
+#  |   $OP   |   $OQ   |   $OR   |   $OS   |
+#  |_kf1__k1_|_kf2__k2_|_kf3__k3_|_kf4__k4_|
+#  |    7         8         9         -    |
+#  |   $Ow   |   $Ox   |   $Oy   |   $Om   |
+#  |_kf9__k9_|_kf10_k;_|_kf0__k0_|_________|
+#  |    4    |    5    |    6    |    ,    |
+#  |   $Ot   |   $Ou   |   $Ov   |   $Ol   |
+#  |_kf5__k5_|_kf6__k6_|_kf7__k7_|_kf8__k8_|
+#  |    1    |    2    |    3    |         |
+#  |   $Oq   |   $Or   |   $Os   |  enter  |
+#  |_ka1__K1_|_kb2__K2_|_ka3__K3_|  $OM    |
+#  |         0         |   .     |         |
+#  |        $Op        |  $On    |         |
+#  |___kc1_______K4____|_kc3__K5_|_kent_@8_|
+#
+# And here, for those of you with orphaned VT100s lacking documentation, is
+# a description of the soft switches invoked when you do `Set Up'.
+# 
+#  Scroll 0-Jump               Shifted 3   0-#
+#  |      1-Smooth             |           1-British pound sign
+#  | Autorepeat 0-Off          | Wrap Around 0-Off
+#  | |          1-On           | |           1-On
+#  | | Screen 0-Dark Bkg       | | New Line 0-Off
+#  | | |      1-Light Bkg      | | |        1-On
+#  | | | Cursor 0-Underline    | | | Interlace 0-Off
+#  | | | |      1-Block        | | | |         1-On
+#  | | | |                     | | | |
+#  1 1 0 1       1 1 1 1       0 1 0 0       0 0 1 0       <--Standard Settings
+#                | | | |                     | | | |
+#                | | | Auto XON/XOFF 0-Off   | | | Power 0-60 Hz
+#                | | |               1-On    | | |       1-50 Hz
+#                | | Ansi/VT52 0-VT52        | | Bits Per Char. 0-7 Bits
+#                | |           1-ANSI        | |                1-8 Bits
+#                | Keyclick 0-Off            | Parity 0-Off
+#                |          1-On             |        1-On
+#                Margin Bell 0-Off           Parity Sense 0-Odd
+#                            1-On                         1-Even
+#
+# The following SET-UP modes are assumed for normal operation:
+#	ANSI_MODE	AUTO_XON/XOFF_ON	NEWLINE_OFF	80_COLUMNS
+#	WRAP_AROUND_ON  JUMP_SCROLL_OFF
+# Other SET-UP modes may be set for operator convenience or communication
+# requirements; I recommend
+#	AUTOREPEAT_ON	BLOCK_CURSOR	MARGIN_BELL_OFF    SHIFTED_3_#
+# Unless you have a graphics add-on such as Digital Engineering's VT640
+# (and even then, whenever it can be arranged!) you should set
+#	INTERLACE_OFF
+#
+# (vt100: I added <rmam>/<smam> based on the init string, also :bs:. -- esr)
+vt100|vt100-am|dec vt100 (w/advanced video):\
+	:am:bs:ms:xn:xo:\
+	:co#80:it#8:li#24:vt#3:\
+	:@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
+	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
+	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
+	:ae=^O:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
+	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:do=^J:\
+	:eA=\E(B\E)0:ho=\E[H:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:\
+	:k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:\
+	:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
+	:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:\
+	:nd=\E[C:rc=\E8:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
+	:..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<2>:\
+	:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
+	:up=\E[A:us=\E[4m:
+vt100nam|vt100-nam|vt100 no automargins:\
+	:am@:xn@:tc=vt100-am:
+vt100-vb|dec vt100 (w/advanced video) & no beep:\
+	:bl@:vb=\E[?5h\E[?5l:tc=vt100:
+
+# Ordinary vt100 in 132 column ("wide") mode.
+vt100-w|vt100-w-am|dec vt100 132 cols (w/advanced video):\
+	:co#132:li#24:\
+	:rs=\E>\E[?3h\E[?4l\E[?5l\E[?8h:tc=vt100-am:
+vt100-w-nam|vt100-nam-w|dec vt100 132 cols (w/advanced video no automargin):\
+	:co#132:li#14:vt@:\
+	:rs=\E>\E[?3h\E[?4l\E[?5l\E[?8h:tc=vt100-nam:
+
+# vt100 with no advanced video.
+vt100-nav|vt100 without advanced video option:\
+	:sg#1:\
+	:mb@:md@:me@:mr@:sa@:se=\E[m:so=\E[7m:ue@:us@:tc=vt100:
+vt100-nav-w|vt100-w-nav|dec vt100 132 cols 14 lines (no advanced video option):\
+	:co#132:li#14:tc=vt100-nav:
+
+# vt100 with one of the 24 lines used as a status line.
+# We put the status line on the top.
+vt100-s|vt100-s-top|vt100-top-s|vt100 for use with top sysline:\
+	:es:hs:\
+	:li#23:\
+	:cl=\E[2;1H\E[J:cm=\E[%i%+^A;%dH:cs=\E[%i%i%d;%dr:\
+	:ds=\E7\E[1;24r\E8:fs=\E8:ho=\E[2;1H:is=\E7\E[2;24r\E8:\
+	:ts=\E7\E[1;%dH\E[1K:tc=vt100-am:
+
+# Status line at bottom. 
+# Clearing the screen will clobber status line.
+vt100-s-bot|vt100-bot-s|vt100 for use with bottom sysline:\
+	:es:hs:\
+	:li#23:\
+	:ds=\E7\E[1;24r\E8:fs=\E8:is=\E[1;23r\E[23;1H:\
+	:ts=\E7\E[24;%dH\E[1K:tc=vt100-am:
+
+# Most of the `vt100' emulators out there actually emulate a vt102
+# This entry (or vt102-nsgr) is probably the right thing to use for
+# these.  
+vt102|dec vt102:\
+	:mi:\
+	:al=\E[L:dc=\E[P:dl=\E[M:ei=\E[4l:im=\E[4h:tc=vt100:
+vt102-w|dec vt102 in wide mode:\
+	:co#132:\
+	:r3=\E[?3h:tc=vt102:
+
+# Many brain-dead PC comm programs that pretend to be `vt100-compatible'
+# fail to interpret the ^O and ^N escapes properly.  Symptom: the :me:
+# string in the canonical vt100 entry above leaves the screen littered
+# with little  snowflake or star characters (IBM PC ROM character \017 = ^O)
+# after highlight turnoffs.  This entry should fix that, and even leave
+# ACS support working, at the cost of making multiple-highlight changes 
+# slightly more expensive.
+# From: Eric S. Raymond <esr@snark.thyrsus.com> July 22 1995
+vt102-nsgr|vt102 no sgr (use if you see snowflakes after highlight changes):\
+	:me=\E[m:sa@:tc=vt102:
+
+# VT125 Graphics CRT.  Clear screen also erases graphics
+vt125|vt125 graphics terminal:\
+	:cl=\E[H\E[2J\EPpS(E)\E\\:tc=vt100:
+
+# This isn't a DEC entry, it came from University of Wisconsin.
+# (vt131: I added <rmam>/<smam> based on the init string, also :bs: -- esr)
+vt131|dec vt131:\
+	:am:bs:xn:\
+	:co#80:it#8:li#24:vt#3:\
+	:RA=\E[?7h:SA=\E[?7h:bl=^G:cd=50\E[J:ce=3\E[K:\
+	:cl=50\E[;H\E[2J:cm=5\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
+	:do=^J:ho=\E[H:is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:\
+	:k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
+	:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=2\E[5m:md=2\E[1m:\
+	:me=2\E[m:mr=2\E[7m:nd=2\E[C:nw=^M^J:\
+	:r1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:sc=\E7:\
+	:se=2\E[m:so=2\E[7m:sr=5\EM:ta=^I:ue=2\E[m:up=2\E[A:\
+	:us=2\E[4m:
+
+# vt132 - like vt100 but slower and has ins/del line and such.
+# I'm told that :im:/:ei: are backwards in the terminal from the
+# manual and from the ANSI standard, this describes the actual 
+# terminal. I've never actually used a vt132 myself, so this 
+# is untested.
+#
+vt132|DEC vt132:\
+	:xn:\
+	:al=\E[L:dc=\E[P:dl=\E[M:ei=\E[4h:im=\E[4l:ip=:sf=\n:\
+	:tc=vt100:
+
+# This vt220 description maps F5--F9 to the second block of function keys
+# at the top of the keyboard.  The "DO" key is used as F10 to avoid conflict
+# with the key marked (ESC) on the vt220.  See vt220d for an alternate mapping.
+# PF1--PF4 are used as F1--F4.
+#
+vt220-old|vt200-old|DEC VT220 in vt100 emulation mode:\
+	:am:bs:mi:pt:xn:xo:\
+	:co#80:li#24:vt#3:\
+	:@7=\E[4~:RA=\E[?7l:SA=\E[?7h:\
+	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
+	:ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:\
+	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
+	:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
+	:if=/usr/share/tabset/vt100:im=\E[4h:\
+	:is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
+	:k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:k9=\E[21~:\
+	:k;=\E[29~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:\
+	:kd=\E[B:kh=\E[1~:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
+	:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nl=^J:rc=\E8:\
+	:rf=/usr/share/tabset/vt100:\
+	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
+	:..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;$<2>:\
+	:sc=\E7:se=\E[27m:sf=20\ED:so=\E[7m:sr=14\EM:ta=^I:\
+	:ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[?25h:vi=\E[?25l:
+
+# A much better description of the VT200/220; used to be vt220-8
+# changed rmacs/smacs from shift-in/shift-out to vt200-old's explicit G0/G1
+# designation to accommodate bug in pcvt -TD
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
+vt220|vt200|dec vt220:\
+	:5i:am:bs:mi:ms:xn:xo:\
+	:co#80:it#8:li#24:vt#3:\
+	:%0=\E[29~:%1=\E[28~:*6=\E[4~:@0=\E[1~:AL=\E[%dL:\
+	:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:\
+	:F3=\E[25~:F4=\E[26~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
+	:FA=\E[34~:IC=\E[%d@:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:\
+	:SA=\E[?7h:UP=\E[%dA:ae=\E(B:al=\E[L:as=\E(0:bl=^G:\
+	:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
+	:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
+	:eA=\E)0:ec=\E[%dX:ei=\E[4l:ho=\E[H:\
+	:if=/usr/share/tabset/vt100:im=\E[4h:\
+	:is=\E[?7h\E[>\E[?1h\E F\E[?4l:k1=\EOP:k2=\EOQ:k3=\EOR:\
+	:k4=\EOS:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
+	:k;=\E[21~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:\
+	:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:l1=pf1:l2=pf2:l3=pf3:\
+	:l4=pf4:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
+	:nw=\EE:pf=\E[4i:po=\E[5i:ps=\E[i:r1=\E[?3l:rc=\E8:sc=\E7:\
+	:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[24m:\
+	:up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:
+vt220-w|vt200-w|DEC vt220 in wide mode:\
+	:co#132:\
+	:r3=\E[?3h:tc=vt220:
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
+# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
+vt220-8bit|vt220-8|vt200-8bit|vt200-8|dec vt220/200 in 8-bit mode:\
+	:am:bs:mi:ms:xn:xo:\
+	:co#80:it#8:li#24:vt#3:\
+	:AL=\233%dL:DC=\233%dP:DL=\233%dM:DO=\233%dB:IC=\233%d@:\
+	:LE=\233%dD:RI=\233%dC:UP=\233%dA:ae=^O:al=\233L:as=^N:\
+	:bl=^G:cd=\233J:ce=\233K:cl=\233H\233J:cm=\233%i%d;%dH:\
+	:cr=^M:cs=\233%i%d;%dr:ct=\2333g:dc=\233P:dl=\233M:do=^J:\
+	:ec=\233%dX:ei=\2334l:ho=\233H:\
+	:if=/usr/share/tabset/vt100:im=\2334h:\
+	:is=\233?7h\233>\233?1h\E F\233?4l:k1=\EOP:k2=\EOQ:\
+	:k3=\EOR:k4=\EOS:k6=\23317~:k7=\23318~:k8=\23319~:\
+	:k9=\23320~:kI=\2332~:kN=\2336~:kP=\2335~:kb=^H:kd=\233B:\
+	:kh=\233H:kl=\233D:kr=\233C:ku=\233A:le=^H:mb=\2335m:\
+	:md=\2331m:me=\233m:mr=\2337m:nd=\233C:nw=\EE:rc=\E8:\
+	:sc=\E7:se=\23327m:sf=\ED:so=\2337m:sr=\EM:st=\EH:ta=^I:\
+	:ue=\23324m:up=\233A:us=\2334m:vb=\233?5h\233?5l:
+
+#
+# vt220d:
+# This vt220 description regards F6--F10 as the second block of function keys
+# at the top of the keyboard.  This mapping follows the description given
+# in the VT220 Programmer Reference Manual and agrees with the labeling
+# on some terminals that emulate the vt220.  There is no support for an F5.
+# See vt220 for an alternate mapping. 
+#
+vt220d|DEC VT220 in vt100 mode with DEC function key labeling:\
+	:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\
+	:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:k5@:\
+	:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
+	:tc=vt220-old:
+
+vt220-nam|v200-nam|VT220 in vt100 mode with no auto margins:\
+	:am@:\
+	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h:tc=vt220:
+
+# 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
+# (Added vt100 :rc:,:sc: to quiet a tic warning -- esr)
+vt200-js|vt220-js|dec vt200 series with jump scroll:\
 	:am:\
 	:co#80:\
-	:bl=^G:cr=^M:do=^J:kb=^H:kd=^J:kl=^H:le=^H:nw=^M^J:ta=^I:
-
-#### SCO consoles
-#
-
-# SCO console and SOS-Syscons console for 386bsd
-# (scoansi: had unknown capabilities
-#	:Gc=N:Gd=K:Gh=M:Gl=L:Gu=J:Gv=\072:\
-#	:GC=E:GD=B:GH=D:GL=\64:GU=A:GV=\63:GR=C:
-#	:G1=?:G2=Z:G3=@:G4=Y:G5=;:G6=I:G7=H:G8=<:\
-#	:CW=\E[M:NU=\E[N:RF=\E[O:RC=\E[P:\
-#	:WL=\E[S:WR=\E[T:CL=\E[U:CR=\E[V:\
-# I renamed GS/GE/HM/EN/PU/PD/RT and added klone+sgr-dumb, based
-# on the :as:=\E[12m  -- esr)
-# SCO function keys and <acsc> corrected by Thomas Dickey.
-# In this description based on SCO's keyboard(HW) manpage list of default function key
-# values:
-#	F13-F24 are shifted F1-F12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1%;%?%p7%t;8%;%?%p9%t;12%;m:\
-	:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:ue=\E[m:up=\E[A:\
-	:us=\E[4m:
-
-#### Sun consoles
-#
-
-# :is1: resets scrolling region in case a previous user had used "tset vt100"
-oldsun|Sun Microsystems Workstation console:\
-	:am:bs:km:mi:ms:\
-	:co#80:it#8:li#34:\
-	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:al=\E[L:bl=^G:\
-	:cd=\E[J:ce=\E[K:cl=^L:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:\
-	:dl=\E[M:do=\E[B:ei=:i1=\E[1r:ic=\E[@:im=:k1=\EOP:k2=\EOQ:\
-	:k3=\EOR:k4=\EOS:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
-	:le=^H:me=\E[m:nd=\E[C:se=\E[m:sf=^J:so=\E[7m:ta=^I:up=\E[A:
-# From: Alexander Lukyanov <lav@video.yars.free.net>, 14 Nov 1995
-# :li: 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:ms:\
-	:co#80:li#34:\
-	:%7=\E[194z:&5=\E[193z:&8=\E[195z:@7=\E[220z:AL=\E[%dL:\
-	:DC=\E[%dP:DL=\E[%dM:F1=\E[234z:F2=\E[235z:IC=\E[%d@:\
-	:K2=\E[218z:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=^L:\
-	:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=:ic=\E[@:im=:\
-	:k1=\E[224z:k2=\E[225z:k3=\E[226z:k4=\E[227z:k5=\E[228z:\
-	:k6=\E[229z:k7=\E[230z:k8=\E[231z:k9=\E[232z:k;=\E[233z:\
-	:kD=\177:kN=\E[222z:kP=\E[216z:kb=^H:kd=\E[B:kh=\E[214z:\
-	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:mr=\E[7m:nd=\E[C:\
-	:rs=\E[s:\
-	:..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m:\
-	:se=\E[m:sf=^J:so=\E[7m:ta=^I:u8=\E[1t:u9=\E[11t:up=\E[A:
-# On a SparcStation 5, :al:/:AL: flake out on the last line.
-# Unfortunately, without them the terminal has no way to scroll.
-sun-ss5|Sun SparcStation 5 console:\
-	:am:km:ms:\
-	:co#80:li#34:\
-	:%7=\E[194z:&5=\E[193z:&8=\E[195z:@7=\E[220z:DC=\E[%dP:\
-	:DL=\E[%dM:F1=\E[234z:F2=\E[235z:IC=\E[%d@:K2=\E[218z:\
-	:bl=^G:cd=\E[J:ce=\E[K:cl=^L:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:\
-	:dl=\E[M:do=^J:ei=:ic=\E[@:im=:k1=\E[224z:k2=\E[225z:\
-	:k3=\E[226z:k4=\E[227z:k5=\E[228z:k6=\E[229z:k7=\E[230z:\
-	:k8=\E[231z:k9=\E[232z:k;=\E[233z:kD=\177:kN=\E[222z:\
-	:kP=\E[216z:kb=^H:kd=\E[B:kh=\E[214z:kl=\E[D:kr=\E[C:\
-	:ku=\E[A:le=^H:me=\E[m:mr=\E[7m:nd=\E[C:rs=\E[s:\
-	:..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m:\
-	:se=\E[m:sf=^J:so=\E[7m:ta=^I:u8=\E[1t:u9=\E[11t:up=\E[A:
-# If you are using an SS5, change the sun definition to use sun-ss5.
-sun|sun1|sun2|Sun Microsystems Inc. workstation console:\
-	:am:km:ms:\
-	:co#80:li#34:\
-	:%7=\E[194z:&5=\E[193z:&8=\E[195z:@7=\E[220z:AL=\E[%dL:\
-	:DC=\E[%dP:DL=\E[%dM:F1=\E[234z:F2=\E[235z:IC=\E[%d@:\
-	:K2=\E[218z:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=^L:\
-	:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=:ic=\E[@:im=:\
+	:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
+	:cr=^M:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:dm=:do=^J:ed=:\
+	:ei=\E[4l:ho=\E[H:im=\E[4h:\
+	:is=\E[61"p\E[H\E[?3l\E[?4l\E[?1l\E[?5l\E[?6l\E[?7h\E[?8h\E[?25h\E>\E[m:\
+	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:\
+	:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
+	:nw=^M\ED:r1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
+	:rf=/usr/lib/tabset/vt100:sc=\E7:se=5\E[27m:sf=\ED:\
+	:so=5\E[7m:sr=\EM:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:
+ 
+# This was DEC's vt320.  Use the purpose-built one below instead 
+#vt320|DEC VT320 in vt100 emulation mode,
+#	use=vt220,
+
+#
+# Use v320n for SCO's LYRIX.  Otherwise, use Adam Thompson's vt320-nam.
+#
+vt320nam|v320n|DEC VT320 in vt100 emul. mode with NO AUTO WRAP mode:\
+	:am@:\
+	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h:tc=vt220:
+
+# These entries are not DEC's official ones, they were purpose-built for the 
+# VT320.  Here are the designer's notes:
+# <kel> is end on a PC kbd.  Actually 'select' on a VT.  Mapped to 
+# 'Erase to End of Field'... since nothing seems to use 'end' anyways...
+# khome is Home on a PC kbd.  Actually 'FIND' on a VT.
+# Things that use <knxt> usually use tab anyways... and things that don't use
+# tab usually use <knxt> instead...
+# kprv is same as tab - Backtab is useless...
+# I left out :sa: because of its RIDICULOUS complexity,
+# and the resulting fact that it causes the termcap translation of the entry
+# to SMASH the 1k-barrier...
+# From: Adam Thompson <athompso@pangea.ca> Sept 10 1995
+# (vt320: uncommented :fs: --esr) 
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
+# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
+vt320|vt300|dec vt320 7 bit terminal:\
+	:am:es:hs:mi:ms:xn:\
+	:co#80:li#24:ws#80:\
+	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
+	:K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
+	:RI=\E[%dC:UP=\E[%dA:ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:\
+	:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
+	:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:\
+	:ei=\E[4l:fs=\E[0$}:ho=\E[H:im=\E[4h:\
+	:is=\E>\E[?3l\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
+	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
+	:k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
+	:kb=\177:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:kl=\EOD:kr=\EOC:\
+	:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:\
+	:mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:\
+	:rs=\E>\E[?3l\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
+	:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
+	:ts=\E[1$}\E[H\E[K:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[?25h:\
+	:vi=\E[?25l:
+vt320-nam|vt300-nam|dec vt320 7 bit terminal with no am to make SAS happy:\
+	:am@:\
+	:is=\E>\E[?3l\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H:\
+	:rs=\E>\E[?3l\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H:\
+	:tc=vt320:
+# We have to init 132-col mode, not 80-col mode.
+vt320-w|vt300-w|dec vt320 wide 7 bit terminal:\
+	:co#132:ws#132:\
+	:is=\E>\E[?3h\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
+	:rs=\E>\E[?3h\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
+	:tc=vt320:
+vt320-w-nam|vt300-w-nam|dec vt320 wide 7 bit terminal with no am:\
+	:am@:\
+	:is=\E>\E[?3h\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H:\
+	:rs=\E>\E[?3h\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H:\
+	:tc=vt320-w:
+
+# VT330 and VT340 -- These are ReGIS and SIXEL graphics terminals
+#   which are pretty much a superset of the VT320.  They have the
+#   host writable status line, yet another different DRCS matrix size,
+#   and such, but they add the DEC Technical character set, Multiple text
+#   pages, selectable length pages, and the like.  The difference between
+#   the vt330 and vt340 is that the latter has only 2 planes and a monochrome
+#   monitor, the former has 4 planes and a color monitor.  These terminals
+#   support VT131 and ANSI block mode, but as with much of these things,
+#   termcap/terminfo doesn't deal with these features.
+#
+# Note that this entry is are set up in what was the standard way for GNU
+# Emacs v18 terminal modes to deal with the cursor keys in that the arrow
+# keys were switched into application mode at the same time the numeric pad
+# is switched into application mode.  This changes the definitions of the
+# arrow keys.  Emacs v19 is smarter and mines its keys directly out of 
+# your termcap or terminfo entry,
+#
+# From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
+# (vt340: string capability "sb=\E[M" corrected to "sr";
+# also, added <rmam>/<smam> based on the init string -- esr)
+vt340|dec-vt340|vt330|dec-vt330|dec vt340 graphics terminal with 24 line page:\
+	:am:es:hs:mi:ms:xn:xo:\
+	:co#80:it#8:li#24:vt#3:\
+	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
+	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
+	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
+	:ae=^O:al=\E[L:as=^N:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
+	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
+	:dl=\E[M:do=^J:ds=\E[2$~\r\E[1$}\E[K\E[$}:ei=\E[4l:\
+	:fs=\E[$}:ho=\E[H:im=\E[4h:\
+	:is=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
+	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
+	:k8=\E[19~:k9=\E[20~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
+	:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l1=pf1:l2=pf2:l3=pf3:l4=pf4:\
+	:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=^M\ED:\
+	:r1=\E[?3l:rc=\E8:rf=/usr/share/tabset/vt300:sc=\E7:\
+	:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
+	:ts=\E[2$~\E[1$}\E[1;%dH:ue=\E[24m:up=\E[A:us=\E[4m:\
+	:vb=200\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
+
+# DEC doesn't supply a vt400 description, so we add Daniel Glasser's
+# (originally written with vt420 as its primary name, and usable for it).
+# 
+# VT400/420 -- This terminal is a superset of the vt320.  It adds the multiple 
+#    text pages and long text pages with selectable length of the vt340, along
+#    with left and right margins, rectangular area text copy, fill, and erase
+#    operations, selected region character attribute change operations,
+#    page memory and rectangle checksums, insert/delete column, reception
+#    macros, and other features too numerous to remember right now.  TERMCAP
+#    can only take advantage of a few of these added features.
+#
+# Note that this entry is are set up in what was the standard way for GNU
+# Emacs v18 terminal modes to deal with the cursor keys in that the arrow
+# keys were switched into application mode at the same time the numeric pad
+# is switched into application mode.  This changes the definitions of the
+# arrow keys.  Emacs v19 is smarter and mines its keys directly out of 
+# your termcap entry,
+#
+# From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
+# (vt400: string capability ":sb=\E[M:" corrected to ":sr=\E[M:";
+# also, added <rmam>/<smam> based on the init string -- esr)
+vt400|vt400-24|dec-vt400|dec vt400 24x80 column autowrap:\
+	:am:es:hs:mi:ms:xn:xo:\
+	:co#80:it#8:li#24:vt#3:\
+	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
+	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
+	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
+	:ae=^O:al=\E[L:as=^N:cd=10\E[J:ce=4\E[K:cl=10\E[H\E[J:\
+	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
+	:dl=\E[M:do=^J:ds=\E[2$~\r\E[1$}\E[K\E[$}:ei=\E[4l:\
+	:fs=\E[$}:ho=\E[H:ic=\E[@:im=\E[4h:\
+	:is=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
+	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
+	:k8=\E[19~:k9=\E[20~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
+	:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l1=pf1:l2=pf2:l3=pf3:l4=pf4:\
+	:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=^M\ED:\
+	:r1=\E<\E[?3l\E[!p\E[?7h:rc=\E8:\
+	:rf=/usr/share/tabset/vt300:sc=\E7:se=\E[27m:sf=\ED:\
+	:so=\E[7m:sr=\EM:st=\EH:ta=^I:ts=\E[2$~\E[1$}\E[1;%dH:\
+	:ue=\E[24m:up=\E[A:us=\E[4m:vb=200\E[?5h\E[?5l:\
+	:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
+
+# (vt420: I removed :k0:, it collided with <kf10>.  I also restored
+# a missing :sc: -- esr)
+vt420|DEC VT420:\
+	:am:mi:xn:xo:\
+	:co#80:li#24:vt#3:\
+	:*6=\E[4~:@0=\E[1~:RA=\E[?7l:\
+	:S5=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
+	:SA=\E[?7h:\
+	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
+	:ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:\
+	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
+	:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
+	:i2=\E[?67h\E[64;1"p:if=/usr/share/tabset/vt300:\
+	:im=\E[4h:is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:\
+	:k4=\EOS:k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:\
+	:k9=\E[21~:k;=\E[29~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
+	:kb=^H:kd=\E[B:ke=\E>:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=^H:\
+	:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
+	:r3=\E[?67h\E[64;1"p:rc=\E8:rf=/usr/share/tabset/vt300:\
+	:..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;$<2>:\
+	:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:\
+	:up=\E[A:us=\E[4m:
+
+#
+# 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;
+#               else if (key < 27) then value = key + 3;
+#               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:\
+	:@7=\E[4~:F1=\E[23~:F2=\E[24~:F3=\E[11;2~:F4=\E[12;2~:\
+	:F5=\E[13;2~:F6=\E[14;2~:F7=\E[15;2~:F8=\E[17;2~:\
+	:F9=\E[18;2~:FA=\E[19;2~:FB=\E[20;2~:FC=\E[21;2~:\
+	:FD=\E[23;2~:FE=\E[24;2~:FF=\E[23~:FG=\E[24~:FH=\E[25~:\
+	:FI=\E[26~:FJ=\E[28~:FK=\E[29~:FL=\E[31~:FM=\E[32~:\
+	:FN=\E[33~:FO=\E[34~:FP=\E[35~:FQ=\E[36~:FR=\E[23;2~:\
+	:FS=\E[24;2~:FT=\E[25;2~:FU=\E[26;2~:FV=\E[28;2~:\
+	:FW=\E[29;2~:FX=\E[31;2~:FY=\E[32;2~:FZ=\E[33;2~:\
+	:Fa=\E[34;2~:Fb=\E[35;2~:Fc=\E[36;2~:\
+	:S6=USR_TERM\:vt420pcdos\::k1=\E[11~:k2=\E[12~:\
+	:k3=\E[13~:k4=\E[14~:k5=\E[15~:k6=\E[17~:k7=\E[18~:\
+	:k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\177:kh=\E[H:\
+	:..px=\EP1;1|%?%{16}%p1%>%t%{0}%e%{21}%p1%>%t%{1}%e%{25}%p1%>%t%{2}%e%{27}%p1%>%t%{3}%e%{30}%p1%>%t%{4}%e%{5}%;%p1%+%d/%p2%s\E\\:\
+	:tc=vt420:
+
+vt420pcdos|DEC VT420 w/PC for DOS Merge:\
+	:li#25:\
+	:..S1=%?%p1%{19}%=%t\E\023\021%e%p1%{32}%<%t\E%p1%c%e%p1%{127}%=%t\E\177%e%p1%c%;:\
+	:S4=\E[?1;2r\E[34h:\
+	:S5=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:S6@:\
+	:me=\E[m:sa@:tc=vt420pc:
+
+vt420f|DEC VT420 with VT kbd; VT400 mode; F1-F5 used as Fkeys:\
+	:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\
+	:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:\
+	:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
+	:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
+	:kD=\177:kh=\E[H:l1=\EOP:l2=\EOQ:l3=\EOR:l4=\EOS:tc=vt420:
+
+vt510|DEC VT510:\
+	:tc=vt420:
+vt510pc|DEC VT510 w/PC keyboard:\
+	:tc=vt420pc:
+vt510pcdos|DEC VT510 w/PC for DOS Merge:\
+	:tc=vt420pcdos:
+
+# VT520/VT525
+#
+# The VT520 is a monochrome text terminal capable of managing up to
+# four independent sessions in the terminal.  It has multiple ANSI
+# emulations (VT520, VT420, VT320, VT220, VT100, VT PCTerm, SCO Console)
+# and ASCII emulations (WY160/60, PCTerm, 50/50+, 150/120, TVI 950,
+# 925 910+, ADDS A2).  This terminfo data is for the ANSI emulations only.
+#
+# Terminal Set-Up is entered by pressing [F3], [Caps Lock]/[F3] or
+# [Alt]/[Print Screen] depending upon which keyboard and which
+# terminal mode is being used.  If Set-Up has been disabled or
+# assigned to an unknown key, Set-Up may be entered by pressing
+# [F3] as the first key after power up, regardless of keyboard type.
+# (vt520: I added <rmam>/<smam> based on the init string, also :sc: -- esr)
+vt520|DEC VT520:\
+	:am:mi:xn:xo:\
+	:co#80:li#24:vt#3:\
+	:*6=\E[4~:@0=\E[1~:RA=\E[?7l:\
+	:S5=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
+	:SA=\E[?7h:\
+	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
+	:ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:\
+	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
+	:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
+	:i2=\E[?67h\E[64;1"p:if=/usr/share/tabset/vt300:\
+	:im=\E[4h:is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:\
+	:k4=\EOS:k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:\
+	:k9=\E[21~:k;=\E[29~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
+	:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
+	:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
+	:..px=\EP1;1|%?%{16}%p1%>%t%{0}%e%{21}%p1%>%t%{1}%e%{25}%p1%>%t%{2}%e%{27}%p1%>%t%{3}%e%{30}%p1%>%t%{4}%e%{5}%;%p1%+%d/%p2%s\E\\:\
+	:r3=\E[?67h\E[64;1"p:rc=\E8:rf=/usr/share/tabset/vt300:\
+	:..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;$<2>:\
+	:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:\
+	:up=\E[A:us=\E[4m:
+
+# (vt525: I added <rmam>/<smam> based on the init string;
+# removed :se:=\E[m, :ue:=\E[m, added :sc: -- esr)
+vt525|DEC VT525:\
+	:am:mi:xn:xo:\
+	:co#80:li#24:vt#3:\
+	:*6=\E[4~:@0=\E[1~:RA=\E[?7l:\
+	:S5=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
+	:SA=\E[?7h:\
+	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
+	:ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:\
+	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
+	:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
+	:i2=\E[?67h\E[64;1"p:if=/usr/share/tabset/vt300:\
+	:im=\E[4h:is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:\
+	:k4=\EOS:k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:\
+	:k9=\E[21~:k;=\E[29~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
+	:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
+	:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
+	:..px=\EP1;1|%?%{16}%p1%>%t%{0}%e%{21}%p1%>%t%{1}%e%{25}%p1%>%t%{2}%e%{27}%p1%>%t%{3}%e%{30}%p1%>%t%{4}%e%{5}%;%p1%+%d/%p2%s\E\\:\
+	:r3=\E[?67h\E[64;1"p:rc=\E8:rf=/usr/share/tabset/vt300:\
+	:..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;$<2>:\
+	:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:\
+	:up=\E[A:us=\E[4m:
+
+#### VT100 emulations
+#
+
+# John Hawkinson <jhawk@MIT.EDU> tells us that the EWAN telnet for Windows
+# (the best Windows telnet as of September 1995) presents the name `dec-vt100'
+# to telnetd.   Michael Deutschmann <ldeutsch@mail.netshop.net> informs us
+# that this works best with a stock vt100 entry.
+dec-vt100|EWAN telnet's vt100 emulation:\
+	:tc=vt100:
+
+# From: Adrian Garside <94ajg2@eng.cam.ac.uk>, 19 Nov 1996
+dec-vt220|DOS tnvt200 terminal emulator:\
+	:am@:tc=vt220:
+
+# Zstem340 is an (IMHO) excellent VT emulator for PC's.  I recommend it to
+# anyone who needs PC VT340 emulation. (or anything below that level, for
+# that matter -- DEC's ALL-in-1 seems happy with it, as does INFOPLUS's
+# RDBM systems, it includes ReGIS and SiXel support!  I'm impressed...
+# I can send the address if requested.
+# (z340: changed garbled \E[5?l to \E[?5l, DEC smooth scroll off -- esr)
+# From: Adam Thompson <athompso@pangea.ca> Sept 10 1995
+z340|zstem vt340 terminal emulator 132col 42line:\
+	:li#42:\
+	:is=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H:\
+	:rs=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H:\
+	:tc=vt320-w:
+z340-nam|zstem vt340 terminal emulator 132col 42line (no automatic margins):\
+	:am@:\
+	:is=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H:\
+	:rs=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H:\
+	:tc=z340:
+
+# CRT is shareware.  It implements some xterm features, including mouse.
+crt|crt-vt220|CRT 2.3 emulating VT220:\
+	:ms:ut:\
+	:NC@:\
+	:st=\EH:u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?1;2c:u9=\E[c:\
+	:tc=vt220:tc=ecma+color:
+
+# PuTTY 0.51 (released 14 December 2000)
+# http://www.chiark.greenend.org.uk/~sgtatham/putty/
+#
+# This emulates vt100 + vt52 (plus a few vt220 features:  ech, SRM, DECTCEM, as
+# well as SCO and Atari, color palettes from Linux console).  Reading the code,
+# it is intended to be VT102 plus selected features By default, it sets $TERM
+# to xterm, which is incorrect, since several features are misimplemented:
+#
+#	Alt+key always sends ESC+key, so 'km' capability is removed.
+#
+#	Control responses, wrapping and tabs are buggy, failing a couple of
+#	screens in vttest.
+#
+#	xterm mouse support is not implemented (unrelease version may).
+#
+# Several features such as backspace/delete are optional; this entry documents
+# the default behavior -TD
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
+# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
+putty|xterm clone (win32):\
+	:am:bw:km:mi:ms:xn:\
+	:co#80:it#8:li#24:\
+	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
+	:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:\
+	:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
+	:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:\
+	:ei=\E[4l:ho=\E[H:im=\E[4h:\
+	:is=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:\
+	:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
+	:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:\
+	:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=\177:kd=\EOB:ke=\E[?1l\E>:\
+	:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:\
+	:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:rc=\E8:\
+	:rs=\E7\E[r\E8\E[m\E[?7h\E[?1;3;4;6l\E[4l\E>:sc=\E7:\
+	:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
+	:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[24m:up=\E[A:\
+	:us=\E[4m:ve=\E[?25h:vi=\E[?25l:
+
+# This entry is for Tera Term Pro version 2.3, for MS-Windows 95/NT written by
+# T. Teranishi dated Mar 10, 1998.  It is a free software terminal emulator
+# (communication program) which supports:
+#
+#	- Serial port connections.
+#	- TCP/IP (telnet) connections.
+#	- VT100 emulation, and selected VT200/300 emulation.
+#	- TEK4010 emulation.
+#	- File transfer protocols (Kermit, XMODEM, ZMODEM, B-PLUS and
+#	  Quick-VAN).
+#	- Scripts using the "Tera Term Language".
+#	- Japanese and Russian character sets.
+#
+# The program does not come with terminfo or termcap entries.  However, the
+# emulation (testing with vttest and ncurses) is reasonably close to vt100 (no
+# vt52 or doublesize character support; blinking is done with color).  Besides
+# the HPA, VPA extensions it also implements CPL and CNL.
+#
+# All of the function keys can be remapped.  This description shows the default
+# mapping, as installed.  Both vt100 PF1-PF4 keys and quasi-vt220 F1-F4 keys
+# are supported.  F13-F20 are obtained by shifting F3-F10.  The editing keypad
+# is laid out like vt220, rather than the face codes on the PC keyboard, i.e,
+#	kfnd	Insert
+#	kslt	Delete
+#	kich1	Home
+#	kdch1	PageUp
+#	kpp	End
+#	knp	PageDown
+#
+# ANSI colors are implemented, but cannot be combined with video attributes
+# except for reverse.
+#
+# No fonts are supplied with the program, so the acsc string is chosen to
+# correspond with the default Microsoft terminal font.
+#
+# Tera Term recognizes some xterm sequences, including those for setting and
+# retrieving the window title, and for setting the window size (i.e., using
+# "resize -s"), though it does not pass SIGWINCH to the application if the
+# user resizes the window with the mouse.
+teraterm|Tera Term Pro:\
+	:km:xo@:\
+	:NC#43:vt@:\
+	:*6=\E[4~:@0=\E[1~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
+	:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\
+	:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:\
+	:ac=+\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:\
+	:al=\E[L:cb=\E[1K:cd=\E[J:ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[J:\
+	:cm=\E[%i%d;%dH:cv=\E[%i%dd:dc=\E[P:dl=\E[M:ec=\E[%dX:\
+	:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
+	:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
+	:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:mb=\E[5m:md=\E[1m:\
+	:me=\E[m:mr=\E[7m:nd=\E[C:op=\E[100m:se=\E[27m:so=\E[7m:\
+	:sr=\EM:u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?1;2c:u9=\E[c:\
+	:ue=\E[24m:up=\E[A:us=\E[4m:vb=200\E[?5h\E[?5l:\
+	:ve=\E[?25h:vi=\E[?25l:tc=klone+color:tc=vt100:
+
+# Tested with WinNT 4.0, the telnet application assumes the screensize is
+# 25x80.  This entry uses the 'Terminal' font, to get line-drawing characters.
+#
+# Other notes:
+# a) Fails tack's cup (cursor-addressing) test, though cup works well enough
+#    for casual (occasional) use.  Also fails several of the vttest screens,
+#    but that is not unusual for vt100 "emulators".
+# b) Does not implement vt100 keypad
+# c) Recognizes a subset of vt52 controls.
+ms-vt100|MS telnet imitating dec vt100:\
+	:li#25:\
+	:@8@:K1@:K2@:K3@:K4@:K5@:\
+	:ac=+\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:\
+	:ct@:k0@:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:k9@:k;@:u6=\E[%i%d;%dR:\
+	:u7=\E[6n:u8=\E[?6c:u9=\E[c:tc=vt100:
+
+# Tested with Windows 2000, the telnet application runs in a console window,
+# also using 'Terminal' font.
+#
+# Other notes:
+# a) This version has no function keys or numeric keypad.  Unlike the older
+#    version, the numeric keypad is entirely ignored.
+# b) The program sets $TERM to "ansi", which of course is inaccurate.
+ms-vt100-color|windows 2000 ansi (sic):\
+	:ut:\
+	:DC=\E[%dP:IC=\E[%d@:ei=:im=:tc=ecma+color:tc=ms-vt100:
+
+#### X terminal emulators
+#
+# You can add the following line to your .Xdefaults to change the terminal type
+# set by the xterms you start up to my-xterm:
+#
+# *termName:  my-xterm
+#
+# System administrators can change the default entry for xterm instances
+# by adding a similar line to /usr/X11/lib/X11/app-defaults/XTerm.  In either
+# case, xterm will detect and reject an invalid terminal type, falling back
+# to the default of xterm.
+#
+
+# X10/6.6	11/7/86, minus alternate screen, plus (csr)
+# (xterm: ":MT:" changed to ":km:"; added <smam>/<rmam> based on init string;
+# removed (hs, eslok, tsl=\E[?E\E[?%i%dT, fsl=\E[?F, dsl=\E[?E)
+# as these seem not to work -- esr)
+x10term|vs100-x10|xterm terminal emulator (X10 window system):\
+	:am:bs:km:mi:ms:xn:xo:\
+	:co#80:it#8:li#65:\
+	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:RA=\E[?7l:SA=\E[?7h:\
+	:al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:\
+	:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:\
+	:im=\E[4h:is=\E\E[m\E[?7h\E[?1;4l:k1=\EOP:k2=\EOQ:\
+	:k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
+	:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:me=\E[m:\
+	:mr=\E[7m:nd=\E[C:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:\
+	:ue=\E[m:up=\E[A:us=\E[4m:
+# Compatible with the R5 xterm 
+# (from the XFree86 3.2 distribution, <blink=@> removed)
+# added khome/kend, rmir/smir, rmul/smul, hts based on the R5 xterm code - TD
+# corrected typos in rs2 string - TD
+# added u6-u9 -TD
+xterm-r5|xterm R5 version:\
+	:am:bs:km:ms:xn:\
+	:co#80:it#8:li#24:\
+	:@7=\E[4~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
+	:F1=\E[23~:F2=\E[24~:IC=\E[%d@:Km=\E[M:LE=\E[%dD:\
+	:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:\
+	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
+	:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:ic=\E[@:\
+	:im=\E[4h:k0=\EOq:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:\
+	:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
+	:k;=\E[21~:kA=\E[30~:kD=\E[3~:kE=\E[8~:kI=\E[2~:kL=\E[31~:\
+	:kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:\
+	:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:\
+	:me=\E[m:mr=\E[7m:nd=\E[C:rc=\E8:\
+	:rs=\E>\E[?1;3;4;5;6l\E[4l\E[?7h\E[m\E[r\E[2J\E[H:\
+	:..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m:\
+	:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
+	:u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?1;2c:u9=\E[c:ue=\E[m:\
+	:up=\E[A:us=\E[4m:
+# Compatible with the R6 xterm
+# (from XFree86 3.2 distribution, <acsc> and :it: added, <blink@> removed)
+# added khome/kend, hts based on the R6 xterm code - TD
+# (khome/kend do not actually work in X11R5 or X11R6, but many people use this
+# for compatibility with other emulators).
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
+xterm-r6|xterm-old|xterm X11R6 version:\
+	:am:bs:km:mi:ms:xn:\
+	:co#80:it#8:li#24:\
+	:*6=\E[4~:@0=\E[1~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
+	:DO=\E[%dB:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
+	:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
+	:FA=\E[34~:Km=\E[M:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:\
+	:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
+	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
+	:dl=\E[M:do=^J:eA=\E)0:ei=\E[4l:ho=\E[H:im=\E[4h:\
+	:is=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:\
+	:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
+	:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
+	:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:\
+	:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
+	:md=\E[1m:me=\E[m:ml=\El:mr=\E[7m:mu=\Em:nd=\E[C:rc=\E8:\
+	:rs=\E7\E[r\E8\E[m\E[?7h\E[?1;3;4;6l\E[4l\E>:sc=\E7:\
+	:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
+	:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:u6=\E[%i%d;%dR:\
+	:u7=\E[6n:u8=\E[?1;2c:u9=\E[c:ue=\E[m:up=\E[A:us=\E[4m:
+# 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.
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
+# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
+xterm-xf86-v32|xterm terminal emulator (XFree86 3.2 Window System):\
+	:am:bs:km:mi:ms:xn:\
+	:co#80:it#8:li#24:\
+	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
+	:K1=\EOw:K2=\EOy:K3=\EOu:K4=\EOq:K5=\EOs:LE=\E[%dD:\
+	:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
+	:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
+	:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:\
+	:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:\
+	:is=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:\
+	:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
+	:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\177:kI=\E[2~:\
+	:kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kh=\EOH:\
+	:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:\
+	:me=\E[m\017:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[27m:\
+	:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:te=\E[2J\E[?47l\E8:\
+	:ti=\E7\E[?47h:ue=\E[24m:up=\E[A:us=\E[4m:\
+	:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:tc=ecma+color:
+
+# 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):\
+	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:tc=xterm-xf86-v32:
+
+# This version was released in XFree86 3.3.3 (November 1998).
+# Besides providing printer support, it exploits a new feature that allows
+# xterm to use terminfo-based descriptions with the titeInhibit resource.
+# -- the distribution contained incorrect khome/kend values -TD
+xterm-xf86-v333|xterm terminal emulator (XFree86 3.3.3 Window System):\
+	:5i:\
+	:*6@:@0@:ei=:ic@:im=:is=\E[!p\E[?3;4l\E[4l\E>:kD=\E[3~:\
+	:mb=\E[5m:mk=\E[8m:pf=\E[4i:po=\E[5i:ps=\E[i:r1=\Ec:\
+	:r2=\E[!p\E[?3;4l\E[4l\E>:\
+	:..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;:\
+	:te=\E[?1047l\E[?1048l:ti=\E[?1048h\E[?1047h:\
+	:tc=xterm-xf86-v33:
+
+# This version was released in XFree86 4.0.
+xterm-xf86-v40|xterm terminal emulator (XFree86 4.0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:FF=\EO5P:FG=\EO5Q:FH=\EO5R:FI=\EO5S:FJ=\E[15;5~:\
+	:FK=\E[17;5~:FL=\E[18;5~:FM=\E[19;5~:FN=\E[20;5~:\
+	:FO=\E[21;5~:FP=\E[23;5~:FQ=\E[24;5~:FR=\EO6P:FS=\EO6Q:\
+	:FT=\EO6R:FU=\EO6S:FV=\E[15;6~:FW=\E[17;6~:FX=\E[18;6~:\
+	:FY=\E[19;6~:FZ=\E[20;6~:Fa=\E[21;6~:Fb=\E[23;6~:\
+	:Fc=\E[24;6~:K2=\EOE:Km=\E[M:k1=\EOP:k2=\EOQ:k3=\EOR:\
+	:k4=\EOS:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
+	:k9=\E[20~:k;=\E[21~:kB=\E[Z:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
+	:kd=\EOB:kh=\EOH:kl=\EOD:kr=\EOC:ku=\EOA:tc=xterm-basic:
+#
+# This chunk is used for building the VT220/Sun/PC keyboard variants.
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+xterm-basic|xterm terminal emulator - common (XFree86):\
+	:5i:am:km:mi:ms:ut:xn:\
+	:Co#8:co#80:it#8:li#24:pa#64:\
+	:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
+	:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:\
+	:SA=\E[?7h:UP=\E[%dA:\
+	:ac=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
+	:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:\
+	:ch=\E[%i%dG:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
+	:cs=\E[%i%d;%dr:ct=\E[3g:cv=\E[%i%dd:dc=\E[P:dl=\E[M:\
+	:do=^J:eA=\E(B\E)0:ec=\E[%dX:ei=\E[4l:ho=\E[H:im=\E[4h:\
+	:is=\E[!p\E[?3;4l\E[4l\E>:kD=\E[3~:kb=^H:ke=\E[?1l\E>:\
+	:ks=\E[?1h\E=:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:\
+	:mk=\E[8m:ml=\El:mr=\E[7m:mu=\Em:nd=\E[C:op=\E[39;49m:\
+	:pf=\E[4i:po=\E[5i:ps=\E[i:r1=\Ec:\
+	:r2=\E[!p\E[?3;4l\E[4l\E>:rc=\E8:sc=\E7:se=\E[27m:sf=^J:\
+	:so=\E[7m:sr=\EM:st=\EH:ta=^I:te=\E[?1049l:ti=\E[?1049h:\
+	:u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?1;2c:u9=\E[c:ue=\E[24m:\
+	:up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:
+
+# From: David J. MacKenzie <djm@va.pubnix.com>, 14 Nov 1997
+xterm-xi|xterm on XI Graphics Accelerated X under BSD/OS 3.1:\
+	:se=\E[m:ue=\E[m:tc=xterm-xf86-v33:
+
+# This is one of the variants of XFree86 3.3 xterm, updated for 4.0 (T.Dickey)
+xterm-16color|xterm with 16 colors like aixterm:\
+	:Co#16:NC#32:pa#256:\
+	:..AB=\E[%?%p1%{8}%<%t%p1%{40}%+%e%p1%{92}%+%;%dm:\
+	:..AF=\E[%?%p1%{8}%<%t%p1%{30}%+%e%p1%{82}%+%;%dm:\
+	:..Sb=%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:\
+	:..Sf=%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:\
+	:tc=xterm-xfree86:
+
+# These variants of XFree86 3.9.16 xterm are built as a configure option.
+xterm-256color|xterm with 256 colors:\
+	:cc:\
+	:Co#256:NC#32:pa#256:\
+	:AB=\E[48;5;%dm:AF=\E[38;5;%dm:\
+	:..Ic=\E]4;%p1%d;rgb\:%p2%{255}%*%{1000}%/%2.2X/%p3%{255}%*%{1000}%/%2.2X/%p4%{255}%*%{1000}%/%2.2X\E\\:\
+	:Sb=\E[48;5;%dm:Sf=\E[38;5;%dm:tc=xterm-xfree86:
+xterm-88color|xterm with 88 colors:\
+	:Co#88:pa#88:tc=xterm-256color:
+
+# 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
+#
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
+# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
+xterm-8bit|xterm terminal emulator 8-bit controls (X Window System):\
+	:am:bs:km:mi:ms:xn:\
+	:co#80:it#8:li#24:\
+	:AL=\233%dL:DC=\233%dP:DL=\233%dM:DO=\233%dB:IC=\233%d@:\
+	:K1=\217w:K2=\217y:K3=\217u:K4=\217q:K5=\217s:LE=\233%dD:\
+	:RI=\233%dC:UP=\233%dA:ae=^O:al=\233L:as=^N:bl=^G:bt=\233Z:\
+	:cd=\233J:ce=\233K:cl=\233H\2332J:cm=\233%i%d;%dH:cr=^M:\
+	:cs=\233%i%d;%dr:ct=\2333g:dc=\233P:dl=\233M:do=^J:\
+	:ec=\233%dX:ei=\2334l:ho=\233H:im=\2334h:\
+	:is=\E7\E G\233r\233m\233?7h\233?1;3;4;6l\2334l\E8\E>:\
+	:k1=\23311~:k2=\23312~:k3=\23313~:k4=\23314~:k5=\23315~:\
+	:k6=\23317~:k7=\23318~:k8=\23319~:k9=\23320~:kD=\2333~:\
+	:kI=\2332~:kN=\2336~:kP=\2335~:kb=^H:kd=\217B:\
+	:ke=\233?1l\E>:kh=\2331~:kl=\217D:kr=\217C:ks=\233?1h\E=:\
+	:ku=\217A:le=^H:mb=\2335m:md=\2331m:me=\233m^O:mr=\2337m:\
+	:nd=\233C:rc=\E8:sc=\E7:se=\23327m:sf=^J:so=\2337m:sr=\215:\
+	:st=\210:ta=^I:te=\233?1049l:ti=\233?1049h:ue=\23324m:\
+	:up=\233A:us=\2334m:vb=\233?5h\233?5l:ve=\233?25h:\
+	:vi=\233?25l:
+
+xterm-hp|XFree86 xterm with hpterm function keys:\
+	:@7=\EF:k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:\
+	:k8=\Ew:kC=\EJ:kD=\EP:kI=\EQ:kN=\ES:kP=\ET:kd=\EB:kh=\Eh:\
+	:kl=\ED:kr=\EC:ku=\EA:tc=xterm-basic:
+
+xterm-sco|XFree86 xterm with SCO function keys:\
+	:@7=\E[F:F1=\E[W:F2=\E[X:F3=\E[Y:F5=\E[a:F6=\E[b:F7=\E[c:\
+	:F8=\E[d:F9=\E[e:FA=\E[f:FB=\E[g:FC=\E[h:FD=\E[i:FE=\E[j:\
+	:FF=\E[k:FG=\E[l:FH=\E[m:FI=\E[n:FJ=\E[o:FK=\E[p:FL=\E[q:\
+	:FM=\E[r:FN=\E[s:FO=\E[t:FP=\E[u:k1=\E[M:k2=\E[N:k3=\E[O:\
+	:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:k;=\E[V:\
+	:kI=\E[L:kN=\E[G:kP=\E[I:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:\
+	:ku=\E[A:tc=xterm-basic:
+
+# The xterm-xfree86 description has all of the features, but is not completely
+# compatible with vt220.  If you are using a Sun or PC keyboard, set the
+# sunKeyboard resource to true:
+#	+ maps the editing keypad
+#	+ interprets control-function-key as a second array of keys, so a
+#	  12-fkey keyboard can support vt220's 20-fkeys.
+#	+ maps numeric keypad "+" to ",".
+#	+ uses DEC-style control sequences for the application keypad.
+#	  
+xterm-vt220|XFree86 xterm emulating vt220:\
+	:@1=\EOu:@7=\E[4~:@8=\EOM:F1=\E[23~:F2=\E[24~:F3=\E[25~:\
+	:F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:\
+	:F9=\E[33~:FA=\E[34~:K1=\EOw:K3=\EOy:K4=\EOq:K5=\EOs:\
+	:Km=\E[M:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:\
+	:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
+	:kB=\E[Z:kI=\E[2~:kN=\E[6~:kP=\E[5~:kd=\EOB:kh=\E[1~:\
+	:kl=\EOD:kr=\EOC:ku=\EOA:tc=xterm-basic:
+
+xterm-vt52|XFree86 xterm emulating dec vt52:\
+	:co#80:it#8:li#24:\
+	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
+	:ae=\EG:as=\EF:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :\
+	:cr=^M:do=\EB:ho=\EH:kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:\
+	:le=\ED:nd=\EC:nw=^M^J:sf=^J:sr=\EI:ta=^I:up=\EA:
+
+xterm-noapp|xterm with cursor keys in normal mode:\
+	:kd=\E[B:ke=\E>:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:te@:ti@:\
+	:tc=xterm:
+
+xterm-24|vs100|xterms|xterm terminal emulator (X Window System):\
+	:li#24:tc=xterm-r6:
+
+# This is xterm for ncurses.
+xterm|xterm terminal emulator (X Window System):\
+	:tc=xterm-r6:
+#	use=xterm-xfree86, 
+
+# These entries allow access to the X titlebar and icon name as a status line. 
+# Note that twm (and possibly window managers descended from it such as tvtwm, 
+# ctwm, and vtwm) track windows by icon-name; thus, you don't want to mess
+# with it.
+xterm+sl|access X title line and icon name:\
+	:hs:\
+	:ws#40:\
+	:ds=\E]0;\007:fs=^G:ts=\E]0;:tc=xterm:
+xterm+sl-twm|access X title line (pacify twm-descended window managers):\
+	:hs:\
+	:ws#40:\
+	:ds=\E]2;\007:fs=^G:ts=\E]2;:tc=xterm:
+
+#
+# The following xterm variants don't depend on your base version
+#
+# xterm with bold instead of underline
+xterm-bold|xterm terminal emulator (X11R6 Window System) standout w/bold:\
+	:so=\E[7m:us=\E[1m:tc=xterm:
+# (kterm: this had extension capabilities ":KJ:TY=ascii:" -- esr)
+# (kterm should not invoke DEC Graphics as the alternate character set
+#  -- Kenji Rikitake)
+# (proper setting of enacs, smacs, rmacs makes kterm to use DEC Graphics
+#  -- MATSUMOTO Shoji)
+kterm|kterm kanji terminal emulator (X window system):\
+	:es:hs:\
+	:Km=\E[M:\
+	:ac=++,,--..00II``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
+	:ae=\E(B:as=\E(0:cs=\E[%i%d;%dr:ds=\E[?H:eA=:fs=\E[?F:\
+	:rc=\E8:sc=\E7:ts=\E[?E\E[?%i%dT:tc=xterm-r6:\
+	:tc=ecma+color:
+kterm-color|kterm-co|kterm with ANSI colors:\
+	:NC@:tc=kterm:tc=ecma+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:\
+	:IC@:ei=:ic@:im=:tc=xterm:
+# From: Mark Sheppard <kimble@mistral.co.uk>, 4 May 1996 
+xterm1|xterm terminal emulator ignoring the alternate screen buffer:\
+	:te@:ti@:tc=xterm:
+
+# This describes the capabilities of color_xterm, an xterm variant from
+# before ECMA-64 color support was folded into the main-line xterm release.
+# This entry is straight from color_xterm's maintainer.
+# From: Jacob Mandelson <jlm@ugcs.caltech.edu>, 09 Nov 1996
+# The README's with the distribution also say that it supports SGR 21, 24, 25
+# and 27, but they are not present in the terminfo or termcap.
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+color_xterm|cx|cx100|color_xterm color terminal emulator for X:\
+	:am:bs:km:mi:ms:xn:\
+	:NC@:co#80:it#8:li#65:\
+	:@7=\E[8~:@8=\EOM:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
+	:F1=\E[23~:F2=\E[24~:IC=\E[%d@:K1=\EOw:K2=\EOu:K3=\EOy:\
+	:K4=\EOq:K5=\EOs:Km=\E[M:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:\
+	:SA=\E[?7h:UP=\E[%dA:\
+	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
+	:ae=^O:al=\E[L:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
+	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
+	:dc=\E[P:dl=\E[M:do=^J:eA=\E(B\E)0:ei=\E[4l:ho=\E[H:\
+	:i1=\E[r\E[m\E[?7h\E[?4;6l\E[4l:im=\E[4h:k1=\E[11~:\
+	:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:k6=\E[17~:\
+	:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kI=\E[2~:\
+	:kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:kh=\E[7~:kl=\EOD:kr=\EOC:\
+	:ku=\EOA:le=^H:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
+	:r1=\E(B\017\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E<:\
+	:rc=\E8:sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:ta=^I:\
+	:te=\E>\E[?41;1r:ti=\E[?1;41s\E[?1;41h\E=:ue=\E[24m:\
+	:up=\E[A:us=\E[4m:tc=ecma+color:
+
+# The 'nxterm' distributed with Redhat Linux 5.2 is a slight rehack of
+# xterm-sb_right-ansi-3d, which implements ANSI colors, but does not support
+# SGR 39 or 49.  SGR 0 does reset colors (along with everything else).  This
+# description is "compatible" with color_xterm, rxvt and XFree86 xterm, except
+# that each of those implements the home, end, delete keys differently.
+#
+# Redhat Linux 6.x distributes XFree86 xterm as "nxterm", which uses bce
+# colors; note that this is not compatible with the 5.2 version.
+nxterm|xterm-color|generic color xterm:\
+	:NC@:\
+	:op=\E[m:tc=xterm-r6:tc=klone+color:
+
+# this describes the alpha-version of Gnome terminal shipped with Redhat 6.0
+gnome-rh62|Gnome terminal:\
+	:ut:\
+	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kD=\177:tc=xterm-color:
+
+# GNOME Terminal 1.4.0.4 (Redhat 7.2)
+#
+# This implements a subset of vt102 with a random selection of features from
+# other terminals such as color and function-keys.
+#
+# shift-f1 to shift-f10 are f11 to f20
+#
+# NumLock changes the application keypad to approximate vt100 keypad, except
+# that there is no escape sequence matching comma (,).
+#
+# Other defects observed:
+#	vt100 LNM mode is not implemented.
+#	vt100 80/132 column mode is not implemented.
+#	vt100 DECALN is not implemented.
+#	vt100 DECSCNM mode is not implemented, so flash does not work.
+#	vt100 TBC (tab reset) is not implemented.
+#	xterm alternate screen controls do not restore cursor position properly
+#	it hangs in tack after running function-keys test.
+gnome-rh72|GNOME Terminal:\
+	:ut:\
+	:RA=\E[?7l:SA=\E[?7h:ct@:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
+	:kD=\E[3~:\
+	:..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m%?%p9%t\016%e\017%;:\
+	:ve=\E[?25h:vi=\E[?25l:tc=xterm-color:
+
+gnome|GNOME Terminal:\
+	:tc=gnome-rh72:
+
+# This is kvt 0-18.7, shipped with Redhat 6.0 (though whether it supports bce
+# or not is debatable).
+kvt|KDE terminal:\
+	:km@:ut:\
+	:@7=\E[F:kD=\177:kh=\E[H:tc=xterm-color:
+
+# Konsole 1.0.1
+# (formerly known as kvt)
+#
+# This program hardcodes $TERM to 'xterm', which is not accurate.  However, to
+# simplify this entry (and point out why konsole isn't xterm), we base this on
+# xterm-r6.  The default keyboard appears to be 'linux'.
+#
+# Notes:
+# a) konsole implements several features from XFree86 xterm, though none of
+#    that is documented - except of course in its source code - apparently
+#    because its implementors are unaccustomed to reading documentation - as
+#    evidenced by the sparse and poorly edited documentation distributed with
+#    konsole.  Some features such as the 1049 private mode are recognized but
+#    incorrectly implemented as a duplicate of the 47 private mode.
+# b) even with the "vt100 (historical)" keyboard setting, the numeric keypad
+#    sends PC-style escapes rather than vt100.
+# c) fails vttest menu 3 (Test of character sets) because it does not properly
+#    parse some control sequences.  Also fails vttest Primary Device Attributes
+#    by sending a bogus code (in the source it says it's supposed to be a
+#    vt220, which is doubly incorrect because it does not implement vt220
+#    control sequences except for a few special cases).  Treat it as a
+#    mildly-broken vt102.
+konsole-base|KDE console window:\
+	:NP:km@:ut:\
+	:*6@:@0@:@7@:F1@:F2@:F3@:F4@:F5@:F6@:F7@:F8@:F9@:FA@:RA=\E[?7l:\
+	:SA=\E[?7h:bl@:ch=\E[%i%dG:cv=\E[%i%dd:ec=\E[%dX:k1@:k2@:\
+	:k3@:k4@:k5@:k6@:k7@:k8@:k9@:k;@:kD@:kb@:kh@:mb=\E[5m:\
+	:..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
+	:se=\E[27m:ue=\E[24m:vb=\E[?5h\E[?5l:ve=\E[?25h:\
+	:vi=\E[?25l:tc=ecma+color:tc=xterm-r6:
+konsole-linux|KDE console window with linux keyboard:\
+	:F1=\E[23~:F2=\E[24~:F3@:F4@:F5@:F6@:F7@:F8@:F9@:FA@:k1=\E[[A:\
+	:k2=\E[[B:k3=\E[[C:k4=\E[[D:k5=\E[[E:k6=\E[17~:k7=\E[18~:\
+	:k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\E[3~:tc=konsole-base:
+# KDE's "XFree86 3.x.x" keyboard is based on reading the xterm terminfo rather
+# than testing the code.
+konsole-xf3x|KDE console window with keyboard for XFree86 3.x xterm:\
+	:@7=\E[4~:kh=\E[1~:tc=konsole-vt100:
+# The value for kbs reflects local customization rather than the settings used
+# for XFree86 xterm.
+konsole-xf4x|KDE console window with keyboard for XFree86 4.x xterm:\
+	:@7=\EOF:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kh=\EOH:\
+	:tc=konsole-vt100:
+# KDE's "vt100" keyboard has no relationship to any terminal that DEC made, but
+# it is still useful for deriving the other entries.
+konsole-vt100|KDE console window with vt100 (sic) keyboard:\
+	:@7=\E[F:F1=\E[23~:F2=\E[24~:F3@:F4@:F5@:F6@:F7@:F8@:F9@:FA@:\
+	:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
+	:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
+	:kD=\E[3~:kb=\177:kh=\E[H:tc=konsole-base:
+konsole-vt420pc|KDE console window with vt420 pc keyboard:\
+	:kD=\177:kb=^H:tc=konsole-vt100:
+konsole-16color|klone of xterm-16color:\
+	:Co#16:NC#32:pa#256:\
+	:..AB=\E[%?%p1%{8}%<%t%p1%'('%+%e%p1%{92}%+%;%dm:\
+	:..AF=\E[%?%p1%{8}%<%t%p1%{30}%+%e%p1%'R'%+%;%dm:\
+	:..Sb=%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':\
+	:..Sf=%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':\
+	:tc=konsole:
+# make a default entry for konsole
+konsole|KDE console window:\
+	:tc=konsole-linux:
+
+# 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.
+#
+# The distributed terminfo says it implements hpa and vpa, but they are not
+# implemented correctly, using relative rather than absolute positioning.
+#
+# rxvt is normally configured to look for "xterm" or "xterm-color" as $TERM.
+# Since rxvt is not really compatible with xterm, it should be configured as
+# "rxvt" (monochrome) and "rxvt-color". 
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
+# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
+rxvt-basic|rxvt terminal base (X Window System):\
+	:am:bs:eo:km:mi:ms:xn:xo:\
+	:co#80:it#8:li#24:\
+	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
+	:K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
+	:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:\
+	:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
+	:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:\
+	:ho=\E[H:i1=\E[?47l\E=\E[?1l:ic=\E[@:im=\E[4h:\
+	:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l:\
+	:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
+	:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:\
+	:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:ke=\E>:kh=\E[7~:\
+	:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
+	:me=\E[0m\017:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[27m:\
+	:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:te=\E[2J\E[?47l\E8:\
+	:ti=\E7\E[?47h:ue=\E[24m:up=\E[A:us=\E[4m:\
+	:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:
+rxvt|rxvt terminal emulator (X Window System):\
+	:NC@:\
+	:me=\E[m\017:tc=rxvt-basic:tc=ecma+color:
+
+# From: Michael Jennings <mej@valinux.com>
+# removed kf0 which conflicts with kf10 -TD
+# remove cvvis which conflicts with cnorm -TD
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
+# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
+Eterm|Eterm-color|Eterm with xterm-style color support (X Window System):\
+	:am:bw:eo:km:mi:ms:xn:xo:\
+	:co#80:it#8:li#24:lm#0:\
+	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
+	:K1=\E[7~:K2=\EOu:K3=\E[5~:K4=\E[8~:K5=\E[6~:LE=\E[%dD:\
+	:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:\
+	:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
+	:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[B:\
+	:ec=\E[%dX:ei=\E[4l:ho=\E[H:i1=\E[?47l\E>\E[?1l:ic=\E[@:\
+	:im=\E[4h:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l:\
+	:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
+	:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:\
+	:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:ke=:kh=\E[7~:\
+	:kl=\E[D:kr=\E[C:ks=:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
+	:me=\E[m\017:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[27m:\
+	:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:te=\E[2J\E[?47l\E8:\
+	:ti=\E7\E[?47h:ue=\E[24m:up=\E[A:us=\E[4m:\
+	:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:tc=ecma+color:
+
+# These (xtermc and xtermm) are distributed with Solaris.  They refer to a
+# variant of xterm which is apparently no longer supported, but are interesting
+# because they illustrate SVr4 curses mouse controls - T.Dickey
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+xtermm|xterm terminal emulator (monocrome):\
+	:am:bs:km:mi:ms:xn:\
+	:BT#3:co#80:it#8:li#24:\
+	:@7=\E[Y:@8=\EOM:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
+	:F1=\EOZ:F2=\EOA:Gm=\E[%dY:IC=\E[%d@:K1=\EOq:K2=\EOr:\
+	:K3=\EOs:K4=\EOp:K5=\EOn:Km=\E[^_:LE=\E[%dD:RI=\E[%dC:\
+	:RQ=\E[492Z:UP=\E[%dA:\
+	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
+	:ae=^O:al=\E[L:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
+	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
+	:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:eA=\E(B\E)0:ei=:ho=\E[H:\
+	:ic=\E[@:im=:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
+	:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:k9=\EOX:k;=\EOY:kN=\E[U:\
+	:kP=\E[V:kb=^H:kd=\EOB:kh=\E[H:kl=\EOD:kr=\EOC:ku=\EOA:\
+	:le=\E[1D:mb@:md=\E[1m:me=\E[m\017:mr=\E[7m:nd=\E[C:\
+	:r1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H:\
+	:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:sc=\E7:\
+	:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:te=\E@0\E[?4r:\
+	:ti=\E@0\E[?4s\E[?4h\E@1:up=\E[A:
+
+xtermc|xterm terminal emulator (color):\
+	:Co#8:NC#7:pa#64:\
+	:AB=\E[4%dm:AF=\E[3%dm:\
+	:..Sb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m:\
+	:..Sf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m:\
+	:op=\E[100m:tc=xtermm:
+
+# From: David J. MacKenzie <djm@va.pubnix.com> 20 Apr 1995
+# Here's a termcap entry I've been using for xterm_color, which comes
+# with BSD/OS 2.0, and the X11R6 contrib tape too I think.  Besides the
+# color stuff, I also have a status line defined as the window manager
+# title bar. [I have translated it to terminfo -- ESR]
+xterm-pcolor|xterm with color used for highlights and status line:\
+	:md=\E[1m\E[43m:mr=\E[7m\E[34m:so=\E[7m\E[31m:\
+	:us=\E[4m\E[42m:tc=xterm+sl:tc=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)
+hpterm|X-hpterm|hp X11 terminal emulator:\
+	:am:da:db:mi:xs:\
+	:Nl#8:co#80:lh#2:li#24:lm#0:lw#8:pb#9600:sg#0:ug#0:\
+	:LF=\E&j@:LO=\E&jB:ac=:ae=^O:al=\EL:as=^N:bl=^G:bt=\Ei:\
+	:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:\
+	:cr=^M:ct=\E3:cv=\E&a%dY:dc=\EP:dl=\EM:do=\EB:ei=\ER:im=\EQ:\
+	:k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:\
+	:kA=\EL:kC=\EJ:kD=\EP:kE=\EK:kF=\ES:kH=\EF:kI=\EQ:kL=\EM:\
+	:kM=\ER:kN=\EU:kP=\EV:kR=\ET:kS=\EJ:kT=\E1:ka=\E3:kb=^H:\
+	:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:\
+	:ku=\EA:le=^H:md=\E&dB:me=\E&d@:mh=\E&dH:ml=\El:mr=\E&dB:\
+	:mu=\Em:nd=\EC:..pk=\E&f%p1%dk%p2%l%dL%p2%s:\
+	:..pl=\E&f1a%p1%dk%p2%l%dL%p2%s:\
+	:..pn=\E&f%p1%dk%p2%l%dd0L%p2%s:\
+	:..px=\E&f2a%p1%dk%p2%l%dL%p2%s:\
+	:..sa=\E&d%?%p7%t%{115}%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%{64}%+%c%?%p9%t%'\016'%c%e%'\017'%c%;:\
+	:se=\E&d@:sf=^J:so=\E&dJ:sr=\ET:st=\E1:ta=^I:ue=\E&d@:\
+	:up=\EA:us=\E&dD:
+
+# This entry describes an xterm with Sun-style function keys enabled
+# via the X resource setting "xterm*sunFunctionKeys:true"
+# To understand <kf11>/<kf12> note that L1,L2 and F11,F12 are the same.
+# The <kf13>...<kf20> keys are L3-L10.  We don't set <kf16=\E[197z>
+# because we want it to be seen as <kcpy>. 
+# The <kf31>...<kf45> keys are R1-R15.  We treat some of these in accordance
+# with their Sun keyboard labels instead.
+# From: Simon J. Gerraty <sjg@zen.void.oz.au> 10 Jan 1996
+xterm-sun|xterm with sunFunctionKeys true:\
+	:%1=\E[196z:&8=\E[195z:@0=\E[200z:@5=\E[197z:@7=\E[220z:\
+	:F1=\E[192z:F2=\E[193z:F3=\E[194z:F4=\E[195z:F5=\E[196z:\
+	:F7=\E[198z:F8=\E[199z:F9=\E[200z:FA=\E[201z:FL=\E[208z:\
+	:FM=\E[209z:FN=\E[210z:FO=\E[211z:FP=\E[212z:FQ=\E[213z:\
+	:FS=\E[215z:FU=\E[217z:FW=\E[219z:FY=\E[221z:K2=\E[218z:\
 	:k1=\E[224z:k2=\E[225z:k3=\E[226z:k4=\E[227z:k5=\E[228z:\
 	:k6=\E[229z:k7=\E[230z:k8=\E[231z:k9=\E[232z:k;=\E[233z:\
-	:kD=\177:kN=\E[222z:kP=\E[216z:kb=^H:kd=\E[B:kh=\E[214z:\
-	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:mr=\E[7m:nd=\E[C:\
-	:rs=\E[s:\
-	:..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m:\
-	:se=\E[m:sf=^J:so=\E[7m:ta=^I:u8=\E[1t:u9=\E[11t:up=\E[A:
-
-# From: <john@ucbrenoir>  Tue Sep 24 13:14:44 1985
-sun-s|Sun Microsystems Workstation window with status line:\
-	:am:hs:km:ms:\
-	:co#80:li#34:\
-	:%7=\E[194z:&5=\E[193z:&8=\E[195z:@7=\E[220z:AL=\E[%dL:\
-	:DC=\E[%dP:DL=\E[%dM:F1=\E[234z:F2=\E[235z:IC=\E[%d@:\
-	:K2=\E[218z:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=^L:\
-	:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ds=\E]l\E\\:\
-	:ei=:fs=\E\\:ic=\E[@:im=:k1=\E[224z:k2=\E[225z:k3=\E[226z:\
-	:k4=\E[227z:k5=\E[228z:k6=\E[229z:k7=\E[230z:k8=\E[231z:\
-	:k9=\E[232z:k;=\E[233z:kD=\177:kN=\E[222z:kP=\E[216z:\
-	:kb=^H:kd=\E[B:kh=\E[214z:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
-	:me=\E[m:mr=\E[7m:nd=\E[C:rs=\E[s:\
-	:..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m:\
-	:se=\E[m:sf=^J:so=\E[7m:ta=^I:ts=\E]l:u8=\E[1t:u9=\E[11t:\
-	:up=\E[A:
-sun-e-s|sun-s-e|Sun Microsystems Workstation with status hacked for emacs:\
-	:am:hs:km:ms:\
-	:co#80:li#34:\
-	:%7=\E[194z:&5=\E[193z:&8=\E[195z:@7=\E[220z:AL=\E[%dL:\
-	:DC=\E[%dP:DL=\E[%dM:F1=\E[234z:F2=\E[235z:IC=\E[%d@:\
-	:K2=\E[218z:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=^L:\
-	:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ds=\E]l\E\\:\
-	:ei=:fs=\E\\:im=:k1=\E[224z:k2=\E[225z:k3=\E[226z:\
-	:k4=\E[227z:k5=\E[228z:k6=\E[229z:k7=\E[230z:k8=\E[231z:\
-	:k9=\E[232z:k;=\E[233z:kD=\177:kN=\E[222z:kP=\E[216z:\
-	:kb=^H:kd=\E[B:kh=\E[214z:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
-	:me=\E[m:mr=\E[7m:nd=\E[C:rs=\E[s:\
-	:..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m:\
-	:se=\E[m:sf=^J:so=\E[7m:ta=^I:ts=\E]l:u8=\E[1t:u9=\E[11t:\
-	:up=\E[A:
-sun-48|Sun 48-line window:\
-	:am:km:ms:\
-	:co#80:li#48:\
-	:%7=\E[194z:&5=\E[193z:&8=\E[195z:@7=\E[220z:AL=\E[%dL:\
-	:DC=\E[%dP:DL=\E[%dM:F1=\E[234z:F2=\E[235z:IC=\E[%d@:\
-	:K2=\E[218z:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=^L:\
-	:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=:ic=\E[@:im=:\
-	:k1=\E[224z:k2=\E[225z:k3=\E[226z:k4=\E[227z:k5=\E[228z:\
-	:k6=\E[229z:k7=\E[230z:k8=\E[231z:k9=\E[232z:k;=\E[233z:\
-	:kD=\177:kN=\E[222z:kP=\E[216z:kb=^H:kd=\E[B:kh=\E[214z:\
-	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:mr=\E[7m:nd=\E[C:\
-	:rs=\E[s:\
-	:..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m:\
-	:se=\E[m:sf=^J:so=\E[7m:ta=^I:u8=\E[1t:u9=\E[11t:up=\E[A:
-sun-34|Sun 34-line window:\
-	:am:km:ms:\
-	:co#80:li#34:\
-	:%7=\E[194z:&5=\E[193z:&8=\E[195z:@7=\E[220z:AL=\E[%dL:\
-	:DC=\E[%dP:DL=\E[%dM:F1=\E[234z:F2=\E[235z:IC=\E[%d@:\
-	:K2=\E[218z:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=^L:\
-	:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=:ic=\E[@:im=:\
-	:k1=\E[224z:k2=\E[225z:k3=\E[226z:k4=\E[227z:k5=\E[228z:\
-	:k6=\E[229z:k7=\E[230z:k8=\E[231z:k9=\E[232z:k;=\E[233z:\
-	:kD=\177:kN=\E[222z:kP=\E[216z:kb=^H:kd=\E[B:kh=\E[214z:\
-	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:mr=\E[7m:nd=\E[C:\
-	:rs=\E[s:\
-	:..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m:\
-	:se=\E[m:sf=^J:so=\E[7m:ta=^I:u8=\E[1t:u9=\E[11t:up=\E[A:
-sun-24|Sun 24-line window:\
-	:am:km:ms:\
-	:co#80:li#24:\
-	:%7=\E[194z:&5=\E[193z:&8=\E[195z:@7=\E[220z:AL=\E[%dL:\
-	:DC=\E[%dP:DL=\E[%dM:F1=\E[234z:F2=\E[235z:IC=\E[%d@:\
-	:K2=\E[218z:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=^L:\
-	:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=:ic=\E[@:im=:\
-	:k1=\E[224z:k2=\E[225z:k3=\E[226z:k4=\E[227z:k5=\E[228z:\
-	:k6=\E[229z:k7=\E[230z:k8=\E[231z:k9=\E[232z:k;=\E[233z:\
-	:kD=\177:kN=\E[222z:kP=\E[216z:kb=^H:kd=\E[B:kh=\E[214z:\
-	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:mr=\E[7m:nd=\E[C:\
-	:rs=\E[s:\
-	:..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m:\
-	:se=\E[m:sf=^J:so=\E[7m:ta=^I:u8=\E[1t:u9=\E[11t:up=\E[A:
-sun-17|Sun 17-line window:\
-	:am:km:ms:\
-	:co#80:li#17:\
-	:%7=\E[194z:&5=\E[193z:&8=\E[195z:@7=\E[220z:AL=\E[%dL:\
-	:DC=\E[%dP:DL=\E[%dM:F1=\E[234z:F2=\E[235z:IC=\E[%d@:\
-	:K2=\E[218z:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=^L:\
-	:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=:ic=\E[@:im=:\
-	:k1=\E[224z:k2=\E[225z:k3=\E[226z:k4=\E[227z:k5=\E[228z:\
-	:k6=\E[229z:k7=\E[230z:k8=\E[231z:k9=\E[232z:k;=\E[233z:\
-	:kD=\177:kN=\E[222z:kP=\E[216z:kb=^H:kd=\E[B:kh=\E[214z:\
-	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:mr=\E[7m:nd=\E[C:\
-	:rs=\E[s:\
-	:..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m:\
-	:se=\E[m:sf=^J:so=\E[7m:ta=^I:u8=\E[1t:u9=\E[11t:up=\E[A:
-sun-12|Sun 12-line window:\
-	:am:km:ms:\
-	:co#80:li#12:\
-	:%7=\E[194z:&5=\E[193z:&8=\E[195z:@7=\E[220z:AL=\E[%dL:\
-	:DC=\E[%dP:DL=\E[%dM:F1=\E[234z:F2=\E[235z:IC=\E[%d@:\
-	:K2=\E[218z:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=^L:\
-	:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=:ic=\E[@:im=:\
-	:k1=\E[224z:k2=\E[225z:k3=\E[226z:k4=\E[227z:k5=\E[228z:\
-	:k6=\E[229z:k7=\E[230z:k8=\E[231z:k9=\E[232z:k;=\E[233z:\
-	:kD=\177:kN=\E[222z:kP=\E[216z:kb=^H:kd=\E[B:kh=\E[214z:\
-	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:mr=\E[7m:nd=\E[C:\
-	:rs=\E[s:\
-	:..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m:\
-	:se=\E[m:sf=^J:so=\E[7m:ta=^I:u8=\E[1t:u9=\E[11t:up=\E[A:
-sun-1|Sun 1-line window for sysline:\
-	:am:es:hs:km:ms:\
-	:co#80:li#1:\
-	:%7=\E[194z:&5=\E[193z:&8=\E[195z:@7=\E[220z:AL=\E[%dL:\
-	:DC=\E[%dP:DL=\E[%dM:F1=\E[234z:F2=\E[235z:IC=\E[%d@:\
-	:K2=\E[218z:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=^L:\
-	:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ds=^L:ei=:\
-	:fs=\E[K:ic=\E[@:im=:k1=\E[224z:k2=\E[225z:k3=\E[226z:\
-	:k4=\E[227z:k5=\E[228z:k6=\E[229z:k7=\E[230z:k8=\E[231z:\
-	:k9=\E[232z:k;=\E[233z:kD=\177:kN=\E[222z:kP=\E[216z:\
-	:kb=^H:kd=\E[B:kh=\E[214z:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
-	:me=\E[m:mr=\E[7m:nd=\E[C:rs=\E[s:\
-	:..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m:\
-	:se=\E[m:sf=^J:so=\E[7m:ta=^I:ts=^M:u8=\E[1t:u9=\E[11t:\
-	:up=\E[A:
-sun-e|sun-nic|sune|Sun Microsystems Workstation without insert character:\
-	:am:km:ms:\
-	:co#80:li#34:\
-	:%7=\E[194z:&5=\E[193z:&8=\E[195z:@7=\E[220z:AL=\E[%dL:\
-	:DC=\E[%dP:DL=\E[%dM:F1=\E[234z:F2=\E[235z:IC=\E[%d@:\
-	:K2=\E[218z:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=^L:\
-	:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=:im=:\
-	:k1=\E[224z:k2=\E[225z:k3=\E[226z:k4=\E[227z:k5=\E[228z:\
-	:k6=\E[229z:k7=\E[230z:k8=\E[231z:k9=\E[232z:k;=\E[233z:\
-	:kD=\177:kN=\E[222z:kP=\E[216z:kb=^H:kd=\E[B:kh=\E[214z:\
-	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:mr=\E[7m:nd=\E[C:\
-	:rs=\E[s:\
-	:..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m:\
-	:se=\E[m:sf=^J:so=\E[7m:ta=^I:u8=\E[1t:u9=\E[11t:up=\E[A:
-sun-c|sun-cmd|Sun Microsystems Workstation console with scrollable history:\
-	:am:km:ms:\
-	:co#80:li#35:\
-	:%7=\E[194z:&5=\E[193z:&8=\E[195z:@7=\E[220z:AL=\E[%dL:\
-	:DC=\E[%dP:DL=\E[%dM:F1=\E[234z:F2=\E[235z:IC=\E[%d@:\
-	:K2=\E[218z:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=^L:\
-	:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=:ic=\E[@:im=:\
-	:k1=\E[224z:k2=\E[225z:k3=\E[226z:k4=\E[227z:k5=\E[228z:\
-	:k6=\E[229z:k7=\E[230z:k8=\E[231z:k9=\E[232z:k;=\E[233z:\
-	:kD=\177:kN=\E[222z:kP=\E[216z:kb=^H:kd=\E[B:kh=\E[214z:\
-	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:mr=\E[7m:nd=\E[C:\
-	:rs=\E[s:\
-	:..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m:\
-	:se=\E[m:sf=^J:so=\E[7m:ta=^I:te=\E[>4h:ti=\E[>4l:u8=\E[1t:\
-	:u9=\E[11t:up=\E[A:
-
-#### Common Desktop Environment
-#
-
-# This ships with Sun's CDE in Solaris 2.5
-# Corrected Sun Aug 9 1998 by Alexander V. Lukyanov <lav@video.yars.free.net>
-dtterm|CDE desktop terminal:\
-	:am:mi:ms:xn:xo:\
-	:Co#8:co#80:it#8:li#24:lm#0:pa#64:\
-	:%1=\E[28~:*6=\E[4~:@0=\E[1~:AB=\E[%+(m:AF=\E[%+^^m:\
-	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:\
-	:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:\
-	:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:IC=\E[%d@:\
-	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
-	:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:eA=\E(B\E)0:ec=\E[%dX:\
-	:ei=\E[4l:ho=\E[H:im=\E[4h:\
-	:is=\E F\E>\E[?1l\E[?7h\E[?45l:k1=\E[11~:k2=\E[12~:\
-	:k3=\E[13~:k4=\E[14~:k5=\E[15~:k6=\E[17~:k7=\E[18~:\
-	:k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\E[3~:kI=\E[2~:kN=\E[6~:\
-	:kP=\E[5~:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
-	:mb=\E[5m:md=\E[1m:me=\E[m\017:mh=\E[2m:mk=\E[8m:mr=\E[7m:\
-	:nd=\E[C:nw=\EE:op=\E[39;49m:rc=\E8:\
-	:..sa=\E[0%?%p1%t;2;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;:\
-	:sc=\E7:se=\E[22;27m:sf=\ED:so=\E[2;7m:sr=\EM:st=\EH:ta=^I:\
-	:ue=\E[24m:up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:\
-	:vi=\E[?25l:
-
-#### Mach
-#
-
-# From: Matthew Vernon <mcv21@pick.sel.cam.ac.uk>
-mach|Mach Console:\
+	:kI=\E[2z:kN=\E[222z:kP=\E[216z:kh=\E[214z:tc=xterm:
+xterms-sun|small (80x24) xterm with sunFunctionKeys true:\
+	:co#80:li#24:tc=xterm-sun:
+
+# This is for the extensible terminal emulator on the X11R6 contrib tape.
+emu|emu native mode:\
+	:mi:ms:xo:\
+	:Co#15:co#80:it#8:li#24:pa#64:vt#200:\
+	:*6=\Esel:@0=\Efind:@8=^M:AB=\Es%i%d;:AF=\Er%i%d;:\
+	:AL=\EQ%d;:DC=\EI%d;:DL=\ER%d;:DO=\Ep%d;:F1=\EF11:\
+	:F2=\EF12:F3=\EF13:F4=\EF14:F5=\EF15:F6=\EF16:F7=\EF17:\
+	:F8=\EF18:F9=\EF19:FA=\EF20:LE=\Eq-%d;:RI=\Eq%d;:\
+	:UP=\Ep-%d;:\
+	:ac=61a\202f\260g2j\213k\214l\215m\216n\217o\220q\222s\224t\225u\226v\227w\230x\231~\244:\
+	:ae=\0:al=\EQ1;:as=\0:bl=^G:cb=\EL:cd=\EN:ce=\EK:\
+	:cl=\EP\EE0;0;:cm=\EE%d;%d;:cr=^M:cs=\Ek%d;%d;:ct=\Ej:\
+	:dc=\EI1;:dl=\ER1;:do=\EB:eA=\0:ec=\Ej%d;:ei=\EX:\
+	:ho=\EE0;0;:im=\EY:is=\ES\Er0;\Es0;:k0=\EF00:k1=\EF01:\
+	:k2=\EF02:k3=\EF03:k4=\EF04:k5=\EF05:k6=\EF06:k7=\EF07:\
+	:k8=\EF08:k9=\EF09:k;=\EF10:kD=\177:kI=\Eins:kN=\Enext:\
+	:kP=\Eprior:kb=^H:kd=\EB:kl=\EC:kr=\ED:ku=\EA:le=^H:\
+	:mb=\ES\EW:md=\ES\EU:me=\ES:mr=\ES\ET:nd=\ED:\
+	:oc=\Es0;\Er0;:rs=\ES\Es0;\Er0;:se=\ES:sf=\EG:so=\ES\ET:\
+	:sr=\EF:st=\Eh:ta=^I:ue=\ES:up=\EA:us=\ES\EV:ve=\Ea:vi=\EZ:
+
+#### 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:\
-	:co#80:it#8:li#25:\
-	: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57:\
-	:bl=^G:cl=^L:cr=^M:do=^J:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
-	:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:sf=^J:ta=^I:up=^K:
-
-######## UNIX VIRTUAL TERMINALS AND TELNET CLIENTS
-#
-
-#### FSF virtual terminal types
-#
+	:AL=\E%da:DC=\E%dE:DL=\E%dd:IC=\E%dA:RA=\E5S:SA=\E5s:\
+	:al=\Ea:bl=^G:cd=\EC:ce=\Ec:cl=^L:cm=\E%r%d;%dM:cr=^M:\
+	:cs=\E%d;%dt:dc=\EE:dl=\Ed:do=\Ef:ei=:hd=\E1;2f:hu=\E1;2u:\
+	:ic=\EA:im=:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
+	:md=\E2n:me=\E0n:mr=\E1n:nd=\Er:nw=^M^J:se=\E0n:sf=^J:\
+	:so=\E1n:ta=^I:ue=\E0n:up=\Eu:us=\E4n:ve=\Eh:vi=\E9h:\
+	:vs=\E0h:
+mgr-sun|Mgr window with Sun keyboard:\
+	:%1=\E[207z:%6=\E[198z:&8=\E[195z:@0=\E[200z:@5=\E[197z:\
+	:@7=\E[220z:@8=\E[250z:F1=\E[234z:F2=\E[235z:K1=\E[214z:\
+	:K2=\E[218z:K3=\E[216z:K4=\E[220z:K5=\E[222z:k1=\E[224z:\
+	:k2=\E[225z:k3=\E[226z:k4=\E[227z:k5=\E[228z:k6=\E[229z:\
+	:k7=\E[230z:k8=\E[231z:k9=\E[232z:k;=\E[233z:kN=\E[222z:\
+	:kP=\E[216z:kh=\E[214z:tc=mgr:
+mgr-linux|Mgr window with Linux keyboard:\
+	:@7=\E[4~:F1=\E[23~:F2=\E[24~:K1=\E[H:K2=\E[G:K3=\E[5~:\
+	:K4=\E[Y:K5=\E[6~:k0=\E[[J:k1=\E[[A:k2=\E[[B:k3=\E[[C:\
+	:k4=\E[[D:k5=\E[[E:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
+	:k9=\E[20~:k;=\E[21~:kD=\E[3~:kN=\E[6~:kP=\E[5~:kh=\E[1~:\
+	:tc=mgr:
+
+######## UNIX VIRTUAL TERMINALS, VIRTUAL CONSOLES, AND TELNET CLIENTS
+#
+
+# Columbus UNIX virtual terminal. This terminal also appears in 
+# UNIX 4.0 and successors as line discipline 1 (?), but is 
+# undocumented and does not really work quite right.
+cbunix|cb unix virtual terminal:\
+	:am:bs:da:db:\
+	:co#80:li#24:lm#0:\
+	:al=\EP:bl=^G:cd=\EL:ce=\EK:cl=\EL:cm=\EG%r%.%.:cr=^M:\
+	:dc=\EM:dl=\EN:do=^J:ei=:ic=\EO:im=:kd=\EB:kh=\EE:kl=\ED:\
+	:kr=\EC:ku=\EA:le=^H:nd=\EC:se=\Eb^D:sf=^J:so=\Ea^D:\
+	:ue=\Eb^A:up=\EA:us=\Ea^A:
+# (vremote: removed obsolete ":nl@:" -- esr)
+vremote|virtual remote terminal:\
+	:am@:\
+	:co#79:tc=cbunix:
+
+pty|4bsd pseudo teletype:\
+	:cm=\EG%+ %+ :se=\Eb$:so=\Ea$:ue=\Eb!:us=\Ea!:tc=cbunix:
 
 # The codes supported by the term.el terminal emulation in GNU Emacs 19.30 
 eterm|gnu emacs term.el terminal emulation:\
@@ -4822,13 +3032,21 @@
 # screen-w entries came with version 3.7.1.  The screen2 and screen3 entries
 # come from University of Wisconsin and may be older.
 # (screen: added :ve: on ANSI model -- esr)
-# (screen: added <el1> -- TD)
-
+#
+# 'screen' defines extensions to termcap.  Some are used in its terminal
+# description:
+#      G0   (bool)  Terminal can deal with ISO 2022  font  selection sequences.
+#      AX   (bool)  Does  understand ANSI set default fg/bg color
+#                   (\E[39m / \E[49m).
+#      S0   (str)   Switch charset 'G0' to the specified charset.
+#      E0   (str)   Switch charset 'G0' back to standard charset.
+#
+# tested with screen 3.09.08
 screen|VT 100/ANSI X3.64 virtual terminal:\
-	:am:km:mi:ms:xn:\
-	:Co#8:NC#3:co#80:it#8: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b=\Eg:ve=\E[34h\E[?25h:vi=\E[?25l:\
-	:vs=\E[34l:
+	:mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:rs=\Ec:sc=\E7:se=\E[23m:\
+	:sf=^J:so=\E[3m:sr=\EM:st=\EH:ta=^I:ue=\E[24m:up=\EM:\
+	:us=\E[4m:vb=\Eg:ve=\E[34h\E[?25h:vi=\E[?25l:vs=\E[34l:\
+	:E0=\E(B:S0=\E(%p1%c:tc=ecma+color:
+
+# Read the fine manpage:
+#       When  screen  tries  to  figure  out  a  terminal name for
+#       itself, it first looks for an entry named "screen.<term>",
+#       where  <term>  is the contents of your $TERM variable.  If
+#       no such entry exists, screen tries "screen" (or "screen-w"
+#       if the terminal is wide (132 cols or more)).  If even this
+#       entry cannot be found, "vt100" is used as a substitute.
+#
+# Here are a few customized entries which are useful -TD
+#
+# Notes:
+# (a)	screen does not support invis.
+# (b)	screen's implementation of bw is incorrect according to tack.
+# (c)	screen appears to hardcode the strings for khome/kend, making it
+#	necessary to override the "use=" clause's values.
+# (d)	screen sets $TERMCAP to a termcap-formatted copy of the 'screen' entry,
+#	which is NOT the same as the terminfo screen.<term>.
+# (e)	when screen finds one of these customized entries, it sets $TERM to
+#	match.  Hence, no "screen.xterm" entry is provided, since that would
+#	create heartburn for people running remote xterm's.
+#
+#	xterm (-xfree86 or -r6) does not normally support kIC, kNXT and kPRV
+#	since the default translations override the built-in keycode
+#	translation.  They are suppressed here to show what is tested by tack.
+screen.xterm-xfree86|screen customized for XFree86 xterm:\
+	:bw:ut@:\
+	:#3@:%c@:%e@:@7=\E[4~:kh=\E[1~:mk@:ml@:mu@:\
+	:..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
+	:tc=xterm-xfree86:
+# xterm-r6 does not really support khome/kend unless it is propped up by
+# the translations resource.
+screen.xterm-r6|screen customized for X11R6 xterm:\
+	:bw:tc=xterm-r6:
+# Color applications running in screen and TeraTerm do not play well together
+# on Solaris.
+screen.teraterm|disable ncv in teraterm:\
+	:NC#127:tc=screen:
 
 screen-w|VT 100/ANSI X3.64 virtual terminal with 132 cols:\
-	:am:km:mi:ms:xn:\
-	:Co#8:NC#3:co#132:it#8:li#24:pa#64:\
-	:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
-	:DO=\E[%dB:F1=\E[23~:F2=\E[24~:IC=\E[%d@:LE=\E[%dD:\
-	:RI=\E[%dC:UP=\E[%dA:\
-	:ac=++,,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
-	:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:eA=\E(B\E)0:ei=\E[4l:\
-	:ho=\E[H:im=\E[4h:is=\E)0:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
-	:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
-	:k;=\E[21~:kD=\E[3~:kH=\E[4~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
-	:kb=^H:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:kl=\EOD:kr=\EOC:\
-	:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:\
-	:mr=\E[7m:nd=\E[C:nw=\EE:op=\E[39;49m:rc=\E8:rs=\Ec:sc=\E7:\
-	:se=\E[23m:sf=^J:so=\E[3m:sr=\EM:st=\EH:ta=^I:ue=\E[24m:\
-	:up=\EM:us=\E[4m:vb=\Eg:ve=\E[34h\E[?25h:vi=\E[?25l:\
-	:vs=\E[34l:
+	:co#132:tc=screen:
 
 screen2|old VT 100/ANSI X3.64 virtual terminal:\
 	:co#80:it#8:li#24:\
@@ -4923,104 +3162,35 @@
 # The status-line manipulation is a mapping of the xterm-compatible control
 # sequences for setting the window-title.  So you must use tsl and fsl in
 # pairs, since the latter ends the string that is loaded to the window-title.
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
+# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 ncsa-m|ncsa-vt220-8|NCSA Telnet 2.6 for Macintosh in vt220-8 mode:\
 	:am:hs:km:mi:ms:xn:\
-	:%1=\E[1~:@7=\E[5~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
-	:DO=\E[%dB:F1=\E[29~:F2=\E[31~:F3=\E[32~:F4=\E[33~:\
-	:F5=\E[34~:IC=\E[%d@:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:\
-	:SA=\E[?7h:UP=\E[%dA:\
-	:ac=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
-	:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ds=\E]0;\007:eA=\E)0:\
-	:ei=\E[4l:fs=^G:ho=\E[H:if=/usr/share/tabset/vt100:\
-	:im=\E[4h:is=\E7\E[r\E[m\E[?7h\E[?1;4;6l\E[4l\E8\E>:\
-	:k1=\E[17~:k2=\E[18:k3=\E[19~:k4=\E[20~:k5=\E[21~:\
-	:k6=\E23~:k7=\E[24~:k8=\E[25~:k9=\E[26~:k;=\E[28~:\
-	:kD=\E[4~:kN=\E[6~:kP=\E[3~:kb=^H:kd=\E[B:kh=\E[2~:kl=\E[D:\
-	:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:\
-	:mr=\E[7m:nd=\E[C:pf=\E[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	:k2=\E[18:k3=\E[19~:k4=\E[20~:k5=\E[21~:k6=\E23~:\
-	:k7=\E[24~:k8=\E[25~:k9=\E[26~:k;=\E[28~:kD=\E[4~:\
-	:kN=\E[6~:kP=\E[3~:kb=^H:kd=\E[B:kh=\E[2~:kl=\E[D:kr=\E[C:\
-	:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:\
-	:nd=\E[C:pf=\E[4i:po=\E[5i:rc=\E8:\
-	:rf=/usr/share/tabset/vt100:\
-	:rs=\E7\E[r\E[m\E[?7h\E[?1;4;6l\E[4l\E8\E>:\
-	:..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;:\
-	:sc=\E7:se=\E[27m:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
-	:te=\E[2J\E8:ti=\E7:u6=\E[%i%d;%dR:u7=\E[6n:\
-	:u8=\E[?62;1;6c:u9=\E[c:ue=\E[24m:up=\E[A:us=\E[4m:\
-	:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:
+	:hs@:\
+	:ds@:fs@:ts@:tc=ncsa-m:
 # alternate -TD:
 # The documented function-key mapping refers to the Apple Extended Keyboard
 # (e.g., NCSA Telnet's F1 corresponds to a VT220 F6).  We use the VT220-style
@@ -5028,311 +3198,385 @@
 # some keyboards and many applications require these as F1-F4.
 #
 ncsa-vt220|NCSA Telnet using vt220-compatible function keys:\
-	:am:hs:km:mi:ms:xn:\
-	:Co#8:NC#3:pa#64:\
-	:%1=\E[1~:@7=\E[5~:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:\
-	:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:\
-	:F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:\
-	:F8=\E[32~:F9=\E[33~:FA=\E[34~:IC=\E[%d@:LE=\E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=\E[28~:\
+	:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:\
+	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
+	:k8=\E[19~:k9=\E[20~:k;=\E[21~:tc=ncsa:
 
 #### Pilot Pro Palm-Top
 #
-
-# From: Jason Downs <downsj@downsj.com>, 15 Jun 1997 (Top Gun Telnet's author)
+# Termcap for Top Gun Telnet and SSH on the Palm Pilot.
+# http://www.isaac.cs.berkeley.edu/pilot/tgtelnet.html
 pilot|tgtelnet|Top Gun Telnet on the Palm Pilot Professional:\
-	:am:xn:\
+	:am:bs:xn:\
 	:co#39:li#16:\
 	:bl=^G:cl=\Ec:cm=\Em%+ %+ :cr=^M:do=^J:ho=\Em\s\s:kN=^L:\
 	:kP=^K:kb=^H:kd=^J:kl=^H:le=^H:nw=\Em~\s:se=\EB:sf=^J:so=\Eb:\
 	:ta=^I:
 
-######## NON-UNIX 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:\
-	:AL=\E%da:DC=\E%dE:DL=\E%dd:IC=\E%dA:RA=\E5S:SA=\E5s:\
-	:al=\Ea:bl=^G:cd=\EC:ce=\Ec:cl=^L:cm=\E%r%d;%dM:cr=^M:\
-	:cs=\E%d;%dt:dc=\EE:dl=\Ed:do=\Ef:ei=:hd=\E1;2f:hu=\E1;2u:\
-	:ic=\EA:im=:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
-	:md=\E2n:me=\E0n:mr=\E1n:nd=\Er:nw=^M^J:se=\E0n:sf=^J:\
-	:so=\E1n:ta=^I:ue=\E0n:up=\Eu:us=\E4n:ve=\Eh:vi=\E9h:\
-	:vs=\E0h:
-mgr-sun|Mgr window with Sun keyboard:\
-	:am:km:\
-	:%1=\E[207z:%6=\E[198z:&8=\E[195z:@0=\E[200z:@5=\E197z:\
-	:@7=\E[220z:@8=\E[250z:AL=\E%da:DC=\E%dE:DL=\E%dd:\
-	:F1=\E[234z:F2=\E[235z:IC=\E%dA:K1=\E[214z:K2=\E[218z:\
-	:K3=\E[216z:K4=\E[220z:K5=\E[222z:RA=\E5S:SA=\E5s:al=\Ea:\
-	:bl=^G:cd=\EC:ce=\Ec:cl=^L:cm=\E%r%d;%dM:cr=^M:cs=\E%d;%dt:\
-	:dc=\EE:dl=\Ed:do=\Ef:ei=:hd=\E1;2f:hu=\E1;2u:ic=\EA:im=:\
+# From: Federico Bianchi <bianchi@www.arte.unipi.it>
+# These entries are for the Embeddable Linux Kernel System (ELKS)
+# project - an heavily stripped down Linux to be run on 16 bit
+# boxes or, eventually, to be used in embedded systems - and have been
+# adapted from the stock ELKS termcap. The project itself looks stalled,
+# and the latest improvements I know of date back to March 2000.
+#
+# To cope with the ELKS dumb console I added an "elks-glasstty" entry;
+# as an added bonus, this deals with all the capabilities common to
+# both VT52 and ANSI (or, eventually, "special") modes.
+
+elks-glasstty|ELKS glass-TTY capabilities:\
+	:am:bs:\
+	:co#80:it#8:li#25:\
+	:bl=^G:cr=^M:kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:
+
+elks-vt52|ELKS vt52 console:\
+	:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :do=\EB:ho=\EH:le=\ED:nd=\EC:\
+	:up=\EA:tc=elks-glasstty:
+
+elks-ansi|ELKS ANSI console:\
+	:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:do=\E[B:ho=\E[H:\
+	:le=\E[D:nd=\E[C:se=\E[m:so=\E[7m:up=\E[A:\
+	:tc=elks-glasstty:
+
+# As a matter of fact, ELKS 0.0.83 on PCs defaults to ANSI emulation
+# instead of VT52, but the "elks" entry still refers to the latter.
+
+elks|default ELKS console:\
+	:tc=elks-vt52:
+
+# Project SIBO (for Psion 3 palmtops) console is identical to the ELKS
+# one but in screen size
+
+sibo|ELKS SIBO console:\
+	:co#61:it#8:li#20:tc=elks-vt52:
+
+######## COMMERCIAL 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:xo:\
+	:co#80:li#25:\
+	:al=\E[L:bl=^G:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
+	:dc=\E[P:dl=\E[M:do=^J:ei=:ho=\E[H:ic=\E[@:im=:kb=^H:kd=\E[B:\
+	:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:mr=\E[7m:\
+	:nd=\E[C:nw=^M^J:se=\E[m:so=\E[7m:ta=^I:up=\E[A:
+
+#### Sun consoles
+#
+
+# :is1: resets scrolling region in case a previous user had used "tset vt100"
+oldsun|Sun Microsystems Workstation console:\
+	:am:bs:km:mi:ms:\
+	:co#80:it#8:li#34:\
+	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:al=\E[L:bl=^G:\
+	:cd=\E[J:ce=\E[K:cl=^L:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:\
+	:dl=\E[M:do=\E[B:ei=:i1=\E[1r:ic=\E[@:im=:k1=\EOP:k2=\EOQ:\
+	:k3=\EOR:k4=\EOS:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
+	:le=^H:me=\E[m:nd=\E[C:se=\E[m:sf=^J:so=\E[7m:ta=^I:up=\E[A:
+# From: Alexander Lukyanov <lav@video.yars.free.net>, 14 Nov 1995
+# :li: 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:ms:\
+	:co#80:li#34:\
+	:%7=\E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nd=\Er:nw=^M^J:se=\E0n:sf=^J:so=\E1n:ta=^I:\
-	:ue=\E0n:up=\Eu:us=\E4n:ve=\Eh:vi=\E9h:vs=\E0h:
-
-#### BeOS
-#
-# BeOS entry for Terminal program Seems to be almost ANSI
-beterm|BeOS Terminal:\
-	:am:eo:mi:ms:xn:xo:\
-	:Co#8:NC#5:co#80:it#8:li#25:pa#64:\
-	:&7=^Z:@7=\E[4~:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:\
-	:DL=\E[%dM:F1=\E[21~:F2=\E[22~:IC=\E[%d@:Sb=\E[%+(m:\
-	:Sf=\E[%+^^m:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:ch=\E[%i%dG:\
+	:kD=\177:kN=\E[222z:kP=\E[216z:kb=^H:kd=\E[B:kh=\E[214z:\
+	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:md@:me=\E[m:mr=\E[7m:nd=\E[C:\
+	:rs=\E[s:\
+	:..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m:\
+	:se=\E[m:sf=^J:so=\E[7m:ta=^I:u8=\E[1t:u9=\E[11t:ue@:\
+	:up=\E[A:us@:
+# On some versions of CGSIX framebuffer firmware (SparcStation 5), :al:/:AL:
+# flake out on the last line.  Unfortunately, without them the terminal has no
+# way to scroll.
+sun-cgsix|sun-ss5|Sun SparcStation 5 console:\
+	:AL@:al@:tc=sun-il:
+# If you are using an SS5, change the sun definition to use sun-ss5.
+sun|sun1|sun2|Sun Microsystems Inc. workstation console:\
+	:tc=sun-il:
+
+# From: <john@ucbrenoir>  Tue Sep 24 13:14:44 1985
+sun-s|Sun Microsystems Workstation window with status line:\
+	:hs:\
+	:ds=\E]l\E\\:fs=\E\\:ts=\E]l:tc=sun:
+sun-e-s|sun-s-e|Sun Microsystems Workstation with status hacked for emacs:\
+	:hs:\
+	:ds=\E]l\E\\:fs=\E\\:ts=\E]l:tc=sun-e:
+sun-48|Sun 48-line window:\
+	:co#80:li#48:tc=sun:
+sun-34|Sun 34-line window:\
+	:co#80:li#34:tc=sun:
+sun-24|Sun 24-line window:\
+	:co#80:li#24:tc=sun:
+sun-17|Sun 17-line window:\
+	:co#80:li#17:tc=sun:
+sun-12|Sun 12-line window:\
+	:co#80:li#12:tc=sun:
+sun-1|Sun 1-line window for sysline:\
+	:es:hs:\
+	:co#80:li#1:\
+	:ds=^L:fs=\E[K:ts=^M:tc=sun:
+sun-e|sun-nic|sune|Sun Microsystems Workstation without insert character:\
+	:ei@:ic@:im@:tc=sun:
+sun-c|sun-cmd|Sun Microsystems Workstation console with scrollable history:\
+	:li#35:\
+	:te=\E[>4h:ti=\E[>4l:tc=sun:
+
+#### Iris consoles
+#
+
+# (wsiris: this had extension capabilities
+#	:HS=\E7F2:HE=\E7F7:\
+#	:CT#2:CZ=*Bblack,red,green,yellow,blue,magenta,cyan,*Fwhite:
+# See the note on Iris extensions near the end of this file.  
+# Finally, removed suboptimal :cl:=\EH\EJ and added :do: & 
+# :vb: from BRL -- esr)
+wsiris|iris40|iris emulating a 40 line visual 50 (approximately):\
+	:am:bs:nc:pt:\
+	:co#80:it#8:kn#3:li#40:\
+	:al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=\Ev:cm=\EY%+ %+ :dl=\EM:\
+	:do=\EB:ho=\EH:is=\E7B0\E7F7\E7C2\E7R3:k0=\E0:k1=\E1:\
+	:k2=\E2:k3=\E3:k4=\E4:k5=\E5:k6=\E6:k7=\E7:k8=\E8:k9=\E9:\
+	:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:me=\E7F7:mh=\E7F2:nd=\EC:\
+	:nl=\EB:se=\E0@:sf=^J:so=\E9P:sr=\EI:ta=^I:ue=\E7R3\E0@:\
+	:up=\EA:us=\E7R2\E9P:vb=\E7F4\E7B1\013\E7F7\E7B0:ve=\E>:\
+	:vs=\E;:
+
+#### NeWS consoles
+#
+# Console terminal windows under the NeWS (Sun's Display Postscript windowing
+# environment).   Note: these have nothing to do with Sony's News workstation
+# line.
+#
+
+# Entry for NeWS's psterm from Eric Messick & Hugh Daniel
+# (psterm: unknown ":sl=\EOl:el=\ENl:" removed -- esr)
+psterm|psterm-basic|NeWS psterm-80x34:\
+	:am:bs:hs:km:ul:\
+	:co#80:it#8:li#34:\
+	:al=\EA:cd=\EB:ce=\EC:cl=^L:cm=\E%d;%d;:cs=\EE%d;%d;:\
+	:dc=\EF:dl=\EK:do=\EP:ei=\ENi:fs=\ENl:ho=\ER:i1=\EN*:\
+	:im=\EOi:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=\ET:ll=\EU:\
+	:mb=\EOb:md=\EOd:me=\EN*:mr=\EOr:nd=\EV:rc=^\:sc=^]:se=\ENo:\
+	:sf=\EW:so=\EOo:sr=\EX:ta=^I:te=\ENt:ti=\EOt:ts=\EOl:\
+	:ue=\ENu:up=\EY:us=\EOu:vb=\EZ:
+psterm-96x48|NeWS psterm 96x48:\
+	:co#96:li#48:tc=psterm:
+psterm-90x28|NeWS psterm 90x28:\
+	:co#90:li#28:tc=psterm:
+psterm-80x24|NeWS psterm 80x24:\
+	:co#80:li#24:tc=psterm:
+# This is a faster termcap for psterm.  Warning:  if you use this termcap,
+# some control characters you type will do strange things to the screen.
+# (psterm-fast: unknown ":sl=^Ol:el=^Nl:" -- esr)
+psterm-fast|NeWS psterm fast version (flaky ctrl chars):\
+	:am:bs:hs:km:ul:\
+	:co#80:it#8:li#34:\
+	:al=^A:cd=^B:ce=^C:cl=^L:cm=\004%d;%d;:cs=\005%d;%d;:dc=^F:\
+	:dl=^K:do=^P:ei=^Ni:fs=^Nl:ho=^R:i1=^N*:im=^Oi:kd=\E[B:\
+	:kl=\E[D:kr=\E[C:ku=\E[A:le=^T:ll=^U:mb=^Ob:md=^Od:me=^N*:\
+	:mr=^Or:nd=^V:rc=^\:sc=^]:se=^No:sf=^W:so=^Oo:sr=^X:ta=^I:\
+	:te=^Nt:ti=^Ot:ts=^Ol:ue=^Nu:up=^Y:us=^Ou:vb=^Z:
+
+#### NeXT consoles
+#
+# Use `glasstty' for the Workspace application
+#
+
+# From: Dave Wetzel <dave@turbocat.snafu.de> 22 Dec 1995
+next|NeXT console:\
+	:am:xt:\
+	:co#80:it#8:li#24:\
+	:bl=^G:ce=\E[K:cl=^L:cm=\E[%i%d;%dH:cr=^M:do=^J:ho=\E[H:\
+	:kb=^H:kd=^J:kl=^H:le=^H:me=\E[m:nd=\E[C:nw=^M^J:se=\E[4;1m:\
+	:sf=^J:so=\E[4;2m:ta=^I:up=\E[A:
+nextshell|NeXT Shell application:\
+	:am:\
+	:co#80:\
+	:bl=^G:cr=^M:do=^J:kb=^H:kd=^J:kl=^H:le=^H:nw=^M^J:ta=^I:
+
+#### Sony NEWS workstations
+#
+
+# (news-unk: this had :KB=news: -- esr)
+news-unk|SONY NEWS vt100 emulator common entry:\
+	:am:bs:pt:xn:\
+	:co#80:\
+	:AL=\E[%dL:DL=\E[%dM:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:\
+	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
+	:dl=\E[M:do=^J:ho=\E[H:if=/usr/lib/tabset/vt100:\
+	:is=\E[?7h\E[?1l\E[?3l\E7\E8:k0=\EOY:k1=\EOP:k2=\EOQ:\
+	:k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:k9=\EOX:\
+	:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
+	:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
+	:nl=^J:rc=\E8:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[r:\
+	:sc=\E7:se=\E[m:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:\
+	:us=\E[4m:
+#
+# (news-29: this had :TY=ascii: --esr)
+news-29:\
+	:li#29:tc=news-unk:
+# (news-29-euc: this had :TY=euc: --esr)
+news-29-euc:\
+	:tc=news-29:
+# (news-29-sjis: this had :TY=sjis: --esr)
+news-29-sjis:\
+	:tc=news-29:
+#
+# (news-33: this had :TY=ascii: --esr)
+news-33:\
+	:li#33:tc=news-unk:
+# (news-33-euc: this had :TY=euc: --esr)
+news-33-euc:\
+	:tc=news-33:
+# (news-33-sjis: this had :TY=sjis: --esr)
+news-33-sjis:\
+	:tc=news-33:
+#
+# (news-42: this had :TY=ascii: --esr)
+news-42:\
+	:li#42:tc=news-unk:
+# (news-42-euc: this had :TY=euc: --esr)
+news-42-euc:\
+	:tc=news-42:
+# (news-42-sjis: this had :TY=sjis: --esr)
+news-42-sjis:\
+	:tc=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:bs:pt:xn:\
+	:co#80:vt#3:\
+	:bl=^G:cd=\E[J:ce=\E[K:cl=\E[;H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
+	:cs=\E[%i%d;%dr:do=^J:ho=\E[H:if=/usr/lib/tabset/vt100:\
+	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:\
+	:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
+	:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nl=^J:rc=\E8:\
+	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:sc=\E7:se=\E[m:\
+	:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
+#
+# (nwp512: this had :DE=^H:, which I think means :bs: --esr)
+nwp512|news|nwp514|news40|vt100-bm|old sony vt100 emulator 40 lines:\
+	:bs:\
+	:li#40:\
+	:is=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;40r\E8:\
+	:tc=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:\
+	:li#42:\
+	:is=\E[?7h\E[?1l\E[?3l\E7\E[1;42r\E8:tc=news-old-unk:
+#
+# (nwp-512-o: this had :KB=nwp410:DE=^H:  I interpret the latter as :bs:. --esr)
+nwp512-o|nwp514-o|news-o|news40-o|vt100-bm-o|sony vt100 emulator 40 lines:\
+	:bs:\
+	:li#40:\
+	:is=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;40r\E8:\
+	:tc=news-old-unk:
+#
+# (nwp513: this had :DE=^H: and the alias vt100-bm --esr)
+nwp513|nwp518|nwe501|newscbm|news31|sony vt100 emulator 33 lines:\
+	:bs:\
+	:li#31:\
+	:is=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;31r\E8:\
+	:tc=news-old-unk:
+#
+# (nwp513-a: this had :TY=ascii: and :DE=^H:, which I interpret as :bs:; --esr)
+# also the alias vt100-bm.
+nwp513-a|nwp518-a|nwe501-a|nwp251-a|newscbm-a|news31-a|newscbm33|news33|old sony vt100 emulator 33 lines:\
+	:bs:\
+	:li#33:\
+	:is=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;33r\E8:\
+	:tc=news-old-unk:
+#
+# (nwp513-o: had :DE=^H:, I think that's :bs:; also the alias vt100-bm --esr)
+nwp513-o|nwp518-o|nwe501-o|nwp251-o|newscbm-o|news31-o|old sony vt100 emulator 33 lines:\
+	:bs:\
+	:li#31:\
+	:is=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;31r\E8:\
+	:tc=news-old-unk:
+#
+# (news28: this had :DE=^H:, I think that's :bs:, and :KB=nws1200: --esr)
+news28|sony vt100 emulator 28 lines:\
+	:bs:\
+	:li#28:\
+	:is=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;28r\E8:\
+	:tc=news-old-unk:
+#
+# (news29: this had :TY=ascii:KB=nws1200:\ --esr)
+news29|news28-a|sony vt100 emulator 29 lines:\
+	:li#29:\
+	:is=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;29r\E8:\
+	:tc=news-old-unk:
+#
+# (news511: this had :TY=sjis: --esr)
+nwp511|nwp-511|nwp-511 vt100:\
+	:am:bs:pt:xn:\
+	:co#80:li#24:\
+	:al=\E[L:cd=30\E[J:ce=3\E[K:cl=20\E[;H\E[2J:\
+	:cm=\E[%i%d;%dH:dl=\E[M:is=\E[?5l\E[?1l\E>\E[?7h\E[?8h:\
+	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:k6=\E#W:kd=\E[B:\
+	:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:nd=\E[C:\
+	:rs=\E7\E[r\E8\E[?5l\E[?1l\E>\E[?7h\E[?8h:se=2\E[m:\
+	:so=2\E[7m:sr=5\EM:ue=2\E[m:up=2\E[A:us=2\E[4m:\
+	:vb=\E[?5h\0\0\0\0\0\0\0\0\0\0\0\0\0\E[?5l:
+# (news517: this had :TY=sjis:. --esr)
+nwp517|nwp-517|nwp-517 vt200 80 cols 30 rows:\
+	:es:hs:\
+	:co#80:li#30:\
+	:ds=\E[1$~:fs=\E[0$}:i2=\E[2$~\n:\
+	:is=\E7\E[r\E8\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
+	:ts=\E[1$}\E[;%df:tc=vt200:
+# (news517-w: this had :TY=sjis:. --esr)
+nwp517-w|nwp-517-w|nwp-517 vt200 132 cols 50 rows:\
+	:es:hs:\
+	:co#132:li#50:\
+	:ds=\E[1$~:fs=\E[0$}:i2=\E[2$~\n:\
+	:is=\E7\E[r\E8\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h:\
+	:rs=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h:\
+	:ts=\E[1$}\E[;%df:tc=vt200:
+
+#### Common Desktop Environment
+#
+
+# This ships with Sun's CDE in Solaris 2.5
+# Corrected Sun Aug 9 1998 by Alexander V. Lukyanov <lav@video.yars.free.net>
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+dtterm|CDE desktop terminal:\
+	:am:mi:ms:xn:xo:\
+	:NC@:co#80:it#8:li#24:lm#0:\
+	:%1=\E[28~:*6=\E[4~:@0=\E[1~:AL=\E[%dL:DC=\E[%dP:\
+	:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:F3=\E[25~:\
+	:F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:\
+	:F9=\E[33~:FA=\E[34~:IC=\E[%d@:LE=\E[%dD:RA=\E[?7l:\
+	:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
+	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
+	:ae=^O:al=\E[L:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
 	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
-	:cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:\
-	:ic=\E[@:im=\E[4h:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:\
-	:k5=\E[15~:k6=\E[16~:k7=\E[17~:k8=\E[18~:k9=\E[19~:\
-	:k;=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:\
-	:kd=\E[B:kh=\E[1~:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:md=\E[1m:\
-	:me=\E[0;10m:mr=\E[7m:nd=\E[C:nw=^M^J:op=\E[m:r1=\Ec:\
-	:rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
-	:u6=\E[%i%d;%dR:u7=\E[6n:ue=\E[24m:up=\E[A:us=\E[4m:
-
-#### QNX
-#
-
-# QNX 4.0 Console
-# Michael's original version of this entry had <am@>, :ti=\Ei:,
-# :te=\Eh\ER:; this was so terminfo applications could write the lower
-# right corner without triggering a scroll.  The ncurses terminfo library can
-# handle this case with the :ic: capability, and prefers :am: for better
-# optimization.  Bug: The <op> capability resets attributes.
-# From: Michael Hunter <mphunter@qnx.com> 30 Jul 1996
-# (removed: :sa=%?%p1%t\E<%;%p2%t\E[%;%p3%t\E(%;%p4%t\E{%;%p6%t\E<%;,:)
-qnx|qnx4|qnx console:\
-	:YA:YC:km:mi:ms:xt:\
-	:Co#8:NC#3:co#80:it#4:li#25:pa#8:\
-	:!1=\377\307:!2=\377\303:!3=\377\337:#1=\377\371:\
-	:#2=\377\260:#3=\377\340:#4=\377\264:%0=\377\336:\
-	:%1=\377\350:%2=\377\355:%3=\377\345:%4=\377\351:\
-	:%5=\377\312:%6=\377\357:%7=\377\353:%8=\377\302:\
-	:%9=\377\255:%a=\377\304:%b=\377\306:%c=\377\272:\
-	:%d=\377\372:%e=\377\262:%f=\377\275:%g=\377\315:\
-	:%h=\377\373:%i=\377\266:%j=\377\374:&0=\377\263:\
-	:&1=\377\354:&2=\377\347:&3=\377\362:&4=\377\352:\
-	:&5=\377\360:&6=\377\361:&7=\377\335:&8=\377\365:\
-	:&9=\377\356:*0=\377\370:*1=\377\267:*2=\377\363:\
-	:*3=\377\364:*5=\377\366:*6=\377\247:*7=\377\301:\
-	:*8=\377\311:*9=\377\367:@0=\377\346:@1=\377\300:\
-	:@2=\377\243:@3=\377\343:@4=\377\245:@5=\377\265:\
-	:@6=\377\305:@7=\377\250:@8=\377\320:@9=\377\270:\
-	:F1=\377\256:F2=\377\257:F3=\377\213:F4=\377\214:\
-	:F5=\377\215:F6=\377\216:F7=\377\217:F8=\377\220:\
-	:F9=\377\221:FA=\377\222:FB=\377\223:FC=\377\224:\
-	:FD=\377\333:FE=\377\334:FF=\377\225:FG=\377\226:\
-	:FH=\377\227:FI=\377\230:FJ=\377\231:FK=\377\232:\
-	:FL=\377\233:FM=\377\234:FN=\377\235:FO=\377\236:\
-	:FP=\377\276:FQ=\377\277:FR=\377\321:FS=\377\322:\
-	:FT=\377\323:FU=\377\324:FV=\377\325:FW=\377\326:\
-	:FX=\377\327:FY=\377\330:FZ=\377\331:Fa=\377\332:\
-	:Fb=\377\316:Fc=\377\317:..Sb=\E@%p1%Pb%gb%gf%d%d:\
-	:..Sf=\E@%p1%Pf%gb%gf%d%d:Zc=\E!%02:\
-	:ac=l\332m\300k\277j\331q\304x\263u\264t\303n\305v\301w\302O\333a\261o\337s\334:\
-	:al=\EE:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:\
-	:dc=\Ef:dl=\EF:do=^J:ei=:ho=\EH:ic=\Ee:im=:k1=\377\201:\
-	:k2=\377\202:k3=\377\203:k4=\377\204:k5=\377\205:\
-	:k6=\377\206:k7=\377\207:k8=\377\210:k9=\377\211:\
-	:k;=\377\212:kA=\377\273:kB=\377\0:kC=\377\341:\
-	:kD=\377\254:kE=\377\310:kF=\377\261:kI=\377\253:\
-	:kL=\377\274:kM=\377\313:kN=\377\252:kP=\377\242:\
-	:kR=\377\271:kS=\377\314:kT=\377\342:ka=\377\344:\
-	:kd=\377\251:kh=\377\240:kl=\377\244:kr=\377\246:\
-	:kt=\377\237:ku=\377\241:le=^H:mb=\E{:md=\E<:\
-	:me=\E}\E]\E>\E):mr=\E(:nd=\EC:op=\ER:r1=\ER:\
-	:rp=\Eg%r%+ %.:se=\E):sf=^J:so=\E(:sr=\EI:ta=^I:te=\Eh\ER:\
-	:ti=\Ei:ue=\E]:up=\EA:us=\E[:ve=\Ey1:vi=\Ey0:vs=\Ey2:
-
-# From: Federico Bianchi <bianchi@pc-arte2.arte.unipi.it>, 1 Jul 1998
-# (esr: commented out <scp> and :te: to avoid warnings.)
-# (TD: derive from original qnx4 entry)
-qnxt2|qnx 2.15 serial terminal:\
-	:YA:YC:am:km:mi:ms:xt:\
-	:Co#8:NC#3:co#80:it#4:li#25:pa#8:\
-	:!1=\377\307:!2=\377\303:#1=\377\371:#2=\377\260:\
-	:#3=\377\340:#4=\377\264:%0=\377\336:%1=\377\350:\
-	:%2=\377\355:%3=\377\345:%4=\377\351:%5=\377\312:\
-	:%6=\377\357:%7=\377\353:%8=\377\302:%9=\377\255:\
-	:%a=\377\304:%b=\377\306:%c=\377\272:%d=\377\372:\
-	:%e=\377\262:%f=\377\275:%g=\377\315:%i=\377\266:\
-	:&0=\377\263:&1=\377\354:&2=\377\347:&3=\377\362:\
-	:&4=\377\352:&5=\377\360:&6=\377\361:&8=\377\365:\
-	:&9=\377\356:*0=\377\370:*1=\377\267:*2=\377\363:\
-	:*3=\377\364:*5=\377\366:*6=\377\247:*7=\377\301:\
-	:*8=\377\311:*9=\377\367:@0=\377\346:@1=\377\300:\
-	:@2=\377\243:@3=\377\343:@4=\377\245:@5=\377\265:\
-	:@6=\377\305:@7=\377\250:@8=\377\320:@9=\377\270:\
-	:F1=\377\256:F2=\377\257:F3=\377\213:F4=\377\214:\
-	:F5=\377\215:F6=\377\216:F7=\377\217:F8=\377\220:\
-	:F9=\377\221:FA=\377\222:FB=\377\223:FC=\377\224:\
-	:FD=\377\333:FE=\377\334:FF=\377\225:FG=\377\226:\
-	:FH=\377\227:FI=\377\230:FJ=\377\231:FK=\377\232:\
-	:FL=\377\233:FM=\377\234:FN=\377\235:FO=\377\236:\
-	:FP=\377\276:FQ=\377\277:FR=\377\321:FS=\377\322:\
-	:FT=\377\323:FU=\377\324:FV=\377\325:FW=\377\326:\
-	:FX=\377\327:FY=\377\330:FZ=\377\331:Fa=\377\332:\
-	:Fb=\377\316:Fc=\377\317:Zc=\E!%02:\
-	:ac=l\332m\300k\277j\331q\304x\263u\264t\303n\305v\301w\302O\333a\261o\337s\334:\
-	:al=\EE:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:\
-	:dl=\EF:do=^J:ho=\EH:k1=\377\201:k2=\377\202:k3=\377\203:\
-	:k4=\377\204:k5=\377\205:k6=\377\206:k7=\377\207:\
-	:k8=\377\210:k9=\377\211:k;=\377\212:kA=\377\273:\
-	:kB=\377\0:kC=\377\341:kD=\377\254:kE=\377\310:\
-	:kF=\377\261:kI=\377\253:kL=\377\274:kM=\377\313:\
-	:kN=\377\252:kP=\377\242:kR=\377\271:kS=\377\314:\
-	:kT=\377\342:ka=\377\344:kd=\377\251:kh=\377\240:\
-	:kl=\377\244:kr=\377\246:kt=\377\237:ku=\377\241:le=^H:\
-	:mb=\E{:md=\E<:me=\E}\E]\E>\E):mr=\E(:nd=\EC:op=\ER:r1=\ER:\
-	:se=\E>:sf=^J:so=\E<:sr=\EI:ta=^I:ue=\E]:up=\EA:us=\E[:
-
-#### DOS ANSI.SYS variants
-#
-# This completely describes the sequences specified in the DOS 2.1 ANSI.SYS
-# documentation (except for the keyboard key reassignment feature, which
-# doen't fit the <pfkey> model well).  The klone+acs sequences were valid
-# though undocumented.  The <pfkey> capability is untested but should work for
-# keys F1-F10 (%p1 values outside this range will yield unpredictable results).
-# From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 7 1995
-ansi.sys-old|ANSI.SYS under PC-DOS 2.1:\
-	:am:bs:mi:ms:xo:\
-	:Co#8:NC#3:co#80:li#25:pa#64:\
-	:AB=\E[4%dm:AF=\E[3%dm:RA=\E[?7l:S2=\E[11m:S3=\E[10m:\
-	:SA=\E[?7h:\
-	:ac=`\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:\
-	:ae=\E[10m:as=\E[11m:ce=\E[k:cl=\E[2J:cm=\E[%i%d;%dH:\
-	:do=\E[B:ho=\E[H:is=\E[m\E[?7h:kd=^J:kh=^^:kl=^H:kr=^L:\
-	:ku=^K:le=^H:mb=\E[5m:md=\E[1m:me=\E[0;10m:mk=\E[8m:\
-	:mr=\E[7m:nd=\E[C:op=\E[37;40m:pk=\E[0;%+\:;"%s":rc=\E[u:\
-	:..sa=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m:\
-	:sc=\E[s:se=\E[m:so=\E[7m:u6=\E[%i%d;%dR:u7=\E[6n:ue=\E[m:\
-	:up=\E[A:us=\E[4m:
-ansi.sys|ANSI.SYS 3.1 and later versions:\
-	:am:bs:mi:ms:xo:\
-	:Co#8:NC#3:co#80:li#25:pa#64:\
-	:AB=\E[4%dm:AF=\E[3%dm:RA=\E[?7l:S2=\E[11m:S3=\E[10m:\
-	:SA=\E[?7h:\
-	:ac=`\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:\
-	:ae=\E[10m:as=\E[11m:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:\
-	:do=\E[B:ho=\E[H:is=\E[m\E[?7h:kd=^J:kh=^^:kl=^H:kr=^L:\
-	:ku=^K:le=^H:mb=\E[5m:md=\E[1m:me=\E[0;10m:mk=\E[8m:\
-	:mr=\E[7m:nd=\E[C:op=\E[37;40m:pk=\E[0;%+\:;"%s":rc=\E[u:\
-	:..sa=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m:\
-	:sc=\E[s:se=\E[m:so=\E[7m:u6=\E[%i%d;%dR:u7=\E[6n:ue=\E[m:\
-	:up=\E[A:us=\E[4m:
-
-#
-# Define IBM PC keypad keys for vi as per MS-Kermit while using ANSI.SYS.
-# This should only be used when the terminal emulator cannot redefine the keys.
-# Since redefining keys with ansi.sys also affects PC-DOS programs, the key
-# definitions must be restored.  If the terminal emulator is quit while in vi
-# or others using :ks:/:ke:, the keypad will not be defined as per PC-DOS.
-# The PgUp and PgDn are prefixed with ESC so that tn3270 can be used on Unix
-# (^U and ^D are already defined for tn3270).  The ESC is safe for vi but it
-# does "beep".  ESC ESC i is used for Ins to avoid tn3270 ESC i for coltab.
-# Note that :kl: is always BS, because PC-dos can tolerate this change.
-# Caution: vi is limited to 256 string bytes, longer crashes or weirds out vi.
-# Consequently the End keypad key could not be set (it is relatively safe and
-# actually useful because it sends ^@ O, which beeps and opens a line above).
-ansi.sysk|ansisysk|PC-DOS 3.1 ANSI.SYS with keypad redefined for vi:\
-	:am:bs:mi:ms:xo:\
-	:Co#8:NC#3:co#80:li#25:pa#64:\
-	:AB=\E[4%dm:AF=\E[3%dm:RA=\E[?7l:S2=\E[11m:S3=\E[10m:\
-	:SA=\E[?7h:\
-	:ac=`\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:\
-	:ae=\E[10m:as=\E[11m:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:\
-	:do=\E[B:ho=\E[H:\
-	:is=U2 PC-DOS 3.1 ANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p:\
-	:kd=^J:\
-	:ke=\E[;71;0;71p\E[;72;0;72p\E[;73;0;73p\E[;77;0;77p\E[;80;0;80p\E[;81;0;81p\E[;82;0;82p\E[;83;0;83p:\
-	:kh=^^:kl=^H:kr=^L:\
-	:ks=\E[;71;30p\E[;72;11p\E[;73;27;21p\E[;77;12p\E[;80;10p\E[;81;27;4p\E[;82;27;27;105p\E[;83;127p:\
-	:ku=^K:le=^H:mb=\E[5m:md=\E[1m:me=\E[0;10m:mk=\E[8m:\
-	:mr=\E[7m:nd=\E[C:op=\E[37;40m:pk=\E[0;%+\:;"%s":rc=\E[u:\
-	:..sa=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m:\
-	:sc=\E[s:se=\E[m:so=\E[7m:u6=\E[%i%d;%dR:u7=\E[6n:ue=\E[m:\
-	:up=\E[A:us=\E[4m:
-#
-# Adds ins/del line/character, hence vi reverse scrolls/inserts/deletes nicer.
-nansi.sys|nansisys|PC-DOS Public Domain NANSI.SYS:\
-	:am:bs:mi:ms:xo:\
-	:Co#8:NC#3:co#80:li#25:pa#64:\
-	:AB=\E[4%dm:AF=\E[3%dm:RA=\E[?7l:S2=\E[11m:S3=\E[10m:\
-	:SA=\E[?7h:\
-	:ac=`\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:\
-	:ae=\E[10m:al=\E[1L:as=\E[11m:ce=\E[K:cl=\E[2J:\
-	:cm=\E[%i%d;%dH:dc=\E[1P:dl=\E[1M:do=\E[B:ei=:ho=\E[H:\
-	:ic=\E[1@:im=:\
-	:is=U3 PC-DOS Public Domain NANSI.SYS 9-23-86\n:kd=^J:\
-	:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:mb=\E[5m:md=\E[1m:\
-	:me=\E[0;10m:mk=\E[8m:mr=\E[7m:nd=\E[C:op=\E[37;40m:\
-	:pk=\E[0;%+\:;"%s":rc=\E[u:\
-	:..sa=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m:\
-	:sc=\E[s:se=\E[m:so=\E[7m:u6=\E[%i%d;%dR:u7=\E[6n:ue=\E[m:\
-	:up=\E[A:us=\E[4m:
-#
-# See ansi.sysk and nansi.sys above.
-nansi.sysk|nansisysk|PC-DOS Public Domain NANSI.SYS with keypad redefined for vi:\
-	:am:bs:mi:ms:xo:\
-	:Co#8:NC#3:co#80:li#25:pa#64:\
-	:AB=\E[4%dm:AF=\E[3%dm:RA=\E[?7l:S2=\E[11m:S3=\E[10m:\
-	:SA=\E[?7h:\
-	:ac=`\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:\
-	:ae=\E[10m:al=\E[1L:as=\E[11m:ce=\E[K:cl=\E[2J:\
-	:cm=\E[%i%d;%dH:dc=\E[1P:dl=\E[1M:do=\E[B:ei=:ho=\E[H:\
-	:ic=\E[1@:im=:\
-	:is=U4 PC-DOS Public Domain NANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p:\
-	:kd=^J:\
-	:ke=\E[;71;0;71p\E[;72;0;72p\E[;73;0;73p\E[;77;0;77p\E[;80;0;80p\E[;81;0;81p\E[;82;0;82p\E[;83;0;83p:\
-	:kh=^^:kl=^H:kr=^L:\
-	:ks=\E[;71;30p\E[;72;11p\E[;73;27;21p\E[;77;12p\E[;80;10p\E[;81;27;4p\E[;82;27;27;105p\E[;83;127p:\
-	:ku=^K:le=^H:mb=\E[5m:md=\E[1m:me=\E[0;10m:mk=\E[8m:\
-	:mr=\E[7m:nd=\E[C:op=\E[37;40m:pk=\E[0;%+\:;"%s":rc=\E[u:\
-	:..sa=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m:\
-	:sc=\E[s:se=\E[m:so=\E[7m:u6=\E[%i%d;%dR:u7=\E[6n:ue=\E[m:\
-	:up=\E[A:us=\E[4m:
-
-#### OS/2
+	:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:eA=\E(B\E)0:ec=\E[%dX:\
+	:ei=\E[4l:ho=\E[H:im=\E[4h:\
+	:is=\E F\E>\E[?1l\E[?7h\E[?45l:k1=\E[11~:k2=\E[12~:\
+	:k3=\E[13~:k4=\E[14~:k5=\E[15~:k6=\E[17~:k7=\E[18~:\
+	:k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\E[3~:kI=\E[2~:kN=\E[6~:\
+	:kP=\E[5~:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
+	:mb=\E[5m:md=\E[1m:me=\E[m\017:mh=\E[2m:mk=\E[8m:mr=\E[7m:\
+	:nd=\E[C:nw=\EE:rc=\E8:sc=\E7:se=\E[22;27m:sf=\ED:\
+	:so=\E[2;7m:sr=\EM:st=\EH:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:\
+	:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:tc=ecma+color:
+
+#### Non-Unix Consoles
 #
 
 # Except for the "-emx" suffixes, these are as distributed with EMX 0.9b,
@@ -5394,27 +3638,40 @@
 # Use this for cygwin32 (tested with beta 19.1)
 # underline is colored bright magenta
 # shifted kf1-kf12 are kf11-kf22
-cygwin|ansi emulation for cygwin32:\
-	:am:bs:mi:ms:xo:\
-	:Co#8:NC#3:co#80:li#25:pa#64:\
-	:@7=\E[4~:AB=\E[4%dm:AF=\E[3%dm:F1=\E[23~:F2=\E[24~:\
-	:F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:\
-	:F8=\E[32~:F9=\E[33~:FA=\E[34~:S2=\E[11m:S3=\E[10m:\
-	:ac=`\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:\
-	:ae=\E[10m:as=\E[11m:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:\
-	:do=\E[B:ho=\E[H:is=\E[m\E[?7h:k1=\E[[A:k2=\E[[B:k3=\E[[C:\
-	:k4=\E[[D:k5=\E[[E:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
+cygwinB19|ansi emulation for cygwin32:\
+	:@7=\E[4~:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
+	:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
+	:FA=\E[34~:RA@:SA@:k1=\E[[A:k2=\E[[B:k3=\E[[C:k4=\E[[D:\
+	:k5=\E[[E:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
+	:k;=\E[21~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kd=\E[B:\
+	:kh=\E[1~:kl=\E[D:kr=\E[C:ku=\E[A:tc=ansi.sys:
+
+# Use this for cygwin (tested with version 1.1.0).
+# I've combined pcansi and linux.  Some values of course were different and
+# I've indicated which of these were and which I used.
+# Cheers, earnie_boyd@yahoo.com
+# several changes based on running with tack and comparing with older entry -TD
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
+cygwin|ansi emulation for Cygwin:\
+	:am:eo:in:ms:xo:\
+	:Co#8:NC#3:co#80:it#8:li#25:pa#64:\
+	:&7=^Z:@7=\E[4~:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:\
+	:DL=\E[%dM:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
+	:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
+	:FA=\E[34~:IC=\E[%d@:S2=\E[11m:S3=\E[10m:al=\E[L:bl=^G:\
+	:cb=\E[1K:cd=\E[J:ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[J:\
+	:cm=\E[%i%d;%dH:cr=^M:cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=\E[B:\
+	:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:k1=\E[[A:k2=\E[[B:\
+	:k3=\E[[C:k4=\E[[D:k5=\E[[E:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
 	:k9=\E[20~:k;=\E[21~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
-	:kd=\E[B:kh=\E[1~:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
-	:md=\E[1m:me=\E[0;10m:mk=\E[8m:mr=\E[7m:nd=\E[C:\
-	:op=\E[37;40m:pk=\E[0;%+\:;"%s":rc=\E[u:\
-	:..sa=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m:\
-	:sc=\E[s:se=\E[m:so=\E[7m:u6=\E[%i%d;%dR:u7=\E[6n:ue=\E[m:\
-	:up=\E[A:us=\E[4m:
-
-
-#### Windows NT
-#
+	:kb=^H:kd=\E[B:kh=\E[1~:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
+	:md=\E[1m:me=\E[0;10m:mk=\E[8m:mr=\E[7m:nd=\E[C:nw=^M^J:\
+	:op=\E[39;49m:r1=\Ec\E]R:rc=\E8:sc=\E7:se=\E[27m:sf=^J:\
+	:so=\E[7m:sr=\EM:st=\EH:ta=^I:u6=\E[%i%d;%dR:u7=\E[6n:\
+	:u9=\E[c:ue=\E[24m:up=\E[A:us=\E[4m:
+
 # 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
@@ -5476,6 +3733,676 @@
 # quite common, but have proprietary command sets not blessed by ANSI.
 #
 
+#### Altos
+#
+# Altos made a moderately successful line of UNIX boxes.  In 1990 they were
+# bought out by Acer, a major Taiwanese manufacturer of PC-clones.
+# Acer has a web site at http://www.acer.com.
+#
+# Altos descriptions from Ted Mittelstaedt <tedm@agora.rain.com> 4 Sep 1993
+# His comments suggest they were shipped with the system.
+#
+
+# (altos2: had extension capabilities
+#	:c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
+#	:c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
+#	:c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
+#	:cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
+#	:XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
+#	:YU=^AQ\r:YD=^AR\r:YR=^AS\r:YL=^AT\r:\
+#	:HL=^AP\r:SP=\E[i:\
+#	:IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
+#	:LO=\E[0q:LC=\E[5q:LL=\E[6q:\
+# Comparison with the k* capabilities makes it obvious that the c* things are
+# shift keys.  I have renamed them to keys 32 and up accordingly.  Also,
+# :sr: was given as a boolean-- esr)
+altos2|alt2|altos-2|altos II:\
+	:co#80:it#8:li#24:sg#0:ug#0:\
+	:*5=^Am\r:*8=^An\r:FM=^A`\r:FN=^Aa\r:FO=^Ab\r:FP=^Ac\r:\
+	:FQ=^Ad\r:FR=^Ae\r:FS=^Af\r:FT=^Ag\r:FU=^Ah\r:FV=^Ai\r:\
+	:FW=^Aj\r:FX=^Ak\r:RA=\E[?7l:SA=\E[?7h:al=\E[L:cd=\E[J:\
+	:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:\
+	:dl=\E[M:do=\E[1B:ei=:ho=\E[H:ic=\E[@:\
+	:if=/usr/share/tabset/vt100:im=:\
+	:is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:k0=^AI\r:\
+	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
+	:k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=^AJ\r:kB=^AK\r:kC=^AL\r:\
+	:kD=^AM\r:kE=^AN\r:kF=^AO\r:kb=^H:kd=\E[B:kh=\E[f:kl=\E[D:\
+	:kr=\E[C:ku=\E[A:le=^H:me=\E[m:nd=\E[1C:nw=^M^J:se=\E[m:\
+	:sf=^J:so=\E[7m:ta=^I:ue=\E[m:up=\E[1A:us=\E[4m:
+# (altos3: had extension capabilities
+#	:c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
+#	:c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
+#	:c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
+#	:cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
+#	:XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
+#	:HL=^AP\r:SP=\E[i:\
+#	:IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
+altos3|altos5|alt3|alt5|altos-3|altos-5|altos III or V:\
+	:mb=\E[5p:me=\E[p:sr=\EM:tc=altos2:
+altos4|alt4|altos-4|altos IV:\
+	:tc=wy50:
+# (altos7: had extension capabilities:
+#	:GG#0:GI=\EH8:GF=\EH7:\
+#	:c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
+#	:c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
+#	:c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
+#	:cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
+# Comparison with the k* capabilities makes it obvious that the c* things are
+# shift keys.  I have renamed them to keys 32 and up accordingly.  I have
+# also made this entry relative to adm12 in order to give it an :sa:. The
+# <invis> imported by use=adm+sgr may work, let me know. -- esr)
+altos7|alt7|altos VII:\
+	:am:mi:\
+	:co#80:li#24:sg#0:\
+	:*5=^Am\r:*8=^An\r:FM=^A`\r:FN=^Aa\r:FO=^Ab\r:FP=^Ac\r:\
+	:FQ=^Ad\r:FR=^Ae\r:FS=^Af\r:FT=^Ag\r:FU=^Ah\r:FV=^Ai\r:\
+	:FW=^Aj\r:FX=^Ak\r:ac=j5k3l2m1n8q\:t4u9v=w0x6:al=\EE:\
+	:cd=\EY:ce=\ET:cl=\E+^^:cm=\E=%+ %+ :cr=^M:dc=\EW:dl=\ER:\
+	:do=^J:ei=\Er:ho=^^:im=\Eq:\
+	:is=\E`\:\Ee(\EO\Ee6\Ec41\E~4\Ec21\Eu\E~2:k0=^AI\r:\
+	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
+	:k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=^AJ\r:kB=^AK\r:kC=^AL\r:\
+	:kD=^AM\r:kE=^AN\r:kF=^AO\r:kN=\EK:kP=\EJ:kb=^H:kd=^J:kh=^^:\
+	:kl=^H:kr=^L:ku=^K:le=^H:mb=\EG2:md=\EGt:mh=\EGp:mk=\EG1:\
+	:nd=^L:nw=^M^J:pf=\EJ:po=\Ed#:sf=^J:sr=\Ej:ta=^I:up=^K:\
+	:tc=adm+sgr:
+altos7pc|alt7pc|altos PC VII:\
+	:@7=\ET:tc=altos7:
+
+#### Hewlett-Packard (hp)
+#
+#	Hewlett-Packard
+#	8000 Foothills Blvd 
+#	Roseville, CA 95747
+#	Vox: 1-(916)-785-4363	(Technical response line for VDTs)
+#	     1-(800)-633-3600	(General customer support)
+#
+#
+# As of March 1998, HP no longer has any terminals in production.
+# The 700 series (22, 32, 41, 44, 92, 94, 96, 98) is still being 
+# supported (they still have parts). So are the 2392a and 2394a.
+# See the WORKSTATION CONSOLES section for the 700s.
+#
+
+# Generic HP terminal - this should (hopefully) work on any HP terminal.
+hpgeneric|hp|hewlett-packard generic terminal:\
+	:am:bs:da:db:mi:pt:xs:\
+	:co#80:li#24:lm#0:vt#6:\
+	:al=\EL:bl=^G:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\EH\EJ:\
+	:cm=\E&a%r%dc%dY:cr=^M:ct=\E3:cv=\E&a%dY:dc=\EP:dl=\EM:\
+	:do=^J:ei=\ER:im=\EQ:kB=\Ei:kb=^H:le=^H:me=\E&d@:nd=\EC:\
+	:se=\E&d@:sf=^J:so=\E&dJ:st=\E1:ta=^I:ue=\E&d@:up=\EA:\
+	:us=\E&dD:
+
+hp110|hewlett-packard model 110 portable:\
+	:li#16:tc=hpgeneric:
+
+hp+pfk+cr|hp function keys with CR:\
+	:k1=\Ep\r:k2=\Eq\r:k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:\
+	:k7=\Ev\r:k8=\Ew\r:
+
+hp+pfk-cr|hp function keys w/o CR:\
+	:k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:
+
+# The hp2621s use the same keys for the arrows and function keys, 
+# but not separate escape sequences. These definitions allow the 
+# user to use those keys as arrow keys rather than as function 
+# keys.
+hp+pfk+arrows|hp alternate arrow definitions:\
+	:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:kF=\Er\r:kH=\Eq\r:kR=\Es\r:\
+	:kd=\Ew\r:kh=\Ep\r:kl=\Eu\r:kr=\Ev\r:ku=\Et\r:
+
+hp+arrows|hp arrow definitions:\
+	:kF=\ES:kH=\EF:kR=\ET:kd=\EB:kh=\Eh:kl=\ED:kr=\EC:ku=\EA:
+
+# Generic stuff from the HP 262x series
+#
+hp262x|HP 262x terminals:\
+	:xs:\
+	:cd=\EJ:dc=\EP:ip=:kA=\EL:kD=\EP:kE=\EK:kF=\ES:kI=\EQ:kL=\EM:\
+	:kM=\ER:kN=\EU:kP=\EV:kR=\ET:kS=\EJ:kd=\EB:ke=\E&s0A:kh=\Eh:\
+	:kl=\ED:kr=\EC:ks=\E&s1A:ku=\EA:mb=\E&dA:me=\E&d@:mk=\E&dS:\
+	:mr=\E&dB:\
+	:..sa=\E&d%{64}%?%p1%t%{66}%|%;%?%p2%t%{68}%|%;%?%p3%t%{66}%|%;%?%p4%t%{65}%|%;%c:\
+	:se=\E&d@:sf=\ES:so=\E&dB:ta=\011:ue=\E&d@:us=\E&dD:
+
+# Note: no :ho: on HPs since that homes to top of memory, not screen.
+# Due to severe 2621 braindamage, the only way to get the arrow keys to
+# transmit anything at all is to turn on the function key labels
+# with :ks:, and even then the user has to hold down shift!
+# The default 2621 turns off the labels except when it has to to 
+# enable the function keys. If your installation prefers labels 
+# on all the time, or off all the time (at the "expense" of the 
+# function keys), use 2621-nl or 2621-wl.
+# 
+# Note: there are newer ROMs for 2621's that allow you to set 
+# strap A so the regular arrow keys xmit \EA, etc, as with the 
+# 2645. However, even with this strap set, the terminal stops 
+# xmitting if you reset it, until you unset and reset the strap!
+# Since there is no way to set/unset the strap with an escape 
+# sequence, we don't use it in the default.
+# If you like, you can use 2621-ba (brain-damaged arrow keys).
+hp2621-ba|2621 w/new rom and strap A set:\
+	:ke@:ks@:tc=hp+arrows:tc=hp2621:
+
+# hp2621 with function labels. Most of the time they are off,
+# but inside vi, the function key labels appear. You have to
+# hold down shift to get them to xmit.
+hp2621|hp2621a|hp2621A|2621|2621a|2621A|hp2621-wl|2621-wl|hp 2621 w/labels:\
+	:is=\E&jA\r:ke=\E&jA:tc=hp2621-fl:
+hp2621-fl|hp 2621:\
+	:xo:xs@:\
+	:pb#19200:\
+	:bt=\Ei:cm=\E&a%r%dc%dY:dc=\EP:ip=:is=\E&j@\r:ke=\E&j@:\
+	:ks=\E&jB:me=\E&d@:se=\E&d@:so=\E&dD:ta=\011:ue=\E&d@:\
+	:us=\E&dD:tc=hp+pfk+cr:tc=hpgeneric:
+
+# To use hp2621p printer, setenv TERM=2621p, PRINTER=2612p
+hp2621p|hp 2621 with printer:\
+	:pf=\E&p13C:po=\E&p11C:tc=hp2621:
+
+hp2621p-a|hp2621p with fn as arrows:\
+	:tc=hp+pfk+arrows:tc=hp2621p:
+
+# hp2621 with k45 keyboard
+hp2621-k45|hp2621k45|k45|hp 2621 with 45 keyboard:\
+	:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:\
+	:ku=\EA:tc=hp2621:
+
+# 2621 using all 48 lines of memory, only 24 visible at any time.  
+hp2621-48|48 line 2621:\
+	:li#48:\
+	:cm=\E&a%r%dc%dR:cv=\E&a%dR:ho=\EH:tc=hp2621:
+
+# 2621 with no labels ever. Also prevents vi delays on escape.
+hp2621-nl|hp 2621 with no labels:\
+	:kd@:ke@:kh@:kl@:kr@:ks@:ku@:tc=hp2621-fl:
+
+# Needed for UCB ARPAVAX console, since lsi-11 expands tabs 
+# (wrong).
+#
+hp2621-nt|hp 2621 w/no tabs:\
+	:ta@:tc=hp2621:
+
+# Hp 2624 B with 4 or 10 pages of memory.
+# 
+# Some assumptions are made with this entry. These settings are 
+# NOT set up by the initialization strings.
+# 
+# Port Configuration
+# 	RecvPace=Xon/Xoff
+# 	XmitPace=Xon/Xoff
+# 	StripNulDel=Yes
+# 
+# Terminal Configuration
+# 	InhHndShk=Yes
+# 	InhDC2=Yes
+# 	XmitFnctn(A)=No
+# 	InhEolWrp=No
+# 
+# Note: the 2624 DOES have a true :ho:, believe it or not!
+# 
+# The 2624 has an "error line" to which messages can be sent. 
+# This is CLOSE to what is expected for a "status line". However,
+# after a message is sent to the "error line", the next carriage 
+# return is EATEN and the "error line" is turned back off again! 
+# So I guess we can't define :hs:, :es:, :ws:, :ds:, :fs:, :ts:.
+# 
+# This entry supports emacs (and any other program that uses raw 
+# mode) at 4800 baud and less. I couldn't get the padding right 
+# for 9600.
+#
+# (hp2624: replaced NUL sequences in flash with mandatory pauses -- esr)
+hp2624|hp2624a|hp2624b|hp2624b-4p|Hewlett Packard 2624 B:\
+	:da:db:\
+	:lm#96:\
+	:vb=\E&w13F\E&w12F\E&w13F\E&w12F:tc=hp+labels:tc=scrhp:
+
+# This hp2626 entry does not use any of the fancy windowing stuff 
+# of the 2626.
+# 
+# Indeed, terminfo does not yet handle such stuff. Since changing 
+# any window clears memory, it is probably not possible to use 
+# this for screen opt.
+# 
+# ed is incredibly slow most of the time - I am guessing at the 
+# exact padding. Since the terminal uses xoff/xon this is intended 
+# only for cost computation, so that the terminal will prefer el 
+# or even dl1 which is probably faster!
+# 
+# \ED\EJ\EC hack for ed from Ed Bradford - apparently ed is only 
+# extra slow on the last line of the window. 
+# 
+# The padding probably should be changed.
+#
+hp2626|hp2626a|hp2626p|hp 2626:\
+	:da:db:\
+	:lm#0:pb#19200:\
+	:SF=\E&r%dD:SR=\E&r%dU:cd=\ED\EJ\EC:ip=:is=\E&j@\r:\
+	:tc=hp+pfk+cr:tc=hp+labels:tc=scrhp:
+
+# This entry is for sysline. It allocates a 23 line window with 
+# a 115 line workspace for regular use, and a 1 line window for 
+# the status line.
+# 
+# This assumes port 2 is being used.
+# Turn off horizontal line, Create ws #1 with 115 lines,
+# Create ws #2 with 1 line, Create window #1 lines 1-23,
+# Create window #2 lines 24-24, Attach cursor to workspace #1.
+# Note that this clears the tabs so it must be done by tset before
+# it sets the tabs.
+#
+hp2626-s|hp 2626 using only 23 lines:\
+	:es:hs:\
+	:li#23:\
+	:fs=\E&d@\E&w7f2p1I\E&w4f1I:\
+	:i1=\E&q3t0{0H \E&w0f115n1I \E&w0f1n2I \E&w2f1i0d0u22l0S \E&w2f2i0d23u23l0S \E&w7f2p1I \r:\
+	:ts=\E&w7f2p2I\E&w4f2I\r\EK\E&a%dC:tc=hp2626:
+# Force terminal back to 24 lines after being 23.
+hp2626-ns|hp 2626 using all 24 lines:\
+	:i1=\E&q3t0{0H \E&w0f118n1I \E&w0f1n2I \E&w2f1i0d0u23l0S \E&w3f2I \E&w7f2p1I \r:\
+	:tc=hp2626:
+# Various entries useful for small windows on 2626.
+hp2626-12|hewlett-packard 2626 12 lines:\
+	:li#12:tc=hp2626:
+hp2626-12x40|hewlett-packard 2626 12 lines 40 columns:\
+	:co#40:li#12:tc=hp2626:
+hp2626-x40|hewlett-packard 2626 40 columns:\
+	:co#40:tc=hp2626:
+hp2626-12-s|hewlett-packard 2626 11 lines plus status:\
+	:li#11:tc=hp2626-s:
+
+#
+# hp2627 color tubes from University of Wisconsin
+#
+hp2627a-rev|hp 2627 with reverse video colors:\
+	:cr=^M:do=^J:\
+	:is=\E&v0m1a0b0c1x1y1z1i0a0b1c1x1y1z0i0S\E&j@\r\E3\r:\
+	:kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:ue=\E&v0S\E&d@:\
+	:us=\E&dD\E&v1S:tc=hp2621-nl:
+hp2627a|hp 2627 color terminal with no labels:\
+	:cr=^M:do=^J:\
+	:is=\E&v0m1a1b0c1i0a1b1c2i1a0b0c0i0S\E&j@\r\E3\r:\
+	:kb=^H:kd=^J:kl=^H:nw=^M^J:se=\E&v0S:sf=^J:so=\E&v2S:ta=^I:\
+	:ue=\E&v0S\E&d@:us=\E&dD\E&v1S:tc=hp2621-nl:
+hp2627c|hp 2627 color (cyan) terminal with no labels:\
+	:cr=^M:do=^J:\
+	:is=\E&v0m1a0b0c2i1a1b0c1i0a1b1c0i0S\E&j@\r\E3\r:\
+	:kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:tc=hp2627a:
+
+# hp2640a doesn't have the Y cursor addressing feature, and C is 
+# memory relative instead of screen relative, as we need.
+#
+hp2640a|hp 2640a:\
+	:cm@:ke@:ks@:tc=hp2645:
+
+hp2640b|hp2644a|hp 264x series:\
+	:ke@:ks@:tc=hp2645:
+
+# (hp2641a: removed unknown :gu: -- esr)
+hp2641a|hp2645a|hp2647a|HP 264?A series BRL entry:\
+	:am:da:db:mi:xs:\
+	:co#80:li#24:\
+	:al=\EL:bl=^G:cd=\EJ:ce=\EK:ch=\E&a%2C:cl=\EH\EJ:\
+	:cm=\E&a%r%2c%2Y:cr=^M:cv=\E&a%2Y:dc=\EP:dl=\EM:do=^J:\
+	:ei=\ER:if=/usr/share/tabset/std:im=\EQ:is=500\EE:kb=^H:\
+	:kd=^J:kl=^H:le=^H:nd=\EC:nw=^M^J:se=\E&d@:sf=^J:so=\E&dB:\
+	:ta=^I:up=\EA:
+
+# This terminal should be used at 4800 baud or less. It needs padding for
+# plain characters at 9600, I guessed at an appropriate cr delay.  It really
+# wants ^E/^F handshaking, but that doesn't work well even if you write
+# software to support it.
+hp2645|hp45|HP 2645 series:\
+	:pb#9600:\
+	:cr=\r:kA=\EL:kD=\EP:kE=\EK:kF=\ES:kI=\EQ:kL=\EM:kM=\ER:\
+	:kN=\EU:kP=\EV:kR=\ET:kS=\EJ:kT=\E1:kd=\EB:ke=\E&s0A:kh=\Eh:\
+	:kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:ku=\EA:mb=\E&dA:me=\E&d@:\
+	:mh=\E&dH:mr=\E&dB:\
+	:..sa=\E&d%{64}%?%p1%t%{66}%|%;%?%p2%t%{68}%|%;%?%p3%t%{66}%|%;%?%p4%t%{65}%|%;%?%p5%t%{72}%|%;%?%p6%t%{66}%|%;%c:\
+	:us=\E&dD:tc=hpgeneric:
+# You should use this terminal at 4800 baud or less.
+hp2648|hp2648a|HP 2648a graphics terminal:\
+	:cl=\EH\EJ:cm=\E&a%r%dc%dY:dc=\EP:ip=:tc=hp2645:
+
+# The HP 150 terminal is a fairly vanilla HP terminal, with the 
+# clreol standout problem. It also has graphics capabilities and 
+# a touch screen, which we don't describe here.
+hp150|hewlett packard Model 150:\
+	:bs:tc=hp2622:
+
+# HP 2382a terminals, "the little ones." They don't have any 
+# alternate character set support and sending out ^N/^O will 
+# leave the screen blank.
+hp2382a|hp2382|hewlett packard 2382a:\
+	:da:db:\
+	:lh#1:lm#48:\
+	:ac@:ae@:as@:me=\E&d@:\
+	:..pn=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s:\
+	:..sa=\E&d%{0}%Pa%?%p4%t%{1}%ga%+%Pa%;%?%p1%p3%|%p6%|%t%{2}%ga%+%Pa%;%?%p2%p6%|%t%{4}%ga%+%Pa%;%?%p1%p5%|%t%{8}%ga%+%Pa%;%?%p7%t%?%ga%ts%ga%{64}%+%e%{83}%;%e%?%ga%t%ga%{64}%+%e%{64}%;%;%c:\
+	:tc=hp+labels:tc=scrhp:
+
+hp2621-a|hp2621a-a|hp2621 with fn as arrows:\
+	:tc=hp+pfk+arrows:tc=hp2621-fl:
+
+# newer hewlett packard terminals
+
+newhpkeyboard|generic entry for HP extended keyboard:\
+	:kA=\EL:kB=\Ei:kC=\EJ:kD=\EP:kE=\EK:kF=\ET:kH=\EF:kI=\EQ:\
+	:kL=\EM:kM=\ER:kN=\EU:kP=\EV:kR=\ES:kS=\EJ:kb=^H:kd=\EB:\
+	:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:ku=\EA:\
+	:tc=hp+pfk-cr:
+
+newhp|generic entry for new hewlett packard terminals:\
+	:am:bw:mi:xo:xs:\
+	:co#80:li#24:pb#4800:\
+	:ac=2[3@4>5I9(\:'JSKWLQMAO#P$Q;R!S"T1U2V4W3X\:Y+Z*dHjGkTlRmFn/q,t5u6v8w7x.:\
+	:ae=^O:al=\EL:as=^N:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:cr=^M:ct=\E3:\
+	:dc=\EP:dl=\EM:do=^J:ei=\ER:i1=\E&jB:im=\EQ:ip=:le=^H:\
+	:mb=\E&dA:md=\E&dF:me=\E&d@\017:mh=\E&dH:mk=\E&dS:\
+	:mr=\E&dB:nd=\EC:nw=^M^J:\
+	:..pk=\E&f0a%p1%dk0d%p2%l%dL%p2%s:\
+	:..pl=\E&f1a%p1%dk0d%p2%l%dL%p2%s:\
+	:..px=\E&f2a%p1%dk0d%p2%l%dL%p2%s:r1=\Eg:\
+	:..sa=\E&d%{0}%Pa%?%p4%t%{1}%ga%+%Pa%;%?%p1%p3%|%p6%|%t%{2}%ga%+%Pa%;%?%p2%p6%|%t%{4}%ga%+%Pa%;%?%p1%p5%|%t%{8}%ga%+%Pa%;%?%p7%t%?%ga%ts%ga%{64}%+%e%{83}%;%e%?%ga%t%ga%{64}%+%e%{64}%;%;%c%?%p9%t\016%e\017%;:\
+	:se=\E&d@:sf=^J:so=\E&dJ:sr=\ET:st=\E1:ta=\011:ue=\E&d@:\
+	:up=\EA:us=\E&dD:tc=newhpkeyboard:
+
+memhp|memory relative addressing for new HP ttys:\
+	:vt#6:\
+	:CM=\E&a%dr%dC:DO=\E&a+%dR:LE=\E&a-%dC:RI=\E&a+%dC:\
+	:UP=\E&a-%dR:ch=\E&a%dC:cl=\EH\EJ:cm=\E&a%dr%dC:\
+	:cv=\E&a%dR:ho=\EH:ll=\E&a23R\r:tc=newhp:
+
+scrhp|screen relative addressing for new HP ttys:\
+	:CM=\E&a%dr%dC:DO=\E&a+%dR:LE=\E&a-%dC:RI=\E&a+%dC:\
+	:UP=\E&a-%dR:ch=\E&a%dC:cl=\E&a0c0Y\EJ:cm=\E&a%dy%dC:\
+	:cv=\E&a%dY:ho=\E&a0y0C:ll=\E&a0y0C\EA:tc=newhp:
+
+# (hp+labels: added label values from a BRL termcap -- esr)
+hp+labels|"standard" label info for new HP ttys:\
+	:Nl#8:lh#2:lw#8:\
+	:LF=\E&j@:LO=\E&jB:l0=f1:l1=f2:l2=f3:l3=f4:l4=f5:l5=f6:l6=f7:\
+	:l7=f8:\
+	:..pn=\E&f2a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s:
+
+hp+printer|"standard" printer info for HP ttys:\
+	:ff=\E&p4u0C:pf=\E&p13C:po=\E&p11C:ps=\EH\E&p4dF:
+
+
+# The new hp2621b is kind of a cross between the old 2621 and the
+# new 262x series of machines. It has dip-switched options. 
+# The firmware has a bug in it such that if you give it a null 
+# length label, the following character is eaten!
+hp2621b|hp 2621b with old style keyboard:\
+	:Nl#8:lh#1:lm#48:lw#8:\
+	:LO=\E&jB:kF=\ET:kH=\EF:kR=\ES:kd=\EB:kh=\Eh:kl=\ED:kr=\EC:\
+	:ku=\EA:\
+	:..pn=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d3L%?%ga%!%t%{32}%c%;%p2%s\E%{111}%p1%+%c\r:\
+	:tc=hp2621:
+
+hp2621b-p|hp 2621b with printer:\
+	:tc=hp+printer:tc=hp2621b:
+
+# hp2621b - new 2621b with new extended keyboard
+# these are closer to the new 26xx series than the other 2621b
+hp2621b-kx|hp 2621b with extended keyboard:\
+	:tc=newhpkeyboard:tc=hp2621b:
+
+hp2621b-kx-p|hp 2621b with new keyboard & printer:\
+	:tc=hp+printer:tc=hp2621b-kx:
+
+# Some assumptions are made in the following entries.
+# These settings are NOT set up by the initialization strings.
+# 
+#    Port Configuration
+# RecvPace=Xon/Xoff	XmitPace=Xon/Xoff	StripNulDel=Yes
+# 
+#    Terminal Configuration
+# InhHndShk(G)=Yes	InhDC2(H)=Yes
+# XmitFnctn(A)=No		InhEolWrp=No
+#
+# 
+# Hp 2622a & hp2623a display and graphics terminals
+#
+hp2622|hp2622a|hp 2622:\
+	:da:db:\
+	:lm#0:pb#19200:\
+	:is=\E&dj@\r:tc=hp+pfk+cr:tc=hp+labels:tc=scrhp:
+
+# The 2623 is a 2622 with extra graphics hardware.
+hp2623|hp2623a|hp 2623:\
+	:tc=hp2622:
+
+hp2624b-p|hp2624b-4p-p|hewlett packard 2624 B with printer:\
+	:tc=hp+printer:tc=hp2624:
+
+# The hewlett packard B can have an optional extra 6 pages of memory.
+hp2624-10p|hp2624a-10p|hp2624b-10p|hewlett packard 2624 B w/ 10 pages of memory:\
+	:lm#240:tc=hp2624:
+
+hp2624b-10p-p|hewlett packard 2624 B w/ extra memory & printer:\
+	:lm#240:tc=hp2624b-p:
+
+# Color manipulations for HP terminals
+hp+color|hp with colors:\
+	:cc:\
+	:Co#16:NC#17:pa#7:\
+	:..Ip=\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:sp=\E&v%dS:
+
+# :is: sets the screen to be 80 columns wide
+hp2397a|hp2397|hewlett packard 2397A color terminal:\
+	:is=\E&w6f80X:tc=memhp:tc=hp+labels:tc=hp+color:
+
+#  HP 700/44 Setup parameters:  
+# Terminal Mode		HP-PCterm
+# Inhibit Auto Wrap	NO
+# Status Line		Host Writable
+# PC Character Set	YES
+# Twenty-Five Line Mode	YES
+# XON/XOFF		@128 or 64 (sc)
+# Keycode Mode 		NO   or YES (sc)
+# Backspace Key		BS or BS/DEL
+#
+# :is: 	sets pcterm; autowrap; 25 lines; pc char set; prog DEL key; 
+# \E\\? does not turn off keycode mode
+# <smsc>	sets alternate start/stop; keycode on
+hpansi|hp700|hewlett packard 700/44 in HP-PCterm mode:\
+	:am:eo:xn:xo:\
+	:co#80:li#25:\
+	:@7=\E[4~:RA=\E[?7l:S4=\E[>11h\EPO**x0/65;1/67\E\\:\
+	:S5=\E[>11l\EP1**x0/11;1/13\E[m\E\\:SA=\E[?7h:XF=g:XN=e:\
+	:ac=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263:\
+	:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:\
+	:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
+	:ic=\E[@:im=:\
+	:is=\E[44"p\E[?7h\E[>10h\E[>12h\EP1;1|3/7F\E\\:\
+	:k1=\E[17~:k2=\E[18~:k3=\E[19~:k4=\E[20~:k5=\E[21~:\
+	:k6=\E[23~:k7=\E[24~:k8=\E[25~:k9=\E[26~:k;=\E[28~:\
+	:kB=\E[Z:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:kh=\E[1~:kl=\E[D:\
+	:kr=\E[C:ku=\E[A:le=\E[D:me=\E[m:nd=\E[C:se=\E[m:sf=^J:\
+	:so=\E[7m:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[?25h:\
+	:vi=\E[?25l:
+#
+# (hp2392: copied :ei: here from hpex -- esr)
+hp2392|239x series:\
+	:co#80:\
+	:bt=\Ei:cm=\E&a%dy%dC:cv=\E&a%dY:ei=\ER:im=\EQ:k1=\Ep\r:\
+	:k2=\Eq\r:k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:k7=\Ev\r:\
+	:k8=\Ew\r:kF=\EU:kN=\Eu:kP=\Ev:kR=\EV:kh=\Eh:ue=\E&d@:\
+	:us=\E&dD:tc=hpsub:
+
+hpsub|hp terminals -- capability subset:\
+	:am:da:db:mi:xo:xs:\
+	:li#24:\
+	:al=\EL:bl=^G:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\EH\EJ:cr=^M:\
+	:dc=\EP:dl=\EM:do=\EB:if=/usr/share/tabset/stdcrt:\
+	:is=\E&s1A\E<\E&k0\\:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:\
+	:kr=\EC:ks=\E&s1A:ku=\EA:le=^H:me=\E&d@:nd=\EC:se=\E&d@:\
+	:sf=^J:so=\E&dB:ta=^I:up=\EA:
+
+# hpex:
+#	May be used for most 24 x 80 hp terminals,
+# but has no padding added, so may allow runover in some terminals at high 
+# baud rates.  Will not work for hp2640a or hp2640b terminals, hp98x6 and 
+# hp98x5 terminal emulators or hp98x6 consoles.  
+# 	Adds xy-cursor addressing, vertical cursor addressing, home, 
+# last line, and underline capabilities.
+#
+# (hpex: removed memory-lock capabilities ":ml=\El:mu=\Em:",
+# moved :ei: here from hpsub -- esr)
+hpex|hp extended capabilites:\
+	:cm=\E&a%dy%dC:cr=^M:cv=\E&a%dY:do=^J:ei=\ER:im=\EQ:kb=^H:\
+	:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:ue=\E&d@:us=\E&dD:tc=hpsub:
+
+# From: Ville Sulko <Ville.Sulko@bip.atk.tpo.fi>, 05 Aug 1996
+hp2|hpex2|hewlett-packard extended capabilities newer version:\
+	:am:da:db:mi:xs:\
+	:Nl#8:co#80:lh#2:li#24:lm#0:lw#8:sg#0:ug#0:\
+	:LF=\E&j@:LO=\E&jB:al=\EL:bl=^G:cd=\EJ:ce=\EK:ch=\E&a%dC:\
+	:cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:cr=^M:ct=\E3:cv=\E&a%dY:\
+	:dc=\EP:dl=\EM:do=\EB:ei=\ER:im=\EQ:k1=\Ep:k2=\Eq:k3=\Er:\
+	:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:kA=\EL:kC=\EJ:kD=\EP:\
+	:kE=\EK:kF=\ES:kH=\EF:kI=\EQ:kL=\EM:kM=\ER:kN=\EU:kP=\EV:\
+	:kR=\ET:kS=\EJ:kT=\E1:ka=\E3:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:\
+	:kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:ku=\EA:le=^H:me=\E&d@:\
+	:ml=\El:mu=\Em:nd=\EC:..pk=\E&f%p1%dk%p2%l%dL%p2%s:\
+	:..pl=\E&f1a%p1%dk%p2%l%dL%p2%s:\
+	:..pn=\E&f%p1%dk%p2%l%dd0L%p2%s:\
+	:..px=\E&f2a%p1%dk%p2%l%dL%p2%s:\
+	:..sa=\E&d%?%p7%t%{115}%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%{64}%+%c%?%p9%t%'\016'%c%e%'\017'%c%;:\
+	:se=\E&d@:sf=^J:so=\E&dB:st=\E1:ta=^I:ue=\E&d@:up=\EA:\
+	:us=\E&dD:
+
+# HP 236 console
+# From: <ddavis@ic.berkeley.edu>
+hp236|hp236 internal terminal emulator:\
+	:am:bs:\
+	:co#80:li#24:\
+	:al=\EG:ce=\EK:cl=\EF:cm=\EE%+ %+ :dc=\EJ:dl=\EH:ei=:ic=\EI:\
+	:im=:le=^H:me=\ECI:se=\ECI:so=\EBI:up=^K:ve=\EDE:vs=\EDB:
+
+# This works on a hp300 console running Utah 4.3 BSD
+# From: Craig Leres <leres@okeeffe.berkeley.edu>
+hp300h|HP Catseye console:\
+	:am:bs:da:db:mi:xs:\
+	:co#128:li#51:lm#0:sg#0:ug#0:\
+	:al=\EL:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:ch=\E&a%dC:\
+	:cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:cr=^M:ct=\E3:cv=\E&a%dY:\
+	:dc=\EP:dl=\EM:do=\EB:ei=\ER:if=/usr/share/tabset/stdcrt:\
+	:im=\EQ:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:\
+	:ks=\E&s1A:ku=\EA:le=^H:me=\E&d@:nd=\EC:se=\E&d@:sf=^J:\
+	:so=\E&dB:ta=^I:ue=\E&d@:up=\EA:us=\E&dD:
+# From: Greg Couch <gregc@ernie.berkeley.edu>
+hp9837|hp98720|hp98721|HP 9000/300 workstations:\
+	:am:bs:da:db:mi:xs:\
+	:co#128:it#8:li#46:lm#0:\
+	:al=\EL:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:ch=\E&a%dC:\
+	:cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:ct=\E3:cv=\E&a%dY:dc=\EP:\
+	:dl=\EM:do=\EB:ei=\ER:im=\EQ:is=\E&v0m1b0i&j@:kA=\EL:\
+	:kD=\EP:kE=\EK:kI=\EQ:kL=\EM:kN=\EU:kP=\EV:kS=\EJ:kb=^H:\
+	:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:ku=\EA:\
+	:le=^H:me=\E&d@:nd=\EC:se=\E&v0S:sf=^J:so=\E&v5S:st=\E1:\
+	:ta=^I:ue=\E&d@:up=\EA:us=\E&dD:
+# HP 9845 desktop computer from BRL
+# (hp9845: removed unknown capability :gu: -- esr)
+hp9845|HP 9845:\
+	:am:bs:da:db:eo:mi:xs:\
+	:co#80:li#21:\
+	:al=\EL:bc=\ED:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\E&a%r%2c%2Y:\
+	:dc=\EP:dl=\EM:ei=\ER:if=/usr/share/tabset/std:im=\EQ:\
+	:nd=\EC:se=\E&d@:so=\E&dB:up=\EA:
+# From: Charles A. Finnell of MITRE <finnell@mitre.org>, developed 07SEP90
+# (hp98550: replaced /usr/share/tabset/9837 with std because :it#8:,:st=\E1:;
+# added empty <acsc> to avoid warnings re :as:/:ae: --esr)
+hp98550|hp98550a|HP 9000 Series 300 color console:\
+	:am:bs:da:db:mi:xs:\
+	:co#128:it#8:li#49:lm#0:\
+	:ac=:ae=^O:al=\EL:as=^N:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:\
+	:ch=\E&a%dC:cl=\EH\EJ:cm=\E&a%dy%dC:cr=^M:ct=\E3:\
+	:cv=\E&a%dY:dc=\EP:dl=\EM:do=^J:ei=\ER:\
+	:if=/usr/share/tabset/std:im=\EQ:k1=\Ep:k2=\Eq:k3=\Er:\
+	:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:kA=\EL:kC=\EJ:kD=\EP:\
+	:kE=\EK:kF=\ES:kH=\EF:kI=\EQ:kL=\EM:kM=\ER:kN=\EU:kP=\EV:\
+	:kR=\ET:kS=\EJ:kT=\E1:ka=\E3:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:\
+	:kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:ku=\EA:le=^H:mb=\E&dA:\
+	:md=\E&dJ:me=\E&d@:mh=\E&dH:mk=\E&ds:mr=\E&dJ:nd=\EC:\
+	:se=\E&d@:sf=^J:so=\E&dJ:st=\E1:ta=^I:ue=\E&d@:up=\EA:\
+	:us=\E&dD:ve=\E*dQ:vi=\E*dR:
+# From: Victor Duchovni <vic@fine.princeton.edu>
+# (hp700-wy: removed obsolete ":nl=^J:";
+# replaced /usr/share/tabset/hp700-wy with std because :it#8:,:st=\E1: -- esr)
+hp700-wy|HP700/41 emulating wyse30:\
+	:am:bs:bw:mi:ms:\
+	:co#80:it#8:li#24:sg#1:ug#1:\
+	:al=0.7*\EE:bt=\EI:cd=\EY:ce=10\ET:cl=^Z:cm=\E=%+ %+ :\
+	:cr=^M:ct=\E0:cv=\E[%+ :dc=\EW:dl=\ER:do=^V:ei=\Er:ho=^^:\
+	:i1=\E~"\EC\Er\E(\EG0\003\E`9\E`1:\
+	:if=/usr/share/tabset/stdcrt:im=\Eq:kB=\EI:kC=^Z:kE=\ET:\
+	:kI=\Eq:kM=\Er:kS=\EY:kT=\EI:kb=\177:kd=^V:kh=^^:kl=^H:kr=^L:\
+	:ku=^K:le=^H:ll=^^^K:me=10\EG0:nd=^L:se=10\EG0:so=10\EG4:\
+	:sr=\Ej:st=\E1:ta=^I:ue=10\EG0:up=^K:us=10\EG8:
+hp70092|hp70092a|hp70092A|HP 700/92:\
+	:am:da:db:xs:\
+	:Nl#8:co#80:lh#2:li#24:lm#0:lw#8:\
+	:LF=\E&j@:LO=\E&jB:ac=0cjgktlrmfn/q,t5u6v8w7x.:ae=^O:\
+	:al=\EL:as=^N:bl=^G:bt=\Ei:ce=\EK:ch=\E&a%dC:\
+	:cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:cr=^M:ct=\E3:cv=\E&a%dY:\
+	:dc=\EP:dl=\EM:do=\EB:ei=\ER:im=\EQ:k1=\Ep:k2=\Eq:k3=\Er:\
+	:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:kA=\EL:kC=\EJ:kD=\EP:\
+	:kE=\EK:kF=\ES:kH=\EF:kI=\EQ:kL=\EM:kM=\ER:kN=\EU:kP=\EV:\
+	:kR=\ET:kS=\EJ:kT=\E1:ka=\E3:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:\
+	:kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:ku=\EA:le=^H:mb=\E&dA:\
+	:md=\E&dB:me=\E&d@:mh=\E&dH:mr=\E&dB:nd=\EC:se=\E&d@:\
+	:so=\E&dJ:sr=\ET:st=\E1:ta=^I:ue=\E&d@:up=\EA:us=\E&dD:
+
+bobcat|sbobcat|HP 9000 model 300 console:\
+	:am:da:db:mi:xs:\
+	:co#128:it#8:li#47:sg#0:ug#0:\
+	:al=10*\EL:bt=\Ei:cd=\EJ:ce=\EK:ch=6\E&a%dC:cl=\EH\EJ:\
+	:cm=6\E&a%dy%dC:cr=^M:cv=6\E&a%dY:dc=\EP:dl=10*\EM:do=\EB:\
+	:ei=\ER:im=\EQ:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:\
+	:ks=\E&s1A:ku=\EA:le=^H:me=\E&d@:nd=\EC:nw=^M^J:se=\E&d@:\
+	:sf=^J:so=\E&dB:ta=^I:ue=\E&d@:up=\EA:us=\E&dD:
+gator-t|HP 9000 model 237 emulating extra-tall AAA:\
+	:li#94:tc=gator:
+gator|HP 9000 model 237 emulating AAA:\
+	:bw:km:mi:ul:\
+	:co#128:it#8:li#47:\
+	:AL=1*\E[%dL:DC=4\E[%dP:DL=1*\E[%dM:IC=4\E[%d@:al=\E[L:\
+	:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%i%d`:cl=\E[H\E[J:\
+	:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=:ho=\E[H:\
+	:ic=\E[@:im=:kb=^H:kd=^J:kl=^H:le=^H:me=\E[m:mr=\E[7m:\
+	:nd=\E[C:nw=^M^J:rp=1*%.\E[%db:se=\E[m:so=\E[7m:ta=^I:\
+	:ue=\E[m:up=\EM:us=\E[4m:
+gator-52|HP 9000 model 237 emulating VT52:\
+	:co#128:li#47:tc=vt52:
+gator-52t|HP 9000 model 237 emulating extra-tall VT52:\
+	:li#94:tc=gator-52:
+
+#### Honeywell-Bull
+#
+# From: Michael Haardt <michael@gandalf.moria> 11 Jan 93
+#
+
+# Honeywell Bull terminal.  Its cursor and function keys send single
+# control characters and it has standout/underline glitch.  Most programs
+# do not like these features/bugs.  Visual bell is realized by flashing the
+# "keyboard locked" LED.
+dku7003-dumb|Honeywell Bull DKU 7003 dumb mode:\
+	:co#80:li#25:\
+	:cd=^_:ce=\E[K:cl=^]^_:cm=\E[%i%d;%dH:cr=^M:do=^K:ho=^]:\
+	:kb=^H:kd=^K:kh=^]:kl=^Y:kr=^X:ku=^Z:le=^Y:nd=^X:nw=^M^J:\
+	:sf=^J:ta=^I:up=^Z:vb=\E[2h\E[2l:
+dku7003|Honeywell Bull DKU 7003 all features described:\
+	:ms:\
+	:sg#1:ug#1:\
+	:mb=\E[5m:md=\E[7m:me=\E[m:mh=\E[2m:mr=\E[7m:se=\E[m:\
+	:so=\E[7m:ue=\E[m:us=\E[4m:tc=dku7003-dumb:
+
 #### Lear-Siegler (adm)
 #
 # These guys are long since out of the terminals business, but
@@ -5489,7 +4416,6 @@
 # A quick fix might be to drop back to a cheesy 4-wire cable with pin 22
 # hanging in the air. (Thanks to Eric Fischer, <eric@fudge.uchicago.edu>,
 # for clearing up this point.)
-#
 
 adm1a|adm1|lsi adm1a:\
 	:am:\
@@ -5523,21 +4449,14 @@
 	:am:bs:\
 	:co#80:li#24:\
 	:bl=^G:cl=1\032:cm=\E=%+ %+ :cr=^M:do=^J:ho=^^:kd=^J:kl=^H:\
-	:kr=^L:ku=^K:le=^H:ma=^K^P:nd=^L:nl=^J:r1=^N:rs=^N:sf=^J:\
-	:up=^K:
+	:kr=^L:ku=^K:le=^H:ma=^K^P:nd=^L:nl=^J:rs=^N:sf=^J:up=^K:
 adm3a+|adm3a plus:\
-	:am:bs:\
-	:co#80:li#24:\
-	:bl=^G:cl=1\032:cm=\E=%+ %+ :cr=^M:do=^J:ho=^^:kb=^H:kd=^J:\
-	:kl=^H:kr=^L:ku=^K:le=^H:ma=^K^P:nd=^L:nl=^J:r1=^N:rs=^N:\
-	:sf=^J:up=^K:
+	:kb=^H:tc=adm3a:
 # (adm5: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" & duplicate ":do=^J:" -- esr)
 adm5|lsi adm5:\
-	:am:bs:\
-	:co#80:li#24:sg#1:\
-	:bl=^G:cd=\EY:ce=\ET:cl=1\032:cm=\E=%+ %+ :cr=^M:do=^J:\
-	:ho=^^:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:ma=^K^P:\
-	:nd=^L:nl=^J:r1=^N:rs=^N:se=\EG:sf=^J:so=\EG:up=^K:
+	:sg#1:\
+	:bl=^G:cd=\EY:ce=\ET:cr=^M:do=^J:kb=^H:kh=^^:se=\EG:so=\EG:\
+	:tc=adm3a+:
 # A lot of terminals other than adm11s use these.  Wherever you see
 # use=adm+sgr with some of its capabilities disabled, try the
 # disabled ones.  They may well work but not have been documented or
@@ -5557,9 +4476,8 @@
 	:bl=^G:cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :cr=^M:do=^J:ds=\Eh:\
 	:fs=\E(\r:ho=^^:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
 	:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:kb=^H:kd=^J:kh=^^:\
-	:kl=^H:kr=^L:ku=^K:le=^H:mb=\EG2:me=\EG0:mk=\EG1:mr=\EG4:\
-	:nd=^L:nl=^J:nw=^M^J:se=\EG0:so=\EG4:ta=^I:ts=\EF\E):\
-	:ue=\EG0:up=^K:us=\EG8:
+	:kl=^H:kr=^L:ku=^K:le=^H:mb=\EG2:nd=^L:nl=^J:nw=^M^J:ta=^I:\
+	:ts=\EF\E):up=^K:tc=adm+sgr:
 # From: Andrew Scott Beals <bandy@lll-crg.ARPA>
 # Corrected by Olaf Siebert <rhialto@polder.ubc.kun.nl>, 11 May 1995
 # Supervisor mode info by Ari Wuolle, <awuolle@delta.hut.fi>, 27 Aug 1996
@@ -5613,8 +4531,7 @@
 	:is=\E0        \E1        \E1        \E1        \E1        \E1        \E1        \E1        \E1:\
 	:k0=^A0\r:k1=^A1\r:k2=^A2\r:k3=^A3\r:k4=^A4\r:k5=^A5\r:\
 	:k6=^A6\r:k7=^A7\r:k8=^A8\r:k9=^A9\r:kd=^J:kl=^H:kr=^L:\
-	:ku=^K:le=^H:me=\EG0:mk=\EG1:mr=\EG4:nd=^L:se=\EG0:so=\EG4:\
-	:st=\E1:ue=\EG0:up=^K:us=\EG8:
+	:ku=^K:le=^H:nd=^L:st=\E1:up=^K:tc=adm+sgr:
 # (adm20: removed obsolete ":kn#7:" -- esr)
 adm20|lear siegler adm20:\
 	:am:bs:\
@@ -5624,13 +4541,10 @@
 	:im=:k1=^A:k2=^B:k3=^W:k4=^D:k5=^E:k6=^X:k7=^Z:le=^H:me=\E(:\
 	:nd=^L:se=\E(:so=\E):ta=^I:up=^K:
 adm21|lear siegler adm21:\
-	:am:bs:\
-	:co#80:li#24:sg#1:ug#1:\
-	:al=30*\EE:bl=^G:cd=\EY:ce=\ET:cl=1\032:cm=\E=%+ %+ :cr=^M:\
-	:dc=\EW:dl=30*\ER:do=^J:ei=:ho=^^:ic=\EQ:im=:kb=^H:kd=^J:\
-	:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:ma=^K^P:me=\EG0:mr=\EG4:nd=^L:\
-	:nl=^J:r1=^N:rs=^N:se=\EG0:sf=^J:so=\EG4:ue=\EG0:up=^K:\
-	:us=\EG8:
+	:sg#1:\
+	:al=30*\EE:bl=^G:cd=\EY:ce=\ET:cr=^M:dc=\EW:dl=30*\ER:do=^J:\
+	:ei=:ic=\EQ:im=:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:mk@:sf=^J:\
+	:tc=adm+sgr:tc=adm3a:
 # (adm22: ":em=:" was an obvious typo for ":ei=:"; also,
 # removed obsolete ":kn#7:ma=j^Jk^P^K^Pl ^R^L^L :";
 # removed bogus-looking \200 from before :cm:. -- esr)
@@ -5796,52 +4710,30 @@
 	:k7=^A7\r:k8=^A8\r:k9=^A9\r:kd=^J:kl=^H:kr=^L:ku=^K:le=^H:\
 	:me=\EG0:nd=^L:se=\EG0:sf=^J:so=\EG1:ue=\EG0:up=^K:us=\EG1:
 adm31-old|o31|old adm31:\
-	:am:bs:mi:\
-	:co#80:li#24:\
-	:al=\EE:bl=^G:cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :cr=^M:\
-	:dc=\EW:dl=\ER:do=^J:ei=\Er:ho=^^:im=\Eq:is=\Eu\E0:k0=^A0\r:\
-	:k1=^A1\r:k2=^A2\r:k3=^A3\r:k4=^A4\r:k5=^A5\r:k6=^A6\r:\
-	:k7=^A7\r:k8=^A8\r:k9=^A9\r:kd=^J:kl=^H:kr=^L:ku=^K:le=^H:\
-	:me=\EG0:nd=^L:se=\EG0:sf=^J:so=\EG4:up=^K:
+	:so=\EG4:ue@:us@:tc=adm31:
 # LSI ADM-36 from Col. George L. Sicherman <gloria!colonel> via BRL
 adm36|LSI ADM36:\
-	:am:bs:ms:pt:xn:xo:\
-	:co#80:it#8:kn#4:li#24:vt#3:\
-	:@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
-	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
-	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:do=^J:\
-	:eA=\E(B\E)0:ho=\E[H:if=/usr/lib/tabset/vt100:\
+	:bs:pt:\
+	:kn#4:\
+	:if=/usr/lib/tabset/vt100:\
 	:is=\E<\E>\E[6;?2;?7;?8h\E[4;20;?1;?3;?4;?5;?6;?18;?19l:\
-	:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOt:k6=\EOu:\
-	:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:kb=^H:kd=\EOB:\
-	:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
-	:mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:nd=\E[C:rc=\E8:\
-	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
-	:..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
-	:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
-	:up=\E[A:us=\E[4m:
+	:tc=vt100:
 # (adm42: removed obsolete ":ma=^K^P:" -- esr)
 adm42|lsi adm42:\
 	:am:bs:\
 	:co#80:li#24:\
 	:al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E;:cm=\E=%+ %+ :\
 	:cr=^M:dc=\EW:dl=\ER:do=^J:ei=\Er:im=\Eq:ip=:kd=^J:kh=^^:\
-	:kl=^H:kr=^L:ku=^K:le=^H:me=\EG0:mr=\EG4:nd=^L:pc=\177:\
-	:se=\EG0:sf=^J:so=\EG4:ta=^I:up=^K:vs=\EC\E3 \E3(:
+	:kl=^H:kr=^L:ku=^K:le=^H:mk@:nd=^L:pc=\177:sf=^J:ta=^I:ue@:\
+	:up=^K:us@:vs=\EC\E3 \E3(:tc=adm+sgr:
 # The following termcap for the Lear Siegler ADM-42 leaves the 
 # "system line" at the bottom of the screen blank (for those who 
 # find it distracting otherwise)
 adm42-ns|lsi adm-42 with no system line:\
-	:am:bs:\
-	:co#80:li#24:\
-	:al=\EE\EF \011:bl=^G:bt=\EI\EF \011:cd=\EY\EF \011:\
+	:al=\EE\EF \011:bt=\EI\EF \011:cd=\EY\EF \011:\
 	:ce=\ET\EF \011:cl=\E;\EF \011:cm=\E=%+ %+ \EF \011:\
-	:cr=^M:dc=\EW\EF \011:dl=\ER\EF \011:do=^J:\
-	:ei=\Er\EF \011:im=\Eq\EF \011:ip=:kd=^J:kh=^^:kl=^H:kr=^L:\
-	:ku=^K:le=^H:me=\EG0:mr=\EG4:nd=^L:pc=\177:se=\EG0:sf=^J:\
-	:so=\EG4:ta=^I:up=^K:vs=\EC\E3 \E3(:
+	:dc=\EW\EF \011:dl=\ER\EF \011:ei=\Er\EF \011:\
+	:im=\Eq\EF \011:tc=adm42:
 # ADM 1178 terminal -- rather like an ADM-42.  Manual is dated March 1 1985.
 # The insert mode of this terminal is commented out because it's broken for our
 # purposes in that it will shift the position of every character on the page,
@@ -5855,6 +4747,37 @@
 	:le=^H:md=\E(:me=\E):mr=\EG4:nd=^L:nw=^M^J:pc=\177:se=\EG0:\
 	:sf=^J:so=\EG4:ta=^I:ue=\EG0:up=^K:us=\EG1:vs=\EC\E3 \E3(:
 
+#### Prime
+#
+# Yes, Prime made terminals.  These entries were posted by Kevin J. Cummings
+# <cummings@primerd.prime.com> on 14 Dec 1992 and lightly edited by esr.
+# Prime merged with ComputerVision in the late 1980s; you can reach them at:
+#
+#	ComputerVision Services
+#	500 Old Connecticut Path
+#	Framingham, Mass.
+#
+
+# Standout mode is dim reverse-video.
+pt100|pt200|wren|fenix|prime pt100/pt200:\
+	:am:bw:mi:ms:\
+	:co#80:it#8:li#24:\
+	:DC=\E[%dP:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
+	:al=\E[L\E[t:bt=\E[Z:cd=\E[J\E[r:ce=\E[K\E[t:cl=\E?:\
+	:cm=\E0%+!%+!:cr=^M:dc=\E[P:dl=\E[M:do=\ED:ei=\E[4l:\
+	:ho=\E$B:im=\E[4h:kb=^H:kd=\E[B:ke=\E[>13l:kh=\E$A:kl=\E[D:\
+	:kr=\E[C:ks=\E[>13h:ku=\E[A:le=^H:me=\E[m:mh=\E[2m:nd=\E[C:\
+	:nw=^M^J:se=\E[m:sf=^J:so=\E[2;7m:ta=^I:te=:\
+	:ti=\E[>1l\E[>2l\E[>16l\E[4l\E[>9l\E[20l\E[>3l\E[>7h\E[>12l\E[1Q:\
+	:ue=\E[m:up=\EM:us=\E[4m:vb=\E$\E$P:
+pt100w|pt200w|wrenw|fenixw|prime pt100/pt200 in 132-column mode:\
+	:co#132:\
+	:cm=\E[%i%d;%dH:tc=pt100:
+pt250|Prime PT250:\
+	:se@:so@:tc=pt100:
+pt250w|Prime PT250 in 132-column mode:\
+	:se@:so@:tc=pt100w:
+
 #### Qume (qvt)
 #
 #	Qume, Inc.
@@ -5890,16 +4813,7 @@
 # setup mode.  Shift-s should be a configuration save to NVRAM.
 
 qvt101|qvt108|qume qvt 101 and QVT 108:\
-	:am:bw:hs:ul:\
-	:co#80:li#24:sg#1:ug#1:\
-	:al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:\
-	:ct=\E3:dc=\EW:dl=\ER:do=^J:ds=\Eg\Ef\r:ei=:fs=^M:ho=^^:\
-	:ic=\EQ:im=:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
-	:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:kA=\EE:\
-	:kB=\EI:kE=\ET:kI=\EQ:kL=\ER:kS=\EY:kb=^H:kd=^J:kh=^^:kl=^H:\
-	:kr=^L:ku=^K:le=^H:me=\EG0:mr=\EG4:nd=^L:pf=\EA:po=\E@:\
-	:se=\E(:sf=^J:so=\E0P\E):st=\E1:ta=^I:ts=\Eg\Ef:ue=\EG0:\
-	:up=^K:us=\EG8:vb=\Eb\Ed:ve=\E.4:
+	:sg#1:tc=qvt101+:
 
 # This used to have :vs=\E.2: but no :ve: or :vi:.  The BSD termcap
 # file had :vs=\EM4 \200\200\200:.  I've done the safe thing and yanked 
@@ -5909,26 +4823,17 @@
 # (re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=\E>\E[?3h\E[?4l\E[?5l\E[?8h:tc=qvt203:
 #
 #	Since a command is present for enabling 25 data lines,
 #	a specific terminfo entry may be generated for the 203.
@@ -6037,36 +4883,11 @@
 #	be selected in the status line (setup line 9).
 #
 qvt203-25|QVT 203 PLUS with 25 by 80 column mode:\
-	:am:xn:xo:\
-	:co#80:it#8:li#25:vt#3:\
-	:DO=\E[%dB:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
-	:UP=\E[%dA:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
-	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
-	:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:im=\E[4h:ip=:\
-	:is=\E[=40h\E[?3l:k0=\E[29~:k1=\E[17~:k2=\E[18~:\
-	:k3=\E[19~:k4=\E[20~:k5=\E[21~:k6=\E[23~:k7=\E[24~:\
-	:k8=\E[25~:k9=\E[28~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
-	:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:\
-	:me=\E[m:mr=\E[7m:nd=\E[C:rc=\E8:\
-	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
-	:..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m:\
-	:sc=\E7:se=\E[m:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
-	:up=\E[A:us=\E[4m:
+	:co#80:li#25:\
+	:is=\E[=40h\E[?3l:tc=qvt203:
 qvt203-25-w|QVT 203 PLUS with 25 by 132 columns:\
-	:am:xn:xo:\
-	:co#132:it#8:li#25:vt#3:\
-	:DO=\E[%dB:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
-	:UP=\E[%dA:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
-	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
-	:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:im=\E[4h:ip=:k0=\E[29~:\
-	:k1=\E[17~:k2=\E[18~:k3=\E[19~:k4=\E[20~:k5=\E[21~:\
-	:k6=\E[23~:k7=\E[24~:k8=\E[25~:k9=\E[28~:kb=^H:kd=\EOB:\
-	:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
-	:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:rc=\E8:\
-	:rs=\E[?3h\E[=40h:\
-	:..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m:\
-	:sc=\E7:se=\E[m:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
-	:up=\E[A:us=\E[4m:
+	:co#132:li#25:\
+	:rs=\E[?3h\E[=40h:tc=qvt203:
 
 #### Televideo (tvi)
 #
@@ -6077,7 +4898,6 @@
 #	Vox: (408)-954-8333
 #	Fax: (408)-954-0623
 #
-#% TeleVideo: Dick Kelby (408)-955-7494 (Application Mgr)
 #
 # There are some tvi terminals that require incredible amounts of padding and
 # some that don't.  I'm assuming tvi912 and tvi920 are the old slow ones, and
@@ -6087,18 +4907,7 @@
 # Televideo terminals are ANSI and PC-ANSI compatible.
 
 tvi803|televideo 803:\
-	:am:bs:hs:mi:ms:xn:xo:\
-	:co#80:it#8:li#24:sg#1:ug#1:\
-	:ac=d\rc\014e\nb\011i\013:ae=^X:al=\EE:as=^U:bl=^G:bt=\EI:\
-	:cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :cr=^M:ct=\E3:dc=\EW:\
-	:dl=\ER:do=^J:ds=\Eg\Ef\r:ei=\Er:fs=^M:ho=^^:ic=\EQ:im=\Eq:\
-	:is=\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:\
-	:k0=^A0\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
-	:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=\EE:kB=\EI:kC=\E*:\
-	:kD=\EW:kE=\Et:kI=\EQ:kL=\ER:kS=\Ey:kb=^H:kd=^V:kh=^^:kl=^H:\
-	:kr=^L:ku=^K:le=^H:me=\EG0:mr=\EG4:nd=^L:pf=\Ea:po=\E`:\
-	:se=\EG0:sf=^J:so=\EG4:sr=\Ej:st=\E1:ta=^I:ts=\Eg\Ef:\
-	:ue=\EG0:up=^K:us=\EG8:vb=\Eb\Ed:
+	:cl=\E*:tc=tvi950:
 
 # Vanilla tvi910 -- W. Gish <cswarren@violet> 10/29/86
 # Switch settings are:
@@ -6184,14 +4993,13 @@
 # :sf:, <hpa>, <vpa>, :am:, :ms: from SCO entry -- esr)
 tvi910|televideo model 910:\
 	:am:bs:ms:\
-	:co#80:it#8:li#24:sg#1:ug#1:\
+	:co#80:it#8:li#24:sg#1:\
 	:bl=^G:bt=\EI:cd=\EY:ce=\ET:ch=\E]%+ :cl=^Z:cm=\E=%+ %+ :\
 	:cr=^M:cv=\E[%+ :do=^J:ho=\E=\001\001:\
 	:if=/usr/share/tabset/stdcrt:k0=^AI\r:k1=^A@\r:k2=^AA\r:\
 	:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:\
-	:k9=^AH\r:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:me=\EG0:\
-	:mr=\EG4:nd=^L:se=\EG0:sf=^J:so=\EG4:ta=^I:ue=\EG0:up=^K:\
-	:us=\EG8:
+	:k9=^AH\r:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:mk@:nd=^L:\
+	:sf=^J:ta=^I:up=^K:tc=adm+sgr:
 # From: Alan R. Rogers <rogers%albany@csnet-relay>
 # as subsequently hacked over by someone at SCO
 # (tvi910+: removed obsolete ":ma=^K^P^L :" -- esr)
@@ -6223,15 +5031,9 @@
 # S2 10  DTR status (pin 20) (U = disconnected, D = connected)
 #
 tvi910+|televideo 910+:\
-	:am:bs:ms:\
-	:co#80:it#8:li#24:sg#1:ug#1:\
-	:al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:ch=\E]%+ :cl=^Z:\
-	:cm=\E=%+ %+ :cr=^M:cv=\E[%+ :dc=\EW:dl=\ER:do=^J:ei=:ho=^^:\
-	:ic=\EQ:if=/usr/share/tabset/stdcrt:im=:k0=^A@\r:\
-	:k1=^AA\r:k2=^AB\r:k3=^AC\r:k4=^AD\r:k5=^AE\r:k6=^AF\r:\
-	:k7=^AG\r:k8=^AH\r:k9=^AI\r:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:\
-	:ku=^K:le=^H:ll=\E=7\s:me=\EG0:mr=\EG4:nd=^L:se=\EG0:sf=^J:\
-	:so=\EG4:ta=^I:ue=\EG0:up=^K:us=\EG8:
+	:al=\EE:dc=\EW:dl=\ER:ei=:ho=^^:ic=\EQ:im=:k0=^A@\r:k1=^AA\r:\
+	:k2=^AB\r:k3=^AC\r:k4=^AD\r:k5=^AE\r:k6=^AF\r:k7=^AG\r:\
+	:k8=^AH\r:k9=^AI\r:ll=\E=7\s:tc=tvi910:
 
 # (tvi912: removed obsolete ":ma=^K^P^L :", added  :vb: and
 # :kh: from BRL entry -- esr)
@@ -6249,39 +5051,16 @@
 # The 920 has this plus real function keys that xmit different things.
 # Terminfo makes you use the funct key on the 912 but the real keys on the 920.
 tvi912c|tvi912b|new televideo 912:\
-	:am:bs:ms:pt:\
-	:co#80:it#8:li#24:sg#1:ug#1:\
-	:al=\EE:bl=^G:cd=\Ey:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:ct=\E3:\
-	:dc=\EW:dl=\ER:do=^J:ei=:ho=^^:ic=\EQ:\
-	:if=/usr/share/tabset/stdcrt:im=:k0=^AI\r:k1=^A@\r:\
-	:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:\
-	:k8=^AG\r:k9=^AH\r:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:\
-	:nd=^L:se=\Ek:sf=^J:so=\Ej:st=\E1:ta=^I:ue=\Em:up=^K:us=\El:\
-	:vb=\Eb\Ed:
+	:al=\EE:dl=\ER:tc=tvi912:
 # set to page 1 when entering curses application (\E-17 )
 # reset to page 0 when exiting curses application (\E-07 )
 tvi912-2p|tvi920-2p|tvi-2p|televideo w/2 pages:\
-	:am:bs:ms:pt:\
-	:co#80:it#8:li#24:sg#1:ug#1:\
-	:al=\EE:bl=^G:cd=\Ey:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:ct=\E3:\
-	:dc=\EW:dl=\ER:do=^J:ei=:ho=^^:ic=\EQ:\
-	:if=/usr/share/tabset/stdcrt:im=:k0=^AI\r:k1=^A@\r:\
-	:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:\
-	:k8=^AG\r:k9=^AH\r:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:\
-	:nd=^L:se=\Ek:sf=^J:so=\Ej:st=\E1:ta=^I:te=\E-07\s:\
-	:ti=\E-17\s:ue=\Em:up=^K:us=\El:vb=\Eb\Ed:
+	:te=\E-07\s:ti=\E-17\s:tc=tvi912:
 # We got some new tvi912c terminals that act really weird on the regular 
 # termcap, so one of our gurus worked this up. Seems that cursor 
 # addressing is broken.
 tvi912cc|tvi912 at cowell college:\
-	:am:bs:ms:pt:\
-	:co#80:it#8:li#24:sg#1:ug#1:\
-	:al=\EE:bl=^G:cd=\Ey:ce=\ET:cl=^Z:cr=^M:ct=\E3:dc=\EW:dl=\ER:\
-	:do=^J:ei=:ho=^^:ic=\EQ:if=/usr/share/tabset/stdcrt:im=:\
-	:k0=^AI\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
-	:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:kb=^H:kd=^J:kh=^^:\
-	:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:se=\Ek:sf=^J:so=\Ej:st=\E1:\
-	:ta=^I:ue=\Em:up=^K:us=\El:vb=\Eb\Ed:
+	:cm@:tc=tvi912c:
 
 # Here are the switch settings for the tvi920c:
 #
@@ -6336,15 +5115,9 @@
 # 		installed, Extension Mode is selected.
 #
 tvi920b|tvi920c|new televideo 920:\
-	:am:bs:ms:pt:\
-	:co#80:it#8:li#24:sg#1:ug#1:\
-	:al=\EE:bl=^G:cd=\Ey:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:ct=\E3:\
-	:dc=\EW:dl=\ER:do=^J:ei=:ho=^^:ic=\EQ:\
-	:if=/usr/share/tabset/stdcrt:im=:k0=^AI\r:k1=^A@\r:\
-	:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:\
-	:k8=^AG\r:k9=^AH\r:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:\
-	:nd=^L:se=\Ek:sf=^J:so=\Ej:st=\E1:ta=^I:ue=\Em:up=^K:us=\El:\
-	:vb=\Eb\Ed:
+	:al=\EE:dl=\ER:k0=^AI\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:\
+	:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:\
+	:tc=tvi912:
 
 # Televideo 921 and variants
 # From: Tim Theisen <tim@cs.wisc.edu> 22 Sept 1995
@@ -6352,47 +5125,38 @@
 # also added empty <acsc> to suppress tic warning -- esr)
 tvi921|televideo model 921 with sysline same as page & real vi function:\
 	:am:bs:hs:pt:xn:xs:\
-	:co#80:li#24:sg#0:ug#0:\
-	:ac=:ae=\E%:al=\EE:as=\E$:cd=\EY:ce=\ET:cl=^Z:cm=3\E=%+ %+ :\
-	:cr=^M:dc=\EW:dl=1*\ER:do=^V:ds=\Ef\r\Eg:ei=:fs=\Eg:ho=^^:\
-	:ic=\EQ:if=/usr/share/tabset/stdcrt:im=:\
+	:co#80:li#24:sg#0:\
+	:ac=:ae=\E%%%:al=\EE:as=\E$:cd=\EY:ce=\ET:cl=^Z:\
+	:cm=3\E=%+ %+ :cr=^M:dc=\EW:dl=1*\ER:do=^V:ds=\Ef\r\Eg:ei=:\
+	:fs=\Eg:ho=^^:ic=\EQ:if=/usr/share/tabset/stdcrt:im=:\
 	:is=\El\E"\EF1\E.3\017\EA\E<:kA=\EE:kC=^Z:kD=\EW:kE=\ET:\
 	:kI=\EQ:kL=1*\ER:kS=\EY:kb=^H:kd=^V:kl=^H:kr=^L:ku=^K:le=^H:\
-	:me=\EG0:mr=\EG4:nd=^L:nw=^M^J:se=\EG0:sf=^J:so=\EG4:ta=^I:\
-	:ts=\Ef\EG0:ue=\EG0:up=^K:us=\EG8:ve=\E.3:vs=\E.2:
+	:mk@:nd=^L:nw=^M^J:sf=^J:ta=^I:ts=\Ef\EG0:up=^K:ve=\E.3:\
+	:vs=\E.2:tc=adm+sgr:
 # 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 & no beeper:\
 	:am:hs:xn:xs:\
-	:co#80:li#24:sg#0:ug#0:\
-	:ac=:ae=\E%:al=\EE:as=\E$:cd=\EY:ce=\ET:cl=^Z:cm=3\E=%+ %+ :\
-	:cr=^M:dc=\EW:dl=1*\ER:do=^V:ds=\Ef\r\Eg:ei=:fs=\Eg:ho=^^:\
-	:ic=\EQ:if=/usr/share/tabset/stdcrt:im=:\
+	:co#80:li#24:sg#0:\
+	:ac=:ae=\E%%%:al=\EE:as=\E$:cd=\EY:ce=\ET:cl=^Z:\
+	:cm=3\E=%+ %+ :cr=^M:dc=\EW:dl=1*\ER:do=^V:ds=\Ef\r\Eg:ei=:\
+	:fs=\Eg:ho=^^:ic=\EQ:if=/usr/share/tabset/stdcrt:im=:\
 	:is=\El\E"\EF1\E.3\017\EA\E<:kA=\EE:kC=^Z:kD=\EW:kE=\ET:\
 	:kI=\EQ:kL=1*\ER:kS=\EY:kb=^H:kd=^V:kl=^H:kr=^L:ku=^K:le=^H:\
-	:me=\EG0:mr=\EG4:nd=^L:nw=^M^J:se=\EG0:sf=^J:so=\EG4:ta=^I:\
-	:ts=\Ef\EG0:ue=\EG0:up=^K:us=\EG8:vb=\Eb\Ed:ve=\E.3:\
-	:vs=\E.2:
+	:mk@:nd=^L:nw=^M^J:sf=^J:ta=^I:ts=\Ef\EG0:up=^K:vb=\Eb\Ed:\
+	:ve=\E.3:vs=\E.2:tc=adm+sgr:
 # (tvi92D: removed :ko=bt: before translation, I see no backtab cap -- esr)
 tvi92D|tvi92B with DTR instead of XON/XOFF & better padding:\
-	:am:hs:xn:xs:\
-	:co#80:li#24:sg#0:ug#0:\
-	:ac=:ae=\E%:al=2*\EE:as=\E$:cd=\EY:ce=\ET:cl=^Z:\
-	:cm=3\E=%+ %+ :cr=^M:dc=\EW:dl=2*\ER:do=^V:ds=\Ef\r\Eg:ei=:\
-	:fs=\Eg:ho=^^:ic=\EQ:if=/usr/share/tabset/stdcrt:im=:\
-	:is=\El\E"\EF1\E.3\016\EA\E<:kA=2*\EE:kC=^Z:kD=\EW:\
-	:kE=\ET:kI=\EQ:kL=2*\ER:kS=\EY:kb=^H:kd=^V:kl=^H:kr=^L:ku=^K:\
-	:le=^H:me=\EG0:mr=\EG4:nd=^L:nw=^M^J:se=\EG0:sf=^J:so=\EG4:\
-	:ta=^I:ts=\Ef\EG0:ue=\EG0:up=^K:us=\EG8:vb=\Eb\Ed:ve=\E.3:\
-	:vs=\E.2:
+	:al=2*\EE:dl=2*\ER:is=\El\E"\EF1\E.3\016\EA\E<:kA=2*\EE:\
+	:kL=2*\ER:tc=tvi92B:
 
 # (tvi924: This used to have :ds=\Es0:, :fs=\031:.  I put the new strings
 # in from a BSD termcap file because it looks like they do something the
 # old ones skip -- esr)
 tvi924|televideo tvi924:\
 	:am:bw:hs:in:mi:ms:xn:xo:\
-	:co#80:it#8:li#24:sg#0:ug#0:ws#80:\
+	:co#80:it#8:li#24:sg#0:ws#80:\
 	:F1=^AK\r:F2=^AL\r:F3=^AM\r:F4=^AN\r:F5=^AO\r:al=\EE:bl=^G:\
 	:bt=\EI:cd=\Ey:ce=\Et:cl=\E*0:cm=\E=%+ %+ :cr=^M:\
 	:cs=\E_%+ %+ :ct=\E3:dc=\EW:dl=\ER:do=^V:ds=\Es0\Ef\031:\
@@ -6403,10 +5167,9 @@
 	:k8=^AH\r:k9=^AI\r:k;=^AJ\r:kA=\EE:kC=\E*0:kD=\EW:kE=\Et:\
 	:kI=\EQ:kL=\ER:kS=\Ey:kb=^H:kd=^V:kh=^^:kl=^H:kr=^L:ku=^K:\
 	:l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:l8=F9:l9=F10:\
-	:la=F11:le=^H:mb=\EG2:me=\EG0:mr=\EG4:nd=^L:\
-	:pk=\E|%+1%s\031:se=\EG0:sf=^J:so=\EG4:sr=\Ej:st=\E1:ta=^I:\
-	:ts=\Ef:ue=\EG0:up=^K:us=\EG8:vb=\Eb\Ed:ve=\E.3:vi=\E.0:\
-	:vs=\E.1:
+	:la=F11:le=^H:mb=\EG2:mk@:nd=^L:pk=\E|%+1%s\031:sf=^J:\
+	:sr=\Ej:st=\E1:ta=^I:ts=\Ef:up=^K:vb=\Eb\Ed:ve=\E.3:vi=\E.0:\
+	:vs=\E.1:tc=adm+sgr:
 
 # TVI925 DIP switches.  In each of these, D = Down and U = Up,
 #
@@ -6543,28 +5306,20 @@
 # (tvi925: BSD has :cl=\E*:.  I got :is: and :sr: from there -- esr)
 tvi925|televideo 925:\
 	:am:bs:bw:hs:ul:\
-	:co#80:li#24:sg#1:ug#1:\
+	:co#80:li#24:sg#1:\
 	:al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:\
 	:ct=\E3:dc=\EW:dl=\ER:do=^V:ds=\Eh:ei=:fs=^M\Eg:ho=^^:ic=\EQ:\
 	:im=:is=\El\E":k0=^AI\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:\
 	:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:\
 	:kA=\EE:kC=^Z:kD=\EW:kE=\ET:kI=\EQ:kL=\ER:kS=\EY:kb=^H:kd=^V:\
-	:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:me=\EG0:mr=\EG4:nd=^L:se=\EG0:\
-	:sf=^J:so=\EG4:sr=\Ej:st=\E1:ta=^I:ts=\Eh\Ef:ue=\EG0:up=^K:\
-	:us=\EG8:vb=\Eb\Ed:ve=\E.4:vs=\E.2:
+	:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:mk@:nd=^L:sf=^J:sr=\Ej:st=\E1:\
+	:ta=^I:ts=\Eh\Ef:up=^K:vb=\Eb\Ed:ve=\E.4:vs=\E.2:\
+	:tc=adm+sgr:
 # TeleVideo 925 from Mitch Bradley <sun!wmb> via BRL
 # to avoid "magic cookie" standout glitch:
 tvi925-hi|TeleVideo Model 925 with half intensity standout mode:\
-	:am:bs:bw:hs:ul:\
-	:co#80:li#24:\
-	:al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:\
-	:ct=\E3:dc=\EW:dl=\ER:do=^V:ds=\Eh:ei=:fs=^M\Eg:ho=^^:ic=\EQ:\
-	:im=:is=\El\E":k0=^AI\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:\
-	:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:\
-	:kA=\EE:kC=^Z:kD=\EW:kE=\ET:kI=\EQ:kL=\ER:kS=\EY:kb=^H:kd=^J:\
-	:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:me=\EG0:mr=\EG4:nd=^L:se=\E(:\
-	:sf=^J:so=\E):sr=\Ej:st=\E1:ta=^I:ts=\Eh\Ef:ue=\EG0:up=^K:\
-	:us=\EG8:vb=\Eb\Ed:ve=\E.4:vs=\E.2:
+	:sg@:\
+	:kb=^H:kd=^J:kl=^H:se=\E(:so=\E):tc=tvi925:
 
 # From: Todd Litwin <litwin@litwin.jpl.nasa.gov> 28 May 1993
 # Originally Tim Curry, Univ. of Central Fla., <duke!ucf-cs!tim> 5/21/82
@@ -6665,17 +5420,16 @@
 # Finally, note that BSD has cud1=^V. -- esr) 
 tvi950|televideo 950:\
 	:am:bs:hs:mi:ms:xn:xo:\
-	:co#80:it#8:li#24:sg#1:ug#1:\
-	:ac=d\rc\014e\nb\011i\013:ae=^X:al=\EE:as=^U:bl=^G:bt=\EI:\
+	:co#80:it#8:li#24:sg#1:\
+	:ac=b\011c\014d\re\ni\013:ae=^X:al=\EE:as=^U:bl=^G:bt=\EI:\
 	:cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :cr=^M:ct=\E3:dc=\EW:\
 	:dl=\ER:do=^J:ds=\Eg\Ef\r:ei=\Er:fs=^M:ho=^^:ic=\EQ:im=\Eq:\
 	:is=\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:\
 	:k0=^A0\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
 	:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=\EE:kB=\EI:kC=\E*:\
 	:kD=\EW:kE=\Et:kI=\EQ:kL=\ER:kS=\Ey:kb=^H:kd=^V:kh=^^:kl=^H:\
-	:kr=^L:ku=^K:le=^H:me=\EG0:mr=\EG4:nd=^L:pf=\Ea:po=\E`:\
-	:se=\EG0:sf=^J:so=\EG4:sr=\Ej:st=\E1:ta=^I:ts=\Eg\Ef:\
-	:ue=\EG0:up=^K:us=\EG8:vb=\Eb\Ed:
+	:kr=^L:ku=^K:le=^H:mk@:nd=^L:pf=\Ea:po=\E`:sf=^J:sr=\Ej:\
+	:st=\E1:ta=^I:ts=\Eg\Ef:up=^K:vb=\Eb\Ed:tc=adm+sgr:
 #
 # is for 950 with two pages adds the following:
 #	set 48 line page (\E\\2)
@@ -6690,19 +5444,8 @@
 #	set local (no send) edit keys (\Ek) when exiting vi
 #
 tvi950-2p|televideo950 w/2 pages:\
-	:am:bs:hs:mi:ms:xn:xo:\
-	:co#80:it#8:li#24:sg#1:ug#1:\
-	:ac=d\rc\014e\nb\011i\013:ae=^X:al=\EE:as=^U:bl=^G:bt=\EI:\
-	:cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :cr=^M:ct=\E3:dc=\EW:\
-	:dl=\ER:do=^J:ds=\Eg\Ef\r:ei=\Er:fs=^M:ho=^^:ic=\EQ:im=\Eq:\
 	:is=\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:\
-	:k0=^A0\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
-	:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=\EE:kB=\EI:kC=\E*:\
-	:kD=\EW:kE=\Et:kI=\EQ:kL=\ER:kS=\Ey:kb=^H:kd=^V:ke=\Ek:kh=^^:\
-	:kl=^H:kr=^L:ks=\El:ku=^K:le=^H:me=\EG0:mr=\EG4:nd=^L:pf=\Ea:\
-	:po=\E`:se=\EG0:sf=^J:so=\EG4:sr=\Ej:st=\E1:ta=^I:\
-	:te=\E\\2\E-07\s:ti=\E\\1\E-07\s:ts=\Eg\Ef:ue=\EG0:up=^K:\
-	:us=\EG8:vb=\Eb\Ed:
+	:ke=\Ek:ks=\El:te=\E\\2\E-07\s:ti=\E\\1\E-07\s:tc=tvi950:
 #
 # is for 950 with four pages adds the following:
 #	set 96 line page (\E\\3)
@@ -6714,19 +5457,8 @@
 #			 place cursor at 0,24,1 (\E-07 )
 #
 tvi950-4p|televideo950 w/4 pages:\
-	:am:bs:hs:mi:ms:xn:xo:\
-	:co#80:it#8:li#24:sg#1:ug#1:\
-	:ac=d\rc\014e\nb\011i\013:ae=^X:al=\EE:as=^U:bl=^G:bt=\EI:\
-	:cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :cr=^M:ct=\E3:dc=\EW:\
-	:dl=\ER:do=^J:ds=\Eg\Ef\r:ei=\Er:fs=^M:ho=^^:ic=\EQ:im=\Eq:\
 	:is=\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:\
-	:k0=^A0\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
-	:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=\EE:kB=\EI:kC=\E*:\
-	:kD=\EW:kE=\Et:kI=\EQ:kL=\ER:kS=\Ey:kb=^H:kd=^V:ke=\Ek:kh=^^:\
-	:kl=^H:kr=^L:ks=\El:ku=^K:le=^H:me=\EG0:mr=\EG4:nd=^L:pf=\Ea:\
-	:po=\E`:se=\EG0:sf=^J:so=\EG4:sr=\Ej:st=\E1:ta=^I:\
-	:te=\E\\3\E-07\s:ti=\E\\1\E-07\s:ts=\Eg\Ef:ue=\EG0:up=^K:\
-	:us=\EG8:vb=\Eb\Ed:
+	:ke=\Ek:ks=\El:te=\E\\3\E-07\s:ti=\E\\1\E-07\s:tc=tvi950:
 #
 # :is: for reverse video 950 changes the following:
 #	set reverse video (\Ed)
@@ -6734,50 +5466,20 @@
 # set vb accordingly (\Ed ...delay... \Eb)
 #
 tvi950-rv|televideo950 rev video:\
-	:am:bs:hs:mi:ms:xn:xo:\
-	:co#80:it#8:li#24:sg#1:ug#1:\
-	:ac=d\rc\014e\nb\011i\013:ae=^X:al=\EE:as=^U:bl=^G:bt=\EI:\
-	:cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :cr=^M:ct=\E3:dc=\EW:\
-	:dl=\ER:do=^J:ds=\Eg\Ef\r:ei=\Er:fs=^M:ho=^^:ic=\EQ:im=\Eq:\
 	:is=\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:\
-	:k0=^A0\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
-	:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=\EE:kB=\EI:kC=\E*:\
-	:kD=\EW:kE=\Et:kI=\EQ:kL=\ER:kS=\Ey:kb=^H:kd=^V:kh=^^:kl=^H:\
-	:kr=^L:ku=^K:le=^H:me=\EG0:mr=\EG4:nd=^L:pf=\Ea:po=\E`:\
-	:se=\EG0:sf=^J:so=\EG4:sr=\Ej:st=\E1:ta=^I:ts=\Eg\Ef:\
-	:ue=\EG0:up=^K:us=\EG8:vb=\Ed\Eb:
+	:vb=\Ed\Eb:tc=tvi950:
 
 # tvi950-rv-2p uses the appropriate entries from 950-2p and 950-rv
 tvi950-rv-2p|televideo950 rev video w/2 pages:\
-	:am:bs:hs:mi:ms:xn:xo:\
-	:co#80:it#8:li#24:sg#1:ug#1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\Er:fs=^M:ho=^^:ic=\EQ:im=\Eq:\
 	:is=\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:\
-	:k0=^A0\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
-	:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=\EE:kB=\EI:kC=\E*:\
-	:kD=\EW:kE=\Et:kI=\EQ:kL=\ER:kS=\Ey:kb=^H:kd=^V:ke=\Ek:kh=^^:\
-	:kl=^H:kr=^L:ks=\El:ku=^K:le=^H:me=\EG0:mr=\EG4:nd=^L:pf=\Ea:\
-	:po=\E`:se=\EG0:sf=^J:so=\EG4:sr=\Ej:st=\E1:ta=^I:\
-	:te=\E\\3\E-07\s:ti=\E\\1\E-07\s:ts=\Eg\Ef:ue=\EG0:up=^K:\
-	:us=\EG8:vb=\Ed\Eb:
+	:ke=\Ek:ks=\El:te=\E\\3\E-07\s:ti=\E\\1\E-07\s:vb=\Ed\Eb:\
+	:tc=tvi950:
 # From: Andreas Stolcke <stolcke@icsi.berkeley.edu>
 # (tvi955: removed obsolete ":ma:=^Vj^Kk^Hh^Ll^^H";
 # removed incorrect (and overridden) ":do=^J:"; fixed broken continuations in
@@ -6789,57 +5491,22 @@
 # If the BSD termcap file was right, :cm=\E=%p1%{32}%+%c%p2%{32}%+%c: would
 # also work.
 tvi955|televideo 955:\
-	:5i:am:bs:hs:mi:xn:xo:\
-	:co#80:it#8:li#24:\
+	:5i:bs:ms@:\
+	:it#8:sg@:\
 	:RA=\E[=7l:RX=^N:SA=\E[=7h:SX=^O:\
-	:ac=0_`RjHkGlFmEnIoPqKsQtMuLvOwNxJ:ae=\E%:al=\EE:as=\E$:\
-	:bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=\E*:cm=\E[%i%d;%dH:cr=^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E[A:\
-	:le=^H:me=\E[m:nd=\E[C:se=\E[m:so=\E[7m:sr=\EM:ta=^I:\
-	:te=\E[H\E[J\E[V:ti=\E[U\E[?20l\E[?7h\E[1Q:ue=\E[m:\
-	:up=\EM:us=\E[4m:vb=\E[5m\E[m:vs=\E[1Q:
+	:te=\E[H\E[J\E[V:ti=\E[U\E[?20l\E[?7h\E[1Q:tc=tvi970:
 # Works with vi and rogue.  NOTE: Esc v sets autowrap on, Esc u sets 80 chars
 # per line (rather than 40), Esc K chooses the normal character set.  Not sure
 # padding is needed, but adapted from the tvi920c termcap.  The :so: and 
@@ -6902,31 +5547,25 @@
 	:k1=^B:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:pf=^T:\
 	:po=^R:se=\EF:so=\EG1@A\EH:ue=\EF:up=^K:us=\EG1B@\EH:
 # From: Nathan Peterson <nathan@sco.com>, 03 Sep 1996
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
+# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 tvi9065|televideo 9065:\
-	:5i:HC:am:bw:hs:mi:ms:xn:xo:\
-	:MW#0:Nl#8:co#80:it#8:lh#1:li#25:lm#0:lw#9:ma#4:vt#0:ws#30:\
-	:#2=\E\s\s\s:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
-	:F1=^AJ\r:F2=^AK\r:IC=\E[%d@:LE=\E[%dD:LF=\E[4;1v:\
-	:LO=\E[4;2v:RA=\E[=7l:RI=\E[%dC:RX=^N:SA=\E=7h:SF=\E[%dS:\
-	:SR=\E[%dT:SX=^O:UP=\E[%dA:\
-	:ac=0_'rjhkglfmeniopxjqksqtmulvown:ae=\E%:al=\EE:as=\E$:\
-	:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:\
-	:cs=\E[%i%d;%dr:ct=\E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\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:\
-	:r3=\E[=19h\E.3\E9\E0O\0\0\0\0\0\E0o\0\0\0\0\0\E0J\177\0\0\0\0:\
-	:rf=/usr/share/tabset/stdcrt:rp=\E[%r%db%.:\
-	:..sa=\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%%%;:\
-	:se=\EG0:sf=^J:so=\EGt:sr=\Ej:st=\E1:ta=^I:\
+	:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kb=^H:\
+	:kd=^V:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:ll=\E[25;1H:mb=\EG2:\
+	:md=\EG,:me=\EG0:mh=\EGp:mr=\EG4:nd=^L:nw=^M^J:\
+	:rp=\E[%r%db%.:se=\EG0:sf=^J:so=\EGt:sr=\Ej:st=\E1:ta=^I:\
 	:te=\E.3\Er\E[1;25r\E[25;0H:ti=\E.2:ts=\E[4;1v\E_30:\
 	:uc=\EG8\EG0:ue=\EG0:up=^K:us=\EG8:vb=\Eb\Ed:ve=\E.3:\
 	:vi=\E.0:vs=\E.2:
@@ -7006,29 +5645,11 @@
 # If your version of vi doesn't support function keys you may want
 # to use vi200-f.
 vi200-f|visual 200 no function keys:\
-	:am:bs:mi:ms:pt:\
-	:co#80:it#8:kn#10:li#24:\
-	:ac=:ae=\EG:al=\EL:as=\EF:bl=^G:bt=\Ez:cd=\Ey:ce=\Ex:cl=\Ev:\
-	:cm=\EY%+ %+ :cr=^M:ct=\Eg:dc=\EO:dl=\EM:do=^J:ho=\EH:\
 	:is=\E3\Eb\Ej\E\\\El\EG\Ed\Ek:k0=\E?p:k1=\E?q:k2=\E?r:\
 	:k3=\E?s:k4=\E?t:k5=\E?u:k6=\E?v:k7=\E?w:k8=\E?x:k9=\E?y:\
-	:kA=\EL:kC=\Ev:kD=\EO:kE=\Et:kI=\Ei:kL=\EM:kM=\Ej:kS=\EJ:\
-	:kT=\E1:kb=^H:kd=\EB:ke=\E>:kh=\EH:kl=\ED:kr=\EC:ks=\E=:\
-	:kt=\E2:ku=\EA:le=^H:me=\E3\Eb:mh=\E4:mk=\Ea:nd=\EC:pf=\EX:\
-	:po=\EW:ps=\EH\E]:r1=\E3\Eb\Ej\E\El\EG\Ec\Ek\EX:sf=^J:\
-	:sr=\EI:st=\E1:ta=^I:up=\EA:ve=\Ec:vs=\Ed:
+	:ke=\E>:ks=\E=:se@:so@:tc=vi200:
 vi200-rv|visual 200 reverse video:\
-	:am:bs:mi:ms:pt:\
-	:co#80:it#8:kn#10:li#24:\
-	:ac=:ae=\EG:al=\EL:as=\EF:bl=^G:bt=\Ez:cd=\Ey:ce=\Ex:cl=\Ev:\
-	:cm=\EY%+ %+ :cr=^M:ct=\Eg:dc=\EO:dl=\EM:do=^J:ho=\EH:\
-	:k0=\E?p:k1=\E?q:k2=\E?r:k3=\E?s:k4=\E?t:k5=\E?u:k6=\E?v:\
-	:k7=\E?w:k8=\E?x:k9=\E?y:kA=\EL:kC=\Ev:kD=\EO:kE=\Et:kI=\Ei:\
-	:kL=\EM:kM=\Ej:kS=\EJ:kT=\E1:kb=^H:kd=\EB:ke=\E>:kh=\EH:\
-	:kl=\ED:kr=\EC:ks=\E=:kt=\E2:ku=\EA:le=^H:me=\E3\Eb:mh=\E4:\
-	:mk=\Ea:nd=\EC:pf=\EX:po=\EW:ps=\EH\E]:\
-	:r1=\E3\Eb\Ej\E\El\EG\Ec\Ek\EX:se=\E3:sf=^J:so=\E4:\
-	:st=\E1:ta=^I:up=\EA:
+	:se=\E3:so=\E4:sr@:ve@:vs@:tc=vi200:
 
 # the function keys are programmable but we don't reprogram them to their
 # default values with :is: because programming them is very verbose. maybe
@@ -7050,17 +5671,8 @@
 # some of the vi300s have older firmware that has the command
 # sequence for setting editing extent reversed.
 vi300-old|visual 300 with old firmware (set edit extent reversed):\
-	:am:bw:mi:xn:\
-	:co#80:li#24:\
-	:RA=\E[?7l:SA=\E[?7h:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
-	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:\
-	:do=\E[B:ei=\E[4l:ho=\E[H:im=\E[4h:\
 	:is=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[2Q\E[0;1(D\E[8s:\
-	:k1=\E_A\E\\:k2=\E_B\E\\:k3=\E_C\E\\:k4=\E_D\E\\:\
-	:k5=\E_E\E\\:k6=\E_F\E\\:k7=\E_G\E\\:k8=\E_H\E\\:\
-	:k9=\E_I\E\\:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
-	:me=\E[m:nd=\E[C:se=\E[m:sf=^J:so=\E[1m:sr=\EM:ta=^I:\
-	:ue=\E[m:up=\E[A:us=\E[4m:
+	:tc=vi300:
 
 # Visual 500 prototype entry from University of Wisconsin.
 # The best place to look for the escape sequences is page A1-1 of the
@@ -7086,37 +5698,17 @@
 # and with 33 lines. clear screen is modified here to
 # also clear the graphics.
 vi550|visual 550 ansi x3.64:\
-	:am:bw:mi:xn:\
-	:co#80:li#33:\
-	:RA=\E[?7l:SA=\E[?7h:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
-	:cl=\030\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:\
-	:do=\E[B:ei=\E[4l:ho=\E[H:im=\E[4h:\
-	:is=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[1Q\E[0;1(D\E[8s:\
-	:k1=\E_A\E\\:k2=\E_B\E\\:k3=\E_C\E\\:k4=\E_D\E\\:\
-	:k5=\E_E\E\\:k6=\E_F\E\\:k7=\E_G\E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=^K:le=^H:ll=^^^K:mb=\EG2:me=\EG0\E(\EH\003:mh=\EGp:\
-	:mk=\EG1:mp=\EG0\E):mr=\EG4:nd=^L:nw=^M^J:pf=^T:\
-	:pn=\Ez%+/%s\r:po=^X:ps=\EP:px=\Ez%+?%s\177:\
+	:ms@:\
+	:ma@:sg#1:\
+	:ae=\EG0\EH\003:as=\EG0\EH\002:mb=\EG2:\
+	:me=\EG0\E(\EH\003:mh=\EGp:mp=\EG0\E):\
 	:..sa=\EG%{48}%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;:\
-	:se=\EG0:sf=\n:so=\EG4:sr=\Ej:st=\E1:ta=\011:te=\EG0:ti=:\
-	:ts=\EF:ue=\EG0:up=^K:us=\EG8:vb=\E`8\E`9:ve=\E`1:vi=\E`0:
+	:se=\EG0:so=\EG4:te=\EG0:ti=:tc=wy30:tc=adm+sgr:
 #	The mandatory pause used by :vb: does not work with
 #	older versions of terminfo.  If you see this effect then
 #	unset xon and delete the / from the delay.
 #	i.e. change $<100/> to $<100>
 wy30-vb|wyse30-vb|wyse 30 visible bell:\
-	:5i:am:bw:hs:mi:ms:xo:\
-	:Nl#8:co#80:lh#1:li#24:lw#8:ma#1:ws#45:\
-	:#2=\E{:&3=\Er:@8=\E7:LF=\EA11:LO=\EA10:\
-	:ac=0wa_h[jukslrmqnxqzttuyv]wpxv:ae=\EH^C:al=\EE:\
-	:as=\EH^B:bt=\EI:cd=\EY:ce=\ET:cl=\E+:cm=\E=%+ %+ :cr=^M:\
-	:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:ei=\Er:fs=^M:ho=^^:\
-	:im=\Eq:ip=:is=\E'\E(\E^3\E`9\016\024:k1=^A@\r:k2=^AA\r:\
-	:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:\
-	:kA=\EE:kB=\EI:kD=\EW:kE=\ET:kI=\EQ:kL=\ER:kN=\EK:kP=\EJ:\
-	:kS=\EY:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:ll=^^^K:\
-	:me=\E(\EH\003:mh=\E`7\E):mp=\E`7\E):nd=^L:nw=^M^J:pf=^T:\
-	:pn=\Ez%+/%s\r:po=^X:ps=\EP:px=\Ez%+?%s\177:\
-	:..sa=%?%p1%p5%p8%|%|%t\E`7\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;:\
-	:se=\E(:sf=\n:so=\E`7\E):sr=\Ej:st=\E1:ta=\011:ts=\EF:up=^K:\
-	:vb=\E`8\E`9:ve=\E`1:vi=\E`0:
+	:bl@:tc=wy30:
 #
 #	   The Wyse 50 can support one attribute (e.g. Dim, Inverse,
 #	Normal) without magic cookies by using the protect mode.
@@ -7247,78 +5815,20 @@
 #	i.e. change $<100/> to $<100>
 # (wy50-mc: added :ti: to suppress tic warning --esr)
 wy50-mc|wyse50-mc|wyse 50 with magic cookies:\
-	:5i:am:bw:hs:mi:xo:\
-	:Nl#8:co#80:lh#1:li#24:lw#8:sg#1:ug#1:ws#45:\
-	:#2=\E{:%9=\EP:&3=\Er:@8=\E7:F1=^AJ\r:F2=^AK\r:F3=^AL\r:\
-	:F4=^AM\r:F5=^AN\r:F6=^AO\r:LF=\EA11:LO=\EA10:\
-	:ac=0wa_h[jukslrmqnxqzttuyv]wpxv:ae=\EG0\EH\003:al=\EE:\
-	:as=\EG0\EH\002:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:\
-	:cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:\
-	:ei=\Er:fs=^M:ho=^^:i1=\E`\:\E`9:im=\Eq:ip=:\
-	:is=\016\024\E'\E(:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
-	:k5=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\r:\
-	:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:\
-	:k8=^AG\r:k9=^AH\r:k;=^AI\r:kA=\EE:kB=\EI:kD=\EW:kE=\ET:\
-	:kI=\EQ:kL=\ER:kN=\EK:kP=\EJ:kS=\EY:kb=^H:kd=^J:kh=^^:kl=^H:\
-	:kr=^L:ku=^K:le=^H:ll=^^^K:me=\E(\EH\003:mh=\E`7\E):\
-	:mp=\E`7\E):mr=\E`6\E):nd=^L:nw=^M^J:pf=^T:pn=\Ez%+/%s\r:\
-	:po=^X:ps=\EP:px=\Ez%+?%s\177:\
-	:..sa=%?%p1%p3%|%t\E`6\E)%e%p5%p8%|%t\E`7\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;:\
-	:se=\E(:sf=\n:so=\E`6\E):sr=\Ej:st=\E1:ta=^I:ts=\EF:up=^K:\
-	:vb=\E`8\E`9:ve=\E`1:vi=\E`0:
+	:bl@:tc=wy50-w:
+
 #
 #	The Wyse 350 is a Wyse 50 with color.
 #	Unfortunately this means that it has magic cookies.
@@ -7342,12 +5852,12 @@
 #	i.e. change $<100/> to $<100>
 #
 # Bug: The <op> capability resets attributes.
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
 wy350|wyse350|Wyse 350:\
 	:5i:am:bw:hs:mi:xo:\
-	:Co#8:NC#55:Nl#8:co#80:lh#1:li#24:lw#8:pa#8:sg#1:ug#1:ws#45:\
+	:Co#8:NC#55:Nl#8:co#80:lh#1:li#24:lw#8:pa#8:sg#1:ws#45:\
 	:#2=\E{:%9=\EP:&3=\Er:@8=\E7:F1=^AJ\r:F2=^AK\r:F3=^AL\r:\
 	:F4=^AM\r:F5=^AN\r:F6=^AO\r:LF=\EA11:LO=\EA10:Sb=:\
-	:..Sf=%?%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}%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]wpxv:ae=\EG0\EH\003:al=\EE:\
-	:as=\EG0\EH\002:bt=\EI:cd=\EY:ce=\ET:cl=\E+:\
-	:cm=\Ea%i%dR%dC:cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:\
-	:ei=\Er:fs=^M:ho=^^:i1=\E`;\E`9:i2=\E%?:im=\Eq:ip=:\
-	:is=\016\024\E'\E(:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
-	:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:\
-	:kA=\EE:kB=\EI:kD=\EW:kE=\ET:kI=\EQ:kL=\ER:kN=\EK:kP=\EJ:\
-	:kS=\EY:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:ll=^^^K:\
-	:mb=\EG2:me=\EG0\E(\EH\003%{0}%PA%{0}%PC:mh=\EGp:\
-	:mk=\EG1:mp=\EG0\E):mr=\EG4:nd=^L:nw=^M^J:oc=\E%?:op=\EG0:\
-	:pf=^T:pn=\Ez%+/%s\r:po=^X:ps=\EP:px=\Ez%+?%s\177:\
-	:..sa=%{0}%?%p4%t%{2}%|%;%?%p7%t%{1}%|%;%PA\EG%?%gC%t%gC%e%{0}%?%p1%t%{4}%|%;%?%p2%t%{8}%|%;%?%p3%t%{4}%|%;%?%p5%t%{64}%|%;%;%gA%+%{48}%+%c%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;:\
-	:se=\EG0:sf=\n:so=\EG4:sr=\Ej:st=\E1:ta=^I:ts=\EF:ue=\EG0:\
-	:up=^K:us=\EG8:vb=\E`8\E`9:ve=\E`1:vi=\E`0:
+	:bl@:tc=wy350-w:
 #
 #	This terminfo description is untested.
 #	The wyse100 emulates an adm31, so the adm31 entry should work.
 #
 wy100|wyse 100:\
 	:hs:mi:\
-	:co#80:li#24:sg#1:ug#1:\
+	:co#80:li#24:sg#1:\
 	:al=\EE:bl=^G:cd=\EY:ce=\ET:cl=\E;:cm=\E=%+ %+ :cr=^M:\
 	:dc=\EW:dl=\ER:do=^J:ds=\EA31:ei=\Er:fs=^M:im=\Eq:is=\Eu\E0:\
 	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
 	:k7=^AF\r:k8=^AG\r:kb=^H:kd=^J:kh=\E{:kl=^H:kr=^L:ku=^K:\
-	:le=^H:me=\EG0:mr=\EG4:nd=^L:se=\EG0:sf=^J:so=\EG4:ts=\EF:\
-	:ue=\EG0:up=^K:us=\EG8:
+	:le=^H:mk@:nd=^L:sf=^J:ts=\EF:up=^K:tc=adm+sgr:
 #
 #	The Wyse 120/150 has most of the features of the Wyse 60.
 #	This terminal does not need padding up to 9600 baud!
@@ -7442,147 +5897,46 @@
 #	alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
 #	then set :ms:.
 #
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
 wy120|wyse120|wy150|wyse150|Wyse 120/150:\
 	:5i:am:bw:hs:km:mi:ms:xo:\
 	:Nl#8:co#80:it#8:lh#1:li#24:lw#8:pb#9601:ws#45:\
 	:#2=\E{:%9=\EP:&3=\Er:@8=\E7:F1=^AJ\r:F2=^AK\r:F3=^AL\r:\
 	:F4=^AM\r:F5=^AN\r:F6=^AO\r:LF=\EA11:LO=\EA10:RA=\Ed.:\
-	:RX=\Ec20:SA=\Ed/:SX=\Ec21:\
-	:ac=+/,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~:\
-	:ae=\EcD:al=\EE:as=\EcE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:\
-	:cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:\
-	:ei=\Er:fs=^M:ho=^^:i1=\EcB0\EcC1:i2=\EwJ\Ew1:im=\Eq:ip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^L:nw=\r\n:pf=^T:pl=\EZ2%+?%s\177:po=\Ed#:ps=\EP:\
-	:px=\EZ1%+?%s\177:r1=\E~!\E~4:r2=\EeF\E`\::r3=\EwG\Ee):\
-	:..sa=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%{48}%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c:\
-	:se=\EG0:sf=\n:so=\EGt:sr=\Ej:st=\E1:ta=\011:te=\Ew1:\
-	:ti=\Ew0:ts=\EF:ue=\EG0:up=^K:us=\EG8:vb=\E`8\E`9:ve=\E`1:\
-	:vi=\E`0:
+	:me=\E(\EH\003\EG0\EcD:mh=\EGp:mp=\E):nd=^L:nw=\r\n:pf=^T:\
+	:pl=\EZ2%+?%s\177:pn=\Ez%+/%s\r:po=\Ed#:ps=\EP:\
+	:px=\EZ1%+?%s\177:r1=\E~!\E~4:r2=\EeF\E`\::r3=\EwG\Ee(:\
+	:sf=\n:so=\EGt:sr=\Ej:st=\E1:ta=\011:te=\Ew1:ti=\Ew0:ts=\EF:\
+	:up=^K:vb=\E`8\E`9:ve=\E`1:vi=\E`0:tc=adm+sgr:
+#
+wy120-w|wyse120-w|wy150-w|wyse150-w|wyse 120/150 132-column:\
+	:Nl#16:co#132:lw#7:ws#97:\
+	:cm=\Ea%i%dR%dC:dc=\EW:ip=:rs=\E`;:tc=wy120:
+#
+wy120-25|wyse120-25|wy150-25|wyse150-25|wyse 120/150 80-column 25-lines:\
+	:Nl@:lh@:li#25:lw@:\
+	:pn@:r3=\EwG\Ee):tc=wy120:
 #
 wy120-25-w|wyse120-25-w|wy150-25-w|wyse150-25-w|wyse 120/150 132-column 25-lines:\
-	:5i:am:bw:hs:km:mi:ms:xo:\
-	:co#132:it#8:li#25:pb#9601:ws#97:\
-	:#2=\E{:%9=\EP:&3=\Er:@8=\E7:F1=^AJ\r:F2=^AK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I\r:kA=\EE:kB=\EI:kD=\EW:\
-	:kE=\ET:kI=\EQ:kL=\ER:kN=\EK:kP=\EJ:kS=\EY:kb=^H:kd=^J:kh=^^:\
-	:kl=^H:kr=^L:ku=^K:le=^H:ll=^^^K:mb=\EG2:\
-	:me=\E(\EH\003\EG0\EcD:mh=\EGp:mk=\EG1:mp=\E):mr=\EG4:\
-	:nd=^L:nw=\r\n:pf=^T:pl=\EZ2%+?%s\177:pn=\Ez%+/%s\r:\
-	:po=\Ed#:ps=\EP:px=\EZ1%+?%s\177:r1=\E~!\E~4:r2=\E`;:\
-	:r3=\EwG\Ee(:\
-	:..sa=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%{48}%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c:\
-	:se=\EG0:sf=\n:so=\EGt:sr=\Ej:st=\E1:ta=\011:te=\Ew1:\
-	:ti=\Ew0:ts=\EF:ue=\EG0:up=^K:us=\EG8:vb=\E`8\E`9:ve=\E`1:\
-	:vi=\E`0:
+	:bl@:tc=wy120-w:
 #
 #	The Wyse 60 is like the Wyse 50 but with more padding.
 #	The reset strings are slow and the pad times very depending
@@ -7614,237 +5968,60 @@
 #
 # (wy60: we use \E{ rather than ^^ for home (both are documented) to avoid
 # a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
 wy60|wyse60|Wyse 60:\
 	:5i:am:bw:hs:km:mi:ms:\
 	:Nl#8:co#80:lh#1:li#24:lw#8:ws#45:\
 	:#2=\E{:%9=\EP:&3=\Er:@8=\E7:DK=\E`b:F1=^AJ\r:F2=^AK\r:\
 	:F3=^AL\r:F4=^AM\r:F5=^AN\r:F6=^AO\r:LF=\EA11:LO=\EA10:\
-	:RA=\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:vb=\E`8\E`9:ve=\E`1:\
-	:vi=\E`0:
+	:me=\E(\EH\003\EG0\EcD:mh=\EGp:mp=\E):nd=^L:nw=\r\n:pf=^T:\
+	:pl=\EZ2%+?%s\177:pn=\Ez%+/%s\r:po=\Ed#:ps=\EP:\
+	:px=\EZ1%+?%s\177:r1=\E~!\E~4:r2=\EeG:r3=\EwG\Ee(:sf=\n:\
+	:so=\EGt:sr=\Ej:st=\E1:ta=\011:te=\Ew1:ti=\Ew0:ts=\EF:up=^K:\
+	:vb=\E`8\E`9:ve=\E`1:vi=\E`0:tc=adm+sgr:
+#
+wy60-w|wyse60-w|wyse 60 132-column:\
+	:Nl#16:co#132:lw#7:ws#97:\
+	:cm=\Ea%i%dR%dC:dc=\EW:ip=:rs=\EeF\E`;:tc=wy60:
+#
+wy60-25|wyse60-25|wyse 60 80-column 25-lines:\
+	:Nl@:lh@:li#25:lw@:\
+	:pn@:r3=\EwG\Ee):tc=wy60:
+wy60-25-w|wyse60-25-w|wyse 60 132-column 25-lines:\
+	:Nl@:lh@:li#25:lw@:\
+	:pn@:r3=\EwG\Ee):tc=wy60-w:
+#
+wy60-42|wyse60-42|wyse 60 80-column 42-lines:\
+	:li#42:\
+	:al=\EE:cd=\Ey:cl=\E+:cm=\E=%+ %+ :dc=\EW:dl=\ER:\
+	:i1=\EcB2\EcC3:ip=:nw=\r\n:r3=\Ee*:sf=\n:sr=\Ej:tc=wy60:
 wy60-42-w|wyse60-42-w|wyse 60 132-column 42-lines:\
-	:5i:am:bw:hs:km:mi:ms:\
-	:Nl#16:co#132:lh#1:li#42:lw#7:ws#97:\
-	:#2=\E{:%9=\EP:&3=\Er:@8=\E7:DK=\E`b:F1=^AJ\r:F2=^AK\r:\
-	:F3=^AL\r:F4=^AM\r:F5=^AN\r:F6=^AO\r:LF=\EA11:LO=\EA10:\
-	:RA=\Ed.:RC=\E`c:RX=\Ec20:SA=\Ed/:SX=\Ec21:\
-	:ac=+/,.0[Iha2fxgqh1jYk?lZm@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'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El:\
+	:bl@:tc=wy99gt-w:
+
+# Can't set tabs! Other bugs (ANSI mode only):
+# - can't redefine function keys (anyway, key redefinition in ANSI mode
+#   is too much complex to be described);
+# - meta key can't be described (the terminal forgets it when reset);
+# The xon-xoff handshaking can't be disabled while in ansi personality, so
+# emacs can't work at speed greater than 9600 baud.  No padding is needed at
+# this speed.
+#   dch1 has been commented out because it causes annoying glittering when
+# vi deletes one character at the beginning of a line with tabs in it.
+#   dch makes sysgen(1M) have a horrible behaviour when deleting
+# a screen and makes screen(1) behave badly, so it is disabled too. The nice
+# thing is that vi goes crazy if smir-rmir are present and both dch-dch1 are
+# not, so smir and rmir are commented out as well.
+# From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
+# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
+wy99-ansi|Wyse WY-99GT in ansi mode (int'l PC keyboard):\
+	:am:km:mi:ms:xn:\
+	:co#80:it#8:li#25:vt#3:\
+	:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:\
+	:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
+	:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
+	:cs=\E[%i%d;%dr:dl=\E[M:do=\ED:ec=\E[%dX:ei=\E[4l:ho=\E[H:\
+	:im=\E[4h:\
+	:is=\E7\E[1r\E8\E[2;3;4;13;20;34;39;36l\E[12;16;34h\E[?1;3;4;5;10;18l\E[?7;8;25h\E>\E[?5W\E(B\017\E[4i:\
+	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[M:k6=\E[17~:\
+	:k7=\E[18~:k8=\E[19~:k9=\E[20~:kb=^H:kd=\EOB:ke=\E[?1l:\
+	:kl=\EOD:kr=\EOC:ks=\E[?1h:ku=\EOA:le=\010:ll=\E[24E:\
+	:mb=\E[5m:md=\E[1m:me=\E[m\017\E["q:mh=\E[2m:mr=\E[7m:\
+	:nd=\E[C:nw=\EE:rc=\E8:\
+	:rs=\E[61"p\E[40h\E[?6l\E[1r\E[2;3;4;13;20;34;39;36l\E[12;16;34h\E[?1;3;4;5;10;18l\E[?7;8;25h\E>\E[?5W\E(B\017\E[24E\E[4i:\
+	:sc=\E7:se=\E[27m:sf=\n:so=\E[7m:sr=\EM:ta=^I:ue=\E[24m:\
+	:up=\EM:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[34h\E[?25h:\
+	:vi=\E[?25l:vs=\E[34l\E[?25h:
+
+#   This is the american terminal. Here tabs work fine.
+# From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
+wy99a-ansi|Wyse WY-99GT in ansi mode (US PC keyboard):\
+	:ct=\E[3g:i2=\E[?5l:r3=\E[?5l:st=\EH:tc=wy99-ansi:
+
+# This terminal (firmware version 02) has a lot of bugs:
+# - can't set tabs;
+# - other bugs in ANSI modes (see above).
+# This description disables handshaking when using cup. This is because
+# GNU emacs doesn't like Xon-Xoff handshaking. This means the terminal
+# cannot be used at speeds greater than 9600 baud, because at greater
+# speeds handshaking is needed even for character sending. If you use
+# DTR handshaking, you can use even greater speeds.
+# From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
+# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
+wy99f|wy99fgt|wy-99fgt|Wyse WY-99GT (int'l PC keyboard):\
+	:am:bw:hs:km:mi:ms:xo:\
+	:co#80:it#8:li#25:ws#46:\
+	:K1=^^:K3=\EJ:K4=\ET:K5=\EK:ae=\EcD:al=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
+	:le=^H:mb=\EG2:me=\E(\EG0:mh=\EGp:mr=\EG4:nd=^L:nw=^_:\
+	:rs=\Eu\E~4\Ee6\EC\EDF\Ec21\Ec31\Ec62\Ec72\Ee;\016\E'\EeL\E`9\E^0\E`1\E`4\Ee.\E`\:\Ee)\Ew\EwG\Ew0\Ee1\EG0\E(\Ed/\Ee4\Ed*\EO\E`I\Er\Ee"\Ec@0B\EcD\024:\
+	:se=\EG0:sf=^J:so=\EG4:sr=\Ej:ta=^I:te=\Ec21\Ec31:\
+	:ti=\Ec20\Ec30:ts=\EF:up=^K:vb=\E^1\E^0:ve=\E`4\E`1:\
+	:vi=\E`0:vs=\E`2\E`1:
+
+# This is the american terminal. Here tabs work.
+# From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
+wy99fa|wy99fgta|wy-99fgta|Wyse WY-99GT (US PC keyboard):\
+	:ct=\E0:st=\E1:tc=wy99f:
+
 #
 #	The Wyse 160 is combination of the WY-60 and the WY-99gt.
 #	The reset strings are slow and the pad times very depending
@@ -8021,227 +6158,59 @@
 #
 # (wy160: we use \E{ rather than ^^ for home (both are documented) to avoid
 # a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
 wy160|wyse160|Wyse 160:\
 	:5i:am:bw:hs:km:mi:ms:\
 	:Nl#8:co#80:lh#1:li#24:lw#8:ws#38:\
 	:#2=\E{:%9=\EP:&3=\Er:@8=\E7:DK=\E`b:F1=^AJ\r:F2=^AK\r:\
 	:F3=^AL\r:F4=^AM\r:F5=^AN\r:F6=^AO\r:LF=\EA11:LO=\EA10:\
-	:RA=\Ed.:RC=\E`c:RX=\Ec20:SA=\Ed/:SX=\Ec21:\
-	:ac=+/,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~:\
-	:ae=\EcD:al=\EE:as=\EcE:bl=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E`\::r3=\EwG\Ee(:sf=\n:\
+	:so=\EGt:sr=\Ej:st=\E1:ta=^I:te=\Ew0:ti=\Ew1:ts=\EF:up=^K:\
+	:vb=\E`8\E`9:ve=\E`1:vi=\E`0:tc=adm+sgr:
+#
+wy160-w|wyse160-w|wyse 160 132-column:\
+	:Nl#16:co#132:lw#7:ws#90:\
+	:cm=\Ea%i%dR%dC:dc=\EW:rs=\EeF\E`;:tc=wy160:
+#
+wy160-25|wyse160-25|wyse 160 80-column 25-lines:\
+	:Nl@:lh@:li#25:lw@:\
+	:pn@:r3=\EwG\Ee):tc=wy160:
+wy160-25-w|wyse160-25-w|wyse 160 132-column 25-lines:\
+	:Nl@:lh@:li#25:lw@:\
+	:pn@:r3=\EwG\Ee):tc=wy160-w:
+#
+wy160-42|wyse160-42|wyse 160 80-column 42-lines:\
+	:li#42:\
+	:al=\EE:cd=\Ey:cl=\E+:dl=\ER:i1=\EcB2\EcC3:nw=\r\n:r3=\Ee*:\
+	:sf=\n:sr=\Ej:tc=wy160:
 wy160-42-w|wyse160-42-w|wyse 160 132-column 42-lines:\
-	:5i:am:bw:hs:km:mi:ms:\
-	:Nl#16:co#132:lh#1:li#42:lw#7:ws#90:\
-	:#2=\E{:%9=\EP:&3=\Er:@8=\E7:DK=\E`b:F1=^AJ\r:F2=^AK\r:\
-	:F3=^AL\r:F4=^AM\r:F5=^AN\r:F6=^AO\r:LF=\EA11:LO=\EA10:\
-	:RA=\Ed.:RC=\E`c:RX=\Ec20:SA=\Ed/:SX=\Ec21:\
-	:ac=+/,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~:\
-	:ae=\EcD:al=\EE:as=\EcE:bl=^G:bt=\EI:cd=\Ey:ce=\ET:cl=\E+:\
-	:cm=\Ea%i%dR%dC:cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:\
-	:ei=\Er:fs=^M:ho=\E{:i1=\EcB2\EcC3:i2=\Ew0:im=\Eq:ip=:\
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016\024\El:\
-	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
-	:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:kA=\EE:kB=\EI:kD=\EW:\
-	:kE=\ET:kI=\EQ:kL=\ER:kN=\EK:kP=\EJ:kS=\EY:kb=^H:kd=^J:kh=^^:\
-	:kl=^H:kr=^L:ku=^K:le=^H:ll=\E{^K:mb=\EG2:\
-	:me=\E(\EH\003\EG0\EcD:mh=\EGp:mk=\EG1:mp=\E):mr=\EG4:\
-	:nd=^L:nw=\r\n:pf=^T:pl=\EZ2%+?%s\177:pn=\Ez%+/%s\r:\
-	:po=\Ed#:ps=\EP:px=\EZ1%+?%s\177:r1=\E~!\E~4:r2=\EeF\E`;:\
-	:r3=\EwG\Ee(:\
-	:..sa=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%{48}%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c:\
-	:se=\EG0:sf=\n:so=\EGt:sr=\Ej:st=\E1:ta=^I:te=\Ew0:ti=\Ew1:\
-	:ts=\EF:ue=\EG0:up=^K:us=\EG8:vb=\E`8\E`9:ve=\E`1:vi=\E`0:
+	:bl@:tc=wy160-w:
 #
 #	The Wyse 75 is a vt100 lookalike without advanced video.
 #
@@ -8254,32 +6223,27 @@
 #	cookies.  The wy75-mc terminal description uses magic cookies
 #	to correctly handle multiple attributes on a screen.
 #
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
+# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 wy75|wyse75|wyse 75:\
-	:5i:am:hs:mi:ms:xn:xo:\
+	:am:hs:mi:ms:xn:xo:\
 	:co#80:li#24:ma#1:pb#1201:ws#78:\
-	:%1=\E[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[m:\
-	:im=\E[4h:ip=:is=\E>\E(B\E)0\017:k1=\E[?5i:k2=\E[?3i:\
-	:k3=\E[2i:k4=\E[@:k5=\E[M:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
-	:k9=\E[20~:k;=\E[21~:kA=\E[L:kE=\E[K:kI=\E[@:kL=\E[M:\
-	:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:ke=\E>:kh=\E[H:kl=\E[D:\
-	:kr=\E[C:ks=\E[?1l\E[?7h\E=:ku=\E[A:le=^H:me=\E[m\017:\
-	:mh=\E[0t\E[2m:mr=\E[1t\E[7m:nd=\E[C:pf=\E[4i:po=\E[5i:\
-	:ps=\E[0i:r1=\E[13l\E[3l\E!p:r2=\E[35h\E[?3h:r3=\E[?5l:\
-	:rc=\E8:\
-	:..sa=%?%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%;:\
-	:sc=\E7:se=\E[m:sf=\n:so=\E[1t\E[7m:sr=\EM:st=\EH:ta=^I:\
-	:ts=\E[>,\001:ue=\E[m:up=\E[A:us=\E[2t\E[4m:\
-	:vb=\E[30h\E,\E[30l:ve=\E[?25h:vi=\E[?25l:
+	:pb@:\
+	:bl@:tc=wy75-w:
 #
 #	Wyse 85 emulating a vt220 7 bit mode.
 #		24 line screen with status line.
@@ -8411,118 +6279,74 @@
 #	:DC: and :IC: work best when XON/XOFF is set.  :IC: and
 #	:DC: leave trash on the screen when used without XON/XOFF.
 #
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
+# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 wy85|wyse85|wyse 85:\
-	:5i:am:hs:mi:ms:xn:xo:\
+	:am:hs:mi:ms:xn:xo:\
 	:co#80:it#8:li#24:ws#80:\
-	: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l\E=:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:\
+	:mh=\E[2m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=\n:\
+	:so=\E[7m:sr=\EM:st=\EH:ta=\011:ts=\E[40h\E7\E[25;%i%dH:\
+	:ue=\E[m:up=\E[A:us=\E[4m:vb=\E[30h\E,\E[30l:ve=\E[?25h:\
+	:vi=\E[?25l:
+#
+#	Wyse 85 with visual bell.
+wy85-vb|wyse85-vb|wyse 85 with visible bell:\
+	:bl@:vb=\E[30h\E,\E[30l:tc=wy85:
 #
 #	Wyse 85 in 132-column mode.
 wy85-w|wyse85-w|wyse 85 in 132-column mode:\
-	:5i:am:hs:mi:ms:xn:xo:\
-	:co#132:it#8:li#24:ws#132:\
-	:%1=\E[28~:*6=\E[4~:@0=\E[1~:@8=\EOM:AL=\E[%dL:DC=\E[%dP:\
-	:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:F3=\E[25~:\
-	:F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:\
-	:F9=\E[33~:FA=\E[34~:IC=\E[%d@:K1=\EOw:K2=\EOu:K3=\EOy:\
-	:K4=\EOq:K5=\EOs:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
-	:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
-	:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ds=\E[40l:eA=\E)0:\
+	:co#132:ws#132:\
+	:rs=\E[35h\E[?3h:tc=wy85:
+#
+#	Wyse 85 in 132-column mode with visual bell.
+wy85-wvb|wyse85-wvb|wyse 85 with visible bell 132-columns:\
+	:bl@:tc=wy85-w:
+
+# From: Kevin Turner <kevint@aracnet.com>, 12 Jul 1998
+# This copes with an apparent firmware bug in the wy85.  He writes:
+# "What I did was change leave the terminal cursor keys set to Normal
+# (instead of application), and change \E[ to \233 for all the keys in
+# terminfo. At one point, I found some reference indicating that this
+# terminal bug (not sending \E[) was acknowledged by Wyse (so it's not just
+# me), but I can't find that and the server under my bookmark to "Wyse 
+# Technical" isn't responding.  So there's the question of wether the wy85
+# terminfo should reflect the manufactuer's intended behaviour of the terminal
+# or the actual."
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
+# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
+wy85-8bit|wyse85-8bit|wyse 85 in 8-bit mode:\
+	:am:hs:mi:ms:xn:xo:\
+	:co#80:it#8:li#24:ws#80:\
+	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
+	:K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
+	:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
+	:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
+	:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ds=\E[40l:\
 	:ec=\E[%dX:ei=\E[4l:fs=\E[1;24r\E8:ho=\E[H:\
 	:i1=\E[62;1"p\E[?5W:i2=\E>\E(B\E)0\017\E[m:im=\E[4h:ip=:\
 	:is=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h:\
-	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
-	:k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\E[3~:kI=\E[2~:kN=\E[6~:\
-	:kP=\E[5~:kb=^H:kd=\E[B:ke=\E>:kh=\E[26~:kl=\E[D:kr=\E[C:\
-	:ks=\E[?1l\E=:ku=\E[A:l1=PF1:l2=PF2:l3=PF3:l4=PF4:le=^H:\
-	:mb=\E[5m:md=\E[1m:me=\E[m\017:mh=\E[2m:mk=\E[8m:mr=\E[7m:\
-	:nd=\E[C:pf=\E[4i:po=\E[5i:ps=\E[0i:r1=\E[13l\E[3l\E!p:\
-	:r2=\E[35h\E[?3h:r3=\E[?5l:rc=\E8:\
-	:..sa=\E[0%?%p2%t;4%;%?%p3%p1%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;:\
-	:sc=\E7:se=\E[m:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=\011:\
-	:ts=\E[40h\E7\E[25;%i%dH:ue=\E[m:up=\E[A:us=\E[4m:\
-	:vb=\E[30h\E,\E[30l:ve=\E[?25h:vi=\E[?25l:
-#
-#	Wyse 85 in 132-column mode with visual bell.
-wy85-wvb|wyse85-wvb|wyse 85 with visible bell 132-columns:\
-	:5i:am:hs:mi:ms:xn:xo:\
-	:co#132:it#8:li#24:ws#132:\
-	:%1=\E[28~:*6=\E[4~:@0=\E[1~:@8=\EOM:AL=\E[%dL:DC=\E[%dP:\
-	:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:F3=\E[25~:\
-	:F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:\
-	:F9=\E[33~:FA=\E[34~:IC=\E[%d@:K1=\EOw:K2=\EOu:K3=\EOy:\
-	:K4=\EOq:K5=\EOs:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
-	:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:cl=\E[H\E[J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sc=\E7:\
+	:se=\E[m:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=\011:\
 	:ts=\E[40h\E7\E[25;%i%dH:ue=\E[m:up=\E[A:us=\E[4m:\
 	:vb=\E[30h\E,\E[30l:ve=\E[?25h:vi=\E[?25l:
 #
@@ -8536,169 +6360,57 @@
 #	The Compose Character key can be used as a meta key if changed
 #	by set-up.
 #
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
+# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 wy185|wyse185|wyse 185:\
-	:5i:am:hs:km:mi:ms:xn:xo:\
+	:am:hs:km:mi:ms:xn:xo:\
 	:co#80:it#8:li#24:ws#80:\
-	:%1=\E[28~:*6=\E[4~:@0=\E[1~:@8=\EOM:AL=\E[%dL:DC=\E[%dP:\
-	:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:F3=\E[25~:\
-	:F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:\
-	:F9=\E[33~:FA=\E[34~:IC=\E[%d@:K1=\EOw:K2=\EOu:K3=\EOy:\
-	:K4=\EOq:K5=\EOs:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
-	:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:ch=\E[%i%d`:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
-	:cs=\E[%i%d;%dr:ct=\E[3g:cv=\E[%i%dd:dc=\E[P:dl=\E[M:\
-	:do=^J:ds=\E7\E[99;0H\E[K\E8:eA=\E)0:ec=\E[%dX:ei=\E[4l:\
+	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@: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:us=\E[4m:vb=\E[30h\E,\E[30l:ve=\E[34h\E[?25h:\
-	:vi=\E[?25l:vs=\E[?25h\E[34l:
+	:k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
+	:kb=^H:kd=\E[B:ke=\E>:kh=\E[26~:kl=\E[D:kr=\E[C:\
+	:ks=\E[?1l\E=:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:\
+	:mh=\E[2m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[27m:sf=\n:\
+	:so=\E[7m:sr=\EM:st=\EH:ta=^I:te=\E[ R:ti=\E[ Q:\
+	:ts=\E7\E[99;%i%dH:ue=\E[24m:up=\E[A:us=\E[4m:\
+	:vb=\E[30h\E,\E[30l:ve=\E[34h\E[?25h:vi=\E[?25l:\
+	:vs=\E[?25h\E[34l:
 #
 #	Wyse 185 with 24 data lines and top status (terminal status)
 wy185-24|wyse185-24|wyse 185 with 24 data lines:\
-	:5i:am:km:mi:ms:xn:xo:\
-	:co#80:it#8:li#24:ws#80:\
-	:%1=\E[28~:*6=\E[4~:@0=\E[1~:@8=\EOM:AL=\E[%dL:DC=\E[%dP:\
-	:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:F3=\E[25~:\
-	:F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:\
-	:F9=\E[33~:FA=\E[34~:IC=\E[%d@:K1=\EOw:K2=\EOu:K3=\EOy:\
-	:K4=\EOq:K5=\EOs:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
-	:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:ch=\E[%i%d`:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
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017:mh=\E[2m:mk=\E[8m:\
-	:mr=\E[7m:nd=\E[C:pf=\E[4i:po=\E[5i:ps=\E[0i:\
-	:r1=\E[13l\E[3l\E\\\E[63;1"p\E[!p:r2=\E[35h\E[?3h:\
-	:r3=\E[?5l\E[47h\E[40l\E[r:rc=\E8:\
-	:..sa=\E[0%?%p2%t;4%;%?%p3%p1%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;:\
-	:sc=\E7:se=\E[27m:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
-	:te=\E[ R:ti=\E[ Q:ts=\E7\E[99;%i%dH:ue=\E[24m:up=\E[A:\
-	:us=\E[4m:vb=\E[30h\E,\E[30l:ve=\E[34h\E[?25h:\
-	:vi=\E[?25l:vs=\E[?25h\E[34l:
+	:bl@:tc=wy185-w:
 
 # wy325 terminfo entries
 # Done by Joe H. Davis        3-9-92
 
 # lines 25  columns 80
 #
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
 wy325|wyse325|Wyse epc:\
 	:5i:am:bw:hs:mi:\
 	:Nl#8:co#80:lh#1:li#24:lw#8:pb#9601:ws#45:\
@@ -8714,281 +6426,76 @@
 	:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:kA=\EE:kB=\EI:kD=\EW:\
 	:kE=\ET:kI=\Eq:kL=\ER:kN=\EK:kP=\EJ:kS=\EY:kb=^H:kd=^J:kh=^^:\
 	:kl=^H:kr=^L:ku=^K:le=^H:ll=^^^K:mb=\EG2:\
-	:me=\E(\EH\003\EG0\EcD:mh=\EGp:mk=\EG1:mp=\E):mr=\EG4:\
-	:nd=^L:pf=^T:pl=\EZ2%+?%s\177:pn=\Ez%+/%s\r:po=\Ed#:\
-	:ps=\EP:px=\EZ1%+?%s\177:r1=\E~!\E~4:r2=\EeF\E`\::\
-	:r3=\EwG\Ee(:\
-	:..sa=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e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2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
-	:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:kA=\EE:kB=\EI:kD=\EW:\
-	:kE=\ET:kI=\Eq:kL=\ER:kN=\EK:kP=\EJ:kS=\EY:kb=^H:kd=^J:kh=^^:\
-	:kl=^H:kr=^L:ku=^K:le=^H:ll=^^^K:mb=\EG2:\
-	:me=\E(\EH\003\EG0\EcD:mh=\EGp:mk=\EG1:mp=\E):mr=\EG4:\
-	:nd=^L:pf=^T:pl=\EZ2%+?%s\177:pn=\Ez%+/%s\r:po=\Ed#:\
-	:ps=\EP:px=\EZ1%+?%s\177:r1=\E~!\E~4:r2=\E`;:r3=\EwG\Ee(:\
-	:..sa=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%{48}%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c:\
-	:se=\EG0:sf=\n:so=\EGt:sr=\Ej:st=\E1:ta=^I:te=\Ew0:ti=\Ew1:\
-	:ts=\EF:ue=\EG0:up=^K:us=\EG8:vb=\E`8\E`9:ve=\E`1:vi=\E`0:
+	:bl@:tc=wy325-w:
 
 #	Wyse 370 -- 24 line screen with status line.
 #
@@ -9008,33 +6515,25 @@
 #	<u5> -> exit  Tek 4207 mode (goto native ANSI mode)
 #
 # Bug: The <op> capability resets attributes.
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
+# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 wy370-nk|wyse 370 without function keys:\
-	:5i:am:cc:hs:mi:ms:xn:xo:\
-	:Co#64:NC#48:co#80:it#8:li#24:pa#64:ws#80:\
-	:AL=\E[%dL:DC=\E[%dP:DK=\E[31h:DL=\E[%dM:DO=\E[%dB:\
-	:I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\E>\017\E)0\E(B\E[63;0w\E[m:\
+	:im=\E[4h:ip=:\
 	:is=\E[2;4;20;30;40l\E[?1;10;16l\E[12h\E[?7;8;25h:\
 	:ke=\E>:ks=\E[?1l\E=:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:\
-	:mh=\E[2m:mk=\E[8m:mr=\E[7m:nd=\E[C:\
-	: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:pf=\E[4i:po=\E[5i:ps=\E[0i:\
-	:r1=\E[13l\E[3l\E!p\E[?4i:r2=\E[35h\E[?3l:r3=\E[?5l:\
-	:rc=\E8:\
-	:..sa=\E[0%?%p2%t;4%;%?%p3%p1%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;:\
-	:sc=\E7:se=\E[27m:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=\011:\
-	:te=\E[ R:ti=\E[ Q:ts=\E[40l\E[40h\E7\E[99;%i%dH:\
-	:u0=\E[?38h\E8:u1=\E[?38l\E)0:u2=\E[92;52"p:u3=\E~B:\
-	:u4=\E[92;76"p:..u5=\E%!1\E[90;1"p:ue=\E[24m:up=\E[A:\
+	:mh=\E[2m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[27m:sf=\n:\
+	:so=\E[7m:sr=\EM:st=\EH:ta=\011:te=\E[ R:ti=\E[ Q:\
+	:ts=\E[40l\E[40h\E7\E[99;%i%dH:ue=\E[24m:up=\E[A:\
 	:us=\E[4m:vb=\E[30h\E,\E[30l:ve=\E[34h\E[?25h:\
 	:vi=\E[?25l:vs=\E[?25h\E[34l:
 #
@@ -9042,255 +6541,47 @@
 #	This is the default 370.
 #
 wy370|wyse370|wy370-101k|Wyse 370 with 101 key keyboard:\
-	:5i:am:cc:hs:mi:ms:xn:xo:\
-	:Co#64:NC#48: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 #	Function key set for the VT-320 (and wy85) compatible keyboard
 #
 wy370-105k|Wyse 370 with 105 key keyboard:\
-	:5i:am:cc:hs:mi:ms:xn:xo:\
-	:Co#64:NC#48:co#80:it#8:li#24:pa#64:ws#80:\
-	:%1=\E[28~:*6=\E[4~:@0=\E[1~:@8=\EOM:AL=\E[%dL:DC=\E[%dP:\
-	:DK=\E[31h:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:\
+	:%1=\E[28~:*6=\E[4~:@0=\E[1~:@8=\EOM:F1=\E[23~:F2=\E[24~:\
 	:F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:\
-	:F8=\E[32~:F9=\E[33~:FA=\E[34~:IC=\E[%d@:\
-	:..Ic=\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:\
-	:K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
-	:RA=\E[?7l:RC=\E[31l:RI=\E[%dC:SA=\E[?7h:Sb=\E[62;%dw:\
-	:Sf=\E[61;%dw:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:ch=\E[%i%d`:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
-	:cs=\E[%i%d;%dr:ct=\E[3g:cv=\E[%i%dd:dc=\E[P:dl=\E[M:\
-	:do=^J:ds=\E[40l:eA=\E)0:ec=\E[%dX:ei=\E[4l:\
-	:fs=\E[1;24r\E8:ho=\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Ow:K2=\EOu:K3=\EOy:\
+	:K4=\EOq:K5=\EOs:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:\
+	:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\E[3~:\
+	:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:kh=\E[26~:\
+	:kl=\E[D:kr=\E[C:ku=\E[A:l1=PF1:l2=PF2:l3=PF3:l4=PF4:\
+	:tc=wy370-nk:
 #
 #	Function key set for the PC compatible keyboard
 #
 wy370-EPC|Wyse 370 with 102 key keyboard:\
-	:5i:am:cc:hs:mi:ms:xn:xo:\
-	:Co#64:NC#48:co#80:it#8:li#24:pa#64:ws#80:\
-	:@7=\E[1~:@8=\EOM:AL=\E[%dL:DC=\E[%dP:DK=\E[31h:DL=\E[%dM:\
-	:DO=\E[%dB:F1=\E[23~:F2=\E[24~:IC=\E[%d@:\
-	:..Ic=\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:\
-	:LE=\E[%dD:RA=\E[?7l:RC=\E[31l:RI=\E[%dC:SA=\E[?7h:\
-	:Sb=\E[62;%dw:Sf=\E[61;%dw:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:ch=\E[%i%d`:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
-	:cs=\E[%i%d;%dr:ct=\E[3g:cv=\E[%i%dd:dc=\E[P:dl=\E[M:\
-	:do=^J:ds=\E[40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~:\
-	:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kA=\EOP:kB=\E[Z:\
-	:kD=\EOQ:kI=\EOP:kL=\EOQ:kN=\E[U:kP=\E[V:kb=^H:kd=\E[B:\
-	:ke=\E>:kh=\E[H:kl=\E[D:kr=\E[C:ks=\E[?1l\E=:ku=\E[A:le=^H:\
-	:mb=\E[5m:md=\E[1m:me=\E[m\017:mh=\E[2m:mk=\E[8m:mr=\E[7m:\
-	:nd=\E[C:\
-	: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:pf=\E[4i:po=\E[5i:ps=\E[0i:\
-	:r1=\E[13l\E[3l\E!p\E[?4i:r2=\E[35h\E[?3h:r3=\E[?5l:\
-	:rc=\E8:\
-	:..sa=\E[0%?%p2%t;4%;%?%p3%p1%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;:\
-	:sc=\E7:se=\E[27m:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=\011:\
-	:te=\E[ R:ti=\E[ Q:ts=\E[40l\E[40h\E7\E[99;%i%dH:\
-	:u0=\E[?38h\E8:u1=\E[?38l\E)0:u2=\E[92;52"p:u3=\E~B:\
-	:u4=\E[92;76"p:..u5=\E%!1\E[90;1"p:ue=\E[24m:up=\E[A:\
-	:us=\E[4m:vb=\E[30h\E,\E[30l:ve=\E[34h\E[?25h:\
-	:vi=\E[?25l:vs=\E[?25h\E[34l:
+	:co#132:ws#132:\
+	:rs=\E[35h\E[?3h:tc=wy370:
 #
 #	Wyse 370 in 132-column mode with visual bell.
 wy370-wvb|Wyse 370 with visible bell 132-columns:\
-	:5i:am:cc:hs:mi:ms:xn:xo:\
-	:Co#64:NC#48:co#132:it#8:li#24:pa#64:ws#132:\
-	:@8=\EOM:AL=\E[%dL:DC=\E[%dP:DK=\E[31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[?1l\E=:ku=\E[A:le=^H:\
-	:mb=\E[5m:md=\E[1m:me=\E[m\017:mh=\E[2m:mk=\E[8m:mr=\E[7m:\
-	:nd=\E[C:\
-	: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:pf=\E[4i:po=\E[5i:ps=\E[0i:\
-	:r1=\E[13l\E[3l\E!p\E[?4i:r2=\E[35h\E[?3h:r3=\E[?5l:\
-	:rc=\E8:\
-	:..sa=\E[0%?%p2%t;4%;%?%p3%p1%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;:\
-	:sc=\E7:se=\E[27m:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=\011:\
-	:te=\E[ R:ti=\E[ Q:ts=\E[40l\E[40h\E7\E[99;%i%dH:\
-	:u0=\E[?38h\E8:u1=\E[?38l\E)0:u2=\E[92;52"p:u3=\E~B:\
-	:u4=\E[92;76"p:..u5=\E%!1\E[90;1"p:ue=\E[24m:up=\E[A:\
-	:us=\E[4m:vb=\E[30h\E,\E[30l:ve=\E[34h\E[?25h:\
-	:vi=\E[?25l:vs=\E[?25h\E[34l:
+	:vb=\E[30h\E,\E[30l:tc=wy370-w:
 wy370-rv|Wyse 370 reverse video:\
-	:5i:am:cc:hs:mi:ms:xn:xo:\
-	:Co#64:NC#48:co#80:it#8:li#24:pa#64:ws#80:\
-	:@8=\EOM:AL=\E[%dL:DC=\E[%dP:DK=\E[31h:DL=\E[%dM:\
-	:DO=\E[%dB:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
-	:F5=\E[28~:F6=\E[29~:IC=\E[%d@:\
-	:..Ic=\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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ps=\E[0i:\
-	:r1=\E[13l\E[3l\E!p\E[?4i:r2=\E[35h\E[?3l:\
-	:r3=\E[32h\E[?5h:rc=\E8:\
-	:..sa=\E[0%?%p2%t;4%;%?%p3%p1%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;:\
-	:sc=\E7:se=\E[27m:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=\011:\
-	:te=\E[ R:ti=\E[ Q:ts=\E[40l\E[40h\E7\E[99;%i%dH:\
-	:u0=\E[?38h\E8:u1=\E[?38l\E)0:u2=\E[92;52"p:u3=\E~B:\
-	:u4=\E[92;76"p:..u5=\E%!1\E[90;1"p:ue=\E[24m:up=\E[A:\
-	:us=\E[4m:vb=\E[30h\E,\E[30l:ve=\E[34h\E[?25h:\
-	:vi=\E[?25l:vs=\E[?25h\E[34l:
+	:r3=\E[32h\E[?5h:tc=wy370:
 #
 #	Wyse 99gt Tektronix 4010/4014 emulator,
 #
@@ -9308,15 +6599,8 @@
 #	Wyse 160 Tektronix 4010/4014 emulator,
 #
 wy160-tek|Wyse 160 Tektronix 4010/4014 emulator:\
-	:am:os:\
-	:co#74:li#35:\
-	:bl=^G:cl=\E^L:\
 	:..cm=\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:\
-	:cr=^M:do=^J:ff=^L:\
-	:hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037:\
-	:ho=^]8`g @\037:\
-	:hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037:\
-	:is=\E8:le=^H:nd=\s:nw=^M^J:u0=\E~>\E8:u1=\E[42h:up=^K:
+	:ho=^]8`g @\037:tc=wy99gt-tek:
 #
 #	Wyse 370 Tektronix 4010/4014 emulator,
 #
@@ -9334,128 +6618,6 @@
 
 # Vendor-supplied Wyse entries end here.
 
-# Can't set tabs! Other bugs (ANSI mode only):
-# - can't redefine function keys (anyway, key redefinition in ANSI mode
-#   is too much complex to be described);
-# - meta key can't be described (the terminal forgets it when reset);
-# The xon-xoff handshaking can't be disabled while in ansi personality, so
-# emacs can't work at speed greater than 9600 baud.  No padding is needed at
-# this speed.
-#   dch1 has been commented out because it causes annoying glittering when
-# vi deletes one character at the beginning of a line with tabs in it.
-#   dch makes sysgen(1M) have a horrible behaviour when deleting
-# a screen and makes screen(1) behave badly, so it is disabled too. The nice
-# thing is that vi goes crazy if smir-rmir are present and both dch-dch1 are
-# not, so smir and rmir are commented out as well.
-# From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
-wy99-ansi|Wyse WY-99GT in ansi mode (int'l PC keyboard):\
-	:5i:am:km:mi:ms:xn:\
-	:co#80:it#8:li#25:vt#3:\
-	:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:\
-	:F7=\E[K:F8=\E[31~:F9=\E[32~:FA=\E[33~:FB=\E[34~:\
-	:FC=\E[35~:FD=\E[1~:FE=\E[2~:IC=\E[%d@:LE=\E[%dD:\
-	:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooqqssttuuvvwwxx{{||}}~~:ae=^O:\
-	:al=\E[L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:ch=\E[%i%dG:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
-	:cs=\E[%i%d;%dr:cv=\E[%i%dd:dl=\E[M:do=\ED:eA=\E)0:\
-	:ec=\E[%dX:ei=\E[4l:ho=\E[H:im=\E[4h:\
-	:is=\E7\E[1r\E8\E[2;3;4;13;20;34;39;36l\E[12;16;34h\E[?1;3;4;5;10;18l\E[?7;8;25h\E>\E[?5W\E(B\017\E[4i:\
-	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[M:k6=\E[17~:\
-	:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kB=\E[z:kb=^H:\
-	:kd=\EOB:ke=\E[?1l:kl=\EOD:kr=\EOC:ks=\E[?1h:ku=\EOA:\
-	:le=\010:ll=\E[24E:mb=\E[5m:md=\E[1m:me=\E[m\017\E["q:\
-	:mh=\E[2m:mk=\E[8m:mp=\E[1"q:mr=\E[7m:nd=\E[C:nw=\EE:\
-	:pf=\E[4i:po=\E[5i:ps=\E[?19h:rc=\E8:\
-	:rs=\E[61"p\E[40h\E[?6l\E[1r\E[2;3;4;13;20;34;39;36l\E[12;16;34h\E[?1;3;4;5;10;18l\E[?7;8;25h\E>\E[?5W\E(B\017\E[24E\E[4i:\
-	:..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%O%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p7%t;8%;m\E[%?%p8%t1%;"q%?%p9%t\016%e\017%;:\
-	:sc=\E7:se=\E[27m:sf=\n:so=\E[7m:sr=\EM:ta=^I:ue=\E[24m:\
-	:up=\EM:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[34h\E[?25h:\
-	:vi=\E[?25l:vs=\E[34l\E[?25h:
-
-#   This is the american terminal. Here tabs work fine.
-# From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
-wy99a-ansi|Wyse WY-99GT in ansi mode (US PC keyboard):\
-	:5i:am:km:mi:ms:xn:\
-	:co#80:it#8:li#25:vt#3:\
-	:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:\
-	:F7=\E[K:F8=\E[31~:F9=\E[32~:FA=\E[33~:FB=\E[34~:\
-	:FC=\E[35~:FD=\E[1~:FE=\E[2~:IC=\E[%d@:LE=\E[%dD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[24m:up=\EM:us=\E[4m:vb=\E[?5h\E[?5l:\
-	:ve=\E[34h\E[?25h:vi=\E[?25l:vs=\E[34l\E[?25h:
-
-# This terminal (firmware version 02) has a lot of bugs:
-# - can't set tabs;
-# - other bugs in ANSI modes (see above).
-# This description disables handshaking when using cup. This is because
-# GNU emacs doesn't like Xon-Xoff handshaking. This means the terminal
-# cannot be used at speeds greater than 9600 baud, because at greater
-# speeds handshaking is needed even for character sending. If you use
-# DTR handshaking, you can use even greater speeds.
-# From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
-wy99f|wy99fgt|wy-99fgt|Wyse WY-99GT (int'l PC keyboard):\
-	:5i:am:bw:hs:km:mi:ms:xo:\
-	:co#80:it#8:li#25:ws#46:\
-	:%9=\EP:F1=^AJ\r:F2=^AK\r:F3=^A`\r:F4=^Aa\r:F5=^Ab\r:\
-	:F6=^Ac\r:F7=^Ad\r:F8=^Ae\r:F9=^Af\r:FA=^Ag\r:FB=^Ah\r:\
-	:FC=^Ai\r:FD=^Aj\r:FE=^Ak\r:K1=^^:K3=\EJ:K4=\ET:K5=\EK:\
-	:RA=\Ed.:RX=\Ec20\Ec30:SA=\Ed/:SX=\Ec21\Ec31:\
-	:ac=+y'x.wI~_vj(k'l&m%n)o9q*s8t-u.v,w+x=:ae=\EcD:\
-	:al=\EE:as=\EcE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E'\E(\032:\
-	:cm=\E=%+ %+ :cr=^M:dc=\EW:dl=\ER:do=\Ej:ds=\EF\r:\
-	:eA=\Ec@1J:ei=\Er:fs=^M:ho=^^:im=\Eq:\
-	:is=\Eu\Ee6\EC\EDF\Ec21\Ec31\Ec62\Ec72\Ee;\016\E'\EeL\E`9\E^0\E`1\E`4\Ee.\E`\:\Ee1\EG0\E(\Ed/\Ee4\Ed*\EO\E`I\Er\Ee"\EcD\024:\
-	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\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@@ -9483,158 +6645,48 @@
 #         keypad in Dec application mode which doesn't seem to work
 #         with SCO applications.
 #
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
+# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 wy520|wyse520|wyse 520:\
-	:5i:am:hs:km:mi:xn:xo:\
+	:am:hs:km:mi:xn:xo:\
 	:co#80:it#8:li#24:ws#80:\
-	:%1=\E[28~:*6=\E[4~:@0=\E[1~:@8=\EOM:AL=\E[%dL:DC=\E[%dP:\
-	:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:F3=\E[25~:\
-	:F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:\
-	:F9=\E[33~:FA=\E[34~:IC=\E[%d@:K1=\EOw:K2=\EOy:K3=\EOu:\
-	:K4=\EOq:K5=\EOs:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
-	:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:ch=\E[%i%d`:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
-	:cs=\E[%i%d;%dr:ct=\E[3g:cv=\E[%i%dd:dc=\E[P:dl=\E[M:\
-	:do=^J:ds=\E[0$~:eA=\E)0:ec=\E[%dX:ei=\E[4l:fs=\E[0$}:\
-	:ho=\E[H:i1=\E[?5W:i2=\E>\E(B\E)0\017\E[m:im=\E[4h:ip=:\
+	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
+	:K1=\EOw:K2=\EOy:K3=\EOu:K4=\EOq:K5=\EOs:LE=\E[%dD:\
+	:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^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H:kd=\E[B:kh=\E[26~:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
+	:mb=\E[5m:md=\E[1m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:\
+	:rc=\E8:sc=\E7:se=\E[m:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
+	:te=\E[ R:ti=\E[ Q\E[?67;8h:ts=\E[2$~\E[1$}\E[%i%d`:\
+	:ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[34h\E[?25h:vi=\E[?25l:\
 	:vs=\E[?25h\E[34l:
 #
 #       Wyse 520 with 24 data lines and status (terminal status)
 wy520-24|wyse520-24|wyse 520 with 24 data lines:\
-	:5i:am:km:mi:xn:xo:\
-	:co#80:it#8:li#24:ws#80:\
-	:%1=\E[28~:*6=\E[4~:@0=\E[1~:@8=\EOM:AL=\E[%dL:DC=\E[%dP:\
-	:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:F3=\E[25~:\
-	:F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:\
-	:F9=\E[33~:FA=\E[34~:IC=\E[%d@:K1=\EOw:K2=\EOy:K3=\EOu:\
-	:K4=\EOq:K5=\EOs:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
-	:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:ch=\E[%i%d`:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
-	:cs=\E[%i%d;%dr:ct=\E[3g:cv=\E[%i%dd:dc=\E[P:dl=\E[M:\
-	:do=^J:eA=\E)0:ec=\E[%dX:ei=\E[4l:ho=\E[H:i1=\E[?5W:\
-	:i2=\E>\E(B\E)0\017\E[m:im=\E[4h:ip=:\
-	:is=\E[2;4;20;30l\E[?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?%p9%t\016%e\017%;:\
-	:sc=\E7:se=\E[m:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=^I:te=\E[ R:\
-	:ti=\E[ Q\E[?67;8h:ts=\E[2$~\E[1$}\E[%i%d`:ue=\E[24m:\
-	:up=\E[A:us=\E[4m:vb=\E[30h\E,\E[30l:ve=\E[34h\E[?25h:\
-	:vi=\E[?25l:vs=\E[?25h\E[34l:
+	:vb=\E[30h\E,\E[30l:tc=wy520:
 #
 #       Wyse 520 in 132-column mode.
 wy520-w|wyse520-w|wyse 520 in 132-column mode:\
-	:5i:am:hs:km:mi:xn:xo:\
-	:co#132:it#8:li#24:ws#132:\
-	:%1=\E[28~:*6=\E[4~:@0=\E[1~:@8=\EOM:AL=\E[%dL:DC=\E[%dP:\
-	:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:F3=\E[25~:\
-	:F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:\
-	:F9=\E[33~:FA=\E[34~:IC=\E[%d@:K1=\EOw:K2=\EOy:K3=\EOu:\
-	:K4=\EOq:K5=\EOs:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
-	:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:ch=\E[%i%d`:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
-	:cs=\E[%i%d;%dr:ct=\E[3g:cv=\E[%i%dd:dc=\E[P:dl=\E[M:\
-	:do=^J:ds=\E[0$~:eA=\E)0:ec=\E[%dX:ei=\E[4l:fs=\E[0$}:\
-	:ho=\E[H:i1=\E[?5W:i2=\E>\E(B\E)0\017\E[m:im=\E[4h:ip=:\
-	:is=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25;67h:\
-	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
-	:k8=\E[19~:k9=\E[20~:k;=\E[21~:kB=\E[Z:kD=\E[3~:kE=\E[4~:\
-	:kI=\E[2~:kN=\E[6~:kP=\E[5~:kS=\E[1~:kb=^H:kd=\E[B:\
-	:kh=\E[26~:kl=\E[D:kr=\E[C:ku=\E[A:l1=PF1:l2=PF2:l3=PF3:\
-	:l4=PF4:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:mh=\E[2m:\
-	:mk=\E[8m:mr=\E[7m:nd=\E[C:pf=\E[4i:po=\E[5i:ps=\E[0i:\
-	:r1=\E[13l\E[3l\E\\\E[63;1"p\E[!p:r2=\E[35h\E[?3h:\
-	:r3=\E[?5l\E[47h\E[40l\E[r:rc=\E8:\
-	:..sa=\E[0%?%p2%t;4%;%?%p3%p1%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;:\
-	:sc=\E7:se=\E[m:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=^I:te=\E[ R:\
-	:ti=\E[ Q\E[?67;8h:ts=\E[2$~\E[1$}\E[%i%d`:ue=\E[24m:\
-	:up=\E[A:us=\E[4m:ve=\E[34h\E[?25h:vi=\E[?25l:\
-	:vs=\E[?25h\E[34l:
+	:co#132:ws#132:\
+	:DC=\E[%dP:IC=\E[%d@:dc=\E[P:ei=:im=:ip=:rs=\E[35h\E[?3h:\
+	:tc=wy520:
 #
 #       Wyse 520 in 132-column mode with visual bell.
 wy520-wvb|wyse520-wvb|wyse 520 with visible bell 132-columns:\
-	:5i:am:hs:km:mi:xn:xo:\
-	:co#132:it#8:li#24:ws#132:\
-	:%1=\E[28~:*6=\E[4~:@0=\E[1~:@8=\EOM:AL=\E[%dL:DC=\E[%dP:\
-	:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:F3=\E[25~:\
-	:F4=\E[26~:F5=\E[28~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t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;:\
-	:sc=\E7:se=\E[m:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=^I:te=\E[ R:\
-	:ti=\E[ Q\E[?67;8h:ts=\E[2$~\E[1$}\E[%i%d`:ue=\E[24m:\
-	:up=\E[A:us=\E[4m:vb=\E[30h\E,\E[30l:ve=\E[34h\E[?25h:\
-	:vi=\E[?25l:vs=\E[?25h\E[34l:
+	:vb=\E[30h\E,\E[30l:tc=wy520-w:
 #
 #
 #       Wyse 520 emulating a vt420 7 bit mode.
@@ -9647,408 +6699,85 @@
 #                  to CTRL-C: stty intr '^c') for it to work since the
 #                  Delete key sends 7FH.
 wy520-epc|wyse520-epc|wyse 520 with EPC keyboard:\
-	:5i:am:hs:km:mi:xn:xo:\
-	:co#80:it#8:li#24:ws#80:\
-	:%1=\E[28~:*6=\E[4~:@0=\E[1~:@7=\E[4~:@8=\EOM:AL=\E[%dL:\
-	:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:\
-	:F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:\
-	:F8=\E[32~:F9=\E[33~:FA=\E[34~:IC=\E[%d@:K1=\EOw:K2=\EOy:\
-	:K3=\EOu:K4=\EOq:K5=\EOs:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:\
-	:SA=\E[?7h:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:ch=\E[%i%d`:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
-	:cs=\E[%i%d;%dr:ct=\E[3g:cv=\E[%i%dd:dc=\E[P:dl=\E[M:\
-	:do=^J:ds=\E[0$~:eA=\E)0:ec=\E[%dX:ei=\E[4l:fs=\E[0$}:\
-	:ho=\E[H:i1=\E[?5W:i2=\E>\E(B\E)0\017\E[m:im=\E[4h:ip=:\
-	:is=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25;67h:\
-	:k0=\E[21~:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:\
-	:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
-	:k;=\E[21~:kB=\E[Z:kD=\177:kE=\E[4~:kI=\E[2~:kN=\E[6~:\
-	:kP=\E[5~:kS=\E[1~:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:\
-	:ku=\E[A:l1=PF1:l2=PF2:l3=PF3:l4=PF4:le=^H:mb=\E[5m:\
-	:md=\E[1m:me=\E[m\017:mh=\E[2m:mk=\E[8m:mr=\E[7m:nd=\E[C:\
-	:pf=\E[4i:po=\E[5i:ps=\E[0i:\
-	:r1=\E[13l\E[3l\E\\\E[63;1"p\E[!p:r2=\E[35h\E[?3l:\
-	:r3=\E[?5l\E[47h\E[40l\E[r:rc=\E8:\
-	:..sa=\E[0%?%p2%t;4%;%?%p3%p1%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;:\
-	:sc=\E7:se=\E[m:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=^I:te=\E[ R:\
-	:ti=\E[ Q\E[?67;8h:ts=\E[2$~\E[1$}\E[%i%d`:ue=\E[24m:\
-	:up=\E[A:us=\E[4m:ve=\E[34h\E[?25h:vi=\E[?25l:\
-	:vs=\E[?25h\E[34l:
+	:@7=\E[4~:k0=\E[21~:k1=\E[11~:k2=\E[12~:k3=\E[13~:\
+	:k4=\E[14~:k5=\E[15~:kD=\177:kE=\E[4~:kh=\E[H:tc=wy520:
 #
 #       Wyse 520 with 24 data lines and status (terminal status)
 #       with EPC keyboard.
 wy520-epc-24|wyse520-pc-24|wyse 520 with 24 data lines and EPC keyboard:\
-	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:nd=\E[C:\
-	:pf=\E[4i:po=\E[5i:ps=\E[0i:\
-	:r1=\E[13l\E[3l\E\\\E[63;1"p\E[!p:r2=\E[35h\E[?3l:\
-	:r3=\E[?5l\E[47h\E[40l\E[1;24r:rc=\E8:\
-	:..sa=\E[0%?%p2%t;4%;%?%p3%p1%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;:\
-	:sc=\E7:se=\E[m:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=^I:te=\E[ R:\
-	:ti=\E[ Q\E[?67;8h:ue=\E[24m:up=\E[A:us=\E[4m:\
-	:ve=\E[34h\E[?25h:vi=\E[?25l:vs=\E[?25h\E[34l:
+	:hs@:\
+	:ds@:fs@:r3=\E[?5l\E[47h\E[40l\E[1;24r:ts@:tc=wy520-epc:
 #
 #       Wyse 520 with visual bell.
 wy520-epc-vb|wyse520-pc-vb|wyse 520 with visible bell and EPC keyboard:\
-	:5i:am:hs:km:mi:xn:xo:\
-	:co#80:it#8:li#24:ws#80:\
-	:%1=\E[28~:*6=\E[4~:@0=\E[1~:@7=\E[4~:@8=\EOM:AL=\E[%dL:\
-	:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:\
-	:F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:\
-	:F8=\E[32~:F9=\E[33~:FA=\E[34~:IC=\E[%d@:K1=\EOw:K2=\EOy:\
-	:K3=\EOu:K4=\EOq:K5=\EOs:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:\
-	:SA=\E[?7h:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:ch=\E[%i%d`:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
-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^H:mb=\E[5m:\
-	:md=\E[1m:me=\E[m\017:mh=\E[2m:mk=\E[8m:mr=\E[7m:nd=\E[C:\
-	:pf=\E[4i:po=\E[5i:ps=\E[0i:\
-	:r1=\E[13l\E[3l\E\\\E[63;1"p\E[!p:r2=\E[35h\E[?3h:\
-	:r3=\E[?5l\E[47h\E[40l\E[r:rc=\E8:\
-	:..sa=\E[0%?%p2%t;4%;%?%p3%p1%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;:\
-	:sc=\E7:se=\E[m:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=^I:te=\E[ R:\
-	:ti=\E[ Q\E[?67;8h:ts=\E[2$~\E[1$}\E[%i%d`:ue=\E[24m:\
-	:up=\E[A:us=\E[4m:ve=\E[34h\E[?25h:vi=\E[?25l:\
-	:vs=\E[?25h\E[34l:
+	:co#132:ws#132:\
+	:DC=\E[%dP:IC=\E[%d@:dc=\E[P:ei=:im=:ip=:rs=\E[35h\E[?3h:\
+	:tc=wy520-epc:
 #
 #       Wyse 520 in 132-column mode with visual bell.
 wy520-epc-wvb|wyse520-p-wvb|wyse 520 with visible bell 132-columns and EPC keyboard:\
-	:5i:am:hs:km:mi:xn:xo:\
-	:co#132:it#8:li#24:ws#132:\
-	:%1=\E[28~:*6=\E[4~:@0=\E[1~:@7=\E[4~:@8=\EOM:AL=\E[%dL:\
-	:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:\
-	:F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:\
-	:F8=\E[32~:F9=\E[33~:FA=\E[34~:IC=\E[%d@:K1=\EOw:K2=\EOy:\
-	:K3=\EOu:K4=\EOq:K5=\EOs:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:\
-	:SA=\E[?7h:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz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=\E[26~:kl=\E[D:kr=\E[C:ku=\E[A:l1=PF1:l2=PF2:l3=PF3:\
-	:l4=PF4:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:mh=\E[2m:\
-	:mk=\E[8m:mr=\E[7m:nd=\E[C:pf=\E[4i:po=\E[5i:ps=\E[0i:\
-	:r1=\E[13l\E[3l\E\\\E[63;1"p\E[!p:r2=\E[35h\E[?3l:\
-	:r3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r:rc=\E8:\
-	:..sa=\E[0%?%p2%t;4%;%?%p3%p1%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;:\
-	:sc=\E7:se=\E[m:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=^I:te=\E[ R:\
-	:ti=\E[ Q\E[?67;8h:ue=\E[24m:up=\E[A:us=\E[4m:\
-	:ve=\E[34h\E[?25h:vi=\E[?25l:vs=\E[?25h\E[34l:
+	:hs@:\
+	:li#36:\
+	:ds@:fs@:r3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r:ts@:\
+	:tc=wy520:
 #
 #       Wyse 520 in 80-column, 48 lines
 wy520-48|wyse520-48|wyse 520 with 48 data lines:\
-	:5i:am:km:mi:xn:xo:\
-	:co#80:it#8:li#48:ws#80:\
-	:%1=\E[28~:*6=\E[4~:@0=\E[1~:@8=\EOM:AL=\E[%dL:DC=\E[%dP:\
-	:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:F3=\E[25~:\
-	:F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:\
-	:F9=\E[33~:FA=\E[34~:IC=\E[%d@:K1=\EOw:K2=\EOy:K3=\EOu:\
-	:K4=\EOq:K5=\EOs:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
-	:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{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+	:ds@:fs@:r3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r:ts@:\
+	:tc=wy520:
 #
 #       Wyse 520 in 132-column, 36 lines
 wy520-36w|wyse520-36w|wyse 520 with 132 columns and 36 data lines:\
-	:5i:am:km:mi:xn:xo:\
-	:co#132:it#8:li#36:ws#132:\
-	:%1=\E[28~:*6=\E[4~:@0=\E[1~:@8=\EOM:AL=\E[%dL:DC=\E[%dP:\
-	:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:F3=\E[25~:\
-	:F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:\
-	:F9=\E[33~:FA=\E[34~:IC=\E[%d@:K1=\EOw:K2=\EOy:K3=\EOu:\
-	:K4=\EOq:K5=\EOs:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
-	:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:ch=\E[%i%d`:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
-	:cs=\E[%i%d;%dr:ct=\E[3g:cv=\E[%i%dd:dc=\E[P:dl=\E[M:\
-	:do=^J:eA=\E)0:ec=\E[%dX:ei=\E[4l:ho=\E[H:i1=\E[?5W:\
-	:i2=\E>\E(B\E)0\017\E[m:im=\E[4h:ip=:\
-	:is=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25;67h:\
-	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
-	:k8=\E[19~:k9=\E[20~:k;=\E[21~:kB=\E[Z:kD=\E[3~:kE=\E[4~:\
-	:kI=\E[2~:kN=\E[6~:kP=\E[5~:kS=\E[1~:kb=^H:kd=\E[B:\
-	:kh=\E[26~:kl=\E[D:kr=\E[C:ku=\E[A:l1=PF1:l2=PF2:l3=PF3:\
-	:l4=PF4:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:mh=\E[2m:\
-	:mk=\E[8m:mr=\E[7m:nd=\E[C:pf=\E[4i:po=\E[5i:ps=\E[0i:\
-	:r1=\E[13l\E[3l\E\\\E[63;1"p\E[!p:r2=\E[?3h:\
-	:r3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|:rc=\E8:\
-	:..sa=\E[0%?%p2%t;4%;%?%p3%p1%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;:\
-	:sc=\E7:se=\E[m:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=^I:te=\E[ R:\
-	:ti=\E[ Q\E[?67;8h:ue=\E[24m:up=\E[A:us=\E[4m:\
-	:ve=\E[34h\E[?25h:vi=\E[?25l:vs=\E[?25h\E[34l:
+	:co#132:ws#132:\
+	:r2=\E[?3h:\
+	:r3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|:\
+	:tc=wy520-36:
 #
 #       Wyse 520 in 132-column, 48 lines
 wy520-48w|wyse520-48w|wyse 520 with 48 data lines:\
-	:5i:am:km:mi:xn:xo:\
-	:co#132:it#8:li#48:ws#132:\
-	:%1=\E[28~:*6=\E[4~:@0=\E[1~:@8=\EOM:AL=\E[%dL:DC=\E[%dP:\
-	:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:F3=\E[25~:\
-	:F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:\
-	:F9=\E[33~:FA=\E[34~:IC=\E[%d@:K1=\EOw:K2=\EOy:K3=\EOu:\
-	:K4=\EOq:K5=\EOs:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
-	:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^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3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|:\
+	:tc=wy520-48:
 #
 #
 #       Wyse 520 in 80-column, 36 lines with EPC keyboard
 wy520-36pc|wyse520-36pc|wyse 520 with 36 data lines and EPC keyboard:\
-	:5i:am:km:mi:xn:xo:\
-	:co#80:it#8:li#36:ws#80:\
-	:%1=\E[28~:*6=\E[4~:@0=\E[1~:@7=\E[4~:@8=\EOM:AL=\E[%dL:\
-	:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:\
-	:F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:\
-	:F8=\E[32~:F9=\E[33~:FA=\E[34~:IC=\E[%d@:K1=\EOw:K2=\EOy:\
-	:K3=\EOu:K4=\EOq:K5=\EOs:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:\
-	:SA=\E[?7h:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:ch=\E[%i%d`:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
-	:cs=\E[%i%d;%dr:ct=\E[3g:cv=\E[%i%dd:dc=\E[P:dl=\E[M:\
-	:do=^J:eA=\E)0:ec=\E[%dX:ei=\E[4l:ho=\E[H:i1=\E[?5W:\
-	:i2=\E>\E(B\E)0\017\E[m:im=\E[4h:ip=:\
-	:is=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25;67h:\
-	:k0=\E[21~:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:\
-	:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
-	:k;=\E[21~:kB=\E[Z:kD=\177:kE=\E[4~:kI=\E[2~:kN=\E[6~:\
-	:kP=\E[5~:kS=\E[1~:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:\
-	:ku=\E[A:l1=PF1:l2=PF2:l3=PF3:l4=PF4:le=^H:mb=\E[5m:\
-	:md=\E[1m:me=\E[m\017:mh=\E[2m:mk=\E[8m:mr=\E[7m:nd=\E[C:\
-	:pf=\E[4i:po=\E[5i:ps=\E[0i:\
-	:r1=\E[13l\E[3l\E\\\E[63;1"p\E[!p:r2=\E[35h\E[?3l:\
-	:r3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r:rc=\E8:\
-	:..sa=\E[0%?%p2%t;4%;%?%p3%p1%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;:\
-	:sc=\E7:se=\E[m:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=^I:te=\E[ R:\
-	:ti=\E[ Q\E[?67;8h:ue=\E[24m:up=\E[A:us=\E[4m:\
-	:ve=\E[34h\E[?25h:vi=\E[?25l:vs=\E[?25h\E[34l:
+	:hs@:\
+	:li#36:\
+	:ds@:fs@:r3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r:ts@:\
+	:tc=wy520-epc:
 #
 #       Wyse 520 in 80-column, 48 lines with EPC keyboard
 wy520-48pc|wyse520-48pc|wyse 520 with 48 data lines and EPC keyboard:\
-	:5i:am:km:mi:xn:xo:\
-	:co#80:it#8:li#48:ws#80:\
-	:%1=\E[28~:*6=\E[4~:@0=\E[1~:@7=\E[4~:@8=\EOM:AL=\E[%dL:\
-	:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:\
-	:F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:\
-	:F8=\E[32~:F9=\E[33~:FA=\E[34~:IC=\E[%d@:K1=\EOw:K2=\EOy:\
-	:K3=\EOu:K4=\EOq:K5=\EOs:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:\
-	:SA=\E[?7h:UP=\E[%dA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m:\
-	:ve=\E[34h\E[?25h:vi=\E[?25l:vs=\E[?25h\E[34l:
+	:hs@:\
+	:li#48:\
+	:ds@:fs@:r3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r:ts@:\
+	:tc=wy520-epc:
 #
 #       Wyse 520 in 132-column, 36 lines with EPC keyboard
 wy520-36wpc|wyse520-36wpc|wyse 520 with 36 data lines and EPC keyboard:\
-	:5i:am:km:mi:xn:xo:\
-	:co#132:it#8:li#36:ws#132:\
-	:%1=\E[28~:*6=\E[4~:@0=\E[1~:@7=\E[4~:@8=\EOM:AL=\E[%dL:\
-	:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:\
-	:F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:\
-	:F8=\E[32~:F9=\E[33~:FA=\E[34~:IC=\E[%d@:K1=\EOw:K2=\EOy:\
-	:K3=\EOu:K4=\EOq:K5=\EOs:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:\
-	:SA=\E[?7h:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:ch=\E[%i%d`:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
-	:cs=\E[%i%d;%dr:ct=\E[3g:cv=\E[%i%dd:dc=\E[P:dl=\E[M:\
-	:do=^J:eA=\E)0:ec=\E[%dX:ei=\E[4l:ho=\E[H:i1=\E[?5W:\
-	:i2=\E>\E(B\E)0\017\E[m:im=\E[4h:ip=:\
-	:is=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25;67h:\
-	:k0=\E[21~:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:\
-	:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
-	:k;=\E[21~:kB=\E[Z:kD=\177:kE=\E[4~:kI=\E[2~:kN=\E[6~:\
-	:kP=\E[5~:kS=\E[1~:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:\
-	:ku=\E[A:l1=PF1:l2=PF2:l3=PF3:l4=PF4:le=^H:mb=\E[5m:\
-	:md=\E[1m:me=\E[m\017:mh=\E[2m:mk=\E[8m:mr=\E[7m:nd=\E[C:\
-	:pf=\E[4i:po=\E[5i:ps=\E[0i:\
-	:r1=\E[13l\E[3l\E\\\E[63;1"p\E[!p:r2=\E[?3h:\
-	:r3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|:rc=\E8:\
-	:..sa=\E[0%?%p2%t;4%;%?%p3%p1%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;:\
-	:sc=\E7:se=\E[m:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=^I:te=\E[ R:\
-	:ti=\E[ Q\E[?67;8h:ue=\E[24m:up=\E[A:us=\E[4m:\
-	:ve=\E[34h\E[?25h:vi=\E[?25l:vs=\E[?25h\E[34l:
+	:co#132:ws#132:\
+	:r2=\E[?3h:\
+	:r3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|:\
+	:tc=wy520-36pc:
 #
 #       Wyse 520 in 132-column, 48 lines with EPC keyboard
 wy520-48wpc|wyse520-48wpc|wyse 520 with 48 data lines and EPC keyboard:\
-	:5i:am:km:mi:xn:xo:\
-	:co#132:it#8:li#48:ws#132:\
-	:%1=\E[28~:*6=\E[4~:@0=\E[1~:@7=\E[4~:@8=\EOM:AL=\E[%dL:\
-	:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:\
-	:F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:\
-	:F8=\E[32~:F9=\E[33~:FA=\E[34~:IC=\E[%d@:K1=\EOw:K2=\EO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sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=^I:te=\E[ R:\
-	:ti=\E[ Q\E[?67;8h:ue=\E[24m:up=\E[A:us=\E[4m:\
-	:ve=\E[34h\E[?25h:vi=\E[?25l:vs=\E[?25h\E[34l:
+	:co#132:ws#132:\
+	:r2=\E[?3h:\
+	:r3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|:\
+	:tc=wy520-48pc:
 
 # From: John Gilmore <hoptoad!gnu@lll-crg.arpa>
 # (wyse-vp: removed :if=/usr/share/tabset/wyse-adds:, there's no such
@@ -10063,83 +6792,18 @@
 	:ue=^O:up=^Z:us=^N:
 
 wy75ap|wyse75ap|wy-75ap|wyse-75ap|Wyse WY-75 Applications and Cursor keypad:\
-	:5i:am:hs:mi:ms:xn:xo:\
-	:co#80:li#24:ma#1:pb#1201:ws#78:\
-	:%1=\E[28~:%9=\E[?5i:*6=\E[4~:@0=\E[1~:@8=\EOM:AL=\E[%dL:\
-	:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:\
-	:F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:\
-	:F8=\E[32~:F9=\E[33~:FA=\E[34~:FB=\E[35~:IC=\E[%d@:\
-	:K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
-	:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:ch=\E[%i%dG:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
-	:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
-	:ds=\E[>,\001\001\E[>-\001\001:eA=\E)0:ec=\E[%dX:\
-	:ei=\E[4l:fs=^A:ho=\E[H:\
-	:i1=\E[2;4;20;30l\E[?1;10l\E[12h\E[?7;8;25h:i2=\E[m:\
-	:im=\E[4h:ip=:\
-	:is=\E[1;24r\E[?10;3l\E[?1;25h\E[4l\E[m\E(B\E=:\
-	:k1=\E[?5i:k2=\E[?3i:k3=\E[2i:k4=\E[@:k5=\E[M:k6=\E[17~:\
-	:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kA=\E[L:kE=\E[K:\
-	:kI=\E[@:kL=\E[M:kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:\
-	:ke=10\E[?1l\E>:kh=\EOH:kl=\EOD:kr=\EOC:ks=10\E[?1h\E=:\
-	:ku=\EOA:le=^H:me=\E[m\017:mh=\E[0t\E[2m:mr=\E[1t\E[7m:\
-	:nd=\E[C:pf=\E[4i:po=\E[5i:ps=\E[0i:r1=\E[13l\E[3l\E!p:\
-	:r2=\E[35h\E[?3l:r3=\E[?5l:rc=\E8:\
-	:..sa=%?%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%;:\
-	:sc=\E7:se=\E[m:sf=\n:so=\E[1t\E[7m:sr=\EM:st=\EH:ta=^I:\
-	:ts=\E[>,\001:ue=\E[m:up=\E[A:us=\E[2t\E[4m:\
-	:vb=\E[30h\E,\E[30l:ve=\E[?25h:vi=\E[?25l:
-
-# From: Kevin Turner <kevint@aracnet.com>, 12 Jul 1998
-# This copes with an apparent firmware bug in the wy85.  He writes:
-# "What I did was change leave the terminal cursor keys set to Normal
-# (instead of application), and change \E[ to \233 for all the keys in
-# terminfo. At one point, I found some reference indicating that this
-# terminal bug (not sending \E[) was acknowledged by Wyse (so it's not just
-# me), but I can't find that and the server under my bookmark to "Wyse 
-# Technical" isn't responding.  So there's the question of wether the wy85
-# terminfo should reflect the manufactuer's intended behaviour of the terminal
-# or the actual."
-wy85-8bit|wyse85-8bit|wyse 85 in 8-bit mode:\
-	:5i:am:hs:mi:ms:xn:xo:\
-	:co#80:it#8:li#24:ws#80:\
-	:%1=\23328~:*6=\2334~:@0=\2331~:@8=\EOM:AL=\E[%dL:\
-	:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\23323~:F2=\23324~:\
-	:F3=\23325~:F4=\23326~:F5=\23328~:F6=\23329~:F7=\23331~:\
-	:F8=\23332~:F9=\23333~:FA=\23334~:IC=\E[%d@:K1=\EOw:\
-	:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:RA=\E[?7l:\
-	:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
-	:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ds=\E[40l:eA=\E)0:\
-	:ec=\E[%dX:ei=\E[4l:fs=\E[1;24r\E8:ho=\E[H:\
-	:i1=\E[62;1"p\E[?5W:i2=\E>\E(B\E)0\017\E[m:im=\E[4h:ip=:\
-	:is=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h:\
-	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\23317~:k7=\23318~:\
-	:k8=\23319~:k9=\23320~:k;=\23321~:kD=\2333~:kI=\2332~:\
-	:kN=\2336~:kP=\2335~:kb=^H:kd=\233B:ke=\E>:kh=\23326~:\
-	:kl=\233D:kr=\233C:ks=\E[?1l\E=:ku=\233A:l1=PF1:l2=PF2:\
-	:l3=PF3:l4=PF4:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:\
-	:mh=\E[2m:mk=\E[8m:mr=\E[7m:nd=\E[C:pf=\E[4i:po=\E[5i:\
-	:ps=\E[0i:r1=\E[13l\E[3l\E!p:r2=\E[35h\E[?3l:r3=\E[?5l:\
-	:rc=\E8:\
-	:..sa=\E[0%?%p2%t;4%;%?%p3%p1%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;+m%?%p9%t\016%e\017%;:\
-	:sc=\E7:se=\E[m:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=\011:\
-	:ts=\E[40h\E7\E[25;%i%dH:ue=\E[m:up=\E[A:us=\E[4m:\
-	:vb=\E[30h\E,\E[30l:ve=\E[?25h:vi=\E[?25l:
+	:is=\E[1;24r\E[?10;3l\E[?1;25h\E[4l\E[m\E(B\E=:kb=^H:\
+	:kd=\EOB:ke=10\E[?1l\E>:kh=\EOH:kl=\EOD:kr=\EOC:\
+	:ks=10\E[?1h\E=:ku=\EOA:tc=wy75:
 
 # From: Eric Freudenthal <freudent@eric.ultra.nyu.edu>
 wy100q|Wyse 100 for Quotron:\
 	:bs:\
-	:co#80:li#24:sg#1:ug#1:\
+	:co#80:li#24:sg#1:\
 	:al=\EE:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :dc=\EW:\
 	:dl=\ER:do=^J:ei=\Er:ho=^^:im=\Eq:\
 	:is=\E`\:\0\EC\EDF\E0\E'\E(\EA21:kd=^J:kl=^H:kr=^L:ku=^K:\
-	:le=^H:me=\EG0:mr=\EG4:nd=^L:se=\EG0:so=\EG4:sr=\Ej:ue=\EG0:\
-	:up=^K:us=\EG8:
+	:le=^H:mk@:nd=^L:sr=\Ej:up=^K:tc=adm+sgr:
 
 #### Kermit terminal emulations
 #
@@ -10158,22 +6822,19 @@
 	:is=K0 Standard Kermit  9-25-84\n:kd=^J:kh=^^:kl=^H:\
 	:kr=^L:ku=^K:le=^H:nd=\EC:up=\EA:
 kermit-am|standard kermit plus auto-margin:\
-	:am:bs:\
-	:co#80:li#24:\
-	:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :ho=\EH:\
-	:is=K1 Standard Kermit plus Automatic Margins\n:kd=^J:\
-	:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:nd=\EC:up=\EA:
+	:am:\
+	:is=K1 Standard Kermit plus Automatic Margins\n:\
+	:tc=kermit:
 # IBMPC Kermit 1.2.
 # Bugs: :cd:, :ce:: do not work except at beginning of line!  :cl: does
 # not work, but fake with :cl=\EH\EJ (since :cd=\EJ: works at beginning of
 # line).
 # From: greg small <gts@populi.berkeley.edu> 8-30-84
 pckermit|pckermit12|UCB IBMPC Kermit 1.2:\
-	:am:bs:\
-	:co#80:li#25:\
-	:cl=\EH\EJ:cm=\EY%+ %+ :ho=\EH:\
-	:is=K2 UCB IBMPC Kermit 1.2  8-30-84\n:kd=^J:kh=^^:\
-	:kl=^H:kr=^L:ku=^K:le=^H:nd=\EC:up=\EA:
+	:am:\
+	:li#25:\
+	:cd@:ce@:cl=\EH\EJ:\
+	:is=K2 UCB IBMPC Kermit 1.2  8-30-84\n:tc=kermit:
 # IBMPC Kermit 1.20
 # Cannot use line 25, now acts funny like ansi special scrolling region.
 # Initialization must escape from that region by cursor position to line 24.
@@ -10181,13 +6842,10 @@
 # Does not use :am: because autowrap is lost when kermit dropped and restarted.
 # From: greg small <gts@populi.berkeley.edu> 12-19-84
 pckermit120|UCB IBMPC Kermit 1.20:\
-	:bs:\
-	:co#80:it#8:li#24:\
-	:al=\EL:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :dc=\EN:dl=\EM:\
-	:do=\EB:ho=\EH:\
+	:it#8:li#24:\
+	:al=\EL:dc=\EN:dl=\EM:do=\EB:ei@:im@:\
 	:is=\EO\Eq\EJ\EY7 K3 UCB IBMPC Kermit 1.20  12-19-84\n:\
-	:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:nd=\EC:se=\Eq:so=\Ep:\
-	:ta=^I:up=\EA:vs=\EO\Eq\EEK3:
+	:se=\Eq:so=\Ep:ta=^I:vs=\EO\Eq\EEK3:tc=kermit:
 # MS-DOS Kermit 2.27 for the IBMPC
 # Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
 # Cannot use line 25, now acts funny like ansi special scrolling region.
@@ -10197,7 +6855,7 @@
 # (msk227: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
 # From: greg small <gts@populi.berkeley.edu> 3-17-85
 msk227|mskermit227|MS-DOS Kermit 2.27 for the IBMPC:\
-	:bs:\
+	:am@:bs:\
 	:co#80:it#8:li#24:\
 	:al=\EL:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :dc=\EN:dl=\EM:\
 	:do=\EB:ei=\EO:ho=\EH:im=\E@:\
@@ -10207,51 +6865,42 @@
 # MS-DOS Kermit 2.27 with automatic margins
 # From:	greg small <gts@populi.berkeley.edu> 3-17-85
 msk227am|mskermit227am|UCB MS-DOS Kermit 2.27 with automatic margins:\
-	:am:bs:\
-	:co#80:it#8:li#24:\
-	:al=\EL:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :dc=\EN:dl=\EM:\
-	:do=\EB:ei=\EO:ho=\EH:im=\E@:\
+	:am:\
 	:is=\EO\Eq\EG\Ev\EJ\EY7 K5 MS Kermit 2.27 +automatic margins 3-17-85\n:\
-	:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:nd=\EC:rc=\Ek:sc=\Ej:\
-	:se=\Eq:so=\Ep:ta=^I:up=\EA:vs=\EO\Eq\EG\EvK5:
+	:vs=\EO\Eq\EG\EvK5:tc=msk227:
 # MS-DOS Kermit 2.27 UCB 227.14 for the IBM PC
 # Automatic margins now default.  Use ansi :sa: for highlights.
 # Define function keys.
 # (msk22714: removed obsolete ":kn#10:" -- esr)
 # From: greg small <gts@populi.berkeley.edu> 3-17-85
 msk22714|mskermit22714|UCB MS-DOS Kermit 2.27 UCB 227.14 IBM PC:\
-	:am:bs:\
-	:co#80:it#8:li#24:\
-	:al=\EL:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :dc=\EN:dl=\EM:\
-	:do=\EB:ei=\EO:ho=\EH:im=\E@:\
+	:am:\
 	:is=\EO\Eq\EG\Ev\EJ\EY7 K6 MS Kermit 2.27 UCB 227.14 IBM PC 3-17-85\n:\
 	:k0=\E0:k1=\E1:k2=\E2:k3=\E3:k4=\E4:k5=\E5:k6=\E6:k7=\E7:\
-	:k8=\E8:k9=\E9:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:md=\E[1m:\
-	:me=\E[m:mr=\E[7m:nd=\EC:rc=\Ek:sc=\Ej:se=\E[m:so=\E[1m:\
-	:ta=^I:ue=\E[m:up=\EA:us=\E[4m:vs=\EO\Eq\EG\EvK6:
+	:k8=\E8:k9=\E9:md=\E[1m:me=\E[m:mr=\E[7m:se=\E[m:so=\E[1m:\
+	:ue=\E[m:us=\E[4m:vs=\EO\Eq\EG\EvK6:tc=mskermit227:
 # This was designed for a VT320 emulator, but it is probably a good start
 # at support for the VT320 itself.
 # Please send changes with explanations to bug-gnu-emacs@prep.ai.mit.edu.
 # (vt320-k3: I added <rmam>/<smam> based on the init string -- esr)
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
+# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 vt320-k3|MS-Kermit 3.00's vt320 emulation:\
 	:am:es:hs:km:mi:ms:xn:\
 	:co#80:it#8:li#49:pb#9600:vt#3:\
 	:AL=\E[%dL:CC=\E:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
-	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:SR=\E[%dL:\
-	:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:ce=\E[K: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\E[C:nw=^M^J:rc=\E8:\
+	:sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
 	:ts=\E[1$}\r\E[K:ue=\E[24m:up=\E[A:us=\E[4m:\
 	:vb=\E[?5h\E[?5l\E[?5h\E[?5l\E[?5h\E[?5l:ve=\E[?25h:\
 	:vi=\E[?25l:
@@ -10278,13 +6927,145 @@
 	:ts=\E[2$~\E[1$}\E[1;%dH:ue=\E[24m:up=\E[A:us=\E[4m:\
 	:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
 
-#
-######## ---------------- TERMINFO FILE CAN BE SPLIT HERE -------------------
-# This cut mark helps make life less painful for people running ncurses tic
-# on machines with relatively little RAM.  The file can be broken in half here
-# cleanly and compiled in sections -- no `use' references cross this cut
-# going forward.
-#
+######## NON-ANSI TERMINAL EMULATIONS
+#
+
+#### Avatar
+#
+# These entries attempt to describe Avatar, a terminal emulation used with
+# MS-DOS bulletin-board systems.  It was designed to give ANSI-like
+# capabilities, but with cheaper (shorter) control sequences.  Messy design,
+# excessively dependent on PC idiosyncracies, but apparently rather popular
+# in the BBS world.
+#
+# No color support.  Avatar doesn't fit either of the Tektronix or HP color
+# models that terminfo knows about.  An Avatar color attribute is the
+# low 7 bits of the IBM-PC display-memory attribute.  Bletch.
+#
+# I wrote these entries while looking at the Avatar spec.  I don't have
+# the facilities to test them.  Let me know if they work, or don't.
+#
+# Avatar escapes not used by these entries (because maybe you're smarter
+# and more motivated than I am and can figure out how to wrap terminfo
+# around some of them, and because they are weird enough to be funny):
+#				level 0:
+# ^L		-- clear window/reset current attribute to default
+# ^V^A%p1%c	-- set current color attribute, parameter decodes as follows:
+# 
+#      bit:         6   5   4   3   2   1   0
+#                   |       |   |   |       |
+#                   +---+---+   |   +---+---+
+#                       |       |       |
+#                       |       |  foreground color
+#                       |  foreground intensity
+#                  background color
+#				level 0+:
+# ^V^J%p1%c%p2%c%p3%c%p4%c%p5%c	-- scroll (p2,p3) to (p4,p5) up by p1 lines
+# ^V^K%p1%c%p2%c%p3%c%p4%c%p5%c	-- scroll (p2,p3) to (p4,p5) down by p1 lines
+# ^V^L%p1%c%p2%c%p3%c		-- clear p2 lines and p3 cols w/attr %p1 
+# ^V^M%p1%c%p2%c%p3%c%p4%c	-- fill p3 lines & p4 cols w/char p2+attr %p1 
+# (^V^L and ^V^M set the current attribute as a side-effect.)
+# ^V ^Y <a> [...] <c>	-- repeat pattern. <a> specifies the number of bytes
+#			   in the pattern, <c> the number of times the pattern
+#		  	   should be repeated. If either value is 0, no-op.
+#			   The pattern can contain Avatar console codes,
+#			   including other ^V ^Y patterns.
+#				level 1:
+# ^V^O		-- clockwise mode on; turn print direction right each time you
+#		   hit a window edge (yes, really).  Turned off by CR
+# ^V^P		-- no-op
+# ^V^Q%c	-- query the driver
+# ^V^R		-- driver reset
+# ^V^S		-- Sound tone (PC-specific)
+# ^V^T			-- change highlight at current cursor poition to %c
+# ^V^U%p1%c%p2%c	-- highlight window <a> with attribute <b>
+# ^V^V%p1%c%p2%c%p3%c%p4%c%p5%c
+#			-- define window 
+#
+# From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
+# (The :mb:/:md:/:mr:/:as:/:us:/:so: capabilities exist only to
+# tell ncurses that the corresponding highlights exist; it should use :sa:,
+# which is the only method that will actually work for multiple highlights.)
+avatar0|avatar terminal emulator level 0:\
+	:am:ms:ut:\
+	:co#80:it#8:li#25:\
+	:as=:ce=^V^G:cm=\026\010%.%.:cr=^M:do=^V^D:le=^V^E:\
+	:mb=^A^V\177:md=^V^A^P:me=^V^A^G:mk=^V^A\0:mr=^A^Vp:\
+	:nd=^V^F:rp=\031%.%d:rs=^L:\
+	:..sa=\026\001%{0}%?%p1%t%{112}%|%;%?%p2%t%{1}%|%;%?%p3%t%{112}%|%;%?%p4%t{128}%|%;%?%p6%t%{16}%|%;:\
+	:sf=^J:so=^A^Vp:up=^V^C:us=^V^A:tc=klone+acs:
+# From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
+avatar0+|avatar terminal emulator level 0+:\
+	:dc=^V^N:ei=\026\n\0\0\0\0:im=^V^I:tc=avatar0:
+# From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
+avatar|avatar1|avatar terminal emulator level 1:\
+	:RA=^V":SA=^V$:al=^V+:dl=^V-:ei=^V^P:ve=^V'^A:vi=^V'^B:\
+	:vs=^V^C:tc=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:mi:ms:xn:\
+	:co#80:it#8:li#25:\
+	:AL=\E[%dL:DL=\E[%dM:al=^K:bl=^G:bt=\E[Z:cd=^F5:ce=^P^P:\
+	:cl=^L:cm=\037%r%+ %+ :cr=^M:cs=\E[%i%d;%dr:dc=^W:dl=^Z:\
+	:dm=:do=^C:ec=\E[%dX:ed=:ei=^]:im=^\:\
+	:is=\017\035\E(B\E)0\E[?7h\E[?3l\E[>8g:kb=^H:kd=^N:\
+	:ke=\E>:kh=^A:kl=^B:kr=^F:ks=\E=:ku=^P:le=^H:mb=\E[5m:\
+	:md=\E[1m:me=\E[m:mk=\E[8m:mr=^R:nd=^B:nw=^M\ED:\
+	:r1=\017\E(B\E)0\025\E[?3l\E[>8g:rc=\E8:rp=\030%.%.:\
+	:sc=\E7:se=^U:sf=\ED:so=^R:sr=\EM:ta=^I:te=:ti=:ue=^U:up=^^:\
+	:us=^T:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
+rbcomm-nam|IBM PC with RBcomm without autowrap:\
+	:am@:\
+	:bl=^G:cr=^M:do=^J:\
+	:is=\017\035\E(B\E)0\E[?7l\E[?3l\E[>8g:kb=^H:kd=^J:\
+	:kl=^H:nw=^M^J:sf=^J:ta=^I:tc=rbcomm:
+rbcomm-w|IBM PC with RBcomm in 132 column mode:\
+	:co#132:\
+	:bl=^G:cr=^M:do=^J:\
+	:is=\017\035\E(B\E)0\E[?7h\E[?3h\E[>8g:kb=^H:kd=^J:\
+	:kl=^H:nw=^M^J:sf=^J:ta=^I:tc=rbcomm:
+
+######## LCD DISPLAYS
+#
+
+#### Matrix Orbital
+# from: Eric Z. Ayers  (eric@ale.org)
+#
+# Matrix Orbital 20x4 LCD display
+# Command Character is 0xFE (decimal 254, octal 376)
+#
+# On this device, cursor addressability isn't possible.  The LCD expects:
+#      0xfe G <col> <row> 
+#      for cup: %p1 == row and %p2 is column
+#
+# This line:
+#	cup=\376G%p2%c%p1%c
+# LOOKS like it will work, but sometimes only one of the two numbers is sent. 
+# See the terminfo (5) manpage commented regarding 'Terminals which use "%c"'.
+# 
+# Alas, there is no cursor upline capability on this display.
+#
+# These entries add some 'sanity stuff' to the clear function.  That is, it
+# does a 'clear' and also turns OFF auto scroll, turns ON Auto Line Wrapping,
+# and turns off the cursor blinking and stuff like that.
+#
+# NOTE: calling 'beep' turns on the backlight (bell)
+# NOTE: calling 'flash' turns it on and back off (visual bell)
+#
+MtxOrb| Generic Matrix Orbital LCD display:\
+	:bl=\376B^A:cl=\376X\376C\376R\376K\376T:ho=\376H:\
+	:le=\376L:nd=\376M:vb=\376B\001\376F:ve=\376K\376T:
+MtxOrb204| 20x4 Matrix Orbital LCD display:\
+	:co#20:li#4:tc=MtxOrb:
+MtxOrb162| 16x2 Matrix Orbital LCD display:\
+	:co#16:li#2:tc=MtxOrb:
+# The end
 
 ######## OLDER TERMINAL TYPES
 #
@@ -10318,18 +7099,7 @@
 	:pf=\E[4i:po=\E[5i:ps=\E[0i:se=\E[m:sf=^J:so=\E[7m:ta=^I:\
 	:up=\E[A:
 att2350|AT&T 2350 Video Information Terminal 80 column mode:\
-	:am:eo:mi:ms:xo:\
-	:co#80:it#8:li#24:\
-	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[11r:\
-	:F2=\E[12r:F3=\E[13r:F4=\E[14r:F5=\E[15r:F6=\E[16r:\
-	:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:\
-	:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
-	:cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:im=\E[4h:\
-	:k1=\E[1r:k2=\E[2r:k3=\E[3r:k4=\E[4r:k5=\E[5r:k6=\E[6r:\
-	:k7=\E[7r:k8=\E[8r:k9=\E[9r:k;=\E[10r:kA=\E[L:kB=\E[Z:\
-	:kC=\E[J:kD=\E[P:kI=\E[@:kL=\E[M:kb=^H:kd=\E[B:kh=\E[H:\
-	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:mr=\E[7m:nd=\E[C:\
-	:se=\E[m:sf=^J:so=\E[7m:ta=^I:up=\E[A:
+	:pf@:po@:ps@:tc=att2300:
 
 # Must setup RETURN KEY - CR, REC'VD LF - INDEX.
 # Seems upward compatible with vt100, plus ins/del line/char.
@@ -10342,10 +7112,11 @@
 # (att4410: a BSD entry has been seen with the following capabilities: 
 # :is=\E[?6l:, :k1=\EOc:, :k2=\EOd:, :k3=\EOe:, :k4=\EOg:,
 # :k6=\EOh:, :k7=\EOi:, :k8=\EOj:, -- esr)
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
 att5410v1|att4410v1|tty5410v1|AT&T 4410/5410 80 columns - version 1:\
 	:am:hs:mi:ms:xo:\
 	:Nl#8:co#80:it#8:lh#2:li#24:lw#8:ws#80:\
-	:ac=``aaffhhggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~00++--,,..:\
+	:ac=++,,--..00``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
 	:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E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   f1           \EOP\E[2;03q   f2           \EOQ\E[3;03q   f3           \EOR\E[4;03q   f4           \EOS\E[5;03q   f5           \EOT\E[6;03q   f6           \EOU\E[7;03q   f7           \EOV\E[8;03q   f8           \EOW:\
-	:ic=\E[@:im=:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:\
-	:k6=\EOU:k7=\EOV:k8=\EOW:kC=\E[2J:kH=\E[24;1H:kb=^H:\
-	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:ll=\E[24H:\
-	:mb=\E[5m:md=\E[2;7m:me=\E[m\017:mh=\E[2m:mk=\E[8m:\
-	:mr=\E[7m:nd=\E[C:nw=^M^J:..pn=\E[%p1%d;00q%p2%\:-16s:\
-	:..px=\E[%p1%1d;%p2%l%2.2dq   f%p1%1d           %p2%s:\
-	:rc=\E8:rs=\Ec\E[?3h\E[2;0y:\
-	:..sa=\E[0%?%p1%p5%|%t;2%;%?%p2%p6%|%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;:\
-	:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:\
-	:ts=\E7\E[25;%+^AH:ue=\E[m:up=\E[A:us=\E[4m:
+	:co#132:ws#132:\
+	:i1=\E[?3h\E)0:rs=\Ec\E[?3h\E[2;0y:tc=att5410v1:
 
 att4410|att5410|tty5410|AT&T 4410/5410 80 columns - version 2:\
-	:am:bs:hs:mi:ms:xo:\
-	:Nl#8:co#80:it#8:lh#2:li#24:lw#8:ws#80:\
-	:ac=``aaffhhggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~00++--,,..:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
-	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:\
-	:do=\E[B:ei=:fs=\E8:ho=\E[H:i1=\E[?3l\E)0:\
-	:i2=\E[1;03q   f1           \EOP\E[2;03q   f2           \EOQ\E[3;03q   f3           \EOR\E[4;03q   f4           \EOS\E[5;03q   f5           \EOT\E[6;03q   f6           \EOU\E[7;03q   f7           \EOV\E[8;03q   f8           \EOW:\
-	:ic=\E[@:im=:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:\
-	:k6=\EOU:k7=\EOV:k8=\EOW:kC=\E[2J:kH=\E[24;1H:kb=^H:\
-	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:ll=\E[24H:\
-	:mb=\E[5m:md=\E[2;7m:me=\E[m\017:mh=\E[2m:mk=\E[8m:\
-	:mr=\E[7m:nd=\E[C:nw=^M^J:..pn=\E[%p1%d;00q%p2%\:-16s:\
+	:bs:\
 	:..px=\E[%p1%d;%p2%l%02dq   f%p1%d           %p2%s:\
-	:rc=\E8:rs=\Ec\E[?3l\E[2;0y:\
-	:..sa=\E[0%?%p1%p5%|%t;2%;%?%p2%p6%|%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;:\
-	:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:\
-	:ts=\E7\E[25;%+^AH:ue=\E[m:up=\E[A:us=\E[4m:
+	:tc=att5410v1:
 
 att5410-w|att4410-w|4410-w|tty5410-w|5410-w|AT&T 4410/5410 in 132 column mode:\
-	:am:bs:hs:mi:ms:xo:\
-	:Nl#8:co#132:it#8:lh#2:li#24:lw#8:ws#132:\
-	:ac=``aaffhhggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~00++--,,..:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
-	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:\
-	:do=\E[B:ei=:fs=\E8:ho=\E[H:i1=\E[?3h\E)0:\
-	:i2=\E[1;03q   f1           \EOP\E[2;03q   f2           \EOQ\E[3;03q   f3           \EOR\E[4;03q   f4           \EOS\E[5;03q   f5           \EOT\E[6;03q   f6           \EOU\E[7;03q   f7           \EOV\E[8;03q   f8           \EOW:\
-	:ic=\E[@:im=:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:\
-	:k6=\EOU:k7=\EOV:k8=\EOW:kC=\E[2J:kH=\E[24;1H:kb=^H:\
-	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:ll=\E[24H:\
-	:mb=\E[5m:md=\E[2;7m:me=\E[m\017:mh=\E[2m:mk=\E[8m:\
-	:mr=\E[7m:nd=\E[C:nw=^M^J:..pn=\E[%p1%d;00q%p2%\:-16s:\
-	:..px=\E[%p1%d;%p2%l%02dq   f%p1%d           %p2%s:\
-	:rc=\E8:rs=\Ec\E[?3h\E[2;0y:\
-	:..sa=\E[0%?%p1%p5%|%t;2%;%?%p2%p6%|%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;:\
-	:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:\
-	:ts=\E7\E[25;%+^AH:ue=\E[m:up=\E[A:us=\E[4m:
+	:co#132:ws#132:\
+	:i1=\E[?3h\E)0:rs=\Ec\E[?3h\E[2;0y:tc=att4410:
 
 # 5410 in terms of a vt100
 # (v5410: added <rmam>/<smam> based on init string -- esr)
@@ -10434,7 +7158,7 @@
 	:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
 	:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:\
 	:nd=\E[C:rc=\E8:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
-	:..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
+	:..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<2>:\
 	:sc=\E7:se=\E[m:sf=^J:so=\E[1;7m:sr=\EM:st=\EH:ta=^I:\
 	:ue=\E[m:up=\E[A:us=\E[4m:
 
@@ -10475,303 +7199,83 @@
 # This string causes them to send the strings :k1:-:k8:
 # when pressed in SYS PF mode.
 # (att4415: I added <rmam>/<smam> based on the init string -- esr)
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
 att4415|tty5420|att5420|AT&T 4415/5420 80 cols:\
-	:am:bs:db:hs:mi:ms:xo:\
-	:Nl#8:co#80:it#8:lh#2:li#24:lm#78:lw#8:ws#55:\
-	:@1=\Et:@7=\Ez:@8=\Eent:AL=\E[%dL:CM=\E[%i%d;%dt:\
-	:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:LF=\E|:\
-	:LO=\E~:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:SF=\E[%dE:SR=\E[%dF:\
-	:UP=\E[%dA:\
-	:ac=``aaffhhggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~00++--,,..:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
-	:ch=\E[%+^AG:cl=\E[x\E[J:cm=\E[%i%d;%dx:cr=^M:\
-	:cs=\E[%i%d;%dr:ct=\E[3g:cv=\E[%+^Ad:dc=\E[P:dl=\E[M:\
-	:do=\E[B:ec=\E[%ds\E[%dD:ei=\E[4l:fs=\E8:ho=\E[x:\
-	:i1=\E[?3l:i2=\E[?5l:im=\E[4h:\
-	:is=\E[m\017\E[1;2;3;4;6l\E[12;13;14;20l\E[?6;97;99l\E[?7h\E[4i\Ex\E[21;1j\212:\
-	:k1=\EOc:k2=\EOd:k3=\EOe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19;0j\E[21;1j\212:ks=\E[19;1j\E[21;4j\Eent:\
+	:l1=F1:l2=F2:l3=F3:l4=F4:l5=F5:l6=F6:l7=F7:l8=F8:ll=\Ew:\
+	:me=\E[m\017:mp=\EV:pf=\E[?9i:po=\E[?4i:ps=\E[?2i:st=\EH:\
+	:ts=\E7\E[25;%+^HH:vb=\E[?5h\E[?5l:ve=\E[11;0j:\
+	:vs=\E[11;1j:tc=att4410:
+
+att4415-w|tty5420-w|att5420-w|AT&T 4415/5420 132 cols:\
+	:co#132:lm#54:ws#97:\
+	:i1=\E[?3h:tc=att4415:
+
+att4415-rv|tty5420-rv|att5420-rv|AT&T 4415/5420 80 cols/rv:\
+	:i2=\E[?5h:vb=\E[?5l\E[?5h:tc=att4415:
 
 att4415-w-rv|tty5420-w-rv|att5420-w-rv|AT&T 4415/5420 132 cols/rv:\
-	:am:bs:db:hs:mi:ms:xo:\
-	:Nl#8:co#132:it#8:lh#2:li#24:lm#54:lw#8:ws#97:\
-	:@1=\Et:@7=\Ez:@8=\Eent:AL=\E[%dL:CM=\E[%i%d;%dt:\
-	:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:LF=\E|:\
-	:LO=\E~:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:SF=\E[%dE:SR=\E[%dF:\
-	:UP=\E[%dA:\
-	:ac=``aaffhhggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~00++--,,..:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
-	:ch=\E[%+^AG:cl=\E[x\E[J:cm=\E[%i%d;%dx:cr=^M:\
-	:cs=\E[%i%d;%dr:ct=\E[3g:cv=\E[%+^Ad:dc=\E[P:dl=\E[M:\
-	:do=\E[B:ec=\E[%ds\E[%dD:ei=\E[4l:fs=\E8:ho=\E[x:\
-	:i1=\E[?3h:i2=\E[?5h:im=\E[4h:\
-	:is=\E[m\017\E[1;2;3;4;6l\E[12;13;14;20l\E[?6;97;99l\E[?7h\E[4i\Ex\E[21;1j\212:\
-	:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:\
-	:k8=\EOj:kA=\E[L:kB=\E[Z:kC=\E[2J:kD=\E[P:kE=\E[2K:kF=\E[T:\
-	:kH=\Eu:kI=\E[4h:kL=\E[M:kN=\E[U:kP=\E[V:kR=\E[S:kb=^H:\
-	:kd=\E[B:ke=\E[19;0j\E[21;1j\212:kh=\E[H:kl=\E[D:kr=\E[C:\
-	:ks=\E[19;1j\E[21;4j\Eent:ku=\E[A:l1=F1:l2=F2:l3=F3:l4=F4:\
-	:l5=F5:l6=F6:l7=F7:l8=F8:le=^H:ll=\Ew:mb=\E[5m:md=\E[2;7m:\
-	:me=\E[m\017:mh=\E[2m:mk=\E[8m:mp=\EV:mr=\E[7m:nd=\E[C:\
-	:nw=^M^J:pf=\E[?9i:..pn=\E[%p1%d;0;0;0q%p2%\:-16.16s:\
-	:po=\E[?4i:ps=\E[?2i:\
-	:..px=\E[%p1%d;%p2%l%02dq   F%p1%d           %p2%s:\
-	:rc=\E8:rs=\Ec\E[?3l\E[2;0y:\
-	:..sa=\E[0%?%p1%p5%|%t;2%;%?%p2%p6%|%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;:\
-	:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
-	:ts=\E7\E[25;%+^HH:ue=\E[m:up=\E[A:us=\E[4m:\
-	:vb=\E[?5l\E[?5h:ve=\E[11;0j:vs=\E[11;1j:
+	:co#132:lm#54:ws#97:\
+	:i1=\E[?3h:i2=\E[?5h:vb=\E[?5l\E[?5h:tc=att4415:
 
 # Note that this mode permits programming USER PF KEYS and labels
 # However, when you program user pf labels you have to reselect
 # user pf keys to make them appear! 
 att4415+nl|tty5420+nl|att5420+nl|generic AT&T 4415/5420 changes for not changing labels:\
+	:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:\
 	:..pn=\E[%p1%d;0;0;1q%p2%\:-16.16s:\
 	:..px=\E[%p1%d;%p2%l%02d;0;1q   F%p1%d           %p2%s:
 
 att4415-nl|tty5420-nl|att5420-nl|AT&T 4415/5420 without changing labels:\
-	:am:bs:db:hs:mi:ms:xo:\
-	:Nl#8:co#80:it#8:lh#2:li#24:lm#78:lw#8:ws#55:\
-	:@1=\Et:@7=\Ez:@8=\Eent:AL=\E[%dL:CM=\E[%i%d;%dt:\
-	:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:LF=\E|:\
-	:LO=\E~:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:SF=\E[%dE:SR=\E[%dF:\
-	:UP=\E[%dA:\
-	:ac=``aaffhhggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~00++--,,..:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
-	:ch=\E[%+^AG:cl=\E[x\E[J:cm=\E[%i%d;%dx:cr=^M:\
-	:cs=\E[%i%d;%dr:ct=\E[3g:cv=\E[%+^Ad:dc=\E[P:dl=\E[M:\
-	:do=\E[B:ec=\E[%ds\E[%dD:ei=\E[4l:fs=\E8:ho=\E[x:\
-	:i1=\E[?3l:i2=\E[?5l:im=\E[4h:\
-	:is=\E[m\017\E[1;2;3;4;6l\E[12;13;14;20l\E[?6;97;99l\E[?7h\E[4i\Ex\E[21;1j\212:\
-	:kA=\E[L:kB=\E[Z:kC=\E[2J:kD=\E[P:kE=\E[2K:kF=\E[T:kH=\Eu:\
-	:kI=\E[4h:kL=\E[M:kN=\E[U:kP=\E[V:kR=\E[S:kb=^H:kd=\E[B:\
-	:ke=\E[19;0j\E[21;1j\212:kh=\E[H:kl=\E[D:kr=\E[C:\
-	:ks=\E[19;1j\E[21;4j\Eent:ku=\E[A:l1=F1:l2=F2:l3=F3:l4=F4:\
-	:l5=F5:l6=F6:l7=F7:l8=F8:le=^H:ll=\Ew:mb=\E[5m:md=\E[2;7m:\
-	:me=\E[m\017:mh=\E[2m:mk=\E[8m:mp=\EV:mr=\E[7m:nd=\E[C:\
-	:nw=^M^J:pf=\E[?9i:..pn=\E[%p1%d;0;0;1q%p2%\:-16.16s:\
-	:po=\E[?4i:ps=\E[?2i:\
-	:..px=\E[%p1%d;%p2%l%02d;0;1q   F%p1%d           %p2%s:\
-	:rc=\E8:rs=\Ec\E[?3l\E[2;0y:\
-	:..sa=\E[0%?%p1%p5%|%t;2%;%?%p2%p6%|%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;:\
-	:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
-	:ts=\E7\E[25;%+^HH:ue=\E[m:up=\E[A:us=\E[4m:\
-	:vb=\E[?5h\E[?5l:ve=\E[11;0j:vs=\E[11;1j:
+	:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:tc=att4415+nl:tc=att4415:
 
 att4415-rv-nl|tty5420-rv-nl|att5420-rv-nl|AT&T 4415/5420 reverse video without changing labels:\
-	:am:bs:db:hs:mi:ms:xo:\
-	:Nl#8:co#80:it#8:lh#2:li#24:lm#78:lw#8:ws#55:\
-	:@1=\Et:@7=\Ez:@8=\Eent:AL=\E[%dL:CM=\E[%i%d;%dt:\
-	:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:LF=\E|:\
-	:LO=\E~:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:SF=\E[%dE:SR=\E[%dF:\
-	:UP=\E[%dA:\
-	:ac=``aaffhhggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~00++--,,..:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
-	:ch=\E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=\E[m\017:mh=\E[2m:mk=\E[8m:mp=\EV:mr=\E[7m:nd=\E[C:\
-	:nw=^M^J:pf=\E[?9i:..pn=\E[%p1%d;0;0;1q%p2%\:-16.16s:\
-	:po=\E[?4i:ps=\E[?2i:\
-	:..px=\E[%p1%d;%p2%l%02d;0;1q   F%p1%d           %p2%s:\
-	:rc=\E8:rs=\Ec\E[?3l\E[2;0y:\
-	:..sa=\E[0%?%p1%p5%|%t;2%;%?%p2%p6%|%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;:\
-	:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
-	:ts=\E7\E[25;%+^HH:ue=\E[m:up=\E[A:us=\E[4m:\
-	:vb=\E[?5h\E[?5l:ve=\E[11;0j:vs=\E[11;1j:
+	:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:tc=att4415+nl:tc=att4415-w:
 
 att4415-w-rv-n|tty5420-w-rv-n|att5420-w-rv-n|AT&T 4415/5420 132 cols reverse without changing labels:\
-	:am:bs:db:hs:mi:ms:xo:\
-	:Nl#8:co#132:it#8:lh#2:li#24:lm#54:lw#8:ws#97:\
-	:@1=\Et:@7=\Ez:@8=\Eent:AL=\E[%dL:CM=\E[%i%d;%dt:\
-	:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:LF=\E|:\
-	:LO=\E~:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:SF=\E[%dE:SR=\E[%dF:\
-	:UP=\E[%dA:\
-	:ac=``aaffhhggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~00++--,,..:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
-	:ch=\E[%+^AG:cl=\E[x\E[J:cm=\E[%i%d;%dx:cr=^M:\
-	:cs=\E[%i%d;%dr:ct=\E[3g:cv=\E[%+^Ad:dc=\E[P:dl=\E[M:\
-	:do=\E[B:ec=\E[%ds\E[%dD:ei=\E[4l:fs=\E8:ho=\E[x:\
-	:i1=\E[?3h:i2=\E[?5h:im=\E[4h:\
-	:is=\E[m\017\E[1;2;3;4;6l\E[12;13;14;20l\E[?6;97;99l\E[?7h\E[4i\Ex\E[21;1j\212:\
-	:kA=\E[L:kB=\E[Z:kC=\E[2J:kD=\E[P:kE=\E[2K:kF=\E[T:kH=\Eu:\
-	:kI=\E[4h:kL=\E[M:kN=\E[U:kP=\E[V:kR=\E[S:kb=^H:kd=\E[B:\
-	:ke=\E[19;0j\E[21;1j\212:kh=\E[H:kl=\E[D:kr=\E[C:\
-	:ks=\E[19;1j\E[21;4j\Eent:ku=\E[A:l1=F1:l2=F2:l3=F3:l4=F4:\
-	:l5=F5:l6=F6:l7=F7:l8=F8:le=^H:ll=\Ew:mb=\E[5m:md=\E[2;7m:\
-	:me=\E[m\017:mh=\E[2m:mk=\E[8m:mp=\EV:mr=\E[7m:nd=\E[C:\
-	:nw=^M^J:pf=\E[?9i:..pn=\E[%p1%d;0;0;1q%p2%\:-16.16s:\
-	:po=\E[?4i:ps=\E[?2i:\
-	:..px=\E[%p1%d;%p2%l%02d;0;1q   F%p1%d           %p2%s:\
-	:rc=\E8:rs=\Ec\E[?3l\E[2;0y:\
-	:..sa=\E[0%?%p1%p5%|%t;2%;%?%p2%p6%|%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;:\
-	:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
-	:ts=\E7\E[25;%+^HH:ue=\E[m:up=\E[A:us=\E[4m:\
-	:vb=\E[?5l\E[?5h:ve=\E[11;0j:vs=\E[11;1j:
-
+	:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:tc=att4415+nl:\
+	:tc=att4415-w-rv:
+
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
+# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 att5420_2|AT&T 5420 model 2 80 cols:\
 	:am:db:hs:mi:ms:xo:\
-	:Nl#8:co#80:it#8:lh#2:li#24:lm#78:lw#8:ws#55:\
-	:@1=\Et:@7=\Ez:@8=^J:AL=\E[%dL:CM=\E[%i%d;%dt:DC=\E[%dP:\
-	:DL=\E[%dM:IC=\E[%d@:LE=\E[%dD:LF=\E|:LO=\E~:RI=\E[%dC:\
-	:SF=\E[%dE:SR=\E[%dF:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:bt=\E[1Z:cb=\E[1K:cd=\E[0J:ce=\E[0K:\
-	:ch=\E[%+^AG:cl=\EH\EJ:cm=\E[%i%d;%dH:cr=\EG:\
-	:cs=\E[%i%d;%dr:ct=\E[3g:cv=\E[%+^Ad:dc=\E[P:dl=\E[M:\
-	:do=\E[1B:ec=\E[%ds\E[%dD:ei=:fs=\E8:ho=\E[H:\
+	:co#80:it#8:li#24:lm#78:ws#55:\
+	:AL=\E[%dL:CM=\E[%i%d;%dt:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:\
+	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dE:SR=\E[%dF:UP=\E[%dA:ae=^O:\
+	:al=\E[L:as=^N:bt=\E[1Z:cd=\E[0J:ce=\E[0K:cl=\EH\EJ:\
+	:cm=\E[%i%d;%dH:cr=\EG:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
+	:dl=\E[M:do=\E[1B:ec=\E[%ds\E[%dD:ei=:fs=\E8:ho=\E[H:\
 	:i1=\E[0;23r\Ex\Ey\E[2;0j\E[3;3j\E[4;0j\E[5;0j\E[6;0j\E[7;0j\E[8;0j\E[9;1j\E[10;0j\E[15;0j\E[16;1j\E[19;0j\E[20;1j\E[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\EJ:kD=\EP:kF=\ES:kI=\E^:kL=\EM:kR=\ET:kd=\EB:kh=\EH:\
-	:kl=^H:kr=\EC:ku=\EA:l0=segment advance:l3=cursor tab:\
-	:le=\ED:nd=\EC:se=\E~:sf=\EH\EM\EY7\s:so=\E}:ue=\EZ:up=\EA:\
-	:us=\E\\:
+	:dc=\EP:dl=\EM:dm@:do=\EB:ed@:ho=\EH:k0=\EU:k3=\E@:kA=\EL:\
+	:kB=\EO:kC=\EJ:kD=\EP:kF=\ES:kI=\E^:kL=\EM:kR=\ET:kd=\EB:\
+	:kh=\EH:kl=^H:kr=\EC:ku=\EA:l0=segment advance:\
+	:l3=cursor tab:le=\ED:nd=\EC:se=\E~:sf=\EH\EM\EY7\s:\
+	:so=\E}:ue=\EZ:up=\EA:us=\E\\:
 
 #  The following is a terminfo entry for the Teletype 4424
 #  asynchronous keyboard-display terminal.  It supports
@@ -10846,20 +7338,7 @@
 	:us=\E\\:
 
 att4424-1|tty4424-1|teletype 4424 in display function group I:\
-	:am:bs:xo:\
-	:co#80:li#24:\
-	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
-	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=\E(B:al=\EL:as=\E(0:bl=^G:bt=\EO:cd=\EJ:ce=\Ez:\
-	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\EF:\
-	:dc=\EP:dl=\EM:do=\EB:ei=:ho=\E[H:ic=\E^:im=:\
-	:is=\E[20l\E[?7h:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:\
-	:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:mb=\E3:md=\E3:\
-	:me=\EX\E~\EZ\E4\E(B:mh=\EW:mr=\E}:nd=\EC:nw=\EE:\
-	:..sa=\E[%?%p1%t7%;%?%p2%t;4%;%?%p3%t;7%;%?%p6%t;1%;%?%p6%p4%|%t;5%;%?%p5%t;0%;m:\
-	:se=\E~:sf=^J:so=\E}:sr=\ET:st=\EH:ta=^I:ue=\EZ:up=\EA:\
-	:us=\E\\:
+	:kC@:kd=\EB:kh@:kl=\ED:kr=\EC:ku=\EA:tc=att4424:
 
 # This entry is not one of AT&T's official ones, it was translated from the
 # 4.4BSD termcap file.  The highlight strings are different from att4424.
@@ -10886,89 +7365,36 @@
 # This has been tested on a preliminary model.
 #
 # (att5425: added <rmam>/<smam> based on the init string -- esr)
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
+# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 att5425|tty5425|att4425|AT&T 4425/5425:\
 	:am:da:db:hs:mi:ms:xn:xo:\
-	:Nl#8:co#80:it#8:lh#2:li#24:lm#78:lw#8:ws#55:\
-	:@1=\Et:@7=\Ez:@8=\Eent:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
-	:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:LF=\E|:LO=\E~:RA=\E[?7l:\
-	:RI=\E[%dC:SA=\E[?7h:SF=\E[%dE:SR=\E[%dF:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:ch=\E[%+^AG:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
-	:cs=\E[%i%d;%dr:ct=\E[3g:cv=\E[%+^Ad:dc=\E[P:dl=\E[M:\
-	:do=^J:eA=\E(B\E)0:ec=\E[%ds\E[%dD:ei=\E[4l:fs=\E8:\
-	:ho=\E[H:i1=\E<\E[?3l:i2=\E[?5l:im=\E[4h:\
+	:co#80:it#8:li#24:lm#78:ws#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M:st=\EH:ta=^I:\
-	:ts=\E7\E[25;%+^HH:ue=\E[m:up=\E[A:us=\E[4m:\
-	:vb=\E[?5h\E[?5l:ve=\E[12;0j:vs=\E[12;1j:
+	:co#132:lm#54:ws#97:\
+	:i1=\E[?3h:tc=tty5425:
 
 # (att4426: his had bogus capabilities: :ri=\EM:, :ri=\E[1U:. 
 # I also added <rmam>/<smam> -- esr)
@@ -10998,13 +7424,14 @@
 #
 # This entry is based on one done by Ernie Rice at Summit, NJ and
 # changed by Anne Gallup, Skokie, IL, ttrdc!anne
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
 att510a|bct510a|AT&T 510A Personal Terminal:\
 	:am:mi:ms:xn:xo:\
 	:Nl#8:co#80:lh#2:li#24:lw#7:\
 	:#4=\E[u:%i=\E[v:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
 	:F1=\EOe:F2=\EOf:F3=\EOg:F4=\EOh:F5=\EOi:F6=\EOj:LE=\E[%dD:\
 	:RI=\E[%dC:UP=\E[%dA:\
-	:ac=hrisjjkkllmmnnqqttuuvvwwxx{{||}}~~-f,h.e+g`b:\
+	:ac=+g,h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~:\
 	:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[0J:\
 	:ce=\E[0K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:\
 	:dc=\E[P:dl=\E[M:do=\E[1B:eA=\E(B\E)1:ff=^L:ho=\E[H:\
@@ -11013,11 +7440,9 @@
 	:k;=\EOd:kB=\E[Z:kF=\E[S:kR=\E[T:kb=^H:kd=\E[B:ke=\E[19;0|:\
 	:kl=\E[D:kr=\E[C:ks=\E[19;1|:ku=\E[A:le=^H:mb=\E[5m:\
 	:md=\E[2;7m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\EE:\
-	:pf=\E[?8i:..pn=\E[%p1%dp%p2%\:-16s:po=\E[?4i:ps=\E[0i:\
-	:rc=\E8:\
-	:..sa=\E[0%?%p5%p6%|%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;m%?%p9%t\016%e\017%;:\
-	:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
-	:up=\E[A:us=\E[4m:ve=\E[11;3|:vi=\E[11;0|:vs=\E[11;2|:
+	:pf=\E[?8i:po=\E[?4i:ps=\E[0i:rc=\E8:sc=\E7:se=\E[m:sf=^J:\
+	:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:\
+	:ve=\E[11;3|:vi=\E[11;0|:vs=\E[11;2|:
 
 # Terminfo entry for the AT&T 510 D Personal Terminal
 # Function keys 9 through 16 are accessed by bringing up the
@@ -11028,67 +7453,47 @@
 # There are problems with soft key labeling.  These are due to 
 # strangenesses in the native terminal that are impossible to
 # describe in a terminfo.  
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
+# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 att510d|bct510d|AT&T 510D Personal Terminal:\
 	:am:da:db:mi:ms:xn:xo:\
-	:Nl#8:co#80:lh#2:li#24:lm#48:lw#7:\
-	:#4=\E[u:%i=\E[v:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
-	:F1=\EOe:F2=\EOf:F3=\EOg:F4=\EOh:F5=\EOi:F6=\EOj:IC=\E[%d@:\
-	:LE=\E[%dD:LF=\E<:LO=\E?:MC=\E\::ML=\E4:MR=\E5:RI=\E[%dC:\
-	:RX=\E[29;1|:SF=\E[%dS:SR=\E[%dT:SX=\E[29;0|:UP=\E[%dA:\
-	:ac=hrisjjkkllmmnnqqttuuvvwwxx{{||}}~~-f,h.e+g`b:\
-	:ae=^O:al=\E[L:as=^N:bl=^G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E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
-	:up=\E[A:us=\E[4m:ve=\E[11;3|:vs=\E[11;2|:
+	:k5=\ENe:k6=\ENf:k7=\ENh:k8=\E[H:k9=\EOc:kb=^H:kd=\E[B:\
+	:ke=\E[19;0|:kl=\E[D:kr=\E[C:ks=\E[19;1|:ku=\E[A:le=^H:\
+	:ll=\E#2:mb=\E[5m:md=\E[2;7m:me=\E[m\017:mh=\E[2m:\
+	:mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:rs=\E[5;0|:sc=\E7:se=\E[m:\
+	:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:\
+	:us=\E[4m:ve=\E[11;3|:vs=\E[11;2|:
 
 # (att500: I merged this with the att513 entry, att500 just used att513 -- esr)
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
+# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 att500|att513|AT&T 513 using page mode:\
-	:HC:am:mi:ms:xn:xo:\
-	:Nl#8:co#80:lh#2:li#24:lw#8:\
-	:!1=\EOO:!2=\EOP:!3=\EOS:#1=\EOM:#2=\ENM:#3=\ENJ:#4=\ENK:\
-	:%0=\EOt:%1=\EOm:%2=\ENi:%3=\EOl:%4=\ENc:%5=\ENh:%6=\EOv:\
-	:%7=\EOr:%8=\ENg:%9=\EOz:%a=\EOL:%b=\ENC:%c=\ENH:%d=\EOR:\
-	:%e=\ENG:%f=\EOZ:%g=\EOT:%h=\EOY:%i=\ENL:%j=\EOQ:&0=\EOW:\
-	:&1=\EOb:&2=\ENa:&3=\EOy:&4=\EOB:&5=\EOq:&6=\EOo:&7=\EOp:\
-	:&8=\EOs:&9=\ENB:*0=\EOX:*1=\EOU:*2=\END:*3=\EON:*4=\ENF:\
-	:*5=\ENE:*6=\ENI:*7=\ENN:*8=\EOA:*9=\EOK:@0=\EOx:@1=\E9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H:kl=\E[D:kr=\E[C:\
+	:k7=\EOi:k8=\EOj:kD=\ENf:kI=\ENj:kN=\E[U:kP=\E[V:kb=^H:\
+	:kd=\E[B:ke=\E[19;0|\E[21;1|\212:kh=\E[H:kl=\E[D:kr=\E[C:\
 	:ks=\E[19;1|\E[21;4|\Eent:ku=\E[A:le=^H:ll=\E#2:mb=\E[5m:\
-	:md=\E[2;7m:me=\E[m\017:mh=\E[2m:mk=\E[8m:mr=\E[7m:\
-	:nd=\E[C:nw=\EE:pf=\E[?98l\E[?8i:\
-	:..pk=\E[%p1%d;%p2%l%d;3;0p   F%p1%d           %p2%s:\
-	:..pl=\E[%p1%d;%p2%l%d;2;0p   F%p1%d           %p2%s:\
-	:..pn=\E[%p1%dp%p2%\:-16s:po=\E[?98l\E[?4i:\
-	:ps=\E[?98l\E[0i:\
-	:..px=\E[%p1%d;%p2%l%d;1;0p   F%p1%d           %p2%s:\
-	:r1=\E?\E[3;3|\E[10;0|\E[21;1|\212\E[6;1|\E[1{\E[?99l\E[2;0|\E[6;1|\E[8;0|\E[19;0|\E[1{\E[?99l:\
-	:r2=\E[5;0|:rc=\E8:..rp=%p1%c\E[%p2%{1}%-%db:\
-	:..sa=\E[0%?%p1%p5%|%t;2%;%?%p2%p6%|%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;:\
-	:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
-	:up=\E[A:us=\E[4m:ve=\E[11;0|:vs=\E[11;1|:
+	:md=\E[2;7m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\EE:\
+	:rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
+	:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[11;0|:vs=\E[11;1|:
 
 # 01-07-88
 # printer must be set to EMUL ANSI to accept ESC codes
@@ -11097,18 +7502,14 @@
 #	and alt font ascii,wrap on,tabs cleared
 # :is: disables newline on LF,Emphasized off
 # The <u0> capability sets form length
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
 att5310|att5320|AT&T Model 53210 or 5320 matrix printer:\
 	:YA:YD:\
 	:Ya#8192:Yi#10:Yj#12:Yk#100:Yl#72:Ym#120:co#132:it#8:li#66:\
-	:DO=\E[%de:RI=\E[%da:\
-	:..ZA=%?%p1%{10}%=%t\E[w%e%p1%{12}%=%t\E[2w%e%p1%{5}%=%t\E[5w%e%p1%{13}%=%p1%{14}%=%O%t\E[3w%e%p1%{16}%=%p1%{17}%=%O%t\E[4w%e%p1%{6}%=%t\E[6w%e%p1%{7}%=%t\E[7w%e%p1%{8}%=%t\E[8w%;:\
-	:..ZB=%?%p1%{2}%=%t\E[4z%e%p1%{3}%=%t\E[5z%e%p1%{4}%=%t\E[6z%e%p1%{6}%=%t\E[z%e%p1%{8}%=%t\E[2z%e%p1%{12}%=%t\E[3z%;:\
-	:ZM=\E[5m:ZU=\E[m:\
-	:..Zj=%?%p1%{0}%=%t\E(B%e%p1%{1}%=%t\E(A%e%p1%{2}%=%t\E(C%e%p1%{3}%=%t\E(D%e%p1%{4}%=%t\E(E%e%p1%{5}%=%t\E(H%e%p1%{6}%=%t\E(K%e%p1%{7}%=%t\E(R%e%p1%{8}%=%t\E(Q%e%p1%{9}%=%t\E(Y%e%p1%{10}%=%t\E(Z%e%p1%{11}%=%t\E(0%e%p1%{12}%=%t\E(1%e%p1%{13}%=%t\E(3%e%p1%{14}%=%t\E(8%e%p1%{15}%=%t\E(}%;:\
-	:Zl=\E[;%dr:Zm=\E[%+^As:Zn=\E[;%+^As:Zp=\E[%dr:\
-	:..Zy=%?%p1%{0}%=%tusascii%e%p1%{1}%=%tenglish%e%p1%{2}%=%tfinnish%e%p1%{3}%=%tjapanese%e%p1%{4}%=%tnorwegian%e%p1%{5}%=%tswedish%e%p1%{6}%=%tgermanic%e%p1%{7}%=%tfrench%e%p1%{8}%=%tcanadian_french%e%p1%{9}%=%titalian%e%p1%{10}%=%tspanish%e%p1%{11}%=%tline%e%p1%{12}%=%tsecurity%e%p1%{13}%=%tebcdic%e%p1%{14}%=%tapl%e%p1%{15}%=%tmosaic%;:\
-	:ch=\E[%d`:cr=^M:cv=\E[%dd:do=^J:ff=^L:i1=\Ec:is=\E[20l\r:\
-	:nd=\s:ta=^I:u0=\E[%dt:up=\EM:
+	:DO=\E[%de:RI=\E[%da:ZM=\E[5m:ZU=\E[m:Zl=\E[;%dr:\
+	:Zm=\E[%+^As:Zn=\E[;%+^As:Zp=\E[%dr:ch=\E[%d`:cr=^M:\
+	:cv=\E[%dd:do=^J:ff=^L:i1=\Ec:is=\E[20l\r:nd=\s:ta=^I:\
+	:u0=\E[%dt:up=\EM:
 
 # Teletype 5620, firmware version 1.1 (8;7;3) or earlier from BRL
 # The following SET-UP modes are assumed for normal operation:
@@ -11151,27 +7552,9 @@
 	:r1=\Ec:rc=\E8:sc=\E7:se=\E[0m:sf=\E[S:so=\E[7m:sr=\E[T:\
 	:ta=^I:ue=\E[0m:up=\E[A:us=\E[4m:
 att5620-24|tty5620-24|dmd-24|teletype dmd 5620 in a 24x80 layer:\
-	:NL:NP:am:bs:ms:xo:\
-	:co#88:it#8:li#24:\
-	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:SF=\E[%dS:\
-	:SR=\E[%dT:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
-	:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
-	:ic=\E[@:im=:kC=\E[2J:kH=\E[70;1H:kb=^H:kd=\E[B:kh=\E[H:\
-	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:md=\E[2m:me=\E[0m:mh=\E[2m:\
-	:mr=\E[7m:nd=\E[C:nw=^J:..px=\E[%p1%d;%p2%l%dq%p2%s:\
-	:r1=\Ec:rc=\E8:sc=\E7:se=\E[0m:sf=\E[S:so=\E[7m:sr=\E[T:\
-	:ta=^I:ue=\E[0m:up=\E[A:us=\E[4m:
+	:li#24:tc=att5620:
 att5620-34|tty5620-34|dmd-34|teletype dmd 5620 in a 34x80 layer:\
-	:NL:NP:am:bs:ms:xo:\
-	:co#88:it#8:li#34:\
-	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:SF=\E[%dS:\
-	:SR=\E[%dT:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
-	:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
-	:ic=\E[@:im=:kC=\E[2J:kH=\E[70;1H:kb=^H:kd=\E[B:kh=\E[H:\
-	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:md=\E[2m:me=\E[0m:mh=\E[2m:\
-	:mr=\E[7m:nd=\E[C:nw=^J:..px=\E[%p1%d;%p2%l%dq%p2%s:\
-	:r1=\Ec:rc=\E8:sc=\E7:se=\E[0m:sf=\E[S:so=\E[7m:sr=\E[T:\
-	:ta=^I:ue=\E[0m:up=\E[A:us=\E[4m:
+	:li#34:tc=att5620:
 # 5620 layer running the "S" system's downloaded graphics handler:
 att5620-s|tty5620-s|layer|vitty|5620 S layer:\
 	:am:bs:pt:\
@@ -11184,466 +7567,141 @@
 #
 # Entries for <kf29> thru <kf46> refer to the alternate keypad mode
 # keys:  = * / + 7 8 9 - 4 5 6 , 1 2 3 0 . ENTER
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
+# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 att605|AT&T 605 80 column 102key keyboard:\
 	:am:eo:xo:\
-	:Nl#8:co#80:li#24:lw#8:ws#80:\
-	:#4=\E[ A:%i=\E[ @:@7=\E[24;1H:DC=\E[%dP:DL=\E[%dM:\
-	:F1=\ENq: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\EOi:k8=\EOj:k9=\ENo:k;=\ENp:\
-	:kA=\E[L:kB=\E[Z:kC=\E[2J:kD=\E[P:kF=\E[S:kI=\E[@:kL=\E[M:\
-	:kN=\E[U:kP=\E[V:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:\
-	:ku=\E[A:le=^H:ll=\E[24H:mb=\E[5m:md=\E[1m:me=\E[m\017:\
-	:mh=\E[2m:mk=\E[8m:mr=\E[7m:nd=\E[C:nw=\EE:pf=\E[?4i:\
-	:..pn=\E[%p1%d;0;0;0q%p2%\:-16.16s:po=\E[?5i:\
-	:..px=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s:\
-	:rc=\E8:rs=\Ec\E[?3l:sc=\E7:se=\E[m:sf=^J:so=\E[7m:ta=^I:\
-	:ts=\E7\E[25;%i%dx:ue=\E[m:up=\E[A:us=\E[4m:
+	:tc=att605:
 # (att610: I added <rmam>/<smam> based on the init string.  I also
 # added :SF: and :SR: because the BSD file says the att615s have them,
 # and the 615 is like a 610 with a big keyboard, and most of their other
 # smart terminals support the same sequence -- esr)
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
+# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 att610|AT&T 610; 80 column; 98key keyboard:\
 	:am:es:hs:mi:ms:xn:xo:\
-	:Nl#8:co#80:it#8:lh#2:li#24:lw#8:ws#80:\
-	:#4=\E[ @:%i=\E[ A:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
-	:DO=\E[%dB:F1=\ENq:F2=\ENr:F3=\ENs:F4=\ENt:IC=\E[%d@:\
-	:LE=\E[%dD:LF=\E[2p:LO=\E[p:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
-	:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O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ENe:kM=\ENj:kN=\E[U:\
-	:kP=\E[V:kR=\E[T:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:\
-	:ku=\E[A:le=^H:ll=\E[24H:mb=\E[5m:md=\E[1m:me=\E[m\017:\
-	:mh=\E[2m:mk=\E[8m:mr=\E[7m:nd=\E[C:nw=\EE:pf=\E[?4i:\
-	:..pn=\E[%p1%d;0;0;0q%p2%\:-16.16s:po=\E[?5i:\
-	:..px=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s:\
-	:rc=\E8:rs=\Ec\E[?3l:\
-	:..sa=\E[0%?%p6%t;1%;%?%p5%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;:\
-	:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:\
-	:ts=\E7\E[25;%i%dx:ue=\E[m:up=\E[A:us=\E[4m:\
-	:vb=\E[?5h\E[?5l:ve=\E[?25h\E[?12l:vi=\E[?25l:\
-	:vs=\E[?12;25h:
+	:#4=\E[ A:%i=\E[ @:tc=att610-103k-w:
 # (att620: I added <rmam>/<smam> based on the init string and
 # :SR:/:SF: from a BSD termcap -- esr)
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
+# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 att620|AT&T 620; 80 column; 98key keyboard:\
 	:am:es:hs:mi:ms:xn:xo:\
-	:Nl#8:co#80:it#8:lh#2:li#24:lw#8:ws#80:\
-	:#4=\E[ A:%i=\E[ @:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
-	:DO=\E[%dB:F1=\ENq:F2=\ENr:F3=\ENs:F4=\ENt:F5=\EOC:F6=\EOD:\
-	:F7=\EOE:F8=\EOF:F9=\EOG:FA=\EOH:FB=\EOI:FC=\EOJ:FD=\ENO:\
-	:FE=\EN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1m:\
-	:me=\E[m\E(B\017:mh=\E[2m:mk=\E[8m:mr=\E[7m:nd=\E[C:\
-	:nw=\EE:pf=\E[?4i:..pn=\E[%p1%d;0;0;0q%p2%\:-16.16s:\
-	:po=\E[?5i:\
-	:..px=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s:\
-	:rc=\E8:rs=\Ec\E[?3l:\
-	:..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;:\
-	:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:\
-	:ts=\E7\E[25;%i%dx:ue=\E[m:up=\E[A:us=\E[4m:\
-	:vb=\E[?5h\E[?5l:ve=\E[?25h\E[?12l:vi=\E[?25l:\
-	:vs=\E[?12;25h:
+	:tc=att620-103k:
 
 # AT&T (formerly Teletype) 630 Multi-Tasking Graphics terminal
 # The following SETUP modes are assumed for normal operation:
@@ -11673,22 +7731,7 @@
 	:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:\
 	:up=\E[A:us=\E[4m:
 att630-24|5630-24|5630DMD-24|630MTG-24|AT&T 630 windowing terminal 24 lines:\
-	:NP:am:bs:da:db:mi:ms:xo:\
-	:co#80:it#8:li#24:lm#0:\
-	:@8=^M:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\ENq:\
-	:F2=\ENr:F3=\ENs:F4=\ENt:F5=\ENu:F6=\ENv:F7=\ENw:F8=\ENx:\
-	:F9=\ENy:FA=\ENz:FB=\EN{:FC=\EN|:FD=\EN}:FE=\EN~:IC=\E[%d@:\
-	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
-	:al=\E[L:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:\
-	:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:is=\E[m:k9=\ENo:k;=\ENp:\
-	:kA=\E[L:kB=\E[Z:kC=\E[2J:kD=\E[P:kI=\E[@:kL=\E[M:kb=^H:\
-	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
-	:me=\E[m:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=^M^J:pf=\E[?4i:\
-	:po=\E[?5i:..px=\E[%p1%d;%p2%l%dq%p2%s:rc=\E8:rs=\Ec:\
-	:..sa=\E[0%?%p2%t;4%;%?%p1%p3%|%p4%|%p5%|%t;7%;m:\
-	:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:\
-	:up=\E[A:us=\E[4m:
+	:li#24:tc=att630:
 
 # This is the att700 entry for 700 native emulation of the AT&T 700
 # terminal.  Comments are relative to changes from the 605V2 entry and
@@ -11767,38 +7810,26 @@
 # etc..... Available from AT&T CIC 800-432-6600...
 # ask for Document number 999-300-660..
 #
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
+# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 att700|AT&T 700 24x80 column display w/102key keyboard:\
 	:am:es:hs:mi:ms:xn:xo:\
-	:Nl#8:co#80:it#8:lh#2:li#24:lw#8:ws#80:\
-	:#4=\E[ A:%i=\E[ @:@7=\E[24;1H:AL=\E[%dL:DC=\E[%dP:\
-	:DL=\E[%dM:DO=\E[%dB:F1=\ENq:F2=\ENr:F3=\ENs:F4=\ENt:\
-	:F5=\EOC:F6=\EOD:F7=\EOE:F8=\EOF:F9=\EOG:FA=\EOH:FB=\EOI:\
-	:FC=\EOJ:FD=\ENO:FE=\ENP:FF=\ENQ:FG=\ENR:FH=\ENS:FI=\ENT:\
-	:FJ=\EOq:FK=\EOr:F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-	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:ll=\E[24H:mb=\E[5m:md=\E[1m:\
-	:me=\E[m\017:mh=\E[2m:mk=\E[8m:mr=\E[7m:nd=\E[C:nw=\EE:\
-	:pf=\E[?4i:..pn=\E[%p1%d;0;0;0q%p2%\:-16.16s:po=\E[?5i:\
-	:ps=\E[i:\
-	:..px=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s:\
-	:r1=\Ec\E[?3;5l\E[56;0|:rc=\E8:\
-	:..rp=%p1%c\E[%p2%{1}%-%db:\
-	:..sa=\E[0%?%p6%t;1%;%?%p5%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;:\
-	:sc=\E7:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
-	:ts=\E7\E[99;%i%dx:ue=\E[24m:up=\E[A:us=\E[4m:\
-	:vb=\E[?5h\E[?5l:ve=\E[?25h\E[?12l:vi=\E[?25l:\
+	:k8=\EOj:k9=\ENo:kD=\E[P:kI=\E[@:kN=\E[U:kP=\E[V:kb=^H:\
+	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:ll=\E[24H:\
+	:mb=\E[5m:md=\E[1m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:\
+	:nw=\EE:rc=\E8:sc=\E7:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:\
+	:st=\EH:ta=^I:ts=\E7\E[99;%i%dx:ue=\E[24m:up=\E[A:\
+	:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h\E[?12l:vi=\E[?25l:\
 	:vs=\E[?12;25h:
 
 # This entry was modified 3/13/90 by JWE.
@@ -11814,198 +7845,38 @@
 # 102, 102+1, or 122 key keyboards
 #       kHOM=\E[2J,
 # (att730: I added <rmam>/<smam> based on the init string -- esr)
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
+# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 att730|AT&T 730 windowing terminal:\
-	:NP:am:da:db:es:hs:mi:ms:xn:xo:\
-	:Nl#24:co#80:it#8:lh#2:li#60:lm#0:lw#8:ws#80:\
-	:#4=\E[ @:%i=\E[ A:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
-	:DO=\E[%dB:F1=\ENq:F2=\ENr:F3=\ENs:F4=\ENt:F5=\ENu:F6=\ENv:\
-	:F7=\ENw:F8=\ENx:F9=\ENy:FA=\ENz:FB=\EN{:FC=\EN|:FD=\EN}:\
-	:FE=\EN~:FF=\EOC:FG=\EOD:FH=\EOE:FI=\EOF:FJ=\EOG:FK=\EOH:\
-	:FL=\EOI:FM=\EOJ:FN=\ENO:FO=\ENP:FP=\ENQ:FQ=\ENR:FR=\ENS:\
-	:FS=\ENT:FT=\EOU:FU=\EOV:FV=\EOW:FW=\EOX:FX=\EOY:FY=\EOZ:\
-	:FZ=\EO[:Fa=\EO\s:Fb=\EO]:Fc=\EO^:IC=\E[%d@:LE=\E[%dD:\
-	:LF=\E[?13h:LO=\E[?13l:RA=\E[?7l:RI=\E[%dC:RX=\E[?21l:\
-	:SA=\E[?7h:SX=\E[?21h:UP=\E[%dA:ZF=\E#6:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:dc=\E[P:\
-	:dl=\E[M:do=\E[B:eA=\E(B\E)0:ei=\E[4l:fs=\E8:ho=\E[H:\
-	:i1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)B:\
-	:i2=\E(B\E)0:im=\E[4h:is=\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[%p1%d;0;0;0q%p2%\:-16.16s:\
-	:po=\E[?5i:ps=\E[?19h\E[0i:\
-	:..px=\E[%?%p1%{25}%<%t%p1%e%p1%{24}%-%;%d;%p2%l%02d%?%p1%{25}%<%tq   SYS     F%p1%\:-2d  %e;0;3q%;%p2%s:\
-	:rc=\E8:..rp=%p1%c\E[%p2%{1}%-%db:rs=\Ec\E[?3l:\
-	:..sa=\E[0%?%p6%t;1%;%?%p5%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;:\
-	:sc=\E7:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:\
-	:ts=\E7\E[;%i%dx:ue=\E[24m:up=\E[A:us=\E[4m:\
-	:vb=\E[?5h\E[?5l:ve=\E[?25h\E[?12l:vi=\E[?25l:\
-	:vs=\E[?12;25h:\
-	:..xl=\E[%p1%d;%p2%l%02d;0;0q%p3%\:-16.16s%p2%s:
+	:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:k9=\ENo:kI=\E[@:\
+	:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
+	:mb=\E[5m:md=\E[1m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:\
+	:nw=\EE:rc=\E8:rs=\Ec\E[?3l:sc=\E7:se=\E[27m:sf=\ED:\
+	:so=\E[7m:sr=\EM:ta=^I:ts=\E7\E[;%i%dx:ue=\E[24m:up=\E[A:\
+	:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h\E[?12l:vi=\E[?25l:\
+	:vs=\E[?12;25h:
+att730-41|730MTG-41|AT&T 730-41 windowing terminal Version:\
+	:li#41:tc=att730:
+att730-24|730MTG-24|AT&T 730-24 windowing terminal Version:\
+	:li#24:tc=att730:
 att730r|730MTGr|AT&T 730 rev video windowing terminal Version:\
-	:NP:am:da:db:es:hs:mi:ms:xn:xo:\
-	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A:us=\E[4m:\
-	:vb=\E[?5l\E[?5h:ve=\E[?25h\E[?12l:vi=\E[?25l:\
-	:vs=\E[?12;25h:\
-	:..xl=\E[%p1%d;%p2%l%02d;0;0q%p3%\:-16.16s%p2%s:
+	:li#24:tc=att730r:
 
 # The following represents the screen layout along with the associated
 # bezel buttons for the 5430/pt505 terminal. The "kf" designations do
@@ -12174,10 +8045,10 @@
 	:co#80:it#8:li#24:\
 	:&2=\E[27s:@4=\E!:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
 	:F8=\E[18s:F9=\E[19s:FA=\E[20s:FB=\E[21s:FC=\E[22s:\
-	:FD=\E[23s:FE=\E24s:FG=\E26s:LE=\E[%dD:RA=\E[11;1j:\
+	:FD=\E[23s:FE=\E[24s:FG=\E[26s:LE=\E[%dD:RA=\E[11;1j:\
 	:RI=\E[%dC:SA=\E[11;0j:UP=\E[%dA:\
 	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:cb=\E2K:cd=\E[0J:\
+	:ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:cb=\E[2K:cd=\E[0J:\
 	:ce=\E[0K:cl=\E[2J\E[H:cm=\E[%d;%dH:cr=^M:dc=\E[P:dl=\E[M:\
 	:do=\E[B:ei=\E[4l:ho=\E[H:\
 	:i1=\EPr\\E[0u\E[2J\E[0;0H\E[m\E[3l\E[<l\E[4l\E[>l\E[=l\E[?l:\
@@ -12191,40 +8062,17 @@
 # The following Terminfo entry describes functions which are supported by
 # the AT&T 5430/pt505 terminal software version 1.
 att505-24|pt505-24|gs5430-24|AT&T PT505 or 5430 GETSET version 1 24 lines:\
-	:am:xo:\
-	:co#80:it#8:li#24:\
-	:&2=\E[27s:@4=\E!:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
-	:F8=\E[18s:F9=\E[19s:FA=\E[20s:FB=\E[21s:FC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2J\E[H:cm=\E[%d;%dH:cr=^M:dc=\E[P:dl=\E[M:\
-	:do=\E[B:ei=\E[4l:ho=\E[H:\
-	:i1=\EPr\\E[0u\E[2J\E[0;0H\E[m\E[3l\E[<l\E[4l\E[>l\E[=l\E[?l:\
-	:im=\E[4h:k0=\E[00s:k1=\E[01s:k2=\E[02s:k3=\E[03s:\
-	:k4=\E[04s:k5=\E[05s:k6=\E[06s:kb=^H:kd=\E[B:kl=\E[D:\
-	:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[m:\
-	:mr=\E[7m:nd=\E[C:pf=\E[4i:po=\E[5i:r1=\Ec:rc=\E8:sc=\E7:\
-	:se=\E[m:sf=^J:so=\E[1m:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:\
-	:ve=\E[>l:vs=\E[>h:
+	:li#22:tc=att505:
+#
+#### ------------------ TERMINFO FILE CAN BE SPLIT HERE ---------------------
+# This cut mark helps make life less painful for people running ncurses tic
+# on machines with relatively little RAM.  The file can be broken in half here
+# cleanly and compiled in sections -- no `use' references cross this cut
+# going forward.
+#
 
 #### Ampex (Dialogue)
 #
@@ -12256,26 +8104,19 @@
 # some people and some systems may not, there is another termcap ("ampex175")
 # that suppresses this little eccentricity by omitting the relevant capability.
 ampex175-b|ampex d175 using left arrow for erase:\
-	:am:\
-	:co#80:li#24:\
-	:al=\EE:bl=^G:cd=\Ey:ce=\Et:cl=\E+:cm=\E=%+ %+ :cr=^M:\
-	:dc=\EW:dl=\ER:do=^J:ei=:ho=^^:ic=\EQ:im=:is=\EX\EA\EF:\
-	:kA=\EE:kD=\EW:kI=\EQ:kL=\ER:kb=^_:kd=^J:kh=^^:kl=^H:kr=^L:\
-	:ku=^K:le=^H:ll=^^^K:nd=^L:se=\Ek:sf=^J:so=\Ej:te=\EF:ti=\EN:\
-	:ue=\Em:up=^K:us=\El:
+	:kb=^_:tc=ampex175:
 # From: Richard Bascove <atd!dsd!rcb@ucbvax.berkeley.edu>
 # (ampex210: removed obsolete ":kn#10:" -- esr)
 ampex210|a210|ampex a210:\
 	:am:bs:hs:xn:\
-	:co#80:it#8:li#24:sg#1:ug#1:\
+	:co#80:it#8:li#24:sg#1:\
 	:al=\EE:bt=\EI:cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :dc=\EW:\
 	:dl=\ER:ei=:fs=\E.2:ho=^^:ic=\EQ:if=/usr/share/tabset/std:\
 	:im=:is=\EC\Eu\E'\E(\El\EA\E%\E{\E.2\EG0\Ed\En:\
 	:k0=^A0\r:k1=^A1\r:k2=^A2\r:k3=^A3\r:k4=^A4\r:k5=^A5\r:\
 	:k6=^A6\r:k7=^A7\r:k8=^A8\r:k9=^A9\r:kd=^V:kh=^^:kl=^H:\
-	:kr=^L:ku=^K:le=^H:me=\EG0:mr=\EG4:nd=^L:se=\EG0:so=\EG4:\
-	:ta=^I:ts=\E.0\Eg\E}\Ef:ue=\EG0:up=^K:us=\EG8:\
-	:vb=\EU\EX\EU\EX\EU\EX\EU\EX:
+	:kr=^L:ku=^K:le=^H:mk@:nd=^L:ta=^I:ts=\E.0\Eg\E}\Ef:up=^K:\
+	:vb=\EU\EX\EU\EX\EU\EX\EU\EX:tc=adm+sgr:
 # (ampex219: I added <rmam>/<smam> based on the init string, added :vs:
 # from ampex219w, added :ve:=\E[?3l, irresistibly suggested by :vs:,
 # and moved the padding to be *after* the caps -- esr)
@@ -12292,37 +8133,22 @@
 	:me=\E[m:mh=\E[1m:mr=\E[7m:nd=\E[C:se=\E[m:sf=^J:so=\E[7m:\
 	:sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[?3l:vs=\E[?3h:
 ampex219w|ampex-219w|amp219w|Ampex 132 cols:\
-	:hs:xn:\
-	:co#132:it#8:li#24:\
-	:RA=\E[?7l:SA=\E[?7h:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
-	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=%i\E[%2;%2r:do=^J:\
-	:ho=\E[H:is=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h:\
-	:k0=\E[21~:k1=\E[7~:k2=\E[8~:k3=\E[9~:k4=\E[10~:k5=\E[11~:\
-	:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kd=\E[B:ke=\E>:\
-	:kh=\E[H:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=^H:mb=\E[5m:\
-	:md=\E[1m:me=\E[m:mh=\E[1m:mr=\E[7m:nd=\E[C:se=\E[m:sf=^J:\
-	:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[?3l:\
-	:vs=\E[?3h:
+	:co#132:li#24:\
+	:bl=^G:cr=^M:do=^J:is=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h:\
+	:sf=^J:tc=ampex219:
 # (ampex232: removed :if=/usr/share/tabset/ampex:, no file and no :st: --esr) 
 ampex232|ampex-232|Ampex Model 232:\
 	:am:\
-	:co#80:li#24:sg#1:ug#1:\
+	:co#80:li#24:sg#1:\
 	:al=5*\EE:bt=\EI:cd=\EY:ce=\ET:cl=\E+:cm=\E=%+ %+ :dc=\EW:\
 	:dl=5*\ER:do=^V:ei=:ic=\EQ:im=:is=\Eg\El:k0=^A@\r:k1=^AA\r:\
 	:k2=^AB\r:k3=^AC\r:k4=^AD\r:k5=^AE\r:k6=^AF\r:k7=^AG\r:\
 	:k8=^AH\r:k9=^AI\r:kb=^H:kd=^V:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:\
-	:me=\EG0:mr=\EG4:nd=^L:se=\EG0:so=\EG4:ta=^I:ue=\EG0:up=^K:\
-	:us=\EG8:vb=\Eb\Ed:ve=\E.4:vi=\E.0:
+	:mk@:nd=^L:ta=^I:up=^K:vb=\Eb\Ed:ve=\E.4:vi=\E.0:tc=adm+sgr:
 # (ampex: removed :if=/usr/share/tabset/amp-132:, no file and no :st: -- esr) 
 ampex232w|Ampex Model 232 / 132 columns:\
-	:am:\
-	:co#132:li#24:sg#1:ug#1:\
-	:al=5*\EE:bt=\EI:cd=\EY:ce=\ET:cl=\E+:cm=\E=%+ %+ :dc=\EW:\
-	:dl=5*\ER:do=^V:ei=:ic=\EQ:im=:is=\E\034Eg\El:k0=^A@\r:\
-	:k1=^AA\r:k2=^AB\r:k3=^AC\r:k4=^AD\r:k5=^AE\r:k6=^AF\r:\
-	:k7=^AG\r:k8=^AH\r:k9=^AI\r:kb=^H:kd=^V:kh=^^:kl=^H:kr=^L:\
-	:ku=^K:le=^H:me=\EG0:mr=\EG4:nd=^L:se=\EG0:so=\EG4:ta=^I:\
-	:ue=\EG0:up=^K:us=\EG8:vb=\Eb\Ed:ve=\E.4:vi=\E.0:
+	:co#132:li#24:\
+	:is=\E\034Eg\El:tc=ampex232:
 
 #### Ann Arbor (aa)
 #
@@ -12476,29 +8302,27 @@
 #   3. Number of lines below (outside of) desired scroll region.
 #   4. Total number of lines on the screen, the same as the first parameter.
 # The generic Ann Arbor entry is the only one that uses this.
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
+# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 aaa+unk|aaa-unk|ann arbor ambassador (internal - don't use this directly):\
-	:5i:am:bs:km:mi:xo:\
+	:am:bs:km:mi:xo:\
 	:co#80:it#8:\
-	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\EOK:F2=\EOL:\
-	:F3=\EOM:F4=\EON:F5=\EOO:F6=\EOP:F7=\EOQ:F8=\EOR:F9=\EOS:\
-	:FA=\EOT:FB=\EOU:FC=\EOV:FD=\EOW:FE=\EOX:IC=\E[%d@:\
+	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
 	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:bt=\E[Z:\
-	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\
 	:ho=\E[H:i1=\E[7m\E7\E[H\E9\E8:mb=\E[5;7m:md=\E[1;7m:\
@@ -13595,52 +8519,26 @@
 # Regent 100 has a bug where if computer sends escape when user is holding
 # down shift key it gets confused, so we avoid escape.
 regent100|Adds Regent 100:\
-	:am:bs:\
-	:co#80:li#24:sg#1:ug#1:\
-	:bl=^G:cl=^L:cm=\013%+ %+^F20%.:cr=^M:do=^J:ho=\EY\s\s:\
-	:k0=^B1\r:k1=^B2\r:k2=^B3\r:k3=^B4\r:k4=^B5\r:k5=^B6\r:\
-	:k6=^B7\r:k7=^B8\r:l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:\
-	:l7=F8:le=^U:ll=^A:me=\E0@:nd=^F:se=\E0@:sf=^J:so=\E0P:\
-	:ue=\E0@:up=^Z:us=\E0`:
+	:sg#1:ug#1:\
+	:bl=^G:cm=\013%+ \020%B%.:k0=^B1\r:k1=^B2\r:k2=^B3\r:\
+	:k3=^B4\r:k4=^B5\r:k5=^B6\r:k6=^B7\r:k7=^B8\r:l0=F1:l1=F2:\
+	:l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:me=\E0@:se=\E0@:so=\E0P:\
+	:ue=\E0@:us=\E0`:tc=regent:
 regent20|Adds Regent 20:\
-	:am:bs:\
-	:co#80:li#24:\
-	:bl=^G:cd=\Ek:ce=\EK:cl=^L:cm=\EY%+ %+ :cr=^M:do=^J:\
-	:ho=\EY\s\s:le=^U:ll=^A:nd=^F:sf=^J:up=^Z:
+	:bl=^G:cd=\Ek:ce=\EK:cm=\EY%+ %+ :tc=regent:
 regent25|Adds Regent 25:\
-	:am:bs:\
-	:co#80:li#24:\
-	:bl=^G:cd=\Ek:ce=\EK:cl=^L:cm=\EY%+ %+ :cr=^M:do=^J:\
-	:ho=\EY\s\s:kd=^J:kh=^A:kl=^U:kr=^F:ku=^Z:le=^U:ll=^A:nd=^F:\
-	:sf=^J:up=^Z:
+	:bl=^G:kd=^J:kh=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\
-	:am:bs:\
-	:co#80:li#24:sg#1:ug#1:\
-	:al=\EM:bl=^G:cd=\Ek:ce=\EK:cl=^L:cm=\EY%+ %+ :cr=^M:dc=\EE:\
-	:dl=\El:do=^J:ei=\EF:ho=\EY\s\s:im=\EF:is=\EV\EB:k0=^B1\r:\
-	:k1=^B2\r:k2=^B3\r:k3=^B4\r:k4=^B5\r:k5=^B6\r:k6=^B7\r:\
-	:k7=^B8\r:kD=\EE:kI=\EF:kM=\EF:kd=^J:kh=^A:kl=^U:kr=^F:ku=^Z:\
-	:l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:le=^U:ll=^A:\
-	:me=\E0@:nd=^F:se=\ER\E0@\EV:sf=^J:so=\ER\E0P\EV:ue=\E0@:\
-	:up=^Z:us=\E0`:
+	:dc=\EE:ei=\EF:im=\EF:is=\EV\EB:kD=\EE:kI=\EF:kM=\EF:\
+	:se=\ER\E0@\EV:so=\ER\E0P\EV:tc=regent40+:
 # From: <edward@onyx.berkeley.edu> Thu Jul  9 09:27:33 1981
 # (viewpoint: added :kr:, function key, and :dl: capabilities -- esr)
 viewpoint|addsviewpoint|adds viewpoint:\
@@ -13652,12 +8550,7 @@
 	:ue=^O:up=^Z:us=^N:ve=\017\E0`:vs=\017\E0P:
 # Some viewpoints have bad ROMs that foo up on ^O
 screwpoint|adds viewpoint with ^O bug:\
-	:am:bs:\
-	:co#80:li#24:\
-	:bl=^G:cd=\Ek:ce=\EK:cl=^L:cm=\EY%+ %+ :cr=^M:dl=\El:do=^J:\
-	:is=\017\E0`:k0=^B1:k2=^B2:k3=^B!:k4=^B":k5=^B#:kd=^J:kh=^A:\
-	:kl=^U:kr=^F:ku=^Z:le=^H:ll=^A:me=^O:nd=^F:sf=^J:up=^Z:\
-	:ve=\017\E0`:
+	:se@:so@:ue@:us@:vs@:tc=viewpoint:
 
 # From: Jay S. Rouman <jsr@dexter.mi.org> 5 Jul 92
 # The :vi:/:ve:/:sa:/:me: strings were added by ESR from specs.  
@@ -13673,14 +8566,7 @@
 	:..sa=\E0%{64}%?%p1%tQ%|%;%?%p2%t%{96}%|%;%?%p3%tP%|%;%?%p4%t%{2}%|%;%?%p5%t%{1}%|%;%?%p7%tD%|%;%c\E):\
 	:se=\E(:sf=^J:so=\E0Q\E):ta=^I:up=^K:ve=^X:vi=^W:
 vp60|viewpoint60|addsvp60|adds viewpoint60:\
-	:am:bs:\
-	:co#80:li#24:sg#1:ug#1:\
-	:al=\EM:bl=^G:cd=\Ek:ce=\EK:cl=^L:cm=\EY%+ %+ :cr=^M:dl=\El:\
-	:do=^J:ho=\EY\s\s:k0=^B1\r:k1=^B2\r:k2=^B3\r:k3=^B4\r:\
-	:k4=^B5\r:k5=^B6\r:k6=^B7\r:k7=^B8\r:kd=^J:kh=^A:kl=^U:\
-	:kr=^F:ku=^Z:l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:\
-	:le=^U:ll=^A:me=\E0@:nd=^F:se=\E0@:sf=^J:so=\E0P:ue=\E0@:\
-	:up=^Z:us=\E0`:
+	:tc=regent40:
 #
 # adds viewpoint 90 - from cornell
 # Note:  emacs sends ei occasionally to insure the terminal is out of
@@ -13713,183 +8599,12 @@
 	:k6=\E6:k7=\E7:k8=\E8:k9=\E9:le=^H:me=^O:nd=\E^E01:se=^O:\
 	:sf=^J:so=^Y^^^N:
 
-# Beehive documentation is undated and marked Preliminary and has no figures
-# so we must have early Superbee2 (Model 600, according to phone conversation
-# with mfr.). It has proved reliable except for some missing padding
-# (notably after \EK and <nl> at bottom of screen).
-# 
-# The key idea is that AEP mode is poison for :cm: & that US's in 
-# the local memory should be avoided like the plague. That means 
-# that the 2048 character local buffer is used as 25 lines of 80 
-# characters, period. No scrolling local memory, folks. It also 
-# appears that we cannot use naked INS LINE feature since it uses
-# US. The sbi fakes :al: with an 80-space insert that may be too 
-# slow at low speeds; also spaces get converted to \040 which is 
-# too long for some programs (not vi).  DEL LINE is ok but slow.
-# 
-# The <nl> string is designed for last line of screen ONLY; cup to 
-# 25th line corrects the motion inherent in scrolling to Page 1.
-# 
-# There is one understood bug. It is that the screen appears to
-# pop to a new (blank) page after a :nw:, or leave a half-line 
-# ellipsis to a quad that is the extra 48 memory locations. The 
-# data received is dumped into memory but not displayed.  Not to 
-# worry if :cm: is being used; the lines not displayed will be, 
-# whenever the cursor is moved up there. Since :cm: is addressed 
-# relative to MEMORY of window, nothing is lost; but beware of 
-# relative cursor motion (:up:,:do:,:nd:,:le:). Recommended,
-# therefore, is setenv MORE -c .
-# 
-# WARNING: Not all features tested.
-# 
-# Timings are assembled from 3 sources. Some timings may reflect 
-# SB2/Model 300 that were used if more conservative.
-# Tested on a Model 600 at 1200 and 9600 bd.
-# 
-# The BACKSPACEkb option is cute. The NEWLINE key, so cleverly 
-# placed on the keyboard and useless because of AEP, is made 
-# into a backspace key. In use ESC must be pressed twice (to send)
-# and sending ^C must be prefixed by ESC to avoid that weird 
-# transmit mode associated with ENTER key.
-# 
-# IF TERMINAL EVER GOES CATATONIC with the cursor buzzing across 
-# the screen, then it has dropped into ENTER mode; hit 
-# RESET--ONLINE--!tset.
-# 
-# As delivered this machine has a FATAL feature that will throw 
-# it into that strange transmit state (SPOW) if the space bar is 
-# hit after a CR is received, but before receiving a LF (or a 
-# few others).
-# 
-# The circuits MUST be modified to eliminate the SPOW latch. 
-# This is done by strapping on chip A46 of the I/O board; cut 
-# the p.c. connection to Pin 5 and strap Pin 5 to Pin 8 of that 
-# chip. This mod has been checked out on a Mod 600 of Superbee II.
-# With this modification absurdly high timings on cr are 
-# unnecessary.
-# 
-# NOTE WELL that the rear panel switch should be set to CR/LF, 
-# not AEP!
-#
-sb1|beehive superbee:\
-	:am:bs:bw:da:db:mi:ul:xb:\
-	:co#80:li#25:sg#1:ug#1:\
-	:al=\EN\EL\EQ                                                                                \EP \EO\ER\EA:\
-	:bl=^G:bt=\E`:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EF%r%03%03:cr=\r:\
-	:ct=\E3:dc=\EP:dl=\EM:do=^J:ei=\ER:ho=\EH:im=\EQ\EO:\
-	:is=\EE\EX\EZ\EO\Eb\Eg\ER:k0=\E2:k1=\Ep:k2=\Eq:k3=\Er:\
-	:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:k9=\E1:kE=\EK:kI=\EQ\EO:\
-	:kL=\EM:kM=\ER:kS=\EJ:kb=^_:kd=\EB:kh=\EH:kl=\ED:kr=\EC:\
-	:ku=\EA:l0=TAB CLEAR:l9=TAB SET:le=^H:me=\E_3:nd=\EC:\
-	:se=\E_3:sf=^J:so=\E_1:st=\E1:ta=^I:te=:ti=\EO:ue=\E_3:\
-	:up=\EA:us=\E_0:
-sbi|superbee|beehive superbee at Indiana U.:\
-	:am:bs:bw:da:db:mi:ul:xb:\
-	:co#80:li#25:sg#1:ug#1:\
-	:al=1\EN\EL\EQ \EP \EO\ER\EA:bl=^G:bt=\E`:cd=\EJ:ce=\EK:\
-	:cl=\EH\EJ:cm=\EF%r%03%03:cr=\r:ct=\E3:dc=\EP:dl=\EM:do=^J:\
-	:ei=\ER:ho=\EH:im=\EQ\EO:is=\EE\EX\EZ\EO\Eb\Eg\ER:k0=\E2:\
-	:k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:\
-	:k9=\E1:kE=\EK:kI=\EQ\EO:kL=\EM:kM=\ER:kS=\EJ:kb=^_:kd=\EB:\
-	:kh=\EH:kl=\ED:kr=\EC:ku=\EA:l0=TAB CLEAR:l9=TAB SET:le=^H:\
-	:me=\E_3:nd=\EC:se=\E_3:sf=^J:so=\E_1:st=\E1:ta=^I:te=:\
-	:ti=\EO:ue=\E_3:up=\EA:us=\E_0:
-# Alternate (older) description of Superbee - f1=escape, f2=^C.
-# Note: there are at least 3 kinds of superbees in the world.  The sb1
-# holds onto escapes and botches ^C's.  The sb2 is the best of the 3.
-# The sb3 puts garbage on the bottom of the screen when you scroll with
-# the switch in the back set to CRLF instead of AEP.  This description
-# is tested on the sb2 but should work on all with either switch setting.
-# The f1/f2 business is for the sb1 and the :xb: can be taken out for
-# the other two if you want to try to hit that tiny escape key.
-# This description is tricky: being able to use cup depends on there being
-# 2048 bytes of memory and the hairy <nl> string.
-superbee-xsb|beehive super bee:\
-	:am:da:db:xb:\
-	:co#80:it#8:li#25:\
-	:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EF%r%3%3:cr=\r:ct=\E3:dc=\EP:\
-	:dl=\EM:do=^J:ho=\EH:is=\EH\EJ:k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:\
-	:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:kd=\EB:kh=\EH:kl=\ED:kr=\EC:\
-	:ku=\EA:le=^H:me=\E_3:nd=\EC:se=\E_3:\
-	:sf=\n\0\0\0\n\0\0\0\EA\EK\0\0\0\ET\ET:so=\E_1:st=\E1:\
-	:ta=^I:up=\EA:ve=^J:
-# This loses on lines > 80 chars long, use at your own risk
-superbeeic|super bee with insert char:\
-	:am:da:db:xb:\
-	:co#80:it#8:li#25:\
-	:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EF%r%3%3:cr=\r:ct=\E3:dc=\EP:\
-	:dl=\EM:do=^J:ei=\ER:ho=\EH:ic=:im=\EQ:is=\EH\EJ:k1=\Ep:\
-	:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:kd=\EB:\
-	:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:me=\E_3:nd=\EC:se=\E_3:\
-	:sf=\n\0\0\0\n\0\0\0\EA\EK\0\0\0\ET\ET:so=\E_1:st=\E1:\
-	:ta=^I:up=\EA:ve=^J:
-sb2|sb3|fixed superbee:\
-	:am:bs:bw:da:db:mi:ul:\
-	:co#80:li#25:sg#1:ug#1:\
-	:al=1\EN\EL\EQ \EP \EO\ER\EA:bl=^G:bt=\E`:cd=\EJ:ce=\EK:\
-	:cl=\EH\EJ:cm=\EF%r%03%03:cr=\r:ct=\E3:dc=\EP:dl=\EM:do=^J:\
-	:ei=\ER:ho=\EH:im=\EQ\EO:is=\EE\EX\EZ\EO\Eb\Eg\ER:k0=\E2:\
-	:k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:\
-	:k9=\E1:kE=\EK:kI=\EQ\EO:kL=\EM:kM=\ER:kS=\EJ:kb=^_:kd=\EB:\
-	:kh=\EH:kl=\ED:kr=\EC:ku=\EA:l0=TAB CLEAR:l9=TAB SET:le=^H:\
-	:me=\E_3:nd=\EC:se=\E_3:sf=^J:so=\E_1:st=\E1:ta=^I:te=:\
-	:ti=\EO:ue=\E_3:up=\EA:us=\E_0:
-
-####  Beehive Medical Electronics
-#
-# Steve Seymour <srseymour@mindspring.com> writes (Wed, 03 Feb 1999):
-# Regarding your question though; Beehive terminals weren't made by Harris.
-# They were made by Beehive Medical Electronics in Utah. They went out of
-# business in the early '80s.
-#
-# (OK, then, I don't know why a couple of these say "harris beehive".)
-#
-
-# Reports are that most of these Beehive entries (except superbee) have not
-# been tested and do not work right.  :se: is a trouble spot.  Be warned.
-
-# (bee: :ic: was empty, which is obviously bogus -- esr)
-beehive|bee|harris beehive:\
-	:am:bs:mi:\
-	:co#80:li#24:\
-	:al=\EL:bt=\E>:cd=\EJ:ce=\EK:cl=\EE:cm=\EF%+ %+ :dc=\EP:\
-	:dl=\EM:do=\EB:ei=\E@:ho=\EH:im=\EQ:kA=\EL:kB=\E>:kC=\EE:\
-	:kD=\EP:kE=\EK:kI=\EQ:kL=\EM:kM=\E@:kb=^H:kd=\EB:kh=\EH:\
-	:kl=\ED:kr=\EC:ku=\EA:le=^H:me=\Ed@:nd=\EC:se=\Ed@:so=\EdP:\
-	:ue=\Ed@:up=\EA:us=\Ed`:
-# set tab is ^F, clear (one) tab is ^V, no way to clear all tabs.
-# good grief - does this entry make :sg:/:ug: when it doesn't have to?
-# look at those spaces in :se:/:so:.  Seems strange to me...
-# (beehive: :if=/usr/share/tabset/beehive: removed, no such file.  If you
-# really care, cook up one using ^F -- esr)
-beehive3|bh3m|beehiveIIIm|harris beehive 3m:\
-	:am:bs:\
-	:co#80:it#8:li#20:\
-	:al=\023:bl=^G:cd=^R:ce=^P:cl=^E^R:cr=^M:dl=\021:do=^J:ho=^E:\
-	:le=^H:ll=^E^K:nd=^L:se=\s^_:sf=^J:so=^]\s:st=^F:ta=^I:up=^K:
-beehive4|bh4|beehive 4:\
-	:am:\
-	:co#80:li#24:\
-	:bl=^G:cd=\EJ:ce=\EK:cl=\EE:cr=^M:do=^J:ho=\EH:le=\ED:nd=\EC:\
-	:sf=^J:up=\EA:
-# There was an early Australian kit-built computer called a "Microbee".
-# It's not clear whether this is for one of those or for a relative
-# of the Beehive.
-microb|microbee|micro bee series:\
-	:am:bs:\
-	:co#80:it#8:li#24:\
-	:bl=^G:cd=\EJ:ce=\EK:cl=\EE:cm=\EF%+ %+ :cr=^M:do=^J:k1=\Ep:\
-	:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:k9=\Ex:\
-	:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:me=\Ed@:nd=\EC:\
-	:se=\Ed@:sf=^J:so=\s\EdP:ta=^I:ue=\Ed@:up=\EA:us=\Ed`:
-
 #### C. Itoh Electronics
 #
 # As of 1995 these people no longer make terminals (they're still in the
 # printer business).  Their terminals were all clones of the DEC VT series.
 # They're located in Orange County, CA.
 #
-#% C.Itoh: andy@cie.co.uk (Andy Hardy)
 
 # CIT 80  - vt-52 emulator, the termcap has been modified to remove
 #           the delay times and do an auto tab set rather than the indirect
@@ -13963,35 +8678,15 @@
 	:u8=\E[?6c:u9=\E[c:ue=\E[m:up=\E[A:us=\E[4m:\
 	:vb=200\E[?5l\E[?5h:ve=\E[0;3;4v:vi=\E[1v:vs=\E[3;5v:
 cit101e-n|CIT-101e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#24:\
-	:ac=:ae=^O:al=\E[L:as=^N:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
-	:cm=\E[%i%2;%2H:cs=\E[%i%2;%2r:dc=\E[P:dl=\E[M:do=\E[B:\
-	:ei=\E[4l:if=/usr/share/tabset/vt100:im=\E[4h:k0=\EOT:\
-	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOm:k6=\EOl:k7=\EOM:\
-	:k8=\EOn:kb=^H:kd=^J:ke=\E>:kl=^H:kr=\E[C:ks=\E=:ku=\E[A:\
-	:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:so=\E[7m:sr=\EM:ue=\E[m:\
-	:up=\E[A:us=\E[4m:ve=:vs=\E[?1l\E[?4l\E[?7l:
+	:am@:\
+	:co#132:\
+	:kb=^H:kd=^J:kl=^H:vs=\E[?1l\E[?4l\E[?7l:tc=cit101e:
 # CIE Terminals CIT-500 from BRL
 # The following SET-UP modes are assumed for normal operation:
 #	GENERATE_XON/XOFF:YES	DUPLEX:FULL		NEWLINE:OFF
@@ -14024,48 +8719,30 @@
 
 # C. Itoh printers begin here
 citoh|ci8510|8510|c.itoh 8510a:\
-	:bs:hc:os:\
-	:co#80:it#8:li#66:\
-	:bl=^G:cr=^M:do=^J:ff=^L:\
-	:is=\E(009,017,025,033,041,049,057,065,073.:md=\E!:\
-	:me=\E"\EY:rp=\ER%r%03%.:sf=^J:sr=\Er:ue=\EY:us=\EX:
+	:co#80:it#8:\
+	:is=\E(009,017,025,033,041,049,057,065,073.:le@:md=\E!:\
+	:me=\E"\EY:rp=\ER%r%03%.:sr=\Er:ue=\EY:us=\EX:tc=lpr:
 citoh-pica|citoh in pica:\
-	:bs:hc:os:\
-	:co#80:it#8:li#66:\
-	:bl=^G:cr=^M:do=^J:ff=^L:i1=\EN:\
-	:is=\E(009,017,025,033,041,049,057,065,073.:md=\E!:\
-	:me=\E"\EY:rp=\ER%r%03%.:sf=^J:sr=\Er:ue=\EY:us=\EX:
+	:i1=\EN:tc=citoh:
 citoh-elite|citoh in elite:\
-	:bs:hc:os:\
-	:co#96:it#8:li#66:\
-	:bl=^G:cr=^M:do=^J:ff=^L:i1=\EE:\
+	:co#96:\
+	:i1=\EE:\
 	:is=\E(009,017,025,033,041,049,057,065,073,081,089.:\
-	:md=\E!:me=\E"\EY:rp=\ER%r%03%.:sf=^J:sr=\Er:ue=\EY:us=\EX:
+	:tc=citoh:
 citoh-comp|citoh in compressed:\
-	:bs:hc:os:\
-	:co#136:it#8:li#66:\
-	:bl=^G:cr=^M:do=^J:ff=^L:i1=\EQ:\
+	:co#136:\
+	:i1=\EQ:\
 	:is=\E(009,017,025,033,041,049,057,065,073,081,089,097,105,113,121,129.:\
-	:md=\E!:me=\E"\EY:rp=\ER%r%03%.:sf=^J:sr=\Er:ue=\EY:us=\EX:
+	:tc=citoh:
 # citoh has infinite cols because we don't want lp ever inserting \n\t**.
 citoh-prop|citoh-ps|ips|citoh in proportional spacing mode:\
-	:bs:hc:os:\
-	:co#32767:it#8:li#66:\
-	:bl=^G:cr=^M:do=^J:ff=^L:i1=\EP:\
-	:is=\E(009,017,025,033,041,049,057,065,073.:md=\E!:\
-	:me=\E"\EY:rp=\ER%r%03%.:sf=^J:sr=\Er:ue=\EY:us=\EX:
+	:co#32767:\
+	:i1=\EP:tc=citoh:
 citoh-6lpi|citoh in 6 lines per inch mode:\
-	:bs:hc:os:\
-	:co#80:it#8:li#66:\
-	:bl=^G:cr=^M:do=^J:ff=^L:i2=\EA:\
-	:is=\E(009,017,025,033,041,049,057,065,073.:md=\E!:\
-	:me=\E"\EY:rp=\ER%r%03%.:sf=^J:sr=\Er:ue=\EY:us=\EX:
+	:i2=\EA:tc=citoh:
 citoh-8lpi|citoh in 8 lines per inch mode:\
-	:bs:hc:os:\
-	:co#80:it#8:li#88:\
-	:bl=^G:cr=^M:do=^J:ff=^L:i2=\EB:\
-	:is=\E(009,017,025,033,041,049,057,065,073.:md=\E!:\
-	:me=\E"\EY:rp=\ER%r%03%.:sf=^J:sr=\Er:ue=\EY:us=\EX:
+	:li#88:\
+	:i2=\EB:tc=citoh:
 
 #### Control Data (cdc)
 #
@@ -14157,14 +8834,16 @@
 # non-conformant (but more featureful) ANSI mode.
 #
 # From: Stephen Peterson <stv@utrecht.ow.nl>, 27 May 1995
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
 visa50|geveke visa 50 terminal in ansi 80 character mode:\
 	:bw:mi:ms:\
 	:co#80:li#25:\
 	:AL=\E[%dL:DC=\E[%dX:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
 	:K1=\E[f:K2=\EOP:K3=\EOQ:K4=\EOR:K5=\EOS:LE=\E[%dD:\
-	:RA=\E[?7l:RI=\E[%dC:SA=\E?7h:UP=\E[%dA:\
-	:ac=0_aaffggjjkkllmmnnqqttuuvvwwxxh ooss:ae=\E[3l:\
-	:al=\E[L:as=\E3h:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%i%dG:\
+	:RA=\E[?7l:RI=\E[%dC:SA=\E?7h:UP=\E[%dA:ae=\E[3l:al=\E[L:\
+	:as=\E3h:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%i%dG:\
 	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
 	:ct=\E[3g:cv=\E[%i%dd:dc=\E[X:dl=\E[M:do=\E[B:ei=\E[4l:\
 	:ho=\E[H:ic=\E[@:im=\E[4h:\
@@ -14228,110 +8907,26 @@
 # No delays needed on c108 because of ^S/^Q handshaking
 #
 c108|concept108|c108-8p|concept108-8p|concept 108 w/8 pages:\
-	:am:bs:eo:es:hs:mi:ul:xn:xo:\
-	:co#80:li#24:vt#8:\
-	:ac=l\\qLkTxUmMjE:ae=\Ej\s:al=\E\022:as=\Ej!:bl=^G:\
-	:cd=\E\005:ce=\E\025:cl=\E?\E\005:\
-	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eo \036:\
-	:rp=\Er%.%+ :se=\Ed:sf=^J:so=\ED:ta=\011:\
-	:te=\Ev  ^A0\001D\Ep\r\n:ti=\EU\Ev  8\001D\Ep\r:\
-	:..ts=\E z"\E?\E\005\EE\Ea %+\s:ue=\Eg:up=\E;:us=\EG:\
-	:vb=\Ek\EK:ve=\Ew:vs=\EW:
+	:co#132:\
+	:i1=\E F\E":te=\Ev  ^A0\001D\Ep\r\n:\
+	:ti=\EU\Ev  8\001D\Ep\r:tc=c108-8p:
 
 # Concept 100:
 # These have only window relative cursor addressing, not screen 
@@ -14388,37 +8983,10 @@
 	:te=\Ev    \Ep\r\n:ti=\EU\Ev  8p\Ep\r\E\025:ue=\Eg:\
 	:up=\E;:us=\EG:vb=\Ek\EK:
 c100-rv|c100-rv-4p|concept100-rv|c100 rev video:\
-	:am:bs:eo:mi:ul:xn:\
-	:co#80:li#24:pb#9600:vt#8:\
-	:al=\E\022:bl=^G:cd=\E\005:ce=\E\025:cl=\E?\E\005:\
-	:cm=\Ea%+ %+ :cr=\r:dc=\E\021:dl=\E\002:do=^J:ei=\E\s\s:\
-	:i1=\Ek:i2=\Ev    \Ep\n:im=\E^P:ip=:\
-	:is=\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:\
-	:k1=\E5:k2=\E6:k3=\E7:k4=\E8:k5=\E9:k6=\E\:a:k7=\E\:b:\
-	:k8=\E\:c:kA=\E^R:kB=\E':kD=\E^Q:kE=\E^S:kF=\E[:kI=\E^P:\
-	:kL=\E^B:kM=\E\0:kN=\E-:kP=\E.:kR=\E\\:kS=\E^C:kT=\E]:kb=^H:\
-	:kd=\E<:ke=\Ex:kh=\E?:kl=\E>:kr=\E=:ks=\EX:kt=\E_:ku=\E;:\
-	:le=^H:mb=\EC:me=\EN@:mh=\EE:mk=\EH:mp=\EI:mr=\ED:nd=\E=:\
-	:pf=\036o \E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etics1.JMP.TJU.EDU>, 16-oct-1996.
 # Lots of notes, originally inline, but ncurses doesn't grok that.
@@ -14658,41 +9226,33 @@
 #	 therefore needs mc5i: specified to say so) and "auxilliary print"
 #	 (which does duplicate printed data on the screen, in which case mc4=
 #	 and mc5= should use the \E[?4i and \E[?5i strings instead).
-#
-# (esr: I have commented out is2 in order to avoid overflowing termcap's
-# 1024-byte limit.)
-
+
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
+# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
+# WARNING: this entry, 1130 bytes long, may core-dump older termcap libraries!
 hds200|Human Designed Systems HDS200:\
-	:5i:am:bw:es:hs:km:mi:ms:xn:xo:\
+	:am:bw:es:hs:km:mi:ms:xn:xo:\
 	:co#80:it#8:li#24:lm#0:\
-	:#2=\E$H:#4=\E$D:%i=\E$C:*4=\E$\177:@8=^M:AL=\E[%dL:\
-	:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=^\011\r:F2=^\012\r:\
-	:F3=\EOP:F4=\EOQ:F5=\EOR:F6=\EOS:F7=^\017\r:F8=^\018\r:\
-	:F9=^\019\r:FA=^\020\r:FB=^\021\r:FC=^\022\r:FD=^\023\r:\
-	:FL=^\031\r:FM=^\032\r:FN=^\033\r:FO=^\034\r:FP=^\035\r:\
-	:FQ=^\036\r:FR=^\037\r:FS=^\038\r:FT=^\039\r:FU=^\040\r:\
-	:FV=^\041\r:FW=^\042\r:FX=\E$P:FY=\E$Q:FZ=\E$R:Fa=\E$S:\
-	:Fb=^\047\r:Fc=^\048\r:Fd=^\049\r:Fe=^\050\r:Ff=^\051\r:\
-	:Fg=^\052\r:Fh=^\053\r:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:\
-	:UP=\E[%dA:ac=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cb=\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:is=\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+}:\
+	:k1=^\001\r:k2=^\002\r:k3=^\003\r:k4=^\004\r:k5=^\005\r:\
+	:k6=^\006\r:k7=^\007\r:k8=^\008\r:k9=^\009\r:kD=\177:\
+	:kN=\E[U:kP=\E[V:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:\
+	:ku=\E[A:le=\E[D:ll=\E[H\E[A:mb=\E[0;5m:md=\E[0;1m:\
+	:me=\E[m\017:mr=\E[0;7m:nd=\E[C:nw=\E[E:rc=\E8:sc=\E7:\
+	:se=\E[m\017:sf=\ED:so=\E[0;1;7m:sr=\EM:st=\EH:ta=^I:\
+	:ts=\E[2!w\E[%i%dG:ue=\E[m\017:up=\E[A:us=\E[0;4m:\
 	:ve=\E[+{:vi=\E[6+{:
 
 # :ta: through :ce: included to specify padding needed in raw mode.
 # (avt-ns: added empty <acsc> to suppress a tic warning --esr)
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
 avt-ns|concept avt no status line:\
 	:am:bs:eo:mi:ul:xn:xo:\
 	:co#80:it#8:li#24:lm#192:\
@@ -14700,84 +9260,25 @@
 	:RI=\E[%dC:UP=\E[%dA:ac=:ae=\016:al=\E[L:as=\017:bl=^G:\
 	:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%+^AG:cl=\E[H\E[J:\
 	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[2g:\
-	:cv=\E[%+^Ad:dc=\E[P:dl=\E[M:do=^J:ei=\E4l:ho=\E[H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se=\E[7!{:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=\011:\
+	:te=\E[w\E2\r\n:ti=\E[=4l\E[1;24w\E2\r:ue=\E[4!{:\
+	:up=\E[A:us=\E[4m:ve=\E[=119l:vs=\E[=119h:
+avt-rv-ns|concept avt in reverse video mode/no status line:\
+	:i1=\E[=103l\E[=205h:vb=\E[=205l\E[=205h:tc=avt-ns:
+avt-w-ns|concept avt in 132 column mode/no status line:\
+	:i1=\E[=103h\E[=205l:ti=\E[H\E[1;24;1;132w:tc=avt-ns:
 avt-w-rv-ns|concept avt in 132 column mode/no status line/reverse video:\
-	:am:bs:eo:mi:ul:xn:xo:\
-	:co#80:it#8:li#24:lm#192:\
-	:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:\
-	:RI=\E[%dC:UP=\E[%dA:ac=:ae=\016:al=\E[L:as=\017:bl=^G:\
-	:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%+^AG:cl=\E[H\E[J:\
-	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[2g:\
-	:cv=\E[%+^Ad:dc=\E[P:dl=\E[M:do=^J:ei=\E4l:ho=\E[H:\
-	:i1=\E[=103h\E[=205h:ic=\E[@:im=\E1:ip=:\
-	:is=\E[1*q\E[2!t\E[7!t\E[=4;101;119;122l\E[=107;118;207h\E)1\E[1Q\EW\E[!y\E[!z\E>\E[0\:0\:32!r\E[0*w\E[w\E2\r\n\E[2;27!t:\
-	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kA=\E^C\r:kD=\E^B\r:\
-	:kI=\E^A\r:kS=\E^D\r:kb=^H:kd=\E[B:ke=\E[!z\E[0;2u:\
-	:kh=\E[H:kl=\E[D:kr=\E[C:ks=\E[1!z\E[0;3u:ku=\E[A:le=^H:\
-	:ll=\E[24H:mb=\E[5m:md=\E[1m:me=\E[m:mh=\E[1!{:mk=\E8m:\
-	:mp=\E[99m:mr=\E[7m:nd=\E[C:pf=\E[4i:pl=\E[%d;0u#%s#:\
-	:po=\E[5i:ps=\E[0i:px=\E[%d;1u#%s#:rc=\E8:\
-	:..rp=%p1%c\E[%p2%{1}%-%db:\
-	:..sa=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m:\
-	:sc=\E7:se=\E[7!{:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=\011:\
-	:te=\E[w\E2\r\n:ti=\E[H\E[1;24;1;132w:ue=\E[4!{:up=\E[A:\
-	:us=\E[4m:vb=\E[=205l\E[=205h:ve=\E[=119l:vs=\E[=119h:
+	:i1=\E[=103h\E[=205h:ti=\E[H\E[1;24;1;132w:\
+	:vb=\E[=205l\E[=205h:tc=avt-ns:
 
 # Concept AVT with status line. We get the status line using the
 # "Background status line" feature of the terminal. We swipe the
@@ -14795,101 +9296,16 @@
 	:te=\E[2w\E2\r\n:ti=\E[2;25w\E2\r:\
 	:ts=\E[2;1!w\E[;%dH\E[2K:
 avt|avt-s|concept-avt|avt w/80 columns:\
-	:am:bs:eo:es:hs:mi:ul:xn:xo:\
-	:co#80:it#8:li#24:lm#191:\
-	:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:\
-	:RI=\E[%dC:UP=\E[%dA:ac=:ae=\016:al=\E[L:as=\017:bl=^G:\
-	:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%+^AG:cl=\E[H\E[J:\
-	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[2g:\
-	:cv=\E[%+^Ad:dc=\E[P:dl=\E[M:do=^J:ds=\E[0*w:ei=\E4l:\
-	:fs=\E[1;1!w:ho=\E[H:i1=\E[=103l\E[=205l:\
-	:i2=\E[2w\E[2!w\E[1;1;1;80w\E[H\E[2*w\E[1!w\E2\r\n:\
-	:ic=\E[@:im=\E1:ip=:\
-	:is=\E[1*q\E[2!t\E[7!t\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rp=%p1%c\E[%p2%{1}%-%db:\
-	:..sa=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m:\
-	:sc=\E7:se=\E[7!{:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=\011:\
-	:te=\E[2w\E2\r\n:ti=\E[H\E[1;24;1;132w:\
-	:ts=\E[2;1!w\E[;%dH\E[2K:ue=\E[4!{:up=\E[A:us=\E[4m:\
-	:vb=\E[=205l\E[=205h:ve=\E[=119l:vs=\E[=119h:
+	:i1=\E[=103h\E[=205h:ti=\E[H\E[1;24;1;132w:\
+	:vb=\E[=205l\E[=205h:tc=avt+s:tc=avt-ns:
 
 #### Contel Business Systems. 
 #
@@ -14906,13 +9322,7 @@
 	:vb=\020\002\020\003:
 # Contel c301 and c321 terminals.
 contel301|contel321|c301|c321|Contel Business Systems C-301 or C-321:\
-	:am:in:xo:\
-	:co#80:li#24:sg#1:\
-	:al=\EL:bl=^G:cd=\EJ:ce=\EI:cl=\EK:cm=\EX%+ \EY%+ :cr=^M:\
-	:ct=\E3:dc=\EO:dl=\EM:do=^J:ho=\EH:k0=\ERJ:k1=\ERA:k2=\ERB:\
-	:k3=\ERC:k4=\ERD:k5=\ERE:k6=\ERF:k7=\ERG:k8=\ERH:k9=\ERI:\
-	:kb=^H:le=^H:ll=\EH\EA:me=\E!\0:nd=\EC:se=\E!\0:sf=^J:\
-	:so=\E!\r:st=\E1:up=\EA:
+	:ei=:ic@:im=:ip@:se=\E!\0:so=\E!\r:vb@:tc=contel300:
 
 #### Data General (dg)
 #
@@ -14938,8 +9348,6 @@
 # Unmodified fkeys (kf1-kf11), Shift fkeys (kf12-kf22), Ctrl fkeys (kf23-kf33),
 # Ctrl/Shift fdkeys (kf34-kf44).
 
-# Most of these entries are `official' and came from DG.  Others are marked.
-
 dgkeys+8b|Private entry describing DG terminal 8-bit ANSI mode special keys:\
 	:%9=\233i:F1=\233011z:F2=\233012z:F3=\233013z:\
 	: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:Sf=\036A%+0:op=\036Ad\036Bd:
 
 dg+fixed|Fixed color info for DG D430C terminals in DG mode:\
-	:ut:\
-	:Co#16:NC#53:pa#256:\
-	:..AB=\036B%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c:\
-	:..AF=\036A%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c:\
-	:Sb=\036B%+0:Sf=\036A%+0:op=\036Ad\036Bd:
+	:tc=dgunix+fixed:
 
 # Video attributes are coordinated using static variables set by "sgr", then
 # checked by "op", "seta[bf]", and "set[bf]" to refresh the attribute settings. 
@@ -15033,13 +9437,12 @@
 	:op=\E[%?%gD%t2;%;%?%gU%t4;%;%?%gB%t5;%;%?%gR%t7;%;m:
 
 dg+color|Color info for Data General D470C terminals in ANSI mode:\
-	:ut:\
 	:Co#16:NC#53:pa#256:\
 	:..AB=\E[%?%p1%{8}%<%t4%p1%e=%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m:\
 	:..AF=\E[%?%p1%{8}%<%t3%p1%e<%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m:\
 	:..Sb=\E[%?%p1%{8}%<%t4%e=%;%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m:\
 	:..Sf=\E[%?%p1%{8}%<%t3%e<%;%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m:\
-	:op=\E[%?%gD%t2;%;%?%gU%t4;%;%?%gB%t5;%;%?%gR%t7;%;m:
+	:tc=dg+color8:
 
 dgmode+color8|Color info for Data General D220/D230C terminals in DG mode:\
 	:ut:\
@@ -15048,11 +9451,10 @@
 	:op=\036Ad\036Bd:
 
 dgmode+color|Color info for Data General D470C terminals in DG mode:\
-	:ut:\
-	:Co#16:NC#16:pa#256:\
+	:Co#16:pa#256:\
 	:..AB=\036B%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c:\
 	:..AF=\036A%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c:\
-	:Sb=\036B%+0:Sf=\036A%+0:op=\036Ad\036Bd:
+	:tc=dgmode+color8:
 
 dgunix+ccc|Configurable color info for DG D430C terminals in DG-UNIX mode:\
 	:cc:ut:\
@@ -15078,48 +9480,91 @@
 dg-generic|Generic Data General terminal in DG mode:\
 	:NL:am:bw:ms:xo:\
 	:co#80:li#24:\
-	:F1=^^{:F2=^^a:F3=^^b:F4=^^c:F5=^^d:F6=^^e:F7=^^f:F8=^^g:\
-	:F9=^^h:FA=^^i:FB=^^j:FC=^^k:FD=^^1:FE=^^2:FF=^^3:FG=^^4:\
-	:FH=^^5:FI=^^6:FJ=^^7:FK=^^8:FL=^^9:FM=^^\::FN=^^;:FO=^^!:\
-	:FP=^^":FQ=^^#:FR=^^$:FS=^^%:FT=^^&:FU=^^':FV=^^(:FW=^^):\
-	:FX=^^*:FY=^^+:bl=^G:ce=^K:cl=^L:cm=\020%r%.%.:cr=^M:do=^Z:\
-	:i1=^R^C:k1=^^q:k2=^^r:k3=^^s:k4=^^t:k5=^^u:k6=^^v:k7=^^w:\
-	:k8=^^x:k9=^^y:k;=^^z:kC=^L:kE=^K:kd=^Z:kh=^H:kl=^Y:kr=^X:\
-	:ku=^W:le=^Y:mb=^N:me=^O^U^]:mh=^\:nd=^X:nw=^J:ps=^Q:se=^]:\
-	:sf=^J:so=^\:ue=^U:up=^W:us=^T:
+	:bl=^G:ce=^K:cl=^L:cm=\020%r%.%.:cr=^M:do=^Z:i1=^R^C:le=^Y:\
+	:mb=^N:me=^O^U^]:mh=^\:nd=^X:nw=^J:ps=^Q:se=^]:sf=^J:so=^\:\
+	:ue=^U:up=^W:us=^T:tc=dgkeys+11:
+
+# According to the 4.4BSD termcap file, the dg200 :cm: should be the
+# termcap equivalent of \020%p2%{128}%+%c%p1%{128}%+%c (in termcap
+# notation that's "^P%r%+\200%+\200").  Those \200s are suspicious,
+# maybe they were originally nuls (which would fit).
+
+dg200|data general dasher 200:\
+	:NL:am:bs:bw:\
+	:co#80:li#24:\
+	:bl=^G:ce=^K:cl=^L:cm=\020%r%.%.:cr=^M:do=^Z:ho=^H:k0=^^z:\
+	:k1=^^q:k2=^^r:k3=^^s:k4=^^t:k5=^^u:k6=^^v:k7=^^w:k8=^^x:\
+	:k9=^^y:kd=^Z:kh=^H:kl=^Y:kr=^X:ku=^W:l0=f10:le=^Y:nd=^X:\
+	:nw=^J:se=^^E:sf=^J:so=^^D:ue=^U:up=^W:us=^T:
+
+# Data General 210/211 (and 410?)	from Lee Pearson (umich!lp) via BRL
+dg210|dg-ansi|Data General 210/211:\
+	:am:\
+	:co#80:li#24:\
+	:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:do=\E[B:ho=\E[H:\
+	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:nl=\E[B:\
+	:nw=\r\E[H\E[A\n:se=\E[0;m:so=\E[7;m:ue=\E[0;m:up=\E[A:\
+	:us=\E[4;m:
+# From: Peter N. Wan <ihnp4!gatech!gacsr!wan>
+# courtesy of Carlos Rucalde of Vantage Software, Inc.
+# (dg211: this had :cm=\020%r%.%:., which was an ancient termcap hangover.
+# I suspect the d200 function keys actually work on the dg211, check it out.)
+dg211|Data General d211:\
+	:k0@:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:k9@:kb=^Y:l0@:nw=^M^Z:\
+	:se=\036E\0/>:sf@:so=5\036D:ta=^I:te=^L:ti=^L^R:ve=^L:\
+	:vs=^L^R:tc=dg200:
+
+# dg450 from Cornell (not official)
+dg450|dg6134|data general 6134:\
+	:le@:nd=^X:tc=dg200:
+
+# Not official...
+# Note: lesser Dasher terminals will not work with vi because vi insists upon
+# having a command to move straight down from any position on the bottom line
+# and scroll the screen up, or a direct vertical scroll command.  The 460 and
+# above have both, the D210/211, for instance, has neither.  We must use ANSI
+# mode rather than DG mode because standard UNIX tty drivers assume that ^H is
+# backspace on all terminals.  This is not so in DG mode.
+# (dg460-ansi: removed obsolete ":kn#6:"; also removed ":mu=\EW:", on the
+# grounds that there is no matching ":ml:"
+# fixed garbled ":k9=\E[00\:z:" capability -- esr)
+dg460-ansi|Data General Dasher 460 in ANSI-mode:\
+	:am:bs:ms:ul:\
+	:co#80:it#8:li#24:\
+	:al=\E[L:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%2;%2H:dc=\E[P:\
+	:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:is=^^F@:k0=\E[001z:\
+	:k1=\E[002z:k2=\E[003z:k3=\E[004z:k4=\E[005z:k5=\E[006z:\
+	:k6=\E[007z:k7=\E[008z:k8=\E[009z:k9=\E[010z:kb=\E[D:\
+	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:l0=f1:l1=f2:l2=f3:\
+	:l3=f4:l4=f5:l5=f6:l6=f7:l7=f8:l9=f10:le=^H:mb=\E[5m:me=\E[m:\
+	:mh=\E[2m:mr=\E[7m:nd=\E[C:nl=\ED:se=\E[m:sf=\E[S:so=\E[7m:\
+	:sr=\E[T:ta=^I:ue=\E[05:up=\E[A:us=\E[4m:
+# From: Wayne Throop <mcnc!rti-sel!rtp47!throopw> (not official)
+# Data General 605x     
+# Ought to work for a Model 6242, Type D210 as well as a 605x.
+# Note that the cursor-down key transmits ^Z.  Job control users, beware!
+# This also matches a posted description of something called a `Dasher 100'
+# so there's a dg100 alias here. 
+# (dg6053: the 4.4BSD file had :le=^H:, :do=^J:, :nd=^S:. -- esr) 
+dg6053-old|dg100|data general 6053:\
+	:am:bs:bw:ul:\
+	:co#80:li#24:\
+	:bc=^Y:bl=^G:ce=^K:cl=^L:cm=\020%r%.%.:cr=^M:do=^Z:ho=^H:\
+	:is=^R:k0=^^q:k1=^^r:k2=^^s:k3=^^t:k4=^^u:k5=^^v:k6=^^w:\
+	:k7=^^x:k8=^^y:k9=^^z:kb=^Y:kd=^Z:kh=^H:kl=^Y:kr=^X:ku=^W:\
+	:le=^Y:nd=^X:se=\0^^E:so=\0\0\0\0\0\036D:ta=^I:te=^L:\
+	:ti=^L^R:ue=^U:up=^W:us=^T:ve=^L:vs=^L^R:
 
 # (Some performance can be gained over the generic DG terminal type)
 dg6053|6053|6053-dg|dg605x|605x|605x-dg|d2|d2-dg|Data General DASHER 6053:\
-	:NL:am:bw:ms:\
-	:co#80:li#24:\
-	:F1=^^{:F2=^^a:F3=^^b:F4=^^c:F5=^^d:F6=^^e:F7=^^f:F8=^^g:\
-	:F9=^^h:FA=^^i:FB=^^j:FC=^^k:FD=^^1:FE=^^2:FF=^^3:FG=^^4:\
-	:FH=^^5:FI=^^6:FJ=^^7:FK=^^8:FL=^^9:FM=^^\::FN=^^;:FO=^^!:\
-	:FP=^^":FQ=^^#:FR=^^$:FS=^^%:FT=^^&:FU=^^':FV=^^(:FW=^^):\
-	:FX=^^*:FY=^^+:bl=^G:ce=^K:cl=^L:cm=\020%r%.%.:cr=^M:do=^Z:\
-	:ho=^P\0\0:i1=^R^C:k1=^^q:k2=^^r:k3=^^s:k4=^^t:k5=^^u:\
-	:k6=^^v:k7=^^w:k8=^^x:k9=^^y:k;=^^z:kC=^L:kE=^K:kd=^Z:kh=^H:\
-	:kl=^Y:kr=^X:ku=^W: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%e\017%;%?%p1%p5%|%t\034%e\035%;:\
-	:se=^^E^]:sf=^J:so=^^D^\:ue=^U:up=^W:us=^T:
+	:se=^^E^]:so=^^D^\:tc=dgkeys+15:tc=dg6053:
 
 # DASHER D210 series terminals in ANSI mode.
 #	Reverse video, no insert/delete character/line, 7 bits/character only.
@@ -15131,47 +9576,19 @@
 d210|d214|Data General DASHER D210 series:\
 	:NL:am:bw:ms:xo:\
 	:co#80:li#24:\
-	:%9=\E[i:DO=\E[%dB:F1=\E[011z:F2=\E[012z:F3=\E[013z:\
-	:F4=\E[014z:F5=\E[000z:F6=\E[101z:F7=\E[102z:F8=\E[103z:\
-	:F9=\E[104z:FA=\E[105z:FB=\E[106z:FC=\E[107z:FD=\E[108z:\
-	:FE=\E[109z:FF=\E[110z:FG=\E[111z:FH=\E[112z:FI=\E[113z:\
-	:FJ=\E[114z:FK=\E[100z:FL=\E[201z:FM=\E[202z:FN=\E[203z:\
-	:FO=\E[204z:FP=\E[205z:FQ=\E[206z:FR=\E[207z:FS=\E[208z:\
-	:FT=\E[209z:FU=\E[210z:FV=\E[211z:FW=\E[212z:FX=\E[213z:\
-	:FY=\E[214z:FZ=\E[200z:Fa=\E[301z:Fb=\E[302z:Fc=\E[303z:\
-	:Fd=\E[304z:Fe=\E[305z:Ff=\E[306z:Fg=\E[307z:Fh=\E[308z:\
-	:Fi=\E[309z:Fj=\E[310z:Fk=\E[311z:Fl=\E[312z:Fm=\E[313z:\
-	:Fn=\E[314z:Fo=\E[300z:K1=\E[020z:K3=\E[021z:K4=\E[022z:\
-	:K5=\E[023z:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bl=^G:cb=\E[1K:\
+	:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bl=^G:cb=\E[1K:\
 	:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:cr=^M:do=\E[B:\
-	:ho=\E[H:i1=\E[<0;<1;<4l:k1=\E[001z:k2=\E[002z:\
-	:k3=\E[003z:k4=\E[004z:k5=\E[005z:k6=\E[006z:k7=\E[007z:\
-	:k8=\E[008z:k9=\E[009z:k;=\E[010z:kC=\E[2J:kE=\E[K:\
-	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:ll=\E[H\E[A:\
-	:mb=\E[5m:md=\E[4;7m:me=\E[m:mh=\E[2m:mr=\E[7m:nd=\E[C:\
-	:nw=^J:\
+	:ho=\E[H:i1=\E[<0;<1;<4l:le=^H:ll=\E[H\E[A:mb=\E[5m:\
+	:md=\E[4;7m:me=\E[m:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=^J:\
 	:..sa=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m:\
-	:se=\E[m:sf=^J:so=\E[2;7m:ue=\E[m:up=\E[A:us=\E[4m:
+	:se=\E[m:sf=^J:so=\E[2;7m:ue=\E[m:up=\E[A:us=\E[4m:\
+	:tc=dgkeys+7b:
 
 # DASHER D210 series terminals in DG mode.
 # Like D200, but adds clear to end-of-screen and needs XON/XOFF.
 d210-dg|d214-dg|Data General DASHER D210 series in DG mode:\
-	:NL:am:bw:ms:xo:\
-	:co#80:li#24:\
-	:#2=^^^H:#4=^^^Y:%i=^^^X:F1=^^{:F2=^^|:F3=^^}:F4=^^~:F5=^^p:\
-	:F6=^^a:F7=^^b:F8=^^c:F9=^^d:FA=^^e:FB=^^f:FC=^^g:FD=^^h:\
-	:FE=^^i:FF=^^j:FG=^^k:FH=^^l:FI=^^m:FJ=^^n:FK=^^`:FL=^^1:\
-	:FM=^^2:FN=^^3:FO=^^4:FP=^^5:FQ=^^6:FR=^^7:FS=^^8:FT=^^9:\
-	:FU=^^\::FV=^^;:FW=^^<:FX=^^=:FY=^^>:FZ=^^0:Fa=^^!:Fb=^^":\
-	:Fc=^^#:Fd=^^$:Fe=^^%:Ff=^^&:Fg=^^':Fh=^^(:Fi=^^):Fj=^^*:\
-	:Fk=^^+:Fl=^^,:Fm=^^-:Fn=^^.:Fo=^^\s:K1=^^\\:K3=^^]:K4=^^^:\
-	:K5=^^_:bl=^G:cd=^^FF:ce=^K:cl=^L:cm=\020%r%.%.:cr=^M:do=^Z:\
-	:i1=^R^C:k1=^^q:k2=^^r:k3=^^s:k4=^^t:k5=^^u:k6=^^v:k7=^^w:\
-	:k8=^^x:k9=^^y:k;=^^z:kC=^L:kE=^K:kd=^Z:kh=^H:kl=^Y:kr=^X:\
-	:ku=^W:le=^Y:mb=^N:md=^^D^T:me=\017\025\035\036E:mh=^\:\
-	:mr=^^D:nd=^X:nw=^J:ps=^Q:\
-	:..sa=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;%?%p4%t\016%e\017%;%?%p1%p5%|%t\034%e\035%;:\
-	:se=^^E^]:sf=^J:so=^^D^\:ue=^U:up=^W:us=^T:
+	:xo:\
+	:cd=^^FF:tc=d200-dg:
 
 # DASHER D211 series terminals in ANSI mode.
 # Like the D210, but with 8-bit characters and local printer support.
@@ -15185,32 +9602,9 @@
 #	^O		- primary character set
 #
 d211|d215|Data General DASHER D211 series:\
-	:NL:am:bw:km:ms:xo:\
-	:co#80:li#24:\
-	:%9=\233i:DO=\E[%dB:F1=\233011z:F2=\233012z:F3=\233013z:\
-	:F4=\233014z:F5=\233000z:F6=\233101z:F7=\233102z:\
-	:F8=\233103z:F9=\233104z:FA=\233105z:FB=\233106z:\
-	:FC=\233107z:FD=\233108z:FE=\233109z:FF=\233110z:\
-	:FG=\233111z:FH=\233112z:FI=\233113z:FJ=\233114z:\
-	:FK=\233100z:FL=\233201z:FM=\233202z:FN=\233203z:\
-	:FO=\233204z:FP=\233205z:FQ=\233206z:FR=\233207z:\
-	:FS=\233208z:FT=\233209z:FU=\233210z:FV=\233211z:\
-	:FW=\233212z:FX=\233213z:FY=\233214z:FZ=\233200z:\
-	:Fa=\233301z:Fb=\233302z:Fc=\233303z:Fd=\233304z:\
-	:Fe=\233305z:Ff=\233306z:Fg=\233307z:Fh=\233308z:\
-	:Fi=\233309z:Fj=\233310z:Fk=\233311z:Fl=\233312z:\
-	:Fm=\233313z:Fn=\233314z:Fo=\233300z:K1=\233020z:\
-	:K3=\233021z:K4=\233022z:K5=\233023z:LE=\E[%dD:RI=\E[%dC:\
-	:UP=\E[%dA:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[2J:\
-	:cm=\E[%i%d;%dH:cr=^M:do=\E[B:ho=\E[H:i1=\E[<0;<1;<4l:\
-	:is=\E[2;1;1;1v\E(B\E)4\017:k1=\233001z:k2=\233002z:\
-	:k3=\233003z:k4=\233004z:k5=\233005z:k6=\233006z:\
-	:k7=\233007z:k8=\233008z:k9=\233009z:k;=\233010z:\
-	:kC=\2332J:kE=\233K:kd=\233B:kh=\233H:kl=\233D:kr=\233C:\
-	:ku=\233A:le=^H:ll=\E[H\E[A:mb=\E[5m:md=\E[4;7m:me=\E[m:\
-	:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=^J:ps=\E[i:\
-	:..sa=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m:\
-	:se=\E[m:sf=^J:so=\E[2;7m:ue=\E[m:up=\E[A:us=\E[4m:
+	:km:\
+	:is=\E[2;1;1;1v\E(B\E)4\017:ps=\E[i:tc=dgkeys+8b:\
+	:tc=d210:
 
 # Initialization string 2 sets:
 #	\E[2;0;1;0v
@@ -15219,29 +9613,8 @@
 #	\E(0		- default character set (the keyboard native language)
 #	^O		- primary character set
 d211-7b|d215-7b|Data General DASHER D211 series in 7 bit mode:\
-	:NL:am:bw:ms:xo:\
-	:co#80:li#24:\
-	:%9=\E[i:DO=\E[%dB:F1=\E[011z:F2=\E[012z:F3=\E[013z:\
-	:F4=\E[014z:F5=\E[000z:F6=\E[101z:F7=\E[102z:F8=\E[103z:\
-	:F9=\E[104z:FA=\E[105z:FB=\E[106z:FC=\E[107z:FD=\E[108z:\
-	:FE=\E[109z:FF=\E[110z:FG=\E[111z:FH=\E[112z:FI=\E[113z:\
-	:FJ=\E[114z:FK=\E[100z:FL=\E[201z:FM=\E[202z:FN=\E[203z:\
-	:FO=\E[204z:FP=\E[205z:FQ=\E[206z:FR=\E[207z:FS=\E[208z:\
-	:FT=\E[209z:FU=\E[210z:FV=\E[211z:FW=\E[212z:FX=\E[213z:\
-	:FY=\E[214z:FZ=\E[200z:Fa=\E[301z:Fb=\E[302z:Fc=\E[303z:\
-	:Fd=\E[304z:Fe=\E[305z:Ff=\E[306z:Fg=\E[307z:Fh=\E[308z:\
-	:Fi=\E[309z:Fj=\E[310z:Fk=\E[311z:Fl=\E[312z:Fm=\E[313z:\
-	:Fn=\E[314z:Fo=\E[300z:K1=\E[020z:K3=\E[021z:K4=\E[022z:\
-	:K5=\E[023z:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bl=^G:cb=\E[1K:\
-	:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:cr=^M:do=\E[B:\
-	:ho=\E[H:i1=\E[<0;<1;<4l:is=\E[2;0;1;0v\E(0\017:\
-	:k1=\E[001z:k2=\E[002z:k3=\E[003z:k4=\E[004z:k5=\E[005z:\
-	:k6=\E[006z:k7=\E[007z:k8=\E[008z:k9=\E[009z:k;=\E[010z:\
-	:kC=\E[2J:kE=\E[K:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
-	:le=^H:ll=\E[H\E[A:mb=\E[5m:md=\E[4;7m:me=\E[m:mh=\E[2m:\
-	:mr=\E[7m:nd=\E[C:nw=^J:ps=\E[i:\
-	:..sa=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m:\
-	:se=\E[m:sf=^J:so=\E[2;7m:ue=\E[m:up=\E[A:us=\E[4m:
+	:km@:\
+	:is=\E[2;0;1;0v\E(0\017:tc=dgkeys+7b:tc=d211:
 
 # Like the D210 series, but adds support for 8-bit characters.
 #
@@ -15252,131 +9625,33 @@
 #	^^FS00	- default character set (matching the native keyboard language)
 #
 d211-dg|d215-dg|Data General DASHER D211 series in DG mode:\
-	:NL:am:bw:km:ms:xo:\
-	:co#80:li#24:\
-	:#2=^^^H:#4=^^^Y:%i=^^^X:F1=^^{:F2=^^|:F3=^^}:F4=^^~:F5=^^p:\
-	:F6=^^a:F7=^^b:F8=^^c:F9=^^d:FA=^^e:FB=^^f:FC=^^g:FD=^^h:\
-	:FE=^^i:FF=^^j:FG=^^k:FH=^^l:FI=^^m:FJ=^^n:FK=^^`:FL=^^1:\
-	:FM=^^2:FN=^^3:FO=^^4:FP=^^5:FQ=^^6:FR=^^7:FS=^^8:FT=^^9:\
-	:FU=^^\::FV=^^;:FW=^^<:FX=^^=:FY=^^>:FZ=^^0:Fa=^^!:Fb=^^":\
-	:Fc=^^#:Fd=^^$:Fe=^^%:Ff=^^&:Fg=^^':Fh=^^(:Fi=^^):Fj=^^*:\
-	:Fk=^^+:Fl=^^,:Fm=^^-:Fn=^^.:Fo=^^\s:K1=^^\\:K3=^^]:K4=^^^:\
-	:K5=^^_:bl=^G:cd=^^FF:ce=^K:cl=^L:cm=\020%r%.%.:cr=^M:do=^Z:\
-	:i1=^R^C:k1=^^q:k2=^^r:k3=^^s:k4=^^t:k5=^^u:k6=^^v:k7=^^w:\
-	:k8=^^x:k9=^^y:k;=^^z:kC=^L:kE=^K:kd=^Z:kh=^H:kl=^Y:kr=^X:\
-	:ku=^W:le=^Y:mb=^N:md=^^D^T:me=\017\025\035\036E:mh=^\:\
-	:mr=^^D:nd=^X:nw=^J:ps=^Q:rs=\036N\036FS0>\036O\036FS00:\
-	:..sa=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;%?%p4%t\016%e\017%;%?%p1%p5%|%t\034%e\035%;:\
-	:se=^^E^]:sf=^J:so=^^D^\:ue=^U:up=^W:us=^T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
-	:FJ=^^n:FK=^^`:FL=^^1:FM=^^2:FN=^^3:FO=^^4:FP=^^5:FQ=^^6:\
-	:FR=^^7:FS=^^8:FT=^^9:FU=^^\::FV=^^;:FW=^^<:FX=^^=:FY=^^>:\
-	:FZ=^^0:Fa=^^!:Fb=^^":Fc=^^#:Fd=^^$:Fe=^^%:Ff=^^&:Fg=^^':\
-	:Fh=^^(:Fi=^^):Fj=^^*:Fk=^^+:Fl=^^,:Fm=^^-:Fn=^^.:Fo=^^\s:\
-	:K1=^^\\:K3=^^]:K4=^^^:K5=^^_:\
-	:ac=a\177j$k"l!m#n)q+t'u&v(w%x*:ae=\036FS00:\
-	:as=\036FS11:bl=^G:cd=^^FF:ce=^^PE:ch=\020%.\177:cl=^^PH:\
-	:cm=\020%r%.%.:cr=^M:cv=\020\177%.:do=^^PB:ho=^^PF:\
-	:i1=\022\003\036P@1:i2=\036Fz2:k1=^^q:k2=^^r:k3=^^s:\
-	:k4=^^t:k5=^^u:k6=^^v:k7=^^w:k8=^^x:k9=^^y:k;=^^z:kC=^^PH:\
-	:kE=^^PE:kd=^^PB:kh=^^PF:kl=^^PD:kr=^^PC:ku=^^PA:le=^^PD:\
-	:mb=^^PI:md=^^D^T:me=\036PJ\025\035\036E\036FS00:mh=^\:\
-	:mr=^^D:nd=^^PC:nw=^J:pf=^^Fa:po=^^F`:ps=\036F?9:\
-	:rs=\036N\036FS0E\036O\036FS00:\
-	:..sa=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;\036P%?%p4%tI%eJ%;%?%p1%p5%|%t\034%e\035%;\036FS%?%p9%t11%e00%;:\
-	:se=^^E^]:sf=^J:so=^^D^\:ta=^I:ue=^U:up=^^PA:us=^T:
+	:tc=d216-unix-25:
 
 # DASHER D220 color terminal in ANSI mode.
 # Like the D470C but with fewer colors and screen editing features.
@@ -15391,79 +9666,14 @@
 #	\Ec		- initial mode defaults (RIS)
 #
 d220|Data General DASHER D220:\
-	:NL:am:bw:km:ms:ut:xo:\
-	:Co#8:NC#16:co#80:li#24:pa#64:\
-	:%9=\233i:\
-	:..AB=\E[4%p1%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m:\
-	:..AF=\E[3%p1%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m:\
-	:DC=\E[%dP:DO=\E[%dB:F1=\233011z:F2=\233012z:F3=\233013z:\
-	:F4=\233014z:F5=\233000z:F6=\233101z:F7=\233102z:\
-	:F8=\233103z:F9=\233104z:FA=\233105z:FB=\233106z:\
-	:FC=\233107z:FD=\233108z:FE=\233109z:FF=\233110z:\
-	:FG=\233111z:FH=\233112z:FI=\233113z:FJ=\233114z:\
-	:FK=\233100z:FL=\233201z:FM=\233202z:FN=\233203z:\
-	:FO=\233204z:FP=\233205z:FQ=\233206z:FR=\233207z:\
-	:FS=\233208z:FT=\233209z:FU=\233210z:FV=\233211z:\
-	:FW=\233212z:FX=\233213z:FY=\233214z:FZ=\233200z:\
-	:Fa=\233301z:Fb=\233302z:Fc=\233303z:Fd=\233304z:\
-	:Fe=\233305z:Ff=\233306z:Fg=\233307z:Fh=\233308z:\
-	:Fi=\233309z:Fj=\233310z:Fk=\233311z:Fl=\233312z:\
-	:Fm=\233313z:Fn=\233314z:Fo=\233300z:IC=\E[%d@:\
-	:K1=\233020z:K3=\233021z:K4=\233022z:K5=\233023z:\
-	:LE=\E[%dD:RI=\E[%dC:\
-	:..Sb=\E[4%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m:\
-	:..Sf=\E[3%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m:\
-	:UP=\E[%dA:ac=j$k"l!m#n)q+t'u&v(w%x*:ae=\E)4\017:\
-	:as=\E)6\016:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[2J:\
-	:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:do=\E[B:ei=:ho=\E[H:\
-	:i1=\E[<0;<1;<4l\E[m:ic=\E[@:im=:\
-	:is=\E[3;2;2;1;1;1v\E(B\E)4\017:k1=\233001z:\
-	:k2=\233002z:k3=\233003z:k4=\233004z:k5=\233005z:\
-	:k6=\233006z:k7=\233007z:k8=\233008z:k9=\233009z:\
-	:k;=\233010z:kC=\2332J:kE=\233K:kd=\233B:kh=\233H:\
-	:kl=\233D:kr=\233C:ku=\233A:le=^H:ll=\E[H\E[A:mb=\E[5m:\
-	:md=\E[4;7m:me=\E[m\E)4\017:mh=\E[2m:mr=\E[7m:nd=\E[C:\
-	:nw=^J:\
-	:op=\E[%?%gD%t2;%;%?%gU%t4;%;%?%gB%t5;%;%?%gR%t7;%;m:\
-	:ps=\E[i:r1=\Ec:r2=\E[4;0;2;1;1;1v\E(B\E)4:\
-	:..sa=\E[%?%p1%p3%|%p6%|%t7;%{1}%e%{0}%;%PR%?%p4%t5;%{1}%e%{0}%;%PB%?%p2%p6%|%t4;%{1}%e%{0}%;%PU%?%p1%p5%|%t2;%{1}%e%{0}%;%PDm\E)%?%p9%t6\016%e4\017%;:\
-	:se=\E[m:sf=^J:so=\E[2;7m:sr=\EM:ue=\E[m:up=\E[A:us=\E[4m:\
-	:ve=\E[3;2v:vi=\E[3;0v:
+	:5i@:\
+	:AL@:DL@:al@:dl@:i1=\E[<0;<1;<4l\E[m:pf@:po@:r1=\Ec:\
+	:tc=dg+color8:tc=d470c:
 
 d220-7b|Data General DASHER D220 in 7 bit mode:\
-	:NL:am:bw:ms:ut:xo:\
-	:Co#8:NC#16:co#80:li#24:pa#64:\
-	:%9=\E[i:\
-	:..AB=\E[4%p1%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m:\
-	:..AF=\E[3%p1%d%?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=\E)6:ei=:ho=\E[H:i1=\E[<0;<1;<4l\E[m:\
-	:ic=\E[@:im=:is=\E[3;2;2;0;1;0v\E(0\017:k1=\E[001z:\
-	:k2=\E[002z:k3=\E[003z:k4=\E[004z:k5=\E[005z:k6=\E[006z:\
-	:k7=\E[007z:k8=\E[008z:k9=\E[009z:k;=\E[010z:kC=\E[2J:\
-	:kE=\E[K:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
-	:ll=\E[H\E[A:mb=\E[5m:md=\E[4;7m:me=\E[m\017:mh=\E[2m:\
-	:mr=\E[7m:nd=\E[C:nw=^J:\
-	:op=\E[%?%gD%t2;%;%?%gU%t4;%;%?%gB%t5;%;%?%gR%t7;%;m:\
-	:ps=\E[i:r1=\Ec:r2=\E[4;0;2;0;1;0v\E(0:\
-	:..sa=\E[%?%p1%p3%|%p6%|%t7;%{1}%e%{0}%;%PR%?%p4%t5;%{1}%e%{0}%;%PB%?%p2%p6%|%t4;%{1}%e%{0}%;%PU%?%p1%p5%|%t2;%{1}%e%{0}%;%PDm%?%p9%t\016%e\017%;:\
-	:se=\E[m:sf=^J:so=\E[2;7m:sr=\EM:ue=\E[m:up=\E[A:us=\E[4m:\
-	:ve=\E[3;2v:vi=\E[3;0v:
+	:5i@:\
+	:AL@:DL@:al@:dl@:i1=\E[<0;<1;<4l\E[m:pf@:po@:r1=\Ec:\
+	:tc=dg+color8:tc=d470c-7b:
 
 # Initialization string 3 sets:
 #	- default cursor (solid rectangle)
@@ -15474,90 +9684,23 @@
 #       ^^FS00  - default character set (matching the native keyboard language)
 #
 d220-dg|Data General DASHER D220 color terminal in DG mode:\
-	:NL:am:bw:km:ms:ut:xo:\
-	:Co#8:NC#16:co#80:li#24:pa#64:\
-	:#2=^^^H:#4=^^^Y:%i=^^^X:AB=\036B%+^B:AF=\036A%+^B:F1=^^{:\
-	:F2=^^|:F3=^^}:F4=^^~:F5=^^p:F6=^^a:F7=^^b:F8=^^c:F9=^^d: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1@:\
+	:rs=\036N\036FS0>\036O\036FS00:tc=dgmode+color8:\
+	:tc=d470c-dg:
 
 # DASHER D230C color terminal in ANSI mode.
 # Like the D220 but with minor ANSI compatibility improvements.
 #
 d230c|d230|Data General DASHER D230C:\
-	:am:bw:km:ms:ut:xo:\
-	:Co#8:NC#16:co#80:li#24:pa#64:\
-	:%9=\E[i:\
-	:..AB=\E[4%p1%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m:\
-	:..AF=\E[3%p1%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m:\
-	:DC=\E[%dP:DO=\E[%dB:F1=\E[011z:F2=\E[012z:F3=\E[013z:\
-	:F4=\E[014z:F5=\E[000z:F6=\E[101z:F7=\E[102z:F8=\E[103z:\
-	:F9=\E[104z:FA=\E[105z:FB=\E[106z:FC=\E[107z:FD=\E[108z:\
-	:FE=\E[109z:FF=\E[110z:FG=\E[111z:FH=\E[112z:FI=\E[113z:\
-	:FJ=\E[114z:FK=\E[100z:FL=\E[201z:FM=\E[202z:FN=\E[203z:\
-	:FO=\E[204z:FP=\E[205z:FQ=\E[206z:FR=\E[207z:FS=\E[208z:\
-	:FT=\E[209z:FU=\E[210z:FV=\E[211z:FW=\E[212z:FX=\E[213z:\
-	:FY=\E[214z:FZ=\E[200z:Fa=\E[301z:Fb=\E[302z:Fc=\E[303z:\
-	:Fd=\E[304z:Fe=\E[305z:Ff=\E[306z:Fg=\E[307z:Fh=\E[308z:\
-	:Fi=\E[309z:Fj=\E[310z:Fk=\E[311z:Fl=\E[312z:Fm=\E[313z:\
-	:Fn=\E[314z:Fo=\E[300z:IC=\E[%d@:K1=\E[020z:K3=\E[021z:\
-	:K4=\E[022z:K5=\E[023z:LE=\E[%dD:RI=\E[%dC:\
-	:..Sb=\E[4%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%d%?%gD%t;2%;%?%gU%t;4%;%?%g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=^Y:mb=^N:md=^^D^T:\
-	:me=\017\025\035\036E\036FS00:mh=^\:mr=^^D:nd=^X:nw=^J:\
-	:op=\036Ad\036Bd:ps=^Q:rs=\036N\036FS0>\036O\036FS00:\
-	:..sa=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;%?%p4%t\016%e\017%;%?%p1%p5%|%t\034%e\035%;\036FS%?%p9%t11%e00%;:\
-	:se=^^E^]:sf=^J:so=^^D^\:sr=^^I:ue=^U:up=^W:us=^T:\
-	:ve=\036FQ2:vi=\036FQ0:
+	:tc=d220-dg:
 
 # DASHER D400/D450 series terminals.
 # These add intelligent features like insert/delete to the D200 series.
@@ -15579,28 +9722,15 @@
 #	^^FT0		- jump scrolling
 #
 d400|d400-dg|d450|d450-dg|Data General DASHER D400/D450 series:\
-	:5i:NL:am:bw:ms:xo:\
-	:co#80:li#24:\
-	:#2=^^^H:#4=^^^Y:%i=^^^X:F1=^^{:F2=^^|:F3=^^}:F4=^^~:F5=^^p:\
-	:F6=^^a:F7=^^b:F8=^^c:F9=^^d:FA=^^e:FB=^^f:FC=^^g:FD=^^h:\
-	:FE=^^i:FF=^^j:FG=^^k:FH=^^l:FI=^^m:FJ=^^n:FK=^^`:FL=^^1:\
-	:FM=^^2:FN=^^3:FO=^^4:FP=^^5:FQ=^^6:FR=^^7:FS=^^8:FT=^^9:\
-	:FU=^^\::FV=^^;:FW=^^<:FX=^^=:FY=^^>:FZ=^^0:Fa=^^!:Fb=^^":\
-	:Fc=^^#:Fd=^^$:Fe=^^%:Ff=^^&:Fg=^^':Fh=^^(:Fi=^^):Fj=^^*:\
-	:Fk=^^+:Fl=^^,:Fm=^^-:Fn=^^.:Fo=^^\s:K1=^^\\:K3=^^]:K4=^^^:\
-	:K5=^^_:ac=j$k"l!m#n)q+t'u&v(w%x*:ae=^^O:al=^^FH:as=^^N:\
-	:bl=^G:cd=^^FF:ce=^K:ch=\020%.\177:cl=^L:cm=\020%r%.%.:\
-	:cr=^M:cv=\020\177%.:dc=^^K:dl=^^FI:do=^Z:\
-	:eA=\036N\036FS11\036O:ei=:ho=^^FG:i1=^R^C:ic=^^J:im=:\
+	:5i:\
+	:ac=j$k"l!m#n)q+t'u&v(w%x*:ae=^^O:al=^^FH:as=^^N:\
+	:ch=\020%.\177:cv=\020\177%.:dc=^^K:dl=^^FI:\
+	:eA=\036N\036FS11\036O:ei=:ho=^^FG:ic=^^J:im=:\
 	:is=\036FQ2\036FW\036FJ\036F^\036FX004?\036F]\036O\036FS00:\
-	:k1=^^q:k2=^^r:k3=^^s:k4=^^t:k5=^^u:k6=^^v:k7=^^w:k8=^^x:\
-	:k9=^^y:k;=^^z:kC=^L:kE=^K:kd=^Z:kh=^H:kl=^Y:kr=^X:ku=^W:\
-	:le=^Y:ll=\036FG\027:mb=^N:md=^^D^T:\
-	:me=\017\025\035\036E\036O:mh=^\:mr=^^D:nd=^X:nw=^J:\
-	:pf=^^Fa:po=^^F`:ps=^Q:r1=^^FA:r2=\036F]\036FT0:\
+	:ll=\036FG\027:me=\017\025\035\036E\036O:pf=^^Fa:\
+	:po=^^F`:r1=^^FA:r2=\036F]\036FT0:\
 	:..sa=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;%?%p4%t\016%e\017%;%?%p1%p5%|%t\034%e\035%;\036%?%p9%tN%eO%;:\
-	:se=^^E^]:sf=^J:so=^^D^\:sr=^^I:ue=^U:up=^W:us=^T:\
-	:ve=\036FQ2:vi=\036FQ0:
+	:sr=^^I:ve=\036FQ2:vi=\036FQ0:tc=d210-dg:
 
 # DASHER D410/D460 series terminals in ANSI mode.
 # These add a large number of intelligent terminal features.
@@ -15641,39 +9771,16 @@
 #	\E)4		- default secondary character set (international)
 #
 d410|d411|d460|d461|Data General DASHER D410/D460 series:\
-	:5i:NL:am:bw:km:ms:xo:\
-	:co#80:li#24:\
-	:%9=\233i:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
-	:F1=\233011z:F2=\233012z:F3=\233013z:F4=\233014z:\
-	:F5=\233000z:F6=\233101z:F7=\233102z:F8=\233103z:\
-	:F9=\233104z:FA=\233105z:FB=\233106z:FC=\233107z:\
-	:FD=\233108z:FE=\233109z:FF=\233110z:FG=\233111z:\
-	:FH=\233112z:FI=\233113z:FJ=\233114z:FK=\233100z:\
-	:FL=\233201z:FM=\233202z:FN=\233203z:FO=\233204z:\
-	:FP=\233205z:FQ=\233206z:FR=\233207z:FS=\233208z:\
-	:FT=\233209z:FU=\233210z:FV=\233211z:FW=\233212z:\
-	:FX=\233213z:FY=\233214z:FZ=\233200z:Fa=\233301z:\
-	:Fb=\233302z:Fc=\233303z:Fd=\233304z:Fe=\233305z:\
-	:Ff=\233306z:Fg=\233307z:Fh=\233308z:Fi=\233309z:\
-	:Fj=\233310z:Fk=\233311z:Fl=\233312z:Fm=\233313z:\
-	:Fn=\233314z:Fo=\233300z:IC=\E[%d@:K1=\233020z:\
-	:K3=\233021z:K4=\233022z:K5=\233023z:LE=\E[%dD:RI=\E[%dC:\
-	:UP=\E[%dA:ac=j$k"l!m#n)q+t'u&v(w%x*:ae=\E)4\017:\
-	:al=\E[L:as=\E)6\016:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:cl=\E[2J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:ei=:\
-	:ho=\E[H:\
+	:5i:\
+	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:\
+	:ac=j$k"l!m#n)q+t'u&v(w%x*:ae=\E)4\017:al=\E[L:\
+	:as=\E)6\016:dc=\E[P:dl=\E[M:ei=:\
 	:i1=\E[<0;<1;<2;<4l\E[5;0v\E[1;1;80w\E[1;6;<2h:\
-	:ic=\E[@:im=:is=\E[3;2;2;1;1;1v\E(B\E)4\017:k1=\233001z:\
-	:k2=\233002z:k3=\233003z:k4=\233004z:k5=\233005z:\
-	:k6=\233006z:k7=\233007z:k8=\233008z:k9=\233009z:\
-	:k;=\233010z:kC=\2332J:kE=\233K:kd=\233B:kh=\233H:\
-	:kl=\233D:kr=\233C:ku=\233A:le=^H:ll=\E[H\E[A:mb=\E[5m:\
-	:md=\E[4;7m:me=\E[m\E)4\017:mh=\E[2m:mr=\E[7m:nd=\E[C:\
-	:nw=^J:pf=\E[4i:po=\E[5i:ps=\E[i:r1=\Ec\E[<2h:\
+	:ic=\E[@:im=:is=\E[3;2;2;1;1;1v\E(B\E)4\017:\
+	:me=\E[m\E)4\017:pf=\E[4i:po=\E[5i:r1=\Ec\E[<2h:\
 	:r2=\E[4;0;2;1;1;1v\E(B\E)4:\
 	:..sa=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m\E)%?%p9%t6\016%e4\017%;:\
-	:se=\E[m:sf=^J:so=\E[2;7m:sr=\EM:ue=\E[m:up=\E[A:us=\E[4m:\
-	:ve=\E[3;2v:vi=\E[3;0v:
+	:sr=\EM:ve=\E[3;2v:vi=\E[3;0v:tc=d211:
 
 # Initialization string 2 sets:
 #	\E[3;2;2;0;1;0v
@@ -15691,59 +9798,18 @@
 #	\E(0		- default character set (the keyboard native language)
 #
 d410-7b|d411-7b|d460-7b|d461-7b|Data General DASHER D410/D460 series in 7 bit mode:\
-	:5i:NL:am:bw:ms:xo:\
-	:co#80:li#24:\
-	:%9=\E[i:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
-	:F1=\E[011z:F2=\E[012z:F3=\E[013z:F4=\E[014z:F5=\E[000z:\
-	:F6=\E[101z:F7=\E[102z:F8=\E[103z:F9=\E[104z:FA=\E[105z:\
-	:FB=\E[106z:FC=\E[107z:FD=\E[108z:FE=\E[109z:FF=\E[110z:\
-	:FG=\E[111z:FH=\E[112z:FI=\E[113z:FJ=\E[114z:FK=\E[100z:\
-	:FL=\E[201z:FM=\E[202z:FN=\E[203z:FO=\E[204z:FP=\E[205z:\
-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k9=^^y:k;=^^z:kC=^L:kE=^K:kd=^Z:kh=^H:kl=^Y:kr=^X:ku=^W:\
-	:le=^Y:ll=\036FG\027:mb=^N:md=^^D^T:\
-	:me=\017\025\035\036E\036FS00:mh=^\:mr=^^D:nd=^X:nw=^J:\
-	:pf=^^Fa:po=^^F`:ps=^Q:r1=^^FA:r2=\036F]\036FT0:\
+	:km:\
+	:ae=\036FS00:as=\036FS11:eA@:\
+	:me=\017\025\035\036E\036FS00:\
 	:..sa=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;%?%p4%t\016%e\017%;%?%p1%p5%|%t\034%e\035%;\036FS%?%p9%t11%e00%;:\
-	:se=^^E^]:sf=^J:so=^^D^\:sr=^^I:ue=^U:up=^W:us=^T:\
-	:ve=\036FQ2:vi=\036FQ0:
+	:tc=d400-dg:
 
 # DASHER D410/D460 series terminals in wide (126 columns) ANSI mode.
 #
@@ -15768,916 +9834,101 @@
 #	\E[<2h		- horizontal scrolling disabled
 #
 d410-w|d411-w|d460-w|d461-w|Data General DASHER D410/D460 series in wide mode:\
-	:5i:NL:am:bw:km:ms:xo:\
-	:co#126:li#24:\
-	:%9=\233i:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
-	:F1=\233011z:F2=\233012z:F3=\233013z:F4=\233014z:\
-	:F5=\233000z:F6=\233101z:F7=\233102z:F8=\233103z:\
-	:F9=\233104z:FA=\233105z:FB=\233106z:FC=\233107z:\
-	:FD=\233108z:FE=\233109z:FF=\233110z:FG=\233111z:\
-	:FH=\233112z:FI=\233113z:FJ=\233114z:FK=\233100z:\
-	:FL=\233201z:FM=\233202z:FN=\233203z:FO=\233204z:\
-	:FP=\233205z:FQ=\233206z:FR=\233207z:FS=\233208z:\
-	:FT=\233209z:FU=\233210z:FV=\233211z:FW=\233212z:\
-	:FX=\233213z:FY=\233214z:FZ=\233200z:Fa=\233301z:\
-	:Fb=\233302z:Fc=\233303z:Fd=\233304z:Fe=\233305z:\
-	:Ff=\233306z:Fg=\233307z:Fh=\233308z:Fi=\233309z:\
-	:Fj=\233310z:Fk=\233311z:Fl=\233312z:Fm=\233313z:\
-	:Fn=\233314z:Fo=\233300z:IC=\E[%d@:K1=\233020z:\
-	:K3=\233021z:K4=\233022z:K5=\233023z:LE=\E[%dD:RI=\E[%dC:\
-	:UP=\E[%dA:ac=j$k"l!m#n)q+t'u&v(w%x*:ae=\E)4\017:\
-	:al=\E[L:as=\E)6\016:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:cl=\E[2J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:ei=:\
-	:ho=\E[H:\
+	:co#126:\
 	:i1=\E[<0;<1;<2;<4l\E[5;1v\E[1;1;126w\E[1;6;<2h:\
-	:ic=\E[@:im=:is=\E[3;2;2;1;1;1v\E(B\E)4\017:k1=\233001z:\
-	:k2=\233002z:k3=\233003z:k4=\233004z:k5=\233005z:\
-	:k6=\233006z:k7=\233007z:k8=\233008z:k9=\233009z:\
-	:k;=\233010z:kC=\2332J:kE=\233K:kd=\233B:kh=\233H:\
-	:kl=\233D:kr=\233C:ku=\233A:le=^H:ll=\E[H\E[A:mb=\E[5m:\
-	:md=\E[4;7m:me=\E[m\E)4\017:mh=\E[2m:mr=\E[7m:nd=\E[C:\
-	:nw=^J:pf=\E[4i:po=\E[5i:ps=\E[i:\
-	:r1=\Ec\E[5;1v\E[1;1;126w\E[<2h:\
-	:r2=\E[4;0;2;1;1;1v\E(B\E)4:\
-	:..sa=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m\E)%?%p9%t6\016%e4\017%;:\
-	:se=\E[m:sf=^J:so=\E[2;7m:sr=\EM:ue=\E[m:up=\E[A:us=\E[4m:\
-	:ve=\E[3;2v:vi=\E[3;0v:
+	:r1=\Ec\E[5;1v\E[1;1;126w\E[<2h:tc=d410:
 
 d410-7b-w|d411-7b-w|d460-7b-w|d461-7b-w|Data General DASHER D410/D460 series in wide 7 bit mode:\
-	:5i:NL:am:bw:ms:xo:\
-	:co#126:li#24:\
-	:%9=\E[i:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
-	:F1=\E[011z:F2=\E[012z:F3=\E[013z:F4=\E[014z:F5=\E[000z:\
-	:F6=\E[101z:F7=\E[102z:F8=\E[103z:F9=\E[104z:FA=\E[105z:\
-	:FB=\E[106z:FC=\E[107z:FD=\E[108z:FE=\E[109z:FF=\E[110z:\
-	:FG=\E[111z:FH=\E[112z:FI=\E[113z:FJ=\E[114z:FK=\E[100z:\
-	:FL=\E[201z:FM=\E[202z:FN=\E[203z:FO=\E[204z:FP=\E[205z:\
-	:FQ=\E[206z:FR=\E[207z:FS=\E[208z:FT=\E[209z:FU=\E[210z:\
-	:FV=\E[211z:FW=\E[212z:FX=\E[213z:FY=\E[214z:FZ=\E[200z:\
-	:Fa=\E[301z:Fb=\E[302z:Fc=\E[303z:Fd=\E[304z:Fe=\E[305z:\
-	:Ff=\E[306z:Fg=\E[307z:Fh=\E[308z:Fi=\E[309z:Fj=\E[310z:\
-	:Fk=\E[311z:Fl=\E[312z:Fm=\E[313z:Fn=\E[314z:Fo=\E[300z:\
-	:IC=\E[%d@:K1=\E[020z:K3=\E[021z:K4=\E[022z:K5=\E[023z:\
-	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
-	:ac=j$k"l!m#n)q+t'u&v(w%x*:ae=^O:al=\E[L:as=^N:bl=^G:\
-	:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:cr=^M:\
-	:dc=\E[P:dl=\E[M:do=\E[B:eA=\E)6:ei=:ho=\E[H:\
+	:co#126:\
 	:i1=\E[<0;<1;<2;<4l\E[5;1v\E[1;1;126w\E[1;6;<2h:\
-	:ic=\E[@:im=:is=\E[3;2;2;0;1;0v\E(0\017:k1=\E[001z:\
-	:k2=\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\
-	:Fk=^^+:Fl=^^,:Fm=^^-:Fn=^^.:Fo=^^\s:K1=^^\\:K3=^^]:K4=^^^:\
-	:K5=^^_:ac=j$k"l!m#n)q+t'u&v(w%x*:ae=\036FS00:al=^^FH:\
-	:as=\036FS11:bl=^G:cd=^^FF:ce=^K:ch=\020%.\177:cl=^L:\
-	:cm=\020%r%.%.:cr=^M:cv=\020\177%.:dc=^^K:dl=^^FI:do=^Z:\
-	:ei=:ho=^^FG:i1=^R^C:ic=^^J:im=:\
-	:is=\036FQ2\036FW\036FJ\036F^\036FX004?\036F]\036O\036FS00:\
-	:k1=^^q:k2=^^r:k3=^^s:k4=^^t:k5=^^u:k6=^^v:k7=^^w:k8=^^x:\
-	:k9=^^y:k;=^^z:kC=^L:kE=^K:kd=^Z:kh=^H:kl=^Y:kr=^X:ku=^W:\
-	:le=^Y:ll=\036FG\027:mb=^N:md=^^D^T:\
-	:me=\017\025\035\036E\036FS00:mh=^\:mr=^^D:nd=^X:nw=^J:\
-	:pf=^^Fa:po=^^F`:ps=^Q:r1=^^FA:r2=\036F]\036FT0:\
-	:..sa=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;%?%p4%t\016%e\017%;%?%p1%p5%|%t\034%e\035%;\036FS%?%p9%t11%e00%;:\
-	:se=^^E^]:sf=^J:so=^^D^\:sr=^^I:ue=^U:up=^W:us=^T:\
-	:ve=\036FQ2:vi=\036FQ0:
+	:tc=d410-dg:
 
 # These add intelligent features like scrolling regions.
 d412-unix|d462-unix|d412+|d462+|Data General DASHER D412+/D462+ series in Unix mode:\
-	:5i:NL:am:bw:km:ms:xo:\
-	:co#80:it#8:li#24:\
-	:#2=^^Pf:#4=^^Pd:%9=^^P0:%f=^^P1:%i=^^Pc:F1=^^{:F2=^^|:\
-	:F3=^^}:F4=^^~:F5=^^p:F6=^^a:F7=^^b:F8=^^c:F9=^^d:FA=^^e:\
-	:FB=^^f:FC=^^g:FD=^^h:FE=^^i:FF=^^j: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1=^^\\:K3=^^]:K4=^^^:K5=^^_:\
-	:ac=a\177j$k"l!m#n)q+t'u&v(w%x*:ae=\036FS00:al=^^FH:\
-	:as=\036FS11:bl=^G:cd=^^FF:ce=^^PE:..ch=\036FP%p1%2.2XFF:\
-	:cl=^^FE:..cm=\036FP%p2%2.2X%p1%2.2X:cr=^M:\
-	:..cv=\036FPFF%p1%2.2X:dc=^^K:dl=^^FI:do=^^PB:ei=:ho=^^FG:\
-	:i1=\022\003\036P@1:i2=\036Fz0:ic=^^J:im=:\
+	:co#132:\
 	:is=\036FQ5\036FW\036FK\036F^\036FX0083\036O\036FS00:\
-	:k1=^^q:k2=^^r:k3=^^s:k4=^^t:k5=^^u:k6=^^v:k7=^^w:k8=^^x:\
-	:k9=^^y:k;=^^z:kC=^^PH:kE=^^PE:kd=^^PB:kh=^^PF:kl=^^PD:\
-	:kr=^^PC:ku=^^PA:le=^^PD:ll=\036FG\036PA:mb=^^PI:md=^^D^T:\
-	:me=\036PJ\025\035\036E\036FS00:mh=^\:mr=^^D:nd=^^PC:\
-	:nw=^J:pf=^^Fa:po=^^F`:ps=^A:r1=\036FA\036FT0:\
-	:r2=\036P@1\036FK\036FX0083:rc=\036F}11:\
-	:..sa=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;\036P%?%p4%tI%eJ%;%?%p1%p5%|%t\034%e\035%;\036FS%?%p9%t11%e00%;:\
-	:sc=\036F}10:se=^^E^]:sf=^J:so=^^D^\:sr=^^I:ta=^I:ue=^U:\
-	:up=^^PA:us=^T:ve=\036FQ5:vi=\036FQ0:\
-	:..wi=\036FB%?%p1%t%p1%2.2X1%;%p2%p1%-%{1}%+%2.2X1%?%{23}%p2%>%t001%;\036FX%p3%2.2X%p4%2.2X:
+	:rs=\036P@1\036FK\036FX0083:\
+	:..wi=\036FB%?%p1%t%p1%2.2X1%;%p2%p1%-%{1}%+%2.2X1%?%{23}%p2%>%t001%;\036FX%p3%2.2X%p4%2.2X:\
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\036FG\036PA:mb=^^PI:md=^^D^T:\
-	:me=\036PJ\025\035\036E\036FS00:mh=^\:mr=^^D:nd=^^PC:\
-	:nw=^J:pf=^^Fa:po=^^F`:ps=^A:r1=\036FA\036FT0:r2=\036P@1:\
-	:rc=\036F}11:\
-	:..sa=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;\036P%?%p4%tI%eJ%;%?%p1%p5%|%t\034%e\035%;\036FS%?%p9%t11%e00%;:\
-	:sc=\036F}10:se=^^E^]:sf=^J:so=^^D^\:sr=^^I:ta=^I:ue=^U:\
-	:up=^^PA:us=^T:ve=\036FQ5:vi=\036FQ0:\
-	:..wi=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{24}%p2%>%t000%;\036FX%p3%2.2X%p4%2.2X:
+	:li#25:\
+	:i2=\036Fz2:\
+	:..wi=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{24}%p2%>%t000%;\036FX%p3%2.2X%p4%2.2X:\
+	:tc=d462+:
 d412-unix-s|d462-unix-s|d412+s|d462+s|Data General DASHER D412+/D462+ in Unix mode with status line:\
-	:5i:NL:am:bw:es:hs:km:ms:xo:\
-	:co#80:it#8:li#24:\
-	:#2=^^Pf:#4=^^Pd:%9=^^P0:%f=^^P1:%i=^^Pc:F1=^^{:F2=^^|:\
-	:F3=^^}:F4=^^~:F5=^^p:F6=^^a:F7=^^b:F8=^^c:F9=^^d:FA=^^e:\
-	:FB=^^f:FC=^^g:FD=^^h:FE=^^i:FF=^^j:FG=^^k:FH=^^l:FI=^^m:\
-	:FJ=^^n:FK=^^`:FL=^^1:FM=^^2:FN=^^3:FO=^^4:FP=^^5:FQ=^^6:\
-	:FR=^^7:FS=^^8:FT=^^9:FU=^^\::FV=^^;:FW=^^<:FX=^^=:FY=^^>:\
-	:FZ=^^0:Fa=^^!:Fb=^^":Fc=^^#:Fd=^^$:Fe=^^%:Ff=^^&:Fg=^^':\
-	:Fh=^^(:Fi=^^):Fj=^^*:Fk=^^+:Fl=^^,:Fm=^^-:Fn=^^.:Fo=^^\s:\
-	:K1=^^\\:K3=^^]:K4=^^^:K5=^^_:\
-	:ac=a\177j$k"l!m#n)q+t'u&v(w%x*:ae=\036FS00:al=^^FH:\
-	:as=\036FS11:bl=^G:cd=^^FF:ce=^^PE:..ch=\036FP%p1%2.2XFF:\
-	:cl=\036FG\036PH:..cm=\036FP%p2%2.2X%p1%2.2X:cr=^M:\
-	:..cv=\036FPFF%p1%2.2X:dc=^^K:dl=^^FI:do=^^PB:ei=:\
-	:fs=\036F}01\022:ho=^^FG:i1=\022\003\036P@1:\
-	:i2=\036Fz2\036F}00\036FB180000\036F}01:ic=^^J:im=:\
-	:is=\036FQ5\036FW\036FJ\036F^\036FX004F\036O\036FS00:\
-	:k1=^^q:k2=^^r:k3=^^s:k4=^^t:k5=^^u:k6=^^v:k7=^^w:k8=^^x:\
-	:k9=^^y:k;=^^z:kC=^^PH:kE=^^PE:kd=^^PB:kh=^^PF:kl=^^PD:\
-	:kr=^^PC:ku=^^PA:le=^^PD:mb=^^PI:md=^^D^T:\
-	:me=\036PJ\025\035\036E\036FS00:mh=^\:mr=^^D:nd=^^PC:\
-	:nw=^J:pf=^^Fa:po=^^F`:ps=^A:r1=\036FA\036FT0:r2=\036P@1:\
-	:rc=\036F}11:\
-	:..sa=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;\036P%?%p4%tI%eJ%;%?%p1%p5%|%t\034%e\035%;\036FS%?%p9%t11%e00%;:\
-	:sc=\036F}10:se=^^E^]:sf=^J:so=^^D^\:sr=^^I:ta=^I:\
-	:..ts=\036F}00\036FP%p1%2.2X18\036PG:ue=^U:up=^^PA:\
-	:us=^T:ve=\036FQ5:vi=\036FQ0:\
-	:..wi=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2%>%t%{23}%p2%-%2.2X0%;000\036FX%p3%2.2X%p4%2.2X:
+	:es:hs:\
+	:cl=\036FG\036PH:fs=\036F}01\022:\
+	:i2=\036Fz2\036F}00\036FB180000\036F}01:ll@:\
+	:..ts=\036F}00\036FP%p1%2.2X18\036PG:\
+	:..wi=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2%>%t%{23}%p2%-%2.2X0%;000\036FX%p3%2.2X%p4%2.2X:\
+	:tc=d462+:
 
 #	Relative cursor motions are confined to the current window,
 #	which is not what the scrolling region specification expects.
 #	Thus, relative vertical cursor positioning must be deleted.
 d412-unix-sr|d462-unix-sr|d412+sr|d462+sr|Data General DASHER D412+/D462+ in Unix mode with scrolling region:\
-	:5i:NL:am:bw:km:ms:xo:\
-	:co#80:it#8:li#24:\
-	:#2=^^Pf:#4=^^Pd:%9=^^P0:%f=^^P1:%i=^^Pc:F1=^^{:F2=^^|:\
-	:F3=^^}:F4=^^~:F5=^^p:F6=^^a:F7=^^b:F8=^^c:F9=^^d:FA=^^e:\
-	:FB=^^f:FC=^^g:FD=^^h:FE=^^i:FF=^^j:FG=^^k:FH=^^l:FI=^^m:\
-	:FJ=^^n:FK=^^`:FL=^^1:FM=^^2:FN=^^3:FO=^^4:FP=^^5:FQ=^^6:\
-	:FR=^^7:FS=^^8:FT=^^9:FU=^^\::FV=^^;:FW=^^<:FX=^^=:FY=^^>:\
-	:FZ=^^0:Fa=^^!:Fb=^^":Fc=^^#:Fd=^^$:Fe=^^%:Ff=^^&:Fg=^^':\
-	:Fh=^^(:Fi=^^):Fj=^^*:Fk=^^+:Fl=^^,:Fm=^^-:Fn=^^.:Fo=^^\s:\
-	:K1=^^\\:K3=^^]:K4=^^^:K5=^^_:\
-	:ac=a\177j$k"l!m#n)q+t'u&v(w%x*:ae=\036FS00:al=^^FH:\
-	:as=\036FS11:bl=^G:cd=^^FF:ce=^^PE:..ch=\036FP%p1%2.2XFF:\
-	:cl=^^FE:..cm=\036FP%p2%2.2X%p1%2.2X:cr=^M:\
 	:..cs=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2%>%t000%;:\
-	:..cv=\036FPFF%p1%2.2X:dc=^^K:dl=^^FI:ei=:ho=^^FG:\
-	:i1=\022\003\036P@1:i2=\036Fz0:ic=^^J:im=:\
-	:is=\036FQ5\036FW\036FJ\036F^\036FX004F\036O\036FS00:\
-	:k1=^^q:k2=^^r:k3=^^s:k4=^^t:k5=^^u:k6=^^v:k7=^^w:k8=^^x:\
-	:k9=^^y:k;=^^z:kC=^^PH:kE=^^PE:kd=^^PB:kh=^^PF:kl=^^PD:\
-	:kr=^^PC:ku=^^PA:le=^^PD:mb=^^PI:md=^^D^T:\
-	:me=\036PJ\025\035\036E\036FS00:mh=^\:mr=^^D:nd=^^PC:\
-	:nw=^J:pf=^^Fa:po=^^F`:ps=^A:r1=\036FA\036FT0:r2=\036P@1:\
-	:rc=\036F}11:\
-	:..sa=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;\036P%?%p4%tI%eJ%;%?%p1%p5%|%t\034%e\035%;\036FS%?%p9%t11%e00%;:\
-	:sc=\036F}10:se=^^E^]:sf=^J:so=^^D^\:sr=^^I:ta=^I:ue=^U:\
-	:us=^T:ve=\036FQ5:vi=\036FQ0:\
-	:..wi=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2%>%t000%;\036FX%p3%2.2X%p4%2.2X:
+	:do@:ll@:up@:tc=d462+:
 
 d413-unix|d463-unix|Data General DASHER D413/D463 series in DG-UNIX mode:\
-	:5i:NL:am:bw:km:ms:xo:\
-	:co#80:it#8:li#24:\
-	:#2=^^Pf:#4=^^Pd:%9=^^P0:%f=^^P1:%i=^^Pc:F1=^^{:F2=^^|:\
-	:F3=^^}:F4=^^~:F5=^^p:F6=^^a:F7=^^b:F8=^^c:F9=^^d:FA=^^e:\
-	:FB=^^f:FC=^^g:FD=^^h:FE=^^i:F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
-	:k1=^^q:k2=^^r:k3=^^s:k4=^^t:k5=^^u:k6=^^v:k7=^^w:k8=^^x:\
-	:k9=^^y:k;=^^z:kC=^^PH:kE=^^PE:kd=^^PB:kh=^^PF:kl=^^PD:\
-	:kr=^^PC:ku=^^PA:le=^^PD:ll=\036FG\036PA:mb=^^PI:md=^^D^T:\
-	:me=\036PJ\025\035\036E\036FS00:mh=^\:mr=^^D:nd=^^PC:\
-	:nw=^J:pf=^^Fa:po=^^F`:ps=^A:r1=\036FA\036FT0:\
-	:r2=\036P@1\036FK\036FX0083:rc=\036F}11:\
-	:..sa=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;\036P%?%p4%tI%eJ%;%?%p1%p5%|%t\034%e\035%;\036FS%?%p9%t11%e00%;:\
-	:sc=\036F}10:se=^^E^]:sf=^J:so=^^D^\:sr=^^I:ta=^I:ue=^U:\
-	:up=^^PA:us=^T:ve=\036FQ5:vi=\036FQ0:\
-	:..wi=\036FB%?%p1%t%p1%2.2X1%;%p2%p1%-%{1}%+%2.2X1%?%{23}%p2%>%t001%;\036FX%p3%2.2X%p4%2.2X:
+	:tc=d412-unix-w:
 d413-unix-25|d463-unix-25|Data General DASHER D413/D463 series in DG-UNIX mode with 25 lines:\
-	:5i:NL:am:bw:km:ms:xo:\
-	:co#80:it#8:li#25:\
-	:#2=^^Pf:#4=^^Pd:%9=^^P0:%f=^^P1:%i=^^Pc:F1=^^{:F2=^^|:\
-	:F3=^^}:F4=^^~:F5=^^p:F6=^^a:F7=^^b:F8=^^c:F9=^^d:FA=^^e:\
-	:FB=^^f:FC=^^g:FD=^^h:FE=^^i:FF=^^j:FG=^^k:FH=^^l:FI=^^m:\
-	:FJ=^^n:FK=^^`:FL=^^1:FM=^^2:FN=^^3:FO=^^4:FP=^^5:FQ=^^6:\
-	:FR=^^7:FS=^^8:FT=^^9:FU=^^\::FV=^^;:FW=^^<:FX=^^=:FY=^^>:\
-	:FZ=^^0:Fa=^^!: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PC:ku=^^PA:le=^^PD:mb=^^PI:md=^^D^T:\
-	:me=\036PJ\025\035\036E\036FS00:mh=^\:mr=^^D:nd=^^PC:\
-	:nw=^J:pf=^^Fa:po=^^F`:ps=^A:r1=\036FA\036FT0:r2=\036P@1:\
-	:rc=\036F}11:\
-	:..sa=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;\036P%?%p4%tI%eJ%;%?%p1%p5%|%t\034%e\035%;\036FS%?%p9%t11%e00%;:\
-	:sc=\036F}10:se=^^E^]:sf=^J:so=^^D^\:sr=^^I:ta=^I:\
-	:..ts=\036F}00\036FP%p1%2.2X18\036PG:ue=^U:up=^^PA:\
-	:us=^T:ve=\036FQ5:vi=\036FQ0:\
-	:..wi=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2%>%t%{23}%p2%-%2.2X0%;000\036FX%p3%2.2X%p4%2.2X:
+	:tc=d412-unix-s:
 d413-unix-sr|d463-unix-sr|Data General DASHER D413/D463 in DG-UNIX mode with scrolling region:\
-	:5i:NL:am:bw:km:ms:xo:\
-	:co#80:it#8:li#24:\
-	:#2=^^Pf:#4=^^Pd:%9=^^P0:%f=^^P1:%i=^^Pc:F1=^^{:F2=^^|:\
-	:F3=^^}:F4=^^~:F5=^^p:F6=^^a:F7=^^b:F8=^^c:F9=^^d:FA=^^e:\
-	:FB=^^f:FC=^^g:FD=^^h:FE=^^i:FF=^^j:FG=^^k:FH=^^l:FI=^^m:\
-	:FJ=^^n:FK=^^`:FL=^^1:FM=^^2:FN=^^3:FO=^^4:FP=^^5:FQ=^^6:\
-	:FR=^^7:FS=^^8:FT=^^9:FU=^^\::FV=^^;:FW=^^<:FX=^^=:FY=^^>:\
-	:FZ=^^0:Fa=^^!:Fb=^^":Fc=^^#:Fd=^^$:Fe=^^%:Ff=^^&:Fg=^^':\
-	:Fh=^^(:Fi=^^):Fj=^^*:Fk=^^+:Fl=^^,:Fm=^^-:Fn=^^.:Fo=^^\s:\
-	:K1=^^\\:K3=^^]:K4=^^^:K5=^^_:\
-	:ac=a\177j$k"l!m#n)q+t'u&v(w%x*:ae=\036FS00:al=^^FH:\
-	:as=\036FS11:bl=^G:cd=^^FF:ce=^^PE:..ch=\036FP%p1%2.2XFF:\
-	:cl=^^FE:..cm=\036FP%p2%2.2X%p1%2.2X:cr=^M:\
-	:..cs=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2%>%t000%;:\
-	:..cv=\036FPFF%p1%2.2X:dc=^^K:dl=^^FI:ei=:ho=^^FG:\
-	:i1=\022\003\036P@1:i2=\036Fz0:ic=^^J:im=:\
-	:is=\036FQ5\036FW\036FJ\036F^\036FX004F\036O\036FS00:\
-	:k1=^^q:k2=^^r:k3=^^s:k4=^^t:k5=^^u:k6=^^v:k7=^^w:k8=^^x:\
-	:k9=^^y:k;=^^z:kC=^^PH:kE=^^PE:kd=^^PB:kh=^^PF:kl=^^PD:\
-	:kr=^^PC:ku=^^PA:le=^^PD:mb=^^PI:md=^^D^T:\
-	:me=\036PJ\025\035\036E\036FS00:mh=^\:mr=^^D:nd=^^PC:\
-	:nw=^J:pf=^^Fa:po=^^F`:ps=^A:r1=\036FA\036FT0:r2=\036P@1:\
-	:rc=\036F}11:\
-	:..sa=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;\036P%?%p4%tI%eJ%;%?%p1%p5%|%t\034%e\035%;\036FS%?%p9%t11%e00%;:\
-	:sc=\036F}10:se=^^E^]:sf=^J:so=^^D^\:sr=^^I:ta=^I:ue=^U:\
-	:us=^T:ve=\036FQ5:vi=\036FQ0:\
-	:..wi=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2%>%t000%;\036FX%p3%2.2X%p4%2.2X:
+	:tc=d412-unix-sr:
 
 d414-unix|d464-unix|Data General D414/D464 in DG-UNIX mode:\
-	:5i:NL:am:bw:km:ms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^^FE:..cm=\036FP%p2%2.2X%p1%2.2X:cr=^M:\
-	:..cv=\036FPFF%p1%2.2X:dc=^^K:dl=^^FI:do=^^PB:ei=:ho=^^FG:\
-	:i1=\022\003\036P@1:i2=\036Fz0:ic=^^J:im=:\
-	:is=\036FQ5\036FW\036FK\036F^\036FX0083\036O\036FS00:\
-	:k1=^^q:k2=^^r:k3=^^s:k4=^^t:k5=^^u:k6=^^v:k7=^^w:k8=^^x:\
-	:k9=^^y:k;=^^z:kC=^^PH:kE=^^PE:kd=^^PB:kh=^^PF:kl=^^PD:\
-	:kr=^^PC:ku=^^PA:le=^^PD:ll=\036FG\036PA:mb=^^PI:md=^^D^T:\
-	:me=\036PJ\025\035\036E\036FS00:mh=^\:mr=^^D:nd=^^PC:\
-	:nw=^J:pf=^^Fa:po=^^F`:ps=^A:r1=\036FA\036FT0:\
-	:r2=\036P@1\036FK\036FX0083:rc=\036F}11:\
-	:..sa=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;\036P%?%p4%tI%eJ%;%?%p1%p5%|%t\034%e\035%;\036FS%?%p9%t11%e00%;:\
-	:sc=\036F}10:se=^^E^]:sf=^J:so=^^D^\:sr=^^I:ta=^I:ue=^U:\
-	:up=^^PA:us=^T:ve=\036FQ5:vi=\036FQ0:\
-	:..wi=\036FB%?%p1%t%p1%2.2X1%;%p2%p1%-%{1}%+%2.2X1%?%{23}%p2%>%t001%;\036FX%p3%2.2X%p4%2.2X:
+	:tc=d413-unix-w:
 d414-unix-25|d464-unix-25|Data General D414/D464 in DG-UNIX mode with 25 lines:\
-	:5i:NL:am:bw:km:ms:xo:\
-	:co#80:it#8:li#25:\
-	:#2=^^Pf:#4=^^Pd:%9=^^P0:%f=^^P1:%i=^^Pc:F1=^^{:F2=^^|:\
-	:F3=^^}:F4=^^~:F5=^^p:F6=^^a:F7=^^b:F8=^^c:F9=^^d:FA=^^e:\
-	:FB=^^f:FC=^^g:FD=^^h:FE=^^i:FF=^^j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\036FQ5\036FW\036FJ\036F^\036FX004F\036O\036FS00:\
-	:k1=^^q:k2=^^r:k3=^^s:k4=^^t:k5=^^u:k6=^^v:k7=^^w:k8=^^x:\
-	:k9=^^y:k;=^^z:kC=^^PH:kE=^^PE:kd=^^PB:kh=^^PF:kl=^^PD:\
-	:kr=^^PC:ku=^^PA:le=^^PD:mb=^^PI:md=^^D^T:\
-	:me=\036PJ\025\035\036E\036FS00:mh=^\:mr=^^D:nd=^^PC:\
-	:nw=^J:pf=^^Fa:po=^^F`:ps=^A:r1=\036FA\036FT0:r2=\036P@1:\
-	:rc=\036F}11:\
-	:..sa=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;\036P%?%p4%tI%eJ%;%?%p1%p5%|%t\034%e\035%;\036FS%?%p9%t11%e00%;:\
-	:sc=\036F}10:se=^^E^]:sf=^J:so=^^D^\:sr=^^I:ta=^I:\
-	:..ts=\036F}00\036FP%p1%2.2X18\036PG:ue=^U:up=^^PA:\
-	:us=^T:ve=\036FQ5:vi=\036FQ0:\
-	:..wi=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2%>%t%{23}%p2%-%2.2X0%;000\036FX%p3%2.2X%p4%2.2X:
+	:tc=d413-unix-s:
 d414-unix-sr|d464-unix-sr|Data General D414/D464 in DG-UNIX mode with scrolling region:\
-	:5i:NL:am:bw:km:ms:xo:\
-	:co#80:it#8:li#24:\
-	:#2=^^Pf:#4=^^Pd:%9=^^P0:%f=^^P1:%i=^^Pc:F1=^^{:F2=^^|:\
-	:F3=^^}:F4=^^~:F5=^^p:F6=^^a:F7=^^b:F8=^^c:F9=^^d:FA=^^e:\
-	:FB=^^f:FC=^^g:FD=^^h:FE=^^i:FF=^^j:FG=^^k:FH=^^l:FI=^^m:\
-	:FJ=^^n:FK=^^`:FL=^^1:FM=^^2:FN=^^3:FO=^^4:FP=^^5:FQ=^^6:\
-	:FR=^^7:FS=^^8:FT=^^9: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J:im=:\
-	:is=\036FQ2\036FW\036FJ\036F^\036FX004?\036F]\036O\036FS00:\
-	:k1=^^q:k2=^^r:k3=^^s:k4=^^t:k5=^^u:k6=^^v:k7=^^w:k8=^^x:\
-	:k9=^^y:k;=^^z:kC=^L:kE=^K:kd=^Z:kh=^H:kl=^Y:kr=^X:ku=^W:\
-	:le=^Y:ll=\036FG\027:mb=^N:md=^^D^T:\
-	:me=\017\025\035\036E\036FS00:mh=^\:mr=^^D:nd=^X:nw=^J:\
-	:op=\036Ad\036Bd:pf=^^Fa:po=^^F`:ps=^Q:r1=^^FA:\
-	:r2=\036F]\036FT0:\
-	:..sa=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;%?%p4%t\016%e\017%;%?%p1%p5%|%t\034%e\035%;\036FS%?%p9%t11%e00%;:\
-	:se=^^E^]:sf=^J:so=^^D^\:sr=^^I:ue=^U:up=^W:us=^T:\
-	:ve=\036FQ2:vi=\036FQ0:
+	:tc=d413-dg:tc=dg+fixed:
 d430c-dg-ccc|d430-dg-ccc|Data General D430C in DG mode with configurable colors:\
-	:5i:NL:am:bw:cc:km:ms:ut:xo:\
-	:Co#52:NC#53:co#80:li#24:pa#26:\
-	:#2=^^^H:#4=^^^Y:%i=^^^X:F1=^^{:F2=^^|:F3=^^}:F4=^^~:F5=^^p:\
-	:F6=^^a:F7=^^b:F8=^^c:F9=^^d:FA=^^e:FB=^^f:FC=^^g:FD=^^h:\
-	:FE=^^i:FF=^^j:FG=^^k:FH=^^l:FI=^^m:FJ=^^n:FK=^^`:FL=^^1:\
-	:FM=^^2:FN=^^3:FO=^^4:FP=^^5:FQ=^^6:FR=^^7:FS=^^8:FT=^^9:\
-	:FU=^^\::FV=^^;:FW=^^<:FX=^^=:FY=^^>:FZ=^^0:Fa=^^!:Fb=^^":\
-	:Fc=^^#:Fd=^^$:Fe=^^%:Ff=^^&:Fg=^^':Fh=^^(:Fi=^^):Fj=^^*:\
-	:Fk=^^+:Fl=^^,:Fm=^^-:Fn=^^.:Fo=^^\s:\
-	:..Ip=\036RG0%p1%{16}%/%{48}%+%c%p1%{16}%m%{48}%+%c%p2%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p3%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p4%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p5%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p6%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p7%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c:\
-	:K1=^^\\:K3=^^]:K4=^^^:K5=^^_:ac=j$k"l!m#n)q+t'u&v(w%x*:\
-	:ae=\036FS00:al=^^FH:as=\036FS11:bl=^G:cd=^^FF:ce=^K:\
-	:ch=\020%.\177:cl=^L:cm=\020%r%.%.:cr=^M:cv=\020\177%.:\
-	:dc=^^K:dl=^^FI:do=^Z:ei=:ho=^^FG:i1=^R^C:ic=^^J:im=:\
-	:is=\036FQ2\036FW\036FJ\036F^\036FX004?\036F]\036O\036FS00:\
-	:k1=^^q:k2=^^r:k3=^^s:k4=^^t:k5=^^u:k6=^^v:k7=^^w:k8=^^x:\
-	:k9=^^y:k;=^^z:kC=^L:kE=^K:kd=^Z:kh=^H:kl=^Y:kr=^X:ku=^W:\
-	:le=^Y:ll=\036FG\027:mb=^N:md=^^D^T:\
-	:me=\017\025\035\036E\036FS00:mh=^\:mr=^^D:nd=^X:nw=^J:\
-	:oc=\036RG01\:00??00000000\036RG01;00000000??00\036RG01<007?00000000\036RG01=000000007?00:\
-	:op=\036RF4831\:\036RF2>31;\036RF1=31<\036RF3?31=:\
-	:pf=^^Fa:po=^^F`:ps=^Q:r1=^^FA:r2=\036F]\036FT0:\
-	:..sa=\036%?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al=^^FH:as=\036FS11:bl=^G:cd=^^FF:ce=^^PE:\
-	:..ch=\036FP%p1%2.2XFF:cl=^^FE:\
-	:..cm=\036FP%p2%2.2X%p1%2.2X:cr=^M:\
-	:..cv=\036FPFF%p1%2.2X:dc=^^K:dl=^^FI:do=^^PB:ei=:ho=^^FG:\
-	:i1=\022\003\036P@1:i2=\036Fz0:ic=^^J:im=:\
-	:is=\036FQ5\036FW\036FJ\036F^\036FX004F\036O\036FS00:\
-	:k1=^^q:k2=^^r:k3=^^s:k4=^^t:k5=^^u:k6=^^v:k7=^^w:k8=^^x:\
-	:k9=^^y:k;=^^z:kC=^^PH:kE=^^PE:kd=^^PB:kh=^^PF:kl=^^PD:\
-	:kr=^^PC:ku=^^PA:le=^^PD:ll=\036FG\036PA:mb=^^PI:md=^^D^T:\
-	:me=\036PJ\025\035\036E\036FS00:mh=^\:mr=^^D:nd=^^PC:\
-	:nw=^J:op=\036Ad\036Bd:pf=^^Fa:po=^^F`:ps=^A:\
-	:r1=\036FA\036FT0:r2=\036P@1:rc=\036F}11:\
-	:..sa=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;\036P%?%p4%tI%eJ%;%?%p1%p5%|%t\034%e\035%;\036FS%?%p9%t11%e00%;:\
-	:sc=\036F}10:se=^^E^]:sf=^J:so=^^D^\:sr=^^I:ta=^I:ue=^U:\
-	:up=^^PA:us=^T:ve=\036FQ5:vi=\036FQ0:\
-	:..wi=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2%>%t000%;\036FX%p3%2.2X%p4%2.2X:
+	:tc=d413-unix:tc=dgunix+fixed:
 d430c-unix-w|d430-unix-w|Data General D430C in wide DG-UNIX mode:\
-	:5i:NL:am:bw:km:ms:ut:xo:\
-	:Co#16:NC#53:co#132:it#8:li#24:pa#256:\
-	:#2=^^Pf:#4=^^Pd:%9=^^P0:%f=^^P1:%i=^^Pc:\
-	:..AB=\036B%p1%?%p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^^PC:ku=^^PA:le=^^PD:ll=\036FG\036PA:mb=^^PI:md=^^D^T:\
-	:me=\036PJ\025\035\036E\036FS00:mh=^\:mr=^^D:nd=^^PC:\
-	:nw=^J:op=\036Ad\036Bd:pf=^^Fa:po=^^F`:ps=^A:\
-	:r1=\036FA\036FT0:r2=\036P@1\036FK\036FX0083:\
-	:rc=\036F}11:\
-	:..sa=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;\036P%?%p4%tI%eJ%;%?%p1%p5%|%t\034%e\035%;\036FS%?%p9%t11%e00%;:\
-	:sc=\036F}10:se=^^E^]:sf=^J:so=^^D^\:sr=^^I:ta=^I:ue=^U:\
-	:up=^^PA:us=^T:ve=\036FQ5:vi=\036FQ0:\
-	:..wi=\036FB%?%p1%t%p1%2.2X1%;%p2%p1%-%{1}%+%2.2X1%?%{23}%p2%>%t001%;\036FX%p3%2.2X%p4%2.2X:
+	:tc=d413-unix-w:tc=dgunix+fixed:
 d430c-unix-25|d430-unix-25|Data General D430C in DG-UNIX mode with 25 lines:\
-	:5i:NL:am:bw:km:ms:ut:xo:\
-	:Co#16:NC#53:co#80:it#8:li#25:pa#256:\
-	:#2=^^Pf:#4=^^Pd:%9=^^P0:%f=^^P1:%i=^^Pc:\
-	:..AB=\036B%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c:\
-	:..AF=\036A%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c:\
-	:F1=^^{:F2=^^|:F3=^^}:F4=^^~:F5=^^p:F6=^^a:F7=^^b:F8=^^c:\
-	:F9=^^d:FA=^^e:FB=^^f:FC=^^g:FD=^^h:FE=^^i:FF=^^j:FG=^^k:\
-	:FH=^^l:FI=^^m:FJ=^^n:FK=^^`:FL=^^1:FM=^^2:FN=^^3:FO=^^4:\
-	:FP=^^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.2XFF:cl=\036FG\036PH:\
-	:..cm=\036FP%p2%2.2X%p1%2.2X:cr=^M:\
-	:..cv=\036FPFF%p1%2.2X:dc=^^K:dl=^^FI:do=^^PB:ei=:\
-	:fs=\036F}01\022:ho=^^FG:i1=\022\003\036P@1:\
-	:i2=\036Fz2\036F}00\036FB180000\036F}01:ic=^^J:im=:\
-	:is=\036FQ5\036FW\036FJ\036F^\036FX004F\036O\036FS00:\
-	:k1=^^q:k2=^^r:k3=^^s:k4=^^t:k5=^^u:k6=^^v:k7=^^w:k8=^^x:\
-	:k9=^^y:k;=^^z:kC=^^PH:kE=^^PE:kd=^^PB:kh=^^PF:kl=^^PD:\
-	:kr=^^PC:ku=^^PA:le=^^PD:mb=^^PI:md=^^D^T:\
-	:me=\036PJ\025\035\036E\036FS00:mh=^\:mr=^^D:nd=^^PC:\
-	:nw=^J:op=\036Ad\036Bd:pf=^^Fa:po=^^F`:ps=^A:\
-	:r1=\036FA\036FT0:r2=\036P@1:rc=\036F}11:\
-	:..sa=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;\036P%?%p4%tI%eJ%;%?%p1%p5%|%t\034%e\035%;\036FS%?%p9%t11%e00%;:\
-	:sc=\036F}10:se=^^E^]:sf=^J:so=^^D^\:sr=^^I:ta=^I:\
-	:..ts=\036F}00\036FP%p1%2.2X18\036PG:ue=^U:up=^^PA:\
-	:us=^T:ve=\036FQ5:vi=\036FQ0:\
-	:..wi=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2%>%t%{23}%p2%-%2.2X0%;000\036FX%p3%2.2X%p4%2.2X:
+	:tc=d413-unix-s:tc=dgunix+fixed:
 d430c-unix-sr|d430-unix-sr|Data General D430C in DG-UNIX mode with scrolling region:\
-	:5i:NL:am:bw:km:ms:ut:xo:\
-	:Co#16:NC#53:co#80:it#8:li#24:pa#256:\
-	:#2=^^Pf:#4=^^Pd:%9=^^P0:%f=^^P1:%i=^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=^^v:k7=^^w:k8=^^x:\
-	:k9=^^y:k;=^^z:kC=^^PH:kE=^^PE:kd=^^PB:kh=^^PF:kl=^^PD:\
-	:kr=^^PC:ku=^^PA:le=^^PD:mb=^^PI:md=^^D^T:\
-	:me=\036PJ\025\035\036E\036FS00:mh=^\:mr=^^D:nd=^^PC:\
-	:nw=^J:op=\036Ad\036Bd:pf=^^Fa:po=^^F`:ps=^A:\
-	:r1=\036FA\036FT0:r2=\036P@1:rc=\036F}11:\
-	:..sa=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;\036P%?%p4%tI%eJ%;%?%p1%p5%|%t\034%e\035%;\036FS%?%p9%t11%e00%;:\
-	:sc=\036F}10:se=^^E^]:sf=^J:so=^^D^\:sr=^^I:ta=^I:ue=^U:\
-	:us=^T:ve=\036FQ5:vi=\036FQ0:\
-	:..wi=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2%>%t000%;\036FX%p3%2.2X%p4%2.2X:
+	:tc=d413-unix-sr:tc=dgunix+fixed:
 d430c-unix-ccc|d430-unix-ccc|Data General D430C in DG-UNIX mode with configurable colors:\
-	:5i:NL:am:bw:cc:km:ms:ut:xo:\
-	:Co#52:NC#53:co#80:it#8:li#24:pa#26:\
-	:#2=^^Pf:#4=^^Pd:%9=^^P0:%f=^^P1:%i=^^Pc:F1=^^{:F2=^^|:\
-	:F3=^^}:F4=^^~:F5=^^p:F6=^^a:F7=^^b:F8=^^c:F9=^^d:FA=^^e:\
-	:FB=^^f:FC=^^g:FD=^^h:FE=^^i:FF=^^j:FG=^^k:FH=^^l:FI=^^m:\
-	:FJ=^^n:FK=^^`:FL=^^1:FM=^^2:FN=^^3:FO=^^4:FP=^^5:FQ=^^6:\
-	:FR=^^7:FS=^^8:FT=^^9:FU=^^\::FV=^^;:FW=^^<:FX=^^=:FY=^^>:\
-	:FZ=^^0:Fa=^^!:Fb=^^":Fc=^^#:Fd=^^$:Fe=^^%:Ff=^^&:Fg=^^':\
-	:Fh=^^(:Fi=^^):Fj=^^*:Fk=^^+:Fl=^^,:Fm=^^-:Fn=^^.:Fo=^^\s:\
-	:..Ip=\036RG0%p1%02X%p2%{256}%*%{1001}%/%02X%p3%{256}%*%{1001}%/%02X%p4%{256}%*%{1001}%/%02X%p5%{256}%*%{1001}%/%02X%p6%{256}%*%{1001}%/%02X%p7%{256}%*%{1001}%/%02X:\
-	:K1=^^\\:K3=^^]:K4=^^^:K5=^^_:\
-	:ac=a\177j$k"l!m#n)q+t'u&v(w%x*:ae=\036FS00:al=^^FH:\
-	:as=\036FS11:bl=^G:cd=^^FF:ce=^^PE:..ch=\036FP%p1%2.2XFF:\
-	:cl=^^FE:..cm=\036FP%p2%2.2X%p1%2.2X:cr=^M:\
-	:..cv=\036FPFF%p1%2.2X:dc=^^K:dl=^^FI:do=^^PB:ei=:ho=^^FG:\
-	:i1=\022\003\036P@1:i2=\036Fz0:ic=^^J:im=:\
-	:is=\036FQ5\036FW\036FJ\036F^\036FX004F\036O\036FS00:\
-	:k1=^^q:k2=^^r:k3=^^s:k4=^^t:k5=^^u:k6=^^v:k7=^^w:k8=^^x:\
-	:k9=^^y:k;=^^z:kC=^^PH:kE=^^PE:kd=^^PB:kh=^^PF:kl=^^PD:\
-	:kr=^^PC:ku=^^PA:le=^^PD:ll=\036FG\036PA:mb=^^PI:md=^^D^T:\
-	:me=\036PJ\025\035\036E\036FS00:mh=^\:mr=^^D:nd=^^PC:\
-	:nw=^J:\
-	:oc=\036RG01A00FF00000000\036RG01B00000000FF00\036RG01C007F00000000\036RG01D000000007F00:\
-	:op=\036RF4831A\036RF2E31B\036RF1D31C\036RF3F31D:\
-	:pf=^^Fa:po=^^F`:ps=^A:r1=\036FA\036FT0:r2=\036P@1:\
-	:rc=\036F}11:\
-	:..sa=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;\036P%?%p4%tI%eJ%;%?%p1%p5%|%t\034%e\035%;\036FS%?%p9%t11%e00%;:\
-	:sc=\036F}10:se=^^E^]:sf=^J:so=^^D^\:..sp=\036RG2%p1%02X:\
-	:sr=^^I:ta=^I:ue=^U:up=^^PA:us=^T:ve=\036FQ5:vi=\036FQ0:\
-	:..wi=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2%>%t000%;\036FX%p3%2.2X%p4%2.2X:
+	:tc=d413-unix:tc=dgunix+ccc:
 d430c-unix-w-ccc|d430-unix-w-ccc|Data General D430C in wide DG-UNIX mode with configurable colors:\
-	:5i:NL:am:bw:cc:km:ms:ut:xo:\
-	:Co#52:NC#53:co#132:it#8:li#24:pa#26:\
-	:#2=^^Pf:#4=^^Pd:%9=^^P0:%f=^^P1:%i=^^Pc:F1=^^{:F2=^^|:\
-	:F3=^^}:F4=^^~:F5=^^p:F6=^^a:F7=^^b:F8=^^c:F9=^^d:FA=^^e:\
-	:FB=^^f:FC=^^g:FD=^^h:FE=^^i:FF=^^j:FG=^^k:FH=^^l:FI=^^m:\
-	:FJ=^^n:FK=^^`:FL=^^1:FM=^^2:FN=^^3:FO=^^4:FP=^^5:FQ=^^6:\
-	:FR=^^7:FS=^^8:FT=^^9:FU=^^\::FV=^^;:FW=^^<:FX=^^=:FY=^^>:\
-	:FZ=^^0:Fa=^^!:Fb=^^":Fc=^^#:Fd=^^$:Fe=^^%:Ff=^^&:Fg=^^':\
-	:Fh=^^(:Fi=^^):Fj=^^*:Fk=^^+:Fl=^^,:Fm=^^-:Fn=^^.:Fo=^^\s:\
-	:..Ip=\036RG0%p1%02X%p2%{256}%*%{1001}%/%02X%p3%{256}%*%{1001}%/%02X%p4%{256}%*%{1001}%/%02X%p5%{256}%*%{1001}%/%02X%p6%{256}%*%{1001}%/%02X%p7%{256}%*%{1001}%/%02X:\
-	:K1=^^\\:K3=^^]:K4=^^^:K5=^^_:\
-	:ac=a\177j$k"l!m#n)q+t'u&v(w%x*:ae=\036FS00:al=^^FH:\
-	:as=\036FS11:bl=^G:cd=^^FF:ce=^^PE:..ch=\036FP%p1%2.2XFF:\
-	:cl=^^FE:..cm=\036FP%p2%2.2X%p1%2.2X:cr=^M:\
-	:..cv=\036FPFF%p1%2.2X:dc=^^K:dl=^^FI:do=^^PB:ei=:ho=^^FG:\
-	:i1=\022\003\036P@1:i2=\036Fz0:ic=^^J:im=:\
-	:is=\036FQ5\036FW\036FK\036F^\036FX0083\036O\036FS00:\
-	:k1=^^q:k2=^^r:k3=^^s:k4=^^t:k5=^^u:k6=^^v:k7=^^w:k8=^^x:\
-	:k9=^^y:k;=^^z:kC=^^PH:kE=^^PE:kd=^^PB:kh=^^PF:kl=^^PD:\
-	:kr=^^PC:ku=^^PA:le=^^PD:ll=\036FG\036PA:mb=^^PI:md=^^D^T:\
-	:me=\036PJ\025\035\036E\036FS00:mh=^\:mr=^^D:nd=^^PC:\
-	:nw=^J:\
-	:oc=\036RG01A00FF00000000\036RG01B00000000FF00\036RG01C007F00000000\036RG01D000000007F00:\
-	:op=\036RF4831A\036RF2E31B\036RF1D31C\036RF3F31D:\
-	:pf=^^Fa:po=^^F`:ps=^A:r1=\036FA\036FT0:\
-	:r2=\036P@1\036FK\036FX0083:rc=\036F}11:\
-	:..sa=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;\036P%?%p4%tI%eJ%;%?%p1%p5%|%t\034%e\035%;\036FS%?%p9%t11%e00%;:\
-	:sc=\036F}10:se=^^E^]:sf=^J:so=^^D^\:..sp=\036RG2%p1%02X:\
-	:sr=^^I:ta=^I:ue=^U:up=^^PA:us=^T:ve=\036FQ5:vi=\036FQ0:\
-	:..wi=\036FB%?%p1%t%p1%2.2X1%;%p2%p1%-%{1}%+%2.2X1%?%{23}%p2%>%t001%;\036FX%p3%2.2X%p4%2.2X:
+	:tc=d413-unix-w:tc=dgunix+ccc:
 d430c-unix-25-ccc|d430-unix-25-ccc|Data General D430C in DG-UNIX mode with 25 lines and configurable colors:\
-	:5i:N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:k;=^^z:kC=^^PH:kE=^^PE:kd=^^PB:kh=^^PF:kl=^^PD:\
-	:kr=^^PC:ku=^^PA:le=^^PD:ll=\036FG\036PA:mb=^^PI:md=^^D^T:\
-	:me=\036PJ\025\035\036E\036FS00:mh=^\:mr=^^D:nd=^^PC:\
-	:nw=^J:\
-	:oc=\036RG01A00FF00000000\036RG01B00000000FF00\036RG01C007F00000000\036RG01D000000007F00:\
-	:op=\036RF4831A\036RF2E31B\036RF1D31C\036RF3F31D:\
-	:pf=^^Fa:po=^^F`:ps=^A:r1=\036FA\036FT0:r2=\036P@1:\
-	:rc=\036F}11:\
-	:..sa=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;\036P%?%p4%tI%eJ%;%?%p1%p5%|%t\034%e\035%;\036FS%?%p9%t11%e00%;:\
-	:sc=\036F}10:se=^^E^]:sf=^J:so=^^D^\:..sp=\036RG2%p1%02X:\
-	:sr=^^I:ta=^I:ue=^U:up=^^PA:us=^T:ve=\036FQ5:vi=\036FQ0:\
-	:..wi=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{24}%p2%>%t000%;\036FX%p3%2.2X%p4%2.2X:
+	:tc=d413-unix-25:tc=dgunix+ccc:
 d430c-unix-s-ccc|d430-unix-s-ccc|Data General D430C in DG-UNIX mode with status line and configurable colors:\
-	:5i:NL:am:bw:cc:es:hs:km:ms:ut:xo:\
-	:Co#52:NC#53:co#80:it#8:li#24:pa#26:\
-	:#2=^^Pf:#4=^^Pd:%9=^^P0:%f=^^P1:%i=^^Pc:F1=^^{:F2=^^|:\
-	:F3=^^}:F4=^^~:F5=^^p:F6=^^a:F7=^^b:F8=^^c:F9=^^d:FA=^^e:\
-	:FB=^^f:FC=^^g:FD=^^h:FE=^^i:FF=^^j:FG=^^k:FH=^^l:FI=^^m:\
-	:FJ=^^n:FK=^^`:FL=^^1:FM=^^2:FN=^^3:FO=^^4:FP=^^5:FQ=^^6:\
-	:FR=^^7:FS=^^8:FT=^^9:FU=^^\::FV=^^;:FW=^^<:FX=^^=:FY=^^>:\
-	:FZ=^^0:Fa=^^!:Fb=^^":Fc=^^#:Fd=^^$:Fe=^^%:Ff=^^&:Fg=^^':\
-	:Fh=^^(:Fi=^^):Fj=^^*:Fk=^^+:Fl=^^,:Fm=^^-:Fn=^^.:Fo=^^\s:\
-	:..Ip=\036RG0%p1%02X%p2%{256}%*%{1001}%/%02X%p3%{256}%*%{1001}%/%02X%p4%{256}%*%{1001}%/%02X%p5%{256}%*%{1001}%/%02X%p6%{256}%*%{1001}%/%02X%p7%{256}%*%{1001}%/%02X:\
-	:K1=^^\\:K3=^^]:K4=^^^:K5=^^_:\
-	:ac=a\177j$k"l!m#n)q+t'u&v(w%x*:ae=\036FS00:al=^^FH:\
-	:as=\036FS11:bl=^G:cd=^^FF:ce=^^PE:..ch=\036FP%p1%2.2XFF:\
-	:cl=\036FG\036PH:..cm=\036FP%p2%2.2X%p1%2.2X:cr=^M:\
-	:..cv=\036FPFF%p1%2.2X:dc=^^K:dl=^^FI:do=^^PB:ei=:\
-	:fs=\036F}01\022:ho=^^FG:i1=\022\003\036P@1:\
-	:i2=\036Fz2\036F}00\036FB180000\036F}01:ic=^^J:im=:\
-	:is=\036FQ5\036FW\036FJ\036F^\036FX004F\036O\036FS00:\
-	:k1=^^q:k2=^^r:k3=^^s:k4=^^t:k5=^^u:k6=^^v:k7=^^w:k8=^^x:\
-	:k9=^^y:k;=^^z:kC=^^PH:kE=^^PE:kd=^^PB:kh=^^PF:kl=^^PD:\
-	:kr=^^PC:ku=^^PA:le=^^PD:mb=^^PI:md=^^D^T:\
-	:me=\036PJ\025\035\036E\036FS00:mh=^\:mr=^^D:nd=^^PC:\
-	:nw=^J:\
-	:oc=\036RG01A00FF00000000\036RG01B00000000FF00\036RG01C007F00000000\036RG01D000000007F00:\
-	:op=\036RF4831A\036RF2E31B\036RF1D31C\036RF3F31D:\
-	:pf=^^Fa:po=^^F`:ps=^A:r1=\036FA\036FT0:r2=\036P@1:\
-	:rc=\036F}11:\
-	:..sa=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;\036P%?%p4%tI%eJ%;%?%p1%p5%|%t\034%e\035%;\036FS%?%p9%t11%e00%;:\
-	:sc=\036F}10:se=^^E^]:sf=^J:so=^^D^\:..sp=\036RG2%p1%02X:\
-	:sr=^^I:ta=^I:..ts=\036F}00\036FP%p1%2.2X18\036PG:ue=^U:\
-	:up=^^PA:us=^T:ve=\036FQ5:vi=\036FQ0:\
-	:..wi=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2%>%t%{23}%p2%-%2.2X0%;000\036FX%p3%2.2X%p4%2.2X:
+	:tc=d413-unix-s:tc=dgunix+ccc:
 d430c-unix-sr-ccc|d430-unix-sr-ccc|Data General D430C in DG-UNIX mode with scrolling region and configurable colors:\
-	:5i:NL:am:bw:cc:km:ms:ut:xo:\
-	:Co#52:NC#53:co#80:it#8:li#24:pa#26:\
-	:#2=^^Pf:#4=^^Pd:%9=^^P0:%f=^^P1:%i=^^Pc:F1=^^{:F2=^^|:\
-	:F3=^^}:F4=^^~:F5=^^p:F6=^^a:F7=^^b:F8=^^c:F9=^^d:FA=^^e:\
-	:FB=^^f:FC=^^g:FD=^^h:FE=^^i:FF=^^j:FG=^^k:FH=^^l:FI=^^m:\
-	:FJ=^^n:FK=^^`:FL=^^1:FM=^^2:FN=^^3:FO=^^4:FP=^^5:FQ=^^6:\
-	:FR=^^7:FS=^^8:FT=^^9:FU=^^\::FV=^^;:FW=^^<:FX=^^=:FY=^^>:\
-	:FZ=^^0:Fa=^^!:Fb=^^":Fc=^^#:Fd=^^$:Fe=^^%:Ff=^^&:Fg=^^':\
-	:Fh=^^(:Fi=^^):Fj=^^*:Fk=^^+:Fl=^^,:Fm=^^-:Fn=^^.:Fo=^^\s:\
-	:..Ip=\036RG0%p1%02X%p2%{256}%*%{1001}%/%02X%p3%{256}%*%{1001}%/%02X%p4%{256}%*%{1001}%/%02X%p5%{256}%*%{1001}%/%02X%p6%{256}%*%{1001}%/%02X%p7%{256}%*%{1001}%/%02X:\
-	:K1=^^\\:K3=^^]:K4=^^^:K5=^^_:\
-	:ac=a\177j$k"l!m#n)q+t'u&v(w%x*:ae=\036FS00:al=^^FH:\
-	:as=\036FS11:bl=^G:cd=^^FF:ce=^^PE:..ch=\036FP%p1%2.2XFF:\
-	:cl=^^FE:..cm=\036FP%p2%2.2X%p1%2.2X:cr=^M:\
-	:..cs=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2%>%t000%;:\
-	:..cv=\036FPFF%p1%2.2X:dc=^^K:dl=^^FI:ei=:ho=^^FG:\
-	:i1=\022\003\036P@1:i2=\036Fz0:ic=^^J:im=:\
-	:is=\036FQ5\036FW\036FJ\036F^\036FX004F\036O\036FS00:\
-	:k1=^^q:k2=^^r:k3=^^s:k4=^^t:k5=^^u:k6=^^v:k7=^^w:k8=^^x:\
-	:k9=^^y:k;=^^z:kC=^^PH:kE=^^PE:kd=^^PB:kh=^^PF:kl=^^PD:\
-	:kr=^^PC:ku=^^PA:le=^^PD:mb=^^PI:md=^^D^T:\
-	:me=\036PJ\025\035\036E\036FS00:mh=^\:mr=^^D:nd=^^PC:\
-	:nw=^J:\
-	:oc=\036RG01A00FF00000000\036RG01B00000000FF00\036RG01C007F00000000\036RG01D000000007F00:\
-	:op=\036RF4831A\036RF2E31B\036RF1D31C\036RF3F31D:\
-	:pf=^^Fa:po=^^F`:ps=^A:r1=\036FA\036FT0:r2=\036P@1:\
-	:rc=\036F}11:\
-	:..sa=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;\036P%?%p4%tI%eJ%;%?%p1%p5%|%t\034%e\035%;\036FS%?%p9%t11%e00%;:\
-	:sc=\036F}10:se=^^E^]:sf=^J:so=^^D^\:..sp=\036RG2%p1%02X:\
-	:sr=^^I:ta=^I:ue=^U:us=^T:ve=\036FQ5:vi=\036FQ0:\
-	:..wi=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2%>%t000%;\036FX%p3%2.2X%p4%2.2X:
-
-# dg450 from Cornell (not official)
-dg450|dg6134|data general 6134:\
-	:NL:am:bs:bw:\
-	:co#80:li#24:\
-	:bl=^G:ce=^K:cl=^L:cm=\020%r%.%.:cr=^M:do=^Z:ho=^H:k0=^^z:\
-	:k1=^^q:k2=^^r:k3=^^s:k4=^^t:k5=^^u:k6=^^v:k7=^^w:k8=^^x:\
-	:k9=^^y:kd=^Z:kh=^H:kl=^Y:kr=^X:ku=^W:l0=f10:nd=^X:nw=^J:\
-	:se=^^E:sf=^J:so=^^D:ue=^U:up=^W:us=^T:
-
-# Not official...
-# Note: lesser Dasher terminals will not work with vi because vi insists upon
-# having a command to move straight down from any position on the bottom line
-# and scroll the screen up, or a direct vertical scroll command.  The 460 and
-# above have both, the D210/211, for instance, has neither.  We must use ANSI
-# mode rather than DG mode because standard UNIX tty drivers assume that ^H is
-# backspace on all terminals.  This is not so in DG mode.
-# (dg460-ansi: removed obsolete ":kn#6:"; also removed ":mu=\EW:", on the
-# grounds that there is no matching ":ml:"
-# fixed garbled ":k9=\E[00\:z:" capability -- esr)
-dg460-ansi|Data General Dasher 460 in ANSI-mode:\
-	:am:bs:ms:ul:\
-	:co#80:it#8:li#24:\
-	:al=\E[L:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%2;%2H:dc=\E[P:\
-	:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:is=^^F@:k0=\E[001z:\
-	:k1=\E[002z:k2=\E[003z:k3=\E[004z:k4=\E[005z:k5=\E[006z:\
-	:k6=\E[007z:k7=\E[008z:k8=\E[009z:k9=\E[010z:kb=\E[D:\
-	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:l0=f1:l1=f2:l2=f3:\
-	:l3=f4:l4=f5:l5=f6:l6=f7:l7=f8:l9=f10:le=^H:mb=\E[5m:me=\E[m:\
-	:mh=\E[2m:mr=\E[7m:nd=\E[C:nl=\ED:se=\E[m:sf=\E[S:so=\E[7m:\
-	:sr=\E[T:ta=^I:ue=\E[05:up=\E[A:us=\E[4m:
+	:tc=d413-unix-sr:tc=dgunix+ccc:
 
 # DASHER D470C color terminal in ANSI mode.
 # Like the D460 but with 16 colors and without a compressed mode.
@@ -16696,83 +9947,14 @@
 #	- (should reset scrolling regions, but that glitches the screen)
 #
 d470c|d470|Data General DASHER D470C:\
-	:5i:NL:am:bw:km:ms:ut:xo:\
-	:Co#16:NC#53:co#80:li#24:pa#256:\
-	:%9=\233i:\
-	:..AB=\E[%?%p1%{8}%<%t4%p1%e=%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m:\
-	:..AF=\E[%?%p1%{8}%<%t3%p1%e<%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m:\
-	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\233011z:\
-	:F2=\233012z:F3=\233013z:F4=\233014z:F5=\233000z:\
-	:F6=\233101z:F7=\233102z:F8=\233103z:F9=\233104z:\
-	:FA=\233105z:FB=\233106z:FC=\233107z:FD=\233108z:\
-	:FE=\233109z:FF=\233110z:FG=\233111z:FH=\233112z:\
-	:FI=\233113z:FJ=\233114z:FK=\233100z:FL=\233201z:\
-	:FM=\233202z:FN=\233203z:FO=\233204z:FP=\233205z:\
-	:FQ=\233206z:FR=\233207z:FS=\233208z:FT=\233209z:\
-	:FU=\233210z:FV=\233211z:FW=\233212z:FX=\233213z:\
-	:FY=\233214z:FZ=\233200z:Fa=\233301z:Fb=\233302z:\
-	:Fc=\233303z:Fd=\233304z:Fe=\233305z:Ff=\233306z:\
-	:Fg=\233307z:Fh=\233308z:Fi=\233309z:Fj=\233310z:\
-	:Fk=\233311z:Fl=\233312z:Fm=\233313z:Fn=\233314z:\
-	:Fo=\233300z:IC=\E[%d@:K1=\233020z:K3=\233021z:\
-	:K4=\233022z:K5=\233023z:LE=\E[%dD:RI=\E[%dC:\
-	:..Sb=\E[%?%p1%{8}%<%t4%e=%;%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m:\
-	:..Sf=\E[%?%p1%{8}%<%t3%e<%;%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m:\
-	:UP=\E[%dA:ac=j$k"l!m#n)q+t'u&v(w%x*:ae=\E)4\017:\
-	:al=\E[L:as=\E)6\016:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:cl=\E[2J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:ei=:\
-	:ho=\E[H:i1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h:\
-	:ic=\E[@:im=:is=\E[3;2;2;1;1;1v\E(B\E)4\017:k1=\233001z:\
-	:k2=\233002z:k3=\233003z:k4=\233004z:k5=\233005z:\
-	:k6=\233006z:k7=\233007z:k8=\233008z:k9=\233009z:\
-	:k;=\233010z:kC=\2332J:kE=\233K:kd=\233B:kh=\233H:\
-	:kl=\233D:kr=\233C:ku=\233A:le=^H:ll=\E[H\E[A:mb=\E[5m:\
-	:md=\E[4;7m:me=\E[m\E)4\017:mh=\E[2m:mr=\E[7m:nd=\E[C:\
-	:nw=^J:\
-	:op=\E[%?%gD%t2;%;%?%gU%t4;%;%?%gB%t5;%;%?%gR%t7;%;m:\
-	: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=\E[A:le=^H:ll=\E[H\E[A:\
-	:mb=\E[5m:md=\E[4;7m:me=\E[m\017:mh=\E[2m:mr=\E[7m:\
-	:nd=\E[C:nw=^J:\
-	:op=\E[%?%gD%t2;%;%?%gU%t4;%;%?%gB%t5;%;%?%gR%t7;%;m:\
-	:pf=\E[4i:po=\E[5i:ps=\E[i:r1=\Ec\E[<2h:\
-	:r2=\E[4;0;2;0;1;0v\E(0:\
+	:i1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h:\
 	:..sa=\E[%?%p1%p3%|%p6%|%t7;%{1}%e%{0}%;%PR%?%p4%t5;%{1}%e%{0}%;%PB%?%p2%p6%|%t4;%{1}%e%{0}%;%PU%?%p1%p5%|%t2;%{1}%e%{0}%;%PDm%?%p9%t\016%e\017%;:\
-	:se=\E[m:sf=^J:so=\E[2;7m:sr=\EM:ue=\E[m:up=\E[A:us=\E[4m:\
-	:ve=\E[3;2v:vi=\E[3;0v:
+	:tc=dg+color:tc=d460-7b:
 
 # Initialization string 2 sets:
 #	^^FQ2		- default cursor (solid rectangle)
@@ -16785,345 +9967,35 @@
 #	- (should reset scrolling regions, but that glitches the screen)
 #
 d470c-dg|d470-dg|Data General DASHER D470C in DG mode:\
-	:5i:NL:am:bw:km:ms:ut:xo:\
-	:Co#16:NC#16:co#80:li#24:pa#256:\
-	:#2=^^^H:#4=^^^Y:%i=^^^X:\
-	:..AB=\036B%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c:\
-	:..AF=\036A%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c:\
-	:F1=^^{:F2=^^|:F3=^^}:F4=^^~:F5=^^p:F6=^^a:F7=^^b:F8=^^c:\
-	:F9=^^d:FA=^^e:FB=^^f:FC=^^g:FD=^^h:FE=^^i:FF=^^j:FG=^^k:\
-	:FH=^^l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
 # DASHER D555 terminal in ANSI mode.
 # Like a D411, but has an integrated phone.
 d555|Data General DASHER D555:\
-	:5i:NL:am:bw:km:ms:xo:\
-	:co#80:li#24:\
-	:%9=\233i:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
-	:F1=\233011z:F2=\233012z:F3=\233013z:F4=\233014z:\
-	:F5=\233000z:F6=\233101z:F7=\233102z:F8=\233103z:\
-	:F9=\233104z:FA=\233105z:FB=\233106z:FC=\233107z:\
-	:FD=\233108z:FE=\233109z:FF=\233110z:FG=\233111z:\
-	:FH=\233112z:FI=\233113z:FJ=\233114z:FK=\233100z:\
-	:FL=\233201z:FM=\233202z:FN=\233203z:FO=\233204z:\
-	:FP=\233205z:FQ=\233206z:FR=\233207z:FS=\233208z:\
-	:FT=\233209z:FU=\233210z:FV=\233211z:FW=\233212z:\
-	:FX=\233213z:FY=\233214z:FZ=\233200z:Fa=\233301z:\
-	:Fb=\233302z:Fc=\233303z:Fd=\233304z:Fe=\233305z:\
-	:Ff=\233306z:Fg=\233307z:Fh=\233308z:Fi=\233309z:\
-	:Fj=\233310z:Fk=\233311z:Fl=\233312z:Fm=\233313z:\
-	:Fn=\233314z:Fo=\233300z:IC=\E[%d@:K1=\233020z:\
-	:K3=\233021z:K4=\233022z:K5=\233023z:LE=\E[%dD:RI=\E[%dC:\
-	:UP=\E[%dA:ac=j$k"l!m#n)q+t'u&v(w%x*:ae=\E)4\017:\
-	:al=\E[L:as=\E)6\016:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:cl=\E[2J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:ei=:\
-	:ho=\E[H:\
-	:i1=\E[<0;<1;<2;<4l\E[5;0v\E[1;1;80w\E[1;6;<2h:\
-	:ic=\E[@:im=:is=\E[3;2;2;1;1;1v\E(B\E)4\017:k1=\233001z:\
-	:k2=\233002z:k3=\233003z:k4=\233004z:k5=\233005z:\
-	:k6=\233006z:k7=\233007z:k8=\233008z:k9=\233009z:\
-	:k;=\233010z:kC=\2332J:kE=\233K:kd=\233B:kh=\233H:\
-	:kl=\233D:kr=\233C:ku=\233A:le=^H:ll=\E[H\E[A:mb=\E[5m:\
-	:md=\E[4;7m:me=\E[m\E)4\017:mh=\E[2m:mr=\E[7m:nd=\E[C:\
-	:nw=^J:pf=\E[4i:po=\E[5i:ps=\E[i:r1=\Ec\E[<2h:\
-	:r2=\E[4;0;2;1;1;1v\E(B\E)4:\
-	:..sa=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m\E)%?%p9%t6\016%e4\017%;:\
-	:se=\E[m:sf=^J:so=\E[2;7m:sr=\EM:ue=\E[m:up=\E[A:us=\E[4m:\
-	:ve=\E[3;2v:vi=\E[3;0v:
+	:tc=d411:
 d555-7b|Data General DASHER D555 in 7-bit mode:\
-	:5i:NL:am:bw:ms:xo:\
-	:co#80:li#24:\
-	:%9=\E[i:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
-	:F1=\E[011z:F2=\E[012z:F3=\E[013z:F4=\E[014z:F5=\E[000z:\
-	:F6=\E[101z:F7=\E[102z:F8=\E[103z:F9=\E[104z:FA=\E[105z:\
-	:FB=\E[106z:FC=\E[107z:FD=\E[108z:FE=\E[109z:FF=\E[110z:\
-	:FG=\E[111z:FH=\E[112z:FI=\E[113z:FJ=\E[114z:FK=\E[100z:\
-	:FL=\E[201z:FM=\E[202z:FN=\E[203z:FO=\E[204z:FP=\E[205z:\
-	:FQ=\E[206z:FR=\E[207z:FS=\E[208z:FT=\E[209z:FU=\E[210z:\
-	:FV=\E[211z:FW=\E[212z:FX=\E[213z:FY=\E[214z:FZ=\E[200z:\
-	:Fa=\E[301z:Fb=\E[302z:Fc=\E[303z:Fd=\E[304z:Fe=\E[305z:\
-	:Ff=\E[306z:Fg=\E[307z:Fh=\E[308z:Fi=\E[309z:Fj=\E[310z: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z:F2=\233012z:F3=\233013z:F4=\233014z:\
-	:F5=\233000z:F6=\233101z:F7=\233102z:F8=\233103z:\
-	:F9=\233104z:FA=\233105z:FB=\233106z:FC=\233107z:\
-	:FD=\233108z:FE=\233109z:FF=\233110z:FG=\233111z:\
-	:FH=\233112z:FI=\233113z:FJ=\233114z:FK=\233100z:\
-	:FL=\233201z:FM=\233202z:FN=\233203z:FO=\233204z:\
-	:FP=\233205z:FQ=\233206z:FR=\233207z:FS=\233208z:\
-	:FT=\233209z:FU=\233210z:FV=\233211z:FW=\233212z:\
-	:FX=\233213z:FY=\233214z:FZ=\233200z:Fa=\233301z:\
-	:Fb=\233302z:Fc=\233303z:Fd=\233304z:Fe=\233305z:\
-	:Ff=\233306z:Fg=\233307z:Fh=\233308z:Fi=\233309z:\
-	:Fj=\233310z:Fk=\233311z:Fl=\233312z:Fm=\233313z:\
-	:Fn=\233314z:Fo=\233300z:IC=\E[%d@:K1=\233020z:\
-	:K3=\233021z:K4=\233022z:K5=\233023z:LE=\E[%dD:RI=\E[%dC:\
-	:UP=\E[%dA:ac=j$k"l!m#n)q+t'u&v(w%x*:ae=\E)4\017:\
-	:al=\E[L:as=\E)6\016:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:cl=\E[2J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:ei=:\
-	:ho=\E[H:\
-	:i1=\E[<0;<1;<2;<4l\E[5;1v\E[1;1;126w\E[1;6;<2h:\
-	:ic=\E[@:im=:is=\E[3;2;2;1;1;1v\E(B\E)4\017:k1=\233001z:\
-	:k2=\233002z:k3=\233003z:k4=\233004z:k5=\233005z:\
-	:k6=\233006z:k7=\233007z:k8=\233008z:k9=\233009z:\
-	:k;=\233010z:kC=\2332J:kE=\233K:kd=\233B:kh=\233H:\
-	:kl=\233D:kr=\233C:ku=\233A:le=^H:ll=\E[H\E[A:mb=\E[5m:\
-	:md=\E[4;7m:me=\E[m\E)4\017:mh=\E[2m:mr=\E[7m:nd=\E[C:\
-	:nw=^J:pf=\E[4i:po=\E[5i:ps=\E[i:\
-	:r1=\Ec\E[5;1v\E[1;1;126w\E[<2h:\
-	:r2=\E[4;0;2;1;1;1v\E(B\E)4:\
-	:..sa=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m\E)%?%p9%t6\016%e4\017%;:\
-	:se=\E[m:sf=^J:so=\E[2;7m:sr=\EM:ue=\E[m:up=\E[A:us=\E[4m:\
-	:ve=\E[3;2v:vi=\E[3;0v:
+	:tc=d411-w:
 d555-7b-w|Data General DASHER D555 in wide 7-bit mode:\
-	:5i:NL:am:bw:ms:xo:\
-	:co#126:li#24:\
-	:%9=\E[i:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
-	:F1=\E[011z:F2=\E[012z:F3=\E[013z:F4=\E[014z:F5=\E[000z:\
-	:F6=\E[101z:F7=\E[102z:F8=\E[103z:F9=\E[104z:FA=\E[105z:\
-	:FB=\E[106z:FC=\E[107z:FD=\E[108z:FE=\E[109z:FF=\E[110z:\
-	:FG=\E[111z:FH=\E[112z:FI=\E[113z:FJ=\E[114z:FK=\E[100z:\
-	:FL=\E[201z:FM=\E[202z:FN=\E[203z:FO=\E[204z:FP=\E[205z:\
-	:FQ=\E[206z:FR=\E[207z:FS=\E[208z:FT=\E[209z:FU=\E[210z:\
-	:FV=\E[211z:FW=\E[212z:FX=\E[213z:FY=\E[214z:FZ=\E[200z:\
-	:Fa=\E[301z:Fb=\E[302z:Fc=\E[303z:Fd=\E[304z:Fe=\E[305z:\
-	:Ff=\E[306z:Fg=\E[307z:Fh=\E[308z:Fi=\E[309z:Fj=\E[310z:\
-	:Fk=\E[311z:Fl=\E[312z:Fm=\E[313z:Fn=\E[314z:Fo=\E[300z:\
-	:IC=\E[%d@:K1=\E[020z:K3=\E[021z:K4=\E[022z:K5=\E[023z:\
-	:LE=\E[%dD:RI=\E[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:FJ=^^n:FK=^^`:FL=^^1:\
-	:FM=^^2:FN=^^3:FO=^^4:FP=^^5:FQ=^^6:FR=^^7:FS=^^8:FT=^^9:\
-	:FU=^^\::FV=^^;:FW=^^<:FX=^^=:FY=^^>:FZ=^^0:Fa=^^!:Fb=^^":\
-	:Fc=^^#:Fd=^^$:Fe=^^%:Ff=^^&:Fg=^^':Fh=^^(:Fi=^^):Fj=^^*:\
-	:Fk=^^+:Fl=^^,:Fm=^^-:Fn=^^.:Fo=^^\s:K1=^^\\:K3=^^]:K4=^^^:\
-	:K5=^^_:ac=j$k"l!m#n)q+t'u&v(w%x*:ae=\036FS00:al=^^FH:\
-	:as=\036FS11:bl=^G:cd=^^FF:ce=^K:ch=\020%.\177:cl=^L:\
-	:cm=\020%r%.%.:cr=^M:cv=\020\177%.:dc=^^K:dl=^^FI:do=^Z:\
-	:ei=:ho=^^FG:i1=^R^C:ic=^^J:im=:\
-	:is=\036FQ2\036FW\036FJ\036F^\036FX004?\036F]\036O\036FS00:\
-	:k1=^^q:k2=^^r:k3=^^s:k4=^^t:k5=^^u:k6=^^v:k7=^^w:k8=^^x:\
-	:k9=^^y:k;=^^z:kC=^L:kE=^K:kd=^Z:kh=^H:kl=^Y:kr=^X:ku=^W:\
-	:le=^Y:ll=\036FG\027:mb=^N:md=^^D^T:\
-	:me=\017\025\035\036E\036FS00:mh=^\:mr=^^D:nd=^X:nw=^J:\
-	:pf=^^Fa:po=^^F`:ps=^Q:r1=^^FA:r2=\036F]\036FT0:\
-	:..sa=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;%?%p4%t\016%e\017%;%?%p1%p5%|%t\034%e\035%;\036FS%?%p9%t11%e00%;:\
-	:se=^^E^]:sf=^J:so=^^D^\:sr=^^I:ue=^U:up=^W:us=^T:\
-	:ve=\036FQ2:vi=\036FQ0:
+	:tc=d411-dg:
 
 # DASHER D577 terminal in ANSI mode.
 # Like a D411, but acts as a keyboard for serial printers ("KSR" modes).
 d577|Data General DASHER D577:\
-	:5i:NL:am:bw:km:ms:xo:\
-	:co#80:li#24:\
-	:%9=\233i:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
-	:F1=\233011z:F2=\233012z:F3=\233013z:F4=\233014z:\
-	:F5=\233000z:F6=\233101z:F7=\233102z:F8=\233103z:\
-	:F9=\233104z:FA=\233105z:FB=\233106z:FC=\233107z:\
-	:FD=\233108z:FE=\233109z:FF=\233110z:FG=\233111z:\
-	:FH=\233112z:FI=\233113z:FJ=\233114z:FK=\233100z:\
-	:FL=\233201z:FM=\233202z:FN=\233203z:FO=\233204z:\
-	:FP=\233205z:FQ=\233206z:FR=\233207z:FS=\233208z:\
-	:FT=\233209z:FU=\233210z:FV=\233211z:FW=\233212z:\
-	:FX=\233213z:FY=\233214z:FZ=\233200z:Fa=\233301z:\
-	:Fb=\233302z:Fc=\233303z:Fd=\233304z:Fe=\233305z:\
-	:Ff=\233306z:Fg=\233307z:Fh=\233308z:Fi=\233309z:\
-	:Fj=\233310z:Fk=\233311z:Fl=\233312z:Fm=\233313z:\
-	:Fn=\233314z:Fo=\233300z:IC=\E[%d@:K1=\233020z:\
-	:K3=\233021z:K4=\233022z:K5=\233023z:LE=\E[%dD:RI=\E[%dC:\
-	:UP=\E[%dA:ac=j$k"l!m#n)q+t'u&v(w%x*:ae=\E)4\017:\
-	:al=\E[L:as=\E)6\016:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:cl=\E[2J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:ei=:\
-	:ho=\E[H:\
-	:i1=\E[<0;<1;<2;<4l\E[5;0v\E[1;1;80w\E[1;6;<2h:\
-	:ic=\E[@:im=:is=\E[3;2;2;1;1;1v\E(B\E)4\017:k1=\233001z:\
-	:k2=\233002z:k3=\233003z:k4=\233004z:k5=\233005z:\
-	:k6=\233006z:k7=\233007z:k8=\233008z:k9=\233009z:\
-	:k;=\233010z:kC=\2332J:kE=\233K:kd=\233B:kh=\233H:\
-	:kl=\233D:kr=\233C:ku=\233A:le=^H:ll=\E[H\E[A:mb=\E[5m:\
-	:md=\E[4;7m:me=\E[m\E)4\017:mh=\E[2m:mr=\E[7m:nd=\E[C:\
-	:nw=^J:pf=\E[4i:po=\E[5i:ps=\E[i:r1=\Ec\E[<2h:\
-	:r2=\E[4;0;2;1;1;1v\E(B\E)4:\
-	:..sa=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m\E)%?%p9%t6\016%e4\017%;:\
-	:se=\E[m:sf=^J:so=\E[2;7m:sr=\EM:ue=\E[m:up=\E[A:us=\E[4m:\
-	:ve=\E[3;2v:vi=\E[3;0v:
+	:tc=d411:
 d577-7b|Data General DASHER D577 in 7-bit mode:\
-	:5i:NL:am:bw:ms:xo:\
-	:co#80:li#24:\
-	:%9=\E[i:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
-	:F1=\E[011z:F2=\E[012z:F3=\E[013z:F4=\E[014z:F5=\E[000z:\
-	:F6=\E[101z:F7=\E[102z:F8=\E[103z:F9=\E[104z:FA=\E[105z:\
-	:FB=\E[106z:FC=\E[107z:FD=\E[108z:FE=\E[109z:FF=\E[110z:\
-	:FG=\E[111z:FH=\E[112z:FI=\E[113z:FJ=\E[114z:FK=\E[100z:\
-	:FL=\E[201z:FM=\E[202z:FN=\E[203z:FO=\E[204z:FP=\E[205z:\
-	:FQ=\E[206z:FR=\E[207z:FS=\E[208z:FT=\E[209z:FU=\E[210z:\
-	:FV=\E[211z:FW=\E[212z:FX=\E[213z:FY=\E[214z:FZ=\E[200z:\
-	:Fa=\E[301z:Fb=\E[302z:Fc=\E[303z:Fd=\E[304z:Fe=\E[305z:\
-	:Ff=\E[306z:Fg=\E[307z:Fh=\E[308z:Fi=\E[309z:Fj=\E[310z:\
-	:Fk=\E[311z:Fl=\E[312z:Fm=\E[313z:Fn=\E[314z:Fo=\E[300z:\
-	:IC=\E[%d@:K1=\E[020z:K3=\E[021z:K4=\E[022z:K5=\E[023z:\
-	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
-	:ac=j$k"l!m#n)q+t'u&v(w%x*:ae=^O:al=\E[L:as=^N:bl=^G:\
-	:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:cr=^M:\
-	:dc=\E[P:dl=\E[M:do=\E[B:eA=\E)6:ei=:ho=\E[H:\
-	:i1=\E[<0;<1;<2;<4l\E[5;0v\E[1;1;80w\E[1;6;<2h:\
-	:ic=\E[@:im=:is=\E[3;2;2;0;1;0v\E(0\017:k1=\E[001z:\
-	:k2=\E[002z:k3=\E[003z:k4=\E[004z:k5=\E[005z:k6=\E[006z:\
-	:k7=\E[007z:k8=\E[008z:k9=\E[009z:k;=\E[010z:kC=\E[2J:\
-	:kE=\E[K:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
-	:ll=\E[H\E[A:mb=\E[5m:md=\E[4;7m:me=\E[m\017:mh=\E[2m:\
-	:mr=\E[7m:nd=\E[C:nw=^J:pf=\E[4i:po=\E[5i:ps=\E[i:\
-	:r1=\Ec\E[<2h:r2=\E[4;0;2;0;1;0v\E(0:\
-	:..sa=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m%?%p9%t\016%e\017%;:\
-	:se=\E[m:sf=^J:so=\E[2;7m:sr=\EM:ue=\E[m:up=\E[A:us=\E[4m:\
-	:ve=\E[3;2v:vi=\E[3;0v:
+	:tc=d411-7b:
 d577-w|Data General DASHER D577 in wide mode:\
-	:5i:NL:am:bw:km:ms:xo:\
-	:co#126:li#24:\
-	:%9=\233i:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
-	:F1=\233011z:F2=\233012z:F3=\233013z:F4=\233014z:\
-	:F5=\233000z:F6=\233101z:F7=\233102z:F8=\233103z:\
-	:F9=\233104z:FA=\233105z:FB=\233106z:FC=\233107z:\
-	:FD=\233108z:FE=\233109z:FF=\233110z:FG=\233111z:\
-	:FH=\233112z:FI=\233113z:FJ=\233114z:FK=\233100z:\
-	:FL=\233201z:FM=\233202z:FN=\233203z:FO=\233204z:\
-	:FP=\233205z:FQ=\233206z:FR=\233207z:FS=\233208z:\
-	:FT=\233209z:FU=\233210z:FV=\233211z:FW=\233212z:\
-	:FX=\233213z:FY=\233214z:FZ=\233200z:Fa=\233301z:\
-	:Fb=\233302z:Fc=\233303z:Fd=\233304z:Fe=\233305z:\
-	:Ff=\233306z:Fg=\233307z:Fh=\233308z:Fi=\233309z:\
-	:Fj=\233310z:Fk=\233311z:Fl=\233312z:Fm=\233313z:\
-	:Fn=\233314z:Fo=\233300z:IC=\E[%d@:K1=\233020z:\
-	:K3=\233021z:K4=\233022z:K5=\233023z:LE=\E[%dD:RI=\E[%dC:\
-	:UP=\E[%dA:ac=j$k"l!m#n)q+t'u&v(w%x*:ae=\E)4\017:\
-	:al=\E[L:as=\E)6\016:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:cl=\E[2J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:ei=:\
-	:ho=\E[H:\
-	:i1=\E[<0;<1;<2;<4l\E[5;1v\E[1;1;126w\E[1;6;<2h:\
-	:ic=\E[@:im=:is=\E[3;2;2;1;1;1v\E(B\E)4\017:k1=\233001z:\
-	:k2=\233002z:k3=\233003z:k4=\233004z:k5=\233005z:\
-	:k6=\233006z:k7=\233007z:k8=\233008z:k9=\233009z:\
-	:k;=\233010z:kC=\2332J:kE=\233K:kd=\233B:kh=\233H:\
-	:kl=\233D:kr=\233C:ku=\233A:le=^H:ll=\E[H\E[A:mb=\E[5m:\
-	:md=\E[4;7m:me=\E[m\E)4\017:mh=\E[2m:mr=\E[7m:nd=\E[C:\
-	:nw=^J:pf=\E[4i:po=\E[5i:ps=\E[i:\
-	:r1=\Ec\E[5;1v\E[1;1;126w\E[<2h:\
-	:r2=\E[4;0;2;1;1;1v\E(B\E)4:\
-	:..sa=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m\E)%?%p9%t6\016%e4\017%;:\
-	:se=\E[m:sf=^J:so=\E[2;7m:sr=\EM:ue=\E[m:up=\E[A:us=\E[4m:\
-	:ve=\E[3;2v:vi=\E[3;0v:
+	:tc=d411-w:
 d577-7b-w|Data General DASHER D577 in wide 7-bit mode:\
-	:5i:NL:am:bw:ms:xo:\
-	:co#126:li#24:\
-	:%9=\E[i:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
-	:F1=\E[011z:F2=\E[012z:F3=\E[013z:F4=\E[014z:F5=\E[000z:\
-	:F6=\E[101z:F7=\E[102z:F8=\E[103z:F9=\E[104z:FA=\E[105z:\
-	:FB=\E[106z:FC=\E[107z:FD=\E[108z:FE=\E[109z:FF=\E[110z:\
-	:FG=\E[111z:FH=\E[112z:FI=\E[113z:FJ=\E[114z:FK=\E[100z:\
-	:FL=\E[201z:FM=\E[202z:FN=\E[203z:FO=\E[204z:FP=\E[205z:\
-	:FQ=\E[206z:FR=\E[207z:FS=\E[208z:FT=\E[209z:FU=\E[210z:\
-	:FV=\E[211z:FW=\E[212z:FX=\E[213z:FY=\E[214z:FZ=\E[200z:\
-	:Fa=\E[301z:Fb=\E[302z:Fc=\E[303z:Fd=\E[304z:Fe=\E[305z:\
-	:Ff=\E[306z:Fg=\E[307z:Fh=\E[308z:Fi=\E[309z:Fj=\E[310z:\
-	:Fk=\E[311z:Fl=\E[312z:Fm=\E[313z:Fn=\E[314z:Fo=\E[300z:\
-	:IC=\E[%d@:K1=\E[020z:K3=\E[021z:K4=\E[022z:K5=\E[023z:\
-	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
-	:ac=j$k"l!m#n)q+t'u&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:FM=^^2:FN=^^3:FO=^^4:FP=^^5:FQ=^^6:FR=^^7:FS=^^8:FT=^^9:\
-	:FU=^^\::FV=^^;:FW=^^<:FX=^^=:FY=^^>:FZ=^^0:Fa=^^!:Fb=^^":\
-	:Fc=^^#:Fd=^^$:Fe=^^%:Ff=^^&:Fg=^^':Fh=^^(:Fi=^^):Fj=^^*:\
-	:Fk=^^+:Fl=^^,:Fm=^^-:Fn=^^.:Fo=^^\s:K1=^^\\:K3=^^]:K4=^^^:\
-	:K5=^^_:ac=j$k"l!m#n)q+t'u&v(w%x*:ae=\036FS00:al=^^FH:\
-	:as=\036FS11:bl=^G:cd=^^FF:ce=^K:ch=\020%.\177:cl=^L:\
-	:cm=\020%r%.%.:cr=^M:cv=\020\177%.:dc=^^K:dl=^^FI:do=^Z:\
-	:ei=:ho=^^FG:i1=^R^C:ic=^^J:im=:\
-	:is=\036FQ2\036FW\036FJ\036F^\036FX004?\036F]\036O\036FS00:\
-	:k1=^^q:k2=^^r:k3=^^s:k4=^^t:k5=^^u:k6=^^v:k7=^^w:k8=^^x:\
-	:k9=^^y:k;=^^z:kC=^L:kE=^K:kd=^Z:kh=^H:kl=^Y:kr=^X:ku=^W:\
-	:le=^Y:ll=\036FG\027:mb=^N:md=^^D^T:\
-	:me=\017\025\035\036E\036FS00:mh=^\:mr=^^D:nd=^X:nw=^J:\
-	:pf=^^Fa:po=^^F`:ps=^Q:r1=^^FA:r2=\036F]\036FT0:\
-	:..sa=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;%?%p4%t\016%e\017%;%?%p1%p5%|%t\034%e\035%;\036FS%?%p9%t11%e00%;:\
-	:se=^^E^]:sf=^J:so=^^D^\:sr=^^I:ue=^U:up=^W:us=^T:\
-	:ve=\036FQ2:vi=\036FQ0:
+	:tc=d411-dg:
 
 # DASHER D578 terminal.
 # Like a D577, but without compressed mode; like a D470C in this respect.
@@ -17142,117 +10014,9 @@
 #	- (should reset scrolling regions, but that glitches the screen)
 #
 d578|Data General DASHER D578:\
-	:5i:NL:am:bw:km:ms:xo:\
-	:co#80:li#24:\
-	:%9=\233i:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
-	:F1=\233011z:F2=\233012z:F3=\233013z:F4=\233014z:\
-	:F5=\233000z:F6=\233101z:F7=\233102z:F8=\233103z:\
-	:F9=\233104z:FA=\233105z:FB=\233106z:FC=\233107z:\
-	:FD=\233108z:FE=\233109z:FF=\233110z:FG=\233111z:\
-	:FH=\233112z:FI=\233113z:FJ=\233114z:FK=\233100z:\
-	:FL=\233201z:FM=\233202z:FN=\233203z:FO=\233204z:\
-	:FP=\233205z:FQ=\233206z:FR=\233207z:FS=\233208z:\
-	:FT=\233209z:FU=\233210z:FV=\233211z:FW=\233212z:\
-	:FX=\233213z:FY=\233214z:FZ=\233200z:Fa=\233301z:\
-	:Fb=\233302z:Fc=\233303z:Fd=\233304z:Fe=\233305z:\
-	:Ff=\233306z:Fg=\233307z:Fh=\233308z:Fi=\233309z:\
-	:Fj=\233310z:Fk=\233311z:Fl=\233312z:Fm=\233313z:\
-	:Fn=\233314z:Fo=\233300z:IC=\E[%d@:K1=\233020z:\
-	:K3=\233021z:K4=\233022z:K5=\233023z:LE=\E[%dD:RI=\E[%dC:\
-	:UP=\E[%dA:ac=j$k"l!m#n)q+t'u&v(w%x*:ae=\E)4\017:\
-	:al=\E[L:as=\E)6\016:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:cl=\E[2J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:ei=:\
-	:ho=\E[H:i1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h:\
-	:ic=\E[@:im=:is=\E[3;2;2;1;1;1v\E(B\E)4\017:k1=\233001z:\
-	:k2=\233002z:k3=\233003z:k4=\233004z:k5=\233005z:\
-	:k6=\233006z:k7=\233007z:k8=\233008z:k9=\233009z:\
-	:k;=\233010z:kC=\2332J:kE=\233K:kd=\233B:kh=\233H:\
-	:kl=\233D:kr=\233C:ku=\233A:le=^H:ll=\E[H\E[A:mb=\E[5m:\
-	:md=\E[4;7m:me=\E[m\E)4\017:mh=\E[2m:mr=\E[7m:nd=\E[C:\
-	:nw=^J:pf=\E[4i:po=\E[5i:ps=\E[i:r1=\Ec\E[<2h:\
-	:r2=\E[4;0;2;1;1;1v\E(B\E)4:\
-	:..sa=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m\E)%?%p9%t6\016%e4\017%;:\
-	:se=\E[m:sf=^J:so=\E[2;7m:sr=\EM:ue=\E[m:up=\E[A:us=\E[4m:\
-	:ve=\E[3;2v:vi=\E[3;0v:
+	:i1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h:tc=d577:
 d578-7b|Data General DASHER D578 in 7-bit mode:\
-	:5i:NL:am:bw:ms:xo:\
-	:co#80:li#24:\
-	:%9=\E[i:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
-	:F1=\E[011z:F2=\E[012z:F3=\E[013z:F4=\E[014z:F5=\E[000z:\
-	:F6=\E[101z:F7=\E[102z:F8=\E[103z:F9=\E[104z:FA=\E[105z:\
-	:FB=\E[106z:FC=\E[107z:FD=\E[108z:FE=\E[109z:FF=\E[110z:\
-	:FG=\E[111z:FH=\E[112z:FI=\E[113z:FJ=\E[114z:FK=\E[100z:\
-	:FL=\E[201z:FM=\E[202z:FN=\E[203z:FO=\E[204z:FP=\E[205z:\
-	:FQ=\E[206z:FR=\E[207z:FS=\E[208z:FT=\E[209z:FU=\E[210z:\
-	:FV=\E[211z:FW=\E[212z:FX=\E[213z:FY=\E[214z:FZ=\E[200z:\
-	:Fa=\E[301z:Fb=\E[302z:Fc=\E[303z:Fd=\E[304z:Fe=\E[305z:\
-	:Ff=\E[306z:Fg=\E[307z:Fh=\E[308z:Fi=\E[309z:Fj=\E[310z:\
-	:Fk=\E[311z:Fl=\E[312z:Fm=\E[313z:Fn=\E[314z:Fo=\E[300z:\
-	:IC=\E[%d@:K1=\E[020z:K3=\E[021z:K4=\E[022z:K5=\E[023z:\
-	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
-	:ac=j$k"l!m#n)q+t'u&v(w%x*:ae=^O:al=\E[L:as=^N:bl=^G:\
-	:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:cr=^M:\
-	:dc=\E[P:dl=\E[M:do=\E[B:eA=\E)6:ei=:ho=\E[H:\
-	:i1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h:ic=\E[@:im=:\
-	:is=\E[3;2;2;0;1;0v\E(0\017:k1=\E[001z:k2=\E[002z:\
-	:k3=\E[003z:k4=\E[004z:k5=\E[005z:k6=\E[006z:k7=\E[007z:\
-	:k8=\E[008z:k9=\E[009z:k;=\E[010z:kC=\E[2J:kE=\E[K:\
-	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:ll=\E[H\E[A:\
-	:mb=\E[5m:md=\E[4;7m:me=\E[m\017:mh=\E[2m:mr=\E[7m:\
-	:nd=\E[C:nw=^J:pf=\E[4i:po=\E[5i:ps=\E[i:r1=\Ec\E[<2h:\
-	:r2=\E[4;0;2;0;1;0v\E(0:\
-	:..sa=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m%?%p9%t\016%e\017%;:\
-	:se=\E[m:sf=^J:so=\E[2;7m:sr=\EM:ue=\E[m:up=\E[A:us=\E[4m:\
-	:ve=\E[3;2v:vi=\E[3;0v:
-
-# Here are some older Dasher entries from the Berkeley termcap file.
-
-# According to the 4.4BSD termcap file, the dg200 :cm: should be the
-# termcap equivalent of \020%p2%{128}%+%c%p1%{128}%+%c (in termcap
-# notation that's "^P%r%+\200%+\200").  Those \200s are suspicious,
-# maybe they were originally nuls (which would fit).
-dg200|data general dasher 200:\
-	:NL:am:bs:bw:\
-	:co#80:li#24:\
-	:bl=^G:ce=^K:cl=^L:cm=\020%r%.%.:cr=^M:do=^Z:ho=^H:k0=^^z:\
-	:k1=^^q:k2=^^r:k3=^^s:k4=^^t:k5=^^u:k6=^^v:k7=^^w:k8=^^x:\
-	:k9=^^y:kd=^Z:kh=^H:kl=^Y:kr=^X:ku=^W:l0=f10:le=^Y:nd=^X:\
-	:nw=^J:se=^^E:sf=^J:so=^^D:ue=^U:up=^W:us=^T:
-# Data General 210/211 (and 410?)	from Lee Pearson (umich!lp) via BRL
-dg210|dg-ansi|Data General 210/211:\
-	:am:\
-	:co#80:li#24:\
-	:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:do=\E[B:ho=\E[H:\
-	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:nl=\E[B:\
-	:nw=\r\E[H\E[A\n:se=\E[0;m:so=\E[7;m:ue=\E[0;m:up=\E[A:\
-	:us=\E[4;m:
-# From: Peter N. Wan <ihnp4!gatech!gacsr!wan>
-# courtesy of Carlos Rucalde of Vantage Software, Inc.
-# (dg211: this had :cm=\020%r%.%:., which was an ancient termcap hangover.
-# I suspect the d200 function keys actually work on the dg211, check it out.)
-dg211|Data General d211:\
-	:am:bs:bw:\
-	:co#80:li#24:\
-	:bl=^G:ce=^K:cl=^L:cm=\020%r%.%.:cr=^M:do=^Z:ho=^H:kb=^Y:\
-	:kd=^Z:kh=^H:kl=^Y:kr=^X:ku=^W:le=^Y:nd=^X:nw=^M^Z:\
-	:se=\036E\0/>:so=5\036D:ta=^I:te=^L:ti=^L^R:ue=^U:up=^W:\
-	:us=^T:ve=^L:vs=^L^R:
-
-# From: Wayne Throop <mcnc!rti-sel!rtp47!throopw> (not official)
-# Data General 605x     
-# Ought to work for a Model 6242, Type D210 as well as a 605x.
-# Note that the cursor-down key transmits ^Z.  Job control users, beware!
-# This also matches a posted description of something called a `Dasher 100'
-# so there's a dg100 alias here. 
-# (dg6053: the 4.4BSD file had :le=^H:, :do=^J:, :nd=^S:. -- esr) 
-dg6053-old|dg100|data general 6053:\
-	:am:bs:bw:ul:\
-	:co#80:li#24:\
-	:bc=^Y:bl=^G:ce=^K:cl=^L:cm=\020%r%.%.:cr=^M:do=^Z:ho=^H:\
-	:is=^R:k0=^^q:k1=^^r:k2=^^s:k3=^^t:k4=^^u:k5=^^v:k6=^^w:\
-	:k7=^^x:k8=^^y:k9=^^z:kb=^Y:kd=^Z:kh=^H:kl=^Y:kr=^X:ku=^W:\
-	:le=^Y:nd=^X:se=\0^^E:so=\0\0\0\0\0\036D:ta=^I:te=^L:\
-	:ti=^L^R:ue=^U:up=^W:us=^T:ve=^L:vs=^L^R:
+	:i1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h:tc=d577-7b:
 
 #### Datamedia (dm)
 #
@@ -17270,12 +10034,8 @@
 	:kr=\E[C:ku=\E[A:le=^H:me=\E[m:nd=\E[C:se=\E[m:sf=^J:\
 	:so=\E[7m:ue=\E[m:up=\E[A:us=\E[4m:
 cs10-w|Datamedia Color Scan 10 with 132 columns:\
-	:ms:\
-	:co#132:li#24:\
-	:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%02;%03H:cr=^M:\
-	:do=^J:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kd=\E[B:kl=\E[D:\
-	:kr=\E[C:ku=\E[A:le=^H:me=\E[m:nd=\E[C:se=\E[m:sf=^J:\
-	:so=\E[7m:ue=\E[m:up=\E[A:us=\E[4m:
+	:co#132:\
+	:cm=\E[%i%02;%03H:tc=cs10:
 
 # (dm1520: removed obsolete ":ma=^\ ^_^P^YH:" -- esr)
 dm1520|dm1521|datamedia 1520:\
@@ -17298,13 +10058,9 @@
 # From: <goldberger@su-csli.arpa>
 # (dmchat: ":MT:" changed to ":km:" -- esr)
 dmchat|dmchat version of datamedia 2500:\
-	:bs:km:nc:\
-	:co#80:li#24:\
-	:al=1*\020\n\030\035\030\035:bl=^G:ce=^W:cl=^^^^\177:\
-	:cm=\014%r%n%.%.:dc=\020\010\030\035:\
-	:dl=2\020\032\030\035:dm=^P:do=^J:ed=^X^]:\
-	:ei=\377\377\030\035:ho=^B:ic=\020\034\030\035:im=^P:\
-	:le=^H:nd=^\:pc=\377:se=^X^]:sf=^J:so=^N:up=^Z:
+	:km:\
+	:al=1*\020\n\030\035\030\035:dl=2\020\032\030\035:\
+	:tc=dm2500:
 # (dm3025: ":MT:" changed to ":km:" -- esr)
 dm3025|datamedia 3025a:\
 	:bs:km:\
@@ -17314,13 +10070,11 @@
 	:ho=\EH:im=\EP:ip=:is=\EQ\EU\EV:le=^H:nd=\EC:se=\EO0:sf=^J:\
 	:so=\EO1:ta=^I:up=\EA:
 dm3045|datamedia 3045a:\
-	:am:bs:eo:ul:xn:\
-	:co#80:it#8:li#24:\
-	:bl=^G:cd=\EJ:ce=\EK:cl=\EM:cm=\EY%r%+ %+ :cr=^M:dc=\EB:\
-	:do=^J:ei=\EP:ho=\EH:im=\EP:ip=:is=\EU\EV:k0=\Ey\r:k1=\Ep\r:\
+	:am:bs:eo:km@:ul:xn:\
+	:al@:dc=\EB:dl@:dm@:ed@:ei=\EP:is=\EU\EV:k0=\Ey\r:k1=\Ep\r:\
 	:k2=\Eq\r:k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:k7=\Ev\r:\
-	:k8=\Ew\r:k9=\Ex\r:kh=\EH:kr=\EC:ku=\EA:le=^H:nd=\EC:\
-	:pc=\177:sf=^J:ta=^I:up=\EA:
+	:k8=\Ew\r:k9=\Ex\r:kh=\EH:kr=\EC:ku=\EA:pc=\177:se@:so@:\
+	:tc=dm3025:
 # Datamedia DT80 soft switches:
 # 1	0=Jump  1=Smooth
 # 	Autorepeat 	0=off  1=on
@@ -17353,43 +10107,17 @@
 # 	CRT Saver	0=Off  1=On
 # dm80/1 is a vt100 lookalike, but it doesn't seem to need any padding.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less padding than the vt100, and you can always turn on
 # the ^S/^Q handshaking, so you can use vt100 flavors for things like
 # reverse video.
 dm80w|dmdt80w|dt80w|datamedia dt80/1 in 132 char mode:\
-	:am:bs:ms:xn:xo:\
-	:co#132:it#8:li#24:vt#3:\
-	:@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
-	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:as=^N:bl=^G:cb=\E[1K:cd=20\E[0J:ce=20\E[0K:\
-	:cl=50\E[H\E[2J:cm=5\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
-	:ct=\E[3g:do=^J:eA=\E(B\E)0:ho=\E[H:k0=\EOy:k1=\EOP:\
-	:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:\
-	:k9=\EOw:k;=\EOx:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
-	:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:\
-	:me=\E[m:mr=\E[7m:nd=\E[C:pf=\E[4i:po=\E[5i:ps=\E[0i:\
-	:rc=\E8:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
-	:..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
-	:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
-	:up=5\E[A:us=\E[4m:
+	:co#132:\
+	:cd=20\E[0J:ce=20\E[0K:cl=50\E[H\E[2J:cm=5\E[%i%d;%dH:\
+	:do=^J:up=5\E[A:tc=dm80:
 # From: Adam Thompson <athompso@pangea.ca> Sept 10 1995
 dt80-sas|Datamedia DT803/DTX for SAS usage:\
 	:am:bw:\
@@ -17412,57 +10140,14 @@
 # the Excel terminals with the regular datamedia terminals that share
 # major characteristics.
 excel62|excel64|datamedia Excel 62:\
-	:am:bs:ms:xn:xo:\
-	:co#80:it#8:li#24:vt#3:\
-	:@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
-	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:\
-	:cm=%i\E[%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
-	:do=^J:eA=\E(B\E)0:ei=\E[4l:ho=\E[H:im=\E[4h:k0=\EOy:\
-	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOu:k6=\EOv:k7=\EOw:\
-	:k8=\EOx:k9=\EOy:k;=\EOx:kb=^H:kd=^J:ke=\E[?1l\E>:kl=^H:\
-	:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:\
-	:me=\E[m:mr=\E[7m:nd=\E[C:pf=\E[4i:po=\E[5i:ps=\E[0i:\
-	:rc=\E8:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
-	:..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
-	:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
-	:up=\E[A:us=\E[4m:
+	:dc=\E[P:ei=\E[4l:im=\E[4h:k5=\EOu:k6=\EOv:k7=\EOw:k8=\EOx:\
+	:k9=\EOy:kb=^H:kd=^J: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sgr:
 f100-rv|freedom-rv|freedom 100 in reverse video:\
-	:am:bs:bw:hs:mi:ms:xo:\
-	:co#80:li#24:\
-	:ac=:ae=\E$:al=\EE:as=\E%:bl=^G:bt=\EI:cd=\EY:ce=\ET:\
-	:ch=\E]%+ :cl=^Z:cm=\E=%+ %+ :cr=^M:ct=\E3:cv=\E[%+ :\
-	:dc=\EW:dl=\ER:do=^J:ds=\Eg\Ef\r:ei=\Er:fs=^M:ho=^^:im=\Eq:\
-	:ip=:is=\Eg\Ef\r\Eb:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
-	:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:\
-	:kB=\EI:kb=^H:kd=^V:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:me=\EG0:\
-	:mk=\EG1:mr=\EG4:nd=^L:se=\EG0:sf=^J:so=\EG4:sr=\Ej:st=\E1:\
-	:ta=^I:ts=\Eg\Ef:ue=\EG0:up=^K:us=\EG8:vb=\Ed\Eb:
+	:is=\Eg\Ef\r\Eb:vb=\Ed\Eb:tc=f100:
 # The f110 and f200 have problems with vi(1).  They use the ^V
 # code for the down cursor key. When kcud1 is defined in terminfo
 # as ^V, the Control Character Quoting capability (^V in insert mode)
@@ -17613,57 +10273,20 @@
 # is not generally applicable to most interactive applications
 # (f110: added :ta:, :kh: & <kcbt> from f100 -- esr)
 f110|freedom110|Liberty Freedom 110:\
-	:am:bs:es:hs:mi:ms:xo:\
-	:co#80:it#8:li#24:ws#80:\
-	:ac=:ae=\E%%%:al=\EE:as=\E$:bl=^G:bt=\EI:cd=\EY:ce=\ET:\
-	:ch=\E]%+ :cl=^Z:cm=\E=%+ %+ :cr=^M:ct=\E3:cv=\E[%+ :\
-	:dc=\EW:dl=\ER:do=^V:ds=\Ef\r:ei=\Er\EO:fs=^M:ho=^^:\
-	:im=\EO\Eq:k0=^AI\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^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1:
+	:ku=^K:le=^H:mb=\EG2:md=\EG0:mh=\EG@:nd=^L:pf=\Ea:po=\E`:\
+	:sf=^J:so=\EG<:sr=\EJ:st=\E1:ts=\Ef:up=^K:vb=\Eo\En:ve=\E.1:\
+	:vi=\E.0:vs=\E.1:tc=adm+sgr:
 f200-w|Liberty Freedom 200 - 132 cols:\
-	:am:bs:es:hs:mi:ms:xo:\
-	:co#132:it#8:li#24:ws#80:\
-	:ac=:ae=\E%%%:al=\EE:as=\E$:bl=^G:bt=\EI:cd=\EY:ce=\ET:\
-	:ch=\E]%+ :cl=^Z:cm=\E=%+ %+ :cr=^M:cs=\Em0%+ %+ :ct=\E3:\
-	:cv=\E[%+ :dc=\EW:dl=\ER:do=^V:ds=\Ef\r:ei=\Er:fs=^M:ho=^^:\
-	:im=\Eq:k0=^AI\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
-	:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=\EE:kC=^^:\
-	:kD=\EW:kE=\ET:kI=\EQ:kL=\ER:kS=\EY:kb=^H:kd=^V:kl=^H:kr=^L:\
-	:ku=^K:le=^H:mb=\EG2:md=\EG0:me=\EG0:mh=\EG@:mk=\EG1:\
-	:mr=\EG4:nd=^L:pf=\Ea:po=\E`:se=\EG0:sf=^J:so=\EG<:sr=\EJ:\
-	:st=\E1:ts=\Ef:ue=\EG0:up=^K:us=\EG8:vb=\Eo\En:ve=\E.1:\
-	:vi=\E.0:vs=\E.1:
+	:co#132:tc=f200:
 # The f200 has the ability to reprogram the down cursor key. The key is
 # reprogrammed to ^J (linefeed). This value is remembered in non-volatile RAM,
 # so powering the terminal off and on will not cause the change to be lost.
 f200vi|Liberty Freedom 200 for vi:\
-	:am:bs:es:hs:mi:ms:xo:\
-	:co#80:it#8:li#24:ws#80:\
-	:ac=:ae=\E%%%:al=\EE:as=\E$:bl=^G:bt=\EI:cd=\EY:ce=\ET:\
-	:ch=\E]%+ :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EG4:nd=^L:pf=\Ea:po=\E`:se=\EG0:sf=^J:so=\EG<:sr=\EJ:\
-	:st=\E1:ts=\Ef:ue=\EG0:up=^K:us=\EG8:vb=\Eb\Ed:ve=\E.1:\
-	:vi=\E.0:vs=\E.1:
+	:co#132:tc=f200vi:
 
 #### GraphOn (go)
 #
@@ -17730,7 +10319,6 @@
 #	Fax: (408)-370-5047
 #	Net: troy@graphon.com (Troy Morrison)
 #
-#% GraphOn: troy@graphon.com (Troy Morrison)
 #
 # The go140 and go225 have been discontinued.  GraphOn now makes X terminals,
 # including one odd hybrid that starts out life on power-up as a character
@@ -17749,16 +10337,10 @@
 	:me=\E[m:nd=\E[C:se=\E[m:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:\
 	:up=\E[A:us=\E[4m:
 go140w|graphon go-140 in 132 column mode:\
-	:am:bs:\
-	:co#132:it#8:li#24:\
-	:RA=\E[?7l:SA=\E[?7h:al=\E[L:cd=10\E[J:ce=\E[K:\
-	:cl=10\E[H\E[2J:cm=\E[%i%2;%2H:dc=\E[P:dl=\E[M:ei=\E[4l:\
-	:if=/usr/share/tabset/vt100:im=\E[4h:\
+	:am:\
+	:co#132:\
 	:is=\E<\E=\E[?3h\E[?7h\E(B\E[J\E7\E[;r\E8\E[m\E[q:\
-	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kd=\EOB:ke=\E[?1l\E>:\
-	:kh=\E[H:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
-	:me=\E[m:nd=\E[C:se=\E[m:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:\
-	:up=\E[A:us=\E[4m:
+	:tc=go140:
 # Hacked up vt200 termcap to handle GO-225/VT220
 # From: <edm@nwnexus.WA.COM>
 # (go225: I added <rmam>/<smam> based on the init string -- esr)
@@ -17776,41 +10358,174 @@
 	:so=\E[7m:sr=\EM:ta=^I:te=\E[!p\E[?7h\E[2;1;1#w:\
 	:ti=\E[2;0#w\E[1;25r:ue=\E[24m:up=\E[A:us=\E[4m:
 
-#### Harris
+#### Harris (Beehive)
 #
 # Bletch.  These guys shared the Terminal Brain Damage laurels with Hazeltine.
 # Their terminal group is ancient history now (1995) though the parent
 # company is still in business.
 #
 
+# Beehive documentation is undated and marked Preliminary and has no figures
+# so we must have early Superbee2 (Model 600, according to phone conversation
+# with mfr.). It has proved reliable except for some missing padding
+# (notably after \EK and <nl> at bottom of screen).
+# 
+# The key idea is that AEP mode is poison for :cm: & that US's in 
+# the local memory should be avoided like the plague. That means 
+# that the 2048 character local buffer is used as 25 lines of 80 
+# characters, period. No scrolling local memory, folks. It also 
+# appears that we cannot use naked INS LINE feature since it uses
+# US. The sbi fakes :al: with an 80-space insert that may be too 
+# slow at low speeds; also spaces get converted to \040 which is 
+# too long for some programs (not vi).  DEL LINE is ok but slow.
+# 
+# The <nl> string is designed for last line of screen ONLY; cup to 
+# 25th line corrects the motion inherent in scrolling to Page 1.
+# 
+# There is one understood bug. It is that the screen appears to
+# pop to a new (blank) page after a :nw:, or leave a half-line 
+# ellipsis to a quad that is the extra 48 memory locations. The 
+# data received is dumped into memory but not displayed.  Not to 
+# worry if :cm: is being used; the lines not displayed will be, 
+# whenever the cursor is moved up there. Since :cm: is addressed 
+# relative to MEMORY of window, nothing is lost; but beware of 
+# relative cursor motion (:up:,:do:,:nd:,:le:). Recommended,
+# therefore, is setenv MORE -c .
+# 
+# WARNING: Not all features tested.
+# 
+# Timings are assembled from 3 sources. Some timings may reflect 
+# SB2/Model 300 that were used if more conservative.
+# Tested on a Model 600 at 1200 and 9600 bd.
+# 
+# The BACKSPACEkb option is cute. The NEWLINE key, so cleverly 
+# placed on the keyboard and useless because of AEP, is made 
+# into a backspace key. In use ESC must be pressed twice (to send)
+# and sending ^C must be prefixed by ESC to avoid that weird 
+# transmit mode associated with ENTER key.
+# 
+# IF TERMINAL EVER GOES CATATONIC with the cursor buzzing across 
+# the screen, then it has dropped into ENTER mode; hit 
+# RESET--ONLINE--!tset.
+# 
+# As delivered this machine has a FATAL feature that will throw 
+# it into that strange transmit state (SPOW) if the space bar is 
+# hit after a CR is received, but before receiving a LF (or a 
+# few others).
+# 
+# The circuits MUST be modified to eliminate the SPOW latch. 
+# This is done by strapping on chip A46 of the I/O board; cut 
+# the p.c. connection to Pin 5 and strap Pin 5 to Pin 8 of that 
+# chip. This mod has been checked out on a Mod 600 of Superbee II.
+# With this modification absurdly high timings on cr are 
+# unnecessary.
+# 
+# NOTE WELL that the rear panel switch should be set to CR/LF, 
+# not AEP!
+#
+sb1|beehive superbee:\
+	:am:bs:bw:da:db:mi:ul:xb:\
+	:co#80:li#25:sg#1:ug#1:\
+	:al=\EN\EL\EQ                                                                                \EP \EO\ER\EA:\
+	:bl=^G:bt=\E`:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EF%r%03%03:cr=\r:\
+	:ct=\E3:dc=\EP:dl=\EM:do=^J:ei=\ER:ho=\EH:im=\EQ\EO:\
+	:is=\EE\EX\EZ\EO\Eb\Eg\ER:k0=\E2:k1=\Ep:k2=\Eq:k3=\Er:\
+	:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:k9=\E1:kE=\EK:kI=\EQ\EO:\
+	:kL=\EM:kM=\ER:kS=\EJ:kb=^_:kd=\EB:kh=\EH:kl=\ED:kr=\EC:\
+	:ku=\EA:l0=TAB CLEAR:l9=TAB SET:le=^H:me=\E_3:nd=\EC:\
+	:se=\E_3:sf=^J:so=\E_1:st=\E1:ta=^I:te=:ti=\EO:ue=\E_3:\
+	:up=\EA:us=\E_0:
+sbi|superbee|beehive superbee at Indiana U.:\
+	:xb:\
+	:al=1\EN\EL\EQ \EP \EO\ER\EA:cr=\r:tc=sb1:
+# Alternate (older) description of Superbee - f1=escape, f2=^C.
+# Note: there are at least 3 kinds of superbees in the world.  The sb1
+# holds onto escapes and botches ^C's.  The sb2 is the best of the 3.
+# The sb3 puts garbage on the bottom of the screen when you scroll with
+# the switch in the back set to CRLF instead of AEP.  This description
+# is tested on the sb2 but should work on all with either switch setting.
+# The f1/f2 business is for the sb1 and the :xb: can be taken out for
+# the other two if you want to try to hit that tiny escape key.
+# This description is tricky: being able to use cup depends on there being
+# 2048 bytes of memory and the hairy <nl> string.
+superbee-xsb|beehive super bee:\
+	:am:da:db:xb:\
+	:co#80:it#8:li#25:\
+	:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EF%r%3%3:cr=\r:ct=\E3:dc=\EP:\
+	:dl=\EM:do=^J:ho=\EH:is=\EH\EJ:k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:\
+	:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:kd=\EB:kh=\EH:kl=\ED:kr=\EC:\
+	:ku=\EA:le=^H:me=\E_3:nd=\EC:se=\E_3:\
+	:sf=\n\0\0\0\n\0\0\0\EA\EK\0\0\0\ET\ET:so=\E_1:st=\E1:\
+	:ta=^I:up=\EA:ve=^J:
+# This loses on lines > 80 chars long, use at your own risk
+superbeeic|super bee with insert char:\
+	:ei=\ER:ic=:im=\EQ:tc=superbee-xsb:
+sb2|sb3|fixed superbee:\
+	:xb@:tc=superbee:
+
+####  Beehive Medical Electronics
+#
+# Steve Seymour <srseymour@mindspring.com> writes (Wed, 03 Feb 1999):
+# Regarding your question though; Beehive terminals weren't made by Harris.
+# They were made by Beehive Medical Electronics in Utah. They went out of
+# business in the early '80s.
+#
+# (OK, then, I don't know why a couple of these say "harris beehive".)
+#
+
+# Reports are that most of these Beehive entries (except superbee) have not
+# been tested and do not work right.  :se: is a trouble spot.  Be warned.
+
+# (bee: :ic: was empty, which is obviously bogus -- esr)
+beehive|bee|harris beehive:\
+	:am:bs:mi:\
+	:co#80:li#24:\
+	:al=\EL:bt=\E>:cd=\EJ:ce=\EK:cl=\EE:cm=\EF%+ %+ :dc=\EP:\
+	:dl=\EM:do=\EB:ei=\E@:ho=\EH:im=\EQ:kA=\EL:kB=\E>:kC=\EE:\
+	:kD=\EP:kE=\EK:kI=\EQ:kL=\EM:kM=\E@:kb=^H:kd=\EB:kh=\EH:\
+	:kl=\ED:kr=\EC:ku=\EA:le=^H:me=\Ed@:nd=\EC:se=\Ed@:so=\EdP:\
+	:ue=\Ed@:up=\EA:us=\Ed`:
+# set tab is ^F, clear (one) tab is ^V, no way to clear all tabs.
+# good grief - does this entry make :sg:/:ug: when it doesn't have to?
+# look at those spaces in :se:/:so:.  Seems strange to me...
+# (beehive: :if=/usr/share/tabset/beehive: removed, no such file.  If you
+# really care, cook up one using ^F -- esr)
+beehive3|bh3m|beehiveIIIm|harris beehive 3m:\
+	:am:bs:\
+	:co#80:it#8:li#20:\
+	:al=\023:bl=^G:cd=^R:ce=^P:cl=^E^R:cr=^M:dl=\021:do=^J:ho=^E:\
+	:le=^H:ll=^E^K:nd=^L:se=\s^_:sf=^J:so=^]\s:st=^F:ta=^I:up=^K:
+beehive4|bh4|beehive 4:\
+	:am:\
+	:co#80:li#24:\
+	:bl=^G:cd=\EJ:ce=\EK:cl=\EE:cr=^M:do=^J:ho=\EH:le=\ED:nd=\EC:\
+	:sf=^J:up=\EA:
+# There was an early Australian kit-built computer called a "Microbee".
+# It's not clear whether this is for one of those or for a relative
+# of the Beehive.
+microb|microbee|micro bee series:\
+	:am:bs:\
+	:co#80:it#8:li#24:\
+	:bl=^G:cd=\EJ:ce=\EK:cl=\EE:cm=\EF%+ %+ :cr=^M:do=^J:k1=\Ep:\
+	:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:k9=\Ex:\
+	:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:me=\Ed@:nd=\EC:\
+	:se=\Ed@:sf=^J:so=\s\EdP:ta=^I:ue=\Ed@:up=\EA:us=\Ed`:
+
 # 8675, 8686, and bee from Cyrus Rahman
 # (8675: changed k10, k11...k16 to k;, F1...F6 -- esr)
 ha8675|harris 8675:\
-	:am:bs:mi:\
-	:co#80:li#24:\
-	:F1=^W:F2=\ER:F3=\EE:F4=\EI:F5=\Ei:F6=\Eg:al=\EL:bt=\E>:\
-	:cd=\EJ:ce=\EK:cl=\EE:cm=\EF%+ %+ :dc=\EP:dl=\EM:do=\EB:\
-	:ei=\E@:ho=\EH:im=\EQ:\
+	:F1=^W:F2=\ER:F3=\EE:F4=\EI:F5=\Ei:F6=\Eg:\
 	:is=\ES\E#\E*\Eh\Em\E?\E1\E9\E@\EX\EU:k1=^F:k2=^P:k3=^N:\
-	:k4=^V:k5=^J:k6=^T:k7=^H:k8=\177:k9=\Ee:k;=\Ed:kA=\EL:kB=\E>:\
-	:kC=\EE:kD=\EP:kE=\EK:kI=\EQ:kL=\EM:kM=\E@:kb=^H:kd=\EB:\
-	:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:me=\Ed@:nd=\EC:se=\Ed@:\
-	:so=\EdP:ue=\Ed@:up=\EA:us=\Ed`:
+	:k4=^V:k5=^J:k6=^T:k7=^H:k8=\177:k9=\Ee:k;=\Ed:tc=bee:
 # (8686: changed k10, k11...k16 to k;, F1...F6; fixed broken continuation
 # in :is: -- esr)
 ha8686|harris 8686:\
-	:am:bs:mi:\
-	:co#80:li#24:\
 	:F1=\EW:F2=\002\E{\003:F3=\002\E|\003:F4=\002\E}\003:\
-	:F5=\002\E~\003:F6=\002\E\177\003:al=\EL:bt=\E>:cd=\EJ:\
-	:ce=\EK:cl=\EE:cm=\EF%+ %+ :dc=\EP:dl=\EM:do=\EB:ei=\E@:\
-	:ho=\EH:im=\EQ:\
+	:F5=\002\E~\003:F6=\002\E\177\003:\
 	:is=\ES\E#\E*\Eh\Em\E?\E1\E9\E@\EX\EU\E"*Z01\E"8F35021B7C83#\E"8F45021B7D83#\E"8F55021B7E83#\E"8F65021B7F83#\E"8F75021B7383#\E"8F851BD7#\E"8F95021B7083#\E"8FA5021B7183#\E"8FB5021B7283#:\
 	:k1=\002\Ep\003:k2=\002\Eq\003:k3=\002\Er\003:\
 	:k4=\002\Es\003:k5=\E3:k6=\EI:k7=\ER:k8=\EJ:k9=\E(:k;=\Ej:\
-	:kA=\EL:kB=\E>:kC=\EE:kD=\EP:kE=\EK:kI=\EQ:kL=\EM:kM=\E@:\
-	:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:me=\Ed@:\
-	:nd=\EC:se=\Ed@:so=\EdP:ue=\Ed@:up=\EA:us=\Ed`:
+	:tc=bee:
 
 #### Hazeltine
 #
@@ -17897,21 +10612,10 @@
 # Be sure the auto lf/cr switch is set to cr.
 hz1552|hazeltine 1552:\
 	:bs:\
-	:co#80:it#8:li#24:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=\EG:al=\EE:as=\EF:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:\
-	:cm=\EY%+ %+ :cr=^M:dl=\EO:do=^J:ho=\EH:k1=\EP:k2=\EQ:\
-	:k3=\ER:kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:l1=blue:l2=red:\
-	:l3=green:le=\ED:nd=\EC:nw=^M^J:sf=^J:sr=\EI:ta=^I:up=\EA:
+	:al=\EE:dl=\EO:do=^J:k1=\EP:k2=\EQ:k3=\ER:l1=blue:l2=red:\
+	:l3=green:tc=vt52:
 hz1552-rv|hazeltine 1552 reverse video:\
-	:bs:\
-	:co#80:it#8:li#24:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=\EG:al=\EE:as=\EF:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:\
-	:cm=\EY%+ %+ :cr=^M:dl=\EO:do=^J:ho=\EH:k1=\EP:k2=\EQ:\
-	:k3=\ER:kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:l1=blue:l2=red:\
-	:l3=green:le=\ED:nd=\EC:nw=^M^J:se=\ET:sf=^J:so=\ES:sr=\EI:\
-	:ta=^I:up=\EA:
+	:do=^J:se=\ET:so=\ES:tc=hz1552:
 # Note: h2000 won't work well because of a clash between upper case and ~'s.
 hz2000|hazeltine 2000:\
 	:am:bs:nc:\
@@ -17937,15 +10641,7 @@
 	:l5=5:l6=6:l7=7:l8=8:l9=9:le=^H:nd=^P:se=\E^Y:sf=^J:so=\E^_:\
 	:up=\E^L:
 esprit-am|hazeltine esprit auto-margin:\
-	:am:bs:bw:\
-	:co#80:li#24:\
-	:al=\E^Z:bl=^G:bt=\E^T:cd=\E^W:ce=\E^O:cl=\E^\:\
-	:cm=\E\021%r%.%.:cr=^M:dl=\E^S:do=\E^K:ho=\E^R:is=\E?:\
-	:k0=^B0^J:k1=^B1^J:k2=^B2^J:k3=^B3^J:k4=^B4^J:k5=^B5^J:\
-	:k6=^B6^J:k7=^B7^J:k8=^B8^J:k9=^B9^J:kb=^H:kd=\E^K:ke=\E>:\
-	:kh=\E^R:kl=^H:kr=^P:ks=\E<:ku=\E^L:l0=0:l1=1:l2=2:l3=3:l4=4:\
-	:l5=5:l6=6:l7=7:l8=8:l9=9:le=^H:nd=^P:se=\E^Y:sf=^J:so=\E^_:\
-	:up=\E^L:
+	:am:tc=esprit:
 # Hazeltine Modular-1 from Cliff Shackelton <ittvax!ittral!shackelt> via BRL
 # Vi it seems always wants to send a control J for "do" and it turned out
 # that the terminal would work somewhat if the auto LF/CR was turned off.
@@ -17972,1116 +10668,6 @@
 	:rc=\E8:rf=/usr/share/tabset/vt100:sc=\E7:se=2\E[m:\
 	:so=2\E[7m:sr=5\EM:ta=^I:ue=2\E[m:up=2\E[A:us=2\E[4m:
 
-#### Hewlett-Packard (hp)
-#
-#	Hewlett-Packard
-#	8000 Foothills Blvd 
-#	Roseville, CA 95747
-#	Vox: 1-(916)-785-4363	(Technical response line for VDTs)
-#	     1-(800)-633-3600	(General customer support)
-#
-#% Hewlett-Packard: rich_kassis@hp5200.desk.hp.com (Rich Kassis)
-#
-# As of March 1998, HP no longer has any terminals in production.
-# The 700 series (22, 32, 41, 44, 92, 94, 96, 98) is still being 
-# supported (they still have parts). So are the 2392a and 2394a.
-# See the WORKSTATION CONSOLES section for the 700s.
-#
-
-# Generic HP terminal - this should (hopefully) work on any HP terminal.
-hpgeneric|hp|hewlett-packard generic terminal:\
-	:am:bs:da:db:mi:pt:xs:\
-	:co#80:li#24:lm#0:vt#6:\
-	:al=\EL:bl=^G:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\EH\EJ:\
-	:cm=\E&a%r%dc%dY:cr=^M:ct=\E3:cv=\E&a%dY:dc=\EP:dl=\EM:\
-	:do=^J:ei=\ER:im=\EQ:kB=\Ei:kb=^H:le=^H:me=\E&d@:nd=\EC:\
-	:se=\E&d@:sf=^J:so=\E&dJ:st=\E1:ta=^I:ue=\E&d@:up=\EA:\
-	:us=\E&dD:
-
-hp110|hewlett-packard model 110 portable:\
-	:am:bs:da:db:mi:pt:xs:\
-	:co#80:li#16:lm#0:vt#6:\
-	:al=\EL:bl=^G:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\EH\EJ:\
-	:cm=\E&a%r%dc%dY:cr=^M:ct=\E3:cv=\E&a%dY:dc=\EP:dl=\EM:\
-	:do=^J:ei=\ER:im=\EQ:kB=\Ei:kb=^H:le=^H:me=\E&d@:nd=\EC:\
-	:se=\E&d@:sf=^J:so=\E&dJ:st=\E1:ta=^I:ue=\E&d@:up=\EA:\
-	:us=\E&dD:
-
-hp+pfk+cr|hp function keys with CR:\
-	:k1=\Ep\r:k2=\Eq\r:k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:\
-	:k7=\Ev\r:k8=\Ew\r:
-
-hp+pfk-cr|hp function keys w/o CR:\
-	:k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:
-
-# The hp2621s use the same keys for the arrows and function keys, 
-# but not separate escape sequences. These definitions allow the 
-# user to use those keys as arrow keys rather than as function 
-# keys.
-hp+pfk+arrows|hp alternate arrow definitions:\
-	:kF=\Er\r:kH=\Eq\r:kR=\Es\r:kd=\Ew\r:kh=\Ep\r:kl=\Eu\r:\
-	:kr=\Ev\r:ku=\Et\r:
-
-hp+arrows|hp arrow definitions:\
-	:kF=\ES:kH=\EF:kR=\ET:kd=\EB:kh=\Eh:kl=\ED:kr=\EC:ku=\EA:
-
-# Generic stuff from the HP 262x series
-#
-hp262x|HP 262x terminals:\
-	:xs:\
-	:cd=\EJ:dc=\EP:ip=:kA=\EL:kD=\EP:kE=\EK:kF=\ES:kI=\EQ:kL=\EM:\
-	:kM=\ER:kN=\EU:kP=\EV:kR=\ET:kS=\EJ:kd=\EB:ke=\E&s0A:kh=\Eh:\
-	:kl=\ED:kr=\EC:ks=\E&s1A:ku=\EA:mb=\E&dA:me=\E&d@:mk=\E&dS:\
-	:mr=\E&dB:\
-	:..sa=\E&d%{64}%?%p1%t%{66}%|%;%?%p2%t%{68}%|%;%?%p3%t%{66}%|%;%?%p4%t%{65}%|%;%c:\
-	:se=\E&d@:sf=\ES:so=\E&dB:ta=\011:ue=\E&d@:us=\E&dD:
-
-# Note: no :ho: on HPs since that homes to top of memory, not screen.
-# Due to severe 2621 braindamage, the only way to get the arrow keys to
-# transmit anything at all is to turn on the function key labels
-# with :ks:, and even then the user has to hold down shift!
-# The default 2621 turns off the labels except when it has to to 
-# enable the function keys. If your installation prefers labels 
-# on all the time, or off all the time (at the "expense" of the 
-# function keys), use 2621-nl or 2621-wl.
-# 
-# Note: there are newer ROMs for 2621's that allow you to set 
-# strap A so the regular arrow keys xmit \EA, etc, as with the 
-# 2645. However, even with this strap set, the terminal stops 
-# xmitting if you reset it, until you unset and reset the strap!
-# Since there is no way to set/unset the strap with an escape 
-# sequence, we don't use it in the default.
-# If you like, you can use 2621-ba (brain-damaged arrow keys).
-hp2621-ba|2621 w/new rom and strap A set:\
-	:am:bs:da:db:mi:pt:xo:\
-	:co#80:li#24:lm#0:pb#19200:vt#6:\
-	:al=\EL:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\EH\EJ:\
-	:cm=\E&a%r%dc%dY:cr=^M:ct=\E3:cv=\E&a%dY:dc=\EP:dl=\EM:\
-	:do=^J:ei=\ER:im=\EQ:ip=:is=\E&jA\r:k1=\Ep\r:k2=\Eq\r:\
-	:k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:k7=\Ev\r:k8=\Ew\r:\
-	:kB=\Ei:kF=\ES:kH=\EF:kR=\ET:kb=^H:kd=\EB:kh=\Eh:kl=\ED:\
-	:kr=\EC:ku=\EA:le=^H:me=\E&d@:nd=\EC:se=\E&d@:sf=^J:\
-	:so=\E&dD:st=\E1:ta=\011:ue=\E&d@:up=\EA:us=\E&dD:
-
-# hp2621 with function labels. Most of the time they are off,
-# but inside vi, the function key labels appear. You have to
-# hold down shift to get them to xmit.
-hp2621|hp2621a|hp2621A|2621|2621a|2621A|hp2621-wl|2621-wl|hp 2621 w/labels:\
-	:am:bs:da:db:mi:pt:xo:\
-	:co#80:li#24:lm#0:pb#19200:vt#6:\
-	:al=\EL:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\EH\EJ:\
-	:cm=\E&a%r%dc%dY:cr=^M:ct=\E3:cv=\E&a%dY:dc=\EP:dl=\EM:\
-	:do=^J:ei=\ER:im=\EQ:ip=:is=\E&jA\r:k1=\Ep\r:k2=\Eq\r:\
-	:k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:k7=\Ev\r:k8=\Ew\r:\
-	:kB=\Ei:kb=^H:ke=\E&jA:ks=\E&jB:le=^H:me=\E&d@:nd=\EC:\
-	:se=\E&d@:sf=^J:so=\E&dD:st=\E1:ta=\011:ue=\E&d@:up=\EA:\
-	:us=\E&dD:
-hp2621-fl|hp 2621:\
-	:am:bs:da:db:mi:pt:xo:\
-	:co#80:li#24:lm#0:pb#19200:vt#6:\
-	:al=\EL:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\EH\EJ:\
-	:cm=\E&a%r%dc%dY:c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
-	:kH=\Eq\r:kR=\Es\r:kb=^H:kd=\Ew\r:ke=\E&jA:kh=\Ep\r:\
-	:kl=\Eu\r:kr=\Ev\r:ks=\E&jB:ku=\Et\r:le=^H:me=\E&d@:nd=\EC:\
-	:pf=\E&p13C:po=\E&p11C:se=\E&d@:sf=^J:so=\E&dD:st=\E1:\
-	:ta=\011:ue=\E&d@:up=\EA:us=\E&dD:
-
-# hp2621 with k45 keyboard
-hp2621-k45|hp2621k45|k45|hp 2621 with 45 keyboard:\
-	:am:bs:da:db:mi:pt:xo:\
-	:co#80:li#24:lm#0:pb#19200:vt#6:\
-	:al=\EL:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\EH\EJ:\
-	:cm=\E&a%r%dc%dY:cr=^M:ct=\E3:cv=\E&a%dY:dc=\EP:dl=\EM:\
-	:do=^J:ei=\ER:im=\EQ:ip=:is=\E&jA\r:k1=\Ep\r:k2=\Eq\r:\
-	:k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:k7=\Ev\r:k8=\Ew\r:\
-	:kB=\Ei:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:\
-	:ks=\E&s1A:ku=\EA:le=^H:me=\E&d@:nd=\EC:se=\E&d@:sf=^J:\
-	:so=\E&dD:st=\E1:ta=\011:ue=\E&d@:up=\EA:us=\E&dD:
-
-# 2621 using all 48 lines of memory, only 24 visible at any time.  
-hp2621-48|48 line 2621:\
-	:am:bs:da:db:mi:pt:xo:\
-	:co#80:li#48:lm#0:pb#19200:vt#6:\
-	:al=\EL:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\EH\EJ:\
-	:cm=\E&a%r%dc%dR:cr=^M:ct=\E3:cv=\E&a%dR:dc=\EP:dl=\EM:\
-	:do=^J:ei=\ER:ho=\EH:im=\EQ:ip=:is=\E&jA\r:k1=\Ep\r:\
-	:k2=\Eq\r:k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:k7=\Ev\r:\
-	:k8=\Ew\r:kB=\Ei:kb=^H:ke=\E&jA:ks=\E&jB:le=^H:me=\E&d@:\
-	:nd=\EC:se=\E&d@:sf=^J:so=\E&dD:st=\E1:ta=\011:ue=\E&d@:\
-	:up=\EA:us=\E&dD:
-
-# 2621 with no labels ever. Also prevents vi delays on escape.
-hp2621-nl|hp 2621 with no labels:\
-	:am:bs:da:db:mi:pt:xo:\
-	:co#80:li#24:lm#0:pb#19200:vt#6:\
-	:al=\EL:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\EH\EJ:\
-	:cm=\E&a%r%dc%dY:cr=^M:ct=\E3:cv=\E&a%dY:dc=\EP:dl=\EM:\
-	:do=^J:ei=\ER:im=\EQ:ip=:is=\E&j@\r:k1=\Ep\r:k2=\Eq\r:\
-	:k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:k7=\Ev\r:k8=\Ew\r:\
-	:kB=\Ei:kb=^H:le=^H:me=\E&d@:nd=\EC:se=\E&d@:sf=^J:so=\E&dD:\
-	:st=\E1:ta=\011:ue=\E&d@:up=\EA:us=\E&dD:
-
-# Needed for UCB ARPAVAX console, since lsi-11 expands tabs 
-# (wrong).
-#
-hp2621-nt|hp 2621 w/no tabs:\
-	:am:bs:da:db:mi:pt:xo:\
-	:co#80:li#24:lm#0:pb#19200:vt#6:\
-	:al=\EL:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\EH\EJ:\
-	:cm=\E&a%r%dc%dY:cr=^M:ct=\E3:cv=\E&a%dY:dc=\EP:dl=\EM:\
-	:do=^J:ei=\ER:im=\EQ:ip=:is=\E&jA\r:k1=\Ep\r:k2=\Eq\r:\
-	:k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:k7=\Ev\r:k8=\Ew\r:\
-	:kB=\Ei:kb=^H:ke=\E&jA:ks=\E&jB:le=^H:me=\E&d@:nd=\EC:\
-	:se=\E&d@:sf=^J:so=\E&dD:st=\E1:ue=\E&d@:up=\EA:us=\E&dD:
-
-# Hp 2624 B with 4 or 10 pages of memory.
-# 
-# Some assumptions are made with this entry. These settings are 
-# NOT set up by the initialization strings.
-# 
-# Port Configuration
-# 	RecvPace=Xon/Xoff
-# 	XmitPace=Xon/Xoff
-# 	StripNulDel=Yes
-# 
-# Terminal Configuration
-# 	InhHndShk=Yes
-# 	InhDC2=Yes
-# 	XmitFnctn(A)=No
-# 	InhEolWrp=No
-# 
-# Note: the 2624 DOES have a true :ho:, believe it or not!
-# 
-# The 2624 has an "error line" to which messages can be sent. 
-# This is CLOSE to what is expected for a "status line". However,
-# after a message is sent to the "error line", the next carriage 
-# return is EATEN and the "error line" is turned back off again! 
-# So I guess we can't define :hs:, :es:, :ws:, :ds:, :fs:, :ts:.
-# 
-# This entry supports emacs (and any other program that uses raw 
-# mode) at 4800 baud and less. I couldn't get the padding right 
-# for 9600.
-#
-# (hp2624: replaced NUL sequences in flash with mandatory pauses -- esr)
-hp2624|hp2624a|hp2624b|hp2624b-4p|Hewlett Packard 2624 B:\
-	:am:bw:da:db:mi:xo:xs:\
-	:Nl#8:co#80:lh#2:li#24:lm#96:lw#8:pb#4800:\
-	:CM=\E&a%dr%dC:DO=\E&a+%dR:LE=\E&a-%dC:LF=\E&j@:LO=\E&jB:\
-	:RI=\E&a+%dC:UP=\E&a-%dR:\
-	:ac=T1R!U2S"W3O#V4P$t5u6w7v8\:'9(LQKWlRkT5I3@2[MAJSmFjGdHQ;Y+Z*X\:4>q,x.n/:\
-	:ae=^O:al=\EL:as=^N:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:ch=\E&a%dC:\
-	:cl=\E&a0c0Y\EJ:cm=\E&a%dy%dC:cr=^M:ct=\E3:cv=\E&a%dY:\
-	:dc=\EP:dl=\EM:do=^J:ei=\ER:ho=\E&a0y0C:i1=\E&jB:im=\EQ:ip=:\
-	:k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:\
-	:kA=\EL:kB=\Ei:kC=\EJ:kD=\EP:kE=\EK:kF=\ET:kH=\EF:kI=\EQ:\
-	:kL=\EM:kM=\ER:kN=\EU:kP=\EV:kR=\ES:kS=\EJ:kb=^H:kd=\EB:\
-	:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:ku=\EA:l0=f1:\
-	:l1=f2:l2=f3:l3=f4:l4=f5:l5=f6:l6=f7:l7=f8:le=^H:\
-	:ll=\E&a0y0C\EA:mb=\E&dA:md=\E&dF:me=\E&d@\017:mh=\E&dH:\
-	:mk=\E&dS:mr=\E&dB:nd=\EC:nw=^M^J:\
-	:..pk=\E&f0a%p1%dk0d%p2%l%dL%p2%s:\
-	:..pl=\E&f1a%p1%dk0d%p2%l%dL%p2%s:\
-	:..pn=\E&f2a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s:\
-	:..px=\E&f2a%p1%dk0d%p2%l%dL%p2%s:r1=\Eg:\
-	:..sa=\E&d%{0}%Pa%?%p4%t%{1}%ga%+%Pa%;%?%p1%p3%|%p6%|%t%{2}%ga%+%Pa%;%?%p2%p6%|%t%{4}%ga%+%Pa%;%?%p1%p5%|%t%{8}%ga%+%Pa%;%?%p7%t%?%ga%ts%ga%{64}%+%e%{83}%;%e%?%ga%t%ga%{64}%+%e%{64}%;%;%c%?%p9%t\016%e\017%;:\
-	:se=\E&d@:sf=^J:so=\E&dJ:sr=\ET:st=\E1:ta=\011:ue=\E&d@:\
-	:up=\EA:us=\E&dD:vb=\E&w13F\E&w12F\E&w13F\E&w12F:
-
-# This hp2626 entry does not use any of the fancy windowing stuff 
-# of the 2626.
-# 
-# Indeed, terminfo does not yet handle such stuff. Since changing 
-# any window clears memory, it is probably not possible to use 
-# this for screen opt.
-# 
-# ed is incredibly slow most of the time - I am guessing at the 
-# exact padding. Since the terminal uses xoff/xon this is intended 
-# only for cost computation, so that the terminal will prefer el 
-# or even dl1 which is probably faster!
-# 
-# \ED\EJ\EC hack for ed from Ed Bradford - apparently ed is only 
-# extra slow on the last line of the window. 
-# 
-# The padding probably should be changed.
-#
-hp2626|hp2626a|hp2626p|hp 2626:\
-	:am:bw:da:db:mi:xo:xs:\
-	:Nl#8:co#80:lh#2:li#24:lm#0:lw#8:pb#19200:\
-	:CM=\E&a%dr%dC:DO=\E&a+%dR:LE=\E&a-%dC:LF=\E&j@:LO=\E&jB:\
-	:RI=\E&a+%dC:SF=\E&r%dD:SR=\E&r%dU:UP=\E&a-%dR:\
-	:ac=T1R!U2S"W3O#V4P$t5u6w7v8\:'9(LQKWlRkT5I3@2[MAJSmFjGdHQ;Y+Z*X\:4>q,x.n/:\
-	:ae=^O:al=\EL:as=^N:bl=^G:bt=\Ei:cd=\ED\EJ\EC:ce=\EK:\
-	:ch=\E&a%dC:cl=\E&a0c0Y\EJ:cm=\E&a%dy%dC:cr=^M:ct=\E3:\
-	:cv=\E&a%dY:dc=\EP:dl=\EM:do=^J:ei=\ER:ho=\E&a0y0C:\
-	:i1=\E&jB:im=\EQ:ip=:is=\E&j@\r:k1=\Ep\r:k2=\Eq\r:k3=\Er\r:\
-	:k4=\Es\r:k5=\Et\r:k6=\Eu\r:k7=\Ev\r:k8=\Ew\r:kA=\EL:\
-	:kB=\Ei:kC=\EJ:kD=\EP:kE=\EK:kF=\ET:kH=\EF:kI=\EQ:kL=\EM:\
-	:kM=\ER:kN=\EU:kP=\EV:kR=\ES:kS=\EJ:kb=^H:kd=\EB:ke=\E&s0A:\
-	:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:ku=\EA:l0=f1:l1=f2:l2=f3:\
-	:l3=f4:l4=f5:l5=f6:l6=f7:l7=f8:le=^H:ll=\E&a0y0C\EA:\
-	:mb=\E&dA:md=\E&dF:me=\E&d@\017:mh=\E&dH:mk=\E&dS:\
-	:mr=\E&dB:nd=\EC:nw=^M^J:\
-	:..pk=\E&f0a%p1%dk0d%p2%l%dL%p2%s:\
-	:..pl=\E&f1a%p1%dk0d%p2%l%dL%p2%s:\
-	:..pn=\E&f2a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s:\
-	:..px=\E&f2a%p1%dk0d%p2%l%dL%p2%s:r1=\Eg:\
-	:..sa=\E&d%{0}%Pa%?%p4%t%{1}%ga%+%Pa%;%?%p1%p3%|%p6%|%t%{2}%ga%+%Pa%;%?%p2%p6%|%t%{4}%ga%+%Pa%;%?%p1%p5%|%t%{8}%ga%+%Pa%;%?%p7%t%?%ga%ts%ga%{64}%+%e%{83}%;%e%?%ga%t%ga%{64}%+%e%{64}%;%;%c%?%p9%t\016%e\017%;:\
-	:se=\E&d@:sf=^J:so=\E&dJ:sr=\ET:st=\E1:ta=\011:ue=\E&d@:\
-	:up=\EA:us=\E&dD:
-
-# This entry is for sysline. It allocates a 23 line window with 
-# a 115 line workspace for regular use, and a 1 line window for 
-# the status line.
-# 
-# This assumes port 2 is being used.
-# Turn off horizontal line, Create ws #1 with 115 lines,
-# Create ws #2 with 1 line, Create window #1 lines 1-23,
-# Create window #2 lines 24-24, Attach cursor to workspace #1.
-# Note that this clears the tabs so it must be done by tset before
-# it sets the tabs.
-#
-hp2626-s|hp 2626 using only 23 lines:\
-	:am:bw:da:db:es:hs:mi:xo:xs:\
-	:Nl#8:co#80:lh#2:li#23:lm#0:lw#8:pb#19200:\
-	:CM=\E&a%dr%dC:DO=\E&a+%dR:LE=\E&a-%dC:LF=\E&j@:LO=\E&jB:\
-	:RI=\E&a+%dC:SF=\E&r%dD:SR=\E&r%dU:UP=\E&a-%dR:\
-	:ac=T1R!U2S"W3O#V4P$t5u6w7v8\:'9(LQKWlRkT5I3@2[MAJSmFjGdHQ;Y+Z*X\:4>q,x.n/:\
-	:ae=^O:al=\EL:as=^N:bl=^G:bt=\Ei:cd=\ED\EJ\EC:ce=\EK:\
-	:ch=\E&a%dC:cl=\E&a0c0Y\EJ:cm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^I:\
-	:ue=\E&v0S\E&d@:up=\EA:us=\E&dD\E&v1S:
-hp2627c|hp 2627 color (cyan) terminal with no labels:\
-	:am:bs:da:db:mi:pt:xo:\
-	:co#80:li#24:lm#0:pb#19200:vt#6:\
-	:al=\EL:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\EH\EJ:\
-	:cm=\E&a%r%dc%dY:cr=^M:ct=\E3:cv=\E&a%dY:dc=\EP:dl=\EM:\
-	:do=^J:ei=\ER:im=\EQ:ip=:\
-	:is=\E&v0m1a0b0c2i1a1b0c1i0a1b1c0i0S\E&j@\r\E3\r:\
-	:k1=\Ep\r:k2=\Eq\r:k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:\
-	:k7=\Ev\r:k8=\Ew\r:kB=\Ei:kb=^H:kd=^J:kl=^H:le=^H:me=\E&d@:\
-	:nd=\EC:nw=^M^J:se=\E&v0S:sf=^J:so=\E&v2S:st=\E1:ta=^I:\
-	:ue=\E&v0S\E&d@:up=\EA:us=\E&dD\E&v1S:
-
-# hp2640a doesn't have the Y cursor addressing feature, and C is 
-# memory relative instead of screen relative, as we need.
-#
-hp2640a|hp 2640a:\
-	:am:bs:da:db:mi:pt:xs:\
-	:co#80:li#24:lm#0:pb#9600:vt#6:\
-	:al=\EL:bl=^G:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\EH\EJ:cr=\r:\
-	:ct=\E3:cv=\E&a%dY:dc=\EP:dl=\EM:do=^J:ei=\ER:im=\EQ:kA=\EL:\
-	:kB=\Ei:kD=\EP:kE=\EK:kF=\ES:kI=\EQ:kL=\EM:kM=\ER:kN=\EU:\
-	:kP=\EV:kR=\ET:kS=\EJ:kT=\E1:kb=^H:kd=\EB:kh=\Eh:kl=\ED:\
-	:kr=\EC:kt=\E2:ku=\EA:le=^H:mb=\E&dA:me=\E&d@:mh=\E&dH:\
-	:mr=\E&dB:nd=\EC:\
-	:..sa=\E&d%{64}%?%p1%t%{66}%|%;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J:se=\E&d@:sf=^J:so=\E&dB:\
-	:ta=^I:up=\EA:
-
-# This terminal should be used at 4800 baud or less. It needs padding for
-# plain characters at 9600, I guessed at an appropriate cr delay.  It really
-# wants ^E/^F handshaking, but that doesn't work well even if you write
-# software to support it.
-hp2645|hp45|HP 2645 series:\
-	:am:bs:da:db:mi:pt:xs:\
-	:co#80:li#24:lm#0:pb#9600:vt#6:\
-	:al=\EL:bl=^G:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\EH\EJ:\
-	:cm=\E&a%r%dc%dY:cr=\r:ct=\E3:cv=\E&a%dY:dc=\EP:dl=\EM:\
-	:do=^J:ei=\ER:im=\EQ:kA=\EL:kB=\Ei:kD=\EP:kE=\EK:kF=\ES:\
-	:kI=\EQ:kL=\EM:kM=\ER:kN=\EU:kP=\EV:kR=\ET:kS=\EJ:kT=\E1:\
-	:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:\
-	:kt=\E2:ku=\EA:le=^H:mb=\E&dA:me=\E&d@:mh=\E&dH:mr=\E&dB:\
-	:nd=\EC:\
-	:..sa=\E&d%{64}%?%p1%t%{66}%|%;%?%p2%t%{68}%|%;%?%p3%t%{66}%|%;%?%p4%t%{65}%|%;%?%p5%t%{72}%|%;%?%p6%t%{66}%|%;%c:\
-	:se=\E&d@:sf=^J:so=\E&dJ:st=\E1:ta=^I:ue=\E&d@:up=\EA:\
-	:us=\E&dD:
-# You should use this terminal at 4800 baud or less.
-hp2648|hp2648a|HP 2648a graphics terminal:\
-	:am:bs:da:db:mi:pt:xs:\
-	:co#80:li#24:lm#0:pb#9600:vt#6:\
-	:al=\EL:bl=^G:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\EH\EJ:\
-	:cm=\E&a%r%dc%dY:cr=\r:ct=\E3:cv=\E&a%dY:dc=\EP:dl=\EM:\
-	:do=^J:ei=\ER:im=\EQ:ip=:kA=\EL:kB=\Ei:kD=\EP:kE=\EK:kF=\ES:\
-	:kI=\EQ:kL=\EM:kM=\ER:kN=\EU:kP=\EV:kR=\ET:kS=\EJ:kT=\E1:\
-	:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:\
-	:kt=\E2:ku=\EA:le=^H:mb=\E&dA:me=\E&d@:mh=\E&dH:mr=\E&dB:\
-	:nd=\EC:\
-	:..sa=\E&d%{64}%?%p1%t%{66}%|%;%?%p2%t%{68}%|%;%?%p3%t%{66}%|%;%?%p4%t%{65}%|%;%?%p5%t%{72}%|%;%?%p6%t%{66}%|%;%c:\
-	:se=\E&d@:sf=^J:so=\E&dJ:st=\E1:ta=^I:ue=\E&d@:up=\EA:\
-	:us=\E&dD:
-
-# The HP 150 terminal is a fairly vanilla HP terminal, with the 
-# clreol standout problem. It also has graphics capabilities and 
-# a touch screen, which we don't describe here.
-hp150|hewlett packard Model 150:\
-	:am:bs:bw:da:db:mi:xo:xs:\
-	:Nl#8:co#80:lh#2:li#24:lm#0:lw#8:pb#19200:\
-	:CM=\E&a%dr%dC:DO=\E&a+%dR:LE=\E&a-%dC:LF=\E&j@:LO=\E&jB:\
-	:RI=\E&a+%dC:UP=\E&a-%dR:\
-	:ac=T1R!U2S"W3O#V4P$t5u6w7v8\:'9(LQKWlRkT5I3@2[MAJSmFjGdHQ;Y+Z*X\:4>q,x.n/:\
-	:ae=^O:al=\EL:as=^N:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:ch=\E&a%dC:\
-	:cl=\E&a0c0Y\EJ:cm=\E&a%dy%dC:cr=^M:ct=\E3:cv=\E&a%dY:\
-	:dc=\EP:dl=\EM:do=^J:ei=\ER:ho=\E&a0y0C:i1=\E&jB:im=\EQ:ip=:\
-	:is=\E&dj@\r:k1=\Ep\r:k2=\Eq\r:k3=\Er\r:k4=\Es\r:k5=\Et\r:\
-	:k6=\Eu\r:k7=\Ev\r:k8=\Ew\r:kA=\EL:kB=\Ei:kC=\EJ:kD=\EP:\
-	:kE=\EK:kF=\ET:kH=\EF:kI=\EQ:kL=\EM:kM=\ER:kN=\EU:kP=\EV:\
-	:kR=\ES:kS=\EJ:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:\
-	:ks=\E&s1A:ku=\EA:l0=f1:l1=f2:l2=f3:l3=f4:l4=f5:l5=f6:l6=f7:\
-	:l7=f8:le=^H:ll=\E&a0y0C\EA:mb=\E&dA:md=\E&dF:\
-	:me=\E&d@\017:mh=\E&dH:mk=\E&dS:mr=\E&dB:nd=\EC:nw=^M^J:\
-	:..pk=\E&f0a%p1%dk0d%p2%l%dL%p2%s:\
-	:..pl=\E&f1a%p1%dk0d%p2%l%dL%p2%s:\
-	:..pn=\E&f2a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s:\
-	:..px=\E&f2a%p1%dk0d%p2%l%dL%p2%s:r1=\Eg:\
-	:..sa=\E&d%{0}%Pa%?%p4%t%{1}%ga%+%Pa%;%?%p1%p3%|%p6%|%t%{2}%ga%+%Pa%;%?%p2%p6%|%t%{4}%ga%+%Pa%;%?%p1%p5%|%t%{8}%ga%+%Pa%;%?%p7%t%?%ga%ts%ga%{64}%+%e%{83}%;%e%?%ga%t%ga%{64}%+%e%{64}%;%;%c%?%p9%t\016%e\017%;:\
-	:se=\E&d@:sf=^J:so=\E&dJ:sr=\ET:st=\E1:ta=\011:ue=\E&d@:\
-	:up=\EA:us=\E&dD:
-
-# HP 2382a terminals, "the little ones." They don't have any 
-# alternate character set support and sending out ^N/^O will 
-# leave the screen blank.
-hp2382a|hp2382|hewlett packard 2382a:\
-	:am:bw:da:db:mi:xo:xs:\
-	:Nl#8:co#80:lh#1:li#24:lm#48:lw#8:pb#4800:\
-	:CM=\E&a%dr%dC:DO=\E&a+%dR:LE=\E&a-%dC:LF=\E&j@:LO=\E&jB:\
-	:RI=\E&a+%dC:UP=\E&a-%dR:al=\EL:bl=^G:bt=\Ei:cd=\EJ:ce=\EK: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	:l7=f8:\
-	:..pn=\E&f2a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s:
-
-hp+printer|"standard" printer info for HP ttys:\
-	:ff=\E&p4u0C:pf=\E&p13C:po=\E&p11C:ps=\EH\E&p4dF:
-
-
-# The new hp2621b is kind of a cross between the old 2621 and the
-# new 262x series of machines. It has dip-switched options. 
-# The firmware has a bug in it such that if you give it a null 
-# length label, the following character is eaten!
-hp2621b|hp 2621b with old style keyboard:\
-	:am:bs:da:db:mi:pt:xo:\
-	:Nl#8:co#80:lh#1:li#24:lm#48:lw#8:pb#19200:vt#6:\
-	:LO=\E&jB:al=\EL:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:ch=\E&a%dC:\
-	:cl=\EH\EJ:cm=\E&a%r%dc%dY:cr=^M:ct=\E3:cv=\E&a%dY:dc=\EP:\
-	:dl=\EM:do=^J:ei=\ER:im=\EQ:ip=:is=\E&jA\r:k1=\Ep\r:\
-	:k2=\Eq\r:k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:k7=\Ev\r:\
-	:k8=\Ew\r:kB=\Ei:kF=\ET:kH=\EF:kR=\ES:kb=^H:kd=\EB:ke=\E&jA:\
-	:kh=\Eh:kl=\ED:kr=\EC:ks=\E&jB:ku=\EA:le=^H:me=\E&d@:nd=\EC:\
-	:..pn=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d3L%?%ga%!%t%{32}%c%;%p2%s\E%{111}%p1%+%c\r:\
-	:se=\E&d@:sf=^J:so=\E&dD:st=\E1:ta=\011:ue=\E&d@:up=\EA:\
-	:us=\E&dD:
-
-hp2621b-p|hp 2621b with printer:\
-	:am:bs:da:db:mi:pt:xo:\
-	:Nl#8:co#80:lh#1:li#24:lm#48:lw#8:pb#19200:vt#6:\
-	:LO=\E&jB:al=\EL:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:ch=\E&a%dC:\
-	:cl=\EH\EJ:cm=\E&a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C:ks=\E&s1A:ku=\EA:le=^H:me=\E&d@:nd=\EC:\
-	:..pn=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d3L%?%ga%!%t%{32}%c%;%p2%s\E%{111}%p1%+%c\r:\
-	:se=\E&d@:sf=^J:so=\E&dD:st=\E1:ta=\011:ue=\E&d@:up=\EA:\
-	:us=\E&dD:
-
-hp2621b-kx-p|hp 2621b with new keyboard & printer:\
-	:am:bs:da:db:mi:pt:xo:\
-	:Nl#8:co#80:lh#1:li#24:lm#48:lw#8:pb#19200:vt#6:\
-	:LO=\E&jB:al=\EL:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:ch=\E&a%dC:\
-	:cl=\EH\EJ:cm=\E&a%r%dc%dY:cr=^M:ct=\E3:cv=\E&a%dY:dc=\EP:\
-	:dl=\EM:do=^J:ei=\ER:ff=\E&p4u0C:im=\EQ:ip=:is=\E&jA\r:\
-	:k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:\
-	:kA=\EL:kB=\Ei:kC=\EJ:kD=\EP:kE=\EK:kF=\ET:kH=\EF:kI=\EQ:\
-	:kL=\EM:kM=\ER:kN=\EU:kP=\EV:kR=\ES:kS=\EJ:kb=^H:kd=\EB:\
-	:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:ku=\EA:le=^H:\
-	:me=\E&d@:nd=\EC:pf=\E&p13C:\
-	:..pn=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d3L%?%ga%!%t%{32}%c%;%p2%s\E%{111}%p1%+%c\r:\
-	:po=\E&p11C:ps=\EH\E&p4dF:se=\E&d@:sf=^J:so=\E&dD:st=\E1:\
-	:ta=\011:ue=\E&d@:up=\EA:us=\E&dD:
-
-# Some assumptions are made in the following entries.
-# These settings are NOT set up by the initialization strings.
-# 
-#    Port Configuration
-# RecvPace=Xon/Xoff	XmitPace=Xon/Xoff	StripNulDel=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\Ep\r:k2=\Eq\r:k3=\Er\r:k4=\Es\r:\
-	:k5=\Et\r:k6=\Eu\r:k7=\Ev\r:k8=\Ew\r:kF=\EU:kN=\Eu:kP=\Ev:\
-	:kR=\EV:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:\
-	:ks=\E&s1A:ku=\EA:le=^H:me=\E&d@:nd=\EC:se=\E&d@:sf=^J:\
-	:so=\E&dB:ta=^I:ue=\E&d@:up=\EA:us=\E&dD:
-
-hpsub|hp terminals -- capability subset:\
-	:am:da:db:mi:xo:xs:\
-	:li#24:\
-	:al=\EL:bl=^G:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\EH\EJ:cr=^M:\
-	:dc=\EP:dl=\EM:do=\EB:if=/usr/share/tabset/stdcrt:\
-	:is=\E&s1A\E<\E&k0\\:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:\
-	:kr=\EC:ks=\E&s1A:ku=\EA:le=^H:me=\E&d@:nd=\EC:se=\E&d@:\
-	:sf=^J:so=\E&dB:ta=^I:up=\EA:
-
-# hpex:
-#	May be used for most 24 x 80 hp terminals,
-# but has no padding added, so may allow runover in some terminals at high 
-# baud rates.  Will not work for hp2640a or hp2640b terminals, hp98x6 and 
-# hp98x5 terminal emulators or hp98x6 consoles.  
-# 	Adds xy-cursor addressing, vertical cursor addressing, home, 
-# last line, and underline capabilities.
-#
-# (hpex: removed memory-lock capabilities ":ml=\El:mu=\Em:",
-# moved :ei: here from hpsub -- esr)
-hpex|hp extended capabilites:\
-	:am:da:db:mi:xo:xs:\
-	:li#24:\
-	:al=\EL:bl=^G:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\EH\EJ:\
-	:cm=\E&a%dy%dC:cr=^M:cv=\E&a%dY:dc=\EP:dl=\EM:do=^J:ei=\ER:\
-	:if=/usr/share/tabset/stdcrt:im=\EQ:\
-	:is=\E&s1A\E<\E&k0\\:kb=^H:kd=^J:ke=\E&s0A:kh=\E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HP 236 console
-# From: <ddavis@ic.berkeley.edu>
-hp236|hp236 internal terminal emulator:\
-	:am:bs:\
-	:co#80:li#24:\
-	:al=\EG:ce=\EK:cl=\EF:cm=\EE%+ %+ :dc=\EJ:dl=\EH:ei=:ic=\EI:\
-	:im=:le=^H:me=\ECI:se=\ECI:so=\EBI:up=^K:ve=\EDE:vs=\EDB:
-
-# This works on a hp300 console running Utah 4.3 BSD
-# From: Craig Leres <leres@okeeffe.berkeley.edu>
-hp300h|HP Catseye console:\
-	:am:bs:da:db:mi:xs:\
-	:co#128:li#51:lm#0:sg#0:ug#0:\
-	:al=\EL:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:ch=\E&a%dC:\
-	:cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:cr=^M:ct=\E3:cv=\E&a%dY:\
-	:dc=\EP:dl=\EM:do=\EB:ei=\ER:if=/usr/share/tabset/stdcrt:\
-	:im=\EQ:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:\
-	:ks=\E&s1A:ku=\EA:le=^H:me=\E&d@:nd=\EC:se=\E&d@:sf=^J:\
-	:so=\E&dB:ta=^I:ue=\E&d@:up=\EA:us=\E&dD:
-# From: Greg Couch <gregc@ernie.berkeley.edu>
-hp9837|hp98720|hp98721|HP 9000/300 workstations:\
-	:am:bs:da:db:mi:xs:\
-	:co#128:it#8:li#46:lm#0:\
-	:al=\EL:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:ch=\E&a%dC:\
-	:cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:ct=\E3:cv=\E&a%dY:dc=\EP:\
-	:dl=\EM:do=\EB:ei=\ER:im=\EQ:is=\E&v0m1b0i&j@:kA=\EL:\
-	:kD=\EP:kE=\EK:kI=\EQ:kL=\EM:kN=\EU:kP=\EV:kS=\EJ:kb=^H:\
-	:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:ku=\EA:\
-	:le=^H:me=\E&d@:nd=\EC:se=\E&v0S:sf=^J:so=\E&v5S:st=\E1:\
-	:ta=^I:ue=\E&d@:up=\EA:us=\E&dD:
-# HP 9845 desktop computer from BRL
-# (hp9845: removed unknown capability :gu: -- esr)
-hp9845|HP 9845:\
-	:am:bs:da:db:eo:mi:xs:\
-	:co#80:li#21:\
-	:al=\EL:bc=\ED:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\E&a%r%2c%2Y:\
-	:dc=\EP:dl=\EM:ei=\ER:if=/usr/share/tabset/std:im=\EQ:\
-	:nd=\EC:se=\E&d@:so=\E&dB:up=\EA:
-# From: Charles A. Finnell of MITRE <finnell@mitre.org>, developed 07SEP90
-# (hp98550: replaced /usr/share/tabset/9837 with std because :it#8:,:st=\E1:;
-# added empty <acsc> to avoid warnings re :as:/:ae: --esr)
-hp98550|hp98550a|HP 9000 Series 300 color console:\
-	:am:bs:da:db:mi:xs:\
-	:co#128:it#8:li#49:lm#0:\
-	:ac=:ae=^O:al=\EL:as=^N:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:\
-	:ch=\E&a%dC:cl=\EH\EJ:cm=\E&a%dy%dC:cr=^M:ct=\E3:\
-	:cv=\E&a%dY:dc=\EP:dl=\EM:do=^J:ei=\ER:\
-	:if=/usr/share/tabset/std:im=\EQ:k1=\Ep:k2=\Eq:k3=\Er:\
-	:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:kA=\EL:kC=\EJ:kD=\EP:\
-	:kE=\EK:kF=\ES:kH=\EF:kI=\EQ:kL=\EM:kM=\ER:kN=\EU:kP=\EV:\
-	:kR=\ET:kS=\EJ:kT=\E1:ka=\E3:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:\
-	:kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:ku=\EA:le=^H:mb=\E&dA:\
-	:md=\E&dJ:me=\E&d@:mh=\E&dH:mk=\E&ds:mr=\E&dJ:nd=\EC:\
-	:se=\E&d@:sf=^J:so=\E&dJ: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[H:\
-	:ic=\E[@:im=:kb=^H:kd=^J:kl=^H:le=^H:me=\E[m:mr=\E[7m:\
-	:nd=\E[C:nw=^M^J:rp=1*%.\E[%db:se=\E[m:so=\E[7m:ta=^I:\
-	:ue=\E[m:up=\EM:us=\E[4m:
-gator-52|HP 9000 model 237 emulating VT52:\
-	:bs:\
-	:co#128:it#8:li#47:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=\EG:as=\EF:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :\
-	:cr=^M:do=\EB:ho=\EH:kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:\
-	:le=\ED:nd=\EC:nw=^M^J:sf=^J:sr=\EI:ta=^I:up=\EA:
-gator-52t|HP 9000 model 237 emulating extra-tall VT52:\
-	:bs:\
-	:co#128:it#8:li#94:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=\EG:as=\EF:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :\
-	:cr=^M:do=\EB:ho=\EH:kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:\
-	:le=\ED:nd=\EC:nw=^M^J:sf=^J:sr=\EI:ta=^I:up=\EA:
-
-#### Honeywell-Bull
-#
-# From: Michael Haardt <michael@gandalf.moria> 11 Jan 93
-#
-
-# Honeywell Bull terminal.  Its cursor and function keys send single
-# control characters and it has standout/underline glitch.  Most programs
-# do not like these features/bugs.  Visual bell is realized by flashing the
-# "keyboard locked" LED.
-dku7003-dumb|Honeywell Bull DKU 7003 dumb mode:\
-	:co#80:li#25:\
-	:cd=^_:ce=\E[K:cl=^]^_:cm=\E[%i%d;%dH:cr=^M:do=^K:ho=^]:\
-	:kb=^H:kd=^K:kh=^]:kl=^Y:kr=^X:ku=^Z:le=^Y:nd=^X:nw=^M^J:\
-	:sf=^J:ta=^I:up=^Z:vb=\E[2h\E[2l:
-dku7003|Honeywell Bull DKU 7003 all features described:\
-	:ms:\
-	:co#80:li#25:sg#1:ug#1:\
-	:cd=^_:ce=\E[K:cl=^]^_:cm=\E[%i%d;%dH:cr=^M:do=^K:ho=^]:\
-	:kb=^H:kd=^K:kh=^]:kl=^Y:kr=^X:ku=^Z:le=^Y:mb=\E[5m:md=\E[7m:\
-	:me=\E[m:mh=\E[2m:mr=\E[7m:nd=^X:nw=^M^J:se=\E[m:sf=^J:\
-	:so=\E[7m:ta=^I:ue=\E[m:up=^Z:us=\E[4m:vb=\E[2h\E[2l:
-
 #### IBM
 #
 
@@ -19089,315 +10675,136 @@
 	:gn:\
 	:ce=^M:cl=^M^J:ho=^M:
 
-# Beware! The 3101 entry IBM shipped with AIX 3 is *wrong*.  Losers...
-# From: J.B. Nicholson-Owens <jeffo@uiuc.edu> 8 Mar 94
-# (ibm3101: :if=/usr/share/tabset/ibm3101: removed, no such file -- esr)
-# Some versions of this that have :ct=\EH:; they may ort may not be broken.
 ibm3101|i3101|IBM 3101-10:\
 	:am:bs:xo:\
 	:co#80:li#24:\
-	:bl=^G:cd=\EJ:ce=\EI:cl=\EK:cm=\EY%+ %+ :cr=^M:ct=\E1:do=^J:\
-	:ho=\EH:kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:\
-	:nw=^M^J:sf=^J:st=\E0:ta=^I:up=\EA:
+	:bl=^G:cd=\EJ:ce=\EI:cl=\EK:cm=\EY%+ %+ :cr=^M:ct=\EH:do=^J:\
+	:ho=\EH:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:nw=^M^J:\
+	:sf=^J:st=\E0:up=\EA:
 ibm3151|IBM 3151 display:\
+	:ae=\E>B:as=\E>A:is=\E S:me=\E4@\E>B:rs=\E S:s0=\E>B:\
+	:..sa=\E4%{64}%?%p1%t%{65}%|%;%?%p2%t%{66}%|%;%?%p3%t%{65}%|%;%?%p4%t%{68}%|%;%?%p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%?%p5%t%{64}%|%;%?%p6%t%{72}%|%;%?%p7%t%{80}%|%;%c%?%p9%t\E>A%e\E>B%;:\
-	:se=\E4@:sf=^J:so=\E4A:te=\E>B:ti=\E>B:ue=\E4@:up=\EA:\
-	:us=\E4B:
-# From: Mark Easter <marke@fsi-ssd.csg.ssd.fsi.com> 29 Oct 1992 
-# I've commented out or translated some IBM extensions.
-# <kend>, :kN:, :kP:, <mc4>, <mc5> merged in from AIX 3.2.5  
-ibm3161|ibm3163|wy60-316X|wyse60-316X|IBM 3161/3163 display:\
-	:am:bs:mi:ms:\
-	:co#80:it#8:li#24:\
-	:@7=\E2:F1=\Ek\r:F2=\El\r:F3=\E!a\r:F4=\E!b\r:F5=\E!c\r:\
-	:F6=\E!d\r:F7=\E!e\r:F8=\E!f\r:F9=\E!g\r:FA=\E!h\r:\
-	:FB=\E!i\r:FC=\E!j\r:FD=\E!k\r:FE=\E!l\r:\
-	:ac=l\354q\361k\353x\370j\352m\355w\367u\365v\366t\364n\356:\
+	:ac=j\352k\353l\354m\355n\356q\361t\364u\365v\366w\367x\370:\
 	:bl=^G:cd=\EJ:ce=\EI:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:dc=\EQ:\
 	:dl=\EO:do=\EB:ho=\EH:k1=\Ea\r:k2=\Eb\r:k3=\Ec\r:k4=\Ed\r:\
 	:k5=\Ee\r:k6=\Ef\r:k7=\Eg\r:k8=\Eh\r:k9=\Ei\r:k;=\Ej\r:\
 	:kA=\EN:kB=\E2:kC=\EL\r:kD=\EQ:kE=\EI:kI=\EP \010:kL=\EO:\
-	:kN=\EI:kP=\EL:kS=\EJ:kT=\E0:ka=\E 1:kb=^H:kd=\EB:kh=\EH:\
-	:kl=\ED:kr=\EC:kt=\E1:ku=\EA:le=\ED:mb=\E4D:md=\E4H:\
-	:me=\E4@\E<@:mk=\E4P:mr=\E4A:nd=\EC:pf=^P^T:po=^P^R:\
+	:kS=\EJ:kT=\E0:ka=\E 1:kb=^H:kd=\EB:k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;%?%p4%t%{68}%|%;%?%p5%t%{64}%|%;%?%p6%t%{72}%|%;%?%p7%t%{80}%|%;%c%?%p9%t\E>A%e\E<@%;:\
-	:se=\E4>b:sf=^J:so=\E4!a:te=\E>B:ti=\E>B:ue=\E4=b:up=\EA:\
-	:us=\E4"a:
-
-# How the 3164 sgr string works:
-#	%{32}	        # push space for no special video characteristics
-#	%?%p2%t%{1}%|%; # if p2 set, then OR the 1 bit for reverse
-#	%?%p3%t%{4}%|%; # if p3 set, then OR the 4 bit for blink
-#	%?%p4%t%{2}%|%; # if p4 set, then OR the 2 bit for underline
-#	%c              # pop Pa1
-#	%{39}%p1%-	# calculate 32 + (7 - p1) for foreground
-#	%c		# pop Pa2 
-#	%{64}		# use only black background for now
-#	%c		# pop Pa3
-# (ibm3164: merged :ms:,<colors>,<pairs>,<setb>,<setf> from AIX 3.2.5 -- esr)
+	:al=\EN:mb=\E4$a:md=\E4(a:me=\E4@:mk=\E40a:mr=\E4!a:\
+	:se=\E4>b:so=\E4!a:ue=\E4=b:us=\E4"a:tc=ibm3161-C:
+
+# This really should not use setab/setaf, but it is clear that the
+# original terminfo does not toggle red/blue colors as in setb/setf.
 ibm3164|i3164|IBM 3164:\
-	:am:bs:mi:ms:\
-	:Co#8:co#80:it#8:li#24:pa#64:\
-	:@7=\E2:F1=\Ek\r:F2=\El\r:F3=\E!a\r:F4=\E!b\r:F5=\E!c\r:\
-	:F6=\E!d\r:F7=\E!e\r:F8=\E!f\r:F9=\E!g\r:FA=\E!h\r:\
-	:FB=\E!i\r:FC=\E!j\r:FD=\E!k\r:FE=\E!l\r:Sb=\E4  %+@:\
-	:..Sf=\E4%?%p1%t %p1%{32}%+%c%e!'%;@:\
-	:ac=l\354q\361k\353x\370j\352m\355w\367u\365v\366t\364n\356:\
-	:bl=^G:cd=\EJ:ce=\EI:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:dc=\EQ:\
-	:dl=\EO:do=\EB:ho=\EH:k1=\Ea\r:k2=\Eb\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so=\EZ:sr=\EA:st=\E0:ta=^I:\
-	:..ts=\Ej\EYA%+ \Eo:ue=\Ew:up=\EA:us=\EW:
-ibm5081-c|ibmmpel-c|IBM 5081 1024x1024 256/4096 Megapel enhanced color display:\
-	:am:bs:es:hs:xo:\
-	:co#80:li#33:\
-	:al=\EL:bl=^G:cd=\EJ:ce=\EI:cl=\EK:cm=\EY%+ %+ :cr=^M:\
-	:ct=\E1:dl=\EM:do=^J:ds=\Ej\EYA \EI\Ek:fs=\Ek:ho=\EH:\
-	:k0=\E<:k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:\
-	:k8=\ER:k9=\EY:kF=\EE:kI=\0:kN=\EE:kP=\Eg:kR=\EG:kb=^H:\
-	:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:l0=f10:le=^H:md=\EZ:\
-	:me=\Ew\Eq\Ez\EB:mk=\EF\Ef0;\Eb0;:mr=\Ep:nd=\EC:nw=^M^J:\
-	:se=\EB:sf=^J:so=\EF\Ef3;:sr=\EA:st=\E0:ta=^I:\
-	:..ts=\Ej\EYA%+ \Eo:ue=\EB:up=\EA:us=\EF\Ef2;:
+	:ms:\
+	:Co#8:pa#64:\
+	:AB=\E4  %+@:..AF=\E4%?%p1%t %p1%{32}%+%c%e!'%;@:\
+	:op=\E4 "@:s0=\E>B:s1=\E>A:te=\E!9(N\E>B:ti=\E!9/N\E>B:\
+	:tc=ibm3161:
+
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
+# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 ibm5151|wy60-AT|wyse60-AT|IBM 5151 Monochrome display:\
 	:am:bw:ms:xo:\
 	:co#80:it#8:li#25:\
-	:@7=\E[146q:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:F1=\E[011q:\
-	:F2=\E[012q:F3=\E[013q:F4=\E[014q:F5=\E[015q:F6=\E[016q:\
-	:F7=\E[017q:F8=\E[018q:F9=\E[019q:FA=\E[020q:FB=\E[021q:\
-	:FC=\E[022q:FD=\E[023q:FE=\E[024q:FF=\E[025q:FG=\E[026q:\
-	:FH=\E[027q:FI=\E[028q:FJ=\E[029q:FK=\E[030q:FL=\E[031q:\
-	:FM=\E[032q:FN=\E[033q:FO=\E[034q:FP=\E[035q:FQ=\E[036q:\
-	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
-	:ac=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263:\
-	:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[2J:\
-	:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:\
-	:ei=\E[4l:ho=\E[H:im=\E[4h:is=\Ec:k0=\E[010q:k1=\E[001q:\
-	:k2=\E[002q:k3=\E[003q:k4=\E[004q:k5=\E[005q:k6=\E[006q:\
-	:k7=\E[007q:k8=\E[008q:k9=\E[009q:k;=\E[010q:kA=\E[140q:\
-	:kB=\E[Z:kC=\E[144q:kD=\E[P:kE=\E[142q:kF=\E[151q:\
-	:kI=\E[139q:kM=\E[4l:kN=\E[154q:kP=\E[150q:kR=\E[155q:\
-	:kS=\E[148q:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
-	:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:mk=\E[8m:mr=\E[7m:\
-	:nd=\E[C:rc=\E[u:rs=\Ec:\
-	:..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;m:\
-	:sc=\E[s:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:ue=\E[m:up=\E[A:\
-	:us=\E[4m:
+	:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
+	:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:al=\E[L:bl=^G:cd=\E[J:\
+	:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:\
+	:do=^J:ec=\E[%dX:ei=\E[4l:ho=\E[H:im=\E[4h:is=\Ec:\
+	:k1=\E[001q:k2=\E[002q:k3=\E[003q:k4=\E[004q:k5=\E[005q:\
+	:k6=\E[006q:k7=\E[007q:k8=\E[008q:k9=\E[009q:kD=\E[P:\
+	:kI=\E[139q:kN=\E[154q:kP=\E[150q:kb=^H:kd=\E[B:kh=\E[H:\
+	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:\
+	:mr=\E[7m:nd=\E[C:rs=\Ec:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:\
+	:ue=\E[m:up=\E[A:us=\E[4m:
+
+ibmaed|IBM Experimental display:\
+	:am:bs:eo:ms:\
+	:co#80:it#8:li#52:\
+	:al=\EN:cd=\EJ:ce=\EI:cl=\EH\EK:cm=\EY%+ %+ :dc=\EQ:dl=\EO:\
+	:do=\EB:ei=:ho=\EH:ic=\EP:im=:kb=^H:kd=\EB:kl=\ED:kr=\EC:\
+	:ku=\EA:le=^H:me=\E0:nd=\EC:se=\E0:so=\E0:ta=^I:up=\EA:\
+	:vb=\EG:
+ibm-apl|apl|IBM apl terminal simulator:\
+	:li#25:tc=dm1520:
+# (ibmmono: this had an unknown `sb' boolean, I changed it to `bs'.  
+# Also it had ":I0=f10:" which pretty obviously should be "l0=f10" -- esr)
+ibmmono|IBM workstation monochrome:\
+	:es:hs:\
+	:al=\EL:dl=\EM:ds=\Ej\EY8 \EI\Ek:fs=\Ek:k0=\E<:k1=\ES:\
+	:k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:k8=\ER:k9=\EY:\
+	:kF=\EE:kI=\0:kN=\EE:kP=\Eg:kR=\EG:kb=^H:kh=\EH:l0=f10:\
+	:md=\EZ:me=\Ew\Eq\Ez\EB:mk=\EF\Ef0;\Eb0;:mr=\Ep:se=\Ez:\
+	:so=\EZ:sr=\EA:..ts=\Ej\EY8%+ \Eo:ue=\Ew:us=\EW:\
+	:tc=ibm3101:
+ibmega|IBM Enhanced Color Display:\
+	:cr=^M:do=^J:kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:\
+	:tc=ibmmono:
+# This color scheme is assumed in some recent IBM terminal descriptions
+# (green on black, emulated on a 16-color terminal).
+ibm+color|IBM color definitions:\
+	:Co#8:NC#3:pa#64:\
+	:..Sb=\E[%?%p1%{0}%=%t40m%e%p1%{1}%=%t41m%e%p1%{2}%=%t42m%e%p1%{3}%=%t43m%e%p1%{4}%=%t44m%e%p1%{5}%=%t45m%e%p1%{6}%=%t46m%e%p1%{7}%=%t107m%;:\
+	:..Sf=\E[%?%p1%{0}%=%t30m%e%p1%{1}%=%t31m%e%p1%{2}%=%t32m%e%p1%{3}%=%t33m%e%p1%{4}%=%t34m%e%p1%{5}%=%t35m%e%p1%{6}%=%t36m%e%p1%{7}%=%t97m%;:\
+	:op=\E[32m\E[40m:
 ibm5154|IBM 5154 Color display:\
-	:am:bw:ms:xo:\
-	:Co#8:co#80:it#8:li#25:pa#64:\
-	:@7=\E[146q:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DL=\E[%dM:\
-	:DO=\E[%dB:F1=\E[011q:F2=\E[012q:F3=\E[013q:F4=\E[014q:\
-	:F5=\E[015q:F6=\E[016q:F7=\E[017q:F8=\E[018q:F9=\E[019q:\
-	:FA=\E[020q:FB=\E[021q:FC=\E[022q:FD=\E[023q:FE=\E[024q:\
-	:FF=\E[025q:FG=\E[026q:FH=\E[027q:FI=\E[028q:FJ=\E[029q:\
-	:FK=\E[030q:FL=\E[031q:FM=\E[032q:FN=\E[033q:FO=\E[034q:\
-	:FP=\E[035q:FQ=\E[036q:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:\
-	:SR=\E[%dT:UP=\E[%dA:\
-	:ac=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263:\
-	:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[2J:\
-	:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:\
-	:ei=\E[4l:ho=\E[H:im=\E[4h:is=\Ec:k0=\E[010q:k1=\E[001q:\
-	:k2=\E[002q:k3=\E[003q:k4=\E[004q:k5=\E[005q:k6=\E[006q:\
-	:k7=\E[007q:k8=\E[008q:k9=\E[009q:k;=\E[010q:kA=\E[140q:\
-	:kB=\E[Z:kC=\E[144q:kD=\E[P:kE=\E[142q:kF=\E[151q:\
-	:kI=\E[139q:kM=\E[4l:kN=\E[154q:kP=\E[150q:kR=\E[155q:\
-	:kS=\E[148q:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
-	:le=^H:mb=\E[5m:me=\E[0m:mk=\E[8m:mr=\E[7m:nd=\E[C:rc=\E[u:\
-	:rs=\Ec:\
-	:..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;m:\
-	:sc=\E[s:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:ue=\E[m:up=\E[A:\
-	:us=\E[4m:
+	:Co#8:NC@:pa#64:\
+	:AB=\E[4%dm:AF=\E[3%dm:md@:tc=ibm5151:tc=ibm+color:
+ibmega-c|ibm5154-c|IBM Enhanced Color Display with standout and underline:\
+	:se=\EB:so=\EF\Ef3;:ue=\EB:us=\EF\Ef2;:tc=ibmmono:
+ibmvga-c|IBM VGA display color termcap:\
+	:cr=^M:do=^J:kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:\
+	:tc=ibmega-c:
+ibmvga|IBM VGA display:\
+	:cr=^M:do=^J:kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:tc=ibmega:
+# ibmapa* and ibmmono entries come from ACIS 4.3 distribution
+rtpc|ibmapa16|IBM 6155 Extended Monochrome Graphics Display:\
+	:li#32:\
+	:ds=\Ej\EY@ \EI\Ek:..ts=\Ej\EY@%+ \Eo:tc=ibmmono:
+ibm6155|IBM 6155 Black & White display:\
+	:mb@:md@:tc=ibm5151:
+# Advanced Monochrome (6153) and Color (6154) Graphics Display:
+ibmapa8c|ibmapa8|IBM 6154 Advanced Graphics Display:\
+	:li#31:\
+	:ds=\Ej\EY? \EI\Ek:..ts=\Ej\EY?%+ \Eo:tc=ibmmono:
+ibmapa8c-c|ibm6154-c|IBM 6154 Advanced Color Graphics Display:\
+	:li#31:\
+	:ds=\Ej\EY? \EI\Ek:mh=\EF\Ef7;:..ts=\Ej\EY?%+ \Eo:\
+	:tc=ibmega-c:
+ibm6154|IBM 6154 Color displays:\
+	:mb@:md=\E[12m:me=\E[0;10m:s0=\E[10m:s1=\E[11m:s2=\E[12m:\
+	:..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;12%;m:\
+	:tc=ibm5154:
 ibm6153|IBM 6153 Black & White display:\
-	:am:bw:ms:xo:\
-	:co#80:it#8:li#25:\
-	:@7=\E[146q:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:F1=\E[011q:\
-	:F2=\E[012q:F3=\E[013q:F4=\E[014q:F5=\E[015q:F6=\E[016q:\
-	:F7=\E[017q:F8=\E[018q:F9=\E[019q:FA=\E[020q:FB=\E[021q:\
-	:FC=\E[022q:FD=\E[023q:FE=\E[024q:FF=\E[025q:FG=\E[026q:\
-	:FH=\E[027q:FI=\E[028q:FJ=\E[029q:FK=\E[030q:FL=\E[031q:\
-	:FM=\E[032q:FN=\E[033q:FO=\E[034q:FP=\E[035q:FQ=\E[036q:\
-	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
-	:ac=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263:\
-	:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[2J:\
-	:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:\
-	:ei=\E[4l:ho=\E[H:im=\E[4h:is=\Ec:k0=\E[010q:k1=\E[001q:\
-	:k2=\E[002q:k3=\E[003q:k4=\E[004q:k5=\E[005q:k6=\E[006q:\
-	:k7=\E[007q:k8=\E[008q:k9=\E[009q:k;=\E[010q:kA=\E[140q:\
-	:kB=\E[Z:kC=\E[144q:kD=\E[P:kE=\E[142q:kF=\E[151q:\
-	:kI=\E[139q:kM=\E[4l:kN=\E[154q:kP=\E[150q:kR=\E[155q:\
-	:kS=\E[148q:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
-	:le=^H:md=\E[12m:me=\E[0;10m:mk=\E[8m:mr=\E[7m:nd=\E[C:\
-	:rc=\E[u:rs=\Ec:s0=\E[10m:s1=\E[11m:s2=\E[12m:\
+	:mb@:md=\E[12m:me=\E[0;10m:s0=\E[10m:s1=\E[11m:s2=\E[12m:\
 	:..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;12%;m:\
-	:sc=\E[s:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:ue=\E[m:up=\E[A:\
-	:us=\E[4m:
+	:tc=ibm5151:
 ibm6153-90|IBM 6153 Black & White display:\
-	:am:bw:ms:xo:\
-	:co#90:it#8:li#36:\
-	:@7=\E[146q:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:F1=\E[011q:\
-	:F2=\E[012q:F3=\E[013q:F4=\E[014q:F5=\E[015q:F6=\E[016q:\
-	:F7=\E[017q:F8=\E[018q:F9=\E[019q:FA=\E[020q:FB=\E[021q:\
-	:FC=\E[022q:FD=\E[023q:FE=\E[024q:FF=\E[025q:FG=\E[026q:\
-	:FH=\E[027q:FI=\E[028q:FJ=\E[029q:FK=\E[030q:FL=\E[031q:\
-	:FM=\E[032q:FN=\E[033q:FO=\E[034q:FP=\E[035q:FQ=\E[036q:\
-	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
-	:ac=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263:\
-	:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[2J:\
-	:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:\
-	:ei=\E[4l:ho=\E[H:im=\E[4h:is=\Ec:k0=\E[010q:k1=\E[001q:\
-	:k2=\E[002q:k3=\E[003q:k4=\E[004q:k5=\E[005q:k6=\E[006q:\
-	:k7=\E[007q:k8=\E[008q:k9=\E[009q:k;=\E[010q:kA=\E[140q:\
-	:kB=\E[Z:kC=\E[144q:kD=\E[P:kE=\E[142q:kF=\E[151q:\
-	:kI=\E[139q:kM=\E[4l:kN=\E[154q:kP=\E[150q:kR=\E[155q:\
-	:kS=\E[148q:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
-	:le=^H:me=\E[0m:mk=\E[8m:mr=\E[7m:nd=\E[C:rc=\E[u:rs=\Ec:\
-	:..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;m:\
-	:sc=\E[s:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:ue=\E[m:up=\E[A:\
-	:us=\E[4m:
+	:co#90:li#36:\
+	:mb@:md@:tc=ibm5151:
 ibm6153-40|IBM 6153 Black & White display:\
-	:am:bw:ms:xo:\
-	:co#40:it#8:li#12:\
-	:@7=\E[146q:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:F1=\E[011q:\
-	:F2=\E[012q:F3=\E[013q:F4=\E[014q:F5=\E[015q:F6=\E[016q:\
-	:F7=\E[017q:F8=\E[018q:F9=\E[019q:FA=\E[020q:FB=\E[021q:\
-	:FC=\E[022q:FD=\E[023q:FE=\E[024q:FF=\E[025q:FG=\E[026q:\
-	:FH=\E[027q:FI=\E[028q:FJ=\E[029q:FK=\E[030q:FL=\E[031q:\
-	:FM=\E[032q:FN=\E[033q:FO=\E[034q:FP=\E[035q:FQ=\E[036q:\
-	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
-	:ac=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263:\
-	:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[2J:\
-	:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:\
-	:ei=\E[4l:ho=\E[H:im=\E[4h:is=\Ec:k0=\E[010q:k1=\E[001q:\
-	:k2=\E[002q:k3=\E[003q:k4=\E[004q:k5=\E[005q:k6=\E[006q:\
-	:k7=\E[007q:k8=\E[008q:k9=\E[009q:k;=\E[010q:kA=\E[140q:\
-	:kB=\E[Z:kC=\E[144q:kD=\E[P:kE=\E[142q:kF=\E[151q:\
-	:kI=\E[139q:kM=\E[4l:kN=\E[154q:kP=\E[150q:kR=\E[155q:\
-	:kS=\E[148q:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
-	:le=^H:me=\E[0m:mk=\E[8m:mr=\E[7m:nd=\E[C:rc=\E[u:rs=\Ec:\
-	:..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;m:\
-	:sc=\E[s:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:ue=\E[m:up=\E[A:\
-	:us=\E[4m:
-ibm6154|IBM 6154 Color displays:\
-	:am:bw:ms:xo:\
-	:Co#8:co#80:it#8:li#25:pa#64:\
-	:@7=\E[146q:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DL=\E[%dM:\
-	:DO=\E[%dB:F1=\E[011q:F2=\E[012q:F3=\E[013q:F4=\E[014q:\
-	:F5=\E[015q:F6=\E[016q:F7=\E[017q:F8=\E[018q:F9=\E[019q:\
-	:FA=\E[020q:FB=\E[021q:FC=\E[022q:FD=\E[023q:FE=\E[024q:\
-	:FF=\E[025q:FG=\E[026q:FH=\E[027q:FI=\E[028q:FJ=\E[029q:\
-	:FK=\E[030q:FL=\E[031q:FM=\E[032q:FN=\E[033q:FO=\E[034q:\
-	:FP=\E[035q:FQ=\E[036q:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:\
-	:SR=\E[%dT:UP=\E[%dA:\
-	:ac=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263:\
-	:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[2J:\
-	:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:\
-	:ei=\E[4l:ho=\E[H:im=\E[4h:is=\Ec:k0=\E[010q:k1=\E[001q:\
-	:k2=\E[002q:k3=\E[003q:k4=\E[004q:k5=\E[005q:k6=\E[006q:\
-	:k7=\E[007q:k8=\E[008q:k9=\E[009q:k;=\E[010q:kA=\E[140q:\
-	:kB=\E[Z:kC=\E[144q:kD=\E[P:kE=\E[142q:kF=\E[151q:\
-	:kI=\E[139q:kM=\E[4l:kN=\E[154q:kP=\E[150q:kR=\E[155q:\
-	:kS=\E[148q:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
-	:le=^H:md=\E[12m:me=\E[0;10m:mk=\E[8m:mr=\E[7m:nd=\E[C:\
-	:rc=\E[u:rs=\Ec:s0=\E[10m:s1=\E[11m:s2=\E[12m:\
-	:..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;12%;m:\
-	:sc=\E[s:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:ue=\E[m:up=\E[A:\
-	:us=\E[4m:
-ibm6155|IBM 6155 Black & White display:\
-	:am:bw:ms:xo:\
-	:co#80:it#8:li#25:\
-	:@7=\E[146q:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:F1=\E[011q:\
-	:F2=\E[012q:F3=\E[013q:F4=\E[014q:F5=\E[015q:F6=\E[016q:\
-	:F7=\E[017q:F8=\E[018q:F9=\E[019q:FA=\E[020q:FB=\E[021q:\
-	:FC=\E[022q:FD=\E[023q:FE=\E[024q:FF=\E[025q:FG=\E[026q:\
-	:FH=\E[027q:FI=\E[028q:FJ=\E[029q:FK=\E[030q:FL=\E[031q:\
-	:FM=\E[032q:FN=\E[033q:FO=\E[034q:FP=\E[035q:FQ=\E[036q:\
-	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
-	:ac=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263:\
-	:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[2J:\
-	:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:\
-	:ei=\E[4l:ho=\E[H:im=\E[4h:is=\Ec:k0=\E[010q:k1=\E[001q:\
-	:k2=\E[002q:k3=\E[003q:k4=\E[004q:k5=\E[005q:k6=\E[006q:\
-	:k7=\E[007q:k8=\E[008q:k9=\E[009q:k;=\E[010q:kA=\E[140q:\
-	:kB=\E[Z:kC=\E[144q:kD=\E[P:kE=\E[142q:kF=\E[151q:\
-	:kI=\E[139q:kM=\E[4l:kN=\E[154q:kP=\E[150q:kR=\E[155q:\
-	:kS=\E[148q:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
-	:le=^H:me=\E[0m:mk=\E[8m:mr=\E[7m:nd=\E[C:rc=\E[u:rs=\Ec:\
-	:..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;m:\
-	:sc=\E[s:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:ue=\E[m:up=\E[A:\
-	:us=\E[4m:
-ibm8503|ibm8507|ibm8604|IBM 8503 B & W VGA display:\
+	:co#40:li#12:tc=ibm6153-90:
+ibm8512|ibm8513|IBM color VGA Terminal:\
 	:am:mi:ms:\
 	:co#80:it#8:li#25:\
 	:AL=\E[%dL:DL=\E[%dM:RA=\E[?7l:SA=\E[?7h:\
@@ -19410,207 +10817,25 @@
 	:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
 	:r1=\Eb\E[m\017\E[?7h\E[H\E[J:rc=\E[u:sc=\E[s:se=\E[m:\
 	:so=\E[7m:te=\E[20h:ti=\E[20;4l\E[?7h\Eb:ue=\E[m:up=\E[A:\
-	:us=\E[4m:
-ibm8512|ibm8513|IBM color VGA Terminal:\
-	:am:mi:ms:\
-	:co#80:it#8:li#25:\
-	:AL=\E[%dL:DL=\E[%dM:RA=\E[?7l:SA=\E[?7h:\
-	:ac=jjkkllmmnnqqttuuvvwwxx:ae=^O:al=\E[L:as=^N:cd=\E[J:\
-	:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:dl=\E[M:dm=\E[4h:\
-	:do=^J:ec=\E[%dX:ed=\E[4l:ei=\E[4l:ho=\E[H:im=\E[4h:\
-	:is=\Eb\E[m\017\E[?7h:k0=\E[010q:k1=\E[001q:k2=\E[002q:\
-	:k3=\E[003q:k4=\E[004q:k5=\E[005q:k6=\E[006q:k7=\E[007q:\
-	:k8=\E[008q:k9=\E[009q:kd=\E[B:kh=\E[H:ku=\E[A:le=\E[D:\
-	:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
-	:r1=\Eb\E[m\017\E[?7h\E[H\E[J:rc=\E[u:sc=\E[s:se=\E[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E0:ta=^I:\
-	:..ts=\Ej\EYI%+ \Eo:ue=\EB:up=\EA:us=\EF\Ef2;:
-
-ibmaed|IBM Experimental display:\
-	:am:bs:eo:ms:\
-	:co#80:it#8:li#52:\
-	:al=\EN:cd=\EJ:ce=\EI:cl=\EH\EK:cm=\EY%+ %+ :dc=\EQ:dl=\EO:\
-	:do=\EB:ei=:ho=\EH:ic=\EP:im=:kb=^H:kd=\EB:kl=\ED:kr=\EC:\
-	:ku=\EA:le=^H:me=\E0:nd=\EC:se=\E0:so=\E0:ta=^I:up=\EA:\
-	:vb=\EG:
-ibm-apl|apl|IBM apl terminal simulator:\
-	:am:bs:xn:\
-	:co#80:it#8:li#25:\
-	:bl=^G:cd=^K:ce=^]:cl=^L:cm=\036%r%+ %+ :cr=^M:do=^J:ho=^Y:\
-	:kd=^J:kh=^Y:kl=^H:kr=^\:ku=^_:le=^H:nd=^\:sf=^J:ta=^I:up=^_:
-# (ibmmono: this had an unknown `sb' boolean, I changed it to `bs'.  
-# Also it had ":I0=f10:" which pretty obviously should be "l0=f10" -- esr)
-ibmmono|IBM workstation monochrome:\
-	:am:bs:es:hs:xo:\
-	:co#80:li#24:\
-	:al=\EL:bl=^G:cd=\EJ:ce=\EI:cl=\EK:cm=\EY%+ %+ :cr=^M:\
-	:ct=\E1:dl=\EM:do=^J:ds=\Ej\EY8 \EI\Ek:fs=\Ek:ho=\EH:\
-	:k0=\E<:k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:\
-	:k8=\ER:k9=\EY:kF=\EE:kI=\0:kN=\EE:kP=\Eg:kR=\EG:kb=^H:\
-	:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:l0=f10:le=^H:md=\EZ:\
-	:me=\Ew\Eq\Ez\EB:mk=\EF\Ef0;\Eb0;:mr=\Ep:nd=\EC:nw=^M^J:\
-	:se=\Ez:sf=^J:so=\EZ:sr=\EA:st=\E0:ta=^I:\
-	:..ts=\Ej\EY8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ew:up=\EA:us=\EW:
-# ibmapa* and ibmmono entries come from ACIS 4.3 distribution
-rtpc|ibmapa16|IBM 6155 Extended Monochrome Graphics Display:\
-	:am:bs:es:hs:xo:\
-	:co#80:li#32:\
-	:al=\EL:bl=^G:cd=\EJ:ce=\EI:cl=\EK:cm=\EY%+ %+ :cr=^M:\
-	:ct=\E1:dl=\EM:do=^J:ds=\Ej\EY@ \EI\Ek:fs=\Ek:ho=\EH:\
-	:k0=\E<:k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:\
-	:k8=\ER:k9=\EY:kF=\EE:kI=\0:kN=\EE:kP=\Eg:kR=\EG:kb=^H:\
-	:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:l0=f10:le=^H:md=\EZ:\
-	:me=\Ew\Eq\Ez\EB:mk=\EF\Ef0;\Eb0;:mr=\Ep:nd=\EC:nw=^M^J:\
-	:se=\Ez:sf=^J:so=\EZ:sr=\EA:st=\E0:ta=^I:\
-	:..ts=\Ej\EY@%+ \Eo:ue=\Ew:up=\EA:us=\EW:
-# Advanced Monochrome (6153) and Color (6154) Graphics Display:
-ibmapa8c|ibmapa8|IBM 6153/4 Advanced Graphics Display:\
-	:am:bs:es:hs:xo:\
-	:co#80:li#31:\
-	:al=\EL:bl=^G:cd=\EJ:ce=\EI:cl=\EK:cm=\EY%+ %+ :cr=^M:\
-	:ct=\E1:dl=\EM:do=^J:ds=\Ej\EY? \EI\Ek:fs=\Ek:ho=\EH:\
-	:k0=\E<:k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:\
-	:k8=\ER:k9=\EY:kF=\EE:kI=\0:kN=\EE:kP=\Eg:kR=\EG:kb=^H:\
-	:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:l0=f10:le=^H:md=\EZ:\
-	:me=\Ew\Eq\Ez\EB:mk=\EF\Ef0;\Eb0;:mr=\Ep:nd=\EC:nw=^M^J:\
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FC=\E[022q:FD=\E[023q:FE=\E[024q:\
-	:FF=\E[025q:FG=\E[026q:FH=\E[027q:FI=\E[028q:FJ=\E[029q:\
-	:FK=\E[030q:FL=\E[031q:FM=\E[032q:FN=\E[033q:FO=\E[034q:\
-	:FP=\E[035q:FQ=\E[036q:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:\
-	:SR=\E[%dT:UP=\E[%dA:\
-	:ac=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263:\
-	:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[2J:\
-	:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:\
-	:ei=\E[4l:ho=\E[H:im=\E[4h:is=\Ec:k0=\E[010q:k1=\E[001q:\
-	:k2=\E[002q:k3=\E[003q:k4=\E[004q:k5=\E[005q:k6=\E[006q:\
-	:k7=\E[007q:k8=\E[008q:k9=\E[009q:k;=\E[010q:kA=\E[140q:\
-	:kB=\E[Z:kC=\E[144q:kD=\E[P:kE=\E[142q:kF=\E[151q:\
-	:kI=\E[139q:kM=\E[4l:kN=\E[154q:kP=\E[150q:kR=\E[155q:\
-	:kS=\E[148q:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
-	:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:mk=\E[8m:mr=\E[7m:\
-	:nd=\E[C:rc=\E[u:rs=\Ec:\
-	:..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;m:\
-	:sc=\E[s:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:ue=\E[m:up=\E[A:\
-	:us=\E[4m:
-# From: Marc Pawliger <marc@ibminet.awdpa.ibm.com>
-# also in /usr/lpp/bos/bsdsysadmin.
-# (hft-c: this entry had :kb=\E[D:kf=\E[C: on the line with ku/kd/kh; this was
-# pretty obviously mislabeled for :le: and :nd:; also ":ul=\E[4m:" was clearly
-# a typo for ":us=\E[4m:"; also ":el=\E[K:" was a typo for ":ce=\E[K:".
-# I also added <rmam>/<smam> based on the terminal reset string.
-# There was an unknown boolean ":ht:" which I assume was meant to set hardware
-# tabs, so I have inserted it#8. Finally, :ac=^N: paired with the :ae: looked
-# like a typo for :as=^N:; finally, added empty <acsc> to quiet tic -- esr)
-hft-c|IBM High Function Terminal:\
-	:am:mi:ms:\
-	:co#80:it#8:li#25:\
-	:AL=\E[%dL:DL=\E[%dM:RA=\E[?7l:SA=\E[?7h:\
-	:ac=jjkkllmmnnqqttuuvvwwxx:ae=^O:al=\E[L:as=^N:cd=\E[J:\
-	:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:dl=\E[M:dm=\E[4h:\
-	:do=^J:ec=\E[%dX:ed=\E[4l:ei=\E[4l:ho=\E[H:im=\E[4h:\
-	:is=\Eb\E[m\017\E[?7h:k0=\E[010q:k1=\E[001q:k2=\E[002q:\
-	:k3=\E[003q:k4=\E[004q:k5=\E[005q:k6=\E[006q:k7=\E[007q:\
-	:k8=\E[008q:k9=\E[009q:kd=\E[B:kh=\E[H:ku=\E[A:le=\E[D:\
-	:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
-	:r1=\Eb\E[m\017\E[?7h\E[H\E[J:rc=\E[u:sc=\E[s:se=\E[m:\
-	:so=\E[7m:te=\E[20h:ti=\E[20;4l\E[?7h\Eb:ue=\E[m:up=\E[A:\
-	:us=\E[4m:
-hft|AIWS High Function Terminal:\
+	:Co#8:pa#64:\
+	:AB=\E[4%dm:AF=\E[3%dm:tc=ibm5151:tc=ibm+color:
+hft-old|AIWS High Function Terminal:\
 	:am:xo:\
 	:co#80:li#25:\
-	:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
-	:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=\E6:ho=\E[H:\
-	:ic=\E[@:im=\E6:k1=\E[001q:k2=\E[002q:k3=\E[003q:\
-	:k4=\E[004q:k5=\E[005q:k6=\E[006q:k7=\E[007q:k8=\E[008q:\
-	:k9=\E[009q:kN=\E[153q:kP=\E[159q:ka=\E[010q:kb=^H:\
-	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
-	:md=\E[1m:me=\E[m:mk=\E[8m:mr=\E[7m:nd=\E[C:se=\E[m:sf=^J:\
-	:so=\E[7m:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
+	:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
+	:cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=\E6:ho=\E[H:ic=\E[@:im=\E6:\
+	:k1=\E[001q:k2=\E[002q:k3=\E[003q:k4=\E[004q:k5=\E[005q:\
+	:k6=\E[006q:k7=\E[007q:k8=\E[008q:k9=\E[009q:kN=\E[153q:\
+	:kP=\E[159q:ka=\E[010q:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
+	:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mk=\E[8m:\
+	:mr=\E[7m:nd=\E[C:se=\E[m:sf=^J:so=\E[7m:ta=^I:ue=\E[m:\
+	:up=\E[A:us=\E[4m:tc=ibm+color:
 ibm-system1|system1|ibm system/1 computer:\
 	:am:xt:\
 	:co#80:li#24:\
@@ -19619,158 +10844,67 @@
 #    lft "supports" underline, bold, and blink in the sense that the lft code
 #    sets all the right bits.  HOWEVER, depending upon the adapter, these
 #    attributes may or may not be supported by the device driver.
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
+# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 lft|lft-pc850|LFT-PC850|IBM LFT PC850 Device:\
 	:am:bw:ms:xo:\
 	:co#80:it#8:li#25:\
-	:@7=\E[146q:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
-	:F1=\E[011q:F2=\E[012q:F3=\E[013q:F4=\E[014q:F5=\E[015q:\
-	:F6=\E[016q:F7=\E[017q:F8=\E[018q:F9=\E[019q:FA=\E[020q:\
-	:FB=\E[021q:FC=\E[022q:FD=\E[023q:FE=\E[024q:FF=\E[025q:\
-	:FG=\E[026q:FH=\E[027q:FI=\E[028q:FJ=\E[029q:FK=\E[030q:\
-	:FL=\E[031q:FM=\E[032q:FN=\E[033q:FO=\E[034q:FP=\E[035q:\
-	:FQ=\E[036q:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:\
-	:SR=\E[%dT:UP=\E[%dA:\
-	:ac=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263:\
+	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
+	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
 	:ae=\E(B:al=\E[L:as=\E(0:bl=^G:bt=\E[Z:cd=\E[2J:ce=\E[0K:\
-	:ch=\E[%i%dG:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:\
-	:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:ei=\E[4l:ho=\E[H:im=\E[4h:\
-	:is=\Ec:k1=\E[001q:k2=\E[002q:k3=\E[003q:k4=\E[004q:\
-	:k5=\E[005q:k6=\E[006q:k7=\E[007q:k8=\E[008q:k9=\E[009q:\
-	:k;=\E[010q:kA=\E[140q:kB=\E[Z:kC=\E[144q:kD=\E[P:\
-	:kE=\E[142q:kF=\E[151q:kI=\E[139q:kM=\E[4l:kN=\E[154q:\
-	:kP=\E[150q:kR=\E[155q:kS=\E[148q:kb=^H:kd=\E[B:kh=\E[H:\
+	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:dc=\E[P:\
+	:dl=\E[M:do=^J:ec=\E[%dX:ei=\E[4l:ho=\E[H:im=\E[4h:is=\Ec:\
+	:k1=\E[001q:k2=\E[002q:k3=\E[003q:k4=\E[004q:k5=\E[005q:\
+	:k6=\E[006q:k7=\E[007q:k8=\E[008q:k9=\E[009q:kD=\E[P:\
+	:kI=\E[139q:kN=\E[154q:kP=\E[150q:kb=^H:kd=\E[B:kh=\E[H:\
 	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:\
-	:mk=\E[8m:mr=\E[7m:nd=\E[C:rs=\Ec:\
-	:..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\E(0%e\E(B%;:\
-	:se=\E[0m:sf=\ED:so=\E[7m:sr=\EL:ue=\E[0m:up=\E[A:us=\E[4m:
+	:mr=\E[7m:nd=\E[C:rs=\Ec:se=\E[0m:sf=\ED:so=\E[7m:sr=\EL:\
+	:ue=\E[0m:up=\E[A:us=\E[4m:
+ibm5081|hft|IBM Megapel Color display:\
+	:ac=jjkkllmmnnqqttuuvvwwxx:mb@:md@:me=\E[0m\E(B:s0=\E(B:\
+	:s1=\E(0:tc=ibm5154:
+ibm5081-c|ibmmpel-c|IBM 5081 1024x1024 256/4096 Megapel enhanced color display:\
+	:es:hs:\
+	:li#33:\
+	:ds=\Ej\EYA \EI\Ek:fs=\Ek:..ts=\Ej\EYA%+ \Eo:\
+	:tc=ibmega-c:
+ibm8503|ibm8507|ibm8604|IBM 8503 B & W VGA display:\
+	:tc=hft-c:
+ibm8514|IBM 8514/a color VGA display:\
+	:es:hs:\
+	:ds=\Ej\EYI \EI\Ek:fs=\Ek:..ts=\Ej\EYI%+ \Eo:tc=hft:
+ibm8514-c|IBM 8514 color display with standout and underline:\
+	:es:hs:\
+	:li#41:\
+	:cr=^M:do=^J:ds=\Ej\EYI \EI\Ek:fs=\Ek:kb=^H:kd=^J:kl=^H:\
+	:nw=^M^J:sf=^J:ta=^I:..ts=\Ej\EYI%+ \Eo:tc=ibmega-c:
 
 #
 # AIX entries.  IBM ships these with AIX 3.2.5. 
-# AIX extension caps are commented out,
-# except for box1 which has been translated to an <acsc> string.
-#
-aixterm|IBM Aixterm Terminal Eemulator:\
-	:am:bw:es:hs:ms:xo:\
-	:Co#8:co#80:it#8:li#25:pa#64:\
-	:@7=\E[146q:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DL=\E[%dM:\
-	:DO=\E[%dB:F1=\E[011q:F2=\E[012q:F3=\E[013q:F4=\E[014q:\
-	:F5=\E[015q:F6=\E[016q:F7=\E[017q:F8=\E[018q:F9=\E[019q:\
-	:FA=\E[020q:FB=\E[021q:FC=\E[022q:FD=\E[023q:FE=\E[024q:\
-	:FF=\E[025q:FG=\E[026q:FH=\E[027q:FI=\E[028q:FJ=\E[029q:\
-	:FK=\E[030q:FL=\E[031q:FM=\E[032q:FN=\E[033q:FO=\E[034q:\
-	:FP=\E[035q:FQ=\E[036q:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:\
-	:SR=\E[%dT:UP=\E[%dA:ac=jjkkllmmnnqqttuuvvwwxx:al=\E[L:\
-	:bl=^G:cd=\E[J:ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[2J:\
-	:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ds=\E[?E:\
-	:ec=\E[%dX:ei=\E[4l:fs=\E[?F:ho=\E[H:im=\E[4h:is=\Ec:\
-	:k0=\E[010q:k1=\E[001q:k2=\E[002q:k3=\E[003q:k4=\E[004q:\
-	:k5=\E[005q:k6=\E[006q:k7=\E[007q:k8=\E[008q:k9=\E[009q:\
-	:k;=\E[010q:kA=\E[140q:kB=\E[Z:kC=\E[144q:kD=\E[P:\
-	:kE=\E[142q:kF=\E[151q:kI=\E[139q:kM=\E[4l:kN=\E[154q:\
-	:kP=\E[150q:kR=\E[155q:kS=\E[148q:kb=^H:kd=\E[B:kh=\E[H:\
-	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:md=\E[1m:me=\E[0;10m\E(B:\
-	:mk=\E[8m:mr=\E[7m:nd=\E[C:rc=\E[u:rs=\Ec:s0=\E(B:s1=\E(0:\
-	:s2=\E[12m:\
-	:..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;m:\
-	:sc=\E[s:se=\E[m:sf=\E[S:so=\E[7m:ts=\E[?%dT:ue=\E[m:\
-	:up=\E[A:us=\E[4m:
+# -- added rc, sc based on manpage -TD
+aixterm|IBM Aixterm Terminal Emulator:\
+	:es:hs:\
+	:ac=jjkkllmmnnqqttuuvvwwxx:ds=\E[?E:fs=\E[?F:md=\E[1m:\
+	:me=\E[0;10m\E(B:rc=\E8:s0=\E(B:s1=\E(0:\
+	:..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\E(0%e\E(B%;:\
+	:sc=\E7:sr@:ts=\E[?%dT:tc=ibm6154:
 aixterm-m|IBM AIXterm Monochrome Terminal Emulator:\
-	:am:bw:es:hs:ms:xo:\
-	:co#80:it#8:li#25:\
-	:@7=\E[146q:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:F1=\E[011q:\
-	:F2=\E[012q:F3=\E[013q:F4=\E[014q:F5=\E[015q:F6=\E[016q:\
-	:F7=\E[017q:F8=\E[018q:F9=\E[019q:FA=\E[020q:FB=\E[021q:\
-	:FC=\E[022q:FD=\E[023q:FE=\E[024q:FF=\E[025q:FG=\E[026q:\
-	:FH=\E[027q:FI=\E[028q:FJ=\E[029q:FK=\E[030q:FL=\E[031q:\
-	:FM=\E[032q:FN=\E[033q:FO=\E[034q:FP=\E[035q:FQ=\E[036q:\
-	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
-	:ac=jjkkllmmnnqqttuuvvwwxx:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:\
-	:ch=\E[%i%dG:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:\
-	:dl=\E[M:do=^J:ds=\E[?E:ec=\E[%dX:ei=\E[4l:fs=\E[?F:\
-	:ho=\E[H:im=\E[4h:is=\Ec:k0=\E[010q:k1=\E[001q:k2=\E[002q:\
-	:k3=\E[003q:k4=\E[004q:k5=\E[005q:k6=\E[006q:k7=\E[007q:\
-	:k8=\E[008q:k9=\E[009q:k;=\E[010q:kA=\E[140q:kB=\E[Z:\
-	:kC=\E[144q:kD=\E[P:kE=\E[142q:kF=\E[151q:kI=\E[139q:\
-	:kM=\E[4l:kN=\E[154q:kP=\E[150q:kR=\E[155q:kS=\E[148q:\
-	:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
-	:md=\E[1m:me=\E[0;10m\E(B:mk=\E[8m:mr=\E[7m:nd=\E[C:\
-	:rc=\E[u:rs=\Ec:s0=\E(B:s1=\E(0:s2=\E[12m:\
+	:es:hs:\
+	:ac=jjkkllmmnnqqttuuvvwwxx:ds=\E[?E:fs=\E[?F:md=\E[1m:\
+	:me=\E[0;10m\E(B:s0=\E(B:s1=\E(0:\
 	:..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m:\
-	:sc=\E[s:se=\E[m:sf=\E[S:so=\E[7m:ts=\E[?%dT:ue=\E[m:\
-	:up=\E[A:us=\E[4m:
+	:sr@:ts=\E[?%dT:tc=ibm6153:
 aixterm-m-old|old IBM AIXterm Monochrome Terminal Emulator:\
-	:am:bw:es:hs:ms:xo:\
-	:co#80:it#8:li#25:\
-	:@7=\E[146q:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:F1=\E[011q:\
-	:F2=\E[012q:F3=\E[013q:F4=\E[014q:F5=\E[015q:F6=\E[016q:\
-	:F7=\E[017q:F8=\E[018q:F9=\E[019q:FA=\E[020q:FB=\E[021q:\
-	:FC=\E[022q:FD=\E[023q:FE=\E[024q:FF=\E[025q:FG=\E[026q:\
-	:FH=\E[027q:FI=\E[028q:FJ=\E[029q:FK=\E[030q:FL=\E[031q:\
-	:FM=\E[032q:FN=\E[033q:FO=\E[034q:FP=\E[035q:FQ=\E[036q:\
-	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
-	:ac=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263:\
-	:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[2J:\
-	:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ds=\E[?E:\
-	:ec=\E[%dX:ei=\E[4l:fs=\E[?F:ho=\E[H:im=\E[4h:is=\Ec:\
-	:k0=\E[010q:k1=\E[001q:k2=\E[002q:k3=\E[003q:k4=\E[004q:\
-	:k5=\E[005q:k6=\E[006q:k7=\E[007q:k8=\E[008q:k9=\E[009q:\
-	:k;=\E[010q:kA=\E[140q:kB=\E[Z:kC=\E[144q:kD=\E[P:\
-	:kE=\E[142q:kF=\E[151q:kI=\E[139q:kM=\E[4l:kN=\E[154q:\
-	:kP=\E[150q:kR=\E[155q:kS=\E[148q:kb=^H:kd=\E[B:kh=\E[H:\
-	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:md=\E[1m:me=\E[0;10m:\
-	:mk=\E[8m:mr=\E[7m:nd=\E[C:rc=\E[u:rs=\Ec:s0=\E[10m:\
-	:s1=\E[11m:s2=\E[12m:\
+	:es:hs:\
+	:ds=\E[?E:fs=\E[?F:md=\E[1m:\
 	:..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m:\
-	:sc=\E[s:se=\E[m:sf=\E[S:so=\E[7m:ts=\E[?%dT:ue=\E[m:\
-	:up=\E[A:us=\E[4m:
+	:sr@:ts=\E[?%dT:tc=ibm6153:
 jaixterm|IBM Kanji Aixterm Terminal Eemulator:\
-	:am:bw:es:hs:ms:xo:\
-	:Co#8:co#80:it#8:li#25:pa#64:\
-	:@7=\E[146q:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DL=\E[%dM:\
-	:DO=\E[%dB:F1=\E[011q:F2=\E[012q:F3=\E[013q:F4=\E[014q:\
-	:F5=\E[015q:F6=\E[016q:F7=\E[017q:F8=\E[018q:F9=\E[019q:\
-	:FA=\E[020q:FB=\E[021q:FC=\E[022q:FD=\E[023q:FE=\E[024q:\
-	:FF=\E[025q:FG=\E[026q:FH=\E[027q:FI=\E[028q:FJ=\E[029q:\
-	:FK=\E[030q:FL=\E[031q:FM=\E[032q:FN=\E[033q:FO=\E[034q:\
-	:FP=\E[035q:FQ=\E[036q:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:\
-	:SR=\E[%dT:UP=\E[%dA:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:\
-	:ch=\E[%i%dG:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:\
-	:dl=\E[M:do=^J:ds=\E[?E:ec=\E[%dX:ei=\E[4l:fs=\E[?F:\
-	:ho=\E[H:im=\E[4h:is=\Ec:k0=\E[010q:k1=\E[001q:k2=\E[002q:\
-	:k3=\E[003q:k4=\E[004q:k5=\E[005q:k6=\E[006q:k7=\E[007q:\
-	:k8=\E[008q:k9=\E[009q:k;=\E[010q:kA=\E[140q:kB=\E[Z:\
-	:kC=\E[144q:kD=\E[P:kE=\E[142q:kF=\E[151q:kI=\E[139q:\
-	:kM=\E[4l:kN=\E[154q:kP=\E[150q:kR=\E[155q:kS=\E[148q:\
-	:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
-	:md=\E[1m:me=\E[0;10m\E(B:mk=\E[8m:mr=\E[7m:nd=\E[C:\
-	:rc=\E[u:rs=\Ec:s0=\E(B:s1=\E(0:s2=\E[12m:\
-	:..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;m:\
-	:sc=\E[s:se=\E[m:sf=\E[S:so=\E[7m:ts=\E[?%dT:ue=\E[m:\
-	:up=\E[A:us=\E[4m:
+	:ac@:tc=aixterm:
 jaixterm-m|IBM Kanji AIXterm Monochrome Terminal Emulator:\
-	:am:bw:es:hs:ms:xo:\
-	:co#80:it#8:li#25:\
-	:@7=\E[146q:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:F1=\E[011q:\
-	:F2=\E[012q:F3=\E[013q:F4=\E[014q:F5=\E[015q:F6=\E[016q:\
-	:F7=\E[017q:F8=\E[018q:F9=\E[019q:FA=\E[020q:FB=\E[021q:\
-	:FC=\E[022q:FD=\E[023q:FE=\E[024q:FF=\E[025q:FG=\E[026q:\
-	:FH=\E[027q:FI=\E[028q:FJ=\E[029q:FK=\E[030q:FL=\E[031q:\
-	:FM=\E[032q:FN=\E[033q:FO=\E[034q:FP=\E[035q:FQ=\E[036q:\
-	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
-	:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[2J:\
-	:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ds=\E[?E:\
-	:ec=\E[%dX:ei=\E[4l:fs=\E[?F:ho=\E[H:im=\E[4h:is=\Ec:\
-	:k0=\E[010q:k1=\E[001q:k2=\E[002q:k3=\E[003q:k4=\E[004q:\
-	:k5=\E[005q:k6=\E[006q:k7=\E[007q:k8=\E[008q:k9=\E[009q:\
-	:k;=\E[010q:kA=\E[140q:kB=\E[Z:kC=\E[144q:kD=\E[P:\
-	:kE=\E[142q:kF=\E[151q:kI=\E[139q:kM=\E[4l:kN=\E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up=^K:us=\E[8ZZ:ve=\E.3:\
 	:vi=\E.0:vs=\E.1:
 icl6404-w|kds7372-w|ICL 6404 aka Kokusai Display Systems 7372 132 cols:\
-	:am:bs:hs:\
-	:co#80:li#24:\
-	:DC=\EW:al=\EE:bl=^G:bt=\EI:cl=\E*:cm=\E=%+ %+P%+P:cr=^M:\
-	:..cs=\E!%+%p1%{32}%+%p2%{32} cud1=\026:ct=\E3:dl=\ER:\
-	:ei=\Er:ho=^^:i1=\EC\E.3\EDF\EV1\Eg\E[0ZZ:im=\Eq:\
-	:mb=\E[2ZZ:me=\E[0ZZ:mk=\E[1ZZ:mr=\E[4ZZ:nd=^L:nw=^_:\
-	:rs=\Eo1:\
-	:..sa=\E[%{0}%?%p1%t%{4}%|%;%?%p2%t%{8}%|%;%?%p3%t%{4}%|%;%?%p4%t%{2}%|%;%?%p7%t%{1}%|%;ZZ:\
-	:se=\E[%gh%{4}%^%Ph%gh%dZZ:so=\E[8ZZ:st=\E1:ta=^I:\
-	:ue=\E[%gh%{8}%^%Ph%gh%dZZ:up=^K:us=\E[8ZZ:ve=\E.3:\
-	:vi=\E.0:vs=\E.1:
+	:rs=\Eo1:tc=icl6404:
 
 #### Interactive Systems Corp
 #
@@ -20104,7 +11228,7 @@
 	:cm=\017%+ %+ :cr=^M:dc=\022:dl=\021:do=^J:ei=^V<:im=^V;:\
 	:ip=:k0=^VJ\r:k1=^VA\r:k2=^VB\r:k3=^VC\r:k4=^VD\r:k5=^VE\r:\
 	:k6=^VF\r:k7=^VG\r:k8=^VH\r:k9=^VI\r:kb=^H:kd=^J:ke=^V9:\
-	:kh=^Z:kl=^_:kr=^^:ks=\036\:\264\026%:ku=^\:le=^H:nd=^^:\
+	:kh=^Z:kl=^_:kr=^^:ks=\036\:\264\026%%%:ku=^\:le=^H:nd=^^:\
 	:se=^V#\s:sf=^J:so=^V$,:ta=^I:up=^\:
 intext2|intextii|INTERACTIVE modified owl 1251:\
 	:am:bw:ul:\
@@ -20172,33 +11296,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
 abm85h-old|oabm85h|o85h|Kimtron ABM 85H with old firmware rev.:\
-	:am:bs:bw:ms:\
-	:co#80:it#8:li#24:\
-	:al=\EE:bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :\
-	:dc=\EW:dl=\ER:do=^J:ei=\Er:if=/usr/share/tabset/stdcrt:\
-	:im=\EZ:\
+	:sg@:\
+	:bl=^G:im=\EZ:\
 	:is=\E}\EC\EX\Ee\En\E%\Er\E(\Ek\Em\Eq\Ed\ET\EC\E9\EF:\
-	:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:me=\E(\Ek:mh=\E):\
-	:mr=\Ej:nd=^L:se=\Ek:so=\Ej:ta=^I:ue=\Em:up=^K:us=\El:
+	:me=\E(\Ek:mh=\E):mr=\Ej:tc=abm85:
 # From: <malman@bbn-vax.arpa>
 # (kt7: removed obsolete :ma=^V^J^L :" -- esr)
 kt7|kimtron model kt-7:\
@@ -20210,8 +11323,7 @@
 	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
 	:k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=\EE:kB=\EI:kC=^Z:kD=\EW:\
 	:kE=\ET:kI=\EQ:kL=\ER:kS=\EY:kb=^H:kd=^V:kh=^^:kl=^H:kr=^L:\
-	:ku=^K:le=^H:me=\EG0:mr=\EG4:nd=^L:se=\EG0:so=\EG4:ta=^I:\
-	:ts=\Ef:ue=\EG0:up=^K:us=\EG8:
+	:ku=^K:le=^H:mk@:nd=^L:ta=^I:ts=\Ef:up=^K:tc=adm+sgr:
 # Renamed TB=^I to :ta:, BE=^G to :bl:, BS=^H to :kb:, N to :kS: (based on the
 # other kt7 entry and the adjacent key capabilities).  Removed EE which is
 # identical to :mh:.  Removed :ES=\EGD: which is some kind of highlight
@@ -20219,7 +11331,7 @@
 kt7ix|kimtron model kt-7 or 70 in IX mode:\
 	:am:bw:\
 	:co#80:it#8:li#25:\
-	:@7=\EY:PU=\EK:ac=lZm@k?jYt4uCvAwBqDx3nE:ae=\E%:al=\EE:\
+	:@7=\EY:PU=\EK:ac=jYk?lZm@nEqDt4uCvAwBx3:ae=\E%%%:al=\EE:\
 	:as=\E$:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :\
 	:cr=^M:dc=\EW:dl=\ER:do=^V:ds=\Ef\r:ei=:fs=^M:ho=^^:ic=\EQ:\
 	:im=:is=\EG0\E s\017\E~:k0=^AI\r:k1=^A@\r:k2=^AA\r:\
@@ -20340,18 +11452,7 @@
 # Does not use any multi-page features.
 #
 prism5|p5|P5|MDC Prism-5:\
-	:5i:am:bw:hs:ms:\
-	:co#80:li#24:sg#1:ug#1:ws#72:\
-	:bl=^G:cd=\EJ:ce=\EK:\
-	:..ch=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c:\
-	:cl=\014:\
-	:..cm=\013%p1%{32}%+%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c:\
-	:cr=^M:cv=\013%+ :do=^J:ds=\035\343\035\345:fs=^]\345:\
-	:ho=^A:kb=^H:kh=^A:le=^H:mb=^CB:me=^C\s:mh=^CA:mk=^CH:mr=^CD:\
-	:nd=^F:pf=\ET:po=\ER:ps=\EU:\
-	:..sa=\003%{64}%?%p1%p3%|%t%{4}%+%;%?%p2%t%{16}%+%;%?%p4%t%{2}%+%;%?%p5%t%{1}%+%;%?%p7%t%{8}%+%;%c%?%p9%t\016%e\017%;:\
-	:se=^C\s:sf=^J:so=^CD:ts=^]\343:ue=^C\s:up=^Z:us=^CP:\
-	:ve=^]\342:vi=^]\344:
+	:tc=p4:
 
 # p7: Prism-7
 # -----------
@@ -20362,15 +11463,7 @@
 #  Rev-index removed; can't send nulls to terminal in 8-bit modes.
 #
 prism7|p7|P7|MDC Prism-7:\
-	:5i:am:bw:hs:ms:\
-	:co#80:li#24:sg#1:ug#1:ws#72:\
-	:bl=^G:cd=\EJ:ce=\EK:cl=\014:cm=\E[%i%d;%dH:cr=^M:do=^J:\
-	:ds=\035\343\035\345:fs=^]\345:ho=^A:kb=^H:kh=^A:le=^H:\
-	:mb=^CB:me=^C\s:mh=^CA:mk=^CH:mr=^CD:nd=^F:pf=\ET:po=\ER:\
-	:ps=\EU:\
-	:..sa=\003%{64}%?%p1%p3%|%t%{4}%+%;%?%p2%t%{16}%+%;%?%p4%t%{2}%+%;%?%p5%t%{1}%+%;%?%p7%t%{8}%+%;%c%?%p9%t\016%e\017%;:\
-	:se=^C\s:sf=^J:so=^CD:ts=^]\343:ue=^C\s:up=^Z:us=^CP:\
-	:ve=^]\342:vi=^]\344:
+	:ch@:cm=\E[%i%d;%dH:cv@:tc=p4:
 
 # p8: Prism-8
 # -----------
@@ -20384,15 +11477,7 @@
 # (esr: commented out :as:/:ae: because there's no <acsc>)
 #
 prism8|p8|P8|MDC Prism-8:\
-	:5i:am:bw:hs:ms:\
-	:co#80:li#24:sg#1:ug#1:ws#72:\
-	:bl=^G:cd=\EJ:ce=\EK:ch=\E[%i%d`:cl=\014:cm=\E[%i%d;%dH:\
-	:cr=^M:cv=\E[%i%dd:do=^J:ds=\035\343\035\345:fs=^]\345:\
-	:ho=^A:is=\E[<12h:kb=^H:kh=^A:le=^H:mb=^CB:me=^C\s:mh=^CA:\
-	:mk=^CH:mr=^CD:nd=^F:pf=\ET:po=\ER:ps=\EU:\
-	:..sa=\003%{64}%?%p1%p3%|%t%{4}%+%;%?%p2%t%{16}%+%;%?%p4%t%{2}%+%;%?%p5%t%{1}%+%;%?%p7%t%{8}%+%;%c%?%p9%t\016%e\017%;:\
-	:se=^C\s:sf=^J:so=^CD:ts=^]\343:ue=^C\s:up=^Z:us=^CP:\
-	:ve=^]\342:vi=^]\344:
+	:ch=\E[%i%d`:cm=\E[%i%d;%dH:cv=\E[%i%dd:is=\E[<12h:tc=p4:
 
 # p8-w: Prism-8 in 132 column mode
 # --------------------------------
@@ -20402,15 +11487,8 @@
 #  Rev-index removed; can't send nulls to terminal in 8-bit modes.
 #
 prism8-w|p8-w|P8-W|MDC Prism-8 in 132 column mode:\
-	:5i:am:bw:hs:ms:\
-	:co#132:li#24:sg#1:ug#1:ws#72:\
-	:bl=^G:cd=\EJ:ce=\EK:ch=\E[%i%d`:cl=\014:cm=\E[%i%d;%dH:\
-	:cr=^M:cv=\E[%i%dd:do=^J:ds=\035\343\035\345:fs=^]\345:\
-	:ho=^A:is=\E[<12h\E[<14h:kb=^H:kh=^A:le=^H:mb=^CB:me=^C\s:\
-	:mh=^CA:mk=^CH:mr=^CD:nd=^F:pf=\ET:po=\ER:ps=\EU:\
-	:..sa=\003%{64}%?%p1%p3%|%t%{4}%+%;%?%p2%t%{16}%+%;%?%p4%t%{2}%+%;%?%p5%t%{1}%+%;%?%p7%t%{8}%+%;%c%?%p9%t\016%e\017%;:\
-	:se=^C\s:sf=^J:so=^CD:ts=^]\343:ue=^C\s:up=^Z:us=^CP:\
-	:ve=^]\342:vi=^]\344:
+	:co#132:\
+	:is=\E[<12h\E[<14h:tc=p8:
 
 # p9: Prism-9 in ANSI mode
 # -------------------------
@@ -20430,6 +11508,7 @@
 #  . Padding values (sets xon)
 # (esr: commented out :as:/:ae: because there's no <acsc>)
 #
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
 prism9|p9|P9|MDC Prism-9 in ANSII mode:\
 	:5i:am:bw:hs:ms:xn:xo:\
 	:co#80:it#8:li#24:vt#3:ws#72:\
@@ -20437,19 +11516,17 @@
 	:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:\
 	:F7=\E[31~:F8=\E[32~:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
 	:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K: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;%?%p8%t%{32}%+%;%d%%{%?%p9%t\016%e\017%;:\
 	:sc=\E[%y:se=\E[27m:sf=^J:so=\E[7m:sr=\E[L:st=\EH:ta=^I:\
-	:..ts=\E[%i%p1%d%%}:ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[<4h:\
-	:vi=\E[<4l:
+	:ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[<4h:vi=\E[<4l:
 
 # p9-w: Prism-9 in 132 column mode
 # --------------------------------
@@ -20457,26 +11534,9 @@
 # 'Wide' version of p9.
 #
 prism9-w|p9-w|P9-W|MDC Prism-9 in 132 column mode:\
-	:5i:am:bw:hs:ms:xn:xo:\
-	:co#132:it#8:li#24:vt#3:ws#72:\
-	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:\
-	:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:\
-	:F7=\E[31~:F8=\E[32~:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
-	:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%i%d`:cl=^L:\
-	:cm=\E[%i%d;%dH:cr=^M:..cs=\E[%i%p1%d;%p2%d%%v:ct=\E[2g:\
-	:cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=^J:ds=\E[%}\024:ec=\E[%dX:\
-	:ei=\E[4l:fs=^T:ho=\E[H:im=\E[4h:\
-	:is=\E[&p\E[<12l\E F\E[<14h:k1=\E[11~:k2=\E[12~:\
-	:k3=\E[13~:k4=\E[14~:k5=\E[15~:k6=\E[17~:k7=\E[18~:\
-	:k8=\E[19~:k9=\E[20~:k;=\E[21~:kC=^L:kb=^H:kd=\E[B:kh=\E[H:\
-	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:\
-	:mp=\E[32%{:mr=\E[7m:nd=\E[C:nw=^M^J:pf=\E[4i:po=\E[5i:\
-	:ps=\E[i:rc=\E[%z:rp=\E[%r%db%.:\
-	:rs=\E[&p\E[<12l\E F\E[<14h:\
-	:..sa=\E[%{0}%?%p1%p3%|%t%{4}%+%;%?%p2%t%{2}%+%;%?%p4%t%{1}%+%;%?%p6%t%{8}%+%;%?%p8%t%{32}%+%;%d%%{%?%p9%t\016%e\017%;:\
-	:sc=\E[%y:se=\E[27m:sf=^J:so=\E[7m:sr=\E[L:st=\EH:ta=^I:\
-	:..ts=\E[%i%p1%d%%}:ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[<4h:\
-	:vi=\E[<4l:
+	:co#132:\
+	:is=\E[&p\E[<12l\E F\E[<14h:\
+	:rs=\E[&p\E[<12l\E F\E[<14h:tc=p9:
 
 # p9-8: Prism-9 in P8 mode
 # ------------------------
@@ -20486,17 +11546,8 @@
 # Insertion and deletion operations possible.
 #
 prism9-8|p9-8|P9-8|MDC Prism-9 in P8 mode:\
-	:5i:am:bw:hs:ms:\
-	:co#80:li#24:sg#1:ug#1:ws#72:\
-	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:al=\E[L:bl=^G:\
-	:cd=\EJ:ce=\EK:ch=\E[%i%d`:cl=\014:cm=\E[%i%d;%dH:cr=^M:\
-	:cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=^J:ds=\035\343\035\345:\
-	:ei=:fs=^]\345:ho=^A:ic=\E[@:im=:is=\E[<12h:kb=^H:kh=^A:\
-	:le=^H:mb=^CB:me=^C\s:mh=^CA:mk=^CH:mr=^CD:nd=^F:pf=\ET:\
-	:po=\ER:ps=\EU:\
-	:..sa=\003%{64}%?%p1%p3%|%t%{4}%+%;%?%p2%t%{16}%+%;%?%p4%t%{2}%+%;%?%p5%t%{1}%+%;%?%p7%t%{8}%+%;%c%?%p9%t\016%e\017%;:\
-	:se=^C\s:sf=^J:so=^CD:ts=^]\343:ue=^C\s:up=^Z:us=^CP:\
-	:ve=^]\342:vi=^]\344:
+	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:al=\E[L:dc=\E[P:\
+	:dl=\E[M:ei=:ic=\E[@:im=:tc=p8:
 
 # p9-8-w: Prism-9 in P8 and 132 column modes
 # ------------------------------------------
@@ -20504,17 +11555,8 @@
 # P9 terminal in P8 emulation mode and 132 column mode.
 #
 prism9-8-w|p9-8-w|P9-8-W|MDC Prism-9 in Prism 8 emulation and 132 column mode:\
-	:5i:am:bw:hs:ms:\
-	:co#132:li#24:sg#1:ug#1:ws#72:\
-	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:al=\E[L:bl=^G:\
-	:cd=\EJ:ce=\EK:ch=\E[%i%d`:cl=\014:cm=\E[%i%d;%dH:cr=^M:\
-	:cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=^J:ds=\035\343\035\345:\
-	:ei=:fs=^]\345:ho=^A:ic=\E[@:im=:is=\E[<12h\E[<14h:kb=^H:\
-	:kh=^A:le=^H:mb=^CB:me=^C\s:mh=^CA:mk=^CH:mr=^CD:nd=^F:\
-	:pf=\ET:po=\ER:ps=\EU:\
-	:..sa=\003%{64}%?%p1%p3%|%t%{4}%+%;%?%p2%t%{16}%+%;%?%p4%t%{2}%+%;%?%p5%t%{1}%+%;%?%p7%t%{8}%+%;%c%?%p9%t\016%e\017%;:\
-	:se=^C\s:sf=^J:so=^CD:ts=^]\343:ue=^C\s:up=^Z:us=^CP:\
-	:ve=^]\342:vi=^]\344:
+	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:al=\E[L:dc=\E[P:\
+	:dl=\E[M:ei=:ic=\E[@:im=:tc=p8-w:
 
 # p12: Prism-12 in ANSI mode
 # ---------------------------
@@ -20522,25 +11564,7 @@
 # See p9 definition.
 #
 prism12|p12|P12|MDC Prism-12 in ANSI mode:\
-	:5i:am:bw:hs:ms:xn:xo:\
-	:co#80:it#8:li#24:vt#3:ws#72:\
-	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:\
-	:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:\
-	:F7=\E[31~:F8=\E[32~:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
-	:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%i%d`:cl=^L:\
-	:cm=\E[%i%d;%dH:cr=^M:..cs=\E[%i%p1%d;%p2%d%%v:ct=\E[2g:\
-	:cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=^J:ds=\E[%}\024:ec=\E[%dX:\
-	:ei=\E[4l:fs=^T:ho=\E[H:im=\E[4h:is=\E[&p\E[<12l\E F:\
-	:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
-	:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kC=^L:\
-	:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
-	:mb=\E[5m:md=\E[1m:me=\E[0m:mp=\E[32%{:mr=\E[7m:nd=\E[C:\
-	:nw=^M^J:pf=\E[4i:po=\E[5i:ps=\E[i:rc=\E[%z:rp=\E[%r%db%.:\
-	:rs=\E[&p\E[<12l\E F\E[3g\E[9;17;25;33;41;49;57;65;73 N:\
-	:..sa=\E[%{0}%?%p1%p3%|%t%{4}%+%;%?%p2%t%{2}%+%;%?%p4%t%{1}%+%;%?%p6%t%{8}%+%;%?%p8%t%{32}%+%;%d%%{%?%p9%t\016%e\017%;:\
-	:sc=\E[%y:se=\E[27m:sf=^J:so=\E[7m:sr=\E[L:st=\EH:ta=^I:\
-	:..ts=\E[%i%p1%d%%}:ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[<4h:\
-	:vi=\E[<4l:
+	:tc=p9:
 
 # p12-w: Prism-12 in 132 column mode
 # ----------------------------------
@@ -20548,26 +11572,7 @@
 # 'Wide' version of p12.
 #
 prism12-w|p12-w|P12-W|MDC Prism-12 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:
 
 # p12-m: Prism-12 in MDC emulation mode
 # -------------------------------------
@@ -20577,17 +11582,7 @@
 # Insertion and deletion operations possible.
 #
 prism12-m|p12-m|P12-M|MDC Prism-12 in MDC emulation mode:\
-	:5i:am:bw:hs:ms:\
-	:co#80:li#24:sg#1:ug#1:ws#72:\
-	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:al=\E[L:bl=^G:\
-	:cd=\EJ:ce=\EK:ch=\E[%i%d`:cl=\014:cm=\E[%i%d;%dH:cr=^M:\
-	:cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=^J:ds=\035\343\035\345:\
-	:ei=:fs=^]\345:ho=^A:ic=\E[@:im=:is=\E[<12h:kb=^H:kh=^A:\
-	:le=^H:mb=^CB:me=^C\s:mh=^CA:mk=^CH:mr=^CD:nd=^F:pf=\ET:\
-	:po=\ER:ps=\EU:\
-	:..sa=\003%{64}%?%p1%p3%|%t%{4}%+%;%?%p2%t%{16}%+%;%?%p4%t%{2}%+%;%?%p5%t%{1}%+%;%?%p7%t%{8}%+%;%c%?%p9%t\016%e\017%;:\
-	:se=^C\s:sf=^J:so=^CD:ts=^]\343:ue=^C\s:up=^Z:us=^CP:\
-	:ve=^]\342:vi=^]\344:
+	:tc=p9-8:
 
 # p12-m-w: Prism-12 in MDC emulation and 132 column modes
 # -------------------------------------------------------
@@ -20595,17 +11590,7 @@
 # P12 terminal in MDC emulation mode and 132 column mode.
 #
 prism12-m-w|p12-m-w|P12-M-W|MDC Prism-12 in MDC emulation and 132 column mode:\
-	:5i:am:bw:hs:ms:\
-	:co#132:li#24:sg#1:ug#1:ws#72:\
-	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:al=\E[L:bl=^G:\
-	:cd=\EJ:ce=\EK:ch=\E[%i%d`:cl=\014:cm=\E[%i%d;%dH:cr=^M:\
-	:cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=^J:ds=\035\343\035\345:\
-	:ei=:fs=^]\345:ho=^A:ic=\E[@:im=:is=\E[<12h\E[<14h:kb=^H:\
-	:kh=^A:le=^H:mb=^CB:me=^C\s:mh=^CA:mk=^CH:mr=^CD:nd=^F:\
-	:pf=\ET:po=\ER:ps=\EU:\
-	:..sa=\003%{64}%?%p1%p3%|%t%{4}%+%;%?%p2%t%{16}%+%;%?%p4%t%{2}%+%;%?%p5%t%{1}%+%;%?%p7%t%{8}%+%;%c%?%p9%t\016%e\017%;:\
-	:se=^C\s:sf=^J:so=^CD:ts=^]\343:ue=^C\s:up=^Z:us=^CP:\
-	:ve=^]\342:vi=^]\344:
+	:tc=p9-8-w:
 
 # p14: Prism-14 in ANSII mode
 # ---------------------------
@@ -20613,25 +11598,7 @@
 # See p9 definition.
 #
 prism14|p14|P14|MDC Prism-14 in ANSII mode:\
-	:5i:am:bw:hs:ms:xn:xo:\
-	:co#80:it#8:li#24:vt#3:ws#72:\
-	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:\
-	:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:\
-	:F7=\E[31~:F8=\E[32~:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
-	:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%i%d`:cl=^L:\
-	:cm=\E[%i%d;%dH:cr=^M:..cs=\E[%i%p1%d;%p2%d%%v:ct=\E[2g:\
-	:cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=^J:ds=\E[%}\024:ec=\E[%dX:\
-	:ei=\E[4l:fs=^T:ho=\E[H:im=\E[4h:is=\E[&p\E[<12l\E F:\
-	:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
-	:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kC=^L:\
-	:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
-	:mb=\E[5m:md=\E[1m:me=\E[0m:mp=\E[32%{:mr=\E[7m:nd=\E[C:\
-	:nw=^M^J:pf=\E[4i:po=\E[5i:ps=\E[i:rc=\E[%z:rp=\E[%r%db%.:\
-	:rs=\E[&p\E[<12l\E F\E[3g\E[9;17;25;33;41;49;57;65;73 N:\
-	:..sa=\E[%{0}%?%p1%p3%|%t%{4}%+%;%?%p2%t%{2}%+%;%?%p4%t%{1}%+%;%?%p6%t%{8}%+%;%?%p8%t%{32}%+%;%d%%{%?%p9%t\016%e\017%;:\
-	:sc=\E[%y:se=\E[27m:sf=^J:so=\E[7m:sr=\E[L:st=\EH:ta=^I:\
-	:..ts=\E[%i%p1%d%%}:ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[<4h:\
-	:vi=\E[<4l:
+	:tc=p9:
 
 # p14-w: Prism-14 in 132 column mode
 # ----------------------------------
@@ -20639,26 +11606,7 @@
 # 'Wide' version of p14.
 #
 prism14-w|p14-w|P14-W|MDC Prism-14 in 132 column mode:\
-	:5i:am:bw:hs:ms:xn:xo:\
-	:co#132:it#8:li#24:vt#3:ws#72:\
-	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:\
-	:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:\
-	:F7=\E[31~:F8=\E[32~:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
-	:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%i%d`:cl=^L:\
-	:cm=\E[%i%d;%dH:cr=^M:..cs=\E[%i%p1%d;%p2%d%%v:ct=\E[2g:\
-	:cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=^J:ds=\E[%}\024:ec=\E[%dX:\
-	:ei=\E[4l:fs=^T:ho=\E[H:im=\E[4h:\
-	:is=\E[&p\E[<12l\E F\E[<14h:k1=\E[11~:k2=\E[12~:\
-	:k3=\E[13~:k4=\E[14~:k5=\E[15~:k6=\E[17~:k7=\E[18~:\
-	:k8=\E[19~:k9=\E[20~:k;=\E[21~:kC=^L:kb=^H:kd=\E[B:kh=\E[H:\
-	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:\
-	:mp=\E[32%{:mr=\E[7m:nd=\E[C:nw=^M^J:pf=\E[4i:po=\E[5i:\
-	:ps=\E[i:rc=\E[%z:rp=\E[%r%db%.:\
-	:rs=\E[&p\E[<12l\E F\E[<14h:\
-	:..sa=\E[%{0}%?%p1%p3%|%t%{4}%+%;%?%p2%t%{2}%+%;%?%p4%t%{1}%+%;%?%p6%t%{8}%+%;%?%p8%t%{32}%+%;%d%%{%?%p9%t\016%e\017%;:\
-	:sc=\E[%y:se=\E[27m:sf=^J:so=\E[7m:sr=\E[L:st=\EH:ta=^I:\
-	:..ts=\E[%i%p1%d%%}:ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[<4h:\
-	:vi=\E[<4l:
+	:tc=p9-w:
 
 # p14-m: Prism-14 in MDC emulation mode
 # -------------------------------------
@@ -20668,17 +11616,7 @@
 # Insertion and deletion operations possible.
 #
 prism14-m|p14-m|P14-M|MDC Prism-14 in MDC emulation mode:\
-	:5i:am:bw:hs:ms:\
-	:co#80:li#24:sg#1:ug#1:ws#72:\
-	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:al=\E[L:bl=^G:\
-	:cd=\EJ:ce=\EK:ch=\E[%i%d`:cl=\014:cm=\E[%i%d;%dH:cr=^M:\
-	:cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=^J:ds=\035\343\035\345:\
-	:ei=:fs=^]\345:ho=^A:ic=\E[@:im=:is=\E[<12h:kb=^H:kh=^A:\
-	:le=^H:mb=^CB:me=^C\s:mh=^CA:mk=^CH:mr=^CD:nd=^F:pf=\ET:\
-	:po=\ER:ps=\EU:\
-	:..sa=\003%{64}%?%p1%p3%|%t%{4}%+%;%?%p2%t%{16}%+%;%?%p4%t%{2}%+%;%?%p5%t%{1}%+%;%?%p7%t%{8}%+%;%c%?%p9%t\016%e\017%;:\
-	:se=^C\s:sf=^J:so=^CD:ts=^]\343:ue=^C\s:up=^Z:us=^CP:\
-	:ve=^]\342:vi=^]\344:
+	:tc=p9-8:
 
 # p14-m-w: Prism-14 in MDC emulation and 132 column modes
 # -------------------------------------------------------
@@ -20686,17 +11624,7 @@
 # P14 terminal in MDC emulation mode and 132 column mode.
 #
 prism14-m-w|p14-m-w|P14-M-W|MDC Prism-14 in MDC emulation and 132 column mode:\
-	:5i:am:bw:hs:ms:\
-	:co#132:li#24:sg#1:ug#1:ws#72:\
-	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:al=\E[L:bl=^G:\
-	:cd=\EJ:ce=\EK:ch=\E[%i%d`:cl=\014:cm=\E[%i%d;%dH:cr=^M:\
-	:cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=^J:ds=\035\343\035\345:\
-	:ei=:fs=^]\345:ho=^A:ic=\E[@:im=:is=\E[<12h\E[<14h:kb=^H:\
-	:kh=^A:le=^H:mb=^CB:me=^C\s:mh=^CA:mk=^CH:mr=^CD:nd=^F:\
-	:pf=\ET:po=\ER:ps=\EU:\
-	:..sa=\003%{64}%?%p1%p3%|%t%{4}%+%;%?%p2%t%{16}%+%;%?%p4%t%{2}%+%;%?%p5%t%{1}%+%;%?%p7%t%{8}%+%;%c%?%p9%t\016%e\017%;:\
-	:se=^C\s:sf=^J:so=^CD:ts=^]\343:ue=^C\s:up=^Z:us=^CP:\
-	:ve=^]\342:vi=^]\344:
+	:tc=p9-8-w:
 
 # End of McDonnell Information Systems Prism definitions
 
@@ -20736,26 +11664,13 @@
 # The act 5 has hardware tabs, but they are in columns 8, 16, 24, 32, 41 (!)...
 # (microterm5: removed obsolete ":ma==^Z^P^Xl^Kj:" -- esr)
 act5|microterm5|microterm act v:\
-	:am:bs:\
-	:co#80:li#24:\
-	:al=2.3*\001<2.3*/>:bl=^G:cd=2.2*\037:ce=.1*\036:\
-	:cl=12\014:cm=\024%+^X%>/0%+P:cr=^M:dc=.1*\004:\
-	:dl=2.3*\027:do=^K:ho=^]:kd=^K:kl=^H:kr=^X:ku=^Z:le=^H:nd=^X:\
-	:sf=^J:sr=\EH:uc=^H\EA:up=^Z:
+	:kd=^K:kl=^H:kr=^X:ku=^Z:sr=\EH:uc=^H\EA:tc=act4:
 # Mimes using brightness for standout.  Half bright is really dim unless
 # you turn up the brightness so far that lines show up on the screen.
 mime-fb|full bright mime1:\
-	:am:bs:\
-	:co#80:it#8:li#24:vt#9:\
-	:al=\001:bl=^G:cd=^_:ce=^^:cl=^]^C:cm=\024%+^X%> 0%+P:\
-	:cr=^M:dl=\027:do=^J:ho=^]:is=^S\E:kd=^K:kl=^H:kr=^X:ku=^Z:\
-	:le=^H:nd=^X:se=^S:sf=^J:so=^Y:sr=\022:ta=\011:uc=^U:up=^Z:
+	:is=^S\E:se=^S:so=^Y:tc=mime:
 mime-hb|half bright mime1:\
-	:am:bs:\
-	:co#80:it#8:li#24:vt#9:\
-	:al=\001:bl=^G:cd=^_:ce=^^:cl=^]^C:cm=\024%+^X%> 0%+P:\
-	:cr=^M:dl=\027:do=^J:ho=^]:is=^Y\E:kd=^K:kl=^H:kr=^X:ku=^Z:\
-	:le=^H:nd=^X:se=^Y:sf=^J:so=^S:sr=\022:ta=\011:uc=^U:up=^Z:
+	:is=^Y\E:se=^Y:so=^S:tc=mime:
 # (mime: removed obsolete ":ma=^X ^K^J^Z^P:"; removed ":do=^K:" that overrode
 # the more plausible ":do=^J:" -- esr)
 # uc was at one time disabled to get around a curses bug, be wary of it
@@ -20784,17 +11699,11 @@
 	:sr=\EA:ta=^I:ue=\E5:up=\EA:us=\E4:
 # (mime3a: removed obsolete ":ma=^X ^K^J^Z^P:" -- esr)
 mime3a|mime1 emulating 3a:\
-	:bs:\
-	:co#80:li#24:\
-	:bl=^G:cl=1\032:cm=\E=%+ %+ :cr=^M:do=^J:ho=^^:kd=^K:kl=^H:\
-	:kr=^X:ku=^Z:le=^H:ma=^K^P:nd=^L:nl=^J:r1=^N:rs=^N:sf=^J:\
-	:up=^K:
+	:am@:\
+	:kd=^K:kl=^H:kr=^X:ku=^Z:tc=adm3a:
 mime3ax|mime-3ax|mime1 emulating enhanced 3a:\
-	:bs:\
-	:co#80:it#8:li#24:\
-	:al=\001:bl=^G:cd=^_:ce=^X:cl=1\032:cm=\E=%+ %+ :cr=^M:\
-	:dl=\027:do=^J:ho=^^:kd=^K:kl=^H:kr=^X:ku=^Z:le=^H:ma=^K^P:\
-	:nd=^L:nl=^J:r1=^N:rs=^N:sf=^J:ta=\011:up=^K:
+	:it#8:\
+	:al=\001:cd=^_:ce=^X:dl=\027:ta=\011:tc=mime3a:
 # Wed Mar  9 18:53:21 1983
 # We run our terminals at 2400 baud, so there might be some timing problems at
 # higher speeds. The major improvements in this model are the terminal now 
@@ -20847,7 +11756,7 @@
 ergo4000|microterm ergo 4000:\
 	:da:db:ms:\
 	:co#80:li#66:\
-	:AL=\E[1L:RA=\E[?7l:SA=\E[?7m:bl=^G:cd=\E[0J:ce=\E[0K:\
+	:RA=\E[?7l:SA=\E[?7m:al=\E[1L:bl=^G:cd=\E[0J:ce=\E[0K:\
 	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:dc=\E[1P:dl=\E[1M:\
 	:do=\E[B:ei=\E[4l:im=\E[4h:\
 	:is=\E<\E=\E[?1l\E[?4l\E[?5l\E[?7h\E[?8h:k1=\EOP:\
@@ -20871,131 +11780,23 @@
 # The Intecolor emulation of the NCR 2900/260C color terminal is basically a
 # DEC vt200/300 with color capabilities added.
 ncr260intan|NCR Intecolor emulation of the 2900_260C with an ANSI keyboard:\
-	:am:hs:mi:ms:xn:xo:\
-	:Co#8:Nl#32:co#80:li#24:pa#64:\
-	:%0=\E[29~:%1=\E[28~:*6=\E[4~:@0=\E[1~:@8=\EOM:AB=\E[4%dm:\
-	:AF=\E[3%dm:AL=\E[%dL:DC=\E[%d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:\
-	:op=\E[0m:pf=\E[4i:po=\E[5i:ps=\E[i:rc=\E8:\
-	:rs=\E[!p\E[?7;19;67h\E[?1;3;4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H\E>:\
-	:..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<20>:\
-	:sc=\E7:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
-	:ts=\E[2$~\E[1$}:ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[?25h:\
-	:vi=\E[?25l:
+	:Co#8:pa#64:\
+	:AB=\E[4%dm:AF=\E[3%dm:op=\E[0m:tc=ncr260vt300an:
 # The Intecolor emulation of the NCR 2900/260C color terminal is basically a
 # DEC vt200/300 with color capabilities added.
 ncr260intwan|NCR Intecolor emulation of the 2900_260C with an ANSI keyboard:\
-	:am:hs:mi:ms:xn:xo:\
-	:Co#8:Nl#32:co#132:li#24:pa#64:\
-	:%0=\E[29~:%1=\E[28~:*6=\E[4~:@0=\E[1~:@8=\EOM:AB=\E[4%dm:\
-	:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
-	:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\
-	:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:\
-	:FB=\E[31~:FC=\E[32~:FD=\E[33~:FE=\E[34~:FF=\E[35~:\
-	:FG=\E[1~:FH=\E[2~:FI=\E[3~:FJ=\E[4~:FK=\E[5~:FL=\E[6~:\
-	:FM=\E[7~:FN=\E[8~:FO=\E[9~:FP=\E[10~:IC=\E[%d@:K1=\EOw:\
-	:K2=\EOy:K3=\EOu:K4=\EOq:K5=\EOs:LE=\E[%dD:RA=\E[?7l:\
-	:RI=\E[%dC:SA=\E[?7h:SF=\E[%dE:UP=\E[%dA:\
-	:ac=``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minal is basically a
 # DEC vt200/300 with color capabilities added.
 ncr260intpp|NCR Intecolor emulation of the 2900_260C with a PC+ keyboard:\
-	:am:hs:mi:ms:xn:xo:\
-	:Co#8:Nl#32:co#80:li#24:pa#64:\
-	:%0=\E[29~:%1=\E[28~:*6=\E[4~:@0=\E[1~:@7=\E[1~:@8=\EOM:\
-	:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
-	:DO=\E[%dB:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
-	:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
-	:FA=\E[34~:FB=\E[31~:FC=\E[32~:FD=\E[33~:FE=\E[34~:\
-	:FF=\E[35~:FG=\E[1~:FH=\E[2~:FI=\E[3~:FJ=\E[4~:FK=\E[5~:\
-	:FL=\E[6~:FM=\E[7~:FN=\E[8~:FO=\E[9~:FP=\E[10~:IC=\E[%d@:\
-	:K1=\E[H:K2=\E[V:K3=\EOu:K4=\EOq:K5=\E[U:LE=\E[%dD:\
-	:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:SF=\E[%dE:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~:ae=\017:\
-	:al=\E[L:as=\016:bl=^G:cb=\E[1K:cd=\E[0J:ce=\E[0K:\
-	:ch=\E[%dG:cl=\E[2J\E[1;1H:cm=\E[%i%d;%dH:cr=\r:\
-	:cs=\E[%i%d;%dr:ct=\E[3g:cv=\E[%dd:dc=\E[1P:dl=\E[M:\
-	:do=\E[B:ds=\E[0$~\E[1$~:ec=\E[%dX:ei=\E[4l:fs=\E[0$}:\
-	:ho=\E[H:im=\E[4h:\
-	:is=\E[!p\E[?7;19;67h\E[?1;3;4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H\E>:\
-	:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[M:k6=\E[17~:\
-	:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\E[4~:\
-	:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:ke=\E>:kh=\E[H:\
-	:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:l1=pf1:l2=pf2:l3=pf3:l4=pf4:\
-	:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[0m\017:mk=\E[8m:mr=\E[7m:\
-	:nd=\E[C:nw=\EE:op=\E[0m:pf=\E[4i:po=\E[5i:ps=\E[i:rc=\E8:\
-	:rs=\E[!p\E[?7;19;67h\E[?1;3;4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H\E>:\
-	:..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<20>:\
-	:sc=\E7:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
-	:ts=\E[2$~\E[1$}:ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[?25h:\
-	:vi=\E[?25l:
+	:Co#8:pa#64:\
+	:AB=\E[4%dm:AF=\E[3%dm:op=\E[0m:tc=ncr260vt300pp:
 # The Intecolor emulation of the NCR 2900/260C color terminal is basicly a
 # DEC vt200/300 with color capabilities added.
 ncr260intwpp|NCR Intecolor emulation of the 2900_260C with a PC+ keyboard in 132 column mode:\
-	:am:hs:mi:ms:xn:xo:\
-	:Co#8:Nl#32:co#132:li#24:pa#64:\
-	:%0=\E[29~:%1=\E[28~:*6=\E[4~:@0=\E[1~:@7=\E[1~:@8=\EOM:\
-	:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
-	:DO=\E[%dB:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
-	:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
-	:FA=\E[34~:FB=\E[31~:FC=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-	:..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<20>:\
-	:sc=\E7:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
-	:ts=\E[2$~\E[1$}:ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[?25h:\
-	:vi=\E[?25l:
+	:Co#8:pa#64:\
+	:AB=\E[4%dm:AF=\E[3%dm:op=\E[0m:tc=ncr260vt300wpp:
 # This definition for ViewPoint supports several attributes.  This means
 # that it has magic cookies (extra spaces where the attributes begin).
 # Some applications do not function well with magic cookies.  The System
@@ -21004,61 +11805,42 @@
 # attributes can be removed. 
 # Mapping to ASCII character set ('acsc' capability) can also be 
 # restored if needed.
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
+# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 ncr260vppp|NCR 2900_260 viewpoint:\
-	:5i:am:bw:hs:km:mi:ms:xo:\
-	:Nl#32:co#80:li#24:sg#1:ug#1:\
-	:#2=^A:%9=\EP:%f=\E7:%i=^F:*4=\El:*7=\Ek:@7=\EK:\
-	:..CM=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<5>:\
-	:F1=^B;\r:F2=^B<\r:F3=^B=\r:F4=^B>\r:F5=^B?\r:F6=^B@\r:\
-	:F7=^B!\r:F8=^B"\r:F9=^B#\r:FA=^B$\r:FB=\002%^M:FC=^B&\r:\
-	:FD=^B'\r:FE=^B(\r:FF=^B)\r:FG=^B*\r:FH=^B+\r:FI=^B,\r:\
-	:FJ=^B-\r:FK=^B.\r:FL=^B/\r:FM=^B0\r:K1=^A:K3=\EJ:K4=\ET:\
-	:K5=\EJ:RX=\Ec20:SX=\Ec21:\
-	:ac=a?h;07j5k3l2m1n8q\:t4u9v=w0x6:ae=\EcB0\EH\003:\
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@1A\EcB0\EcC1\Ee7:\
-	:se=\EG0:sf=\n:so=\EG4:sr=\Ej:st=\E1:ta=^I:ts=\EF:ue=\EG0:\
-	:up=\032:us=\EG8:ve=\E`5:vi=\E`0:vs=\E`5:
+	:tc=ncr260vppp:
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
 ncr260vt100an|NCR 2900_260 vt100 with ansi kybd:\
 	:am:hs:mi:ms:xn:xo:\
 	:Nl#32:co#80:li#24:\
 	:%0=\E[29~:%1=\E[28~:*6=\E[4~:@0=\E[1~:@8=\EOM:AL=\E[%dL:\
 	:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:K1=\EOw:K2=\EOy:\
 	:K3=\EOu:K4=\EOq:K5=\EOs:LE=\E[%dD:RI=\E[%dC:SF=\E[%dE:\
-	:UP=\E[%dA:ac=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:cb=\E[1K:cd=\E[0J:ce=\E[0K:\
-	:ch=\E[%dG:cl=\E[2J\E[1;1H:cm=\E[%i%d;%dH:cr=\r:\
+	:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:cb=\E[1K:cd=\E[0J:\
+	:ce=\E[0K:ch=\E[%dG:cl=\E[2J\E[1;1H:cm=\E[%i%d;%dH:cr=\r:\
 	:cs=\E[%i%d;%dr:ct=\E[3g:cv=\E[%dd:dc=\E[1P:dl=\E[M:\
 	:do=\E[B:ds=\E[0$~\E[1$~:ec=\E[%dX:ei=\E[4l:fs=\E[0$}:\
 	:ho=\E[H:im=\E[4h:\
@@ -21068,320 +11850,111 @@
 	:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=\E[D:mb=\E[5m:md=\E[1m:\
 	:me=\E[0m\017:mk=\E[8m:mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:\
 	:rs=\E[!p\E[?7;19;67h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ku=\EOA:le=\E[D:mb=\E[5m:md=\E[1m:\
-	:me=\E[0m\017:mk=\E[8m:mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:\
 	:rs=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
-	:..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<20>:\
-	:sc=\E7:se=\E[0m:sf=\ED:so=\E[1;7m:sr=\EM:st=\EH:ta=^I:\
-	:ts=\E[2$~\E[1$}:ue=\E[0m:up=\E[A:us=\E[4m:ve=\E[?25h:\
-	:vi=\E[?25l:
+	:tc=ncr260vt100an:
 ncr260vt100pp|NCR 2900_260 vt100 with PC+ kybd:\
+	:@7=\E[5~:K1=\E[H:K2=\E[V:K3=\EOu:K5=\E[U:\
+	:is=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
+	:kD=\E[4~:kI=\E[1~:kN=\E[6~:kP=\E[3~:kd=\E[B:ke=\E>:\
+	:kh=\E[2~:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:l1=pf1:l2=pf2:\
+	:l3=pf3:l4=pf4:\
+	:rs=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
+	:tc=ncr260vt100an:
+ncr260vt100wpp|NCR 2900_260 vt100 wide mode pc+  kybd:\
+	:co#132:\
+	:cm=\E[%i%d;%dH:\
+	:is=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
+	:rs=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
+	:tc=ncr260vt100pp:
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
+# (terminfo-only capabilities suppressed to fit entry within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-	:cs=\E[%i%d;%dr:ct=\E[3g:cv=\E[%dd:dc=\E[1P:dl=\E[M:\
-	:do=\E[B:ds=\E[0$~\E[1$~:ec=\E[%dX:ei=\E[4l:fs=\E[0$}:\
-	:ho=\E[H:im=\E[4h:\
+	:co#132:\
+	:cm=\E[%i%d;%dH:\
 	:is=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
-	:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[M:k6=\E[17~:\
-	:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\E[4~:\
-	:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:ke=\E>:kh=\E[H:\
-	:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:l1=pf1:l2=pf2:l3=pf3:l4=pf4:\
-	:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[0m\017:mk=\E[8m:mr=\E[7m:\
-	:nd=\E[C:nw=\EE:pf=\E[4i:po=\E[5i:ps=\E[i:rc=\E8:\
 	:rs=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
-	:..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<20>:\
-	:sc=\E7:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
-	:ts=\E[2$~\E[1$}:ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[?25h:\
-	:vi=\E[?25l:
+	:tc=ncr260vt200pp:
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
+# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 ncr260vt300an|NCR 2900_260 vt300 with ansi kybd:\
 	:am:hs:mi:ms:xn:xo:\
-	:Nl#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[1;0%w\E(B\E)0\017\E[2J\E[1;1H\E>:\
-	:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[M:k6=\E[17~:\
-	:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\E[4~:\
-	:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:ke=\E>:kh=\E[H:\
-	:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:l1=pf1:l2=pf2:l3=pf3:l4=pf4:\
-	:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[0m\017:mk=\E[8m:mr=\E[7m:\
-	:nd=\E[C:nw=\EE:pf=\E[4i:po=\E[5i:ps=\E[i:rc=\E8:\
 	:rs=\E[!p\E[?3;7;19;67h\E[?1;4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H\E>:\
-	:..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<20>:\
-	:sc=\E7:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
-	:ts=\E[2$~\E[1$}:ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[?25h:\
-	:vi=\E[?25l:
+	:tc=ncr260vt300pp:
 # This terminfo file contains color capabilities for the Wyse325 emulation of 
 # the NCR 2900/260C color terminal.  Because of the structure of the command
 # (escape sequence) used to set color attributes, one of the fore/background
@@ -21396,56 +11969,31 @@
 # 	    if the 'pairs' capability is defined. Un-Comment the 'pairs'
 #	    capability and recompile if you wish to have it included. 
 #
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
+# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 ncr260wy325pp|NCR 2900_260 wyse 325:\
-	:5i:am:bw:hs:km:mi:ms:xo:\
-	:Co#16:NC#33:Nl#32:co#80:li#24:\
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:mr=\EG4:nd=\014:nw=\037:\
-	:pf=^T:po=^R:ps=\EP:\
 	:rs=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7:\
-	:se=\EG0:sf=\n:so=\EGt:sr=\Ej:st=\E1:ta=^I:ts=\EF:ue=\EG0:\
-	:up=\013:us=\EG8:ve=\E`1:vi=\E`0:vs=\E`5:
+	:tc=ncr260wy325pp:
 # This definition for Wyse 350 supports several attributes.  This means
 # that it has magic cookies (extra spaces where the attributes begin).
 # Some applications do not function well with magic cookies.  The System
@@ -21462,54 +12010,31 @@
 # 	    with the 'pairs' capability defined as below.  If you wish to
 #	    have it included, Un-comment it and recompile (using 'tic'). 
 #
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
+# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 ncr260wy350pp|NCR 2900_260 wyse 350:\
-	:5i:am:bw:hs:km:mi:ms:xo:\
-	:Co#16:NC#33:Nl#32:co#80:li#24:sg#1:ug#1:\
-	:#2=\E{:%9=\EP:%f=\E7:%i=^L:*4=\ER:*7=\EY:@7=\ET:\
-	:..CM=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<20>:\
-	:F1=^AJ\r:F2=^AK\r:F3=^AL\r:F4=^AM\r:F5=^AN\r:F6=^AO\r:\
-	:F7=^A`\r:F8=^Aa\r:F9=^Ab\r:FA=^Ac\r:FB=^Ad\r:FC=^Ae\r:\
-	:FD=^Af\r:FE=^Ag\r:FF=^Ah\r:FG=^Ai\r:FH=^Aj\r:FI=^Ak\r:\
-	:FJ=^Al\r:FK=^Am\r:FL=^An\r:FM=^Ao\r:K1=^^:K4=\ET:K5=\EK:\
-	:RA=\Ed.:RX=\Ec20:SA=\Ed/:SX=\Ec21:Sb=\s:\
-	:..Sf=%?%p1%{0}%=%t%'1'%e%p1%{1}%=%t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o'%e%p1%{15}%=%t%'8'%;\Em0%c$<100>:\
-	:ac=a?h;07j5k3l2m1n8q\:t4u9v=w0x6:ae=\EH\003\EcB0:\
-	:al=\EE:as=\EH\002\EcB1:bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=\E+:\
-	:cm=\Ea%i%dR%dC:cr=^M:ct=\E0:dc=\EW:dl=\ER:do=\n:ds=\E`c:\
-	:ei=\Er:fs=^M:ho=\036:im=\Eq:\
+	:co#132:\
+	:cm=\Ea%i%dR%dC:\
 	:is=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7:\
-	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
-	:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:kB=\EI:kD=\EW:kI=\Eq:\
-	:kN=\EK:kP=\EJ:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=\010:\
-	:mb=\EG2:me=\EG0\EH\003\EcD:mh=\EGp:mk=\EG1:mr=\EG4:\
-	:nd=\014:nw=\037:pf=^T:po=^R:ps=\EP:\
 	:rs=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7:\
-	:se=\EG0:sf=\n:so=\EGt:sr=\Ej:st=\E1:ta=^I:ts=\EF:ue=\EG0:\
-	:up=\013:us=\EG8:ve=\E`1:vi=\E`0:vs=\E`5:
+	:tc=ncr260wy350pp:
 # This definition for Wyse 50+ supports several attributes.  This means
 # that it has magic cookies (extra spaces where the attributes begin).
 # Some applications do not function well with magic cookies.  The System
@@ -21520,572 +12045,90 @@
 # restored if needed.
 # (ncr260wy50+pp: originally contained commented-out 
 # <acsc=j5k3l2m1n8q:t4u9v=w0x6>, as well as the commented-out one there -- esr)
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (ac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r:K1=^^:K4=\ET:K5=\EK:\
-	:RA=\Ed.:RX=\Ec20:SA=\Ed/:SX=\Ec21:\
-	:ac=0wa_h[jukslrmqnxqzttuyv]wpxv:ae=\EH^C:al=\EE:\
-	:as=\EH^B:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:cm=\Ea%i%dR%dC:\
-	:cr=^M:ct=\E0:dc=\EW:dl=\ER:do=\n:ds=\E`c:ei=\Er:fs=^M:\
-	:ho=\036:im=\Eq:\
+	:co#132:\
+	:cm=\Ea%i%dR%dC:\
 	:is=\Ee6\E~"\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7:\
-	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
-	:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:kB=\EI:kD=\EW:kI=\Eq:\
-	:kN=\EK:kP=\EJ:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=\010:\
-	:mb=\EG2:me=\EG0\EH\003:mh=\EGp:mk=\EG1:mr=\EG4:nd=\014:\
-	:nw=\037:pf=^T:po=^R:ps=\EP:\
 	:rs=\Ee6\E~"\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7:\
-	:se=\EG0:sf=\n:so=\EGt:sr=\Ej:st=\E1:ta=\011:ts=\EF:ue=\EG0:\
-	:up=\013:us=\EG8:ve=\E`1:vi=\E`0:vs=\E`5:
+	:tc=ncr260wy50+pp:
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
+# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 ncr260wy60pp|NCR 2900_260 wyse 60:\
-	:5i:am:bw:hs:km:mi:ms:xo:\
-	:Nl#32:co#80:li#24:\
-	:#2=\E{:%9=\EP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up=\013:us=\EG8:ve=\E`1:vi=\E`0:vs=\E`5:
+	:tc=ncr260wy60wpp:
 ncrvt100an|ncrvt100pp|NCR vt100 for the 2900 terminal:\
 	:5i:am:hs:mi:ms:xo:\
 	:Nl#32:co#80:it#8:li#24:\
@@ -22105,23 +12148,10 @@
 	:sc=\E7:se=\E[0m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
 	:ts=\E[>+1:ue=\E[0m:up=\E[A:us=\E[4m:
 ncrvt100wan|NCRVT100WPP|ncrvt100wpp|NCR VT100 emulation of the 2900 terminal:\
-	:5i:am:hs:mi:ms:xo:\
-	:Nl#32:co#132:it#8:li#24:\
-	:#4=\E[D:%i=\E[C:@8=^M:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
-	:DO=\E[%dB:K1=\E[H:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
-	:ac=``aaffgghhiijjkkllmmnnqqttuuvvwwxxyyzz~~:ae=\017:\
-	:al=\E[B\E[L:as=\016:bl=^G:cb=\E[1K:cd=\E[0J:ce=\E[0K:\
-	:cl=\E[2J\E[1;1H:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
-	:ct=\E[3g:dc=\E[1P:dl=\E[M:do=\E[B:ds=\E[31l:eA=\E(B\E)0:\
-	:ei=\E[4l:fs=1:ho=\E[H:im=\E[4h:\
-	:is=\E[12h\E[?10l\E%/0n\E[P\031\E[?3h\E(B\E)0:k1=\EOP:\
-	:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:\
-	:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:me=\017\E[0m:mr=\E[7m:\
-	:nd=\E[C:nw=\EE:ps=\E[i:rc=\E8:\
+	:co#132:\
+	:is=\E[12h\E[?10l\E%/0n\E[P\031\E[?3h\E(B\E)0:\
 	:rs=\Ec\E[12;31h\E[?4;5;10l\E?3;6;7;19;25h\E[33;34l\E[0m\E(B\E)0\E%/0n\E[P\031:\
-	:..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<100>:\
-	:sc=\E7:se=\E[0m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
-	:ts=\E[>+1:ue=\E[0m:up=\E[A:us=\E[4m:
+	:tc=ncrvt100an:
 #
 # Vendor-supplied NCR termcaps end here
 
@@ -22254,72 +12284,8 @@
 	:kl=\E!V:kr=\E!W:ku=\E!T:le=\ED:ll=\ES7\s:nd=\EC:sf=^J:\
 	:sr=\ER:up=\EA:
 pe7000c|perkin elmer 7000 series colour monitor:\
-	:am:\
-	:co#80:li#24:\
-	:bl=^G:bt=\E!Y:cd=\EJ:ce=\EI:cl=\EK:cm=\ES%+ %+ :cr=^M:\
-	:do=\EB:ho=\EH:i1=\E!\0\EW  7o\Egf\Eb0\Ec7\ES7\s:\
-	:k0=\E!\0:k1=\E!^A:k2=\E!^B:k3=\E!^C:k4=\E!^D:k5=\E!^E:\
-	:k6=\E!^F:k7=\E!^G:k8=\E!^H:k9=\E!^I:k;=\E!^J:kb=^H:\
-	:kd=\E!U:kh=\E!S:kl=\E!V:kr=\E!W:ku=\E!T:le=\ED:ll=\ES7\s:\
-	:nd=\EC:se=\Eb0:sf=^J:so=\Eb2:sr=\ER:ue=\E!\0:up=\EA:\
-	:us=\E!\s:
-
-#### Prime
-#
-# Yes, Prime made terminals.  These entries were posted by Kevin J. Cummings
-# <cummings@primerd.prime.com> on 14 Dec 1992 and lightly edited by esr.
-# Prime merged with ComputerVision in the late 1980s; you can reach them at:
-#
-#	ComputerVision Services
-#	500 Old Connecticut Path
-#	Framingham, Mass.
-#
-
-# Standout mode is dim reverse-video.
-pt100|pt200|wren|fenix|prime pt100/pt200:\
-	:am:bw:mi:ms:\
-	:co#80:it#8:li#24:\
-	:DC=\E[%dP:DL=\E[M:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC: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^J:ho=^^:kd=^J:kl=^H:\
-	:kr=^L:ku=^K:le=^H:ma=^K^P:nd=^L:nl=^J:r1=^N:rs=^N:sf=^J:\
-	:up=^K:
+	:tc=adm3a:
 
 # A funny series of terminal that TANDEM uses.  The actual model numbers
 # have a fourth digit after 653 that designates minor variants.  These are
@@ -22386,13 +12348,12 @@
 	:dc=\ES:dl=\ER:do=\EB:ei=:ho=\EH:ic=\EQ:im=:k0=\E1:k1=\E2:\
 	:k2=\E3:k3=\E4:k4=\E5:k5=\E6:k6=\E7:k7=\E8:k8=\E9:k9=\E0:\
 	:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:l0=f1:l1=f2:l2=f3:l3=f4:\
-	:l4=f5:l5=f6:l6=f7:l7=f8:l8=f9:l9=f10:le=^H:ll=\EE:me=\EG0:\
-	:mr=\EG4:nd=\EC:se=\EG0:sf=\EX:so=\EG4:ta=^I:up=\EA:ve=\EG6:\
-	:vi=\EG5:
+	:l4=f5:l5=f6:l6=f7:l7=f8:l8=f9:l9=f10:le=^H:ll=\EE:mk@:nd=\EC:\
+	:sf=\EX:ta=^I:ue@:up=\EA:us@:ve=\EG6:vi=\EG5:tc=adm+sgr:
 dt100|dt-100|Tandy DT-100 terminal:\
 	:xo:\
 	:co#80:li#24:sg#1:ug#1:\
-	:ac=kkllmmjjnnwwvvttuuqqxx:ae=^O:al=\E[L:as=^N:bl=^G:\
+	:ac=jjkkllmmnnqqttuuvvwwxx:ae=^O:al=\E[L:as=^N:bl=^G:\
 	:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\010\E[%i%d;%dH:cr=^M:\
 	:cs=\E[%2;%2r:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:\
 	:im=:is=\E[?3l\E)0\E(B:k1=\E[?3i:k2=\E[2i:k3=\E[@:k4=\E[M:\
@@ -22402,21 +12363,11 @@
 	:l8=f8:le=^H:me=\E[m:nd=\E[C:se=\E[m:sf=^J:so=\E[7m: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ff=\014:is=\E^O:le=^H:
 # (tek4013: added <acsc> to suppress tic warnings re :as:/:ae: --esr)
 tek4013|tektronix 4013:\
-	:bs:os:\
-	:co#75:li#35:\
-	:ac=:ae=\E^O:as=\E^N:bl=^G:cl=\E\014:cr=^M:do=^J:ff=\014:\
-	:is=\E^O:le=^H:
+	:ac=:ae=\E^O:as=\E^N:tc=tek4012:
 tek4014|tektronix 4014:\
-	:bs:os:\
 	:co#81:li#38:\
-	:bl=^G:cl=\E\014:cr=^M:do=^J:ff=\014:is=\E\017\E9:le=^H:
+	:is=\E\017\E9:tc=tek4012:
 # (tek4015: added <acsc> to suppress tic warnings re :as:/:ae: --esr)
 tek4015|tektronix 4015:\
-	:bs:os:\
-	:co#81:li#38:\
-	:ac=:ae=\E^O:as=\E^N:bl=^G:cl=\E\014:cr=^M:do=^J:ff=\014:\
-	:is=\E\017\E9:le=^H:
+	:ac=:ae=\E^O:as=\E^N:tc=tek4014:
 tek4014-sm|tektronix 4014 in small font:\
-	:bs:os:\
 	:co#121:li#58:\
-	:bl=^G:cl=\E\014:cr=^M:do=^J:ff=\014:is=\E\017\E\::le=^H:
+	:is=\E\017\E\::tc=tek4014:
 # (tek4015-sm: added <acsc> to suppress tic warnings re :as:/:ae: --esr)
 tek4015-sm|tektronix 4015 in small font:\
-	:bs:os:\
-	:co#121:li#58:\
-	:ac=:ae=\E^O:as=\E^N:bl=^G:cl=\E\014:cr=^M:do=^J:ff=\014:\
-	:is=\E\017\E\::le=^H:
+	:ac=:ae=\E^O:as=\E^N:tc=tek4014-sm:
 # Tektronix 4023 from Andrew Klossner <orca!andrew.tektronix@csnet-relay>
 #
 # You need to have "stty nl2" in effect.  Some versions of tset(1) know
@@ -22511,44 +12451,14 @@
 	:ks=\037lea p4 /h/\r\037lea p8 /k/\r\037lea p6 / /\r\037lea p2 /j/\r\037lea f5 /H/\r:\
 	:le=^H:nd=\037rig\r:sf=^F^J:ta=^I:up=^K:
 tek4025-17|tek 4025 17 line window:\
-	:am:bs:da:db:\
-	:co#80:it#8:li#17:lm#0:\
-	:AL=\037up\r\037ili %d\r:CC=^_:DL=\037dli %d\r\006:\
-	:DO=\037dow %d\r:LE=\037lef %d\r:RI=\037rig %d\r:\
-	:UP=\037up %d\r:al=\037up\r\037ili\r:bl=^G:\
-	:cd=\037dli 50\r:cl=\037era\r\n\n:cr=^M:dc=\037dch\r:\
-	:dl=\037dli\r\006:do=^F^J:ei=:ic=\037ich\r \010:im=:\
-	:is=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r:\
-	:ke=\037lea p2\r\037lea p4\r\037lea p6\r\037lea p8\r\037lea f5\r:\
-	:ks=\037lea p4 /h/\r\037lea p8 /k/\r\037lea p6 / /\r\037lea p2 /j/\r\037lea f5 /H/\r:\
-	:le=^H:nd=\037rig\r:sf=^F^J:ta=^I:up=^K:
+	:li#17:tc=tek4025:
 tek4025-17-ws|tek 4025 17 line window in workspace:\
-	:am:bs:da:db:\
-	:co#80:it#8:li#17:lm#0:\
-	:AL=\037up\r\037ili %d\r:CC=^_:DL=\037dli %d\r\006:\
-	:DO=\037dow %d\r:LE=\037lef %d\r:RI=\037rig %d\r:\
-	:UP=\037up %d\r:al=\037up\r\037ili\r:bl=^G:\
-	:cd=\037dli 50\r:cl=\037era\r\n\n:cr=^M:dc=\037dch\r:\
-	:dl=\037dli\r\006:do=^F^J:ei=:ic=\037ich\r \010:im=:\
 	:is=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r\037wor 17\r\037mon 17\r:\
-	:ke=\037lea p2\r\037lea p4\r\037lea p6\r\037lea p8\r\037lea f5\r:\
-	:ks=\037lea p4 /h/\r\037lea p8 /k/\r\037lea p6 / /\r\037lea p2 /j/\r\037lea f5 /H/\r:\
-	:le=^H:nd=\037rig\r:se=\037att s\r:sf=^F^J:\
-	:so=\037att e\r:ta=^I:te=\037mon h\r:ti=\037wor h\r:\
-	:up=^K:
+	:se=\037att s\r:so=\037att e\r:te=\037mon h\r:\
+	:ti=\037wor h\r:tc=tek4025-17:
 tek4025-ex|tek4027-ex|tek 4025/4027 w/!:\
-	:am:bs:da:db:\
-	:co#80:it#8:li#34:lm#0:\
-	:AL=\037up\r\037ili %d\r:CC=^_:DL=\037dli %d\r\006:\
-	:DO=\037dow %d\r:LE=\037lef %d\r:RI=\037rig %d\r:\
-	:UP=\037up %d\r:al=\037up\r\037ili\r:bl=^G:\
-	:cd=\037dli 50\r:cl=\037era\r\n\n:cr=^M:dc=\037dch\r:\
-	:dl=\037dli\r\006:do=^F^J:ei=:ic=\037ich\r \010:im=:\
 	:is=\037com 33\r\n!sto 9 17 25 33 41 49 57 65 73\r:\
-	:ke=\037lea p2\r\037lea p4\r\037lea p6\r\037lea p8\r\037lea f5\r:\
-	:ks=\037lea p4 /h/\r\037lea p8 /k/\r\037lea p6 / /\r\037lea p2 /j/\r\037lea f5 /H/\r:\
-	:le=^H:nd=\037rig\r:sf=^F^J:ta=^I:te=\037com 33\r:\
-	:ti=!com 31\r:up=^K:
+	:te=\037com 33\r:ti=!com 31\r:tc=tek4025:
 # Tektronix 4025a
 # From: Doug Gwyn <gwyn@brl-smoke.ARPA>
 # The following status modes are assumed for normal operation (replace the
@@ -22597,18 +12507,8 @@
 #	:ti=\037lea p1/b/\037lea p2/j/\037lea p3/n/\037lea p4/h/\037lea p5/ /\037lea p6/l/\037lea p7/y/\037lea p8/k/\037lea p9/u/\037lea p./f/\037lea pt/`era w/13\037lea p0/s/\037wor 33h:\
 #	:te=\037lea p1\037lea p2\037lea p3\037lea p4\037lea pt\037lea p5\037lea p6\037lea p7\037lea p8\037lea p9/la/13\037lea p.\037lea p0\037wor 0:
 tek4025ex|4025ex|4027ex|tek 4025 w/!:\
-	:am:bs:da:db:\
-	:co#80:it#8:li#34:lm#0:\
-	:AL=\037up\r\037ili %d\r:CC=^_:DL=\037dli %d\r\006:\
-	:DO=\037dow %d\r:LE=\037lef %d\r:RI=\037rig %d\r:\
-	:UP=\037up %d\r:al=\037up\r\037ili\r:bl=^G:\
-	:cd=\037dli 50\r:cl=\037era\r\n\n:cr=^M:dc=\037dch\r:\
-	:dl=\037dli\r\006:do=^F^J:ei=:ic=\037ich\r \010:im=:\
 	:is=\037com 33\r\n!sto 9,17,25,33,41,49,57,65,73\r:\
-	:ke=\037lea p2\r\037lea p4\r\037lea p6\r\037lea p8\r\037lea f5\r:\
-	:ks=\037lea p4 /h/\r\037lea p8 /k/\r\037lea p6 / /\r\037lea p2 /j/\r\037lea f5 /H/\r:\
-	:le=^H:nd=\037rig\r:sf=^F^J:ta=^I:te=\037com 33\r:\
-	:ti=!com 31\r:up=^K:
+	:te=\037com 33\r:ti=!com 31\r:tc=tek4025:
 tek4105|tektronix 4105:\
 	:am:bs:mi:ms:ul:xn:xt:\
 	:co#79:it#8:li#29:\
@@ -22636,7 +12536,7 @@
 	:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
 	:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:\
 	:nd=\E[C:rc=\E8:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
-	:..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
+	:..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<2>:\
 	:sc=\E7:se=\E[m:sf=^J:so=\E[1;7m:sr=\EM:st=\EH:ta=^I:\
 	:ue=\E[m:up=\E[A:us=\E[4m:
 
@@ -22728,26 +12628,18 @@
 	:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:mb=\E%!1\E[5m\E%!0:\
 	:md=\E%!1\E[1m\E%!0:me=\E%!1\E[m\E%!0:\
 	:mh=\E%!1\E[<0m\E%!0:mr=\E%!1\E[7m\E%0:nd=\EC:\
-	:..sa=\E%%!1\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m\E%%!0:\
+	:..sa=\E%%!1\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m$<2>\E%%!0:\
 	:se=\E%!1\E[m\E%!0:sf=^J:so=\E%!1\E[7;5m\E%!0:sr=\EI:\
 	:ta=^I:ue=\E%!1\E[m\E%!0:up=\EA:us=\E%!1\E[4m\E%!0:\
 	:ve=\E%!0:vs=\E%!3:
 # Tektronix 4207 with sysline.  In the ancestral termcap file this was 4107-s;
 # see the note attached to tek4207.
 tek4207-s|Tektronix 4207 with sysline but no memory:\
-	:am:bs:es:hs:mi:ms:ul:xn:xt:\
-	:co#79:it#8:li#29:\
-	:bl=^G:cd=\EJ:ce=\EK:cl=\ELZ:cm=\EY%+ %+ :cr=^M:do=^J:\
+	:es:hs:\
 	:ds=\E7\E[?6l\E[2K\E[?6h\E8:fs=\E[?6h\E8:\
 	:i1=\E%!1\E[2;32r\E[132D\E[2g\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[J:\
-	:is=\E7\E[?6l\E[2K\E[?6h\E8:kb=^H:kd=\EB:kl=\ED:kr=\EC:\
-	:ku=\EA:le=^H:mb=\E%!1\E[5m\E%!0:md=\E%!1\E[1m\E%!0:\
-	:me=\E%!1\E[m\E%!0:mh=\E%!1\E[<0m\E%!0:\
-	:mr=\E%!1\E[7m\E%0:nd=\EC:\
-	:..sa=\E%%!1\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m\E%%!0:\
-	:se=\E%!1\E[m\E%!0:sf=^J:so=\E%!1\E[7;5m\E%!0:sr=\EI:\
-	:ta=^I:ts=\E7\E[?6l\E[2K\E[;%i%df:ue=\E%!1\E[m\E%!0:\
-	:up=\EA:us=\E%!1\E[4m\E%!0:ve=\E%!0:vs=\E%!3:
+	:is=\E7\E[?6l\E[2K\E[?6h\E8:\
+	:ts=\E7\E[?6l\E[2K\E[;%i%df:tc=tek4107:
 
 # The 4110 series may be a wonderful graphics series, but they make the 4025
 # look good for screen editing.  In the dialog area, you can't move the cursor
@@ -22777,19 +12669,10 @@
 	:le=^H:me=\E[m:nd=\E[C:se=\E[m:sf=\E7\E[0;0H\E[M\E8:\
 	:so=\E[7m:sr=\E7\E[0;0H\E[L\E8:ue=\E[m:up=\EM:us=\E[4m:
 tek4112-nd|4112 not in dialog area:\
-	:am:bs:db:ns:\
-	:co#80:li#34:\
-	:al=\E[L:bt=\E[Z:cd=\E[0J:ce=\E[0K:cl=\E[2J\E[0;0H:\
-	:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:ei=:ic=\E[@:im=:is=\E3!1:\
-	:le=^H:me=\E[m:nd=\E[C:se=\E[m:sf=\E7\E[0;0H\E[M\E8:\
-	:so=\E[7m:sr=\E7\E[0;0H\E[L\E8:ue=\E[m:up=^K:us=\E[4m:
+	:ns:\
+	:up=^K:tc=tek4112:
 tek4112-5|4112 in 5 line dialog area:\
-	:am:bs:db:\
-	:co#80:li#5:\
-	:al=\E[L:bt=\E[Z:cd=\E[0J:ce=\E[0K:cl=\E[2J\E[0;0H:\
-	:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:ei=:ic=\E[@:im=:is=\E3!1:\
-	:le=^H:me=\E[m:nd=\E[C:se=\E[m:sf=\E7\E[0;0H\E[M\E8:\
-	:so=\E[7m:sr=\E7\E[0;0H\E[L\E8:ue=\E[m:up=\EM:us=\E[4m:
+	:li#5:tc=tek4112:
 # (tek4113: this used to have ":nd=\LM1\s\LM0:", someone's mistake;
 # removed ":as=\E^N:, :ae=\E^O:", which had been commented out in 8.3.
 # Note, the !0 and !1 sequences in :te:/:ti:/:ve:/:vi: were
@@ -22802,11 +12685,8 @@
 	:nd=\ELM1 \ELM0:uc=\010\ELM1_\ELM0:\
 	:vb=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0:
 tek4113-34|tektronix 4113 color graphics with 34 line dialog area:\
-	:am:bs:da:eo:\
-	:co#80:li#34:\
-	:cl=\ELZ:do=^J:is=\EKA1\ELLB2\ELV0\ELV1:le=^H:\
-	:nd=\ELM1 \ELM0:uc=\010\ELM1_\ELM0:\
-	:vb=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0:
+	:li#34:\
+	:is=\EKA1\ELLB2\ELV0\ELV1:tc=tek4113:
 # :ns: left off to allow vi visual mode. APL font (:as=\E^N:/:ae=\E^O:) not 
 # supported here. :uc: is slow, but looks nice. Suggest setenv MORE -up .
 # :vb: needs enough delay to let you see the background color being toggled.
@@ -22853,23 +12733,10 @@
 # (tek4125: there were two "\!"s in the is that I replaced with "\E!";
 # commented out, :im:=\E1 because there's no :ei:  -- esr)
 tek4125|tektronix 4125:\
-	:am:bs:ms:xn:xo:\
-	:co#80:it#8:li#34:vt#3:\
-	:@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
-	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[1L:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:dl=\E[1M:do=^J:\
-	:eA=\E(B\E)0:ho=\E[H:\
+	:li#34:\
+	:al=\E[1L:cs@:dl=\E[1M:\
 	:is=\E%\E!0\EQD1\EUX03\EKA\ELBB2\ELCE0\ELI100\ELJ2\ELLB2\ELM0\ELS1\ELX00\ELV1\E%\E!1\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
-	:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOt:k6=\EOu:\
-	:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:kb=^H:kd=\EOB:\
-	:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E=:ku=\EOA:le=^H:\
-	:mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:nd=\E[C:\
-	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
-	:..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
-	:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:\
-	:us=\E[4m:
+	:ks=\E=:rc@:sc@:tc=vt100:
 
 # From: <jcoker@ucbic>
 # (tek4207: This was the termcap file's entry for the 4107/4207, but SCO
@@ -22928,14 +12795,11 @@
 # The <initc> cap uses RGB notation to define colors.  for arguments 1-3 the 
 # interval (0-1000) is broken into 8 smaller sub-intervals (125).  Each sub-
 # interval then maps into pre-defined value.
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
 tek4205|tektronix 4205:\
 	:cc:mi:ms:\
 	:Co#8:NC#49:co#80:it#8:li#30:pa#63:\
-	:AL=\E[%dL:DO=\E[%dB:IC=\E[%d@:\
-	:..Ic=\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}%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^H:kr=^I:ku=^N:\
 	:le=^H:ll=\017W:nd=^I:up=^N:
 vc303a|vc403a|volker-craig 303a:\
-	:am:bs:ns:\
-	:co#80:li#24:\
-	:bl=^G:ce=\026:cl=\030:cr=^M:do=^J:ho=\031:kd=^J:kl=^H:kr=^U:\
-	:ku=^Z:le=^H:ll=^P:nd=^U:up=^Z:
+	:ce=\026:cl=\030:ho=\031:kr=^U:ku=^Z:ll=^P:nd=^U:up=^Z:\
+	:tc=vc303:
 # (vc404: removed obsolete ":ma=^Z^P^U :" -- esr)
 vc404|volker-craig 404:\
 	:am:bs:\
@@ -23033,11 +12895,7 @@
 	:bl=^G:cd=\027:ce=\026:cl=\030:cm=\020%+ %+ :cr=^M:do=^J:\
 	:ho=\031:kd=^J:kl=^H:kr=^U:ku=^Z:le=^H:nd=^U:sf=^J:up=^Z:
 vc404-s|volker-craig 404 w/standout mode:\
-	:am:bs:\
-	:co#80:li#24:\
-	:bl=^G:cd=\027:ce=\026:cl=\030:cm=\020%+ %+ :cr=^M:do=^J:\
-	:ho=\031:kd=^J:kl=^H:kr=^U:ku=^Z:le=^H:nd=^U:se=^O:sf=^J:\
-	:so=^N:up=^Z:
+	:do=^J:se=^O:so=^N:tc=vc404:
 # From: <wolfgang@cs.sfu.ca>
 # (vc414: merged in cup/dl1/home from an old vc414h-noxon)
 vc414|vc414h|Volker-Craig 414H in sane escape mode.:\
@@ -23049,10 +12907,7 @@
 	:kh=\E^R:kl=^H:kr=^P:ku=\E^L:l0=PF1:l1=PF2:l2=PF3:l3=PF4:\
 	:l4=PF5:l5=PF6:l6=PF7:l7=PF8:nd=^P:se=\E^_:so=\E^Y:up=\E^L:
 vc415|volker-craig 415:\
-	:am:bs:\
-	:co#80:li#24:\
-	:bl=^G:cd=\027:ce=\026:cl=^L:cm=\020%+ %+ :cr=^M:do=^J:\
-	:ho=\031:kd=^J:kl=^H:kr=^U:ku=^Z:le=^H:nd=^U:sf=^J:up=^Z:
+	:cl=^L:tc=vc404:
 
 ######## OBSOLETE PERSONAL-MICRO CONSOLES AND EMULATIONS
 #
@@ -23067,21 +12922,8 @@
 # crude adm3a-type terminal.
 # Steve Jacobson 8/85
 pcplot|pc-plot terminal emulation program:\
-	:am:bs:ms:xo:\
-	:co#80:it#8:li#24:vt#3:\
-	:@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
-	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
-	:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:do=^J:eA=\E(B\E)0:ho=\E[H:\
-	:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOt:k6=\EOu:\
-	:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:kb=^H:kd=\EOB:\
-	:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
-	:mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:nd=\E[C:\
-	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
-	:..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
-	:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:\
-	:us=\E[4m:
+	:xn@:\
+	:AL@:DL@:al@:cs@:dl@:rc@:sc@:tc=vt100:
 # KayPro II from Richard G Turner <rturner at Darcom-Hq.ARPA>
 # I've found that my KayPro II, running MDM730, continues to emulate an
 # ADM-3A terminal, just like I was running TERM.COM. On our 4.2 UNIX
@@ -23103,7 +12945,7 @@
 	:up=^^:
 
 ibmpc|wy60-PC|wyse60-PC|IBM PC/XT running PC/IX:\
-	:am:bw:eo:hs:km:ms:ul:\
+	:am:bs:bw:eo:hs:km:ms:ul:\
 	:co#80:it#8:li#24:\
 	:@7=\E[Y:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS\E[%dB:\
 	:SR=\E[%dT\E[%dA:UP=\E[%dA:\
@@ -23111,9 +12953,10 @@
 	:bl=^G:cd=\E[J:ce=\E[K:ch=\E[%i%dG:cl=\Ec:cm=\E[%i%d;%dH:\
 	:cr=^M:do=\E[B:ec=\E[%dX:ho=\E[H:k1=\240:k2=\241:k3=\242:\
 	:k4=\243:k5=\244:k6=\245:k7=\246:k8=\247:k9=\250:k;=\251:\
-	:kB=^]:kD=\177:kI=\E[^H:kN=\E[U:kb=^H:kd=\E[B:kh=\E[H:\
-	:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:ll=\E[24;1H:mb=\E[5m:\
-	:md=\E[1m:me=\E[m:mk=\E[30;40m:mr=\E[7m:nd=\E[C:nw=^M:\
+	:kB=^]:kD=\177:kI=\E[^H:kN=\E[U:kP=\E[V:kb=^H:kd=\E[B:\
+	:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:ll=\E[24;1H:\
+	:mb=\E[5m:md=\E[1m:me=\E[m:mk=\E[30;40m:mr=\E[7m:nd=\E[C:\
+	:nw=^M:\
 	:..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m:\
 	:se=\E[m:sf=\E[S\E[B:so=\E[7m:sr=\E[T\E[A:ue=\E[m:up=\E[A:\
 	:us=\E[4m:
@@ -23153,12 +12996,7 @@
 # mcvax!vu44!vu45!wilcke uses the "ap" entry together with Ascii Express Pro
 # 4.20, with incoming and outgoing terminals both on 0, emulation On.
 apple2e-p|Apple //e via Pascal:\
-	:bw:ms:\
-	:co#80:li#24:\
-	:bl=^G:cd=4*\013:ce=4\035:cl=100\014:cm=\036%r%+ %+ :\
-	:do=^J:ho=^Y:is=^R^N:kb=^H:kd=^J:kl=^H:kr=^U:ku=^K:le=^H:\
-	:me=^N:mr=^O:nw=100\r:r1=^R^N:se=^N:sf=^W:so=^O:sr=^V:ta=^I:\
-	:up=^_:
+	:cm=\036%r%+ %+ :kb=^H:kd=^J:kl=^H:tc=apple2e:
 # (ASCII Express) MouseTalk "Standard Apple //" emulation from BRL
 # Enable DC3/DC1 flow control with "stty ixon -ixany".
 apple-ae|ASCII Express:\
@@ -23251,7 +13089,7 @@
 	:am:bs:\
 	:co#80:li#24:\
 	:ce=\Ex:cl=\Ev:cm=\EY%+ %+ :ho=\EH:k0=\EP:k1=\EQ:k2=\ER:\
-	:k3=\E\s:k4=\E!:k5=\E":k6=\E#:k7=\E$:k8=\E%:k9=\E&:kd=\EB:\
+	:k3=\E\s:k4=\E!:k5=\E":k6=\E#:k7=\E$:k8=\E%%%:k9=\E&:kd=\EB:\
 	:kh=\EH:kl=\ED:kr=\EC:ku=\EA:nd=\EC:up=\EA:
 #From: decvax!cbosgd!cbdkc1!mww Mike Warren via BRL
 aepro|Apple II+ running ASCII Express Pro--vt52:\
@@ -23273,21 +13111,15 @@
 lisa|apple lisa console display (black on white):\
 	:am:bs:eo:ms:\
 	:co#88:it#8:li#32:\
-	:ac=lfmekcjdttuvvuwsqax`nb:ae=\E[10m:al=\E[L:as=\E[11m:\
+	:ac=jdkclfmenbqattuvvuwsx`:ae=\E[10m:al=\E[L:as=\E[11m:\
 	:cd=\E[J:ce=\E[K:cl=^L:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:\
 	:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:is=\E>\E[m\014:kb=^H:\
 	:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:nd=\E[C:\
 	:se=\E[m:so=\E[7m:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[5l:\
 	:vi=\E[5h:
 liswb|apple lisa console display (white on black):\
-	:am:bs:eo:ms:\
-	:co#88:it#8:li#32:\
-	:ac=lfmekcjdttuvvuwsqax`nb:ae=\E[10m:al=\E[L:as=\E[11m:\
-	:cd=\E[J:ce=\E[K:cl=^L:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:\
-	:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:is=\E>\E[0;7m\014:kb=^H:\
-	:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:nd=\E[C:\
-	:se=\E[0;7m:so=\E[m:ta=^I:ue=\E[0;7m:up=\E[A:us=\E[4m:\
-	:ve=\E[5l:vi=\E[5h:
+	:is=\E>\E[0;7m\014:se=\E[0;7m:so=\E[m:ue=\E[0;7m:\
+	:us=\E[4m:tc=lisa:
 
 # lisaterm from ulysses!gamma!epsilon!mb2c!jed (John E. Duncan III) via BRL;
 # :is: revised by Ferd Brundick <fsbrn@BRL.ARPA>
@@ -23314,17 +13146,8 @@
 	:ue=\E[m:up=\E[A:us=\E[4m:
 # Lisaterm in 132 column ("wide") mode.
 lisaterm-w|Apple Lisa with Lisaterm in 132 column mode:\
-	:am:bs:pt:xn:xo:\
-	:co#132:it#8:kn#4:li#24:vt#3:\
-	:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bl=^G:cd=\E[J:\
-	:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
-	:cs=\E[%i%d;%dr:ct=\E[3g:do=^J:ho=\E[H:k0=\EOP:k1=\EOQ:\
-	:k2=\EOR:k3=\EOS:kb=^H:kd=^J:ke=\E[?1l\E>:kl=^H:kr=\EOC:\
-	:ks=\E[?1h\E=:ku=\EOA:l0=F1:l1=F2:l2=F3:l3=F4:le=^H:\
-	:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
-	:r1=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r:\
-	:rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
-	:ue=\E[m:up=\E[A:us=\E[4m:
+	:co#132:\
+	:kb=^H:kd=^J:kl=^H:tc=lisaterm:
 # Although MacTerminal has insert/delete line, it is commented out here
 # since it is much faster and cleaner to use the "lock scrolling region"
 # method of inserting and deleting lines due to the MacTerminal implementation.
@@ -23332,24 +13155,501 @@
 # due to a bug in MacTerminal V1.1.  Blink is disabled since it is not
 # supported by MacTerminal.
 mac|macintosh|Macintosh with MacTerminal:\
-	:am:bs:eo:ms:xn:\
-	:co#88:dN#30:it#8:li#32:\
-	:ac=lfmekcjdttuvvuwsqax`nb:ae=\E[10m:al=\E[L:as=\E[11m:\
-	:cd=\E[J:ce=\E[K:cl=^L:cm=\E[%i%d;%dH:dc=7\E[P:dl=\E[M:\
-	:do=\E[B:ei=:ho=\E[H:ic=9\E[@:im=:ip=7:is=\E>\E[m\014:kb=^H:\
-	:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:nd=\E[C:\
-	:se=\E[m:so=\E[7m:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[5l:\
-	:vi=\E[5h:
+	:xn:\
+	:dN#30:\
+	:dc=7\E[P:ei=:ic=9\E[@:im=:ip=7:mb@:tc=lisa:
 # Lisaterm in 132 column ("wide") mode.
 mac-w|macterminal-w|Apple Macintosh with Macterminal in 132 column mode:\
-	:am:bs:eo:ms:xn:\
-	:co#132:dN#30:it#8:li#32:\
-	:ac=lfmekcjdttuvvuwsqax`nb:ae=\E[10m:al=\E[L:as=\E[11m:\
-	:cd=\E[J:ce=\E[K:cl=^L:cm=\E[%i%d;%dH:dc=7\E[P:dl=\E[M:\
-	:do=\E[B:ei=:ho=\E[H:ic=9\E[@:im=:ip=7:is=\E>\E[m\014:kb=^H:\
-	:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:nd=\E[C:\
-	:se=\E[m:so=\E[7m:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[5l:\
-	:vi=\E[5h:
+	:co#132:tc=mac:
+
+# The AppKit Terminal.app descriptions all have names beginning with
+# "nsterm". Note that the statusline (-s) versions use the window
+# titlebar as a phony status line, and may produce warnings during
+# compilation as a result ("tsl uses 0 parameters, expected 1".) Ignore
+# these warnings, or even ignore these entries entirely. Apps which
+# need to position the cursor or do other fancy stuff inside the status
+# line won't work with these entries. They're primarily useful for
+# programs like Pine which provide simple notifications in the status
+# line. Please note that non-ASCII characters don't work right in the
+# status line, since Terminal.app incorrectly interprets their Unicode
+# codepoints as MacRoman codepoints.
+# 
+# * Renamed the AppKit Terminal.app entry from "Apple_Terminal" to
+#   "nsterm" to comply with the name length and case conventions and
+#   limitations of various software packages [notably Solaris terminfo
+#   and UNIX.] A single Apple_Terminal alias is retained for
+#   backwards-compatbility.
+# 
+# * Added function key support (F1-F4). These only work in Terminal.app
+#   version 51, hopefully the capabilities won't cause problems for people
+#   using version 41.
+# 
+# * Added "full color" (-c) entries which support the 16-color mode in
+#   version 51.
+# 
+# * By default, version 51 uses UTF-8 encoding with broken altcharset
+#   support, so "ASCII" (-7) entries without altcharset support were
+#   added.
+
+# nsterm - AppKit Terminal.app
+#
+# Apple's Mac OS X includes a Terminal.app derived from the old NeXT
+# Terminal.app. It is a partial VT100 emulation with some xterm-like
+# extensions. This terminfo was written to describe versions 41
+# (shipped with Mac OS X version 10.0) and 51 (shipped with Mac OS X
+# version 10.1) of Terminal.app.
+#
+# Terminal.app runs under the Mac OS X Quartz windowing system (and
+# other AppKit-supported windowing systems.)  On the Mac OS X machine I
+# use, the executable for Terminal.app is:
+# /Applications/Utilities/Terminal.app/Contents/MacOS/Terminal
+#
+# If you're looking for a description of the full-screen system
+# console which runs under Apple's Darwin operating system on PowerPC
+# platforms, see the "xnuppc" entry instead.
+#
+# There were no function keys in version 41. In version 51, there are
+# four working function keys (F1, F2, F3 and F4.) The function keys
+# are included in all of these entries.
+#
+# It does not support mouse pointer position reporting. Under some
+# circumstances the cursor can be positioned using option-click; this
+# works by comparing the cursor position and the selected position,
+# and simulating enough cursor-key presses to move the cursor to the
+# selected position. This technique fails in all but the simplest
+# applications.
+#
+# It provides partial ANSI color support (background colors interacted
+# badly with bold in version 41, though, as reflected in :ncv:.) The
+# monochrome (-m) entries are useful if you've disabled color support
+# or use a monochrome monitor. The full color (-c) entries are useful
+# in version 51, which doesn't exhibit the background color bug. They
+# also enable an xterm-compatible 16-color mode.
+#
+# The configurable titlebar is set using xterm-compatible sequences;
+# it is used as a status bar in the statusline (-s) entries. Its width
+# depends on font sizes and window sizes, but 50 characters seems to
+# be the default for an 80x24 window.
+#
+# The MacRoman character encoding is used for some of the alternate
+# characters in the "MacRoman" entries; the "ASCII" (-7) entries
+# disable alternate character set support entirely, and the "VT100"
+# (-acs) entries rely instead on Terminal.app's own buggy VT100
+# graphics emulation, which seems to think the character encoding is
+# the old NeXT charset instead of MacRoman. The "ASCII" (-7) entries
+# are useful in Terminal.app version 51, which supports UTF-8 and
+# other ASCII-compatible character encodings but does not correctly
+# implement VT100 graphics; once VT100 graphics are correctly
+# implemented in Terminal.app, the "VT100" (-acs) entries should be
+# usable in any ASCII-compatible character encoding [except perhaps
+# in UTF-8, where some experts argue for disallowing alternate
+# characters entirely.]
+#
+# Terminal.app reports "vt100" as the terminal type, but exports
+# several environment variables which may aid detection in a shell
+# profile (i.e. .profile or .login):
+#
+# TERM=vt100
+# TERM_PROGRAM=Apple_Terminal
+# TERM_PROGRAM_VERSION=41      # in Terminal.app version 41
+# TERM_PROGRAM_VERSION=51      # in Terminal.app version 51
+#
+# For example, the following Bourne shell script would detect the
+# correct terminal type:
+#
+# if [ :"$TERM" = :"vt100" -a :"$TERM_PROGRAM" = :"Apple_Terminal" ]
+# then
+#     export TERM
+#     if [ :"$TERM_PROGRAM_VERSION" = :41 ]
+#     then
+#         TERM="nsterm"
+#     else
+#         TERM="nsterm-c-7"
+#     fi
+# fi
+#
+# In a C shell derivative, this would be accomplished by:
+#
+# if ( $?TERM && $?TERM_PROGRAM && $?TERM_PROGRAM_VERSION) then
+#     if ( :"$TERM" == :"vt100" && :"$TERM_PROGRAM" == :"Apple_Terminal" ) then
+#          if ( :"$TERM_PROGRAM_VERSION" == :41 ) then
+#              setenv TERM "nsterm"
+#          else
+#              setenv TERM "nsterm-c-7"
+#          endif
+#     endif
+# endif
+
+# The '+' entries are building blocks
+nsterm+7|AppKit Terminal.app v41+ basic capabilities w/ASCII charset:\
+	:am:bw:ms:xn:xo:\
+	:co#80:it#8:li#24:\
+	:@8=\EOM:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:K1=\EOq:K2=\EOr:\
+	:K3=\EOs:K4=\EOp:K5=\EOn:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:\
+	:SA=\E[?7h:UP=\E[%dA:al=\E[L:bl=^G:cb=\E[1K:cd=\E[J:\
+	:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
+	:ct=\E[3g:dl=\E[M:do=^J:ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:\
+	:k4=\EOS:kb=\177:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:\
+	:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:\
+	:mr=\E[7m:nd=\E[C:rc=\E8:\
+	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
+	:..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m:\
+	:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
+	:u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?1;2c:u9=\E[c:ue=\E[m:\
+	:up=\E[A:us=\E[4m:
+
+nsterm+acs|AppKit Terminal.app v41+ basic capabilities w/VT100 alternate-charset:\
+	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
+	:ae=^O:as=^N:eA=\E(B\E)0:\
+	:..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
+	:tc=nsterm+7:
+
+nsterm+mac|AppKit Terminal.app v41+ basic capabilities w/MacRoman alternate-charset:\
+	:ac=0#`\327a\:f\241g\261h#i\360jjkkllmmnno\370p\370q\321rrssttuuvvwwxxy\262z\263{\271|\255}\243~\245+\335-\366,\334.\377:\
+	:ae=^O:as=^N:eA=\E(B\E)0:\
+	:..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
+	:tc=nsterm+7:
+
+nsterm+s|AppKit Terminal.app v41+ status-line (window titlebar) support:\
+	:hs:\
+	:ws#50:\
+	:ds=\E]2;\007:fs=^G:ts=\E]2;:
+
+nsterm+c|AppKit Terminal.app v51+ full color support (including 16 colors):\
+	:Co#16:pa#256:\
+	:..AB=\E[%?%p1%{8}%<%t%p1%{40}%+%e%p1%{92}%+%;%dm:\
+	:..AF=\E[%?%p1%{8}%<%t%p1%{30}%+%e%p1%{82}%+%;%dm:\
+	:op=\E[0m:
+
+nsterm+c41|AppKit Terminal.app v41 color support:\
+	:Co#8:NC#37:pa#64:\
+	:AB=\E[4%dm:AF=\E[3%dm:op=\E[0m:
+
+# These are different combinations of the building blocks
+
+# ASCII charset (-7)
+nsterm-m-7|nsterm-7-m|AppKit Terminal.app v41+ w/ASCII charset (monochrome):\
+	:tc=nsterm+7:
+
+nsterm-m-s-7|nsterm-7-m-s|AppKit Terminal.app v41+ w/ASCII charset (monochrome w/statusline):\
+	:tc=nsterm+s:tc=nsterm+7:
+
+nsterm-7|AppKit Terminal.app v41+ w/ASCII charset (color):\
+	:tc=nsterm+c41:tc=nsterm+7:
+
+nsterm-7-c|nsterm-c-7|AppKit Terminal.app v51+ w/ASCII charset (full color):\
+	:tc=nsterm+c:tc=nsterm+7:
+
+nsterm-s-7|nsterm-7-s|AppKit Terminal.app v41+ w/ASCII charset (color w/statusline):\
+	:tc=nsterm+s:tc=nsterm+c41:tc=nsterm+7:
+
+nsterm-c-s-7|nsterm-7-c-s|AppKit Terminal.app v51+ w/ASCII charset (full color w/statusline):\
+	:tc=nsterm+s:tc=nsterm+c:tc=nsterm+7:
+
+# VT100 alternate-charset (-acs)
+nsterm-m-acs|nsterm-acs-m|AppKit Terminal.app v41+ w/VT100 alternate-charset (monochrome):\
+	:tc=nsterm+acs:
+
+nsterm-m-s-acs|nsterm-acs-m-s|AppKit Terminal.app v41+ w/VT100 alternate-charset (monochrome w/statusline):\
+	:tc=nsterm+s:tc=nsterm+acs:
+
+nsterm-acs|AppKit Terminal.app v41+ w/VT100 alternate-charset (color):\
+	:tc=nsterm+c41:tc=nsterm+acs:
+
+nsterm-c-acs|nsterm-acs-c|AppKit Terminal.app v51+ w/VT100 alternate-charset (full color):\
+	:tc=nsterm+c:tc=nsterm+acs:
+
+nsterm-s-acs|nsterm-acs-s|AppKit Terminal.app v41+ w/VT100 alternate-charset (color w/statusline):\
+	:tc=nsterm+s:tc=nsterm+c41:tc=nsterm+acs:
+
+nsterm-c-s-acs|nsterm-acs-c-s|AppKit Terminal.app v51+ w/VT100 alternate-charset (full color w/statusline):\
+	:tc=nsterm+s:tc=nsterm+c:tc=nsterm+acs:
+
+# MacRoman charset
+nsterm-m|AppKit Terminal.app v41+ w/MacRoman charset (monochrome):\
+	:tc=nsterm+mac:
+
+nsterm-m-s|AppKit Terminal.app v41+ w/MacRoman charset (monochrome w/statusline):\
+	:tc=nsterm+s:tc=nsterm+mac:
+
+nsterm|Apple_Terminal|AppKit Terminal.app v41+ w/MacRoman charset (color):\
+	:tc=nsterm+c41:tc=nsterm+mac:
+
+nsterm-c|AppKit Terminal.app v51+ w/MacRoman charset (full color):\
+	:tc=nsterm+c:tc=nsterm+mac:
+
+nsterm-s|AppKit Terminal.app v41+ w/MacRoman charset (color w/statusline):\
+	:tc=nsterm+s:tc=nsterm+c41:tc=nsterm+mac:
+
+nsterm-c-s|AppKit Terminal.app v51+ w/MacRoman charset (full color w/statusline):\
+	:tc=nsterm+s:tc=nsterm+c:tc=nsterm+mac:
+
+# xnuppc - Darwin PowerPC Console (a.k.a. "darwin")
+#
+# On PowerPC platforms, Apple's Darwin operating system uses a
+# full-screen system console derived from a NetBSD framebuffer
+# console. It is an ANSI-style terminal, and is not really VT-100
+# compatible.
+#
+# Under Mac OS X, this is the system console driver used while in
+# single-user mode [reachable by holding down Command-S during the
+# boot process] and when logged in using console mode [reachable by
+# typing ">console" at the graphical login prompt.]
+#
+# If you're looking for a description of the Terminal.app terminal
+# emulator which runs under the Mac OS X Quartz windowing system (and
+# other AppKit-supported windowing systems,) see the "nsterm"
+# entry instead.
+#
+# NOTE: Under Mac OS X version 10.1, the default login window does not
+# prompt for user name, instead requiring an icon to be selected from
+# a list of known users. Since the special ">console" login is not in
+# this list, you must make one of two changes in the Login Window
+# panel of the Login section of System Prefs to make the special
+# ">console" login accessible. The first option is to enable 'Show
+# "Other User" in list for network users', which will add a special
+# "Other..." icon to the graphical login panel. Selecting "Other..."
+# will present the regular graphical login prompt. The second option
+# is to change the 'Display Login Window as:' setting to 'Name and
+# password entry fields', which replaces the login panel with a
+# graphical login prompt.
+#
+# There are no function keys, at least not in Darwin 1.3.
+#
+# It has no mouse support.
+#
+# It has full ANSI color support, and color combines correctly with
+# all three supported attributes: bold, inverse-video and underline.
+# However, bold colored text is almost unreadable (bolding is
+# accomplished using shifting and or-ing, and looks smeared) so bold
+# has been excluded from the list of color-compatible attributes
+# [using (ncv)]. The monochrome entry (-m) is useful if you use a
+# monochrome monitor.
+#
+# There is one serious bug with this terminal emulation's color
+# support: repositioning the cursor onto a cell with non-matching
+# colors obliterates that cell's contents, replacing it with a blank
+# and displaying a colored cursor in the "current" colors. There is
+# no complete workaround at present [other than using the monochrome
+# (-m) entries,] but removing the (msgr) capability seemed to help.
+#
+# The "standout" chosen was simple reverse-video, although a colorful
+# standout might be more aesthetically pleasing. Similarly, the bold
+# chosen is the terminal's own smeared bold, although a simple
+# color-change might be more readable. The color-bold (-b) entries
+# uses magenta colored text for bolding instead. The fancy color (-f
+# and -f2) entries use color for bold, standout and underlined text
+# (underlined text is still underlined, though.)
+#
+# Apparently the terminal emulator does support a VT-100-style
+# alternate character set, but all the alternate character set
+# positions have been left blank in the font. For this reason, no
+# alternate character set capabilities have been included in this
+# description. The console driver appears to be ASCII-only, so (enacs)
+# has been excluded [although the VT-100 sequence does work.]
+#
+# The default Mac OS X and Darwin installation reports "vt100" as the
+# terminal type, and exports no helpful environment variables. To fix
+# this, change the "console" entry in /etc/ttys from "vt100" to
+# "xnuppc-WxH", where W and H are the character dimensions of your
+# console (see below.)
+#
+# The font used by the terminal emulator is apparently one originally
+# drawn by Ka-Ping Yee, and uses 8x16-pixel characters. This
+# file includes descriptions for the following geometries:
+#
+#     Pixels        Characters   Entry Name (append -m for monochrome)
+#    -------------------------------------------------------------------
+#     640x400       80x25        xnuppc-80x25
+#     640x480       80x30        xnuppc-80x30
+#     720x480       90x30        xnuppc-90x30
+#     800x600       100x37       xnuppc-100x37
+#     896x600       112x37       xnuppc-112x37
+#     1024x640      128x40       xnuppc-128x40
+#     1024x768      128x48       xnuppc-128x48
+#     1152x768      144x48       xnuppc-144x48
+#     1280x1024     160x64       xnuppc-160x64
+#     1600x1024     200x64       xnuppc-200x64
+#     1600x1200     200x75       xnuppc-200x75
+#     2048x1536     256x96       xnuppc-256x96
+#
+# The basic "xnuppc" entry includes no size information, and the
+# emulator includes no reporting capability, so you'll be at the mercy
+# of the TTY device (which reports incorrectly on my hardware.) The
+# color-bold entries do not include size information.
+
+# The '+' entries are building blocks
+xnuppc+basic|Darwin PowerPC Console basic capabilities:\
+	:am:mi:ut:xn:\
+	:it#8:\
+	:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
+	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
+	:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
+	:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:do=\E[B:ds=\E]2;\007:\
+	:ho=\E[H:kb=\177:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:\
+	:ks=\E[?1h\E=:ku=\EOA:le=\E[D:md=\E[1m:me=\E[m\017:\
+	:mr=\E[7m:nd=\E[C:rc=\E8:\
+	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
+	:..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m:\
+	:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
+	:up=\E[A:us=\E[4m:
+
+xnuppc+c|Darwin PowerPC Console ANSI color support:\
+	:Co#8:NC#32:pa#64:\
+	:AB=\E[4%dm:AF=\E[3%dm:op=\E[37;40m:
+
+xnuppc+b|Darwin PowerPC Console color-bold support:\
+	:NC#32:\
+	:md=\E[35m:\
+	:..sa=\E[0%?%p6%t;35%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m:\
+	:tc=xnuppc+basic:
+
+xnuppc+f|Darwin PowerPC Console fancy color support:\
+	:NC#35:\
+	:..sa=\E[0%?%p6%t;35%;%?%p2%t;36;4%;%?%p1%t;33;44%;%p3%t;7%;m:\
+	:so=\E[33;44m:us=\E[36;4m:tc=xnuppc+b:
+
+xnuppc+f2|Darwin PowerPC Console alternate fancy color support:\
+	:NC#35:\
+	:md=\E[33m:\
+	:..sa=\E[0%?%p6%t;33%;%?%p2%t;34%;%?%p1%t;31;47%;%p3%t;7%;m:\
+	:so=\E[31;47m:us=\E[34m:tc=xnuppc+basic:
+
+# Building blocks for specific screen sizes
+xnuppc+80x25|Darwin PowerPC Console 80x25 support (640x400 pixels):\
+	:co#80:li#25:
+
+xnuppc+80x30|Darwin PowerPC Console 80x30 support (640x480 pixels):\
+	:co#80:li#30:
+
+xnuppc+90x30|Darwin PowerPC Console 90x30 support (720x480 pixels):\
+	:co#90:li#30:
+
+xnuppc+100x37|Darwin PowerPC Console 100x37 support (800x600 pixels):\
+	:co#100:li#37:
+
+xnuppc+112x37|Darwin PowerPC Console 112x37 support (896x600 pixels):\
+	:co#112:li#37:
+
+xnuppc+128x40|Darwin PowerPC Console 128x40 support (1024x640 pixels):\
+	:co#128:li#40:
+
+xnuppc+128x48|Darwin PowerPC Console 128x48 support (1024x768 pixels):\
+	:co#128:li#48:
+
+xnuppc+144x48|Darwin PowerPC Console 144x48 support (1152x768 pixels):\
+	:co#144:li#48:
+
+xnuppc+160x64|Darwin PowerPC Console 160x64 support (1280x1024 pixels):\
+	:co#160:li#64:
+
+xnuppc+200x64|Darwin PowerPC Console 200x64 support (1600x1024 pixels):\
+	:co#200:li#64:
+
+xnuppc+200x75|Darwin PowerPC Console 200x75 support (1600x1200 pixels):\
+	:co#200:li#75:
+
+xnuppc+256x96|Darwin PowerPC Console 256x96 support (2048x1536 pixels):\
+	:co#256:li#96:
+
+# These are different combinations of the building blocks
+
+xnuppc-m|darwin-m|Darwin PowerPC Console (monochrome):\
+	:tc=xnuppc+basic:
+
+xnuppc|darwin|Darwin PowerPC Console (color):\
+	:tc=xnuppc+c:tc=xnuppc+basic:
+
+xnuppc-m-b|darwin-m-b|Darwin PowerPC Console (monochrome w/color-bold):\
+	:tc=xnuppc+b:
+
+xnuppc-b|darwin-b|Darwin PowerPC Console (color w/color-bold):\
+	:tc=xnuppc+b:tc=xnuppc+c:
+
+xnuppc-m-f|darwin-m-f|Darwin PowerPC Console (fancy monochrome):\
+	:tc=xnuppc+f:
+
+xnuppc-f|darwin-f|Darwin PowerPC Console (fancy color):\
+	:tc=xnuppc+f:tc=xnuppc+c:
+
+xnuppc-m-f2|darwin-m-f2|Darwin PowerPC Console (alternate fancy monochrome):\
+	:tc=xnuppc+f2:
+
+xnuppc-f2|darwin-f2|Darwin PowerPC Console (alternate fancy color):\
+	:tc=xnuppc+f2:tc=xnuppc+c:
+
+# Combinations for specific screen sizes
+xnuppc-80x25-m|darwin-80x25-m|Darwin PowerPC Console (monochrome) 80x25:\
+	:tc=xnuppc+80x25:tc=xnuppc+basic:
+
+xnuppc-80x25|darwin-80x25|Darwin PowerPC Console (color) 80x25:\
+	:tc=xnuppc+c:tc=xnuppc+80x25:tc=xnuppc+basic:
+
+xnuppc-80x30-m|darwin-80x30-m|Darwin PowerPC Console (monochrome) 80x30:\
+	:tc=xnuppc+80x30:tc=xnuppc+basic:
+
+xnuppc-80x30|darwin-80x30|Darwin PowerPC Console (color) 80x30:\
+	:tc=xnuppc+c:tc=xnuppc+80x30:tc=xnuppc+basic:
+
+xnuppc-90x30-m|darwin-90x30-m|Darwin PowerPC Console (monochrome) 90x30:\
+	:tc=xnuppc+90x30:tc=xnuppc+basic:
+
+xnuppc-90x30|darwin-90x30|Darwin PowerPC Console (color) 90x30:\
+	:tc=xnuppc+c:tc=xnuppc+90x30:tc=xnuppc+basic:
+
+xnuppc-100x37-m|darwin-100x37-m|Darwin PowerPC Console (monochrome) 100x37:\
+	:tc=xnuppc+100x37:tc=xnuppc+basic:
+
+xnuppc-100x37|darwin-100x37|Darwin PowerPC Console (color) 100x37:\
+	:tc=xnuppc+c:tc=xnuppc+100x37:tc=xnuppc+basic:
+
+xnuppc-112x37-m|darwin-112x37-m|Darwin PowerPC Console (monochrome) 112x37:\
+	:tc=xnuppc+112x37:tc=xnuppc+basic:
+
+xnuppc-112x37|darwin-112x37|Darwin PowerPC Console (color) 112x37:\
+	:tc=xnuppc+c:tc=xnuppc+112x37:tc=xnuppc+basic:
+
+xnuppc-128x40-m|darwin-128x40-m|Darwin PowerPC Console (monochrome) 128x40:\
+	:tc=xnuppc+128x40:tc=xnuppc+basic:
+
+xnuppc-128x40|darwin-128x40|Darwin PowerPC Console (color) 128x40:\
+	:tc=xnuppc+c:tc=xnuppc+128x40:tc=xnuppc+basic:
+
+xnuppc-128x48-m|darwin-128x48-m|Darwin PowerPC Console (monochrome) 128x48:\
+	:tc=xnuppc+128x48:tc=xnuppc+basic:
+
+xnuppc-128x48|darwin-128x48|Darwin PowerPC Console (color) 128x48:\
+	:tc=xnuppc+c:tc=xnuppc+128x48:tc=xnuppc+basic:
+
+xnuppc-144x48-m|darwin-144x48-m|Darwin PowerPC Console (monochrome) 144x48:\
+	:tc=xnuppc+144x48:tc=xnuppc+basic:
+
+xnuppc-144x48|darwin-144x48|Darwin PowerPC Console (color) 144x48:\
+	:tc=xnuppc+c:tc=xnuppc+144x48:tc=xnuppc+basic:
+
+xnuppc-160x64-m|darwin-160x64-m|Darwin PowerPC Console (monochrome) 160x64:\
+	:tc=xnuppc+160x64:tc=xnuppc+basic:
+
+xnuppc-160x64|darwin-160x64|Darwin PowerPC Console (color) 160x64:\
+	:tc=xnuppc+c:tc=xnuppc+160x64:tc=xnuppc+basic:
+
+xnuppc-200x64-m|darwin-200x64-m|Darwin PowerPC Console (monochrome) 200x64:\
+	:tc=xnuppc+200x64:tc=xnuppc+basic:
+
+xnuppc-200x64|darwin-200x64|Darwin PowerPC Console (color) 200x64:\
+	:tc=xnuppc+c:tc=xnuppc+200x64:tc=xnuppc+basic:
+
+xnuppc-200x75-m|darwin-200x75-m|Darwin PowerPC Console (monochrome) 200x75:\
+	:tc=xnuppc+200x75:tc=xnuppc+basic:
+
+xnuppc-200x75|darwin-200x75|Darwin PowerPC Console (color) 200x75:\
+	:tc=xnuppc+c:tc=xnuppc+200x75:tc=xnuppc+basic:
+
+xnuppc-256x96-m|darwin-256x96-m|Darwin PowerPC Console (monochrome) 256x96:\
+	:tc=xnuppc+256x96:tc=xnuppc+basic:
+
+xnuppc-256x96|darwin-256x96|Darwin PowerPC Console (color) 256x96:\
+	:tc=xnuppc+c:tc=xnuppc+256x96:tc=xnuppc+basic:
 
 #### Radio Shack/Tandy
 #
@@ -23379,7 +13679,7 @@
 trs16|trs-80 model 16 console:\
 	:am:bs:\
 	:co#80:it#8:li#24:\
-	:ac=l_mbk`javewcquxs:ae=\ERg:al=\EL:as=\ERG:bl=^G:cd=\EJ:\
+	:ac=jak`l_mbquvewcxs:ae=\ERg:al=\EL:as=\ERG:bl=^G:cd=\EJ:\
 	:ce=\EK:cl=^L:cm=\EY%+ %+ :cr=^M:dc=\EQ:dl=\EM:do=\EB:ei=:\
 	:ho=\EH:ic=\EP:im=:k0=^A:k1=^B:k2=^D:k3=^L:k4=^U:k5=^P:k6=^N:\
 	:k7=^S:kb=^H:kd=\EB:kh=^W:kl=\ED:kr=\EC:ku=\EA:l0=f1:l1=f2:\
@@ -23400,26 +13700,9 @@
 # UniTerm terminal program for the Atari ST:  49-line VT220 emulation mode
 # From: Paul M. Aoki <aoki@ucbvax.berkeley.edu>
 uniterm|uniterm49|UniTerm VT220 emulator with 49 lines:\
-	:5i:am:bs:mi:ms:xn:xo:\
-	:co#80:it#8:li#49:vt#3:\
-	:%0=\E[29~:%1=\E[28~:*6=\E[4~:@0=\E[1~:AL=\E[%dL:\
-	:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:\
-	:F3=\E[25~:F4=\E[26~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
-	:FA=\E[34~:IC=\E[%d@:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:\
-	:SA=\E[?7h:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
-	:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:eA=\E)0:ec=\E[%dX:ei=\E[4l:\
-	:ho=\E[H:if=/usr/share/tabset/vt100:im=\E[4h:\
+	:li#49:\
 	:is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;49r\E[49;1H:\
-	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
-	:k8=\E[19~:k9=\E[20~:k;=\E[21~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
-	:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:l1=pf1:\
-	:l2=pf2:l3=pf3:l4=pf4:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:\
-	:mr=\E[7m:nd=\E[C:nw=\EE:pf=\E[4i:po=\E[5i:ps=\E[i:\
-	:r1=\E[?3l:rc=\E8:sc=\E7:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:\
-	:st=\EH:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:
+	:tc=vt220:
 # MiNT VT52 emulation. 80 columns, 25 rows.
 # MiNT is Now TOS, the operating system which comes with all Ataris now
 # (mainly Atari Falcon). This termcap is for the VT52 emulation you get
@@ -23500,20 +13783,31 @@
 
 # From: Henning 'Faroul' Peters <Faroul@beyond.kn-bremen.de>, 25 Sep 1999
 amiga-8bit|Amiga ANSI using 8-bit controls:\
-	:bs:bw:ms:\
-	:co#80:li#24:\
-	:AL=\233%dL:DC=\233%dP:DL=\233%dM:DO=\233%dB:IC=\233%d@:\
-	:LE=\233%dD:RI=\233%dC:UP=\233%dA:ac=:ae=^O:al=\233L:as=^N:\
-	:bl=^G:bt=\233Z:cd=\233J:ce=\233K:cl=\233H\233J:\
-	:cm=\233%i%d;%dH:cr=^M:dc=\233P:dl=\233M:do=\233B:\
-	:ec=\233%dP:ei=:ho=\233H:ic=\233@:im=:is=\23320l:k0=\2339~:\
-	:k1=\2330~:k2=\2331~:k3=\2332~:k4=\2333~:k5=\2334~:\
-	:k6=\2335~:k7=\2336~:k8=\2337~:k9=\2338~:kD=\177:kb=^H:\
-	:kd=\233B:kl=\233D:kr=\233C:ku=\233A:le=\233D:mb=\2337;2m:\
-	:md=\2331m:me=\2330m:mh=\2332m:mk=\2338m:mr=\2337m:\
-	:nd=\233C:nw=\233B\r:r1=\Ec:se=\2330m:sf=\204:so=\2337m:\
-	:sr=\215:ta=^I:te=\233?7h:ti=\233?7l:ue=\2330m:up=\233A:\
-	:us=\2334m:vb=^G:ve=\233 p:vi=\2330 p:
+	:AL=\233%dL:DL=\233%dM:SF@:SR@:ac=:al=\233L:dl=\233M:\
+	:sf=\204:sr=\215:tc=amiga-h:
+
+# From: Ruediger Kuhlmann <terminfo@ruediger-kuhlmann.de>, 18 Jul 2000
+# requires use of appropriate preferences settings.
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+amiga-vnc|Amiga using VNC console (black on light gray):\
+	:ND:am:da:db:ms:\
+	:BT#1:Co#16:NC#0:co#80:li#24:lm#0:pa#256:\
+	:%1=\E[?~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
+	:IC=\E[%d@:Km=\E[M:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:\
+	:SR=\E[%dT:UP=\E[%dA:al=\E[1L:bl=^G:cd=\E[J:ce=\E[K:\
+	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:dc=\E[P:\
+	:dl=\E[1M:do=\E[B:ei=:ic=\E[@:im=:\
+	:is=\E[>?2;18l\E[>?26;?6;20;>?15;?7;>?22;>?8h:\
+	:k0=\E[9~:k1=\E[0~:k2=\E[1~:k3=\E[2~:k4=\E[3~:k5=\E[4~:\
+	:k6=\E[5~:k7=\E[6~:k8=\E[7~:k9=\E[8~:kB=\233Z:kD=\177:\
+	:kH=\E[45~:kN=\E[42~:kP=\E[41~:kb=^H:kd=\E[B:ke=\E[?1l:\
+	:kh=\E[44~:kl=\E[D:kr=\E[C:ks=\E[?1h:ku=\E[A:le=\E[D:\
+	:mb=\E[7;2m:md=\E[1m:me=\E[0m\017\E[30;85;>15m:mh=\E[2m:\
+	:mk=\E8m:mr=\E[7m:nd=\E[C:nw=\EE:oc=\E[0m:r1=\Ec:\
+	:r2=\E[>?2;18l\E[>?26;?6;20;>?15;?7;>?22;>?8h:\
+	:se=\E[21m:sf=\ED:so=\E[1m:sr=\EM:te=\E[?7h\E[r\E[J:\
+	:ti=\E[?7h:ue=\E[24m:up=\E[A:us=\E[4m:vb=^G:\
+	:ve=\E[p\E[>?6l:vi=\E[0p:vs=\E[>?6h:
 
 # Commodore B-128 microcomputer from Doug Tyrol <det@HEL-ACE.ARPA>
 # 	I'm trying to write a termcap for a commodore b-128, and I'm
@@ -23626,31 +13920,10 @@
 # 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:xo:\
-	:co#80:it#8:li#25:\
-	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
-	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:cd=\E[0J:\
-	:ce=\E[K:cl=\E[H\E[0J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:\
-	:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:k0=\E[Y:k1=\E[V:\
-	:k2=\E[U:k3=\E[T:k4=\E[S:k5=\E[G:kb=^H:kd=\E[B:kh=\E[H:\
-	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:\
-	:mr=\E[7m:nd=\E[C:nw=^M^J:se=\E[0m:sf=^J:so=\E[7m:sr=\EM:\
-	:ta=^I:ue=\E[0m:up=\E[A:us=\E[4m:
+	:am:tc=minix-old:
 
 pc-minix|minix console on an Intel box:\
-	:am:xn:\
-	:co#80:it#8:li#25:\
-	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
-	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
-	:ac=`\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:\
-	:ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:cd=\E[0J:ce=\E[K:\
-	:cl=\E[H\E[0J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:\
-	:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:is=\E[0m:k0=\E[Y:k1=\E[V:\
-	:k2=\E[U:k3=\E[T:k4=\E[S:k5=\E[G:kb=^H:kd=\E[B:kh=\E[H:\
-	:kl=\E[D:kr=\E[C:ku=\E[A:l0=End:l1=PgUp:l2=PgDn:l3=Num +:\
-	:l4=Num -:l5=Num 5:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:\
-	:mr=\E[7m:nd=\E[C:nw=^M^J:se=\E[0m:sf=^J:so=\E[7m:sr=\EM:\
-	:ta=^I:ue=\E[0m:up=\E[A:us=\E[4m:
+	:tc=klone+acs:tc=minix:
 
 # According to the Coherent 2.3 manual, the PC console is similar
 # to a z19. The differences seem to be (1) 25 lines, (2) no status
@@ -23718,17 +13991,11 @@
 # or CP/M.
 # (basis: removed obsolete ":ma=^K^P^R^L^L :nl=5000*^J:" -- esr)
 basis|BASIS108 computer with terminal translation table active:\
-	:am:bs:\
-	:co#80:li#24:\
-	:bl=^G:cd=\EY:ce=\ET:cl=300\E*:cm=\E=%+ %+ :cr=^M:\
-	:do=5000\n:ho=^^:kb=^H:kd=^J:kl=^H:kr=^L:ku=^K:le=^H:ma=^K^P:\
-	:me=\E):nd=^L:nl=^J:r1=^N:rs=^N:se=\E):sf=^J:so=\E(:up=^K:
+	:cd=\EY:ce=\ET:cl=300\E*:do=5000\n:kb=^H:kd=^J:kl=^H:kr=^L:\
+	:ku=^K:me=\E):se=\E):so=\E(:tc=adm3a:
 # luna's BMC terminal emulator
 luna|luna68k|LUNA68K Bitmap console:\
-	:am:bs:xo:\
-	:co#88:li#46:\
-	:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
-	:do=^J:ho=\E[H:sf=^J:
+	:co#88:li#46:tc=ansi-mini:
 megatek|pegasus workstation terminal emulator:\
 	:am:os:\
 	:co#83:li#60:
@@ -23743,50 +14010,6 @@
 #### Videotex and teletext
 #
 
-# From: Alexandre Montaron <canal@mygale.org>, 18 Jun 1998
-#
-minitel1|minitel 1:\
-	:am:bw:es:hs:hz:ms:\
-	:Co#8:co#40:li#24:pa#8:\
-	:..Sf=\E%?%p1%{1}%=%tD%e%p1%{3}%=%tF%e%p1%{4}%=%tA%e%p1%{6}%=%tC%e%p1%{64}%+%c%;:\
-	:ac=f0g1,,+../:bl=^G:ce=^X:cl=^L:cm=\037%+A%+A:cr=^M:do=^J:\
-	:eA=^Y:fs=^J:ho=^^:is=\E;`ZQ\E\:iC\E\:iE\021:le=^H:mb=\EH:\
-	:me=\EI\E\\:mr=\E]:nd=^I:nw=^M^J:op=\EG:rp=%.\022%+?:\
-	:..sa=%?%p1%t\E]%;%?%p3%t\E]%;%?%p4%t\EH%;:se=\E\\:\
-	:sf=^J:so=\E]:sr=^K:ts=\037@%+A:up=^K:ve=^Q:vi=^T:
-# is2=Fnct TE, Fnct MR, Fnct CM et pour finir: curseur ON.
-minitel1b|minitel 1-bistandard (in 40cols mode):\
-	:am:bw:es:hs:hz:mi:ms:\
-	:Co#8:co#40:li#24:pa#8:\
-	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
-	:RI=\E[%dC:\
-	:..Sf=\E%?%p1%{1}%=%tD%e%p1%{3}%=%tF%e%p1%{4}%=%tA%e%p1%{6}%=%tC%e%p1%{64}%+%c%;:\
-	:UP=\E[%dA:ac=f0g1,,+../:al=\E[L:bl=^G:cb=\E[1K:cd=\E[J:\
-	:ce=^X:cl=^L:cm=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%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m:\
-	:sc=\E7:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:ts=\037@%+A:\
-	:ue=\E[24m:up=\E[A:us=\E[4m:ve=\037@A\021\n:\
-	:vi=\037@A\024\n:
 # \E\:1}	switch to te'le'informatique mode (ascii terminal/ISO 6429)
 # \E[?3l	80 columns
 # \E[?4l	scrolling on
@@ -23799,7 +14022,7 @@
 	:bs:es:hs:xn:\
 	:co#80:it#8:li#24:sg#0:ug#0:ws#72:\
 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
-	:RI=\E[%dC:SF=^J:SR=\EM:UP=\E[%dA:\
+	:RI=\E[%dC:UP=\E[%dA:\
 	:ac=aaffggjjkkllmmnnooqqssttuuvvwwxx:ae=^O:al=\E[L:\
 	:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
 	:cr=^M:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:\
@@ -23815,6 +14038,39 @@
 	:u7=\E[6n:ue=\E[24m:up=\E[A:us=\E[4m:vb=^G:ve=\E[<1l:\
 	:vi=\E[<1h:
 
+# From: Alexandre Montaron <canal@mygale.org>, 18 Jun 1998
+#
+minitel1|minitel 1:\
+	:am:bw:es:hs:hz:ms:\
+	:Co#8:co#40:li#24:pa#8:\
+	:..Sf=\E%?%p1%{1}%=%tD%e%p1%{3}%=%tF%e%p1%{4}%=%tA%e%p1%{6}%=%tC%e%p1%{64}%+%c%;:\
+	:ac=+.,,./f0g1:bl=^G:ce=^X:cl=^L:cm=\037%+A%+A:cr=^M:do=^J:\
+	:eA=^Y:fs=^J:ho=^^:is=\E;`ZQ\E\:iC\E\:iE\021:le=^H:mb=\EH:\
+	:me=\EI\E\\:mr=\E]:nd=^I:nw=^M^J:op=\EG:rp=%.\022%+?:\
+	:..sa=%?%p1%t\E]%;%?%p3%t\E]%;%?%p4%t\EH%;:se=\E\\:\
+	:sf=^J:so=\E]:sr=^K:ts=\037@%+A:up=^K:ve=^Q:vi=^T:
+# is2=Fnct TE, Fnct MR, Fnct CM et pour finir: curseur ON.
+minitel1b|minitel 1-bistandard (in 40cols mode):\
+	:mi:\
+	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
+	:RI=\E[%dC:UP=\E[%dA:al=\E[L:cb=\E[1K:cd=\E[J:dc=\E[P:\
+	:dl=\E[M:ei=\E[4l:i1=\E;iYA\E;jYC:im=\E[4h:kA=\E[L:\
+	:kC=\E[2J:kD=\E[P:kE=^X:kI=\E[4h:kL=\E[M:kd=\E[B:kh=\E[H:\
+	:kl=\E[D:kr=\E[C:ks=\E;iYA\E;jYC:kt=^I:ku=\E[A:\
+	:tc=minitel1:
+# :ke: posait des problemes (logout en sortant de vi).
+minitel1b-80|minitel 1-bistandard (standard teleinformatique):\
+	:am@:bw@:hz@:\
+	:Co@:co#80:it#8:pa@:\
+	:@8=\EOM:Sf@:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:ho=\E[H:\
+	:i1@:is@:k0=\EOp:k1=\EOq:k2=\EOr:k3=\EOs:k4=\EOt:k5=\EOu:\
+	:k6=\EOv:k7=\EOw:k8=\EOx:k9=\EOy:ke@:ks@:mb=\E[5m:md=\E[1m:\
+	:me=\E[m:mr=\E[7m:nd=\E[C:nw=\EE:op@:rc=\E8:rp@:\
+	:..sa=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m:\
+	:sc=\E7:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:ue=\E[24m:\
+	:up=\E[A:us=\E[4m:ve=\037@A\021\n:vi=\037@A\024\n:\
+	:tc=minitel1b:
+
 ######## OBSOLETE VDT TYPES
 #
 # These terminals are *long* dead -- these entries are retained for
@@ -23865,13 +14121,9 @@
 
 # (cbblit: here's a BSD termcap that says :do=\EG: -- esr)
 cbblit|fixterm|blit running columbus code:\
-	:am:eo:ul:xo:\
-	:co#88:it#8:li#72:\
-	:AL=\EF%+ :DC=\Ee%+ :DL=\EE%+ :IC=\Ef%+ :al=\EF!:bl=^G:\
-	:cd=\EJ:ce=\EK:cl=^L:cm=\EY%r%+ %+ :cr=^M:dc=\Ee!:dl=\EE!:\
-	:do=^J:ei=\ER:im=\EQ:k1=\Ex:k2=\Ey:k3=\Ez:kb=^H:kd=\EB:\
-	:kl=\ED:kr=\EC:ku=\EA:le=\ED:nd=\EC:pO=\EP%03:pf=^T:po=^R:\
-	:se=\EV!:sf=^J:so=\EU!:ta=^I:ue=\EV":up=\EA:us=\EU":vb=\E^G:
+	:co#88:\
+	:cd=\EJ:ei=\ER:ic@:im=\EQ:pO=\EP%03:pf=^T:po=^R:se=\EV!:\
+	:so=\EU!:ue=\EV":us=\EU":vb=\E^G:tc=blit:
 
 oblit|ojerq|first version of blit rom:\
 	:am:da:db:eo:mi:ul:xo:\
@@ -23911,23 +14163,9 @@
 # this big white gap.
 
 bitgraph|bg2.0nv|bg3.10nv|bbn bitgraph 2.0 or later (normal video):\
-	:bs:xn:\
-	:co#85:li#64:\
-	:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=%i\E[%d;%dH:\
-	:cr=^M:cs=\E[%i%d;%dr:dl=\E[M:do=\E[B:is=\E>\E[?5l\E[?7h:\
-	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kd=\E[B:ke=\E>:kl=\E[D:\
-	:kr=\E[C:ks=\E=:ku=\E[A:l1=PF1:l2=PF2:l3=PF3:l4=PF4:le=^H:\
-	:me=\E[m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=\n:so=\E[7m:ta=^I:\
-	:up=\E[A:vb=\E[?5h\E[?5l:
+	:is=\E>\E[?5l\E[?7h:vb=\E[?5h\E[?5l:tc=bg2.0:
 bg2.0rv|bg3.10rv|bbn bitgraph 2.0 (reverse video):\
-	:bs:xn:\
-	:co#85:li#64:\
-	:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=%i\E[%d;%dH:\
-	:cr=^M:cs=\E[%i%d;%dr:dl=\E[M:do=\E[B:is=\E>\E[?5h\E[?7h:\
-	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kd=\E[B:ke=\E>:kl=\E[D:\
-	:kr=\E[C:ks=\E=:ku=\E[A:l1=PF1:l2=PF2:l3=PF3:l4=PF4:le=^H:\
-	:me=\E[m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=\n:so=\E[7m:ta=^I:\
-	:up=\E[A:vb=\E[?5l\E[?5h:
+	:is=\E>\E[?5h\E[?7h:vb=\E[?5l\E[?5h:tc=bg2.0:
 bg2.0|bg3.10|bbn bitgraph 2.0 or later (no init):\
 	:bs:xn:\
 	:co#85:li#64:\
@@ -23938,21 +14176,9 @@
 	:rc=\E8:sc=\E7:se=\E[m:sf=\n:so=\E[7m:ta=^I:up=\E[A:
 
 bg1.25rv|bbn bitgraph 1.25 (reverse video):\
-	:co#85:li#64:\
-	:RA=\E[?7l:SA=\E[?7h:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:\
-	:cl=\E[H\E[J:cm=%i\E[%d;%dH:cr=^M:dl=\E[M:do=\E[B:\
-	:is=\E>\E[?5h\E[?7h:k1=\EP:k2=\EQ:k3=\ER:k4=\ES:kd=\EB:\
-	:ke=\E>:kl=\ED:kr=\EC:ks=\E=:ku=\EA:l1=PF1:l2=PF2:l3=PF3:\
-	:l4=PF4:le=^H:ll=\E[64;1H:me=\E[m:nd=\E[C:se=\E[m:sf=\n:\
-	:so=\E[7m:ta=^I:up=\E[A:vb=\E[?5l\E[?5h:
+	:is=\E>\E[?5h\E[?7h:vb=\E[?5l\E[?5h:tc=bg1.25:
 bg1.25nv|bbn bitgraph 1.25 (normal video):\
-	:co#85:li#64:\
-	:RA=\E[?7l:SA=\E[?7h:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:\
-	:cl=\E[H\E[J:cm=%i\E[%d;%dH:cr=^M:dl=\E[M:do=\E[B:\
-	:is=\E>\E[?5l\E[?7h:k1=\EP:k2=\EQ:k3=\ER:k4=\ES:kd=\EB:\
-	:ke=\E>:kl=\ED:kr=\EC:ks=\E=:ku=\EA:l1=PF1:l2=PF2:l3=PF3:\
-	:l4=PF4:le=^H:ll=\E[64;1H:me=\E[m:nd=\E[C:se=\E[m:sf=\n:\
-	:so=\E[7m:ta=^I:up=\E[A:vb=\E[?5h\E[?5l:
+	:is=\E>\E[?5l\E[?7h:vb=\E[?5h\E[?5l:tc=bg1.25:
 # (bg1.25: I added <rmam>/<smam> based on the init string -- esr)
 bg1.25|bbn bitgraph 1.25:\
 	:co#85:li#64:\
@@ -24029,145 +14255,44 @@
 
 # This entry covers the following terminals:
 # dku7102, tws2102, and tws models 2105 to 2112
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
+# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 tws-generic|dku7102|Bull Questar tws terminals:\
-	:am:es:hs:mi:ms:xn:xo:\
+	:am:es:hs:mi:ms:xn:xo:xs@:\
 	:co#80:it#8:li#24:ws#80:\
 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
-	:RI=\E[%dC:UP=\E[%dA:\
-	:ac=``aaffggj)k,l&m#n/ooppq*rrsst'u-v+w.x%yyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[2J:\
-	:cm=\E[%i%d;%df:cr=^M:ct=\E[2g:dc=\E[P:dl=\E[M:do=^J:\
-	:ds=\EPY99\:98\E\\\E[0;98v\E[2J\E[v:ei=\E[4l:fs=\E[v:\
-	:ho=\E[H:i1=\E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H:ll=\E[H\E[A:mb=\E[0;5m:me=\E[m\017:mh=\E[0;2m:\
+	:mr=\E[0;7m:nd=\E[C:rs=\E[?=h\Ec:se=\E[m:sf=^J:so=\E[0;7m:\
+	:st=\EH:ta=\E[I:te=\E[0;98v\E[2J\E[v:\
+	:ti=\E[?>h\EPY99\:98\E\\:\
 	:ts=\EPY99\:98\E\\\E[0;98v\E[2;7m:ue=\E[m:up=\E[A:\
 	:us=\E[0;4m:ve=\E[r:vi=\E[1r:
+tws2102-sna|dku7102-sna|BULL Questar tws2102 for SNA:\
+	:ds=\E[0;98v\E[2J\E[v:fs=\E[v:i2=\Eb:ts=\E[0;98v:\
+	:tc=tws-generic:
+tws2103|xdku|BULL Questar tws2103:\
+	:ta=^I:tc=tws-generic:
 tws2103-sna|dku7103-sna|BULL Questar tws2103 for SNA:\
-	:am:es:hs:mi:ms:xn:xo:\
-	:co#80:it#8:li#24:ws#80:\
-	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
-	:RI=\E[%dC:UP=\E[%dA:\
-	:ac=``aaffggj)k,l&m#n/ooppq*rrsst'u-v+w.x%yyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[2J:\
-	:cm=\E[%i%d;%df:cr=^M:ct=\E[2g:dc=\E[P:dl=\E[M:do=^J:\
-	:ds=\E[0;98v\E[2J\E[v:ei=\E[4l:fs=\E[v:ho=\E[H:\
-	:i1=\E[?=h\Ec\E`\E[?>h\EPY99\:98\E\\:i2=\Eb:im=\E[4h:\
-	:is=\E[5;>;12;18;?<l\E[=h\EP1s\E\\\E[\027p:\
-	:k1=\E[1u\027:k2=\E[2u\027:k3=\E[3u\027:k4=\E[4u\027:\
-	:k5=\E[5u\027:k6=\E[6u\027:k7=\E[7u\027:k8=\E[8u\027:\
-	:kA=\E[L:kB=\E[Z:kD=\E[P:kE=\E[K:kL=\E[M:kM=\E[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=\EPY99\:98\E\\\E[0;98v\E[2J\E[v:ei=\E[4l:fs=\E[v:\
-	:ho=\E[H:i1=\E[?=h\Ec\E`\E[?>h\EPY99\:98\E\\:\
-	:i2=\E[?3h\Eb:im=\E[4h:\
-	:is=\E[5;>;12;18;?<l\E[=h\EP1s\E\\\E[\027p:\
-	:k1=\E[1u\027:k2=\E[2u\027:k3=\E[3u\027:k4=\E[4u\027:\
-	:k5=\E[5u\027:k6=\E[6u\027:k7=\E[7u\027:k8=\E[8u\027:\
-	:kA=\E[L:kB=\E[Z:kD=\E[P:kE=\E[K:kL=\E[M:kM=\E[4l:kS=\E[J:\
-	:kT=\EH:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:kt=\E[g:\
-	:ku=\E[A:le=^H:ll=\E[H\E[A:mb=\E[0;2;4m:me=\E[m\017:\
-	:mh=\E[0;5m:mk=\E[0;8m:mr=\E[0;7m:nd=\E[C:pf=\r\E[4i:\
-	:po=\E[5i:ps=\E[0i:rs=\E[?=h\Ec:s0=^O:s1=^N:\
-	:..sa=\E[0%?%p1%p3%|%t;7%;%?%p2%t;4%;%?%p4%t;5%;%?%p5%t;2%;%?%p7%t;8%;m%?%p9%t\016%e\017%;:\
-	:se=\E[m:sf=^J:so=\E[0;4;5;7m:st=\EH:ta=^I:\
-	:te=\E[0;98v\E[2J\E[v:ti=\E[?>h\EPY99\:98\E\\:\
-	:ts=\EPY99\:98\E\\\E[0;98v\E[2;7m:ue=\E[m:up=\E[A:\
-	:us=\E[0;2m:ve=\E[r:vi=\E[1r:
+	:i2=\E[?3h\Eb:mb=\E[0;2;4m:mh=\E[0;5m:so=\E[0;4;5;7m:\
+	:ta=^I:us=\E[0;2m:tc=tws-generic:
 
 #=========================================================#
 # BULL QUESTAR 303 & 310 `DEC VT 320' terminals emulation #
@@ -24245,122 +14370,41 @@
 #
 
 # This entry covers BQ303, BQ306, BQ310, Q303, Q306, Q310
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
+# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 bq300|Bull vt320 ISO Latin 1 80 columns terminal:\
-	:5i:am:eo:es:hs:km:mi:ms:xn:xo:\
+	:am:eo:es:hs:km:mi:ms:xn:xo:\
 	:co#80:it#8:li#24:vt#3:ws#80:\
-	:%0=\E[29~:%1=\E[28~:*6=\E[4~:@0=\E[1~:AL=\E[%dL:\
-	:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:\
-	:F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:\
-	:F8=\E[32~:F9=\E[33~:FA=\E[34~:IC=\E[%d@:K1=\EOw:K2=\EOu:\
-	:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:\
-	:SA=\E[?7h:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
+	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
+	:K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
+	:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:\
+	:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
 	:ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[B:\
-	:ds=\E[1$}\E[2$~\n\E[0$}:eA=\E(B\E)0:ec=\E[%dX:ei=\E[4l:\
-	:fs=\E[0$}:ho=\E[H:i1=\E[63;1"p\E[2h:\
+	:ds=\E[1$}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=\E[7m:nd=\E[C:nw=\EE:pf=\E[4i:\
-	:po=\E[5i:ps=\E[i:r1=\E[!p:r2=\E[?3h:rc=\E8:s0=\E(B:\
-	:s1=\E(0:\
-	:..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m%?%p9%t\E(0%e\E(B%;:\
-	:sc=\E7:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
-	:te=\E[?7h:ti=\E[?7l\E[?1l\E(B:ts=\E[1$}\E[2$~:\
-	:ue=\E[24m:up=\E[A:us=\E[4m:vb=\E[?5l\E[?5h:ve=\E[?25h:\
-	:vi=\E[?25l:vs=\E[?25h:
+	:rs=\E[?3h:vb=\E[?5l\E[?5h:tc=bq300:
 
 #  This entry is used for terminals with vt320 emulation mode
 #  and following set-up : 
@@ -24416,122 +14460,42 @@
 # with:  0 All off, 1 Bold, 4 Underline, 5 Blinking, 7 Reverse
 # and : 22 Bold off, 24 Underline off, 25 Blinking off, 27 Reverse off
 # (bq300-8: :le:,:nd:,:up:,:do:,:dl:,:al: to get under 1024 --esr)
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
+# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 bq300-8|Bull vt320 full 8 bits 80 columns:\
-	:5i:am:eo:es:hs:km:mi:ms:xn:xo:\
+	:am:eo:es:hs:km:mi:ms:xn:xo:\
 	:co#80:it#8:li#24:vt#3:ws#80:\
-	:%0=\23329~:%1=\23328~:*6=\2334~:@0=\2331~:AL=\233%dL:\
-	:DC=\233%dP:DL=\233%dM:DO=\233%dB:F1=\23323~:F2=\23324~:\
-	:F3=\23325~:F4=\23326~:F5=\23328~:F6=\23329~:F7=\23331~:\
-	:F8=\23332~:F9=\23333~:FA=\23334~:IC=\233%d@:K1=\217w:\
-	:K2=\217u:K3=\217y:K4=\217q:K5=\217s:LE=\233%dD:\
-	:RA=\233?7l:RI=\233%dC:SA=\233?7h:UP=\233%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:as=^N:bl=^G:cb=\2331K:cd=\233J:ce=\233K:\
+	:AL=\233%dL:DC=\233%dP:DL=\233%dM:DO=\233%dB:IC=\233%d@:\
+	:K1=\217w:K2=\217u:K3=\217y:K4=\217q:K5=\217s:LE=\233%dD:\
+	:RI=\233%dC:UP=\233%dA:ae=^O:as=^N:bl=^G:cd=\233J:ce=\233K:\
 	:cl=\233H\233J:cm=\233%i%d;%dH:cr=^M:cs=\233%i%d;%dr:\
 	:ct=\2333g:dc=\233P:ds=\2331$}\2332$~\n\2330$}:\
-	:eA=\E(B\E)0:ec=\233%dX:ei=\2334l:fs=\2330$}:ho=\233H:\
+	:ec=\233%dX:ei=\2334l:fs=\2330$}:ho=\233H:\
 	:i1=\E[63;2"p\E[2h:i2=\2330$}\233?25h\2332l\233H\233J:\
 	:im=\2334h:\
 	:is=\E[?2h\E[?3l\E[?5l\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l:\
 	:k1=\217P:k2=\217Q:k3=\217R:k4=\217S:k6=\23317~:\
-	:k7=\23318~:k8=\23319~:k9=\23320~:k;=\23321~:kD=\2333~:\
-	:kI=\2332~:kN=\2336~:kP=\2335~:kb=^H:kd=\233B:\
-	:ke=\233?1l\E>:kl=\233D:kr=\233C:ku=\233A:l1=pf1:l2=pf2:\
-	:l3=pf3:l4=pf4:mb=\2335m:md=\2331m:me=\2330m\E(B:\
-	:mr=\2337m:nw=\EE:pf=\2334i:po=\2335i:ps=\233i:r1=\E[!p:\
-	:r2=\E[?3l:rc=\E8:s0=\E(B:s1=\E(0:\
-	:..sa=\233%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m%?%p9%t\E(0%e\E(B%;:\
-	:sc=\E7:se=\23327m:sf=\ED:so=\2337m:sr=\EM:st=\EH:ta=^I:\
-	:te=\233?7h:ti=\233?7l\233?1l\E(B:ts=\2331$}\2332$~:\
-	:ue=\23324m:us=\2334m:vb=\233?5h\233?5l:ve=\233?25h:\
-	:vi=\233?25l:vs=\233?25h:
+	:k7=\23318~:k8=\23319~:k9=\23320~:kD=\2333~:kI=\2332~:\
+	:kN=\2336~:kP=\2335~:kb=^H:kd=\233B:ke=\233?1l\E>:\
+	:kl=\233D:kr=\233C:ku=\233A:mb=\2335m:md=\2331m:\
+	:me=\2330m\E(B:mr=\2337m:nw=\EE:rc=\E8:sc=\E7:se=\23327m:\
+	:sf=\ED:so=\2337m:sr=\EM:st=\EH:ta=^I:te=\233?7h:\
+	:ti=\233?7l\233?1l\E(B:ts=\2331$}\2332$~:ue=\23324m:\
+	:us=\2334m:vb=\233?5h\233?5l:ve=\233?25h:vi=\233?25l:\
+	:vs=\233?25h:
 bq300-8rv|Bull vt320 8-bit reverse mode 80 columns:\
-	:5i:am:eo:es:hs:km:mi:ms:xn:xo:\
-	:co#80:it#8:li#24:vt#3:ws#80:\
-	:%0=\23329~:%1=\23328~:*6=\2334~:@0=\2331~:AL=\233%dL:\
-	:DC=\233%dP:DL=\233%dM:DO=\233%dB:F1=\23323~:F2=\23324~:\
-	:F3=\23325~:F4=\23326~:F5=\23328~:F6=\23329~:F7=\23331~:\
-	:F8=\23332~:F9=\23333~:FA=\23334~:IC=\233%d@:K1=\217w:\
-	:K2=\217u:K3=\217y:K4=\217q:K5=\217s:LE=\233%dD:\
-	:RA=\233?7l:RI=\233%dC:SA=\233?7h:UP=\233%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:as=^N:bl=^G:cb=\2331K:cd=\233J:ce=\233K:\
-	:cl=\233H\233J:cm=\233%i%d;%dH:cr=^M:cs=\233%i%d;%dr:\
-	:ct=\2333g:dc=\233P:ds=\2331$}\2332$~\n\2330$}:\
-	:eA=\E(B\E)0:ec=\233%dX:ei=\2334l:fs=\2330$}:ho=\233H:\
-	:i1=\E[63;2"p\E[2h:i2=\2330$}\233?25h\2332l\233H\233J:\
-	:im=\2334h:\
 	:is=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l:\
-	:k1=\217P:k2=\217Q:k3=\217R:k4=\217S:k6=\23317~:\
-	:k7=\23318~:k8=\23319~:k9=\23320~:k;=\23321~:kD=\2333~:\
-	:kI=\2332~:kN=\2336~:kP=\2335~:kb=^H:kd=\233B:\
-	:ke=\233?1l\E>:kl=\233D:kr=\233C:ku=\233A:l1=pf1:l2=pf2:\
-	:l3=pf3:l4=pf4:mb=\2335m:md=\2331m:me=\2330m\E(B:\
-	:mr=\2337m:nw=\EE:pf=\2334i:po=\2335i:ps=\233i:r1=\E[!p:\
-	:r2=\E[?3l:rc=\E8:s0=\E(B:s1=\E(0:\
-	:..sa=\233%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m%?%p9%t\E(0%e\E(B%;:\
-	:sc=\E7:se=\23327m:sf=\ED:so=\2337m:sr=\EM:st=\EH:ta=^I:\
-	:te=\233?7h:ti=\233?7l\233?1l\E(B:ts=\2331$}\2332$~:\
-	:ue=\23324m:us=\2334m:vb=\233?5l\233?5h:ve=\233?25h:\
-	:vi=\233?25l:vs=\233?25h:
+	:vb=\233?5l\233?5h:tc=bq300-8:
 bq300-8w|Bull vt320 8-bit 132 columns:\
-	:5i:am:eo:es:hs:km:mi:ms:xn:xo:\
-	:co#132:it#8:li#24:vt#3:ws#132:\
-	:%0=\23329~:%1=\23328~:*6=\2334~:@0=\2331~:AL=\233%dL:\
-	:DC=\233%dP:DL=\233%dM:DO=\233%dB:F1=\23323~:F2=\23324~:\
-	:F3=\23325~:F4=\23326~:F5=\23328~:F6=\23329~:F7=\23331~:\
-	:F8=\23332~:F9=\23333~:FA=\23334~:IC=\233%d@:K1=\217w:\
-	:K2=\217u:K3=\217y:K4=\217q:K5=\217s:LE=\233%dD:\
-	:RA=\233?7l:RI=\233%dC:SA=\233?7h:UP=\233%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:as=^N:bl=^G:cb=\2331K:cd=\233J:ce=\233K:\
-	:cl=\233H\233J:cm=\233%i%d;%dH:cr=^M:cs=\233%i%d;%dr:\
-	:ct=\2333g:dc=\233P:ds=\2331$}\2332$~\n\2330$}:\
-	:eA=\E(B\E)0:ec=\233%dX:ei=\2334l:fs=\2330$}:ho=\233H:\
-	:i1=\E[63;2"p\E[2h:i2=\2330$}\233?25h\2332l\233H\233J:\
-	:im=\2334h:\
+	:co#132:ws#132:\
 	:is=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l:\
-	:k1=\217P:k2=\217Q:k3=\217R:k4=\217S:k6=\23317~:\
-	:k7=\23318~:k8=\23319~:k9=\23320~:k;=\23321~:kD=\2333~:\
-	:kI=\2332~:kN=\2336~:kP=\2335~:kb=^H:kd=\233B:\
-	:ke=\233?1l\E>:kl=\233D:kr=\233C:ku=\233A:l1=pf1:l2=pf2:\
-	:l3=pf3:l4=pf4:mb=\2335m:md=\2331m:me=\2330m\E(B:\
-	:mr=\2337m:nw=\EE:pf=\2334i:po=\2335i:ps=\233i:r1=\E[!p:\
-	:r2=\233?3h:rc=\E8:s0=\E(B:s1=\E(0:\
-	:..sa=\233%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m%?%p9%t\E(0%e\E(B%;:\
-	:sc=\E7:se=\23327m:sf=\ED:so=\2337m:sr=\EM:st=\EH:ta=^I:\
-	:te=\233?7h:ti=\233?7l\233?1l\E(B:ts=\2331$}\2332$~:\
-	:ue=\23324m:us=\2334m:vb=\233?5h\233?5l:ve=\233?25h:\
-	:vi=\233?25l:vs=\233?25h:
+	:rs=\233?3h:tc=bq300-8:
 bq300-w-8rv|Bull vt320 8-bit reverse mode 132 columns:\
-	:5i:am:eo:es:hs:km:mi:ms:xn:xo:\
-	:co#132:it#8:li#24:vt#3:ws#132:\
-	:%0=\23329~:%1=\23328~:*6=\2334~:@0=\2331~:AL=\233%dL:\
-	:DC=\233%dP:DL=\233%dM:DO=\233%dB:F1=\23323~:F2=\23324~:\
-	:F3=\23325~:F4=\23326~:F5=\23328~:F6=\23329~:F7=\23331~:\
-	:F8=\23332~:F9=\23333~:FA=\23334~:IC=\233%d@:K1=\217w:\
-	:K2=\217u:K3=\217y:K4=\217q:K5=\217s:LE=\233%dD:\
-	:RA=\233?7l:RI=\233%dC:SA=\233?7h:UP=\233%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:as=^N:bl=^G:cb=\2331K:cd=\233J:ce=\233K:\
-	:cl=\233H\233J:cm=\233%i%d;%dH:cr=^M:cs=\233%i%d;%dr:\
-	:ct=\2333g:dc=\233P:ds=\2331$}\2332$~\n\2330$}:\
-	:eA=\E(B\E)0:ec=\233%dX:ei=\2334l:fs=\2330$}:ho=\233H:\
-	:i1=\E[63;2"p\E[2h:i2=\2330$}\233?25h\2332l\233H\233J:\
-	:im=\2334h:\
+	:co#132:ws#132:\
 	:is=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l:\
-	:k1=\217P:k2=\217Q:k3=\217R:k4=\217S:k6=\23317~:\
-	:k7=\23318~:k8=\23319~:k9=\23320~:k;=\23321~:kD=\2333~:\
-	:kI=\2332~:kN=\2336~:kP=\2335~:kb=^H:kd=\233B:\
-	:ke=\233?1l\E>:kl=\233D:kr=\233C:ku=\233A:l1=pf1:l2=pf2:\
-	:l3=pf3:l4=pf4:mb=\2335m:md=\2331m:me=\2330m\E(B:\
-	:mr=\2337m:nw=\EE:pf=\2334i:po=\2335i:ps=\233i:r1=\E[!p:\
-	:r2=\233?3h:rc=\E8:s0=\E(B:s1=\E(0:\
-	:..sa=\233%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m%?%p9%t\E(0%e\E(B%;:\
-	:sc=\E7:se=\23327m:sf=\ED:so=\2337m:sr=\EM:st=\EH:ta=^I:\
-	:te=\233?7h:ti=\233?7l\233?1l\E(B:ts=\2331$}\2332$~:\
-	:ue=\23324m:us=\2334m:vb=\233?5l\233?5h:ve=\233?25h:\
-	:vi=\233?25l:vs=\233?25h:
+	:rs=\233?3h:vb=\233?5l\233?5h:tc=bq300-8:
 
 #  This entry is used for terminals with vt320 emulation mode
 #  a 102 keys keyboard (PC scancode !) and following set-up : 
@@ -24539,224 +14503,42 @@
 #    7 bit Control Characters, 
 #    80 columns screen.    
 bq300-pc|Questar 303 with PC keyboard ISO Latin 1 80 columns:\
-	:5i:am:eo:es:hs:km:mi:ms:xn:xo:\
-	:co#80:it#8:li#24:vt#3:ws#80:\
-	:@7=\E[4~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
-	:F1=\E[29~:F2=\E[31~:IC=\E[%d@:K1=\EOw:K2=\EOu:K3=\EOy:\
-	:K4=\EOq:K5=\EOs:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
-	:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
-	:ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[B:\
-	:ds=\E[1$}\E[2$~\n\E[0$}:eA=\E(B\E)0:ec=\E[%dX:ei=\E[4l:\
-	:fs=\E[0$}:ho=\E[H:i1=\E[63;1"p\E[2h:\
-	:i2=\E[0$}\E[?25h\E[2l\E[H\E[J:im=\E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:ds=\E[1$}\E[2$~\n\E[0$}:eA=\E(B\E)0:ec=\E[%dX:ei=\E[4l:\
-	:fs=\E[0$}:ho=\E[H:i1=\E[63;1"p\E[2h:\
-	:i2=\E[0$}\E[?25h\E[2l\E[H\E[J:im=\E[4h:\
+	:co#132:ws#132:\
 	:is=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l:\
-	:k1=\E[17~:k2=\E[18~:k3=\E[19~:k4=\E[20~:k5=\E[21~:\
-	:k6=\E[23~:k7=\E[24~:k8=\E[25~:k9=\E[26~:k;=\E[28~:\
-	:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:\
-	:ke=\E[?1l\E>:kh=\E[1~:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:\
-	:mb=\E[5m:md=\E[1m:me=\E[0m\E(B:mr=\E[7m:nd=\E[C:nw=\EE:\
-	:pf=\E[4i:po=\E[5i:ps=\E[i:r1=\E[!p:r2=\E[?3h:rc=\E8:\
-	:s0=\E(B:s1=\E(0:\
-	:..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m%?%p9%t\E(0%e\E(B%;:\
-	:sc=\E7:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
-	:te=\E[?7h:ti=\E[?7l\E[?1l\E(B:ts=\E[1$}\E[2$~:\
-	:ue=\E[24m:up=\E[A:us=\E[4m:vb=\E[?5l\E[?5h:ve=\E[?25h:\
-	:vi=\E[?25l:vs=\E[?25h:
+	:rs=\E[?3h:vb=\E[?5l\E[?5h:tc=bq300-pc:
 #    8 bit ISO Latin Character Set (ISO 8859-1),
 #    8 bit Control Characters, 
 #    80 columns screen.    
 bq300-8-pc|Q306-8-pc|Questar 303 with PC keyboard in full 8 bits 80 columns:\
-	:5i:am:eo:es:hs:km:mi:ms:xn:xo:\
-	:co#80:it#8:li#24:vt#3:ws#80:\
-	:@7=\2334~:AL=\233%dL:DC=\233%dP:DL=\233%dM:DO=\233%dB:\
-	:F1=\23329~:F2=\23331~:IC=\233%d@:K1=\217w:K2=\217u:\
-	:K3=\217y:K4=\217q:K5=\217s:LE=\233%dD:RA=\233?7l:\
-	:RI=\233%dC:SA=\233?7h:UP=\233%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:as=^N:bl=^G:cb=\2331K:cd=\233J:ce=\233K:\
-	:cl=\233H\233J:cm=\233%i%d;%dH:cr=^M:cs=\233%i%d;%dr:\
-	:ct=\2333g:dc=\233P:ds=\2331$}\2332$~\n\2330$}:\
-	:eA=\E(B\E)0:ec=\233%dX:ei=\2334l:fs=\2330$}:ho=\233H:\
-	:i1=\E[63;2"p\E[2h:i2=\2330$}\233?25h\2332l\233H\233J:\
-	:im=\2334h:\
-	:is=\E[?2h\E[?3l\E[?5l\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l:\
-	:k1=\23317~:k2=\23318~:k3=\23319~:k4=\23320~:k5=\23321~:\
-	:k6=\23323~:k7=\23324~:k8=\23325~:k9=\23326~:k;=\23328~:\
-	:kD=\2333~:kI=\2332~:kN=\2336~:kP=\2335~:kb=^H:kd=\233B:\
-	:ke=\233?1l\E>:kh=\2331~:kl=\233D:kr=\233C:ku=\233A:\
-	:mb=\2335m:md=\2331m:me=\2330m\E(B:mr=\2337m:nw=\EE:\
-	:pf=\2334i:po=\2335i:ps=\233i:r1=\E[!p:r2=\E[?3l:rc=\E8:\
-	:s0=\E(B:s1=\E(0:\
-	:..sa=\233%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m%?%p9%t\E(0%e\E(B%;:\
-	:sc=\E7:se=\23327m:sf=\ED:so=\2337m:sr=\EM:st=\EH:ta=^I:\
-	:te=\233?7h:ti=\233?7l\233?1l\E(B:ts=\2331$}\2332$~:\
-	:ue=\23324m:us=\2334m:vb=\233?5h\233?5l:ve=\233?25h:\
-	:vi=\233?25l:vs=\233?25h:
+	:%0@:%1@:*6@:@0@:@7=\2334~:F1=\23329~:F2=\23331~:F3@:F4@:F5@:\
+	:F6@:F7@:F8@:F9@:FA@:k1=\23317~:k2=\23318~:k3=\23319~:\
+	:k4=\23320~:k5=\23321~:k6=\23323~:k7=\23324~:k8=\23325~:\
+	:k9=\23326~:k;=\23328~:kD=\2333~:kI=\2332~:kN=\2336~:\
+	:kP=\2335~:kb=^H:kh=\2331~:l1@:l2@:l3@:l4@:tc=bq300-8:
 bq300-8-pc-rv|Questar 303 with PC keyboard full 8 bits reverse mode 80 columns:\
-	:5i:am:eo:es:hs:km:mi:ms:xn:xo:\
-	:co#80:it#8:li#24:vt#3:ws#80:\
-	:@7=\2334~:AL=\233%dL:DC=\233%dP:DL=\233%dM:DO=\233%dB:\
-	:F1=\23329~:F2=\23331~:IC=\233%d@:K1=\217w:K2=\217u:\
-	:K3=\217y:K4=\217q:K5=\217s:LE=\233%dD:RA=\233?7l:\
-	:RI=\233%dC:SA=\233?7h:UP=\233%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:as=^N:bl=^G:cb=\2331K:cd=\233J:ce=\233K:\
-	:cl=\233H\233J:cm=\233%i%d;%dH:cr=^M:cs=\233%i%d;%dr:\
-	:ct=\2333g:dc=\233P:ds=\2331$}\2332$~\n\2330$}:\
-	:eA=\E(B\E)0:ec=\233%dX:ei=\2334l:fs=\2330$}:ho=\233H:\
-	:i1=\E[63;2"p\E[2h:i2=\2330$}\233?25h\2332l\233H\233J:\
-	:im=\2334h:\
 	:is=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l:\
-	:k1=\23317~:k2=\23318~:k3=\23319~:k4=\23320~:k5=\23321~:\
-	:k6=\23323~:k7=\23324~:k8=\23325~:k9=\23326~:k;=\23328~:\
-	:kD=\2333~:kI=\2332~:kN=\2336~:kP=\2335~:kb=^H:kd=\233B:\
-	:ke=\233?1l\E>:kh=\2331~:kl=\233D:kr=\233C:ku=\233A:\
-	:mb=\2335m:md=\2331m:me=\2330m\E(B:mr=\2337m:nw=\EE:\
-	:pf=\2334i:po=\2335i:ps=\233i:r1=\E[!p:r2=\E[?3l:rc=\E8:\
-	:s0=\E(B:s1=\E(0:\
-	:..sa=\233%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m%?%p9%t\E(0%e\E(B%;:\
-	:sc=\E7:se=\23327m:sf=\ED:so=\2337m:sr=\EM:st=\EH:ta=^I:\
-	:te=\233?7h:ti=\233?7l\233?1l\E(B:ts=\2331$}\2332$~:\
-	:ue=\23324m:us=\2334m:vb=\E[?5l\E[?5h:ve=\233?25h:\
-	:vi=\233?25l:vs=\233?25h:
+	:vb=\E[?5l\E[?5h:tc=bq300-8-pc:
 bq300-8-pc-w|Questar 303 with PC keyboard full 8 bits 132 columns:\
-	:5i:am:eo:es:hs:km:mi:ms:xn:xo:\
-	:co#132:it#8:li#24:vt#3:ws#132:\
-	:@7=\2334~:AL=\233%dL:DC=\233%dP:DL=\233%dM:DO=\233%dB:\
-	:F1=\23329~:F2=\23331~:IC=\233%d@:K1=\217w:K2=\217u:\
-	:K3=\217y:K4=\217q:K5=\217s:LE=\233%dD:RA=\233?7l:\
-	:RI=\233%dC:SA=\233?7h:UP=\233%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:as=^N:bl=^G:cb=\2331K:cd=\233J:ce=\233K:\
-	:cl=\233H\233J:cm=\233%i%d;%dH:cr=^M:cs=\233%i%d;%dr:\
-	:ct=\2333g:dc=\233P:ds=\2331$}\2332$~\n\2330$}:\
-	:eA=\E(B\E)0:ec=\233%dX:ei=\2334l:fs=\2330$}:ho=\233H:\
-	:i1=\E[63;2"p\E[2h:i2=\2330$}\233?25h\2332l\233H\233J:\
-	:im=\2334h:\
+	:co#132:ws#132:\
 	:is=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l:\
-	:k1=\23317~:k2=\23318~:k3=\23319~:k4=\23320~:k5=\23321~:\
-	:k6=\23323~:k7=\23324~:k8=\23325~:k9=\23326~:k;=\23328~:\
-	:kD=\2333~:kI=\2332~:kN=\2336~:kP=\2335~:kb=^H:kd=\233B:\
-	:ke=\233?1l\E>:kh=\2331~:kl=\233D:kr=\233C:ku=\233A:\
-	:mb=\2335m:md=\2331m:me=\2330m\E(B:mr=\2337m:nw=\EE:\
-	:pf=\2334i:po=\2335i:ps=\233i:r1=\E[!p:r2=\E[?3h:rc=\E8:\
-	:s0=\E(B:s1=\E(0:\
-	:..sa=\233%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m%?%p9%t\E(0%e\E(B%;:\
-	:sc=\E7:se=\23327m:sf=\ED:so=\2337m:sr=\EM:st=\EH:ta=^I:\
-	:te=\233?7h:ti=\233?7l\233?1l\E(B:ts=\2331$}\2332$~:\
-	:ue=\23324m:us=\2334m:vb=\233?5h\233?5l:ve=\233?25h:\
-	:vi=\233?25l:vs=\233?25h:
+	:rs=\E[?3h:tc=bq300-8-pc:
 bq300-8-pc-w-rv|Questar 303 with PC keyboard full 8 bits reverse 132 columns:\
-	:5i:am:eo:es:hs:km:mi:ms:xn:xo:\
-	:co#132:it#8:li#24:vt#3:ws#132:\
-	:@7=\2334~:AL=\233%dL:DC=\233%dP:DL=\233%dM:DO=\233%dB:\
-	:F1=\23329~:F2=\23331~:IC=\233%d@:K1=\217w:K2=\217u:\
-	:K3=\217y:K4=\217q:K5=\217s:LE=\233%dD:RA=\233?7l:\
-	:RI=\233%dC:SA=\233?7h:UP=\233%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:as=^N:bl=^G:cb=\2331K:cd=\233J:ce=\233K:\
-	:cl=\233H\233J:cm=\233%i%d;%dH:cr=^M:cs=\233%i%d;%dr:\
-	:ct=\2333g:dc=\233P:ds=\2331$}\2332$~\n\2330$}:\
-	:eA=\E(B\E)0:ec=\233%dX:ei=\2334l:fs=\2330$}:ho=\233H:\
-	:i1=\E[63;2"p\E[2h:i2=\2330$}\233?25h\2332l\233H\233J:\
-	:im=\2334h:\
+	:co#132:ws#132:\
 	:is=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l:\
-	:k1=\23317~:k2=\23318~:k3=\23319~:k4=\23320~:k5=\23321~:\
-	:k6=\23323~:k7=\23324~:k8=\23325~:k9=\23326~:k;=\23328~:\
-	:kD=\2333~:kI=\2332~:kN=\2336~:kP=\2335~:kb=^H:kd=\233B:\
-	:ke=\233?1l\E>:kh=\2331~:kl=\233D:kr=\233C:ku=\233A:\
-	:mb=\2335m:md=\2331m:me=\2330m\E(B:mr=\2337m:nw=\EE:\
-	:pf=\2334i:po=\2335i:ps=\233i:r1=\E[!p:r2=\E[?3h:rc=\E8:\
-	:s0=\E(B:s1=\E(0:\
-	:..sa=\233%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m%?%p9%t\E(0%e\E(B%;:\
-	:sc=\E7:se=\23327m:sf=\ED:so=\2337m:sr=\EM:st=\EH:ta=^I:\
-	:te=\233?7h:ti=\233?7l\233?1l\E(B:ts=\2331$}\2332$~:\
-	:ue=\23324m:us=\2334m:vb=\E[?5l\E[?5h:ve=\233?25h:\
-	:vi=\233?25l:vs=\233?25h:
+	:rs=\E[?3h:vb=\E[?5l\E[?5h:tc=bq300-8-pc:
 
 #======================================================#
 # BULL QUESTAR 310 `VIP 7800/8800' terminals emulation #
@@ -24811,12 +14593,15 @@
 #	    reset :			^{
 #
 # This covers the vip7800 and BQ3155-vip7800
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
 vip|Bull Questar 3155-7800:\
 	:5i:am:es:hs:km:ms:xn:xo:\
 	:co#80:it#8:li#24:vt#3:ws#80:\
-	:#2=\EH:#4=\Eo:%i=\Eu:F1=\E\\:F2=\E^:FB=\E1:FC=\E5:FD=\E7:\
-	:FE=\E9:FF=\E;:FG=\E=:FH=\E?:FI=\EQ:FJ=\ES:FK=\EV:FL=\E]:\
-	:FM=\E_:ac=jdkblamcnkqitgufvhwexj0p:ae=\EF:as=\EG:bl=^G:\
+	:#2=\EH:#4=\Eo:%i=\Eu:F1=\E\\:F2=\E^:F3@:F4@:F5@:F6@:F7@:F8@:\
+	:F9@:FA@:FB=\E1:FC=\E5:FD=\E7:FE=\E9:FF=\E;:FG=\E=:FH=\E?:\
+	:FI=\EQ:FJ=\ES:FK=\EV:FL=\E]:FM=\E_:ae=\EF:as=\EG:bl=^G:\
 	:bt=\E[Z:cd=\EJ:ce=\EK:cl=\E`:cm=\E[%i%03%03f:cr=^M:\
 	:ct=\E[N:dc=\E[P:dl=\E[M:do=^J:ds=\Ev:ei=\E[J:fs=\EO:ho=\EH:\
 	:i2=\Er\E[W\E`:ic=\E[I:im=\E[I:\
@@ -24832,62 +14617,15 @@
 	:ta=^I:ts=\Ew:ue=\EsR:up=\EA:us=\Es_:vb=\007\007\007:
 # normal screen, 8 bits, 132 columns terminal.
 vip-w|vip7800-w|Q310-vip-w|Q310-vip-w-am|Questar 3155-vip7800 wide:\
-	:5i:am:es:hs:km:ms:xn:xo:\
-	:co#132:it#8:li#24:vt#3:ws#132:\
-	:#2=\EH:#4=\Eo:%i=\Eu:F1=\E\\:F2=\E^:FB=\E1:FC=\E5:FD=\E7:\
-	:FE=\E9:FF=\E;:FG=\E=:FH=\E?:FI=\EQ:FJ=\ES:FK=\EV:FL=\E]:\
-	:FM=\E_:ac=jdkblamcnkqitgufvhwexj0p:ae=\EF:as=\EG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 %+ :cr=^M:do=^J:\
 	:le=^H:nd=\EC:sf=^J:sr=\EI:ta=^I:up=\EA:
-# (<acsc>/:ae:/:as: capabilities aren't in DEC's official entry -- esr)
-vt52|dec vt52:\
-	:bs:\
-	:co#80:it#8:li#24:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=\EG:as=\EF:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :\
-	:cr=^M:do=\EB:ho=\EH:kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:\
-	:le=\ED:nd=\EC:nw=^M^J:sf=^J:sr=\EI:ta=^I:up=\EA:
-
 # (vt61: there's a BSD termcap that claims :dl=\EPd:, :al=\EPf.: :kb=^H:)
 vt61|vt-61|vt61.5|dec vt61:\
 	:co#80:li#24:\
@@ -25105,10 +14833,9 @@
 	:bl=^G:cr=^M:do=^J:hd=\EK:hu=\EL:me=\E[m:nw=^M^J:se=\E[22m:\
 	:sf=^J:so=\E[1m:ta=^I:ue=\E[24m:us=\E[4m:
 ln03-w|dec ln03 laser printer 132 cols:\
-	:hc:\
-	:co#132:li#66:\
-	:bl=^G:cr=^M:do=^J:hd=\EK:hu=\EL:kb=^H:kd=^J:kl=^H:me=\E[m:\
-	:nw=^M^J:se=\E[22m:sf=^J:so=\E[1m:ta=^I:ue=\E[24m:us=\E[4m:
+	:co#132:\
+	:bl=^G:cr=^M:do=^J:kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:\
+	:tc=ln03:
 
 #### Delta Data (dd)
 #
@@ -25154,20 +14881,9 @@
 # (ps300: changed ":pt@:" to "it@" -- esr)
 #
 ps300|Picture System 300:\
-	:am:bs:ms:xn:xo:xt:\
-	:co#80:li#24:vt#3:\
-	:@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
-	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\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ER:kb=^H:kd=\EB:ke=\Eu:kh=\EH:kl=\ED:kr=\EC:\
-	:ks=\Et:ku=\EA:l6=blue:l7=red:l8=white:le=^H:nd=\EC:se=\Eq:\
-	:sf=^J:so=\Ep:sr=\EI:ta=^I:ts=\Ej\Ex5\EY8%+ \Eo\Eo:up=\EA:\
-	:ve=\Ey4:vs=\Ex4:
+	:ke=\Eu:ks=\Et:tc=h19-b:
 h19-us|h19us|h19-smul|heathkit w/keypad shifted/underscore cursor:\
-	:am:bs:es:hs:mi:ms:\
-	:co#80:it#8:li#24:\
-	:ac=:ae=\EG:as=\EF:bl=^G:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :\
-	:cr=^M:dc=\EN:do=\EB:ei=\EO:fs=\Ek\Ey5:ho=\EH:im=\E@:\
-	:ip=1.5<1.5/>:k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:\
-	:k7=\EQ:k8=\ER:kb=^H:kd=\EB:ke=\Eu:kh=\EH:kl=\ED:kr=\EC:\
-	:ks=\Et:ku=\EA:l6=blue:l7=red:l8=white:le=^H:nd=\EC:se=\Eq:\
-	:sf=^J:so=\Ep:sr=\EI:ta=^I:ts=\Ej\Ex5\EY8%+ \Eo\Eo:up=\EA:
+	:ke=\Eu:ks=\Et:tc=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 
@@ -25271,34 +14972,12 @@
 	:sr=\EI:ta=^I:ts=\Ej\Ex5\EY8%+ \Eo\Eo:up=\EA:ve=\Ey4:\
 	:vs=\Ex4:
 h19-u|heathkit with underscore cursor:\
-	:am:bs:es:hs:mi:ms:\
-	:co#80:it#8:li#24:\
-	:ac=:ae=\EG:as=\EF:bl=^G:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :\
-	:cr=^M:dc=\EN:do=\EB:ei=\EO:fs=\Ek\Ey5:ho=\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kr=\EC:ku=\EA:l6=blue:l7=red:l8=white:le=^H:nd=\EC:se=\Eq:\
-	:sf=^J:so=\Ep:sr=\EI:ta=^I:ts=\Ej\Ex5\EY8%+ \Eo\Eo:up=\EA:\
-	:ve=\Ey4:vs=\Ex4:
+	:li#60:\
+	:al=\EL:dl=\EM:tc=h19:
 
 # The major problem with the Z29 is that it requires more padding than the Z19.
 #
@@ -25376,63 +15055,21 @@
 	:ts=\E[s\E[>5;1h\E[25;%i%dH\E[1K:ue=\E[m:up=\E[A:\
 	:us=\E[4m:
 z29a-kc-uc|h29a-kc-uc|z29 ansi mode with keyckick and underscore cursor:\
-	:am:bs:es:hs:mi:ms:pt:\
-	:co#80:it#8:kn#10:li#24:\
-	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
-	:RI=\E[%dC:UP=\E[%dA:bc=\ED:bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J:\
-	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[1P:\
-	:do=^J:ds=\E[>1l:fs=\E[u\E[>5l:ho=\E[H:\
-	:if=/usr/share/tabset/vt100:k0=\E[~:k1=\EOS:k2=\EOT:\
-	:k3=\EOU:k4=\EOV:k5=\EOW:k6=\EOP:k7=\EOQ:k8=\EOR:k9=\EOX:\
-	:kC=\E[J:kS=\E[J:kb=^H:kd=\EOB:kh=\E[H:kl=\EOD:kr=\EOC:\
-	:ku=\EOA:l0=help:le=^H:mb=\E[5m:md=\E[2m:me=\E[m:mh=\E[2m:\
-	:mr=\E[7m:nd=\E[C:nw=^M\ED:ps=\E#7:\
 	:r1=\E<\E[1;24r\E[24;1H\E[?7h\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m:\
-	:rc=\E[r:sc=\E[s:se=\E[m:sf=\ED:so=\E[7;2m:sr=\EM:st=\EH:\
-	:ta=^I:te=\E[?7h:ti=\E[?7l:\
-	:ts=\E[s\E[>5;1h\E[25;%i%dH\E[1K:ue=\E[m:up=\E[A:\
-	:us=\E[4m:
+	:tc=z29a:
 z29a-nkc-bc|h29a-nkc-bc|z29 ansi mode with block cursor and no keyclick:\
-	:am:bs:es:hs:mi:ms:pt:\
-	:co#80:it#8:kn#10:li#24:\
-	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
-	:RI=\E[%dC:UP=\E[%dA:bc=\ED:bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J:\
-	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[1P:\
-	:do=^J:ds=\E[>1l:fs=\E[u\E[>5l:ho=\E[H:\
-	:if=/usr/share/tabset/vt100:k0=\E[~:k1=\EOS:k2=\EOT:\
-	:k3=\EOU:k4=\EOV:k5=\EOW:k6=\EOP:k7=\EOQ:k8=\EOR:k9=\EOX:\
-	:kC=\E[J:kS=\E[J:kb=^H:kd=\EOB:kh=\E[H:kl=\EOD:kr=\EOC:\
-	:ku=\EOA:l0=help:le=^H:mb=\E[5m:md=\E[2m:me=\E[m:mh=\E[2m:\
-	:mr=\E[7m:nd=\E[C:nw=^M\ED:ps=\E#7:\
 	:r1=\E<\E[1;24r\E[24;1H\E[?7h\E[>2;4h\E[>1;3;5;6;7;8;9l\E[m\E[11m:\
-	:rc=\E[r:sc=\E[s:se=\E[m:sf=\ED:so=\E[7;2m:sr=\EM:st=\EH:\
-	:ta=^I:te=\E[?7h:ti=\E[?7l:\
-	:ts=\E[s\E[>5;1h\E[25;%i%dH\E[1K:ue=\E[m:up=\E[A:\
-	:us=\E[4m:
+	:tc=z29a:
 z29a-nkc-uc|h29a-nkc-uc|z29 ansi mode with underscore cursor and no keyclick:\
-	:am:bs:es:hs:mi:ms:pt:\
-	:co#80:it#8:kn#10:li#24:\
-	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
-	:RI=\E[%dC:UP=\E[%dA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=\E[0J:\
 	:ce=\E[0K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:\
 	:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[1P:dl=\E[1M:do=\E[B:\
@@ -25448,14 +15085,7 @@
 
 # From: Brad Brahms <Brahms@USC-ECLC>
 z100|h100|z110|z-100|h-100|heath/zenith z-100 pc with color monitor:\
-	:bs:mi:ms:pt:\
-	:co#80:it#8:kn#10:li#24:\
-	:ac=:ae=\EG:al=5*\EL:as=\EF:cd=\EJ:ce=\EK:cl=5*\EE:\
-	:cm=1*\EY%+ %+ :dc=1*\EN:dl=5*\EM:do=\EB:ei=\EO:ho=\EH:\
-	:im=\E@:k0=\EJ:k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:\
-	:k7=\EQ:k8=\ER:k9=\EOI:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:\
-	:ku=\EA:le=^H:nd=\EC:se=\Eq:so=\Ep:sr=\EI:ta=^I:up=\EA:\
-	:ve=\Ey4\Em70:vs=\Ex4\Em71:
+	:ve=\Ey4\Em70:vs=\Ex4\Em71:tc=z100bw:
 # (z100bw: removed obsolete ":kn#10:", added empty <acsc> -- esr)
 z100bw|h100bw|z110bw|z-100bw|h-100bw|heath/zenith z-100 pc:\
 	:bs:mi:ms:pt:\
@@ -25467,15 +15097,7 @@
 	:ku=\EA:le=^H:nd=\EC:se=\Eq:so=\Ep:sr=\EI:ta=^I:up=\EA:\
 	:ve=\Ey4:vs=\Ex4:
 p19|h19-b with il1/dl1:\
-	:am:bs:es:hs:mi:ms:\
-	:co#80:it#8:li#24:\
-	:ac=:ae=\EG:al=2*\EL:as=\EF:bl=^G:cd=\EJ:ce=\EK:cl=\EE:\
-	:cm=\EY%+ %+ :cr=^M:dc=\EN:dl=2*\EM:do=\EB:ei=\EO:\
-	:fs=\Ek\Ey5:ho=\EH:im=\E@:ip=1.5<1.5/>:k1=\ES:k2=\ET:\
-	:k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:k8=\ER:kb=^H:kd=\EB:\
-	:kh=\EH:kl=\ED:kr=\EC:ku=\EA:l6=blue:l7=red:l8=white:le=^H:\
-	:nd=\EC:se=\Eq:sf=^J:so=\Ep:sr=\EI:ta=^I:\
-	:ts=\Ej\Ex5\EY8%+ \Eo\Eo:up=\EA:ve=\Ey4:vs=\Ex4:
+	:al=2*\EL:dl=2*\EM:tc=h19-b:
 # From: <ucscc!B.fiatlux@ucbvax.berkeley.edu>
 # (ztx: removed duplicate :sr: -- esr)
 ztx|ztx11|zt-1|htx11|ztx-1-a|ztx-10 or 11:\
@@ -25498,39 +15120,17 @@
 
 # From: Erik Fair <fair@ucbarpa.berkeley.edu>  Sun Oct 27 07:21:05 1985
 ims950-b|bare ims950 no init string:\
-	:am:bs:hs:mi:ms:xo:\
-	:co#80:it#8:li#24:sg#1:ug#1:\
-	:ac=d\rc\014e\nb\011i\013:ae=^X:al=\EE:as=^U:bl=^G:bt=\EI:\
-	:cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :cr=^M:ct=\E3:dc=\EW:\
-	:dl=\ER:do=^J:ds=\Eg\Ef\r:ei=\Er:fs=^M:ho=^^:ic=\EQ:im=\Eq:\
-	:kA=\EE:kB=\EI:kC=\E*:kD=\EW:kE=\Et:kI=\EQ:kL=\ER:kS=\Ey:\
-	:le=^H:me=\EG0:mr=\EG4:nd=^L:pf=\Ea:po=\E`:se=\EG0:sf=^J:\
-	:so=\EG4:sr=\Ej:st=\E1:ta=^I:ts=\Eg\Ef:ue=\EG0:up=^K:\
-	:us=\EG8:
+	:is@:tc=ims950:
 # (ims950: removed obsolete ":ko@:" -- esr)
 ims950|ims televideo 950 emulation:\
-	:am:bs:hs:mi:ms:xo:\
-	:co#80:it#8:li#24:sg#1:ug#1:\
-	:ac=d\rc\014e\nb\011i\013:ae=^X:al=\EE:as=^U:bl=^G:bt=\EI:\
-	:cd=\Ey:ce=\Et:cl=\E*:cm=\E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:st=\E1:ta=^I:ts=\Eg\Ef:ue=\EG0:up=^K:\
-	:us=\EG8:
+	:xn@:\
+	:k0@:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:k9@:kb@:kd@:kh@:kl@:kr@:ku@:vb@:\
+	:tc=tvi950-rv:
 ims-ansi|ultima2|ultimaII|IMS Ultima II:\
 	:am:bs:\
 	:co#80:it#8:li#24:\
@@ -25565,11 +15165,9 @@
 # are typing and a command comes in, the keystrokes you type get interspersed
 # with the command and it messes up
 intertube2|intertec data systems intertube 2:\
-	:am:bs:\
-	:co#80:li#25:\
-	:bl=^G:ce=\EK:ch=\020%B%.:cl=^L:cm=\016%.\020%B%.:cr=^M:\
-	:cv=\013%.:do=^J:ho=^A:le=^H:ll=^K^X\r:nd=^F:se=\E0@:sf=^J:\
-	:so=\E0P:up=^Z:
+	:bs:\
+	:ce=\EK:ch=\020%B%.:cm=\016%.\020%B%.:cv=\013%.:\
+	:ll=^K^X\r:tc=intertube:
 
 #### Ithaca Intersystems
 #
@@ -25604,17 +15202,8 @@
 	:ve=\Ez56;2;0;0z\Ez73z\Ez4;1;1z:\
 	:vs=\Ez4;2;1z\Ez56;2;80;24z:
 graphos-30|graphos III with 30 lines:\
-	:am:mi:\
-	:co#80:it#8:li#30:\
-	:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
-	:UP=\E[%dA:al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
-	:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:dm=\E[4h:do=\E[B:\
-	:ed=\E[4l:ei=\E[4l:ho=\E[H:im=\E[4h:k1=\EOP:k2=\EOQ:\
-	:k3=\EOR:k4=\EOS:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:\
-	:ku=\E[A:le=^H:me=\E[m:nd=\E[C:nw=^M\ED:rc=\E8:sc=\E7:\
-	:se=\E[m:sf=\ED:so=\E[7m:sr=\EM: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EG1:vb=\EK1\EK0:ve=\E"2:vi=\E"0:\
+	:tc=adm+sgr:
 
 #### Motorola
 #
@@ -25776,19 +15352,8 @@
 	:vs=\E[>7h\E[>9l:
 # [TO DO: Check out: short forms of ho/cl and ll; reset (\Ec)].
 rt6221-w|Ramtek 6221 160x48:\
-	:bs:ms:pt:xo:\
-	:co#160:it#8:kn#4:li#48:vt#3:\
-	:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ac=:ae=^O:as=^N:\
-	:bl=^G:cd=\E[J:ce=\E[K:cl=\E[1;1H\E[J:cm=\E[%i%d;%dH:\
-	:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:do=^K:ho=\E[1;1H:is=\E)0:\
-	:k0=\EOP:k1=\EOQ:k2=\EOR:k3=\EOS:kb=^H:kd=\E[B:ke=\E>:\
-	:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:l0=PF1:l1=PF2:l2=PF3:l3=PF4:\
-	:le=^H:ll=\E[48;1H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:\
-	:nd=\E[C:nw=\EE:\
-	:r1=\E[1w\E[>37m\E[>39m\E[1v\E[20l\E[?3l\E[?6l\E[>5h\E[>6h\E[>7h\E[>8l\E[>9h\E[>10l\E[1;24r\E[m\E[q\E(B\017\E)0\E#5\E>:\
-	:rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
-	:ue=\E[m:up=\EM:us=\E[4m:ve=\E[>5h\E[>9h:vi=\E[>5l:\
-	:vs=\E[>7h\E[>9l:
+	:co#160:li#48:\
+	:ll=\E[48;1H:tc=rt6221:
 
 #### RCA
 #
@@ -25830,19 +15395,7 @@
 	:rc=\E8:sc=\E7:se=\E[m:so=\E[7m:st=\EH:ta=^I:ue=\E[m:up=\EM:\
 	:us=\E[4m:
 hirez100-w|Selanar HiREZ-100 in 132-column mode:\
-	:bs:mi:ms:pt:xo:\
-	:co#132:it#8:kn#4:li#48:vt#3:\
-	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
-	:RI=\E[%dC:UP=\E[%dA:ac=:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:\
-	:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:\
-	:dc=\E[P:dl=\E[M:do=^J:ho=\E[H:is=\E<\E)0:k0=\EOP:k1=\EOQ:\
-	:k2=\EOR:k3=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
-	:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l0=PF1:l1=PF2:l2=PF3:l3=PF4:\
-	:le=^H:ll=\E[48H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:\
-	:nd=\E[C:nw=\EE:pf=\E[4i\E[?4i:po=\E[?5i\E[5i:ps=\E[i:\
-	:r1=\030\E2\E<\E[4i\E[?4i\E[12h\E[2;4;20l\E[?0;7h\E[?1;3;6;19l\E[r\E[m\E(B\017\E)0\E>:\
-	:rc=\E8:sc=\E7:se=\E[m:so=\E[7m:st=\EH:ta=^I:ue=\E[m:up=\EM:\
-	:us=\E[4m:
+	:co#132:tc=hirez100:
 
 #### Signetics
 #
@@ -25878,11 +15431,7 @@
 
 # (soroc120: removed obsolete ":ma=^K^P^R^L^L :" -- esr)
 soroc120|iq120|soroc|soroc iq120:\
-	:am:bs:\
-	:co#80:li#24:\
-	:bl=^G:cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :cr=^M:do=^J:ho=^^:\
-	:kd=^J:kl=^H:kr=^L:ku=^K:le=^H:ma=^K^P:nd=^L:nl=^J:r1=^N:\
-	:rs=^N:sf=^J:up=^K:
+	:cd=\EY:ce=\ET:cl=\E*:do=^J:kd=^J:kl=^H:kr=^L:ku=^K:tc=adm3a:
 soroc140|iq140|soroc iq140:\
 	:am:bs:mi:\
 	:co#80:li#24:\
@@ -25893,6 +15442,21 @@
 	:ll=^^^K:nd=^L:se=\E\177:sf=^J:so=\E\177:ue=\E^A:up=^K:\
 	:us=\E^A:
 
+#### Southwest Technical Products
+#
+# These guys made an early personal micro called the M6800.  
+# The ct82 was probably its console terminal.
+#
+
+# (swtp: removed obsolete ":bc=^D:" -- esr)
+swtp|ct82|southwest technical products ct82:\
+	:am:\
+	:co#82:li#20:\
+	:al=^^Y:bl=^G:cd=^V:ce=^F:cl=^L:cm=\013%r%.%.:cr=^M:dc=^^H:\
+	:dl=^Z:do=^J:ei=:ho=^P:ic=^^X:im=:\
+	:is=\034\022\036\023\036\004\035\027\011\023\036\035\036\017\035\027\022\011:\
+	:le=^D:ll=^C:nd=^S:se=^^^F:sf=^N:so=^^^V:sr=^O:up=^A:
+
 #### Synertek
 #
 # Bob Manson <manson@pattyr.acs.ohio-state.edu> writes (28 Apr 1995):
@@ -25956,73 +15520,18 @@
 # The manual for this puppy was dated June 1981.  It claims to be VT52-
 # compatible but looks more vt100-like.
 tab132|tab|tab132-15|tab 132/15:\
-	:am:bs:da:db:ms:xn:xo:\
-	:co#80:it#8:li#24:lm#96:vt#3:\
-	:@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
-	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
-	:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:eA=\E(B\E)0:ei=\E[4l:\
-	:ho=\E[H:im=\E[4h:is=\E[?7h\E[?3l\E[?5l:k0=\EOy:k1=\EOP:\
-	:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\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st=\EH:ta=^I:ue=\E[m:\
-	:up=\E[A:us=\E[4m:
+	:is=\E[?7h\E[?3h\E[?5h:tc=tab132-w:
 
 
 #### Teleray
@@ -26042,7 +15551,6 @@
 # to the front if you have either.  A dumb teleray with the cursor stuck
 # on the bottom and no obvious model number is probably a 3700.
 #
-#% Teleray: Steve Schaefgen (612)-941-3300 (Sales Manager)
 
 t3700|dumb teleray 3700:\
 	:bs:\
@@ -26063,14 +15571,7 @@
 	:le=^H:nd=\EC:se=\ER@:sf=^J:so=\s\ERD:st=\EF:ta=^I:ue=\ER@:\
 	:up=\EA:us=\ERH:
 t1061f|teleray 1061 with fast PROMs:\
-	:am:bs:km:xs:xt:\
-	:co#80:it#8:li#24:sg#1:ug#1:\
-	:al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=\014:cm=\EY%+ %+ :cr=^M:\
-	:ct=\EG:dc=\EQ:dl=\EM:do=^J:ei=:ho=\EH:ic=\EP:im=:\
-	:is=\Ee\EU01^Z1\EV\EU02^Z2\EV\EU03^Z3\EV\EU04^Z4\EV\EU05^Z5\EV\EU06^Z6\EV\EU07^Z7\EV\EU08^Z8\EV\Ef:\
-	:k1=^Z1:k2=^Z2:k3=^Z3:k4=^Z4:k5=^Z5:k6=^Z6:k7=^Z7:k8=^Z8:\
-	:le=^H:nd=\EC:se=\ER@:sf=^J:so=\s\ERD:st=\EF:ta=^I:ue=\ER@:\
-	:up=\EA:us=\ERH:
+	:al=\EL:dl=\EM:ip@:tc=t1061:
 # "Teleray Arpa Special", officially designated as
 # "Teleray Arpa network model 10" with "Special feature 720".
 # This is the new (1981) fast microcode updating the older "arpa" proms
@@ -26117,108 +15618,37 @@
 # Texas Instruments 916 VDT 7 bit control mode
 #
 ti916|ti916-220-7|Texas Instruments 916 VDT 8859/1 vt220 mode 7 bit CTRL:\
-	:5i:am:bs:da:db:in:mi:ms:xn:xo:\
-	:co#80:it#8:li#24:vt#3:\
-	:%0=\E[29~:%1=\E[28~:%9=^X:*6=\E[4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:db:in:ms:\
+	:%9=^X:@4=\E[29~:@8=^J:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
+	:DO=\E[%dB:F1=\E[29~:F2=\E[31~:IC=\E[%d@:LE=\E[%dD:\
+	:RI=\E[%dC:UP=\E[%dA:ae=\017:as=\016:bt=\E[Z:cb=\E[1K:\
+	:cd=\E[J:ce=\E[0K:ch=\E[%+^AG:cl=\E[H\E[2J:\
+	:cm=\E[%i%d;%dH:ct=\E[3g:cv=\E[%+^Ad:dc=\E[P:eA=\E(B\E)0:\
+	:ec=\E[%dX:ei=:ff=^L:im=:ip=:is=\E[1;24r\E[24;1H:k1=\E[17~:\
+	:k2=\E[18~:k3=\E[19~:k4=\E[20~:k5=\E[21~:k6=\E[23~:\
+	:k7=\E[24~:k8=\E[25~:k9=\E[26~:k;=\E[28~:kD=\E[P:kI=\E[@:\
+	:kN=\E[S:kP=\E[T:kh=\E[H:mp=\E&:rs=\E[!p:st=\E[0W:\
+	:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:\
+	:tc=vt220:
 #
 # Texas Instruments 916 VDT 8 bit control mode
 #
 ti916-8|ti916-220-8|Texas Instruments 916 VDT 8859/1 8 vt220 mode bit CTRL:\
-	:5i:am:bs:da:db:in:mi:ms:xn:xo:\
-	:co#80:it#8:li#24:vt#3:\
-	:%0=\E[29~:%1=\E[28~:%9=^X:*6=\E[4~:@0=\E[1~:@4=\23329~:\
-	:@8=^J:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\23329~:\
-	:F2=\23331~:F3=\E[25~:F4=\E[26~:F7=\E[31~:F8=\E[32~:\
-	:F9=\E[33~:FA=\E[34~:IC=\E[%d@:LE=\E[%dD:RA=\E[?7l:\
-	:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=\017:al=\E[L:as=\016:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:\
-	:ce=\E[0K:ch=\E[%+^AG:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
-	:cs=\E[%i%d;%dr:ct=\E[3g:cv=\E[%+^Ad:dc=\E[P:dl=\E[M:\
-	:do=^J:eA=\E(B\E)0:ec=\E[%dX:ei=\E[4l:ff=^L:ho=\E[H:\
-	:if=/usr/share/tabset/vt100:im=\E[4h:ip=:\
-	:is=\E[1;24r\E[24;1H:k1=\23317~:k2=\23318~:k3=\23319~:\
-	:k4=\23320~:k5=\23321~:k6=\23323~:k7=\23324~:k8=\23325~:\
-	:k9=\23326~:k;=\23328~:kD=\233P:kI=\233@:kN=\233S:\
-	:kP=\233T:kb=^H:kd=\233B:kh=\233H:kl=\233D:kr=\233C:\
-	:ku=\233A:l1=pf1:l2=pf2:l3=pf3:l4=pf4:le=^H:mb=\E[5m:\
-	:md=\E[1m:me=\E[m:mp=\E&:mr=\E[7m:nd=\E[C:nw=\EE:pf=\E[4i:\
-	:po=\E[5i:ps=\E[i:r1=\E[?3l:r2=\E[!p:rc=\E8:sc=\E7:\
-	:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\E[0W:ta=^I:ue=\E[24m:\
-	:up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:\
-	:vs=\E[?25h:
+	:%9=^X:@4=\23329~:@8=^J:F1=\23329~:F2=\23331~:k1=\23317~:\
+	:k2=\23318~:k3=\23319~:k4=\23320~:k5=\23321~:k6=\23323~:\
+	:k7=\23324~:k8=\23325~:k9=\23326~:k;=\23328~:kD=\233P:\
+	:kI=\233@:kN=\233S:kP=\233T:kd=\233B:kh=\233H:kl=\233D:\
+	:kr=\233C:ku=\233A:tc=ti916:
 #
 # Texas Instruments 916 VDT 8859/1 7 bit control 132 column mode
 #
 ti916-132|Texas Instruments 916 VDT vt220 132 column:\
-	:5i:am:bs:da:db:in:mi:ms:xn:xo:\
-	:co#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vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
+	:co#132:tc=ti916:
 #
 # Texas Instruments 916 VDT 8859/1 8 bit control 132 column mode
 #
 ti916-8-132|Texas Instruments 916 VDT 8-bit vt220 132 column:\
-	:5i:am:bs:da:db:in:mi:ms:xn:xo:\
-	:co#132:it#8:li#24:vt#3:\
-	:%0=\E[29~:%1=\E[28~:%9=^X:*6=\E[4~:@0=\E[1~:@4=\23329~:\
-	:@8=^J:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\23329~:\
-	:F2=\23331~:F3=\E[25~:F4=\E[26~:F7=\E[31~:F8=\E[32~:\
-	:F9=\E[33~:FA=\E[34~:IC=\E[%d@:LE=\E[%dD:RA=\E[?7l:\
-	:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=\017:al=\E[L:as=\016:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:\
-	:ce=\E[0K:ch=\E[%+^AG:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
-	:cs=\E[%i%d;%dr:ct=\E[3g:cv=\E[%+^Ad:dc=\E[P:dl=\E[M:\
-	:do=^J:eA=\E(B\E)0:ec=\E[%dX:ei=\E[4l:ff=^L:ho=\E[H:\
-	:if=/usr/share/tabset/vt100:im=\E[4h:ip=:\
-	:is=\E[1;24r\E[24;1H:k1=\23317~:k2=\23318~:k3=\23319~:\
-	:k4=\23320~:k5=\23321~:k6=\23323~:k7=\23324~:k8=\23325~:\
-	:k9=\23326~:k;=\23328~:kD=\233P:kI=\233@:kN=\233S:\
-	:kP=\233T:kb=^H:kd=\233B:kh=\233H:kl=\233D:kr=\233C:\
-	:ku=\233A:l1=pf1:l2=pf2:l3=pf3:l4=pf4:le=^H:mb=\E[5m:\
-	:md=\E[1m:me=\E[m:mp=\E&:mr=\E[7m:nd=\E[C:nw=\EE:pf=\E[4i:\
-	:po=\E[5i:ps=\E[i:r1=\E[?3l:r2=\E[!p:rc=\E8:sc=\E7:\
-	:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\E[0W:ta=^I:ue=\E[24m:\
-	:up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:\
-	:vs=\E[?25h:
+	:co#132:tc=ti916-8:
 ti924|Texas Instruments 924 VDT 8859/1 7 bit CTRL:\
 	:am:bs:xo:\
 	:co#80:it#8:li#24:\
@@ -26243,28 +15673,9 @@
 	:sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[?25h:\
 	:vi=\E[?25l:vs=\E[?31h:
 ti924w|Texas Instruments 924 VDT 7 bit - 132 column mode:\
-	:am:bs:xo:\
-	:co#132:it#8:li#24:\
-	:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:\
-	:cm=%i\E[%d;%dH:cr=^M:cs=%i\E[%d;%dr:ct=\E[3g:dl=\E[M:\
-	:do=\E[B:ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[16~:\
-	:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[P:kI=\E[@:\
-	:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:\
-	:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:\
-	:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:\
-	:us=\E[4m:ve=\E[?25h:vi=\E[?25l:vs=\E[?31h:
+	:co#132:tc=ti924:
 ti924-8w|Texas Instruments 924 VDT 8 bit - 132 column mode:\
-	:am:xo:\
-	:co#132:it#8:li#24:\
-	:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:\
-	:cm=%i\E[%d;%dH:cr=^M:cs=%i\E[%d;%dr:ct=\E[3g:dl=\E[M:\
-	:do=\E[B:ho=\E[H:k1=P\217>:k2=Q\217>:k3=R\217>:k4=S\217>:\
-	:k5=~\23316>:k6=~\23317>:k7=~\23318>:k8=~\23319>:\
-	:k9=~\23320>:kD=P\233>:kI=@\233>:kb=^H:kd=\E[B:kl=\E[D:\
-	:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[m:\
-	:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:\
-	:sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[?25h:\
-	:vi=\E[?25l:vs=\E[?31h:
+	:co#132:tc=ti924-8:
 ti931|Texas Instruments 931 VDT:\
 	:am:bs:xo:\
 	:co#80:li#24:\
@@ -26276,29 +15687,10 @@
 	:me=\E4@:mk=\E4H:mr=\E4B:nd=\EC:se=\E4@:sf=\Ea:so=\E4A:\
 	:sr=\Eb:ue=\E4@:up=\EA:us=\E4D:ve=\E4@:
 ti926|Texas Instruments 926 VDT 8859/1 7 bit CTRL:\
-	:am:bs:xo:\
-	:co#80:it#8:li#24:\
-	:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:\
-	:cm=%i\E[%d;%dH:cr=^M:ct=\E[3g:dl=\E[M:do=\E[B:ho=\E[H:\
-	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[16~:k6=\E[17~:\
-	:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[P:kI=\E[@:kb=^H:\
-	:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:\
-	:me=\E[m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=\E[1S:\
-	:so=\E[7m:sr=\E[1T:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:\
-	:ve=\E[?25h:vi=\E[?25l:vs=\E[?31h:
+	:cs@:sf=\E[1S:sr=\E[1T:tc=ti924:
 # (ti926-8: I corrected this from the broken SCO entry -- esr)
 ti926-8|Texas Instruments 926 VDT 8859/1 8 bit CTRL:\
-	:am:xo:\
-	:co#80:it#8:li#24:\
-	:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:\
-	:cm=%i\E[%d;%dH:cr=^M:ct=\E[3g:dl=\E[M:do=\E[B:ho=\E[H:\
-	:k1=P\217>:k2=Q\217>:k3=R\217>:k4=S\217>:k5=~\23316>:\
-	:k6=~\23317>:k7=~\23318>:k8=~\23319>:k9=~\23320>:\
-	:kD=P\233>:kI=@\233>:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:\
-	:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:rc=\E8:\
-	:sc=\E7:se=\E[m:sf=\2331S:so=\E[7m:sr=\2331T:st=\EH:ta=^I:\
-	:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[?25h:vi=\E[?25l:\
-	:vs=\E[?31h:
+	:cs@:sf=\2331S:sr=\2331T:tc=ti924-8:
 ti_ansi|basic entry for ti928:\
 	:am:eo:ut:xn:xo:\
 	:Co#8:co#80:it#8:li#25:pa#64:\
@@ -26314,35 +15706,20 @@
 #       928 VDT 7 bit control mode
 #
 ti928|Texas Instruments 928 VDT 8859/1 7 bit CTRL:\
-	:am:eo:ut:xn:xo:\
-	:Co#8:co#80:it#8:li#25:pa#64:\
-	:%9=\E[35~:@7=\E_1\E\\:@8=\E[8~:AB=\E[4%dm:AF=\E[3%dm:\
-	:F1=\E[29~:F2=\E[31~:F3=\E[32~:F5=\E[34~:al=\E[L:bl=^G:\
-	:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:\
-	:cr=^M:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
-	:ic=\E[@:im=:k0=\E[V:k1=\E[17~:k2=\E[18~:k3=\E[19~:\
+	:%9=\E[35~:@7=\E_1\E\\:@8=\E[8~:F1=\E[29~:F2=\E[31~:\
+	:F3=\E[32~:F5=\E[34~:k1=\E[17~:k2=\E[18~:k3=\E[19~:\
 	:k4=\E[20~:k5=\E[21~:k6=\E[23~:k7=\E[24~:k8=\E[25~:\
-	:k9=\E[26~:k;=\E[28~:kD=\E[P:kI=\E[@:kN=\E[S:kP=\E[T:kb=^H:\
-	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
-	:md=\E[1m:me=\E[m:nd=\E[C:op=\E[37;40m:se=\E[m:sf=\E[S:\
-	:so=\E[7m:sr=\E[T:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
+	:k9=\E[26~:k;=\E[28~:kD=\E[P:kI=\E[@:kN=\E[S:kP=\E[T:\
+	:tc=ti_ansi:
 #
 #       928 VDT 8 bit control mode
 #
 ti928-8|Texas Instruments 928 VDT 8859/1 8 bit CTRL:\
-	:am:eo:ut:xn:xo:\
-	:Co#8:co#80:it#8:li#25:pa#64:\
-	:%9=\23335~:@7=\2371\234:@8=\2338~:AB=\E[4%dm:AF=\E[3%dm:\
-	:F1=\23329~:F2=\23331~:F3=\23332~:F5=\23334~:al=\E[L:\
-	:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:\
-	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:\
-	:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:k0=\E[V:k1=\23317~:\
-	:k2=\23318~:k3=\23319~:k4=\23320~:k5=\23321~:k6=\23323~:\
-	:k7=\23324~:k8=\23325~:k9=\23326~:k;=\23328~:kD=\233P:\
-	:kI=\233@:kN=\233S:kP=\233T:kb=^H:kd=\E[B:kh=\233H:kl=\E[D:\
-	:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:nd=\E[C:\
-	:op=\E[37;40m:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:\
-	:ue=\E[m:up=\E[A:us=\E[4m:
+	:%9=\23335~:@7=\2371\234:@8=\2338~:F1=\23329~:F2=\23331~:\
+	:F3=\23332~:F5=\23334~:k1=\23317~:k2=\23318~:k3=\23319~:\
+	:k4=\23320~:k5=\23321~:k6=\23323~:k7=\23324~:k8=\23325~:\
+	:k9=\23326~:k;=\23328~:kD=\233P:kI=\233@:kN=\233S:\
+	:kP=\233T:kh=\233H:tc=ti_ansi:
 
 #### Zentec (zen)
 #
@@ -26355,8 +15732,8 @@
 	:am:bs:mi:ul:\
 	:co#80:li#24:\
 	:al=\EE:bl=^G:cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :cr=^M:\
-	:dc=\EW:dl=\ER:do=^J:ei=\Er:ho=^^:im=\Eq:le=^H:me=\EG0:\
-	:mh=\EG2:mk=\EG1:mr=\EG4:nd=^L:se=\EG0:sf=^J:so=\EG6:up=^K:
+	:dc=\EW:dl=\ER:do=^J:ei=\Er:ho=^^:im=\Eq:le=^H:mh=\EG2:nd=^L:\
+	:sf=^J:so=\EG6:ue@:up=^K:us@:tc=adm+sgr:
 # (zen50: this had extension capabilities
 #	:BS=^U:CL=^V:CR=^B:
 # UK/DK/RK/LK/HM were someone's aliases for ku/kd/kl/kr/kh,
@@ -26366,8 +15743,8 @@
 	:am:bs:\
 	:co#80:li#24:sg#1:\
 	:al=\EE:cd=\EY:ce=\ET:cl=\E+:cm=\E=%+ %+ :dc=\EW:dl=\ER:ei=:\
-	:ic=\EQ:im=:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:me=\EG0:\
-	:mr=\EG4:se=\EG0:so=\EG4:up=^K:
+	:ic=\EQ:im=:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:mk@:ue@:up=^K:\
+	:us@:tc=adm+sgr:
 
 # CCI 4574 (Office Power) from Will Martin <wmartin@BRL.ARPA> via BRL
 cci|cci1|z8001|zen8001|CCI Custom Zentec 8001:\
@@ -26382,125 +15759,6 @@
 ######## OBSOLETE UNIX CONSOLES
 #
 
-#### Altos
-#
-# Altos made a moderately successful line of UNIX boxes.  In 1990 they were
-# bought out by Acer, a major Taiwanese manufacturer of PC-clones.
-# Acer has a web site at http://www.acer.com.
-#
-# Altos descriptions from Ted Mittelstaedt <tedm@agora.rain.com> 4 Sep 1993
-# His comments suggest they were shipped with the system.
-#
-
-# (altos2: had extension capabilities
-#	:c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
-#	:c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
-#	:c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
-#	:cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
-#	:XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
-#	:YU=^AQ\r:YD=^AR\r:YR=^AS\r:YL=^AT\r:\
-#	:HL=^AP\r:SP=\E[i:\
-#	:IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
-#	:LO=\E[0q:LC=\E[5q:LL=\E[6q:\
-# Comparison with the k* capabilities makes it obvious that the c* things are
-# shift keys.  I have renamed them to keys 32 and up accordingly.  Also,
-# :sr: was given as a boolean-- esr)
-altos2|alt2|altos-2|altos II:\
-	:co#80:it#8:li#24:sg#0:ug#0:\
-	:*5=^Am\r:*8=^An\r:DL=\E[M:FM=^A`\r:FN=^Aa\r:FO=^Ab\r:\
-	:FP=^Ac\r:FQ=^Ad\r:FR=^Ae\r:FS=^Af\r:FT=^Ag\r:FU=^Ah\r:\
-	:FV=^Ai\r:FW=^Aj\r:FX=^Ak\r:RA=\E[?7l:SA=\E[?7h:al=\E[L:\
-	:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
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le=^H:ll=^^^K:me=\E(\EH\003:mh=\E`7\E):\
-	:mp=\E`7\E):mr=\E`6\E):nd=^L:nw=^M^J:pf=^T:pn=\Ez%+/%s\r:\
-	:po=^X:ps=\EP:px=\Ez%+?%s\177:\
-	:..sa=%?%p1%p3%|%t\E`6\E)%e%p5%p8%|%t\E`7\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;:\
-	:se=\E(:sf=\n:so=\E`6\E):sr=\Ej:st=\E1:ta=^I:ts=\EF:up=^K:\
-	:vb=\E`8\E`9:ve=\E`1:vi=\E`0:
-# (altos7: had extension capabilities:
-#	:GG#0:GI=\EH8:GF=\EH7:\
-#	:c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
-#	:c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
-#	:c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
-#	:cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
-# Comparison with the k* capabilities makes it obvious that the c* things are
-# shift keys.  I have renamed them to keys 32 and up accordingly.  I have
-# also made this entry relative to adm12 in order to give it an :sa:. The
-# <invis> imported by use=adm+sgr may work, let me know. -- esr)
-altos7|alt7|altos VII:\
-	:am:mi:\
-	:co#80:li#24:sg#0:ug#0:\
-	:*5=^Am\r:*8=^An\r:DL=\ER:FM=^A`\r:FN=^Aa\r:FO=^Ab\r:\
-	:FP=^Ac\r:FQ=^Ad\r:FR=^Ae\r:FS=^Af\r:FT=^Ag\r:FU=^Ah\r:\
-	:FV=^Ai\r:FW=^Aj\r:FX=^Ak\r:ac=l2m1k3j5t4u9v=w0q\:x6n8:\
-	:al=\EE:cd=\EY:ce=\ET:cl=\E+^^:cm=\E=%+ %+ :cr=^M:dc=\EW:\
-	:do=^J:ei=\Er:ho=^^:im=\Eq:\
-	:is=\E`\:\Ee(\EO\Ee6\Ec41\E~4\Ec21\Eu\E~2:k0=^AI\r:\
-	:k1=^A@\r:k2=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	:se=\EG0:sf=^J:so=\EG4:sr=\Ej:ta=^I:ue=\EG0:up=^K:us=\EG8:
-
 #### Apollo consoles
 #
 # Apollo got bought by Hewlett-Packard.  The Apollo workstations are 
@@ -26520,56 +15778,11 @@
 # in the VT132 that reversed :ei:/:im:.  To be on the safe side, disable
 # both these capabilities.
 apollo_15P|apollo 15 inch display:\
-	:am:bs:ms:xn:xo:\
-	:co#80:it#8:li#24:vt#3:\
-	:@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
-	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
-	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
-	:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:eA=\E(B\E)0:ho=\E[H:ip=:\
-	:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOt:k6=\EOu:\
-	:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:kb=^H:kd=\EOB:\
-	:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
-	:mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:nd=\E[C:rc=\E8:\
-	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
-	:..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
-	:sc=\E7:se=\E[m:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
-	:up=\E[A:us=\E[4m:
+	:ei@:im@:tc=vt132:
 apollo_19L|apollo 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@@
 	:mr=\EH:nw=^M^J:se=^\I`:sf=^J:so=^\H`:ta=^Z:ue=^\IP:up=\013:\
 	:us=^\HP:ve=\E\\:vi=\E]:vs=\E\::
 
-#### IBM Unix consoles
-#
-
-# The following is a version of the ibm-pc entry distributed with PC/IX,
-# (Interactive Systems' System 3 for the Big Blue), modified by Richard
-# McIntosh at UCB/CSM.  The :pt: and :uc: have been removed from the original,
-# (the former is untrue, and the latter failed under UCB/man); standout and
-# underline modes have been added.  Note: this entry describes the "native"
-# capabilities of the PC monochrome display, without ANY emulation; most
-# communications packages (but NOT PC/IX connect) do some kind of emulation.
-pcix|PC/IX console:\
-	:am:bw:eo:\
-	:co#80:li#24:\
-	:cd=\E[J:ce=\E[K:cl=\Ec:cm=\E[%i%2;%2H:do=\E[B:ho=\E[H:\
-	:le=^H:me=\E[m:nd=\E[C:se=\E[m:so=\E[7m:ue=\E[m:up=\E[A:\
-	:us=\E[4m:
-
-# (ibmpcx: this entry used to be known as ibmx.
-# It formerly included the following extension capabilities:
-#	:GC=b:GL=v:GR=t:RT=^J:\
-#	:GH=\E[196g:GV=\E[179g:\
-#	:GU=\E[193g:GD=\E[194g:\
-#	:G1=\E[191g:G2=\E[218g:G3=\E[192g:G4=\E[217g:\
-#	:CW=\E[E:NU=\E[F:RF=\E[G:RC=\E[H:\
-#	:WL=\E[K:WR=\E[L:CL=\E[M:CR=\E[N:\
-# I renamed GS/GE/WL/WR/CL/CR/PU/PD/HM/EN; also, removed a duplicate
-# ":kh=\E[Y:".  Added IBM-PC forms characters and highlights, they match
-# what was there before. -- esr)
-ibmpcx|xenix|ibmx|IBM PC xenix console display:\
-	:am:bs:ms:\
-	:co#80:li#25:\
-	:@7=\E[d:S2=\E[11m:S3=\E[10m:\
-	:ac=`\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:\
-	:ae=\E[10m:al=\E[L:as=\E[11m:cd=\E[J:ce=\E[K:cl=^L:\
-	:cm=\E[%d;%dH:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:\
-	:im=:k1=\E[K:k2=\E[L:k3=\E[M:k4=\E[N:kN=\E[e:kP=\E[Z:kb=^H:\
-	:kd=\E[B:kh=\E[Y:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
-	:md=\E[1m:me=\E[0;10m:mk=\E[8m:mr=\E[7m:nd=\E[C:\
-	:..sa=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m:\
-	:se=\E[m:so=\E[7m:ue=\E[m:up=\E[A:us=\E[4m:
-
-
 #### Masscomp consoles
 #
 # Masscomp has gone out of business.  Their product line was purchased by
@@ -26705,376 +15876,9 @@
 	:kd=\EOB:kl=\EOD:kr=\EOC:ku=\EOA:le=^H:nd=\E[C:se=\E[m:\
 	:so=\E[7m:ta=^I:ue=\EGau:up=\E[A:us=\EGu:
 masscomp1|masscomp large screen version 1:\
-	:bs:km:mi:\
-	:co#104:it#8:li#36:\
-	:al=\E[L:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:dc=\E[P:\
-	:dl=\E[M:do=\E[B:ei=\E[4l:im=\E[4h:is=\EGc\EGb\EGw:kb=^H:\
-	:kd=\EOB:kl=\EOD:kr=\EOC:ku=\EOA:le=^H:nd=\E[C:se=\E[m:\
-	:so=\E[7m:ta=^I:ue=\EGau:up=\E[A:us=\EGu:
+	:co#104:li#36:tc=masscomp:
 masscomp2|masscomp large screen version 2:\
-	:bs:km:mi:\
-	:co#64:it#8:li#21:\
-	:al=\E[L:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:dc=\E[P:\
-	:dl=\E[M:do=\E[B:ei=\E[4l:im=\E[4h:is=\EGc\EGb\EGw:kb=^H:\
-	:kd=\EOB:kl=\EOD:kr=\EOC:ku=\EOA:le=^H:nd=\E[C:se=\E[m:\
-	:so=\E[7m:ta=^I:ue=\EGau:up=\E[A:us=\EGu:
-
-#### Sony NEWS workstations
-#
-
-# (news-unk: this had :KB=news: -- esr)
-news-unk|SONY NEWS vt100 emulator old common entry:\
-	:am:bs:pt:xn:\
-	:co#80:\
-	:AL=\E[%dL:DL=\E[%dM:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:\
-	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
-	:dl=\E[M:do=^J:ho=\E[H:if=/usr/lib/tabset/vt100:\
-	:is=\E[?7h\E[?1l\E[?3l\E7\E8:k0=\EOY:k1=\EOP:k2=\EOQ:\
-	:k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:k9=\EOX:\
-	:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
-	:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
-	:nl=^J:rc=\E8:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[r:\
-	:sc=\E7:se=\E[m:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:\
-	:us=\E[4m:
-#
-# (news-29: this had :TY=ascii: --esr)
-news-29:\
-	:am:bs:pt:xn:\
-	:co#80:li#29:\
-	:AL=\E[%dL:DL=\E[%dM:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:\
-	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
-	:dl=\E[M:do=^J:ho=\E[H:if=/usr/lib/tabset/vt100:\
-	:is=\E[?7h\E[?1l\E[?3l\E7\E8:k0=\EOY:k1=\EOP:k2=\EOQ:\
-	:k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:k8=\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EOD:kr=\EOC:ks=\E[?1h\E=:\
-	:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
-	:nl=^J:rc=\E8:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[r:\
-	:sc=\E7:se=\E[m:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:\
-	:us=\E[4m:
-# (news-42-sjis: this had :TY=sjis: --esr)
-news-42-sjis:\
-	:am:bs:pt:xn:\
-	:co#80:li#42:\
-	:AL=\E[%dL:DL=\E[%dM:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:\
-	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
-	:dl=\E[M:do=^J:ho=\E[H:if=/usr/lib/tabset/vt100:\
-	:is=\E[?7h\E[?1l\E[?3l\E7\E8:k0=\EOY:k1=\EOP:k2=\EOQ:\
-	:k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:k9=\EOX:\
-	:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
-	:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
-	:nl=^J:rc=\E8:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[r:\
-	:sc=\E7:se=\E[m:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:\
-	:us=\E[4m:
-#
-#	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:bs:pt:xn:\
-	:co#80:vt#3:\
-	:bl=^G:cd=\E[J:ce=\E[K:cl=\E[;H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
-	:cs=\E[%i%d;%dr:do=^J:ho=\E[H:if=/usr/lib/tabset/vt100:\
-	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:\
-	:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
-	:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nl=^J:rc=\E8:\
-	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:sc=\E7:se=\E[m:\
-	:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
-#
-# (nwp512: this had :DE=^H:, which I think means :bs: --esr)
-nwp512|news|nwp514|news40|vt100-bm|old sony vt100 emulator 40 lines:\
-	:am:bs:pt:xn:\
-	:co#80:li#40:vt#3:\
-	:bl=^G:cd=\E[J:ce=\E[K:cl=\E[;H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
-	:cs=\E[%i%d;%dr:do=^J:ho=\E[H:if=/usr/lib/tabset/vt100:\
-	:is=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;40r\E8:\
-	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:\
-	:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
-	:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nl=^J:rc=\E8:\
-	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:sc=\E7:se=\E[m:\
-	:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
-#
-# (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:\
-	:am:bs:pt:xn:\
-	:co#80:li#42:vt#3:\
-	:bl=^G:cd=\E[J:ce=\E[K:cl=\E[;H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
-	:cs=\E[%i%d;%dr:do=^J:ho=\E[H:if=/usr/lib/tabset/vt100:\
-	:is=\E[?7h\E[?1l\E[?3l\E7\E[1;42r\E8:k1=\EOP:k2=\EOQ:\
-	:k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
-	:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:\
-	:me=\E[m:mr=\E[7m:nd=\E[C:nl=^J:rc=\E8:\
-	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:sc=\E7:se=\E[m:\
-	:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
-#
-# (nwp-512-o: this had :KB=nwp410:DE=^H:  I interpret the latter as :bs:. --esr)
-nwp512-o|nwp514-o|news-o|news40-o|vt100-bm-o|sony vt100 emulator 40 lines:\
-	:am:bs:pt:xn:\
-	:co#80:li#40:vt#3:\
-	:bl=^G:cd=\E[J:ce=\E[K:cl=\E[;H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
-	:cs=\E[%i%d;%dr:do=^J:ho=\E[H:if=/usr/lib/tabset/vt100:\
-	:is=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;40r\E8:\
-	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:\
-	:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
-	:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nl=^J:rc=\E8:\
-	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:sc=\E7:se=\E[m:\
-	:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
-#
-# (nwp513: this had :DE=^H: and the alias vt100-bm --esr)
-nwp513|nwp518|nwe501|newscbm|news31|sony vt100 emulator 33 lines:\
-	:am:bs:pt:xn:\
-	:co#80:li#31:vt#3:\
-	:bl=^G:cd=\E[J:ce=\E[K:cl=\E[;H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
-	:cs=\E[%i%d;%dr:do=^J:ho=\E[H:if=/usr/lib/tabset/vt100:\
-	:is=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;31r\E8:\
-	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:\
-	:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
-	:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nl=^J:rc=\E8:\
-	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:sc=\E7:se=\E[m:\
-	:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
-#
-# (nwp513-a: this had :TY=ascii: and :DE=^H:, which I interpret as :bs:; --esr)
-# also the alias vt100-bm.
-nwp513-a|nwp518-a|nwe501-a|nwp251-a|newscbm-a|news31-a|newscbm33|news33|old sony vt100 emulator 33 lines:\
-	:am:bs:pt:xn:\
-	:co#80:li#33:vt#3:\
-	:bl=^G:cd=\E[J:ce=\E[K:cl=\E[;H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
-	:cs=\E[%i%d;%dr:do=^J:ho=\E[H:if=/usr/lib/tabset/vt100:\
-	:is=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;33r\E8:\
-	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:\
-	:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
-	:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nl=^J:rc=\E8:\
-	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:sc=\E7:se=\E[m:\
-	:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
-#
-# (nwp513-o: had :DE=^H:, I think that's :bs:; also the alias vt100-bm --esr)
-nwp513-o|nwp518-o|nwe501-o|nwp251-o|newscbm-o|news31-o|old sony vt100 emulator 33 lines:\
-	:am:bs:pt:xn:\
-	:co#80:li#31:vt#3:\
-	:bl=^G:cd=\E[J:ce=\E[K:cl=\E[;H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
-	:cs=\E[%i%d;%dr:do=^J:ho=\E[H:if=/usr/lib/tabset/vt100:\
-	:is=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;31r\E8:\
-	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:\
-	:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
-	:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nl=^J:rc=\E8:\
-	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:sc=\E7:se=\E[m:\
-	:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
-#
-# (news28: this had :DE=^H:, I think that's :bs:, and :KB=nws1200: --esr)
-news28|sony vt100 emulator 28 lines:\
-	:am:bs:pt:xn:\
-	:co#80:li#28:vt#3:\
-	:bl=^G:cd=\E[J:ce=\E[K:cl=\E[;H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
-	:cs=\E[%i%d;%dr:do=^J:ho=\E[H:if=/usr/lib/tabset/vt100:\
-	:is=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;28r\E8:\
-	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:\
-	:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
-	:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nl=^J:rc=\E8:\
-	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:sc=\E7:se=\E[m:\
-	:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
-#
-# (news29: this had :TY=ascii:KB=nws1200:\ --esr)
-news29|news28-a|sony vt100 emulator 29 lines:\
-	:am:bs:pt:xn:\
-	:co#80:li#29:vt#3:\
-	:bl=^G:cd=\E[J:ce=\E[K:cl=\E[;H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
-	:cs=\E[%i%d;%dr:do=^J:ho=\E[H:if=/usr/lib/tabset/vt100:\
-	:is=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;29r\E8:\
-	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:\
-	:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
-	:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nl=^J:rc=\E8:\
-	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:sc=\E7:se=\E[m:\
-	:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
-#
-# (news511: this had :TY=sjis: --esr)
-nwp511|nwp-511|nwp-511 vt100:\
-	:am:bs:pt:xn:\
-	:co#80:li#24:\
-	:al=\E[L:cd=30\E[J:ce=3\E[K:cl=20\E[;H\E[2J:\
-	:cm=\E[%i%d;%dH:dl=\E[M:is=\E[?5l\E[?1l\E>\E[?7h\E[?8h:\
-	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:k6=\E#W:kd=\E[B:\
-	:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:nd=\E[C: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kP=\E[5~:\
-	:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:l1=pf1:\
-	:l2=pf2:l3=pf3:l4=pf4:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:\
-	:mr=\E[7m:nd=\E[C:nw=\EE:pf=\E[4i:po=\E[5i:ps=\E[i:\
-	:r1=\E[?3l:rc=\E8:rs=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h:\
-	:sc=\E7:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
-	:ts=\E[1$}\E[;%df:ue=\E[24m:up=\E[A:us=\E[4m:\
-	:vb=\E[?5h\E[?5l:
-
-#### Obsolete virtual-terminal types.
-#
-
-# Columbus UNIX virtual terminal. This terminal also appears in 
-# UNIX 4.0 and successors as line discipline 1 (?), but is 
-# undocumented and does not really work quite right.
-cbunix|cb unix virtual terminal:\
-	:am:bs:da:db:\
-	:co#80:li#24:lm#0:\
-	:al=\EP:bl=^G:cd=\EL:ce=\EK:cl=\EL:cm=\EG%r%.%.:cr=^M:\
-	:dc=\EM:dl=\EN:do=^J:ei=:ic=\EO:im=:kd=\EB:kh=\EE:kl=\ED:\
-	:kr=\EC:ku=\EA:le=^H:nd=\EC:se=\Eb^D:sf=^J:so=\Ea^D:\
-	:ue=\Eb^A:up=\EA:us=\Ea^A:
-# (vremote: removed obsolete ":nl@:" -- esr)
-vremote|virtual remote terminal:\
-	:bs:da:db:\
-	:co#79:li#24:lm#0:\
-	:al=\EP:bl=^G:cd=\EL:ce=\EK:cl=\EL:cm=\EG%r%.%.:cr=^M:\
-	:dc=\EM:dl=\EN:do=^J:ei=:ic=\EO:im=:kd=\EB:kh=\EE:kl=\ED:\
-	:kr=\EC:ku=\EA:le=^H:nd=\EC:se=\Eb^D:sf=^J:so=\Ea^D:\
-	:ue=\Eb^A:up=\EA:us=\Ea^A:
-
-pty|4bsd pseudo teletype:\
-	:am:bs:da:db:\
-	:co#80:li#24:lm#0:\
-	:al=\EP:bl=^G:cd=\EL:ce=\EK:cl=\EL:cm=\EG%+ %+ :cr=^M:\
-	:dc=\EM:dl=\EN:do=^J:ei=:ic=\EO:im=:kd=\EB:kh=\EE:kl=\ED:\
-	:kr=\EC:ku=\EA:le=^H:nd=\EC:se=\Eb$:sf=^J:so=\Ea$:ue=\Eb!:\
-	:up=\EA:us=\Ea!:
+	:co#64:li#21:tc=masscomp:
 
 ######## OTHER OBSOLETE TYPES
 #
@@ -27085,138 +15889,6 @@
 #### Obsolete non-ANSI software emulations
 #
 
-#### Avatar
-#
-# These entries attempt to describe Avatar, a terminal emulation used with
-# MS-DOS bulletin-board systems.  It was designed to give ANSI-like
-# capabilities, but with cheaper (shorter) control sequences.  Messy design,
-# excessively dependent on PC idiosyncracies, but apparently rather popular
-# in the BBS world.
-#
-# No color support.  Avatar doesn't fit either of the Tektronix or HP color
-# models that terminfo knows about.  An Avatar color attribute is the
-# low 7 bits of the IBM-PC display-memory attribute.  Bletch.
-#
-# I wrote these entries while looking at the Avatar spec.  I don't have
-# the facilities to test them.  Let me know if they work, or don't.
-#
-# Avatar escapes not used by these entries (because maybe you're smarter
-# and more motivated than I am and can figure out how to wrap terminfo
-# around some of them, and because they are weird enough to be funny):
-#				level 0:
-# ^L		-- clear window/reset current attribute to default
-# ^V^A%p1%c	-- set current color attribute, parameter decodes as follows:
-# 
-#      bit:         6   5   4   3   2   1   0
-#                   |       |   |   |       |
-#                   +---+---+   |   +---+---+
-#                       |       |       |
-#                       |       |  foreground color
-#                       |  foreground intensity
-#                  background color
-#				level 0+:
-# ^V^J%p1%c%p2%c%p3%c%p4%c%p5%c	-- scroll (p2,p3) to (p4,p5) up by p1 lines
-# ^V^K%p1%c%p2%c%p3%c%p4%c%p5%c	-- scroll (p2,p3) to (p4,p5) down by p1 lines
-# ^V^L%p1%c%p2%c%p3%c		-- clear p2 lines and p3 cols w/attr %p1 
-# ^V^M%p1%c%p2%c%p3%c%p4%c	-- fill p3 lines & p4 cols w/char p2+attr %p1 
-# (^V^L and ^V^M set the current attribute as a side-effect.)
-# ^V ^Y <a> [...] <c>	-- repeat pattern. <a> specifies the number of bytes
-#			   in the pattern, <c> the number of times the pattern
-#		  	   should be repeated. If either value is 0, no-op.
-#			   The pattern can contain Avatar console codes,
-#			   including other ^V ^Y patterns.
-#				level 1:
-# ^V^O		-- clockwise mode on; turn print direction right each time you
-#		   hit a window edge (yes, really).  Turned off by CR
-# ^V^P		-- no-op
-# ^V^Q%c	-- query the driver
-# ^V^R		-- driver reset
-# ^V^S		-- Sound tone (PC-specific)
-# ^V^T			-- change highlight at current cursor poition to %c
-# ^V^U%p1%c%p2%c	-- highlight window <a> with attribute <b>
-# ^V^V%p1%c%p2%c%p3%c%p4%c%p5%c
-#			-- define window 
-#
-# From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
-# (The :mb:/:md:/:mr:/:as:/:us:/:so: capabilities exist only to
-# tell ncurses that the corresponding highlights exist; it should use :sa:,
-# which is the only method that will actually work for multiple highlights.)
-avatar0|avatar terminal emulator level 0:\
-	:am:ms:ut:\
-	:co#80:it#8:li#25:\
-	:ac=`\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:\
-	:ae=\E[10m:as=:ce=^V^G:cm=\026\010%.%.:cr=^M:do=^V^D:\
-	:le=^V^E:mb=^A^V\177:md=^V^A^P:me=^V^A^G:mk=^V^A\0:\
-	:mr=^A^Vp:nd=^V^F:rp=\031%.%d:rs=^L:\
-	:..sa=\026\001%{0}%?%p1%t%{112}%|%;%?%p2%t%{1}%|%;%?%p3%t%{112}%|%;%?%p4%t{128}%|%;%?%p6%t%{16}%|%;:\
-	:sf=^J:so=^A^Vp:up=^V^C:us=^V^A:
-# From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
-avatar0+|avatar terminal emulator level 0+:\
-	:am:ms:ut:\
-	:co#80:it#8:li#25:\
-	:ac=`\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:\
-	:ae=\E[10m:as=:ce=^V^G:cm=\026\010%.%.:cr=^M:dc=^V^N:\
-	:do=^V^D:ei=\026\n\0\0\0\0:im=^V^I:le=^V^E:mb=^A^V\177:\
-	:md=^V^A^P:me=^V^A^G:mk=^V^A\0:mr=^A^Vp:nd=^V^F:\
-	:rp=\031%.%d:rs=^L:\
-	:..sa=\026\001%{0}%?%p1%t%{112}%|%;%?%p2%t%{1}%|%;%?%p3%t%{112}%|%;%?%p4%t{128}%|%;%?%p6%t%{16}%|%;:\
-	:sf=^J:so=^A^Vp:up=^V^C:us=^V^A:
-# From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
-avatar|avatar1|avatar terminal emulator level 1:\
-	:am:ms:ut:\
-	:co#80:it#8:li#25:\
-	:RA=^V":SA=^V$:\
-	:ac=`\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:\
-	:ae=\E[10m:al=^V+:as=:ce=^V^G:cm=\026\010%.%.:cr=^M:\
-	:dc=^V^N:dl=^V-:do=^V^D:ei=^V^P:im=^V^I:le=^V^E:\
-	:mb=^A^V\177:md=^V^A^P:me=^V^A^G:mk=^V^A\0:mr=^A^Vp:\
-	:nd=^V^F:rp=\031%.%d:rs=^L:\
-	:..sa=\026\001%{0}%?%p1%t%{112}%|%;%?%p2%t%{1}%|%;%?%p3%t%{112}%|%;%?%p4%t{128}%|%;%?%p6%t%{16}%|%;:\
-	:sf=^J:so=^A^Vp:up=^V^C:us=^V^A:ve=^V'^A:vi=^V'^B:vs=^V^C:
-
-#### 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:mi:ms:xn:\
-	:co#80:it#8:li#25:\
-	:AL=\E[%dL:DL=\E[%dM:al=^K:bl=^G:bt=\E[Z:cd=^F5:ce=^P^P:\
-	:cl=^L:cm=\037%r%+ %+ :cr=^M:cs=\E[%i%d;%dr:dc=^W:dl=^Z:\
-	:dm=:do=^C:ec=\E[%dX:ed=:ei=^]:im=^\:\
-	:is=\017\035\E(B\E)0\E[?7h\E[?3l\E[>8g:kb=^H:kd=^N:\
-	:ke=\E>:kh=^A:kl=^B:kr=^F:ks=\E=:ku=^P:le=^H:mb=\E[5m:\
-	:md=\E[1m:me=\E[m:mk=\E[8m:mr=^R:nd=^B:nw=^M\ED:\
-	:r1=\017\E(B\E)0\025\E[?3l\E[>8g:rc=\E8:rp=\030%.%.:\
-	:sc=\E7:se=^U:sf=\ED:so=^R:sr=\EM:ta=^I:te=:ti=:ue=^U:up=^^:\
-	:us=^T:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
-rbcomm-nam|IBM PC with RBcomm without autowrap:\
-	:bw:mi:ms:xn:\
-	:co#80:it#8:li#25:\
-	:AL=\E[%dL:DL=\E[%dM:al=^K:bl=^G:bt=\E[Z:cd=^F5:ce=^P^P:\
-	:cl=^L:cm=\037%r%+ %+ :cr=^M:cs=\E[%i%d;%dr:dc=^W:dl=^Z:\
-	:dm=:do=^J:ec=\E[%dX:ed=:ei=^]:im=^\:\
-	:is=\017\035\E(B\E)0\E[?7l\E[?3l\E[>8g:kb=^H:kd=^J:\
-	:ke=\E>:kh=^A:kl=^H:kr=^F:ks=\E=:ku=^P:le=^H:mb=\E[5m:\
-	:md=\E[1m:me=\E[m:mk=\E[8m:mr=^R:nd=^B:nw=^M^J:\
-	:r1=\017\E(B\E)0\025\E[?3l\E[>8g:rc=\E8:rp=\030%.%.:\
-	:sc=\E7:se=^U:sf=^J:so=^R:sr=\EM:ta=^I:te=:ti=:ue=^U:up=^^:\
-	:us=^T:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
-rbcomm-w|IBM PC with RBcomm in 132 column mode:\
-	:am:bw:mi:ms:xn:\
-	:co#132:it#8:li#25:\
-	:AL=\E[%dL:DL=\E[%dM:al=^K:bl=^G:bt=\E[Z:cd=^F5:ce=^P^P:\
-	:cl=^L:cm=\037%r%+ %+ :cr=^M:cs=\E[%i%d;%dr:dc=^W:dl=^Z:\
-	:dm=:do=^J:ec=\E[%dX:ed=:ei=^]:im=^\:\
-	:is=\017\035\E(B\E)0\E[?7h\E[?3h\E[>8g:kb=^H:kd=^J:\
-	:ke=\E>:kh=^A:kl=^H:kr=^F:ks=\E=:ku=^P:le=^H:mb=\E[5m:\
-	:md=\E[1m:me=\E[m:mk=\E[8m:mr=^R:nd=^B:nw=^M^J:\
-	:r1=\017\E(B\E)0\025\E[?3l\E[>8g:rc=\E8:rp=\030%.%.:\
-	:sc=\E7:se=^U:sf=^J:so=^R:sr=\EM:ta=^I:te=:ti=:ue=^U:up=^^:\
-	:us=^T:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
-
 # CTRM terminal emulator
 # 1. underlining is not allowed with colors: first, is is simulated by 
 # black on white, second, it disables background color manipulations.
@@ -27244,11 +15916,10 @@
 #   3) turn on foreground attributes
 #   4) store information about foreground into U,V,W static registers
 # 8. turn on background: similar to turn on foreground above
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
 ctrm|C terminal emulator:\
 	:am:ut:xo:\
 	:Co#8:NC#2:Nl#0:co#80:lh#0:li#24:lm#0:lw#0:pa#63:pb#19200:vt#6:\
-	:..Sb=\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}%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\
+	:ac=++,,--..``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
 	:ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:cd=\E[J:ce=\E[K:\
 	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:\
 	:ei=:ho=\E[H:ic=\E[@:im=:is=\E[m:k1=\E[0s:k2=\E[24s:\
@@ -27287,14 +15957,9 @@
 # MS-Kermit with Heath-19 emulation mode enabled
 # (h19k: changed ":pt@:" to ":it@"
 h19k|h19kermit|heathkit emulation provided by Kermit (no auto margin):\
-	:bs:da:db:es:hs:mi:ms:xt:\
-	:co#80:li#24:\
-	:ac=:ae=\EG:as=\EF:bl=^G:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :\
-	:cr=^M:dc=\EN:do=\EB:ei=\EO:fs=\Ek\Ey5:ho=\EH:im=\E@:\
-	:ip=1.5<1.5/>:k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:\
-	:k7=\EQ:k8=\ER:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:\
-	:l6=blue:l7=red:l8=white:le=^H:nd=\EC:se=\Eq:sf=^J:so=\Ep:\
-	:sr=\EI:ts=\Ej\Ex5\EY8%+ \Eo\Eo:up=\EA:
+	:am@:da:db:xt:\
+	:it@:\
+	:ta@:tc=h19-u:
 
 # Apple Macintosh with Versaterm, a terminal emulator distributed by Synergy
 # Software (formerly Peripherals Computers & Supplies, Inc) of
@@ -27339,6 +16004,89 @@
 	:dc=\ER:dl=\EM:do=\EB:ho=\EH:le=^H:me=\E&d@:nd=\EC:se=\E&d@:\
 	:sf=^J:so=\E&dB:te=\EVE:ti=\EVS:up=\EA:
 
+#### Daisy wheel printers
+#
+# This section collects Diablo, DTC, Xerox, Qume, and other daisy
+# wheel terminals.  These are now largely obsolete.
+#
+
+# (diablo1620: removed :if=/usr/share/tabset/xerox1720:, no such file -- esr)
+diablo1620|diablo1720|diablo450|ipsi|diablo 1620:\
+	:hc:os:\
+	:co#132:it#8:\
+	:ch=\E\011%i%.:ct=\E2:do=^J:hd=\ED:hu=\EU:kb=^H:le=^H:\
+	:st=\E1:ta=^I:up=\E^J:
+diablo1620-m8|diablo1640-m8|diablo 1620 w/8 column left margin:\
+	:co#124:\
+	:is=\r        \E9:tc=diablo1620:
+# (diablo1640: removed :if=/usr/share/tabset/xerox1730:, no such file -- esr)
+diablo1640|diablo1730|diablo1740|diablo630|x1700|diablo|xerox|diablo 1640:\
+	:bl=^G:se=\E&:so=\EW:ue=\ER:us=\EE:tc=diablo1620:
+# (diablo1640-lm: removed :if=/usr/share/tabset/xerox1730-lm:, no such 
+# file -- esr)
+diablo1640-lm|diablo-lm|xerox-lm|diablo 1640 with indented left margin:\
+	:co#124:\
+	:se=\E&:so=\EW:ue=\ER:us=\EE:tc=diablo1620:
+diablo1740-lm|630-lm|1730-lm|x1700-lm|diablo 1740 printer:\
+	:tc=diablo1640-lm:
+# DTC 382 with VDU.  Has no :cd: so we fake it with :ce:.  Standout
+# :so=^P\s\002^PF: works but won't go away without dynamite :se=^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")
+# in the space the cursor was at, so we use ^P return (and thus ^P newline for
+# newline).  Note also that if you turn off :pt: and let Unix expand tabs,
+# curses won't work (some old BSD versions) because it doesn't clear this bit,
+# and cursor addressing sends a tab for row/column 9.  What a losing terminal!
+# I have been unable to get tabs set in all 96 lines - it always leaves at
+# least one line with no tabs in it, and once you tab through that line,
+# it completely weirds out.
+# (dtc382: change :te: to :ti: -- it  just does a clear --esr)
+dtc382|DTC 382:\
+	:am:da:db:xs:\
+	:co#80:li#24:lm#96:\
+	:al=^P^Z:bl=^G:cd=\020\025\020\023\020\023:ce=^P^U:\
+	:cl=\020\035:cm=\020\021%r%.%.:cr=^P^M:dc=^X:dl=^P^S:\
+	:ei=^Pi:ho=^P^R:im=^PI:le=^H:nd=^PR:pc=\177:sf=^J:te=:\
+	:ti=\020\035:ue=^P \0:up=^P^L:us=^P ^P:ve=^Pb:vs=^PB:
+dtc300s|DTC 300s:\
+	:hc:os:\
+	:co#132:\
+	:bl=^G:cr=^M:ct=\E3:do=^J:ff=^L:hd=\Eh:hu=\EH:kb=^H:le=^H:\
+	:sf=^J:st=\E1:ta=^I:up=^Z:
+gsi|mystery gsi terminal:\
+	:hc:os:\
+	:co#132:\
+	:bl=^G:cr=^M:do=^J:hd=\Eh:hu=\EH:le=^H:sf=^J:ta=^I:up=^Z:
+aj830|aj832|aj|anderson jacobson:\
+	:hc:os:\
+	:bl=^G:cr=^M:do=^J:hd=\E9:hu=\E8:le=^H:sf=^J:up=\E7:
+# From: Chris Torek <chris@gyre.umd.edu> Thu, 7 Nov 85 18:21:58 EST
+aj510|Anderson-Jacobson model 510:\
+	:am:mi:\
+	:co#80:li#24:\
+	:al=2*\E&I:cd=\E'P:ce=\E'L:cl=^L:cm=\E#%+ %+ :dc=.1*\E'D:\
+	:dl=2*\E&D:ei=\E'J:ic=:im=\E'I:ip=.1*:kd=\EZ:kl=\EW:kr=\EX:\
+	:ku=\EY:le=^H:nd=\EX:pc=\177:se=\E"I:so=\E"I:te=\E"N:\
+	:ti=\E"N:ue=\E"U:up=\EY:us=\E"U:
+# From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
+# This is incomplete, but it's a start.
+nec5520|nec|spinwriter|nec 5520:\
+	:hc:os:\
+	:co#132:it#8:\
+	:bl=^G:cr=^M:ct=\E3:do=^J:ff=^L:hd=\E]s\n\E]W:\
+	:hu=\E]s\E9\E]W:kb=^H:le=^H:sf=^J:st=\E1:ta=^I:up=\E9:
+qume5|qume|Qume Sprint 5:\
+	:hc:os:\
+	:co#80:it#8:\
+	:bl=^G:cr=^M:ct=\E3:do=^J:ff=^L:hd=\Eh:hu=\EH:kb=^H:le=^H:\
+	:sf=^J:st=\E1:ta=^I:up=^Z:
+# I suspect the xerox 1720 is the same as the diablo 1620.
+xerox1720|x1720|x1750|xerox 1720:\
+	:hc:os:\
+	:co#132:it#8:\
+	:bl=^G:cr=^M:ct=\E2:do=^J:ff=^L:le=^H:sf=^J:st=\E1:ta=^I:
+
 #### Miscellaneous obsolete terminals, manufacturers unknown
 #
 # If you have any information about these (like, a manufacturer's name, 
@@ -27388,7 +16136,7 @@
 dwk|dwk-vt|dwk terminal:\
 	:am:\
 	:co#80:it#8:li#24:\
-	:ac=lJmFkCjXtEuPv\\wKqUxWnNo~s_`+a\:f'g#~_,Q+^.M-Sh#i#0\177:\
+	:ac=+^,Q-S.M0\177`+a\:f'g#h#i#jXkClJmFnNo~qUs_tEuPv\\wKxW~_:\
 	:ae=\EG:as=\EF:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :\
 	:cr=^M:dc=\EP:do=^J:ei=:ho=\EH:ic=\EQ:im=:k1=\Ef1:k2=\Ef2:\
 	:k3=\Ef3:k4=\Ef4:k5=\Ef5:k6=\Ef6:k7=\Ef7:k8=\Ef8:k9=\Ef9:\
@@ -27396,22 +16144,10 @@
 	:kr=\EC:ku=\EA:le=^H:me=\EX:mr=\ET:nd=\EC:nw=^M^J:se=\EX:\
 	:sf=^J:so=\ET:sr=\ES:ta=^I:up=\EA:
 env230|envision230|envision 230 graphics terminal:\
-	:am:bs:ms:xo:\
-	:co#80:it#8:li#24:vt#3:\
-	:@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
-	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
-	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
-	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:do=^J:\
-	:eA=\E(B\E)0:ho=\E[H:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:\
-	:k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:\
-	:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
-	:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:\
-	:nd=\E[C:pf=\E[4i:po=\E[5i:ps=\E[0i:rc=\E8:\
-	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
-	:..sa=\E[%?%p1%t;1%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m:\
-	:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
-	:up=\E[A:us=\E[4m:
+	:xn@:\
+	:pf=\E[4i:po=\E[5i:ps=\E[0i:\
+	:..sa=\E[%?%p1%t;1%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m$<2>:\
+	:tc=vt100:
 # These execuports were impact-printer ttys with a 30- or maybe 15-cps acoustic
 # coupler attached, the whole rig fitting in a suitcase and more or less
 # portable.  Hot stuff for c.1977 :-) -- esr
@@ -27420,9 +16156,7 @@
 	:co#80:\
 	:bl=^G:cr=^M:do=^J:hd=^\:hu=^^:le=^H:sf=^J:
 ep40|ep4000|execuport 4000:\
-	:am:bs:os:\
-	:co#136:\
-	:bl=^G:cr=^M:do=^J:hd=^\:hu=^^:le=^H:sf=^J:
+	:co#136:tc=ep4080:
 # Adam Thompson <athompso@pangea.ca> tells us:
 # Informer series - these are all portable units, resembling older
 # automatic bread-baking machines.  The terminal looks like a `clamshell'
@@ -27442,29 +16176,24 @@
 	:ho=\EH:ic=\E[:im=:le=^H:me=\EK:nd=\EC:se=\EK:so=\EJ:sr=\En:\
 	:up=\EA:
 # Entry largely based on wy60 and has the features of wy60ak.
+# (untranslatable capabilities removed to fit entry within 1023 bytes)
+# (sgr removed to fit entry within 1023 bytes)
+# (acsc removed to fit entry within 1023 bytes)
+# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 opus3n1+|Esprit Opus3n1+ in wy60 mode with ANSI arrow keys:\
 	:am:bw:hs:km:mi:ms:ul:xo:\
-	:Nl#8:co#80:lh#1:li#24:lw#8:ws#80:\
-	:#2=\E{:%9=\EP:&3=\Er:@7=\E[F:@8=\E7:F1=^AJ\r:F2=^AK\r:\
-	:F3=^AL\r:F4=^AM\r:F5=^AN\r:F6=^AO\r:LF=\EA11:LO=\EA10:\
-	:RA=\Ed.:RX=\Ec20:SA=\Ed/:SX=\Ec21:\
-	:ac=0wa_h[jukslrmqnxqzttuyv]wpxv:ae=\EH^C:al=\EE:\
-	:as=\EH^B:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E*:cm=\Ea%i%dR%dC:\
-	:cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\Ez(\r:ei=\Er:fs=^M:\
-	:ho=\036:if=/usr/share/tabset/std:im=\Eq:ip=:\
+	:co#80:li#24:ws#80:\
+	:ae=\EH^C:al=\EE:as=\EH^B:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E*:\
+	:cm=\Ea%i%dR%dC:cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\Ez(\r:\
+	:ei=\Er:fs=^M:ho=\036:if=/usr/share/tabset/std:im=\Eq:ip=:\
 	:is=\E`\:\Ee(\EO\Ee6\Ec41\E~4\Ec21\Ed/\Ezz&\E[A\177\Ezz'\E[B\177\Ezz(\E[D\177\Ezz)\E[C\177\Ezz<\E[Q\177\Ezz`\E[F\177\EA1*\EZH12:\
 	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
-	:k7=^AF\r:k8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fields in order to avoid warning messages from
 #	  older tic implementations.
-#	* According to ctrlseqs.ms, xterm has a full vt100 graphics set.  Use
+#	* According to ctlseqs.ms, xterm has a full vt100 graphics set.  Use
 #	  it! (This gives us pi, greater than, less than, and a few more.)
 #	* Freeze for ncurses-1.9.6 release.
 # 9.10.1 (Sat Oct 21 22:18:09 EDT 1995):
@@ -28688,7 +17417,7 @@
 #	* add linux-koi8r to replace linux-koi8 (which uses a corrupt acsc,
 #	  apparently based on cp-866).
 #	* Merged in Pavel Roskin's acsc for linux-koi8
-#	* Corrected some erroneous \\\s to \.
+#	* Corrected some erroneous \\'s to \.
 #	* 4.2 ncurses has been changed to use setaf/setab, consistent w/SysV.
 #	* II -> ii in pcvtXX, screen, xterm.
 #	* Removed \n chars following ANSI escapes in sgr & friends.
@@ -28707,73 +17436,292 @@
 #	* Incorporated NCR terminfos from the Boundless Technology FTP site.
 #	* Incorporated att700 from the Boundless Technology FTP site.
 #	* Miscellaneous contact-address and Web-page updates.
-# 10.2.2 (Thu May  7 12:18:04 EDT 1998):
-#	* Moved Altos to OBSOLETE UNIX CONSOLES
-#	* Moved Hewlett-Packard terminals to OLDER TERMINAL TYPES, except for
-#	  the 700s which go to WORKSTATION CONSOLES.
-#	* Major reorganization of ANSI/console/VT types.  Moved vt52 to the
-#	  obsolete section.
-#	* Daisy-wheel printers moved to UFO file.
-# 10.2.3 (Tue May 12 22:59:11 EDT 1998):
-#	* Commented out hds200 is2 to avoid overflowing terminfo length limit.
-#	* Restored OT capabilities to UFO file.
+#
+# 1998/5/9
 #	* add nxterm and xterm-color terminfo description (request by Cristian
 #	  Gafton <gafton@redhat.com>).
-#	* Modify rxvt terminfo description to clear alternate screen before
+#	* modify rxvt terminfo description to clear alternate screen before
 #	  switching back to normal screen, for compatibility with applications
 #	  which use xterm (reported by Manoj Kasichainula <manojk@io.com>).
-#	* Modify linux terminfo description to reset color palette (reported
+#	* modify linux terminfo description to reset color palette (reported
 #	  by Telford Tendys <telford@eng.uts.edu.au>).
-# 10.2.4 (Thu Jul  2 18:13:26 EDT 1998):
+#
+# 1998/7/4
+#	* merge changes from current XFree86 xterm terminfo descriptions.
+#
+# 1998/7/25
 #	* Added minitel1 entries from Alexander Montaron.
 #	* Added qnxt2 from Federico Bianchi.
-# 10.2.5: (Mon Aug 24 07:32:34 EDT 1998):
-#	* Resolve NetBSD Problem Report #4583 by adding civis/cnorm to pcvtXX.
-#	* dtterm enacs correction from Alexander V. Lukyanov.
-#	* Added ncsa-telnet, resolving Debian bug report 25341.
+#	* Added arm100 terminfo entries from Dave Millen.
+#
+# 1998/8/6
+#	* Added ncsa telnet entries from Francesco Potorti
+#
+# 1998/8/15
+#	* modify ncsa telnet entry to reflect color, other capabilities based on
+#	  examination of the source code - T.Dickey.
+#
+# 1998/8/22
+#	* Corrected some erroneous \\'s to \ (eterm, osborne) - TD.
+#
+# 1998/8/29
 #	* Added Francesco Potorti's tuned Wyse 99 entries.
-# 10.2.6: (Mon Dec 21 00:49:43 EST 1998):
-#	* Home site has changed.
-# 10.2.7: (Wed Mar  3 15:53:04 EST 1999):
-#	* Documentation fixes, mainly from David J. Mackenzie.
-#
-# 11.0.0: (Wed Mar  1 22:02:03 EST 2000)
-#	* BSD/OS console fixes from Jeffrey Honig at BSDI.
-#       ** TD's branch changes up to his 1999/10/23 version begin here 
-#	* Added arm100 terminfo entries from Dave Millen.
-#	* Added Data General entries from Hasufin.
-#	* NCSA telnet entry from Francesco Potorti as modified by TD.
-#	* Added teraterm, crt, ms-vt100, mach, mach-bold, linux-lat,
-#	  ofcons, wsvt25, wsvt25m, rcons, rcons-color, cygwin, amiga-8bit,
-#	  ibm3161-C, ibm3162.
-#	* Updated xterm entries, BSD/OS entries, AIX entries.
-#	* Updated linux, iris-ansi, screen, beterm entries.
-#	* Added full function keys for scoansi.
-#	* Typo fixes for icl6404, osborne, eterm. att6386
-#	* Corrected hp70092 acsc.
-#	* Added ibmpc from AIX 3.2.5; ibm-pc is no longer a synonym.
-#	* Added ibm5151 from AIX 3.2.5; ibmmono is no longer a synonym.
-#	* Added ibm5154 from AIX 3.2.5; ibmega is no longer a synonym.
-#	* Merged acsc, s0ds, s1ds, sgr0 into ibm5081 from AIX 3.2.5.
-#	* Merged kend, knp, kpp, mc4, mc5 into ibm3161 in from AIX 3.2.5.
-#	* Merged acsc into hft-c from AIX 3.2.5.
-#	* Updated ibm3151 from AIX 3.2.5.
-#	* Errors in TD's branch not accepted: ibm3101, ibm3151, ibm8514
-#	* Merged msgr,colors,pairs,setb,setf into ibm3164 from AIX 3.2.5.
-#	** TD's branch changes end here
-#	* Address updates from various contributors.
-#	* Historical info on basis console.
-#	* Ty Sarna's corrections to the amiga entry.
-#	* Add Kevin Turner's entry for the Wyse 85 in 8-bit mode.
-#	* Added 22 Bull-Questar terminal variants from AIX 4.1.5
-#	* Added OSF/1 console and lft from AIX 4.1.5.
-#	* Move vt2220 to vt220-old, vt220-8 to vt220, introduce vt220-8bit
-#	  from AIX 4.1.5.
-#	* swtp moved to UFO file (only 20 lines).
-#	* Added pcmw.
-# 11.0.1: (Thu Mar  2 10:49:21 EST 2000):
-#	* Disabled hpa, vpa, in rxvt.
-#	* Incorporated ansi components and generic-ansi.
+#	* dtterm enacs correction from Alexander V. Lukyanov.
+#	* Add ncsa-ns, ncsa-m-ns and ncsa-m entries from esr version.
+#	* correct a typo in icl6404 entry.
+#	* add xtermm and xtermc
+#
+# 1998/9/26
+#	* format most %'char' sequences to %{number}
+#	* adapt IBM AIX 3.2.5 terminfo - T.Dickey
+#	* merge Data General terminfo from Hasufin <hasufin@vidnet.net> - TD
+#
+# 1998/10/10
+#	* update xterm-xfree86 to current (patch 84), for is2/rs2 changes - TD
+#	* correct initialization string in xterm-r5, add misc other features
+#	  to correspond with xterm patch 84 - TD
+#
+# 1998/12/19
+#	* update xterm-xfree86 to current (patch 90), smcur/rmcur changes - TD
+#	* add Mathew Vernon's mach console entries
+#	* corrections for ncsa function-keys (report by Larry Virden)
+#
+# 1998/12/19
+#	* change linux to use ncv#2, since underline does not work with color - TD
+#
+# 1999/1/9
+#	* add kbt to iris-ansi, document other shift/control functionkeys - TD
+#	* correct iris-ansi and iris-ansi-ap with respect to normal vs keypad
+#	  application modes, change kent to use the correct keypad code - TD
+#
+# 1999/1/10
+#	* add entry for Tera Term - TD
+#
+# 1999/1/23
+#	* minor improvements for teraterm entry - TD
+#	* rename several entries used by BSDI: bsdos to bsdos-pc-nobold,
+#	  and bsdos-bold to bsdos-pc (Jeffrey C Honig)
+#
+# 1999/2/20
+#	* resolve ambiguity of kend/kll/kslt and khome/kfnd/kich1 strings in
+#	  xterm and ncsa entries by removing the unneeded ones.  Note that
+#	  some entries will return kend & khome versus kslt and kfnd, for
+#	  PC-style keyboards versus strict vt220 compatiblity - TD
+#
+# 1999/3/13
+#	* adjust xterm-xfree86 khome/kend to match default PC-style keyboard
+#	  tables - TD
+#	* add 'crt' entry - TD
+#	* correct typos in 'linux-c' entry - TD
+#
+# 1999/3/14
+#	* update entries for BSD/OS console to use klone+sgr and klone+color
+#	  (Jeffrey C Honig)
+#
+# 1999/3/27
+#	* adjust xterm-xfree86 miscellaneous keypad keys, as per patch #94 - TD.
+#
+# 1999/4/10
+#	* add linux-lat, from RedHat patches to ncurses 4.2
+#
+# 1999/4/17
+#	* add complete set of default function-key definitions for scoansi - TD.
+#
+# 1999/7/3
+#	* add cnorm, cvvis for Linux 2.2 kernels
+#
+# 1999/7/24
+#	* add kmous to xterm-r5 -TD
+#	* correct entries xterm+sl and xterm+sl-twm, which were missing the
+#	  parent "use" clause -TD
+#
+# 1999/7/31
+#	* corrected cnorm, added el1 in 'screen' description -TD
+#
+# 1999/8/14
+#	* add ms-vt100 -TD
+#
+# 1999/8/21
+#	* corrections to beterm entry -TD
+#
+# 1999/8/28
+#	* add cygwin entry -TD
+#
+# 1999/9/4
+#	* minor corrections for beterm entry -TD
+#
+# 1999/9/18
+#	* add acsc string to HP 70092 terminfo entry -Joerg Wunsch
+#
+# 1999/9/25
+#	* add amiga-8bit entry
+#	* add console entries from NetBSD: ofcons, wsvt25, wsvt25m, rcons,
+#	  rcons-color, based on
+#	  ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-current/src/share/termcap/termcap.src
+#	* add alias for iris-ansi-net
+#
+# 1999/10/2
+#	* corrected scoansi entry's acsc, some function keys, add color -TD
+#
+# 1999/10/23
+#	* add cnorm, cvvis to cons25w, and modify ncv to add 'dim' -TD
+#	* reorder ncsa entries to make ncsa-vt220 use the alternate function
+#	  key mapping, leaving Potorti's entries more like he named them -TD
+#	* remove enter/exit am-mode from cygwin -TD
+#
+# 1999/10/30
+#	* correct typos in several entries (missing '[' from CSI):
+#	  mgr-sun, ncsa-m, vt320-k3, att505, avt-ns, as well as smir/rmir
+#	  strings for avt-ns -TD
+#	* add 'dim' to ncv mask for linux (report by Klaus Weide).
+#
+# 1999/11/27
+#	* correct kf1-kf4 in xterm-r6 which were vt100-style PF1-PF4 -TD
+#	* add hts to xterm-r6, and u6-u9 to xterm-r5 -TD
+#	* add xterm-88color and xterm-256color -TD
+#
+# 1999/12/4
+#	* add "obsolete" termcap strings -TD
+#	* add kvt and gnome entries -TD
+#
+# 1999/12/11
+#	* correct cup string for regent100 -TD
+#
+# 2000/1/1
+#	* update mach, add mach-color based on Debian diffs for ncurses 5.0 -TD
+#	* add entries for xterm-hp, xterm-vt220, xterm-vt52 and xterm-noapp -TD
+#	* change OTrs capabilities to rs2 -TD
+#	* add obsolete and extended capabilities to 'screen' -TD
+#
+# 2000/1/5
+#	* remove kf0 from rxvt, vt520, vt525 and ibm5151 since it conflicts
+#	  with kf10 -TD
+#	* updated xterm-xf86-v40, making kdch1 correspond to vt220 'Remove',
+#	  and adding kcbt -TD
+#
+# 2000/1/12
+#	* remove incorrect khome/kend from xterm-xf86-v333, which was based on
+#	  nonstandard resource settings -TD
+#
+# 2000/2/26
+#	* minor fixes for xterm-*, based on Debian #58530 -TD
+#
+# 2000/3/4
+#	* add several terminal types from esr's "11.0", as well as comments.
+#	  bq300*, dku7102-old, dku7202, hft, lft, pcmw, pmcons, tws*, vip*,
+#	  vt220-8bit, vt220-old, wy85-8bit
+#
+# 2000/3/18
+#	* add several terminal types from esr's "11.0.1" (ansi-*).
+#	* update OTxx capabilities for changes on 2000/3/4.
+#	* revert part of vt220 change (request by Todd C Miller for OpenBSD)
+#
+# 2000/3/26
+#	* move screen's AX extension to ecma+color, modify several entries to
+#	  use that, adjusting ncv as needed -TD
+#
+# 2000/4/8
+#	* add bsdos-pc-m, bsdos-pc-mono (Jeffrey C Honig)
+#	* correct spelling error in entry name: bq300-rv was given as bg300-rv
+#	  in esr's version.
+#
+# 2000/4/15
+#	* add cud, ech, etc., to beterm based on feedback from Rico Tudor -TD
+#	* correct color definition for ibm3164, make minor changes to other
+#	  IBM terminal definitions based on recent terminfo descriptions -TD
+#
+# 2000/4/22
+#	* add mgterm, from NetBSD -TD
+#	* add alias sun-cgsix for sun-ss5 as per NetBSD
+#	* change cons25w to use rs2 for reset rather than rs1 -TD
+#	* add rc/sc to aixterm based on manpage -TD
+#
+# 2000/5/13
+#	* remove ncv from xterm-16color, xterm-256 color
+#
+# 2000/6/10
+#	* add kmous capability to linux to use Joerg Schoen's gpm patch.
+#
+# 2000/7/1
+#	* add Eterm (Michael Jennings)
+#
+# 2000-07-18
+#       * add amiga-vnc entry.
+#
+# 2000-08-12
+#	* correct description of Top Gun Telnet.
+#	* add kterm-color
+#
+# 2000-08-26
+#	* add qansi* entries from QNX ftp site.
+#
+# 2000-09-16
+#	* add Matrix Orbital entries by Eric Z. Ayers).
+#	* add xterm-basic, xterm-sco entries, update related entries to XFree86
+#	  4.0.1c -TD
+#
+# 2000-09-17
+#	* add S0, E0 extensions to screen's entry -TD
+#
+# 2000-09-23
+#	* several corrections based on tic's new parameter-checking code -TD
+#	* modify xterm-r6 and similar rs2 sequences which had \E7...\E8
+#	  bracketing sequences that reset video attributes (\E8 would restore
+#	  them) -TD
+#
+# 2000-11-11
+#	* rename cygwin to cygwinB19, adapt newer entry from Earnie Boyd -TD
+#
+# 2000-12-16
+#	* improved scoansi, based on SCO man-page, and testing console,
+#	  scoterm with tack -TD
+#
+# 2001-01-27
+#	* modify kterm to use acsc via SCS controls.
+#
+# 2001-02-10
+#	* screen 3.9.8 allows xterm mouse controls to pass-through
+#
+# 2001-03-11
+#	* remove spurious "%|" from some xterm entries.
+#
+# 2001-03-31
+#	* modify 'screen' khome/kend to match screen 3.09.08
+#	* add examples of 'screen' customization (screen.xterm-xfree86,
+#	  screen.xterm-r6, screen.teraterm) -TD
+#
+# 2001-04-14
+#	* correct definitions of shifted editing keys for xterm-xfree86 -TD
+#	* add "Apple_Terminal" entries -Benjamin Sittler
+#	* remove time-delays from "Apple_Terminal" entries -TD
+#	* make sgr entries time-delays consistent with individual caps -TD
+#
+# 2001-05-05
+#	* corrected/updated screen.xterm-xfree86
+#
+# 2001-05-19
+#	* ELKS descriptions, from Federico Bianchi
+#	* add u6 (CSR) to Eterm (Michael Jennings).
+#
+# 2001-07-21
+#	* renamed "Apple_Terminal" entries to "nsterm" to work with Solaris's
+#	  tic which handles names no longer than 14 characters.  Add
+#	  corresponding descriptions for the Darwin PowerPC console named
+#	  "xnuppc" -Benjamin Sittler
+#
+# 2001-09-01
+#	* change kbs in mach entries to ^? (Marcus Brinkmann).
+#
+# 2001-11-17
+#	* add "putty" entry -TD
+#	* updated "Apple_Terminal" entries -Benjamin Sittler
+#
+# 2001-11-24
+#	* add ms-vt100-color entry -TD
+#	* add "konsole" entries -TD
+#
+# 2001-12-08
+#	* update gnome entry to Redhat 7.2 -TD
 #
 # The following sets edit modes for GNU EMACS.
 # Local Variables:
@@ -28782,6 +17730,6 @@
 # comment-column:0
 # comment-start-skip:"^#+"
 # comment-start:"# "
-# compile-command:"tic -c termtypes.master"
+# compile-command:"tic -c terminfo.master"
 # End:
 ######## SHANTIH!  SHANTIH!  SHANTIH!