]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - misc/terminfo.src
ncurses 6.0 - patch 20170128
[ncurses.git] / misc / terminfo.src
index 49d99837a0a961857b4bff01b75d2d4c2e5cc56c..81be0cd4c9c05b88ad13c6012a77004049a2ecb7 100644 (file)
@@ -6,8 +6,8 @@
 # Report bugs and new terminal descriptions to
 #      bug-ncurses@gnu.org
 #
-#      $Revision: 1.572 $
-#      $Date: 2016/10/02 01:19:07 $
+#      $Revision: 1.586 $
+#      $Date: 2017/01/28 23:50:28 $
 #
 # The original header is preserved below for reference.  It is noted that there
 # is a "newer" version which differs in some cosmetic details (but actually
@@ -371,11 +371,13 @@ ansi+sgrul|ansi underline only,
 ansi+sgrbold|ansi graphic renditions; assuming terminal has bold; not dim,
        bold=\E[1m,
        sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;
-           %;%?%p7%t8;%;m, use=ansi+sgr, use=ansi+sgrso, use=ansi+sgrul,
+           %;%?%p7%t8;%;m,
+       use=ansi+sgr, use=ansi+sgrso, use=ansi+sgrul,
 ansi+sgrdim|ansi graphic renditions; assuming terminal has dim; not bold,
        dim=\E[2m,
        sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p5%t2;
-           %;%?%p7%t8;%;m, use=ansi+sgr, use=ansi+sgrso, use=ansi+sgrul,
+           %;%?%p7%t8;%;m,
+       use=ansi+sgr, use=ansi+sgrso, use=ansi+sgrul,
 ansi+csr|ansi scroll-region plus cursor save & restore,
        csr=\E[%i%p1%d;%p2%dr, rc=\E8, sc=\E7,
 
@@ -417,7 +419,8 @@ klone+sgr|attribute control for ansi.sys displays,
 klone+sgr8|attribute control for ansi.sys displays,
        invis=\E[8m,
        sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6
-           %t;1%;%?%p7%t;8%;%?%p9%t;11%;m, use=klone+sgr,
+           %t;1%;%?%p7%t;8%;%?%p9%t;11%;m,
+       use=klone+sgr,
 
 # Highlight controls corresponding to the ANSI.SYS standard.  *All*
 # console drivers for Intel boxes obey these.  Does not assume \E[11m will
@@ -436,8 +439,8 @@ klone+sgr-dumb|attribute control for ansi.sys displays (no ESC [ 11 m),
 klone+koi8acs|alternate character set for ansi.sys displays with KOI8 charset,
        acsc=+\020\,\021-\036.^_0\215`\004a\237f\234g\232h\222i
             \220j\205k\203l\202m\204n\212o\213p\216q\0r\217s\214t
-            \206u\207v\210w\211x\201y\230z\231{\267|\274}L
-            ~\225,
+            \206u\207v\210w\211x\201y\230z\231{\267|\274}L~
+            \225,
        rmacs=\E[10m, smacs=\E[11m,
 
 # ANSI.SYS color control.  The setab/setaf caps depend on the coincidence
@@ -673,7 +676,8 @@ ansi.sys|ANSI.SYS 3.1 and later versions,
        kf9=\0C, khome=\0G, kich1=\0R, knp=\0Q, kpp=\0I,
        pfkey=\E[0;%?%p1%{11}%<%t%'\:'%e%p1%{13}%<%t%'z'%e%p1%{23}%<
              %t%'G'%e%p1%{25}%<%t%'p'%e%p1%'#'%<%t%'E'%e%p1%'%'%<%t
-             %'f'%e%p1%'/'%<%t%'C'%e%{92}%;%p1%+%d;%p2"%s"p, use=ansi.sys-old,
+             %'f'%e%p1%'/'%<%t%'C'%e%{92}%;%p1%+%d;%p2"%s"p,
+       use=ansi.sys-old,
 
 #
 # Define IBM PC keypad keys for vi as per MS-Kermit while using ANSI.SYS.
@@ -694,7 +698,8 @@ ansi.sysk|ansisysk|PC-DOS 3.1 ANSI.SYS with keypad redefined for vi,
        rmkx=\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,
        smkx=\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, use=ansi.sys,
+            \E[;81;27;4p\E[;82;27;27;105p\E[;83;127p,
+       use=ansi.sys,
 #
 # Adds ins/del line/character, hence vi reverse scrolls/inserts/deletes nicer.
 nansi.sys|nansisys|PC-DOS Public Domain NANSI.SYS,
@@ -706,7 +711,8 @@ nansi.sys|nansisys|PC-DOS Public Domain NANSI.SYS,
 nansi.sysk|nansisysk|PC-DOS Public Domain NANSI.SYS with keypad redefined for vi,
        dch1=\E[1P, dl1=\E[1M, ich1=\E[1@, il1=\E[1L,
        is2=U4\sPC-DOS\sPublic\sDomain\sNANSI.SYS\swith\skeypad
-           \sredefined\sfor\svi\s9-29-86\n\E[;75;8p, use=ansi.sysk,
+           \sredefined\sfor\svi\s9-29-86\n\E[;75;8p,
+       use=ansi.sysk,
 
 #### Atari ST terminals
 
@@ -723,7 +729,8 @@ tw52|tw52-color|Toswin window manager with color,
        setb=\Ec%?%p1%{0}%=%t?%e%p1%{7}%=%t0%e%p1%{15}%=%t7%e%p1
             %{48}%+%c,
        setf=\Eb%?%p1%{0}%=%t?%e%p1%{7}%=%t0%e%p1%{15}%=%t7%e%p1
-            %{48}%+%c, use=tw52-m,
+            %{48}%+%c,
+       use=tw52-m,
 tw52-m|Toswin window manager monochrome,
        ul,
        ma#999,
@@ -756,7 +763,8 @@ st52-color|at-color|atari-color|atari_st-color|Atari ST with color,
             %=%t>%e%p1%{4}%=%t4%e%p1%{5}%=%t7%e%p1%{6}%=%t5%e%p1
             %{7}%=%t0%e%p1%{8}%=%t8%e%p1%{9}%=%t9%e%p1%{10}%=%t\:%e
             %p1%{11}%=%t;%e%p1%{12}%=%t<%e%p1%{13}%=%t=%e%p1%{14}%=
-            %t6%e?, use=st52,
+            %t6%e?,
+       use=st52,
 st52|st52-m|at|at-m|atari|atari-m|atari_st|atarist-m|Atari ST,
        am, eo, mir, npc,
        cols#80, it#8, lines#24,
@@ -1343,7 +1351,8 @@ iTerm.app|iterm|iTerm.app terminal emulator for Mac OS X,
        bce, bw@,
        csr@, dim@, kend=\EOF, khome=\EOH,
        sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?
-           %p7%t;8%;m%?%p9%t\016%e\017%;, use=xterm+256setaf, use=nsterm-16color,
+           %p7%t;8%;m%?%p9%t\016%e\017%;,
+       use=xterm+256setaf, use=nsterm-16color,
 
 # xnuppc - Darwin PowerPC Console (a.k.a. "darwin")
 #
@@ -1679,7 +1688,7 @@ linux-basic|linux console,
        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
        cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
        dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J,
-       el=\E[K, el1=\E[1K, flash=\E[?5h\E[?5l$<200/>, home=\E[H,
+       el=\E[K, el1=\E[1K, flash=\E[?5h$<200/>\E[?5l, home=\E[H,
        hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,
        il=\E[%p1%dL, il1=\E[L, ind=^J, kb2=\E[G, kbs=\177,
        kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
@@ -1721,8 +1730,8 @@ linux-c|linux console 1.3.6+ for older ncurses,
              %{9}%>%t%gx%{10}%-%'a'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx
              %{9}%>%t%gx%{10}%-%'a'%+%c%e%gx%d%;%p4%{255}%*%{1000}
              %/%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'a'%+%c%e%gx
-             %d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'a'%+%c%e
-             %gx%d%;,
+             %d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'a'%+%c%e%gx
+             %d%;,
        oc=\E]R, use=linux-basic,
 
 # The 2.2.x kernels add a private mode that sets the cursor type; use that to
@@ -1744,7 +1753,7 @@ linux2.2|linux 2.2.x console,
 linux2.6|linux 2.6.x console,
        acsc=++\,\,--..00__``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwx
             xyyzz{{||}c~~,
-       enacs=\E(B\E)0, rmacs=^O,
+       enacs=\E)0, rmacs=^O,
        sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5
            %t;2%;%?%p6%t;1%;m%?%p9%t\016%e\017%;,
        sgr0=\E[m\017, smacs=^N, use=linux2.2,
@@ -1776,7 +1785,8 @@ linux-nic|linux with ich/ich1 suppressed for non-curses programs,
 linux-koi8|linux with koi8 alternate character set,
        acsc=+\020\,\021-\030.^Y0\215`\004a\221f\234g\237h\220i
             \276j\205k\203l\202m\204n\212o~p\0q\0r\0s_t\206u\207v
-            \211w\210x\201y\230z\231{\267|\274~\224, use=linux, use=klone+koi8acs,
+            \211w\210x\201y\230z\231{\267|\274~\224,
+       use=linux, use=klone+koi8acs,
 
 # Another entry for KOI8-r with Qing Long's acsc.
 # (which one better complies with the standard?)
@@ -1787,7 +1797,8 @@ linux-koi8r|linux with koi8-r alternate character set,
 linux-lat|linux with latin1 or latin2 alternate character set,
        acsc=+\020\,\021-\030.^Y0\333`\004a\013f\370g\361h\260i
             \316j\211k\214l\206m\203n\305o~p\304q\212r\304s_t\207u
-            \215v\301w\302x\205y\363z\362{\343|\330}\234~\376, use=linux,
+            \215v\301w\302x\205y\363z\362{\343|\330}\234~\376,
+       use=linux,
 
 # This uses graphics from VT codeset instead of from cp437.
 # reason: cp437 (aka "straight to font") is not functional under luit.
@@ -1819,7 +1830,7 @@ kon|kon2|jfbterm|Kanji ON Linux console,
 # you use a 512-character console font. This uses bold for bright
 # foreground colors and blink for bright background colors.
 linux-16color|linux console with 16 colors,
-       colors#16, ncv#63, pairs#256,
+       colors#16, ncv#42, pairs#256,
        setab=\E[4%p1%{8}%m%d%?%p1%{7}%>%t;5%e;25%;m,
        setaf=\E[3%p1%{8}%m%d%?%p1%{7}%>%t;1%e;21%;m,
        use=linux,
@@ -1887,7 +1898,8 @@ mach-gnu|GNU Mach,
        el1=\E[1K, hpa=\E[%i%p1%dG, ich=\E[%p1%d@, ich1=\E[@,
        indn=\E[%p1%dS, invis=\E[8m, nel=\EE, rin=\E[%p1%dT,
        sgr=\E[0%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;
-           2%;%?%p6%t;1%;%?%p7%t;8%;m, use=mach,
+           2%;%?%p6%t;1%;%?%p7%t;8%;m,
+       use=mach,
 
 mach-gnu-color|Mach Console with ANSI color,
        colors#8, pairs#64,
@@ -2213,7 +2225,7 @@ scoansi|SCO Extended ANSI standard crt,
 #
 # F1-F12 generate different codes when shift or control modifiers are used.
 # For example:
-#      F1              \E[001q
+#      F1              \E[001q
 #      shift F1        \E[013q
 #      control-F1      \E[025q
 #
@@ -2289,8 +2301,8 @@ iris-color|xwsh|IRIX ANSI with color,
 #      identifies as vt200 with selective erase, but does not implement DECSCA
 #      no vt52 mode
 #      also lacks these:
-#              ESC # 8   DEC Screen Alignment Test (DECALN).
-#              CSI ? 5 h Reverse Video (DECSCNM).
+#              ESC # 8   DEC Screen Alignment Test (DECALN).
+#              CSI ? 5 h Reverse Video (DECSCNM).
 #
 pccon+keys|OpenBSD PC keyboard keys,
        kbs=\177, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
@@ -2533,14 +2545,14 @@ wsvt25m|NetBSD wscons in 25 line DEC VT220 mode with Meta,
 # Attributes do not work with color
 # Failed: vpa/hpa
 # Failed: kf1-kf4, kf13-kf48, khome, kend
-#      (effectively xterm-r6 for function-keys)
+#      (effectively xterm-r6 for function-keys)
 # None of the function or cursor key-modifiers are encoded.
 # Console hangs in the smm/rmm test if TERM=xterm, does not show test
 #
 # Testing with vttest:
 # -------------------
 # Identifies as vt220 with selective erase
-#      (however, selective erase refers to DECSCA, SPA)
+#      (however, selective erase refers to DECSCA, SPA)
 # Does not implement vt52
 # Uses spaces to simulate double-size characters
 # Does not support 8-bit controls
@@ -2550,7 +2562,7 @@ wsvt25m|NetBSD wscons in 25 line DEC VT220 mode with Meta,
 # Does not support DECSCA
 # Does not support any of the ISO-6429 cursor-movement
 # Does not support any of the ISO-6429 miscellaneous tests
-#      (SL/SR also leave unexpected char on screen too)
+#      (SL/SR also leave unexpected char on screen too)
 # Background does not change in menu 11.6.9 (SGR 22-27)
 # None of the xterm special features tests work
 netbsd6|NetBSD wscons in 25 line DEC VT100 mode,
@@ -2650,8 +2662,9 @@ cons25w|ansiw|ansi80x25-raw|freebsd console (25-line raw mode),
        sgr0=\E[m, smso=\E[7m, vpa=\E[%i%p1%dd,
 cons25|ansis|ansi80x25|freebsd console (25-line ansi mode),
        acsc=-\030.^Y0\333`\004a\260f\370g\361h\261i\025j\331k\277l
-            \332m\300n\305q\304t\303u\264v\301w\302x\263y\363z
-            \362~\371, use=cons25w,
+            \332m\300n\305q\304t\303u\264v\301w\302x\263y\363z\362~
+            \371,
+       use=cons25w,
 cons25-debian|freebsd console with debian backspace (25-line ansi mode),
        kbs=\177, kdch1=\E[3~, use=cons25,
 cons25-m|ansis-mono|ansi80x25-mono|freebsd console (25-line mono ansi mode),
@@ -2677,8 +2690,9 @@ cons60-m|ansi80x60-mono|freebsd console (60-line mono ansi mode),
        lines#60, use=cons25-m,
 cons25r|pc3r|ibmpc3r|cons25-koi8-r|freebsd console w/koi8-r cyrillic,
        acsc=-\030.^Y0\215`\004a\220f\234h\221i\025j\205k\203l\202m
-            \204n\212q\0t\206u\207v\211w\210x\201y\230z
-            \231~\225, use=cons25w,
+            \204n\212q\0t\206u\207v\211w\210x\201y\230z\231~
+            \225,
+       use=cons25w,
 cons25r-m|pc3r-m|ibmpc3r-mono|cons25-koi8r-m|freebsd console w/koi8-r cyrillic (mono),
        colors@, pairs@,
        op@, rmul=\E[m, setab@, setaf@,
@@ -2697,7 +2711,8 @@ cons60r-m|cons60-koi8r-m|freebsd console w/koi8-r cyrillic (60-line mono),
 cons25l1|cons25-iso8859|freebsd console w/iso 8859-1 chars,
        acsc=+\253\,\273-\030.\031`\201a\202f\207g\210i\247j\213k
             \214l\215m\216n\217o\220p\221q\222r\223s\224t\225u
-            \226v\227w\230x\231y\232z\233~\237, use=cons25w,
+            \226v\227w\230x\231y\232z\233~\237,
+       use=cons25w,
 cons25l1-m|cons25-iso-m|freebsd console w/iso 8859-1 chars (mono),
        colors@, pairs@,
        bold@, dim@, op@, rmul=\E[m, setab@, setaf@,
@@ -2796,7 +2811,8 @@ oldpc3|oldibmpc3|old IBM PC BSD/386 Console,
 # Bug: The <op> capability resets attributes.
 bsdos-pc|IBM PC BSD/OS Console,
        sgr=\E[0;10%?%p1%t;7%;%?%p2%t;1%;%?%p3%t;7%;%?%p4%t;5%;%?%p6
-           %t;1%;%?%p7%t;8%;%?%p9%t;11%;m, use=bsdos-pc-nobold,
+           %t;1%;%?%p7%t;8%;%?%p9%t;11%;m,
+       use=bsdos-pc-nobold,
 
 bsdos-pc-nobold|BSD/OS PC console w/o bold,
        use=klone+color, use=bsdos-pc-m,
@@ -2812,7 +2828,8 @@ bsdos-pc-m|bsdos-pc-mono|BSD/OS PC console mono,
        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, kich1=\E[L,
        kll=\E[F, knp=\E[G, kpp=\E[I, nel=^M^J, rc=\E8, sc=\E7,
        sgr=\E[0;10%?%p1%t;7%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7
-           %t;8%;%?%p9%t;11%;m%?%p5%t\E[=8F%;, use=klone+sgr8,
+           %t;8%;%?%p9%t;11%;m%?%p5%t\E[=8F%;,
+       use=klone+sgr8,
 
 # Old names for BSD/OS PC console used in releases before 4.1.
 pc3|BSD/OS on the PC Console,
@@ -3066,7 +3083,7 @@ vt100nam|vt100-nam|vt100 no automargins,
        am@, xenl@,
        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h, use=vt100-am,
 vt100-vb|dec vt100 (w/advanced video) & no beep,
-       bel@, flash=\E[?5h\E[?5l, use=vt100,
+       bel@, flash=\E[?5h$<100/>\E[?5l, use=vt100,
 
 # Ordinary vt100 in 132 column ("wide") mode.
 vt100-w|vt100-w-am|dec vt100 132 cols (w/advanced video),
@@ -3542,7 +3559,8 @@ vt420pc|DEC VT420 w/PC keyboard,
        pctrm=USR_TERM\:vt420pcdos\:,
        pfx=\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\\, use=vt420,
+           %d/%p2%s\E\\,
+       use=vt420,
 
 vt420pcdos|DEC VT420 w/PC for DOS Merge,
        lines#25,
@@ -3674,9 +3692,9 @@ putty|PuTTY terminal emulator,
              %e%p1%{27}%=%t\E%%G\342\206\220\E%%@%e%p1%{155}%=%t\E
              %%G\340\202\242\E%%@%e%p1%c%;,
        dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K,
-       el1=\E[1K, enacs=\E(B\E)0, flash=\E[?5h\E[?5l, home=\E[H,
-       hpa=\E[%i%p1%dG, ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L,
-       ind=^J, indn=\E[%p1%dS,
+       el1=\E[1K, enacs=\E(B\E)0, flash=\E[?5h$<100/>\E[?5l,
+       home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, il=\E[%p1%dL,
+       il1=\E[L, ind=^J, indn=\E[%p1%dS,
        initc=\E]P%p1%x%p2%{255}%*%{1000}%/%02x%p3%{255}%*%{1000}%/
              %02x%p4%{255}%*%{1000}%/%02x,
        is2=\E7\E[r\E[m\E[?7h\E[?1;4;6l\E[4l\E8\E>\E]R,
@@ -4112,7 +4130,8 @@ xterm-xf86-v43|xterm terminal emulator (XFree86 4.3 Window System),
        kLFT=\E[1;2D, kNXT=\E[6;2~, kPRV=\E[5;2~, kRIT=\E[1;2C,
        kbeg@,
        sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?
-           %p7%t;8%;m%?%p9%t\016%e\017%;, use=xterm-xf86-v40,
+           %p7%t;8%;m%?%p9%t\016%e\017%;,
+       use=xterm-xf86-v40,
 
 # This version was released in XFree86 4.4.
 xterm-xf86-v44|xterm terminal emulator (XFree86 4.4 Window System),
@@ -4162,8 +4181,8 @@ xterm+app|fragment with cursor keys in application mode,
        khome=\EOH,
 #
 # The "PC-style" modifier scheme was introduced in xterm patch #94 (1999/3/27)
-# and revised in patch #167 (2002/8/24).  Some other terminal emulators copied
-# the earlier scheme, as noted in the "use=" clauses in this file.
+# and revised in xterm patch #167 (2002/8/24).  Some other terminal emulators
+# copied the earlier scheme, as noted in the "use=" clauses in this file.
 #
 # The original assignments from patch #94 for cursor-keys had some technical
 # issues:
@@ -4334,7 +4353,9 @@ xterm-basic|modern xterm terminal emulator - common,
 xterm-xi|xterm on XI Graphics Accelerated X under BSD/OS 3.1,
        rmso=\E[m, rmul=\E[m, use=xterm-xf86-v33,
 
-# 16-colors is one of the variants of XFree86 3.3 xterm, updated for 4.0 (T.Dickey)
+# 16-colors is one of the variants of XFree86 3.3 xterm, updated for 4.0
+# (T.Dickey)
+#
 # If configured to support 88- or 256-colors (which is fairly common in 2009),
 # xterm also recognizes the control sequences for initc -TD
 xterm-16color|xterm with 16 colors like aixterm,
@@ -4345,7 +4366,7 @@ xterm-16color|xterm with 16 colors like aixterm,
        use=xterm-new,
 
 # 256-colors is a compile-time feature of XFree86 xterm beginning with
-# patch #111 (1999/7/10) -TD
+# xterm patch #111 (1999/7/10) -TD
 xterm+256color|xterm 256-color feature,
        ccc,
        colors#256, pairs#32767,
@@ -4370,7 +4391,7 @@ xterm+256setaf|xterm 256-color (set-only),
        setb@, setf@,
 
 # 88-colors is a compile-time feature of XFree86 xterm beginning with
-# patch #115 (1999/9/18) -TD
+# xterm patch #115 (1999/9/18) -TD
 #
 # Note that the escape sequences used are the same as for 256-colors - xterm
 # has a different table of default color resource values.  If built for
@@ -4783,7 +4804,8 @@ xtermc|xterm terminal emulator (color),
        setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}
             %=%t3%e%p1%d%;m,
        setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}
-            %=%t3%e%p1%d%;m, use=xtermm,
+            %=%t3%e%p1%d%;m,
+       use=xtermm,
 
 # From: David J. MacKenzie <djm@va.pubnix.com> 20 Apr 1995
 # Here's a termcap entry I've been using for xterm_color, which comes
@@ -4935,7 +4957,8 @@ gnome-rh90|GNOME Terminal,
 gnome-fc5|GNOME Terminal,
        rs1=\Ec,
        rs2=\E7\E[r\E8\E[m\E[?7h\E[!p\E[?1;3;4;6l\E[4l\E>\E[?1000l
-           \E[?25h, use=ansi+enq, use=xterm+pcc0, use=gnome-rh90,
+           \E[?25h,
+       use=ansi+enq, use=xterm+pcc0, use=gnome-rh90,
 
 # GNOME Terminal 2.18.1 (2007 snapshot)
 #
@@ -5256,9 +5279,9 @@ rxvt-basic|rxvt terminal base (X Window System),
        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
-       enacs=\E(B\E)0, flash=\E[?5h\E[?5l, home=\E[H, ht=^I,
-       hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L,
-       ind=^J, is1=\E[?47l\E=\E[?1l,
+       enacs=\E(B\E)0, flash=\E[?5h$<100/>\E[?5l, home=\E[H,
+       ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL,
+       il1=\E[L, ind=^J, is1=\E[?47l\E=\E[?1l,
        is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l, kbs=^H,
        kcbt=\E[Z, kmous=\E[M, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O,
        rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmkx=\E>, rmso=\E[27m,
@@ -5383,8 +5406,8 @@ rxvt+pcfkeys|fragment for PC-style fkeys,
 # dates, nor give developer's names.  Initial color support was added for rxvt
 # "2.0", which was sometime in 1994.
 #
-# rxvt had usable color support with 2.16 (April 2, 1996), with some help by my work on
-# vttest, as well as bug reports to Mark Olesen.  For instance, the fix
+# rxvt had usable color support with 2.16 (April 2, 1996), with some help by my
+# work on vttest, as well as bug reports to Mark Olesen.  For instance, the fix
 # mentioned here
 #      http://web.archiveorange.com/archive/v/6ETvLb5wHtbbzCaS4S9J
 # was from one of my bug-reports -TD
@@ -5408,11 +5431,13 @@ rxvt-xpm|rxvt terminal emulator (X Window System),
 rxvt-cygwin|rxvt terminal emulator (X Window System) on cygwin,
        acsc=+\257\,\256-\^0\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, use=rxvt,
+            \302x\263y\363z\362{\343|\330}\234~\376,
+       use=rxvt,
 rxvt-cygwin-native|rxvt terminal emulator (native MS Window System port) on cygwin,
        acsc=+\257\,\256-\^0\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~\376, use=rxvt-cygwin,
+            \302x\263y\363z\362{\343|\330~\376,
+       use=rxvt-cygwin,
 
 # This variant is supposed to work with rxvt 2.7.7 when compiled with
 # NO_BRIGHTCOLOR defined.  rxvt needs more work...
@@ -5804,10 +5829,17 @@ mgr-linux|Mgr window with Linux keyboard,
 # Reviewed st 0.5:
 # implements control-modifier, but not control-shift for special keys
 # implements alt-modifier, but not alt-shift for special keys
+#
+# Reviewed st 0.6:
+#      http://git.suckless.org/st/log/st.info
+# Tmux unofficial extensions, see TERMINFO EXTENSIONS in tmux(1)
+# still has no function keys past kf36 (no combinations of modifiers)
+# no application keypad mode, e.g, kent.
 st|stterm| simpleterm 0.4.1,
-       am, bce, eo, hs, mir, msgr, xenl,
-       colors#8, cols#80, it#8, lines#24, ncv#3, pairs#64,
-       acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
+       am, bce, hs, mir, msgr, npc, xenl, Tc, XT,
+       colors#8, cols#80, it#8, lines#24, pairs#64,
+       acsc=+C\,D-A.B0E``aaffgghFiGjjkkllmmnnooppqqrrssttuuvvwwxxyy
+            zz{{||}}~~,
        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
        clear=\E[H\E[2J, cnorm=\E[?12l\E[?25h, cr=^M,
        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
@@ -5815,49 +5847,52 @@ st|stterm| simpleterm 0.4.1,
        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
        cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
        dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K,
-       enacs=\E)0, flash=\E[?5h\E[?5l, fsl=^G, home=\E[H,
+       enacs=\E)0, flash=\E[?5h$<100/>\E[?5l, fsl=^G, home=\E[H,
        hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
        il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS,
-       is2=\E[4l\E>\E[?1034l, kDC=\E[3;2~, kEND=\E[1;2F,
-       kHOM=\E[1;2H, kIC=\E[2;2~, kLFT=\E[1;2D, kNXT=\E[6;2~,
-       kPRV=\E[5;2~, kRIT=\E[1;2C, ka1=\E[1~, ka3=\E[5~, kb2=\EOu,
-       kbs=\177, kc1=\E[4~, kc3=\E[6~, kcbt=\E[Z, kclr=\E[3;5~,
-       kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
-       kdch1=\E[3~, kdl1=\E[3;2~, ked=\E[1;5F, kel=\E[1;2F,
-       kend=\E[4~, kent=\EOM, kf1=\EOP, kf10=\E[21~, kf11=\E[23~,
-       kf12=\E[24~, kf13=\E[1;2P, kf14=\E[1;2Q, kf15=\E[1;2R,
-       kf16=\E[1;2S, kf17=\E[15;2~, kf18=\E[17;2~,
-       kf19=\E[18;2~, kf2=\EOQ, kf20=\E[19;2~, kf21=\E[20;2~,
-       kf22=\E[21;2~, kf23=\E[23;2~, kf24=\E[24;2~,
-       kf25=\E[1;5P, kf26=\E[1;5Q, kf27=\E[1;5R, kf28=\E[1;5S,
-       kf29=\E[15;5~, kf3=\EOR, kf30=\E[17;5~, kf31=\E[18;5~,
-       kf32=\E[19;5~, kf33=\E[20;5~, kf34=\E[21;5~,
-       kf35=\E[23;5~, kf36=\E[24;5~, kf37=\E[1;6P, kf38=\E[1;6Q,
-       kf39=\E[1;6R, kf4=\EOS, kf40=\E[1;6S, kf41=\E[15;6~,
-       kf42=\E[17;6~, kf43=\E[18;6~, kf44=\E[19;6~,
-       kf45=\E[20;6~, kf46=\E[21;6~, kf47=\E[23;6~,
-       kf48=\E[24;6~, kf49=\E[1;3P, kf5=\E[15~, kf50=\E[1;3Q,
-       kf51=\E[1;3R, kf52=\E[1;3S, kf53=\E[15;3~, kf54=\E[17;3~,
+       invis=\E[8m, is2=\E[4l\E>\E[?1034l, kDC=\E[3;2~,
+       kEND=\E[1;2F, kHOM=\E[1;2H, kIC=\E[2;2~, kLFT=\E[1;2D,
+       kNXT=\E[6;2~, kPRV=\E[5;2~, kRIT=\E[1;2C, ka1=\E[1~,
+       ka3=\E[5~, kb2=\EOu, kbs=\177, kc1=\E[4~, kc3=\E[6~,
+       kcbt=\E[Z, kclr=\E[3;5~, kcub1=\EOD, kcud1=\EOB,
+       kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~, kdl1=\E[3;2~,
+       ked=\E[1;5F, kel=\E[1;2F, kend=\E[4~, kent=\EOM, kf1=\EOP,
+       kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[1;2P,
+       kf14=\E[1;2Q, kf15=\E[1;2R, kf16=\E[1;2S, kf17=\E[15;2~,
+       kf18=\E[17;2~, kf19=\E[18;2~, kf2=\EOQ, kf20=\E[19;2~,
+       kf21=\E[20;2~, kf22=\E[21;2~, kf23=\E[23;2~,
+       kf24=\E[24;2~, kf25=\E[1;5P, kf26=\E[1;5Q, kf27=\E[1;5R,
+       kf28=\E[1;5S, kf29=\E[15;5~, kf3=\EOR, kf30=\E[17;5~,
+       kf31=\E[18;5~, kf32=\E[19;5~, kf33=\E[20;5~,
+       kf34=\E[21;5~, kf35=\E[23;5~, kf36=\E[24;5~,
+       kf37=\E[1;6P, kf38=\E[1;6Q, kf39=\E[1;6R, kf4=\EOS,
+       kf40=\E[1;6S, kf41=\E[15;6~, kf42=\E[17;6~,
+       kf43=\E[18;6~, kf44=\E[19;6~, kf45=\E[20;6~,
+       kf46=\E[21;6~, kf47=\E[23;6~, kf48=\E[24;6~,
+       kf49=\E[1;3P, kf5=\E[15~, kf50=\E[1;3Q, kf51=\E[1;3R,
+       kf52=\E[1;3S, kf53=\E[15;3~, kf54=\E[17;3~,
        kf55=\E[18;3~, kf56=\E[19;3~, kf57=\E[20;3~,
        kf58=\E[21;3~, kf59=\E[23;3~, kf6=\E[17~, kf60=\E[24;3~,
        kf61=\E[1;4P, kf62=\E[1;4Q, kf63=\E[1;4R, kf7=\E[18~,
        kf8=\E[19~, kf9=\E[20~, khome=\E[1~, kich1=\E[2~,
        kil1=\E[2;5~, kind=\E[1;2B, kmous=\E[M, knp=\E[6~,
-       kpp=\E[5~, kri=\E[1;2A, krmir=\E[2;2~, op=\E[39;49m,
-       rc=\E8, rev=\E[7m, ri=\EM, ritm=\E[23m, rmacs=\E(B,
-       rmcup=\E[?1049l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m,
-       rmul=\E[m, rs1=\Ec, rs2=\E[4l\E>\E[?1034l, sc=\E7,
-       setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
+       kpp=\E[5~, kri=\E[1;2A, krmir=\E[2;2~, mc0=\E[i, mc4=\E[4i,
+       mc5=\E[5i, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM,
+       ritm=\E[23m, rmacs=\E(B, rmcup=\E[?1049l, rmir=\E[4l,
+       rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, rs1=\Ec,
+       rs2=\E[4l\E>\E[?1034l, sc=\E7, setab=\E[4%p1%dm,
+       setaf=\E[3%p1%dm,
        setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}
             %=%t3%e%p1%d%;m,
        setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}
             %=%t3%e%p1%d%;m,
        sgr=%?%p9%t\E(0%e\E(B%;\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|
-           %t;7%;%?%p4%t;5%;m,
+           %t;7%;%?%p4%t;5%;%?%p7%t;8%;m,
        sgr0=\E[0m, sitm=\E[3m, smacs=\E(0, smcup=\E[?1049h,
        smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
        tbc=\E[3g, tsl=\E]0;, u6=\E[%i%d;%dR, u7=\E[6n,
-       u8=\E[?1;2c, u9=\E[c, vpa=\E[%i%p1%dd,
+       u8=\E[?1;2c, u9=\E[c, vpa=\E[%i%p1%dd, Se=\E[2 q,
+       Ss=\E[%p1%d q,
 #
 # st-0.1.1
 #
@@ -5906,7 +5941,8 @@ st-16color|stterm-16color|simpleterm with 16-colors,
 # terminal wants to use TERM=stterm-256color, but that is longer than 14
 # characters, making the choice nonportable.
 st-256color|stterm-256color|simpleterm with 256 colors,
-       use=xterm+256color, use=st,
+       ccc@,
+       initc@, oc@, use=xterm+256color, use=st,
 
 #### TERMINATOR
 # https://code.google.com/p/jessies/
@@ -5926,7 +5962,8 @@ st-256color|stterm-256color|simpleterm with 256 colors,
 #    a line.
 # b) has xterm-style shifted function-key strings
 #    meta also is used, but control is ignored.
-# c) has xterm-style modifiers for cursor keys (shift, control, shift+control, meta)
+# c) has xterm-style modifiers for cursor keys (shift, control, shift+control,
+#    meta)
 # d) some combinations of shift/control send xterm-style sequences for
 #    insert/delete/home/end.
 # e) numeric keypad sends only numbers (compare with vttest).
@@ -6069,6 +6106,9 @@ pty|4bsd pseudo teletype,
 
 #### Emacs
 
+# https://www.emacswiki.org/emacs/AnsiTerm
+# https://github.com/emacs-mirror/emacs/blob/master/lisp/term.el
+#
 # The codes supported by the term.el terminal emulation in GNU Emacs 19.30
 eterm|gnu emacs term.el terminal emulation,
        am, mir, xenl,
@@ -6105,6 +6145,26 @@ eterm-color|Emacs term.el terminal emulator term-protocol-version 0.96,
        sgr0=\E[m, smir=\E[4h, smso=\E[7m, smul=\E[4m,
        u6=\E[%i%d;%dR, u7=\E[6n,
 
+# shell.el can "do" color, though not nearly as well.
+#
+# seen here:
+# http://unix.stackexchange.com/questions/237943/changing-colors-used-by-ls-does-not-work-in-emacs-shell-mode
+#
+# and
+# https://lists.gnu.org/archive/html/bug-gnu-emacs/2012-08/msg00481.html
+# https://github.com/emacs-mirror/emacs/blob/master/lisp/shell.el
+# https://github.com/emacs-mirror/emacs/blob/master/lisp/ansi-color.el
+#
+# however, as tested with Emacs 24.5.1, the result is buggy, losing overlays
+# frequently.  The contemporaneous term.el aka ansi-term does not "support"
+# italics but does not lose the color information -TD 2017/01/28.
+dumb-emacs-ansi|Emacs dumb terminal with ANSI color codes,
+       am, hc,
+       colors#8, it#8, ncv#13, pairs#64,
+       bold=\E[1m, cud1=^J, ht=^I, ind=^J, op=\E[39;49m,
+       ritm=\E[23m, rmul=\E[24m, setab=\E[4%p1%dm,
+       setaf=\E[3%p1%dm, sgr0=\E[m, sitm=\E[3m, smul=\E[4m,
+
 #### Screen
 
 # Entries for use by the `screen' program by Juergen Weigert,
@@ -6313,7 +6373,8 @@ screen.teraterm|disable ncv in teraterm,
        ncv#127,
        acsc=+\020\,\021-\030.^Y0\333`\004a\261f\370g\361h\260i
             \316j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u
-            \264v\301w\302x\263y\363z\362{\343|\330}\234~\376, use=screen+fkeys, use=screen,
+            \264v\301w\302x\263y\363z\362{\343|\330}\234~\376,
+       use=screen+fkeys, use=screen,
 # Other terminals
 screen.rxvt|screen in rxvt,
        bw, XT,
@@ -6407,15 +6468,87 @@ screen3|older VT 100/ANSI X3.64 virtual terminal,
        sc=\E7, sgr0=\E[m, smir=\E[4h, smkx=\E=, smso=\E[3m,
        smul=\E[4m, tbc=\E[3g,
 
+#### Tmux
+
 # tmux is compatible with screen, but has support for italics, and some of the
 # xterm cursor bits.
 tmux|tmux terminal multiplexer,
-       ritm=\E[23m, rmso=\E[27m, sitm=\E[3m, smso=\E[7m, Ms@,
-       use=xterm+sl, use=xterm+tmux, use=screen,
+       ritm=\E[23m, rmso=\E[27m, sitm=\E[3m, smso=\E[7m,
+       use=xterm+edit, use=xterm+pcfkeys, use=xterm+sl,
+       use=xterm+tmux, use=screen,
 
 tmux-256color|tmux with 256 colors,
        use=xterm+256setaf, use=tmux,
 
+#### Dvtm
+
+# dvtwm 0.15
+# http://www.brain-dump.org/projects/dvtm/
+#
+# + This uses ncurses to manage the display, including support for italics and
+#   default-colors.
+# + However, default-colors are incomplete: do not set bce.
+# + It does not implement flash (since no \e[?5h)
+# + Do not set XT: dvtm knows about OSC 0 and 2, but not 1.
+#   Oddly enough, if $TERM contains "linux", it attempts to set the title.
+# + Some of the program is cut/paste from rxvt-unicode, e.g., the ACS table.
+# + The built-in table of function-keys (based on rxvt) is incomplete (ends
+#   with kf22).
+# + It also omits the shifted cursor- and editing-keypad keys.
+#   However, it is confused by xterm's shifted cursor- and editing-keypad keys
+#   (and passes those through without interpretation)
+#   and may simply pass-through rxvt's, making it appear to work.
+#   In other cases such as kf23 and up, no pass-through is done.
+# + Most of the mode-settings in the initialization/reset strings are not
+#   implemented; dvtm copies its description from rxvt.
+dvtm|dynamic virtual terminal manager,
+       am, eo, mir, msgr, xenl, AX,
+       colors#8, cols#80, it#8, lines#24, ncv@, pairs#64,
+       acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
+       bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
+       clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
+       csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
+       cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
+       cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
+       dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
+       enacs=\E(B\E)0, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH,
+       ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
+       is1=\E[?47l\E=\E[?1l,
+       is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l,
+       kDC=\E[3$, kEND=\E[8$, kHOM=\E[7$, kIC=\E[2$, kLFT=\E[d,
+       kNXT=\E[6$, kPRV=\E[5$, kRIT=\E[c, ka1=\EOw, ka3=\EOy,
+       kb2=\EOu, kbs=\177, kc1=\EOq, kc3=\EOs, kcbt=\E[Z,
+       kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
+       kdch1=\E[3~, kel=\E[8\^, kend=\E[8~, kent=\EOM, kf0=\E[21~,
+       kf1=\E[11~, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
+       kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~,
+       kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\E[12~,
+       kf20=\E[34~, kf21=\E[23$, kf22=\E[24$, kf3=\E[13~,
+       kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~,
+       kf9=\E[20~, kfnd=\E[1~, khome=\E[7~, kich1=\E[2~,
+       kind=\E[a, kmous=\E[M, knp=\E[6~, kpp=\E[5~, kri=\E[b,
+       kslt=\E[4~, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM,
+       ritm=\E[23m, rmacs=^O, rmcup=\E[2J\E[?47l\E8, rmir=\E[4l,
+       rmso=\E[27m, rmul=\E[24m,
+       rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H,
+       rs2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E>\E[?1000l\E[?
+           25h,
+       s0ds=\E(B, s1ds=\E(0, sc=\E7, setab=\E[4%p1%dm,
+       setaf=\E[3%p1%dm,
+       sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?
+           %p9%t\016%e\017%;,
+       sgr0=\E[m\017, sitm=\E[3m, smacs=^N, smcup=\E7\E[?47h,
+       smir=\E[4h, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
+       vpa=\E[%i%p1%dd,
+
+dvtm-256color|dynamic virtual terminal manager with 256 colors,
+       colors#256, pairs#32767,
+       setab=\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;
+             5;%p1%d%;m,
+       setaf=\E[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5
+             ;%p1%d%;m,
+       use=dvtm,
+
 #### NCSA Telnet
 
 # Francesco Potorti <F.Potorti@cnuce.cnr.it>:
@@ -6439,7 +6572,7 @@ tmux-256color|tmux with 256 colors,
 #
 # Other special mappings:
 #      Apple           VT220
-#      HELP            Find
+#      HELP            Find
 #      HOME            Insert here
 #      PAGEUP          Remove
 #      DEL             Select
@@ -6461,10 +6594,10 @@ ncsa-m|ncsa-vt220-8|NCSA Telnet 2.6 for Macintosh in vt220-8 mode,
        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
-       el=\E[K, el1=\E[1K, enacs=\E)0, flash=\E[?5h\E[?5l,
-       home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
-       if=/usr/share/tabset/vt100, il=\E[%p1%dL, il1=\E[L,
-       ind=\n$<150*>,
+       el=\E[K, el1=\E[1K, enacs=\E)0,
+       flash=\E[?5h$<100/>\E[?5l, home=\E[H, ht=^I, hts=\EH,
+       ich=\E[%p1%d@, if=/usr/share/tabset/vt100,
+       il=\E[%p1%dL, il1=\E[L, ind=\n$<150*>,
        is2=\E7\E[r\E[m\E[?7h\E[?1;4;6l\E[4l\E8\E>, kbs=^H,
        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
        kdch1=\E[4~, kend=\E[5~, kf1=\E[17~, kf10=\E[28~,
@@ -6830,7 +6963,8 @@ nwp512|news|nwp514|news40|vt100-bm|old sony vt100 emulator 40 lines,
        OTbs,
        lines#40,
        is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;40
-           r\E8, use=news-old-unk,
+           r\E8,
+       use=news-old-unk,
 #
 # (nwp512-a: this had :TY=ascii: and the alias vt100-bm --esr)
 nwp512-a|nwp514-a|news-a|news42|news40-a|sony vt100 emulator 42 line,
@@ -6843,14 +6977,16 @@ nwp512-o|nwp514-o|news-o|news40-o|vt100-bm-o|sony vt100 emulator 40 lines,
        OTbs,
        lines#40,
        is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;40
-           r\E8, use=news-old-unk,
+           r\E8,
+       use=news-old-unk,
 #
 # (nwp513: this had :DE=^H: and the alias vt100-bm --esr)
 nwp513|nwp518|nwe501|newscbm|news31|sony vt100 emulator 33 lines,
        OTbs,
        lines#31,
        is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;31
-           r\E8, use=news-old-unk,
+           r\E8,
+       use=news-old-unk,
 #
 # (nwp513-a: this had :TY=ascii: and :DE=^H:, which I interpret as <OTbs>; --esr)
 # also the alias vt100-bm.
@@ -6858,27 +6994,31 @@ nwp513-a|nwp518-a|nwe501-a|nwp251-a|newscbm-a|news31-a|newscbm33|news33|old sony
        OTbs,
        lines#33,
        is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;33
-           r\E8, use=news-old-unk,
+           r\E8,
+       use=news-old-unk,
 #
 # (nwp513-o: had :DE=^H:, I think that's <OTbs>; also the alias vt100-bm --esr)
 nwp513-o|nwp518-o|nwe501-o|nwp251-o|newscbm-o|news31-o|old sony vt100 emulator 33 lines,
        OTbs,
        lines#31,
        is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;31
-           r\E8, use=news-old-unk,
+           r\E8,
+       use=news-old-unk,
 #
 # (news28: this had :DE=^H:, I think that's <OTbs>, and :KB=nws1200: --esr)
 news28|sony vt100 emulator 28 lines,
        OTbs,
        lines#28,
        is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;28
-           r\E8, use=news-old-unk,
+           r\E8,
+       use=news-old-unk,
 #
 # (news29: this had :TY=ascii:KB=nws1200:\ --esr)
 news29|news28-a|sony vt100 emulator 29 lines,
        lines#29,
        is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;29
-           r\E8, use=news-old-unk,
+           r\E8,
+       use=news-old-unk,
 #
 # (news511: this had :TY=sjis: --esr)
 nwp511|nwp-511|nwp-511 vt100,
@@ -6968,15 +7108,15 @@ ansi-emx|ANSI.SYS color,
        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
        clear=\E[1;33;44m\E[H\E[J, cnorm=\E[?25h, cr=^M, cub1=^H,
        cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
-       dch=\E[%p1%dp, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l,
-       home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, ind=^J,
-       kb2=\E[G, kbs=^H, kf0=\0D, kll=\0O, kspd=^Z, nel=^M^J,
-       rev=\E[5;37;41m, rmir=\E[4l, rmpch=\E[10m,
-       rmso=\E[0;44m\E[1;33m, rmul=\E[0;44m\E[1;33m, rs1=\Ec,
-       setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
-       sgr0=\E[0m\E[1;33;44m, smir=\E[4h, smpch=\E[11m,
-       smso=\E[0;31;47m, smul=\E[1;31;44m, tbc=\E[3g, u8=\E[?6c,
-       u9=\E[c, use=emx-base,
+       dch=\E[%p1%dp, ed=\E[J, el=\E[K,
+       flash=\E[?5h$<100/>\E[?5l, home=\E[H, ht=^I, hts=\EH,
+       ich=\E[%p1%d@, ich1=\E[@, ind=^J, kb2=\E[G, kbs=^H, kf0=\0D,
+       kll=\0O, kspd=^Z, nel=^M^J, rev=\E[5;37;41m, rmir=\E[4l,
+       rmpch=\E[10m, rmso=\E[0;44m\E[1;33m,
+       rmul=\E[0;44m\E[1;33m, rs1=\Ec, setab=\E[4%p1%dm,
+       setaf=\E[3%p1%dm, sgr0=\E[0m\E[1;33;44m, smir=\E[4h,
+       smpch=\E[11m, smso=\E[0;31;47m, smul=\E[1;31;44m,
+       tbc=\E[3g, u8=\E[?6c, u9=\E[c, use=emx-base,
 # nice colors for Emacs (white on blue, mode line white on cyan)
 ansi-color-2-emx|ANSI.SYS color 2,
        clear=\E[0;37;44m\E[H\E[J, rev=\E[1;37;46m,
@@ -7697,15 +7837,15 @@ hp2621-nt|hp 2621 w/no tabs,
 # NOT set up by the initialization strings.
 #
 # Port Configuration
-#      RecvPace=Xon/Xoff
-#      XmitPace=Xon/Xoff
-#      StripNulDel=Yes
+#      RecvPace=Xon/Xoff
+#      XmitPace=Xon/Xoff
+#      StripNulDel=Yes
 #
 # Terminal Configuration
-#      InhHndShk=Yes
-#      InhDC2=Yes
-#      XmitFnctn(A)=No
-#      InhEolWrp=No
+#      InhHndShk=Yes
+#      InhDC2=Yes
+#      XmitFnctn(A)=No
+#      InhEolWrp=No
 #
 # Note: the 2624 DOES have a true <home>, believe it or not!
 #
@@ -7770,7 +7910,8 @@ hp2626-s|hp 2626 using only 23 lines,
 # Force terminal back to 24 lines after being 23.
 hp2626-ns|hp 2626 using all 24 lines,
        is1=\E&q3t0{0H\s\E&w0f118n1I\s\E&w0f1n2I\s\E&w2f1i0d0u23l0S
-           \s\E&w3f2I\s\E&w7f2p1I\s\r, use=hp2626,
+           \s\E&w3f2I\s\E&w7f2p1I\s\r,
+       use=hp2626,
 # Various entries useful for small windows on 2626.
 hp2626-12|hewlett-packard 2626 12 lines,
        lines#12, use=hp2626,
@@ -7834,8 +7975,7 @@ hp2645|hp45|HP 2645 series,
        kind=\ES, knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, rev=\E&dB,
        rmkx=\E&s0A,
        sgr=\E&d%{64}%?%p1%t%{66}%|%;%?%p2%t%{68}%|%;%?%p3%t%{66}%|
-           %;%?%p4%t%{65}%|%;%?%p5%t%{72}%|%;%?%p6%t%{66}%|
-           %;%c,
+           %;%?%p4%t%{65}%|%;%?%p5%t%{72}%|%;%?%p6%t%{66}%|%;%c,
        sgr0=\E&d@, smkx=\E&s1A, smul=\E&dD, use=hpgeneric,
 # You should use this terminal at 4800 baud or less.
 hp2648|hp2648a|HP 2648a graphics terminal,
@@ -8000,10 +8140,10 @@ hp2397a|hp2397|hewlett packard 2397A color terminal,
 # PC Character Set     YES
 # Twenty-Five Line Mode        YES
 # XON/XOFF             @128 or 64 (sc)
-# Keycode Mode                 NO   or YES (sc)
+# Keycode Mode         NO   or YES (sc)
 # Backspace Key                BS or BS/DEL
 #
-# <is2>        sets pcterm; autowrap; 25 lines; pc char set; prog DEL key;
+# <is2>                sets pcterm; autowrap; 25 lines; pc char set; prog DEL key;
 # \E\\? does not turn off keycode mode
 # <smsc>       sets alternate start/stop; keycode on
 hpansi|hp700|hewlett packard 700/44 in HP-PCterm mode,
@@ -8051,7 +8191,7 @@ hpsub|hp terminals -- capability subset,
 # but has no padding added, so may allow runover in some terminals at high
 # baud rates.  Will not work for hp2640a or hp2640b terminals, hp98x6 and
 # hp98x5 terminal emulators or hp98x6 consoles.
-#      Adds xy-cursor addressing, vertical cursor addressing, home,
+#      Adds xy-cursor addressing, vertical cursor addressing, home,
 # last line, and underline capabilities.
 #
 # (hpex: removed memory-lock capabilities ":ml=\El:mu=\Em:",
@@ -9049,7 +9189,7 @@ tvi912cc|tvi912 at cowell college,
 # 10: 110
 #
 # S2 UART/Terminal options:
-#              Up                      Down
+#              Up                      Down
 # 1:           Not used                Not allowed
 # 2:   Alternate character set   Standard character set
 # 3:       Full duplex             Half duplex
@@ -9060,10 +9200,10 @@ tvi912cc|tvi912 at cowell college,
 # 8:           Not used                Not allowed on Rev E or lower
 # 9:        Even parity             Odd parity
 # 10:      Steady cursor           Blinking cursor
-#      (On Rev E or lower, use W25 instead of switch 10.)
+#      (On Rev E or lower, use W25 instead of switch 10.)
 #
 # S5 UART/Terminal options:
-#              Open                    Closed
+#              Open                    Closed
 # 1:   P3-6 Not connected      DSR received on P3-6
 # 2:   P3-8 Not connected      DCD received on P3-8
 #
@@ -9073,8 +9213,8 @@ tvi912cc|tvi912 at cowell college,
 # 3 Closed, 4 Closed:  Not allowed
 #
 # 5 Closed:    HDX printer (hardware control) Rev. K with extension port off,
-#              all data transmitted out of the modem port (P3) will also be
-#              transmitted out of the printer port (P4).
+#              all data transmitted out of the modem port (P3) will also be
+#              transmitted out of the printer port (P4).
 #
 # 6 Open, 7 Open:              Not allowed
 # 6 Open, 7 Closed:    20ma current loop input
@@ -9086,12 +9226,12 @@ tvi912cc|tvi912 at cowell college,
 # is switched on).
 #
 # S4/W31:      Enables automatic LF upon receipt of CR from
-#              remote or keyboard.
+#              remote or keyboard.
 # S4/W32:      Enables transmission of EOT at the end of Send.  If not
-#              installed, a carriage return is sent.
+#              installed, a carriage return is sent.
 # S4/W33:      Disables automatic carriage return in column 80.
 # S4/W34:      Selects Page Print Mode as initial condition.  If not
-#              installed, Extension Mode is selected.
+#              installed, Extension Mode is selected.
 #
 # NON-STANDARD CAPABILITIES
 #
@@ -9415,10 +9555,10 @@ tvi924|televideo tvi924,
 # Position     Up      Dn      Description
 # --------------------------------------------
 # 1            X               Local edit
-#                      X       Duplex edit (transmit editing keys)
+#                      X       Duplex edit (transmit editing keys)
 # --------------------------------------------
 # 2            X               912/920 emulation
-#                      X       925
+#                      X       925
 # --------------------------------------------
 # 3                    X
 # 4                    X       No parity
@@ -9441,7 +9581,7 @@ tvi924|televideo tvi924,
 # 5            X
 # --------------------------------------------
 # 6            X               White on black display
-#                      X       Black on white display
+#                      X       Black on white display
 # --------------------------------------------
 # 7                    X       Half Duplex
 # 8                    X
@@ -9453,17 +9593,17 @@ tvi924|televideo tvi924,
 # 8            X
 # --------------------------------------------
 # 9                    X       50 Hz
-#              X               60 Hz
+#              X               60 Hz
 # --------------------------------------------
 # 10           X               CR/LF (Auto LF)
-#                      X       CR only
+#                      X       CR only
 #
 # S3 (internal switch) settings:
 #
 # Position     Up      Dn      Description
 # --------------------------------------------
 # 1            X               Keyclick off
-#                      X       Keyclick on
+#                      X       Keyclick on
 # --------------------------------------------
 # 2                    X       English
 # 3                    X
@@ -9490,19 +9630,19 @@ tvi924|televideo tvi924,
 # 5            X
 # --------------------------------------------
 # 6            X               Screen blanking timer (ON)
-#                      X       Screen blanking timer (OFF)
+#                      X       Screen blanking timer (OFF)
 # --------------------------------------------
 # 7            X               Page attributes
-#                      X       Line attributes
+#                      X       Line attributes
 # --------------------------------------------
 # 8            X               DCD disconnected
-#                      X       DCD connected
+#                      X       DCD connected
 # --------------------------------------------
 # 9            X               DSR disconnected
-#                      X       DSR connected
+#                      X       DSR connected
 # --------------------------------------------
 # 10           X               DTR Disconnected
-#                      X       DTR connected
+#                      X       DTR connected
 # --------------------------------------------
 #
 # (tvi925: BSD has <clear=\E*>.  I got <is2> and <ri> from there -- esr)
@@ -9685,8 +9825,9 @@ tvi950-4p|televideo950 w/4 pages,
 tvi950-rv|televideo950 rev video,
        flash=\Ed$<200/>\Eb,
        is2=\EDF\EC\Eb\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee\s\017\011\El
-           \E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0
-           \Ex4\r\0, use=tvi950,
+           \E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r
+           \0,
+       use=tvi950,
 
 # tvi950-rv-2p uses the appropriate entries from 950-2p and 950-rv
 tvi950-rv-2p|televideo950 rev video w/2 pages,
@@ -10166,8 +10307,8 @@ wy350|wyse350|Wyse 350,
        rmacs=\EG0\EH\003, rmir=\Er, rmln=\EA11, setb=,
        setf=%?%p1%{0}%=%t%{76}%e%p1%{1}%=%t%{64}%e%p1%{2}%=%t%{8}%e
             %p1%{3}%=%t%{72}%e%p1%{4}%=%t%{4}%e%p1%{5}%=%t%{68}%e
-            %p1%{6}%=%t%{12}%e%p1%{7}%=%t%{0}%;%PC\EG%gC%gA%+
-            %{48}%+%c,
+            %p1%{6}%=%t%{12}%e%p1%{7}%=%t%{0}%;%PC\EG%gC%gA%+%{48}
+            %+%c,
        sgr=%{0}%?%p4%t%{2}%|%;%?%p7%t%{1}%|%;%PA\EG%?%gC%t%gC%e%{0}
            %?%p1%t%{4}%|%;%?%p2%t%{8}%|%;%?%p3%t%{4}%|%;%?%p5%t
            %{64}%|%;%;%gA%+%{48}%+%c%?%p8%t\E)%e\E(%;%?%p9%t\EH
@@ -10443,8 +10584,7 @@ wy99-ansi|Wyse WY-99GT in ansi mode (int'l PC keyboard),
            \E[4i,
        sc=\E7,
        sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%O%t;7%;%?%p4%t;5%;%?
-           %p5%t;2%;%?%p7%t;8%;m\E[%?%p8%t1%;"q%?%p9%t\016%e
-           \017%;,
+           %p5%t;2%;%?%p7%t;8%;m\E[%?%p8%t1%;"q%?%p9%t\016%e\017%;,
        sgr0=\E[m\017\E["q, smacs=^N, smam=\E[?7h, smir=\E[4h,
        smkx=\E[?1h, smso=\E[7m, smul=\E[4m, vpa=\E[%i%p1%dd,
 
@@ -10610,7 +10750,7 @@ wy75|wyse75|wyse 75,
        dch1=\E[P$<3>, dim=\E[0t\E[2m, dl=\E[%p1%dM$<1*>,
        dl1=\E[M, dsl=\E[>\,\001\001\E[>-\001\001,
        ech=\E[%p1%dX, ed=\E[J$<30>, el=\E[K$<3>, el1=\E[1K$<3>,
-       enacs=\E)0, flash=\E[30h\E\,\E[30l$<250>, fsl=^A,
+       enacs=\E)0, flash=\E[30h\E\,$<250/>\E[30l, fsl=^A,
        home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH,
        ich=\E[%p1%d@$<1*>, il=\E[%p1%dL$<2*>, il1=\E[L$<2>,
        ind=\n$<2>, ip=$<1>,
@@ -10682,7 +10822,7 @@ wy85|wyse85|wyse 85,
        dch=\E[%p1%dP$<3*>, dch1=\E[P$<3>, dim=\E[2m,
        dl=\E[%p1%dM$<3*>, dl1=\E[M$<3>, dsl=\E[40l,
        ech=\E[%p1%dX, ed=\E[J$<110>, el=\E[K$<1>, el1=\E[1K,
-       enacs=\E)0, flash=\E[30h\E\,\E[30l$<300>,
+       enacs=\E)0, flash=\E[30h\E\,$<300/>\E[30l,
        fsl=\E[1;24r\E8, home=\E[H, ht=\011$<1>, hts=\EH,
        ich=\E[%p1%d@$<4*>, il=\E[%p1%dL$<5*>, il1=\E[L$<5>,
        ind=\n$<3>, invis=\E[8m, ip=$<3>, is1=\E[62;1"p\E[?5W,
@@ -10707,12 +10847,12 @@ wy85|wyse85|wyse 85,
 #
 #      Wyse 85 with visual bell.
 wy85-vb|wyse85-vb|wyse 85 with visible bell,
-       bel@, flash=\E[30h\E\,\E[30l$<300>, use=wy85,
+       bel@, flash=\E[30h\E\,$<300/>\E[30l, use=wy85,
 #
 #      Wyse 85 in 132-column mode.
 wy85-w|wyse85-w|wyse 85 in 132-column mode,
        cols#132, wsl#132,
-       rs2=\E[35h\E[?3h$<70>, use=wy85,
+       rs2=\E[35h$<70/>\E[?3h, use=wy85,
 #
 #      Wyse 85 in 132-column mode with visual bell.
 wy85-wvb|wyse85-wvb|wyse 85 with visible bell 132-columns,
@@ -10740,7 +10880,7 @@ wy85-8bit|wyse85-8bit|wyse 85 in 8-bit mode,
        dch=\E[%p1%dP$<3*>, dch1=\E[P$<3>, dim=\E[2m,
        dl=\E[%p1%dM$<3*>, dl1=\E[M$<3>, dsl=\E[40l,
        ech=\E[%p1%dX, ed=\E[J$<110>, el=\E[K$<1>, el1=\E[1K,
-       enacs=\E)0, flash=\E[30h\E\,\E[30l$<300>,
+       enacs=\E)0, flash=\E[30h\E\,$<300/>\E[30l,
        fsl=\E[1;24r\E8, home=\E[H, ht=\011$<1>, hts=\EH,
        ich=\E[%p1%d@$<4*>, il=\E[%p1%dL$<5*>, il1=\E[L$<5>,
        ind=\n$<3>, invis=\E[8m, ip=$<3>, is1=\E[62;1"p\E[?5W,
@@ -10788,7 +10928,7 @@ wy185|wyse185|wyse 185,
        dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>,
        dsl=\E7\E[99;0H\E[K\E8, ech=\E[%p1%dX, ed=\E[J$<40>,
        el=\E[K, el1=\E[1K, enacs=\E)0,
-       flash=\E[30h\E\,\E[30l$<100>, fsl=\E[1;24r\E8,
+       flash=\E[30h\E\,$<100/>\E[30l, fsl=\E[1;24r\E8,
        home=\E[H, hpa=\E[%i%p1%d`, ht=^I, hts=\EH,
        ich=\E[%p1%d@$<2>, il=\E[%p1%dL$<3*>, il1=\E[L$<3>,
        ind=\n$<2>, invis=\E[8m, ip=$<4>, is1=\E[?5W,
@@ -10968,7 +11108,7 @@ wy370-nk|wyse 370 without function keys,
        dclk=\E[31h, dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>,
        dsl=\E[40l, ech=\E[%p1%dX$<.1*>, ed=\E[J$<40>,
        el=\E[K$<10>, el1=\E[1K$<12>, enacs=\E)0,
-       flash=\E[30h\E\,\E[30l$<300>, fsl=\E[1;24r\E8,
+       flash=\E[30h\E\,$<300/>\E[30l, fsl=\E[1;24r\E8,
        home=\E[H, hpa=\E[%i%p1%d`, ht=\011$<1>, hts=\EH,
        ich=\E[%p1%d@$<1*>, il=\E[%p1%dL$<2*>, il1=\E[L$<2>,
        ind=\n$<2>,
@@ -11040,7 +11180,7 @@ wy370-w|Wyse 370 in 132-column mode,
 #
 #      Wyse 370 in 132-column mode with visual bell.
 wy370-wvb|Wyse 370 with visible bell 132-columns,
-       flash=\E[30h\E\,\E[30l$<300>, use=wy370-w,
+       flash=\E[30h\E\,$<300/>\E[30l, use=wy370-w,
 wy370-rv|Wyse 370 reverse video,
        rs3=\E[32h\E[?5h, use=wy370,
 #
@@ -11162,7 +11302,7 @@ wy520-24|wyse520-24|wyse 520 with 24 data lines,
 #
 #       Wyse 520 with visual bell.
 wy520-vb|wyse520-vb|wyse 520 with visible bell,
-       flash=\E[30h\E\,\E[30l$<100>, use=wy520,
+       flash=\E[30h\E\,$<100/>\E[30l, use=wy520,
 #
 #       Wyse 520 in 132-column mode.
 wy520-w|wyse520-w|wyse 520 in 132-column mode,
@@ -11172,7 +11312,7 @@ wy520-w|wyse520-w|wyse 520 in 132-column mode,
 #
 #       Wyse 520 in 132-column mode with visual bell.
 wy520-wvb|wyse520-wvb|wyse 520 with visible bell 132-columns,
-       flash=\E[30h\E\,\E[30l$<100>, use=wy520-w,
+       flash=\E[30h\E\,$<100/>\E[30l, use=wy520-w,
 #
 #
 #       Wyse 520 emulating a vt420 7 bit mode.
@@ -11198,7 +11338,7 @@ wy520-epc-24|wyse520-pc-24|wyse 520 with 24 data lines and EPC keyboard,
 #
 #       Wyse 520 with visual bell.
 wy520-epc-vb|wyse520-pc-vb|wyse 520 with visible bell and EPC keyboard,
-       flash=\E[30h\E\,\E[30l$<100>, use=wy520-epc,
+       flash=\E[30h\E\,$<100/>\E[30l, use=wy520-epc,
 #
 #       Wyse 520 in 132-column mode.
 wy520-epc-w|wyse520-epc-w|wyse 520 in 132-column mode with EPC keyboard,
@@ -11208,7 +11348,7 @@ wy520-epc-w|wyse520-epc-w|wyse 520 in 132-column mode with EPC keyboard,
 #
 #       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,
-       flash=\E[30h\E\,\E[30l$<100>, use=wy520-epc-w,
+       flash=\E[30h\E\,$<100/>\E[30l, use=wy520-epc-w,
 #
 #       Wyse 520 in 80-column, 36 lines
 wy520-36|wyse520-36|wyse 520 with 36 data lines,
@@ -11366,7 +11506,8 @@ msk227am|mskermit227am|UCB MS-DOS Kermit 2.27 with automatic margins,
        am,
        cvvis=\EO\Eq\EG\EvK5,
        is2=\EO\Eq\EG\Ev\EJ\EY7\sK5\sMS\sKermit\s2.27\s+automatic
-           \smargins\s3-17-85\n, use=msk227,
+           \smargins\s3-17-85\n,
+       use=msk227,
 # MS-DOS Kermit 2.27 UCB 227.14 for the IBM PC
 # Automatic margins now default.  Use ansi <sgr> for highlights.
 # Define function keys.
@@ -11395,7 +11536,8 @@ vt320-k3|MS-Kermit 3.00's vt320 emulation,
        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
        dsl=\E[0$~, ech=\E[%p1%dX, ed=\E[J, el=\E[K,
-       flash=\E[?5h\E[?5l\E[?5h\E[?5l\E[?5h\E[?5l,
+       flash=\E[?5h$<100/>\E[?5l\E[?5h$<100/>\E[?5l\E[?5h$<100/>\E[
+             ?5l,
        fsl=\E[0$}, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH,
        ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J,
        is2=\E>\E F\E[?1h\E[?7h\E[r\E[2$~, kbs=^H, kcub1=\EOD,
@@ -11424,8 +11566,9 @@ vt320-k311|dec vt320 series as defined by kermit 3.11,
        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
        dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J, el=\E[K,
-       flash=\E[?5h\E[?5l, fsl=\E[$}, home=\E[H, ht=^I, hts=\EH,
-       ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L$<3/>, ind=\ED,
+       flash=\E[?5h$<100/>\E[?5l, fsl=\E[$}, home=\E[H, ht=^I,
+       hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L$<3/>,
+       ind=\ED,
        is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H,
        kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~,
@@ -11477,7 +11620,7 @@ vt320-k311|dec vt320 series as defined by kermit 3.11,
 # (^V^L and ^V^M set the current attribute as a side-effect.)
 # ^V ^Y <a> [...] <c>  -- repeat pattern. <a> specifies the number of bytes
 #                         in the pattern, <c> the number of times the pattern
-#                         should be repeated. If either value is 0, no-op.
+#                         should be repeated. If either value is 0, no-op.
 #                         The pattern can contain Avatar console codes,
 #                         including other ^V ^Y patterns.
 #                              level 1:
@@ -11630,8 +11773,8 @@ att2350|AT&T 2350 Video Information Terminal 80 column mode,
 # Seems upward compatible with vt100, plus ins/del line/char.
 # On sgr, the protection parameter is ignored.
 # No check is made to make sure that only 3 parameters are output.
-#      standout= reverse + half-intensity = 3 | 5.
-#      bold= reverse + underline = 2 | 3.
+#      standout= reverse + half-intensity = 3 | 5.
+#      bold= reverse + underline = 2 | 3.
 # note that half-bright blinking doesn't look different from normal blinking.
 # NOTE:you must program the function keys first, label second!
 # (att4410: a BSD entry has been seen with the following capabilities:
@@ -11765,8 +11908,7 @@ att4415|tty5420|att5420|AT&T 4415/5420 80 cols,
        rin=\E[%p1%dF, rmam=\E[?7l, rmir=\E[4l,
        rmkx=\E[19;0j\E[21;1j\212, rmln=\E|,
        sgr=\E[0%?%p1%p5%|%p6%|%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1
-           %|%p6%|%t;7%;%?%p7%t;8%;m%?%p8%t\EV%;%?%p9%t\016%e
-           \017%;,
+           %|%p6%|%t;7%;%?%p7%t;8%;m%?%p8%t\EV%;%?%p9%t\016%e\017%;,
        sgr0=\E[m\017, smam=\E[?7h, smir=\E[4h,
        smkx=\E[19;1j\E[21;4j\Eent, smln=\E~, tbc=\E[3g,
        tsl=\E7\E[25;%p1%{8}%+%dH, vpa=\E[%p1%{1}%+%dd,
@@ -11849,7 +11991,8 @@ att5420_2-w|AT&T 5420 model 2 in 132 column mode,
        cols#132,
        is1=\E[0;23r\Ex\Ey\E[2;0j\E[3;3j\E[4;0j\E[5;1j\E[6;0j\E[7;0j
            \E[8;0j\E[9;1j\E[10;0j\E[15;0j\E[16;1j\E[19;0j\E[20;1j
-           \E[29;0j\E[1;24r, use=att5420_2,
+           \E[29;0j\E[1;24r,
+       use=att5420_2,
 
 att4418|att5418|AT&T 5418 80 cols,
        am, xon,
@@ -11889,14 +12032,14 @@ att4420|tty4420|teletype 4420,
 #  asynchronous keyboard-display terminal.  It supports
 #  the vi editor.  The terminal must be set up as follows,
 #
-#      HIGHLIGHT DEFINITION    3-TONE
-#      DISPLAY FUNCTION        GROUP III
+#      HIGHLIGHT DEFINITION    3-TONE
+#      DISPLAY FUNCTION        GROUP III
 #
 #  The second entry below provides limited (a la adm3a)
 #  operation under GROUP II.
 #
 #  This must be used with DISPLAY FUNCTION GROUP I or III
-#      and HIGHLIGHT DEFINITION 3-TONE
+#      and HIGHLIGHT DEFINITION 3-TONE
 # The terminal has either bold or blink, depending on options
 #
 # (att4424: commented out <smcup>=\E[1m, we don't need bright locked on -- esr)
@@ -11981,8 +12124,7 @@ att5425|tty5425|att4425|AT&T 4425/5425,
        rmir=\E[4l, rmkx=\E[21;0j\E[25;1j\212, rmln=\E|,
        rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y, sc=\E7,
        sgr=\E[0%?%p5%p6%|%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6
-           %|%t;7%;%?%p7%t;8%;m%?%p8%t\EV%;%?%p9%t\016%e
-           \017%;,
+           %|%t;7%;%?%p7%t;8%;m%?%p8%t\EV%;%?%p9%t\016%e\017%;,
        sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
        smkx=\E[21;1j\E[25;4j\Eent\E~, smln=\E~, smso=\E[7m,
        smul=\E[4m, tbc=\E[3g, tsl=\E7\E[25;%p1%{8}%+%dH,
@@ -12170,8 +12312,7 @@ att5310|att5320|AT&T Model 53210 or 5320 matrix printer,
        cud=\E[%p1%de, cud1=^J, cuf=\E[%p1%da, cuf1=\s, cuu1=\EM,
        ff=^L, hpa=\E[%p1%d`, ht=^I, is1=\Ec, is2=\E[20l\r,
        lpi=%?%p1%{2}%=%t\E[4z%e%p1%{3}%=%t\E[5z%e%p1%{4}%=%t\E[6z%e
-           %p1%{6}%=%t\E[z%e%p1%{8}%=%t\E[2z%e%p1%{12}%=%t\E[
-           3z%;,
+           %p1%{6}%=%t\E[z%e%p1%{8}%=%t\E[2z%e%p1%{12}%=%t\E[3z%;,
        rshm=\E[m,
        scs=%?%p1%{0}%=%t\E(B%e%p1%{1}%=%t\E(A%e%p1%{2}%=%t\E(C%e%p1
            %{3}%=%t\E(D%e%p1%{4}%=%t\E(E%e%p1%{5}%=%t\E(H%e%p1%{6}
@@ -12476,7 +12617,7 @@ att630-24|5630-24|5630DMD-24|630MTG-24|AT&T 630 windowing terminal 24 lines,
 #
 # Here is what's going onm in the init string:
 #      ESC [ 50;4|     set 700 native mode (really is 605)
-# x    ESC [ 56;ps|    set lines to 24: ps=0; 40: ps=1 (plus status line)
+# x    ESC [ 56;ps|    set lines to 24: ps=0; 40: ps=1 (plus status line)
 #      ESC [ 53;0|     set GenFlow to Xon/Xoff
 #      ESC [ 8 ;0|     set CR on NL
 # x    ESC [ ? 3 l/h   set workspace: 80 col(l); 132 col(h)
@@ -12631,8 +12772,7 @@ att730|AT&T 730 windowing terminal,
        kich1=\E[@, kil1=\E[L, kind=\E[S, kri=\E[T,
        mc0=\E[?19h\E[0i, mc4=\E[?4i, mc5=\E[?5i, nel=\EE,
        pfx=\E[%?%p1%{25}%<%t%p1%e%p1%{24}%-%;%d;%p2%l%02d%?%p1%{25}
-           %<%tq\s\s\sSYS\s\s\s\s\sF%p1%:-2d\s\s%e;0;3q%;
-           %p2%s,
+           %<%tq\s\s\sSYS\s\s\s\s\sF%p1%:-2d\s\s%e;0;3q%;%p2%s,
        pfxl=\E[%p1%d;%p2%l%02d;0;0q%p3%:-16.16s%p2%s,
        pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8,
        rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, rmacs=^O,
@@ -13634,12 +13774,14 @@ citoh-elite|citoh in elite,
        cols#96,
        is1=\EE,
        is2=\E(009\,017\,025\,033\,041\,049\,057\,065\,073\,081\,089
-           ., use=citoh,
+           .,
+       use=citoh,
 citoh-comp|citoh in compressed,
        cols#136,
        is1=\EQ,
        is2=\E(009\,017\,025\,033\,041\,049\,057\,065\,073\,081\,089
-           \,097\,105\,113\,121\,129., use=citoh,
+           \,097\,105\,113\,121\,129.,
+       use=citoh,
 # citoh has infinite cols because we don't want lp ever inserting \n\t**.
 citoh-prop|citoh-ps|ips|citoh in proportional spacing mode,
        cols#32767,
@@ -13759,9 +13901,9 @@ visa50|geveke visa 50 terminal in ansi 80 character mode,
        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
        dch=\E[%p1%dX, dch1=\E[X, dim=\E[2m, dl=\E[%p1%dM,
-       dl1=\E[M, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l, home=\E[H,
-       hpa=\E[%i%p1%dG, ht=^I, ich=\E[%p1%d@, ich1=\E[@,
-       il=\E[%p1%dL, il1=\E[L, ind=^J, invis=\E[8m,
+       dl1=\E[M, ed=\E[J, el=\E[K, flash=\E[?5h$<100/>\E[?5l,
+       home=\E[H, hpa=\E[%i%p1%dG, ht=^I, ich=\E[%p1%d@,
+       ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, invis=\E[8m,
        is2=\E0;2m\E[1;25r\E[25;1H\E[?3l\E[?7h\E[?8h,
        ka1=\E[f, ka3=\EOQ, kb2=\EOP, kbs=^H, kc1=\EOR, kc3=\EOS,
        kcub1=\E[D, kcud1=\E[A, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177,
@@ -13923,7 +14065,7 @@ oc100|oconcept|c100-1p|old 1 page concept 100,
 # From: Walter Skorski <walt@genetics1.JMP.TJU.EDU>, 16-oct-1996.
 # Lots of notes, originally inline, but ncurses doesn't grok that.
 #
-# am:  not available in power on mode, but turned on with \E[=107;207h in
+# am:  not available in power on mode, but turned on with \E[=107;207h in
 #      is2=.  Also, \E=124l in is2= could have been used to prevent needing
 #      to specify xenl:, but that would have rendered the last space on the
 #      last line useless.
@@ -14112,7 +14254,7 @@ oc100|oconcept|c100-1p|old 1 page concept 100,
 #              %p1%{30}%>               ((key; 30) >;
 #              %p1%{54}%<                (key; 54) <
 #              %A                       ) AND
-#              %O                      ) OR
+#              %O                      ) OR
 #       [that is, "IF key < 24 OR (key > 30 AND key < 54)",]
 #              %t\E[           THEN    OUTPUT  \E[
 #              %p1%d                   OUTPUT  (key) as decimal
@@ -14178,8 +14320,7 @@ hds200|Human Designed Systems HDS200,
            \177\E$S\177\E[200;1u\177\E$A\177\E[201;1u\177\E$B\177
            \E[202;1u\177\E$C\177\E[203;1u\177\E$D\177\E[204;1u\177
            \E$H\177\E[212;1u\177\E$I\177\E[213;1u\177\E$\010\177\E[
-           214;1u"\E$\177"\E[2!w\E[25;25w\E[!w\E[2*w\E[2+x\E[
-           ;3+},
+           214;1u"\E$\177"\E[2!w\E[25;25w\E[!w\E[2*w\E[2+x\E[;3+},
        kDC=\E$\177, kHOM=\E$H, kLFT=\E$D, kRIT=\E$C, kbs=^H,
        kcbt=\E$I, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
        kdch1=\177, kent=^M, kf1=^\001\r, kf10=^\010\r,
@@ -14438,7 +14579,8 @@ dg+color|Color info for Data General D470C terminals in ANSI mode,
             %?%gR%t;7%;m,
        setf=\E[%?%p1%{8}%<%t3%e<%;%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?
             %p1%{4}%&%t%{1}%|%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;
-            %?%gR%t;7%;m, use=dg+color8,
+            %?%gR%t;7%;m,
+       use=dg+color8,
 
 dgmode+color8|Color info for Data General D220/D230C terminals in DG mode,
        bce,
@@ -14455,7 +14597,8 @@ dgmode+color|Color info for Data General D470C terminals in DG mode,
        setab=\036B%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1
              %{4}%&%t%{1}%|%;%;%{48}%+%c,
        setaf=\036A%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1
-             %{4}%&%t%{1}%|%;%;%{48}%+%c, use=dgmode+color8,
+             %{4}%&%t%{1}%|%;%;%{48}%+%c,
+       use=dgmode+color8,
 
 dgunix+ccc|Configurable color info for DG D430C terminals in DG-UNIX mode,
        bce, ccc,
@@ -14766,8 +14909,7 @@ d400|d400-dg|d450|d450-dg|Data General DASHER D400/D450 series,
        ll=\036FG\027, mc4=^^Fa, mc5=^^F`, ri=^^I, rmacs=^^O,
        rs1=^^FA, rs2=\036F]\036FT0,
        sgr=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;%?%p4
-           %t\016%e\017%;%?%p1%p5%|%t\034%e\035%;\036%?%p9%tN
-           %eO%;,
+           %t\016%e\017%;%?%p1%p5%|%t\034%e\035%;\036%?%p9%tN%eO%;,
        sgr0=\017\025\035\036E\036O, smacs=^^N,
        vpa=\020\177%p1%c, use=d210-dg,
 
@@ -14849,8 +14991,8 @@ d410-dg|d460-dg|d411-dg|d461-dg|Data General DASHER D410/D460 series in DG mode,
        km,
        enacs@, rmacs=\036FS00,
        sgr=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;%?%p4
-           %t\016%e\017%;%?%p1%p5%|%t\034%e\035%;\036FS%?%p9%t11%e
-           00%;,
+           %t\016%e\017%;%?%p1%p5%|%t\034%e\035%;\036FS%?%p9%t11%e0
+           0%;,
        sgr0=\017\025\035\036E\036FS00, smacs=\036FS11,
        use=d400-dg,
 
@@ -14900,26 +15042,30 @@ d412-unix|d462-unix|d412+|d462+|Data General DASHER D412+/D462+ series in Unix m
        rs1=\036FA\036FT0, rs2=\036P@1, sc=\036F}10,
        vpa=\036FPFF%p1%2.2X,
        wind=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2
-            %>%t000%;\036FX%p3%2.2X%p4%2.2X, use=d216+,
+            %>%t000%;\036FX%p3%2.2X%p4%2.2X,
+       use=d216+,
 d412-unix-w|d462-unix-w|d412+w|d462+w|Data General DASHER D412+/D462+ series in wide Unix mode,
        cols#132,
        is2=\036FQ5\036FW\036FK\036F\^\036FX0083\036O
            \036FS00,
        rs2=\036P@1\036FK\036FX0083,
        wind=\036FB%?%p1%t%p1%2.2X1%;%p2%p1%-%{1}%+%2.2X1%?%{23}%p2
-            %>%t001%;\036FX%p3%2.2X%p4%2.2X, use=d412-unix,
+            %>%t001%;\036FX%p3%2.2X%p4%2.2X,
+       use=d412-unix,
 d412-unix-25|d462-unix-25|d412+25|d462+25|Data General DASHER D412+/D462+ series in Unix mode with 25 lines,
        lines#25,
        is3=\036Fz2,
        wind=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{24}%p2
-            %>%t000%;\036FX%p3%2.2X%p4%2.2X, use=d462+,
+            %>%t000%;\036FX%p3%2.2X%p4%2.2X,
+       use=d462+,
 d412-unix-s|d462-unix-s|d412+s|d462+s|Data General DASHER D412+/D462+ in Unix mode with status line,
        eslok, hs,
        clear=\036FG\036PH, fsl=\036F}01\022,
        is3=\036Fz2\036F}00\036FB180000\036F}01, ll@,
        tsl=\036F}00\036FP%p1%2.2X18\036PG,
        wind=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2
-            %>%t%{23}%p2%-%2.2X0%;000\036FX%p3%2.2X%p4%2.2X, use=d462+,
+            %>%t%{23}%p2%-%2.2X0%;000\036FX%p3%2.2X%p4%2.2X,
+       use=d462+,
 
 #      Relative cursor motions are confined to the current window,
 #      which is not what the scrolling region specification expects.
@@ -14996,12 +15142,14 @@ d430c-unix-sr-ccc|d430-unix-sr-ccc|Data General D430C in DG-UNIX mode with scrol
 d470c|d470|Data General DASHER D470C,
        is1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h,
        sgr=\E[%?%p3%t7;%;%?%p4%t5;%;%?%p2%t4;%;%?%p6%t4;7;%;%?%p1%t
-           2;7;%;%?%p5%t2;%;m\E)%?%p9%t6\016%e4\017%;, use=dg+color, use=d460,
+           2;7;%;%?%p5%t2;%;m\E)%?%p9%t6\016%e4\017%;,
+       use=dg+color, use=d460,
 
 d470c-7b|d470-7b|Data General DASHER D470C in 7 bit mode,
        is1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h,
        sgr=\E[%?%p3%t7;%;%?%p4%t5;%;%?%p2%t4;%;%?%p6%t4;7;%;%?%p1%t
-           2;7;%;%?%p5%t2;%;m%?%p9%t\016%e\017%;, use=dg+color, use=d460-7b,
+           2;7;%;%?%p5%t2;%;m%?%p9%t\016%e\017%;,
+       use=dg+color, use=d460-7b,
 
 # Initialization string 2 sets:
 #      ^^FQ2           - default cursor (solid rectangle)
@@ -15015,7 +15163,8 @@ d470c-7b|d470-7b|Data General DASHER D470C in 7 bit mode,
 #
 d470c-dg|d470-dg|Data General DASHER D470C in DG mode,
        is2=\036FQ2\036FW\036F\^\036FX004?\036F]\036O
-           \036FS00, use=dgmode+color, use=d460-dg,
+           \036FS00,
+       use=dgmode+color, use=d460-dg,
 
 # DASHER D555 terminal in ANSI mode.
 # Like a D411, but has an integrated phone.
@@ -15133,34 +15282,34 @@ dm3045|datamedia 3045a,
        use=dm3025,
 # Datamedia DT80 soft switches:
 # 1    0=Jump  1=Smooth
-#      Autorepeat      0=off  1=on
-#      Screen          0=Dark 1=light
-#      Cursor          0=u/l  1=block
+#      Autorepeat      0=off  1=on
+#      Screen          0=Dark 1=light
+#      Cursor          0=u/l  1=block
 #
 # 2    Margin Bell     0=off  1=on
-#      Keyclick        0=off  1=on
-#      Ansi/VT52       0=VT52 1=Ansi
-#      Xon/Xoff        0=Off  1=On
+#      Keyclick        0=off  1=on
+#      Ansi/VT52       0=VT52 1=Ansi
+#      Xon/Xoff        0=Off  1=On
 #
 # 3    Shift3          0=Hash 1=UK Pound
-#      Wrap            0=Off  1=On
-#      Newline         0=Off  1=On
-#      Interlace       0=Off  1=On
+#      Wrap            0=Off  1=On
+#      Newline         0=Off  1=On
+#      Interlace       0=Off  1=On
 #
 # 4    Parity          0=Odd  1=Even
-#      Parity          0=Off  1=On
-#      Bits/Char       0=7    1=8
-#      Power           0=60Hz 1=50Hz
+#      Parity          0=Off  1=On
+#      Bits/Char       0=7    1=8
+#      Power           0=60Hz 1=50Hz
 #
 # 5    Line Interface  0=EIA  1=Loop
-#      Aux Interface   0=EIA  1=Loop
-#      Local Copy      0=Off  1=On
-#      Spare
+#      Aux Interface   0=EIA  1=Loop
+#      Local Copy      0=Off  1=On
+#      Spare
 #
 # 6    Aux Parity      0=Odd  1=Even
-#      Aux Parity      0=Off  1=On
-#      Aux Bits/Char   0=7    1=8
-#      CRT Saver       0=Off  1=On
+#      Aux Parity      0=Off  1=On
+#      Aux Bits/Char   0=7    1=8
+#      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,
        clear=\E[2J\E[H, cud1=^J, cuf1=\E[C,
@@ -16644,8 +16793,7 @@ prism2|MDC Prism-2,
        cols#80, lines#24,
        bel=^G, clear=\014$<20>, cr=^M, cub1=^H, cud1=^J, cuf1=^F,
        cup=\013%p1%{32}%+%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%Pc%?
-           %{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc
-           %;%c,
+           %{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c,
        cuu1=^Z, ed=\EJ, el=\EK, home=^A,
        hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc
            %=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c,
@@ -16667,8 +16815,7 @@ prism4|p4|P4|MDC Prism-4,
        bel=^G, blink=^CB, civis=^]\344, clear=\014$<20>,
        cnorm=^]\342, cr=^M, cub1=^H, cud1=^J, cuf1=^F,
        cup=\013%p1%{32}%+%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%Pc%?
-           %{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc
-           %;%c,
+           %{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c,
        cuu1=^Z, dim=^CA, dsl=\035\343\035\345, ed=\EJ, el=\EK,
        fsl=^]\345, home=^A,
        hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc
@@ -16676,8 +16823,7 @@ prism4|p4|P4|MDC Prism-4,
        ind=^J, invis=^CH, kbs=^H, khome=^A, mc0=\EU, mc4=\ET, mc5=\ER,
        rev=^CD, rmso=^C\s, rmul=^C\s,
        sgr=\003%{64}%?%p1%p3%|%t%{4}%+%;%?%p2%t%{16}%+%;%?%p4%t%{2}
-           %+%;%?%p5%t%{1}%+%;%?%p7%t%{8}%+%;%c%?%p9%t\016%e
-           \017%;,
+           %+%;%?%p5%t%{1}%+%;%?%p7%t%{8}%+%;%c%?%p9%t\016%e\017%;,
        sgr0=^C\s, smso=^CD, smul=^CP, tsl=^]\343,
        vpa=\013%p1%{32}%+%c,
 
@@ -17114,7 +17260,8 @@ ncr260vpwpp|NCR 2900_260 viewpoint wide mode,
        is2=\Ee6\E~%$<100>\E+\E`;\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0
            \EcC1\Ee7$<100>,
        rs2=\Ee6\E~%$<100>\E+\E`;\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0
-           \EcC1\Ee7$<100>, use=ncr260vppp,
+           \EcC1\Ee7$<100>,
+       use=ncr260vppp,
 ncr260vt100an|NCR 2900_260 vt100 with ansi kybd,
        am, hs, mir, msgr, xenl, xon,
        cols#80, lines#24, nlab#32,
@@ -17153,7 +17300,8 @@ ncr260vt100wan|NCR 2900_260 vt100 wide mode ansi kybd,
        is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<
            200>,
        rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<
-           200>, use=ncr260vt100an,
+           200>,
+       use=ncr260vt100an,
 ncr260vt100pp|NCR 2900_260 vt100 with PC+ kybd,
        is2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<
            200>,
@@ -17170,7 +17318,8 @@ ncr260vt100wpp|NCR 2900_260 vt100 wide mode pc+  kybd,
        is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<
            200>,
        rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<
-           200>, use=ncr260vt100pp,
+           200>,
+       use=ncr260vt100pp,
 ncr260vt200an|NCR 2900_260 vt200 with ansi kybd,
        am, hs, mir, msgr, xenl, xon,
        cols#80, lines#24, nlab#32,
@@ -17229,7 +17378,8 @@ ncr260vt200wpp|NCR 2900_260 vt200 wide mode pc+  kybd,
        is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<
            200>,
        rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<
-           200>, use=ncr260vt200pp,
+           200>,
+       use=ncr260vt200pp,
 ncr260vt300an|NCR 2900_260 vt300 with ansi kybd,
        am, hs, mir, msgr, xenl, xon,
        cols#80, lines#24, nlab#32,
@@ -17277,7 +17427,8 @@ ncr260vt300wan|NCR 2900_260 vt300 wide mode ansi kybd,
        is2=\E[!p\E[?3;7;19;67h\E[?4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1
            H$<200>,
        rs2=\E[!p\E[?3;7;19;67h\E[?4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1
-           H$<200>, use=ncr260vt300an,
+           H$<200>,
+       use=ncr260vt300an,
 ncr260vt300pp|NCR 2900_260 vt300 with pc+ kybd,
        ka1=\E[H, ka3=\EOu, kb2=\E[V, kc3=\E[U, kcub1=\E[D,
        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[4~,
@@ -17290,7 +17441,8 @@ NCR260VT300WPP|ncr260vt300wpp|NCR 2900_260 vt300 wide mode pc+  kybd,
        is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E[1;0%w\E(B\E)0\017\E[2J\E[1
            ;1H\E>$<200>,
        rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E[1;0%w\E(B\E)0\017\E[2J\E[1
-           ;1H\E>$<200>, use=ncr260vt300pp,
+           ;1H\E>$<200>,
+       use=ncr260vt300pp,
 # This terminfo file contains color capabilities for the Wyse325 emulation of
 # the NCR 2900/260C color terminal.  Because of the structure of the command
 # (escape sequence) used to set color attributes, one of the fore/background
@@ -17302,7 +17454,7 @@ NCR260VT300WPP|ncr260vt300wpp|NCR 2900_260 vt300 wide mode pc+  kybd,
 # The capablitiy 'op' sets colors to green on black (default combination).
 #
 # NOTE:  The NCR Unix System Administrator's Shell will not function properly
-#          if the 'pairs' capability is defined. Un-Comment the 'pairs'
+#          if the 'pairs' capability is defined. Un-Comment the 'pairs'
 #          capability and recompile if you wish to have it included.
 #
 ncr260wy325pp|NCR 2900_260 wyse 325,
@@ -17349,7 +17501,8 @@ ncr260wy325wpp|NCR 2900_260 wyse 325 wide mode,
        is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9
            \Ee7$<100>,
        rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9
-           \Ee7$<100>, use=ncr260wy325pp,
+           \Ee7$<100>,
+       use=ncr260wy325pp,
 # This definition for Wyse 350 supports several attributes.  This means
 # that it has magic cookies (extra spaces where the attributes begin).
 # Some applications do not function well with magic cookies.  The System
@@ -17363,7 +17516,7 @@ ncr260wy325wpp|NCR 2900_260 wyse 325 wide mode,
 # are numbered 0 through 15.
 #
 # NOTE:  The NCR Unix System Administrator's Shell does not function properly
-#          with the 'pairs' capability defined as below.  If you wish to
+#          with the 'pairs' capability defined as below.  If you wish to
 #          have it included, Un-comment it and recompile (using 'tic').
 #
 ncr260wy350pp|NCR 2900_260 wyse 350,
@@ -17410,7 +17563,8 @@ ncr260wy350wpp|NCR 2900_260 wyse 350 wide mode,
        is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9
            \Ee7$<200>,
        rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9
-           \Ee7$<200>, use=ncr260wy350pp,
+           \Ee7$<200>,
+       use=ncr260wy350pp,
 # This definition for Wyse 50+ supports several attributes.  This means
 # that it has magic cookies (extra spaces where the attributes begin).
 # Some applications do not function well with magic cookies.  The System
@@ -17458,7 +17612,8 @@ ncr260wy50+wpp|NCR 2900_260 wyse 50+ wide mode,
        is2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"
            \Ee4\Ex@\E`9\Ee7$<200>,
        rs2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"
-           \Ee4\Ex@\E`9\Ee7$<200>, use=ncr260wy50+pp,
+           \Ee4\Ex@\E`9\Ee7$<200>,
+       use=ncr260wy50+pp,
 ncr260wy60pp|NCR 2900_260 wyse 60,
        am, bw, hs, km, mc5i, mir, msgr, xon,
        cols#80, lines#24, nlab#32,
@@ -17497,7 +17652,8 @@ ncr260wy60wpp|NCR 2900_260 wyse 60 wide mode,
        is2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"
            \Ee4\Ex@\E`9\Ee7$<100>,
        rs2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"
-           \Ee4\Ex@\E`9\Ee7$<100>, use=ncr260wy60pp,
+           \Ee4\Ex@\E`9\Ee7$<100>,
+       use=ncr260wy60pp,
 ncr160vppp|NCR 2900_160 viewpoint,
        use=ncr260vppp,
 ncr160vpwpp|NCR 2900_160 viewpoint wide mode,
@@ -17568,7 +17724,8 @@ ncrvt100wan|NCRVT100WPP|ncrvt100wpp|NCR VT100 emulation of the 2900 terminal,
        cols#132,
        is2=\E[12h\E[?10l\E%/0n\E[P\031\E[?3h\E(B\E)0$<200>,
        rs2=\Ec\E[12;31h\E[?4;5;10l\E?3;6;7;19;25h\E[33;34l\E[0m\E(B
-           \E)0\E%/0n\E[P\031$<200>, use=ncrvt100an,
+           \E)0\E%/0n\E[P\031$<200>,
+       use=ncrvt100an,
 #
 # Vendor-supplied NCR termcaps end here
 
@@ -17728,8 +17885,7 @@ ndr9500-mc|NDR 9500 with magic cookies (enables underline inverse video invisibl
        xmc#1,
        blink=\EG2, invis=\EG1, rev=\EG4, rmso=\EG0, rmul=\EG0,
        sgr=\E%%\E(%?%p5%p8%|%t\E)%;%?%p9%t\E$%;\EG%{48}%?%p7%t%{1}
-           %+%;%?%p4%t%{2}%+%;%?%p3%p1%|%t%{4}%+%;%?%p2%t%{8}%+
-           %;%c,
+           %+%;%?%p4%t%{2}%+%;%?%p3%p1%|%t%{4}%+%;%?%p2%t%{8}%+%;%c,
        sgr0=\EG0\E%%\E(, smso=\EG4, smul=\EG8, use=ndr9500,
 
 ndr9500-25-mc|NDR 500 with 25 lines and magic cookies,
@@ -17781,7 +17937,7 @@ pe1251|pe6300|pe6312|perkin elmer 1251,
        kf0=\ERA, kf1=\ERB, kf10=\ERK, kf2=\ERC, kf3=\ERD, kf4=\ERE,
        kf5=\ERF, kf6=\ERG, kf7=\ERH, kf8=\ERI, kf9=\ERJ, tbc=\E3,
 # (pe7000m: this had
-#      rmul=\E!\0, smul=\E!\040,
+#      rmul=\E!\0, smul=\E!\040,
 # which is probably wrong, it collides with kf0
 pe7000m|perkin elmer 7000 series monochrome monitor,
        am,
@@ -18964,15 +19120,15 @@ morphos,
        ri=\215, rin@, use=amiga-h,
 
 # Commodore B-128 microcomputer from Doug Tyrol <det@HEL-ACE.ARPA>
-#      I'm trying to write a termcap for a commodore b-128, and I'm
+#      I'm trying to write a termcap for a commodore b-128, and I'm
 # having a little trouble. I've had to map most of my control characters
 # to something that unix will accept (my delete-char is a ctrl-t, etc),
 # and create some functions (like cm), but thats life.
-#      The problem is with the arrow keys - right, and up work fine, but
+#      The problem is with the arrow keys - right, and up work fine, but
 # left deletes the previous character and down I just can't figure out.
 # Jove knows what I want, but I don't know what it's sending to me (it
 # isn't thats bound to next-line in jove).
-#      Anybody got any ideas? Here's my termcap.
+#      Anybody got any ideas? Here's my termcap.
 # DAG -- I changed his "^n" entries to "\n"; see if that works.
 #
 commodore|b-128|Commodore B-128 micro,
@@ -19257,8 +19413,8 @@ minitel1|minitel 1,
        rev=\E], ri=^K, rmso=\E\\,
        rs2=\024\037XA\030\n\030\n\030\n\030\n\030\n\030\n\030\n
            \030\n\030\n\030\n\030\n\030\n\030\n\030\n\030\n\030\n
-           \030\n\030\n\030\n\030\n\030\n\030\n\030\n\030
-           \014\021,
+           \030\n\030\n\030\n\030\n\030\n\030\n\030\n\030\014
+           \021,
        setab=\0, setaf=\E%p1%'@'%+%c, setb=\0,
        setf=\E%?%p1%{1}%=%tD%e%p1%{3}%=%tF%e%p1%{4}%=%tA%e%p1%{6}%=
             %tC%e%p1%'@'%+%c%;,
@@ -19346,8 +19502,8 @@ minitel1b-80|minitel 1-bistandard (standard teleinformatique),
           \355i\,\356i\,\357i\,\360d\,\361n\,\362o\,\363o\,\364o\,
           \365o\,\366o\,\372u\,\373u\,\374u\,\375y\,\377y\,\267.\,
           \327x\,\367/\,\261\E7\E[4m+\E8\E[C\,\,0\017%\016\,x|\,y
-          \E7\E[4m<\E8\E[C\,z\E7\E[4m>\E8\E[C\,g\E7\E[4m+\E8
-          \E[C, use=minitel1b,
+          \E7\E[4m<\E8\E[C\,z\E7\E[4m>\E8\E[C\,g\E7\E[4m+\E8\E[C,
+       use=minitel1b,
 
 minitel1-nb|minitel 1 (40cols) noir & blanc sans couleurs avec bold et dim ...,
        colors@, pairs@,
@@ -19372,7 +19528,7 @@ minitel1b-nb|minitel 1b (40cols) noir & blanc sans couleurs avec bold et dim ...
        u8=\001%[ABCPpqrstuvwxyz{|}~\177]\004\r, .invis=\E@,
        .u8=\001Cu|\004r, use=minitel1b,
 
-### Note:
+# Note:
 #
 # Faire, Fnct T puis "/" (TS+"?") pour activer les touches en 40cols :
 #
@@ -19385,7 +19541,7 @@ minitel1b-nb|minitel 1b (40cols) noir & blanc sans couleurs avec bold et dim ...
 # Ctrl+Suite-7(F19), Ctrl+Suite-8(F20), Ctrl+Suite-9(F21),
 # Ctrl+Suite-0(F22), Ctrl+Suite-*(F23), Ctrl+Suite-#(F24).
 #
-### Fonctionne par exemple avec Midnight Commander (mc).
+# Fonctionne par exemple avec Midnight Commander (mc).
 
 minitel2-80|minitel 2 (80cols) avec filets vt100 (DEC),
        G0,
@@ -19405,7 +19561,8 @@ minitel2-80|minitel 2 (80cols) avec filets vt100 (DEC),
           \,\356\E(3H\,\357\E(3I\,\360d\,\361\E(3X\,\362o\,\363o\,
           \364\E(3J\,\365o\,\366\E(3K\,\367\E(3h\,\371\E(3L\,\372u
           \,\373\E(3M\,\374\E(3N\,\375y\,\377y\,\,0\E)3%\E)0\,\\\,m
-          \,+k\,.l\,0\177\,-j, use=minitel12-80,
+          \,+k\,.l\,0\177\,-j,
+       use=minitel12-80,
 
 minitel12-80|minitel 12 (80cols),
        G0,
@@ -19428,7 +19585,8 @@ minitel12-80|minitel 12 (80cols),
           \,\355i\,\356\E(3H\,\357\E(3I\,\360d\,\361n\,\362o\,
           \363o\,\364\E(3J\,\365o\,\366\E(3K\,\367\E(3h\,\371\E(3L
           \,\372u\,\373\E(3M\,\374\E(3N\,\375y\,\377y\,\,0\E)3%\E)0
-          \,\\\,m\,+k\,.l\,0\177\,-j, use=minitel1b-80,
+          \,\\\,m\,+k\,.l\,0\177\,-j,
+       use=minitel1b-80,
 
 #
 # Add these in your ~/.screenrc for inputting some special glyphs like french
@@ -19490,8 +19648,8 @@ linux-m1|Linux Minitel 1 "like" Couleurs,
        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP,
        dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M,
        ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)U,
-       flash=\E[?5h\E[?5l, home=\E[H, hpa=\E[%i%p1%d`, ht=^I,
-       hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=^J,
+       flash=\E[?5h$<100/>\E[?5l, home=\E[H, hpa=\E[%i%p1%d`,
+       ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=^J,
        initc=\E]P%p1%{15}%&%X%p2%{255}%&%02X%p3%{255}%&%02X%p4
              %{255}%&%02X,
        is2=\E]R\E]P3FFFF80\E[?8c, ka1=\EOw, ka3=\EOy, kb2=\E[G,
@@ -19542,7 +19700,8 @@ linux-m1b|Linux Minitel 1B "like" Monochrome (Gris/Blanc/Noir+Dim),
        oc@, op@, rmacs@, setab=^A, setaf=^A, smacs@, .setab@, .setaf@,
        .smcup=\E]R\E]P1A9A9A9\E]P2A9A9A9\E]P3FFFFFF\E]P4A9A9A9\E]P5
               A9A9A9\E]P6A9A9A9\E]P9FFFFFF\E]PAFFFFFF\E]PBFFFFFF\E]
-              PCFFFFFF\E]PDFFFFFF\E]PEFFFFFF\E[?2c, use=linux-m1,
+              PCFFFFFF\E]PDFFFFFF\E]PEFFFFFF\E[?2c,
+       use=linux-m1,
 
 linux-m2|Linux Minitel 2 "like" Couleurs (Vert/Blanc/Noir+Bleu),
        ccc@,
@@ -19560,7 +19719,8 @@ linux-m2|Linux Minitel 2 "like" Couleurs (Vert/Blanc/Noir+Bleu),
        .smcup=\E]R\E]P100A900\E]P200A900\E]P3FFFFFF\E]P400A900\E]P5
               00A900\E]P600A900\E]P700A900\E]P80000FF\E]P9FFFFFF\E]
               PAFFFFFF\E]PBFFFFFF\E]PCFFFFFF\E]PDFFFFFF\E]PEFFFFFF
-              \E]PFFFFFFF\E[;37m, use=linux-m1,
+              \E]PFFFFFFF\E[;37m,
+       use=linux-m1,
 
 # Screen entries counterpart :
 
@@ -19577,7 +19737,8 @@ screen.linux-m1|Linux m1 specific for screen,
           \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
           \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
           \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
-          \n\n\n\n\n\n\n\n\n\n, use=screen,
+          \n\n\n\n\n\n\n\n\n\n,
+       use=screen,
 
 screen.linux-m1b|Linux m1b specific for screen,
        colors@, pairs@,
@@ -19585,7 +19746,8 @@ screen.linux-m1b|Linux m1b specific for screen,
 
 screen.linux-m2|Linux m2 specific for screen,
        acsc=++\,\,--..00``aabbccddeeffgghhiijjkkllmmnnooppqqrrssttu
-            uvvwwxxyyzz{{||}}~~, use=screen.linux-m1b,
+            uvvwwxxyyzz{{||}}~~,
+       use=screen.linux-m1b,
 
 # Putty :
 
@@ -19625,7 +19787,8 @@ screen.putty-m1b|Putty m1b specific for screen,
 
 screen.putty-m2|Putty m2 specific for screen,
        acsc=++\,\,--..00``aabbccddeeffgghhiijjkkllmmnnooppqqrrssttu
-            uvvwwxxyyzz{{||}}~~, use=screen.putty-m1b,
+            uvvwwxxyyzz{{||}}~~,
+       use=screen.putty-m1b,
 # From: Alexandre Montaron, 19 Nov 2015, updated 19 Sep 2016
 #
 # He comments:
@@ -20029,7 +20192,8 @@ bq300|Bull vt320 ISO Latin 1 80 columns terminal,
 bq300-rv|Bull vt320 reverse 80 columns,
        flash=\E[?5l$<50>\E[?5h,
        is2=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E\sF\E[?42l\E[?4
-           l, use=bq300,
+           l,
+       use=bq300,
 bq300-w|Bull vt320 132 columns,
        cols#132, wsl#132,
        is2=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E\sF\E[?42l\E[?4
@@ -20136,7 +20300,8 @@ bq300-8|Bull vt320 full 8 bits 80 columns,
 bq300-8rv|Bull vt320 8-bit reverse mode 80 columns,
        flash=\233?5l$<50>\233?5h,
        is2=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E\sG\E[?42l\E[?4
-           l, use=bq300-8,
+           l,
+       use=bq300-8,
 bq300-8w|Bull vt320 8-bit 132 columns,
        cols#132, wsl#132,
        is2=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E\sG\E[?42l\E[?4
@@ -20164,7 +20329,8 @@ bq300-pc|Questar 303 with PC keyboard ISO Latin 1 80 columns,
 bq300-pc-rv|Questar 303 with PC keyboard reverse mode 80 columns,
        flash=\E[?5l$<50>\E[?5h,
        is2=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E\sF\E[?42l\E[?4
-           l, use=bq300-pc,
+           l,
+       use=bq300-pc,
 bq300-pc-w|Questar 303 with PC keyboard 132 columns terminal,
        cols#132, wsl#132,
        is2=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E\sF\E[?42l\E[?4
@@ -20190,7 +20356,8 @@ bq300-8-pc|Q306-8-pc|Questar 303 with PC keyboard in full 8 bits 80 columns,
 bq300-8-pc-rv|Questar 303 with PC keyboard full 8 bits reverse mode 80 columns,
        flash=\E[?5l$<50>\E[?5h,
        is2=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E\sG\E[?42l\E[?4
-           l, use=bq300-8-pc,
+           l,
+       use=bq300-8-pc,
 bq300-8-pc-w|Questar 303 with PC keyboard full 8 bits 132 columns,
        cols#132, wsl#132,
        is2=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E\sG\E[?42l\E[?4
@@ -20217,34 +20384,34 @@ bq300-8-pc-w-rv|Questar 303 with PC keyboard full 8 bits reverse 132 columns,
 #      CLR clear                       ^[`
 #      KBU keyboard unlock (set)       ^[[W
 #      KBL keyboard lock (reset)       ^[[X
-#      CM  character mode (async.)     ^[k
+#      CM  character mode (async.)     ^[k
 #      NEP non echoplex mode (by host) ^[l
-#      EP  echoplex mode (by host)     ^[m
+#      EP  echoplex mode (by host)     ^[m
 #      IM  insert mode set             ^[[I
-#      IM  insert mode reset           ^[[J
-#      RMS roll mode set               ^[r
-#      RMR roll mode reset             ^[q
-#      SM78 set mode vip7800           ^[[1q
-#      SD  scroll up   (72 lines)      ^[[0s
-#      SD  scroll down (72 lines)      ^[[1s
+#      IM  insert mode reset           ^[[J
+#      RMS roll mode set               ^[r
+#      RMR roll mode reset             ^[q
+#      SM78 set mode vip7800           ^[[1q
+#      SD  scroll up   (72 lines)      ^[[0s
+#      SD  scroll down (72 lines)      ^[[1s
 #      RBM block mode reset            ^[[E
-#      SLS status line set             ^[w
-#      SLR status line reset           ^[v
-#      SLL status line lock            ^[O
-#      LGS Line-graphic mode set       ^[G
-#      LGR Line-graphic mode reset     ^[F
+#      SLS status line set             ^[w
+#      SLR status line reset           ^[v
+#      SLL status line lock            ^[O
+#      LGS Line-graphic mode set       ^[G
+#      LGR Line-graphic mode reset     ^[F
 #      TBC tab clear (at cursor pos.)  ^[[g
-#      TBI tab initialize              ^[[N
+#      TBI tab initialize              ^[[N
 #      TBS tab set (at cursor pos.)    ^[p
 #      PDS  print data space           ^[[0p
-#      PHD  print host data            ^[[3p
+#      PHD  print host data            ^[[3p
 #      PDT  print data terminator      ^[[<p
 #      PRES print adapter reset        ^[[2p
 #      SSPR multi-part. reset          ^[[<>u
 #      SSP0 partition 0 set            ^[[00u
-#      SSP1 partition n format 1       ^[[PnPnSTRINGu
-#      SSP2 partition n format 2       ^[[PnPnSTRINGu
-#      SSP3 partition n format 3       ^[[PnPnu
+#      SSP1 partition n format 1       ^[[PnPnSTRINGu
+#      SSP2 partition n format 2       ^[[PnPnSTRINGu
+#      SSP3 partition n format 3       ^[[PnPnu
 #      ATR attribute (visual)
 #          blink :                     ^[sB
 #          dim :                       ^[sL
@@ -20485,7 +20652,7 @@ dw2|decwriter|dw|decwriter II,
        bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J, kbs=^H,
 # \E(B         Use U.S. character set (otherwise # => british pound !)
 # \E[20l       Disable "linefeed newline" mode (else puts \r after \n,\f,\v)
-# \E[w         10 char/in pitch
+# \E[w         10 char/in pitch
 # \E[1;132     full width horizontal margins
 # \E[2g                clear all tab stops
 # \E[z         6 lines/in
@@ -20761,13 +20928,16 @@ z29a|z29a-kc-bc|h29a-kc-bc|heath/zenith 29 in ansi mode,
        tbc=\E[3g, tsl=\E[s\E[>5;1h\E[25;%i%dH\E[1K,
 z29a-kc-uc|h29a-kc-uc|z29 ansi mode with keyckick and underscore cursor,
        rs1=\E<\E[1;24r\E[24;1H\E[?7h\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11
-           m, use=z29a,
+           m,
+       use=z29a,
 z29a-nkc-bc|h29a-nkc-bc|z29 ansi mode with block cursor and no keyclick,
        rs1=\E<\E[1;24r\E[24;1H\E[?7h\E[>2;4h\E[>1;3;5;6;7;8;9l\E[m
-           \E[11m, use=z29a,
+           \E[11m,
+       use=z29a,
 z29a-nkc-uc|h29a-nkc-uc|z29 ansi mode with underscore cursor and no keyclick,
        rs1=\E<\E[1;24r\E[24;1H\E[?7h\E[>2h\E[>1;3;4;5;6;7;8;9l\E[m
-           \E[11m, use=z29a,
+           \E[11m,
+       use=z29a,
 # From: Jeff Bartig <jeffb@dont.doit.wisc.edu> 31 Mar 1995
 z39-a|z39a|zenith39-a|zenith39-ansi|Zenith 39 in ANSI mode,
        am, eslok, hs, mc5i, mir, msgr, xon,
@@ -21707,7 +21877,7 @@ pc6300plus|AT&T 6300 plus,
 #      *     cfont(1) in the PC 7300 documentation.
 #      */
 #
-#      struct altfdata         /* structure for alt font data */
+#      struct altfdata         /* structure for alt font data */
 #      {
 #      short   altf_slot;              /* memory slot number */
 #      char    altf_name[FNSIZE];      /* font name (file name) */
@@ -22813,10 +22983,10 @@ v3220|LANPAR Vision II model 3220/3221/3222,
 # terminfo entry are followed with the corresponding capability in parens:
 #
 #      CSI <n>k                disable (n=0) or enable (n=1) keyclick
-#      CSI 2h                  lock keyboard
-#      CSI 2i                  send screen as input
-#      CSI 2l                  unlock keyboard
-#      CSI 6m                  enable background color intensity
+#      CSI 2h                  lock keyboard
+#      CSI 2i                  send screen as input
+#      CSI 2l                  unlock keyboard
+#      CSI 6m                  enable background color intensity
 #      CSI <0-2>c              reserved
 #      CSI <0-59>m             select graphic rendition
 #      CSI <n>;<m>H    (cup)   cursor to line n and column m
@@ -22843,10 +23013,10 @@ v3220|LANPAR Vision II model 3220/3221/3222,
 #      CSI <n>e                cursor down n lines and in first column
 #      CSI <n>g        (cbt)   clear all tabs
 #      CSI <n>z                make virtual terminal n active
-#      CSI ?7h         (smam)  turn automargin on
-#      CSI ?7l         (rmam)  turn automargin off
-#      CSI s                   save cursor position
-#      CSI u                   restore cursor position to saved value
+#      CSI ?7h         (smam)  turn automargin on
+#      CSI ?7l         (rmam)  turn automargin off
+#      CSI s                   save cursor position
+#      CSI u                   restore cursor position to saved value
 #      CSI =<c>A               set overscan color
 #      CSI =<c>F               set normal foreground color
 #      CSI =<c>G               set normal background color
@@ -22859,12 +23029,12 @@ v3220|LANPAR Vision II model 3220/3221/3222,
 #      CSI =<s>;<e>C           set cursor parameters
 #      CSI =<x>D               enable/disable intensity of background color
 #      CSI =<x>E               set/clear blink vs. bold background
-#      CSI 7           (sc)    (sc) save cursor position
-#      CSI 8           (rc)    (rc) restore cursor position to saved value
+#      CSI 7           (sc)    (sc) save cursor position
+#      CSI 8           (rc)    (rc) restore cursor position to saved value
 #      CSI H           (hts)   (hts) set tab stop
 #      CSI Q<n><string>        define function key string
 #                              (string must begin and end with delimiter char)
-#      CSI c           (clear) clear screen
+#      CSI c           (clear) clear screen
 #
 # The lack of any specification for attributes in SGR (among other things)
 # makes this a wretchedly weak standard. The table above is literally
@@ -22890,22 +23060,22 @@ v3220|LANPAR Vision II model 3220/3221/3222,
 #      CL      key_char_left
 #      CR      key_char_right
 #      CW      key_change_window                       create_window
-#      EN      key_end                 kend
+#      EN      key_end                 kend
 #      HM      key_home                khome
 #      HP      ??
-#      LD      key_delete_line         kdl1
-#      LF      key_linefeed                            label_off
+#      LD      key_delete_line         kdl1
+#      LF      key_linefeed                            label_off
 #      NU      key_next_unlocked_cell
-#      PD      key_page_down           knp
+#      PD      key_page_down           knp
 #      PL      ??
 #      PN      start_print             mc5
 #      PR      ??
 #      PS      stop_print              mc4
-#      PU      key_page_up             kpp             pulse
+#      PU      key_page_up             kpp             pulse
 #      RC      key_recalc                              remove_clock
 #      RF      key_toggle_ref                          req_for_input
-#      RT      key_return              kent
-#      UP      key_up_arrow            kcuu1           parm_up_cursor
+#      RT      key_return              kent
+#      UP      key_up_arrow            kcuu1           parm_up_cursor
 #      WL      key_word_left
 #      WR      key_word_right
 #
@@ -23067,10 +23237,10 @@ v3220|LANPAR Vision II model 3220/3221/3222,
 #
 #### XTERM Extensions:
 #
-# Most of the xterm extensions are for function-keys.  Since patch #94 (in
+# Most of the xterm extensions are for function-keys.  Since xterm patch #94 (in
 # 1999), xterm has supported shift/control/alt/meta modifiers which produce
 # additional function-key strings.  Some other developers copied the feature,
-# though they did not follow xterm's lead in patch #167 (in 2002), to make
+# though they did not follow xterm's lead in xterm patch #167 (in 2002), to make
 # these key definitions less ambiguous.
 #
 # A few terminals provide similar functionality (sending distinct keys when
@@ -23475,7 +23645,7 @@ v3220|LANPAR Vision II model 3220/3221/3222,
 # 9.13.0 (Sun Mar 10 00:13:08 EST 1996):
 #      * Another sweep through the Shuford archive looking for new info.
 #      * Added dg100 alias to dg6053 based on a comp.terminals posting.
-#      * Added st52 from Per Persson.
+#      * Added st52 from Per Persson.
 #      * Added eterm from the GNU Emacs 19.30 distribution.
 #      * Freeze for 1.9.9.
 # 9.13.1 (Fri Mar 29 14:06:46 EST 1996):
@@ -23772,12 +23942,12 @@ v3220|LANPAR Vision II model 3220/3221/3222,
 #      * merge Data General terminfo from Hasufin <hasufin@vidnet.net> - TD
 #
 # 1998/10/10
-#      * update xterm-xfree86 to current (patch 84), for is2/rs2 changes - TD
+#      * update xterm-xfree86 to current (xterm patch #84), for is2/rs2 changes - TD
 #      * correct initialization string in xterm-r5, add misc other features
-#        to correspond with xterm patch 84 - TD
+#        to correspond with xterm patch #84 - TD
 #
 # 1998/12/19
-#      * update xterm-xfree86 to current (patch 90), smcur/rmcur changes - TD
+#      * update xterm-xfree86 to current (xterm patch #90), smcur/rmcur changes - TD
 #      * add Mathew Vernon's mach console entries
 #      * corrections for ncsa function-keys (report by Larry Virden)
 #
@@ -23814,7 +23984,7 @@ v3220|LANPAR Vision II model 3220/3221/3222,
 #        (Jeffrey C Honig)
 #
 # 1999/3/27
-#      * adjust xterm-xfree86 miscellaneous keypad keys, as per patch #94 - TD.
+#      * adjust xterm-xfree86 miscellaneous keypad keys, as per xterm patch #94 - TD.
 #
 # 1999/4/10
 #      * add linux-lat, from RedHat patches to ncurses 4.2
@@ -24049,7 +24219,7 @@ v3220|LANPAR Vision II model 3220/3221/3222,
 #      * add entries for mterm (mterm, mterm-ansi, decansi) -TD
 #      * ncr260wy350pp has only 16 color pairs -TD
 #      * add sun-type4 from NetBSD -TD
-#      * update xterm-xfree86 to current (patch 170) -TD
+#      * update xterm-xfree86 to current (xterm patch #170) -TD
 #      * add screen-bce, screen-s entries -TD
 #      * add xterm-1002, xterm-1003 entries -TD
 #
@@ -24109,7 +24279,7 @@ v3220|LANPAR Vision II model 3220/3221/3222,
 #      * similar fixups for cvvis/cnorm various entries -TD
 #
 # 2004-05-22
-#      * remove 'ncv' from xterm-256color (patch 188) -TD
+#      * remove 'ncv' from xterm-256color (xterm patch #188) -TD
 #
 # 2004-06-26
 #      * add mlterm -TD
@@ -24325,7 +24495,7 @@ v3220|LANPAR Vision II model 3220/3221/3222,
 #
 # 2007-11-11
 #      * use xterm-xf86-v44 for "xterm-xfree86", reflecting changes to
-#        xterm starting with patch #216 -TD
+#        xterm starting with xterm patch #216 -TD
 #      * make legacy xterm entries such as xterm-24 inherit from xterm-old,
 #        to match xterm #230 -TD
 #      * extend xterm+pccX entries to match xterm #230 -TD
@@ -24676,7 +24846,7 @@ v3220|LANPAR Vision II model 3220/3221/3222,
 #      * correct padding in sbi entry -TD
 #
 # 2014-06-07
-#      * update xterm-new to patch #305 -TD
+#      * update xterm-new to xterm patch #305 -TD
 #      + change screen's smso to use SGR 7 (ECMA-80 reverse) rather than SGR 3
 #        (italic).  This was a long-ago typo in screen 3.1.1 which was
 #        overlooked until a few terminal emulators implemented the feature -TD
@@ -24796,4 +24966,29 @@ v3220|LANPAR Vision II model 3220/3221/3222,
 #      + add linux-m1 minitel entries (patch by Alexandre Montaron).
 #      + correct rs2 string for vt100-nam -TD
 #
+# 2016-11-26
+#      + modify linux-16color to not mask dim, standout or reverse with the
+#        ncv capability -TD
+#      + add 0.1sec mandatory delay to flash capabilities using the VT100
+#        reverse-video control -TD
+#      + omit selection of ISO-8859-1 for G0 in enacs capability from linux2.6
+#        entry, to avoid conflict with the user-defined mapping.  The reset
+#        feature will use ISO-8859-1 in any case (Mikulas Patocka).
+#
+# 2016-12-30
+#      + merge current st description (report by Harry Gindi) -TD
+#
+# 2016-12-31
+#      + modify flash capability for linux and wyse entries to put the delay
+#        between the reverse/normal escapes rather than after -TD
+#
+# 2017-01-28
+#      + minor comment-fixes to help automate links to bug-urls -TD
+#      + add dvtm, dvtm-256color -TD
+#      + add settings corresponding to xterm-keys option to tmux entry to
+#        reflect upcoming change to make that option "on" by default
+#        (patch by Nicholas Marriott).
+#      + uncancel Ms in tmux entry (Harry Gindi, Nicholas Marriott).
+#      + add dumb-emacs-ansi -TD
+#
 ######## SHANTIH!  SHANTIH!  SHANTIH!