]> ncurses.scripts.mit.edu Git - ncurses.git/blob - misc/terminfo.src
ncurses 4.1
[ncurses.git] / misc / terminfo.src
1 ######## TERMINAL TYPE DESCRIPTIONS SOURCE FILE
2 #
3 #       Version 10.1.1
4 #       terminfo syntax
5 #
6 #       Eric S. Raymond         (current maintainer)
7 #       John Kunze, Berkeley
8 #       Craig Leres, Berkeley
9 #
10 # Please e-mail changes to terminfo@ccil.org.  The old termcap@berkeley.edu
11 # address is no longer valid.
12 #
13 # PURPOSE OF THIS FILE:
14 #
15 # This file describes the capabilities of various character-cell terminals,
16 # as needed by software such as screen-oriented editors.
17 #
18 # Other terminfo and termcap files exist, supported by various OS vendors
19 # or as relics of various older versions of UNIX.  This one is the longest
20 # and most comprehensive one in existence.  It subsumes not only the entirety
21 # of the historical 4.4BSD, GNU, System V and SCO termcap files and the BRL
22 # termcap file, but also large numbers of vendor-maintained termcap and
23 # terminfo entries more complete and carefully tested than those in historical
24 # termcap/terminfo versions.
25 #
26 # Pointers to related resources (including the ncurses distribution) may
27 # be found at <http://www.ccil.org/terminfo>.
28 #
29 # INTERNATIONALIZATION:
30 #
31 # This file uses only the US-ASCII character set (no ISO8859 characters).
32 #
33 # This file assumes a US-ASCII character set. If you need to fix this, start
34 # by global-replacing \E(B and \E)B with the appropriate ISO 6429 enablers
35 # for your character set.  \E(A and \E)A enables the British character set
36 # with the pound sign at position 2/3.  
37 #
38 # In a Japanese-processing environment using EUC/Japanese or Shift-JIS,
39 # C1 characters are considered the first-byte set of the Japanese encodings,
40 # so \E)0 should be avoided in <enacs> and initialization strings.
41 #
42 # FILE FORMAT:
43 #
44 # The version you are looking at may be in any of three formats: master
45 # (terminfo with OT capabilities), stock terminfo, or termcap.  You can tell
46 # which by the format given in the header above.
47 #
48 # The master format is accepted and generated by the terminfo tools in the
49 # ncurses suite; it differs from stock (System V-compatible) terminfo only
50 # in that it admits a group of capabilities (prefixed `OT') equivalent to
51 # various obsolete termcap capabilities.  You can, thus, convert from master
52 # to stock terminfo simply by filtering with `sed "/OT[^,]*,/s///"'; but if
53 # you have ncurses `tic -I' is nicer (among other things, it automatically
54 # outputs entries in a canonical form).
55 #
56 # The termcap version is generated automatically from the master version
57 # using tic -C.  This filtering leaves in the OT capabilities under their
58 # original termcap names.  All translated entries fit within the 1023-byte
59 # string-table limit of archaic termcap libraries except where explicitly
60 # noted below.  Note that the termcap translation assumes that your termcap
61 # library can handle multiple tc capabilities in an entry. 4.4BSD has this
62 # capability.  Older versions of GNU termcap, through 1.3, do not. 
63 #
64 # For details on these formats, see terminfo(5) in the ncurses distribution,
65 # and termcap(5) in the 4.4BSD Unix Programmer's Manual.  Be aware that 4.4BSD
66 # curses has been declared obsolete by the caretakers of the 4.4BSD sources
67 # as of June 1995; they are encouraging everyone to migrate to ncurses.
68 #
69 # Note: unlike some other distributed terminfo files (Novell Unix & SCO's),
70 # no entry in this file has embedded comments.  This is so source translation
71 # to termcap only has to carry over leading comments.  Also, no name field
72 # contains embedded whitespace (such whitespace confuses rdist).
73 #
74 # Further note: older versions of this file were often installed with an editor
75 # script (reorder) that moved the most common terminal types to the front of
76 # the file.  This should no longer be necessary, as the file is now ordered
77 # roughly by type frequency with ANSI/VT100 and other common types up front.
78 #
79 # Some information has been merged in from terminfo files distributed by
80 # USL and SCO (see COPYRIGHTS AND OTHER DELUSIONS below).  Much information
81 # comes from vendors who maintain official terminfos for their hardware
82 # (notably DEC and Wyse).
83 #
84 # A detailed change history is included at the end of this file.
85 #
86 # FILE ORGANIZATION:
87 #
88 # Comments in this file begin with # - they cannot appear in the middle
89 # of a terminfo/termcap entry.  Individual capabilities are commented out by
90 # placing a period between the colon and the capability name.
91 #
92 # The file is divided up into major sections (headed by lines beginning with 
93 # the string "########") and minor sections (beginning with "####"); do
94 #
95 #       grep "^####" <file> | more
96 #
97 # to see a listing of section headings.  The intent of the divisions is
98 # (a) to make it easier to find things, and (b) to order the database so
99 # that important and frequently-encountered terminal types are near the
100 # front (so that you'll get reasonable search efficiency even if you don't
101 # use reorder).  Minor sections usually correspond to manufacturers or
102 # standard terminal classes.  Parenthesized words following manufacturer
103 # names are type prefixes or product line names used by that manufacturers.
104 #
105 # HOW TO READ THE ENTRIES:
106 #
107 # The first name in an entry is the canonical name for the model or
108 # type, last entry is a verbose description.  Others are mnemonic synonyms for
109 # the terminal.
110 #
111 # Terminal names look like <manufacturer> <model> - <modes/options>
112 # The part to the left of the dash, if a dash is present, describes the
113 # particular hardware of the terminal.  The part to the right may be used
114 # for flags indicating special ROMs, extra memory, particular terminal modes,
115 # or user preferences.
116 #
117 # All names should be in lower case, for consistency in typing.
118 #
119 # The following are conventionally used suffixes:
120 #       -2p     Has two pages of memory.  Likewise 4p, 8p, etc.
121 #       -am     Enable auto-margin.
122 #       -m      Monochrome.  Suppress color support
123 #       -mc     Magic-cookie.  Some terminals (notably older Wyses) can
124 #               only support one attribute without magic-cookie lossage.
125 #               Their base entry is usually paired with another that
126 #               uses magic cookies to support multiple attributes.
127 #       -na     No arrow keys - termcap ignores arrow keys which are
128 #               actually there on the terminal, so the user can use
129 #               the arrow keys locally.
130 #       -nam    No auto-margin - suppress <am> capability
131 #       -nl     No labels - suppress soft labels
132 #       -ns     No status line - suppress status line
133 #       -rv     Terminal in reverse video mode (black on white)
134 #       -s      Enable status line.
135 #       -vb     Use visible bell (<flash>) rather than <bel>.
136 #       -w      Wide - in 132 column mode.
137 # If a name has multiple suffixes and one is a line height, that one should 
138 # go first.  Thus `aaa-30-s-rv' is recommended over `aaa-s-rv'.  
139
140 # Entries with embedded plus signs are designed to be included through use/tc
141 # capabilities, not used as standalone entries. 
142 #
143 # To avoid search clashes, some older all-numeric names for terminals have
144 # been removed (i.e., "33" for the Model 33 Teletype, "2621" for the HP2621).
145 # All primary names of terminals now have alphanumeric prefixes.
146 #
147 # Comments marked "esr" are mostly results of applying the termcap-compiler
148 # code packaged with ncurses and contemplating the resulting error messages. 
149 # In many cases, these indicated obvious fixes to syntax garbled by the
150 # composers.  In a few cases, I was able to deduce corrected forms for garbled
151 # capabilities by looking at context.  All the information in the original
152 # entries is preserved in the comments.
153 #
154 # In the comments, terminfo capability names are bracketed with <> (angle
155 # brackets).  Termcap capability names are bracketed with :: (colons).
156 #
157 # INTERPRETATION OF USER CAPABILITIES
158 #
159 # The System V Release 4 and XPG4 terminfo format defines ten string
160 # capabilities for use by applications, <u0>...<u9>.   In this file, we use
161 # certain of these capabilities to describe functions which are not covered
162 # by terminfo.  The mapping is as follows:
163 #
164 #       u9      terminal enquire string (equiv. to ANSI/ECMA-48 DA)
165 #       u8      terminal answerback description
166 #       u7      cursor position request (equiv. to VT100/ANSI/ECMA-48 DSR 6)
167 #       u6      cursor position report (equiv. to ANSI/ECMA-48 CPR)
168 #
169 # The terminal enquire string <u9> should elicit an answerback response
170 # from the terminal.  Common values for <u9> will be ^E (on older ASCII
171 # terminals) or \E[c (on newer VT100/ANSI/ECMA-48-compatible terminals).
172 #
173 # The cursor position request (<u7>) string should elicit a cursor position
174 # report.  A typical value (for VT100 terminals) is \E[6n.
175 #
176 # The terminal answerback description (u8) must consist of an expected
177 # answerback string.  The string may contain the following scanf(3)-like
178 # escapes:
179 #
180 #       %c      Accept any character
181 #       %[...]  Accept any number of characters in the given set
182 #
183 # The cursor position report (<u6>) string must contain two scanf(3)-style 
184 # %d format elements.  The first of these must correspond to the Y coordinate
185 # and the second to the %d.  If the string contains the sequence %i, it is
186 # taken as an instruction to decrement each value after reading it (this is
187 # the inverse sense from the cup string).  The typical CPR value is
188 # \E[%i%d;%dR (on VT100/ANSI/ECMA-48-compatible terminals).
189 #
190 # These capabilities are used by tac(1m), the terminfo action checker soon
191 # to be distributed with ncurses.
192 #
193 # TABSET FILES
194 #
195 # All the entries in this file have been edited to assume that the tabset
196 # files directory is /usr/share/tabset, in conformance with the File Hierarchy
197 # Standard for Linux and free BSD systems.  Some vendors (notably Sun) use
198 # /usr/lib/tabset or (more recently) /usr/share/lib/tabset.  
199 #
200 # No curses package we know of uses these files.  If their location is an
201 # issue, you will have to hand-patch the file locations before compiling
202 # this file.
203
204 # REQUEST FOR CONTACT INFORMATION AND HISTORICAL MATERIAL:
205 #
206 # As the ANSI/ECMA-48 standard and variants take firmer hold, and as
207 # character-cell terminals are increasingly replaced by X displays, much of
208 # this file is becoming a historical document (this is part of the reason for
209 # the new organization, which puts ANSI types, xterm, free-Unix consoles,
210 # and vt100 up front in confidence that this will catch 95% of new hardware).
211 #
212 # For the terminal types still alive, I'd like to have manufacturer's
213 # contact data (Internet address and/or snail-mail + phone).
214 #
215 # I'm also interested in enriching the comments so that the latter portions of
216 # the file do in fact become a potted history of VDT technology as seen by
217 # UNIX hackers.  Ideally, I'd like the headers for each manufacturer to
218 # include its live/dead/out-of-the-business status, and for as many
219 # terminal types as possible to be tagged with information like years
220 # of heaviest use, popularity, and interesting features.
221 #
222 # I'm especially interested in identifying the obscure entries listed under
223 # `Miscellaneous obsolete terminals, manufacturers unknown' before the tribal
224 # wisdom about them gets lost.  If you know a lot about obscure old terminals,
225 # please go to the terminfo resource page, grab the UFO file (ufo.ti), and 
226 # eyeball it for things you can identify and describe. 
227 #
228 # If you have been around long enough to contribute, please read the file
229 # with this in mind and send me your annotations.
230 #
231 # COPYRIGHTS AND OTHER DELUSIONS
232 #
233 # The BSD ancestor of this file had a standard Regents of the University of
234 # California copyright with dates from 1980 to 1993.
235 #
236 # Some information has been merged in from a terminfo file SCO distributes.
237 # It has an obnoxious boilerplate copyright which I'm ignoring because they 
238 # took so much of the content from the ancestral BSD versions of this file
239 # and didn't attribute it, thereby violating the BSD Regents' copyright.
240 #
241 # Not that anyone should care.  However many valid functions copyrights may
242 # serve, putting one on a termcap/terminfo file with hundreds of anonymous
243 # contributors makes about as much sense as copyrighting a wall-full of
244 # graffiti -- it's legally dubious, ethically bogus, and patently ridiculous.
245 #
246 # This file deliberately has no copyright.  It belongs to no one and everyone.
247 # If you claim you own it, you will merely succeed in looking like a fool. 
248 # Use it as you like.  Use it at your own risk.  Copy and redistribute freely.
249 # There are no guarantees anywhere.  Svaha!
250 #
251
252 ######## STANDARD AND SPECIAL TYPES
253 #
254 # This section describes terminal classes and maker brands that are still
255 # quite common.
256 #
257
258 #### Specials
259 #
260 # Special "terminals".  These are used to label tty lines when you don't
261 # know what kind of terminal is on it.  The characteristics of an unknown
262 # terminal are the lowest common denominator - they look about like a ti 700.
263 #
264
265 dumb|80-column dumb tty, 
266         am, 
267         cols#80, 
268         bel=^G, cr=^M, cud1=^J, ind=^J, 
269 unknown|unknown terminal type, 
270         gn, use=dumb, 
271 lpr|printer|line printer, 
272         hc, os, 
273         cols#132, lines#66, 
274         bel=^G, cr=^M, cub1=^H, cud1=^J, ff=^L, ind=^J, 
275 glasstty|classic glass tty interpreting ASCII control characters, 
276         am, 
277         cols#80, 
278         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, ht=^I, kbs=^H, 
279         kcub1=^H, kcud1=^J, nel=^M^J, 
280
281 #### ANSI.SYS/ISO 6429/ECMA-48 Capabilities
282 #
283 # See the end-of-file comment for more on these.
284 #
285
286 # The IBM PC alternate character set.  Plug this into any Intel console entry.
287 # We use \E[11m for rmacs rather than \E[12m so the <acsc> string can use the
288 # ROM graphics for control characters such as the diamond, up- and down-arrow.
289 # This works with the System V, Linux, and BSDI consoles.  It's a safe bet this
290 # will work with any Intel console, they all seem to have inherited \E[11m
291 # from the ANSI.SYS de-facto standard.
292 klone+acs|alternate character set for ansi.sys displays, 
293         acsc=`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~q\304r\362s_t\303u\264v\301w\302x\263y\371z\372{\373|\374}\375~\376.\031-\030\,\021+^P0\333p\304r\304y\363z\362{\343|\330}\234, 
294         rmacs=\E[10m, smacs=\E[11m, 
295
296 # Highlight controls corresponding to the ANSI.SYS standard.  Most 
297 # console drivers for Intel boxes obey these.  Makes the same assumption
298 # about \E[11m as klone+acs.  True ANSI/ECMA-48 would have <rmso=\E[27m>,
299 # <rmul=\E[24m>, but this isn't a documented feature of ANSI.SYS.
300 klone+sgr|attribute control for ansi.sys displays, 
301         blink=\E[5m, bold=\E[1m, invis=\E[8m, rev=\E[7m, 
302         rmpch=\E[10m, rmso=\E[m, rmul=\E[m, 
303         sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m, 
304         sgr0=\E[0;10m, smpch=\E[11m, smso=\E[7m, smul=\E[4m, 
305         use=klone+acs, 
306
307 # Highlight controls corresponding to the ANSI.SYS standard.  *All*
308 # console drivers for Intel boxes obey these.  Does not assume \E[11m will
309 # work; uses \E[12m instead, which is pretty bulletproof but loses you the ACS
310 # diamond and arrow characters under curses.
311 klone+sgr-dumb|attribute control for ansi.sys displays (no ESC [ 11 m), 
312         blink=\E[5m, bold=\E[1m, invis=\E[8m, rev=\E[7m, rmso=\E[m, 
313         rmul=\E[m, 
314         sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;12%;m, 
315         sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, smul=\E[4m, 
316         use=klone+acs, 
317
318 # KOI8 (RFC1489) alternate character set 
319 # From: Qing Long <qinglong@Bolizm.ihep.su>, 24 Feb 1996.
320 klone+koi8acs|alternate character set for ansi.sys displays with KOI8 charset, 
321         acsc=l\202m\204k\203j\205u\207t\206v\210w\211q\200x\201n\212o\213s\214p\216r\217`\004a\237f\234g\232~\225.\037-\036+\020\,\021h\222I\2200\215y\230z\231{\267}L|\274, 
322         rmacs=\E[10m, smacs=\E[11m, 
323
324 # ANSI.SYS color control.  The setab/setaf caps depend on the coincidence
325 # between SVr4/XPG4's color numbers and ANSI.SYS attributes.  Here are longer
326 # but equivalent strings that don't rely on that coincidence:
327 # setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
328 # setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
329 # The DOS 5 manual asserts that these sequences meet the ISO 6429 standard.
330 # They match a subset of ECMA-48.
331 klone+color|color control for ansi.sys and ISO6429-compatible displays, 
332         colors#8, ncv#3, pairs#64, 
333         op=\E[37;40m, setb=\E[4%p1%dm, setf=\E[3%p1%dm, 
334
335 # This is better than klone+color, it doesn't assume white-on-black as the
336 # default color pair,  but many `ANSI' terminals don't grok the <op> cap.
337 ecma+color|color control for ECMA-48-compatible terminals, 
338         colors#8, ncv#3, pairs#64, 
339         op=\E[39;49m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
340
341 # Attribute control for ECMA-48-compatible terminals
342 ecma+sgr|attribute capabilities for true ECMA-48 terminals, 
343         rmso=\E[27m, rmul=\E[24m, 
344         use=klone+sgr, 
345
346 # For comparison, here are all the capabilities implied by the Intel
347 # Binary Compatibility Standard (level 2) that fit within terminfo.
348 # For more detail on this rather pathetic standard, see the comments
349 # near the end of this file.
350 ibcs2|Intel Binary Compatibility Standard prescriptions, 
351         cbt=\E[Z, clear=\Ec, cub=\E[%p1%dD, cud=\E[%p1%dB, 
352         cuf=\E[%p1%dC, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
353         dch=\E[%p1%dP, dispc=\E=%p1%dg, ech=\E[%p1%dX, 
354         hpa=\E[%i%p1%dG, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, 
355         indn=\E[%p1%dS, rc=\E7, rin=\E[%p1%dT, rmam=\E[?7l, sc=\E7, 
356         smam=\E[?7h, tbc=\E[g, vpa=\E[%i%p1%dd, 
357
358 #### ANSI/ECMA-48 terminals and terminal emulators
359 #
360 # See near the end of this file for details on ANSI conformance.
361 # Don't mess with these entries!  Lots of other entries depend on them!
362 #
363 # This section lists entries in a least-capable to most-capable order.
364 # if you're in doubt about what `ANSI' matches yours, try them in that
365 # order and back off from the first that breaks.
366
367 ansi-mini|any ansi terminal with pessimistic assumptions, 
368         am, 
369         cols#80, it#8, lines#24, 
370         clear=\E[H\E[2J$<50>, cub1=\E[D, cud1=\E[B, cuf1=\E[C, 
371         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H, 
372         ht=^I, 
373
374 # ANSI X3.64 from emory!mlhhh (Hugh Hansard) via BRL
375 #
376 # The following is an entry for the full ANSI 3.64 (1977).  It lacks
377 # padding, but most terminals using the standard are "fast" enough
378 # not to require any -- even at 9600 bps.  If you encounter problems,
379 # try including the padding specifications.
380 #
381 # Note: the "as" and "ae" specifications are not implemented here, for
382 # the available termcap documentation does not make clear WHICH alternate
383 # character set to specify.  ANSI 3.64 seems to make allowances for several.
384 # Please make the appropriate adjustments to fit your needs -- that is
385 # if you will be using alternate character sets.
386 #
387 # There are very few terminals running the full ANSI 3.64 standard,
388 # so I could only test this entry on one verified terminal (Visual 102).
389 # I would appreciate the results on other terminals sent to me.
390 #
391 # Please report comments, changes, and problems to:
392 #
393 # U.S. MAIL:   Hugh Hansard
394 #              Box: 22830
395 #              Emory University
396 #              Atlanta, GA. 30322.
397 #
398 # USENET {akgua,msdc,sb1,sb6,gatech}!emory!mlhhh.
399 #
400 ansi77|ansi 3.64 standard 1977 version, 
401         am, mir, 
402         cols#80, it#8, lines#24, 
403         bel=^G, clear=\E[;H\E[2J, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
404         cub1=^H, cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
405         cuu1=\E[A, dch1=\E[P, dl1=\E[M$<5*/>, ed=\E[J, el=\E[K, 
406         home=\E[H, ht=^I, il1=\E[L$<5*/>, ind=\ED, kbs=^H, 
407         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, 
408         kf2=\EOR, kf4=\EOS, khome=\E[H, nel=^M\ED, ri=\EM, 
409         rmir=\E[4l, rmso=\E[m, rmul=\E[m, smir=\E[4h, smso=\E[7m, 
410         smul=\E[4m, 
411
412 # Procomm and some other ANSI emulations don't recognize all of the ANSI-
413 # standard capabilities.  This entry deletes <cuu>, <cuf>, <cud>, <cub>, and 
414 # <vpa>/<hpa> capabilities, forcing curses to use repetitions of <cuu1>, 
415 # <cuf1>, <cud1> and <cub1>.  Also deleted <ich> and <ich1>, as QModem up to 
416 # 5.03 doesn't recognize these.  Finally, we delete <rep> and <ri>, which seem
417 # to confuse many emulators.  On the other hand, we can count on these programs
418 # doing <rmacs>/<smacs>/<sgr>. Older versions of this entry featured 
419 # <invis=\E[9m>, but <invis=\E[8m> now seems to be more common under
420 # ANSI.SYS influence.
421 # From: Eric S. Raymond <esr@snark.thyrsus.com> Oct 30 1995
422 pcansi-m|pcansi-mono|ibm-pc terminal programs claiming to be ansi (mono mode), 
423         am, mir, msgr, 
424         cols#80, it#8, lines#24, 
425         bel=^G, cbt=\E[Z, clear=\E[H\E[J, cr=^M, cub1=\E[D, 
426         cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
427         dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
428         hts=\EH, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
429         kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, tbc=\E[2g, 
430         use=klone+sgr-dumb, 
431 pcansi-25-m|pcansi25m|ibm-pc terminal programs with 25 lines (mono mode), 
432         lines#25, use=pcansi-m, 
433 pcansi-33-m|pcansi33m|ibm-pc terminal programs with 33 lines (mono mode), 
434         lines#33, use=pcansi-m, 
435 pcansi-43-m|ansi43m|ibm-pc terminal programs with 43 lines (mono mode), 
436         lines#43, use=pcansi-m, 
437 # The color versions.  All PC emulators do color...
438 pcansi|ibm-pc terminal programs claiming to be ansi, 
439         use=klone+color, use=pcansi-m, 
440 pcansi-25|pcansi25|ibm-pc terminal programs with 25 lines, 
441         lines#25, use=pcansi, 
442 pcansi-33|pcansi33|ibm-pc terminal programs with 33 lines, 
443         lines#33, use=pcansi, 
444 pcansi-43|pcansi43|ibm-pc terminal programs with 43 lines, 
445         lines#43, use=pcansi, 
446
447 # ansi-m -- full ANSI X3.64 with ANSI.SYS-compatible attributes, no color.
448 # If you want pound signs rather than dollars, replace `B' with `A'
449 # in the <s0ds>, <s1ds>, <s2ds>, and <s3ds> capabilities.
450 # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
451 ansi-m|ansi-mono|ANSI X3.64-1979 terminal with ANSI.SYS compatible attributes, 
452         mc5i, 
453         cub=\E[%p1%dD, cud=\E[%p1%dB, cuf=\E[%p1%dC, 
454         cuu=\E[%p1%dA, dch=\E[%p1%dP, dl=\E[%p1%dM, 
455         ech=\E[%p1%dX, el1=\E[1K, hpa=\E[%i%p1%dG, ht=\E[I, 
456         ich=\E[%p1%d@, il=\E[%p1%dL, indn=\E[%p1%dS, kbs=^H, 
457         kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
458         kich1=\E[L, mc4=\E[4i, mc5=\E[5i, nel=\r\E[S, 
459         rep=%p1%c\E[%p2%{1}%-%db, rin=\E[%p1%dT, s0ds=\E(B, 
460         s1ds=\E)B, s2ds=\E*B, s3ds=\E+B, tbc=\E[2g, 
461         vpa=\E[%i%p1%dd, use=pcansi-m, 
462
463 # ansi -- this terminfo expresses the largest subset of X3.64 that will fit in
464 # standard terminfo.  Assumes ANSI.SYS-compatible attributes and color.
465 # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
466 ansi|ansi/pc-term compatible with color, 
467         u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?%[;0123456789]c, 
468         u9=\E[c, 
469         use=ecma+color, use=klone+sgr, use=ansi-m, 
470
471 #
472 # ANSI.SYS entries
473 #
474 # This completely describes the sequences specified in the DOS 2.1 ANSI.SYS
475 # documentation (except for the keyboard key reassignment feature, which
476 # doen't fit the <pfkey> model well).  The klone+acs sequences were valid
477 # though undocumented.  The <pfkey> capability is untested but should work for
478 # keys F1-F10 (%p1 values outside this range will yield unpredictable results).
479 # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 7 1995
480 ansi.sys-old|ANSI.SYS under PC-DOS 2.1, 
481         am, mir, msgr, xon, 
482         cols#80, lines#25, 
483         clear=\E[2J, cub1=^H, cud1=\E[B, cuf1=\E[C, 
484         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[k, home=\E[H, 
485         is2=\E[m\E[?7h, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
486         khome=^^, pfkey=\E[0;%p1%{58}%+%d;%p2"%s", rc=\E[u, 
487         rmam=\E[?7l, sc=\E[s, smam=\E[?7h, u6=\E[%i%d;%dR, 
488         u7=\E[6n, 
489         use=klone+color, use=klone+sgr, 
490 ansi.sys|ANSI.SYS 3.1 and later versions, 
491         el=\E[K, use=ansi.sys-old, 
492
493 #
494 # Define IBM PC keypad keys for vi as per MS-Kermit while using ANSI.SYS.
495 # This should only be used when the terminal emulator cannot redefine the keys.
496 # Since redefining keys with ansi.sys also affects PC-DOS programs, the key
497 # definitions must be restored.  If the terminal emulator is quit while in vi
498 # or others using <smkx>/<rmkx>, the keypad will not be defined as per PC-DOS.
499 # The PgUp and PgDn are prefixed with ESC so that tn3270 can be used on Unix
500 # (^U and ^D are already defined for tn3270).  The ESC is safe for vi but it
501 # does "beep".  ESC ESC i is used for Ins to avoid tn3270 ESC i for coltab.
502 # Note that <kcub1> is always BS, because PC-dos can tolerate this change.
503 # Caution: vi is limited to 256 string bytes, longer crashes or weirds out vi.
504 # Consequently the End keypad key could not be set (it is relatively safe and
505 # actually useful because it sends ^@ O, which beeps and opens a line above).
506 ansi.sysk|ansisysk|PC-DOS 3.1 ANSI.SYS with keypad redefined for vi, 
507         is2=U2 PC-DOS 3.1 ANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p, 
508         rmkx=\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, 
509         smkx=\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, 
510         use=ansi.sys, 
511 #
512 # Adds ins/del line/character, hence vi reverse scrolls/inserts/deletes nicer.
513 nansi.sys|nansisys|PC-DOS Public Domain NANSI.SYS, 
514         dch1=\E[1P, dl1=\E[1M, ich1=\E[1@, il1=\E[1L, 
515         is2=U3 PC-DOS Public Domain NANSI.SYS 9-23-86\n, use=ansi.sys, 
516 #
517 # See ansi.sysk and nansi.sys above.
518 nansi.sysk|nansisysk|PC-DOS Public Domain NANSI.SYS with keypad redefined for vi, 
519         dch1=\E[1P, dl1=\E[1M, ich1=\E[1@, il1=\E[1L, 
520         is2=U4 PC-DOS Public Domain NANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p, 
521         use=ansi.sysk, 
522
523 #### ANSI console types
524 #
525
526 # This entry is good for the 1.2.13 version of the Linux console driver.
527 #
528 # Note: there are numerous broken linux entries out there, which didn't screw
529 # up BSD termcap but hose ncurses's smarter cursor-movement optimization.
530 # One common pathology is an incorrect tab length of 4.
531 #
532 # ***************************************************************************
533 # *                                                                         *
534 # *                           WARNING:                                      *
535 # * Linuxes come with a default keyboard mapping kcbt=^I.  This entry, in   *
536 # * response to user requests, assumes kcbt=\E[Z, the ANSI/ECMA reverse-tab *
537 # * character. Here are the keymap replacement lines that will set this up: *
538 # *                                                                         *
539 #       keycode  15 = Tab             Tab
540 #               alt     keycode  15 = Meta_Tab
541 #               shift   keycode  15 = F26
542 #       string F26 ="\033[Z"
543 # *                                                                         *
544 # * This has to use a key slot which is unfortunate (any unused one will    *
545 # # do, F26 is the higher-numbered one).  The change ought to be built      *
546 # * into the kernel tables.                                                 *
547 # *                                                                         *
548 # ***************************************************************************
549 #
550 # The 1.3.x kernels add color-change capabilities; if yours doesn't have this
551 # and it matters, turn off <ccc>.  The %02x escape used to implement this is
552 # not back-portable to SV curses and not supported in ncurses versions before
553 # 1.9.9. All linux kernels since 1.2.13 (at least) set the screen size
554 # themselves; this entry assumes that capability.
555 #
556 # From: Eric S. Raymond <esr@snark.thyrsus.com> 15 Dec 1995
557 linux|linux console, 
558         am, bce, eo, mir, msgr, xenl, xon, 
559         it#8, 
560         bel=^G, civis=\E[?25l, clear=\E[H\E[J, cnorm=\E[?25h, 
561         cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C, 
562         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP, 
563         dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, 
564         ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, 
565         flash=\E[?5h\E[?5l$<200/>, home=\E[H, hpa=\E[%i%p1%dG, 
566         ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, 
567         il1=\E[L, ind=^J, kb2=\E[G, kbs=\177, kcbt=\E[Z, kcub1=\E[D, 
568         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, 
569         kend=\E[4~, kf1=\E[[A, kf10=\E[21~, kf11=\E[23~, 
570         kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
571         kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
572         kf2=\E[[B, kf20=\E[34~, kf3=\E[[C, kf4=\E[[D, kf5=\E[[E, 
573         kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
574         khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, kspd=^Z, 
575         nel=^M^J, rc=\E8, rev=\E[7m, ri=\EM, rmir=\E[4l, rmso=\E[27m, 
576         rmul=\E[24m, rs1=\Ec, sc=\E7, 
577         sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m, 
578         smir=\E[4h, smul=\E[4m, tbc=\E[3g, u6=\E[%i%d;%dR, 
579         u7=\E[6n, u8=\E[?6c, u9=\E[c, vpa=\E[%i%p1%dd, 
580         use=klone+sgr, use=ecma+color, 
581 linux-m|Linux console no color, 
582         colors@, pairs@, 
583         setab@, setaf@, setb@, setf@, use=linux, 
584 linux-c-nc|linux console 1.3.x hack for ncurses only, 
585         ccc, 
586         initc=\E]P%p1%x%p2%02x%p3%02x%p4%02x, oc=\E]R, use=linux, 
587 # From: Dennis Henriksen <opus@osrl.dk>, 9 July 1996
588 linux-c|linux console 1.3.6+, with private palette for each virtual console, 
589         ccc, 
590         colors#8, pairs#64, 
591         initc=\E]P%?%p1%{9}%>%t%p1%{10}%-%p'a'%+%c%e%p1%d%p2%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%p3%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%p4%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;, 
592         oc=\E]R, 
593         use=linux, 
594
595 # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
596 linux-nic|linux with ich/ich1 suppressed for non-curses programs, 
597         ich@, ich1@, 
598         use=linux, 
599
600 # This assumes you have used setfont(8) to load one of the Linux koi8-r fonts.
601 linux-koi8|linux with koi8 alternate character set, 
602         use=linux, use=klone+koi8acs, 
603
604 # SCO console and SOS-Syscons console for 386bsd
605 # (scoansi: had unknown capabilities
606 #       :Gc=N:Gd=K:Gh=M:Gl=L:Gu=J:Gv=\072:\
607 #       :GC=E:GD=B:GH=D:GL=\64:GU=A:GV=\63:GR=C:
608 #       :G1=?:G2=Z:G3=@:G4=Y:G5=;:G6=I:G7=H:G8=<:\
609 #       :CW=\E[M:NU=\E[N:RF=\E[O:RC=\E[P:\
610 #       :WL=\E[S:WR=\E[T:CL=\E[U:CR=\E[V:\
611 # I renamed GS/GE/HM/EN/PU/PD/RT and added klone+sgr-dumb, based
612 # on the <smacs>=\E[12m  -- esr)
613 scoansi|SCO Extended ANSI standard crt, 
614         am, eo, xon, 
615         cols#80, it#8, lines#25, 
616         blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[2J, 
617         cub1=\E[D, cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
618         cuu1=\E[A, dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, 
619         ht=^I, ich1=\E[@, il1=\E[L, ind=\E[S, kbs=^H, kcub1=\E[D, 
620         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[F, kf1=\E[M, 
621         kf10=\E[V, kf2=\E[N, kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, 
622         kf7=\E[S, kf8=\E[T, kf9=\E[U, khome=\E[H, knp=\E[G, kpp=\E[I, 
623         ri=\E[T, 
624         use=klone+sgr-dumb, 
625
626 # This actually describes the generic SVr4 display driver for Intel boxes.
627 # The <dim=\E[2m> isn't documented and therefore may not be reliable.
628 # From: Eric Raymond <esr@snark.thyrsus.com> Mon Nov 27 19:00:53 EST 1995
629 att6386|at386|386at|AT&T WGS 6386 console, 
630         am, bw, eo, xon, 
631         cols#80, it#8, lines#25, 
632         acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~, 
633         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[=C, 
634         clear=\E[2J\E[H, cnorm=\E[=1C, cr=^M, cub=\E[%p1%dD, 
635         cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, 
636         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
637         cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
638         dl=\E[%p1%dM, dl1=\E[1M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, 
639         home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, 
640         ich1=\E[1@, il=\E[%p1%dL, il1=\E[1L, ind=\E[S, 
641         indn=\E[%p1%dS, invis=\E[9m, is2=\E[0;10;39m, kbs=^H, 
642         kcbt=^], kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
643         kdch1=\E[P, kend=\E[Y, kf1=\EOP, kf10=\EOY, kf11=\EOZ, 
644         kf12=\EOA, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, 
645         kf7=\EOV, kf8=\EOW, kf9=\EOX, khome=\E[H, kich1=\E[@, 
646         knp=\E[U, kpp=\E[V, krmir=\E0, nel=\r\E[S, rc=\E8, rev=\E[7m, 
647         ri=\E[T, rin=\E[%p1%dT, rmacs=\E[10m, rmso=\E[m, rmul=\E[m, 
648         sc=\E7, 
649         sgr=\E[10m\E[0%?%p1%p3%|%t;7%;%?%p2%t;4%;%?%p4%t;5%;%?%p5%t;2%;?%p6%t;1%;%?%p9%t;12%e;10%;%?%p7%t;9%;m, 
650         sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, smul=\E[4m, 
651         tbc=\E[2g, vpa=\E[%i%p1%dd, 
652         use=klone+color, 
653 # (pc6300plus: removed ":KM=/usr/lib/ua/kmap.s5:"; renamed BO/EE/CI/CV -- esr)
654 pc6300plus|AT&T 6300 plus, 
655         am, xon, 
656         cols#80, lines#24, 
657         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[=C, 
658         clear=\E[2J\E[H, cnorm=\E[=1C, cr=^M, cub1=^H, cud1=\E[B, 
659         cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, 
660         dch1=\E[1P, dim=\E[2m, dl1=\E[1M, ed=\E[0J, el=\E[0K, 
661         home=\E[H, hts=\EH, ich1=\E[1@, il1=\E[1L, ind=^J, 
662         invis=\E[9m, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
663         kcuu1=\E[A, kf1=\EOc, kf10=\EOu, kf2=\EOd, kf3=\EOe, 
664         kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\EOk, 
665         nel=^M^J, rev=\E[7m, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
666         smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
667
668 #
669 #       Terminfo entry for the AT&T Unix PC 7300
670 #       from escape(7) in Unix PC 7300 Manual.
671 #       Somewhat similar to a vt100-am (but different enough
672 #       to redo this from scratch.)
673 #
674 #       /***************************************************************
675 #       *
676 #       *           FONT LOADING PROGRAM FOR THE UNIX PC
677 #       *
678 #       *     This routine loads a font defined in the file ALTFONT
679 #       *     into font memory slot #1.  Once the font has been loaded,
680 #       *     it can be used as an alternative character set.
681 #       *
682 #       *     The call to ioctl with the argument WIOCLFONT is the key 
683 #       *     to this routine.  For more information, see window(7) in 
684 #       *     the PC 7300 documentation.
685 #       ***************************************************************/
686 #       #include <string.h>             /* needed for strcpy call */
687 #       #include <sys/window.h>         /* needed for ioctl call */
688 #       #define FNSIZE  60              /* font name size */
689 #       #define ALTFONT  "/usr/lib/wfont/special.8.ft"  /* font file */
690 #       /*
691 #       *     The file /usr/lib/wfont/special.8.ft comes with the
692 #       *     standard PC software.  It defines a graphics character set
693 #       *     similar to that of the Teletype 5425 terminal.  To view
694 #       *     this or other fonts in /usr/lib/wfont, use the command
695 #       *     cfont <filename>.  For further information on fonts see
696 #       *     cfont(1) in the PC 7300 documentation.
697 #       */
698 #       
699 #       struct altfdata         /* structure for alt font data */
700 #       {
701 #       short   altf_slot;              /* memory slot number */
702 #       char    altf_name[FNSIZE];      /* font name (file name) */
703 #       };
704 #       ldfont()
705 #       {
706 #               int wd;         /* window in which altfont will be */
707 #               struct altfdata altf;
708 #               altf.altf_slot=1;
709 #               strcpy(altf.altf_name,ALTFONT);
710 #               for (wd =1; wd < 12; wd++) {
711 #                    ioctl(wd, WIOCLFONT,&altf);
712 #               }
713 #       }
714 #
715 # (att7300: added <civis>/<cnorm>/<ich1>/<invis> from the BSDI entry,
716 # they're confirmed by the man page for the System V display---esr)
717 #
718 att7300|unixpc|pc7300|3b1|s4|AT&T UNIX PC Model 7300, 
719         am, xenl, xon, 
720         cols#80, it#8, lines#24, 
721         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
722         bel=^G, bold=\E[7m, cbt=\E^I, civis=\E[=C, clear=\E[2J\E[H, 
723         cnorm=\E[=1C, cr=^M, cub=\E[%p1%dD, cud=\E[%p1%dB, 
724         cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
725         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
726         dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, 
727         el=\E[0K, home=\E[H, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, 
728         ind=^J, invis=\E[9m, is1=^O, kBEG=\EBG, kCAN=\ECN, kCPY=\ECP, 
729         kCRT=\ECR, kDC=\EDC, kDL=\EDL, kEND=\EEN, kEOL=\ECI, 
730         kFND=\EFI, kHLP=\EHL, kHOM=\EHM, kIC=\ENJ, kLFT=\EBW, 
731         kMOV=\EMV, kNXT=\ENX, kOPT=\EOT, kPRV=\EPV, kRDO=\ERO, 
732         kRIT=\EFW, kRPL=\ERP, kSAV=\ESV, kUND=\EUD, kbeg=\Ebg, 
733         kbs=^H, kcan=\Ecn, kcbt=\E^I, kclo=\Ecl, kclr=\Ece, 
734         kcmd=\Ecm, kcpy=\Ecp, kcrt=\Ecr, kcub1=\E[D, kcud1=\E[B, 
735         kcuf1=\E[C, kcuu1=\E[A, kdch1=\Edc, ked=\Ece, kel=\Eci, 
736         kend=\Een, kext=\Eex, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
737         kf5=\E5, kf6=\E6, kf7=\E7, kf8=\E8, kfnd=\Efi, khlp=\Ehl, 
738         khome=\Ehm, kich1=\Eim, kind=\Erd, kmov=\Emv, kmrk=\Emk, 
739         knp=\Epg, knxt=\Enx, kopn=\Eop, kopt=\Eot, kpp=\EPG, 
740         kprt=\Epr, kprv=\Epv, krdo=\Ero, kref=\Ere, krfr=\Erf, 
741         kri=\Eru, krpl=\Erp, krst=\Ers, ksav=\Esv, kslt=\Esl, 
742         kund=\Eud, nel=\EE, rev=\E[7m, ri=\EM, rmacs=\E[10m, 
743         rmso=\E[m, rmul=\E[m, sgr0=\E[0;10m, smacs=\E[11m, 
744         smso=\E[7m, smul=\E[4m, 
745
746 # From: davis@unidata.ucar.edu
747 # (iris-ansi: added rmam/smam based on init string -- esr)
748 iris-ansi|iris-ansi-net|IRIS emulating ANSI terminal, 
749         am, 
750         cols#80, it#8, lines#40, 
751         bel=^G, bold=\E[1m, clear=\E[H\E[2J, 
752         cnorm=\E[9/y\E[12/y\E[=6l, cr=^M, cub=\E[%p1%dD, 
753         cub1=\E[D, cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, 
754         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
755         cuu1=\E[A, cvvis=\E[10/y\E[=1h\E[=2l\E[=6h, 
756         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, 
757         home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
758         is2=\E[?1l\E>\E[?7h\E[100g\E[0m\E7\E[r\E8, kDC=\E[P, 
759         kEND=\E[147q, kHOM=\E[143q, kLFT=\E[158q, kPRT=\E[210q, 
760         kRIT=\E[167q, kSPD=\E[218q, kbs=^H, kcbt=\E[Z, kcub1=\E[D, 
761         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177, 
762         kend=\E[146q, kent=^M, kf1=\E[001q, kf10=\EOQ, kf11=\EOR, 
763         kf12=\EOS, kf2=\E[002q, kf3=\E[003q, kf4=\E[004q, 
764         kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, kf8=\E[008q, 
765         kf9=\EOP, khome=\E[H, kich1=\E[139q, knp=\E[154q, 
766         kpp=\E[150q, kprt=\E[209q, krmir=\E[146q, kspd=\E[217q, 
767         nel=\EE, pfkey=\EP101;%p1%d.y%p2%s\E\\, rc=\E8, 
768         rev=\E[7m, ri=\EM, rmam=\E[?7l, rmso=\E[m, rmul=\E[m, sc=\E7, 
769         sgr0=\E[m, smam=\E[?7h, smso=\E[1;7m, smul=\E[4m, 
770         tbc=\E[3g, 
771 iris-ansi-ap|IRIS ANSI in application-keypad mode, 
772         is2=\E[?1l\E>\E[?7h, kf10=\E[010q, kf11=\E[011q, 
773         kf12=\E[012q, rmkx=\E>, smkx=\E=, 
774         use=iris-ansi, 
775
776 # The following is a version of the ibm-pc entry distributed with PC/IX,
777 # (Interactive Systems' System 3 for the Big Blue), modified by Richard
778 # McIntosh at UCB/CSM.  The :pt: and :uc: have been removed from the original,
779 # (the former is untrue, and the latter failed under UCB/man); standout and
780 # underline modes have been added.  Note: this entry describes the "native"
781 # capabilities of the PC monochrome display, without ANY emulation; most
782 # communications packages (but NOT PC/IX connect) do some kind of emulation.
783 pcix|PC/IX console, 
784         am, bw, eo, 
785         cols#80, lines#24, 
786         clear=\Ec, cub1=^H, cud1=\E[B, cuf1=\E[C, 
787         cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
788         home=\E[H, rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m, 
789         smul=\E[4m, 
790
791 # (ibmpcx: this entry used to be known as ibmx.
792 # It formerly included the following extension capabilities:
793 #       :GC=b:GL=v:GR=t:RT=^J:\
794 #       :GH=\E[196g:GV=\E[179g:\
795 #       :GU=\E[193g:GD=\E[194g:\
796 #       :G1=\E[191g:G2=\E[218g:G3=\E[192g:G4=\E[217g:\
797 #       :CW=\E[E:NU=\E[F:RF=\E[G:RC=\E[H:\
798 #       :WL=\E[K:WR=\E[L:CL=\E[M:CR=\E[N:\
799 # I renamed GS/GE/WL/WR/CL/CR/PU/PD/HM/EN; also, removed a duplicate
800 # ":kh=\E[Y:".  Added IBM-PC forms characters and highlights, they match
801 # what was there before. -- esr)
802 ibmpcx|xenix|ibmx|IBM PC xenix console display, 
803         am, msgr, 
804         cols#80, lines#25, 
805         clear=^L, cub1=^H, cud1=\E[B, cuf1=\E[C, 
806         cup=\E[%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
807         ed=\E[J, el=\E[K, home=\E[H, ich1=\E[@, il1=\E[L, kbs=^H, 
808         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[d, 
809         kf1=\E[K, kf2=\E[L, kf3=\E[M, kf4=\E[N, khome=\E[Y, knp=\E[e, 
810         kpp=\E[Z, 
811         use=klone+acs, use=klone+sgr, 
812
813
814 # QNX 4.0 Console
815 # Michael's original version of this entry had <am@>, <smcup=\Ei>,
816 # <rmcup=\Eh\ER>; this was so terminfo applications could write the lower
817 # right corner without triggering a scroll.  The ncurses terminfo library can
818 # handle this case with the <ich1> capability, and prefers <am> for better
819 # optimization.  Bug: The <op> capability resets attributes.
820 # From: Michael Hunter <mphunter@qnx.com> 30 Jul 1996
821 qnx|qnx4|qnx console, 
822         daisy, km, mir, msgr, xhpa, xt, 
823         colors#8, cols#80, it#4, lines#25, ncv#3, pairs#8, 
824         acsc=l\332m\300k\277j\331q\304x\263u\264t\303n\305v\301w\302O\333a\261o\337s\334, 
825         bel=^G, blink=\E{, bold=\E<, civis=\Ey0, clear=\EH\EJ, 
826         cnorm=\Ey1, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
827         cup=\EY%p1%' '%+%c%p2%' '%+%c, cuu1=\EA, cvvis=\Ey2, 
828         dch1=\Ef, dl1=\EF, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\Ee, 
829         il1=\EE, ind=^J, kBEG=\377\356, kCAN=\377\263, 
830         kCMD=\377\267, kCPY=\377\363, kCRT=\377\364, 
831         kDL=\377\366, kEND=\377\301, kEOL=\377\311, 
832         kEXT=\377\367, kFND=\377\370, kHLP=\377\371, 
833         kHOM=\377\260, kIC=\377\340, kLFT=\377\264, 
834         kMOV=\377\306, kMSG=\377\304, kNXT=\377\272, 
835         kOPT=\377\372, kPRT=\377\275, kPRV=\377\262, 
836         kRDO=\377\315, kRES=\377\374, kRIT=\377\266, 
837         kRPL=\377\373, kSAV=\377\307, kSPD=\377\303, 
838         kUND=\377\337, kbeg=\377\300, kcan=\377\243, 
839         kcbt=\377\200, kclo=\377\343, kclr=\377\341, 
840         kcmd=\377\245, kcpy=\377\265, kcrt=\377\305, 
841         kctab=\377\237, kcub1=\377\244, kcud1=\377\251, 
842         kcuf1=\377\246, kcuu1=\377\241, kdch1=\377\254, 
843         kdl1=\377\274, ked=\377\314, kel=\377\310, kend=\377\250, 
844         kent=\377\320, kext=\377\270, kf1=\377\201, 
845         kf10=\377\212, kf11=\377\256, kf12=\377\257, 
846         kf13=\377\213, kf14=\377\214, kf15=\377\215, 
847         kf16=\377\216, kf17=\377\217, kf18=\377\220, 
848         kf19=\377\221, kf2=\377\202, kf20=\377\222, 
849         kf21=\377\223, kf22=\377\224, kf23=\377\333, 
850         kf24=\377\334, kf25=\377\225, kf26=\377\226, 
851         kf27=\377\227, kf28=\377\230, kf29=\377\231, 
852         kf3=\377\203, kf30=\377\232, kf31=\377\233, 
853         kf32=\377\234, kf33=\377\235, kf34=\377\236, 
854         kf35=\377\276, kf36=\377\277, kf37=\377\321, 
855         kf38=\377\322, kf39=\377\323, kf4=\377\204, 
856         kf40=\377\324, kf41=\377\325, kf42=\377\326, 
857         kf43=\377\327, kf44=\377\330, kf45=\377\331, 
858         kf46=\377\332, kf47=\377\316, kf48=\377\317, 
859         kf5=\377\205, kf6=\377\206, kf7=\377\207, kf8=\377\210, 
860         kf9=\377\211, kfnd=\377\346, khlp=\377\350, 
861         khome=\377\240, khts=\377\342, kich1=\377\253, 
862         kil1=\377\273, kind=\377\261, kmov=\377\351, 
863         kmrk=\377\355, kmsg=\377\345, knp=\377\252, 
864         knxt=\377\312, kopn=\377\357, kopt=\377\353, 
865         kpp=\377\242, kprt=\377\255, kprv=\377\302, 
866         krdo=\377\336, kref=\377\354, kres=\377\360, 
867         krfr=\377\347, kri=\377\271, krmir=\377\313, 
868         krpl=\377\362, krst=\377\352, ksav=\377\361, 
869         kslt=\377\247, kspd=\377\335, ktbc=\377\344, 
870         kund=\377\365, mvpa=\E!%p1%02d, op=\ER, 
871         rep=\Eg%p2%' '%+%c%p1%c, rev=\E(, ri=\EI, rmcup=\Eh\ER, 
872         rmso=\E), rmul=\E], rs1=\ER, setb=\E@%p1%Pb%gb%gf%d%d, 
873         setf=\E@%p1%Pf%gb%gf%d%d, 
874         sgr=%?%p1%t\E<%;%p2%t\E[%;%p3%t\E(%;%p4%t\E{%;%p6%t\E<%;, 
875         sgr0=\E}\E]\E>\E), smcup=\Ei, smso=\E(, smul=\E[, 
876
877 #### NetBSD consoles
878 #
879 # pcvt termcap database entries (corresponding to release 3.31)
880 # Author's last edit-date: [Fri Sep 15 20:29:10 1995]
881 #
882 # (For the terminfo master file, I translated these into terminfo syntax.
883 # Then I dropped all the pseudo-HP entries. we don't want and can't use
884 # the :Xs: flag. Then I split :is: into a size-independent <is1> and a
885 # size-dependent <is2>.  Finally, I added <rmam>/<smam> -- esr)
886
887 # NOTE: because the 386BSD "vi"/"elvis" seems to have a bug if
888 # both <ich1> and <smir> are specified (an original VT220 
889 # shows the same buggy behaviour!), <ich1> has been taken
890 # out of this entry. for reference, it should be <ich1=\E[@>.
891 pcvtXX|pcvt vt200 emulator (DEC VT220), 
892         am, km, mir, msgr, xenl, 
893         it#8, vt#3, 
894         acsc=llmmkkjjuuttvvwwqqxxnnoosspprr``aaffgg~~..--++\,\,hhII00yyzz, 
895         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M, 
896         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
897         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
898         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
899         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
900         el=\E[K, el1=\E[1K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, 
901         il=\E[%p1%dL, il1=\E[L, ind=\ED, indn=\E[%p1%dS, 
902         is1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kbs=\177, 
903         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
904         kdch1=\E[3~, kf1=\E[17~, kf2=\E[18~, kf3=\E[19~, 
905         kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, 
906         khome=\E[1~, kich1=\E[2~, kll=\E[4~, knp=\E[6~, kpp=\E[5~, 
907         nel=\EE, rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt100, 
908         ri=\EM, rin=\E[%p1%dT, rmacs=\E(B, rmam=\E[?7l, rmir=\E[4l, 
909         rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, 
910         rs1=\Ec\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
911         sgr0=\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h, 
912         smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
913
914 #       NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
915 #       termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
916 #       50 lines entries; 80 columns
917 pcvt25|dec vt220 emulation with 25 lines, 
918         cols#80, lines#25, 
919         is2=\E[1;25r\E[25;1H, use=pcvtXX, 
920 pcvt28|dec vt220 emulation with 28 lines, 
921         cols#80, lines#28, 
922         is2=\E[1;28r\E[28;1H, use=pcvtXX, 
923 pcvt35|dec vt220 emulation with 35 lines, 
924         cols#80, lines#35, 
925         is2=\E[1;35r\E[35;1H, use=pcvtXX, 
926 pcvt40|dec vt220 emulation with 40 lines, 
927         cols#80, lines#40, 
928         is2=\E[1;40r\E[40;1H, use=pcvtXX, 
929 pcvt43|dec vt220 emulation with 43 lines, 
930         cols#80, lines#43, 
931         is2=\E[1;43r\E[43;1H, use=pcvtXX, 
932 pcvt50|dec vt220 emulation with 50 lines, 
933         cols#80, lines#50, 
934         is2=\E[1;50r\E[50;1H, use=pcvtXX, 
935
936 #       NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
937 #       termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
938 #       50 lines entries; 132 columns
939 pcvt25w|dec vt220 emulation with 25 lines and 132 cols, 
940         cols#132, lines#25, 
941         is2=\E[1;25r\E[25;1H, use=pcvtXX, 
942 pcvt28w|dec vt220 emulation with 28 lines and 132 cols, 
943         cols#132, lines#28, 
944         is2=\E[1;28r\E[28;1H, use=pcvtXX, 
945 pcvt35w|dec vt220 emulation with 35 lines and 132 cols, 
946         cols#132, lines#35, 
947         is2=\E[1;35r\E[35;1H, use=pcvtXX, 
948 pcvt40w|dec vt220 emulation with 40 lines and 132 cols, 
949         cols#132, lines#40, 
950         is2=\E[1;40r\E[40;1H, use=pcvtXX, 
951 pcvt43w|dec vt220 emulation with 43 lines and 132 cols, 
952         cols#132, lines#43, 
953         is2=\E[1;43r\E[43;1H, use=pcvtXX, 
954 pcvt50w|dec vt220 emulation with 50 lines and 132 cols, 
955         cols#132, lines#50, 
956         is2=\E[1;50r\E[50;1H, use=pcvtXX, 
957
958 # NetBSD/x68k console vt200 emulator. This port runs on a 68K machine
959 # manufactured by Sharp for the Japenese market.
960 # From Minoura Makoto <minoura@netlaputa.or.jp>, 12 May 1996
961 x68k|x68k-ite|NetBSD/x68k ITE, 
962         cols#96, lines#32, 
963         kclr=\E[9~, khlp=\E[28~, use=vt220, 
964
965 #### FreeBSD console entries
966 #
967 # From: Andrey Chernov <ache@astral.msk.su> 29 Mar 1996
968 # Andrey Chernov maintains the FreeBSD termcap distributions.
969 #
970 # Note: Users of FreeBSD 2.1.0 and older versions must either upgrade
971 # or comment out the :cb: capability in the console entry.
972 #
973 # Alexander Lukyanov reports:
974 # I have seen FreeBSD-2.1.5R... The old el1 bug changed, but it is still there.
975 # Now el1 clears not only to the line beginning, but also a large chunk
976 # of previous line. But there is another bug - ech does not work at all.
977 #
978
979 # for syscons
980 # common entry without semigraphics
981 # Bug: The <op> capability resets attributes.
982 # Bug? The ech and el1 attributes appear to move the cursor in some cases; for
983 # instance el1 does if the cursor is moved to the right margin first.  Removed
984 # by T.Dickey 97/5/3 (ech=\E[%p1%dX, el1=\E[1K)
985 cons25w|ansiw|ansi80x25-raw|freebsd console (25-line raw mode), 
986         am, bce, bw, eo, msgr, npc, 
987         colors#8, cols#80, it#8, lines#25, pairs#64, 
988         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J, 
989         cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, 
990         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
991         cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
992         dim=\E[30;1m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, 
993         home=\E[H, hpa=\E[%i%p1%d`, ht=^I, ich=\E[%p1%d@, 
994         ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S, 
995         indn=\E[%p1%dS, kb2=\E[E, kbs=^H, kcbt=\E[Z, kcub1=\E[D, 
996         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177, kend=\E[F, 
997         kf1=\E[M, kf10=\E[V, kf11=\E[W, kf12=\E[X, kf2=\E[N, 
998         kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S, kf8=\E[T, 
999         kf9=\E[U, khome=\E[H, kich1=\E[L, knp=\E[G, kpp=\E[I, 
1000         nel=\E[E, op=\E[x, rev=\E[7m, ri=\E[T, rin=\E[%p1%dT, 
1001         rmso=\E[m, rs1=\E[x\E[m\Ec, setab=\E[4%p1%dm, 
1002         setaf=\E[3%p1%dm, sgr0=\E[m, smso=\E[7m, vpa=\E[%i%p1%dd, 
1003 cons25|ansis|ansi80x25|freebsd console (25-line ansi mode), 
1004         acsc=l\332m\300k\277j\331u\264t\303v\301w\302q\304x\263n\305`\004a\260f\370g\361~\371.\031-\030h\261I^U0\333y\363z\362, 
1005         use=cons25w, 
1006 cons25-m|ansis-mono|ansi80x25-mono|freebsd console (25-line mono ansi mode), 
1007         colors@, pairs@, 
1008         bold@, dim@, op@, rmul=\E[m, setab@, setaf@, smul=\E[4m, use=cons25, 
1009 cons30|ansi80x30|freebsd console (30-line ansi mode), 
1010         lines#30, use=cons25, 
1011 cons30-m|ansi80x30-mono|freebsd console (30-line mono ansi mode), 
1012         lines#30, use=cons25-m, 
1013 cons43|ansi80x43|freebsd console (43-line ansi mode), 
1014         lines#43, use=cons25, 
1015 cons43-m|ansi80x43-mono|freebsd console (43-line mono ansi mode), 
1016         lines#43, use=cons25-m, 
1017 cons50|ansil|ansi80x50|freebsd console (50-line ansi mode), 
1018         lines#50, use=cons25, 
1019 cons50-m|ansil-mono|ansi80x50-mono|freebsd console (50-line mono ansi mode), 
1020         lines#50, use=cons25-m, 
1021 cons60|ansi80x60|freebsd console (60-line ansi mode), 
1022         lines#60, use=cons25, 
1023 cons60-m|ansi80x60-mono|freebsd console (60-line mono ansi mode), 
1024         lines#60, use=cons25-m, 
1025 cons25r|pc3r|ibmpc3r|cons25-koi8-r|freebsd console w/koi8-r cyrillic, 
1026         acsc=q\200x\201m\204v\211j\205t\206n\212u\207l\202w\210k\203y\230z\231f\234~\225a\220h\221`\004.\031-\030I^U0\215, 
1027         use=cons25w, 
1028 cons25r-m|pc3r-m|ibmpc3r-mono|cons25-koi8r-m|freebsd console w/koi8-r cyrillic (mono), 
1029         colors@, pairs@, 
1030         op@, rmul=\E[m, setab@, setaf@, smul=\E[4m, use=cons25r, 
1031 cons50r|cons50-koi8r|freebsd console w/koi8-r cyrillic (50 lines), 
1032         lines#50, use=cons25r, 
1033 cons50r-m|cons50-koi8r-m|freebsd console w/koi8-r cyrillic (50-line mono), 
1034         lines#50, use=cons25r-m, 
1035 cons60r|cons60-koi8r|freebsd console w/koi8-r cyrillic (60 lines), 
1036         lines#60, use=cons25r, 
1037 cons60r-m|cons60-koi8r-m|freebsd console w/koi8-r cyrillic (60-line mono), 
1038         lines#60, use=cons25r-m, 
1039 # ISO 8859-1 FreeBSD console
1040 cons25l1|cons25-iso8859|freebsd console w/iso 8859-1 chars, 
1041         acsc=l\215m\216k\214j\213u\226t\225v\227w\230q\222x\231n\217o\220s\224p\221r\223`\201a\202f\207g\210~\237.\031-\030+\253\,\273I\247y\232z\233, 
1042         use=cons25w, 
1043 cons25l1-m|cons25-iso-m|freebsd console w/iso 8859-1 chars (mono), 
1044         colors@, pairs@, 
1045         bold@, dim@, op@, rmul=\E[m, setab@, setaf@, smul=\E[4m, use=cons25l1, 
1046 cons50l1|cons50-iso8859|freebsd console w/iso 8859-1 chars (50 lines), 
1047         lines#50, use=cons25l1, 
1048 cons50l1-m|cons50-iso-m|freebsd console w/iso 8859-1 chars (50-line mono), 
1049         lines#50, use=cons25l1-m, 
1050 cons60l1|cons60-iso|freebsd console w/iso 8859-1 chars (60 lines), 
1051         lines#60, use=cons25l1, 
1052 cons60l1-m|cons60-iso-m|freebsd console w/iso 8859-1 chars (60-line mono), 
1053         lines#60, use=cons25l1-m, 
1054
1055 #### 386BSD and BSD/OS Consoles
1056 #
1057
1058 # This was the original 386BSD console entry (I think).  
1059 # Some places it's named oldpc3|oldibmpc3.
1060 # From: Alex R.N. Wetmore <aw2t@andrew.cmu.edu>
1061 origpc3|origibmpc3|IBM PC 386BSD Console, 
1062         am, bw, eo, xon, 
1063         cols#80, lines#25, 
1064         acsc=l\332q\304k\277x\263j\331m\300w\302u\264v\301t\303n\305, 
1065         bold=\E[7m, clear=\Ec, cub1=^H, cud1=\E[B, cuf1=\E[C, 
1066         cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
1067         home=\E[H, ind=\E[S, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
1068         kcuu1=\E[A, khome=\E[Y, ri=\E[T, rmso=\E[1;0x\E[2;7x, 
1069         rmul=\E[1;0x\E[2;7x, sgr0=\E[m\E[1;0x\E[2;7x, 
1070         smso=\E[1;7x\E[2;0x, smul=\E[1;7x\E[2;0x, 
1071
1072 # description of BSD/386 console emulator in version 1.0 (supplied by BSDI)
1073 oldpc3|oldibmpc3|old IBM PC BSD/386 Console, 
1074         km, 
1075         lines#25, 
1076         bel=^G, bold=\E[=15F, cr=^M, cud1=^J, dim=\E[=8F, dl1=\E[M, 
1077         ht=^I, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
1078         kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, kich1=\E[L, kll=\E[F, 
1079         knp=\E[G, kpp=\E[I, nel=^M^J, sgr0=\E[=R, 
1080
1081 # Description of BSD/OS console emulator in version 1.1, 2.0, 2.1
1082 # Note, the emulator supports many of the additional console features
1083 # listed in the iBCS2 (e.g. character-set selection) though not all
1084 # are described here.  This entry really ought to be upgraded.
1085 # Also note, the console will also work with fewer lines after doing
1086 # "stty rows NN", e.g. to use 24 lines.
1087 # (Color support from Kevin Rosenberg <kevin@cyberport.com>, 2 May 1996) 
1088 # Bug: The <op> capability resets attributes.
1089 bsdos|BSD/OS console, 
1090         am, bw, eo, km, xon, 
1091         colors#8, cols#80, it#8, lines#25, pairs#64, 
1092         bel=^G, blink=\E[5m, bold=\E[1m, clear=\Ec, cr=^M, 
1093         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
1094         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
1095         cuu=\E[%p1%dA, cuu1=\E[A, dim=\E[=8F, dl=\E[%p1%dM, 
1096         dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL, 
1097         il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
1098         kcuu1=\E[A, khome=\E[H, kich1=\E[L, kll=\E[F, knp=\E[G, 
1099         kpp=\E[I, nel=^M^J, op=\E[x, rc=\E8, rev=\E[7m, rmso=\E[0m, 
1100         sc=\E7, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[0m, 
1101         smso=\E[7m, 
1102 bsdos-bold|IBM PC BSD/386 Console with bold instead of underline, 
1103         rmul=\E[0m, smul=\E[1m, 
1104         use=bsdos, 
1105
1106 # If you are BSDI, you want the following entries, for the moment.  
1107 # In release 2.0 they will probably phase out the pc3 and ibmpc3 names
1108 pc3|IBM PC BSD/386 Console, 
1109         use=bsdos, 
1110 ibmpc3|pc3-bold|IBM PC BSD/386 Console with bold instead of underline, 
1111         smul=\E[1m, 
1112         use=bsdos-bold, 
1113
1114 #### DEC VT100 and compatibles
1115 #
1116 # DEC terminals from the vt100 forward (and the vt52, way obsolete but still
1117 # the basis of some emulations) are collected here. Older DEC terminals and
1118 # micro consoles can be found in the `obsolete' section.  More details on
1119 # the relationship between the VT100 and ANSI X3.64/ISO 6429/ECMA-48 may be
1120 # found near the end of this file.
1121 #
1122 # Except where noted, these entries are DEC's official terminfos.
1123 # Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
1124 # Engineering for more information.  Updated terminfos and termcaps 
1125 # are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
1126 #
1127 # In October 1995 DEC sold its terminals business, including the VT and Dorio
1128 # line and trademark, to SunRiver Data Systems.
1129 #
1130 # (The <acsc>, <rmacs>, and <smacs> capabilities aren't in DEC's official
1131 # entry -- esr)
1132
1133 vt52|dec vt52, 
1134         cols#80, it#8, lines#24, 
1135         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1136         bel=^G, clear=\EH\EJ, cr=^M, cub1=\ED, cud1=\EB, cuf1=\EC, 
1137         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
1138         el=\EK, home=\EH, ht=^I, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, 
1139         kcuf1=\EC, kcuu1=\EA, nel=^M^J, ri=\EI, rmacs=\EG, smacs=\EF, 
1140
1141 # NOTE:  Any VT100 emulation, whether in hardware or software, almost
1142 # certainly includes what DEC called the `Level 1 editing extension' codes;
1143 # only the very oldest VT100s lacked these and there probably aren't any of
1144 # those left alive.  To capture these, use one of the VT102 entries.
1145 #
1146 # Note that the <xenl> glitch in vt100 is not quite the same as on the Concept,
1147 # since the cursor is left in a different position while in the
1148 # weird state (concept at beginning of next line, vt100 at end
1149 # of this line) so all versions of vi before 3.7 don't handle
1150 # <xenl> right on vt100. The correct way to handle <xenl> is when
1151 # you output the char in column 80, immediately output CR LF
1152 # and then assume you are in column 1 of the next line. If <xenl>
1153 # is on, am should be on too.
1154
1155 # I assume you have smooth scroll off or are at a slow enough baud
1156 # rate that it doesn't matter (1200? or less). Also this assumes
1157 # that you set auto-nl to "on", if you set it off use vt100-nam 
1158 # below.
1159
1160 # The padding requirements listed here are guesses. It is strongly
1161 # recommended that xon/xoff be enabled, as this is assumed here.
1162
1163 # The vt100 uses <rs2> and <rf> rather than <is2>/<tbc>/<hts> because the 
1164 # tab settings are in non-volatile memory and don't need to be 
1165 # reset upon login. Also setting the number of columns glitches 
1166 # the screen annoyingly. You can type "reset" to get them set.
1167 #
1168 # Here's a diagram of the VT100 keypad keys with their bindings.
1169 # The top line is the name of the key (some DEC keyboards have the keys
1170 # labelled somewhat differently, like GOLD instead of PF1, but this is
1171 # the most "official" name).  The second line is the escape sequence it
1172 # generates in Application Keypad mode (where "$" means the ESC
1173 # character).  The third line contains two items, first the mapping of
1174 # the key in terminfo, and then in termcap.
1175 #   _______________________________________
1176 #  |   PF1   |   PF2   |   PF3   |   PF4   |
1177 #  |   $OP   |   $OQ   |   $OR   |   $OS   |
1178 #  |_kf1__k1_|_kf2__k2_|_kf3__k3_|_kf4__k4_|
1179 #  |    7         8         9         -    |
1180 #  |   $Ow   |   $Ox   |   $Oy   |   $Om   |
1181 #  |_kf9__k9_|_kf10_k;_|_kf0__k0_|_________|
1182 #  |    4    |    5    |    6    |    ,    |
1183 #  |   $Ot   |   $Ou   |   $Ov   |   $Ol   |
1184 #  |_kf5__k5_|_kf6__k6_|_kf7__k7_|_kf8__k8_|
1185 #  |    1    |    2    |    3    |         |
1186 #  |   $Oq   |   $Or   |   $Os   |  enter  |
1187 #  |_ka1__K1_|_kb2__K2_|_ka3__K3_|  $OM    |
1188 #  |         0         |   .     |         |
1189 #  |        $Op        |  $On    |         |
1190 #  |___kc1_______K4____|_kc3__K5_|_kent_@8_|
1191 #
1192 # And here, for those of you with orphaned VT100s lacking documentation, is
1193 # a description of the soft switches invoked when you do `Set Up'.
1194
1195 #  Scroll 0-Jump               Shifted 3   0-#
1196 #  |      1-Smooth             |           1-British pound sign
1197 #  | Autorepeat 0-Off          | Wrap Around 0-Off
1198 #  | |          1-On           | |           1-On
1199 #  | | Screen 0-Dark Bkg       | | New Line 0-Off
1200 #  | | |      1-Light Bkg      | | |        1-On
1201 #  | | | Cursor 0-Underline    | | | Interlace 0-Off
1202 #  | | | |      1-Block        | | | |         1-On
1203 #  | | | |                     | | | |
1204 #  1 1 0 1       1 1 1 1       0 1 0 0       0 0 1 0       <--Standard Settings
1205 #                | | | |                     | | | |
1206 #                | | | Auto XON/XOFF 0-Off   | | | Power 0-60 Hz
1207 #                | | |               1-On    | | |       1-50 Hz
1208 #                | | Ansi/VT52 0-VT52        | | Bits Per Char. 0-7 Bits
1209 #                | |           1-ANSI        | |                1-8 Bits
1210 #                | Keyclick 0-Off            | Parity 0-Off
1211 #                |          1-On             |        1-On
1212 #                Margin Bell 0-Off           Parity Sense 0-Odd
1213 #                            1-On                         1-Even
1214 #
1215 # The following SET-UP modes are assumed for normal operation:
1216 #       ANSI_MODE       AUTO_XON/XOFF_ON        NEWLINE_OFF     80_COLUMNS
1217 #       WRAP_AROUND_ON  JUMP_SCROLL_OFF
1218 # Other SET-UP modes may be set for operator convenience or communication
1219 # requirements; I recommend
1220 #       AUTOREPEAT_ON   BLOCK_CURSOR    MARGIN_BELL_OFF    SHIFTED_3_#
1221 # Unless you have a graphics add-on such as Digital Engineering's VT640
1222 # (and even then, whenever it can be arranged!) you should set
1223 #       INTERLACE_OFF
1224 #
1225 # (I added <rmam>/<smam> based on the init string, also <OTbs> -- esr)
1226 vt100|vt100-am|dec vt100 (w/advanced video), 
1227         am, msgr, xenl, xon, 
1228         cols#80, it#8, lines#24, vt#3, 
1229         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1230         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
1231         clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
1232         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
1233         cuf=\E[%p1%dC, cuf1=\E[C$<2>, 
1234         cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, 
1235         cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>, 
1236         enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ind=^J, ka1=\EOq, 
1237         ka3=\EOs, kb2=\EOr, kbs=^H, kc1=\EOp, kc3=\EOn, kcub1=\EOD, 
1238         kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kent=\EOM, kf0=\EOy, 
1239         kf1=\EOP, kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt, 
1240         kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, rc=\E8, 
1241         rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l, 
1242         rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>, 
1243         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
1244         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
1245         sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, 
1246         smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, 
1247 vt100nam|vt100-nam|vt100 no automargins, 
1248         am@, xenl@, use=vt100-am, 
1249
1250 # Ordinary vt100 in 132 column ("wide") mode.
1251 vt100-w|vt100-w-am|dec vt100 132 cols (w/advanced video), 
1252         cols#132, lines#24, 
1253         rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=vt100-am, 
1254 vt100-w-nam|vt100-nam-w|dec vt100 132 cols (w/advanced video no automargin), 
1255         cols#132, lines#14, vt@, 
1256         rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=vt100-nam, 
1257
1258 # vt100 with no advanced video.
1259 vt100-nav|vt100 without advanced video option, 
1260         xmc#1, 
1261         blink@, bold@, rev@, rmso=\E[m, rmul@, sgr@, sgr0@, smso=\E[7m, 
1262         smul@, 
1263         use=vt100, 
1264 vt100-nav-w|vt100-w-nav|dec vt100 132 cols 14 lines (no advanced video option), 
1265         cols#132, lines#14, use=vt100-nav, 
1266
1267 # vt100 with one of the 24 lines used as a status line.
1268 # We put the status line on the top.
1269 vt100-s|vt100-s-top|vt100-top-s|vt100 for use with top sysline, 
1270         eslok, hs, 
1271         lines#23, 
1272         clear=\E[2;1H\E[J$<50>, csr=\E[%i%i%p1%d;%p2%dr, 
1273         cup=\E[%i%p1%{1}%+%d;%p2%dH$<5>, dsl=\E7\E[1;24r\E8, 
1274         fsl=\E8, home=\E[2;1H, is2=\E7\E[2;24r\E8, 
1275         tsl=\E7\E[1;%p1%dH\E[1K, use=vt100-am, 
1276
1277 # Status line at bottom. 
1278 # Clearing the screen will clobber status line.
1279 vt100-s-bot|vt100-bot-s|vt100 for use with bottom sysline, 
1280         eslok, hs, 
1281         lines#23, 
1282         dsl=\E7\E[1;24r\E8, fsl=\E8, is2=\E[1;23r\E[23;1H, 
1283         tsl=\E7\E[24;%p1%dH\E[1K, 
1284         use=vt100-am, 
1285
1286 # Most of the `vt100' emulators out there actually emulate a vt102
1287 # This entry (or vt102-nsgr) is probably the right thing to use for
1288 # these.  
1289 vt102|dec vt102, 
1290         mir, 
1291         dch1=\E[P, dl1=\E[M, il1=\E[L, rmir=\E[4l, smir=\E[4h, use=vt100, 
1292 vt102-w|dec vt102 in wide mode, 
1293         lines#132, 
1294         rs3=\E[?3h, use=vt102, 
1295
1296 # Many brain-dead PC comm programs that pretend to be `vt100-compatible'
1297 # fail to interpret the ^O and ^N escapes properly.  Symptom: the <sgr0>
1298 # string in the canonical vt100 entry above leaves the screen littered
1299 # with little  snowflake or star characters (IBM PC ROM character \017 = ^O)
1300 # after highlight turnoffs.  This entry should fix that, and even leave
1301 # ACS support working, at the cost of making multiple-highlight changes 
1302 # slightly more expensive.
1303 # From: Eric S. Raymond <esr@snark.thyrsus.com> July 22 1995
1304 vt102-nsgr|vt102 no sgr (use if you see snowflakes after highlight changes), 
1305         sgr@, sgr0=\E[m, 
1306         use=vt102, 
1307
1308 # VT125 Graphics CRT.  Clear screen also erases graphics
1309 vt125|vt125 graphics terminal, 
1310         clear=\E[H\E[2J\EPpS(E)\E\\$<50>, use=vt100, 
1311
1312 # This isn't a DEC entry, it came from University of Wisconsin.
1313 # (vt131: I added <rmam>/<smam> based on the init string, also <OTbs> -- esr)
1314 vt131|dec vt131, 
1315         am, xenl, 
1316         cols#80, it#8, lines#24, vt#3, 
1317         bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>, 
1318         clear=\E[;H\E[2J$<50/>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
1319         cub1=^H, cud1=^J, cuf1=\E[C$<2/>, 
1320         cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<2/>, 
1321         ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H, ht=^I, 
1322         is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\EOD, kcud1=\EOB, 
1323         kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR, 
1324         kf4=\EOS, nel=^M^J, rc=\E8, rev=\E[7m$<2/>, ri=\EM$<5/>, 
1325         rmam=\E[?7h, rmkx=\E[?1l\E>, rmso=\E[m$<2/>, 
1326         rmul=\E[m$<2/>, 
1327         rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
1328         sgr0=\E[m$<2/>, smam=\E[?7h, smkx=\E[?1h\E=, 
1329         smso=\E[7m$<2/>, smul=\E[4m$<2/>, 
1330
1331 # vt132 - like vt100 but slower and has ins/del line and such.
1332 # I'm told that <smir>/<rmir> are backwards in the terminal from the
1333 # manual and from the ANSI standard, this describes the actual 
1334 # terminal. I've never actually used a vt132 myself, so this 
1335 # is untested.
1336 #
1337 vt132|DEC vt132, 
1338         xenl, 
1339         dch1=\E[P$<7>, dl1=\E[M$<99>, il1=\E[L$<99>, ind=\n$<30>, 
1340         ip=$<7>, rmir=\E[4h, smir=\E[4l, 
1341         use=vt100, 
1342
1343 # vt220:
1344 # This vt220 description maps F5--F9 to the second block of function keys
1345 # at the top of the keyboard.  The "DO" key is used as F10 to avoid conflict
1346 # with the key marked (ESC) on the vt220.  See vt220d for an alternate mapping.
1347 # PF1--PF4 are used as F1--F4.
1348 #
1349 vt220|vt200|DEC VT220 in vt100 emulation mode, 
1350         am, mir, xenl, xon, 
1351         cols#80, lines#24, vt#3, 
1352         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1353         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, civis=\E[?25l, 
1354         clear=\E[H\E[2J$<50>, cnorm=\E[?25h, cr=^M, 
1355         csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C, 
1356         cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P, 
1357         dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I, 
1358         if=/usr/share/tabset/vt100, il1=\E[L, ind=\ED$<20/>, 
1359         is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
1360         kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kend=\E[4~, kf1=\EOP, 
1361         kf10=\E[29~, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\E[17~, 
1362         kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, kf9=\E[21~, 
1363         khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, rc=\E8, 
1364         rev=\E[7m$<2>, rf=/usr/share/tabset/vt100, 
1365         ri=\EM$<14/>, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l, 
1366         rmso=\E[27m, rmul=\E[24m, 
1367         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
1368         sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;, 
1369         sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h, 
1370         smso=\E[7m, smul=\E[4m, 
1371 vt220-w|vt200-w|DEC vt220 in wide mode, 
1372         cols#132, 
1373         rs3=\E[?3h, use=vt220, 
1374
1375 #
1376 # vt220d:
1377 # This vt220 description regards F6--F10 as the second block of function keys
1378 # at the top of the keyboard.  This mapping follows the description given
1379 # in the VT220 Programmer Reference Manual and agrees with the labeling
1380 # on some terminals that emulate the vt220.  There is no support for an F5.
1381 # See vt220 for an alternate mapping. 
1382 #
1383 vt220d|DEC VT220 in vt100 mode with DEC function key labeling, 
1384         kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, 
1385         kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, 
1386         kf18=\E[32~, kf19=\E[33~, kf20=\E[34~, kf5@, kf6=\E[17~, 
1387         kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
1388         use=vt220, 
1389
1390 vt220-nam|v200-nam|VT220 in vt100 mode with no auto margins, 
1391         am@, 
1392         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h, use=vt220, 
1393
1394 vt220-8|dec vt220 8 bit terminal, 
1395         am, mc5i, mir, msgr, xenl, xon, 
1396         cols#80, it#8, lines#24, 
1397         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1398         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M, 
1399         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
1400         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
1401         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
1402         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
1403         ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0, 
1404         flash=\E[?5h$<200/>\E[?5l, home=\E[H, ht=^I, hts=\EH, 
1405         ich=\E[%p1%d@, if=/usr/share/tabset/vt100, 
1406         il=\E[%p1%dL, il1=\E[L, ind=\ED, 
1407         is2=\E[?7h\E[>\E[?1h\E F\E[?4l, kbs=^H, kcub1=\E[D, 
1408         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf10=\E[21~, 
1409         kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
1410         kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\EOQ, 
1411         kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, kf7=\E[18~, 
1412         kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~, 
1413         khome=\E[H, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, krdo=\E[29~, 
1414         kslt=\E[4~, lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, mc0=\E[i, 
1415         mc4=\E[4i, mc5=\E[5i, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, 
1416         rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmso=\E[27m, 
1417         rmul=\E[24m, rs1=\E[?3l, sc=\E7, sgr0=\E[m, smacs=^N, 
1418         smam=\E[?7h, smir=\E[4h, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
1419
1420 # This was DEC's vt320.  Use the purpose-built one below instead 
1421 #vt320|DEC VT320 in vt100 emulation mode,
1422 #       use=vt220,
1423
1424 #
1425 # Use v320n for SCO's LYRIX.  Otherwise, use Adam Thompson's vt320-nam.
1426 #
1427 vt320nam|v320n|DEC VT320 in vt100 emul. mode with NO AUTO WRAP mode, 
1428         am@, 
1429         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h, use=vt220, 
1430
1431 # These entries are not DEC's official ones, they were purpose-built for the 
1432 # VT320.  Here are the designer's notes:
1433 # <kel> is end on a PC kbd.  Actually 'select' on a VT.  Mapped to 
1434 # 'Erase to End of Field'... since nothing seems to use 'end' anyways...
1435 # khome is Home on a PC kbd.  Actually 'FIND' on a VT.
1436 # Things that use <knxt> usually use tab anyways... and things that don't use
1437 # tab usually use <knxt> instead...
1438 # kprv is same as tab - Backtab is useless...
1439 # I left out <sgr> because of its RIDICULOUS complexity,
1440 # and the resulting fact that it causes the termcap translation of the entry
1441 # to SMASH the 1k-barrier...
1442 # From: Adam Thompson <thompson@xanth.magic.mb.ca> Sept 10 1995
1443 # (vt320: uncommented <fsl> --esr) 
1444 vt320|vt300|dec vt320 7 bit terminal, 
1445         am, eslok, hs, mir, msgr, xenl, 
1446         cols#80, lines#24, wsl#80, 
1447         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1448         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
1449         clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
1450         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
1451         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
1452         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
1453         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
1454         ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, fsl=\E[0$}, 
1455         home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, 
1456         il1=\E[L, ind=\ED, 
1457         is2=\E>\E[?3l\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
1458         ka1=\EOw, ka3=\EOy, kb2=\EOu, kbs=\177, kc1=\EOq, kc3=\EOs, 
1459         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
1460         kdch1=\E[3~, kel=\E[4~, kent=\EOM, kf1=\EOP, kf10=\E[21~, 
1461         kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
1462         kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
1463         kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, 
1464         kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
1465         khome=\E[1~, kich1=\E[2~, knp=\E[6~, knxt=^I, kpp=\E[5~, 
1466         kprv=\E[Z, kslt=\E[4~, mc0=\E[i, mc4=\E[?4i, mc5=\E[?5i, 
1467         nel=\EE, rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt300, 
1468         ri=\EM, rmacs=\E(B, rmam=\E[?7l, rmir=\E[4l, 
1469         rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
1470         rs2=\E>\E[?3l\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
1471         sc=\E7, sgr0=\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h, 
1472         smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
1473         tsl=\E[1$}\E[H\E[K, 
1474 vt320-nam|vt300-nam|dec vt320 7 bit terminal with no am to make SAS happy, 
1475         am@, 
1476         is2=\E>\E[?3l\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H, 
1477         rs2=\E>\E[?3l\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H, 
1478         use=vt320, 
1479 # We have to init 132-col mode, not 80-col mode.
1480 vt320-w|vt300-w|dec vt320 wide 7 bit terminal, 
1481         cols#132, wsl#132, 
1482         is2=\E>\E[?3h\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
1483         rs2=\E>\E[?3h\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
1484         use=vt320, 
1485 vt320-w-nam|vt300-w-nam|dec vt320 wide 7 bit terminal with no am, 
1486         am@, 
1487         is2=\E>\E[?3h\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H, 
1488         rs2=\E>\E[?3h\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H, 
1489         use=vt320-w, 
1490
1491 # VT330 and VT340 -- These are ReGIS and SIXEL graphics terminals
1492 #   which are pretty much a superset of the VT320.  They have the
1493 #   host writable status line, yet another different DRCS matrix size,
1494 #   and such, but they add the DEC Technical character set, Multiple text
1495 #   pages, selectable length pages, and the like.  The difference between
1496 #   the vt330 and vt340 is that the latter has only 2 planes and a monochrome
1497 #   monitor, the former has 4 planes and a color monitor.  These terminals
1498 #   support VT131 and ANSI block mode, but as with much of these things,
1499 #   termcap/terminfo doesn't deal with these features.
1500 #
1501 # Note that this entry is are set up in what was the standard way for GNU
1502 # Emacs v18 terminal modes to deal with the cursor keys in that the arrow
1503 # keys were switched into application mode at the same time the numeric pad
1504 # is switched into application mode.  This changes the definitions of the
1505 # arrow keys.  Emacs v19 is smarter and mines its keys directly out of 
1506 # your termcap or terminfo entry,
1507 #
1508 # From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
1509 # (vt340: string capability "sb=\E[M" corrected to "sr";
1510 # also, added <rmam>/<smam> based on the init string -- esr)
1511 vt340|dec-vt340|vt330|dec-vt330|dec vt340 graphics terminal with 24 line page, 
1512         am, eslok, hs, mir, msgr, xenl, xon, 
1513         cols#80, it#8, lines#24, vt#3, 
1514         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1515         blink=\E[5m, bold=\E[1m, civis=\E[?25l, clear=\E[H\E[J, 
1516         cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
1517         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
1518         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
1519         cuu=\E[%p1%dA, cuu1=\E[A, cvvis=\E[?25h, dch=\E[%p1%dP, 
1520         dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
1521         dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J, el=\E[K, 
1522         flash=\E[?5h\E[?5l$<200/>, fsl=\E[$}, home=\E[H, ht=^I, 
1523         hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
1524         is2=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
1525         kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
1526         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~, 
1527         kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, lf1=pf1, lf2=pf2, 
1528         lf3=pf3, lf4=pf4, nel=^M\ED, rc=\E8, rev=\E[7m, 
1529         rf=/usr/share/tabset/vt300, ri=\EM, rmacs=^O, 
1530         rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m, 
1531         rmul=\E[24m, rs1=\E[?3l, sc=\E7, sgr0=\E[m, smacs=^N, 
1532         smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, 
1533         smul=\E[4m, tbc=\E[3g, tsl=\E[2$~\E[1$}\E[1;%dH, 
1534
1535 # DEC doesn't supply a vt400 description, so we add Daniel Glasser's
1536 # (originally written with vt420 as its primary name, and usable for it).
1537
1538 # VT400/420 -- This terminal is a superset of the vt320.  It adds the multiple 
1539 #    text pages and long text pages with selectable length of the vt340, along
1540 #    with left and right margins, rectangular area text copy, fill, and erase
1541 #    operations, selected region character attribute change operations,
1542 #    page memory and rectangle checksums, insert/delete column, reception
1543 #    macros, and other features too numerous to remember right now.  TERMCAP
1544 #    can only take advantage of a few of these added features.
1545 #
1546 # Note that this entry is are set up in what was the standard way for GNU
1547 # Emacs v18 terminal modes to deal with the cursor keys in that the arrow
1548 # keys were switched into application mode at the same time the numeric pad
1549 # is switched into application mode.  This changes the definitions of the
1550 # arrow keys.  Emacs v19 is smarter and mines its keys directly out of 
1551 # your termcap entry,
1552 #
1553 # From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
1554 # (vt400: string capability ":sb=\E[M:" corrected to ":sr=\E[M:";
1555 # also, added <rmam>/<smam> based on the init string -- esr)
1556 vt400|vt400-24|dec-vt400|dec vt400 24x80 column autowrap, 
1557         am, eslok, hs, mir, msgr, xenl, xon, 
1558         cols#80, it#8, lines#24, vt#3, 
1559         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1560         blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
1561         clear=\E[H\E[J$<10/>, cnorm=\E[?25h, cr=^M, 
1562         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
1563         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
1564         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
1565         cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
1566         dl1=\E[M, dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J$<10/>, 
1567         el=\E[K$<4/>, flash=\E[?5h\E[?5l$<200/>, fsl=\E[$}, 
1568         home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, 
1569         il=\E[%p1%dL, il1=\E[L, ind=\ED, 
1570         is2=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
1571         kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
1572         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~, 
1573         kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, lf1=pf1, lf2=pf2, 
1574         lf3=pf3, lf4=pf4, nel=^M\ED, rc=\E8, rev=\E[7m, 
1575         rf=/usr/share/tabset/vt300, ri=\EM, rmacs=^O, 
1576         rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m, 
1577         rmul=\E[24m, rs1=\E<\E[?3l\E[!p\E[?7h, sc=\E7, sgr0=\E[m, 
1578         smacs=^N, smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=, 
1579         smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
1580         tsl=\E[2$~\E[1$}\E[1;%dH, 
1581
1582 # (vt420: I removed <kf0>, it collided with <kf10>.  I also restored
1583 # a missing <sc> -- esr)
1584 vt420|DEC VT420, 
1585         am, mir, xenl, xon, 
1586         cols#80, lines#24, vt#3, 
1587         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1588         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
1589         clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
1590         cub1=^H, cud1=\E[B, cuf1=\E[C, 
1591         cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P, 
1592         dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I, 
1593         if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED, 
1594         is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=^H, 
1595         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
1596         kdch1=\E[3~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ, kf3=\EOR, 
1597         kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, 
1598         kf9=\E[21~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
1599         kslt=\E[4~, rc=\E8, rev=\E[7m$<2>, 
1600         rf=/usr/share/tabset/vt300, ri=\EM, rmacs=\E(B$<4>, 
1601         rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, 
1602         rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
1603         rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, sc=\E7, 
1604         sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;, 
1605         sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h, 
1606         smkx=\E=, smso=\E[7m, smul=\E[4m, 
1607
1608 #
1609 #  DECUDK   
1610 #               if (key < 16) then  value = key;
1611 #               else if (key < 21) then value = key + 1; 
1612 #               else if (key < 25) then value = key + 2;
1613 #               else if (key < 27) then value = key + 3;
1614 #               else if (key < 30) then value = key + 4;
1615 #               else value = key + 5;
1616 #
1617 vt420pc|DEC VT420 w/PC keyboard, 
1618         kdch1=\177, kend=\E[4~, kf1=\E[11~, kf10=\E[21~, 
1619         kf11=\E[23~, kf12=\E[24~, kf13=\E[11;2~, kf14=\E[12;2~, 
1620         kf15=\E[13;2~, kf16=\E[14;2~, kf17=\E[15;2~, 
1621         kf18=\E[17;2~, kf19=\E[18;2~, kf2=\E[12~, kf20=\E[19;2~, 
1622         kf21=\E[20;2~, kf22=\E[21;2~, kf23=\E[23;2~, 
1623         kf24=\E[24;2~, kf25=\E[23~, kf26=\E[24~, kf27=\E[25~, 
1624         kf28=\E[26~, kf29=\E[28~, kf3=\E[13~, kf30=\E[29~, 
1625         kf31=\E[31~, kf32=\E[32~, kf33=\E[33~, kf34=\E[34~, 
1626         kf35=\E[35~, kf36=\E[36~, kf37=\E[23;2~, kf38=\E[24;2~, 
1627         kf39=\E[25;2~, kf4=\E[14~, kf40=\E[26;2~, kf41=\E[28;2~, 
1628         kf42=\E[29;2~, kf43=\E[31;2~, kf44=\E[32;2~, 
1629         kf45=\E[33;2~, kf46=\E[34;2~, kf47=\E[35;2~, 
1630         kf48=\E[36;2~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, 
1631         kf8=\E[19~, kf9=\E[20~, khome=\E[H, 
1632         pctrm=USR_TERM\:vt420pcdos\:, 
1633         pfx=\EP1;1|%?%{16}%p1%>%t%{0}%e%{21}%p1%>%t%{1}%e%{25}%p1%>%t%{2}%e%{27}%p1%>%t%{3}%e%{30}%p1%>%t%{4}%e%{5}%;%p1%+%d/%p2%s\E\\, use=vt420, 
1634
1635 vt420pcdos|DEC VT420 w/PC for DOS Merge, 
1636         lines#25, 
1637         dispc=%?%p2%{19}%=%t\E\023\021%e%p2%{32}%<%t\E%p2%c%e%p2%{127}%=%t\E\177%e%p2%c%;, 
1638         pctrm@, 
1639         rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sgr@, 
1640         sgr0=\E[m, smsc=\E[?1;2r\E[34h, 
1641         use=vt420pc, 
1642
1643 vt420f|DEC VT420 with VT kbd; VT400 mode; F1-F5 used as Fkeys, 
1644         kdch1=\177, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~, 
1645         kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
1646         kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
1647         kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, kf4=\E[14~, 
1648         kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
1649         khome=\E[H, lf1=\EOP, lf2=\EOQ, lf3=\EOR, lf4=\EOS, 
1650         use=vt420, 
1651
1652 vt510|DEC VT510, 
1653         use=vt420, 
1654 vt510pc|DEC VT510 w/PC keyboard, 
1655         use=vt420pc, 
1656 vt510pcdos|DEC VT510 w/PC for DOS Merge, 
1657         use=vt420pcdos, 
1658
1659 # VT520/VT525
1660 #
1661 # The VT520 is a monochrome text terminal capable of managing up to
1662 # four independent sessions in the terminal.  It has multiple ANSI
1663 # emulations (VT520, VT420, VT320, VT220, VT100, VT PCTerm, SCO Console)
1664 # and ASCII emulations (WY160/60, PCTerm, 50/50+, 150/120, TVI 950,
1665 # 925 910+, ADDS A2).  This terminfo data is for the ANSI emulations only.
1666 #
1667 # Terminal Set-Up is entered by pressing [F3], [Caps Lock]/[F3] or
1668 # [Alt]/[Print Screen] depending upon which keyboard and which
1669 # terminal mode is being used.  If Set-Up has been disabled or
1670 # assigned to an unknown key, Set-Up may be entered by pressing
1671 # [F3] as the first key after power up, regardless of keyboard type.
1672 # (vt520: I added <rmam>/<smam> based on the init string, also <sc> -- esr)
1673 vt520|DEC VT520, 
1674         am, mir, xenl, xon, 
1675         cols#80, lines#24, vt#3, 
1676         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1677         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
1678         clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
1679         cub1=^H, cud1=\E[B, cuf1=\E[C, 
1680         cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P, 
1681         dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I, 
1682         if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED, 
1683         is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=^H, 
1684         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
1685         kdch1=\E[3~, kf0=\E[29~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ, 
1686         kf3=\EOR, kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~, 
1687         kf8=\E[20~, kf9=\E[21~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~, 
1688         kpp=\E[5~, kslt=\E[4~, 
1689         pfx=\EP1;1|%?%{16}%p1%>%t%{0}%e%{21}%p1%>%t%{1}%e%{25}%p1%>%t%{2}%e%{27}%p1%>%t%{3}%e%{30}%p1%>%t%{4}%e%{5}%;%p1%+%d/%p2%s\E\\, 
1690         rc=\E8, rev=\E[7m$<2>, rf=/usr/share/tabset/vt300, 
1691         ri=\EM, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l, 
1692         rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
1693         rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, sc=\E7, 
1694         sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;, 
1695         sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h, 
1696         smso=\E[7m, smul=\E[4m, 
1697
1698 # (vt525: I added <rmam>/<smam> based on the init string;
1699 # removed <rmso>=\E[m, <rmul>=\E[m, added <sc> -- esr)
1700 vt525|DEC VT525, 
1701         am, mir, xenl, xon, 
1702         cols#80, lines#24, vt#3, 
1703         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1704         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
1705         clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
1706         cub1=^H, cud1=\E[B, cuf1=\E[C, 
1707         cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P, 
1708         dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I, 
1709         if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED, 
1710         is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=^H, 
1711         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
1712         kdch1=\E[3~, kf0=\E[29~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ, 
1713         kf3=\EOR, kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~, 
1714         kf8=\E[20~, kf9=\E[21~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~, 
1715         kpp=\E[5~, kslt=\E[4~, 
1716         pfx=\EP1;1|%?%{16}%p1%>%t%{0}%e%{21}%p1%>%t%{1}%e%{25}%p1%>%t%{2}%e%{27}%p1%>%t%{3}%e%{30}%p1%>%t%{4}%e%{5}%;%p1%+%d/%p2%s\E\\, 
1717         rc=\E8, rev=\E[7m$<2>, rf=/usr/share/tabset/vt300, 
1718         ri=\EM, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l, 
1719         rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
1720         rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, sc=\E7, 
1721         sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;, 
1722         sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h, 
1723         smso=\E[7m, smul=\E[4m, 
1724
1725 #### VT100 emulations
1726 #
1727
1728 # John Hawkinson <jhawk@MIT.EDU> tells us that the EWAN telnet for Windows
1729 # (the best Windows telnet as of September 1995) presents the name `dec-vt100'
1730 # to telnetd.   Michael Deutschmann <ldeutsch@mail.netshop.net> informs us
1731 # that this works best with a stock vt100 entry.
1732 dec-vt100|EWAN telnet's vt100 emulation, 
1733         use=vt100, 
1734
1735 # From: Adrian Garside <94ajg2@eng.cam.ac.uk>, 19 Nov 1996
1736 dec-vt220|DOS tnvt200 terminal emulator, 
1737         am@, use=vt220, 
1738
1739 # Zstem340 is an (IMHO) excellent VT emulator for PC's.  I recommend it to
1740 # anyone who needs PC VT340 emulation. (or anything below that level, for
1741 # that matter -- DEC's ALL-in-1 seems happy with it, as does INFOPLUS's
1742 # RDBM systems, it includes ReGIS and SiXel support!  I'm impressed...
1743 # I can send the address if requested.
1744 # (z340: changed garbled \E[5?l to \E[?5l, DEC smooth scroll off -- esr)
1745 # From: Adam Thompson <thompson@xanth.magic.mb.ca> Sept 10 1995
1746 z340|zstem vt340 terminal emulator 132col 42line, 
1747         lines#42, 
1748         is2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H, 
1749         rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H, 
1750         use=vt320-w, 
1751 z340-nam|zstem vt340 terminal emulator 132col 42line, 
1752         am@, 
1753         is2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H, 
1754         rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H, 
1755         use=z340, 
1756
1757 #### X terminal emulators
1758 #
1759 # You can add the following line to your .Xdefaults to change the terminal type
1760 # set by the xterms you start up to my-xterm:
1761 #
1762 # *termName:  my-xterm
1763 #
1764 # System administrators can change the default entry for xterm instances
1765 # by adding a similar line to /usr/X11/lib/X11/app-defaults/XTerm.  In either
1766 # case, xterm will detect and reject an invalid terminal type, falling back
1767 # to the default of xterm.
1768 #
1769
1770 # X10/6.6       11/7/86, minus alternate screen, plus (csr)
1771 # (xterm: ":MT:" changed to ":km:"; added <smam>/<rmam> based on init string;
1772 # removed (hs, eslok, tsl=\E[?E\E[?%i%dT, fsl=\E[?F, dsl=\E[?E)
1773 # as these seem not to work -- esr)
1774 x10term|vs100-x10|xterm terminal emulator (X10 window system), 
1775         am, km, mir, msgr, xenl, xon, 
1776         cols#80, it#8, lines#65, 
1777         bold=\E[1m, clear=\E[H\E[2J, csr=\E[%i%p1%d;%p2%dr, 
1778         cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
1779         cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
1780         dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL, 
1781         il1=\E[L, ind=^J, is2=\E\E[m\E[?7h\E[?1;4l, kbs=^H, 
1782         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, 
1783         kf2=\EOQ, kf3=\EOR, kf4=\EOS, rev=\E[7m, ri=\EM, rmam=\E[?7l, 
1784         rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
1785         sgr0=\E[m, smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=, 
1786         smso=\E[7m, smul=\E[4m, 
1787 # Compatible with the R5 xterm 
1788 # (from the XFree86 3.2 distribution, <blink=@> removed)
1789 xterm-r5|xterm R5 version, 
1790         am, km, msgr, xenl, 
1791         cols#80, it#8, lines#24, 
1792         bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
1793         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
1794         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
1795         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
1796         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
1797         el=\E[K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, 
1798         il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcub1=\EOD, 
1799         kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~, 
1800         kdl1=\E[31~, kel=\E[8~, kf0=\EOq, kf1=\E[11~, kf10=\E[21~, 
1801         kf11=\E[23~, kf12=\E[24~, kf2=\E[12~, kf3=\E[13~, 
1802         kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, 
1803         kf9=\E[20~, khome=\E[7~, kich1=\E[2~, kil1=\E[30~, 
1804         knp=\E[6~, kpp=\E[5~, rc=\E8, rev=\E[7m, ri=\EM, 
1805         rmkx=\E[?1l\E>, rmso=\E[m, 
1806         rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H, sc=\E7, 
1807         sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, 
1808         sgr0=\E[m, smkx=\E[?1h\E=, smso=\E[7m, tbc=\E[3g, 
1809 # Compatible with the R6 xterm
1810 # (from XFree86 3.2 distribution, <acsc> and <it> added, <blink@> removed)
1811 xterm-r6|xterm-old|xterm X11R6 version, 
1812         am, km, mir, msgr, xenl, 
1813         cols#80, it#8, lines#24, 
1814         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1815         bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
1816         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
1817         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
1818         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
1819         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
1820         el=\E[K, enacs=\E)0, home=\E[H, ht=^I, il=\E[%p1%dL, 
1821         il1=\E[L, ind=^J, 
1822         is2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, kbs=^H, 
1823         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
1824         kdch1=\E[3~, kf1=\EOP, kf10=\E[21~, kf11=\E[23~, 
1825         kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
1826         kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
1827         kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf5=\E[15~, 
1828         kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, 
1829         kich1=\E[2~, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, meml=\El, 
1830         memu=\Em, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, 
1831         rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmkx=\E[?1l\E>, 
1832         rmso=\E[m, rmul=\E[m, 
1833         rs2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, sc=\E7, 
1834         sgr0=\E[m, smacs=^N, smcup=\E7\E[?47h, smir=\E[4h, 
1835         smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
1836 # This is the stock xterm entry supplied with XFree86 3.2
1837 # The name has been changed and some aliases have been removed.
1838 xterm-xf86-v32|xterm terminal emulator (X Window System), 
1839         am, bce, km, mir, msgr, xenl, 
1840         colors#8, cols#80, it#8, lines#24, pairs#64, 
1841         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1842         bel=^G, bold=\E[1m, civis=\E[?25l, clear=\E[H\E[2J, 
1843         cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
1844         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
1845         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
1846         cuu=\E[%p1%dA, cuu1=\E[A, cvvis=\E[?25h, dch=\E[%p1%dP, 
1847         dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, 
1848         el=\E[K, el1=\E[1K, enacs=\E(B\E)0, flash=\E[?5h\E[?5l, 
1849         home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, 
1850         ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
1851         is2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, 
1852         ka1=\EOw, ka3=\EOu, kb2=\EOy, kbeg=\EOE, kbs=^H, kc1=\EOq, 
1853         kc3=\EOs, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
1854         kdch1=\177, kend=\EOF, kent=\EOM, kf1=\E[11~, kf10=\E[21~, 
1855         kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
1856         kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
1857         kf19=\E[33~, kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, 
1858         kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, 
1859         kf9=\E[20~, kfnd=\E[1~, khome=\EOH, kich1=\E[2~, 
1860         kmous=\E[M, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, meml=\El, 
1861         memu=\Em, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, 
1862         rmam=\E[?7l, rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, 
1863         rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, rs1=^O, 
1864         rs2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, sc=\E7, 
1865         setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
1866         setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
1867         setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
1868         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
1869         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E7\E[?47h, 
1870         smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
1871         tbc=\E[3g, vpa=\E[%i%p1%dd, 
1872
1873 # This is xterm for ncurses. It mainly adds mappings for more high-half
1874 # characters.  Note that these will only work for fixed-width fonts.
1875 # Once XFree86 3.2 is established, we'll switch this to use=xterm-xf86-v32
1876 xterm|vs100|xterms|xterm terminal emulator (X Window System), 
1877         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++\,\,II00, 
1878         kmous=\E[M, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c, 
1879         use=xterm-r6, 
1880
1881 # These entries allow access to the X titlebar and icon name as a status line. 
1882 # Note that twm (and possibly window managers descended from it such as tvtwm, 
1883 # ctwm, and vtwm) track windows by icon-name; thus, you don't want to mess
1884 # with it.
1885 xterm+sl|access X title line and icon name, 
1886         hs, 
1887         wsl#40, 
1888         dsl=\E]0;\007, fsl=^G, tsl=\E]0;, 
1889 xterm+sl-twm|access X title line (pacify twm-descended window managers), 
1890         hs, 
1891         wsl#40, 
1892         dsl=\E]2;\007, fsl=^G, tsl=\E]2;, 
1893
1894 #
1895 # The following xterm variants don't depend on your base version
1896 #
1897 xterm-bold|xterm terminal emulator (X11R6 Window System) standout w/bold, 
1898         smso=\E[1m, 
1899         use=xterm, 
1900 # (kterm: this had extension capabilities ":KJ:TY=ascii:" -- esr)
1901 # (kterm should not invoke DEC Graphics as the alternate character set
1902 #  -- Kenji Rikitake)
1903 kterm|kterm kanji terminal emulator (X window system), 
1904         eslok, hs, 
1905         csr=\E[%i%p1%d;%p2%dr, dsl=\E[?H, enacs=\E(B, fsl=\E[?F, 
1906         rc=\E8, sc=\E7, tsl=\E[?E\E[?%i%dT, 
1907         use=xterm, 
1908 # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
1909 xterm-nic|xterm with ich/ich1 suppressed for non-curses programs, 
1910         ich@, ich1@, 
1911         use=xterm, 
1912 # From: Mark Sheppard <kimble@mistral.co.uk>, 4 May 1996 
1913 xterm1|xterm terminal emulator ignoring the alternate screen buffer, 
1914         rmcup@, smcup@, 
1915         use=xterm, 
1916
1917 # This describes the capabilities of color_xterm, an xterm variant from
1918 # before ECMA-64 color support was folded into the main-line xterm release.
1919 # This entry is straight from color_xterm's maintainer.
1920 # From: Jacob Mandelson <jlm@ugcs.caltech.edu>, 09 Nov 1996
1921 color_xterm|cx|cx100|color_xterm color terminal emulator for X, 
1922         am, km, mir, msgr, xenl, 
1923         colors#8, cols#80, it#8, lines#65, pairs#64, 
1924         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1925         bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
1926         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
1927         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
1928         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
1929         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
1930         el=\E[K, el1=\E[1K, enacs=\E(B\E)0, home=\E[H, ht=^I, 
1931         ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
1932         is1=\E[r\E[m\E[?7h\E[?4;6l\E[4l, ka1=\EOw, ka3=\EOy, 
1933         kb2=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\EOD, kcud1=\EOB, 
1934         kcuf1=\EOC, kcuu1=\EOA, kend=\E[8~, kent=\EOM, kf1=\E[11~, 
1935         kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf2=\E[12~, 
1936         kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, 
1937         kf8=\E[19~, kf9=\E[20~, khome=\E[7~, kich1=\E[2~, 
1938         kmous=\E[M, knp=\E[6~, kpp=\E[5~, op=\E[39;49m, rc=\E8, 
1939         rev=\E[7m, ri=\EM, rmacs=^O, rmam=\E[?7l, 
1940         rmcup=\E>\E[?41;1r, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m, 
1941         rs1=\E(B\017\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E<, 
1942         sc=\E7, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
1943         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
1944         sgr0=\E[m, smacs=^N, smam=\E[?7h, 
1945         smcup=\E[?1;41s\E[?1;41h\E=, smir=\E[4h, smso=\E[7m, 
1946         smul=\E[4m, 
1947
1948 # From: Mark Olesen & Thomas Dickey <dickey@clark.net> 13 Jul 1996
1949 rxvt|reduced xterm terminal (X Window System), 
1950         am, bce, km, mir, msgr, xenl, xon, 
1951         colors#8, cols#80, it#8, lines#24, pairs#64, 
1952         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1953         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
1954         clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
1955         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
1956         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
1957         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
1958         cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
1959         dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, 
1960         enacs=\E(B\E)0, flash=\E[?5h\E[?5l, home=\E[H, 
1961         hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, 
1962         il=\E[%p1%dL, il1=\E[L, ind=^J, is1=\E[?47l\E=\E[?1l, 
1963         is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l, 
1964         kDC=\E[3$, kEND=\E[8$, kHOM=\E[7$, kLFT=\E[d, kNXT=\E[6$, 
1965         kPRV=\E[5$, kRIT=\E[c, ka1=\EOq, ka3=\EOs, kb2=\EOr, kbs=^H, 
1966         kc1=\EOp, kc3=\EOn, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, 
1967         kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kend=\E[8~, kent=\EOM, 
1968         kf0=\E[21~, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~, 
1969         kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
1970         kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
1971         kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, kf4=\E[14~, 
1972         kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
1973         khome=\E[7~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, 
1974         op=\E[39m\E[49m, rc=\E8, rev=\E[7m, ri=\EM, 
1975         rmacs=\E(B\E)0\017, rmcup=\E[?47l\E8, rmir=\E[4l, 
1976         rmkx=\E>, rmso=\E[27m, rmul=\E[24m, 
1977         rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H, 
1978         rs2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E>, 
1979         sc=\E7, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[m, 
1980         smacs=\E(B\E)U\016, smcup=\E7\E[?47h, smir=\E[4h, 
1981         smkx=\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
1982         vpa=\E[%i%p1%dd, 
1983
1984 # From: David J. MacKenzie <djm@va.pubnix.com> 20 Apr 1995
1985 # Here's a termcap entry I've been using for xterm_color, which comes
1986 # with BSD/OS 2.0, and the X11R6 contrib tape too I think.  Besides the
1987 # color stuff, I also have a status line defined as the window manager
1988 # title bar. [I have translated it to terminfo -- ESR]
1989 xterm-pcolor|xterm with color used for highlights and status line, 
1990         bold=\E[1m\E[43m, rev=\E[7m\E[34m, smso=\E[7m\E[31m, 
1991         smul=\E[4m\E[42m, 
1992         use=xterm+sl, use=xterm, 
1993
1994 # HP ships this, except for the pb#9600 which was merged in from BSD termcap.
1995 # (hpterm: added empty <acsc>, we have no idea what ACS chars look like --esr)
1996 xhpterm|X-hpterm|hp X11 terminal emulator, 
1997         am, da, db, mir, xhp, 
1998         cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8, pb#9600, xmc#0, 
1999         acsc=, bel=^G, bold=\E&dB, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M, 
2000         cub1=^H, cud1=\EB, cuf1=\EC, cup=\E&a%p1%dy%p2%dC, 
2001         cuu1=\EA, dch1=\EP, dim=\E&dH, dl1=\EM, ed=\EJ$<1>, el=\EK, 
2002         hpa=\E&a%p1%dC, ht=^I, hts=\E1, il1=\EL, ind=^J, kbs=^H, 
2003         kclr=\EJ, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
2004         kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, kf1=\Ep, 
2005         kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew, 
2006         khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, kind=\ES, kll=\EF, 
2007         knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, ktbc=\E3, meml=\El, 
2008         memu=\Em, pfkey=\E&f%p1%dk%p2%l%dL%p2%s, 
2009         pfloc=\E&f1a%p1%dk%p2%l%dL%p2%s, 
2010         pfx=\E&f2a%p1%dk%p2%l%dL%p2%s, 
2011         pln=\E&f%p1%dk%p2%l%dd0L%p2%s, rev=\E&dB, ri=\ET, 
2012         rmacs=^O, rmir=\ER, rmkx=\E&s0A, rmln=\E&j@, rmso=\E&d@, 
2013         rmul=\E&d@, 
2014         sgr=\E&d%?%p7%t%'s'%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%'@'%+%c%?%p9%t%'\016'%c%e%'\017'%c%;, 
2015         sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A, smln=\E&jB, 
2016         smso=\E&dJ, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY, 
2017
2018 # This entry describes an xterm with Sun-style function keys enabled
2019 # via the X resource setting "xterm*sunFunctionKeys:true"
2020 # To understand <kf11>/<kf12> note that L1,L2 and F11,F12 are the same.
2021 # The <kf13>...<kf20> keys are L3-L10.  We don't set <kf16=\E[197z>
2022 # because we want it to be seen as <kcpy>. 
2023 # The <kf31>...<kf45> keys are R1-R15.  We treat some of these in accordance
2024 # with their Sun keyboard labels instead.
2025 # From: Simon J. Gerraty <sjg@zen.void.oz.au> 10 Jan 1996
2026 xterm-sun|xterm with sunFunctionKeys true, 
2027         kb2=\E[218z, kcpy=\E[197z, kend=\E[220z, kf1=\E[224z, 
2028         kf10=\E[233z, kf11=\E[192z, kf12=\E[193z, kf13=\E[194z, 
2029         kf14=\E[195z, kf15=\E[196z, kf17=\E[198z, kf18=\E[199z, 
2030         kf19=\E[200z, kf2=\E[225z, kf20=\E[201z, kf3=\E[226z, 
2031         kf31=\E[208z, kf32=\E[209z, kf33=\E[210z, kf34=\E[211z, 
2032         kf35=\E[212z, kf36=\E[213z, kf38=\E[215z, kf4=\E[227z, 
2033         kf40=\E[217z, kf42=\E[219z, kf44=\E[221z, kf5=\E[228z, 
2034         kf6=\E[229z, kf7=\E[230z, kf8=\E[231z, kf9=\E[232z, 
2035         kfnd=\E[200z, khlp=\E[196z, khome=\E[214z, kich1=\E[2z, 
2036         knp=\E[222z, kpp=\E[216z, kund=\E[195z, 
2037         use=xterm, 
2038 xterms-sun|small (80x24) xterm with sunFunctionKeys true, 
2039         cols#80, lines#24, use=xterm-sun, 
2040
2041 # This is for the extensible terminal emulator on the X11R6 contrib tape (emu).
2042 emu|emu native mode, 
2043         mir, msgr, xon, 
2044         colors#15, cols#80, it#8, lines#24, pairs#64, vt#200, 
2045         acsc=a\202f\260g261j\213k\214l\215m\216n\217o\220q\222s\224t\225u\226v\227w\230x\231~\244, 
2046         bel=^G, blink=\ES\EW, bold=\ES\EU, civis=\EZ, 
2047         clear=\EP\EE0;0;, cnorm=\Ea, cr=^M, csr=\Ek%p1%d;%p2%d;, 
2048         cub=\Eq-%p1%d;, cub1=^H, cud=\Ep%p1%d;, cud1=\EB, 
2049         cuf=\Eq%p1%d;, cuf1=\ED, cup=\EE%p1%d;%p2%d;, 
2050         cuu=\Ep-%p1%d;, cuu1=\EA, cvvis=\Ea, dch=\EI%p1%d;, 
2051         dch1=\EI1;, dl=\ER%p1%d;, dl1=\ER1;, ech=\Ej%p1%d;, ed=\EN, 
2052         el=\EK, el1=\EL, enacs=\200, home=\EE0;0;, ht=^I, hts=\Eh, 
2053         il=\EQ%p1%d;, il1=\EQ1;, ind=\EG, is2=\ES\Er0;\Es0;, 
2054         kbs=^H, kcub1=\EC, kcud1=\EB, kcuf1=\ED, kcuu1=\EA, 
2055         kdch1=\177, kent=^M, kf0=\EF00, kf1=\EF01, kf10=\EF10, 
2056         kf11=\EF11, kf12=\EF12, kf13=\EF13, kf14=\EF14, kf15=\EF15, 
2057         kf16=\EF16, kf17=\EF17, kf18=\EF18, kf19=\EF19, kf2=\EF02, 
2058         kf20=\EF20, kf3=\EF03, kf4=\EF04, kf5=\EF05, kf6=\EF06, 
2059         kf7=\EF07, kf8=\EF08, kf9=\EF09, kfnd=\Efind, kich1=\Eins, 
2060         knp=\Enext, kpp=\Eprior, kslt=\Esel, oc=\Es0;\Er0;, 
2061         rev=\ES\ET, ri=\EF, rmacs=\200, rmir=\EX, rmso=\ES, rmul=\ES, 
2062         rs2=\ES\Es0;\Er0;, 
2063         setab=\Es%i%p1%d; setaf=\Er%i%p1%d;, sgr0=\ES, 
2064         smacs=\200, smir=\EY, smso=\ES\ET, smul=\ES\EV, tbc=\Ej, 
2065
2066 ######## UNIX VIRTUAL TERMINALS AND VIRTUAL CONSOLES
2067 #
2068
2069 # Columbus UNIX virtual terminal. This terminal also appears in 
2070 # UNIX 4.0 and successors as line discipline 1 (?), but is 
2071 # undocumented and does not really work quite right.
2072 cbunix|cb unix virtual terminal, 
2073         am, da, db, 
2074         cols#80, lines#24, lm#0, 
2075         bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
2076         cup=\EG%p2%c%p1%c, cuu1=\EA, dch1=\EM, dl1=\EN, ed=\EL, 
2077         el=\EK, ich1=\EO, il1=\EP, ind=^J, kcub1=\ED, kcud1=\EB, 
2078         kcuf1=\EC, kcuu1=\EA, khome=\EE, rmso=\Eb^D, rmul=\Eb^A, 
2079         smso=\Ea^D, smul=\Ea^A, 
2080 # (vremote: removed obsolete ":nl@:" -- esr)
2081 vremote|virtual remote terminal, 
2082         am@, 
2083         cols#79, use=cbunix, 
2084 pty|4bsd pseudo teletype, 
2085         cup=\EG%p1%{32}%+%c%p2%{32}%+%c, rmso=\Eb$, rmul=\Eb!, 
2086         smso=\Ea$, smul=\Ea!, 
2087         use=cbunix, 
2088
2089 # The codes supported by the term.el terminal emulation in GNU Emacs 19.30 
2090 eterm|gnu emacs term.el terminal emulation, 
2091         am, mir, xenl, 
2092         cols#80, lines#24, 
2093         bel=^G, bold=\E[1m, clear=\E[H\E[J, cr=^M, 
2094         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
2095         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
2096         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
2097         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\\E[J, 
2098         el=\E[K, el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@, 
2099         il=\E[%p1%dL, il1=\E[L, ind=^J, rev=\E[7m, 
2100         rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmso=\E[m, rmul=\E[m, 
2101         sgr0=\E[m, smcup=\E7\E[?47h, smir=\E[4h, smso=\E[7m, 
2102         smul=\E[4m, 
2103
2104 # Entries for use by the FSF's `screen' program.  The screen and
2105 # screen-w entries came with version 3.7.1.  The screen2 and screen3 entries
2106 # come from University of Wisconsin and may be older.
2107 # (screen: added <cnorm> on ANSI model -- esr)
2108
2109 screen|VT 100/ANSI X3.64 virtual terminal, 
2110         am, km, mir, msgr, xenl, 
2111         colors#8, cols#80, it#8, lines#24, pairs#64, 
2112         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++\,\,hhII00, 
2113         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
2114         clear=\E[H\E[J, cnorm=\E[?25h, cr=^M, 
2115         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
2116         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
2117         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM, 
2118         cvvis=\E[34l, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
2119         dl1=\E[M, ed=\E[J, el=\E[K, enacs=\E(B\E)0, flash=\Eg, 
2120         home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, 
2121         il1=\E[L, ind=^J, is2=\E)0, kbs=^H, kcub1=\EOD, kcud1=\EOB, 
2122         kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~, kf1=\EOP, kf10=\E[21~, 
2123         kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
2124         kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
2125         khome=\E[1~, kich1=\E[2~, kll=\E[4~, knp=\E[6~, kpp=\E[5~, 
2126         nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, rmir=\E[4l, 
2127         rmkx=\E[?1l\E>, rmso=\E[23m, rmul=\E[24m, rs2=\Ec, sc=\E7, 
2128         sgr0=\E[m, smacs=^N, smir=\E[4h, smkx=\E[?1h\E=, 
2129         smso=\E[3m, smul=\E[4m, tbc=\E[3g, 
2130         use=ecma+color, 
2131
2132 screen-w|VT 100/ANSI X3.64 virtual terminal with 132 cols, 
2133         cols#132, use=screen, 
2134
2135 screen2|VT 100/ANSI X3.64 virtual terminal, 
2136         cols#80, it#8, lines#24, 
2137         cbt=\E[Z, clear=\E[2J\E[H, cr=^M, cub=\E[%p1%dD, cub1=^H, 
2138         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
2139         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
2140         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
2141         el=\E[K, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=, il=\E[%p1%dL, 
2142         il1=\E[L, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
2143         kcuu1=\EA, kf0=\E~, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV, 
2144         kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\E0I, khome=\EH, 
2145         nel=^M^J, rc=\E8, ri=\EM, rmir=\E[4l, rmso=\E[23m, 
2146         rmul=\E[24m, rs1=\Ec, sc=\E7, sgr0=\E[m, smir=\E[4h, 
2147         smso=\E[3m, smul=\E[4m, tbc=\E[3g, 
2148 # (screen3: removed unknown ":xv:LP:G0:" -- esr)
2149 screen3|VT 100/ANSI X3.64 virtual terminal, 
2150         km, mir, msgr, 
2151         cols#80, it#8, lines#24, 
2152         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J, 
2153         cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
2154         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
2155         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM, 
2156         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
2157         el=\E[K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, 
2158         il=\E[%p1%dL, il1=\E[L, ind=^J, is2=\E)0, kbs=^H, kcub1=\EOD, 
2159         kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, 
2160         kf3=\EOR, kf4=\EOS, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, 
2161         rmir=\E[4l, rmkx=\E>, rmso=\E[23m, rmul=\E[24m, rs1=\Ec, 
2162         sc=\E7, sgr0=\E[m, smir=\E[4h, smkx=\E=, smso=\E[3m, 
2163         smul=\E[4m, tbc=\E[3g, 
2164
2165 ######## WORKSTATION CONSOLES
2166 #
2167
2168 #### Sun consoles
2169 #
2170
2171 # :is1: resets scrolling region in case a previous user had used "tset vt100"
2172 oldsun|Sun Microsystems Workstation console, 
2173         am, km, mir, msgr, 
2174         cols#80, it#8, lines#34, 
2175         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=\E[B, cuf1=\E[C, 
2176         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP, 
2177         dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, ht=^I, 
2178         ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
2179         is1=\E[1r, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
2180         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, 
2181         rmso=\E[m, sgr0=\E[m, smso=\E[7m, 
2182 # From: Alexander Lukyanov <lav@video.yars.free.net>, 14 Nov 1995
2183 # <lines> capability later corrected by J.T. Conklin <jtc@cygnus.com>
2184 sun-il|Sun Microsystems console with working insert-line, 
2185         am, km, msgr, 
2186         cols#80, lines#34, 
2187         bel=^G, bold=\E[1m, clear=^L, cr=^M, cub1=^H, cud1=^J, 
2188         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
2189         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
2190         el=\E[K, ht=^I, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, 
2191         il1=\E[L, ind=^J, kb2=\E[218z, kbs=^H, kcub1=\E[D, 
2192         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177, 
2193         kend=\E[220z, kf1=\E[224z, kf10=\E[233z, kf11=\E[234z, 
2194         kf12=\E[235z, kf2=\E[225z, kf3=\E[226z, kf4=\E[227z, 
2195         kf5=\E[228z, kf6=\E[229z, kf7=\E[230z, kf8=\E[231z, 
2196         kf9=\E[232z, khome=\E[214z, knp=\E[222z, kopt=\E[194z, 
2197         kpp=\E[216z, kres=\E[193z, kund=\E[195z, rev=\E[7m, 
2198         rmso=\E[m, rmul=\E[m, rs2=\E[s, 
2199         sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m, 
2200         sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
2201 # On a SparcStation 5, <il1>/<il> flake out on the last line.
2202 # Unfortunately, without them the terminal has no way to scroll.
2203 sun-ss5|Sun SparcStation 5 console, 
2204         il@, il1@, use=sun-il, 
2205 # If you are using an SS5, change the sun definition to use sun-ss5.
2206 sun|sun1|sun2|Sun Microsystems Inc. workstation console, 
2207         use=sun-il, 
2208
2209 # From: <john@ucbrenoir>  Tue Sep 24 13:14:44 1985
2210 sun-s|Sun Microsystems Workstation window with status line, 
2211         hs, 
2212         dsl=\E]l\E\\, fsl=\E\\, tsl=\E]l, use=sun, 
2213 sun-e-s|sun-s-e|Sun Microsystems Workstation with status hacked for emacs, 
2214         hs, 
2215         dsl=\E]l\E\\, fsl=\E\\, tsl=\E]l, use=sun-e, 
2216 sun-48|Sun 48-line window, 
2217         cols#80, lines#48, use=sun, 
2218 sun-34|Sun 34-line window, 
2219         cols#80, lines#34, use=sun, 
2220 sun-24|Sun 24-line window, 
2221         cols#80, lines#24, use=sun, 
2222 sun-17|Sun 17-line window, 
2223         cols#80, lines#17, use=sun, 
2224 sun-12|Sun 12-line window, 
2225         cols#80, lines#12, use=sun, 
2226 sun-1|Sun 1-line window for sysline, 
2227         eslok, hs, 
2228         cols#80, lines#1, 
2229         dsl=^L, fsl=\E[K, tsl=^M, use=sun, 
2230 sun-e|sun-nic|sune|Sun Microsystems Workstation without insert character, 
2231         ich1@, rmir@, smir@, 
2232         use=sun, 
2233 sun-c|sun-cmd|Sun Microsystems Workstation console with scrollable history, 
2234         lines#35, 
2235         rmcup=\E[>4h, smcup=\E[>4l, use=sun, 
2236
2237 #### Iris consoles
2238 #
2239
2240 # (wsiris: this had extension capabilities
2241 #       :HS=\E7F2:HE=\E7F7:\
2242 #       :CT#2:CZ=*Bblack,red,green,yellow,blue,magenta,cyan,*Fwhite:
2243 # See the note on Iris extensions near the end of this file.  
2244 # Finally, removed suboptimal <clear>=\EH\EJ and added <cud1> & 
2245 # <flash> from BRL -- esr)
2246 wsiris|iris40|iris emulating a 40 line visual 50 (approximately), 
2247         am, 
2248         cols#80, it#8, lines#40, 
2249         bel=^G, clear=\Ev, cnorm=\E>, cub1=^H, cud1=\EB, cuf1=\EC, 
2250         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, cvvis=\E;, 
2251         dim=\E7F2, dl1=\EM, ed=\EJ, el=\EK, 
2252         flash=\E7F4\E7B1\013\E7F7\E7B0, home=\EH, ht=^I, il1=\EL, 
2253         ind=^J, is2=\E7B0\E7F7\E7C2\E7R3, kcub1=\ED, kcud1=\EB, 
2254         kcuf1=\EC, kcuu1=\EA, kf0=\E0, kf1=\E1, kf2=\E2, kf3=\E3, 
2255         kf4=\E4, kf5=\E5, kf6=\E6, kf7=\E7, kf8=\E8, kf9=\E9, ri=\EI, 
2256         rmso=\E0@, rmul=\E7R3\E0@, sgr0=\E7F7, smso=\E9P, 
2257         smul=\E7R2\E9P, 
2258
2259 #### NeWS consoles
2260 #
2261 # Console terminal windows under the NeWS (Sun's Display Postscript windowing
2262 # environment).   Note: these have nothing to do with Sony's News workstation
2263 # line.
2264 #
2265
2266 # Entry for NeWS's psterm from Eric Messick & Hugh Daniel
2267 # (psterm: unknown ":sl=\EOl:el=\ENl:" removed -- esr)
2268 psterm|psterm-basic|NeWS psterm-80x34, 
2269         am, hs, km, ul, 
2270         cols#80, it#8, lines#34, 
2271         blink=\EOb, bold=\EOd, clear=^L, csr=\EE%p1%d;%p2%d;, 
2272         cub1=\ET, cud1=\EP, cuf1=\EV, cup=\E%p1%d;%p2%d;, cuu1=\EY, 
2273         dch1=\EF, dl1=\EK, ed=\EB, el=\EC, flash=\EZ, fsl=\ENl, 
2274         home=\ER, ht=^I, il1=\EA, ind=\EW, is1=\EN*, kcub1=\E[D, 
2275         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, ll=\EU, rc=^\, rev=\EOr, 
2276         ri=\EX, rmcup=\ENt, rmir=\ENi, rmso=\ENo, rmul=\ENu, sc=^], 
2277         sgr0=\EN*, smcup=\EOt, smir=\EOi, smso=\EOo, smul=\EOu, 
2278         tsl=\EOl, 
2279 psterm-96x48|NeWS psterm 96x48, 
2280         cols#96, lines#48, use=psterm, 
2281 psterm-90x28|NeWS psterm 90x28, 
2282         cols#90, lines#28, use=psterm, 
2283 psterm-80x24|NeWS psterm 80x24, 
2284         cols#80, lines#24, use=psterm, 
2285 # This is a faster termcap for psterm.  Warning:  if you use this termcap,
2286 # some control characters you type will do strange things to the screen.
2287 # (psterm-fast: unknown ":sl=^Ol:el=^Nl:" -- esr)
2288 psterm-fast|NeWS psterm fast version (flaky ctrl chars), 
2289         am, hs, km, ul, 
2290         cols#80, it#8, lines#34, 
2291         blink=^Ob, bold=^Od, clear=^L, csr=\005%p1%d;%p2%d;, 
2292         cub1=^T, cud1=^P, cuf1=^V, cup=\004%p1%d;%p2%d;, cuu1=^Y, 
2293         dch1=^F, dl1=^K, ed=^B, el=^C, flash=^Z, fsl=^Nl, home=^R, ht=^I, 
2294         il1=^A, ind=^W, is1=^N*, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
2295         kcuu1=\E[A, ll=^U, rc=^\, rev=^Or, ri=^X, rmcup=^Nt, rmir=^Ni, 
2296         rmso=^No, rmul=^Nu, sc=^], sgr0=^N*, smcup=^Ot, smir=^Oi, 
2297         smso=^Oo, smul=^Ou, tsl=^Ol, 
2298
2299 #### NeXT Consoles
2300 #
2301 # Use `glasstty' for the Workspace application
2302 #
2303
2304 # From: Dave Wetzel <dave@turbocat.snafu.de> 22 Dec 1995
2305 next|NeXT console, 
2306         am, xt, 
2307         cols#80, it#8, lines#24, 
2308         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
2309         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H, 
2310         ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, 
2311         rmso=\E[4;1m, sgr0=\E[m, smso=\E[4;2m, 
2312 nextshell|NeXT Shell application, 
2313         am, 
2314         cols#80, 
2315         bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, kbs=^H, kcub1=^H, 
2316         kcud1=^J, nel=^M^J, 
2317
2318 ### Common Desktop Environment
2319 #
2320
2321 # This ships with Sun's CDE in Solaris 2.5
2322 dtterm|CDE desktop terminal, 
2323         am, mir, msgr, xenl, xon, 
2324         colors#8, cols#80, it#8, lines#24, lm#0, pairs#64, 
2325         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2326         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
2327         clear=\E[H\E[J, cnorm=\E[?25h, cr=^M, 
2328         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
2329         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
2330         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
2331         dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, 
2332         dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, 
2333         flash=\E[?5h$<200>\E[?5l, home=\E[H, ht=^I, hts=\EH, 
2334         ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
2335         invis=\E[8m, is2=\E F\E>\E[?1l\E[?7h\E[?45l, kbs=^H, 
2336         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
2337         kdch1=\E[3~, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~, 
2338         kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
2339         kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
2340         kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, kf4=\E[14~, 
2341         kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
2342         kfnd=\E[1~, khlp=\E[28~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
2343         kslt=\E[4~, nel=\EE, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM, 
2344         rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmso=\E[22;27m, 
2345         rmul=\E[24m, sc=\E7, setab=\E[%p1%{40}%+%dm, 
2346         setaf=\E[%p1%{30}%+%dm, 
2347         sgr=\E[0%?%p1%t;2;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
2348         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
2349         smso=\E[2;7m, smul=\E[4m, tbc=\E[3g, 
2350
2351 ######## COMMON TERMINAL TYPES
2352 #
2353 # This section describes terminal classes and maker brands that are still
2354 # quite common, but have proprietary command sets not blessed by ANSI.
2355 #
2356
2357 #### Altos
2358 #
2359 # Altos made a moderately successful line of UNIX boxes.  In 1990 they were
2360 # bought out by Acer, a major Taiwanese manufacturer of PC-clones.
2361 # Acer has a web site at http://www.acer.com.
2362 #
2363 # Altos descriptions from Ted Mittelstaedt <tedm@agora.rain.com> 4 Sep 1993
2364 # His comments suggest they were shipped with the system.
2365 #
2366
2367 # (altos2: had extension capabilities
2368 #       :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
2369 #       :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
2370 #       :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
2371 #       :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
2372 #       :XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
2373 #       :YU=^AQ\r:YD=^AR\r:YR=^AS\r:YL=^AT\r:\
2374 #       :HL=^AP\r:SP=\E[i:\
2375 #       :IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
2376 #       :LO=\E[0q:LC=\E[5q:LL=\E[6q:\
2377 # Comparison with the k* capabilities makes it obvious that the c* things are
2378 # shift keys.  I have renamed them to keys 32 and up accordingly.  Also,
2379 # :sr: was given as a boolean-- esr)
2380 altos2|alt2|altos-2|altos II, 
2381         cols#80, it#8, lines#24, xmc#0, 
2382         clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[1B, cuf1=\E[1C, 
2383         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[1A, dch1=\E[P, dl=\E[M, 
2384         ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, 
2385         if=/usr/share/tabset/vt100, il1=\E[L, ind=^J, 
2386         is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kDL=^Am\r, 
2387         kEOL=^An\r, kbs=^H, kcbt=^AK\r, kclr=^AL\r, kcub1=\E[D, 
2388         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=^AM\r, kel=^AN\r, 
2389         kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf32=^A`\r, 
2390         kf33=^Aa\r, kf34=^Ab\r, kf35=^Ac\r, kf36=^Ad\r, kf37=^Ae\r, 
2391         kf38=^Af\r, kf39=^Ag\r, kf4=^AC\r, kf40=^Ah\r, kf41=^Ai\r, 
2392         kf42=^Aj\r, kf43=^Ak\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
2393         kf8=^AG\r, kf9=^AH\r, khome=\E[f, kil1=^AJ\r, kind=^AO\r, 
2394         nel=^M^J, rmam=\E[?7l, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
2395         smam=\E[?7h, smso=\E[7m, smul=\E[4m, 
2396 # (altos3: had extension capabilities
2397 #       :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
2398 #       :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
2399 #       :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
2400 #       :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
2401 #       :XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
2402 #       :HL=^AP\r:SP=\E[i:\
2403 #       :IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
2404 altos3|altos5|alt3|alt5|altos-3|altos-5|altos III or V, 
2405         blink=\E[5p, ri=\EM, sgr0=\E[p, 
2406         use=altos2, 
2407 altos4|alt4|altos-4|altos IV, 
2408         use=wy50, 
2409 # (altos7: had extension capabilities:
2410 #       :GG#0:GI=\EH8:GF=\EH7:\
2411 #       :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
2412 #       :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
2413 #       :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
2414 #       :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
2415 # Comparison with the k* capabilities makes it obvious that the c* things are
2416 # shift keys.  I have renamed them to keys 32 and up accordingly.  I have
2417 # also made this entry relative to adm12 in order to give it an <sgr>. The
2418 # <invis> imported by use=adm+sgr may work, let me know. -- esr)
2419 altos7|alt7|altos VII, 
2420         am, mir, 
2421         cols#80, lines#24, xmc#0, 
2422         acsc=l2m1k3j5t4u9v=w0q\:x6n8, blink=\EG2, bold=\EGt, 
2423         clear=\E+^^, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
2424         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
2425         dim=\EGp, dl=\ER, ed=\EY, el=\ET, home=^^, ht=^I, il1=\EE, 
2426         ind=^J, invis=\EG1, 
2427         is2=\E`\:\Ee(\EO\Ee6\Ec41\E~4\Ec21\Eu\E~2, kDL=^Am\r, 
2428         kEOL=^An\r, kbs=^H, kcbt=^AK\r, kclr=^AL\r, kcub1=^H, 
2429         kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=^AM\r, kel=^AN\r, 
2430         kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf32=^A`\r, 
2431         kf33=^Aa\r, kf34=^Ab\r, kf35=^Ac\r, kf36=^Ad\r, kf37=^Ae\r, 
2432         kf38=^Af\r, kf39=^Ag\r, kf4=^AC\r, kf40=^Ah\r, kf41=^Ai\r, 
2433         kf42=^Aj\r, kf43=^Ak\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
2434         kf8=^AG\r, kf9=^AH\r, khome=^^, kil1=^AJ\r, kind=^AO\r, 
2435         knp=\EK, kpp=\EJ, mc4=\EJ, mc5=\Ed#, nel=^M^J, ri=\Ej, 
2436         rmir=\Er, smir=\Eq, 
2437         use=adm+sgr, 
2438 altos7pc|alt7pc|altos PC VII, 
2439         kend=\ET, use=altos7, 
2440
2441 #### Hewlett-Packard (hp)
2442 #
2443 #       Hewlett-Packard
2444 #       8000 Foothills Blvd 
2445 #       Roseville, CA 95747
2446 #       Vox: 1-(916)-785-4363   (Technical response line for VDTs)
2447 #            1-(800)-633-3600   (General customer support)
2448 #
2449
2450 # Generic HP terminal - this should (hopefully) work on any HP terminal.
2451 hpgeneric|hp|hewlett-packard generic terminal, 
2452         am, da, db, mir, xhp, 
2453         cols#80, lines#24, lm#0, vt#6, 
2454         bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
2455         cup=\E&a%p2%dc%p1%dY$<6>, cuu1=\EA, dch1=\EP, dl1=\EM, 
2456         ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, il1=\EL, 
2457         ind=^J, kbs=^H, kcbt=\Ei, rmir=\ER, rmso=\E&d@, rmul=\E&d@, 
2458         sgr0=\E&d@, smir=\EQ, smso=\E&dJ, smul=\E&dD, tbc=\E3, 
2459         vpa=\E&a%p1%dY, 
2460
2461 hp110|hewlett-packard model 110 portable, 
2462         lines#16, use=hpgeneric, 
2463
2464 hp+pfk+cr|hp function keys with CR, 
2465         kf1=\Ep\r, kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, 
2466         kf6=\Eu\r, kf7=\Ev\r, kf8=\Ew\r, 
2467
2468 hp+pfk-cr|hp function keys w/o CR, 
2469         kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, 
2470         kf8=\Ew, 
2471
2472 # The hp2621s use the same keys for the arrows and function keys, 
2473 # but not separate escape sequences. These definitions allow the 
2474 # user to use those keys as arrow keys rather than as function 
2475 # keys.
2476 hp+pfk+arrows|hp alternate arrow definitions, 
2477         kcub1=\Eu\r, kcud1=\Ew\r, kcuf1=\Ev\r, kcuu1=\Et\r, kf1@, 
2478         kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, khome=\Ep\r, kind=\Er\r, 
2479         kll=\Eq\r, kri=\Es\r, 
2480
2481 hp+arrows|hp arrow definitions, 
2482         kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh, 
2483         kind=\ES, kll=\EF, kri=\ET, 
2484
2485 # Generic stuff from the HP 262x series
2486 #
2487 hp262x|HP 262x terminals, 
2488         xhp, 
2489         blink=\E&dA, dch1=\EP$<2>, ed=\EJ, ht=\011$<2>, ind=\ES, 
2490         invis=\E&dS, ip=$<2>, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
2491         kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, khome=\Eh, 
2492         kich1=\EQ, kil1=\EL, kind=\ES, knp=\EU, kpp=\EV, kri=\ET, 
2493         krmir=\ER, rev=\E&dB, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@, 
2494         sgr=\E&d%'@'%?%p1%t%'B'%|%;%?%p2%t%'D'%|%;%?%p3%t%'B'%|%;%?%p4%t%'A'%|%;%c, 
2495         sgr0=\E&d@, smkx=\E&s1A, smso=\E&dB, smul=\E&dD, 
2496
2497 # Note: no <home> on HPs since that homes to top of memory, not screen.
2498 # Due to severe 2621 braindamage, the only way to get the arrow keys to
2499 # transmit anything at all is to turn on the function key labels
2500 # with <smkx>, and even then the user has to hold down shift!
2501 # The default 2621 turns off the labels except when it has to to 
2502 # enable the function keys. If your installation prefers labels 
2503 # on all the time, or off all the time (at the "expense" of the 
2504 # function keys), use 2621-nl or 2621-wl.
2505
2506 # Note: there are newer ROMs for 2621's that allow you to set 
2507 # strap A so the regular arrow keys xmit \EA, etc, as with the 
2508 # 2645. However, even with this strap set, the terminal stops 
2509 # xmitting if you reset it, until you unset and reset the strap!
2510 # Since there is no way to set/unset the strap with an escape 
2511 # sequence, we don't use it in the default.
2512 # If you like, you can use 2621-ba (brain-damaged arrow keys).
2513 hp2621-ba|2621 w/new rom and strap A set, 
2514         rmkx@, smkx@, use=hp+arrows, 
2515         use=hp2621, 
2516
2517 # hp2621 with function labels. Most of the time they are off,
2518 # but inside vi, the function key labels appear. You have to
2519 # hold down shift to get them to xmit.
2520 hp2621|hp2621a|hp2621A|2621|2621a|2621A|hp2621-wl|2621-wl|hp 2621 w/labels, 
2521         is2=\E&jA\r, rmkx=\E&jA, 
2522         use=hp2621-fl, 
2523 hp2621-fl|hp 2621, 
2524         xhp@, xon, 
2525         pb#19200, 
2526         cbt=\Ei, cup=\E&a%p2%dc%p1%dY, dch1=\EP$<2>, ht=\011$<2>, 
2527         ip=$<2>, is2=\E&j@\r, rmkx=\E&j@, rmso=\E&d@, rmul=\E&d@, 
2528         sgr0=\E&d@, smkx=\E&jB, smso=\E&dD, smul=\E&dD, 
2529         use=hp+pfk+cr, use=hpgeneric, 
2530
2531 # To use hp2621p printer, setenv TERM=2621p, PRINTER=2612p
2532 hp2621p|hp 2621 with printer, 
2533         mc4=\E&p13C, mc5=\E&p11C, use=hp2621, 
2534
2535 hp2621p-a|hp2621p with fn as arrows, 
2536         use=hp+pfk+arrows, use=hp2621p, 
2537
2538 # hp2621 with k45 keyboard
2539 hp2621-k45|hp2621k45|k45|hp 2621 with 45 keyboard, 
2540         kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
2541         khome=\Eh, rmkx=\E&s0A, smkx=\E&s1A, 
2542         use=hp2621, 
2543
2544 # 2621 using all 48 lines of memory, only 24 visible at any time.  
2545 hp2621-48|48 line 2621, 
2546         lines#48, 
2547         cup=\E&a%p2%dc%p1%dR, home=\EH, vpa=\E&a%p1%dR, use=hp2621, 
2548
2549 # 2621 with no labels ever. Also prevents vi delays on escape.
2550 hp2621-nl|hp 2621 with no labels, 
2551         kcub1@, kcud1@, kcuf1@, kcuu1@, khome@, rmkx@, smkx@, use=hp2621-fl, 
2552
2553 # Needed for UCB ARPAVAX console, since lsi-11 expands tabs 
2554 # (wrong).
2555 #
2556 hp2621-nt|hp 2621 w/no tabs, 
2557         ht@, use=hp2621, 
2558
2559 # Hp 2624 B with 4 or 10 pages of memory.
2560
2561 # Some assumptions are made with this entry. These settings are 
2562 # NOT set up by the initialization strings.
2563
2564 # Port Configuration
2565 #       RecvPace=Xon/Xoff
2566 #       XmitPace=Xon/Xoff
2567 #       StripNulDel=Yes
2568
2569 # Terminal Configuration
2570 #       InhHndShk=Yes
2571 #       InhDC2=Yes
2572 #       XmitFnctn(A)=No
2573 #       InhEolWrp=No
2574
2575 # Note: the 2624 DOES have a true <home>, believe it or not!
2576
2577 # The 2624 has an "error line" to which messages can be sent. 
2578 # This is CLOSE to what is expected for a "status line". However,
2579 # after a message is sent to the "error line", the next carriage 
2580 # return is EATEN and the "error line" is turned back off again! 
2581 # So I guess we can't define <hs>, <eslok>, <wsl>, <dsl>, <fsl>, <tsl>.
2582
2583 # This entry supports emacs (and any other program that uses raw 
2584 # mode) at 4800 baud and less. I couldn't get the padding right 
2585 # for 9600.
2586 #
2587 # (hp2624: replaced NUL sequences in flash with mandatory pauses -- esr)
2588 hp2624|hp2624a|hp2624b|hp2624b-4p|Hewlett Packard 2624 B, 
2589         da, db, 
2590         lm#96, 
2591         flash=\E&w13F$<66/>\E&w12F$<66/>\E&w13F$<66/>\E&w12F, use=hp+labels, use=scrhp, 
2592
2593 # This hp2626 entry does not use any of the fancy windowing stuff 
2594 # of the 2626.
2595
2596 # Indeed, terminfo does not yet handle such stuff. Since changing 
2597 # any window clears memory, it is probably not possible to use 
2598 # this for screen opt.
2599
2600 # ed is incredibly slow most of the time - I am guessing at the 
2601 # exact padding. Since the terminal uses xoff/xon this is intended 
2602 # only for cost computation, so that the terminal will prefer el 
2603 # or even dl1 which is probably faster!
2604
2605 # \ED\EJ\EC hack for ed from Ed Bradford - apparently ed is only 
2606 # extra slow on the last line of the window. 
2607
2608 # The padding probably should be changed.
2609 #
2610 hp2626|hp2626a|hp2626p|hp 2626, 
2611         da, db, 
2612         lm#0, pb#19200, 
2613         ed=\ED\EJ$<500>\EC, indn=\E&r%p1%dD, ip=$<4>, 
2614         is2=\E&j@\r, rin=\E&r%p1%dU, 
2615         use=hp+pfk+cr, use=hp+labels, use=scrhp, 
2616
2617 # This entry is for sysline. It allocates a 23 line window with 
2618 # a 115 line workspace for regular use, and a 1 line window for 
2619 # the status line.
2620
2621 # This assumes port 2 is being used.
2622 # Turn off horizontal line, Create ws #1 with 115 lines,
2623 # Create ws #2 with 1 line, Create window #1 lines 1-23,
2624 # Create window #2 lines 24-24, Attach cursor to workspace #1.
2625 # Note that this clears the tabs so it must be done by tset before
2626 # it sets the tabs.
2627 #
2628 hp2626-s|hp 2626 using only 23 lines, 
2629         eslok, hs, 
2630         lines#23, 
2631         fsl=\E&d@\E&w7f2p1I\E&w4f1I, 
2632         is1=\E&q3t0{0H \E&w0f115n1I \E&w0f1n2I \E&w2f1i0d0u22l0S \E&w2f2i0d23u23l0S \E&w7f2p1I \r, 
2633         tsl=\E&w7f2p2I\E&w4f2I\r\EK\E&a%p1%dC, 
2634         use=hp2626, 
2635 # Force terminal back to 24 lines after being 23.
2636 hp2626-ns|hp 2626 using all 24 lines, 
2637         is1=\E&q3t0{0H \E&w0f118n1I \E&w0f1n2I \E&w2f1i0d0u23l0S \E&w3f2I \E&w7f2p1I \r, use=hp2626, 
2638 # Various entries useful for small windows on 2626.
2639 hp2626-12|hewlett-packard 2626 12 lines, 
2640         lines#12, use=hp2626, 
2641 hp2626-12x40|hewlett-packard 2626 12 lines 40 columns, 
2642         cols#40, lines#12, use=hp2626, 
2643 hp2626-x40|hewlett-packard 2626 40 columns, 
2644         cols#40, use=hp2626, 
2645 hp2626-12-s|hewlett-packard 2626 11 lines plus status, 
2646         lines#11, use=hp2626-s, 
2647
2648 #
2649 # hp2627 color tubes from University of Wisconsin
2650 #
2651 hp2627a-rev|hp 2627 with reverse video colors, 
2652         cr=^M, cud1=^J, ht=^I, ind=^J, 
2653         is2=\E&v0m1a0b0c1x1y1z1i0a0b1c1x1y1z0i0S\E&j@\r\E3\r, 
2654         kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rmul=\E&v0S\E&d@, 
2655         smul=\E&dD\E&v1S, 
2656         use=hp2621-nl, 
2657 hp2627a|hp 2627 color terminal with no labels, 
2658         cr=^M, cud1=^J, ht=^I, ind=^J, 
2659         is2=\E&v0m1a1b0c1i0a1b1c2i1a0b0c0i0S\E&j@\r\E3\r, 
2660         kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rmso=\E&v0S, 
2661         rmul=\E&v0S\E&d@, smso=\E&v2S, smul=\E&dD\E&v1S, 
2662         use=hp2621-nl, 
2663 hp2627c|hp 2627 color (cyan) terminal with no labels, 
2664         cr=^M, cud1=^J, ht=^I, ind=^J, 
2665         is2=\E&v0m1a0b0c2i1a1b0c1i0a1b1c0i0S\E&j@\r\E3\r, 
2666         kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, 
2667         use=hp2627a, 
2668
2669 # hp2640a doesn't have the Y cursor addressing feature, and C is 
2670 # memory relative instead of screen relative, as we need.
2671 #
2672 hp2640a|hp 2640a, 
2673         cup@, rmkx@, smkx@, use=hp2645, 
2674
2675 hp2640b|hp2644a|hp 264x series, 
2676         rmkx@, smkx@, use=hp2645, 
2677
2678 # (hp2641a: removed unknown :gu: -- esr)
2679 hp2641a|hp2645a|hp2647a|HP 264?A series BRL entry, 
2680         am, da, db, mir, xhp, 
2681         cols#80, lines#24, 
2682         bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
2683         cup=\E&a%p2%2dc%p1%2dY, cuu1=\EA, dch1=\EP, dl1=\EM, 
2684         ed=\EJ, el=\EK, hpa=\E&a%p1%2dC, ht=^I, 
2685         if=/usr/share/tabset/std, il1=\EL, ind=^J, 
2686         is2=\EE$<500/>, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, 
2687         rmir=\ER, rmso=\E&d@, smir=\EQ, smso=\E&dB, 
2688         vpa=\E&a%p1%2dY, 
2689
2690 # This terminal should be used at 4800 baud or less. It needs padding for
2691 # plain characters at 9600, I guessed at an appropriate cr delay.  It really
2692 # wants ^E/^F handshaking, but that doesn't work well even if you write
2693 # software to support it.
2694 hp2645|hp45|HP 2645 series, 
2695         pb#9600, 
2696         blink=\E&dA, cr=\r$<20>, dim=\E&dH, kctab=\E2, kcub1=\ED, 
2697         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM, 
2698         ked=\EJ, kel=\EK, khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, 
2699         kind=\ES, knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, rev=\E&dB, 
2700         rmkx=\E&s0A, 
2701         sgr=\E&d%'@'%?%p1%t%'B'%|%;%?%p2%t%'D'%|%;%?%p3%t%'B'%|%;%?%p4%t%'A'%|%;%?%p5%t%'H'%|%;%?%p6%t%'B'%|%;%c, 
2702         sgr0=\E&d@, smkx=\E&s1A, smul=\E&dD, 
2703         use=hpgeneric, 
2704 # You should use this terminal at 4800 baud or less.
2705 hp2648|hp2648a|HP 2648a graphics terminal, 
2706         clear=\EH\EJ$<50>, cup=\E&a%p2%dc%p1%dY$<20>, 
2707         dch1=\EP$<7>, ip=$<5>, 
2708         use=hp2645, 
2709
2710 # The HP 150 terminal is a fairly vanilla HP terminal, with the 
2711 # clreol standout problem. It also has graphics capabilities and 
2712 # a touch screen, which we don't describe here.
2713 hp150|hewlett packard Model 150, 
2714         use=hp2622, 
2715
2716 # HP 2382a terminals, "the little ones." They don't have any 
2717 # alternate character set support and sending out ^N/^O will 
2718 # leave the screen blank.
2719 hp2382a|hp2382|hewlett packard 2382a, 
2720         da, db, 
2721         lh#1, lm#48, 
2722         acsc@, 
2723         pln=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s, 
2724         rmacs@, 
2725         sgr=\E&d%{0}%Pa%?%p4%t%{1}%ga%+%Pa%;%?%p1%p3%|%p6%|%t%{2}%ga%+%Pa%;%?%p2%p6%|%t%{4}%ga%+%Pa%;%?%p1%p5%|%t%{8}%ga%+%Pa%;%?%p7%t%?%ga%ts%ga%'@'%+%e%'S'%;%e%?%ga%t%ga%'@'%+%e%'@'%;%;%c, 
2726         sgr0=\E&d@, smacs@, 
2727         use=hp+labels, use=scrhp, 
2728
2729 hp2621-a|hp2621a-a|hp2621 with fn as arrows, 
2730         use=hp+pfk+arrows, use=hp2621-fl, 
2731
2732 # newer hewlett packard terminals
2733
2734 newhpkeyboard|generic entry for HP extended keyboard, 
2735         kbs=^H, kcbt=\Ei, kclr=\EJ, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
2736         kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, khome=\Eh, 
2737         kich1=\EQ, kil1=\EL, kind=\ET, kll=\EF, knp=\EU, kpp=\EV, 
2738         kri=\ES, krmir=\ER, rmkx=\E&s0A, smkx=\E&s1A, 
2739         use=hp+pfk-cr, 
2740
2741 newhp|generic entry for new hewlett packard terminals, 
2742         am, bw, mir, xhp, xon, 
2743         cols#80, lines#24, pb#4800, 
2744         acsc=T1R!U2S"W3O#V4P$t5u6w7v8\:'9(LQKWlRkT5I3@2[MAJSmFjGdHQ;Y+Z*X\:4>q\,x.n/, 
2745         bel=^G, blink=\E&dA, bold=\E&dF, cbt=\Ei, cr=^M, cub1=^H, 
2746         cud1=^J, cuf1=\EC, cuu1=\EA, dch1=\EP$<2>, dim=\E&dH, 
2747         dl1=\EM, ed=\EJ, el=\EK, ht=\011$<2>, hts=\E1, il1=\EL, ind=^J, 
2748         invis=\E&dS, ip=$<2>, is1=\E&jB$<8>, nel=^M^J, 
2749         pfkey=\E&f0a%p1%dk0d%p2%l%dL%p2%s, 
2750         pfloc=\E&f1a%p1%dk0d%p2%l%dL%p2%s, 
2751         pfx=\E&f2a%p1%dk0d%p2%l%dL%p2%s, rev=\E&dB, ri=\ET, 
2752         rmacs=^O, rmir=\ER, rmso=\E&d@, rmul=\E&d@, rs1=\Eg, 
2753         sgr=\E&d%{0}%Pa%?%p4%t%{1}%ga%+%Pa%;%?%p1%p3%|%p6%|%t%{2}%ga%+%Pa%;%?%p2%p6%|%t%{4}%ga%+%Pa%;%?%p1%p5%|%t%{8}%ga%+%Pa%;%?%p7%t%?%ga%ts%ga%'@'%+%e%'S'%;%e%?%ga%t%ga%'@'%+%e%'@'%;%;%c%?%p9%t\016%e\017%;, 
2754         sgr0=\E&d@\017, smacs=^N, smir=\EQ, smso=\E&dJ, smul=\E&dD, 
2755         tbc=\E3, 
2756         use=newhpkeyboard, 
2757
2758 memhp|memory relative addressing for new HP ttys, 
2759         vt#6, 
2760         clear=\EH\EJ$<40>, cub=\E&a-%p1%dC, cud=\E&a+%p1%dR, 
2761         cuf=\E&a+%p1%dC, cup=\E&a%p1%dr%p2%dC, cuu=\E&a-%p1%dR, 
2762         home=\EH, hpa=\E&a%p1%dC, ll=\E&a23R\r, 
2763         mrcup=\E&a%p1%dr%p2%dC, vpa=\E&a%p1%dR, use=newhp, 
2764
2765 scrhp|screen relative addressing for new HP ttys, 
2766         clear=\E&a0c0Y\EJ$<40>, cub=\E&a-%p1%dC, 
2767         cud=\E&a+%p1%dR, cuf=\E&a+%p1%dC, 
2768         cup=\E&a%p1%dy%p2%dC$<10>, cuu=\E&a-%p1%dR, 
2769         home=\E&a0y0C, hpa=\E&a%p1%dC, ll=\E&a0y0C\EA, 
2770         mrcup=\E&a%p1%dr%p2%dC, vpa=\E&a%p1%dY, use=newhp, 
2771
2772 # (hp+labels: added label values from a BRL termcap -- esr)
2773 hp+labels|"standard" label info for new HP ttys, 
2774         lh#2, lw#8, nlab#8, 
2775         lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7, lf7=f8, 
2776         pln=\E&f2a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s, 
2777         rmln=\E&j@, smln=\E&jB, 
2778
2779 hp+printer|"standard" printer info for HP ttys, 
2780         ff=\E&p4u0C, mc0=\EH\E&p4dF, mc4=\E&p13C, mc5=\E&p11C, 
2781
2782
2783 # The new hp2621b is kind of a cross between the old 2621 and the
2784 # new 262x series of machines. It has dip-switched options. 
2785 # The firmware has a bug in it such that if you give it a null 
2786 # length label, the following character is eaten!
2787 hp2621b|hp 2621b with old style keyboard, 
2788         lh#1, lm#48, lw#8, nlab#8, 
2789         kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh, 
2790         kind=\ET, kll=\EF, kri=\ES, 
2791         pln=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d3L%?%ga%!%t%{32}%c%;%p2%s\E%'o'%p1%+%c\r, 
2792         smln=\E&jB, 
2793         use=hp2621, 
2794
2795 hp2621b-p|hp 2621b with printer, 
2796         use=hp+printer, use=hp2621b, 
2797
2798 # hp2621b - new 2621b with new extended keyboard
2799 # these are closer to the new 26xx series than the other 2621b
2800 hp2621b-kx|hp 2621b with extended keyboard, 
2801         use=newhpkeyboard, use=hp2621b, 
2802
2803 hp2621b-kx-p|hp 2621b with new keyboard & printer, 
2804         use=hp+printer, use=hp2621b-kx, 
2805
2806 # Some assumptions are made in the following entries.
2807 # These settings are NOT set up by the initialization strings.
2808
2809 #    Port Configuration
2810 # RecvPace=Xon/Xoff     XmitPace=Xon/Xoff       StripNulDel=Yes
2811
2812 #    Terminal Configuration
2813 # InhHndShk(G)=Yes      InhDC2(H)=Yes
2814 # XmitFnctn(A)=No               InhEolWrp=No
2815 #
2816
2817 # Hp 2622a & hp2623a display and graphics terminals
2818 #
2819 hp2622|hp2622a|hp 2622, 
2820         da, db, 
2821         lm#0, pb#19200, 
2822         is2=\E&dj@\r, use=hp+pfk+cr, use=hp+labels, use=scrhp, 
2823
2824 # The 2623 is a 2622 with extra graphics hardware.
2825 hp2623|hp2623a|hp 2623, 
2826         use=hp2622, 
2827
2828 hp2624b-p|hp2624b-4p-p|hewlett packard 2624 B with printer, 
2829         use=hp+printer, use=hp2624, 
2830
2831 # The hewlett packard B can have an optional extra 6 pages of memory.
2832 hp2624-10p|hp2624a-10p|hp2624b-10p|hewlett packard 2624 B w/ 10 pages of memory, 
2833         lm#240, use=hp2624, 
2834
2835 hp2624b-10p-p|hewlett packard 2624 B w/ extra memory & printer, 
2836         lm#240, use=hp2624b-p, 
2837
2838 # Color manipulations for HP terminals
2839 hp+color|hp with colors, 
2840         ccc, 
2841         colors#16, ncv#17, pairs#7, 
2842         initp=\E&v%?%p2%{1000}%=%t1%e.%p2%d%;a\n%?%p3%{1000}%=%t1%e.%p3%d%;b\n%?%p4%{1000}%=%t1%e.%p4%d%;c\n%?%p5%{1000}%=%t1%e.%p5%d%;x\n%?%p6%{1000}%=%t1%e.%p6%d%;y\n%?%p7%{1000}%=%t1%e.%p7%d%;z\n%p1%dI, 
2843         oc=\E&v0m1a1b1c0I\E&v1a1I\E&v1b2I\E&v1a1b3I\E&v1c4I\E&v1a1c5I\E&v1b1c6I\E&v1x1y7I, 
2844         op=\E&v0S, scp=\E&v%p1%dS, 
2845
2846 # <is2> sets the screen to be 80 columns wide
2847 hp2397a|hp2397|hewlett packard 2397A color terminal, 
2848         is2=\E&w6f80X, 
2849         use=memhp, use=hp+labels, use=hp+color, 
2850
2851 #  HP 700/44 Setup parameters:  
2852 # Terminal Mode         HP-PCterm
2853 # Inhibit Auto Wrap     NO
2854 # Status Line           Host Writable
2855 # PC Character Set      YES
2856 # Twenty-Five Line Mode YES
2857 # XON/XOFF              @128 or 64 (sc)
2858 # Keycode Mode          NO   or YES (sc)
2859 # Backspace Key         BS or BS/DEL
2860 #
2861 # <is2>         sets pcterm; autowrap; 25 lines; pc char set; prog DEL key; 
2862 # \E\\? does not turn off keycode mode
2863 # <smsc>        sets alternate start/stop; keycode on
2864 hpansi|hp700|hewlett packard 700/44 in HP-PCterm mode, 
2865         am, eo, xenl, xon, 
2866         cols#80, lines#25, 
2867         acsc=k\277l\332m\300j\331n\305w\302q\304u\264t\303v\301x\263, 
2868         bel=^G, cbt=\E[Z, civis=\E[?25l, clear=\E[2J\E[H, 
2869         cnorm=\E[?25h, cr=^M, cub1=\E[D, cud1=\E[B, cuf1=\E[C, 
2870         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
2871         ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L, 
2872         ind=^J, 
2873         is2=\E[44"p\E[?7h\E[>10h\E[>12h\EP1;1|3/7F\E\\, 
2874         kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
2875         kcuu1=\E[A, kend=\E[4~, kf1=\E[17~, kf10=\E[28~, 
2876         kf2=\E[18~, kf3=\E[19~, kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, 
2877         kf7=\E[24~, kf8=\E[25~, kf9=\E[26~, khome=\E[1~, knp=\E[6~, 
2878         kpp=\E[5~, rmam=\E[?7l, 
2879         rmsc=\E[>11l\EP1**x0/11;1/13\E[m\E\\, rmso=\E[m, 
2880         rmul=\E[m, sgr0=\E[m, smam=\E[?7h, 
2881         smsc=\E[>11h\EPO**x0/65;1/67\E\\$<250>, smso=\E[7m, 
2882         smul=\E[4m, xoffc=g, xonc=e, 
2883 #
2884 # (hp2392: copied <rmir> here from hpex -- esr)
2885 hp2392|239x series, 
2886         cols#80, 
2887         cbt=\Ei, cup=\E&a%p1%dy%p2%dC, kf1=\Ep\r, kf2=\Eq\r, 
2888         kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, kf6=\Eu\r, kf7=\Ev\r, 
2889         kf8=\Ew\r, khome=\Eh, kind=\EU, knp=\Eu, kpp=\Ev, kri=\EV, 
2890         rmir=\ER, rmul=\E&d@, smir=\EQ, smul=\E&dD, vpa=\E&a%p1%dY, 
2891         use=hpsub, 
2892
2893 hpsub|hp terminals -- capability subset, 
2894         am, da, db, mir, xhp, xon, 
2895         lines#24, 
2896         bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC, 
2897         cuu1=\EA, dch1=\EP, dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, 
2898         ht=^I, if=/usr/share/tabset/stdcrt, il1=\EL, ind=^J, 
2899         is2=\E&s1A\E<\E&k0\\, kbs=^H, kcub1=\ED, kcud1=\EB, 
2900         kcuf1=\EC, kcuu1=\EA, khome=\Eh, rmkx=\E&s0A, rmso=\E&d@, 
2901         sgr0=\E&d@, smkx=\E&s1A, smso=\E&dB, 
2902
2903 # hpex:
2904 #       May be used for most 24 x 80 hp terminals,
2905 # but has no padding added, so may allow runover in some terminals at high 
2906 # baud rates.  Will not work for hp2640a or hp2640b terminals, hp98x6 and 
2907 # hp98x5 terminal emulators or hp98x6 consoles.  
2908 #       Adds xy-cursor addressing, vertical cursor addressing, home, 
2909 # last line, and underline capabilities.
2910 #
2911 # (hpex: removed memory-lock capabilities ":ml=\El:mu=\Em:",
2912 # moved <rmir> here from hpsub -- esr)
2913 hpex|hp extended capabilites, 
2914         cr=^M, cud1=^J, cup=\E&a%p1%dy%p2%dC, ht=^I, ind=^J, kbs=^H, 
2915         kcub1=^H, kcud1=^J, nel=^M^J, rmir=\ER, rmul=\E&d@, smir=\EQ, 
2916         smul=\E&dD, vpa=\E&a%p1%dY, 
2917         use=hpsub, 
2918
2919 # From: Ville Sulko <Ville.Sulko@bip.atk.tpo.fi>, 05 Aug 1996
2920 hp2|hpex2|hewlett-packard extended capabilities newer version, 
2921         am, da, db, mir, xhp, 
2922         cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8, xmc#0, 
2923         bel=^G, clear=\E&a0y0C\EJ, cr=^M, cub1=^H, cud1=\EB, 
2924         cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, 
2925         dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, 
2926         il1=\EL, ind=^J, kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED, 
2927         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM, 
2928         ked=\EJ, kel=\EK, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, 
2929         kf6=\Eu, kf7=\Ev, kf8=\Ew, khome=\Eh, khts=\E1, kich1=\EQ, 
2930         kil1=\EL, kind=\ES, kll=\EF, knp=\EU, kpp=\EV, kri=\ET, 
2931         krmir=\ER, ktbc=\E3, meml=\El, memu=\Em, 
2932         pfkey=\E&f%p1%dk%p2%l%dL%p2%s, 
2933         pfloc=\E&f1a%p1%dk%p2%l%dL%p2%s, 
2934         pfx=\E&f2a%p1%dk%p2%l%dL%p2%s, 
2935         pln=\E&f%p1%dk%p2%l%dd0L%p2%s, rmir=\ER, rmkx=\E&s0A, 
2936         rmln=\E&j@, rmso=\E&d@, rmul=\E&d@, 
2937         sgr=\E&d%?%p7%t%'s'%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%'@'%+%c%?%p9%t%'\016'%c%e%'\017'%c%;, 
2938         sgr0=\E&d@, smir=\EQ, smkx=\E&s1A, smln=\E&jB, smso=\E&dB, 
2939         smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY, 
2940
2941 # HP 236 console
2942 # From: <ddavis@ic.berkeley.edu>
2943 hp236|hp236 internal terminal emulator, 
2944         am, 
2945         cols#80, lines#24, 
2946         clear=\EF, cnorm=\EDE, cub1=^H, 
2947         cup=\EE%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, cvvis=\EDB, 
2948         dch1=\EJ, dl1=\EH, el=\EK, ich1=\EI, il1=\EG, rmso=\ECI, 
2949         sgr0=\ECI, smso=\EBI, 
2950
2951 # This works on a hp300 console running Utah 4.3 BSD
2952 # From: Craig Leres <leres@okeeffe.berkeley.edu>
2953 hp300h|HP Catseye console, 
2954         am, da, db, mir, xhp, 
2955         cols#128, lines#51, lm#0, xmc#0, 
2956         bel=^G, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M, cub1=^H, cud1=\EB, 
2957         cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, 
2958         dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, 
2959         if=/usr/share/tabset/stdcrt, il1=\EL, ind=^J, kbs=^H, 
2960         kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh, 
2961         rmir=\ER, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@, sgr0=\E&d@, 
2962         smir=\EQ, smkx=\E&s1A, smso=\E&dB, smul=\E&dD, tbc=\E3, 
2963         vpa=\E&a%p1%dY, 
2964 # From: Greg Couch <gregc@ernie.berkeley.edu>
2965 hp9837|hp98720|hp98721|HP 9000/300 workstations, 
2966         am, da, db, mir, xhp, 
2967         cols#128, it#8, lines#46, lm#0, 
2968         bel=^G, cbt=\Ei, clear=\E&a0y0C\EJ, cub1=^H, cud1=\EB, 
2969         cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, 
2970         dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, 
2971         il1=\EL, ind=^J, is2=\E&v0m1b0i&j@, kbs=^H, kcub1=\ED, 
2972         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM, 
2973         ked=\EJ, kel=\EK, khome=\Eh, kich1=\EQ, kil1=\EL, knp=\EU, 
2974         kpp=\EV, rmir=\ER, rmkx=\E&s0A, rmso=\E&v0S, rmul=\E&d@, 
2975         sgr0=\E&d@, smir=\EQ, smkx=\E&s1A, smso=\E&v5S, smul=\E&dD, 
2976         tbc=\E3, vpa=\E&a%p1%dY, 
2977 # HP 9845 desktop computer from BRL
2978 # (hp9845: removed unknown capability :gu: -- esr)
2979 hp9845|HP 9845, 
2980         am, da, db, eo, mir, xhp, 
2981         cols#80, lines#21, 
2982         clear=\EH\EJ, cuf1=\EC, cup=\E&a%p2%2dc%p1%2dY, cuu1=\EA, 
2983         dch1=\EP, dl1=\EM, ed=\EJ, el=\EK, 
2984         if=/usr/share/tabset/std, il1=\EL, rmir=\ER, rmso=\E&d@, 
2985         smir=\EQ, smso=\E&dB, 
2986 # From: Charles A. Finnell of MITRE <finnell@mitre.org>, developed 07SEP90
2987 # (hp98550: replaced /usr/share/tabset/9837 with std because <it#8>,<hts=\E1>;
2988 # added empty <acsc> to avoid warnings re <smacs>/<rmacs> --esr)
2989 hp98550|hp98550a|HP 9000 Series 300 color console, 
2990         am, da, db, mir, xhp, 
2991         cols#128, it#8, lines#49, lm#0, 
2992         acsc=, bel=^G, blink=\E&dA, bold=\E&dJ, cbt=\Ei, civis=\E*dR, 
2993         clear=\EH\EJ, cnorm=\E*dQ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
2994         cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, dim=\E&dH, 
2995         dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, 
2996         if=/usr/share/tabset/std, il1=\EL, ind=^J, invis=\E&ds, 
2997         kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
2998         kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, kf1=\Ep, 
2999         kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew, 
3000         khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, kind=\ES, kll=\EF, 
3001         knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, ktbc=\E3, rev=\E&dJ, 
3002         rmacs=^O, rmir=\ER, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@, 
3003         sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A, smso=\E&dJ, 
3004         smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY, 
3005 # From: Victor Duchovni <vic@fine.princeton.edu>
3006 # (hp700-wy: removed obsolete ":nl=^J:";
3007 # replaced /usr/share/tabset/hp700-wy with std because <it#8>,<hts=\E1> -- esr)
3008 hp700-wy|HP700/41 emulating wyse30, 
3009         am, bw, mir, msgr, 
3010         cols#80, it#8, lines#24, xmc#1, 
3011         cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^V, cuf1=^L, 
3012         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
3013         dl1=\ER, ed=\EY, el=\ET$<10/>, home=^^, ht=^I, hts=\E1, 
3014         if=/usr/share/tabset/stdcrt, il1=\EE$<0.7*/>, 
3015         is1=\E~"\EC\Er\E(\EG0\003\E`9\E`1, kbs=\177, kcbt=\EI, 
3016         kclr=^Z, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, ked=\EY, 
3017         kel=\ET, khome=^^, khts=\EI, kich1=\Eq, krmir=\Er, ll=^^^K, 
3018         ri=\Ej, rmir=\Er, rmso=\EG0$<10/>, rmul=\EG0$<10/>, 
3019         sgr0=\EG0$<10/>, smir=\Eq, smso=\EG4$<10/>, 
3020         smul=\EG8$<10/>, tbc=\E0, vpa=\E[%p1%{32}%+%c, 
3021 # (hp70092: added empty <acsc> to avoid warnings re <smacs>/<rmacs> --esr)
3022 hp70092|hp70092a|hp70092A|HP 700/92, 
3023         am, da, db, xhp, 
3024         cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8, 
3025         acsc=, bel=^G, blink=\E&dA, bold=\E&dB, cbt=\Ei, 
3026         clear=\E&a0y0C\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC, 
3027         cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, dim=\E&dH, 
3028         dl1=\EM, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, il1=\EL, 
3029         kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
3030         kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, kf1=\Ep, 
3031         kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew, 
3032         khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, kind=\ES, kll=\EF, 
3033         knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, ktbc=\E3, rev=\E&dB, 
3034         ri=\ET, rmacs=^O, rmir=\ER, rmkx=\E&s0A, rmln=\E&j@, 
3035         rmso=\E&d@, rmul=\E&d@, sgr0=\E&d@, smacs=^N, smir=\EQ, 
3036         smkx=\E&s1A, smln=\E&jB, smso=\E&dJ, smul=\E&dD, tbc=\E3, 
3037         vpa=\E&a%p1%dY, 
3038
3039 bobcat|sbobcat|HP 9000 model 300 console, 
3040         am, da, db, mir, xhp, 
3041         cols#128, it#8, lines#47, xmc#0, 
3042         cbt=\Ei, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC, 
3043         cup=\E&a%dy%dC$<6/>, cuu1=\EA, dch1=\EP, dl1=\EM$<10*/>, 
3044         ed=\EJ, el=\EK, hpa=\E&a%dC$<6/>, ht=^I, il1=\EL$<10*/>, 
3045         ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
3046         khome=\Eh, nel=^M^J, rmir=\ER, rmkx=\E&s0A, rmso=\E&d@, 
3047         rmul=\E&d@, sgr0=\E&d@, smir=\EQ, smkx=\E&s1A, smso=\E&dB, 
3048         smul=\E&dD, vpa=\E&a%dY$<6/>, 
3049 gator-t|HP 9000 model 237 emulating extra-tall AAA, 
3050         lines#94, use=gator, 
3051 gator|HP 9000 model 237 emulating AAA, 
3052         bw, km, mir, ul, 
3053         cols#128, it#8, lines#47, 
3054         bel=^G, cbt=\E[Z, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J, 
3055         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\EM, 
3056         dch=\E[%p1%dP$<4/>, dch1=\E[P, dl=\E[%p1%dM$<1*/>, 
3057         dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, hpa=\E[%i%p1%d`, 
3058         ht=^I, ich=\E[%p1%d@$<4/>, ich1=\E[@, il=\E[%p1%dL$<1*/>, 
3059         il1=\E[L, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, 
3060         rep=%p1%c\E[%p2%db$<1*/>, rev=\E[7m, rmso=\E[m, 
3061         rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
3062 gator-52|HP 9000 model 237 emulating VT52, 
3063         cols#128, lines#47, use=vt52, 
3064 gator-52t|HP 9000 model 237 emulating extra-tall VT52, 
3065         lines#94, use=gator-52, 
3066
3067 #### Honeywell-Bull
3068 #
3069 # From: Michael Haardt <michael@gandalf.moria> 11 Jan 93
3070 #
3071
3072 # Honeywell Bull terminal.  Its cursor and function keys send single
3073 # control characters and it has standout/underline glitch.  Most programs
3074 # do not like these features/bugs.  Visual bell is realized by flashing the
3075 # "keyboard locked" LED.
3076 dku7003-dumb|Honeywell Bull DKU 7003 dumb mode, 
3077         cols#80, lines#25, 
3078         clear=^]^_, cr=^M, cub1=^Y, cud1=^K, cuf1=^X, 
3079         cup=\E[%i%p1%d;%p2%dH, cuu1=^Z, ed=^_, el=\E[K, 
3080         flash=\E[2h\E[2l, home=^], ht=^I, ind=^J, kbs=^H, kcub1=^Y, 
3081         kcud1=^K, kcuf1=^X, kcuu1=^Z, khome=^], nel=^M^J, 
3082 dku7003|Honeywell Bull DKU 7003 all features described, 
3083         msgr, 
3084         xmc#1, 
3085         blink=\E[5m, bold=\E[7m, dim=\E[2m, rev=\E[7m, rmso=\E[m, 
3086         rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
3087         use=dku7003-dumb, 
3088
3089 #### Lear-Siegler (adm)
3090 #
3091 # These guys are long since out of the terminals business, but
3092 # in 1995 many current terminals still have an adm type as one of their
3093 # emulations (usually their stupidest, and usually labeled adm3, though
3094 # these `adm3' emulations normally have adm3a+ capabilities).
3095 #
3096 # WARNING: Some early ADM terminals (including the ADM3 and ADM5) are 
3097 # reputed to have had the weird `feature' that sending them a ^G would trigger
3098 # a diagnostic dump to screen if one of the more obscure RS-232 pins
3099 # (variously reported as 22 or as `Ring Indicator') was being held high during
3100 # receipt of the ^G.  If you have a real ADM and think you've run into this,
3101 # check it out with a breakout box and tell us if this rumor is correct!
3102 # A quick fix might be to drop back to a cheesy 4-wire cable.
3103 #
3104
3105 adm1a|adm1|lsi adm1a, 
3106         am, 
3107         cols#80, lines#24, 
3108         bel=^G, clear=\E;$<1>, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
3109         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, home=^^, 
3110         ind=^J, 
3111 adm2|lsi adm2, 
3112         am, 
3113         cols#80, lines#24, 
3114         bel=^G, clear=\E;, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
3115         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
3116         dl1=\ER, ed=\EY, el=\ET, home=^^, ich1=\EQ, il1=\EE, ind=^J, 
3117         kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, 
3118 # (adm3: removed obsolete ":ma=^K^P:" -- esr)
3119 adm3|lsi adm3, 
3120         am, 
3121         cols#80, lines#24, 
3122         bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, ind=^J, 
3123 # The following ADM-3A switch settings are assumed for normal operation:
3124 #       SPACE           U/L_DISP        CLR_SCRN        24_LINE
3125 #       CUR_CTL         LC_EN           AUTO_NL         FDX
3126 # Other switches may be set for operator convenience or communication
3127 # requirements.  I recommend
3128 #       DISABLE_KB_LOCK LOCAL_OFF       103             202_OFF
3129 #       ETX_OFF         EOT_OFF
3130 # Most of these terminals required an option ROM to support lower case display.
3131 # Open the case and look at the motherboard; if you see an open 24-pin DIP
3132 # socket, you may be out of luck.
3133 #
3134 # (adm3a: some capabilities merged in from BRl entry -- esr)
3135 adm3a|lsi adm3a, 
3136         am, 
3137         cols#80, lines#24, 
3138         bel=^G, clear=\032$<1/>, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
3139         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, home=^^, 
3140         ind=^J, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, rs1=^N, 
3141 adm3a+|adm3a plus, 
3142         kbs=^H, use=adm3a, 
3143 # (adm5: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" & duplicate ":do=^J:" -- esr)
3144 adm5|lsi adm5, 
3145         xmc#1, 
3146         bel=^G, cr=^M, cud1=^J, ed=\EY, el=\ET, kbs=^H, khome=^^, 
3147         rmso=\EG, smso=\EG, 
3148         use=adm3a+, 
3149 # A lot of terminals other than adm11s use these.  Wherever you see
3150 # use=adm+sgr with some of its capabilities disabled, try the
3151 # disabled ones.  They may well work but not have been documented or
3152 # expressed in the using entry.  We'd like to cook up an <sgr> but the
3153 # <rmacs>/<smacs> sequences of the using entries vary too much.
3154 adm+sgr|adm style highlight capabilities, 
3155         invis=\EG1, rev=\EG4, rmso=\EG0, rmul=\EG0, sgr0=\EG0, 
3156         smso=\EG4, smul=\EG8, 
3157 # LSI ADM-11 from George William Hartwig, Jr. <geo@BRL-TGR.ARPA> via BRL
3158 # Status line additions from Stephen J. Muir <stephen%comp.lancs.ac.uk@ucl-cs>
3159 # <khome> from <stephen%comp.lancs.ac.uk@ucl-cs.arpa>.  <clear> could also
3160 # be ^Z, according to his entry.
3161 # (adm11: <smul>=\EG4 was obviously erroneous because it also said
3162 # <rev>=\EG4.  Looking at other ADMs confirms this -- esr)
3163 adm11|LSI ADM-11, 
3164         am, hs, 
3165         cols#80, lines#24, 
3166         bel=^G, blink=\EG2, clear=\E*, cr=^M, cub1=^H, cud1=^J, 
3167         cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
3168         dsl=\Eh, ed=\EY, el=\ET, fsl=\E(\r, home=^^, ht=^I, kbs=^H, 
3169         kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf1=^A@\r, kf2=^AA\r, 
3170         kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
3171         kf8=^AG\r, khome=^^, nel=^M^J, tsl=\EF\E), 
3172         use=adm+sgr, 
3173 # From: Andrew Scott Beals <bandy@lll-crg.ARPA>
3174 # Corrected by Olaf Siebert <rhialto@polder.ubc.kun.nl>, 11 May 1995
3175 # (adm12: removed obsolete ":kn:ma=j^Jk^P^K^Pl ^R^L^L :".  This formerly had
3176 # <is2>=\Eq but that looked wrong; this <is2> is from Dave Yost <esquire!yost>
3177 # via BRL.  That entry asserted <xmc#1>, but I've left that out because 
3178 # neither earlier nor later ADMSs have it -- esr)
3179 adm12|lsi adm12, 
3180         am, mir, 
3181         cols#80, it#8, lines#24, 
3182         bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
3183         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
3184         dl1=\ER, ed=\EY, el=\ET, home=^^, hts=\E1, ich1=\EQ, il1=\EE, 
3185         is2=\E0        \E1        \E1        \E1        \E1        \E1        \E1        \E1        \E1, 
3186         kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A1\r, 
3187         kf2=^A2\r, kf3=^A3\r, kf4=^A4\r, kf5=^A5\r, kf6=^A6\r, 
3188         kf7=^A7\r, kf8=^A8\r, kf9=^A9\r, rmir=\Er, smir=\Eq, tbc=\E0, 
3189         use=adm+sgr, 
3190 # (adm20: removed obsolete ":kn#7:" -- esr)
3191 adm20|lear siegler adm20, 
3192         am, 
3193         cols#80, it#8, lines#24, 
3194         bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cuf1=^L, 
3195         cup=\E=%i%p2%{31}%+%c%p1%{31}%+%c, cuu1=^K, dch1=\EW, 
3196         dl1=\ER, ed=\EY, el=\ET, home=^^, ht=^I, ich1=\EQ, il1=\EE, 
3197         kf1=^A, kf2=^B, kf3=^W, kf4=^D, kf5=^E, kf6=^X, kf7=^Z, rmso=\E(, 
3198         sgr0=\E(, smso=\E), 
3199 adm21|lear siegler adm21, 
3200         xmc#1, 
3201         bel=^G, cr=^M, cud1=^J, dch1=\EW, dl1=30*\ER, ed=\EY, el=\ET, 
3202         ich1=\EQ, il1=30*\EE, ind=^J, invis@, kbs=^H, kcub1=^H, 
3203         kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, 
3204         use=adm+sgr, use=adm3a, 
3205 # (adm22: ":em=:" was an obvious typo for ":ei=:"; also,
3206 # removed obsolete ":kn#7:ma=j^Jk^P^K^Pl ^R^L^L :";
3207 # removed bogus-looking \200 from before <cup>. -- esr)
3208 adm22|lsi adm22, 
3209         am, 
3210         cols#80, lines#24, 
3211         bel=^G, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
3212         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
3213         dl1=\ER, ed=\Ey, el=\Et, home=^^, ht=\Ei, ich1=\EQ, il1=\EE, 
3214         is2=\E%\014\014\014\016\003\200\003\002\003\002\200\200\200\200\200\200\200\200\200\200\200, 
3215         kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf1=^A@\r, 
3216         kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
3217         kf7=^AF\r, khome=^^, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5, 
3218         lf6=F6, lf7=F7, rmso=\E(, sgr0=\E(, smso=\E), 
3219 # ADM 31 DIP Switches
3220 #
3221 # This information comes from two versions of the manual for the
3222 # Lear-Siegler ADM 31.
3223 #
3224 # Main board:
3225 #                  rear of case
3226 #   +-||||-------------------------------------+
3227 #   + S1S2                              ||S    +
3228 #   +                                   ||3    +
3229 #   +                                          +
3230 #   +                                ||S       +
3231 #   +                                ||4       +
3232 #   +                                          +
3233 #   +                                          +
3234 #   +                                          +
3235 #   +                                          +
3236 #   +                                          +
3237 # +-+                                          +-+
3238 # +                                              +
3239 # +                               S5 S6 S7       +   
3240 # +                               == == ==       +
3241 # +----------------------------------------------+
3242 #            front of case (keyboard)
3243 #
3244 #  S1 - Data Rate - Modem
3245 #  S2 - Data Rate - Printer
3246 # ------------------------
3247 # Data Rate   Setting
3248 # -------------------
3249 # 50          0 0 0 0
3250 # 75          1 0 0 0
3251 # 110         0 1 0 0
3252 # 134.5       1 1 0 0
3253 # 150         0 0 1 0
3254 # 300         1 0 1 0
3255 # 600         0 1 1 0
3256 # 1200        1 1 1 0
3257 # 1800        0 0 0 1
3258 # 2000        1 0 0 1
3259 # 2400        0 1 0 1
3260 # 3600        1 1 0 1
3261 # 4800        0 0 1 1
3262 # 7200        1 0 1 1
3263 # 9600        0 1 1 1
3264 # x           1 1 1 1
3265 #
3266 # S3 - Interface/Printer/Attributes
3267 # ---------------------------------
3268 # Printer Busy Control
3269 # sw1   sw2   sw3
3270 # ---------------
3271 # off   off   off   Busy not active, CD disabled
3272 # off   off   on    Busy not active, CD enabled
3273 # off   on    off   Busy active on J5-20, CD disabled
3274 # on    off   off   Busy active on J5-19, CD disabled - Factory Set.
3275 # on    off   on    Busy active on J5-19, CD enabled
3276 #
3277 # sw4   Used in conjuction with S4 for comm interface control - Fact 0
3278 #
3279 # sw5   Secondary Channel Control (Hardware implementation only) - Fact 0
3280 #
3281 # sw6   ON enables printer BUSY active LOW - Factory Setting
3282 #       OFF enables printer BUSY active HIGH - If set to this, ADM31 senses
3283 #
3284 # sw7   ON - steady cursor - Factory Setting
3285 #       OFF - blinking cursor
3286 #
3287 # sw8   ON causes selected attribute character to be displayed
3288 #       OFF causes SPACE to be displayed instead - Factory Setting
3289 #
3290 # S4 - Interface
3291 # --------------
3292 # Modem Interface
3293 # S3    S4    S4    S4    S4
3294 # sw4   sw1   sw2   sw3   sw4
3295 # ---------------------------
3296 # OFF   ON    OFF   ON    OFF   Enable RS-232C interface, Direct Connect and
3297 #                               Current Loop disabled - Factory Setting
3298 # ON    ON    OFF   ON    OFF   Enable Current Loop interface, Direct Connect
3299 #                               disabled
3300 # OFF   OFF   ON    OFF   ON    Enable Direct Connect interface, RS-232C and
3301 #                               Current Loop Disabled
3302 #
3303 # sw5   ON disables dot stretching mode - Factory Setting
3304 #       OFF enables dot stretching mode
3305 # sw6   ON enables blanking function
3306 #       OFF enables underline function - Factory Setting
3307 # sw7   ON causes NULLS to be displayed as NULLS
3308 #       OFF causes NULLS to be displayed as SPACES - Factory Setting
3309 #
3310 # S5 - Word Structure
3311 # -------------------
3312 # sw1   ON enables BREAK key - Factory Setting
3313 #       OFF disables BREAK key
3314 # sw2   ON selects 50Hz monitor refresh rate
3315 #       OFF selects 60Hz monitor refresh rate - Factory Setting
3316 #
3317 # Modem Port Selection
3318 # sw3   sw4   sw5
3319 # ---------------
3320 # ON    ON    ON    Selects 7 DATA bits, even parity, 2 STOP bits
3321 # OFF   ON    ON    Selects 7 DATA bits, odd  parity, 2 STOP bits
3322 # ON    OFF   ON    Selects 7 DATA bits, even parity, 1 STOP bit - Factory Set.
3323 # OFF   OFF   ON    Selects 7 DATA bits, odd  parity, 1 STOP bit
3324 # ON    ON    OFF   Selects 8 DATA bits, no   parity, 2 STOP bits
3325 # OFF   ON    OFF   Selects 8 DATA bits, no   parity, 1 STOP bit
3326 # ON    OFF   OFF   Selects 8 DATA bits, even parity, 1 STOP bit
3327 # OFF   OFF   OFF   Selects 8 DATA bits, odd  parity, 1 STOP bit
3328 #
3329 # sw6   ON  sends bit 8 a 1 (mark)
3330 #       OFF sends bit 8 as 0 (space) - Factory Setting
3331 # sw7   ON  selects Block Mode
3332 #       OFF selects Conversation Mode - Factory Setting
3333 # sw8   ON  selects Full Duplex operation
3334 #       OFF selects Half Duplex operation - Factory Setting
3335 #
3336 # S6 - Printer
3337 # ------------
3338 # sw1, sw2, sw6, sw7   Reserved - Factory 0
3339 #
3340 # Printer Port Selection
3341 # same as Modem above, bit 8 (when 8 DATA bits) is always = 0
3342 #
3343 # sw8   ON   enables Printer Port
3344 #       OFF disables Printer Port - Factory Setting
3345 #
3346 # S7 - Polling Address
3347 # --------------------
3348 # sw1-7 Establish ASCII character which designates terminal polling address
3349 #       ON  = logic 0
3350 #       OFF = logic 1 - Factory Setting
3351 # sw8   ON   enables Polling Option
3352 #       OFF disables Polling Option - Factory Setting
3353 #
3354 #
3355 # On some older adm31s, S4 does not exist, and S5-sw6 is not defined.
3356 #
3357 # This adm31 entry uses underline as the standout mode.
3358 # If the adm31 gives you trouble with standout mode, check the DIP switch in
3359 # position 6, bank @c11, 25% from back end of the circuit board.  Should be
3360 # OFF.  If there is no such switch, you have an old adm31 and must use oadm31.
3361 # (adm31: removed obsolete ":ma=j^Jk^P^K^Pl ^R^L^L :" -- esr)
3362 adm31|lsi adm31 with sw6 set for underline mode, 
3363         am, mir, 
3364         cols#80, lines#24, 
3365         bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
3366         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
3367         dl1=\ER, ed=\EY, el=\ET, home=^^, il1=\EE, ind=^J, is2=\Eu\E0, 
3368         kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A1\r, 
3369         kf2=^A2\r, kf3=^A3\r, kf4=^A4\r, kf5=^A5\r, kf6=^A6\r, 
3370         kf7=^A7\r, kf8=^A8\r, kf9=^A9\r, rmir=\Er, rmso=\EG0, 
3371         rmul=\EG0, sgr0=\EG0, smir=\Eq, smso=\EG1, smul=\EG1, 
3372 adm31-old|o31|old adm31, 
3373         rmul@, smso=\EG4, smul@, use=adm31, 
3374 # LSI ADM-36 from Col. George L. Sicherman <gloria!colonel> via BRL
3375 adm36|LSI ADM36, 
3376         if=/usr/lib/tabset/vt100, 
3377         is2=\E<\E>\E[6;?2;?7;?8h\E[4;20;?1;?3;?4;?5;?6;?18;?19l, use=vt100, 
3378 # (adm42: removed obsolete ":ma=^K^P:" -- esr)
3379 adm42|lsi adm42, 
3380         am, 
3381         cols#80, lines#24, 
3382         bel=^G, cbt=\EI, clear=\E;, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
3383         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
3384         cvvis=\EC\E3 \E3(, dch1=\EW, dl1=\ER, ed=\EY, el=\ET, ht=^I, 
3385         il1=\EE$<270>, ind=^J, invis@, ip=$<6*>, kcub1=^H, kcud1=^J, 
3386         kcuf1=^L, kcuu1=^K, khome=^^, pad=\177, rmir=\Er, rmul@, 
3387         smir=\Eq, smul@, 
3388         use=adm+sgr, 
3389 # The following termcap for the Lear Siegler ADM-42 leaves the 
3390 # "system line" at the bottom of the screen blank (for those who 
3391 # find it distracting otherwise)
3392 adm42-ns|lsi adm-42 with no system line, 
3393         cbt=\EI\EF \011, clear=\E;\EF \011, 
3394         cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<6>\EF \011, 
3395         dch1=\EW\EF \011, dl1=\ER\EF \011, ed=\EY\EF \011, 
3396         el=\ET\EF \011, il1=\EE\EF \011, rmir=\Er\EF \011, 
3397         smir=\Eq\EF \011, 
3398         use=adm42, 
3399 # ADM 1178 terminal -- rather like an ADM-42.  Manual is dated March 1 1985.
3400 # The insert mode of this terminal is commented out because it's broken for our
3401 # purposes in that it will shift the position of every character on the page,
3402 # not just the cursor line!
3403 # From: Michael Driscoll <fenris@lightspeed.net> 10 July 1996
3404 adm1178|1178|lsi adm1178, 
3405         am, 
3406         cols#80, lines#24, xmc#1, 
3407         bel=^G, bold=\E(, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J, 
3408         cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
3409         cvvis=\EC\E3 \E3(, dch1=\EW, dl1=\ER, ed=\EY, el=\ET, 
3410         home=^^, ht=^I, il1=\EE, ind=^J, ip=$<6*/>, kbs=^H, kcub1=^H, 
3411         kcud1=^J, nel=^M^J, pad=\177, rev=\EG4, rmso=\EG0, rmul=\EG0, 
3412         sgr0=\E), smso=\EG4, smul=\EG1, 
3413
3414 #### Prime
3415 #
3416 # Yes, Prime makes terminals.  These entries were posted by Kevin J. Cummings
3417 # <cummings@primerd.Prime.COM> on 14 Dec 1992 and lightly edited by esr.
3418 #
3419
3420 # Standout mode is dim reverse-video.
3421 pt100|pt200|wren|fenix|prime pt100/pt200, 
3422         am, bw, mir, msgr, 
3423         cols#80, it#8, lines#24, 
3424         cbt=\E[Z, clear=\E?, cr=^M, cub=\E[%p1%dD, cub1=^H, 
3425         cud=\E[%p1%dB, cud1=\ED, cuf=\E[%p1%dC, cuf1=\E[C, 
3426         cup=\E0%p1%'!'%+%c%p2%'!'%+%c, cuu=\E[%p1%dA, cuu1=\EM, 
3427         dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[M, ed=\E[J\E[r, 
3428         el=\E[K\E[t, flash=\E$$<200/>\E$P, home=\E$B, ht=^I, 
3429         il1=\E[L\E[t, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
3430         kcuf1=\E[C, kcuu1=\E[A, khome=\E$A, nel=^M^J, rmcup=, 
3431         rmir=\E[4l, rmkx=\E[>13l, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
3432         smcup=\E[>1l\E[>2l\E[>16l\E[4l\E[>9l\E[20l\E[>3l\E[>7h\E[>12l\E[1Q, 
3433         smir=\E[4h, smkx=\E[>13h, smso=\E[2;7m, smul=\E[4m, 
3434 pt100w|pt200w|wrenw|fenixw|prime pt100/pt200 in 132-column mode, 
3435         cols#132, 
3436         cup=\E[%i%p1%d;%p2%dH, use=pt100, 
3437 pt250|Prime PT250, 
3438         rmso@, smso@, use=pt100, 
3439 pt250w|Prime PT250 in 132-column mode, 
3440         rmso@, smso@, use=pt100w, 
3441
3442 #### Qume (qvt)
3443 #
3444 #       Qume, Inc.
3445 #       3475-A North 1st Street
3446 #       San Jose CA 95134
3447 #       Vox: (800)-457-4447
3448 #       Fax: (408)-473-1510
3449 #       Net: josed@techsupp.wyse.com (Jose D'Oliveira)
3450 #
3451 # Qume was bought by Wyse, but still (as of early 1995) has its own support
3452 # group and production division.
3453 #
3454 # Discontinued Qume models:
3455 #
3456 # The qvt101 and qvt102 listed here are long obsolete; so is the qvt101+
3457 # built to replace them, and a qvt119+ which was a 101+ with available wide
3458 # mode (132 columns).  There was a qvt103 which added vt100/vt131 emulations
3459 # and an ANSI-compatible qvt203 that replaced it.  Qume started producing
3460 # ANSI-compatible terminals with the qvt323 and qvt61.
3461 #
3462 # Current Qume models (as of February 1995):
3463 #
3464 # All current Qume terminals have ANSI-compatible operation modes.
3465 # Qume is still producing the qvt62, which features emulations for other
3466 # popular lines such as ADDS, and dual-host capabilities.  The qvt82 is
3467 # designed for use as a SCO ANSI terminal.  The qvt70 is a color terminal
3468 # with many emulations including Wyse370, Wyse 325, etc.  Their newest
3469 # model is the qvt520, which is vt420-compatible.
3470 #
3471 # There are some ancient printing Qume terminals under `Daisy Wheel Printers'
3472
3473 qvt101|qvt108|qume qvt 101 and QVT 108, 
3474         xmc#1, use=qvt101+, 
3475
3476 # This used to have <cvvis=\E.2> but no <cnorm> or <civis>.  The BSD termcap
3477 # file had <cvvis=\EM4 \200\200\200>.  I've done the safe thing and yanked 
3478 # both. The <rev> is from BSD, which also claimed bold=\E( and dim=\E).
3479 # What seems to be going on here is that this entry was designed so that
3480 # the normal highlight is bold and standout is dim plus something else
3481 # (reverse-video maybe?  But then, are there two <rev> sequences?)  
3482 qvt101+|qvt101p|qume qvt 101 PLUS product, 
3483         am, bw, hs, ul, 
3484         cols#80, lines#24, xmc#0, 
3485         bel=^G, cbt=\EI, clear=^Z, cnorm=\E.4, cr=^M, cub1=^H, cud1=^J, 
3486         cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
3487         dch1=\EW, dl1=\ER, dsl=\Eg\Ef\r, ed=\EY, el=\ET, 
3488         flash=\Eb$<200>\Ed, fsl=^M, home=^^, ht=^I, hts=\E1, 
3489         ich1=\EQ, il1=\EE, ind=^J, invis@, kbs=^H, kcbt=\EI, kcub1=^H, 
3490         kcud1=^J, kcuf1=^L, kcuu1=^K, kdl1=\ER, ked=\EY, kel=\ET, 
3491         kf1=^A@\r, kf10=^AI\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, 
3492         kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, 
3493         khome=^^, kich1=\EQ, kil1=\EE, mc4=\EA, mc5=\E@, rmso=\E(, 
3494         smso=\E0P\E), tbc=\E3, tsl=\Eg\Ef, 
3495         use=adm+sgr, 
3496 qvt102|qume qvt 102, 
3497         cnorm=\E., use=qvt101, 
3498 # (qvt103: added <rmam>/<smam> based on init string -- esr)
3499 qvt103|qume qvt 103, 
3500         am, xenl, xon, 
3501         cols#80, it#8, lines#24, vt#3, 
3502         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
3503         clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
3504         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
3505         cuf=\E[%p1%dC, cuf1=\E[C$<2>, 
3506         cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, 
3507         cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I, 
3508         hts=\EH, ind=^J, kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, 
3509         kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, 
3510         rev=\E[7m$<2>, ri=\EM$<5>, rmam=\E[?7l, rmkx=\E[?1l\E>, 
3511         rmso=\E[m$<2>, rmul=\E[m$<2>, 
3512         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
3513         sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, 
3514         sgr0=\E[m$<2>, smam=\E[?7h, smkx=\E[?1h\E=, 
3515         smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, 
3516 qvt103-w|qume qvt103 132 cols, 
3517         cols#132, lines#24, 
3518         rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=qvt103, 
3519 qvt119+|qvt119p|qvt119|qume qvt 119 and 119PLUS terminals, 
3520         am, hs, mir, msgr, 
3521         cols#80, lines#24, xmc#0, 
3522         bel=^G, cbt=\EI, clear=\E*1, cnorm=\E.4, cr=^M, cub1=^H, 
3523         cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, 
3524         cuu1=^K, cvvis=\E.2, dch1=\EW, dl1=\ER, dsl=\Eg\Ef\r, ed=\Ey, 
3525         el=\Et, flash=\En0$<200>\En1, fsl=^M, home=^^, ht=^I, 
3526         hts=\E1, il1=\EE, ind=^J, is2=\EDF\EC\EG0\Er\E(\E%EX, 
3527         kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^AI\r, 
3528         kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
3529         kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
3530         mc4=\EA, mc5=\E@, ri=\EJ, rmir=\Er, smir=\Eq, smul=\EG8, 
3531         tbc=\E3, tsl=\Eg\Ef, 
3532         use=adm+sgr, 
3533 qvt119+-25|qvt119p-25|QVT 119 PLUS with 25 data lines, 
3534         lines#25, use=qvt119+, 
3535 qvt119+-w|qvt119p-w|qvt119-w|QVT 119 and 119 PLUS in 132 column mode, 
3536         cols#132, 
3537         is2=\EDF\EC\EG0\Er\E(\E%\EX\En4, use=qvt119+, 
3538 qvt119+-25-w|qvt119p-25-w|qvt119-25-w|QVT 119 and 119 PLUS 132 by 25, 
3539         lines#25, use=qvt119+, 
3540 qvt203|qvt203+|qume qvt 203 Plus, 
3541         dch1=\E[P$<7>, dl1=\E[M$<99>, il1=\E[L$<99>, ind=\n$<30>, 
3542         ip=$<7>, kf0=\E[29~, kf1=\E[17~, kf2=\E[18~, kf3=\E[19~, 
3543         kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, 
3544         kf9=\E[28~, rmir=\E[4l, smir=\E[4h, 
3545         use=qvt103, 
3546 qvt203-w|qvt203-w-am|qume qvt 203 PLUS in 132 cols (w/advanced video), 
3547         cols#132, lines#24, 
3548         rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=qvt203, 
3549 #
3550 #       Since a command is present for enabling 25 data lines,
3551 #       a specific terminfo entry may be generated for the 203.
3552 #       If one is desired for the QVT 119 PLUS then 25 lines must
3553 #       be selected in the status line (setup line 9).
3554 #
3555 qvt203-25|QVT 203 PLUS with 25 by 80 column mode, 
3556         cols#80, lines#25, 
3557         is2=\E[=40h\E[?3l, use=qvt203, 
3558 qvt203-25-w|QVT 203 PLUS with 25 by 132 columns, 
3559         cols#132, lines#25, 
3560         rs2=\E[?3h\E[=40h, use=qvt203, 
3561
3562 #### Televideo (tvi)
3563 #
3564 #       TeleVideo
3565 #       550 East Brokaw Road
3566 #       PO Box 49048    95161
3567 #       San Jose CA 95112
3568 #       Vox: (408)-954-8333
3569 #       Fax: (408)-954-0623
3570 #
3571 #
3572 # There are some tvi terminals that require incredible amounts of padding and
3573 # some that don't.  I'm assuming tvi912 and tvi920 are the old slow ones, and
3574 # tvi912b, tvi912c, tvi920b, tvi920c are the new ones that don't need padding.
3575 #
3576 # All of these terminals (912 to 970 and the tvipt) are discontinued.  Newer
3577 # Televideo terminals are ANSI and PC-ANSI compatible.
3578
3579 tvi803|televideo 803, 
3580         clear=\E*$<10>, use=tvi950, 
3581
3582 # Vanilla tvi910 -- W. Gish <cswarren@violet> 10/29/86
3583 # Switch settings are:
3584
3585 # S1  1 2 3 4
3586 #     D D D D  9600
3587 #     D D D U    50
3588 #     D D U D    75
3589 #     D D U U   110
3590 #     D U D D   135
3591 #     D U D U   150
3592 #     D U U D   300
3593 #     D U U U   600
3594 #     U D D D  1200
3595 #     U D D U  1800
3596 #     U D U D  2400
3597 #     U D U U  3600
3598 #     U U D D  4800
3599 #     U U D U  7200
3600 #     U U U D  9600
3601 #     U U U U 19200
3602
3603 # S1  5 6 7 8
3604 #     U D X D  7N1 (data bits, parity, stop bits) (X means ignored)
3605 #     U D X U  7N2
3606 #     U U D D  7O1
3607 #     U U D U  7O2
3608 #     U U U D  7E1
3609 #     U U U U  7E2
3610 #     D D X D  8N1
3611 #     D D X U  8N2
3612 #     D U D D  8O1
3613 #     D U U U  8E2
3614
3615 # S1  9  Autowrap
3616 #     U  on
3617 #     D  off
3618
3619 # S1 10  CR/LF
3620 #     U  do CR/LF when CR received
3621 #     D  do CR when CR received
3622
3623 # S2  1  Mode
3624 #     U  block
3625 #     D  conversational
3626
3627 # S2  2  Duplex
3628 #     U  half
3629 #     D  full
3630
3631 # S2  3  Hertz
3632 #     U  50
3633 #     D  60
3634
3635 # S2  4  Edit mode
3636 #     U  local
3637 #     D  duplex
3638
3639 # S2  5  Cursor type
3640 #     U  underline
3641 #     D  block
3642
3643 # S2  6  Cursor down key
3644 #     U  send ^J
3645 #     D  send ^V
3646
3647 # S2  7  Screen colour
3648 #     U  green on black
3649 #     D  black on green
3650
3651 # S2  8  DSR status (pin 6)
3652 #     U  disconnected
3653 #     D  connected
3654
3655 # S2  9  DCD status (pin 8)
3656 #     U  disconnected
3657 #     D  duplex
3658
3659 # S2 10  DTR status (pin 20)
3660 #     U  disconnected
3661 #     D  duplex
3662 # (tvi910: removed obsolete ":ma=^Kk^Ll^R^L:"; added <khome>, <cub1>, <cud1>,
3663 # <ind>, <hpa>, <vpa>, <am>, <msgr> from SCO entry -- esr)
3664 tvi910|televideo model 910, 
3665         am, msgr, 
3666         cols#80, it#8, lines#24, xmc#1, 
3667         bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
3668         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EY, el=\ET, 
3669         home=\E=\001\001, hpa=\E]%p1%{32}%+%c, ht=^I, 
3670         if=/usr/share/tabset/stdcrt, ind=^J, invis@, kbs=^H, 
3671         kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^AI\r, kf1=^A@\r, 
3672         kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
3673         kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
3674         vpa=\E[%p1%{32}%+%c, use=adm+sgr, 
3675 # From: Alan R. Rogers <rogers%albany@csnet-relay>
3676 # as subsequently hacked over by someone at SCO
3677 # (tvi910+: removed obsolete ":ma=^K^P^L :" -- esr)
3678 #
3679 # Here are the 910+'s DIP switches (U = up, D = down, X = don't care):
3680 #
3681 # S1  1 2 3 4:
3682 #     D D D D  9600     D D D U    50     D D U D    75     D D U U   110
3683 #     D U D D   135     D U D U   150     D U U D   300     D U U U   600
3684 #     U D D D  1200     U D D U  1800     U D U D  2400     U D U U  3600
3685 #     U U D D  4800     U U D U  7200     U U U D  9600     U U U U 19200
3686 #
3687 # S1  5 6 7 8:
3688 #     U D X D  7N1     U D X U  7N2     U U D D  7O1     U U D U  7O2
3689 #     U U U D  7E1     U U U U  7E2     D D X D  8N1     D D X U  8N2
3690 #     D U D D  8O1     D U U U  8E2
3691
3692 # S1  9  Autowrap            (U = on, D = off)
3693 # S1 10  CR/LF               (U = CR/LF on CR received, D = CR on CR received)
3694 # S2  1  Mode                (U = block, D = conversational)
3695 # S2  2  Duplex              (U =  half, D = full)
3696 # S2  3  Hertz               (U = 50, D = 60)
3697 # S2  4  Edit mode           (U = local, D = duplex)
3698 # S2  5  Cursor type         (U = underline, D = block)
3699 # S2  6  Cursor down key     (U = send ^J, D = send ^V)
3700 # S2  7  Screen colour       (U = green on black, D = black on green)
3701 # S2  8  DSR status (pin 6)  (U = disconnected, D = connected)
3702 # S2  9  DCD status (pin 8)  (U = disconnected, D = connected)
3703 # S2 10  DTR status (pin 20) (U = disconnected, D = connected)
3704 #
3705 tvi910+|televideo 910+, 
3706         dch1=\EW, dl1=\ER$<33*>, home=^^, ich1=\EQ, il1=\EE$<33*>, 
3707         kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r, kf4=^AD\r, 
3708         kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, kf9=^AI\r, 
3709         ll=\E=7\s, 
3710         use=tvi910, 
3711
3712 # (tvi912: removed obsolete ":ma=^K^P^L :", added  <flash> and
3713 # <khome> from BRL entry -- esr)
3714 tvi912|tvi914|tvi920|old televideo 912/914/920, 
3715         am, msgr, 
3716         cols#80, it#8, lines#24, xmc#1, 
3717         bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
3718         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
3719         dl1=\ER$<33*>, ed=\Ey, el=\ET, flash=\Eb$<50/>\Ed, home=^^, 
3720         ht=^I, hts=\E1, ich1=\EQ, if=/usr/share/tabset/stdcrt, 
3721         il1=\EE$<33*>, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, 
3722         kcuu1=^K, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, 
3723         kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, 
3724         kf9=^AH\r, khome=^^, rmso=\Ek, rmul=\Em, smso=\Ej, smul=\El, 
3725         tbc=\E3, 
3726 # the 912 has a <funct> key that's like shift: <funct>8 xmits "^A8\r".
3727 # The 920 has this plus real function keys that xmit different things.
3728 # Terminfo makes you use the funct key on the 912 but the real keys on the 920.
3729 tvi912c|tvi912b|new televideo 912, 
3730         dl1=\ER$<5*>, il1=\EE$<5*>, use=tvi912, 
3731 # set to page 1 when entering curses application (\E-17 )
3732 # reset to page 0 when exiting curses application (\E-07 )
3733 tvi912-2p|tvi920-2p|tvi-2p|televideo w/2 pages, 
3734         rmcup=\E-07\s, smcup=\E-17\s, use=tvi912, 
3735 # We got some new tvi912c terminals that act really weird on the regular 
3736 # termcap, so one of our gurus worked this up. Seems that cursor 
3737 # addressing is broken.
3738 tvi912cc|tvi912 at cowell college, 
3739         cup@, use=tvi912c, 
3740
3741 # Here are the switch settings for the tvi920c:
3742 #
3743 # S1 (Line), and S3 (Printer) baud rates -- put one, and only one, switch down:
3744 # 2: 9600       3: 4800         4: 2400         5: 1200
3745 # 6:  600       7:  300         8:  150         9:   75
3746 # 10: 110
3747 #
3748 # S2 UART/Terminal options:
3749 #               Up                      Down
3750 # 1:            Not used                Not allowed
3751 # 2:    Alternate character set   Standard character set
3752 # 3:        Full duplex             Half duplex
3753 # 4:        50 Hz refresh           60 Hz refresh
3754 # 5:          No parity              Send parity
3755 # 6:         2 stop bits             1 stop bit
3756 # 7:         8 data bits             7 data bits
3757 # 8:            Not used                Not allowed on Rev E or lower
3758 # 9:         Even parity             Odd parity
3759 # 10:       Steady cursor           Blinking cursor
3760 #       (On Rev E or lower, use W25 instead of switch 10.)
3761
3762 # S5 UART/Terminal options:
3763 #               Open                    Closed
3764 # 1:    P3-6 Not connected      DSR received on P3-6
3765 # 2:    P3-8 Not connected      DCD received on P3-8
3766 #
3767 # 3 Open, 4 Open:               P3-20 Not connected
3768 # 3 Open, 4 Closed:     DTR on when terminal is on
3769 # 3 Closed, 4 Open:     DTR is connected to RTS
3770 # 3 Closed, 4 Closed:   Not allowed
3771 #
3772 # 5 Closed:     HDX printer (hardware control) Rev. K with extension port off,
3773 #               all data transmitted out of the modem port (P3) will also be
3774 #               transmitted out of the printer port (P4).
3775 #
3776 # 6 Open, 7 Open:               Not allowed
3777 # 6 Open, 7 Closed:     20ma current loop input
3778 # 6 Closed, 7 Open:     RS232 input
3779 # 6 Closed, 7 Closed:   Not allowed
3780 #
3781 # Jumper options:
3782 # If the jumper is installed, the effect will occur (the next time the terminal
3783 # is switched on).
3784 #
3785 # S4/W31:       Enables automatic LF upon receipt of CR from
3786 #               remote or keyboard.
3787 # S4/W32:       Enables transmission of EOT at the end of Send.  If not 
3788 #               installed, a carriage return is sent.
3789 # S4/W33:       Disables automatic carriage return in column 80.
3790 # S4/W34:       Selects Page Print Mode as initial condition.  If not 
3791 #               installed, Extension Mode is selected.
3792 #
3793 tvi920b|tvi920c|new televideo 920, 
3794         dl1=\ER$<5*>, il1=\EE$<5*>, kf0=^AI\r, kf1=^A@\r, 
3795         kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
3796         kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, 
3797         use=tvi912, 
3798
3799 # Televideo 921 and variants
3800 # From: Tim Theisen <tim@cs.wisc.edu> 22 Sept 1995
3801 # (tvi921: removed :ko=bt: before translation, I see no backtab cap;
3802 # also added empty <acsc> to suppress tic warning -- esr)
3803 tvi921|televideo model 921 with sysline same as page & real vi function, 
3804         am, hs, xenl, xhp, 
3805         cols#80, lines#24, xmc#0, 
3806         acsc=, clear=^Z, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V, cuf1=^L, 
3807         cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<3/>, cuu1=^K, 
3808         cvvis=\E.2, dch1=\EW, dl1=\ER$<1*/>, dsl=\Ef\r\Eg, ed=\EY, 
3809         el=\ET, fsl=\Eg, home=^^, ht=^I, ich1=\EQ, 
3810         if=/usr/share/tabset/stdcrt, il1=\EE, ind=^J, invis@, 
3811         is2=\El\E"\EF1\E.3\017\EA\E<, kbs=^H, kclr=^Z, kcub1=^H, 
3812         kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER$<1*/>, 
3813         ked=\EY, kel=\ET, kich1=\EQ, kil1=\EE, nel=^M^J, rmacs=\E%, 
3814         rmir=, smacs=\E$, smir=, tsl=\Ef\EG0, 
3815         use=adm+sgr, 
3816 # without the beeper
3817 # (tvi92B: removed :ko=bt: before translation, I see no backtab cap;
3818 # also added empty <acsc> to suppress tic warning -- esr)
3819 tvi92B|televideo model 921 with sysline same as page & real vi function, 
3820         am, hs, xenl, xhp, 
3821         cols#80, lines#24, xmc#0, 
3822         acsc=, clear=^Z, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V, cuf1=^L, 
3823         cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<3/>, cuu1=^K, 
3824         cvvis=\E.2, dch1=\EW, dl1=\ER$<1*/>, dsl=\Ef\r\Eg, ed=\EY, 
3825         el=\ET, flash=\Eb$<200/>\Ed, fsl=\Eg, home=^^, ht=^I, 
3826         ich1=\EQ, if=/usr/share/tabset/stdcrt, il1=\EE, ind=^J, 
3827         invis@, is2=\El\E"\EF1\E.3\017\EA\E<, kbs=^H, kclr=^Z, 
3828         kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, 
3829         kdl1=\ER$<1*/>, ked=\EY, kel=\ET, kich1=\EQ, kil1=\EE, 
3830         nel=^M^J, rmacs=\E%, rmir=, smacs=\E$, smir=, tsl=\Ef\EG0, 
3831         use=adm+sgr, 
3832 # (tvi92D: removed :ko=bt: before translation, I see no backtab cap -- esr)
3833 tvi92D|tvi92B with DTR instead of XON/XOFF & better padding, 
3834         dl1=\ER$<2*/>, il1=\EE$<2*/>, 
3835         is2=\El\E"\EF1\E.3\016\EA\E<, kdl1=\ER$<2*/>, 
3836         kil1=\EE$<2*/>, 
3837         use=tvi92B, 
3838
3839 # (tvi924: This used to have <dsl=\Es0>, <fsl=\031>.  I put the new strings
3840 # in from a BSD termcap file because it looks like they do something the
3841 # old ones skip -- esr)
3842 tvi924|televideo tvi924, 
3843         am, bw, hs, in, mir, msgr, xenl, xon, 
3844         cols#80, it#8, lines#24, wsl#80, xmc#0, 
3845         bel=^G, blink=\EG2, cbt=\EI, civis=\E.0, clear=\E*0, 
3846         cnorm=\E.3, cr=^M, csr=\E_%p1%{32}%+%c%p2%{32}%+%c, 
3847         cub1=^H, cud1=^V, cuf1=^L, 
3848         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, cvvis=\E.1, 
3849         dch1=\EW, dl1=\ER, dsl=\Es0\Ef\031, ed=\Ey, el=\Et, 
3850         flash=\Eb$<200>\Ed, fsl=\031\Es1, home=^^, ht=^I, hts=\E1, 
3851         ich1=\EQ, if=/usr/share/tabset/stdcrt, il1=\EE, ind=^J, 
3852         invis@, is1=\017\E%\E'\E(\EDF\EC\EG0\EN0\Es0\Ev0, 
3853         kbs=^H, kclr=\E*0, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, 
3854         kdch1=\EW, kdl1=\ER, ked=\Ey, kel=\Et, kf0=^A@\r, kf1=^AA\r, 
3855         kf10=^AJ\r, kf11=^AK\r, kf12=^AL\r, kf13=^AM\r, kf14=^AN\r, 
3856         kf15=^AO\r, kf2=^AB\r, kf3=^AC\r, kf4=^AD\r, kf5=^AE\r, 
3857         kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, kf9=^AI\r, khome=^^, 
3858         kich1=\EQ, kil1=\EE, lf0=F1, lf1=F2, lf10=F11, lf2=F3, lf3=F4, 
3859         lf4=F5, lf5=F6, lf6=F7, lf7=F8, lf8=F9, lf9=F10, 
3860         pfkey=\E|%p1%'1'%+%c%p2%s\031, ri=\Ej, tbc=\E3, tsl=\Ef, use=adm+sgr, 
3861
3862 # TVI925 DIP switches.  In each of these, D = Down and U = Up,
3863 #
3864 # Here are the settings for the external (baud) switches (S1):
3865 #
3866 #             Position          Baud
3867 # 7     8       9       10              [Printer]
3868 # 1     2       3       4               [Main RS232]
3869 # -----------------------------------------------------
3870 # D     D       D       D       9600
3871 # D     D       D       U         50
3872 # D     D       U       D         75
3873 # D     D       U       U        110
3874 # D     U       D       D        135
3875 # D     U       D       U        150
3876 # D     U       U       D        300
3877 # D     U       U       U        600
3878 # U     D       D       D       1200
3879 # U     D       D       U       1800
3880 # U     D       U       D       2400
3881 # U     D       U       U       3600
3882 # U     U       D       D       4800
3883 # U     U       D       U       7200
3884 # U     U       U       D       9600
3885 # U     U       U       U       19200
3886
3887
3888 # Settings for word length and stop-bits (S1)
3889 #
3890 #  Position     Description
3891 # 5     6       
3892 # ---------------------------
3893 # U     -       7-bit word
3894 # D     -       8-bit word
3895 # -     U       2 stop bits
3896 # -     D       1 stop bit
3897
3898
3899 # S2 (external) settings
3900 #
3901 # Position      Up      Dn      Description
3902 # --------------------------------------------
3903 # 1             X               Local edit
3904 #                       X       Duplex edit (transmit editing keys)
3905 # --------------------------------------------
3906 # 2             X               912/920 emulation
3907 #                       X       925
3908 # --------------------------------------------
3909 # 3                     X
3910 # 4                     X       No parity
3911 # 5                     X       
3912 # --------------------------------------------
3913 # 3                     X
3914 # 4                     X       Odd parity
3915 # 5             X       
3916 # --------------------------------------------
3917 # 3                     X
3918 # 4             X               Even parity
3919 # 5             X       
3920 # --------------------------------------------
3921 # 3             X       
3922 # 4                     X       Mark parity
3923 # 5             X               
3924 # --------------------------------------------
3925 # 3             X
3926 # 4             X               Space parity
3927 # 5             X
3928 # --------------------------------------------
3929 # 6             X               White on black display
3930 #                       X       Black on white display
3931 # --------------------------------------------
3932 # 7                     X       Half Duplex
3933 # 8                     X
3934 # --------------------------------------------
3935 # 7             X               Full Duplex
3936 # 8                     X       
3937 # --------------------------------------------
3938 # 7                     X       Block mode
3939 # 8             X       
3940 # --------------------------------------------
3941 # 9                     X       50 Hz
3942 #               X               60 Hz
3943 # --------------------------------------------
3944 # 10            X               CR/LF (Auto LF)
3945 #                       X       CR only
3946
3947 # S3 (internal switch) settings:
3948
3949 # Position      Up      Dn      Description
3950 # --------------------------------------------
3951 # 1             X               Keyclick off 
3952 #                       X       Keyclick on
3953 # --------------------------------------------
3954 # 2                     X       English
3955 # 3                     X       
3956 # --------------------------------------------
3957 # 2                     X       German
3958 # 3             X               
3959 # --------------------------------------------
3960 # 2             X               French
3961 # 3                     X       
3962 # --------------------------------------------
3963 # 2             X               Spanish
3964 # 3             X       
3965 # --------------------------------------------
3966 # 4                     X       Blinking block cursor
3967 # 5                     X       
3968 # --------------------------------------------
3969 # 4                     X       Blinking underline cursor
3970 # 5             X               
3971 # --------------------------------------------
3972 # 4             X               Steady block cursor
3973 # 5                     X       
3974 # --------------------------------------------
3975 # 4             X               Steady underline cursor
3976 # 5             X       
3977 # --------------------------------------------
3978 # 6             X               Screen blanking timer (ON)
3979 #                       X       Screen blanking timer (OFF)
3980 # --------------------------------------------
3981 # 7             X               Page attributes
3982 #                       X       Line attributes
3983 # --------------------------------------------
3984 # 8             X               DCD disconnected
3985 #                       X       DCD connected
3986 # --------------------------------------------
3987 # 9             X               DSR disconnected
3988 #                       X       DSR connected
3989 # --------------------------------------------
3990 # 10            X               DTR Disconnected
3991 #                       X       DTR connected
3992 # --------------------------------------------
3993 #
3994 # (tvi925: BSD has <clear=\E*>.  I got <is2> and <ri> from there -- esr)
3995 tvi925|televideo 925, 
3996         am, bw, hs, ul, 
3997         cols#80, lines#24, xmc#1, 
3998         bel=^G, cbt=\EI, clear=^Z, cnorm=\E.4, cr=^M, cub1=^H, cud1=^V, 
3999         cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
4000         cvvis=\E.2, dch1=\EW, dl1=\ER, dsl=\Eh, ed=\EY, el=\ET, 
4001         flash=\Eb$<200>\Ed, fsl=^M\Eg, home=^^, ht=^I, hts=\E1, 
4002         ich1=\EQ, il1=\EE, ind=^J, invis@, is2=\El\E", kbs=^H, kclr=^Z, 
4003         kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, 
4004         ked=\EY, kel=\ET, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, 
4005         kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, 
4006         kf9=^AH\r, khome=^^, kich1=\EQ, kil1=\EE, ri=\Ej, tbc=\E3, 
4007         tsl=\Eh\Ef, 
4008         use=adm+sgr, 
4009 # TeleVideo 925 from Mitch Bradley <sun!wmb> via BRL
4010 # to avoid "magic cookie" standout glitch:
4011 tvi925-hi|TeleVideo Model 925 with half intensity standout mode, 
4012         xmc@, 
4013         kbs=^H, kcub1=^H, kcud1=^J, rmso=\E(, smso=\E), use=tvi925, 
4014
4015 # From: Todd Litwin <litwin@litwin.jpl.nasa.gov> 28 May 1993
4016 # Originally Tim Curry, Univ. of Central Fla., <duke!ucf-cs!tim> 5/21/82
4017 # for additional capabilities, 
4018 # The following tvi descriptions from B:pjphar and virus!mike
4019 # is for all 950s.  It sets the following attributes:
4020 # full duplex (\EDF)            write protect off (\E()
4021 # conversation mode (\EC)       graphics mode off (\E%)
4022 # white on black (\Ed)          auto page flip off (\Ew)
4023 # turn off status line (\Eg)    clear status line (\Ef\r)
4024 # normal video (\E0)            monitor mode off (\EX or \Eu)
4025 # edit mode (\Er)               load blank char to space (\Ee\040)
4026 # line edit mode (\EO)          enable buffer control (^O)
4027 # protect mode off (\E\047)     duplex edit keys (\El)
4028 # program unshifted send key to send line all (\E016)
4029 # program shifted send key to send line unprotected (\E004)
4030 # set the following to nulls:
4031 #       field delimiter (\Ex0\200\200)
4032 #       line delimiter (\Ex1\200\200)
4033 #       start-protected field delimiter (\Ex2\200\200)
4034 #       end-protected field delimiter (\Ex3\200\200)
4035 # set end of text delimiter to carriage return/null (\Ex4\r\200)
4036
4037 #                     TVI 950 Switch Setting Reference Charts
4038
4039 #                                     TABLE 1:
4040
4041 #      S1     1     2     3     4     5     6     7     8     9    10
4042 #          +-----------------------+-----+-----+-----------------------+
4043 #          | Computer Baud Rate    |Data |Stop | Printer Baud Rate     |
4044 #          |                       |Bits |Bits |                       |
4045 #   +------+-----------------------+-----+-----+-----------------------+
4046 #   |  Up  |        See            |  7  |  2  |        See            |
4047 #   +------+-----------------------+-----+-----+-----------------------+
4048 #   | Down |      TABLE 2          |  8  |  1  |      TABLE 2          |
4049 #   +------+-----------------------+-----+-----+-----------------------+
4050
4051
4052 #      S2     1     2     3     4     5     6     7     8     9    10
4053 #          +-----+-----+-----------------+-----+-----------+-----+-----+
4054 #          |Edit |Cursr|    Parity       |Video|Transmiss'n| Hz  |Click|
4055 #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
4056 #   |  Up  | Dplx|Blink|      See        |GonBk|   See     | 60  | Off |
4057 #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
4058 #   | Down |Local|St'dy|    TABLE 3      |BkonG|  CHART    | 50  | On  |
4059 #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
4060 #  
4061 #                                    TABLE 2:
4062
4063 #             +-----------+-----+-----+-----+-----+-----------+
4064 #             | Display   |  1  |  2  |  3  |  4  |   Baud    |
4065 #             +-----------+-----+-----+-----+-----+           |
4066 #             | Printer   |  7  |  8  |  9  | 10  |   Rate    |
4067 #             +-----------+-----+-----+-----+-----+-----------+
4068 #                         |  D  |  D  |  D  |  D  |   9600    |
4069 #                         |  U  |  D  |  D  |  D  |     50    |
4070 #                         |  D  |  U  |  D  |  D  |     75    |
4071 #                         |  U  |  U  |  D  |  D  |    110    |
4072 #                         |  D  |  D  |  U  |  D  |    135    |
4073 #                         |  U  |  D  |  U  |  D  |    150    |
4074 #                         |  D  |  U  |  U  |  D  |    300    |
4075 #                         |  U  |  U  |  U  |  D  |    600    |
4076 #                         |  D  |  D  |  D  |  U  |   1200    |
4077 #                         |  U  |  D  |  D  |  U  |   1800    |
4078 #                         |  D  |  U  |  D  |  U  |   2400    |
4079 #                         |  U  |  U  |  D  |  U  |   3600    |
4080 #                         |  D  |  D  |  U  |  U  |   4800    |
4081 #                         |  U  |  D  |  U  |  U  |   7200    |
4082 #                         |  D  |  U  |  U  |  U  |   9600    |
4083 #                         |  U  |  U  |  U  |  U  |  19200    |
4084 #                         +-----+-----+-----+-----+-----------+
4085
4086 #                                    TABLE 3:
4087 #                         +-----+-----+-----+-----------+
4088 #                         |  3  |  4  |  5  |   Parity  |
4089 #                         +-----+-----+-----+-----------+
4090 #                         |  X  |  X  |  D  |    None   |
4091 #                         |  D  |  D  |  U  |     Odd   |
4092 #                         |  D  |  U  |  U  |    Even   |
4093 #                         |  U  |  D  |  U  |    Mark   |
4094 #                         |  U  |  U  |  U  |   Space   |
4095 #                         +-----+-----+-----+-----------+
4096 #                                 X = don't care
4097
4098 #                                     CHART:
4099 #                         +-----+-----+-----------------+
4100 #                         |  7  |  8  | Communication   |
4101 #                         +-----+-----+-----------------+
4102 #                         |  D  |  D  |  Half Duplex    |
4103 #                         |  D  |  U  |  Full Duplex    |
4104 #                         |  U  |  D  |     Block       |
4105 #                         |  U  |  U  |     Local       |
4106 #                         +-----+-----+-----------------+
4107
4108 # (tvi950: early versions had obsolete ":ma=^Vj^Kk^Hh^Ll^^H:". 
4109 # I also inserted <ich1> and <kich1>; the :ko: string indicated that <ich> 
4110 # should be present and all tvi native modes use the same string for this.
4111 # Finally, note that BSD has cud1=^V. -- esr) 
4112 tvi950|televideo 950, 
4113         am, hs, mir, msgr, xenl, xon, 
4114         cols#80, it#8, lines#24, xmc#1, 
4115         acsc=d\rc\014e\nb\011i\013, bel=^G, cbt=\EI, clear=\E*, 
4116         cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
4117         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
4118         dl1=\ER, dsl=\Eg\Ef\r, ed=\Ey, el=\Et, flash=\Eb$<200/>\Ed, 
4119         fsl=^M, home=^^, ht=^I, hts=\E1, ich1=\EQ, il1=\EE, ind=^J, 
4120         invis@, 
4121         is2=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\El\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\011\Ex3\200\200\Ex4\r\200\Ef\r, 
4122         kbs=^H, kcbt=\EI, kclr=\E*, kcub1=^H, kcud1=^V, kcuf1=^L, 
4123         kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\Ey, kel=\Et, kf0=^A0\r, 
4124         kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
4125         kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
4126         kich1=\EQ, kil1=\EE, mc4=\Ea, mc5=\E`, ri=\Ej, rmacs=^X, 
4127         rmir=\Er, smacs=^U, smir=\Eq, tbc=\E3, tsl=\Eg\Ef, 
4128         use=adm+sgr, 
4129 #
4130 # is for 950 with two pages adds the following:
4131 #       set 48 line page (\E\\2)
4132 #       place cursor at page 0, line 24, column 1 (\E-07 )
4133 #       set local (no send) edit keys (\Ek)
4134 #
4135 # two page 950 adds the following:
4136 #       when entering ex, set 24 line page (\E\\1)
4137 #       when exiting ex, reset 48 line page (\E\\2)
4138 #                        place cursor at 0,24,1 (\E-07 )
4139 #       set duplex (send) edit keys (\El) when entering vi
4140 #       set local (no send) edit keys (\Ek) when exiting vi
4141 #
4142 tvi950-2p|televideo950 w/2 pages, 
4143         is2=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\011\Ex3\200\200\Ex4\r\200\E\\2\E-07 \011, 
4144         rmcup=\E\\2\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s, 
4145         smkx=\El, 
4146         use=tvi950, 
4147 #
4148 # is for 950 with four pages adds the following:
4149 #       set 96 line page (\E\\3)
4150 #       place cursor at page 0, line 24, column 1 (\E-07 )
4151 #
4152 # four page 950 adds the following:
4153 #       when entering ex, set 24 line page (\E\\1)
4154 #       when exiting ex, reset 96 line page (\E\\3)
4155 #                        place cursor at 0,24,1 (\E-07 )
4156 #
4157 tvi950-4p|televideo950 w/4 pages, 
4158         is2=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\011\Ex3\200\200\Ex4\r\200\E\\3\E-07 \011, 
4159         rmcup=\E\\3\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s, 
4160         smkx=\El, 
4161         use=tvi950, 
4162 #
4163 # <is2> for reverse video 950 changes the following:
4164 #       set reverse video (\Ed)
4165 #
4166 # set vb accordingly (\Ed ...delay... \Eb)
4167 #
4168 tvi950-rv|televideo950 rev video, 
4169         flash=\Ed$<200/>\Eb, 
4170         is2=\EDF\EC\Eb\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\El\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\011\Ex3\200\200\Ex4\r\200, use=tvi950, 
4171
4172 # tvi950-rv-2p uses the appropriate entries from 950-2p and 950-rv
4173 tvi950-rv-2p|televideo950 rev video w/2 pages, 
4174         flash=\Ed$<200/>\Eb, 
4175         is2=\EDF\EC\Eb\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\011\Ex3\200\200\Ex4\r\200\E\\2\E-07\s, 
4176         rmcup=\E\\2\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s, 
4177         smkx=\El, 
4178         use=tvi950, 
4179
4180 # tvi950-rv uses the appropriate entries from 950-4p and 950-rv
4181 tvi950-rv-4p|televideo950 rev video w/4 pages, 
4182         flash=\Ed$<200/>\Eb, 
4183         is2=\EDF\EC\Eb\EG0\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\011\Ex3\200\200\Ex4\r\200\E\\3\E-07\s, 
4184         rmcup=\E\\3\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s, 
4185         smkx=\El, 
4186         use=tvi950, 
4187 # From: Andreas Stolcke <stolcke@icsi.berkeley.edu>
4188 # (tvi955: removed obsolete ":ma:=^Vj^Kk^Hh^Ll^^H";
4189 # removed incorrect (and overridden) ":do=^J:"; fixed broken continuations in
4190 # the :rs: string, inserted the <ich> implied by the termcap :ko: string.  Note
4191 # the :ko: string had :cl: in it, which means that one of the original
4192 # <clear=\E*>, <kclr=\EY> had to be wrong; set <kclr=\E*> because that's what
4193 # the 950 has.   Finally, corrected the <kel> string to match the 950 and what
4194 # ko implies -- esr)
4195 # If the BSD termcap file was right, <cup=\E=%p1%{32}%+%c%p2%{32}%+%c> would
4196 # also work.
4197 tvi955|televideo 955, 
4198         mc5i, msgr@, 
4199         it#8, xmc@, 
4200         acsc=0_`RjHkGlFmEnIoPqKsQtMuLvOwNxJ, blink=\EG2, 
4201         civis=\E.0, cnorm=\E.2, cud1=^V, cup=\E[%i%p1%d;%p2%dH, 
4202         cvvis=\E.1, dim=\E[=5h, ind@, invis=\EG1, 
4203         is2=\E[=3l\EF1\Ed\EG0\E[=5l\E%\El, kctab=\E2, khts=\E1, 
4204         knp=\EK, kpp=\EJ, krmir=\EQ, ktbc=\E3, mc0=\EP, rmacs=\E%, 
4205         rmam=\E[=7l, rmxon=^N, 
4206         rs1=\EDF\EC\Eg\Er\EO\E'\E(\Ew\EX\Ee \017\E0P\E6\200\E0p\E4\200\Ef\r, 
4207         sgr0=\EG0\E[=5l, smacs=\E$, smam=\E[=7h, smxon=^O, 
4208         use=tvi950, 
4209 tvi955-w|955-w|televideo955 w/132 cols, 
4210         cols#132, 
4211         is2=\E[=3h\EF1\Ed\EG0\E[=5l\E%\El, use=tvi955, 
4212 # use half-intensity as normal mode, full intensity as <bold>
4213 tvi955-hb|955-hb|televideo955 half-bright, 
4214         bold=\E[=5l, dim@, is2=\E[=3l\EF1\Ed\EG0\E[=5h\E%\El, 
4215         sgr0=\EG0\E[=5h, 
4216         use=tvi955, 
4217 # From: Humberto Appleton <beto@cs.utexas.edu>, 880521 UT Austin
4218 # (tvi970: removed ":sg#0:"; removed <rmso>=\E[m, <rmul>=\E[m;
4219 # added <am>/<csr>/<home>/<hpa>/<vpa>/<smcup>/<rmcup> from BRL.
4220 # According to BRL we could have <rmkx>=\E>, <smkx>=\E= but I'm not sure what
4221 # it does to the function keys.  I deduced <rmam>/<smam>.
4222 # also added empty <acsc> to suppress tic warning,  -- esr)
4223 tvi970|televideo 970, 
4224         am, da, db, mir, msgr, 
4225         cols#80, it#8, lines#24, 
4226         acsc=, cbt=\E[Z, clear=\E[H\E[2J, csr=\E[%i%p1%d;%p2%dr, 
4227         cub1=^H, cud1=\ED, cuf1=\E[C, cup=\E[%i%p1%d;%p2%df, 
4228         cuu1=\EM, cvvis=\E[1Q, dch1=\E[P, dl1=\E[M, dsl=\Eg\Ef\r, 
4229         ed=\E[J, el=\E[K, flash=\E[5m$<200/>\E[m, home=\E[H, 
4230         hpa=\E[%i%p1%dG, ht=^I, il1=\E[L, 
4231         is2=\E<\E[?21l\E[19h\E[1Q\E[10l\E[7l\E[H\E[2J, 
4232         kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
4233         kf1=\E?a, kf2=\E?b, kf3=\E?c, kf4=\E?d, kf5=\E?e, kf6=\E?f, 
4234         kf7=\E?g, kf8=\E?h, kf9=\E?i, khome=\E[H, ri=\EM, rmacs=\E(B, 
4235         rmam=\E[?7h, rmcup=, rmir=\E[4l, rmso=\E[m, rmul=\E[m, 
4236         sgr0=\E[m, smacs=\E(B, smam=\E[?7l, 
4237         smcup=\E[?20l\E[?7h\E[1Q, smir=\E[4h, smso=\E[7m, 
4238         smul=\E[4m, vpa=\E[%i%p1%dd, 
4239 tvi970-vb|televideo 970 with visual bell, 
4240         flash=\E[?5h\200\200\200\200\200\200\200\200\200\200\200\200\200\E[?5l, use=tvi970, 
4241 tvi970-2p|televideo 970 with using 2 pages of memory, 
4242         rmcup=\E[H\E[J\E[V, smcup=\E[U\E[?20l\E[?7h\E[1Q, 
4243         use=tvi970, 
4244 # Works with vi and rogue.  NOTE: Esc v sets autowrap on, Esc u sets 80 chars
4245 # per line (rather than 40), Esc K chooses the normal character set.  Not sure
4246 # padding is needed, but adapted from the tvi920c termcap.  The <smso> and 
4247 # <smul> strings are klutzy, but at least use no screen space.
4248 # (tvipt: removed obsolete ":ma=^Kk^Ll^R^L:".  I wish we knew <rmam>,
4249 # its absence means <smam>=\Ev isn't save to use. -- esr)
4250 # From: Gene Rochlin <armsis@amber.berkeley.edu> 9/19/84. 
4251 # The <ed>/<kf0>/<kf1>/<khome>/<mc4>, and <mc5> caps are from BRL, which says:
4252 # F1 and F2 should be programmed as ^A and ^B; required for UNIFY.
4253 tvipt|televideo personal terminal, 
4254         am, 
4255         cols#80, lines#24, 
4256         cbt=\EI, clear=^Z, cub1=^H, cuf1=^L, 
4257         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dl1=\ER$<5*>, 
4258         ed=\EY, el=\ET, home=^^, if=/usr/share/tabset/stdcrt, 
4259         il1=\EE$<5*>, is2=\Ev\Eu\EK, kbs=^H, kcub1=^H, kcud1=^J, 
4260         kcuf1=^L, kcuu1=^K, kf0=^A, kf1=^B, khome=^^, mc4=^T, mc5=^R, 
4261         rmso=\EF, rmul=\EF, smso=\EG1@A\EH, smul=\EG1B@\EH, 
4262 # From: Nathan Peterson <nathan@sco.com>, 03 Sep 1996
4263 tvi9065|televideo 9065, 
4264         am, bw, chts, hs, mc5i, mir, msgr, xenl, xon, 
4265         cols#80, it#8, lh#1, lines#25, lm#0, lw#9, ma#4, nlab#8, vt#0, 
4266         wnum#0, wsl#30, 
4267         acsc=0_'rjhkglfmeniopxjqksqtmulvown, bel=^G, 
4268         blink=\EG2, bold=\EG\,, cbt=\EI, civis=\E.0, clear=^Z, 
4269         cnorm=\E.3, cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, 
4270         cub1=^H, cud=\E[%p1%dB, cud1=^V, cuf=\E[%p1%dC, cuf1=^L, 
4271         cup=\E=%p1%' '%+%c%p2%' '%+%c, cuu=\E[%p1%dA, cuu1=^K, 
4272         cvvis=\E.2, dch=\E[%p1%dP, dch1=\EW, dim=\EGp, 
4273         dl=\E[%p1%dM, dl1=\ER, dsl=\E_30\r, ech=\E[%p1%d@, ed=\EY, 
4274         el=\ET, flash=\Eb$<15>\Ed, fsl=^M, home=^^, ht=^I, hts=\E1, 
4275         ich=\E[%p1%d@, if=/usr/share/tabset/stdcrt, 
4276         il=\E[%p1%dL, il1=\EE, ind=^J, indn=\E[%p1%dS, invis=\EG1, 
4277         ip=$<3>, 
4278         is1=\E"\E%\E'\E(\EG@\EO\EX\E[=5l\E[=6l\E[=7h\Ed\Er, 
4279         is2=\EF2\EG0\E\\L, is3=\E<\E[=4l\E[=8h, kHOM=\E\s\s\s, 
4280         kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, 
4281         kdch1=\EW, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, kf12=^AK\r, 
4282         kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
4283         kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, ll=\E[25;1H, 
4284         mc0=\E[0;0i, mc4=\Ea, mc5=\E`, nel=^M^J, 
4285         pfkey=\E|%p1%'0'%+%c3%p2%s\031, 
4286         pfloc=\E|%p1%'0'%+%c2%p2%s\031, 
4287         pfx=\E|%p1%'0'%+%c1%p2%s\031, 
4288         pln=\E_%p1%'?'%+%c%p2%s\r, prot=\E&, 
4289         rep=\E[%p2%db%p1%c, rev=\EG4, 
4290         rf=/usr/share/tabset/stdcrt, ri=\Ej, rin=\E[%p1%dT, 
4291         rmacs=\E%, rmam=\E[=7l, rmcup=\E.3\Er\E[1;25r\E[25;0H, 
4292         rmdc=\200, rmir=\Er, rmln=\E[4;1v, rmso=\EG0, rmul=\EG0, 
4293         rmxon=^N, rs1=\EC\EDF\E[0;0v\E[8;1v\E[=65l, 
4294         rs2=\E.b\E[10;20v\E[14;1v\E[3;0v\E[7;0v\E[=11.h\E[=12.h\E[=13.h\E[=14.h\E[=15l\E[=20h\E[=60l\E[=61h\E[=9l\E[=10l\E[=21l\E[=23l\E[=3l\E_40\E_50\En\Ew\Ee \Ex0\200\200\Ex1\200\200\Ex2\200\200\Ex3\200\200\Ex4\200\200\E1, 
4295         rs3=\E[=19h\E.3\E9\E0O\200\200\200\200\200\E0o\200\200\200\200\200\E0J\177\200\200\200\200, 
4296         sgr=\EG0%?%p1%t\EGt%;%?%p2%t\EG8%;%?%p3%t\EG4%;%?%p4%t\EG2%;%?%p5%t\EGp%;%?%p6%t\EG\,%;%?%p7%t\EG1%;%?%p9%t\E$%e\E%%%;, 
4297         sgr0=\EG0, smacs=\E$, smam=\E=7h, smcup=\E.2, smdc=\Er, 
4298         smir=\Eq, smln=\E[4;2v, smso=\EGt, smul=\EG8, smxon=^O, 
4299         tbc=\E3, tsl=\E[4;1v\E_30, uc=\EG8\EG0, 
4300
4301 #### Visual (vi)
4302 #
4303 # In September 1993, Visual Technology of Westboro, Massachusetts,
4304 # merged with White Pine Software of Nashua, New Hampshire.
4305 #
4306 # White Pine Software may be contacted at +1 603/886-9050.
4307 # Or visit White Pine on the World Wide Web at URL http://www.wpine.com.
4308 #
4309
4310 # Visual 50 from Beau Shekita, BTL-Whippany <whuxlb!ejs>
4311 # Recently I hacked together the following termcap for Visual
4312 # Technology's Visual 50 terminal. It's a slight modification of
4313 # the vt52 termcap. 
4314 # It's intended to run when the Visual 50 is in vt52 emulation mode
4315 # (I know what you're thinking; if it's emulating a vt52, then why
4316 # another termcap? Well, it turns out that the Visual 50 can handle
4317 # <dl1> and db(?) among other things, which the vt52 can't)
4318 # The termcap works OK for the most part. The only problem is on
4319 # character inserts. The whole line gets painfully redrawn for each
4320 # character typed. Any suggestions?
4321 # Beau's entry is combined with the vi50 entry from University of Wisconsin.
4322 # Note especially the <il1> function.  <kf4>-<kf6> are really l4-l6 in
4323 # disguise; <kf7>-<kf9> are really l1-l3.
4324 vi50|visual 50, 
4325         am, da, db, msgr, 
4326         cols#80, it#8, lines#24, 
4327         bel=^G, cbt=\Ez$<4/>, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, 
4328         cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
4329         dl1=\EM$<3*/>, ed=\EJ, el=\EK$<16/>, home=\EH, ht=^I, 
4330         il1=\EL, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
4331         kcuu1=\EA, kf1=\EP, kf2=\EQ, kf3=\ER, kf4=\EV, kf5=\EE, 
4332         kf6=\E], kf7=\EL, kf8=\Ev, kf9=\EM, khome=\EH, nel=^M^J, 
4333         ri=\EI, rmso=\ET, rmul=\EW, smso=\EU, smul=\ES, 
4334 # this one was BSD & SCO's vi50
4335 vi50adm|visual 50 in adm3a mode, 
4336         am, msgr, 
4337         cols#80, it#8, lines#24, 
4338         bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
4339         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dl1=\EM, 
4340         ed=\Ek, el=\EK, home=\EH, ht=^I, il1=\EL, ind=^J, kbs=^H, 
4341         kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\EH, 
4342         rmso=\ET, smso=\EU, 
4343 # From: Jeff Siegal <jbs@athena.mit.edu>
4344 vi55|Visual 55, 
4345         am, mir, msgr, 
4346         cols#80, it#8, lines#24, 
4347         clear=\Ev, csr=\E_%p1%'A'%+%c%p2%'A'%+%c, cub1=^H, 
4348         cud1=^J, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
4349         cuu1=\EA, dch1=\Ew, dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, 
4350         il1=\EL, is2=\Ev\E_AX\Eb\EW\E9P\ET, kbs=^H, kcub1=\ED, 
4351         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, ri=\EI, rmir=\Eb, rmso=\ET, 
4352         smir=\Ea, smso=\EU, 
4353
4354 # Visual 200 from BRL
4355 # The following switch settings are assumed for normal operation:
4356 #       FULL_DUPLEX             SCROLL                  CR
4357 #       AUTO_NEW_LINE_ON        VISUAL_200_EMULATION_MODE
4358 # Other switches may be set for operator convenience or communication
4359 # requirements.
4360 # Character insertion is kludged in order to get around the "beep" misfeature.
4361 # (This cap is commented out because <smir>/<rmir> is more efficient -- esr)
4362 # Supposedly "4*" delays should be used for <il1>, <ed>, <clear>, <dch1>,
4363 # and <dl1> strings, but we seem to get along fine without them.
4364 vi200|visual 200, 
4365         am, mir, msgr, 
4366         cols#80, it#8, lines#24, 
4367         acsc=, bel=^G, cbt=\Ez, clear=\Ev, cnorm=\Ec, cr=^M, cub1=^H, 
4368         cud1=^J, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
4369         cuu1=\EA, cvvis=\Ed, dch1=\EO, dim=\E4, dl1=\EM, ed=\Ey, 
4370         el=\Ex, home=\EH, ht=^I, hts=\E1, il1=\EL, ind=^J, invis=\Ea, 
4371         kbs=^H, kclr=\Ev, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
4372         kcuu1=\EA, kdch1=\EO, kdl1=\EM, ked=\EJ, kel=\Et, kf0=\E?p, 
4373         kf1=\E?q, kf2=\E?r, kf3=\E?s, kf4=\E?t, kf5=\E?u, kf6=\E?v, 
4374         kf7=\E?w, kf8=\E?x, kf9=\E?y, khome=\EH, khts=\E1, kich1=\Ei, 
4375         kil1=\EL, krmir=\Ej, mc0=\EH\E], mc4=\EX, mc5=\EW, ri=\EI, 
4376         rmacs=\EG, rmkx=\E>, rmso=\E3, 
4377         rs1=\E3\Eb\Ej\E\\\El\EG\Ec\Ek\EX, sgr0=\E3\Eb, 
4378         smacs=\EF, smkx=\E=, smso=\E4, tbc=\Eg, 
4379 # The older Visuals didn't come with function keys. This entry uses
4380 # <smkx> and <rmkx> so that the keypad keys can be used as function keys.
4381 # If your version of vi doesn't support function keys you may want
4382 # to use vi200-f.
4383 vi200-f|visual 200 no function keys, 
4384         is2=\E3\Eb\Ej\E\\\El\EG\Ed\Ek, kf0=\E?p, kf1=\E?q, 
4385         kf2=\E?r, kf3=\E?s, kf4=\E?t, kf5=\E?u, kf6=\E?v, kf7=\E?w, 
4386         kf8=\E?x, kf9=\E?y, rmkx=\E>, rmso@, smkx=\E=, smso@, 
4387         use=vi200, 
4388 vi200-rv|visual 200 reverse video, 
4389         cnorm@, cvvis@, ri@, rmso=\E3, smso=\E4, use=vi200, 
4390
4391 # the function keys are programmable but we don't reprogram them to their
4392 # default values with <is2> because programming them is very verbose. maybe
4393 # an initialization file should be made for the 300 and they could be stuck
4394 # in it.
4395 # (vi300: added <rmam>/<smam> based on init string -- esr)
4396 vi300|visual 300 ansi x3.64, 
4397         am, bw, mir, xenl, 
4398         cols#80, lines#24, 
4399         bel=^G, cbt=\E[Z, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[B, 
4400         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
4401         dch1=\E[P$<40>, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
4402         il1=\E[L, ind=^J, 
4403         is2=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[1Q\E[0;1(D\E[8s, 
4404         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
4405         kf1=\E_A\E\\, kf2=\E_B\E\\, kf3=\E_C\E\\, kf4=\E_D\E\\, 
4406         kf5=\E_E\E\\, kf6=\E_F\E\\, kf7=\E_G\E\\, kf8=\E_H\E\\, 
4407         kf9=\E_I\E\\, khome=\E[H, ri=\EM, rmam=\E[?7l, rmir=\E[4l, 
4408         rmso=\E[m, rmul=\E[m, sgr0=\E[m, smam=\E[?7h, smir=\E[4h, 
4409         smso=\E[1m, smul=\E[4m, 
4410 # some of the vi300s have older firmware that has the command
4411 # sequence for setting editing extent reversed.
4412 vi300-old|visual 300 with old firmware (set edit extent reversed), 
4413         is2=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[2Q\E[0;1(D\E[8s, 
4414         use=vi300, 
4415
4416 # Visual 500 prototype entry from University of Wisconsin.
4417 # The best place to look for the escape sequences is page A1-1 of the
4418 # Visual 500 manual.  The initialization sequence given here may be
4419 # overkill, but it does leave out some of the initializations which can
4420 # be done with the menus in set-up mode.
4421 # The :xp: line below is so that emacs can understand the padding requirements
4422 # of this slow terminal.  :xp: is 10 time the padding factor.
4423 # (vi500: removed unknown :xp#4: termcap;
4424 # also added empty <acsc> to suppress tic warning -- esr)
4425 vi500|visual 500, 
4426         am, mir, msgr, 
4427         cols#80, it#8, lines#33, 
4428         acsc=, cbt=\Ez$<4/>, clear=\Ev$<6*/>, cr=^M, 
4429         csr=\E(%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=\EB, 
4430         cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
4431         dch1=\EO$<3*/>, dl1=\EM$<3*/>, ed=\Ey$<3*/>, 
4432         el=\Ex$<16/>, home=\EH, ht=\011$<8/>, il1=\EL\Ex$<3*/>, 
4433         ind=^J, 
4434         is2=\E3\E\001\E\007\E\003\Ek\EG\Ed\EX\El\E>\Eb\E\\, 
4435         kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
4436         khome=\EH, nel=^M^J, rmacs=^O, rmir=\Ej, rmso=\E^G, 
4437         rmul=\E^C, smacs=^N, smir=\Ei, smso=\E^H, smul=\E^D, 
4438
4439 # The visual 550 is a visual 300 with tektronix graphics,
4440 # and with 33 lines. clear screen is modified here to
4441 # also clear the graphics.
4442 vi550|visual 550 ansi x3.64, 
4443         lines#33, 
4444         clear=\030\E[H\E[2J, use=vi300, 
4445
4446 vi603|visual603|visual 603, 
4447         hs, mir, 
4448         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, 
4449         csr=\E[%i%p1%d;%p2%dr, cuf1=\E[C, 
4450         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
4451         dsl=\EP2;1~\E\\, ed=\E[J, el=\E[K, fsl=\E\\, il1=\E[L, 
4452         ind=\ED, is1=\E>\E[?3l\E[?4l\E[?7h\E[?8h\E[1;24r, 
4453         rev=\E[7m, ri=\EM, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m, 
4454         sgr0=\E[m, smir=\E[4h, smso=\E[7m, smul=\E[4m, tsl=\EP2~, 
4455         use=vt100, 
4456
4457 #### Wyse (wy)
4458 #
4459 #       Wyse Technology
4460 #       3471 North First Street
4461 #       San Jose, CA 95134
4462 #       Vox: (408)-473-1200
4463 #       Fax: (408) 473-1222
4464 #       Web: http://www.wyse.com
4465 #
4466 # Wyse sales can be reached by phone at 1-800-GET-WYSE.  Tech support is at
4467 # (800)-800-WYSE (option 5 gets you a human).  There's a Web page at the
4468 # obvious address, http://www.wyse.com.
4469 #
4470 # Wyse bought out Link Technology, Inc. in 1990 and closed it down in 1995.
4471 # They now own the Qume and Amdek brands, too.  So these are the people to
4472 # talk with about all Link, Qume, and Amdek terminals.
4473 #
4474 # Wyse has a BBS containing termcap and terminfo stuff for their terminals
4475 # (though this may not last long -- I expect the Web will kill it off by
4476 # mid-1997 or so).  According to their tech support, at 800-800-9973, it's
4477 # at 408-922-4400 thru 4405.  The 4400 modem is flaky as of 5/96, so
4478 # call 4401 etc.  Come in at 9600 hard; don't use autospeed sense.
4479 #
4480 # All the following entries until (but not including) wy520 are direct from
4481 # Wyse technical support and represent their best knowledge as of January 1995.
4482 # I canceled the bel capacities in the vb entries.
4483 # I made two trivial syntax fixes in the wyse30 entry.
4484 # I made some entries relative to adm+sgr.
4485 #
4486 #
4487 # Note: The wyse75, wyse85, and wyse99 have been discontinued.
4488
4489 #          Although the Wyse 30 can support more than one attribute
4490 #       it requires magic cookies to do so.  Many applications do not
4491 #       function well with magic cookies.  The following terminfo uses
4492 #       the protect mode to support one attribute (dim) without cookies.
4493 #       If more than one attribute is needed then the wy30-mc terminfo
4494 #       should be used.
4495 #
4496 wy30|wyse30|Wyse 30, 
4497         am, bw, hs, mc5i, mir, msgr, xon, 
4498         cols#80, lh#1, lines#24, lw#8, ma#1, nlab#8, wsl#45, 
4499         acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, cbt=\EI, 
4500         civis=\E`0, clear=\E+$<80>, cnorm=\E`1, cr=^M, cub1=^H, 
4501         cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, 
4502         cuu1=^K, dch1=\EW$<10>, dim=\E`7\E), dl1=\ER$<1>, 
4503         dsl=\EF\r, ed=\EY$<80>, el=\ET, flash=\E`8$<100/>\E`9, 
4504         fsl=^M, home=^^, ht=\011$<1>, hts=\E1, il1=\EE$<2>, 
4505         ind=\n$<2>, ip=$<2>, is2=\E'\E(\E\^3\E`9\016\024, 
4506         kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L, 
4507         kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, kel=\ET, kent=\E7, 
4508         kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
4509         kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, khome=^^, kich1=\EQ, 
4510         kil1=\EE, knp=\EK, kpp=\EJ, krpl=\Er, ll=^^^K, mc0=\EP, mc4=^T, 
4511         mc5=^X, nel=^M^J, pfx=\Ez%p1%'?'%+%c%p2%s\177, 
4512         pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E`7\E), ri=\Ej$<3>, 
4513         rmacs=\EH^C, rmir=\Er, rmln=\EA11, rmso=\E(, 
4514         sgr=%?%p1%p5%p8%|%|%t\E`7\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;, 
4515         sgr0=\E(\EH\003, smacs=\EH^B, smir=\Eq, smln=\EA10, 
4516         smso=\E`7\E), tbc=\E0, tsl=\EF, 
4517 #
4518 #       This terminal description uses the non-hidden attribute mode
4519 #       (with magic cookie).
4520 #
4521 # (wy30-mc: added <smcup> to suppress tic warning --esr)
4522 wy30-mc|wyse30-mc|wyse 30 with magic cookies, 
4523         msgr@, 
4524         ma@, xmc#1, 
4525         blink=\EG2, dim=\EGp, prot=\EG0\E), rmacs=\EG0\EH\003, 
4526         rmcup=\EG0, 
4527         sgr=\EG%'0'%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;, 
4528         sgr0=\EG0\E(\EH\003, smacs=\EG0\EH\002, smcup=, 
4529         use=wy30, use=adm+sgr, 
4530 #       The mandatory pause used by <flash> does not work with
4531 #       older versions of terminfo.  If you see this effect then
4532 #       unset xon and delete the / from the delay.
4533 #       i.e. change $<100/> to $<100>
4534 wy30-vb|wyse30-vb|wyse 30 visible bell, 
4535         bel@, use=wy30, 
4536 #
4537 #          The Wyse 50 can support one attribute (e.g. Dim, Inverse,
4538 #       Normal) without magic cookies by using the protect mode.
4539 #       The following description uses this feature, but when more
4540 #       than one attribute is put on the screen at once, all attributes
4541 #       will be changed to be the same as the last attribute given.
4542 #          The Wyse 50 can support more attributes when used with magic
4543 #       cookies.  The wy50-mc terminal description uses magic cookies
4544 #       to correctly handle multiple attributes on a screen.
4545 #
4546 wy50|wyse50|Wyse 50, 
4547         am, bw, hs, mc5i, mir, msgr, xon, 
4548         cols#80, lh#1, lines#24, lw#8, ma#1, nlab#8, wsl#45, 
4549         acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, cbt=\EI, 
4550         civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M, cub1=^H, 
4551         cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, 
4552         cuu1=^K, dch1=\EW$<1>, dim=\E`7\E), dl1=\ER, dsl=\EF\r, 
4553         ed=\EY$<20>, el=\ET, flash=\E`8$<100/>\E`9, fsl=^M, 
4554         home=^^, ht=^I, hts=\E1, il1=\EE, ind=\n$<2>, ip=$<1>, 
4555         is1=\E`\:\E`9$<30>, is2=\016\024\E'\E(, kHOM=\E{, kbs=^H, 
4556         kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, 
4557         kdl1=\ER, ked=\EY, kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, 
4558         kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, 
4559         kf16=^AO\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
4560         kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
4561         kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, 
4562         ll=^^^K, mc0=\EP, mc4=^T, mc5=^X, nel=^M^J, 
4563         pfx=\Ez%p1%'?'%+%c%p2%s\177, 
4564         pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E`7\E), rev=\E`6\E), 
4565         ri=\Ej, rmacs=\EH^C, rmir=\Er, rmln=\EA11, rmso=\E(, 
4566         sgr=%?%p1%p3%|%t\E`6\E)\n%e%p5%p8%|%t\E`7\E)%e\E(%;\n%?%p9%t\EH\002%e\EH\003%;, 
4567         sgr0=\E(\EH\003, smacs=\EH^B, smir=\Eq, smln=\EA10, 
4568         smso=\E`6\E), tbc=\E0, tsl=\EF, 
4569 #
4570 #       This terminal description uses the non-hidden attribute mode
4571 #       (with magic cookie).
4572 #
4573 #       The mandatory pause used by flash does not work with some
4574 #       older versions of terminfo.  If you see this effect then
4575 #       unset <xon> and delete the / from the delay.
4576 #       i.e. change $<100/> to $<100>
4577 # (wy50-mc: added <smcup> to suppress tic warning --esr)
4578 wy50-mc|wyse50-mc|wyse 50 with magic cookies, 
4579         msgr@, 
4580         ma@, xmc#1, 
4581         blink=\EG2, dim=\EGp, prot=\EG0\E), rmacs=\EG0\EH\003, 
4582         rmcup=\EG0, 
4583         sgr=\EG%'0'%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;, 
4584         sgr0=\EG0\E(\EH\003, smacs=\EG0\EH\002, smcup=, 
4585         smso=\EGt, use=wy50, 
4586         use=adm+sgr, 
4587 wy50-vb|wyse50-vb|wyse 50 visible bell, 
4588         bel@, use=wy50, 
4589 wy50-w|wyse50-w|wyse 50 132-column, 
4590         cols#132, lw#7, nlab#16, wsl#97, 
4591         cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<2>, is1=\E`;\E`9$<30>, use=wy50, 
4592 wy50-wvb|wyse50-wvb|wyse 50 132-column visible bell, 
4593         bel@, 
4594         use=wy50-w, 
4595 #
4596 #       The Wyse 350 is a Wyse 50 with color.
4597 #       Unfortunately this means that it has magic cookies.
4598 #       The color attributes are designed to overlap the reverse, dim and
4599 #       underline attributes.  This is nice for monochrome applications
4600 #       because you can make underline stuff green (or any other color)
4601 #       but for true color applications it's not so hot because you cannot
4602 #       mix color with reverse, dim or underline.
4603 #           To further complicate things one of the attributes must be
4604 #       black (either the foreground or the background).  In reverse video
4605 #       the background changes color with black letters.  In normal video
4606 #       the foreground changes colors on a black background.  
4607 #           This terminfo uses some of the more advanced features of curses
4608 #       to display both color and blink.  In the final analysis I am not
4609 #       sure that the wy350 runs better with this terminfo than it does
4610 #       with the wy50 terminfo (with user adjusted colors).
4611 #
4612 #       The mandatory pause used by flash does not work with
4613 #       older versions of terminfo.  If you see this effect then
4614 #       unset xon and delete the / from the delay.
4615 #       i.e. change $<100/> to $<100>
4616 #
4617 # Bug: The <op> capability resets attributes.
4618 wy350|wyse350|Wyse 350, 
4619         am, bw, hs, mc5i, mir, xon, 
4620         colors#8, cols#80, lh#1, lines#24, lw#8, ncv#55, nlab#8, pairs#8, 
4621         wsl#45, xmc#1, 
4622         acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, blink=\EG2, 
4623         cbt=\EI, civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M, 
4624         cub1=^H, cud1=^J, cuf1=^L, 
4625         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<1>, 
4626         dim=\EGp, dl1=\ER, dsl=\EF\r, ed=\EY$<20>, el=\ET, 
4627         flash=\E`8$<100/>\E`9, fsl=^M, home=^^, ht=^I, hts=\E1, 
4628         il1=\EE, ind=\n$<2>, ip=$<1>, is1=\E`\:\E`9$<30>, 
4629         is2=\016\024\E'\E(, is3=\E%?, kHOM=\E{, kbs=^H, kcbt=\EI, 
4630         kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, 
4631         ked=\EY, kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, 
4632         kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, 
4633         kf16=^AO\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
4634         kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
4635         kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, 
4636         ll=^^^K, mc0=\EP, mc4=^T, mc5=^X, nel=^M^J, oc=\E%?, op=\EG0, 
4637         pfx=\Ez%p1%'?'%+%c%p2%s\177, 
4638         pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\EG0\E), ri=\Ej, 
4639         rmacs=\EG0\EH\003, rmir=\Er, rmln=\EA11, setb=, 
4640         setf=%?%p1%{0}%=%t%{76}\n%e%p1%{1}%=%t%{64}\n%e%p1%{2}%=%t%{8}\n%e%p1%{3}%=%t%{72}\n%e%p1%{4}%=%t%{4}\n%e%p1%{5}%=%t%{68}\n%e%p1%{6}%=%t%{12}\n%e%p1%{7}%=%t%{0}\n%;%PC\n\EG%gC%gA%+%'0'%+%c, 
4641         sgr=%{0}%?%p4%t%{2}%|%;\n%?%p7%t%{1}%|%;%PA\n\EG%?%gC%t%gC%e\n%{0}%?%p1%t%{4}%|%;\n%?%p2%t%{8}%|%;\n%?%p3%t%{4}%|%;\n%?%p5%t%{64}%|%;\n%;%gA%+%'0'%+%c\n%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;, 
4642         sgr0=\EG0\E(\EH\003%{0}%PA%{0}%PC, smacs=\EG0\EH\002, 
4643         smir=\Eq, smln=\EA10, tbc=\E0, tsl=\EF, 
4644         use=adm+sgr, 
4645 wy350-vb|wyse350-vb|wyse 350 visible bell, 
4646         bel@, use=wy350, 
4647 wy350-w|wyse350-w|wyse 350 132-column, 
4648         cols#132, lw#7, nlab#16, wsl#97, 
4649         cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<2>, is1=\E`;\E`9$<30>, use=wy350, 
4650 wy350-wvb|wyse350-wvb|wyse 350 132-column visible bell, 
4651         bel@, 
4652         use=wy350-w, 
4653 #
4654 #       This terminfo description is untested.
4655 #       The wyse100 emulates an adm31, so the adm31 entry should work.
4656 #
4657 wy100|wyse 100, 
4658         hs, mir, 
4659         cols#80, lines#24, xmc#1, 
4660         bel=^G, clear=\E;, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
4661         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
4662         dl1=\ER, dsl=\EA31, ed=\EY, el=\ET, fsl=^M, il1=\EE, ind=^J, 
4663         invis@, is2=\Eu\E0, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, 
4664         kcuu1=^K, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, 
4665         kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, khome=\E{, 
4666         rmir=\Er, smir=\Eq, tsl=\EF, 
4667         use=adm+sgr, 
4668 #
4669 #       The Wyse 120/150 has most of the features of the Wyse 60.
4670 #       This terminal does not need padding up to 9600 baud!
4671 #       <msgr> should be set but the clear screen fails when in
4672 #       alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
4673 #       then set <msgr>.
4674 #
4675 wy120|wyse120|wy150|wyse150|Wyse 120/150, 
4676         am, bw, hs, km, mc5i, mir, msgr, xon, 
4677         cols#80, it#8, lh#1, lines#24, lw#8, nlab#8, pb#9601, wsl#45, 
4678         acsc=+/\\\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~, 
4679         bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<50>, 
4680         cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
4681         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<7>, 
4682         dim=\EGp, dl1=\ER$<3>, dsl=\EF\r, ed=\EY$<50>, el=\ET$<4>, 
4683         flash=\E`8$<100/>\E`9, fsl=^M, home=^^, ht=\011$<1>, 
4684         hts=\E1, il1=\EE$<3>, ind=\n$<3>, ip=$<2>, is1=\EcB0\EcC1, 
4685         is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El, 
4686         is3=\EwJ\Ew1$<150>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H, 
4687         kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, 
4688         kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, 
4689         kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, 
4690         kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
4691         kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ, 
4692         kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=^^^K, 
4693         mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<3>, 
4694         pfloc=\EZ2%p1%'?'%+%c%p2%s\177, 
4695         pfx=\EZ1%p1%'?'%+%c%p2%s\177, 
4696         pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E), ri=\Ej$<2>, 
4697         rmacs=\EcD, rmam=\Ed., rmcup=\Ew1, rmir=\Er, rmln=\EA11, 
4698         rmxon=\Ec20, rs1=\E~!\E~4$<30>, rs2=\EeF\E`\:$<70>, 
4699         rs3=\EwG\Ee($<100>, 
4700         sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%'0'%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c, 
4701         sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/, 
4702         smcup=\Ew0, smir=\Eq, smln=\EA10, smso=\EGt, 
4703         smxon=\Ec21\ntbc=\E0, tsl=\EF, use=adm+sgr, 
4704 #
4705 wy120-w|wyse120-w|wy150-w|wyse150-w|wyse 120/150 132-column, 
4706         cols#132, lw#7, nlab#16, wsl#97, 
4707         cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<12>, ip=$<4>, 
4708         rs2=\E`;$<70>, use=wy120, 
4709 #
4710 wy120-25|wyse120-25|wy150-25|wyse150-25|wyse 120/150 80-column 25-lines, 
4711         lh@, lines#25, lw@, nlab@, 
4712         pln@, rs3=\EwG\Ee)$<100>, use=wy120, 
4713 #
4714 wy120-25-w|wyse120-25-w|wy150-25-w|wyse150-25-w|wyse 120/150 132-column 25-lines, 
4715         lh@, lines#25, lw@, nlab@, 
4716         pln@, rs3=\EwG\Ee)$<100>, use=wy120-w, 
4717 #
4718 wy120-vb|wyse120-vb|wy150-vb|wyse150-vb|Wyse 120/150 visible bell, 
4719         bel@, 
4720         use=wy120, 
4721 #
4722 wy120-w-vb|wy120-wvb|wyse120-wvb|wy150-w-vb|wyse150-w-vb|Wyse 120/150 132-column visible bell, 
4723         bel@, 
4724         use=wy120-w, 
4725 #
4726 #       The Wyse 60 is like the Wyse 50 but with more padding.
4727 #       The reset strings are slow and the pad times very depending
4728 #       on other parameters such as font loading.  I have tried
4729 #       to follow the following outline:
4730 #
4731 #               <rs1> -> set personality
4732 #               <rs2> -> set number of columns
4733 #               <rs3> -> set number of lines
4734 #               <is1> -> select the proper font
4735 #               <is2> -> do the initialization
4736 #               <is3> -> set up display memory (2 pages)
4737 #
4738 #       The Wyse 60's that have vt100 emulation are slower than the
4739 #       older Wyse 60's.  This change happened mid-1987.
4740 #       The capabilities effected are <dch1> <dl1> <il1> <ind> <ri>
4741 #
4742 #       The meta key is only half right.  This terminal will return the
4743 #       high order bit set when you hit CTRL-function_key
4744 #
4745 #       It may be useful to assign two function keys with the
4746 #       values  \E=(\s  look at old data in page 1
4747 #               \E=W,   look at bottom of page 1
4748 #       where \s is a space ( ).
4749 #
4750 #       Note:
4751 #          The Wyse 60 runs faster when the XON/XOFF
4752 #          handshake is turned off.
4753 #
4754 # (wy60: we use \E{ rather than ^^ for home (both are documented) to avoid
4755 # a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
4756 wy60|wyse60|Wyse 60, 
4757         am, bw, hs, km, mc5i, mir, msgr, 
4758         cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#45, 
4759         acsc=+/\\\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~, 
4760         bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<100>, 
4761         cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
4762         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
4763         dch1=\EW$<11>, dclk=\E`b, dim=\EGp, dl1=\ER$<5>, dsl=\EF\r, 
4764         ed=\EY$<100>, el=\ET, flash=\E`8$<100/>\E`9, fsl=^M, 
4765         home=\E{, ht=\011$<1>, hts=\E1, il1=\EE$<4>, ind=\n$<5>, 
4766         ip=$<3>, is1=\EcB0\EcC1, 
4767         is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El, 
4768         is3=\EwJ\Ew1$<150>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H, 
4769         kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, 
4770         kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, 
4771         kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, 
4772         kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
4773         kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ, 
4774         kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=\E{^K, 
4775         mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<3>, 
4776         pfloc=\EZ2%p1%'?'%+%c%p2%s\177, 
4777         pfx=\EZ1%p1%'?'%+%c%p2%s\177, 
4778         pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E), ri=\Ej$<7>, 
4779         rmacs=\EcD, rmam=\Ed., rmclk=\E`c, rmcup=\Ew1, rmir=\Er, 
4780         rmln=\EA11, rmxon=\Ec20, rs1=\E~!\E~4$<150>, 
4781         rs2=\EeG$<150>, rs3=\EwG\Ee($<200>, 
4782         sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%'0'%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c, 
4783         sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/, 
4784         smcup=\Ew0, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21, 
4785         tbc=\E0, tsl=\EF, 
4786         use=adm+sgr, 
4787 #
4788 wy60-w|wyse60-w|wyse 60 132-column, 
4789         cols#132, lw#7, nlab#16, wsl#97, 
4790         cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<16>, ip=$<5>, 
4791         rs2=\EeF$<150>\E`;$<150>, use=wy60, 
4792 #
4793 wy60-25|wyse60-25|wyse 60 80-column 25-lines, 
4794         lh@, lines#25, lw@, nlab@, 
4795         pln@, rs3=\EwG\Ee)$<200>, use=wy60, 
4796 wy60-25-w|wyse60-25-w|wyse 60 132-column 25-lines, 
4797         lh@, lines#25, lw@, nlab@, 
4798         pln@, rs3=\EwG\Ee)$<200>, use=wy60-w, 
4799 #
4800 wy60-42|wyse60-42|wyse 60 80-column 42-lines, 
4801         lines#42, 
4802         clear=\E+$<260>, cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<2>, 
4803         dch1=\EW$<16>, dl1=\ER$<11>, ed=\Ey$<260>, il1=\EE$<11>, 
4804         ind=\n$<9>, ip=$<5>, is1=\EcB2\EcC3, nel=\r\n$<6>, 
4805         ri=\Ej$<10>, rs3=\Ee*$<150>, 
4806         use=wy60, 
4807 wy60-42-w|wyse60-42-w|wyse 60 132-column 42-lines, 
4808         cols#132, lw#7, nlab#16, wsl#97, 
4809         clear=\E+$<260>, cup=\Ea%i%p1%dR%p2%dC$<2>, 
4810         dch1=\EW$<19>, ed=\Ey$<260>, home=\036$<2>, ip=$<6>, 
4811         nel=\r\n$<11>, rs2=\EeF$<150>\E`;$<150>, 
4812         use=wy60-42, 
4813 #
4814 wy60-43|wyse60-43|wyse 60 80-column 43-lines, 
4815         lh@, lines#43, lw@, nlab@, 
4816         pln@, rs3=\Ee+$<150>, use=wy60-42, 
4817 wy60-43-w|wyse60-43-w|wyse 60 132-column 43-lines, 
4818         lh@, lines#43, lw@, nlab@, 
4819         pln@, rs3=\Ee+$<150>, use=wy60-42-w, 
4820 #
4821 wy60-vb|wyse60-vb|Wyse 60 visible bell, 
4822         bel@, use=wy60, 
4823 wy60-w-vb|wy60-wvb|wyse60-wvb|Wyse 60 132-column visible bell, 
4824         bel@, 
4825         use=wy60-w, 
4826
4827 #       The Wyse-99GT looks at lot like the Wyse 60 except that it
4828 #       does not have the 42/43 line mode.  In the Wyse-60 the "lines"
4829 #       setup parameter controls the number of lines on the screen.
4830 #       For the Wyse 99GT the "lines" setup parameter controls the
4831 #       number of lines in a page.  The screen can display 25 lines max.
4832 #           The Wyse-99GT also has personalities for the VT220 and
4833 #       Tektronix 4014.  But this has no bearing on the native mode.
4834 #
4835 #       (msgr) should be set but the clear screen fails when in
4836 #       alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
4837 #       then set msgr, else use msgr@.
4838 #
4839 #       u0 -> enter Tektronix mode
4840 #       u1 -> exit Tektronix mode
4841 #
4842 wy99gt|wyse99gt|Wyse 99gt, 
4843         msgr@, 
4844         clear=\E+$<130>, dch1=\EW$<7>, dl1=\ER$<4>, ed=\Ey$<130>, 
4845         el=\Et$<5>, flash=\E`8$<100/>\E`9, ht=\011$<1>, 
4846         il1=\EE$<4>, ind=\n$<4>, ip=$<2>, is3=\Ew0$<20>, nel@, 
4847         ri=\Ej$<3>, rmcup=\Ew0, rs2=\E`\:$<150>, smcup=\Ew1, 
4848         u0=\E~>\E8, u1=\E[42h, 
4849         use=wy60, 
4850 #
4851 wy99gt-w|wyse99gt-w|wyse 99gt 132-column, 
4852         cols#132, lw#7, nlab#16, wsl#97, 
4853         clear=\E+$<160>, cup=\Ea%i%p1%dR%p2%dC$<2>, 
4854         dch1=\EW$<9>, ed=\Ey$<160>, ip=$<4>, rs2=\E`;$<150>, use=wy99gt, 
4855 #
4856 wy99gt-25|wyse99gt-25|wyse 99gt 80-column 25-lines, 
4857         lh@, lines#25, lw@, nlab@, 
4858         pln@, rs2=\E`\:$<150>, rs3=\EwG\Ee)$<200>, use=wy99gt, 
4859 #
4860 wy99gt-25-w|wyse99gt-25-w|wyse 99gt 132-column 25-lines, 
4861         lh@, lines#25, lw@, nlab@, 
4862         pln@, rs2=\E`;$<150>, use=wy99gt-w, 
4863 #
4864 wy99gt-vb|wyse99gt-vb|Wyse 99gt visible bell, 
4865         bel@, use=wy99gt, 
4866 #
4867 wy99gt-w-vb|wy99gt-wvb|wyse99gt-wvb|Wyse 99gt 132-column visible bell, 
4868         bel@, 
4869         use=wy99gt-w, 
4870 #
4871 #       The Wyse 160 is combination of the WY-60 and the WY-99gt.
4872 #       The reset strings are slow and the pad times very depending
4873 #       on other parameters such as font loading.  I have tried
4874 #       to follow the following outline:
4875 #
4876 #               <rs1> -> set personality
4877 #               <rs2> -> set number of columns
4878 #               <rs3> -> set number of lines
4879 #               <is1> -> select the proper font
4880 #               <is2> -> do the initialization
4881 #               <is3> -> set up display memory (2 pages)
4882 #
4883 #       The display memory may be used for either text or graphics.
4884 #       When "Display Memory = Shared" the terminal will have more pages
4885 #       but garbage may be left on the screen when you switch from
4886 #       graphics to text.  If "Display Memory = Unshared" then the
4887 #       text area will be only one page long.
4888 #
4889 # (wy160: we use \E{ rather than ^^ for home (both are documented) to avoid
4890 # a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
4891 wy160|wyse160|Wyse 160, 
4892         am, bw, hs, km, mc5i, mir, msgr, 
4893         cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#38, 
4894         acsc=+/\\\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~, 
4895         bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<30>, 
4896         cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
4897         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<5>, 
4898         dclk=\E`b, dim=\EGp, dl1=\ER$<1>, dsl=\EF\r, ed=\EY$<30>, 
4899         el=\ET$<5>, flash=\E`8$<100/>\E`9, fsl=^M, home=\E{, ht=^I, 
4900         hts=\E1, il1=\EE$<1>, ind=\n$<1>, ip=$<2>, is1=\EcB0\EcC1, 
4901         is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El, 
4902         is3=\Ew0$<100>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H, 
4903         kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, 
4904         kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, 
4905         kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, 
4906         kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
4907         kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ, 
4908         kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=\E{^K, 
4909         mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<1>, 
4910         pfloc=\EZ2%p1%'?'%+%c%p2%s\177, 
4911         pfx=\EZ1%p1%'?'%+%c%p2%s\177, 
4912         pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E), ri=\Ej$<1>, 
4913         rmacs=\EcD, rmam=\Ed., rmclk=\E`c, rmcup=\Ew0, rmir=\Er, 
4914         rmln=\EA11, rmxon=\Ec20, rs1=\E~!\E~4$<70>, 
4915         rs2=\E`\:$<100>, rs3=\EwG\Ee($<140>, 
4916         sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%'0'%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c, 
4917         sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/, 
4918         smcup=\Ew1, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21, 
4919         tbc=\E0, tsl=\EF, 
4920         use=adm+sgr, 
4921 #
4922 wy160-w|wyse160-w|wyse 160 132-column, 
4923         cols#132, lw#7, nlab#16, wsl#90, 
4924         cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<9>, 
4925         rs2=\EeF$<150>\E`;$<150>, use=wy160, 
4926 #
4927 wy160-25|wyse160-25|wyse 160 80-column 25-lines, 
4928         lh@, lines#25, lw@, nlab@, 
4929         pln@, rs3=\EwG\Ee)$<200>, use=wy160, 
4930 wy160-25-w|wyse160-25-w|wyse 160 132-column 25-lines, 
4931         lh@, lines#25, lw@, nlab@, 
4932         pln@, rs3=\EwG\Ee)$<200>, use=wy160-w, 
4933 #
4934 wy160-42|wyse160-42|wyse 160 80-column 42-lines, 
4935         lines#42, 
4936         clear=\E+$<50>, dl1=\ER$<2>, ed=\Ey$<50>, il1=\EE$<2>, 
4937         ind=\n$<2>, is1=\EcB2\EcC3, nel=\r\n$<2>, ri=\Ej$<2>, 
4938         rs3=\Ee*$<150>, 
4939         use=wy160, 
4940 wy160-42-w|wyse160-42-w|wyse 160 132-column 42-lines, 
4941         cols#132, lw#7, nlab#16, wsl#90, 
4942         cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<8>, ip=$<3>, 
4943         rs2=\EeF$<150>\E`;$<150>, 
4944         use=wy160-42, 
4945 #
4946 wy160-43|wyse160-43|wyse 160 80-column 43-lines, 
4947         lh@, lines#43, lw@, nlab@, 
4948         pln@, rs3=\Ee+$<150>, use=wy160-42, 
4949 wy160-43-w|wyse160-43-w|wyse 160 132-column 43-lines, 
4950         lh@, lines#43, lw@, nlab@, 
4951         pln@, rs3=\Ee+$<150>, use=wy160-42-w, 
4952 #
4953 wy160-vb|wyse160-vb|Wyse 160 visible bell, 
4954         bel@, use=wy160, 
4955 wy160-w-vb|wy160-wvb|wyse160-wvb|Wyse 160 132-column visible bell, 
4956         bel@, 
4957         use=wy160-w, 
4958 #
4959 #       The Wyse 75 is a vt100 lookalike without advanced video.
4960 #
4961 #          The Wyse 75 can support one attribute (e.g. Dim, Inverse,
4962 #       Underline) without magic cookies.  The following description
4963 #       uses this capability, but when more than one attribute is
4964 #       put on the screen at once, all attributes will be changed
4965 #       to be the same as the last attribute given.
4966 #          The Wyse 75 can support more attributes when used with magic
4967 #       cookies.  The wy75-mc terminal description uses magic cookies
4968 #       to correctly handle multiple attributes on a screen.
4969 #
4970 wy75|wyse75|wyse 75, 
4971         am, hs, mc5i, mir, msgr, xenl, xon, 
4972         cols#80, lines#24, ma#1, pb#1201, wsl#78, 
4973         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
4974         bel=^G, cbt=\E[Z, civis=\E[?25l, clear=\E[H\E[J$<30>, 
4975         cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr$<2>, 
4976         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
4977         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
4978         cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP$<3*>, 
4979         dch1=\E[P$<3>, dim=\E[0t\E[2m, dl=\E[%p1%dM$<1*>, 
4980         dl1=\E[M, dsl=\E[>\\\,\001\001\E[>-\001\001, 
4981         ech=\E[%p1%dX, ed=\E[J$<30>, el=\E[K$<3>, el1=\E[1K$<3>, 
4982         enacs=\E)0, flash=\E[30h\E\\\,\E[30l$<250>, fsl=^A, 
4983         home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, 
4984         ich=\E[%p1%d@$<1*>, il=\E[%p1%dL$<2*>, il1=\E[L$<2>, 
4985         ind=\n$<2>, ip=$<1>, 
4986         is1=\E[2;4;20;30l\E[?1;10l\E[12h\E[?7;8;25h, 
4987         is2=\E>\E(B\E)0\017, is3=\E[m, ka1=\EOw, ka3=\EOy, 
4988         kb2=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\E[D, kcud1=\E[B, 
4989         kcuf1=\E[C, kcuu1=\E[A, kdl1=\E[M, kel=\E[K, kent=\EOM, 
4990         kf1=\E[?5i, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, 
4991         kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, 
4992         kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\E[?3i, 
4993         kf20=\E[34~, kf21=\E[35~, kf3=\E[2i, kf4=\E[@, kf5=\E[M, 
4994         kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, 
4995         khlp=\E[28~, khome=\E[H, kich1=\E[@, kil1=\E[L, knp=\E[6~, 
4996         kpp=\E[5~, kprt=\E[?5i, kslt=\E[4~, mc0=\E[0i, mc4=\E[4i, 
4997         mc5=\E[5i, rc=\E8, rev=\E[1t\E[7m, ri=\EM$<2>, rmacs=^O, 
4998         rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, rmso=\E[m, rmul=\E[m, 
4999         rs1=\E[13l\E[3l\E!p, rs2=\E[35h\E[?3l$<80>, rs3=\E[?5l, 
5000         sc=\E7, 
5001         sgr=%?%p5%t\E[0t%;%?%p3%p1%|%t\E[1t%;%?%p2%t\E[2t%;%?%p4%t\E[3t%;%?%p1%p2%p3%p4%p5%|%|%|%|%t\E[7m%e\E[m%;%?%p9%t\016%e\017%;, 
5002         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
5003         smkx=\E[?1l\E[?7h\E=, smso=\E[1t\E[7m, smul=\E[2t\E[4m, 
5004         tbc=\E[3g, tsl=\E[>\\\,\001, 
5005 #
5006 #       This terminal description uses the non-hidden attribute mode
5007 #       (with magic cookie).
5008 #
5009 wy75-mc|wyse75-mc|wyse 75 with magic cookies, 
5010         msgr@, 
5011         ma@, xmc#1, 
5012         blink=\E[2p, dim=\E[1p, invis=\E[4p, is3=\E[m\E[p, 
5013         rev=\E[16p, rmacs=\E[0p\017, rmso=\E[0p, rmul=\E[0p, 
5014         sgr=\E[%{0}%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{16}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{1}%|%;%?%p7%t%{4}%|%;%dp%?%p9%t\016%e\017%;, 
5015         sgr0=\E[0p\017, smacs=\E[0p\016, smso=\E[17p, smul=\E[8p, 
5016         use=wy75, 
5017 wy75-vb|wyse75-vb|wyse 75 with visible bell, 
5018         pb@, 
5019         bel@, use=wy75, 
5020 wy75-w|wyse75-w|wyse 75 in 132 column mode, 
5021         cols#132, wsl#130, 
5022         rs2=\E[35h\E[?3h$<80>, use=wy75, 
5023 wy75-wvb|wyse75-wvb|wyse 75 with visible bell 132 columns, 
5024         pb@, 
5025         bel@, use=wy75-w, 
5026 #
5027 #       Wyse 85 emulating a vt220 7 bit mode.
5028 #               24 line screen with status line.
5029 #
5030 #       The vt220 mode permits more function keys but it wipes out
5031 #       the escape key.  I strongly recommend that <f11> be set to
5032 #       escape (esc).
5033 #       The terminal may have to be set for 8 data bits and 2 stop
5034 #       bits for the arrow keys to work.
5035 #       The Wyse 85 runs faster with XON/XOFF enabled.  Also the
5036 #       <dch> and <ich> work best when XON/XOFF is set.  <ich> and
5037 #       <dch> leave trash on the screen when used without XON/XOFF.
5038 #
5039 wy85|wyse85|wyse 85, 
5040         am, hs, mc5i, mir, msgr, xenl, xon, 
5041         cols#80, it#8, lines#24, wsl#80, 
5042         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
5043         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
5044         clear=\E[H\E[J$<110>, cnorm=\E[?25h, cr=^M, 
5045         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
5046         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
5047         cup=\E[%i%p1%d;%p2%dH$<1>, cuu=\E[%p1%dA, cuu1=\E[A, 
5048         dch=\E[%p1%dP$<3*>, dch1=\E[P$<3>, dim=\E[2m, 
5049         dl=\E[%p1%dM$<3*>, dl1=\E[M$<3>, dsl=\E[40l, 
5050         ech=\E[%p1%dX, ed=\E[J$<110>, el=\E[K$<1>, el1=\E[1K, 
5051         enacs=\E)0, flash=\E[30h\E\\\,\E[30l$<300>, 
5052         fsl=\E[1;24r\E8, home=\E[H, ht=\011$<1>, hts=\EH, 
5053         ich=\E[%p1%d@$<4*>, il=\E[%p1%dL$<5*>, il1=\E[L$<5>, 
5054         ind=\n$<3>, invis=\E[8m, ip=$<3>, is1=\E[62;1"p\E[?5W, 
5055         is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h$<16>, 
5056         is3=\E>\E(B\E)0\017\E[m, ka1=\EOw, ka3=\EOy, kb2=\EOu, 
5057         kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\E[D, kcud1=\E[B, 
5058         kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kent=\EOM, kf1=\EOP, 
5059         kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, 
5060         kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, 
5061         kf18=\E[32~, kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf3=\EOR, 
5062         kf4=\EOS, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
5063         kfnd=\E[1~, khlp=\E[28~, khome=\E[26~, kich1=\E[2~, 
5064         knp=\E[6~, kpp=\E[5~, kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, 
5065         lf4=PF4, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, 
5066         ri=\EM$<3>, rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, 
5067         rmso=\E[m, rmul=\E[m, rs1=\E[13l\E[3l\E!p, 
5068         rs2=\E[35h\E[?3l$<70>, rs3=\E[?5l, sc=\E7, 
5069         sgr=\E[0%?%p2%t;4%;%?%p3%p1%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
5070         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
5071         smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
5072         tsl=\E[40h\E7\E[25;%i%p1%dH, 
5073 #
5074 #       Wyse 85 with visual bell.
5075 wy85-vb|wyse85-vb|wyse 85 with visible bell, 
5076         bel@, flash=\E[30h\E\\\,\E[30l$<300>, use=wy85, 
5077 #
5078 #       Wyse 85 in 132-column mode.
5079 wy85-w|wyse85-w|wyse 85 in 132-column mode, 
5080         cols#132, wsl#132, 
5081         rs2=\E[35h\E[?3h$<70>, use=wy85, 
5082 #
5083 #       Wyse 85 in 132-column mode with visual bell.
5084 wy85-wvb|wyse85-wvb|wyse 85 with visible bell 132-columns, 
5085         bel@, 
5086         use=wy85-w, 
5087 #
5088 #       Wyse 185 emulating a vt320 7 bit mode.
5089 #
5090 #       This terminal always displays 25 lines.  These lines may be used
5091 #       as 24 data lines and a terminal status line (top or bottom) or
5092 #       25 data lines.  The 48 and 50 line modes change the page size
5093 #       and not the number of lines on the screen.
5094 #
5095 #       The Compose Character key can be used as a meta key if changed
5096 #       by set-up.
5097 #
5098 wy185|wyse185|wyse 185, 
5099         am, hs, km, mc5i, mir, msgr, xenl, xon, 
5100         cols#80, it#8, lines#24, wsl#80, 
5101         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
5102         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
5103         clear=\E[H\E[J$<40>, cnorm=\E[34h\E[?25h, cr=^M, 
5104         csr=\E[%i%p1%d;%p2%dr$<20>, cub=\E[%p1%dD, cub1=^H, 
5105         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
5106         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
5107         cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<3>, dch1=\E[P$<3>, 
5108         dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>, 
5109         dsl=\E7\E[99;0H\E[K\E8, ech=\E[%p1%dX, ed=\E[J$<40>, 
5110         el=\E[K, el1=\E[1K, enacs=\E)0, 
5111         flash=\E[30h\E\\\,\E[30l$<100>, fsl=\E[1;24r\E8, 
5112         home=\E[H, hpa=\E[%i%p1%d`, ht=^I, hts=\EH, 
5113         ich=\E[%p1%d@$<2>, il=\E[%p1%dL$<3*>, il1=\E[L$<3>, 
5114         ind=\n$<2>, invis=\E[8m, ip=$<4>, is1=\E[?5W, 
5115         is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h, 
5116         is3=\E>\E(B\E)0\017\E[m, ka1=\EOw, ka3=\EOy, kb2=\EOu, 
5117         kbs=^H, kc1=\EOq, kc3=\EOs, kcbt=\E[Z, kcub1=\E[D, 
5118         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kent=\EOM, 
5119         kf1=\EOP, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, 
5120         kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, 
5121         kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\EOQ, 
5122         kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, kf7=\E[18~, 
5123         kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~, 
5124         khome=\E[26~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
5125         kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, mc0=\E[0i, 
5126         mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, ri=\EM$<2>, 
5127         rmacs=^O, rmam=\E[?7l, rmcup=\E[ R, rmir=\E[4l, rmkx=\E>, 
5128         rmso=\E[27m, rmul=\E[24m, 
5129         rs1=\E[13l\E[3l\E\\\E[63;1"p\E[!p, rs2=\E[35h\E[?3l, 
5130         rs3=\E[?5l\E[47h\E[40l\E[r, sc=\E7, 
5131         sgr=\E[0%?%p2%t;4%;%?%p3%p1%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
5132         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E[ Q, 
5133         smir=\E[4h, smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m, 
5134         tbc=\E[3g, tsl=\E7\E[99;%i%p1%dH, vpa=\E[%i%p1%dd, 
5135 #
5136 #       Wyse 185 with 24 data lines and top status (terminal status)
5137 wy185-24|wyse185-24|wyse 185 with 24 data lines, 
5138         hs@, 
5139         dsl@, fsl@, rs3=\E[?5l\E[47h\E[40l\E[1;24r, tsl@, use=wy185, 
5140 #
5141 #       Wyse 185 with visual bell.
5142 wy185-vb|wyse185-vb|wyse 185+flash, 
5143         bel@, use=wy185, 
5144 #
5145 #       Wyse 185 in 132-column mode.
5146 wy185-w|wyse185-w|wyse 185 in 132-column mode, 
5147         cols#132, wsl#132, 
5148         dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>, 
5149         ip=$<7>, rs2=\E[35h\E[?3h, 
5150         use=wy185, 
5151 #
5152 #       Wyse 185 in 132-column mode with visual bell.
5153 wy185-wvb|wyse185-wvb|wyse 185+flash+132 cols, 
5154         bel@, use=wy185-w, 
5155
5156 # wy325 terminfo entries
5157 # Done by Joe H. Davis        3-9-92
5158
5159 # lines 25  columns 80
5160 #
5161 wy325|wyse325|Wyse epc, 
5162         am, bw, hs, mc5i, mir, 
5163         cols#80, lh#1, lines#24, lw#8, nlab#8, pb#9601, wsl#45, 
5164         acsc=+/\\\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~, 
5165         bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<50>, 
5166         cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
5167         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<7>, 
5168         dim=\EGp, dl1=\ER$<3>, dsl=\EF\r, ed=\EY$<50>, el=\ET$<4>, 
5169         flash=\E`8$<100/>\E`9, fsl=^M, home=^^, ht=^I, hts=\E1, 
5170         il1=\EE$<3>, ind=\n$<3>, ip=$<2>, is1=\EcB0\EcC1, 
5171         is2=\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El, 
5172         is3=\Ew0$<16>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H, 
5173         kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, 
5174         kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, 
5175         kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, 
5176         kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
5177         kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\Eq, 
5178         kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=^^^K, 
5179         mc0=\EP, mc4=^T, mc5=\Ed#, 
5180         pfloc=\EZ2%p1%'?'%+%c%p2%s\177, 
5181         pfx=\EZ1%p1%'?'%+%c%p2%s\177, 
5182         pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E), ri=\Ej$<2>, 
5183         rmacs=\EcD, rmam=\Ed., rmcup=\Ew0, rmir=\Er, rmln=\EA11, 
5184         rs1=\E~!\E~4$<30>, rs2=\EeF\E`\:$<70>, 
5185         rs3=\EwG\Ee($<100>, 
5186         sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%'0'%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c, 
5187         sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/, 
5188         smcup=\Ew1, smir=\Eq, smln=\EA10, smso=\EGt, tbc=\E0, 
5189         tsl=\EF, 
5190         use=adm+sgr, 
5191
5192 #
5193 # lines 24  columns 80  vb 
5194 #
5195 wy325-vb|wyse325-vb|wyse-325 with visual bell, 
5196         bel@, use=wy325, 
5197
5198 #
5199 # lines 24  columns 132
5200 #
5201 wy325-w|wyse325-w|wy325w-24|wyse-325 in wide mode, 
5202         cols#132, lw#7, nlab#16, wsl#97, 
5203         cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<12>, ip=$<4>, 
5204         rs2=\E`;$<70>, use=wy325, 
5205 #
5206 # lines 25  columns 80
5207 #
5208 wy325-25|wyse325-25|wy325-80|wyse-325|wyse-325 25 lines, 
5209         lh@, lines#25, lw@, nlab@, 
5210         pln@, rs3=\EwG\Ee)$<100>, use=wy325, 
5211 #
5212 # lines 25  columns 132
5213 #
5214 wy325-25w|wyse325-25w|wy325 132 columns, 
5215         lh@, lines#25, lw@, nlab@, 
5216         pln@, rs3=\EwG\Ee)$<100>, use=wy325-w, 
5217 #
5218 # lines 25  columns 132  vb 
5219 #
5220 wy325-w-vb|wy325-wvb|wyse325-wvb|wyse-325 wide mode reverse video, 
5221         bel@, 
5222         use=wy325-w, 
5223
5224 #
5225 # lines 42  columns 80
5226 #
5227 wy325-42|wyse325-42|wyse-325 42 lines, 
5228         lh@, lines#42, lw@, nlab@, 
5229         pln@, rs3=\EwG\Ee)$<100>, use=wy325, 
5230 #
5231 # lines 42  columns 132
5232 #
5233 wy325-42w|wyse325-42w|wyse-325 42 lines wide mode, 
5234         lh@, lines#42, lw@, nlab@, 
5235         pln@, rs3=\EwG\Ee)$<100>, use=wy325-w, 
5236 #
5237 # lines 42  columns 132  vb 
5238 #
5239 wy325-42w-vb|wy325-42wvb|wyse-325 42 lines wide mode visual bell, 
5240         bel@, 
5241         use=wy325-w, 
5242 #
5243 # lines 43  columns 80
5244 #
5245 wy325-43|wyse325-43|wyse-325 43 lines, 
5246         lh@, lines#43, lw@, nlab@, 
5247         pln@, use=wy325, 
5248 #
5249 # lines 43  columns 132
5250 #
5251 wy325-43w|wyse325-43w|wyse-325 43 lines wide mode, 
5252         lh@, lines#43, lw@, nlab@, 
5253         pln@, rs3=\EwG\Ee)$<100>, use=wy325-w, 
5254 #
5255 # lines 43  columns 132  vb 
5256 #
5257 wy325-43w-vb|wy325-43wvb|wyse-325 43 lines wide mode visual bell, 
5258         bel@, 
5259         use=wy325-w, 
5260
5261 #       Wyse 370 -- 24 line screen with status line.
5262 #
5263 #       The terminal may have to be set for 8 data bits and 2 stop
5264 #       bits for the arrow keys to work.
5265 #
5266 #       If you change keyboards the terminal will send different
5267 #       escape sequences.
5268 #       The following definition is for the basic terminal without
5269 #       function keys.
5270 #
5271 #       <u0> -> enter Tektronix 4010/4014 mode
5272 #       <u1> -> exit  Tektronix 4010/4014 mode
5273 #       <u2> -> enter ASCII mode (from any ANSI mode)
5274 #       <u3> -> exit  ASCII mode (goto native ANSI mode)
5275 #       <u4> -> enter Tek 4207 ANSI mode (from any ANSI mode)
5276 #       <u5> -> exit  Tek 4207 mode (goto native ANSI mode)
5277 #
5278 # Bug: The <op> capability resets attributes.
5279 wy370-nk|wyse 370 without function keys, 
5280         am, ccc, hs, mc5i, mir, msgr, xenl, xon, 
5281         colors#64, cols#80, it#8, lines#24, ncv#48, pairs#64, wsl#80, 
5282         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
5283         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
5284         clear=\E[H\E[J$<40>, cnorm=\E[34h\E[?25h, cr=^M, 
5285         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
5286         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
5287         cup=\E[%i%p1%d;%p2%dH$<1>, cuu=\E[%p1%dA, cuu1=\E[A, 
5288         cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<1*>, dch1=\E[P$<1>, 
5289         dclk=\E[31h, dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>, 
5290         dsl=\E[40l, ech=\E[%p1%dX$<.1*>, ed=\E[J$<40>, 
5291         el=\E[K$<10>, el1=\E[1K$<12>, enacs=\E)0, 
5292         flash=\E[30h\E\\\,\E[30l$<300>, fsl=\E[1;24r\E8, 
5293         home=\E[H, hpa=\E[%i%p1%d`, ht=\011$<1>, hts=\EH, 
5294         ich=\E[%p1%d@$<1*>, il=\E[%p1%dL$<2*>, il1=\E[L$<2>, 
5295         ind=\n$<2>, 
5296         initc=\E[66;%p1%d;\n%?%p2%{250}%<%t%{0}\n%e%p2%{500}%<%t%{16}\n%e%p2%{750}%<%t%{32}%e%{48}%;\n%?%p3%{250}%<%t%{0}\n%e%p3%{500}%<%t%{4}\n%e%p3%{750}%<%t%{8}%e%{12}%;\n%?%p4%{250}%<%t%{0}\n%e%p4%{500}%<%t%{1}\n%e%p4%{750}%<%t%{2}%e%{3}%;%{1}%+%+%+%dw, 
5297         invis=\E[8m, ip=$<1>, is1=\E[90;1"p\E[?5W$<6>, 
5298         is2=\E[2;4;20;30;40l\E[?1;10;16l\E[12h\E[?7;8;25h, 
5299         is3=\E>\017\E)0\E(B\E[63;0w\E[m, mc0=\E[0i, mc4=\E[4i, 
5300         mc5=\E[5i, 
5301         oc=\E[60w\E[63;0w\n\E[66;1;4w\n\E[66;2;13w\n\E[66;3;16w\n\E[66;4;49w\n\E[66;5;51w\n\E[66;6;61w\n\E[66;7;64w, 
5302         op=\E[m, rc=\E8, rev=\E[7m, ri=\EM$<2>, rmacs=^O, 
5303         rmam=\E[?7l, rmclk=\E[31l, rmcup=\E[ R, rmir=\E[4l, 
5304         rmkx=\E>, rmso=\E[27m, rmul=\E[24m, 
5305         rs1=\E[13l\E[3l\E!p\E[?4i, rs2=\E[35h\E[?3l$<8>, 
5306         rs3=\E[?5l, sc=\E7, setb=\E[62;%p1%dw, setf=\E[61;%p1%dw, 
5307         sgr=\E[0%?%p2%t;4%;%?%p3%p1%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
5308         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E[ Q, 
5309         smir=\E[4h, smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m, 
5310         tbc=\E[3g, tsl=\E[40l\E[40h\E7\E[99;%i%p1%dH, 
5311         u0=\E[?38h\E8, u1=\E[?38l\E)0, u2=\E[92;52"p, u3=\E~B, 
5312         u4=\E[92;76"p, u5=\E%!1\E[90;1"p, vpa=\E[%i%p1%dd, 
5313 #
5314 #       Function key set for the ASCII (wy-50 compatible) keyboard
5315 #       This is the default 370.
5316 #
5317 wy370|wyse370|wy370-101k|Wyse 370 with 101 key keyboard, 
5318         kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
5319         kcuu1=\E[A, kdch1=\EOQ, kdl1=\EOQ, kent=\EOM, kf1=\E[?4i, 
5320         kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, 
5321         kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf2=\E[?3i, 
5322         kf3=\E[2i, kf4=\E[@, kf5=\E[M, kf6=\E[17~, kf7=\E[18~, 
5323         kf8=\E[19~, kf9=\E[20~, khome=\E[H, kich1=\EOP, kil1=\EOP, 
5324         knp=\E[U, kpp=\E[V, 
5325         use=wy370-nk, 
5326 #
5327 #       Function key set for the VT-320 (and wy85) compatible keyboard
5328 #
5329 wy370-105k|Wyse 370 with 105 key keyboard, 
5330         ka1=\EOw, ka3=\EOy, kb2=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs, 
5331         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
5332         kdch1=\E[3~, kent=\EOM, kf1=\EOP, kf10=\E[21~, kf11=\E[23~, 
5333         kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
5334         kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
5335         kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, 
5336         kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, 
5337         khlp=\E[28~, khome=\E[26~, kich1=\E[2~, knp=\E[6~, 
5338         kpp=\E[5~, kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, 
5339         use=wy370-nk, 
5340 #
5341 #       Function key set for the PC compatible keyboard
5342 #
5343 wy370-EPC|Wyse 370 with 102 key keyboard, 
5344         kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
5345         kcuu1=\E[A, kend=\E[1~, kent=\EOM, kf1=\EOP, kf10=\E[21~, 
5346         kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
5347         kf5=\E[M, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
5348         khome=\E[H, kich1=\E[2~, knp=\E[U, kpp=\E[V, 
5349         use=wy370-nk, 
5350 #
5351 #       Wyse 370 with visual bell.
5352 wy370-vb|Wyse 370 with visible bell, 
5353         bel@, use=wy370, 
5354 #
5355 #       Wyse 370 in 132-column mode.
5356 wy370-w|Wyse 370 in 132-column mode, 
5357         cols#132, wsl#132, 
5358         rs2=\E[35h\E[?3h$<70>, use=wy370, 
5359 #
5360 #       Wyse 370 in 132-column mode with visual bell.
5361 wy370-wvb|Wyse 370 with visible bell 132-columns, 
5362         flash=\E[30h\E\\\,\E[30l$<300>, 
5363         use=wy370-w, 
5364 wy370-rv|Wyse 370 reverse video, 
5365         rs3=\E[32h\E[?5h, use=wy370, 
5366 #
5367 #       Wyse 99gt Tektronix 4010/4014 emulator,
5368 #
5369 wy99gt-tek|Wyse 99gt Tektronix 4010/4014 emulator, 
5370         am, os, 
5371         cols#74, lines#35, 
5372         bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s, 
5373         cup=\035%{3040}%{89}%p1%*%-%Py\n%p2%{55}%*%Px\n%gy%{128}%/%{31}%&%{32}%+%c\n%gy%{3}%&%{4}%*%gx%{3}%&%+%{96}%+%c\n%gy%{004}%/%{31}%&%{96}%+%c\n%gx%{128}%/%{31}%&%{32}%+%c\n%gx%{004}%/%{31}%&%{64}%+%c\037, 
5374         cuu1=^K, ff=^L, 
5375         hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037, 
5376         home=^]7`x @\037, 
5377         hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037, 
5378         is2=\E8, nel=^M^J, u0=\E~>\E8, u1=\E[42h, 
5379 #
5380 #       Wyse 160 Tektronix 4010/4014 emulator,
5381 #
5382 wy160-tek|Wyse 160 Tektronix 4010/4014 emulator, 
5383         cup=\035%{3103}%{91}%p1%*%-%Py\n%p2%{55}%*%Px\n%gy%{128}%/%{31}%&%{32}%+%c\n%gy%{3}%&%{4}%*%gx%{3}%&%+%{96}%+%c\n%gy%{004}%/%{31}%&%{96}%+%c\n%gx%{128}%/%{31}%&%{32}%+%c\n%gx%{004}%/%{31}%&%{64}%+%c\037, 
5384         home=^]8`g @\037, 
5385         use=wy99gt-tek, 
5386 #
5387 #       Wyse 370 Tektronix 4010/4014 emulator,
5388 #
5389 wy370-tek|Wyse 370 Tektronix 4010/4014 emulator, 
5390         am, os, 
5391         cols#80, lines#36, 
5392         bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s, 
5393         cup=\035%{775}%{108}%p1%*%{5}%/%-%Py\n%p2%{64}%*%{4}%+%{5}%/%Px\n%gy%{32}%/%{31}%&%{32}%+%c\n%gy%{31}%&%{96}%+%c\n%gx%{32}%/%{31}%&%{32}%+%c\n%gx%{31}%&%{64}%+%c\037, 
5394         cuu1=^K, ff=^L, 
5395         hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037, 
5396         home=^]8g @\037, 
5397         hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037, 
5398         is2=\E8, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^I, kcuu1=^K, 
5399         nel=^M^J, u0=\E[?38h\E8, u1=\E[?38l\E)0, 
5400
5401 # Vendor-supplied Wyse entries end here.
5402
5403 #
5404 #TITLE:  TERMINFO ENTRY WY520
5405 #DATE:   8/5/93
5406 # The WY520 terminfo is based on the WY285 entry published on the WYSE 
5407 # BBS with the addition of more function keys and special keys.
5408 #
5409 #               rs1 -> set personality
5410 #               rs2 -> set number of columns
5411 #               rs3 -> set number of lines
5412 #               is1 -> select the proper font
5413 #               is2 -> do the initialization
5414 #               is3 -> If this string is empty then rs3 gets sent.
5415 #
5416 #       Wyse 520 emulating a vt420 7 bit mode with default ANSI keyboard
5417 #       - The BS key is programmed to generate BS in smcup since
5418 #         is2 doesn't seem to work.
5419 #       - Remove and shift/Remove: delete a character
5420 #       - Insert : enter insert mode
5421 #       - Find   : delete to end of file
5422 #       - Select : clear a line
5423 #       - F11, F12, F13: send default sequences (not ESC, BS, LF)
5424 #       - F14 : Home key
5425 #       - Bottom status line (host writable line) is used.
5426 #       - smkx,rmkx are removed because this would put the numeric
5427 #         keypad in Dec application mode which doesn't seem to work
5428 #         with SCO applications.
5429 #
5430 wy520|wyse520|wyse 520, 
5431         am, hs, km, mc5i, mir, xenl, xon, 
5432         cols#80, it#8, lines#24, wsl#80, 
5433         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
5434         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
5435         clear=\E[H\E[J$<40>, cnorm=\E[34h\E[?25h, cr=^M, 
5436         csr=\E[%i%p1%d;%p2%dr$<20>, cub=\E[%p1%dD, cub1=^H, 
5437         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
5438         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
5439         cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<3>, dch1=\E[P$<30>, 
5440         dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>, dsl=\E[0$~, 
5441         ech=\E[%p1%dX, ed=\E[J$<40>, el=\E[K, el1=\E[1K, 
5442         enacs=\E)0, fsl=\E[0$}, home=\E[H, hpa=\E[%i%p1%d`, ht=^I, 
5443         hts=\EH, ich=\E[%p1%d@$<2>, il=\E[%p1%dL$<3*>, 
5444         il1=\E[L$<3>, ind=\n$<2>, invis=\E[8m, ip=$<4>, is1=\E[?5W, 
5445         is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25;67h, 
5446         is3=\E>\E(B\E)0\017\E[m, ka1=\EOw, ka3=\EOu, kb2=\EOy, 
5447         kbs=^H, kc1=\EOq, kc3=\EOs, kcbt=\E[Z, kcub1=\E[D, 
5448         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, ked=\E[1~, 
5449         kel=\E[4~, kent=\EOM, kf1=\EOP, kf10=\E[21~, kf11=\E[23~, 
5450         kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
5451         kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
5452         kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, 
5453         kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, 
5454         khlp=\E[28~, khome=\E[26~, kich1=\E[2~, knp=\E[6~, 
5455         kpp=\E[5~, kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, 
5456         mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, 
5457         ri=\EM$<2>, rmacs=^O, rmam=\E[?7l, rmcup=\E[ R, rmir=\E[4l, 
5458         rmso=\E[m, rmul=\E[24m, 
5459         rs1=\E[13l\E[3l\E\\\E[63;1"p\E[!p, rs2=\E[35h\E[?3l, 
5460         rs3=\E[?5l\E[47h\E[40l\E[r, sc=\E7, 
5461         sgr=\E[0%?%p2%t;4%;%?%p3%p1%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
5462         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, 
5463         smcup=\E[ Q\E[?67;8h, smir=\E[4h, smso=\E[7m, smul=\E[4m, 
5464         tbc=\E[3g, tsl=\E[2$~\E[1$}\E[%i%p1%d`, 
5465         vpa=\E[%i%p1%dd, 
5466 #
5467 #       Wyse 520 with 24 data lines and status (terminal status)
5468 wy520-24|wyse520-24|wyse 520 with 24 data lines, 
5469         hs@, 
5470         dsl@, fsl@, rs3=\E[?5l\E[47h\E[40l\E[1;24r, tsl@, use=wy520, 
5471 #
5472 #       Wyse 520 with visual bell.
5473 wy520-vb|wyse520-vb|wyse 520 with visible bell, 
5474         flash=\E[30h\E\\\,\E[30l$<100>, use=wy520, 
5475 #
5476 #       Wyse 520 in 132-column mode.
5477 wy520-w|wyse520-w|wyse 520 in 132-column mode, 
5478         cols#132, wsl#132, 
5479         dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>, 
5480         ip=$<7>, rs2=\E[35h\E[?3h, 
5481         use=wy520, 
5482 #
5483 #       Wyse 520 in 132-column mode with visual bell.
5484 wy520-wvb|wyse520-wvb|wyse 520 with visible bell 132-columns, 
5485         flash=\E[30h\E\\\,\E[30l$<100>, 
5486         use=wy520-w, 
5487 #
5488 #
5489 #       Wyse 520 emulating a vt420 7 bit mode.
5490 #       The DEL key is programmed to generate BS in is2.
5491 #       With EPC keyboard.
5492 #       - 'End' key will clear till end of line on EPC keyboard
5493 #       - Shift/End : ignored.
5494 #       - Insert : enter insert mode.
5495 #       - Delete : delete a character (have to change interrupt character
5496 #                  to CTRL-C: stty intr '^c') for it to work since the
5497 #                  Delete key sends 7FH.
5498 wy520-epc|wyse520-epc|wyse 520 with EPC kb, 
5499         kdch1=\177, kel=\E[4~, kend=\E[4~, kf0=\E[21~, kf1=\E[11~, 
5500         kf2=\E[12~, kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, khome=\E[H, 
5501         use=wy520, 
5502 #
5503 #       Wyse 520 with 24 data lines and status (terminal status)
5504 #       with EPC keyboard.
5505 wy520-epc-24|wyse520-pc-24|wyse 520 with 24 data lines, 
5506         hs@, 
5507         dsl@, fsl@, rs3=\E[?5l\E[47h\E[40l\E[1;24r, tsl@, use=wy520-epc, 
5508 #
5509 #       Wyse 520 with visual bell.
5510 wy520-epc-vb|wyse520-pc-vb|wyse 520 with visible bell, 
5511         flash=\E[30h\E\\\,\E[30l$<100>, 
5512         use=wy520-epc, 
5513 #
5514 #       Wyse 520 in 132-column mode.
5515 wy520-epc-w|wyse520-epc-w|wyse 520 in 132-column mode, 
5516         cols#132, wsl#132, 
5517         dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>, 
5518         ip=$<7>, rs2=\E[35h\E[?3h, 
5519         use=wy520-epc, 
5520 #
5521 #       Wyse 520 in 132-column mode with visual bell.
5522 wy520-epc-wvb|wyse520-p-wvb|wyse 520 with visible bell 132-columns, 
5523         flash=\E[30h\E\\\,\E[30l$<100>, 
5524         use=wy520-epc-w, 
5525 #
5526 #       Wyse 520 in 80-column, 36 lines
5527 wy520-36|wyse520-36|wyse 520 with 36 data lines, 
5528         hs@, 
5529         lines#36, 
5530         dsl@, fsl@, rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r, tsl@, use=wy520, 
5531 #
5532 #       Wyse 520 in 80-column, 48 lines
5533 wy520-48|wyse520-48|wyse 520 with 48 data lines, 
5534         hs@, 
5535         lines#48, 
5536         dsl@, fsl@, rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r, tsl@, use=wy520, 
5537 #
5538 #       Wyse 520 in 132-column, 36 lines
5539 wy520-36w|wyse520-36w|wyse 520 with 36 data lines, 
5540         cols#132, wsl#132, 
5541         rs2=\E[?3h, 
5542         rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|, use=wy520-36, 
5543 #
5544 #       Wyse 520 in 132-column, 48 lines
5545 wy520-48w|wyse520-48w|wyse 520 with 48 data lines, 
5546         cols#132, wsl#132, 
5547         rs2=\E[?3h, 
5548         rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|, use=wy520-48, 
5549 #
5550 #
5551 #       Wyse 520 in 80-column, 36 lines with EPC keyboard
5552 wy520-36pc|wyse520-36pc|wyse 520 with 36 data lines, 
5553         hs@, 
5554         lines#36, 
5555         dsl@, fsl@, rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r, tsl@, use=wy520-epc, 
5556 #
5557 #       Wyse 520 in 80-column, 48 lines with EPC keyboard
5558 wy520-48pc|wyse520-48pc|wyse 520 with 48 data lines, 
5559         hs@, 
5560         lines#48, 
5561         dsl@, fsl@, rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r, tsl@, use=wy520-epc, 
5562 #
5563 #       Wyse 520 in 132-column, 36 lines with EPC keyboard
5564 wy520-36wpc|wyse520-36wpc|wyse 520 with 36 data lines, 
5565         cols#132, wsl#132, 
5566         rs2=\E[?3h, 
5567         rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|, use=wy520-36pc, 
5568 #
5569 #       Wyse 520 in 132-column, 48 lines with EPC keyboard
5570 wy520-48wpc|wyse520-48wpc|wyse 520 with 48 data lines, 
5571         cols#132, wsl#132, 
5572         rs2=\E[?3h, 
5573         rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|, use=wy520-48pc, 
5574
5575 # From: John Gilmore <hoptoad!gnu@lll-crg.arpa>
5576 # (wyse-vp: removed <if=/usr/share/tabset/wyse-adds>, there's no such
5577 # file and we don't know what <hts> is -- esr)
5578 wyse-vp|wyse|Wyse 50 in ADDS Viewpoint emulation mode with "enhance" on, 
5579         am, 
5580         cols#80, it#8, lines#24, 
5581         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F, 
5582         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dch1=\EW, 
5583         dl1=\El, ed=\Ek, el=\EK, home=^A, ht=^I, il1=\EM, ind=^J, 
5584         is2=\E`\:\E`9\017\Er, kbs=^H, kcub1=^U, kcud1=^J, kcuf1=^F, 
5585         kcuu1=^Z, khome=^A, ll=^A^Z, nel=^M^J, rmir=\Er, rmso=^O, 
5586         rmul=^O, rs1=\E`\:\E`9\017\Er, sgr0=^O, smir=\Eq, smso=^N, 
5587         smul=^N, 
5588
5589 wy75ap|wyse75ap|wy-75ap|wyse-75ap|Wyse WY-75 Applications and Cursor keypad, 
5590         is2=\E[1;24r\E[?10;3l\E[?1;25h\E[4l\E[m\E(B\E=, 
5591         kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
5592         khome=\EOH, rmkx=\E[?1l\E>$<10/>, smkx=\E[?1h\E=$<10/>, 
5593         use=wy75, 
5594
5595 # From: Eric Freudenthal <freudent@eric.ultra.nyu.edu>
5596 wy100q|Wyse 100 for Quotron, 
5597         cols#80, lines#24, xmc#1, 
5598         cbt=\EI, clear=^Z, cub1=^H, cud1=^J, cuf1=^L, 
5599         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
5600         dl1=\ER, ed=\EY, el=\ET, home=^^, il1=\EE, invis@, 
5601         is2=\E`\:\200\EC\EDF\E0\E'\E(\EA21, kcub1=^H, kcud1=^J, 
5602         kcuf1=^L, kcuu1=^K, ri=\Ej, rmir=\Er, smir=\Eq, 
5603         use=adm+sgr, 
5604
5605 #### Kermit terminal emulations
5606 #
5607 # Obsolete Kermit versions may be listed in the section describing obsolete
5608 # non-ANSI terminal emulators later in the file.
5609 #
5610
5611 # KERMIT standard all versions.
5612 # Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
5613 # (kermit: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
5614 # From: greg small <gts@populi.berkeley.edu> 9-25-84
5615 kermit|standard kermit, 
5616         cols#80, lines#24, 
5617         clear=\EE, cub1=^H, cuf1=\EC, 
5618         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
5619         el=\EK, home=\EH, is2=K0 Standard Kermit  9-25-84\n, 
5620         kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, 
5621 kermit-am|standard kermit plus auto-margin, 
5622         am, 
5623         is2=K1 Standard Kermit plus Automatic Margins\n, use=kermit, 
5624 # IBMPC Kermit 1.2.
5625 # Bugs: <ed>, <el>: do not work except at beginning of line!  <clear> does
5626 # not work, but fake with :cl=\EH\EJ (since :cd=\EJ: works at beginning of
5627 # line).
5628 # From: greg small <gts@populi.berkeley.edu> 8-30-84
5629 pckermit|pckermit12|UCB IBMPC Kermit 1.2, 
5630         am, 
5631         lines#25, 
5632         clear=\EH\EJ, ed@, el@, 
5633         is2=K2 UCB IBMPC Kermit 1.2  8-30-84\n, use=kermit, 
5634 # IBMPC Kermit 1.20
5635 # Cannot use line 25, now acts funny like ansi special scrolling region.
5636 # Initialization must escape from that region by cursor position to line 24.
5637 # Cannot use character insert because 1.20 goes crazy if insert at col 80.
5638 # Does not use :am: because autowrap is lost when kermit dropped and restarted.
5639 # From: greg small <gts@populi.berkeley.edu> 12-19-84
5640 pckermit120|UCB IBMPC Kermit 1.20, 
5641         it#8, lines#24, 
5642         cud1=\EB, cvvis=\EO\Eq\EEK3, dch1=\EN, dl1=\EM, ht=^I, 
5643         il1=\EL, 
5644         is2=\EO\Eq\EJ\EY7 K3 UCB IBMPC Kermit 1.20  12-19-84\n, 
5645         rmir@, rmso=\Eq, smir@, smso=\Ep, 
5646         use=kermit, 
5647 # MS-DOS Kermit 2.27 for the IBMPC
5648 # Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
5649 # Cannot use line 25, now acts funny like ansi special scrolling region.
5650 # Initialization must escape from that region by cursor position to line 24.
5651 # Does not use am: because autowrap is lost when kermit dropped and restarted.
5652 # Reverse video for standout like H19.
5653 # (msk227: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
5654 # From: greg small <gts@populi.berkeley.edu> 3-17-85
5655 msk227|mskermit227|MS-DOS Kermit 2.27 for the IBMPC, 
5656         am@, 
5657         cols#80, it#8, lines#24, 
5658         clear=\EE, cub1=^H, cud1=\EB, cuf1=\EC, 
5659         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
5660         cvvis=\EO\Eq\EG\EwK4, dch1=\EN, dl1=\EM, ed=\EJ, el=\EK, 
5661         home=\EH, ht=^I, il1=\EL, 
5662         is2=\EO\Eq\EG\Ew\EJ\EY7 K4 MS Kermit 2.27 for the IBMPC 3-17-85\n, 
5663         kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, rc=\Ek, 
5664         rmir=\EO, rmso=\Eq, sc=\Ej, smir=\E@, smso=\Ep, 
5665 # MS-DOS Kermit 2.27 with automatic margins
5666 # From: greg small <gts@populi.berkeley.edu> 3-17-85
5667 msk227am|mskermit227am|UCB MS-DOS Kermit 2.27 with automatic margins, 
5668         am, 
5669         cvvis=\EO\Eq\EG\EvK5, 
5670         is2=\EO\Eq\EG\Ev\EJ\EY7 K5 MS Kermit 2.27 +automatic margins 3-17-85\n, use=msk227, 
5671 # MS-DOS Kermit 2.27 UCB 227.14 for the IBM PC
5672 # Automatic margins now default.  Use ansi <sgr> for highlights.
5673 # Define function keys.
5674 # (msk22714: removed obsolete ":kn#10:" -- esr)
5675 # From: greg small <gts@populi.berkeley.edu> 3-17-85
5676 msk22714|mskermit22714|UCB MS-DOS Kermit 2.27 UCB 227.14 IBM PC, 
5677         am, 
5678         bold=\E[1m, cvvis=\EO\Eq\EG\EvK6, 
5679         is2=\EO\Eq\EG\Ev\EJ\EY7 K6 MS Kermit 2.27 UCB 227.14 IBM PC 3-17-85\n, 
5680         kf0=\E0, kf1=\E1, kf2=\E2, kf3=\E3, kf4=\E4, kf5=\E5, kf6=\E6, 
5681         kf7=\E7, kf8=\E8, kf9=\E9, rev=\E[7m, rmso=\E[m, rmul=\E[m, 
5682         sgr0=\E[m, smso=\E[1m, smul=\E[4m, 
5683         use=mskermit227, 
5684 # This was designed for a VT320 emulator, but it is probably a good start
5685 # at support for the VT320 itself.
5686 # Please send changes with explanations to bug-gnu-emacs@prep.ai.mit.edu.
5687 # (vt320-k3: I added <rmam>/<smam> based on the init string -- esr)
5688 vt320-k3|MS-Kermit 3.00's vt320 emulation, 
5689         am, eslok, hs, km, mir, msgr, xenl, 
5690         cols#80, it#8, lines#49, pb#9600, vt#3, 
5691         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
5692         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
5693         clear=\E[H\E[J, cmdch=\E, cnorm=\E[?25h, cr=^M, 
5694         csr=\E[%i%p1%d;%p1%dr, cub=\E[%p1%dD, cub1=^H, 
5695         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
5696         cup=\E[%i%p1%d;%p1%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
5697         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
5698         dsl=\E[0$~, ech=\E[%p1%dX, ed=\E[J, el=\E[K, 
5699         flash=\E[?5h\E[?5l\E[?5h\E[?5l\E[?5h\E[?5l, 
5700         fsl=\E[0$}, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, 
5701         ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
5702         is2=\E>\E F\E[?1l\E[?7h\E[r\E[2$~, kbs=^H, kcub1=\EOD, 
5703         kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdl1=\E[3~, kf0=\E[21~, 
5704         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~, 
5705         kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kich1=\E[2~, knp=\E[6~, 
5706         kpp=\E[5~, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, nel=^M^J, rc=\E8, 
5707         rev=\E[7m, ri=\EM, rin=\E[%p1%dL, rmacs=\E(B, rmam=\E[?7l, 
5708         rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, 
5709         rs1=\E(B\E)B\E>\E F\E[4;20l\E[12h\E[?1;5;6;38;42l\E[?7;25h\E4i\E?4i\E[m\E[r\E[2$~, 
5710         sc=\E7, sgr0=\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h, 
5711         smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
5712         tsl=\E[1$}\r\E[K, vpa=\E[%i%p1%dd, 
5713 # From: Joseph Gil <yogi@cs.ubc.ca> 13 Dec 1991
5714 # ACS capabilities from Philippe De Muyter  <phdm@info.ucl.ac.be> 30 May 1996
5715 # (I removed a bogus boolean :mo: and added <msgr>, <smam>, <rmam> -- esr)
5716 vt320-k311|dec vt320 series as defined by kermit 3.11, 
5717         am, eslok, hs, mir, msgr, xenl, xon, 
5718         cols#80, it#8, lines#24, vt#3, 
5719         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
5720         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
5721         clear=\E[;H\E[2J, cnorm=\E[?25h, cr=^M, 
5722         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
5723         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
5724         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
5725         cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
5726         dl1=\E[M, dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J, el=\E[K, 
5727         flash=\E[?5h\E[?5l, fsl=\E[$}, home=\E[H, ht=^I, hts=\EH, 
5728         ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L$<3/>, ind=\ED, 
5729         is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
5730         kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
5731         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~, 
5732         kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, lf1=pf1, lf2=pf2, 
5733         lf3=pf3, lf4=pf4, nel=^M\ED, rc=\E8, rev=\E[7m, 
5734         rf=/usr/share/tabset/vt100, ri=\EM, rmacs=^O, 
5735         rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m, 
5736         rmul=\E[24m, rs1=\E[?3l, sc=\E7, sgr0=\E[m, smacs=^N, 
5737         smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, 
5738         smul=\E[4m, tbc=\E[3g, tsl=\E[2$~\E[1$}\E[1;%dH, 
5739
5740 ######## NON-ANSI TERMINAL EMULATIONS
5741 #
5742
5743 #### Avatar
5744 #
5745 # These entries attempt to describe Avatar, a terminal emulation used with
5746 # MS-DOS bulletin-board systems.  It was designed to give ANSI-like
5747 # capabilities, but with cheaper (shorter) control sequences.  Messy design,
5748 # excessively dependent on PC idiosyncracies, but apparently rather popular
5749 # in the BBS world.
5750 #
5751 # No color support.  Avatar doesn't fit either of the Tektronix or HP color
5752 # models that terminfo knows about.  An Avatar color attribute is the
5753 # low 7 bits of the IBM-PC display-memory attribute.  Bletch.
5754 #
5755 # I wrote these entries while looking at the Avatar spec.  I don't have
5756 # the facilities to test them.  Let me know if they work, or don't.
5757 #
5758 # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
5759 # (The <blink>/<bold>/<rev>/<smacs>/<smul>/<smso> capabilities exist only to
5760 # tell ncurses that the corresponding highlights exist; it should use <sgr>,
5761 # which is the only method that will actually work for multiple highlights.)
5762 avatar0|avatar terminal emulator level 0, 
5763         am, bce, msgr, 
5764         cols#80, it#8, lines#25, 
5765         blink=^A^V\177, bold=^V^A^P, cr=^M, cub1=^V^E, cud1=^V^D, 
5766         cuf1=^V^F, cup=\026\010%p1%c%p2%c, cuu1=^V^C, el=^V^G, 
5767         ind=^J, invis=^V^A\200, rep=\031%p1%c%p2%d, rev=^A^Vp, 
5768         rs2=^L, 
5769         sgr=\026\001%{0}%?%p1%t%{112}%|%;%?%p2%t%{1}%|%;%?%p3%t%{112}%|%;%?%p4%t{128}%|%;%?%p6%t%{16}%|%;, 
5770         sgr0=^V^A^G, smacs=, smso=^A^Vp, smul=^V^A, 
5771         use=klone+acs, 
5772 # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
5773 avatar0+|avatar terminal emulator level 0+, 
5774         dch1=^V^N, rmir=\026\n\200\200\200\200, smir=^V^I, use=avatar0, 
5775 # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
5776 avatar|avatar1|avatar terminal emulator level 1, 
5777         civis=^V'^B, cnorm=^V'^A, cvvis=^V^C, dl1=^V-, il1=^V+, 
5778         rmam=^V", rmir=^V^P, smam=^V$, 
5779         use=avatar0+, 
5780
5781 ######## OLDER TERMINAL TYPES
5782 #
5783 # This section is devoted to older commercial terminal brands that are now
5784 # discontinued, but known to be still in use or represented by emulations.
5785 #
5786
5787 #### AT&T (att, tty)
5788 #
5789 # This section also includes Teletype-branded VDTs.
5790 #
5791 # The AT&T/Teletype terminals group was sold to SunRiver Data Systems; for
5792 # details, see the header comment on the ADDS section.
5793 #
5794 # These are AT&T's official terminfo entries.  All-caps aliases have been
5795 # removed.
5796 #
5797 att2300|sv80|AT&T 2300 Video Information Terminal 80 column mode, 
5798         am, eo, mir, msgr, xon, 
5799         cols#80, it#8, lines#24, 
5800         bel=^G, clear=\E[H\E[J, cr=^M, cub=\E[%p1%dD, cub1=^H, 
5801         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
5802         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
5803         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
5804         el=\E[K, el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@, 
5805         il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcbt=\E[Z, kclr=\E[J, 
5806         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, 
5807         kdl1=\E[M, kf1=\E[1r, kf10=\E[10r, kf11=\E[11r, 
5808         kf12=\E[12r, kf13=\E[13r, kf14=\E[14r, kf15=\E[15r, 
5809         kf16=\E[16r, kf2=\E[2r, kf3=\E[3r, kf4=\E[4r, kf5=\E[5r, 
5810         kf6=\E[6r, kf7=\E[7r, kf8=\E[8r, kf9=\E[9r, khome=\E[H, 
5811         kich1=\E[@, kil1=\E[L, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, 
5812         rev=\E[7m, rmir=\E[4l, rmso=\E[m, sgr0=\E[m, smir=\E[4h, 
5813         smso=\E[7m, 
5814 att2350|AT&T 2350 Video Information Terminal 80 column mode, 
5815         mc0@, mc4@, mc5@, 
5816         use=att2300, 
5817
5818 # Must setup RETURN KEY - CR, REC'VD LF - INDEX.
5819 # Seems upward compatible with vt100, plus ins/del line/char.
5820 # On sgr, the protection parameter is ignored.
5821 # No check is made to make sure that only 3 parameters are output.
5822 #       standout= reverse + half-intensity = 3 | 5.
5823 #       bold= reverse + underline = 2 | 3.
5824 # note that half-bright blinking doesn't look different from normal blinking.
5825 # NOTE:you must program the function keys first, label second!
5826 # (att4410: a BSD entry has been seen with the following capabilities: 
5827 # <is2=\E[?6l>, <kf1=\EOc>, <kf2=\EOd>, <kf3=\EOe>, <kf4=\EOg>,
5828 # <kf6=\EOh>, <kf7=\EOi>, <kf8=\EOj>, -- esr)
5829 att5410v1|att4410v1|tty5410v1|AT&T 4410/5410 80 columns - version 1, 
5830         am, hs, mir, msgr, xon, 
5831         cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80, 
5832         acsc=``aaffhhggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~00++--\,\,.., 
5833         bel=^G, blink=\E[5m, bold=\E[2;7m, clear=\E[H\E[J, cr=^M, 
5834         csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C, 
5835         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dim=\E[2m, 
5836         dl1=\E[M, ed=\E[J, el=\E[K, fsl=\E8, home=\E[H, ht=^I, 
5837         ich1=\E[@, il1=\E[L, ind=^J, invis=\E[8m, is1=\E[?3l\E)0, 
5838         is3=\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, 
5839         kbs=^H, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
5840         kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, 
5841         kf6=\EOU, kf7=\EOV, kf8=\EOW, khome=\E[H, kll=\E[24;1H, 
5842         ll=\E[24H, nel=^M^J, 
5843         pfx=\E[%p1%1d;%p2%l%2.2dq   f%p1%1d           %p2%s, 
5844         pln=\E[%p1%d;00q%p2%:-16s, rc=\E8, rev=\E[7m, ri=\EM, 
5845         rmacs=^O, rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y, 
5846         sc=\E7, 
5847         sgr=\E[0%?%p1%p5%|%t;2%;%?%p2%p6%|%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
5848         sgr0=\E[m\017, smacs=^N, smso=\E[7m, smul=\E[4m, 
5849         tsl=\E7\E[25;%p1%{1}%+%dH, 
5850
5851 att4410v1-w|att5410v1-w|tty5410v1-w|AT&T 4410/5410 132 columns - version 1, 
5852         cols#132, wsl#132, 
5853         is1=\E[?3h\E)0, rs2=\Ec\E[?3h\E[2;0y, use=att5410v1, 
5854
5855 att4410|att5410|tty5410|AT&T 4410/5410 80 columns - version 2, 
5856         pfx=\E[%p1%d;%p2%l%02dq   f%p1%d           %p2%s, 
5857         use=att5410v1, 
5858
5859 att5410-w|att4410-w|4410-w|tty5410-w|5410-w|AT&T 4410/5410 in 132 column mode, 
5860         cols#132, wsl#132, 
5861         is1=\E[?3h\E)0, rs2=\Ec\E[?3h\E[2;0y, use=att4410, 
5862
5863 # 5410 in terms of a vt100
5864 # (v5410: added <rmam>/<smam> based on init string -- esr)
5865 v5410|att5410 in terms of a vt100, 
5866         am, mir, msgr, xon, 
5867         cols#80, it#8, lines#24, vt#3, 
5868         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
5869         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
5870         clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
5871         cub1=^H, cud1=^J, cuf1=\E[C$<2>, 
5872         cup=\E[%i%p1%d;%p2%dH$<5>, cuu1=\E[A$<2>, dch1=\E[P, 
5873         dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>, 
5874         enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ich1=\E[@, 
5875         il1=\E[L, ind=^J, ka1=\EOq, ka3=\EOs, kb2=\EOr, kbs=^H, 
5876         kc1=\EOp, kc3=\EOn, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, 
5877         kcuu1=\EOA, kent=\EOM, kf0=\EOy, kf1=\EOP, kf10=\EOx, 
5878         kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt, kf6=\EOu, kf7=\EOv, 
5879         kf8=\EOl, kf9=\EOw, rc=\E8, rev=\E[7m$<2>, ri=\EM$<5>, 
5880         rmacs=^O, rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m$<2>, 
5881         rmul=\E[m$<2>, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
5882         sc=\E7, 
5883         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
5884         sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, 
5885         smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, 
5886
5887
5888 # Teletype Model 5420 -- A souped up 5410, with multiple windows,
5889 # even! the 5420 has three modes: scroll, window or page mode
5890 # this terminfo should work in scroll or window mode, but doesn't
5891 # take advantage of any of the differences between them.
5892 #
5893 # Has memory below (2 lines!)
5894 # 3 pages of memory (plus some spare)
5895 # The 5410 sequences for <cup>, <cvvis>, <dch>, <dl>, <ech>, <flash>, <home>,
5896 # <hpa>, <hts> would work for these, but these work in both scroll and window
5897 # mode... Unset insert character so insert mode works
5898 # <is1> sets 80 column mode,
5899 # <is2> escape sequence:
5900 # 1) turn off all fonts
5901 # 2) function keys off, keyboard lock off, control display off,
5902 #    insert mode off, erasure mode off,
5903 # 3) full duplex, monitor mode off, send graphics off, nl on lf off
5904 # 4) reset origin mode
5905 # 5) set line wraparound
5906 # 6) exit erasure mode, positional attribute mode, and erasure extent mode
5907 # 7) clear margins
5908 # 8) program ENTER to transmit ^J,
5909 # We use \212 to program the ^J because a bare ^J will get translated by
5910 # UNIX into a CR/LF. The enter key is needed for AT&T uOMS.
5911 #     1      2            3              4     5     6    7  8
5912 # <is3> set screen color to black,
5913 # No representation in terminfo for the delete word key: kdw1=\Ed
5914 # Key capabilities assume the power-up send sequence...
5915 # This <rmcup> is not strictly necessary, but it helps maximize 
5916 # memory usefulness: <rmcup=\Ez>,
5917 # Alternate sgr0:       <sgr0=\E[m\EW^O>,
5918 # Alternate sgr:        <sgr=\E[%?%p1%t2;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p7%t;8%;m%?%p8%t\EV%;%?%p9%t^N%e^O%;>,
5919 # smkx programs the SYS PF keys to send a set sequence.
5920 # It also sets up labels f1, f2, ..., f8, and sends edit keys.
5921 # This string causes them to send the strings <kf1>-<kf8>
5922 # when pressed in SYS PF mode.
5923 # (att4415: I added <rmam>/<smam> based on the init string -- esr)
5924 att4415|tty5420|att5420|AT&T 4415/5420 80 cols, 
5925         db, mir, xon, 
5926         lh#2, lm#78, lw#8, nlab#8, wsl#55, 
5927         cbt=\E[Z, clear=\E[x\E[J, cnorm=\E[11;0j, cub=\E[%p1%dD, 
5928         cud=\E[%p1%dB, cuf=\E[%p1%dC, cup=\E[%i%p1%d;%p2%dx, 
5929         cuu=\E[%p1%dA, cvvis=\E[11;1j, dch=\E[%p1%dP, 
5930         dl=\E[%p1%dM, ech=\E[%p1%ds\E[%p1%dD, 
5931         flash=\E[?5h$<200>\E[?5l, home=\E[x, 
5932         hpa=\E[%p1%{1}%+%dG, hts=\EH, ich=\E[%p1%d@, ich1@, 
5933         il=\E[%p1%dL, indn=\E[%p1%dE, is1=\E[?3l$<100>, 
5934         is2=\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, 
5935         is3=\E[?5l, kbeg=\Et, kcbt=\E[Z, kdch1=\E[P, kdl1=\E[M, 
5936         kel=\E[2K, kend=\Ez, kent=\Eent, kf1=\EOc, kf2=\EOd, 
5937         kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, 
5938         kich1=\E[4h, kil1=\E[L, kind=\E[T, kll=\Eu, knp=\E[U, 
5939         kpp=\E[V, kri=\E[S, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5, 
5940         lf6=F6, lf7=F7, lf8=F8, ll=\Ew, mc0=\E[?2i, mc4=\E[?9i, 
5941         mc5=\E[?4i, mrcup=\E[%i%p1%d;%p2%dt, 
5942         pfx=\E[%p1%d;%p2%l%02dq   F%p1%d           %p2%s, 
5943         pln=\E[%p1%d;0;0;0q%p2%:-16.16s, prot=\EV, 
5944         rin=\E[%p1%dF, rmam=\E[?7l, rmir=\E[4l, 
5945         rmkx=\E[19;0j\E[21;1j\212, rmln=\E|, 
5946         sgr=\E[0%?%p1%p5%|%t;2%;%?%p2%p6%|%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
5947         sgr0=\E[m\017, smam=\E[?7h, smir=\E[4h, 
5948         smkx=\E[19;1j\E[21;4j\Eent, smln=\E~, tbc=\E[3g, 
5949         tsl=\E7\E[25;%p1%{8}%+%dH, vpa=\E[%p1%{1}%+%dd, 
5950         use=att4410, 
5951
5952 att4415-w|tty5420-w|att5420-w|AT&T 4415/5420 132 cols, 
5953         cols#132, lm#54, wsl#97, 
5954         is1=\E[?3h$<100>, use=att4415, 
5955
5956 att4415-rv|tty5420-rv|att5420-rv|AT&T 4415/5420 80 cols/rv, 
5957         flash=\E[?5l$<200>\E[?5h, is3=\E[?5h, 
5958         use=att4415, 
5959
5960 att4415-w-rv|tty5420-w-rv|att5420-w-rv|AT&T 4415/5420 132 cols/rv, 
5961         cols#132, lm#54, wsl#97, 
5962         flash=\E[?5l$<200>\E[?5h, is1=\E[?3h$<100>, is3=\E[?5h, use=att4415, 
5963
5964 # Note that this mode permits programming USER PF KEYS and labels
5965 # However, when you program user pf labels you have to reselect
5966 # user pf keys to make them appear! 
5967 att4415+nl|tty5420+nl|att5420+nl|generic AT&T 4415/5420 changes for not changing labels, 
5968         kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, 
5969         pfx=\E[%p1%d;%p2%l%02d;0;1q   F%p1%d           %p2%s, 
5970         pln=\E[%p1%d;0;0;1q%p2%:-16.16s, 
5971
5972 att4415-nl|tty5420-nl|att5420-nl|AT&T 4415/5420 without changing labels, 
5973         kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, 
5974         use=att4415+nl, use=att4415, 
5975
5976 att4415-rv-nl|tty5420-rv-nl|att5420-rv-nl|AT&T 4415/5420 reverse video without changing labels, 
5977         kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, 
5978         use=att4415+nl, use=att4415-rv, 
5979
5980 att4415-w-nl|tty5420-w-nl|att5420-w-nl|AT&T 4415/5420 132 cols without changing labels, 
5981         kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, 
5982         use=att4415+nl, use=att4415-w, 
5983
5984 att4415-w-rv-n|tty5420-w-rv-n|att5420-w-rv-n|AT&T 4415/5420 132 cols reverse without changing labels, 
5985         kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, 
5986         use=att4415+nl, use=att4415-w-rv, 
5987
5988 att5420_2|AT&T 5420 model 2 80 cols, 
5989         am, db, hs, mir, msgr, xon, 
5990         cols#80, it#8, lh#2, lines#24, lm#78, lw#8, nlab#8, wsl#55, 
5991         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
5992         blink=\E[5m, cbt=\E[1Z, clear=\EH\EJ, cnorm=\E[11;0j, 
5993         cr=\EG, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
5994         cud1=\E[1B, cuf=\E[%p1%dC, cuf1=\E[1C, 
5995         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cvvis=\E[11;1j, 
5996         dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, 
5997         dl1=\E[M, ech=\E[%p1%ds\E[%p1%dD, ed=\E[0J, el=\E[0K, 
5998         el1=\E[1K, flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H, 
5999         hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, 
6000         ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dE, 
6001         invis=\E[8m, 
6002         is1=\E[0;23r\Ex\Ey\E[2;0j\E[3;3j\E[4;0j\E[5;0j\E[6;0j\E[7;0j\E[8;0j\E[9;1j\E[10;0j\E[15;0j\E[16;1j\E[19;0j\E[20;1j\E[29;0j\E[1;24r, 
6003         kbeg=\Et, kbs=^H, kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, 
6004         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, 
6005         kel=\E[2K, kend=\Ez, kent=^J, kf1=\EOc, kf2=\EOd, kf3=\EOe, 
6006         kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, khome=\E[H, 
6007         kich1=\E[4h, kil1=\E[L, kind=\E[T, kll=\Eu, knp=\E[U, 
6008         kpp=\E[V, kri=\E[S, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5, 
6009         lf6=F6, lf7=F7, lf8=F8, ll=\Ew, mc0=\E[?;2i, mc4=\E[4i, 
6010         mc5=\E[5i, mrcup=\E[%i%p1%d;%p2%dt, nel=^M^J, 
6011         pfx=\E[%p1%d;%p2%l%02dq   F%p1%d           %p2%s\E~, 
6012         pln=\E[%p1%d;0;0;0q%p2%:-16.16s\E~, prot=\EV, rc=\E8, 
6013         rev=\E[7m, ri=\EM, rin=\E[%p1%dF, rmacs=^O, rmkx=\E[19;0j, 
6014         rmln=\E|, rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y, 
6015         sc=\E7, 
6016         sgr=\E[0%?%p1%p5%|%t;2%;%?%p2%p6%|%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
6017         sgr0=\E[m\017, smacs=^N, smkx=\E[19;1j, smln=\E~, 
6018         smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
6019         tsl=\E7\E[25;%p1%{8}%+%dH, vpa=\E[%p1%{1}%+%dd, 
6020 att5420_2-w|AT&T 5420 model 2 in 132 column mode, 
6021         cols#132, 
6022         is1=\E[0;23r\Ex\Ey\E[2;0j\E[3;3j\E[4;0j\E[5;1j\E[6;0j\E[7;0j\E[8;0j\E[9;1j\E[10;0j\E[15;0j\E[16;1j\E[19;0j\E[20;1j\E[29;0j\E[1;24r, use=att5420_2, 
6023
6024 att4418|att5418|AT&T 5418 80 cols, 
6025         am, xon, 
6026         cols#80, lines#24, 
6027         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
6028         bel=^G, blink=\E[5m, clear=\E[H\E[2J, cr=^M, cub=\E[%p1%dD, 
6029         cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, 
6030         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
6031         cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m, 
6032         dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[0K, home=\E[H, 
6033         ich=\E[%p1%d@, ich1=\E[1@, il=\E[%p1%dL, il1=\E[1L, ind=^J, 
6034         is1=\E[?3l, is2=\E)0\E?6l\E?5l, kclr=\E[%, kcub1=\E@, 
6035         kcud1=\EU, kcuf1=\EA, kcuu1=\ES, kent=\E[, kf1=\E[h, 
6036         kf10=\E[m, kf11=\E[n, kf12=\E[o, kf13=\E[H, kf14=\E[I, 
6037         kf15=\E[J, kf18=\E[K, kf19=\E[L, kf2=\E[i, kf20=\E[E, 
6038         kf21=\E[_, kf22=\E[M, kf23=\E[N, kf24=\E[O, kf3=\E[j, 
6039         kf6=\E[k, kf7=\E[l, kf8=\E[f, kf9=\E[w, khome=\Ec, rc=\E8, 
6040         rev=\E[7m, rmacs=^O, rmso=\E[m, rmul=\E[m, sc=\E7, 
6041         sgr0=\E[m\017, smacs=^N, smso=\E[7m, smul=\E[4m, 
6042 att4418-w|att5418-w|AT&T 5418 132 cols, 
6043         cols#132, 
6044         is1=\E[?3h, use=att5418, 
6045
6046 att4420|tty4420|teletype 4420, 
6047         da, db, eo, msgr, ul, xon, 
6048         cols#80, lines#24, lm#72, 
6049         bel=^G, clear=\EH\EJ, cr=\EG, cub1=\ED, cud1=\EB, cuf1=\EC, 
6050         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EP, 
6051         dl1=\EM, ed=\EJ, el=\Ez, home=\EH, il1=\EL, ind=\EH\EM\EY7\s, 
6052         kcbt=\EO, kclr=\EJ, kcub1=^H, kcud1=\EB, kcuf1=\EC, 
6053         kcuu1=\EA, kdch1=\EP, kdl1=\EM, kf0=\EU, kf3=\E@, khome=\EH, 
6054         kich1=\E\^, kil1=\EL, kind=\ES, kri=\ET, 
6055         lf0=segment advance, lf3=cursor tab, rmdc@, rmso=\E~, 
6056         rmul=\EZ, smdc@, smso=\E}, smul=\E\\, 
6057
6058 #  The following is a terminfo entry for the Teletype 4424
6059 #  asynchronous keyboard-display terminal.  It supports
6060 #  the vi editor.  The terminal must be set up as follows,
6061 #       
6062 #       HIGHLIGHT DEFINITION    3-TONE
6063 #       DISPLAY FUNCTION        GROUP III
6064 #       
6065 #  The second entry below provides limited (a la adm3a)
6066 #  operation under GROUP II.
6067 #       
6068 #  This must be used with DISPLAY FUNCTION GROUP I or III
6069 #       and HIGHLIGHT DEFINITION 3-TONE
6070 # The terminal has either bold or blink, depending on options
6071 #
6072 # (att4424: commented out <smcup>=\E[1m, we don't need bright locked on -- esr)
6073 att4424|tty4424|teletype 4424, 
6074         am, xon, 
6075         cols#80, lines#24, 
6076         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
6077         bel=^G, blink=\E3, bold=\E3, cbt=\EO, clear=\E[H\E[2J, cr=^M, 
6078         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
6079         cud=\E[%p1%dB, cud1=\EB, cuf=\E[%p1%dC, cuf1=\EC, 
6080         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EA, 
6081         dch=\E[%p1%dP, dch1=\EP, dim=\EW, dl=\E[%p1%dM, dl1=\EM, 
6082         ed=\EJ, el=\Ez, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, 
6083         ich1=\E\^, il=\E[%p1%dL, il1=\EL, ind=^J, is2=\E[20l\E[?7h, 
6084         kbs=^H, kclr=\EJ, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
6085         kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
6086         khome=\E[H, nel=\EE, rev=\E}, ri=\ET, rmacs=\E(B, rmso=\E~, 
6087         rmul=\EZ, 
6088         sgr=\E[%?%p1%t7%;%?%p2%t;4%;%?%p3%t;7%;%?%p6%t;1%;%?%p6%p4%|%t;5%;%?%p5%t;0%;m, 
6089         sgr0=\EX\E~\EZ\E4\E(B, smacs=\E(0, smso=\E}, smul=\E\\, 
6090         tbc=\EF, 
6091
6092 att4424-1|tty4424-1|teletype 4424 in display function group I, 
6093         kclr@, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome@, 
6094         use=att4424, 
6095
6096 # This entry is not one of AT&T's official ones, it was translated from the
6097 # 4.4BSD termcap file.  The highlight strings are different from att4424.
6098 # I have no idea why this is -- older firmware version, maybe?
6099 # The following two lines are the comment originally attached to the entry:
6100 # This entry appears to avoid the top line - I have no idea why.
6101 # From: jwb Wed Mar 31 13:25:09 1982 remote from ihuxp
6102 att4424m|tty4424m|teletype 4424M, 
6103         am, da, db, mir, 
6104         cols#80, it#8, lines#23, 
6105         bel=^G, clear=\E[2;H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
6106         cup=\E[%i%p1%2d;%p2%2dH\E[B, cuu1=\E[A, dch1=\EP, 
6107         dl1=\EM, el=\E[K, ht=^I, ich1=\E\^, il1=\EL, ind=^J, ip=$<2/>, 
6108         is2=\E[m\E[2;24r, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
6109         kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, 
6110         kf4=\EOS, khome=\E[H, nel=^M^J, ri=\ET, rmso=\E[m, rmul=\E[m, 
6111         sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
6112
6113 # The Teletype 5425 is really version 2 of the Teletype 5420. It 
6114 # is quite similar, except for some minor differences. No page 
6115 # mode, for example, so all of the <cup> sequences used above have 
6116 # to change back to what's being used for the 5410. Many of the 
6117 # option settings have changed their numbering as well.
6118
6119 # This has been tested on a preliminary model.
6120 #
6121 # (att5425: added <rmam>/<smam> based on the init string -- esr)
6122 att5425|tty5425|att4425|AT&T 4425/5425, 
6123         am, da, db, hs, mir, msgr, xenl, xon, 
6124         cols#80, it#8, lh#2, lines#24, lm#78, lw#8, nlab#8, wsl#55, 
6125         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
6126         bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z, 
6127         clear=\E[H\E[J, cnorm=\E[12;0j, cr=^M, 
6128         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
6129         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
6130         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
6131         cvvis=\E[12;1j, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
6132         dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%ds\E[%p1%dD, ed=\E[J, 
6133         el=\E[K, el1=\E[1K, enacs=\E(B\E)0, 
6134         flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H, 
6135         hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, 
6136         il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dE, 
6137         invis=\E[8m, is1=\E<\E[?3l$<100>, 
6138         is2=\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, 
6139         is3=\E[?5l, kbeg=\Et, kbs=^H, kcbt=\E[Z, kclr=\E[J, 
6140         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, 
6141         kdl1=\E[M, kel=\E[2K, kend=\Ez, kent=\Eent, kf1=\EOc, 
6142         kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, 
6143         kf8=\EOj, khome=\E[H, kich1=\E[4h, kil1=\E[L, kind=\E[T, 
6144         kri=\E[S, ll=\E[24H, mc0=\E[?2i, mc4=\E[?9i, mc5=\E[?4i, 
6145         nel=^M^J, 
6146         pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s, 
6147         pln=\E[%p1%d;0;0;0q%p2%:-16.16s, prot=\EV, rc=\E8, 
6148         rev=\E[7m, ri=\EM, rin=\E[%p1%dF, rmacs=^O, rmam=\E[?7l, 
6149         rmir=\E[4l, rmkx=\E[21;0j\E[25;1j\212, rmln=\E|, 
6150         rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y, sc=\E7, 
6151         sgr=\E[0%?%p1%p5%|%t;2%;%?%p2%p6%|%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
6152         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
6153         smkx=\E[21;1j\E[25;4j\Eent\E~, smln=\E~, smso=\E[7m, 
6154         smul=\E[4m, tbc=\E[3g, tsl=\E7\E[25;%p1%{8}%+%dH, 
6155         vpa=\E[%p1%{1}%+%dd, 
6156
6157 att5425-nl|tty5425-nl|att4425-nl|AT&T 4425/5425 80 columns no labels, 
6158         smkx=\E[21;1j\E[25;4j\Eent, 
6159         use=att4425, 
6160
6161 att5425-w|att4425-w|tty5425-w|teletype 4425/5425 in 132 column mode, 
6162         cols#132, lm#54, wsl#97, 
6163         is1=\E[?3h$<100>, use=tty5425, 
6164
6165 # (att4426: his had bogus capabilities: :ri=\EM:, :ri=\E[1U:. 
6166 # I also added <rmam>/<smam> -- esr)
6167 att4426|tty4426|teletype 4426S, 
6168         am, da, db, xon, 
6169         cols#80, lines#24, lm#48, 
6170         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
6171         bel=^G, bold=\E[5m, clear=\E[H\E[2J\E[1U\E[H\E[2J\E[1V, 
6172         cr=^M, cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, 
6173         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
6174         cuu=\E[%p1%dA, cuu1=\EA, dch=\E[%p1%dP, dch1=\EP, 
6175         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[0K, home=\E[H, 
6176         hpa=\E[%p1%dG, ht=^I, hts=\E1, ich=\E[%p1%d@, ich1=\E\^, 
6177         il=\E[%p1%dL, il1=\EL, ind=^J, indn=\E[%p1%dS, 
6178         is1=\Ec\E[?7h, is2=\E[m\E[1;24r, kbs=^H, kcbt=\EO, 
6179         kclr=\E[2J, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
6180         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, 
6181         kf7=\EOV, kf8=\EOW, khome=\E[H, kll=\E[24;1H, ll=\E[24H, 
6182         nel=^M^J, rc=\E8, rev=\E[7m, ri=\ET, rin=\E[%p1%dT, 
6183         rmacs=\E(B, rmam=\E[?7l, rmso=\E[m, rmul=\E[m, 
6184         rs2=\Ec\E[?3l\E[2;0y, sc=\E7, sgr0=\E[m\E(B, smacs=\E(0, 
6185         smam=\E[?7h, smso=\E[5m, smul=\E[4m, tbc=\E[3g, 
6186         vpa=\E[%p1%dd, 
6187
6188 # Terminfo entry for the AT&T 510 A Personal Terminal
6189 # Function keys 9 - 16 are available only after the 
6190 # screen labeled (soft keys/action blocks) are labeled.  Function key
6191 # 9 corresponds to the leftmost touch target on the screen,
6192 # function key 16 corresponds to the rightmost.
6193 #
6194 # This entry is based on one done by Ernie Rice at Summit, NJ and
6195 # changed by Anne Gallup, Skokie, IL, ttrdc!anne
6196 att510a|bct510a|AT&T 510A Personal Terminal, 
6197         am, mir, msgr, xenl, xon, 
6198         cols#80, lh#2, lines#24, lw#7, nlab#8, 
6199         acsc=hrisjjkkllmmnnqqttuuvvwwxx{{||}}~~-f\,h.e+g`b, 
6200         bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z, 
6201         civis=\E[11;0|, clear=\E[H\E[J, cnorm=\E[11;3|, cr=^M, 
6202         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[1B, 
6203         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
6204         cuu=\E[%p1%dA, cuu1=\E[A, cvvis=\E[11;2|, dch=\E[%p1%dP, 
6205         dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, 
6206         el=\E[0K, el1=\E[1K, enacs=\E(B\E)1, ff=^L, home=\E[H, ht=^I, 
6207         hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=^J, is1=\E(B\E)1\E[2l, 
6208         is3=\E[21;1|\212, kLFT=\E[u, kRIT=\E[v, kbs=^H, kcbt=\E[Z, 
6209         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOm, 
6210         kf10=\EOd, kf11=\EOe, kf12=\EOf, kf13=\EOg, kf14=\EOh, 
6211         kf15=\EOi, kf16=\EOj, kf2=\EOV, kf3=\EOu, kf4=\ENj, kf5=\ENe, 
6212         kf6=\ENf, kf7=\ENh, kf8=\E[H, kf9=\EOc, kind=\E[S, kri=\E[T, 
6213         mc0=\E[0i, mc4=\E[?8i, mc5=\E[?4i, nel=\EE, 
6214         pln=\E[%p1%dp%p2%:-16s, rc=\E8, rev=\E[7m, ri=\EM, 
6215         rmacs=^O, rmkx=\E[19;0|, rmso=\E[m, rmul=\E[m, sc=\E7, 
6216         sgr=\E[0%?%p5%p6%|%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;m%?%p9%t\016%e\017%;, 
6217         sgr0=\E[m\017, smacs=^N, smkx=\E[19;1|, smso=\E[7m, 
6218         smul=\E[4m, tbc=\E[3g, 
6219
6220 # Terminfo entry for the AT&T 510 D Personal Terminal
6221 # Function keys 9 through 16 are accessed by bringing up the
6222 # system blocks.
6223 # Function key 9 corresponds to the leftmost touch target on the screen,
6224 # function key 16 corresponds to the rightmost.
6225 #
6226 # There are problems with soft key labeling.  These are due to 
6227 # strangenesses in the native terminal that are impossible to
6228 # describe in a terminfo.  
6229 att510d|bct510d|AT&T 510D Personal Terminal, 
6230         am, da, db, mir, msgr, xenl, xon, 
6231         cols#80, lh#2, lines#24, lm#48, lw#7, nlab#8, 
6232         acsc=hrisjjkkllmmnnqqttuuvvwwxx{{||}}~~-f\,h.e+g`b, 
6233         bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z, 
6234         clear=\E[H\E[J, cnorm=\E[11;3|, cr=^M, cub=\E[%p1%dD, 
6235         cub1=^H, cud=\E[%p1%dB, cud1=\E[1B, cuf=\E[%p1%dC, 
6236         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
6237         cuu1=\E[A, cvvis=\E[11;2|, dch=\E[%p1%dP, dch1=\E[P, 
6238         dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[0K, 
6239         el1=\E[1K, enacs=\E(B\E)1, ff=^L, home=\E[H, 
6240         hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, 
6241         il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, 
6242         invis=\E[8m, is1=\E(B\E)1\E[5;0|, is3=\E[21;1|\212, 
6243         kLFT=\E[u, kRIT=\E[v, kbs=^H, kcbt=\E[Z, kcub1=\E[D, 
6244         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOm, kf10=\EOd, 
6245         kf11=\EOe, kf12=\EOf, kf13=\EOg, kf14=\EOh, kf15=\EOi, 
6246         kf16=\EOj, kf2=\EOV, kf3=\EOu, kf4=\ENj, kf5=\ENe, kf6=\ENf, 
6247         kf7=\ENh, kf8=\E[H, kf9=\EOc, kind=\E[S, kri=\E[T, ll=\E#2, 
6248         mc0=\E[0i, mc4=\E[?8i, mc5=\E[?4i, mgc=\E\:, nel=\EE, 
6249         pln=\E[%p1%dp%p2%:-16s, rc=\E8, 
6250         rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, 
6251         rin=\E[%p1%dT, rmacs=^O, rmir=\E[4l, rmkx=\E[19;0|, 
6252         rmln=\E<, rmso=\E[m, rmul=\E[m, rmxon=\E[29;1|, 
6253         rs2=\E[5;0|, sc=\E7, 
6254         sgr=\E[0%?%p5%p6%|%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
6255         sgr0=\E[m\017, smacs=^N, smgl=\E4, smgr=\E5, smir=\E[4h, 
6256         smkx=\E[19;1|, smln=\E?, smso=\E[7m, smul=\E[4m, 
6257         smxon=\E[29;0|, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd, 
6258
6259 # (att500: I merged this with the att513 entry, att500 just used att513 -- esr)
6260 att500|att513|AT&T 513 using page mode, 
6261         am, chts, mir, msgr, xenl, xon, 
6262         cols#80, lh#2, lines#24, lw#8, nlab#8, 
6263         acsc=hrisjjkkllmmnnqqttuuvvwwxx{{||}}~~-f\,h.e+g`b, 
6264         bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z, 
6265         clear=\E[H\E[J, cnorm=\E[11;0|, cr=^M, 
6266         csr=%i\E[%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
6267         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
6268         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
6269         cvvis=\E[11;1|, dch=\E[%p1%dP, dch1=\E[P$<1>, dim=\E[2m, 
6270         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, 
6271         enacs=\E(B\E)1, home=\E[H, hpa=\E[%p1%{1}%+%dG, ht=^I, 
6272         hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
6273         indn=\E[%p1%dE, invis=\E[8m, 
6274         is1=\E?\E[3;3|\E[10;0|\E[21;1|\212\E[6;1|\E[1{\E[?99l, 
6275         kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, kCRT=\EON, 
6276         kDC=\ENF, kDL=\ENE, kEND=\ENN, kEOL=\EOA, kEXT=\EOK, 
6277         kFND=\EOX, kHLP=\EOM, kHOM=\ENM, kIC=\ENJ, kLFT=\ENK, 
6278         kMOV=\ENC, kMSG=\EOL, kNXT=\ENH, kOPT=\EOR, kPRT=\EOZ, 
6279         kPRV=\ENG, kRDO=\EOT, kRES=\EOQ, kRIT=\ENL, kRPL=\EOY, 
6280         kSAV=\EOO, kSPD=\EOP, kUND=\EOS, kbeg=\E9, kbs=^H, kcan=\EOw, 
6281         kcbt=\E[Z, kclo=\EOV, kclr=\E[J, kcmd=\EOu, kcpy=\ENd, 
6282         kcrt=\EOn, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
6283         kdch1=\ENf, kdl1=\ENe, kel=\EOa, kend=\E0, kent=\Eent, 
6284         kext=\EOk, kf1=\EOc, kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg, 
6285         kf6=\EOh, kf7=\EOi, kf8=\EOj, kfnd=\EOx, khlp=\EOm, 
6286         khome=\E[H, kich1=\ENj, kind=\E[S, kmov=\ENc, kmrk=\ENi, 
6287         kmsg=\EOl, knp=\E[U, knxt=\ENh, kopn=\EOv, kopt=\EOr, 
6288         kpp=\E[V, kprt=\EOz, kprv=\ENg, krdo=\EOt, kref=\EOb, 
6289         kres=\EOq, krfr=\ENa, kri=\E[T, krpl=\EOy, krst=\EOB, 
6290         ksav=\EOo, kslt=\ENI, kspd=\EOp, kund=\EOs, ll=\E#2, 
6291         mc0=\E[?98l\E[0i, mc4=\E[?98l\E[?8i, mc5=\E[?98l\E[?4i, 
6292         nel=\EE, 
6293         pfkey=\E[%p1%d;%p2%l%d;3;0p   F%p1%d           %p2%s, 
6294         pfloc=\E[%p1%d;%p2%l%d;2;0p   F%p1%d           %p2%s, 
6295         pfx=\E[%p1%d;%p2%l%d;1;0p   F%p1%d           %p2%s, 
6296         pln=\E[%p1%dp%p2%:-16s, rc=\E8, 
6297         rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, 
6298         rin=\E[%p1%dF, rmacs=^O, rmir=\E[4l, 
6299         rmkx=\E[19;0|\E[21;1|\212, rmln=\E<, rmso=\E[m, 
6300         rmul=\E[m, 
6301         rs1=\E?\E[3;3|\E[10;0|\E[21;1|\212\E[6;1|\E[1{\E[?99l\E[2;0|\E[6;1|\E[8;0|\E[19;0|\E[1{\E[?99l, 
6302         rs2=\E[5;0|, sc=\E7, 
6303         sgr=\E[0%?%p1%p5%|%t;2%;%?%p2%p6%|%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
6304         sgr0=\E[m\017, smacs=^N, smir=\E[4h, 
6305         smkx=\E[19;1|\E[21;4|\Eent, smln=\E?, smso=\E[7m, 
6306         smul=\E[4m, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd, 
6307
6308 # 01-07-88
6309 # printer must be set to EMUL ANSI to accept ESC codes
6310 # <cuu1> stops at top margin
6311 # <is1> sets cpi 10,lpi 6,form 66,left 1,right 132,top 1,bottom 66,font
6312 #       and alt font ascii,wrap on,tabs cleared
6313 # <is2> disables newline on LF,Emphasized off
6314 # The <u0> capability sets form length
6315 att5310|att5320|AT&T Model 53210 or 5320 matrix printer, 
6316         xhpa, xvpa, 
6317         bufsz#8192, cols#132, cps#120, it#8, lines#66, orc#10, 
6318         orhi#100, orl#12, orvi#72, 
6319         cpi=%?%p1%{10}%=%t\E[w%e%p1%{12}%=%t\E[2w%e%p1%{5}%=%t\E[5w%e%p1%{13}%=%p1%{14}%=%O%t\E[3w%e%p1%{16}%=%p1%{17}%=%O%t\E[4w%e%p1%{6}%=%t\E[6w%e%p1%{7}%=%t\E[7w%e%p1%{8}%=%t\E[8w%;, 
6320         cr=^M, 
6321         csnm=%?%p1%{0}%=%tusascii%e%p1%{1}%=%tenglish%e%p1%{2}%=%tfinnish%e%p1%{3}%=%tjapanese%e%p1%{4}%=%tnorwegian%e%p1%{5}%=%tswedish%e%p1%{6}%=%tgermanic%e%p1%{7}%=%tfrench%e%p1%{8}%=%tcanadian_french%e%p1%{9}%=%titalian%e%p1%{10}%=%tspanish%e%p1%{11}%=%tline%e%p1%{12}%=%tsecurity%e%p1%{13}%=%tebcdic%e%p1%{14}%=%tapl%e%p1%{15}%=%tmosaic%;, 
6322         cud=\E[%p1%de, cud1=^J, cuf=\E[%p1%da, cuf1=\s, cuu1=\EM, 
6323         ff=^L, hpa=\E[%p1%d`, ht=^I, is1=\Ec, is2=\E[20l\r, 
6324         lpi=%?%p1%{2}%=%t\E[4z%e%p1%{3}%=%t\E[5z%e%p1%{4}%=%t\E[6z%e%p1%{6}%=%t\E[z%e%p1%{8}%=%t\E[2z%e%p1%{12}%=%t\E[3z%;, 
6325         rshm=\E[m, 
6326         scs=%?%p1%{0}%=%t\E(B%e%p1%{1}%=%t\E(A%e%p1%{2}%=%t\E(C%e%p1%{3}%=%t\E(D%e%p1%{4}%=%t\E(E%e%p1%{5}%=%t\E(H%e%p1%{6}%=%t\E(K%e%p1%{7}%=%t\E(R%e%p1%{8}%=%t\E(Q%e%p1%{9}%=%t\E(Y%e%p1%{10}%=%t\E(Z%e%p1%{11}%=%t\E(0%e%p1%{12}%=%t\E(1%e%p1%{13}%=%t\E(3%e%p1%{14}%=%t\E(8%e%p1%{15}%=%t\E(}%;, 
6327         smgbp=\E[;%p1%dr, smglp=\E[%{1}%p1%+%ds, 
6328         smgrp=\E[;%{1}%p1%+%ds, smgtp=\E[%p1%dr, sshm=\E[5m, 
6329         u0=\E[%p1%dt, vpa=\E[%p1%dd, 
6330
6331 # Teletype 5620, firmware version 1.1 (8;7;3) or earlier from BRL
6332 # The following SET-UP modes are assumed for normal operation:
6333 #       CR_DEF=CR       NL_DEF=INDEX    DUPLEX=FULL
6334 # Other SET-UP modes may be set for operator convenience or communication
6335 # requirements.  This termcap description is for the Resident Terminal Mode.
6336 # No delays specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
6337 # The BRL entry also said: UNSAFE :ll=\E[70H:
6338 att5620-1|tty5620-1|dmd1|Teletype 5620 with old ROMs, 
6339         am, xon, 
6340         cols#88, it#8, lines#70, vt#3, 
6341         bel=^G, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
6342         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP, 
6343         dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, 
6344         home=\E[H, ht=^I, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, 
6345         il1=\E[L, ind=^J, indn=\E[%p1%dS, kbs=^H, kclr=\E[2J, 
6346         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, 
6347         kll=\E[70;1H, nel=^M^J, rc=\E8, ri=\E[T, rin=\E[%p1%dT, 
6348         rs1=\Ec, sc=\E7, 
6349
6350 # 5620 terminfo  (2.0 or later ROMS with char attributes)
6351 # The following SET-UP modes are assumed for normal operation:
6352 #       DUPLEX=FULL     GEN_FLOW=ON     NEWLINE=INDEX   RETURN=CR
6353 # Other SET-UP modes may be set for operator convenience or communication
6354 # requirements.  This termcap description is for Resident Terminal Mode.  No
6355 # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
6356 # assumptions: <ind> (scroll forward one line) is only done at screen bottom
6357 # Be aware that older versions of the dmd have a firmware bug that affects
6358 # parameter defaulting; for this terminal, the 0 in \E[0m is not optional.
6359 # <msgr> is from an otherwise inferior BRL for this terminal.  That entry
6360 # also has <ll>=\E[70H commented out and marked unsafe.
6361 # For more, see the 5620 FAQ maintained by David Breneman <daveb@dgtl.com>.
6362 att5620|dmd|tty5620|ttydmd|5620|5620 terminal 88 columns, 
6363         am, msgr, npc, xon, 
6364         cols#88, it#8, lines#70, 
6365         bel=^G, bold=\E[2m, clear=\E[H\E[J, cr=^M, cub1=^H, 
6366         cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
6367         dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, 
6368         dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich=\E[%p1%d@, 
6369         ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S, 
6370         indn=\E[%p1%dS, kbs=^H, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, 
6371         kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, kll=\E[70;1H, nel=^J, 
6372         pfx=\E[%p1%d;%p2%l%dq%p2%s, rc=\E8, rev=\E[7m, ri=\E[T, 
6373         rin=\E[%p1%dT, rmso=\E[0m, rmul=\E[0m, rs1=\Ec, sc=\E7, 
6374         sgr0=\E[0m, smso=\E[7m, smul=\E[4m, 
6375 att5620-24|tty5620-24|dmd-24|teletype dmd 5620 in a 24x80 layer, 
6376         lines#24, use=att5620, 
6377 att5620-34|tty5620-34|dmd-34|teletype dmd 5620 in a 34x80 layer, 
6378         lines#34, use=att5620, 
6379 # 5620 layer running the "S" system's downloaded graphics handler:
6380 att5620-s|tty5620-s|layer|vitty|5620 S layer, 
6381         am, 
6382         cols#80, it#8, lines#72, 
6383         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, 
6384         cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=^K, dl1=\ED, 
6385         el=\EK, flash=\E^G, ht=^I, il1=\EI, ind=^J, kbs=^H, kclr=\E[2J, 
6386         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, 
6387         kll=\E[70;1H, 
6388
6389 # Entries for <kf15> thru <kf28> refer to the shifted system pf keys.
6390 #
6391 # Entries for <kf29> thru <kf46> refer to the alternate keypad mode
6392 # keys:  = * / + 7 8 9 - 4 5 6 , 1 2 3 0 . ENTER
6393 att605|AT&T 605 80 column 102key keyboard, 
6394         am, eo, xon, 
6395         cols#80, lines#24, lw#8, nlab#8, wsl#80, 
6396         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
6397         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J, 
6398         cr=^M, cub1=^H, cud1=\E[B, cuf1=\E[C, 
6399         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP, 
6400         dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
6401         el=\E[K, el1=\E[1K, fsl=\E8, ht=^I, ich=\E[%p1%d@, ich1=\E[@, 
6402         il1=\E[L, ind=^J, invis=\E[8m, 
6403         is1=\E[8;0|\E[?\E[13;20l\E[?\E[12h, is2=\E[m\017, 
6404         kLFT=\E[ A, kRIT=\E[ @, kbs=^H, kcbt=\E[Z, kclr=\E[2J, 
6405         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, 
6406         kdl1=\E[M, kend=\E[24;1H, kf1=\EOc, kf10=\ENp, kf11=\ENq, 
6407         kf12=\ENr, kf13=\ENs, kf14=\ENt, kf15=\EOC, kf16=\EOD, 
6408         kf17=\EOE, kf18=\EOF, kf19=\EOG, kf2=\EOd, kf20=\EOH, 
6409         kf21=\EOI, kf22=\EOJ, kf23=\ENO, kf24=\ENP, kf25=\ENQ, 
6410         kf26=\ENR, kf27=\ENS, kf28=\ENT, kf29=\EOP, kf3=\EOe, 
6411         kf30=\EOQ, kf31=\EOR, kf32=\EOS, kf33=\EOw, kf34=\EOx, 
6412         kf35=\EOy, kf36=\EOm, kf37=\EOt, kf38=\EOu, kf39=\EOv, 
6413         kf4=\EOf, kf40=\EOl, kf41=\EOq, kf42=\EOr, kf43=\EOs, 
6414         kf44=\EOp, kf45=\EOn, kf46=\EOM, kf5=\EOg, kf6=\EOh, 
6415         kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H, kich1=\E[@, 
6416         kil1=\E[L, kind=\E[S, knp=\E[U, kpp=\E[V, ll=\E[24H, 
6417         mc4=\E[?4i, mc5=\E[?5i, nel=\EE, 
6418         pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s, 
6419         pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, rev=\E[7m, 
6420         rmacs=^O, rmir=\E[4l, rmln=\E[2p, rmso=\E[m, rmul=\E[m, 
6421         rs2=\Ec\E[?3l, sc=\E7, sgr0=\E[m\017, smacs=\E)0\016, 
6422         smir=\E[4h, smln=\E[p, smso=\E[7m, smul=\E[4m, 
6423         tsl=\E7\E[25;%i%p1%dx, 
6424 att605-pc|ATT 605 in pc term mode, 
6425         acsc=k\277l\332m\300j\331n\305w\302q\304u\264t\303v\301x\263, 
6426         cbt=\E[Z, cub1=\E[D, cud1=\E[B, cuf1=\E[C, cuu1=\E[A, 
6427         dch1=\E[P, dl1=\E[M, ich1=\E[@, il=\E[L, il1=\E[L, kcbt=\E[Z, 
6428         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, 
6429         kdl1=\E[M, kend=\E[F, kf1=\E[M, kf10=\E[V, kf2=\E[N, 
6430         kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S, kf8=\E[T, 
6431         kf9=\E[U, khome=\E[H, kich1=\E[@, knp=\E[G, kpp=\E[I, 
6432         rmsc=400\E[50;0|, smsc=250\E[?11l\E[50;1|, xoffc=g, 
6433         xonc=e, 
6434         use=att605, 
6435 att605-w|AT&T 605-w 132 column 102 key keyboard, 
6436         cols#132, wsl#132, 
6437         is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h\E(B\E)0, use=att605, 
6438 # (att610: I added <rmam>/<smam> based on the init string.  I also
6439 # added <indn> and <rin> because the BSD file says the att615s have them,
6440 # and the 615 is like a 610 with a big keyboard, and most of their other
6441 # smart terminals support the same sequence -- esr)
6442 att610|AT&T 610; 80 column; 98key keyboard, 
6443         am, eslok, hs, mir, msgr, xenl, xon, 
6444         cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80, 
6445         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
6446         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
6447         clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M, 
6448         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
6449         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
6450         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
6451         cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
6452         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, 
6453         flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H, ht=^I, 
6454         ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
6455         indn=\E[%p1%dS, invis=\E[8m, 
6456         is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)0, 
6457         is2=\E[m\017, is3=\E(B\E)0, kLFT=\E[ @, kRIT=\E[ A, kbs=^H, 
6458         kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
6459         kcuu1=\E[A, kf1=\EOc, kf10=\ENp, kf11=\ENq, kf12=\ENr, 
6460         kf13=\ENs, kf14=\ENt, kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg, 
6461         kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H, 
6462         kind=\E[S, kri=\E[T, ll=\E[24H, mc4=\E[?4i, mc5=\E[?5i, 
6463         nel=\EE, 
6464         pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s, 
6465         pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, rev=\E[7m, 
6466         ri=\EM, rin=\E[%p1%dT, rmacs=^O, rmam=\E[?7l, rmir=\E[4l, 
6467         rmln=\E[2p, rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l, sc=\E7, 
6468         sgr=\E[0%?%p6%t;1%;%?%p5%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
6469         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
6470         smln=\E[p, smso=\E[7m, smul=\E[4m, tsl=\E7\E[25;%i%p1%dx, 
6471 att610-w|AT&T 610; 132 column; 98key keyboard, 
6472         cols#132, wsl#132, 
6473         is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h, use=att610, 
6474
6475 att610-103k|AT&T 610; 80 column; 103key keyboard, 
6476         kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, kCRT=\EON, 
6477         kDC=\ENF, kDL=\ENE, kEND=\ENN, kEOL=\EOA, kEXT=\EOK, 
6478         kFND=\EOX, kHLP=\EOM, kMOV=\ENC, kMSG=\EOL, kNXT=\ENH, 
6479         kOPT=\EOR, kPRT=\EOZ, kPRV=\ENG, kRDO=\EOT, kRES=\EOQ, 
6480         kRPL=\EOY, kSAV=\EOO, kSPD=\EOP, kUND=\EOS, kbeg=\E9, 
6481         kcan=\EOw, kclo=\EOV, kcmd=\EOu, kcpy=\ENd, kcrt=\EOn, 
6482         kdch1=\ENf, kdl1=\ENe, kel=\EOa, kend=\E0, kent=^M, 
6483         kext=\EOk, kf10@, kf11@, kf12@, kf13@, kf14@, kf9@, kfnd=\EOx, 
6484         khlp=\EOm, kich1=\ENj, kmov=\ENc, kmrk=\ENi, kmsg=\EOl, 
6485         knp=\E[U, knxt=\ENh, kopn=\EOv, kopt=\EOr, kpp=\E[V, 
6486         kprt=\EOz, kprv=\ENg, krdo=\EOt, kref=\EOb, kres=\EOq, 
6487         krfr=\ENa, krmir=\ENj, krpl=\EOy, krst=\EOB, ksav=\EOo, 
6488         kslt=\ENI, kspd=\EOp, kund=\EOs, 
6489         use=att610, 
6490 att610-103k-w|AT&T 610; 132 column; 103key keyboard, 
6491         cols#132, wsl#132, 
6492         is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h, use=att610-103k, 
6493 att615|AT&T 615; 80 column; 98key keyboard, 
6494         kLFT=\E[ A, kRIT=\E[ @, kf15=\EOC, kf16=\EOD, kf17=\EOE, 
6495         kf18=\EOF, kf19=\EOG, kf20=\EOH, kf21=\EOI, kf22=\EOJ, 
6496         kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR, kf27=\ENS, 
6497         kf28=\ENT, kf29=\EOP, kf30=\EOQ, kf31=\EOR, kf32=\EOS, 
6498         kf33=\EOw, kf34=\EOx, kf35=\EOy, kf36=\EOm, kf37=\EOt, 
6499         kf38=\EOu, kf39=\EOv, kf40=\EOl, kf41=\EOq, kf42=\EOr, 
6500         kf43=\EOs, kf44=\EOp, kf45=\EOn, kf46=\EOM, 
6501         use=att610, 
6502 att615-w|AT&T 615; 132 column; 98key keyboard, 
6503         kLFT=\E[ A, kRIT=\E[ @, kf15=\EOC, kf16=\EOD, kf17=\EOE, 
6504         kf18=\EOF, kf19=\EOG, kf20=\EOH, kf21=\EOI, kf22=\EOJ, 
6505         kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR, kf27=\ENS, 
6506         kf28=\ENT, kf29=\EOP, kf30=\EOQ, kf31=\EOR, kf32=\EOS, 
6507         kf33=\EOw, kf34=\EOx, kf35=\EOy, kf36=\EOm, kf37=\EOt, 
6508         kf38=\EOu, kf39=\EOv, kf40=\EOl, kf41=\EOq, kf42=\EOr, 
6509         kf43=\EOs, kf44=\EOp, kf45=\EOn, kf46=\EOM, 
6510         use=att610-w, 
6511 att615-103k|AT&T 615; 80 column; 103key keyboard, 
6512         kLFT=\E[ A, kRIT=\E[ @, 
6513         use=att610-103k, 
6514 att615-103k-w|AT&T 615; 132 column; 103key keyboard, 
6515         kLFT=\E[ A, kRIT=\E[ @, 
6516         use=att610-103k-w, 
6517 # (att620: I added <rmam>/<smam> based on the init string and
6518 # <rin>/<indn> from a BSD termcap -- esr)
6519 att620|AT&T 620; 80 column; 98key keyboard, 
6520         am, eslok, hs, mir, msgr, xenl, xon, 
6521         cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80, 
6522         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
6523         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
6524         clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M, 
6525         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
6526         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
6527         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
6528         cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
6529         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, 
6530         flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H, ht=^I, 
6531         ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
6532         indn=\E[%p1%dS, invis=\E[8m, 
6533         is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h, 
6534         is2=\E[m\017, is3=\E(B\E)0, kLFT=\E[ A, kRIT=\E[ @, kbs=^H, 
6535         kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
6536         kcuu1=\E[A, kf1=\EOc, kf10=\ENp, kf11=\ENq, kf12=\ENr, 
6537         kf13=\ENs, kf14=\ENt, kf15=\EOC, kf16=\EOD, kf17=\EOE, 
6538         kf18=\EOF, kf19=\EOG, kf2=\EOd, kf20=\EOH, kf21=\EOI, 
6539         kf22=\EOJ, kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR, 
6540         kf27=\ENS, kf28=\ENT, kf29=\EOP, kf3=\EOe, kf30=\EOQ, 
6541         kf31=\EOR, kf32=\EOS, kf33=\EOw, kf34=\EOx, kf35=\EOy, 
6542         kf36=\EOm, kf37=\EOt, kf38=\EOu, kf39=\EOv, kf4=\EOf, 
6543         kf40=\EOl, kf41=\EOq, kf42=\EOr, kf43=\EOs, kf44=\EOp, 
6544         kf45=\EOn, kf46=\EOM, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, 
6545         kf9=\ENo, khome=\E[H, kind=\E[S, kri=\E[T, ll=\E[24H, 
6546         mc4=\E[?4i, mc5=\E[?5i, nel=\EE, 
6547         pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s, 
6548         pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, rev=\E[7m, 
6549         ri=\EM, rin=\E[%p1%dT, rmacs=\E(B\017, rmam=\E[?7l, 
6550         rmir=\E[4l, rmln=\E[2p, rmso=\E[m, rmul=\E[m, 
6551         rs2=\Ec\E[?3l, sc=\E7, 
6552         sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
6553         sgr0=\E[m\E(B\017, smacs=\E)0\016, smam=\E[?7h, 
6554         smir=\E[4h, smln=\E[p, smso=\E[7m, smul=\E[4m, 
6555         tsl=\E7\E[25;%i%p1%dx, 
6556 att620-w|AT&T 620; 132 column; 98key keyboard, 
6557         cols#132, wsl#132, 
6558         is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h, use=att620, 
6559 att620-103k|AT&T 620; 80 column; 103key keyboard, 
6560         kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, kCRT=\EON, 
6561         kDC=\ENF, kDL=\ENE, kEND=\ENN, kEOL=\EOA, kEXT=\EOK, 
6562         kFND=\EOX, kHLP=\EOM, kMOV=\ENC, kMSG=\EOL, kNXT=\ENH, 
6563         kOPT=\EOR, kPRT=\EOZ, kPRV=\ENG, kRDO=\EOT, kRES=\EOQ, 
6564         kRPL=\EOY, kSAV=\EOO, kSPD=\EOP, kUND=\EOS, kbeg=\E9, 
6565         kcan=\EOw, kclo=\EOV, kcmd=\EOu, kcpy=\ENd, kcrt=\EOn, 
6566         kdch1=\ENf, kdl1=\ENe, kel=\EOa, kend=\E0, kent=^M, 
6567         kext=\EOk, kf10@, kf11@, kf12@, kf13@, kf14@, kf15@, kf16@, kf17@, 
6568         kf18@, kf19@, kf20@, kf21@, kf22@, kf23@, kf24@, kf25@, kf26@, kf27@, 
6569         kf28@, kf29@, kf30@, kf31@, kf32@, kf33@, kf34@, kf35@, kf36@, kf37@, 
6570         kf38@, kf39@, kf40@, kf41@, kf42@, kf43@, kf44@, kf45@, kf46@, kf9@, 
6571         kfnd=\EOx, khlp=\EOm, kich1=\ENj, kmov=\ENc, kmrk=\ENi, 
6572         kmsg=\EOl, knp=\E[U, knxt=\ENh, kopn=\EOv, kopt=\EOr, 
6573         kpp=\E[V, kprt=\EOz, kprv=\ENg, krdo=\EOt, kref=\EOb, 
6574         kres=\EOq, krfr=\ENa, krmir=\ENj, krpl=\EOy, krst=\EOB, 
6575         ksav=\EOo, kslt=\ENI, kspd=\EOp, kund=\EOs, 
6576         use=att620, 
6577
6578 att620-103k-w|AT&T 620; 132 column; 103key keyboard, 
6579         cols#132, wsl#132, 
6580         is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h, use=att620-103k, 
6581
6582 # AT&T (formerly Teletype) 630 Multi-Tasking Graphics terminal
6583 # The following SETUP modes are assumed for normal operation:
6584 #       Local_Echo=Off  Gen_Flow=On     Return=CR       Received_Newline=LF
6585 #       Font_Size=Large         Non-Layers_Window_Cols=80
6586 #                               Non-Layers_Window_Rows=60
6587 # Other SETUP modes may be set for operator convenience or communication
6588 # requirements.  Some capabilities assume a printer attached to the Aux EIA
6589 # port.  This termcap description is for the Fixed Non-Layers Window.  No
6590 # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
6591 # (att630: added <ich1>, <blink> and <dim> from a BSD termcap file -- esr)
6592 att630|AT&T 630 windowing terminal, 
6593         am, da, db, mir, msgr, npc, xon, 
6594         cols#80, it#8, lines#60, lm#0, 
6595         bel=^G, blink=\E[5m, cbt=\E[Z, clear=\E[H\E[J, cr=^M, 
6596         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, 
6597         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
6598         cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
6599         dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, 
6600         el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@, ich1=\E[@, 
6601         il=\E[%p1%dL, il1=\E[L, ind=\ED, indn=\E[%p1%dS, is2=\E[m, 
6602         kbs=^H, kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, 
6603         kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, kent=^M, 
6604         kf10=\ENp, kf11=\ENq, kf12=\ENr, kf13=\ENs, kf14=\ENt, 
6605         kf15=\ENu, kf16=\ENv, kf17=\ENw, kf18=\ENx, kf19=\ENy, 
6606         kf20=\ENz, kf21=\EN{, kf22=\EN|, kf23=\EN}, kf24=\EN~, 
6607         kf9=\ENo, khome=\E[H, kich1=\E[@, kil1=\E[L, mc4=\E[?4i, 
6608         mc5=\E[?5i, nel=^M^J, pfx=\E[%p1%d;%p2%l%dq%p2%s, rc=\E8, 
6609         rev=\E[7m, ri=\EM, rin=\E[%p1%dT, rmir=\E[4l, rmso=\E[m, 
6610         rmul=\E[m, rs2=\Ec, sc=\E7, 
6611         sgr=\E[0%?%p2%t;4%;%?%p1%p3%|%p4%|%p5%|%t;7%;m, 
6612         sgr0=\E[m, smir=\E[4h, smso=\E[7m, smul=\E[4m, 
6613 att630-24|5630-24|5630DMD-24|630MTG-24|AT&T 630 windowing terminal 24 lines, 
6614         lines#24, use=att630, 
6615
6616 # This entry was modified 3/13/90 by JWE.
6617 # fixes include additions of <enacs>, correcting <rep>, and modification
6618 # of <kHOM>.  (See comments below)
6619 # att730 has status line of 80 chars
6620 # These were commented out: <indn=\E[%p1%dS>, <rin=\E[%p1%dT>,
6621 # the <kf25> and up keys are used for shifted system Fkeys
6622 # NOTE: JWE 3/13/90 The 98 key keyboard translation for shift/HOME is 
6623 # currently the same as <khome> (unshifted HOME or \E[H).  On the 102, 102+1
6624 # and 122 key keyboards, the 730's translation is \E[2J.  For consistency
6625 # <kHOM> has been commented out.  The user can uncomment <kHOM> if using the
6626 # 102, 102+1, or 122 key keyboards
6627 #       kHOM=\E[2J,
6628 # (att730: I added <rmam>/<smam> based on the init string -- esr)
6629 att730|AT&T 730 windowing terminal, 
6630         am, da, db, eslok, hs, mir, msgr, npc, xenl, xon, 
6631         cols#80, it#8, lh#2, lines#60, lm#0, lw#8, nlab#24, wsl#80, 
6632         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
6633         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
6634         clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M, 
6635         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
6636         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
6637         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
6638         cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
6639         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, 
6640         enacs=\E(B\E)0, flash=\E[?5h$<200>\E[?5l, fsl=\E8, 
6641         home=\E[H, ht=^I, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, 
6642         ind=\ED, invis=\E[8m, 
6643         is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)B, 
6644         is2=\E[m\017, is3=\E(B\E)0, kLFT=\E[ @, kRIT=\E[ A, kbs=^H, 
6645         kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
6646         kcuu1=\E[A, kf1=\EOc, kf10=\ENp, kf11=\ENq, kf12=\ENr, 
6647         kf13=\ENs, kf14=\ENt, kf15=\ENu, kf16=\ENv, kf17=\ENw, 
6648         kf18=\ENx, kf19=\ENy, kf2=\EOd, kf20=\ENz, kf21=\EN{, 
6649         kf22=\EN|, kf23=\EN}, kf24=\EN~, kf25=\EOC, kf26=\EOD, 
6650         kf27=\EOE, kf28=\EOF, kf29=\EOG, kf3=\EOe, kf30=\EOH, 
6651         kf31=\EOI, kf32=\EOJ, kf33=\ENO, kf34=\ENP, kf35=\ENQ, 
6652         kf36=\ENR, kf37=\ENS, kf38=\ENT, kf39=\EOU, kf4=\EOf, 
6653         kf40=\EOV, kf41=\EOW, kf42=\EOX, kf43=\EOY, kf44=\EOZ, 
6654         kf45=\EO[, kf46=\EO\s, kf47=\EO], kf48=\EO\^, kf5=\EOg, 
6655         kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H, 
6656         kich1=\E[@, kil1=\E[L, kind=\E[S, kri=\E[T, 
6657         mc0=\E[?19h\E[0i, mc4=\E[?4i, mc5=\E[?5i, nel=\EE, 
6658         pfx=\E[%?%p1%{25}%<%t%p1%e%p1%{24}%-%;%d;%p2%l%02d%?%p1%{25}%<%tq   SYS     F%p1%:-2d  %e;0;3q%;%p2%s, 
6659         pfxl=\E[%p1%d;%p2%l%02d;0;0q%p3%:-16.16s%p2%s, 
6660         pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, 
6661         rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, rmacs=^O, 
6662         rmam=\E[?7l, rmir=\E[4l, rmln=\E[?13h, rmso=\E[27m, 
6663         rmul=\E[24m, rmxon=\E[?21l, rs2=\Ec\E[?3l, sc=\E7, 
6664         sgr=\E[0%?%p6%t;1%;%?%p5%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
6665         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
6666         smln=\E[?13l, smso=\E[7m, smul=\E[4m, smxon=\E[?21h, 
6667         swidm=\E#6, tsl=\E7\E[;%i%p1%dx, 
6668 att730-41|730MTG-41|AT&T 730-41 windowing terminal Version, 
6669         lines#41, use=att730, 
6670 att730-24|730MTG-24|AT&T 730-24 windowing terminal Version, 
6671         lines#24, use=att730, 
6672 att730r|730MTGr|AT&T 730 rev video windowing terminal Version, 
6673         flash=\E[?5l$<200>\E[?5h, 
6674         is1=\E[8;0|\E[?3;4;13;15l\E[?5h\E[13;20l\E[?7h\E[12h\E(B\E)B, use=att730, 
6675 att730r-41|730MTG-41r|AT&T 730r-41 rev video windowing terminal Version, 
6676         lines#41, use=att730r, 
6677 att730r-24|730MTGr-24|AT&T 730r-24 rev video windowing terminal Version, 
6678         lines#24, use=att730r, 
6679
6680 # The following represents the screen layout along with the associated
6681 # bezel buttons for the 5430/pt505 terminal. The "kf" designations do
6682 # not appear on the screen but are shown to reference the bezel buttons.
6683 # The "CMD", "MAIL", and "REDRAW" buttons are shown in their approximate
6684 # position relative to the screen.
6685 #
6686 #
6687 #
6688 #      +----------------------------------------------------------------+
6689 #      |                                                                |
6690 # XXXX | kf0                                                       kf24 | XXXX
6691 #      |                                                                |
6692 #      |                                                                |
6693 # XXXX | kf1                                                       kf23 | XXXX
6694 #      |                                                                |
6695 #      |                                                                |
6696 # XXXX | kf2                                                       kf22 | XXXX
6697 #      |                                                                |
6698 #      |                                                                |
6699 # XXXX | kf3                                                       kf21 | XXXX
6700 #      |                                                                |
6701 #      |                                                                |
6702 # XXXX | kf4                                                       kf20 | XXXX
6703 #      |                                                                |
6704 #      |                                                                |
6705 # XXXX | kf5                                                       kf19 | XXXX
6706 #      |                                                                |
6707 #      |                                                                |
6708 # XXXX | kf6                                                       kf18 | XXXX
6709 #      |                                                                |
6710 #      |                                                                |
6711 # XXXX |                                                                | XXXX
6712 #      |                                                                |
6713 #      |                                                                |
6714 #      +----------------------------------------------------------------+
6715 #
6716 #          XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX
6717 #
6718 # Note: XXXX represents the screen buttons
6719 #                                                          CMD   REDRAW
6720 #
6721 #                                                          MAIL
6722 #
6723 # version 1 note: 
6724 #       The character string sent by key 'kf26' may be user programmable
6725 #       to send either \E[16s, or \E[26s.
6726 #       The character string sent by key 'krfr' may be user programmable
6727 #       to send either \E[17s, or \E[27s.
6728 #
6729 # Depression of the "CMD" key sends    \E!    (kcmd)
6730 # Depression of the "MAIL" key sends   \E[26s (kf26)
6731 # "REDRAW" same as "REFRESH" (krfr)
6732 #
6733 # "kf" functions adds carriage return to output string if terminal is in
6734 # 'new line' mode.
6735 #
6736 # The following are functions not covered in the table above:
6737 #
6738 #       Set keyboard character (SKC): \EPn1;Pn2w
6739 #                       Pn1= 0 Back Space key
6740 #                       Pn1= 1 Break key
6741 #                       Pn2=   Program char (hex)
6742 #
6743 #       Screen Definition (SDF): \E[Pn1;Pn2;Pn3;Pn4;Pn5t
6744 #                       Pn1=     Window number (1-39)
6745 #                       Pn2-Pn5= Y;X;Y;X coordinates
6746 #
6747 #       Screen Selection (SSL): \E[Pnu
6748 #                       Pn= Window number
6749 #
6750 #       Set Terminal Modes (SM): \E[Pnh
6751 #                       Pn= 3 Graphics mode
6752 #                       Pn= > Cursor blink
6753 #                       Pn= < Enter new line mode
6754 #                       Pn= = Enter reverse insert/replace mode
6755 #                       Pn= ? Enter no scroll mode
6756 #
6757 #       Reset Terminal Mode (RM): \E[Pnl
6758 #                       Pn= 3 Exit graphics mode
6759 #                       Pn= > Exit cursor blink
6760 #                       Pn= < Exit new line mode
6761 #                       Pn= = Exit reverse insert/replace mode
6762 #                       Pn= ? Exit no scroll mode
6763 #
6764 #       Screen Status Report (SSR): \E[Pnp
6765 #                       Pn= 0 Request current window number
6766 #                       Pn= 1 Request current window dimensions
6767 #
6768 #       Device Status Report (DSR): \E[6n    Request cursor position
6769 #
6770 #       Call Status Report (CSR): \E[Pnv
6771 #                       Pn= 0 Call failed
6772 #                       Pn= 1 Call successful
6773 #
6774 #       Transparent Button String (TBS): \E[Pn1;Pn2;Pn3;{string
6775 #                       Pn1= Button number to be loaded
6776 #                       Pn2= Character count of "string"
6777 #                       Pn3= Key mode being loaded:
6778 #                               0= Unshifted
6779 #                               1= Shifted
6780 #                               2= Control
6781 #                       String= Text string (15 chars max)
6782 #
6783 #       Screen Number Report (SNR): \E[Pnp
6784 #                       Pn= Screen number
6785 #
6786 #       Screen Dimension Report (SDR): \E[Pn1;Pn2r
6787 #                       Pn1= Number of rows available in window
6788 #                       Pn2= Number of columns available in window
6789 #
6790 #       Cursor Position Report (CPR): \E[Pn1;Pn2R
6791 #                       Pn1= "Y" Position of cursor
6792 #                       Pn2= "X" Position of cursor
6793 #
6794 #       Request Answer Back (RAB): \E[c
6795 #
6796 #       Answer Back Response (ABR): \E[?;*;30;VSV
6797 #                       *=  0 No printer available
6798 #                       *=  2 Printer available
6799 #                       V=  Software version number
6800 #                       SV= Software sub version number
6801 #       (printer-available field not documented in v1)
6802 #
6803 #       Screen Alignment Aid: \En
6804 #
6805 #       Bell (lower pitch): \E[x
6806 #
6807 #       Dial Phone Number: \EPdstring\
6808 #                       string= Phone number to be dialed
6809 #
6810 #       Set Phone Labels: \EPpstring\
6811 #                       string= Label for phone buttons
6812 #
6813 #       Set Clock: \EPchour;minute;second\
6814 #
6815 #       Position Clock: \EPsY;X\
6816 #                       Y= "Y" coordinate
6817 #                       X= "X" coordinate
6818 #
6819 #       Delete Clock: \Epr\
6820 #
6821 #       Programming The Function Buttons: \EPfPn;string\
6822 #                       Pn= Button number (00-06, 18-24)
6823 #                                         (kf00-kf06, kf18-kf24)
6824 #                       string= Text to sent on button depression
6825 #
6826 # The following in version 2 only:
6827 #
6828 #       Request For Local Directory Data: \EPp12;\
6829 #
6830 #       Local Directory Data to host: \EPp11;LOCAL...DIRECTORY...DATA\
6831 #
6832 #       Request for Local Directory Data in print format: \EPp13;\
6833 #
6834 #       Enable 'Prt on Line' mode: \022 (DC2)
6835 #
6836 #       Disable 'Prt on Line' mode: \024 (DC4)
6837 #
6838
6839 # 05-Aug-86:
6840 # The following Terminfo entry describes functions which are supported by
6841 # the AT&T 5430/pt505 terminal software version 2 and later.
6842 att505|pt505|att5430|gs5430|AT&T Personal Terminal 505 or 5430 GETSET terminal, 
6843         am, xon, 
6844         cols#80, it#8, lines#24, 
6845         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
6846         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[2J\E[H, 
6847         cnorm=\E[>l, cr=^M, cub=\E[%p1%dD, cub1=\E[D, 
6848         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
6849         cup=\E[%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
6850         cvvis=\E[>h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
6851         dl1=\E[M, ed=\E[0J, el=\E[0K, el1=\E2K, home=\E[H, ht=^I, 
6852         il=\E[%p1%dL, il1=\E[L, ind=^J, 
6853         is1=\EPr\\E[0u\E[2J\E[0;0H\E[m\E[3l\E[<l\E[4l\E[>l\E[=l\E[?l, 
6854         kbs=^H, kcmd=\E!, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
6855         kcuu1=\E[A, kf0=\E[00s, kf1=\E[01s, kf18=\E[18s, 
6856         kf19=\E[19s, kf2=\E[02s, kf20=\E[20s, kf21=\E[21s, 
6857         kf22=\E[22s, kf23=\E[23s, kf24=\E24s, kf26=\E26s, 
6858         kf3=\E[03s, kf4=\E[04s, kf5=\E[05s, kf6=\E[06s, 
6859         krfr=\E[27s, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, 
6860         rmacs=\E[10m, rmam=\E[11;1j, rmir=\E[4l, rmso=\E[m, 
6861         rmul=\E[m, rs1=\Ec, sc=\E7, sgr0=\E[m, smacs=\E[11m, 
6862         smam=\E[11;0j, smir=\E[4h, smso=\E[1m, smul=\E[4m, 
6863
6864 # The following Terminfo entry describes functions which are supported by
6865 # the AT&T 5430/pt505 terminal software version 1.
6866 att505-24|pt505-24|gs5430-24|AT&T PT505 or 5430 GETSET version 1 24 lines, 
6867         lines#24, 
6868         mc4@, mc5@, rc@, rmam@, sc@, smam@, use=att505, 
6869 tt505-22|pt505-22|gs5430-22|AT&T PT505 or 5430 GETSET version 1 22 lines, 
6870         lines#22, use=att505, 
6871 #
6872 # -------------------- TERMINFO FILE CAN BE SPLIT HERE -----------------------
6873 # This cut mark helps make life less painful for people running ncurses tic
6874 # on machines with relatively little RAM.  The file can be broken in half here
6875 # cleanly and compiled in sections -- no `use' references cross this cut
6876 # going forward.
6877 #
6878
6879 #### Ampex (Dialogue)
6880 #
6881 # Yes, these are the same people who are better-known for making audio- and
6882 # videotape.  I'm told they are located in Redwood City, CA.
6883 #
6884
6885 # From: <cbosg!ucbvax!SRC:george> Fri Sep 11 22:38:32 1981
6886 # (ampex80: some capabilities merged in from SCO's entry -- esr)
6887 ampex80|a80|d80|dialogue|dialogue80|ampex dialogue 80, 
6888         am, bw, ul, 
6889         cols#80, it#8, lines#24, 
6890         bel=^G, cbt=\EI, clear=\E*$<75>, cr=^M, cub1=^H, cud1=^J, 
6891         cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
6892         dch1=\EW, dl1=\ER$<5*>, ed=\Ey, el=\Et, ht=^I, hts=\E1, 
6893         ich1=\EQ, il1=\EE$<5*>, ind=^J, is2=\EA, rmso=\Ek, rmul=\Em, 
6894         smso=\Ej, smul=\El, tbc=\E3, 
6895 # This entry was from somebody anonymous, Tue Aug  9 20:11:37 1983, who wrote:
6896 ampex175|ampex d175, 
6897         am, 
6898         cols#80, lines#24, 
6899         bel=^G, clear=\E+, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
6900         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
6901         dl1=\ER, ed=\Ey, el=\Et, home=^^, ich1=\EQ, il1=\EE, ind=^J, 
6902         is2=\EX\EA\EF, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
6903         kdch1=\EW, kdl1=\ER, khome=^^, kich1=\EQ, kil1=\EE, ll=^^^K, 
6904         rmcup=\EF, rmso=\Ek, rmul=\Em, smcup=\EN, smso=\Ej, smul=\El, 
6905 # No backspace key in the main QWERTY cluster. Fortunately, it has a
6906 # NEWLINE/PAGE key just above RETURN that sends a strange single-character
6907 # code.  Given a suitable Unix (one that lets you set an echo-erase-as-BS-SP-BS
6908 # mode), this key can be used as the erase key; I find I like this. Because
6909 # some people and some systems may not, there is another termcap ("ampex175")
6910 # that suppresses this little eccentricity by omitting the relevant capability.
6911 ampex175-b|ampex d175 using left arrow for erase, 
6912         kbs=^_, 
6913         use=ampex175, 
6914 # From: Richard Bascove <atd!dsd!rcb@ucbvax.berkeley.edu>
6915 # (ampex210: removed obsolete ":kn#10:" -- esr)
6916 ampex210|a210|ampex a210, 
6917         am, hs, xenl, 
6918         cols#80, it#8, lines#24, xmc#1, 
6919         cbt=\EI, clear=\E*, cub1=^H, cuf1=^L, 
6920         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
6921         dl1=\ER, ed=\Ey, el=\Et, flash=\EU\EX\EU\EX\EU\EX\EU\EX, 
6922         fsl=\E.2, home=^^, ht=^I, ich1=\EQ, 
6923         if=/usr/share/tabset/std, il1=\EE, invis@, 
6924         is2=\EC\Eu\E'\E(\El\EA\E%\E{\E.2\EG0\Ed\En, kcub1=^H, 
6925         kcud1=^V, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A1\r, 
6926         kf2=^A2\r, kf3=^A3\r, kf4=^A4\r, kf5=^A5\r, kf6=^A6\r, 
6927         kf7=^A7\r, kf8=^A8\r, kf9=^A9\r, khome=^^, 
6928         tsl=\E.0\Eg\E}\Ef, use=adm+sgr, 
6929 # (ampex219: I added <rmam>/<smam> based on the init string, added <cvvis>
6930 # from ampex219w, added <cnorm>=\E[?3l, irresistibly suggested by <cvvis>,
6931 # and moved the padding to be *after* the caps -- esr)
6932 ampex219|ampex-219|amp219|Ampex with Automargins, 
6933         hs, xenl, 
6934         cols#80, it#8, lines#24, 
6935         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, cbt=\E[Z, 
6936         clear=\E[H\E[2J$<50>, cnorm=\E[?3l, cr=^M, 
6937         csr=%i\E[%p1%2d;%p2%2dr, cub1=^H, cud1=\E[B, 
6938         cuf1=\E[C$<2>, cup=\E[%i%p1%d;%p2%dH$<5>, 
6939         cuu1=\E[A$<2>, cvvis=\E[?3h, dim=\E[1m, ed=\E[J$<50>, 
6940         el=\E[K$<3>, home=\E[H, ht=^I, ind=^J, 
6941         is2=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
6942         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\E[21~, 
6943         kf1=\E[7~, kf2=\E[8~, kf3=\E[9~, kf4=\E[10~, kf5=\E[11~, 
6944         kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, khome=\E[H, 
6945         rev=\E[7m, ri=\EM$<5>, rmam=\E[?7l, rmkx=\E>, 
6946         rmso=\E[m$<2>, rmul=\E[m$<2>, sgr0=\E[m$<2>, smam=\E[?7h, 
6947         smkx=\E=, smso=\E[7m$<2>, smul=\E[4m$<2>, 
6948 ampex219w|ampex-219w|amp219w|Ampex 132 cols, 
6949         cols#132, lines#24, 
6950         bel=^G, cr=^M, cud1=^J, ind=^J, 
6951         is2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h, use=ampex219, 
6952 # (ampex232: removed <if=/usr/share/tabset/ampex>, no file and no <hts> --esr) 
6953 ampex232|ampex-232|Ampex Model 232, 
6954         am, 
6955         cols#80, lines#24, xmc#1, 
6956         cbt=\EI, civis=\E.0, clear=\E+, cnorm=\E.4, cub1=^H, cud1=^V, 
6957         cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
6958         dch1=\EW, dl1=\ER$<5*/>, ed=\EY, el=\ET, 
6959         flash=\Eb$<200/>\Ed, ht=^I, ich1=\EQ, il1=\EE$<5*/>, 
6960         invis@, is2=\Eg\El, kbs=^H, kcub1=^H, kcud1=^V, kcuf1=^L, 
6961         kcuu1=^K, kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r, 
6962         kf4=^AD\r, kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, 
6963         kf9=^AI\r, khome=^^, 
6964         use=adm+sgr, 
6965 # (ampex: removed <if=/usr/share/tabset/amp-132>, no file and no <hts> -- esr) 
6966 ampex232w|Ampex Model 232 / 132 columns, 
6967         cols#132, lines#24, 
6968         is2=\E\034Eg\El, use=ampex232, 
6969
6970 #### Ann Arbor (aa)
6971 #
6972 # Ann Arbor made dream terminals for hackers -- large screen sizes and huge
6973 # numbers of function keys.  At least some used monitors in portrait mode,
6974 # allowing up to 76-character screen heights!  They were reachable at:
6975 #
6976 #       Ann Arbor Terminals
6977 #       6175 Jackson Road
6978 #       Ann Arbor, MI 48103
6979 #       (313)-663-8000
6980 #
6981 # But in 1996 the phone number reaches some kitschy retail shop, and Ann Arbor
6982 # can't be found on the Web; I fear they're long dead.  R.I.P.
6983 #
6984
6985
6986 # Originally from Mike O'Brien@Rand and Howard Katseff at Bell Labs.
6987 # Highly modified 6/22 by Mike O'Brien.
6988 # split out into several for the various screen sizes by dave-yost@rand
6989 # Modifications made 3/82 by Mark Horton
6990 # Modified by Tom Quarles at UCB for greater efficiency and more diversity
6991 # status line moved to top of screen, <flash> removed 5/82
6992 # Some unknown person at SCO then hacked the init strings to make them more
6993 # efficient.
6994 #
6995 # assumes the following setup:
6996 #   A menu: 0000 1010  0001 0000
6997 #   B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
6998 #   C menu: 56   66   0    0    9600  0110 1100
6999 #   D menu: 0110 1001   1   0
7000 #
7001 #       Briefly, the settings are for the following modes:
7002 #          (values are for bit set/clear with * indicating our preference
7003 #           and the value used to test these termcaps)
7004 #       Note that many of these settings are irrelevent to the terminfo
7005 #       and are just set to the default mode of the terminal as shipped
7006 #       by the factory.
7007 #
7008 # A menu: 0000 1010  0001 0000
7009 #       Block/underline cursor*
7010 #       blinking/nonblinking cursor*
7011 #       key click/no key click*
7012 #       bell/no bell at column 72*
7013 #
7014 #       key pad is cursor control*/key pad is numeric
7015 #       return and line feed/return for <cr> key *
7016 #       repeat after .5 sec*/no repeat
7017 #       repeat at 25/15 chars per sec. *
7018 #
7019 #       hold data until pause pressed/process data unless pause pressed*
7020 #       slow scroll/no slow scroll*
7021 #       Hold in area/don't hold in area*
7022 #       functions keys have default*/function keys disabled on powerup
7023 #
7024 #       show/don't show position of cursor during page transmit*
7025 #       unused
7026 #       unused
7027 #       unused
7028 #
7029 # B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
7030 #       Baud rate (9600*)
7031 #
7032 #       2 bits of parity - 00=odd,01=even*,10=space,11=mark
7033 #       1 stop bit*/2 stop bits
7034 #       parity error detection off*/on
7035 #
7036 #       keyboard local/on line*
7037 #       half/full duplex*
7038 #       disable/do not disable keyboard after data transmission*
7039 #
7040 #       transmit entire page/stop transmission at cursor*
7041 #       transfer/do not transfer protected characters*
7042 #       transmit all characters/transmit only selected characters*
7043 #       transmit all selected areas/transmit only 1 selected area*
7044 #
7045 #       transmit/do not transmit line separators to host*
7046 #       transmit/do not transmit page tab stops tabs to host*
7047 #       transmit/do not transmit column tab stop tabs to host*
7048 #       transmit/do not transmit graphics control (underline,inverse..)*
7049 #
7050 #       enable*/disable auto XON/XOFF control
7051 #       require/do not require receipt of a DC1 from host after each LF*
7052 #       pause key acts as a meta key/pause key is pause*
7053 #       unused
7054 #
7055 #       unused
7056 #       unused
7057 #       unused
7058 #       unused
7059 #
7060 #       XON character (17*)
7061 #       XOFF character (19*)
7062 #
7063 # C menu: 56   66   0    0    9600  0110 1100
7064 #       number of lines to print data on (printer) (56*)
7065 #
7066 #       number of lines on a sheet of paper (printer) (66*)
7067 #
7068 #       left margin (printer) (0*)
7069 #
7070 #       number of pad chars on new line to printer (0*)
7071 #
7072 #       printer baud rate (9600*)
7073 #
7074 #       printer parity: 00=odd,01=even*,10=space,11=mark
7075 #       printer stop bits: 2*/1
7076 #       print/do not print guarded areas*
7077 #
7078 #       new line is: 01=LF,10=CR,11=CRLF*
7079 #       unused
7080 #       unused
7081 #
7082 # D menu: 0110 1001   1   0
7083 #       LF is newline/LF is down one line, same column*
7084 #       wrap to preceding line if move left from col 1*/don't wrap
7085 #       wrap to next line if move right from col 80*/don't wrap
7086 #       backspace is/is not destructive*
7087 #
7088 #       display*/ignore DEL character
7089 #       display will not/will scroll*
7090 #       page/column tab stops*
7091 #       erase everything*/erase unprotected only
7092 #
7093 #       editing extent: 0=display,1=line*,2=field,3=area
7094 #
7095 #       unused
7096 #
7097
7098 annarbor4080|aa4080|ann arbor 4080, 
7099         am, 
7100         cols#80, lines#40, 
7101         bel=^G, clear=\014$<2>, cr=^M, cub1=^H, cud1=^J, cuf1=^_, 
7102         cup=\017%p2%{10}%/%{16}%*%p2%{10}%m%+%c%p1%?%p1%{19}%>%t%{12}%+%;%'@'%+%c, 
7103         cuu1=^N, home=^K, ht=^I, hts=^]^P1, ind=^J, kbs=^^, kcub1=^H, 
7104         kcud1=^J, kcuf1=^_, kcuu1=^N, khome=^K, tbc=^\^P^P, 
7105
7106 # Strange Ann Arbor terminal from BRL
7107 aas1901|Ann Arbor K4080 w/S1901 mod, 
7108         am, 
7109         cols#80, lines#40, 
7110         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^_, cuu1=^N, 
7111         home=^K, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, ll=^O\200c, 
7112         nel=^M^J, 
7113
7114 # If you're using the GNU termcap library, add
7115 #       :cS=\E[%p1%d;%p2%d;%p3%d;%p4%dp:
7116 # to these capabilities.  This is the nonstandard GNU termcap scrolling
7117 # capability, arguments are:
7118 #   1. Total number of lines on the screen.
7119 #   2. Number of lines above desired scroll region.
7120 #   3. Number of lines below (outside of) desired scroll region.
7121 #   4. Total number of lines on the screen, the same as the first parameter.
7122 # The generic Ann Arbor entry is the only one that uses this.
7123 aaa+unk|aaa-unk|ann arbor ambassador (internal - don't use this directly), 
7124         am, km, mc5i, mir, xon, 
7125         cols#80, it#8, 
7126         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
7127         clear=\E[H\E[J$<156>, cr=^M, cub=\E[%p1%dD, cub1=^H, 
7128         cud=\E[%p1%dB, cud1=^K, cuf=\E[%p1%dC, cuf1=\E[C, 
7129         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
7130         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
7131         el=\E[K$<5>, home=\E[H, hpa=\E[%p1%{1}%+%dG, ht=^I, 
7132         hts=\EH, ich=\E[%p1%d@$<4*>, ich1=\E[@$<4>, il=\E[%p1%dL, 
7133         il1=\E[L$<3>, ind=^K, invis=\E[8m, is1=\E[m\E7\E[H\E9\E8, 
7134         is3=\E[1Q\E[>20;30l\EP`+x~M\E\\, kbs=^H, kcbt=\E[Z, 
7135         kclr=\E[J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
7136         kdch1=\E[P, kdl1=\E[M, kf1=\EOA, kf10=\EOJ, kf11=\EOK, 
7137         kf12=\EOL, kf13=\EOM, kf14=\EON, kf15=\EOO, kf16=\EOP, 
7138         kf17=\EOQ, kf18=\EOR, kf19=\EOS, kf2=\EOB, kf20=\EOT, 
7139         kf21=\EOU, kf22=\EOV, kf23=\EOW, kf24=\EOX, kf3=\EOC, 
7140         kf4=\EOD, kf5=\EOE, kf6=\EOF, kf7=\EOG, kf8=\EOH, kf9=\EOI, 
7141         khome=\E[H, kich1=\E[@, kil1=\E[L, krmir=\E6, mc0=\E[0i, 
7142         mc4=^C, mc5=\E[v, mc5p=\E[%p1%dv, rc=\E8, 
7143         rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, 
7144         rmkx=\EP`>y~[[J`8xy~[[A`4xy~[[D`6xy~[[C`2xy~[[B\E\\, 
7145         rmm=\E[>52l, rmso=\E[m, rmul=\E[m, sc=\E7, 
7146         sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m, 
7147         sgr0=\E[m, 
7148         smkx=\EP`>z~[[J`8xz~[[A`4xz~[[D`6xz~[[C`2xz~[[B\E\\, 
7149         smm=\E[>52h, smso=\E[7m, smul=\E[4m, tbc=\E[2g, 
7150         vpa=\E[%p1%{1}%+%dd, 
7151
7152 aaa+rv|ann arbor ambassador in reverse video, 
7153         blink=\E[5;7m, bold=\E[1;7m, invis=\E[7;8m, 
7154         is1=\E[7m\E7\E[H\E9\E8, rev=\E[m, rmso=\E[7m, rmul=\E[7m, 
7155         rs1=\E[H\E[7m\E[J$<156>, 
7156         sgr=\E[%?%p1%p3%|%!%t7;%;%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m, 
7157         sgr0=\E[7m\016, smso=\E[m, smul=\E[4;7m, 
7158 # Ambassador with the DEC option, for partial vt100 compatibility.
7159 aaa+dec|ann arbor ambassador in dec vt100 mode, 
7160         acsc=aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}, 
7161         csr=\E[%i%p1%d;%p2%dr, enacs=\E(0, rmacs=^N, 
7162         sgr=\E[%?%p1%p3%|%!%t7;%;%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m%?%p9%t\017%e\016%;, 
7163         smacs=^O, 
7164 aaa-18|ann arbor ambassador/18 lines, 
7165         lines#18, 
7166         is2=\E7\E[60;0;0;18p\E8, 
7167         rmcup=\E[60;0;0;18p\E[60;1H\E[K, smcup=\E[18;0;0;18p, use=aaa+unk, 
7168 aaa-18-rv|ann arbor ambassador/18 lines+reverse video, 
7169         use=aaa+rv, use=aaa-18, 
7170 aaa-20|ann arbor ambassador/20 lines, 
7171         lines#20, 
7172         is2=\E7\E[60;0;0;20p\E8, 
7173         rmcup=\E[60;0;0;20p\E[60;1H\E[K, smcup=\E[20;0;0;20p, use=aaa+unk, 
7174 aaa-22|ann arbor ambassador/22 lines, 
7175         lines#22, 
7176         is2=\E7\E[60;0;0;22p\E8, 
7177         rmcup=\E[60;0;0;22p\E[60;1H\E[K, smcup=\E[22;0;0;22p, use=aaa+unk, 
7178 aaa-24|ann arbor ambassador/24 lines, 
7179         lines#24, 
7180         is2=\E7\E[60;0;0;24p\E8, 
7181         rmcup=\E[60;0;0;24p\E[60;1H\E[K, smcup=\E[24;0;0;24p, use=aaa+unk, 
7182 aaa-24-rv|ann arbor ambassador/24 lines+reverse video, 
7183         use=aaa+rv, use=aaa-24, 
7184 aaa-26|ann arbor ambassador/26 lines, 
7185         lines#26, 
7186         is2=\E7\E[60;0;0;26p\E8, 
7187         rmcup=\E[60;0;0;26p\E[26;1H\E[K, 
7188         smcup=\E[H\E[J$<156>\E[26;0;0;26p, use=aaa+unk, 
7189 aaa-28|ann arbor ambassador/28 lines, 
7190         lines#28, 
7191         is2=\E7\E[60;0;0;28p\E8, 
7192         rmcup=\E[60;0;0;28p\E[28;1H\E[K, 
7193         smcup=\E[H\E[J$<156>\E[28;0;0;28p, use=aaa+unk, 
7194 aaa-30-s|aaa-s|ann arbor ambassador/30 lines w/status, 
7195         eslok, hs, 
7196         lines#29, 
7197         dsl=\E7\E[60;0;0;30p\E[1;1H\E[K\E[H\E8\r\n\E[K, 
7198         fsl=\E[>51l, is2=\r\n\E[A\E7\E[60;1;0;30p\E8, 
7199         rmcup=\E[60;1;0;30p\E[29;1H\E[K, 
7200         smcup=\E[H\E[J$<156>\E[30;1;0;30p\E[30;1H\E[K, 
7201         tsl=\E[>51h\E[1;%p1%dH\E[2K, 
7202         use=aaa+unk, 
7203 aaa-30-s-rv|aaa-s-rv|ann arbor ambassador/30 lines+status+reverse video, 
7204         use=aaa+rv, use=aaa-30-s, 
7205 aaa-s-ctxt|aaa-30-s-ctxt|ann arbor ambassador/30 lines+status+save context, 
7206         rmcup=\E[60;1;0;30p\E[59;1H\E[K, 
7207         smcup=\E[30;1H\E[K\E[30;1;0;30p, use=aaa-30-s, 
7208 aaa-s-rv-ctxt|aaa-30-s-rv-ct|ann arbor ambassador/30 lines+status+save context, 
7209         rmcup=\E[60;1;0;30p\E[59;1H\E[K, 
7210         smcup=\E[30;1H\E[K\E[30;1;0;30p, use=aaa-30-s-rv, 
7211 aaa|aaa-30|ambas|ambassador|ann arbor ambassador/30 lines, 
7212         lines#30, 
7213         is2=\E7\E[60;0;0;30p\E8, 
7214         rmcup=\E[60;0;0;30p\E[30;1H\E[K, 
7215         smcup=\E[H\E[J$<156>\E[30;0;0;30p, use=aaa+unk, 
7216 aaa-30-rv|aaa-rv|ann arbor ambassador/30 lines in reverse video, 
7217         use=aaa+rv, use=aaa-30, 
7218 aaa-30-ctxt|aaa-ctxt|ann arbor ambassador/30 lines; saving context, 
7219         rmcup=\E[60;0;0;30p\E[60;1H\E[K, smcup=\E[30;0;0;30p, 
7220         use=aaa-30, 
7221 aaa-30-rv-ctxt|aaa-rv-ctxt|ann arbor ambassador/30 lines reverse video; saving context, 
7222         rmcup=\E[60;0;0;30p\E[60;1H\E[K, smcup=\E[30;0;0;30p, 
7223         use=aaa+rv, use=aaa-30, 
7224 aaa-36|ann arbor ambassador/36 lines, 
7225         lines#36, 
7226         is2=\E7\E[60;0;0;36p\E8, 
7227         rmcup=\E[60;0;0;36p\E[36;1H\E[K, 
7228         smcup=\E[H\E[J$<156>\E[36;0;0;36p, use=aaa+unk, 
7229 aaa-36-rv|ann arbor ambassador/36 lines+reverse video, 
7230         use=aaa+rv, use=aaa-36, 
7231 aaa-40|ann arbor ambassador/40 lines, 
7232         lines#40, 
7233         is2=\E7\E[60;0;0;40p\E8, 
7234         rmcup=\E[60;0;0;40p\E[40;1H\E[K, 
7235         smcup=\E[H\E[J$<156>\E[40;0;0;40p, use=aaa+unk, 
7236 aaa-40-rv|ann arbor ambassador/40 lines+reverse video, 
7237         use=aaa+rv, use=aaa-40, 
7238 aaa-48|ann arbor ambassador/48 lines, 
7239         lines#48, 
7240         is2=\E7\E[60;0;0;48p\E8, 
7241         rmcup=\E[60;0;0;48p\E[48;1H\E[K, 
7242         smcup=\E[H\E[J$<156>\E[48;0;0;48p, use=aaa+unk, 
7243 aaa-48-rv|ann arbor ambassador/48 lines+reverse video, 
7244         use=aaa+rv, use=aaa-48, 
7245 aaa-60-s|ann arbor ambassador/59 lines+status, 
7246         eslok, hs, 
7247         lines#59, 
7248         dsl=\E7\E[60;0;0;60p\E[1;1H\E[K\E[H\E8\r\n\E[K, 
7249         fsl=\E[>51l, is2=\r\n\E[A\E7\E[60;1;0;60p\E8, 
7250         tsl=\E[>51h\E[1;%p1%dH\E[2K, 
7251         use=aaa+unk, 
7252 aaa-60-s-rv|ann arbor ambassador/59 lines+status+reverse video, 
7253         use=aaa+rv, use=aaa-60-s, 
7254 aaa-60-dec-rv|ann arbor ambassador/dec mode+59 lines+status+rev video, 
7255         use=aaa+dec, use=aaa+rv, use=aaa-60-s, 
7256 aaa-60|ann arbor ambassador/60 lines, 
7257         lines#60, 
7258         is2=\E7\E[60;0;0;60p\E[1Q\E[m\E[>20;30l\E8, use=aaa+unk, 
7259 aaa-60-rv|ann arbor ambassador/60 lines+reverse video, 
7260         use=aaa+rv, use=aaa-60, 
7261 aaa-db|ann arbor ambassador 30/destructive backspace, 
7262         cub1=\E[D, is3=\E[1Q\E[m\E[>20l\E[>30h, 
7263         use=aaa-30, 
7264
7265 guru|guru-33|guru+unk|ann arbor guru/33 lines 80 cols, 
7266         lines#33, 
7267         flash=\E[>59h$<100>\E[>59l, 
7268         is2=\E7\E[255;0;0;33;80;80p\E8\E[J, is3=\E[>59l, 
7269         rmcup=\E[255p\E[255;1H\E[K, smcup=\E[33p, 
7270         use=aaa+unk, 
7271 guru+rv|guru changes for reverse video, 
7272         flash=\E[>59l$<100>\E[>59h, is3=\E[>59h, 
7273 guru-rv|guru-33-rv|ann arbor guru/33 lines+reverse video, 
7274         use=guru+rv, use=guru-33, 
7275 guru+s|guru status line, 
7276         eslok, hs, 
7277         dsl=\E7\E[;0p\E[1;1H\E[K\E[H\E8\r\n\E[K, fsl=\E[>51l, 
7278         rmcup=\E[255;1p\E[255;1H\E[K, smcup=, 
7279         tsl=\E[>51h\E[1;%p1%dH\E[2K, 
7280 guru-nctxt|guru with no saved context, 
7281         smcup=\E[H\E[J$<156>\E[33p\E[255;1H\E[K, use=guru, 
7282 guru-s|guru-33-s|ann arbor guru/33 lines+status, 
7283         lines#32, 
7284         is2=\r\n\E[A\E7\E[255;1;0;33;80;80p\E8\E[J, 
7285         smcup=\E[33;1p\E[255;1H\E[K, 
7286         use=guru+s, use=guru+unk, 
7287 guru-24|ann arbor guru 24 lines, 
7288         cols#80, lines#24, 
7289         is2=\E7\E[255;0;0;24;80;80p\E8\E[J, smcup=\E[24p, use=guru+unk, 
7290 guru-44|ann arbor guru 44 lines, 
7291         cols#97, lines#44, 
7292         is2=\E7\E[255;0;0;44;97;100p\E8\E[J, smcup=\E[44p, use=guru+unk, 
7293 guru-44-s|ann arbor guru/44 lines+status, 
7294         lines#43, 
7295         is2=\r\n\E[A\E7\E[255;1;0;44;80;80p\E8\E[J, 
7296         smcup=\E[44;1p\E[255;1H\E[K, 
7297         use=guru+s, use=guru+unk, 
7298 guru-76|guru with 76 lines by 89 cols, 
7299         cols#89, lines#76, 
7300         is2=\E7\E[255;0;0;76;89;100p\E8\E[J, smcup=\E[76p, use=guru+unk, 
7301 guru-76-s|ann arbor guru/76 lines+status, 
7302         cols#89, lines#75, 
7303         is2=\r\n\E[A\E7\E[255;1;0;76;89;100p\E8\E[J, 
7304         smcup=\E[76;1p\E[255;1H\E[K, 
7305         use=guru+s, use=guru+unk, 
7306 guru-76-lp|guru-lp|guru with page bigger than line printer, 
7307         cols#134, lines#76, 
7308         is2=\E7\E[255;0;0;76;134;134p\E8\E[J, smcup=\E[76p, use=guru+unk, 
7309 guru-76-w|guru 76 lines by 178 cols, 
7310         cols#178, lines#76, 
7311         is2=\E7\E[255;0;0;76;178;178p\E8\E[J, smcup=\E[76p, use=guru+unk, 
7312 guru-76-w-s|ann arbor guru/76 lines+status+wide, 
7313         cols#178, lines#75, 
7314         is2=\r\n\E[A\E7\E[255;1;0;76;178;178p\E8\E[J, 
7315         smcup=\E[76;1p\E[255;1H\E[K, 
7316         use=guru+s, use=guru+unk, 
7317 guru-76-wm|guru 76 lines by 178 cols with 255 cols memory, 
7318         cols#178, lines#76, 
7319         is2=\E7\E[255;0;0;76;178;255p\E8\E[J, smcup=\E[76p, use=guru+unk, 
7320 aaa-rv-unk|ann arbor unknown type, 
7321         lh#0, lw#0, nlab#0, 
7322         blink=\E[5;7m, bold=\E[1;7m, home=\E[H, invis=\E[7;8m, 
7323         is1=\E[7m\E7\E[H\E9\E8, rev=\E[m, rmso=\E[7m, rmul=\E[7m, 
7324         rs1=\E[H\E[7m\E[J, 
7325         sgr=\E[%?%p1%!%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m, 
7326         sgr0=\E[7m, smso=\E[m, smul=\E[4;7m, 
7327
7328 #### Applied Digital Data Systems (adds)
7329 #
7330 # ADDS itself is long gone.  ADDS was bought by NCR, and the same group made
7331 # ADDS and NCR terminals.  When AT&T and NCR merged, the engineering for
7332 # terminals was merged again.  Then AT&T sold the terminal business to
7333 # SunRiver.  The engineers from Teletype, AT&T terminals, ADDS,
7334 # and NCR (who are still there as of early 1995) are at:
7335 #
7336 #       SunRiver Data Systems
7337 #       100 Marcus Boulevard
7338 #       Hauppauge, NY 11788-3762
7339 #       Vox: (800)-231-5445
7340 #       Fax: (516)-342-7378
7341 #
7342 # Their voice mail used to describe the place as "SunRiver (formerly ADDS)". 
7343 # In 1995 SunRiver acquired DEC's terminals business.
7344 #
7345
7346 # Regent: lowest common denominator, works on all regents.
7347 # (regent: renamed ":bc:" to ":le:" -- esr)
7348 regent|Adds Regent Series, 
7349         am, 
7350         cols#80, lines#24, 
7351         bel=^G, clear=^L, cr=^M, cub1=^U, cud1=^J, cuf1=^F, cuu1=^Z, 
7352         home=\EY\s\s, ind=^J, ll=^A, 
7353 # Regent 100 has a bug where if computer sends escape when user is holding
7354 # down shift key it gets confused, so we avoid escape.
7355 regent100|Adds Regent 100, 
7356         xmc#1, 
7357         bel=^G, cup=\013%p1%{32}%+%c%p2%p2%{6}%*%+\020%c, 
7358         kf0=^B1\r, kf1=^B2\r, kf2=^B3\r, kf3=^B4\r, kf4=^B5\r, 
7359         kf5=^B6\r, kf6=^B7\r, kf7=^B8\r, lf0=F1, lf1=F2, lf2=F3, 
7360         lf3=F4, lf4=F5, lf5=F6, lf6=F7, lf7=F8, rmso=\E0@, rmul=\E0@, 
7361         sgr0=\E0@, smso=\E0P, smul=\E0`, 
7362         use=regent, 
7363 regent20|Adds Regent 20, 
7364         bel=^G, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, ed=\Ek, el=\EK, use=regent, 
7365 regent25|Adds Regent 25, 
7366         bel=^G, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z, khome=^A, use=regent20, 
7367 regent40|Adds Regent 40, 
7368         xmc#1, 
7369         bel=^G, dl1=\El$<2*>, il1=\EM$<2*>, kf0=^B1\r, kf1=^B2\r, 
7370         kf2=^B3\r, kf3=^B4\r, kf4=^B5\r, kf5=^B6\r, kf6=^B7\r, 
7371         kf7=^B8\r, lf0=F1, lf1=F2, lf2=F3, lf3=F4, lf4=F5, lf5=F6, 
7372         lf6=F7, lf7=F8, rmso=\E0@, rmul=\E0@, sgr0=\E0@, smso=\E0P, 
7373         smul=\E0`, 
7374         use=regent25, 
7375 regent40+|Adds Regent 40+, 
7376         is2=\EB, use=regent40, 
7377 regent60|regent200|Adds Regent 60, 
7378         dch1=\EE, is2=\EV\EB, kdch1=\EE, kich1=\EF, krmir=\EF, 
7379         rmir=\EF, rmso=\ER\E0@\EV, smir=\EF, smso=\ER\E0P\EV, 
7380         use=regent40+, 
7381 # From: <edward@onyx.berkeley.edu> Thu Jul  9 09:27:33 1981
7382 # (viewpoint: added <kcuf1>, function key, and <dl1> capabilities -- esr)
7383 viewpoint|addsviewpoint|adds viewpoint, 
7384         am, 
7385         cols#80, lines#24, 
7386         bel=^G, clear=^L, cnorm=\017\E0`, cr=^M, cub1=^H, cud1=^J, 
7387         cuf1=^F, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, 
7388         cvvis=\017\E0P, dl1=\El, ed=\Ek$<16.1*>, el=\EK$<16>, 
7389         ind=^J, is2=\017\E0`, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z, 
7390         kf0=^B1, kf2=^B2, kf3=^B!, kf4=^B", kf5=^B#, khome=^A, ll=^A, 
7391         rmso=^O, rmul=^O, sgr0=^O, smso=^N, smul=^N, 
7392 # Some viewpoints have bad ROMs that foo up on ^O
7393 screwpoint|adds viewpoint with ^O bug, 
7394         cvvis@, rmso@, rmul@, smso@, smul@, use=viewpoint, 
7395
7396 # From: Jay S. Rouman <jsr@dexter.mi.org> 5 Jul 92
7397 # The <civis>/<cnorm>/<sgr>/<sgr0> strings were added by ESR from specs.  
7398 # Theory; the vp3a+ wants \E0%c to set highlights, where normal=01000000,
7399 # underline=01100000, rev=01010000, blink=01000010,dim=01000001,
7400 # invis=01000100 and %c is the logical or of desired attributes.
7401 # There is also a `tag bit' enabling attributes, set by \E) and unset by \E(.
7402 vp3a+|viewpoint3a+|adds viewpoint 3a+, 
7403         am, bw, 
7404         cols#80, it#8, lines#24, 
7405         civis=^W, clear=\E*$<80>, cnorm=^X, cr=^M, cub1=^H, cud1=^J, 
7406         cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
7407         ed=\EY$<80>, el=\ET, home=^^, ht=^I, ind=^J, kbs=^H, kcub1=^H, 
7408         kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, nel=^M^J, rmso=\E(, 
7409         sgr=\E0%'@'%?%p1%tQ%|%;%?%p2%t%'`'%|%;%?%p3%tP%|%;%?%p4%t%{2}%|%;%?%p5%t%{1}%|%;%?%p7%tD%|%;%c\E), 
7410         sgr0=\E(, smso=\E0Q\E), 
7411 vp60|viewpoint60|addsvp60|adds viewpoint60, 
7412         use=regent40, 
7413 #
7414 # adds viewpoint 90 - from cornell
7415 # Note:  emacs sends ei occasionally to insure the terminal is out of
7416 #        insert mode. This unfortunately puts the viewpoint90 IN insert
7417 #        mode.  A hack to get around this is <ich1=\EF\s\EF^U>.  (Also,
7418 #   -    :ei=:im=: must be present in the termcap translation.)
7419 #   -    <xhp> indicates glitch that attributes stick to location
7420 #   -    <msgr> means it's safe to move in standout mode
7421 #   -    <clear=\EG\Ek>: clears screen and visual attributes without affecting
7422 #               the status line
7423 # Function key and label capabilities merged in from SCO.
7424 vp90|viewpoint90|adds viewpoint 90, 
7425         bw, msgr, xhp, 
7426         cols#80, lines#24, 
7427         clear=\EG\Ek, cub1=^H, cud1=^J, cuf1=^F, 
7428         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dch1=\EE, 
7429         dl1=\El, ed=\Ek, el=\EK, home=\EY\s\s, ht=^I, 
7430         ich1=\EF \EF\025, ind=^J, kbs=^H, kcub1=^U, kcud1=^J, 
7431         kcuf1=^F, kcuu1=^Z, kf0=^B1\r, kf1=^B2\r, kf10=^B;\r, 
7432         kf2=^B3\r, kf3=^B4\r, kf4=^B5\r, kf5=^B6\r, kf6=^B7\r, 
7433         kf7=^B8\r, kf8=^B9\r, kf9=^B\:\r, khome=^A, lf0=F1, lf1=F2, 
7434         lf10=F11, lf2=F3, lf3=F4, lf4=F5, lf5=F6, lf6=F7, lf7=F8, lf8=F9, 
7435         lf9=F10, ll=^A, rmso=\ER\E0@\EV, rmul=\ER\E0@\EV, 
7436         sgr0=\ER\E0@\EV, smso=\ER\E0Q\EV, smul=\ER\E0`\EV, 
7437 # Note: if return acts weird on a980, check internal switch #2
7438 # on the top chip on the CONTROL pc board.
7439 adds980|a980|adds consul 980, 
7440         am, 
7441         cols#80, lines#24, 
7442         bel=^G, clear=\014$<1>\013@, cr=^M, cub1=^H, cud1=^J, 
7443         cuf1=\E^E01, cup=\013%p1%'@'%+%c\E\005%p2%2d, 
7444         dl1=\E\017$<13>, il1=\E\016$<13>, ind=^J, kf0=\E0, kf1=\E1, 
7445         kf2=\E2, kf3=\E3, kf4=\E4, kf5=\E5, kf6=\E6, kf7=\E7, kf8=\E8, 
7446         kf9=\E9, rmso=^O, sgr0=^O, smso=^Y^^^N, 
7447
7448 #### C. Itoh Electronics
7449 #
7450 # As of 1995 these people no longer make terminals (they're still in the
7451 # printer business).  Their terminals were all clones of the DEC VT series.
7452 # They're located in Orange County, CA.
7453 #
7454
7455 # CIT 80  - vt-52 emulator, the termcap has been modified to remove
7456 #           the delay times and do an auto tab set rather than the indirect
7457 #           file used in vt100.
7458 cit80|cit-80|citoh 80, 
7459         am, 
7460         cols#80, lines#24, 
7461         clear=\E[H\EJ, cr=^M, cub1=^H, cuf1=\E[C, 
7462         cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\EJ, el=\EK, ff=^L, 
7463         ind=^J, is2=\E>, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, 
7464         kcuu1=\EOA, rmkx=\E[?1l\E>, smkx=\E[?1h\E=, 
7465 # From: Tim Wood <mtxinu!sybase!tim> Fri Sep 27 09:39:12 PDT 1985
7466 # (cit101: added <rmam>/<smam> based on init string, merged this with c101 -- esr)
7467 cit101|citc|C.itoh fast vt100, 
7468         am, xenl, 
7469         cols#80, lines#24, 
7470         bel=^G, clear=\E[H\E[2J, cnorm=\E[V\E8, cub1=^H, cuf1=\E[C, 
7471         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, cvvis=\E7\E[U, 
7472         dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, 
7473         flash=\E[?5h$<200/>\E[?5l, ich1=\E[@, il1=\E[L, 
7474         is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[3g\E[>5g, 
7475         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
7476         rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
7477         sgr0=\E[m, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m, 
7478         smul=\E[4m, 
7479 # CIE Terminals CIT-101e from Geoff Kuenning <callan!geoff> via BRL
7480 # The following termcap entry was created from the Callan cd100 entry.  The
7481 # last two lines (with the capabilities in caps) are used by RM-cobol to allow
7482 # full selection of combinations of reverse video, underline, and blink.
7483 # (cit101e: emoved unknown :f0=\EOp:f1=\EOq:f2=\EOr:f3=\EOs:f4=\EOt:f5=\EOu:\
7484 # f6=\EOv:f7=\EOw:f8=\EOx:f9=\EOy:AB=\E[0;5m:AL=\E[m:AR=\E[0;7m:AS=\E[0;5;7m:\
7485 # :NB=\E[0;1;5m:NM=\E[0;1m:NR=\E[0;1;7m:NS=\E[0;1;5;7m: -- esr)
7486 cit101e|C. Itoh CIT-101e, 
7487         am, mir, msgr, 
7488         cols#80, it#8, lines#24, 
7489         acsc=, clear=\E[H\E[J, cnorm=, csr=\E[%i%p1%2d;%p2%2dr, 
7490         cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, 
7491         cvvis=\E[?1l\E[?4l\E[?7h, dch1=\E[P, dl1=\E[M, ed=\E[J, 
7492         el=\E[K, if=/usr/share/tabset/vt100, il1=\E[L, 
7493         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\EOT, 
7494         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOm, kf6=\EOl, 
7495         kf7=\EOM, kf8=\EOn, rc=\E8, ri=\EM, rmacs=^O, rmir=\E[4l, 
7496         rmkx=\E>, rmso=\E[m, rmul=\E[m, sc=\E7, smacs=^N, smir=\E[4h, 
7497         smkx=\E=, smso=\E[7m, smul=\E[4m, 
7498 cit101e-n|CIT-101e w/o am, 
7499         am@, 
7500         cvvis=\E[?1l\E[?4l\E[?7l, kbs=^H, kcub1=^H, kcud1=^J, use=cit101e, 
7501 cit101e-132|CIT-101e, 132 cols, 
7502         cols#132, 
7503         kbs=^H, kcub1=^H, kcud1=^J, use=cit101e, 
7504 cit101e-n132|CIT-101e, 132 cols w/o am, 
7505         am@, 
7506         cols#132, 
7507         cvvis=\E[?1l\E[?4l\E[?7l, kbs=^H, kcub1=^H, kcud1=^J, use=cit101e, 
7508 # CIE Terminals CIT-500 from BRL
7509 # The following SET-UP modes are assumed for normal operation:
7510 #       GENERATE_XON/XOFF:YES   DUPLEX:FULL             NEWLINE:OFF
7511 #       AUTOWRAP:ON             MODE:ANSI               SCREEN_LENGTH:64_LINES
7512 #       DSPLY_CNTRL_CODES?NO    PAGE_WIDTH:80           EDIT_MODE:OFF
7513 # Other SET-UP modes may be set for operator convenience or communication
7514 # requirements.
7515 # Hardware tabs are assumed to be set every 8 columns; they can be set up
7516 # by the "reset", "tset", or "tabs" utilities.  No delays are specified; use
7517 # "stty ixon -ixany" to enable DC3/DC1 flow control!
7518 # (cit500: I added <rmam>/<smam> based on the init string -- esr)
7519 cit500|CIE Terminals CIT-500, 
7520         mir, msgr, xon, 
7521         cols#80, it#8, lines#64, vt#3, 
7522         acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
7523         clear=\E[H\E[J, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
7524         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
7525         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
7526         cuu=\E[%p1%dA, cuu1=\EM, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
7527         ed=\EJ, el=\EK, home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, 
7528         il1=\E[L, ind=^J, is2=\E<\E)0, kbs=^H, kcbt=\E[Z, kcub1=\EOD, 
7529         kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[P, kdl1=\E[M, 
7530         ked=\EJ, kel=\EK, kf0=\EOP, kf1=\EOQ, kf2=\EOR, kf3=\EOS, 
7531         kf4=\EOU, kf5=\EOV, kf6=\EOW, kf7=\EOX, kf8=\EOY, kf9=\EOZ, 
7532         khome=\E[H, kich1=\E[4h, kil1=\E[L, krmir=\E[4l, lf0=PF1, 
7533         lf1=PF2, lf2=PF3, lf3=PF4, lf4=F15, lf5=F16, lf6=F17, lf7=F18, 
7534         lf8=F19, lf9=F20, ll=\E[64H, nel=\EE, rc=\E8, rev=\E[7m, 
7535         ri=\EM, rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, 
7536         rmso=\E[m, rmul=\E[m, 
7537         rs1=\E<\E2\E[20l\E[?6l\E[r\E[m\E[q\E(B\017\E)0\E>, 
7538         sc=\E7, sgr0=\E[m, smacs=^N, smam=\E[?7h, smir=\E[4h, 
7539         smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
7540
7541 # C. Itoh printers begin here
7542 citoh|ci8510|8510|c.itoh 8510a, 
7543         cols#80, it#8, 
7544         bold=\E!, cub1@, 
7545         is2=\E(009\,017\,025\,033\,041\,049\,057\,065\,073., 
7546         rep=\ER%p2%03d%p1%c, ri=\Er, rmul=\EY, sgr0=\E"\EY, 
7547         smul=\EX, 
7548         use=lpr, 
7549 citoh-pica|citoh in pica, 
7550         is1=\EN, use=citoh, 
7551 citoh-elite|citoh in elite, 
7552         cols#96, 
7553         is1=\EE, 
7554         is2=\E(009\,017\,025\,033\,041\,049\,057\,065\,073\,081\,089., use=citoh, 
7555 citoh-comp|citoh in compressed, 
7556         cols#136, 
7557         is1=\EQ, 
7558         is2=\E(009\,017\,025\,033\,041\,049\,057\,065\,073\,081\,089\,097\,105\,113\,121\,129., use=citoh, 
7559 # citoh has infinite cols because we don't want lp ever inserting \n\t**.
7560 citoh-prop|citoh-ps|ips|citoh in proportional spacing mode, 
7561         cols#32767, 
7562         is1=\EP, use=citoh, 
7563 citoh-6lpi|citoh in 6 lines per inch mode, 
7564         is3=\EA, use=citoh, 
7565 citoh-8lpi|citoh in 8 lines per inch mode, 
7566         lines#88, 
7567         is3=\EB, use=citoh, 
7568
7569 #### Control Data (cdc)
7570 #
7571
7572 cdc456|cdc 456 terminal, 
7573         am, 
7574         cols#80, lines#24, 
7575         bel=^G, clear=^Y^X, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
7576         cup=\E1%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dl1=\EJ, ed=^X, 
7577         el=^V, home=^Y, il1=\EL, ind=^J, 
7578
7579 # Assorted CDC terminals from BRL (improvements by DAG & Ferd Brundick)
7580 cdc721|CDC Viking, 
7581         am, 
7582         cols#80, lines#24, 
7583         clear=^L, cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c, 
7584         cuu1=^W, el=^K, home=^Y, kcub1=^H, kcud1=^J, kcuf1=^I, 
7585         kcuu1=^W, khome=^Y, 
7586 cdc721ll|CDC Vikingll, 
7587         am, 
7588         cols#132, lines#24, 
7589         clear=^L, cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c, 
7590         cuu1=^W, el=^K, home=^Y, kcub1=^H, kcud1=^J, kcuf1=^I, 
7591         kcuu1=^W, khome=^Y, 
7592 # (cdc752: the BRL entry had :ll=\E1  ^Z: commented out
7593 cdc752|CDC 752, 
7594         am, bw, xhp, 
7595         cols#80, lines#24, 
7596         bel=^G, clear=\030\E1\s\s, cr=^M, cub1=^H, cud1=^J, cuf1=^U, 
7597         cup=\E1%p2%{32}%+%c%p1%{32}%+%c, cuu1=^Z, el=^V, 
7598         home=\E1\s\s, ind=^J, ll=^Y, rs1=\E1  \030\002\003\017, 
7599 # CDC 756
7600 # The following switch/key settings are assumed for normal operation:
7601 #       96 chars        SCROLL          FULL duplex     not BLOCK
7602 # Other switches may be set according to communication requirements.
7603 # Insert/delete-character cannot be used, as the whole display is affected.
7604 # "so" & "se" are commented out until jove handles "sg" correctly.
7605 cdc756|CDC 756, 
7606         am, bw, 
7607         cols#80, lines#24, 
7608         bel=^G, clear=^Y^X, cr=^M, cub1=^H, cud1=^J, cuf1=^U, 
7609         cup=\E1%p2%{32}%+%c%p1%{32}%+%c, cuu1=^Z, 
7610         dl1=\EJ$<6*/>, ed=^X, el=^V, home=^Y, il1=\EL$<6*/>, ind=^J, 
7611         kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^U, kcuu1=^Z, kdch1=\EI, 
7612         kdl1=\EL, ked=^X, kel=^V, kf0=\EA, kf1=\EB, kf2=\EC, kf3=\ED, 
7613         kf4=\EE, kf5=\EF, kf6=\EG, kf7=\EH, kf8=\Ea, kf9=\Eb, khome=^Y, 
7614         khts=^O, kich1=\EK, kil1=\EL, lf0=F1, lf1=F2, lf2=F3, lf3=F4, 
7615         lf4=F5, lf5=F6, lf6=F7, lf7=F8, lf8=F9, lf9=F10, ll=^Y^Z, 
7616         rs1=\031\030\002\003\017, 
7617 #
7618 # CDC 721 from Robert Viduya, Ga. Tech. <ihnp4!gatech!gitpyr!robert> via BRL.
7619 #
7620 # Part of the long initialization string defines the "DOWN" key to the left
7621 # of the tab key to send an ESC.  The real ESC key is positioned way out 
7622 # in right field.
7623 #
7624 # The termcap won't work in 132 column mode due to the way it it moves the
7625 # cursor.  Termcap doesn't have the capability (as far as I could tell) to
7626 # handle the 721 in 132 column mode.
7627 #
7628 # (cdc721: changed :ri: to :sr: -- esr)
7629 cdc721-esc|Control Data 721, 
7630         am, bw, msgr, xon, 
7631         cols#80, it#8, lines#30, 
7632         bel=^G, blink=^N, cbt=^^^K, clear=^L, cub1=^H, cud1=^Z, 
7633         cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c, cuu1=^W, 
7634         dch1=^^N, dim=^\, dl1=^^Q, ed=^^P, el=^K, home=^Y, hts=^^^RW, 
7635         ich1=^^O, il1=^^R, ind=\036W =\036U, invis=^^^R[, 
7636         is2=\036\022B\003\036\035\017\022\025\035\036E\036\022H\036\022J\036\022L\036\022N\036\022P\036\022Q\036\022\\\036\022\^\036\022b\036\022i\036W =\036\022Z\036\011C1-` `!k/o, 
7637         kbs=^H, kcub1=^H, kcud1=^Z, kcuf1=^X, kcuu1=^W, kf0=^^q, 
7638         kf1=^^r, kf2=^^s, kf3=^^t, kf4=^^u, kf5=^^v, kf6=^^w, kf7=^^x, 
7639         kf8=^^y, kf9=^^z, khome=^Y, ll=^B =, rev=^^D, 
7640         ri=\036W =\036V, rmir=, rmkx=^^^Rl, rmso=^^E, rmul=^], 
7641         sgr0=\017\025\035\036E\036\022\\, smir=, smkx=^^^Rk, 
7642         smso=^^D, smul=^\, tbc=^^^RY, 
7643
7644 #### Getronics
7645 #
7646 # Getronics is a Dutch electronics company that at one time was called 
7647 # `Geveke' and made async terminals; but (according to the company itself!)
7648 # they've lost all their documentation on the command set.  The hardware
7649 # documentation suggests the terminals were actually manufactured by a
7650 # Taiwanese electronics company named Cal-Comp.  There are known
7651 # to have been at least two models, the 33 and the 50.
7652 #
7653
7654 # The 50 seems to be a top end vt220 clone, with the addition of a higher
7655 # screen resolution, a larger screen, at least 1 page of memory above and
7656 # below the screen, apparently pages of memory right and left of the screen
7657 # which can be panned, and about 75 function keys (15 function keys x normal,
7658 # shift, control, func A, func B). It also has more setup possibilities than
7659 # the vt220. The monitor case is dated November 1978 and the keyboard case is
7660 # May 1982.
7661 #
7662 # The vt100 emulation works as is.  The entry below describes the rather
7663 # non-conformant (but more featureful) ANSI mode.
7664 #
7665 # From: Stephen Peterson <stv@utrecht.ow.nl>, 27 May 1995
7666 visa50|geveke visa 50 terminal in ansi 80 character mode, 
7667         bw, mir, msgr, 
7668         cols#80, lines#25, 
7669         acsc=0_aaffggjjkkllmmnnqqttuuvvwwxxh ooss, bel=^G, 
7670         blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[2J, cr=^M, 
7671         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D, 
7672         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
7673         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
7674         dch=\E[%p1%dX, dch1=\E[X, dim=\E[2m, dl=\E[%p1%dM, 
7675         dl1=\E[M, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l, home=\E[H, 
7676         hpa=\E[%i%p1%dG, ht=^I, ich=\E[%p1%d@, ich1=\E[@, 
7677         il=\E[%p1%dL, il1=\E[L, ind=^J, invis=\E[8m, 
7678         is2=\E0;2m\E[1;25r\E[25;1H\E[?3l\E[?7h\E[?8h, 
7679         ka1=\E[f, ka3=\EOQ, kb2=\EOP, kbs=^H, kc1=\EOR, kc3=\EOS, 
7680         kcub1=\E[D, kcud1=\E[A, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177, 
7681         kdl1=\EOS, kf0=\E010, kf1=\E001, kf10=\E011, kf2=\E002, 
7682         kf3=\E003, kf4=\E004, kf5=\E005, kf6=\E006, kf7=\E007, 
7683         kf8=\E008, kf9=\E009, khome=\E[f, lf2=A delete char, 
7684         lf3=A insert line, lf4=A delete line, lf5=A clear, 
7685         lf6=A ce of/cf gn, lf7=A print, lf8=A on-line, 
7686         lf9=A funcl0=A send, nel=^M^J, rev=\E[7m, rmacs=\E[3l, 
7687         rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, rmso=\E[0;2m, 
7688         rmul=\E[0m, sgr0=\E[0;2m, smacs=\E3h, smam=\E?7h, 
7689         smir=\E[4h, smkx=\E=, smso=\E[2;7m, smul=\E[4m, tbc=\E[3g, 
7690         vpa=\E[%i%p1%dd, 
7691
7692 #### Human Designed Systems (Concept)
7693 #
7694 #       Human Designed Systems
7695 #       400 Fehley Drive
7696 #       King of Prussia, PA 19406
7697 #       Vox: (610)-277-8300
7698 #       Fax: (610)-275-5739
7699 #       Net: support@hds.com
7700
7701 # John Martin <john@hds.com> is their termcap expert.  They're mostly out of
7702 # the character-terminal business now (1995) and making X terminals.  In
7703 # particular, the whole `Concept' line described here was discontinued long
7704 # ago.
7705 #
7706
7707 # From: <vax135!hpk>  Sat Jun 27 07:41:20 1981
7708 # Extensive changes to c108 by arpavax:eric Feb 1982
7709 # Some unknown person at SCO then translated it to terminfo.
7710 #
7711 # There seem to be a number of different versions of the C108 PROMS
7712 # (with bug fixes in its Z-80 program).
7713
7714 # The first one that we had would lock out the keyboard of you
7715 # sent lots of short lines (like /usr/dict/words) at 9600 baud.
7716 # Try that on your C108 and see if it sends a ^S when you type it.
7717 # If so, you have an old version of the PROMs.
7718
7719 # You should configure the C108 to send ^S/^Q before running this.
7720 # It is much faster (at 9600 baud) than the c100 because the delays
7721 # are not fixed.
7722 # new status line display entries for c108-8p:
7723 # <is3> - init str #3 - setup term for status display - 
7724 # set programmer mode, select window 2, define window at last 
7725 # line of memory, set bkgnd stat mesg there, select window 0.
7726
7727 # <tsl> - to status line - select window 2, home cursor, erase to 
7728 # end-of-window, 1/2 bright on, goto(line#0, col#?)
7729
7730 # <fsl> - from status line - 1/2 bright off, select window 0
7731
7732 # <dsl> - disable status display - set bkgnd status mesg with 
7733 # illegal window #
7734
7735 # There are probably more function keys that should be added but 
7736 # I don't know what they are.
7737 #
7738 # No delays needed on c108 because of ^S/^Q handshaking
7739 #
7740 c108|concept108|c108-8p|concept108-8p|concept 108 w/8 pages, 
7741         is3=\EU\E z"\Ev\001\177 !p\E ;"\E z \Ev  \001\177p\Ep\n, 
7742         rmcup=\Ev  \001\177p\Ep\r\n, 
7743         use=c108-4p, 
7744 c108-4p|concept108-4p|concept 108 w/4 pages, 
7745         eslok, hs, xon, 
7746         pb@, 
7747         acsc=l\\qLkTxUmMjE, cnorm=\Ew, cr=^M, 
7748         cup=\Ea%p1%?%p1%{95}%>%t\001%{96}%-%;%{32}%+%c%p2%?%p2%{95}%>%t\001%{96}%-%;%{32}%+%c, 
7749         cvvis=\EW, dch1=\E 1$<16*>, dsl=\E ;\177, fsl=\Ee\E z\s, 
7750         ind=^J, is1=\EK\E!\E F, 
7751         is3=\EU\E z"\Ev\177 !p\E ;"\E z \Ev  \001 p\Ep\n, 
7752         rmacs=\Ej\s, rmcup=\Ev  \001 p\Ep\r\n, smacs=\Ej!, 
7753         smcup=\EU\Ev  8p\Ep\r\E\025, 
7754         tsl=\E z"\E?\E\005\EE\Ea %+\s, use=c100, 
7755 c108-rv|c108-rv-8p|concept 108 w/8 pages in reverse video, 
7756         rmcup=\Ev  \002 p\Ep\r\n, smcup=\EU\Ev  8p\Ep\r, 
7757         use=c108-rv-4p, 
7758 c108-rv-4p|concept108rv4p|concept 108 w/4 pages in reverse video, 
7759         flash=\EK$<200>\Ek, is1=\Ek, rmso=\Ee, smso=\EE, 
7760         use=c108-4p, 
7761 c108-w|c108-w-8p|concept108-w-8|concept108-w8p|concept 108 w/8 pages in wide mode, 
7762         cols#132, 
7763         is1=\E F\E", rmcup=\Ev  ^A0\001D\Ep\r\n, 
7764         smcup=\EU\Ev  8\001D\Ep\r, use=c108-8p, 
7765
7766 # Concept 100:
7767 # These have only window relative cursor addressing, not screen 
7768 # relative. To get it to work right here, smcup/rmcup (which 
7769 # were invented for the concept) lock you into a one page 
7770 # window for screen style programs.
7771
7772 # To get out of the one page window, we use a clever trick:
7773 # we set the window size to zero ("\Ev    " in rmcup) which the 
7774 # terminal recognizes as an error and resets the window to all 
7775 # of memory.
7776
7777 # This trick works on c100 but does not on c108, sigh.
7778
7779 # Some tty drivers use cr3 for concept, others use nl3, hence 
7780 # the delays on cr and ind below. This padding is only needed at 
7781 # 9600 baud and up.  One or the other is commented out depending on 
7782 # local conventions.
7783
7784 # 2 ms padding on <rmcup> isn't always enough. 6 works fine. Maybe 
7785 # less than 6 but more than 2 will work.
7786
7787 # Note: can't use function keys f7-f10 because they are 
7788 # indistinguishable from arrow keys (!), also, del char and 
7789 # clear eol use xon/xoff so they probably won't work very well.
7790
7791 # Also note that we don't define insrt/del char/delline/eop/send 
7792 # because they don't transmit unless we reset them - I figured 
7793 # it was a bad idea to clobber their definitions.
7794
7795 # The <mc5> sequence changes the escape character to ^^ so that 
7796 # escapes will be passed through to the printer. Only trouble 
7797 # is that ^^ won't be - ^^ was chosen to be unlikely. 
7798 # Unfortunately, if you're sending raster bits through to be 
7799 # plotted, any character you choose will be likely, so we lose.
7800 #
7801 # \EQ"\EY(^W (send anything from printer to host, for xon/xoff) 
7802 # cannot be # in is2 because it will hang a c100 with no printer 
7803 # if sent twice.
7804 c100|concept100|concept|c104|c100-4p|hds concept 100, 
7805         am, eo, mir, ul, xenl, 
7806         cols#80, lines#24, pb#9600, vt#8, 
7807         bel=^G, blink=\EC, clear=\E?\E\005$<2*>, cr=$<9>\r, 
7808         cub1=^H, cud1=^J, cuf1=\E=, 
7809         cup=\Ea%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E;, 
7810         dch1=\E\021$<16*>, dim=\EE, dl1=\E\002$<3*>, 
7811         ed=\E\005$<16*>, el=\E\025$<16>, flash=\Ek$<200>\EK, 
7812         ht=\011$<8>, il1=\E\022$<3*>, ind=^J, invis=\EH, ip=$<16*>, 
7813         is1=\EK, 
7814         is2=\EU\Ef\E7\E5\E8\El\ENH\E\200\Eo&\200\Eo'\E\Eo!\200\E\007!\E\010A@ \E4#\:"\E\:a\E4#;"\E\:b\E4#<"\E\:c, 
7815         is3=\Ev    $<6>\Ep\n, kbs=^H, kcbt=\E', kctab=\E_, 
7816         kcub1=\E>, kcud1=\E<, kcuf1=\E=, kcuu1=\E;, kdch1=\E^Q, 
7817         kdl1=\E^B, ked=\E^C, kel=\E^S, kf1=\E5, kf2=\E6, kf3=\E7, 
7818         kf4=\E8, kf5=\E9, kf6=\E\:a, kf7=\E\:b, kf8=\E\:c, khome=\E?, 
7819         khts=\E], kich1=\E^P, kil1=\E^R, kind=\E[, knp=\E-, kpp=\E., 
7820         kri=\E\\, krmir=\E\200, mc4=\036o \E\EQ!\EYP\027, 
7821         mc5=\EQ"\EY(\027\EYD\Eo \036, prot=\EI, 
7822         rep=\Er%p1%c%p2%{32}%+%c$<.2*>, rev=\ED, 
7823         rmcup=\Ev    $<6>\Ep\r\n, rmir=\E\s\s, rmkx=\Ex, 
7824         rmso=\Ed, rmul=\Eg, sgr0=\EN@, 
7825         smcup=\EU\Ev  8p\Ep\r\E\025$<16>, smir=\E^P, smkx=\EX, 
7826         smso=\ED, smul=\EG, 
7827 c100-rv|c100-rv-4p|concept100-rv|c100 rev video, 
7828         cnorm@, cvvis@, flash=\EK$<200>\Ek, is1=\Ek, rmso=\Ee, 
7829         smso=\EE, 
7830         use=c100, 
7831 oc100|oconcept|c100-1p|old 1 page concept 100, 
7832         in, 
7833         is3@, use=c100, 
7834
7835 # <ht> through <el> included to specify padding needed in raw mode.
7836 # (avt-ns: added empty <acsc> to suppress a tic warning --esr)
7837 avt-ns|concept avt no status line, 
7838         am, eo, mir, ul, xenl, xon, 
7839         cols#80, it#8, lines#24, lm#192, 
7840         acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
7841         clear=\E[H\E[J$<38>, cnorm=\E[=119l, cr=^M, 
7842         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
7843         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
7844         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
7845         cvvis=\E[=119h, dch1=\E[P, dim=\E[1!{, dl=\E[%p1%dM$<4*>, 
7846         dl1=\E[M$<4>, ed=\E[J$<96>, el=\E[K$<6>, home=\E[H, 
7847         hpa=\E[%p1%{1}%+%dG, ht=\011$<4>, hts=\EH, ich=\E[%p1%d@, 
7848         ich1=\E[@, il=\E[%p1%dL$<4*>, il1=\E[L$<4>, ind=\n$<8>, 
7849         invis=\E8m, ip=$<4>, is1=\E[=103l\E[=205l, 
7850         is2=\E[1*q\E[2!t\E[7!t\E[=4;101;119;122l\E[=107;118;207h\E)1\E[1Q\EW\E[!y\E[!z\E>\E[0\:0\:32!r\E[0*w\E[w\E2\r\n\E[2;27!t, 
7851         kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
7852         kdch1=\E^B\r, ked=\E^D\r, kf1=\EOP, kf2=\EOQ, kf3=\EOR, 
7853         kf4=\EOS, khome=\E[H, kich1=\E^A\r, kil1=\E^C\r, ll=\E[24H, 
7854         mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, 
7855         pfloc=\E[%p1%d;0u#%p2%s#, pfx=\E[%p1%d;1u#%p2%s#, 
7856         prot=\E[99m, rc=\E8, rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, 
7857         ri=\EM$<4>, rmacs=\016$<1>, rmcup=\E[w\E2\r\n, rmir=\E4l, 
7858         rmkx=\E[!z\E[0;2u, rmso=\E[7!{, rmul=\E[4!{, sc=\E7, 
7859         sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m, 
7860         sgr0=\E[m, smacs=\017$<1>, smcup=\E[=4l\E[1;24w\E2\r, 
7861         smir=\E1, smkx=\E[1!z\E[0;3u, smso=\E[7m, smul=\E[4m, 
7862         tbc=\E[2g, vpa=\E[%p1%{1}%+%dd, 
7863 avt-rv-ns|concept avt in reverse video mode/no status line, 
7864         flash=\E[=205l$<200>\E[=205h, is1=\E[=103l\E[=205h, 
7865         use=avt-ns, 
7866 avt-w-ns|concept avt in 132 column mode/no status line, 
7867         is1=\E[=103h\E[=205l, smcup=\E[H\E[1;24;1;132w, 
7868         use=avt-ns, 
7869 avt-w-rv-ns|concept avt in 132 column mode/no status line/reverse video, 
7870         flash=\E[=205l$<200>\E[=205h, is1=\E[=103h\E[=205h, 
7871         smcup=\E[H\E[1;24;1;132w, 
7872         use=avt-ns, 
7873
7874 # Concept AVT with status line. We get the status line using the
7875 # "Background status line" feature of the terminal. We swipe the
7876 # first line of memory in window 2 for the status line, keeping
7877 # 191 lines of memory and 24 screen lines for regular use.
7878 # The first line is used instead of the last so that this works
7879 # on both 4 and 8 page AVTs. (Note the lm#191 or 192 - this
7880 # assumes an 8 page AVT but lm isn't currently used anywhere.)
7881 #
7882 avt+s|concept avt status line changes, 
7883         eslok, hs, 
7884         lm#191, 
7885         dsl=\E[0*w, fsl=\E[1;1!w, 
7886         is3=\E[2w\E[2!w\E[1;1;1;80w\E[H\E[2*w\E[1!w\E2\r\n, 
7887         rmcup=\E[2w\E2\r\n, smcup=\E[2;25w\E2\r, 
7888         tsl=\E[2;1!w\E[;%p1%dH\E[2K, 
7889 avt|avt-s|concept-avt|avt w/80 columns, 
7890         use=avt+s, use=avt-ns, 
7891 avt-rv|avt-rv-s|avt reverse video w/sl, 
7892         flash=\E[=205l$<200>\E[=205h, is1=\E[=103l\E[=205h, use=avt+s, 
7893         use=avt-ns, 
7894 avt-w|avt-w-s|concept avt 132 cols+status, 
7895         is1=\E[=103h\E[=205l, smcup=\E[H\E[1;24;1;132w, use=avt+s, 
7896         use=avt-ns, 
7897 avt-w-rv|avt-w-rv-s|avt wide+status+rv, 
7898         flash=\E[=205l$<200>\E[=205h, is1=\E[=103h\E[=205h, 
7899         smcup=\E[H\E[1;24;1;132w, 
7900         use=avt+s, use=avt-ns, 
7901
7902 #### Contel Business Systems. 
7903 #
7904
7905 # Contel c300 and c320 terminals. 
7906 contel300|contel320|c300|Contel Business Systems C-300 or C-320, 
7907         am, in, xon, 
7908         cols#80, lines#24, xmc#1, 
7909         bel=^G, clear=\EK, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
7910         cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA, 
7911         dch1=\EO$<5.5*>, dl1=\EM$<5.5*>, ed=\EJ$<5.5*>, 
7912         el=\EI$<5.5>, flash=\020\002$<200/>\020\003, home=\EH, 
7913         hts=\E1, ich1=\EN, il1=\EL$<5.5*>, ind=^J, ip=$<5.5*>, 
7914         kbs=^H, kf0=\ERJ, kf1=\ERA, kf2=\ERB, kf3=\ERC, kf4=\ERD, 
7915         kf5=\ERE, kf6=\ERF, kf7=\ERG, kf8=\ERH, kf9=\ERI, ll=\EH\EA, 
7916         rmso=\E!\200, sgr0=\E!\200, smso=\E!\r, tbc=\E3, 
7917 # Contel c301 and c321 terminals.
7918 contel301|contel321|c301|c321|Contel Business Systems C-301 or C-321, 
7919         flash@, ich1@, ip@, rmso=\E!\200$<20>, smso=\E!\r$<20>, 
7920         use=contel300, 
7921
7922 #### Data General (dg)
7923 #
7924 # According to James Carlson <carlson@xylogics.com> writing in January 1995,
7925 # the terminals group at Data General was shut down in 1991; all these
7926 # terminals have thus been discontinued.
7927 #
7928
7929 # According to the 4.4BSD termcap file, the dg200 <cup> should be the
7930 # termcap equivalent of \020%p2%{128}%+%c%p1%{128}%+%c (in termcap
7931 # notation that's "^P%r%+\200%+\200").  Those \200s are suspicious,
7932 # maybe they were originally nuls (which would fit).
7933 dg200|data general dasher 200, 
7934         am, bw, 
7935         cols#80, lines#24, 
7936         bel=^G, clear=^L, cr=^M, cub1=^Y, cud1=^Z, cuf1=^X, 
7937         cup=\020%p2%c%p1%c, cuu1=^W, el=^K, home=^H, ind=^J, 
7938         kcub1=^Y, kcud1=^Z, kcuf1=^X, kcuu1=^W, kf0=^^z, kf1=^^q, 
7939         kf2=^^r, kf3=^^s, kf4=^^t, kf5=^^u, kf6=^^v, kf7=^^w, kf8=^^x, 
7940         kf9=^^y, khome=^H, lf0=f10, nel=^J, rmso=^^E, rmul=^U, 
7941         smso=^^D, smul=^T, 
7942 # Data General 210/211 (and 410?)       from Lee Pearson (umich!lp) via BRL
7943 dg210|dg-ansi|Data General 210/211, 
7944         am, 
7945         cols#80, lines#24, 
7946         clear=\E[2J, cud1=\E[B, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
7947         ed=\E[J, el=\E[K, home=\E[H, kcub1=\E[D, kcud1=\E[B, 
7948         kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, nel=\r\E[H\E[A\n, 
7949         rmso=\E[0;m, rmul=\E[0;m, smso=\E[7;m, smul=\E[4;m, 
7950 # From: Peter N. Wan <ihnp4!gatech!gacsr!wan>
7951 # courtesy of Carlos Rucalde of Vantage Software, Inc.
7952 # (dg211: this had <cup=\020%r%.%>., which was an ancient termcap hangover.
7953 # I suspect the d200 function keys actually work on the dg211, check it out.)
7954 dg211|Data General d211, 
7955         cnorm=^L, cvvis=^L^R, ht=^I, ind@, kbs=^Y, kf0@, kf1@, kf2@, kf3@, 
7956         kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, lf0@, nel=^M^Z, rmcup=^L, 
7957         rmso=\036E$<\200/>, smcup=^L^R, smso=\036D$<5/>, 
7958         use=dg200, 
7959 # dg450 from cornell
7960 dg450|dg6134|data general 6134, 
7961         cub1@, cuf1=^X, use=dg200, 
7962 # Note: lesser Dasher terminals will not work with vi because vi insists upon
7963 # having a command to move straight down from any position on the bottom line
7964 # and scroll the screen up, or a direct vertical scroll command.  The 460 and
7965 # above have both, the D210/211, for instance, has neither.  We must use ANSI
7966 # mode rather than DG mode because standard UNIX tty drivers assume that ^H is
7967 # backspace on all terminals.  This is not so in DG mode.
7968 # (dg460-ansi: removed obsolete ":kn#6:"; also removed ":mu=\EW:", on the
7969 # grounds that there is no matching ":ml:"
7970 # fixed garbled ":k9=\E[00\:z:" capability -- esr)
7971 dg460-ansi|Data General Dasher 460 in ANSI-mode, 
7972         am, msgr, ul, 
7973         cols#80, it#8, lines#24, 
7974         blink=\E[5m, clear=\E[2J, cub1=^H, cud1=\E[B, cuf1=\E[C, 
7975         cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, dch1=\E[P, dim=\E[2m, 
7976         dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, 
7977         il1=\E[L, ind=\E[S, is2=^^F@, kbs=\E[D, kcub1=\E[D, 
7978         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\E[001z, 
7979         kf1=\E[002z, kf2=\E[003z, kf3=\E[004z, kf4=\E[005z, 
7980         kf5=\E[006z, kf6=\E[007z, kf7=\E[008z, kf8=\E[009z, 
7981         kf9=\E[010z, khome=\E[H, lf0=f1, lf1=f2, lf2=f3, lf3=f4, 
7982         lf4=f5, lf5=f6, lf6=f7, lf7=f8, lf9=f10, rev=\E[7m, ri=\E[T, 
7983         rmso=\E[m, rmul=\E[05, sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
7984 # From: Wayne Throop <mcnc!rti-sel!rtp47!throopw>
7985 # Data General 605x     
7986 # Ought to work for a Model 6242, Type D210 as well as a 605x.
7987 # Note that the cursor-down key transmits ^Z.  Job control users, beware!
7988 # This also matches a posted description of something called a `Dasher 100'
7989 # so there's a dg100 alias here. 
7990 # (dg6053: the 4.4BSD file had <cub1=^H>, <cud1=^J>, <cuf1=^S>. -- esr) 
7991 dg6053|dg100|data general 6053, 
7992         am, bw, ul, 
7993         cols#80, lines#24, 
7994         bel=^G, clear=^L, cnorm=^L, cr=^M, cub1=^Y, cud1=^Z, cuf1=^X, 
7995         cup=\020%p2%c%p1%c, cuu1=^W, cvvis=^L^R, el=^K, home=^H, 
7996         ht=^I, is2=^R, kbs=^Y, kcub1=^Y, kcud1=^Z, kcuf1=^X, kcuu1=^W, 
7997         kf0=^^q, kf1=^^r, kf2=^^s, kf3=^^t, kf4=^^u, kf5=^^v, kf6=^^w, 
7998         kf7=^^x, kf8=^^y, kf9=^^z, khome=^H, rmcup=^L, rmso=\200^^E, 
7999         rmul=^U, smcup=^L^R, smso=\200\200\200\200\200\036D, 
8000         smul=^T, 
8001
8002 #### Datamedia (dm)
8003 #
8004 # Datamedia was headquartered in Nashua, New Hampshire in 1993.
8005 # As of early 1996, at least one company called `Datamedia' has been taken
8006 # over by:
8007 #
8008 #    Axent Technologies, Inc.
8009 #    2400 Research Boulevard
8010 #    Rockville, Maryland 20850
8011 #    voice: +1 301/258-5043
8012 #      fax: +1 301/330-5756
8013 #    email: <info@axent.com>
8014 #
8015 # makers of OmniGuard client/server security software.  They are a software
8016 # only company and no longer make terminals.  However, the operator there
8017 # told me that she had once spoken to a customer looking for Datamedia
8018 # terminals who'd mentioned a Datamedia in New Jersey.  This is backed up
8019 # by comp.terminals poosting describing the ID plate on the back of a
8020 # "Datamedia 3000" terminal.  Was this an earlier incarnation of Axent?
8021 # Inquiring minds want to know...
8022 #
8023
8024 cs10|colorscan|Datamedia Color Scan 10, 
8025         msgr, 
8026         cols#80, lines#24, 
8027         bel=^G, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
8028         cup=\E[%i%p1%02d;%p2%02dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
8029         ind=^J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
8030         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, rmso=\E[m, rmul=\E[m, 
8031         sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
8032 cs10-w|Datamedia Color Scan 10 with 132 columns, 
8033         cols#132, 
8034         cup=\E[%i%p1%02d;%p2%03dH, use=cs10, 
8035
8036 # (dm1520: removed obsolete ":ma=^\ ^_^P^YH:" -- esr)
8037 dm1520|dm1521|datamedia 1520, 
8038         am, xenl, 
8039         cols#80, it#8, lines#24, 
8040         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^\, 
8041         cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
8042         home=^Y, ht=^I, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^\, kcuu1=^_, 
8043         khome=^Y, 
8044 dm2500|datamedia2500|datamedia 2500, 
8045         cols#80, lines#24, 
8046         bel=^G, clear=^^^^\177, cub1=^H, cud1=^J, cuf1=^\, 
8047         cup=\014%p2%{96}%^%c%p1%{96}%^%c, cuu1=^Z, 
8048         dch1=\020\010\030\035$<10*>, 
8049         dl1=\020\032\030\035$<10*>, el=^W, home=^B, 
8050         ich1=\020\034\030\035$<10*>, 
8051         il1=\020\n\030\035\030\035$<15>, ind=^J, pad=\377, 
8052         rmdc=^X^], rmir=\377\377\030\035$<10>, rmso=^X^], 
8053         smdc=^P, smir=^P, smso=^N, 
8054 # dmchat is like DM2500, but DOES need "all that padding" (jcm 1/31/82)
8055 # also, has a meta-key.
8056 # From: <goldberger@su-csli.arpa>
8057 # (dmchat: ":MT:" changed to ":km:" -- esr)
8058 dmchat|dmchat version of datamedia 2500, 
8059         km, 
8060         dl1=\020\032\030\035$<2/>, 
8061         il1=\020\n\030\035\030\035$<1*/>, use=dm2500, 
8062 # (dm3025: ":MT:" changed to ":km:" -- esr)
8063 dm3025|datamedia 3025a, 
8064         km, 
8065         cols#80, it#8, lines#24, 
8066         bel=^G, clear=\EM$<2>, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
8067         cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, 
8068         dch1=\010$<6>, dl1=\EP\EA\EQ$<130>, ed=\EJ$<2>, el=\EK, 
8069         home=\EH, ht=^I, il1=\EP\n\EQ$<130>, ind=^J, ip=$<6>, 
8070         is2=\EQ\EU\EV, rmdc=\EQ, rmir=\EQ, rmso=\EO0, smdc=\EP, 
8071         smir=\EP, smso=\EO1, 
8072 dm3045|datamedia 3045a, 
8073         am, eo, km@, ul, xenl, 
8074         dch1=\EB$<6>, dl1@, il1@, is2=\EU\EV, kcuf1=\EC, kcuu1=\EA, 
8075         kf0=\Ey\r, kf1=\Ep\r, kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r, 
8076         kf5=\Et\r, kf6=\Eu\r, kf7=\Ev\r, kf8=\Ew\r, kf9=\Ex\r, 
8077         khome=\EH, pad=\177, rmdc@, rmir=\EP, rmso@, smdc@, smso@, 
8078         use=dm3025, 
8079 # Datamedia DT80 soft switches:
8080 # 1     0=Jump  1=Smooth
8081 #       Autorepeat      0=off  1=on
8082 #       Screen          0=Dark 1=light
8083 #       Cursor          0=u/l  1=block
8084
8085 # 2     Margin Bell     0=off  1=on
8086 #       Keyclick        0=off  1=on
8087 #       Ansi/VT52       0=VT52 1=Ansi
8088 #       Xon/Xoff        0=Off  1=On
8089
8090 # 3     Shift3          0=Hash 1=UK Pound
8091 #       Wrap            0=Off  1=On
8092 #       Newline         0=Off  1=On
8093 #       Interlace       0=Off  1=On
8094 #       
8095 # 4     Parity          0=Odd  1=Even
8096 #       Parity          0=Off  1=On
8097 #       Bits/Char       0=7    1=8
8098 #       Power           0=60Hz 1=50Hz
8099
8100 # 5     Line Interface  0=EIA  1=Loop
8101 #       Aux Interface   0=EIA  1=Loop
8102 #       Local Copy      0=Off  1=On     
8103 #       Spare
8104
8105 # 6     Aux Parity      0=Odd  1=Even
8106 #       Aux Parity      0=Off  1=On
8107 #       Aux Bits/Char   0=7    1=8
8108 #       CRT Saver       0=Off  1=On
8109 # dm80/1 is a vt100 lookalike, but it doesn't seem to need any padding.
8110 dm80|dmdt80|dt80|datamedia dt80/1, 
8111         clear=\E[2J\E[H, cud1=^J, cuf1=\E[C, 
8112         cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
8113         home=\E[H, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, ri=\EM, 
8114         rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
8115         use=vt100, 
8116 # except in 132 column mode, where it needs a little padding.
8117 # This is still less padding than the vt100, and you can always turn on
8118 # the ^S/^Q handshaking, so you can use vt100 flavors for things like
8119 # reverse video.
8120 dm80w|dmdt80w|dt80w|datamedia dt80/1 in 132 char mode, 
8121         cols#132, 
8122         clear=\E[H\E[2J$<50/>, cud1=^J, 
8123         cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<5/>, 
8124         ed=\E[0J$<20/>, el=\E[0K$<20/>, use=dm80, 
8125 # From: Adam Thompson <thompson@xanth.magic.mb.ca> Sept 10 1995
8126 dt80-sas|Datamedia DT803/DTX for SAS usage, 
8127         am, bw, 
8128         cols#80, lines#24, 
8129         acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~, 
8130         bel=^G, clear=^L, cr=^M, 
8131         csr=\E=%p1%' '%+%c%' '%c\E#1\E=%p2%' '%+%c%' '%c\E#2, 
8132         cub1=^H, cud1=\EB, cuf1=^\, 
8133         cup=\E=%p2%' '%+%c%p1%' '%+%c, cuu1=^_, dl1=\EM, ed=^K, 
8134         el=^], ff=^L, home=^Y, ht=^I, hts=\E'1, il1=\EL, ind=\EB, 
8135         is2=\E)0\E<\EP\E'0\E$2, kclr=^L, kcub1=^H, kcud1=^J, 
8136         kcuf1=^\, kcuu1=^_, ked=^K, kel=^], khome=^Y, mc4=^O, mc5=^N, 
8137         rev=\E$2\004, ri=\EI, rmacs=\EG, rmso=^X, sgr0=^X, smacs=\EF, 
8138         smso=\E$2\004, tbc=\E'0, 
8139
8140 # Datamedia Excel 62, 64 from Gould/SEL UTX/32 via BRL
8141 # These aren't end-all Excel termcaps; but do insert/delete char/line
8142 # and name some of the extra function keys.  (Mike Feldman ccvaxa!feldman)
8143 # The naming convention has been bent somewhat, with the use of E? (where
8144 # E is for 'Excel') as # a name.  This was done to distinguish the entries
8145 # from the other Datamedias in use here, and yet to associate a model of
8146 # the Excel terminals with the regular datamedia terminals that share
8147 # major characteristics.
8148 excel62|excel64|datamedia Excel 62, 
8149         dch1=\E[P, kbs=^H, kcub1=^H, kcud1=^J, kf5=\EOu, kf6=\EOv, 
8150         kf7=\EOw, kf8=\EOx, kf9=\EOy, rmir=\E[4l, smir=\E[4h, 
8151         use=dt80, 
8152 excel62-w|excel64-w|datamedia Excel 62 in 132 char mode, 
8153         dch1=\E[P, kbs=^H, kcub1=^H, kcud1=^J, kf5=\EOu, kf6=\EOv, 
8154         kf7=\EOw, kf8=\EOx, kf9=\EOy, rmir=\E[4l, smir=\E[4h, 
8155         use=dt80w, 
8156 excel62-rv|excel64-rv|datamedia Excel 62 in reverse video mode, 
8157         dch1=\E[P, flash=\E[?5l\E[?5h, kbs=^H, kcub1=^H, kcud1=^J, 
8158         kf5=\EOu, kf6=\EOv, kf7=\EOw, kf8=\EOx, kf9=\EOy, rmir=\E[4l, 
8159         smir=\E[4h, 
8160         use=dt80, 
8161
8162 #### Falco
8163 #
8164 #       Falco Data Products
8165 #       440 Potrero Avenue
8166 #       Sunnyvale, CA 940864-196
8167 #       Vox: (800)-325-2648
8168 #       Fax: (408)-745-7860
8169 #       Net: techsup@charm.sys.falco.com
8170 #
8171 # Current Falco models as of 1995 are generally ANSI-compatible and support
8172 # emulations of DEC VT-series, Wyse, and Televideo types.
8173 #
8174
8175 # Test version for Falco ts-1. See <arpavax.hickman@ucb> for info
8176 # This terminal was released around 1983 and was discontinued long ago.
8177 # The standout and underline highlights are the same.
8178 falco|ts1|ts-1|falco ts-1, 
8179         am, 
8180         cols#80, it#8, lines#24, 
8181         bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
8182         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
8183         dl1=\ER, ed=\EY, el=\ET\EG0\010, home=^^, ht=^I, il1=\EE, 
8184         ind=^J, is2=\Eu\E3, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
8185         kf0=^A0\r, rmir=\Er, rmso=\Eg0, rmul=\Eg0, sgr0=\Eg0, 
8186         smir=\Eq, smso=\Eg1, smul=\Eg1, 
8187 falco-p|ts1p|ts-1p|falco ts-1 with paging option, 
8188         am, da, db, mir, msgr, ul, 
8189         cols#80, it#8, lines#24, 
8190         bel=^G, cbt=\EI, clear=\E*, cr=^M, cub1=^H, cud1=\E[B, 
8191         cuf1=\E[C, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E[A, 
8192         dch1=\EW, dl1=\ER, ed=\EY, el=\ET\EG0\010\Eg0, ht=^I, 
8193         il1=\EE, ind=^J, is2=\EZ\E3\E_c, kcub1=\E[D, kcud1=\E[B, 
8194         kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, rmcup=\E_b, rmir=\Er, 
8195         rmso=\Eg0, rmul=\Eg0, sgr0=\Eg0, smcup=\E_d, smir=\Eq, 
8196         smso=\Eg4, smul=\Eg1, 
8197 # (ts100: I added <rmam>/<smam> based on the init string -- esr)
8198 ts100|ts100-sp|falco ts100-sp, 
8199         am, mir, msgr, xenl, xon, 
8200         cols#80, it#8, lines#24, vt#3, 
8201         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
8202         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
8203         clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
8204         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
8205         cuf=\E[%p1%dC, cuf1=\E[C$<2>, 
8206         cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, 
8207         cuu1=\E[A$<2>, dch1=\E~W, dl1=\E~R, ed=\E[J$<50>, 
8208         el=\E[K$<3>, el1=\E[1K$<3>, enacs=\E(B\E)0, home=\E[H, 
8209         ht=^I, hts=\EH, ich1=\E~Q, il1=\E~E, ind=^J, is1=\E~)\E~ea, 
8210         ka1=\EOq, ka3=\EOs, kb2=\EOr, kbs=^H, kc1=\EOp, kc3=\EOn, 
8211         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kent=\EOM, 
8212         kf0=\EOy, kf1=\EOP, kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
8213         kf5=\EOt, kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, rc=\E8, 
8214         rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l, 
8215         rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>, 
8216         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
8217         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
8218         sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, 
8219         smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, 
8220 ts100-ctxt|falco ts-100 saving context, 
8221         rmcup=\E~_b, smcup=\E~_d\E[2J, use=ts100, 
8222
8223 #### Florida Computer Graphics
8224 #
8225
8226 # Florida Computer Graphics Beacon System, using terminal emulator program
8227 # "host.com", as provided by FCG.  This description is for an early release
8228 # of the "host" program.  Known bug: <ed> clears the whole screen, so it's
8229 # commented out.
8230
8231 # From: David Bryant <cbosg!djb> 1/7/83
8232 beacon|FCG Beacon System, 
8233         am, da, db, 
8234         cols#80, lines#32, 
8235         bel=\ESTART\r\E37\r\EEND\r$<1>, 
8236         blink=\ESTART\r\E61\,1\r\EEND\r, clear=\EZ$<10>, cr=^M, 
8237         cub1=^H, cud1=^J, cuf1=\EV, 
8238         cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<20>, cuu1=\EU, 
8239         dch1=\EW, dl1=\ER, el=\ET, home=\EH$<10>, ich1=\EQ, il1=\EE, 
8240         ind=^J, rev=\ESTART\r\E59\,1\r\EEND\r, rmcup=, 
8241         rmso=\ESTART\r\E70\,0\r\EEND\r$<20>, 
8242         rmul=\ESTART\r\E60\,0\r\EEND\r, 
8243         sgr0=\ESTART\r\E78\r\E70\,0\r\EEND\r$<20>, 
8244         smcup=\ESTART\r\E2\,0\r\E12\r\EEND\r$<10>, 
8245         smso=\ESTART\r\E70\,6\r\EEND\r$<20>, 
8246         smul=\ESTART\r\E60\,1\r\EEND\r, 
8247
8248 #### Fluke
8249 #
8250
8251 # The f1720a differences from ANSI: no auto margin, destructive 
8252 # tabs, # of lines, funny highlighting and underlining
8253 f1720|f1720a|fluke 1720A, 
8254         xt, 
8255         cols#80, lines#16, xmc#1, 
8256         bel=^G, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[B, 
8257         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, 
8258         el=\E[K, ind=\ED, is2=\E[H\E[2J, kcub1=^_, kcud1=^], 
8259         kcuf1=^^, kcuu1=^\, ri=\EM, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
8260         smso=\E[7m, smul=\E[4m, 
8261
8262 #### Liberty Electronics (Freedom)
8263 #
8264 #       Liberty Electronics
8265 #       48089 Fremont Blvd
8266 #       Fremont CA 94538
8267 #       Vox: (510)-623-6000
8268 #       Fax: (510)-623-7021
8269
8270 # From: <faletti@berkeley.edu>
8271 # (f100: added empty <acsc> to suppress a tic warning;
8272 # made this relative to adm+sgr -- note that <invis> isn't
8273 # known to work for f100 but does on the f110. --esr)
8274 f100|freedom|freedom100|freedom model 100, 
8275         am, bw, hs, mir, msgr, xon, 
8276         cols#80, lines#24, 
8277         acsc=, bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^J, 
8278         cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
8279         dch1=\EW, dl1=\ER$<11.5*>, dsl=\Eg\Ef\r, ed=\EY, el=\ET, 
8280         flash=\Eb$<200>\Ed, fsl=^M, home=^^, hpa=\E]%p1%{32}%+%c, 
8281         ht=^I, hts=\E1, il1=\EE$<8.5*>, ind=^J, ip=$<6>, 
8282         is2=\Eg\Ef\r\Ed, kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^V, 
8283         kcuf1=^L, kcuu1=^K, kf1=^A@\r, kf10=^AI\r, kf2=^AA\r, 
8284         kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
8285         kf8=^AG\r, kf9=^AH\r, khome=^^, ri=\Ej, rmacs=\E$, rmir=\Er, 
8286         smacs=\E%, smir=\Eq, tbc=\E3, tsl=\Eg\Ef, 
8287         vpa=\E[%p1%{32}%+%c, use=adm+sgr, 
8288 f100-rv|freedom-rv|freedom 100 in reverse video, 
8289         flash=\Ed$<200>\Eb, is2=\Eg\Ef\r\Eb, use=f100, 
8290 # The f110 and f200 have problems with vi(1).  They use the ^V
8291 # code for the down cursor key. When kcud1 is defined in terminfo
8292 # as ^V, the Control Character Quoting capability (^V in insert mode)
8293 # is lost! It cannot be remapped in vi because it is necessary to enter
8294 # a ^V to to quote the ^V that is being remapped!!!
8295
8296 # f110/f200 users will have to decide whether
8297 # to lose the down cursor key or the quoting capability. We will opt
8298 # initially for leaving the quoting capability out, since use of VI
8299 # is not generally applicable to most interactive applications
8300 # (f110: added <ht>, <khome> & <kcbt> from f100 -- esr)
8301 f110|freedom110|Liberty Freedom 110, 
8302         bw@, eslok, 
8303         it#8, wsl#80, 
8304         blink=\EG2, bold=\EG0, civis=\E.1, cnorm=\E.2, cud1=^V, 
8305         cvvis=\E.2, dim=\EG@, dl1=\ER, dsl=\Ef\r, 
8306         flash=\Eb$<200/>\Ed, il1=\EE, ip@, is2@, kclr=^^, kdch1=\EW, 
8307         kdl1=\ER, ked=\EY, kel=\ET, kf0=^AI\r, kf10@, kich1=\EQ, 
8308         kil1=\EE, mc4=\Ea, mc5=\E`, ri=\EJ, rmacs=\E%%, rmir=\Er\EO, 
8309         smacs=\E$, smir=\EO\Eq, smso=\EG<, tsl=\Ef, 
8310         use=f100, 
8311 f110-14|Liberty Freedom 110 14inch, 
8312         dch1@, use=f110, 
8313 f110-w|Liberty Freedom 110 - 132 cols, 
8314         cols#132, use=f110, 
8315 f110-14w|Liberty Freedom 110 14in/132 cols, 
8316         cols#132, 
8317         dch1@, use=f110, 
8318 # (f200: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
8319 f200|freedom200|Liberty Freedom 200, 
8320         am, eslok, hs, mir, msgr, xon, 
8321         cols#80, it#8, lines#24, wsl#80, 
8322         acsc=, bel=^G, blink=\EG2, bold=\EG0, cbt=\EI, civis=\E.0, 
8323         clear=^Z, cnorm=\E.1, cr=^M, 
8324         csr=\Em0%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=^V, 
8325         cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
8326         cvvis=\E.1, dch1=\EW, dim=\EG@, dl1=\ER, dsl=\Ef\r, ed=\EY, 
8327         el=\ET, flash=\Eo$<200/>\En, fsl=^M, home=^^, 
8328         hpa=\E]%p1%{32}%+%c, hts=\E1, il1=\EE, ind=^J, kbs=^H, 
8329         kclr=^^, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, 
8330         kdl1=\ER, ked=\EY, kel=\ET, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, 
8331         kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
8332         kf8=^AG\r, kf9=^AH\r, kich1=\EQ, kil1=\EE, mc4=\Ea, mc5=\E`, 
8333         ri=\EJ, rmacs=\E%%, rmir=\Er, smacs=\E$, smir=\Eq, smso=\EG<, 
8334         tbc=\E3, tsl=\Ef, vpa=\E[%p1%{32}%+%c, 
8335         use=adm+sgr, 
8336 f200-w|Liberty Freedom 200 - 132 cols, 
8337         cols#132, use=f200, 
8338 # The f200 has the ability to reprogram the down cursor key. The key is
8339 # reprogrammed to ^J (linefeed). This value is remembered in non-volatile RAM,
8340 # so powering the terminal off and on will not cause the change to be lost.
8341 f200vi|Liberty Freedom 200 for vi, 
8342         flash=\Eb$<200/>\Ed, kcud1=^J, use=f200, 
8343 f200vi-w|Liberty Freedom 200 - 132 cols for vi, 
8344         cols#132, use=f200vi, 
8345
8346 #### GraphOn (go)
8347 #
8348 #       Graphon Corporation
8349 #       544 Division Street
8350 #       Campbell, CA 95008
8351 #       Vox: (408)-370-4080
8352 #       Fax: (408)-370-5047
8353 #       Net: troy@graphon.com (Troy Morrison)
8354 #
8355 #
8356 # The go140 and go225 have been discontinued.  GraphOn now makes X terminals,
8357 # including one odd hybrid that starts out life on power-up as a character
8358 # terminal, than can be switched to X graphics mode (driven over the serial
8359 # line) by an escape sequence.  No info on this beast yet.
8360 # (go140: I added <rmam>/<smam> based on the init string -- esr)
8361 go140|graphon go-140, 
8362         cols#80, it#8, lines#24, 
8363         clear=\E[H\E[2J$<10/>, cub1=^H, cuf1=\E[C, 
8364         cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
8365         ed=\E[J$<10/>, el=\E[K, ht=^I, 
8366         if=/usr/share/tabset/vt100, il1=\E[L, 
8367         is2=\E<\E=\E[?3l\E[?7l\E(B\E[J\E7\E[;r\E8\E[m\E[q, 
8368         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, 
8369         kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, ri=\EM, 
8370         rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, 
8371         rmul=\E[m, sgr0=\E[m, smam=\E[?7h, smir=\E[4h, 
8372         smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
8373 go140w|graphon go-140 in 132 column mode, 
8374         am, 
8375         cols#132, 
8376         is2=\E<\E=\E[?3h\E[?7h\E(B\E[J\E7\E[;r\E8\E[m\E[q, use=go140, 
8377 # Hacked up vt200 termcap to handle GO-225/VT220
8378 # From: <edm@nwnexus.WA.COM>
8379 # (go225: I added <rmam>/<smam> based on the init string -- esr)
8380 go225|go-225|Graphon 225, 
8381         am, mir, xenl, 
8382         cols#80, it#8, lines#25, vt#3, 
8383         blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, 
8384         csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C, 
8385         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
8386         ed=\E[J, el=\E[K, home=\E[H, ht=^I, il1=\E[L, ind=\ED, 
8387         is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kbs=^H, 
8388         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, 
8389         kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, rc=\E8, rev=\E[7m, 
8390         rf=/usr/share/tabset/vt100, ri=\EM, rmam=\E[?7l, 
8391         rmcup=\E[!p\E[?7h\E[2;1;1#w, rmir=\E[4l, rmkx=\E>, 
8392         rmso=\E[27m, rmul=\E[24m, rs1=\E[!p\E[?7h\E[2;1;1#w, 
8393         sc=\E7, sgr0=\E[m, smam=\E[?7h, smcup=\E[2;0#w\E[1;25r, 
8394         smir=\E[4h, smkx=\E=, smso=\E[7m, smul=\E[4m, 
8395
8396 #### Harris (Beehive)
8397 #
8398 # Bletch.  These guys shared the Terminal Brain Damage laurels with Hazeltine.
8399 # Their terminal group is ancient history now (1995) though the parent
8400 # company is still in business.
8401 #
8402
8403 # Beehive documentation is undated and marked Preliminary and has no figures
8404 # so we must have early Superbee2 (Model 600, according to phone conversation
8405 # with mfr.). It has proved reliable except for some missing padding
8406 # (notably after \EK and <nl> at bottom of screen).
8407
8408 # The key idea is that AEP mode is poison for <cup> & that US's in 
8409 # the local memory should be avoided like the plague. That means 
8410 # that the 2048 character local buffer is used as 25 lines of 80 
8411 # characters, period. No scrolling local memory, folks. It also 
8412 # appears that we cannot use naked INS LINE feature since it uses
8413 # US. The sbi fakes <il1> with an 80-space insert that may be too 
8414 # slow at low speeds; also spaces get converted to \040 which is 
8415 # too long for some programs (not vi).  DEL LINE is ok but slow.
8416
8417 # The <nl> string is designed for last line of screen ONLY; cup to 
8418 # 25th line corrects the motion inherent in scrolling to Page 1.
8419
8420 # There is one understood bug. It is that the screen appears to
8421 # pop to a new (blank) page after a <nel>, or leave a half-line 
8422 # ellipsis to a quad that is the extra 48 memory locations. The 
8423 # data received is dumped into memory but not displayed.  Not to 
8424 # worry if <cup> is being used; the lines not displayed will be, 
8425 # whenever the cursor is moved up there. Since <cup> is addressed 
8426 # relative to MEMORY of window, nothing is lost; but beware of 
8427 # relative cursor motion (<cuu1>,<cud1>,<cuf1>,<cub1>). Recommended,
8428 # therefore, is setenv MORE -c .
8429
8430 # WARNING: Not all features tested.
8431
8432 # Timings are assembled from 3 sources. Some timings may reflect 
8433 # SB2/Model 300 that were used if more conservative.
8434 # Tested on a Model 600 at 1200 and 9600 bd.
8435
8436 # The BACKSPACEkb option is cute. The NEWLINE key, so cleverly 
8437 # placed on the keyboard and useless because of AEP, is made 
8438 # into a backspace key. In use ESC must be pressed twice (to send)
8439 # and sending ^C must be prefixed by ESC to avoid that weird 
8440 # transmit mode associated with ENTER key.
8441
8442 # IF TERMINAL EVER GOES CATATONIC with the cursor buzzing across 
8443 # the screen, then it has dropped into ENTER mode; hit 
8444 # RESET--ONLINE--!tset.
8445
8446 # As delivered this machine has a FATAL feature that will throw 
8447 # it into that strange transmit state (SPOW) if the space bar is 
8448 # hit after a CR is received, but before receiving a LF (or a 
8449 # few others).
8450
8451 # The circuits MUST be modified to eliminate the SPOW latch. 
8452 # This is done by strapping on chip A46 of the I/O board; cut 
8453 # the p.c. connection to Pin 5 and strap Pin 5 to Pin 8 of that 
8454 # chip. This mod has been checked out on a Mod 600 of Superbee II.
8455 # With this modification absurdly high timings on cr are 
8456 # unnecessary.
8457
8458 # NOTE WELL that the rear panel switch should be set to CR/LF, 
8459 # not AEP!
8460 #
8461 sb1|beehive superbee, 
8462         am, bw, da, db, mir, ul, xsb, 
8463         cols#80, lines#25, xmc#1, 
8464         bel=^G, cbt=\E`$<650>, clear=\EH$<1>\EJ$<3>, cr=$<1>\r, 
8465         cub1=^H, cud1=^J, cuf1=\EC$<3>, cup=\EF%p2%03d%p1%03d, 
8466         cuu1=\EA$<3>, dch1=\EP$<3>, dl1=\EM$<100>, ed=\EJ$<3>, 
8467         el=\EK$<3>, home=\EH$<1>, ht=^I, hts=\E1, 
8468         il1=\EN\EL$<3>\EQ                                                                                \EP$<3> \EO\ER\EA$<3>, 
8469         ind=^J, is2=\EE$<3>\EX\EZ\EO\Eb\Eg\ER, kbs=^_, kcub1=\ED, 
8470         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdl1=\EM, ked=\EJ, kel=\EK, 
8471         kf0=\E2, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, 
8472         kf7=\Ev, kf8=\Ew, kf9=\E1, khome=\EH, kich1=\EQ\EO, 
8473         krmir=\ER, lf0=TAB CLEAR, lf9=TAB SET, rmcup=, rmir=\ER, 
8474         rmso=\E_3, rmul=\E_3, sgr0=\E_3, smcup=\EO, smir=\EQ\EO, 
8475         smso=\E_1, smul=\E_0, tbc=\E3, 
8476 sbi|superbee|beehive superbee at Indiana U., 
8477         xsb, 
8478         cr=\r$<1>, il1=1\EN\EL$<9>\EQ \EP$<9> \EO\ER\EA, use=sb1, 
8479 # Alternate (older) description of Superbee - f1=escape, f2=^C.
8480 # Note: there are at least 3 kinds of superbees in the world.  The sb1
8481 # holds onto escapes and botches ^C's.  The sb2 is the best of the 3.
8482 # The sb3 puts garbage on the bottom of the screen when you scroll with
8483 # the switch in the back set to CRLF instead of AEP.  This description
8484 # is tested on the sb2 but should work on all with either switch setting.
8485 # The f1/f2 business is for the sb1 and the <xsb> can be taken out for
8486 # the other two if you want to try to hit that tiny escape key.
8487 # This description is tricky: being able to use cup depends on there being
8488 # 2048 bytes of memory and the hairy <nl> string.
8489 superbee-xsb|beehive super bee, 
8490         am, da, db, xsb, 
8491         cols#80, it#8, lines#25, 
8492         clear=\EH\EJ$<3>, cnorm=^J, cr=\r$<1000>, cub1=^H, cud1=^J, 
8493         cuf1=\EC, cup=\EF%p2%3d%p1%3d, cuu1=\EA$<3>, 
8494         dch1=\EP$<3>, dl1=\EM$<100>, ed=\EJ$<3>, el=\EK$<3>, 
8495         home=\EH, ht=^I, hts=\E1, 
8496         ind=\n\200\200\200\n\200\200\200\EA\EK\200\200\200\ET\ET, 
8497         is2=\EH\EJ, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
8498         kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, 
8499         kf8=\Ew, khome=\EH, rmso=\E_3, sgr0=\E_3, smso=\E_1, tbc=\E3, 
8500 # This loses on lines > 80 chars long, use at your own risk
8501 superbeeic|super bee with insert char, 
8502         ich1=, rmir=\ER, smir=\EQ, use=superbee-xsb, 
8503 sb2|sb3|fixed superbee, 
8504         xsb@, use=superbee, 
8505
8506 # Reports are that most of these Beehive entries (except superbee) have not
8507 # been tested and do not work right.  <rmso> is a trouble spot.  Be warned.
8508
8509 # (bee: <ich1> was empty, which is obviously bogus -- esr)
8510 beehive|bee|harris beehive, 
8511         am, mir, 
8512         cols#80, lines#24, 
8513         cbt=\E>, clear=\EE, cub1=^H, cud1=\EB, cuf1=\EC, 
8514         cup=\EF%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EP, 
8515         dl1=\EM, ed=\EJ, el=\EK, home=\EH, il1=\EL, kbs=^H, kcbt=\E>, 
8516         kclr=\EE, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
8517         kdch1=\EP, kdl1=\EM, kel=\EK, khome=\EH, kich1=\EQ, kil1=\EL, 
8518         krmir=\E@, rmir=\E@, rmso=\Ed@, rmul=\Ed@, sgr0=\Ed@, 
8519         smir=\EQ, smso=\EdP, smul=\Ed`, 
8520 # set tab is ^F, clear (one) tab is ^V, no way to clear all tabs.
8521 # good grief - does this entry make :sg:/:ug: when it doesn't have to?
8522 # look at those spaces in <rmso>/<smso>.  Seems strange to me...
8523 # (beehive: <if=/usr/share/tabset/beehive> removed, no such file.  If you
8524 # really care, cook up one using ^F -- esr)
8525 beehive3|bh3m|beehiveIIIm|harris beehive 3m, 
8526         am, 
8527         cols#80, it#8, lines#20, 
8528         bel=^G, clear=^E^R, cr=^M, cub1=^H, cud1=^J, cuf1=^L, cuu1=^K, 
8529         dl1=\021$<350>, ed=^R, el=^P, home=^E, ht=^I, hts=^F, 
8530         il1=\023$<160>, ind=^J, ll=^E^K, rmso=\s^_, smso=^]\s, 
8531 beehive4|bh4|beehive 4, 
8532         am, 
8533         cols#80, lines#24, 
8534         bel=^G, clear=\EE, cr=^M, cub1=\ED, cud1=^J, cuf1=\EC, 
8535         cuu1=\EA, ed=\EJ, el=\EK, home=\EH, ind=^J, 
8536 microb|microbee|micro bee series, 
8537         am, 
8538         cols#80, it#8, lines#24, 
8539         bel=^G, clear=\EE, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
8540         cup=\EF%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
8541         el=\EK, ht=^I, ind=^J, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
8542         kcuu1=\EA, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, 
8543         kf6=\Eu, kf7=\Ev, kf8=\Ew, kf9=\Ex, khome=\EH, rmso=\Ed@, 
8544         rmul=\Ed@, sgr0=\Ed@, smso=\s\EdP, smul=\Ed`, 
8545
8546 # 8675, 8686, and bee from Cyrus Rahman
8547 # (8675: changed k10, k11...k16 to k;, F1...F6 -- esr)
8548 ha8675|harris 8675, 
8549         is2=\ES\E#\E*\Eh\Em\E?\E1\E9\E@\EX\EU, kf1=^F, 
8550         kf10=\Ed, kf11=^W, kf12=\ER, kf13=\EE, kf14=\EI, kf15=\Ei, 
8551         kf16=\Eg, kf2=^P, kf3=^N, kf4=^V, kf5=^J, kf6=^T, kf7=^H, 
8552         kf8=\177, kf9=\Ee, 
8553         use=bee, 
8554 # (8686: changed k10, k11...k16 to k;, F1...F6; fixed broken continuation
8555 # in :is: -- esr)
8556 ha8686|harris 8686, 
8557         is2=\ES\E#\E*\Eh\Em\E?\E1\E9\E@\EX\EU\E"*Z01\E"8F35021B7C83#\E"8F45021B7D83#\E"8F55021B7E83#\E"8F65021B7F83#\E"8F75021B7383#\E"8F851BD7#\E"8F95021B7083#\E"8FA5021B7183#\E"8FB5021B7283#, 
8558         kf1=\002\Ep\003, kf10=\Ej, kf11=\EW, kf12=\002\E{\003, 
8559         kf13=\002\E|\003, kf14=\002\E}\003, kf15=\002\E~\003, 
8560         kf16=\002\E\177\003, kf2=\002\Eq\003, kf3=\002\Er\003, 
8561         kf4=\002\Es\003, kf5=\E3, kf6=\EI, kf7=\ER, kf8=\EJ, kf9=\E(, 
8562         use=bee, 
8563
8564 #### Hazeltine
8565 #
8566 # Hazeltine appears to be out of the business now (1995).  These guys were 
8567 # co-owners of the Terminal Brain Damage Hall Of Fame along with Harris.
8568 # They have a hazeltine.com domain and can be reached at:
8569 #
8570 #       Hazeltine
8571 #       450 East Pulaski Road
8572 #       Greenlawn, New York 11740
8573 #
8574 # As late as 1993, manuals for the terminal product line could still be
8575 # purchased from:
8576 #
8577 #       TRW Customer Service Division
8578 #       15 Law Drive
8579 #       P.O. Box 2076
8580 #       Fairfield, NJ 07007-2078
8581 #
8582
8583 # Since <cuf1> is blank, when you want to erase something you
8584 # are out of luck.  You will have to do ^L's a lot to
8585 # redraw the screen.  h1000 is untested.  It doesn't work in
8586 # vi - this terminal is too dumb for even vi.  (The code is
8587 # there but it isn't debugged for this case.)
8588 hz1000|hazeltine 1000, 
8589         cols#80, lines#12, 
8590         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s, home=^K, 
8591         ind=^J, 
8592 # From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
8593 hz1420|hazeltine 1420, 
8594         am, 
8595         cols#80, lines#24, 
8596         bel=^G, clear=\E^\, cr=^M, cub1=^H, cud1=^J, cuf1=^P, 
8597         cup=\E\021%p2%c%p1%{32}%+%c, cuu1=\E^L, dl1=\E^S, 
8598         ed=\E^X, el=\E^O, ht=^N, il1=\E^Z, ind=^J, rmso=\E^Y, 
8599         smso=\E^_, 
8600 # New "safe" cursor movement (11/87) from <cgs@umd5.umd.edu>.  Prevents
8601 # freakout with out-of-range args and tn3270.  No hz since it needs to
8602 # receive tildes.
8603 hz1500|hazeltine 1500, 
8604         am, hz, 
8605         cols#80, lines#24, 
8606         bel=^G, clear=~^\, cr=^M, cub1=^H, cud1=~^K, cuf1=^P, 
8607         cup=~\021%p2%p2%?%{30}%>%t%{32}%+%;%'`'%+%c%p1%'`'%+%c, 
8608         cuu1=~^L, dl1=~\023$<40>, ed=~\030$<10>, el=~^O, home=~^R, 
8609         il1=~\032$<40>, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^P, 
8610         kcuu1=~^L, khome=~^R, rmso=~^Y, smso=~^_, 
8611 # h1510 assumed to be in sane escape mode.  Else use h1500.
8612 # (h1510: early versions of this entry apparently had "<rmso=\E^_>, 
8613 # <smso=\E^Y>, but these caps were commented out in 8.3; also,
8614 # removed incorrect and overridden ":do=^J:" -- esr)
8615 hz1510|hazeltine 1510, 
8616         am, 
8617         cols#80, lines#24, 
8618         bel=^G, clear=\E^\, cr=^M, cub1=^H, cud1=\E^K, cuf1=^P, 
8619         cup=\E\021%p2%c%p1%c, cuu1=\E^L, dl1=\E^S, ed=\E^X, 
8620         el=\E^O, il1=\E^Z, ind=^J, 
8621 # Hazeltine 1520
8622 # The following switch settings are assumed for normal operation:
8623 #       FULL            CR              U/L_CASE        ESCAPE
8624 #       FORMAT_OFF      EOM_A_OFF       EOM_B_OFF       WRAPAROUND_ON
8625 # Other switches may be set for operator convenience or communication
8626 # requirements.
8627 hz1520|Hazeltine 1520, 
8628         am, bw, msgr, 
8629         cols#80, lines#24, 
8630         bel=^G, bold=\E^_, clear=\E^\, cr=^M, cub1=^H, cud1=^J, 
8631         cuf1=^P, cup=\E\021%p2%c%p1%c, cuu1=\E^L, dl1=\E^S, 
8632         ed=\E^X, el=\E^O, home=\E^R, il1=\E^Z, ind=^J, kbs=^H, 
8633         kclr=\E^\, kcub1=^H, kcud1=\E^K, kcuf1=^P, kcuu1=\E^L, 
8634         kdl1=\E^S, ked=\E^X, kel=\E^O, khome=\E^R, kil1=\E^Z, 
8635         rmso=\E^Y, rs1=\E$\E\005\E?\E\031, sgr0=\E^Y, smso=\E^_, 
8636 # This version works with the escape switch off
8637 # (h1520: removed incorrect and overridden ":do=^J:" -- esr)
8638 hz1520-noesc|hazeltine 1520, 
8639         am, hz, 
8640         cols#80, lines#24, 
8641         bel=^G, clear=~^\, cr=^M, cub1=^H, cud1=~^K, cuf1=^P, 
8642         cup=~\021%p2%c%p1%c$<1>, cuu1=~^L, dl1=~^S, ed=~^X, el=~^O, 
8643         home=~^R, il1=~^Z, ind=^J, rmso=~^Y, smso=~^_, 
8644 # Note: the h1552 appears to be the first Hazeltine terminal which
8645 # is not braindamaged.  It has tildes and backprimes and everything!
8646 # Be sure the auto lf/cr switch is set to cr.
8647 hz1552|hazeltine 1552, 
8648         cud1=^J, dl1=\EO, il1=\EE, kf1=\EP, kf2=\EQ, kf3=\ER, lf1=blue, 
8649         lf2=red, lf3=green, 
8650         use=vt52, 
8651 hz1552-rv|hazeltine 1552 reverse video, 
8652         cud1=^J, rmso=\ET, smso=\ES, use=hz1552, 
8653 # Note: h2000 won't work well because of a clash between upper case and ~'s.
8654 hz2000|hazeltine 2000, 
8655         am, 
8656         cols#74, lines#27, 
8657         bel=^G, clear=~\034$<6>, cub1=^H, cud1=^J, 
8658         cup=~\021%p2%c%p1%c, dl1=~\023$<6>, home=~^R, 
8659         il1=~\032$<6>, ind=^J, pad=\177, 
8660 # Date: Fri Jul 23 10:27:53 1982.  Some unknown person wrote:
8661 # I tested this termcap entry for the Hazeltine Esprit with vi. It seems
8662 # to work ok. There is one problem though if one types a lot of garbage
8663 # characters very fast vi seems not able to keep up and hangs while trying
8664 # to insert. That's in insert mode while trying to insert in the middle of
8665 # a line. It might be because the Esprit doesn't have insert char and delete
8666 # char as a built in function. Vi has to delete to end of line and then 
8667 # redraw the rest of the line.
8668 esprit|Hazeltine Esprit I, 
8669         am, bw, 
8670         cols#80, lines#24, 
8671         bel=^G, cbt=\E^T, clear=\E^\, cr=^M, cub1=^H, cud1=\E^K, 
8672         cuf1=^P, cup=\E\021%p2%c%p1%c, cuu1=\E^L, dl1=\E^S, 
8673         ed=\E^W, el=\E^O, home=\E^R, il1=\E^Z, ind=^J, is2=\E?, kbs=^H, 
8674         kcub1=^H, kcud1=\E^K, kcuf1=^P, kcuu1=\E^L, kf0=^B0^J, 
8675         kf1=^B1^J, kf2=^B2^J, kf3=^B3^J, kf4=^B4^J, kf5=^B5^J, 
8676         kf6=^B6^J, kf7=^B7^J, kf8=^B8^J, kf9=^B9^J, khome=\E^R, 
8677         lf0=0, lf1=1, lf2=2, lf3=3, lf4=4, lf5=5, lf6=6, lf7=7, lf8=8, lf9=9, 
8678         rmkx=\E>, rmso=\E^Y, smkx=\E<, smso=\E^_, 
8679 esprit-am|hazeltine esprit auto-margin, 
8680         am, use=esprit, 
8681 # Hazeltine Modular-1 from Cliff Shackelton <ittvax!ittral!shackelt> via BRL
8682 # Vi it seems always wants to send a control J for "do" and it turned out
8683 # that the terminal would work somewhat if the auto LF/CR was turned off.
8684 # (hmod1: removed :dn=~^K: -- esr)
8685 hmod1|Hazeltine Modular 1, 
8686         am, hz, 
8687         cols#80, lines#24, 
8688         bel=^G, cbt=~^T, clear=~^\, cr=^M, cub1=^H, cud1=~^K, cuf1=^P, 
8689         cup=~\021%p2%c%p1%c, cuu1=~^L, dl1=~^S, home=~^R, il1=~^Z, 
8690         ind=^J, kcub1=^H, kcud1=~^K, kcuf1=^P, kcuu1=~^L, khome=~^R, 
8691         rc=~^Q, rmso=~^Y, sc=~^E, sgr0=~^Y, smso=~^_, 
8692 #
8693 # Hazeltine Executive 80 Model 30 (1554?)
8694 #       from  Will Martin <control@ALMSA-1.ARPA> via BRL
8695 # Like VT100, except for different "am" behavior.
8696 hazel|exec80|h80|he80|Hazeltine Executive 80, 
8697         am, 
8698         cols#80, it#8, lines#24, vt#3, 
8699         bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>, 
8700         clear=\E[;H\E[2J$<50/>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
8701         cub1=^H, cud1=^J, cuf1=\E[C$<2/>, 
8702         cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<2/>, 
8703         ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H, ht=^I, 
8704         is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\EOD, kcud1=\EOB, 
8705         kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR, 
8706         kf4=\EOS, rc=\E8, rev=\E[7m$<2/>, 
8707         rf=/usr/share/tabset/vt100, ri=\EM$<5/>, 
8708         rmkx=\E[?1l\E>, rmso=\E[m$<2/>, rmul=\E[m$<2/>, 
8709         rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
8710         sgr0=\E[m$<2/>, smkx=\E[?1h\E=, smso=\E[7m$<2/>, 
8711         smul=\E[4m$<2/>, 
8712
8713 #### IBM
8714 #
8715
8716 ibm327x|line mode IBM 3270 style, 
8717         gn, 
8718         clear=^M^J, el=^M, home=^M, 
8719
8720 # Beware! The 3101 entry IBM shipped with AIX 3 is *wrong*.  Losers...
8721 # From: J.B. Nicholson-Owens <jeffo@uiuc.edu> 8 Mar 94
8722 # (ibm3101: <if=/usr/share/tabset/ibm3101> removed, no such file -- esr)
8723 ibm3101|i3101|IBM 3101-10, 
8724         am, xon, 
8725         cols#80, lines#24, 
8726         bel=^G, clear=\EK, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
8727         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
8728         el=\EI, home=\EH, ht=^I, hts=\E0, ind=^J, kbs=^H, kcub1=\ED, 
8729         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, nel=^M^J, tbc=\E1, 
8730 #   Received from the IBM terminals division (given to DRB)
8731 #   June 1988 for PS/2 OS 2.2.3 cut
8732 ibm3151|i3151|IBM 3151, 
8733         rmso=\E4@, rmul=\E4@, 
8734         sgr=\E4%{64}%?%p1%{0}%>%p1%{4}%<%&%t%{8}%|%;%?%p1%{7}%=%t%{16}%|%;%?%p2%t%{1}%|%;%?%p3%t%{4}%|%;%?%p4%t%{2}%|%;%c, 
8735         sgr0=\E4@, smso=\E4A, smul=\E4B, 
8736         use=ibm3163, 
8737 # From: Mark Easter <marke@fsi-ssd.csg.ssd.fsi.com> 29 Oct 1992 
8738 # I've commented out or translated some IBM extensions.
8739 ibm3161|ibm3163|wy60-316X|wyse60-316X|IBM 3161/3163 display, 
8740         am, mir, msgr, 
8741         cols#80, it#8, lines#24, 
8742         acsc=l\354q\361k\353x\370j\352m\355w\367u\365v\366t\364n\356, 
8743         bel=^G, blink=\E4D, bold=\E4H, clear=\EH\EJ, cr=^M, cub1=\ED, 
8744         cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
8745         cuu1=\EA, dch1=\EQ, dl1=\EO, ed=\EJ, el=\EI, home=\EH, ind=^J, 
8746         invis=\E4P, kbs=^H, kcbt=\E2, kclr=\EL\r, kctab=\E1, 
8747         kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EQ, 
8748         kdl1=\EO, ked=\EJ, kel=\EI, kf1=\Ea\r, kf10=\Ej\r, 
8749         kf11=\Ek\r, kf12=\El\r, kf13=\E!a\r, kf14=\E!b\r, 
8750         kf15=\E!c\r, kf16=\E!d\r, kf17=\E!e\r, kf18=\E!f\r, 
8751         kf19=\E!g\r, kf2=\Eb\r, kf20=\E!h\r, kf21=\E!i\r, 
8752         kf22=\E!j\r, kf23=\E!k\r, kf24=\E!l\r, kf3=\Ec\r, 
8753         kf4=\Ed\r, kf5=\Ee\r, kf6=\Ef\r, kf7=\Eg\r, kf8=\Eh\r, 
8754         kf9=\Ei\r, khome=\EH, khts=\E0, kich1=\EP \010, kil1=\EN, 
8755         ktbc=\E 1, rev=\E4A, rmcup=\E>A, rmso=\E4@, rmul=\E4@, 
8756         sgr=\E4%'@'%?%p1%t%'A'%|%;\n%?%p2%t%'B'%|%;\n%?%p3%t%'A'%|%;\n%?%p4%t%'D'%|%;\n%?%p5%t%'@'%|%;\n%?%p6%t%'H'%|%;\n%?%p7%t%'P'%|%;%c\n%?%p9%t\E>A%e\E<@%;, 
8757         sgr0=\E4@\E<@, smcup=\E>A, smso=\E4A, smul=\E4B, 
8758
8759 # How the 3164 sgr string works:
8760 #       %{32}           # push space for no special video characteristics
8761 #       %?%p2%t%{1}%|%; # if p2 set, then OR the 1 bit for reverse
8762 #       %?%p3%t%{4}%|%; # if p3 set, then OR the 4 bit for blink
8763 #       %?%p4%t%{2}%|%; # if p4 set, then OR the 2 bit for underline
8764 #       %c              # pop Pa1
8765 #       %{39}%p1%-      # calculate 32 + (7 - p1) for foreground
8766 #       %c              # pop Pa2 
8767 #       %{64}           # use only black background for now
8768 #       %c              # pop Pa3
8769 ibm3164|i3164|IBM 3164, 
8770         blink=\E4D, bold=\E4H, 
8771         sgr=\E4%{32}%?%p2%t%{1}%|%;%?%p3%t%{4}%|%;%?%p4%t%{2}%|%;%c%{39}%p1%-%c%{64}%c, 
8772         sgr0=\E4@, 
8773         use=ibm3163, 
8774
8775 ibmaed|IBM Experimental display, 
8776         am, eo, msgr, 
8777         cols#80, it#8, lines#52, 
8778         clear=\EH\EK, cub1=^H, cud1=\EB, cuf1=\EC, 
8779         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ, 
8780         dl1=\EO, ed=\EJ, el=\EI, flash=\EG, home=\EH, ht=^I, ich1=\EP, 
8781         il1=\EN, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
8782         rmso=\E0, sgr0=\E0, smso=\E0, 
8783 ibm-apl|apl|IBM apl terminal simulator, 
8784         lines#25, use=dm1520, 
8785 # (ibmmono: this had an unknown `sb' boolean, I changed it to `bs'.  
8786 # Also it had ":I0=f10:" which pretty obviously should be "l0=f10" -- esr)
8787 ibmmono|ibm5151|IBM workstation monochrome, 
8788         eslok, hs, 
8789         bold=\EZ, dl1=\EM, dsl=\Ej\EY8 \EI\Ek, fsl=\Ek, il1=\EL, 
8790         invis=\EF\Ef0;\Eb0;, kbs=^H, kf0=\E<, kf1=\ES, kf2=\ET, 
8791         kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\EY, 
8792         khome=\EH, kich1=\200, kind=\EE, knp=\EE, kpp=\Eg, kri=\EG, 
8793         lf0=f10, rev=\Ep, ri=\EA, rmso=\Ez, rmul=\Ew, 
8794         sgr0=\Ew\Eq\Ez\EB, smso=\EZ, smul=\EW, tsl=\Ej\EY8%+ \Eo, use=ibm3101, 
8795 ibmega|ibm5154|IBM Enhanced Color Display, 
8796         cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, 
8797         nel=^M^J, 
8798         use=ibmmono, 
8799 ibmega-c|ibm5154-c|IBM Enhanced Color Display, 
8800         rmso=\EB, rmul=\EB, smso=\EF\Ef3;, smul=\EF\Ef2;, use=ibmmono, 
8801 ibmvga-c|IBM VGA display color termcap, 
8802         cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, 
8803         nel=^M^J, 
8804         use=ibmega-c, 
8805 ibmvga|IBM VGA display, 
8806         cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, 
8807         nel=^M^J, 
8808         use=ibmega, 
8809 # ibmapa* and ibmmono entries come from ACIS 4.3 distribution
8810 rtpc|ibmapa16|ibm6155|IBM 6155 Extended Monochrome Graphics Display, 
8811         lines#32, 
8812         dsl=\Ej\EY@ \EI\Ek, tsl=\Ej\EY@%+ \Eo, use=ibmmono, 
8813 # Advanced Monochrome (6153) and Color (6154) Graphics Display:
8814 ibmapa8c|ibmapa8|ibm6154|ibm6153|IBM 6153/4 Advanced Graphics Display, 
8815         lines#31, 
8816         dsl=\Ej\EY? \EI\Ek, tsl=\Ej\EY?%+ \Eo, use=ibmmono, 
8817 ibmapa8c-c|ibm6154-c|IBM 6154 Advanced Color Graphics Display, 
8818         lines#31, 
8819         dim=\EF\Ef7;, dsl=\Ej\EY? \EI\Ek, tsl=\Ej\EY?%+ \Eo, use=ibmega-c, 
8820 # From: Marc Pawliger <marc@ibminet.awdpa.ibm.com>
8821 # also in /usr/lpp/bos/bsdsysadmin.
8822 # (hft-c: this entry had :kb=\E[D:kf=\E[C: on the line with ku/kd/kh; this was
8823 # pretty obviously mislabeled for :le: and :nd:; also ":ul=\E[4m:" was clearly
8824 # a typo for ":us=\E[4m:"; also ":el=\E[K:" was a typo for ":ce=\E[K:".
8825 # I also added <rmam>/<smam> based on the terminal reset string.
8826 # There was an unknown boolean ":ht:" which I assume was meant to set hardware
8827 # tabs, so I have inserted it#8. Finally, :ac=^N: paired with the :ae: looked
8828 # like a typo for :as=^N:; finally, added empty <acsc> to quiet tic -- esr)
8829 ibm8512|ibm8513|hft-c|IBM High Function Terminal, 
8830         am, mir, msgr, 
8831         cols#80, it#8, lines#25, 
8832         acsc=, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cub1=\E[D, 
8833         cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
8834         dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, 
8835         home=\E[H, il=\E[%p1%dL, il1=\E[L, is2=\Eb\E[m\017\E[?7h, 
8836         kcud1=\E[B, kcuu1=\E[A, kf0=\E[010q, kf1=\E[001q, 
8837         kf2=\E[002q, kf3=\E[003q, kf4=\E[004q, kf5=\E[005q, 
8838         kf6=\E[006q, kf7=\E[007q, kf8=\E[008q, kf9=\E[009q, 
8839         khome=\E[H, rc=\E[u, rev=\E[7m, rmacs=^O, rmam=\E[?7l, 
8840         rmcup=\E[20h, rmdc=\E[4l, rmir=\E[4l, rmso=\E[m, rmul=\E[m, 
8841         rs1=\Eb\E[m\017\E[?7h\E[H\E[J, sc=\E[s, sgr0=\E[m, 
8842         smacs=^N, smam=\E[?7h, smcup=\E[20;4l\E[?7h\Eb, 
8843         smdc=\E[4h, smir=\E[4h, smso=\E[7m, smul=\E[4m, 
8844 hft|AIWS High Function Terminal, 
8845         am, xon, 
8846         cols#80, lines#25, 
8847         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
8848         cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
8849         cuu1=\E[A, dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, 
8850         ht=^I, ich1=\E[@, il1=\E[L, ind=^J, invis=\E[8m, kbs=^H, 
8851         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
8852         kf1=\E[001q, kf2=\E[002q, kf3=\E[003q, kf4=\E[004q, 
8853         kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, kf8=\E[008q, 
8854         kf9=\E[009q, khome=\E[H, knp=\E[153q, kpp=\E[159q, 
8855         ktbc=\E[010q, rev=\E[7m, rmir=\E6, rmso=\E[m, rmul=\E[m, 
8856         sgr0=\E[m, smir=\E6, smso=\E[7m, smul=\E[4m, 
8857 ibm-system1|system1|ibm system/1 computer, 
8858         am, xt, 
8859         cols#80, lines#24, 
8860         bel=^G, clear=^Z, cub1=^H, cuf1=^\, 
8861         cup=\005%p1%{32}%+%c%p2%{32}%+%c, cuu1=^^, home=^K, 
8862         ind=^J, 
8863
8864 # From: <pryor@math.berkeley.edu>
8865 ibm5081|ibmmpel|IBM 5081 1024x1024 256/4096 color display, 
8866         eslok, hs, 
8867         lines#33, 
8868         dsl=\Ej\EYA \EI\Ek, fsl=\Ek, tsl=\Ej\EYA%+ \Eo, use=ibmmono, 
8869 ibm5081-c|ibmmpel-c|IBM 5081 1024x1024 256/4096 enhanced color display, 
8870         eslok, hs, 
8871         lines#33, 
8872         dsl=\Ej\EYA \EI\Ek, fsl=\Ek, tsl=\Ej\EYA%+ \Eo, use=ibmega-c, 
8873 ibm8514|IBM 8514 color display, 
8874         eslok, hs, 
8875         lines#41, 
8876         cr=^M, cud1=^J, dsl=\Ej\EYI \EI\Ek, fsl=\Ek, ht=^I, ind=^J, 
8877         kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, tsl=\Ej\EYI%+ \Eo, 
8878         use=ibmega, 
8879 ibm8514-c|IBM 8514 color display, 
8880         eslok, hs, 
8881         lines#41, 
8882         cr=^M, cud1=^J, dsl=\Ej\EYI \EI\Ek, fsl=\Ek, ht=^I, ind=^J, 
8883         kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, tsl=\Ej\EYI%+ \Eo, 
8884         use=ibmega-c, 
8885
8886 #
8887 # AIX entries.  IBM ships these with AIX 3. 
8888 # AIX extension caps are commented out,
8889 # except for box1 which has been translated to an <acsc> string.
8890 #
8891 aixterm-m|IBM AIXterm Monochrome Terminal Emulator, 
8892         eslok, hs, 
8893         acsc=llqqkkxxjjmmwwuuvvttnn, bold=\E[1m, dsl=\E[?E, 
8894         fsl=\E[?F, ri@, s0ds=\E(B, s1ds=\E(0, 
8895         sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, 
8896         sgr0=\E[0;10m\E(B, tsl=\E[?%p1%dT, 
8897         use=ibm6153, 
8898 aixterm-m-old|IBM AIXterm Monochrome Terminal Emulator, 
8899         eslok, hs, 
8900         bold=\E[1m, dsl=\E[?E, fsl=\E[?F, ri@, 
8901         sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, 
8902         tsl=\E[?%p1%dT, 
8903         use=ibm6153, 
8904 jaixterm-m|IBM Kanji AIXterm Monochrome Terminal Emulator, 
8905         acsc@, 
8906         use=aixterm-m, 
8907
8908 #### Infoton/General Terminal Corp.
8909 #
8910
8911 # gt100 sounds like something DEC would come out with.  Let's hope they don't.
8912 i100|gt100|gt100a|General Terminal 100A (formerly Infoton 100), 
8913         am, 
8914         cols#80, lines#24, 
8915         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
8916         cup=\Ef%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, dl1=\EM, 
8917         ed=\EJ, el=\EK, flash=\Eb$<200/>\Ea, home=\EH, il1=\EL, 
8918         ind=^J, rmso=\Ea, smso=\Eb, 
8919 i400|infoton 400, 
8920         am, 
8921         cols#80, lines#25, 
8922         bel=^G, clear=\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
8923         cup=%i\E[%p1%3d;%p2%3dH, cuu1=\E[A, 
8924         dch1=\E[4h\E[2Q\E[P\E[4l\E[0Q, dl1=\E[M, el=\E[N, 
8925         il1=\E[L, ind=^J, rmir=\E[4l\E[0Q, smir=\E[4h\E[2Q, 
8926 # (addrinfo: removed obsolete ":bc=^Z:" -- esr)
8927 addrinfo, 
8928         am, 
8929         cols#80, lines#24, 
8930         bel=^G, clear=^L, cr=^M, cub1=^Z, cud1=^J, cuf1=^Y, 
8931         cup=\037%p1%{1}%-%c%p2%{1}%-%c, cuu1=^\, ed=^K, home=^H, 
8932         ind=^J, ll=^H^\, 
8933 # (infoton: used to have the no-ops <lh#0>, <lw#0>, <nlab#0> -- esr)
8934 infoton, 
8935         am, 
8936         cols#80, lines#24, 
8937         bel=^G, clear=^L, cr=^M, cub1=^Z, cud1=^J, cuf1=^Y, cuu1=^\, 
8938         ed=^K, ind=^J, ll=^H^\, 
8939
8940 #### Interactive Systems Corp
8941 #
8942 # ISC used to sell OEMed and customized hardware to support ISC UNIX.
8943 # ISC UNIX still exists in 1995, but ISC itself is no more; they got
8944 # bought out by Sun.
8945 #
8946
8947 # From: <cithep!eric>  Wed Sep 16 08:06:44 1981
8948 # (intext: removed obsolete ":ma=^K^P^R^L^L ::bc=^_:", also the
8949 # ":le=^_:" later overridden -- esr)
8950 intext|Interactive Systems Corporation modified owl 1200, 
8951         am, 
8952         cols#80, it#8, lines#24, xmc#1, 
8953         bel=^G, cbt=^Y, clear=\014$<132>, cr=^M, cub1=^H, cud1=^J, 
8954         cuf1=^^, cup=\017%p1%{32}%+%c%p2%{32}%+%c, cuu1=^\, 
8955         dch1=\022$<5.5*>, dl1=\021$<5.5*>, ed=\026J$<5.5*>, 
8956         el=^Kp^R, ht=^I, il1=\020$<5.5*>, ind=^J, ip=$<5.5*>, kbs=^H, 
8957         kcub1=^_, kcud1=^J, kcuf1=^^, kcuu1=^\, kf0=^VJ\r, kf1=^VA\r, 
8958         kf2=^VB\r, kf3=^VC\r, kf4=^VD\r, kf5=^VE\r, kf6=^VF\r, 
8959         kf7=^VG\r, kf8=^VH\r, kf9=^VI\r, khome=^Z, rmir=^V<, 
8960         rmkx=^V9, rmso=^V#\s, smir=^V;, smkx=\036\:\264\026%, 
8961         smso=^V$\,, 
8962 intext2|intextii|INTERACTIVE modified owl 1251, 
8963         am, bw, ul, 
8964         cols#80, lines#24, xmc#0, 
8965         bel=^G, cbt=\E[Z, clear=\E[H\E[2J, cr=^M, cud1=\E[B, 
8966         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, 
8967         dl1=\E[M, ed=\E[J, el=\E[K, 
8968         flash=\E[;;;;;;;;;2;;u$<200/>\E[;;;;;;;;;1;;u, 
8969         hpa=\E[%p1%{1}%+%dG, ht=^I, ich1=\E[@, il1=\E[L, ind=\E[S, 
8970         kbs=^H, kcub1=\ED\r, kcud1=\EB\r, kcuf1=\EC\r, kcuu1=\EA\r, 
8971         kf0=\E@\r, kf1=\EP\r, kf2=\EQ\r, kf3=\ES\r, kf4=\ET\r, 
8972         kf5=\EU\r, kf6=\EV\r, kf7=\EW\r, kf8=\EX\r, kf9=\EY\r, 
8973         khome=\ER\r, lf0=REFRSH, lf1=DEL CH, lf2=TABSET, lf3=GOTO, 
8974         lf4=+PAGE, lf5=+SRCH, lf6=-PAGE, lf7=-SRCH, lf8=LEFT, 
8975         lf9=RIGHT, ri=\E[T, rmso=\E[2 D, rmul=\E[2 D, smso=\E[6 D, 
8976         smul=\E[18 D, 
8977
8978 #### Kimtron (abm, kt)
8979 #
8980 # Kimtron entries include (undocumented) codes for: enter dim mode,
8981 # enter bold mode, enter reverse mode, turn off all attributes.
8982 #
8983
8984 # Kimtron ABM 85 added by Dual Systems
8985 # (abm85: removed duplicated ":kd=^J:" -- esr)
8986 abm85|Kimtron ABM 85, 
8987         am, bw, msgr, 
8988         cols#80, it#8, lines#24, xmc#1, 
8989         cbt=\EI, clear=\E*, cub1=^H, cud1=^J, cuf1=^L, 
8990         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
8991         dl1=\ER, ed=\Ey, el=\Et, ht=^I, 
8992         if=/usr/share/tabset/stdcrt, il1=\EE, 
8993         is2=\EC\EX\Eg\En\E%\Er\E(\Ek\Em\Eq, kbs=^H, kcub1=^H, 
8994         kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, rmir=\Er, rmso=\Ek, 
8995         rmul=\Em, smir=\EQ, smso=\Ej, smul=\El, 
8996 # Kimtron ABM 85H added by Dual Systems.
8997 # Some notes about the abm85h entries:
8998 # 1) there are several firmware revs of 85H in the world. Use abm85h-old for
8999 #    firmware revs prior to SP51
9000 # 2) Make sure to use abm85h entry if the terminal is in 85h mode and the
9001 #    abm85e entry if it is in tvi920 emulation mode. They are incompatible
9002 #    in some places and NOT software settable i.e., <is2> can't fix it)
9003 # 3) In 85h mode, the arrow keys and special functions transmit when
9004 #    the terminal is in dup-edit, and work only locally in local-edit.
9005 #    Vi won't swallow `del char' for instance, but <smcup> turns on
9006 #    dup-edit anyway so that the arrow keys will work right. If the
9007 #    arrow keys don't work the way you like, change <smcup>, <rmcup>, and
9008 #    <is2>.  Note that 920E mode does not have software commands to toggle
9009 #    between dup and local edit, so you get whatever was set last on the
9010 #    terminal.
9011 # 4) <flash> attribute is nice, but seems too slow to work correctly
9012 #    (\Eb<pad>\Ed)
9013 # 5) Make sure `hidden' attributes are selected. If `embedded' attributes
9014 #    are selected, the <xmc@> entry should be removed.
9015 # 6) auto new-line should be on (selectable from setup mode only)
9016 #
9017 # From: Erik Fair <fair@ucbarpa>  Sun Oct 27 07:21:05 1985
9018 abm85h|Kimtron ABM 85H native mode, 
9019         hs, 
9020         xmc@, 
9021         bel=^G, cnorm=\E.4, cvvis=\E.2, dim=\E), dsl=\Ee, flash@, 
9022         fsl=^M, invis@, 
9023         is2=\EC\EN\EX\024\016\EA\Ea\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\EG0\Ed\E.4\El, 
9024         kcud1=^V, sgr0=\E(\EG0, smir=\EZ, tsl=\Eg\Ef, 
9025         use=adm+sgr, use=abm85, 
9026 abm85e|Kimtron ABM 85H in 920E mode, 
9027         xmc@, 
9028         bel=^G, dim=\E), flash@, 
9029         is2=\EC\EX\EA\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\Ek\Eq\Em, 
9030         rev=\Ej, sgr0=\E(\Ek, smir=\EZ, 
9031         use=abm85, 
9032 abm85h-old|oabm85h|o85h|Kimtron ABM 85H with old firmware rev., 
9033         xmc@, 
9034         bel=^G, dim=\E), 
9035         is2=\E}\EC\EX\Ee\En\E%\Er\E(\Ek\Em\Eq\Ed\ET\EC\E9\EF, 
9036         rev=\Ej, sgr0=\E(\Ek, smir=\EZ, 
9037         use=abm85, 
9038 # From: <malman@bbn-vax.arpa>
9039 # (kt7: removed obsolete :ma=^V^J^L :" -- esr)
9040 kt7|kimtron model kt-7, 
9041         am, 
9042         cols#80, it#8, lines#24, 
9043         cbt=\EI, clear=^Z, cub1=^H, cud1=^V, cuf1=^L, 
9044         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
9045         dl1=\ER, ed=\EY, el=\ET, fsl=\Eg, home=^^, ht=^I, ich1=\EQ, 
9046         if=/usr/share/tabset/stdcrt, il1=\EE, invis@, is2=\El\E", 
9047         kbs=^H, kcbt=\EI, kclr=^Z, kcub1=^H, kcud1=^V, kcuf1=^L, 
9048         kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, kel=\ET, kf0=^AI\r, 
9049         kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
9050         kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
9051         kich1=\EQ, kil1=\EE, tsl=\Ef, 
9052         use=adm+sgr, 
9053 # Renamed TB=^I to :ta:, BE=^G to :bl:, BS=^H to :kb:, N to :kS: (based on the
9054 # other kt7 entry and the adjacent key capabilities).  Removed EE which is
9055 # identical to :mh:.  Removed :ES=\EGD: which is some kind of highlight
9056 # but we can't figure out what.
9057 kt7ix|kimtron model kt-7 or 70 in IX mode, 
9058         am, bw, 
9059         cols#80, it#8, lines#25, 
9060         acsc=lZm@k?jYt4uCvAwBqDx3nE, bel=^G, blink=\EG2, cbt=\EI, 
9061         civis=\E.0, clear=\E*, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V, 
9062         cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
9063         dch1=\EW, dim=\EG@, dl1=\ER, dsl=\Ef\r, ed=\EY, el=\ET, fsl=^M, 
9064         home=^^, ht=^I, ich1=\EQ, il1=\EE, ind=^J, 
9065         is2=\EG0\E s\017\E~, kbs=^H, kcbt=\EI, kclr=\E*, 
9066         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdl1=\ER, 
9067         ked=\EY, kel=\ET, kend=\EY, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, 
9068         kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
9069         kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ, kil1=\EE, knp=\EJ, 
9070         nel=^M^J, pulse=\EK, rmacs=\E%, rmir=, rmso=\EG0, rmul=\EG0, 
9071         sgr0=\EG0, smacs=\E$, smir=, smso=\EG4, smul=\EG8, tsl=\Ef, 
9072
9073 #### Microdata/MDIS
9074 #
9075 # This was a line of terminals made by McDonnell-Douglas Information Systems.
9076 # These entries come direct from MDIS documentation.  I have edited them only
9077 # to move primary names of the form p[0-9] * to aliases, and to comment out
9078 # <rmacs>/<smacs> in a couple of entries without <acsc> strings.  I have 
9079 # also removed the change history; the last version indicates this is
9080 # version 4.3 by A.Barkus, September 1990 (earliest entry is October 1989).
9081 #
9082
9083 # McDonnell Information Systems Terminal Family History
9084 # =========================================
9085 #
9086 # Prism-1, Prism-2 and P99:
9087 #       Ancient Microdata and CMC terminals, vaguely like Adds Regent 25.
9088 #
9089 # Prism-4 and Prism-5:
9090 #       Slightly less ancient range of Microdata terminals. Follow-on from
9091 #       Prism-2, but with many enhancements. P5 has eight display pages.
9092 #
9093 # Prism-6:
9094 #       A special terminal for use with library systems, primarily in Germany.
9095 #       Limited numbers. Similar functionality to P5 (except attributes?).
9096 #
9097 # Prism-7, Prism-8 and Prism-9:
9098 #       More recent range of MDIS terminals, in which P7 and P8
9099 #       replace the P4 & P5, with added functionality, and P9 is the flagship.
9100 #       The P9 has two emulation modes - P8 and ANSI - and includes a
9101 #       large number of the DEC VT220 control sequences. Both
9102 #       P8 and P9 support 80c/24ln/8pg and 132cl/24li/4pg formats.
9103 #
9104 # Prism-12 and Prism-14:
9105 #       Latest range, functionally very similar to the P9.  The P14 has a
9106 #       black-on-white overscanning screen.
9107 #
9108 # The terminfo definitions given here are:
9109 #
9110 # p2      - Prism-2 (or Prism-1 or P99).
9111 #
9112 # p4      - Prism-4 (and older P7s & P8s).
9113 # p5      - Prism-5 (or Prism-6).
9114 #
9115 # p7      - Prism-7.
9116 # p8      - Prism-8 (in national or multinational mode).
9117 # p8-w    - 132 column version of p8.
9118 # p9      - Prism-9 in ANSI mode.
9119 # p9-w    - 132 column version of p9.
9120 # p9-8    - Prism-9 in Prism-8 emulation mode.
9121 # p9-8-w  - As p9-8, but with 132 columns.
9122 #
9123 # p12     - Prism-12 in ANSI mode.
9124 # p12-w   - 132 column version of p12.
9125 # p12-m   - Prism-12 in MDC emulation mode.
9126 # p12-m-w - As p12-m, but with 132 columns.
9127 # p14     - Prism-14 in ANSI mode.
9128 # p14-w   - 132 column version of p14.
9129 # p14-m   - Prism-14 in MDC emulation mode.
9130 # p14-m-w - As p14-m, but with 132 columns.
9131 #
9132 # p2: Prism-2
9133 # -----------
9134 #
9135 # Includes Prism-1 and basic P99 without SP or MP loaded.
9136 # The simplest form of Prism-type terminal.
9137 # Basic cursor movement and clearing operations only.
9138 # No video attributes.
9139 # Notes:
9140 #  Horizontal cursor qualifiers of NUL, XON and XOFF are mapped to the next
9141 #  value up, followed by backspace.
9142 #
9143 prism2|MDC Prism-2, 
9144         am, bw, msgr, 
9145         cols#80, lines#24, 
9146         bel=^G, clear=\014$<20>, cr=^M, cub1=^H, cud1=^J, cuf1=^F, 
9147         cup=\013%p1%' '%+%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c, 
9148         cuu1=^Z, ed=\EJ, el=\EK, home=^A, 
9149         hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c, 
9150         ind=^J, kbs=^H, khome=^A, vpa=\013%p1%' '%+%c, 
9151
9152 # p4: Prism-4
9153 # -----------
9154 #
9155 # Includes early versions of P7 & P8.
9156 # Basic family definition for most Prisms (except P2 and P9 ANSI).
9157 # Notes:
9158 #  Horizontal cursor qualifiers of NUL, XON and XOFF are mapped to the next
9159 #  value up, followed by backspace.
9160 #  Cursor key definitions removed because they interfere with vi and csh keys.
9161 #
9162 prism4|p4|P4|MDC Prism-4, 
9163         am, bw, hs, mc5i, msgr, 
9164         cols#80, lines#24, wsl#72, xmc#1, 
9165         bel=^G, blink=^CB, civis=^]\344, clear=\014$<20>, 
9166         cnorm=^]\342, cr=^M, cub1=^H, cud1=^J, cuf1=^F, 
9167         cup=\013%p1%' '%+%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c, 
9168         cuu1=^Z, dim=^CA, dsl=\035\343\035\345, ed=\EJ, el=\EK, 
9169         fsl=^]\345, home=^A^J, 
9170         hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c, 
9171         ind=^J, invis=^CH, kbs=^H, khome=^A, mc0=\EU, mc4=\ET, mc5=\ER, 
9172         rev=^CD, rmso=^C\s, rmul=^C\s, 
9173         sgr=\003%'@'%?%p1%p3%|%t%{4}%+%;%?%p2%t%{16}%+%;%?%p4%t%{2}%+%;%?%p5%t%{1}%+%;%?%p7%t%{8}%+%;%c%?%p9%t\016%e\017%;, 
9174         sgr0=^C\s, smso=^CD, smul=^CP, tsl=^]\343, 
9175         vpa=\013%p1%' '%+%c, 
9176
9177 # p5: Prism-5
9178 # -----------
9179 #
9180 # Same definition as p4. Includes Prism-6 (not tested!).
9181 # Does not use any multi-page features.
9182 #
9183 prism5|p5|P5|MDC Prism-5, 
9184         use=p4, 
9185
9186 # p7: Prism-7
9187 # -----------
9188 #
9189 # Similar definition to p4. Uses ANSI cursor motion to avoid network problems.
9190 # Notes:
9191 #  Use p4 for very early models of P7.
9192 #  Rev-index removed; can't send nulls to terminal in 8-bit modes.
9193 #
9194 prism7|p7|P7|MDC Prism-7, 
9195         cup=\E[%i%p1%d;%p2%dH, hpa@, vpa@, use=p4, 
9196
9197 # p8: Prism-8
9198 # -----------
9199 #
9200 # Similar definition to p7. Uses ANSI cursor motion to avoid network problems.
9201 # Supports national and multinational character sets.
9202 # Notes:
9203 #  Alternate char set operations only work in multinational mode.
9204 #  Use p4 for very early models of P8.
9205 #  Rev-index removed; can't send nulls to terminal in 8-bit modes.
9206 # (esr: commented out <smacs>/<rmacs> because there's no <acsc>)
9207 #
9208 prism8|p8|P8|MDC Prism-8, 
9209         cup=\E[%i%p1%d;%p2%dH, hpa=\E[%i%p1%d`, is2=\E[<12h, 
9210         vpa=\E[%i%p1%dd, 
9211         use=p4, 
9212
9213 # p8-w: Prism-8 in 132 column mode
9214 # --------------------------------
9215 #
9216 # 'Wide' version of p8.
9217 # Notes:
9218 #  Rev-index removed; can't send nulls to terminal in 8-bit modes.
9219 #
9220 prism8-w|p8-w|P8-W|MDC Prism-8 in 132 column mode, 
9221         cols#132, 
9222         is2=\E[<12h\E[<14h, use=p8, 
9223
9224 # p9: Prism-9 in ANSI mode
9225 # -------------------------
9226 #
9227 # The "flagship" model of this generation of terminals.
9228 # ANSI X3.64 (ISO 6429) standard sequences, plus many DEC VT220 ones.
9229 # Notes:
9230 #  Tabs only reset by "reset". Otherwise assumes default (8 cols).
9231 #  Fixes to deal with terminal firmware bugs:
9232 #  . 'ri' uses insert-line since rev index doesn't always
9233 #  . 'sgr0' has extra '0' since esc[m fails
9234 #  . 'fsl' & 'dsl' use illegal char since cr is actioned wrong on line 25
9235 #  Not covered in the current definition:
9236 #  . Labels
9237 #  . Programming Fn keys
9238 #  . Graphic characters (defaults correctly to vt100)
9239 #  . Padding values (sets xon)
9240 # (esr: commented out <smacs>/<rmacs> because there's no <acsc>)
9241 #
9242 prism9|p9|P9|MDC Prism-9 in ANSII mode, 
9243         am, bw, hs, mc5i, msgr, xenl, xon, 
9244         cols#80, it#8, lines#24, vt#3, wsl#72, 
9245         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[<4l, 
9246         clear=^L, cnorm=\E[<4h, cr=^M, csr=\E[%i%p1%d;%p2%d%%v, 
9247         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
9248         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
9249         cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
9250         dl=\E[%p1%dM, dl1=\E[M, dsl=\E[%}\024, ech=\E[%p1%dX, 
9251         ed=\E[J$<10>, el=\E[K, fsl=^T, home=\E[H, hpa=\E[%i%p1%d`, 
9252         ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=^J, 
9253         is2=\E[&p\E[<12l\E F, kbs=^H, kclr=^L, kcub1=\E[D, 
9254         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\E[11~, 
9255         kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, 
9256         kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, 
9257         kf18=\E[32~, kf2=\E[12~, kf3=\E[13~, kf4=\E[14~, 
9258         kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
9259         khome=\E[H, mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=^M^J, 
9260         prot=\E[32%{, rc=\E[%z, rep=\E[%p2%db%p1%c, rev=\E[7m, 
9261         ri=\E[L, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m, 
9262         rs2=\E[&p\E[<12l\E F\E[3g\E[9;17;25;33;41;49;57;65;73 N, 
9263         sc=\E[%y, 
9264         sgr=\E[%{0}%?%p1%p3%|%t%{4}%+%;%?%p2%t%{2}%+%;%?%p4%t%{1}%+%;%?%p6%t%{8}%+%;%?%p8%t%{32}%+%;%d%%{%?%p9%t\016%e\017%;, 
9265         sgr0=\E[0m, smir=\E[4h, smso=\E[7m, smul=\E[4m, tbc=\E[2g, 
9266         tsl=\E[%i%p1%d%%}, vpa=\E[%i%p1%dd, 
9267
9268 # p9-w: Prism-9 in 132 column mode
9269 # --------------------------------
9270 #
9271 # 'Wide' version of p9.
9272 #
9273 prism9-w|p9-w|P9-W|MDC Prism-9 in 132 column mode, 
9274         cols#132, 
9275         is2=\E[&p\E[<12l\E F\E[<14h, 
9276         rs2=\E[&p\E[<12l\E F\E[<14h, use=p9, 
9277
9278 # p9-8: Prism-9 in P8 mode
9279 # ------------------------
9280 #
9281 # P9 terminal in P8 emulation mode.
9282 # Similar to p8 definition.
9283 # Insertion and deletion operations possible.
9284 #
9285 prism9-8|p9-8|P9-8|MDC Prism-9 in P8 mode, 
9286         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
9287         ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, use=p8, 
9288
9289 # p9-8-w: Prism-9 in P8 and 132 column modes
9290 # ------------------------------------------
9291 #
9292 # P9 terminal in P8 emulation mode and 132 column mode.
9293 #
9294 prism9-8-w|p9-8-w|P9-8-W|MDC Prism-9 in Prism 8 emulation and 132 column mode, 
9295         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
9296         ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, use=p8-w, 
9297
9298 # p12: Prism-12 in ANSI mode
9299 # ---------------------------
9300 #
9301 # See p9 definition.
9302 #
9303 prism12|p12|P12|MDC Prism-12 in ANSI mode, 
9304         use=p9, 
9305
9306 # p12-w: Prism-12 in 132 column mode
9307 # ----------------------------------
9308 #
9309 # 'Wide' version of p12.
9310 #
9311 prism12-w|p12-w|P12-W|MDC Prism-12 in 132 column mode, 
9312         use=p9-w, 
9313
9314 # p12-m: Prism-12 in MDC emulation mode
9315 # -------------------------------------
9316 #
9317 # P12 terminal in MDC emulation mode.
9318 # Similar to p8 definition.
9319 # Insertion and deletion operations possible.
9320 #
9321 prism12-m|p12-m|P12-M|MDC Prism-12 in MDC emulation mode, 
9322         use=p9-8, 
9323
9324 # p12-m-w: Prism-12 in MDC emulation and 132 column modes
9325 # -------------------------------------------------------
9326 #
9327 # P12 terminal in MDC emulation mode and 132 column mode.
9328 #
9329 prism12-m-w|p12-m-w|P12-M-W|MDC Prism-12 in MDC emulation and 132 column mode, 
9330         use=p9-8-w, 
9331
9332 # p14: Prism-14 in ANSII mode
9333 # ---------------------------
9334 #
9335 # See p9 definition.
9336 #
9337 prism14|p14|P14|MDC Prism-14 in ANSII mode, 
9338         use=p9, 
9339
9340 # p14-w: Prism-14 in 132 column mode
9341 # ----------------------------------
9342 #
9343 # 'Wide' version of p14.
9344 #
9345 prism14-w|p14-w|P14-W|MDC Prism-14 in 132 column mode, 
9346         use=p9-w, 
9347
9348 # p14-m: Prism-14 in MDC emulation mode
9349 # -------------------------------------
9350 #
9351 # P14 terminal in MDC emulation mode.
9352 # Similar to p8 definition.
9353 # Insertion and deletion operations possible.
9354 #
9355 prism14-m|p14-m|P14-M|MDC Prism-14 in MDC emulation mode, 
9356         use=p9-8, 
9357
9358 # p14-m-w: Prism-14 in MDC emulation and 132 column modes
9359 # -------------------------------------------------------
9360 #
9361 # P14 terminal in MDC emulation mode and 132 column mode.
9362 #
9363 prism14-m-w|p14-m-w|P14-M-W|MDC Prism-14 in MDC emulation and 132 column mode, 
9364         use=p9-8-w, 
9365
9366 # End of McDonnell Information Systems Prism definitions
9367
9368 # These things were popular in the Pick database community at one time
9369 # From: George Land <georgeland@aol.com> 24 Sep 1996
9370 p8gl|prism8gl|McDonnell-Douglas Prism-8 alternate definition, 
9371         am, bw, hs, mir, 
9372         cols#80, lines#24, ma#1, wsl#78, xmc#1, 
9373         bel=^G, blink=^CB, clear=^L, cr=^M, cub1=^U, cud1=^J, cuf1=^F, 
9374         cup=\E[%i%p1%d;%p2%dH, cuu1=^Z, dch1=\s^H, dim=^CA, dl1=^P, 
9375         ed=\EJ, el=\EK, home=^A, ind=^J, invis=^CH, kbs=^H, kcub1=^U, 
9376         kcud1=^J, kcuf1=^F, kcuu1=^Z, kdch1=\s^H, kdl1=^P, ked=\EJ, 
9377         kel=\EK, kf1=^A@\r, kf10=^AI\r, kf12=^AJ\r, kf13=^AK\r, 
9378         kf14=^AL\r, kf15=^AM\r, kf16=^AN\r, kf17=^AO\r, kf2=^AA\r, 
9379         kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
9380         kf8=^AG\r, kf9=^AH\r, khome=^A, lf1=F1, lf10=F10, lf2=F2, 
9381         lf3=F3, lf4=F4, lf5=F5, lf6=F6, lf7=F7, lf8=F8, lf9=F9, nel=^J^M, 
9382         pad=\200, rev=^CD, rmso=^C\s, rmul=^C\s, sgr0=^C\s, smso=^CE, 
9383         smul=^C0, 
9384
9385 #### Microterm (act, mime)
9386 #
9387 # The mime1 entries refer to the Microterm Mime I or Mime II.
9388 # The default mime is assumed to be in enhanced act iv mode.
9389 #
9390
9391 # New "safe" cursor movement (5/87) from <reuss@umd5.umd.edu>.  Prevents
9392 # freakout with out-of-range args on Sytek multiplexors.  No <smso=^N> and
9393 # <rmso=^N> since  it gets confused and it's too dim anyway.  No <ich1>
9394 # since Sytek insists ^S means xoff.
9395 # (act4: found ":ic=2^S:ei=:im=:ip=.1*^V:" commented out in 8.3 -- esr)
9396 act4|microterm|microterm act iv, 
9397         am, 
9398         cols#80, lines#24, 
9399         bel=^G, clear=\014$<12/>, cr=^M, cub1=^H, cud1=^K, cuf1=^X, 
9400         cup=\024%p1%{24}%+%c%p2%p2%?%'/'%>%t%'0'%+%;%'P'%+%c, 
9401         cuu1=^Z, dch1=\004$<.1*/>, dl1=\027$<2.3*/>, 
9402         ed=\037$<2.2*/>, el=\036$<.1*/>, home=^], 
9403         il1=\001<2.3*/>, ind=^J, kcub1=^H, kcud1=^K, kcuf1=^X, 
9404         kcuu1=^Z, 
9405 # The padding on :sr: and :ta: for act5 and mime is a guess and not final.
9406 # The act 5 has hardware tabs, but they are in columns 8, 16, 24, 32, 41 (!)...
9407 # (microterm5: removed obsolete ":ma==^Z^P^Xl^Kj:" -- esr)
9408 act5|microterm5|microterm act v, 
9409         kcub1=^H, kcud1=^K, kcuf1=^X, kcuu1=^Z, ri=\EH$<3>, uc=^H\EA, use=act4, 
9410 # Mimes using brightness for standout.  Half bright is really dim unless
9411 # you turn up the brightness so far that lines show up on the screen.
9412 mime-fb|full bright mime1, 
9413         is2=^S\E, rmso=^S, smso=^Y, use=mime, 
9414 mime-hb|half bright mime1, 
9415         is2=^Y\E, rmso=^Y, smso=^S, use=mime, 
9416 # (mime: removed obsolete ":ma=^X ^K^J^Z^P:"; removed ":do=^K:" that overrode
9417 # the more plausible ":do=^J:" -- esr)
9418 # uc was at one time disabled to get around a curses bug, be wary of it
9419 mime|mime1|mime2|mimei|mimeii|microterm mime1, 
9420         am, 
9421         cols#80, it#8, lines#24, vt#9, 
9422         bel=^G, clear=^]^C, cr=^M, cub1=^H, cud1=^J, cuf1=^X, 
9423         cup=\024%p1%{24}%+%c%p2%p2%?%{32}%>%t%'0'%+%;%'P'%+%c, 
9424         cuu1=^Z, dl1=\027$<80>, ed=^_, el=^^, home=^], ht=\011$<2>, 
9425         il1=\001$<80>, ind=^J, is2=^S\E^Q, kcub1=^H, kcud1=^K, 
9426         kcuf1=^X, kcuu1=^Z, ri=\022$<3>, uc=^U, 
9427 # These termcaps (for mime2a) put the terminal in low intensity mode
9428 # since high intensity mode is so obnoxious.
9429 mime2a-s|microterm mime2a (emulating an enhanced soroc iq120), 
9430         am, 
9431         cols#80, lines#24, 
9432         bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
9433         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EI, dch1=\ED, 
9434         dl1=\027$<20*>, ed=\EJ$<20*>, el=\EK, home=^^, 
9435         il1=\001$<20*>, ind=^J, ip=$<2>, is2=\E), kcub1=^H, kcud1=^J, 
9436         kcuf1=^L, kcuu1=^K, ri=\EI, rmir=^Z, rmso=\E;, rmul=\E7, 
9437         smir=\EE, smso=\E\:, smul=\E6, 
9438 # This is the preferred mode (but ^X can't be used as a kill character)
9439 mime2a|mime2a-v|microterm mime2a (emulating an enhanced vt52), 
9440         cols#80, it#8, lines#24, 
9441         bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
9442         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=^N, 
9443         dl1=\027$<20*>, ed=\EQ$<20*>, el=\EP, home=\EH, ht=^I, 
9444         il1=\001$<20*>, ind=^J, ip=$<2>, is2=^Y, kcub1=\ED, 
9445         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, ri=\EA, rmir=^Z, rmso=\E9, 
9446         rmul=\E5, smir=^O, smso=\E8, smul=\E4, 
9447 # (mime3a: removed obsolete ":ma=^X ^K^J^Z^P:" -- esr)
9448 mime3a|mime1 emulating 3a, 
9449         am@, 
9450         kcub1=^H, kcud1=^K, kcuf1=^X, kcuu1=^Z, use=adm3a, 
9451 mime3ax|mime-3ax|mime1 emulating enhanced 3a, 
9452         it#8, 
9453         dl1=\027$<80>, ed=^_, el=^X, ht=\011$<3>, il1=\001$<80>, use=mime3a, 
9454 # Wed Mar  9 18:53:21 1983
9455 # We run our terminals at 2400 baud, so there might be some timing problems at
9456 # higher speeds. The major improvements in this model are the terminal now 
9457 # scrolls down and insert mode works without redrawing the rest of the line
9458 # to the right of the cursor. This is done with a bit of a kludge using the
9459 # exit graphics mode to get out of insert, but it does not appear to hurt
9460 # anything when using vi at least. If you have some users using act4s with
9461 # programs that use curses and graphics mode this could be a problem.
9462 mime314|mm314|mime 314, 
9463         am, 
9464         cols#80, lines#24, 
9465         clear=^L, cub1=^H, cuf1=^X, cup=\024%p1%c%p2%c, cuu1=^Z, 
9466         dch1=^D, dl1=^W, ed=^_, el=^^, home=^], ht=^I, il1=^A, kcub1=^H, 
9467         kcud1=^K, kcuf1=^X, kcuu1=^Z, rmir=^V, smir=^S, 
9468 # Microterm mime 340 from University of Wisconsin
9469 mm340|mime340|mime 340, 
9470         cols#80, lines#24, 
9471         clear=\032$<12/>, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
9472         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
9473         dch1=\E#$<2.1*/>, dl1=\EV$<49.6/>, ed=\037$<2*/>, 
9474         el=\EL$<2.1/>, ht=^I, il1=\EU$<46/>, ind=^J, is2=\E\,, 
9475         kbs=^H, kcub1=^H, kcud1=^J, kcuu1=^K, nel=^M^J, 
9476 # This came from University of Wisconsin marked "astro termcap for jooss".
9477 # (mt4520-rv: removed obsolete ":kn#4:" and incorrect ":ri=\E[C:";
9478 # also added <rmam>/<smam> based  on the init string -- esr)
9479 mt4520-rv|micro-term 4520 reverse video, 
9480         am, hs, msgr, xenl, xon, 
9481         cols#80, it#8, lines#24, wsl#80, 
9482         bel=^G, clear=\E[H\E[J, cnorm=\E[0V\E8, cr=^M, 
9483         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D, 
9484         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
9485         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
9486         cvvis=\E7\E[0U, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
9487         dl1=\E[M, ed=\E[J, el=\E[K, flash=\E[?5l$<200/>\E[?5h, 
9488         fsl=\E[?5l\E[?5h, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, 
9489         ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
9490         is2=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[1;24r\E[24;1H\E[H\E[J, 
9491         kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
9492         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, 
9493         ll=\E[24;1H, nel=\EE, rc=\E8, rf=/usr/share/tabset/vt100, 
9494         ri=\EM, rmam=\E[?7l, rmso=\E[0m, rmul=\E[24m, 
9495         rs1=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[H\E[J, 
9496         sc=\E7, sgr0=\E[m, smam=\E[?7h, smso=\E[7m, smul=\E[4m, 
9497         tbc=\E[g, tsl=\E[25;1H, 
9498
9499 # Fri Aug  5 08:11:57 1983
9500 # This entry works for the ergo 4000 with the following setups:
9501 # ansi,wraparound,newline disabled, xon/xoff disabled in both
9502 # setup a & c.
9503 #       
9504 # WARNING!!! There are multiple versions of ERGO 4000 microcode
9505 # Be advised that very early versions DO NOT WORK RIGHT !!  
9506 # Microterm does have a ROM exchange program- use it or lose big
9507 # (ergo400: added <rmam>/<smam> based on the init string -- esr)
9508 ergo4000|microterm ergo 4000, 
9509         da, db, msgr, 
9510         cols#80, lines#66, 
9511         bel=^G, clear=\E[H\E[2J$<80>, cr=^M, cub1=^H, cud1=\E[B, 
9512         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
9513         dch1=\E[1P$<80>, dl1=\E[1M$<5*>, ed=\E[0J$<15>, 
9514         el=\E[0K$<13>, ht=^I, il=\E[1L$<5*>, ind=\ED$<20*>, 
9515         is2=\E<\E=\E[?1l\E[?4l\E[?5l\E[?7h\E[?8h$<300>, 
9516         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, 
9517         kf2=\EOQ, kf3=\EOR, kf4=\EOS, lf1=pf1, lf2=pf2, lf3=pf3, 
9518         lf4=pf4, ri=\EM$<20*>, rmam=\E[?7l, rmir=\E[4l, 
9519         rmkx=\E=$<4>, rmso=\E[m$<20>, sgr0=\E[m$<20>, 
9520         smam=\E[?7m, smir=\E[4h$<6>, smkx=\E=$<4>, 
9521         smso=\E[7m$<20>, 
9522
9523 #### NCR 
9524 #
9525 # NCR's terminal group was merged with AT&T's when AT&T bought the company.
9526 # For what happened to that group, see the ADDS section.
9527 #
9528 # There is an NCR4103 terminal that's just a re-badged Wyse-50.
9529 #
9530
9531 # NCR7900 DIP switches:
9532 #
9533 # Switch A:
9534 # 1-4 - Baud Rate
9535 # 5   - Parity (Odd/Even)
9536 # 6   - Don't Send or Do Send Spaces
9537 # 7   - Parity Enable
9538 # 8   - Stop Bits (One/Two)
9539
9540 # Switch B:
9541 # 1   - Upper/Lower Shift
9542 # 2   - Typewriter Shift
9543 # 3   - Half Duplex / Full Duplex
9544 # 4   - Light/Dark Background
9545 # 5-6 - Carriage Return Without / With Line Feed
9546 # 7   - Extended Mode
9547 # 8   - Suppress Keyboard Display
9548
9549 # Switch C:
9550 # 1   - End of line entry disabled/enabled
9551 # 2   - Conversational mode / (Local?) Mode
9552 # 3   - Control characters displayed / not displayed
9553 # 4   - (2-wire?) / 4-wire communications
9554 # 5   - RTS on and off for each character
9555 # 6   - (50Hz?) / 60 Hz
9556 # 7   - Exit after level zero diagnostics
9557 # 8   - RS-232 interface
9558
9559 # Switch D:
9560 # 1   - Reverse Channel (yes / no)
9561 # 2   - Manual answer (no / yes)
9562 # 3-4 - Cursor appearance
9563 # 5   - Communication Rate
9564 # 6   - Enable / Disable EXT turnoff
9565 # 7   - Enable / Disable CR turnoff
9566 # 8   - Enable / Disable backspace
9567 #
9568 # From <root@goliath.un.atlantaga.NCR.COM>, init string hacked by SCO.
9569 ncr7900i|ncr7900|ncr 7900 model 1, 
9570         am, bw, ul, 
9571         cols#80, lines#24, xmc#1, 
9572         bel=^G, blink=\E0B, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F, 
9573         cup=\E1%p2%c%p1%c, cuu1=^Z, dim=\E0A, ed=\Ek, el=\EK, ind=^J, 
9574         is2=\E0@\010\E3\E4\E7, kcub1=^U, kcud1=^J, kcuf1=^F, 
9575         kcuu1=^Z, khome=^A, ll=^A, mc4=^T, mc5=^R, rev=\E0P, rmso=\E0@, 
9576         rmul=\E0@, 
9577         sgr=\E0%p5%'@'%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c, 
9578         sgr0=\E0@, smso=\E0Q, smul=\E0`, 
9579 ncr7900iv|ncr 7900 model 4, 
9580         am, bw, eslok, hs, 
9581         cols#80, lines#24, 
9582         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, 
9583         cup=\013%p1%'@'%+%c\E\005%p2%02d, dl1=\E^O, dsl=\Ey1, 
9584         fsl=\Ek\Ey5, home=\013@\E^E00, il1=\E^N, ind=^J, kbs=^H, 
9585         kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf1=\ES, kf2=\ET, 
9586         kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, 
9587         khome=\EH, lf6=blue, lf7=red, lf8=white, nel=^M^J, 
9588         tsl=\Ej\Ex5\Ex1\EY8%p1%{32}%+%c\Eo, 
9589 ncr7901|ncr 7901 model, 
9590         am, bw, ul, 
9591         cols#80, lines#24, 
9592         bel=^G, blink=\E0B, civis=^W, clear=^L, cnorm=^X, cr=^M, 
9593         cub1=^H, cud1=^J, cuf1=^F, 
9594         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dim=\E0A, 
9595         ed=\Ek, el=\EK, 
9596         hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%c, ind=^J, 
9597         is2=\E4^O, kclr=^L, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z, 
9598         khome=^H, ll=^A, mc4=^T, mc5=^R, rev=\E0P, rmso=^O, rmul=^O, 
9599         sgr=\E0%p5%'@'%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c\016, 
9600         sgr0=^O, smso=\E0Q\016, smul=\E0`\016, 
9601         vpa=\013%p1%'@'%+%c, 
9602
9603 #### Perkin-Elmer (Owl)
9604 #
9605 # These are official terminfo entries from within Perkin-Elmer.
9606 #
9607
9608 bantam|pe550|pe6100|perkin elmer 550, 
9609         cols#80, lines#24, 
9610         bel=^G, clear=\EK$<20>, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
9611         cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA, 
9612         el=\EI$<20>, home=\EH, ind=^J, ll=\EH\EA, 
9613 fox|pe1100|perkin elmer 1100, 
9614         am, 
9615         cols#80, lines#24, 
9616         bel=^G, clear=\EH\EJ$<132>, cr=^M, cub1=^H, cud1=^J, 
9617         cuf1=\EC, cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA, 
9618         ed=\EJ$<5.5*>, el=\EI, flash=\020\002$<200/>\020\003, 
9619         home=\EH, hts=\E1, ind=^J, ll=\EH\EA, tbc=\E3, 
9620 owl|pe1200|perkin elmer 1200, 
9621         am, in, 
9622         cols#80, lines#24, 
9623         bel=^G, clear=\EH\EJ$<132>, cr=^M, cub1=^H, cud1=^J, 
9624         cuf1=\EC, cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA, 
9625         dch1=\EO$<5.5*>, dl1=\EM$<5.5*>, ed=\EJ$<5.5*>, 
9626         el=\EI$<5.5>, flash=\020\002$<200/>\020\003, home=\EH, 
9627         hts=\E1, ich1=\EN, il1=\EL$<5.5*>, ind=^J, ip=$<5.5*>, 
9628         kbs=^H, kf0=\ERJ, kf1=\ERA, kf2=\ERB, kf3=\ERC, kf4=\ERD, 
9629         kf5=\ERE, kf6=\ERF, kf7=\ERG, kf8=\ERH, kf9=\ERI, ll=\EH\EA, 
9630         rmso=\E!\200, sgr0=\E!\200, smso=\E!^H, tbc=\E3, 
9631 pe1251|pe6300|pe6312|perkin elmer 1251, 
9632         am, 
9633         cols#80, it#8, lines#24, pb#300, vt#8, xmc#1, 
9634         bel=^G, clear=\EK$<332>, cr=^M, cub1=\ED, cud1=\EB, cuf1=\EC, 
9635         cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA, 
9636         ed=\EJ$<20*>, el=\EI$<10*>, home=\EH, hts=\E1, ind=^J, 
9637         kf0=\ERA, kf1=\ERB, kf10=\ERK, kf2=\ERC, kf3=\ERD, kf4=\ERE, 
9638         kf5=\ERF, kf6=\ERG, kf7=\ERH, kf8=\ERI, kf9=\ERJ, tbc=\E3, 
9639 # (pe7000m: this had
9640 #       rmul=\E!\0, smul=\E!\040, 
9641 # which is probably wrong, it collides with kf0
9642 pe7000m|perkin elmer 7000 series monochrome monitor, 
9643         am, 
9644         cols#80, lines#24, 
9645         bel=^G, cbt=\E!Y, clear=\EK, cr=^M, cub1=\ED, cud1=\EB, 
9646         cuf1=\EC, cup=\ES%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
9647         ed=\EJ, el=\EI, home=\EH, ind=^J, 
9648         is1=\E!\200\EW  7o\Egf\ES7\s, kbs=^H, kcub1=\E!V, 
9649         kcud1=\E!U, kcuf1=\E!W, kcuu1=\E!T, kf0=\E!\200, kf1=\E!^A, 
9650         kf10=\E!^J, kf2=\E!^B, kf3=\E!^C, kf4=\E!^D, kf5=\E!^E, 
9651         kf6=\E!^F, kf7=\E!^G, kf8=\E!^H, kf9=\E!^I, khome=\E!S, 
9652         ll=\ES7\s, ri=\ER, 
9653 pe7000c|perkin elmer 7000 series colour monitor, 
9654         is1=\E!\200\EW  7o\Egf\Eb0\Ec7\ES7\s, rmso=\Eb0, 
9655         rmul=\E!\200, smso=\Eb2, smul=\E!\s, 
9656         use=pe7000m, 
9657
9658 #### Sperry Univac
9659 #
9660 # Sperry Univac has merged with Burroughs to form Unisys.
9661 #
9662
9663 # This entry is for the Sperry UTS30 terminal running the TTY 
9664 # utility under control of CP/M Plus 1R1. The functionality 
9665 # provided is comparable to the DEC vt100.
9666 # (uts30: I added <rmam>/<smam> based on the init string -- esr)
9667 uts30|sperry uts30 with cp/m@1R1, 
9668         am, bw, hs, 
9669         cols#80, lines#24, wsl#40, 
9670         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
9671         bel=^G, blink=\E[5m, bold=\E[1m, civis=\ER, clear=^L, 
9672         cnorm=\ES, cr=^M, csr=\EU%p1%{32}%+%c%p2%{32}%+%c, 
9673         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\EB, 
9674         cuf=\E[%p1%dC, cuf1=\EC, cup=\E[%i%p1%d;%p2%dH, 
9675         cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\EM, 
9676         dl=\E[%p1%dM, dl1=\EL, ed=\E[J, el=\E[K, fsl=^M, home=\E[H, 
9677         ht=^I, ich=\E[%p1%d@, ich1=\EO, il=\E[%p1%dL, il1=\EN, 
9678         ind=^J, indn=\E[%p1%dB, is2=\E[U 7\E[24;1H, kbs=^H, 
9679         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, khome=\E[H, 
9680         rc=\EX, rev=\E[7m, rf=/usr/share/tabset/vt100, ri=\EI, 
9681         rin=\E[%p1%dA, rmacs=\Ed, rmam=\E[?7l, rmso=\E[m, 
9682         rmul=\E[m, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
9683         sc=\EW, sgr0=\E[m, smacs=\EF, smam=\E[?7m, smso=\E[7m, 
9684         smul=\E[4m, tsl=\E], uc=\EPB, 
9685
9686 #### Tandem
9687 #
9688 # Tandem builds these things for use with its line of fault-tolerant
9689 # transaction-processing computers.  They aren't generally available
9690 # on the merchant market, and so are fairly uncommon.
9691 #
9692
9693 tandem6510|adm3a repackaged by Tandem, 
9694         use=adm3a, 
9695
9696 # A funny series of terminal that TANDEM uses.  The actual model numbers
9697 # have a fourth digit after 653 that designates minor variants.  These are
9698 # natively block-mode and rather ugly, but they have a character mode which
9699 # this doubtless(?) exploits.  There is a 6520 that is slightly dumber.
9700 # (tandem653: had ":sb=\ES:", probably someone's mistake for sf; also,
9701 # removed <if=/usr/share/tabset/tandem653>, no such file -- esr)
9702 tandem653|t653x|Tandem 653x multipage terminal, 
9703         am, da, db, hs, 
9704         cols#80, lines#24, wsl#64, xmc#1, 
9705         clear=\EI, cub1=^H, cud1=^J, cuf1=\EC, 
9706         cup=\023%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dsl=\Eo\r, 
9707         ed=\EJ, el=\EK, fsl=^M, home=\EH, ind=\ES, ri=\ET, rmso=\E6\s, 
9708         rmul=\E6\s, sgr0=\E6\s, smso=\E6$, smul=\E60, tsl=\Eo, 
9709
9710 #### Tandy/Radio Shack
9711 #
9712 # Tandy has a line of VDTs distinct from its microcomputers.
9713 #
9714
9715 dmterm|deskmate terminal, 
9716         am, bw, 
9717         cols#80, lines#24, 
9718         bel=^G, civis=\EG5, clear=\Ej, cnorm=\EG6, cr=^M, cub1=^H, 
9719         cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
9720         cuu1=\EA, dch1=\ES, dl1=\ER, ed=\EJ, el=\EK, home=\EH, ht=^I, 
9721         ich1=\EQ, il1=\EP, ind=\EX, invis@, kcub1=\ED, kcud1=\EB, 
9722         kcuf1=\EC, kcuu1=\EA, kf0=\E1, kf1=\E2, kf2=\E3, kf3=\E4, 
9723         kf4=\E5, kf5=\E6, kf6=\E7, kf7=\E8, kf8=\E9, kf9=\E0, 
9724         khome=\EH, lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, 
9725         lf6=f7, lf7=f8, lf8=f9, lf9=f10, ll=\EE, rmul@, smul@, 
9726         use=adm+sgr, 
9727 dt100|dt-100|Tandy DT-100 terminal, 
9728         xon, 
9729         cols#80, lines#24, xmc#1, 
9730         acsc=kkllmmjjnnwwvvttuuqqxx, bel=^G, civis=\E[?25l, 
9731         clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
9732         csr=\E[%p1%2d;%p2%2dr, cub1=^H, cud1=\E[B, cuf1=\E[C, 
9733         cup=\010\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, 
9734         dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, 
9735         il1=\E[L, ind=^J, is2=\E[?3l\E)0\E(B, kcub1=\E[D, 
9736         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\E[?3i, 
9737         kf10=\E[?5i, kf2=\E[2i, kf3=\E[@, kf4=\E[M, kf5=\E[17~, 
9738         kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, kf9=\E[21~, khome=\E[H, 
9739         knp=\E[29~, kpp=\E[28~, lf1=f1, lf2=f2, lf3=f3, lf4=f4, lf5=f5, 
9740         lf6=f6, lf7=f7, lf8=f8, ri=\EM, rmacs=^O, rmso=\E[m, rmul=\E[m, 
9741         sgr0=\E[m, smacs=^N, smso=\E[7m, smul=\E[4m, 
9742 dt100w|dt-100w|Tandy DT-100 terminal (wide mode), 
9743         cols#132, use=dt100, 
9744 dt110|Tandy DT-110 emulating ansi, 
9745         xon, 
9746         cols#80, lines#24, 
9747         acsc=kkllmmjjnnwwvvuuttqqxx, bel=^G, civis=\E[?25l, 
9748         clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
9749         csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[0B, cuf1=\E[C, 
9750         cup=\010\E[%i%p1%d;%p2%dH, cuu1=\E[0A, dch1=\E[0P, 
9751         dl1=\E[0M, ed=\E[0J, el=\E[0K, enacs=\E(B\E)0, home=\E[H, 
9752         ht=^I, ich1=\E[0@, il1=\E[0L, ind=^J, is2=\E[?3l\E)0\E(B, 
9753         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[K, 
9754         kf1=\E[1~, kf10=\E[10~, kf2=\E[2~, kf3=\E[3~, kf4=\E[4~, 
9755         kf5=\E[5~, kf6=\E[6~, kf7=\E[7~, kf8=\E[8~, kf9=\E[9~, 
9756         khome=\E[G, kich1=\E[@, knp=\E[26~, kpp=\E[25~, lf0=f1, 
9757         lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7, lf7=f8, lf8=f9, 
9758         lf9=f10, ri=\EM, rmacs=^O, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
9759         smacs=^N, smso=\E[7m, smul=\E[4m, 
9760 pt210|TRS-80 PT-210 printing terminal, 
9761         hc, os, 
9762         cols#80, 
9763         bel=^G, cr=^M, cud1=^J, ind=^J, 
9764
9765 #### Tektronix (tek)
9766 #
9767 # Tektronix tubes are graphics terminals.  Most of them use modified 
9768 # oscilloscope technology incorporating a long-persistence green phosphor,
9769 # and support vector graphics on a main screen with an attached "dialogue
9770 # area" for interactive text.
9771 #
9772
9773 tek|tek4012|tektronix 4012, 
9774         os, 
9775         cols#75, lines#35, 
9776         bel=^G, clear=\E\014$<1000>, cr=^M, cub1=^H, cud1=^J, 
9777         ff=\014$<1000>, is2=\E^O, 
9778 # (tek4013: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
9779 tek4013|tektronix 4013, 
9780         acsc=, rmacs=\E^O, smacs=\E^N, use=tek4012, 
9781 tek4014|tektronix 4014, 
9782         cols#81, lines#38, 
9783         is2=\E\017\E9, use=tek4012, 
9784 # (tek4015: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
9785 tek4015|tektronix 4015, 
9786         acsc=, rmacs=\E^O, smacs=\E^N, use=tek4014, 
9787 tek4014-sm|tektronix 4014 in small font, 
9788         cols#121, lines#58, 
9789         is2=\E\017\E\:, use=tek4014, 
9790 # (tek4015-sm: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
9791 tek4015-sm|tektronix 4015 in small font, 
9792         acsc=, rmacs=\E^O, smacs=\E^N, use=tek4014-sm, 
9793 # Tektronix 4023 from Andrew Klossner <orca!andrew.tektronix@csnet-relay>
9794 #
9795 # You need to have "stty nl2" in effect.  Some versions of tset(1) know
9796 # how to set it for you.
9797 #
9798 # It's got the Magic Cookie problem around stand-out mode.  If you can't
9799 # live with Magic Cookie, remove the :so: and :se: fields and do without
9800 # reverse video.  If you like reverse video stand-out mode but don't want
9801 # it to flash, change the letter 'H' to 'P' in the :so: field.
9802 tek4023|tektronix 4023, 
9803         am, 
9804         cols#80, lines#24, vt#4, xmc#1, 
9805         bel=^G, clear=\E\014$<4/>, cr=^M, cub1=^H, cud1=^J, cuf1=^I, 
9806         cup=\034%p2%{32}%+%c%p1%{32}%+%c, kbs=^H, rmso=^_@, 
9807         smso=^_P, 
9808 # It is recommended that you run the 4025 at 4800 baud or less;
9809 # various bugs in the terminal appear at 9600.  It wedges at the
9810 # bottom of memory (try "cat /usr/dict/words"); ^S and ^Q typed
9811 # on keyboard don't work.  You have to hit BREAK twice to get
9812 # one break at any speed - this is a documented feature.
9813 # Can't use cursor motion because it's memory relative, and 
9814 # because it only works in the workspace, not the monitor.  
9815 # Same for home. Likewise, standout only works in the workspace.
9816
9817 # <el> was commented out since vi and rogue seem to work better 
9818 # simulating it with lots of spaces!
9819
9820 # <il1> and <il> had 145ms of padding, but that slowed down vi's ^U 
9821 # and didn't seem necessary.
9822 #
9823 tek4024|tek4025|tek4027|tektronix 4024/4025/4027, 
9824         am, da, db, 
9825         cols#80, it#8, lines#34, lm#0, 
9826         bel=^G, clear=\037era\r\n\n, cmdch=^_, cr=^M, 
9827         cub=\037lef %p1%d\r, cub1=^H, cud=\037dow %p1%d\r, 
9828         cud1=^F^J, cuf=\037rig %p1%d\r, cuf1=\037rig\r, 
9829         cuu=\037up %p1%d\r, cuu1=^K, dch1=\037dch\r, 
9830         dl=\037dli %p1%d\r\006, dl1=\037dli\r\006, 
9831         ed=\037dli 50\r, ht=^I, ich1=\037ich\r \010, 
9832         il=\037up\r\037ili %p1%d\r, il1=\037up\r\037ili\r, 
9833         ind=^F^J, 
9834         is2=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r, 
9835         rmkx=\037lea p2\r\037lea p4\r\037lea p6\r\037lea p8\r\037lea f5\r, 
9836         smkx=\037lea p4 /h/\r\037lea p8 /k/\r\037lea p6 / /\r\037lea p2 /j/\r\037lea f5 /H/\r, 
9837 tek4025-17|tek 4025 17 line window, 
9838         lines#17, use=tek4025, 
9839 tek4025-17-ws|tek 4025 17 line window in workspace, 
9840         is2=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r\037wor 17\r\037mon 17\r, 
9841         rmcup=\037mon h\r, rmso=\037att s\r, smcup=\037wor h\r, 
9842         smso=\037att e\r, 
9843         use=tek4025-17, 
9844 tek4025-ex|tek4027-ex|tek 4025/4027 w/!, 
9845         is2=\037com 33\r\n!sto 9 17 25 33 41 49 57 65 73\r, 
9846         rmcup=\037com 33\r, smcup=!com 31\r, 
9847         use=tek4025, 
9848 # Tektronix 4025a
9849 # From: Doug Gwyn <gwyn@brl-smoke.ARPA>
9850 # The following status modes are assumed for normal operation (replace the
9851 # initial "!" by whatever the current command character is):
9852 #       !COM 29                 # NOTE: changes command character to GS (^])
9853 #       ^]DUP
9854 #       ^]ECH R
9855 #       ^]EOL
9856 #       ^]RSS T
9857 #       ^]SNO N
9858 #       ^]STO 9 17 25 33 41 49 57 65 73
9859 # Other modes may be set according to communication requirements.
9860 # If the command character is inadvertently changed, termcap can't restore it.
9861 # Insert-character cannot be made to work on both top and bottom rows.
9862 # Clear-to-end-of-display emulation via !DLI 988 is too grotty to use, alas.
9863 # There also seems to be a problem with vertical motion, perhaps involving
9864 # delete/insert-line, following a typed carriage return.  This terminal sucks.
9865 # Delays not specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
9866 # (tek4025a: removed obsolete ":xx:". This may mean the tek4025a entry won't
9867 # work any more. -- esr)
9868 tek4025a|Tektronix 4025A, 
9869         am, bw, da, db, xon, 
9870         cols#80, it#8, lines#34, 
9871         bel=^G, cbt=\035bac;, clear=\035era;\n\035rup;, cmdch=^], 
9872         cr=^M, cub=\035lef %p1%d;, cub1=^H, cud=\035dow %p1%d;, 
9873         cud1=^J, cuf=\035rig %p1%d;, cuf1=\035rig;, 
9874         cuu=\035up %p1%d;, cuu1=^K, dch=\035dch %p1%d;, 
9875         dch1=\035dch;, dl=\035dli %p1%d;, dl1=\035dli;, 
9876         el=\035dch 80;, hpa=\r\035rig %p1%d;, ht=^I, 
9877         il1=\013\035ili;, ind=^J, indn=\035dow %p1%d;, 
9878         tbc=\035sto;, 
9879 # From: cbosg!teklabs!davem Wed Sep 16 21:11:41 1981
9880 # Here's the command file that I use to get rogue to work on the 4025.
9881 # It should work with any program using the old curses (e.g. it better
9882 # not try to scroll, or cursor addressing won't work.  Also, you can't
9883 # see the cursor.)
9884 # (This "learns" the arrow keys for rogue. I have adapted it for termcap - mrh)
9885 tek4025-cr|tek 4025 for curses and rogue, 
9886         am, 
9887         cols#80, it#8, lines#33, 
9888         clear=\037era;, cub1=^H, cud1=^F^J, cuf1=\037rig;, 
9889         cup=\037jum%i%p1%d\,%p2%d;, cuu1=^K, ht=^I, ind=^F^J, 
9890         is2=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r, 
9891         rmcup=\037wor 0, smcup=\037wor 33h, 
9892 # next two lines commented out since curses only allows 128 chars, sigh.
9893 #       :ti=\037lea p1/b/\037lea p2/j/\037lea p3/n/\037lea p4/h/\037lea p5/ /\037lea p6/l/\037lea p7/y/\037lea p8/k/\037lea p9/u/\037lea p./f/\037lea pt/`era w/13\037lea p0/s/\037wor 33h:\
9894 #       :te=\037lea p1\037lea p2\037lea p3\037lea p4\037lea pt\037lea p5\037lea p6\037lea p7\037lea p8\037lea p9/la/13\037lea p.\037lea p0\037wor 0:
9895 tek4025ex|4025ex|4027ex|tek 4025 w/!, 
9896         is2=\037com 33\r\n!sto 9\,17\,25\,33\,41\,49\,57\,65\,73\r, 
9897         rmcup=\037com 33\r, smcup=!com 31\r, 
9898         use=tek4025, 
9899 tek4105|tektronix 4105, 
9900         am, mir, msgr, ul, xenl, xt, 
9901         cols#79, it#8, lines#29, 
9902         acsc=, bel=^G, blink=\E[=3;<7m, bold=\E[=7;<4m, cbt=\E[Z, 
9903         clear=\E[2J\E[H, cr=^M, cud1=\E[1B, cuf1=\E[1C, 
9904         cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[1A, dch1=\E[1P, 
9905         dim=\E[=1;<6m, dl1=\E[1M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
9906         il1=\E[1L, ind=\E[S, invis=\E[=6;<5, is1=\E%!1\E[m, 
9907         is2=\E%!1\E[?6141\E[m, kbs=^H, kcub1=\E[1D, kcud1=\E[1B, 
9908         kcuf1=\E[1C, kcuu1=\E[1A, rev=\E[=1;<3m, ri=\E[T, 
9909         rmacs=\E[m, rmcup=, rmir=\E[4l, rmso=\E[=0;<1m, 
9910         rmul=\E[=0;<1m, sgr0=\E[=0;<1m, smacs=\E[1m, 
9911         smcup=\E%!1\E[?6l\E[2J, smir=\E[4h, smso=\E[=2;<3m, 
9912         smul=\E[=5;<2m, tbc=\E[1g, 
9913
9914 # (tek4105-30: I added <rmam>/<smam> based on the init string -- esr)
9915 tek4105-30|4015 emulating 30 line vt100, 
9916         am, mir, msgr, xenl, xon, 
9917         cols#80, it#8, lines#30, vt#3, 
9918         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
9919         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
9920         clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
9921         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
9922         cuf=\E[%p1%dC, cuf1=\E[C$<2>, 
9923         cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, 
9924         cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>, 
9925         enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ind=^J, ka1=\EOq, 
9926         ka3=\EOs, kb2=\EOr, kbs=^H, kc1=\EOp, kc3=\EOn, kcub1=\EOD, 
9927         kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kent=\EOM, kf0=\EOy, 
9928         kf1=\EOP, kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt, 
9929         kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, rc=\E8, 
9930         rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l, 
9931         rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>, 
9932         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
9933         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
9934         sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, 
9935         smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, 
9936
9937 # Tektronix 4105 from BRL
9938 # The following setup modes are assumed for normal operation:
9939 #       CODE ansi               CRLF no                 DABUFFER 141
9940 #       DAENABLE yes            DALINES 30              DAMODE replace
9941 #       DAVISIBILITY yes        ECHO no                 EDITMARGINS 1 30
9942 #       FLAGGING input          INSERTREPLACE replace   LFCR no
9943 #       ORIGINMODE relative     PROMPTMODE no           SELECTCHARSET G0 B
9944 #       SELECTCHARSET G1 0      TABS -2
9945 # Other setup modes may be set for operator convenience or communication
9946 # requirements; I recommend
9947 #       ACURSOR 1 0             AUTOREPEAT yes          AUTOWRAP yes
9948 #       BYPASSCANCEL <LF>       CURSORKEYMODE no        DAINDEX 1 0 0
9949 #       EOFSTRING ''            EOLSTRING <CR>          EOMCHARS <CR> <NU>
9950 #       GAMODE overstrike       GCURSOR 0 100 0         GSPEED 10 1
9951 #       IGNOREDEL no            KEYEXCHAR <DL>          NVDEFINE -53 "<NU>"
9952 #       PROMPTSTRING ''         QUEUESIZE 2460          WINDOW 0 0 4095 3132
9953 #       XMTDELAY 0
9954 # and factory color maps.  After setting these modes, save them with NVSAVE. No
9955 # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
9956 # "IC" cannot be used in combination with "im" & "ei".
9957 # "tek4105a" is just a guess:
9958 tek4105a|Tektronix 4105, 
9959         msgr, xon, 
9960         cols#80, it#8, lines#30, vt#3, 
9961         acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
9962         civis=\E%!0\ETD00\E%!1, clear=\E[H\E[J, 
9963         cnorm=\E%!0\ETD10\E%!1, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
9964         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
9965         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
9966         cuu=\E[%p1%dA, cuu1=\EM, cvvis=\E%!0\ETD70\E%!1, 
9967         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
9968         ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH, 
9969         il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, is2=\E%!1, 
9970         kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
9971         kf0=\EOA, kf1=\EOB, kf2=\EOC, kf3=\EOD, kf4=\EOP, kf5=\EOQ, 
9972         kf6=\EOR, kf7=\EOS, lf0=F1, lf1=F2, lf2=F3, lf3=F4, lf4=F5, 
9973         lf5=F6, lf6=F8, ll=\E[30;H, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, 
9974         rin=\E[%p1%dT, rmacs=^O, rmcup=\E%!0\ELBH=\E%!1, 
9975         rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, sc=\E7, 
9976         sgr0=\E[m, smacs=^N, smcup=\E[?6l, smir=\E[4h, 
9977         smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
9978
9979 #
9980 # Tektronix 4106/4107/4109 from BRL
9981 # The following setup modes are assumed for normal operation:
9982 #       CODE ansi               COLUMNMODE 80           CRLF no
9983 #       DABUFFER 141            DAENABLE yes            DALINES 32
9984 #       DAMODE replace          DAVISIBILITY yes        ECHO no
9985 #       EDITMARGINS 1 32        FLAGGING input          INSERTREPLACE replace
9986 #       LFCR no                 LOCKKEYBOARD no         ORIGINMODE relative
9987 #       PROMPTMODE no           SELECTCHARSET G0 B      SELECTCHARSET G1 0
9988 #       TABS -2
9989 # Other setup modes may be set for operator convenience or communication
9990 # requirements; I recommend
9991 #       ACURSOR 1 0             AUTOREPEAT yes          AUTOWRAP yes
9992 #       BYPASSCANCEL <LF>       CURSORKEYMODE no        DAINDEX 1 0 0
9993 #       EOFSTRING ''            EOLSTRING <CR>          EOMCHARS <CR> <NU>
9994 #       GAMODE overstrike       GCURSOR 0 100 0         GSPEED 9 3
9995 #       IGNOREDEL no            KEYEXCHAR <DL>          NVDEFINE -53 "<NU>"
9996 #       PROMPTSTRING ''         QUEUESIZE 2620          WINDOW 0 0 4095 3132
9997 #       XMTDELAY 0
9998 # and factory color maps.  After setting these modes, save them with NVSAVE.  No
9999 # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
10000 # "IC" cannot be used in combination with "im" & "ei".
10001 tek4106brl|tek4107brl|tek4109brl|Tektronix 4106, 4107, or 4109, 
10002         msgr, xon, 
10003         cols#80, it#8, lines#32, vt#3, 
10004         acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
10005         civis=\E%!0\ETD00\E%!1, clear=\E[H\E[J, 
10006         cnorm=\E%!0\ETD10\E%!1, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
10007         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
10008         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
10009         cuu=\E[%p1%dA, cuu1=\EM, cvvis=\E%!0\ETD70\E%!1, 
10010         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
10011         ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH, 
10012         il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, is2=\E%!1, 
10013         kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
10014         kf0=\EOA, kf1=\EOB, kf2=\EOC, kf3=\EOD, kf4=\EOP, kf5=\EOQ, 
10015         kf6=\EOR, kf7=\EOS, lf0=F1, lf1=F2, lf2=F3, lf3=F4, lf4=F5, 
10016         lf5=F6, lf6=F8, ll=\E[32;H, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, 
10017         rin=\E[%p1%dT, rmacs=^O, rmcup=\E%!0\ELBH=\E%!1, 
10018         rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
10019         rs1=\030\E%!0\EKC\E\014\EKR0\EKF0\ENM0\ELBH=\ETF8000010F40\ELI100\ELLB0\ELM0\EKE0\ENF1\EKS0\END0\ERE0\E%!1\Ec\E[?3;5l\E[?7;8h\E[r\E[m\E>, 
10020         sc=\E7, sgr0=\E[m, smacs=^N, smcup=\E[?6l, smir=\E[4h, 
10021         smkx=\E[?1h\E=, smso=\E[7;42m, smul=\E[4m, tbc=\E[3g, 
10022
10023 tek4107|tek4109|tektronix terminals 4107 4109, 
10024         am, mir, msgr, ul, xenl, xt, 
10025         cols#79, it#8, lines#29, 
10026         bel=^G, blink=\E%!1\E[5m$<2>\E%!0, 
10027         bold=\E%!1\E[1m$<2>\E%!0, clear=\ELZ, cnorm=\E%!0, cr=^M, 
10028         cub1=^H, cud1=^J, cuf1=\EC, 
10029         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, cvvis=\E%!3, 
10030         dim=\E%!1\E[<0m$<2>\E%!0, ed=\EJ, el=\EK, ht=^I, ind=^J, 
10031         kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
10032         rev=\E%!1\E[7m$<2>\E%0, ri=\EI, 
10033         rmso=\E%!1\E[m$<2>\E%!0, rmul=\E%!1\E[m$<2>\E%!0, 
10034         sgr=\E%%!1\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m\E%%!0, 
10035         sgr0=\E%!1\E[m$<2>\E%!0, smso=\E%!1\E[7;5m$<2>\E%!0, 
10036         smul=\E%!1\E[4m$<2>\E%!0, 
10037 # Tektronix 4207 with sysline.  In the ancestral termcap file this was 4107-s;
10038 # see the note attached to tek4207.
10039 tek4207-s|Tektronix 4207 with sysline but no memory, 
10040         eslok, hs, 
10041         dsl=\E7\E[?6l\E[2K\E[?6h\E8, fsl=\E[?6h\E8, 
10042         is1=\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, 
10043         is2=\E7\E[?6l\E[2K\E[?6h\E8, 
10044         tsl=\E7\E[?6l\E[2K\E[;%i%df, use=tek4107, 
10045
10046 # The 4110 series may be a wonderful graphics series, but they make the 4025
10047 # look good for screen editing.  In the dialog area, you can't move the cursor
10048 # off the bottom line.  Out of the dialog area, ^K moves it up, but there
10049 # is no way to scroll.
10050
10051 # Note that there is a floppy for free from Tek that makes the 
10052 # 4112 emulate the vt52 (use the vt52 termcap). There is also
10053 # an expected enhancement that will use ANSI standard sequences.
10054
10055 # 4112 in non-dialog area pretending to scroll. It really wraps 
10056 # but vi is said to work (more or less) in this mode.
10057
10058 # 'vi' works reasonably well with this entry.
10059 #
10060 otek4112|o4112-nd|otek4113|otek4114|old tektronix 4110 series, 
10061         am, 
10062         cols#80, lines#34, 
10063         bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuu1=^K, ind=^J, 
10064         rmcup=\EKA1\ELV1, smcup=\EKA0\ELV0\EMG0, 
10065 # The 4112 with the ANSI compatibility enhancement
10066 tek4112|tek4114|tektronix 4110 series, 
10067         am, db, 
10068         cols#80, lines#34, 
10069         cbt=\E[Z, clear=\E[2J\E[0;0H, cub1=^H, cuf1=\E[C, 
10070         cup=\E[%i%p1%d;%p2%dH, cuu1=\EM, dch1=\E[P, dl1=\E[M, 
10071         ed=\E[0J, el=\E[0K, ich1=\E[@, il1=\E[L, 
10072         ind=\E7\E[0;0H\E[M\E8, is2=\E3!1, ri=\E7\E[0;0H\E[L\E8, 
10073         rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
10074 tek4112-nd|4112 not in dialog area, 
10075         cuu1=^K, use=tek4112, 
10076 tek4112-5|4112 in 5 line dialog area, 
10077         lines#5, use=tek4112, 
10078 # (tek4113: this used to have "<cuf1=\LM1\s\LM0>", someone's mistake;
10079 # removed "<smacs=\E^N>, <rmacs=\E^O>", which had been commented out in 8.3.
10080 # Note, the !0 and !1 sequences in <rmcup>/<smcup>/<cnorm>/<civis> were
10081 # previously \0410 and \0411 sequences...I don't *think* they were supposed
10082 # to be 4-digit octal -- esr)
10083 tek4113|tektronix 4113 color graphics with 5 line dialog area, 
10084         am, da, eo, 
10085         cols#80, lines#5, 
10086         clear=\ELZ, cub1=^H, cud1=^J, cuf1=\ELM1 \ELM0, 
10087         flash=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0, 
10088         is2=\EKA1\ELL5\ELV0\ELV1, uc=\010\ELM1_\ELM0, 
10089 tek4113-34|tektronix 4113 color graphics with 34 line dialog area, 
10090         lines#34, 
10091         is2=\EKA1\ELLB2\ELV0\ELV1, use=tek4113, 
10092 # :ns: left off to allow vi visual mode. APL font (:as=\E^N:/:ae=\E^O:) not 
10093 # supported here. :uc: is slow, but looks nice. Suggest setenv MORE -up .
10094 # :vb: needs enough delay to let you see the background color being toggled.
10095 tek4113-nd|tektronix 4113 color graphics with no dialog area, 
10096         am, eo, 
10097         cols#80, it#8, lines#34, 
10098         clear=\E^L, cub1=^H, cud1=^J, cuf1=^I, cuu1=^K, 
10099         cvvis=\ELZ\EKA0, 
10100         flash=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0, 
10101         home=\ELF7l\177 @, ht=^I, is2=\ELZ\EKA0\ELF7l\177 @, 
10102         ll=\ELF hl @, rmso=\EMT1, smso=\EMT2, uc=\010\EMG1_\EMG0, 
10103 # This entry is from Tek. Inc.  (Brian Biehl)
10104 # (tek4115: :bc: renamed to :le:, <rmam>/<smam> added based on init string -- esr)
10105 otek4115|Tektronix 4115, 
10106         am, da, db, eo, 
10107         cols#80, it#8, lines#34, 
10108         cbt=\E[Z, clear=\E[H\E[2J, 
10109         cnorm=\E%!0\ELBG8\E%!1\E[34;1H, cub1=\E[D, cud1=\E[B, 
10110         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
10111         cvvis=\E%!0\ELBB2\E%!1, dch1=\E[P, dl1=\E[M, ed=\E[J, 
10112         el=\E[K, home=\E[H, ht=^I, if=/usr/share/tabset/vt100, 
10113         il1=\E[L, 
10114         is2=\E%!0\E%\014\ELV0\EKA1\ELBB2\ENU@=\ELLB2\ELM0\ELV1\EKYA?\E%!1\E[<1l\E[?7h\E[?8h\E[34;1H\E[34B\E[m, 
10115         kbs=^H, ri=\EM, rmam=\E[?7l, 
10116         rmcup=\E%!0\ELBG8\E%!1\E[34;1H\E[J, rmir=\E[4l, 
10117         rmkx=\E>, rmso=\E[m, rmul=\E[m, sgr0=\E[m, smam=\E[?7h, 
10118         smcup=\E%!0\ELBB2\E%!1, smir=\E[4h, smkx=\E=, smso=\E[7m, 
10119         smul=\E[4m, 
10120 tek4115|newer tektronix 4115 entry with more ANSI capabilities, 
10121         am, xon, 
10122         cols#80, lines#34, 
10123         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J, 
10124         cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
10125         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
10126         cuu=\E[%p1%dA, cuu1=\E[A, dch1=\E[P, dl=\E[%p1%dM, 
10127         dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, hpa=\E[%p1%{1}%+%dG, 
10128         ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, 
10129         il1=\E[L, ind=^J, invis=\E[8m, kbs=^H, kcub1=\E[D, 
10130         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, 
10131         rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, rmam=\E[?7l, 
10132         rmso=\E[m, rmul=\E[m, 
10133         sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m, 
10134         sgr0=\E[m, smam=\E[?7h, smso=\E[7m, smul=\E[4m, tbc=\E[2g, 
10135         vpa=\E[%p1%{1}%+%dd, 
10136 # The tek4125 emulates a vt100 incorrectly - the scrolling region
10137 # command is ignored.  The following entry replaces <csr> with the needed
10138 # <il>, <il>, and <smir>; removes some cursor pad commands that the tek4125
10139 # chokes on; and adds a lot of initialization for the tek dialog area.
10140 # Note that this entry uses all 34 lines and sets the cursor color to green.
10141 # Steve Jacobson 8/85
10142 # (tek4125: there were two "\!"s in the is that I replaced with "\E!";
10143 # commented out, <smir>=\E1 because there's no <rmir>  -- esr)
10144 tek4125|tektronix 4125, 
10145         lines#34, 
10146         csr@, dl1=\E[1M, il1=\E[1L, 
10147         is2=\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, 
10148         rc@, sc@, smkx=\E=, 
10149         use=vt100, 
10150
10151 # From: <jcoker@ucbic>
10152 # (tek4207: This was the termcap file's entry for the 4107/4207, but SCO
10153 # supplied another, less capable 4107 entry.  So we'll use that for 4107 and
10154 # note that if jcoker wasn't confused you may be able to use this one.
10155 # I merged in <msgr>,<ind>,<ri>,<invis>,<tbc> from a BRL entry -- esr)
10156 tek4207|Tektronix 4207 graphics terminal with memory, 
10157         am, bw, mir, msgr, ul, xenl, 
10158         cols#80, it#8, lines#32, 
10159         blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J$<156/>, 
10160         cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
10161         cuu1=\EM, dch1=\E[P$<4/>, dl1=\E[M$<3/>, ed=\E[J, 
10162         el=\E[K$<5/>, home=\E[H, ht=^I, ich1=\E[@$<4/>, 
10163         il1=\E[L$<3/>, ind=\E[S, invis=\E[=6;<5, 
10164         is2=\E%!0\ELBP0\E%!1\E[H\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, 
10165         kcub1=\E[D, kcud1=\ED, kcuf1=\E[C, kcuu1=\EM, khome=\E[H, 
10166         rev=\E[7m, ri=\E[T, 
10167         rmcup=\E[?6h\E%!0\ELBP0\E%!1\E[32;1f, rmso=\E[m, 
10168         rmul=\E[m, sgr0=\E[m, smcup=\E[?6l\E[H\E[J, smso=\E[7m, 
10169         smul=\E[4m, tbc=\E[1g, 
10170
10171 # From: <carolyn@dali.berkeley.edu>  Thu Oct 31 12:54:27 1985
10172 # (tek4404: There was a "\!" in <smcup> that I replaced with "\E!".
10173 # Tab had been given as \E2I,that must be the tab-set capability -- esr)
10174 tek4404|tektronix 4404, 
10175         cols#80, it#8, lines#32, 
10176         blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, 
10177         csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C, 
10178         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[1M, 
10179         ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\E[2I, il1=\E[1L, 
10180         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, rc=\E8, 
10181         rmcup=\E[1;1H\E[0J\E[?6h\E[?1l, rmir=\E[4l, 
10182         rmkx=\E[?1h, rmso=\E[27m, rmul=\E[m, sc=\E7, sgr0=\E[m, 
10183         smcup=\E%\E!1\E[1;32r\E[?6l\E>, smir=\E[4h, 
10184         smkx=\E[?1l, smso=\E[7m, smul=\E[4m, 
10185 # Some unknown person wrote:
10186 # I added the is string - straight Unix has ESC ; in the login 
10187 # string which sets a ct8500 into monitor mode (aka 4025 snoopy 
10188 # mode). The is string here cleans up a few things (but not 
10189 # everything).
10190 ct8500|tektronix ct8500, 
10191         am, bw, da, db, 
10192         cols#80, lines#25, 
10193         bel=^G, cbt=\E^I, clear=\E^E, cr=^M, cub1=^H, cud1=^J, 
10194         cuf1=\ES, cup=\E|%p1%{32}%+%c%p2%{32}%+%c, cuu1=\ER, 
10195         dch1=\E^], dl1=\E^M, ed=\E^U, el=\E^T, ht=^I, ich1=\E^\, 
10196         il1=\E^L, ind=^J, is2=\037\EZ\Ek, ri=\E^A, rmso=\E\s, 
10197         rmul=\E\s, sgr0=\E\s, smso=\E$, smul=\E!, 
10198
10199 # Tektronix 4205 terminal.
10200 #
10201 # am is not defined because the wrap around occurs not when the char.
10202 # is placed in the 80'th column, but when we are attempting to type
10203 # the 81'st character on the line.  (esr: hmm, this is like the vt100
10204 # version of xenl, perhaps am + xenl would work!)
10205 #
10206 # Bold, dim, and standout are simulated by colors and thus not allowed
10207 # with colors.  The tektronix color table is mapped into the RGB color
10208 # table by setf/setb. All colors are reset to factory specifications by oc.
10209 # The <initc> cap uses RGB notation to define colors.  for arguments 1-3 the 
10210 # interval (0-1000) is broken into 8 smaller sub-intervals (125).  Each sub-
10211 # interval then maps into pre-defined value.
10212 tek4205|tektronix 4205, 
10213         ccc, mir, msgr, 
10214         colors#8, cols#80, it#8, lines#30, ncv#49, pairs#63, 
10215         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
10216         bel=^G, blink=\E[5m, bold=\E[=7;<4m, cbt=\E[Z, 
10217         clear=\E[2J\E[H, cr=^M, cub=\E[%p1%dD, cub1=\E[D, 
10218         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
10219         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
10220         dch1=\E[1P, dim=\E[=1;<6m, dl1=\E[1M, ech=\E%p1%dX, 
10221         ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0, home=\E[H, ht=^I, 
10222         ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[1L, ind=\ED, 
10223         initc=\E%%!0\n\ETF4\n%?%p1%{0}%=%t0\n%e%p1%{1}%=%t4\n%e%p1%{2}%=%t3\n%e%p1%{3}%=%t5\n%e%p1%{4}%=%t2\n%e%p1%{5}%=%t6\n%e%p1%{6}%=%t7\n%e1%;\n%?%p2%{125}%<%t0\n%e%p2%{250}%<%tA2\n%e%p2%{375}%<%tA?\n%e%p2%{500}%<%tC8\n%e%p2%{625}%<%tD4\n%e%p2%{750}%<%tE1\n%e%p2%{875}%<%tE\:\n%eF4%;\n%?%p3%{125}%<%t0\n%e%p3%{250}%<%tA2\n%e%p3%{375}%<%tA?\n%e%p3%{500}%<%tC8\n%e%p3%{625}%<%tD4\n%e%p3%{750}%<%tE1\n%e%p3%{875}%<%tE\:\n%eF4%;\n%?%p4%{125}%<%t0\n%e%p4%{250}%<%tA2\n%e%p4%{375}%<%tA?\n%e%p4%{500}%<%tC8\n%e%p4%{625}%<%tD4\n%e%p4%{750}%<%tE1\n%e%p4%{875}%<%tE\:\n%eF4%;\n\E%%!1, 
10224         invis=\E[=6;<5, is1=\E%!0\ETM1\E%!1\E[m, kbs=^H, 
10225         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\EOA, 
10226         kf1=\EOB, kf2=\EOC, kf3=\EOD, kf4=\EP, kf5=\EQ, kf6=\ER, 
10227         kf7=\ES, 
10228         oc=\E%!0\n\ETFB0\n0000\n1F4F4F4\n2F400\n30F40\n4A4C<F4\n50F4F4\n6F40F4\n7F4F40\n\E%!1, 
10229         op=\E[39;40m, rev=\E[7m, ri=\EM, rmacs=^O, rmcup=, 
10230         rmir=\E[4l, rmso=\E[=0;<1m, rmul=\E[24m, 
10231         setb=\E[=%?%p1%{0}%=%t0m\n%e%p1%{1}%=%t4m\n%e%p1%{2}%=%t3m\n%e%p1%{3}%=%t5m\n%e%p1%{4}%=%t2m\n%e%p1%{5}%=%t6m\n%e%p1%{6}%=%t7m\n%e1m%;, 
10232         setf=\E[<%?%p1%{0}%=%t0m\n%e%p1%{1}%=%t4m\n%e%p1%{2}%=%t3m\n%e%p1%{3}%=%t5m\n%e%p1%{4}%=%t2m\n%e%p1%{5}%=%t6m\n%e%p1%{6}%=%t7m\n%e1m%;, 
10233         sgr0=\E[=0;<1m\E[24;25;27m\017, smacs=^N, 
10234         smcup=\E%%!1\E[?6l\E[2J, smir=\E[4h, smso=\E[=2;<3m, 
10235         smul=\E[4m, tbc=\E[1g, 
10236
10237 #### Teletype (tty)
10238 #
10239 # These are the hardcopy Teletypes from before AT&T bought the company,
10240 # clattering electromechanical dinosaurs in Bakelite cases that printed on
10241 # pulpy yellow roll paper.  If you remember these you go back a ways.
10242 # Teletype-branded VDTs are listed in the AT&T section.
10243 #
10244 # The earliest UNIXes were designed to use these clunkers; nroff and a few
10245 # other programs still default to emitting codes for the Model 37.
10246 #
10247
10248 tty33|tty35|model 33 or 35 teletype, 
10249         hc, os, xon, 
10250         cols#72, 
10251         bel=^G, cr=^M, cud1=^J, ind=^J, 
10252 tty37|model 37 teletype, 
10253         hc, os, xon, 
10254         bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E7, hd=\E9, hu=\E8, 
10255         ind=^J, 
10256
10257 # There are known to be at least three flavors of the tty40, all seem more
10258 # like IBM half duplex forms fillers than ASCII terminals.  They have lots of
10259 # awful braindamage, such as printing a visible newline indicator after each
10260 # newline.  The 40-1 is a half duplex terminal and is hopeless.  The 40-2 is
10261 # braindamaged but has hope and is described here.  The 40-4 is a 3270
10262 # lookalike and beyond hope.  The terminal has visible bell but I don't know
10263 # it - it's null here to prevent it from showing the BL character.
10264 # There is an \EG in <nl> because of a bug in old vi (if stty says you have
10265 # a "newline" style terminal (-crmode) vi figures all it needs is nl
10266 # to get crlf, even if <cr> is not ^M.)
10267 # (tty40: removed obsolete ":nl=\EG\EB:", it's just do+cr -- esr)
10268 tty40|ds40|ds40-2|dataspeed40|teletype dataspeed 40/2, 
10269         xon, 
10270         cols#80, lines#24, 
10271         clear=\EH$<20>\EJ$<80>, cr=\EG, cub1=^H, cud1=\EB, 
10272         cuf1=\EC, cuu1=\E7, dch1=\EP$<50>, dl1=\EM$<50>, 
10273         ed=\EJ$<75>, home=\EH$<10>, ht=\E@$<10>, hts=\E1, 
10274         ich1=\E\^$<50>, il1=\EL$<50>, ind=\ES$<20>, kbs=^], 
10275         kcub1=^H, mc4=^T, mc5=\022$<2000>, ri=\ET$<10>, rmso=\E4, 
10276         rs2=\023\ER$<60>, smso=\E3, tbc=\EH\E2$<80>, 
10277 tty43|model 43 teletype, 
10278         am, hc, os, xon, 
10279         cols#132, 
10280         bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J, kbs=^H, 
10281
10282 #### Tymshare
10283 #
10284
10285 # You can add <is2=\E<> to put this 40-column mode, though I can't
10286 # for the life of me think why anyone would want to.
10287 scanset|sc410|sc415|Tymshare Scan Set, 
10288         am, bw, msgr, 
10289         cols#80, lines#24, 
10290         acsc=l<m-k4j%q\,x5, bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, 
10291         cud1=^J, cuf1=^I, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
10292         cuu1=^K, ed=\EJ, el=\EK, home=\EH, ind=^J, kcub1=\ED, 
10293         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, mc0=\E;3, mc4=\E;0, 
10294         mc5=\E;0, rc=^C, rmacs=^O, rs1=\E>, sc=^B, smacs=^N, 
10295
10296 #### Volker-Craig (vc)
10297 #
10298 # If you saw a Byte Magazine cover with a terminal on it during the early
10299 # 1980s, it was probably one of these.  Carl Helmers liked them because
10300 # they could crank 19.2 and were cheap (that is, until he tried to program
10301 # one...)
10302 #
10303
10304 # Missing in vc303a and vc303 descriptions:  they scroll 2 lines at a time
10305 # every other linefeed.
10306 vc303|vc103|vc203|volker-craig 303, 
10307         am, 
10308         cols#80, lines#24, 
10309         bel=^G, clear=\014$<40>, cr=^M, cub1=^H, cud1=^J, cuf1=^I, 
10310         cuu1=^N, home=\013$<40>, kcub1=^H, kcud1=^J, kcuf1=^I, 
10311         kcuu1=^N, ll=\017$<1>W, 
10312 vc303a|vc403a|volker-craig 303a, 
10313         clear=\030$<40>, cuf1=^U, cuu1=^Z, el=\026$<20>, 
10314         home=\031$<40>, kcuf1=^U, kcuu1=^Z, ll=^P, use=vc303, 
10315 # (vc404: removed obsolete ":ma=^Z^P^U :" -- esr)
10316 vc404|volker-craig 404, 
10317         am, 
10318         cols#80, lines#24, 
10319         bel=^G, clear=\030$<40>, cr=^M, cub1=^H, cud1=^J, cuf1=^U, 
10320         cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, 
10321         ed=\027$<40>, el=\026$<20>, home=\031$<40>, ind=^J, 
10322         kcub1=^H, kcud1=^J, kcuf1=^U, kcuu1=^Z, 
10323 vc404-s|volker-craig 404 w/standout mode, 
10324         cud1=^J, rmso=^O, smso=^N, use=vc404, 
10325 # From: <wolfgang@cs.sfu.ca>
10326 # (vc414: merged in cup/dl1/home from an old vc414h-noxon)
10327 vc414|vc414h|Volker-Craig 414H in sane escape mode., 
10328         am, 
10329         cols#80, lines#24, 
10330         clear=\E\034$<40>, cud1=\E^K, cuf1=^P, 
10331         cup=\E\021%p2%c%p1%c$<40>, cuu1=\E^L, dch1=\E3, 
10332         dl1=\E\023$<40>, ed=\E^X, el=\E\017$<10/>, home=\E^R, 
10333         ich1=\E\:, il1=\E\032$<40>, kcub1=^H, kcud1=\E^K, kcuf1=^P, 
10334         kcuu1=\E^L, kf0=\EA, kf1=\EB, kf2=\EC, kf3=\ED, kf4=\EE, 
10335         kf5=\EF, kf6=\EG, kf7=\EH, khome=\E^R, lf0=PF1, lf1=PF2, 
10336         lf2=PF3, lf3=PF4, lf4=PF5, lf5=PF6, lf6=PF7, lf7=PF8, 
10337         rmso=\E^_, smso=\E^Y, 
10338 vc415|volker-craig 415, 
10339         clear=^L, use=vc404, 
10340
10341 ######## OBSOLETE PERSONAL-MICRO CONSOLES AND EMULATIONS
10342 #
10343
10344 #### IBM PC and clones
10345 #
10346
10347 # The pcplot IBM-PC terminal emulation program is really messed up. It is
10348 # supposed to emulate a vt-100, but emulates the wraparound bug incorrectly,
10349 # doesn't support scrolling regions, ignores add line commands, and ignores
10350 # delete line commands. Consequently, the resulting behavior looks like a
10351 # crude adm3a-type terminal.
10352 # Steve Jacobson 8/85
10353 pcplot|pc-plot terminal emulation program, 
10354         xenl@, 
10355         csr@, dl@, dl1@, il@, il1@, rc@, sc@, use=vt100, 
10356 # KayPro II from Richard G Turner <rturner at Darcom-Hq.ARPA>
10357 # I've found that my KayPro II, running MDM730, continues to emulate an
10358 # ADM-3A terminal, just like I was running TERM.COM. On our 4.2 UNIX
10359 # system the following termcap entry works well:
10360 # I have noticed a couple of minor glitches, but nothing I can't work
10361 # around. (I added two capabilities from the BRL entry -- esr)
10362 kaypro|kaypro2|kaypro II, 
10363         am, 
10364         cols#80, lines#24, 
10365         bel=^G, clear=\032$<1/>, cr=^M, cud1=^J, cuf1=^L, 
10366         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dl1=\ER, ed=^W, 
10367         el=^X, home=^^, il1=\EE, ind=^J, kcud1=^J, kcuf1=^L, kcuu1=^K, 
10368
10369 # From IBM, Thu May  5 19:35:27 1983
10370 # (ibmpc: commented out <smir>=\200R because we don't know <rmir> -- esr)
10371 ibmpc|ibm-pc|ibm5051|5051|IBM Personal Computer (no ANSI.SYS), 
10372         am, 
10373         cols#80, lines#24, 
10374         bel=^G, clear=^L^K, cr=^M^^, cub1=^], cud1=^J, cuf1=^\, 
10375         cuu1=^^, home=^K, ind=\n$<10>, kcud1=^_, 
10376
10377 #### Apple II
10378 #
10379 # Apple II firmware console first, then various 80-column cards and 
10380 # terminal emulators.  For two cents I'd toss all these in the UFO file
10381 # along with the 40-column apple entries.
10382 #
10383
10384 # From: brsmith@umn-cs.cs.umn.edu (Brian R. Smith) via BRL
10385 #       'it#8' tells UNIX that you have tabs every 8 columns.  This is a
10386 #               function of TIC, not the firmware.
10387 #       The clear key on a IIgs will do something like clear-screen, 
10388 #               depending on what you're in.
10389 appleIIgs|appleIIe|appleIIc|Apple 80 column firmware interface, 
10390         am, bw, eo, msgr, 
10391         cols#80, it#8, lines#24, 
10392         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^\, 
10393         cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
10394         home=^Y, ht=^I, ind=^W, kbs=^H, kclr=^X, kcub1=^H, kcud1=^J, 
10395         kcuf1=^U, kcuu1=^K, kdch1=\177, nel=^M^W, ri=^V, rmso=^N, 
10396         smso=^O, 
10397 # Apple //e with 80-column card, entry from BRL
10398 # The modem interface is permitted to discard LF (maybe DC1), otherwise
10399 # passing characters to the 80-column firmware via COUT (PR#3 assumed).
10400 # Auto-wrap does not work right due to newline scrolling delay, which also
10401 # requires that you set "stty cr2".
10402 # Note: Cursor addressing is only available via the Pascal V1.1 entry,
10403 # not via the BASIC PR#3 hook.  All this nonsense can be avoided only by
10404 # using a terminal emulation program instead of the built-in firmware.
10405 apple2e|Apple //e, 
10406         bw, msgr, 
10407         cols#80, lines#24, 
10408         bel=^G, clear=\014$<100/>, cub1=^H, cud1=^J, cuu1=^_, 
10409         ed=\013$<4*/>, el=\035$<4/>, home=^Y, ht=^I, ind=^W, 
10410         is2=^R^N, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^U, kcuu1=^K, 
10411         nel=\r$<100/>, rev=^O, ri=^V, rmso=^N, rs1=^R^N, sgr0=^N, 
10412         smso=^O, 
10413 # mcvax!vu44!vu45!wilcke uses the "ap" entry together with Ascii Express Pro
10414 # 4.20, with incoming and outgoing terminals both on 0, emulation On.
10415 apple2e-p|Apple //e via Pascal, 
10416         cup=\036%p2%{32}%+%c%p1%{32}%+%c, kbs=^H, kcub1=^H, 
10417         kcud1=^J, 
10418         use=apple2e, 
10419 # (ASCII Express) MouseTalk "Standard Apple //" emulation from BRL
10420 # Enable DC3/DC1 flow control with "stty ixon -ixany".
10421 apple-ae|ASCII Express, 
10422         am, bw, msgr, nxon, xon, 
10423         cols#80, it#8, lines#24, 
10424         bel=\007$<500/>, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^U, 
10425         cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
10426         home=^Y, ind=^W, is2=^R^N, kclr=^X, kcub1=^H, kcud1=^J, 
10427         kcuf1=^U, kcuu1=^K, rev=^O, ri=^V, rmso=^N, rs1=^R^N, sgr0=^N, 
10428         smso=^O, 
10429 appleII|apple ii plus, 
10430         am, 
10431         cols#80, it#8, lines#24, 
10432         clear=^L, cnorm=^TC2, cub1=^H, cud1=^J, cuf1=^\, 
10433         cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, cvvis=^TC6, 
10434         ed=^K, el=^], flash=\024G1$<200/>\024T1, home=\E^Y, ht=^I, 
10435         is2=\024T1\016, kcud1=^J, kcuf1=^U, rmso=^N, sgr0=^N, 
10436         smso=^O, 
10437 # Originally by Gary Ford 21NOV83
10438 # From: <ee178aci%sdcc7@SDCSVAX.ARPA>  Fri Oct 11 21:27:00 1985
10439 apple-80|apple II with smarterm 80 col, 
10440         am, bw, 
10441         cols#80, lines#24, 
10442         cbt=^R, clear=\014$<10*/>, cr=\r$<10*/>, cub1=^H, cud1=^J, 
10443         cuf1=^\, cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, 
10444         ed=\013$<10*/>, el=\035$<10/>, home=^Y, 
10445 apple-soroc|apple emulating soroc 120, 
10446         am, 
10447         cols#80, lines#24, 
10448         bel=^G, clear=\E*$<300>, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
10449         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EY, el=\ET, 
10450         home=^^, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
10451 # From Peter Harrison, Computer Graphics Lab, San Francisco
10452 #   ucbvax!ucsfmis!harrison  .....uucp
10453 #   ucbvax!ucsfmis!harrison@BERKELEY   .......ARPA
10454 # "These two work.  If you don't have the inverse video chip for the
10455 # Apple with videx then remove the :so: and :se: fields."
10456 # (apple-videx: this used to be called DaleApple -- esr)
10457 apple-videx|Apple with videx videoterm 80 column board with inverse video, 
10458         am, xenl, 
10459         cols#80, it#8, lines#24, 
10460         clear=\014$<300/>, cub1=^H, cud1=^J, cuf1=^\, 
10461         cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
10462         home=^Y, ht=^I, kcub1=^H, kcud1=^J, kcuf1=^U, khome=^Y, 
10463         rmso=^Z2, sgr0=^Z2, smso=^Z3, 
10464 # My system [for reference] : Apple ][+, 64K, Ultraterm display card,
10465 #                             Apple Cat ][ 212 modem, + more all
10466 #                             controlled by ASCII Express: Pro.
10467 # From Dave Shaver <isucs1!shaver>
10468 apple-uterm-vb|Videx Ultraterm for Apple micros with Visible Bell, 
10469         am, eo, xt, 
10470         cols#80, lines#24, 
10471         acsc=, clear=^L, cuf1=^\, 
10472         cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
10473         flash=^W35^W06, home=^Y, 
10474         is2=^V4^W06\017\rVisible Bell Installed.\016\r\n, 
10475         rmso=^N, smso=^O, 
10476 apple-uterm|Ultraterm for Apple micros, 
10477         am, eo, xt, 
10478         cols#80, lines#24, 
10479         acsc=, clear=^L, cuf1=^\, 
10480         cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
10481         home=^Y, is2=^V4^W06\016, rmso=^N, smso=^O, 
10482 # from trwrba!bwong (Bradley W. Wong):
10483 #
10484 # This entry assumes that you are using an apple with the UCSD Pascal
10485 # language card.  SYSTEM.MISCINFO is assumed to be the same as that
10486 # supplied with the standard apple except that screenwidth should be set
10487 # using SETUP to 80 columns.  Note that the right arrow in not mapped in
10488 # this termcap entry.  This is because that key, on the Apple, transmits
10489 # a ^U and would thus preempt the more useful "up" function of vi.
10490 #
10491 # HMH 2/23/81
10492 apple80p|80-column apple with Pascal card, 
10493         am, bw, 
10494         cols#80, lines#24, 
10495         clear=^Y^L, cuf1=^\\:, 
10496         cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
10497         home=^Y, kcub1=^H, 
10498 #
10499 # Apple II+ equipped with Videx 80 column card
10500 #
10501 # Terminfo from ihnp4!ihu1g!djc1 (Dave Christensen) via BRL;
10502 # manually converted by D A Gwyn
10503 #
10504 # DO NOT use any terminal emulation with this data base, it works directly
10505 # with the Videx card.  This has been tested with vi 1200 baud and works fine.
10506 #
10507 # This works great for vi, except I've noticed in pre-R2, ^U will scroll back
10508 # 1 screen, while in R2 ^U doesn't.
10509 # For inverse alternate character set add:
10510 #       <smacs>=^O:<rmacs>=^N:
10511 # (apple-v: added it#8 -- esr)
10512 apple-videx2|Apple II+ w/ Videx card (similar to Datamedia h1520), 
10513         am, xenl, 
10514         cols#80, it#8, lines#24, 
10515         bel=\007$<100/>, clear=\014$<16*/>, cr=^M, cub1=^H, 
10516         cud1=^J, cuf1=^\, cup=\036%p2%{32}%+%c%p1%{32}%+%c, 
10517         cuu1=^_, ed=\013$<16*/>, el=^], home=^Y, ht=\011$<8/>, 
10518         ind=^J, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^\, kcuu1=^_, 
10519         khome=^Y, rmso=^Z2, smso=^Z3, 
10520 apple-videx3|vapple|Apple II with 80 col card, 
10521         am, 
10522         cols#80, lines#24, 
10523         clear=\Ev, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
10524         cuu1=\EA, el=\Ex, home=\EH, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
10525         kcuu1=\EA, kf0=\EP, kf1=\EQ, kf2=\ER, kf3=\E\s, kf4=\E!, 
10526         kf5=\E", kf6=\E#, kf7=\E$, kf8=\E%, kf9=\E&, khome=\EH, 
10527 #From: decvax!cbosgd!cbdkc1!mww Mike Warren via BRL
10528 aepro|Apple II+ running ASCII Express Pro--vt52, 
10529         cols#80, lines#24, 
10530         clear=\014$<300/>, cuf1=\EC, 
10531         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
10532         el=\EK, home=\EH, 
10533 # UCSD addition: Yet another termcap from Brian Kantor's Micro Munger Factory
10534 apple-vm80|ap-vm80|apple with viewmax-80, 
10535         cols#80, lines#24, 
10536         clear=\014$<300/>, cuf1=^\\:, 
10537         cup=\036%p1%{32}%+%c%p2%{32}%+%c$<100/>, cuu1=^_, 
10538         ed=\013$<300/>, el=^], home=\031$<200/>, 
10539
10540 #### Apple Lisa & Macintosh
10541 #
10542
10543 # (lisa: changed <cvvis> to <cnorm> -- esr)
10544 lisa|apple lisa console display (black on white), 
10545         am, eo, msgr, 
10546         cols#88, it#8, lines#32, 
10547         acsc=lfmekcjdttuvvuwsqax`nb, civis=\E[5h, clear=^L, 
10548         cnorm=\E[5l, cub1=^H, cud1=\E[B, cuf1=\E[C, 
10549         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
10550         ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L, 
10551         is2=\E>\E[m\014, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
10552         kcuf1=\E[C, kcuu1=\E[A, rmacs=\E[10m, rmso=\E[m, rmul=\E[m, 
10553         sgr0=\E[m, smacs=\E[11m, smso=\E[7m, smul=\E[4m, 
10554 liswb|apple lisa console display (white on black), 
10555         is2=\E>\E[0;7m\014, rmso=\E[0;7m, rmul=\E[0;7m, 
10556         smso=\E[m, smul=\E[4m, use=lisa, 
10557
10558 # lisaterm from ulysses!gamma!epsilon!mb2c!jed (John E. Duncan III) via BRL;
10559 # <is2> revised by Ferd Brundick <fsbrn@BRL.ARPA>
10560 #
10561 # These entries assume that the 'Auto Wraparound' is enabled.
10562 # Xon-Xoff flow control should also be enabled.
10563 #
10564 # The vt100 uses :rs2: and :rf: rather than :is2:/:tbc:/:hts: because the tab
10565 # settings are in non-volatile memory and don't need to be reset upon login.
10566 # Also setting the number of columns glitches the screen annoyingly.
10567 # You can type "reset" to get them set.
10568 #
10569 lisaterm|Apple Lisa or Lisa/2 running LisaTerm vt100 emulation, 
10570         am, xenl, xon, 
10571         cols#80, it#8, lines#24, vt#3, 
10572         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
10573         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
10574         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
10575         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, ed=\E[J, 
10576         el=\E[K, home=\E[H, ht=^I, hts=\EH, ind=^J, kbs=^H, kcub1=\EOD, 
10577         kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOP, kf1=\EOQ, 
10578         kf2=\EOR, kf3=\EOS, lf0=F1, lf1=F2, lf2=F3, lf3=F4, rc=\E8, 
10579         rev=\E[7m, ri=\EM, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
10580         rs1=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r, 
10581         sc=\E7, sgr0=\E[m, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
10582         tbc=\E[3g, 
10583 # Lisaterm in 132 column ("wide") mode.
10584 lisaterm-w|Apple Lisa with Lisaterm in 132 column mode, 
10585         cols#132, 
10586         kbs=^H, kcub1=^H, kcud1=^J, use=lisaterm, 
10587 # Although MacTerminal has insert/delete line, it is commented out here
10588 # since it is much faster and cleaner to use the "lock scrolling region"
10589 # method of inserting and deleting lines due to the MacTerminal implementation.
10590 # Also, the "Insert/delete ch" strings have an extra character appended to them
10591 # due to a bug in MacTerminal V1.1.  Blink is disabled since it is not
10592 # supported by MacTerminal.
10593 mac|macintosh|Macintosh with MacTerminal, 
10594         xenl, 
10595         blink@, dch1=\E[P$<7/>, ich1=\E[@$<9/>, ip=$<7/>, use=lisa, 
10596 # Lisaterm in 132 column ("wide") mode.
10597 mac-w|macterminal-w|Apple Macintosh with Macterminal in 132 column mode, 
10598         cols#132, use=mac, 
10599
10600 #### Radio Shack/Tandy
10601 #
10602
10603 # (coco3: This had "ta" used incorrectly as a boolean and bl given as "bl#7".
10604 # I read these as mistakes for ":it#8:" and ":bl=\007:" respectively -- esr)
10605 # From: <{pbrown,ctl}@ocf.berkeley.edu> 12 Mar 90
10606 coco3|os9LII|Tandy CoCo3 24*80 OS9 Level II, 
10607         am, 
10608         cols#80, it#8, lines#24, 
10609         bel=^G, blink=^_", bold=\E\:^A, civis=^E\s, 
10610         clear=\014$<5*/>, cnorm=^E!, cub1=^H, cud1=^J, cuf1=^F, 
10611         cup=\002%p2%{32}%+%c%p1%{32}%+%c$<2/>, cuu1=^I, 
10612         dl1=^_1, ed=^K, el=^D, home=^A, il1=^_0, kcub1=^H, kcud1=^J, 
10613         kcuf1=^I, kcuu1=^L, rev=^_\s, rmso=^_!, rmul=^_#, 
10614         sgr0=\037!\E\:\200, smso=^_\s, smul=^_", 
10615 # (trs2: removed obsolete ":nl=^_:" -- esr)
10616 trs2|trsII|trs80II|Radio Shack Model II using P&T CP/M, 
10617         am, msgr, 
10618         cols#80, it#8, lines#24, 
10619         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^_, cuf1=^], 
10620         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^^, dl1=^K, ed=^B, 
10621         el=^A, home=^F, ht=^I, il1=^D, ind=^J, kbs=^H, kcub1=^\, 
10622         kcud1=^_, kcuf1=^], kcuu1=^^, rmso=^O, sgr0=^O, smso=^N, 
10623 # From: Kevin Braunsdorf <ksb@mentor.cc.purdue.edu>
10624 # (This had extension capabilities
10625 #       :BN=\E[?33h:BF=\E[?33l:UC=\E[_ q:BC=\E[\177 q:\
10626 #       :CN=\ERC:CF=\ERc:NR=\ERD:NM=\ER@:
10627 # I also deleted the unnecessary ":kn#2:", ":sg#0:" -- esr)
10628 trs16|trs-80 model 16 console, 
10629         am, 
10630         cols#80, it#8, lines#24, 
10631         acsc=l_mbk`javewcquxs, bel=^G, civis=\ERc, clear=^L, 
10632         cnorm=\ERC, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC, 
10633         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ, 
10634         dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EP, il1=\EL, 
10635         ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
10636         kf0=^A, kf1=^B, kf2=^D, kf3=^L, kf4=^U, kf5=^P, kf6=^N, kf7=^S, 
10637         khome=^W, lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7, 
10638         lf7=f8, mc4=\E]+, mc5=\E]=, rmacs=\ERg, rmso=\ER@, sgr0=\ER@, 
10639         smacs=\ERG, smso=\ERD, 
10640
10641 #### Atari ST
10642 #
10643
10644 # From: Simson L. Garfinkel <simsong@media-lab.mit.edu>
10645 atari|atari st, 
10646         am, 
10647         cols#80, it#8, lines#25, 
10648         clear=\EH\EJ, cub1=\ED, cud1=\EB, cuf1=\EC, 
10649         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM, 
10650         ed=\EJ, el=\EK, ht=^I, il1=\EL, kcub1=\ED, kcud1=\EB, 
10651         kcuf1=\EC, kcuu1=\EA, ri=\EI, rmso=\Eq, sgr0=\Eq, smso=\Ep, 
10652 # UniTerm terminal program for the Atari ST:  49-line VT220 emulation mode
10653 # From: Paul M. Aoki <aoki@ucbvax.berkeley.edu>
10654 uniterm|uniterm49|UniTerm VT220 emulator with 49 lines, 
10655         lines#49, 
10656         is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;49r\E[49;1H, use=vt220, 
10657 # MiNT VT52 emulation. 80 columns, 25 rows.
10658 # MiNT is Now TOS, the operating system which comes with all Ataris now
10659 # (mainly Atari Falcon). This termcap is for the VT52 emulation you get
10660 # under tcsh/zsh/bash/sh/ksh/ash/csh when you run MiNT in `console' mode
10661 # From: Per Persson <pp@gnu.ai.mit.edu>, 27 Feb 1996
10662 st52|Atari ST with VT52 emulation, 
10663         am, km, 
10664         cols#80, lines#25, 
10665         bel=^G, civis=\Ef, clear=\EH\EJ, cnorm=\Ee, cr=^M, cub1=\ED, 
10666         cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
10667         cuu1=\EA, dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, il1=\EL, 
10668         ind=^J, ka1=\E#7, ka3=\E#5, kb2=\E#9, kbs=^H, kc1=\E#1, 
10669         kc3=\E#3, kclr=\E#7, kcub1=\E#K, kcud1=\E#P, kcuf1=\E#M, 
10670         kcuu1=\E#H, kf0=\E#D, kf1=\E#;, kf2=\E#<, kf3=\E#=, kf4=\E#>, 
10671         kf5=\E#?, kf6=\E#@, kf7=\E#A, kf8=\E#B, kf9=\E#C, khome=\E#G, 
10672         kil1=\E#R, kind=\E#2, kri=\E#8, lf0=f10, nel=^M^J, rc=\Ek, 
10673         ri=\EI, rmcup=, rmso=\Eq, rs1=\Ez_\Eb@\EcA, sc=\Ej, sgr0=\Eq, 
10674         smcup=\Ee, smso=\Ep, 
10675  
10676 #### Commodore Business Machines
10677 #
10678 # Formerly located in West Chester, PA; went spectacularly bust in 1994
10679 # after years of shaky engineering and egregious mismanagement.  Made one
10680 # really nice machine (the Amiga) and boatloads of nasty ones (PET, C-64,
10681 # C-128, VIC-20).  The C-64 is said to have been the most popular machine
10682 # ever (most units sold); they can still be found gathering dust in closets
10683 # everywhere.
10684 #
10685
10686 # From: Kent Polk <kent@swrinde.nde.swri.edu>, 30 May 90
10687 # Added a few more entries, converted caret-type control sequence (^x) entries
10688 # to '\0xx' entries since a couple of people mentioned losing '^x' sequences.
10689 #
10690 # :as:, :ae:                    Support for alternate character sets.
10691 # :ve=\E[\040p:vi=\E[\060\040p: cursor visible/invisible.
10692 # :xn:  vt100 kludginess at column 80/NEWLINE ignore after 80 cols(Concept)
10693 #     This one appears to fix a problem I always had with a line ending
10694 #     at 'width+1' (I think) followed by a blank line in vi. The blank
10695 #     line tended to disappear and reappear depending on how the screen
10696 #     was refreshed. Note that this is probably needed only if you use
10697 #     something like a Dnet Fterm with the window sized to some peculiar
10698 #     dimension larger than 80 columns.
10699 # :k0=\E9~:     map F10 to k0 - could have F0-9 -> k0-9, but ... F10 was 'k;'
10700 # (amiga: removed obsolete :kn#10:,
10701 # also added empty <acsc> to suppress a warning --esr)
10702 amiga-old|Amiga ANSI, 
10703         am, bw, xenl, 
10704         cols#80, lines#24, 
10705         acsc=, bel=^G, blink=\E[7;2m, bold=\E[1m, cbt=\E[Z, 
10706         civis=\E[0 p, clear=\E[H\E[J, cnorm=\E[ p, cub=\E[%p1%dD, 
10707         cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, 
10708         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
10709         cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
10710         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, 
10711         ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S, 
10712         indn=\E[%p1%dS, invis=\E[8m, is2=\E[20l, kbs=^H, kcub1=\ED, 
10713         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf0=\E9~, kf1=\E0~, 
10714         kf2=\E1~, kf3=\E2~, kf4=\E3~, kf5=\E4~, kf6=\E5~, kf7=\E6~, 
10715         kf8=\E7~, kf9=\E8~, rev=\E[7m, ri=\E[T, rin=\E[%p1%dT, 
10716         rmacs=^O, rmso=\E[m, rmul=\E[m, rs1=\Ec, sgr0=\E[m, smacs=^N, 
10717         smso=\E[7m, smul=\E[4m, 
10718
10719 # From: Hans Verkuil <hans@wyst.hobby.nl>, 4 Dec 1995
10720 # (amiga: added empty <acsc> to suppress a warning --esr)
10721 amiga|Amiga ANSI, 
10722         bw, msgr, 
10723         cols#80, lines#24, 
10724         acsc=, bel=^G, blink=\2337;2m, bold=\2331m, cbt=\233Z, 
10725         civis=\2330 p, clear=\233H\233J, cnorm=\233 p, cr=^M, 
10726         cub=\233%p1%dD, cub1=\233D, cud=\233%p1%dB, cud1=\233B, 
10727         cuf=\233%p1%dC, cuf1=\233C, cup=\233%i%p1%d;%p2%dH, 
10728         cuu=\233%p1%dA, cuu1=\233A, dch=\233%p1%dP, dch1=\233P, 
10729         dim=\2332m, ech=\233%p1%dP, ed=\233J, el=\233K, flash=^G, 
10730         home=\233H, ht=^I, ich=\233%p1%d@, ich1=\233@, ind=\233S, 
10731         indn=\233%p1%dS, invis=\2338m, is2=\23320l, kbs=^H, 
10732         kcub1=\233D, kcud1=\233B, kcuf1=\233C, kcuu1=\233A, 
10733         kdch1=\177, kf0=\2339~, kf1=\2330~, kf2=\2331~, kf3=\2332~, 
10734         kf4=\2333~, kf5=\2334~, kf6=\2335~, kf7=\2336~, kf8=\2337~, 
10735         kf9=\2338~, nel=\233B\r, rev=\2337m, ri=\233T, 
10736         rin=\233%p1%dT, rmacs=^O, rmcup=\233?7h, rmso=\2330m, 
10737         rmul=\2330m, rs1=\Ec, sgr0=\2330m, smacs=^N, smcup=\233?7l, 
10738         smso=\2337m, smul=\2334m, 
10739
10740 # Commodore B-128 microcomputer from Doug Tyrol <det@HEL-ACE.ARPA>
10741 #       I'm trying to write a termcap for a commodore b-128, and I'm
10742 # having a little trouble. I've had to map most of my control characters
10743 # to something that unix will accept (my delete-char is a ctrl-t, etc),
10744 # and create some functions (like cm), but thats life.
10745 #       The problem is with the arrow keys - right, and up work fine, but
10746 # left deletes the previous character and down I just can't figure out.
10747 # Jove knows what I want, but I don't know what it's sending to me (it
10748 # isn't thats bound to next-line in jove).
10749 #       Anybody got any ideas? Here's my termcap.
10750 # DAG -- I changed his "^n" entries to "\n"; see if that works.
10751 #
10752 commodore|b-128|Commodore B-128 micro, 
10753         am, bw, 
10754         cols#80, lines#24, pb#150, 
10755         clear=\E\006$<10/>, cr=^M, cud1=^J, cuf1=^F, 
10756         cup=\E\013%p1%2d\,%p2%2d\,$<20/>, cuu1=^P, 
10757         dch1=\177$<10*/>, dl1=\Ed$<10*/>, el=\Eq$<10/>, 
10758         home=\E^E, ht=\011$<5/>, ich1=\E\n$<5/>, il1=\Ei$<10/>, 
10759         kcub1=^B, kcud1=^J, kcuf1=^F, kcuu1=^P, khome=\E^E, rmir=, 
10760         smir=, 
10761
10762 #### North Star
10763 #
10764 # North Star Advantage from Lt. Fickie <brl-ibd!fickie> via BRL
10765 northstar|North Star Advantage, 
10766         cols#80, lines#24, 
10767         clear=\004$<200/>, 
10768         cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<1/>, ed=\017$<200/>, 
10769         el=\016$<200/>, home=\034\032$<200/>, 
10770
10771 #### Osborne
10772 #
10773 # Thu Jul  7 03:55:16 1983
10774 #       
10775 # As an aside, be careful; it may sound like an anomaly on the 
10776 # Osborne, but with the 80-column upgrade, it's too easy to 
10777 # enter lines >80 columns!
10778 #       
10779 # I've already had several comments...
10780 # The Osborne-1 with the 80-col option is capable of being 
10781 # 52, 80, or 104 characters wide; default to 80 for compatibility 
10782 # with most systems.
10783 #       
10784 # The tab is destructive on the Ozzie; make sure to 'stty -tabs'.
10785 osborne-w|osborne1-w|osborne I in 104-column mode, 
10786         msgr, ul, xt, 
10787         cols#104, lines#24, 
10788         bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
10789         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
10790         dl1=\ER, el=\ET, ich1=\EQ, il1=\EE, ind=^J, kcub1=^H, kcud1=^J, 
10791         kcuf1=^L, kcuu1=^K, rmso=\E(, rmul=\Em, smso=\E), smul=\El, 
10792 # Osborne I     from ptsfa!rhc (Robert Cohen) via BRL
10793 osborne|osborne1|osborne I in 80-column mode, 
10794         am, mir, msgr, ul, xhp, 
10795         cols#80, lines#24, 
10796         clear=^Z, cub1=\010$<4>, cud1=^J, cuf1=^L, 
10797         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
10798         dch1=\\EW$<4/>, dl1=\ER, el=\ET, il1=\EE, is2=^Z, kbs=^H, 
10799         kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, rmir=, rmso=\E), 
10800         rmul=\Em, smir=\EQ, smso=\E(, smul=\El, 
10801 #
10802 # Osborne Executive definition from BRL
10803 # Similar to tvi920
10804 # Added by David Milligan and Tom Smith (SMU)
10805 osexec|Osborne executive, 
10806         am, 
10807         cols#80, lines#24, xmc#1, 
10808         bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
10809         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
10810         dl1=\ER, ed=\EY, el=\ET, home=^^, hts=\E1, ich1=\EQ, il1=\EE, 
10811         is2=\Eq\Ek\Em\EA\Ex0, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, 
10812         kcuu1=^K, kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r, 
10813         kf4=^AD\r, kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, 
10814         kf9=^AI\r, rmir=, rmso=\Ek, rmul=\Em, smir=, smso=\Ej, 
10815         smul=\El, tbc=\E3, 
10816
10817 #### Console types for obsolete UNIX clones
10818 #
10819 # Coherent, Minix, Venix, and several lesser-known kin were OSs for 8088
10820 # machines that tried to emulate the UNIX look'n'feel.  Coherent and Venix
10821 # were commercial, Minix an educational tool sold in conjunction with a book.
10822 # Memory-segmentation limits and a strong tendency to look like V7 long after
10823 # it was obsolete made all three pretty lame.  Venix croaked early.  Coherent
10824 # and Minix were ported to 32-bit Intel boxes, only to be run over by a
10825 # steamroller named `Linux' (which, to be fair, traces some lineage to Minix). 
10826 # Coherent's vendor, the Mark Williams Company, went belly-up in 1994.  There
10827 # are also, I'm told, Minix ports that ran on Amiga and Atari machines and
10828 # even as single processes under SunOS and the Macintosh OS.
10829 #
10830
10831 # This is the entry provided with minix 1.7.4, with bogus :ri: removed.
10832 minix|minix console (v1.7), 
10833         am, xenl, 
10834         cols#80, it#8, lines#25, 
10835         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[0J, cr=^M, 
10836         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, 
10837         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
10838         cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
10839         dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[K, home=\E[H, ht=^I, 
10840         ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
10841         is2=\E[0m, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
10842         kcuu1=\E[A, kf0=\E[Y, kf1=\E[V, kf2=\E[U, kf3=\E[T, kf4=\E[S, 
10843         kf5=\E[G, khome=\E[H, lf0=End, lf1=PgUp, lf2=PgDn, lf3=Num +, 
10844         lf4=Num -, lf5=Num 5, nel=^M^J, rev=\E[7m, ri=\EM, 
10845         rmso=\E[0m, rmul=\E[0m, sgr0=\E[0m, smso=\E[7m, smul=\E[4m, 
10846 minix-old|minix console (v1.5), 
10847         cols#80, it#8, lines#25, 
10848         blink=\E[5m, bold=\E[1m, clear=\E[H\E[0J, cr=^M, 
10849         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, 
10850         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
10851         cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
10852         dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[K, home=\E[H, ht=^I, 
10853         ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
10854         kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
10855         kf0=\E[Y, kf1=\E[V, kf2=\E[U, kf3=\E[T, kf4=\E[S, kf5=\E[G, 
10856         khome=\E[H, nel=^M^J, rev=\E[7m, ri=\EM, rmso=\E[0m, 
10857         rmul=\E[0m, sgr0=\E[0m, smso=\E[7m, smul=\E[4m, 
10858
10859 pc-minix|minix console on an Intel box, 
10860         use=klone+acs, use=minix, 
10861
10862 # According to the Coherent 2.3 manual, the PC console is similar
10863 # to a z19. The differences seem to be (1) 25 lines, (2) no status
10864 # line, (3) standout is broken, (4) ins/del line is broken, (5)
10865 # has blinking and bold.
10866 pc-coherent|pcz19|coherent|IBM PC console running Coherent, 
10867         am, mir, 
10868         cols#80, it#8, lines#25, 
10869         bel=^G, clear=\EE, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC, 
10870         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EN, 
10871         ed=\EJ, el=\EK, home=\EH, ht=^I, ind=^J, kbs=^H, kcub1=\ED, 
10872         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\EH, ri=\EI, rmir=\EO, 
10873         rmso=\Eq, sgr0=\Eq, smir=\E@, smso=\Ep, 
10874
10875 # According to the Venix 1.1 manual, the PC console is similar
10876 # to a DEC vt52.  Differences seem to be (1) arrow keys send 
10877 # different strings, (2) enhanced standout, (3) added insert/delete line.
10878 # Note in particular that it doesn't have automatic margins.
10879 # There are other keys (f1-f10, kpp, knp, kcbt, kich1, kdch1) but they
10880 # not described here because this derives from an old termcap entry.
10881 pc-venix|venix|IBM PC console running Venix, 
10882         cols#80, it#8, lines#25, 
10883         bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
10884         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM, 
10885         ed=\EJ, el=\EK, ht=^I, il1=\EL, ind=^J, kbs=^H, kcub1=\EK, 
10886         kcud1=\EP, kcuf1=\EM, kcuu1=\EH, khome=\EG, ri=\EI, 
10887
10888 #### Miscellaneous microcomputer consoles
10889 #
10890 # If you know anything more about any of these, please tell me.
10891 #
10892
10893 # basis from Peter Harrison, Computer Graphics Lab, San Francisco
10894 #   ucbvax!ucsfmis!harrison ...uucp / ucbvax!ucsfmis!harrison@BERKELEY ...ARPA
10895 # (basis: removed obsolete ":ma=^K^P^R^L^L :nl=5000*^J:" -- esr)
10896 basis|BASIS108 computer with terminal translation table active, 
10897         clear=\E*$<300/>, cud1=\n$<5000/>, ed=\EY, el=\ET, kbs=^H, 
10898         kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, rmso=\E), sgr0=\E), 
10899         smso=\E(, 
10900         use=adm3a, 
10901 # luna's BMC terminal emulator
10902 luna|luna68k|LUNA68K Bitmap console, 
10903         cols#88, lines#46, use=ansi-mini, 
10904 megatek|pegasus workstation terminal emulator, 
10905         am, os, 
10906         cols#83, lines#60, 
10907 # The Xerox 820 was a Z80 micro with a snazzy XEROX PARC-derived 
10908 # interface (pre-Macintosh by several years) that went nowhere.
10909 xerox820|x820|Xerox 820, 
10910         am, 
10911         cols#80, lines#24, 
10912         bel=^G, clear=1^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
10913         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=^Q, el=^X, 
10914         home=^^, ind=^J, 
10915
10916 #### Videotex and teletext
10917 #
10918
10919 # standard-issue France Telecom minitel terminal (made by Philips)
10920 # (m2-nam: had unknown :zd=\E[1m:zb=\E[5m:zc=lkmjqxtuwvn:; also deleted
10921 # unnecessary :ug#0:sg#0: and added <acsc> to quiet tic. -- esr)
10922 m2-nam|minitel|minitel-2|minitel-2-nam|France Telecom Minitel, 
10923         xenl, 
10924         cols#80, it#8, lines#24, 
10925         acsc=, clear=\E[H\E[J, cub1=^H, cuf1=\E[C, 
10926         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
10927         ed=\E[J, el=\E[K, home=\E[H, ht=^I, il1=\E[L, ind=^J, ip=$<7/>, 
10928         is2=\E[1;24r\E[24;1H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
10929         kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
10930         khome=\E[H, ri=\EM, rmacs=\E(B, rmir=\E[4l, rmso=\E[m, 
10931         rmul=\E[m, sgr0=\E[m, smacs=\E(0, smir=\E[4h, smso=\E[7m, 
10932         smul=\E[4m, 
10933
10934 ######## OBSOLETE VDT TYPES
10935 #
10936 # These terminals are *long* dead -- these entries are retained for
10937 # historical interest only.
10938
10939 #### Amtek Business Machines
10940 #
10941
10942 # (abm80: early versions of this entry apparently had ":se=\E^_:so=\E^Y",
10943 # but these caps were commented out in 8.3; also, removed overridden
10944 # ":do=^J:" -- esr)
10945 abm80|amtek business machines 80, 
10946         am, bw, 
10947         cols#80, lines#24, 
10948         cbt=^T, clear=\E^\, cub1=^H, cud1=\E^K, cuf1=^P, 
10949         cup=\E\021%p2%{32}%+%c%p1%{32}%+%c, cuu1=\E^L, 
10950         dl1=\E^S, ed=\E^X, el=\E^O, home=\E^R, il1=\E^Z, 
10951
10952 #### Bell Labs blit terminals
10953 #
10954 # These were AT&T's official entries.  The 5620 FAQ maintained by 
10955 # David Breneman <daveb@dgtl.com> has this to say:
10956 #
10957 #  Actually, in the beginning was the Jerq, and the Jerq was white with a
10958 #  green face, and Locanthi and Pike looked upon the Jerq and said the Jerq
10959 #  was good.  But lo, upon the horizon loomed a mighty management-type person
10960 #  (known now only by the initials VP) who said, the mighty Jerq must stay
10961 #  alone, and could not go forth into the world. So Locanthi and Pike put the
10962 #  Jerq to sleep, cloned its parts, and the Blit was brought forth unto the
10963 #  world. And the Jerq lived the rest of its days in research, but never
10964 #  strayed from those paths.
10965 #
10966 #  In all seriousness, the Blit was originally known as the Jerq, but when
10967 #  it started to be shown outside of the halls of the Bell Labs Research
10968 #  organization, the management powers that be decided that the name could
10969 #  not remain. So it was renamed to be Blit. This was in late 1981.
10970 #
10971 # (The AT&T 5620 was the commercialized Blit.  Its successors were the 630,
10972 # 730, and 730+.)
10973 #
10974
10975 blit|jerq|blit running teletype rom, 
10976         am, eo, ul, xon, 
10977         cols#87, it#8, lines#72, 
10978         bel=^G, clear=^L, cr=^M, cub1=\ED, cud1=^J, cuf1=\EC, 
10979         cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, 
10980         dch=\Ee%p1%{32}%+%c, dch1=\Ee!, dl=\EE%p1%{32}%+%c, 
10981         dl1=\EE!, el=\EK, ht=^I, ich=\Ef%p1%{32}%+%c, ich1=\Ef!, 
10982         il=\EF%p1%{32}%+%c, il1=\EF!, ind=^J, kbs=^H, kcub1=\ED, 
10983         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf1=\Ex, kf2=\Ey, kf3=\Ez, 
10984
10985 # (cbblit: here's a BSD termcap that says <cud1=\EG> -- esr)
10986 cbblit|fixterm|blit running columbus code, 
10987         cols#88, 
10988         ed=\EJ, flash=\E^G, ich1@, mc4=^T, mc5=^R, mc5p=\EP%p1%03d, 
10989         rmir=\ER, rmso=\EV!, rmul=\EV", smir=\EQ, smso=\EU!, 
10990         smul=\EU", 
10991         use=blit, 
10992
10993 oblit|ojerq|first version of blit rom, 
10994         am, da, db, eo, mir, ul, xon, 
10995         cols#88, it#8, lines#72, 
10996         bel=^G, clear=^L, cr=^M, cub1=\ED, cud1=^J, cuf1=\EC, 
10997         cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, dch1=\EO, 
10998         dl=\Ee%p1%{32}%+%c, dl1=\EE, ed=\EJ, el=\EK, flash=\E^G, 
10999         ht=^I, il=\Ef%p1%{32}%+%c, il1=\EF, ind=^J, kbs=^H, rmir=\ER, 
11000         smir=\EQ, 
11001
11002 #### Bolt, Beranek & Newman (bbn)
11003 #
11004 # The BitGraph was a product of the now-defunct BBN Computer Corporation.
11005 # The parent company, best known as the architects of the Internet, is
11006 # still around.
11007 #
11008
11009 # Entries for the BitGraph terminals.  The problem 
11010 # with scrolling in vi can only be fixed by getting BBN to put 
11011 # smarter scroll logic in the terminal or changing vi or padding 
11012 # scrolls with about 500 ms delay.
11013 #       
11014 # I always thought the problem was related to the terminal 
11015 # counting newlines in its input buffer before scrolling and 
11016 # then moving the screen that much. Then vi comes along and 
11017 # paints lines in on the bottom line of the screen, so you get 
11018 # this big white gap.
11019
11020 bitgraph|bg2.0nv|bg3.10nv|bbn bitgraph 2.0 or later (normal video), 
11021         flash=\E[?5h$<200/>\E[?5l, is2=\E>\E[?5l\E[?7h, 
11022         use=bg2.0, 
11023 bg2.0rv|bg3.10rv|bbn bitgraph 2.0 (reverse video), 
11024         flash=\E[?5l$<200/>\E[?5h, is2=\E>\E[?5h\E[?7h, 
11025         use=bg2.0, 
11026 bg2.0|bg3.10|bbn bitgraph 2.0 or later (no init), 
11027         xenl, 
11028         cols#85, lines#64, 
11029         bel=^G, clear=\E[H\E[J$<150>, cr=^M, 
11030         csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C, 
11031         cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, dl1=\E[M$<2*>, 
11032         ed=\E[J$<150>, el=\E[K$<2>, ht=^I, il1=\E[L$<2*>, 
11033         ind=\n$<280>, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
11034         kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, lf1=PF1, 
11035         lf2=PF2, lf3=PF3, lf4=PF4, rc=\E8, rmkx=\E>, rmso=\E[m, sc=\E7, 
11036         sgr0=\E[m, smkx=\E=, smso=\E[7m, 
11037
11038 bg1.25rv|bbn bitgraph 1.25 (reverse video), 
11039         flash=\E[?5l$<200/>\E[?5h, is2=\E>\E[?5h\E[?7h, use=bg1.25, 
11040 bg1.25nv|bbn bitgraph 1.25 (normal video), 
11041         flash=\E[?5h$<200/>\E[?5l, is2=\E>\E[?5l\E[?7h, use=bg1.25, 
11042 # (bg1.25: I added <rmam>/<smam> based on the init string -- esr)
11043 bg1.25|bbn bitgraph 1.25, 
11044         cols#85, lines#64, 
11045         bel=^G, clear=\E[H\E[J$<150>, cr=^M, cub1=^H, cud1=\E[B, 
11046         cuf1=\E[C, cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, 
11047         dl1=\E[M$<2*>, ed=\E[J$<150>, el=\E[K$<2>, ht=^I, 
11048         il1=\E[L$<2*>, ind=\n$<280>, kcub1=\ED, kcud1=\EB, 
11049         kcuf1=\EC, kcuu1=\EA, kf1=\EP, kf2=\EQ, kf3=\ER, kf4=\ES, 
11050         lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, ll=\E[64;1H, rmam=\E[?7l, 
11051         rmkx=\E>, rmso=\E[m, sgr0=\E[m, smam=\E[?7h, smkx=\E=, 
11052         smso=\E[7m, 
11053
11054 #### Chromatics
11055 #
11056
11057 # I have put the long strings in <smcup>/<rmcup>. Ti sets up a window 
11058 # that is smaller than the screen, and puts up a warning message 
11059 # outside the window. Te erases the warning message, puts the 
11060 # window back to be the whole screen, and puts the cursor at just
11061 # below the small window. I defined <cnorm> and <civis> to really turn 
11062 # the cursor on and off, but I have taken this out since I don't 
11063 # like the cursor being turned off when vi exits.   
11064 cg7900|chromatics|chromatics 7900, 
11065         am, 
11066         cols#80, lines#40, 
11067         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^], 
11068         cup=\001M%p2%d\,%p1%d\,, cuu1=^K, dch1=^A<1, dl1=^A<2, 
11069         ed=^Al, el=^A`, home=^\, ich1=^A>1, il1=^A>2, ind=^J, ll=^A|, 
11070         rmcup=\001W0\,40\,85\,48\,\014\001W0\,0\,85\,48\,\001M0\,40\,, 
11071         rmso=\001C1\,\001c2\,, 
11072         smcup=\001P0\001O1\001R1\001C4\,\001c0\,\014\001M0\,42\,WARNING DOUBLE ENTER ESCAPE and \025\001C1\,\001c2\,\001W0\,0\,79\,39\,, 
11073         smso=\001C4\,\001c7\,, uc=\001\001_\001\200, 
11074
11075 #### Computer Automation
11076 #
11077
11078 ca22851|computer automation 22851, 
11079         am, 
11080         cols#80, lines#24, 
11081         bel=^G, clear=\014$<8>, cr=^M, cub1=^U, cud1=^J, cuf1=^I, 
11082         cup=\002%i%p1%c%p2%c, cuu1=^V, ed=^\, el=^], home=^^, ind=^J, 
11083         kcub1=^U, kcud1=^W, kcuu1=^V, khome=^^, 
11084
11085 #### Cybernex
11086 #
11087
11088 # This entry has correct padding and the undocumented "ri" capability
11089 cyb83|xl83|cybernex xl-83, 
11090         am, 
11091         cols#80, lines#24, 
11092         bel=^G, clear=\014$<62>, cr=^M, cub1=^H, cud1=^J, cuf1=^I, 
11093         cup=\027%p1%{32}%+%c%p2%{32}%+%c, cuu1=^N, 
11094         ed=\020$<62>, el=\017$<3>, home=^K, ind=^J, kcub1=^H, 
11095         kcud1=^J, kcuf1=^I, kcuu1=^N, ri=^N, 
11096 # (mdl110: removed obsolete ":ma=^Z^P:" and overridden ":cd=145^NA^W:" -- esr)
11097 cyb110|mdl110|cybernex mdl-110, 
11098         am, 
11099         cols#80, lines#24, 
11100         bel=^G, clear=\030$<70>, cr=^M, cub1=^H, cud1=^J, cuf1=^U, 
11101         cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, 
11102         dch1=\016A\036$<3.5>, dl1=\016A\016\036$<40>, 
11103         ed=\016@\026$<6>, el=\016@\026$<145>, home=^Y, 
11104         ht=\011$<43>, ich1=\016A\035$<3.5>, 
11105         il1=\016A\016\035$<65>, ind=^J, rmso=^NG, smso=^NF, 
11106
11107 #### Datapoint
11108 #
11109 # Datapoint is gone.  They used to be headquartered in Texas.
11110 # They created ARCnet, an Ethernet competitor that flourished for a while
11111 # in the early 1980s before 3COM got wise and cut its prices.  The service
11112 # side of Datapoint still lives (1995) in the form of Intelogic Trace.
11113 #
11114
11115 dp3360|datapoint|datapoint 3360, 
11116         am, 
11117         cols#82, lines#25, 
11118         bel=^G, clear=^]^_, cr=^M, cub1=^H, cud1=^J, cuf1=^X, cuu1=^Z, 
11119         ed=^_, el=^^, home=^], ind=^J, 
11120
11121 #### DEC terminals (Obsolete types: DECwriter and vt40/42/50)
11122 #
11123 # These entries are DEC's official terminfos for its older terminals.
11124 # Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
11125 # Engineering for more information.  Updated terminfos and termcaps 
11126 # are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
11127 #
11128
11129 gt40|dec gt40, 
11130         os, 
11131         cols#72, lines#30, 
11132         bel=^G, cr=^M, cub1=^H, cud1=^J, 
11133 gt42|dec gt42, 
11134         os, 
11135         cols#72, lines#40, 
11136         bel=^G, cr=^M, cub1=^H, cud1=^J, 
11137 vt50|dec vt50, 
11138         cols#80, lines#12, 
11139         bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
11140         cuu1=\EA, ed=\EJ, el=\EK, ht=^I, ind=^J, 
11141 vt50h|dec vt50h, 
11142         cols#80, lines#12, 
11143         bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
11144         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
11145         el=\EK, ht=^I, ind=^J, ri=\EI, 
11146 # (vt61: there's a BSD termcap that claims <dl1=\EPd>, <il1=\EPf.> <kbs=^H>)
11147 vt61|vt-61|vt61.5|dec vt61, 
11148         cols#80, lines#24, 
11149         bel=^G, clear=\EH\EJ$<120>, cr=\r$<20>, cub1=^H, cud1=^J, 
11150         cuf1=\EC$<20>, cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<20>, 
11151         cuu1=\EA$<20>, ed=\EJ$<120>, el=\EK$<70>, ht=^I, 
11152         ind=\n$<20>, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
11153         ri=\E$<20>I, 
11154
11155 # The gigi does standout with red!
11156 # (gigi: I added <rmam>/<smam> based on the init string, corrected cub1 -- esr)
11157 gigi|vk100|dec gigi graphics terminal, 
11158         am, xenl, 
11159         cols#84, lines#24, 
11160         bel=^G, clear=\E[H\E[2J, cr=^M, cub=\E[%p1%dD, cub1=^H, 
11161         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
11162         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, ed=\E[J, 
11163         el=\E[K, ht=^I, ind=^J, 
11164         is2=\E>\E[?3l\E[?4l\E[?5l\E[?20l\E[?7h\E[?8h, 
11165         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, 
11166         kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, ri=\EM, 
11167         rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
11168         sgr0=\E[m, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7;31m, 
11169         smul=\E[4m, 
11170
11171 # DEC PRO-350 console (VT220-style).  The 350 was DEC's attempt to produce
11172 # a PC differentiated from the IBM clones.  It was a total, ludicrous,
11173 # grossly-overpriced failure (among other things, DEC's OS didn't include
11174 # a format program, so you had to buy pre-formatted floppies from DEC at
11175 # a hefty premium!).
11176 pro350|decpro|dec pro console, 
11177         cols#80, it#8, lines#24, 
11178         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
11179         clear=\EH\EJ, cub1=^H, cud1=\EB, cuf1=\EC, 
11180         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
11181         el=\EK, home=\EH, ht=^I, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
11182         kcuu1=\EA, kf0=\EE, kf1=\EF, kf2=\EG, kf3=\EH, kf4=\EI, 
11183         kf5=\EJ, kf6=\Ei, kf7=\Ej, khome=\EH, ri=\EI, rmacs=\EG, 
11184         rmso=\E^N, rmul=\E^C, smacs=\EF, smso=\E^H, smul=\E^D, 
11185
11186 dw1|decwriter I, 
11187         hc, os, 
11188         cols#72, 
11189         bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J, 
11190 dw2|decwriter|dw|decwriter II, 
11191         hc, os, 
11192         cols#132, 
11193         bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J, kbs=^H, 
11194
11195 # \E(B          Use U.S. character set (otherwise # => british pound !)
11196 # \E[20l        Disable "linefeed newline" mode (else puts \r after \n,\f,\v)
11197 # \E[w          10 char/in pitch
11198 # \E[1;132      full width horizontal margins
11199 # \E[2g         clear all tab stops
11200 # \E[z          6 lines/in
11201 # \E[66t        66 lines/page (for \f)
11202 # \E[1;66r      full vertical page can be printed
11203 # \E[4g         clear vertical tab stops
11204 # \E>           disable alternate keypad mode (so it transmits numbers!)
11205 # \E[%i%p1%du   set tab stop at column %d (origin == 1)
11206 #               (Full syntax is \E[n;n;n;n;n;...;nu where each 'n' is 
11207 #               a tab stop)
11208 #
11209 #       The dw3 does standout with wide characters.
11210 #
11211 dw3|la120|decwriter III, 
11212         hc, os, 
11213         cols#132, 
11214         bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, ind=^J, 
11215         is1=\E(B\E[20l\E[w\E[0;132s\E[2g\E[z\E[66t\E[1;66r\E[4g\E>, 
11216         is2=\E[9;17;25;33;41;49;57;65;73;81;89;97;105;113;121;129u\r, 
11217         kbs=^H, rmso=\E[w, sgr0=\E[w, smso=\E[6w, 
11218 dw4|decwriter IV, 
11219         am, hc, os, 
11220         cols#132, 
11221         bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, ind=^J, is2=\Ec, kbs=^H, 
11222         kf0=\EOP, kf1=\EOQ, kf2=\EOR, kf3=\EOS, 
11223
11224 # These aren't official
11225 ln03|dec ln03 laser printer, 
11226         hc, 
11227         cols#80, lines#66, 
11228         bel=^G, cr=^M, cud1=^J, hd=\EK, ht=^I, hu=\EL, ind=^J, nel=^M^J, 
11229         rmso=\E[22m, rmul=\E[24m, sgr0=\E[m, smso=\E[1m, 
11230         smul=\E[4m, 
11231 ln03-w|dec ln03 laser printer 132 cols, 
11232         cols#132, 
11233         bel=^G, cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, 
11234         kcud1=^J, nel=^M^J, 
11235         use=ln03, 
11236
11237 #### Delta Data (dd)
11238 #
11239
11240 # Untested. The cup sequence is hairy enough that it probably needs work.
11241 # The idea is ctrl(O), dd(row), dd(col), where dd(x) is x - 2*(x%16) + '9'.
11242 # There are BSD-derived termcap entries floating around for this puppy
11243 # that are *certainly* wrong.
11244 delta|dd5000|delta data 5000, 
11245         am, 
11246         cols#80, lines#27, 
11247         bel=^G, clear=^NR, cub1=^H, cud1=^J, cuf1=^Y, 
11248         cup=\017%p1%p1%{16}%m%{2}%*%-%'9'%+%c%p2%p2%{16}%m%{2}%*%-%'9'%+%c, 
11249         cuu1=^Z, dch1=^NV, el=^NU, home=^NQ, ind=^J, 
11250
11251 #### Digital Data Research (ddr)
11252 #
11253
11254 # (ddr: I added <rmam>/<smam> based on the init string -- esr)
11255 ddr|rebus3180|ddr3180|Rebus/DDR 3180 vt100 emulator, 
11256         am, xenl, 
11257         cols#80, it#8, lines#24, vt#3, 
11258         blink=\E[5m$<2/>, bold=\E[1m$<2/>, 
11259         clear=\E[H\E[2J$<50/>, csr=\E[%i%p1%d;%p2%dr, cub1=^H, 
11260         cud1=^J, cuf1=\E[C$<2/>, cup=\E[%i%p1%d;%p2%dH$<5/>, 
11261         cuu1=\E[A$<2/>, ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H, 
11262         ht=^I, ind=\ED$<5/>, is2=\E[1;24r\E[24;1H, kbs=^H, 
11263         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, 
11264         kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m$<2/>, 
11265         rf=/usr/share/tabset/vt100, ri=\EM$<5/>, rmam=\E[7l, 
11266         rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m$<2/>, 
11267         rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
11268         sgr0=\E[m$<2/>, smam=\E[7l, smkx=\E[?1h\E=, smso=\E[7m, 
11269         smul=\E[4m$<2/>, 
11270
11271 #### Evans & Sutherland
11272 #
11273
11274 # Jon Leech <leech@cs.unc.edu> tells us:
11275 # The ps300 was the Evans & Sutherland Picture System 300, a high
11276 # performance 3D vector graphics system with a bunch of specialized hardware.
11277 # Approximate date of release was 1982 (early 80s, anyway), and it had several
11278 # evolutions including (limited) color versions such as the PS330C. PS300s
11279 # were effectively obsolete by the late 80s, replaced by raster graphics
11280 # systems, although specialized applications like molecular modelling
11281 # hung onto them for a while longer.  AFAIK all E&S vector graphics systems
11282 # are out of production, though of course E&S is very much alive (in 1996).
11283 # (ps300: changed ":pt@:" to "it@" -- esr)
11284 #
11285 ps300|Picture System 300, 
11286         xt, 
11287         it@, 
11288         rmso@, rmul@, smso@, smul@, use=vt100, 
11289
11290 #### General Electric (ge)
11291 #
11292
11293 terminet1200|terminet300|tn1200|tn300|terminet|GE terminet 1200, 
11294         hc, os, 
11295         cols#120, 
11296         bel=^G, cr=^M, cud1=^J, ind=^J, 
11297
11298 #### Heathkit/Zenith
11299 #
11300
11301 # Here is a description of the H19 DIP switches:
11302 #
11303 # S401
11304 # 0-3 = baud rate as follows:
11305
11306 #         3       2       1       0
11307 #       ---     ---     ---     --- 
11308 #         0       0       1       1       300 baud
11309 #         0       1       0       1       1200 baud
11310 #         1       0       0       0       2400 baud
11311 #         1       0       1       0       4800 baud
11312 #         1       1       0       0       9600 baud
11313 #         1       1       0       1       19.2K baud
11314
11315 # 4 = parity (0 = no parity)
11316 # 5 = even parity (0 = odd parity)
11317 # 6 = stick parity (0 = normal parity)
11318 # 7 = full duplex (0 = half duplex)
11319
11320 # S402 
11321 # 0 = block cursor (0 = underscore cursor)
11322 # 1 = no key click (0 = keyclick)
11323 # 2 = wrap at end of line (0 = no wrap)
11324 # 3 = auto LF on CR (0 = no LF on CR)
11325 # 4 = auto CR on LF (0 = no CR on LF)
11326 # 5 = ANSI mode (0 = VT52 mode)
11327 # 6 = keypad shifted (0 = keypad unshifted)
11328 # 7 = 50Hz refresh (1 = 60Hz refresh)
11329
11330 # Factory Default settings are as follows:
11331 #          7 6 5 4 3 2 1 0
11332 # S401     1 0 0 0 1 1 0 0
11333 # S402     0 0 0 0 0 0 0 0
11334 # (h19: I added <rmam>/<smam> based on the init string;
11335 # also added empty <acsc> to suppress a tic warning -- esr)
11336 h19-a|h19a|heath-ansi|heathkit-a|heathkit h19 ansi mode, 
11337         am, mir, msgr, 
11338         cols#80, it#8, lines#24, 
11339         acsc=, bel=^G, clear=\E[2J, cnorm=\E[>4l, cr=^M, cub1=^H, 
11340         cud1=\E[1B, cuf1=\E[1C, cup=\E[%i%p1%d;%p2%dH, 
11341         cuu1=\E[1A, cvvis=\E[>4h, dch1=\E[1P, dl1=\E[1M$<1*>, 
11342         ed=\E[J, el=\E[K, home=\E[H, ht=^I, il1=\E[1L$<1*>, ind=^J, 
11343         is2=\E<\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m\E[?7h, 
11344         kbs=^H, kcub1=\E[1D, kcud1=\E[1B, kcuf1=\E[1C, kcuu1=\E[1A, 
11345         kf1=\EOS, kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW, kf6=\EOP, 
11346         kf7=\EOQ, kf8=\EOR, khome=\E[H, lf6=blue, lf7=red, lf8=white, 
11347         ri=\EM, rmacs=\E[11m, rmam=\E[?7l, rmir=\E[4l, rmso=\E[m, 
11348         smacs=\E[10m, smam=\E[?7h, smir=\E[4h, smso=\E[7m, 
11349 h19-bs|heathkit w/keypad shifted, 
11350         rmkx=\Eu, smkx=\Et, use=h19-b, 
11351 h19-smul|heathkit w/keypad shifted/underscore cursor, 
11352         rmkx=\Eu, smkx=\Et, 
11353         use=h19-u, 
11354 # (h19: merged in <ip> from BSDI hp19-e entry>;
11355 # also added empty <acsc> to suppress a tic warning --esr)
11356 h19|heath|h19-b|heathkit|heath-19|z19|zenith|heathkit h19, 
11357         am, eslok, hs, mir, msgr, 
11358         cols#80, it#8, lines#24, 
11359         acsc=, bel=^G, clear=\EE, cnorm=\Ey4, cr=^M, cub1=^H, cud1=\EB, 
11360         cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
11361         cvvis=\Ex4, dch1=\EN, dl1=\EM$<1*>, ed=\EJ, el=\EK, 
11362         fsl=\Ek\Ey5, home=\EH, ht=^I, il1=\EL$<1*>, ind=^J, 
11363         ip=<1.5/>, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
11364         kcuu1=\EA, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV, kf5=\EW, 
11365         kf6=\EP, kf7=\EQ, kf8=\ER, khome=\EH, lf6=blue, lf7=red, 
11366         lf8=white, ri=\EI, rmacs=\EG, rmir=\EO, rmso=\Eq, smacs=\EF, 
11367         smir=\E@, smso=\Ep, tsl=\Ej\Ex5\EY8%p1%{32}%+%c\Eo\Eo, 
11368 h19-u|heathkit with underscore cursor, 
11369         cnorm@, cvvis@, use=h19-b, 
11370 h19-us|h19us|heathkit w/keypad shifted/underscore cursor, 
11371         rmkx=\Eu, smkx=\Et, 
11372         use=h19-u, 
11373 h19-g|h19g|heathkit w/block cursor, 
11374         cnorm=\Ex4, use=h19-b, 
11375 alto-h19|altoh19|altoheath|alto-heath|alto emulating heathkit h19, 
11376         lines#60, 
11377         dl1=\EM, il1=\EL, use=h19, 
11378
11379 # The major problem with the Z29 is that it requires more padding than the Z19.
11380 #
11381 # The problem with declaring an H19 to be synonymous with a Z29 is that
11382 # it needs more padding. It especially loses if a program attempts
11383 # to put the Z29 into insert mode and insert text at 9600 baud. It
11384 # even loses worse if the program attempts to insert tabs at 9600
11385 # baud. Adding padding to text that is inserted loses because in 
11386 # order to make the Z29 not die, one must add so much padding that
11387 # whenever the program tries to use insert mode, the effective 
11388 # rate is about 110 baud.
11389
11390 # What program would want to put the terminal into insert mode 
11391 # and shove stuff at it at 9600 baud you ask?  
11392
11393 # Emacs. Emacs seems to want to do the mathematically optimal 
11394 # thing in doing a redisplay rather than the practical thing.
11395 # When it is about to output a line on top of a line that is 
11396 # already on the screen, instead of just killing to the end of 
11397 # the line and outputting the new line, it compares the old line 
11398 # and the new line and if there are any similarities, it 
11399 # constructs the new line by deleting the text on the old line 
11400 # on the terminal that is already there and then inserting new
11401 # text into the line to transform it into the new line that is 
11402 # to be displayed. The Z29 does not react kindly to this.
11403
11404 # But don't cry for too long.... There is a solution. You can make
11405 # a termcap entry for the Z29 that says the Z29 has no insert mode.
11406 # Then Emacs cannot use it. "Oh, no, but now inserting into a 
11407 # line will be really slow", you say. Well there is a sort of a
11408 # solution to that too. There is an insert character option on 
11409 # the Z29 that will insert one character. Unfortunately, it 
11410 # involves putting the terminal into ansi mode, inserting the 
11411 # character, and changing it back to H19 mode. All this takes 12 
11412 # characters. Pretty expensive to insert one character, but it 
11413 # works. Either Emacs doesn't try to use its inserting hack when 
11414 # it's only given an insert character ability or the Z29 doesn't 
11415 # require padding with this (the former is probably more likely, 
11416 # but I haven't checked it out).
11417 # (z29: added empty <acsc> to suppress a tic warning, merged in
11418 # status line capabilities from BRL entry --esr)
11419 z29|zenith29|z29b|zenith z29b, 
11420         am, eslok, hs, mir, msgr, 
11421         cols#80, lines#24, 
11422         acsc=, bel=^G, cbt=\E-, clear=\EE$<14>, cnorm=\Ey4, cr=^M, 
11423         cub1=^H, cud1=\EB, cuf1=\EC, 
11424         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E$<1>A, 
11425         cvvis=\Ex4, dch1=\EN$<0.1*>, dl1=\EM$<1/>, dsl=\Ey1, 
11426         ed=\EJ$<14>, el=\EK$<1>, fsl=\Ek\Ey5, home=\EH, ht=^I, 
11427         ich1=\E<\E[1@\E[?2h$<1>, il1=\EL$<1/>, ind=\n$<2>, 
11428         is2=\E<\E[?2h\Ev, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
11429         kcuu1=\EA, kf0=\E~, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV, 
11430         kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\E0I, khome=\EH, 
11431         lf0=home, ri=\EI$<2/>, rmacs=\EF, rmir=\EO, rmso=\Eq, 
11432         rmul=\Es0, smacs=\EG, smir=\E@, smso=\Ep, smul=\Es8, 
11433         tsl=\Ej\Ex5\Ex1\EY8%+ \Eo, 
11434 # z29 in ansi mode. Assumes that the cursor is in the correct state, and that
11435 # the world is stable. <rs1> causes the terminal to be reset to the state
11436 # indicated by the name. kc -> key click, nkc -> no key click, uc -> underscore
11437 # cursor, bc -> block cursor.
11438 # From: Mike Meyers
11439 # (z29a: replaced nonexistent <if=/usr/share/tabset/zenith29> befause <hts>
11440 # looks vt100-compatible -- esr)
11441 z29a|z29a-kc-bc|h29a-kc-bc|heath/zenith 29 in ansi mode, 
11442         am, eslok, hs, mir, msgr, 
11443         cols#80, it#8, lines#24, 
11444         bel=^G, blink=\E[5m, bold=\E[2m, clear=\E[2J, cr=^M, 
11445         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
11446         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
11447         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
11448         dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m, dl=\E[%p1%dM, 
11449         dsl=\E[>1l, ed=\E[J, el=\E[K, fsl=\E[u\E[>5l, home=\E[H, 
11450         ht=^I, hts=\EH, if=/usr/share/tabset/vt100, il=\E[%p1%dL, 
11451         ind=\ED, kbs=^H, kclr=\E[J, kcub1=\EOD, kcud1=\EOB, 
11452         kcuf1=\EOC, kcuu1=\EOA, ked=\E[J, kf0=\E[~, kf1=\EOS, 
11453         kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW, kf6=\EOP, kf7=\EOQ, 
11454         kf8=\EOR, kf9=\EOX, khome=\E[H, lf0=help, mc0=\E#7, 
11455         nel=^M\ED, rc=\E[r, rev=\E[7m, ri=\EM, rmcup=\E[?7h, 
11456         rmso=\E[m, rmul=\E[m, 
11457         rs1=\E<\E[1;24r\E[24;1H\E[?7h\E[>4h\E[>1;2;3;5;6;7;8;9l\E[m\E[11m, 
11458         sc=\E[s, sgr0=\E[m, smcup=\E[?7l, smso=\E[7;2m, smul=\E[4m, 
11459         tbc=\E[3g, tsl=\E[s\E[>5;1h\E[25;%i%dH\E[1K, 
11460 z29a-kc-uc|h29a-kc-uc|z29 ansi mode with keyckick and underscore cursor, 
11461         rs1=\E<\E[1;24r\E[24;1H\E[?7h\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m, 
11462         use=z29a, 
11463 z29a-nkc-bc|h29a-nkc-bc|z29 ansi mode with block cursor and no keyclick, 
11464         rs1=\E<\E[1;24r\E[24;1H\E[?7h\E[>2;4h\E[>1;3;5;6;7;8;9l\E[m\E[11m, 
11465         use=z29a, 
11466 z29a-nkc-uc|h29a-nkc-uc|z29 ansi mode with underscore cursor and no keyclick, 
11467         rs1=\E<\E[1;24r\E[24;1H\E[?7h\E[>2h\E[>1;3;4;5;6;7;8;9l\E[m\E[11m, 
11468         use=z29a, 
11469 # From: Jeff Bartig <jeffb@dont.doit.wisc.edu> 31 Mar 1995
11470 z39-a|z39a|zenith39-a|zenith39-ansi|Zenith 39 in ANSI mode, 
11471         am, eslok, hs, mc5i, mir, msgr, xon, 
11472         cols#80, lines#24, 
11473         acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~0a, bel=^G, 
11474         blink=\E[5m, bold=\E[1m, cbt=\E[1Z, civis=\E[>5h, 
11475         clear=\E[2J\E[H, cnorm=\E[>5l, cr=^M, 
11476         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
11477         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
11478         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
11479         dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m, dl=\E[%p1%dM, 
11480         dl1=\E[1M, dsl=\E[>1l, ed=\E[0J, el=\E[0K, el1=\E[1K, 
11481         fsl=\E[u, home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[1L, 
11482         ind=^J, is2=\E<\E[>1;3;5;6;7l\E[0m\E[2J, ka1=\EOw, 
11483         ka3=\EOu, kb2=\EOy, kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\E[D, 
11484         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, ked=\E[J, kf1=\EOS, 
11485         kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW, kf6=\EOP, kf7=\EOQ, 
11486         kf8=\EOR, kf9=\EOX, khlp=\E[~, khome=\E[H, ll=\E[24;1H, 
11487         mc0=\E[?19h\E[i, mc4=\E[4i, mc5=\E[5i, rc=\E[u, rev=\E[7m, 
11488         rmacs=\E(B, rmir=\E[4l, rmkx=\E[>7l, rmso=\E[0m, 
11489         rmul=\E[0m, rs2=\E<\Ec\200, sc=\E[s, sgr0=\E[0m, 
11490         smacs=\E(0, smir=\E[4h, smkx=\E[>7h, smso=\E[7m, 
11491         smul=\E[4m, tbc=\E[3g, tsl=\E[s\E[>1h\E[25;%i%p1%dH, 
11492
11493 # From: Brad Brahms <Brahms@USC-ECLC>
11494 z100|h100|z110|z-100|h-100|heath/zenith z-100 pc with color monitor, 
11495         cnorm=\Ey4\Em70, cvvis=\Ex4\Em71, 
11496         use=z100bw, 
11497 # (z100bw: removed obsolete ":kn#10:", added empty <acsc> -- esr)
11498 z100bw|h100bw|z110bw|z-100bw|h-100bw|heath/zenith z-100 pc, 
11499         mir, msgr, 
11500         cols#80, it#8, lines#24, 
11501         acsc=, clear=\EE$<5*/>, cnorm=\Ey4, cub1=^H, cud1=\EB, 
11502         cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<1*/>, 
11503         cuu1=\EA, cvvis=\Ex4, dch1=\EN$<1*/>, dl1=\EM$<5*/>, 
11504         ed=\EJ, el=\EK, home=\EH, ht=^I, il1=\EL$<5*/>, kbs=^H, 
11505         kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf0=\EJ, kf1=\ES, 
11506         kf2=\ET, kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, 
11507         kf9=\EOI, khome=\EH, ri=\EI, rmacs=\EG, rmir=\EO, rmso=\Eq, 
11508         smacs=\EF, smir=\E@, smso=\Ep, 
11509 p19|h19-b with il1/dl1, 
11510         dl1=\EM$<2*/>, il1=\EL$<2*/>, use=h19-b, 
11511 # From: <ucscc!B.fiatlux@ucbvax.berkeley.edu>
11512 # (ztx: removed duplicate :sr: -- esr)
11513 ztx|ztx11|zt-1|htx11|ztx-1-a|ztx-10 or 11, 
11514         am, eslok, hs, 
11515         cols#80, it#8, lines#24, 
11516         clear=\EE, cub1=^H, cud1=^J, cuf1=\EC, 
11517         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM, 
11518         dsl=\Ey1, ed=\EJ, el=\EK, fsl=\Ek\Ey5, home=\EH, ht=^I, 
11519         il1=\EL, is2=\Ej\EH\Eq\Ek\Ev\Ey1\Ey5\EG\Ey8\Ey9\Ey>, 
11520         kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf0=\ES, 
11521         kf1=\EB, kf2=\EU, kf3=\EV, kf4=\EW, kf5=\EP, kf6=\EQ, kf7=\ER, 
11522         ri=\EI, rmso=\Eq, rmul=\Eq, smso=\Es5, smul=\Es2, 
11523         tsl=\Ej\Ex5\Ex1\EY8%+ \Eo, 
11524
11525 #### IMS International (ims)
11526 #
11527 # There was a company called IMS International located in Carson City, 
11528 # Nevada, that flourished from the mid-70s to mid-80s.  They made S-100
11529 # bus/Z80 hardware and a line of terminals called Ultimas.  
11530 #
11531
11532 # From: Erik Fair <fair@ucbarpa.berkeley.edu>  Sun Oct 27 07:21:05 1985
11533 ims950-b|bare ims950 no init string, 
11534         is2@, use=ims950, 
11535 # (ims950: removed obsolete ":ko@:" -- esr)
11536 ims950|ims televideo 950 emulation, 
11537         xenl@, 
11538         flash@, kbs@, kcub1@, kcud1@, kcuf1@, kcuu1@, kf0@, kf1@, kf2@, kf3@, 
11539         kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, khome@, 
11540         use=tvi950, 
11541 # (ims950-rv: removed obsolete ":ko@:" -- esr)
11542 ims950-rv|ims tvi950 rev video, 
11543         xenl@, 
11544         flash@, kbs@, kcub1@, kcud1@, kcuf1@, kcuu1@, kf0@, kf1@, kf2@, kf3@, 
11545         kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, khome@, 
11546         use=tvi950-rv, 
11547 ims-ansi|ultima2|ultimaII|IMS Ultima II, 
11548         am, 
11549         cols#80, it#8, lines#24, 
11550         clear=\E[H\E[2J, cub1=^H, cud1=\ED, 
11551         cup=\E[%i%p1%2d;%p2%2dH, cuu1=\EM, ed=\E[0J, el=\E[0K, 
11552         ht=^I, if=/usr/share/tabset/vt100, 
11553         is2=\E[m\E[>14l\E[?1;?5;20l\E>\E[1m\r, kcub1=\E[D, 
11554         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, ri=\EM, 
11555         rmso=\E[m\E[1m, rmul=\E[m\E[1m, sgr0=\E[m, smso=\E[7m, 
11556         smul=\E[4m, 
11557
11558 #### Intertec Data Systems
11559 #
11560 # I think this company is long dead as of 1995.  They made an early CP/M
11561 # micro called the "Intertec Superbrain" that was moderately popular,
11562 # then sank out of sight.
11563 #
11564
11565 superbrain|intertec superbrain, 
11566         am, bw, 
11567         cols#80, lines#24, 
11568         bel=^G, clear=\014$<5*>, cr=^M, cub1=^H, cud1=^J, cuf1=^F, 
11569         cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<20>, cuu1=^K, 
11570         ed=\E~k<10*>, el=\E~K$<15>, ht=^I, ind=^J, kcub1=^U, 
11571         kcud1=^J, kcuf1=^F, kcuu1=^K, rmcup=^L, smcup=^L, 
11572 # (intertube: a Gould entry via BRL asserted smul=\E0@$<200/>, 
11573 # rmul=\E0A$<200/>; my guess is the highlight letter is bit-coded like an ADM,
11574 # and the reverse is actually true.  Try it. -- esr)
11575 intertube|intertec|Intertec InterTube, 
11576         am, 
11577         cols#80, lines#25, 
11578         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F, 
11579         cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<50>, cuu1=^Z, home=^A, 
11580         ind=^J, rmso=\E0@, smso=\E0P, 
11581 # The intertube 2 has the "full duplex" problem like the tek 4025: if you
11582 # are typing and a command comes in, the keystrokes you type get interspersed
11583 # with the command and it messes up
11584 intertube2|intertec data systems intertube 2, 
11585         cup=\016%p1%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%c, 
11586         el=\EK, hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%c, 
11587         ll=^K^X\r, vpa=\013%p1%c, 
11588         use=intertube, 
11589
11590 #### Ithaca Intersystems
11591 #
11592 # This company made S100-bus personal computers long ago in the pre-IBM-PC
11593 # past.  They used to be reachable at:
11594 #
11595 #       Ithaca Intersystems
11596 #       1650 Hanshaw Road
11597 #       Ithaca, New York 14850
11598 #
11599 # However, the outfit went bankrupt years ago.
11600 #
11601
11602 # The Graphos III was a color graphics terminal from Ithaca Intersystems.
11603 # These entries were written (originally in termcap syntax) by Brian Yandell 
11604 # <yandell@stat.wisc.edu> and Mike Meyer <mikem@stat.wisc.edu> at the 
11605 # University of Wisconsin.
11606
11607 # (graphos: removed obsolete and syntactically incorrect :kn=4:, 
11608 # removed <if=/usr/share/tabset/init.graphos> and 
11609 # <rf=/usr/share/tabset/init.graphos> no such file & no <hts> -- esr)
11610 graphos|graphos III, 
11611         am, mir, 
11612         cols#80, it#8, lines#24, 
11613         clear=\E[H\E[2J, cnorm=\Ez56;2;0;0z\Ez73z\Ez4;1;1z, 
11614         cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, 
11615         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
11616         cuu=\E[%p1%dA, cuu1=\E[A, 
11617         cvvis=\Ez4;2;1z\Ez56;2;80;24z, dch1=\E[P, dl=\E[%p1%dM, 
11618         dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL, 
11619         il1=\E[L, ind=\ED, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
11620         kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, 
11621         kf4=\EOS, khome=\E[H, nel=^M\ED, rc=\E8, ri=\EM, rmdc=\E[4l, 
11622         rmir=\E[4l, rmso=\E[m, sc=\E7, sgr0=\E[m, smdc=\E[4h, 
11623         smir=\E[4h, smso=\E[7m, 
11624 graphos-30|graphos III with 30 lines, 
11625         lines#30, 
11626         cvvis=\Ez4;2;1z\Ez56;2;80;30z, use=graphos, 
11627
11628 #### Modgraph
11629 #
11630 # These people used to be reachable at:
11631 #
11632 #       Modgraph, Inc
11633 #       1393 Main Street,
11634 #       Waltham, MA 02154
11635 #       Vox: (617)-890-5796.
11636 #
11637 # However, if you call that number today you'll get an insurance company.
11638 # I think Modgraph is long gone.
11639 #
11640
11641 modgraph|mod24|modgraph terminal emulating vt100, 
11642         xenl@, 
11643         cols#80, lines#24, 
11644         cvvis=\E\^9;0s\E\^7;1s, 
11645         is2=\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, 
11646         rf@, ri=\EM\E[K$<5/>, 
11647         use=vt100, 
11648 # The GX-1000 manual is dated 1984.  This looks rather like a VT-52.
11649 modgraph2|modgraph gx-1000 80x24 with keypad not enabled, 
11650         am, da, db, 
11651         cols#80, it#8, lines#24, 
11652         clear=\EH\EJ$<50/>, cub1=^H, cuf1=\EC$<2/>, 
11653         cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<5/>, cuu1=\EA$<2/>, 
11654         ed=\EJ$<50/>, el=\EK$<3/>, ht=^I, 
11655         is2=\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, 
11656         ri=\EI$<5/>, 
11657 #
11658 # Modgraph from Nancy L. Cider <nancyc@brl-tbd>
11659 # BUG NOTE from Barbara E. Ringers <barb@brl-tbd>:
11660 # If we set TERM=vt100, and set the Modgraph screen to 24 lines, setting a
11661 # mark and using delete-to-killbuffer work correctly.  However, we would
11662 # like normal mode of operation to be using a Modgraph with 48 line setting.
11663 # If we set TERM=mod (which is a valid entry in termcap with 48 lines)
11664 # the setting mark and delete-to-killbuffer results in the deletion of only
11665 # the line the mark is set on.
11666 # We've discovered that the delete-to-killbuffer works correctly
11667 # with TERM=mod and screen set to 80x48 but it's not obvious.  Only
11668 # the first line disappears but a ctrl-l shows that it did work
11669 # correctly.
11670 modgraph48|mod|Modgraph w/48 lines, 
11671         am, xenl, 
11672         cols#80, it#8, lines#48, vt#3, 
11673         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[;H\E[2J, cr=^M, 
11674         csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C, 
11675         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
11676         flash=\E[?5h\E[0q\E[1;2q\E[?5l\E[0q\E[4;3q, 
11677         home=\E[H, ht=^I, is2=\E<\E[1;48r\E[0q\E[3;4q\E=\E[?1h, 
11678         kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
11679         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m, 
11680         ri=\EM, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
11681         rs1=\E=\E[0q\E>, sc=\E7, sgr0=\E[m, smkx=\E[?1h\E=, 
11682         smso=\E[7m, smul=\E[4m, 
11683
11684 #### Morrow Designs
11685
11686 # This was George Morrow's company.  They started in the late 1970s making
11687 # S100-bus machines.  They used to be reachable at:
11688 #
11689 #        Morrow
11690 #        600 McCormick St.
11691 #        San Leandro, CA 94577
11692 #
11693 # but they're long gone now (1995).
11694 #
11695
11696 # The mt70 terminal was shipped with the Morrow MD-3 microcomputer. 
11697 # Jeff's specimen was dated June 1984.
11698 # From: Jeff Wieland <wieland@acn.purdue.edu> 24 Feb 1995
11699 mt70|mt-70|Morrow MD-70; native Morrow mode, 
11700         am, mir, msgr, xon, 
11701         cols#80, it#8, lines#24, 
11702         acsc=+z\,{.yOi-x`|jGkFlEmDnHtLuKvNwMxIqJ, bel=^G, 
11703         cbt=\EI, civis=\E"0, clear=^Z, cnorm=\E"2, cr=^M, cub1=^H, 
11704         cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<1>, 
11705         cuu1=^K, dch1=\EW, dim=\EG2, dl1=\ER, ed=\EY, el=\ET$<10>, 
11706         flash=\EK1$<200>\EK0, home=^^, ht=^I, ich1=\EQ, il1=\EE, 
11707         ind=^J, invis@, is1=\E"2\EG0\E], kbs=^H, kcbt=^A^Z\r, 
11708         kclr=^An\r, kcub1=^AL\r, kcud1=^AK\r, kcuf1=^AM\r, 
11709         kcuu1=^AJ\r, kdch1=\177, kf1=^A@\r, kf10=^AI\r, kf11=^A`\r, 
11710         kf12=^Aa\r, kf13=^Ab\r, kf14=^Ac\r, kf15=^Ad\r, kf16=^Ae\r, 
11711         kf17=^Af\r, kf18=^Ag\r, kf19=^Ah\r, kf2=^AA\r, kf20=^Ai\r, 
11712         kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
11713         kf8=^AG\r, kf9=^AH\r, khlp=^AO\r, khome=^AN\r, nel=^_, 
11714         rmacs=\E%, rmcup=, smacs=\E$, smcup=\E"2\EG0\E], smul=\EG1, 
11715         tbc=\E0, 
11716         use=adm+sgr, 
11717
11718 #### Motorola
11719 #
11720
11721 # Motorola EXORterm 155 from {decvax, ihnp4}!philabs!sbcs!megad!seth via BRL
11722 # (Seth H Zirin)
11723 ex155|Motorola Exorterm 155, 
11724         am, bw, 
11725         cols#80, lines#24, 
11726         cbt=\E[, clear=\EX, cud1=\EB, cuf1=\ED, 
11727         cup=\EE%p1%{32}%+%c%p2%{32}%+%c, ed=\ET, el=\EU, 
11728         home=\E@, ht=\EZ, kbs=^H, kcbt=\E[, kclr=\EX, kcub1=^H, 
11729         kcud1=^J, kcuf1=^L, kcuu1=^K, ked=\ET, kel=\EU, khome=\E@, 
11730         rmso=\Ec\ED, rmul=\Eg\ED, smso=\Eb\ED, smul=\Ef\ED, 
11731
11732 #### Omron
11733 #
11734 # This company is still around in 1995, manufacturing point-of-sale systems.
11735
11736 omron|Omron 8025AG, 
11737         am, da, db, 
11738         cols#80, lines#24, 
11739         bel=^G, clear=\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, cuu1=\EA, 
11740         cvvis=\EN, dch1=\EP, dl1=\EM, ed=\ER, el=\EK, home=\EH, 
11741         il1=\EL, ind=\ES, ri=\ET, rmso=\E4, smso=\Ef, 
11742
11743 #### Ramtek
11744 #
11745 # Ramtek was a vendor of high-end graphics terminals around 1979-1983; they
11746 # were competition for things like the Tektronics 4025.
11747 #
11748
11749 # Ramtek 6221 from BRL, probably by Doug Gwyn
11750 # The following SET-UP modes are assumed for normal operation:
11751 #       UNDERLINE_CURSOR        ANSI_MODE       AUTO_XON/XOFF_ON
11752 #       NEWLINE_OFF             80_COLUMNS
11753 # Other SET-UP modes may be set for operator convenience or communication
11754 # requirements; I recommend
11755 #       SMOOTH_SCROLL   AUTO_REPEAT_ON  3_#_SHIFTED     WRAP_AROUND_ON
11756 # Hardware tabs are assumed to be every 8 columns; they can be set up by the
11757 # "reset", "tset", or "tabs" utilities (use rt6221-w, 160 columns, for this).
11758 # Note that the Control-E key is useless on this brain-damaged terminal.  No
11759 # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
11760 rt6221|Ramtek 6221, 80x24, 
11761         msgr, xon, 
11762         cols#80, it#8, lines#24, vt#3, 
11763         acsc=, bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[>5l, 
11764         clear=\E[1;1H\E[J, cnorm=\E[>5h\E[>9h, cr=^M, 
11765         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
11766         cud=\E[%p1%dB, cud1=^K, cuf=\E[%p1%dC, cuf1=\E[C, 
11767         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM, 
11768         cvvis=\E[>7h\E[>9l, ed=\E[J, el=\E[K, home=\E[1;1H, ht=^I, 
11769         hts=\EH, ind=^J, is2=\E)0, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
11770         kcuf1=\E[C, kcuu1=\E[A, kf0=\EOP, kf1=\EOQ, kf2=\EOR, 
11771         kf3=\EOS, lf0=PF1, lf1=PF2, lf2=PF3, lf3=PF4, ll=\E[24;1H, 
11772         nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, rmkx=\E>, 
11773         rmso=\E[m, rmul=\E[m, 
11774         rs1=\E[1w\E[>37m\E[>39m\E[1v\E[20l\E[?3l\E[?6l\E[>5h\E[>6h\E[>7h\E[>8l\E[>9h\E[>10l\E[1;24r\E[m\E[q\E(B\017\E)0\E#5\E>, 
11775         sc=\E7, sgr0=\E[m, smacs=^N, smkx=\E=, smso=\E[7m, 
11776         smul=\E[4m, tbc=\E[3g, 
11777 # [TO DO: Check out: short forms of ho/cl and ll; reset (\Ec)].
11778 rt6221-w|Ramtek 6221, 160x48, 
11779         cols#160, lines#48, 
11780         ll=\E[48;1H, use=rt6221, 
11781
11782 #### RCA
11783 #
11784
11785 # RCA VP3301 or VP3501
11786 rca|rca vp3301/vp3501, 
11787         cols#40, lines#24, 
11788         clear=^L, cuf1=^U, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
11789         cuu1=^K, home=^Z, rmso=\E\ES0, smso=\E\ES1, 
11790
11791
11792 #### Selanar
11793 #
11794
11795 # Selanar HiREZ-100 from BRL, probably by Doug Gwyn
11796 # The following SET-UP modes are assumed for normal operation:
11797 #       SET_DEFAULT_TABS        48_LINES                80_COLUMNS
11798 #       ONLINE                  ANSI                    CURSOR_VISIBLE
11799 #       VT102_AUTO_WRAP_ON      VT102_NEWLINE_OFF       VT102_MONITOR_MODE_OFF
11800 #       LOCAL_ECHO_OFF          US_CHAR_SET             WPS_TERMINAL_DISABLED
11801 #       CPU_AUTO_XON/XOFF_ENABLED                       PRINT_FULL_SCREEN
11802 # For use with graphics software, all graphics modes should be set to factory
11803 # default.  Other SET-UP modes may be set for operator convenience or
11804 # communication requirements.  No delays are specified; use "stty ixon -ixany"
11805 # to enable DC3/DC1 flow control!
11806 # I commented out the scrolling capabilities since they are too slow.
11807 hirez100|Selanar HiREZ-100, 
11808         mir, msgr, xon, 
11809         cols#80, it#8, lines#48, vt#3, 
11810         acsc=, bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, 
11811         cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
11812         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
11813         cuu=\E[%p1%dA, cuu1=\EM, dch=\E[%p1%dP, dch1=\E[P, 
11814         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
11815         hts=\EH, il=\E[%p1%dL, il1=\E[L, is2=\E<\E)0, kbs=^H, 
11816         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOP, 
11817         kf1=\EOQ, kf2=\EOR, kf3=\EOS, lf0=PF1, lf1=PF2, lf2=PF3, 
11818         lf3=PF4, ll=\E[48H, mc0=\E[i, mc4=\E[4i\E[?4i, 
11819         mc5=\E[?5i\E[5i, nel=\EE, rc=\E8, rev=\E[7m, rmacs=^O, 
11820         rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
11821         rs1=\030\E2\E<\E[4i\E[?4i\E[12h\E[2;4;20l\E[?0;7h\E[?1;3;6;19l\E[r\E[m\E(B\017\E)0\E>, 
11822         sc=\E7, sgr0=\E[m, smacs=^N, smkx=\E[?1h\E=, smso=\E[7m, 
11823         smul=\E[4m, tbc=\E[3g, 
11824 hirez100-w|Selanar HiREZ-100 in 132-column mode, 
11825         cols#132, use=hirez100, 
11826
11827 #### Signetics
11828 #
11829
11830 # From University of Wisconsin
11831 vsc|Signetics Vsc Video driver by RMC, 
11832         am, msgr, 
11833         cols#80, it#8, lines#26, 
11834         clear=\E[;H\E[2J$<50/>, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
11835         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H, 
11836         ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rev=^_\s, 
11837         rmso=^_!, rmul=^_#, sgr0=^_!, smso=^_\s, smul=^_", 
11838
11839 #### Soroc
11840 #
11841 # Alan Frisbie <frisbie@flying-disk.com> writes:
11842 #
11843 # As you may recall, the Soroc logo consisted of their name,
11844 # with the letter "S" superimposed over an odd design.   This
11845 # consisted of a circle with a slightly smaller 15 degree (approx.)
11846 # wedge with rounded corners inside it.   The color was sort of
11847 # a metallic gold/yellow.
11848
11849 # If I had been more of a beer drinker it might have been obvious
11850 # to me, but it took a clue from their service department to make
11851 # me exclaim, "Of course!"   The circular object was the top of
11852 # a beer can (the old removable pop-top style) and "Soroc" was an
11853 # anagram for "Coors".
11854
11855 # I can just imagine the founders of the company sitting around
11856 # one evening, tossing back a few and trying to decide what to
11857 # call their new company and what to use for a logo.
11858
11859
11860 # (soroc120: removed obsolete ":ma=^K^P^R^L^L :" -- esr)
11861 soroc120|iq120|soroc|soroc iq120, 
11862         clear=\E*$<2>, cud1=^J, ed=\EY, el=\ET, kcub1=^H, kcud1=^J, 
11863         kcuf1=^L, kcuu1=^K, 
11864         use=adm3a, 
11865 soroc140|iq140|soroc iq140, 
11866         am, mir, 
11867         cols#80, lines#24, 
11868         bel=^G, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
11869         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\Ew, 
11870         dl1=\Er$<.7*>, ed=\Ey, el=\Et, home=^^, il1=\Ee$<1*>, ind=^J, 
11871         kbs=^H, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A@\r, kf2=^AA\r, 
11872         kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
11873         kf8=^AG\r, kf9=^AH\r, khome=^^, ll=^^^K, rmir=\E8, 
11874         rmso=\E\177, rmul=\E^A, smir=\E9, smso=\E\177, smul=\E^A, 
11875
11876 #### Southwest Technical Products
11877 #
11878 # These guys made an early personal micro called the M6800.  
11879 # The ct82 was probably its console terminal.
11880 #
11881
11882 # (swtp: removed obsolete ":bc=^D:" -- esr)
11883 swtp|ct82|southwest technical products ct82, 
11884         am, 
11885         cols#82, lines#20, 
11886         bel=^G, clear=^L, cr=^M, cub1=^D, cud1=^J, cuf1=^S, 
11887         cup=\013%p2%c%p1%c, cuu1=^A, dch1=^\^H, dl1=^Z, ed=^V, el=^F, 
11888         home=^P, ich1=^\^X, il1=^\^Y, ind=^N, 
11889         is2=\034\022\036\023\036\004\035\027\011\023\036\035\036\017\035\027\022\011, 
11890         ll=^C, ri=^O, rmso=^^^F, smso=^^^V, 
11891
11892 #### Synertek
11893 #
11894 # Bob Manson <manson@pattyr.acs.ohio-state.edu> writes (28 Apr 1995):
11895 #
11896 # Synertek used to make ICs, various 6502-based single-board process
11897 # control and hobbyist computers, and assorted peripherals including a
11898 # series of small inexpensive terminals (I think they were one of the
11899 # first to have a "terminal-on-a-keyboard", where the terminal itself
11900 # was only slightly larger than the keyboard).
11901 #
11902 # They apparently had a KTM-1 model, which I've never seen. The KTM-2/40
11903 # was a 40x24 terminal that could connect to a standard TV through a
11904 # video modulator.  The KTM-2/80 was the 80-column version (the 2/40
11905 # could be upgraded to the 2/80 by adding 2 2114 SRAMs and a new ROM).
11906 # I have a KTM-2/80 still in working order.  The KTM-2s had fully
11907 # socketed parts, used 2 6507s, a 6532 as keyboard scanner, a program
11908 # ROM and 2 ROMs as character generators. They were incredibly simple,
11909 # and I've never had any problems with mine (witness the fact that mine
11910 # was made in 1981 and is still working great... I've blown the video
11911 # output transistor a couple of times, but it's a 2N2222 :-)
11912 #
11913 # The KTM-3 (which is what is listed in the terminfo file) was their
11914 # attempt at putting a KTM-2 in a box (and some models came with a
11915 # CRT). It wasn't much different from the KTM-2 hardware-wise, but the
11916 # control and escape sequences are very different. The KTM-3 was always
11917 # real broken, at least according to the folks I've talked to about it.
11918
11919 # The padding in the entry is probably off--these terminals were very
11920 # slow (it takes like 100ms for the KTM-2 to clear the screen...) And
11921 # anyone with any sanity replaced the ROMs with something that provided
11922 # a reasonable subset of VT100 functionality, since the usual ROMs were
11923 # obviously very primitive... oh, you could get an upgraded ROM from
11924 # Synertek for some incredible amount of money, but what hacker with an
11925 # EPROM burner would do that? :)
11926
11927 # Sorry I don't have any contact info; I believe they were located in
11928 # Sunnyvale, and I'm fairly sure they are still manufacturing ICs
11929 # (they've gone to ASICs and FPGAs), but I doubt they're in the computer
11930 # business these days.
11931 #
11932
11933 # Tested, seems to work fine with vi.
11934 synertek|ktm|synertek380|synertek ktm 3/80 tubeless terminal, 
11935         am, 
11936         cols#80, lines#24, 
11937         clear=^Z, cub1=^H, cuf1=^L, 
11938         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EJ, el=\EK, 
11939
11940 #### Tab Office Products
11941 #
11942 #       TAB Products Co. - Palo Alto, California
11943 #       Electronic Office Products,
11944 #       1451 California Avenue 94304
11945 #
11946 # I think they're out of business.
11947 #
11948
11949 # The tab 132 uses xon/xoff, so no padding needed.
11950 # <smkx>/<rmkx> have nothing to do with arrow keys.
11951 # <is2> sets 80 col mode, normal video, autowrap on (for <am>).
11952 # Seems to be no way to get rid of status line.
11953 # The manual for this puppy was dated June 1981.  It claims to be VT52-
11954 # compatible but looks more vt100-like.
11955 tab132|tab|tab132-15|tab 132/15, 
11956         da, db, 
11957         cols#80, lines#24, lm#96, 
11958         cud1=^J, cup=\E[%i%p1%d;%p2%dH, dch1=\E[P, dl1=\E[M, 
11959         il1=\E[L, is2=\E[?7h\E[?3l\E[?5l, kcub1=\E[D, kcud1=\E[B, 
11960         kcuu1=\E[A, rmir=\E[4l, rmkx@, smir=\E[4h, smkx@, 
11961         use=vt100, 
11962 tab132-w|tab132 in wide mode, 
11963         cols#132, 
11964         is2=\E[?7h\E[?3h\E[?5l, use=tab132, 
11965 tab132-rv|tab132 in reverse-video mode, 
11966         is2=\E[?7h\E[?3l\E[?5h, use=tab132, 
11967 tab132-w-rv|tab132 in reverse-video/wide mode, 
11968         is2=\E[?7h\E[?3h\E[?5h, 
11969         use=tab132-w, 
11970
11971
11972 #### Teleray
11973 #
11974 #       Research Incorporated
11975 #       6425 Flying Cloud Drive
11976 #       Eden Prairie, MN 55344
11977 #       Vox: (612)-941-3300
11978 #
11979 # The Teleray terminals were all discontinued in 1992-93.  RI still services
11980 # and repairs these beasts, but no longer manufactures them.  The Teleray
11981 # people believe that all the types listed below are very rare now (1995).
11982 # There was a newer line of Telerays (Model 7, Model 20, Model 30, and
11983 # Model 100) that were ANSI-compatible.
11984 #
11985 # Note two things called "teleray".  Reorder should move the common one
11986 # to the front if you have either.  A dumb teleray with the cursor stuck
11987 # on the bottom and no obvious model number is probably a 3700.
11988 #
11989
11990 t3700|dumb teleray 3700, 
11991         cols#80, lines#24, 
11992         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, ind=^J, 
11993 t3800|teleray 3800 series, 
11994         cols#80, it#8, lines#24, 
11995         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
11996         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EJ, el=\EK, 
11997         home=\EH, ht=^I, ind=^J, ll=\EY7\s, 
11998 t1061|teleray|teleray 1061, 
11999         am, km, xhp, xt, 
12000         cols#80, it#8, lines#24, xmc#1, 
12001         bel=^G, clear=\014$<1>, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
12002         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ, 
12003         dl1=\EM$<2*>, ed=\EJ$<1>, el=\EK, home=\EH, ht=^I, hts=\EF, 
12004         ich1=\EP, il1=\EL$<2*>, ind=^J, ip=$<0.4*>, 
12005         is2=\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, 
12006         kf1=^Z1, kf2=^Z2, kf3=^Z3, kf4=^Z4, kf5=^Z5, kf6=^Z6, kf7=^Z7, 
12007         kf8=^Z8, rmso=\ER@, rmul=\ER@, smso=\s\ERD, smul=\ERH, 
12008         tbc=\EG, 
12009 t1061f|teleray 1061 with fast PROMs, 
12010         dl1=\EM, il1=\EL, ip@, use=t1061, 
12011 # "Teleray Arpa Special", officially designated as
12012 # "Teleray Arpa network model 10" with "Special feature 720".
12013 # This is the new (1981) fast microcode updating the older "arpa" proms
12014 # (which gave meta-key and programmable-fxn keys).  720 is much much faster,
12015 # converts the keypad to programmable function keys, and has other goodies.
12016 # Standout mode is still broken (magic cookie, etc) so is suppressed as no
12017 # programs handle such lossage properly.
12018 # Note: this is NOT the old termcap's "t1061f with fast proms."
12019 # From: J. Lepreau <lepreau@utah-cs> Tue Feb  1 06:39:37 1983, Univ of Utah
12020 # (t10: removed overridden ":so@:se@:us@:ue@:" -- esr)
12021 t10|teleray 10 special, 
12022         km, xhp, xt, 
12023         cols#80, it#8, lines#24, xmc#2, 
12024         clear=\Ej$<30/>, cub1=^H, cuf1=\EC, 
12025         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ, 
12026         dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EP, il1=\EL, 
12027         ind=\Eq, pad=\200, ri=\Ep, rmso=\ER@, rmul=\ER@, smso=\ERD, 
12028         smul=\ERH, 
12029 # teleray 16 - map the arrow keys for vi/rogue, shifted to up/down page, and
12030 # back/forth words. Put the function keys (f1-f10) where they can be
12031 # found, and turn off the other magic keys along the top row, except
12032 # for line/local. Do the magic appropriate to make the page shifts work.
12033 # Also toggle ^S/^Q for those of us who use Emacs.
12034 t16|teleray 16, 
12035         am, da, db, mir, xhp, xt, 
12036         cols#80, lines#24, 
12037         bel=^G, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[B, 
12038         cuf1=\E[C, cup=%i\E[%p1%d;%p2%df, cuu1=\E[A, dch1=\E[P, 
12039         dl1=\E[M, ed=\E[0J, el=\E[0K, home=\E[H, ht=^I, il1=\E[L, 
12040         ind=^J, kf1=^Z1, kf10=^Z0, kf2=^Z2, kf3=^Z3, kf4=^Z4, kf5=^Z5, 
12041         kf6=^Z6, kf7=^Z7, kf8=^Z8, kf9=^Z9, ri=\E[T, 
12042         rmcup=\E[V\E[24;1f\E[?38h, rmir=\E[4l, rmso=\E[m, 
12043         rmul=\E[m, sgr0=\E[m, smcup=\E[U\E[?38l, smir=\E[4h, 
12044         smso=\E[7m, smul=\E[4m, 
12045
12046 #### Texas Instruments (ti)
12047 #
12048
12049 # The Silent 700 was so called because it was built around a quiet thermal
12050 # printer.  It was portable, equipped with an acoustic coupler, and pretty
12051 # neat for its day.
12052 ti700|ti733|ti735|ti745|ti800|ti silent 700/733/735/745 or omni 800, 
12053         hc, os, 
12054         cols#80, 
12055         bel=^G, cr=\r$<162>, cub1=^H, cud1=^J, ind=^J, 
12056
12057 #
12058 # Texas Instruments 916 VDT 7 bit control mode
12059 #
12060 ti916|ti916-220-7|Texas Instruments 916 VDT 8859/1 vt220 mode 7 bit CTRL, 
12061         da, db, in, msgr, 
12062         cbt=\E[Z, civis=\E[?25l, clear=\E[H\E[2J$<6>, 
12063         cnorm=\E[?25h, cub=\E[%p1%dD, cud=\E[%p1%dB, 
12064         cuf=\E[%p1%dC, cup=\E[%p1%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
12065         cvvis=\E[?25h, dch=\E[%p1%dP$<250>, dch1=\E[P, 
12066         dl=\E[%p1%dM, ech=\E[%p1%dX$<20>, ed=\E[J$<6>, el=\E[0K, 
12067         el1=\E[1K, enacs=\E(B\E)0, ff=^L, flash=\E[?5h\E[?5l$<6>, 
12068         hpa=\E[%p1%{1}%+%dG, hts=\E[0W, ich=\E[%p1%d@$<250>, 
12069         il=\E[%p1%dL$<36>, ip=$<10>, is2=\E[1;24r\E[24;1H, 
12070         kcmd=\E[29~, kdch1=\E[P, kent=^J, kf1=\E[17~, kf10=\E[28~, 
12071         kf11=\E[29~, kf12=\E[31~, kf2=\E[18~, kf3=\E[19~, 
12072         kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, 
12073         kf9=\E[26~, khome=\E[H, kich1=\E[@, knp=\E[S, kpp=\E[T, 
12074         kprt=^X, prot=\E&, rmacs=\017$<2>, rs2=\E[!p, 
12075         smacs=\016$<2>, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd, use=vt220, 
12076 #
12077 # Texas Instruments 916 VDT 8 bit control mode
12078 #
12079 ti916-8|ti916-220-8|Texas Instruments 916 VDT 8859/1 8 vt220 mode bit CTRL, 
12080         kcmd=\23329~, kcub1=\233D, kcud1=\233B, kcuf1=\233C, 
12081         kcuu1=\233A, kdch1=\233P, kent=^J, kf1=\23317~, 
12082         kf10=\23328~, kf11=\23329~, kf12=\23331~, kf2=\23318~, 
12083         kf3=\23319~, kf4=\23320~, kf5=\23321~, kf6=\23323~, 
12084         kf7=\23324~, kf8=\23325~, kf9=\23326~, khome=\233H, 
12085         kich1=\233@, knp=\233S, kpp=\233T, kprt=^X, 
12086         use=ti916, 
12087 #
12088 # Texas Instruments 916 VDT 8859/1 7 bit control 132 column mode
12089 #
12090 ti916-132|Texas Instruments 916 VDT vt220 132 column, 
12091         cols#132, use=ti916, 
12092 #
12093 # Texas Instruments 916 VDT 8859/1 8 bit control 132 column mode
12094 #
12095 ti916-8-132|Texas Instruments 916 VDT vt220 132 column, 
12096         cols#132, use=ti916-8, 
12097 ti924|Texas Instruments 924 VDT 8859/1 7 bit CTRL, 
12098         am, xon, 
12099         cols#80, it#8, lines#24, 
12100         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
12101         clear=\E[2J\E[H, cnorm=\E[?25h, cr=^M, 
12102         csr=%i\E[%p1%d;%p2%dr, cub1=\E[D, cud1=\E[B, cuf1=\E[C, 
12103         cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, cvvis=\E[?31h, 
12104         dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH, 
12105         il1=\E[L, ind=\ED, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
12106         kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kf1=\EOP, kf2=\EOQ, 
12107         kf3=\EOR, kf4=\EOS, kf5=\E[16~, kf6=\E[17~, kf7=\E[18~, 
12108         kf8=\E[19~, kf9=\E[20~, kich1=\E[@, rc=\E8, rev=\E[7m, 
12109         ri=\EM, rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m, smso=\E[7m, 
12110         smul=\E[4m, tbc=\E[3g, 
12111 ti924-8|Texas Instruments 924 VDT 8859/1 8 bit CTRL, 
12112         am, xon, 
12113         cols#80, it#8, lines#24, 
12114         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
12115         clear=\E[2J\E[H, cnorm=\E[?25h, cr=^M, 
12116         csr=%i\E[%p1%d;%p2%dr, cub1=\E[D, cud1=\E[B, cuf1=\E[C, 
12117         cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, cvvis=\E[?31h, 
12118         dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH, 
12119         il1=\E[L, ind=\ED, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
12120         kcuf1=\E[C, kcuu1=\E[A, kdch1=P$<\233>, kf1=P$<\217>, 
12121         kf2=Q$<\217>, kf3=R$<\217>, kf4=S$<\217>, kf5=~$<\23316>, 
12122         kf6=~$<\23317>, kf7=~$<\23318>, kf8=~$<\23319>, 
12123         kf9=~$<\23320>, kich1=@$<\233>, rc=\E8, rev=\E[7m, ri=\EM, 
12124         rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m, smso=\E[7m, 
12125         smul=\E[4m, tbc=\E[3g, 
12126 ti924w|Texas Instruments 924 VDT 7 bit - 132 column mode, 
12127         cols#132, use=ti924, 
12128 ti924-8w|Texas Instruments 924 VDT 8 bit - 132 column mode, 
12129         cols#132, use=ti924-8, 
12130 ti931|Texas Instruments 931 VDT, 
12131         am, xon, 
12132         cols#80, lines#24, 
12133         bel=^G, blink=\E4P, clear=\EL, cnorm=\E4@, cr=^M, cub1=\ED, 
12134         cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
12135         cuu1=\EA, dch1=\EQ, dl1=\EO, ed=\EJ, el=\EI, home=\EH, 
12136         ich1=\ER\EP\EM, il1=\EN, ind=\Ea, invis=\E4H, 
12137         is2=\EGB\E(@B@@\E), kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
12138         kcuu1=\EA, kdch1=\EQ, kdl1=\EO, kf1=\Ei1, kf2=\Ei2, kf3=\Ei3, 
12139         kf4=\Ei4, kf5=\Ei5, kf6=\Ei6, kf7=\Ei7, kf8=\Ei8, kf9=\Ei9, 
12140         kich1=\EP, kil1=\EN, rev=\E4B, ri=\Eb, rmso=\E4@, rmul=\E4@, 
12141         sgr0=\E4@, smso=\E4A, smul=\E4D, 
12142 ti926|Texas Instruments 926 VDT 8859/1 7 bit CTRL, 
12143         csr@, ind=\E[1S, ri=\E[1T, 
12144         use=ti924, 
12145 # (ti926-8: I corrected this from the broken SCO entry -- esr)
12146 ti926-8|Texas Instruments 926 VDT 8859/1 8 bit CTRL, 
12147         csr@, ind=\2331S, ri=\2331T, 
12148         use=ti924-8, 
12149 ti_ansi|basic entry for ti928, 
12150         am, bce, eo, xenl, xon, 
12151         colors#8, cols#80, it#8, lines#25, pairs#64, 
12152         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[2J\E[H, 
12153         cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, 
12154         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, 
12155         dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, 
12156         il1=\E[L, ind=\E[S, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
12157         kcuf1=\E[C, kcuu1=\E[A, kend=\E[F, kf0=\E[V, kf1=\E[M, 
12158         kf2=\E[N, kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S, 
12159         kf8=\E[T, kf9=\E[U, khome=\E[H, knp=\E[G, kpp=\E[I, 
12160         op=\E[37;40m, ri=\E[T, rmso=\E[m, rmul=\E[m, 
12161         setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[m, 
12162         smso=\E[7m, smul=\E[4m, 
12163 #
12164 #       928 VDT 7 bit control mode
12165 #
12166 ti928|Texas Instruments 928 VDT 8859/1 7 bit CTRL, 
12167         kdch1=\E[P, kend=\E_1\E\\, kent=\E[8~, kf1=\E[17~, 
12168         kf10=\E[28~, kf11=\E[29~, kf12=\E[31~, kf13=\E[32~, 
12169         kf15=\E[34~, kf2=\E[18~, kf3=\E[19~, kf4=\E[20~, 
12170         kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, kf9=\E[26~, 
12171         kich1=\E[@, knp=\E[S, kpp=\E[T, kprt=\E[35~, 
12172         use=ti_ansi, 
12173 #
12174 #       928 VDT 8 bit control mode
12175 #
12176 ti928-8|Texas Instruments 928 VDT 8859/1 8 bit CTRL, 
12177         kdch1=\233P, kend=\2371\234, kent=\2338~, kf1=\23317~, 
12178         kf10=\23328~, kf11=\23329~, kf12=\23331~, kf13=\23332~, 
12179         kf15=\23334~, kf2=\23318~, kf3=\23319~, kf4=\23320~, 
12180         kf5=\23321~, kf6=\23323~, kf7=\23324~, kf8=\23325~, 
12181         kf9=\23326~, khome=\233H, kich1=\233@, knp=\233S, 
12182         kpp=\233T, kprt=\23335~, 
12183         use=ti_ansi, 
12184
12185 #### Zentec (zen)
12186 #
12187
12188 # (zen30: removed obsolete :ma=^L ^R^L^K^P:.  This entry originally
12189 # had just <smso>=\EG6 which I think means standout was supposed to be 
12190 # dim-reverse using ADM12-style attributes. ADM12 <smul>/<rmul> and
12191 # <invis> might work-- esr)
12192 zen30|z30|zentec 30, 
12193         am, mir, ul, 
12194         cols#80, lines#24, 
12195         bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
12196         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
12197         dim=\EG2, dl1=\ER$<1.5*>, ed=\EY, el=\ET$<1.0*>, home=^^, 
12198         il1=\EE$<1.5*>, ind=^J, rmir=\Er, rmul@, smir=\Eq, smso=\EG6, 
12199         smul@, 
12200         use=adm+sgr, 
12201 # (zen50: this had extension capabilities
12202 #       :BS=^U:CL=^V:CR=^B:
12203 # UK/DK/RK/LK/HM were someone's aliases for ku/kd/kl/kr/kh,
12204 # which were also in the original entry -- esr)
12205 # (zen50: removed obsolete ":ma=^Hh^Ll^Jj^Kk:" -- esr)
12206 zen50|z50|zentec zephyr, 
12207         am, 
12208         cols#80, lines#24, xmc#1, 
12209         clear=\E+, cub1=^H, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, 
12210         cuu1=^K, dch1=\EW, dl1=\ER, ed=\EY, el=\ET, ich1=\EQ, il1=\EE, 
12211         invis@, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, 
12212         rmul@, smul@, 
12213         use=adm+sgr, 
12214
12215 # CCI 4574 (Office Power) from Will Martin <wmartin@BRL.ARPA> via BRL
12216 cci|cci1|z8001|zen8001|CCI Custom Zentec 8001, 
12217         am, bw, 
12218         cols#80, lines#24, 
12219         blink=\EM", clear=\EH\EJ, cnorm=\EP, 
12220         csr=\ER%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=^J, 
12221         cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
12222         cvvis=\EF\EQ\EM \ER 7, dim=\EM!, ed=\EJ, el=\EK, home=\EH, 
12223         invis=\EM(, is2=\EM \EF\ET\EP\ER 7, kbs=^H, kcub1=\ED, 
12224         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\EH, mc4=^T, mc5=^R, 
12225         rev=\EM$, ri=\EI, rmso=\EM\s, rmul=\EM\s, sgr0=\EM\s, 
12226         smso=\EM$, smul=\EM0, 
12227
12228 ######## OBSOLETE UNIX CONSOLES
12229 #
12230
12231 #### Apollo consoles
12232 #
12233 # Apollo got bought by Hewlett-Packard.  The Apollo workstations are 
12234 # labeled HP700s now.
12235 #
12236
12237 # From: Gary Darland <goodmanc@garnet.berkeley.edu>
12238 apollo|apollo console, 
12239         am, mir, 
12240         cols#88, lines#53, 
12241         clear=^L, cub1=^H, cud1=\EB, cuf1=\EC, 
12242         cup=\EM%p1%{32}%+%c%p2%d), cuu1=\EA, dch1=\EP, dl1=\EL, 
12243         ed=\EJ, el=\EK, hpa=\EN%p1%d, il1=\EI, ind=\EE, ri=\ED, 
12244         rmcup=\EX, rmir=\ER, rmso=\ET, rmul=\EV, smcup=\EW, smir=\EQ, 
12245         smso=\ES, smul=\EU, vpa=\EO+\s, 
12246
12247 # We don't know whether or not the apollo guys replicated DEC's firmware bug
12248 # in the VT132 that reversed <rmir>/<smir>.  To be on the safe side, disable
12249 # both these capabilities.
12250 apollo_15P|apollo 15 inch display, 
12251         rmir@, smir@, use=vt132, 
12252 apollo_19L|apollo 19 inch display, 
12253         rmir@, smir@, use=vt132, 
12254 apollo_color|apollo color display, 
12255         rmir@, smir@, use=vt132, 
12256
12257 #### Convergent Technology
12258 #
12259 # Burroughs bought Convergent shortly before it merged with Univac.
12260 # CTOS is (I believe) dead.  Probably the aws is too (this entry dates
12261 # from 1991 or earlier).
12262 #
12263
12264 # Convergent AWS workstation from Gould/SEL UTX/32 via BRL
12265 # (aws: removed unknown :dn=^K: -- esr)
12266 aws|Convergent Technologies AWS workstation under UTX,Xenix, 
12267         am, 
12268         cols#80, lines#28, xmc#0, 
12269         acsc=, clear=^L, cud1=^K, cuf1=^R, cup=\EC%p2%c%p1%c, 
12270         cuu1=^A, dch1=\EDC, dl1=\EDL, ed=\EEF, el=\EEL, hpa=\EH%p1%c, 
12271         ich1=\EIC, il1=\EIL, ind=\ESU, kbs=^H, kcub1=^N, kcud1=^K, 
12272         kcuf1=^R, kcuu1=^A, ri=\ESD, rmacs=\EAAF, rmso=\EARF, 
12273         rmul=\EAUF, smacs=\EAAN, smso=\EARN, smul=\EAUN, 
12274         vpa=\EV%p1%c, 
12275 awsc|Convergent Technologies AWS workstation under CTOS, 
12276         am, 
12277         cols#80, lines#24, xmc#0, 
12278         acsc=, clear=^L, cud1=^K, cuf1=^R, cup=\EC%p2%c%p1%c, 
12279         cuu1=^A, ed=\EEF, el=\EEL, kbs=^H, kcub1=^N, kcud1=^K, 
12280         kcuf1=^R, kcuu1=^A, rmacs=\EAAF, rmso=\EAA, rmul=\EAA, 
12281         smacs=\EAAN, smso=\EAE, smul=\EAC, 
12282
12283 #### DEC consoles
12284 #
12285
12286 # The MicroVax console.  Tim Theisen <tim@cs.wisc.edu> writes:
12287 # The digital uVax II's had a graphic display called a qdss.  It was
12288 # supposed to be a high performance graphic accelerator, but it was
12289 # late to market and barely appeared before faster dumb frame buffers
12290 # appeared.  I have only used this display while running X11.  However,
12291 # during bootup, it was in text mode, and probably had a terminal emulator
12292 # within it.  And that is what your termcap entry is for.  In graphics
12293 # mode the screen size is 1024x864 pixels.
12294 qdss|qdcons|qdss glass tty, 
12295         am, 
12296         cols#128, lines#57, 
12297         clear=\032$<1/>, cub1=^H, cud1=^J, cuf1=^L, 
12298         cup=\E=%p1%c%p2%c, cuu1=^K, 
12299
12300 #### Fortune Systems consoles
12301 #
12302 # Fortune made a line of 68K-based UNIX boxes that were pretty nifty
12303 # in their day; I (esr) used one myself for a year or so around 1984.
12304 # They had no graphics, though, and couldn't compete against Suns and
12305 # the like.  R.I.P.
12306 #
12307
12308 # From: Robert Nathanson <c160-3bp@Coral> via tut   Wed Oct 5, 1983
12309 # (This had extension capabilities
12310 #       :rv=\EH:re=\EI:rg=0:GG=0:\
12311 #       :CO=\E\\:WL=^Aa\r:WR=^Ab\r:CL=^Ac\r:CR=^Ad\r:DL=^Ae\r:RF=^Af\r:\
12312 #       :RC=^Ag\r:CW=^Ah\r:NU=^Aj\r:EN=^Ak\r:HM=^Al:PL=^Am\r:\
12313 #       :PU=^An\r:PD=^Ao\r:PR=^Ap\r:HP=^A@\r:RT=^Aq\r:TB=\r:CN=\177:MP=\E+F:
12314 # It had both ":bs:" and ":bs=^H:"; I removed the latter.  Also, it had
12315 # ":sg=0:" and ":ug=0:"; evidently the composer was trying (unnecessarily)
12316 # to force both magic cookie glitches off.  Once upon a time, I
12317 # used a Fortune myself, so I know the capabilities of the form ^A[a-z]\r are
12318 # function keys; thus the "Al" value for HM was certainly an error.  I renamed
12319 # EN/PD/PU/CO/CF/RT according to the XENIX/TC mappings, but not HM/DL/RF/RC.  
12320 # I think :rv: and :re: are start/end reverse video and :rg: is a nonexistent
12321 # "reverse-video-glitch" capability; I have put :rv: and :re: in with standard
12322 # names below.  I've removed obsolete ":nl=5^J:" as there is a :do: -- esr)
12323 fos|fortune|Fortune system, 
12324         am, bw, 
12325         cols#80, lines#25, 
12326         acsc=l m"k(j*v%w#q&x-, bel=^G, blink=\EN, civis=\E], 
12327         clear=\014$<20>, cnorm=\E\\, cr=^M, cub1=^H, cud1=\n$<3>, 
12328         cup=\034C%p1%{32}%+%c%p2%{32}%+%c, cuu1=\013$<3>, 
12329         cvvis=\E\:, dch1=\034W$<5>, dl1=\034R$<15>, 
12330         ed=\034Y$<3*>, el=^\Z, home=\036$<10>, ht=^Z, 
12331         ich1=\034Q$<5>, il1=\034E$<15>, ind=^J, is2=^_.., kbs=^H, 
12332         kcub1=^Aw\r, kcud1=^Ay\r, kcuf1=^Az\r, kcuu1=^Ax\r, 
12333         kend=^Ak\r, kent=^Aq, kf1=^Aa\r, kf2=^Ab\r, kf3=^Ac\r, 
12334         kf4=^Ad\r, kf5=^Ae\r, kf6=^Af\r, kf7=^Ag\r, kf8=^Ah\r, 
12335         khome=^A?\r, knp=^Ao\r, kpp=^An\r, nel=^M^J, rev=\EH, 
12336         rmacs=^O, rmso=^\I`, rmul=^\IP, sgr0=\EI, smacs=\Eo, 
12337         smso=^\H`, smul=^\HP, 
12338
12339 #### Masscomp consoles
12340 #
12341 # Masscomp has gone out of business.  Their product line was purchased by
12342 # comany in Georgia (US) called "XS International", parts and service may
12343 # still be available through them.
12344 #
12345
12346 # (masscomp: ":MT:" changed to ":km:";  -- esr)
12347 masscomp|masscomp workstation console, 
12348         km, mir, 
12349         cols#80, it#8, lines#24, 
12350         clear=\E[2J, cub1=^H, cud1=\E[B, cuf1=\E[C, 
12351         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
12352         ed=\E[J, el=\E[K, ht=^I, il1=\E[L, is2=\EGc\EGb\EGw, kbs=^H, 
12353         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, rmir=\E[4l, 
12354         rmso=\E[m, rmul=\EGau, smir=\E[4h, smso=\E[7m, smul=\EGu, 
12355 masscomp1|masscomp large screen version 1, 
12356         cols#104, lines#36, use=masscomp, 
12357 masscomp2|masscomp large screen version 2, 
12358         cols#64, lines#21, use=masscomp, 
12359
12360 ######## OTHER OBSOLETE TYPES
12361 #
12362 # These terminals are *long* dead -- these entries are retained for
12363 # historical interest only.
12364 #
12365
12366 #### Obsolete non-ANSI software emulations
12367 #
12368
12369 # CTRM terminal emulator
12370 # 1. underlining is not allowed with colors: first, is is simulated by 
12371 # black on white, second, it disables background color manipulations.
12372 # 2. BLINKING, REVERSE and BOLD are allowed with colors,
12373 # so we have to save their status in the static registers A, B and H
12374 # respectively, to be able to restore them when color changes
12375 # (because any color change turns off ALL attributes)
12376 # 3. <bold> and <rev> sequences alternate modes,
12377 # rather then simply  entering them.  Thus we have to check the
12378 # static register B and H to determine the status, before sending the 
12379 # escape sequence.
12380 # 4. <sgr0> now must set the status of all 3 register (A,B,H) to zero
12381 # and then reset colors
12382 # 5. implementation of the protect mode would badly penalize the performance.
12383 # we would have to use \E&bn sequence to turn off colors (as well as all
12384 # other attributes), and keep the status of protect mode in yet another
12385 # static variable.  If someone really needs this mode, they would have to
12386 # create another terminfo entry.
12387 # 6. original color-pair is white on black.
12388 # store the information about colors into static registers
12389 # 7. set foreground color.  it performs the following steps.
12390 #   1) turn off all attributes
12391 #   2) turn on the background and video attributes that have been turned
12392 #      on before (this information is stored in static registers X,Y,Z,A,B,H,D).
12393 #   3) turn on foreground attributes
12394 #   4) store information about foreground into U,V,W static registers
12395 # 8. turn on background: similar to turn on foreground above
12396 ctrm|C terminal emulator, 
12397         am, bce, xon, 
12398         colors#8, cols#80, lh#0, lines#24, lm#0, lw#0, ncv#2, nlab#0, 
12399         pairs#63, pb#19200, vt#6, 
12400         bel=^G, blink=\E&dA%{1}%PA, 
12401         bold=%?%gH%{0}%=%t\E&dH%{1}%PH%;, cbt=\Ei, 
12402         clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
12403         cup=\E&a%p2%dc%p1%dY, cuu1=\EA, dch1=\EP$<2>, dl1=\EM, 
12404         ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=\011$<2>, hts=\E1, 
12405         il1=\EL, ind=^J, ip=$<2>, is2=\E&jA\r, kbs=^H, kcub1=\Eu\r, 
12406         kcud1=\Ew\r, kcuf1=\Ev\r, kcuu1=\Et\r, kf1=\Ep\r, 
12407         kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, kf6=\Eu\r, 
12408         kf7=\Ev\r, kf8=\Ew\r, khome=\Ep\r, 
12409         op=\E&bn\E&bB\E&bG\E&bR\n%{0}%PX%{0}%PY%{0}%PZ\n%{1}%PW%{1}%PV%{1}%PU, 
12410         rev=%?%gB%{0}%=%t\E&dB%{1}%PB%;, rmir=\ER, rmkx=\E&jA, 
12411         setb=\E&bn\n%?%gA%t\E&dA%;\n%?%gB%t\E&dB%;\n%?%gH%t\E&dH%;\n%?%gU%t\E&bR%;\n%?%gV%t\E&bG%;\n%?%gW%t\E&bB%;\n\n%?%p1%{1}%&%t\E&bb%{1}%e%{0}%;%PZ\n%?%p1%{2}%&%t\E&bg%{1}%e%{0}%;%PY\n%?%p1%{4}%&%t\E&br%{1}%e%{0}%;%PX, 
12412         setf=\E&bn\n%?%gA%t\E&dA%;\n%?%gB%t\E&dB%;\n%?%gH%t\E&dH%;\n%?%gX%t\E&br%;\n%?%gY%t\E&bg%;\n%?%gZ%t\E&bb%;\n\n%?%p1%{1}%&%t\E&bB%{1}%e%{0}%;%PW\n%?%p1%{2}%&%t\E&bG%{1}%e%{0}%;%PV\n%?%p1%{4}%&%t\E&bR%{1}%e%{0}%;%PU, 
12413         sgr=\E&d@%{0}%PA%{0}%PB%{0}%PD%{0}%PH\n%?%p1%p3%p5%|%|%t\E&dB%{1}%PB%;\n%?%p4%t\E&dA%{1}%PA%;\n%?%p6%t\E&dH%{1}%PH%;\n%?%p2%t\E&dD%;, 
12414         sgr0=\E&d@%{0}%PA%{0}%PB%{0}%PH, smir=\EQ, smkx=\E&jB, 
12415         smso=\E&dD, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY, 
12416
12417 # gs6300 - can't use blue foreground, it clashes with underline;
12418 # it's simulated with cyan
12419 # Bug: The <op> capability probably resets attributes.
12420 # (gs6300: commented out <rmln> (no <smln>) --esr)
12421 gs6300|emots|AT&T PC6300 with EMOTS terminal emulator, 
12422         am, bce, msgr, xon, 
12423         colors#8, cols#80, it#8, lines#24, pairs#63, 
12424         acsc=\,\,..--++``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
12425         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M, 
12426         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
12427         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
12428         cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
12429         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
12430         ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
12431         is2=\E[m, kbs=^H, kcbt=^R^I, kcub1=\E[D, kcud1=\E[B, 
12432         kcuf1=\E[C, kcuu1=\E[A, kf1=\E[0s, kf2=\E[24s, kf3=\E[1s, 
12433         kf4=\E[23s, kf5=\E[2s, kf6=\E[22s, kf7=\E[3s, kf8=\E[21s, 
12434         khome=\E[H, mc4=\E[4i, mc5=\E[5i, op=\E[?;m, rev=\E[7m, 
12435         ri=\E[L, rmacs=\E[10m, rs1=\Ec, setb=\E[?;%p1%dm, 
12436         setf=\E[?%?%p1%{0}%=%t0\n%e%p1%{1}%=%t2\n%e%p1%{1}%-%d%;m, 
12437         sgr0=\E[m\E[10m, smacs=\E[11m, smso=\E[1m, smul=\E[4m, 
12438
12439 # From: <earle@smeagol.UUCP> 29 Oct 85 05:40:18 GMT
12440 # MS-Kermit with Heath-19 emulation mode enabled
12441 # (h19k: changed ":pt@:" to ":it@"
12442 h19k|h19kermit|heathkit emulation provided by Kermit (no auto margin), 
12443         am@, da, db, xt, 
12444         it@, 
12445         ht@, use=h19-u, 
12446
12447 # Apple Macintosh with Versaterm, a terminal emulator distributed by Synergy
12448 # Software (formerly Peripherals Computers & Supplies, Inc) of
12449 # 2457 Perkiomen Ave., Reading, PA 19606, 1-800-876-8376.  They can
12450 # also be reached at support@synergy.com.
12451 versaterm|versaterm vt100 emulator for the macintosh, 
12452         am, xenl, 
12453         cols#80, it#8, lines#24, 
12454         bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>, 
12455         clear=\E[;H\E[2J$<50/>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
12456         cub1=^H, cud1=^J, cuf1=\E[C$<2/>, 
12457         cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<2/>, 
12458         dch1=\E[1P$<7/>, dl1=\E[1M$<9/>, ed=\E[J$<50/>, 
12459         el=\E[K$<3/>, home=\E[H, ht=^I, ich1=\E[1@$<7/>, 
12460         il1=\E[1L$<9/>, is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\EOD, 
12461         kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, 
12462         kf3=\EOR, kf4=\EOS, nel=^M^J, rc=\E8, rev=\E[7m$<2/>, 
12463         rf=/usr/share/tabset/vt100, ri=\EM$<5/>, 
12464         rmkx=\E>\E[?1l, rmso=\E[m$<2/>, rmul=\E[m$<2/>, rs1=\E>, 
12465         sc=\E7, sgr0=\E[m$<2/>, smkx=\E=\E[?1h, smso=\E[7m$<2/>, 
12466         smul=\E[4m$<2/>, 
12467
12468 # From: Rick Thomas <ihnp4!btlunix!rbt>
12469 # (xtalk: I added <rmam>/<smam> based on the init string.
12470 # I also removed <xmc#1> and the trailing \s characters from the highlight
12471 # changers, I don't believe these on a VT100-emulating PC display -- esr)
12472 xtalk|IBM PC with xtalk communication program (versions up to 3.4), 
12473         am, mir, msgr, xon, 
12474         cols#80, it#8, lines#24, vt#3, 
12475         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
12476         bel=^G, clear=\E[H\E[J$<50>, cr=^M, cub=\E[%p1%dD, cub1=^H, 
12477         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C$<2>, 
12478         cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, 
12479         cuu1=\E[A$<2>, dl1=\E[M$<99>, ed=\E[J$<50>, el=\E[K$<3>, 
12480         el1=\E[1K$<3>, enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, 
12481         il1=\E[L$<99>, ind=^J, ka1=\EOq, ka3=\EOs, kb2=\EOr, kbs=^H, 
12482         kc1=\EOp, kc3=\EOn, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, 
12483         kcuu1=\EOA, kent=\EOM, kf0=\EOy, kf1=\EOP, kf10=\EOx, 
12484         kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt, kf6=\EOu, kf7=\EOv, 
12485         kf8=\EOl, kf9=\EOw, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l, 
12486         rmkx=\E[?1l\E>, rmso=\E[m, 
12487         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sgr0=\E[m, 
12488         smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m, 
12489         tbc=\E[3g, 
12490
12491 # The official PC terminal emulator program of the AT&T Product Centers.
12492 # Note - insert mode commented out - doesn't seem to work on AT&T PC.
12493 simterm|attpc running simterm, 
12494         am, 
12495         cols#80, lines#24, 
12496         bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC, 
12497         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\ER, 
12498         dl1=\EM, ed=\EJ, el=\EK, home=\EH, il1=\EL, ind=^J, rmcup=\EVE, 
12499         rmso=\E&d@, sgr0=\E&d@, smcup=\EVS, smso=\E&dB, 
12500
12501 #### Daisy wheel printers
12502 #
12503 # This section collects Diablo, DTC, Xerox, Qume, and other daisy
12504 # wheel terminals.  These are now largely obsolete.
12505 #
12506
12507 # (diablo1620: removed <if=/usr/share/tabset/xerox1720>, no such file -- esr)
12508 diablo1620|diablo1720|diablo450|ipsi|diablo 1620, 
12509         hc, os, 
12510         cols#132, it#8, 
12511         cub1=^H, cud1=^J, cuu1=\E^J, hd=\ED, hpa=\E\011%i%p1%c, 
12512         ht=^I, hts=\E1, hu=\EU, kbs=^H, tbc=\E2, 
12513 diablo1620-m8|diablo1640-m8|diablo 1620 w/8 column left margin, 
12514         cols#124, 
12515         is2=\r        \E9, use=diablo1620, 
12516 # (diablo1640: removed <if=/usr/share/tabset/xerox1730>, no such file -- esr)
12517 diablo1640|diablo1730|diablo1740|diablo630|x1700|diablo|xerox|diablo 1640, 
12518         bel=^G, rmso=\E&, rmul=\ER, smso=\EW, smul=\EE, 
12519         use=diablo1620, 
12520 # (diablo1640-lm: removed <if=/usr/share/tabset/xerox1730-lm>, no such 
12521 # file -- esr)
12522 diablo1640-lm|diablo-lm|xerox-lm|diablo 1640 with indented left margin, 
12523         cols#124, 
12524         rmso=\E&, rmul=\ER, smso=\EW, smul=\EE, use=diablo1620, 
12525 diablo1740-lm|630-lm|1730-lm|x1700-lm|diablo 1740 printer, 
12526         use=diablo1640-lm, 
12527 # DTC 382 with VDU.  Has no <ed> so we fake it with <el>.  Standout
12528 # <smso=^P\s\002^PF> works but won't go away without dynamite <rmso=^P\s\200>.
12529 # The terminal has tabs, but I'm getting tired of fighting the braindamage. 
12530 # If no tab is set or the terminal's in a bad mood, it glitches the screen
12531 # around all of memory.  Note that return puts a blank ("a return character")
12532 # in the space the cursor was at, so we use ^P return (and thus ^P newline for
12533 # newline).  Note also that if you turn off :pt: and let Unix expand tabs,
12534 # curses won't work (some old BSD versions) because it doesn't clear this bit,
12535 # and cursor addressing sends a tab for row/column 9.  What a losing terminal!
12536 # I have been unable to get tabs set in all 96 lines - it always leaves at
12537 # least one line with no tabs in it, and once you tab through that line,
12538 # it completely weirds out.
12539 # (dtc382: change <rmcup> to <smcup> -- it  just does a clear --esr)
12540 dtc382|DTC 382, 
12541         am, da, db, xhp, 
12542         cols#80, lines#24, lm#96, 
12543         bel=^G, clear=\020\035$<20>, cnorm=^Pb, cr=^P^M, cub1=^H, 
12544         cuf1=^PR, cup=\020\021%p2%c%p1%c, cuu1=^P^L, cvvis=^PB, 
12545         dch1=^X, dl1=^P^S, ed=\020\025\020\023\020\023, el=^P^U, 
12546         home=^P^R, il1=^P^Z, ind=^J, pad=\177, rmcup=, rmir=^Pi, 
12547         rmul=^P \200, smcup=\020\035$<20>, smir=^PI, smul=^P ^P, 
12548 dtc300s|DTC 300s, 
12549         hc, os, 
12550         cols#132, 
12551         bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, ff=^L, hd=\Eh, ht=^I, 
12552         hts=\E1, hu=\EH, ind=^J, kbs=^H, tbc=\E3, 
12553 gsi|mystery gsi terminal, 
12554         hc, os, 
12555         cols#132, 
12556         bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, hd=\Eh, ht=^I, hu=\EH, 
12557         ind=^J, 
12558 aj830|aj832|aj|anderson jacobson, 
12559         hc, os, 
12560         bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E7, hd=\E9, hu=\E8, 
12561         ind=^J, 
12562 # From: Chris Torek <chris@gyre.umd.edu> Thu, 7 Nov 85 18:21:58 EST
12563 aj510|Anderson-Jacobson model 510, 
12564         am, mir, 
12565         cols#80, lines#24, 
12566         clear=^L, cub1=^H, cuf1=\EX, 
12567         cup=\E#%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EY, 
12568         dch1=.1*\E'D, dl1=\E&D$<2*/>, ed=\E'P, el=\E'L, ich1=, 
12569         il1=\E&I$<2*/>, ip=$<.1*/>, kcub1=\EW, kcud1=\EZ, 
12570         kcuf1=\EX, kcuu1=\EY, pad=\177, rmcup=\E"N, rmir=\E'J, 
12571         rmso=\E"I, rmul=\E"U, smcup=\E"N, smir=\E'I, smso=\E"I, 
12572         smul=\E"U, 
12573 # From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
12574 # This is incomplete, but it's a start.
12575 nec5520|nec|spinwriter|nec 5520, 
12576         hc, os, 
12577         cols#132, it#8, 
12578         bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E9, ff=^L, 
12579         hd=\E]s\n\E]W, ht=^I, hts=\E1, hu=\E]s\E9\E]W, ind=^J, 
12580         kbs=^H, tbc=\E3, 
12581 qume5|qume|Qume Sprint 5, 
12582         hc, os, 
12583         cols#80, it#8, 
12584         bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, ff=^L, hd=\Eh, ht=^I, 
12585         hts=\E1, hu=\EH, ind=^J, kbs=^H, tbc=\E3, 
12586 # I suspect the xerox 1720 is the same as the diablo 1620.
12587 xerox1720|x1720|x1750|xerox 1720, 
12588         hc, os, 
12589         cols#132, it#8, 
12590         bel=^G, cr=^M, cub1=^H, cud1=^J, ff=^L, ht=^I, hts=\E1, ind=^J, 
12591         tbc=\E2, 
12592
12593 #### Miscellaneous obsolete terminals, manufacturers unknown
12594 #
12595 # If you have any information about these (like, a manufacturer's name, 
12596 # and a date on the serial-number plate) please send it!
12597
12598 cad68-3|cgc3|cad68 basic monitor transparent mode size 3 chars, 
12599         am, 
12600         cols#73, lines#36, 
12601         clear=^Z, cub1=^H, cuf1=^L, cuu1=^K, home=^^, 
12602 cad68-2|cgc2|cad68 basic monitor transparent mode size 2 chars, 
12603         am, 
12604         cols#85, lines#39, 
12605         clear=^Z, cub1=^H, cuf1=^L, cuu1=^K, home=^^, kcub1=\E3, 
12606         kcud1=\E2, kcuf1=\E4, kcuu1=\E1, kf1=\E5, kf2=\E6, kf3=\E7, 
12607         kf4=\E8, rmso=\Em^C, smso=\Em^L, 
12608 cops10|cops|cops-10|cops 10, 
12609         am, bw, 
12610         cols#80, lines#24, 
12611         bel=^G, clear=\030$<30/>, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
12612         cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=^W, el=^V, 
12613         ind=^J, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
12614         khome=^Y, 
12615 # (d132: removed duplicate :ic=\E5:,
12616 # merged in capabilities from a BRL entry -- esr)
12617 d132|datagraphix|datagraphix 132a, 
12618         da, db, in, 
12619         cols#80, lines#30, 
12620         bel=^G, clear=^L, cnorm=\Em\En, cr=^M, cub1=^H, cud1=^J, 
12621         cuf1=\EL, cup=\E8%i%p1%3d%p2%3d, cuu1=\EK, cvvis=\Ex, 
12622         dch1=\E6, home=\ET, ht=^I, ich1=\E5, il1=\E3, ind=^J, kbs=^H, 
12623         kcub1=^H, kcud1=^J, nel=^M^J, ri=\Ew, 
12624 # The d800 was an early portable terminal from c.1984-85 that looked a lot
12625 # like the original Compaq `lunchbox' portable (but no handle).  It had a vt220
12626 # mode (which is what this entry looks like) and several other lesser-known
12627 # emulations.
12628 d800|Direct 800/A, 
12629         am, da, db, msgr, xhp, 
12630         cols#80, it#8, lines#24, 
12631         acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~, 
12632         bel=^G, clear=\E[1;1H\E[2J, cnorm=\E[>12h, cr=^M, cub1=^H, 
12633         cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
12634         cvvis=\E[>12l, ed=\E[J, el=\E[K, ht=^I, ind=\ED, kcub1=\E[D, 
12635         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, 
12636         kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW, 
12637         ri=\EM, rmacs=\E[m, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
12638         smacs=\E[1m, smso=\E[7m, smul=\E[4m, 
12639 digilog|digilog 333, 
12640         cols#80, lines#16, 
12641         bel=^G, cr=^M, cub1=^H, cud1=^J, cuf1=^I, cuu1=^O, el=^X, 
12642         home=^N, ind=^J, 
12643 # The DWK was a terminal manufactured in the Soviet Union c.1986
12644 dwk|dwk-vt|dwk terminal, 
12645         am, 
12646         cols#80, it#8, lines#24, 
12647         acsc=lJmFkCjXtEuPv\\wKqUxWnNo~s_`+a\:f'g#~_\\\,Q+\^.M-Sh#I#0\177, 
12648         bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
12649         cup=\EY%p1%' '%+%c%p2%' '%+%c, cuu1=\EA, dch1=\EP, 
12650         ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EQ, ind=^J, kbs=\177, 
12651         kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\Ee, 
12652         kf1=\Ef1, kf10=\Ef0, kf2=\Ef2, kf3=\Ef3, kf4=\Ef4, kf5=\Ef5, 
12653         kf6=\Ef6, kf7=\Ef7, kf8=\Ef8, kf9=\Ef9, kich1=\Ed, knp=\Eh, 
12654         kpp=\Eg, nel=^M^J, rev=\ET, ri=\ES, rmacs=\EG, rmso=\EX, 
12655         sgr0=\EX, smacs=\EF, smso=\ET, 
12656 env230|envision230|envision 230 graphics terminal, 
12657         xenl@, 
12658         mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, 
12659         sgr=\E[%?%p1%t;1%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, use=vt100, 
12660 # These execuports were impact-printer ttys with a 30- or maybe 15-cps acoustic
12661 # coupler attached, the whole rig fitting in a suitcase and more or less
12662 # portable.  Hot stuff for c.1977 :-) -- esr
12663 ep48|ep4080|execuport 4080, 
12664         am, os, 
12665         cols#80, 
12666         bel=^G, cr=^M, cub1=^H, cud1=^J, hd=^\, hu=^^, ind=^J, 
12667 ep40|ep4000|execuport 4000, 
12668         cols#136, use=ep4080, 
12669 # Adam Thompson <thompson@xanth.magic.mb.ca> tells us:
12670 # Informer series - these are all portable units, resembling older
12671 # automatic bread-baking machines.  The terminal looks like a `clamshell'
12672 # design, but isn't.  The structure is similar to the Direct terminals,
12673 # but only half the width.  The entire unit is only about 10" wide.
12674 # It features an 8" screen (6" or 7" if you have color!), and an 9"x6"
12675 # keyboard.  All the keys are crammed together, much like some laptop
12676 # PCs today, but perhaps less well organized...all these units have a
12677 # bewildering array of plugs on the back, including a built-in modem.
12678 # The 305 was a color version of the 304; the 306 and 307 were mono and
12679 # color terminals built for IBM bisync protocols.
12680 # From: Paul Leondis <unllab@amber.berkeley.edu>
12681 ifmr|Informer D304, 
12682         am, 
12683         cols#80, lines#24, 
12684         clear=\EZ, cub1=^H, cud1=^J, cuf1=\EC, 
12685         cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, dch1=\E\\, 
12686         ed=\E/, el=\EQ, home=\EH, ich1=\E[, ri=\En, rmso=\EK, sgr0=\EK, 
12687         smso=\EJ, 
12688 # Entry largely based on wy60 and has the features of wy60ak.
12689 opus3n1+|Esprit Opus3n1+ in wy60 mode with ANSI arrow keys, 
12690         am, bw, hs, km, mir, msgr, ul, xon, 
12691         cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#80, 
12692         acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, blink=\EG2, 
12693         cbt=\EI, civis=\E`0, clear=\E*$<100>, cnorm=\E`1, cr=^M, 
12694         cub1=^H, cud1=^J, cuf1=^L, cup=\Ea%i%p1%dR%p2%dC, cuu1=^K, 
12695         dch1=\EW$<11>, dim=\EGp, dl1=\ER$<5>, dsl=\Ez(\r, 
12696         ed=\EY$<100>, el=\ET, fsl=^M, home=\036$<2>, ht=\011$<5>, 
12697         hts=\E1, if=/usr/share/tabset/std, il1=\EE$<4>, ind=^J, 
12698         ip=$<3>, 
12699         is2=\E`\:\Ee(\EO\Ee6\Ec41\E~4\Ec21\Ed/\Ezz&\E[A\177\Ezz'\E[B\177\Ezz(\E[D\177\Ezz)\E[C\177\Ezz<\E[Q\177\Ezz`\E[F\177\EA1*\EZH12, 
12700         kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=\E[D, kcud1=\E[B, 
12701         kcuf1=\E[C, kcuu1=\E[A, kdch1=\EW, kdl1=\ER, ked=\EY, 
12702         kel=\ET, kend=\E[F, kent=\E7, kf1=^A@\r, kf10=^AI\r, 
12703         kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, 
12704         kf16=^AO\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
12705         kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
12706         kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, 
12707         mc0=\EP, mc4=^T, mc5=^R, nel=\r\n$<3>, 
12708         pfloc=\EZ2%p1%'?'%+%c%p2%s\177, 
12709         pfx=\EZ1%p1%'?'%+%c%p2%s\177, 
12710         pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E), ri=\Ej$<7>, 
12711         rmacs=\EH^C, rmam=\Ed., rmcup=, rmir=\Er, rmln=\EA11, 
12712         rmxon=\Ec20, rs1=\E~!\E~4$<150>, rs2=\EeF$<150>, 
12713         rs3=\EwG\Ee($<150>, 
12714         sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;\EG%'0'%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c, 
12715         sgr0=\E(\EH\003\EG0\EcD, smacs=\EH^B, smam=\Ed/, 
12716         smcup=\Ezz&\E[A\177\Ezz'\E[B\177\Ezz(\E[D\177\Ezz)\E[C\177\Ezz<\E[Q\177, 
12717         smir=\Eq, smln=\EA10, smxon=\Ec21, tbc=\E0, tsl=\Ez(, 
12718         uc=\EG8%p1%c\EG0, 
12719         use=adm+sgr, 
12720 teletec|Teletec Datascreen, 
12721         am, 
12722         cols#80, lines#24, 
12723         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^_, cuu1=^K, 
12724         home=^^, ind=^J, 
12725 # From: Mark Dornfeld <romwa@ucbvax.berkeley.edu>
12726 #               This termcap is for the LANPAR Technologies VISION 3220
12727 #       terminal.  The function key definitions k0-k5 represent the
12728 #       edit keypad: FIND, INSERT HERE, REMOVE, SELECT, PREV SCREEN,
12729 #       NEXT SCREEN. The key definitions k6-k9 represent the PF1 to
12730 #       PF4 keys.
12731 # (v3220: removed obsolete ":kn#10:",
12732 # I added <rmam>/<smam> based on the init string -- esr)
12733 v3220|LANPAR Vision II model 3220/3221/3222, 
12734         am, mir, xenl, 
12735         cols#80, it#8, lines#24, 
12736         clear=\E[H\E[J, cub1=^H, cuf1=\E[C, 
12737         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
12738         ed=\E[J, el=\E[K, ht=^I, il1=\E[L, 
12739         is2=\E>\E[?3l\E[?7h\E[?8h\E[p, kcub1=\E[D, kcud1=\E[B, 
12740         kcuf1=\E[C, kcuu1=\E[A, kf0=\E[1~, kf1=\E[2~, kf2=\E[3~, 
12741         kf3=\E[4~, kf4=\E[5~, kf5=\E[6~, kf6=\E[OP, kf7=\E[OQ, 
12742         kf8=\E[OR, kf9=\E[OS, khome=\E[H, ri=\EM, rmam=\E[?7l, 
12743         rmir=\E[4l, rmkx=\E>, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
12744         smam=\E[?7h, smir=\E[4h, smkx=\E=, smso=\E[7m, smul=\E[4m, 
12745 ######## ICH/ICH1 VERSUS RMIR/SMIR
12746 #
12747 # Some non-curses applications get confused if both ich/ich1 and rmir/smir
12748 # are present; the symptom is doubled characters in an update using insert.
12749 # These applications are technically correct; in both 4.3BSD termcap and
12750 # terminfo, you're not actually supposed to specify both ich/ich1 and rmir/smir
12751 # unless the terminal needs both.  This requirement is now rare; most ich
12752 # sequences do not require previous smir, and most smir insert modes do not
12753 # require ich1 before each character.
12754 #
12755 # For ncurses-based applications this is not a problem, as ncurses uses
12756 # one or the other as appropriate but never mixes the two.  Therefore we
12757 # have not corrected entries like `linux' and `xterm' that specify both.
12758 # If you see doubled characters from these, use the linux-nic and xterm-nic
12759 # entries that suppress ich/ich1.  And upgrade to ncurses!
12760 #
12761
12762 ######## VT100/ANSI/ISO 6429/ECMA-48/PC-TERM TERMINAL STANDARDS
12763 #
12764 # ANSI X3.64 has been withdrawn and replaced by ECMA-48.  The ISO 6429 and
12765 # ECMA-48 standards are said to be almost identical, but are not the same
12766 # as X3.64 (though for practical purposes they are close supersets of it).
12767 #
12768 # You can obtain ECMA-48 for free by sending email to helpdesk@ecma.ch
12769 # requesting the standard(s) you want (i.e. ECMA-48, "Control Functions for
12770 # Coded Character Sets"), include your snail-mail address, and you should
12771 # receive the document in due course.  Don't expect an email acknowledgement.
12772 #
12773 # Related standards include "X3.4-1977: American National Standard Code for
12774 # Information Interchange" (the ASCII standard) and "X3.41.1974: 
12775 # Code-Extension Techniques for Use with the 7-Bit Coded Character Set of
12776 # American National Standard for Information Interchange."  I believe (but
12777 # am not certain) that these are effectively identical to ECMA-6 and ECMA-35
12778 # respectively. 
12779 #
12780
12781 #### VT100/ANSI/ECMA-48
12782 #
12783 # ANSI Standard (X3.64) Control Sequences for Video Terminals and Peripherals
12784 # and ECMA-48 Control Functions for Coded Character Sets.
12785
12786 # Much of the content of this comment is adapted from a table prepared by
12787 # Richard Shuford, based on a 1984 Byte article.  Terminfo correspondences,
12788 # discussion of some terminfo-related issues, and updates to capture ECMA-48
12789 # have been added.  Control functions described in ECMA-48 only are tagged
12790 # with * after their names.
12791 #
12792 # The table is a complete list of the defined ANSI X3.64/ECMA-48 control
12793 # sequences.  In the main table, \E stands for an escape (\033) character,
12794 # SPC for space.  Pn stands for a single numeric parameter to be inserted
12795 # in decimal ASCII.  Ps stands for a list of such parameters separated by
12796 # semicolons.  Parameter meanings for most parametrized sequences are
12797 # decribed in the notes.
12798 #
12799 # Sequence     Sequence                             Parameter   or
12800 # Mnemonic     Name              Sequence           Value      Mode   terminfo
12801 # -----------------------------------------------------------------------------
12802 # APC  Applicatn Program Command \E _                -         Delim  -
12803 # BEL  Bell *                    ^G                  -         -      bel
12804 # BPH  Break Permitted Here *    \E B                -         *      -
12805 # BS   Backpace *                ^H                  -         EF     -
12806 # CAN  Cancel *                  ^X                  -         -      -   (A)
12807 # CBT  Cursor Backward Tab       \E [ Pn Z           1         eF     cbt
12808 # CCH  Cancel Previous Character \E T                -         -      -
12809 # CHA  Cursor Horizntal Absolute \E [ Pn G           1         eF     hpa (B)
12810 # CHT  Cursor Horizontal Tab     \E [ Pn I           1         eF     tab (C)
12811 # CMD  Coding Method Delimiter * \E
12812 # CNL  Cursor Next Line          \E [ Pn E           1         eF     nel (D)
12813 # CPL  Cursor Preceding Line     \E [ Pn F           1         eF     -
12814 # CPR  Cursor Position Report    \E [ Pn ; Pn R      1, 1      -      -   (E)
12815 # CSI  Control Sequence Intro    \E [                -         Intro  -
12816 # CTC  Cursor Tabulation Control \E [ Ps W           0         eF     -   (F)
12817 # CUB  Cursor Backward           \E [ Pn D           1         eF     cub
12818 # CUD  Cursor Down               \E [ Pn B           1         eF     cud
12819 # CUF  Cursor Forward            \E [ Pn C           1         eF     cuf
12820 # CUP  Cursor Position           \E [ Pn ; Pn H      1, 1      eF     cup (G)
12821 # CUU  Cursor Up                 \E [ Pn A           1         eF     cuu
12822 # CVT  Cursor Vertical Tab       \E [ Pn Y           -         eF     -   (H)
12823 # DA   Device Attributes         \E [ Pn c           0         -      -
12824 # DAQ  Define Area Qualification \E [ Ps o           0         -      -
12825 # DCH  Delete Character          \E [ Pn P           1         eF     dch
12826 # DCS  Device Control String     \E P                -         Delim  -
12827 # DL   Delete Line               \E [ Pn M           1         eF     dl
12828 # DLE  Data Link Escape *        ^P                  -         -      -
12829 # DMI  Disable Manual Input      \E \                -         Fs     -
12830 # DSR  Device Status Report      \E [ Ps n           0         -      -   (I)
12831 # DTA  Dimension Text Area *     \E [ Pn ; Pn SPC T  -         PC     -
12832 # EA   Erase in Area             \E [ Ps O           0         eF     -   (J)
12833 # ECH  Erase Character           \E [ Pn X           1         eF     ech
12834 # ED   Erase in Display          \E [ Ps J           0         eF     ed  (J)
12835 # EF   Erase in Field            \E [ Ps N           0         eF     -
12836 # EL   Erase in Line             \E [ Ps K           0         eF     el  (J)
12837 # EM   End of Medium *           ^Y                  -         -      -
12838 # EMI  Enable Manual Input       \E b                          Fs     -
12839 # ENQ  Enquire                   ^E                  -         -      -
12840 # EOT  End Of Transmission       ^D                  -         *      -
12841 # EPA  End of Protected Area     \E W                -         -      -   (K)
12842 # ESA  End of Selected Area      \E G                -         -      -
12843 # ESC  Escape                    ^[                  -         -      -
12844 # ETB  End Transmission Block    ^W                  -         -      -
12845 # ETX  End of Text               ^C                  -         -      -
12846 # FF   Form Feed                 ^L                  -         -      -
12847 # FNK  Function Key *            \E [ Pn SPC W       -         -      -
12848 # GCC  Graphic Char Combination* \E [ Pn ; Pn SPC B  -         -      -
12849 # FNT  Font Selection            \E [ Pn ; Pn SPC D  0, 0      FE     -
12850 # GSM  Graphic Size Modify       \E [ Pn ; Pn SPC B  100, 100  FE     -   (L)
12851 # GSS  Graphic Size Selection    \E [ Pn SPC C       none      FE     -
12852 # HPA  Horz Position Absolute    \E [ Pn `           1         FE     -   (B)
12853 # HPB  Char Position Backward    \E [ j              1         FE     -
12854 # HPR  Horz Position Relative    \E [ Pn a           1         FE     -   (M)
12855 # HT   Horizontal Tab *          ^I                  -         FE     -   (N)
12856 # HTJ  Horz Tab w/Justification  \E I                -         FE     -
12857 # HTS  Horizontal Tab Set        \E H                -         FE     hts
12858 # HVP  Horz & Vertical Position  \E [ Pn ; Pn f      1, 1      FE     -   (G)
12859 # ICH  Insert Character          \E [ Pn @           1         eF     ich
12860 # IDCS ID Device Control String  \E [ SPC O          -         *      -
12861 # IGS  ID Graphic Subrepertoire  \E [ SPC M          -         *      -
12862 # IL   Insert Line               \E [ Pn L           1         eF     il
12863 # IND  Index                     \E D                -         FE     -
12864 # INT  Interrupt                 \E a                -         Fs     -
12865 # JFY  Justify                   \E [ Ps SPC F       0         FE     -
12866 # IS1  Info Separator #1 *       ^_                  -         *      -
12867 # IS2  Info Separator #1 *       ^^                  -         *      -
12868 # IS3  Info Separator #1 *       ^]                  -         *      -
12869 # IS4  Info Separator #1 *       ^\                  -         *      -
12870 # LF   Line Feed                 ^J                  -         -      -
12871 # LS1R Locking Shift Right 1 *   \E ~                -         -      -
12872 # LS2  Locking Shift 2 *         \E n                -         -      -
12873 # LS2R Locking Shift Right 2 *   \E }                -         -      -
12874 # LS3  Locking Shift 3 *         \E o                -         -      -
12875 # LS3R Locking Shift Right 3 *   \E |                -         -      -
12876 # MC   Media Copy                \E [ Ps i           0         -      -   (S)
12877 # MW   Message Waiting           \E U                -         -      -
12878 # NAK  Negative Acknowledge *    ^U                  -         *      -
12879 # NBH  No Break Here *           \E C                -         -      -
12880 # NEL  Next Line                 \E E                -         FE     nel (D)
12881 # NP   Next Page                 \E [ Pn U           1         eF     -
12882 # NUL  Null *                    ^@                  -         -      -
12883 # OSC  Operating System Command  \E ]                -         Delim  -
12884 # PEC  Pres. Expand/Contract *   \E Pn SPC Z         0         -      -
12885 # PFS  Page Format Selection *   \E Pn SPC J         0         -      -
12886 # PLD  Partial Line Down         \E K                -         FE     -   (T)
12887 # PLU  Partial Line Up           \E L                -         FE     -   (U)
12888 # PM   Privacy Message           \E ^                -         Delim  -
12889 # PP   Preceding Page            \E [ Pn V           1         eF     -
12890 # PPA  Page Position Absolute *  \E [ Pn SPC P       1         FE     -
12891 # PPB  Page Position Backward *  \E [ Pn SPC R       1         FE     -
12892 # PPR  Page Position Forward *   \E [ Pn SPC Q       1         FE     -
12893 # PTX  Parallel Texts *          \E [ \              -         -      -
12894 # PU1  Private Use 1             \E Q                -         -      -
12895 # PU2  Private Use 2             \E R                -         -      -
12896 # QUAD Typographic Quadding      \E [ Ps SPC H       0         FE     -
12897 # REP  Repeat Char or Control    \E [ Pn b           1         -      rep
12898 # RI   Reverse Index             \E M                -         FE     -   (V)
12899 # RIS  Reset to Initial State    \E c                -         Fs     -
12900 # RM   Reset Mode *              \E [ Ps l           -         -      -   (W)
12901 # SACS Set Add. Char. Sep. *     \E [ Pn SPC /       0         -      -
12902 # SAPV Sel. Alt. Present. Var. * \E [ Ps SPC ]       0         -      -   (X)
12903 # SCI  Single-Char Introducer    \E Z                -         -      -
12904 # SCO  Sel. Char. Orientation *  \E [ Pn ; Pn SPC k  -         -      -
12905 # SCS  Set Char. Spacing *       \E [ Pn SPC g       -         -      -
12906 # SD   Scroll Down               \E [ Pn T           1         eF     rin
12907 # SDS  Start Directed String *   \E [ Pn ]           1         -      -
12908 # SEE  Select Editing Extent     \E [ Ps Q           0         -      -   (Y)
12909 # SEF  Sheet Eject & Feed *      \E [ Ps ; Ps SPC Y  0,0       -      -
12910 # SGR  Select Graphic Rendition  \E [ Ps m           0         FE     sgr (O)
12911 # SHS  Select Char. Spacing *    \E [ Ps SPC K       0         -      -
12912 # SI   Shift In                  ^O                  -         -      -   (P)
12913 # SIMD Sel. Imp. Move Direct. *  \E [ Ps ^           -         -      -
12914 # SL   Scroll Left               \E [ Pn SPC @       1         eF     -
12915 # SLH  Set Line Home *           \E [ Pn SPC U       -         -      -
12916 # SLL  Set Line Limit *          \E [ Pn SPC V       -         -      -
12917 # SLS  Set Line Spacing *        \E [ Pn SPC h       -         -      -
12918 # SM   Select Mode               \E [ Ps h           none      -      -   (W)
12919 # SO   Shift Out                 ^N                  -         -      -   (Q)
12920 # SOH  Start Of Heading *        ^A                  -         -      -
12921 # SOS  Start of String *         \E X                -         -      -
12922 # SPA  Start of Protected Area   \E V                -         -      -   (Z)
12923 # SPD  Select Pres. Direction *  \E [ Ps ; Ps SPC S  0,0       -      -
12924 # SPH  Set Page Home *           \E [ Ps SPC G       -         -      -
12925 # SPI  Spacing Increment         \E [ Pn ; Pn SPC G  none      FE     -
12926 # SPL  Set Page Limit *          \E [ Ps SPC j       -         -      -
12927 # SPQR Set Pr. Qual. & Rapid. *  \E [ Ps SPC X       0         -      -
12928 # SR   Scroll Right              \E [ Pn SPC A       1         eF     -
12929 # SRCS Set Reduced Char. Sep. *  \E [ Pn SPC f       0         -      -
12930 # SRS  Start Reversed String *   \E [ Ps [           0         -      -
12931 # SSA  Start of Selected Area    \E F                -         -      -
12932 # SSU  Select Size Unit *        \E [ Pn SPC I       0         -      -
12933 # SSW  Set Space Width *         \E [ Pn SPC [       none      -      -
12934 # SS2  Single Shift 2 (G2 set)   \E N                -         Intro  -
12935 # SS3  Single Shift 3 (G3 set)   \E O                -         Intro  -
12936 # ST   String Terminator         \E \                -         Delim  -
12937 # STAB Selective Tabulation *    \E [ Pn SPC ^       -         -      -
12938 # STS  Set Transmit State        \E S                -         -      -
12939 # STX  Start pf Text *           ^B                  -         -      -
12940 # SU   Scroll Up                 \E [ Pn S           1         eF     indn
12941 # SUB  Substitute *              ^Z                  -         -      -
12942 # SVS  Select Line Spacing *     \E [ Pn SPC \       1         -      -
12943 # SYN  Synchronous Idle *        ^F                  -         -      -
12944 # TAC  Tabul. Aligned Centered * \E [ Pn SPC b       -         -      -
12945 # TALE Tabul. Al. Leading Edge * \E [ Pn SPC a       -         -      -
12946 # TATE Tabul. Al. Trailing Edge* \E [ Pn SPC `       -         -      -
12947 # TBC  Tab Clear                 \E [ Ps g           0         FE     tbc
12948 # TCC  Tabul. Centered on Char * \E [ Pn SPC c       -         -      -
12949 # TSR  Tabulation Stop Remove  * \E [ Pn SPC d       -         FE     -
12950 # TSS  Thin Space Specification  \E [ Pn SC E        none      FE     -
12951 # VPA  Vert. Position Absolute   \E [ Pn d           1         FE     vpa
12952 # VPB  Line Position Backward *  \E [ Pn k           1         FE     -
12953 # VPR  Vert. Position Relative   \E [ Pn e           1         FE     -   (R)
12954 # VT   Vertical Tabulation *     ^K                  -         FE     -
12955 # VTS  Vertical Tabulation Set   \E J                -         FE     -
12956
12957 # ---------------------------------------------------------------------------
12958 #
12959 # Notes:
12960 #
12961 # Some control characters are listed in the ECMA-48 standard without 
12962 # being assigned functions relevant to terminal control there (they 
12963 # referred to other standards such as ISO 1745 or ECMA-35).  They are listed
12964 # here anyway for completeness.
12965 #
12966 # (A) ECMA-48 calls this "CancelCharacter" but retains the CCH abbreviation.
12967 #
12968 # (B) There seems to be some confusion abroad between CHA and HPA.  Most
12969 # `ANSI' terminals accept the CHA sequence, not the HPA. but terminfo calls
12970 # the capability (hpa).  ECMA-48 calls this "Cursor Character Absolute" but
12971 # preserved the CHA abbreviation.
12972 #
12973 # (C) CHT corresponds to terminfo (tab).  Usually it has the value ^I.
12974 # Occasionally (as on, for example, certain HP terminals) this has the HTJ
12975 # value.  ECMA-48 calls this "Cursor Forward Tabulation" but preserved the
12976 # CHT abbreviation.
12977 #
12978 # (D) terminfo (nel) is usually \r\n rather than ANSI \EE.
12979 #
12980 # (E) ECMA-48 calls this "Active Position Report" but preserves the CPR 
12981 # abbreviation.
12982
12983 # (F) CTC parameter values: 0 = set char tab, 1 = set line tab, 2 = clear
12984 # char tab, 3 = clear line tab, 4 = clear all char tabs on current line, 
12985 # 5 = clear all char tabs, 6 = clear all line tabs.
12986 #
12987 # (G) CUP and HVP are identical in effect.  Some ANSI.SYS versions accept
12988 # HVP, but always allow CUP as an alternate.  ECMA-48 calls HVP "Character
12989 # Position Absolute" but retains the HVP abbreviation.
12990 #
12991 # (H) ECMA calls this "Cursor Line Tabulation" but preserves the CVT
12992 # abbreviation.
12993 #
12994 # (I) DSR parameter values: 0 = ready, 1 = busy, 2 = busy, will send DSR
12995 # later, 3 = malfunction, 4 = malfunction, will send DSR later, 5 = request
12996 # DSR, 6 = request CPR response.
12997 #
12998 # (J) ECMA calls ED "Erase In Page". EA/ED/EL parameters: 0 = clear to end,
12999 # 1 = clear from beginning, 2 = clear.
13000
13001 # (K) ECMA calls this "End of Guarded Area" but preserves the EPA abbreviation.
13002 #
13003 # (L) The GSM parameters are vertical and horizontal parameters to scale by.
13004 #
13005 # (M) Some ANSI.SYS versions accept HPR, but more commonly `ANSI' terminals
13006 # use CUF for this function and ignore HPR.  ECMA-48 calls this "Character
13007 # Position Relative" but retains the HPR abbreviation.
13008 #
13009 # (N) ECMA-48 calls this "Character Tabulation" but retains the HT
13010 # abbreviation.
13011 #
13012 # (O) SGR parameter values: 0 = default mode (attributes off), 1 = bold,
13013 # 2 = dim, 3 = italicized, 4 = underlined, 5 = slow blink, 6 = fast blink,
13014 # 7 = reverse video, 8 = invisible, 9 = crossed-out (marked for deletion),
13015 # 10 = primary font, 10 + n (n in 1..9) = nth alternative font, 20 = Fraktur,
13016 # 21 = double underline, 22 = turn off 2, 23 = turn off 3, 24 = turn off 4,
13017 # 25 = turn off 5, 26 = proportional spacing, 27 = turn off 7, 28 = turn off
13018 # 8, 29 = turn off 9, 30 = black fg, 31 = red fg, 32 = green fg, 33 = yellow
13019 # fg, 34 = blue fg, 35 = magenta fg, 36 = cyan fg, 37 = white fg, 38 = set
13020 # fg color as in CCIT T.416, 39 = set default fg color, 40 = black bg
13021 # 41 = red bg, 42 = green bg, 43 = yellow bg, 44 = blue bg, 45 = magenta bg,
13022 # 46 = cyan bg, 47 = white bg, 48 = set bg color as in CCIT T.416, 39 = set
13023 # default bg color, 50 = turn off 26, 51 = framed, 52 = encircled, 53 =
13024 # overlined, 54 = turn off 51 & 52, 55 = not overlined, 56-59 = reserved,
13025 # 61-65 = variable highlights for ideograms.
13026 #
13027 # (P) SI is also called LSO, Locking Shift Zero.
13028 #
13029 # (Q) SI is also called LS1, Locking Shift One.
13030 #
13031 # (R) Some ANSI.SYS versions accept VPR, but more commonly `ANSI' terminals
13032 # use CUD for this function and ignore VPR.  ECMA calls it `Line Position
13033 # Absolute' but retains the VPA abbreviation.
13034 #
13035 # (S) MC parameters: 0 = start xfer to primary aux device, 1 = start xfer from
13036 # primary aux device, 2 = start xfer to secondary aux device, 3 = start xfer
13037 # from secondary aux device, 4 = stop relay to primary aux device, 5 = 
13038 # start relay to primary aux device, 6 = stop relay to secondary aux device,
13039 # 7 = start relay to secondary aux device.
13040 #
13041 # (T) ECMA-48 calls this "Partial Line Forward" but retains the PLD
13042 # abbreviation.
13043 #
13044 # (U) ECMA-48 calls this "Partial Line Backward" but retains the PLD
13045 # abbreviation.
13046 #
13047 # (V) ECMA-48 calls this "Reverse Line Feed" but retains the RI abbreviation.
13048 #
13049 # (W) RM/SM modes are as follows: 1 = Guarder Area Transfer Mode (GATM), 
13050 # 2 = Keyboard Action Mode (KAM), 3 = Control Representation Mode (CRM), 
13051 # 4 = Insertion Replacement Mode, 5 = Status Report Transfer Mode (SRTM),
13052 # 6 = Erasure Mode (ERM), 7 = Line Editing Mode (LEM), 8 = Bi-Directional
13053 # Support Mode (BDSM), 9 = Device Component Select Mode (DCSM), 
13054 # 10 = Character Editing Mode (HEM), 11 = Positioning Unit Mode (PUM),
13055 # 12 = Send/Receive Mode, 13 = Format Effector Action Mode (FEAM), 
13056 # 14 = Format Effector Transfer Mode (FETM), 15 = Multiple Area Transfer
13057 # Mode (MATM), 16 = Transfer Termination Mode, 17 = Selected Area Transfer
13058 # Mode, 18 = Tabulation Stop Mode, 19 = Editing Boundary Mode, 20 = Line Feed
13059 # New Line Mode (LF/NL), Graphic Rendition Combination Mode (GRCM), 22 =
13060 # Zero Default Mode (ZDM).  The EBM and LF/NL modes have actually been removed
13061 # from ECMA-48's 5th edition but are listed here for reference.
13062 #
13063 # (X) Select Alternate Presentation Variants is used only for non-Latin
13064 # alphabets.
13065 #
13066 # (Y) "Select Editing Extent" (SEE) was ANSI "Select Edit Extent Mode" (SEM).
13067 #
13068 # (Z) ECMA-48 calls this "Start of Guarded Area" but retains the SPA
13069 # abbreviation.
13070 #
13071 # ---------------------------------------------------------------------------
13072
13073 # Abbreviations:
13074 #
13075 # Intro  an Introducer of some kind of defined sequence; the normal 7-bit
13076 #        X3.64 Control Sequence Introducer is the two characters "Escape ["
13077
13078 # Delim  a Delimiter
13079
13080 # x/y    identifies a character by position in the ASCII table (column/row)
13081
13082 # eF     editor function (see explanation)
13083
13084 # FE     format effector (see explanation)
13085 #
13086 # F      is a Final character in
13087 #             an Escape sequence (F from 3/0 to 7/14 in the ASCII table)
13088 #             a control sequence (F from 4/0 to 7/14)
13089
13090 # Gs     is a graphic character appearing in strings (Gs ranges from
13091 #        2/0 to 7/14) in the ASCII table
13092
13093 # Ce     is a control represented as a single bit combination in the C1 set
13094 #        of controls in an 8-bit character set
13095
13096 # C0     the familiar set of 7-bit ASCII control characters
13097
13098 # C1     roughly, the set of control chars available only in 8-bit systems.
13099 #        This is too complicated to explain fully here, so read Jim Fleming's
13100 #        article in the February 1983 BYTE, especially pages 214 through 224.
13101
13102 # Fe     is a Final character of a 2-character Escape sequence that has an
13103 #        equivalent representation in an 8-bit environment as a Ce-type
13104 #        (Fe ranges from 4/0 to 5/15)
13105
13106 # Fs     is a Final character of a 2-character Escape sequence that is
13107 #        standardized internationally with identical representation in 7-bit
13108 #        and 8-bit environments and is independent of the currently
13109 #        designated C0 and C1 control sets (Fs ranges from 6/0 to 7/14)
13110
13111 # I      is an Intermediate character from 2/0 to 2/15 (inclusive) in the
13112 #        ASCII table
13113
13114 # P      is a parameter character from 3/0 to 3/15 (inclusive) in the ASCII
13115 #        table
13116
13117 # Pn     is a numeric parameter in a control sequence, a string of zero or
13118 #        more characters ranging from 3/0 to 3/9 in the ASCII table
13119
13120 # Ps     is a variable number of selective parameters in a control sequence
13121 #        with each selective parameter separated from the other by the code
13122 #        3/11 (which usually represents a semicolon); Ps ranges from
13123 #        3/0 to 3/9 and includes 3/11
13124 #
13125 # *      Not relevant to terminal control, listed for completeness only.
13126
13127 # Format Effectors versus Editor Functions
13128
13129 # A format effector specifies how following output is to be displayed.
13130 # An editor function allows you to modify the display.  Informally
13131 # format effectors may be destructive; format effectors should not be.
13132
13133 # For instance, a format effector that moves the "active position" (the 
13134 # cursor or equivalent) one space to the left would be useful when you want to
13135 # create an overstrike, a compound character made of two standard characters
13136 # overlaid. Control-H, the Backspace character, is actually supposed to be a
13137 # format effector, so you can do this. But many systems use it in a
13138 # nonstandard fashion, as an editor function, deleting the character to the
13139 # left of the cursor and moving the cursor left. When Control-H is assumed to
13140 # be an editor function, you cannot predict whether its use will create an
13141 # overstrike unless you also know whether the output device is in an "insert
13142 # mode" or an "overwrite mode". When Control-H is used as a format effector,
13143 # its effect can always be predicted. The familiar characters carriage
13144 # return, linefeed, formfeed, etc., are defined as format effectors.
13145 #
13146 # NOTES ON THE DEC VT100 IMPLEMENTATION
13147
13148 # Control sequences implemented in the VT100 are as follows:
13149
13150 #      CPR, CUB, CUD, CUF, CUP, CUU, DA, DSR, ED, EL, HTS, HVP, IND,
13151 #      LNM, NEL, RI, RIS, RM, SGR, SM, TBC
13152
13153 # plus several private DEC commands.
13154
13155 # Erasing parts of the display (EL and ED) in the VT100 is performed thus:
13156
13157 #      Erase from cursor to end of line           Esc [ 0 K    or Esc [ K
13158 #      Erase from beginning of line to cursor     Esc [ 1 K
13159 #      Erase line containing cursor               Esc [ 2 K
13160 #      Erase from cursor to end of screen         Esc [ 0 J    or Esc [ J
13161 #      Erase from beginning of screen to cursor   Esc [ 1 J
13162 #      Erase entire screen                        Esc [ 2 J
13163 #
13164 # Some brain-damaged terminal/emulators respond to Esc [ J as if it were
13165 # Esc [ 2 J, but this is wrong; the default is 0.
13166
13167 # The VT100 responds to receiving the DA (Device Attributes) control
13168
13169 #      Esc [ c    (or Esc [ 0 c)
13170
13171 # by transmitting the sequence
13172
13173 #      Esc [ ? l ; Ps c
13174
13175 # where Ps is a character that describes installed options.
13176
13177 # The VT100's cursor location can be read with the DSR (Device Status
13178 # Report) control
13179
13180 #      Esc [ 6 n
13181
13182 # The VT100 reports by transmitting the CPR sequence
13183
13184 #      Esc [ Pl ; Pc R
13185
13186 # where Pl is the line number and Pc is the column number (in decimal).
13187
13188 # The specification for the DEC VT100 is document EK-VT100-UG-003.
13189
13190 #### ANSI.SYS
13191
13192 # Here is a description of the color and attribute controls supported in the
13193 # the ANSI.SYS driver under MS-DOS.  Most console drivers and ANSI
13194 # terminal emulators for Intel boxes obey these.  They are a proper subset
13195 # of the ECMA-48 escapes.
13196 #
13197 # 0     all attributes off
13198 # 1     foreground bright
13199 # 4     underscore on
13200 # 5     blink on/background bright (not reliable with brown)
13201 # 7     reverse-video
13202 # 8     set blank (non-display)
13203 # 10    set primary font
13204 # 11    set first alternate font (on PCs, display ROM characters 1-31)
13205 # 12    set second alternate font (on PCs, display IBM high-half chars)
13206 #
13207 #                       Color attribute sets
13208 # 3n    set foreground color       / 0=black, 1=red,     2=green, 3=brown,
13209 # 4n    set background color       \ 4=blue,  5=magenta, 6=cyan,  7=white
13210 # Bright black becomes gray.  Bright brown becomes yellow,
13211 # These coincide with the prescriptions of the ISO 6429/ECMA-48 standard.
13212 #
13213 # * If the 5 attribute is on and you set a background color (40-47) it is
13214 #   supposed to enable bright background.
13215 #
13216 # * Many VGA cards (such as the Paradise and compatibles) do the wrong thing
13217 #   when you try to set a "bright brown" (yellow) background with attribute
13218 #   5 (you get a blinking yellow foreground instead).  A few displays
13219 #   (including the System V console) support an attribute 6 that undoes this
13220 #   braindamage (this is required by iBCS2).
13221 #
13222 # * Some older versions of ANSI.SYS have a bug that causes thems to require
13223 #   ESC [ Pn k as EL rather than the ANSI ESC [ Pn K.  (This is not ECMA-48
13224 #   compatible.)
13225
13226 #### Intel Binary Compatibility Standard
13227 #
13228 # For comparison, here are the capabilities implied by the Intel Binary 
13229 # Compatibility Standard for UNIX systems (Intel order number 468366-001).
13230 # These recommendations are optional.  IBCS2 allows the leading escape to
13231 # be either the 7-bit \E[ or 8-bit \0233 introducer, in accordance with
13232 # the ANSI X.364/ISO 6429/ECMA-48 standard.  Here are the iBCS2 capabilities
13233 # (as described in figure 9-3 of the standard).  Those expressed in the ibcs2
13234 # terminfo entry are followed with the corresponding capability in parens:
13235 #
13236 #       CSI <n>k                disable (n=0) or enable (n=1) keyclick
13237 #       CSI 2h                  lock keyboard
13238 #       CSI 2i                  send screen as input
13239 #       CSI 2l                  unlock keyboard
13240 #       CSI 6m                  enable background color intensity
13241 #       CSI <0-2>c              reserved
13242 #       CSI <0-59>m             select graphic rendition
13243 #       CSI <n>;<m>H    (cup)   cursor to line n and column m
13244 #       CSI <n>;<m>f            cursor to line n and column m
13245 #       CSI <n>@        (ich)   insert characters
13246 #       CSI <n>A        (cuu)   cursor up n lines
13247 #       CSI <n>B        (cud)   cursor down n lines
13248 #       CSI <n>C        (cuu)   cursor right n characters
13249 #       CSI <n>D        (cud)   cursor left n characters
13250 #       CSI <n>E                cursor down n lines and in first column
13251 #       CSI <n>F                cursor up n lines and in first column
13252 #       CSI <n>G        (hpa)   position cursor at column n-1
13253 #       CSI <n>J        (ed)    erase in display
13254 #       CSI <n>K        (el)    erase in line
13255 #       CSI <n>L        (il)    insert line(s)
13256 #       CSI <n>P        (dch)   delete characters
13257 #       CSI <n>S        (indn)  scroll up n lines
13258 #       CSI <n>T        (rin)   scroll down n lines
13259 #       CSI <n>X        (ech)   erase characters
13260 #       CSI <n>Z        (cbt)   back up n tab stops
13261 #       CSI <n>`                cursor to column n on line
13262 #       CSI <n>a        (cuu)   cursor right n characters
13263 #       CSI <n>d        (vpa)   cursor to line n
13264 #       CSI <n>e                cursor down n lines and in first column
13265 #       CSI <n>g        (cbt)   clear all tabs
13266 #       CSI <n>z                make virtual terminal n active
13267 #       CSI ?7h         (smam)  turn automargin on
13268 #       CSI ?7l         (rmam)  turn automargin off
13269 #       CSI s                   save cursor position
13270 #       CSI u                   restore cursor position to saved value
13271 #       CSI =<c>A               set overscan color
13272 #       CSI =<c>F               set normal foreground color
13273 #       CSI =<c>G               set normal background color
13274 #       CSI =<c>H               set reverse foreground color
13275 #       CSI =<c>I               set reverse foreground color
13276 #       CSI =<c>J               set graphic foreground color
13277 #       CSI =<c>K               set graphic foreground color
13278 #       CSI =<n>g       (dispc) display n from alternate graphics character set
13279 #       CSI =<p>;<d>B           set bell parameters
13280 #       CSI =<s>;<e>C           set cursor parameters
13281 #       CSI =<x>D               enable/disable intensity of background color
13282 #       CSI =<x>E               set/clear blink vs. bold background
13283 #       CSI 7           (sc)    (sc) save cursor position
13284 #       CSI 8           (rc)    (rc) restore cursor position to saved value
13285 #       CSI H           (hts)   (hts) set tab stop
13286 #       CSI Q<n><string>        define function key string
13287 #                               (string must begin and end with delimiter char)
13288 #       CSI c           (clear) clear screen
13289 #
13290 # The lack of any specification for attributes in SGR (among other things)
13291 # makes this a wretchedly weak standard. The table above is literally 
13292 # everything iBSC2 has to say about terminal escape sequences; there is
13293 # no further discussion of their meaning or how to set the parameters
13294 # in these sequences at all.
13295 #
13296
13297 ######## NONSTANDARD CAPABILITY TRANSLATIONS USED IN THIS FILE
13298 #
13299 # The historical termcap file entries were written primarily in 4.4BSD termcap.
13300 # The 4.4BSD termcap set was substantially larger than the original 4.1BSD set,
13301 # with the extension names chosen for compatibility with the termcap names
13302 # assigned in System V terminfo.  There are some variant extension sets out
13303 # there.  We try to describe them here.
13304 #
13305 # XENIX extensions:
13306 #
13307 # The XENIX extensions include a set of function-key capabilities as follows:
13308 #
13309 #       code    XENIX variable name     terminfo name   name clashes?
13310 #       ----    -------------------     -------------   -----------------------
13311 #       CL      key_char_left
13312 #       CR      key_char_right
13313 #       CW      key_change_window                       create_window
13314 #       EN      key_end                 kend
13315 #       HM      key_home                khome
13316 #       HP      ??
13317 #       LD      key_delete_line         kdl1
13318 #       LF      key_linefeed                            label_off
13319 #       NU      key_next_unlocked_cell
13320 #       PD      key_page_down           knp
13321 #       PL      ??
13322 #       PN      start_print             mc5
13323 #       PR      ??
13324 #       PS      stop_print              mc4
13325 #       PU      key_page_up             kpp             pulse
13326 #       RC      key_recalc                              remove_clock
13327 #       RF      key_toggle_ref                          req_for_input
13328 #       RT      key_return              kent
13329 #       UP      key_up_arrow            kcuu1           parm_up_cursor
13330 #       WL      key_word_left
13331 #       WR      key_word_right
13332 #
13333 # The XENIX extensions also include the following character-set and highlight
13334 # capabilities:
13335 #
13336 #       XENIX   terminfo        function
13337 #       -----   --------        ------------------------------
13338 #       GS      smacs           start alternate character set
13339 #       GE      rmacs           end alternate character set
13340 #       GG                      :as:/:ae: glitch (analogous to :sg:/:ug:)
13341 #       bo      blink           begin blink (not used in /etc/termcap)
13342 #       be                      end blink (not used in /etc/termcap)
13343 #       bb                      blink glitch  (not used in /etc/termcap)
13344 #       it      dim             begin dim (not used in /etc/termcap)
13345 #       ie                      end dim (not used in /etc/termcap)
13346 #       ig                      dim glitch  (not used in /etc/termcap)
13347 #
13348 # Finally, XENIX also used the following forms-drawing capabilities:
13349 #
13350 #       single  double  type             ASCII approximation 
13351 #       ------  ------  -------------    -------------------
13352 #       GV      Gv      vertical line             |
13353 #       GH      Gv      horizontal line       -   _
13354 #       G1      G5      top right corner       _   |
13355 #       G2      G6      top left corner       | 
13356 #       G3      G7      bottom left corner         |_
13357 #       G4      G8      bottom right corner   _|
13358 #       GD      Gd      down-tick character        T
13359 #       GL      Gl      left-tick character   -|
13360 #       GR      Gr      right-tick character       |-
13361 #       GC      Gc      middle intersection   -|-
13362 #       GU      Gu      up-tick character          _|_
13363 #
13364 # These were invented to take advantage of the IBM PC ROM character set.  One
13365 # can compose an acsc string from the single-width characters as follows
13366 #       "j{G4}k{G1}l{G2}m{G3}q{GH}x{GV}t{GR}u{GL}v{GU}w{GD}n{GC}"
13367 # When translating a termcap file, ncurses tic will do this automatically.
13368 # The double forms characters don't fit the SVr4 terminfo model.
13369 #
13370 # AT&T Extensions:
13371 #
13372 # The old AT&T 5410, 5420, 5425, pc6300plus, 610, and s4 entries used a set of
13373 # nonstandard capabilities.  Its signature is the KM capability, used to name
13374 # some sort of keymap file.  EE, BO, CI, CV, XS, DS, FL and FE are in this
13375 # set.  Comments in the original, and a little cross-checking with other AT&T
13376 # documentation, seem to establish that BO=:mr: (start reverse video), DS=:mh:
13377 # (start dim), XS=:mk: (secure/invisible mode), EE=:me: (end highlights),
13378 # FL=:LO: (enable soft labels), FE=:LF: (disable soft labels), CI=:vi: (make
13379 # cursor invisible), and CV=:ve: (make cursor normal).
13380 #
13381 # HP Extensions
13382 #
13383 # The HP library (as of mid-1995, their term.h file version 70.1) appears to
13384 # have the System V capabilities up to SVr1 level.  After that, it supports
13385 # two nonstandard caps meml and memu corresponding to the old termcap :ml:,
13386 # :mu: capabilities.  After that, it supports caps plab_norm, label_on,
13387 # label_off, and key_f11..key_f63 capabilities like SVr4's.  This makes the
13388 # HP binary format incompatible with SVr4's.
13389 #
13390 # IBM Extensions
13391 #
13392 # There is a set of nonstandard terminfos used by IBM's AIX operating system.
13393 # The AIX terminfo library diverged from SVr1 terminfo, and replaces all
13394 # capabilities following prtr_non with the following special capabilties:
13395 # box[12], batt[12], colb[0123456789], colf[0123456789], f[01234567], kbtab,
13396 # kdo, kcmd, kcpn, kend, khlp, knl, knpn, kppn, kppn, kquit, ksel, kscl, kscr,
13397 # ktab, kmpf[123456789], apstr, ksf1..ksf10, kf11...kf63, kact, topl, btml,
13398 # rvert, lvert.   Some of these are identical to XPG4/SVr4 equivalents:
13399 # kcmd, kend, khlp, and kf11...kf63.  Two others (kbtab and ksel) can be
13400 # renamed (to kcbt and kslt).  The places in the box[12] capabilities
13401 # correspond to acsc chars, here is the mapping:
13402 #
13403 #       box1[0]  = ACS_ULCORNER
13404 #       box1[1]  = ACS_HLINE    
13405 #       box1[2]  = ACS_URCORNER
13406 #       box1[3]  = ACS_VLINE
13407 #       box1[4]  = ACS_LRCORNER
13408 #       box1[5]  = ACS_LLCORNER
13409 #       box1[6]  = ACS_TTEE
13410 #       box1[7]  = ACS_RTEE
13411 #       box1[8]  = ACS_BTEE
13412 #       box1[9]  = ACS_LTEE
13413 #       box1[10] = ACS_PLUS
13414 #
13415 # The box2 characters are the double-line versions of these forms graphics.
13416 # The AIX binary terminfo format is incompatible with SVr4's.
13417 #
13418 # Iris console extensions:
13419 #
13420 # HS is half-intensity start; HE is half-intensity end
13421 # CT is color terminal type (for Curses & rogue)
13422 # CP is color change escape sequence
13423 # CZ are color names (for Curses & rogue)
13424 #
13425 # The ncurses tic utility recognizes HS as an alias for mh <dim>.
13426 #
13427 # TC Extensions:
13428 #
13429 # There is a set of extended termcaps associated with something
13430 # called the "Terminal Control" or TC package created by MainStream Systems,
13431 # Winfield Kansas.  This one also uses GS/GE for as/ae, and also uses
13432 # CF for civis and CO for cvvis.  Finally, they define a boolean :ct:
13433 # that flags color terminals.
13434 #
13435 ######## CHANGE HISTORY
13436 #
13437 # The last /etc/termcap version maintained by John Kunze was 8.3, dated 8/5/94.
13438 # Releases 9 and up are maintained by Eric S. Raymond as part of the ncurses
13439 # project.
13440 #
13441 # This file contains all the capability information present in John Kunze's
13442 # last version of the termcap master file, except as noted in the change 
13443 # comments at end of file.  Some information about very ancient obsolete
13444 # capabilities has been moved to comments.  Some all-numeric names of older
13445 # terminals have been retired.
13446 #
13447 # I changed :MT: to :km: (the 4.4BSD name) everywhere.  I commented out some
13448 # capabilities (EP, dF, dT, dV, kn, ma, ml, mu, xr, xx) that are no longer
13449 # used by BSD curses.
13450 #
13451 # The 9.1.0 version of this file was translated from my lightly-edited copy of
13452 # 8.3, then mechanically checked against 8.3 using Emacs Lisp code written for
13453 # the purpose.  Unless the ncurses tic implementation and the Lisp code were
13454 # making perfectly synchronized mistakes which I then failed to catch by
13455 # eyeball, the translation was correct and perfectly information-preserving.
13456 #
13457 # Major version number bumps correspond to major version changes in ncurses.
13458 #
13459 # Here is a log of the changes since then:
13460 #
13461 # 9.1.0 (Wed Feb  1 04:50:32 EST 1995):
13462 #       * First terminfo master translated from 8.3.
13463 # 9.2.0 (Wed Feb  1 12:21:45 EST 1995):
13464 #       * Replaced Wyse entries with updated entries supplied by vendor.
13465 #
13466 # 9.3.0 (Mon Feb  6 19:14:40 EST 1995):
13467 #       * Added contact & status info from G. Clark Brown <clark@sssi.com>.
13468 # 9.3.1 (Tue Feb  7 12:00:24 EST 1995):
13469 #       * Better XENIX keycap translation.  Describe TC termcaps.
13470 #       * Contact and history info supplied by Qume.
13471 # 9.3.2 (Sat Feb 11 23:40:02 EST 1995):
13472 #       * Raided the Shuford FTP site for recent termcaps/terminfos.
13473 #       * Added information on X3.64 and VT100 standard escape sequences.
13474 # 9.3.3 (Mon Feb 13 12:26:15 EST 1995):
13475 #       * Added a correct X11R6 xterm entry.
13476 #       * Fixed terminfo translations of padding.
13477 # 9.3.4 (Wed Feb 22 19:27:34 EST 1995):
13478 #       * Added correct acsc/smacs/rmacs strings for vt100 and xterm.
13479 #       * Added u6/u7/u8/u9 capabilities.
13480 #       * Added PCVT entry.
13481 # 9.3.5 (Thu Feb 23 09:37:12 EST 1995):
13482 #       * Emacs uses :so:, not :mr:, for its mode line.  Fix linux entry
13483 #         to use reverse-video standout so Emacs will look right.
13484 #       * Added el1 capability to ansi.
13485 #       * Added smacs/rmacs to ansi.sys.
13486 #
13487 # 9.4.0 (Sat Feb 25 16:43:25 EST 1995):
13488 #       * New mt70 entry.
13489 #       * Added COPYRIGHTS AND OTHER DELUSIONS.
13490 #       * Added AT&T 23xx & 500/513, vt220 and vt420, opus3n1+, netronics
13491 #         smartvid & smarterm, ampex 175 & 219 & 232,
13492 #         env230, falco ts100, fluke, intertube, superbrain, ncr7901, vic20,
13493 #         ozzie, trs200, tr600, Tandy & Texas Instruments VDTs, intext2,
13494 #         screwpoint, fviewpoint, Contel Business Systems, Datamedia Colorscan,
13495 #         adm36, mime314, ergo4000, ca22851.  Replaced att7300, esprit, dd5500.
13496 #       * Replaced the Perkin-Elmer entries with vendor's official ones.
13497 #       * Restored the old minimal-ansi entry, luna needs it.
13498 #       * Fixed some incorrect ip and proportional-padding translations.
13499 # 9.4.1 (Mon Feb 27 14:18:33 EST 1995):
13500 #       * Fix linux & AT386 sgr strings to do A_ALTCHARSET turnoff correctly.
13501 #       * Make the xterm entry 65 lines again; create xterm25 and xterm24
13502 #         to force a particular height.
13503 #       * Added beehive4 and reorganized other Harris entries.
13504 # 9.4.2 (Thu Mar  9 01:45:44 EST 1995):
13505 #       * Merged in DEC's official entries for its terminals.  The only old
13506 #         entry I kept was Doug Gwyn's alternate vt100 (as vt100-avo).
13507 #       * Replaced the translated BBN Bitgraph entries with purpose-built
13508 #         ones from AT&T's SVr3.
13509 #       * Replaced the AT&T entries with AT&T's official terminfos.
13510 #       * Added teleray 16, vc415, cops10. 
13511 #       * Merged in many individual capabilities from SCO terminfo files.
13512 # 9.4.3 (Mon Mar 13 02:37:53 EST 1995):
13513 #       * Typo fixes.
13514 #       * Change linux entry so A_PROTECT enables IBM-PC ROM characters.
13515 # 9.4.4 (Mon Mar 27 12:32:35 EST 1995):
13516 #       * Added tty35, Ann Arbor Guru series. vi300 and 550, cg7900, tvi803,
13517 #         pt210, ibm3164, IBM System 1, ctrm, Tymshare scanset, dt200, adm21,
13518 #         simterm, citoh and variants.
13519 #       * Replaced sol entry with sol1 and sol2.
13520 #       * Replaced Qume QVT and Freedom-series entries with purpose-built
13521 #         terminfo entries.
13522 #       * Enhanced vt220, tvi910, tvi924, hpterm, hp2645, adm42, tek
13523 #         and dg200 entries using caps from from SCO.
13524 #       * Added the usual set of function-key mappings to ANSI entry.
13525 #       * Corrected xterm's function-key capabilities.
13526 # 9.4.5 (Tue Mar 28 14:27:49 EST 1995):
13527 #       * Fix in xterm entry, cub and cud are not reliable under X11R6.
13528 # 9.4.6 (Thu Mar 30 14:52:15 EST 1995):
13529 #       * Fix in xterm entry, get the arrow keys right.
13530 #       * Change some \0 escapes to \200.
13531 # 9.4.7 (Tue Apr  4 11:27:11 EDT 1995)
13532 #       * Added apple (Videx card), adm1a, oadm31.
13533 #       * Fixed malformed ampex csr.
13534 #       * Fixed act4, cyb110; they had old-style prefix padding left in. 
13535 #       * Changed mandatory to advisory padding in many entries.
13536 #       * Replaced HP entries up to hpsub with purpose-built ones.
13537 #       * Blank rmir/smir/rmdc/smdc capabilities removed.
13538 #       * Small fixes merged in from SCO entries for lpr, fos, tvi910+, tvi924.
13539 # 9.4.8 (Fri Apr  7 09:36:34 EDT 199):
13540 #       * Replaced the Ann Arbor entries with SCO's, the init strings are
13541 #         more efficient (but the entries otherwise identical).
13542 #       * Added dg211 from Shuford archive.
13543 #       * Added synertek, apple-soroc, ibmpc, pc-venix, pc-coherent, xtalk,
13544 #         adm42-nl, pc52, gs6300, xerox820, uts30.
13545 #       * Pull SCO's padding into vi200 entry.
13546 #       * Improved capabilities for tvi4107 and other Televideo and Viewpoint
13547 #         entries merged in from SCO's descriptions.
13548 #       * Fixed old-style prefix padding on zen50, h1500.
13549 #       * Moved old superbee entry to superbee-xsb, pulled in new superbee
13550 #         entry from SCO's description.
13551 #       * Reorganized the special entries.
13552 #       * Added lm#0 to cbunix and virtual entries.
13553 #
13554 # 9.5.0 (Mon Apr 10 11:30:00 EDT 1995):
13555 #       * Restored cdc456tst.
13556 #       * Fixed sb1 entry, SCO erroneously left out the xsb glitch.
13557 #       * Added megatek, beacon, microkit.
13558 #       * Freeze for ncurses-1.9 release.
13559 # 9.5.1 (Fri Apr 21 12:46:42 EDT 1995):
13560 #       * Added historical data for TAB.
13561 #       * Comment fixes from David MacKenzie.
13562 #       * Added the new BSDI pc3 entry.
13563 # 9.5.2 (Tue Apr 25 17:27:52 EDT 1995)
13564 #       * A change in the tic -C logic now ensures that all entries in 
13565 #         the termcap translation will fit in < 1024 bytes.
13566 #       * Added `bobcat' and `gator' HP consoles and the Nu machine entries
13567 #         from GNU termcap file.  This merges in all their local information.
13568 # 9.5.3 (Tue Apr 25 22:28:13 EDT 1995)
13569 #       * Changed tic -C logic to dump all capabilities used by GNU termcap.
13570 #       * Added warnings about entries with long translations (restoring
13571 #         all the GNU termcaps pushes a few over the edge).
13572 # 9.5.4 (Wed Apr 26 15:35:09 EDT 1995)
13573 #       * Yet another tic change, and a couple of entry tweaks, to reduce the
13574 #         number of long (> 1024) termcap translations back to 0.
13575 #
13576 # 9.6.0 (Mon May  1 10:35:54 EDT 1995)
13577 #       * Added kf13-kf20 to Linux entry.
13578 #       * Regularize Prime terminal names.
13579 #       * Historical data on Synertek.
13580 #       * Freeze for ncurses-1.9.1.
13581 # 9.6.1 (Sat May  6 02:00:52 EDT 1995):
13582 #       * Added true xterm-color entry, renamed djm's pseudo-color entry.
13583 #       * Eliminate whitespace in short name fields, this tanks some scripts.
13584 #       * Name field changes to shorten some long entries.
13585 #       * Termcap translation now automatically generates empty rmir/smir
13586 #         when ich1/ich is present (copes with an ancient vi bug).
13587 #       * Added `screen' entries from FSF's screen-3.6.2.
13588 #       * Added linux-nic and xterm-nic entries.
13589 # 9.6.2 (Sat May  6 17:00:55 EDT 1995):
13590 #       * Change linux entry to use smacs=\E[11m and have an explicit acsc,
13591 #         eliminating some special-case code in ncurses.
13592 #
13593 # 9.7.0 (Tue May  9 18:03:12 EDT 1995):
13594 #       * Added vt320-k3, rsvidtx from the Emacs termcap.dat file.  I think
13595 #         that captures everything unique from it.
13596 #       * Added reorder script generator.
13597 #       * Freeze for ncurses 1.9.2 release.
13598 # 9.7.1 (Thu Jun 29 09:35:22 EDT 1995):
13599 #       * Added Sean Farley's kspd, flash, rs1 capabilities for linux.
13600 #       * Added Olaf Siebert's corrections for adm12.
13601 #       * ansi-pc-color now includes the colors and pairs caps, so that
13602 #         entries which use it will inherit them automatically.
13603 #       * The linux entry can now recognize the center (keypad 5) key.
13604 #       * Removed some junk that found its way into Linux acsc.
13605 #
13606 # 9.8.0 (Fri Jul  7 04:46:57 EDT 1995):
13607 #       * Add 50% cut mark as a desperate hack to reduce tic's core usage.
13608 #       * xterm doesn't try to use application keypad mode any more.
13609 #       * Freeze for ncurses-1.9.3 release.
13610 # 9.8.1 (Thu Jul 19 17:02:12 EDT 1995):
13611 #       * Added corrected sun entry from vendor.
13612 #       * Added csr capability to linux entry.
13613 #       * Peter Wemm says the at386 hpa should be \E[%i%p1%dG, not \E[%p1%dG.
13614 #       * Added vt102-nsgr to cope with stupid IBM PC `VT100' emulators.
13615 #       * Some commented-out caps in long entries come back in, my code 
13616 #         for computing string-table lengths had a bug in it.
13617 #       * pcansi series modified to fit comm-program reality better.
13618 # 9.8.2 (Sat Sep  9 23:35:00 EDT 1995):
13619 #       * BSD/OS actually ships the ibmpc3 bold entry as its console.
13620 #       * Correct some bad aliases in the pcansi series
13621 #       * Added entry for QNX console.
13622 #       * Clean up duplicate long names for use with 4.4 library.
13623 #       * Change vt100 standout to be normal reverse vide, not bright reverse;
13624 #         this makes the Emacs status line look better.
13625 # 9.8.3 (Sun Sep 10 13:07:34 EDT 1995):
13626 #       * Added Adam Thompson's VT320 entries, also his dtx-sas and z340.
13627 #       * Minor surgery, mostly on name strings, to shorten termcap version.
13628 #
13629 # 9.9.0 (Sat Sep 16 23:03:48 EDT 1995):
13630 #       * Added dec-vt100 for use with the EWAN emulator.
13631 #       * Added kmous to xterm for use with xterm's mouse-tracking facility.
13632 #       * Freeze for 1.9.5 alpha release.
13633 # 9.9.1 (Wed Sep 20 13:46:09 EDT 1995):
13634 #       * Changed xterm lines to 24, the X11R6 default.
13635 # 9.9.2 (Sat Sep 23 21:29:21 EDT 1995):
13636 #       * Added 7 newly discovered, undocumented acsc characters to linux
13637 #         entry (the pryz{|} characters).
13638 #       * ncurses no longer steals A_PROTECT.  Simplify linux sgr accordingly.
13639 #       * Correct two typos in the xterm entries introduced in 9.9.1.
13640 #       * I finally figured out how to translate ko capabilities.  Done.
13641 #       * Added tvi921 entries from Tim Theisen.
13642 #       * Cleanup: dgd211 -> dg211, adm42-nl -> adm42-nsl.
13643 #       * Removed mystery tec entry, it was neither interesting nor useful.
13644 #       * shortened altos3, qvt203, tvi910+, tvi92D, tvi921-g, tvi955, vi200-f,
13645 #         vi300-ss, att505-24, contel301, dm3045, f200vi, pe7000c, vc303a,
13646 #         trs200, wind26, wind40, wind50, cdc456tst, dku7003, f110, dg211,
13647 #         by making them relative to use capabilities
13648 #       * Added cuf1=^L to tvi925 from deleted variant tvi925a.
13649 #       * fixed cup in adm22 entry and parametrized strings in vt320-k3.
13650 #       * added it#8 to entries that used to have :pt: -- tvi912, vi200,
13651 #         ampex80,
13652 #       * Translate all home=\E[;H capabilities to home=\E[H, they're 
13653 #         equivalent.
13654 #       * Translate \E[0m -> \E[m in [rs]mso, [rs]mul, and init strings of
13655 #         vt100 and ANSI-like terminals.
13656 # 9.9.3 (Tue Sep 26 20:11:15 EDT 1995):
13657 #       * Added it#8 and ht=\t to *all* entries with :pt:; the ncurses tic
13658 #         does this now, too.
13659 #       * fviewpoint is gone, it duplicated screwpoint.
13660 #       * Added hp2627, graphos, graphos-30, hpex, ibmega, ibm8514, ibm8514-c,
13661 #         ibmvga, ibmvga-c, minix, mm340, mt4520-rv, screen2, screen3, 
13662 #         versaterm, vi500, vsc, vt131, vt340, vt400 entries from UW.
13663 #         The UW vi50 replaces the old one, which becomes vi50adm,
13664 #       * No more embedded commas in name fields.
13665 #
13666 # 9.10.0 (Wed Oct  4 15:39:37 EDT 1995):
13667 #       * XENIX forms characters in fos, trs16, scoansi become acsc strings,
13668 #       * Introduced klone+* entries for describing Intel-console behavior.
13669 #       * Linux kbs is default-mapped to delete for some brain-dead reason.
13670 #       * -nsl -> -ns.  The -pp syntax is obsolete.
13671 #       * Eliminate [A-Z]* primaries in accordance with SVr4 terminfo docs.
13672 #       * Make xterm entry do application-keypad mode again.  I got complaints
13673 #         that it was messing up someone's 3270 emulator.
13674 #       * Added some longname fields in order to avoid warning messages from
13675 #         older tic implementations.
13676 #       * According to ctrlseqs.ms, xterm has a full vt100 graphics set.  Use
13677 #         it! (This gives us pi, greater than, less than, and a few more.)
13678 #       * Freeze for ncurses-1.9.6 release.
13679 # 9.10.1 (Sat Oct 21 22:18:09 EDT 1995):
13680 #       * Add xon to a number of console entries, they're memory-mapped and
13681 #         don't need padding.
13682 #       * Correct the use dependencies in the ansi series.
13683 #       * Hand-translate more XENIX capabilities.
13684 #       * Added hpterm entry for HP's X terminal emulator.
13685 #       * Added aixterm entries.
13686 #       * Shortened four names so everything fits in 14 chars.  
13687 #
13688 # 9.11.0 (Thu Nov  2 17:29:35 EST 1995):
13689 #       * Added ibcs2 entry and info on iBCS2 standard.
13690 #       * Corrected hpa/vpa in linux entry.  They still fail the worm test.
13691 #       * We can handle the HP meml/memu capability now.
13692 #       * Added smacs to klone entries, just as documentation.
13693 #       * Carrected ansi.sys and cit-500 entries.
13694 #       * Added z39, vt320-k311, v220c, and avatar entries.
13695 #       * Make pcansi use the ansi.sys invis capability.
13696 #       * Added DIP switch descriptions for vt100, adm31, tvi910, tvi920c,
13697 #         tvi925, tvi950, dt80, ncr7900i, h19.
13698 #       * X3.64 has been withdrawn, change some references.
13699 #       * Removed function keys from ansi-m entry.
13700 #       * Corrected ansi.sys entry.
13701 #       * Freeze for ncurses-1.9.7 release.
13702 # 9.11.1 (Tue Nov  6 18:18:38 EST 1995):
13703 #       * Added rmam/smam capabilities to many entries based on init strings.
13704 #       * Added correct hpa/vpa to linux.
13705 #       * Reduced several entries relative to vt52.
13706 # 9.11.2 (Tue Nov  7 00:21:06 EST 1995):
13707 #       * Exiled some utterly unidentifiable custom and homebrew types to the
13708 #         UFO file; also, obsolete small-screen hardware; also, entries which
13709 #         look flat-out incorrect, garbled, or redundant.  These include the
13710 #         following entries: carlock, cdc456tst, microkit, qdss, ramtek, tec, 
13711 #         tec400, tec500, ubell, wind, wind16, wind40, wind50, plasma, agile,
13712 #         apple, bch, daleblit, nucterm, ttywilliams, nuterminal, nu24, bnu,
13713 #         fnu, nunix-30, nunix-61, exidy, ex3000, sexidy, pc52, sanyo55, 
13714 #         yterm10, yterm11, yterm10nat, aed, aed-ucb, compucolor, compucolor2, 
13715 #         vic20, dg1, act5s, netx, smartvid, smarterm, sol, sol2, dt200, 
13716 #         trs80, trs100, trs200, trs600, xitex, rsvidtx, vid, att2300-x40, 
13717 #         att2350-x40, att4410-nfk, att5410-ns, otty5410, att5425-nl-w, 
13718 #         tty5425-fk, tty5425-w-fk, cita, c108-na, c108-rv-na, c100-rv-na, 
13719 #         c108-na-acs, c108-rv-na-acs, ims950-ns, infotonKAS, ncr7900i-na, 
13720 #         regent60na, scanset-n, tvi921-g, tvi925n, tvi925vbn, tvi925vb, 
13721 #         vc404-na, vc404-s-na, vt420nam, vt420f-nam, vt420pc-nam, vt510nam, 
13722 #         vt510pc-nam, vt520nam, vt525nam, xterm25, xterm50, xterm65, xterms.
13723 #       * Corrected pcvt25h as suggested by Brian C. Grayson
13724 #         <bgrayson@pine.ece.utexas.edu>.
13725 # 9.11.3 (Thu Nov  9 12:14:40 EST 1995):
13726 #       * Added kspd=\E[P, kcbt=\E[Z, to linux entry, changed kbs back to ^H. 
13727 #       * Added kent=\EOM to xterm entry.
13728 #
13729 # 9.11.4 (Fri Nov 10 08:31:35 EST 1995):
13730 #       * Corrected gigi entry.
13731 #       * Restored cuf/cud1 to xterm, their apparent bugginess was due to
13732 #         bad hpa/vpa capabilities.
13733 #       * Corrected flash strings to have a uniform delay of .2 sec.  No
13734 #         more speed-dependent NUL-padding!
13735 #       * terminfo capabilities in comments bracketed with <>.
13736 # 9.11.5 (Fri Nov 10 15:35:02 EST 1995):
13737 #       * Replaced pcvt with the 3.31 pcvt entries.
13738 #       * Freeze for 1.9.7a.
13739 # 9.11.6 (Mon Nov 13 10:20:24 EST 1995):
13740 #       * Added emu entry from the X11R6 contrib tape sources.
13741 #
13742 # 9.12.0 (Wed Nov 29 04:22:25 EST 1995):
13743 #       * Improved iris-ansi and sun entries.
13744 #       * More flash string improvements.
13745 #       * Corrected wy160 & wy160 as suggested by Robert Dunn
13746 #       * Added dim to at386.  
13747 #       * Reconciled pc3 and ibmpc3 with the BSDI termcap file.  Keith says
13748 #         he's ready to start using the termcap generated from this one.
13749 #       * Added vt102-w, vt220-w, xterm-bold, wyse-vp, wy75ap, att4424m,
13750 #         ln03, lno3-w, h19-g, z29a*, qdss.  Made vt200 an alias of vt220.
13751 #       * Improved hpterm, apollo consoles, fos, qvt101, tvi924. tvi925,
13752 #         att610, att620, att630, 
13753 #       * Changed hazeltine name prefix from h to hz.
13754 #       * Sent t500 to the UFI file.
13755 #       * I think we've sucked all the juice out of BSDI's termcap file now.
13756 #       * Freeze for ncurses 1.9.8 release
13757 # 9.12.1 (Thu Nov 30 03:14:06 EST 1995)
13758 #       * Unfreeze, linux kbs needed to be fixed.
13759 #       * Tim Theisen pinned down a bug in the DMD firmware.
13760 # 9.12.2 (Thu Nov 30 19:08:55 EST 1995):
13761 #       * Fixes to ansi and klone capabilities (thank you, Aaron Ucko).
13762 #         (The broken ones had been shadowed by sgr.)
13763 # 9.12.3 (Thu Dec  7 17:47:22 EST 1995):
13764 #       * Added documentation on ECMA-48 standard.
13765 #       * New Amiga entry.
13766 # 9.12.4 (Thu Dec 14 04:16:39 EST 1995):
13767 #       * More ECMA-48 stuff
13768 #       * Corrected typo in minix entry, added pc-minix.
13769 #       * Corrected khome/kend in xterm (thank you again, Aaron Ucko).
13770 #       * Added rxvt entry.
13771 #       * Added 1.3.x color-change capabilities to linux entry.
13772 # 9.12.5 (Tue Dec 19 00:22:10 EST 1995):
13773 #       * Corrected rxvt entry khome/kend.
13774 #       * Corrected linux color change capabilities.
13775 #       * NeXT entries from Dave Wetzel.
13776 #       * Cleaned up if and rf file names (all in /usr/share now).
13777 #       * Changed linux op capability to avoid screwing up a background color
13778 #         pair set by setterm.
13779 # 9.12.6 (Wed Feb  7 16:14:35 EST 1996):
13780 #       * Added xterm-sun.
13781 # 9.12.7 (Fri Feb  9 13:27:35 EST 1996):
13782 #       * Added visa50.
13783 #
13784 # 9.13.0 (Sun Mar 10 00:13:08 EST 1996):
13785 #       * Another sweep through the Shuford archive looking for new info.
13786 #       * Added dg100 alias to dg6053 based on a comp.terminals posting.
13787 #       * Added st52 from Per Persson.
13788 #       * Added eterm from the GNU Emacs 19.30 distribution.
13789 #       * Freeze for 1.9.9.
13790 # 9.13.1 (Fri Mar 29 14:06:46 EST 1996):
13791 #       * FreeBSD console entries from Andrew Chernov.
13792 #       * Removed duplicate Atari st52 name.
13793 # 9.13.2 (Tue May  7 16:10:06 EDT 1996)
13794 #       * xterm doesn't actually have ACS_BLOCK.
13795 #       * Change klone+color setf/setb to simpler forms that can be
13796 #         translated into termcap.
13797 #       * Added xterm1.
13798 #       * Removed mechanically-generated junk capabilities from cons* entries.
13799 #       * Added color support to bsdos.
13800 # 9.13.3 (Thu May  9 10:35:51 EDT 1996):
13801 #       * Added Wyse 520 entries from Wm. Randolph Franklin <wrf@ecse.rpi.edu>.
13802 #       * Created ecma+color, linux can use it.  Also added ech to linux.
13803 #       * Teach xterm about more keys. Add Thomas Dickey's 3.1.2E updates.
13804 #       * Add descriptions to FreeBSD console entries.  Also shorten
13805 #         some aliases to <= 14 chars for portability.
13806 #       * Added x68k console
13807 #       * Added OTbs to several VT-series entries.
13808 # 9.13.4 (Wed May 22 10:54:09 EDT 1996):
13809 #       * screen entry update for 3.7.1 from Michael Alan Dorfman.
13810 # 9.13.5 (Wed Jun  5 11:22:41 EDT 1996):
13811 #       * kterm correction due to Kenji Rikitake.
13812 #       * ACS correction in vt320-kll due to Phillippe De Muyter.
13813 # 9.13.6 (Sun Jun 16 15:01:07 EDT 1996):
13814 #       * Sun console entry correction from J.T. Conklin.
13815 #       * Changed all DEC VT300 and up terminals to use VT300 tab set
13816 # 9.13.7 (Mon Jul  8 20:14:32 EDT 1996):
13817 #       * Added smul to linux entry (we never noticed it was missing 
13818 #         because of sgr!).
13819 #       * Added rmln to hp+labels (deduced from other HP entries).
13820 #       * Added vt100 acsc capability to vt220, vt340, vt400, d800, dt80-sas,
13821 #         pro350, att7300, 5420_2, att4418, att4424, att4426, att505, vt320-k3.
13822 #       * Corrected vt220 acsc.
13823 #       * The klone+sgr and klone+sgr-dumb entries now use klone+acs;
13824 #         this corresponds to reality and helps prevent some tic warnings.
13825 #       * Added sgr0 to c101, pcix, vt100-nav, screen2, oldsun, next, altos2,
13826 #         hpgeneric, hpansi, hpsub, hp236, hp700-wy, bobcat, dku7003, adm11,
13827 #         adm12, adm20, adm21, adm22, adm31, adm36, adm42, pt100, pt200,
13828 #         qvt101, tvi910, tvi921, tvi92B, tvi925, tvi950, tvi970, wy30-mc,
13829 #         wy50-mc, wy100, wyse-vp, ampex232, regent100, viewpoint, vp90,
13830 #         adds980, cit101, cit500, contel300, cs10, dm80, falco, falco-p, 
13831 #         f1720a, go140, sb1, superbeeic, microb, ibm8512, kt7, ergo4000,
13832 #         owl, uts30, dmterm, dt100, dt100, dt110, appleII, apple-videx,
13833 #         lisa, trsII, atari, st52, pc-coherent, basis, m2-man, bg2.0, bg1.25,
13834 #         dw3, ln03, ims-ansi, graphos, t16, zen30, xtalk, simterm, d800,
13835 #         ifmr, v3220, wy100q, tandem653, ibmaed.
13836 #       * Added DWK terminal description.
13837 # 9.13.8 (Wed Jul 10 11:45:21 EDT 1996):
13838 #       * Many entries now have highlights inherited from adm+sgr.
13839 #       * xterm entry now corresponds to XFree86 3.1.2E, with color.
13840 #       * xtitle and xtitle-twm enable access to the X status line.
13841 #       * Added linux-1.3.6 color palette caps in conventional format.
13842 #       * Added adm1178 terminal.
13843 #       * Move fos and apollo terminals to obsolete category.
13844 #       * Aha! The BRL terminals file told us what the Iris extensions mean.
13845 #       * Added, from the BRL termcap file: rt6221, rt6221-w, northstar,
13846 #         commodore, cdc721-esc, excel62, osexec.  Replaced from the BRL file:
13847 #         cit500, adm11. 
13848 # 9.13.9 (Mon Jul 15 00:32:51 EDT 1996):
13849 #       * Added, from the BRL termcap file: cdc721, cdc721l, cdc752, cdc756,
13850 #         aws, awsc, zentec8001, modgraph48, rca vp3301/vp3501, ex155.
13851 #       * Corrected, from BRL termcap file: vi50.
13852 #       * Better rxvt entry & corrected xterm entries from Thomas Dickey.
13853 # 9.13.10 (Mon Jul 15 12:20:13 EDT 1996):
13854 #       * Added from BRL: cit101e & variants, hmod1, vi200, ansi77, att5620-1,
13855 #         att5620-s, att5620-s, dg210, aas1901, hz1520, hp9845, osborne
13856 #         (old osborne moved to osborne-w), tvi970-vb, tvi970-2p, tvi925-hi,
13857 #         tek4105brl, tek4106brl, tek4107brl,tek4109brl, hazel, aepro,
13858 #         apple40p, apple80p, appleIIgs, apple2e, apple2e-p, apple-ae.
13859 #       * Paired-attribute fixes to various terminals.
13860 #       * Sun entry corrections from A. Lukyanov & Gert-Jan Vons.
13861 #       * xterm entry corrections from Thomas Dickey.
13862 # 9.13.11 (Tue Jul 30 16:42:58 EDT 1996):
13863 #       * Added t916 entry, translated from a termcap in SCO's support area.
13864 #       * New qnx entry from Michael Hunter.
13865 # 9.13.12 (Mon Aug  5 14:31:11 EDT 1996):
13866 #       * Added hpex2 from Ville Sulko.
13867 #       * Fixed a bug that ran the qnx and pcvtXX together.
13868 # 9.13.13 (Fri Aug  9 01:16:17 EDT 1996):
13869 #       * Added dtterm entry from Solaris CDE.
13870 # 9.13.14 (Tue Sep 10 15:31:56 EDT 1996):
13871 #       * corrected pairs#8 typo in dtterm entry.
13872 #       * added tvi9065.
13873 # 9.13.15 (Sun Sep 15 02:47:05 EDT 1996):
13874 #       * updated xterm entry to cover 3.1.2E's new features.  
13875 # 9.13.16 (Tue Sep 24 12:47:43 EDT 1996):
13876 #       * Added new minix entry
13877 #       * Removed aliases of the form ^[0-9]* for obsolete terminals.
13878 #       * Commented out linux-old, nobody's using pre-1.2 kernels now.
13879 # 9.13.17 (Fri Sep 27 13:25:38 EDT 1996):
13880 #       * Added Prism entries and kt7ix.
13881 #       * Caution notes about EWAN and tabset files.
13882 #       * Changed /usr/lib/tabset -> /usr/share/tabset.
13883 #       * Added acsc/rmacs/smacs to vt52.
13884 # 9.13.18 (Mon Oct 28 13:24:59 EST 1996):
13885 #       * Merged in Thomas Dickey's reorganization of the xterm entries;
13886 #         added technical corrections to avoid warning messages.
13887 # 9.13.19 (Sat Nov 16 16:05:49 EST 1996):
13888 #       * Added rmso=\E[27m in Linux entry.
13889 #       * Added koi8-r support for Linux console.
13890 #       * Replace xterm entries with canonical ones from XFree86 3.2.
13891 # 9.13.20 (Sun Nov 17 23:02:51 EST 1996):
13892 #       * Added color_xterm from Jacob Mandelson
13893 # 9.13.21 (Mon Nov 18 12:43:42 EST 1996):
13894 #       * Back off the xterm entry to use r6 as a base.
13895 # 9.13.22 (Sat Nov 30 11:51:31 EST 1996):
13896 #       * Added dec-vt220 at Adrian Garside's request.
13897 #
13898 # 10.1.0 (Sun Dec 29 02:36:31 EST 1996):
13899 #       * Minor corrections to xterm entries.
13900 #       * Replaced EWAN telnet entry.
13901 #       * Dropped the reorder script generator.  It was a fossil.
13902 # 10.1.1 (Sat May  3 21:41:27 EDT 1997):
13903 #       * Use setaf/setab consistently with SVr4.
13904 #       * Remove ech, el1 from cons25w, they do not work in FreeBSD 2.1.5
13905 #
13906 # The following sets edit modes for GNU EMACS
13907 # Local Variables:
13908 # fill-prefix:"\t"
13909 # fill-column:75
13910 # End:
13911 ######## SHANTIH!  SHANTIH!  SHANTIH!