Upgrade libressl. 1/2
[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. Neither the name of the University nor the names of its contributors
13 #    may be used to endorse or promote products derived from this software
14 #    without specific prior written permission.
15 #
16 # THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
17 # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19 # ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
20 # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 # SUCH DAMAGE.
27 #
28 #       @(#)termcap.src 8.2 (Berkeley) 11/17/93
29 # $FreeBSD$
30
31 #       Termcap source file
32 #       John Kunze, Berkeley
33 #       Craig Leres, Berkeley
34 #
35 # Please submit changes to http://bugs.dragonflybsd.org.
36 #
37 # << EOH - after reordering, above header lines survive and this line dies >>
38 #
39 # DESCRIPTION:
40 # This file describes capabilities of various terminals, as needed by
41 # software such as screen editors.  It does not attempt to describe
42 # printing terminals very well, nor graphics terminals.  Someday.
43 # See termcap(5) in the Unix Programmers Manual for documentation.
44 #
45 # Conventions: First entry is canonical name for model or mode, last entry
46 # is verbose description.  Others are mnemonic synonyms for the terminal.
47 #
48 # Terminal naming conventions:
49 # Terminal names look like <manufacturer> <model> - <modes/options>
50 # Certain abbreviations (e.g. c100 for concept100) are also allowed
51 # for upward compatibility.  The part to the left of the dash, if a
52 # dash is present, describes the particular hardware of the terminal.
53 # The part to the right can be used for flags indicating special ROM's,
54 # extra memory, particular terminal modes, or user preferences.
55 # All names should be in lower case, for consistency in typing.
56 #
57 # The following are conventionally used flags:
58 #       rv      Terminal in reverse video mode (black on white)
59 #       2p      Has two pages of memory.  Likewise 4p, 8p, etc.
60 #       w       Wide - in 132 column mode.
61 #       pp      Has a printer port which is used.
62 #       na      No arrow keys - termcap ignores arrow keys which are
63 #               actually there on the terminal, so the user can use
64 #               the arrow keys locally.
65 #
66 # To easily test a new terminal description, put it in $HOME/.termcap
67 # and programs will look there before looking in /etc/termcap.
68 # You can also setenv TERMPATH to a list of full pathnames (separated
69 # by spaces or colons) to be searched by tgetent() in the order listed.
70 # The TERMCAP environment variable is usually set to the termcap
71 # entry itself to avoid reading files when starting up a program.
72 #
73 # If you absolutely MUST check for a specific terminal (this is discouraged)
74 # check for the 2nd entry (the canonical form) since all other codes are
75 # subject to change.  We would much rather put in special capabilities
76 # to describe your terminal than have you key on the name.
77 #
78 #  Special manufacturer codes:
79 #       A: hardcopy daisy wheel terminals
80 #       M: Misc. (with only a few terminals)
81 #       q: Homemade
82 #       s: special (dialup, etc.)
83 #
84 # Comments in this file begin with # - they cannot appear in the middle
85 # of a termcap entry.  Individual entries are commented out by
86 # placing a period between the colon and the capability name.
87 #
88 # To add a termcap entry under DragonFly for a new terminal type, insert
89 # the entry in the appropriate location in /etc/termcap then issue this
90 # command:
91 #
92 #  cap_mkdb -f /usr/share/misc/termcap /etc/termcap
93 #
94 # Terminfo source entries can be converted to termcap entries with the
95 # tic program that is part of the ncurses distribution, see the ports
96 # section.
97 #
98 #
99 #  This file is to be installed with an editor script (reorder)
100 #  that moves the most common terminals to the front of the file.
101\f# --------------------------------
102 #
103 # A: DAISY WHEEL PRINTERS
104 #
105 # The A manufacturer represents Diablo, DTC, Xerox, Qume, and other Daisy
106 # wheel terminals until such time as termcap distinguishes between them
107 # enough to justify separate codes.
108 # This is an "experimental" entry for the SRI Agiles.
109 # It has been tried in a minimal way -- the Agile did not blow up!
110 # However, it has not been exhaustively tested.
111 # Anyone who tries it and finds it wanting should get in touch with:
112 #       Ralph Keirstead (ralph@sri-unix);
113 #       EK352; SRI International; 333 Ravenswood Avenue; Menlo Park, CA 94025
114 agile|agiles|sri agiles:\
115         :bs:hc:os:pl:co#132:do=^J:kb=^H:up=\E\n:\
116         :hu=\E0:hd=\E9:if=/usr/share/tabset/std:is=\EE\EF\EJ:
117 1620|1720|450|ipsi|diablo 1620:\
118         :do=^J:ct=\E2:st=\E1:ch=\E\t%i%.:\
119         :if=/usr/share/tabset/xerox1720:\
120         :kb=^H:le=^H:bs:co#132:hc:hu=\EU:hd=\ED:os:pt:up=\E\n:
121 1620-m8|1640-m8|diablo 1620 w/8 column left margin:\
122         :do=^J:co#124:is=\r        \E9:tc=1620:
123 1640|1740|630|1730|x1700|diablo|xerox|diablo 1640:\
124         :if=/usr/share/tabset/xerox1730:\
125         :us=\EE:ue=\ER:so=\EW:se=\E&:tc=1620:
126 1640-lm|1740-lm|630-lm|1730-lm|x1700-lm|diablo-lm|xerox-lm|\
127         diablo 1640 with indented left margin:\
128         :if=/usr/share/tabset/xerox1730-lm:\
129         :co#124:us=\EE:ue=\ER:so=\EW:se=\E&:tc=1620:
130 # DTC 382 with VDU.  Has no cd so we fake it with ce.  Standout works but
131 # won't go away without dynamite.  The terminal has tabs, but I'm getting
132 # tired of fighting the braindamage.  If no tab is set or the terminal's
133 # in a bad mood, it glitches the screen around all of memory.  Note that
134 # return puts a blank ("a return character") in the space the cursor was
135 # at, so we use ^P return (and thus ^P newline for newline).  Note also
136 # that if you turn off pt and let Unix expand tabs, curses won't work
137 # (current version) because it doesn't turn off this bit, and cursor
138 # addressing sends a tab for row/column 9.  What a losing terminal!  I
139 # have been unable to get tabs set in all 96 lines - it always leaves at
140 # least one line with no tabs in it, and once you tab through that line,
141 # it completely weirds out.
142 dtc|ps|dtc382|382:\
143         :am:da:db:xs:\
144         :co#80:li#24:lm#96:\
145         :al=^P^Z:bl=^G:cd=\020\025\020\023\020\023:ce=^P^U:\
146         :cl=20\020\035:cm=\020\021%r%.%.:cr=^P^M:dc=^X:dl=^P^S:\
147         :ei=^Pi:ho=^P^R:im=^PI:le=^H:nd=^PR:pc=\177:sf=^J:te=:\
148         :ti=20\020\035:ue=^P \200:up=^P^L:us=^P ^P:ve=^Pb:vs=^PB:
149 dtc300s|300|300s|dtc 300s:\
150         :ct=\E3:st=\E1:do=^J:\
151         :kb=^h:le=^H:bs:co#132:hc:hu=\EH:hd=\Eh:os:pt:up=^Z:
152 gsi:\
153         :le=^H:bs:co#132:hc:hd=\Eh:hu=\EH:os:pt:up=^Z:do=^J:
154 # This used to have :pl: - maybe they meant :pt:?
155 aj830|aj832|aj|anderson jacobson:\
156         :do=^J:le=^H:bs:hc:hd=\E9:hu=\E8:os:up=\E7:
157 # From Chris Torek <chris@gyre.umd.edu> Thu, 7 Nov 85 18:21:58 EST
158 aj510|AJ510|Anderson-Jacobson model 510:\
159         :ip=.1*:so=\E"I:us=\E"U:cd=\E'P:ce=\E'L:cl=^L:cm=\E#%+ %+ :\
160         :dl=2*\E&D:ue=\E"U:co#80:li#24:se=\E"I:al=2*\E&I:im=\E'I:ei=\E'J:\
161         :dc=.1*\E'D:up=\EY:nd=\EX:bs:am:mi:ti=\E"N:te=\E"N:\
162         :ku=\EY:kd=\EZ:kl=\EW:kr=\EX:pc=\177:
163 # From cbosg!ucbvax!pur-ee!cincy!chris Thu Aug 20 09:09:18 1981
164 # This is incomplete, but it's a start.
165 5520|nec|spinwriter|nec 5520:\
166         :ct=\E3:st=\E1:do=^J:kb=^h:le=^H:bs:co#132:hc:hu=\E]s\E9\E]W:\
167         :hd=\E]s\n\E]W:os:pt:up=\E9:
168 qume5|qume|Qume Sprint 5:\
169         :ct=\E3:st=\E1:do=^J:\
170         :kb=^h:le=^H:bs:co#80:hc:hu=\EH:hd=\Eh:os:pt:up=^Z:
171 q102|qume102|Qume 102:\
172         :al=\EE:am:bs:bt=\EI:\
173         :cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :co#80:ct=\E3:\
174         :dc=\EW:dl=\ER:do=^J:ho=^^:ic=\EQ:\
175         :k0=^A@\r:k1=^AA\r:k2=^AB\r:k3=^AC\r:kd=^J:kl=^H:kr=^L:ku=^K:\
176         :le=^H:li#24:ma=^K^P^L :nd=^L:\
177         :se=\EG0:sg#1:so=\EG4:st=\E1:\
178         :ue=\EG0:ug#1:up=^K:us=\EG8:
179 # From ucbvax!mtxinu!sybase!tim (Tim Wood) Fri Sep 27 10:25:24 PDT 1985
180 # This entry supports line and character insert and delete, scroll up and
181 # down and the arrow keys.  To use it, perform the following on your qvt-101
182 #       1) enter SET-UP mode, select the SET 3 line;
183 #       2) move the cursor to the EMULATION item and hit SPACE
184 #          until QVT-101B appears
185 #       3) enter SHIFT-S
186 #       4) exit SET-UP - the terminal is now configured
187 q101|qvt101|qvt-101|Qume 101 $310 special:\
188         :al=\EE:am:bt=\EI:ce=\Et:cl=\E*:dc=\EW:\
189         :dl=\ER:do=^J:ic=\EQ:md=\E(:me=\EG0:mh=\E):\
190         :le=^H:bs:cm=\E=%+ %+ :cl=1^Z:co#80:ho=^^:li#24:ma=^K^P:nd=^L:ku=^K:\
191         :vs=\EM4\040\200\200\200:mr=\EG4:ms:so=\EG4:se=\EG1:
192 # I suspect the xerox1720 is the same as the diablo 1620.
193 x1720|1700|x1750|xerox 1720:\
194         :co#132:le=^H:bs:hc:os:pt:do=^J:ct=\E2:st=\E1:
195\f# --------------------------------
196 #
197 # B: AT&T ATT
198 #
199 # AT&T Teletype 5410 Terminal (a.k.a. 4410)
200 # From: carvalho%kepler@Berkeley.EDU (Marcio de Carvalho)
201 # Date: Thu, 26 Feb 87 09:16:50 PST
202 #
203 # Although the 5410 supports labels, it blanks the screen after
204 # each label is programmed creating to much visual activity.
205 # To use the labels, use FL=\E[%d;00q%-16s
206 #
207 5410|4410|tty5410|att4410|AT&T Teletype 5410 terminal with 80 columns:\
208         :am:hs:mi:ms:xo:\
209         :Nl#8:co#80:it#8:lh#2:li#24:lw#8:ws#80:\
210         :ac=++,,--..00``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
211         :ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
212         :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:\
213         :do=\E[B:ei=:fs=\E8:ho=\E[H:i1=\E[?3l\E)0:\
214         :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:\
215         :ic=\E[@:im=:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:\
216         :k6=\EOU:k7=\EOV:k8=\EOW:kC=\E[2J:kH=\E[24;1H:kb=^H:\
217         :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:ll=\E[24H:\
218         :mb=\E[5m:md=\E[2;7m:me=\E[0m:mh=\E[2m:mk=\E[8m:mr=\E[7m:\
219         :nd=\E[C:nw=^M^J:rc=\E8:rs=\Ec\E[?3l\E[2;0y:sc=\E7:\
220         :se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:ts=\E7\E[25;%+^AH:\
221         :ue=\E[m:up=\E[A:us=\E[4m:bs:
222 # AT&T 630 MTG DMD from muller%sdcc7@ucsd.edu (Keith Muller)
223 att630|dmd630|ATT630|630DMD|630dmd|630MTG|AT&T 630 windowing terminal:\
224         :am:da:db:ms:bs:co#80:it#8:li#60:lm#0:\
225         :up=\E[A:do=\E[B:nd=\E[C:le=\b:UP=\E[%dA:DO=\E[%dB:RI=\E[%dC:\
226         :LE=\E[%dD:cm=\E[%i%d;%dH:ho=\E[H:bt=\E[Z:\
227         :sf=\n:sr=\EM:SF=\E[%dS:SR=\E[%dT:us=\E[4m:ue=\E[m:so=\E[7m:se=\E[m:\
228         :mr=\E[7m:mh=\E[2m:mb=\E[5m:me=\E[m:ce=\E[K:cd=\E[J:cl=\E[H\E[J:\
229         :dc=\E[P:dl=\E[M:al=\E[L:DC=\E[%dP:DL=\E[%dM:AL=\E[%dL:\
230         :ic=\E[@:IC=\E[%d@:sc=\E7:rc=\E8:i2=\E[m:rs=\Ec:\
231         :pf=\E[?4i:po=\E[?5i:\
232         :kb=\b:kC=\E[2J:kh=\E[H:ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:
233 dmd630-24|att630-24|ATT630-24|630DMD-24|630MTG-24|AT&T 630 windowing terminal 24 lines:\
234         :li#24:tc=att630:
235 dmd615|att615|ATT615|615DMD|615MTG|AT&T 615 windowing terminal 80 column:\
236         :li#24:tc=att630:
237 dmd615-w|att615-w|ATT615-w|615DMD-w|615MTG-w|AT&T 615 windowing terminal 132 column:\
238         :li#24:co#132:tc=att630:
239 dmd620|att620|ATT620|620DMD|620MTG|AT&T 620 windowing terminal 80 column:\
240         :li#24:tc=att630:
241 dmd620-w|att620-w|ATT620-w|620DMD-w|620MTG-w|AT&T 620 windowing terminal 132 column:\
242         :li#24:co#132:tc=att630:
243 # AT&T Teletype 5420 Terminal (a.k.a. 4415) June 5, 1985
244 5420|4415|tty5420|att4415|AT&T Teletype 5420 terminal:\
245         :bs:db:mi:xo:\
246         :Nl#8:lh#2:lm#78:lw#8:ws#55:\
247         :@1=\Et:@7=\Ez:@8=\Eent:AL=\E[%dL:CM=\E[%i%d;%dt:\
248         :DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:LF=\E|:\
249         :LO=\E~:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:SF=\E[%dE:SR=\E[%dF:\
250         :UP=\E[%dA:bt=\E[Z:ch=\E[%+^AG:cl=\E[x\E[J:\
251         :cm=\E[%i%d;%dx:ct=\E[3g:cv=\E[%+^Ad:ec=\E[%ds\E[%dD:\
252         :ei=\E[4l:ho=\E[x:i1=100\E[?3l:i2=\E[?5l:ic@:im=\E[4h:\
253         :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:\
254         :k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:\
255         :k8=\EOj:kA=\E[L:kB=\E[Z:kD=\E[P:kE=\E[2K:kF=\E[T:kH=\Eu:\
256         :kI=\E[4h:kL=\E[M:kN=\E[U:kP=\E[V:kR=\E[S:\
257         :ke=\E[19;0j\E[21;1j\212:ks=\E[19;1j\E[21;4j\Eent:\
258         :l1=F1:l2=F2:l3=F3:l4=F4:l5=F5:l6=F6:l7=F7:l8=F8:ll=\Ew:\
259         :me=\E[0m\017:mp=\EV:pf=\E[?9i:po=\E[?4i:ps=\E[?2i:st=\EH:\
260         :ts=\E7\E[25;%+^HH:vb=\E[?5h\E[?5l:ve=\E[11;0j:\
261         :vs=\E[11;1j:tc=att4410:
262 # The Teletype 5425 is really version 2 of the Teletype 5420. It
263 # is quite similar, except for some minor differences. No page
264 # mode, for example, so all of the :cm: sequences used above have
265 # to change back to what's being used for the 5410. Many of the
266 # option settings have changed their numbering as well.
267 #
268 # This has been tested on a preliminary model.
269 #
270 # (att5425: added <rmam>/<smam> based on the init string -- esr)
271 # (sgr removed to fit entry within 1023 bytes)
272 # (acsc removed to fit entry within 1023 bytes)
273 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
274 att5425|tty5425|att4425|AT&T 4425/5425:\
275         :am:da:db:hs:mi:ms:xn:xo:\
276         :co#80:it#8:li#24:lm#78:ws#55:\
277         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
278         :LE=\E[%dD:RI=\E[%dC:SF=\E[%dE:SR=\E[%dF:UP=\E[%dA:ae=^O:\
279         :al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
280         :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
281         :dl=\E[M:do=^J:ec=\E[%ds\E[%dD:ei=\E[4l:fs=\E8:ho=\E[H:\
282         :i1=100\E<\E[?3l:i2=\E[?5l:im=\E[4h:\
283         :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:\
284         :k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:\
285         :k8=\EOj:kD=\E[P:kI=\E[4h:kb=^H:kd=\E[B:\
286         :ke=\E[21;0j\E[25;1j\212:kh=\E[H:kl=\E[D:kr=\E[C:\
287         :ks=\E[21;1j\E[25;4j\Eent\E~:ku=\E[A:le=^H:ll=\E[24H:\
288         :mb=\E[5m:md=\E[2;7m:me=\E[0m:mh=\E[2m:mr=\E[7m:nd=\E[C:\
289         :nw=^M^J:rc=\E8:rs=\Ec\E[?3l\E[2;0y:sc=\E7:se=\E[m:sf=^J:\
290         :so=\E[7m:sr=\EM:st=\EH:ta=^I:ts=\E7\E[25;%+^HH:ue=\E[m:\
291         :up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[12;0j:\
292         :vs=\E[12;1j:
293 t4|4420|tty4420|Teletype 4420:\
294         :vs=\ER:ve=\ER:am:da:db:mi:cr=\EG:\
295         :nl=\EG\EB:li#23:\
296         :co#80:cl=\EH\EJ:cd=\EJ:cm=\EY%+ %+ :\
297         :bs:up=\E7:do=\EB:nd=\EC:al=\EL:\
298         :dl=\EM:dc=\EP:ic=\E\136:sf=\EH\EM\EY5 :sr=\ET:kb=^H:
299 pc6300plus|6300|6300plus:\
300         :am:bs:xo:\
301         :co#80:li#24:\
302         :al=\E[1L:bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[2J\E[H:\
303         :cm=\E[%i%2;%2H:cr=^M:ct=\E[3g:dc=\E[1P:dl=\E[1M:do=\E[B:\
304         :ei=:ho=\E[H:ic=\E[1@:im=:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:\
305         :k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:k9=\EOk:k;=\EOu:kb=^H:\
306         :kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
307         :me=\E[m:mh=\E[2m:mk=\E[9m:mr=\E[7m:nd=\E[C:nw=^M^J:\
308         :se=\E[m:sf=^J:so=\E[7m:st=\EH:ue=\E[m:up=\E[A:us=\E[4m:\
309         :ve=\E[=1C:vi=\E[=C:
310 # AT&T 6386 decompiled and hacked from SVR3.1 terminfo
311 # From: caron@polya.Stanford.EDU (Ilan G. Caron)
312 # Problems:  (1) The mode lines are screwed up - they're not in standout
313 # (an extraneous ESC-RD sequence is prepended to each mode line).
314 # (2) Cursor addressing into the mode line is often off-by-one,
315 # in particular, when the percentage indicator is updated.
316 # (3) When reverting to a single window (C-x 1), the display
317 # needs refreshing (an extraneous ESC-S seems to be generated).
318 # (The above 3 might be manifestations of the same problem).
319 # (4) Deletes sometime don't, especially when done fast - does this
320 # suggest that I need to pad something?
321 AT386|at386|386AT|386at|at/386 console:\
322         :am:bw:eo:xo:Co#8:NC#3:co#80:li#25:pa#64:kn#6:\
323         :@7=\E[Y:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
324         :F1=\EOZ:F2=\EOA:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:\
325         :SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
326         :ac=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~:\
327         :ae=\E[10m:al=\E[1L:as=\E[12m:bl=^G:cd=\E[J:ce=\E[K:\
328         :cl=\E[2J\E[H:cm=\E[%i%2;%2H:cr=\r:dc=\E[P:dl=\E[1M:\
329         :do=\E[B:ho=\E[H:ic=\E[1@:is=\E[0;10;39m:k1=\EOP:\
330         :k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:\
331         :k8=\EOW:k9=\EOX:k;=\EOY:kB=^]:kC=\E[2J:kD=\E[P:\
332         :kI=\E[@:kM=\E0:kN=\E[U:kP=\E[V:kb=\b:kd=\E[B:kh=\E[H:\
333         :kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:\
334         :me=\E[0;10m:mk=\E[9m:mr=\E[7m:nd=\E[C:op=\E[0m:\
335         :se=\E[m:sf=\E[S:so=\E[43;30m:ta=\t:ue=\E[m:up=\E[A:\
336         :sr=\E[T:TC=\E[%d@:IC=\E[%d@:\
337         :us=\E[4m:vb=^G:bc=\E[D:
338 att7300|unixpc|pc7300|3b1|s4|AT&T UNIX PC Model 7300:\
339         :am:xo:\
340         :co#80:it#8:li#24:\
341         :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
342         :UP=\E[%dA:al=\E[L:bl=^G:bt=\E^I:cd=\E[0J:ce=\E[0K:\
343         :cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:\
344         :do=\E[B:ei=:ho=\E[H:i1=\017\E[=1w:ic=\E[@:im=:k1=\EOc:\
345         :k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:\
346         :kD=\ENf:kI=\ENj:kN=\E[U:kP=\E[V:kb=^H:kd=\E[B:kh=\E[H:\
347         :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[9m:md=\E[1m:\
348         :me=\E[0;10m:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\EE:se=\E[m:\
349         :sf=^J:so=\E[7m:sr=\EM:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[=0C:\
350         :vi=\E[=1C:
351 # AT&T Teletype 610 Terminal
352 b610|610|610bct|tty610:\
353         :CV=\E[25h:CI=\E[25l:KM=/usr/lib/ua/kmap.s4:\
354         :FL=\E[%d;00q%-16s\E[0p:FE=\E[2p:cl=\E[1;1H\E[J:\
355         :is=\E[0m^O\E[25;1|^J\E[8;0|\E[4;13;20l\E[?5l\E[12h\E[?7h\E[?4i:\
356         :ve=\E[?12l:vs=\E[?12h:tc=5420:
357\f# --------------------------------
358 #
359 # C: CONTROL DATA
360 #
361 cdc456|cdc:\
362         :do=^J:li#24:co#80:cl=^Y^X:nd=^L:up=^Z:le=^H:bs:\
363         :cm=\E1%+ %+ :ho=^Y:al=\E\114:dl=\E\112:ce=^V:cd=^X:am:
364 cdc456tst:\
365         :do=^J:li#24:co#80:cl=^y^x:le=^H:bs:cm=\E1%+ %+ :am:
366\f# --------------------------------
367 #
368 # D: DATAMEDIA
369 #
370 dm1520|dm1521|1521|1520|datamedia 1520:\
371         :do=^J:am:le=^H:bs:cd=^K:ce=^]:cl=^L:cm=^^%r%+ %+ :co#80:ho=^Y:\
372         :ku=^_:kd=^J:kl=^H:kr=^\:kh=^Y:\
373         :li#24:nd=^\:up=^_:xn:ma=^\ ^_^P^YH:pt:
374 dm2500|datamedia2500|2500|datamedia 2500:\
375         :bs:nc:\
376         :co#80:li#24:\
377         :al=15\020\n\030\035\030\035:bl=^G:ce=^W:cl=^^^^\177:\
378         :cm=\014%r%n%.%.:dc=10*\020\010\030\035:\
379         :dl=10*\020\032\030\035:dm=^P:do=^J:ed=^X^]:\
380         :ei=10\377\377\030\035:ho=^B:ic=10*\020\034\030\035:\
381         :im=^P:le=^H:nd=^\:pc=\377:se=^X^]:sf=^J:so=^N:up=^Z:
382 dm3025|datamedia 3025a:\
383         :MT:is=\EQ\EU\EV:do=^J:\
384         :al=130\EP\n\EQ:le=^H:bs:cd=2\EJ:ce=\EK:cl=2\EM:cm=\EY%r%+ %+ :\
385         :co#80:dc=6\b:dl=130\EP\EA\EQ:dm=\EP:ed=\EQ:ei=\EQ:ho=\EH:\
386         :im=\EP:ip=6:li#24:nd=\EC:pt:so=\EO1:se=\EO0:up=\EA:
387 3045|dm3045|datamedia 3045a:\
388         :is=\EU\EV:do=^J:\
389         :am:le=^H:bs:cd=2\EJ:ce=\EK:cl=2\EM:cm=\EY%r%+ %+ :co#80:\
390         :dc=6\EB:ei=\EP:ho=\EH:im=\EP:ip=6:\
391         :k0=\Ey\r:k1=\Ep\r:k2=\Eq\r:k3=\Er\r:k4=\Es\r:\
392         :k5=\Et\r:k6=\Eu\r:k7=\Ev\r:k8=\Ew\r:k9=\Ex\r:\
393         :kh=\EH:ku=\EA:kr=\EC:li#24:nd=\EC:pc=\177:pt:eo:ul:up=\EA:xn:
394 # dt80/1 is a vt100 lookalike, but it doesn't seem to need any padding.
395 dt80|dmdt80|dm80|datamedia dt80/1:\
396         :do=^J:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:cm=%i\E[%d;%dH:ho=\E[H:\
397         :nd=\E[C:sr=\EM:so=\E[7m:se=\E[m:up=\E[A:us=\E[4m:ue=\E[m:tc=vt100:
398 # except in 132 column mode, where it needs a little padding.
399 # This is still less padding than the vt100, and you can always turn on
400 # the ^S/^Q handshaking, so you can use vt100 flavors for things like
401 # reverse video.
402 dt80w|dmdt80w|dm80w|datamedia dt80/1 in 132 char mode:\
403         :do=^J:cd=20\E[0J:co#132:ce=20\E[0K:\
404         :cm=5\E[%i%d;%dH:cl=50\E[H\E[2J:up=5\E[A:tc=dmdt80:
405\f# --------------------------------
406 #
407 # H: HAZELTINE
408 #
409 # Since nd is blank, when you want to erase something you
410 # are out of luck.  You will have to do ^L's a lot to
411 # redraw the screen.  h1000 is untested.  It doesn't work in
412 # vi - this terminal is too dumb for even vi.  (The code is
413 # there but it isn't debugged for this case.)
414 h1000|hazeltine 1000:\
415         :le=^H:bs:ho=^K:cl=^L:nd= :co#80:li#12:do=^J:
416 # Note: the h1552 appears to be the first Hazeltine terminal which
417 # is not braindamaged.  It has tildes and backprimes and everything!
418 # Be sure the auto lf/cr switch is set to cr.
419 h1552|hazeltine 1552:\
420         :do=^J:al=\EE:dl=\EO:k1=\EP:l1=blue:k2=\EQ:\
421         :l2=red:k3=\ER:l3=green:tc=vt52:
422 h1552rv|hazeltine 1552 reverse video:\
423         :do=^J:so=\ES:se=\ET:tc=h1552:
424 # From cbosg!ucbvax!pur-ee!cincy!chris Thu Aug 20 09:09:18 1981
425 h1420|hazeltine 1420:\
426         :do=^J:le=^H:bs:am:li#24:co#80:al=\E^Z:dl=\E^S:cd=\E^X:cl=\E\034:\
427         :up=\E^L:nd=^P:ce=\E^O:ta=^N:cm=\E^Q%r%.%+ :so=\E\037:se=\E^Y:
428 # New "safe" cursor movement (11/87) from cgs@umd5.  Prevents freakout with
429 # out-of-range args and tn3270.  No hz since it needs to receive ~'s.
430 h1500|hazeltine 1500:\
431         :al=40~^Z:am:bs:cd=10~^X:ce=~^O:cl=~^\:cm=~^Q%r%>^^ %+`%+`:\
432         :co#80:dl=40~^S:do=~^K:ho=~^R:kh=~^R:kr=^P:ku=~^L:kd=^J:kl=^H:\
433         :le=^H:li#24:nd=^P:so=~^_:se=~^Y:up=~^L:.cm=~^Q%r%.%.:
434 # h1510 assumed to be in sane escape mode.  Else use h1500.
435 h1510|hazeltine 1510:\
436         :do=^J:al=\E^Z:am:le=^H:bs:cd=\E^X:ce=\E^O:cl=\E^\:cm=\E^Q%r%.%.:\
437         :co#80:dl=\E^S:do=\E^K:hz:li#24:nd=^P:.se=\E^_:.so=\E^Y:up=\E^L:
438 h1520|hazeltine 1520:\
439         :do=^J:al=~^Z:am:le=^H:bs:cd=~^X:ce=~^O:cl=~\034:cm=~^Q%r%.%.\200:\
440         :co#80:dl=~^S:do=~^K:hz:li#24:nd=^P:se=~^Y:so=~\037:up=~^L:ho=~^R:
441 # Note: h2000 won't work well because of a clash between upper case and ~'s.
442 h2000|hazeltine 2000:\
443         :do=^J:al=6~^z:am:le=^H:bs:cl=6~^\:cm=~^q%r%.%.:co#74:\
444         :dl=6~^s:ho=~^r:li#27:nc:pc=\177:
445 # Hazeltine esprit entries from Univ of Utah  Tue Feb  1 06:39:37 1983
446 # J.Lepreau, lepreau@utah-cs, harpo!utah-cs!lepreau
447 esprit|hazeltine esprit:\
448         :al=40\E^Z:bs:cd=5\E^X:ce=\E^O:cl=\E^\:cm=\E^Q%r%>^^ %+`%+`:co#80:\
449         :dl=40\E^S:do=\E^K:ho=\E^R:li#24:nd=^P:se=\E^Y:so=\E^_:up=\E^L:
450 esprit-am|hazeltine esprit auto-margin:\
451         :am:tc=esprit:
452\f# --------------------------------
453 #
454 # I: IBM
455 #
456 # ibm61 and ibm63 from Warren Gish (cswarren@violet.berkeley.edu).
457 # installed 12-17-86.
458 # 3161 only opens a new line if a null line exists on the screen.
459 # To ensure a null line exists, an SBA is performed, positioning the
460 # Buffer Address in column 0 of the last line.  The last line is then
461 # cleared to nulls, BA mode is canceled, and the new line is opened
462 # at the cursor position.
463 ibm61|ibm3161|3161|IBM 3161-11:\
464         :am:bs:bw:cl=\EL:li#24:co#80:cd=\EJ:al=\EX7 \EI\E Z\EN:\
465         :ce=\EI:cm=\EY%+\040%+\040:nd=\EC:up=\EA:do=\EB:\
466         :dl=\EO:dc=\EQ:kd=\EB:ku=\EA:kl=\ED:kr=\EC:kh=\EH:\
467         :us=\E4\102:ue=\E4\100:so=\E4\110:se=\E4\100:
468 # From seth@sirius.ctr.columbia.edu Sun May 20 11:02:34 1990
469 ibm3163|ibm63|i3163|3163|IBM 3163:\
470         :al=\EN:am:bs:bt=\E2:cd=\EJ:ce=\EI:cl=\EL:\
471         :cm=\EY%+\040%+\040:co#80:ct=\E 1:dc=\EQ:\
472         :dl=\EO:do=\EB:ds=\E#\072:es:fs=\E=:ho=\EH:\
473         :hs:ic=\EP:kA=\EN:kB=\E2:kC=\EQ:\
474         :kD=\EQ:kE=\EI:kI=\EI:kL=\EO:kS=\EJ:\
475         :kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:kh=\EH:\
476         :le=\ED:li#24:mb=\E4D:md=\E4H:me=\E4@:\
477         :mk=\E4P:mr=\E4A:nd=\EC:\
478         :ds=\E#\::es:fs=\E=\E#;:hs:ts=\E=:ws#80:\
479         :se=\E4@:so=\E4I:ue=\E4@:up=\EA:us=\E4B:
480 ibm|ibm3101|3101|i3101|IBM 3101-10:\
481         :do=^J:ct=\EH:st=\E0:\
482         :if=/usr/share/tabset/ibm3101:\
483         :am:le=^H:bs:cl=\EK:li#24:co#80:nd=\EC:up=\EA:cd=\EJ:ce=\EI:\
484         :kd=\EB:kl=\ED:kr=\EC:ku=\EA:ho=\EH:cm=\EY%+\40%+\40:pt:
485 ibm327-789|ibm-3277-2|ibm-3278-2|ibm-3278-3|ibm-3278-4|ibm-3278-5|ibm-3279-2|ibm-3279-3:\
486         :tc=ibm327-56:
487 ibm327-56|ibm-3275-2|ibm-3276-2|ibm-3276-3|ibm-3276-4|line mode IBM 3270 style:\
488         :gn:ce=\r:cl=\r\n:ho=\r:
489 ibm-apl|apl|IBM apl terminal simulator:\
490         :li#25:tc=dm1520:
491 # ibmapa* and ibmmono entries come from ACIS 4.3 distribution
492 rtpc|ibmapa16|ibm6155|IBM 6155 Extended Monochrome Graphics Display:\
493         :ts=\Ej\EY@%+ \Eo:ds=\Ej\EY@\40\EI\Ek:li#32:tc=ibmconsole:
494 # Advanced Monochrome (6153) and Color (6154) Graphics Display:
495 ibmapa8c|ibmapa8|ibm6154|ibm6153|IBM 6153/4 Advanced Graphics Display:\
496         :ts=\Ej\EY?%+ \Eo:ds=\Ej\EY?\40\EI\Ek:li#31:tc=ibmconsole:
497 ibmapa8c-c|ibm6154-c|IBM 6154 Advanced Color Graphics Display color termcap:\
498         :ts=\Ej\EY?%+ \Eo:ds=\Ej\EY?\40\EI\Ek:li#31:mh=\EF\Ef7;:tc=ibmega-c:
499 ibmmono|ibmconsole|ibm5151|IBM workstation monochrome:\
500         :se=\Ez:so=\EZ:sr=\EA:al=\EL:dl=\EM:\
501         :kb=^H:us=\EW:ue=\Ew:\
502         :k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:k8=\ER:k9=\EY:\
503         :k0=\E<:I0=f10:kI=\000:kh=\EH:kR=\EG:kP=\Eg:kF=\EE:kN=\EE:\
504         :md=\EZ:me=\Ew\Eq\Ez\EB:mk=\EF\Ef0;\Eb0;:mr=\Ep:\
505         :ts=\Ej\EY8%+ \Eo:fs=\Ek:ds=\Ej\EY8\40\EI\Ek:es:hs:sb:tc=ibm3101:
506 ibmega-c|ibm5154-c|IBM Enhanced Color Display color termcap:\
507         :se=\EB:so=\EF\Ef3;:ue=\EB:us=\EF\Ef2;:tc=ibmconsole:
508 # from marc pawliger--marc@ibminet.awdpa.ibm.com
509 # also in /usr/lpp/bos/bsdsysadmin.
510 hft-c|ibm8512|ibm8513|IBM High Function Terminal:\
511         :co#80:li#25:am:ht:\
512         :cm=\E[%i%d;%dH:ti=\E[20;4l\E[?7h\Eb:te=\E[20h:\
513         :nd=\E[C:up=\E[A:do=^J:ho=\E[H:\
514         :ec=\E[%dX:\
515         :cl=\E[H\E[J:cd=\E[J:el=\E[K:\
516         :AL=\E[%dL:DL=\E[%dM:al=\E[L:dl=\E[M:\
517         :im=\E[4h:ei=\E[4l:mi:\
518         :dm=\E[4h:ed=\E[4l:\
519         :so=\E[7m:se=\E[m:ul=\E[4m:ue=\E[m:ms:\
520         :md=\E[1m:mr=\E[7m:mb=\E[5m:me=\E[m:\
521         :as=^N:ae=^O:sc=\E[s:rc=\E[u:\
522         :kb=\E[D:kf=\E[C:ku=\E[A:kd=\E[B:kh=\E[H:\
523         :k1=\E[001q:k2=\E[002q:k3=\E[003q:k4=\E[004q:k5=\E[005q:\
524         :k6=\E[006q:k7=\E[007q:k8=\E[008q:k9=\E[009q:k0=\E[010q:\
525         :is=\Eb\E[m^O\E[?7h:rs=\Eb\E[m^O\E[?7h\E[H\E[J:
526 hft|AIWS High Function Terminal:\
527         :al=\E[L:cr=^M:do=^J:sf=^J:bl=^G:am:le=^H:cd=\E[J:\
528         :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:co#80:li#25:\
529         :dc=\E[P:dl=\E[M:ho=\E[H:\
530         :ic=\E[@:im=\E6:ei=\E6:\
531         :md=\E[1m:mr=\E[7m:mb=\E[5m:mk=\E[8m:me=\E[0m:\
532         :ku=\E[A:kd=\E[B:kl=\E[D:kr=\E[C:kh=\E[H:kb=^H:\
533         :nd=\E[C:ta=^I:up=\E[A:xo:\
534         :ue=\E[m:us=\E[4m:se=\E[m:so=\E[7m:\
535         :kP=\E[159q:kN=\E[153q:\
536         :k1=\E[001q:k2=\E[002q:k3=\E[003q:k4=\E[004q:\
537         :k5=\E[005q:k6=\E[006q:k7=\E[007q:k8=\E[008q:\
538         :k9=\E[009q:ka=\E[010q:
539 # From pryor@math.berkeley.edu
540 ibm5081|ibmmpel|IBM 5081 1024x1024 256/4096 color display:\
541         :ts=\Ej\EYA%+ \Eo:fs=\Ek:ds=\Ej\EYA\40\EI\Ek:es:hs:\
542         :li#33:tc=ibmconsole:
543 ibm5081-c|ibmmpel-c|IBM 5081 1024x1024 256/4096 enhanced color display:\
544         :ts=\Ej\EYA%+ \Eo:fs=\Ek:ds=\Ej\EYA\40\EI\Ek:es:hs:\
545         :li#33:tc=ibmega-c:
546 # ibm3151 and ibm3151-25 are modified from a Usenet posting
547 # from http://www.cs.utk.edu/~shuford/terminal/ibm_3161.termcap.txt
548 # Newsgroups: comp.terminals Message-ID: <1rkqgnINNdso@uwm.edu>
549 ibm3151|ibm3152|ibm3162|Ibm3162|ibm3151-pc:\
550         :am:mi:ms:\
551         :co#80:li#24:kn#9:\
552         :cd=\EJ:ce=\EI:cl=\EH\EJ:cm=\EY%+ %+ :dc=\EQ:dl=\EO:\
553         :ho=\EH:k1=\Ea\n:k2=\Eb\n:k3=\Ec\n:k4=\Ed\n:k5=\Ee\n:\
554         :k6=\Ef\n:k7=\Eg\n:k8=\Eh\n:k9=\Ei\n:kb=\b:kd=\EB:\
555         :kh=\EH:kl=\ED:kr=\EC:ku=\EA:nd=\EC:se=\E4>b:so=\E4!a:\
556         :te=\E>A:ti=\E>B:ue=\E4=b:up=\EA:us=\E4"a:bc=\ED:\
557         :U8=\E<A:U9=\E<@:\
558         :Us=q:Uv=x:Ux=k:Uw=j:Uz=m:Uy=l:Uu=n:Uq=w:Up=v:Ut=t:Ur=u:\
559         :Ub=\E4$a:Uc=\E4@:Uf=\E4(a:Ug=\E4@:U6=\E r!! 8"P:U7=\E r!! 8$D:\
560         :nl=\EB:ko=le,do,nd,up,dc,dl,cd,ce,ho:
561 ibm3151-25|ibm3152-25:\
562         :am:mi:ms:\
563         :co#80:li#25:kn#9:\
564         :cd=\EJ:ce=\EI:cl=\EH\EJ:cm=\EY%+ %+ :dc=\EQ:dl=\EO:\
565         :ho=\EH:k1=\Ea\n:k2=\Eb\n:k3=\Ec\n:k4=\Ed\n:k5=\Ee\n:\
566         :k6=\Ef\n:k7=\Eg\n:k8=\Eh\n:k9=\Ei\n:kb=\b:kd=\EB:\
567         :kh=\EH:kl=\ED:kr=\EC:ku=\EA:nd=\EC:se=\E4>b:so=\E4!a:\
568         :te=\E>A:ti=\E>B:ue=\E4=b:up=\EA:us=\E4"a:bc=\ED:\
569         :U8=\E<A:U9=\E<@:\
570         :Us=q:Uv=x:Ux=k:Uw=j:Uz=m:Uy=l:Uu=n:Uq=w:Up=v:Ut=t:Ur=u:\
571         :Ub=\E4$a:Uc=\E4@:Uf=\E4(a:Ug=\E4@:U6=\E r!! 9"P:U7=\E r!! 9$D:\
572         :nl=\EB:ko=le,do,nd,up,dc,dl,cd,ce,ho:
573\f# --------------------------------
574 #
575 # M: MISCELLANEOUS TERMINALS
576 #
577 # The tab 132 uses xon/xoff, so no padding needed.
578 # ks/ke have nothing to do with arrow keys.
579 # is sets 80 col mode, normal video, autowrap on (for am).
580 # Seems to be no way to get rid of status line.
581 abm80|amtek business machines 80:\
582         :do=^J:al=\E^Z:am:le=^H:bs:cd=\E^X:ce=\E^O:cl=\E^\:cm=\E^Q%r%+ %+ :\
583         :co#80:dl=\E^S:do=\E^K:li#24:nd=^P:.so=\E^_:.se=\E^Y:up=\E^L:\
584         :bw:bt=^T:ho=\E^R:
585 tab132|tab|tab132-15|tab 132-15:\
586         :is=\E[?7h\E[?3l\E[?5l:dN@:ks@:ke@:do=^J:\
587         :da:db:al=\E[L:dl=\E[M:dc=\E[P:ei=\E[4l:im=\E[4h:cm=\E[%i%d;%dH:\
588         :ku=\E[A:kd=\E[B:kl=\E[D:tc=vt100:
589 tab132w:\
590         :co#132:is=\E[?7h\E[?3h\E[?5l:tc=tab132:
591 tab132rv:\
592         :is=\E[?7h\E[?3l\E[?5h:tc=tab132:
593 tab132wrv:\
594         :is=\E[?7h\E[?3h\E[?5h:tc=tab132w:
595 # This used to say "de#001202" which presumably refers to the stty bits
596 # that need to be set for some version of Unix.  We need the real delay
597 # requirements in MS.
598 mw2|Multiwriter 2:\
599         :do=^J:co#132:hc:os:
600 ddr|rebus3180|ddr3180|Rebus/DDR 3180 vt100 emulator:\
601         :do=^J:co#80:li#24:cl=50\E[;H\E[2J:sf=5\ED:\
602         :le=^H:bs:am:cm=5\E[%i%d;%dH:nd=2\E[C:up=2\E[A:\
603         :ce=3\E[K:cd=50\E[J:so=\E[7m:se=\E[m:us=2\E[4m:ue=2\E[m:\
604         :md=2\E[1m:mr=2\E[7m:mb=2\E[5m:me=2\E[m:is=\E[1;24r\E[24;1H:\
605         :rf=/usr/share/lib/tabset/vt100:\
606         :rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:ks=\E[?1h\E=:ke=\E[?1l\E>:\
607         :ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:kb=^H:\
608         :ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:pt:sr=5\EM:vt#3:xn:\
609         :sc=\E7:rc=\E8:cs=\E[%i%d;%dr:
610 # luna's BMC terminal emulator
611 luna|luna68k|LUNA68K Bitmap console:\
612         :li#46:co#88:tc=ansi:
613 # SCO console and SOS-Syscons console for 386bsd
614 scoansi|SCO Extended ANSI standard crt:\
615         :am:bs:eo:xo:\
616         :co#80:it#8:li#25:\
617         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
618         :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
619         :al=\E[L:bl=^G:bt=\E[Z:cd=\E[m\E[J:ce=\E[m\E[K:\
620         :cl=\E[H\E[2J:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=\E[B:ei=:\
621         :ho=\E[H:ic=\E[@:im=:k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:\
622         :k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:kD=\177:kI=\E[L:\
623         :kN=\E[G:kP=\E[I:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:\
624         :ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[0;10m:mr=\E[7m:\
625         :nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:\
626         :st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[=10;12C:\
627         :vi=\E[=14;12C:vs=\E[=0;12C:
628 trs80|trs-80|radio shack trs-80 Model I:\
629         :do=^J:am:le=^H:bs:co#64:li#16:
630 d800|Direct 800/A:\
631         :do=^J:co#80:li#24:am:cl=\E[1;1H\E[2J:le=^H:bs:cm=\E[%i%d;%dH:\
632         :nd=\E[C:up=\E[A:ce=\E[K:cd=\E[J:\
633         :so=\E[7m:se=\E[0m:us=\E[4m:ue=\E[0m:xs:vs=\E[>12l:ve=\E[>12h:\
634         :sf=\ED:sr=\EM:da:db:as=\E[1m:ae=\E[0m:ms:pt:\
635         :kl=\E[D:kr=\E[C:ku=\E[A:kd=\E[B:\
636         :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
637         :k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:
638 vc404|volker-craig 404:\
639         :do=^J:am:le=^H:bs:cd=40^W:ce=20^V:cl=40^X:cm=^P%+ %+ :co#80:\
640         :ho=40^Y:kd=^J:kl=^H:kr=^U:ku=^Z:li#24:ma=^Z^P^U :nd=^U:up=^Z:
641 vc404-s|volker-craig 404 w/standout mode:\
642         :do=^J:se=^O:so=^N:tc=vc404:
643 vc404-na|volker-craig 404 w/no arrow keys:\
644         :ma@:kr@:ku@:tc=vc404:
645 vc404-s-na|volker-craig 404 w/standout mode and no arrow keys:\
646         :se=^O:so=^N:tc=vc404-na:
647 # From: wolfgang@cs.sfu.ca
648 vc414|vc414h|Volker-Craig 414H in sane escape mode.:\
649         :am:ic=\E\072:dc=\E\063:so=\E\031:se=\E\037:\
650         :kl=^H:kr=^P:ku=\E^L:kd=\E^K:kh=\E^R:\
651         :k0=\EA:k1=\EB:k2=\EC:k3=\ED:k4=\EE:k5=\EF:k6=\EG:k7=\EH:\
652         :l0=PF1:l1=PF2:l2=PF3:l3=PF4:l4=PF5:l5=PF6:l6=PF7:l7=PF8:\
653         :al=40\E^Z:bs:cd=\E^X:ce=10\E^O:cl=40\E^\:co#80:\
654         :do=\E^K:li#24:nd=^P:up=\E^L:
655 vc414h-noxon:\
656         :dl=40\E^S:cm=40\E^Q%r%.%.:ho=\E^R:\
657         :tc=vc414h:
658 # missing in vc303a and vc303 descriptions:  they scroll 2 lines at a time
659 vc303a|vc403a|volker-craig 303a:\
660         :do=^J:am:le=^H:bs:ce=20^V:cl=40^X:co#80:ho=40^Y:kd=^J:kl=^H::kr=^U:\
661         :ku=^Z:li#24:ll=^P^@W:nd=^U:ns:up=^Z:
662 vc303|vc103|vc203|volker-craig 303:\
663         :do=^J:am:le=^H:bs:cl=40^L:co#80:ho=40^K:kd=^J:kl=^H:\
664         :kr=^I:ku=^N:li#24:ll=^O\200W:nd=^I:ns:up=^N:
665 # Test version for Falco ts-1. See "arpavax.hickman@ucb" for info
666 falco|ts1|ts-1|falco ts-1:is=\Eu\E3:\
667         :do=^J:al=\EE:am:bs:ce=\ET\EG0^h:cm=\E=%+ %+ :cl=\E*:cd=\EY:co#80:\
668         :dc=\EW:dl=\ER:ei=\Er:ho=^^:im=\Eq:k0=^A0\r:kd=^J:kl=^H:pt:\
669         :kr=^L:ku=^K:li#24:nd=^L:se=\Eg0:so=\Eg1:up=^K:us=\Eg1:ue=\Eg0:
670 falco-p|falco ts-1sp|falco with paging option:\
671         :is=\EZ\E3\E_c:\
672         :al=\EE:am:bs:ce=\ET\EG0^H\Eg0:cl=\E*:cd=\EY:co#80:dc=\EW:\
673         :dl=\ER:kd=\E[B:kl=\E[D:ei=\Er:im=\Eq:pt:db:\
674         :kr=\E[C:ku=\E[A:li#24:nd=\E[C:se=\Eg0:so=\Eg4:\
675         :up=\E[A:us=\Eg1:ti=\E_d:te=\E_b:\
676         :ue=\Eg0:do=\E[B:cm=\E=%+ %+ :ms:kh=\E[H:da:mi:bt=\EI:
677 # NOTE: bg can scroll, it just would rather not (ns) - rwells 3/13/81.
678 # (Shouldn't you take out ns and put in an nl instead? - mrh)
679 bitgraph|BBN BitGraph terminal:\
680         :do=^J:al=2*\E[L:bs:cd=150\E[J:ce=2\E[K:\
681         :cl=150\E[H\E[J:cm=%i\E[%d;%dH:co#85:\
682         :dl=2*\E[M:k0=\EP:k1=\EQ:k2=\ER:k3=\ES:kd=\EB:ke=\E>:kl=\ED:kr=\EC:\
683         :ks=\E=:ku=\EA:li#64:nd=\E[C:ns:pt:se=\E[0m:so=\E[7m:up=\E[A:sf=280\n:
684 d132|datagraphix|datagraphix 132a:\
685         :do=^J:co#80:li#30:cl=^l:ho=\Et:da:db:sf=\Ev:sr=\Ew:\
686         :up=\Ek:nd=\El:vs=\ex:ve=\Em\En:\
687         :al=\E3:ic=\E5:dc=\E6:in:ic=\E5:
688 soroc|Soroc 120:\
689         :do=^J:cd=\EY:ce=\ET:cl=2\E*:ma=^K^P^R^L^L :\
690         :kl=^H:ku=^K:kr=^L:kd=^J:tc=adm3a:
691 # From: ma179abu%sdcc3@sdcsvax.ucsd.edu (Bill Houle)
692 iq140|soroc140|Soroc IQ140 with inverse & dim:\
693         :ic=\EQ:dc=\EW:al=\EE:dl=\ER:ce=\ET:cd=\EY:cl=\E+:cm=\E=%+ %+ :\
694         :up=^K:do=^J:le=^H:nd=^L:ho=^^:ta=\Ei:ma=^Kk^Jj^Hh^Ll^^h:am:bs:\
695         :co#80:li#24:kb=^H:kh=^^:ku=^K:kd=^J:kl=^H:kr=^L:\
696         :k0=^AI:k1=^A@:k2=^AA:k3=^AB:k4=^AC:k5=^AD:k6=^AE:k7=^AF:\
697         :k8=^AG:k9=^AH:se=\E^?:so=\E^?:us=\E):ue=\E(:
698 # tec is untested, and taken from CB/Unix virtual terminal driver.
699 # Upper case terminal, uses lower case for control sequences!!!
700 # The driver shows the C ~ operator used on CM coordinates.
701 # Without the terminal in front of me, I can't figure out what's
702 # going on, so I've dotted out the cm.  Note there is no ~ in tgoto.
703 tec400|tec scope:\
704         :do=^J:.cm=l%r%.%.:up=x:do=h:nd=g:le=w:ho=i:so={:se=|:sg#1:\
705         :cl=f:al=e:dl=u:ic=d:dc=t:ce=c:cd=s:
706 # From ucbvax!geoff Mon Sep 21 21:15:45 1981
707 # This entry has been tested.
708 tec500|tec 500:\
709         :do=^J:am:le=^H:bs:cm=\E=%+ %+ :cl=20^Z:\
710         :co#80:ho=^^:li#24:nd=^L:up=^K:so=^]:se=^\:
711 # I would appreciate more information on this terminal, such as the
712 # manufacturer and the model number.  There are too many tecs in here.
713 tec:\
714         :li#24:co#80:cl=^l:up=^k:nd=\037:\
715         :am:le=^H:bs:ho=\036:ma=^K^P^_ :do=^J:
716 teletec|Teletec Datascreen:\
717         :do=^J:am:le=^H:bs:co#80:cl=^l:ho=^^:li#24:nd=^_:up=^k:
718 # From cbosg!ucbvax!SRC:george Fri Sep 11 22:38:32 1981
719 ampex|d80|dialogue|dialogue80|ampex dialogue 80:\
720         :ct=\E3:st=\E1:do=^J:is=\EA:us=\El:ue=\Em:\
721         :am:le=^H:bs:pt:cl=75\E*:cm=\E=%+ %+ :\
722         :al=5*\EE:bt=\EI:ic=\EQ:dl=5*\ER:dc=\EW:\
723         :ce=\Et:cd=\Ey:so=\Ej:se=\Ek:li#24:co#80:nd=^L:up=^K:
724 # From: atd!dsd!rcb@ucbvax.berkeley.edu (Richard Bascove)
725 a210|210|ampex210|ampex a210:\
726         :am:bs:cl=\E*:cm=\E=%+ %+ :al=\EE:bt=\EI:ic=\EQ:\
727         :dl=\ER:dc=\EW:ho=^^:xn:ce=\Et:cd=\Ey:li#24:co#80:nd=^L:up=^K:\
728         :pt:if=/usr/share/tabset/std:is=\EC\Eu\E'\E(\El\EA\E%\E{\E.2\EG0\Ed\En:\
729         :kl=^H:kr=^L:kd=^V:ku=^K:kh=^^:hs:ts=\E.0\Eg\E}\Ef:fs=\E.2:\
730         :kn#10:k0=^A0^M:k1=^A1^M:k2=^A2^M:k3=^A3^M:k4=^A4^M:k5=^A5^M:\
731         :vb=\EU\EX\EU\EX\EU\EX\EU\EX:k6=^A6^M:k7=^A7^M:k8=^A8^M:k9=^A9^M:\
732         :so=\EG4:se=\EG0:us=\EG8:ue=\EG0:ug#1:sg#1:
733 digilog|333|digilog 333:\
734         :le=^H:bs:co#80:ce=\030:ho=^n:li#16:nd=^i:up=^o:do=^J:
735 ep48|ep4080|execuport 4080:\
736         :am:le=^H:bs:os:co#80:hu=\036:hd=\034:do=^J:
737 ep40|ep4000|execuport 4000:\
738         :am:le=^H:bs:os:co#136:hu=\036:hd=\034:do=^J:
739 terminet1200|terminet300|tn1200|tn300|terminet|GE terminet 1200:\
740         :co#120:hc:os:do=^J:
741 # AED 512
742 # by giles Billingsley (gilesb%ucbcad@berkeley)
743 # rewritten 8/82 for newer AEDs and better operation of vi,etc.
744 aed|AED|aed512|AED512|aed 512:\
745         :db:co#64:li#40:cl=^L:bs:nd=\Ei0800\001:\
746         :up=^K:ve=\E\E\E\E\E\E\E\072004=000200??\001:\
747         :vb=\EK0001??0000K0001202080\001:\
748         :us=\E\07200>8000140\001:ue=\E\07200>8000100\001:\
749         :uc=\Ei???>l0800i0102\001:\
750         :ti=\E\07200>8000140{<04<0??00001010L<0\072004=0002??00\001:\
751         :te=\E\07200>8000100{804<0??00001000L80\072004=000200??\001:\
752         :so=\E\07200>8000140[80C00\001:se=\E[00C80\001:\
753         :is=\EG1MMM.`40K0001202080K8001????00^L\EC80L80{80^L\EK010100????K0601??0000c818100\EG1HHH.\07210000019A27FD006A280D002A200A52429FE8524861086118612861360N031B4C3F3F1800N041B0C1B4C38301800N001B3B313030301800N011B3B313030341800N021B3B313030381800N050800N061B3B313335301800\07211000015A58E8D5011A58F8D5111A5908D5211A5918D531160\07212000015AD5011858EAD5111858FAD52118590AD5311859160\0721300004B2071C5858E0A18658E0A0A858EA900858F268FA5278590A50A29018591A9F51865908590A90165918591A59038E58E8590A591E58F290185912071C5180A0A0A0901858EA900858F268F60\0721350000BA9472031DEA9502031DE60\E\E\E\EG1MMM.^A:
754 aed-ucb|AED-UCB|aed512-ucb|AED512-UCB|aed 512 w/o UCB ROM:\
755         :db:co#64:li#40:cl=^L:bs:nd=\Ei0800\001:up=^K:\
756         :ve=\E\E\E\E\E\E\E\072004=000200??\001:\
757         :vb=\EK0001??0000K0001202080\001:\
758         :us=\E\07200>8000140\001:ue=\E\07200>8000100\001:\
759         :uc=\Ei???>l0800i0102\001:\
760         :ti=\E\07200>8000140{<04<0??00001010L<0\072004=0002??00\001:\
761         :te=\E\07200>8000100{804<0??00001000L80\072004=000200??\001:\
762         :so=\E\07200>8000140[80C00\001:se=\E[00C80\001:\
763         :if=/usr/share/tabset/aed512:
764 # CIT 80  - vt 100 emulator, the termcap has been modified to remove
765 #           the delay times and do an auto tab set rather than the indirect
766 #           file used in vt100.
767 cit80|cit 80|Citoh 80:\
768         :co#80:li#24:am:cl=\E[;H\EJ:bs:cm=\E[%i%2;%2H:nd=\E[C:up=\E[A:\
769         :ce=\EK:cd=\EJ:is=\E>:ks=\E[?1h\E=:ke=\E[?1l\E>:\
770         :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:
771 # From mtxinu!sybase!tim (Tim Wood) Fri Sep 27 09:39:12 PDT 1985
772 # Alternate cit101 (vt100 em) file used in vt100.
773 #           Uses 23 lines so can run citsys (like h19sys).
774 #       24 May 85 (mtxinu!sybase!tim) - removed 2-byte limit on 'cm' cursor
775 #         coordinates otherwise there is garbling on long lines in
776 #         co#132 mode; also added support for multipage memory on the Itoh.
777 citc|Citoh fast vt100:\
778         :co#80:li#23:am:cl=\E[;H\E[2J:bs:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\
779         :ce=\E[K:cd=\E[J:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:\
780         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[3g\E[>5g:\
781         :ks=\E[?1h\E=:ke=\E[?1l\E>:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:\
782         :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:\
783         :dc=\E[P:al=\E[L:dl=\E[M:ic=\E[@:vs=\E7\E[U:ve=\E[V\E8:xn:
784 cita:\
785         :co#80:li#23:am:cl=\E[;H\E[2J:bs:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\
786         :ce=\E[K:cd=\E[J:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:\
787         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[3g\E[>5g:\
788         :ks=\E[?1h\E=:ke=\E[?1l\E>:\
789         :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:vs=\E7\E[U:ve=\E[V\E8:\
790         :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:
791 cit101:li#24:vb@:tc=citc:
792 cit101b:li#24:tc=citc:
793 cit500|cit-500|cit 500:\
794         :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:\
795         :ce=3\E[K:cd=50\E[J:so=2\E[7m:se=2\E[m:us=2\E[4m:ue=2\E[m:\
796         :is=\E(B\E)0\E>\E[?3l\E[?7h\E[?8h:ks=\E[?1h\E=:ke=\E[?1l\E>:\
797         :if=/usr/share/tabset/vt100:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:\
798         :kh=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:pt:sr=5\EM:xn:\
799         :do=\ED:al=\E[L:dc=\E[P:dl=\E[M:
800 # Note several versions of blit.  I don't know exactly what is what
801 # so please send me any corrections to this -- mrh
802 # From research!ikeya!rob Tue Aug 31 23:41 EDT 1982
803 blit|jerq|blit-pb|blit running teletype rom:\
804         :do=^J:IC=\Ef%+ :DC=\Ee%+ :AL=\EF%+ :DL=\EE%+ :\
805         :mi:dl=\EE!:ic=\Ef!:dc=\Ee!:al=\EF!:\
806         :ce=\EK:cl=^L:cm=\EY%r%+ %+ :co#87:li#72:nd=\EC:\
807         :up=\EA:ku=\EA:kd=\EB:kr=\EC:kl=\ED:kb=^H:am:ul:pt:eo:
808 cbblit|columbus enhanced tty blit:\
809         :vb=\E^G:so=\EU!:se=\EV!:us=\EU":ue=\EV":cd=\EJ:\
810         :im=\EQ:ei=\ER:ic@:co#88:sf=\EG:tc=blit:
811 oblit|ojerq|first version of blit rom:\
812         :do=^J:AL=\Ef%+ :DL=\Ee%+ :mi:dl=\EE:ei=\ER:im=\EQ:dc=\EO:da:db:\
813         :al=\EF:cd=\EJ:ce=\EK:cl=^L:cm=\EY%r%+ %+ :co#88:li#72:nd=\EC:\
814         :up=\EA:vb=\E^G:am:ul:pt:eo:
815 daleblit|daleterm|blit running Dale DeJager's ROM:\
816         :ku=\EA:kd=\EB:kr=\EC:kl=\ED:so=\EU!:se=\EV!:us=\EU":ue=\EV":\
817         :da@:db@:tc=oblit:
818 datapoint|dp3|dp3360|datapoint 3360:\
819         :do=^J:am:le=^H:bs:cd=^_:ce=^^:cl=^]^_:co#82:ho=^]:li#25:nd=^x:up=^z:
820 # From: cbosgd!utcs!romwa@ucbvax.berkeley.edu (mark dornfeld)
821 #               This termcap is for the LANPAR Technologies VISION 3220
822 #       terminal.  The function key definitions k0-k5 represent the
823 #       edit keypad: FIND, INSERT HERE, REMOVE, SELECT, PREV SCREEN,
824 #       NEXT SCREEN. The key definitions k6-k9 represent the PF1 to
825 #       PF4 keys.
826 v3220|LANPAR Vision II model 3220/3221/3222:\
827         :co#80:li#24:cl=\E[H\E[J:bs:am:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\
828         :ce=\E[K:cd=\E[J:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:\
829         :is=\E>\E[?3l\E[?7h\E[?8h\E[p:ks=\E=:ke=\E>:\
830         :kn#10:k0=\E[1~:k1=\E[2~:k2=\E[3~:k3=\E[4~:k4=\E[5~:k5=\E[6~:\
831         :k6=\E[OP:k7=\E[OQ:k8=\E[OR:k9=\E[OS:\
832         :ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:\
833         :kh=\E[H:pt:sr=\EM:xn:\
834         :dl=\E[M:dc=\E[P:ei=\E[4l:al=\E[L:im=\E[4h:mi:
835 # From ucbvax!faletti (Faletti@Berkeley)
836 # FREEDOM 100 by Liberty Electronics USA, SF.
837 # :kh=^^:  left out because it precludes using change-to-alternate-file in vi.
838 # Basic Freedom 100 entry, works with VI at 1200 baud.
839 f100|freedom100|freedom|freedom 100 no padding:\
840         :am:bs:bw:mi:ms:pt:co#80:kn#20:li#24:\
841         :ct=\E3:st=\E1:is=\Eg\Ef\r\Ed:kr=^L:\
842         :cl=^Z:do=^J:ho=^^:kb=^H:kl=^H:\:kd=^V:\
843         :ko=dc,al,dl,cl,bt,ce,cd:ku=^K:le=^H:nd=^L:\
844         :ch=\E]%+ :cm=\E=%+ %+ :cv=\E[%+ :sr=\Ej:up=^K:\
845         :al=\EE:bt=\EI:cd=\EY:ce=\ET:dc=\EW:dl=\ER:ei=\Er:im=\Eq:\
846         :se=\EG0:so=\EG4:ue=\EG0:us=\EG8:as=\E$:ae=\E%:\
847         :vb=\Eb\200\200\Ed:\
848         :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
849         :k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:k0=^AI\r:\
850         :hs:ts=\Eg\Ef:fs=\r:ds=\Eg\Ef\r:
851 f100-rv|freedom100-rv|freedom-rv|freedom100 with reverse video at 1200:\
852         :is=\Eg\Ef\r\Eb:vb=\Ed\200\200\Eb:tc=freedom100:
853 # VI at 9600 baud (or EMACS at 1200 -- but may be more than is needed for emacs)
854 f100-v|freedom100-v|freedom-v|freedom100 for 9600 vi or 1200 emacs:\
855         :al=6.5*\EE:dl=11.5*\ER:\
856         :vb=\Eb\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Ed:\
857         :tc=freedom100:
858 f100-v-rv|freedom100-v-rv|freedom-v-rv|freedom100 rev. vid. for 9600 vi:\
859         :al=6.5*\EE:dl=11.5*\ER:is=\Eg\Ef\r\Eb:\
860         :vb=\Ed\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Eb:\
861         :tc=freedom100:
862 # EMACS at 9600 baud -- this still needs some more work on the padding
863 f100-e|freedom100-e|freedom-e|freedom100 for 9600 emacs:\
864         :al=8.5*\EE:dl=11.5*\ER:ip=6:\
865         :vb=\Eb\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Ed:\
866         :tc=freedom100:
867 f100-e-rv|freedom100-e-rv|freedom-e-rv|freedom100 rev. vid. for emacs 9600:\
868         :al=8.5*\EE:dl=11.5*\ER:ip=6:is=\Eg\Ef\r\Eb:\
869         :vb=\Ed\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Eb:\
870         :tc=freedom100:
871 f110-v|freedom110-v|freedom110 for 9600 vi or 1200 emacs:\
872         :is=\Eg\Ef\r\Ed\EO:dc=\EO\EW:im=\EO\Eq:\
873         :al=6.5*\EE:dl=11.5*\ER:\
874         :vb=\Eb\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Ed:\
875         :tc=freedom100:
876 # (from kerch@lll-crg)
877 f200|freedom200| Freedom 200 VDT by Liberty Electronics :\
878         :if=/usr/share/tabset/stdcrt:al=\EE:am:bs:bt=\EI:cd=\EY:\
879         :ce=\ET:cl=^Z:cm=\E=%+ %+ :co#80:dc=\EW:dl=\ER:do=^V:\
880         :ds=\Eh:ei=\Er:im=\Eq:is=\Eg\El\E\041\062:\
881         :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
882         :k6=^AE\r:k7=^AE\r:k8=^AF\r:k9=^AG\r:kd=^V:kr=L:\
883         :ku=^K:li#24:ms:nd=^L:se=\EG0:so=\EG4:sr=\Ej:\
884         :te=\EJ\E\\2\E|\041\061^L^Y:ti=\E\\1\EK\E|\041\061L^Y:\
885         :ts=\Ef:ue=\EG0:up=^K:us=\EG8:vb=\Eb\Ed:hs:i2=\E^O\Eg:\
886         :ts=\Ef:fs=^M:ds=\E^N:
887 dg6053|data general 6053:\
888         :do=^J:am:le=^H:bs:cm=^P%r%.%.:cl=^L:ho=^H:nd=^S:\
889         :up=^W:ce=^K:co#80:li#24:
890 # dg450 and dg200 from cornell
891 dg450|dg6134|data general 6134:\
892         :nd=\030:bs@:tc=dg200:
893 dg200|data general Dasher 200:\
894         :am:bc=^Y:bs=0:ce=^K:cl=^L:cm=^P%r%+\200%+\200:co#80:do=^Z:\
895         :ho=^H:li#24:\
896         :ll=\036FP\017:se=\036E:so=\036D:up=^W:\
897         :is=\036O\036FQ2\036FB000\036FE\036FA\036FQ2:
898 # Note: lesser Dasher terminals will not work with vi because vi insists upon
899 # having a command to move straight down from any position on the bottom line
900 # and scroll the screen up, or a direct vertical scroll command.  The 460 and
901 # above have both, the D210/211, for instance, has neither.  We must use ANSI
902 # mode rather than DG mode because standard UNIX tty drivers assume that ^H is
903 # backspace on all terminals.  This is not so in DG mode.
904 dg460-ansi|Data General Dasher 460, ANSI-mode:\
905         :al=\E[L:am:bs:cd=\E[J:ce=\E[K:cl=\E[2J:\
906         :cm=\E[%i%2;%2H:co#80:dc=\E[P:dl=\E[M:do=\E[B:\
907         :ho=\E[H:ic=\E[@:ue=\E[05:ul:up=\E[A:us=\E[4m:is=\036F@:\
908         :k0=\E[001z:k1=\E[002z:k2=\E[003z:k3=\E[004z:k4=\E[005z:k5=\E[006z:\
909         :k6=\E[007z:k7=\E[008z:k8=\E[009z:k9=\E[00\:z:\
910         :kb=\E[D:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:kn#6:\
911         :l0=f1:l1=f2:l2=f3:l3=f4:l4=f5:l5=f6:l6=f7:l7=f8:l9=f10:\
912         :le=^H:li#24:mb=\E[5m:me=\E[0m:mh=\E[2m:mr=\E[7m:ms:mu=\EW:\
913         :nd=\E[C:nl=\ED:pt:se=\E[0m:sf=\E[S:so=\E[7m:sr=\E[T:
914 v603|visual603|603|Visual model 603:\
915         :hs:ts=\EP2~:fs=\E\\:ds=\EP2;1~\E\\:\
916         :im=\E[4h:ei=\E[4l:mi:dc=\E[P:al=\E[L:dl=\E[M:\
917         :cs=\E[%i%d;%dr:sf=\ED:sr=\EM:sb=\EM:\
918         :ce=\E[K:cl=\E[H\E[J:cd=\E[J:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\
919         :so=\E[7m:se=\E[27m:us=\E[4m:ue=\E[24m:\
920         :md=\E[1m:mr=\E[7m:mb=\E[5m:me=\E[m:\
921         :is=\E>\E[?3l\E[?4l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
922         :rs=\E>\E[?3l\E[?4l\E[?7h\E[?8h:\
923         :tc=vt100:
924 cdi|cdi1203:\
925         :am:le=^H:bs:hc:os:co#80:dC#200:do=^J:
926 # ^S is an arrow key!  Boy is this guy in for a surprise on v7!
927 sol:\
928         :do=^J:am:le=^Y:ho=^H:bs:cm=\E^1%.\E^2%.:cl=^K:ho=^N:co#64:li#16:\
929         :nd=^S:up=^W:kl=^A:kr=^S:ku=^W:kd=^Z:ma=^A^H^S ^W^P^Z^N:
930 xl83|Cybernex XL-83:\
931         :do=^J:am:le=^H:bs:cd=62^P:ce=3^O:cl=62^L:cm=^W%+ %+ :co#80:ho=^K:\
932         :kd=^J:kl=^H:ku=^N:li#24:up=^N:nd=^I:
933 omron|Omron 8025AG:\
934         :do=^J:al=\EL:am:le=^H:bs:cd=\ER:co#80:ce=\EK:cl=\EJ:\
935         :da:db:dc=\EP:dl=\EM:ho=\EH:li#24:nd=\EC:se=\E4:sf=\ES:\
936         :so=\Ef:sr=\ET:up=\EA:ve=:vs=\EN:
937 plasma|plasma panel:\
938         :am:le=^H:bs:cl=^L:co#85:ho=^^:li#45:nd=\030:up=\026:do=^J:
939 pty|pseudo teletype:\
940         :do=^J:co#80:li#24:am:cl=\EJ:le=^H:bs:cm=\EG%+ %+ :nd=\EC:\
941         :up=\EA:ce=\EK:cd=\EL:al=\EP:dl=\EN:ic=\EO:\
942         :so=\Ea$:se=\Eb$:us=\Ea!:ue=\Eb!:
943 remote|virtual remote terminal:\
944         :co#79:am@:nl@:tc=virtual:
945 swtp|ct82|southwest technical products ct82:\
946         :do=^J:am:le=^d:bc=^d:\
947         :al=^\^y:cd=^v:ce=^F:cl=^L:cm=%r^k%.%.:co#82:li#20:\
948         :dl=^z:nd=^s:up=^a:so=^^^v:se=^^^F:dc=^\^h:ic=^\^x:ho=^p:\
949         :sf=^n:sr=^o:ll=^c:\
950         :is=^\^r^^^s^^^d^]^w^i^s^^^]^^^o^]^w^r^i:
951 terak|Terak emulating Datamedia 1520:\
952         :tc=dm1520:
953 # :is resets scrolling region in case a previous user had used "tset vt100"
954 sun|Sun Microsystems Workstation console:\
955         :li#34:co#80:cl=^L:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\
956         :am:bs:mi:ms:pt:km:\
957         :ce=\E[K:cd=\E[J:so=\E[7m:se=\E[m:is=\E[1r:rs=\E[1r:\
958         :kd=\E[B:kl=\E[D:ku=\E[A:kr=\E[C:kh=\E[H:\
959         :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
960         :al=\E[L:dl=\E[M:ic=\E[@:dc=\E[P:\
961         :AL=\E[%dL:DL=\E[%dM:IC=\E[%d@:DC=\E[%dP:
962 # From john@ucbrenoir  Tue Sep 24 13:14:44 1985
963 sun-s|Sun Microsystems Workstation window with status line:\
964         :hs:ts=\E]l:fs=\E\\:ds=\E]l\E\\:tc=sun:
965 sun-e-s|sun-s-e|Sun Microsystems Workstation with status hacked for emacs:\
966         :hs:ts=\E]l:fs=\E\\:ds=\E]l\E\\:tc=sun-e:
967 sun-48|Sun 48-line window:\
968         :li#48:co#80:tc=sun:
969 sun-34|Sun 34-line window:\
970         :li#34:co#80:tc=sun:
971 sun-24|Sun 24-line window:\
972         :li#24:co#80:tc=sun:
973 sun-17|Sun 17-line window:\
974         :li#17:co#80:tc=sun:
975 sun-12|Sun 12-line window:\
976         :li#12:co#80:tc=sun:
977 sun-1|Sun 1-line window for sysline:\
978         :li#1:co#80:es:hs:ts=\r:fs=\E[K:ds=^L:tc=sun:
979 sun-e|sun-nic|sune|Sun Microsystems Workstation without insert character:\
980         :ic@:im@:ei@:tc=sun:
981 sun-c|sun-cmd|Sun Microsystems Workstation console with scrollable history:\
982         :te=\E[>4h:ti=\E[>4l:tc=sun:
983 # The terminal mvterm is a full color terminal emulation that seems to be
984 # specific to a terminal program on Sun workstations called SwitchTerm. It
985 # is vt100 compatible with minor changes.
986 # Daniel Rudy <dcrudy@pacbell.net>
987 mvterm|vv100|mvterm emulator with ANSI colors:\
988         :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[100m:tc=vt102:
989 # For NeWS's psterm from Eric Messick & Hugh Daniel
990 psterm|psterm-basic|psterm-80x34:\
991         :am:bs:al=\EA:cd=\EB:ce=\EC:cl=^L:cm=\E%d;%d;:cs=\EE%d;%d;:\
992         :dc=\EF:dl=\EK:do=\EP:ei=\ENi:el=\ENl:fs=\ENl:\
993         :ho=\ER:hs:im=\EOi:is=\EN*:km:kd=\E[B:ku=\E[A:kr=\E[C:kl=\E[D:\
994         :mb=\EOb:md=\EOd:me=\EN*:mr=\EOr:nd=\EV:pt:rc=\034:rs=\EN*:sc=\035:\
995         :se=\ENo:sf=\EW:sl=\EOl:so=\EOo:sr=\EX:te=\ENt:ti=\EOt:ts=\EOl:\
996         :ue=\ENu:le=\ET:ll=\EU:ul:up=\EY:us=\EOu:vb=\EZ:co#80:li#34:
997 psterm-96x48:\
998         :co#96:li#48:tc=psterm-basic:
999 psterm-90x28:\
1000         :co#90:li#28:tc=psterm-basic:
1001 psterm-80x24:\
1002         :co#80:li#24:tc=psterm-basic:
1003 # This is a faster termcap for psterm.  Warning:  if you use this termcap,
1004 # some control characters you type will do strange things to the screen.
1005 psterm-fast:\
1006         :am:bs:al=^A:cd=^B:ce=^C:cl=^L:cm=^D%d;%d;:cs=^E%d;%d;:\
1007         :dc=^F:dl=^K:do=^P:ei=^Ni:el=^Nl:fs=^Nl:\
1008         :ho=^R:hs:im=^Oi:is=^N*:km:kd=\E[B:ku=\E[A:kr=\E[C:kl=\E[D:\
1009         :mb=^Ob:md=^Od:me=^N*:mr=^Or:nd=^V:pt:rc=\034:rs=^N*:sc=\035:\
1010         :se=^No:sf=^W:sl=^Ol:so=^Oo:sr=^X:te=^Nt:ti=^Ot:ts=^Ol:ue=^Nu:\
1011         :le=^T:ll=^U:ul:up=^Y:us=^Ou:vb=^Z:co#80:li#34:
1012 apollo:\
1013         :al=\EI:am:bs:cd=\EJ:ce=\EK:ch=\EN%d:cl=^L:cm=\EM%+ %d):\
1014         :cv=\EO+ :dc=\EP:dl=\EL:do=\EB:ei=\ER:im=\EQ:mi:nd=\EC:se=\ET:sf=\EE:\
1015         :so=\ES:sr=\ED:te=\EX:ti=\EW:ue=\EV:up=\EA:us=\EU:co#88:li#53:
1016 # Apollo termcaps from Gary Darland, goodmanc@garnet
1017 apollo_15P|apollo 15 inch display:\
1018         :dN@:tc=vt132:
1019 apollo_19L|apollo 19 inch display:\
1020         :dN@:tc=vt132:
1021 apollo_color|apollo color display:\
1022         :dN@:tc=vt132:
1023 virtual|VIRTUAL|cb unix virtual terminal:\
1024         :do=^J:co#80:li#24:am:cl=\E\112:le=^H:bs:cm=\E\107%r%.%.:nd=\E\103:\
1025         :up=\E\101:ce=\E\113:cd=\E\114:al=\E\120:dl=\E\116:ic=\E\117:\
1026         :da:db:kl=\E\104:kr=\E\103:ku=\E\101:kd=\E\102:kh=\E\105:\
1027         :so=\E\141\004:se=\E\142\004:us=\E\141\001:ue=\E\142\001:
1028 it2|intertube2|intertec data systems intertube 2:\
1029         :do=^J:am:bs:cl=^L:co#80:ho=^A:li#25:up=^Z:ce=\EK:\
1030         :cm=^N%+ %+ :ch=^P%\102%.:cv=^K%.:nd=^F:do=\n:ll=^K^X\r:\
1031         :so=\E0P:se=\E0@:
1032 delta|dd5000|delta data 5000:\
1033         :do=^J:am:le=^H:bs:cl=^NR:cm=^O%\068%+9%\068%+9:co#80:li#27:\
1034         :ho=^NQ:nc:nd=^Y:up=^Z:ce=^NU:dc=^NV:ma=^K^J^Z^P^Y :xr:
1035 mdl110|cybernex mdl-110:\
1036         :cm=^P%+ %+ :co#80:li#24:am:cl=70^X:le=^H:bs:do=^J:\
1037         :nd=^U:up=^Z:ho=^Y:ce=145^N@^V:cd=145^NA^W:al=65^NA^N^]:\
1038         :dl=40^NA^N^^:ic=3.5^NA^]:dc=3.5^NA^^:\
1039         :so=^NF:se=^NG:ta=43\t:ma=^Z^P:cd=6^N@^V:
1040 zen30|z30|zentec 30:\
1041         :do=^J:mi:co#80:li#24:ma=^L ^R^L^K^P:ul:\
1042         :al=1.5*\EE:le=^H:bs:ce=1.0*\ET:cm=\E=%+ %+ :cl=\E*:\
1043         :ho=^^:nd=^L:se=\EG0:so=\EG6:up=^K:im=\Eq:ei=\Er:\
1044         :am:dc=\EW:dl=1.5*\ER:cd=\EY:
1045 modgraph|mod|Modgraph terminal emulating vt100, 24x80:\
1046         :xn@:rf@:sr=5\EM\E[K:vs=\E\^9;0s\E\^7;1s:\
1047         :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:\
1048         :tc=vt100:
1049 # dmchat is like DM2500, but DOES need "all that padding" (jcm 1/31/82)
1050 # also, has a meta-key (MT)
1051 # from goldberger@su-csli.arpa
1052 dmchat|dmchat version of datamedia 2500:\
1053         :al=1*^P\n^X^]^X^]:\
1054         :MT:km:\
1055         :dl=2^P^Z^X^]:\
1056         :tc=dm2500:
1057 # originally from Carol Block at ear (cblock@ear); changed O's to 0's and
1058 # fixed :is \E from pcuser@garnet.berkeley.edu, 27 Feb 90
1059 mt70|m70|morrow mt70:\
1060         :is=\EG0\E"5:cl=^Z:cm=\E=%+ %+ :do=^J:ic=\EQ:\
1061         :dc=\EW:kl=\034L:kr=\034M:ku=\034J:kd=\034K:\
1062         :so=\EG4:se=\EG0:us=\EG1:ue=\EG0:vs=\E"2:ve=\E"5\E(:\
1063         :tc=adm31:
1064 # standard-issue France Telecom minitel terminal (made by Philips)
1065 m2-nam|minitel|minitel-2|minitel-2-nam|minitel 2|France Telecom Minitel:\
1066         :li#24:al=\E[L:dl=\E[M:ip=7:dc=\E[P:ei=\E[4l:im=\E[4h:xn:\
1067         :ho=\E[H:cl=\E[H\E[J:ug#0:sg#0:\
1068         :co#80:am@:bs:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\
1069         :as=\E(0:ae=\E(B:sf=^j:sr=\EM:is=\E[1;24r\E[24;1H:\
1070         :ce=\E[K:cd=\E[J:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:\
1071         :zd=\E[1m:zb=\E[5m:zc=lkmjqxtuwvn:\
1072         :ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:\
1073         :kh=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:pt:
1074 # from keith bostic (bostic@monet)
1075 #
1076 mod2|Modgraph GX-1000, set to 80x24, keypad not enabled:\
1077         :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:\
1078         :bs:cd=50\EJ:ce=3\EK:cl=50\EH\EJ:cm=5\EY%+ %+ :co#80:li#24:nd=2\EC:\
1079         :pt:sr=5\EI:up=2\EA:da:db:am:
1080 wsiris|iris40|iris emulating a 40 line visual 50 (approximately):\
1081         :am:bs:nc:pt:\
1082         :co#80:it#8:kn#3:li#40:\
1083         :al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=\Ev:cm=\EY%+ %+ :dl=\EM:\
1084         :do=\EB:ho=\EH:is=\E7B0\E7F7\E7C2\E7R3:k0=\E0:k1=\E1:\
1085         :k2=\E2:k3=\E3:k4=\E4:k5=\E5:k6=\E6:k7=\E7:k8=\E8:k9=\E9:\
1086         :kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:me=\E7F7:mh=\E7F2:nd=\EC:\
1087         :nl=\EB:se=\E0@:sf=^J:so=\E9P:sr=\EI:ta=^I:ue=\E7R3\E0@:\
1088         :up=\EA:us=\E7R2\E9P:vb=\E7F4\E7B1\013\E7F7\E7B0:ve=\E>:\
1089         :vs=\E;:
1090 # davis@unidata.ucar.edu
1091 iris-ansi|iris-ansi-net|IRIS emulating ANSI terminal:\
1092         :am:co#80:it#8:li#40:bl=^G:md=\E[1m:cl=\E[H\E[2J:\
1093         :ve=\E[9/y\E[12/y\E[=6l:cr=\r:LE=\E[%dD:\
1094         :le=\E[D:DO=\E[%dB:do=\n:RI=\E[%dC:\
1095         :nd=\E[C:cm=\E[%i%d;%dH:UP=\E[%dA:\
1096         :up=\E[A:vs=\E[10/y\E[=1h\E[=2l\E[=6h:\
1097         :DL=\E[%dM:dl=\E[M:cd=\E[J:ce=\E[K:cb=\E[1K:\
1098         :ho=\E[H:ta=\t:st=\EH:AL=\E[%dL:al=\E[L:\
1099         :sf=\ED:is=\E[?1l\E>\E[?7h\E[100g\E[0m\E7\E[r\E8:\
1100         :*4=\E[P:*7=\E[147q:#2=\E[143q:#4=\E[158q:\
1101         :%f=\E[210q:%i=\E[167q:!2=\E[218q:kb=\b:\
1102         :kB=\E[Z:kl=\E[D:kd=\E[B:kr=\E[C:\
1103         :ku=\E[A:kD=\177:@7=\E[146q:@8=\r:\
1104         :k1=\E[001q:k;=\EOQ:F1=\EOR:F2=\EOS:\
1105         :k2=\E[002q:k3=\E[003q:k4=\E[004q:k5=\E[005q:\
1106         :k6=\E[006q:k7=\E[007q:k8=\E[008q:k9=\EOP:\
1107         :kh=\E[H:kI=\E[139q:kN=\E[154q:kP=\E[150q:\
1108         :%9=\E[209q:kM=\E[146q:&7=\E[217q:nw=\EE:\
1109         :pk=\EP101;%d.y%s\E\\:rc=\E8:mr=\E[7m:\
1110         :sr=\EM:se=\E[m:ue=\E[m:sc=\E7:me=\E[m:\
1111         :so=\E[1;7m:us=\E[4m:ct=\E[3g:
1112\f# --------------------------------
1113 #
1114 # N: ANN ARBOR
1115 #
1116 # Needs function keys added.
1117 # Originally from Mike O'Brien@Rand and Howard Katseff at Bell Labs.
1118 # Highly modified 6/22 by Mike O'Brien.
1119 # split out into several for the various screen sizes by dave-yost@rand
1120 # Modifications made 3/82 by Mark Horton
1121 # Modified by Tom Quarles at UCB for greater efficiency and more diversity
1122 # status line moved to top of screen, vb removed 5/82
1123 #
1124 # assumes the following setup:
1125 #   A menu: 0000 1010  0001 0000
1126 #   B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
1127 #   C menu: 56   66   0    0    9600  0110 1100
1128 #   D menu: 0110 1001   1   0
1129 #
1130 #       Briefly, the settings are for the following modes:
1131 #          (values are for bit set/clear with * indicating our preference
1132 #           and the value used to test these termcaps)
1133 #       Note that many of these settings are irrelevant to the termcap
1134 #       and are just set to the default mode of the terminal as shipped
1135 #       by the factory.
1136 #
1137 # A menu: 0000 1010  0001 0000
1138 #       Block/underline cursor*
1139 #       blinking/nonblinking cursor*
1140 #       key click/no key click*
1141 #       bell/no bell at column 72*
1142 #
1143 #       key pad is cursor control*/key pad is numeric
1144 #       return and line feed/return for <cr> key *
1145 #       repeat after .5 sec*/no repeat
1146 #       repeat at 25/15 chars per sec. *
1147 #
1148 #       hold data until pause pressed/process data unless pause pressed*
1149 #       slow scroll/no slow scroll*
1150 #       Hold in area/don't hold in area*
1151 #       functions keys have default*/function keys disabled on powerup
1152 #
1153 #       show/don't show position of cursor during page transmit*
1154 #       unused
1155 #       unused
1156 #       unused
1157 #
1158 # B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
1159 #       Baud rate (9600*)
1160 #
1161 #       2 bits of parity - 00=odd,01=even*,10=space,11=mark
1162 #       1 stop bit*/2 stop bits
1163 #       parity error detection off*/on
1164 #
1165 #       keyboard local/on line*
1166 #       half/full duplex*
1167 #       disable/do not disable keyboard after data transmission*
1168 #
1169 #       transmit entire page/stop transmission at cursor*
1170 #       transfer/do not transfer protected characters*
1171 #       transmit all characters/transmit only selected characters*
1172 #       transmit all selected areas/transmit only 1 selected area*
1173 #
1174 #       transmit/do not transmit line separators to host*
1175 #       transmit/do not transmit page tab stops tabs to host*
1176 #       transmit/do not transmit column tab stop tabs to host*
1177 #       transmit/do not transmit graphics control (underline,inverse..)*
1178 #
1179 #       enable*/disable auto XON/XOFF control
1180 #       require/do not require receipt of a DC1 from host after each LF*
1181 #       pause key acts as a meta key/pause key is pause*
1182 #       unused
1183 #
1184 #       unused
1185 #       unused
1186 #       unused
1187 #       unused
1188 #
1189 #       XON character (17*)
1190 #       XOFF character (19*)
1191 #
1192 # C menu: 56   66   0    0    9600  0110 1100
1193 #       number of lines to print data on (printer) (56*)
1194 #
1195 #       number of lines on a sheet of paper (printer) (66*)
1196 #
1197 #       left margin (printer) (0*)
1198 #
1199 #       number of pad chars on new line to printer (0*)
1200 #
1201 #       printer baud rate (9600*)
1202 #
1203 #       printer parity: 00=odd,01=even*,10=space,11=mark
1204 #       printer stop bits: 2*/1
1205 #       print/do not print guarded areas*
1206 #
1207 #       new line is: 01=LF,10=CR,11=CRLF*
1208 #       unused
1209 #       unused
1210 #
1211 # D menu: 0110 1001   1   0
1212 #       LF is newline/LF is down one line, same column*
1213 #       wrap to preceding line if move left from col 1*/don't wrap
1214 #       wrap to next line if move right from col 80*/don't wrap
1215 #       backspace is/is not destructive*
1216 #
1217 #       display*/ignore DEL character
1218 #       display will not/will scroll*
1219 #       page/column tab stops*
1220 #       erase everything*/erase unprotected only
1221 #
1222 #       editing extent: 0=display,1=line*,2=field,3=area
1223 #
1224 #       unused
1225 #
1226 aaa-unk|ann arbor ambassador (internal - don't use this directly):\
1227         :do=^J:al=3\E[L:am:le=^H:bs:\
1228         :cd=\E[J:ce=5\E[K:cl=156\E[H\E[J:cm=\E[%i%d;%dH:co#80:\
1229         :dc=4\E[P:dl=3\E[M:ho=\E[H:ic=4\E[@:\
1230         :md=\E[1m:mr=\E[7m:mb=\E[5m:mk=\E[8m:me=\E[m:\
1231         :ku=\EM:kd=\ED:kl=\E[D:kr=\E[C:kh=\E[H:ko=cl,dc,dl,ce,cd:\
1232         :ks=\EP`?z~[H~[[J`>z~[[J`8xz~[M`4xz~[[D`6xz~[[C`2xz~[D\E\\:\
1233         :ke=\EP`?y~[H~[[J`>y~[[2J`8xy~[M`4xy~[[D`6xy~[[C`2xy~[D\E\\:\
1234         :ch=\E[%i%d`:pt:bw:bt=\E[Z:\
1235         :mi:nd=\E[C:se=\E[m:so=\E[7m:ue=\E[m:us=\E[4m:up=\EM:
1236 aaa-18|ann arbor ambassador/18 lines:\
1237         :ti=\E[2J\E[18;0;0;18p:te=\E[60;0;0;18p\E[18;1H\E[J:\
1238         :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:\
1239         :li#18:tc=aaa-unk:
1240 aaa-20|ann arbor ambassador/20 lines:\
1241         :ti=\E[2J\E[20;0;0;20p:te=\E[60;0;0;20p\E[20;1H\E[J:\
1242         :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:\
1243         :li#20:tc=aaa-unk:
1244 aaa-22|ann arbor ambassador/22 lines:\
1245         :ti=\E[2J\E[22;0;0;22p:te=\E[60;0;0;22p\E[22;1H\E[J:\
1246         :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:\
1247         :li#22:tc=aaa-unk:
1248 aaa-24|ann arbor ambassador/24 lines:\
1249         :ti=\E[2J\E[24;0;0;24p:te=\E[60;0;0;24p\E[24;1H\E[J:\
1250         :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:\
1251         :li#24:tc=aaa-unk:
1252 aaa-26|ann arbor ambassador/26 lines:\
1253         :ti=\E[2J\E[26;0;0;26p:te=\E[60;0;0;26p\E[26;1H\E[J:\
1254         :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:\
1255         :li#26:tc=aaa-unk:
1256 aaa-28|ann arbor ambassador/28 lines:\
1257         :ti=\E[2J\E[28;0;0;28p:te=\E[60;0;0;28p\E[28;1H\E[J:\
1258         :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:\
1259         :li#28:tc=aaa-unk:
1260 aaa|aaa-30|ambas|ambassador|ann arbor ambassador/30 lines:\
1261         :ti=\E[2J\E[30;0;0;30p:te=\E[60;0;0;30p\E[30;1H\E[J:\
1262         :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:\
1263         :li#30:tc=aaa-unk:
1264 aaa-36|ann arbor ambassador/36 lines:\
1265         :ti=\E[2J\E[36;0;0;36p:te=\E[60;0;0;36p\E[36;1H\E[J:\
1266         :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:\
1267         :li#36:tc=aaa-unk:
1268 aaa-40|ann arbor ambassador/40 lines:\
1269         :ti=\E[2J\E[40;0;0;40p:te=\E[60;0;0;40p\E[40;1H\E[J:\
1270         :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:\
1271         :li#40:tc=aaa-unk:
1272 aaa-48|ann arbor ambassador/48 lines:\
1273         :ti=\E[2J\E[48;0;0;48p:te=\E[60;0;0;48p\E[48;1H\E[J:\
1274         :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:\
1275         :li#48:tc=aaa-unk:
1276 aaa-60|ann arbor ambassador/60 lines:\
1277         :ti=\E[2J\E[60;0;0;60p:te=\E[60;0;0;60p\E[60;1H\E[J:\
1278         :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:\
1279         :li#60:tc=aaa-unk:
1280 aaa-unk-s|ann arbor ambassador unknown with/status:\
1281         :es:hs:i2=\E7\E[>51h\E[H\E[2K\E[>51l\E8:\
1282         :ts=\E7\E[>51h\E[H\E[2K\E[%i%d`:fs=\E[>51l\E8:\
1283         :ds=\E7\E[>51h\E[H\E[2K\E[>51l\E8:\
1284         :tc=aaa-unk:
1285 aaa-18-s|ann arbor ambassador/18 lines + status line:\
1286         :ti=\E[2J\E[18;1;0;18p:\
1287         :te=\E[60;1;0;18p\E[17;1H\E[J:\
1288         :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:\
1289         :li#17:tc=aaa-unk-s:
1290 aaa-20-s|ann arbor ambassador/20 lines + status line:\
1291         :ti=\E[2J\E[20;1;0;20p:\
1292         :te=\E[60;1;0;20p\E[19;1H\E[J:\
1293         :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:\
1294         :li#19:tc=aaa-unk-s:
1295 aaa-22-s|ann arbor ambassador/22 lines + status line:\
1296         :ti=\E[2J\E[22;1;0;22p:\
1297         :te=\E[60;1;0;22p\E[21;1H\E[J:\
1298         :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:\
1299         :li#21:tc=aaa-unk-s:
1300 aaa-24-s|ann arbor ambassador/24 lines + status line:\
1301         :ti=\E[2J\E[24;1;0;24p:\
1302         :te=\E[60;1;0;24p\E[23;1H\E[J:\
1303         :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:\
1304         :li#23:tc=aaa-unk-s:
1305 aaa-26-s|ann arbor ambassador/26 lines + status line:\
1306         :ti=\E[2J\E[26;1;0;26p:\
1307         :te=\E[60;1;0;26p\E[25;1H\E[J:\
1308         :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:\
1309         :li#25:tc=aaa-unk-s:
1310 aaa-28-s|ann arbor ambassador/28 lines + status line:\
1311         :ti=\E[2J\E[28;1;0;28p:\
1312         :te=\E[60;1;0;28p\E[27;1H\E[J:\
1313         :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:\
1314         :li#27:tc=aaa-unk-s:
1315 aaa-30-s|ann arbor ambassador/30 lines + status line:\
1316         :ti=\E[2J\E[30;1;0;30p:\
1317         :te=\E[60;1;0;30p\E[29;1H\E[J:\
1318         :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:\
1319         :li#29:tc=aaa-unk-s:
1320 aaa-36-s|ann arbor ambassador/36 lines + status line:\
1321         :ti=\E[2J\E[36;1;0;36p:\
1322         :te=\E[60;1;0;36p\E[35;1H\E[J:\
1323         :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:\
1324         :li#35:tc=aaa-unk-s:
1325 aaa-40-s|ann arbor ambassador/40 lines + status line:\
1326         :ti=\E[2J\E[40;1;0;40p:\
1327         :te=\E[60;1;0;40p\E[39;1H\E[J:\
1328         :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:\
1329         :li#39:tc=aaa-unk-s:
1330 aaa-48-s|ann arbor ambassador/48 lines+sl:\
1331         :ti=\E[2J\E[48;1;0;48p:te=\E[60;1;0;48p\E[47;1H\E[J:\
1332         :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:\
1333         :li#47:tc=aaa-unk-s:
1334 aaa-60-s|ann arbor ambassador/60 lines + status line:\
1335         :ti=\E[2J\E[60;1;0;60p:te=\E[60;1;0;60p\E[59;1H\E[J:\
1336         :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:\
1337         :li#59:tc=aaa-unk-s:
1338 aaa-18-rv|ambassador/18 lines+rv:\
1339         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1340         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1341         :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:\
1342         :tc=aaa-18:
1343 aaa-20-rv|ambassador/20 lines+rv:\
1344         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1345         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1346         :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:\
1347         :tc=aaa-20:
1348 aaa-22-rv|ambassador/22 lines+rv:\
1349         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1350         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1351         :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:\
1352         :tc=aaa-22:
1353 aaa-24-rv|ambassador/24 lines+rv:\
1354         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1355         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1356         :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:\
1357         :tc=aaa-24:
1358 aaa-26-rv|ambassador/26 lines+rv:\
1359         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1360         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1361         :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:\
1362         :tc=aaa-26:
1363 aaa-28-rv|ambassador/28 lines+rv:\
1364         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1365         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1366         :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:\
1367         :tc=aaa-28:
1368 aaa-30-rv|ann arbor ambassador/30 lines in reverse video:\
1369         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1370         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1371         :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:\
1372         :tc=aaa-30:
1373 aaa-36-rv|ann arbor ambassador/36 lines in reverse video:\
1374         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1375         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1376         :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:\
1377         :tc=aaa-36:
1378 aaa-40-rv|ann arbor ambassador/40 lines in reverse video:\
1379         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1380         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1381         :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:\
1382         :tc=aaa-40:
1383 aaa-48-rv|ann arbor ambassador/48 lines in reverse video:\
1384         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1385         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1386         :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:\
1387         :tc=aaa-48:
1388 aaa-60-rv|ann arbor ambassador/60 lines in reverse video:\
1389         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1390         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1391         :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:\
1392         :tc=aaa-60:
1393 aaa-18-rv-s|aaa-18-s-rv|ambassador/18 lines+sl+rv:\
1394         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1395         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1396         :ti=\E[2J\E[18;1;0;18p:te=\E[60;1;0;18p\E[17;1H\E[J:li#17:\
1397         :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:\
1398         :tc=aaa-unk-s:
1399 aaa-20-rv-s|aaa-20-s-rv|ambassador/20 lines+sl+rv:\
1400         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1401         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1402         :ti=\E[2J\E[20;1;0;20p:te=\E[60;1;0;20p\E[19;1H\E[J:li#19:\
1403         :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:\
1404         :tc=aaa-unk-s:
1405 aaa-22-rv-s|aaa-22-s-rv|ambassador/22 lines+sl+rv:\
1406         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1407         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1408         :ti=\E[2J\E[22;1;0;22p:te=\E[60;1;0;22p\E[21;1H\E[J:li#21:\
1409         :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:\
1410         :tc=aaa-unk-s:
1411 aaa-24-rv-s|aaa-24-s-rv|ambassador/24 lines+sl+rv:\
1412         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1413         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1414         :ti=\E[2J\E[24;1;0;24p:te=\E[60;1;0;24p\E[23;1H\E[J:li#23:\
1415         :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:\
1416         :tc=aaa-unk-s:
1417 aaa-26-rv-s|aaa-26-s-rv|ambassador/26 lines+sl+rv:\
1418         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1419         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1420         :ti=\E[2J\E[26;1;0;26p:te=\E[60;1;0;26p\E[25;1H\E[J:li#25:\
1421         :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:\
1422         :tc=aaa-unk-s:
1423 aaa-28-rv-s|aaa-28-s-rv|ambassador/28 lines+sl+rv:\
1424         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1425         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1426         :ti=\E[2J\E[28;1;0;28p:te=\E[60;1;0;28p\E[27;1H\E[J:li#27:\
1427         :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:\
1428         :tc=aaa-unk-s:
1429 aaa-rv|aaa-30-rv-s|aaa-30-s-rv|ambassador/30 lines+sl+rv:\
1430         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1431         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1432         :ti=\E[2J\E[30;1;0;30p:te=\E[60;1;0;30p\E[29;1H\E[J:li#29:\
1433         :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:\
1434         :tc=aaa-unk-s:
1435 aaa-36-rv-s|aaa-36-s-rv|ambassador/36 lines+sl+rv:\
1436         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1437         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1438         :ti=\E[2J\E[36;1;0;36p:te=\E[60;1;0;36p\E[35;1H\E[J:li#35:\
1439         :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:\
1440         :tc=aaa-unk-s:
1441 aaa-40-rv-s|aaa-40-s-rv|ambassador/40 lines+sl+rv:\
1442         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1443         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1444         :ti=\E[2J\E[40;1;0;40p:te=\E[60;1;0;40p\E[39;1H\E[J:li#39:\
1445         :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:\
1446         :tc=aaa-unk-s:
1447 aaa-48-rv-s|aaa-48-s-rv|ambassador/48 lines+sl+rv:\
1448         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1449         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1450         :ti=\E[2J\E[48;1;0;48p:te=\E[60;1;0;48p\E[47;1H\E[J:li#47:\
1451         :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:\
1452         :tc=aaa-unk-s:
1453 aaa-60-rv-s|aaa-60-s-rv|ambassador/60 lines+sl+rv:\
1454         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1455         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1456         :ti=\E[2J\E[60;1;0;60p:te=\E[60;1;0;60p\E[59;1H\E[J:li#59:\
1457         :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:\
1458         :tc=aaa-unk-s:
1459 aaa-24-ctxt:\
1460         :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:
1461 aaa-24-rv-ctxt|ambassador/24+rv:\
1462         :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:
1463 aaa-s-ctxt|aaa-30-s-ctxt|hairy aaa:\
1464         :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:
1465 aaa-s-rv-ctxt|aaa-30-s-rv-ctxt:\
1466         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1467         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1468         :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:\
1469         :ti=\E[30;1H\E[K\E[30;1;0;30p:te=\E[60;1;0;30p\E[59;1H\E[K:\
1470         :li#29:tc=aaa-unk-s:
1471 aaa-ctxt|aaa-30-ctxt:\
1472         :ti=\E[30;0;0;30p:te=\E[60;0;0;30p\E[60;1H\E[K:tc=aaa-30:
1473 aaa-rv-ctxt|aaa-30-rv-ctxt:\
1474         :ti=\E[30;0;0;30p:te=\E[60;0;0;30p\E[60;1H\E[K:\
1475         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1476         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1477         :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:\
1478         :li#30:tc=aaa-unk:
1479 aaa-db|ann arbor ambassador 30/destructive backspace:\
1480         :ti=\E[H\E[J\E[30;0;0;30p:te=\E7\E[60;0;0;30p\E8:li#30:\
1481         :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@:\
1482         :tc=aaa-unk:
1483 annarbor|4080|ann arbor 4080:\
1484         :do=^J:pt:ct=^\^P^P:st=^]^P1:cm=^O%r%\066%.%>^S^L%+@:\
1485         :co#80:li#40:le=^H:bs:cl=2^L:up=^N:nd=^_:ho=^K:am:\
1486         :kb=^^:kd=^J:ku=^N:kl=^H:kr=^_:kh=^K:ma=^_ ^N^P:
1487\f# --------------------------------
1488 #
1489 # P: PC entries for use with kermit
1490 #
1491 # greg small (gts@populi)
1492 #
1493 # Cannot use :pt:, it does not work (why?).  :ho: seems required (why?). [gts]
1494 # Caution: 4.3 BSD tset does not pass li#25 to stty rows except during login?
1495 # :cl: clears attributes and sets wrap at margin before clearing the screen.
1496 ansi.sys|ansisys|PC-DOS 3.1 ANSI.SYS:\
1497         :am:bs:ce=\E[K:cl=\E[m\E[7h\E[2J:cm=\E[%i%d;%dH:co#80:\
1498         :ku=^K:kd=^J:kl=^H:kr=^L:kh=^^:ma=^Hh\012j^Kk^Ll^^H:\
1499         :ho=\E[H:li#25:nd=\E[C:up=\E[A:\
1500         :ms:md=\E[1m:me=\E[m:mr=\E[7m:se=\E[m:so=\E[1m:ue=\E[m:us=\E[4m:\
1501         :is=U1 PC-DOS 3.1 ANSI.SYS 9-23-86\n\E[m\E[7h:
1502 #
1503 # Define IBM PC keypad keys for vi as per MS-Kermit while using ANSI.SYS.
1504 # This should only be used when the terminal emulator cannot redefine the keys.
1505 # Since redefining keys with ansi.sys also affects PC-DOS programs, the key
1506 # definitions must be restored.  If the terminal emulator is quit while in vi
1507 # or others using :ks:ke:, the keypad keys will not be defined as per PC-DOS.
1508 # The PgUp and PgDn are prefixed with ESC so that tn3270 can be used on Unix
1509 # (^U and ^D are already defined for tn3270).  The ESC is safe for vi but it
1510 # does "beep".  ESC ESC i is used for Ins to avoid tn3270 ESC i for coltab.
1511 # Left arrow is always BS, because PC-dos can tolerate this change.
1512 # Caution: vi is limited to 256 string bytes, longer crashes or weirds vi.
1513 # Consequently the End keypad key could not be set (it is relatively safe and
1514 # actually useful because it sends ^@ O, which beeps and opens a line above).
1515 ansi.sysk|ansisysk|PC-DOS 3.1 ANSI.SYS with keypad redefined for vi:\
1516         :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:\
1517         :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:\
1518         :is=U2 PC-DOS 3.1 ANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p:\
1519         :tc=ansi.sys:
1520 #
1521 # Adds ins/del line/character, hence vi reverse scrolls/inserts/deletes nicer.
1522 nansi.sys|nansisys|PC-DOS Public Domain NANSI.SYS:\
1523         :al=\E[1L:dl=\E[1M:ic=\E[1@:dc=\E[1P:\
1524         :is=U3 PC-DOS Public Domain NANSI.SYS 9-23-86\n:\
1525         :tc=ansi.sys:
1526 #
1527 # See U2 ansi.sysk and U3 nansi.sys above.
1528 nansi.sysk|nansisysk|PC-DOS Public Domain NANSI.SYS with keypad redefined for vi:\
1529         :al=\E[1L:dl=\E[1M:ic=\E[1@:dc=\E[1P:\
1530         :is=U4 PC-DOS Public Domain NANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p:\
1531         :tc=ansi.sysk:
1532 #       Hellmuth Michaelis <hm@FreeBSD.org>
1533 #       pcvt vt220 terminal emulator console (pc keyboard & monitor)
1534 #       termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
1535 #       50 lines entries
1536 #       80 columns
1537 #---------------------------------------------------------------------------
1538 pcvt25|dec vt220 with 25 lines:\
1539         :li#25:\
1540         :co#80:\
1541         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;25r\E[25;1H:\
1542         :tc=pcvtXX:
1543
1544 pcvt28|dec vt220 with 28 lines:\
1545         :li#28:\
1546         :co#80:\
1547         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;28r\E[28;1H:\
1548         :tc=pcvtXX:
1549
1550 pcvt35|dec vt220 with 35 lines:\
1551         :li#35:\
1552         :co#80:\
1553         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;35r\E[35;1H:\
1554         :tc=pcvtXX:
1555
1556 pcvt40|dec vt220 with 40 lines:\
1557         :li#40:\
1558         :co#80:\
1559         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;40r\E[40;1H:\
1560         :tc=pcvtXX:
1561
1562 pcvt43|dec vt220 with 43 lines:\
1563         :li#43:\
1564         :co#80:\
1565         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;43r\E[43;1H:\
1566         :tc=pcvtXX:
1567
1568 pcvt50|dec vt220 with 50 lines:\
1569         :li#50:\
1570         :co#80:\
1571         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;50r\E[50;1H:\
1572         :tc=pcvtXX:
1573 #       termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
1574 #       50 lines entries
1575 #       132 columns
1576 pcvt25w|dec vt220 with 25 lines and 132 cols:\
1577         :li#25:\
1578         :co#132:\
1579         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;25r\E[25;1H:\
1580         :tc=pcvtXX:
1581
1582 pcvt28w|dec vt220 with 28 lines and 132 cols:\
1583         :li#28:\
1584         :co#132:\
1585         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;28r\E[28;1H:\
1586         :tc=pcvtXX:
1587
1588 pcvt35w|dec vt220 with 35 lines and 132 cols:\
1589         :li#35:\
1590         :co#132:\
1591         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;35r\E[35;1H:\
1592         :tc=pcvtXX:
1593
1594 pcvt40w|dec vt220 with 40 lines and 132 cols:\
1595         :li#40:\
1596         :co#132:\
1597         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;40r\E[40;1H:\
1598         :tc=pcvtXX:
1599
1600 pcvt43w|dec vt220 with 43 lines and 132 cols:\
1601         :li#43:\
1602         :co#132:\
1603         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;43r\E[43;1H:\
1604         :tc=pcvtXX:
1605
1606 pcvt50w|dec vt220 with 50 lines and 132 cols:\
1607         :li#50:\
1608         :co#132:\
1609         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;50r\E[50;1H:\
1610         :tc=pcvtXX:
1611 #       termcap entries for HP-Emulation and 25, 28, 35, 40, 43 and 50
1612 #       lines entries. note that the HP-Emulation uses the bottom 3 lines
1613 #       for status and function key labels, so we get always 3 lines less.
1614 #       "Xs" is a nonstandard, private flag indicating HP-like fkey labels
1615 #       80 column entries
1616 pcvt22h|dec vt220 with HP-fkey labels and 22 lines:\
1617         :li#22:\
1618         :co#80:\
1619         :Xs:\
1620         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;22r\E[22;1H:\
1621         :tc=pcvtXX:
1622
1623 pcvt25h|dec vt220 with HP-fkey labels and 25 lines:\
1624         :li#25:\
1625         :co#80:\
1626         :Xs:\
1627         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;25r\E[25;1H:\
1628         :tc=pcvtXX:
1629
1630 pcvt32h|dec vt220 with HP-fkey labels and 32 lines:\
1631         :li#32:\
1632         :co#80:\
1633         :Xs:\
1634         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;32r\E[32;1H:\
1635         :tc=pcvtXX:
1636
1637 pcvt37h|dec vt220 with HP-fkey labels and 37 lines:\
1638         :li#37:\
1639         :co#80:\
1640         :Xs:\
1641         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;37r\E[37;1H:\
1642         :tc=pcvtXX:
1643
1644 pcvt40h|dec vt220 with HP-fkey labels and 40 lines:\
1645         :li#40:\
1646         :co#80:\
1647         :Xs:\
1648         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;40r\E[40;1H:\
1649         :tc=pcvtXX:
1650
1651 pcvt47h|dec vt220 with HP-fkey labels and 47 lines:\
1652         :li#47:\
1653         :co#80:\
1654         :Xs:\
1655         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;47r\E[47;1H:\
1656         :tc=pcvtXX:
1657 #       termcap entries for HP-Emulation and 25, 28, 35, 40, 43 and 50
1658 #       lines entries. note that the HP-Emulation uses the bottom 3 lines
1659 #       for status and function key labels, so we get always 3 lines less.
1660 #       "Xs" is a nonstandard, private flag indicating HP-like fkey labels
1661 #       132 column entries
1662 pcvt22hw|dec vt220 with HP-fkey labels, 22 lines and 132 cols:\
1663         :li#22:\
1664         :co#132:\
1665         :Xs:\
1666         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;22r\E[22;1H:\
1667         :tc=pcvtXX:
1668
1669 pcvt25hw|dec vt220 with HP-fkey labels, 25 lines and 132 cols:\
1670         :li#25:\
1671         :co#132:\
1672         :Xs:\
1673         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;25r\E[25;1H:\
1674         :tc=pcvtXX:
1675
1676 pcvt32hw|dec vt220 with HP-fkey labels, 32 lines and 132 cols:\
1677         :li#32:\
1678         :co#132:\
1679         :Xs:\
1680         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;32r\E[32;1H:\
1681         :tc=pcvtXX:
1682
1683 pcvt37hw|dec vt220 with HP-fkey labels, 37 lines and 132 cols:\
1684         :li#37:\
1685         :co#132:\
1686         :Xs:\
1687         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;37r\E[37;1H:\
1688         :tc=pcvtXX:
1689
1690 pcvt40hw|dec vt220 with HP-fkey labels, 40 lines and 132 cols:\
1691         :li#40:\
1692         :co#132:\
1693         :Xs:\
1694         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;40r\E[40;1H:\
1695         :tc=pcvtXX:
1696
1697 pcvt47hw|dec vt220 with HP-fkey labels, 47 lines and 132 cols:\
1698         :li#47:\
1699         :co#132:\
1700         :Xs:\
1701         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;47r\E[47;1H:\
1702         :tc=pcvtXX:
1703 #       main entry, without "is" and "li" capabilities
1704 pcvtXX|pcvt vt200 emulator (DEC VT220):\
1705         :AL=\E[%dL:\
1706         :DC=\E[%dP:\
1707         :DL=\E[%dM:\
1708         :DO=\E[%dB:\
1709         :IC=\E[%d@:\
1710         :LE=\E[%dD:\
1711         :RI=\E[%dC:\
1712         :SF=\E[%dS:\
1713         :SR=\E[%dT:\
1714         :UP=\E[%dA:\
1715         :ac=llmmkkjjuuttvvwwqqxxnnpprr``aa:\
1716         :ae=^O:\
1717         :al=\E[L:\
1718         :am:\
1719         :as=^N:\
1720         :bl=^G:\
1721         :bs:\
1722         :cb=\E[1K:\
1723         :cd=\E[J:\
1724         :ce=\E[K:\
1725         :cl=\E[H\E[J:\
1726         :cm=\E[%i%d;%dH:\
1727         :cr=^M:\
1728         :cs=\E[%i%d;%dr:\
1729         :ct=\E[3g:\
1730         :dc=\E[P:\
1731         :dl=\E[M:\
1732         :do=^J:\
1733         :eA=\E)0:\
1734         :ei=\E[4l:\
1735         :ho=\E[H:\
1736         :im=\E[4h:\
1737         :it#8:\
1738         :k1=\E[17~:\
1739         :k2=\E[18~:\
1740         :k3=\E[19~:\
1741         :k4=\E[20~:\
1742         :k5=\E[21~:\
1743         :k6=\E[23~:\
1744         :k7=\E[24~:\
1745         :k8=\E[25~:\
1746         :kD=\E[3~:\
1747         :kH=\E[4~:\
1748         :kI=\E[2~:\
1749         :kN=\E[6~:\
1750         :kP=\E[5~:\
1751         :kb=\177:\
1752         :kd=\EOB:\
1753         :ke=\E[?1l\E>:\
1754         :kh=\E[1~:\
1755         :kl=\EOD:\
1756         :km:\
1757         :kr=\EOC:\
1758         :ks=\E[?1h\E=:\
1759         :ku=\EOA:\
1760         :le=^H:\
1761         :mb=\E[5m:\
1762         :md=\E[1m:\
1763         :me=\E[m:\
1764         :mi:\
1765         :mr=\E[7m:\
1766         :ms:\
1767         :nd=\E[C:\
1768         :pb#16000000:\
1769         :pt:\
1770         :rc=\E8:\
1771         :rf=/usr/share/tabset/vt100:\
1772         :rs=\Ec\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
1773         :sc=\E7:\
1774         :se=\E[27m:\
1775         :sf=\ED:\
1776         :so=\E[7m:\
1777         :sr=\EM:\
1778         :st=\EH:\
1779         :ue=\E[24m:\
1780         :up=\E[A:\
1781         :us=\E[4m:\
1782         :vt#3:\
1783         :xn:
1784
1785\f# --------------------------------
1786 #
1787 # T: TELETYPE
1788 #
1789 # We need descriptions for the model 40.  There are known to be at least three
1790 # flavors of the 40, both seem more like IBM half duplex forms fillers than
1791 # ASCII terminals.  They have lots of awful braindamage, such as printing
1792 # a visible newline indicator after each newline.  The 40-1 is a half duplex
1793 # terminal and is hopeless.  The 40-2 is braindamaged but has hope and is
1794 # described here.  The 40-4 is a 3270 lookalike and beyond hope.
1795 # The terminal has visible bell but I don't know it - it's
1796 # null here to prevent it from showing the BL character.
1797 # There is an \EG in nl because of a bug in vi (if stty says you have
1798 # a "newline" style terminal (-crmode) vi figures all it needs is nl
1799 # to get crlf, even if cr is not ^M.)
1800 40|tty40|ds40|ds40/2|ds40-2|dataspeed40|teletype dataspeed 40/2:\
1801         :cl=160\ER:cd=160\EJ:al=160\EL:dl=160\EM:dc=50\EP:ic=50\E\^:\
1802         :nd=\EC:up=\E7:bs:cr=\EG:nl=\EG\EB:do=\EB:co#80:li#24:vb=:\
1803         :so=\E3:se=\E4:
1804 33|tty33|tty|model 33 teletype:\
1805         :do=^J:co#72:hc:os:
1806 43|tty43|model 43 teletype:\
1807         :do=^J:kb=^h:am:le=^H:bs:hc:os:co#132:
1808 37|tty37|model 37 teletype:\
1809         :do=^J:le=^H:bs:hc:hu=\E8:hd=\E9:up=\E7:os:
1810 # From jwb Wed Mar 31 13:25:09 1982 remote from ihuxp
1811 # This entry appears to avoid the top line - I have no idea why.
1812 4424|tty4424|teletype 4424M:\
1813         :al=\EL:da:db:ip=2:ic=\E\^:dc=\EP:dl=\EM:\
1814         :co#80:li#23:am:cl=\E[2;H\E[J:bs:cm=\E[%i%2;%2H\E[B:\
1815         :nd=\E[C:up=\E[A:pt:mi:sr=\ET:\
1816         :ce=\E[K:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:\
1817         :is=\E[m\E[2;24r:\
1818         :kd=\E[B:kl=\E[D:ku=\E[A:kr=\E[C:\
1819         :kh=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:
1820 # Teletype blit.
1821 dmd|5620|ttydmd|tty5620|5620    terminal 88 columns:\
1822         :co#88:li#70:am:bs:pt:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\
1823         :cl=\E[H\E[J:cd=\E[J:ce=\E[K:al=\E[L:dl=\E[M:do=^J:\
1824         :ic=\E[@:dc=\E[P:sr=\E[T:sf=\E[S:le=^H:kb=^H:\
1825         :kl=\E[D:kr=\E[C:ku=\E[A:kd=\E[B:kh=\E[H:ho=\E[H:ll=\E[70;1H:\
1826         :AL=\E[%dL:DL=\E[%dM:IC=\E[%d@:DC=\E[%dP:rc=\E8:rs=\Ec:sc=\E7:\
1827         :so=\E[7m:se=\E[0m:us=\E[4m:ue=\E[0m:ms:me=\E[0m:mr=\E[7m:
1828\f# --------------------------------
1829 #
1830 # V: VISUAL
1831 #
1832 # The Visual 200 beeps when you type a character in insert mode.
1833 # This is a horribly obnoxious misfeature, and some of the entries
1834 # below try to get around the problem by ignoring the feature or
1835 # turning it off when inputting a character.  They are said not to
1836 # work well at 300 baud.  (You could always cut the wire to the bell!)
1837 # From mike@brl-vgr Mon Nov 14 08:34:29 1983
1838 vi200|vis200|visual 200 with function keys:\
1839         :so=\E4:se=\E3:ms:do=^J:\
1840         :al=\EL:am:le=^H:bs:cd=\Ey:ce=\Ex:cl=\Ev:\
1841         :cm=\EY%+ %+ :co#80:dc=\EO:dl=\EM:ho=\EH:\
1842         :ic=\Ei \b\Ej:\
1843         :is=\E3\Eb\Ej\E\\\El\EG\Ec\Ek:\
1844         :k0=\EP:k1=\EQ:k2=\ER:k3=\E :k4=\E!:k5=\E":k6=\E#:\
1845         :k7=\E$:k8=\E%:k9=\E&:kl=\ED:kr=\EC:ku=\EA:kd=\EB:kh=\EH:\
1846         :li#24:nd=\EC:pt:sr=\EI:up=\EA:vs=\Ed:ve=\Ec:
1847 vi200-rv-ic|visual 200 reverse video using insert char:\
1848         :ei=\Ej:im=\Ei:ic@:tc=vi200-rv:
1849 # The older Visuals didn't come with function keys. This entry uses
1850 # ks and ke so that the keypad keys can be used as function keys.
1851 # If your version of vi doesn't support function keys you may want
1852 # to use V2.
1853 vi200-f|visual|visual 200 no function keys:\
1854         :do=^J:al=\EL:am:le=^H:bs:cd=\Ey:ce=4*\Ex:cl=\Ev:\
1855         :cm=\EY%+ %+ :co#80:dc=4*\EO:dl=4*\EM:ho=\EH:\
1856         :ic=\Ei \b\Ej:\
1857         :is=\E3\Eb\Ej\E\\\El\EG\Ed\Ek:ks=\E=:ke=\E>:\
1858         :k0=\E?p:k1=\E?q:k2=\E?r:k3=\E?s:k4=\E?t:k5=\E?u:k6=\E?v:\
1859         :k7=\E?w:k8=\E?x:k9=\E?y:kl=\ED:kr=\EC:ku=\EA:kd=\EB:kh=\EH:\
1860         :li#24:nd=\EC:pt:sr=\EI:up=\EA:vs=\Ed:ve=\Ec:
1861 vi200-rv|visual 200 reverse video:\
1862         :so=\E4:se=\E3:sr@:vs@:ve@:tc=vi200:
1863 vi200-ic|visual 200 using insert char:\
1864         :ei=\Ej:im=\Ei:ic@:tc=vi200:
1865 # From: jbs@athena.mit.edu      Jeff Siegal
1866 vi55|Visual 55:\
1867         :im=\Ea:ei=\Eb:mi:dc=\Ew:al=\EL:dl=\EM:cs=\E_%+A%+A:\
1868         :ho=\EH:cl=\Ev:is=\Ev\E_AX\Eb\EW\E9P\ET:so=\EU:se=\ET:ms:\
1869         :do=^J:le=^H:bs:cd=\EJ:ce=\EK:cm=\EY%+ %+ :co#80:li#24:\
1870         :nd=\EC:pt:am:sr=\EI:up=\EA:ku=\EA:kd=\EB:kr=\EC:kl=\ED:kb=^H:
1871\f# --------------------------------
1872 #
1873 # X: TEKTRONIX
1874 #
1875 tek|tek4012|4012|tektronix 4012:\
1876         :do=^J:is=\E^O:le=^H:bs:cl=1000\E^L:co#75:ns:li#35:os:
1877 tek4013|4013|tektronix 4013:\
1878         :as=\E^N:ae=\E^O:dF#1000:tc=4012:
1879 tek4014|4014|tektronix 4014:\
1880         :is=\E^O\E9:co#81:li#38:dF#1000:tc=tek4012:
1881 tek4015|4015|tektronix 4015:\
1882         :as=\E^N:ae=\E^O:tc=4014:
1883 tek4014-sm|4014-sm|tektronix 4014 in small font:\
1884         :is=\E^O\E\072:co#121:li#58:tc=tek4014:
1885 tek4015-sm|4015-sm|tektronix 4015 in small font:\
1886         :as=\E^N:ae=\E^O:tc=4014-sm:
1887 # I think the 1000UP is supposed to be so expensive it never happens.
1888 tek4023|4023|tex|tektronix 4023:\
1889         :do=^J:so=^_P:se=^_@:cm=\034%r%+ %+ :nd=\t:le=^H:\
1890         :bs:cl=4\E^L:co#80:li#24:am:up=1000UP:vt#4:
1891 # Can't use cursor motion because it's memory relative, and because
1892 # it only works in the workspace, not the monitor.  Same for home.
1893 # Likewise, standout only works in the workspace.
1894 # 145 ms padding on al and AL taken out since it doesn't seem to be needed much.
1895 4025|4027|4024|tek4025|tek4027|tek4024|4025cu|4027cu|tektronix 4024/4025/4027:\
1896         :sf=^F^J:do=^F^J:is=\41com 31\r\n^_sto 9 17 25 33 41 49 57 65 73\r:\
1897         :ks=^_lea p4 /h/\r^_lea p8 /k/\r^_lea p6 / /\r^_lea p2 /j/\r^_lea f5 /H/\r^_lea p5 /H/\r:\
1898         :ke=^_lea p2\r^_lea p4\r^_lea p6\r^_lea p8\r^_lea p5\r^_lea f5\r:\
1899         :am:le=^H:bs:da:db:pt:li#34:co#80:cl=^_era\r\n\n:up=^K:nd=^_rig\r:\
1900         :al=^_up\r^_ili\r:dl=^_dli\r^F:\
1901         :dc=^_dch\r:im=^_ich\r:ei=^F^_dow\r^K:nl=^F\n:\
1902         :cd=^_dli 50\r:CC=^_:AL=^_up\r^_ili %d\r:DL=^_dli %d\r^F:\
1903         :UP=^_up %d\r:DO=^_dow %d\r:LE=^_lef %d\r:RI=^_rig %d\r:
1904 # Tektronix 4025A from gwyn@brl-smoke.ARPA (Doug Gwyn )
1905 # The following status modes are assumed for normal operation (replace the
1906 # initial "!" by whatever the current command character is):
1907 #       !COM 29                 # NOTE: changes command character to GS (^])
1908 #       ^]DUP
1909 #       ^]ECH R
1910 #       ^]EOL
1911 #       ^]RSS T
1912 #       ^]SNO N
1913 #       ^]STO 9 17 25 33 41 49 57 65 73
1914 # Other modes may be set according to communication requirements.
1915 # If the command character is inadvertently changed, termcap can't restore it.
1916 # Insert-character cannot be made to work on both top and bottom rows.
1917 # Clear-to-end-of-display emulation via !DLI 988 is too groady to use, alas.
1918 # There also seems to be a problem with vertical motion, perhaps involving
1919 # delete/insert-line, following a typed carriage return.  This terminal sucks.
1920 # Delays not specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
1921 tek4025a|4025a|Tektronix 4025A:\
1922         :al=^K^]ili;:am:bl=^G:bt=^]bac;:bw:CC=^]:cl=^]era;^J^]rup;:co#80:\
1923         :cr=^M:ct=^]sto;:da:db:DC=^]dch %d;:dc=^]dch;:DL=^]dli %d;:dl=^]dli;:\
1924         :DO=^]dow %d;:do=^J:it#8:LE=^]lef %d;:le=^H:li#34:nd=^]rig;:\
1925         :RI=^]rig %d;:\
1926         :rs=!com 29^]del 0^]rss t^]buf^]buf n^]cle^]dis^]dup^]ech r^]eol\
1927 ^]era g^]for n^]pad 203^]pad 209^]sno n^]sto 9 17 25 33 41 49 57 65 73\
1928 ^]wor 0;:\
1929         :SF=^]dow %d;:sf=^J:ta=^I:UP=^]up %d;:up=^K:xo:\
1930         :ce=^]dch 80;:ch=\r^]rig %d;:\
1931         :bs:pt:xx:
1932 4025-17|4027-17|tek 4025 17 line window:\
1933         :li#17:tc=4025:
1934 4025-17ws|4027-17ws|tek 4025 17 line window in workspace:\
1935         :is=\41com 31\r\n^_sto 9,17,25,33,41,49,57,65,73\r^_wor 17\r^_mon 17\r:\
1936         :ti=^_wor h\r:te=^_mon h\r:so=^_att e\r:se=^_att s\r:tc=4025-17:
1937 4025ex|4027ex|tek 4025 w/!:\
1938         :ti=\41com 31\r:te=^_com 33\r:\
1939         :is=^_com 33\r\n\41sto 9,17,25,33,41,49,57,65,73\r:tc=4025:
1940 # From jcoker@ucbic
1941 tek4107|tek4207|4107|4207|Tektronix 4107 graphics terminal with memory:\
1942         :am:bs:mi:ms:ul:xn:xt:\
1943         :co#79:it#8:li#29:\
1944         :bl=^G:cd=\EJ:ce=\EK:cl=\ELZ:cm=\EY%+ %+ :cr=^M:do=^J:kb=^H:\
1945         :kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:mb=\E%!1\E[5m\E%!0:\
1946         :md=\E%!1\E[1m\E%!0:me=\E%!1\E[m\E%!0:\
1947         :mh=\E%!1\E[<0m\E%!0:mr=\E%!1\E[7m\E%!0:nd=\EC:\
1948         :se=\E%!1\E[m\E%!0:sf=^J:so=\E%!1\E[7;5m\E%!0:sr=\EI:\
1949         :ta=^I:ue=\E%!1\E[m\E%!0:up=\EA:us=\E%!1\E[4m\E%!0:\
1950         :ve=\E%!0:vs=\E%!3:
1951 #  Tektronix 4107 with sysline
1952 4107-s|tek4107-s|Tektronix 4107 with sysline but no memory:\
1953         :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:\
1954         :es:hs:i2=\E7\E[?6l\E[2K\E[?6h\E8:ts=\E7\E[?6l\E[2K\E[;%i%df:\
1955         :fs=\E[?6h\E8:ds=\E7\E[?6l\E[2K\E[?6h\E8:tc=4107:
1956 # From cbosg!teklabs!davem Wed Sep 16 21:11:41 1981
1957 # Here's the command file that I use to get rogue to work on the 4025.
1958 # It should work with any program using the old curses (e.g. it better
1959 # not try to scroll, or cursor addressing won't work.  Also, you can't
1960 # see the cursor.)
1961 # (This "learns" the arrow keys for rogue. I have adapted it for termcap - mrh)
1962 4025-cr|tek 4025 for curses and rogue:\
1963         :is=\41com 31\r\n^_sto 9 17 25 33 41 49 57 65 73\r:\
1964         :am:le=^H:bs:pt:li#33:co#80:cm=^_jum%i%d,%d;:up=^K:\
1965         :do=^F^J:cl=^_era;:nd=^_rig;:nl=^F\n:ti=^_wor 33h:te=^_wor 0:
1966 # next two lines commented out since curses only allows 128 chars, sigh.
1967 #       :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:\
1968 #       :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:
1969 # The 4110 series may be a wonderful graphics series, but they make the 4025
1970 # look good for screen editing.  In the dialog area, you can't move the cursor
1971 # off the bottom line.  Out of the dialog area, ^K moves it up, but there
1972 # is no way to scroll.
1973 4112|4114|tek4112|tektronix 4110 series:\
1974         :is=\E3!1:li#34:co#80:am:al=\E[L:bs:bt=\E[Z:\
1975         :cd=\E[0J:ce=\E[0K:cl=\E[2J\E[0;0H:cm=\E[%i%d;%dH:\
1976         :db:dc=\E[P:dl=\E[M:ic=\E[@:nd=\E[C:se=\E[m:\
1977         :so=\E[7m:ue=\E[m:up=\EM:us=\E[4m:vs=:ve=:\
1978         :sr=\E7\E[0;0H\E[L\E8:sf=\E7\E[0;0H\E[M\E8:
1979 4112-nd|4112 not in dialog area:up=^K:ns:tc=4112:
1980 4112-5|4112 in 5 line dialog area:li#5:tc=4112:
1981 4113|tek4113|tektronix 4113 color graphics, 5 line dialog area:\
1982         :le=^H:do=^J:eo:da:bs:am:li#5:co#80:is=\EKA1\ELL5\ELV0\ELV1:\
1983         :vb=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0:\
1984         :cl=\ELZ:uc=^H\ELM1_\ELM0:nd=\LM1 \LM0:\
1985         :.as=\E^N:.ae=\E^O:
1986 4113-34|tek4113-34|tektronix 4113 color graphics, 34 line dialog area:\
1987         :is=\EKA1\ELLB2\ELV0\ELV1:li#34:tc=tek4113:
1988 # ns hidden from vi to allow visual mode. APL font (as, ae) not supported here.
1989 # uc is slow, but looks nice. Suggest setenv MORE -up . vb needs enough delay
1990 # to let you see the background color being toggled.
1991 4113-nd|tek4113-nd|tektronix 4113 color graphics, no dialog area:\
1992         :le=^H:do=^J:nd=\t:up=^K:ll=\ELF hl @:ho=\ELF7l\177 @:\
1993         :eo:bs:am:li#34:co#80:is=\ELZ\EKA0\ELF7l\177 @:vs=\ELZ\EKA0:\
1994         :vb=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0:\
1995         :cl=\E\f:uc=^H\EMG1_\EMG0:so=\EMT2:se=\EMT1:\
1996         :.ns:.as=\E^N:.ae=\E^O:
1997 4105|tek4105:\
1998         :am:bs:mi:ms:ul:xn:xt:\
1999         :co#79:it#8:li#29:\
2000         :ac=:ae=\E[m:al=\E[1L:as=\E[1m:bl=^G:bt=\E[Z:cd=\E[J:\
2001         :ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%2;%2H:cr=^M:ct=\E[1g:\
2002         :dc=\E[1P:dl=\E[1M:do=\E[1B:ei=\E[4l:ho=\E[H:i1=\E%!1\E[m:\
2003         :im=\E[4h:is=\E%!1\E[?6141\E[m:kb=^H:kd=\E[1B:kl=\E[1D:\
2004         :kr=\E[1C:ku=\E[1A:le=\E[1D:mb=\E[=3;<7m:md=\E[=7;<4m:\
2005         :me=\E[=0;<1m:mh=\E[=1;<6m:mk=\E[=6;<5:mr=\E[=1;<3m:\
2006         :nd=\E[1C:se=\E[=0;<1m:sf=\E[S:so=\E[=2;<3m:sr=\E[T:ta=^I:\
2007         :te=:ti=\E%!1\E[?6l\E[2J:ue=\E[=0;<1m:up=\E[1A:\
2008         :us=\E[=5;<2m:
2009 # This entry is from Tek. Inc.  (Brian Biehl)
2010 4115|tek4115|Tektronix 4115:\
2011         :co#80:li#34:\
2012         :al=\E[L:am:bc=\E[D:bs:bt=\E[Z:cd=\E[J:ce=\E[K:\
2013         :cl=\E[;H\E[2J:cm=\E[%i%d;%dH:da:db:dc=\E[P:dl=\E[M:do=\E[B:\
2014         :ei=\E[4l:eo:ho=\E[;H:im=\E[4h:if=/usr/share/tabset/vt100:\
2015         :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:\
2016         :kb=^H:ke=\E>:ks=\E=:nd=\E[C:pt:se=\E[m:so=\E[7m:sr=\EM:\
2017         :te=\E%\0410\ELBG8\E%\0411\E[34;1H\E[J:\
2018         :ti=\E%\0410\ELBB2\E%\0411:\
2019         :ue=\E[m:up=\E[A:us=\E[4m:\
2020         :ve=\E%\0410\ELBG8\E%\0411\E[34;1H:\
2021         :vs=\E%\0410\ELBB2\E%\0411:
2022 # The tek4125 emulates a vt100 incorrectly - the scrolling region
2023 # command is ignored.  The following entry replaces :cs: with the needed
2024 # :AL:, :AL:, and :im:; removes some cursor pad commands that the tek4125
2025 # chokes on; and adds a lot of initialization for the tek dialog area.
2026 # Note that this entry uses all 34 lines and sets the cursor color to green.
2027 # Steve Jacobson 8/85
2028 # (tek4125: there were two "\!"s in the is that I replaced with "\E!";
2029 # commented out, :im:=\E1 because there's no :ei:  -- esr)
2030 tek4125|tektronix 4125:\
2031         :li#34:\
2032         :al=\E[1L:cs@:dl=\E[1M:\
2033         :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:\
2034         :ks=\E=:rc@:sc@:tc=vt100:
2035 # From carolyn@dali.berkeley.edu  Thu Oct 31 12:54:27 1985
2036 4404|tek4404:\
2037         :al=\E[1L:bs:cd=\E[J:ce=\E[K:cl=\E[;H\E[2J:cm=\E[%i%d;%dH:co#80:\
2038         :cs=\E[%i%d;%dr:dc=\E[P:dl=\E[1M:do=^J:ei=\E[4l:ho=\E[H:im=\E[4h:\
2039         :kd=\E[B:ke=\E[?1h:kl=\E[D:kr=\E[C:ks=\E[?1l:ku=\E[A:li#32::mb=\E[5m:\
2040         :md=\E[1m:me=\E[m:nd=\E[C:pt:rc=\E8:sc=\E7:se=\E[27m:so=\E[7m:\
2041         :ta=\E[2I:ti=\E%\!1\E[1;32r\E[?6l\E>:te=\E[1;1H\E[0J\E[?6h\E[?1l:\
2042         :ue=\E[m:up=\E[A:us=\E[4m:
2043\f# --------------------------------
2044 #
2045 # Z: Miscellaneous
2046 #
2047 # These compucolors appear similar, but they at least have different
2048 # sized screens.  I don't know what's going on here.
2049 8001|ISC8001|compucolor|intecolor:\
2050         :do=^J:al=\EU:am:le=^Z:bc=^Z:cl=3*^L:cm=^C%r%.%.:\
2051         :co#80:cd=\EQ:dm=\EQ:ed=\EF:dc=\177:dl=\EV:ei=\EF:\
2052         :im=\EQ:li#40:nd=1^Y:ta=8\t:up=^\:ho=1^H:pc=^@:
2053 compucolor2|compucolorII:\
2054         :do=^J:pt:am:cm=%r^C%.%.:le=^Z:bc=^Z:li#32:co#64:\
2055         :cl=^L:ho=^H:nd=^Y:up=^\:
2056 # From cithep!eric  Wed Sep 16 08:06:44 1981
2057 intext|Interactive Systems Corporation modified owl 1200:\
2058         :do=^J:al=5.5*\020:am:le=^_:bc=^_:le=^H:bs:bt=^Y:cd=5.5*\026J:\
2059         :ce=^K\160^R:cl=132\014:cm=\017%+ %+ :co#80:dc=5.5*\022:dl=5.5*\021:\
2060         :ei=\026\074:im=\026\073:ip=5.5*:li#24:nd=\036:pt:up=\034:\
2061         :se=^V# :sg#1:so=^V$,:ma=^K^P^R^L^L :\
2062         :kl=^_:kd=^J:kr=^^:ku=\034:kb=^H:kh=^Z:\
2063         :k1=^VA\r:k2=^VB\r:k3=^VC\r:k4=^VD\r:k5=^VE\r:\
2064         :k6=^VF\r:k7=^VG\r:k8=^VH\r:k9=^VI\r:k0=^VJ\r:
2065\f# --------------------------------
2066 #
2067 # a: ADDS
2068 #
2069 # Regent: lowest common denominator, works on all regents.
2070 regent|Adds Regent Series:li#24:co#80:am:cl=^L:ll=^A:up=^Z:\
2071         :bs:bc=^U:nd=^F:do=^J:ho=\EY  :
2072 # Regent 100 has a bug where if computer sends escape when user is holding
2073 # down shift key it gets confused, so we avoid escape.
2074 regent100|Adds Regent 100:k0=^B1^M:k1=^B2^M:k2=^B3^M:k3=^B4^M:\
2075         :k4=^B5^M:k5=^B6^M:k6=^B7^M:k7=^B8^M:\
2076         :l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:\
2077         :so=\E0P:ue=\E0@:us=\E0`:se=\E0@:\
2078         :cm=^K%+ %B^P%.:ug#1:sg#1:tc=regent:
2079 regent20|Adds Regent 20:cd=\Ek:ce=\EK:cm=\EY%+ %+ :tc=regent:
2080 regent25|Adds Regent 25:kh=^A:kl=^U:kr=^F:ku=^Z:kd=^J:tc=regent20:
2081 regent40|Adds Regent 40:k0=^B1^M:k1=^B2^M:k2=^B3^M:k3=^B4^M:\
2082         :k4=^B5^M:k5=^B6^M:k6=^B7^M:k7=^B8^M:\
2083         :l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:\
2084         :al=2*\EM:dl=2*\El:\
2085         :so=\E0P:ue=\E0@:us=\E0`:se=\E0@:ug#1:sg#1:tc=regent25:
2086 regent40+|Adds Regent 40+:is=\EB:tc=regent40:
2087 regent60|regent200|Adds Regent 60:se=\ER\E0@\EV:so=\ER\E0P\EV:dc=\EE:ei=\EF:\
2088         :im=\EF:is=\EV\EB:ko=dc,im,ei:tc=regent40+:
2089 regent60na|regent 60 w/no arrow keys:\
2090         :kl@:kr@:ku@:kd@:tc=regent60:
2091 #
2092 # adds viewpoint 90 - from cornell
2093 # Note:  emacs sends ei occasionally to insure the terminal is out of
2094 #        insert mode. This unfortunately puts the viewpoint90 IN insert
2095 #        mode.  A hack to get around this is:  ic=\EF \EF^U.  (Also,
2096 #   -    ei=:im=: must be present.)
2097 #   -    xs indicates glitch that attributes stick to location
2098 #   -    bs save to move in standout mode
2099 #   -    cl=\EG\Ek clears screen and visual attributes without affecting
2100 #               the status line
2101 vp90|viewpoint90|adds viewpoint 90:\
2102         :bs:bw:cd=\Ek:ce=\EK:cl=\EG\Ek:cm=\EY%+ %+ :co#80:\
2103         :dc=\EE:dl=\El:do=^J:ic=\EF \EF^U:ho=\EY  :\
2104         :nd=^F:up=^Z:\
2105         :kb=^H:kd=^J:kh=^A:kl=^U:kr=^F:ku=^Z:li#24:ll=^A:\
2106         :so=\ER\E0Q\EV:se=\ER\E0@\EV:\
2107         :us=\ER\E0`\EV:ue=\ER\E0@\EV:\
2108         :xs:ms:
2109 # Note: if return acts weird on a980, check internal switch #2
2110 # on the top chip on the CONTROL pc board.
2111 a980|adds consul 980:\
2112         :do=^J:al=13\E^N:am:le=^H:bs:cl=^L\200^K@:cm=^K%+@\E^E%2:co#80:\
2113         :dl=13\E^O:k0=\E0:k1=\E1:k2=\E2:k3=\E3:k4=\E4:k5=\E5:k6=\E6:k7=\E7:\
2114         :k8=\E8:k9=\E9:li#24:nd=\E^E01:so=^Y^^^N:se=^O:up=9:
2115 viewpt60|viewpoint60|addsviewpoint60|adds viewpoint60:\
2116         :tc=regent40:
2117 # From Onyx:edward  Thu Jul  9 09:27:33 1981
2118 viewpoint|addsviewpoint|adds viewpoint:\
2119         :do=^J:am:le=^H:bs:li#24:co#80:cm=\EY%+ %+ :cd=\Ek:ce=\EK:\
2120         :up=^Z:cl=^L:ll=^A:kl=^U:kd=^J:ku=^Z:kh=^A:\
2121         :so=^N:se=^O:us=^N:ue=^O:is=^O\E0`:vs=^O\E0P:ve=^O\E0`:
2122\f# --------------------------------
2123 #
2124 # b: BEEHIVE
2125 #
2126 # Reports are that most of these Beehive entries (except superbee) have not been
2127 # tested and do not work right.  se is a trouble spot.  Be warned.
2128 sb2|sb3|fixed superbee:\
2129         :xb@:tc=superbee:
2130 # set tab is ^F, clear (one) tab is ^V, no way to clear all tabs.
2131 # good grief - does this entry make sg/ug when it doesn't have to?
2132 # look at those spaces in se/so.  Seems strange to me...
2133 bh3m|beehiveIIIm:\
2134         :if=/usr/share/tabset/beehive:do=^J:\
2135         :al=160^S:am:le=^H:bs:cd=^R:ce=^P:cl=^E^R:\
2136         :co#80:dl=350^Q:ho=^E:li#20:ll=^E^K:\
2137         :nd=^L:pt:se= ^_:so=^] :up=^K:
2138 # This loses on lines > 80 chars long, use at your own risk
2139 superbeeic|super bee with insert char:\
2140         :im=\EQ:ei=\ER:tc=superbee:
2141 microb|microbee|micro bee series:\
2142         :do=^J:am:le=^H:bs:cd=\EJ:ce=\EK:cl=\EE:co#80:cm=\EF%+ %+ :\
2143         :k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:k9=\Ex:\
2144         :kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:\
2145         :li#24:nd=\EC:pt:se=\Ed@ :so= \EdP:ue=\Ed@:up=\EA:us=\Ed`:
2146 # Superbee - f1=escape, f2=^C.
2147 # Note: there are at least 3 kinds of superbees in the world.  The sb1
2148 # holds onto escapes and botches ^C's.  The sb2 is the best of the 3.
2149 # The sb3 puts garbage on the bottom of the screen when you scroll with
2150 # the switch in the back set to CRLF instead of AEP.  This description
2151 # is tested on the sb2 but should work on all with either switch setting.
2152 # The f1/f2 business is for the sb1 and the :xb: can be taken out for
2153 # the other two if you want to try to hit that tiny escape key.
2154 # This description is tricky: being able to use cm depends on there being
2155 # 2048 bytes of memory and the hairy nl string.
2156 sb1|superbee|superb|beehive super bee:\
2157         :ct=\E3:st=\E1:is=\EH\EJ:do=^J:\
2158         :sf=\n\200\200\200\n\200\200\200\EA\EK\200\200\200\ET\ET:\
2159         :am:le=^H:bs:cd=3\EJ:ce=3\EK:cl=3\EH\EJ:co#80:cm=\EF%r%3%3:cr=1000\r:\
2160         :dC#10:da:db:xb:dc=3\EP:dl=100\EM:so=\E_1:se=\E_3:\
2161         :li#25:nl=\n\200\200\200\n\200\200\200\EA\EK\200\200\200\ET\ET:\
2162         :nd=\EC:pt:up=\EA:ho=\EH:ve=\n:\
2163         :k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:\
2164         :kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:
2165 # 8675, 8686, and bee from Cyrus Rahman
2166 8675|harris 8675:\
2167         :k1=^F:k2=^P:k3=^N:k4=^V:k5=^J:k6=^T:k7=^H:k8=\177:k9=\Ee:k10=\Ed:\
2168         :k11=^W:k12=\ER:k13=\EE:k14=\EI:k15=\Ei:k16=\Eg:\
2169         :is=\ES\E#\E*\Eh\Em\E?\E1\E9\E@\EX\EU:\
2170         :tc=bee:
2171 8686|harris 8686:\
2172         :k1=^B^[p^C:k2=^B^[q^C:k3=^B^[r^C:k4=^B^[s^C:k5=\E3:\
2173         :k6=\EI:k7=\ER:k8=\EJ:k9=\E(:k10=\Ej:k11=\EW:\
2174         :k12=^B^[{^C:k13=^B^[|^C:k14=^B^[}^C:k15=^B^[~^C:k16=^B^[\177^C:\
2175         :is=\ES\E#\E*\Eh\Em\E?\E1\E9\E@\EX\EU\E"*Z01\
2176         \E"8F35021B7C83#\E"8F45021B7D83#\E"8F55021B7E83#\E"8F65021B7F83#\
2177         \E"8F75021B7383#\E"8F851BD7#\E"8F95021B7083#\E"8FA5021B7183#\
2178         \E"8FB5021B7283#:\
2179         :tc=bee:
2180 bee|harris beehive:\
2181         :co#80:li#24:am:bs:cd=\EJ:ce=\EK:cl=\EE:nd=\EC:\
2182         :cm=\EF%+ %+ :up=\EA:do=\EB:ho=\EH:bt=\E>:\
2183         :al=\EL:dc=\EP:dl=\EM:ei=\E@:im=\EQ:mi:\
2184         :kl=\ED:kr=\EC:ku=\EA:kd=\EB:kh=\EH:kb=^H:\
2185         :us=\Ed`:ue=\Ed@:so=\EdP:se=\Ed@:\
2186         :ko=al,bt,ce,cl,dc,dl,ei,ho,ic,im:
2187\f# --------------------------------
2188 #
2189 # c: CONCEPT (HUMAN DESIGNED SYSTEMS)
2190 #
2191 # From vax135!hpk  Sat Jun 27 07:41:20 1981
2192 # Extensive changes to c108 by arpavax:eric Feb 1982
2193 #
2194 # There seem to be a number of different versions of the C108 PROMS
2195 # (with bug fixes in its Z-80 program).
2196 # The first one that we had would lock out the keyboard of you
2197 # sent lots of short lines (like /usr/dict/words) at 9600 baud.
2198 # Try that on your C108 and see if it sends a ^S when you type it.
2199 # If so, you have an old version of the PROMs.
2200 # The old one also messed up running vi with a 132-character line-length.
2201 # You should configure the C108 to send ^S/^Q before running this.
2202 # It is much faster (at 9600 baud) than the c100 because the delays
2203 # are not fixed.
2204 # new status line display entries for c108:
2205 # hs - has status capability
2206 # es - escape sequences are OK on status line
2207 # i2 - second init str - setup term for status display - set programmer mode,
2208 #       select window 2, define window at last line of memory,
2209 #       set bkgnd stat mesg there, select window 0.
2210 # ts - to status line - select window 2, home cursor, erase to end-of-window,
2211 #       1/2 bright on, goto(line#0, col#?)
2212 # fs - from status line - 1/2 bright off, select window 0
2213 # ds - disable status display - set bkgnd status mesg with illegal window #
2214 #
2215 # the following two entries are for emacs -- they are just like the regular
2216 # entries except that they have buffer overflow control OFF
2217 e108-8p:\
2218         :i2=\EU\E z"\Ev^A\177 !p\E ;"\E z \Ev  ^A\177p\Ep\n:\
2219         :te=\Ev  ^A\177p\Ep\r\n:tc=e108-4p:
2220 e108-4p:\
2221         :is=\EU\E f\Ef\E7\E5\E8\El\ENH\EK\E\200\Eo&\200\Eo\47\E\E!\E^G!\E^HA@ :\
2222         :tc=c108-4p:
2223 c108|c108-8p|concept108-8p|concept 108 w/8 pages:\
2224         :i2=\EU\E z"\Ev^A\177 !p\E ;"\E z \Ev  ^A\177p\Ep\n:\
2225         :te=\Ev  ^A\177p\Ep\r\n:tc=c108-4p:
2226 c108-4p|concept108-4p|concept 108 w/4 pages:\
2227         :es:hs:ts=\E z"\E?\E^C\Ea %+ :fs=\E z :ds=\E ;\177:\
2228         :i2=\EU\E z"\Ev\177 !p\E ;"\E z \Ev  \177p\Ep\n:do=^J:pt:\
2229         :is=\EU\E F\Ef\E7\E5\E8\El\ENH\EK\E\200\Eo&\200\Eo\47\E\E!\E^G!\E^HA@ :\
2230         :ti=\EU\Ev  8p\Ep\r:te=\Ev  \177p\Ep\r\n:\
2231         :al=\E^R:le=^H:bs:cd=\E^C:ce=\E^S:cl=\E?\E^E:cm=\Ea%+ %+ :co#80:\
2232         :dc=\E^Q:dl=\E^B:ei=\E\200:eo:im=\E^P:li#24:mi:nd=\E=:\
2233         :kb=^h:up=\E;:db:us=\EG:ue=\Eg:vs=\EW:ve=\Ew:am:xn:\
2234         :vb=\Ek\200\200\200\200\200\200\200\200\200\200\200\200\200\200\EK:\
2235         :ks=\EX:ke=\Ex:ku=\E;:kd=\E<:kl=\E>:kr=\E=:kh=\E?:\
2236         :k1=\E5:k2=\E6:k3=\E7:k4=\E8:k5=\E9:k6=\E\72:\
2237         :so=\ED:se=\Ed:mh=\EE:md=\ED:mr=\ED:me=\Ee\Ed\Eg\Ec:
2238 c108-rv-8p|concept108-rv-8p|concept 108 w/8 pages, in reverse video:\
2239         :vb=\EK\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Ek:\
2240         :is=\EU\E F\Ef\E7\E5\E8\El\ENH\Ek\E\200\Eo&\200\Eo\47\E\E!\E^G!\E^HA@ :\
2241         :ts=\E z"\E?\E^C\EE\Ea %+ :fs=\Ee\E z :tc=c108-8p:
2242 c108-rv-4p|concept108-rv-4p|concept 108 w/4 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-4p:
2246 c108-na|c108-na-8p|concept108-na-8p|concept 108 w/8 pages, no arrows:\
2247         :ks@:ke@:k7=\E;:k8=\E<:k9=\E=:tc=c108-8p:
2248 c108-rv-na|c108-rv-na-8p|concept 108 w/8 pages, no arrows in rev video:\
2249         :ts=\E z"\E?\E^C\EE\Ea %+ :fs=\Ee\E z :\
2250         :ks@:ke@:k7=\E;:k8=\E<:k9=\E=:tc=c108-rv-8p:
2251 # this needs new frotz in the cm capability for 2-char addrs when > 95....
2252 c108-w|c108-w-8p|concept108-w-8p|concept 108 w/8 pages in wide mode:\
2253         :is=\EU\E F\Ef\E7\E5\E8\El\ENH\EK\E\200\Eo&\200\Eo\47\E\E"\E^G!\E^HA@ :\
2254         :ti=\EU\Ev  8^AD\Ep\r:te=\Ev  ^A0^AD\Ep\r\n:pt@:cm@:\
2255         :co#132:tc=c108-8p:
2256 avt-w|avtw|HDS concept avt w/4 or 8 pages; 132 columns:\
2257         :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:\
2258         :ch=\E[%i%3G:cm=\E[%i%2;%3H:co#132:tc=avt:
2259 avt-8p-s|concept avt w/8 pages & 80 cols running sysline:\
2260         :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:\
2261         :hs:es:ts=\E[2!w\E[H\E[J\E[%i%dG:fs=\E[!w:\
2262         :ds=\E[2!w\E[2J\E[!w\E[*w:te=\E[1;191w\E2\n:tc=avt:
2263 avt-4p-s|concept avt w/4 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[96w\E[2*w\E[!w\E[1;95w\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;95w\E2\n:tc=avt:
2267 avt-rv|HDS concept avt w/4 or 8 pages, 80 columns, reverse video:\
2268         :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:\
2269         :ve=\E[4l:vs=\E[4l:tc=avt:
2270 avt|HDS concept avt w/4 or 8 pages, 80 columns:\
2271         :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:\
2272         :ae=^O:al=\E[L:am:as=^N:bs:bt=\E[Z:cd=\E[J:ce=\E[K:\
2273         :ch=\E[%i%2G:cl=\E[H\E[J:cm=\E[%i%2;%2H:co#80:cv=\E[%i%2d:\
2274         :dc=\E[P:dl=\E[M:do=\E[B:ei=\E1:eo:ho=\E[H:im=\E1:kb=^H:kd=\E[B:\
2275         :kh=\E[H:kl=\E[D:ko=do,ho,nd,up:kr=\E[C:\
2276         :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:\
2277         :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:\
2278         :ku=\E[A:li#24:mi:nd=\E[C:pt:se=\E[7!{:so=\E[7m:\
2279         :te=\E[w\E2\n:ti=\E[1;24w\E2\n:ue=\E[4!{:\
2280         :up=\E[A:us=\E[4m:ve=\E[=4;119l:vs=\E[4l\E[=119h:xn:
2281 #
2282 # Concepts have only window relative cursor addressing, not screen relative.
2283 # To get it to work right here, ti/te (which were invented for the concept)
2284 # lock you into a one page window for screen style programs.  To get out of
2285 # the one page window, we use a clever trick: we set the window size to zero
2286 # ("\Ev    " in te) which the terminal recognizes as an error and resets the
2287 # window to all of memory.
2288 #
2289 # Some tty drivers use cr3 for concept, others use nl3, hence dN/dC below.
2290 # This padding is only needed at 9600 baud.
2291 # 2 nulls padding on te isn't always enough.  6 works fine.  Maybe less
2292 # than 6 but more than 2 will work.
2293 c100|concept|c1004p|c100-4p|concept100|concept 100:\
2294         :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@ :\
2295         :ti=\EU\Ev  8p\Ep\r:te=\Ev    \200\200\200\200\200\200\Ep\r\n:\
2296         :al=3*\E^R:am:le=^H:bs:cd=16*\E^C:ce=16\E^U:cl=2*^L:cm=\Ea%+ %+ :co#80:\
2297         :dc=16\E^Q:dl=3*\E^B:ei=\E\200:eo:im=\E^P:ip=16*:li#24:mi:nd=\E=:\
2298         :pt:kb=^h:ta=8\t:up=\E;:db:us=\EG:ue=\Eg:xn:\
2299         :vb=\Ek\200\200\200\200\200\200\200\200\200\200\200\200\200\200\EK:\
2300         :.dN#9:dC#9:pb#9600:vt#8:us=\EG:ue=\Eg:so=\EE\ED:se=\Ed\Ee:\
2301         :mh=\EE:mr=\ED:mb=\EC:mp=\EI:mk=\EH:me=\EN\200:do=^J:\
2302         :ks=\EX:ke=\Ex:ku=\E;:kd=\E<:kl=\E>:kr=\E=:kh=\E?:k1=\E5:k2=\E6:k3=\E7:
2303 c100-rv-pp|c100-rv-4p-pp|concept100-rv-pp|c100rv4ppp|w/ printer port:\
2304         :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@ :\
2305         :tc=c100-rv:
2306 c100-rv-na|c100-rv-4p-na|concept100-rv-na|c100rv4pna|c100 with no arrows:\
2307         :ks@:ke@:tc=c100-rv:
2308 c100-rv|c100-rv-4p|concept100-rv|c100rv4p|c100rv|c100 rev video:\
2309         :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@ :\
2310         :vb=\EK\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Ek:\
2311         :so=\EE:se=\Ee:tc=c100:
2312 # This is useful at 1200 baud.
2313 c100-s|concept-s|concept100-s|slow concept 100:\
2314         :vb=\Ek\200\EK:pt:dC@:dN@:tc=c100:
2315 c100-rv-s|concept-rv-s|concept100-rv-s|c100rvs|slow reverse concept 100:\
2316         :vb=\EK\200\Ek:pt:dC@:dN@:tc=c100-rv:
2317 # for syscons
2318 # common entry without semigraphics
2319 cons25w|ansiw|ansi80x25-raw:\
2320         :am:bs:NP:ms:pt:AX:eo:bw:ut:km:\
2321         :co#80:li#25:pa#64:Co#8:it#8:\
2322         :al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
2323         :dc=\E[P:dl=\E[M:do=\E[B:bt=\E[Z:ho=\E[H:ic=\E[@:cb=\E[1K:\
2324         :nd=\E[C:rs=\Ec:so=\E[7m:se=\E[27m:up=\E[A:cr=^M:ta=^I:\
2325         :AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:sc=\E7:rc=\E8:\
2326         :k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:\
2327         :k9=\E[U:k;=\E[V:F1=\E[W:F2=\E[X:K2=\E[E:nw=\E[E:ec=\E[%dX:\
2328         :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:\
2329         :kN=\E[G:kP=\E[I:@7=\E[F:kI=\E[L:kD=\177:kB=\E[Z:\
2330         :IC=\E[%d@:DC=\E[%dP:SF=\E[%dS:SR=\E[%dT:AL=\E[%dL:DL=\E[%dM:\
2331         :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:cv=\E[%i%dd:ch=\E[%i%d`:\
2332         :mb=\E[5m:md=\E[1m:mr=\E[7m:me=\E[m:bl=^G:\
2333         :ve=\E[=S:vi=\E[=1S:vs=\E[=2S:
2334 # CP437 FreeBSD console with ACS support
2335 cons25|ansis|ansi80x25:\
2336         :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:\
2337         :tc=cons25w:
2338 cons25-m|ansis-mono|ansi80x25-mono:\
2339         :pa@:Co@:AF@:AB@:AX@:op@:us=\E[4m:ue=\E[24m:tc=cons25:
2340 cons30|ansi80x30:\
2341         :li#30:tc=cons25:
2342 cons30-m|ansi80x30-mono:\
2343         :li#30:tc=cons25-m:
2344 cons43|ansi80x43:\
2345         :li#43:tc=cons25:
2346 cons43-m|ansi80x43-mono:\
2347         :li#43:tc=cons25-m:
2348 cons50|ansil|ansi80x50:\
2349         :li#50:tc=cons25:
2350 cons50-m|ansil-mono|ansi80x50-mono:\
2351         :li#50:tc=cons25-m:
2352 cons60|ansi80x60:\
2353         :li#60:tc=cons25:
2354 cons60-m|ansi80x60-mono:\
2355         :li#60:tc=cons25-m:
2356 # Syscons console with 132 characters (VESA modes)
2357 cons25-w|ansi132x25:\
2358         :co#132:tc=cons25:
2359 cons30-w|ansi132x30:\
2360         :co#132:tc=cons30:
2361 cons43-w|ansi132x43:\
2362         :co#132:tc=cons43:
2363 cons50-w|ansil-w|ansi132x50:\
2364         :co#132:tc=cons50:
2365 cons60-w|ansi132x60:\
2366         :co#132:tc=cons60:
2367 # KOI8-R/KOI8-U FreeBSD console with ACS support
2368 cons25r|cons25u|pc3r|ibmpc3r|cons25-koi8:\
2369         :ac=q\200x\201m\204v\211j\205t\206n\212u\207l\202w\210k\203y\230z\231f\234~\225a\220h\2210\215:\
2370         :tc=cons25w:
2371 cons25r-m|cons25u-m|pc3r-m|ibmpc3r-mono|cons25-koi8-mono:\
2372         :pa@:Co@:AF@:AB@:AX@:op@:us=\E[4m:ue=\E[24m:tc=cons25r:
2373 cons30r|cons30u|cons30-koi8:\
2374         :li#30:tc=cons25r:
2375 cons30r-m|cons30u-m|cons30-koi8-mono:\
2376         :li#30:tc=cons25r-m:
2377 cons43r|cons43u|cons43-koi8:\
2378         :li#43:tc=cons25r:
2379 cons43r-m|cons43u-m|cons43-koi8-mono:\
2380         :li#43:tc=cons25r-m:
2381 cons50r|cons50u|cons50-koi8:\
2382         :li#50:tc=cons25r:
2383 cons50r-m|cons50u-m|cons50-koi8-mono:\
2384         :li#50:tc=cons25r-m:
2385 cons60r|cons60u|cons60-koi8:\
2386         :li#60:tc=cons25r:
2387 cons60r-m|cons60u-m|cons60-koi8-mono:\
2388         :li#60:tc=cons25r-m:
2389 # Syscons console with 90 characters (VGA modes)
2390 # KOI8-R/KOI8-U FreeBSD console with ACS support.
2391 cons25r-v|cons25u-v|pc3r-v|ibmpc3r-vga|cons25-koi8-vga:\
2392         :co#90:tc=cons25r:
2393 cons25r-mv|cons25u-mv|pc3r-mv|ibmpc3r-monovga|cons25-koi8-monovga:\
2394         :co#90:tc=cons25r-m:
2395 cons30r-v|cons30u-v|cons30-koi8-vga:\
2396         :co#90:tc=cons30r:
2397 cons30r-mv|cons30u-mv|cons30-koi8-monovga:\
2398         :co#90:tc=cons30r-m:
2399 cons43r-v|cons43u-v|cons43-koi8-vga:\
2400         :co#90:tc=cons43r:
2401 cons43r-mv|cons43u-mv|cons43-koi8-monovga:\
2402         :co#90:tc=cons43r-m:
2403 cons50r-v|cons50u-v|cons50-koi8-vga:\
2404         :co#90:tc=cons50r:
2405 cons50r-mv|cons50u-mv|cons50-koi8-monovga:\
2406         :co#90:tc=cons50r-m:
2407 cons60r-v|cons60u-v|cons60-koi8-vga:\
2408         :co#90:tc=cons60r:
2409 cons60r-mv|cons60u-mv|cons60-koi8-monovga:\
2410         :co#90:tc=cons60r-m:
2411 # ISO 8859-2 FreeBSD console with ACS support
2412 cons25l2|cons25-iso8859-2:\
2413         :ac=f\260i\247:\
2414         :tc=cons25w:
2415 cons25l2-m|cons25-iso8859-2-mono:\
2416         :pa@:Co@:AF@:AB@:AX@:op@:us=\E[4m:ue=\E[24m:tc=cons25l2:
2417 cons30l2|cons30-iso8859-2:\
2418         :li#30:tc=cons25l2:
2419 cons30l2-m|cons30-iso8859-2-mono:\
2420         :li#30:tc=cons25l2-m:
2421 cons43l2|cons43-iso8859-2:\
2422         :li#43:tc=cons25l2:
2423 cons43l2-m|cons43-iso8859-2-mono:\
2424         :li#43:tc=cons25l2-m:
2425 cons50l2|cons50-iso8859-2:\
2426         :li#50:tc=cons25l2:
2427 cons50l2-m|cons50-iso8859-2-mono:\
2428         :li#50:tc=cons25l2-m:
2429 cons60l2|cons60-iso8859-2:\
2430         :li#60:tc=cons25l2:
2431 cons60l2-m|cons60-iso8859-2-mono:\
2432         :li#60:tc=cons25l2-m:
2433 # ISO 8859-1 FreeBSD console with ACS support
2434 cons25l1|cons25-iso8859-1:\
2435         :ac=f\260g\261}\243+\253,\273i\247:\
2436         :tc=cons25w:
2437 cons25l1-m|cons25-iso8859-1-mono:\
2438         :pa@:Co@:AF@:AB@:AX@:op@:us=\E[4m:ue=\E[24m:tc=cons25l1:
2439 cons30l1|cons30-iso8859-1:\
2440         :li#30:tc=cons25l1:
2441 cons30l1-m|cons30-iso8859-1-mono:\
2442         :li#30:tc=cons25l1-m:
2443 cons43l1|cons43-iso8859-1:\
2444         :li#43:tc=cons25l1:
2445 cons43l1-m|cons43-iso8859-1-mono:\
2446         :li#43:tc=cons25l1-m:
2447 cons50l1|cons50-iso8859-1:\
2448         :li#50:tc=cons25l1:
2449 cons50l1-m|cons50-iso8859-1-mono:\
2450         :li#50:tc=cons25l1-m:
2451 cons60l1|cons60-iso8859-1:\
2452         :li#60:tc=cons25l1:
2453 cons60l1-m|cons60-iso8859-1-mono:\
2454         :li#60:tc=cons25l1-m:
2455 # 132x25 ISO 8859-1 FreeBSD console
2456 cons25l1-w|cons25w-iso8859-1:\
2457         :co#132:tc=cons25l1:
2458 cons30l1-w|cons30w-iso8859-1:\
2459         :co#132:tc=cons30l1:
2460 cons43l1-w|cons43w-iso8859-1:\
2461         :co#132:tc=cons43l1:
2462 cons50l1-w|cons50w-iso8859-1:\
2463         :co#132:tc=cons50l1:
2464 cons60l1-w|cons60w-iso8859-1:\
2465         :co#132:tc=cons60l1:
2466 # ISO 8859-7 FreeBSD console with ACS support
2467 cons25l7|cons25-iso8859-7:\
2468         :ac=f\260g\261{\360}\243+\253,\273i\247:\
2469         :tc=cons25w:
2470 cons25l7-m|cons25-iso8859-7-mono:\
2471         :pa@:Co@:AF@:AB@:AX@:op@:us=\E[4m:ue=\E[24m:tc=cons25l7:
2472 cons30l7|cons30-iso8859-7:\
2473         :li#30:tc=cons25l7:
2474 cons30l7-m|cons30-iso8859-7-mono:\
2475         :li#30:tc=cons25l7-m:
2476 cons43l7|cons43-iso8859-7:\
2477         :li#43:tc=cons25l7:
2478 cons43l7-m|cons43-iso8859-7-mono:\
2479         :li#43:tc=cons25l7-m:
2480 cons50l7|cons50-iso8859-7:\
2481         :li#50:tc=cons25l7:
2482 cons50l7-m|cons50-iso8859-7-mono:\
2483         :li#50:tc=cons25l7-m:
2484 cons60l7|cons60-iso8859-7:\
2485         :li#60:tc=cons25l7:
2486 cons60l7-m|cons60-iso8859-7-mono:\
2487         :li#60:tc=cons25l7-m:
2488 #
2489 dosansi|ANSI.SYS standard crt:\
2490         :am:bs:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:co#80:\
2491         :do=\E[B:li#25:mi:nd=\E[C:\
2492         :se=\E[m:so=\E[7m:up=\E[A:us=\E[4m:ue=\E[m:\
2493         :md=\E[1m:mr=\E[7m:mb=\E[5m:me=\E[m:\
2494         :kh=\EG:kb=^h:ku=\EH:kd=\EP:kl=\EK:kr=\EM:\
2495         :k1=\E;:k2=\E<:k3=\E=:k4=\E>:k5=\E?:\
2496         :k6=\E@:k7=\EA:k8=\EB:k9=\EC:k0=\ED:
2497\f# --------------------------------
2498 #
2499 # d: DEC (DIGITAL EQUIPMENT CORPORATION)
2500 #
2501 # Note that xn glitch in vt100 is not quite the same as concept, since
2502 # the cursor is left in a different position while in the weird state
2503 # (concept at beginning of next line, vt100 at end of this line) so
2504 # all versions of vi before 3.7 don't handle xn right on vt100.
2505 # I assume you have smooth scroll off or are at a slow enough baud
2506 # rate that it doesn't matter (1200? or less).  Also this assumes
2507 # that you set auto-nl to "on", if you set it off use vt100-nam below.
2508 #
2509 # Since there are two things here called vt100, the installer can make
2510 # a local decision to make either one standard "vt100" by including
2511 # it in the list of terminals in reorder, since the first vt100 in
2512 # /etc/termcap is the one that it will find.  The choice is between
2513 # nam (no automatic margins) and am (automatic margins), as determined
2514 # by the wrapline switch (group 3 #2).  I personally recommend turning
2515 # on the bit and using vt100-am, since having stuff hammer on the right
2516 # margin is sort of hard to read.  However, the xn glitch does not occur
2517 # if you turn the bit off.
2518 #
2519 # I am unsure about the padding requirements listed here.  I have heard
2520 # a claim that the vt100 needs no padding.  It's possible that it needs
2521 # padding only if the xon/xoff switch is off.  For UNIX, this switch
2522 # should probably be on.
2523 #
2524 # The vt100 uses rs and rf rather than is/ct/st because the tab settings
2525 # are in non-volatile memory and don't need to be reset upon login.
2526 # You can type "reset" to get them set.
2527 #
2528 # Full vt200 keys set added to k1-k4 to help various emulators.
2529 # Since no pgms asks for funkeys present, it isn't affect standard vt100
2530 #
2531 vt100|dec-vt100|vt100-am|vt100am|dec vt100:\
2532         :do=2\E[B:co#80:li#24:cl=50\E[H\E[J:sf=2*\ED:\
2533         :le=^H:bs:am:cm=5\E[%i%d;%dH:nd=2\E[C:up=2\E[A:\
2534         :ce=3\E[K:cd=50\E[J:so=2\E[7m:se=2\E[m:us=2\E[4m:ue=2\E[m:\
2535         :md=2\E[1m:mr=2\E[7m:mb=2\E[5m:me=2\E[m:\
2536         :is=\E>\E[?1;3;4;5l\E[?7;8h\E[1;24r\E[24;1H:\
2537         :if=/usr/share/tabset/vt100:nw=2\EE:ho=\E[H:\
2538         :as=2\E(0:ae=2\E(B:\
2539         :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||:\
2540         :rs=\E>\E[?1;3;4;5l\E[?7;8h:ks=\E[?1h\E=:ke=\E[?1l\E>:\
2541         :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=\177:\
2542         :k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOt:\
2543         :k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:@8=\EOM:\
2544         :K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:pt:sr=2*\EM:xn:\
2545         :sc=2\E7:rc=2\E8:cs=5\E[%i%d;%dr:UP=2\E[%dA:DO=2\E[%dB:RI=2\E[%dC:\
2546         :LE=2\E[%dD:ct=2\E[3g:st=2\EH:ta=^I:ms:bl=^G:cr=^M:eo:it#8:\
2547         :RA=\E[?7l:SA=\E[?7h:po=\E[5i:pf=\E[4i:
2548 vt100-nam|dec-vt100-nam|vt100nam|vt100 w/no am:\
2549         :am@:xn@:\
2550         :is=\E>\E[?1;3;4;5;7l\E[?8h\E[1;24r\E[24;1H:\
2551         :rs=\E>\E[?1;3;4;5;7l\E[?8h:\
2552         :tc=vt100-am:
2553 vt100-np|dec-vt100-np|vt100 with no padding:\
2554         :NP:do=\E[B:cl=\E[H\E[J:sf=\ED:as=\E(0:ae=\E(B:\
2555         :cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:nw=\EE:\
2556         :ce=\E[K:cd=\E[J:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:\
2557         :md=\E[1m:mr=\E[7m:mb=\E[5m:me=\E[m:sr=\EM:\
2558         :sc=\E7:rc=\E8:cs=\E[%i%d;%dr:UP=\E[%dA:DO=\E[%dB:RI=\E[%dC:\
2559         :LE=\E[%dD:ct=\E[3g:st=\EH:tc=vt100-am:
2560 vt100-nac|dec-vt100-nac|vt100 without pseudographics and padding:\
2561         :as@:ae@:ac@:tc=vt100-np:
2562 gt42|dec gt42:\
2563         :do=^J:le=^H:bs:co#72:ns:li#40:os:
2564 # From ts@pc.ecn.purdue.edu (Thomas Ruschak)
2565 vt131|dec vt131:\
2566         :cr=^M:do=^J:nl=^J:bl=^G:co#80:li#24:cl=50\E[;H\E[2J:\
2567         :le=^H:bs:am:cm=5\E[%i%d;%dH:nd=2\E[C:up=2\E[A:\
2568         :ce=3\E[K:cd=50\E[J:so=2\E[7m:se=2\E[m:us=2\E[4m:ue=2\E[m:\
2569         :md=2\E[1m:mr=2\E[7m:mb=2\E[5m:me=2\E[m:is=\E[1;24r\E[24;1H:\
2570         :rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:.ks=\E[?1h\E=:.ke=\E[?1l\E>:\
2571         :ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:kb=^H:\
2572         :ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:ta=^I:pt:sr=5\EM:vt#3:xn:\
2573         :sc=\E7:rc=\E8:cs=\E[%i%d;%dr:
2574 vt132:\
2575         :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:
2576 gt40|dec gt40:\
2577         :do=^J:le=^H:bs:co#72:ns:li#30:os:
2578 vt50|dec vt50:\
2579         :do=^J:le=^H:bs:cd=\EJ:ce=\EK:cl=\EH\EJ:co#80:li#12:nd=\EC:pt:up=\EA:
2580 vt125|vt125-am|DEC vt125:\
2581         :xn:do=^J:co#80:li#24:cl=50\E[H\E[2J:dC=10:dN#10:\
2582         :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:\
2583         :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:\
2584         :me=2\E[m:is=\E[1;24r\E[24;1H\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
2585         :ks=\E[?1h\E=:ke=\E[?1l\E>:if=/usr/share/tabset/vt100:ku=\EOA:kd=\EOB:\
2586         :kr=\EOC:kl=\EOD:kb=^H:ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
2587         :pt:sr=5\EM:vt#3:sc=\E7:rc=\E8:cs=\E[%i%d;%dr:
2588 vt125-nam|DEC vt125 no automatic margin:\
2589         :am@:tc=vt125-am:
2590 # DEC gigi color graphic terminal, same as vt52
2591 gigi|dec gigi terminal:\
2592         :co#80:is=200\E>\E[?4l\E[?5l\E[?7h\E[?8h:\
2593         :li#24:cl=100\E[;H\E[2J:bs:cm=50\E[%i%2;%2H:nd=200\E[C:up=100\E[A:\
2594         :ce=120\E[K:cd=100\E[J:so=20\E[7m:se=20\E[m:us=20\E[4m:ue=20\E[m:\
2595         :ks=200\E[?1h\E=:ke=200\E[?1l\E>:\
2596         :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:\
2597         :kh=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:pt:sr=200\EM:\
2598         :dC=50:dF=200:dN#50:dT=50:
2599 # From William King <abvax!wrk@uunet.UU.NET>, basic ln03 entries
2600 ln03|dec ln03 LaserPrinter:\
2601         :co#80:li#66:hc:hu=\EL:hd=\EK:so=\E[1m:se=\E[22m:\
2602         :us=\E[4m:ue=\E[24m:
2603 ln03-w|dec ln03 LaserPrinter 132 cols:\
2604         :co#132:tc=ln03:
2605 dw1|decwriter I:\
2606         :do=^J:le=^H:bs:co#72:hc:os:
2607 # From tut@Topaz.CC Thu May 12 14:49:02 1983
2608 dw3|la120|decwriter III:\
2609         :bs:kb=^H:co#132:hc:os:pt:\
2610         :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:
2611 # From tut@topaz.CC Thu Sep 24 22:10:46 1981
2612 dw4|decwriter IV:\
2613         :do=^J:le=^H:bs:co#132:hc:os:am:\
2614         :pt:is=\Ec:k0=\EOP:k1=\EOQ:k2=\EOR:k3=\EOS:kb=^H:
2615 vt50h|dec vt50h:\
2616         :do=^J:le=^H:bs:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :\
2617         :co#80:li#12:nd=\EC:pt:sr=\EI:up=\EA:
2618 vt100-s|dec-vt100-s|vt100 with status line at top:\
2619         :li#23:i2=\E[2;24r\E[24;1H:cm@:ho=\E[H^J:cl=50\E[;H^J\E[0J:\
2620         :hs:es:ts=\E7\E[1;%dH\E[1K:fs=\E8:tc=vt100-am:
2621 vt100-s-bot|dec-vt100-s-bot|vt100 with status line at bottom:\
2622         :li#23:i2=\E[1;23r\E[23;1H:\
2623         :hs:es:ts=\E7\E[24;%dH\E[1K:fs=\E8:tc=vt100-am:
2624 vt100-nav|dec-vt100-nav|dec vt100 132 cols 14 lines (w/o advanced video option):\
2625         :li#14:tc=vt100-w:
2626 vt100-w|dec-vt100-w|dec vt100 132 cols (w/advanced video):\
2627         :if=/usr/share/tabset/vt100-w:\
2628         :is=\E>\E[?1;4;5l\E[?3;7;8h\E[1;24r\E[24;1H:\
2629         :rs=\E>\E[?1;4;5l\E[?3;7;8h:\
2630         :co#132:tc=vt100-am:
2631 vt100-w-nam|dec-vt100-w-nam|dec vt100 132 cols (w/advanced video), no am:\
2632         :if=/usr/share/tabset/vt100-w:\
2633         :is=\E>\E[?1;4;5;7l\E[?3;8h\E[1;24r\E[24;1H:\
2634         :rs=\E>\E[?1;4;5;7l\E[?3;8h:\
2635         :co#132:vt@:tc=vt100-nam:
2636 vt102|dec-vt102-am|vt102am|vt100 w/adv. video:\
2637         :al=\E[L:dl=\E[M:im=\E[4h:ei=\E[4l:mi:dc=\E[P:\
2638         :AL=\E[%dL:DL=\E[%dM:DC=\E[%dP:tc=vt100-np:
2639 vt102-nam|dec-vt102-nam|vt102nam|vt102 w/no am:\
2640         :am@:xn@:\
2641         :is=\E>\E[?1;3;4;5;7l\E[?8h\E[1;24r\E[24;1H:\
2642         :rs=\E>\E[?1;3;4;5;7l\E[?8h:\
2643         :tc=vt102am:
2644 vt102-w|dec vt102 132 cols (w/advanced video):\
2645         :if=/usr/share/tabset/vt100-w:\
2646         :is=\E>\E[?1;4;5l\E[?3;7;8h\E[1;24r\E[24;1H:\
2647         :rs=\E>\E[?1;4;5l\E[?3;7;8h:\
2648         :co#132:vt@:tc=vt102:
2649 vt102-w-nam|dec-vt102-w-nam|dec vt102 132 cols (w/advanced video), no am:\
2650         :if=/usr/share/tabset/vt100-w:\
2651         :is=\E>\E[?1;4;5;7l\E[?3;8h\E[1;24r\E[24;1H:\
2652         :rs=\E>\E[?1;4;5;7l\E[?3;8h:\
2653         :co#132:vt@:tc=vt102-nam:
2654 vt102-nac|dec-vt102-nac|vt102 without pseudographics:\
2655         :as@:ae@:ac@:tc=vt102:
2656 vt52|dec-vt52|dec vt52:\
2657         :do=^J:le=^H:bs:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :co#80:li#24:\
2658         :nd=\EC:pt:sr=\EI:up=\EA:ku=\EA:kd=\EB:kr=\EC:kl=\ED:kb=^H:
2659 # vt61 created by Roger Sacilotto  Massachusetts Computer Associates, Inc
2660 # Similar to vt52 but add al and dl
2661 #
2662 vt61|dec vt61:\
2663         :al=\EPf:dl=\EPd:tc=vt52:
2664 dw2|decwriter II:\
2665         :do=^J:kb=^h:le=^H:bs:co#132:hc:os:
2666 # DEC PRO-350 console (VT220-style)
2667 pro350|decpro|dec pro console:\
2668         :bs:cd=\EJ:ce=\EK:cl=\EH\EJ:\
2669         :cm=\EY%+ %+ :co#80:ho=\EH:\
2670         :kl=\ED:kr=\EC:ku=\EA:kd=\EB:kh=\EH:\
2671         :k0=\EE:k1=\EF:k2=\EG:k3=\EH:k4=\EI:k5=\EJ:k6=\Ei:k7=\Ej:\
2672         :li#24:nd=\EC:pt:sr=\EI:up=\EA:do=\EB:\
2673         :se=\E^N:so=\E^H:us=\E^D:ue=\E^C:\
2674         :ae=\EG:as=\EF:
2675 #
2676 vt200|vt220|vt220am|vt200am|dec-vt220|dec-vt200|dec vt2X0 series with jump scroll:\
2677         :@7=\E[4~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kh=\E[1~:\
2678         :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
2679         :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
2680         :ve=\E[?25h:vi=\E[?25l:k0@:\
2681         :F1=\E[23~:F2=\E[24~:ic=\E[@:IC=\E[%d@:ec=\E[%dX:\
2682         :al=\E[L:dl=\E[M:dc=\E[P:\
2683         :AL=\E[%dL:DL=\E[%dM:DC=\E[%dP:tc=vt100-np:
2684 vt220-pf|vt200-pf|dec-vt220-pf|dec-vt200-pf|dec vt200 with PF1-PF4:\
2685         :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
2686         :tc=vt220:
2687 vt200-nam|dec-vt200-nam|vt200nam|vt200 w/no am:\
2688         :tc=vt220nam:
2689 vt220-nam|dec-vt220-nam|vt220nam|vt220 w/no am:\
2690         :am@:xn@:\
2691         :is=\E>\E[?1;3;4;5;7l\E[?8h\E[1;24r\E[24;1H:\
2692         :rs=\E>\E[?1;3;4;5;7l\E[?8h:\
2693         :tc=vt220am:
2694 vt200-ss|vt220-ss|dec-vt220-ss|dec vt200 series with smooth scroll:\
2695         :is=\E>\E[?1;3;5l\E[?4;7;8h\E[1;24r\E[24;1H:\
2696         :rs=\E>\E[?1;3;5l\E[?4;7;8h:\
2697         :tc=vt200:
2698 vt200-w|vt220-w|dec-vt220-w|vt200-wj|vt220-wj|dec vt200 series; 132 col.; jump scroll:\
2699         :is=\E>\E[?1;4;5l\E[?3;7;8h\E[1;24r\E[24;1H:\
2700         :rs=\E>\E[?1;4;5l\E[?3;7;8h:\
2701         :co#132:vt@:tc=vt200:
2702 vt200-ws|vt220-ws|dec-vt220-ws|dec vt200 series; 132 col.; smooth scroll:\
2703         :is=\E>\E[?1;5l\E[?3;4;7;8h\E[1;24r\E[24;1H:\
2704         :rs=\E>\E[?1;5l\E[?3;4;7;8h:\
2705         :co#132:vt@:tc=vt200:
2706 vt200-nac|vt220-nac|dec-vt200-nac|dec-vt220-nac|dec vt200 without pseudographics:\
2707         :as@:ae@:ac@:tc=vt200:
2708 #
2709 vt320|vt300|vt340|vt320 with status line:\
2710         :ds=\E[2$~\r\E[1$}\E[K\E[$}:ts=\E[2$~\E[1$}\E[1;%dH:\
2711         :fs=\E[$}:tc=vt220:
2712 dec-vt320|dec-vt300|dec-vt340|dec vt320 with status line:\
2713         :tc=vt320:
2714 vt320-pf|vt300-pf|vt340-pf|vt320 with PF1-PF4:\
2715         :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
2716         :tc=vt320:
2717 dec-vt320-pf|dec-vt300-pf|dec-vt340-pf|dec vt320 with PF1-PF4:\
2718         :tc=vt320-pf:
2719 vt320-nac|vt300-nac|vt340-nac|vt320 without pseudographics:\
2720         :as@:ae@:ac@:tc=vt320:
2721 dec-vt320-nac|dec-vt300-nac|dec-vt340-nac|dec vt320 without pseudographics:\
2722         :tc=vt320-nac:
2723 # The following entry was converted with the "tic -C" command
2724 # in ncurses.  The original terminfo source file was posted to
2725 # comp.terminals by Daniel A. Glasser on 1991-01-07.
2726 #
2727 # The comments in () were inserted by tic.
2728 #
2729 # (untranslatable capabilities removed to fit entry within 1023 bytes)
2730 # (sgr removed to fit entry within 1023 bytes)
2731 # (acsc removed to fit entry within 1023 bytes)
2732 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
2733 vt420|vt420-24|dec-vt420|DEC vt420 7 bit controls 80x24 autowrap:\
2734         :am:es:hs:mi:ms:xn:xo:\
2735         :co#80:it#8:li#24:ws#80:\
2736         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
2737         :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
2738         :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
2739         :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
2740         :ds=\E[2$~\r\E[1$}\E[K\E[$}:ec=\E[%dX:ei=\E[4l:fs=\E[$}:\
2741         :ho=\E[H:ic=\E[@:im=\E[4h:is=\E[?7h\E[>\E[?1h\E F\E[?4l:\
2742         :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
2743         :k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
2744         :kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
2745         :md=\E[1m:me=\E[0m:mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:sc=\E7:\
2746         :se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
2747         :ts=\E[2$~\E[1$}\E[1;%dH:ue=\E[24m:up=\E[A:us=\E[4m:\
2748         :vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
2749 vt400|dec-vt400|DEC VT400 level terminal for telnet alias:\
2750         :tc=vt420:
2751 vt420-w|DEC vt420 7 bit controls 132x24 autowrap:\
2752         :co#132:tc=vt420:
2753 vt420-36|DEC vt420 7 bit controls 80x36 autowrap:\
2754         :li#36:tc=vt420:
2755 vt420-36w|DEC vt420 7 bit controls 132x36 autowrap:\
2756         :co#132:li#36:tc=vt420:
2757
2758 # From ftp://gatekeeper.dec.com/pub/DEC/termcaps/ :
2759 #
2760 # vt520.tc (9/30/94)
2761 #
2762 # VT520/VT525
2763 #
2764 # The VT520 is a monochrome text terminal capable of managing up to
2765 # four independent sessions in the terminal.  It has multiple ANSI
2766 # emulations (VT520, VT420, VT320, VT220, VT100, VT PCTerm, SCO Console)
2767 # and ASCII emulations (WY160/60, PCTerm, 50/50+, 150/120, TVI 950,
2768 # 925 910+, ADDS A2).  This termcap data is for the ANSI emulations only.
2769 # SCO Console emulation uses the "ansi" entry.  Existing ASCII termcap
2770 # entries are used with the ASCII emulations.
2771 #
2772 # Terminal Set-Up is entered by pressing [F3], [Caps Lock]/[F3] or
2773 # [Alt]/[Print Screen] depending upon which keyboard and which
2774 # terminal mode is being used.  If Set-Up has been disabled or
2775 # assigned to an unknown key, Set-Up may be entered by pressing
2776 # [F3] as the first key after power up, regardless of keyboard type.
2777 #
2778 vt520|DEC VT520 :\
2779         :am:mi:xn:xo:bs:pt:\
2780         :co#80:li#24:kn#3:\
2781         :ae=4\E(B:al=\E[L:as=2\E(0:cd=50\E[J:ce=3\E[K:\
2782         :cl=50\E[;H\E[2J:cm=10\E[%i%d;%dH:cs=\E[%i%d;%dr:\
2783         :dc=\E[P:dl=\E[M:ei=\E[4l:ho=\E[H:\
2784         :if=/usr/lib/tabset/vt100:\
2785         :im=\E[4h:\
2786         :is=\E[1;24r\E[24;1H:\
2787         :r3=\E[?67h\E[64;1"p:\
2788         :i3=\E[?67h\E[64;1"p:\
2789         :k0=\E[29~:\
2790         :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
2791         :k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:k9=\E[21~:\
2792         :kb=\b:kd=\E[B:ke=\E>:kl=\E[D:\
2793         :kr=\E[C:ks=\E=:ku=\E[A:nd=\E[C:\
2794         :sc=\E7:rc=\E8:rf=/usr/lib/tabset/vt100:\
2795         :se=\E[m:so=\E[7m:\
2796         :sr=\EM:ue=\E[m:up=\E[A:us=\E[4m:nl=\E[B:ko=do,nd,up:
2797 #
2798 vt520nam|vt520-nam|v520n|DEC VT520 with no automargins:\
2799         :am@:tc=vt520:
2800
2801 #
2802 # For ANSI color-enabled terminal emulators
2803 #
2804 vt100-color|vt100-co|vt100 emulator with ANSI colors:\
2805         :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m\E[m:tc=vt100:
2806 vt102-color|vt102-co|vt102 emulator with ANSI colors:\
2807         :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m\E[m:tc=vt102:
2808 putty|vt220-color|vt220-co|vt220 emulator with ANSI colors:\
2809         :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m\E[m:tc=vt220:
2810 # Attempt to save some of 1024 buf space truncating description
2811 # and names list
2812 vt320-co|vt320 color:\
2813         :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m\E[m:tc=vt320:
2814 vt320-color|vt320 co:\
2815         :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m\E[m:tc=vt320:
2816 vt340-co|vt340 color:\
2817         :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m\E[m:tc=vt340:
2818 vt340-color|vt340 co:\
2819         :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m\E[m:tc=vt340:
2820 #
2821 # SC,SB,SH,SW names needed for screen(1)
2822 #
2823 SC|screen|VT 100/ANSI X3.64 virtual terminal:\
2824         :am:xn:ms:mi:G0:km:\
2825         :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bs:bt=\E[Z:\
2826         :cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:ct=\E[3g:\
2827         :do=^J:nd=\E[C:pt:rc=\E8:rs=\Ec:sc=\E7:st=\EH:up=\EM:\
2828         :le=^H:bl=^G:cr=^M:it#8:ho=\E[H:nw=\EE:ta=^I:is=\E)0:\
2829         :li#24:co#80:us=\E[4m:ue=\E[24m:so=\E[3m:se=\E[23m:\
2830         :mb=\E[5m:md=\E[1m:mr=\E[7m:me=\E[m:sr=\EM:al=\E[L:\
2831         :AL=\E[%dL:dl=\E[M:DL=\E[%dM:cs=\E[%i%d;%dr:dc=\E[P:\
2832         :DC=\E[%dP:im=\E[4h:ei=\E[4l:IC=\E[%d@:\
2833         :ks=\E[?1h\E=:ke=\E[?1l\E>:vb=\Eg:\
2834         :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=^H:\
2835         :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:\
2836         :k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:F1=\E[23~:F2=\E[24~:\
2837         :F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:\
2838         :F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:\
2839         :kh=\E[1~:kI=\E[2~:kD=\E[3~:@7=\E[4~:kP=\E[5~:\
2840         :kN=\E[6~:eA=\E(B\E)0:as=^N:ae=^O:ti=\E[?1049h:te=\E[?1049l:\
2841         :vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l:\
2842         :Co#8:pa#64:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:AX:\
2843         :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++,,hhII00:
2844 SB|screen-bce|VT 100/ANSI X3.64 virtual terminal with bce:\
2845         :ut:tc=screen:
2846 SH|screen-s|VT 100/ANSI X3.64 virtual terminal with hardstatus line:\
2847         :ts=\E_:fs=\E\\:ds=\E_\E\\:tc=screen:
2848 SW|screen-w|VT 100/ANSI X3.64 virtual terminal with 132 cols:\
2849         :co#132:tc=screen:
2850 screen-256color|VT 100/ANSI X3.64 terminal with 256 colors:\
2851         :Co#256:pa#32767:\
2852         :AB=\E[48;5;%dm:AF=\E[38;5;%dm:tc=screen:
2853 # $XTermId: termcap,v 1.78 2009/11/09 00:24:26 tom Exp $
2854 #
2855 # Note:
2856 #       termcap format is limited to 1023 characters.  This set of descriptions
2857 #       is a subset of the terminfo, since not all features can be fit into
2858 #       that limit.  The 'xterm' description supports color.  The monochrome
2859 #       'xterm-mono' drops color in favor of additional function keys.  If you
2860 #       need both, use terminfo.
2861 #
2862 #       The 1023-character limit applies to each entry after resolving the
2863 #       "tc=" strings.  Some implementations may discount all or part of the
2864 #       formatting characters in the entry (i.e., the backslash newline tab
2865 #       colon).  GNU termcap does not have this limit.
2866 #
2867 #       I checked the limits using ncurses "captoinfo -CrTUvx", which prints
2868 #       the resolved length of each entry in a comment at the end - T.Dickey
2869
2870 # Add the capability to "clear the screen" after exiting vi, more/less, etc.
2871 #
2872 xterm-clear:\
2873         :te=\E[?1049l:ti=\E[?1049h:\
2874         :tc=xterm-new:
2875 xterm-new|modern xterm:\
2876         :@7=\EOF:@8=\EOM:F1=\E[23~:F2=\E[24~:K2=\EOE:Km=\E[M:\
2877         :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:\
2878         :k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kI=\E[2~:\
2879         :kN=\E[6~:kP=\E[5~:kd=\EOB:kh=\EOH:kl=\EOD:kr=\EOC:ku=\EOA:\
2880         :tc=xterm-basic:
2881 #
2882 # This chunk is used for building the VT220/Sun/PC keyboard variants.
2883 xterm-basic|modern xterm common:\
2884         :am:bs:km:mi:ms:ut:xn:AX:\
2885         :Co#8:co#80:kn#12:li#24:pa#64:\
2886         :AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
2887         :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=\E(B:al=\E[L:\
2888         :as=\E(0:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
2889         :cm=\E[%i%d;%dH:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:\
2890         :ei=\E[4l:ho=\E[H:im=\E[4h:is=\E[!p\E[?3;4l\E[4l\E>:\
2891         :kD=\E[3~:kb=^H:ke=\E[?1l\E>:ks=\E[?1h\E=:le=^H:md=\E[1m:\
2892         :me=\E[m:ml=\El:mr=\E[7m:mu=\Em:nd=\E[C:op=\E[39;49m:\
2893         :rc=\E8:rs=\E[!p\E[?3;4l\E[4l\E>:sc=\E7:se=\E[27m:sf=^J:\
2894         :so=\E[7m:sr=\EM:st=\EH:\
2895         :ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[?12l\E[?25h:vi=\E[?25l:vs=\E[?12;25h:
2896
2897 # The xterm-new description has all of the features, but is not completely
2898 # compatible with vt220.  If you are using a Sun or PC keyboard, set the
2899 # sunKeyboard resource to true:
2900 #       + maps the editing keypad
2901 #       + interprets control-function-key as a second array of keys, so a
2902 #         12-fkey keyboard can support vt220's 20-fkeys.
2903 #       + maps numeric keypad "+" to ",".
2904 #       + uses DEC-style control sequences for the application keypad.
2905 #
2906 xterm-vt220|xterm emulating vt220:\
2907         :*6=\E[4~:@7=\E[4~:K2=\EOu:Km=\E[M:kH=\E[4~:kh=\E[1~:\
2908         :tc=xterm-basic:
2909
2910 xterm-24|xterms|vs100|24x80 xterm:\
2911         :li#24:tc=xterm-old:
2912 xterm-65|65x80 xterm:\
2913         :li#65:tc=xterm-old:
2914 xterm-bold|xterm with bold for underline:\
2915         :so=\E[7m:us=\E[1m:tc=xterm-old:
2916 xterm-boldso|xterm with bold for standout:\
2917         :se=\E[m:so=\E[1m:tc=xterm-old:
2918 xterm-mono|monochrome xterm:\
2919         :ut@:\
2920         :Co@:NC@:kn#20:pa@:\
2921         :AB@:AF@:Sb@:Sf@:op@:st@:tc=xterm-old:
2922 #
2923 # Alternate terminal description that "works" for interactive shells such as
2924 # tcsh and bash.
2925 xterm-noapp|xterm with cursor keys in normal mode:\
2926         :kd=\E[B:ke=\E>:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:te@:ti@:\
2927         :tc=xterm:
2928 #
2929 # This should work for the commonly used "color xterm" variations (XFree86
2930 # xterm, color_xterm, nxterm, rxvt).  Note that it does not set 'bce', so for
2931 # XFree86 and rxvt, some applications that use colors will be less efficient,
2932 # and in a few special cases (with "smart" optimization) the wrong color will
2933 # be painted in spots.
2934 xterm-color|generic "ANSI" color xterm:\
2935         :Co#8:NC@:pa#64:\
2936         :AB=\E[4%dm:AF=\E[3%dm:ac=:op=\E[m:tc=xterm-r6:
2937 #
2938 # These aliases are for compatibility with the terminfo; termcap cannot provide
2939 # the extra features such as color initialization, but termcap applications
2940 # still want the names.
2941 xterm-16color|xterm alias 1:\
2942         :tc=xterm-new:
2943
2944 xterm-88color|xterm alias 2:\
2945         :Co#88:pa#7744:tc=xterm-256color:
2946
2947 xterm-256color|xterm alias 3:\
2948         :Co#256:pa#32767:\
2949         :AB=\E[48;5;%dm:AF=\E[38;5;%dm:tc=xterm-new:
2950
2951 xterm-nrc|xterm alias 4:\
2952         :tc=xterm:
2953 xterm-rep|xterm alias 5:\
2954         :tc=xterm:
2955 xterm-xmc|xterm alias 6:\
2956         :sg#1:tc=xterm:
2957 #
2958 # An 8-bit description is doable with termcap, but there are probably no
2959 # termcap (or BSD curses) applications that are able to use it.
2960 #
2961 # Add the capability to "clear the screen" after exiting vi, more/less, etc.
2962 #
2963 xterm-8bit-clear:\
2964         :te=\233?1049l:ti=\233?1049h:ue=\23324m:\
2965         :tc=xterm-8bit:
2966 xterm-8bit|xterm terminal emulator 8-bit controls (X Window System):\
2967         :am:km:mi:ms:xn:\
2968         :co#80:it#8:li#24:\
2969         :AL=\233%dL:DC=\233%dP:DL=\233%dM:DO=\233%dB:IC=\233%d@:\
2970         :K2=\217y:Km=\233M:LE=\233%dD:RI=\233%dC:UP=\233%dA:\
2971         :ae=\E(B:al=\233L:as=\E(0:bl=^G:bt=\233Z:cd=\233J:ce=\233K:\
2972         :cl=\233H\2332J:cm=\233%i%d;%dH:cr=^M:cs=\233%i%d;%dr:\
2973         :ct=\2333g:dc=\233P:dl=\233M:do=^J:ei=\2334l:ho=\233H:\
2974         :im=\2334h:\
2975         :is=\E[62"p\E G\233m\233?7h\E>\E7\233?1;3;4;6l\2334l\233r\E8:\
2976         :k1=\23311~:k2=\23312~:k3=\23313~:k4=\23314~:k5=\23315~:\
2977         :k6=\23317~:k7=\23318~:k8=\23319~:k9=\23320~:kD=\2333~:\
2978         :kI=\2332~:kN=\2336~:kP=\2335~:kb=^H:kd=\217B:\
2979         :ke=\233?1l\E>:kh=\2331~:kl=\217D:kr=\217C:ks=\233?1h\E=:\
2980         :ku=\217A:le=^H:mb=\2335m:md=\2331m:me=\233m:mr=\2337m:\
2981         :nd=\233C:rc=\E8:sc=\E7:se=\23327m:sf=^J:so=\2337m:sr=\215:\
2982         :st=\210:ta=^I:ue=\23324m:\
2983         :up=\233A:us=\2334m:vb=\233?5h\233?5l:ve=\233?25l\233?25h:\
2984         :vs=\233?12;25h:vi=\233?25l:
2985 #
2986 xterm-hp|xterm with hpterm function keys:\
2987         :@7=\EF:k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:\
2988         :k8=\Ew:kC=\EJ:kD=\EP:kI=\EQ:kN=\ES:kP=\ET:kd=\EB:kh=\Eh:\
2989         :kl=\ED:kr=\EC:ku=\EA:tc=xterm-basic:
2990 #
2991 xterm-sco|xterm with SCO function keys:\
2992         :@1=\E[E:@7=\E[F:F1=\E[W:F2=\E[X:F3=\E[Y:F4=\E[Z:F5=\E[a:\
2993         :F6=\E[b:F7=\E[c:F8=\E[d:F9=\E[e:FA=\E[f:FB=\E[g:FC=\E[h:\
2994         :FD=\E[i:FE=\E[j:FF=\E[k:FG=\E[l:FH=\E[m:FI=\E[n:FJ=\E[o:\
2995         :FK=\E[p:FL=\E[q:FM=\E[r:FN=\E[s:FO=\E[t:FP=\E[u:FQ=\E[v:\
2996         :FR=\E[w:FS=\E[x:FT=\E[y:FU=\E[z:FV=\E[@:FW=\E[[:FX=\E[\\:\
2997         :FY=\E[]:FZ=\E[\136:Fa=\E[_:Fb=\E[`:Fc=\E[{:Km=\E[>M:\
2998         :k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:\
2999         :k8=\E[T:k9=\E[U:k;=\E[V:kD=\177:kI=\E[L:kN=\E[G:kP=\E[I:\
3000         :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:tc=xterm-basic:
3001 #
3002 xterm-vt52|xterm emulating vt52:\
3003         :bs:\
3004         :co#80:it#8:li#24:\
3005         :ae=\EG:as=\EF:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :\
3006         :cr=^M:do=\EB:ho=\EH:kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:\
3007         :le=\ED:nd=\EC:nw=^M^J:sf=^J:sr=\EI:ta=^I:up=\EA:
3008 #
3009 xterm-sun|xterm with Sun functionkeys:\
3010         :%1=\E[196z:&8=\E[195z:@0=\E[200z:@5=\E[197z:@7=\E[220z:\
3011         :F1=\E[192z:F2=\E[193z:K2=\E[218z:Km=\E[M:k1=\E[224z:\
3012         :k2=\E[225z:k3=\E[226z:k4=\E[227z:k5=\E[228z:k6=\E[229z:\
3013         :k7=\E[230z:k8=\E[231z:k9=\E[232z:k;=\E[233z:kD=\E[3z:\
3014         :kI=\E[2z:kN=\E[222z:kP=\E[216z:kh=\E[214z:\
3015         :tc=xterm-basic:
3016 #
3017 # vi may work better with this entry, because vi doesn't use insert mode much.
3018 # |xterm-ic|xterm-vi|xterm with insert character instead of insert mode:\
3019 xterm-ic|xterm-vi|xterm with insert char:\
3020         :mi@:\
3021         :IC=\E[%d@:ei@:ic=\E[@:im@:tc=xterm:
3022 #
3023 # Compatible with the X11R6.3 xterm
3024 #
3025 # Add the capability to "clear the screen" after exiting vi, more/less, etc.
3026 #
3027 xterm-r6-clear:\
3028         :te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[m:\
3029         :tc=xterm-r6:
3030 xterm-r6|xterm-old|X11R6 xterm:\
3031         :am:bs:km:mi:ms:pt:xn:\
3032         :co#80:kn#20:li#24:\
3033         :*6=\E[4~:@0=\E[1~:@7=\E[4~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
3034         :DO=\E[%dB:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
3035         :F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
3036         :FA=\E[34~:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:\
3037         :as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:\
3038         :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:eA=\E)0:ei=\E[4l:\
3039         :ho=\E[H:im=\E[4h:\
3040         :is=\E[m\E[?7h\E[4l\E>\E7\E[r\E[?1;3;4;6l\E8:\
3041         :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
3042         :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
3043         :kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:\
3044         :ke=\E[?1l\E>:kh=\E[1~:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
3045         :ku=\EOA:md=\E[1m:me=\E[m:ml=\El:mr=\E[7m:mu=\Em:nd=\E[C:\
3046         :rc=\E8:rs=\E[m\E[?7h\E[4l\E>\E7\E[r\E[?1;3;4;6l\E8:\
3047         :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:\
3048         :ue=\E[m:up=\E[A:us=\E[4m:
3049 #
3050 # Compatible with the R5 xterm
3051 #
3052 # Add the capability to "clear the screen" after exiting vi, more/less, etc.
3053 #
3054 xterm-r5-clear:\
3055         :te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[m:\
3056         :tc=xterm-r5:
3057 xterm-r5|X11R5 xterm X11R5:\
3058         :am:bs:km:mi:ms:pt:xn:\
3059         :co#80:kn#4:li#24:\
3060         :@7=\E[4~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
3061         :IC=\E[%d@:UP=\E[%dA:al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
3062         :cm=\E[%i%d;%dH:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:\
3063         :ei=\E[4l:ho=\E[H:im=\E[4h:\
3064         :is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l:\
3065         :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:kb=^H:kd=\EOB:\
3066         :ke=\E[?1l\E>:kh=\E[1~:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
3067         :ku=\EOA:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:rc=\E8:\
3068         :rs=\E>\E[?1;3;4;5;6l\E[4l\E[?7h\E[m\E[r\E[2J\E[H:\
3069         :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:\
3070         :up=\E[A:us=\E[4m:
3071 #
3072 # Customization begins here.
3073 xterm-xfree86|xterm terminal emulator (XFree86):\
3074         :tc=xterm-new:
3075 #
3076 # This is the only entry which you should have to customize, since "xterm"
3077 # is widely used for a variety of incompatible terminal emulations including
3078 # color_xterm and rxvt.
3079 xterm|X11 terminal emulator:\
3080         :tc=xterm-new:
3081 #       :tc=xterm-r6:
3082 # dtterm termcap entry - Obtained from Xinside's CDE with permission
3083 # from Thomas Roell
3084 dtterm|dtterm-cde10:\
3085         :am:km:mi:ms:xn:\
3086         :co#80:li#24:Co#8:it#8:lm#0:pa#8:\
3087         :AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:\
3088         :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
3089         :bl=^G:cr=\r:ta=\t:\
3090         :cl=\E[H\E[J:cb=\E[1K:ce=\E[K:cd=\E[J:\
3091         :cm=\E[%i%d;%dH:ho=\E[H:\
3092         :LE=\E[%dD:le=\b:\
3093         :DO=\E[%dB:do=\n:\
3094         :RI=\E[%dC:nd=\E[C:\
3095         :UP=\E[%dA:up=\E[A:\
3096         :DC=\E[%dP:dc=\E[P:DL=\E[%dM:dl=\E[M:\
3097         :IC=\E[%d@:ic=\E[@:AL=\E[%dL:al=\E[L:\
3098         :sc=\E7:rc=\E8:\
3099         :sf=\ED:sr=\EM:\
3100         :st=\EH:ct=\E[3g:\
3101         :me=\E[0m:md=\E[1m:mr=\E[7m:\
3102         :as=^N:ae=^O:\
3103         :SA=\E[?7h:RA=\E[?7l:\
3104         :so=\E[2;7m:se=\E[22;27m:\
3105         :us=\E[4m:ue=\E[24m:\
3106         :mh=\E[2m:mb=\E[5m:vi=\E[?25l:ve=\E[?25h:ec=\E[%dX:\
3107         :mk=\E[8m:i2=\E\sF\E>\E[?1l\E[?7h\E[?45l:\
3108         :nw=\EE:op=\E[39;49m:\
3109         :kb=\b:kl=\E[D:kd=\E[B:kr=\E[C:ku=\E[A:kD=\E[3~:k1=\E[11~:k2=\E[12~:\
3110         :k3=\E[13~:k4=\E[14~:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
3111         :k9=\E[20~:k;=\E[21~:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
3112         :F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:F20=\E[34~:\
3113         :@0=\E[1~:%1=\E[28~:kI=\E[2~:kN=\E[6~:kP=\E[5~:*6=\E[4~:
3114 # vs100 emulator using tsim     (from lai@decwrl)
3115 vs100t|tsim|vs100-tsim:\
3116         :bs:cm=\EM%+ %+ :ho=\EH:do=^J:up=^K:cl=\EE:ce=\EL:cs=\ES%+ %+ :\
3117         :so=\Eh:se=\Er:us=\Eu:ue=\Ev:al=\EI:Al=\E+%+ :dl=\ED:Dl=\E-%+ :\
3118         :ic=\Ei:dc=\Ed:is=\ER:rs=\ER:am:cd=\EQ:pt:nd=\En:li#24:co#80:
3119 kterm|kterm kanji terminal emulator (X window system):\
3120         :hs:es:ts=\E[?E\E[?%i%dT:fs=\E[?F:ds=\E[?H:\
3121         :KJ:sc=\E7:rc=\E8:cs=\E[%i%d;%dr:TY=ascii:\
3122         :eA@:as=\E(0:ae=\E(B:tc=xterm-r6:
3123 kterm-color|kterm-co|kterm + ANSI colors:\
3124         :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:tc=kterm:
3125\f# --------------------------------
3126 #
3127 # h: HEWLETT PACKARD
3128 #
3129 # Note: no "ho" on HP's since that homes to top of memory, not screen.
3130 # Due to severe 2621 braindamage, the only way to get the arrow keys to
3131 # transmit anything at all is to turn on the function key labels
3132 # (f1-f8) with ks, and even then the poor user has to hold down shift!
3133 # The default 2621 turns off the labels except when it has to enable
3134 # the function keys.  If your installation prefers labels on all the time,
3135 # or off all the time (at the "expense" of the function keys) move the
3136 # 2621-nl or 2621-wl labels to the front using reorder.
3137 # Note: there are newer ROM's for 2621's that allow you to set strap A
3138 # so the regular arrow keys xmit \EA, etc, as with the 2645.  However,
3139 # even with this strap set, the terminal stops xmitting if you reset it,
3140 # until you unset and reset the strap!  Since there is no way to set/unset
3141 # the strap with an escape sequence, we don't use it in the default.
3142 # If you like, you can use 2621-ba (braindamaged arrow keys).
3143 2621-ba|2621 w/new rom, strap A set:\
3144         :ks@:ke@:ku=\EA:kd=\EB:kl=\ED:kr=\EC:kh=\Eh:tc=hp2621:
3145 # 2621 with function labels.  Most of the time they are off,
3146 # but inside vi, the function key labels appear.  You have to
3147 # hold down shift to get them to xmit.
3148 2621|hp2621|hp2621a|hp2621p|2621a|2621p|2621-pb|hp2621-fl|hp 2621:\
3149         :is=\E&j@\r:bt=\Ei:cm=\E&a%r%dc%dY:dc=2\EP:ip=2:pb#19200:\
3150         :so=\E&dD:se=\E&d@:us=\E&dD:ue=\E&d@:me=\E&d@:\
3151         :kh=\Ep\r:ku=\Et\r:kl=\Eu\r:kr=\Ev\r:kd=\Ew\r:\
3152         :kn#8:k1=\Ep\r:k2=\Eq\r:k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:k7=\Ev\r:\
3153         :k8=\Ew\r:ks=\E&jB:ke=\E&j@:ta=2^I:tc=hp:
3154 # 2621k45: untested
3155 # 2622: unsure if this is quite it, have only heard about the terminal.
3156 2621k45|hp2621k45|k45|2622|hp2622|hp 2621 with 45 keyboard:\
3157         :kb=^H:ku=\EA:kd=\EB:kl=\ED:kr=\EC:kh=\Eh:ks=\E&s1A:ke=\E&s0A:tc=2621:
3158 hp2645|2645|hp45:\
3159         :mh=\E&dH:mr=\E&dB:us=\E&dD:mb=\E&dA:me=\E&d@:\
3160         :ku=\EA:kd=\EB:kl=\ED:kr=\EC:kh=\Eh:ks=\E&s1A:ke=\E&s0A:tc=hp:
3161 hp|hpterm|hewlett-packard:\
3162         :ct=\E3:st=\E1:do=^J:al=\EL:am:le=^H:bs:\
3163         :cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\EH\EJ:cm=6\E&a%r%dc%dY:\
3164         :co#80:cv=\E&a%dY:da:db:dc=\EP:dl=\EM:ei=\ER:im=\EQ:\
3165         :kb=^H:li#24:mi:nd=\EC:pt:se=\E&d@:so=\E&dJ:\
3166         :us=\E&dD:ue=\E&d@:up=\EA:xs:vt#6:pb#9600:
3167 # This entry does not use any of the fancy windowing stuff of the 2621.
3168 # Indeed, termcap does not yet handle such stuff.  We are looking at it.
3169 hp2626|hp2626a|hp2626p|2626|2626a|2626p|hp 2626:\
3170         :dc=2\EP:ip=2:se=\E&d@:so=\E&dB:cd=500\EJ:\
3171         :mr=\E&dB:us=\E&dD:mb=\E&dA:mk=\E&dS:me=\E&d@:ue=\E&d@:\
3172         :kh=\Eh:ku=\EA:kl=\ED:kr=\EC:kd=\EB:ks=\E&s1A:ke=\E&s0A:\
3173         :sf=\ES:ta=2^I:xs:tc=2621:
3174 # cD is a pain - but it only screws up at 9600 baud.
3175 # You should use this terminal at 4800 baud or less.
3176 hp2648|hp2648a|2648a|2648|HP 2648a graphics terminal:\
3177         :cl=50\EH\EJ:cm=20\E&a%r%dc%dY:dc=7\EP:ip=5:tc=2645:
3178 # This terminal should be used at 4800 baud or less.
3179 hp2645-np|2645 w/no padding:cm=\E&a%r%dc%dY:tc=hp2645:
3180 # 2640a doesn't have the Y cursor addressing feature, and C is memory relative
3181 # instead of screen relative, as we need.
3182 2640|hp2640a|2640a|hp 2640a:\
3183         :cm@:ks@:ke@:tc=2645:
3184 2640b|hp2640b|2644a|hp2644a|hp 264x series:\
3185         :ks@:ke@:tc=2645:
3186 # 2621 using all 48 lines of memory, only 24 visible at any time.  Untested.
3187 2621-48|48 line 2621:\
3188         :li#48:ho=\EH:cm=\E&a%r%dc%dR:tc=2621:
3189 # From: mcvax!westc!ahof@seismo.css.gov (Anton Hofland) (ahof@westc.uucp)
3190 # For newer versions, :li should correspond to the actual number of lines.
3191 hp110|HP110|HP110A|Hewlett Packard 110A Portable Computer:\
3192         :co#80:li#16:am:db:cl=\E[2J:is=\E&j@\E[=7h:ch=\E&a%2C:cv=\E&a%2R:\
3193         :cm=\E&a%2r%2C:ho=\Eh:cr=^M:nl=^J:ks=\E&s1A:ke=\E&s0A:kd=\EB:\
3194         :ku=\EA:kr=\EC:kl=\ED:nd=\EC:up=\EA:le=^H:do=^J:bc=^H:bt=\Ei:\
3195         :ta=\EI:sf=\E[s\EH\EM\E[u\EJ:sr=\ET:al=\EL:dl=\EM:kb=^H:bl=^G:\
3196         :kh=\Eh:dc=\EP:im=\EQ:ei=\ER:mi:ms:xs:mr=\E[7m:mb=\E[5m:me=\E[0m:\
3197         :so=\E[7m:se=\E[0m:rs=\E[0m\E&j@:cd=\EJ:ce=\EK:kn#8:k1=\Ep:k2=\Eq:\
3198         :k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:
3199 # 2621 with no labels ever.  Also prevents vi delays on escape.
3200 2621-nl|hp2621nl|2621nl|hp2621-nl|hp 2621 with no labels:\
3201         :ks@:ke@:kh@:ku@:kl@:kr@:kd@:tc=hp2621-fl:
3202 # Needed for UCB ARPAVAX console, since lsi-11 expands tabs (wrong).
3203 hp2621-nt|2621nt|2621-nt|hp2621nt|hp 2621 w/no tabs:\
3204         :pt@:tc=hp2621:
3205 # 2621 with labels on all the time - normal outside vi, function inside vi.
3206 hp2621wl|2621wl|2621-wl|hp2621-wl|hp 2621 w/labels:\
3207         :is=\E&jA\r:ke=\E&jA:tc=hp2621-fl:
3208 # 2392 (from haddix@arpa?)
3209 2392|hp2392|hp2392a:\
3210         :bt=\Ei:ip=2:is=\E&j@\E3\r:if=/usr/share/tabset/stdcrt:\
3211         :ml=\El:MT:mu=\Em:km:\
3212         :mh=\E&dH:mr=\E&dB:us=\E&dD:mb=\E&dA:me=\E&d@:\
3213         :ku=\EA:kd=\EB:kl=\ED:kr=\EC:kh=\Eh:ks=\E&s1A:ke=\E&s0A:tc=hp:
3214 # HP 236 console
3215 # from ddavis@ic.berkeley.edu
3216 236|hp236|HP236 internal terminal emulator:\
3217         :am:bs:li#24:co#80:ce=\EK:cl=\EF:cm=\EE%+ %+ :\
3218         :dc=\EJ:dl=\EH:ic=\EI:al=\EG:up=^K:\
3219         :so=\EBI:se=\ECI:vs=\EDB:ve=\EDE:
3220 # hp150 from ddavis@ic.berkeley.edu
3221 150|hp150|hp150a|150a:\
3222         :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:\
3223         :bt=\Ei:li#24:cm=\E&a%r%dc%dY:dc=2\EP:ip=2:pb#19200:so=\E&dJ:\
3224         :se=\E&d@:us=\E&dD:ue=\E&d@:me=\E&d@:kh=\Eh:ku=\EA:kl=\ED:kr=\EC:\
3225         :kd=\EB:kn#8:k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:\
3226         :k8=\Ew:ta=2^I:ct=\E3:st=\E1:do=^J:al=\EL:am:le=^H:\
3227         :bs:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\Eh\EJ:co#80:cv=\E&a%dY:da:db:dl=\EM:\
3228         :ei=\ER:im=\EQ:kb=^H:mi:nd=\EC:pt:up=\EA:xs:vt#6:sf=\ES:sr=\ET:\
3229         :vs=\E&s1A:ve=\E&s0A:ks=\E&jB\E&j@:ke=\E&j@:
3230 # From leres@okeeffe: This works on a hp300 console running Utah 4.3 BSD
3231 300h|hp300h|HP Catseye console:\
3232         :am:bs:cm=\E&a%dy%dC:do=\EB:le=\b:nd=\EC:up=\EA:dc=\EP:dl=\EM:\
3233         :xs:da:db:mi:co#128:li#51:lm#0:sg#0:bt=\Ei:bl=^G:cr=\r:\
3234         :ct=\E3:cl=\E&a0y0C\EJ:ce=\EK:cd=\EJ:ch=\E&a%dC:cv=\E&a%dY:\
3235         :se=\E&d@:ue=\E&d@:im=\EQ:so=\E&dB:us=\E&dD:me=\E&d@:ei=\ER:\
3236         :if=/usr/share/tabset/stdcrt:al=\EL:kb=\b:kd=\EB:kh=\Eh:kl=\ED:\
3237         :kr=\EC:ku=\EA:ke=\E&s0A:ks=\E&s1A:sf=\n:ta=\t:
3238 # From gregc@ernie.berkeley.edu (Greg Couch)
3239 9837|hp9837|98720|hp98720|98721|hp98721|HP 9000/300 workstations:\
3240         :bs:pt:am:xs:da:db:mi:\
3241         :co#128:li#46:lm#0:\
3242         :is=\E&v0m1b0i&j@:bt=\Ei:bl=^G:ct=\E3:\
3243         :cl=\E&a0y0C\EJ:ce=\EK:cd=\EJ:ch=\E&a%dC:\
3244         :cm=\E&a%dy%dC:do=\EB:le=^H:nd=\EC:\
3245         :up=\EA:dc=\EP:dl=\EM:im=\EQ:\
3246         :so=\E&v5S:us=\E&dD:me=\E&d@:ei=\ER:\
3247         :se=\E&v0S:ue=\E&d@:al=\EL:\
3248         :kb=^H:kd=\EB:kh=\Eh:kl=\ED:\
3249         :kr=\EC:ku=\EA:ke=\E&s0A:ks=\E&s1A:\
3250         :cv=\E&a%dY:sf=\n:st=\E1:\
3251         :ko=ce,cd,al,im,dl,dc:kN=\EU:kP=\EV:
3252 # Developed 07SEP90 by Charles A. Finnell of MITRE   <finnell@mitre.org>
3253 98550|hp98550|98550a|hp98550a|HP 9000 Series 300 color console:\
3254         :ae=^O:al=\EL:am:as=^N:bl=^G:bs:bt=\Ei:cd=\EJ:ce=\EK:ch=\E&a%dC:\
3255         :cl=\EH\EJ:cm=\E&a%dy%dC:co#128:cr=\r:ct=\E3:cv=\E&a%dY:da:db:dc=\EP:\
3256         :dl=\EM:do=\n:ei=\ER:if=/usr/share/tabset/9837:im=\EQ:k1=\Ep:k2=\Eq:\
3257         :k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:kA=\EL:kC=\EJ:kD=\EP:\
3258         :kE=\EK:kF=\ES:kH=\EF:kI=\EQ:kL=\EM:kM=\ER:kN=\EU:kP=\EV:kR=\ET:\
3259         :kS=\EJ:kT=\E1:ka=\E3:kb=\b:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kn#12:\
3260         :ko=al,cd,ce,ct,dc,dl,do,ei,im,nd,st,up:kr=\EC:ks=\E&s1A:kt=\E2:\
3261         :ku=\EA:le=\b:li#49:lm#0:mb=\E&dA:md=\E&dJ:me=\E&d@:mh=\E&dH:mi:\
3262         :mk=\E&ds:mr=\E&dJ:nd=\EC:pt:se=\E&d@:sf=\n:so=\E&dJ:st=\E1:ta=\t:\
3263         :ue=\E&d@:up=\EA:us=\E&dD:ve=\E*dQ:vi=\E*dR:xs:
3264 # From: vic@fine.Princeton.EDU (Victor Duchovni)
3265 hp700-wy|HP700/41 emulating wyse30:\
3266         :al=0.7*\EE:am:bl=^G:bs:bt=\EI:bw:cd=\EY:ce=10\ET:cl=^Z:cm=\E=%+ %+ :\
3267         :co#80:cr=^M:ct=\E0:cv=\E[%+ :dc=\EW:dl=\ER:do=^V:ei=\Er:\
3268         :ho=^^:if=/usr/share/tabset/hp700-wy:ll=^^^K:mi:ms:nd=^L:nl=^J:pt:\
3269         :im=\Eq:is=\E~"\EC\Er\E(\EG0^C\E`9\E`1:kb=^?:kd=^V:\
3270         :kh=^^:kl=^H:ko=cl,ho,ce,bt,ta,im,ei,ce,cd:kr=^L:ku=^K:le=^H:li#24:\
3271         :rs=\E~"\EC\Er\E(\EG0^C\E`9\E`1:se=10\EG0:sg#1:so=10\EG4:sr=\Ej:\
3272         :st=\E1:ue=10\EG0:up=^K:ug#1:us=10\EG8:
3273\f# --------------------------------
3274 #
3275 # i: INFOTON (GENERAL TERMINAL)
3276 #
3277 # Infoton is now called General Terminal Corp. or some such thing.
3278 # gt100 sounds like something DEC would come out with.  Lets hope they don't.
3279 i100|gt100|gt100a|General Terminal 100A (formerly Infoton 100):\
3280         :do=^J:cl=^L:cd=\EJ:ce=\EK:li#24:co#80:\
3281         :al=\EL:dl=\EM:up=\EA:nd=\EC:ho=\EH:cm=\Ef%r%+ %+ :vb=\Eb\Ea:\
3282         :am:le=^H:bs:so=\Eb:se=\Ea:
3283 i400|400|infoton 400:\
3284         :do=^J:al=\E[L:am:le=^H:bs:ce=\E[N:cl=\E[2J:cm=%i\E[%3;%3H:co#80:\
3285         :dl=\E[M:li#25:nd=\E[C:up=\E[A:im=\E[4h\E[2Q:ei=\E[4l\E[0Q:\
3286         :dc=\E[4h\E[2Q\E[P\E[4l\E[0Q:
3287 addrinfo:\
3288         :do=^J:li#24:co#80:cl=^L:ho=^H:nd=^Y:cd=^K:\
3289         :up=^\:am:le=^Z:bc=^Z:cm=\037%+\377%+\377:ll=^H^\:
3290 infotonKAS:\
3291         :do=^J:am:le=^Z:bc=^Z:cd=^K:cl=^L:co#80:li#24:nd=^Y:up=^\:ll=^H^\:
3292\f# --------------------------------
3293 #
3294 # k: HEATHKIT (ZENITH)
3295 #
3296 h19-a|h19a|heath-ansi|heathkit-a|heathkit h19 ansi mode:\
3297         :\
3298         :al=1*\E[1L:am:le=^H:bs:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%2;%2H:co#80:\
3299         :dc=\E[1P:dl=1*\E[1M:do=\E[1B:ei=\E[4l:ho=\E[H:im=\E[4h:li#24:mi:\
3300         :nd=\E[1C:as=\E[10m:ae=\E[11m:ms:pt:se=\E[0m:so=\E[7m:up=\E[1A:\
3301         :vs=\E[>4h:ve=\E[>4l:kb=^h:ku=\E[1A:kd=\E[1B:kl=\E[1D:kr=\E[1C:\
3302         :kh=\E[H:kn#8:k1=\EOS:k2=\EOT:k3=\EOU:k4=\EOV:k5=\EOW:l6=blue:\
3303         :l7=red:l8=white:k6=\EOP:k7=\EOQ:k8=\EOR:\
3304         :sr=\EM:is=\E<\E[>1;2;3;4;5;6;7;8;9l\E[0m\E[11m\E[?7h:
3305 h19-bs|h19bs|heathkit w/keypad shifted:\
3306         :ks=\Et:ke=\Eu:tc=h19-b:
3307 # written by David Shewmake, UCSF Medical Information Science
3308 # ucbvax!ucsfmis!shewmake
3309 h29|heath-29|z29|zenith-29:\
3310         :am:bc=\ED:bt=\E-:do=^J:\
3311         :al=\EL:le=^H:bs:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :co#80:dc=\EN:\
3312         :dl=1*\EM:do=\EB:ei=\EO:ho=\EH:im=\E@:li#24:mi:nd=\EC:as=\EF:ae=\EG:\
3313         :ms:pt:sr=\EI:se=\Eq:so=\Ep:up=\EA:vs=\Ex4:ve=\Ey4:\
3314         :kb=^H:ku=\EA:kd=\EB:kl=\ED:kr=\EC:kh=\EH:kn#1:k0=\E~:l0=HOME:\
3315         :k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:k8=\ER:k9=\E0I:\
3316         :es:hs:ts=\Ej\Ex5\Ex1\EY8%+ \Eo:fs=\Ek\Ey5:ds=\Ey1:us=\Es8:ue=\Es0:
3317 # the z29-e entry sucks...but it works with emacs
3318 z29-e|zenith 29 hacked for emacs:\
3319         :ip=1.5:ks=\Et:ke=\Eu:vs@:ve@:al=1*\EL:am:le=^H:\
3320         :bs:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :co#80:dc=\EN:dl=1*\EM:\
3321         :do=\EB:ho=\EH:li#24:nd=\EC:as=\EF:ae=\EG:ms:\
3322         :pt:sr=\EI:se=\Eq:so=\Ep:up=\EA:vs=\Ex4:ve=\Ey4:kb=^h:\
3323         :ku=\EA:kd=\EB:kl=\ED:kr=\EC:kh=\EH:kn#8:k1=\ES:k2=\ET:k3=\EU:\
3324         :k4=\EV:k5=\EW:l6=blue:l7=red:l8=white:k6=\EP:k7=\EQ:k8=\ER:es:hs:\
3325         :ts=\Ej\Ex5\Ex1\EY8%+ \Eo:fs=\Ek\Ey5:ds=\Ey1:
3326 # z29 in ansi mode. Assumes that the cursor is in the correct state, and that
3327 # the world is stable. `rs' causes the terminal to be reset to the state
3328 # indicated by the name. kc -> key click, nkc -> no key click, uc -> underscore
3329 # cursor, bc -> block cursor.
3330 # from Mike Meyers
3331 z29a|z29a-kc-bc|h29a-kc-bc|heath/zenith 29 in ansi mode:\
3332         :do=^J:co#80:li#24:cl=\E[2J:pt:ho=\E[H:\
3333         :le=^H:bs:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:mb=\E[5m:mr=\E7m:\
3334         :ce=\E[K:cd=\E[J:so=\E[7;2m:se=\E[m:us=\E[4m:ue=\E[m:mh=\E[2m:\
3335         :md=\E[2m:mr=\E[7m:mb=\E[5m:me=\E[m:\
3336         :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:\
3337         :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=^H:\
3338         :k1=\EOS:k2=\EOT:k3=\EOU:k4=\EOV:k5=\EOW:k6=\EOP:k7=\EOQ:k8=\EOR:\
3339         :k9=\EOX:k0=\E[~:l0=help:kn#2:ko=ho,cd:if=/usr/share/tabset/zenith29:\
3340         :es:hs:ts=\E[s\E[>5;1h\E[25;%i%dH\E[1K:fs=\E[u\E[>5l:ds=\E[>1l:\
3341         :cs=\E[%i%d;%dr:sr=\EM:sf=\ED:DO=\E[%dB:UP=\E[%dA:LE=\E[%dD:\
3342         :RI=\E[%dC:AL=\E[%dL:DL=\E[%dM:sc=\E[s:rc=\E[r:dc=\E[1P:DC=\E[%dP:\
3343         :kC=\E[J:ct=\E[3g:st=\EH:ti=\E[?7l:te=\E[?7h:ps=\E#7:
3344 z29a-kc-uc|h29a-kc-uc:\
3345         :rs=\E<\E[1;24r\E[24;1H\E[?7h\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m:\
3346         :tc=z29a:
3347 z29a-nkc-bc|h29a-nkc-bc:\
3348         :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:\
3349         :tc=z29a:
3350 z29a-nkc-uc|h29a-nkc-uc:\
3351         :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:\
3352         :tc=z29a:
3353 # z100 entry from Brad Brahms at TRW (Brahms@USC-ECLC)
3354 #                          usenet: {decvax,ucbvax}!trwrb!trwspp!brahms
3355 z100|h100|z110|z-100|h-100|heath/zenith z-100 pc with color monitor:\
3356         :vs=\Ex4\Em71:ve=\Ey4\Em70:tc=z100bw:
3357 z100bw|h100bw|z110bw|z-100bw|h-100bw|heath/zenith z-100 pc:\
3358         :al=5*\EL:bs:cd=\EJ:ce=\EK:cl=5*\EE:cm=1*\EY%+ %+ :co#80:dc=1*\EN:\
3359         :dl=5*\EM:do=\EB:ei=\EO:ho=\EH:im=\E@:li#24:mi:nd=\EC:as=\EF:ae=\EG:\
3360         :ms:pt:sr=\EI:se=\Eq:so=\Ep:up=\EA:vs=\Ex4:ve=\Ey4:\
3361         :kb=^h:ku=\EA:kd=\EB:kl=\ED:kr=\EC:kh=\EH:kn#10:\
3362         :k0=\EJ:k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:\k6=\EP:k7=\EQ:\
3363         :k8=\ER:k9=\EOI:
3364 p19:\
3365         :al=2*\EL:dl=2*\EM:tc=h19-b:
3366 h19-us|h19us|heathkit w/keypad shifted/underscore cursor:\
3367         :ks=\Et:ke=\Eu:tc=h19-u:
3368 h19|heath|h19-b|h19b|heathkit|heath-19|z19|zenith|heathkit h19:\
3369         :al=1*\EL:am:le=^H:bs:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :co#80:dc=\EN:\
3370         :dl=1*\EM:do=\EB:ei=\EO:ho=\EH:im=\E@:li#24:mi:nd=\EC:as=\EF:ae=\EG:\
3371         :ms:pt:sr=\EI:se=\Eq:so=\Ep:up=\EA:vs=\Ex4:ve=\Ey4:\
3372         :kb=^h:ku=\EA:kd=\EB:kl=\ED:kr=\EC:kh=\EH:kn#8:ke=\E>:ks=\E=:\
3373         :k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:\
3374         :l6=blue:l7=red:l8=white:k6=\EP:k7=\EQ:k8=\ER:\
3375         :es:hs:ts=\Ej\Ex5\Ex1\EY8%+ \Eo:fs=\Ek\Ey5:ds=\Ey1:
3376 h19-e|h19e|h19 for emacs:ip=1.5:tc=h19-us:
3377 h19-u|h19u|heathkit with underscore cursor:\
3378         :vs@:ve@:tc=h19-b:
3379 h19-g|h19g|heathkit w/block cursor:\
3380         :ve=\Ex4:tc=h19-b:
3381 # from ucscc!B.fiatlux@ucbvax.berkeley.edu
3382 ztx|ztx11|zt-1|htx11|ztx-1-a|ztx-10/11:\
3383         :al=\EL:am:bs:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :co#80:\
3384         :dl=\EM:do=^J:ho=\EH:is=\Ej\EH\Eq\Ek\Ev\Ey1\Ey5\EG\Ey8\Ey9\Ey>:\
3385         :k0=\ES:k1=\EB:k2=\EU:k3=\EV:k4=\EW:k5=\EP:k6=\EQ:k7=\ER:kb=^H:kd=\EB:\
3386         :kl=\ED:kr=\EC:ku=\EA:le=^H:li#24:nd=\EC:pt:se=\Eq:so=\Es5:\
3387         :sr=\EI:sr=\EI:ue=\Eq:up=\EA:us=\Es2:\
3388         :es:hs:ts=\Ej\Ex5\Ex1\EY8%+ \Eo:fs=\Ek\Ey5:ds=\Ey1:
3389\f# --------------------------------
3390 #
3391 # l: LEAR SIEGLER (ADM)
3392 #
3393 # If the adm31 gives you trouble with standout mode, check the DIP switch
3394 # in position 6, bank @c11, 25% from back end of pc.  Should be OFF.
3395 # If there is no such switch, you have an old adm31 and must use oadm31
3396 adm31|31|lsi adm31:\
3397         :is=\Eu\E0:do=^J:al=\EE:am:le=^H:bs:ce=\ET:cm=\E=%+ %+ :\
3398         :cl=\E*:cd=\EY:co#80:dc=\EW:dl=\ER:ei=\Er:ho=^^:im=\Eq:\
3399         :k0=^A0\r:k1=^A1\r:k2=^A2\r:k3=^A3\r:k4=^A4\r:\
3400         :k5=^A5\r:k6=^A6\r:k7=^A7\r:k8=^A8\r:k9=^A9\r:kd=^J:kl=^H:kr=^L:ku=^K:\
3401         :li#24:ma=j^Jk^P^K^Pl ^R^L^L :mi:nd=^L:\
3402         :se=\EG0:so=\EG1:up=^K:us=\EG1:ue=\EG0:
3403 adm2|lsi adm2:\
3404         :do=^J:al=\EE:am:le=^H:bs:cd=\EY:ce=\ET:cl=\E;:\
3405         :cm=\E=%+ %+ :co#80:dc=\EW:dl=\ER:\
3406         :ho=^^:ic=\EQ:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:li#24:nd=^L:up=^K:
3407 adm3|3|lsi adm3:\
3408         :do=^J:am:le=^H:bs:cl=^Z:li#24:ma=^K^P:co#80:
3409 adm42|42|lsi adm42:\
3410         :vs=\EC\E3 \E3(:do=^J:al=270\EE:am:le=^H:bs:cd=\EY:ce=\ET:cl=\E;:\
3411         :cm=\E=%+ %+ :co#80:dc=\EW:dl=\ER:ei=\Er:im=\Eq:ip=6*:li#24:\
3412         :bt=\EI:nd=^L:se=\EG0:so=\EG4:up=^k:ma=^K^P:pc=\177:
3413 adm5|5|lsi adm5:\
3414         :do=^J:cd=\EY:ce=\ET:do=^J:kb=^H:kh=^^:\
3415         :ma=^Hh^Jj^Kk^Ll^^H:se=\EG:sg#1:so=\EG:tc=adm3aplus:
3416 adm20|lear siegler adm20:\
3417         :am:li#24:co#80:bs:cl=^Z:cm=\E=%i%r%+^_%+^_:nd=^L:up=^K:ho=^^:ce=\ET:\
3418         :cd=\EY:al=\EE:dl=\ER:ic=\EQ:dc=\EW:so=\E):se=\E(:\
3419         :bt=\EI:pt:kn#7:k1=^A:k2=^B:k3=^W:k4=^D:k5=^E:k6:^X:k7=^Z:
3420 # From Andrew Scott Beals <bandy@lll-crg.ARPA>
3421 adm12|12|lsi adm12:\
3422         :is=\Eq:do=^J:al=\EE:am:le=^H:bs:ce=\ET:cm=\E=%+ %+ :cl=^Z:cd=\EY:\
3423         :co#80:dc=\EW:dl=\ER:ei=\Er:ho=^^:im=\Eq:\
3424         :k0=^A0\r:k1=^A1\r:k2=^A2\r:k3=^A3\r:k4=^A4\r:\
3425         :k5=^A5\r:k6=^A6\r:k7=^A7\r:k8=^A8\r:k9=^A9\r:kd=^J:kl=^H:kr=^L:ku=^K:\
3426         :li#24:ma=j^Jk^P^K^Pl ^R^L^L :mi:nd=^L:\
3427         :se=\EG0:so=\EG4:up=^K:us=\EG1:ue=\EG0:
3428 adm3a|3a|lsi adm3a:\
3429         :am:do=^J:le=^H:bs:cm=\E=%+ %+ :cl=1^Z:co#80:ho=^^:\
3430         :li#24:ma=^K^P:nd=^L:up=^K:
3431 adm3a+|3a+|adm3aplus:\
3432         :kl=^H:kd=^J:ku=^K:kr=^L:tc=adm3a:
3433 adm22|22|lsi adm22:\
3434         :is=\E%\014\014\014\016\003\000\003\002\003\002\000\000\000\000\000\000\000\000\000\000\000:\
3435         :al=\EE:am:bs:bt=\EI:cd=\Ey:ce=\Et:cl=\E+:cm=\000\E=%+ %+ :co#80:\
3436         :dc=\EW:dl=\ER:do=^J:ho=^^:ic=\EQ:\
3437         :k1=\001@\015:k2=\001A\015:k3=\001B\015:k4=\001C\015:\
3438         :k5=\001D\015:k6=\001E\015:k7=\001F\015:kn#7:\
3439         :ko=ho:l1=F1:l2=F2:l3=F3:l4=F4:l5=F5:l6=F6:l7=F7:\
3440         :kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:li#24:\
3441         :ma=j^Jk^P^K^Pl ^R^L^L :nd=^L:se=\E(:so=\E):ta=\Ei:up=^K:
3442 # From: stephen%comp.lancs.ac.uk@ucl-cs.arpa
3443 adm11|lsi adm11:\
3444         :do=^J:bs:\
3445         :cd=\EY:ce=\ET:kb=^H:kh=^^:\
3446         :ma=^Hh^Jj^Kk^Ll^^H:so=\E):se=\E(:\
3447         :kl=^H:kd=^J:ku=^K:kr=^L:\
3448         :am:cm=\E=%+ %+ :cl=^Z:co#80:li#24:nd=^L:up=^K:\
3449         :hs:ts=\EF\E):fs=\E(^M:ds=\Eh:
3450\f# --------------------------------
3451 #
3452 # m: MICROTERM
3453 #
3454 # These mime1 entries refer to the Microterm Mime I or Mime II.
3455 # The default mime is assumed to be in enhanced act iv mode.
3456 mime3a|mime1 emulating 3a:\
3457         :am@:ma=^X ^K^J^Z^P:ku=^Z:kd=^K:kl=^H:kr=^X:tc=adm3a:
3458 # New "safe" cursor movement (5/87) from reuss@umd5.  Prevents freakout with
3459 # out-of-range args on Sytek multiplexors.  No so and se since it gets confused
3460 # and it's too dim anyway.  No ic since Sytek insists ^S means xoff.
3461 act4|microterm|microterm act iv:\
3462         :am:bs:cd=2.2*^_:ce=.1*^~:cl=12^L:cm=^T%+^X%>/0%+P:co#80:li#24:\
3463         :le=^H:nd=^X:up=^Z:ho=^]:al=2.3*^A:do=^K:dc=.1*^D:dl=2.3*^W:\
3464         :ku=^Z:kd=^K:kl=^H:kr=^X:\
3465         :.so=^N:.se=^N:.ic=2^S:.ip=.1*^V:.cm=^T%.%.:
3466 # The padding on sr and ta for act5 and mime is a guess and not final.
3467 # The act 5 has hardware tabs, but they are in columns 8, 16, 24, 32, 41 (!)...
3468 microterm5|act5|microterm act v:\
3469         :uc=^H\EA:sr=3\EH:ku=^Z:kd=^K:kl=^H:kr=^X:ma=^Z^P^Xl^Kj:tc=act4:
3470 # Act V in split screen mode.  act5s is not tested and said not to work.
3471 act5s|skinny act5:\
3472         :ti=\EP:te=\EQ:li#48:co#39:tc=act5:
3473 # Mimes using brightness for standout.  Half bright is really dim unless
3474 # you turn up the brightness so far that lines show up on the screen.
3475 # uc is disabled to get around a curses bug, should be put back in someday.
3476 mime-fb|full bright mime1:\
3477         :so=^Y:se=^S:is=^S\E:tc=mime:
3478 mime-hb|half bright mime1:\
3479         :so=^S:se=^Y:is=^Y\E:tc=mime:
3480 mime|mime1|mime2|mimei|mimeii|microterm mime1:\
3481         :do=^J:al=80^A:am:le=^H:bs:cd=^_:ce=^^:cl=\035^C:cm=^T%+^X%> 0%+P:\
3482         :co#80:dl=80^W:ta=2^I:li#24:nd=^X:pt:uc=^U:up=^z:ho=\035:do=^K:\
3483         :is=^S\E^Q:ma=^X ^K^J^Z^P:ku=^Z:kd=^K:kl=^H:kr=^X:sr=3^R:vt#9:
3484 # These termcaps (for mime 2a) put the terminal in low intensity mode
3485 # since high intensity mode is so obnoxious.
3486 mime2a-s|microterm mime2a (emulating an enhanced soroc iq120):\
3487         :do=^J:al=20*^A:am:le=^H:bs:cd=20*\EJ:ce=\EK:cl=\EL:cm=\E=%+ %+ :\
3488         :us=\E6:ue=\E7:co#80:dc=\ED:\
3489         :dl=20*^W:kl=^H:kr=^L:ku=^K:kd=^J:ho=^^:is=\E):sr=\EI\
3490         :im=\EE:ei=^Z:ip=2:li#24:nd=^L:so=\E\072:se=\E;:up=\EI:
3491 # This is the preferred mode (but ^X can't be used as a kill character)
3492 mime2a|mime2a-v|microterm mime2a (emulating an enhanced vt52):\
3493         :do=^J:al=20*^A:le=^H:bs:cd=20*\EQ:co#80:ce=\EP:cl=\EL:cm=\EY%+ %+ :\
3494         :is=^Y:dc=^N:dl=20*^W:ip=2:ei=^Z:ho=\EH:im=^O:kd=\EB:kl=\ED:kr=\EC:\
3495         :ku=\EA:li#24:nd=\EC:pt:se=\E9:so=\E8:up=\EA:sr=\EA:us=\E4:ue=\E5:
3496 mime3ax|mime-3ax|mime1 emulating enhanced 3a:\
3497         :al=80^A:dl=80^W:pt:ce=^X:cd=^_:tc=mime3a:
3498\f# --------------------------------
3499 #
3500 # p: PERKIN ELMER
3501 #
3502 pe550|bantam|perkin elmer 550:\
3503         :do=^J:le=^H:bs:co#80:ce=20\EI:cl=20\EK:cm=\EX%+ \EY%+ :\
3504         :ho=\EH:li#24:ll=\EH\EA:nd=\EC:up=\EA:ma=^Z^P:cd=6^N@^V:
3505 fox|perkin elmer 1100:\
3506         :ct=\E3:st=\E1:do=^J:\
3507         :am:le=^H:bs:cd=5.5*\EJ:ce=\EI:cl=132\EH\EJ:co#80:ho=\EH:li#24:\
3508         :ll=\EH\EA:nd=\EC:cm=\EX%+ \EY%+ :up=\EA:vb=^P^B^P^C:
3509 owl|perkin elmer 1200:\
3510         :ct=\E3:st=\E1:do=^J:al=5.5*\EL:am:le=^H:\
3511         :bs:cd=5.5*\EJ:ce=5.5\EI:cl=132\EH\EJ:ho=\EH:ll=\EH\EA:\
3512         :cm=\EX%+ \EY%+ :co#80:dc=5.5*\EO:dl=5.5*\EM:ic=\EN:ip=5.5*:\
3513         :kb=^h:in:li#24:nd=\EC:up=\EA:se=\E!\200:so=\E!^H:vb=^P^B^P^C:\
3514         :k1=\ERA:k2=\ERB:k3=\ERC:k4=\ERD:k5=\ERE:k6=\ERF:\
3515         :k7=\ERG:k8=\ERH:k9=\ERI:k0=\ERJ:
3516\f# --------------------------------
3517 #
3518 # q: HOME MADE TERMINALS
3519 #
3520 bill croft homebrew:\
3521         :do=^J:am:le=^H:bs:cm=\E=%+ %+ :cl=^Z:co#96:ho=^^:li#72:\
3522         :nd=^L:up=^K:vb=:
3523 nucterm|rayterm|NUC homebrew:\
3524         :do=^J:am:le=^H:bs:cl=1^L:li#24:co#80:nd=^C:\
3525         :up=^N:ho=^B:ll=^K:ce=^A:cd=^E:
3526 ex3000:\
3527         :do=^J:li#24:co#80:ho=^Q:
3528 carlock|klc:\
3529         :do=^J:al=^E:am:bs:ce=^U:cl=100^Z:cm=\E=%+ %+ :co#80:dc=\177:dl=^D:\
3530         :ei=^T:ho=^^:im=^T:li#24:nd=^L:se=^V:so=^V:up=^K:vb=\EV\EV:
3531 # uVAX
3532 qdss|qdcons|qdss glass tty:\
3533         :am:do=^J:le=^H:bs:cm=\E=%.%.:cl=1^Z:co#128:li#57::nd=^L:up=^K:
3534 exidy|exidy2500|exidy sorcerer as dm2500:\
3535         :do=^J:al=^P^J^X:am:le=^H:bs:ce=^W:cl=^^:cm=^L%r%n%.%.:co#64:\
3536         :dc=\b:dl=^P^Z^X:dm=^P:ed=^X:ei=^X:ho=^B:ic=^\:\
3537         :im=^P:li#30:nd=^\:pt:so=^N:se=^X:up=^Z:
3538 netx|netronics:\
3539         :do=^J:le=^H:bs:cd=2000^F^E:ce=1600^E:cl=466^L:cm=\E=%+@%+@:\
3540         :co#64:ho=^D:li#16:ma=j^Jk^Pl :nd=\E+@A:pc=\200:sr=\E=@@^K:up=^K:
3541 # This came from the comp ctr who got it from some user.  Smart indeed!
3542 sexidy|exidy smart:\
3543         :do=^J:li#24:co#64:cl=^l:ho=^q:nd=^s:\
3544         :up=^w:le=^H:bs:le=^a:bc=^a:ma=^x^J:kd=^S:
3545 ubell|ubellchar:\
3546         :if=/usr/share/tabset/ubell:do=^J:am:le=^H:bs:pt:ce=\Ed:cl=^Z:\
3547         :cm=\E=%+ %+ :co#80:li#24:nd=^L:up=^K:ma=j^Jk^P^K^Pl :ho=^^:
3548 ttyWilliams:\
3549         :do=^J:co#80:li#12:le=^Y:bc=^Y:do=^K:up=^Z:cl=^^:ce=^_:am:ho=^]:nd=^X:
3550 xitex|xitex sct-100:\
3551         :do=^J:le=^H:bs:cd=2000^F^E:ce=1600^E:cl=400^L:cm=\E=%+@%+@:co#64:\
3552         :ho=^D:li#16:ma=j^Jk^Pl :nd=\E+@A:pc=\200:sr=\E=@@^K:up=^K:
3553\f# --------------------------------
3554 #
3555 # s: SPECIALS
3556 #
3557 # Special "terminals".  These are used to label tty lines when you don't
3558 # know what kind of terminal is on it.  The characteristics of an unknown
3559 # terminal are the lowest common denominator - they look about like a ti 700.
3560 # The last one, "other", is like unknown but it allows an escape from software
3561 # that insists that a "real" unknown terminal is merely so far unspecified.
3562 network:\
3563         :tc=unknown:
3564 arpanet:\
3565         :tc=unknown:
3566 bussiplexer:\
3567         :tc=unknown:
3568 dialup:\
3569         :tc=unknown:
3570 ethernet:\
3571         :tc=unknown:
3572 lpr|printer|print|printing|line printer:\
3573         :do=^J:le=^H:bs:co#132:hc:os:
3574 plugboard|patch|patchboard:\
3575         :tc=unknown:
3576 # See login.c for "su"
3577 dumb|su|unknown:\
3578         :am:co#80:do=^J:
3579 switch|intelligent switch:\
3580         :tc=unknown:
3581 ansi|any ansi terminal with pessimistic assumptions:\
3582         :co#80:li#24:cl=50\E[;H\E[2J:bs:am:cm=\E[%i%d;%dH:\
3583         :nd=\E[C:up=\E[A:ce=\E[K:ho=\E[H:pt:
3584 other|None of the above, but not exactly unknown:\
3585         :gn:cl=\r\n:ho=\r:am:co#80:do=^J:
3586\f# --------------------------------
3587 #
3588 # t: TEXAS INSTRUMENTS
3589 #
3590 ti700|ti733|735|ti735|ti silent 700:\
3591         :do=^J:le=^H:bs:co#80:hc:os:dC#162:
3592 ti745|745|743|ti silent 745:\
3593         :do=^J:le=^H:bs:co#80:hc:os:
3594 ti800|ti omni 800:\
3595         :do=^J:le=^H:bs:co#132:hc:os:
3596 # From lesleymw@topaz.berkeley.edu
3597 ti931|ti 931:\
3598         :al=\EN:am:bs:cd=\EJ:ce=\EI:cl=\EL:cm=\EY%+ %+ :co#80:dl=\EO:do=\EB:\
3599         :eo:ho=\EH:li#24:ku=\EA:kd=\EB:kr=\EC:kl=\ED:mi:nd:sf=\Eb:sr=\Ea:up=\EA:
3600\f# --------------------------------
3601 #
3602 # v: TELEVIDEO
3603 #
3604 # There are some tvi's that require incredible amounts of padding and
3605 # some that don't.  I'm assuming 912 and 920 are the old slow ones,
3606 # and 912b, 912c, 920b, 920c are the new ones that don't need padding.
3607 tvi912|912|920|tvi920|old televideo:\
3608         :ct=\E3:st=\E1:do=^J:\
3609         :al=33*\EE:le=^H:ce=\ET:cm=\E=%+ %+ :cl=^Z:co#80:dc=\EW:dl=33*\ER:\
3610         :kb=^H:ku=^K:kd=^J:kl=^H:kr=^L:k0=^AI\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:\
3611         :bs:am:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:\
3612         :ho=^^:ic=\EQ:li#24:nd=^L:pt:se=\Ek:so=\Ej:up=^K:us=\El:ue=\Em:\
3613         :ma=^K^P^L :sg#1:ug#1:if=/usr/share/tabset/stdcrt:
3614 # the 912 has a <funct> key that's like shift: <funct>8 xmits "^A8\r".
3615 # The 920 has this plus real function keys that xmit different things.
3616 # Termcap makes you use the funct key on the 912 but the real keys on the 920.
3617 912b|912c|tvi912b|tvi912c|tvi|new televideo 912:\
3618         :al=5*\EE:dl=5*\ER:tc=tvi912:
3619 920b|920c|tvi920b|tvi920c|new televideo 920:\
3620         :k0=^AI\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
3621         :k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:al=5*\EE:dl=5*\ER:tc=tvi912:
3622 # set to page 1 when entering ex (\E-17 )
3623 # reset to page 0 when exiting ex (\E-07 )
3624 tvi912-2p|tvi920-2p|912-2p|920-2p|tvi-2p|televideo w/2 pages:\
3625         :ti=\E-17 :te=\E-07 :tc=tvi912:
3626 tvi950-ap|tvi 950 w/alt pages:\
3627         :is=\E\\1:ti=\E-06 :te=\E-16 :tc=tvi950:
3628 tvi950-b|bare tvi950 no is:\
3629         :is@:tc=tvi950:
3630 tvi950-ns|tvi950 w/no standout:\
3631         :so@:se@:us@:ue@:tc=tvi950:
3632 tvi925|925|televideo model 925:\
3633         :hs:xn:am:bs:co#80:li#24:cm=\E=%+ %+ :cl=\E*:cd=\Ey:ce=\Et:is=\El\E":\
3634         :al=\EE:dl=\ER:ic=\EQ:dc=\EW:if=/usr/share/tabset/stdcrt:\
3635         :ho=^^:nd=^L:bt=\EI:pt:so=\EG4:se=\EG0:sg#1:us=\EG8:ue=\EG0:ug#1:\
3636         :up=^K:do=^V:kb=^H:ku=^K:kd=^V:kl=^H:kr=^L:kh=^^:ma=^V^J^L :\
3637         :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:\
3638         :k8=^AG\r:k9=^AH\r:k0=^AI\r:ko=ic,dc,al,dl,cl,ce,cd,bt:\
3639         :ts=\Ef:fs=^M\Eg:ds=\Eh:sr=\Ej:
3640 tvi925vb|925vb|televideo model 925 visual bells:\
3641         :vb=\Eb\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Ed:\
3642         :tc=tvi925:
3643 # Since the 925's uses a character position to store the escape sequences to go
3644 # in and out of both stand out and underline modes, screen positioning is
3645 # difficult.  The following 925 entries don't use these modes.
3646 tvi925n|925n|televideo model 925 no standout or underline:\
3647         :so@:se@:us@:ue@:tc=tvi925:
3648 tvi925vbn|925vbn|televideo model 925 visual bells no so or ul:\
3649         :vb=\Eb\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Ed:\
3650         :tc=tvi925n:
3651 # entry by Tim Curry 5/21/82 Univ. of Central Fla. duke!ucf-cs!tim
3652 925a|tvi925a|TeleVideo Model 925:\
3653         :al=\EE:am:bs:bt=\EI:bw:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :co#80:dc=\EW:\
3654         :dl=\ER:do=^V:ic=\EQ:if=/usr/share/tabset/std:kb=^H:kd=^V:\
3655         :kh=^^:kl=^H:kn#12:kr=^L:ku=^K:li#24:nd=^L:pt:se=\EG0:sg#1:so=\EG4:\
3656         :ue=\EG0:ug#1:up=^K:us=\EG8:is=\El\
3657         :vb=\Eb\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Ed:\
3658         :ve=\E.4:vs=\E.2:
3659 # The following tvi descriptions from B:pjphar and virus!mike
3660 # is for all 950's.  It sets the following attributes:
3661 # full duplex (\EDF)            write protect off (\E()
3662 # conversation mode (\EC)       graphics mode off (\E%)
3663 # white on black (\Ed)          auto page flip off (\Ew)
3664 # turn off status line (\Eg)    clear status line (\Ef\r)
3665 # normal video (\E0)            monitor mode off (\EX or \Eu)
3666 # edit mode (\Er)               load blank char to space (\Ee\040)
3667 # line edit mode (\EO)          enable buffer control (^O)
3668 # protect mode off (\E\047)     duplex edit keys (\El)
3669 # program unshifted send key to send line all (\E016)
3670 # program shifted send key to send line unprotected (\E004)
3671 # set the following to nulls:
3672 #       field delimiter (\Ex0\200\200)
3673 #       line delimiter (\Ex1\200\200)
3674 #       start-protected field delimiter (\Ex2\200\200)
3675 #       end-protected field delimiter (\Ex3\200\200)
3676 # set end of text delimiter to carriage return/null (\Ex4\r\200)
3677 # CHANGED 4-29-87 to set tabs and keep status line --John Kunze (jak@opal)
3678 tvi950|950|televideo950:\
3679         :ct=\E3:st=\E1:do=^J:\
3680         :is=\EDF\EC\Ed\EG0\Er\EO\E\047\E(\E%\Ew\EX\Ee ^O\
3681         \El\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\
3682         \Ex3\200\200\Ex4\r\200\Ef\r:if=/usr/share/tabset/stdcrt:\
3683         :al=\EE:am:le=^H:bs:bt=\EI:cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :\
3684         :co#80:dc=\EW:dl=\ER:do=^V:ei=\Er:ho=^^:im=\Eq:k0=^A0\r:\
3685         :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
3686         :k7=^AF\r:k8=^AG\r:k9=^AH\r:kb=^H:kd=^V:kh=^^:kl=^H:\
3687         :ko=ic\054dc\054al\054dl\054cl\054bt\054ce\054cd:kr=^L:\
3688         :ku=^K:li#24:ma=^Vj^Kk^Hh^Ll^^H:mi:ms:nd=^L:pt:se=\EG0:\
3689         :sg#1:so=\EG4:sr=\Ej:ue=\EG0:ug#1:up=^K:us=\EG8:\
3690         :vb=\Eb\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Ed:\
3691         :xn:hs:ts=\Eg\Ef:fs=\r:ds=\Eg\Ef\r:
3692 #
3693 # is for 950 with two pages adds the following:
3694 #       set 48 line page (\E\\2)
3695 #       place cursor at page 0, line 24, column 1 (\E-07 )
3696 #       set local (no send) edit keys (\Ek)
3697 #
3698 # two page 950 adds the following:
3699 #       when entering ex, set 24 line page (\E\\1)
3700 #       when exiting ex, reset 48 line page (\E\\2)
3701 #                        place cursor at 0,24,1 (\E-07 )
3702 #       set duplex (send) edit keys (\El) when entering vi
3703 #       set local (no send) edit keys (\Ek) when exiting vi
3704 #
3705 tvi950-2p|950-2p|televideo950 w/2 pages:\
3706         :is=\EDF\EC\Ed\EG0\Eg\Er\EO\E\047\E(\E%\Ew\EX\Ee ^O\
3707         \Ek\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\
3708         \Ex3\200\200\Ex4\r\200\E\\2\E-07 \
3709         :te=\E\\2\E-07 :ti=\E\\1\E-07 :ks=\El:ke=\Ek:tc=tvi950:
3710 #
3711 # is for 950 with four pages adds the following:
3712 #       set 96 line page (\E\\3)
3713 #       place cursor at page 0, line 24, column 1 (\E-07 )
3714 #
3715 # four page 950 adds the following:
3716 #       when entering ex, set 24 line page (\E\\1)
3717 #       when exiting ex, reset 96 line page (\E\\3)
3718 #                        place cursor at 0,24,1 (\E-07 )
3719 #
3720 tvi950-4p|950-4p|televideo950 w/4 pages:\
3721         :is=\EDF\EC\Ed\EG0\Eg\Er\EO\E\047\E(\E%\Ew\EX\Ee ^O\
3722         \Ek\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\
3723         \Ex3\200\200\Ex4\r\200\E\\3\E-07 \
3724         :te=\E\\3\E-07 :ti=\E\\1\E-07 :ks=\El:ke=\Ek:tc=tvi950:
3725 #
3726 # is for reverse video 950 changes the following:
3727 #       set reverse video (\Ed)
3728 #
3729 # set vb accordingly (\Ed ...nulls... \Eb)
3730 #
3731 tvi950-rv|950-rv|televideo950 rev video:\
3732         :is=\EDF\EC\Eb\EG0\Eg\Er\EO\E\047\E(\E%\Ew\EX\Ee ^O\
3733         \El\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\
3734         \Ex3\200\200\Ex4\r\200:\
3735         :vb=\Ed\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Eb:\
3736         :tc=tvi950:
3737 #
3738 # uses the appropriate entries from 950-2p and 950-rv
3739 #
3740 tvi950-rv-2p|950-rv-2p|televideo950 rev video w/2 pages:\
3741         :is=\EDF\EC\Eb\EG0\Eg\Er\EO\E\047\E(\E%\Ew\EX\Ee ^O\
3742         \Ek\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\
3743         \Ex3\200\200\Ex4\r\200\E\\2\E-07 :\
3744         :vb=\Ed\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Eb:\
3745         :te=\E\\2\E-07 :ti=\E\\1\E-07 :ks=\El:ke=\Ek:tc=tvi950:
3746 #
3747 # uses the appropriate entries from 950-4p and 950-rv
3748 #
3749 tvi950-rv-4p|950-rv-4p|televideo950 rev video w/4 pages:\
3750         :is=\EDF\EC\Eb\EG0\Er\EO\E\047\E(\E%\Ew\EX\Ee ^O\
3751         \Ek\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\
3752         \Ex3\200\200\Ex4\r\200\E\\3\E-07 :\
3753         :vb=\Ed\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Eb:\
3754         :te=\E\\3\E-07 :ti=\E\\1\E-07 :ks=\El:ke=\Ek:tc=tvi950:
3755 tvi924|924|televideo model 924:\
3756         :am:bs:xn:co#80:li#24:cm=\E=%+ %+ :cl=\E*0:cd=\Ey:ce=\Et:is=\Ek0\E"^O:\
3757         :al=\EE:dl=\ER:ic=\EQ:dc=\EW:if=/usr/share/tabset/stdcrt:ho=^^:\
3758         :nd=^L:bt=\EI:pt:so=\EG4:se=\EG0:us=\EG8:ue=\EG0:up=^K:do=^V:kb=^H:\
3759         :ku=^K:kd=^V:kl=^H:kr=^L:kh=^^:ma=^Vj^Kk^Ll^^H^R^L:k1=^A@\r:k2=^AA\r:\
3760         :k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:\
3761         :k0=^AI\r:ko=ic,dc,al,dl,cl,ce,cd,bt:sr=\Ej:\
3762         :hs:fs=^Y\Es1:ts=\Ef:ds=\Es0\Ef^Y:
3763 tvi924vb|924vb|televideo model 924 visual bells:\
3764         :vb=\Eb\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Ed:\
3765         :tc=tvi924:
3766 # tvipt termcap from armsis@amber (Gene Rochlin), 9/19/84.  Works with vi and
3767 # rogue.  NOTE: Esc v sets autowrap on, Esc u sets 80 char/line (rather than
3768 # 40), Esc K chooses the normal character set.  Not sure padding is needed, but
3769 # adapted from the tvi920c termcap.  so and us are klutzy, but at least use no
3770 # screen space.
3771 tvipt|televideopt:if=/usr/share/tabset/stdcrt:\
3772         :is=\Ev\Eu\EK:al=5*\EE:am:bs:bt=\EI:ce=\ET:cm=\E=%+ %+ :cl=^Z:co#80:\
3773         :dl=5*\ER:kb=^H:ku=^K:kd=^J:kl=^H:kr=^L:ho=^^:li#24:nd=^L:se=\EF:\
3774         :so=\EG1@A\EH:ue=\EF:us=\EG1B@\EH:up=^K:ma=^Kk^Ll^R^L:
3775 # Vanilla tvi910 -- W. Gish (cswarren@violet) 10/29/86
3776 tvi910|910|televideo model 910:if=/usr/share/tabset/stdcrt:\
3777         :bs:bt=\EI:cd=\EY:ce=\ET:cm=\E=%+ %+ :cl=^Z:co#80:\
3778         :kb=^H:ku=^K:kd=^J:kl=^H:kr=^L:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
3779         :k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:k0=^AI\r:\
3780         :li#24:nd=^L:pt:se=\EG0:so=\EG4:up=^K:us=\EG8:ue=\EG0:\
3781         :ho=\E=\001\001:ma=^Kk^Ll^R^L:sg#1:
3782 # from Alan R. Rogers (rogers%albany@csnet-relay)
3783 tvi910+|910+|televideo 910+:\
3784         :al=5*\EE:am:bs:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+\040%+\040:\
3785         :co#80:dc=\EW:dl=\ER:do=^J:ho=^^:ic=\EQ:\
3786         :if=/usr/share/tabset/stdcrt:k0=^A@\r:k1=^AA\r:k2=^AB\r:k3=^AC\r:\
3787         :k4=^AD\r:k5=^AE\r:k6=^AF\r:k7=^AG\r:k8=^AH\r:k9=^AI\r:kb=^H:\
3788         :kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:li#24:ll=\E=7\040:ma=^K^P^L\040:\
3789         :nd=^L:pt:se=\EG0:sg#1:so=\EG4:ue=\EG0:up=^K:us=\EG8:xn:
3790 # From Humberto Appleton, beto@cs.utexas.edu, 880521 UT Austin
3791 tvi970|970|televideo970:\
3792         :is=\E<\E[?21l\E[19h\E[1Q\E[10l\E[7l\E[H\E[2J:\
3793         :ae=\E(B:al=\E[L:as=\E(B:bs:bt=\E[Z:\
3794         :cd=\E[0J:ce=\E[0K:cl=\E[H\E[2J:cm=\E[%i%d;%df:co#80:\
3795         :da:db:dc=\E[P:dl=\E[M:do=\ED:ei=\E[4l:im=\E[4h:\
3796         :k1=\E?a:k2=\E?b:k3=\E?c:k4=\E?d:k5=\E?e:k6=\E?f:k7=\E?g:k8=\E?h:\
3797         :k9=\E?i:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
3798         :li#24:mi:ms:nd=\E[C:pt:se=\E[0m:sg#0:so=\E[7m:sr=\EM:\
3799         :ue=\E[0m:ug#0:up=\EM:us=\E[4m:vs=\E[1Q:\
3800         :vb=\E[5;m\200\200\200\200\200\200\200\200\200\E[0;m
3801 # From fair@ucbarpa  Sun Oct 27 07:21:05 1985
3802 ims950-b|bare ims950 no is:\
3803         :is@:tc=ims950:
3804 ims950-ns|ims950 w/no standout:\
3805         :so@:se@:us@:ue@:tc=ims950:
3806 ims950|ims televideo 950 emulation:\
3807         :k0@:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:k9@:kb@:kd@:kh@:kl@:ko@:kr@:ku@:\
3808         :vb@:xn@:tc=tvi950:
3809 ims950-rv|ims tvi950 rev video:\
3810         :k0@:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:k9@:kb@:kd@:kh@:kl@:ko@:kr@:ku@:\
3811         :vb@:xn@:tc=tvi950-rv:
3812 # From Andreas Stolcke <stolcke@icsi.berkeley.edu>
3813 tvi955|955|televideo955:\
3814         :ct=\E3:st=\E1:do=^J:\
3815         :rs=\EDF\EC\Eg\Er\EO\E\047\E(\Ew\EX\Ee ^O\
3816         \E0P\E6\200\E0p\E4\200\Ef\r:\
3817         :is=\E[=3l\EF1\Ed\EG0\E[=5l\E%\El:\
3818         :al=\EE:am:le=^H:bs:bt=\EI:cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :\
3819         :co#80:dc=\EW:dl=\ER:do=^V:ei=\Er:ho=^^:im=\Eq:k0=^A0\r:\
3820         :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
3821         :k7=^AF\r:k8=^AG\r:k9=^AH\r:kb=^H:kd=^V:kh=^^:kl=^H:\
3822         :ko=ic\054dc\054al\054dl\054cl\054bt\054ce\054cd:kr=^L:\
3823         :ku=^K:li#24:ma=^Vj^Kk^Hh^Ll^^H:mi:nd=^L:pt:se=\EG0:\
3824         :so=\EG4:sr=\Ej:ue=\EG0:up=^K:us=\EG8:\
3825         :vb=\Eb\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Ed:\
3826         :xn:hs:ts=\Eg\Ef:fs=\r:ds=\Eg\Ef\r:\
3827         :mb=\EG2:mh=\E[=5h:me=\EG0\E[=5l:mk=\EG1:mr=\EG4:\
3828         :ve=\E.2:vi=\E.0:vs=\E.1:\
3829         :xo:RX=^N:SX=^O:RA=\E[=7l:SA=\E[=7h:\
3830         :kA=\EE:kB=\EI:kC=\EY:kD=\EW:kE=\ET:kI=\EQ:kL=\ER:kM=\EQ:\
3831         :kN=\EK:kP=\EJ:kT=\E1:ka=\E3:kt=\E2:\
3832         :as=\E$:ae=\E%:ac=0_`RjHkGlFmEnIoPqKsQtMuLvOwNxJ:\
3833         :5i:ps=\EP:po=\E`:pf=\Ea:
3834 tvi955-w|955-w|televideo955 w/132 cols:\
3835         :is=\E[=3h\EF1\Ed\EG0\E[=5l\E%\El:\
3836         :co#132:tc=tvi955:
3837 # use half-intensity as normal mode, full intensity as bold (md)
3838 tvi955-hb|955-hb|televideo955 half-bright:\
3839         :is=\E[=3l\EF1\Ed\EG0\E[=5h\E%\El:\
3840         :mh@:md=\E[=5l:me=\EG0\E[=5h:\
3841         :tc=tvi955:
3842 ims-ansi|ultima2|ultimaII|IMS Ultima II:\
3843         :pt:am:bs:co#80:li#24:\
3844         :is=\E[0m\E[>14l\E[?1;?5;20l\E>\E[1m^M:if=/usr/share/tabset/vt100:\
3845         :cl=\E[;H\E[2J:cd=\E[0J:ce=\E[0K:cm=\E[%i%2;%2H:up=\EM:do=\ED:\
3846         :ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:kh=\E[H:\
3847         :so=\E[7m:se=\E[0m\E[1m:us=\E[4m:ue=\E[0m\E[1m:sr=\EM:
3848\f# --------------------------------
3849 #
3850 # w: WYSE
3851 #
3852 # The wy{30,50,75,85} entries are recommended by
3853 #       Wyse Technology
3854 #       3571 North First Street
3855 #       San Jose, CA 95134
3856 # Entries for the wy60 and wy99 are only based on Wyse's recommendations.
3857 #
3858 # Advice on the Wyse 30 and 50 standout mode glitch:
3859 #                       (from steve@omni.com or ...pyramid!koosh!steve)
3860 #
3861 # These terminals support a "PROTECT" sequence on/off that has no
3862 # standout-glitch (xmc), while the regular "attribute" stuff enabled
3863 # with <ESC>G'some-character' gives a 1-space glitch.
3864 #
3865 # All but the very old revision firmware on both terminals support a
3866 # visible PROTECT attribute that's selectable by the ol' SETUP menu.
3867 # (The older rev. terminals do support PROTECT attribute but only
3868 #  have the options REGULAR and DIM)
3869 #
3870 # Get into your terminal's SETUP menu, and down-key to the 5'th
3871 # menu (on a wyse 30; I think 3'rd or 4'th on a wyse 50) and
3872 # right-key over to the PROTECT item.
3873 #
3874 # Change PROTECT to REVERSE or REVERSE/DIM, and go over to the next
3875 # item -- ATTRIBUTE and change it to LINE;  then save the changes for
3876 # power-on.  (ATTRIBUTE change isn't necessary but looks a whole lot
3877 # nicer to the eye when inverting the remainder of a line rather then
3878 # the rest of the screen!).
3879 #
3880 # The next thing to do is change your /usr/lib/something?/terminfo/w/wyse50
3881 # so that it uses the proper escape sequences to turn on/off the protect
3882 # sequence rather than the very-ugly \EG4 and \EG0.
3883 #
3884 # Change standout to \E), standend to \E(, and glitch to 0, which means
3885 # changing the so, se, and sg fields to :so=\E):se=\E(:sg#0:
3886 #
3887 wy30|wyse30|Wyse 30:\
3888         :am:bw:hs:mi:xo:bs:pt:\
3889         :co#80:li#24:sg#1:ug#1:kn#9:\
3890         :ae=\EG0\EH^C:al=2\EE:as=\EG0\EH^B:bt=\EI:cd=80\Ey:\
3891         :ce=\Et:cl=80\E*:cm=\E=%+ %+ :ct=\E0:dc=10\EW:dl=1\ER:\
3892         :ds=\EF\r:ei=\Er:fs=\r:ho=^^:im=\Eq:ip=2:\
3893         :is=\E'\E(\E\^3\E`9^N^T:k1=^A@\r:k2=^AA\r:k3=^AB\r:\
3894         :k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:kb=\b:\
3895         :kd=\n:kh=^^:kl=\b:kr=\f:ku=^K:nd=\f:se=\EG0:so=\EG4:\
3896         :sr=3\Ej:st=\E1:ts=\EF:ue=\EG0:up=^K:us=\EG8:ve=\E`1:\
3897         :pf=^T:po=^R:\
3898         :vi=\E`0:ko=bt,le,do,nd,up,dc,dl,ho,al:
3899 wy30-vb|wyse30-vb|wyse 30 visual bell:\
3900         :vb=\E`8\E`\072\E`9:\
3901         :tc=wy30:
3902 wy50|wyse50|Wyse 50:\
3903         :am:bw:hs:mi:xo:bs:pt:\
3904         :co#80:li#24:sg#1:ug#1:kn#9:\
3905         :ae=\EG0\EH^C:al=\EE:as=\EG0\EH^B:bt=\EI:cd=20\Ey:\
3906         :ce=\Et:cl=20\E*:cm=\E=%+ %+ :ct=\E0:dc=1\EW:dl=\ER:\
3907         :ds=\EF\r:ei=\Er:fs=\r:ho=^^:i1=30\E`\072\E`9:im=\Eq:\
3908         :ip=1:is=^N^T\E'\E(:k1=^A@\r:k2=^AA\r:k3=^AB\r:\
3909         :k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:\
3910         :k9=^AH\r:kb=\b:kd=\n:kh=^^:kl=\b:kr=\f:ku=^K:nd=\f:\
3911         :se=\EG0:so=\EGt:sr=\Ej:st=\E1:ts=\EF:ue=\EG0:up=^K:\
3912         :us=\EG8:ve=\E`1:vi=\E`0:\
3913         :pf=^T:po=^R:\
3914         :ko=bt,le,do,nd,up,dc,dl,ho,al:
3915 wy50-vb|wyse50-vb|wyse 50 visual bell:\
3916         :vb=\E`8\E`\072\E`9:\
3917         :tc=wy50:
3918 wy50-w|wyse50-w|wyse 50 132-column:\
3919         :cm=\Ea%i%dR%dC:co#132:dc=2\EW:i1=\E`;\E`9:\
3920         :tc=wy50:
3921 wy50-wvb|wyse50-wvb|wyse 50 132-column visual bell:\
3922         :cm=\Ea%i%dR%dC:co#132:dc=2\EW:i1=\E`;\E`9:\
3923         :vb=\E`8\E`;\E`9:\
3924         :tc=wy50:
3925 # from John Gillmore hoptoad!gnu@lll-crg.arpa
3926 wyse-vp|wyse|Wyse 50 in ADDS Viewpoint emulation mode with "enhance" on:\
3927         :am:do=^J:if=/usr/share/tabset/wyse-adds:\
3928         :le=^H:bs:li#24:co#80:cm=\EY%+ %+ :cd=\Ek:ce=\EK:nd=^F:\
3929         :up=^Z:cl=^L:ho=^A:ll=^A^Z:kl=^U:kr=^F:kd=^J:ku=^Z:kh=^A:\
3930         :pt:so=^N:se=^O:us=^N:ue=^O:dl=\El:al=\EM:im=\Eq:ei=\Er:dc=\EW:\
3931         :is=\E`\072\E`9^O\Er:rs=\E`\072\E`9^O\Er:
3932 wyse-vp-nk|Wyse 50 in ADDS Viewpoint enhanced mode with cursor keys gone:\
3933         :kl@:kr@:kd@:ku@:kh@:tc=wyse-vp:
3934 wyse925|Wyse-50 emulating tvi925:\
3935         :xn@:tc=tvi925:
3936 # Wyse 60 in 24 row native mode.
3937 # This termcap is a composite of entries submitted by Steve Van Domelen
3938 # (Wyse Tech, svd@bigboy.wyse.com) and Douglas Good (doug@cli.com).
3939 # Merged by Paul Vojta (vojta@math.berkeley.edu).
3940 wy60|wyse60|Wyse 60 in native mode:\
3941         :ae=\EH^C:al=4\EE:am:as=\EH^B:bl=^G:bs:bt=\EI:bw:cd=100\Ey:ce=\Et:\
3942         :cl=100\E*:cm=\E=%+ %+ :co#80:ct=\E0:da:db:dc=11\EW:dl=5\ER:do=^J:\
3943         :ds=\EF\r:ei=\Er:fs=\r:ho=^^:hs:if=/usr/share/tabset/std:im=\Eq:ip=3:\
3944         :is=\Ed$\EcD\E'\Er\EH^C\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1^N^T\EwG\Ew0^^^K:\
3945         :it#8:k0=^A@\r:k1=^AA\r:k2=^AB\r:k3=^AC\r:k4=^AD\r:k5=^AE\r:k6=^AF\r:\
3946         :k7=^AG\r:k8=^AH\r:k9=^AI\r:kb=\b:kd=\EOB:ke=200\EcU:kh=\E{:kl=\EOD:\
3947         :kn#10:ko=bt,le,do,nd,up,dc,dl,ho,al:kr=\EOC:\
3948         :ks=200\EZ0+\EOA\177\EZ0,\EOB\177\EZ0.\EOC\177\EZ0-\EOD\177\EZ0*\E{\177:\
3949         :ku=\EOA:l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:l8=F9:l9=F10:\
3950         :le=\b:li#24:ll=^^^K:mb=\EG2:me=\EG0:mh=\EGp:mi:mr=\EG4:ms:nd=\f:pf=^T:\
3951         :po=^R:pt:rs=500\E~!\E~4\E`\:\EeF\Ee(\EwG:se=\EG0:sf=^J:so=\EGt:\
3952         :sr=7\Ej:st=\E1:ts=\EF:ue=\EG0:up=^K:us=\EG8:
3953 #       Must delete tc= if using infocomp to translate
3954 wy60-w|wyse60-w|wyse 60 132-column:\
3955         :co#132:cm=\Ea%i%dR%dC:dc=16\EW:ip=5:\
3956         :rs=500\E~!\E~4\EeF\E`;\Ee(\EwG:tc=wy60:
3957 wy60-25|wyse60-25|wyse 60 80-column 25-lines:\
3958         :li#25:\
3959         :rs=500\E~!\E~4\E`\:\EeG\Ee)\EwG:tc=wy60:
3960 wy60-25-w|wyse60-25-w|wyse 60 132-column 25-lines:\
3961         :co#132:li#25:cm=\Ea%i%dR%dC:dc=16\EW:ip=5:\
3962         :rs=500\E~!\E~4\EeF\E`;\Ee)\EwG:tc=wy60:
3963 wy60-42|wyse60-42|wyse 60 80-column 42-lines:\
3964         :li#42:al=11\EE:cd=260\Ey:cl=260\E*:cm=2\E=%+ %+ :dc=16\EW:\
3965         :dl=11\ER:ip=5:sr=10\Ej:\
3966         :rs=500\E~!\E~4\E`\:\EeF\Ee*\EwG:tc=wy60:
3967 wy60-42-w|wyse60-42-w|wyse 60 132-column 42-lines:\
3968         :co#132:li#42:al=11\EE:cd=260\Ey:cl=260\E*:cm=2\Ea%i%dR%dC:dc=19\EW:\
3969         :dl=11\ER:ho=2^^:ip=6:sr=10\Ej:\
3970         :rs=500\E~!\E~4\EeF\E`;\Ee*\EwG:tc=wy60:
3971 wy60-43|wyse60-43|wyse 60 80-column 43-lines:\
3972         :li#43:al=11\EE:cd=260\Ey:cl=260\E*:cm=2\E=%+ %+ :dc=16\EW:\
3973         :dl=11\ER:ip=5:sr=10\Ej:\
3974         :rs=500\E~!\E~4\E`\:\EeF\Ee+\EwG:tc=wy60:
3975 wy60-43-w|wyse60-43-w|wyse 60 132-column 43-lines:\
3976         :co#132:li#43:al=11\EE:cd=260\Ey:cl=260\E*:cm=2\Ea%i%dR%dC:dc=19\EW:\
3977         :dl=11\ER:ho=2^^:ip=6:sr=10\Ej:\
3978         :rs=500\E~!\E~4\EeF\E`;\Ee+\EwG:tc=wy60:
3979 #       Not recommended at high baud rates
3980 wy60-vb|wyse60-vb|Wyse 60 visual bell:\
3981         :vb=\E`8\E`9:\
3982         :tc=wy60:
3983 wy60-w-vb|wy60-wvb|wyse60-w-vb|Wyse 60 132-column visual bell:\
3984         :vb=\E`8\E`9:\
3985         :tc=wy60-w:
3986 #       The following switch screens for vi and emacs
3987 wy60-s|wyse60-s|Wyse 60 with screen switching:\
3988         :te=50^Z\Ew0:ti=50\Ew1:tc=wy60:
3989 wy60-w-s|wyse60-w-s|Wyse 60 132-column with screen switching:\
3990         :te=50^Z\Ew0:ti=50\Ew1:tc=wy60-w:
3991 wy60-nt|wyse60-nt|Wyse 60 with broken tab support:\
3992         :pt@:tc=wy60:
3993 #
3994 #       The Wyse 75 is a vt100 lookalike without advanced video.
3995 #
3996 #          The Wyse 75 can support one attribute (e.g. Dim, Inverse,
3997 #       Underline) without magic cookies.  The following description
3998 #       uses this capability, but when more than one attribute is
3999 #       put on the screen at once, all attributes will be changed
4000 #       to be the same as the last attribute given.
4001 #          The Wyse 75 can support more attributes when used with magic
4002 #       cookies.  The wy75-mc terminal description uses magic cookies
4003 #       to correctly handle multiple attributes on a screen.
4004 #
4005 wy75|wyse75|wyse 75:\
4006         :am:hs:mi:ms:xn:xo:bs:pt:\
4007         :co#80:li#24:pb#1201:kn#6:\
4008         :AL=2*\E[%dL:DC=3*\E[%dP:DL=1*\E[%dM:DO=\E[%dB:\
4009         :IC=1*\E[%d@:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:\
4010         :al=2\E[L:as=\E[0m^N:bt=\E[1Z:cd=30\E[J:ce=3\E[K:\
4011         :ch=\E[%i%dG:cl=30\E[H\E[J:cm=\E[%i%d;%dH:\
4012         :cs=2\E[%i%d;%dr:ct=\E[3g:dc=3\E[P:dl=\E[M:\
4013         :ds=\E[>,^A^A\E[>-^A^A:ei=\E[4l:fs=^A:ho=\E[H:\
4014         :im=\E[4h:ip=1:is=\E>\E[?7;?8h\E[4;?1l^O\E)0:kb=\b:\
4015         :kd=\E[B:ke=\E[?1l\E>:kh=\E[H:kl=\E[D:kr=\E[C:\
4016         :ks=\E[?1l\E[?7h\E=:ku=\E[A:nd=\E[C:r1=\E7\E[1;24r\E8:\
4017         :r2=20\E[0m\E[35;?7;?8h\E[30;?1l:r3=80\E[?3l:rc=\E8:\
4018         :sc=\E7:se=\E[0m:so=\E[1t\E[7m:sr=2\EM:st=\EH:\
4019         :ts=\E[>,^A:ue=\E[0m:up=\E[A:us=\E[2t\E[4m:ve=\E[?25h:\
4020         :po=\E[5i:pf=\E[4i:\
4021         :vi=\E[?25l:ko=nd,up,dl,ce,ho,al:
4022 #
4023 #       This terminal description uses the non-hidden attribute mode
4024 #       (with magic cookie).
4025 #
4026 wy75-mc|wyse75-mc|wyse 75 with magic cookies:\
4027         :ae=\E[0p^O:as=\E[0p^N:ms@:r2=20\E[0p\E[35;?7;?8h\E[30;?1l:\
4028         :se=\E[0p:sg#1:so=\E[17p:ue=\E[0p:ug#1:us=\E[8p:\
4029         :tc=wy75:
4030 wy75-vb|wyse75-vb|wyse 75 with visual bell:\
4031         :vb=\E[30h\E,\E[30l:\
4032         :tc=wy75:
4033 wy75-w|wyse75-w|wyse 75 in 132 column mode:\
4034         :co#132:r3=80\E[?3h:\
4035         :tc=wy75:
4036 wy75-wvb|wyse75-wvb|wyse 75 with visual bell 132 columns:\
4037         :co#132:r3=80\E[?3h:vb=\E[30h\E,\E[30l:\
4038         :tc=wy75:
4039 #
4040 wy75ap|wyse75ap|wy-75ap|wyse-75ap|Wyse WY-75 Applications and Cursor keypad:\
4041         :is=\E[1;24r\E[?10;3l\E[?1;25h\E[4l\E[m\E(B\E=:\
4042         :kd=\EOB:ke=10\E[?1l\E>:kh=\EOH:kl=\EOD:kr=\EOC:\
4043         :ks=10\E[?1h\E=:ku=\EOA:\
4044         :tc=wyse75:
4045 #
4046 #       Wyse 85 emulating a vt220 7 bit mode.
4047 #               24 line screen with status line.
4048 #
4049 #       The vt220 mode permits more function keys but it wipes out
4050 #       the escape key.  I strongly recommend that f11 be set to
4051 #       escape (esc).
4052 #       The terminal may have to be set for 8 data bits and 2 stop
4053 #       bits for the arrow keys to work.
4054 #       The Wyse 85 runs faster with XON/XOFF enabled.  Also the
4055 #       (dch) and (ich) work best when XON/XOFF is set.  (ich) and
4056 #       (dch) leave trash on the screen when used without XON/XOFF.
4057 #
4058 wy85|wyse85|wyse 85:\
4059         :am:hs:mi:ms:xn:xo:bs:pt:\
4060         :co#80:li#24:kn#3:\
4061         :AL=5*\E[%dL:DC=3*\E[%dP:DL=3*\E[%dM:DO=\E[%dB:\
4062         :IC=4*\E[%d@:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:\
4063         :al=5\E[L:as=^N:bt=\E[Z:cd=110\E[J:ce=\E[K:\
4064         :cl=110\E[H\E[J:cm=1\E[%i%d;%dH:cs=\E[%i%d;%dr:\
4065         :ct=\E[3g:dc=3\E[P:dl=3\E[M:ds=\E[40l:ei=\E[4l:\
4066         :fs=\E[1;24r\E8:ho=\E[H:\
4067         :i1=\E[62;1"p\E7\E[?6l\E8\E[?5W:im=\E[4h:ip=3:\
4068         :is=16\E[2;4;20;30l\E[?1;4;10;16l\E[12;36h\E[?7;8;25h:\
4069         :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
4070         :kb=\b:kd=\E[B:ke=\E>:kh=\E[26~:\
4071         :kl=\E[D:kr=\E[C:ks=\E[?1l\E=:ku=\E[A:l1=PF1:l2=PF2:\
4072         :l3=PF3:l4=PF4:nd=\E[C:\
4073         :r1=\E<\E[3;13l\E[!p\E7\E[1;24r\E8\E(B:\
4074         :r2=70\E[35h\E[?3l:rc=\E8:sc=\E7:se=\E[m:so=\E[1m:\
4075         :sr=3\EM:st=\EH:ts=\E[40h\E7\E[25;%i%dH:ue=\E[m:\
4076         :up=\E[A:us=\E[4m:ve=\E[?25h:vi=\E[?25l:nl=\E[B:\
4077         :po=\E[5i:pf=\E[4i:\
4078         :ko=do,nd,up:
4079 #
4080 #       Wyse 85 with visual bell.
4081 wy85-vb|wyse85-vb|wyse 85 with visual bell:\
4082         :vb=\E[30h\E,\E[30l:\
4083         :tc=wy85:
4084 #
4085 #       Wyse 85 in 132-column mode.
4086 wy85-w|wyse85-w|wyse 85 in 132-column mode:\
4087         :co#132:\
4088         :r2=120\E[35h\E[?3h:\
4089         :tc=wy85:
4090 #
4091 #       Wyse 85 in 132-column mode with visual bell.
4092 wy85-wvb|wyse85-wvb|wyse 85 with visual bell 132-columns:\
4093         :vb=\E[30h\E,\E[30l:\
4094         :tc=wy85:
4095 # From pett@cgl.ucsf.edu
4096 wy99|wyse-99gt|wyse99gt|wyse 99GT, 80 col, native mode:\
4097         :is=\E\140\072\Ee(\Ew1\Ee-\Ee$\Ee'\EeT^T:ct=\E0:st=\E1:gn:\
4098         :li#24:co#80:bl=^G:am:bw:ul:hs:as=\EcE:ae=\EcD:bt=\EI:\
4099         :ma=^Kj^Jk^Hh^Ll^^H:cm=\Ea%i%2R%3C:it#8:\
4100         :vs=^^\EY\E\140\072:vi=\E`0:es:ws#80:\
4101         :lm#0:md=\Ee1\EG6:me=\Ee0\E(:mh=\Ee1\EGb:mb=\Ee1\EG2:\
4102         :mk=\Ee1\EG1:mp=\E):mr=\Ee1\EG4:pf=^T:po=\EP\E7:ps=:\Ed&\E7\
4103         :fs=\004:ds=\EA31:i2=\EA30:vb=\E\1361\E\1360:da:db:sf=^J:sr=\Ej:\
4104         :ts=\EF:cl=^Z:ce=\ET:cd=\EY:al=\EE:dl=\ER:dc=\EW:\
4105         :so=\EGt:se=\EG0:sg#1:ue=\EG0:us=\EG8:ug#1:ll=\Ea24R1C:\
4106         :pt:bs:nd=^L:up=^K:do=^J:ho=^^:kl=^H:kr=^L:ku=^K:kd=^J:kh=^^:kn#20:\
4107         :ei=\Er:im=\Eq:mi:if=/usr/share/tabset/stdcrt:\
4108         :k1=^A@^M:k2=^AA^M:k3=^AB^M:k4=^AC^M:k5=^AD^M:\
4109         :k6=^AE^M:k7=^AF^M:k8=^AG^M:k9=^AH^M:k0=^AI^M:\
4110         :l1=^A`^M:l2=^Aa^M:l3=^Ab^M:l4=^Ac^M:l5=^Ad^M:\
4111         :l6=^Ae^M:l7=^Af^M:l8=^Ag^M:l9=^Ah^M:l0=^Ai^M:
4112 # From freudent@eric.ultra.nyu.edu (Eric Freudenthal)
4113 wy100q|Wyse 100 for Quotron:\
4114         :al=\EE:bs:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :co#80:\
4115         :dc=\EW:dl=\ER:do=^J:ei=\Er:im=\Eq:is=\E`\072\200\EC\EDF\E0\E'\E(\EA21:\
4116         :kd=^J:kl=^H:kr=^L:ku=^K:li#24:nd=^L:up=^K:us=\EG8:ue=\EG0:\
4117         :so=\EG4:se=\EG0:sg#1:sr=\Ej:ho=^^:ug#1:
4118 # Wyse 120 definitions from conf/81882 by Meister des Chaos <meister@netz00.com>
4119 wy120|wyse120|wy150|wyse150|Wyse 120/150:\
4120         :am:bw:hs:km:mi:ms:xo:\
4121         :co#80:it#8:li#24:pb#9601:ws#45:\
4122         :ae=\EcD:al=\EE:as=\EcE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:\
4123         :cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:\
4124         :ei=\Er:fs=^M:ho=^^:i1=\EcB0\EcC1:i2=\EwJ\Ew1:im=\Eq:ip=:\
4125         :is=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El:\
4126         :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
4127         :k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\EQ:kN=\EK:kP=\EJ:\
4128         :kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:ll=^^^K:mb=\EG2:\
4129         :me=\E(\EH\003\EG0\EcD:mh=\EGp:mr=\EG4:nd=^L:nw=\r\n:\
4130         :se=\EG0:sf=\n:so=\EGt:sr=\Ej:st=\E1:ta=\011:te=\Ew1:\
4131         :ti=\Ew0:ts=\EF:ue=\EG0:up=^K:us=\EG8:vb=\E`8\E`9:ve=\E`1:\
4132         :vi=\E`0:
4133 wy120-w|wyse120-w|wy150-w|wyse150-w|wyse 120/150 132-column:\
4134         :cm=\Ea%i%dR%dC:co#132:ws#97:tc=wy120:
4135 wy120-25|wyse120-25|wy150-25|wyse150-25|wyse 120/150 80-column 25-lines:\
4136         :li#25:tc=wy120:
4137 wy120-25-w|wyse120-25-w|wy150-25-w|wyse150-25-w|wyse 120/150 132-column 25-lines:\
4138         :cm=\Ea%i%dR%dC:co#132:li#25:ws#97:tc=wy120:
4139 wy120-vb|wyse120-vb|wy150-vb|wyse150-vb|Wyse 120/150 visible bell:\
4140         :bl@:tc=wy120:
4141 wy120-w-vb|wy120-wvb|wyse120-wvb|wy150-w-vb|wyse150-w-vb|Wyse 120/150 132-column visible bell:\
4142         :bl@:cm=\Ea%i%dR%dC:co#132:ws#97:tc=wy120:
4143\f# --------------------------------
4144 #
4145 # y: TELERAY
4146 #
4147 # Note two things called "teleray".  Reorder should move the common one
4148 # to the front if you have either.  A dumb teleray with the cursor stuck
4149 # on the bottom and no obvious model number is probably a 3700.
4150 t3700|teleray|dumb teleray 3700:\
4151         :do=^J:le=^H:bs:cl=^L:co#80:li#24:
4152 t3800|teleray 3800 series:\
4153         :do=^J:le=^H:bs:cd=\EJ:ce=\EK:cl=^L:cm=\EY%+ %+ :co#80: \
4154         :do=\n:ho=\EH:li#24:ll=\EY7 :nd=\EC:pt:up=^K:
4155 t1061|teleray 1061:\
4156         :if=/usr/share/tabset/teleray:\
4157         :ct=\EG:st=\EF:do=^J:\
4158         :al=2*\EL:am:le=^H:bs:cd=1\EJ:ce=\EK:cl=1^L:cm=\EY%+ %+ :co#80:\
4159         :dc=\EQ:dl=2*\EM:ho=\EH:ic=\EP:ip=0.4*:\
4160         :k1=^Z1:k2=^Z2:k3=^Z3:k4=^Z4:k5=^Z5:k6=^Z6:k7=^Z7:k8=^Z8:\
4161         :li#24:nd=\EC:pt:se=\ER@:so= \ERD:\
4162         :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:\
4163         :up=\EA:us=\ERH:ue=\ER@:xs:xt:sg#2:ug#1:
4164 # "Teleray Arpa Special", officially designated as
4165 # "Teleray Arpa network model 10" with "Special feature 720".
4166 # This is the new (1981) fast microcode updating the older "arpa" proms
4167 # (which gave meta-key and pgmmable-fxn keys).  720 is much much faster,
4168 # converts the keypad to programmable function keys, and has other goodies.
4169 # Standout mode is still broken (magic cookie, etc) so is suppressed as no
4170 # programs handle such lossage properly.
4171 # Note: this is NOT the old termcap's "t1061f with fast proms."
4172 # From Univ of Utah, J.Lepreau  Tue Feb  1 06:39:37 1983
4173 # lepreau@utah-cs, harpo!utah-cs!lepreau
4174 #
4175 t10|teleray 10 special:\
4176         :so@:se@:us@:ue@:\
4177         :al=\EL:bs:cd=\EJ:ce=\EK:cl=30\Ej:cm=\EY%+ %+ :co#80:\
4178         :dc=\EQ:dl=\EM:ho=\EH:ic=\EP:km:li#24:nd=\EC:pc=\200:pt:\
4179         :se=\ER@:so=\ERD:sf=\Eq:sg#2:sr=\Ep:up=\EA:ug#1:ue=\ER@:us=\ERH:\
4180         :xs:xt:
4181 t1061f|teleray 1061 with fast PROMs:\
4182         :al=\EL:ip@:dl=\EM:tc=t1061:
4183\f# --------------------------------
4184 #
4185 # z: Miscellaneous
4186 #
4187 wind:\
4188         :bs:cm=\Ep%r%.%.:cl=\En\120\030\Eo:co#80:\
4189         :ho=\Ep\200\200:li#24:nd=^L:up=^K:nl=\035:\
4190         :kl=\E3:kr=\E4:ku=\E1:kd=\E2:k1=\E5:k2=\E6:k3=\E7:k4=\E8:\
4191         :so=\Em\014:se=\Em\003:
4192 wind16:\
4193         :bs:cm=\Ep%r%.%.:cl=\En\120\020\Eo:co#80:\
4194         :ho=\Ep\200\200:li#16:nd=^L:up=^K:nl=\035:\
4195         :so=\Em\014:se=\Em\003:
4196 wind40:\
4197         :bs:cm=\Ep%r%.%.:cl=\En\120\050\Eo:co#80:\
4198         :ho=\Ep\200\200:li#40:nd=^L:up=^K:nl=\035:\
4199         :so=\Em\014:se=\Em\003:
4200 wind50:\
4201         :bs:cm=\Ep%r%.%.:cl=\En\128\062\Eo:co#88:\
4202         :ho=\Ep\200\200:li#50:nd=^L:up=^K:nl=\035:\
4203         :kl=\E3:kr=\E4:ku=\E1:kd=\E2:k1=\E5:k2=\E6:k3=\E7:k4=\E8:\
4204         :so=\Em\014:se=\Em\003:
4205 cad68-3|cgc3|cad68 basic monitor transparent mode size 3 chars:\
4206         :am:bs:cl=^Z:co#73:ho=\036:li#36:nd=^L:up=^K:
4207 cad68-2|cgc2|cad68 basic monitor transparent mode size 2 chars:\
4208         :am:bs:cl=^Z:co#85:ho=\036:li#39:nd=^L:up=^K:\
4209         :kl=\E3:kr=\E4:ku=\E1:kd=\E2:k1=\E5:k2=\E6:k3=\E7:k4=\E8:\
4210         :so=\Em\014:se=\Em\003:
4211 v50|visual 50:\
4212         :am:bs:al=\EL:dl=\EM:\
4213         :cd=\Ek:ce=\EK:cl=^Z:cm=\E=%+\040%+\040:co#80:do=^J:ho=\EH:\
4214         :kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:li#24:ms:nd=^L:pt:\
4215         :so=\EU:se=\ET:up=^K:
4216 trs2|trsII|trs80II|Radio Shack Model II using P&T CP/M:\
4217         :nl=^_:al=^D:am:bs:cd=^B:ce=^A:cl=^L:cm=\EY%+ %+ :co#80:\
4218         :dl=^K:do=^_:ho=^F:li#24:nd=^]:ms:pt:se=^O:so=^N:up=^^:\
4219         :kb=^H:kd=^_:kl=^\:kr=^]:ku=^^:
4220 # From: ksb@mentor.cc.purdue.edu (Kevin Braunsdorf)
4221 trs16|trs-80 model 16 console:\
4222         :al=\EL:am:bs:cd=\EJ:ce=\EK:cl=^L:cm=\EY%+ %+ :co#80:dc=\EQ:dl=\EM:\
4223         :do=\EB:ic=\EP:ho=\EH:kb=^H:kd=\EB:kl=\ED:kn#2:kr=\EC:\
4224         :ku=\EA:k0=^A:k1=^B:l0=f1:l1=f2:li#24:nd=\EC:pt:se=\ER@:sg#0:so=\ERD:\
4225         :k2=^D:k3=^L:k4=^U:k5=^P:k6=^N:k7=^S:\
4226         :l2=f3:l3=f4:l4=f5:l5=f6:l6=f7:l7=f8:\
4227         :up=\EA:GS=\ERG:GE=\ERg:GV=s:GH=u:GU=e:GD=c:G1=`:G2=_:G3=b:G4=a:\
4228         :BN=\E[?33h:BF=\E[?33l:UC=\E[_\040q:BC=\E[\177\040q:\
4229         :PN=\E]=:PS=\E]+:\
4230         :CN=\ERC:CF=\ERc:NR=\ERD:NM=\ER@:
4231 # From {pbrown,ctl}@ocf.berkeley.edu, 12 Mar 90
4232 coco3|os9LII|Tandy CoCo3 24*80 OS9 Level II:\
4233         :am:bs:cl=5*^L:li#24:co#80:ho=^A:\
4234         :cd=^K:ce=^D:cm=2%r^B%+ %+ :\
4235         :bl#7:do=^J:up=^I:nd=^F:so=\037\040:se=\037\041:\
4236         :us=\037\042:ue=\037\043:al=\037\060:dl=\037\061:\
4237         :ku=^L:kd=^J:kr=^I:kl=^H:ta:mb=\037\042:md=\E\072^A:\
4238         :mr=\037\040:me=\037\041\E\072\000:\
4239         :vi=\005\040:ve=\005\041
4240 ps300|Picture System 300:us@:ue@:so@:se@:xt:pt@:tc=vt100:
4241 masscomp2:co#64:li#21:tc=masscomp:
4242 masscomp1:co#104:li#36:tc=masscomp:
4243 masscomp:\
4244         :al=\E[L:bs:cd=\E[J:ce=\E[K:co#80:dc=\E[P:dl=\E[M:do=\E[B:\
4245         :ei=\E[4l:im=\E[4h:is=\EGc\EGb\EGw:li#24:mi:MT:nd=\E[C:pt:se=\E[0m:\
4246         :sg#0:so=\E[7m:cm=\E[%i%d;%dH:ue=\EGau:us=\EGu:up=\E[A:\
4247         :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=^h:cl=\E[2J:
4248 # Kimtron TC entries include (undocumented) codes for: enter dim mode (mh),
4249 # enter bold mode (md), enter reverse mode (mr), turn off all attributes (me)
4250 # Kimtron ABM 85 added by Dual Systems
4251 abm85|Kimtron ABM 85:\
4252         :is=\EC\EX\Eg\En\E%\Er\E(\Ek\Em\Eq:if=/usr/share/tabset/stdcrt:\
4253         :li#24:co#80:am:bs:bw:ms:pt:\
4254         :cl=\E*:cd=\Ey:dl=\ER:al=\EE:ce=\Et:dc=\EW:im=\EQ:ei=\Er:\
4255         :cm=\E=%+ %+ :do=^J:nd=^L:up=^K:bt=\EI:\
4256         :kh=^^:kb=^H:kd=^J:ku=^K:kd=^J:kl=^H:kr=^L:\
4257         :so=\Ej:se=\Ek:sg#1:us=\El:ue=\Em:ug#1:
4258 # Kimtron ABM 85H added by Dual Systems.
4259 # Some notes about the 85h entries:
4260 # 1) there are several firmware revs of 85H in the world. Use o85h for
4261 #    firmware revs prior to SP51
4262 # 2) Make sure to use 85h entry if the terminal is in 85H mode and the
4263 #    85e entry if it is in 920 emulation mode. They are incompatible in
4264 #    some places and NOT software settable i.e., `is' can't fix change it)
4265 # 3) In 85h mode, the arrow keys and special functions transmit when
4266 #    the terminal is in dup-edit, and work only locally in local-edit.
4267 #    Vi won't swallow `del char' for instance, but `vs' turns on
4268 #    dup-edit anyway so that the arrow keys will work right. If the
4269 #    arrow keys don't work the way you like, change `vs', `ve', and `is'.
4270 #    920E mode does not have software commands to toggle between dup
4271 #    and local edit, so you get whatever was set last on the terminal.
4272 # 4) vb attribute is nice, but seems too slow to work correctly (\Eb<pad>\Ed)
4273 # 5) Make sure `hidden' attributes are selected. If `embedded' attributes
4274 #    are selected, the entries :sg@: and :ug@: should be removed.
4275 # 6) auto new-line should be on (selectable from setup mode only)
4276 #
4277 # From fair@ucbarpa  Sun Oct 27 07:21:05 1985
4278 85h|85H|abm85h|Kimtron ABM 85H, 85H mode:\
4279         :is=\EC\EN\EX^T^N\EA\Ea\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef^M\EG0\Ed\E.4\El:\
4280         :im=\EZ:kd=^V:so=\EG4:se=\EG0:us=\EG8:ue=\EG0:vb@:vs=\E.2:ve=\E.4:\
4281         :mh=\E):mr=\EG4:me=\E(\EG0:sg@:ug@:ds=\Ee:fs=^M:hs:ts=\Eg\Ef:tc=abm85:
4282 85e|85E|abm85e|Kimtron ABM 85H, 920E mode:\
4283         :is=\EC\EX\EA\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef^M\Ek\Eq\Em:\
4284         :mh=\E):mr=\Ej:me=\E(\Ek:im=\EZ:sg@:ug@:vb@:tc=abm85:
4285 o85h|oabm85h|Kimtron ABM 85H, old firmware rev.:\
4286         :is=\E}\EC\EX\Ee\En\E%\Er\E(\Ek\Em\Eq\Ed\ET\EC\E9\EF:\
4287         :im=\EZ:sg@:ug@:vb=\200\200\200^G\200\200\200:\
4288         :mh=\E):mr=\Ej:me=\E(\Ek:tc=abm85:
4289 # from  malman@bbn-vax.arpa
4290 kt7|kimtron model kt-7:\
4291         :am:bs:co#80:li#24:cm=\E=%+ %+ :cl=^Z:cd=\EY:ce=\ET:is=\El\E":\
4292         :al=\EE:dl=\ER:ic=\EQ:dc=\EW:if=/usr/share/tabset/stdcrt:\
4293         :ho=^^:nd=^L:bt=\EI:pt:so=\EG4:se=\EG0:sg#0:us=\EG8:ue=\EG0:ug#0:\
4294         :up=^K:do=^V:kb=^H:ku=^K:kd=^V:kl=^H:kr=^L:kh=^^:ma=^V^J^L :\
4295         :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:\
4296         :k8=^AG\r:k9=^AH\r:k0=^AI\r:ko=ic,dc,al,dl,cl,ce,cd,bt:\
4297         :ts=\Ef:fs=\Eg:
4298 appleII|apple ii plus:vs=\024\103\066:ve=\024\103\062:\
4299         :am:co#80:ce=\035:li#24:cl=\014:bs:nd=\034:up=\037:ho=\E\031:pt:\
4300         :cd=\013:so=\017:se=\016:cm=\036%r%+ %+ :is=\024T1\016:do=^J:kd=^J:\
4301         :vb=\024G1\024T1:kr=^U:
4302 #  Gary Ford 21NOV83
4303 #  New version from ee178aci%sdcc7@SDCSVAX.ARPA  Fri Oct 11 21:27:00 1985
4304 apple-80|apple II with smarterm 80 col:\
4305         :am:bs:bt=^R:bw:cd=10*^K:ce=10^]:cl=10*^L:cm=^^%r%+ %+ :\
4306         :co#80:cr=10*^M:do=^J:ho=^Y:le=^H:li#24:nd=^\\:up=^_:
4307 lisa|apple lisa console display, black on white:\
4308         :al=\E[L:am:bs:cd=\E[J:ce=\E[K:cl=^L:cm=\E[%i%d;%dH:co#88:\
4309         :dc=\E[P:dl=\E[M:do=\E[B:ho=\E[H:ic=\E[@:li#32:\
4310         :nd=\E[C:ms:pt:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:up=\E[A:\
4311         :kb=^h:ku=\E[A:kd=\E[B:kl=\E[D:kr=\E[C:eo:is=\E>\E[0m^L:\
4312         :GS=\E[11m:GE=\E[10m:GV=\140:GH=a:G1=c:G2=f:G3=e:G4=d:GU=u:\
4313         :GD=s:GC=b:GL=v:GR=t:CO=\E[5l:CF=\E[5h:
4314 liswb|apple lisa console display, white on black:\
4315         :so=\E[0m:se=\E[0;7m:us=\E[4m:ue=\E[0;7m:is=\E>\E[0;7m^L:\
4316         :tc=lisa:
4317 # The following is a version of the ibm-pc entry distributed with PC/IX,
4318 # (Interactive Systems' System 3 for the Big Blue), modified by Richard
4319 # McIntosh at UCB/CSM.  The :pt: and :uc: have been removed from the original,
4320 # (the former is untrue, and the latter failed under UCB/man); standout and
4321 # underline modes have been added.  Note: this entry describes the "native"
4322 # capabilities of the PC monochrome display, without ANY emulation; most
4323 # communications packages (but NOT PC/IX connect) do some kind of emulation.
4324 pc|ibmpc|ibm pc PC/IX:\
4325         :li#24:co#80:am:bs:bw:eo:\
4326         :cd=\E[J:ce=\E[K:cl=\Ec:cm=\E[%i%2;%2H:do=\E[B:ho=\E[;H:\
4327         :nd=\E[C:up=\E[A:so=\E[7m:se=\E[0m:us=\E[4m:ue=\E[0m:
4328 pc3|ibmpc3|IBM PC 386BSD Console:\
4329         :Co#8:\
4330         :DO=\E[%dB:\
4331         :F1=\E[W:\
4332         :F2=\E[X:\
4333         :K1=\E[H:\
4334         :K2=\E[I:\
4335         :K3=\E[E:\
4336         :K4=\E[F:\
4337         :K5=\E[G:\
4338         :LE=\E[%dD:\
4339         :RI=\E[%dC:\
4340         :AB=\E[1;%dx:\
4341         :AF=\E[2;%dx:\
4342         :UP=\E[%dA:\
4343         :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:\
4344         :am:\
4345         :bl=^G:\
4346         :bs:\
4347         :cb=\E[1K:\
4348         :cd=\E[J:\
4349         :ce=\E[K:\
4350         :cl=\E[H\E[J:\
4351         :cm=\E[%i%d;%dH:\
4352         :co#80:\
4353         :cr=^M:\
4354         :do=\E[B:\
4355         :ho=\E[H:\
4356         :is=\E[m:\
4357         :it#8:\
4358         :k;=\E[V:\
4359         :k1=\E[M:\
4360         :k2=\E[N:\
4361         :k3=\E[O:\
4362         :k4=\E[P:\
4363         :k5=\E[Q:\
4364         :k6=\E[R:\
4365         :k7=\E[S:\
4366         :k8=\E[T:\
4367         :k9=\E[U:\
4368         :kD=\177:\
4369         :@7=\E[F:\
4370         :kN=\E[G:\
4371         :kP=\E[I:\
4372         :kb=\177:\
4373         :kd=\E[B:\
4374         :kh=\E[H:\
4375         :kl=\E[D:\
4376         :kr=\E[C:\
4377         :ku=\E[A:\
4378         :le=^H:\
4379         :li#25:\
4380         :ms:\
4381         :nd=\E[C:\
4382         :op=\E[x:\
4383         :pa#64:\
4384         :rs=\E[m:\
4385         :se=\E[m:\
4386         :sf=\E[S:\
4387         :so=\E[7;1r\E[7m:\
4388         :sr=\E[T:\
4389         :ta=^I:\
4390         :te=\E[m:\
4391         :ti=\E[m:\
4392         :up=\E[A:\
4393         :ut:
4394 ibmx|ibmpcx|IBM PC xenix console display:\
4395         :al=\E[L:am:bs:cd=\E[J:ce=\E[K:cl=^L:cm=\E[%d;%dH:co#80:\
4396         :dc=\E[P:dl=\E[M:do=\E[B:ho=\E[H:ic=\E[@:li#25:\
4397         :nd=\E[C:ms:se=\E[0m:so=\E[7m:us=\E[4m:\
4398         :ue=\E[m:up=\E[A:MR=\E[0m:\
4399         :kb=^h:kh=\E[Y:ku=\E[A:kd=\E[B:kl=\E[D:kr=\E[C:eo:\
4400         :GS=\E[11m:GE=\E[10m:\
4401         :GC=b:GL=v:GR=t:RT=^J:\
4402         :GH=\E[196g:GV=\E[179g:\
4403         :GU=\E[193g:GD=\E[194g:\
4404         :G1=\E[191g:G2=\E[218g:G3=\E[192g:G4=\E[217g:\
4405         :CW=\E[E:NU=\E[F:RF=\E[G:\
4406         :WL=\E[K:WR=\E[L:CL=\E[M:CR=\E[N:\
4407         :HM=\E[Y:EN=\E[d:PU=\E[Z:PD=\E[e:
4408 ibmc|ibmcpc|IBM PC xenix color console display:\
4409         :tc=ibm:
4410 ibmcx|ibmcpcx:\
4411         :tc=ibmx:
4412 kaypro|kaypro2|kaypro II:\
4413         :am:bs:cm=\E=%+ %+ :cl=1^Z:co#80:ho=^^:li#24:ma=^K^P:nd=^L:up=^K:\
4414         :kr=^L:kl=^H:ku=^K:kd=^J:
4415 # From Suk Lee ..!{decvax,linus,allegra,ihnp4}!utcsrgv!spoo
4416 trs100|Radio Shack Model 100:\
4417         :am:bs:le=^H:li#8:co#40:ku=^^:kd=^_:kl=^]:kr=^\:up=\EA:\
4418         :nd=\EC:ho=\EH:ce=\EK:cd=\EJ:cl=\EE:xt:cm=\EY%+ %+ :\
4419         :so=\Ep:se=\Eq:al=\EL:dl=\EM:
4420 mac|macintosh|Macintosh with MacTerminal:\
4421         :al=20\E[L:dl=20\E[M:ip=7:dc=7\E[P:ic=9\E[@:xn:dN#30:tc=vt100:
4422 zen50|z50:zephyr:\
4423         :cm=\E=%+ %+ :cd=\EY:co#80:li#24:\
4424         :am:al=\EE:ce=\ET:dc=\EW:dl=\ER:ic=\EQ:\
4425         :cl=\E+:bs:ma=^Hh^Ll^Jj^Kk:sg#1:se=\EGO:so=\EG4:\
4426         :kl=^H:kr=^L:ku=^K:kd=^J:kh=\036:up=^K:\
4427         :BS=^U:CL=^V:CR=^B:kl=^L:ku=^K:kr=^H:kd=^J:kh=\036:
4428 go140|graphon go-140:\
4429         :co#80:li#24:cl=10\E[;H\E[2J:bs:cm=\E[%i%2;%2H:nd=\E[C:up=\E[A:\
4430         :ce=\E[K:cd=10\E[J:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:\
4431         :is=\E<\E=\E[?3l\E[?7l\E(B\E[J\E7\E[;r\E8\E[m\E[q:\
4432         :dl=\E[M:al=\E[L:dc=\E[P:im=\E[4h:ei=\E[4l:\
4433         :ks=\E[?1h\E=:ke=\E[?1l\E>:\
4434         :if=/usr/share/tabset/vt100:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:\
4435         :kh=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:pt:sr=\EM:
4436 go140w|graphon go-140 in 132 column mode:\
4437         :co#132:is=\E<\E=\E[?3h\E[?7h\E(B\E[J\E7\E[;r\E8\E[m\E[q:\
4438         :tc=go140:
4439 # From edm@nwnexus.WA.COM.  Hacked up vt200 termcap to handle GO-225/VT220
4440 go225|go-225|Graphon 225:\
4441         :im=\E[4h:ei=\E[4l:mi:dc=\E[P:al=\E[L:dl=\E[M:\
4442         :cs=\E[%i%d;%dr:sf=\ED:sr=\EM:\
4443         :ce=\E[K:cl=\E[H\E[J:cd=\E[J:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\
4444         :so=\E[7m:se=\E[27m:us=\E[4m:ue=\E[24m:\
4445         :md=\E[1m:mr=\E[7m:mb=\E[5m:me=\E[m:\
4446         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
4447         :rs=\E[!p\E[?7h\E[2;1;1#w:rf=/usr/share/tabset/vt100:\
4448         :do=^J:co#80:li#25:le=^H:bs:am:ks=\E=:ke=\E>:\
4449         :ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:kb=^H:kh=\E[H:\
4450         :ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:pt:vt#3:xn:\
4451         :sc=\E7:rc=\E8:ti=\E[2;0#w\E[1;25r:te=\E[!p\E[?7h\E[2;1;1#w:
4452 sanyo55|sanyo|sanyo mbc-55x pc compatible:\
4453         :co#80:li#25:am:cl=\E[H\E[J:bs:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\
4454         :ce=\E[K:cd=\E[J:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:
4455 # From: Simson L. Garfinkel <simsong@media-lab.mit.edu>
4456 ST|atari st:\
4457         :bs:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :co#80:li#25:nd=\EC:\
4458         :pt:sr=\EI:up=\EA:ku=\EA:kd=\EB:kr=\EC:kl=\ED:\
4459         :do=\EB:\
4460         :so=\Ep:se=\Eq:dl=\EM:al=\EL:am:
4461 # UniTerm terminal program for the Atari ST:  49-line VT220 emulation mode
4462 # From Paul M. Aoki, aoki@ucbvax.Berkeley.EDU
4463 uniterm|uniterm49|UniTerm VT200 emulator, 49 lines:\
4464         :li#49:is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;49r\E[49;1H:\
4465         :tc=vt200:
4466 # YTERM standard version 1.0.  (gts 9-25-84)
4467 # Straight old ascii keyboard except function keys are Yale (e.g.,ASCII.KBD).
4468 # Only 80 tab columns (else yterm 1.1 bug).  No :xn: in 1.0.
4469 # Cannot use termcap :sr=\EM: because vi will not work, too bad.
4470 # vi string is given so that yterm is reset each vi startup.
4471 yterm10|yterm 1.0 UCB ascii.kbd:\
4472         :am:bs:cd=^K:ce=^]:cl=^L:cm=^^%r%+ %+ :co#80:EP:ho=^Y:li#24:nd=^\:pt:\
4473         :rc=\E8:sc=\E7:so=\E[7m:se=\E[m:up=^_:us=\E[4m:ue=\E[m:\
4474         :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:\
4475         :ku=^K:kd=^J:kl=^H:kr=^L:kh=^^:ma=^Hh\012j^Kk^Ll^^H:\
4476         :k0=\E0:k1=\E1:k2=\E2:k3=\E3:k4=\E4:k5=\E5:k6=\E6:k7=\E7:k8=\E8:k9=\E9:\
4477         :vs=^O\E[7i\E[m\E[?7h\E[?3g\r\EHY0      \EH        \EH        \EH        \EH        \EH        \EH        \EH        \EH        \EH\r:
4478 # YTERM variant version 1.1.  (gts 9-13-84)  Version 1.1 has :xn:.
4479 yterm11|yterm 1.1 UCB ascii.kbd:\
4480         :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:\
4481         :tc=yterm10:
4482 # YTERM 1.0 variant no autowrap or tabs
4483 # X does not remember autowrap or tabs when T is deleted and restarted.
4484 yterm10nat|yterm 1.0 UCB ascii.kbd no autowrap or tabs:\
4485         :am@:pt@:vs=^O\E[7i\E[m\E[?7l\E[?3g\rY2\r:\
4486         :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:\
4487         :tc=yterm10:
4488 # KERMIT standard all versions.  (gts 9-25-84)
4489 # Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
4490 kermit|standard kermit:\
4491         :bs:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :co#80:ho=\EH:li#24:nd=\EC:up=\EA:\
4492         :ku=^K:kd=^J:kl=^H:kr=^L:kh=^^:ma=^Hh\012j^Kk^Ll^^H:\
4493         :is=K0 Standard Kermit  9-25-84\n:
4494 kermitam|standard kermit plus am:\
4495         :am:is=K1 Standard Kermit plus Automatic Margins\n:tc=kermit:
4496 # IBMPC Kermit 1.2.  (gts 8-30-84)
4497 # Bugs :cd:ce: do not work except at beginning of line!  :cl: does not work,
4498 # but fake with :cl=\EH\EJ (since :cd=\EJ: works at beginning of line).
4499 pckermit|pckermit12|UCB IBMPC Kermit 1.2:\
4500         :am:li#25:cd@:ce@:cl=\EH\EJ:\
4501         :is=K2 UCB IBMPC Kermit 1.2  8-30-84\n:tc=kermit:
4502 # IBMPC Kermit 1.20     (gts 12-19-84)
4503 # Cannot use line 25, now acts funny like ansi special scrolling region.
4504 # Initialization must escape from that region by cursor position to line 24.
4505 # Cannot use character insert because 1.20 goes crazy if insert at col 80.
4506 # Does not use am: because autowrap mode lost when kermit dropped and restarted.
4507 pckermit120|UCB IBMPC Kermit 1.20:\
4508         :al=\EL:am@:dc=\EN:dl=\EM:do=\EB:ei@:im@:li#24:pt:se=\Eq:so=\Ep:\
4509         :is=\EO\Eq\EJ\EY7 K3 UCB IBMPC Kermit 1.20  12-19-84\n:\
4510         :vs=\EO\Eq\EEK3:tc=kermit:
4511 # MS-DOS Kermit 2.27 for the IBMPC      (UCB gts 3-17-85)
4512 # Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
4513 # Cannot use line 25, now acts funny like ansi special scrolling region.
4514 # Initialization must escape from that region by cursor position to line 24.
4515 # Does not use am: because autowrap mode lost when kermit dropped and restarted.
4516 # Reverse video for standout like H19.
4517 msk227|mskermit227|MS-DOS Kermit 2.27 for the IBMPC:\
4518         :al=\EL:am@:bs:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :co#80:\
4519         :dc=\EN:dl=\EM:do=\EB:ei=\EO:im=\E@:\
4520         :ho=\EH:li#24:nd=\EC:up=\EA:pt:rc=\Ek:sc=\Ej:se=\Eq:so=\Ep:\
4521         :ku=^K:kd=^J:kl=^H:kr=^L:kh=^^:ma=^Hh\012j^Kk^Ll^^H:\
4522         :is=\EO\Eq\EG\Ew\EJ\EY7 K4 MS Kermit 2.27 for the IBMPC 3-17-85\n:\
4523         :vs=\EO\Eq\EG\EwK4:
4524 # MS-DOS Kermit 2.27 with automatic margins     (UCB gts 3-17-85)
4525 msk227am|mskermit227am|UCB MS-DOS Kermit 2.27 with automatic margins:\
4526         :am:\
4527         :is=\EO\Eq\EG\Ev\EJ\EY7 K5 MS Kermit 2.27 +automatic margins 3-17-85\n:\
4528         :vs=\EO\Eq\EG\EvK5:tc=mskermit227:
4529 # MS-DOS Kermit 2.27 UCB 227.14 for the IBM PC  (UCB gts 3-17-85)
4530 # Automatic margins now default.  Use ansi set graphic rendition for standout,
4531 # underline and ul codes (md,me,mr).  Define function keys.
4532 msk22714|mskermit22714|UCB MS-DOS Kermit 2.27 UCB 227.14 IBM PC:\
4533         :am:kn#10:\
4534         :k0=\E0:k1=\E1:k2=\E2:k3=\E3:k4=\E4:k5=\E5:k6=\E6:k7=\E7:k8=\E8:k9=\E9:\
4535         :md=\E[1m:me=\E[m:mr=\E[7m:se=\E[m:so=\E[1m:ue=\E[m:us=\E[4m:\
4536         :is=\EO\Eq\EG\Ev\EJ\EY7 K6 MS Kermit 2.27 UCB 227.14 IBM PC 3-17-85\n:\
4537         :vs=\EO\Eq\EG\EvK6:tc=mskermit227:
4538 # From earle@smeagol.UUCP 29 Oct 85 05:40:18 GMT
4539 # MS-Kermit with Heath-19 emulation mode enabled
4540 h19k|h19kermit|heathkit emulation provided by Kermit (no auto margin):\
4541         :am@:ta@:pt@:xt:da:db:tc=h19-u:
4542 # Amiga termcap by Kent Polk, kent@swrinde.nde.swri.edu (30 May 90)
4543 # Added a few more entries, converted caret-type control sequence (^x) entries
4544 # to '\0xx' entries since a couple of people mentioned losing '^x' sequences.
4545 #
4546 # :as, :ae                      Support for alternate character sets.
4547 # :ve=\E[\040p:vi=\E[\060\040p  cursor visible/invisible.
4548 # :xn:  vt100 kludginess at column 80/NEWLINE ignore after 80 cols(Concept)
4549 #     This one appears to fix a problem I always had with a line ending
4550 #     at 'width+1' (I think) followed by a blank line in vi. The blank
4551 #     line tended to disappear and reappear depending on how the screen
4552 #     was refreshed. Note that this is probably needed only if you use
4553 #     something like a Dnet Fterm with the window sized to some peculiar
4554 #     dimension larger than 80 columns.
4555 # :k0=\E9~      map F10 to k0 - could have F0-9 -> k0-9, but ... F10 was 'k;'
4556 # :F1-FA                        removed F11 through F20.
4557 amiga|Amiga ANSI:\
4558         :co#80:li#24:am:bs:bw:\
4559         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
4560         :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:IC=\E[%d@:\
4561         :ae=\017:al=\E[L:as=\016:bl=\007:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
4562         :cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=\E[B:ho=\E[H:ic=\E[@:is=\E[20l:\
4563         :k1=\E0~:k2=\E1~:k3=\E2~:k4=\E3~:k5=\E4~:k6=\E5~:k7=\E6~:k8=\E7~:\
4564         :k9=\E8~:k0=\E9~:kn#10:kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=\E[D:\
4565         :mb=\E[7;2m:md=\E[1m:me=\E[0m:mh=\E[2m:mk=\E[8m:mr=\E[7m:nd=\E[C:\
4566         :rs=\Ec:se=\E[0m:sf=\E[S:so=\E[7m:sr=\E[T:ue=\E[0m:up=\E[A:us=\E[4m:\
4567         :vb=\007:ve=\E[\040p:vi=\E[\060\040p:xn:
4568 # The pcplot IBM-PC terminal emulation program is really messed up. It is
4569 # supposed to emulate a vt-100, but emulates the wraparound bug incorrectly,
4570 # doesn't support scrolling regions, ignores add line commands, and ignores
4571 # delete line commands. Consequently, the resulting behavior looks like a
4572 # crude adm3a-type terminal.
4573 # Steve Jacobson 8/85
4574 pcplot:\
4575         :cs@:sc@:rc@:xn@:tc=vt100:
4576 # From Joel Rubin, jmrubin@coral, a preliminary TERMCAP for VIDTEX,
4577 # a terminal program sold by Compuserve.  Line and column numbers are
4578 # computer-dependent (I have a Commodore '64); you should use the meta-B
4579 # option to shut off clean-breaking of lines.  No key codes included
4580 # since some of them are programmable and most are machine-specific.
4581 # Works on vi if you don't use clean-breaking.  Very similar to the IBM 3101
4582 # termcap.  Escape-D used for backspace because control-H is destructive
4583 # backspace.  There seem to be a few weirdnesses (especially at the beginning
4584 # of a wrapped line), and the cursor does not, unfortunately, flash.
4585 vid|vidtex|Compuserve vidtex program:\
4586         :am:bc=\ED:cl=^L:li#25:co#40:nd=\EC:up=\EA:cd=\EJ:ce=\EK:\
4587         :ho=\EH:cm=\EY%+\40%+\40:pt:
4588 # From: Robert Nathanson <c160-3bp@Coral> via tut   Wed Oct 5, 1983
4589 # (This had extension capabilities
4590 #       :rv=\EH:re=\EI:rg=0:GG=0:\
4591 #       :CO=\E\\:WL=^Aa\r:WR=^Ab\r:CL=^Ac\r:CR=^Ad\r:DL=^Ae\r:RF=^Af\r:\
4592 #       :RC=^Ag\r:CW=^Ah\r:NU=^Aj\r:EN=^Ak\r:HM=^Al:PL=^Am\r:\
4593 #       :PU=^An\r:PD=^Ao\r:PR=^Ap\r:HP=^A@\r:RT=^Aq\r:TB=\r:CN=\177:MP=\E+F:
4594 # It had both ":bs:" and ":bs=^H:"; I removed the latter.  Also, it had
4595 # ":sg=0:" and ":ug=0:"; evidently the composer was trying (unnecessarily)
4596 # to force both magic cookie glitches off.  Once upon a time, I
4597 # used a Fortune myself, so I know the capabilities of the form ^A[a-z]\r are
4598 # function keys; thus the "Al" value for HM was certainly an error.  I renamed
4599 # EN/PD/PU/CO/CF/RT according to the XENIX/TC mappings, but not HM/DL/RF/RC.
4600 # I think :rv: and :re: are start/end reverse video and :rg: is a nonexistent
4601 # "reverse-video-glitch" capability; I have put :rv: and :re: in with standard
4602 # names below.  I've removed obsolete ":nl=5^J:" as there is a :do: -- esr)
4603 fos|fortune|Fortune system:\
4604         :am:bs:bw:\
4605         :co#80:li#25:\
4606         :@7=^Ak\r:@8=^Aq:ac=j*k(l m"q&v%w#x-:ae=^O:al=15\034E:\
4607         :as=\Eo:bl=^G:cd=3*\034Y:ce=^\Z:cl=20\014:cm=\034C%+ %+ :\
4608         :cr=^M:dc=5\034W:dl=15\034R:do=3\n:ei=:ho=10\036:ic=5\034Q:\
4609         :im=:is=^_..:k1=^Aa\r:k2=^Ab\r:k3=^Ac\r:k4=^Ad\r:k5=^Ae\r:\
4610         :k6=^Af\r:k7=^Ag\r:k8=^Ah\r:kN=^Ao\r:kP=^An\r:kb=^H:\
4611         :kd=^Ay\r:kh=^A?\r:kl=^Aw\r:kr=^Az\r:ku=^Ax\r:le=^H:mb=\EN:\
4612         :me=\EI:mr=\EH:nw=^M^J:se=^\I`:sf=^J:so=^\H`:ta=^Z:ue=^\IP:\
4613         :up=3\013:us=^\HP:ve=\E\\:vi=\E]:vs=\E\072:
4614 # basis from Peter Harrison, Computer Graphics Lab, San Francisco
4615 #   ucbvax!ucsfmis!harrison ...uucp / ucbvax!ucsfmis!harrison@BERKELEY ...ARPA
4616 basis|BASIS108 computer with terminal translation table active:\
4617         :do=5000^J:nl=5000*^J:\
4618         :cd=\EY:ce=\ET:cl=300\E*:ma=^K^P^R^L^L :\
4619         :kb=^H:kl=^H:ku=^K:kr=^L:kd=^J:so=\E(:se=\E):tc=adm3a:
4620 # From Peter Harrison, Computer Graphics Lab, San Francisco
4621 #   ucbvax!ucsfmis!harrison  .....uucp
4622 #   ucbvax!ucsfmis!harrison@BERKELEY   .......ARPA
4623 # "These two work.  If you don't have the inverse video chip for the
4624 # Apple with videx then remove the so and se fields."
4625 DaleApple|Apple with videx videoterm 80 column board with inverse video:\
4626         :do=^J:am:le=^H:bs:cd=^K:ce=^]:cl=300^L:cm=^^%r%+ %+ :co#80:ho=^Y:\
4627         :kd=^J:kl=^H:kr=^U:kh=^Y:\
4628         :li#24:nd=^\:pt:so=^Z3:se=^Z2:up=^_:xn:
4629 ibmaed|IBM Experimental display:\
4630         :al=\EN:am:bs:cd=\EJ:ce=\EI:cl=\EH\EK:cm=\EY%+\40%+\40:co#80:\
4631         :dc=\EQ:dl=\EO:do=\EB:ho=\EH:ic=\EP:li#52:\
4632         :nd=\EC:ms:so=\E0:se=\E0:us=:ue=:up=\EA:\
4633         :kb=^h:ku=\EA:kd=\EB:kl=\ED:kr=\EC:eo:vb=\EG:pt:
4634 # funny terminal that the TANDEM uses.
4635 653|t653x|Tandem 653x multipage terminal:\
4636         :li#24:co#80:ho=\EH:cm=\023%+ %+ :cl=\EI:cd=\EJ:ce=\EK:am:bs:\
4637         :if=/usr/share/tabset/tandem653:sb=\ES:sr=\ET:da:db:so=\E6$:se=\E6 :\
4638         :us=\E60:ue=\E6 :sg#1:ug#1:up=\EA:do=\012:le=\010:nd=\EC:\
4639         :hs:ts=\Eo:fs=\r:ds=\Eo\r:ws#64:
4640 # From Paul Leondis, unllab@amber.berkeley.edu
4641 ifmr|Informer D304:\
4642         :am:bs:cd=\E/:ce=\EQ:cl=\EZ:cm=\EY%r%+ %+ :co#80:dc=\E\\:\
4643         :do=^J:ic=\E[:li#24:nd=\EC:so=\EJ:se=\EK:up=\EA:\
4644         :sr=\En:ho=\EH:
4645 # From Christian Weisgerber, naddy@mips.inka.de, a TERMCAP entry
4646 # for Linux consoles.
4647 linux|Linux Console:\
4648         :am:eo:mi:ms:xn:xo:\
4649         :co#80:it#8:li#25:\
4650         :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:\
4651         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:K2=\E[G:\
4652         :ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:cd=\E[J:ce=\E[K:\
4653         :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
4654         :ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:\
4655         :im=\E[4h:k1=\E[[A:k2=\E[[B:k3=\E[[C:k4=\E[[D:k5=\E[[E:\
4656         :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:\
4657         :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~:\
4658         :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
4659         :me=\E[0;10m:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=^M^J:rc=\E8:\
4660         :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
4661         :ue=\E[24m:up=\E[A:us=\E[4m:vb=200\E[?5h\E[?5l:\
4662         :ve=\E[?25h:vi=\E[?25l:\
4663         :k;=\E[21~:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\
4664         :F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:
4665 linux-m|Linux Console no color:\
4666         :pa@:Co@:AF@:AB@:op@:\
4667         :tc=linux:
4668 cygwin:\
4669         :xn@:op=\E[39;49m:Km=\E[M:tc=linux:
4670 # Multilingual Sysinstall (kon2 console)
4671 # HOSOKAWA, Tatsumi (hosokawa@FreeBSD.org)
4672 kons25x|kons25-euc:\
4673         :ac=q\207x\214m\205v\212j\202t\210n\206u\211l\204w\213k\203y\053z\053f\336~\245a\043h\043`^D.v-\136I^U0\215:\
4674         :ve=\E[25h:vi=\E[25l:\
4675         :k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:\
4676         :k9=\E[U:k;=\E[V:F1=\E[W:F2=\E[X:K2=\E[E:\
4677         :kN=\E[G:kP=\E[I:\
4678         :tc=linux:
4679 kons25x-m|kons25-euc-mono:\
4680         :pa@:Co@:Sf@:Sb@:op@:us=\E[4m:ue=\E[m:md@:mh@:tc=kons25x:
4681
4682 # Termcap for Top Gun Telnet and SSH on the Palm Pilot.
4683 # http://www.ai/~iang/TGssh/
4684 pilot|tgtelnet:am:xn:bs:co#39:li#16:cl=\Ec:cm=\Em%+ %+ :ho=\Em  :nw=\Em~ :\
4685         :so=\Eb:se=\EB:bl=^g:cr=^m:do=^j:le=^h:kP=^k:kN=^l:
4686
4687 # Termcap entry for rxvt, taken from the sources of rxvt-2.6.3
4688 # with additional @7 capability to make END work correctly.
4689 # From Giorgos Keramidas <charon@labs.gr>
4690 # Fix alternate character set capabilities (ae, as) -- nectar@freebsd.org
4691 rxvt-mono|rxvt terminal emulator (monochrome) (X Window System):\
4692         :am:eo:km:mi:ms:xn:xo:\
4693         :co#80:it#8:li#24:\
4694         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
4695         :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
4696         :RI=\E[%dC:UP=\E[%dA:ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:\
4697         :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
4698         :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:\
4699         :ho=\E[H:i1=\E[?47l\E=\E[?1l:ic=\E[@:im=\E[4h:\
4700         :is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l:\
4701         :k0=\E[21~:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:\
4702         :k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
4703         :kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:ke=\E>:\
4704         :kh=\E[7~:@7=\E[8~:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=^H:mb=\E[5m:\
4705         :md=\E[1m:me=\E[m\017:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:\
4706         :se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
4707         :te=\E[?47l\E8:ti=\E7\E[?47h:ue=\E[24m:up=\E[A:us=\E[4m:\
4708         :vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
4709
4710 # Termcap entry for rxvt-unicode, taken from http://cvs.schmorp.de/rxvt-unicode/doc/rxvt.7.html#I_need_a_termcap_file_entry
4711 rxvt-unicode|rxvt-unicode terminal (X Window System):\
4712         :SF=\E[%dS:SR=\E[%dT:bw:ec=\E[%dX:kb=\177:kd=\EOB:ke=\E[?1l\E>:\
4713         :kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:lm#0:te=\E[r\E[?1049l:\
4714         :ti=\E[?1049h:tc=rxvt-mono:
4715
4716 rxvt|rxvt terminal emulator (X Window System):\
4717         :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:tc=rxvt-mono:
4718
4719 rxvt-256color|rxvt terminal emulator with 256 colors:\
4720         :Co#256:pa#32767:\
4721         :AB=\E[48;5;%dm:AF=\E[38;5;%dm:op=\E[39;49m:tc=rxvt-unicode:
4722
4723 rxvt-unicode-256color|rxvt-unicode terminal with 256 colors (X Window System):\
4724         :tc=rxvt-256color:
4725
4726 # Termcap entry for Eterm, taken from the sources of Eterm-0.9.2
4727 Eterm|Eterm Terminal Emulator (X11 Window System):\
4728         :am:bw:eo:km:mi:ms:xn:xo:\
4729         :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:\
4730         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
4731         :K1=\E[7~:K2=\EOu:K3=\E[5~:K4=\E[8~:K5=\E[6~:LE=\E[%dD:\
4732         :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:\
4733         :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
4734         :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[B:\
4735         :ec=\E[%dX:ei=\E[4l:ho=\E[H:i1=\E[?47l\E>\E[?1l:ic=\E[@:\
4736         :im=\E[4h:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l:\
4737         :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
4738         :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:\
4739         :kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:ke=:kh=\E[7~:\
4740         :kl=\E[D:kr=\E[C:ks=:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
4741         :me=\E[m\017:mr=\E[7m:nd=\E[C:rc=\E8:\
4742         :sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
4743         :te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[24m:up=\E[A:\
4744         :us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:\
4745         :ac=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:
4746
4747 # Termcap for xterm-termite
4748 xterm-termite|VTE-based terminal:\
4749         :NP:am:hs:mi:ms:ut:xn:\
4750         :Co#256:co#80:it#8:li#24:pa#32767:\
4751         :@7=\EOF:@8=\EOM:AB=\E[48;5;%dm:AF=\E[38;5;%dm:AL=\E[%dL:\
4752         :DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:\
4753         :IC=\E[%d@:K2=\EOE:Km=\E[M:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:\
4754         :SA=\E[?7h:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ZH=\E[3m:\
4755         :ZR=\E[23m:al=\E[L:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:\
4756         :ch=\E[%i%dG:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
4757         :cs=\E[%i%d;%dr:cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=^J:\
4758         :ds=\E]2;\007:ec=\E[%dX:ei=\E[4l:fs=^G:ho=\E[H:im=\E[4h:\
4759         :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:\
4760         :k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kB=\E[Z:kD=\E[3~:\
4761         :kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=\177:kd=\EOB:ke=\E[?1l:\
4762         :kh=\EOH:kl=\EOD:kr=\EOC:ks=\E[?1h:ku=\EOA:le=^H:md=\E[1m:\
4763         :me=\E[m:mr=\E[7m:nd=\E[C:op=\E[39;49m:r1=\Ec:rc=\E8:\
4764         :sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:ta=^I:te=\E[?1049l:\
4765         :ti=\E[?1049h:ts=\E]2;:u6=\E[%i%d;%dR:u7=\E[6n:ue=\E[24m:\
4766         :up=\E[A:us=\E[4m:ve=\E[?25h:vi=\E[?25l:
4767
4768 #
4769 # END OF TERMCAP
4770 # ------------------------