termcap: Adjust for new ncurses
[dragonfly.git] / share / termcap / termcap.src
1 # Copyright (c) 1980, 1985, 1989, 1993
2 #       The Regents of the University of California.  All rights reserved.
3 #
4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions
6 # are met:
7 # 1. Redistributions of source code must retain the above copyright
8 #    notice, this list of conditions and the following disclaimer.
9 # 2. Redistributions in binary form must reproduce the above copyright
10 #    notice, this list of conditions and the following disclaimer in the
11 #    documentation and/or other materials provided with the distribution.
12 # 3. All advertising materials mentioning features or use of this software
13 #    must display the following acknowledgement:
14 #       This product includes software developed by the University of
15 #       California, Berkeley and its contributors.
16 # 4. Neither the name of the University nor the names of its contributors
17 #    may be used to endorse or promote products derived from this software
18 #    without specific prior written permission.
19 #
20 # THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
21 # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 # ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
24 # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 # SUCH DAMAGE.
31 #
32 #       @(#)termcap.src 8.2 (Berkeley) 11/17/93
33 # $FreeBSD$
34
35 #       Termcap source file
36 #       John Kunze, Berkeley
37 #       Craig Leres, Berkeley
38 #
39 # Please submit changes to http://bugs.dragonflybsd.org.
40 #
41 # << EOH - after reordering, above header lines survive and this line dies >>
42 #
43 # DESCRIPTION:
44 # This file describes capabilities of various terminals, as needed by
45 # software such as screen editors.  It does not attempt to describe
46 # printing terminals very well, nor graphics terminals.  Someday.
47 # See termcap(5) in the Unix Programmers Manual for documentation.
48 #
49 # Conventions: First entry is canonical name for model or mode, last entry
50 # is verbose description.  Others are mnemonic synonyms for the terminal.
51 #
52 # Terminal naming conventions:
53 # Terminal names look like <manufacturer> <model> - <modes/options>
54 # Certain abbreviations (e.g. c100 for concept100) are also allowed
55 # for upward compatibility.  The part to the left of the dash, if a
56 # dash is present, describes the particular hardware of the terminal.
57 # The part to the right can be used for flags indicating special ROM's,
58 # extra memory, particular terminal modes, or user preferences.
59 # All names should be in lower case, for consistency in typing.
60 #
61 # The following are conventionally used flags:
62 #       rv      Terminal in reverse video mode (black on white)
63 #       2p      Has two pages of memory.  Likewise 4p, 8p, etc.
64 #       w       Wide - in 132 column mode.
65 #       pp      Has a printer port which is used.
66 #       na      No arrow keys - termcap ignores arrow keys which are
67 #               actually there on the terminal, so the user can use
68 #               the arrow keys locally.
69 #
70 # To easily test a new terminal description, put it in $HOME/.termcap
71 # and programs will look there before looking in /etc/termcap.
72 # You can also setenv TERMPATH to a list of full pathnames (separated
73 # by spaces or colons) to be searched by tgetent() in the order listed.
74 # The TERMCAP environment variable is usually set to the termcap
75 # entry itself to avoid reading files when starting up a program.
76 #
77 # If you absolutely MUST check for a specific terminal (this is discouraged)
78 # check for the 2nd entry (the canonical form) since all other codes are
79 # subject to change.  We would much rather put in special capabilities
80 # to describe your terminal than have you key on the name.
81 #
82 #  Special manufacturer codes:
83 #       A: hardcopy daisy wheel terminals
84 #       M: Misc. (with only a few terminals)
85 #       q: Homemade
86 #       s: special (dialup, etc.)
87 #
88 # Comments in this file begin with # - they cannot appear in the middle
89 # of a termcap entry.  Individual entries are commented out by
90 # placing a period between the colon and the capability name.
91 #
92 # To add a termcap entry under DragonFly for a new terminal type, insert
93 # the entry in the appropriate location in /etc/termcap then issue this
94 # command:
95 #
96 #  cap_mkdb -f /usr/share/misc/termcap /etc/termcap
97 #
98 # Terminfo source entries can be converted to termcap entries with the
99 # tic program that is part of the ncurses distribution, see the ports
100 # section.
101 #
102 #
103 #  This file is to be installed with an editor script (reorder)
104 #  that moves the most common terminals to the front of the file.
105\f# --------------------------------
106 #
107 # A: DAISY WHEEL PRINTERS
108 #
109 # The A manufacturer represents Diablo, DTC, Xerox, Qume, and other Daisy
110 # wheel terminals until such time as termcap distinguishes between them
111 # enough to justify separate codes.
112 # This is an "experimental" entry for the SRI Agiles.
113 # It has been tried in a minimal way -- the Agile did not blow up!
114 # However, it has not been exhaustively tested.
115 # Anyone who tries it and finds it wanting should get in touch with:
116 #       Ralph Keirstead (ralph@sri-unix);
117 #       EK352; SRI International; 333 Ravenswood Avenue; Menlo Park, CA 94025
118 agile|agiles|sri agiles:\
119         :bs:hc:os:pl:co#132:do=^J:kb=^H:up=\E\n:\
120         :hu=\E0:hd=\E9:if=/usr/share/tabset/std:is=\EE\EF\EJ:
121 1620|1720|450|ipsi|diablo 1620:\
122         :do=^J:ct=\E2:st=\E1:ch=\E\t%i%.:\
123         :if=/usr/share/tabset/xerox1720:\
124         :kb=^H:le=^H:bs:co#132:hc:hu=\EU:hd=\ED:os:pt:up=\E\n:
125 1620-m8|1640-m8|diablo 1620 w/8 column left margin:\
126         :do=^J:co#124:is=\r        \E9:tc=1620:
127 1640|1740|630|1730|x1700|diablo|xerox|diablo 1640:\
128         :if=/usr/share/tabset/xerox1730:\
129         :us=\EE:ue=\ER:so=\EW:se=\E&:tc=1620:
130 1640-lm|1740-lm|630-lm|1730-lm|x1700-lm|diablo-lm|xerox-lm|\
131         diablo 1640 with indented left margin:\
132         :if=/usr/share/tabset/xerox1730-lm:\
133         :co#124:us=\EE:ue=\ER:so=\EW:se=\E&:tc=1620:
134 # DTC 382 with VDU.  Has no cd so we fake it with ce.  Standout works but
135 # won't go away without dynamite.  The terminal has tabs, but I'm getting
136 # tired of fighting the braindamage.  If no tab is set or the terminal's
137 # in a bad mood, it glitches the screen around all of memory.  Note that
138 # return puts a blank ("a return character") in the space the cursor was
139 # at, so we use ^P return (and thus ^P newline for newline).  Note also
140 # that if you turn off pt and let Unix expand tabs, curses won't work
141 # (current version) because it doesn't turn off this bit, and cursor
142 # addressing sends a tab for row/column 9.  What a losing terminal!  I
143 # have been unable to get tabs set in all 96 lines - it always leaves at
144 # least one line with no tabs in it, and once you tab through that line,
145 # it completely weirds out.
146 dtc|ps|dtc382|382:\
147         :am:da:db:xs:\
148         :co#80:li#24:lm#96:\
149         :al=^P^Z:bl=^G:cd=\020\025\020\023\020\023:ce=^P^U:\
150         :cl=20\020\035:cm=\020\021%r%.%.:cr=^P^M:dc=^X:dl=^P^S:\
151         :ei=^Pi:ho=^P^R:im=^PI:le=^H:nd=^PR:pc=\177:sf=^J:te=:\
152         :ti=20\020\035:ue=^P \200:up=^P^L:us=^P ^P:ve=^Pb:vs=^PB:
153 dtc300s|300|300s|dtc 300s:\
154         :ct=\E3:st=\E1:do=^J:\
155         :kb=^h:le=^H:bs:co#132:hc:hu=\EH:hd=\Eh:os:pt:up=^Z:
156 gsi:\
157         :le=^H:bs:co#132:hc:hd=\Eh:hu=\EH:os:pt:up=^Z:do=^J:
158 # This used to have :pl: - maybe they meant :pt:?
159 aj830|aj832|aj|anderson jacobson:\
160         :do=^J:le=^H:bs:hc:hd=\E9:hu=\E8:os:up=\E7:
161 # From Chris Torek <chris@gyre.umd.edu> Thu, 7 Nov 85 18:21:58 EST
162 aj510|AJ510|Anderson-Jacobson model 510:\
163         :ip=.1*:so=\E"I:us=\E"U:cd=\E'P:ce=\E'L:cl=^L:cm=\E#%+ %+ :\
164         :dl=2*\E&D:ue=\E"U:co#80:li#24:se=\E"I:al=2*\E&I:im=\E'I:ei=\E'J:\
165         :dc=.1*\E'D:up=\EY:nd=\EX:bs:am:mi:ti=\E"N:te=\E"N:\
166         :ku=\EY:kd=\EZ:kl=\EW:kr=\EX:pc=\177:
167 # From cbosg!ucbvax!pur-ee!cincy!chris Thu Aug 20 09:09:18 1981
168 # This is incomplete, but it's a start.
169 5520|nec|spinwriter|nec 5520:\
170         :ct=\E3:st=\E1:do=^J:kb=^h:le=^H:bs:co#132:hc:hu=\E]s\E9\E]W:\
171         :hd=\E]s\n\E]W:os:pt:up=\E9:
172 qume5|qume|Qume Sprint 5:\
173         :ct=\E3:st=\E1:do=^J:\
174         :kb=^h:le=^H:bs:co#80:hc:hu=\EH:hd=\Eh:os:pt:up=^Z:
175 q102|qume102|Qume 102:\
176         :al=\EE:am:bs:bt=\EI:\
177         :cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :co#80:ct=\E3:\
178         :dc=\EW:dl=\ER:do=^J:ho=^^:ic=\EQ:\
179         :k0=^A@\r:k1=^AA\r:k2=^AB\r:k3=^AC\r:kd=^J:kl=^H:kr=^L:ku=^K:\
180         :le=^H:li#24:ma=^K^P^L :nd=^L:\
181         :se=\EG0:sg#1:so=\EG4:st=\E1:\
182         :ue=\EG0:ug#1:up=^K:us=\EG8:
183 # From ucbvax!mtxinu!sybase!tim (Tim Wood) Fri Sep 27 10:25:24 PDT 1985
184 # This entry supports line and character insert and delete, scroll up and
185 # down and the arrow keys.  To use it, perform the following on your qvt-101
186 #       1) enter SET-UP mode, select the SET 3 line;
187 #       2) move the cursor to the EMULATION item and hit SPACE
188 #          until QVT-101B appears
189 #       3) enter SHIFT-S
190 #       4) exit SET-UP - the terminal is now configured
191 q101|qvt101|qvt-101|Qume 101 $310 special:\
192         :al=\EE:am:bt=\EI:ce=\Et:cl=\E*:dc=\EW:\
193         :dl=\ER:do=^J:ic=\EQ:md=\E(:me=\EG0:mh=\E):\
194         :le=^H:bs:cm=\E=%+ %+ :cl=1^Z:co#80:ho=^^:li#24:ma=^K^P:nd=^L:ku=^K:\
195         :vs=\EM4\040\200\200\200:mr=\EG4:ms:so=\EG4:se=\EG1:
196 # I suspect the xerox1720 is the same as the diablo 1620.
197 x1720|1700|x1750|xerox 1720:\
198         :co#132:le=^H:bs:hc:os:pt:do=^J:ct=\E2:st=\E1:
199\f# --------------------------------
200 #
201 # B: AT&T ATT
202 #
203 # AT&T Teletype 5410 Terminal (a.k.a. 4410)
204 # From: carvalho%kepler@Berkeley.EDU (Marcio de Carvalho)
205 # Date: Thu, 26 Feb 87 09:16:50 PST
206 #
207 # Although the 5410 supports labels, it blanks the screen after
208 # each label is programmed creating to much visual activity.
209 # To use the labels, use FL=\E[%d;00q%-16s
210 #
211 5410|4410|tty5410|att4410|AT&T Teletype 5410 terminal with 80 columns:\
212         :am:hs:mi:ms:xo:\
213         :Nl#8:co#80:it#8:lh#2:li#24:lw#8:ws#80:\
214         :ac=++,,--..00``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
215         :ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
216         :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:\
217         :do=\E[B:ei=:fs=\E8:ho=\E[H:i1=\E[?3l\E)0:\
218         :i2=\E[1;03q   f1           \EOP\E[2;03q   f2           \EOQ\E[3;03q   f3           \EOR\E[4;03q   f4           \EOS\E[5;03q   f5           \EOT\E[6;03q   f6           \EOU\E[7;03q   f7           \EOV\E[8;03q   f8           \EOW:\
219         :ic=\E[@:im=:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:\
220         :k6=\EOU:k7=\EOV:k8=\EOW:kC=\E[2J:kH=\E[24;1H:kb=^H:\
221         :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:ll=\E[24H:\
222         :mb=\E[5m:md=\E[2;7m:me=\E[0m:mh=\E[2m:mk=\E[8m:mr=\E[7m:\
223         :nd=\E[C:nw=^M^J:rc=\E8:rs=\Ec\E[?3l\E[2;0y:sc=\E7:\
224         :se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:ts=\E7\E[25;%+^AH:\
225         :ue=\E[m:up=\E[A:us=\E[4m:bs:
226 # AT&T 630 MTG DMD from muller%sdcc7@ucsd.edu (Keith Muller)
227 att630|dmd630|ATT630|630DMD|630dmd|630MTG|AT&T 630 windowing terminal:\
228         :am:da:db:ms:bs:co#80:it#8:li#60:lm#0:\
229         :up=\E[A:do=\E[B:nd=\E[C:le=\b:UP=\E[%dA:DO=\E[%dB:RI=\E[%dC:\
230         :LE=\E[%dD:cm=\E[%i%d;%dH:ho=\E[H:bt=\E[Z:\
231         :sf=\n:sr=\EM:SF=\E[%dS:SR=\E[%dT:us=\E[4m:ue=\E[m:so=\E[7m:se=\E[m:\
232         :mr=\E[7m:mh=\E[2m:mb=\E[5m:me=\E[m:ce=\E[K:cd=\E[J:cl=\E[H\E[J:\
233         :dc=\E[P:dl=\E[M:al=\E[L:DC=\E[%dP:DL=\E[%dM:AL=\E[%dL:\
234         :ic=\E[@:IC=\E[%d@:sc=\E7:rc=\E8:i2=\E[m:rs=\Ec:\
235         :pf=\E[?4i:po=\E[?5i:\
236         :kb=\b:kC=\E[2J:kh=\E[H:ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:
237 dmd630-24|att630-24|ATT630-24|630DMD-24|630MTG-24|AT&T 630 windowing terminal 24 lines:\
238         :li#24:tc=att630:
239 dmd615|att615|ATT615|615DMD|615MTG|AT&T 615 windowing terminal 80 column:\
240         :li#24:tc=att630:
241 dmd615-w|att615-w|ATT615-w|615DMD-w|615MTG-w|AT&T 615 windowing terminal 132 column:\
242         :li#24:co#132:tc=att630:
243 dmd620|att620|ATT620|620DMD|620MTG|AT&T 620 windowing terminal 80 column:\
244         :li#24:tc=att630:
245 dmd620-w|att620-w|ATT620-w|620DMD-w|620MTG-w|AT&T 620 windowing terminal 132 column:\
246         :li#24:co#132:tc=att630:
247 # AT&T Teletype 5420 Terminal (a.k.a. 4415) June 5, 1985
248 5420|4415|tty5420|att4415|AT&T Teletype 5420 terminal:\
249         :bs:db:mi:xo:\
250         :Nl#8:lh#2:lm#78:lw#8:ws#55:\
251         :@1=\Et:@7=\Ez:@8=\Eent:AL=\E[%dL:CM=\E[%i%d;%dt:\
252         :DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:LF=\E|:\
253         :LO=\E~:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:SF=\E[%dE:SR=\E[%dF:\
254         :UP=\E[%dA:bt=\E[Z:ch=\E[%+^AG:cl=\E[x\E[J:\
255         :cm=\E[%i%d;%dx:ct=\E[3g:cv=\E[%+^Ad:ec=\E[%ds\E[%dD:\
256         :ei=\E[4l:ho=\E[x:i1=100\E[?3l:i2=\E[?5l:ic@:im=\E[4h:\
257         :is=\E[m\017\E[1;2;3;4;6l\E[12;13;14;20l\E[?6;97;99l\E[?7h\E[4i\Ex\E[21;1j\212:\
258         :k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:\
259         :k8=\EOj:kA=\E[L:kB=\E[Z:kD=\E[P:kE=\E[2K:kF=\E[T:kH=\Eu:\
260         :kI=\E[4h:kL=\E[M:kN=\E[U:kP=\E[V:kR=\E[S:\
261         :ke=\E[19;0j\E[21;1j\212:ks=\E[19;1j\E[21;4j\Eent:\
262         :l1=F1:l2=F2:l3=F3:l4=F4:l5=F5:l6=F6:l7=F7:l8=F8:ll=\Ew:\
263         :me=\E[0m\017:mp=\EV:pf=\E[?9i:po=\E[?4i:ps=\E[?2i:st=\EH:\
264         :ts=\E7\E[25;%+^HH:vb=\E[?5h\E[?5l:ve=\E[11;0j:\
265         :vs=\E[11;1j:tc=att4410:
266 # The Teletype 5425 is really version 2 of the Teletype 5420. It
267 # is quite similar, except for some minor differences. No page
268 # mode, for example, so all of the :cm: sequences used above have
269 # to change back to what's being used for the 5410. Many of the
270 # option settings have changed their numbering as well.
271 #
272 # This has been tested on a preliminary model.
273 #
274 # (att5425: added <rmam>/<smam> based on the init string -- esr)
275 # (sgr removed to fit entry within 1023 bytes)
276 # (acsc removed to fit entry within 1023 bytes)
277 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
278 att5425|tty5425|att4425|AT&T 4425/5425:\
279         :am:da:db:hs:mi:ms:xn:xo:\
280         :co#80:it#8:li#24:lm#78:ws#55:\
281         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
282         :LE=\E[%dD:RI=\E[%dC:SF=\E[%dE:SR=\E[%dF:UP=\E[%dA:ae=^O:\
283         :al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
284         :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
285         :dl=\E[M:do=^J:ec=\E[%ds\E[%dD:ei=\E[4l:fs=\E8:ho=\E[H:\
286         :i1=100\E<\E[?3l:i2=\E[?5l:im=\E[4h:\
287         :is=\E[m\017\E[1;2;3;4;6l\E[12;13;14;20l\E[?6;97;99l\E[?7h\E[4i\Ex\E[25;1j\212:\
288         :k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:\
289         :k8=\EOj:kD=\E[P:kI=\E[4h:kb=^H:kd=\E[B:\
290         :ke=\E[21;0j\E[25;1j\212:kh=\E[H:kl=\E[D:kr=\E[C:\
291         :ks=\E[21;1j\E[25;4j\Eent\E~:ku=\E[A:le=^H:ll=\E[24H:\
292         :mb=\E[5m:md=\E[2;7m:me=\E[0m:mh=\E[2m:mr=\E[7m:nd=\E[C:\
293         :nw=^M^J:rc=\E8:rs=\Ec\E[?3l\E[2;0y:sc=\E7:se=\E[m:sf=^J:\
294         :so=\E[7m:sr=\EM:st=\EH:ta=^I:ts=\E7\E[25;%+^HH:ue=\E[m:\
295         :up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[12;0j:\
296         :vs=\E[12;1j:
297 t4|4420|tty4420|Teletype 4420:\
298         :vs=\ER:ve=\ER:am:da:db:mi:cr=\EG:\
299         :nl=\EG\EB:li#23:\
300         :co#80:cl=\EH\EJ:cd=\EJ:cm=\EY%+ %+ :\
301         :bs:up=\E7:do=\EB:nd=\EC:al=\EL:\
302         :dl=\EM:dc=\EP:ic=\E\136:sf=\EH\EM\EY5 :sr=\ET:kb=^H:
303 pc6300plus|6300|6300plus:\
304         :am:bs:xo:\
305         :co#80:li#24:\
306         :al=\E[1L:bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[2J\E[H:\
307         :cm=\E[%i%2;%2H:cr=^M:ct=\E[3g:dc=\E[1P:dl=\E[1M:do=\E[B:\
308         :ei=:ho=\E[H:ic=\E[1@:im=:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:\
309         :k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:k9=\EOk:k;=\EOu:kb=^H:\
310         :kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
311         :me=\E[m:mh=\E[2m:mk=\E[9m:mr=\E[7m:nd=\E[C:nw=^M^J:\
312         :se=\E[m:sf=^J:so=\E[7m:st=\EH:ue=\E[m:up=\E[A:us=\E[4m:\
313         :ve=\E[=1C:vi=\E[=C:
314 # AT&T 6386 decompiled and hacked from SVR3.1 terminfo
315 # From: caron@polya.Stanford.EDU (Ilan G. Caron)
316 # Problems:  (1) The mode lines are screwed up - they're not in standout
317 # (an extraneous ESC-RD sequence is prepended to each mode line).
318 # (2) Cursor addressing into the mode line is often off-by-one,
319 # in particular, when the percentage indicator is updated.
320 # (3) When reverting to a single window (C-x 1), the display
321 # needs refreshing (an extraneous ESC-S seems to be generated).
322 # (The above 3 might be manifestations of the same problem).
323 # (4) Deletes sometime don't, especially when done fast - does this
324 # suggest that I need to pad something?
325 AT386|at386|386AT|386at|at/386 console:\
326         :am:bw:eo:xo:Co#8:NC#3:co#80:li#25:pa#64:kn#6:\
327         :@7=\E[Y:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
328         :F1=\EOZ:F2=\EOA:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:\
329         :SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
330         :ac=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~:\
331         :ae=\E[10m:al=\E[1L:as=\E[12m:bl=^G:cd=\E[J:ce=\E[K:\
332         :cl=\E[2J\E[H:cm=\E[%i%2;%2H:cr=\r:dc=\E[P:dl=\E[1M:\
333         :do=\E[B:ho=\E[H:ic=\E[1@:is=\E[0;10;39m:k1=\EOP:\
334         :k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:\
335         :k8=\EOW:k9=\EOX:k;=\EOY:kB=^]:kC=\E[2J:kD=\E[P:\
336         :kI=\E[@:kM=\E0:kN=\E[U:kP=\E[V:kb=\b:kd=\E[B:kh=\E[H:\
337         :kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:\
338         :me=\E[0;10m:mk=\E[9m:mr=\E[7m:nd=\E[C:op=\E[0m:\
339         :se=\E[m:sf=\E[S:so=\E[43;30m:ta=\t:ue=\E[m:up=\E[A:\
340         :sr=\E[T:TC=\E[%d@:IC=\E[%d@:\
341         :us=\E[4m:vb=^G:bc=\E[D:
342 att7300|unixpc|pc7300|3b1|s4|AT&T UNIX PC Model 7300:\
343         :am:xo:\
344         :co#80:it#8:li#24:\
345         :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
346         :UP=\E[%dA:al=\E[L:bl=^G:bt=\E^I:cd=\E[0J:ce=\E[0K:\
347         :cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:\
348         :do=\E[B:ei=:ho=\E[H:i1=\017\E[=1w:ic=\E[@:im=:k1=\EOc:\
349         :k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:\
350         :kD=\ENf:kI=\ENj:kN=\E[U:kP=\E[V:kb=^H:kd=\E[B:kh=\E[H:\
351         :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[9m:md=\E[1m:\
352         :me=\E[0;10m:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\EE:se=\E[m:\
353         :sf=^J:so=\E[7m:sr=\EM:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[=0C:\
354         :vi=\E[=1C:
355 # AT&T Teletype 610 Terminal
356 b610|610|610bct|tty610:\
357         :CV=\E[25h:CI=\E[25l:KM=/usr/lib/ua/kmap.s4:\
358         :FL=\E[%d;00q%-16s\E[0p:FE=\E[2p:cl=\E[1;1H\E[J:\
359         :is=\E[0m^O\E[25;1|^J\E[8;0|\E[4;13;20l\E[?5l\E[12h\E[?7h\E[?4i:\
360         :ve=\E[?12l:vs=\E[?12h:tc=5420:
361\f# --------------------------------
362 #
363 # C: CONTROL DATA
364 #
365 cdc456|cdc:\
366         :do=^J:li#24:co#80:cl=^Y^X:nd=^L:up=^Z:le=^H:bs:\
367         :cm=\E1%+ %+ :ho=^Y:al=\E\114:dl=\E\112:ce=^V:cd=^X:am:
368 cdc456tst:\
369         :do=^J:li#24:co#80:cl=^y^x:le=^H:bs:cm=\E1%+ %+ :am:
370\f# --------------------------------
371 #
372 # D: DATAMEDIA
373 #
374 dm1520|dm1521|1521|1520|datamedia 1520:\
375         :do=^J:am:le=^H:bs:cd=^K:ce=^]:cl=^L:cm=^^%r%+ %+ :co#80:ho=^Y:\
376         :ku=^_:kd=^J:kl=^H:kr=^\:kh=^Y:\
377         :li#24:nd=^\:up=^_:xn:ma=^\ ^_^P^YH:pt:
378 dm2500|datamedia2500|2500|datamedia 2500:\
379         :bs:nc:\
380         :co#80:li#24:\
381         :al=15\020\n\030\035\030\035:bl=^G:ce=^W:cl=^^^^\177:\
382         :cm=\014%r%n%.%.:dc=10*\020\010\030\035:\
383         :dl=10*\020\032\030\035:dm=^P:do=^J:ed=^X^]:\
384         :ei=10\377\377\030\035:ho=^B:ic=10*\020\034\030\035:\
385         :im=^P:le=^H:nd=^\:pc=\377:se=^X^]:sf=^J:so=^N:up=^Z:
386 dm3025|datamedia 3025a:\
387         :MT:is=\EQ\EU\EV:do=^J:\
388         :al=130\EP\n\EQ:le=^H:bs:cd=2\EJ:ce=\EK:cl=2\EM:cm=\EY%r%+ %+ :\
389         :co#80:dc=6\b:dl=130\EP\EA\EQ:dm=\EP:ed=\EQ:ei=\EQ:ho=\EH:\
390         :im=\EP:ip=6:li#24:nd=\EC:pt:so=\EO1:se=\EO0:up=\EA:
391 3045|dm3045|datamedia 3045a:\
392         :is=\EU\EV:do=^J:\
393         :am:le=^H:bs:cd=2\EJ:ce=\EK:cl=2\EM:cm=\EY%r%+ %+ :co#80:\
394         :dc=6\EB:ei=\EP:ho=\EH:im=\EP:ip=6:\
395         :k0=\Ey\r:k1=\Ep\r:k2=\Eq\r:k3=\Er\r:k4=\Es\r:\
396         :k5=\Et\r:k6=\Eu\r:k7=\Ev\r:k8=\Ew\r:k9=\Ex\r:\
397         :kh=\EH:ku=\EA:kr=\EC:li#24:nd=\EC:pc=\177:pt:eo:ul:up=\EA:xn:
398 # dt80/1 is a vt100 lookalike, but it doesn't seem to need any padding.
399 dt80|dmdt80|dm80|datamedia dt80/1:\
400         :do=^J:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:cm=%i\E[%d;%dH:ho=\E[H:\
401         :nd=\E[C:sr=\EM:so=\E[7m:se=\E[m:up=\E[A:us=\E[4m:ue=\E[m:tc=vt100:
402 # except in 132 column mode, where it needs a little padding.
403 # This is still less padding than the vt100, and you can always turn on
404 # the ^S/^Q handshaking, so you can use vt100 flavors for things like
405 # reverse video.
406 dt80w|dmdt80w|dm80w|datamedia dt80/1 in 132 char mode:\
407         :do=^J:cd=20\E[0J:co#132:ce=20\E[0K:\
408         :cm=5\E[%i%d;%dH:cl=50\E[H\E[2J:up=5\E[A:tc=dmdt80:
409\f# --------------------------------
410 #
411 # H: HAZELTINE
412 #
413 # Since nd is blank, when you want to erase something you
414 # are out of luck.  You will have to do ^L's a lot to
415 # redraw the screen.  h1000 is untested.  It doesn't work in
416 # vi - this terminal is too dumb for even vi.  (The code is
417 # there but it isn't debugged for this case.)
418 h1000|hazeltine 1000:\
419         :le=^H:bs:ho=^K:cl=^L:nd= :co#80:li#12:do=^J:
420 # Note: the h1552 appears to be the first Hazeltine terminal which
421 # is not braindamaged.  It has tildes and backprimes and everything!
422 # Be sure the auto lf/cr switch is set to cr.
423 h1552|hazeltine 1552:\
424         :do=^J:al=\EE:dl=\EO:k1=\EP:l1=blue:k2=\EQ:\
425         :l2=red:k3=\ER:l3=green:tc=vt52:
426 h1552rv|hazeltine 1552 reverse video:\
427         :do=^J:so=\ES:se=\ET:tc=h1552:
428 # From cbosg!ucbvax!pur-ee!cincy!chris Thu Aug 20 09:09:18 1981
429 h1420|hazeltine 1420:\
430         :do=^J:le=^H:bs:am:li#24:co#80:al=\E^Z:dl=\E^S:cd=\E^X:cl=\E\034:\
431         :up=\E^L:nd=^P:ce=\E^O:ta=^N:cm=\E^Q%r%.%+ :so=\E\037:se=\E^Y:
432 # New "safe" cursor movement (11/87) from cgs@umd5.  Prevents freakout with
433 # out-of-range args and tn3270.  No hz since it needs to receive ~'s.
434 h1500|hazeltine 1500:\
435         :al=40~^Z:am:bs:cd=10~^X:ce=~^O:cl=~^\:cm=~^Q%r%>^^ %+`%+`:\
436         :co#80:dl=40~^S:do=~^K:ho=~^R:kh=~^R:kr=^P:ku=~^L:kd=^J:kl=^H:\
437         :le=^H:li#24:nd=^P:so=~^_:se=~^Y:up=~^L:.cm=~^Q%r%.%.:
438 # h1510 assumed to be in sane escape mode.  Else use h1500.
439 h1510|hazeltine 1510:\
440         :do=^J:al=\E^Z:am:le=^H:bs:cd=\E^X:ce=\E^O:cl=\E^\:cm=\E^Q%r%.%.:\
441         :co#80:dl=\E^S:do=\E^K:hz:li#24:nd=^P:.se=\E^_:.so=\E^Y:up=\E^L:
442 h1520|hazeltine 1520:\
443         :do=^J:al=~^Z:am:le=^H:bs:cd=~^X:ce=~^O:cl=~\034:cm=~^Q%r%.%.\200:\
444         :co#80:dl=~^S:do=~^K:hz:li#24:nd=^P:se=~^Y:so=~\037:up=~^L:ho=~^R:
445 # Note: h2000 won't work well because of a clash between upper case and ~'s.
446 h2000|hazeltine 2000:\
447         :do=^J:al=6~^z:am:le=^H:bs:cl=6~^\:cm=~^q%r%.%.:co#74:\
448         :dl=6~^s:ho=~^r:li#27:nc:pc=\177:
449 # Hazeltine esprit entries from Univ of Utah  Tue Feb  1 06:39:37 1983
450 # J.Lepreau, lepreau@utah-cs, harpo!utah-cs!lepreau
451 esprit|hazeltine esprit:\
452         :al=40\E^Z:bs:cd=5\E^X:ce=\E^O:cl=\E^\:cm=\E^Q%r%>^^ %+`%+`:co#80:\
453         :dl=40\E^S:do=\E^K:ho=\E^R:li#24:nd=^P:se=\E^Y:so=\E^_:up=\E^L:
454 esprit-am|hazeltine esprit auto-margin:\
455         :am:tc=esprit:
456\f# --------------------------------
457 #
458 # I: IBM
459 #
460 # ibm61 and ibm63 from Warren Gish (cswarren@violet.berkeley.edu).
461 # installed 12-17-86.
462 # 3161 only opens a new line if a null line exists on the screen.
463 # To ensure a null line exists, an SBA is performed, positioning the
464 # Buffer Address in column 0 of the last line.  The last line is then
465 # cleared to nulls, BA mode is canceled, and the new line is opened
466 # at the cursor position.
467 ibm61|ibm3161|3161|IBM 3161-11:\
468         :am:bs:bw:cl=\EL:li#24:co#80:cd=\EJ:al=\EX7 \EI\E Z\EN:\
469         :ce=\EI:cm=\EY%+\040%+\040:nd=\EC:up=\EA:do=\EB:\
470         :dl=\EO:dc=\EQ:kd=\EB:ku=\EA:kl=\ED:kr=\EC:kh=\EH:\
471         :us=\E4\102:ue=\E4\100:so=\E4\110:se=\E4\100:
472 # From seth@sirius.ctr.columbia.edu Sun May 20 11:02:34 1990
473 ibm3163|ibm63|i3163|3163|IBM 3163:\
474         :al=\EN:am:bs:bt=\E2:cd=\EJ:ce=\EI:cl=\EL:\
475         :cm=\EY%+\040%+\040:co#80:ct=\E 1:dc=\EQ:\
476         :dl=\EO:do=\EB:ds=\E#\072:es:fs=\E=:ho=\EH:\
477         :hs:ic=\EP:kA=\EN:kB=\E2:kC=\EQ:\
478         :kD=\EQ:kE=\EI:kI=\EI:kL=\EO:kS=\EJ:\
479         :kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:kh=\EH:\
480         :le=\ED:li#24:mb=\E4D:md=\E4H:me=\E4@:\
481         :mk=\E4P:mr=\E4A:nd=\EC:\
482         :ds=\E#\::es:fs=\E=\E#;:hs:ts=\E=:ws#80:\
483         :se=\E4@:so=\E4I:ue=\E4@:up=\EA:us=\E4B:
484 ibm|ibm3101|3101|i3101|IBM 3101-10:\
485         :do=^J:ct=\EH:st=\E0:\
486         :if=/usr/share/tabset/ibm3101:\
487         :am:le=^H:bs:cl=\EK:li#24:co#80:nd=\EC:up=\EA:cd=\EJ:ce=\EI:\
488         :kd=\EB:kl=\ED:kr=\EC:ku=\EA:ho=\EH:cm=\EY%+\40%+\40:pt:
489 ibm327-789|ibm-3277-2|ibm-3278-2|ibm-3278-3|ibm-3278-4|ibm-3278-5|ibm-3279-2|ibm-3279-3:\
490         :tc=ibm327-56:
491 ibm327-56|ibm-3275-2|ibm-3276-2|ibm-3276-3|ibm-3276-4|line mode IBM 3270 style:\
492         :gn:ce=\r:cl=\r\n:ho=\r:
493 ibm-apl|apl|IBM apl terminal simulator:\
494         :li#25:tc=dm1520:
495 # ibmapa* and ibmmono entries come from ACIS 4.3 distribution
496 rtpc|ibmapa16|ibm6155|IBM 6155 Extended Monochrome Graphics Display:\
497         :ts=\Ej\EY@%+ \Eo:ds=\Ej\EY@\40\EI\Ek:li#32:tc=ibmconsole:
498 # Advanced Monochrome (6153) and Color (6154) Graphics Display:
499 ibmapa8c|ibmapa8|ibm6154|ibm6153|IBM 6153/4 Advanced Graphics Display:\
500         :ts=\Ej\EY?%+ \Eo:ds=\Ej\EY?\40\EI\Ek:li#31:tc=ibmconsole:
501 ibmapa8c-c|ibm6154-c|IBM 6154 Advanced Color Graphics Display color termcap:\
502         :ts=\Ej\EY?%+ \Eo:ds=\Ej\EY?\40\EI\Ek:li#31:mh=\EF\Ef7;:tc=ibmega-c:
503 ibmmono|ibmconsole|ibm5151|IBM workstation monochrome:\
504         :se=\Ez:so=\EZ:sr=\EA:al=\EL:dl=\EM:\
505         :kb=^H:us=\EW:ue=\Ew:\
506         :k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:k8=\ER:k9=\EY:\
507         :k0=\E<:I0=f10:kI=\000:kh=\EH:kR=\EG:kP=\Eg:kF=\EE:kN=\EE:\
508         :md=\EZ:me=\Ew\Eq\Ez\EB:mk=\EF\Ef0;\Eb0;:mr=\Ep:\
509         :ts=\Ej\EY8%+ \Eo:fs=\Ek:ds=\Ej\EY8\40\EI\Ek:es:hs:sb:tc=ibm3101:
510 ibmega-c|ibm5154-c|IBM Enhanced Color Display color termcap:\
511         :se=\EB:so=\EF\Ef3;:ue=\EB:us=\EF\Ef2;:tc=ibmconsole:
512 # from marc pawliger--marc@ibminet.awdpa.ibm.com
513 # also in /usr/lpp/bos/bsdsysadmin.
514 hft-c|ibm8512|ibm8513|IBM High Function Terminal:\
515         :co#80:li#25:am:ht:\
516         :cm=\E[%i%d;%dH:ti=\E[20;4l\E[?7h\Eb:te=\E[20h:\
517         :nd=\E[C:up=\E[A:do=^J:ho=\E[H:\
518         :ec=\E[%dX:\
519         :cl=\E[H\E[J:cd=\E[J:el=\E[K:\
520         :AL=\E[%dL:DL=\E[%dM:al=\E[L:dl=\E[M:\
521         :im=\E[4h:ei=\E[4l:mi:\
522         :dm=\E[4h:ed=\E[4l:\
523         :so=\E[7m:se=\E[m:ul=\E[4m:ue=\E[m:ms:\
524         :md=\E[1m:mr=\E[7m:mb=\E[5m:me=\E[m:\
525         :as=^N:ae=^O:sc=\E[s:rc=\E[u:\
526         :kb=\E[D:kf=\E[C:ku=\E[A:kd=\E[B:kh=\E[H:\
527         :k1=\E[001q:k2=\E[002q:k3=\E[003q:k4=\E[004q:k5=\E[005q:\
528         :k6=\E[006q:k7=\E[007q:k8=\E[008q:k9=\E[009q:k0=\E[010q:\
529         :is=\Eb\E[m^O\E[?7h:rs=\Eb\E[m^O\E[?7h\E[H\E[J:
530 hft|AIWS High Function Terminal:\
531         :al=\E[L:cr=^M:do=^J:sf=^J:bl=^G:am:le=^H:cd=\E[J:\
532         :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:co#80:li#25:\
533         :dc=\E[P:dl=\E[M:ho=\E[H:\
534         :ic=\E[@:im=\E6:ei=\E6:\
535         :md=\E[1m:mr=\E[7m:mb=\E[5m:mk=\E[8m:me=\E[0m:\
536         :ku=\E[A:kd=\E[B:kl=\E[D:kr=\E[C:kh=\E[H:kb=^H:\
537         :nd=\E[C:ta=^I:up=\E[A:xo:\
538         :ue=\E[m:us=\E[4m:se=\E[m:so=\E[7m:\
539         :kP=\E[159q:kN=\E[153q:\
540         :k1=\E[001q:k2=\E[002q:k3=\E[003q:k4=\E[004q:\
541         :k5=\E[005q:k6=\E[006q:k7=\E[007q:k8=\E[008q:\
542         :k9=\E[009q:ka=\E[010q:
543 # From pryor@math.berkeley.edu
544 ibm5081|ibmmpel|IBM 5081 1024x1024 256/4096 color display:\
545         :ts=\Ej\EYA%+ \Eo:fs=\Ek:ds=\Ej\EYA\40\EI\Ek:es:hs:\
546         :li#33:tc=ibmconsole:
547 ibm5081-c|ibmmpel-c|IBM 5081 1024x1024 256/4096 enhanced color display:\
548         :ts=\Ej\EYA%+ \Eo:fs=\Ek:ds=\Ej\EYA\40\EI\Ek:es:hs:\
549         :li#33:tc=ibmega-c:
550 # ibm3151 and ibm3151-25 are modified from a Usenet posting
551 # from http://www.cs.utk.edu/~shuford/terminal/ibm_3161.termcap.txt
552 # Newsgroups: comp.terminals Message-ID: <1rkqgnINNdso@uwm.edu>
553 ibm3151|ibm3152|ibm3162|Ibm3162|ibm3151-pc:\
554         :am:mi:ms:\
555         :co#80:li#24:kn#9:\
556         :cd=\EJ:ce=\EI:cl=\EH\EJ:cm=\EY%+ %+ :dc=\EQ:dl=\EO:\
557         :ho=\EH:k1=\Ea\n:k2=\Eb\n:k3=\Ec\n:k4=\Ed\n:k5=\Ee\n:\
558         :k6=\Ef\n:k7=\Eg\n:k8=\Eh\n:k9=\Ei\n:kb=\b:kd=\EB:\
559         :kh=\EH:kl=\ED:kr=\EC:ku=\EA:nd=\EC:se=\E4>b:so=\E4!a:\
560         :te=\E>A:ti=\E>B:ue=\E4=b:up=\EA:us=\E4"a:bc=\ED:\
561         :U8=\E<A:U9=\E<@:\
562         :Us=q:Uv=x:Ux=k:Uw=j:Uz=m:Uy=l:Uu=n:Uq=w:Up=v:Ut=t:Ur=u:\
563         :Ub=\E4$a:Uc=\E4@:Uf=\E4(a:Ug=\E4@:U6=\E r!! 8"P:U7=\E r!! 8$D:\
564         :nl=\EB:ko=le,do,nd,up,dc,dl,cd,ce,ho:
565 ibm3151-25|ibm3152-25:\
566         :am:mi:ms:\
567         :co#80:li#25:kn#9:\
568         :cd=\EJ:ce=\EI:cl=\EH\EJ:cm=\EY%+ %+ :dc=\EQ:dl=\EO:\
569         :ho=\EH:k1=\Ea\n:k2=\Eb\n:k3=\Ec\n:k4=\Ed\n:k5=\Ee\n:\
570         :k6=\Ef\n:k7=\Eg\n:k8=\Eh\n:k9=\Ei\n:kb=\b:kd=\EB:\
571         :kh=\EH:kl=\ED:kr=\EC:ku=\EA:nd=\EC:se=\E4>b:so=\E4!a:\
572         :te=\E>A:ti=\E>B:ue=\E4=b:up=\EA:us=\E4"a:bc=\ED:\
573         :U8=\E<A:U9=\E<@:\
574         :Us=q:Uv=x:Ux=k:Uw=j:Uz=m:Uy=l:Uu=n:Uq=w:Up=v:Ut=t:Ur=u:\
575         :Ub=\E4$a:Uc=\E4@:Uf=\E4(a:Ug=\E4@:U6=\E r!! 9"P:U7=\E r!! 9$D:\
576         :nl=\EB:ko=le,do,nd,up,dc,dl,cd,ce,ho:
577\f# --------------------------------
578 #
579 # M: MISCELLANEOUS TERMINALS
580 #
581 # The tab 132 uses xon/xoff, so no padding needed.
582 # ks/ke have nothing to do with arrow keys.
583 # is sets 80 col mode, normal video, autowrap on (for am).
584 # Seems to be no way to get rid of status line.
585 abm80|amtek business machines 80:\
586         :do=^J:al=\E^Z:am:le=^H:bs:cd=\E^X:ce=\E^O:cl=\E^\:cm=\E^Q%r%+ %+ :\
587         :co#80:dl=\E^S:do=\E^K:li#24:nd=^P:.so=\E^_:.se=\E^Y:up=\E^L:\
588         :bw:bt=^T:ho=\E^R:
589 tab132|tab|tab132-15|tab 132-15:\
590         :is=\E[?7h\E[?3l\E[?5l:dN@:ks@:ke@:do=^J:\
591         :da:db:al=\E[L:dl=\E[M:dc=\E[P:ei=\E[4l:im=\E[4h:cm=\E[%i%d;%dH:\
592         :ku=\E[A:kd=\E[B:kl=\E[D:tc=vt100:
593 tab132w:\
594         :co#132:is=\E[?7h\E[?3h\E[?5l:tc=tab132:
595 tab132rv:\
596         :is=\E[?7h\E[?3l\E[?5h:tc=tab132:
597 tab132wrv:\
598         :is=\E[?7h\E[?3h\E[?5h:tc=tab132w:
599 # This used to say "de#001202" which presumably refers to the stty bits
600 # that need to be set for some version of Unix.  We need the real delay
601 # requirements in MS.
602 mw2|Multiwriter 2:\
603         :do=^J:co#132:hc:os:
604 ddr|rebus3180|ddr3180|Rebus/DDR 3180 vt100 emulator:\
605         :do=^J:co#80:li#24:cl=50\E[;H\E[2J:sf=5\ED:\
606         :le=^H:bs:am:cm=5\E[%i%d;%dH:nd=2\E[C:up=2\E[A:\
607         :ce=3\E[K:cd=50\E[J:so=\E[7m:se=\E[m:us=2\E[4m:ue=2\E[m:\
608         :md=2\E[1m:mr=2\E[7m:mb=2\E[5m:me=2\E[m:is=\E[1;24r\E[24;1H:\
609         :rf=/usr/share/lib/tabset/vt100:\
610         :rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:ks=\E[?1h\E=:ke=\E[?1l\E>:\
611         :ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:kb=^H:\
612         :ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:pt:sr=5\EM:vt#3:xn:\
613         :sc=\E7:rc=\E8:cs=\E[%i%d;%dr:
614 # luna's BMC terminal emulator
615 luna|luna68k|LUNA68K Bitmap console:\
616         :li#46:co#88:tc=ansi:
617 # SCO console and SOS-Syscons console for 386bsd
618 scoansi|SCO Extended ANSI standard crt:\
619         :am:bs:eo:xo:\
620         :co#80:it#8:li#25:\
621         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
622         :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
623         :al=\E[L:bl=^G:bt=\E[Z:cd=\E[m\E[J:ce=\E[m\E[K:\
624         :cl=\E[H\E[2J:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=\E[B:ei=:\
625         :ho=\E[H:ic=\E[@:im=:k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:\
626         :k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:kD=\177:kI=\E[L:\
627         :kN=\E[G:kP=\E[I:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:\
628         :ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[0;10m:mr=\E[7m:\
629         :nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:\
630         :st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[=10;12C:\
631         :vi=\E[=14;12C:vs=\E[=0;12C:
632 trs80|trs-80|radio shack trs-80 Model I:\
633         :do=^J:am:le=^H:bs:co#64:li#16:
634 d800|Direct 800/A:\
635         :do=^J:co#80:li#24:am:cl=\E[1;1H\E[2J:le=^H:bs:cm=\E[%i%d;%dH:\
636         :nd=\E[C:up=\E[A:ce=\E[K:cd=\E[J:\
637         :so=\E[7m:se=\E[0m:us=\E[4m:ue=\E[0m:xs:vs=\E[>12l:ve=\E[>12h:\
638         :sf=\ED:sr=\EM:da:db:as=\E[1m:ae=\E[0m:ms:pt:\
639         :kl=\E[D:kr=\E[C:ku=\E[A:kd=\E[B:\
640         :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
641         :k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:
642 vc404|volker-craig 404:\
643         :do=^J:am:le=^H:bs:cd=40^W:ce=20^V:cl=40^X:cm=^P%+ %+ :co#80:\
644         :ho=40^Y:kd=^J:kl=^H:kr=^U:ku=^Z:li#24:ma=^Z^P^U :nd=^U:up=^Z:
645 vc404-s|volker-craig 404 w/standout mode:\
646         :do=^J:se=^O:so=^N:tc=vc404:
647 vc404-na|volker-craig 404 w/no arrow keys:\
648         :ma@:kr@:ku@:tc=vc404:
649 vc404-s-na|volker-craig 404 w/standout mode and no arrow keys:\
650         :se=^O:so=^N:tc=vc404-na:
651 # From: wolfgang@cs.sfu.ca
652 vc414|vc414h|Volker-Craig 414H in sane escape mode.:\
653         :am:ic=\E\072:dc=\E\063:so=\E\031:se=\E\037:\
654         :kl=^H:kr=^P:ku=\E^L:kd=\E^K:kh=\E^R:\
655         :k0=\EA:k1=\EB:k2=\EC:k3=\ED:k4=\EE:k5=\EF:k6=\EG:k7=\EH:\
656         :l0=PF1:l1=PF2:l2=PF3:l3=PF4:l4=PF5:l5=PF6:l6=PF7:l7=PF8:\
657         :al=40\E^Z:bs:cd=\E^X:ce=10\E^O:cl=40\E^\:co#80:\
658         :do=\E^K:li#24:nd=^P:up=\E^L:
659 vc414h-noxon:\
660         :dl=40\E^S:cm=40\E^Q%r%.%.:ho=\E^R:\
661         :tc=vc414h:
662 # missing in vc303a and vc303 descriptions:  they scroll 2 lines at a time
663 vc303a|vc403a|volker-craig 303a:\
664         :do=^J:am:le=^H:bs:ce=20^V:cl=40^X:co#80:ho=40^Y:kd=^J:kl=^H::kr=^U:\
665         :ku=^Z:li#24:ll=^P^@W:nd=^U:ns:up=^Z:
666 vc303|vc103|vc203|volker-craig 303:\
667         :do=^J:am:le=^H:bs:cl=40^L:co#80:ho=40^K:kd=^J:kl=^H:\
668         :kr=^I:ku=^N:li#24:ll=^O\200W:nd=^I:ns:up=^N:
669 # Test version for Falco ts-1. See "arpavax.hickman@ucb" for info
670 falco|ts1|ts-1|falco ts-1:is=\Eu\E3:\
671         :do=^J:al=\EE:am:bs:ce=\ET\EG0^h:cm=\E=%+ %+ :cl=\E*:cd=\EY:co#80:\
672         :dc=\EW:dl=\ER:ei=\Er:ho=^^:im=\Eq:k0=^A0\r:kd=^J:kl=^H:pt:\
673         :kr=^L:ku=^K:li#24:nd=^L:se=\Eg0:so=\Eg1:up=^K:us=\Eg1:ue=\Eg0:
674 falco-p|falco ts-1sp|falco with paging option:\
675         :is=\EZ\E3\E_c:\
676         :al=\EE:am:bs:ce=\ET\EG0^H\Eg0:cl=\E*:cd=\EY:co#80:dc=\EW:\
677         :dl=\ER:kd=\E[B:kl=\E[D:ei=\Er:im=\Eq:pt:db:\
678         :kr=\E[C:ku=\E[A:li#24:nd=\E[C:se=\Eg0:so=\Eg4:\
679         :up=\E[A:us=\Eg1:ti=\E_d:te=\E_b:\
680         :ue=\Eg0:do=\E[B:cm=\E=%+ %+ :ms:kh=\E[H:da:mi:bt=\EI:
681 # NOTE: bg can scroll, it just would rather not (ns) - rwells 3/13/81.
682 # (Shouldn't you take out ns and put in an nl instead? - mrh)
683 bitgraph|BBN BitGraph terminal:\
684         :do=^J:al=2*\E[L:bs:cd=150\E[J:ce=2\E[K:\
685         :cl=150\E[H\E[J:cm=%i\E[%d;%dH:co#85:\
686         :dl=2*\E[M:k0=\EP:k1=\EQ:k2=\ER:k3=\ES:kd=\EB:ke=\E>:kl=\ED:kr=\EC:\
687         :ks=\E=:ku=\EA:li#64:nd=\E[C:ns:pt:se=\E[0m:so=\E[7m:up=\E[A:sf=280\n:
688 d132|datagraphix|datagraphix 132a:\
689         :do=^J:co#80:li#30:cl=^l:ho=\Et:da:db:sf=\Ev:sr=\Ew:\
690         :up=\Ek:nd=\El:vs=\ex:ve=\Em\En:\
691         :al=\E3:ic=\E5:dc=\E6:in:ic=\E5:
692 soroc|Soroc 120:\
693         :do=^J:cd=\EY:ce=\ET:cl=2\E*:ma=^K^P^R^L^L :\
694         :kl=^H:ku=^K:kr=^L:kd=^J:tc=adm3a:
695 # From: ma179abu%sdcc3@sdcsvax.ucsd.edu (Bill Houle)
696 iq140|soroc140|Soroc IQ140 with inverse & dim:\
697         :ic=\EQ:dc=\EW:al=\EE:dl=\ER:ce=\ET:cd=\EY:cl=\E+:cm=\E=%+ %+ :\
698         :up=^K:do=^J:le=^H:nd=^L:ho=^^:ta=\Ei:ma=^Kk^Jj^Hh^Ll^^h:am:bs:\
699         :co#80:li#24:kb=^H:kh=^^:ku=^K:kd=^J:kl=^H:kr=^L:\
700         :k0=^AI:k1=^A@:k2=^AA:k3=^AB:k4=^AC:k5=^AD:k6=^AE:k7=^AF:\
701         :k8=^AG:k9=^AH:se=\E^?:so=\E^?:us=\E):ue=\E(:
702 # tec is untested, and taken from CB/Unix virtual terminal driver.
703 # Upper case terminal, uses lower case for control sequences!!!
704 # The driver shows the C ~ operator used on CM coordinates.
705 # Without the terminal in front of me, I can't figure out what's
706 # going on, so I've dotted out the cm.  Note there is no ~ in tgoto.
707 tec400|tec scope:\
708         :do=^J:.cm=l%r%.%.:up=x:do=h:nd=g:le=w:ho=i:so={:se=|:sg#1:\
709         :cl=f:al=e:dl=u:ic=d:dc=t:ce=c:cd=s:
710 # From ucbvax!geoff Mon Sep 21 21:15:45 1981
711 # This entry has been tested.
712 tec500|tec 500:\
713         :do=^J:am:le=^H:bs:cm=\E=%+ %+ :cl=20^Z:\
714         :co#80:ho=^^:li#24:nd=^L:up=^K:so=^]:se=^\:
715 # I would appreciate more information on this terminal, such as the
716 # manufacturer and the model number.  There are too many tecs in here.
717 tec:\
718         :li#24:co#80:cl=^l:up=^k:nd=\037:\
719         :am:le=^H:bs:ho=\036:ma=^K^P^_ :do=^J:
720 teletec|Teletec Datascreen:\
721         :do=^J:am:le=^H:bs:co#80:cl=^l:ho=^^:li#24:nd=^_:up=^k:
722 # From cbosg!ucbvax!SRC:george Fri Sep 11 22:38:32 1981
723 ampex|d80|dialogue|dialogue80|ampex dialogue 80:\
724         :ct=\E3:st=\E1:do=^J:is=\EA:us=\El:ue=\Em:\
725         :am:le=^H:bs:pt:cl=75\E*:cm=\E=%+ %+ :\
726         :al=5*\EE:bt=\EI:ic=\EQ:dl=5*\ER:dc=\EW:\
727         :ce=\Et:cd=\Ey:so=\Ej:se=\Ek:li#24:co#80:nd=^L:up=^K:
728 # From: atd!dsd!rcb@ucbvax.berkeley.edu (Richard Bascove)
729 a210|210|ampex210|ampex a210:\
730         :am:bs:cl=\E*:cm=\E=%+ %+ :al=\EE:bt=\EI:ic=\EQ:\
731         :dl=\ER:dc=\EW:ho=^^:xn:ce=\Et:cd=\Ey:li#24:co#80:nd=^L:up=^K:\
732         :pt:if=/usr/share/tabset/std:is=\EC\Eu\E'\E(\El\EA\E%\E{\E.2\EG0\Ed\En:\
733         :kl=^H:kr=^L:kd=^V:ku=^K:kh=^^:hs:ts=\E.0\Eg\E}\Ef:fs=\E.2:\
734         :kn#10:k0=^A0^M:k1=^A1^M:k2=^A2^M:k3=^A3^M:k4=^A4^M:k5=^A5^M:\
735         :vb=\EU\EX\EU\EX\EU\EX\EU\EX:k6=^A6^M:k7=^A7^M:k8=^A8^M:k9=^A9^M:\
736         :so=\EG4:se=\EG0:us=\EG8:ue=\EG0:ug#1:sg#1:
737 digilog|333|digilog 333:\
738         :le=^H:bs:co#80:ce=\030:ho=^n:li#16:nd=^i:up=^o:do=^J:
739 ep48|ep4080|execuport 4080:\
740         :am:le=^H:bs:os:co#80:hu=\036:hd=\034:do=^J:
741 ep40|ep4000|execuport 4000:\
742         :am:le=^H:bs:os:co#136:hu=\036:hd=\034:do=^J:
743 terminet1200|terminet300|tn1200|tn300|terminet|GE terminet 1200:\
744         :co#120:hc:os:do=^J:
745 # AED 512
746 # by giles Billingsley (gilesb%ucbcad@berkeley)
747 # rewritten 8/82 for newer AEDs and better operation of vi,etc.
748 aed|AED|aed512|AED512|aed 512:\
749         :db:co#64:li#40:cl=^L:bs:nd=\Ei0800\001:\
750         :up=^K:ve=\E\E\E\E\E\E\E\072004=000200??\001:\
751         :vb=\EK0001??0000K0001202080\001:\
752         :us=\E\07200>8000140\001:ue=\E\07200>8000100\001:\
753         :uc=\Ei???>l0800i0102\001:\
754         :ti=\E\07200>8000140{<04<0??00001010L<0\072004=0002??00\001:\
755         :te=\E\07200>8000100{804<0??00001000L80\072004=000200??\001:\
756         :so=\E\07200>8000140[80C00\001:se=\E[00C80\001:\
757         :is=\EG1MMM.`40K0001202080K8001????00^L\EC80L80{80^L\EK010100????K0601??0000c818100\EG1HHH.\07210000019A27FD006A280D002A200A52429FE8524861086118612861360N031B4C3F3F1800N041B0C1B4C38301800N001B3B313030301800N011B3B313030341800N021B3B313030381800N050800N061B3B313335301800\07211000015A58E8D5011A58F8D5111A5908D5211A5918D531160\07212000015AD5011858EAD5111858FAD52118590AD5311859160\0721300004B2071C5858E0A18658E0A0A858EA900858F268FA5278590A50A29018591A9F51865908590A90165918591A59038E58E8590A591E58F290185912071C5180A0A0A0901858EA900858F268F60\0721350000BA9472031DEA9502031DE60\E\E\E\EG1MMM.^A:
758 aed-ucb|AED-UCB|aed512-ucb|AED512-UCB|aed 512 w/o UCB ROM:\
759         :db:co#64:li#40:cl=^L:bs:nd=\Ei0800\001:up=^K:\
760         :ve=\E\E\E\E\E\E\E\072004=000200??\001:\
761         :vb=\EK0001??0000K0001202080\001:\
762         :us=\E\07200>8000140\001:ue=\E\07200>8000100\001:\
763         :uc=\Ei???>l0800i0102\001:\
764         :ti=\E\07200>8000140{<04<0??00001010L<0\072004=0002??00\001:\
765         :te=\E\07200>8000100{804<0??00001000L80\072004=000200??\001:\
766         :so=\E\07200>8000140[80C00\001:se=\E[00C80\001:\
767         :if=/usr/share/tabset/aed512:
768 # CIT 80  - vt 100 emulator, the termcap has been modified to remove
769 #           the delay times and do an auto tab set rather than the indirect
770 #           file used in vt100.
771 cit80|cit 80|Citoh 80:\
772         :co#80:li#24:am:cl=\E[;H\EJ:bs:cm=\E[%i%2;%2H:nd=\E[C:up=\E[A:\
773         :ce=\EK:cd=\EJ:is=\E>:ks=\E[?1h\E=:ke=\E[?1l\E>:\
774         :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:
775 # From mtxinu!sybase!tim (Tim Wood) Fri Sep 27 09:39:12 PDT 1985
776 # Alternate cit101 (vt100 em) file used in vt100.
777 #           Uses 23 lines so can run citsys (like h19sys).
778 #       24 May 85 (mtxinu!sybase!tim) - removed 2-byte limit on 'cm' cursor
779 #         coordinates otherwise there is garbling on long lines in
780 #         co#132 mode; also added support for multipage memory on the Itoh.
781 citc|Citoh fast vt100:\
782         :co#80:li#23:am:cl=\E[;H\E[2J:bs:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\
783         :ce=\E[K:cd=\E[J:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:\
784         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[3g\E[>5g:\
785         :ks=\E[?1h\E=:ke=\E[?1l\E>:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:\
786         :vb=\E[?5h\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\E[?5l:\
787         :dc=\E[P:al=\E[L:dl=\E[M:ic=\E[@:vs=\E7\E[U:ve=\E[V\E8:xn:
788 cita:\
789         :co#80:li#23:am:cl=\E[;H\E[2J:bs:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\
790         :ce=\E[K:cd=\E[J:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:\
791         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[3g\E[>5g:\
792         :ks=\E[?1h\E=:ke=\E[?1l\E>:\
793         :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:vs=\E7\E[U:ve=\E[V\E8:\
794         :vb=\E[?5h\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\E[?5l:xn:
795 cit101:li#24:vb@:tc=citc:
796 cit101b:li#24:tc=citc:
797 cit500|cit-500|cit 500:\
798         :co#80:li#40:cl=50\E[;H\E[2J:bs:am:cm=5\E[%i%2;%2H:nd=2\E[C:up=2\E[A:\
799         :ce=3\E[K:cd=50\E[J:so=2\E[7m:se=2\E[m:us=2\E[4m:ue=2\E[m:\
800         :is=\E(B\E)0\E>\E[?3l\E[?7h\E[?8h:ks=\E[?1h\E=:ke=\E[?1l\E>:\
801         :if=/usr/share/tabset/vt100:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:\
802         :kh=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:pt:sr=5\EM:xn:\
803         :do=\ED:al=\E[L:dc=\E[P:dl=\E[M:
804 # Note several versions of blit.  I don't know exactly what is what
805 # so please send me any corrections to this -- mrh
806 # From research!ikeya!rob Tue Aug 31 23:41 EDT 1982
807 blit|jerq|blit-pb|blit running teletype rom:\
808         :do=^J:IC=\Ef%+ :DC=\Ee%+ :AL=\EF%+ :DL=\EE%+ :\
809         :mi:dl=\EE!:ic=\Ef!:dc=\Ee!:al=\EF!:\
810         :ce=\EK:cl=^L:cm=\EY%r%+ %+ :co#87:li#72:nd=\EC:\
811         :up=\EA:ku=\EA:kd=\EB:kr=\EC:kl=\ED:kb=^H:am:ul:pt:eo:
812 cbblit|columbus enhanced tty blit:\
813         :vb=\E^G:so=\EU!:se=\EV!:us=\EU":ue=\EV":cd=\EJ:\
814         :im=\EQ:ei=\ER:ic@:co#88:sf=\EG:tc=blit:
815 oblit|ojerq|first version of blit rom:\
816         :do=^J:AL=\Ef%+ :DL=\Ee%+ :mi:dl=\EE:ei=\ER:im=\EQ:dc=\EO:da:db:\
817         :al=\EF:cd=\EJ:ce=\EK:cl=^L:cm=\EY%r%+ %+ :co#88:li#72:nd=\EC:\
818         :up=\EA:vb=\E^G:am:ul:pt:eo:
819 daleblit|daleterm|blit running Dale DeJager's ROM:\
820         :ku=\EA:kd=\EB:kr=\EC:kl=\ED:so=\EU!:se=\EV!:us=\EU":ue=\EV":\
821         :da@:db@:tc=oblit:
822 datapoint|dp3|dp3360|datapoint 3360:\
823         :do=^J:am:le=^H:bs:cd=^_:ce=^^:cl=^]^_:co#82:ho=^]:li#25:nd=^x:up=^z:
824 # From: cbosgd!utcs!romwa@ucbvax.berkeley.edu (mark dornfeld)
825 #               This termcap is for the LANPAR Technologies VISION 3220
826 #       terminal.  The function key definitions k0-k5 represent the
827 #       edit keypad: FIND, INSERT HERE, REMOVE, SELECT, PREV SCREEN,
828 #       NEXT SCREEN. The key definitions k6-k9 represent the PF1 to
829 #       PF4 keys.
830 v3220|LANPAR Vision II model 3220/3221/3222:\
831         :co#80:li#24:cl=\E[H\E[J:bs:am:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\
832         :ce=\E[K:cd=\E[J:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:\
833         :is=\E>\E[?3l\E[?7h\E[?8h\E[p:ks=\E=:ke=\E>:\
834         :kn#10:k0=\E[1~:k1=\E[2~:k2=\E[3~:k3=\E[4~:k4=\E[5~:k5=\E[6~:\
835         :k6=\E[OP:k7=\E[OQ:k8=\E[OR:k9=\E[OS:\
836         :ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:\
837         :kh=\E[H:pt:sr=\EM:xn:\
838         :dl=\E[M:dc=\E[P:ei=\E[4l:al=\E[L:im=\E[4h:mi:
839 # From ucbvax!faletti (Faletti@Berkeley)
840 # FREEDOM 100 by Liberty Electronics USA, SF.
841 # :kh=^^:  left out because it precludes using change-to-alternate-file in vi.
842 # Basic Freedom 100 entry, works with VI at 1200 baud.
843 f100|freedom100|freedom|freedom 100 no padding:\
844         :am:bs:bw:mi:ms:pt:co#80:kn#20:li#24:\
845         :ct=\E3:st=\E1:is=\Eg\Ef\r\Ed:kr=^L:\
846         :cl=^Z:do=^J:ho=^^:kb=^H:kl=^H:\:kd=^V:\
847         :ko=dc,al,dl,cl,bt,ce,cd:ku=^K:le=^H:nd=^L:\
848         :ch=\E]%+ :cm=\E=%+ %+ :cv=\E[%+ :sr=\Ej:up=^K:\
849         :al=\EE:bt=\EI:cd=\EY:ce=\ET:dc=\EW:dl=\ER:ei=\Er:im=\Eq:\
850         :se=\EG0:so=\EG4:ue=\EG0:us=\EG8:as=\E$:ae=\E%:\
851         :vb=\Eb\200\200\Ed:\
852         :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
853         :k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:k0=^AI\r:\
854         :hs:ts=\Eg\Ef:fs=\r:ds=\Eg\Ef\r:
855 f100-rv|freedom100-rv|freedom-rv|freedom100 with reverse video at 1200:\
856         :is=\Eg\Ef\r\Eb:vb=\Ed\200\200\Eb:tc=freedom100:
857 # VI at 9600 baud (or EMACS at 1200 -- but may be more than is needed for emacs)
858 f100-v|freedom100-v|freedom-v|freedom100 for 9600 vi or 1200 emacs:\
859         :al=6.5*\EE:dl=11.5*\ER:\
860         :vb=\Eb\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Ed:\
861         :tc=freedom100:
862 f100-v-rv|freedom100-v-rv|freedom-v-rv|freedom100 rev. vid. for 9600 vi:\
863         :al=6.5*\EE:dl=11.5*\ER:is=\Eg\Ef\r\Eb:\
864         :vb=\Ed\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Eb:\
865         :tc=freedom100:
866 # EMACS at 9600 baud -- this still needs some more work on the padding
867 f100-e|freedom100-e|freedom-e|freedom100 for 9600 emacs:\
868         :al=8.5*\EE:dl=11.5*\ER:ip=6:\
869         :vb=\Eb\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Ed:\
870         :tc=freedom100:
871 f100-e-rv|freedom100-e-rv|freedom-e-rv|freedom100 rev. vid. for emacs 9600:\
872         :al=8.5*\EE:dl=11.5*\ER:ip=6:is=\Eg\Ef\r\Eb:\
873         :vb=\Ed\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Eb:\
874         :tc=freedom100:
875 f110-v|freedom110-v|freedom110 for 9600 vi or 1200 emacs:\
876         :is=\Eg\Ef\r\Ed\EO:dc=\EO\EW:im=\EO\Eq:\
877         :al=6.5*\EE:dl=11.5*\ER:\
878         :vb=\Eb\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Ed:\
879         :tc=freedom100:
880 # (from kerch@lll-crg)
881 f200|freedom200| Freedom 200 VDT by Liberty Electronics :\
882         :if=/usr/share/tabset/stdcrt:al=\EE:am:bs:bt=\EI:cd=\EY:\
883         :ce=\ET:cl=^Z:cm=\E=%+ %+ :co#80:dc=\EW:dl=\ER:do=^V:\
884         :ds=\Eh:ei=\Er:im=\Eq:is=\Eg\El\E\041\062:\
885         :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
886         :k6=^AE\r:k7=^AE\r:k8=^AF\r:k9=^AG\r:kd=^V:kr=L:\
887         :ku=^K:li#24:ms:nd=^L:se=\EG0:so=\EG4:sr=\Ej:\
888         :te=\EJ\E\\2\E|\041\061^L^Y:ti=\E\\1\EK\E|\041\061L^Y:\
889         :ts=\Ef:ue=\EG0:up=^K:us=\EG8:vb=\Eb\Ed:hs:i2=\E^O\Eg:\
890         :ts=\Ef:fs=^M:ds=\E^N:
891 dg6053|data general 6053:\
892         :do=^J:am:le=^H:bs:cm=^P%r%.%.:cl=^L:ho=^H:nd=^S:\
893         :up=^W:ce=^K:co#80:li#24:
894 # dg450 and dg200 from cornell
895 dg450|dg6134|data general 6134:\
896         :nd=\030:bs@:tc=dg200:
897 dg200|data general Dasher 200:\
898         :am:bc=^Y:bs=0:ce=^K:cl=^L:cm=^P%r%+\200%+\200:co#80:do=^Z:\
899         :ho=^H:li#24:\
900         :ll=\036FP\017:se=\036E:so=\036D:up=^W:\
901         :is=\036O\036FQ2\036FB000\036FE\036FA\036FQ2:
902 # Note: lesser Dasher terminals will not work with vi because vi insists upon
903 # having a command to move straight down from any position on the bottom line
904 # and scroll the screen up, or a direct vertical scroll command.  The 460 and
905 # above have both, the D210/211, for instance, has neither.  We must use ANSI
906 # mode rather than DG mode because standard UNIX tty drivers assume that ^H is
907 # backspace on all terminals.  This is not so in DG mode.
908 dg460-ansi|Data General Dasher 460, ANSI-mode:\
909         :al=\E[L:am:bs:cd=\E[J:ce=\E[K:cl=\E[2J:\
910         :cm=\E[%i%2;%2H:co#80:dc=\E[P:dl=\E[M:do=\E[B:\
911         :ho=\E[H:ic=\E[@:ue=\E[05:ul:up=\E[A:us=\E[4m:is=\036F@:\
912         :k0=\E[001z:k1=\E[002z:k2=\E[003z:k3=\E[004z:k4=\E[005z:k5=\E[006z:\
913         :k6=\E[007z:k7=\E[008z:k8=\E[009z:k9=\E[00\:z:\
914         :kb=\E[D:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:kn#6:\
915         :l0=f1:l1=f2:l2=f3:l3=f4:l4=f5:l5=f6:l6=f7:l7=f8:l9=f10:\
916         :le=^H:li#24:mb=\E[5m:me=\E[0m:mh=\E[2m:mr=\E[7m:ms:mu=\EW:\
917         :nd=\E[C:nl=\ED:pt:se=\E[0m:sf=\E[S:so=\E[7m:sr=\E[T:
918 v603|visual603|603|Visual model 603:\
919         :hs:ts=\EP2~:fs=\E\\:ds=\EP2;1~\E\\:\
920         :im=\E[4h:ei=\E[4l:mi:dc=\E[P:al=\E[L:dl=\E[M:\
921         :cs=\E[%i%d;%dr:sf=\ED:sr=\EM:sb=\EM:\
922         :ce=\E[K:cl=\E[H\E[J:cd=\E[J:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\
923         :so=\E[7m:se=\E[27m:us=\E[4m:ue=\E[24m:\
924         :md=\E[1m:mr=\E[7m:mb=\E[5m:me=\E[m:\
925         :is=\E>\E[?3l\E[?4l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
926         :rs=\E>\E[?3l\E[?4l\E[?7h\E[?8h:\
927         :tc=vt100:
928 cdi|cdi1203:\
929         :am:le=^H:bs:hc:os:co#80:dC#200:do=^J:
930 # ^S is an arrow key!  Boy is this guy in for a surprise on v7!
931 sol:\
932         :do=^J:am:le=^Y:ho=^H:bs:cm=\E^1%.\E^2%.:cl=^K:ho=^N:co#64:li#16:\
933         :nd=^S:up=^W:kl=^A:kr=^S:ku=^W:kd=^Z:ma=^A^H^S ^W^P^Z^N:
934 xl83|Cybernex XL-83:\
935         :do=^J:am:le=^H:bs:cd=62^P:ce=3^O:cl=62^L:cm=^W%+ %+ :co#80:ho=^K:\
936         :kd=^J:kl=^H:ku=^N:li#24:up=^N:nd=^I:
937 omron|Omron 8025AG:\
938         :do=^J:al=\EL:am:le=^H:bs:cd=\ER:co#80:ce=\EK:cl=\EJ:\
939         :da:db:dc=\EP:dl=\EM:ho=\EH:li#24:nd=\EC:se=\E4:sf=\ES:\
940         :so=\Ef:sr=\ET:up=\EA:ve=:vs=\EN:
941 plasma|plasma panel:\
942         :am:le=^H:bs:cl=^L:co#85:ho=^^:li#45:nd=\030:up=\026:do=^J:
943 pty|pseudo teletype:\
944         :do=^J:co#80:li#24:am:cl=\EJ:le=^H:bs:cm=\EG%+ %+ :nd=\EC:\
945         :up=\EA:ce=\EK:cd=\EL:al=\EP:dl=\EN:ic=\EO:\
946         :so=\Ea$:se=\Eb$:us=\Ea!:ue=\Eb!:
947 remote|virtual remote terminal:\
948         :co#79:am@:nl@:tc=virtual:
949 swtp|ct82|southwest technical products ct82:\
950         :do=^J:am:le=^d:bc=^d:\
951         :al=^\^y:cd=^v:ce=^F:cl=^L:cm=%r^k%.%.:co#82:li#20:\
952         :dl=^z:nd=^s:up=^a:so=^^^v:se=^^^F:dc=^\^h:ic=^\^x:ho=^p:\
953         :sf=^n:sr=^o:ll=^c:\
954         :is=^\^r^^^s^^^d^]^w^i^s^^^]^^^o^]^w^r^i:
955 terak|Terak emulating Datamedia 1520:\
956         :tc=dm1520:
957 # :is resets scrolling region in case a previous user had used "tset vt100"
958 sun|Sun Microsystems Workstation console:\
959         :li#34:co#80:cl=^L:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\
960         :am:bs:mi:ms:pt:km:\
961         :ce=\E[K:cd=\E[J:so=\E[7m:se=\E[m:is=\E[1r:rs=\E[1r:\
962         :kd=\E[B:kl=\E[D:ku=\E[A:kr=\E[C:kh=\E[H:\
963         :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
964         :al=\E[L:dl=\E[M:ic=\E[@:dc=\E[P:\
965         :AL=\E[%dL:DL=\E[%dM:IC=\E[%d@:DC=\E[%dP:
966 # From john@ucbrenoir  Tue Sep 24 13:14:44 1985
967 sun-s|Sun Microsystems Workstation window with status line:\
968         :hs:ts=\E]l:fs=\E\\:ds=\E]l\E\\:tc=sun:
969 sun-e-s|sun-s-e|Sun Microsystems Workstation with status hacked for emacs:\
970         :hs:ts=\E]l:fs=\E\\:ds=\E]l\E\\:tc=sun-e:
971 sun-48|Sun 48-line window:\
972         :li#48:co#80:tc=sun:
973 sun-34|Sun 34-line window:\
974         :li#34:co#80:tc=sun:
975 sun-24|Sun 24-line window:\
976         :li#24:co#80:tc=sun:
977 sun-17|Sun 17-line window:\
978         :li#17:co#80:tc=sun:
979 sun-12|Sun 12-line window:\
980         :li#12:co#80:tc=sun:
981 sun-1|Sun 1-line window for sysline:\
982         :li#1:co#80:es:hs:ts=\r:fs=\E[K:ds=^L:tc=sun:
983 sun-e|sun-nic|sune|Sun Microsystems Workstation without insert character:\
984         :ic@:im@:ei@:tc=sun:
985 sun-c|sun-cmd|Sun Microsystems Workstation console with scrollable history:\
986         :te=\E[>4h:ti=\E[>4l:tc=sun:
987 # The terminal mvterm is a full color terminal emulation that seems to be
988 # specific to a terminal program on Sun workstations called SwitchTerm. It
989 # is vt100 compatible with minor changes.
990 # Daniel Rudy <dcrudy@pacbell.net>
991 mvterm|vv100|mvterm emulator with ANSI colors:\
992         :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[100m:tc=vt102:
993 # For NeWS's psterm from Eric Messick & Hugh Daniel
994 psterm|psterm-basic|psterm-80x34:\
995         :am:bs:al=\EA:cd=\EB:ce=\EC:cl=^L:cm=\E%d;%d;:cs=\EE%d;%d;:\
996         :dc=\EF:dl=\EK:do=\EP:ei=\ENi:el=\ENl:fs=\ENl:\
997         :ho=\ER:hs:im=\EOi:is=\EN*:km:kd=\E[B:ku=\E[A:kr=\E[C:kl=\E[D:\
998         :mb=\EOb:md=\EOd:me=\EN*:mr=\EOr:nd=\EV:pt:rc=\034:rs=\EN*:sc=\035:\
999         :se=\ENo:sf=\EW:sl=\EOl:so=\EOo:sr=\EX:te=\ENt:ti=\EOt:ts=\EOl:\
1000         :ue=\ENu:le=\ET:ll=\EU:ul:up=\EY:us=\EOu:vb=\EZ:co#80:li#34:
1001 psterm-96x48:\
1002         :co#96:li#48:tc=psterm-basic:
1003 psterm-90x28:\
1004         :co#90:li#28:tc=psterm-basic:
1005 psterm-80x24:\
1006         :co#80:li#24:tc=psterm-basic:
1007 # This is a faster termcap for psterm.  Warning:  if you use this termcap,
1008 # some control characters you type will do strange things to the screen.
1009 psterm-fast:\
1010         :am:bs:al=^A:cd=^B:ce=^C:cl=^L:cm=^D%d;%d;:cs=^E%d;%d;:\
1011         :dc=^F:dl=^K:do=^P:ei=^Ni:el=^Nl:fs=^Nl:\
1012         :ho=^R:hs:im=^Oi:is=^N*:km:kd=\E[B:ku=\E[A:kr=\E[C:kl=\E[D:\
1013         :mb=^Ob:md=^Od:me=^N*:mr=^Or:nd=^V:pt:rc=\034:rs=^N*:sc=\035:\
1014         :se=^No:sf=^W:sl=^Ol:so=^Oo:sr=^X:te=^Nt:ti=^Ot:ts=^Ol:ue=^Nu:\
1015         :le=^T:ll=^U:ul:up=^Y:us=^Ou:vb=^Z:co#80:li#34:
1016 apollo:\
1017         :al=\EI:am:bs:cd=\EJ:ce=\EK:ch=\EN%d:cl=^L:cm=\EM%+ %d):\
1018         :cv=\EO+ :dc=\EP:dl=\EL:do=\EB:ei=\ER:im=\EQ:mi:nd=\EC:se=\ET:sf=\EE:\
1019         :so=\ES:sr=\ED:te=\EX:ti=\EW:ue=\EV:up=\EA:us=\EU:co#88:li#53:
1020 # Apollo termcaps from Gary Darland, goodmanc@garnet
1021 apollo_15P|apollo 15 inch display:\
1022         :dN@:tc=vt132:
1023 apollo_19L|apollo 19 inch display:\
1024         :dN@:tc=vt132:
1025 apollo_color|apollo color display:\
1026         :dN@:tc=vt132:
1027 virtual|VIRTUAL|cb unix virtual terminal:\
1028         :do=^J:co#80:li#24:am:cl=\E\112:le=^H:bs:cm=\E\107%r%.%.:nd=\E\103:\
1029         :up=\E\101:ce=\E\113:cd=\E\114:al=\E\120:dl=\E\116:ic=\E\117:\
1030         :da:db:kl=\E\104:kr=\E\103:ku=\E\101:kd=\E\102:kh=\E\105:\
1031         :so=\E\141\004:se=\E\142\004:us=\E\141\001:ue=\E\142\001:
1032 it2|intertube2|intertec data systems intertube 2:\
1033         :do=^J:am:bs:cl=^L:co#80:ho=^A:li#25:up=^Z:ce=\EK:\
1034         :cm=^N%+ %+ :ch=^P%\102%.:cv=^K%.:nd=^F:do=\n:ll=^K^X\r:\
1035         :so=\E0P:se=\E0@:
1036 delta|dd5000|delta data 5000:\
1037         :do=^J:am:le=^H:bs:cl=^NR:cm=^O%\068%+9%\068%+9:co#80:li#27:\
1038         :ho=^NQ:nc:nd=^Y:up=^Z:ce=^NU:dc=^NV:ma=^K^J^Z^P^Y :xr:
1039 mdl110|cybernex mdl-110:\
1040         :cm=^P%+ %+ :co#80:li#24:am:cl=70^X:le=^H:bs:do=^J:\
1041         :nd=^U:up=^Z:ho=^Y:ce=145^N@^V:cd=145^NA^W:al=65^NA^N^]:\
1042         :dl=40^NA^N^^:ic=3.5^NA^]:dc=3.5^NA^^:\
1043         :so=^NF:se=^NG:ta=43\t:ma=^Z^P:cd=6^N@^V:
1044 zen30|z30|zentec 30:\
1045         :do=^J:mi:co#80:li#24:ma=^L ^R^L^K^P:ul:\
1046         :al=1.5*\EE:le=^H:bs:ce=1.0*\ET:cm=\E=%+ %+ :cl=\E*:\
1047         :ho=^^:nd=^L:se=\EG0:so=\EG6:up=^K:im=\Eq:ei=\Er:\
1048         :am:dc=\EW:dl=1.5*\ER:cd=\EY:
1049 modgraph|mod|Modgraph terminal emulating vt100, 24x80:\
1050         :xn@:rf@:sr=5\EM\E[K:vs=\E\^9;0s\E\^7;1s:\
1051         :is=\E\^9;0s\E\^7;1s\E[3g\E\^11;9s\E\^11;17s\E\^11;25s\E\^11;33s\E\^11;41s\E\^11;49s\E\^11;57s\E\^11;65s\E\^11;73s\E\^11;81s\E\^11;89s:\
1052         :tc=vt100:
1053 # dmchat is like DM2500, but DOES need "all that padding" (jcm 1/31/82)
1054 # also, has a meta-key (MT)
1055 # from goldberger@su-csli.arpa
1056 dmchat|dmchat version of datamedia 2500:\
1057         :al=1*^P\n^X^]^X^]:\
1058         :MT:km:\
1059         :dl=2^P^Z^X^]:\
1060         :tc=dm2500:
1061 # originally from Carol Block at ear (cblock@ear); changed O's to 0's and
1062 # fixed :is \E from pcuser@garnet.berkeley.edu, 27 Feb 90
1063 mt70|m70|morrow mt70:\
1064         :is=\EG0\E"5:cl=^Z:cm=\E=%+ %+ :do=^J:ic=\EQ:\
1065         :dc=\EW:kl=\034L:kr=\034M:ku=\034J:kd=\034K:\
1066         :so=\EG4:se=\EG0:us=\EG1:ue=\EG0:vs=\E"2:ve=\E"5\E(:\
1067         :tc=adm31:
1068 # standard-issue France Telecom minitel terminal (made by Philips)
1069 m2-nam|minitel|minitel-2|minitel-2-nam|minitel 2|France Telecom Minitel:\
1070         :li#24:al=\E[L:dl=\E[M:ip=7:dc=\E[P:ei=\E[4l:im=\E[4h:xn:\
1071         :ho=\E[H:cl=\E[H\E[J:ug#0:sg#0:\
1072         :co#80:am@:bs:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\
1073         :as=\E(0:ae=\E(B:sf=^j:sr=\EM:is=\E[1;24r\E[24;1H:\
1074         :ce=\E[K:cd=\E[J:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:\
1075         :zd=\E[1m:zb=\E[5m:zc=lkmjqxtuwvn:\
1076         :ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:\
1077         :kh=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:pt:
1078 # from keith bostic (bostic@monet)
1079 #
1080 mod2|Modgraph GX-1000, set to 80x24, keypad not enabled:\
1081         :is=\E<\E\^5;2s\E\^7;1s\E[3g\E\^11;9s\E\^11;17s\E\^11;25s\E\^11;33s\E\^11;41s\E\^11;49s\E\^11;57s\E\^11;65s\E\^11;73s\E\^11;81s\E\^11;89s\E\^12;0s\E\^14;2s\E\^15;9s\E\^25;1s\E\^9;1s\E\^27;1:\
1082         :bs:cd=50\EJ:ce=3\EK:cl=50\EH\EJ:cm=5\EY%+ %+ :co#80:li#24:nd=2\EC:\
1083         :pt:sr=5\EI:up=2\EA:da:db:am:
1084 wsiris|iris40|iris emulating a 40 line visual 50 (approximately):\
1085         :am:bs:nc:pt:\
1086         :co#80:it#8:kn#3:li#40:\
1087         :al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=\Ev:cm=\EY%+ %+ :dl=\EM:\
1088         :do=\EB:ho=\EH:is=\E7B0\E7F7\E7C2\E7R3:k0=\E0:k1=\E1:\
1089         :k2=\E2:k3=\E3:k4=\E4:k5=\E5:k6=\E6:k7=\E7:k8=\E8:k9=\E9:\
1090         :kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:me=\E7F7:mh=\E7F2:nd=\EC:\
1091         :nl=\EB:se=\E0@:sf=^J:so=\E9P:sr=\EI:ta=^I:ue=\E7R3\E0@:\
1092         :up=\EA:us=\E7R2\E9P:vb=\E7F4\E7B1\013\E7F7\E7B0:ve=\E>:\
1093         :vs=\E;:
1094 # davis@unidata.ucar.edu
1095 iris-ansi|iris-ansi-net|IRIS emulating ANSI terminal:\
1096         :am:co#80:it#8:li#40:bl=^G:md=\E[1m:cl=\E[H\E[2J:\
1097         :ve=\E[9/y\E[12/y\E[=6l:cr=\r:LE=\E[%dD:\
1098         :le=\E[D:DO=\E[%dB:do=\n:RI=\E[%dC:\
1099         :nd=\E[C:cm=\E[%i%d;%dH:UP=\E[%dA:\
1100         :up=\E[A:vs=\E[10/y\E[=1h\E[=2l\E[=6h:\
1101         :DL=\E[%dM:dl=\E[M:cd=\E[J:ce=\E[K:cb=\E[1K:\
1102         :ho=\E[H:ta=\t:st=\EH:AL=\E[%dL:al=\E[L:\
1103         :sf=\ED:is=\E[?1l\E>\E[?7h\E[100g\E[0m\E7\E[r\E8:\
1104         :*4=\E[P:*7=\E[147q:#2=\E[143q:#4=\E[158q:\
1105         :%f=\E[210q:%i=\E[167q:!2=\E[218q:kb=\b:\
1106         :kB=\E[Z:kl=\E[D:kd=\E[B:kr=\E[C:\
1107         :ku=\E[A:kD=\177:@7=\E[146q:@8=\r:\
1108         :k1=\E[001q:k;=\EOQ:F1=\EOR:F2=\EOS:\
1109         :k2=\E[002q:k3=\E[003q:k4=\E[004q:k5=\E[005q:\
1110         :k6=\E[006q:k7=\E[007q:k8=\E[008q:k9=\EOP:\
1111         :kh=\E[H:kI=\E[139q:kN=\E[154q:kP=\E[150q:\
1112         :%9=\E[209q:kM=\E[146q:&7=\E[217q:nw=\EE:\
1113         :pk=\EP101;%d.y%s\E\\:rc=\E8:mr=\E[7m:\
1114         :sr=\EM:se=\E[m:ue=\E[m:sc=\E7:me=\E[m:\
1115         :so=\E[1;7m:us=\E[4m:ct=\E[3g:
1116\f# --------------------------------
1117 #
1118 # N: ANN ARBOR
1119 #
1120 # Needs function keys added.
1121 # Originally from Mike O'Brien@Rand and Howard Katseff at Bell Labs.
1122 # Highly modified 6/22 by Mike O'Brien.
1123 # split out into several for the various screen sizes by dave-yost@rand
1124 # Modifications made 3/82 by Mark Horton
1125 # Modified by Tom Quarles at UCB for greater efficiency and more diversity
1126 # status line moved to top of screen, vb removed 5/82
1127 #
1128 # assumes the following setup:
1129 #   A menu: 0000 1010  0001 0000
1130 #   B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
1131 #   C menu: 56   66   0    0    9600  0110 1100
1132 #   D menu: 0110 1001   1   0
1133 #
1134 #       Briefly, the settings are for the following modes:
1135 #          (values are for bit set/clear with * indicating our preference
1136 #           and the value used to test these termcaps)
1137 #       Note that many of these settings are irrelevant to the termcap
1138 #       and are just set to the default mode of the terminal as shipped
1139 #       by the factory.
1140 #
1141 # A menu: 0000 1010  0001 0000
1142 #       Block/underline cursor*
1143 #       blinking/nonblinking cursor*
1144 #       key click/no key click*
1145 #       bell/no bell at column 72*
1146 #
1147 #       key pad is cursor control*/key pad is numeric
1148 #       return and line feed/return for <cr> key *
1149 #       repeat after .5 sec*/no repeat
1150 #       repeat at 25/15 chars per sec. *
1151 #
1152 #       hold data until pause pressed/process data unless pause pressed*
1153 #       slow scroll/no slow scroll*
1154 #       Hold in area/don't hold in area*
1155 #       functions keys have default*/function keys disabled on powerup
1156 #
1157 #       show/don't show position of cursor during page transmit*
1158 #       unused
1159 #       unused
1160 #       unused
1161 #
1162 # B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
1163 #       Baud rate (9600*)
1164 #
1165 #       2 bits of parity - 00=odd,01=even*,10=space,11=mark
1166 #       1 stop bit*/2 stop bits
1167 #       parity error detection off*/on
1168 #
1169 #       keyboard local/on line*
1170 #       half/full duplex*
1171 #       disable/do not disable keyboard after data transmission*
1172 #
1173 #       transmit entire page/stop transmission at cursor*
1174 #       transfer/do not transfer protected characters*
1175 #       transmit all characters/transmit only selected characters*
1176 #       transmit all selected areas/transmit only 1 selected area*
1177 #
1178 #       transmit/do not transmit line separators to host*
1179 #       transmit/do not transmit page tab stops tabs to host*
1180 #       transmit/do not transmit column tab stop tabs to host*
1181 #       transmit/do not transmit graphics control (underline,inverse..)*
1182 #
1183 #       enable*/disable auto XON/XOFF control
1184 #       require/do not require receipt of a DC1 from host after each LF*
1185 #       pause key acts as a meta key/pause key is pause*
1186 #       unused
1187 #
1188 #       unused
1189 #       unused
1190 #       unused
1191 #       unused
1192 #
1193 #       XON character (17*)
1194 #       XOFF character (19*)
1195 #
1196 # C menu: 56   66   0    0    9600  0110 1100
1197 #       number of lines to print data on (printer) (56*)
1198 #
1199 #       number of lines on a sheet of paper (printer) (66*)
1200 #
1201 #       left margin (printer) (0*)
1202 #
1203 #       number of pad chars on new line to printer (0*)
1204 #
1205 #       printer baud rate (9600*)
1206 #
1207 #       printer parity: 00=odd,01=even*,10=space,11=mark
1208 #       printer stop bits: 2*/1
1209 #       print/do not print guarded areas*
1210 #
1211 #       new line is: 01=LF,10=CR,11=CRLF*
1212 #       unused
1213 #       unused
1214 #
1215 # D menu: 0110 1001   1   0
1216 #       LF is newline/LF is down one line, same column*
1217 #       wrap to preceding line if move left from col 1*/don't wrap
1218 #       wrap to next line if move right from col 80*/don't wrap
1219 #       backspace is/is not destructive*
1220 #
1221 #       display*/ignore DEL character
1222 #       display will not/will scroll*
1223 #       page/column tab stops*
1224 #       erase everything*/erase unprotected only
1225 #
1226 #       editing extent: 0=display,1=line*,2=field,3=area
1227 #
1228 #       unused
1229 #
1230 aaa-unk|ann arbor ambassador (internal - don't use this directly):\
1231         :do=^J:al=3\E[L:am:le=^H:bs:\
1232         :cd=\E[J:ce=5\E[K:cl=156\E[H\E[J:cm=\E[%i%d;%dH:co#80:\
1233         :dc=4\E[P:dl=3\E[M:ho=\E[H:ic=4\E[@:\
1234         :md=\E[1m:mr=\E[7m:mb=\E[5m:mk=\E[8m:me=\E[m:\
1235         :ku=\EM:kd=\ED:kl=\E[D:kr=\E[C:kh=\E[H:ko=cl,dc,dl,ce,cd:\
1236         :ks=\EP`?z~[H~[[J`>z~[[J`8xz~[M`4xz~[[D`6xz~[[C`2xz~[D\E\\:\
1237         :ke=\EP`?y~[H~[[J`>y~[[2J`8xy~[M`4xy~[[D`6xy~[[C`2xy~[D\E\\:\
1238         :ch=\E[%i%d`:pt:bw:bt=\E[Z:\
1239         :mi:nd=\E[C:se=\E[m:so=\E[7m:ue=\E[m:us=\E[4m:up=\EM:
1240 aaa-18|ann arbor ambassador/18 lines:\
1241         :ti=\E[2J\E[18;0;0;18p:te=\E[60;0;0;18p\E[18;1H\E[J:\
1242         :is=\EP`+x~M\E\\\E[m\E7\E[60;0;0;18p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1243         :li#18:tc=aaa-unk:
1244 aaa-20|ann arbor ambassador/20 lines:\
1245         :ti=\E[2J\E[20;0;0;20p:te=\E[60;0;0;20p\E[20;1H\E[J:\
1246         :is=\EP`+x~M\E\\\E[m\E7\E[60;0;0;20p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1247         :li#20:tc=aaa-unk:
1248 aaa-22|ann arbor ambassador/22 lines:\
1249         :ti=\E[2J\E[22;0;0;22p:te=\E[60;0;0;22p\E[22;1H\E[J:\
1250         :is=\EP`+x~M\E\\\E[m\E7\E[60;0;0;22p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1251         :li#22:tc=aaa-unk:
1252 aaa-24|ann arbor ambassador/24 lines:\
1253         :ti=\E[2J\E[24;0;0;24p:te=\E[60;0;0;24p\E[24;1H\E[J:\
1254         :is=\EP`+x~M\E\\\E[m\E7\E[60;0;0;24p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1255         :li#24:tc=aaa-unk:
1256 aaa-26|ann arbor ambassador/26 lines:\
1257         :ti=\E[2J\E[26;0;0;26p:te=\E[60;0;0;26p\E[26;1H\E[J:\
1258         :is=\EP`+x~M\E\\\E[m\E7\E[60;0;0;26p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1259         :li#26:tc=aaa-unk:
1260 aaa-28|ann arbor ambassador/28 lines:\
1261         :ti=\E[2J\E[28;0;0;28p:te=\E[60;0;0;28p\E[28;1H\E[J:\
1262         :is=\EP`+x~M\E\\\E[m\E7\E[60;0;0;28p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1263         :li#28:tc=aaa-unk:
1264 aaa|aaa-30|ambas|ambassador|ann arbor ambassador/30 lines:\
1265         :ti=\E[2J\E[30;0;0;30p:te=\E[60;0;0;30p\E[30;1H\E[J:\
1266         :is=\EP`+x~M\E\\\E[m\E7\E[60;0;0;30p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1267         :li#30:tc=aaa-unk:
1268 aaa-36|ann arbor ambassador/36 lines:\
1269         :ti=\E[2J\E[36;0;0;36p:te=\E[60;0;0;36p\E[36;1H\E[J:\
1270         :is=\EP`+x~M\E\\\E[m\E7\E[60;0;0;36p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1271         :li#36:tc=aaa-unk:
1272 aaa-40|ann arbor ambassador/40 lines:\
1273         :ti=\E[2J\E[40;0;0;40p:te=\E[60;0;0;40p\E[40;1H\E[J:\
1274         :is=\EP`+x~M\E\\\E[m\E7\E[60;0;0;40p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1275         :li#40:tc=aaa-unk:
1276 aaa-48|ann arbor ambassador/48 lines:\
1277         :ti=\E[2J\E[48;0;0;48p:te=\E[60;0;0;48p\E[48;1H\E[J:\
1278         :is=\EP`+x~M\E\\\E[m\E7\E[60;0;0;48p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1279         :li#48:tc=aaa-unk:
1280 aaa-60|ann arbor ambassador/60 lines:\
1281         :ti=\E[2J\E[60;0;0;60p:te=\E[60;0;0;60p\E[60;1H\E[J:\
1282         :is=\EP`+x~M\E\\\E[m\E7\E[60;0;0;60p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1283         :li#60:tc=aaa-unk:
1284 aaa-unk-s|ann arbor ambassador unknown with/status:\
1285         :es:hs:i2=\E7\E[>51h\E[H\E[2K\E[>51l\E8:\
1286         :ts=\E7\E[>51h\E[H\E[2K\E[%i%d`:fs=\E[>51l\E8:\
1287         :ds=\E7\E[>51h\E[H\E[2K\E[>51l\E8:\
1288         :tc=aaa-unk:
1289 aaa-18-s|ann arbor ambassador/18 lines + status line:\
1290         :ti=\E[2J\E[18;1;0;18p:\
1291         :te=\E[60;1;0;18p\E[17;1H\E[J:\
1292         :is=\EP`+x~M\E\\\E[m\E7\E[60;1;0;18p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1293         :li#17:tc=aaa-unk-s:
1294 aaa-20-s|ann arbor ambassador/20 lines + status line:\
1295         :ti=\E[2J\E[20;1;0;20p:\
1296         :te=\E[60;1;0;20p\E[19;1H\E[J:\
1297         :is=\EP`+x~M\E\\\E[m\E7\E[60;1;0;20p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1298         :li#19:tc=aaa-unk-s:
1299 aaa-22-s|ann arbor ambassador/22 lines + status line:\
1300         :ti=\E[2J\E[22;1;0;22p:\
1301         :te=\E[60;1;0;22p\E[21;1H\E[J:\
1302         :is=\EP`+x~M\E\\\E[m\E7\E[60;1;0;22p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1303         :li#21:tc=aaa-unk-s:
1304 aaa-24-s|ann arbor ambassador/24 lines + status line:\
1305         :ti=\E[2J\E[24;1;0;24p:\
1306         :te=\E[60;1;0;24p\E[23;1H\E[J:\
1307         :is=\EP`+x~M\E\\\E[m\E7\E[60;1;0;24p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1308         :li#23:tc=aaa-unk-s:
1309 aaa-26-s|ann arbor ambassador/26 lines + status line:\
1310         :ti=\E[2J\E[26;1;0;26p:\
1311         :te=\E[60;1;0;26p\E[25;1H\E[J:\
1312         :is=\EP`+x~M\E\\\E[m\E7\E[60;1;0;26p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1313         :li#25:tc=aaa-unk-s:
1314 aaa-28-s|ann arbor ambassador/28 lines + status line:\
1315         :ti=\E[2J\E[28;1;0;28p:\
1316         :te=\E[60;1;0;28p\E[27;1H\E[J:\
1317         :is=\EP`+x~M\E\\\E[m\E7\E[60;1;0;28p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1318         :li#27:tc=aaa-unk-s:
1319 aaa-30-s|ann arbor ambassador/30 lines + status line:\
1320         :ti=\E[2J\E[30;1;0;30p:\
1321         :te=\E[60;1;0;30p\E[29;1H\E[J:\
1322         :is=\EP`+x~M\E\\\E[m\E7\E[60;1;0;30p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1323         :li#29:tc=aaa-unk-s:
1324 aaa-36-s|ann arbor ambassador/36 lines + status line:\
1325         :ti=\E[2J\E[36;1;0;36p:\
1326         :te=\E[60;1;0;36p\E[35;1H\E[J:\
1327         :is=\EP`+x~M\E\\\E[m\E7\E[60;1;0;36p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1328         :li#35:tc=aaa-unk-s:
1329 aaa-40-s|ann arbor ambassador/40 lines + status line:\
1330         :ti=\E[2J\E[40;1;0;40p:\
1331         :te=\E[60;1;0;40p\E[39;1H\E[J:\
1332         :is=\EP`+x~M\E\\\E[m\E7\E[60;1;0;40p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1333         :li#39:tc=aaa-unk-s:
1334 aaa-48-s|ann arbor ambassador/48 lines+sl:\
1335         :ti=\E[2J\E[48;1;0;48p:te=\E[60;1;0;48p\E[47;1H\E[J:\
1336         :is=\EP`+x~M\E\\\E[m\EP`?y~[[2J~[[H\E7\E[60;1;0;48p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1337         :li#47:tc=aaa-unk-s:
1338 aaa-60-s|ann arbor ambassador/60 lines + status line:\
1339         :ti=\E[2J\E[60;1;0;60p:te=\E[60;1;0;60p\E[59;1H\E[J:\
1340         :is=\EP`+x~M\E\\\E[m\E7\E[60;1;0;60p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1341         :li#59:tc=aaa-unk-s:
1342 aaa-18-rv|ambassador/18 lines+rv:\
1343         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1344         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1345         :is=\EP`+x~M\E\\\E[7m\E7\E[60;0;0;18p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1346         :tc=aaa-18:
1347 aaa-20-rv|ambassador/20 lines+rv:\
1348         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1349         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1350         :is=\EP`+x~M\E\\\E[7m\E7\E[60;0;0;20p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1351         :tc=aaa-20:
1352 aaa-22-rv|ambassador/22 lines+rv:\
1353         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1354         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1355         :is=\EP`+x~M\E\\\E[7m\E7\E[60;0;0;22p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1356         :tc=aaa-22:
1357 aaa-24-rv|ambassador/24 lines+rv:\
1358         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1359         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1360         :is=\EP`+x~M\E\\\E[7m\E7\E[60;0;0;24p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1361         :tc=aaa-24:
1362 aaa-26-rv|ambassador/26 lines+rv:\
1363         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1364         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1365         :is=\EP`+x~M\E\\\E[7m\E7\E[60;0;0;26p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1366         :tc=aaa-26:
1367 aaa-28-rv|ambassador/28 lines+rv:\
1368         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1369         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1370         :is=\EP`+x~M\E\\\E[7m\E7\E[60;0;0;28p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1371         :tc=aaa-28:
1372 aaa-30-rv|ann arbor ambassador/30 lines in reverse video:\
1373         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1374         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1375         :is=\EP`+x~M\E\\\E[7m\E7\E[60;0;0;30p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1376         :tc=aaa-30:
1377 aaa-36-rv|ann arbor ambassador/36 lines in reverse video:\
1378         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1379         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1380         :is=\EP`+x~M\E\\\E[7m\E7\E[60;0;0;36p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1381         :tc=aaa-36:
1382 aaa-40-rv|ann arbor ambassador/40 lines in reverse video:\
1383         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1384         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1385         :is=\EP`+x~M\E\\\E[7m\E7\E[60;0;0;40p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1386         :tc=aaa-40:
1387 aaa-48-rv|ann arbor ambassador/48 lines in reverse video:\
1388         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1389         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1390         :is=\EP`+x~M\E\\\E[7m\E7\E[60;0;0;48p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1391         :tc=aaa-48:
1392 aaa-60-rv|ann arbor ambassador/60 lines in reverse video:\
1393         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1394         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1395         :is=\EP`+x~M\E\\\E[7m\E7\E[60;0;0;60p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1396         :tc=aaa-60:
1397 aaa-18-rv-s|aaa-18-s-rv|ambassador/18 lines+sl+rv:\
1398         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1399         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1400         :ti=\E[2J\E[18;1;0;18p:te=\E[60;1;0;18p\E[17;1H\E[J:li#17:\
1401         :is=\EP`+x~M\E\\\E[7m\E7\E[60;1;0;18p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1402         :tc=aaa-unk-s:
1403 aaa-20-rv-s|aaa-20-s-rv|ambassador/20 lines+sl+rv:\
1404         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1405         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1406         :ti=\E[2J\E[20;1;0;20p:te=\E[60;1;0;20p\E[19;1H\E[J:li#19:\
1407         :is=\EP`+x~M\E\\\E[7m\E7\E[60;1;0;20p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1408         :tc=aaa-unk-s:
1409 aaa-22-rv-s|aaa-22-s-rv|ambassador/22 lines+sl+rv:\
1410         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1411         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1412         :ti=\E[2J\E[22;1;0;22p:te=\E[60;1;0;22p\E[21;1H\E[J:li#21:\
1413         :is=\EP`+x~M\E\\\E[7m\E7\E[60;1;0;22p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1414         :tc=aaa-unk-s:
1415 aaa-24-rv-s|aaa-24-s-rv|ambassador/24 lines+sl+rv:\
1416         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1417         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1418         :ti=\E[2J\E[24;1;0;24p:te=\E[60;1;0;24p\E[23;1H\E[J:li#23:\
1419         :is=\EP`+x~M\E\\\E[7m\E7\E[60;1;0;24p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1420         :tc=aaa-unk-s:
1421 aaa-26-rv-s|aaa-26-s-rv|ambassador/26 lines+sl+rv:\
1422         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1423         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1424         :ti=\E[2J\E[26;1;0;26p:te=\E[60;1;0;26p\E[25;1H\E[J:li#25:\
1425         :is=\EP`+x~M\E\\\E[7m\E7\E[60;1;0;26p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1426         :tc=aaa-unk-s:
1427 aaa-28-rv-s|aaa-28-s-rv|ambassador/28 lines+sl+rv:\
1428         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1429         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1430         :ti=\E[2J\E[28;1;0;28p:te=\E[60;1;0;28p\E[27;1H\E[J:li#27:\
1431         :is=\EP`+x~M\E\\\E[7m\E7\E[60;1;0;28p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1432         :tc=aaa-unk-s:
1433 aaa-rv|aaa-30-rv-s|aaa-30-s-rv|ambassador/30 lines+sl+rv:\
1434         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1435         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1436         :ti=\E[2J\E[30;1;0;30p:te=\E[60;1;0;30p\E[29;1H\E[J:li#29:\
1437         :is=\EP`+x~M\E\\\E[7m\E7\E[60;1;0;30p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1438         :tc=aaa-unk-s:
1439 aaa-36-rv-s|aaa-36-s-rv|ambassador/36 lines+sl+rv:\
1440         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1441         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1442         :ti=\E[2J\E[36;1;0;36p:te=\E[60;1;0;36p\E[35;1H\E[J:li#35:\
1443         :is=\EP`+x~M\E\\\E[7m\E7\E[60;1;0;36p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1444         :tc=aaa-unk-s:
1445 aaa-40-rv-s|aaa-40-s-rv|ambassador/40 lines+sl+rv:\
1446         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1447         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1448         :ti=\E[2J\E[40;1;0;40p:te=\E[60;1;0;40p\E[39;1H\E[J:li#39:\
1449         :is=\EP`+x~M\E\\\E[7m\E7\E[60;1;0;40p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1450         :tc=aaa-unk-s:
1451 aaa-48-rv-s|aaa-48-s-rv|ambassador/48 lines+sl+rv:\
1452         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1453         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1454         :ti=\E[2J\E[48;1;0;48p:te=\E[60;1;0;48p\E[47;1H\E[J:li#47:\
1455         :is=\EP`+x~M\E\\\E[7m\E7\E[60;1;0;48p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1456         :tc=aaa-unk-s:
1457 aaa-60-rv-s|aaa-60-s-rv|ambassador/60 lines+sl+rv:\
1458         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1459         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1460         :ti=\E[2J\E[60;1;0;60p:te=\E[60;1;0;60p\E[59;1H\E[J:li#59:\
1461         :is=\EP`+x~M\E\\\E[7m\E7\E[60;1;0;60p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1462         :tc=aaa-unk-s:
1463 aaa-24-ctxt:\
1464         :ti=\E[30;1H\E[K\E[24;0;0;24p:te=\E[60;1;0;24p\E[60;1H\E[K:tc=aaa-24:
1465 aaa-24-rv-ctxt|ambassador/24+rv:\
1466         :ti=\E[30;1H\E[K\E[24;0;0;24p:te=\E[60;1;0;24p\E[60;1H\E[K:tc=aaa-24-rv:
1467 aaa-s-ctxt|aaa-30-s-ctxt|hairy aaa:\
1468         :ti=\E[30;1H\E[K\E[30;1;0;30p:te=\E[60;1;0;30p\E[59;1H\E[K:tc=aaa-30-s:
1469 aaa-s-rv-ctxt|aaa-30-s-rv-ctxt:\
1470         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1471         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1472         :is=\EP`+x~M\E\\\E[7m\E7\E[60;1;0;30p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1473         :ti=\E[30;1H\E[K\E[30;1;0;30p:te=\E[60;1;0;30p\E[59;1H\E[K:\
1474         :li#29:tc=aaa-unk-s:
1475 aaa-ctxt|aaa-30-ctxt:\
1476         :ti=\E[30;0;0;30p:te=\E[60;0;0;30p\E[60;1H\E[K:tc=aaa-30:
1477 aaa-rv-ctxt|aaa-30-rv-ctxt:\
1478         :ti=\E[30;0;0;30p:te=\E[60;0;0;30p\E[60;1H\E[K:\
1479         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1480         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1481         :is=\EP`+x~M\E\\\E[7m\E7\E[60;0;0;30p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1482         :li#30:tc=aaa-unk:
1483 aaa-db|ann arbor ambassador 30/destructive backspace:\
1484         :ti=\E[H\E[J\E[30;0;0;30p:te=\E7\E[60;0;0;30p\E8:li#30:\
1485         :is=\E[60;0;0;30p\E[H\E[J\E[1Q\E[m\E[20l\E[>30h:le=\E[D:bc=\E[D:bs@:\
1486         :tc=aaa-unk:
1487 annarbor|4080|ann arbor 4080:\
1488         :do=^J:pt:ct=^\^P^P:st=^]^P1:cm=^O%r%\066%.%>^S^L%+@:\
1489         :co#80:li#40:le=^H:bs:cl=2^L:up=^N:nd=^_:ho=^K:am:\
1490         :kb=^^:kd=^J:ku=^N:kl=^H:kr=^_:kh=^K:ma=^_ ^N^P:
1491\f# --------------------------------
1492 #
1493 # P: PC entries for use with kermit
1494 #
1495 # greg small (gts@populi)
1496 #
1497 # Cannot use :pt:, it does not work (why?).  :ho: seems required (why?). [gts]
1498 # Caution: 4.3 BSD tset does not pass li#25 to stty rows except during login?
1499 # :cl: clears attributes and sets wrap at margin before clearing the screen.
1500 ansi.sys|ansisys|PC-DOS 3.1 ANSI.SYS:\
1501         :am:bs:ce=\E[K:cl=\E[m\E[7h\E[2J:cm=\E[%i%d;%dH:co#80:\
1502         :ku=^K:kd=^J:kl=^H:kr=^L:kh=^^:ma=^Hh\012j^Kk^Ll^^H:\
1503         :ho=\E[H:li#25:nd=\E[C:up=\E[A:\
1504         :ms:md=\E[1m:me=\E[m:mr=\E[7m:se=\E[m:so=\E[1m:ue=\E[m:us=\E[4m:\
1505         :is=U1 PC-DOS 3.1 ANSI.SYS 9-23-86\n\E[m\E[7h:
1506 #
1507 # Define IBM PC keypad keys for vi as per MS-Kermit while using ANSI.SYS.
1508 # This should only be used when the terminal emulator cannot redefine the keys.
1509 # Since redefining keys with ansi.sys also affects PC-DOS programs, the key
1510 # definitions must be restored.  If the terminal emulator is quit while in vi
1511 # or others using :ks:ke:, the keypad keys will not be defined as per PC-DOS.
1512 # The PgUp and PgDn are prefixed with ESC so that tn3270 can be used on Unix
1513 # (^U and ^D are already defined for tn3270).  The ESC is safe for vi but it
1514 # does "beep".  ESC ESC i is used for Ins to avoid tn3270 ESC i for coltab.
1515 # Left arrow is always BS, because PC-dos can tolerate this change.
1516 # Caution: vi is limited to 256 string bytes, longer crashes or weirds vi.
1517 # Consequently the End keypad key could not be set (it is relatively safe and
1518 # actually useful because it sends ^@ O, which beeps and opens a line above).
1519 ansi.sysk|ansisysk|PC-DOS 3.1 ANSI.SYS with keypad redefined for vi:\
1520         :ks=\E[;71;30p\E[;72;11p\E[;73;27;21p\E[;77;12p\E[;80;10p\E[;81;27;4p\E[;82;27;27;105p\E[;83;127p:\
1521         :ke=\E[;71;0;71p\E[;72;0;72p\E[;73;0;73p\E[;77;0;77p\E[;80;0;80p\E[;81;0;81p\E[;82;0;82p\E[;83;0;83p:\
1522         :is=U2 PC-DOS 3.1 ANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p:\
1523         :tc=ansi.sys:
1524 #
1525 # Adds ins/del line/character, hence vi reverse scrolls/inserts/deletes nicer.
1526 nansi.sys|nansisys|PC-DOS Public Domain NANSI.SYS:\
1527         :al=\E[1L:dl=\E[1M:ic=\E[1@:dc=\E[1P:\
1528         :is=U3 PC-DOS Public Domain NANSI.SYS 9-23-86\n:\
1529         :tc=ansi.sys:
1530 #
1531 # See U2 ansi.sysk and U3 nansi.sys above.
1532 nansi.sysk|nansisysk|PC-DOS Public Domain NANSI.SYS with keypad redefined for vi:\
1533         :al=\E[1L:dl=\E[1M:ic=\E[1@:dc=\E[1P:\
1534         :is=U4 PC-DOS Public Domain NANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p:\
1535         :tc=ansi.sysk:
1536 #       Hellmuth Michaelis <hm@FreeBSD.org>
1537 #       pcvt vt220 terminal emulator console (pc keyboard & monitor)
1538 #       termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
1539 #       50 lines entries
1540 #       80 columns
1541 #---------------------------------------------------------------------------
1542 pcvt25|dec vt220 with 25 lines:\
1543         :li#25:\
1544         :co#80:\
1545         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;25r\E[25;1H:\
1546         :tc=pcvtXX:
1547
1548 pcvt28|dec vt220 with 28 lines:\
1549         :li#28:\
1550         :co#80:\
1551         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;28r\E[28;1H:\
1552         :tc=pcvtXX:
1553
1554 pcvt35|dec vt220 with 35 lines:\
1555         :li#35:\
1556         :co#80:\
1557         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;35r\E[35;1H:\
1558         :tc=pcvtXX:
1559
1560 pcvt40|dec vt220 with 40 lines:\
1561         :li#40:\
1562         :co#80:\
1563         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;40r\E[40;1H:\
1564         :tc=pcvtXX:
1565
1566 pcvt43|dec vt220 with 43 lines:\
1567         :li#43:\
1568         :co#80:\
1569         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;43r\E[43;1H:\
1570         :tc=pcvtXX:
1571
1572 pcvt50|dec vt220 with 50 lines:\
1573         :li#50:\
1574         :co#80:\
1575         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;50r\E[50;1H:\
1576         :tc=pcvtXX:
1577 #       termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
1578 #       50 lines entries
1579 #       132 columns
1580 pcvt25w|dec vt220 with 25 lines and 132 cols:\
1581         :li#25:\
1582         :co#132:\
1583         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;25r\E[25;1H:\
1584         :tc=pcvtXX:
1585
1586 pcvt28w|dec vt220 with 28 lines and 132 cols:\
1587         :li#28:\
1588         :co#132:\
1589         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;28r\E[28;1H:\
1590         :tc=pcvtXX:
1591
1592 pcvt35w|dec vt220 with 35 lines and 132 cols:\
1593         :li#35:\
1594         :co#132:\
1595         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;35r\E[35;1H:\
1596         :tc=pcvtXX:
1597
1598 pcvt40w|dec vt220 with 40 lines and 132 cols:\
1599         :li#40:\
1600         :co#132:\
1601         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;40r\E[40;1H:\
1602         :tc=pcvtXX:
1603
1604 pcvt43w|dec vt220 with 43 lines and 132 cols:\
1605         :li#43:\
1606         :co#132:\
1607         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;43r\E[43;1H:\
1608         :tc=pcvtXX:
1609
1610 pcvt50w|dec vt220 with 50 lines and 132 cols:\
1611         :li#50:\
1612         :co#132:\
1613         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;50r\E[50;1H:\
1614         :tc=pcvtXX:
1615 #       termcap entries for HP-Emulation and 25, 28, 35, 40, 43 and 50
1616 #       lines entries. note that the HP-Emulation uses the bottom 3 lines
1617 #       for status and function key labels, so we get always 3 lines less.
1618 #       "Xs" is a nonstandard, private flag indicating HP-like fkey labels
1619 #       80 column entries
1620 pcvt22h|dec vt220 with HP-fkey labels and 22 lines:\
1621         :li#22:\
1622         :co#80:\
1623         :Xs:\
1624         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;22r\E[22;1H:\
1625         :tc=pcvtXX:
1626
1627 pcvt25h|dec vt220 with HP-fkey labels and 25 lines:\
1628         :li#25:\
1629         :co#80:\
1630         :Xs:\
1631         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;25r\E[25;1H:\
1632         :tc=pcvtXX:
1633
1634 pcvt32h|dec vt220 with HP-fkey labels and 32 lines:\
1635         :li#32:\
1636         :co#80:\
1637         :Xs:\
1638         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;32r\E[32;1H:\
1639         :tc=pcvtXX:
1640
1641 pcvt37h|dec vt220 with HP-fkey labels and 37 lines:\
1642         :li#37:\
1643         :co#80:\
1644         :Xs:\
1645         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;37r\E[37;1H:\
1646         :tc=pcvtXX:
1647
1648 pcvt40h|dec vt220 with HP-fkey labels and 40 lines:\
1649         :li#40:\
1650         :co#80:\
1651         :Xs:\
1652         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;40r\E[40;1H:\
1653         :tc=pcvtXX:
1654
1655 pcvt47h|dec vt220 with HP-fkey labels and 47 lines:\
1656         :li#47:\
1657         :co#80:\
1658         :Xs:\
1659         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;47r\E[47;1H:\
1660         :tc=pcvtXX:
1661 #       termcap entries for HP-Emulation and 25, 28, 35, 40, 43 and 50
1662 #       lines entries. note that the HP-Emulation uses the bottom 3 lines
1663 #       for status and function key labels, so we get always 3 lines less.
1664 #       "Xs" is a nonstandard, private flag indicating HP-like fkey labels
1665 #       132 column entries
1666 pcvt22hw|dec vt220 with HP-fkey labels, 22 lines and 132 cols:\
1667         :li#22:\
1668         :co#132:\
1669         :Xs:\
1670         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;22r\E[22;1H:\
1671         :tc=pcvtXX:
1672
1673 pcvt25hw|dec vt220 with HP-fkey labels, 25 lines and 132 cols:\
1674         :li#25:\
1675         :co#132:\
1676         :Xs:\
1677         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;25r\E[25;1H:\
1678         :tc=pcvtXX:
1679
1680 pcvt32hw|dec vt220 with HP-fkey labels, 32 lines and 132 cols:\
1681         :li#32:\
1682         :co#132:\
1683         :Xs:\
1684         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;32r\E[32;1H:\
1685         :tc=pcvtXX:
1686
1687 pcvt37hw|dec vt220 with HP-fkey labels, 37 lines and 132 cols:\
1688         :li#37:\
1689         :co#132:\
1690         :Xs:\
1691         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;37r\E[37;1H:\
1692         :tc=pcvtXX:
1693
1694 pcvt40hw|dec vt220 with HP-fkey labels, 40 lines and 132 cols:\
1695         :li#40:\
1696         :co#132:\
1697         :Xs:\
1698         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;40r\E[40;1H:\
1699         :tc=pcvtXX:
1700
1701 pcvt47hw|dec vt220 with HP-fkey labels, 47 lines and 132 cols:\
1702         :li#47:\
1703         :co#132:\
1704         :Xs:\
1705         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;47r\E[47;1H:\
1706         :tc=pcvtXX:
1707 #       main entry, without "is" and "li" capabilities
1708 pcvtXX|pcvt vt200 emulator (DEC VT220):\
1709         :AL=\E[%dL:\
1710         :DC=\E[%dP:\
1711         :DL=\E[%dM:\
1712         :DO=\E[%dB:\
1713         :IC=\E[%d@:\
1714         :LE=\E[%dD:\
1715         :RI=\E[%dC:\
1716         :SF=\E[%dS:\
1717         :SR=\E[%dT:\
1718         :UP=\E[%dA:\
1719         :ac=llmmkkjjuuttvvwwqqxxnnpprr``aa:\
1720         :ae=^O:\
1721         :al=\E[L:\
1722         :am:\
1723         :as=^N:\
1724         :bl=^G:\
1725         :bs:\
1726         :cb=\E[1K:\
1727         :cd=\E[J:\
1728         :ce=\E[K:\
1729         :cl=\E[H\E[J:\
1730         :cm=\E[%i%d;%dH:\
1731         :cr=^M:\
1732         :cs=\E[%i%d;%dr:\
1733         :ct=\E[3g:\
1734         :dc=\E[P:\
1735         :dl=\E[M:\
1736         :do=^J:\
1737         :eA=\E)0:\
1738         :ei=\E[4l:\
1739         :ho=\E[H:\
1740         :im=\E[4h:\
1741         :it#8:\
1742         :k1=\E[17~:\
1743         :k2=\E[18~:\
1744         :k3=\E[19~:\
1745         :k4=\E[20~:\
1746         :k5=\E[21~:\
1747         :k6=\E[23~:\
1748         :k7=\E[24~:\
1749         :k8=\E[25~:\
1750         :kD=\E[3~:\
1751         :kH=\E[4~:\
1752         :kI=\E[2~:\
1753         :kN=\E[6~:\
1754         :kP=\E[5~:\
1755         :kb=\177:\
1756         :kd=\EOB:\
1757         :ke=\E[?1l\E>:\
1758         :kh=\E[1~:\
1759         :kl=\EOD:\
1760         :km:\
1761         :kr=\EOC:\
1762         :ks=\E[?1h\E=:\
1763         :ku=\EOA:\
1764         :le=^H:\
1765         :mb=\E[5m:\
1766         :md=\E[1m:\
1767         :me=\E[m:\
1768         :mi:\
1769         :mr=\E[7m:\
1770         :ms:\
1771         :nd=\E[C:\
1772         :pb#16000000:\
1773         :pt:\
1774         :rc=\E8:\
1775         :rf=/usr/share/tabset/vt100:\
1776         :rs=\Ec\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
1777         :sc=\E7:\
1778         :se=\E[27m:\
1779         :sf=\ED:\
1780         :so=\E[7m:\
1781         :sr=\EM:\
1782         :st=\EH:\
1783         :ue=\E[24m:\
1784         :up=\E[A:\
1785         :us=\E[4m:\
1786         :vt#3:\
1787         :xn:
1788
1789\f# --------------------------------
1790 #
1791 # T: TELETYPE
1792 #
1793 # We need descriptions for the model 40.  There are known to be at least three
1794 # flavors of the 40, both seem more like IBM half duplex forms fillers than
1795 # ASCII terminals.  They have lots of awful braindamage, such as printing
1796 # a visible newline indicator after each newline.  The 40-1 is a half duplex
1797 # terminal and is hopeless.  The 40-2 is braindamaged but has hope and is
1798 # described here.  The 40-4 is a 3270 lookalike and beyond hope.
1799 # The terminal has visible bell but I don't know it - it's
1800 # null here to prevent it from showing the BL character.
1801 # There is an \EG in nl because of a bug in vi (if stty says you have
1802 # a "newline" style terminal (-crmode) vi figures all it needs is nl
1803 # to get crlf, even if cr is not ^M.)
1804 40|tty40|ds40|ds40/2|ds40-2|dataspeed40|teletype dataspeed 40/2:\
1805         :cl=160\ER:cd=160\EJ:al=160\EL:dl=160\EM:dc=50\EP:ic=50\E\^:\
1806         :nd=\EC:up=\E7:bs:cr=\EG:nl=\EG\EB:do=\EB:co#80:li#24:vb=:\
1807         :so=\E3:se=\E4:
1808 33|tty33|tty|model 33 teletype:\
1809         :do=^J:co#72:hc:os:
1810 43|tty43|model 43 teletype:\
1811         :do=^J:kb=^h:am:le=^H:bs:hc:os:co#132:
1812 37|tty37|model 37 teletype:\
1813         :do=^J:le=^H:bs:hc:hu=\E8:hd=\E9:up=\E7:os:
1814 # From jwb Wed Mar 31 13:25:09 1982 remote from ihuxp
1815 # This entry appears to avoid the top line - I have no idea why.
1816 4424|tty4424|teletype 4424M:\
1817         :al=\EL:da:db:ip=2:ic=\E\^:dc=\EP:dl=\EM:\
1818         :co#80:li#23:am:cl=\E[2;H\E[J:bs:cm=\E[%i%2;%2H\E[B:\
1819         :nd=\E[C:up=\E[A:pt:mi:sr=\ET:\
1820         :ce=\E[K:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:\
1821         :is=\E[m\E[2;24r:\
1822         :kd=\E[B:kl=\E[D:ku=\E[A:kr=\E[C:\
1823         :kh=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:
1824 # Teletype blit.
1825 dmd|5620|ttydmd|tty5620|5620    terminal 88 columns:\
1826         :co#88:li#70:am:bs:pt:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\
1827         :cl=\E[H\E[J:cd=\E[J:ce=\E[K:al=\E[L:dl=\E[M:do=^J:\
1828         :ic=\E[@:dc=\E[P:sr=\E[T:sf=\E[S:le=^H:kb=^H:\
1829         :kl=\E[D:kr=\E[C:ku=\E[A:kd=\E[B:kh=\E[H:ho=\E[H:ll=\E[70;1H:\
1830         :AL=\E[%dL:DL=\E[%dM:IC=\E[%d@:DC=\E[%dP:rc=\E8:rs=\Ec:sc=\E7:\
1831         :so=\E[7m:se=\E[0m:us=\E[4m:ue=\E[0m:ms:me=\E[0m:mr=\E[7m:
1832\f# --------------------------------
1833 #
1834 # V: VISUAL
1835 #
1836 # The Visual 200 beeps when you type a character in insert mode.
1837 # This is a horribly obnoxious misfeature, and some of the entries
1838 # below try to get around the problem by ignoring the feature or
1839 # turning it off when inputting a character.  They are said not to
1840 # work well at 300 baud.  (You could always cut the wire to the bell!)
1841 # From mike@brl-vgr Mon Nov 14 08:34:29 1983
1842 vi200|vis200|visual 200 with function keys:\
1843         :so=\E4:se=\E3:ms:do=^J:\
1844         :al=\EL:am:le=^H:bs:cd=\Ey:ce=\Ex:cl=\Ev:\
1845         :cm=\EY%+ %+ :co#80:dc=\EO:dl=\EM:ho=\EH:\
1846         :ic=\Ei \b\Ej:\
1847         :is=\E3\Eb\Ej\E\\\El\EG\Ec\Ek:\
1848         :k0=\EP:k1=\EQ:k2=\ER:k3=\E :k4=\E!:k5=\E":k6=\E#:\
1849         :k7=\E$:k8=\E%:k9=\E&:kl=\ED:kr=\EC:ku=\EA:kd=\EB:kh=\EH:\
1850         :li#24:nd=\EC:pt:sr=\EI:up=\EA:vs=\Ed:ve=\Ec:
1851 vi200-rv-ic|visual 200 reverse video using insert char:\
1852         :ei=\Ej:im=\Ei:ic@:tc=vi200-rv:
1853 # The older Visuals didn't come with function keys. This entry uses
1854 # ks and ke so that the keypad keys can be used as function keys.
1855 # If your version of vi doesn't support function keys you may want
1856 # to use V2.
1857 vi200-f|visual|visual 200 no function keys:\
1858         :do=^J:al=\EL:am:le=^H:bs:cd=\Ey:ce=4*\Ex:cl=\Ev:\
1859         :cm=\EY%+ %+ :co#80:dc=4*\EO:dl=4*\EM:ho=\EH:\
1860         :ic=\Ei \b\Ej:\
1861         :is=\E3\Eb\Ej\E\\\El\EG\Ed\Ek:ks=\E=:ke=\E>:\
1862         :k0=\E?p:k1=\E?q:k2=\E?r:k3=\E?s:k4=\E?t:k5=\E?u:k6=\E?v:\
1863         :k7=\E?w:k8=\E?x:k9=\E?y:kl=\ED:kr=\EC:ku=\EA:kd=\EB:kh=\EH:\
1864         :li#24:nd=\EC:pt:sr=\EI:up=\EA:vs=\Ed:ve=\Ec:
1865 vi200-rv|visual 200 reverse video:\
1866         :so=\E4:se=\E3:sr@:vs@:ve@:tc=vi200:
1867 vi200-ic|visual 200 using insert char:\
1868         :ei=\Ej:im=\Ei:ic@:tc=vi200:
1869 # From: jbs@athena.mit.edu      Jeff Siegal
1870 vi55|Visual 55:\
1871         :im=\Ea:ei=\Eb:mi:dc=\Ew:al=\EL:dl=\EM:cs=\E_%+A%+A:\
1872         :ho=\EH:cl=\Ev:is=\Ev\E_AX\Eb\EW\E9P\ET:so=\EU:se=\ET:ms:\
1873         :do=^J:le=^H:bs:cd=\EJ:ce=\EK:cm=\EY%+ %+ :co#80:li#24:\
1874         :nd=\EC:pt:am:sr=\EI:up=\EA:ku=\EA:kd=\EB:kr=\EC:kl=\ED:kb=^H:
1875\f# --------------------------------
1876 #
1877 # X: TEKTRONIX
1878 #
1879 tek|tek4012|4012|tektronix 4012:\
1880         :do=^J:is=\E^O:le=^H:bs:cl=1000\E^L:co#75:ns:li#35:os:
1881 tek4013|4013|tektronix 4013:\
1882         :as=\E^N:ae=\E^O:dF#1000:tc=4012:
1883 tek4014|4014|tektronix 4014:\
1884         :is=\E^O\E9:co#81:li#38:dF#1000:tc=tek4012:
1885 tek4015|4015|tektronix 4015:\
1886         :as=\E^N:ae=\E^O:tc=4014:
1887 tek4014-sm|4014-sm|tektronix 4014 in small font:\
1888         :is=\E^O\E\072:co#121:li#58:tc=tek4014:
1889 tek4015-sm|4015-sm|tektronix 4015 in small font:\
1890         :as=\E^N:ae=\E^O:tc=4014-sm:
1891 # I think the 1000UP is supposed to be so expensive it never happens.
1892 tek4023|4023|tex|tektronix 4023:\
1893         :do=^J:so=^_P:se=^_@:cm=\034%r%+ %+ :nd=\t:le=^H:\
1894         :bs:cl=4\E^L:co#80:li#24:am:up=1000UP:vt#4:
1895 # Can't use cursor motion because it's memory relative, and because
1896 # it only works in the workspace, not the monitor.  Same for home.
1897 # Likewise, standout only works in the workspace.
1898 # 145 ms padding on al and AL taken out since it doesn't seem to be needed much.
1899 4025|4027|4024|tek4025|tek4027|tek4024|4025cu|4027cu|tektronix 4024/4025/4027:\
1900         :sf=^F^J:do=^F^J:is=\41com 31\r\n^_sto 9 17 25 33 41 49 57 65 73\r:\
1901         :ks=^_lea p4 /h/\r^_lea p8 /k/\r^_lea p6 / /\r^_lea p2 /j/\r^_lea f5 /H/\r^_lea p5 /H/\r:\
1902         :ke=^_lea p2\r^_lea p4\r^_lea p6\r^_lea p8\r^_lea p5\r^_lea f5\r:\
1903         :am:le=^H:bs:da:db:pt:li#34:co#80:cl=^_era\r\n\n:up=^K:nd=^_rig\r:\
1904         :al=^_up\r^_ili\r:dl=^_dli\r^F:\
1905         :dc=^_dch\r:im=^_ich\r:ei=^F^_dow\r^K:nl=^F\n:\
1906         :cd=^_dli 50\r:CC=^_:AL=^_up\r^_ili %d\r:DL=^_dli %d\r^F:\
1907         :UP=^_up %d\r:DO=^_dow %d\r:LE=^_lef %d\r:RI=^_rig %d\r:
1908 # Tektronix 4025A from gwyn@brl-smoke.ARPA (Doug Gwyn )
1909 # The following status modes are assumed for normal operation (replace the
1910 # initial "!" by whatever the current command character is):
1911 #       !COM 29                 # NOTE: changes command character to GS (^])
1912 #       ^]DUP
1913 #       ^]ECH R
1914 #       ^]EOL
1915 #       ^]RSS T
1916 #       ^]SNO N
1917 #       ^]STO 9 17 25 33 41 49 57 65 73
1918 # Other modes may be set according to communication requirements.
1919 # If the command character is inadvertently changed, termcap can't restore it.
1920 # Insert-character cannot be made to work on both top and bottom rows.
1921 # Clear-to-end-of-display emulation via !DLI 988 is too groady to use, alas.
1922 # There also seems to be a problem with vertical motion, perhaps involving
1923 # delete/insert-line, following a typed carriage return.  This terminal sucks.
1924 # Delays not specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
1925 tek4025a|4025a|Tektronix 4025A:\
1926         :al=^K^]ili;:am:bl=^G:bt=^]bac;:bw:CC=^]:cl=^]era;^J^]rup;:co#80:\
1927         :cr=^M:ct=^]sto;:da:db:DC=^]dch %d;:dc=^]dch;:DL=^]dli %d;:dl=^]dli;:\
1928         :DO=^]dow %d;:do=^J:it#8:LE=^]lef %d;:le=^H:li#34:nd=^]rig;:\
1929         :RI=^]rig %d;:\
1930         :rs=!com 29^]del 0^]rss t^]buf^]buf n^]cle^]dis^]dup^]ech r^]eol\
1931 ^]era g^]for n^]pad 203^]pad 209^]sno n^]sto 9 17 25 33 41 49 57 65 73\
1932 ^]wor 0;:\
1933         :SF=^]dow %d;:sf=^J:ta=^I:UP=^]up %d;:up=^K:xo:\
1934         :ce=^]dch 80;:ch=\r^]rig %d;:\
1935         :bs:pt:xx:
1936 4025-17|4027-17|tek 4025 17 line window:\
1937         :li#17:tc=4025:
1938 4025-17ws|4027-17ws|tek 4025 17 line window in workspace:\
1939         :is=\41com 31\r\n^_sto 9,17,25,33,41,49,57,65,73\r^_wor 17\r^_mon 17\r:\
1940         :ti=^_wor h\r:te=^_mon h\r:so=^_att e\r:se=^_att s\r:tc=4025-17:
1941 4025ex|4027ex|tek 4025 w/!:\
1942         :ti=\41com 31\r:te=^_com 33\r:\
1943         :is=^_com 33\r\n\41sto 9,17,25,33,41,49,57,65,73\r:tc=4025:
1944 # From jcoker@ucbic
1945 tek4107|tek4207|4107|4207|Tektronix 4107 graphics terminal with memory:\
1946         :am:bs:mi:ms:ul:xn:xt:\
1947         :co#79:it#8:li#29:\
1948         :bl=^G:cd=\EJ:ce=\EK:cl=\ELZ:cm=\EY%+ %+ :cr=^M:do=^J:kb=^H:\
1949         :kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:mb=\E%!1\E[5m\E%!0:\
1950         :md=\E%!1\E[1m\E%!0:me=\E%!1\E[m\E%!0:\
1951         :mh=\E%!1\E[<0m\E%!0:mr=\E%!1\E[7m\E%!0:nd=\EC:\
1952         :se=\E%!1\E[m\E%!0:sf=^J:so=\E%!1\E[7;5m\E%!0:sr=\EI:\
1953         :ta=^I:ue=\E%!1\E[m\E%!0:up=\EA:us=\E%!1\E[4m\E%!0:\
1954         :ve=\E%!0:vs=\E%!3:
1955 #  Tektronix 4107 with sysline
1956 4107-s|tek4107-s|Tektronix 4107 with sysline but no memory:\
1957         :is=\E%!1\E[2;32r\E[132D\E[2g\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[J:\
1958         :es:hs:i2=\E7\E[?6l\E[2K\E[?6h\E8:ts=\E7\E[?6l\E[2K\E[;%i%df:\
1959         :fs=\E[?6h\E8:ds=\E7\E[?6l\E[2K\E[?6h\E8:tc=4107:
1960 # From cbosg!teklabs!davem Wed Sep 16 21:11:41 1981
1961 # Here's the command file that I use to get rogue to work on the 4025.
1962 # It should work with any program using the old curses (e.g. it better
1963 # not try to scroll, or cursor addressing won't work.  Also, you can't
1964 # see the cursor.)
1965 # (This "learns" the arrow keys for rogue. I have adapted it for termcap - mrh)
1966 4025-cr|tek 4025 for curses and rogue:\
1967         :is=\41com 31\r\n^_sto 9 17 25 33 41 49 57 65 73\r:\
1968         :am:le=^H:bs:pt:li#33:co#80:cm=^_jum%i%d,%d;:up=^K:\
1969         :do=^F^J:cl=^_era;:nd=^_rig;:nl=^F\n:ti=^_wor 33h:te=^_wor 0:
1970 # next two lines commented out since curses only allows 128 chars, sigh.
1971 #       :ti=^_lea p1/b/^_lea p2/j/^_lea p3/n/^_lea p4/h/^_lea p5/ /^_lea p6/l/^_lea p7/y/^_lea p8/k/^_lea p9/u/^_lea p./f/^_lea pt/`era w/13^_lea p0/s/^_wor 33h:\
1972 #       :te=^_lea p1^_lea p2^_lea p3^_lea p4^_lea pt^_lea p5^_lea p6^_lea p7^_lea p8^_lea p9/la/13^_lea p.^_lea p0^_wor 0:
1973 # The 4110 series may be a wonderful graphics series, but they make the 4025
1974 # look good for screen editing.  In the dialog area, you can't move the cursor
1975 # off the bottom line.  Out of the dialog area, ^K moves it up, but there
1976 # is no way to scroll.
1977 4112|4114|tek4112|tektronix 4110 series:\
1978         :is=\E3!1:li#34:co#80:am:al=\E[L:bs:bt=\E[Z:\
1979         :cd=\E[0J:ce=\E[0K:cl=\E[2J\E[0;0H:cm=\E[%i%d;%dH:\
1980         :db:dc=\E[P:dl=\E[M:ic=\E[@:nd=\E[C:se=\E[m:\
1981         :so=\E[7m:ue=\E[m:up=\EM:us=\E[4m:vs=:ve=:\
1982         :sr=\E7\E[0;0H\E[L\E8:sf=\E7\E[0;0H\E[M\E8:
1983 4112-nd|4112 not in dialog area:up=^K:ns:tc=4112:
1984 4112-5|4112 in 5 line dialog area:li#5:tc=4112:
1985 4113|tek4113|tektronix 4113 color graphics, 5 line dialog area:\
1986         :le=^H:do=^J:eo:da:bs:am:li#5:co#80:is=\EKA1\ELL5\ELV0\ELV1:\
1987         :vb=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0:\
1988         :cl=\ELZ:uc=^H\ELM1_\ELM0:nd=\LM1 \LM0:\
1989         :.as=\E^N:.ae=\E^O:
1990 4113-34|tek4113-34|tektronix 4113 color graphics, 34 line dialog area:\
1991         :is=\EKA1\ELLB2\ELV0\ELV1:li#34:tc=tek4113:
1992 # ns hidden from vi to allow visual mode. APL font (as, ae) not supported here.
1993 # uc is slow, but looks nice. Suggest setenv MORE -up . vb needs enough delay
1994 # to let you see the background color being toggled.
1995 4113-nd|tek4113-nd|tektronix 4113 color graphics, no dialog area:\
1996         :le=^H:do=^J:nd=\t:up=^K:ll=\ELF hl @:ho=\ELF7l\177 @:\
1997         :eo:bs:am:li#34:co#80:is=\ELZ\EKA0\ELF7l\177 @:vs=\ELZ\EKA0:\
1998         :vb=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0:\
1999         :cl=\E\f:uc=^H\EMG1_\EMG0:so=\EMT2:se=\EMT1:\
2000         :.ns:.as=\E^N:.ae=\E^O:
2001 4105|tek4105:\
2002         :am:bs:mi:ms:ul:xn:xt:\
2003         :co#79:it#8:li#29:\
2004         :ac=:ae=\E[m:al=\E[1L:as=\E[1m:bl=^G:bt=\E[Z:cd=\E[J:\
2005         :ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%2;%2H:cr=^M:ct=\E[1g:\
2006         :dc=\E[1P:dl=\E[1M:do=\E[1B:ei=\E[4l:ho=\E[H:i1=\E%!1\E[m:\
2007         :im=\E[4h:is=\E%!1\E[?6141\E[m:kb=^H:kd=\E[1B:kl=\E[1D:\
2008         :kr=\E[1C:ku=\E[1A:le=\E[1D:mb=\E[=3;<7m:md=\E[=7;<4m:\
2009         :me=\E[=0;<1m:mh=\E[=1;<6m:mk=\E[=6;<5:mr=\E[=1;<3m:\
2010         :nd=\E[1C:se=\E[=0;<1m:sf=\E[S:so=\E[=2;<3m:sr=\E[T:ta=^I:\
2011         :te=:ti=\E%!1\E[?6l\E[2J:ue=\E[=0;<1m:up=\E[1A:\
2012         :us=\E[=5;<2m:
2013 # This entry is from Tek. Inc.  (Brian Biehl)
2014 4115|tek4115|Tektronix 4115:\
2015         :co#80:li#34:\
2016         :al=\E[L:am:bc=\E[D:bs:bt=\E[Z:cd=\E[J:ce=\E[K:\
2017         :cl=\E[;H\E[2J:cm=\E[%i%d;%dH:da:db:dc=\E[P:dl=\E[M:do=\E[B:\
2018         :ei=\E[4l:eo:ho=\E[;H:im=\E[4h:if=/usr/share/tabset/vt100:\
2019         :is=\E%\0410\E%\014\ELV0\EKA1\ELBB2\ENU@\075\ELLB2\ELM0\ELV1\EKYA?\E%\0411\E[<1l\E[?7h\E[?8h\E[34;1H\E[34B\E[0m:\
2020         :kb=^H:ke=\E>:ks=\E=:nd=\E[C:pt:se=\E[m:so=\E[7m:sr=\EM:\
2021         :te=\E%\0410\ELBG8\E%\0411\E[34;1H\E[J:\
2022         :ti=\E%\0410\ELBB2\E%\0411:\
2023         :ue=\E[m:up=\E[A:us=\E[4m:\
2024         :ve=\E%\0410\ELBG8\E%\0411\E[34;1H:\
2025         :vs=\E%\0410\ELBB2\E%\0411:
2026 # The tek4125 emulates a vt100 incorrectly - the scrolling region
2027 # command is ignored.  The following entry replaces :cs: with the needed
2028 # :AL:, :AL:, and :im:; removes some cursor pad commands that the tek4125
2029 # chokes on; and adds a lot of initialization for the tek dialog area.
2030 # Note that this entry uses all 34 lines and sets the cursor color to green.
2031 # Steve Jacobson 8/85
2032 # (tek4125: there were two "\!"s in the is that I replaced with "\E!";
2033 # commented out, :im:=\E1 because there's no :ei:  -- esr)
2034 tek4125|tektronix 4125:\
2035         :li#34:\
2036         :al=\E[1L:cs@:dl=\E[1M:\
2037         :is=\E%\E!0\EQD1\EUX03\EKA\ELBB2\ELCE0\ELI100\ELJ2\ELLB2\ELM0\ELS1\ELX00\ELV1\E%\E!1\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
2038         :ks=\E=:rc@:sc@:tc=vt100:
2039 # From carolyn@dali.berkeley.edu  Thu Oct 31 12:54:27 1985
2040 4404|tek4404:\
2041         :al=\E[1L:bs:cd=\E[J:ce=\E[K:cl=\E[;H\E[2J:cm=\E[%i%d;%dH:co#80:\
2042         :cs=\E[%i%d;%dr:dc=\E[P:dl=\E[1M:do=^J:ei=\E[4l:ho=\E[H:im=\E[4h:\
2043         :kd=\E[B:ke=\E[?1h:kl=\E[D:kr=\E[C:ks=\E[?1l:ku=\E[A:li#32::mb=\E[5m:\
2044         :md=\E[1m:me=\E[m:nd=\E[C:pt:rc=\E8:sc=\E7:se=\E[27m:so=\E[7m:\
2045         :ta=\E[2I:ti=\E%\!1\E[1;32r\E[?6l\E>:te=\E[1;1H\E[0J\E[?6h\E[?1l:\
2046         :ue=\E[m:up=\E[A:us=\E[4m:
2047\f# --------------------------------
2048 #
2049 # Z: Miscellaneous
2050 #
2051 # These compucolors appear similar, but they at least have different
2052 # sized screens.  I don't know what's going on here.
2053 8001|ISC8001|compucolor|intecolor:\
2054         :do=^J:al=\EU:am:le=^Z:bc=^Z:cl=3*^L:cm=^C%r%.%.:\
2055         :co#80:cd=\EQ:dm=\EQ:ed=\EF:dc=\177:dl=\EV:ei=\EF:\
2056         :im=\EQ:li#40:nd=1^Y:ta=8\t:up=^\:ho=1^H:pc=^@:
2057 compucolor2|compucolorII:\
2058         :do=^J:pt:am:cm=%r^C%.%.:le=^Z:bc=^Z:li#32:co#64:\
2059         :cl=^L:ho=^H:nd=^Y:up=^\:
2060 # From cithep!eric  Wed Sep 16 08:06:44 1981
2061 intext|Interactive Systems Corporation modified owl 1200:\
2062         :do=^J:al=5.5*\020:am:le=^_:bc=^_:le=^H:bs:bt=^Y:cd=5.5*\026J:\
2063         :ce=^K\160^R:cl=132\014:cm=\017%+ %+ :co#80:dc=5.5*\022:dl=5.5*\021:\
2064         :ei=\026\074:im=\026\073:ip=5.5*:li#24:nd=\036:pt:up=\034:\
2065         :se=^V# :sg#1:so=^V$,:ma=^K^P^R^L^L :\
2066         :kl=^_:kd=^J:kr=^^:ku=\034:kb=^H:kh=^Z:\
2067         :k1=^VA\r:k2=^VB\r:k3=^VC\r:k4=^VD\r:k5=^VE\r:\
2068         :k6=^VF\r:k7=^VG\r:k8=^VH\r:k9=^VI\r:k0=^VJ\r:
2069\f# --------------------------------
2070 #
2071 # a: ADDS
2072 #
2073 # Regent: lowest common denominator, works on all regents.
2074 regent|Adds Regent Series:li#24:co#80:am:cl=^L:ll=^A:up=^Z:\
2075         :bs:bc=^U:nd=^F:do=^J:ho=\EY  :
2076 # Regent 100 has a bug where if computer sends escape when user is holding
2077 # down shift key it gets confused, so we avoid escape.
2078 regent100|Adds Regent 100:k0=^B1^M:k1=^B2^M:k2=^B3^M:k3=^B4^M:\
2079         :k4=^B5^M:k5=^B6^M:k6=^B7^M:k7=^B8^M:\
2080         :l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:\
2081         :so=\E0P:ue=\E0@:us=\E0`:se=\E0@:\
2082         :cm=^K%+ %B^P%.:ug#1:sg#1:tc=regent:
2083 regent20|Adds Regent 20:cd=\Ek:ce=\EK:cm=\EY%+ %+ :tc=regent:
2084 regent25|Adds Regent 25:kh=^A:kl=^U:kr=^F:ku=^Z:kd=^J:tc=regent20:
2085 regent40|Adds Regent 40:k0=^B1^M:k1=^B2^M:k2=^B3^M:k3=^B4^M:\
2086         :k4=^B5^M:k5=^B6^M:k6=^B7^M:k7=^B8^M:\
2087         :l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:\
2088         :al=2*\EM:dl=2*\El:\
2089         :so=\E0P:ue=\E0@:us=\E0`:se=\E0@:ug#1:sg#1:tc=regent25:
2090 regent40+|Adds Regent 40+:is=\EB:tc=regent40:
2091 regent60|regent200|Adds Regent 60:se=\ER\E0@\EV:so=\ER\E0P\EV:dc=\EE:ei=\EF:\
2092         :im=\EF:is=\EV\EB:ko=dc,im,ei:tc=regent40+:
2093 regent60na|regent 60 w/no arrow keys:\
2094         :kl@:kr@:ku@:kd@:tc=regent60:
2095 #
2096 # adds viewpoint 90 - from cornell
2097 # Note:  emacs sends ei occasionally to insure the terminal is out of
2098 #        insert mode. This unfortunately puts the viewpoint90 IN insert
2099 #        mode.  A hack to get around this is:  ic=\EF \EF^U.  (Also,
2100 #   -    ei=:im=: must be present.)
2101 #   -    xs indicates glitch that attributes stick to location
2102 #   -    bs save to move in standout mode
2103 #   -    cl=\EG\Ek clears screen and visual attributes without affecting
2104 #               the status line
2105 vp90|viewpoint90|adds viewpoint 90:\
2106         :bs:bw:cd=\Ek:ce=\EK:cl=\EG\Ek:cm=\EY%+ %+ :co#80:\
2107         :dc=\EE:dl=\El:do=^J:ic=\EF \EF^U:ho=\EY  :\
2108         :nd=^F:up=^Z:\
2109         :kb=^H:kd=^J:kh=^A:kl=^U:kr=^F:ku=^Z:li#24:ll=^A:\
2110         :so=\ER\E0Q\EV:se=\ER\E0@\EV:\
2111         :us=\ER\E0`\EV:ue=\ER\E0@\EV:\
2112         :xs:ms:
2113 # Note: if return acts weird on a980, check internal switch #2
2114 # on the top chip on the CONTROL pc board.
2115 a980|adds consul 980:\
2116         :do=^J:al=13\E^N:am:le=^H:bs:cl=^L\200^K@:cm=^K%+@\E^E%2:co#80:\
2117         :dl=13\E^O:k0=\E0:k1=\E1:k2=\E2:k3=\E3:k4=\E4:k5=\E5:k6=\E6:k7=\E7:\
2118         :k8=\E8:k9=\E9:li#24:nd=\E^E01:so=^Y^^^N:se=^O:up=9:
2119 viewpt60|viewpoint60|addsviewpoint60|adds viewpoint60:\
2120         :tc=regent40:
2121 # From Onyx:edward  Thu Jul  9 09:27:33 1981
2122 viewpoint|addsviewpoint|adds viewpoint:\
2123         :do=^J:am:le=^H:bs:li#24:co#80:cm=\EY%+ %+ :cd=\Ek:ce=\EK:\
2124         :up=^Z:cl=^L:ll=^A:kl=^U:kd=^J:ku=^Z:kh=^A:\
2125         :so=^N:se=^O:us=^N:ue=^O:is=^O\E0`:vs=^O\E0P:ve=^O\E0`:
2126\f# --------------------------------
2127 #
2128 # b: BEEHIVE
2129 #
2130 # Reports are that most of these Beehive entries (except superbee) have not been
2131 # tested and do not work right.  se is a trouble spot.  Be warned.
2132 sb2|sb3|fixed superbee:\
2133         :xb@:tc=superbee:
2134 # set tab is ^F, clear (one) tab is ^V, no way to clear all tabs.
2135 # good grief - does this entry make sg/ug when it doesn't have to?
2136 # look at those spaces in se/so.  Seems strange to me...
2137 bh3m|beehiveIIIm:\
2138         :if=/usr/share/tabset/beehive:do=^J:\
2139         :al=160^S:am:le=^H:bs:cd=^R:ce=^P:cl=^E^R:\
2140         :co#80:dl=350^Q:ho=^E:li#20:ll=^E^K:\
2141         :nd=^L:pt:se= ^_:so=^] :up=^K:
2142 # This loses on lines > 80 chars long, use at your own risk
2143 superbeeic|super bee with insert char:\
2144         :im=\EQ:ei=\ER:tc=superbee:
2145 microb|microbee|micro bee series:\
2146         :do=^J:am:le=^H:bs:cd=\EJ:ce=\EK:cl=\EE:co#80:cm=\EF%+ %+ :\
2147         :k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:k9=\Ex:\
2148         :kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:\
2149         :li#24:nd=\EC:pt:se=\Ed@ :so= \EdP:ue=\Ed@:up=\EA:us=\Ed`:
2150 # Superbee - f1=escape, f2=^C.
2151 # Note: there are at least 3 kinds of superbees in the world.  The sb1
2152 # holds onto escapes and botches ^C's.  The sb2 is the best of the 3.
2153 # The sb3 puts garbage on the bottom of the screen when you scroll with
2154 # the switch in the back set to CRLF instead of AEP.  This description
2155 # is tested on the sb2 but should work on all with either switch setting.
2156 # The f1/f2 business is for the sb1 and the :xb: can be taken out for
2157 # the other two if you want to try to hit that tiny escape key.
2158 # This description is tricky: being able to use cm depends on there being
2159 # 2048 bytes of memory and the hairy nl string.
2160 sb1|superbee|superb|beehive super bee:\
2161         :ct=\E3:st=\E1:is=\EH\EJ:do=^J:\
2162         :sf=\n\200\200\200\n\200\200\200\EA\EK\200\200\200\ET\ET:\
2163         :am:le=^H:bs:cd=3\EJ:ce=3\EK:cl=3\EH\EJ:co#80:cm=\EF%r%3%3:cr=1000\r:\
2164         :dC#10:da:db:xb:dc=3\EP:dl=100\EM:so=\E_1:se=\E_3:\
2165         :li#25:nl=\n\200\200\200\n\200\200\200\EA\EK\200\200\200\ET\ET:\
2166         :nd=\EC:pt:up=\EA:ho=\EH:ve=\n:\
2167         :k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:\
2168         :kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:
2169 # 8675, 8686, and bee from Cyrus Rahman
2170 8675|harris 8675:\
2171         :k1=^F:k2=^P:k3=^N:k4=^V:k5=^J:k6=^T:k7=^H:k8=\177:k9=\Ee:k10=\Ed:\
2172         :k11=^W:k12=\ER:k13=\EE:k14=\EI:k15=\Ei:k16=\Eg:\
2173         :is=\ES\E#\E*\Eh\Em\E?\E1\E9\E@\EX\EU:\
2174         :tc=bee:
2175 8686|harris 8686:\
2176         :k1=^B^[p^C:k2=^B^[q^C:k3=^B^[r^C:k4=^B^[s^C:k5=\E3:\
2177         :k6=\EI:k7=\ER:k8=\EJ:k9=\E(:k10=\Ej:k11=\EW:\
2178         :k12=^B^[{^C:k13=^B^[|^C:k14=^B^[}^C:k15=^B^[~^C:k16=^B^[\177^C:\
2179         :is=\ES\E#\E*\Eh\Em\E?\E1\E9\E@\EX\EU\E"*Z01\
2180         \E"8F35021B7C83#\E"8F45021B7D83#\E"8F55021B7E83#\E"8F65021B7F83#\
2181         \E"8F75021B7383#\E"8F851BD7#\E"8F95021B7083#\E"8FA5021B7183#\
2182         \E"8FB5021B7283#:\
2183         :tc=bee:
2184 bee|harris beehive:\
2185         :co#80:li#24:am:bs:cd=\EJ:ce=\EK:cl=\EE:nd=\EC:\
2186         :cm=\EF%+ %+ :up=\EA:do=\EB:ho=\EH:bt=\E>:\
2187         :al=\EL:dc=\EP:dl=\EM:ei=\E@:im=\EQ:mi:\
2188         :kl=\ED:kr=\EC:ku=\EA:kd=\EB:kh=\EH:kb=^H:\
2189         :us=\Ed`:ue=\Ed@:so=\EdP:se=\Ed@:\
2190         :ko=al,bt,ce,cl,dc,dl,ei,ho,ic,im:
2191\f# --------------------------------
2192 #
2193 # c: CONCEPT (HUMAN DESIGNED SYSTEMS)
2194 #
2195 # From vax135!hpk  Sat Jun 27 07:41:20 1981
2196 # Extensive changes to c108 by arpavax:eric Feb 1982
2197 #
2198 # There seem to be a number of different versions of the C108 PROMS
2199 # (with bug fixes in its Z-80 program).
2200 # The first one that we had would lock out the keyboard of you
2201 # sent lots of short lines (like /usr/dict/words) at 9600 baud.
2202 # Try that on your C108 and see if it sends a ^S when you type it.
2203 # If so, you have an old version of the PROMs.
2204 # The old one also messed up running vi with a 132-character line-length.
2205 # You should configure the C108 to send ^S/^Q before running this.
2206 # It is much faster (at 9600 baud) than the c100 because the delays
2207 # are not fixed.
2208 # new status line display entries for c108:
2209 # hs - has status capability
2210 # es - escape sequences are OK on status line
2211 # i2 - second init str - setup term for status display - set programmer mode,
2212 #       select window 2, define window at last line of memory,
2213 #       set bkgnd stat mesg there, select window 0.
2214 # ts - to status line - select window 2, home cursor, erase to end-of-window,
2215 #       1/2 bright on, goto(line#0, col#?)
2216 # fs - from status line - 1/2 bright off, select window 0
2217 # ds - disable status display - set bkgnd status mesg with illegal window #
2218 #
2219 # the following two entries are for emacs -- they are just like the regular
2220 # entries except that they have buffer overflow control OFF
2221 e108-8p:\
2222         :i2=\EU\E z"\Ev^A\177 !p\E ;"\E z \Ev  ^A\177p\Ep\n:\
2223         :te=\Ev  ^A\177p\Ep\r\n:tc=e108-4p:
2224 e108-4p:\
2225         :is=\EU\E f\Ef\E7\E5\E8\El\ENH\EK\E\200\Eo&\200\Eo\47\E\E!\E^G!\E^HA@ :\
2226         :tc=c108-4p:
2227 c108|c108-8p|concept108-8p|concept 108 w/8 pages:\
2228         :i2=\EU\E z"\Ev^A\177 !p\E ;"\E z \Ev  ^A\177p\Ep\n:\
2229         :te=\Ev  ^A\177p\Ep\r\n:tc=c108-4p:
2230 c108-4p|concept108-4p|concept 108 w/4 pages:\
2231         :es:hs:ts=\E z"\E?\E^C\Ea %+ :fs=\E z :ds=\E ;\177:\
2232         :i2=\EU\E z"\Ev\177 !p\E ;"\E z \Ev  \177p\Ep\n:do=^J:pt:\
2233         :is=\EU\E F\Ef\E7\E5\E8\El\ENH\EK\E\200\Eo&\200\Eo\47\E\E!\E^G!\E^HA@ :\
2234         :ti=\EU\Ev  8p\Ep\r:te=\Ev  \177p\Ep\r\n:\
2235         :al=\E^R:le=^H:bs:cd=\E^C:ce=\E^S:cl=\E?\E^E:cm=\Ea%+ %+ :co#80:\
2236         :dc=\E^Q:dl=\E^B:ei=\E\200:eo:im=\E^P:li#24:mi:nd=\E=:\
2237         :kb=^h:up=\E;:db:us=\EG:ue=\Eg:vs=\EW:ve=\Ew:am:xn:\
2238         :vb=\Ek\200\200\200\200\200\200\200\200\200\200\200\200\200\200\EK:\
2239         :ks=\EX:ke=\Ex:ku=\E;:kd=\E<:kl=\E>:kr=\E=:kh=\E?:\
2240         :k1=\E5:k2=\E6:k3=\E7:k4=\E8:k5=\E9:k6=\E\72:\
2241         :so=\ED:se=\Ed:mh=\EE:md=\ED:mr=\ED:me=\Ee\Ed\Eg\Ec:
2242 c108-rv-8p|concept108-rv-8p|concept 108 w/8 pages, in reverse video:\
2243         :vb=\EK\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Ek:\
2244         :is=\EU\E F\Ef\E7\E5\E8\El\ENH\Ek\E\200\Eo&\200\Eo\47\E\E!\E^G!\E^HA@ :\
2245         :ts=\E z"\E?\E^C\EE\Ea %+ :fs=\Ee\E z :tc=c108-8p:
2246 c108-rv-4p|concept108-rv-4p|concept 108 w/4 pages, in reverse video:\
2247         :vb=\EK\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Ek:\
2248         :is=\EU\E F\Ef\E7\E5\E8\El\ENH\Ek\E\200\Eo&\200\Eo\47\E\E!\E^G!\E^HA@ :\
2249         :ts=\E z"\E?\E^C\EE\Ea %+ :fs=\Ee\E z :tc=c108-4p:
2250 c108-na|c108-na-8p|concept108-na-8p|concept 108 w/8 pages, no arrows:\
2251         :ks@:ke@:k7=\E;:k8=\E<:k9=\E=:tc=c108-8p:
2252 c108-rv-na|c108-rv-na-8p|concept 108 w/8 pages, no arrows in rev video:\
2253         :ts=\E z"\E?\E^C\EE\Ea %+ :fs=\Ee\E z :\
2254         :ks@:ke@:k7=\E;:k8=\E<:k9=\E=:tc=c108-rv-8p:
2255 # this needs new frotz in the cm capability for 2-char addrs when > 95....
2256 c108-w|c108-w-8p|concept108-w-8p|concept 108 w/8 pages in wide mode:\
2257         :is=\EU\E F\Ef\E7\E5\E8\El\ENH\EK\E\200\Eo&\200\Eo\47\E\E"\E^G!\E^HA@ :\
2258         :ti=\EU\Ev  8^AD\Ep\r:te=\Ev  ^A0^AD\Ep\r\n:pt@:cm@:\
2259         :co#132:tc=c108-8p:
2260 avt-w|avtw|HDS concept avt w/4 or 8 pages; 132 columns:\
2261         :is=\E[1*q\E[2!t\E[7!t\E[=4;101;119l\E[=103;107;118;207h\E)1\E[1Q\EW\E[0!y\E[0\0720\07232!r\E[w\E2\r\n:\
2262         :ch=\E[%i%3G:cm=\E[%i%2;%3H:co#132:tc=avt:
2263 avt-8p-s|concept avt w/8 pages & 80 cols running sysline:\
2264         :is=\E[1*q\E[2!t\E[7!t\E[=4;101;103;119l\E[=107;118;207h\E)1\E[1Q\EW\E[0!y\E[0\0720\07232!r\E[2!w\E[192w\E[2*w\E[!w\E[1;191w\E2\r\n:\
2265         :hs:es:ts=\E[2!w\E[H\E[J\E[%i%dG:fs=\E[!w:\
2266         :ds=\E[2!w\E[2J\E[!w\E[*w:te=\E[1;191w\E2\n:tc=avt:
2267 avt-4p-s|concept avt w/4 pages & 80 cols running sysline:\
2268         :is=\E[1*q\E[2!t\E[7!t\E[=4;101;103;119l\E[=107;118;207h\E)1\E[1Q\EW\E[0!y\E[0\0720\07232!r\E[2!w\E[96w\E[2*w\E[!w\E[1;95w\E2\r\n:\
2269         :hs:es:ts=\E[2!w\E[H\E[J\E[%i%dG:fs=\E[!w:\
2270         :ds=\E[2!w\E[2J\E[!w\E[*w:te=\E[1;95w\E2\n:tc=avt:
2271 avt-rv|HDS concept avt w/4 or 8 pages, 80 columns, reverse video:\
2272         :is=\E[1*q\E[2!t\E[7!t\E[=4;101;103;119l\E[=107;118;205;207h\E)1\E[1Q\EW\E[0!y\E[0\0720\07232!r\E[w\E2\r\n:\
2273         :ve=\E[4l:vs=\E[4l:tc=avt:
2274 avt|HDS concept avt w/4 or 8 pages, 80 columns:\
2275         :is=\E[1*q\E[2!t\E[7!t\E[=4;101;103;119;205l\E[=107;118;207h\E)1\E[1Q\EW\E[0!y\E[0\0720\07232!r\E[w\E2\r\n\E[*w:\
2276         :ae=^O:al=\E[L:am:as=^N:bs:bt=\E[Z:cd=\E[J:ce=\E[K:\
2277         :ch=\E[%i%2G:cl=\E[H\E[J:cm=\E[%i%2;%2H:co#80:cv=\E[%i%2d:\
2278         :dc=\E[P:dl=\E[M:do=\E[B:ei=\E1:eo:ho=\E[H:im=\E1:kb=^H:kd=\E[B:\
2279         :kh=\E[H:kl=\E[D:ko=do,ho,nd,up:kr=\E[C:\
2280         :ks=\E[1;4!z\E[1;8!z\E[1;10!z\E[1;11!z\E[1;12!z\E[1;14!z\E[3;7!z\E[3;9!z:\
2281         :ke=\E[;4!z\E[;8!z\E[;10!z\E[;11!z\E[;12!z\E[3;14!z\E[;7!z\E[;9!z:\
2282         :ku=\E[A:li#24:mi:nd=\E[C:pt:se=\E[7!{:so=\E[7m:\
2283         :te=\E[w\E2\n:ti=\E[1;24w\E2\n:ue=\E[4!{:\
2284         :up=\E[A:us=\E[4m:ve=\E[=4;119l:vs=\E[4l\E[=119h:xn:
2285 #
2286 # Concepts have only window relative cursor addressing, not screen relative.
2287 # To get it to work right here, ti/te (which were invented for the concept)
2288 # lock you into a one page window for screen style programs.  To get out of
2289 # the one page window, we use a clever trick: we set the window size to zero
2290 # ("\Ev    " in te) which the terminal recognizes as an error and resets the
2291 # window to all of memory.
2292 #
2293 # Some tty drivers use cr3 for concept, others use nl3, hence dN/dC below.
2294 # This padding is only needed at 9600 baud.
2295 # 2 nulls padding on te isn't always enough.  6 works fine.  Maybe less
2296 # than 6 but more than 2 will work.
2297 c100|concept|c1004p|c100-4p|concept100|concept 100:\
2298         :is=\EU\Ef\E7\200\200\E5\E8\200\200\El\ENH\EK\E\200\Eo&\200\Eo\47\E\E^G\041\E^HA@ :\
2299         :ti=\EU\Ev  8p\Ep\r:te=\Ev    \200\200\200\200\200\200\Ep\r\n:\
2300         :al=3*\E^R:am:le=^H:bs:cd=16*\E^C:ce=16\E^U:cl=2*^L:cm=\Ea%+ %+ :co#80:\
2301         :dc=16\E^Q:dl=3*\E^B:ei=\E\200:eo:im=\E^P:ip=16*:li#24:mi:nd=\E=:\
2302         :pt:kb=^h:ta=8\t:up=\E;:db:us=\EG:ue=\Eg:xn:\
2303         :vb=\Ek\200\200\200\200\200\200\200\200\200\200\200\200\200\200\EK:\
2304         :.dN#9:dC#9:pb#9600:vt#8:us=\EG:ue=\Eg:so=\EE\ED:se=\Ed\Ee:\
2305         :mh=\EE:mr=\ED:mb=\EC:mp=\EI:mk=\EH:me=\EN\200:do=^J:\
2306         :ks=\EX:ke=\Ex:ku=\E;:kd=\E<:kl=\E>:kr=\E=:kh=\E?:k1=\E5:k2=\E6:k3=\E7:
2307 c100-rv-pp|c100-rv-4p-pp|concept100-rv-pp|c100rv4ppp|w/ printer port:\
2308         :is=\EU\Ef\E7\200\200\E5\E8\200\200\El\ENH\Ek\E\200\Eo&\200\Eo\041\200\EQ"\EY(^W\Eo\47\E\E^G\041\E^HA@ :\
2309         :tc=c100-rv:
2310 c100-rv-na|c100-rv-4p-na|concept100-rv-na|c100rv4pna|c100 with no arrows:\
2311         :ks@:ke@:tc=c100-rv:
2312 c100-rv|c100-rv-4p|concept100-rv|c100rv4p|c100rv|c100 rev video:\
2313         :is=\EU\Ef\E7\200\200\E5\E8\200\200\El\ENH\Ek\E\200\Eo&\200\Eo\47\E\E^G\041\E^HA@ :\
2314         :vb=\EK\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Ek:\
2315         :so=\EE:se=\Ee:tc=c100:
2316 # This is useful at 1200 baud.
2317 c100-s|concept-s|concept100-s|slow concept 100:\
2318         :vb=\Ek\200\EK:pt:dC@:dN@:tc=c100:
2319 c100-rv-s|concept-rv-s|concept100-rv-s|c100rvs|slow reverse concept 100:\
2320         :vb=\EK\200\Ek:pt:dC@:dN@:tc=c100-rv:
2321 # for syscons
2322 # common entry without semigraphics
2323 cons25w|ansiw|ansi80x25-raw:\
2324         :am:bs:NP:ms:pt:AX:eo:bw:ut:km:\
2325         :co#80:li#25:pa#64:Co#8:it#8:\
2326         :al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
2327         :dc=\E[P:dl=\E[M:do=\E[B:bt=\E[Z:ho=\E[H:ic=\E[@:cb=\E[1K:\
2328         :nd=\E[C:rs=\Ec:so=\E[7m:se=\E[27m:up=\E[A:cr=^M:ta=^I:\
2329         :AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:sc=\E7:rc=\E8:\
2330         :k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:\
2331         :k9=\E[U:k;=\E[V:F1=\E[W:F2=\E[X:K2=\E[E:nw=\E[E:ec=\E[%dX:\
2332         :kb=^H:kh=\E[H:ku=\E[A:kd=\E[B:kl=\E[D:kr=\E[C:le=^H:sf=\E[S:sr=\E[T:\
2333         :kN=\E[G:kP=\E[I:@7=\E[F:kI=\E[L:kD=\177:kB=\E[Z:\
2334         :IC=\E[%d@:DC=\E[%dP:SF=\E[%dS:SR=\E[%dT:AL=\E[%dL:DL=\E[%dM:\
2335         :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:cv=\E[%i%dd:ch=\E[%i%d`:\
2336         :mb=\E[5m:md=\E[1m:mr=\E[7m:me=\E[m:bl=^G:\
2337         :ve=\E[=S:vi=\E[=1S:vs=\E[=2S:
2338 # CP437 FreeBSD console with ACS support
2339 cons25|ansis|ansi80x25:\
2340         :ac=l\332m\300k\277j\331u\264t\303v\301w\302q\304x\263n\305`^Da\260f\370g\361~\371.^Y-^Xh\261i^U0\333y\363z\362:\
2341         :tc=cons25w:
2342 cons25-m|ansis-mono|ansi80x25-mono:\
2343         :pa@:Co@:AF@:AB@:AX@:op@:us=\E[4m:ue=\E[24m:tc=cons25:
2344 cons30|ansi80x30:\
2345         :li#30:tc=cons25:
2346 cons30-m|ansi80x30-mono:\
2347         :li#30:tc=cons25-m:
2348 cons43|ansi80x43:\
2349         :li#43:tc=cons25:
2350 cons43-m|ansi80x43-mono:\
2351         :li#43:tc=cons25-m:
2352 cons50|ansil|ansi80x50:\
2353         :li#50:tc=cons25:
2354 cons50-m|ansil-mono|ansi80x50-mono:\
2355         :li#50:tc=cons25-m:
2356 cons60|ansi80x60:\
2357         :li#60:tc=cons25:
2358 cons60-m|ansi80x60-mono:\
2359         :li#60:tc=cons25-m:
2360 # Syscons console with 132 characters (VESA modes)
2361 cons25-w|ansi132x25:\
2362         :co#132:tc=cons25:
2363 cons30-w|ansi132x30:\
2364         :co#132:tc=cons30:
2365 cons43-w|ansi132x43:\
2366         :co#132:tc=cons43:
2367 cons50-w|ansil-w|ansi132x50:\
2368         :co#132:tc=cons50:
2369 cons60-w|ansi132x60:\
2370         :co#132:tc=cons60:
2371 # KOI8-R/KOI8-U FreeBSD console with ACS support
2372 cons25r|cons25u|pc3r|ibmpc3r|cons25-koi8:\
2373         :ac=q\200x\201m\204v\211j\205t\206n\212u\207l\202w\210k\203y\230z\231f\234~\225a\220h\2210\215:\
2374         :tc=cons25w:
2375 cons25r-m|cons25u-m|pc3r-m|ibmpc3r-mono|cons25-koi8-mono:\
2376         :pa@:Co@:AF@:AB@:AX@:op@:us=\E[4m:ue=\E[24m:tc=cons25r:
2377 cons30r|cons30u|cons30-koi8:\
2378         :li#30:tc=cons25r:
2379 cons30r-m|cons30u-m|cons30-koi8-mono:\
2380         :li#30:tc=cons25r-m:
2381 cons43r|cons43u|cons43-koi8:\
2382         :li#43:tc=cons25r:
2383 cons43r-m|cons43u-m|cons43-koi8-mono:\
2384         :li#43:tc=cons25r-m:
2385 cons50r|cons50u|cons50-koi8:\
2386         :li#50:tc=cons25r:
2387 cons50r-m|cons50u-m|cons50-koi8-mono:\
2388         :li#50:tc=cons25r-m:
2389 cons60r|cons60u|cons60-koi8:\
2390         :li#60:tc=cons25r:
2391 cons60r-m|cons60u-m|cons60-koi8-mono:\
2392         :li#60:tc=cons25r-m:
2393 # Syscons console with 90 characters (VGA modes)
2394 # KOI8-R/KOI8-U FreeBSD console with ACS support.
2395 cons25r-v|cons25u-v|pc3r-v|ibmpc3r-vga|cons25-koi8-vga:\
2396         :co#90:tc=cons25r:
2397 cons25r-mv|cons25u-mv|pc3r-mv|ibmpc3r-monovga|cons25-koi8-monovga:\
2398         :co#90:tc=cons25r-m:
2399 cons30r-v|cons30u-v|cons30-koi8-vga:\
2400         :co#90:tc=cons30r:
2401 cons30r-mv|cons30u-mv|cons30-koi8-monovga:\
2402         :co#90:tc=cons30r-m:
2403 cons43r-v|cons43u-v|cons43-koi8-vga:\
2404         :co#90:tc=cons43r:
2405 cons43r-mv|cons43u-mv|cons43-koi8-monovga:\
2406         :co#90:tc=cons43r-m:
2407 cons50r-v|cons50u-v|cons50-koi8-vga:\
2408         :co#90:tc=cons50r:
2409 cons50r-mv|cons50u-mv|cons50-koi8-monovga:\
2410         :co#90:tc=cons50r-m:
2411 cons60r-v|cons60u-v|cons60-koi8-vga:\
2412         :co#90:tc=cons60r:
2413 cons60r-mv|cons60u-mv|cons60-koi8-monovga:\
2414         :co#90:tc=cons60r-m:
2415 # ISO 8859-2 FreeBSD console with ACS support
2416 cons25l2|cons25-iso8859-2:\
2417         :ac=f\260i\247:\
2418         :tc=cons25w:
2419 cons25l2-m|cons25-iso8859-2-mono:\
2420         :pa@:Co@:AF@:AB@:AX@:op@:us=\E[4m:ue=\E[24m:tc=cons25l2:
2421 cons30l2|cons30-iso8859-2:\
2422         :li#30:tc=cons25l2:
2423 cons30l2-m|cons30-iso8859-2-mono:\
2424         :li#30:tc=cons25l2-m:
2425 cons43l2|cons43-iso8859-2:\
2426         :li#43:tc=cons25l2:
2427 cons43l2-m|cons43-iso8859-2-mono:\
2428         :li#43:tc=cons25l2-m:
2429 cons50l2|cons50-iso8859-2:\
2430         :li#50:tc=cons25l2:
2431 cons50l2-m|cons50-iso8859-2-mono:\
2432         :li#50:tc=cons25l2-m:
2433 cons60l2|cons60-iso8859-2:\
2434         :li#60:tc=cons25l2:
2435 cons60l2-m|cons60-iso8859-2-mono:\
2436         :li#60:tc=cons25l2-m:
2437 # ISO 8859-1 FreeBSD console with ACS support
2438 cons25l1|cons25-iso8859-1:\
2439         :ac=f\260g\261}\243+\253,\273i\247:\
2440         :tc=cons25w:
2441 cons25l1-m|cons25-iso8859-1-mono:\
2442         :pa@:Co@:AF@:AB@:AX@:op@:us=\E[4m:ue=\E[24m:tc=cons25l1:
2443 cons30l1|cons30-iso8859-1:\
2444         :li#30:tc=cons25l1:
2445 cons30l1-m|cons30-iso8859-1-mono:\
2446         :li#30:tc=cons25l1-m:
2447 cons43l1|cons43-iso8859-1:\
2448         :li#43:tc=cons25l1:
2449 cons43l1-m|cons43-iso8859-1-mono:\
2450         :li#43:tc=cons25l1-m:
2451 cons50l1|cons50-iso8859-1:\
2452         :li#50:tc=cons25l1:
2453 cons50l1-m|cons50-iso8859-1-mono:\
2454         :li#50:tc=cons25l1-m:
2455 cons60l1|cons60-iso8859-1:\
2456         :li#60:tc=cons25l1:
2457 cons60l1-m|cons60-iso8859-1-mono:\
2458         :li#60:tc=cons25l1-m:
2459 # 132x25 ISO 8859-1 FreeBSD console
2460 cons25l1-w|cons25w-iso8859-1:\
2461         :co#132:tc=cons25l1:
2462 cons30l1-w|cons30w-iso8859-1:\
2463         :co#132:tc=cons30l1:
2464 cons43l1-w|cons43w-iso8859-1:\
2465         :co#132:tc=cons43l1:
2466 cons50l1-w|cons50w-iso8859-1:\
2467         :co#132:tc=cons50l1:
2468 cons60l1-w|cons60w-iso8859-1:\
2469         :co#132:tc=cons60l1:
2470 # ISO 8859-7 FreeBSD console with ACS support
2471 cons25l7|cons25-iso8859-7:\
2472         :ac=f\260g\261{\360}\243+\253,\273i\247:\
2473         :tc=cons25w:
2474 cons25l7-m|cons25-iso8859-7-mono:\
2475         :pa@:Co@:AF@:AB@:AX@:op@:us=\E[4m:ue=\E[24m:tc=cons25l7:
2476 cons30l7|cons30-iso8859-7:\
2477         :li#30:tc=cons25l7:
2478 cons30l7-m|cons30-iso8859-7-mono:\
2479         :li#30:tc=cons25l7-m:
2480 cons43l7|cons43-iso8859-7:\
2481         :li#43:tc=cons25l7:
2482 cons43l7-m|cons43-iso8859-7-mono:\
2483         :li#43:tc=cons25l7-m:
2484 cons50l7|cons50-iso8859-7:\
2485         :li#50:tc=cons25l7:
2486 cons50l7-m|cons50-iso8859-7-mono:\
2487         :li#50:tc=cons25l7-m:
2488 cons60l7|cons60-iso8859-7:\
2489         :li#60:tc=cons25l7:
2490 cons60l7-m|cons60-iso8859-7-mono:\
2491         :li#60:tc=cons25l7-m:
2492 #
2493 dosansi|ANSI.SYS standard crt:\
2494         :am:bs:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:co#80:\
2495         :do=\E[B:li#25:mi:nd=\E[C:\
2496         :se=\E[m:so=\E[7m:up=\E[A:us=\E[4m:ue=\E[m:\
2497         :md=\E[1m:mr=\E[7m:mb=\E[5m:me=\E[m:\
2498         :kh=\EG:kb=^h:ku=\EH:kd=\EP:kl=\EK:kr=\EM:\
2499         :k1=\E;:k2=\E<:k3=\E=:k4=\E>:k5=\E?:\
2500         :k6=\E@:k7=\EA:k8=\EB:k9=\EC:k0=\ED:
2501\f# --------------------------------
2502 #
2503 # d: DEC (DIGITAL EQUIPMENT CORPORATION)
2504 #
2505 # Note that xn glitch in vt100 is not quite the same as concept, since
2506 # the cursor is left in a different position while in the weird state
2507 # (concept at beginning of next line, vt100 at end of this line) so
2508 # all versions of vi before 3.7 don't handle xn right on vt100.
2509 # I assume you have smooth scroll off or are at a slow enough baud
2510 # rate that it doesn't matter (1200? or less).  Also this assumes
2511 # that you set auto-nl to "on", if you set it off use vt100-nam below.
2512 #
2513 # Since there are two things here called vt100, the installer can make
2514 # a local decision to make either one standard "vt100" by including
2515 # it in the list of terminals in reorder, since the first vt100 in
2516 # /etc/termcap is the one that it will find.  The choice is between
2517 # nam (no automatic margins) and am (automatic margins), as determined
2518 # by the wrapline switch (group 3 #2).  I personally recommend turning
2519 # on the bit and using vt100-am, since having stuff hammer on the right
2520 # margin is sort of hard to read.  However, the xn glitch does not occur
2521 # if you turn the bit off.
2522 #
2523 # I am unsure about the padding requirements listed here.  I have heard
2524 # a claim that the vt100 needs no padding.  It's possible that it needs
2525 # padding only if the xon/xoff switch is off.  For UNIX, this switch
2526 # should probably be on.
2527 #
2528 # The vt100 uses rs and rf rather than is/ct/st because the tab settings
2529 # are in non-volatile memory and don't need to be reset upon login.
2530 # You can type "reset" to get them set.
2531 #
2532 # Full vt200 keys set added to k1-k4 to help various emulators.
2533 # Since no pgms asks for funkeys present, it isn't affect standard vt100
2534 #
2535 vt100|dec-vt100|vt100-am|vt100am|dec vt100:\
2536         :do=2\E[B:co#80:li#24:cl=50\E[H\E[J:sf=2*\ED:\
2537         :le=^H:bs:am:cm=5\E[%i%d;%dH:nd=2\E[C:up=2\E[A:\
2538         :ce=3\E[K:cd=50\E[J:so=2\E[7m:se=2\E[m:us=2\E[4m:ue=2\E[m:\
2539         :md=2\E[1m:mr=2\E[7m:mb=2\E[5m:me=2\E[m:\
2540         :is=\E>\E[?1;3;4;5l\E[?7;8h\E[1;24r\E[24;1H:\
2541         :if=/usr/share/tabset/vt100:nw=2\EE:ho=\E[H:\
2542         :as=2\E(0:ae=2\E(B:\
2543         :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||:\
2544         :rs=\E>\E[?1;3;4;5l\E[?7;8h:ks=\E[?1h\E=:ke=\E[?1l\E>:\
2545         :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=\177:\
2546         :k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOt:\
2547         :k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:@8=\EOM:\
2548         :K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:pt:sr=2*\EM:xn:\
2549         :sc=2\E7:rc=2\E8:cs=5\E[%i%d;%dr:UP=2\E[%dA:DO=2\E[%dB:RI=2\E[%dC:\
2550         :LE=2\E[%dD:ct=2\E[3g:st=2\EH:ta=^I:ms:bl=^G:cr=^M:eo:it#8:\
2551         :RA=\E[?7l:SA=\E[?7h:po=\E[5i:pf=\E[4i:
2552 vt100-nam|dec-vt100-nam|vt100nam|vt100 w/no am:\
2553         :am@:xn@:\
2554         :is=\E>\E[?1;3;4;5;7l\E[?8h\E[1;24r\E[24;1H:\
2555         :rs=\E>\E[?1;3;4;5;7l\E[?8h:\
2556         :tc=vt100-am:
2557 vt100-np|dec-vt100-np|vt100 with no padding:\
2558         :NP:do=\E[B:cl=\E[H\E[J:sf=\ED:as=\E(0:ae=\E(B:\
2559         :cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:nw=\EE:\
2560         :ce=\E[K:cd=\E[J:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:\
2561         :md=\E[1m:mr=\E[7m:mb=\E[5m:me=\E[m:sr=\EM:\
2562         :sc=\E7:rc=\E8:cs=\E[%i%d;%dr:UP=\E[%dA:DO=\E[%dB:RI=\E[%dC:\
2563         :LE=\E[%dD:ct=\E[3g:st=\EH:tc=vt100-am:
2564 vt100-nac|dec-vt100-nac|vt100 without pseudographics and padding:\
2565         :as@:ae@:ac@:tc=vt100-np:
2566 gt42|dec gt42:\
2567         :do=^J:le=^H:bs:co#72:ns:li#40:os:
2568 # From ts@pc.ecn.purdue.edu (Thomas Ruschak)
2569 vt131|dec vt131:\
2570         :cr=^M:do=^J:nl=^J:bl=^G:co#80:li#24:cl=50\E[;H\E[2J:\
2571         :le=^H:bs:am:cm=5\E[%i%d;%dH:nd=2\E[C:up=2\E[A:\
2572         :ce=3\E[K:cd=50\E[J:so=2\E[7m:se=2\E[m:us=2\E[4m:ue=2\E[m:\
2573         :md=2\E[1m:mr=2\E[7m:mb=2\E[5m:me=2\E[m:is=\E[1;24r\E[24;1H:\
2574         :rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:.ks=\E[?1h\E=:.ke=\E[?1l\E>:\
2575         :ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:kb=^H:\
2576         :ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:ta=^I:pt:sr=5\EM:vt#3:xn:\
2577         :sc=\E7:rc=\E8:cs=\E[%i%d;%dr:
2578 vt132:\
2579         :al=99\E[L:dl=99\E[M:ip=7:dc=7\E[P:ei=\E[4l:im=\E[4h:xn:dN#30:tc=vt100:
2580 gt40|dec gt40:\
2581         :do=^J:le=^H:bs:co#72:ns:li#30:os:
2582 vt50|dec vt50:\
2583         :do=^J:le=^H:bs:cd=\EJ:ce=\EK:cl=\EH\EJ:co#80:li#12:nd=\EC:pt:up=\EA:
2584 vt125|vt125-am|DEC vt125:\
2585         :xn:do=^J:co#80:li#24:cl=50\E[H\E[2J:dC=10:dN#10:\
2586         :le=^H:am:bs:cm=5\E[%i%d;%dH:nd=2\E[C:up=2\E[A:ce=3\E[K:cd=50\E[J:\
2587         :so=2\E[7m:se=2\E[m:us=2\E[4m:ue=2\E[m:md=2\E[1m:mr=2\E[7m:mb=2\E[5m:\
2588         :me=2\E[m:is=\E[1;24r\E[24;1H\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
2589         :ks=\E[?1h\E=:ke=\E[?1l\E>:if=/usr/share/tabset/vt100:ku=\EOA:kd=\EOB:\
2590         :kr=\EOC:kl=\EOD:kb=^H:ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
2591         :pt:sr=5\EM:vt#3:sc=\E7:rc=\E8:cs=\E[%i%d;%dr:
2592 vt125-nam|DEC vt125 no automatic margin:\
2593         :am@:tc=vt125-am:
2594 # DEC gigi color graphic terminal, same as vt52
2595 gigi|dec gigi terminal:\
2596         :co#80:is=200\E>\E[?4l\E[?5l\E[?7h\E[?8h:\
2597         :li#24:cl=100\E[;H\E[2J:bs:cm=50\E[%i%2;%2H:nd=200\E[C:up=100\E[A:\
2598         :ce=120\E[K:cd=100\E[J:so=20\E[7m:se=20\E[m:us=20\E[4m:ue=20\E[m:\
2599         :ks=200\E[?1h\E=:ke=200\E[?1l\E>:\
2600         :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:\
2601         :kh=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:pt:sr=200\EM:\
2602         :dC=50:dF=200:dN#50:dT=50:
2603 # From William King <abvax!wrk@uunet.UU.NET>, basic ln03 entries
2604 ln03|dec ln03 LaserPrinter:\
2605         :co#80:li#66:hc:hu=\EL:hd=\EK:so=\E[1m:se=\E[22m:\
2606         :us=\E[4m:ue=\E[24m:
2607 ln03-w|dec ln03 LaserPrinter 132 cols:\
2608         :co#132:tc=ln03:
2609 dw1|decwriter I:\
2610         :do=^J:le=^H:bs:co#72:hc:os:
2611 # From tut@Topaz.CC Thu May 12 14:49:02 1983
2612 dw3|la120|decwriter III:\
2613         :bs:kb=^H:co#132:hc:os:pt:\
2614         :is=\E(B\E[20l\E[w\E[1;132s\E[2g\E[9;17;25;33;41;49;57;65;73;81;89;97;105;113;121;129u\E[z\E[66t\E[1;66r\E[4g\E>\r:
2615 # From tut@topaz.CC Thu Sep 24 22:10:46 1981
2616 dw4|decwriter IV:\
2617         :do=^J:le=^H:bs:co#132:hc:os:am:\
2618         :pt:is=\Ec:k0=\EOP:k1=\EOQ:k2=\EOR:k3=\EOS:kb=^H:
2619 vt50h|dec vt50h:\
2620         :do=^J:le=^H:bs:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :\
2621         :co#80:li#12:nd=\EC:pt:sr=\EI:up=\EA:
2622 vt100-s|dec-vt100-s|vt100 with status line at top:\
2623         :li#23:i2=\E[2;24r\E[24;1H:cm@:ho=\E[H^J:cl=50\E[;H^J\E[0J:\
2624         :hs:es:ts=\E7\E[1;%dH\E[1K:fs=\E8:tc=vt100-am:
2625 vt100-s-bot|dec-vt100-s-bot|vt100 with status line at bottom:\
2626         :li#23:i2=\E[1;23r\E[23;1H:\
2627         :hs:es:ts=\E7\E[24;%dH\E[1K:fs=\E8:tc=vt100-am:
2628 vt100-nav|dec-vt100-nav|dec vt100 132 cols 14 lines (w/o advanced video option):\
2629         :li#14:tc=vt100-w:
2630 vt100-w|dec-vt100-w|dec vt100 132 cols (w/advanced video):\
2631         :if=/usr/share/tabset/vt100-w:\
2632         :is=\E>\E[?1;4;5l\E[?3;7;8h\E[1;24r\E[24;1H:\
2633         :rs=\E>\E[?1;4;5l\E[?3;7;8h:\
2634         :co#132:tc=vt100-am:
2635 vt100-w-nam|dec-vt100-w-nam|dec vt100 132 cols (w/advanced video), no am:\
2636         :if=/usr/share/tabset/vt100-w:\
2637         :is=\E>\E[?1;4;5;7l\E[?3;8h\E[1;24r\E[24;1H:\
2638         :rs=\E>\E[?1;4;5;7l\E[?3;8h:\
2639         :co#132:vt@:tc=vt100-nam:
2640 vt102|dec-vt102-am|vt102am|vt100 w/adv. video:\
2641         :al=\E[L:dl=\E[M:im=\E[4h:ei=\E[4l:mi:dc=\E[P:\
2642         :AL=\E[%dL:DL=\E[%dM:DC=\E[%dP:tc=vt100-np:
2643 vt102-nam|dec-vt102-nam|vt102nam|vt102 w/no am:\
2644         :am@:xn@:\
2645         :is=\E>\E[?1;3;4;5;7l\E[?8h\E[1;24r\E[24;1H:\
2646         :rs=\E>\E[?1;3;4;5;7l\E[?8h:\
2647         :tc=vt102am:
2648 vt102-w|dec vt102 132 cols (w/advanced video):\
2649         :if=/usr/share/tabset/vt100-w:\
2650         :is=\E>\E[?1;4;5l\E[?3;7;8h\E[1;24r\E[24;1H:\
2651         :rs=\E>\E[?1;4;5l\E[?3;7;8h:\
2652         :co#132:vt@:tc=vt102:
2653 vt102-w-nam|dec-vt102-w-nam|dec vt102 132 cols (w/advanced video), no am:\
2654         :if=/usr/share/tabset/vt100-w:\
2655         :is=\E>\E[?1;4;5;7l\E[?3;8h\E[1;24r\E[24;1H:\
2656         :rs=\E>\E[?1;4;5;7l\E[?3;8h:\
2657         :co#132:vt@:tc=vt102-nam:
2658 vt102-nac|dec-vt102-nac|vt102 without pseudographics:\
2659         :as@:ae@:ac@:tc=vt102:
2660 vt52|dec-vt52|dec vt52:\
2661         :do=^J:le=^H:bs:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :co#80:li#24:\
2662         :nd=\EC:pt:sr=\EI:up=\EA:ku=\EA:kd=\EB:kr=\EC:kl=\ED:kb=^H:
2663 # vt61 created by Roger Sacilotto  Massachusetts Computer Associates, Inc
2664 # Similar to vt52 but add al and dl
2665 #
2666 vt61|dec vt61:\
2667         :al=\EPf:dl=\EPd:tc=vt52:
2668 dw2|decwriter II:\
2669         :do=^J:kb=^h:le=^H:bs:co#132:hc:os:
2670 # DEC PRO-350 console (VT220-style)
2671 pro350|decpro|dec pro console:\
2672         :bs:cd=\EJ:ce=\EK:cl=\EH\EJ:\
2673         :cm=\EY%+ %+ :co#80:ho=\EH:\
2674         :kl=\ED:kr=\EC:ku=\EA:kd=\EB:kh=\EH:\
2675         :k0=\EE:k1=\EF:k2=\EG:k3=\EH:k4=\EI:k5=\EJ:k6=\Ei:k7=\Ej:\
2676         :li#24:nd=\EC:pt:sr=\EI:up=\EA:do=\EB:\
2677         :se=\E^N:so=\E^H:us=\E^D:ue=\E^C:\
2678         :ae=\EG:as=\EF:
2679 #
2680 vt200|vt220|vt220am|vt200am|dec-vt220|dec-vt200|dec vt2X0 series with jump scroll:\
2681         :@7=\E[4~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kh=\E[1~:\
2682         :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
2683         :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
2684         :ve=\E[?25h:vi=\E[?25l:k0@:\
2685         :F1=\E[23~:F2=\E[24~:ic=\E[@:IC=\E[%d@:ec=\E[%dX:\
2686         :al=\E[L:dl=\E[M:dc=\E[P:\
2687         :AL=\E[%dL:DL=\E[%dM:DC=\E[%dP:tc=vt100-np:
2688 vt220-pf|vt200-pf|dec-vt220-pf|dec-vt200-pf|dec vt200 with PF1-PF4:\
2689         :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
2690         :tc=vt220:
2691 vt200-nam|dec-vt200-nam|vt200nam|vt200 w/no am:\
2692         :tc=vt220nam:
2693 vt220-nam|dec-vt220-nam|vt220nam|vt220 w/no am:\
2694         :am@:xn@:\
2695         :is=\E>\E[?1;3;4;5;7l\E[?8h\E[1;24r\E[24;1H:\
2696         :rs=\E>\E[?1;3;4;5;7l\E[?8h:\
2697         :tc=vt220am:
2698 vt200-ss|vt220-ss|dec-vt220-ss|dec vt200 series with smooth scroll:\
2699         :is=\E>\E[?1;3;5l\E[?4;7;8h\E[1;24r\E[24;1H:\
2700         :rs=\E>\E[?1;3;5l\E[?4;7;8h:\
2701         :tc=vt200:
2702 vt200-w|vt220-w|dec-vt220-w|vt200-wj|vt220-wj|dec vt200 series; 132 col.; jump scroll:\
2703         :is=\E>\E[?1;4;5l\E[?3;7;8h\E[1;24r\E[24;1H:\
2704         :rs=\E>\E[?1;4;5l\E[?3;7;8h:\
2705         :co#132:vt@:tc=vt200:
2706 vt200-ws|vt220-ws|dec-vt220-ws|dec vt200 series; 132 col.; smooth scroll:\
2707         :is=\E>\E[?1;5l\E[?3;4;7;8h\E[1;24r\E[24;1H:\
2708         :rs=\E>\E[?1;5l\E[?3;4;7;8h:\
2709         :co#132:vt@:tc=vt200:
2710 vt200-nac|vt220-nac|dec-vt200-nac|dec-vt220-nac|dec vt200 without pseudographics:\
2711         :as@:ae@:ac@:tc=vt200:
2712 #
2713 vt320|vt300|vt340|vt320 with status line:\
2714         :ds=\E[2$~\r\E[1$}\E[K\E[$}:ts=\E[2$~\E[1$}\E[1;%dH:\
2715         :fs=\E[$}:tc=vt220:
2716 dec-vt320|dec-vt300|dec-vt340|dec vt320 with status line:\
2717         :tc=vt320:
2718 vt320-pf|vt300-pf|vt340-pf|vt320 with PF1-PF4:\
2719         :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
2720         :tc=vt320:
2721 dec-vt320-pf|dec-vt300-pf|dec-vt340-pf|dec vt320 with PF1-PF4:\
2722         :tc=vt320-pf:
2723 vt320-nac|vt300-nac|vt340-nac|vt320 without pseudographics:\
2724         :as@:ae@:ac@:tc=vt320:
2725 dec-vt320-nac|dec-vt300-nac|dec-vt340-nac|dec vt320 without pseudographics:\
2726         :tc=vt320-nac:
2727 # The following entry was converted with the "tic -C" command
2728 # in ncurses.  The original terminfo source file was posted to
2729 # comp.terminals by Daniel A. Glasser on 1991-01-07.
2730 #
2731 # The comments in () were inserted by tic.
2732 #
2733 # (untranslatable capabilities removed to fit entry within 1023 bytes)
2734 # (sgr removed to fit entry within 1023 bytes)
2735 # (acsc removed to fit entry within 1023 bytes)
2736 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
2737 vt420|vt420-24|dec-vt420|DEC vt420 7 bit controls 80x24 autowrap:\
2738         :am:es:hs:mi:ms:xn:xo:\
2739         :co#80:it#8:li#24:ws#80:\
2740         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
2741         :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
2742         :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
2743         :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
2744         :ds=\E[2$~\r\E[1$}\E[K\E[$}:ec=\E[%dX:ei=\E[4l:fs=\E[$}:\
2745         :ho=\E[H:ic=\E[@:im=\E[4h:is=\E[?7h\E[>\E[?1h\E F\E[?4l:\
2746         :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
2747         :k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
2748         :kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
2749         :md=\E[1m:me=\E[0m:mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:sc=\E7:\
2750         :se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
2751         :ts=\E[2$~\E[1$}\E[1;%dH:ue=\E[24m:up=\E[A:us=\E[4m:\
2752         :vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
2753 vt400|dec-vt400|DEC VT400 level terminal for telnet alias:\
2754         :tc=vt420:
2755 vt420-w|DEC vt420 7 bit controls 132x24 autowrap:\
2756         :co#132:tc=vt420:
2757 vt420-36|DEC vt420 7 bit controls 80x36 autowrap:\
2758         :li#36:tc=vt420:
2759 vt420-36w|DEC vt420 7 bit controls 132x36 autowrap:\
2760         :co#132:li#36:tc=vt420:
2761
2762 # From ftp://gatekeeper.dec.com/pub/DEC/termcaps/ :
2763 #
2764 # vt520.tc (9/30/94)
2765 #
2766 # VT520/VT525
2767 #
2768 # The VT520 is a monochrome text terminal capable of managing up to
2769 # four independent sessions in the terminal.  It has multiple ANSI
2770 # emulations (VT520, VT420, VT320, VT220, VT100, VT PCTerm, SCO Console)
2771 # and ASCII emulations (WY160/60, PCTerm, 50/50+, 150/120, TVI 950,
2772 # 925 910+, ADDS A2).  This termcap data is for the ANSI emulations only.
2773 # SCO Console emulation uses the "ansi" entry.  Existing ASCII termcap
2774 # entries are used with the ASCII emulations.
2775 #
2776 # Terminal Set-Up is entered by pressing [F3], [Caps Lock]/[F3] or
2777 # [Alt]/[Print Screen] depending upon which keyboard and which
2778 # terminal mode is being used.  If Set-Up has been disabled or
2779 # assigned to an unknown key, Set-Up may be entered by pressing
2780 # [F3] as the first key after power up, regardless of keyboard type.
2781 #
2782 vt520|DEC VT520 :\
2783         :am:mi:xn:xo:bs:pt:\
2784         :co#80:li#24:kn#3:\
2785         :ae=4\E(B:al=\E[L:as=2\E(0:cd=50\E[J:ce=3\E[K:\
2786         :cl=50\E[;H\E[2J:cm=10\E[%i%d;%dH:cs=\E[%i%d;%dr:\
2787         :dc=\E[P:dl=\E[M:ei=\E[4l:ho=\E[H:\
2788         :if=/usr/lib/tabset/vt100:\
2789         :im=\E[4h:\
2790         :is=\E[1;24r\E[24;1H:\
2791         :r3=\E[?67h\E[64;1"p:\
2792         :i3=\E[?67h\E[64;1"p:\
2793         :k0=\E[29~:\
2794         :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
2795         :k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:k9=\E[21~:\
2796         :kb=\b:kd=\E[B:ke=\E>:kl=\E[D:\
2797         :kr=\E[C:ks=\E=:ku=\E[A:nd=\E[C:\
2798         :sc=\E7:rc=\E8:rf=/usr/lib/tabset/vt100:\
2799         :se=\E[m:so=\E[7m:\
2800         :sr=\EM:ue=\E[m:up=\E[A:us=\E[4m:nl=\E[B:ko=do,nd,up:
2801 #
2802 vt520nam|vt520-nam|v520n|DEC VT520 with no automargins:\
2803         :am@:tc=vt520:
2804
2805 #
2806 # For ANSI color-enabled terminal emulators
2807 #
2808 vt100-color|vt100-co|vt100 emulator with ANSI colors:\
2809         :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m\E[m:tc=vt100:
2810 vt102-color|vt102-co|vt102 emulator with ANSI colors:\
2811         :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m\E[m:tc=vt102:
2812 putty|vt220-color|vt220-co|vt220 emulator with ANSI colors:\
2813         :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m\E[m:tc=vt220:
2814 # Attempt to save some of 1024 buf space truncating description
2815 # and names list
2816 vt320-co|vt320 color:\
2817         :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m\E[m:tc=vt320:
2818 vt320-color|vt320 co:\
2819         :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m\E[m:tc=vt320:
2820 vt340-co|vt340 color:\
2821         :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m\E[m:tc=vt340:
2822 vt340-color|vt340 co:\
2823         :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m\E[m:tc=vt340:
2824 #
2825 # SC,SB,SH,SW names needed for screen(1)
2826 #
2827 SC|screen|VT 100/ANSI X3.64 virtual terminal:\
2828         :am:xn:ms:mi:G0:km:\
2829         :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bs:bt=\E[Z:\
2830         :cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:ct=\E[3g:\
2831         :do=^J:nd=\E[C:pt:rc=\E8:rs=\Ec:sc=\E7:st=\EH:up=\EM:\
2832         :le=^H:bl=^G:cr=^M:it#8:ho=\E[H:nw=\EE:ta=^I:is=\E)0:\
2833         :li#24:co#80:us=\E[4m:ue=\E[24m:so=\E[3m:se=\E[23m:\
2834         :mb=\E[5m:md=\E[1m:mr=\E[7m:me=\E[m:sr=\EM:al=\E[L:\
2835         :AL=\E[%dL:dl=\E[M:DL=\E[%dM:cs=\E[%i%d;%dr:dc=\E[P:\
2836         :DC=\E[%dP:im=\E[4h:ei=\E[4l:IC=\E[%d@:\
2837         :ks=\E[?1h\E=:ke=\E[?1l\E>:vb=\Eg:\
2838         :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=^H:\
2839         :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:\
2840         :k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:F1=\E[23~:F2=\E[24~:\
2841         :F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:\
2842         :F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:\
2843         :kh=\E[1~:kI=\E[2~:kD=\E[3~:@7=\E[4~:kP=\E[5~:\
2844         :kN=\E[6~:eA=\E(B\E)0:as=^N:ae=^O:ti=\E[?1049h:te=\E[?1049l:\
2845         :vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l:\
2846         :Co#8:pa#64:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:AX:\
2847         :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++,,hhII00:
2848 SB|screen-bce|VT 100/ANSI X3.64 virtual terminal with bce:\
2849         :ut:tc=screen:
2850 SH|screen-s|VT 100/ANSI X3.64 virtual terminal with hardstatus line:\
2851         :ts=\E_:fs=\E\\:ds=\E_\E\\:tc=screen:
2852 SW|screen-w|VT 100/ANSI X3.64 virtual terminal with 132 cols:\
2853         :co#132:tc=screen:
2854 screen-256color|VT 100/ANSI X3.64 terminal with 256 colors:\
2855         :Co#256:pa#32767:\
2856         :AB=\E[48;5;%dm:AF=\E[38;5;%dm:tc=screen:
2857 # $XTermId: termcap,v 1.78 2009/11/09 00:24:26 tom Exp $
2858 #
2859 # Note:
2860 #       termcap format is limited to 1023 characters.  This set of descriptions
2861 #       is a subset of the terminfo, since not all features can be fit into
2862 #       that limit.  The 'xterm' description supports color.  The monochrome
2863 #       'xterm-mono' drops color in favor of additional function keys.  If you
2864 #       need both, use terminfo.
2865 #
2866 #       The 1023-character limit applies to each entry after resolving the
2867 #       "tc=" strings.  Some implementations may discount all or part of the
2868 #       formatting characters in the entry (i.e., the backslash newline tab
2869 #       colon).  GNU termcap does not have this limit.
2870 #
2871 #       I checked the limits using ncurses "captoinfo -CrTUvx", which prints
2872 #       the resolved length of each entry in a comment at the end - T.Dickey
2873
2874 # Add the capability to "clear the screen" after exiting vi, more/less, etc.
2875 #
2876 xterm-clear:\
2877         :te=\E[?1049l:ti=\E[?1049h:\
2878         :tc=xterm-new:
2879 xterm-new|modern xterm:\
2880         :@7=\EOF:@8=\EOM:F1=\E[23~:F2=\E[24~:K2=\EOE:Km=\E[M:\
2881         :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:\
2882         :k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kI=\E[2~:\
2883         :kN=\E[6~:kP=\E[5~:kd=\EOB:kh=\EOH:kl=\EOD:kr=\EOC:ku=\EOA:\
2884         :tc=xterm-basic:
2885 #
2886 # This chunk is used for building the VT220/Sun/PC keyboard variants.
2887 xterm-basic|modern xterm common:\
2888         :am:bs:km:mi:ms:ut:xn:AX:\
2889         :Co#8:co#80:kn#12:li#24:pa#64:\
2890         :AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
2891         :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=\E(B:al=\E[L:\
2892         :as=\E(0:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
2893         :cm=\E[%i%d;%dH:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:\
2894         :ei=\E[4l:ho=\E[H:im=\E[4h:is=\E[!p\E[?3;4l\E[4l\E>:\
2895         :kD=\E[3~:kb=^H:ke=\E[?1l\E>:ks=\E[?1h\E=:le=^H:md=\E[1m:\
2896         :me=\E[m:ml=\El:mr=\E[7m:mu=\Em:nd=\E[C:op=\E[39;49m:\
2897         :rc=\E8:rs=\E[!p\E[?3;4l\E[4l\E>:sc=\E7:se=\E[27m:sf=^J:\
2898         :so=\E[7m:sr=\EM:st=\EH:\
2899         :ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[?12l\E[?25h:vi=\E[?25l:vs=\E[?12;25h:
2900
2901 # The xterm-new description has all of the features, but is not completely
2902 # compatible with vt220.  If you are using a Sun or PC keyboard, set the
2903 # sunKeyboard resource to true:
2904 #       + maps the editing keypad
2905 #       + interprets control-function-key as a second array of keys, so a
2906 #         12-fkey keyboard can support vt220's 20-fkeys.
2907 #       + maps numeric keypad "+" to ",".
2908 #       + uses DEC-style control sequences for the application keypad.
2909 #
2910 xterm-vt220|xterm emulating vt220:\
2911         :*6=\E[4~:@7=\E[4~:K2=\EOu:Km=\E[M:kH=\E[4~:kh=\E[1~:\
2912         :tc=xterm-basic:
2913
2914 xterm-24|xterms|vs100|24x80 xterm:\
2915         :li#24:tc=xterm-old:
2916 xterm-65|65x80 xterm:\
2917         :li#65:tc=xterm-old:
2918 xterm-bold|xterm with bold for underline:\
2919         :so=\E[7m:us=\E[1m:tc=xterm-old:
2920 xterm-boldso|xterm with bold for standout:\
2921         :se=\E[m:so=\E[1m:tc=xterm-old:
2922 xterm-mono|monochrome xterm:\
2923         :ut@:\
2924         :Co@:NC@:kn#20:pa@:\
2925         :AB@:AF@:Sb@:Sf@:op@:st@:tc=xterm-old:
2926 #
2927 # Alternate terminal description that "works" for interactive shells such as
2928 # tcsh and bash.
2929 xterm-noapp|xterm with cursor keys in normal mode:\
2930         :kd=\E[B:ke=\E>:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:te@:ti@:\
2931         :tc=xterm:
2932 #
2933 # This should work for the commonly used "color xterm" variations (XFree86
2934 # xterm, color_xterm, nxterm, rxvt).  Note that it does not set 'bce', so for
2935 # XFree86 and rxvt, some applications that use colors will be less efficient,
2936 # and in a few special cases (with "smart" optimization) the wrong color will
2937 # be painted in spots.
2938 xterm-color|generic "ANSI" color xterm:\
2939         :Co#8:NC@:pa#64:\
2940         :AB=\E[4%dm:AF=\E[3%dm:ac=:op=\E[m:tc=xterm-r6:
2941 #
2942 # These aliases are for compatibility with the terminfo; termcap cannot provide
2943 # the extra features such as color initialization, but termcap applications
2944 # still want the names.
2945 xterm-16color|xterm alias 1:\
2946         :tc=xterm-new:
2947
2948 xterm-88color|xterm alias 2:\
2949         :Co#88:pa#7744:tc=xterm-256color:
2950
2951 xterm-256color|xterm alias 3:\
2952         :Co#256:pa#32767:\
2953         :AB=\E[48;5;%dm:AF=\E[38;5;%dm:tc=xterm-new:
2954
2955 xterm-nrc|xterm alias 4:\
2956         :tc=xterm:
2957 xterm-rep|xterm alias 5:\
2958         :tc=xterm:
2959 xterm-xmc|xterm alias 6:\
2960         :sg#1:tc=xterm:
2961 #
2962 # An 8-bit description is doable with termcap, but there are probably no
2963 # termcap (or BSD curses) applications that are able to use it.
2964 #
2965 # Add the capability to "clear the screen" after exiting vi, more/less, etc.
2966 #
2967 xterm-8bit-clear:\
2968         :te=\233?1049l:ti=\233?1049h:ue=\23324m:\
2969         :tc=xterm-8bit:
2970 xterm-8bit|xterm terminal emulator 8-bit controls (X Window System):\
2971         :am:km:mi:ms:xn:\
2972         :co#80:it#8:li#24:\
2973         :AL=\233%dL:DC=\233%dP:DL=\233%dM:DO=\233%dB:IC=\233%d@:\
2974         :K2=\217y:Km=\233M:LE=\233%dD:RI=\233%dC:UP=\233%dA:\
2975         :ae=\E(B:al=\233L:as=\E(0:bl=^G:bt=\233Z:cd=\233J:ce=\233K:\
2976         :cl=\233H\2332J:cm=\233%i%d;%dH:cr=^M:cs=\233%i%d;%dr:\
2977         :ct=\2333g:dc=\233P:dl=\233M:do=^J:ei=\2334l:ho=\233H:\
2978         :im=\2334h:\
2979         :is=\E[62"p\E G\233m\233?7h\E>\E7\233?1;3;4;6l\2334l\233r\E8:\
2980         :k1=\23311~:k2=\23312~:k3=\23313~:k4=\23314~:k5=\23315~:\
2981         :k6=\23317~:k7=\23318~:k8=\23319~:k9=\23320~:kD=\2333~:\
2982         :kI=\2332~:kN=\2336~:kP=\2335~:kb=^H:kd=\217B:\
2983         :ke=\233?1l\E>:kh=\2331~:kl=\217D:kr=\217C:ks=\233?1h\E=:\
2984         :ku=\217A:le=^H:mb=\2335m:md=\2331m:me=\233m:mr=\2337m:\
2985         :nd=\233C:rc=\E8:sc=\E7:se=\23327m:sf=^J:so=\2337m:sr=\215:\
2986         :st=\210:ta=^I:ue=\23324m:\
2987         :up=\233A:us=\2334m:vb=\233?5h\233?5l:ve=\233?25l\233?25h:\
2988         :vs=\233?12;25h:vi=\233?25l:
2989 #
2990 xterm-hp|xterm with hpterm function keys:\
2991         :@7=\EF:k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:\
2992         :k8=\Ew:kC=\EJ:kD=\EP:kI=\EQ:kN=\ES:kP=\ET:kd=\EB:kh=\Eh:\
2993         :kl=\ED:kr=\EC:ku=\EA:tc=xterm-basic:
2994 #
2995 xterm-sco|xterm with SCO function keys:\
2996         :@1=\E[E:@7=\E[F:F1=\E[W:F2=\E[X:F3=\E[Y:F4=\E[Z:F5=\E[a:\
2997         :F6=\E[b:F7=\E[c:F8=\E[d:F9=\E[e:FA=\E[f:FB=\E[g:FC=\E[h:\
2998         :FD=\E[i:FE=\E[j:FF=\E[k:FG=\E[l:FH=\E[m:FI=\E[n:FJ=\E[o:\
2999         :FK=\E[p:FL=\E[q:FM=\E[r:FN=\E[s:FO=\E[t:FP=\E[u:FQ=\E[v:\
3000         :FR=\E[w:FS=\E[x:FT=\E[y:FU=\E[z:FV=\E[@:FW=\E[[:FX=\E[\\:\
3001         :FY=\E[]:FZ=\E[\136:Fa=\E[_:Fb=\E[`:Fc=\E[{:Km=\E[>M:\
3002         :k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:\
3003         :k8=\E[T:k9=\E[U:k;=\E[V:kD=\177:kI=\E[L:kN=\E[G:kP=\E[I:\
3004         :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:tc=xterm-basic:
3005 #
3006 xterm-vt52|xterm emulating vt52:\
3007         :bs:\
3008         :co#80:it#8:li#24:\
3009         :ae=\EG:as=\EF:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :\
3010         :cr=^M:do=\EB:ho=\EH:kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:\
3011         :le=\ED:nd=\EC:nw=^M^J:sf=^J:sr=\EI:ta=^I:up=\EA:
3012 #
3013 xterm-sun|xterm with Sun functionkeys:\
3014         :%1=\E[196z:&8=\E[195z:@0=\E[200z:@5=\E[197z:@7=\E[220z:\
3015         :F1=\E[192z:F2=\E[193z:K2=\E[218z:Km=\E[M:k1=\E[224z:\
3016         :k2=\E[225z:k3=\E[226z:k4=\E[227z:k5=\E[228z:k6=\E[229z:\
3017         :k7=\E[230z:k8=\E[231z:k9=\E[232z:k;=\E[233z:kD=\E[3z:\
3018         :kI=\E[2z:kN=\E[222z:kP=\E[216z:kh=\E[214z:\
3019         :tc=xterm-basic:
3020 #
3021 # vi may work better with this entry, because vi doesn't use insert mode much.
3022 # |xterm-ic|xterm-vi|xterm with insert character instead of insert mode:\
3023 xterm-ic|xterm-vi|xterm with insert char:\
3024         :mi@:\
3025         :IC=\E[%d@:ei@:ic=\E[@:im@:tc=xterm:
3026 #
3027 # Compatible with the X11R6.3 xterm
3028 #
3029 # Add the capability to "clear the screen" after exiting vi, more/less, etc.
3030 #
3031 xterm-r6-clear:\
3032         :te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[m:\
3033         :tc=xterm-r6:
3034 xterm-r6|xterm-old|X11R6 xterm:\
3035         :am:bs:km:mi:ms:pt:xn:\
3036         :co#80:kn#20:li#24:\
3037         :*6=\E[4~:@0=\E[1~:@7=\E[4~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
3038         :DO=\E[%dB:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
3039         :F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
3040         :FA=\E[34~:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:\
3041         :as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:\
3042         :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:eA=\E)0:ei=\E[4l:\
3043         :ho=\E[H:im=\E[4h:\
3044         :is=\E[m\E[?7h\E[4l\E>\E7\E[r\E[?1;3;4;6l\E8:\
3045         :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
3046         :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
3047         :kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:\
3048         :ke=\E[?1l\E>:kh=\E[1~:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
3049         :ku=\EOA:md=\E[1m:me=\E[m:ml=\El:mr=\E[7m:mu=\Em:nd=\E[C:\
3050         :rc=\E8:rs=\E[m\E[?7h\E[4l\E>\E7\E[r\E[?1;3;4;6l\E8:\
3051         :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:\
3052         :ue=\E[m:up=\E[A:us=\E[4m:
3053 #
3054 # Compatible with the R5 xterm
3055 #
3056 # Add the capability to "clear the screen" after exiting vi, more/less, etc.
3057 #
3058 xterm-r5-clear:\
3059         :te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[m:\
3060         :tc=xterm-r5:
3061 xterm-r5|X11R5 xterm X11R5:\
3062         :am:bs:km:mi:ms:pt:xn:\
3063         :co#80:kn#4:li#24:\
3064         :@7=\E[4~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
3065         :IC=\E[%d@:UP=\E[%dA:al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
3066         :cm=\E[%i%d;%dH:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:\
3067         :ei=\E[4l:ho=\E[H:im=\E[4h:\
3068         :is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l:\
3069         :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:kb=^H:kd=\EOB:\
3070         :ke=\E[?1l\E>:kh=\E[1~:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
3071         :ku=\EOA:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:rc=\E8:\
3072         :rs=\E>\E[?1;3;4;5;6l\E[4l\E[?7h\E[m\E[r\E[2J\E[H:\
3073         :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:\
3074         :up=\E[A:us=\E[4m:
3075 #
3076 # Customization begins here.
3077 xterm-xfree86|xterm terminal emulator (XFree86):\
3078         :tc=xterm-new:
3079 #
3080 # This is the only entry which you should have to customize, since "xterm"
3081 # is widely used for a variety of incompatible terminal emulations including
3082 # color_xterm and rxvt.
3083 xterm|X11 terminal emulator:\
3084         :tc=xterm-new:
3085 #       :tc=xterm-r6:
3086 # dtterm termcap entry - Obtained from Xinside's CDE with permission
3087 # from Thomas Roell
3088 dtterm|dtterm-cde10:\
3089         :am:km:mi:ms:xn:\
3090         :co#80:li#24:Co#8:it#8:lm#0:pa#8:\
3091         :AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:\
3092         :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
3093         :bl=^G:cr=\r:ta=\t:\
3094         :cl=\E[H\E[J:cb=\E[1K:ce=\E[K:cd=\E[J:\
3095         :cm=\E[%i%d;%dH:ho=\E[H:\
3096         :LE=\E[%dD:le=\b:\
3097         :DO=\E[%dB:do=\n:\
3098         :RI=\E[%dC:nd=\E[C:\
3099         :UP=\E[%dA:up=\E[A:\
3100         :DC=\E[%dP:dc=\E[P:DL=\E[%dM:dl=\E[M:\
3101         :IC=\E[%d@:ic=\E[@:AL=\E[%dL:al=\E[L:\
3102         :sc=\E7:rc=\E8:\
3103         :sf=\ED:sr=\EM:\
3104         :st=\EH:ct=\E[3g:\
3105         :me=\E[0m:md=\E[1m:mr=\E[7m:\
3106         :as=^N:ae=^O:\
3107         :SA=\E[?7h:RA=\E[?7l:\
3108         :so=\E[2;7m:se=\E[22;27m:\
3109         :us=\E[4m:ue=\E[24m:\
3110         :mh=\E[2m:mb=\E[5m:vi=\E[?25l:ve=\E[?25h:ec=\E[%dX:\
3111         :mk=\E[8m:i2=\E\sF\E>\E[?1l\E[?7h\E[?45l:\
3112         :nw=\EE:op=\E[39;49m:\
3113         :kb=\b:kl=\E[D:kd=\E[B:kr=\E[C:ku=\E[A:kD=\E[3~:k1=\E[11~:k2=\E[12~:\
3114         :k3=\E[13~:k4=\E[14~:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
3115         :k9=\E[20~:k;=\E[21~:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
3116         :F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:F20=\E[34~:\
3117         :@0=\E[1~:%1=\E[28~:kI=\E[2~:kN=\E[6~:kP=\E[5~:*6=\E[4~:
3118 # vs100 emulator using tsim     (from lai@decwrl)
3119 vs100t|tsim|vs100-tsim:\
3120         :bs:cm=\EM%+ %+ :ho=\EH:do=^J:up=^K:cl=\EE:ce=\EL:cs=\ES%+ %+ :\
3121         :so=\Eh:se=\Er:us=\Eu:ue=\Ev:al=\EI:Al=\E+%+ :dl=\ED:Dl=\E-%+ :\
3122         :ic=\Ei:dc=\Ed:is=\ER:rs=\ER:am:cd=\EQ:pt:nd=\En:li#24:co#80:
3123 kterm|kterm kanji terminal emulator (X window system):\
3124         :hs:es:ts=\E[?E\E[?%i%dT:fs=\E[?F:ds=\E[?H:\
3125         :KJ:sc=\E7:rc=\E8:cs=\E[%i%d;%dr:TY=ascii:\
3126         :eA@:as=\E(0:ae=\E(B:tc=xterm-r6:
3127 kterm-color|kterm-co|kterm + ANSI colors:\
3128         :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:tc=kterm:
3129\f# --------------------------------
3130 #
3131 # h: HEWLETT PACKARD
3132 #
3133 # Note: no "ho" on HP's since that homes to top of memory, not screen.
3134 # Due to severe 2621 braindamage, the only way to get the arrow keys to
3135 # transmit anything at all is to turn on the function key labels
3136 # (f1-f8) with ks, and even then the poor user has to hold down shift!
3137 # The default 2621 turns off the labels except when it has to enable
3138 # the function keys.  If your installation prefers labels on all the time,
3139 # or off all the time (at the "expense" of the function keys) move the
3140 # 2621-nl or 2621-wl labels to the front using reorder.
3141 # Note: there are newer ROM's for 2621's that allow you to set strap A
3142 # so the regular arrow keys xmit \EA, etc, as with the 2645.  However,
3143 # even with this strap set, the terminal stops xmitting if you reset it,
3144 # until you unset and reset the strap!  Since there is no way to set/unset
3145 # the strap with an escape sequence, we don't use it in the default.
3146 # If you like, you can use 2621-ba (braindamaged arrow keys).
3147 2621-ba|2621 w/new rom, strap A set:\
3148         :ks@:ke@:ku=\EA:kd=\EB:kl=\ED:kr=\EC:kh=\Eh:tc=hp2621:
3149 # 2621 with function labels.  Most of the time they are off,
3150 # but inside vi, the function key labels appear.  You have to
3151 # hold down shift to get them to xmit.
3152 2621|hp2621|hp2621a|hp2621p|2621a|2621p|2621-pb|hp2621-fl|hp 2621:\
3153         :is=\E&j@\r:bt=\Ei:cm=\E&a%r%dc%dY:dc=2\EP:ip=2:pb#19200:\
3154         :so=\E&dD:se=\E&d@:us=\E&dD:ue=\E&d@:me=\E&d@:\
3155         :kh=\Ep\r:ku=\Et\r:kl=\Eu\r:kr=\Ev\r:kd=\Ew\r:\
3156         :kn#8:k1=\Ep\r:k2=\Eq\r:k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:k7=\Ev\r:\
3157         :k8=\Ew\r:ks=\E&jB:ke=\E&j@:ta=2^I:tc=hp:
3158 # 2621k45: untested
3159 # 2622: unsure if this is quite it, have only heard about the terminal.
3160 2621k45|hp2621k45|k45|2622|hp2622|hp 2621 with 45 keyboard:\
3161         :kb=^H:ku=\EA:kd=\EB:kl=\ED:kr=\EC:kh=\Eh:ks=\E&s1A:ke=\E&s0A:tc=2621:
3162 hp2645|2645|hp45:\
3163         :mh=\E&dH:mr=\E&dB:us=\E&dD:mb=\E&dA:me=\E&d@:\
3164         :ku=\EA:kd=\EB:kl=\ED:kr=\EC:kh=\Eh:ks=\E&s1A:ke=\E&s0A:tc=hp:
3165 hp|hpterm|hewlett-packard:\
3166         :ct=\E3:st=\E1:do=^J:al=\EL:am:le=^H:bs:\
3167         :cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\EH\EJ:cm=6\E&a%r%dc%dY:\
3168         :co#80:cv=\E&a%dY:da:db:dc=\EP:dl=\EM:ei=\ER:im=\EQ:\
3169         :kb=^H:li#24:mi:nd=\EC:pt:se=\E&d@:so=\E&dJ:\
3170         :us=\E&dD:ue=\E&d@:up=\EA:xs:vt#6:pb#9600:
3171 # This entry does not use any of the fancy windowing stuff of the 2621.
3172 # Indeed, termcap does not yet handle such stuff.  We are looking at it.
3173 hp2626|hp2626a|hp2626p|2626|2626a|2626p|hp 2626:\
3174         :dc=2\EP:ip=2:se=\E&d@:so=\E&dB:cd=500\EJ:\
3175         :mr=\E&dB:us=\E&dD:mb=\E&dA:mk=\E&dS:me=\E&d@:ue=\E&d@:\
3176         :kh=\Eh:ku=\EA:kl=\ED:kr=\EC:kd=\EB:ks=\E&s1A:ke=\E&s0A:\
3177         :sf=\ES:ta=2^I:xs:tc=2621:
3178 # cD is a pain - but it only screws up at 9600 baud.
3179 # You should use this terminal at 4800 baud or less.
3180 hp2648|hp2648a|2648a|2648|HP 2648a graphics terminal:\
3181         :cl=50\EH\EJ:cm=20\E&a%r%dc%dY:dc=7\EP:ip=5:tc=2645:
3182 # This terminal should be used at 4800 baud or less.
3183 hp2645-np|2645 w/no padding:cm=\E&a%r%dc%dY:tc=hp2645:
3184 # 2640a doesn't have the Y cursor addressing feature, and C is memory relative
3185 # instead of screen relative, as we need.
3186 2640|hp2640a|2640a|hp 2640a:\
3187         :cm@:ks@:ke@:tc=2645:
3188 2640b|hp2640b|2644a|hp2644a|hp 264x series:\
3189         :ks@:ke@:tc=2645:
3190 # 2621 using all 48 lines of memory, only 24 visible at any time.  Untested.
3191 2621-48|48 line 2621:\
3192         :li#48:ho=\EH:cm=\E&a%r%dc%dR:tc=2621:
3193 # From: mcvax!westc!ahof@seismo.css.gov (Anton Hofland) (ahof@westc.uucp)
3194 # For newer versions, :li should correspond to the actual number of lines.
3195 hp110|HP110|HP110A|Hewlett Packard 110A Portable Computer:\
3196         :co#80:li#16:am:db:cl=\E[2J:is=\E&j@\E[=7h:ch=\E&a%2C:cv=\E&a%2R:\
3197         :cm=\E&a%2r%2C:ho=\Eh:cr=^M:nl=^J:ks=\E&s1A:ke=\E&s0A:kd=\EB:\
3198         :ku=\EA:kr=\EC:kl=\ED:nd=\EC:up=\EA:le=^H:do=^J:bc=^H:bt=\Ei:\
3199         :ta=\EI:sf=\E[s\EH\EM\E[u\EJ:sr=\ET:al=\EL:dl=\EM:kb=^H:bl=^G:\
3200         :kh=\Eh:dc=\EP:im=\EQ:ei=\ER:mi:ms:xs:mr=\E[7m:mb=\E[5m:me=\E[0m:\
3201         :so=\E[7m:se=\E[0m:rs=\E[0m\E&j@:cd=\EJ:ce=\EK:kn#8:k1=\Ep:k2=\Eq:\
3202         :k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:
3203 # 2621 with no labels ever.  Also prevents vi delays on escape.
3204 2621-nl|hp2621nl|2621nl|hp2621-nl|hp 2621 with no labels:\
3205         :ks@:ke@:kh@:ku@:kl@:kr@:kd@:tc=hp2621-fl:
3206 # Needed for UCB ARPAVAX console, since lsi-11 expands tabs (wrong).
3207 hp2621-nt|2621nt|2621-nt|hp2621nt|hp 2621 w/no tabs:\
3208         :pt@:tc=hp2621:
3209 # 2621 with labels on all the time - normal outside vi, function inside vi.
3210 hp2621wl|2621wl|2621-wl|hp2621-wl|hp 2621 w/labels:\
3211         :is=\E&jA\r:ke=\E&jA:tc=hp2621-fl:
3212 # 2392 (from haddix@arpa?)
3213 2392|hp2392|hp2392a:\
3214         :bt=\Ei:ip=2:is=\E&j@\E3\r:if=/usr/share/tabset/stdcrt:\
3215         :ml=\El:MT:mu=\Em:km:\
3216         :mh=\E&dH:mr=\E&dB:us=\E&dD:mb=\E&dA:me=\E&d@:\
3217         :ku=\EA:kd=\EB:kl=\ED:kr=\EC:kh=\Eh:ks=\E&s1A:ke=\E&s0A:tc=hp:
3218 # HP 236 console
3219 # from ddavis@ic.berkeley.edu
3220 236|hp236|HP236 internal terminal emulator:\
3221         :am:bs:li#24:co#80:ce=\EK:cl=\EF:cm=\EE%+ %+ :\
3222         :dc=\EJ:dl=\EH:ic=\EI:al=\EG:up=^K:\
3223         :so=\EBI:se=\ECI:vs=\EDB:ve=\EDE:
3224 # hp150 from ddavis@ic.berkeley.edu
3225 150|hp150|hp150a|150a:\
3226         :is=\E&s1A\E&f0a1k2L\Ep\r\E&k0K\E&f0a2k2L\Eq\r\E&f0a3k2L\Er\r\E&f0a4k2L\Es\r\E&f0a5k2L\Et\r\E&f0a6k2L\Eu\r\E&f0a7k2L\Ev\r\E&f0a8k2L\Ew\r\E&k0D\E&s0A:\
3227         :bt=\Ei:li#24:cm=\E&a%r%dc%dY:dc=2\EP:ip=2:pb#19200:so=\E&dJ:\
3228         :se=\E&d@:us=\E&dD:ue=\E&d@:me=\E&d@:kh=\Eh:ku=\EA:kl=\ED:kr=\EC:\
3229         :kd=\EB:kn#8:k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:\
3230         :k8=\Ew:ta=2^I:ct=\E3:st=\E1:do=^J:al=\EL:am:le=^H:\
3231         :bs:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\Eh\EJ:co#80:cv=\E&a%dY:da:db:dl=\EM:\
3232         :ei=\ER:im=\EQ:kb=^H:mi:nd=\EC:pt:up=\EA:xs:vt#6:sf=\ES:sr=\ET:\
3233         :vs=\E&s1A:ve=\E&s0A:ks=\E&jB\E&j@:ke=\E&j@:
3234 # From leres@okeeffe: This works on a hp300 console running Utah 4.3 BSD
3235 300h|hp300h|HP Catseye console:\
3236         :am:bs:cm=\E&a%dy%dC:do=\EB:le=\b:nd=\EC:up=\EA:dc=\EP:dl=\EM:\
3237         :xs:da:db:mi:co#128:li#51:lm#0:sg#0:bt=\Ei:bl=^G:cr=\r:\
3238         :ct=\E3:cl=\E&a0y0C\EJ:ce=\EK:cd=\EJ:ch=\E&a%dC:cv=\E&a%dY:\
3239         :se=\E&d@:ue=\E&d@:im=\EQ:so=\E&dB:us=\E&dD:me=\E&d@:ei=\ER:\
3240         :if=/usr/share/tabset/stdcrt:al=\EL:kb=\b:kd=\EB:kh=\Eh:kl=\ED:\
3241         :kr=\EC:ku=\EA:ke=\E&s0A:ks=\E&s1A:sf=\n:ta=\t:
3242 # From gregc@ernie.berkeley.edu (Greg Couch)
3243 9837|hp9837|98720|hp98720|98721|hp98721|HP 9000/300 workstations:\
3244         :bs:pt:am:xs:da:db:mi:\
3245         :co#128:li#46:lm#0:\
3246         :is=\E&v0m1b0i&j@:bt=\Ei:bl=^G:ct=\E3:\
3247         :cl=\E&a0y0C\EJ:ce=\EK:cd=\EJ:ch=\E&a%dC:\
3248         :cm=\E&a%dy%dC:do=\EB:le=^H:nd=\EC:\
3249         :up=\EA:dc=\EP:dl=\EM:im=\EQ:\
3250         :so=\E&v5S:us=\E&dD:me=\E&d@:ei=\ER:\
3251         :se=\E&v0S:ue=\E&d@:al=\EL:\
3252         :kb=^H:kd=\EB:kh=\Eh:kl=\ED:\
3253         :kr=\EC:ku=\EA:ke=\E&s0A:ks=\E&s1A:\
3254         :cv=\E&a%dY:sf=\n:st=\E1:\
3255         :ko=ce,cd,al,im,dl,dc:kN=\EU:kP=\EV:
3256 # Developed 07SEP90 by Charles A. Finnell of MITRE   <finnell@mitre.org>
3257 98550|hp98550|98550a|hp98550a|HP 9000 Series 300 color console:\
3258         :ae=^O:al=\EL:am:as=^N:bl=^G:bs:bt=\Ei:cd=\EJ:ce=\EK:ch=\E&a%dC:\
3259         :cl=\EH\EJ:cm=\E&a%dy%dC:co#128:cr=\r:ct=\E3:cv=\E&a%dY:da:db:dc=\EP:\
3260         :dl=\EM:do=\n:ei=\ER:if=/usr/share/tabset/9837:im=\EQ:k1=\Ep:k2=\Eq:\
3261         :k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:kA=\EL:kC=\EJ:kD=\EP:\
3262         :kE=\EK:kF=\ES:kH=\EF:kI=\EQ:kL=\EM:kM=\ER:kN=\EU:kP=\EV:kR=\ET:\
3263         :kS=\EJ:kT=\E1:ka=\E3:kb=\b:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kn#12:\
3264         :ko=al,cd,ce,ct,dc,dl,do,ei,im,nd,st,up:kr=\EC:ks=\E&s1A:kt=\E2:\
3265         :ku=\EA:le=\b:li#49:lm#0:mb=\E&dA:md=\E&dJ:me=\E&d@:mh=\E&dH:mi:\
3266         :mk=\E&ds:mr=\E&dJ:nd=\EC:pt:se=\E&d@:sf=\n:so=\E&dJ:st=\E1:ta=\t:\
3267         :ue=\E&d@:up=\EA:us=\E&dD:ve=\E*dQ:vi=\E*dR:xs:
3268 # From: vic@fine.Princeton.EDU (Victor Duchovni)
3269 hp700-wy|HP700/41 emulating wyse30:\
3270         :al=0.7*\EE:am:bl=^G:bs:bt=\EI:bw:cd=\EY:ce=10\ET:cl=^Z:cm=\E=%+ %+ :\
3271         :co#80:cr=^M:ct=\E0:cv=\E[%+ :dc=\EW:dl=\ER:do=^V:ei=\Er:\
3272         :ho=^^:if=/usr/share/tabset/hp700-wy:ll=^^^K:mi:ms:nd=^L:nl=^J:pt:\
3273         :im=\Eq:is=\E~"\EC\Er\E(\EG0^C\E`9\E`1:kb=^?:kd=^V:\
3274         :kh=^^:kl=^H:ko=cl,ho,ce,bt,ta,im,ei,ce,cd:kr=^L:ku=^K:le=^H:li#24:\
3275         :rs=\E~"\EC\Er\E(\EG0^C\E`9\E`1:se=10\EG0:sg#1:so=10\EG4:sr=\Ej:\
3276         :st=\E1:ue=10\EG0:up=^K:ug#1:us=10\EG8:
3277\f# --------------------------------
3278 #
3279 # i: INFOTON (GENERAL TERMINAL)
3280 #
3281 # Infoton is now called General Terminal Corp. or some such thing.
3282 # gt100 sounds like something DEC would come out with.  Lets hope they don't.
3283 i100|gt100|gt100a|General Terminal 100A (formerly Infoton 100):\
3284         :do=^J:cl=^L:cd=\EJ:ce=\EK:li#24:co#80:\
3285         :al=\EL:dl=\EM:up=\EA:nd=\EC:ho=\EH:cm=\Ef%r%+ %+ :vb=\Eb\Ea:\
3286         :am:le=^H:bs:so=\Eb:se=\Ea:
3287 i400|400|infoton 400:\
3288         :do=^J:al=\E[L:am:le=^H:bs:ce=\E[N:cl=\E[2J:cm=%i\E[%3;%3H:co#80:\
3289         :dl=\E[M:li#25:nd=\E[C:up=\E[A:im=\E[4h\E[2Q:ei=\E[4l\E[0Q:\
3290         :dc=\E[4h\E[2Q\E[P\E[4l\E[0Q:
3291 addrinfo:\
3292         :do=^J:li#24:co#80:cl=^L:ho=^H:nd=^Y:cd=^K:\
3293         :up=^\:am:le=^Z:bc=^Z:cm=\037%+\377%+\377:ll=^H^\:
3294 infotonKAS:\
3295         :do=^J:am:le=^Z:bc=^Z:cd=^K:cl=^L:co#80:li#24:nd=^Y:up=^\:ll=^H^\:
3296\f# --------------------------------
3297 #
3298 # k: HEATHKIT (ZENITH)
3299 #
3300 h19-a|h19a|heath-ansi|heathkit-a|heathkit h19 ansi mode:\
3301         :\
3302         :al=1*\E[1L:am:le=^H:bs:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%2;%2H:co#80:\
3303         :dc=\E[1P:dl=1*\E[1M:do=\E[1B:ei=\E[4l:ho=\E[H:im=\E[4h:li#24:mi:\
3304         :nd=\E[1C:as=\E[10m:ae=\E[11m:ms:pt:se=\E[0m:so=\E[7m:up=\E[1A:\
3305         :vs=\E[>4h:ve=\E[>4l:kb=^h:ku=\E[1A:kd=\E[1B:kl=\E[1D:kr=\E[1C:\
3306         :kh=\E[H:kn#8:k1=\EOS:k2=\EOT:k3=\EOU:k4=\EOV:k5=\EOW:l6=blue:\
3307         :l7=red:l8=white:k6=\EOP:k7=\EOQ:k8=\EOR:\
3308         :sr=\EM:is=\E<\E[>1;2;3;4;5;6;7;8;9l\E[0m\E[11m\E[?7h:
3309 h19-bs|h19bs|heathkit w/keypad shifted:\
3310         :ks=\Et:ke=\Eu:tc=h19-b:
3311 # written by David Shewmake, UCSF Medical Information Science
3312 # ucbvax!ucsfmis!shewmake
3313 h29|heath-29|z29|zenith-29:\
3314         :am:bc=\ED:bt=\E-:do=^J:\
3315         :al=\EL:le=^H:bs:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :co#80:dc=\EN:\
3316         :dl=1*\EM:do=\EB:ei=\EO:ho=\EH:im=\E@:li#24:mi:nd=\EC:as=\EF:ae=\EG:\
3317         :ms:pt:sr=\EI:se=\Eq:so=\Ep:up=\EA:vs=\Ex4:ve=\Ey4:\
3318         :kb=^H:ku=\EA:kd=\EB:kl=\ED:kr=\EC:kh=\EH:kn#1:k0=\E~:l0=HOME:\
3319         :k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:k8=\ER:k9=\E0I:\
3320         :es:hs:ts=\Ej\Ex5\Ex1\EY8%+ \Eo:fs=\Ek\Ey5:ds=\Ey1:us=\Es8:ue=\Es0:
3321 # the z29-e entry sucks...but it works with emacs
3322 z29-e|zenith 29 hacked for emacs:\
3323         :ip=1.5:ks=\Et:ke=\Eu:vs@:ve@:al=1*\EL:am:le=^H:\
3324         :bs:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :co#80:dc=\EN:dl=1*\EM:\
3325         :do=\EB:ho=\EH:li#24:nd=\EC:as=\EF:ae=\EG:ms:\
3326         :pt:sr=\EI:se=\Eq:so=\Ep:up=\EA:vs=\Ex4:ve=\Ey4:kb=^h:\
3327         :ku=\EA:kd=\EB:kl=\ED:kr=\EC:kh=\EH:kn#8:k1=\ES:k2=\ET:k3=\EU:\
3328         :k4=\EV:k5=\EW:l6=blue:l7=red:l8=white:k6=\EP:k7=\EQ:k8=\ER:es:hs:\
3329         :ts=\Ej\Ex5\Ex1\EY8%+ \Eo:fs=\Ek\Ey5:ds=\Ey1:
3330 # z29 in ansi mode. Assumes that the cursor is in the correct state, and that
3331 # the world is stable. `rs' causes the terminal to be reset to the state
3332 # indicated by the name. kc -> key click, nkc -> no key click, uc -> underscore
3333 # cursor, bc -> block cursor.
3334 # from Mike Meyers
3335 z29a|z29a-kc-bc|h29a-kc-bc|heath/zenith 29 in ansi mode:\
3336         :do=^J:co#80:li#24:cl=\E[2J:pt:ho=\E[H:\
3337         :le=^H:bs:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:mb=\E[5m:mr=\E7m:\
3338         :ce=\E[K:cd=\E[J:so=\E[7;2m:se=\E[m:us=\E[4m:ue=\E[m:mh=\E[2m:\
3339         :md=\E[2m:mr=\E[7m:mb=\E[5m:me=\E[m:\
3340         :rs=\E<\E[1;24r\E[24;1H\E[?7h\E[>4h\E[>1;2;3;5;6;7;8;9l\E[m\E[11m:\
3341         :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=^H:\
3342         :k1=\EOS:k2=\EOT:k3=\EOU:k4=\EOV:k5=\EOW:k6=\EOP:k7=\EOQ:k8=\EOR:\
3343         :k9=\EOX:k0=\E[~:l0=help:kn#2:ko=ho,cd:if=/usr/share/tabset/zenith29:\
3344         :es:hs:ts=\E[s\E[>5;1h\E[25;%i%dH\E[1K:fs=\E[u\E[>5l:ds=\E[>1l:\
3345         :cs=\E[%i%d;%dr:sr=\EM:sf=\ED:DO=\E[%dB:UP=\E[%dA:LE=\E[%dD:\
3346         :RI=\E[%dC:AL=\E[%dL:DL=\E[%dM:sc=\E[s:rc=\E[r:dc=\E[1P:DC=\E[%dP:\
3347         :kC=\E[J:ct=\E[3g:st=\EH:ti=\E[?7l:te=\E[?7h:ps=\E#7:
3348 z29a-kc-uc|h29a-kc-uc:\
3349         :rs=\E<\E[1;24r\E[24;1H\E[?7h\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m:\
3350         :tc=z29a:
3351 z29a-nkc-bc|h29a-nkc-bc:\
3352         :rs=\E<\E[1;24r\E[24;1H\E[?7h\E[>2;4h\E[>1;3;5;6;7;8;9l\E[m\E[11m:\
3353         :tc=z29a:
3354 z29a-nkc-uc|h29a-nkc-uc:\
3355         :rs=\E<\E[1;24r\E[24;1H\E[?7h\E[>2h\E[>1;3;4;5;6;7;8;9l\E[m\E[11m:\
3356         :tc=z29a:
3357 # z100 entry from Brad Brahms at TRW (Brahms@USC-ECLC)
3358 #                          usenet: {decvax,ucbvax}!trwrb!trwspp!brahms
3359 z100|h100|z110|z-100|h-100|heath/zenith z-100 pc with color monitor:\
3360         :vs=\Ex4\Em71:ve=\Ey4\Em70:tc=z100bw:
3361 z100bw|h100bw|z110bw|z-100bw|h-100bw|heath/zenith z-100 pc:\
3362         :al=5*\EL:bs:cd=\EJ:ce=\EK:cl=5*\EE:cm=1*\EY%+ %+ :co#80:dc=1*\EN:\
3363         :dl=5*\EM:do=\EB:ei=\EO:ho=\EH:im=\E@:li#24:mi:nd=\EC:as=\EF:ae=\EG:\
3364         :ms:pt:sr=\EI:se=\Eq:so=\Ep:up=\EA:vs=\Ex4:ve=\Ey4:\
3365         :kb=^h:ku=\EA:kd=\EB:kl=\ED:kr=\EC:kh=\EH:kn#10:\
3366         :k0=\EJ:k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:\k6=\EP:k7=\EQ:\
3367         :k8=\ER:k9=\EOI:
3368 p19:\
3369         :al=2*\EL:dl=2*\EM:tc=h19-b:
3370 h19-us|h19us|heathkit w/keypad shifted/underscore cursor:\
3371         :ks=\Et:ke=\Eu:tc=h19-u:
3372 h19|heath|h19-b|h19b|heathkit|heath-19|z19|zenith|heathkit h19:\
3373         :al=1*\EL:am:le=^H:bs:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :co#80:dc=\EN:\
3374         :dl=1*\EM:do=\EB:ei=\EO:ho=\EH:im=\E@:li#24:mi:nd=\EC:as=\EF:ae=\EG:\
3375         :ms:pt:sr=\EI:se=\Eq:so=\Ep:up=\EA:vs=\Ex4:ve=\Ey4:\
3376         :kb=^h:ku=\EA:kd=\EB:kl=\ED:kr=\EC:kh=\EH:kn#8:ke=\E>:ks=\E=:\
3377         :k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:\
3378         :l6=blue:l7=red:l8=white:k6=\EP:k7=\EQ:k8=\ER:\
3379         :es:hs:ts=\Ej\Ex5\Ex1\EY8%+ \Eo:fs=\Ek\Ey5:ds=\Ey1:
3380 h19-e|h19e|h19 for emacs:ip=1.5:tc=h19-us:
3381 h19-u|h19u|heathkit with underscore cursor:\
3382         :vs@:ve@:tc=h19-b:
3383 h19-g|h19g|heathkit w/block cursor:\
3384         :ve=\Ex4:tc=h19-b:
3385 # from ucscc!B.fiatlux@ucbvax.berkeley.edu
3386 ztx|ztx11|zt-1|htx11|ztx-1-a|ztx-10/11:\
3387         :al=\EL:am:bs:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :co#80:\
3388         :dl=\EM:do=^J:ho=\EH:is=\Ej\EH\Eq\Ek\Ev\Ey1\Ey5\EG\Ey8\Ey9\Ey>:\
3389         :k0=\ES:k1=\EB:k2=\EU:k3=\EV:k4=\EW:k5=\EP:k6=\EQ:k7=\ER:kb=^H:kd=\EB:\
3390         :kl=\ED:kr=\EC:ku=\EA:le=^H:li#24:nd=\EC:pt:se=\Eq:so=\Es5:\
3391         :sr=\EI:sr=\EI:ue=\Eq:up=\EA:us=\Es2:\
3392         :es:hs:ts=\Ej\Ex5\Ex1\EY8%+ \Eo:fs=\Ek\Ey5:ds=\Ey1:
3393\f# --------------------------------
3394 #
3395 # l: LEAR SIEGLER (ADM)
3396 #
3397 # If the adm31 gives you trouble with standout mode, check the DIP switch
3398 # in position 6, bank @c11, 25% from back end of pc.  Should be OFF.
3399 # If there is no such switch, you have an old adm31 and must use oadm31
3400 adm31|31|lsi adm31:\
3401         :is=\Eu\E0:do=^J:al=\EE:am:le=^H:bs:ce=\ET:cm=\E=%+ %+ :\
3402         :cl=\E*:cd=\EY:co#80:dc=\EW:dl=\ER:ei=\Er:ho=^^:im=\Eq:\
3403         :k0=^A0\r:k1=^A1\r:k2=^A2\r:k3=^A3\r:k4=^A4\r:\
3404         :k5=^A5\r:k6=^A6\r:k7=^A7\r:k8=^A8\r:k9=^A9\r:kd=^J:kl=^H:kr=^L:ku=^K:\
3405         :li#24:ma=j^Jk^P^K^Pl ^R^L^L :mi:nd=^L:\
3406         :se=\EG0:so=\EG1:up=^K:us=\EG1:ue=\EG0:
3407 adm2|lsi adm2:\
3408         :do=^J:al=\EE:am:le=^H:bs:cd=\EY:ce=\ET:cl=\E;:\
3409         :cm=\E=%+ %+ :co#80:dc=\EW:dl=\ER:\
3410         :ho=^^:ic=\EQ:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:li#24:nd=^L:up=^K:
3411 adm3|3|lsi adm3:\
3412         :do=^J:am:le=^H:bs:cl=^Z:li#24:ma=^K^P:co#80:
3413 adm42|42|lsi adm42:\
3414         :vs=\EC\E3 \E3(:do=^J:al=270\EE:am:le=^H:bs:cd=\EY:ce=\ET:cl=\E;:\
3415         :cm=\E=%+ %+ :co#80:dc=\EW:dl=\ER:ei=\Er:im=\Eq:ip=6*:li#24:\
3416         :bt=\EI:nd=^L:se=\EG0:so=\EG4:up=^k:ma=^K^P:pc=\177:
3417 adm5|5|lsi adm5:\
3418         :do=^J:cd=\EY:ce=\ET:do=^J:kb=^H:kh=^^:\
3419         :ma=^Hh^Jj^Kk^Ll^^H:se=\EG:sg#1:so=\EG:tc=adm3aplus:
3420 adm20|lear siegler adm20:\
3421         :am:li#24:co#80:bs:cl=^Z:cm=\E=%i%r%+^_%+^_:nd=^L:up=^K:ho=^^:ce=\ET:\
3422         :cd=\EY:al=\EE:dl=\ER:ic=\EQ:dc=\EW:so=\E):se=\E(:\
3423         :bt=\EI:pt:kn#7:k1=^A:k2=^B:k3=^W:k4=^D:k5=^E:k6:^X:k7=^Z:
3424 # From Andrew Scott Beals <bandy@lll-crg.ARPA>
3425 adm12|12|lsi adm12:\
3426         :is=\Eq:do=^J:al=\EE:am:le=^H:bs:ce=\ET:cm=\E=%+ %+ :cl=^Z:cd=\EY:\
3427         :co#80:dc=\EW:dl=\ER:ei=\Er:ho=^^:im=\Eq:\
3428         :k0=^A0\r:k1=^A1\r:k2=^A2\r:k3=^A3\r:k4=^A4\r:\
3429         :k5=^A5\r:k6=^A6\r:k7=^A7\r:k8=^A8\r:k9=^A9\r:kd=^J:kl=^H:kr=^L:ku=^K:\
3430         :li#24:ma=j^Jk^P^K^Pl ^R^L^L :mi:nd=^L:\
3431         :se=\EG0:so=\EG4:up=^K:us=\EG1:ue=\EG0:
3432 adm3a|3a|lsi adm3a:\
3433         :am:do=^J:le=^H:bs:cm=\E=%+ %+ :cl=1^Z:co#80:ho=^^:\
3434         :li#24:ma=^K^P:nd=^L:up=^K:
3435 adm3a+|3a+|adm3aplus:\
3436         :kl=^H:kd=^J:ku=^K:kr=^L:tc=adm3a:
3437 adm22|22|lsi adm22:\
3438         :is=\E%\014\014\014\016\003\000\003\002\003\002\000\000\000\000\000\000\000\000\000\000\000:\
3439         :al=\EE:am:bs:bt=\EI:cd=\Ey:ce=\Et:cl=\E+:cm=\000\E=%+ %+ :co#80:\
3440         :dc=\EW:dl=\ER:do=^J:ho=^^:ic=\EQ:\
3441         :k1=\001@\015:k2=\001A\015:k3=\001B\015:k4=\001C\015:\
3442         :k5=\001D\015:k6=\001E\015:k7=\001F\015:kn#7:\
3443         :ko=ho:l1=F1:l2=F2:l3=F3:l4=F4:l5=F5:l6=F6:l7=F7:\
3444         :kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:li#24:\
3445         :ma=j^Jk^P^K^Pl ^R^L^L :nd=^L:se=\E(:so=\E):ta=\Ei:up=^K:
3446 # From: stephen%comp.lancs.ac.uk@ucl-cs.arpa
3447 adm11|lsi adm11:\
3448         :do=^J:bs:\
3449         :cd=\EY:ce=\ET:kb=^H:kh=^^:\
3450         :ma=^Hh^Jj^Kk^Ll^^H:so=\E):se=\E(:\
3451         :kl=^H:kd=^J:ku=^K:kr=^L:\
3452         :am:cm=\E=%+ %+ :cl=^Z:co#80:li#24:nd=^L:up=^K:\
3453         :hs:ts=\EF\E):fs=\E(^M:ds=\Eh:
3454\f# --------------------------------
3455 #
3456 # m: MICROTERM
3457 #
3458 # These mime1 entries refer to the Microterm Mime I or Mime II.
3459 # The default mime is assumed to be in enhanced act iv mode.
3460 mime3a|mime1 emulating 3a:\
3461         :am@:ma=^X ^K^J^Z^P:ku=^Z:kd=^K:kl=^H:kr=^X:tc=adm3a:
3462 # New "safe" cursor movement (5/87) from reuss@umd5.  Prevents freakout with
3463 # out-of-range args on Sytek multiplexors.  No so and se since it gets confused
3464 # and it's too dim anyway.  No ic since Sytek insists ^S means xoff.
3465 act4|microterm|microterm act iv:\
3466         :am:bs:cd=2.2*^_:ce=.1*^~:cl=12^L:cm=^T%+^X%>/0%+P:co#80:li#24:\
3467         :le=^H:nd=^X:up=^Z:ho=^]:al=2.3*^A:do=^K:dc=.1*^D:dl=2.3*^W:\
3468         :ku=^Z:kd=^K:kl=^H:kr=^X:\
3469         :.so=^N:.se=^N:.ic=2^S:.ip=.1*^V:.cm=^T%.%.:
3470 # The padding on sr and ta for act5 and mime is a guess and not final.
3471 # The act 5 has hardware tabs, but they are in columns 8, 16, 24, 32, 41 (!)...
3472 microterm5|act5|microterm act v:\
3473         :uc=^H\EA:sr=3\EH:ku=^Z:kd=^K:kl=^H:kr=^X:ma=^Z^P^Xl^Kj:tc=act4:
3474 # Act V in split screen mode.  act5s is not tested and said not to work.
3475 act5s|skinny act5:\
3476         :ti=\EP:te=\EQ:li#48:co#39:tc=act5:
3477 # Mimes using brightness for standout.  Half bright is really dim unless
3478 # you turn up the brightness so far that lines show up on the screen.
3479 # uc is disabled to get around a curses bug, should be put back in someday.
3480 mime-fb|full bright mime1:\
3481         :so=^Y:se=^S:is=^S\E:tc=mime:
3482 mime-hb|half bright mime1:\
3483         :so=^S:se=^Y:is=^Y\E:tc=mime:
3484 mime|mime1|mime2|mimei|mimeii|microterm mime1:\
3485         :do=^J:al=80^A:am:le=^H:bs:cd=^_:ce=^^:cl=\035^C:cm=^T%+^X%> 0%+P:\
3486         :co#80:dl=80^W:ta=2^I:li#24:nd=^X:pt:uc=^U:up=^z:ho=\035:do=^K:\
3487         :is=^S\E^Q:ma=^X ^K^J^Z^P:ku=^Z:kd=^K:kl=^H:kr=^X:sr=3^R:vt#9:
3488 # These termcaps (for mime 2a) put the terminal in low intensity mode
3489 # since high intensity mode is so obnoxious.
3490 mime2a-s|microterm mime2a (emulating an enhanced soroc iq120):\
3491         :do=^J:al=20*^A:am:le=^H:bs:cd=20*\EJ:ce=\EK:cl=\EL:cm=\E=%+ %+ :\
3492         :us=\E6:ue=\E7:co#80:dc=\ED:\
3493         :dl=20*^W:kl=^H:kr=^L:ku=^K:kd=^J:ho=^^:is=\E):sr=\EI\
3494         :im=\EE:ei=^Z:ip=2:li#24:nd=^L:so=\E\072:se=\E;:up=\EI:
3495 # This is the preferred mode (but ^X can't be used as a kill character)
3496 mime2a|mime2a-v|microterm mime2a (emulating an enhanced vt52):\
3497         :do=^J:al=20*^A:le=^H:bs:cd=20*\EQ:co#80:ce=\EP:cl=\EL:cm=\EY%+ %+ :\
3498         :is=^Y:dc=^N:dl=20*^W:ip=2:ei=^Z:ho=\EH:im=^O:kd=\EB:kl=\ED:kr=\EC:\
3499         :ku=\EA:li#24:nd=\EC:pt:se=\E9:so=\E8:up=\EA:sr=\EA:us=\E4:ue=\E5:
3500 mime3ax|mime-3ax|mime1 emulating enhanced 3a:\
3501         :al=80^A:dl=80^W:pt:ce=^X:cd=^_:tc=mime3a:
3502\f# --------------------------------
3503 #
3504 # p: PERKIN ELMER
3505 #
3506 pe550|bantam|perkin elmer 550:\
3507         :do=^J:le=^H:bs:co#80:ce=20\EI:cl=20\EK:cm=\EX%+ \EY%+ :\
3508         :ho=\EH:li#24:ll=\EH\EA:nd=\EC:up=\EA:ma=^Z^P:cd=6^N@^V:
3509 fox|perkin elmer 1100:\
3510         :ct=\E3:st=\E1:do=^J:\
3511         :am:le=^H:bs:cd=5.5*\EJ:ce=\EI:cl=132\EH\EJ:co#80:ho=\EH:li#24:\
3512         :ll=\EH\EA:nd=\EC:cm=\EX%+ \EY%+ :up=\EA:vb=^P^B^P^C:
3513 owl|perkin elmer 1200:\
3514         :ct=\E3:st=\E1:do=^J:al=5.5*\EL:am:le=^H:\
3515         :bs:cd=5.5*\EJ:ce=5.5\EI:cl=132\EH\EJ:ho=\EH:ll=\EH\EA:\
3516         :cm=\EX%+ \EY%+ :co#80:dc=5.5*\EO:dl=5.5*\EM:ic=\EN:ip=5.5*:\
3517         :kb=^h:in:li#24:nd=\EC:up=\EA:se=\E!\200:so=\E!^H:vb=^P^B^P^C:\
3518         :k1=\ERA:k2=\ERB:k3=\ERC:k4=\ERD:k5=\ERE:k6=\ERF:\
3519         :k7=\ERG:k8=\ERH:k9=\ERI:k0=\ERJ:
3520\f# --------------------------------
3521 #
3522 # q: HOME MADE TERMINALS
3523 #
3524 bill croft homebrew:\
3525         :do=^J:am:le=^H:bs:cm=\E=%+ %+ :cl=^Z:co#96:ho=^^:li#72:\
3526         :nd=^L:up=^K:vb=:
3527 nucterm|rayterm|NUC homebrew:\
3528         :do=^J:am:le=^H:bs:cl=1^L:li#24:co#80:nd=^C:\
3529         :up=^N:ho=^B:ll=^K:ce=^A:cd=^E:
3530 ex3000:\
3531         :do=^J:li#24:co#80:ho=^Q:
3532 carlock|klc:\
3533         :do=^J:al=^E:am:bs:ce=^U:cl=100^Z:cm=\E=%+ %+ :co#80:dc=\177:dl=^D:\
3534         :ei=^T:ho=^^:im=^T:li#24:nd=^L:se=^V:so=^V:up=^K:vb=\EV\EV:
3535 # uVAX
3536 qdss|qdcons|qdss glass tty:\
3537         :am:do=^J:le=^H:bs:cm=\E=%.%.:cl=1^Z:co#128:li#57::nd=^L:up=^K:
3538 exidy|exidy2500|exidy sorcerer as dm2500:\
3539         :do=^J:al=^P^J^X:am:le=^H:bs:ce=^W:cl=^^:cm=^L%r%n%.%.:co#64:\
3540         :dc=\b:dl=^P^Z^X:dm=^P:ed=^X:ei=^X:ho=^B:ic=^\:\
3541         :im=^P:li#30:nd=^\:pt:so=^N:se=^X:up=^Z:
3542 netx|netronics:\
3543         :do=^J:le=^H:bs:cd=2000^F^E:ce=1600^E:cl=466^L:cm=\E=%+@%+@:\
3544         :co#64:ho=^D:li#16:ma=j^Jk^Pl :nd=\E+@A:pc=\200:sr=\E=@@^K:up=^K:
3545 # This came from the comp ctr who got it from some user.  Smart indeed!
3546 sexidy|exidy smart:\
3547         :do=^J:li#24:co#64:cl=^l:ho=^q:nd=^s:\
3548         :up=^w:le=^H:bs:le=^a:bc=^a:ma=^x^J:kd=^S:
3549 ubell|ubellchar:\
3550         :if=/usr/share/tabset/ubell:do=^J:am:le=^H:bs:pt:ce=\Ed:cl=^Z:\
3551         :cm=\E=%+ %+ :co#80:li#24:nd=^L:up=^K:ma=j^Jk^P^K^Pl :ho=^^:
3552 ttyWilliams:\
3553         :do=^J:co#80:li#12:le=^Y:bc=^Y:do=^K:up=^Z:cl=^^:ce=^_:am:ho=^]:nd=^X:
3554 xitex|xitex sct-100:\
3555         :do=^J:le=^H:bs:cd=2000^F^E:ce=1600^E:cl=400^L:cm=\E=%+@%+@:co#64:\
3556         :ho=^D:li#16:ma=j^Jk^Pl :nd=\E+@A:pc=\200:sr=\E=@@^K:up=^K:
3557\f# --------------------------------
3558 #
3559 # s: SPECIALS
3560 #
3561 # Special "terminals".  These are used to label tty lines when you don't
3562 # know what kind of terminal is on it.  The characteristics of an unknown
3563 # terminal are the lowest common denominator - they look about like a ti 700.
3564 # The last one, "other", is like unknown but it allows an escape from software
3565 # that insists that a "real" unknown terminal is merely so far unspecified.
3566 network:\
3567         :tc=unknown:
3568 arpanet:\
3569         :tc=unknown:
3570 bussiplexer:\
3571         :tc=unknown:
3572 dialup:\
3573         :tc=unknown:
3574 ethernet:\
3575         :tc=unknown:
3576 lpr|printer|print|printing|line printer:\
3577         :do=^J:le=^H:bs:co#132:hc:os:
3578 plugboard|patch|patchboard:\
3579         :tc=unknown:
3580 # See login.c for "su"
3581 dumb|su|unknown:\
3582         :am:co#80:do=^J:
3583 switch|intelligent switch:\
3584         :tc=unknown:
3585 ansi|any ansi terminal with pessimistic assumptions:\
3586         :co#80:li#24:cl=50\E[;H\E[2J:bs:am:cm=\E[%i%d;%dH:\
3587         :nd=\E[C:up=\E[A:ce=\E[K:ho=\E[H:pt:
3588 other|None of the above, but not exactly unknown:\
3589         :gn:cl=\r\n:ho=\r:am:co#80:do=^J:
3590\f# --------------------------------
3591 #
3592 # t: TEXAS INSTRUMENTS
3593 #
3594 ti700|ti733|735|ti735|ti silent 700:\
3595         :do=^J:le=^H:bs:co#80:hc:os:dC#162:
3596 ti745|745|743|ti silent 745:\
3597         :do=^J:le=^H:bs:co#80:hc:os:
3598 ti800|ti omni 800:\
3599         :do=^J:le=^H:bs:co#132:hc:os:
3600 # From lesleymw@topaz.berkeley.edu
3601 ti931|ti 931:\
3602         :al=\EN:am:bs:cd=\EJ:ce=\EI:cl=\EL:cm=\EY%+ %+ :co#80:dl=\EO:do=\EB:\
3603         :eo:ho=\EH:li#24:ku=\EA:kd=\EB:kr=\EC:kl=\ED:mi:nd:sf=\Eb:sr=\Ea:up=\EA:
3604\f# --------------------------------
3605 #
3606 # v: TELEVIDEO
3607 #
3608 # There are some tvi's that require incredible amounts of padding and
3609 # some that don't.  I'm assuming 912 and 920 are the old slow ones,
3610 # and 912b, 912c, 920b, 920c are the new ones that don't need padding.
3611 tvi912|912|920|tvi920|old televideo:\
3612         :ct=\E3:st=\E1:do=^J:\
3613         :al=33*\EE:le=^H:ce=\ET:cm=\E=%+ %+ :cl=^Z:co#80:dc=\EW:dl=33*\ER:\
3614         :kb=^H:ku=^K:kd=^J:kl=^H:kr=^L:k0=^AI\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:\
3615         :bs:am:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:\
3616         :ho=^^:ic=\EQ:li#24:nd=^L:pt:se=\Ek:so=\Ej:up=^K:us=\El:ue=\Em:\
3617         :ma=^K^P^L :sg#1:ug#1:if=/usr/share/tabset/stdcrt:
3618 # the 912 has a <funct> key that's like shift: <funct>8 xmits "^A8\r".
3619 # The 920 has this plus real function keys that xmit different things.
3620 # Termcap makes you use the funct key on the 912 but the real keys on the 920.
3621 912b|912c|tvi912b|tvi912c|tvi|new televideo 912:\
3622         :al=5*\EE:dl=5*\ER:tc=tvi912:
3623 920b|920c|tvi920b|tvi920c|new televideo 920:\
3624         :k0=^AI\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
3625         :k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:al=5*\EE:dl=5*\ER:tc=tvi912:
3626 # set to page 1 when entering ex (\E-17 )
3627 # reset to page 0 when exiting ex (\E-07 )
3628 tvi912-2p|tvi920-2p|912-2p|920-2p|tvi-2p|televideo w/2 pages:\
3629         :ti=\E-17 :te=\E-07 :tc=tvi912:
3630 tvi950-ap|tvi 950 w/alt pages:\
3631         :is=\E\\1:ti=\E-06 :te=\E-16 :tc=tvi950:
3632 tvi950-b|bare tvi950 no is:\
3633         :is@:tc=tvi950:
3634 tvi950-ns|tvi950 w/no standout:\
3635         :so@:se@:us@:ue@:tc=tvi950:
3636 tvi925|925|televideo model 925:\
3637         :hs:xn:am:bs:co#80:li#24:cm=\E=%+ %+ :cl=\E*:cd=\Ey:ce=\Et:is=\El\E":\
3638         :al=\EE:dl=\ER:ic=\EQ:dc=\EW:if=/usr/share/tabset/stdcrt:\
3639         :ho=^^:nd=^L:bt=\EI:pt:so=\EG4:se=\EG0:sg#1:us=\EG8:ue=\EG0:ug#1:\
3640         :up=^K:do=^V:kb=^H:ku=^K:kd=^V:kl=^H:kr=^L:kh=^^:ma=^V^J^L :\
3641         :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:\
3642         :k8=^AG\r:k9=^AH\r:k0=^AI\r:ko=ic,dc,al,dl,cl,ce,cd,bt:\
3643         :ts=\Ef:fs=^M\Eg:ds=\Eh:sr=\Ej:
3644 tvi925vb|925vb|televideo model 925 visual bells:\
3645         :vb=\Eb\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Ed:\
3646         :tc=tvi925:
3647 # Since the 925's uses a character position to store the escape sequences to go
3648 # in and out of both stand out and underline modes, screen positioning is
3649 # difficult.  The following 925 entries don't use these modes.
3650 tvi925n|925n|televideo model 925 no standout or underline:\
3651         :so@:se@:us@:ue@:tc=tvi925:
3652 tvi925vbn|925vbn|televideo model 925 visual bells no so or ul:\
3653         :vb=\Eb\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Ed:\
3654         :tc=tvi925n:
3655 # entry by Tim Curry 5/21/82 Univ. of Central Fla. duke!ucf-cs!tim
3656 925a|tvi925a|TeleVideo Model 925:\
3657         :al=\EE:am:bs:bt=\EI:bw:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :co#80:dc=\EW:\
3658         :dl=\ER:do=^V:ic=\EQ:if=/usr/share/tabset/std:kb=^H:kd=^V:\
3659         :kh=^^:kl=^H:kn#12:kr=^L:ku=^K:li#24:nd=^L:pt:se=\EG0:sg#1:so=\EG4:\
3660         :ue=\EG0:ug#1:up=^K:us=\EG8:is=\El\
3661         :vb=\Eb\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Ed:\
3662         :ve=\E.4:vs=\E.2:
3663 # The following tvi descriptions from B:pjphar and virus!mike
3664 # is for all 950's.  It sets the following attributes:
3665 # full duplex (\EDF)            write protect off (\E()
3666 # conversation mode (\EC)       graphics mode off (\E%)
3667 # white on black (\Ed)          auto page flip off (\Ew)
3668 # turn off status line (\Eg)    clear status line (\Ef\r)
3669 # normal video (\E0)            monitor mode off (\EX or \Eu)
3670 # edit mode (\Er)               load blank char to space (\Ee\040)
3671 # line edit mode (\EO)          enable buffer control (^O)
3672 # protect mode off (\E\047)     duplex edit keys (\El)
3673 # program unshifted send key to send line all (\E016)
3674 # program shifted send key to send line unprotected (\E004)
3675 # set the following to nulls:
3676 #       field delimiter (\Ex0\200\200)
3677 #       line delimiter (\Ex1\200\200)
3678 #       start-protected field delimiter (\Ex2\200\200)
3679 #       end-protected field delimiter (\Ex3\200\200)
3680 # set end of text delimiter to carriage return/null (\Ex4\r\200)
3681 # CHANGED 4-29-87 to set tabs and keep status line --John Kunze (jak@opal)
3682 tvi950|950|televideo950:\
3683         :ct=\E3:st=\E1:do=^J:\
3684         :is=\EDF\EC\Ed\EG0\Er\EO\E\047\E(\E%\Ew\EX\Ee ^O\
3685         \El\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\
3686         \Ex3\200\200\Ex4\r\200\Ef\r:if=/usr/share/tabset/stdcrt:\
3687         :al=\EE:am:le=^H:bs:bt=\EI:cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :\
3688         :co#80:dc=\EW:dl=\ER:do=^V:ei=\Er:ho=^^:im=\Eq:k0=^A0\r:\
3689         :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
3690         :k7=^AF\r:k8=^AG\r:k9=^AH\r:kb=^H:kd=^V:kh=^^:kl=^H:\
3691         :ko=ic\054dc\054al\054dl\054cl\054bt\054ce\054cd:kr=^L:\
3692         :ku=^K:li#24:ma=^Vj^Kk^Hh^Ll^^H:mi:ms:nd=^L:pt:se=\EG0:\
3693         :sg#1:so=\EG4:sr=\Ej:ue=\EG0:ug#1:up=^K:us=\EG8:\
3694         :vb=\Eb\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Ed:\
3695         :xn:hs:ts=\Eg\Ef:fs=\r:ds=\Eg\Ef\r:
3696 #
3697 # is for 950 with two pages adds the following:
3698 #       set 48 line page (\E\\2)
3699 #       place cursor at page 0, line 24, column 1 (\E-07 )
3700 #       set local (no send) edit keys (\Ek)
3701 #
3702 # two page 950 adds the following:
3703 #       when entering ex, set 24 line page (\E\\1)
3704 #       when exiting ex, reset 48 line page (\E\\2)
3705 #                        place cursor at 0,24,1 (\E-07 )
3706 #       set duplex (send) edit keys (\El) when entering vi
3707 #       set local (no send) edit keys (\Ek) when exiting vi
3708 #
3709 tvi950-2p|950-2p|televideo950 w/2 pages:\
3710         :is=\EDF\EC\Ed\EG0\Eg\Er\EO\E\047\E(\E%\Ew\EX\Ee ^O\
3711         \Ek\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\
3712         \Ex3\200\200\Ex4\r\200\E\\2\E-07 \
3713         :te=\E\\2\E-07 :ti=\E\\1\E-07 :ks=\El:ke=\Ek:tc=tvi950:
3714 #
3715 # is for 950 with four pages adds the following:
3716 #       set 96 line page (\E\\3)
3717 #       place cursor at page 0, line 24, column 1 (\E-07 )
3718 #
3719 # four page 950 adds the following:
3720 #       when entering ex, set 24 line page (\E\\1)
3721 #       when exiting ex, reset 96 line page (\E\\3)
3722 #                        place cursor at 0,24,1 (\E-07 )
3723 #
3724 tvi950-4p|950-4p|televideo950 w/4 pages:\
3725         :is=\EDF\EC\Ed\EG0\Eg\Er\EO\E\047\E(\E%\Ew\EX\Ee ^O\
3726         \Ek\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\
3727         \Ex3\200\200\Ex4\r\200\E\\3\E-07 \
3728         :te=\E\\3\E-07 :ti=\E\\1\E-07 :ks=\El:ke=\Ek:tc=tvi950:
3729 #
3730 # is for reverse video 950 changes the following:
3731 #       set reverse video (\Ed)
3732 #
3733 # set vb accordingly (\Ed ...nulls... \Eb)
3734 #
3735 tvi950-rv|950-rv|televideo950 rev video:\
3736         :is=\EDF\EC\Eb\EG0\Eg\Er\EO\E\047\E(\E%\Ew\EX\Ee ^O\
3737         \El\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\
3738         \Ex3\200\200\Ex4\r\200:\
3739         :vb=\Ed\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Eb:\
3740         :tc=tvi950:
3741 #
3742 # uses the appropriate entries from 950-2p and 950-rv
3743 #
3744 tvi950-rv-2p|950-rv-2p|televideo950 rev video w/2 pages:\
3745         :is=\EDF\EC\Eb\EG0\Eg\Er\EO\E\047\E(\E%\Ew\EX\Ee ^O\
3746         \Ek\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\
3747         \Ex3\200\200\Ex4\r\200\E\\2\E-07 :\
3748         :vb=\Ed\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Eb:\
3749         :te=\E\\2\E-07 :ti=\E\\1\E-07 :ks=\El:ke=\Ek:tc=tvi950:
3750 #
3751 # uses the appropriate entries from 950-4p and 950-rv
3752 #
3753 tvi950-rv-4p|950-rv-4p|televideo950 rev video w/4 pages:\
3754         :is=\EDF\EC\Eb\EG0\Er\EO\E\047\E(\E%\Ew\EX\Ee ^O\
3755         \Ek\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\
3756         \Ex3\200\200\Ex4\r\200\E\\3\E-07 :\
3757         :vb=\Ed\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Eb:\
3758         :te=\E\\3\E-07 :ti=\E\\1\E-07 :ks=\El:ke=\Ek:tc=tvi950:
3759 tvi924|924|televideo model 924:\
3760         :am:bs:xn:co#80:li#24:cm=\E=%+ %+ :cl=\E*0:cd=\Ey:ce=\Et:is=\Ek0\E"^O:\
3761         :al=\EE:dl=\ER:ic=\EQ:dc=\EW:if=/usr/share/tabset/stdcrt:ho=^^:\
3762         :nd=^L:bt=\EI:pt:so=\EG4:se=\EG0:us=\EG8:ue=\EG0:up=^K:do=^V:kb=^H:\
3763         :ku=^K:kd=^V:kl=^H:kr=^L:kh=^^:ma=^Vj^Kk^Ll^^H^R^L:k1=^A@\r:k2=^AA\r:\
3764         :k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:\
3765         :k0=^AI\r:ko=ic,dc,al,dl,cl,ce,cd,bt:sr=\Ej:\
3766         :hs:fs=^Y\Es1:ts=\Ef:ds=\Es0\Ef^Y:
3767 tvi924vb|924vb|televideo model 924 visual bells:\
3768         :vb=\Eb\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Ed:\
3769         :tc=tvi924:
3770 # tvipt termcap from armsis@amber (Gene Rochlin), 9/19/84.  Works with vi and
3771 # rogue.  NOTE: Esc v sets autowrap on, Esc u sets 80 char/line (rather than
3772 # 40), Esc K chooses the normal character set.  Not sure padding is needed, but
3773 # adapted from the tvi920c termcap.  so and us are klutzy, but at least use no
3774 # screen space.
3775 tvipt|televideopt:if=/usr/share/tabset/stdcrt:\
3776         :is=\Ev\Eu\EK:al=5*\EE:am:bs:bt=\EI:ce=\ET:cm=\E=%+ %+ :cl=^Z:co#80:\
3777         :dl=5*\ER:kb=^H:ku=^K:kd=^J:kl=^H:kr=^L:ho=^^:li#24:nd=^L:se=\EF:\
3778         :so=\EG1@A\EH:ue=\EF:us=\EG1B@\EH:up=^K:ma=^Kk^Ll^R^L:
3779 # Vanilla tvi910 -- W. Gish (cswarren@violet) 10/29/86
3780 tvi910|910|televideo model 910:if=/usr/share/tabset/stdcrt:\
3781         :bs:bt=\EI:cd=\EY:ce=\ET:cm=\E=%+ %+ :cl=^Z:co#80:\
3782         :kb=^H:ku=^K:kd=^J:kl=^H:kr=^L:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
3783         :k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:k0=^AI\r:\
3784         :li#24:nd=^L:pt:se=\EG0:so=\EG4:up=^K:us=\EG8:ue=\EG0:\
3785         :ho=\E=\001\001:ma=^Kk^Ll^R^L:sg#1:
3786 # from Alan R. Rogers (rogers%albany@csnet-relay)
3787 tvi910+|910+|televideo 910+:\
3788         :al=5*\EE:am:bs:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+\040%+\040:\
3789         :co#80:dc=\EW:dl=\ER:do=^J:ho=^^:ic=\EQ:\
3790         :if=/usr/share/tabset/stdcrt:k0=^A@\r:k1=^AA\r:k2=^AB\r:k3=^AC\r:\
3791         :k4=^AD\r:k5=^AE\r:k6=^AF\r:k7=^AG\r:k8=^AH\r:k9=^AI\r:kb=^H:\
3792         :kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:li#24:ll=\E=7\040:ma=^K^P^L\040:\
3793         :nd=^L:pt:se=\EG0:sg#1:so=\EG4:ue=\EG0:up=^K:us=\EG8:xn:
3794 # From Humberto Appleton, beto@cs.utexas.edu, 880521 UT Austin
3795 tvi970|970|televideo970:\
3796         :is=\E<\E[?21l\E[19h\E[1Q\E[10l\E[7l\E[H\E[2J:\
3797         :ae=\E(B:al=\E[L:as=\E(B:bs:bt=\E[Z:\
3798         :cd=\E[0J:ce=\E[0K:cl=\E[H\E[2J:cm=\E[%i%d;%df:co#80:\
3799         :da:db:dc=\E[P:dl=\E[M:do=\ED:ei=\E[4l:im=\E[4h:\
3800         :k1=\E?a:k2=\E?b:k3=\E?c:k4=\E?d:k5=\E?e:k6=\E?f:k7=\E?g:k8=\E?h:\
3801         :k9=\E?i:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
3802         :li#24:mi:ms:nd=\E[C:pt:se=\E[0m:sg#0:so=\E[7m:sr=\EM:\
3803         :ue=\E[0m:ug#0:up=\EM:us=\E[4m:vs=\E[1Q:\
3804         :vb=\E[5;m\200\200\200\200\200\200\200\200\200\E[0;m
3805 # From fair@ucbarpa  Sun Oct 27 07:21:05 1985
3806 ims950-b|bare ims950 no is:\
3807         :is@:tc=ims950:
3808 ims950-ns|ims950 w/no standout:\
3809         :so@:se@:us@:ue@:tc=ims950:
3810 ims950|ims televideo 950 emulation:\
3811         :k0@:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:k9@:kb@:kd@:kh@:kl@:ko@:kr@:ku@:\
3812         :vb@:xn@:tc=tvi950:
3813 ims950-rv|ims tvi950 rev video:\
3814         :k0@:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:k9@:kb@:kd@:kh@:kl@:ko@:kr@:ku@:\
3815         :vb@:xn@:tc=tvi950-rv:
3816 # From Andreas Stolcke <stolcke@icsi.berkeley.edu>
3817 tvi955|955|televideo955:\
3818         :ct=\E3:st=\E1:do=^J:\
3819         :rs=\EDF\EC\Eg\Er\EO\E\047\E(\Ew\EX\Ee ^O\
3820         \E0P\E6\200\E0p\E4\200\Ef\r:\
3821         :is=\E[=3l\EF1\Ed\EG0\E[=5l\E%\El:\
3822         :al=\EE:am:le=^H:bs:bt=\EI:cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :\
3823         :co#80:dc=\EW:dl=\ER:do=^V:ei=\Er:ho=^^:im=\Eq:k0=^A0\r:\
3824         :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
3825         :k7=^AF\r:k8=^AG\r:k9=^AH\r:kb=^H:kd=^V:kh=^^:kl=^H:\
3826         :ko=ic\054dc\054al\054dl\054cl\054bt\054ce\054cd:kr=^L:\
3827         :ku=^K:li#24:ma=^Vj^Kk^Hh^Ll^^H:mi:nd=^L:pt:se=\EG0:\
3828         :so=\EG4:sr=\Ej:ue=\EG0:up=^K:us=\EG8:\
3829         :vb=\Eb\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Ed:\
3830         :xn:hs:ts=\Eg\Ef:fs=\r:ds=\Eg\Ef\r:\
3831         :mb=\EG2:mh=\E[=5h:me=\EG0\E[=5l:mk=\EG1:mr=\EG4:\
3832         :ve=\E.2:vi=\E.0:vs=\E.1:\
3833         :xo:RX=^N:SX=^O:RA=\E[=7l:SA=\E[=7h:\
3834         :kA=\EE:kB=\EI:kC=\EY:kD=\EW:kE=\ET:kI=\EQ:kL=\ER:kM=\EQ:\
3835         :kN=\EK:kP=\EJ:kT=\E1:ka=\E3:kt=\E2:\
3836         :as=\E$:ae=\E%:ac=0_`RjHkGlFmEnIoPqKsQtMuLvOwNxJ:\
3837         :5i:ps=\EP:po=\E`:pf=\Ea:
3838 tvi955-w|955-w|televideo955 w/132 cols:\
3839         :is=\E[=3h\EF1\Ed\EG0\E[=5l\E%\El:\
3840         :co#132:tc=tvi955:
3841 # use half-intensity as normal mode, full intensity as bold (md)
3842 tvi955-hb|955-hb|televideo955 half-bright:\
3843         :is=\E[=3l\EF1\Ed\EG0\E[=5h\E%\El:\
3844         :mh@:md=\E[=5l:me=\EG0\E[=5h:\
3845         :tc=tvi955:
3846 ims-ansi|ultima2|ultimaII|IMS Ultima II:\
3847         :pt:am:bs:co#80:li#24:\
3848         :is=\E[0m\E[>14l\E[?1;?5;20l\E>\E[1m^M:if=/usr/share/tabset/vt100:\
3849         :cl=\E[;H\E[2J:cd=\E[0J:ce=\E[0K:cm=\E[%i%2;%2H:up=\EM:do=\ED:\
3850         :ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:kh=\E[H:\
3851         :so=\E[7m:se=\E[0m\E[1m:us=\E[4m:ue=\E[0m\E[1m:sr=\EM:
3852\f# --------------------------------
3853 #
3854 # w: WYSE
3855 #
3856 # The wy{30,50,75,85} entries are recommended by
3857 #       Wyse Technology
3858 #       3571 North First Street
3859 #       San Jose, CA 95134
3860 # Entries for the wy60 and wy99 are only based on Wyse's recommendations.
3861 #
3862 # Advice on the Wyse 30 and 50 standout mode glitch:
3863 #                       (from steve@omni.com or ...pyramid!koosh!steve)
3864 #
3865 # These terminals support a "PROTECT" sequence on/off that has no
3866 # standout-glitch (xmc), while the regular "attribute" stuff enabled
3867 # with <ESC>G'some-character' gives a 1-space glitch.
3868 #
3869 # All but the very old revision firmware on both terminals support a
3870 # visible PROTECT attribute that's selectable by the ol' SETUP menu.
3871 # (The older rev. terminals do support PROTECT attribute but only
3872 #  have the options REGULAR and DIM)
3873 #
3874 # Get into your terminal's SETUP menu, and down-key to the 5'th
3875 # menu (on a wyse 30; I think 3'rd or 4'th on a wyse 50) and
3876 # right-key over to the PROTECT item.
3877 #
3878 # Change PROTECT to REVERSE or REVERSE/DIM, and go over to the next
3879 # item -- ATTRIBUTE and change it to LINE;  then save the changes for
3880 # power-on.  (ATTRIBUTE change isn't necessary but looks a whole lot
3881 # nicer to the eye when inverting the remainder of a line rather then
3882 # the rest of the screen!).
3883 #
3884 # The next thing to do is change your /usr/lib/something?/terminfo/w/wyse50
3885 # so that it uses the proper escape sequences to turn on/off the protect
3886 # sequence rather than the very-ugly \EG4 and \EG0.
3887 #
3888 # Change standout to \E), standend to \E(, and glitch to 0, which means
3889 # changing the so, se, and sg fields to :so=\E):se=\E(:sg#0:
3890 #
3891 wy30|wyse30|Wyse 30:\
3892         :am:bw:hs:mi:xo:bs:pt:\
3893         :co#80:li#24:sg#1:ug#1:kn#9:\
3894         :ae=\EG0\EH^C:al=2\EE:as=\EG0\EH^B:bt=\EI:cd=80\Ey:\
3895         :ce=\Et:cl=80\E*:cm=\E=%+ %+ :ct=\E0:dc=10\EW:dl=1\ER:\
3896         :ds=\EF\r:ei=\Er:fs=\r:ho=^^:im=\Eq:ip=2:\
3897         :is=\E'\E(\E\^3\E`9^N^T:k1=^A@\r:k2=^AA\r:k3=^AB\r:\
3898         :k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:kb=\b:\
3899         :kd=\n:kh=^^:kl=\b:kr=\f:ku=^K:nd=\f:se=\EG0:so=\EG4:\
3900         :sr=3\Ej:st=\E1:ts=\EF:ue=\EG0:up=^K:us=\EG8:ve=\E`1:\
3901         :pf=^T:po=^R:\
3902         :vi=\E`0:ko=bt,le,do,nd,up,dc,dl,ho,al:
3903 wy30-vb|wyse30-vb|wyse 30 visual bell:\
3904         :vb=\E`8\E`\072\E`9:\
3905         :tc=wy30:
3906 wy50|wyse50|Wyse 50:\
3907         :am:bw:hs:mi:xo:bs:pt:\
3908         :co#80:li#24:sg#1:ug#1:kn#9:\
3909         :ae=\EG0\EH^C:al=\EE:as=\EG0\EH^B:bt=\EI:cd=20\Ey:\
3910         :ce=\Et:cl=20\E*:cm=\E=%+ %+ :ct=\E0:dc=1\EW:dl=\ER:\
3911         :ds=\EF\r:ei=\Er:fs=\r:ho=^^:i1=30\E`\072\E`9:im=\Eq:\
3912         :ip=1:is=^N^T\E'\E(:k1=^A@\r:k2=^AA\r:k3=^AB\r:\
3913         :k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:\
3914         :k9=^AH\r:kb=\b:kd=\n:kh=^^:kl=\b:kr=\f:ku=^K:nd=\f:\
3915         :se=\EG0:so=\EGt:sr=\Ej:st=\E1:ts=\EF:ue=\EG0:up=^K:\
3916         :us=\EG8:ve=\E`1:vi=\E`0:\
3917         :pf=^T:po=^R:\
3918         :ko=bt,le,do,nd,up,dc,dl,ho,al:
3919 wy50-vb|wyse50-vb|wyse 50 visual bell:\
3920         :vb=\E`8\E`\072\E`9:\
3921         :tc=wy50:
3922 wy50-w|wyse50-w|wyse 50 132-column:\
3923         :cm=\Ea%i%dR%dC:co#132:dc=2\EW:i1=\E`;\E`9:\
3924         :tc=wy50:
3925 wy50-wvb|wyse50-wvb|wyse 50 132-column visual bell:\
3926         :cm=\Ea%i%dR%dC:co#132:dc=2\EW:i1=\E`;\E`9:\
3927         :vb=\E`8\E`;\E`9:\
3928         :tc=wy50:
3929 # from John Gillmore hoptoad!gnu@lll-crg.arpa
3930 wyse-vp|wyse|Wyse 50 in ADDS Viewpoint emulation mode with "enhance" on:\
3931         :am:do=^J:if=/usr/share/tabset/wyse-adds:\
3932         :le=^H:bs:li#24:co#80:cm=\EY%+ %+ :cd=\Ek:ce=\EK:nd=^F:\
3933         :up=^Z:cl=^L:ho=^A:ll=^A^Z:kl=^U:kr=^F:kd=^J:ku=^Z:kh=^A:\
3934         :pt:so=^N:se=^O:us=^N:ue=^O:dl=\El:al=\EM:im=\Eq:ei=\Er:dc=\EW:\
3935         :is=\E`\072\E`9^O\Er:rs=\E`\072\E`9^O\Er:
3936 wyse-vp-nk|Wyse 50 in ADDS Viewpoint enhanced mode with cursor keys gone:\
3937         :kl@:kr@:kd@:ku@:kh@:tc=wyse-vp:
3938 wyse925|Wyse-50 emulating tvi925:\
3939         :xn@:tc=tvi925:
3940 # Wyse 60 in 24 row native mode.
3941 # This termcap is a composite of entries submitted by Steve Van Domelen
3942 # (Wyse Tech, svd@bigboy.wyse.com) and Douglas Good (doug@cli.com).
3943 # Merged by Paul Vojta (vojta@math.berkeley.edu).
3944 wy60|wyse60|Wyse 60 in native mode:\
3945         :ae=\EH^C:al=4\EE:am:as=\EH^B:bl=^G:bs:bt=\EI:bw:cd=100\Ey:ce=\Et:\
3946         :cl=100\E*:cm=\E=%+ %+ :co#80:ct=\E0:da:db:dc=11\EW:dl=5\ER:do=^J:\
3947         :ds=\EF\r:ei=\Er:fs=\r:ho=^^:hs:if=/usr/share/tabset/std:im=\Eq:ip=3:\
3948         :is=\Ed$\EcD\E'\Er\EH^C\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1^N^T\EwG\Ew0^^^K:\
3949         :it#8:k0=^A@\r:k1=^AA\r:k2=^AB\r:k3=^AC\r:k4=^AD\r:k5=^AE\r:k6=^AF\r:\
3950         :k7=^AG\r:k8=^AH\r:k9=^AI\r:kb=\b:kd=\EOB:ke=200\EcU:kh=\E{:kl=\EOD:\
3951         :kn#10:ko=bt,le,do,nd,up,dc,dl,ho,al:kr=\EOC:\
3952         :ks=200\EZ0+\EOA\177\EZ0,\EOB\177\EZ0.\EOC\177\EZ0-\EOD\177\EZ0*\E{\177:\
3953         :ku=\EOA:l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:l8=F9:l9=F10:\
3954         :le=\b:li#24:ll=^^^K:mb=\EG2:me=\EG0:mh=\EGp:mi:mr=\EG4:ms:nd=\f:pf=^T:\
3955         :po=^R:pt:rs=500\E~!\E~4\E`\:\EeF\Ee(\EwG:se=\EG0:sf=^J:so=\EGt:\
3956         :sr=7\Ej:st=\E1:ts=\EF:ue=\EG0:up=^K:us=\EG8:
3957 #       Must delete tc= if using infocomp to translate
3958 wy60-w|wyse60-w|wyse 60 132-column:\
3959         :co#132:cm=\Ea%i%dR%dC:dc=16\EW:ip=5:\
3960         :rs=500\E~!\E~4\EeF\E`;\Ee(\EwG:tc=wy60:
3961 wy60-25|wyse60-25|wyse 60 80-column 25-lines:\
3962         :li#25:\
3963         :rs=500\E~!\E~4\E`\:\EeG\Ee)\EwG:tc=wy60:
3964 wy60-25-w|wyse60-25-w|wyse 60 132-column 25-lines:\
3965         :co#132:li#25:cm=\Ea%i%dR%dC:dc=16\EW:ip=5:\
3966         :rs=500\E~!\E~4\EeF\E`;\Ee)\EwG:tc=wy60:
3967 wy60-42|wyse60-42|wyse 60 80-column 42-lines:\
3968         :li#42:al=11\EE:cd=260\Ey:cl=260\E*:cm=2\E=%+ %+ :dc=16\EW:\
3969         :dl=11\ER:ip=5:sr=10\Ej:\
3970         :rs=500\E~!\E~4\E`\:\EeF\Ee*\EwG:tc=wy60:
3971 wy60-42-w|wyse60-42-w|wyse 60 132-column 42-lines:\
3972         :co#132:li#42:al=11\EE:cd=260\Ey:cl=260\E*:cm=2\Ea%i%dR%dC:dc=19\EW:\
3973         :dl=11\ER:ho=2^^:ip=6:sr=10\Ej:\
3974         :rs=500\E~!\E~4\EeF\E`;\Ee*\EwG:tc=wy60:
3975 wy60-43|wyse60-43|wyse 60 80-column 43-lines:\
3976         :li#43:al=11\EE:cd=260\Ey:cl=260\E*:cm=2\E=%+ %+ :dc=16\EW:\
3977         :dl=11\ER:ip=5:sr=10\Ej:\
3978         :rs=500\E~!\E~4\E`\:\EeF\Ee+\EwG:tc=wy60:
3979 wy60-43-w|wyse60-43-w|wyse 60 132-column 43-lines:\
3980         :co#132:li#43:al=11\EE:cd=260\Ey:cl=260\E*:cm=2\Ea%i%dR%dC:dc=19\EW:\
3981         :dl=11\ER:ho=2^^:ip=6:sr=10\Ej:\
3982         :rs=500\E~!\E~4\EeF\E`;\Ee+\EwG:tc=wy60:
3983 #       Not recommended at high baud rates
3984 wy60-vb|wyse60-vb|Wyse 60 visual bell:\
3985         :vb=\E`8\E`9:\
3986         :tc=wy60:
3987 wy60-w-vb|wy60-wvb|wyse60-w-vb|Wyse 60 132-column visual bell:\
3988         :vb=\E`8\E`9:\
3989         :tc=wy60-w:
3990 #       The following switch screens for vi and emacs
3991 wy60-s|wyse60-s|Wyse 60 with screen switching:\
3992         :te=50^Z\Ew0:ti=50\Ew1:tc=wy60:
3993 wy60-w-s|wyse60-w-s|Wyse 60 132-column with screen switching:\
3994         :te=50^Z\Ew0:ti=50\Ew1:tc=wy60-w:
3995 wy60-nt|wyse60-nt|Wyse 60 with broken tab support:\
3996         :pt@:tc=wy60:
3997 #
3998 #       The Wyse 75 is a vt100 lookalike without advanced video.
3999 #
4000 #          The Wyse 75 can support one attribute (e.g. Dim, Inverse,
4001 #       Underline) without magic cookies.  The following description
4002 #       uses this capability, but when more than one attribute is
4003 #       put on the screen at once, all attributes will be changed
4004 #       to be the same as the last attribute given.
4005 #          The Wyse 75 can support more attributes when used with magic
4006 #       cookies.  The wy75-mc terminal description uses magic cookies
4007 #       to correctly handle multiple attributes on a screen.
4008 #
4009 wy75|wyse75|wyse 75:\
4010         :am:hs:mi:ms:xn:xo:bs:pt:\
4011         :co#80:li#24:pb#1201:kn#6:\
4012         :AL=2*\E[%dL:DC=3*\E[%dP:DL=1*\E[%dM:DO=\E[%dB:\
4013         :IC=1*\E[%d@:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:\
4014         :al=2\E[L:as=\E[0m^N:bt=\E[1Z:cd=30\E[J:ce=3\E[K:\
4015         :ch=\E[%i%dG:cl=30\E[H\E[J:cm=\E[%i%d;%dH:\
4016         :cs=2\E[%i%d;%dr:ct=\E[3g:dc=3\E[P:dl=\E[M:\
4017         :ds=\E[>,^A^A\E[>-^A^A:ei=\E[4l:fs=^A:ho=\E[H:\
4018         :im=\E[4h:ip=1:is=\E>\E[?7;?8h\E[4;?1l^O\E)0:kb=\b:\
4019         :kd=\E[B:ke=\E[?1l\E>:kh=\E[H:kl=\E[D:kr=\E[C:\
4020         :ks=\E[?1l\E[?7h\E=:ku=\E[A:nd=\E[C:r1=\E7\E[1;24r\E8:\
4021         :r2=20\E[0m\E[35;?7;?8h\E[30;?1l:r3=80\E[?3l:rc=\E8:\
4022         :sc=\E7:se=\E[0m:so=\E[1t\E[7m:sr=2\EM:st=\EH:\
4023         :ts=\E[>,^A:ue=\E[0m:up=\E[A:us=\E[2t\E[4m:ve=\E[?25h:\
4024         :po=\E[5i:pf=\E[4i:\
4025         :vi=\E[?25l:ko=nd,up,dl,ce,ho,al:
4026 #
4027 #       This terminal description uses the non-hidden attribute mode
4028 #       (with magic cookie).
4029 #
4030 wy75-mc|wyse75-mc|wyse 75 with magic cookies:\
4031         :ae=\E[0p^O:as=\E[0p^N:ms@:r2=20\E[0p\E[35;?7;?8h\E[30;?1l:\
4032         :se=\E[0p:sg#1:so=\E[17p:ue=\E[0p:ug#1:us=\E[8p:\
4033         :tc=wy75:
4034 wy75-vb|wyse75-vb|wyse 75 with visual bell:\
4035         :vb=\E[30h\E,\E[30l:\
4036         :tc=wy75:
4037 wy75-w|wyse75-w|wyse 75 in 132 column mode:\
4038         :co#132:r3=80\E[?3h:\
4039         :tc=wy75:
4040 wy75-wvb|wyse75-wvb|wyse 75 with visual bell 132 columns:\
4041         :co#132:r3=80\E[?3h:vb=\E[30h\E,\E[30l:\
4042         :tc=wy75:
4043 #
4044 wy75ap|wyse75ap|wy-75ap|wyse-75ap|Wyse WY-75 Applications and Cursor keypad:\
4045         :is=\E[1;24r\E[?10;3l\E[?1;25h\E[4l\E[m\E(B\E=:\
4046         :kd=\EOB:ke=10\E[?1l\E>:kh=\EOH:kl=\EOD:kr=\EOC:\
4047         :ks=10\E[?1h\E=:ku=\EOA:\
4048         :tc=wyse75:
4049 #
4050 #       Wyse 85 emulating a vt220 7 bit mode.
4051 #               24 line screen with status line.
4052 #
4053 #       The vt220 mode permits more function keys but it wipes out
4054 #       the escape key.  I strongly recommend that f11 be set to
4055 #       escape (esc).
4056 #       The terminal may have to be set for 8 data bits and 2 stop
4057 #       bits for the arrow keys to work.
4058 #       The Wyse 85 runs faster with XON/XOFF enabled.  Also the
4059 #       (dch) and (ich) work best when XON/XOFF is set.  (ich) and
4060 #       (dch) leave trash on the screen when used without XON/XOFF.
4061 #
4062 wy85|wyse85|wyse 85:\
4063         :am:hs:mi:ms:xn:xo:bs:pt:\
4064         :co#80:li#24:kn#3:\
4065         :AL=5*\E[%dL:DC=3*\E[%dP:DL=3*\E[%dM:DO=\E[%dB:\
4066         :IC=4*\E[%d@:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:\
4067         :al=5\E[L:as=^N:bt=\E[Z:cd=110\E[J:ce=\E[K:\
4068         :cl=110\E[H\E[J:cm=1\E[%i%d;%dH:cs=\E[%i%d;%dr:\
4069         :ct=\E[3g:dc=3\E[P:dl=3\E[M:ds=\E[40l:ei=\E[4l:\
4070         :fs=\E[1;24r\E8:ho=\E[H:\
4071         :i1=\E[62;1"p\E7\E[?6l\E8\E[?5W:im=\E[4h:ip=3:\
4072         :is=16\E[2;4;20;30l\E[?1;4;10;16l\E[12;36h\E[?7;8;25h:\
4073         :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
4074         :kb=\b:kd=\E[B:ke=\E>:kh=\E[26~:\
4075         :kl=\E[D:kr=\E[C:ks=\E[?1l\E=:ku=\E[A:l1=PF1:l2=PF2:\
4076         :l3=PF3:l4=PF4:nd=\E[C:\
4077         :r1=\E<\E[3;13l\E[!p\E7\E[1;24r\E8\E(B:\
4078         :r2=70\E[35h\E[?3l:rc=\E8:sc=\E7:se=\E[m:so=\E[1m:\
4079         :sr=3\EM:st=\EH:ts=\E[40h\E7\E[25;%i%dH:ue=\E[m:\
4080         :up=\E[A:us=\E[4m:ve=\E[?25h:vi=\E[?25l:nl=\E[B:\
4081         :po=\E[5i:pf=\E[4i:\
4082         :ko=do,nd,up:
4083 #
4084 #       Wyse 85 with visual bell.
4085 wy85-vb|wyse85-vb|wyse 85 with visual bell:\
4086         :vb=\E[30h\E,\E[30l:\
4087         :tc=wy85:
4088 #
4089 #       Wyse 85 in 132-column mode.
4090 wy85-w|wyse85-w|wyse 85 in 132-column mode:\
4091         :co#132:\
4092         :r2=120\E[35h\E[?3h:\
4093         :tc=wy85:
4094 #
4095 #       Wyse 85 in 132-column mode with visual bell.
4096 wy85-wvb|wyse85-wvb|wyse 85 with visual bell 132-columns:\
4097         :vb=\E[30h\E,\E[30l:\
4098         :tc=wy85:
4099 # From pett@cgl.ucsf.edu
4100 wy99|wyse-99gt|wyse99gt|wyse 99GT, 80 col, native mode:\
4101         :is=\E\140\072\Ee(\Ew1\Ee-\Ee$\Ee'\EeT^T:ct=\E0:st=\E1:gn:\
4102         :li#24:co#80:bl=^G:am:bw:ul:hs:as=\EcE:ae=\EcD:bt=\EI:\
4103         :ma=^Kj^Jk^Hh^Ll^^H:cm=\Ea%i%2R%3C:it#8:\
4104         :vs=^^\EY\E\140\072:vi=\E`0:es:ws#80:\
4105         :lm#0:md=\Ee1\EG6:me=\Ee0\E(:mh=\Ee1\EGb:mb=\Ee1\EG2:\
4106         :mk=\Ee1\EG1:mp=\E):mr=\Ee1\EG4:pf=^T:po=\EP\E7:ps=:\Ed&\E7\
4107         :fs=\004:ds=\EA31:i2=\EA30:vb=\E\1361\E\1360:da:db:sf=^J:sr=\Ej:\
4108         :ts=\EF:cl=^Z:ce=\ET:cd=\EY:al=\EE:dl=\ER:dc=\EW:\
4109         :so=\EGt:se=\EG0:sg#1:ue=\EG0:us=\EG8:ug#1:ll=\Ea24R1C:\
4110         :pt:bs:nd=^L:up=^K:do=^J:ho=^^:kl=^H:kr=^L:ku=^K:kd=^J:kh=^^:kn#20:\
4111         :ei=\Er:im=\Eq:mi:if=/usr/share/tabset/stdcrt:\
4112         :k1=^A@^M:k2=^AA^M:k3=^AB^M:k4=^AC^M:k5=^AD^M:\
4113         :k6=^AE^M:k7=^AF^M:k8=^AG^M:k9=^AH^M:k0=^AI^M:\
4114         :l1=^A`^M:l2=^Aa^M:l3=^Ab^M:l4=^Ac^M:l5=^Ad^M:\
4115         :l6=^Ae^M:l7=^Af^M:l8=^Ag^M:l9=^Ah^M:l0=^Ai^M:
4116 # From freudent@eric.ultra.nyu.edu (Eric Freudenthal)
4117 wy100q|Wyse 100 for Quotron:\
4118         :al=\EE:bs:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :co#80:\
4119         :dc=\EW:dl=\ER:do=^J:ei=\Er:im=\Eq:is=\E`\072\200\EC\EDF\E0\E'\E(\EA21:\
4120         :kd=^J:kl=^H:kr=^L:ku=^K:li#24:nd=^L:up=^K:us=\EG8:ue=\EG0:\
4121         :so=\EG4:se=\EG0:sg#1:sr=\Ej:ho=^^:ug#1:
4122 # Wyse 120 definitions from conf/81882 by Meister des Chaos <meister@netz00.com>
4123 wy120|wyse120|wy150|wyse150|Wyse 120/150:\
4124         :am:bw:hs:km:mi:ms:xo:\
4125         :co#80:it#8:li#24:pb#9601:ws#45:\
4126         :ae=\EcD:al=\EE:as=\EcE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:\
4127         :cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:\
4128         :ei=\Er:fs=^M:ho=^^:i1=\EcB0\EcC1:i2=\EwJ\Ew1:im=\Eq:ip=:\
4129         :is=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El:\
4130         :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
4131         :k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\EQ:kN=\EK:kP=\EJ:\
4132         :kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:ll=^^^K:mb=\EG2:\
4133         :me=\E(\EH\003\EG0\EcD:mh=\EGp:mr=\EG4:nd=^L:nw=\r\n:\
4134         :se=\EG0:sf=\n:so=\EGt:sr=\Ej:st=\E1:ta=\011:te=\Ew1:\
4135         :ti=\Ew0:ts=\EF:ue=\EG0:up=^K:us=\EG8:vb=\E`8\E`9:ve=\E`1:\
4136         :vi=\E`0:
4137 wy120-w|wyse120-w|wy150-w|wyse150-w|wyse 120/150 132-column:\
4138         :cm=\Ea%i%dR%dC:co#132:ws#97:tc=wy120:
4139 wy120-25|wyse120-25|wy150-25|wyse150-25|wyse 120/150 80-column 25-lines:\
4140         :li#25:tc=wy120:
4141 wy120-25-w|wyse120-25-w|wy150-25-w|wyse150-25-w|wyse 120/150 132-column 25-lines:\
4142         :cm=\Ea%i%dR%dC:co#132:li#25:ws#97:tc=wy120:
4143 wy120-vb|wyse120-vb|wy150-vb|wyse150-vb|Wyse 120/150 visible bell:\
4144         :bl@:tc=wy120:
4145 wy120-w-vb|wy120-wvb|wyse120-wvb|wy150-w-vb|wyse150-w-vb|Wyse 120/150 132-column visible bell:\
4146         :bl@:cm=\Ea%i%dR%dC:co#132:ws#97:tc=wy120:
4147\f# --------------------------------
4148 #
4149 # y: TELERAY
4150 #
4151 # Note two things called "teleray".  Reorder should move the common one
4152 # to the front if you have either.  A dumb teleray with the cursor stuck
4153 # on the bottom and no obvious model number is probably a 3700.
4154 t3700|teleray|dumb teleray 3700:\
4155         :do=^J:le=^H:bs:cl=^L:co#80:li#24:
4156 t3800|teleray 3800 series:\
4157         :do=^J:le=^H:bs:cd=\EJ:ce=\EK:cl=^L:cm=\EY%+ %+ :co#80: \
4158         :do=\n:ho=\EH:li#24:ll=\EY7 :nd=\EC:pt:up=^K:
4159 t1061|teleray 1061:\
4160         :if=/usr/share/tabset/teleray:\
4161         :ct=\EG:st=\EF:do=^J:\
4162         :al=2*\EL:am:le=^H:bs:cd=1\EJ:ce=\EK:cl=1^L:cm=\EY%+ %+ :co#80:\
4163         :dc=\EQ:dl=2*\EM:ho=\EH:ic=\EP:ip=0.4*:\
4164         :k1=^Z1:k2=^Z2:k3=^Z3:k4=^Z4:k5=^Z5:k6=^Z6:k7=^Z7:k8=^Z8:\
4165         :li#24:nd=\EC:pt:se=\ER@:so= \ERD:\
4166         :is=\Ee\EU01^Z1\EV\EU02^Z2\EV\EU03^Z3\EV\EU04^Z4\EV\EU05^Z5\EV\EU06^Z6\EV\EU07^Z7\EV\EU08^Z8\EV\Ef:\
4167         :up=\EA:us=\ERH:ue=\ER@:xs:xt:sg#2:ug#1:
4168 # "Teleray Arpa Special", officially designated as
4169 # "Teleray Arpa network model 10" with "Special feature 720".
4170 # This is the new (1981) fast microcode updating the older "arpa" proms
4171 # (which gave meta-key and pgmmable-fxn keys).  720 is much much faster,
4172 # converts the keypad to programmable function keys, and has other goodies.
4173 # Standout mode is still broken (magic cookie, etc) so is suppressed as no
4174 # programs handle such lossage properly.
4175 # Note: this is NOT the old termcap's "t1061f with fast proms."
4176 # From Univ of Utah, J.Lepreau  Tue Feb  1 06:39:37 1983
4177 # lepreau@utah-cs, harpo!utah-cs!lepreau
4178 #
4179 t10|teleray 10 special:\
4180         :so@:se@:us@:ue@:\
4181         :al=\EL:bs:cd=\EJ:ce=\EK:cl=30\Ej:cm=\EY%+ %+ :co#80:\
4182         :dc=\EQ:dl=\EM:ho=\EH:ic=\EP:km:li#24:nd=\EC:pc=\200:pt:\
4183         :se=\ER@:so=\ERD:sf=\Eq:sg#2:sr=\Ep:up=\EA:ug#1:ue=\ER@:us=\ERH:\
4184         :xs:xt:
4185 t1061f|teleray 1061 with fast PROMs:\
4186         :al=\EL:ip@:dl=\EM:tc=t1061:
4187\f# --------------------------------
4188 #
4189 # z: Miscellaneous
4190 #
4191 wind:\
4192         :bs:cm=\Ep%r%.%.:cl=\En\120\030\Eo:co#80:\
4193         :ho=\Ep\200\200:li#24:nd=^L:up=^K:nl=\035:\
4194         :kl=\E3:kr=\E4:ku=\E1:kd=\E2:k1=\E5:k2=\E6:k3=\E7:k4=\E8:\
4195         :so=\Em\014:se=\Em\003:
4196 wind16:\
4197         :bs:cm=\Ep%r%.%.:cl=\En\120\020\Eo:co#80:\
4198         :ho=\Ep\200\200:li#16:nd=^L:up=^K:nl=\035:\
4199         :so=\Em\014:se=\Em\003:
4200 wind40:\
4201         :bs:cm=\Ep%r%.%.:cl=\En\120\050\Eo:co#80:\
4202         :ho=\Ep\200\200:li#40:nd=^L:up=^K:nl=\035:\
4203         :so=\Em\014:se=\Em\003:
4204 wind50:\
4205         :bs:cm=\Ep%r%.%.:cl=\En\128\062\Eo:co#88:\
4206         :ho=\Ep\200\200:li#50:nd=^L:up=^K:nl=\035:\
4207         :kl=\E3:kr=\E4:ku=\E1:kd=\E2:k1=\E5:k2=\E6:k3=\E7:k4=\E8:\
4208         :so=\Em\014:se=\Em\003:
4209 cad68-3|cgc3|cad68 basic monitor transparent mode size 3 chars:\
4210         :am:bs:cl=^Z:co#73:ho=\036:li#36:nd=^L:up=^K:
4211 cad68-2|cgc2|cad68 basic monitor transparent mode size 2 chars:\
4212         :am:bs:cl=^Z:co#85:ho=\036:li#39:nd=^L:up=^K:\
4213         :kl=\E3:kr=\E4:ku=\E1:kd=\E2:k1=\E5:k2=\E6:k3=\E7:k4=\E8:\
4214         :so=\Em\014:se=\Em\003:
4215 v50|visual 50:\
4216         :am:bs:al=\EL:dl=\EM:\
4217         :cd=\Ek:ce=\EK:cl=^Z:cm=\E=%+\040%+\040:co#80:do=^J:ho=\EH:\
4218         :kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:li#24:ms:nd=^L:pt:\
4219         :so=\EU:se=\ET:up=^K:
4220 trs2|trsII|trs80II|Radio Shack Model II using P&T CP/M:\
4221         :nl=^_:al=^D:am:bs:cd=^B:ce=^A:cl=^L:cm=\EY%+ %+ :co#80:\
4222         :dl=^K:do=^_:ho=^F:li#24:nd=^]:ms:pt:se=^O:so=^N:up=^^:\
4223         :kb=^H:kd=^_:kl=^\:kr=^]:ku=^^:
4224 # From: ksb@mentor.cc.purdue.edu (Kevin Braunsdorf)
4225 trs16|trs-80 model 16 console:\
4226         :al=\EL:am:bs:cd=\EJ:ce=\EK:cl=^L:cm=\EY%+ %+ :co#80:dc=\EQ:dl=\EM:\
4227         :do=\EB:ic=\EP:ho=\EH:kb=^H:kd=\EB:kl=\ED:kn#2:kr=\EC:\
4228         :ku=\EA:k0=^A:k1=^B:l0=f1:l1=f2:li#24:nd=\EC:pt:se=\ER@:sg#0:so=\ERD:\
4229         :k2=^D:k3=^L:k4=^U:k5=^P:k6=^N:k7=^S:\
4230         :l2=f3:l3=f4:l4=f5:l5=f6:l6=f7:l7=f8:\
4231         :up=\EA:GS=\ERG:GE=\ERg:GV=s:GH=u:GU=e:GD=c:G1=`:G2=_:G3=b:G4=a:\
4232         :BN=\E[?33h:BF=\E[?33l:UC=\E[_\040q:BC=\E[\177\040q:\
4233         :PN=\E]=:PS=\E]+:\
4234         :CN=\ERC:CF=\ERc:NR=\ERD:NM=\ER@:
4235 # From {pbrown,ctl}@ocf.berkeley.edu, 12 Mar 90
4236 coco3|os9LII|Tandy CoCo3 24*80 OS9 Level II:\
4237         :am:bs:cl=5*^L:li#24:co#80:ho=^A:\
4238         :cd=^K:ce=^D:cm=2%r^B%+ %+ :\
4239         :bl#7:do=^J:up=^I:nd=^F:so=\037\040:se=\037\041:\
4240         :us=\037\042:ue=\037\043:al=\037\060:dl=\037\061:\
4241         :ku=^L:kd=^J:kr=^I:kl=^H:ta:mb=\037\042:md=\E\072^A:\
4242         :mr=\037\040:me=\037\041\E\072\000:\
4243         :vi=\005\040:ve=\005\041
4244 ps300|Picture System 300:us@:ue@:so@:se@:xt:pt@:tc=vt100:
4245 masscomp2:co#64:li#21:tc=masscomp:
4246 masscomp1:co#104:li#36:tc=masscomp:
4247 masscomp:\
4248         :al=\E[L:bs:cd=\E[J:ce=\E[K:co#80:dc=\E[P:dl=\E[M:do=\E[B:\
4249         :ei=\E[4l:im=\E[4h:is=\EGc\EGb\EGw:li#24:mi:MT:nd=\E[C:pt:se=\E[0m:\
4250         :sg#0:so=\E[7m:cm=\E[%i%d;%dH:ue=\EGau:us=\EGu:up=\E[A:\
4251         :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=^h:cl=\E[2J:
4252 # Kimtron TC entries include (undocumented) codes for: enter dim mode (mh),
4253 # enter bold mode (md), enter reverse mode (mr), turn off all attributes (me)
4254 # Kimtron ABM 85 added by Dual Systems
4255 abm85|Kimtron ABM 85:\
4256         :is=\EC\EX\Eg\En\E%\Er\E(\Ek\Em\Eq:if=/usr/share/tabset/stdcrt:\
4257         :li#24:co#80:am:bs:bw:ms:pt:\
4258         :cl=\E*:cd=\Ey:dl=\ER:al=\EE:ce=\Et:dc=\EW:im=\EQ:ei=\Er:\
4259         :cm=\E=%+ %+ :do=^J:nd=^L:up=^K:bt=\EI:\
4260         :kh=^^:kb=^H:kd=^J:ku=^K:kd=^J:kl=^H:kr=^L:\
4261         :so=\Ej:se=\Ek:sg#1:us=\El:ue=\Em:ug#1:
4262 # Kimtron ABM 85H added by Dual Systems.
4263 # Some notes about the 85h entries:
4264 # 1) there are several firmware revs of 85H in the world. Use o85h for
4265 #    firmware revs prior to SP51
4266 # 2) Make sure to use 85h entry if the terminal is in 85H mode and the
4267 #    85e entry if it is in 920 emulation mode. They are incompatible in
4268 #    some places and NOT software settable i.e., `is' can't fix change it)
4269 # 3) In 85h mode, the arrow keys and special functions transmit when
4270 #    the terminal is in dup-edit, and work only locally in local-edit.
4271 #    Vi won't swallow `del char' for instance, but `vs' turns on
4272 #    dup-edit anyway so that the arrow keys will work right. If the
4273 #    arrow keys don't work the way you like, change `vs', `ve', and `is'.
4274 #    920E mode does not have software commands to toggle between dup
4275 #    and local edit, so you get whatever was set last on the terminal.
4276 # 4) vb attribute is nice, but seems too slow to work correctly (\Eb<pad>\Ed)
4277 # 5) Make sure `hidden' attributes are selected. If `embedded' attributes
4278 #    are selected, the entries :sg@: and :ug@: should be removed.
4279 # 6) auto new-line should be on (selectable from setup mode only)
4280 #
4281 # From fair@ucbarpa  Sun Oct 27 07:21:05 1985
4282 85h|85H|abm85h|Kimtron ABM 85H, 85H mode:\
4283         :is=\EC\EN\EX^T^N\EA\Ea\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef^M\EG0\Ed\E.4\El:\
4284         :im=\EZ:kd=^V:so=\EG4:se=\EG0:us=\EG8:ue=\EG0:vb@:vs=\E.2:ve=\E.4:\
4285         :mh=\E):mr=\EG4:me=\E(\EG0:sg@:ug@:ds=\Ee:fs=^M:hs:ts=\Eg\Ef:tc=abm85:
4286 85e|85E|abm85e|Kimtron ABM 85H, 920E mode:\
4287         :is=\EC\EX\EA\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef^M\Ek\Eq\Em:\
4288         :mh=\E):mr=\Ej:me=\E(\Ek:im=\EZ:sg@:ug@:vb@:tc=abm85:
4289 o85h|oabm85h|Kimtron ABM 85H, old firmware rev.:\
4290         :is=\E}\EC\EX\Ee\En\E%\Er\E(\Ek\Em\Eq\Ed\ET\EC\E9\EF:\
4291         :im=\EZ:sg@:ug@:vb=\200\200\200^G\200\200\200:\
4292         :mh=\E):mr=\Ej:me=\E(\Ek:tc=abm85:
4293 # from  malman@bbn-vax.arpa
4294 kt7|kimtron model kt-7:\
4295         :am:bs:co#80:li#24:cm=\E=%+ %+ :cl=^Z:cd=\EY:ce=\ET:is=\El\E":\
4296         :al=\EE:dl=\ER:ic=\EQ:dc=\EW:if=/usr/share/tabset/stdcrt:\
4297         :ho=^^:nd=^L:bt=\EI:pt:so=\EG4:se=\EG0:sg#0:us=\EG8:ue=\EG0:ug#0:\
4298         :up=^K:do=^V:kb=^H:ku=^K:kd=^V:kl=^H:kr=^L:kh=^^:ma=^V^J^L :\
4299         :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:\
4300         :k8=^AG\r:k9=^AH\r:k0=^AI\r:ko=ic,dc,al,dl,cl,ce,cd,bt:\
4301         :ts=\Ef:fs=\Eg:
4302 appleII|apple ii plus:vs=\024\103\066:ve=\024\103\062:\
4303         :am:co#80:ce=\035:li#24:cl=\014:bs:nd=\034:up=\037:ho=\E\031:pt:\
4304         :cd=\013:so=\017:se=\016:cm=\036%r%+ %+ :is=\024T1\016:do=^J:kd=^J:\
4305         :vb=\024G1\024T1:kr=^U:
4306 #  Gary Ford 21NOV83
4307 #  New version from ee178aci%sdcc7@SDCSVAX.ARPA  Fri Oct 11 21:27:00 1985
4308 apple-80|apple II with smarterm 80 col:\
4309         :am:bs:bt=^R:bw:cd=10*^K:ce=10^]:cl=10*^L:cm=^^%r%+ %+ :\
4310         :co#80:cr=10*^M:do=^J:ho=^Y:le=^H:li#24:nd=^\\:up=^_:
4311 lisa|apple lisa console display, black on white:\
4312         :al=\E[L:am:bs:cd=\E[J:ce=\E[K:cl=^L:cm=\E[%i%d;%dH:co#88:\
4313         :dc=\E[P:dl=\E[M:do=\E[B:ho=\E[H:ic=\E[@:li#32:\
4314         :nd=\E[C:ms:pt:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:up=\E[A:\
4315         :kb=^h:ku=\E[A:kd=\E[B:kl=\E[D:kr=\E[C:eo:is=\E>\E[0m^L:\
4316         :GS=\E[11m:GE=\E[10m:GV=\140:GH=a:G1=c:G2=f:G3=e:G4=d:GU=u:\
4317         :GD=s:GC=b:GL=v:GR=t:CO=\E[5l:CF=\E[5h:
4318 liswb|apple lisa console display, white on black:\
4319         :so=\E[0m:se=\E[0;7m:us=\E[4m:ue=\E[0;7m:is=\E>\E[0;7m^L:\
4320         :tc=lisa:
4321 # The following is a version of the ibm-pc entry distributed with PC/IX,
4322 # (Interactive Systems' System 3 for the Big Blue), modified by Richard
4323 # McIntosh at UCB/CSM.  The :pt: and :uc: have been removed from the original,
4324 # (the former is untrue, and the latter failed under UCB/man); standout and
4325 # underline modes have been added.  Note: this entry describes the "native"
4326 # capabilities of the PC monochrome display, without ANY emulation; most
4327 # communications packages (but NOT PC/IX connect) do some kind of emulation.
4328 pc|ibmpc|ibm pc PC/IX:\
4329         :li#24:co#80:am:bs:bw:eo:\
4330         :cd=\E[J:ce=\E[K:cl=\Ec:cm=\E[%i%2;%2H:do=\E[B:ho=\E[;H:\
4331         :nd=\E[C:up=\E[A:so=\E[7m:se=\E[0m:us=\E[4m:ue=\E[0m:
4332 pc3|ibmpc3|IBM PC 386BSD Console:\
4333         :Co#8:\
4334         :DO=\E[%dB:\
4335         :F1=\E[W:\
4336         :F2=\E[X:\
4337         :K1=\E[H:\
4338         :K2=\E[I:\
4339         :K3=\E[E:\
4340         :K4=\E[F:\
4341         :K5=\E[G:\
4342         :LE=\E[%dD:\
4343         :RI=\E[%dC:\
4344         :AB=\E[1;%dx:\
4345         :AF=\E[2;%dx:\
4346         :UP=\E[%dA:\
4347         :ac=l\332m\300k\277j\331u\264t\303v\301w\302q\304x\263n\305`^Da\260f\370g\361~\371.^Y-^Xh\261i^U0\333y\363z\362:\
4348         :am:\
4349         :bl=^G:\
4350         :bs:\
4351         :cb=\E[1K:\
4352         :cd=\E[J:\
4353         :ce=\E[K:\
4354         :cl=\E[H\E[J:\
4355         :cm=\E[%i%d;%dH:\
4356         :co#80:\
4357         :cr=^M:\
4358         :do=\E[B:\
4359         :ho=\E[H:\
4360         :is=\E[m:\
4361         :it#8:\
4362         :k;=\E[V:\
4363         :k1=\E[M:\
4364         :k2=\E[N:\
4365         :k3=\E[O:\
4366         :k4=\E[P:\
4367         :k5=\E[Q:\
4368         :k6=\E[R:\
4369         :k7=\E[S:\
4370         :k8=\E[T:\
4371         :k9=\E[U:\
4372         :kD=\177:\
4373         :@7=\E[F:\
4374         :kN=\E[G:\
4375         :kP=\E[I:\
4376         :kb=\177:\
4377         :kd=\E[B:\
4378         :kh=\E[H:\
4379         :kl=\E[D:\
4380         :kr=\E[C:\
4381         :ku=\E[A:\
4382         :le=^H:\
4383         :li#25:\
4384         :ms:\
4385         :nd=\E[C:\
4386         :op=\E[x:\
4387         :pa#64:\
4388         :rs=\E[m:\
4389         :se=\E[m:\
4390         :sf=\E[S:\
4391         :so=\E[7;1r\E[7m:\
4392         :sr=\E[T:\
4393         :ta=^I:\
4394         :te=\E[m:\
4395         :ti=\E[m:\
4396         :up=\E[A:\
4397         :ut:
4398 ibmx|ibmpcx|IBM PC xenix console display:\
4399         :al=\E[L:am:bs:cd=\E[J:ce=\E[K:cl=^L:cm=\E[%d;%dH:co#80:\
4400         :dc=\E[P:dl=\E[M:do=\E[B:ho=\E[H:ic=\E[@:li#25:\
4401         :nd=\E[C:ms:se=\E[0m:so=\E[7m:us=\E[4m:\
4402         :ue=\E[m:up=\E[A:MR=\E[0m:\
4403         :kb=^h:kh=\E[Y:ku=\E[A:kd=\E[B:kl=\E[D:kr=\E[C:eo:\
4404         :GS=\E[11m:GE=\E[10m:\
4405         :GC=b:GL=v:GR=t:RT=^J:\
4406         :GH=\E[196g:GV=\E[179g:\
4407         :GU=\E[193g:GD=\E[194g:\
4408         :G1=\E[191g:G2=\E[218g:G3=\E[192g:G4=\E[217g:\
4409         :CW=\E[E:NU=\E[F:RF=\E[G:\
4410         :WL=\E[K:WR=\E[L:CL=\E[M:CR=\E[N:\
4411         :HM=\E[Y:EN=\E[d:PU=\E[Z:PD=\E[e:
4412 ibmc|ibmcpc|IBM PC xenix color console display:\
4413         :tc=ibm:
4414 ibmcx|ibmcpcx:\
4415         :tc=ibmx:
4416 kaypro|kaypro2|kaypro II:\
4417         :am:bs:cm=\E=%+ %+ :cl=1^Z:co#80:ho=^^:li#24:ma=^K^P:nd=^L:up=^K:\
4418         :kr=^L:kl=^H:ku=^K:kd=^J:
4419 # From Suk Lee ..!{decvax,linus,allegra,ihnp4}!utcsrgv!spoo
4420 trs100|Radio Shack Model 100:\
4421         :am:bs:le=^H:li#8:co#40:ku=^^:kd=^_:kl=^]:kr=^\:up=\EA:\
4422         :nd=\EC:ho=\EH:ce=\EK:cd=\EJ:cl=\EE:xt:cm=\EY%+ %+ :\
4423         :so=\Ep:se=\Eq:al=\EL:dl=\EM:
4424 mac|macintosh|Macintosh with MacTerminal:\
4425         :al=20\E[L:dl=20\E[M:ip=7:dc=7\E[P:ic=9\E[@:xn:dN#30:tc=vt100:
4426 zen50|z50:zephyr:\
4427         :cm=\E=%+ %+ :cd=\EY:co#80:li#24:\
4428         :am:al=\EE:ce=\ET:dc=\EW:dl=\ER:ic=\EQ:\
4429         :cl=\E+:bs:ma=^Hh^Ll^Jj^Kk:sg#1:se=\EGO:so=\EG4:\
4430         :kl=^H:kr=^L:ku=^K:kd=^J:kh=\036:up=^K:\
4431         :BS=^U:CL=^V:CR=^B:kl=^L:ku=^K:kr=^H:kd=^J:kh=\036:
4432 go140|graphon go-140:\
4433         :co#80:li#24:cl=10\E[;H\E[2J:bs:cm=\E[%i%2;%2H:nd=\E[C:up=\E[A:\
4434         :ce=\E[K:cd=10\E[J:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:\
4435         :is=\E<\E=\E[?3l\E[?7l\E(B\E[J\E7\E[;r\E8\E[m\E[q:\
4436         :dl=\E[M:al=\E[L:dc=\E[P:im=\E[4h:ei=\E[4l:\
4437         :ks=\E[?1h\E=:ke=\E[?1l\E>:\
4438         :if=/usr/share/tabset/vt100:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:\
4439         :kh=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:pt:sr=\EM:
4440 go140w|graphon go-140 in 132 column mode:\
4441         :co#132:is=\E<\E=\E[?3h\E[?7h\E(B\E[J\E7\E[;r\E8\E[m\E[q:\
4442         :tc=go140:
4443 # From edm@nwnexus.WA.COM.  Hacked up vt200 termcap to handle GO-225/VT220
4444 go225|go-225|Graphon 225:\
4445         :im=\E[4h:ei=\E[4l:mi:dc=\E[P:al=\E[L:dl=\E[M:\
4446         :cs=\E[%i%d;%dr:sf=\ED:sr=\EM:\
4447         :ce=\E[K:cl=\E[H\E[J:cd=\E[J:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\
4448         :so=\E[7m:se=\E[27m:us=\E[4m:ue=\E[24m:\
4449         :md=\E[1m:mr=\E[7m:mb=\E[5m:me=\E[m:\
4450         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
4451         :rs=\E[!p\E[?7h\E[2;1;1#w:rf=/usr/share/tabset/vt100:\
4452         :do=^J:co#80:li#25:le=^H:bs:am:ks=\E=:ke=\E>:\
4453         :ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:kb=^H:kh=\E[H:\
4454         :ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:pt:vt#3:xn:\
4455         :sc=\E7:rc=\E8:ti=\E[2;0#w\E[1;25r:te=\E[!p\E[?7h\E[2;1;1#w:
4456 sanyo55|sanyo|sanyo mbc-55x pc compatible:\
4457         :co#80:li#25:am:cl=\E[H\E[J:bs:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\
4458         :ce=\E[K:cd=\E[J:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:
4459 # From: Simson L. Garfinkel <simsong@media-lab.mit.edu>
4460 ST|atari st:\
4461         :bs:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :co#80:li#25:nd=\EC:\
4462         :pt:sr=\EI:up=\EA:ku=\EA:kd=\EB:kr=\EC:kl=\ED:\
4463         :do=\EB:\
4464         :so=\Ep:se=\Eq:dl=\EM:al=\EL:am:
4465 # UniTerm terminal program for the Atari ST:  49-line VT220 emulation mode
4466 # From Paul M. Aoki, aoki@ucbvax.Berkeley.EDU
4467 uniterm|uniterm49|UniTerm VT200 emulator, 49 lines:\
4468         :li#49:is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;49r\E[49;1H:\
4469         :tc=vt200:
4470 # YTERM standard version 1.0.  (gts 9-25-84)
4471 # Straight old ascii keyboard except function keys are Yale (e.g.,ASCII.KBD).
4472 # Only 80 tab columns (else yterm 1.1 bug).  No :xn: in 1.0.
4473 # Cannot use termcap :sr=\EM: because vi will not work, too bad.
4474 # vi string is given so that yterm is reset each vi startup.
4475 yterm10|yterm 1.0 UCB ascii.kbd:\
4476         :am:bs:cd=^K:ce=^]:cl=^L:cm=^^%r%+ %+ :co#80:EP:ho=^Y:li#24:nd=^\:pt:\
4477         :rc=\E8:sc=\E7:so=\E[7m:se=\E[m:up=^_:us=\E[4m:ue=\E[m:\
4478         :is=^O\E[7i\E[m\E[?7h\E[?3g\r\EHY0  for \EHYTERM 1.\EH0 with A\EHSCII.KBD\EH 9-13-84\EH        \EH        \EH        \EH        \EH\n:\
4479         :ku=^K:kd=^J:kl=^H:kr=^L:kh=^^:ma=^Hh\012j^Kk^Ll^^H:\
4480         :k0=\E0:k1=\E1:k2=\E2:k3=\E3:k4=\E4:k5=\E5:k6=\E6:k7=\E7:k8=\E8:k9=\E9:\
4481         :vs=^O\E[7i\E[m\E[?7h\E[?3g\r\EHY0      \EH        \EH        \EH        \EH        \EH        \EH        \EH        \EH        \EH\r:
4482 # YTERM variant version 1.1.  (gts 9-13-84)  Version 1.1 has :xn:.
4483 yterm11|yterm 1.1 UCB ascii.kbd:\
4484         :xn:is=^O\E[7i\E[m\E[?7h\E[?3g\r\EHY1  for \EHYTERM 1.\EH1 with A\EHSCII.KBD\EH 9-13-84\EH        \EH        \EH        \EH        \EH\n:\
4485         :tc=yterm10:
4486 # YTERM 1.0 variant no autowrap or tabs
4487 # X does not remember autowrap or tabs when T is deleted and restarted.
4488 yterm10nat|yterm 1.0 UCB ascii.kbd no autowrap or tabs:\
4489         :am@:pt@:vs=^O\E[7i\E[m\E[?7l\E[?3g\rY2\r:\
4490         :is=^O\E[7i\E[m\E[?7l\E[?3g\rY2  for YTERM 1.0 with ASCII.KBD 9-20-84 no autowrap or tabs\n:\
4491         :tc=yterm10:
4492 # KERMIT standard all versions.  (gts 9-25-84)
4493 # Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
4494 kermit|standard kermit:\
4495         :bs:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :co#80:ho=\EH:li#24:nd=\EC:up=\EA:\
4496         :ku=^K:kd=^J:kl=^H:kr=^L:kh=^^:ma=^Hh\012j^Kk^Ll^^H:\
4497         :is=K0 Standard Kermit  9-25-84\n:
4498 kermitam|standard kermit plus am:\
4499         :am:is=K1 Standard Kermit plus Automatic Margins\n:tc=kermit:
4500 # IBMPC Kermit 1.2.  (gts 8-30-84)
4501 # Bugs :cd:ce: do not work except at beginning of line!  :cl: does not work,
4502 # but fake with :cl=\EH\EJ (since :cd=\EJ: works at beginning of line).
4503 pckermit|pckermit12|UCB IBMPC Kermit 1.2:\
4504         :am:li#25:cd@:ce@:cl=\EH\EJ:\
4505         :is=K2 UCB IBMPC Kermit 1.2  8-30-84\n:tc=kermit:
4506 # IBMPC Kermit 1.20     (gts 12-19-84)
4507 # Cannot use line 25, now acts funny like ansi special scrolling region.
4508 # Initialization must escape from that region by cursor position to line 24.
4509 # Cannot use character insert because 1.20 goes crazy if insert at col 80.
4510 # Does not use am: because autowrap mode lost when kermit dropped and restarted.
4511 pckermit120|UCB IBMPC Kermit 1.20:\
4512         :al=\EL:am@:dc=\EN:dl=\EM:do=\EB:ei@:im@:li#24:pt:se=\Eq:so=\Ep:\
4513         :is=\EO\Eq\EJ\EY7 K3 UCB IBMPC Kermit 1.20  12-19-84\n:\
4514         :vs=\EO\Eq\EEK3:tc=kermit:
4515 # MS-DOS Kermit 2.27 for the IBMPC      (UCB gts 3-17-85)
4516 # Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
4517 # Cannot use line 25, now acts funny like ansi special scrolling region.
4518 # Initialization must escape from that region by cursor position to line 24.
4519 # Does not use am: because autowrap mode lost when kermit dropped and restarted.
4520 # Reverse video for standout like H19.
4521 msk227|mskermit227|MS-DOS Kermit 2.27 for the IBMPC:\
4522         :al=\EL:am@:bs:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :co#80:\
4523         :dc=\EN:dl=\EM:do=\EB:ei=\EO:im=\E@:\
4524         :ho=\EH:li#24:nd=\EC:up=\EA:pt:rc=\Ek:sc=\Ej:se=\Eq:so=\Ep:\
4525         :ku=^K:kd=^J:kl=^H:kr=^L:kh=^^:ma=^Hh\012j^Kk^Ll^^H:\
4526         :is=\EO\Eq\EG\Ew\EJ\EY7 K4 MS Kermit 2.27 for the IBMPC 3-17-85\n:\
4527         :vs=\EO\Eq\EG\EwK4:
4528 # MS-DOS Kermit 2.27 with automatic margins     (UCB gts 3-17-85)
4529 msk227am|mskermit227am|UCB MS-DOS Kermit 2.27 with automatic margins:\
4530         :am:\
4531         :is=\EO\Eq\EG\Ev\EJ\EY7 K5 MS Kermit 2.27 +automatic margins 3-17-85\n:\
4532         :vs=\EO\Eq\EG\EvK5:tc=mskermit227:
4533 # MS-DOS Kermit 2.27 UCB 227.14 for the IBM PC  (UCB gts 3-17-85)
4534 # Automatic margins now default.  Use ansi set graphic rendition for standout,
4535 # underline and ul codes (md,me,mr).  Define function keys.
4536 msk22714|mskermit22714|UCB MS-DOS Kermit 2.27 UCB 227.14 IBM PC:\
4537         :am:kn#10:\
4538         :k0=\E0:k1=\E1:k2=\E2:k3=\E3:k4=\E4:k5=\E5:k6=\E6:k7=\E7:k8=\E8:k9=\E9:\
4539         :md=\E[1m:me=\E[m:mr=\E[7m:se=\E[m:so=\E[1m:ue=\E[m:us=\E[4m:\
4540         :is=\EO\Eq\EG\Ev\EJ\EY7 K6 MS Kermit 2.27 UCB 227.14 IBM PC 3-17-85\n:\
4541         :vs=\EO\Eq\EG\EvK6:tc=mskermit227:
4542 # From earle@smeagol.UUCP 29 Oct 85 05:40:18 GMT
4543 # MS-Kermit with Heath-19 emulation mode enabled
4544 h19k|h19kermit|heathkit emulation provided by Kermit (no auto margin):\
4545         :am@:ta@:pt@:xt:da:db:tc=h19-u:
4546 # Amiga termcap by Kent Polk, kent@swrinde.nde.swri.edu (30 May 90)
4547 # Added a few more entries, converted caret-type control sequence (^x) entries
4548 # to '\0xx' entries since a couple of people mentioned losing '^x' sequences.
4549 #
4550 # :as, :ae                      Support for alternate character sets.
4551 # :ve=\E[\040p:vi=\E[\060\040p  cursor visible/invisible.
4552 # :xn:  vt100 kludginess at column 80/NEWLINE ignore after 80 cols(Concept)
4553 #     This one appears to fix a problem I always had with a line ending
4554 #     at 'width+1' (I think) followed by a blank line in vi. The blank
4555 #     line tended to disappear and reappear depending on how the screen
4556 #     was refreshed. Note that this is probably needed only if you use
4557 #     something like a Dnet Fterm with the window sized to some peculiar
4558 #     dimension larger than 80 columns.
4559 # :k0=\E9~      map F10 to k0 - could have F0-9 -> k0-9, but ... F10 was 'k;'
4560 # :F1-FA                        removed F11 through F20.
4561 amiga|Amiga ANSI:\
4562         :co#80:li#24:am:bs:bw:\
4563         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
4564         :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:IC=\E[%d@:\
4565         :ae=\017:al=\E[L:as=\016:bl=\007:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
4566         :cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=\E[B:ho=\E[H:ic=\E[@:is=\E[20l:\
4567         :k1=\E0~:k2=\E1~:k3=\E2~:k4=\E3~:k5=\E4~:k6=\E5~:k7=\E6~:k8=\E7~:\
4568         :k9=\E8~:k0=\E9~:kn#10:kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=\E[D:\
4569         :mb=\E[7;2m:md=\E[1m:me=\E[0m:mh=\E[2m:mk=\E[8m:mr=\E[7m:nd=\E[C:\
4570         :rs=\Ec:se=\E[0m:sf=\E[S:so=\E[7m:sr=\E[T:ue=\E[0m:up=\E[A:us=\E[4m:\
4571         :vb=\007:ve=\E[\040p:vi=\E[\060\040p:xn:
4572 # The pcplot IBM-PC terminal emulation program is really messed up. It is
4573 # supposed to emulate a vt-100, but emulates the wraparound bug incorrectly,
4574 # doesn't support scrolling regions, ignores add line commands, and ignores
4575 # delete line commands. Consequently, the resulting behavior looks like a
4576 # crude adm3a-type terminal.
4577 # Steve Jacobson 8/85
4578 pcplot:\
4579         :cs@:sc@:rc@:xn@:tc=vt100:
4580 # From Joel Rubin, jmrubin@coral, a preliminary TERMCAP for VIDTEX,
4581 # a terminal program sold by Compuserve.  Line and column numbers are
4582 # computer-dependent (I have a Commodore '64); you should use the meta-B
4583 # option to shut off clean-breaking of lines.  No key codes included
4584 # since some of them are programmable and most are machine-specific.
4585 # Works on vi if you don't use clean-breaking.  Very similar to the IBM 3101
4586 # termcap.  Escape-D used for backspace because control-H is destructive
4587 # backspace.  There seem to be a few weirdnesses (especially at the beginning
4588 # of a wrapped line), and the cursor does not, unfortunately, flash.
4589 vid|vidtex|Compuserve vidtex program:\
4590         :am:bc=\ED:cl=^L:li#25:co#40:nd=\EC:up=\EA:cd=\EJ:ce=\EK:\
4591         :ho=\EH:cm=\EY%+\40%+\40:pt:
4592 # From: Robert Nathanson <c160-3bp@Coral> via tut   Wed Oct 5, 1983
4593 # (This had extension capabilities
4594 #       :rv=\EH:re=\EI:rg=0:GG=0:\
4595 #       :CO=\E\\:WL=^Aa\r:WR=^Ab\r:CL=^Ac\r:CR=^Ad\r:DL=^Ae\r:RF=^Af\r:\
4596 #       :RC=^Ag\r:CW=^Ah\r:NU=^Aj\r:EN=^Ak\r:HM=^Al:PL=^Am\r:\
4597 #       :PU=^An\r:PD=^Ao\r:PR=^Ap\r:HP=^A@\r:RT=^Aq\r:TB=\r:CN=\177:MP=\E+F:
4598 # It had both ":bs:" and ":bs=^H:"; I removed the latter.  Also, it had
4599 # ":sg=0:" and ":ug=0:"; evidently the composer was trying (unnecessarily)
4600 # to force both magic cookie glitches off.  Once upon a time, I
4601 # used a Fortune myself, so I know the capabilities of the form ^A[a-z]\r are
4602 # function keys; thus the "Al" value for HM was certainly an error.  I renamed
4603 # EN/PD/PU/CO/CF/RT according to the XENIX/TC mappings, but not HM/DL/RF/RC.
4604 # I think :rv: and :re: are start/end reverse video and :rg: is a nonexistent
4605 # "reverse-video-glitch" capability; I have put :rv: and :re: in with standard
4606 # names below.  I've removed obsolete ":nl=5^J:" as there is a :do: -- esr)
4607 fos|fortune|Fortune system:\
4608         :am:bs:bw:\
4609         :co#80:li#25:\
4610         :@7=^Ak\r:@8=^Aq:ac=j*k(l m"q&v%w#x-:ae=^O:al=15\034E:\
4611         :as=\Eo:bl=^G:cd=3*\034Y:ce=^\Z:cl=20\014:cm=\034C%+ %+ :\
4612         :cr=^M:dc=5\034W:dl=15\034R:do=3\n:ei=:ho=10\036:ic=5\034Q:\
4613         :im=:is=^_..:k1=^Aa\r:k2=^Ab\r:k3=^Ac\r:k4=^Ad\r:k5=^Ae\r:\
4614         :k6=^Af\r:k7=^Ag\r:k8=^Ah\r:kN=^Ao\r:kP=^An\r:kb=^H:\
4615         :kd=^Ay\r:kh=^A?\r:kl=^Aw\r:kr=^Az\r:ku=^Ax\r:le=^H:mb=\EN:\
4616         :me=\EI:mr=\EH:nw=^M^J:se=^\I`:sf=^J:so=^\H`:ta=^Z:ue=^\IP:\
4617         :up=3\013:us=^\HP:ve=\E\\:vi=\E]:vs=\E\072:
4618 # basis from Peter Harrison, Computer Graphics Lab, San Francisco
4619 #   ucbvax!ucsfmis!harrison ...uucp / ucbvax!ucsfmis!harrison@BERKELEY ...ARPA
4620 basis|BASIS108 computer with terminal translation table active:\
4621         :do=5000^J:nl=5000*^J:\
4622         :cd=\EY:ce=\ET:cl=300\E*:ma=^K^P^R^L^L :\
4623         :kb=^H:kl=^H:ku=^K:kr=^L:kd=^J:so=\E(:se=\E):tc=adm3a:
4624 # From Peter Harrison, Computer Graphics Lab, San Francisco
4625 #   ucbvax!ucsfmis!harrison  .....uucp
4626 #   ucbvax!ucsfmis!harrison@BERKELEY   .......ARPA
4627 # "These two work.  If you don't have the inverse video chip for the
4628 # Apple with videx then remove the so and se fields."
4629 DaleApple|Apple with videx videoterm 80 column board with inverse video:\
4630         :do=^J:am:le=^H:bs:cd=^K:ce=^]:cl=300^L:cm=^^%r%+ %+ :co#80:ho=^Y:\
4631         :kd=^J:kl=^H:kr=^U:kh=^Y:\
4632         :li#24:nd=^\:pt:so=^Z3:se=^Z2:up=^_:xn:
4633 ibmaed|IBM Experimental display:\
4634         :al=\EN:am:bs:cd=\EJ:ce=\EI:cl=\EH\EK:cm=\EY%+\40%+\40:co#80:\
4635         :dc=\EQ:dl=\EO:do=\EB:ho=\EH:ic=\EP:li#52:\
4636         :nd=\EC:ms:so=\E0:se=\E0:us=:ue=:up=\EA:\
4637         :kb=^h:ku=\EA:kd=\EB:kl=\ED:kr=\EC:eo:vb=\EG:pt:
4638 # funny terminal that the TANDEM uses.
4639 653|t653x|Tandem 653x multipage terminal:\
4640         :li#24:co#80:ho=\EH:cm=\023%+ %+ :cl=\EI:cd=\EJ:ce=\EK:am:bs:\
4641         :if=/usr/share/tabset/tandem653:sb=\ES:sr=\ET:da:db:so=\E6$:se=\E6 :\
4642         :us=\E60:ue=\E6 :sg#1:ug#1:up=\EA:do=\012:le=\010:nd=\EC:\
4643         :hs:ts=\Eo:fs=\r:ds=\Eo\r:ws#64:
4644 # From Paul Leondis, unllab@amber.berkeley.edu
4645 ifmr|Informer D304:\
4646         :am:bs:cd=\E/:ce=\EQ:cl=\EZ:cm=\EY%r%+ %+ :co#80:dc=\E\\:\
4647         :do=^J:ic=\E[:li#24:nd=\EC:so=\EJ:se=\EK:up=\EA:\
4648         :sr=\En:ho=\EH:
4649 # From Christian Weisgerber, naddy@mips.inka.de, a TERMCAP entry
4650 # for Linux consoles.
4651 linux|Linux Console:\
4652         :am:eo:mi:ms:xn:xo:\
4653         :co#80:it#8:li#25:\
4654         :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:\
4655         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:K2=\E[G:\
4656         :ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:cd=\E[J:ce=\E[K:\
4657         :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
4658         :ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:\
4659         :im=\E[4h:k1=\E[[A:k2=\E[[B:k3=\E[[C:k4=\E[[D:k5=\E[[E:\
4660         :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:\
4661         :kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=\177:kd=\E[B:kh=\E[1~:kH=\E[4~:@7=\E[4~:*6=\E[4~:\
4662         :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
4663         :me=\E[0;10m:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=^M^J:rc=\E8:\
4664         :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
4665         :ue=\E[24m:up=\E[A:us=\E[4m:vb=200\E[?5h\E[?5l:\
4666         :ve=\E[?25h:vi=\E[?25l:\
4667         :k;=\E[21~:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\
4668         :F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:
4669 linux-m|Linux Console no color:\
4670         :pa@:Co@:AF@:AB@:op@:\
4671         :tc=linux:
4672 cygwin:\
4673         :xn@:op=\E[39;49m:Km=\E[M:tc=linux:
4674 # Multilingual Sysinstall (kon2 console)
4675 # HOSOKAWA, Tatsumi (hosokawa@FreeBSD.org)
4676 kons25x|kons25-euc:\
4677         :ac=q\207x\214m\205v\212j\202t\210n\206u\211l\204w\213k\203y\053z\053f\336~\245a\043h\043`^D.v-\136I^U0\215:\
4678         :ve=\E[25h:vi=\E[25l:\
4679         :k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:\
4680         :k9=\E[U:k;=\E[V:F1=\E[W:F2=\E[X:K2=\E[E:\
4681         :kN=\E[G:kP=\E[I:\
4682         :tc=linux:
4683 kons25x-m|kons25-euc-mono:\
4684         :pa@:Co@:Sf@:Sb@:op@:us=\E[4m:ue=\E[m:md@:mh@:tc=kons25x:
4685
4686 # Termcap for Top Gun Telnet and SSH on the Palm Pilot.
4687 # http://www.ai/~iang/TGssh/
4688 pilot|tgtelnet:am:xn:bs:co#39:li#16:cl=\Ec:cm=\Em%+ %+ :ho=\Em  :nw=\Em~ :\
4689         :so=\Eb:se=\EB:bl=^g:cr=^m:do=^j:le=^h:kP=^k:kN=^l:
4690
4691 # Termcap entry for rxvt, taken from the sources of rxvt-2.6.3
4692 # with additional @7 capability to make END work correctly.
4693 # From Giorgos Keramidas <charon@labs.gr>
4694 # Fix alternate character set capabilities (ae, as) -- nectar@freebsd.org
4695 rxvt-mono|rxvt terminal emulator (monochrome) (X Window System):\
4696         :am:eo:km:mi:ms:xn:xo:\
4697         :co#80:it#8:li#24:\
4698         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
4699         :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
4700         :RI=\E[%dC:UP=\E[%dA:ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:\
4701         :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
4702         :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:\
4703         :ho=\E[H:i1=\E[?47l\E=\E[?1l:ic=\E[@:im=\E[4h:\
4704         :is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l:\
4705         :k0=\E[21~:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:\
4706         :k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
4707         :kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:ke=\E>:\
4708         :kh=\E[7~:@7=\E[8~:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=^H:mb=\E[5m:\
4709         :md=\E[1m:me=\E[m\017:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:\
4710         :se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
4711         :te=\E[?47l\E8:ti=\E7\E[?47h:ue=\E[24m:up=\E[A:us=\E[4m:\
4712         :vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
4713
4714 # Termcap entry for rxvt-unicode, taken from http://cvs.schmorp.de/rxvt-unicode/doc/rxvt.7.html#I_need_a_termcap_file_entry
4715 rxvt-unicode|rxvt-unicode terminal (X Window System):\
4716         :SF=\E[%dS:SR=\E[%dT:bw:ec=\E[%dX:kb=\177:kd=\EOB:ke=\E[?1l\E>:\
4717         :kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:lm#0:te=\E[r\E[?1049l:\
4718         :ti=\E[?1049h:tc=rxvt-mono:
4719
4720 rxvt|rxvt terminal emulator (X Window System):\
4721         :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:tc=rxvt-mono:
4722
4723 rxvt-256color|rxvt terminal emulator with 256 colors:\
4724         :Co#256:pa#32767:\
4725         :AB=\E[48;5;%dm:AF=\E[38;5;%dm:op=\E[39;49m:tc=rxvt-unicode:
4726
4727 rxvt-unicode-256color|rxvt-unicode terminal with 256 colors (X Window System):\
4728         :tc=rxvt-256color:
4729
4730 # Termcap entry for Eterm, taken from the sources of Eterm-0.9.2
4731 Eterm|Eterm Terminal Emulator (X11 Window System):\
4732         :am:bw:eo:km:mi:ms:xn:xo:\
4733         :co#80:it#8:li#24:lm#0:pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39m\E[49m:\
4734         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
4735         :K1=\E[7~:K2=\EOu:K3=\E[5~:K4=\E[8~:K5=\E[6~:LE=\E[%dD:\
4736         :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:\
4737         :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
4738         :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[B:\
4739         :ec=\E[%dX:ei=\E[4l:ho=\E[H:i1=\E[?47l\E>\E[?1l:ic=\E[@:\
4740         :im=\E[4h:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l:\
4741         :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
4742         :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:\
4743         :kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:ke=:kh=\E[7~:\
4744         :kl=\E[D:kr=\E[C:ks=:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
4745         :me=\E[m\017:mr=\E[7m:nd=\E[C:rc=\E8:\
4746         :sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
4747         :te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[24m:up=\E[A:\
4748         :us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:\
4749         :ac=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:
4750
4751 #
4752 # END OF TERMCAP
4753 # ------------------------