-# If you're using the GNU termcap library, add
-# :cS=\E[%p1%d;%p2%d;%p3%d;%p4%dp:
-# to these capabilities. This is the nonstandard GNU termcap scrolling
-# capability, arguments are:
-# 1. Total number of lines on the screen.
-# 2. Number of lines above desired scroll region.
-# 3. Number of lines below (outside of) desired scroll region.
-# 4. Total number of lines on the screen, the same as the first parameter.
-# The generic Ann Arbor entry is the only one that uses this.
-aaa+unk|aaa-unk|ann arbor ambassador (internal - don't use this directly),
- OTbs, am, km, mc5i, mir, xon,
- cols#80, it#8,
- bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
- clear=\E[H\E[J$<156>, cr=^M, cub=\E[%p1%dD, cub1=^H,
- cud=\E[%p1%dB, cud1=^K, 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$<5>, home=\E[H, hpa=\E[%p1%{1}%+%dG, ht=^I,
- hts=\EH, ich=\E[%p1%d@$<4*>, ich1=\E[@$<4>, il=\E[%p1%dL,
- il1=\E[L$<3>, ind=^K, invis=\E[8m, is1=\E[m\E7\E[H\E9\E8,
- is3=\E[1Q\E[>20;30l\EP`+x~M\E\\, kbs=^H, kcbt=\E[Z,
- kclr=\E[J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
- kdch1=\E[P, kdl1=\E[M, kf1=\EOA, kf10=\EOJ, kf11=\EOK,
- kf12=\EOL, kf13=\EOM, kf14=\EON, kf15=\EOO, kf16=\EOP,
- kf17=\EOQ, kf18=\EOR, kf19=\EOS, kf2=\EOB, kf20=\EOT,
- kf21=\EOU, kf22=\EOV, kf23=\EOW, kf24=\EOX, kf3=\EOC,
- kf4=\EOD, kf5=\EOE, kf6=\EOF, kf7=\EOG, kf8=\EOH, kf9=\EOI,
- khome=\E[H, kich1=\E[@, kil1=\E[L, krmir=\E6, mc0=\E[0i,
- mc4=^C, mc5=\E[v, mc5p=\E[%p1%dv, rc=\E8,
- rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m,
- rmkx=\EP`>y~[[J`8xy~[[A`4xy~[[D`6xy~[[C`2xy~[[B\E\\,
- rmm=\E[>52l, rmso=\E[m, rmul=\E[m, sc=\E7,
- sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m,
- sgr0=\E[m,
- smkx=\EP`>z~[[J`8xz~[[A`4xz~[[D`6xz~[[C`2xz~[[B\E\\,
- smm=\E[>52h, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
- vpa=\E[%p1%{1}%+%dd,
-
-aaa+rv|ann arbor ambassador in reverse video,
- blink=\E[5;7m, bold=\E[1;7m, invis=\E[7;8m,
- is1=\E[7m\E7\E[H\E9\E8, rev=\E[m, rmso=\E[7m, rmul=\E[7m,
- rs1=\E[H\E[7m\E[J$<156>,
- sgr=\E[%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p1%p2%|%p3%!%t7;%;%?%p7%t8;%;m\016,
- sgr0=\E[7m\016, smso=\E[m, smul=\E[4;7m,
-# Ambassador with the DEC option, for partial vt100 compatibility.
-aaa+dec|ann arbor ambassador in dec vt100 mode,
- acsc=aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}},
- csr=\E[%i%p1%d;%p2%dr, enacs=\E(0, rmacs=^N,
- sgr=\E[%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p1%p3%|%!%t7;%;%?%p7%t8;%;m%?%p9%t\017%e\016%;,
- smacs=^O,
-aaa-18|ann arbor ambassador/18 lines,
- lines#18,
- is2=\E7\E[60;0;0;18p\E8,
- rmcup=\E[60;0;0;18p\E[60;1H\E[K, smcup=\E[18;0;0;18p,
- use=aaa+unk,
-aaa-18-rv|ann arbor ambassador/18 lines+reverse video,
- use=aaa+rv, use=aaa-18,
-aaa-20|ann arbor ambassador/20 lines,
- lines#20,
- is2=\E7\E[60;0;0;20p\E8,
- rmcup=\E[60;0;0;20p\E[60;1H\E[K, smcup=\E[20;0;0;20p,
- use=aaa+unk,
-aaa-22|ann arbor ambassador/22 lines,
- lines#22,
- is2=\E7\E[60;0;0;22p\E8,
- rmcup=\E[60;0;0;22p\E[60;1H\E[K, smcup=\E[22;0;0;22p,
- use=aaa+unk,
-aaa-24|ann arbor ambassador/24 lines,
- lines#24,
- is2=\E7\E[60;0;0;24p\E8,
- rmcup=\E[60;0;0;24p\E[60;1H\E[K, smcup=\E[24;0;0;24p,
- use=aaa+unk,
-aaa-24-rv|ann arbor ambassador/24 lines+reverse video,
- use=aaa+rv, use=aaa-24,
-aaa-26|ann arbor ambassador/26 lines,
- lines#26,
- is2=\E7\E[60;0;0;26p\E8,
- rmcup=\E[60;0;0;26p\E[26;1H\E[K,
- smcup=\E[H\E[J$<156>\E[26;0;0;26p, use=aaa+unk,
-aaa-28|ann arbor ambassador/28 lines,
- lines#28,
- is2=\E7\E[60;0;0;28p\E8,
- rmcup=\E[60;0;0;28p\E[28;1H\E[K,
- smcup=\E[H\E[J$<156>\E[28;0;0;28p, use=aaa+unk,
-aaa-30-s|aaa-s|ann arbor ambassador/30 lines w/status,
- eslok, hs,
- lines#29,
- dsl=\E7\E[60;0;0;30p\E[1;1H\E[K\E[H\E8\r\n\E[K,
- fsl=\E[>51l, is2=\r\n\E[A\E7\E[60;1;0;30p\E8,
- rmcup=\E[60;1;0;30p\E[29;1H\E[K,
- smcup=\E[H\E[J$<156>\E[30;1;0;30p\E[30;1H\E[K,
- tsl=\E[>51h\E[1;%p1%dH\E[2K, use=aaa+unk,
-aaa-30-s-rv|aaa-s-rv|ann arbor ambassador/30 lines+status+reverse video,
- use=aaa+rv, use=aaa-30-s,
-aaa-s-ctxt|aaa-30-s-ctxt|ann arbor ambassador/30 lines+status+save context,
- rmcup=\E[60;1;0;30p\E[59;1H\E[K,
- smcup=\E[30;1H\E[K\E[30;1;0;30p, use=aaa-30-s,
-aaa-s-rv-ctxt|aaa-30-s-rv-ct|ann arbor ambassador/30 lines+status+save context+reverse video,
- rmcup=\E[60;1;0;30p\E[59;1H\E[K,
- smcup=\E[30;1H\E[K\E[30;1;0;30p, use=aaa-30-s-rv,
-aaa|aaa-30|ambas|ambassador|ann arbor ambassador/30 lines,
- lines#30,
- is2=\E7\E[60;0;0;30p\E8,
- rmcup=\E[60;0;0;30p\E[30;1H\E[K,
- smcup=\E[H\E[J$<156>\E[30;0;0;30p, use=aaa+unk,
-aaa-30-rv|aaa-rv|ann arbor ambassador/30 lines in reverse video,
- use=aaa+rv, use=aaa-30,
-aaa-30-ctxt|aaa-ctxt|ann arbor ambassador/30 lines; saving context,
- rmcup=\E[60;0;0;30p\E[60;1H\E[K, smcup=\E[30;0;0;30p,
- use=aaa-30,
-aaa-30-rv-ctxt|aaa-rv-ctxt|ann arbor ambassador/30 lines reverse video; saving context,
- rmcup=\E[60;0;0;30p\E[60;1H\E[K, smcup=\E[30;0;0;30p,
- use=aaa+rv, use=aaa-30,
-aaa-36|ann arbor ambassador/36 lines,
- lines#36,
- is2=\E7\E[60;0;0;36p\E8,
- rmcup=\E[60;0;0;36p\E[36;1H\E[K,
- smcup=\E[H\E[J$<156>\E[36;0;0;36p, use=aaa+unk,
-aaa-36-rv|ann arbor ambassador/36 lines+reverse video,
- use=aaa+rv, use=aaa-36,
-aaa-40|ann arbor ambassador/40 lines,
- lines#40,
- is2=\E7\E[60;0;0;40p\E8,
- rmcup=\E[60;0;0;40p\E[40;1H\E[K,
- smcup=\E[H\E[J$<156>\E[40;0;0;40p, use=aaa+unk,
-aaa-40-rv|ann arbor ambassador/40 lines+reverse video,
- use=aaa+rv, use=aaa-40,
-aaa-48|ann arbor ambassador/48 lines,
- lines#48,
- is2=\E7\E[60;0;0;48p\E8,
- rmcup=\E[60;0;0;48p\E[48;1H\E[K,
- smcup=\E[H\E[J$<156>\E[48;0;0;48p, use=aaa+unk,
-aaa-48-rv|ann arbor ambassador/48 lines+reverse video,
- use=aaa+rv, use=aaa-48,
-aaa-60-s|ann arbor ambassador/59 lines+status,
- eslok, hs,
- lines#59,
- dsl=\E7\E[60;0;0;60p\E[1;1H\E[K\E[H\E8\r\n\E[K,
- fsl=\E[>51l, is2=\r\n\E[A\E7\E[60;1;0;60p\E8,
- tsl=\E[>51h\E[1;%p1%dH\E[2K, use=aaa+unk,
-aaa-60-s-rv|ann arbor ambassador/59 lines+status+reverse video,
- use=aaa+rv, use=aaa-60-s,
-aaa-60-dec-rv|ann arbor ambassador/dec mode+59 lines+status+rev video,
- use=aaa+dec, use=aaa+rv, use=aaa-60-s,
-aaa-60|ann arbor ambassador/60 lines,
- lines#60,
- is2=\E7\E[60;0;0;60p\E[1Q\E[m\E[>20;30l\E8,
- use=aaa+unk,
-aaa-60-rv|ann arbor ambassador/60 lines+reverse video,
- use=aaa+rv, use=aaa-60,
-aaa-db|ann arbor ambassador 30/destructive backspace,
- OTbs@,
- cub1=\E[D, is3=\E[1Q\E[m\E[>20l\E[>30h, use=aaa-30,
-
-guru|guru-33|guru+unk|ann arbor guru/33 lines 80 cols,
- lines#33,
- flash=\E[>59h$<100>\E[>59l,
- is2=\E7\E[255;0;0;33;80;80p\E8\E[J, is3=\E[>59l,
- rmcup=\E[255p\E[255;1H\E[K, smcup=\E[33p, use=aaa+unk,
-guru+rv|guru changes for reverse video,
- flash=\E[>59l$<100>\E[>59h, is3=\E[>59h,
-guru-rv|guru-33-rv|ann arbor guru/33 lines+reverse video,
- use=guru+rv, use=guru-33,
-guru+s|guru status line,
- eslok, hs,
- dsl=\E7\E[;0p\E[1;1H\E[K\E[H\E8\r\n\E[K, fsl=\E[>51l,
- rmcup=\E[255;1p\E[255;1H\E[K, smcup=,
- tsl=\E[>51h\E[1;%p1%dH\E[2K,
-guru-nctxt|guru with no saved context,
- smcup=\E[H\E[J$<156>\E[33p\E[255;1H\E[K, use=guru,
-guru-s|guru-33-s|ann arbor guru/33 lines+status,
- lines#32,
- is2=\r\n\E[A\E7\E[255;1;0;33;80;80p\E8\E[J,
- smcup=\E[33;1p\E[255;1H\E[K, use=guru+s, use=guru+unk,
-guru-24|ann arbor guru 24 lines,
- cols#80, lines#24,
- is2=\E7\E[255;0;0;24;80;80p\E8\E[J, smcup=\E[24p,
- use=guru+unk,
-guru-44|ann arbor guru 44 lines,
- cols#97, lines#44,
- is2=\E7\E[255;0;0;44;97;100p\E8\E[J, smcup=\E[44p,
- use=guru+unk,
-guru-44-s|ann arbor guru/44 lines+status,
- lines#43,
- is2=\r\n\E[A\E7\E[255;1;0;44;80;80p\E8\E[J,
- smcup=\E[44;1p\E[255;1H\E[K, use=guru+s, use=guru+unk,
-guru-76|guru with 76 lines by 89 cols,
- cols#89, lines#76,
- is2=\E7\E[255;0;0;76;89;100p\E8\E[J, smcup=\E[76p,
- use=guru+unk,
-guru-76-s|ann arbor guru/76 lines+status,
- cols#89, lines#75,
- is2=\r\n\E[A\E7\E[255;1;0;76;89;100p\E8\E[J,
- smcup=\E[76;1p\E[255;1H\E[K, use=guru+s, use=guru+unk,
-guru-76-lp|guru-lp|guru with page bigger than line printer,
- cols#134, lines#76,
- is2=\E7\E[255;0;0;76;134;134p\E8\E[J, smcup=\E[76p,
- use=guru+unk,
-guru-76-w|guru 76 lines by 178 cols,
- cols#178, lines#76,
- is2=\E7\E[255;0;0;76;178;178p\E8\E[J, smcup=\E[76p,
- use=guru+unk,
-guru-76-w-s|ann arbor guru/76 lines+status+wide,
- cols#178, lines#75,
- is2=\r\n\E[A\E7\E[255;1;0;76;178;178p\E8\E[J,
- smcup=\E[76;1p\E[255;1H\E[K, use=guru+s, use=guru+unk,
-guru-76-wm|guru 76 lines by 178 cols with 255 cols memory,
- cols#178, lines#76,
- is2=\E7\E[255;0;0;76;178;255p\E8\E[J, smcup=\E[76p,
- use=guru+unk,
-aaa-rv-unk|ann arbor unknown type,
- lh#0, lw#0, nlab#0,
- blink=\E[5;7m, bold=\E[1;7m, home=\E[H, invis=\E[7;8m,
- is1=\E[7m\E7\E[H\E9\E8, rev=\E[m, rmso=\E[7m, rmul=\E[7m,
- rs1=\E[H\E[7m\E[J,
- sgr=\E[%?%p6%t1;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p1%!%t7;%;%?%p7%t8;%;m,
- sgr0=\E[7m, smso=\E[m, smul=\E[4;7m,
-
-#### Applied Digital Data Systems (adds)
-#
-# ADDS itself is long gone. ADDS was bought by NCR, and the same group made
-# ADDS and NCR terminals. When AT&T and NCR merged, the engineering for
-# terminals was merged again. Then AT&T sold the terminal business to
-# SunRiver, which later changed its name to Boundless Technologies. The
-# engineers from Teletype, AT&T terminals, ADDS, and NCR (who are still there
-# as of early 1995) are at:
-#
-# Boundless Technologies
-# 100 Marcus Boulevard
-# Hauppauge, NY 11788-3762
-# Vox: (800)-231-5445
-# Fax: (516)-342-7378
-# Web: http://boundless.com
-#
-# Their voice mail used to describe the place as "SunRiver (formerly ADDS)".
-# In 1995 Boundless acquired DEC's terminals business.
-#
-
-# Regent: lowest common denominator, works on all regents.
-# (regent: renamed ":bc:" to ":le:" -- esr)
-regent|Adds Regent Series,
- OTbs, am,
- cols#80, lines#24,
- bel=^G, clear=^L, cr=^M, cub1=^U, cud1=^J, cuf1=^F, cuu1=^Z,
- home=\EY\s\s, ind=^J, ll=^A,
-# Regent 100 has a bug where if computer sends escape when user is holding
-# down shift key it gets confused, so we avoid escape.
-regent100|Adds Regent 100,
- xmc#1,
- bel=^G,
- cup=\013%p1%' '%+%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%c,
- kf0=^B1\r, kf1=^B2\r, kf2=^B3\r, kf3=^B4\r, kf4=^B5\r,
- kf5=^B6\r, kf6=^B7\r, kf7=^B8\r, lf0=F1, lf1=F2, lf2=F3,
- lf3=F4, lf4=F5, lf5=F6, lf6=F7, lf7=F8, rmso=\E0@, rmul=\E0@,
- sgr0=\E0@, smso=\E0P, smul=\E0`, use=regent,
-regent20|Adds Regent 20,
- bel=^G, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, ed=\Ek, el=\EK,
- use=regent,
-regent25|Adds Regent 25,
- bel=^G, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z, khome=^A,
- use=regent20,
-regent40|Adds Regent 40,
- xmc#1,
- bel=^G, dl1=\El$<2*>, il1=\EM$<2*>, kf0=^B1\r, kf1=^B2\r,
- kf2=^B3\r, kf3=^B4\r, kf4=^B5\r, kf5=^B6\r, kf6=^B7\r,
- kf7=^B8\r, lf0=F1, lf1=F2, lf2=F3, lf3=F4, lf4=F5, lf5=F6,
- lf6=F7, lf7=F8, rmso=\E0@, rmul=\E0@, sgr0=\E0@, smso=\E0P,
- smul=\E0`, use=regent25,
-regent40+|Adds Regent 40+,
- is2=\EB, use=regent40,
-regent60|regent200|Adds Regent 60,
- dch1=\EE, is2=\EV\EB, kdch1=\EE, kich1=\EF, krmir=\EF,
- rmir=\EF, rmso=\ER\E0@\EV, smir=\EF, smso=\ER\E0P\EV,
- use=regent40+,
-# From: <edward@onyx.berkeley.edu> Thu Jul 9 09:27:33 1981
-# (viewpoint: added <kcuf1>, function key, and <dl1> capabilities -- esr)
-viewpoint|addsviewpoint|adds viewpoint,
- OTbs, am,
- cols#80, lines#24,
- bel=^G, clear=^L, cnorm=\017\E0`, cr=^M, cub1=^H, cud1=^J,
- cuf1=^F, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z,
- cvvis=\017\E0P, dl1=\El, ed=\Ek$<16.1*>, el=\EK$<16>,
- ind=^J, is2=\017\E0`, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z,
- kf0=^B1, kf2=^B2, kf3=^B!, kf4=^B", kf5=^B#, khome=^A, ll=^A,
- rmso=^O, rmul=^O, sgr0=^O, smso=^N, smul=^N,
-# Some viewpoints have bad ROMs that foo up on ^O
-screwpoint|adds viewpoint with ^O bug,
- cvvis@, rmso@, rmul@, smso@, smul@, use=viewpoint,
-
-# From: Jay S. Rouman <jsr@dexter.mi.org> 5 Jul 92
-# The <civis>/<cnorm>/<sgr>/<sgr0> strings were added by ESR from specs.
-# Theory; the vp3a+ wants \E0%c to set highlights, where normal=01000000,
-# underline=01100000, rev=01010000, blink=01000010,dim=01000001,
-# invis=01000100 and %c is the logical or of desired attributes.
-# There is also a `tag bit' enabling attributes, set by \E) and unset by \E(.
-#
-# Update by TD - 2004:
-# Adapted from
-# http://www.cs.utk.edu/~shuford/terminal/adds_viewpoint_news.txt
-#
-# COMMANDS ASCII CODE
-#
-# Address, Absolute ESC,=,row,column
-# Beep BEL
-# Aux Port Enable ESC,@
-# Aux Port Disable ESC,A
-# Backspace BS
-# Cursor back BS
-# Cursor down LF
-# Cursor forward FF
-# Cursor home RS
-# Cursor up VT
-# Cursor supress ETB
-# Cursor enable CAN
-# Erase to end of line ESC,T
-# Erase to end of page ESC,Y
-# Erase screen SUB
-# Keyboard lock SI
-# Keyboard unlock SO
-# Read current cursor position ESC,?
-# Set Attribute ESC,0,x (see below for values of x)
-# Tag bit reset ESC,(
-# Tag bit set ESC,)
-# Transparent Print on ESC,3
-# Transparent Print off ESC,4
-#
-#
-# ATTRIBUTES
-#
-# Normal @ 0100
-# Half Intensity A 0101
-# Blinking B 0102
-# Half Intensity Blinking C 0103
-# Reverse Video P 0120
-# Reverse Video Half Intensity Q 0121
-# Reverse Video Blinking R 0122
-# Reverse Video Half Intensity
-# Blinking S 0123
-# Underlined ` 0140
-# Underlined Half Intensity a 0141
-# Underlined Blinking b 0142
-# Underlined Half Intensity
-# Blinking c 0143
-# Video suppress D 0104
-vp3a+|viewpoint3a+|adds viewpoint 3a+,
- am, bw,
- cols#80, it#8, lines#24,
- blink=\E0B\E), civis=^W, clear=\E*$<80>, cnorm=^X, cr=^M,
- cub1=^H, cud1=^J, cuf1=^L,
- cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dim=\E0A\E),
- ed=\EY$<80>, el=\ET, home=^^, ht=^I, ind=^J, invis=\E0D\E),
- kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^,
- nel=^M^J, rev=\E0P\E), rmso=\E(,
- sgr=%?%p1%p2%|%p3%|%p4%|%p5%|%p7%|%t\E0%{64}%?%p1%t%{17}%|%;%?%p2%t%{32}%|%;%?%p3%t%{16}%|%;%?%p4%t%{2}%|%;%?%p5%t%{1}%|%;%c%?%p7%tD%;\E)%e\E(%;,
- sgr0=\E(, smso=\E0Q\E), smul=\E0`\E),
-vp60|viewpoint60|addsvp60|adds viewpoint60,
- use=regent40,
-#
-# adds viewpoint 90 - from cornell
-# Note: emacs sends ei occasionally to insure the terminal is out of
-# insert mode. This unfortunately puts the viewpoint90 IN insert
-# mode. A hack to get around this is <ich1=\EF\s\EF^U>. (Also,
-# - :ei=:im=: must be present in the termcap translation.)
-# - <xhp> indicates glitch that attributes stick to location
-# - <msgr> means it's safe to move in standout mode
-# - <clear=\EG\Ek>: clears screen and visual attributes without affecting
-# the status line
-# Function key and label capabilities merged in from SCO.
-vp90|viewpoint90|adds viewpoint 90,
- OTbs, bw, msgr, xhp,
- cols#80, lines#24,
- clear=\EG\Ek, cub1=^H, cud1=^J, cuf1=^F,
- cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dch1=\EE,
- dl1=\El, ed=\Ek, el=\EK, home=\EY\s\s, ht=^I,
- ich1=\EF \EF\025, ind=^J, kbs=^H, kcub1=^U, kcud1=^J,
- kcuf1=^F, kcuu1=^Z, kf0=^B1\r, kf1=^B2\r, kf10=^B;\r,
- kf2=^B3\r, kf3=^B4\r, kf4=^B5\r, kf5=^B6\r, kf6=^B7\r,
- kf7=^B8\r, kf8=^B9\r, kf9=^B\:\r, khome=^A, lf0=F1, lf1=F2,
- lf10=F11, lf2=F3, lf3=F4, lf4=F5, lf5=F6, lf6=F7, lf7=F8, lf8=F9,
- lf9=F10, ll=^A, rmso=\ER\E0@\EV, rmul=\ER\E0@\EV,
- sgr0=\ER\E0@\EV, smso=\ER\E0Q\EV, smul=\ER\E0`\EV,
-# Note: if return acts weird on a980, check internal switch #2
-# on the top chip on the CONTROL pc board.
-adds980|a980|adds consul 980,
- OTbs, am,
- cols#80, lines#24,
- bel=^G, clear=\014$<1>\013@, cr=^M, cub1=^H, cud1=^J,
- cuf1=\E^E01, cup=\013%p1%{64}%+%c\E\005%p2%2d,
- dl1=\E\017$<13>, il1=\E\016$<13>, ind=^J, kf0=\E0, kf1=\E1,
- kf2=\E2, kf3=\E3, kf4=\E4, kf5=\E5, kf6=\E6, kf7=\E7, kf8=\E8,
- kf9=\E9, rmso=^O, sgr0=^O, smso=^Y^^^N,
-
-#### C. Itoh Electronics
-#
-# As of 1995 these people no longer make terminals (they're still in the
-# printer business). Their terminals were all clones of the DEC VT series.
-# They're located in Orange County, CA.
-#
-
-# CIT 80 - vt-52 emulator, the termcap has been modified to remove
-# the delay times and do an auto tab set rather than the indirect
-# file used in vt100.
-cit80|cit-80|citoh 80,
- OTbs, am,
- cols#80, lines#24,
- clear=\E[H\EJ, cr=^M, cub1=^H, cud1=\E[B, cuf1=\E[C,
- cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\EJ, el=\EK, ff=^L,
- ind=^J, is2=\E>, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
- kcuu1=\EOA, rmkx=\E[?1l\E>, smkx=\E[?1h\E=,
-# From: Tim Wood <mtxinu!sybase!tim> Fri Sep 27 09:39:12 PDT 1985
-# (cit101: added <rmam>/<smam> based on init string, merged this with c101 -- esr)
-cit101|citc|C.itoh fast vt100,
- OTbs, am, xenl,
- cols#80, lines#24,
- bel=^G, clear=\E[H\E[2J, cnorm=\E[V\E8, cub1=^H, cud1=\E[B,
- cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
- cvvis=\E7\E[U, dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K,
- flash=\E[?5h$<200/>\E[?5l, ich1=\E[@, il1=\E[L,
- is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[3g\E[>5g,
- kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
- rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
- sgr0=\E[m, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m,
- smul=\E[4m,
-# CIE Terminals CIT-101e from Geoff Kuenning <callan!geoff> via BRL
-# The following termcap entry was created from the Callan cd100 entry. The
-# last two lines (with the capabilities in caps) are used by RM-cobol to allow
-# full selection of combinations of reverse video, underline, and blink.
-# (cit101e: removed unknown :f0=\EOp:f1=\EOq:f2=\EOr:f3=\EOs:f4=\EOt:f5=\EOu:\
-# f6=\EOv:f7=\EOw:f8=\EOx:f9=\EOy:AB=\E[0;5m:AL=\E[m:AR=\E[0;7m:AS=\E[0;5;7m:\
-# :NB=\E[0;1;5m:NM=\E[0;1m:NR=\E[0;1;7m:NS=\E[0;1;5;7m: -- esr)
-cit101e|C. Itoh CIT-101e,
- OTbs, OTpt, am, mir, msgr,
- cols#80, it#8, lines#24,
- acsc=, clear=\E[H\E[J, cnorm=, csr=\E[%i%p1%2d;%p2%2dr,
- cub1=\E[D, cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH,
- cuu1=\E[A, cvvis=\E[?1l\E[?4l\E[?7h, dch1=\E[P, dl1=\E[M,
- ed=\E[J, el=\E[K, if=/usr/share/tabset/vt100, il1=\E[L,
- kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\EOT,
- kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOm, kf6=\EOl,
- kf7=\EOM, kf8=\EOn, rc=\E8, ri=\EM, rmacs=^O, rmir=\E[4l,
- rmkx=\E>, rmso=\E[m, rmul=\E[m, sc=\E7, smacs=^N, smir=\E[4h,
- smkx=\E=, smso=\E[7m, smul=\E[4m,
-# From: David S. Lawyer, June 1997:
-# The CIT 101-e was made in Japan in 1983-4 and imported by CIE
-# Terminals in Irvine, CA. It was part of CITOH Electronics. In the
-# late 1980's CIT Terminals went out of business.
-# There is no need to use the initialization string is=... (by invoking
-# tset or setterm etc.) provided that the terminal has been manually set
-# up (and the setup saved with ^S) to be compatible with this termcap. To be
-# compatible it should be in ANSI mode (not VT52). A set-up that
-# works is to set all the manually setable stuff to factory defaults
-# by pressing ^D in set-up mode. Then increse the brighness with the
-# up-arrow key since the factory default will likely be dim on an old
-# terminal. Then change any options you want (provided that they are
-# compatible with the termcap). For my terminal I set: Screen
-# Background: light; Keyclicks: silent; Auto wraparound: on; CRT saver:
-# on. I also set up mine for parity (but you may not need it). Then
-# save the setup with ^S.
-# (cit101e-rv: added empty <rmcup> to suppress a tic warning. --esr)
-cit101e-rv|Citoh CIT-101e (sets reverse video),
- am, eo, mir, msgr, xenl, xon,
- cols#80, it#8, lines#24,
- OTnl=\EM, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
- civis=\E[1v, clear=\E[H\E[J, cnorm=\E[0;3;4v, cr=^M,
- csr=\E[%i%p1%d;%p2%dr, 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,
- cvvis=\E[3;5v, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
- dl1=\E[M, ed=\E[J, el=\E[K, flash=\E[?5l\E[?5h$<200/>,
- 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, indn=\E[%p1%dS,
- is2=\E<\E>\E[?1l\E[?3l\E[?4l\E[?5h\E[?7h\E[?8h\E[3g\E[>5g\E(B\E[m\E[20l\E[1;24r\E[24;1H,
- kbs=\177, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
- kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, nel=\EE, rc=\E8,
- rev=\E[7m, ri=\EM, rin=\E[%p1%dT, rmcup=, rmir=\E[4l,
- rmso=\E[m, rmul=\E[m, rs1=\Ec\E[?7h\E[>5g, sc=\E7,
- sgr0=\E[m, smcup=\E[>5g\E[?7h\E[?5h, smir=\E[4h,
- smso=\E[7m, smul=\E[4m, tbc=\E[3g, u6=\E[%i%p1%d;%p2%dR,
- u7=\E[6n, u8=\E[?6c, u9=\E[c,
-cit101e-n|CIT-101e w/o am,
- am@,
- cvvis=\E[?1l\E[?4l\E[?7l, kbs=^H, kcub1=^H, kcud1=^J,
- use=cit101e,
-cit101e-132|CIT-101e with 132 cols,
- cols#132,
- kbs=^H, kcub1=^H, kcud1=^J, use=cit101e,
-cit101e-n132|CIT-101e with 132 cols w/o am,
- am@,
- cols#132,
- cvvis=\E[?1l\E[?4l\E[?7l, kbs=^H, kcub1=^H, kcud1=^J,
- use=cit101e,
-# CIE Terminals CIT-500 from BRL
-# The following SET-UP modes are assumed for normal operation:
-# GENERATE_XON/XOFF:YES DUPLEX:FULL NEWLINE:OFF
-# AUTOWRAP:ON MODE:ANSI SCREEN_LENGTH:64_LINES
-# DSPLY_CNTRL_CODES?NO PAGE_WIDTH:80 EDIT_MODE:OFF
-# Other SET-UP modes may be set for operator convenience or communication
-# requirements.
-# Hardware tabs are assumed to be set every 8 columns; they can be set up
-# by the "reset", "tset", or "tabs" utilities. No delays are specified; use
-# "stty ixon -ixany" to enable DC3/DC1 flow control!
-# (cit500: I added <rmam>/<smam> based on the init string -- esr)
-cit500|CIE Terminals CIT-500,
- OTbs, OTpt, mir, msgr, xon,
- OTkn#10, cols#80, it#8, lines#64, vt#3,
- acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
- clear=\E[H\E[J, 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=\EM, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
- ed=\EJ, el=\EK, home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL,
- il1=\E[L, ind=^J, is2=\E<\E)0, kbs=^H, kcbt=\E[Z, kcub1=\EOD,
- kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[P, kdl1=\E[M,
- ked=\EJ, kel=\EK, kf0=\EOP, kf1=\EOQ, kf2=\EOR, kf3=\EOS,
- kf4=\EOU, kf5=\EOV, kf6=\EOW, kf7=\EOX, kf8=\EOY, kf9=\EOZ,
- khome=\E[H, kich1=\E[4h, kil1=\E[L, krmir=\E[4l, lf0=PF1,
- lf1=PF2, lf2=PF3, lf3=PF4, lf4=F15, lf5=F16, lf6=F17, lf7=F18,
- lf8=F19, lf9=F20, ll=\E[64H, nel=\EE, rc=\E8, rev=\E[7m,
- ri=\EM, rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>,
- rmso=\E[m, rmul=\E[m,
- rs1=\E<\E2\E[20l\E[?6l\E[r\E[m\E[q\E(B\017\E)0\E>,
- sc=\E7, sgr0=\E[m, smacs=^N, smam=\E[?7h, smir=\E[4h,
- smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
-
-# C. Itoh printers begin here
-citoh|ci8510|8510|c.itoh 8510a,
- cols#80, it#8,
- bold=\E!, cub1@,
- is2=\E(009\,017\,025\,033\,041\,049\,057\,065\,073.,
- rep=\ER%p2%03d%p1%c, ri=\Er, rmul=\EY, sgr0=\E"\EY,
- smul=\EX, use=lpr,
-citoh-pica|citoh in pica,
- is1=\EN, use=citoh,
-citoh-elite|citoh in elite,
- cols#96,
- is1=\EE,
- is2=\E(009\,017\,025\,033\,041\,049\,057\,065\,073\,081\,089.,
- 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,
-# 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,
- is1=\EP, use=citoh,
-citoh-6lpi|citoh in 6 lines per inch mode,
- is3=\EA, use=citoh,
-citoh-8lpi|citoh in 8 lines per inch mode,
- lines#88,
- is3=\EB, use=citoh,
-
-#### Control Data (cdc)
-#
-
-cdc456|cdc 456 terminal,
- OTbs, am,
- cols#80, lines#24,
- bel=^G, clear=^Y^X, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
- cup=\E1%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dl1=\EJ, ed=^X,
- el=^V, home=^Y, il1=\EL, ind=^J,
-
-# Assorted CDC terminals from BRL (improvements by DAG & Ferd Brundick)
-cdc721|CDC Viking,
- OTbs, am,
- cols#80, lines#24,
- clear=^L, cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c,
- cuu1=^W, el=^K, home=^Y, kcub1=^H, kcud1=^J, kcuf1=^I,
- kcuu1=^W, khome=^Y,
-cdc721ll|CDC Vikingll,
- OTbs, am,
- cols#132, lines#24,
- clear=^L, cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c,
- cuu1=^W, el=^K, home=^Y, kcub1=^H, kcud1=^J, kcuf1=^I,
- kcuu1=^W, khome=^Y,
-# (cdc752: the BRL entry had :ll=\E1 ^Z: commented out
-cdc752|CDC 752,
- OTbs, am, bw, xhp,
- cols#80, lines#24,
- bel=^G, clear=\030\E1\s\s, cr=^M, cub1=^H, cud1=^J, cuf1=^U,
- cup=\E1%p2%{32}%+%c%p1%{32}%+%c, cuu1=^Z, el=^V,
- home=\E1\s\s, ind=^J, ll=^Y, rs1=\E1 \030\002\003\017,
-# CDC 756
-# The following switch/key settings are assumed for normal operation:
-# 96 chars SCROLL FULL duplex not BLOCK
-# Other switches may be set according to communication requirements.
-# Insert/delete-character cannot be used, as the whole display is affected.
-# "so" & "se" are commented out until jove handles "sg" correctly.
-cdc756|CDC 756,
- OTbs, am, bw,
- OTkn#10, cols#80, lines#24,
- bel=^G, clear=^Y^X, cr=^M, cub1=^H, cud1=^J, cuf1=^U,
- cup=\E1%p2%{32}%+%c%p1%{32}%+%c, cuu1=^Z,
- dl1=\EJ$<6*/>, ed=^X, el=^V, home=^Y, il1=\EL$<6*/>, ind=^J,
- kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^U, kcuu1=^Z, kdch1=\EI,
- kdl1=\EL, ked=^X, kel=^V, kf0=\EA, kf1=\EB, kf2=\EC, kf3=\ED,
- kf4=\EE, kf5=\EF, kf6=\EG, kf7=\EH, kf8=\Ea, kf9=\Eb, khome=^Y,
- khts=^O, kich1=\EK, kil1=\EL, lf0=F1, lf1=F2, lf2=F3, lf3=F4,
- lf4=F5, lf5=F6, lf6=F7, lf7=F8, lf8=F9, lf9=F10, ll=^Y^Z,
- rs1=\031\030\002\003\017,
-#
-# CDC 721 from Robert Viduya, Ga. Tech. <ihnp4!gatech!gitpyr!robert> via BRL.
-#
-# Part of the long initialization string defines the "DOWN" key to the left
-# of the tab key to send an ESC. The real ESC key is positioned way out
-# in right field.
-#
-# The termcap won't work in 132 column mode due to the way it it moves the
-# cursor. Termcap doesn't have the capability (as far as I could tell) to
-# handle the 721 in 132 column mode.
-#
-# (cdc721: changed :ri: to :sr: -- esr)
-cdc721-esc|Control Data 721,
- OTbs, OTpt, am, bw, msgr, xon,
- OTkn#10, cols#80, it#8, lines#30,
- bel=^G, blink=^N, cbt=^^^K, clear=^L, cub1=^H, cud1=^Z,
- cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c, cuu1=^W,
- dch1=^^N, dim=^\, dl1=^^Q, ed=^^P, el=^K, home=^Y, hts=^^^RW,
- ich1=^^O, il1=^^R, ind=\036W =\036U, invis=^^^R[,
- is2=\036\022B\003\036\035\017\022\025\035\036E\036\022H\036\022J\036\022L\036\022N\036\022P\036\022Q\036\022\036\022\^\036\022b\036\022i\036W =\036\022Z\036\011C1-` `!k/o,
- kbs=^H, kcub1=^H, 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=^Y, ll=^B =, rev=^^D,
- ri=\036W =\036V, rmir=, rmkx=^^^Rl, rmso=^^E, rmul=^],
- sgr0=\017\025\035\036E\036\022\\, smir=, smkx=^^^Rk,
- smso=^^D, smul=^\, tbc=^^^RY,
-
-#### Getronics
-#
-# Getronics is a Dutch electronics company that at one time was called
-# `Geveke' and made async terminals; but (according to the company itself!)
-# they've lost all their documentation on the command set. The hardware
-# documentation suggests the terminals were actually manufactured by a
-# Taiwanese electronics company named Cal-Comp. There are known
-# to have been at least two models, the 33 and the 50.
-#
-
-# The 50 seems to be a top end vt220 clone, with the addition of a higher
-# screen resolution, a larger screen, at least 1 page of memory above and
-# below the screen, apparently pages of memory right and left of the screen
-# which can be panned, and about 75 function keys (15 function keys x normal,
-# shift, control, func A, func B). It also has more setup possibilities than
-# the vt220. The monitor case is dated November 1978 and the keyboard case is
-# May 1982.
-#
-# The vt100 emulation works as is. The entry below describes the rather
-# non-conformant (but more featureful) ANSI mode.
-#
-# From: Stephen Peterson <stv@utrecht.ow.nl>, 27 May 1995
-visa50|geveke visa 50 terminal in ansi 80 character mode,
- bw, mir, msgr,
- cols#80, lines#25,
- acsc=0_aaffggh jjkkllmmnnooqqssttuuvvwwxx, bel=^G,
- blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[2J, cr=^M,
- csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D,
- 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,
- 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,
- kdl1=\EOS, kf0=\E010, kf1=\E001, kf10=\E011, kf2=\E002,
- kf3=\E003, kf4=\E004, kf5=\E005, kf6=\E006, kf7=\E007,
- kf8=\E008, kf9=\E009, khome=\E[f, lf2=A delete char,
- lf3=A insert line, lf4=A delete line, lf5=A clear,
- lf6=A ce of/cf gn, lf7=A print, lf8=A on-line,
- lf9=A funcl0=A send, nel=^M^J, rev=\E[7m, rmacs=\E[3l,
- rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, rmso=\E[0;2m,
- rmul=\E[0m, sgr0=\E[0;2m, smacs=\E3h, smam=\E?7h,
- smir=\E[4h, smkx=\E=, smso=\E[2;7m, smul=\E[4m, tbc=\E[3g,
- vpa=\E[%i%p1%dd,
-
-#### Human Designed Systems (Concept)
-#
-# Human Designed Systems
-# 400 Fehley Drive
-# King of Prussia, PA 19406
-# Vox: (610)-277-8300
-# Fax: (610)-275-5739
-# Net: support@hds.com
-#
-# John Martin <john@hds.com> is their termcap expert. They're mostly out of
-# the character-terminal business now (1995) and making X terminals. In
-# particular, the whole `Concept' line described here was discontinued long
-# ago.
-#
-
-# From: <vax135!hpk> Sat Jun 27 07:41:20 1981
-# Extensive changes to c108 by arpavax:eric Feb 1982
-# Some unknown person at SCO then translated it to terminfo.
-#
-# There seem to be a number of different versions of the C108 PROMS
-# (with bug fixes in its Z-80 program).
-#
-# The first one that we had would lock out the keyboard of you
-# sent lots of short lines (like /usr/dict/words) at 9600 baud.
-# Try that on your C108 and see if it sends a ^S when you type it.
-# If so, you have an old version of the PROMs.
-#
-# You should configure the C108 to send ^S/^Q before running this.
-# It is much faster (at 9600 baud) than the c100 because the delays
-# are not fixed.
-# new status line display entries for c108-8p:
-# <is3> - init str #3 - setup term for status display -
-# set programmer mode, select window 2, define window at last
-# line of memory, set bkgnd stat mesg there, select window 0.
-#
-# <tsl> - to status line - select window 2, home cursor, erase to
-# end-of-window, 1/2 bright on, goto(line#0, col#?)
-#
-# <fsl> - from status line - 1/2 bright off, select window 0
-#
-# <dsl> - disable status display - set bkgnd status mesg with
-# illegal window #
-#
-# There are probably more function keys that should be added but
-# I don't know what they are.
-#
-# No delays needed on c108 because of ^S/^Q handshaking
-#
-c108|concept108|c108-8p|concept108-8p|concept 108 w/8 pages,
- is3=\EU\E z"\Ev\001\177 !p\E ;"\E z \Ev \001\177p\Ep\n,
- rmcup=\Ev \001\177p\Ep\r\n, use=c108-4p,
-c108-4p|concept108-4p|concept 108 w/4 pages,
- OTbs, eslok, hs, xon,
- pb@,
- acsc=jEkTl\\mMqLxU, cnorm=\Ew, cr=^M,
- cup=\Ea%p1%?%p1%{95}%>%t\001%{96}%-%;%{32}%+%c%p2%?%p2%{95}%>%t\001%{96}%-%;%{32}%+%c,
- cvvis=\EW, dch1=\E 1$<16*>, dsl=\E ;\177, fsl=\Ee\E z\s,
- ind=^J, is1=\EK\E!\E F,
- is3=\EU\E z"\Ev\177 !p\E ;"\E z \Ev \001 p\Ep\n,
- rmacs=\Ej\s, rmcup=\Ev \001 p\Ep\r\n, smacs=\Ej!,
- smcup=\EU\Ev 8p\Ep\r\E\025,
- tsl=\E z"\E?\E\005\EE\Ea %+\s, use=c100,
-c108-rv|c108-rv-8p|concept 108 w/8 pages in reverse video,
- rmcup=\Ev \002 p\Ep\r\n, smcup=\EU\Ev 8p\Ep\r,
- use=c108-rv-4p,
-c108-rv-4p|concept108rv4p|concept 108 w/4 pages in reverse video,
- flash=\EK$<200>\Ek, is1=\Ek, rmso=\Ee, smso=\EE,
- use=c108-4p,
-c108-w|c108-w-8p|concept108-w-8|concept108-w8p|concept 108 w/8 pages in wide mode,
- cols#132,
- is1=\E F\E", rmcup=\Ev ^A0\001D\Ep\r\n,
- smcup=\EU\Ev 8\001D\Ep\r, use=c108-8p,
-
-# Concept 100:
-# These have only window relative cursor addressing, not screen
-# relative. To get it to work right here, smcup/rmcup (which
-# were invented for the concept) lock you into a one page
-# window for screen style programs.
-#
-# To get out of the one page window, we use a clever trick:
-# we set the window size to zero ("\Ev " in rmcup) which the
-# terminal recognizes as an error and resets the window to all
-# of memory.
-#
-# This trick works on c100 but does not on c108, sigh.
-#
-# Some tty drivers use cr3 for concept, others use nl3, hence
-# the delays on cr and ind below. This padding is only needed at
-# 9600 baud and up. One or the other is commented out depending on
-# local conventions.
-#
-# 2 ms padding on <rmcup> isn't always enough. 6 works fine. Maybe
-# less than 6 but more than 2 will work.
-#
-# Note: can't use function keys f7-f10 because they are
-# indistinguishable from arrow keys (!), also, del char and
-# clear eol use xon/xoff so they probably won't work very well.
-#
-# Also note that we don't define insrt/del char/delline/eop/send
-# because they don't transmit unless we reset them - I figured
-# it was a bad idea to clobber their definitions.
-#
-# The <mc5> sequence changes the escape character to ^^ so that
-# escapes will be passed through to the printer. Only trouble
-# is that ^^ won't be - ^^ was chosen to be unlikely.
-# Unfortunately, if you're sending raster bits through to be
-# plotted, any character you choose will be likely, so we lose.
-#
-# \EQ"\EY(^W (send anything from printer to host, for xon/xoff)
-# cannot be # in is2 because it will hang a c100 with no printer
-# if sent twice.
-c100|concept100|concept|c104|c100-4p|hds concept 100,
- OTbs, am, eo, mir, ul, xenl,
- cols#80, lines#24, pb#9600, vt#8,
- bel=^G, blink=\EC, clear=\E?\E\005$<2*>, cr=$<9>\r,
- cub1=^H, cud1=^J, cuf1=\E=,
- cup=\Ea%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E;,
- dch1=\E\021$<16*>, dim=\EE, dl1=\E\002$<3*>,
- ed=\E\005$<16*>, el=\E\025$<16>, flash=\Ek$<200>\EK,
- ht=\011$<8>, il1=\E\022$<3*>, ind=^J, invis=\EH, ip=$<16*>,
- is1=\EK,
- is2=\EU\Ef\E7\E5\E8\El\ENH\E\0\Eo&\0\Eo'\E\Eo!\0\E\007!\E\010A@ \E4#\:"\E\:a\E4#;"\E\:b\E4#<"\E\:c,
- is3=\Ev $<6>\Ep\n, kbs=^H, kcbt=\E', kctab=\E_,
- kcub1=\E>, kcud1=\E<, kcuf1=\E=, kcuu1=\E;, kdch1=\E^Q,
- kdl1=\E^B, ked=\E^C, kel=\E^S, kf1=\E5, kf2=\E6, kf3=\E7,
- kf4=\E8, kf5=\E9, kf6=\E\:a, kf7=\E\:b, kf8=\E\:c, khome=\E?,
- khts=\E], kich1=\E^P, kil1=\E^R, kind=\E[, knp=\E-, kpp=\E.,
- kri=\E\\, krmir=\E\0, mc4=\036o \E\EQ!\EYP\027,
- mc5=\EQ"\EY(\027\EYD\Eo \036, prot=\EI,
- rep=\Er%p1%c%p2%{32}%+%c$<.2*>, rev=\ED,
- rmcup=\Ev $<6>\Ep\r\n, rmir=\E\s\s, rmkx=\Ex,
- rmso=\Ed, rmul=\Eg, sgr0=\EN@,
- smcup=\EU\Ev 8p\Ep\r\E\025$<16>, smir=\E^P, smkx=\EX,
- smso=\ED, smul=\EG,
-c100-rv|c100-rv-4p|concept100-rv|c100 rev video,
- cnorm@, cvvis@, flash=\EK$<200>\Ek, is1=\Ek, rmso=\Ee,
- smso=\EE, use=c100,
-oc100|oconcept|c100-1p|old 1 page concept 100,
- in,
- is3@, use=c100,
-
-# 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
-# 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.
-# bw: Not available in power on mode, but turned on with \E[=107;207h in
-# is2=.
-# clear: Could be done with \E[2J alone, except that vi (and probably most
-# other programs) assume that this also homes the cursor.
-# dsl: Go to window 2, go to the beginning of the line, use a line feed to
-# scroll the window, and go back to window 1.
-# is2: the string may cause a warning to be issued by tic that it
-# found a very long line and that it suspects that a comma is missing
-# somewhere. This warning can be ignored (unless it comes up more than
-# once). The initialization string contains the following commands:
-#
-# [Setup mode items changed from factory defaults:]
-# \E)0 set alternate character set to
-# graphics
-# ^O set character set to default
-# [In case it wasn't]
-# \E[m turn off all attributes
-# [In case they weren't off]
-# \E[=107; cursor wrap and
-# 207h character wrap on
-# \E[90;3u set Fkey definitions to "transmit"
-# defaults
-# \E[92;3u set cursor key definitions to
-# "transmit" defaults
-# \E[43;1u set shift F13 to transmit...
-# \177\E$P\177
-# \E[44;1u set shift F14 to transmit...
-# \177\E$Q\177
-# \E[45;1u set shift F15 to transmit...
-# \177\E$R\177
-# \E[46;1u set shift F16 to transmit...
-# \177\E$S\177
-# \E[200;1u set shift up to transmit...
-# \177\E$A\177
-# \E[201;1u set shift down to transmit...
-# \177\E$B\177
-# \E[202;1u set shift right to transmit...
-# \177\E$C\177
-# \E[203;1u set shift left to transmit...
-# \177\E$D\177
-# \E[204;1u set shift home to transmit...
-# \177\E$H\177
-# \E[212;1u set backtab to transmit...
-# \177\E$I\177
-# \E[213;1u set shift backspace to transmit...
-# \177\E$^H\177
-# \E[214;1u set shift del to transmit...
-# "\E$\177"
-# [Necessary items not mentioned in setup mode:]
-# \E[2!w move to window 2
-# \E[25;25w define window as line 25 of memory
-# \E[!w move to window 1
-# \E[2*w show current line of window 2 as
-# status line
-# \E[2+x set meta key to use high bit
-# \E[;3+} move underline to bottom of character
-#
-# All Fkeys are set to their default transmit definitions with \E[90;3u
-# in is2=. IMPORTANT: to use this terminal definition, the "quit" stty
-# setting MUST be redefined or deactivated, because the default is
-# contained in almost all of this terminal's Fkey strings! If for some
-# reason "quit" cannot be altered, the Fkeys can, but it would be
-# necessary to change ^| to ^] in all of these definitions, and add
-# \E[2;029!t to is2.
-# lines: is set to 24 because this terminal refuses to treat the 25th
-# line normally.
-# ll: Not available in power on mode, but turned on with \E[=107;207h in
-# is2=.
-# lm: Pointless, given that this definition locks a single screen of
-# memory into view, but what the hey...
-# rmso: Could use \E[1;7!{ to turn off only bold and reverse (leaving any
-# other attributes alone), but some programs expect this to turn off
-# everything.
-# rmul: Could use \E[4!{ to turn off only underline (leaving any other
-# attributes alone), but some programs expect this to turn off
-# everything.
-# sgr: Attributes are set on this terminal with the string \E[ followed by
-# a list of attribute code numbers (in decimal, separated by
-# semicolons), followed by the character m. The attribute code
-# numbers are:
-# 1 for bold;
-# 2 for dim (which is ignored in power on mode);
-# 4 for underline;
-# 5 for blinking;
-# 7 for inverse;
-# 8 for not displayable; and
-# =99 for protected (except that there are strange side
-# effects to protected characters which make them inadvisable).
-# The mapping of terminfo parameters to attributes is as follows:
-# %p1 (standout) = bold and inverse together;
-# %p2 (underline) = underline;
-# %p3 (reverse) = inverse;
-# %p4 (blink) = blinking;
-# %p5 (dim) is ignored;
-# %p6 (bold) = bold;
-# %p7 (invisible) = not displayable;
-# %p8 (protected) is ignored; and
-# %p9 (alt char set) = alt char set.
-# The code to do this is:
-# \E[0 OUTPUT \E[0
-# %?%p1%p6%O IF (standout; bold) OR
-# %t;1 THEN OUTPUT ;1
-# %; ENDIF
-# %?%p2 IF underline
-# %t;4 THEN OUTPUT ;4
-# %; ENDIF
-# %?%p4 IF blink
-# %t;5 THEN OUTPUT ;5
-# %; ENDIF
-# %?%p1%p3%O IF (standout; reverse) OR
-# %t;7 THEN OUTPUT ;7
-# %; ENDIF
-# %?%p7 IF invisible
-# %t;8 THEN OUTPUT ;8
-# %; ENDIF
-# m OUTPUT m
-# %?%p9 IF altcharset
-# %t^N THEN OUTPUT ^N
-# %e^O ELSE OUTPUT ^O
-# %; ENDIF
-# sgr0: Everything is turned off (including alternate character set), since
-# there is no way of knowing what it is that the program wants turned
-# off.
-# smul: The "underline" attribute is reconfigurable to an overline or
-# strikethru, or (as done with \E[;3+} in is2=), to a line at the true
-# bottom of the character cell. This was done to allow for more readable
-# underlined characters, and to be able to distinguish between an
-# underlined space, an underscore, and an underlined underscore.
-# xenl: Terminal can be configured to not need this, but this "glitch"
-# behavior is actually preferable with autowrap terminals.
-#
-# Parameters kf31= thru kf53= actually contain the strings sent by the shifted
-# Fkeys. There are no parameters for shifted Fkeys in terminfo. The is2
-# string modifies the 'O' in kf43 to kf46 to a '$'.
-#
-# kcbt was originally ^I but redefined in is2=.
-# kHOM was \E[H originally but redefined in is2=, as were a number of
-# other keys.
-# kDC was originally \177 but redefined in is2=.
-#
-# kbs: Shift was also ^H originally but redefined as \E$^H in is2=.
-# tsl: Go to window 2, then do an hpa=.
-#
-#------- flash=\E[8;3!}^G\E[3;3!}
-#------- flash=\E[?5h$<100>\E[?5l
-# There are two ways to flash the screen, both of which have their drawbacks.
-# The first is to set the bell mode to video, transmit a bell character, and
-# set the bell mode back - but to what? There is no way of knowing what the
-# user's old bell setting was before we messed with it. Worse, the command to
-# set the bell mode also sets the key click volume, and there is no way to say
-# "leave that alone", or to know what it's set to, either.
-# The second way to do a flash is to set the screen to inverse video, pad for a
-# tenth of a second, and set it back - but like before, there's no way to know
-# that the screen wasn't ALREADY in inverse video, or that the user may prefer
-# it that way. The point is moot anyway, since vi (and probably other
-# programs) assume that by defining flash=, you want the computer to use it
-# INSTEAD of bel=, rather than as a secondary type of signal.
-#
-#------- cvvis=\E[+{
-# The is the power on setting, which is also as visible as the cursor
-# gets.
-#------- wind=\E[%i%p1%d;%p2%d;%p3%{1}%+%d;%p4%{1}%+%dw
-# Windowing is possible, but not defined here because it is also used to
-# emulate status line functions. Allowing a program to set a window could
-# clobber the status line or render it unusable. There is additional memory,
-# but screen scroll functions are destructive and do not make use of it.
-#
-#------- dim= Not available in power on mode.
-# You have a choice of defining low intensity characters as "half bright" and
-# high intensity as "normal", or defining low as "normal" and high as "bold".
-# No matter which you choose, only one of either "half bright" or "bold" is
-# available at any time, so taking the time to override the default is
-# pointless.
-#
-#------- prot=\E[=0;99m
-# Not defined, because it appears to have some strange side effects.
-#------- pfkey=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%du\177%p2%s\177%;
-#------- pfloc=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%du\177%p2%s\177%;
-#------- pfx=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%d;1u\177%p2%s\177%;
-# Available, but making them available to programs is inadvisable.
-# The code to do this is:
-# %?%p1%{24}%< IF ((key; 24) <;
-# %p1%{30}%> ((key; 30) >;
-# %p1%{54}%< (key; 54) <
-# %A ) AND
-# %O ) OR
-# [that is, "IF key < 24 OR (key > 30 AND key < 54)",]
-# %t\E[ THEN OUTPUT \E[
-# %p1%d OUTPUT (key) as decimal
-# [next line applies to pfx only]
-# ;1 OUTPUT ;1
-# u OUTPUT u
-# \177 OUTPUT \177
-# %p2%s OUTPUT (string) as string
-# \177 OUTPUT \177
-# [DEL chosen as delimiter, but could be any character]
-# [implied: ELSE do nothing]
-# %; ENDIF
-#
-#------- rs2=
-# Not defined since anything it might do could be done faster and easier with
-# either Meta-Shift-Reset or the main power switch.
-#
-#------- smkx=\E[1!z
-#------- rmkx=\E[!z
-# These sequences apply to the cursor and setup keys only, not to the
-# numeric keypad. But it doesn't matter anyway, since making these
-# available to programs is inadvisable.
-# For the key definitions below, all sequences beginning with \E$ are
-# custom and programmed into the terminal via is2. \E$ also has no
-# meaning to any other terminal.
-#
-#------- cmdch=\E[;%p1%d!t
-# Available, but making it available to programs is inadvisable.
-#------- smxon=\E[1*q
-# Available, but making it available to programs is inadvisable.
-# Terminal will send XON/XOFF on buffer overflow.
-#------- rmxon=\E[*q
-# Available, but making it available to programs is inadvisable.
-# Terminal will not notify on buffer overflow.
-#------- smm=\E[2+x
-#------- rmm=\E[+x
-# Available, but making them available to programs is inadvisable.
-#
-# Printing:
-# It's not made clear in the manuals, but based on other ansi/vt type
-# terminals, it's a good guess that this terminal is capable of both
-# "transparent print" (which doesn't copy data to the screen, and
-# therefore needs mc5i: specified to say so) and "auxilliary print"
-# (which does duplicate printed data on the screen, in which case mc4=
-# and mc5= should use the \E[?4i and \E[?5i strings instead).
-
-hds200|Human Designed Systems HDS200,
- am, bw, eslok, hs, km, mc5i, mir, msgr, xenl, xon,
- cols#80, it#8, lines#24, lm#0,
- acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G,
- blink=\E[0;5m, bold=\E[0;1m, cbt=\E[Z, civis=\E[6+{,
- clear=\E[H\E[J, cnorm=\E[+{, cr=^M,
- csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D,
- 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%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
- dsl=\E[2!w\r\n\E[!w, ed=\E[J, el=\E[K, el1=\E[1K,
- fsl=\E[!w, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH,
- ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
- invis=\E[0;8m,
- is2=\E)0\017\E[m\E[=107;207h\E[90;3u\E[92;3u\E[43;1u\177\E$P\177\E[44;1u\177\E$Q\177\E[45;1u\177\E$R\177\E[46;1u\177\E$S\177\E[200;1u\177\E$A\177\E[201;1u\177\E$B\177\E[202;1u\177\E$C\177\E[203;1u\177\E$D\177\E[204;1u\177\E$H\177\E[212;1u\177\E$I\177\E[213;1u\177\E$\010\177\E[214;1u"\E$\177"\E[2!w\E[25;25w\E[!w\E[2*w\E[2+x\E[;3+},
- 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,
- kf11=^\011\r, kf12=^\012\r, kf13=\EOP, kf14=\EOQ,
- kf15=\EOR, kf16=\EOS, kf17=^\017\r, kf18=^\018\r,
- kf19=^\019\r, kf2=^\002\r, kf20=^\020\r, kf21=^\021\r,
- kf22=^\022\r, kf23=^\023\r, kf3=^\003\r, kf31=^\031\r,
- kf32=^\032\r, kf33=^\033\r, kf34=^\034\r, kf35=^\035\r,
- kf36=^\036\r, kf37=^\037\r, kf38=^\038\r, kf39=^\039\r,
- kf4=^\004\r, kf40=^\040\r, kf41=^\041\r, kf42=^\042\r,
- kf43=\E$P, kf44=\E$Q, kf45=\E$R, kf46=\E$S, kf47=^\047\r,
- kf48=^\048\r, kf49=^\049\r, kf5=^\005\r, kf50=^\050\r,
- kf51=^\051\r, kf52=^\052\r, kf53=^\053\r, kf6=^\006\r,
- kf7=^\007\r, kf8=^\008\r, kf9=^\009\r, khome=\E[H,
- kind=\E[T, knp=\E[U, kpp=\E[V, kri=\E[S, ll=\E[H\E[A,
- mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=\E[E, rc=\E8,
- rev=\E[0;7m, ri=\EM, rmacs=^O, rmir=\E[4l, rmso=\E[m\017,
- rmul=\E[m\017, sc=\E7,
- sgr=\E[0%?%p1%p6%O%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%O%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
- sgr0=\E[m\017, smacs=^N, smir=\E[4h, smso=\E[0;1;7m,
- smul=\E[0;4m, tbc=\E[3g, tsl=\E[2!w\E[%i%p1%dG,
- vpa=\E[%i%p1%dd,
-
-# <ht> through <el> included to specify padding needed in raw mode.
-# (avt-ns: added empty <acsc> to suppress a tic warning --esr)
-avt-ns|concept avt no status line,
- OTbs, am, eo, mir, ul, xenl, xon,
- cols#80, it#8, lines#24, lm#192,
- acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
- clear=\E[H\E[J$<38>, cnorm=\E[=119l, 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,
- cvvis=\E[=119h, dch1=\E[P, dim=\E[1!{, dl=\E[%p1%dM$<4*>,
- dl1=\E[M$<4>, ed=\E[J$<96>, el=\E[K$<6>, home=\E[H,
- hpa=\E[%p1%{1}%+%dG, ht=\011$<4>, hts=\EH, ich=\E[%p1%d@,
- ich1=\E[@, il=\E[%p1%dL$<4*>, il1=\E[L$<4>, ind=\n$<8>,
- invis=\E[8m, ip=$<4>, is1=\E[=103l\E[=205l,
- is2=\E[1*q\E[2!t\E[7!t\E[=4;101;119;122l\E[=107;118;207h\E)1\E[1Q\EW\E[!y\E[!z\E>\E[0\:0\:32!r\E[0*w\E[w\E2\r\n\E[2;27!t,
- kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
- kdch1=\E^B\r, ked=\E^D\r, kf1=\EOP, kf2=\EOQ, kf3=\EOR,
- kf4=\EOS, khome=\E[H, kich1=\E^A\r, kil1=\E^C\r, ll=\E[24H,
- mc0=\E[0i, mc4=\E[4i, mc5=\E[5i,
- pfloc=\E[%p1%d;0u#%p2%s#, pfx=\E[%p1%d;1u#%p2%s#,
- prot=\E[99m, rc=\E8, rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m,
- ri=\EM$<4>, rmacs=\016$<1>, rmcup=\E[w\E2\r\n,
- rmir=\E[4l, rmkx=\E[!z\E[0;2u, rmso=\E[7!{, rmul=\E[4!{,
- sc=\E7,
- 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.)