+ sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;%?%p8%t99;%;m%?%p5%t\E[1!{%;%?%p9%t\017%e\016%;$<1>,
+ sgr0=\E[m\016$<1>, smacs=\017$<1>,
+ smcup=\E[=4l\E[1;24w\E2\r, smir=\E[4h,
+ smkx=\E[1!z\E[0;3u, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
+ vpa=\E[%p1%{1}%+%dd,
+avt-rv-ns|concept avt in reverse video mode/no status line,
+ flash=\E[=205l$<200>\E[=205h, is1=\E[=103l\E[=205h,
+ use=avt-ns,
+avt-w-ns|concept avt in 132 column mode/no status line,
+ is1=\E[=103h\E[=205l, smcup=\E[H\E[1;24;1;132w,
+ use=avt-ns,
+avt-w-rv-ns|concept avt in 132 column mode/no status line/reverse video,
+ flash=\E[=205l$<200>\E[=205h, is1=\E[=103h\E[=205h,
+ smcup=\E[H\E[1;24;1;132w, use=avt-ns,
+
+# Concept AVT with status line. We get the status line using the
+# "Background status line" feature of the terminal. We swipe the
+# first line of memory in window 2 for the status line, keeping
+# 191 lines of memory and 24 screen lines for regular use.
+# The first line is used instead of the last so that this works
+# on both 4 and 8 page AVTs. (Note the lm#191 or 192 - this
+# assumes an 8 page AVT but lm isn't currently used anywhere.)
+#
+avt+s|concept avt status line changes,
+ eslok, hs,
+ lm#191,
+ dsl=\E[0*w, fsl=\E[1;1!w,
+ is3=\E[2w\E[2!w\E[1;1;1;80w\E[H\E[2*w\E[1!w\E2\r\n,
+ rmcup=\E[2w\E2\r\n, smcup=\E[2;25w\E2\r,
+ tsl=\E[2;1!w\E[;%p1%dH\E[2K,
+avt|avt-s|concept-avt|avt w/80 columns,
+ use=avt+s, use=avt-ns,
+avt-rv|avt-rv-s|avt reverse video w/sl,
+ flash=\E[=205l$<200>\E[=205h, is1=\E[=103l\E[=205h,
+ use=avt+s, use=avt-ns,
+avt-w|avt-w-s|concept avt 132 cols+status,
+ is1=\E[=103h\E[=205l, smcup=\E[H\E[1;24;1;132w,
+ use=avt+s, use=avt-ns,
+avt-w-rv|avt-w-rv-s|avt wide+status+rv,
+ flash=\E[=205l$<200>\E[=205h, is1=\E[=103h\E[=205h,
+ smcup=\E[H\E[1;24;1;132w, use=avt+s, use=avt-ns,
+
+#### Contel Business Systems.
+#
+
+# Contel c300 and c320 terminals.
+contel300|contel320|c300|Contel Business Systems C-300 or C-320,
+ am, in, xon,
+ cols#80, lines#24, xmc#1,
+ bel=^G, clear=\EK, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
+ cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA,
+ dch1=\EO$<5.5*>, dl1=\EM$<5.5*>, ed=\EJ$<5.5*>,
+ el=\EI$<5.5>, flash=\020\002$<200/>\020\003, home=\EH,
+ hts=\E1, ich1=\EN, il1=\EL$<5.5*>, ind=^J, ip=$<5.5*>,
+ kbs=^H, kf0=\ERJ, kf1=\ERA, kf2=\ERB, kf3=\ERC, kf4=\ERD,
+ kf5=\ERE, kf6=\ERF, kf7=\ERG, kf8=\ERH, kf9=\ERI, ll=\EH\EA,
+ rmso=\E!\0, sgr0=\E!\0, smso=\E!\r, tbc=\E3,
+# Contel c301 and c321 terminals.
+contel301|contel321|c301|c321|Contel Business Systems C-301 or C-321,
+ flash@, ich1@, ip@, rmso=\E!\0$<20>, smso=\E!\r$<20>,
+ use=contel300,
+
+#### Data General (dg)
+#
+# According to James Carlson <carlson@xylogics.com> writing in January 1995,
+# the terminals group at Data General was shut down in 1991; all these
+# terminals have thus been discontinued.
+#
+# DG terminals have function keys that respond to the SHIFT and CTRL keys,
+# e.g., SHIFT-F1 generates a different code from F1. To number the keys
+# sequentially, first the unmodified key codes are listed as F1 through F15.
+# Then their SHIFT versions are listed as F16 through F30, their CTRL versions
+# are listed as F31 through F45, and their CTRL-SHIFT versions are listed as
+# F46 through F60. This is done in the private "includes" below whose names
+# start with "dgkeys+".
+#
+# DG terminals generally support 8 bit characters. For each of these terminals
+# two descriptions are supplied:
+# 1) A default description for 8 bits/character communications, which
+# uses the default DG international character set and keyboard codes.
+# 2) A description with suffix "-7b" for 7 bits/character communications.
+# This description must use the NON-DEFAULT native keyboard language.
+
+# Unmodified fkeys (kf1-kf11), Shift fkeys (kf12-kf22), Ctrl fkeys (kf23-kf33),
+# Ctrl/Shift fdkeys (kf34-kf44).
+
+dgkeys+8b|Private entry describing DG terminal 8-bit ANSI mode special keys,
+ ka1=\233020z, ka3=\233021z, kc1=\233022z, kc3=\233023z,
+ kclr=\2332J, kcub1=\233D, kcud1=\233B, kcuf1=\233C,
+ kcuu1=\233A, kel=\233K, kf1=\233001z, kf10=\233010z,
+ kf11=\233011z, kf12=\233012z, kf13=\233013z,
+ kf14=\233014z, kf15=\233000z, kf16=\233101z,
+ kf17=\233102z, kf18=\233103z, kf19=\233104z,
+ kf2=\233002z, kf20=\233105z, kf21=\233106z,
+ kf22=\233107z, kf23=\233108z, kf24=\233109z,
+ kf25=\233110z, kf26=\233111z, kf27=\233112z,
+ kf28=\233113z, kf29=\233114z, kf3=\233003z,
+ kf30=\233100z, kf31=\233201z, kf32=\233202z,
+ kf33=\233203z, kf34=\233204z, kf35=\233205z,
+ kf36=\233206z, kf37=\233207z, kf38=\233208z,
+ kf39=\233209z, kf4=\233004z, kf40=\233210z,
+ kf41=\233211z, kf42=\233212z, kf43=\233213z,
+ kf44=\233214z, kf45=\233200z, kf46=\233301z,
+ kf47=\233302z, kf48=\233303z, kf49=\233304z,
+ kf5=\233005z, kf50=\233305z, kf51=\233306z,
+ kf52=\233307z, kf53=\233308z, kf54=\233309z,
+ kf55=\233310z, kf56=\233311z, kf57=\233312z,
+ kf58=\233313z, kf59=\233314z, kf6=\233006z,
+ kf60=\233300z, kf7=\233007z, kf8=\233008z, kf9=\233009z,
+ khome=\233H, kprt=\233i,
+
+dgkeys+7b|Private entry describing DG terminal 7-bit ANSI mode special keys,
+ ka1=\E[020z, ka3=\E[021z, kc1=\E[022z, kc3=\E[023z,
+ kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
+ kel=\E[K, kf1=\E[001z, kf10=\E[010z, kf11=\E[011z,
+ kf12=\E[012z, kf13=\E[013z, kf14=\E[014z, kf15=\E[000z,
+ kf16=\E[101z, kf17=\E[102z, kf18=\E[103z, kf19=\E[104z,
+ kf2=\E[002z, kf20=\E[105z, kf21=\E[106z, kf22=\E[107z,
+ kf23=\E[108z, kf24=\E[109z, kf25=\E[110z, kf26=\E[111z,
+ kf27=\E[112z, kf28=\E[113z, kf29=\E[114z, kf3=\E[003z,
+ kf30=\E[100z, kf31=\E[201z, kf32=\E[202z, kf33=\E[203z,
+ kf34=\E[204z, kf35=\E[205z, kf36=\E[206z, kf37=\E[207z,
+ kf38=\E[208z, kf39=\E[209z, kf4=\E[004z, kf40=\E[210z,
+ kf41=\E[211z, kf42=\E[212z, kf43=\E[213z, kf44=\E[214z,
+ kf45=\E[200z, kf46=\E[301z, kf47=\E[302z, kf48=\E[303z,
+ kf49=\E[304z, kf5=\E[005z, kf50=\E[305z, kf51=\E[306z,
+ kf52=\E[307z, kf53=\E[308z, kf54=\E[309z, kf55=\E[310z,
+ kf56=\E[311z, kf57=\E[312z, kf58=\E[313z, kf59=\E[314z,
+ kf6=\E[006z, kf60=\E[300z, kf7=\E[007z, kf8=\E[008z,
+ kf9=\E[009z, khome=\E[H, kprt=\E[i,
+
+dgkeys+11|Private entry describing 11 minimal-subset DG mode special keys,
+ kclr=^L, kcub1=^Y, kcud1=^Z, kcuf1=^X, kcuu1=^W, kel=^K,
+ kf1=^^q, kf10=^^z, kf11=^^{, kf12=^^a, kf13=^^b, kf14=^^c,
+ kf15=^^d, kf16=^^e, kf17=^^f, kf18=^^g, kf19=^^h, kf2=^^r,
+ kf20=^^i, kf21=^^j, kf22=^^k, kf23=^^1, kf24=^^2, kf25=^^3,
+ kf26=^^4, kf27=^^5, kf28=^^6, kf29=^^7, kf3=^^s, kf30=^^8,
+ kf31=^^9, kf32=^^\:, kf33=^^;, kf34=^^!, kf35=^^", kf36=^^#,
+ kf37=^^$, kf38=^^%%, kf39=^^&, kf4=^^t, kf40=^^', kf41=^^(,
+ kf42=^^), kf43=^^*, kf44=^^+, kf5=^^u, kf6=^^v, kf7=^^w,
+ kf8=^^x, kf9=^^y, khome=^H,
+
+dgkeys+15|Private entry describing 15 DG mode special keys,
+ kHOM=^^^H, kLFT=^^^Y, kRIT=^^^X, ka1=^^\\, ka3=^^], kc1=^^\^,
+ kc3=^^_, kf1=^^q, kf10=^^z, kf11=^^{, kf12=^^|, kf13=^^},
+ kf14=^^~, kf15=^^p, kf16=^^a, kf17=^^b, kf18=^^c, kf19=^^d,
+ kf2=^^r, kf20=^^e, kf21=^^f, kf22=^^g, kf23=^^h, kf24=^^i,
+ kf25=^^j, kf26=^^k, kf27=^^l, kf28=^^m, kf29=^^n, kf3=^^s,
+ kf30=^^`, kf31=^^1, kf32=^^2, kf33=^^3, kf34=^^4, kf35=^^5,
+ kf36=^^6, kf37=^^7, kf38=^^8, kf39=^^9, kf4=^^t, kf40=^^\:,
+ kf41=^^;, kf42=^^<, kf43=^^=, kf44=^^>, kf45=^^0, kf46=^^!,
+ kf47=^^", kf48=^^#, kf49=^^$, kf5=^^u, kf50=^^%%, kf51=^^&,
+ kf52=^^', kf53=^^(, kf54=^^), kf55=^^*, kf56=^^+, kf57=^^\,,
+ kf58=^^-, kf59=^^., kf6=^^v, kf60=^^\s, kf7=^^w, kf8=^^x,
+ kf9=^^y,
+
+# Data General color terminals use the "Tektronix" color model. The total
+# number of colors varies with the terminal model, as does support for
+# attributes used in conjunction with color.
+
+# Removed u7, u8 definitions since they conflict with tack:
+# Preserve user-defined colors in at least some cases.
+# u7=^^Fh,
+# Default is ACM mode.
+# u8=^^F}20^^Fi^^F}21,
+#
+dgunix+fixed|Fixed color info for DG D430C terminals in DG-UNIX mode,
+ bce,
+ colors#16, ncv#53, pairs#256,
+ op=\036Ad\036Bd,
+ 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,
+ setb=\036B%p1%{48}%+%c, setf=\036A%p1%{48}%+%c,
+
+dg+fixed|Fixed color info for DG D430C terminals in DG mode,
+ use=dgunix+fixed,
+
+# Video attributes are coordinated using static variables set by "sgr", then
+# checked by "op", "seta[bf]", and "set[bf]" to refresh the attribute settings.
+# (D=dim, U=underline, B=blink, R=reverse.)
+dg+color8|Color info for Data General D220 and D230C terminals in ANSI mode,
+ bce,
+ colors#8, ncv#16, pairs#64,
+ op=\E[%?%gD%t2;%;%?%gU%t4;%;%?%gB%t5;%;%?%gR%t7;%;m,
+ setab=\E[4%p1%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m,
+ setaf=\E[3%p1%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m,
+ setb=\E[4%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m,
+ setf=\E[3%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m,
+
+dg+color|Color info for Data General D470C terminals in ANSI mode,
+ colors#16, ncv#53, pairs#256,
+ setab=\E[%?%p1%{8}%<%t4%p1%e=%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m,
+ setaf=\E[%?%p1%{8}%<%t3%p1%e<%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m,
+ setb=\E[%?%p1%{8}%<%t4%e=%;%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m,
+ 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,
+
+dgmode+color8|Color info for Data General D220/D230C terminals in DG mode,
+ bce,
+ colors#8, ncv#16, pairs#64,
+ op=\036Ad\036Bd,
+ setab=\036B%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%{48}%+%c,
+ setaf=\036A%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%{48}%+%c,
+ setb=\036B%p1%{48}%+%c, setf=\036A%p1%{48}%+%c,
+
+dgmode+color|Color info for Data General D470C terminals in DG mode,
+ colors#16, pairs#256,
+ 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,
+
+dgunix+ccc|Configurable color info for DG D430C terminals in DG-UNIX mode,
+ bce, ccc,
+ colors#52, ncv#53, pairs#26,
+ initp=\036RG0%p1%02X%p2%{255}%*%{1000}%/%02X%p3%{255}%*%{1000}%/%02X%p4%{255}%*%{1000}%/%02X%p5%{255}%*%{1000}%/%02X%p6%{255}%*%{1000}%/%02X%p7%{255}%*%{1000}%/%02X,
+ oc=\036RG01A00FF00000000\036RG01B00000000FF00\036RG01C007F00000000\036RG01D000000007F00,
+ op=\036RF4831A\036RF2E31B\036RF1D31C\036RF3F31D,
+ scp=\036RG2%p1%02X,
+
+# Colors are in the order: normal, reverse, dim, dim + reverse.
+dg+ccc|Configurable color info for DG D430C terminals in DG mode,
+ bce, ccc,
+ colors#52, ncv#53, pairs#26,
+ initp=\036RG0%p1%{16}%/%{48}%+%c%p1%{16}%m%{48}%+%c%p2%{255}%*%{1000}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p3%{255}%*%{1000}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p4%{255}%*%{1000}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p5%{255}%*%{1000}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p6%{255}%*%{1000}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p7%{255}%*%{1000}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c,
+ oc=\036RG01\:00??00000000\036RG01;00000000??00\036RG01<007?00000000\036RG01=000000007?00,
+ op=\036RF4831\:\036RF2>31;\036RF1=31<\036RF3?31=,
+ scp=\036RG2%p1%{16}%/%{48}%+%c%p1%{16}%m%{48}%+%c,
+
+# The generic DG terminal type (an 8-bit-clean subset of the 6053)
+# Initialization string 1 sets:
+# ^R - vertical scrolling enabled
+# ^C - blinking enabled
+dg-generic|Generic Data General terminal in DG mode,
+ am, bw, msgr, xon,
+ cols#80, lines#24,
+ bel=^G, blink=^N, clear=^L, cr=^M, cub1=^Y, cud1=^Z, cuf1=^X,
+ cup=\020%p2%c%p1%c, cuu1=^W, dim=^\, el=^K, ind=^J, is1=^R^C,
+ mc0=^Q, nel=^J, rmso=^], rmul=^U, sgr0=^O^U^], smso=^\,
+ smul=^T, use=dgkeys+11,
+
+# According to the 4.4BSD termcap file, the dg200 <cup> should be the
+# termcap equivalent of \020%p2%{128}%+%c%p1%{128}%+%c (in termcap
+# notation that's "^P%r%+\200%+\200"). Those \200s are suspicious,
+# maybe they were originally nuls (which would fit).
+
+dg200|data general dasher 200,
+ OTbs, am, bw,
+ cols#80, lines#24,
+ bel=^G, clear=^L, cr=^M, cub1=^Y, cud1=^Z, cuf1=^X,
+ cup=\020%p2%c%p1%c, cuu1=^W, el=^K, home=^H, ind=^J,
+ kcub1=^Y, kcud1=^Z, kcuf1=^X, kcuu1=^W, kf0=^^z, kf1=^^q,
+ kf2=^^r, kf3=^^s, kf4=^^t, kf5=^^u, kf6=^^v, kf7=^^w, kf8=^^x,
+ kf9=^^y, khome=^H, lf0=f10, nel=^J, rmso=^^E, rmul=^U,
+ smso=^^D, smul=^T,
+
+# Data General 210/211 (and 410?) from Lee Pearson (umich!lp) via BRL
+dg210|dg-ansi|Data General 210/211,
+ am,
+ cols#80, lines#24,
+ OTnl=\E[B, clear=\E[2J, cub1=\E[D, cud1=\E[B, cuf1=\E[C,
+ cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K,
+ home=\E[H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
+ khome=\E[H, nel=\r\E[H\E[A\n, rmso=\E[0;m, rmul=\E[0;m,
+ smso=\E[7;m, smul=\E[4;m,
+# From: Peter N. Wan <ihnp4!gatech!gacsr!wan>
+# courtesy of Carlos Rucalde of Vantage Software, Inc.
+# (dg211: this had <cup=\020%r%.%>., which was an ancient termcap hangover.
+# I suspect the d200 function keys actually work on the dg211, check it out.)
+dg211|Data General d211,
+ cnorm=^L, cvvis=^L^R, ht=^I, ind@, kbs=^Y, kf0@, kf1@, kf2@, kf3@,
+ kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, lf0@, nel=^M^Z, rmcup=^L,
+ rmso=\036E$<0/>, smcup=^L^R, smso=\036D$<5/>, use=dg200,
+
+# dg450 from Cornell (not official)
+dg450|dg6134|data general 6134,
+ cub1@, cuf1=^X, use=dg200,
+
+# Not official...
+# Note: lesser Dasher terminals will not work with vi because vi insists upon
+# having a command to move straight down from any position on the bottom line
+# and scroll the screen up, or a direct vertical scroll command. The 460 and
+# above have both, the D210/211, for instance, has neither. We must use ANSI
+# mode rather than DG mode because standard UNIX tty drivers assume that ^H is
+# backspace on all terminals. This is not so in DG mode.
+# (dg460-ansi: removed obsolete ":kn#6:"; also removed ":mu=\EW:", on the
+# grounds that there is no matching ":ml:"
+dg460-ansi|Data General Dasher 460 in ANSI-mode,
+ OTbs, am, msgr, ul,
+ cols#80, it#8, lines#24,
+ OTnl=\ED, blink=\E[5m, clear=\E[2J, cub1=^H, cud1=\E[B,
+ cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, dch1=\E[P,
+ dim=\E[2m, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
+ ich1=\E[@, il1=\E[L, ind=\E[S, is2=^^F@, kbs=\E[D,
+ kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
+ kf0=\E[001z, kf1=\E[002z, kf2=\E[003z, kf3=\E[004z,
+ kf4=\E[005z, kf5=\E[006z, kf6=\E[007z, kf7=\E[008z,
+ kf8=\E[009z, kf9=\E[00\:z, khome=\E[H, lf0=f1, lf1=f2,
+ lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7, lf7=f8, lf9=f10,
+ mc0=\E[i, rev=\E[7m, ri=\E[T, rmso=\E[m, rmul=\E[05,
+ sgr=%?%p9%t\E(0%e\E(B%;\E[0%?%p5%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m,
+ sgr0=\E(B\E[m, smso=\E[7m, smul=\E[4m, u6=\E[%d;%dR,
+ u7=\E[6n, u8=\E[5n, u9=\E[0n,
+# From: Wayne Throop <mcnc!rti-sel!rtp47!throopw> (not official)
+# Data General 605x
+# Ought to work for a Model 6242, Type D210 as well as a 605x.
+# Note that the cursor-down key transmits ^Z. Job control users, beware!
+# This also matches a posted description of something called a `Dasher 100'
+# so there's a dg100 alias here.
+# (dg6053: the 4.4BSD file had <cub1=^H>, <cud1=^J>, <cuf1=^S>. -- esr)
+dg6053-old|dg100|data general 6053,
+ OTbs, am, bw, ul,
+ cols#80, lines#24,
+ OTbc=^Y, bel=^G, clear=^L, cnorm=^L, cr=^M, cub1=^Y, cud1=^Z,
+ cuf1=^X, cup=\020%p2%c%p1%c, cuu1=^W, cvvis=^L^R, el=^K,
+ home=^H, ht=^I, is2=^R, kbs=^Y, kcub1=^Y, kcud1=^Z, kcuf1=^X,
+ kcuu1=^W, kf0=^^q, kf1=^^r, kf2=^^s, kf3=^^t, kf4=^^u, kf5=^^v,
+ kf6=^^w, kf7=^^x, kf8=^^y, kf9=^^z, khome=^H, rmcup=^L,
+ rmso=\0^^E, rmul=^U, smcup=^L^R, smso=\0\0\0\0\0\036D,
+ smul=^T,
+
+# (Some performance can be gained over the generic DG terminal type)
+dg6053|6053|6053-dg|dg605x|605x|605x-dg|d2|d2-dg|Data General DASHER 6053,
+ xon@,
+ home=^P\0\0, ll=^P\0^W, use=dg-generic,
+
+# Like 6053, but adds reverse video and more keypad and function keys.
+d200|d200-dg|Data General DASHER D200,
+ bold=^^D^T, home@, ll@, rev=^^D, rmso=^^E^],
+ sgr=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;%?%p4%t\016%e\017%;%?%p1%p5%|%t\034%e\035%;,
+ sgr0=\017\025\035\036E, smso=^^D^\, use=dgkeys+15,
+ use=dg6053,
+
+# DASHER D210 series terminals in ANSI mode.
+# Reverse video, no insert/delete character/line, 7 bits/character only.
+#
+# Initialization string 1 sets:
+# <0 - scrolling enabled
+# <1 - blink enabled
+# <4 - print characters regardless of attributes
+d210|d214|Data General DASHER D210 series,
+ am, bw, msgr, xon,
+ cols#80, lines#24,
+ bel=^G, blink=\E[5m, bold=\E[4;7m, clear=\E[2J, cr=^M,
+ cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
+ cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
+ cuu=\E[%p1%dA, cuu1=\E[A, dim=\E[2m, ed=\E[J, el=\E[K,
+ el1=\E[1K, home=\E[H, ind=^J, is1=\E[<0;<1;<4l,
+ ll=\E[H\E[A, nel=^J, rev=\E[7m, rmso=\E[m, rmul=\E[m,
+ sgr=\E[%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;%?%p1%p3%|%p6%|%t7;%;m,
+ sgr0=\E[m, smso=\E[2;7m, smul=\E[4m, use=dgkeys+7b,
+
+# DASHER D210 series terminals in DG mode.
+# Like D200, but adds clear to end-of-screen and needs XON/XOFF.
+d210-dg|d214-dg|Data General DASHER D210 series in DG mode,
+ xon,
+ ed=^^FF, use=d200-dg,
+
+# DASHER D211 series terminals in ANSI mode.
+# Like the D210, but with 8-bit characters and local printer support.
+#
+# Initialization string 2 sets:
+# \E[2;1;1;1v
+# 2;1 - 8 bit operations
+# 1;1 - 8 bit (international) keyboard language
+# \E(B - default primary character set (U.S. ASCII)
+# \E)4 - default secondary character set (international)
+# ^O - primary character set
+#
+d211|d215|Data General DASHER D211 series,
+ km,
+ is2=\E[2;1;1;1v\E(B\E)4\017, mc0=\E[i, use=dgkeys+8b,
+ use=d210,
+
+# Initialization string 2 sets:
+# \E[2;0;1;0v
+# 2;0 - 7 bit operations
+# 1;0 - 7 bit (native) keyboard language
+# \E(0 - default character set (the keyboard native language)
+# ^O - primary character set
+d211-7b|d215-7b|Data General DASHER D211 series in 7 bit mode,
+ km@,
+ is2=\E[2;0;1;0v\E(0\017, use=dgkeys+7b, use=d211,
+
+# Like the D210 series, but adds support for 8-bit characters.
+#
+# Reset string 2 sets:
+# ^^N - secondary character set
+# ^^FS0> - 8 bit international character set
+# ^^O - primary character set
+# ^^FS00 - default character set (matching the native keyboard language)
+#
+d211-dg|d215-dg|Data General DASHER D211 series in DG mode,
+ km,
+ rs2=\036N\036FS0>\036O\036FS00, use=d210-dg,
+
+d216-dg|d216e-dg|d216+dg|d216e+dg|d217-dg|Data General DASHER D216 series in DG mode,
+ use=d211-dg,
+
+# Enhanced DG mode with changes to be more UNIX compatible.
+d216-unix|d216e-unix|d216+|d216e+|Data General DASHER D216+ in DG-UNIX mode,
+ mc5i,
+ it#8,
+ acsc=a\177j$k"l!m#n)q+t'u&v(w%x*, blink=^^PI,
+ clear=^^PH, cub1=^^PD, cud1=^^PB, cuf1=^^PC, cuu1=^^PA,
+ el=^^PE, home=^^PF, hpa=\020%p1%c\177, ht=^I, ind=^J,
+ is1=\022\003\036P@1, is3=\036Fz0, kHOM=^^Pf, kLFT=^^Pd,
+ kPRT=^^P1, kRIT=^^Pc, kclr=^^PH, kcub1=^^PD, kcud1=^^PB,
+ kcuf1=^^PC, kcuu1=^^PA, kel=^^PE, khome=^^PF, kprt=^^P0,
+ mc0=\036F?9, mc4=^^Fa, mc5=^^F`, rmacs=\036FS00,
+ rs2=\036N\036FS0E\036O\036FS00,
+ sgr=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;\036P%?%p4%tI%eJ%;%?%p1%p5%|%t\034%e\035%;\036FS%?%p9%t11%e00%;,
+ sgr0=\036PJ\025\035\036E\036FS00, smacs=\036FS11,
+ vpa=\020\177%p1%c, use=dgkeys+15, use=d216-dg,
+d216-unix-25|d216+25|Data General DASHER D216+ in DG-UNIX mode with 25 lines,
+ lines#25,
+ is3=\036Fz2, use=d216+,
+
+d217-unix|Data General DASHER D217 in DG-UNIX mode,
+ use=d216-unix,
+d217-unix-25|Data General DASHER D217 in DG-UNIX mode with 25 lines,
+ use=d216-unix-25,
+
+# DASHER D220 color terminal in ANSI mode.
+# Like the D470C but with fewer colors and screen editing features.
+#
+# Initialization string 1 sets:
+# \E[<0;<1;<4l
+# <0 - scrolling enabled
+# <1 - blink enabled
+# <4 - print characters regardless of attributes
+# \E[m - all attributes off
+# Reset string 1 sets:
+# \Ec - initial mode defaults (RIS)
+#
+d220|Data General DASHER D220,
+ mc5i@,
+ dl@, dl1@, il@, il1@, is1=\E[<0;<1;<4l\E[m, mc4@, mc5@, rs1=\Ec,
+ use=dg+color8, use=d470c,
+
+d220-7b|Data General DASHER D220 in 7 bit mode,
+ mc5i@,
+ dl@, dl1@, il@, il1@, is1=\E[<0;<1;<4l\E[m, mc4@, mc5@, rs1=\Ec,
+ use=dg+color8, use=d470c-7b,
+
+# Initialization string 3 sets:
+# - default cursor (solid rectangle)
+# Reset string 2 sets:
+# ^^N - secondary character set
+# ^^FS0> - 8 bit international character set
+# ^^O - primary character set
+# ^^FS00 - default character set (matching the native keyboard language)
+#
+d220-dg|Data General DASHER D220 color terminal in DG mode,
+ mc5i@,
+ dl1@, home@, il1@, is2@, is3=\036FQ2, ll@, mc4@, mc5@, rs1@,
+ rs2=\036N\036FS0>\036O\036FS00, use=dgmode+color8,
+ use=d470c-dg,
+
+# DASHER D230C color terminal in ANSI mode.
+# Like the D220 but with minor ANSI compatibility improvements.
+#
+d230c|d230|Data General DASHER D230C,
+ blink=\E[5;50m, bold=\E[4;7;50m, dim=\E[2;50m, nel=^M^J,
+ rev=\E[7;50m, rmkx=\E[2;1v, rmso=\E[50m, rmul=\E[50m,
+ sgr=\E[50%?%p1%p3%|%p6%|%t;7%{1}%e%{0}%;%PR%?%p4%t;5%{1}%e%{0}%;%PB%?%p2%p6%|%t;4%{1}%e%{0}%;%PU%?%p1%p5%|%t;2%{1}%e%{0}%;%PDm\E)%?%p9%t6\016%e4\017%;,
+ sgr0=\E[50m\E)4\017, smkx=\E[2;0v, smso=\E[2;7;50m,
+ smul=\E[4;50m, use=dgkeys+7b, use=d220,
+
+d230c-dg|d230-dg|Data General DASHER D230C in DG mode,
+ use=d220-dg,
+
+# DASHER D400/D450 series terminals.
+# These add intelligent features like insert/delete to the D200 series.
+#
+# Initialization string 2 sets:
+# ^^FQ2 - default cursor (solid rectangle)
+# ^^FW - character protection disabled
+# ^^FJ - normal (80 column) mode
+# ^^F\^ - horizontal scrolling enabled (for alignment)
+# ^^FX004? - margins at columns 0 and 79
+# ^^F] - horizontal scrolling disabled
+# ^^O - primary character set
+# ^^FS00 - default character set (the keyboard native language)
+# - (should reset scrolling regions, but that glitches the screen)
+# Reset string 1 sets:
+# ^^FA - all terminal defaults except scroll rate
+# Reset string 2 sets:
+# ^^F] - horizontal scrolling disabled
+# ^^FT0 - jump scrolling
+#
+d400|d400-dg|d450|d450-dg|Data General DASHER D400/D450 series,
+ mc5i,
+ acsc=j$k"l!m#n)q+t'u&v(w%x*, civis=\036FQ0,
+ cnorm=\036FQ2, dch1=^^K, dl1=^^FI,
+ enacs=\036N\036FS11\036O, home=^^FG, hpa=\020%p1%c\177,
+ ich1=^^J, il1=^^FH,
+ is2=\036FQ2\036FW\036FJ\036F\^\036FX004?\036F]\036O\036FS00,
+ 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%;,
+ sgr0=\017\025\035\036E\036O, smacs=^^N,
+ vpa=\020\177%p1%c, use=d210-dg,
+
+# DASHER D410/D460 series terminals in ANSI mode.
+# These add a large number of intelligent terminal features.
+#
+# Initialization string 1 sets:
+# \E[<0;<1;<2;<4l
+# <0 - scrolling enabled
+# <1 - blink enabled
+# <2 - horizontal scrolling enabled (for alignment)
+# <4 - print characters regardless of attributes
+# \E[5;0v - normal (80 column) mode
+# \E[1;1;80w - margins at columns 1 and 80
+# \E[1;6;<2h
+# 1 - print all characters even if protected
+# 6 - character protection disabled
+# <2 - horizontal scrolling disabled
+# - (should reset scrolling regions, but that glitches the screen)
+#
+# Initialization string 2 sets:
+# \E[3;2;2;1;1;1v
+# 3;2 - default cursor (solid rectangle)
+# 2;1 - 8 bit operations
+# 1;1 - international keyboard language
+# \E(B - default primary character set (U.S. ASCII)
+# \E)4 - default secondary character set (international)
+# ^O - primary character set
+#
+# Reset string 1 sets:
+# \Ec - initial mode defaults (RIS)
+# \E[<2h - horizontal scrolling disabled
+#
+# Reset string 2 sets:
+# \E[4;0;2;1;1;1v
+# 4;0 - jump scrolling
+# 2;1 - 8 bit operations
+# 1;1 - 8 bit (international) keyboard language
+# \E(B - default primary character set (U.S. ASCII)
+# \E)4 - default secondary character set (international)
+#
+d410|d411|d460|d461|Data General DASHER D410/D460 series,
+ mc5i,
+ acsc=j$k"l!m#n)q+t'u&v(w%x*, civis=\E[3;0v,
+ cnorm=\E[3;2v, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
+ dl1=\E[M, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L,
+ is1=\E[<0;<1;<2;<4l\E[5;0v\E[1;1;80w\E[1;6;<2h,
+ is2=\E[3;2;2;1;1;1v\E(B\E)4\017, mc4=\E[4i, mc5=\E[5i,
+ ri=\EM, rmacs=\E)4\017, rs1=\Ec\E[<2h,
+ rs2=\E[4;0;2;1;1;1v\E(B\E)4,
+ sgr=\E[%?%p1%t2;7%;%?%p3%t7;%;%?%p4%t5;%;%?%p2%t4;%;%?%p1%p5%|%t2;%;%?%p6%t4;7;%;m\E)%?%p9%t6\016%e4\017%;,
+ sgr0=\E[m\E)4\017, smacs=\E)6\016, use=d211,
+
+# Initialization string 2 sets:
+# \E[3;2;2;0;1;0v
+# 3;2 - default cursor (solid rectangle)
+# 2;0 - 7 bit operations
+# 1;0 - 7 bit (native) keyboard language
+# \E(0 - default character set (the keyboard native language)
+# ^O - primary character set
+#
+# Reset string 2 sets:
+# \E[4;0;2;0;1;0v
+# 4;0 - jump scrolling
+# 2;0 - 7 bit operations
+# 1;0 - 7 bit (native) keyboard language
+# \E(0 - default character set (the keyboard native language)
+#
+d410-7b|d411-7b|d460-7b|d461-7b|Data General DASHER D410/D460 series in 7 bit mode,
+ km@,
+ enacs=\E)6, is2=\E[3;2;2;0;1;0v\E(0\017, rmacs=^O,
+ rs2=\E[4;0;2;0;1;0v\E(0,
+ sgr=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m%?%p9%t\016%e\017%;,
+ sgr0=\E[m\017, smacs=^N, use=dgkeys+7b, use=d410,
+
+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%e00%;,
+ sgr0=\017\025\035\036E\036FS00, smacs=\036FS11,
+ use=d400-dg,
+
+# DASHER D410/D460 series terminals in wide (126 columns) ANSI mode.
+#
+# Initialization string 1 sets:
+# \E[<0;<1;<2;<4l
+# <0 - scrolling enabled
+# <1 - blink enabled
+# <2 - horizontal scrolling enabled (for alignment)
+# <4 - print characters regardless of attributes
+# \E[5;1v - compressed (135 column) mode
+# \E[1;1;126 - margins at columns 1 and 126
+# \E[1;6;<2h
+# 1 - print all characters even if protected
+# 6 - character protection disabled
+# <2 - horizontal scrolling disabled
+# - (should reset scrolling regions, but that glitches the screen)
+#
+# Reset string 1 sets:
+# \Ec - initial mode defaults (RIS)
+# \E[5;1v - compressed (135 column) mode
+# \E[1;1;126w - margins at columns 1 and 126
+# \E[<2h - horizontal scrolling disabled
+#
+d410-w|d411-w|d460-w|d461-w|Data General DASHER D410/D460 series in wide mode,
+ cols#126,
+ is1=\E[<0;<1;<2;<4l\E[5;1v\E[1;1;126w\E[1;6;<2h,
+ rs1=\Ec\E[5;1v\E[1;1;126w\E[<2h, use=d410,
+
+d410-7b-w|d411-7b-w|d460-7b-w|d461-7b-w|Data General DASHER D410/D460 series in wide 7 bit mode,
+ cols#126,
+ is1=\E[<0;<1;<2;<4l\E[5;1v\E[1;1;126w\E[1;6;<2h,
+ rs1=\Ec\E[5;1v\E[1;1;126w\E[<2h, use=d410-7b,
+
+d412-dg|d462-dg|d462e-dg|d412+dg|d462+dg|d413-dg|d463-dg|Data General DASHER D412/D462 series in DG mode,
+ use=d410-dg,
+
+# These add intelligent features like scrolling regions.
+d412-unix|d462-unix|d412+|d462+|Data General DASHER D412+/D462+ series in Unix mode,
+ civis=\036FQ0, clear=^^FE, cnorm=\036FQ5,
+ cup=\036FP%p2%2.2X%p1%2.2X, dch1=^^K, dl1=^^FI,
+ home=^^FG, hpa=\036FP%p1%2.2XFF, ich1=^^J, il1=^^FH,
+ is2=\036FQ5\036FW\036FJ\036F\^\036FX004F\036O\036FS00,
+ ll=\036FG\036PA, mc0=^A, rc=\036F}11, ri=^^I,
+ 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+,
+d412-unix-w|d462-unix-w|d412+w|d462+w|Data General DASHER D412+/D462+ series in wide Unix mode,