+ibm5151|wy60-AT|wyse60-AT|IBM 5151 Monochrome display,
+ am, bw, msgr, xon,
+ cols#80, it#8, lines#25,
+ acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263,
+ bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M,
+ cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
+ cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
+ cuu=\E[%p1%dA, cuu1=\E[A, dch1=\E[P, dl=\E[%p1%dM,
+ dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H,
+ hpa=\E[%i%p1%dG, il=\E[%p1%dL, il1=\E[L, ind=\E[S,
+ indn=\E[%p1%dS, invis=\E[8m, is2=\Ec, kbs=^H, kcbt=\E[Z,
+ kclr=\E[144q, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
+ kcuu1=\E[A, kdch1=\E[P, ked=\E[148q, kel=\E[142q,
+ kend=\E[146q, kf1=\E[001q, kf10=\E[010q, kf11=\E[011q,
+ kf12=\E[012q, kf13=\E[013q, kf14=\E[014q, kf15=\E[015q,
+ kf16=\E[016q, kf17=\E[017q, kf18=\E[018q, kf19=\E[019q,
+ kf2=\E[002q, kf20=\E[020q, kf21=\E[021q, kf22=\E[022q,
+ kf23=\E[023q, kf24=\E[024q, kf25=\E[025q, kf26=\E[026q,
+ kf27=\E[027q, kf28=\E[028q, kf29=\E[029q, kf3=\E[003q,
+ kf30=\E[030q, kf31=\E[031q, kf32=\E[032q, kf33=\E[033q,
+ kf34=\E[034q, kf35=\E[035q, kf36=\E[036q, kf4=\E[004q,
+ kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, kf8=\E[008q,
+ kf9=\E[009q, khome=\E[H, kich1=\E[139q, kil1=\E[140q,
+ kind=\E[151q, knp=\E[154q, kpp=\E[150q, kri=\E[155q,
+ krmir=\E[4l, rev=\E[7m, ri=\E[T, rin=\E[%p1%dT, rmir=\E[4l,
+ rmso=\E[m, rmul=\E[m, rs2=\Ec,
+ sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;m,
+ sgr0=\E[0m, smir=\E[4h, smso=\E[7m, smul=\E[4m,
+
+ibmaed|IBM Experimental display,
+ OTbs, am, eo, msgr,
+ cols#80, it#8, lines#52,
+ clear=\EH\EK, cub1=^H, cud1=\EB, cuf1=\EC,
+ cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ,
+ dl1=\EO, ed=\EJ, el=\EI, flash=\EG, home=\EH, ht=^I, ich1=\EP,
+ il1=\EN, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
+ rmso=\E0, sgr0=\E0, smso=\E0,
+ibm-apl|apl|IBM apl terminal simulator,
+ lines#25, use=dm1520,
+# (ibmmono: this had an unknown `sb' boolean, I changed it to `bs'.
+# Also it had ":I0=f10:" which pretty obviously should be "l0=f10" -- esr)
+ibmmono|IBM workstation monochrome,
+ eslok, hs,
+ bold=\EZ, dl1=\EM, dsl=\Ej\EY8 \EI\Ek, fsl=\Ek, il1=\EL,
+ invis=\EF\Ef0;\Eb0;, kbs=^H, kf0=\E<, kf1=\ES, kf2=\ET,
+ kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\EY,
+ khome=\EH, kich1=\0, kind=\EE, knp=\EE, kpp=\Eg, kri=\EG,
+ lf0=f10, rev=\Ep, ri=\EA, rmso=\Ez, rmul=\Ew,
+ sgr0=\Ew\Eq\Ez\EB, smso=\EZ, smul=\EW, tsl=\Ej\EY8%+ \Eo,
+ use=ibm3101,
+ibmega|IBM Enhanced Color Display,
+ cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J,
+ nel=^M^J, use=ibmmono,
+# This color scheme is assumed in some recent IBM terminal descriptions
+# (green on black, emulated on a 16-color terminal).
+ibm+color|IBM color definitions,
+ colors#8, ncv#3, pairs#64,
+ op=\E[32m\E[40m,
+ setb=\E[%?%p1%{0}%=%t40m%e%p1%{1}%=%t41m%e%p1%{2}%=%t42m%e%p1%{3}%=%t43m%e%p1%{4}%=%t44m%e%p1%{5}%=%t45m%e%p1%{6}%=%t46m%e%p1%{7}%=%t107m%;,
+ setf=\E[%?%p1%{0}%=%t30m%e%p1%{1}%=%t31m%e%p1%{2}%=%t32m%e%p1%{3}%=%t33m%e%p1%{4}%=%t34m%e%p1%{5}%=%t35m%e%p1%{6}%=%t36m%e%p1%{7}%=%t97m%;,
+ibm+16color|IBM aixterm color definitions,
+ colors#16, pairs#256,
+ setab=\E[%?%p1%{8}%<%t%p1%{40}%+%e%p1%{92}%+%;%dm,
+ setaf=\E[%?%p1%{8}%<%t%p1%{30}%+%e%p1%{82}%+%;%dm,
+ setb=%p1%{8}%/%{6}%*%{4}%+\E[%d%p1%{8}%m%Pa%?%ga%{1}%=%t4%e%ga%{3}%=%t6%e%ga%{4}%=%t1%e%ga%{6}%=%t3%e%ga%d%;m,
+ setf=%p1%{8}%/%{6}%*%{3}%+\E[%d%p1%{8}%m%Pa%?%ga%{1}%=%t4%e%ga%{3}%=%t6%e%ga%{4}%=%t1%e%ga%{6}%=%t3%e%ga%d%;m,
+ibm5154|IBM 5154 Color display,
+ colors#8, ncv@, pairs#64,
+ bold@, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=ibm5151,
+ use=ibm+color,
+ibmega-c|ibm5154-c|IBM Enhanced Color Display with standout and underline,
+ rmso=\EB, rmul=\EB, smso=\EF\Ef3;, smul=\EF\Ef2;,
+ use=ibmmono,
+ibmvga-c|IBM VGA display color termcap,
+ cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J,
+ nel=^M^J, use=ibmega-c,
+ibmvga|IBM VGA display,
+ cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J,
+ nel=^M^J, use=ibmega,
+# ibmapa* and ibmmono entries come from ACIS 4.3 distribution
+rtpc|ibmapa16|IBM 6155 Extended Monochrome Graphics Display,
+ lines#32,
+ dsl=\Ej\EY@ \EI\Ek, tsl=\Ej\EY@%+ \Eo, use=ibmmono,
+ibm6155|IBM 6155 Black & White display,
+ blink@, bold@, use=ibm5151,
+# Advanced Monochrome (6153) and Color (6154) Graphics Display:
+ibmapa8c|ibmapa8|IBM 6154 Advanced Graphics Display,
+ lines#31,
+ dsl=\Ej\EY? \EI\Ek, tsl=\Ej\EY?%+ \Eo, use=ibmmono,
+ibmapa8c-c|ibm6154-c|IBM 6154 Advanced Color Graphics Display,
+ lines#31,
+ dim=\EF\Ef7;, dsl=\Ej\EY? \EI\Ek, tsl=\Ej\EY?%+ \Eo,
+ use=ibmega-c,
+ibm6154|IBM 6154 Color displays,
+ blink@, bold=\E[12m, s0ds=\E[10m, s1ds=\E[11m, s2ds=\E[12m,
+ sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;12%;m,
+ sgr0=\E[0;10m, use=ibm5154,
+ibm6153|IBM 6153 Black & White display,
+ blink@, bold=\E[12m, s0ds=\E[10m, s1ds=\E[11m, s2ds=\E[12m,
+ sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;12%;m,
+ sgr0=\E[0;10m, use=ibm5151,
+ibm6153-90|IBM 6153 Black & White display,
+ cols#90, lines#36,
+ blink@, bold@, use=ibm5151,
+ibm6153-40|IBM 6153 Black & White display,
+ cols#40, lines#12, use=ibm6153-90,
+ibm8512|ibm8513|IBM color VGA Terminal,
+ am, mir, msgr,
+ cols#80, it#8, lines#25,
+ acsc=jjkkllmmnnqqttuuvvwwxx, blink=\E[5m, bold=\E[1m,
+ clear=\E[H\E[J, cub1=\E[D, cud1=^J, cuf1=\E[C,
+ cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dl=\E[%p1%dM, dl1=\E[M,
+ ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H, il=\E[%p1%dL,
+ il1=\E[L, is2=\Eb\E[m\017\E[?7h, kcud1=\E[B, kcuu1=\E[A,
+ kf0=\E[010q, kf1=\E[001q, kf2=\E[002q, kf3=\E[003q,
+ kf4=\E[004q, kf5=\E[005q, kf6=\E[006q, kf7=\E[007q,
+ kf8=\E[008q, kf9=\E[009q, khome=\E[H, rc=\E[u, rev=\E[7m,
+ rmacs=^O, rmam=\E[?7l, rmcup=\E[20h, rmdc=\E[4l,
+ rmir=\E[4l, rmso=\E[m, rmul=\E[m,
+ rs1=\Eb\E[m\017\E[?7h\E[H\E[J, sc=\E[s, sgr0=\E[m,
+ smacs=^N, smam=\E[?7h, smcup=\E[20;4l\E[?7h\Eb,
+ smdc=\E[4h, smir=\E[4h, smso=\E[7m, smul=\E[4m,
+ use=ibm8503,
+hft-c|HFT with Color,
+ colors#8, pairs#64,
+ acsc=jjkkllmmnnqqttuuvvwwxx, s0ds=\E(B, s1ds=\E(0,
+ setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[0m\E(B,
+ use=ibm5151, use=ibm+color,
+hft-c-old|HFT with Color PC850,
+ colors#8, pairs#64,
+ setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=ibm5151,
+ use=ibm+color,
+hft-old|AIWS High Function Terminal,
+ am, xon,
+ cols#80, lines#25,
+ bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M,
+ cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
+ cuu1=\E[A, dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H,
+ ht=^I, ich1=\E[@, il1=\E[L, ind=^J, invis=\E[8m, kbs=^H,
+ kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
+ kf1=\E[001q, kf2=\E[002q, kf3=\E[003q, kf4=\E[004q,
+ kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, kf8=\E[008q,
+ kf9=\E[009q, khome=\E[H, knp=\E[153q, kpp=\E[159q,
+ ktbc=\E[010q, rev=\E[7m, rmir=\E6, rmso=\E[m, rmul=\E[m,
+ sgr0=\E[m, smir=\E6, smso=\E[7m, smul=\E[4m, use=ibm+color,
+ibm-system1|system1|ibm system/1 computer,
+ am, xt,
+ cols#80, lines#24,
+ bel=^G, clear=^Z, cub1=^H, cuf1=^\,
+ cup=\005%p1%{32}%+%c%p2%{32}%+%c, cuu1=^^, home=^K,
+ ind=^J,
+# lft-pc850 : IBM Low Function Terminal Device
+# lft "supports" underline, bold, and blink in the sense that the lft code
+# sets all the right bits. HOWEVER, depending upon the adapter, these
+# attributes may or may not be supported by the device driver.
+lft|lft-pc850|LFT-PC850|IBM LFT PC850 Device,
+ am, bw, msgr, xon,
+ cols#80, it#8, lines#25,
+ acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263,
+ bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
+ cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
+ cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
+ cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
+ dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[2J, el=\E[0K,
+ home=\E[H, hpa=\E[%i%p1%dG, ich=\E[%p1%d@, il=\E[%p1%dL,
+ il1=\E[L, ind=\ED, indn=\E[%p1%dS, invis=\E[8m, is2=\Ec,
+ kbs=^H, kcbt=\E[Z, kclr=\E[144q, kcub1=\E[D, kcud1=\E[B,
+ kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, ked=\E[148q,
+ kel=\E[142q, kend=\E[146q, kf1=\E[001q, kf10=\E[010q,
+ kf11=\E[011q, kf12=\E[012q, kf13=\E[013q, kf14=\E[014q,
+ kf15=\E[015q, kf16=\E[016q, kf17=\E[017q, kf18=\E[018q,
+ kf19=\E[019q, kf2=\E[002q, kf20=\E[020q, kf21=\E[021q,
+ kf22=\E[022q, kf23=\E[023q, kf24=\E[024q, kf25=\E[025q,
+ kf26=\E[026q, kf27=\E[027q, kf28=\E[028q, kf29=\E[029q,
+ kf3=\E[003q, kf30=\E[030q, kf31=\E[031q, kf32=\E[032q,
+ kf33=\E[033q, kf34=\E[034q, kf35=\E[035q, kf36=\E[036q,
+ kf4=\E[004q, kf5=\E[005q, kf6=\E[006q, kf7=\E[007q,
+ kf8=\E[008q, kf9=\E[009q, khome=\E[H, kich1=\E[139q,
+ kil1=\E[140q, kind=\E[151q, knp=\E[154q, kpp=\E[150q,
+ kri=\E[155q, krmir=\E[4l, rev=\E[7m, ri=\EL, rin=\E[%p1%dT,
+ rmacs=\E(B, rmir=\E[4l, rmso=\E[0m, rmul=\E[0m, rs2=\Ec,
+ sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\E(0%e\E(B%;,
+ sgr0=\E[0m, smacs=\E(0, smir=\E[4h, smso=\E[7m, smul=\E[4m,
+ tbc=\E[3g,
+# "Megapel" refers to the display adapter, which was used with the IBM RT
+# aka IBM 6150.
+ibm5081|hft|IBM Megapel Color display,
+ acsc=jjkkllmmnnqqttuuvvwwxx, blink@, bold@, s0ds=\E(B,
+ s1ds=\E(0, sgr0=\E[0m\E(B, use=ibm5154,
+ibm5081-c|ibmmpel-c|IBM 5081 1024x1024 256/4096 Megapel enhanced color display,
+ eslok, hs,
+ lines#33,
+ dsl=\Ej\EYA \EI\Ek, fsl=\Ek, tsl=\Ej\EYA%+ \Eo,
+ use=ibmega-c,
+ibm8503|ibm8507|ibm8604|IBM 8503 B & W VGA display,
+ use=hft-c,
+ibm8514|IBM 8514/a color VGA display,
+ eslok, hs,
+ dsl=\Ej\EYI \EI\Ek, fsl=\Ek, tsl=\Ej\EYI%+ \Eo, use=hft,
+ibm8514-c|IBM 8514 color display with standout and underline,
+ eslok, hs,
+ lines#41,
+ cr=^M, cud1=^J, dsl=\Ej\EYI \EI\Ek, fsl=\Ek, ht=^I, ind=^J,
+ kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, tsl=\Ej\EYI%+ \Eo,
+ use=ibmega-c,
+
+#
+# AIX entries. IBM ships these with AIX 3.2.5.
+# -- added rc, sc based on manpage -TD
+# Note that we could use ibm+16color, but that is not how IBM defines this one.
+aixterm|IBM Aixterm Terminal Emulator,
+ eslok, hs,
+ acsc=jjkkllmmnnqqttuuvvwwxx, bold=\E[1m, dsl=\E[?E,
+ fsl=\E[?F, rc=\E8, ri@, s0ds=\E(B, s1ds=\E(0, sc=\E7,
+ sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\E(0%e\E(B%;,
+ sgr0=\E[0;10m\E(B, tsl=\E[?%p1%dT, use=ibm6154,
+aixterm-m|IBM AIXterm Monochrome Terminal Emulator,
+ eslok, hs,
+ acsc=jjkkllmmnnqqttuuvvwwxx, bold=\E[1m, dsl=\E[?E,
+ fsl=\E[?F, ri@, s0ds=\E(B, s1ds=\E(0,
+ sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
+ sgr0=\E[0;10m\E(B, tsl=\E[?%p1%dT, use=ibm6153,
+aixterm-m-old|old IBM AIXterm Monochrome Terminal Emulator,
+ eslok, hs,
+ bold=\E[1m, dsl=\E[?E, fsl=\E[?F, ri@,
+ sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
+ tsl=\E[?%p1%dT, use=ibm6153,
+jaixterm|IBM Kanji Aixterm Terminal Eemulator,
+ acsc@, use=aixterm,
+jaixterm-m|IBM Kanji AIXterm Monochrome Terminal Emulator,
+ acsc@, use=aixterm-m,
+
+# This flavor is adapted from xterm, in turn from aixterm documentation -TD
+aixterm-16color|IBM Aixterm Terminal Emulator with 16 colors,
+ use=ibm+16color, use=aixterm,
+
+#### Infoton/General Terminal Corp.
+#
+
+# gt100 sounds like something DEC would come out with. Let's hope they don't.
+i100|gt100|gt100a|General Terminal 100A (formerly Infoton 100),
+ OTbs, am,
+ cols#80, lines#24,
+ bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
+ cup=\Ef%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, dl1=\EM,
+ ed=\EJ, el=\EK, flash=\Eb$<200/>\Ea, home=\EH, il1=\EL,
+ ind=^J, rmso=\Ea, smso=\Eb,
+i400|infoton 400,
+ OTbs, am,
+ cols#80, lines#25,
+ bel=^G, clear=\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
+ cup=\E[%i%p1%3d;%p2%3dH, cuu1=\E[A,
+ dch1=\E[4h\E[2Q\E[P\E[4l\E[0Q, dl1=\E[M, el=\E[N,
+ il1=\E[L, ind=^J, rmir=\E[4l\E[0Q, smir=\E[4h\E[2Q,
+# (addrinfo: removed obsolete ":bc=^Z:" -- esr)
+addrinfo,
+ am,
+ cols#80, lines#24,
+ bel=^G, clear=^L, cr=^M, cub1=^Z, cud1=^J, cuf1=^Y,
+ cup=\037%p1%c%p2%c, cuu1=^\, ed=^K, home=^H, ind=^J, ll=^H^\,
+# (infoton: used to have the no-ops <lh#0>, <lw#0>, <nlab#0> -- esr)
+infoton,
+ am,
+ cols#80, lines#24,
+ bel=^G, clear=^L, cr=^M, cub1=^Z, cud1=^J, cuf1=^Y, cuu1=^\,
+ ed=^K, ind=^J, ll=^H^\,
+
+# The ICL6402 was actually the Kokusai Display System 6402.
+# The 6404 was the KDS7372 (color version of the 6402).
+#
+# ICL6404 control codes follow:
+#
+#code function
+#~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+#ctrl-A set SOM position at cursor position
+#ctrl-G Bell
+#ctrl-H Backspace
+#ctrl-I Horiz tab
+#ctrl-J Linefeed
+#ctrl-K Cursor up
+#ctrl-L Cursor right
+#ctrl-M Carriage return
+#ctrl-N Disable xon/xoff to host
+#ctrl-O Enable xon/xoff to host
+#ctrl-R Enable bidirectional mode
+#ctrl-T Disable bidirectional mode
+#ctrl-V Cursor down
+#ctrl-Z Clear unprotected data to insert char
+#ctrl-^ Cursor home
+#ctrl-_ Newline
+#
+#ESC lead-in char for multiple character command
+#
+#ESC space R execute power on sequence
+#ESC ! p1 p2 define scroll region:
+# p1 = scroll top line: 20h - 37h
+# p1 = scroll bottom line: 20h - 37h
+#ESC " unlock keyboard
+#ESC # lock keyboard
+#ESC $ Semi-graphics mode on
+#ESC % Semi-graphics mode off
+#ESC & protect mode on
+#ESC ' protect mode off
+#ESC ( write protect mode off (full intensity)
+#ESC ) write protect mode on (half intensity)
+#
+#ESC * clear screen
+#ESC + clear unprotected data to insert char
+#ESC , clear unprotected data to half intensity spaces
+#ESC - p1 p2 p3 p4 address cursor to page, row, column:
+# p1 = page number 0 - 3
+# p2 = row 20h - 7fh
+# p3 = column (lo) 20h - 7fh
+# p4 = column (hi) 20h - 21h (only 132 col)
+#ESC . p1 set cursor style:
+# p1 = 0 invisible cursor
+# p1 = 1 block blinking cursor
+# p1 = 2 block steady cursor
+# p1 = 3 underline blinking cursor
+# p1 = 4 underline steady cursor
+#ESC / transmit cursor location (page, row, column)
+#ESC 0 p1 p2 p3 p4 program edit key:
+# p1 = edit key code: '@'-'S', '`'-'s'
+# p2 p3 p4 = program data (3 bytes)
+#
+#ESC 1 set tab
+#ESC 2 clear tab at cursor
+#ESC 3 clear all tabs
+#ESC 4 send unprotect line to cursor
+#ESC 5 send unprotect page to cursor
+#ESC 6 send line to cursor
+#ESC 7 send page to cursor
+#ESC 8 n set scroll mode:
+# n = 0 set jump scroll
+# n = 1 set smooth scroll
+#ESC 9 n control display:
+# n = 0 display off
+# n = 1 display on
+#ESC : clear unprotected data to null
+#ESC ; clear unprotected data to insert char
+#
+#ESC < keyclick on
+#ESC = p1 p2 address cursor to row, column
+# p1 = row 20h - 7fh
+# p2 = column (lo) 20h - 7fh
+# p3 = column (hi) 20h - 21h (only 132 col)
+#ESC > keyclick off
+#ESC ? transmit cursor location (row, column)
+#
+#ESC @ copy print mode on
+#ESC A copy print mode off
+#ESC B block mode on
+#ESC C block mode off (conversation mode)
+#ESC D F set full duplex
+#ESC D H set half duplex
+#ESC E line insert
+#ESC F p1 p2 set page colour (p1 = f/grnd, p2 = b/grnd)
+# 0 = black, 1 = red, 2 = green, 3 = yellow
+# 4 = blue, 5 = magenta, 6 = cyan, 7 = white
+#ESC G n set serial field attribute (n = 30h - 3Fh)
+#ESC H n full graphics mode:
+# n = 0 exit full graphics mode
+# n = 1 enter full graphics mode
+#ESC I back tab
+#ESC J back page
+#ESC K forward page
+#
+#ESC L unformatted page print
+#ESC M L move window left (132 col mode only)
+#ESC M R move window right (132 col mode only)
+#ESC N set page edit (clear line edit)
+#ESC O set line edit (clear page edit)
+#ESC P formatted page print
+#ESC Q character insert
+#ESC R line delete
+#ESC S send message unprotected only
+#ESC T erase line to insert char
+#ESC U set monitor mode (see ESC X, ESC u)
+#
+#ESC V n select video attribute mode:
+# n = 0 serial field attribute mode
+# n = 1 parallel character attribute mode
+#ESC V 2 n define line attribute:
+# n = 0 single width single height
+# n = 1 single width double height
+# n = 2 double width single height
+# n = 3 double width double height
+#ESC V 3 n select character font:
+# n = 0 system font
+# n = 1 user defined font
+#ESC V 4 n select screen mode:
+# n = 0 page screen mode
+# n = 1 virtual screen mode
+#ESC V 5 n control mouse mode:
+# n = 0 disable mouse
+# n = 1 enable sample mode
+# n = 2 send mouse information
+# n = 3 enable request mode
+#ESC W character delete
+#ESC X clear monitor mode (see ESC U, ESC u)
+#ESC Y erase page to insert char
+#
+#ESC Z n send user/status line:
+# n = 0 send user line
+# n = 1 send status line
+# n = 2 send terminal ID
+#ESC [ p1 p2 p3 set character attribute (parallel char mode):
+# p1: 0 = normal
+# 1 = blank
+# 2 = blink
+# 3 = blink blank (= blank)
+# 4 = reverse
+# 5 = reverse blank
+# 6 = reverse blink
+# 7 = reverse blink blank (= reverse blank)
+# 8 = underline
+# 9 = underline blank
+# : = underline blink
+# ; = underline blink blank
+# < = reverse underline
+# = = reverse underline blank
+# > = reverse underline blink
+# ? = reverse underline blink blank
+# p2, p3: f/grnd, b/grnd colour
+# (see ESC F for colours)
+# use ZZ for mono, eg.
+# ESC [ 0 Z Z for normal
+# ESC [ 4 Z Z for inverse etc.
+#
+#ESC \ n set page size:
+# n = 1 24 lines/page
+# n = 2 48 lines/page
+# n = 3 72 lines/page
+# n = 4 96 lines/page
+#ESC ] n set Wordstar mode:
+# n = 0 normal (KDS7372) mode
+# n = 1 Wordstar mode
+#
+#ESC b set foreground colour screen
+#
+#ESC c n enter self-test mode:
+# n = 0 exit self test mode
+# n = 1 ROM test
+# n = 2 RAM test
+# n = 3 NVRAM test
+# n = 4 screen display test
+# n = 5 main/printer port test
+# n = 6 mouse port test
+# n = 7 graphics board test
+# n = 8 graphics memory test
+# n = 9 display all 'E'
+# n = : display all 'H'
+#ESC d set background colour screen
+#
+#ESC e n program insert char (n = insert char)
+#ESC f text CR load user status line with 'text'
+#
+#ESC g display user status line on 25th line
+#ESC h display system status line on 25th line
+#ESC i tab
+#ESC j reverse linefeed
+#ESC k n duplex/local edit mode:
+# n = 0 duplex edit mode
+# n = 1 local edit mode
+#ESC l n select virtual screen:
+# n = 0 screen 1
+# n = 1 screen 2
+#ESC m save current config to NVRAM
+#ESC n p1 select display screen:
+# p1 = 0 screen 1
+# p1 = 1 screen 2
+# p1 = 2 screen 3
+# p1 = 3 screen 4
+#ESC o p1 p2 set characters/line and attribute:
+# p1 = 0 80 chars/line
+#
+#ESC o p1 p2 set characters/line and attribute:
+# p1 = 0 80 chars/line
+# p1 = 1 132 chars/line
+# p2 = 0 single width single height
+# p2 = 1 single width double height
+# p2 = 2 double width single height
+# p2 = 3 double width double height
+#
+#ESC q insert mode on
+#ESC r edit mode on
+#ESC s send message all
+#ESC t erase line to null
+#ESC u clear monitor mode (see ESC U, ESC X)
+#ESC v autopage mode on
+#ESC w autopage mode off
+#ESC x p1 p2 p3 define delimiter code...
+#ESC y erase page to null
+#
+#ESC z 2 p1 p2 p3 p4 draw quadrangle:
+# p1 = starting row
+# p2 = starting column
+# p3 = end row
+# p4 = end column
+#
+#ESC { p1 p2 p3 p4 configure main port
+# (baud, stop bits, parity, word length)
+#
+#ESC | p1 p2 text Ctrl-Y program function key with 'text':
+# p1 = function key code:
+# '1' - ';' normal f1- f11
+# '<' - 'F' shifted f1 - f11
+# p2 = program mode:
+# 1 = FDX
+# 2 = LOC
+# 3 = HDX
+# Ctrl-Y = terminator
+# (use Ctrl-P to escape ^P, ^Y )
+#
+#ESC } p1 p2 p3 p4 configure printer port
+# (baud, stop bits, parity, word length)
+#ESC ~ send system status
+#
+# Codes and info from Peter Disdale <pete@pdlmail.demon.co.uk> 12 May 1997
+#
+# Entry is by esr going solely on above information and is UNTESTED.
+# This actually looks a lot like a Televideo 9xx.
+# This entry uses page 0 and is monochrome; I'm not brave enough to try
+# to make color work without a test terminal. The <am> capability is a guess.
+# The initialization string sets conversation mode, blinking underline cursor,
+# full duplex, parallel attribute mode, display user status line, white
+# foreground, black background, normal highlight.
+#
+icl6404|kds7372|icl6402|kds6402|ICL 6404 aka Kokusai Display Systems 7372,
+ OTbs, am, hs,
+ cols#80, lines#24,
+ bel=^G, blink=\E[2ZZ, cbt=\EI, civis=\E.0, clear=\E*,
+ cnorm=\E.3, cr=^M,
+ csr=\E!%+%p1%{32}%+%p2%{32} cud1=\026, cuf1=^L,
+ cup=\E=%p1%{32}%+%c%p2%{80}%m%{32}%+%c%p2%{80}%>%{32}%+%c,
+ cuu1=^K, cvvis=\E.1, dch1=\EW, dl1=\ER, home=^^, ht=^I,
+ hts=\E1, il1=\EE, invis=\E[1ZZ,
+ is1=\EC\E.3\EDF\EV1\Eg\E[0ZZ, nel=^_, rev=\E[4ZZ,
+ rmir=\Er, rmso=\E[%gh%{4}%^%Ph%gh%dZZ,
+ rmul=\E[%gh%{8}%^%Ph%gh%dZZ, rs2=\Eo1,
+ sgr=\E[%'0'%?%p1%t%'8'%|%;%?%p2%t%'8'%|%;%?%p3%t%'4'%|%;%?%p4%t%'2'%|%;%?%p7%t%'1'%|%;%cZZ,
+ sgr0=\E[0ZZ, smir=\Eq, smso=\E[8ZZ, smul=\E[8ZZ, tbc=\E3,
+icl6404-w|kds7372-w|ICL 6404 aka Kokusai Display Systems 7372 132 cols,
+ rs2=\Eo1, use=icl6404,
+
+#### Interactive Systems Corp