changeset 42040:e9b0a8b3214e

New version from Gary Wong <gtw@gnu.org>, the termcap maintainer.
author Richard M. Stallman <rms@gnu.org>
date Sat, 15 Dec 2001 04:47:36 +0000
parents 8d1a003ea1f7
children b4eeb5fd09f9
files etc/termcap.src
diffstat 1 files changed, 15499 insertions(+), 3182 deletions(-) [+]
line wrap: on
line diff
--- a/etc/termcap.src	Sat Dec 15 00:26:22 2001 +0000
+++ b/etc/termcap.src	Sat Dec 15 04:47:36 2001 +0000
@@ -269,7 +269,9 @@
 	:co#80:\
 	:bl=^G:cr=^M:do=^J:sf=^J:
 unknown|unknown terminal type:\
-	:gn:tc=dumb:
+	:am:gn:\
+	:co#80:\
+	:bl=^G:cr=^M:do=^J:sf=^J:
 lpr|printer|line printer:\
 	:bs:hc:os:\
 	:co#132:li#66:\
@@ -292,11 +294,13 @@
 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:tc=ansi+local1:
+	:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:do=\E[B:le=\E[D:\
+	:nd=\E[C:up=\E[A:
 ansi+tabs:\
 	:bt=\E[Z:ct=\E[2g:st=\EH:ta=^I:
 ansi+inittabs:\
-	:it#8:tc=ansi+tabs:
+	:it#8:\
+	:bt=\E[Z:ct=\E[2g:st=\EH:ta=^I:
 ansi+erase:\
 	:cd=\E[J:ce=\E[K:cl=\E[H\E[J:
 ansi+rca:\
@@ -308,7 +312,7 @@
 ansi+idl1:\
 	:al=\E[L:dl=\E[M:
 ansi+idl:\
-	:AL=\E[%dL:DL=\E[%dM:tc=ansi+idl1:
+	:AL=\E[%dL:DL=\E[%dM:al=\E[L:dl=\E[M:
 ansi+idc:\
 	:IC=\E[%d@:dc=\E[P:ei=\E6:ic=\E[@:im=\E6:
 ansi+arrows:\
@@ -320,11 +324,13 @@
 ansi+sgrul|ansi underline only:\
 	:ue=\E[m:us=\E[4m:
 ansi+sgrbold|ansi graphic renditions; assuming terminal has bold; not dim:\
-	:md=\E[1m:\
-	:..sa=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m:tc=ansi+sgr:tc=ansi+sgrso:tc=ansi+sgrul:
+	: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:
 ansi+sgrdim|ansi graphic renditions; assuming terminal has dim; not bold:\
-	:mh=\E[2m:\
-	:..sa=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p5%t2;%;m:tc=ansi+sgr:tc=ansi+sgrso:tc=ansi+sgrul:
+	: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:
 ansi+pp|ansi printer port:\
 	:pf=\E[4i:po=\E[5i:ps=\E[0i:
 ansi+csr|ansi scroll-region plus cursor save & restore:\
@@ -337,7 +343,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=+\020\054\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:\
+	: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:
 
 # Highlight controls corresponding to the ANSI.SYS standard.  Most 
@@ -345,27 +351,28 @@
 # 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:mb=\E[5m:md=\E[1m:me=\E[0;10m:\
+	: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[m:so=\E[7m:ue=\E[m:us=\E[4m:\
-	:tc=klone+acs:
+	:se=\E[m:so=\E[7m:ue=\E[m:us=\E[4m:
 
 # 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):\
-	:as=\E[12m:mb=\E[5m:md=\E[1m:me=\E[0;10m:mk=\E[8m:\
-	:mr=\E[7m:\
+	: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:\
 	:..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:\
-	:tc=klone+acs:
+	:se=\E[m:so=\E[7m:ue=\E[m:us=\E[4m:
 
 # KOI8-R (RFC1489) acs (alternate character set)
 # From: Qing Long <qinglong@Bolizm.ihep.su>, 24 Feb 1996.
 klone+koi8acs|alternate character set for ansi.sys displays with KOI8 charset:\
-	:ac=+\020\054\021-\036.^_0\215`\004a\237f\234g\232h\222i\220j\205k\203l\202m\204n\212o\213p\216q\0r\217s\214t\206u\207v\210w\211x\201y\230z\231{\267|\274}L~\225:\
+	:ac=+\020,\021-\036.^_0\215`\004a\237f\234g\232h\222i\220j\205k\203l\202m\204n\212o\213p\216q\0r\217s\214t\206u\207v\210w\211x\201y\230z\231{\267|\274}L~\225:\
 	:ae=\E[10m:as=\E[11m:
 
 # ANSI.SYS color control.  The setab/setaf caps depend on the coincidence
@@ -377,18 +384,22 @@
 # They match a subset of ECMA-48.
 klone+color|color control for ansi.sys and ISO6429-compatible displays:\
 	:Co#8:NC#3:pa#64:\
-	:AB=\E[4%p1%dm:AF=\E[3%p1%dm:op=\E[37;40m:
+	:AB=\E[4%dm:AF=\E[3%dm:op=\E[37;40m:
 
 # 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:\
 	:Co#8:NC#3:pa#64:\
-	:AB=\E[4%p1%dm:AF=\E[3%p1%dm:op=\E[39;49m:
+	: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:\
-	:se=\E[27m:ue=\E[24m:\
-	:tc=klone+sgr:
+	: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:
 
 # For comparison, here are all the capabilities implied by the Intel
 # Binary Compatibility Standard (level 2) that fit within terminfo.
@@ -396,7 +407,7 @@
 # near the end of this file.
 ibcs2|Intel Binary Compatibility Standard prescriptions:\
 	:AL=\E[%dL:DC=\E[%dP:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:\
-	:RA=\E[?7l:RI=\E[%dC:S1=\E=%p1%dg:SA=\E[?7h:SF=\E[%dS:\
+	:RA=\E[?7l:RI=\E[%dC:S1=\E=%dg:SA=\E[?7h:SF=\E[%dS:\
 	:SR=\E[%dT:UP=\E[%dA:bt=\E[Z:ch=\E[%i%dG:cl=\Ec:\
 	:cm=\E[%i%d;%dH:ct=\E[g:cv=\E[%i%dd:ec=\E[%dX:ei=:im=:\
 	:rc=\E7:sc=\E7:st=\EH:
@@ -415,19 +426,25 @@
 # 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:xo:\
-	:co#80:li#24:tc=vanilla:tc=ansi+erase:tc=ansi+local1:
+	: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:
 
 # 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:xo:\
-	:co#80:li#24:tc=vanilla:tc=ansi+cup:tc=ansi+erase:
+	: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-mtabs adds relative addressing and minimal tab support 
 ansi-mtabs|any ansi terminal with pessimistic assumptions:\
-	:it#8:\
-	:ta=^I:tc=ansi+local1:tc=ansi-mini:
+	: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:
 
 # ANSI X3.64 from emory!mlhhh (Hugh Hansard) via BRL
 #
@@ -479,48 +496,150 @@
 pcansi-m|pcansi-mono|ibm-pc terminal programs claiming to be ansi (mono mode):\
 	:am:bs:mi:ms:\
 	:co#80:it#8:li#24:\
-	: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:
+	: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:
 pcansi-25-m|pcansi25m|ibm-pc terminal programs with 25 lines (mono mode):\
-	:li#25:tc=pcansi-m:
+	: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:
 pcansi-33-m|pcansi33m|ibm-pc terminal programs with 33 lines (mono mode):\
-	:li#33:tc=pcansi-m:
+	: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:
 pcansi-43-m|ansi43m|ibm-pc terminal programs with 43 lines (mono mode):\
-	:li#43:tc=pcansi-m:
+	: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:
 # The color versions.  All PC emulators do color...
 pcansi|ibm-pc terminal programs claiming to be ansi:\
-	:tc=klone+color:tc=pcansi-m:
+	: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:
 pcansi-25|pcansi25|ibm-pc terminal programs with 25 lines:\
-	:li#25:tc=pcansi:
+	: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:
 pcansi-33|pcansi33|ibm-pc terminal programs with 33 lines:\
-	:li#33:tc=pcansi:
+	: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:
 pcansi-43|pcansi43|ibm-pc terminal programs with 43 lines:\
-	:li#43:tc=pcansi:
+	: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:
 
 # 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:\
+	:5i:am:bs:mi:ms:\
+	:co#80:it#8:li#24:\
 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:D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i -- 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:\
-	:u6=\E[%i%d;%dR:u7=\E[6n:..u8=\E[?%[;0123456789]c:\
-	:u9=\E[c:\
-	:tc=ecma+color:tc=klone+sgr:tc=ansi-m:
+	: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:
 
 # ansi-generic is a vanilla ANSI terminal. This is assumed to implement 
 # all the normal ANSI stuff with no extensions. It assumes 
@@ -530,11 +649,19 @@
 # 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: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:
+	: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:
 
 #### Linux consoles
 #
@@ -594,60 +721,205 @@
 # 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)
-# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 linux|linux console:\
-	:am:eo:mi:ms:xn:xo:\
-	:it#8:\
-	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:K2=\E[G: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: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: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~: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:mh=\E[2m:\
-	:mr=\E[7m:nd=\E[C:nw=^M^J:rc=\E8:sc=\E7:se=\E[27m:sf=^J:\
-	:sr=\EM:st=\EH:ta=^I: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:
+	: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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[?25l\E[?1c:vs=\E[?25h\E[?8c:
 linux-m|Linux console no color:\
-	:Co@:pa@:\
-	:AB@:AF@:Sb@:Sf@:tc=linux:
+	:am:eo:mi:ms:ut:xn:xo:\
+	:NC#2:it#8:\
+	:&7=^Z:@7=\E[4~: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:
 linux-c-nc|linux console 1.3.x hack for ncurses only:\
-	:cc:\
+	: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%x%p2%{255}%*%{1000}%/%02x%p3%{255}%*%{1000}%/%02x%p4%{255}%*%{1000}%/%02x:\
-	:oc=\E]R:\
-	:tc=linux:
+	: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:\
-	:cc:\
-	:Co#8:pa#64:\
+	: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%?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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:
 
 # 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:
+	: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~: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: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:
 
 # 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\054\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:
+	: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:\
-	:tc=linux:tc=klone+koi8acs:
+	:am:eo:mi:ms:ut:x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=\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:\
-	:ac=+\020\054\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:
+	: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:\
+	: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
 #
@@ -668,7 +940,7 @@
 	: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=++\054\054--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz~~:\
+	: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:\
@@ -687,45 +959,261 @@
 #	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:
+	: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: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:
 pcvt28|dec vt220 emulation with 28 lines:\
-	:co#80:li#28:\
-	:is=\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:\
+	: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;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:\
-	:co#132:li#25:\
-	:is=\E[1;25r\E[25;1H:tc=pcvtXX:
+	: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[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: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:
 
 # Terminfo entries to enable the use of the ncurses library in colour on a
 # NetBSD-arm32 console (only tested on a RiscPC).
@@ -734,9 +1222,28 @@
 # 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:\
+	: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=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{{||}}~~:\
 	: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:\
@@ -744,21 +1251,36 @@
 	: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[6m:nd=\E[C:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
-	:rc=\E8:\
+	:mr=\E[6m:nd=\E[C:op=\E[37;40m: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=ecma+sgr:tc=klone+color:
-arm100-w|arm100-wam|Arm(RiscPC) ncurses compatible (for 1024x768):\
-	:co#132:li#50:tc=arm100:
+	: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:\
-	:co#96:li#32:\
-	:%1=\E[28~:kC=\E[9~:tc=vt220:
+	: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.
@@ -782,21 +1304,80 @@
 # 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:
+	:5i:am:bs:mi:ms:xn:xo:\
+	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n: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~:\
+	: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: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:\
-	:tc=sun-il:
+	: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:\
-	:ut:\
-	:Co#8:pa#64:\
-	:AB=\E[4%dm:AF=\E[3%dm:op=\E[m:tc=rcons:
+	: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
 #
@@ -824,7 +1405,7 @@
 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%p1%dm:AF=\E[3%p1%dm:AL=\E[%dL:DC=\E[%dP:\
+	:@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`:\
@@ -837,56 +1418,358 @@
 	: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:
 cons25|ansis|ansi80x25|freebsd console (25-line ansi 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:\
 	: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:
+	: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:
 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:
+	: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=\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=\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:
 cons43|ansi80x43|freebsd console (43-line ansi mode):\
-	:li#43:tc=cons25:
+	:NP:am:bw:eo:ms:ut:\
+	:Co#8:NC#21:co#80:it#8:li#43: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:
 cons43-m|ansi80x43-mono|freebsd console (43-line mono ansi mode):\
-	:li#43:tc=cons25-m:
+	:NP:am:bw:eo:ms:ut:\
+	:NC#21:co#80:it#8:li#43:\
+	:@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:
 cons50|ansil|ansi80x50|freebsd console (50-line ansi mode):\
-	:li#50:tc=cons25:
+	: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):\
-	:li#50:tc=cons25-m:
+	: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=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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:
 cons60-m|ansi80x60-mono|freebsd console (60-line mono ansi mode):\
-	:li#60:tc=cons25-m:
+	: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=-\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:
 cons25r|pc3r|ibmpc3r|cons25-koi8-r|freebsd console w/koi8-r cyrillic:\
+	: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=-\030.^Y0\215`\004a\220f\234h\221i\025j\205k\203l\202m\204n\212q\0t\206u\207v\211w\210x\201y\230z\231~\225:\
-	:tc=cons25w:
+	: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:
 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:
+	: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):\
-	:li#50:tc=cons25r:
+	: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):\
-	:li#50:tc=cons25r-m:
+	: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[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=: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s=\E[=1C:
 # ISO 8859-1 FreeBSD console
 cons25l1|cons25-iso8859|freebsd console w/iso 8859-1 chars:\
-	:ac=+\253\054\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:
+	: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):\
-	:Co@:pa@:\
-	:AB@:AF@:md@:mh@:op@:ue=\E[m:us=\E[4m:tc=cons25l1:
+	: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):\
-	:li#50:tc=cons25l1:
+	: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):\
-	:li#50:tc=cons25l1-m:
+	: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;%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:
 cons60l1|cons60-iso|freebsd console w/iso 8859-1 chars (60 lines):\
-	:li#60:tc=cons25l1:
+	: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=+\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:
 cons60l1-m|cons60-iso-m|freebsd console w/iso 8859-1 chars (60-line mono):\
-	:li#60:tc=cons25l1-m:
+	: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
 #
@@ -922,31 +1805,94 @@
 # Bug: The <op> capability resets attributes.
 bsdos-pc-nobold|BSD/OS PC console w/o bold:\
 	:am: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:\
+	: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:nd=\E[C:nw=^M^J:rc=\E8:\
+	: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:sf=^J:ta=^I:up=\E[A:\
-	:tc=klone+sgr:tc=klone+color:
+	: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:\
-	:..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:
+	: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:\
-	:tc=bsdos-pc-nobold:
+	: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:\
-	:tc=bsdos-pc:
+	: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:\
-	:tc=sun:
+	: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:\
-	:tc=bsdos-pc:
+	: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
 #
@@ -1101,58 +2047,185 @@
 	:k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:\
 	:kb=^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 # Ordinary vt100 in 132 column ("wide") mode.
 vt100-w|vt100-w-am|dec vt100 132 cols (w/advanced video):\
-	:co#132:li#24:\
-	:r2=\E>\E[?3h\E[?4l\E[?5l\E[?8h:tc=vt100-am:
+	: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=\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[?3h\E[?4l\E[?5l\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:
 vt100-w-nam|vt100-nam-w|dec vt100 132 cols (w/advanced video no automargin):\
-	:co#132:li#14:vt@:\
-	:r2=\E>\E[?3h\E[?4l\E[?5l\E[?8h:tc=vt100-nam:
+	:bs:ms:xo:\
+	:co#132:it#8:li#14:\
+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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:\
-	: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;%p1%dH\E[1K:\
-	:tc=vt100-am:
+	: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:\
-	:es:hs:\
-	:li#23:\
-	:ds=\E7\E[1;24r\E8:fs=\E8:is=\E[1;23r\E[23;1H:\
-	:ts=\E7\E[24;%p1%dH\E[1K:\
-	:tc=vt100-am:
+	: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:\
-	:mi:\
-	:al=\E[L:dc=\E[P:dl=\E[M:ei=\E[4l:im=\E[4h:tc=vt100:
+	: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=\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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many brain-dead PC comm programs that pretend to be `vt100-compatible'
 # fail to interpret the ^O and ^N escapes properly.  Symptom: the :me:
@@ -1163,12 +2236,40 @@
 # 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:
+	: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=\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:\
+	: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:ue=\E[m:up=\E[A:\
+	:us=\E[4m:
 
 # VT125 Graphics CRT.  Clear screen also erases graphics
 vt125|vt125 graphics terminal:\
-	:cl=\E[H\E[2J\EPpS(E)\E\:tc=vt100:
+	: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[2J\EPpS(E)\E\\: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:
 
 # 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)
@@ -1192,8 +2293,22 @@
 # 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:
+	: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
@@ -1213,53 +2328,78 @@
 	: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:\
-	:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
+	: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
-# (untranslatable capabilities removed to fit entry within 1023 bytes)
-# (sgr removed to fit entry within 1023 bytes)
-# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 vt220|vt200|dec vt220:\
-	:am:bs: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: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=^J:ec=\E[%dX:\
-	:ei=\E[4l:ho=\E[H:if=/usr/share/tabset/vt100:im=\E[4h:\
+	: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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\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)
-# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
+	:5i:am:bs:mi:ms:xn:xo:\
+	:co#132: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: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:\
-	: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:
+	: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:
@@ -1270,14 +2410,49 @@
 # 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@:\
+	: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[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
-	:tc=vt220-old:
+	: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:
 
 vt220-nam|v200-nam|VT220 in vt100 mode with no auto margins:\
-	:am@:\
-	:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h:tc=vt220:
+	: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:
 
 # vt220 termcap written Tue Oct 25 20:41:10 1988 by Alex Latzko
 # (not an official DEC entry!)
@@ -1316,8 +2491,27 @@
 # 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@:\
-	:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8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not DEC's official ones, they were purpose-built for the 
 # VT320.  Here are the designer's notes:
@@ -1332,42 +2526,107 @@
 # 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) 
-# (untranslatable capabilities removed to fit entry within 1023 bytes)
-# (sgr 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:\
+	:%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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:rc=\E8:rf=/usr/share/tabset/vt300:\
+	:rs=\E>\E[?3l\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:
 # 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:\
+	:am:es:hs:mi:ms:xn:\
+	:co#132:li#24: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: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[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
-	:r2=\E>\E[?3h\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
-	:tc=vt320:
+	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
+	: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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:\
-	:r2=\E>\E[?3h\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H:\
-	:tc=vt320-w:
+	: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
@@ -1430,26 +2689,26 @@
 # 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)
-# (untranslatable capabilities removed to fit entry within 1023 bytes)
-# (sgr removed to fit entry within 1023 bytes)
-# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 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=\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:vs=\E[?25h:
+	: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)
@@ -1492,42 +2751,177 @@
 # 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\072vt420pcdos\072:k1=\E[11~:k2=\E[12~:\
+	:am:mi:xn:xo:\
+	:co#80:li#24:vt#3:\
+	:*6=\E[4~:@0=\E[1~:@7=\E[4~:F1=\E[23~:F2=\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\\:\
+	: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:
 
 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:
+	:am:mi:xn:xo:\
+	:co#80:li#24:vt#3:\
+	:*6=\E[4~:@0=\E[1~: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:\
+	: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=\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;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1%>%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
 #
@@ -1543,7 +2937,6 @@
 # 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)
-# (untranslatable capabilities removed to fit entry within 1023 bytes)
 vt520|DEC VT520:\
 	:am:mi:xn:xo:\
 	:co#80:li#24:vt#3:\
@@ -1559,13 +2952,15 @@
 	: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: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:
+	: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)
-# (untranslatable capabilities removed to fit entry within 1023 bytes)
 vt525|DEC VT525:\
 	:am:mi:xn:xo:\
 	:co#80:li#24:vt#3:\
@@ -1581,9 +2976,12 @@
 	: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: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:
+	: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
 #
@@ -1593,11 +2991,44 @@
 # 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:
+	:am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: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:
 
 # 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
@@ -1607,24 +3038,80 @@
 # (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:\
+	:am:es:hs:mi:ms:xn:\
+	:co#132:li#42:ws#132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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 2.3 emulating VT220:\
-	:ms:ut:\
-	:Co#8:pa#64:\
-	:AB=\E[4%p1%dm:AF=\E[3%p1%dm:Sb=\E[4%dm:Sf=\E[3%dm:\
-	:op=\E[39;49m:st=\EH:u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?1;2c:\
-	:u9=\E[c:\
-	:tc=vt220:
+	:5i:am:bs:mi:ms:ut:xn:xo:\
+	:Co#8:co#80:it#8:li#24:pa#64:vt#3:\
+	:%0=\E[29~:%1=\E[28~:*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~: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:Sb=\E[4%dm:Sf=\E[3%dm:\
+	: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:op=\E[39;49m: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: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:
 
 # 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
@@ -1666,30 +3153,50 @@
 # "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\054\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:
+	: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~:F5=\E[28~:F6=\E[29~:\
+	:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~: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:al=\E[L:as=^N: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:eA=\E(B\E)0:ec=\E[%dX:ho=\E[H:k0=\EOy: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:mb=\E[5m:\
+	:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:op=\E[100m: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[27m: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[24m:\
+	:up=\E[A:us=\E[4m:vb=200\E[?5h\E[?5l: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:\
-	:li#25:\
-	:ac=+\020\054\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@:u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?6c:u9=\E[c:\
-	:tc=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
 #
@@ -1736,98 +3243,264 @@
 	: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:\
-	:r2=\E>\E[?1;3;4;5;6l\E[4l\E[?7h\E[m\E[r\E[2J\E[H:\
-	:rc=\E8:\
+	: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
-# (untranslatable capabilities removed to fit entry within 1023 bytes)
-# (sgr removed to fit entry within 1023 bytes)
-# (terminfo-only capabilities suppressed 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:\
-	: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:ei=\E[4l:\
-	:ho=\E[H:im=\E[4h:\
+	:*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:\
+	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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)
-# (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>:\
+	: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%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=\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 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:
+	: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%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:
 
 # 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:\
-	:*6@:@0@:@7=\E[4~:ei=:ic@:im=:is=\E[\041p\E[?3;4l\E[4l\E>:\
-	:kD=\E[3~:kh=\E[1~:mb=\E[5m:mk=\E[8m:pf=\E[4i:po=\E[5i:\
-	:ps=\E[i:r1=\Ec:r2=\E[\041p\E[?3;4l\E[4l\E>:\
+	:5i:am:bs:km:mi:ms:ut:xn:\
+	:Co#8:co#80:it#8:li#24:pa#64:\
+	:@1=\EOE:@7=\E[4~:@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: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=\E[3~: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\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:\
-	:tc=xterm-xf86-v33:
+	: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):\
-	:@7=\EOF:K1=\EOH:K2=\EOE:K3=\E[5~:K4=\EOF:K5=\E[6~:kD=\177:\
-	:kh=\EOH:te=\E[?1049l:ti=\E[?1049h:\
-	:tc=xterm-xf86-v333:
+	:5i:am:bs:km:mi:ms:ut:xn:\
+	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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[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:\
+	: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:\
-	: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:\
+	: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:F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:\
+	: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.
@@ -1838,75 +3511,224 @@
 #	SS3	\E O	\217
 #	CSI	\E [	\233
 #
-# (untranslatable capabilities removed to fit entry within 1023 bytes)
-# (sgr 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:\
+	: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~:kD=\2333~:\
-	:kI=\2332~:kN=\2336~:kP=\2335~:kb=^H:kd=\217B:\
+	: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: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:vs=\233?25h:
+	: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):\
-	:li#24:tc=xterm:
+	: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=``aaffggiijjkkllmmnnoopp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llmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?1;2c:u9=\E[c:\
-	:tc=xterm-r6:
+	: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:
 
 # 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:
+	:am:bs:hs:km:mi:ms:xn:\
+	:co#80:it#8:li#24:ws#40:\
+	:*6=\E[4~:@0=\E[1~:AL=\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# 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:
+	: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):\
-	:es:hs:\
-	:Km=\E[M:ac@:ae@:as@:cs=\E[%i%d;%dr:ds=\E[?H:eA@:fs=\E[?F:\
-	:op=\E[39;49m:rc=\E8:sc=\E7:ts=\E[?E\E[?%i%dT:\
-	:tc=xterm-r6:tc=klone+color:
+	: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:\
-	:IC@:ei=:ic@:im=:\
-	:tc=xterm:
+	: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:\
-	:te@:ti@:\
-	:tc=xterm:
+	: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.
@@ -1914,24 +3736,29 @@
 # 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)
-# (sgr removed to fit entry within 1023 bytes)
-# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 color_xterm|cx|cx100|color_xterm color terminal emulator for X:\
 	:am:bs:km:mi:ms:xn:\
-	:co#80:it#8:li#65:\
-	: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:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:\
+	: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[%d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%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
@@ -1939,8 +3766,27 @@
 # description is "compatible" with color_xterm, rxvt and XFree86 xterm, except
 # that each of those implements the home, end, delete keys differently.
 nxterm|xterm-color|generic color xterm:\
-	:NC@:\
-	:op=\E[m:tc=xterm-r6:tc=klone+color:
+	:am:bs:km:mi:ms:xn:\
+	:Co#8: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:\
+	: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:op=\E[m: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: Thomas Dickey <dickey@clark.net> 04 Oct 1997
 # Updated: Oezguer Kesim <kesim@math.fu-berlin.de> 02 Nov 1997
@@ -1960,43 +3806,71 @@
 # 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)
-# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 rxvt|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:\
+	:am:bs:eo:km:mi:ms:ut:xn:xo:\
+	:co#80:it#8:li#24:\
+	:#2=\E[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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=\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:\
+	: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=\E[3~:kE=\E[8^: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[m\017:\
+	:mr=\E[7m:nd=\E[C:op=\E[39;49m:\
+	:r1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H:\
+	:r2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E>:\
+	:rc=\E8:s0=\E(B:s1=\E(0: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:vs=\E[?25h:
 
 # 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[%p1%dY:IC=\E[%d@:K1=\EOq:K2=\EOr:\
+	: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{{||}}~~:\
@@ -2008,17 +3882,35 @@
 	: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:
+	: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[?4r:ti=\E@0\E[?4s\E[?4h\E@1:up=\E[A:
 
 xtermc|xterm terminal emulator (color):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\
+	: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[?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
@@ -2026,15 +3918,34 @@
 # 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:
+	: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:\
+	: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:\
@@ -2060,23 +3971,61 @@
 # 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:\
+	: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:\
-	: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:\
+	: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:\
-	:kI=\E[2z:kN=\E[222z:kP=\E[216z:kh=\E[214z:\
-	:tc=xterm:
+	: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:\
-	:co#80:li#24:tc=xterm-sun:
+	: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%p1%d;:AF=\Er%i%p1%d;:\
+	:*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;:\
@@ -2090,7 +4039,7 @@
 	: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=\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7m:nd=\E[C:\
-	:nw=\r\E[S:rc=\E8:\
+	:nw=\r\E[S:op=\E[37;40m: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:\
-	:tc=klone+color:
+	:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[=1C:vi=\E[=C:
 # (pc6300plus: removed ":KM=/usr/lib/ua/kmap.s5:"; renamed BO/EE/CI/CV -- esr)
 pc6300plus|AT&T 6300 plus:\
 	:am:bs:xo:\
@@ -2265,22 +4213,26 @@
 # (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)
-# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 att7300|unixpc|pc7300|3b1|s4|AT&T UNIX PC Model 7300:\
 	:am:xo:\
 	:co#80:it#8:li#24:\
-	: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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m: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:
 
 #### Hewlett-Packard consoles
 #
@@ -2293,7 +4245,7 @@
 # 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:\
+	: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:\
@@ -2304,7 +4256,7 @@
 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\054t5u6v8w7x.:ae=^O:\
+	: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:\
@@ -2331,13 +4283,13 @@
 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:\
+	:@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\:\
+	: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:\
@@ -2397,23 +4349,53 @@
 	: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:\
+	: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:
 iris-ansi-ap|IRIS ANSI in application-keypad mode:\
-	:@8=\EOM:F1=\E[011q:F2=\E[012q:is=\E[?1l\E=\E[?7h:\
-	:k9=\E[009q:k;=\E[010q:\
-	:tc=iris-ansi:
+	: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:
 
 # 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:\
-	:NC#33:\
-	:DC=\E[%dP:IC=\E[%d@:ZH=\E[3m:ZR=\E[23m:cs=\E[%i%d;%dr:\
-	:ec=\E[%dX:ei=:im=:mh=\E[2m:r1=\Ec:\
+	:am:\
+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	:vs=\E[10/y\E[=1h\E[=2l\E[=6h:
 
 # (wsiris: this had extension capabilities
 #	:HS=\E7F2:HE=\E7F7:\
@@ -2451,11 +4433,32 @@
 	: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:
+	:am:bs:hs:km:ul:\
+	:co#96:it#8:li#48:\
+	: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-90x28|NeWS psterm 90x28:\
-	:co#90:li#28:tc=psterm:
+	:am:bs:hs:km:ul:\
+	:co#90:it#8:li#28:\
+	: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-80x24|NeWS psterm 80x24:\
-	:co#80:li#24:tc=psterm:
+	:am:bs:hs:km:ul:\
+	:co#80:it#8:li#24:\
+	: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:
 # 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)
@@ -2503,26 +4506,26 @@
 #	F13-F24 are shifted F1-F12
 #	F25-F36 are control F1-F12
 #	F37-F48 are shift+control F1-F12
-# (untranslatable capabilities removed to fit entry within 1023 bytes)
 scoansi|SCO Extended ANSI standard crt:\
 	:am:eo:xo:\
 	:Co#8:co#80:it#8:li#25:pa#64:\
-	:@1=\E[E:@7=\E[F:AB=\E[4%p1%dm:AF=\E[3%p1%dm: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:FQ=\E[v:FR=\E[w:FS=\E[x:FT=\E[y:FU=\E[z:\
-	:FV=\E[@:FW=\E[[:FX=\E[\:FY=\E[]:FZ=\E[\136:Fa=\E[_:\
-	:Fb=\E[`:Fc=\E[{:\
-	:ac=0[5566778899\072\072;;<<==>>FFGGHHIIJJKKLLMMNNOOPPQQR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;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=\E[S:so=\E[7m:sr=\E[T:ta=^I:ue=\E[m:up=\E[A:\
+	:us=\E[4m:
 
 #### Sun consoles
 #
@@ -2549,71 +4552,215 @@
 	: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:md@:me=\E[m:mr=\E[7m:nd=\E[C:\
-	:r2=\E[s:\
+	: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:ue@:\
-	:up=\E[A:us@:
+	: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:\
-	:AL@:al@:tc=sun-il:
+	: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:\
-	:tc=sun-il:
+	: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:
 
 # 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:
+	: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:\
-	:hs:\
-	:ds=\E]l\E\:fs=\E\:ts=\E]l:tc=sun-e:
+	: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:\
-	:co#80:li#48:tc=sun:
+	: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:\
-	:co#80:li#34:tc=sun:
+	: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:\
-	:co#80:li#24:tc=sun:
+	: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:\
-	:co#80:li#17:tc=sun:
+	: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:\
-	:co#80:li#12:tc=sun:
+	: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:\
-	:es:hs:\
+	:am:es:hs:km:ms:\
 	:co#80:li#1:\
-	:ds=^L:fs=\E[K:ts=^M:tc=sun:
+	:%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:\
-	:ei@:ic@:im@:\
-	:tc=sun:
+	: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:\
-	:li#35:\
-	:te=\E[>4h:ti=\E[>4l:tc=sun:
+	: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>
-# (untranslatable capabilities removed to fit entry within 1023 bytes)
-# (sgr removed to fit entry within 1023 bytes)
-# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 dtterm|CDE desktop terminal:\
 	:am: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@:\
-	: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=^J:ec=\E[%dX:\
+	: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[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E[0m:mr=\E[7m:nd=\E[C:nw=^M^J:\
 	:se=\E[0m:sf=^J:so=\E[7m:ta=^I:up=\E[A:
 mach-bold|Mach Console with bold instead of underline:\
-	:ue=\E[0m:us=\E[1m:\
-	:tc=mach:
+	: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=^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:ta=^I:ue=\E[0m:up=\E[A:us=\E[1m:
 
 #### OSF Unix
 #
@@ -2671,10 +4826,11 @@
 
 screen|VT 100/ANSI X3.64 virtual terminal:\
 	:am:km:mi:ms:xn:\
-	:Co#8:co#80:it#8:li#24:pa#64:\
-	: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=++\054\054--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
+	: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:F1=\E[23~:F2=\E[24~:IC=\E[%d@:LE=\E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+	: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:
 
 screen2|old VT 100/ANSI X3.64 virtual terminal:\
 	:co#80:it#8:li#24:\
@@ -2750,33 +4923,104 @@
 # 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)
-# (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:\
-	:AL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:\
 	: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~: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:rc=\E8:\
+	: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:op=\E[37;40m: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:ts=\E]0;:ue=\E[24m:up=\E[A:us=\E[4m:\
+	: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:
-ncsa|NCSA Telnet 2.7 for Macintosh in vt220-8 mode:\
-	:tc=ncsa-m:tc=klone+color:
-ncsa-ns|NCSA Telnet 2.7 for Macintosh in vt220-8 mode:\
-	:hs@:\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m: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:
 # 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
@@ -2784,11 +5028,31 @@
 # some keyboards and many applications require these as F1-F4.
 #
 ncsa-vt220|NCSA Telnet using vt220-compatible function keys:\
-	: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=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
-	:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
-	:tc=ncsa:
+	: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[%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;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b=^H:kd=^J:kl=^H:le=^H:nw=\Em~\s:se=\EB:sf=^J:so=\Eb:\
+	:ta=^I:
 
 ######## NON-UNIX CONSOLES
 #
@@ -2820,18 +5085,31 @@
 	: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: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:
+	:@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=:\
+	: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:kb=^H:kd=\E[B:kh=\E[214z: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=\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~: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
 #
@@ -2864,31 +5141,90 @@
 # 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)
-# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 qnx|qnx4|qnx console:\
-	:km:mi:ms:xt:\
-	:co#80:it#4:li#25:\
+	: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:\
-	:kD=\377\254:kI=\377\253:kN=\377\252:kP=\377\242:\
+	: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:\
-	: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:
+	: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:\
-	:am:\
-	:!3@:%h@:%j@:&7@:Sb@:Sf@:dc@:ei=:ic@:im=:rp@:se=\E>:so=\E<:te@:ti@:\
-	:ve@:vi@:vs@:\
-	:tc=qnx4:
+	: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
 #
@@ -2900,14 +5236,30 @@
 # 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:\
+	: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: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:
+	: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:\
-	:ce=\E[K:tc=ansi.sys-old:
+	: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.
@@ -2923,20 +5275,62 @@
 # 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:\
-	:tc=ansi.sys:
+	: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:\
-	: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:
+	: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:\
-	: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:
+	: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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SYS color 2:\
 	:am:eo:mi:ms:ut:xn:xo:\
 	:Co#16:co#80:it#8:li#25:pa#64:\
-	:&7=^Z:AB=\E[4%p1%dm:AF=\E[3%p1%dm:DC=\E[%dp:IC=\E[%d@:\
-	:K2=\E[G:S2=\E[11m:S3=\E[10m:bl=^G:cd=\E[J:ce=\E[K:\
+	:&7=^Z:AB=\E[4%dm:AF=\E[3%dm:DC=\E[%dp:IC=\E[%d@:K2=\E[G:\
+	:S2=\E[11m:S3=\E[10m:bl=^G:cd=\E[J:ce=\E[K:\
 	:cl=\E[0;37;44m\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:\
 	:do=^J:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:k0=\0D:k1=\0;:\
 	:k2=\0<:k3=\0=:k4=\0>:k5=\0?:k6=\0@:k7=\0A:k8=\0B:k9=\0C:\
@@ -2977,8 +5371,8 @@
 ansi-color-3-emx|ANSI.SYS color 3:\
 	:am:eo:mi:ms:ut:xn:xo:\
 	:Co#16:co#80:it#8:li#25:pa#64:\
-	:&7=^Z:AB=\E[4%p1%dm:AF=\E[3%p1%dm:DC=\E[%dp:IC=\E[%d@:\
-	:K2=\E[G:S2=\E[11m:S3=\E[10m:bl=^G:cd=\E[J:ce=\E[K:\
+	:&7=^Z:AB=\E[4%dm:AF=\E[3%dm:DC=\E[%dp:IC=\E[%d@:K2=\E[G:\
+	:S2=\E[11m:S3=\E[10m:bl=^G:cd=\E[J:ce=\E[K:\
 	:cl=\E[0;37;40m\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:\
 	:do=^J:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:k0=\0D:k1=\0;:\
 	:k2=\0<:k3=\0=:k4=\0>:k5=\0?:k6=\0@:k7=\0A:k8=\0B:k9=\0C:\
@@ -3001,13 +5395,22 @@
 # underline is colored bright magenta
 # shifted kf1-kf12 are kf11-kf22
 cygwin|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:
+	: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~:\
+	: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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:nl=^J:r1=^N:rs=^N:\
+	:sf=^J:up=^K:
 # (adm5: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" & duplicate ":do=^J:" -- esr)
 adm5|lsi adm5:\
-	:sg#1:\
-	:bl=^G:cd=\EY:ce=\ET:cr=^M:do=^J:kb=^H:kh=^^:se=\EG:so=\EG:tc=adm3a+:
+	: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:
 # 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
@@ -3147,9 +5557,9 @@
 	: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:nd=^L:nl=^J:nw=^M^J:ta=^I:\
-	:ts=\EF\E):up=^K:\
-	:tc=adm+sgr:
+	: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:
 # 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
@@ -3197,14 +5607,14 @@
 #
 adm12|lsi adm12:\
 	:am:bs:mi:pt:\
-	:co#80:it#8:li#24:\
+	:co#80:it#8:li#24:ug#1:\
 	:al=\EE:bl=^G:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:ct=\E0:\
 	:dc=\EW:dl=\ER:do=^J:ei=\Er:ho=^^:ic=\EQ:im=\Eq:\
 	: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:nd=^L:st=\E1:up=^K:\
-	:tc=adm+sgr:
+	:ku=^K:le=^H:me=\EG0:mk=\EG1:mr=\EG4:nd=^L:se=\EG0:so=\EG4:\
+	:st=\E1:ue=\EG0:up=^K:us=\EG8:
 # (adm20: removed obsolete ":kn#7:" -- esr)
 adm20|lear siegler adm20:\
 	:am:bs:\
@@ -3214,10 +5624,13 @@
 	: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:\
-	: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:
+	: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:
 # (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)
@@ -3383,30 +5796,52 @@
 	: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:\
-	:so=\EG4:ue@:us@:tc=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:
 # LSI ADM-36 from Col. George L. Sicherman <gloria!colonel> via BRL
 adm36|LSI ADM36:\
-	: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:tc=vt100:
+	: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=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyy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=^I:up=^K:vs=\EC\E3 \E3(:
 # 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:\
-	:al=\EE\EF \011:bt=\EI\EF \011:cd=\EY\EF \011:\
+	:am:bs:\
+	:co#80:li#24:\
+	:al=\EE\EF \011:bl=^G:bt=\EI\EF \011:cd=\EY\EF \011:\
 	:ce=\ET\EF \011:cl=\E;\EF \011:cm=\E=%+ %+ \EF \011:\
-	:dc=\EW\EF \011:dl=\ER\EF \011:ei=\Er\EF \011:\
-	:im=\Eq\EF \011:tc=adm42:
+	: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(:
 # 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,
@@ -3414,7 +5849,7 @@
 # From: Michael Driscoll <fenris@lightspeed.net> 10 July 1996
 adm1178|1178|lsi adm1178:\
 	:am:\
-	:co#80:li#24:sg#1:\
+	:co#80:li#24:sg#1:ug#1:\
 	:al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:cm=\E=%+ %+ :\
 	:cr=^M:dc=\EW:dl=\ER:do=^J:ho=^^:ip=6*:kb=^H:kd=^J:kl=^H:\
 	:le=^H:md=\E(:me=\E):mr=\EG4:nd=^L:nw=^M^J:pc=\177:se=\EG0:\
@@ -3455,7 +5890,16 @@
 # setup mode.  Shift-s should be a configuration save to NVRAM.
 
 qvt101|qvt108|qume qvt 101 and QVT 108:\
-	:sg#1:tc=qvt101+:
+	: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:
 
 # 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 
@@ -3465,17 +5909,26 @@
 # (reverse-video maybe?  But then, are there two :mr: sequences?)  
 qvt101+|qvt101p|qume qvt 101 PLUS product:\
 	:am:bw:hs:ul:\
-	:co#80:li#24:sg#0:\
+	:co#80:li#24:sg#0:ug#0:\
 	: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:mk@:nd=^L:pf=\EA:po=\E@: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%?%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:
 qvt203-w|qvt203-w-am|qume qvt 203 PLUS in 132 cols (w/advanced video):\
-	:co#132:li#24:\
-	:r2=\E>\E[?3h\E[?4l\E[?5l\E[?8h:tc=qvt203:
+	:am:xn:xo:\
+	:co#132:it#8:li#24: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>\E[?3h\E[?4l\E[?5l\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:
 #
 #	Since a command is present for enabling 25 data lines,
 #	a specific terminfo entry may be generated for the 203.
@@ -3526,11 +6037,36 @@
 #	be selected in the status line (setup line 9).
 #
 qvt203-25|QVT 203 PLUS with 25 by 80 column mode:\
-	:co#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[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:
 
 #### Televideo (tvi)
 #
@@ -3541,6 +6077,7 @@
 #	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
@@ -3550,7 +6087,18 @@
 # Televideo terminals are ANSI and PC-ANSI compatible.
 
 tvi803|televideo 803:\
-	:cl=\E*:tc=tvi950:
+	: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:
 
 # Vanilla tvi910 -- W. Gish <cswarren@violet> 10/29/86
 # Switch settings are:
@@ -3636,14 +6184,14 @@
 # :sf:, <hpa>, <vpa>, :am:, :ms: from SCO entry -- esr)
 tvi910|televideo model 910:\
 	:am:bs:ms:\
-	:co#80:it#8:li#24:sg#1:\
+	:co#80:it#8:li#24:sg#1:ug#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:mk@:nd=^L:\
-	:sf=^J:ta=^I:up=^K:\
-	:tc=adm+sgr:
+	: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:
 # From: Alan R. Rogers <rogers%albany@csnet-relay>
 # as subsequently hacked over by someone at SCO
 # (tvi910+: removed obsolete ":ma=^K^P^L :" -- esr)
@@ -3675,16 +6223,21 @@
 # S2 10  DTR status (pin 20) (U = disconnected, D = connected)
 #
 tvi910+|televideo 910+:\
-	: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 :\
-	:tc=tvi910:
+	: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:
 
 # (tvi912: removed obsolete ":ma=^K^P^L :", added  :vb: and
 # :kh: from BRL entry -- esr)
 tvi912|tvi914|tvi920|old televideo 912/914/920:\
 	:am:bs:ms:pt:\
-	:co#80:it#8:li#24:sg#1:\
+	: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:\
@@ -3696,16 +6249,39 @@
 # 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:\
-	:al=\EE:dl=\ER:tc=tvi912:
+	: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:
 # 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:\
-	:te=\E-07 :ti=\E-17 :tc=tvi912:
+	: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:
 # 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:\
-	:cm@:tc=tvi912c:
+	: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:
 
 # Here are the switch settings for the tvi920c:
 #
@@ -3760,9 +6336,15 @@
 # 		installed, Extension Mode is selected.
 #
 tvi920b|tvi920c|new televideo 920:\
-	: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:
+	: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:
 
 # Televideo 921 and variants
 # From: Tim Theisen <tim@cs.wisc.edu> 22 Sept 1995
@@ -3770,41 +6352,47 @@
 # 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:\
+	: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=:\
 	: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:\
-	:mk@:nd=^L:nw=^M^J:sf=^J:ta=^I:ts=\Ef\EG0:up=^K:ve=\E.3:\
-	:vs=\E.2:\
-	:tc=adm+sgr:
+	: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:
 # 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:\
+	: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=:\
 	: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:\
-	: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:
+	: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:
 # (tvi92D: removed :ko=bt: before translation, I see no backtab cap -- esr)
 tvi92D|tvi92B with DTR instead of XON/XOFF & better padding:\
-	:al=2*\EE:dl=2*\ER:is=\El\E"\EF1\E.3\016\EA\E<:kA=2*\EE:\
-	:kL=2*\ER:\
-	:tc=tvi92B:
+	: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:
 
 # (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:ws#80:\
+	:co#80:it#8:li#24:sg#0:ug#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:\
@@ -3815,10 +6403,10 @@
 	: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: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:
+	: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:
 
 # TVI925 DIP switches.  In each of these, D = Down and U = Up,
 #
@@ -3955,20 +6543,28 @@
 # (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:\
+	: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:d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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:
 
 # 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
@@ -4069,17 +6665,17 @@
 # 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:\
-	:ac=b\011c\014d\re\ni\013:ae=^X:al=\EE:as=^U:bl=^G:bt=\EI:\
+	: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: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:
+	: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:
 #
 # is for 950 with two pages adds the following:
 #	set 48 line page (\E\\2)
@@ -4094,9 +6690,19 @@
 #	set local (no send) edit keys (\Ek) when exiting vi
 #
 tvi950-2p|televideo950 w/2 pages:\
-	: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:\
-	:ke=\Ek:ks=\El:te=\E\2\E-07 :ti=\E\1\E-07 :\
-	:tc=tvi950:
+	: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:
 #
 # is for 950 with four pages adds the following:
 #	set 96 line page (\E\\3)
@@ -4108,9 +6714,19 @@
 #			 place cursor at 0,24,1 (\E-07 )
 #
 tvi950-4p|televideo950 w/4 pages:\
-	: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:\
-	:ke=\Ek:ks=\El:te=\E\3\E-07 :ti=\E\1\E-07 :\
-	:tc=tvi950:
+	: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:
 #
 # :is: for reverse video 950 changes the following:
 #	set reverse video (\Ed)
@@ -4118,21 +6734,50 @@
 # 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:\
-	:vb=\Ed\Eb:\
-	:tc=tvi950:
+	: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:
 
 # tvi950-rv-2p uses the appropriate entries from 950-2p and 950-rv
 tvi950-rv-2p|televideo950 rev video w/2 pages:\
-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(\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 :\
-	:ke=\Ek:ks=\El:te=\E\3\E-07 :ti=\E\1\E-07 :vb=\Ed\Eb:\
-	:tc=tvi950:
+	: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\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:
 # 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
@@ -4144,23 +6789,57 @@
 # If the BSD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T Austin
 # (tvi970: removed ":sg#0:"; removed :se:=\E[m, :ue:=\E[m;
 # added :am:/:cs:/:ho:/<hpa>/<vpa>/:ti:/:te: from BRL.
@@ -4181,10 +6860,31 @@
 	:ti=\E[?20l\E[?7h\E[1Q:ue=\E[m:up=\EM:us=\E[4m:\
 	:vb=\E[5m\E[m:vs=\E[1Q:
 tvi970-vb|televideo 970 with visual bell:\
-	:vb=\E[?5h\0\0\0\0\0\0\0\0\0\0\0\0\0\E[?5l:tc=tvi970:
+	:am:bs:da:db:mi:ms:pt:\
+	:co#80:it#8:li#24:\
+	:RA=\E[?7h:SA=\E[?7l:ac=:ae=\E(B:al=\E[L:as=\E(B:bt=\E[Z:\
+	:cd=\E[J:ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[2J:cm=\E[%i%d;%df:\
+	:cs=\E[%i%d;%dr:cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=\ED:\
+	:ds=\Eg\Ef\r:ei=\E[4l:ho=\E[H:im=\E[4h:\
+	:is=\E<\E[?21l\E[19h\E[1Q\E[10l\E[7l\E[H\E[2J: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: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:se=\E[m:so=\E[7m:sr=\EM:ta=^I:te=:\
+	:ti=\E[?20l\E[?7h\E[1Q:ue=\E[m:up=\EM:us=\E[4m:\
+	:vb=\E[?5h\0\0\0\0\0\0\0\0\0\0\0\0\0\E[?5l:vs=\E[1Q:
 tvi970-2p|televideo 970 with using 2 pages of memory:\
-	:te=\E[H\E[J\E[V:ti=\E[U\E[?20l\E[?7h\E[1Q:\
-	:tc=tvi970:
+	:am:bs:da:db:mi:ms:pt:\
+	:co#80:it#8:li#24:\
+	:RA=\E[?7h:SA=\E[?7l:ac=:ae=\E(B:al=\E[L:as=\E(B:bt=\E[Z:\
+	:cd=\E[J:ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[2J:cm=\E[%i%d;%df:\
+	:cs=\E[%i%d;%dr:cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=\ED:\
+	:ds=\Eg\Ef\r:ei=\E[4l:ho=\E[H:im=\E[4h:\
+	:is=\E<\E[?21l\E[19h\E[1Q\E[10l\E[7l\E[H\E[2J: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: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: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:
 # 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 
@@ -4202,24 +6902,31 @@
 	: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)
-# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 tvi9065|televideo 9065:\
-	:am:bw:hs:mi:ms:xn:xo:\
-	:co#80:it#8:li#25:lm#0:ma#4:vt#0:ws#30:\
-	: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[%d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:\
 	:vi=\E.0:vs=\E.2:
@@ -4299,12 +7006,29 @@
 # If your version of vi doesn't support function keys you may want
 # to use vi200-f.
 vi200-f|visual 200 no function keys:\
-	:is=\E3\Eb\Ej\E\\El\EG\Ed\Ek:k0=\E?p:k1=\E?q:k2=\E?r:\
+	: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:\
-	:ke=\E>:ks=\E=:se@:so@:\
-	:tc=vi200:
+	: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:
 vi200-rv|visual 200 reverse video:\
-	:se=\E3:so=\E4:sr@:ve@:vs@:tc=vi200:
+	: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:
 
 # the function keys are programmable but we don't reprogram them to their
 # default values with :is: because programming them is very verbose. maybe
@@ -4318,16 +7042,25 @@
 	: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[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\: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:
+	: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:
 # 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:\
-	:tc=vi300:
+	: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:
 
 # Visual 500 prototype entry from University of Wisconsin.
 # The best place to look for the escape sequences is page A1-1 of the
@@ -4344,7 +7077,7 @@
 	:ac=:ae=^O:al=3*\EL\Ex:as=^N:bt=4\Ez:cd=3*\Ey:ce=16\Ex:\
 	:cl=6*\Ev:cm=\EY%+ %+ :cr=^M:cs=\E(%+ %+ :dc=3*\EO:\
 	:dl=3*\EM:do=\EB:ei=\Ej:ho=\EH:im=\Ei:\
-	:is=\E3\E\001\E\007\E\003\Ek\EG\Ed\EX\El\E>\Eb\E\:\
+	:is=\E3\E\001\E\007\E\003\Ek\EG\Ed\EX\El\E>\Eb\E\\:\
 	:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:\
 	:nw=^M^J:se=\E^G:sf=^J:so=\E^H:ta=8\011:ue=\E^C:up=\EA:\
 	:us=\E^D:
@@ -4353,18 +7086,37 @@
 # and with 33 lines. clear screen is modified here to
 # also clear the graphics.
 vi550|visual 550 ansi x3.64:\
-	:li#33:\
-	:cl=\030\E[H\E[2J:tc=vi300:
+	: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\\: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:
 
 vi603|visual603|visual 603:\
-	:hs:mi:\
-	:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
-	:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:ds=\EP2;1~\E\:ei=\E[4l:\
-	:fs=\E\:i1=\E>\E[?3l\E[?4l\E[?7h\E[?8h\E[1;24r:\
-	:im=\E[4h:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
-	:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:ts=\EP2~:ue=\E[24m:\
-	:up=\E[A:us=\E[4m:\
-	:tc=vt100:
+	:am:bs:hs:mi:ms:xn:xo:\
+	:co#80:it#8:li#24:vt#3:\
+	:@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EO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Gp:\
+	: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:\
 	:..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:so=\EG4:te=\EG0:ti=:\
-	:tc=wy30:tc=adm+sgr:
+	: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:
 #	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:\
-	:bl@:tc=wy30:
+	: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:
 #
 #	   The Wyse 50 can support one attribute (e.g. Dim, Inverse,
 #	Normal) without magic cookies by using the protect mode.
@@ -4452,11 +7227,11 @@
 	:ac=0wa_h[jukslrmqnxqzttuyv]wpxv:ae=\EH^C:al=\EE:\
 	:as=\EH^B: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`\072\E`9: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:me=\E(\EH\003:mh=\E`7\E):\
+	: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=^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%;:\
@@ -4472,21 +7247,78 @@
 #	i.e. change $<100/> to $<100>
 # (wy50-mc: added :ti: to suppress tic warning --esr)
 wy50-mc|wyse50-mc|wyse 50 with magic cookies:\
-	:ms@:\
-	:ma@:sg#1:\
-	:ae=\EG0\EH\003:as=\EG0\EH\002:mb=\EG2:\
-	:me=\EG0\E(\EH\003:mh=\EGp:mp=\EG0\E):mr=\EG4:\
+	: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=^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:\
+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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:
 #
 #	The Wyse 350 is a Wyse 50 with color.
 #	Unfortunately this means that it has magic cookies.
@@ -4510,46 +7342,99 @@
 #	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:ws#45:\
+	:Co#8:NC#55:Nl#8:co#80:lh#1:li#24:lw#8:pa#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: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}%=%t%{68}%e%p1%{6}%=%t%{12}%e%p1%{7}%=%t%{0}%;%PC\EG%gC%gA%+%{48}%+%c:\
 	: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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ukslrmqnxqzttuyv]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:
 #
 #	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:\
+	:co#80:li#24:sg#1:ug#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:mk@:nd=^L:sf=^J:ts=\EF:up=^K:\
-	:tc=adm+sgr:
+	:le=^H:me=\EG0:mr=\EG4:nd=^L:se=\EG0:sf=^J:so=\EG4:ts=\EF:\
+	:ue=\EG0:up=^K:us=\EG8:
 #
 #	The Wyse 120/150 has most of the features of the Wyse 60.
 #	This terminal does not need padding up to 9600 baud!
@@ -4557,43 +7442,147 @@
 #	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)
-# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 wy120|wyse120|wy150|wyse150|Wyse 120/150:\
-	:am:bw:hs:km:mi:ms:xo:\
-	:co#80:it#8:li#24:pb#9601:ws#45:\
+	: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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=^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:
 #
 #	The Wyse 60 is like the Wyse 50 but with more padding.
 #	The reset strings are slow and the pad times very depending
@@ -4625,57 +7614,237 @@
 #
 # (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)
-# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 wy60|wyse60|Wyse 60:\
-	:am:bw:hs:km:mi:ms:\
-	:co#80:li#24:ws#45:\
+	: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=\Ed.:RC=\E`c:RX=\Ec20:SA=\Ed/:SX=\Ec21:\
+	:ac=+/,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx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\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=\011:te=\Ew1:\
+	:ti=\Ew0:ts=\EF:ue=\EG0:up=^K:us=\EG8:vb=\E`8\E`9:ve=\E`1:\
+	:vi=\E`0:
 
 #	The Wyse-99GT looks at lot like the Wyse 60 except that it
 #	does not have the 42/43 line mode.  In the Wyse-60 the "lines"
@@ -4693,29 +7862,144 @@
 #	u1 -> exit Tektronix mode
 #
 wy99gt|wyse99gt|Wyse 99gt:\
-	:ms@:\
-	:al=\EE:cd=\Ey:ce=\Et:cl=\E+:dc=\EW:dl=\ER:i2=\Ew0:ip=:nw@:\
-	:r2=\E`\072:sf=\n:sr=\Ej:ta=\011:te=\Ew0:ti=\Ew1:\
-	:u0=\E~>\E8:u1=\E[42h:vb=\E`8\E`9:tc=wy60:
+	:5i:am:bw:hs:km:mi:\
+	:Nl#8:co#80:lh#1:li#24:lw#8:ws#45:\
+	:#2=\E{:%9=\EP:&3=\Er:@8=\E7:DK=\E`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	: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=\011:te=\Ew0:\
+	:ti=\Ew1:ts=\EF:u0=\E~>\E8:u1=\E[42h:ue=\EG0:up=^K:us=\EG8:\
+	:vb=\E`8\E`9:ve=\E`1:vi=\E`0:
 #
 #	The Wyse 160 is combination of the WY-60 and the WY-99gt.
 #	The reset strings are slow and the pad times very depending
@@ -4737,56 +8021,227 @@
 #
 # (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)
-# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 wy160|wyse160|Wyse 160:\
-	:am:bw:hs:km:mi:ms:\
-	:co#80:li#24:ws#38:\
+	: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=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E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):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:
 #
 #	The Wyse 75 is a vt100 lookalike without advanced video.
 #
@@ -4799,49 +8254,150 @@
 #	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)
-# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 wy75|wyse75|wyse 75:\
-	:am:hs:mi:ms:xn:xo:\
+	:5i:am:hs:mi:ms:xn:xo:\
 	:co#80:li#24:ma#1:pb#1201:ws#78:\
-	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
+	:%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:\
-	:RI=\E[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m: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[>\054\001:ue=\E[m:up=\E[A:us=\E[2t\E[4m:\
-	:vb=\E[30h\E\054\E[30l:ve=\E[?25h:vi=\E[?25l:
+	: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:
 #
 #	This terminal description uses the non-hidden attribute mode
 #	(with magic cookie).
 #
 wy75-mc|wyse75-mc|wyse 75 with magic cookies:\
-	:ms@:\
-	:ma@:sg#1:\
-	:ae=\E[0p\017:as=\E[0p\016:i2=\E[m\E[p:mb=\E[2p:\
-	:me=\E[0p\017:mh=\E[1p:mk=\E[4p:mr=\E[16p:\
+	:5i:am:hs:mi:xn:xo:\
+	:co#80:li#24:pb#1201:sg#1:ug#1: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:\
+	: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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:
 #
 #	Wyse 85 emulating a vt220 7 bit mode.
 #		24 line screen with status line.
@@ -4855,42 +8411,120 @@
 #	: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)
-# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 wy85|wyse85|wyse 85:\
-	:am:hs:mi:ms:xn:xo:\
+	:5i: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:\
+	:%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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[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%p1%dH:ue=\E[m:up=\E[A:us=\E[4m:\
-	:vb=\E[30h\E\054\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\054\E[30l:tc=wy85:
+	: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[?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:
 #
 #	Wyse 85 in 132-column mode.
 wy85-w|wyse85-w|wyse 85 in 132-column mode:\
-	:co#132:ws#132:\
-	:r2=\E[35h\E[?3h:tc=wy85:
+	:5i:am:hs:mi:ms:xn:xo:\
+	:co#132:it#8:li#24:ws#132:\
+	:%1=\E[28~:*6=\E[4~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:\
+	:..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:\
-	:bl@:\
-	:tc=wy85-w:
+	: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: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=\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 185 emulating a vt320 7 bit mode.
 #
@@ -4902,62 +8536,176 @@
 #	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)
-# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 wy185|wyse185|wyse 185:\
-	:am:hs:km:mi:ms:xn:xo:\
+	:5i:am:hs:km: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:U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>: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%p1%dH:ue=\E[24m:up=\E[A:us=\E[4m:\
-	:vb=\E[30h\E\054\E[30l:ve=\E[34h\E[?25h:vi=\E[?25l:\
-	:vs=\E[?25h\E[34l:
+	: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=^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\\\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[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: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: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[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 in 132-column mode with visual bell.
 wy185-wvb|wyse185-wvb|wyse 185+flash+132 cols:\
-	:bl@:tc=wy185-w:
+	:5i:am:hs:km: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:\
+	: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:\
+	:fs=\E[1;24r\E8: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;25h:\
+	: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~: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\\\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:
 
 # wy325 terminfo entries
 # Done by Joe H. Davis        3-9-92
 
 # lines 25  columns 80
 #
-# (untranslatable capabilities remov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: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:
 
 #	Wyse 370 -- 24 line screen with status line.
 #
@@ -5059,73 +9008,289 @@
 #	<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)
-# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 wy370-nk|wyse 370 without function keys:\
-	: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@:\
-	: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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?1l\E=: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=\011:te=\E[ R:ti=\E[ Q:\
-	:ts=\E[40l\E[40h\E7\E[99;%i%p1%dH:ue=\E[24m:up=\E[A:\
-	:us=\E[4m:vb=\E[30h\E\054\E[30l:ve=\E[34h\E[?25h:\
+	: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:\
+	:us=\E[4m:vb=\E[30h\E,\E[30l:ve=\E[34h\E[?25h:\
 	:vi=\E[?25l:vs=\E[?25h\E[34l:
 #
 #	Function key set for the ASCII (wy-50 compatible) keyboard
 #	This is the default 370.
 #
 wy370|wyse370|wy370-101k|Wyse 370 with 101 key keyboard:\
-	:@8=\EOM:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
-	:F5=\E[28~:F6=\E[29~:k1=\E[?4i:k2=\E[?3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:\
+	:i2=\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:\
+	:k1=\E[?4i: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=\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[?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:\
+	:us=\E[4m:vb=\E[30h\E,\E[30l:ve=\E[34h\E[?25h:\
+	:vi=\E[?25l:vs=\E[?25h\E[34l:
 #
 #	Function key set for the VT-320 (and wy85) compatible keyboard
 #
 wy370-105k|Wyse 370 with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: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:
 #
 #	Function key set for the PC compatible keyboard
 #
 wy370-EPC|Wyse 370 with 102 key keyboard:\
-	:@7=\E[1~:@8=\EOM:F1=\E[23~:F2=\E[24~: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:kI=\E[2~:kN=\E[U:kP=\E[V:\
-	:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
-	:tc=wy370-nk:
+	: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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+	: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:
 #
 #	Wyse 370 with visual bell.
 wy370-vb|Wyse 370 with visible bell:\
-	:bl@:tc=wy370:
+	: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%{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: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: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[?25l:vs=\E[?25h\E[34l:
 #
 #	Wyse 370 in 132-column mode.
 wy370-w|Wyse 370 in 132-column mode:\
-	:co#132:ws#132:\
-	:r2=\E[35h\E[?3h:tc=wy370:
+	: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[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%{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[40l:eA=\E)0:ec=\E[%dX:ei=\E[4l:\
+	:fs=\E[1;24r\E8:ho=\E[H:i1=\E[90;1"p\E[?5W:\
+	:i2=\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:\
+	:k1=\E[?4i: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=\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:
 #
 #	Wyse 370 in 132-column mode with visual bell.
 wy370-wvb|Wyse 370 with visible bell 132-columns:\
-	:vb=\E[30h\E\054\E[30l:tc=wy370-w:
+	:5i:am:cc:hs:mi:ms:xn:xo:\
+	:Co#64:NC#48:co#132:it#8:li#24:pa#64:ws#132:\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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[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:
 #
 #	Wyse 99gt Tektronix 4010/4014 emulator,
 #
@@ -5138,14 +9303,20 @@
 	:hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037:\
 	:ho=^]7`x @\037:\
 	:hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037:\
-	:is=\E8:le=^H:nd= :nw=^M^J:u0=\E~>\E8:u1=\E[42h:up=^K:
+	:is=\E8:le=^H:nd=\s:nw=^M^J:u0=\E~>\E8:u1=\E[42h:up=^K:
 #
 #	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:\
-	:tc=wy99gt-tek:
+	:hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037:\
+	:is=\E8:le=^H:nd=\s:nw=^M^J:u0=\E~>\E8:u1=\E[42h:up=^K:
 #
 #	Wyse 370 Tektronix 4010/4014 emulator,
 #
@@ -5158,7 +9329,7 @@
 	:hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037:\
 	:ho=^]8g @\037:\
 	:hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037:\
-	:is=\E8:kb=^H:kd=^J:kl=^H:kr=^I:ku=^K:le=^H:nd= :nw=^M^J:\
+	:is=\E8:kb=^H:kd=^J:kl=^H:kr=^I:ku=^K:le=^H:nd=\s:nw=^M^J:\
 	:u0=\E[?38h\E8:u1=\E[?38l\E)0:up=^K:
 
 # Vendor-supplied Wyse entries end here.
@@ -5177,31 +9348,58 @@
 # 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)
-# (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:\
+	:5i: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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34l\E[?25h:
+	: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):\
-	:ct=\E[3g:i2=\E[?5l:r3=\E[?5l:st=\EH:\
-	:tc=wy99-ansi:
+	: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[%d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[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;
@@ -5212,28 +9410,51 @@
 # 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)
-# (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:\
+	:5i: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=\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:ei=\Er:fs=^M:ho=^^:im=\Eq:\
-	:is=\Eu\Ee6\EC\EDF\Ec21\Ec31\Ec62\Ec72\Ee;\016\E'\EeL\E`9\E\1360\E`1\E`4\Ee.\E`\072\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\r:\
-	:k7=^AF\r:k8=^AG\r:k9=^AH\r:kb=^H:kd=^J:kl=^H:kr=^L:ku=^K:\
-	:le=^H:mb=\EG2:me=\E(\EG0:mh=\EGp:mr=\EG4:nd=^L:nw=^_:\
+	:%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:K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kl=^H:kr=^L:ku=^K:le=^H:mb=\EG2:me=\E(\EG0:mh=\EGp:mk=\EG3:\
+	:mp=\E):mr=\EG4:nd=^L:nw=^_:pf=^T:po=\Ed#:ps=\EP:\
+	: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:\
+	:..sa=\E(\EG%{48}%?%p1%p3%O%t%{4}%+%;%?%p2%t%{8}%+%;%?%p4%t%{2}%+%;%?%p5%t%{64}%+%;%?%p7%t%{1}%+%;%c%?%p8%t\E)%;%?%p9%t\EcE%e\EcD%;:\
+	:se=\EG0:sf=^J:so=\EG4:sr=\Ej:st=\E1: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:
 
 #
 #TITLE:  TERMINFO ENTRY WY520
@@ -5262,47 +9483,158 @@
 #         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)
-# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 wy520|wyse520|wyse 520:\
-	:am:hs:km:mi:xn:xo:\
+	:5i:am:hs:km:mi: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=\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[J:cm=\E[%i%d;%dH:cr=^M:\
-	:cs=\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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%p1%d`:\
-	:ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[34h\E[?25h:vi=\E[?25l:\
+	: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[?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:
 #
 #       Wyse 520 with 24 data lines and status (terminal status)
 wy520-24|wyse520-24|wyse 520 with 24 data lines:\
-	:hs@:\
-	:ds@:fs@:r3=\E[?5l\E[47h\E[40l\E[1;24r:ts@:tc=wy520:
+	:5i:am:km:mi:xn:xo:\
+	:co#80:it#8:li#24:ws#80:\
+	:%1=\E[28~:*6=\E[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)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[?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:vb=\E[30h\E,\E[30l:ve=\E[34h\E[?25h:\
+	:vi=\E[?25l:vs=\E[?25h\E[34l:
 #
 #       Wyse 520 in 132-column mode.
 wy520-w|wyse520-w|wyse 520 in 132-column mode:\
-	:co#132:ws#132:\
-	:DC=\E[%dP:IC=\E[%d@:dc=\E[P:ei=:im=:ip=:r2=\E[35h\E[?3h:tc=wy520:
+	: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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\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:
 #
 #       Wyse 520 in 132-column mode with visual bell.
 wy520-wvb|wyse520-wvb|wyse 520 with visible bell 132-columns:\
-	:vb=\E[30h\E\054\E[30l:\
-	:tc=wy520-w:
+	: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:vb=\E[30h\E,\E[30l:ve=\E[34h\E[?25h:\
+	:vi=\E[?25l:vs=\E[?25h\E[34l:
 #
 #
 #       Wyse 520 emulating a vt420 7 bit mode.
@@ -5315,79 +9647,408 @@
 #                  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:\
-	:@7=\E[4~:k0=\E[21~:k1=\E[11~:k2=\E[12~:k3=\E[13~:\
-	:k4=\E[14~:k5=\E[15~:k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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[?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:
 #
 #       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:\
-	:hs@:\
-	:ds@:fs@:r3=\E[?5l\E[47h\E[40l\E[1;24r:ts@:tc=wy520-epc:
+	:5i:am: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: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[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:vb=\E[30h\E,\E[30l:ve=\E[34h\E[?25h:\
+	:vi=\E[?25l:vs=\E[?25h\E[34l:
 #
 #       Wyse 520 in 132-column mode.
 wy520-epc-w|wyse520-epc-w|wyse 520 in 132-column mode with EPC keyboard:\
-	:co#132:ws#132:\
-	:DC=\E[%dP:IC=\E[%d@:dc=\E[P:ei=:im=:ip=:r2=\E[35h\E[?3h:tc=wy520-epc:
+	: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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$~\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 in 132-column mode with visual bell.
 wy520-epc-wvb|wyse520-p-wvb|wyse 520 with visible bell 132-columns and EPC keyboard:\
-	:vb=\E[30h\E\054\E[30l:\
-	:tc=wy520-epc-w:
+	: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{{||}}~~:\
+	: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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=\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[?3l:\
+	:r3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r: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:
 #
 #       Wyse 520 in 132-column, 36 lines
 wy520-36w|wyse520-36w|wyse 520 with 132 columns and 36 data lines:\
-	:co#132:ws#132:\
-	:r2=\E[?3h:\
-	:r3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|:tc=wy520-36:
+	: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:\
+	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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:
 #
 #       Wyse 520 in 132-column, 48 lines
 wy520-48w|wyse520-48w|wyse 520 with 48 data lines:\
-	:co#132:ws#132:\
-	:r2=\E[?3h:\
-	:r3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|:tc=wy520-48:
+	: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=^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[48*|\E[48t\E[40l\E[1;48r\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:
 #
 #
 #       Wyse 520 in 80-column, 36 lines with EPC keyboard
 wy520-36pc|wyse520-36pc|wyse 520 with 36 data lines and EPC keyboard:\
-	:hs@:\
-	:li#36:\
-	:ds@:fs@:r3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r:ts@:tc=wy520-epc:
+	: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=\E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: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:
 #
 #       Wyse 520 in 80-column, 48 lines with EPC keyboard
 wy520-48pc|wyse520-48pc|wyse 520 with 48 data lines and EPC keyboard:\
-	:hs@:\
-	:li#48:\
-	:ds@:fs@:r3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r:ts@:tc=wy520-epc:
+	: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:\
+	: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[48*|\E[48t\E[40l\E[1;48r: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:
 #
 #       Wyse 520 in 132-column, 36 lines with EPC keyboard
 wy520-36wpc|wyse520-36wpc|wyse 520 with 36 data lines and EPC keyboard:\
-	:co#132:ws#132:\
-	:r2=\E[?3h:\
-	:r3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|:tc=wy520-36pc:
+	: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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%;%?%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:
 #
 #       Wyse 520 in 132-column, 48 lines with EPC keyboard
 wy520-48wpc|wyse520-48wpc|wyse 520 with 48 data lines and EPC keyboard:\
-	:co#132:ws#132:\
-	:r2=\E[?3h:\
-	:r3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|:tc=wy520-48pc:
+	: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=\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[48*|\E[48t\E[40l\E[1;48r\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:
 
 # From: John Gilmore <hoptoad!gnu@lll-crg.arpa>
 # (wyse-vp: removed :if=/usr/share/tabset/wyse-adds:, there's no such
@@ -5396,15 +10057,40 @@
 	:am:bs:\
 	:co#80:it#8:li#24:\
 	:al=\EM:bl=^G:cd=\Ek:ce=\EK:cl=^L:cm=\EY%+ %+ :cr=^M:dc=\EW:\
-	:dl=\El:do=^J:ei=\Er:ho=^A:im=\Eq:is=\E`\072\E`9\017\Er:\
+	:dl=\El:do=^J:ei=\Er:ho=^A:im=\Eq:is=\E`\:\E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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:
@@ -5416,38 +10102,44 @@
 # 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)
-# (terminfo-only capabilities suppressed to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;10;16l\E[12h\E[?7;8;25h:\
 	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\23317~:k7=\23318~:\
-	:k8=\23319~:k9=\23320~: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: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%p1%dH:ue=\E[m:up=\E[A:us=\E[4m:\
-	:vb=\E[30h\E\054\E[30l:ve=\E[?25h:vi=\E[?25l:
+	: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:
 
 # From: Eric Freudenthal <freudent@eric.ultra.nyu.edu>
 wy100q|Wyse 100 for Quotron:\
 	:bs:\
-	:co#80:li#24:sg#1:\
+	:co#80:li#24:sg#1:ug#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`\072\0\EC\EDF\E0\E'\E(\EA21:kd=^J:kl=^H:kr=^L:\
-	:ku=^K:le=^H:mk@:nd=^L:sr=\Ej:up=^K:\
-	:tc=adm+sgr:
+	: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:
 
 #### Kermit terminal emulations
 #
@@ -5466,18 +10158,22 @@
 	: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:\
-	:is=K1 Standard Kermit plus Automatic Margins\n:tc=kermit:
+	: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:
 # 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:\
-	:li#25:\
-	:cd@:ce@:cl=\EH\EJ:\
-	:is=K2 UCB IBMPC Kermit 1.2  8-30-84\n:tc=kermit:
+	: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:
 # 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.
@@ -5485,11 +10181,13 @@
 # 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:\
-	:it#8:li#24:\
-	:al=\EL:dc=\EN:dl=\EM:do=\EB:ei@:im@:\
+	: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:\
 	:is=\EO\Eq\EJ\EY7 K3 UCB IBMPC Kermit 1.20  12-19-84\n:\
-	:se=\Eq:so=\Ep:ta=^I:vs=\EO\Eq\EEK3:\
-	:tc=kermit:
+	: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:
 # 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.
@@ -5499,7 +10197,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:\
-	:am@:bs:\
+	: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@:\
@@ -5509,43 +10207,51 @@
 # 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:\
+	: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@:\
 	:is=\EO\Eq\EG\Ev\EJ\EY7 K5 MS Kermit 2.27 +automatic margins 3-17-85\n:\
-	:vs=\EO\Eq\EG\EvK5:\
-	:tc=msk227:
+	: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:
 # 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:\
+	: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@:\
 	: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: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:
+	: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:
 # 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)
-# (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:RI=\E[%dC:SR=\E[%dL:UP=\E[%dA:ae=\E(B:al=\E[L:\
-	:as=\E(0: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=^J:\
-	:ds=\E[0$~:ec=\E[%dX:ei=\E[4l:fs=\E[0$}:ho=\E[H:im=\E[4h:\
+	: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: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:ds=\E[0$~:\
+	:ec=\E[%dX:ei=\E[4l:fs=\E[0$}:ho=\E[H:im=\E[4h:\
 	:is=\E>\E F\E[?1l\E[?7h\E[r\E[2$~:k0=\E[21~:k1=\EOP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: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:
 
 # Must setup RETURN KEY - CR, REC'VD LF - INDEX.
 # Seems upward compatible with vt100, plus ins/del line/char.
@@ -5626,11 +10342,10 @@
 # (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=++\054\054--..00``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
+	: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:\
@@ -5639,21 +10354,69 @@
 	: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:r2=\Ec\E[?3l\E[2;0y:rc=\E8:\
+	: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[?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;%p1%{1}%+%dH:ue=\E[m:up=\E[A:us=\E[4m:
+	:ts=\E7\E[25;%+^AH:ue=\E[m:up=\E[A:us=\E[4m:
 
 att4410v1-w|att5410v1-w|tty5410v1-w|AT&T 4410/5410 132 columns - version 1:\
-	:co#132:ws#132:\
-	:i1=\E[?3h\E)0:r2=\Ec\E[?3h\E[2;0y:tc=att5410v1:
+	:am: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%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:
 
 att4410|att5410|tty5410|AT&T 4410/5410 80 columns - version 2:\
-	:bs:\
-	:..px=\E[%p1%d;%p2%l%02dq   f%p1%d           %p2%s:tc=att5410v1:
+	: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:\
+	:..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:
 
 att5410-w|att4410-w|4410-w|tty5410-w|5410-w|AT&T 4410/5410 in 132 column mode:\
-	:co#132:ws#132:\
-	:i1=\E[?3h\E)0:r2=\Ec\E[?3h\E[2;0y:tc=att4410:
+	: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:
 
 # 5410 in terms of a vt100
 # (v5410: added <rmam>/<smam> based on init string -- esr)
@@ -5670,7 +10433,7 @@
 	: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:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
+	: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[1;7m:sr=\EM:st=\EH:ta=^I:\
 	:ue=\E[m:up=\E[A:us=\E[4m:
@@ -5712,87 +10475,303 @@
 # 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:\
-	:bs:db:mi:xo:\
-	:Nl#8:lh#2:lm#78:lw#8:ws#55:\
-	:@1=\Et:@7=\Ez:@8=\Eent:AL=\E[%dL:CM=\E[%i%p1%d;%p2%dt:\
+	: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:bt=\E[Z:ch=\E[%+^AG:cl=\E[x\E[J:\
-	:cm=\E[%i%d;%dx:ct=\E[3g:cv=\E[%+^Ad:ec=\E[%ds\E[%dD:\
-	:ei=\E[4l:ho=\E[x:i1=\E[?3l:i2=\E[?5l:ic@:im=\E[4h:\
+	:UP=\E[%dA:\
+	:ac=``aaffhhggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~00++--,,..:\
+	:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\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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:
 
 # 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:\
+	:..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:\
-	:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:\
-	:tc=att4415+nl:tc=att4415:
+	: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:\
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j\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:
 
 att4415-w-rv-n|tty5420-w-rv-n|att5420-w-rv-n|AT&T 4415/5420 132 cols reverse without changing labels:\
-	: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)
-# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
+	: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[?7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Z:up=\EA:us=\E\:
+	:dc=\EP:dl=\EM:do=\EB: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
@@ -5846,17 +10837,29 @@
 	: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\136:im=:\
+	: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:kC=\EJ:\
 	:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A: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\:
+	:us=\E\\:
 
 att4424-1|tty4424-1|teletype 4424 in display function group I:\
-	:kC@:kd=\EB:kh@:kl=\ED:kr=\EC:ku=\EA:\
-	:tc=att4424:
+	: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\\:
 
 # 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.
@@ -5868,7 +10871,7 @@
 	:am:da:db:mi:\
 	:co#80:it#8:li#23:\
 	:al=\EL:bl=^G:ce=\E[K:cl=\E[2;H\E[J:cm=\E[%i%2;%2H\E[B:\
-	:cr=^M:dc=\EP:dl=\EM:do=^J:ei=:ic=\E\136:im=:ip=2:\
+	:cr=^M:dc=\EP:dl=\EM:do=^J:ei=:ic=\E^:im=:ip=2:\
 	:is=\E[m\E[2;24r: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^J:se=\E[m:sf=^J:so=\E[7m:sr=\ET:ta=^I:\
@@ -5883,36 +10886,89 @@
 # 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)
-# (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:\
-	:co#80:it#8:li#24:lm#78:ws#55:\
-	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB: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: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:ec=\E[%ds\E[%dD:ei=\E[4l:fs=\E8:ho=\E[H:\
-	:i1=\E<\E[?3l:i2=\E[?5l:im=\E[4h:\
+	: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:\
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Of:k5=\EOg:k6=\EOh:k7=\EOi:\
+	:k8=\EOj:kA=\E[L:kB=\E[Z:kC=\E[J:kD=\E[P:kE=\E[2K:kF=\E[T:\
+	:kI=\E[4h:kL=\E[M:kR=\E[S:kb=^H:kd=\E[B:\
 	:ke=\E[21;0j\E[25;1j\212:kh=\E[H:kl=\E[D:kr=\E[C:\
 	:ks=\E[21;1j\E[25;4j\Eent\E~:ku=\E[A:le=^H:ll=\E[24H:\
-	:mb=\E[5m:md=\E[2;7m:me=\E[m\017:mh=\E[2m:mr=\E[7m:\
-	:nd=\E[C:nw=^M^J:rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:\
-	:sr=\EM:st=\EH:ta=^I:ts=\E7\E[25;%p1%{8}%+%dH:ue=\E[m:\
-	:up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[12;0j:\
-	:vs=\E[12;1j:
-
-att5425-nl|tty5425-nl|att4425-nl|AT&T 4425/5425 80 columns no labels:\
-	:ks=\E[21;1j\E[25;4j\Eent:\
-	:tc=att4425:
-
-att5425-w|att4425-w|tty5425-w|teletype 4425/5425 in 132 column mode:\
-	:co#132:lm#54:ws#97:\
-	:i1=\E[?3h:tc=tty5425:
+	: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%1d           %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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ta=^I:ue=\E[m:up=\EA:\
+	:us=\E[4m:
 
 # Terminfo entry for the AT&T 510 A Personal Terminal
 # Function keys 9 - 16 are available only after the 
@@ -5942,14 +10998,13 @@
 #
 # 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=+g\054h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~:\
+	:ac=hrisjjkkllmmnnqqttuuvvwwxx{{||}}~~-f,h.e+g`b:\
 	: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:\
@@ -5958,9 +11013,11 @@
 	: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: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|:
+	: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|:
 
 # Terminfo entry for the AT&T 510 D Personal Terminal
 # Function keys 9 through 16 are accessed by bringing up the
@@ -5971,45 +11028,67 @@
 # 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)
-# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 att510d|bct510d|AT&T 510D Personal Terminal:\
 	:am:da:db:mi:ms:xn:xo:\
-	:co#80:li#24:lm#48:\
-	: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[L:as=^N:bl=^G:bt=\E[Z: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:\
-	:ei=\E[4l:ff=^L:ho=\E[H:i1=\E(B\E)1\E[5;0|:\
+	: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\::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1%c\E[%p2%{1}%-%db:rs=\E[5;0|:\
+	:..sa=\E[0%?%p5%p6%|%t;2%;%?%p2%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;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)
-# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 att500|att513|AT&T 513 using page mode:\
-	:am:mi:ms:xn: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:SF=\E[%dE:SR=\E[%dF: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=%i\E[%d;%dr:ct=\E[3g:dc=\E[P:\
-	:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:\
+	: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=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#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: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: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|:
 
 # 01-07-88
 # printer must be set to EMUL ANSI to accept ESC codes
@@ -6018,13 +11097,18 @@
 #	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)
-# (sgr removed to fit entry within 1023 bytes)
-# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 att5310|att5320|AT&T Model 53210 or 5320 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=%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:
 
 # Teletype 5620, firmware version 1.1 (8;7;3) or earlier from BRL
 # The following SET-UP modes are assumed for normal operation:
@@ -6067,9 +11151,27 @@
 	: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:\
-	:li#24:tc=att5620:
+	: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:
 att5620-34|tty5620-34|dmd-34|teletype dmd 5620 in a 34x80 layer:\
-	:li#34:tc=att5620:
+	: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:
 # 5620 layer running the "S" system's downloaded graphics handler:
 att5620-s|tty5620-s|layer|vitty|5620 S layer:\
 	:am:bs:pt:\
@@ -6082,140 +11184,466 @@
 #
 # 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)
-# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 att605|AT&T 605 80 column 102key keyboard:\
 	:am:eo:xo:\
-	:co#80:li#24:ws#80:\
-	:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:ae=^O:al=\E[L:as=\E)0\016:\
-	:bl=^G:bt=\E[Z: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:fs=\E8:\
+	: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:F2=\ENr:F3=\ENs:F4=\ENt:F5=\EOC:F6=\EOD:F7=\EOE:\
+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=\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:
 # (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)
-# (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:\
-	:co#80:it#8:li#24: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[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:dc=\E[P:dl=\E[M:\
-	:do=\E[B:ei=\E[4l:fs=\E8:ho=\E[H:\
+	: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=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[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:
 # (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)
-# (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:\
-	:co#80:it#8:li#24: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=\E(B\017:al=\E[L:as=\E)0\016: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:\
-	:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:fs=\E8:ho=\E[H:\
+	:Nl#8:co#80:it#8:lh#2:li#24:lw#8:ws#80:\
+	:#4=\E[ A:%i=\E[ @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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:
 
 # AT&T (formerly Teletype) 630 Multi-Tasking Graphics terminal
 # The following SETUP modes are assumed for normal operation:
@@ -6240,12 +11668,27 @@
 	: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:r2=\Ec:rc=\E8:\
+	: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:
 att630-24|5630-24|5630DMD-24|630MTG-24|AT&T 630 windowing terminal 24 lines:\
-	:li#24:tc=att630:
+	: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:
 
 # 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
@@ -6324,25 +11767,38 @@
 # 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)
-# (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:\
-	:co#80:it#8:li#24:ws#80:\
-	:AL=\E[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: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.
@@ -6358,38 +11814,198 @@
 # 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)
-# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 att730|AT&T 730 windowing terminal:\
-	:am:da:db:es:hs:mi:ms:xn:xo:\
-	:co#80:it#8:li#60:lm#0:ws#80:\
-	:AL=\E[%dL:DC=\E[%dP: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:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:fs=\E8:\
-	:ho=\E[H:\
+	: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=\EN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7h\E[12h\E(B\E)B:\
-	:vb=\E[?5l\E[?5h:\
-	:tc=att730:
+	:i2=\E(B\E)0:im=\E[4h:is=\E[m\017:k1=\EOc:k2=\EOd:k3=\EOe:\
+	:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:k9=\ENo:k;=\ENp:\
+	:kA=\E[L:kB=\E[Z:kC=\E[2J:kF=\E[S:kI=\E[@:kR=\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\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[?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[?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:
 att730r-41|730MTG-41r|AT&T 730r-41 rev video windowing terminal Version:\
-	:li#41:tc=att730r:
+	:NP:am:da:db:es:hs:mi:ms:xn:xo:\
+	:Nl#24:co#80:it#8:lh#2:li#41:lm#0:lw#8:ws#80:\
+	:#4=\E[ @:%i=\E[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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[?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:
 
 # The following represents the screen layout along with the associated
 # bezel buttons for the 5430/pt505 terminal. The "kf" designations do
@@ -6556,15 +12172,15 @@
 att505|pt505|att5430|gs5430|AT&T Personal Terminal 505 or 5430 GETSET terminal:\
 	:am:xo:\
 	:co#80:it#8:li#24:\
-	:&2=\E[27s:@4=\E\041: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:RI=\E[%dC:SA=\E[11;0j:UP=\E[%dA:\
+	:&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:\
+	: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:\
 	: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:\
+	: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:\
@@ -6575,10 +12191,40 @@
 # 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:\
-	:li#24:\
-	:RA@:SA@:pf@:po@:rc@:sc@:tc=att505:
+	: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=\E[22s:\
+	:FD=\E[23s:FE=\E24s:FG=\E26s:LE=\E[%dD:RI=\E[%dC:\
+	:UP=\E[%dA:\
+	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
+	:ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:cb=\E2K: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:\
+	: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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@ -6610,21 +12256,26 @@
 # 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:\
-	:kb=^_:\
-	:tc=ampex175:
+	: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:
 # 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:\
+	:co#80:it#8:li#24:sg#1:ug#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: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:
+	: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:
 # (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)
@@ -6641,24 +12292,37 @@
 	: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:\
-	: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:
+	: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:
 # (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:\
+	:co#80: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=\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:\
-	:mk@:nd=^L:ta=^I:up=^K:vb=\Eb\Ed:ve=\E.4:vi=\E.0:\
-	:tc=adm+sgr:
+	: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:
 # (ampex: removed :if=/usr/share/tabset/amp-132:, no file and no :st: -- esr) 
 ampex232w|Ampex Model 232 / 132 columns:\
-	:co#132:li#24:\
-	:is=\E\034Eg\El:tc=ampex232:
+	: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:
 
 #### Ann Arbor (aa)
 #
@@ -6812,26 +12476,29 @@
 #   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)
-# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 aaa+unk|aaa-unk|ann arbor ambassador (internal - don't use this directly):\
-	:am:bs:km:mi:xo:\
+	:5i:am:bs:km:mi:xo:\
 	:co#80:it#8:\
-	: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:\
-	: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=^K:ei=:ho=\E[H:\
-	:i1=\E[m\E7\E[H\E9\E8:i2=\E[1Q\E[>20;30l\EP`+x~M\E\:\
-	:ic=\E[@:im=:k1=\EOA:k2=\EOB:k3=\EOC:k4=\EOD:k5=\EOE:\
-	:k6=\EOF:k7=\EOG:k8=\EOH:k9=\EOI:kD=\E[P:kI=\E[@:kb=^H:\
-	:kd=\E[B:\
-	:ke=\EP`>y~[[J`8xy~[[A`4xy~[[D`6xy~[[C`2xy~[[B\E\:\
-	:kh=\E[H:kl=\E[D:kr=\E[C:\
-	:ks=\EP`>z~[[J`8xz~[[A`4xz~[[D`6xz~[[C`2xz~[[B\E\:\
-	:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mm=\E[>52h:\
-	:mo=\E[>52l:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=^K:\
-	:so=\E[7m:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
+	: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@:\
+	:LE=\E[%dD:RI=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	:is=\E7\E[255;0;0;76;178;255p\E8\E[J:k1=\EOA:k2=\EOB:\
+	:k3=\EOC:k4=\EOD:k5=\EOE:k6=\EOF:k7=\EOG:k8=\EOH:k9=\EOI:\
+	:k;=\EOJ:kA=\E[L:kB=\E[Z:kC=\E[J:kD=\E[P:kI=\E[@:kL=\E[M:\
+	:kM=\E6:kb=^H:kd=\E[B:\
+	:ke=\EP`>y~[[J`8xy~[[A`4xy~[[D`6xy~[[C`2xy~[[B\E\\:\
+	:kh=\E[H:kl=\E[D:kr=\E[C:\
+	:ks=\EP`>z~[[J`8xz~[[A`4xz~[[D`6xz~[[C`2xz~[[B\E\\:\
+	:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mk=\E[8m:\
+	:mm=\E[>52h:mo=\E[>52l:mr=\E[7m:nd=\E[C:pO=\E[%dv:pf=^C:\
+	:po=\E[v:ps=\E[0i: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=^K:so=\E[7m:st=\EH:ta=^I:\
+	:te=\E[255p\E[255;1H\E[K:ti=\E[76p:ue=\E[m:up=\E[A:\
+	:us=\E[4m:vb=\E[>59h\E[>59l:
 aaa-rv-unk|ann arbor unknown type:\
 	:Nl#0:lh#0:lw#0:\
 	:ho=\E[H:i1=\E[7m\E7\E[H\E9\E8:mb=\E[5;7m:md=\E[1;7m:\
@@ -7032,46 +13590,74 @@
 regent|Adds Regent Series:\
 	:am:bs:\
 	:co#80:li#24:\
-	:bl=^G:cl=^L:cr=^M:do=^J:ho=\EY  :le=^U:ll=^A:nd=^F:sf=^J:\
+	:bl=^G:cl=^L:cr=^M:do=^J:ho=\EY\s\s:le=^U:ll=^A:nd=^F:sf=^J:\
 	:up=^Z:
 # Regent 100 has a bug where if computer sends escape when user is holding
 # down shift key it gets confused, so we avoid escape.
 reg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: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`:
 # 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:\
 	: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\041:k4=^B":k5=^B#:kd=^J:\
-	:kh=^A:kl=^U:kr=^F:ku=^Z:le=^H:ll=^A:me=^O:nd=^F:se=^O:sf=^J:\
-	:so=^N:ue=^O:up=^Z:us=^N:ve=\017\E0`:vs=\017\E0P:
+	: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:se=^O:sf=^J:so=^N:\
+	: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:\
-	:se@:so@:ue@:us@:vs@:tc=viewpoint:
+	: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`:
 
 # From: Jay S. Rouman <jsr@dexter.mi.org> 5 Jul 92
 # The :vi:/:ve:/:sa:/:me: strings were added by ESR from specs.  
@@ -7087,7 +13673,14 @@
 	:..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:\
-	:tc=regent40:
+	: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`:
 #
 # adds viewpoint 90 - from cornell
 # Note:  emacs sends ei occasionally to insure the terminal is out of
@@ -7103,11 +13696,11 @@
 	:bs:bw:ms:xs:\
 	:co#80:li#24:\
 	:cd=\Ek:ce=\EK:cl=\EG\Ek:cm=\EY%+ %+ :dc=\EE:dl=\El:do=^J:\
-	:ei=:ho=\EY  :ic=\EF \EF\025:im=:k0=^B1\r:k1=^B2\r:\
+	:ei=:ho=\EY\s\s:ic=\EF \EF\025:im=:k0=^B1\r:k1=^B2\r:\
 	:k2=^B3\r:k3=^B4\r:k4=^B5\r:k5=^B6\r:k6=^B7\r:k7=^B8\r:\
-	:k8=^B9\r:k9=^B\072\r:k;=^B;\r:kb=^H: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:\
-	:l8=F9:l9=F10:la=F11:le=^H:ll=^A:me=\ER\E0@\EV:nd=^F:\
+	:k8=^B9\r:k9=^B\:\r:k;=^B;\r:kb=^H: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:l8=F9:\
+	:l9=F10:la=F11:le=^H:ll=^A:me=\ER\E0@\EV:nd=^F:\
 	:se=\ER\E0@\EV:sf=^J:so=\ER\E0Q\EV:ta=^I:ue=\ER\E0@\EV:\
 	:up=^Z:us=\ER\E0`\EV:
 # Note: if return acts weird on a980, check internal switch #2
@@ -7180,7 +13773,7 @@
 #
 sb1|beehive superbee:\
 	:am:bs:bw:da:db:mi:ul:xb:\
-	:co#80:li#25:sg#1:\
+	: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:\
@@ -7191,8 +13784,16 @@
 	: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:
+	: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.
@@ -7214,9 +13815,25 @@
 	: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:
+	: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:
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
-	:se=\Ed@:sf=^J:so= \EdP:ta=^I:ue=\Ed@:up=\EA:us=\Ed`:
+	:se=\Ed@:sf=^J:so=\s\EdP:ta=^I:ue=\Ed@:up=\EA:us=\Ed`:
 
 #### C. Itoh Electronics
 #
@@ -7272,6 +13889,7 @@
 # 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
@@ -7345,15 +13963,35 @@
 	: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 w/o am:\
-	:am@:\
-	:kb=^H:kd=^J:kl=^H:vs=\E[?1l\E[?4l\E[?7l:tc=cit101e:
+	:bs:mi:ms:pt:\
+	:co#80:it#8:li#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:
 cit101e-132|CIT-101e with 132 cols:\
-	:co#132:\
-	:kb=^H:kd=^J:kl=^H:tc=cit101e:
+	:am:bs:mi:ms:pt:\
+	:co#132:it#8:li#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[?7h:
 cit101e-n132|CIT-101e with 132 cols w/o am:\
-	:am@:\
-	:co#132:\
-	:kb=^H:kd=^J:kl=^H:vs=\E[?1l\E[?4l\E[?7l:tc=cit101e:
+	:bs:mi:ms:pt:\
+	:co#132:it#8:li#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:
 # CIE Terminals CIT-500 from BRL
 # The following SET-UP modes are assumed for normal operation:
 #	GENERATE_XON/XOFF:YES	DUPLEX:FULL		NEWLINE:OFF
@@ -7386,30 +14024,48 @@
 
 # C. Itoh printers begin here
 citoh|ci8510|8510|c.itoh 8510a:\
-	:co#80:it#8:\
-	:is=\E(009\054017\054025\054033\054041\054049\054057\054065\054073.:\
-	:le@:md=\E\041:me=\E"\EY:rp=\ER%r%03%.:sr=\Er:ue=\EY:\
-	:us=\EX:\
-	:tc=lpr:
+	: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:
 citoh-pica|citoh in pica:\
-	:i1=\EN:tc=citoh:
+	: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:
 citoh-elite|citoh in elite:\
-	:co#96:\
-	:i1=\EE:\
-	:is=\E(009\054017\054025\054033\054041\054049\054057\054065\054073\054081\054089.:tc=citoh:
+	:bs:hc:os:\
+	:co#96:it#8:li#66:\
+	:bl=^G:cr=^M:do=^J:ff=^L: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:
 citoh-comp|citoh in compressed:\
-	:co#136:\
-	:i1=\EQ:\
-	:is=\E(009\054017\054025\054033\054041\054049\054057\054065\054073\054081\054089\054097\054105\054113\054121\054129.:tc=citoh:
+	:bs:hc:os:\
+	:co#136:it#8:li#66:\
+	:bl=^G:cr=^M:do=^J:ff=^L: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:
 # citoh has infinite cols because we don't want lp ever inserting \n\t**.
 citoh-prop|citoh-ps|ips|citoh in proportional spacing mode:\
-	:co#32767:\
-	:i1=\EP:tc=citoh:
+	: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:
 citoh-6lpi|citoh in 6 lines per inch mode:\
-	:i2=\EA:tc=citoh:
+	: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:
 citoh-8lpi|citoh in 8 lines per inch mode:\
-	:li#88:\
-	:i2=\EB:tc=citoh:
+	: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:
 
 #### Control Data (cdc)
 #
@@ -7435,8 +14091,8 @@
 cdc752|CDC 752:\
 	:am:bs:bw:xs:\
 	:co#80:li#24:\
-	:bl=^G:ce=^V:cl=\030\E1  :cm=\E1%r%+ %+ :cr=^M:do=^J:\
-	:ho=\E1  :le=^H:ll=^Y:nd=^U:r1=\E1  \030\002\003\017:\
+	:bl=^G:ce=^V:cl=\030\E1\s\s:cm=\E1%r%+ %+ :cr=^M:do=^J:\
+	:ho=\E1\s\s:le=^H:ll=^Y:nd=^U:r1=\E1  \030\002\003\017:\
 	:sf=^J:up=^Z:
 # CDC 756
 # The following switch/key settings are assumed for normal operation:
@@ -7471,11 +14127,11 @@
 	:co#80:it#8:kn#10:li#30:\
 	:al=^^R:bl=^G:bt=^^^K:cd=^^P:ce=^K:cl=^L:cm=\002%r%+ %+ :\
 	:ct=^^^RY:dc=^^N:dl=^^Q:do=^Z:ei=:ho=^Y:ic=^^O:im=:\
-	:is=\036\022B\003\036\035\017\022\025\035\036E\036\022H\036\022J\036\022L\036\022N\036\022P\036\022Q\036\022\036\022\136\036\022b\036\022i\036W =\036\022Z\036\011C1-` `\041k/o:\
+	:is=\036\022B\003\036\035\017\022\025\035\036E\036\022H\036\022J\036\022L\036\022N\036\022P\036\022Q\036\022\036\022^\036\022b\036\022i\036W =\036\022Z\036\011C1-` `!k/o:\
 	:k0=^^q:k1=^^r:k2=^^s:k3=^^t:k4=^^u:k5=^^v:k6=^^w:k7=^^x:\
 	:k8=^^y:k9=^^z:kb=^H:kd=^Z:ke=^^^Rl:kh=^Y:kl=^H:kr=^X:\
 	:ks=^^^Rk:ku=^W:le=^H:ll=^B =:mb=^N:\
-	:me=\017\025\035\036E\036\022\:mh=^\:mk=^^^R[:mr=^^D:\
+	:me=\017\025\035\036E\036\022\\:mh=^\:mk=^^^R[:mr=^^D:\
 	:nd=^X:se=^^E:sf=\036W =\036U:so=^^D:sr=\036W =\036V:\
 	:st=^^^RW:ue=^]:up=^W:us=^\:
 
@@ -7501,25 +14157,27 @@
 # 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)
-# (terminfo-only capabilities suppressed 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:\
-	:RI=\E[%dC:UP=\E[%dA:ae=\E[3l:al=\E[L:as=\E3h: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[X:dl=\E[M:do=\E[B:\
-	:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:\
+	: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:\
+	: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:\
 	:is=\E0;2m\E[1;25r\E[25;1H\E[?3l\E[?7h\E[?8h:k0=\E010:\
 	:k1=\E001:k2=\E002:k3=\E003:k4=\E004:k5=\E005:k6=\E006:\
-	:k7=\E007:k8=\E008:k9=\E009:kD=\177:kb=^H:kd=\E[A:ke=\E>:\
-	:kh=\E[f:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=\E[D:mb=\E[5m:\
-	:md=\E[1m:me=\E[0;2m:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=^M^J:\
-	:se=\E[0;2m:sf=^J:so=\E[2;7m:ta=^I:ue=\E[0m:up=\E[A:\
-	:us=\E[4m:vb=\E[?5h\E[?5l:
+	:k7=\E007:k8=\E008:k9=\E009:k;=\E011:kD=\177:kL=\EOS:kb=^H:\
+	:kd=\E[A:ke=\E>:kh=\E[f:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:\
+	:l2=A delete char:l3=A insert line:l4=A delete line:\
+	:l5=A clear:l6=A ce of/cf gn:l7=A print:l8=A on-line:\
+	:l9=A funcl0=A send:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[0;2m:\
+	:mh=\E[2m:mk=\E[8m:mr=\E[7m:nd=\E[C:nw=^M^J:se=\E[0;2m:\
+	:sf=^J:so=\E[2;7m:ta=^I:ue=\E[0m:up=\E[A:us=\E[4m:\
+	:vb=\E[?5h\E[?5l:
 
 #### Human Designed Systems (Concept)
 #
@@ -7570,29 +14228,110 @@
 # No delays needed on c108 because of ^S/^Q handshaking
 #
 c108|concept108|c108-8p|concept108-8p|concept 108 w/8 pages:\
-	:i2=\EU\E z"\Ev\001\177 \041p\E ;"\E z \Ev  \001\177p\Ep\n:\
-	:te=\Ev  \001\177p\Ep\r\n:\
-	:tc=c108-4p:
+	: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:\
+	:..cm=\Ea%p1%?%p1%{95}%>%t\001%{96}%-%;%{32}%+%c%p2%?%p2%{95}%>%t\001%{96}%-%;%{32}%+%c:\
+	:cr=^M:dc=\E 1:dl=\E\002:do=^J:ds=\E ;\177:ei=\E\s\s:\
+	:fs=\Ee\E z\s:i1=\EK\E!\E F:\
+	:i2=\EU\E z"\Ev\001\177 !p\E ;"\E z \Ev  \001\177p\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=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:\
+	:le=^H:mb=\EC:me=\EN@:mh=\EE:mk=\EH:mp=\EI:mr=\ED:nd=\E=:\
+	:pf=\036o \E\EQ!\EYP\027:po=\EQ"\EY(\027\EYD\Eo \036:\
+	:rp=\Er%.%+ :se=\Ed:sf=^J:so=\ED:ta=\011:\
+	:te=\Ev  \001 p\Ep\r\n:ti=\EU\Ev  8p\Ep\r\E\025:\
+	:..ts=\E z"\E?\E\005\EE\Ea %+\s:ue=\Eg:up=\E;:us=\EG:\
+	:vb=\Ek\EK:ve=\Ew:vs=\EW:
+c108-rv|c108-rv-8p|concept 108 w/8 pages in reverse video:\
+	: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:\
 	:..cm=\Ea%p1%?%p1%{95}%>%t\001%{96}%-%;%{32}%+%c%p2%?%p2%{95}%>%t\001%{96}%-%;%{32}%+%c:\
-	:cr=^M:dc=\E 1:ds=\E ;\177:fs=\Ee\E z :i1=\EK\E\041\E F:\
-	:i2=\EU\E z"\Ev\177 \041p\E ;"\E z \Ev  \001 p\Ep\n:\
-	:sf=^J:te=\Ev  \001 p\Ep\r\n:ti=\EU\Ev  8p\Ep\r\E\025:\
-	:ts=\E z"\E?\E\005\EE\Ea %+ :ve=\Ew:vs=\EW:\
-	:tc=c100:
-c108-rv|c108-rv-8p|concept 108 w/8 pages in reverse video:\
+	:cr=^M:dc=\E 1:dl=\E\002:do=^J:ds=\E ;\177:ei=\E\s\s:\
+	:fs=\Ee\E z\s:i1=\Ek:\
+	:i2=\EU\E z"\Ev\177 !p\E ;"\E z \Ev  \001 p\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:\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ev\001\177 !p\E ;"\E z \Ev  \001\177p\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\EQ!\EYP\027:po=\EQ"\EY(\027\EYD\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:
 
 # Concept 100:
 # These have only window relative cursor addressing, not screen 
@@ -7636,23 +14375,50 @@
 	: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  :\
+	: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\041\0\E\007\041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\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\EQ!\EYP\027:po=\EQ"\EY(\027\EYD\Eo \036:\
+	:rp=\Er%.%+ :se=\Ed:sf=^J:so=\ED:ta=\011:\
+	:te=\Ev    \Ep\r\n:ti=\EU\Ev  8p\Ep\r\E\025:ue=\Eg:\
+	:up=\E;:us=\EG:vb=\Ek\EK:
 
 # From: Walter Skorski <walt@genetics1.JMP.TJU.EDU>, 16-oct-1996.
 # Lots of notes, originally inline, but ncurses doesn't grok that.
@@ -7896,56 +14662,122 @@
 # (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)
-# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 hds200|Human Designed Systems HDS200:\
-	:am:bw:es:hs:km:mi:ms:xn:xo:\
+	:5i:am:bw:es:hs: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@:\
-	: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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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:\
+	:k;=^\010\r:kB=\E$I:kD=\177:kF=\E[T:kN=\E[U:kP=\E[V:\
+	:kR=\E[S: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:\
+	:mk=\E[0;8m:mr=\E[0;7m:nd=\E[C:nw=\E[E:pf=\E[4i:po=\E[5i:\
+	:ps=\E[i:rc=\E8:\
+	:..sa=\E[0%?%p1%p6%O%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%O%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;:\
 	:sc=\E7:se=\E[m\017:sf=\ED:so=\E[0;1;7m:sr=\EM:st=\EH:\
-	:ta=^I:ts=\E[2\041w\E[%i%p1%dG:ue=\E[m\017:up=\E[A:\
-	:us=\E[0;4m:ve=\E[+{:vi=\E[6+{:
+	: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)
-# (sgr removed to fit entry within 1023 bytes)
-# (terminfo-only capabilities suppressed 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:\
 	:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:\
-	:RI=\E[%dC:UP=\E[%dA:ae=\016:al=\E[L:as=\017:bl=^G:bt=\E[Z:\
-	:cd=\E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h\E[=205l: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:ve=\E[=119l:vs=\E[=119h:
 avt-w-rv-ns|concept avt in 132 column mode/no status line/reverse video:\
-	:i1=\E[=103h\E[=205h:ti=\E[H\E[1;24;1;132w:\
-	:vb=\E[=205l\E[=205h:tc=avt-ns:
+	: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:
 
 # Concept AVT with status line. We get the status line using the
 # "Background status line" feature of the terminal. We swipe the
@@ -7958,20 +14790,106 @@
 avt+s|concept avt status line changes:\
 	:es:hs:\
 	:lm#191:\
-	:ds=\E[0*w:fs=\E[1;1\041w:\
-	:i2=\E[2w\E[2\041w\E[1;1;1;80w\E[H\E[2*w\E[1\041w\E2\r\n:\
+	:ds=\E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. 
 #
@@ -7983,13 +14901,18 @@
 	:al=\EL:bl=^G:cd=\EJ:ce=\EI:cl=\EK:cm=\EX%+ \EY%+ :cr=^M:\
 	:ct=\E3:dc=\EO:dl=\EM:do=^J:ei=:ho=\EH:ic=\EN:im=:ip=: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\041\0:nd=\EC:\
-	:se=\E\041\0:sf=^J:so=\E\041\r:st=\E1:up=\EA:\
+	: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:\
 	:vb=\020\002\020\003:
 # Contel c301 and c321 terminals.
 contel301|contel321|c301|c321|Contel Business Systems C-301 or C-321:\
-	:ei=:ic@:im=:ip@:se=\E\041\0:so=\E\041\r:vb@:\
-	:tc=contel300:
+	: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:
 
 #### Data General (dg)
 #
@@ -8056,22 +14979,22 @@
 dgkeys+11|Private entry describing 11 minimal-subset DG mode special keys:\
 	: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=^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:k4=^^t:k5=^^u:k6=^^v:\
-	:k7=^^w:k8=^^x:k9=^^y:k;=^^z:
+	: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=^^_:k1=^^q:k2=^^r:k3=^^s:k4=^^t:k5=^^u:k6=^^v:k7=^^w:\
+	:k8=^^x:k9=^^y:k;=^^z:
 
 # Data General color terminals use the "Tektronix" color model.  The total
 # number of colors varies with the terminal model, as does support for
@@ -8086,12 +15009,16 @@
 dgunix+fixed|Fixed color info for DG D430C terminals in DG-UNIX 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:\
+	:..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:
 
 dg+fixed|Fixed color info for DG D430C terminals in DG mode:\
-	:tc=dgunix+fixed:
+	: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:
 
 # Video attributes are coordinated using static variables set by "sgr", then
 # checked by "op", "seta[bf]", and "set[bf]" to refresh the attribute settings. 
@@ -8099,32 +15026,33 @@
 dg+color8|Color info for Data General D220 and D230C terminals in ANSI mode:\
 	:ut:\
 	:Co#8:NC#16:pa#64:\
-	: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:\
+	:..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:\
 	:..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:\
 	: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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470C terminals in DG mode:\
-	: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:\
-	:tc=dgmode+color8:
+	:ut:\
+	:Co#16:NC#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:
 
 dgunix+ccc|Configurable color info for DG D430C terminals in DG-UNIX mode:\
 	:cc:ut:\
@@ -8139,8 +15067,8 @@
 	:cc:ut:\
 	:Co#52:NC#53:pa#26:\
 	:..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:\
-	:oc=\036RG01\07200??00000000\036RG01;00000000??00\036RG01<007?00000000\036RG01=000000007?00:\
-	:op=\036RF4831\072\036RF2>31;\036RF1=31<\036RF3?31=:\
+	:oc=\036RG01\:00??00000000\036RG01;00000000??00\036RG01<007?00000000\036RG01=000000007?00:\
+	:op=\036RF4831\:\036RF2>31;\036RF1=31<\036RF3?31=:\
 	:sp=\036RG2%+^P%+^P:
 
 # The generic DG terminal type (an 8-bit-clean subset of the 6053)
@@ -8150,22 +15078,48 @@
 dg-generic|Generic Data General terminal in DG mode:\
 	:NL:am:bw:ms:xo:\
 	:co#80:li#24:\
-	: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:
+	: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:
 
 # (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:\
-	:xo@:\
-	:ho=^P\0\0:ll=^P\0^W:tc=dg-generic:
+	:N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^%:Ff=^^&:Fg=^^':Fh=^^(:Fi=^^):Fj=^^*:\
+	:Fk=^^+:Fl=^^,:Fm=^^-:Fn=^^.:Fo=^^\s:K1=^^\\:K3=^^]:K4=^^^:\
+	:K5=^^_: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: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^]:so=^^D^\:\
-	:tc=dgkeys+15:tc=dg6053:
+	:se=^^E^]:sf=^J:so=^^D^\:ue=^U:up=^W:us=^T:
 
 # DASHER D210 series terminals in ANSI mode.
 #	Reverse video, no insert/delete character/line, 7 bits/character only.
@@ -8177,19 +15131,47 @@
 d210|d214|Data General DASHER D210 series:\
 	:NL:am:bw:ms:xo:\
 	:co#80:li#24:\
-	:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bl=^G:cb=\E[1K:\
+	:%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: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: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:\
 	:..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:\
-	:tc=dgkeys+7b:
+	:se=\E[m:sf=^J:so=\E[2;7m:ue=\E[m:up=\E[A:us=\E[4m:
 
 # 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:\
-	:xo:\
-	:cd=^^FF:tc=d200:
+	: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:
 
 # DASHER D211 series terminals in ANSI mode.
 # Like the D210, but with 8-bit characters and local printer support.
@@ -8203,8 +15185,32 @@
 #	^O		- primary character set
 #
 d211|d215|Data General DASHER D211 series:\
-	:km:\
-	:is=\E[2;1;1;1v\E(B\E)4\017:ps=\E[i:tc=dgkeys+8b:tc=d210:
+	: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:
 
 # Initialization string 2 sets:
 #	\E[2;0;1;0v
@@ -8213,8 +15219,29 @@
 #	\E(0		- default character set (the keyboard native language)
 #	^O		- primary character set
 d211-7b|d215-7b|Data General DASHER D211 series in 7 bit mode:\
-	:km@:\
-	:is=\E[2;0;1;0v\E(0\017:tc=dgkeys+7b:tc=d211:
+	: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:
 
 # Like the D210 series, but adds support for 8-bit characters.
 #
@@ -8225,34 +15252,131 @@
 #	^^FS00	- default character set (matching the native keyboard language)
 #
 d211-dg|d215-dg|Data General DASHER D211 series in DG mode:\
-	:km:\
-	:r2=\036N\036FS0>\036O\036FS00:tc=d210-dg:
+	: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=^^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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:
 
 # Enhanced DG mode with changes to be more UNIX compatible.
 d216-unix|d216e-unix|d216+|d216e+|Data General DASHER D216+ in DG-UNIX mode:\
-	:5i:\
-	:it#8:\
-	:#2=^^Pf:#4=^^Pd:%9=^^P0:%f=^^P1:%i=^^Pc:\
-	:ac=a\177j$k"l\041m#n)q+t'u&v(w%x*:ae=\036FS00:\
-	:as=\036FS11:ce=^^PE:ch=\020%.\177:cl=^^PH:cv=\020\177%.:\
-	:do=^^PB:ho=^^PF:i1=\022\003\036P@1:i2=\036Fz0:kC=^^PH:\
+	: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:\
+	: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=\036Fz0: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:me=\036PJ\025\035\036E\036FS00:nd=^^PC:pf=^^Fa:\
-	:po=^^F`:ps=\036F?9:r2=\036N\036FS0E\036O\036FS00:\
+	: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%;:\
-	:sf=^J:ta=^I:up=^^PA:\
-	:tc=dgkeys+15:tc=d216-dg:
+	:se=^^E^]:sf=^J:so=^^D^\:ta=^I:ue=^U:up=^^PA:us=^T:
 d216-unix-25|d216+25|Data General DASHER D216+ in DG-UNIX mode with 25 lines:\
-	:li#25:\
-	:i2=\036Fz2:tc=d216+:
+	:5i:NL:am:bw:km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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:
 
 # DASHER D220 color terminal in ANSI mode.
 # Like the D470C but with fewer colors and screen editing features.
@@ -8267,12 +15391,79 @@
 #	\Ec		- initial mode defaults (RIS)
 #
 d220|Data General DASHER D220:\
-	:5i@:\
-	:AL@:DL@:al@:dl@:i1=\E[<0;<1;<4l\E[m:pf@:po@:r1=\Ec:tc=dg+color8:tc=d470c:
+	: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:
 
 d220-7b|Data General DASHER D220 in 7 bit mode:\
-	:5i@:\
-	:AL@:DL@:al@:dl@:i1=\E[<0;<1;<4l\E[m:pf@:po@:r1=\Ec:tc=dg+color8:tc=d470c-7b:
+	: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%?%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:F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;%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:
 
 # Initialization string 3 sets:
 #	- default cursor (solid rectangle)
@@ -8283,23 +15474,90 @@
 #       ^^FS00  - default character set (matching the native keyboard language)
 #
 d220-dg|Data General DASHER D220 color terminal in DG mode:\
-	:5i@:\
-	:al@:dl@:ho@:i2=\036FQ2:is@:ll@:pf@:po@:r1@:\
-	:r2=\036N\036FS0>\036O\036FS00:tc=dgmode+color8:\
-	:tc=d470c-dg:
+	: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:\
+	: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=^^_:Sb=\036B%+0:\
+	:Sf=\036A%+0:ac=j$k"l!m#n)q+t'u&v(w%x*:ae=\036FS00:\
+	:as=\036FS11:bl=^G:cd=^^FF:ce=^K:ch=\020%.\177:cl=^L:\
+	:cm=\020%r%.%.:cr=^M:cv=\020\177%.:dc=^^K:do=^Z:ei=:\
+	:i1=^R^C:i2=\036FQ2:ic=^^J:im=: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\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:
 
 # DASHER D230C color terminal in ANSI mode.
 # Like the D220 but with minor ANSI compatibility improvements.
 #
 d230c|d230|Data General DASHER D230C:\
-	:ke=\E[2;1v:ks=\E[2;0v:mb=\E[5;50m:md=\E[4;7;50m:\
-	:me=\E[50m\E)4\017:mh=\E[2;50m:mr=\E[7;50m:nw=^M^J:\
+	: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[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=^^0:Fa=^^!:Fb=^^":Fc=^^#:Fd=^^$:Fe=^^%:Ff=^^&:\
+	:Fg=^^':Fh=^^(:Fi=^^):Fj=^^*:Fk=^^+:Fl=^^,:Fm=^^-:Fn=^^.:\
+	:Fo=^^\s:K1=^^\\:K3=^^]:K4=^^^:K5=^^_:Sb=\036B%+0:\
+	:Sf=\036A%+0:ac=j$k"l!m#n)q+t'u&v(w%x*:ae=\036FS00:\
+	:as=\036FS11:bl=^G:cd=^^FF:ce=^K:ch=\020%.\177:cl=^L:\
+	:cm=\020%r%.%.:cr=^M:cv=\020\177%.:dc=^^K:do=^Z:ei=:\
+	:i1=^R^C:i2=\036FQ2:ic=^^J:im=: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\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:
 
 # DASHER D400/D450 series terminals.
 # These add intelligent features like insert/delete to the D200 series.
@@ -8321,16 +15579,28 @@
 #	^^FT0		- jump scrolling
 #
 d400|d400-dg|d450|d450-dg|Data General DASHER D400/D450 series:\
-	:5i:\
-	:ac=j$k"l\041m#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: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\017\025\035\036E\036O: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%;\036%?%p9%tN%eO%;:\
-	:sr=^^I:ve=\036FQ2:vi=\036FQ0:\
-	:tc=d210-dg:
+	:se=^^E^]:sf=^J:so=^^D^\:sr=^^I:ue=^U:up=^W:us=^T:\
+	:ve=\036FQ2:vi=\036FQ0:
 
 # DASHER D410/D460 series terminals in ANSI mode.
 # These add a large number of intelligent terminal features.
@@ -8371,17 +15641,39 @@
 #	\E)4		- default secondary character set (international)
 #
 d410|d411|d460|d461|Data General DASHER D410/D460 series:\
-	:5i:\
-	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:\
-	:ac=j$k"l\041m#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=:\
+	: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:\
-	:me=\E[m\E)4\017:pf=\E[4i:po=\E[5i:r1=\Ec\E[<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%;:\
-	:sr=\EM:ve=\E[3;2v:vi=\E[3;0v:\
-	:tc=d211:
+	: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:
 
 # Initialization string 2 sets:
 #	\E[3;2;2;0;1;0v
@@ -8399,17 +15691,59 @@
 #	\E(0		- default character set (the keyboard native language)
 #
 d410-7b|d411-7b|d460-7b|d461-7b|Data General DASHER D410/D460 series in 7 bit mode:\
-	:km@:\
-	:ae=^O:as=^N:eA=\E)6:is=\E[3;2;2;0;1;0v\E(0\017:\
-	:me=\E[m\017: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%;:tc=dgkeys+7b:\
-	:tc=d410:
+	: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:
 
 d410-dg|d460-dg|d411-dg|d461-dg|Data General DASHER D410/D460 series in DG mode:\
-	: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%;:tc=d400-d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\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:
 
 # DASHER D410/D460 series terminals in wide (126 columns) ANSI mode.
 #
@@ -8434,104 +15768,894 @@
 #	\E[<2h		- horizontal scrolling disabled
 #
 d410-w|d411-w|d460-w|d461-w|Data General DASHER D410/D460 series in wide mode:\
-	:co#126:\
+	: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:\
-	:tc=d410:
+	: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:
 
 d410-7b-w|d411-7b-w|d460-7b-w|d461-7b-w|Data General DASHER D410/D460 series in wide 7 bit mode:\
-	:co#126:\
+	: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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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:
 
 # These add intelligent features like scrolling regions.
 d412-unix|d462-unix|d412+|d462+|Data General DASHER D412+/D462+ series in Unix mode:\
-	:al=^^FH:ch=\036FP%2.2XFF:cl=^^FE:cm=\036FP%r%2.2X%2.2X:\
-	:cv=\036FPFF%2.2X:dc=^^K:dl=^^FI:ei=:ho=^^FG:ic=^^J:im=:\
-	:is=\036FQ5\036FW\036FJ\036F\136\036FX004F\036O\036FS00:\
-	:ll=\036FG\036PA:ps=^A:r1=\036FA\036FT0:r2=\036P@1:\
-	:rc=\036F}11:sc=\036F}10:sr=^^I: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=d216+:
+	: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:F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^^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:
 d412-unix-w|d462-unix-w|d412+w|d462+w|Data General DASHER D412+/D462+ series in wide Unix mode:\
-	:co#132:\
-	:is=\036FQ5\036FW\036FK\036F\136\036FX0083\036O\036FS00:\
-	:r2=\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:tc=d412-unix:
+	:5i:NL:am:bw:km:ms:xo:\
+	:co#132: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:\
+	:..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:
 d412-unix-25|d462-unix-25|d412+25|d462+25|Data General DASHER D412+/D462+ series in Unix mode with 25 lines:\
-	: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+:
+	: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=^^}:F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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:
 d412-unix-s|d462-unix-s|d412+s|d462+s|Data General DASHER D412+/D462+ in Unix mode with status line:\
-	: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+:
+	: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:
 
 #	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|d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^\\: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: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:
 d413-unix-w|d463-unix-w|Data General DASHER D413/D463 series in wide DG-UNIX mode:\
-	:tc=d412-unix-w:
+	:5i:NL:am:bw:km:ms:xo:\
+	:co#132:it#8:li#24:\
+	:#2=^^Pf:#4=^^Pd:%9=^^P0:%f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M:\
+	:..cv=\036FPFF%p1%2.2X:dc=^^K:dl=^^FI:do=^^PB:ei=:ho=^^FG:\
+	:i1=\022\003\036P@1:i2=\036Fz2: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: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:
 d413-unix-s|d463-unix-s|Data General DASHER D413/D463 in DG-UNIX mode with status line:\
-	:tc=d412-unix-s:
+	: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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l=^^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:
 
 d414-unix|d464-unix|Data General D414/D464 in DG-UNIX mode:\
-	:tc=d413-unix:
+	: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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: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=\036Fz2: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: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:
 d414-unix-s|d464-unix-s|Data General D414/D464 in DG-UNIX mode with status line:\
-	:tc=d413-unix-s:
+	:5i:NL:am:bw:es:hs:km:ms:xo:\
+	:co#80:it#8:li#24:\
+	:#2=^^Pf:#4=^^Pd:%9=^^P0:%f=^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=\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:
 
 d430c-dg|d430-dg|Data General D430C in DG mode:\
-	:tc=d413-dg:tc=dg+fixed:
+	:5i:NL:am:bw:km:ms:ut:xo:\
+	:Co#16:NC#53: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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%{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%?%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^\:sp=\036RG2%+^P%+^P:sr=^^I:ue=^U:\
+	:up=^W:us=^T:ve=\036FQ2:vi=\036FQ0:
 
 d430c-unix|d430-unix|Data General D430C in DG-UNIX mode:\
-	:tc=d413-unix:tc=dgunix+fixed:
+	:5i:NL:am:bw:km:ms:ut:xo:\
+	:Co#16:NC#53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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: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:
 d430c-unix-w|d430-unix-w|Data General D430C in wide DG-UNIX mode:\
-	:tc=d413-unix-w:tc=dgunix+fixed:
+	: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%?%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:\
+	: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'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=\036Fz2: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%?%{24}%p2%>%t000%;\036FX%p3%2.2X%p4%2.2X:
 d430c-unix-s|d430-unix-s|Data General D430C in DG-UNIX mode with status line:\
-	:tc=d413-unix-s:tc=dgunix+fixed:
+	:5i:NL:am:bw:es:hs:km:ms:ut:xo:\
+	:Co#16:NC#53:co#80:it#8:li#24:pa#256:\
+	:#2=^^Pf:#4=^^Pd:%9=^^P0:%f=^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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:
 d430c-unix-sr|d430-unix-sr|Data General D430C in DG-UNIX mode with scrolling region:\
-	:tc=d413-unix-sr:tc=dgunix+fixed:
+	: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=^^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:F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E%;%?%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:
 d430c-unix-ccc|d430-unix-ccc|Data General D430C in DG-UNIX mode with configurable colors:\
-	:tc=d413-unix:tc=dgunix+ccc:
+	: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:
 d430c-unix-w-ccc|d430-unix-w-ccc|Data General D430C in wide DG-UNIX mode with configurable colors:\
-	:tc=d413-unix-w:tc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8=^^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:
 d430c-unix-25-ccc|d430-unix-25-ccc|Data General D430C in DG-UNIX mode with 25 lines and configurable colors:\
-	:tc=d413-unix-25:tc=dgunix+ccc:
+	:5i:NL:am:bw:cc:km:ms:ut:xo:\
+	:Co#52:NC#53:co#80:it#8:li#25: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=\036Fz2: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%?%{24}%p2%>%t000%;\036FX%p3%2.2X%p4%2.2X:
 d430c-unix-s-ccc|d430-unix-s-ccc|Data General D430C in DG-UNIX mode with status line and configurable colors:\
-	:tc=d413-unix-s:tc=dgunix+ccc:
+	: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:
 d430c-unix-sr-ccc|d430-unix-sr-ccc|Data General D430C in DG-UNIX mode with scrolling region and configurable colors:\
-	:tc=d413-unix-sr:tc=dgunix+ccc:
+	: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:\
-	:le@:nd=^X:tc=dg200:
+	: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
@@ -8572,14 +16696,83 @@
 #	- (should reset scrolling regions, but that glitches the screen)
 #
 d470c|d470|Data General DASHER D470C:\
-	: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\E)%?%p9%t6\016%e4\017%;:tc=dg+color:\
-	:tc=d460:
+	: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: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\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:\
+	: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:\
+	:..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:
 
 # Initialization string 2 sets:
 #	^^FQ2		- default cursor (solid rectangle)
@@ -8592,35 +16785,345 @@
 #	- (should reset scrolling regions, but that glitches the screen)
 #
 d470c-dg|d470-dg|Data General DASHER D470C in DG mode:\
-	:is=\036FQ2\036FW\036F\136\036FX004?\036F]\036O\036FS00:\
-	:tc=dgmode+color:tc=d460-dg:
+	:5i:NL:am:bw:km:ms:ut:xo:\
+	:Co#16:NC#16:co#80:li#24:pa#256:\
+	:#2=^^^H:#4=^^^Y:%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\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:
 
 # DASHER D555 terminal in ANSI mode.
 # Like a D411, but has an integrated phone.
 d555|Data General DASHER D555:\
-	:tc=d411:
+	: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:
 d555-7b|Data General DASHER D555 in 7-bit mode:\
-	:tc=d411-7b:
+	: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=\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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:
 d555-w|Data General DASHER D555 in wide mode:\
-	:tc=d411-w:
+	: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:
 d555-7b-w|Data General DASHER D555 in wide 7-bit mode:\
-	:tc=d411-7b-w:
+	: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: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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:
 
 # DASHER D577 terminal in ANSI mode.
 # Like a D411, but acts as a keyboard for serial printers ("KSR" modes).
 d577|Data General DASHER D577:\
-	:tc=d411:
+	: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:
 d577-7b|Data General DASHER D577 in 7-bit mode:\
-	:tc=d411-7b:
+	: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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2%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:
 d577-w|Data General DASHER D577 in wide mode:\
-	:tc=d411-w:
+	: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:
 d577-7b-w|Data General DASHER D577 in wide 7-bit mode:\
-	:tc=d411-7b-w:
+	: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[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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:
 
 # DASHER D578 terminal.
 # Like a D577, but without compressed mode; like a D470C in this respect.
@@ -8639,9 +17142,68 @@
 #	- (should reset scrolling regions, but that glitches the screen)
 #
 d578|Data General DASHER D578:\
-	:i1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h:tc=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[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:
 d578-7b|Data General DASHER D578 in 7-bit mode:\
-	:i1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h:tc=d577-7b:
+	: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=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;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.
 
@@ -8669,10 +17231,12 @@
 # (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:
+	: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     
@@ -8706,8 +17270,12 @@
 	: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:\
-	:co#132:\
-	:cm=\E[%i%02;%03H:tc=cs10:
+	: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:
 
 # (dm1520: removed obsolete ":ma=^\ ^_^P^YH:" -- esr)
 dm1520|dm1521|datamedia 1520:\
@@ -8730,8 +17298,13 @@
 # From: <goldberger@su-csli.arpa>
 # (dmchat: ":MT:" changed to ":km:" -- esr)
 dmchat|dmchat version of datamedia 2500:\
-	:km:\
-	:al=1*\020\n\030\035\030\035:dl=2\020\032\030\035:tc=dm2500:
+	: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:
 # (dm3025: ":MT:" changed to ":km:" -- esr)
 dm3025|datamedia 3025a:\
 	:bs:km:\
@@ -8741,11 +17314,13 @@
 	: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:km@:ul:xn:\
-	:al@:dc=\EB:dl@:dm@:ed@:ei=\EP:is=\EU\EV:k0=\Ey\r:k1=\Ep\r:\
+	: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:\
 	: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:pc=\177:se@:so@:\
-	:tc=dm3025:
+	:k8=\Ew\r:k9=\Ex\r:kh=\EH:kr=\EC:ku=\EA:le=^H:nd=\EC:\
+	:pc=\177:sf=^J:ta=^I:up=\EA:
 # Datamedia DT80 soft switches:
 # 1	0=Jump  1=Smooth
 # 	Autorepeat 	0=off  1=on
@@ -8778,19 +17353,43 @@
 # 	CRT Saver	0=Off  1=On
 # dm80/1 is a vt100 lookalike, but it doesn't seem to need any padding.
 dm80|dmdt80|dt80|datamedia dt80/1:\
-	:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:cm=%i\E[%d;%dH:do=^J:\
-	:ho=\E[H:me=\E[m:nd=\E[C:pf=\E[4i:po=\E[5i:ps=\E[0i:\
-	:se=\E[m:so=\E[7m:sr=\EM:ue=\E[m:up=\E[A:us=\E[4m:\
-	:tc=vt100:
+	: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: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=\E[A:us=\E[4m:
 # except in 132 column mode, where it needs a little padding.
 # This is still 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:\
-	: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:
+	: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:
 # From: Adam Thompson <athompso@pangea.ca> Sept 10 1995
 dt80-sas|Datamedia DT803/DTX for SAS usage:\
 	:am:bw:\
@@ -8813,17 +17412,57 @@
 # the Excel terminals with the regular datamedia terminals that share
 # major characteristics.
 excel62|excel64|datamedia Excel 62:\
-	:dc=\E[P:ei=\E[4l:im=\E[4h:k5=\EOu:k6=\EOv:k7=\EOw:k8=\EOx:\
-	:k9=\EOy:kb=^H:kd=^J:kl=^H:\
-	:tc=dt80:
+	: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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:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
+	:ct=\E[3g:dc=\E~W:dl=\E~R:do=^J:eA=\E(B\E)0:ei=:ho=\E[H:\
+	:i1=\E~)\E~ea:ic=\E~Q:im=: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[1;7m:sr=\EM:st=\EH:ta=^I:\
+	:te=\E~_b:ti=\E~_d\E[2J:ue=\E[m:up=\E[A:us=\E[4m:
 
 #### Florida Computer Graphics
 #
@@ -8891,14 +17545,14 @@
 	:co#80:li#32:\
 	:al=\EE:bl=\ESTART\r\E37\r\EEND\r:ce=\ET:cl=\EZ:\
 	:cm=\E=%+ %+ :cr=^M:dc=\EW:dl=\ER:do=^J:ei=:ho=\EH:ic=\EQ:\
-	:im=:le=^H:mb=\ESTART\r\E61\0541\r\EEND\r:\
-	:me=\ESTART\r\E78\r\E70\0540\r\EEND\r:\
-	:mr=\ESTART\r\E59\0541\r\EEND\r:nd=\EV:\
-	:se=\ESTART\r\E70\0540\r\EEND\r:sf=^J:\
-	:so=\ESTART\r\E70\0546\r\EEND\r:te=:\
-	:ti=\ESTART\r\E2\0540\r\E12\r\EEND\r:\
-	:ue=\ESTART\r\E60\0540\r\EEND\r:up=\EU:\
-	:us=\ESTART\r\E60\0541\r\EEND\r:
+	:im=:le=^H:mb=\ESTART\r\E61,1\r\EEND\r:\
+	:me=\ESTART\r\E78\r\E70,0\r\EEND\r:\
+	:mr=\ESTART\r\E59,1\r\EEND\r:nd=\EV:\
+	:se=\ESTART\r\E70,0\r\EEND\r:sf=^J:\
+	:so=\ESTART\r\E70,6\r\EEND\r:te=:\
+	:ti=\ESTART\r\E2,0\r\E12\r\EEND\r:\
+	:ue=\ESTART\r\E60,0\r\EEND\r:up=\EU:\
+	:us=\ESTART\r\E60,1\r\EEND\r:
 
 #### Fluke
 #
@@ -8907,7 +17561,7 @@
 # tabs, # of lines, funny highlighting and underlining
 f1720|f1720a|fluke 1720A:\
 	:xt:\
-	:co#80:li#16:sg#1:\
+	:co#80:li#16:sg#1:ug#1:\
 	:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
 	:do=\E[B:is=\E[H\E[2J:kd=^]:kl=^_:kr=^^:ku=^\:le=^H:me=\E[m:\
 	:nd=\E[C:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ue=\E[m:up=\E[A:\
@@ -8933,11 +17587,20 @@
 	:dc=\EW:dl=\ER:do=^J:ds=\Eg\Ef\r:ei=\Er:fs=^M:ho=^^:im=\Eq:\
 	:ip=:is=\Eg\Ef\r\Ed: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:nd=^L:sf=^J:\
-	:sr=\Ej:st=\E1:ta=^I:ts=\Eg\Ef:up=^K:vb=\Eb\Ed:\
-	:tc=adm+sgr:
+	: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=\Eb\Ed:
 f100-rv|freedom-rv|freedom 100 in reverse video:\
-	:is=\Eg\Ef\r\Eb:vb=\Ed\Eb:tc=f100:
+	: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:
 # 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)
@@ -8950,43 +17613,113 @@
 # is not generally applicable to most interactive applications
 # (f110: added :ta:, :kh: & <kcbt> from f100 -- esr)
 f110|freedom110|Liberty Freedom 110:\
-	:bw@:es:\
-	:it#8:ws#80:\
-	:ae=\E%%:al=\EE:as=\E$:dl=\ER:do=^V:ds=\Ef\r:ei=\Er\EO:\
-	:im=\EO\Eq:ip@:is@:k0=^AI\r:k;@:kA=\EE:kC=^^:kD=\EW:kE=\ET:\
-	:kI=\EQ:kL=\ER:kS=\EY:mb=\EG2:md=\EG0:mh=\EG@:pf=\Ea:po=\E`:\
-	:so=\EG<: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st=\E1:ts=\Ef:ue=\EG0:up=^K:us=\EG8:vb=\Eo\En:ve=\E.1:\
+	:vi=\E.0:vs=\E.1:
 # 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:\
-	:kd=^J:vb=\Eb\Ed:tc=f200:
+	: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: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=^J: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=\Eb\Ed:ve=\E.1:\
+	:vi=\E.0:vs=\E.1:
 f200vi-w|Liberty Freedom 200 - 132 cols for vi:\
-	:co#132:tc=f200vi:
+	: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=^J: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=\Eb\Ed:ve=\E.1:\
+	:vi=\E.0:vs=\E.1:
 
 #### GraphOn (go)
 #
@@ -8997,6 +17730,7 @@
 #	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
@@ -9015,9 +17749,16 @@
 	: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:\
-	:co#132:\
-	:is=\E<\E=\E[?3h\E[?7h\E(B\E[J\E7\E[;r\E8\E[m\E[q:tc=go140:
+	: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:\
+	: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:
 # 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)
@@ -9030,9 +17771,9 @@
 	:is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:k1=\EOP:k2=\EOQ:\
 	:k3=\EOR:k4=\EOS:kb=^H: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:\
-	:mr=\E[7m:nd=\E[C:r1=\E[\041p\E[?7h\E[2;1;1#w:rc=\E8:\
+	:mr=\E[7m:nd=\E[C:r1=\E[!p\E[?7h\E[2;1;1#w:rc=\E8:\
 	:rf=/usr/share/tabset/vt100:sc=\E7:se=\E[27m:sf=\ED:\
-	:so=\E[7m:sr=\EM:ta=^I:te=\E[\041p\E[?7h\E[2;1;1#w:\
+	: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
@@ -9045,18 +17786,31 @@
 # 8675, 8686, and bee from Cyrus Rahman
 # (8675: changed k10, k11...k16 to k;, F1...F6 -- esr)
 ha8675|harris 8675:\
-	:F1=^W:F2=\ER:F3=\EE:F4=\EI:F5=\Ei:F6=\Eg:\
+	: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:\
 	: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:\
-	:tc=bee:
+	: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`:
 # (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:\
+	: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:\
 	: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:tc=bee:
+	: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`:
 
 #### Hazeltine
 #
@@ -9090,7 +17844,7 @@
 hz1000|hazeltine 1000:\
 	:bs:\
 	:co#80:li#12:\
-	:bl=^G:cl=^L:cr=^M:do=^J:ho=^K:le=^H:nd= :sf=^J:
+	:bl=^G:cl=^L:cr=^M:do=^J:ho=^K:le=^H:nd=\s:sf=^J:
 # From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
 hz1420|hazeltine 1420:\
 	:am:bs:\
@@ -9143,11 +17897,21 @@
 # Be sure the auto lf/cr switch is set to cr.
 hz1552|hazeltine 1552:\
 	:bs:\
-	:al=\EE:dl=\EO:do=^J:k1=\EP:k2=\EQ:k3=\ER:l1=blue:l2=red:\
-	:l3=green:\
-	:tc=vt52:
+	: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:
 hz1552-rv|hazeltine 1552 reverse video:\
-	:do=^J:se=\ET:so=\ES:tc=hz1552:
+	: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:
 # Note: h2000 won't work well because of a clash between upper case and ~'s.
 hz2000|hazeltine 2000:\
 	:am:bs:nc:\
@@ -9173,7 +17937,15 @@
 	: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:tc=esprit:
+	: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:
 # 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.
@@ -9208,6 +17980,7 @@
 #	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 
@@ -9226,7 +17999,13 @@
 	:us=\E&dD:
 
 hp110|hewlett-packard model 110 portable:\
-	:li#16:tc=hpgeneric:
+	: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:\
@@ -9240,8 +18019,8 @@
 # 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:
+	: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:
@@ -9274,50 +18053,110 @@
 # 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:
+	: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:\
-	:is=\E&jA\r:ke=\E&jA:\
-	:tc=hp2621-fl:
+	: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:\
-	:xo:xs@:\
-	:pb#19200:\
-	:bt=\Ei:cm=\E&a%r%dc%dY:dc=\EP:ip=:is=\E&j@\r:ke=\E&j@:\
-	:ks=\E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=^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:\
-	:li#48:\
-	:cm=\E&a%r%dc%dR:cv=\E&a%dR:ho=\EH:tc=hp2621:
+	: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:\
-	:kd@:ke@:kh@:kl@:kr@:ks@:ku@:tc=hp2621-fl:
+	: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:\
-	:ta@:tc=hp2621:
+	: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.
 # 
@@ -9349,9 +18188,28 @@
 #
 # (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:
+	: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: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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 
@@ -9387,54 +18265,221 @@
 # it sets the tabs.
 #
 hp2626-s|hp 2626 using only 23 lines:\
-	:es:hs:\
-	:li#23:\
-	:fs=\E&d@\E&w7f2p1I\E&w4f1I:\
+	: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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;%?%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:\
+	:ts=\E&w7f2p2I\E&w4f2I\r\EK\E&a%dC:ue=\E&d@:up=\EA:\
+	:us=\E&dD:
 
 #
 # hp2627 color tubes from University of Wisconsin
 #
 hp2627a-rev|hp 2627 with reverse video colors:\
-	:cr=^M:do=^J:\
+	: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&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:
+	: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&d@:sf=^J:so=\E&dD:st=\E1:ta=^I:\
+	:ue=\E&v0S\E&d@:up=\EA:us=\E&dD\E&v1S:
 hp2627a|hp 2627 color terminal with no labels:\
-	:cr=^M:do=^J:\
+	: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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	: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:\
-	:cm@:ke@:ks@:tc=hp2645:
+	: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}%|%;%?%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:
 
 hp2640b|hp2644a|hp 264x series:\
-	:ke@:ks@:tc=hp2645:
+	: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: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}%|%;%?%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:
 
 # (hp2641a: removed unknown :gu: -- esr)
 hp2641a|hp2645a|hp2647a|HP 264?A series BRL entry:\
@@ -9451,52 +18496,135 @@
 # 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:\
+	: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:\
-	:us=\E&dD:\
-	:tc=hpgeneric:
+	: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:\
-	:cl=\EH\EJ:cm=\E&a%r%dc%dY:dc=\EP:ip=:tc=hp2645:
+	: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:\
-	:bs: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L%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:\
-	:da:db:\
-	:lh#1:lm#48:\
-	:ac@:ae@:as@:me=\E&d@:\
+	: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:\
+	: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: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%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+labels: added label values from a BRL termcap -- esr)
 hp+labels|"standard" label info for new HP ttys:\
@@ -9535,21 +18672,62 @@
 # 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:
+	: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:\
-	:tc=hp+printer:tc=hp2621b:
+	: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\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: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:
 
 # 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:
+	: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:k2=\Eq:\
+	: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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.
@@ -9565,23 +18743,128 @@
 # 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:
+	: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: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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ET:st=\E1:ta=\011:ue=\E&d@:\
+	:up=\EA:us=\E&dD:vb=\E&w13F\E&w12F\E&w13F\E&w12F:
 
 # Color manipulations for HP terminals
 hp+color|hp with colors:\
@@ -9593,25 +18876,51 @@
 
 # :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:
+	:am:bw:cc:mi:xo:xs:\
+	:Co#16:NC#17:Nl#8:co#80:lh#2:li#24:lw#8:pa#7:pb#4800:vt#6:\
+	:CM=\E&a%dr%dC:DO=\E&a+%dR:\
+	:..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:\
+	: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=\EH\EJ:cm=\E&a%dr%dC:cr=^M:ct=\E3:cv=\E&a%dR:dc=\EP:\
+	:dl=\EM:do=^J:ei=\ER:ho=\EH:i1=\E&jB:im=\EQ:ip=:\
+	:is=\E&w6f80X: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=\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=hpsub:
+	:am:da:db:mi:xo:xs:\
+	:co#80:li#24:\
+	:al=\EL:bl=^G:bt=\Ei: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=\EB:\
+	:ei=\ER:if=/usr/share/tabset/stdcrt:im=\EQ:\
+	:is=\E&s1A\E<\E&k0\\: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: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:\
+	: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:
 
@@ -9626,14 +18935,19 @@
 # (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:
+	: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=\Eh:kl=^H:\
+	: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:
 
 # 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:\
+	: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:\
@@ -9661,7 +18975,7 @@
 # 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:\
+	: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:\
@@ -9707,14 +19021,21 @@
 
 bobcat|sbobcat|HP 9000 model 300 console:\
 	:am:da:db:mi:xs:\
-	:co#128:it#8:li#47:sg#0:\
+	: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:
+	:bw:km:mi:ul:\
+	:co#128:it#8:li#94:\
+	: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|HP 9000 model 237 emulating AAA:\
 	:bw:km:mi:ul:\
 	:co#128:it#8:li#47:\
@@ -9725,9 +19046,19 @@
 	: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:
+	: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:\
-	:li#94:tc=gator-52:
+	: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
 #
@@ -9745,10 +19076,11 @@
 	:sf=^J:ta=^I:up=^Z:vb=\E[2h\E[2l:
 dku7003|Honeywell Bull DKU 7003 all features described:\
 	:ms:\
-	:sg#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:
+	: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
 #
@@ -9768,21 +19100,33 @@
 	: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:tc=ibm3163:
+	: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\041a\r:F4=\E\041b\r:\
-	:F5=\E\041c\r:F6=\E\041d\r:F7=\E\041e\r:F8=\E\041f\r:\
-	:F9=\E\041g\r:FA=\E\041h\r:FB=\E\041i\r:FC=\E\041j\r:\
-	:FD=\E\041k\r:FE=\E\041l\r:\
-	:ac=j\352k\353l\354m\355n\356q\361t\364u\365v\366w\367x\370:\
+	:@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:\
 	: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:\
@@ -9795,12 +19139,41 @@
 	:us=\E4B:
 
 ibm3161-C|IBM 3161-C NLS terminal using cartridge:\
-	:s0=\E>B:s1=\E>A:te=\E>B:ti=\E>B:\
-	:tc=ibm3161:
+	:am:bs:mi:ms:\
+	:co#80:it#8:li#24:\
+	:@7=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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:\
+	:al=\EN: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=\E4$a:\
+	:md=\E4(a:me=\E4@:mk=\E40a:mr=\E4!a:nd=\EC:pf=^P^T:po=^P^R:\
+	:s0=\E>B:s1=\E>A:\
+	:..sa=\E4%{64}%?%p1%t%{65}%|%;%?%p2%t%{66}%|%;%?%p3%t%{65}%|%;%?%p4%t%{68}%|%;%?%p5%t%{64}%|%;%?%p6%t%{72}%|%;%?%p7%t%{80}%|%;%c%?%p9%t\E>A%e\E<@%;:\
+	: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
@@ -9814,60 +19187,230 @@
 #	%c		# pop Pa3
 # (ibm3164: merged :ms:,<colors>,<pairs>,<setb>,<setf> from AIX 3.2.5 -- esr)
 ibm3164|i3164|IBM 3164:\
-	:ms:\
-	:Co#8:pa#64:\
-	:Sb=\E4  %+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ryor@math.berkeley.edu>
 # (ibm5081: merged acsc, s0ds, s1ds, sgr0 into ibm5081 from AIX 3.2.5. -- esr)
 ibm5081|ibmmpel|IBM 5081 1024x1024 256/4096 Megapel color display:\
-	:es:hs:\
-	:li#33:\
-	:ac=jjkkllmmnnqqttuuvvwwxx:ds=\Ej\EYA \EI\Ek:fs=\Ek:\
-	:me=\E[0m\E(B:s0=\E(B:s1=\E(0:ts=\Ej\EYA%+ \Eo:\
-	:tc=ibmmono:
+	:am:bs:es:hs:xo:\
+	:co#80:li#33:\
+	:ac=jjkkllmmnnqqttuuvvwwxx: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=\E[0m\E(B:\
+	:mk=\EF\Ef0;\Eb0;:mr=\Ep:nd=\EC:nw=^M^J:s0=\E(B:s1=\E(0:\
+	:se=\Ez:sf=^J: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:\
-	:es:hs:\
-	:li#33:\
-	:ds=\Ej\EYA \EI\Ek:fs=\Ek:ts=\Ej\EYA%+ \Eo:tc=ibmega-c:
-# (untranslatable capabilities removed to fit entry within 1023 bytes)
-# (sgr removed to fit entry within 1023 bytes)
-# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
+	:am:bs:es:hs:xo:\
+	:co#80:li#33:\
+	:al=\EL:bl=^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7m:sr=\E[T:ue=\E[m:up=\E[A:us=\E[4m:
+	:@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:
 ibm5154|IBM 5154 Color display:\
-	:Co#8:pa#64:\
-	:AB=\E[4%p1%dm:AF=\E[3%p1%dm:md@:tc=ibm5151:
+	: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:
 ibm6153|IBM 6153 Black & White display:\
-	:mb@:md=\E[12m:me=\E[0;10m:s0=\E[10m:s1=\E[11m:s2=\E[12m:\
+	: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:\
 	:..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;12%;m:\
-	:tc=ibm5151:
+	:sc=\E[s:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:ue=\E[m:up=\E[A:\
+	:us=\E[4m:
 ibm6153-90|IBM 6153 Black & White display:\
-	:co#90:li#36:\
-	:mb@:md@:tc=ibm5151:
+	: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:
 ibm6153-40|IBM 6153 Black & White display:\
-	:co#40:li#12:tc=ibm6153-90:
+	: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:\
-	:mb@:md=\E[12m:me=\E[0;10m:s0=\E[10m:s1=\E[11m:s2=\E[12m:\
+	: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:\
-	:tc=ibm5154:
+	: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:\
-	:mb@:md@:tc=ibm5151:
+	: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:\
-	:tc=hft-c:
+	:am:mi:ms:\
+	:co#80:it#8:li#25:\
+	:AL=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ej\EYI%+ \Eo:ue=\EB:up=\EA:us=\EF\Ef2;:
 
 ibmaed|IBM Experimental display:\
 	:am:bs:eo:ms:\
@@ -9904,40 +19456,127 @@
 	: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:
+	: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:\
-	: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:
+	: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=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H:\
+	:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:l0=f10:le=^H:md=\EZ:\
+	:me=\Ew\Eq\Ez\EB:mh=\EF\Ef7;: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\EY?%+ \Eo:ue=\EB:up=\EA:us=\EF\Ef2;:
 hft-c-old|HFT with Color PC850:\
-	:Co#8:pa#64:\
-	:AB=\E[4%p1%dm:AF=\E[3%p1%dm:tc=ibm5151:
+	: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: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
@@ -9980,23 +19619,30 @@
 #    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)
-# (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:\
-	: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:\
+	:@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:\
 	:ae=\E(B:al=\E[L:as=\E(0:bl=^G:bt=\E[Z:cd=\E[2J: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=^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:\
+	: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:\
 	: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=\ED:so=\E[7m:sr=\EL:ue=\E[0m:\
-	:up=\E[A:us=\E[4m:
+	: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:
 
 #
 # AIX entries.  IBM ships these with AIX 3.2.5. 
@@ -10004,30 +19650,127 @@
 # except for box1 which has been translated to an <acsc> string.
 #
 aixterm|IBM Aixterm Terminal Eemulator:\
-	: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:\
+	: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:\
-	:sr@:ts=\E[?%p1%dT:\
-	:tc=ibm6154:
+	:sc=\E[s:se=\E[m:sf=\E[S:so=\E[7m:ts=\E[?%dT:ue=\E[m:\
+	:up=\E[A:us=\E[4m:
 aixterm-m|IBM AIXterm Monochrome Terminal Emulator:\
-	: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:\
+	: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:\
 	:..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m:\
-	:sr@:ts=\E[?%p1%dT:\
-	:tc=ibm6153:
+	:sc=\E[s:se=\E[m:sf=\E[S:so=\E[7m:ts=\E[?%dT:ue=\E[m:\
+	:up=\E[A:us=\E[4m:
 aixterm-m-old|old IBM AIXterm Monochrome Terminal Emulator:\
-	:es:hs:\
-	:ds=\E[?E:fs=\E[?F:md=\E[1m:\
+	: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:\
 	:..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m:\
-	:sr@:ts=\E[?%p1%dT:\
-	:tc=ibm6153:
+	:sc=\E[s:se=\E[m:sf=\E[S:so=\E[7m:ts=\E[?%dT:ue=\E[m:\
+	:up=\E[A:us=\E[4m:
 jaixterm|IBM Kanji Aixterm Terminal Eemulator:\
-	:ac@:tc=aixterm:
+	: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:
 jaixterm-m|IBM Kanji AIXterm Monochrome Terminal Emulator:\
-	:ac@:\
-	:tc=aixterm-m:
+	: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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f=^J:so=^V$,:ta=^I:up=^\:
 intext2|intextii|INTERACTIVE modified owl 1251:\
 	:am:bw:ul:\
-	:co#80:li#24:sg#0:\
+	:co#80:li#24:sg#0:ug#0:\
 	:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%+^AG:\
 	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:\
 	:do=\E[B:ei=:ic=\E[@:im=:k0=\E@\r:k1=\EP\r:k2=\EQ\r:\
@@ -10391,7 +20143,7 @@
 # (abm85: removed duplicated ":kd=^J:" -- esr)
 abm85|Kimtron ABM 85:\
 	:am:bs:bw:ms:\
-	:co#80:it#8:li#24:sg#1:\
+	:co#80:it#8:li#24:sg#1:ug#1:\
 	:al=\EE:bt=\EI:cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :dc=\EW:\
 	:dl=\ER:do=^J:ei=\Er:if=/usr/share/tabset/stdcrt:im=\EQ:\
 	:is=\EC\EX\Eg\En\E%\Er\E(\Ek\Em\Eq:kb=^H:kd=^J:kh=^^:\
@@ -10420,24 +20172,33 @@
 #
 # From: Erik Fair <fair@ucbarpa>  Sun Oct 27 07:21:05 1985
 abm85h|Kimtron ABM 85H native mode:\
-	:hs:\
-	:sg@:\
-	:bl=^G:ds=\Ee:fs=^M:im=\EZ:\
+	:am:bs:bw:hs: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:ds=\Ee:ei=\Er:fs=^M:\
+	:if=/usr/share/tabset/stdcrt:im=\EZ:\
 	:is=\EC\EN\EX\024\016\EA\Ea\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\EG0\Ed\E.4\El:\
-	:kd=^V:me=\E(\EG0:mh=\E):mk@:ts=\Eg\Ef:vb@:ve=\E.4:vs=\E.2:\
-	:tc=adm+sgr:tc=ab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: <malman@bbn-vax.arpa>
 # (kt7: removed obsolete :ma=^V^J^L :" -- esr)
 kt7|kimtron model kt-7:\
@@ -10449,8 +20210,8 @@
 	: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:mk@:nd=^L:ta=^I:ts=\Ef:up=^K:\
-	:tc=adm+sgr:
+	:ku=^K:le=^H:me=\EG0:mr=\EG4:nd=^L:se=\EG0:so=\EG4:ta=^I:\
+	:ts=\Ef:ue=\EG0:up=^K:us=\EG8:
 # 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
@@ -10458,7 +20219,7 @@
 kt7ix|kimtron model kt-7 or 70 in IX mode:\
 	:am:bw:\
 	:co#80:it#8:li#25:\
-	:@7=\EY:PU=\EK:ac=jYk?lZm@nEqDt4uCvAwBx3:ae=\E%:al=\EE:\
+	:@7=\EY:PU=\EK:ac=lZm@k?jYt4uCvAwBqDx3nE: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:\
@@ -10560,16 +20321,16 @@
 #
 prism4|p4|P4|MDC Prism-4:\
 	:5i:am:bw:hs:ms:\
-	:co#80:li#24:sg#1:ws#72:\
+	: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 :mh=^CA:mk=^CH:mr=^CD:\
+	: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 :sf=^J:so=^CD:ts=^]\343:ue=^C :up=^Z:us=^CP:\
+	:se=^C\s:sf=^J:so=^CD:ts=^]\343:ue=^C\s:up=^Z:us=^CP:\
 	:ve=^]\342:vi=^]\344:
 
 # p5: Prism-5
@@ -10579,7 +20340,18 @@
 # Does not use any multi-page features.
 #
 prism5|p5|P5|MDC Prism-5:\
-	:tc=p4:
+	: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:
 
 # p7: Prism-7
 # -----------
@@ -10590,7 +20362,15 @@
 #  Rev-index removed; can't send nulls to terminal in 8-bit modes.
 #
 prism7|p7|P7|MDC Prism-7:\
-	:ch@:cm=\E[%i%d;%dH:cv@:tc=p4:
+	: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:
 
 # p8: Prism-8
 # -----------
@@ -10604,7 +20384,15 @@
 # (esr: commented out :as:/:ae: because there's no <acsc>)
 #
 prism8|p8|P8|MDC Prism-8:\
-	:ch=\E[%i%d`:cm=\E[%i%d;%dH:cv=\E[%i%dd:is=\E[<12h:tc=p4:
+	: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:
 
 # p8-w: Prism-8 in 132 column mode
 # --------------------------------
@@ -10614,8 +20402,15 @@
 #  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:\
-	:co#132:\
-	:is=\E[<12h\E[<14h:tc=p8:
+	: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:
 
 # p9: Prism-9 in ANSI mode
 # -------------------------
@@ -10635,7 +20430,6 @@
 #  . 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:\
@@ -10643,18 +20437,19 @@
 	: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%d;%d%v:ct=\E[2g:\
+	: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:\
-	:r2=\E[&p\E[<12l\E F\E[3g\E[9;17;25;33;41;49;57;65;73 N:\
-	:rc=\E[%z:rp=\E[%r%db%.: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:
+	: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:
 
 # p9-w: Prism-9 in 132 column mode
 # --------------------------------
@@ -10662,9 +20457,26 @@
 # 'Wide' version of p9.
 #
 prism9-w|p9-w|P9-W|MDC Prism-9 in 132 column mode:\
-	:co#132:\
-	:is=\E[&p\E[<12l\E F\E[<14h:\
-	:r2=\E[&p\E[<12l\E F\E[<14h:tc=p9:
+	: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:
 
 # p9-8: Prism-9 in P8 mode
 # ------------------------
@@ -10674,9 +20486,17 @@
 # Insertion and deletion operations possible.
 #
 prism9-8|p9-8|P9-8|MDC Prism-9 in P8 mode:\
-	: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:
+	: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:
 
 # p9-8-w: Prism-9 in P8 and 132 column modes
 # ------------------------------------------
@@ -10684,9 +20504,17 @@
 # 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:\
-	: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:
+	: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:
 
 # p12: Prism-12 in ANSI mode
 # ---------------------------
@@ -10694,7 +20522,25 @@
 # See p9 definition.
 #
 prism12|p12|P12|MDC Prism-12 in ANSI mode:\
-	:tc=p9:
+	: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:
 
 # p12-w: Prism-12 in 132 column mode
 # ----------------------------------
@@ -10702,7 +20548,26 @@
 # 'Wide' version of p12.
 #
 prism12-w|p12-w|P12-W|MDC Prism-12 in 132 column mode:\
-	:tc=p9-w:
+	: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:
 
 # p12-m: Prism-12 in MDC emulation mode
 # -------------------------------------
@@ -10712,7 +20577,17 @@
 # Insertion and deletion operations possible.
 #
 prism12-m|p12-m|P12-M|MDC Prism-12 in MDC emulation mode:\
-	:tc=p9-8:
+	: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:
 
 # p12-m-w: Prism-12 in MDC emulation and 132 column modes
 # -------------------------------------------------------
@@ -10720,7 +20595,17 @@
 # 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:\
-	:tc=p9-8-w:
+	: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:
 
 # p14: Prism-14 in ANSII mode
 # ---------------------------
@@ -10728,7 +20613,25 @@
 # See p9 definition.
 #
 prism14|p14|P14|MDC Prism-14 in ANSII mode:\
-	:tc=p9:
+	: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:
 
 # p14-w: Prism-14 in 132 column mode
 # ----------------------------------
@@ -10736,7 +20639,26 @@
 # 'Wide' version of p14.
 #
 prism14-w|p14-w|P14-W|MDC Prism-14 in 132 column mode:\
-	:tc=p9-w:
+	: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:
 
 # p14-m: Prism-14 in MDC emulation mode
 # -------------------------------------
@@ -10746,7 +20668,17 @@
 # Insertion and deletion operations possible.
 #
 prism14-m|p14-m|P14-M|MDC Prism-14 in MDC emulation mode:\
-	:tc=p9-8:
+	: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:
 
 # p14-m-w: Prism-14 in MDC emulation and 132 column modes
 # -------------------------------------------------------
@@ -10754,7 +20686,17 @@
 # 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:\
-	:tc=p9-8-w:
+	: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:
 
 # End of McDonnell Information Systems Prism definitions
 
@@ -10762,15 +20704,15 @@
 # From: George Land <georgeland@aol.com> 24 Sep 1996
 p8gl|prism8gl|McDonnell-Douglas Prism-8 alternate definition:\
 	:am:bw:hs:mi:\
-	:co#80:li#24:ma#1:sg#1:ws#78:\
+	:co#80:li#24:ma#1:sg#1:ug#1:ws#78:\
 	:F2=^AJ\r:F3=^AK\r:F4=^AL\r:F5=^AM\r:F6=^AN\r:F7=^AO\r:\
-	:bl=^G:cd=\EJ:ce=\EK:cl=^L:cm=\E[%i%d;%dH:cr=^M:dc= ^H:\
+	:bl=^G:cd=\EJ:ce=\EK:cl=^L:cm=\E[%i%d;%dH:cr=^M:dc=\s^H:\
 	:dl=^P:do=^J:ho=^A: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:\
-	:kD= ^H:kE=\EK:kL=^P:kS=\EJ:kb=^H:kd=^J:kh=^A:kl=^U:kr=^F:\
+	:kD=\s^H:kE=\EK:kL=^P:kS=\EJ:kb=^H:kd=^J:kh=^A:kl=^U:kr=^F:\
 	:ku=^Z:l1=F1:l2=F2:l3=F3:l4=F4:l5=F5:l6=F6:l7=F7:l8=F8:l9=F9:\
-	:la=F10:le=^U:mb=^CB:me=^C :mh=^CA:mk=^CH:mr=^CD:nd=^F:\
-	:nw=^J^M:pc=\0:se=^C :sf=^J:so=^CE:ue=^C :up=^Z:us=^C0:
+	:la=F10:le=^U:mb=^CB:me=^C\s:mh=^CA:mk=^CH:mr=^CD:nd=^F:\
+	:nw=^J^M:pc=\0:se=^C\s:sf=^J:so=^CE:ue=^C\s:up=^Z:us=^C0:
 
 #### Microterm (act, mime)
 #
@@ -10794,13 +20736,26 @@
 # 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:\
-	:kd=^K:kl=^H:kr=^X:ku=^Z:sr=\EH:uc=^H\EA:tc=act4:
+	: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:
 # 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:\
-	:is=^S\E:se=^S:so=^Y:tc=mime:
+	: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:
 mime-hb|half bright mime1:\
-	:is=^Y\E:se=^Y:so=^S:tc=mime:
+	: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:
 # (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
@@ -10817,7 +20772,7 @@
 	:co#80:li#24:\
 	:al=\001:bl=^G:cd=\EJ:ce=\EK:cl=\EL:cm=\E=%+ %+ :cr=^M:\
 	:dc=\ED:dl=\027:do=^J:ei=^Z:ho=^^:im=\EE:ip=:is=\E):kd=^J:\
-	:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:se=\E;:sf=^J:so=\E\072:sr=\EI:\
+	:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:se=\E;:sf=^J:so=\E\::sr=\EI:\
 	:ue=\E7:up=\EI:us=\E6:
 # This is the preferred mode (but ^X can't be used as a kill character)
 mime2a|mime2a-v|microterm mime2a (emulating an enhanced vt52):\
@@ -10829,11 +20784,17 @@
 	:sr=\EA:ta=^I:ue=\E5:up=\EA:us=\E4:
 # (mime3a: removed obsolete ":ma=^X ^K^J^Z^P:" -- esr)
 mime3a|mime1 emulating 3a:\
-	:am@:\
-	:kd=^K:kl=^H:kr=^X:ku=^Z:tc=adm3a:
+	: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:
 mime3ax|mime-3ax|mime1 emulating enhanced 3a:\
-	:it#8:\
-	:al=\001:cd=^_:ce=^X:dl=\027:ta=\011:tc=mime3a:
+	: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:
 # 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 
@@ -10851,8 +20812,8 @@
 mm340|mime340|mime 340:\
 	:co#80:li#24:\
 	:al=46\EU:cd=2*\037:ce=2.1\EL:cl=12\032:cm=\E=%+ %+ :\
-	:cr=^M:dc=2.1*\E#:dl=49.6\EV:do=^J:is=\E\054:kb=^H:kd=^J:\
-	:kl=^H:ku=^K:le=^H:nd=^L:nw=^M^J:sf=^J:ta=^I:up=^K:
+	:cr=^M:dc=2.1*\E#:dl=49.6\EV:do=^J:is=\E,:kb=^H:kd=^J:kl=^H:\
+	:ku=^K:le=^H:nd=^L:nw=^M^J:sf=^J:ta=^I:up=^K:
 # This came from University of Wisconsin marked "astro termcap for jooss".
 # (mt4520-rv: removed obsolete ":kn#4:" and incorrect ":ri=\E[C:";
 # also added <rmam>/<smam> based  on the init string -- esr)
@@ -10910,23 +20871,131 @@
 # 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:\
-	:Co#8:pa#64:\
-	:AB=\E[4%p1%dm:AF=\E[3%p1%dm:op=\E[0m:tc=ncr260vt300an:
+	: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[%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=``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[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=\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:
 # 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:\
-	:Co#8:pa#64:\
-	:AB=\E[4%p1%dm:AF=\E[3%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I=\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=\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[?3;7;19;67h\E[?4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H:\
+	:..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:
 # The Intecolor emulation of the NCR 2900/260C color terminal is basically a
 # DEC vt200/300 with color capabilities added.
 ncr260intpp|NCR Intecolor emulation of the 2900_260C with a PC+ keyboard:\
-	:Co#8:pa#64:\
-	:AB=\E[4%p1%dm:AF=\E[3%p1%dm:op=\E[0m:tc=ncr260vt300pp:
+	: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~:\
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\
+	: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:
 # 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:\
-	:Co#8:pa#64:\
-	:AB=\E[4%p1%dm:AF=\E[3%p1%dm:op=\E[0m:tc=ncr260vt300wpp:
+	: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=\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[?3;7;19;67h\E[?1;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[?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:
 # 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
@@ -10935,148 +21004,384 @@
 # 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)
-# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 ncr260vppp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F=^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:\
+	:al=\EM:as=\EcB1\EH\002:bl=^G:bt=\EI:cd=\Ek:ce=\EK:cl=\014:\
+	:cm=\Ea%i%dR%dC:cr=\r:dc=\EW:dl=\El:do=\n:ds=\E`c:ei=\Er:\
+	:fs=^M:ho=\036:im=\Eq:\
 	:is=\Ee6\E~%\E+\E`;\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7:\
-	:r2=\Ee6\E~%\E+\E`;\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7:\
-	:tc=ncr260vppp:
-# (untranslatable capabilities removed to fit entry within 1023 bytes)
-# (sgr removed to fit entry within 1023 bytes)
-# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
+	:k1=^B1\r:k2=^B2\r:k3=^B3\r:k4=^B4\r:k5=^B5\r:k6=^B6\r:\
+	:k7=^B7\r:k8=^B8\r:k9=^B9\r:k;=^B\:\r:kD=\EW:kI=\Eq:kN=\EJ:\
+	:kP=\EJ:kb=^H:kd=^J:kh=^A:kl=^U:kr=^F:ku=^Z:le=\010:ll=\001:\
+	:mb=\EG2:me=\EG0\EH\003:mh=\EGp:mk=\EG1:mr=\EG4:nd=\006:\
+	:nw=\037:pf=^T:po=^R:ps=\EP:\
+	:rs=\Ee6\E~%\E+\E`;\Ed/\E`1\EO\Ee4\Ec@0@\Ec@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:
 ncr260vt100an|NCR 2900_260 v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)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:
 ncr260vt100wpp|NCR 2900_260 vt100 wide mode pc+  kybd:\
-	:co#132:\
-	:cm=\E[%i%d;%dH:\
-	:is=\E[\041p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
-	:r2=\E[\041p\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)
-# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
+	:am:hs:mi:ms:xn:xo:\
+	:Nl#32:co#132:li#24:\
+	:%0=\E[29~:%1=\E[28~:*6=\E[4~:@0=\E[1~:@7=\E[5~:@8=\EOM:\
+	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
+	:K1=\E[H:K2=\E[V:K3=\EOu:K4=\EOq:K5=\E[U: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: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$}: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d;%dH:\
-	:is=\E[\041p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
-	:r2=\E[\041p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
-	:tc=ncr260vt200pp:
-# (untranslatable capabilities removed to fit entry within 1023 bytes)
-# (sgr removed to fit entry within 1023 bytes)
-# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
+	:am:hs:mi:ms:xn:xo:\
+	:Nl#32:co#132:li#24:\
+	:%0=\E[29~:%1=\E[28~:*6=\E[4~:@0=\E[1~:@7=\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[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:\
+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+	: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[?3;7;19;67h\E[?1;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: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:
 # 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
@@ -11091,30 +21396,56 @@
 # 	    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)
-# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 ncr260wy325pp|NCR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=%t%'8'%;\Edy%c11$<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:\
+	: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\EcB0\EcD: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:
 # 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
@@ -11131,30 +21462,54 @@
 # 	    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)
-# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 ncr260wy350pp|NCR 2900_260 wyse 350:\
-	:am:bw:hs:km:mi:ms:xo:\
-	:co#80:li#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E: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:\
+	: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:
 # 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
@@ -11165,88 +21520,572 @@
 # 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)
-# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 ncr260wy50+pp|NCR 2900_260 wyse 50+:\
-	:am:bw:hs:km:mi:ms:xo:\
-	:co#80:li#24:sg#1:\
-	:CM=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32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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:\
+	: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:
 #
 # Vendor-supplied NCR termcaps end here
 
@@ -11329,7 +22180,7 @@
 # From <root@goliath.un.atlantaga.NCR.COM>, init string hacked by SCO.
 ncr7900i|ncr7900|ncr 7900 model 1:\
 	:am:bw:ul:\
-	:co#80:li#24:sg#1:\
+	:co#80:li#24:sg#1:ug#1:\
 	:bl=^G:cd=\Ek:ce=\EK:cl=^L:cm=\E1%r%.%.:cr=^M:do=^J:\
 	:is=\E0@\010\E3\E4\E7:kd=^J:kh=^A:kl=^U:kr=^F:ku=^Z:le=^H:\
 	:ll=^A:mb=\E0B:me=\E0@:mh=\E0A:mr=\E0P:nd=^F:pf=^T:po=^R:\
@@ -11342,7 +22193,7 @@
 	:do=^J:ds=\Ey1:fs=\Ek\Ey5:ho=\013@\E^E00: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:\
-	:nw=^M^J:sf=^J:ts=\Ej\Ex5\Ex1\EY8%p1%{32}%+%c\Eo:
+	:nw=^M^J:sf=^J:ts=\Ej\Ex5\Ex1\EY8%+ \Eo:
 # Warning: This terminal will lock out the keyboard when it receives a CTRL-D.
 #	   The user can enter a CTRL-B to get out of this locked state.
 # In <hpa>, we want to output the character given by the formula:
@@ -11350,7 +22201,7 @@
 ncr7901|ncr 7901 model:\
 	:am:bw:ul:\
 	:co#80:li#24:\
-	:bl=^G:cd=\Ek:ce=\EK:ch=\020%+^J:cl=^L:cm=\EY%+ %+ :cr=^M:\
+	:bl=^G:cd=\Ek:ce=\EK:ch=\020%B%.:cl=^L:cm=\EY%+ %+ :cr=^M:\
 	:cv=\013%+@:do=^J:is=\E4^O:kC=^L:kd=^J:kh=^H:kl=^U:kr=^F:\
 	:ku=^Z:le=^H:ll=^A:mb=\E0B:me=^O:mh=\E0A:mr=\E0P:nd=^F:pf=^T:\
 	:po=^R:\
@@ -11380,8 +22231,8 @@
 	:al=\EL:bl=^G:cd=\EJ:ce=\EI:cl=\EH\EJ:cm=\EX%+ \EY%+ :\
 	:cr=^M:ct=\E3:dc=\EO:dl=\EM:do=^J:ei=:ho=\EH:ic=\EN:im=:ip=:\
 	: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\041\0:\
-	:nd=\EC:se=\E\041\0:sf=^J:so=\E\041^H:st=\E1:up=\EA:\
+	: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!^H:st=\E1:up=\EA:\
 	:vb=\020\002\020\003:
 pe1251|pe6300|pe6312|perkin elmer 1251:\
 	:am:\
@@ -11396,17 +22247,22 @@
 pe7000m|perkin elmer 7000 series monochrome monitor:\
 	:am:\
 	:co#80:li#24:\
-	:bl=^G:bt=\E\041Y:cd=\EJ:ce=\EI:cl=\EK:cm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se=\E[m:sf=^J:\
-	:so=\E[7m:sr=\EI:ta=^I:ts=\E]:uc=\EPB:ue=\E[m:up=\E[A:\
+	:md=\E[1m:me=\E[m:mr=\E[7m:nd=\EC:rc=\EX:\
+	:rf=/usr/share/tabset/vt100:\
+	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:sc=\EW:se=\E[m:\
+	:sf=^J:so=\E[7m:sr=\EI:ta=^I:ts=\E]:uc=\EPB:ue=\E[m:up=\E[A:\
 	:us=\E[4m:ve=\ES:vi=\ER:
 
 #### Tandem
@@ -11473,7 +22355,11 @@
 #
 
 tandem6510|adm3a repackaged by Tandem:\
-	:tc=adm3a:
+	: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:
 
 # A funny series of terminal that TANDEM uses.  The actual model numbers
 # have a fourth digit after 653 that designates minor variants.  These are
@@ -11483,10 +22369,10 @@
 # removed :if=/usr/share/tabset/tandem653:, no such file -- esr)
 tandem653|t653x|Tandem 653x multipage terminal:\
 	:am:bs:da:db:hs:\
-	:co#80:li#24:sg#1:ws#64:\
+	:co#80:li#24:sg#1:ug#1:ws#64:\
 	:cd=\EJ:ce=\EK:cl=\EI:cm=\023%+ %+ :do=^J:ds=\Eo\r:fs=^M:\
-	:ho=\EH:le=^H:me=\E6 :nd=\EC:se=\E6 :sf=\ES:so=\E6$:sr=\ET:\
-	:ts=\Eo:ue=\E6 :up=\EA:us=\E60:
+	:ho=\EH:le=^H:me=\E6\s:nd=\EC:se=\E6\s:sf=\ES:so=\E6$:\
+	:sr=\ET:ts=\Eo:ue=\E6\s:up=\EA:us=\E60:
 
 #### Tandy/Radio Shack
 #
@@ -11500,13 +22386,13 @@
 	:dc=\ES:dl=\ER:do=\EB:ei=:ho=\EH:ic=\EQ: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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:\
+	:k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:k9=\E[21~:\
+	:k;=\E[?5i:kN=\E[29~:kP=\E[28~:kd=\E[B:kh=\E[H:kl=\E[D:\
+	:kr=\E[C:ku=\E[A:l1=f1:l2=f2:l3=f3:l4=f4:l5=f5:l6=f6:l7=f7:\
+	:l8=f8:le=^H:me=\E[m: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[?25h:vi=\E[?25l:
 dt110|Tandy DT-110 emulating ansi:\
 	:xo:\
 	:co#80:li#24:\
-	:@7=\E[K:ac=jjkkllmmnnqqttuuvvwwxx:ae=^O:al=\E[0L:as=^N:\
+	:@7=\E[K:ac=kkllmmjjnnwwvvuuttqqxx:ae=^O:al=\E[0L:as=^N:\
 	:bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[H\E[2J:cm=\010\E[%i%d;%dH:\
 	:cr=^M:cs=\E[%i%d;%dr:dc=\E[0P:dl=\E[0M:do=\E[0B:\
 	:eA=\E(B\E)0:ei=:ho=\E[H:ic=\E[0@:im=:is=\E[?3l\E)0\E(B:\
@@ -11549,19 +22445,30 @@
 	:bl=^G:cl=\E\014:cr=^M:do=^J:ff=\014:is=\E^O:le=^H:
 # (tek4013: added <acsc> to suppress tic warnings re :as:/:ae: --esr)
 tek4013|tektronix 4013:\
-	:ac=:ae=\E^O:as=\E^N:tc=tek4012:
+	: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:
 tek4014|tektronix 4014:\
+	:bs:os:\
 	:co#81:li#38:\
-	:is=\E\017\E9:tc=tek4012:
+	:bl=^G:cl=\E\014:cr=^M:do=^J:ff=\014:is=\E\017\E9:le=^H:
 # (tek4015: added <acsc> to suppress tic warnings re :as:/:ae: --esr)
 tek4015|tektronix 4015:\
-	:ac=:ae=\E^O:as=\E^N:tc=tek4014:
+	: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:
 tek4014-sm|tektronix 4014 in small font:\
+	:bs:os:\
 	:co#121:li#58:\
-	:is=\E\017\E\072:tc=tek4014:
+	:bl=^G:cl=\E\014:cr=^M:do=^J:ff=\014:is=\E\017\E\::le=^H:
 # (tek4015-sm: added <acsc> to suppress tic warnings re :as:/:ae: --esr)
 tek4015-sm|tektronix 4015 in small font:\
-	:ac=:ae=\E^O:as=\E^N:tc=tek4014-sm:
+	: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:
 # Tektronix 4023 from Andrew Klossner <orca!andrew.tektronix@csnet-relay>
 #
 # You need to have "stty nl2" in effect.  Some versions of tset(1) know
@@ -11599,21 +22506,49 @@
 	: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=\041com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r:\
+	: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:
 tek4025-17|tek 4025 17 line window:\
-	:li#17:tc=tek4025:
+	: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:
 tek4025-17-ws|tek 4025 17 line window in workspace:\
-	:is=\041com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r\037wor 17\r\037mon 17\r:\
-	:se=\037att s\r:so=\037att e\r:te=\037mon h\r:\
-	:ti=\037wor h\r:\
-	:tc=tek4025-17:
+	: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:
 tek4025-ex|tek4027-ex|tek 4025/4027 w/!:\
-	:is=\037com 33\r\n\041sto 9 17 25 33 41 49 57 65 73\r:\
-	:te=\037com 33\r:ti=\041com 31\r:\
-	:tc=tek4025:
+	: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:
 # Tektronix 4025a
 # From: Doug Gwyn <gwyn@brl-smoke.ARPA>
 # The following status modes are assumed for normal operation (replace the
@@ -11643,7 +22578,7 @@
 	:ce=\035dch 80;:ch=\r\035rig %d;:cl=\035era;\n\035rup;:\
 	:cr=^M:ct=\035sto;:dc=\035dch;:dl=\035dli;:do=^J:le=^H:\
 	:nd=\035rig;:\
-	:rs=\041com 29\035del 0\035rss t\035buf\035buf n\035cle\035dis\035dup\035ech r\035eol\035era g\035for n\035pad 203\035pad 209\035sno n\035sto 9 17 25 33 41 49 57 65 73\035wor 0;:\
+	:rs=!com 29\035del 0\035rss t\035buf\035buf n\035cle\035dis\035dup\035ech r\035eol\035era g\035for n\035pad 203\035pad 209\035sno n\035sto 9 17 25 33 41 49 57 65 73\035wor 0;:\
 	:sf=^J:ta=^I:up=^K:
 # From: cbosg!teklabs!davem Wed Sep 16 21:11:41 1981
 # Here's the command file that I use to get rogue to work on the 4025.
@@ -11654,17 +22589,26 @@
 tek4025-cr|tek 4025 for curses and rogue:\
 	:am:bs:\
 	:co#80:it#8:li#33:\
-	:cl=\037era;:cm=\037jum%i%d\054%d;:do=^F^J:\
-	:is=\041com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r:\
+	:cl=\037era;:cm=\037jum%i%d,%d;:do=^F^J:\
+	:is=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r:\
 	:le=^H:nd=\037rig;:sf=^F^J:ta=^I:te=\037wor 0:\
 	:ti=\037wor 33h:up=^K:
 # next two lines commented out since curses only allows 128 chars, sigh.
 #	: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/!:\
-	:is=\037com 33\r\n\041sto 9\05417\05425\05433\05441\05449\05457\05465\05473\r:\
-	:te=\037com 33\r:ti=\041com 31\r:\
-	:tc=tek4025:
+	: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:
 tek4105|tektronix 4105:\
 	:am:bs:mi:ms:ul:xn:xt:\
 	:co#79:it#8:li#29:\
@@ -11691,7 +22635,7 @@
 	: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:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
+	: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[1;7m:sr=\EM:st=\EH:ta=^I:\
 	:ue=\E[m:up=\E[A:us=\E[4m:
@@ -11784,18 +22728,26 @@
 	: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%%\0411\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m\E%%\0410:\
+	:..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: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:\
-	:es:hs:\
+	: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:\
 	: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:\
-	:ts=\E7\E[?6l\E[2K\E[;%i%df:tc=tek4107:
+	: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:
 
 # 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
@@ -11821,15 +22773,23 @@
 	:am:bs:db:\
 	: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\0411: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:
+	: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:
 tek4112-nd|4112 not in dialog area:\
-	:ns:\
-	:up=^K:tc=tek4112:
+	: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:
 tek4112-5|4112 in 5 line dialog area:\
-	:li#5:tc=tek4112:
+	: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:
 # (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
@@ -11842,8 +22802,11 @@
 	: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:\
-	:li#34:\
-	:is=\EKA1\ELLB2\ELV0\ELV1:tc=tek4113:
+	: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:
 # :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.
@@ -11890,11 +22853,23 @@
 # (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:\
-	:li#34:\
-	:al=\E[1L:cs@:dl=\E[1M:\
-	:is=\E%\E\0410\EQD1\EUX03\EKA\ELBB2\ELCE0\ELI100\ELJ2\ELLB2\ELM0\ELS1\ELX00\ELV1\E%\E\0411\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
-	:ks=\E=:rc@:sc@:\
-	:tc=vt100:
+	:am:bs:ms:xn:xo:\
+	:co#80:it#8:li#34:vt#3:\
+	:@8=\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E[?1l:\
-	:ti=\E%\E\0411\E[1;32r\E[?6l\E>:ue=\E[m:up=\E[A:\
-	:us=\E[4m:
+	:ti=\E%\E!1\E[1;32r\E[?6l\E>:ue=\E[m:up=\E[A:us=\E[4m:
 # Some unknown person wrote:
 # I added the is string - straight Unix has ESC ; in the login 
 # string which sets a ct8500 into monitor mode (aka 4025 snoopy 
@@ -11938,8 +22912,8 @@
 	:co#80:li#25:\
 	:al=\E^L:bl=^G:bt=\E^I:cd=\E^U:ce=\E^T:cl=\E^E:\
 	:cm=\E|%+ %+ :cr=^M:dc=\E^]:dl=\E^M:do=^J:ei=:ic=\E^\:im=:\
-	:is=\037\EZ\Ek:le=^H:me=\E :nd=\ES:se=\E :sf=^J:so=\E$:\
-	:sr=\E^A:ta=^I:ue=\E :up=\ER:us=\E\041:
+	:is=\037\EZ\Ek:le=^H:me=\E\s:nd=\ES:se=\E\s:sf=^J:so=\E$:\
+	:sr=\E^A:ta=^I:ue=\E\s:up=\ER:us=\E!:
 
 # Tektronix 4205 terminal.
 #
@@ -11954,11 +22928,14 @@
 # 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@:LE=\E[%dD:RI=\E[%dC:\
+	: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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c=\EP:dl=\EM:\
-	:do=\EB:ei=:ho=\EH:ic=\E\136:im=:kb=^]:kl=^H:le=^H:nd=\EC:\
-	:pf=^T:po=\022:r2=\023\ER:se=\E4:sf=\ES:so=\E3:sr=\ET:\
-	:st=\E1:ta=\E@:up=\E7:
+	:do=\EB:ei=:ho=\EH:ic=\E^:im=:kb=^]:kl=^H:le=^H:nd=\EC:pf=^T:\
+	:po=\022:rs=\023\ER:se=\E4:sf=\ES:so=\E3:sr=\ET:st=\E1:\
+	:ta=\E@:up=\E7:
 tty43|model 43 teletype:\
 	:am:bs:hc:os:xo:\
 	:co#132:\
@@ -12024,10 +23001,10 @@
 scanset|sc410|sc415|Tymshare Scan Set:\
 	:am:bw:ms:\
 	:co#80:li#24:\
-	:ac=j%k4l<m-q\054x5:ae=^O:as=^N:bl=^G:cd=\EJ:ce=\EK:\
-	:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:do=^J:ho=\EH:kd=\EB:kl=\ED:\
-	:kr=\EC:ku=\EA:le=^H:nd=^I:pf=\E;0:po=\E;0:ps=\E;3:r1=\E>:\
-	:rc=^C:sc=^B:sf=^J:up=^K:
+	:ac=l<m-k4j%q,x5:ae=^O:as=^N:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:\
+	:cm=\EY%+ %+ :cr=^M:do=^J:ho=\EH:kd=\EB:kl=\ED:kr=\EC:\
+	:ku=\EA:le=^H:nd=^I:pf=\E;0:po=\E;0:ps=\E;3:r1=\E>:rc=^C:\
+	:sc=^B:sf=^J:up=^K:
 
 #### Volker-Craig (vc)
 #
@@ -12045,7 +23022,10 @@
 	:bl=^G:cl=\014:cr=^M:do=^J:ho=\013:kd=^J:kl=^H:kr=^I:ku=^N:\
 	:le=^H:ll=\017W:nd=^I:up=^N:
 vc303a|vc403a|volker-craig 303a:\
-	:ce=\026:cl=\030:ho=\031:kr=^U:ku=^Z:ll=^P:nd=^U:up=^Z:tc=vc303:
+	: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:
 # (vc404: removed obsolete ":ma=^Z^P^U :" -- esr)
 vc404|volker-craig 404:\
 	:am:bs:\
@@ -12053,19 +23033,26 @@
 	: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:\
-	:do=^J:se=^O:so=^N:tc=vc404:
+	: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:
 # 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.:\
 	:am:bs:\
 	:co#80:li#24:\
 	:al=\E\032:cd=\E^X:ce=10\E\017:cl=\E\034:cm=\E\021%r%.%.:\
-	:dc=\E3:dl=\E\023:do=\E^K:ei=:ho=\E^R:ic=\E\072:im=:k0=\EA:\
+	:dc=\E3:dl=\E\023:do=\E^K:ei=:ho=\E^R:ic=\E\::im=:k0=\EA:\
 	:k1=\EB:k2=\EC:k3=\ED:k4=\EE:k5=\EF:k6=\EG:k7=\EH:kd=\E^K:\
 	: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:\
-	:cl=^L:tc=vc404:
+	: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:
 
 ######## OBSOLETE PERSONAL-MICRO CONSOLES AND EMULATIONS
 #
@@ -12080,8 +23067,21 @@
 # crude adm3a-type terminal.
 # Steve Jacobson 8/85
 pcplot|pc-plot terminal emulation program:\
-	:xn@:\
-	:AL@:DL@:al@:cs@:dl@:rc@:sc@:tc=vt100:
+	: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:
 # 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
@@ -12153,7 +23153,12 @@
 # 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:\
-	:cm=\036%r%+ %+ :kb=^H:kd=^J:kl=^H:tc=apple2e:
+	: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=^_:
 # (ASCII Express) MouseTalk "Standard Apple //" emulation from BRL
 # Enable DC3/DC1 flow control with "stty ixon -ixany".
 apple-ae|ASCII Express:\
@@ -12220,7 +23225,7 @@
 apple80p|80-column apple with Pascal card:\
 	:am:bw:\
 	:co#80:li#24:\
-	:cd=^K:ce=^]:cl=^Y^L:cm=\036%r%+ %+ :ho=^Y:kl=^H:nd=^\\072:\
+	:cd=^K:ce=^]:cl=^Y^L:cm=\036%r%+ %+ :ho=^Y:kl=^H:nd=^\\::\
 	:up=^_:
 #
 # Apple II+ equipped with Videx 80 column card
@@ -12246,7 +23251,7 @@
 	:am:bs:\
 	:co#80:li#24:\
 	:ce=\Ex:cl=\Ev:cm=\EY%+ %+ :ho=\EH:k0=\EP:k1=\EQ:k2=\ER:\
-	:k3=\E :k4=\E\041: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:\
@@ -12259,7 +23264,7 @@
 	:bs:\
 	:co#80:li#24:\
 	:cd=300\013:ce=^]:cl=300\014:cm=100\036%+ %+ :ho=200\031:\
-	:nd=^\\072:up=^_:
+	:nd=^\\::up=^_:
 
 #### Apple Lisa & Macintosh
 #
@@ -12268,15 +23273,21 @@
 lisa|apple lisa console display (black on white):\
 	:am:bs:eo:ms:\
 	:co#88:it#8:li#32:\
-	:ac=jdkclfmenbqattuvvuwsx`:ae=\E[10m:al=\E[L:as=\E[11m:\
+	: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[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):\
-	:is=\E>\E[0;7m\014:se=\E[0;7m:so=\E[m:ue=\E[0;7m:\
-	:us=\E[4m:tc=lisa:
+	: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:
 
 # lisaterm from ulysses!gamma!epsilon!mb2c!jed (John E. Duncan III) via BRL;
 # :is: revised by Ferd Brundick <fsbrn@BRL.ARPA>
@@ -12303,8 +23314,17 @@
 	: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:\
-	:co#132:\
-	:kb=^H:kd=^J:kl=^H:tc=lisaterm:
+	: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:
 # 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.
@@ -12312,12 +23332,24 @@
 # due to a bug in MacTerminal V1.1.  Blink is disabled since it is not
 # supported by MacTerminal.
 mac|macintosh|Macintosh with MacTerminal:\
-	:xn:\
-	:dN#30:\
-	:dc=7\E[P:ei=:ic=9\E[@:im=:ip=7:mb@:tc=lisa:
+	: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:
 # Lisaterm in 132 column ("wide") mode.
 mac-w|macterminal-w|Apple Macintosh with Macterminal in 132 column mode:\
-	:co#132:tc=mac:
+	: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:
 
 #### Radio Shack/Tandy
 #
@@ -12330,8 +23362,8 @@
 	:co#80:it#8:li#24:\
 	:al=^_0:bl=^G:cd=^K:ce=^D:cl=5*\014:cm=2\002%r%+ %+ :\
 	:dl=^_1:do=^J:ho=^A:kd=^J:kl=^H:kr=^I:ku=^L:le=^H:mb=^_":\
-	:md=\E\072^A:me=\037\041\E\072\0:mr=^_ :nd=^F:se=^_\041:\
-	:so=^_ :ue=^_#:up=^I:us=^_":ve=^E\041:vi=^E :
+	:md=\E\:^A:me=\037!\E\:\0:mr=^_\s:nd=^F:se=^_!:so=^_\s:\
+	:ue=^_#:up=^I:us=^_":ve=^E!:vi=^E\s:
 # (trs2: removed obsolete ":nl=^_:" -- esr)
 trs2|trsII|trs80II|Radio Shack Model II using P&T CP/M:\
 	:am:bs:ms:\
@@ -12347,7 +23379,7 @@
 trs16|trs-80 model 16 console:\
 	:am:bs:\
 	:co#80:it#8:li#24:\
-	:ac=jak`l_mbquvewcxs:ae=\ERg:al=\EL:as=\ERG:bl=^G:cd=\EJ:\
+	:ac=l_mbk`javewcquxs: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:\
@@ -12368,8 +23400,26 @@
 # 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:\
-	:li#49:\
-	:is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;49r\E[49;1H:tc=vt220:
+	: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:\
+	: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:
 # 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
@@ -12450,9 +23500,20 @@
 
 # From: Henning 'Faroul' Peters <Faroul@beyond.kn-bremen.de>, 25 Sep 1999
 amiga-8bit|Amiga ANSI using 8-bit controls:\
-	:AL=\233%dL:DL=\233%dM:SF@:SR@:ac=:al=\233L:dl=\233M:\
-	:sf=\204:sr=\215:\
-	:tc=amiga-h:
+	: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:
 
 # 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
@@ -12469,10 +23530,9 @@
 commodore|b-128|Commodore B-128 micro:\
 	:am:bw:\
 	:co#80:dN#20:li#24:pb#150:\
-	:al=10\Ei:bc=^H:ce=10\Eq:cl=10\E\006:\
-	:cm=20\E\013%2\054%2\054:cr=^M:dc=10*\177:dl=10*\Ed:\
-	:do=^J:ei=:ho=\E^E:ic=5\E\n:im=:kd=^J:kh=\E^E:kl=^B:kr=^F:\
-	:ku=^P:nd=^F:nl=^M:ta=5\011:up=^P:
+	:al=10\Ei:bc=^H:ce=10\Eq:cl=10\E\006:cm=20\E\013%2,%2,:\
+	:cr=^M:dc=10*\177:dl=10*\Ed:do=^J:ei=:ho=\E^E:ic=5\E\n:im=:\
+	:kd=^J:kh=\E^E:kl=^B:kr=^F:ku=^P:nd=^F:nl=^M:ta=5\011:up=^P:
 
 #### North Star
 #
@@ -12516,7 +23576,7 @@
 # Added by David Milligan and Tom Smith (SMU)
 osexec|Osborne executive:\
 	:am:bs:\
-	:co#80:li#24:sg#1:\
+	:co#80: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:im=:\
 	:is=\Eq\Ek\Em\EA\Ex0:k0=^A@\r:k1=^AA\r:k2=^AB\r:k3=^AC\r:\
@@ -12566,10 +23626,31 @@
 # 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:tc=minix-old:
+	: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:
 
 pc-minix|minix console on an Intel box:\
-	:tc=klone+acs:tc=minix:
+	: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:
 
 # 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
@@ -12637,12 +23718,17 @@
 # or CP/M.
 # (basis: removed obsolete ":ma=^K^P^R^L^L :nl=5000*^J:" -- esr)
 basis|BASIS108 computer with terminal translation table active:\
-	: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:
+	: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:
 # luna's BMC terminal emulator
 luna|luna68k|LUNA68K Bitmap console:\
-	:co#88:li#46:tc=ansi-mini:
+	: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:
 megatek|pegasus workstation terminal emulator:\
 	:am:os:\
 	:co#83:li#60:
@@ -12663,33 +23749,44 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;%;%?%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:
+	:es:hs:mi:ms:\
+	:co#80:it#8:li#24:\
+	:@8=\EOM:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
+	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ac=f0g1,,+../: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:dc=\E[P:dl=\E[M:do=^J:eA=^Y:ei=\E[4l:\
+	:fs=^J:ho=\E[H:im=\E[4h:k0=\EOp:k1=\EOq:k2=\EOr:k3=\EOs:\
+	:k4=\EOt:k5=\EOu:k6=\EOv:k7=\EOw:k8=\EOx:k9=\EOy: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:kt=^I:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
+	:me=\E[m:mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:\
+	:..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: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
@@ -12700,13 +23797,13 @@
 # From: Igor Tamitegama <igor@ppp1493-ft.teaser.fr>, 18 Jan 1997
 m2-nam|minitel|minitel-2|minitel-2-nam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M:dc=\Ee!:dl=\EE!:do=^J:\
+	:ei=:ic=\Ef!:im=:k1=\Ex:k2=\Ey:k3=\Ez:kb=^H:kd=\EB:kl=\ED:\
+	:kr=\EC:ku=\EA:le=\ED:nd=\EC:sf=^J:ta=^I:up=\EA:
 
 # (cbblit: here's a BSD termcap that says :do=\EG: -- esr)
 cbblit|fixterm|blit running columbus code:\
-	:co#88:\
-	:cd=\EJ:ei=\ER:ic@:im=\EQ:pO=\EP%03:pf=^T:po=^R:se=\EV\041:\
-	:so=\EU\041:ue=\EV":us=\EU":vb=\E^G:\
-	:tc=blit:
+	: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:
 
 oblit|ojerq|first version of blit rom:\
 	:am:da:db:eo:mi:ul:xo:\
@@ -12811,10 +23911,23 @@
 # this big white gap.
 
 bitgraph|bg2.0nv|bg3.10nv|bbn bitgraph 2.0 or later (normal video):\
-	:is=\E>\E[?5l\E[?7h:vb=\E[?5h\E[?5l:\
-	:tc=bg2.0:
+	: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=\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3:\
+	: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:
 bg1.25nv|bbn bitgraph 1.25 (normal video):\
-	:is=\E>\E[?5l\E[?7h:vb=\E[?5h\E[?5l:tc=bg1.25:
+	: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:
 # (bg1.25: I added <rmam>/<smam> based on the init string -- esr)
 bg1.25|bbn bitgraph 1.25:\
 	:co#85:li#64:\
@@ -12904,45 +24029,145 @@
 
 # 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)
-# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 tws-generic|dku7102|Bull Questar tws terminals:\
-	:am:es:hs:mi:ms:xn:xo:xs@:\
+	: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:\
+	:c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[m:up=\E[A:\
+	: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;5m:me=\E[m\017:\
+	:mh=\E[0;2m: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;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;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:\
-	:ta=^I:\
-	:tc=tws2102-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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: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:
 
 #=========================================================#
 # BULL QUESTAR 303 & 310 `DEC VT 320' terminals emulation #
@@ -13020,43 +24245,122 @@
 #
 
 # 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)
-# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 bq300|Bull vt320 ISO Latin 1 80 columns terminal:\
-	:am:eo:es:hs:km:mi:ms:xn:xo:\
+	:5i:am:eo:es:hs:km:mi:ms:xn:xo:\
 	:co#80:it#8:li#24:vt#3: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:cd=\E[J:\
-	:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
+	:%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=``aaffggjjkkllmmnnooppqqr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42l\E[?4l:\
-	:r2=\E[?3h:vb=\E[?5l\E[?5h:\
-	:tc=bq300:
+	: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[?1l\E>:kl=\E[D:kr=\E[C:\
+	:ku=\E[A:l1=pf1:l2=pf2:l3=pf3:l4=pf4: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:
 
 #  This entry is used for terminals with vt320 emulation mode
 #  and following set-up : 
@@ -13112,44 +24416,122 @@
 # 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)
-# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 bq300-8|Bull vt320 full 8 bits 80 columns:\
-	:am:eo:es:hs:km:mi:ms:xn:xo:\
+	:5i:am:eo:es:hs:km:mi:ms:xn:xo:\
 	:co#80:it#8:li#24:vt#3:ws#80:\
-	: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:\
+	:%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$}:\
-	:ec=\233%dX:ei=\2334l:fs=\2330$}:ho=\233H:\
+	: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=\217P:k2=\217Q:k3=\217R:k4=\217S:k6=\23317~:\
-	: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:
+	: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:
 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:\
-	:vb=\233?5l\233?5h:\
-	:tc=bq300-8:
+	: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:
 bq300-8w|Bull vt320 8-bit 132 columns:\
-	:co#132:ws#132:\
+	: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:\
 	:is=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l:\
-	:r2=\233?3h:\
-	:tc=bq300-8:
+	: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:
 bq300-w-8rv|Bull vt320 8-bit reverse mode 132 columns:\
-	:co#132:ws#132:\
+	: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:\
 	:is=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l:\
-	:r2=\233?3h:vb=\233?5l\233?5h:\
-	:tc=bq300-8:
+	: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:
 
 #  This entry is used for terminals with vt320 emulation mode
 #  a 102 keys keyboard (PC scancode !) and following set-up : 
@@ -13157,50 +24539,224 @@
 #    7 bit Control Characters, 
 #    80 columns screen.    
 bq300-pc|Questar 303 with PC keyboard ISO Latin 1 80 columns:\
-	:%0@:%1@:*6@:@0@:@7=\E[4~:F1=\E[29~:F2=\E[31~:F3@:F4@:F5@:F6@:\
-	:F7@:F8@:F9@:FA@: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:\
-	:kh=\E[1~:l1@:l2@:l3@:l4@:\
-	:tc=bq300:
+	:5i:am:eo:es:hs:km:mi:ms:xn:xo:\
+	:co#80:it#8:li#24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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:
 #    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:\
-	:%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:
+	: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:
 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:\
-	:vb=\E[?5l\E[?5h:\
-	:tc=bq300-8-pc:
+	: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:
 bq300-8-pc-w|Questar 303 with PC keyboard full 8 bits 132 columns:\
-	:co#132:ws#132:\
+	: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:\
 	:is=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l:\
-	:r2=\E[?3h:\
-	:tc=bq300-8-pc:
+	: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:
 bq300-8-pc-w-rv|Questar 303 with PC keyboard full 8 bits reverse 132 columns:\
-	:co#132:ws#132:\
+	: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:\
 	:is=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l:\
-	:r2=\E[?3h:vb=\E[?5l\E[?5h:\
-	:tc=bq300-8-pc:
+	: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:
 
 #======================================================#
 # BULL QUESTAR 310 `VIP 7800/8800' terminals emulation #
@@ -13255,32 +24811,83 @@
 #	    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)
-# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
 vip|Bull Questar 3155-7800:\
-	:am:es:hs:km:ms:xn:xo:\
+	:5i:am:es:hs:km:ms:xn:xo:\
 	:co#80:it#8:li#24:vt#3:ws#80:\
-	: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:is=\E[00u\E[<>001001024080024080u\E[01u:\
-	:k1=\E0:k2=\E2:k3=\E6:k4=\E8:k5=\E\072:k6=\E<:k7=\E>:k8=\EP:\
-	:k9=\ER:kD=\E[P:kH=\EH\EA:kI=\E[I:kb=^H:kd=\EB:kh=\EH:\
-	:kl=\ED:kr=\EC:ku=\EA:le=^H:ll=\EH\EA:mb=\EsB:\
-	:me=\EsR\EsU\EF:mh=\EsL:mr=\EsI:nd=\EC:nw=^M:se=\EsR:sf=^J:\
-	:so=\EsI:sr=\EA\EJ\EH\E[L:st=\Ep:ta=^I:ts=\Ew:ue=\EsR:\
-	:up=\EA:us=\Es_:vb=\007\007\007:
+	:#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:\
+	: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:\
+	:is=\E[00u\E[<>001001024080024080u\E[01u:k1=\E0:k2=\E2:\
+	:k3=\E6:k4=\E8:k5=\E\::k6=\E<:k7=\E>:k8=\EP:k9=\ER:k;=\ET:\
+	:kA=\E[L:kB=\E[Z:kC=\E`:kD=\E[P:kE=\EK:kF=\E[0s:kH=\EH\EA:\
+	:kI=\E[I:kL=\E[M:kM=\E[J:kR=\E[1s:kS=\EJ:kT=\Ep:ka=\E[N:\
+	:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:kt=\E[g:ku=\EA:l1=pf1:\
+	:l2=pf2:l3=pf3:l4=pf4:le=^H:ll=\EH\EA:mb=\EsB:\
+	:me=\EsR\EsU\EF:mh=\EsL:mk=\EsH:mp=\EsP:mr=\EsI:nd=\EC:\
+	:nw=^M:pf=\E[<p:po=\E[3p:ps=\E[0p:r1=\Ec:r2=\E[G:s0=\EF:\
+	:s1=\EG:se=\EsR:sf=^J:so=\EsI:sr=\EA\EJ\EH\E[L:st=\Ep:\
+	: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:\
-	:co#132:ws#132:\
-	:is=\E[00u\E[<>001001024132024132u\E[01u:tc=vip:
+	:5i:am:es:hs:km:ms:xn:xo:\
+	:co#132:it#8:li#24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:\
 	:co#80:li#40:\
-	:al=^A>2:bl=^G:cd=^Al:ce=^A`:cl=^L:cm=\001M%r%d\054%d\054:\
-	:cr=^M:dc=^A<1:dl=^A<2:do=^J:ei=:ho=^\:ic=^A>1:im=:le=^H:\
-	:ll=^A|:nd=^]:se=\001C1\054\001c2\054:sf=^J:\
-	:so=\001C4\054\001c7\054:\
-	:te=\001W0\05440\05485\05448\054\014\001W0\0540\05485\05448\054\001M0\05440\054:\
-	:ti=\001P0\001O1\001R1\001C4\054\001c0\054\014\001M0\05442\054WARNING DOUBLE ENTER ESCAPE and \025\001C1\054\001c2\054\001W0\0540\05479\05439\054:\
+	:al=^A>2:bl=^G:cd=^Al:ce=^A`:cl=^L:cm=\001M%r%d,%d,:cr=^M:\
+	:dc=^A<1:dl=^A<2:do=^J:ei=:ho=^\:ic=^A>1:im=:le=^H:ll=^A|:\
+	:nd=^]:se=\001C1,\001c2,:sf=^J:so=\001C4,\001c7,:\
+	:te=\001W0,40,85,48,\014\001W0,0,85,48,\001M0,40,:\
+	:ti=\001P0\001O1\001R1\001C4,\001c0,\014\001M0,42,WARNING DOUBLE ENTER ESCAPE and \025\001C1,\001c2,\001W0,0,79,39,:\
 	:uc=\001\001_\001\0:up=^K:
 
 #### Computer Automation
@@ -13374,7 +24980,7 @@
 	:ms:\
 	:co#80:li#25:\
 	:al=\E^T:bl=^G:cd=^W:ce=^V:cl=\025\E\004\027\030:\
-	:cm=\011%r%+\%+\:cr=^M:dl=\E^Z:do=^J:ho=^U:\
+	:cm=\011%r%+\\%+\\:cr=^M:dl=\E^Z:do=^J:ho=^U:\
 	:i1=\E\014\E\016\0\230\0\317\025\027\030\E\004:\
 	:k1=^G\Ee:k2=^I\Ed:k3=^J\Ec:k4=^J\Eb:k5=^S\Ea:k6=\EO\Ee:\
 	:k7=\EN\Ed:k8=\EM\Ec:k9=\EL\Eb:k;=\EK\Ea:kb=^H:kd=^B:kl=^D:\
@@ -13499,8 +25105,10 @@
 	: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:\
-	:co#132:\
-	:bl=^G:cr=^M:do=^J:kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:tc=ln03:
+	: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:
 
 #### Delta Data (dd)
 #
@@ -13546,9 +25154,20 @@
 # (ps300: changed ":pt@:" to "it@" -- esr)
 #
 ps300|Picture System 300:\
-	:xt:\
-	:it@:\
-	:se@:so@:ue@:us@:tc=vt100:
+	: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=\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>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: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:
 # (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 
@@ -13635,15 +25268,37 @@
 	: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%p1%{32}%+%c\Eo\Eo:up=\EA:\
-	:ve=\Ey4:vs=\Ex4:
+	:sr=\EI:ta=^I:ts=\Ej\Ex5\EY8%+ \Eo\Eo:up=\EA:ve=\Ey4:\
+	:vs=\Ex4:
 h19-u|heathkit with underscore cursor:\
-	:ve@:vs@:tc=h19-b:
+	: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: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:
 h19-g|h19g|heathkit w/block cursor:\
-	:ve=\Ex4:tc=h19-b:
+	: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: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=\Ex4:\
+	:vs=\Ex4:
 alto-h19|altoh19|altoheath|alto-heath|alto emulating heathkit h19:\
-	:li#60:\
-	:al=\EL:dl=\EM:tc=h19:
+	:am:bs:es:hs:mi:ms:\
+	:co#80:it#8:li#60:\
+	:ac=:ae=\EG:al=\EL:as=\EF:bl=^G:cd=\EJ:ce=\EK:cl=\EE:\
+	:cm=\EY%+ %+ :cr=^M:dc=\EN:dl=\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:
 
 # The major problem with the Z29 is that it requires more padding than the Z19.
 #
@@ -13694,7 +25349,7 @@
 	:is=\E<\E[?2h\Ev:k0=\E~:k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:\
 	:k6=\EP:k7=\EQ:k8=\ER:k9=\E0I:kb=^H:kd=\EB:kh=\EH:kl=\ED:\
 	:kr=\EC:ku=\EA:l0=home:le=^H:nd=\EC:se=\Eq:sf=\n:so=\Ep:\
-	:sr=2\EI:ta=^I:ts=\Ej\Ex5\Ex1\EY8%+ \Eo:ue=\Es0:up=\EA:\
+	:sr=2\EI:ta=^I:..ts=\Ej\Ex5\Ex1\EY8%+ \Eo:ue=\Es0:up=\EA:\
 	:us=\Es8:ve=\Ey4:vs=\Ex4:
 # z29 in ansi mode. Assumes that the cursor is in the correct state, and that
 # the world is stable. <rs1> causes the terminal to be reset to the state
@@ -13721,21 +25376,63 @@
 	: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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m:up=\E[A:\
+	:us=\E[4m:
 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: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[>2h\E[>1;3;4;5;6;7;8;9l\E[m\E[11m:\
-	:tc=z29a:
+	: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:
 # From: Jeff Bartig <jeffb@dont.doit.wisc.edu> 31 Mar 1995
 z39-a|z39a|zenith39-a|zenith39-ansi|Zenith 39 in ANSI mode:\
 	:5i:am:es:hs:mi:ms:xo:\
 	:co#80:li#24:\
 	:%1=\E[~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:K1=\EOw:\
 	:K2=\EOy:K3=\EO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=\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:
 # (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:\
@@ -13764,7 +25467,15 @@
 	: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:\
-	:al=2*\EL:dl=2*\EM:tc=h19-b:
+	: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:
 # From: <ucscc!B.fiatlux@ucbvax.berkeley.edu>
 # (ztx: removed duplicate :sr: -- esr)
 ztx|ztx11|zt-1|htx11|ztx-1-a|ztx-10 or 11:\
@@ -13775,7 +25486,7 @@
 	:is=\Ej\EH\Eq\Ek\Ev\Ey1\Ey5\EG\Ey8\Ey9\Ey>:k0=\ES:\
 	:k1=\EB:k2=\EU:k3=\EV:k4=\EW:k5=\EP:k6=\EQ:k7=\ER:kb=^H:\
 	:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:se=\Eq:so=\Es5:\
-	:sr=\EI:ta=^I:ts=\Ej\Ex5\Ex1\EY8%+ \Eo:ue=\Eq:up=\EA:\
+	:sr=\EI:ta=^I:..ts=\Ej\Ex5\Ex1\EY8%+ \Eo:ue=\Eq:up=\EA:\
 	:us=\Es2:
 
 #### IMS International (ims)
@@ -13787,15 +25498,39 @@
 
 # From: Erik Fair <fair@ucbarpa.berkeley.edu>  Sun Oct 27 07:21:05 1985
 ims950-b|bare ims950 no init string:\
-	:is@:tc=ims950:
+	: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:
 # (ims950: removed obsolete ":ko@:" -- esr)
 ims950|ims televideo 950 emulation:\
-	:xn@:\
-	:k0@:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:k9@:kb@:kd@:kh@:kl@:kr@:ku@:vb@:tc=tvi950:
+	: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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: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:
 ims-ansi|ultima2|ultimaII|IMS Ultima II:\
 	:am:bs:\
 	:co#80:it#8:li#24:\
@@ -13830,10 +25565,11 @@
 # 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:\
-	:bs:\
-	:ce=\EK:ch=\020%+^J:cm=\016%.\020%+^J:cv=\013%.:\
-	:ll=^K^X\r:\
-	:tc=intertube:
+	: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:
 
 #### Ithaca Intersystems
 #
@@ -13868,8 +25604,17 @@
 	:ve=\Ez56;2;0;0z\Ez73z\Ez4;1;1z:\
 	:vs=\Ez4;2;1z\Ez56;2;80;24z:
 graphos-30|graphos III with 30 lines:\
-	:li#30:\
-	:vs=\Ez4;2;1z\Ez56;2;80;30z:tc=graphos:
+	: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:ta=^I:up=\E[A:\
+	:ve=\Ez56;2;0;0z\Ez73z\Ez4;1;1z:\
+	:vs=\Ez4;2;1z\Ez56;2;80;30z:
 
 #### Modgraph
 #
@@ -13895,17 +25640,29 @@
 #
 
 modgraph|mod24|modgraph terminal emulating vt100:\
-	:xn@:\
-	:co#80:li#24:\
-	:is=\E\1369;0s\E\1367;1s\E[3g\E\13611;9s\E\13611;17s\E\13611;25s\E\13611;33s\E\13611;41s\E\13611;49s\E\13611;57s\E\13611;65s\E\13611;73s\E\13611;81s\E\13611;89s:\
-	:rf@:sr=5\EM\E[K:vs=\E\1369;0s\E\1367;1s:\
-	:tc=vt100:
+	: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:\
+	:is=\E^9;0s\E^7;1s\E[3g\E^11;9s\E^11;17s\E^11;25s\E^11;33s\E^11;41s\E^11;49s\E^11;57s\E^11;65s\E^11;73s\E^11;81s\E^11;89s:\
+	: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=5\EM\E[K:st=\EH:ta=^I:\
+	:ue=\E[m:up=\E[A:us=\E[4m:vs=\E^9;0s\E^7;1s:
 # The GX-1000 manual is dated 1984.  This looks rather like a VT-52.
 modgraph2|modgraph gx-1000 80x24 with keypad not enabled:\
 	:am:da:db:\
 	:co#80:it#8:li#24:\
 	:cd=50\EJ:ce=3\EK:cl=50\EH\EJ:cm=5\EY%+ %+ :\
-	:is=\E<\E\1365;2s\E\1367;1s\E[3g\E\13611;9s\E\13611;17s\E\13611;25s\E\13611;33s\E\13611;41s\E\13611;49s\E\13611;57s\E\13611;65s\E\13611;73s\E\13611;81s\E\13611;89s\E\13612;0s\E\13614;2s\E\13615;9s\E\13625;1s\E\1369;1s\E\13627;1:\
+	:is=\E<\E^5;2s\E^7;1s\E[3g\E^11;9s\E^11;17s\E^11;25s\E^11;33s\E^11;41s\E^11;49s\E^11;57s\E^11;65s\E^11;73s\E^11;81s\E^11;89s\E^12;0s\E^14;2s\E^15;9s\E^25;1s\E^9;1s\E^27;1:\
 	:le=^H:nd=2\EC:sr=5\EI:ta=^I:up=2\EA:
 #
 # Modgraph from Nancy L. Cider <nancyc@brl-tbd>
@@ -13952,16 +25709,15 @@
 	:co#80:it#8:li#24:\
 	:%1=^AO\r:F1=^A`\r:F2=^Aa\r:F3=^Ab\r:F4=^Ac\r:F5=^Ad\r:\
 	:F6=^Ae\r:F7=^Af\r:F8=^Ag\r:F9=^Ah\r:FA=^Ai\r:\
-	:ac=+z\054{-x.yOi`|jGkFlEmDnHqJtLuKvNwMxI:ae=\E%:\
-	:al=\EE:as=\E$:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=^Z:\
-	:cm=\E=%+ %+ :cr=^M:ct=\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+	:nw=^M^J:se=^_!:sf=^J:so=^_\s:ta=^I:ue=^_#:up=\E[A:us=^_":
 
 #### Soroc
 #
@@ -14099,7 +25878,11 @@
 
 # (soroc120: removed obsolete ":ma=^K^P^R^L^L :" -- esr)
 soroc120|iq120|soroc|soroc iq120:\
-	:cd=\EY:ce=\ET:cl=\E*:do=^J:kd=^J:kl=^H:kr=^L:ku=^K:tc=adm3a:
+	: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:
 soroc140|iq140|soroc iq140:\
 	:am:bs:mi:\
 	:co#80:li#24:\
@@ -14173,19 +25956,73 @@
 # 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:\
-	:da:db:\
-	:co#80:dN@:li#24:lm#96:\
-	:al=\E[L:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:\
-	:im=\E[4h:is=\E[?7h\E[?3l\E[?5l:kd=\E[B:ke@:kl=\E[D:ks@:\
-	:ku=\E[A:\
-	:tc=vt100:
+	: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:d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^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
+	:up=\E[A:us=\E[4m:
 
 
 #### Teleray
@@ -14205,6 +26042,7 @@
 # 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:\
@@ -14214,18 +26052,25 @@
 	:bs:\
 	:co#80:it#8:li#24:\
 	:bl=^G:cd=\EJ:ce=\EK:cl=^L:cm=\EY%+ %+ :cr=^M:do=^J:ho=\EH:\
-	:le=^H:ll=\EY7 :nd=\EC:sf=^J:ta=^I:up=^K:
+	:le=^H:ll=\EY7\s:nd=\EC:sf=^J:ta=^I:up=^K:
 t1061|teleray|teleray 1061:\
 	:am:bs:km:xs:xt:\
-	:co#80:it#8:li#24:sg#1:\
+	: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=:ip=:\
 	: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= \ERD:st=\EF:ta=^I:ue=\ER@:\
+	: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:\
-	:al=\EL:dl=\EM:ip@:tc=t1061:
+	: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:
 # "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
@@ -14238,7 +26083,7 @@
 # (t10: removed overridden ":so@:se@:us@:ue@:" -- esr)
 t10|teleray 10 special:\
 	:bs:km:xs:xt:\
-	:co#80:it#8:li#24:sg#2:\
+	:co#80:it#8:li#24:sg#2:ug#2:\
 	:al=\EL:cd=\EJ:ce=\EK:cl=30\Ej:cm=\EY%+ %+ :dc=\EQ:dl=\EM:\
 	:ei=:ho=\EH:ic=\EP:im=:le=^H:nd=\EC:pc=\0:se=\ER@:sf=\Eq:\
 	:so=\ERD:sr=\Ep:ta=^I:ue=\ER@:up=\EA:us=\ERH:
@@ -14272,38 +26117,108 @@
 # Texas Instruments 916 VDT 7 bit control mode
 #
 ti916|ti916-220-7|Texas Instruments 916 VDT 8859/1 vt220 mode 7 bit CTRL:\
-	:da: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:\
-	: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[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: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:
 #
 # Texas Instruments 916 VDT 8 bit control mode
 #
 ti916-8|ti916-220-8|Texas Instruments 916 VDT 8859/1 8 vt220 mode bit CTRL:\
-	:%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:
+	: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:
 #
 # Texas Instruments 916 VDT 8859/1 7 bit control 132 column mode
 #
 ti916-132|Texas Instruments 916 VDT vt220 132 column:\
-	:co#132:tc=ti916:
+	: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=\E[29~:\
+	:@8=^J:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[29~:\
+	:F2=\E[31~: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=\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: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:
 #
 # Texas Instruments 916 VDT 8859/1 8 bit control 132 column mode
 #
 ti916-8-132|Texas Instruments 916 VDT 8-bit vt220 132 column:\
-	:co#132:tc=ti916-8:
+	: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:
 ti924|Texas Instruments 924 VDT 8859/1 7 bit CTRL:\
 	:am:bs:xo:\
 	:co#80:it#8:li#24:\
@@ -14328,9 +26243,28 @@
 	: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:\
-	:co#132:tc=ti924:
+	: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:
 ti924-8w|Texas Instruments 924 VDT 8 bit - 132 column mode:\
-	:co#132:tc=ti924-8:
+	: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:
 ti931|Texas Instruments 931 VDT:\
 	:am:bs:xo:\
 	:co#80:li#24:\
@@ -14342,17 +26276,35 @@
 	: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:\
-	:cs@:sf=\E[1S:sr=\E[1T:tc=ti924:
+	: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:
 # (ti926-8: I corrected this from the broken SCO entry -- esr)
 ti926-8|Texas Instruments 926 VDT 8859/1 8 bit CTRL:\
-	:cs@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E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
@@ -14362,21 +26314,35 @@
 #       928 VDT 7 bit control mode
 #
 ti928|Texas Instruments 928 VDT 8859/1 7 bit CTRL:\
-	:%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~:\
+	: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~:\
 	: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:\
-	:tc=ti_ansi:
+	: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:
 #
 #       928 VDT 8 bit control mode
 #
 ti928-8|Texas Instruments 928 VDT 8859/1 8 bit CTRL:\
-	:%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:
+	: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:
 
 #### Zentec (zen)
 #
@@ -14389,9 +26355,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:mh=\EG2:nd=^L:\
-	:sf=^J:so=\EG6:ue@:up=^K:us@:\
-	:tc=adm+sgr:
+	: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:
 # (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,
@@ -14401,9 +26366,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:mk@:ue@:up=^K:\
-	:us@:\
-	:tc=adm+sgr:
+	:ic=\EQ:im=:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:me=\EG0:\
+	:mr=\EG4:se=\EG0:so=\EG4:up=^K:
 
 # CCI 4574 (Office Power) from Will Martin <wmartin@BRL.ARPA> via BRL
 cci|cci1|z8001|zen8001|CCI Custom Zentec 8001:\
@@ -14411,9 +26375,9 @@
 	:co#80:li#24:\
 	:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cs=\ER%+ %+ :do=^J:\
 	:ho=\EH:is=\EM \EF\ET\EP\ER 7:kb=^H:kd=\EB:kh=\EH:kl=\ED:\
-	:kr=\EC:ku=\EA:le=^H:mb=\EM":me=\EM :mh=\EM\041:mk=\EM(:\
-	:mr=\EM$:nd=\EC:pf=^T:po=^R:se=\EM :so=\EM$:sr=\EI:ue=\EM :\
-	:up=\EA:us=\EM0:ve=\EP:vs=\EF\EQ\EM \ER 7:
+	:kr=\EC:ku=\EA:le=^H:mb=\EM":me=\EM\s:mh=\EM!:mk=\EM(:\
+	:mr=\EM$:nd=\EC:pf=^T:po=^R:se=\EM\s:so=\EM$:sr=\EI:\
+	:ue=\EM\s:up=\EA:us=\EM0:ve=\EP:vs=\EF\EQ\EM \ER 7:
 
 ######## OBSOLETE UNIX CONSOLES
 #
@@ -14442,7 +26406,7 @@
 # shift keys.  I have renamed them to keys 32 and up accordingly.  Also,
 # :sr: was given as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K:ch=\EN%d:cl=^L:cm=\EM%+ %d):cv=\EO+ :\
-	:dc=\EP:dl=\EL:do=\EB:ei=\ER:im=\EQ:le=^H:nd=\EC:se=\ET:\
-	:sf=\EE:so=\ES:sr=\ED:te=\EX:ti=\EW:ue=\EV:up=\EA:us=\EU:
+	:al=\EI:cd=\EJ:ce=\EK:ch=\EN%d:cl=^L:cm=\EM%+ %d):\
+	:cv=\EO+\s:dc=\EP:dl=\EL:do=\EB:ei=\ER:im=\EQ:le=^H:nd=\EC:\
+	:se=\ET:sf=\EE:so=\ES:sr=\ED:te=\EX:ti=\EW:ue=\EV:up=\EA:\
+	:us=\EU:
 
 # We don't know whether or not the apollo guys replicated DEC's firmware bug
 # in the VT132 that reversed :ei:/:im:.  To be on the safe side, disable
 # both these capabilities.
 apollo_15P|apollo 15 inch display:\
-	:ei@:im@:tc=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: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:m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[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
+	:up=\E[A:us=\E[4m:
 apollo_color|apollo color display:\
-	:ei@:im@:tc=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: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:
 
 #### Convergent Technology
 #
@@ -14532,7 +26582,7 @@
 # (aws: removed unknown :dn=^K: -- esr)
 aws|Convergent Technologies AWS workstation under UTX and Xenix:\
 	:am:\
-	:co#80:li#28:sg#0:\
+	:co#80:li#28:sg#0:ug#0:\
 	:ac=:ae=\EAAF:al=\EIL:as=\EAAN:bc=^H:cd=\EEF:ce=\EEL:\
 	:ch=\EH%.:cl=^L:cm=\EC%r%.%.:cv=\EV%.:dc=\EDC:dl=\EDL:\
 	:do=^K:ei=:ic=\EIC:im=:kb=^H:kd=^K:kl=^N:kr=^R:ku=^A:\
@@ -14540,7 +26590,7 @@
 	:sf=\ESU:so=\EARN:sr=\ESD:ue=\EAUF:up=^A:us=\EAUN:
 awsc|Convergent Technologies AWS workstation under CTOS:\
 	:am:\
-	:co#80:li#24:sg#0:\
+	:co#80:li#24:sg#0:ug#0:\
 	:ac=:ae=\EAAF:as=\EAAN:bc=^N:cd=\EEF:ce=\EEL:cl=^L:\
 	:cm=\EC%r%.%.:do=^K:kb=^H:kd=^K:kl=^N:kr=^R:ku=^A:\
 	:ma=\016h\013j\001k\022l\002m:nd=^R:se=\EAA:so=\EAE:\
@@ -14588,14 +26638,14 @@
 fos|fortune|Fortune system:\
 	:am:bs:bw:\
 	:co#80:li#25:\
-	:@7=^Ak\r:@8=^Aq:ac=j*k(l m"q&v%w#x-:ae=^O:al=\034E:\
+	:@7=^Ak\r:@8=^Aq:ac=l m"k(j*v%w#q&x-:ae=^O:al=\034E:\
 	:as=\Eo:bl=^G:cd=\034Y:ce=^\Z:cl=\014:cm=\034C%+ %+ :cr=^M:\
 	:dc=\034W:dl=\034R:do=\n:ei=:ho=\036:ic=\034Q:im=:is=^_..:\
 	:k1=^Aa\r:k2=^Ab\r:k3=^Ac\r:k4=^Ad\r:k5=^Ae\r:k6=^Af\r:\
 	:k7=^Ag\r:k8=^Ah\r:kN=^Ao\r:kP=^An\r:kb=^H:kd=^Ay\r:\
 	:kh=^A?\r:kl=^Aw\r:kr=^Az\r:ku=^Ax\r:le=^H:mb=\EN:me=\EI:\
 	: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\072:
+	:us=^\HP:ve=\E\\:vi=\E]:vs=\E\::
 
 #### IBM Unix consoles
 #
@@ -14628,11 +26678,15 @@
 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:
+	:@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
@@ -14651,9 +26705,19 @@
 	: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:\
-	:co#104:li#36:tc=masscomp:
+	: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:
 masscomp2|masscomp large screen version 2:\
-	:co#64:li#21:tc=masscomp:
+	: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
 #
@@ -14675,33 +26739,132 @@
 #
 # (news-29: this had :TY=ascii: --esr)
 news-29:\
-	:li#29:tc=news-unk:
+	: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=\EOW:k9=\EOX:\
+	:kb=^H:kd=\EOB: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OV: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-42-sjis: this had :TY=sjis: --esr)
 news-42-sjis:\
-	:tc=news-42:
+	: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 
 #
@@ -14719,50 +26882,108 @@
 #
 # (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:
+	: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:\
-	:li#42:\
-	:is=\E[?7h\E[?1l\E[?3l\E7\E[1;42r\E8:tc=news-old-unk:
+	: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:\
-	: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:
+	: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:\
-	: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:
+	: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:\
-	: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:
+	: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:\
-	: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:
+	: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:\
-	: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:
+	:am:bs:pt:xn:\
+	:co#80:li#28:vt#3:\
+	:bl=^G:cd=\E[J:ce=\E[K:cl=\E[;H\E[2J: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ue=\E[m:up=\E[A:us=\E[4m:
 #
 # (news511: this had :TY=sjis: --esr)
 nwp511|nwp-511|nwp-511 vt100:\
@@ -14777,20 +26998,53 @@
 	: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:\
+	:5i:am:bs:es:hs:mi:ms:xn:xo:\
+	:co#80:it#8:li#30: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:ds=\E[1$~:eA=\E)0:\
+	:ec=\E[%dX:ei=\E[4l:fs=\E[0$}:ho=\E[H:i2=\E[2$~\n:\
+	:if=/usr/share/tabset/vt100:im=\E[4h:\
 	:is=\E7\E[r\E8\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
-	:ts=\E[1$}\E[;%df:\
-	:tc=vt200:
+	: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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>\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:
+	: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: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.
 #
@@ -14807,11 +27061,20 @@
 	:ue=\Eb^A:up=\EA:us=\Ea^A:
 # (vremote: removed obsolete ":nl@:" -- esr)
 vremote|virtual remote terminal:\
-	:am@:\
-	:co#79:tc=cbunix:
+	: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:\
-	:cm=\EG%+ %+ :se=\Eb$:so=\Ea$:ue=\Eb\041:us=\Ea\041:tc=cbunix:
+	: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!:
 
 ######## OTHER OBSOLETE TYPES
 #
@@ -14881,20 +27144,35 @@
 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:r2=^L:rp=\031%.%d:\
+	: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:\
-	:tc=klone+acs:
+	: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+:\
-	:dc=^V^N:ei=\026\n\0\0\0\0:im=^V^I:tc=avatar0:
+	: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:\
-	:RA=^V":SA=^V$:al=^V+:dl=^V-:ei=^V^P:ve=^V'^A:vi=^V'^B:\
-	:vs=^V^C:\
-	:tc=avatar0+:
+	: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
 #
@@ -14915,17 +27193,29 @@
 	: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:\
+	: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:\
-	:kl=^H:nw=^M^J:sf=^J:ta=^I:\
-	:tc=rbcomm:
+	: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:\
-	:co#132:\
-	:bl=^G:cr=^M:do=^J:\
+	: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:\
-	:kl=^H:nw=^M^J:sf=^J:ta=^I:\
-	:tc=rbcomm:
+	: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 
@@ -14954,10 +27244,11 @@
 #   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}%&%t\E&bb%{1}%e%{0}%;%PZ%?%p1%{2}%&%t\E&bg%{1}%e%{0}%;%PY%?%p1%{4}%&%t\E&br%{1}%e%{0}%;%PX:\
+	:..Sf=\E&bn%?%gA%t\E&dA%;%?%gB%t\E&dB%;%?%gH%t\E&dH%;%?%gX%t\E&br%;%?%gY%t\E&bg%;%?%gZ%t\E&bb%;%?%p1%{1}%&%t\E&bB%{1}%e%{0}%;%PW%?%p1%{2}%&%t\E&bG%{1}%e%{0}%;%PV%?%p1%{4}%&%t\E&bR%{1}%e%{0}%;%PU:\
 	: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:\
@@ -14968,6 +27259,7 @@
 	:me=\E&d@%{0}%PA%{0}%PB%{0}%PH:\
 	:mr=%?%gB%{0}%=%t\E&dB%{1}%PB%;:nd=\EC:\
 	:op=\E&bn\E&bB\E&bG\E&bR%{0}%PX%{0}%PY%{0}%PZ%{1}%PW%{1}%PV%{1}%PU:\
+	:..sa=\E&d@%{0}%PA%{0}%PB%{0}%PD%{0}%PH%?%p1%p3%p5%|%|%t\E&dB%{1}%PB%;%?%p4%t\E&dA%{1}%PA%;%?%p6%t\E&dH%{1}%PH%;%?%p2%t\E&dD%;:\
 	:sf=^J:so=\E&dD:st=\E1:ta=\011:up=\EA:us=\E&dD:
 
 # gs6300 - can't use blue foreground, it clashes with underline;
@@ -14981,7 +27273,7 @@
 	:LE=\E[%dD:RI=\E[%dC:Sb=\E[?;%dm:\
 	:..Sf=\E[?%?%p1%{0}%=%t0%e%p1%{1}%=%t2%e%p1%{1}%-%d%;m:\
 	:UP=\E[%dA:\
-	:ac=++\054\054--..``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
+	: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:\
@@ -14995,9 +27287,14 @@
 # MS-Kermit with Heath-19 emulation mode enabled
 # (h19k: changed ":pt@:" to ":it@"
 h19k|h19kermit|heathkit emulation provided by Kermit (no auto margin):\
-	:am@:da:db:xt:\
-	:it@:\
-	:ta@:tc=h19-u:
+	: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:
 
 # Apple Macintosh with Versaterm, a terminal emulator distributed by Synergy
 # Software (formerly Peripherals Computers & Supplies, Inc) of
@@ -15030,8 +27327,8 @@
 	: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:me=\E[m:nd=\E[C:\
-	:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:se=\E[m :sf=^J:\
-	:so=\E[7m :sr=\EM:st=\EH:ta=^I:up=\E[A:
+	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:se=\E[m\s:sf=^J:\
+	:so=\E[7m\s:sr=\EM:st=\EH:ta=^I:up=\E[A:
 
 # The official PC terminal emulator program of the AT&T Product Centers.
 # Note - insert mode commented out - doesn't seem to work on AT&T PC.
@@ -15091,7 +27388,7 @@
 dwk|dwk-vt|dwk terminal:\
 	:am:\
 	:co#80:it#8:li#24:\
-	:ac=+\136\054Q-S.M0\177`+a\072f'g#h#i#jXkClJmFnNo~qUs_tEuPv\wKxW~_:\
+	:ac=lJmFkCjXtEuPv\\wKqUxWnNo~s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:\
+	: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:
 # 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
@@ -15110,7 +27420,9 @@
 	:co#80:\
 	:bl=^G:cr=^M:do=^J:hd=^\:hu=^^:le=^H:sf=^J:
 ep40|ep4000|execuport 4000:\
-	:co#136:tc=ep4080:
+	:am:bs:os:\
+	:co#136:\
+	:bl=^G:cr=^M:do=^J:hd=^\:hu=^^:le=^H:sf=^J:
 # 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'
@@ -15126,28 +27438,33 @@
 ifmr|Informer D304:\
 	:am:bs:\
 	:co#80:li#24:\
-	:cd=\E/:ce=\EQ:cl=\EZ:cm=\EY%r%+ %+ :dc=\E\:do=^J:ei=:\
+	:cd=\E/:ce=\EQ:cl=\EZ:cm=\EY%r%+ %+ :dc=\E\\:do=^J:ei=:\
 	: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)
-# (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:\
-	:co#80:li#24:ws#80:\
-	:ae=\EH^C:al=\E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