]> ncurses.scripts.mit.edu Git - ncurses.git/blob - misc/terminfo.src
ncurses 5.1
[ncurses.git] / misc / terminfo.src
1 ######## TERMINAL TYPE DESCRIPTIONS SOURCE FILE
2 #
3 # This version of terminfo.src is distributed with ncurses.
4 # Report bugs to
5 #       bug-ncurses@gnu.org
6 #
7 #       Version 10.2.1
8 #       $Date: 2000/07/01 21:23:58 $
9 #       terminfo syntax
10 #
11 #       Eric S. Raymond         (current maintainer)
12 #       John Kunze, Berkeley
13 #       Craig Leres, Berkeley
14 #
15 # Please e-mail changes to terminfo@thyrsus.com; the old termcap@berkeley.edu
16 # address is no longer valid.  The latest version can always be found at
17 # <http://www.tuxedo.org/terminfo>.
18 #
19 # PURPOSE OF THIS FILE:
20 #
21 # This file describes the capabilities of various character-cell terminals,
22 # as needed by software such as screen-oriented editors.
23 #
24 # Other terminfo and termcap files exist, supported by various OS vendors
25 # or as relics of various older versions of UNIX.  This one is the longest
26 # and most comprehensive one in existence.  It subsumes not only the entirety
27 # of the historical 4.4BSD, GNU, System V and SCO termcap files and the BRL
28 # termcap file, but also large numbers of vendor-maintained termcap and
29 # terminfo entries more complete and carefully tested than those in historical
30 # termcap/terminfo versions.
31 #
32 # Pointers to related resources (including the ncurses distribution) may
33 # be found at <http://www.tuxedo.org/terminfo>.
34 #
35 # INTERNATIONALIZATION:
36 #
37 # This file uses only the US-ASCII character set (no ISO8859 characters).
38 #
39 # This file assumes a US-ASCII character set. If you need to fix this, start
40 # by global-replacing \E(B and \E)B with the appropriate ISO 6429 enablers
41 # for your character set.  \E(A and \E)A enables the British character set
42 # with the pound sign at position 2/3.  
43 #
44 # In a Japanese-processing environment using EUC/Japanese or Shift-JIS,
45 # C1 characters are considered the first-byte set of the Japanese encodings,
46 # so \E)0 should be avoided in <enacs> and initialization strings.
47 #
48 # FILE FORMAT:
49 #
50 # The version you are looking at may be in any of three formats: master
51 # (terminfo with OT capabilities), stock terminfo, or termcap.  You can tell
52 # which by the format given in the header above.
53 #
54 # The master format is accepted and generated by the terminfo tools in the
55 # ncurses suite; it differs from stock (System V-compatible) terminfo only
56 # in that it admits a group of capabilities (prefixed `OT') equivalent to
57 # various obsolete termcap capabilities.  You can, thus, convert from master
58 # to stock terminfo simply by filtering with `sed "/OT[^,]*,/s///"'; but if
59 # you have ncurses `tic -I' is nicer (among other things, it automatically
60 # outputs entries in a canonical form).
61 #
62 # The termcap version is generated automatically from the master version
63 # using tic -C.  This filtering leaves in the OT capabilities under their
64 # original termcap names.  All translated entries fit within the 1023-byte
65 # string-table limit of archaic termcap libraries except where explicitly
66 # noted below.  Note that the termcap translation assumes that your termcap
67 # library can handle multiple tc capabilities in an entry. 4.4BSD has this
68 # capability.  Older versions of GNU termcap, through 1.3, do not. 
69 #
70 # For details on these formats, see terminfo(5) in the ncurses distribution,
71 # and termcap(5) in the 4.4BSD Unix Programmer's Manual.  Be aware that 4.4BSD
72 # curses has been declared obsolete by the caretakers of the 4.4BSD sources
73 # as of June 1995; they are encouraging everyone to migrate to ncurses.
74 #
75 # Note: unlike some other distributed terminfo files (Novell Unix & SCO's),
76 # no entry in this file has embedded comments.  This is so source translation
77 # to termcap only has to carry over leading comments.  Also, no name field
78 # contains embedded whitespace (such whitespace confuses rdist).
79 #
80 # Further note: older versions of this file were often installed with an editor
81 # script (reorder) that moved the most common terminal types to the front of
82 # the file.  This should no longer be necessary, as the file is now ordered
83 # roughly by type frequency with ANSI/VT100 and other common types up front.
84 #
85 # Some information has been merged in from terminfo files distributed by
86 # USL and SCO (see COPYRIGHTS AND OTHER DELUSIONS below).  Much information
87 # comes from vendors who maintain official terminfos for their hardware
88 # (notably DEC and Wyse).
89 #
90 # A detailed change history is included at the end of this file.
91 #
92 # FILE ORGANIZATION:
93 #
94 # Comments in this file begin with # - they cannot appear in the middle
95 # of a terminfo/termcap entry (this feature had to be sacrificed in order
96 # to allow standard terminfo and termcap syntax to be generated cleanly from
97 # the master format).  Individual capabilities are commented out by
98 # placing a period between the colon and the capability name.
99 #
100 # The file is divided up into major sections (headed by lines beginning with 
101 # the string "########") and minor sections (beginning with "####"); do
102 #
103 #       grep "^####" <file> | more
104 #
105 # to see a listing of section headings.  The intent of the divisions is
106 # (a) to make it easier to find things, and (b) to order the database so
107 # that important and frequently-encountered terminal types are near the
108 # front (so that you'll get reasonable search efficiency from a linear
109 # search of the termcap form even if you don't use reorder).  Minor sections
110 # usually correspond to manufacturers or standard terminal classes. 
111 # Parenthesized words following manufacturer names are type prefixes or
112 # product line names used by that manufacturers.
113 #
114 # HOW TO READ THE ENTRIES:
115 #
116 # The first name in an entry is the canonical name for the model or
117 # type, last entry is a verbose description.  Others are mnemonic synonyms for
118 # the terminal.
119 #
120 # Terminal names look like <manufacturer> <model> - <modes/options>
121 # The part to the left of the dash, if a dash is present, describes the
122 # particular hardware of the terminal.  The part to the right may be used
123 # for flags indicating special ROMs, extra memory, particular terminal modes,
124 # or user preferences.
125 #
126 # All names should be in lower case, for consistency in typing.
127 #
128 # The following are conventionally used suffixes:
129 #       -2p     Has two pages of memory.  Likewise 4p, 8p, etc.
130 #       -am     Enable auto-margin.
131 #       -m      Monochrome.  Suppress color support
132 #       -mc     Magic-cookie.  Some terminals (notably older Wyses) can
133 #               only support one attribute without magic-cookie lossage.
134 #               Their base entry is usually paired with another that
135 #               uses magic cookies to support multiple attributes.
136 #       -nam    No auto-margin - suppress <am> capability
137 #       -nl     No labels - suppress soft labels
138 #       -ns     No status line - suppress status line
139 #       -rv     Terminal in reverse video mode (black on white)
140 #       -s      Enable status line.
141 #       -vb     Use visible bell (<flash>) rather than <bel>.
142 #       -w      Wide - in 132 column mode.
143 # If a name has multiple suffixes and one is a line height, that one should 
144 # go first.  Thus `aaa-30-s-rv' is recommended over `aaa-s-rv-30'.  
145
146 # Entries with embedded plus signs are designed to be included through use/tc
147 # capabilities, not used as standalone entries. 
148 #
149 # To avoid search clashes, some older all-numeric names for terminals have
150 # been removed (i.e., "33" for the Model 33 Teletype, "2621" for the HP2621).
151 # All primary names of terminals now have alphanumeric prefixes.
152 #
153 # Comments marked "esr" are mostly results of applying the termcap-compiler
154 # code packaged with ncurses and contemplating the resulting error messages. 
155 # In many cases, these indicated obvious fixes to syntax garbled by the
156 # composers.  In a few cases, I was able to deduce corrected forms for garbled
157 # capabilities by looking at context.  All the information in the original
158 # entries is preserved in the comments.
159 #
160 # In the comments, terminfo capability names are bracketed with <> (angle
161 # brackets).  Termcap capability names are bracketed with :: (colons).
162 #
163 # INTERPRETATION OF USER CAPABILITIES
164 #
165 # The System V Release 4 and XPG4 terminfo format defines ten string
166 # capabilities for use by applications, <u0>...<u9>.   In this file, we use
167 # certain of these capabilities to describe functions which are not covered
168 # by terminfo.  The mapping is as follows:
169 #
170 #       u9      terminal enquire string (equiv. to ANSI/ECMA-48 DA)
171 #       u8      terminal answerback description
172 #       u7      cursor position request (equiv. to VT100/ANSI/ECMA-48 DSR 6)
173 #       u6      cursor position report (equiv. to ANSI/ECMA-48 CPR)
174 #
175 # The terminal enquire string <u9> should elicit an answerback response
176 # from the terminal.  Common values for <u9> will be ^E (on older ASCII
177 # terminals) or \E[c (on newer VT100/ANSI/ECMA-48-compatible terminals).
178 #
179 # The cursor position request (<u7>) string should elicit a cursor position
180 # report.  A typical value (for VT100 terminals) is \E[6n.
181 #
182 # The terminal answerback description (u8) must consist of an expected
183 # answerback string.  The string may contain the following scanf(3)-like
184 # escapes:
185 #
186 #       %c      Accept any character
187 #       %[...]  Accept any number of characters in the given set
188 #
189 # The cursor position report (<u6>) string must contain two scanf(3)-style 
190 # %d format elements.  The first of these must correspond to the Y coordinate
191 # and the second to the %d.  If the string contains the sequence %i, it is
192 # taken as an instruction to decrement each value after reading it (this is
193 # the inverse sense from the cup string).  The typical CPR value is
194 # \E[%i%d;%dR (on VT100/ANSI/ECMA-48-compatible terminals).
195 #
196 # These capabilities are used by tack(1m), the terminfo action checker
197 # (distributed with ncurses 5.0).
198 #
199 # TABSET FILES
200 #
201 # All the entries in this file have been edited to assume that the tabset
202 # files directory is /usr/share/tabset, in conformance with the File Hierarchy
203 # Standard for Linux and open-source BSD systems.  Some vendors (notably Sun)
204 # use /usr/lib/tabset or (more recently) /usr/share/lib/tabset.  
205 #
206 # No curses package we know of actually uses these files.  If their location
207 # is an issue, you will have to hand-patch the file locations before compiling
208 # this file.
209
210 # REQUEST FOR CONTACT INFORMATION AND HISTORICAL MATERIAL
211 #
212 # As the ANSI/ECMA-48 standard and variants take firmer hold, and as
213 # character-cell terminals are increasingly replaced by X displays, much of
214 # this file is becoming a historical document (this is part of the reason for
215 # the new organization, which puts ANSI types, xterm, Unix consoles,
216 # and vt100 up front in confidence that this will catch 95% of new hardware).
217 #
218 # For the terminal types still alive, I'd like to have manufacturer's
219 # contact data (Internet address and/or snail-mail + phone).
220 #
221 # I'm also interested in enriching the comments so that the latter portions of
222 # the file do in fact become a potted history of VDT technology as seen by
223 # UNIX hackers.  Ideally, I'd like the headers for each manufacturer to
224 # include its live/dead/out-of-the-business status, and for as many
225 # terminal types as possible to be tagged with information like years
226 # of heaviest use, popularity, and interesting features.
227 #
228 # I'm especially interested in identifying the obscure entries listed under
229 # `Miscellaneous obsolete terminals, manufacturers unknown' before the tribal
230 # wisdom about them gets lost.  If you know a lot about obscure old terminals,
231 # please go to the terminfo resource page, grab the UFO file (ufo.ti), and 
232 # eyeball it for things you can identify and describe. 
233 #
234 # If you have been around long enough to contribute, please read the file
235 # with this in mind and send me your annotations.
236 #
237 # COPYRIGHTS AND OTHER DELUSIONS
238 #
239 # The BSD ancestor of this file had a standard Regents of the University of
240 # California copyright with dates from 1980 to 1993.
241 #
242 # Some information has been merged in from a terminfo file SCO distributes.
243 # It has an obnoxious boilerplate copyright which I'm ignoring because they 
244 # took so much of the content from the ancestral BSD versions of this file
245 # and didn't attribute it, thereby violating the BSD Regents' copyright.
246 #
247 # Not that anyone should care.  However many valid functions copyrights may
248 # serve, putting one on a termcap/terminfo file with hundreds of anonymous
249 # contributors makes about as much sense as copyrighting a wall-full of
250 # graffiti -- it's legally dubious, ethically bogus, and patently ridiculous.
251 #
252 # This file deliberately has no copyright.  It belongs to no one and everyone.
253 # If you claim you own it, you will merely succeed in looking like a fool. 
254 # Use it as you like.  Use it at your own risk.  Copy and redistribute freely.
255 # There are no guarantees anywhere.  Svaha!
256 #
257
258 ######## ANSI, UNIX CONSOLE, AND SPECIAL TYPES
259 #
260 # This section describes terminal classes and brands that are still
261 # quite common.
262 #
263
264 #### Specials
265 #
266 # Special "terminals".  These are used to label tty lines when you don't
267 # know what kind of terminal is on it.  The characteristics of an unknown
268 # terminal are the lowest common denominator - they look about like a ti 700.
269 #
270
271 dumb|80-column dumb tty, 
272         am, 
273         cols#80, 
274         bel=^G, cr=^M, cud1=^J, ind=^J, 
275 unknown|unknown terminal type, 
276         gn, use=dumb, 
277 lpr|printer|line printer, 
278         OTbs, hc, os, 
279         cols#132, lines#66, 
280         bel=^G, cr=^M, cub1=^H, cud1=^J, ff=^L, ind=^J, 
281 glasstty|classic glass tty interpreting ASCII control characters, 
282         OTbs, am, 
283         cols#80, 
284         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, ht=^I, kcub1=^H, 
285         kcud1=^J, nel=^M^J, .kbs=^H, 
286
287 vanilla, 
288         OTbs, 
289         bel=^G, cr=^M, cud1=^J, ind=^J, 
290
291 #### ANSI.SYS/ISO 6429/ECMA-48 Capabilities
292 #
293 # See the end-of-file comment for more on these.
294 #
295
296 # ANSI capabilities are broken up into pieces, so that a terminal
297 # implementing some ANSI subset can use many of them.
298 ansi+local1, 
299         cub1=\E[D, cud1=\E[B, cuf1=\E[C, cuu1=\E[A, 
300 ansi+local, 
301         cub=\E[%p1%dD, cud=\E[%p1%dB, cuf=\E[%p1%dC, 
302         cuu=\E[%p1%dA, use=ansi+local1, 
303 ansi+tabs, 
304         cbt=\E[Z, ht=^I, hts=\EH, tbc=\E[2g, 
305 ansi+inittabs, 
306         it#8, use=ansi+tabs, 
307 ansi+erase, 
308         clear=\E[H\E[J, ed=\E[J, el=\E[K, 
309 ansi+rca, 
310         hpa=\E[%p1%{1}%+%dG, vpa=\E[%p1%{1}%+%dd, 
311 ansi+cup, 
312         cup=\E[%i%p1%d;%p2%dH, home=\E[H, 
313 ansi+rep, 
314         rep=%p1%c\E[%p2%{1}%-%db, 
315 ansi+idl1, 
316         dl1=\E[M, il1=\E[L, 
317 ansi+idl, 
318         dl=\E[%p1%dM, il=\E[%p1%dL, use=ansi+idl1, 
319 ansi+idc, 
320         dch1=\E[P, ich=\E[%p1%d@, ich1=\E[@, rmir=\E6, smir=\E6, 
321 ansi+arrows, 
322         kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
323         khome=\E[H, 
324 ansi+sgr|ansi graphic renditions, 
325         blink=\E[5m, invis=\E[8m, rev=\E[7m, sgr0=\E[0m, 
326 ansi+sgrso|ansi standout only, 
327         rmso=\E[m, smso=\E[7m, 
328 ansi+sgrul|ansi underline only, 
329         rmul=\E[m, smul=\E[4m, 
330 ansi+sgrbold|ansi graphic renditions; assuming terminal has bold; not dim, 
331         bold=\E[1m, 
332         sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m, 
333         use=ansi+sgr, use=ansi+sgrso, use=ansi+sgrul, 
334 ansi+sgrdim|ansi graphic renditions; assuming terminal has dim; not bold, 
335         dim=\E[2m, 
336         sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p5%t2;%;m, 
337         use=ansi+sgr, use=ansi+sgrso, use=ansi+sgrul, 
338 ansi+pp|ansi printer port, 
339         mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, 
340 ansi+csr|ansi scroll-region plus cursor save & restore, 
341         csr=\E[%i%p1%d;%p2%dr, rc=\E8, sc=\E7, 
342
343 # The IBM PC alternate character set.  Plug this into any Intel console entry.
344 # We use \E[11m for rmacs rather than \E[12m so the <acsc> string can use the
345 # ROM graphics for control characters such as the diamond, up- and down-arrow.
346 # This works with the System V, Linux, and BSDI consoles.  It's a safe bet this
347 # will work with any Intel console, they all seem to have inherited \E[11m
348 # from the ANSI.SYS de-facto standard.
349 klone+acs|alternate character set for ansi.sys displays, 
350         acsc=+\020\,\021-\030.^Y0\333`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376, 
351         rmacs=\E[10m, smacs=\E[11m, 
352
353 # Highlight controls corresponding to the ANSI.SYS standard.  Most 
354 # console drivers for Intel boxes obey these.  Makes the same assumption
355 # about \E[11m as klone+acs.  True ANSI/ECMA-48 would have <rmso=\E[27m>,
356 # <rmul=\E[24m>, but this isn't a documented feature of ANSI.SYS.
357 klone+sgr|attribute control for ansi.sys displays, 
358         blink=\E[5m, bold=\E[1m, invis=\E[8m, rev=\E[7m, 
359         rmpch=\E[10m, rmso=\E[m, rmul=\E[m, 
360         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, 
361         sgr0=\E[0;10m, smpch=\E[11m, smso=\E[7m, smul=\E[4m, 
362         use=klone+acs, 
363
364 # Highlight controls corresponding to the ANSI.SYS standard.  *All*
365 # console drivers for Intel boxes obey these.  Does not assume \E[11m will
366 # work; uses \E[12m instead, which is pretty bulletproof but loses you the ACS
367 # diamond and arrow characters under curses.
368 klone+sgr-dumb|attribute control for ansi.sys displays (no ESC [ 11 m), 
369         blink=\E[5m, bold=\E[1m, invis=\E[8m, rev=\E[7m, rmso=\E[m, 
370         rmul=\E[m, 
371         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, 
372         sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, smul=\E[4m, 
373         use=klone+acs, 
374
375 # KOI8-R (RFC1489) acs (alternate character set)
376 # From: Qing Long <qinglong@Bolizm.ihep.su>, 24 Feb 1996.
377 klone+koi8acs|alternate character set for ansi.sys displays with KOI8 charset, 
378         acsc=+\020\,\021-\036.^_0\215`\004a\237f\234g\232h\222i\220j\205k\203l\202m\204n\212o\213p\216q\0r\217s\214t\206u\207v\210w\211x\201y\230z\231{\267|\274}L~\225, 
379         rmacs=\E[10m, smacs=\E[11m, 
380
381 # ANSI.SYS color control.  The setab/setaf caps depend on the coincidence
382 # between SVr4/XPG4's color numbers and ANSI.SYS attributes.  Here are longer
383 # but equivalent strings that don't rely on that coincidence:
384 # setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
385 # setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
386 # The DOS 5 manual asserts that these sequences meet the ISO 6429 standard.
387 # They match a subset of ECMA-48.
388 klone+color|color control for ansi.sys and ISO6429-compatible displays, 
389         colors#8, ncv#3, pairs#64, 
390         op=\E[37;40m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
391
392 # This is better than klone+color, it doesn't assume white-on-black as the
393 # default color pair,  but many `ANSI' terminals don't grok the <op> cap.
394 ecma+color|color control for ECMA-48-compatible terminals, 
395         AX, 
396         colors#8, ncv#3, pairs#64, 
397         op=\E[39;49m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
398
399 # Attribute control for ECMA-48-compatible terminals
400 ecma+sgr|attribute capabilities for true ECMA-48 terminals, 
401         rmso=\E[27m, rmul=\E[24m, use=klone+sgr, 
402
403 # For comparison, here are all the capabilities implied by the Intel
404 # Binary Compatibility Standard (level 2) that fit within terminfo.
405 # For more detail on this rather pathetic standard, see the comments
406 # near the end of this file.
407 ibcs2|Intel Binary Compatibility Standard prescriptions, 
408         cbt=\E[Z, clear=\Ec, cub=\E[%p1%dD, cud=\E[%p1%dB, 
409         cuf=\E[%p1%dC, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
410         dch=\E[%p1%dP, dispc=\E=%p1%dg, ech=\E[%p1%dX, 
411         hpa=\E[%i%p1%dG, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, 
412         indn=\E[%p1%dS, rc=\E7, rin=\E[%p1%dT, rmam=\E[?7l, sc=\E7, 
413         smam=\E[?7h, tbc=\E[g, vpa=\E[%i%p1%dd, 
414
415 #### ANSI/ECMA-48 terminals and terminal emulators
416 #
417 # See near the end of this file for details on ANSI conformance.
418 # Don't mess with these entries!  Lots of other entries depend on them!
419 #
420 # This section lists entries in a least-capable to most-capable order.
421 # if you're in doubt about what `ANSI' matches yours, try them in that
422 # order and back off from the first that breaks.
423
424 # ansi-mr is for ANSI terminals with ONLY relative cursor addressing
425 # and more than one page of memory.  It uses local motions instead of
426 # direct cursor addressing, and makes almost no assumptions. It does
427 # assume auto margins, no padding and/or xon/xoff, and a 24x80 screen.
428 ansi-mr|mem rel cup ansi, 
429         am, xon, 
430         cols#80, lines#24, use=vanilla, use=ansi+erase, 
431         use=ansi+local1, 
432
433 # ansi-mini is a bare minimum ANSI terminal. This should work on anything, but 
434 # beware of screen size problems and memory relative cursor addressing.
435 ansi-mini|any ansi terminal with pessimistic assumptions, 
436         am, xon, 
437         cols#80, lines#24, use=vanilla, use=ansi+cup, 
438         use=ansi+erase, 
439
440 # ansi-mtabs adds relative addressing and minimal tab support 
441 ansi-mtabs|any ansi terminal with pessimistic assumptions, 
442         it#8, 
443         ht=^I, use=ansi+local1, use=ansi-mini, 
444
445 # ANSI X3.64 from emory!mlhhh (Hugh Hansard) via BRL
446 #
447 # The following is an entry for the full ANSI 3.64 (1977).  It lacks
448 # padding, but most terminals using the standard are "fast" enough
449 # not to require any -- even at 9600 bps.  If you encounter problems,
450 # try including the padding specifications.
451 #
452 # Note: the :as: and :ae: specifications are not implemented here, for
453 # the available termcap documentation does not make clear WHICH alternate
454 # character set to specify.  ANSI 3.64 seems to make allowances for several.
455 # Please make the appropriate adjustments to fit your needs -- that is
456 # if you will be using alternate character sets.
457 #
458 # There are very few terminals running the full ANSI 3.64 standard,
459 # so I could only test this entry on one verified terminal (Visual 102).
460 # I would appreciate the results on other terminals sent to me.
461 #
462 # Please report comments, changes, and problems to:
463 #
464 # U.S. MAIL:   Hugh Hansard
465 #              Box: 22830
466 #              Emory University
467 #              Atlanta, GA. 30322.
468 #
469 # USENET {akgua,msdc,sb1,sb6,gatech}!emory!mlhhh.
470 #
471 # (Added vt100 <rc>,<sc> to quiet a tic warning --esr)
472 ansi77|ansi 3.64 standard 1977 version, 
473         OTbs, am, mir, 
474         cols#80, it#8, lines#24, 
475         bel=^G, clear=\E[;H\E[2J, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
476         cub1=^H, cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
477         cuu1=\E[A, dch1=\E[P, dl1=\E[M$<5*/>, ed=\E[J, el=\E[K, 
478         home=\E[H, ht=^I, il1=\E[L$<5*/>, ind=\ED, kbs=^H, 
479         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, 
480         kf2=\EOR, kf4=\EOS, khome=\E[H, nel=^M\ED, rc=\E8, ri=\EM, 
481         rmir=\E[4l, rmso=\E[m, rmul=\E[m, sc=\E7, smir=\E[4h, 
482         smso=\E[7m, smul=\E[4m, 
483
484 # Procomm and some other ANSI emulations don't recognize all of the ANSI-
485 # standard capabilities.  This entry deletes <cuu>, <cuf>, <cud>, <cub>, and 
486 # <vpa>/<hpa> capabilities, forcing curses to use repetitions of <cuu1>, 
487 # <cuf1>, <cud1> and <cub1>.  Also deleted <ich> and <ich1>, as QModem up to 
488 # 5.03 doesn't recognize these.  Finally, we delete <rep> and <ri>, which seem
489 # to confuse many emulators.  On the other hand, we can count on these programs
490 # doing <rmacs>/<smacs>/<sgr>. Older versions of this entry featured 
491 # <invis=\E[9m>, but <invis=\E[8m> now seems to be more common under
492 # ANSI.SYS influence.
493 # From: Eric S. Raymond <esr@snark.thyrsus.com> Oct 30 1995
494 pcansi-m|pcansi-mono|ibm-pc terminal programs claiming to be ansi (mono mode), 
495         OTbs, am, mir, msgr, 
496         cols#80, it#8, lines#24, 
497         bel=^G, cbt=\E[Z, clear=\E[H\E[J, cr=^M, cub1=\E[D, 
498         cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
499         dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
500         hts=\EH, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
501         kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, tbc=\E[2g, 
502         use=klone+sgr-dumb, 
503 pcansi-25-m|pcansi25m|ibm-pc terminal programs with 25 lines (mono mode), 
504         lines#25, use=pcansi-m, 
505 pcansi-33-m|pcansi33m|ibm-pc terminal programs with 33 lines (mono mode), 
506         lines#33, use=pcansi-m, 
507 pcansi-43-m|ansi43m|ibm-pc terminal programs with 43 lines (mono mode), 
508         lines#43, use=pcansi-m, 
509 # The color versions.  All PC emulators do color...
510 pcansi|ibm-pc terminal programs claiming to be ansi, 
511         use=klone+color, use=pcansi-m, 
512 pcansi-25|pcansi25|ibm-pc terminal programs with 25 lines, 
513         lines#25, use=pcansi, 
514 pcansi-33|pcansi33|ibm-pc terminal programs with 33 lines, 
515         lines#33, use=pcansi, 
516 pcansi-43|pcansi43|ibm-pc terminal programs with 43 lines, 
517         lines#43, use=pcansi, 
518
519 # ansi-m -- full ANSI X3.64 with ANSI.SYS-compatible attributes, no color.
520 # If you want pound signs rather than dollars, replace `B' with `A'
521 # in the <s0ds>, <s1ds>, <s2ds>, and <s3ds> capabilities.
522 # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
523 ansi-m|ansi-mono|ANSI X3.64-1979 terminal with ANSI.SYS compatible attributes, 
524         mc5i, 
525         cub=\E[%p1%dD, cud=\E[%p1%dB, cuf=\E[%p1%dC, 
526         cuu=\E[%p1%dA, dch=\E[%p1%dP, dl=\E[%p1%dM, 
527         ech=\E[%p1%dX, el1=\E[1K, hpa=\E[%i%p1%dG, ht=\E[I, 
528         ich=\E[%p1%d@, il=\E[%p1%dL, indn=\E[%p1%dS, kbs=^H, 
529         kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
530         kich1=\E[L, mc4=\E[4i, mc5=\E[5i, nel=\r\E[S, 
531         rep=%p1%c\E[%p2%{1}%-%db, rin=\E[%p1%dT, s0ds=\E(B, 
532         s1ds=\E)B, s2ds=\E*B, s3ds=\E+B, tbc=\E[2g, 
533         vpa=\E[%i%p1%dd, use=pcansi-m, 
534
535 # ansi -- this terminfo expresses the largest subset of X3.64 that will fit in
536 # standard terminfo.  Assumes ANSI.SYS-compatible attributes and color.
537 # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
538 ansi|ansi/pc-term compatible with color, 
539         u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?%[;0123456789]c, 
540         u9=\E[c, use=ecma+color, use=klone+sgr, use=ansi-m, 
541
542 # ansi-generic is a vanilla ANSI terminal. This is assumed to implement 
543 # all the normal ANSI stuff with no extensions. It assumes 
544 # insert/delete line/char is there, so it won't work with 
545 # vt100 clones. It assumes video attributes for bold, blink, 
546 # underline, and reverse, which won't matter much if the terminal 
547 # can't do some of those. Padding is assumed to be zero, which 
548 # shouldn't hurt since xon/xoff is assumed.
549 ansi-generic|generic ansi standard terminal, 
550         am, xon, 
551         cols#80, lines#24, use=vanilla, use=ansi+csr, use=ansi+cup, 
552         use=ansi+rca, use=ansi+erase, use=ansi+tabs, 
553         use=ansi+local, use=ansi+idc, use=ansi+idl, use=ansi+rep, 
554         use=ansi+sgrbold, use=ansi+arrows, 
555
556 #### DOS ANSI.SYS variants
557 #
558 # This completely describes the sequences specified in the DOS 2.1 ANSI.SYS
559 # documentation (except for the keyboard key reassignment feature, which
560 # doen't fit the <pfkey> model well).  The klone+acs sequences were valid
561 # though undocumented.  The <pfkey> capability is untested but should work for
562 # keys F1-F10 (%p1 values outside this range will yield unpredictable results).
563 # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 7 1995
564 ansi.sys-old|ANSI.SYS under PC-DOS 2.1, 
565         OTbs, am, mir, msgr, xon, 
566         cols#80, lines#25, 
567         clear=\E[2J, cub1=^H, cud1=\E[B, cuf1=\E[C, 
568         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[k, home=\E[H, 
569         is2=\E[m\E[?7h, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
570         khome=^^, pfkey=\E[0;%p1%{58}%+%d;%p2"%s", rc=\E[u, 
571         rmam=\E[?7l, sc=\E[s, smam=\E[?7h, u6=\E[%i%d;%dR, 
572         u7=\E[6n, use=klone+color, use=klone+sgr, 
573 ansi.sys|ANSI.SYS 3.1 and later versions, 
574         el=\E[K, use=ansi.sys-old, 
575
576 #
577 # Define IBM PC keypad keys for vi as per MS-Kermit while using ANSI.SYS.
578 # This should only be used when the terminal emulator cannot redefine the keys.
579 # Since redefining keys with ansi.sys also affects PC-DOS programs, the key
580 # definitions must be restored.  If the terminal emulator is quit while in vi
581 # or others using <smkx>/<rmkx>, the keypad will not be defined as per PC-DOS.
582 # The PgUp and PgDn are prefixed with ESC so that tn3270 can be used on Unix
583 # (^U and ^D are already defined for tn3270).  The ESC is safe for vi but it
584 # does "beep".  ESC ESC i is used for Ins to avoid tn3270 ESC i for coltab.
585 # Note that <kcub1> is always BS, because PC-dos can tolerate this change.
586 # Caution: vi is limited to 256 string bytes, longer crashes or weirds out vi.
587 # Consequently the End keypad key could not be set (it is relatively safe and
588 # actually useful because it sends ^@ O, which beeps and opens a line above).
589 ansi.sysk|ansisysk|PC-DOS 3.1 ANSI.SYS with keypad redefined for vi, 
590         is2=U2 PC-DOS 3.1 ANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p, 
591         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, 
592         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, 
593         use=ansi.sys, 
594 #
595 # Adds ins/del line/character, hence vi reverse scrolls/inserts/deletes nicer.
596 nansi.sys|nansisys|PC-DOS Public Domain NANSI.SYS, 
597         dch1=\E[1P, dl1=\E[1M, ich1=\E[1@, il1=\E[1L, 
598         is2=U3 PC-DOS Public Domain NANSI.SYS 9-23-86\n, 
599         use=ansi.sys, 
600 #
601 # See ansi.sysk and nansi.sys above.
602 nansi.sysk|nansisysk|PC-DOS Public Domain NANSI.SYS with keypad redefined for vi, 
603         dch1=\E[1P, dl1=\E[1M, ich1=\E[1@, il1=\E[1L, 
604         is2=U4 PC-DOS Public Domain NANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p, 
605         use=ansi.sysk, 
606
607 #### ANSI console types
608 #
609
610 #### BeOS
611 #
612 # BeOS entry for Terminal program Seems to be almost ANSI
613 beterm|BeOS Terminal, 
614         am, eo, mir, msgr, xenl, xon, 
615         colors#8, cols#80, it#8, lines#25, ncv#5, pairs#64, 
616         bel=^G, bold=\E[1m, clear=\E[H\E[J, cr=^M, 
617         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
618         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
619         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
620         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
621         ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, home=\E[H, 
622         hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, 
623         il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, 
624         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, 
625         kend=\E[4~, kf1=\E[11~, kf10=\E[20~, kf11=\E[21~, 
626         kf12=\E[22~, kf2=\E[12~, kf3=\E[13~, kf4=\E[14~, 
627         kf5=\E[15~, kf6=\E[16~, kf7=\E[17~, kf8=\E[18~, kf9=\E[19~, 
628         khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, kspd=^Z, 
629         nel=^M^J, op=\E[m, rc=\E8, rev=\E[7m, ri=\EM, rmir=\E[4l, 
630         rmkx=\E[?4l, rmso=\E[m, rmul=\E[24m, rs1=\Ec, sc=\E7, 
631         setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
632         setb=\E[%p1%{40}%+%cm, setf=\E[%p1%{30}%+%cm, 
633         sgr0=\E[0;10m, smir=\E[4h, smkx=\E[?4h, smso=\E[7m, 
634         smul=\E[4m, u6=\E[%i%p1%d;%p2%dR, u7=\E[6n, 
635         vpa=\E[%i%p1%dd, 
636
637 #### Linux consoles
638 #
639
640 # This entry is good for the 1.2.13 or later version of the Linux console.
641 #
642 # ***************************************************************************
643 # *                                                                         *
644 # *                           WARNING:                                      *
645 # * Linuxes come with a default keyboard mapping kcbt=^I.  This entry, in   *
646 # * response to user requests, assumes kcbt=\E[Z, the ANSI/ECMA reverse-tab *
647 # * character. Here are the keymap replacement lines that will set this up: *
648 # *                                                                         *
649 #       keycode  15 = Tab             Tab
650 #               alt     keycode  15 = Meta_Tab
651 #               shift   keycode  15 = F26
652 #       string F26 ="\033[Z"
653 # *                                                                         *
654 # * This has to use a key slot which is unfortunate (any unused one will    *
655 # * do, F26 is the higher-numbered one).  The change ought to be built      *
656 # * into the kernel tables.                                                 *
657 # *                                                                         *
658 # ***************************************************************************
659 #
660 # The 1.3.x kernels add color-change capabilities; if yours doesn't have this
661 # and it matters, turn off <ccc>.  The %02x escape used to implement this is
662 # not back-portable to SV curses and not supported in ncurses versions before
663 # 1.9.9. All linux kernels since 1.2.13 (at least) set the screen size
664 # themselves; this entry assumes that capability.
665 #
666 # This entry is good for the 1.2.13 or later version of the Linux console.
667 #
668 # ***************************************************************************
669 # *                                                                         *
670 # *                           WARNING:                                      *
671 # * Linuxes come with a default keyboard mapping kcbt=^I.  This entry, in   *
672 # * response to user requests, assumes kcbt=\E[Z, the ANSI/ECMA reverse-tab *
673 # * character. Here are the keymap replacement lines that will set this up: *
674 # *                                                                         *
675 #       keycode  15 = Tab             Tab
676 #               alt     keycode  15 = Meta_Tab
677 #               shift   keycode  15 = F26
678 #       string F26 ="\033[Z"
679 # *                                                                         *
680 # * This has to use a key slot which is unfortunate (any unused one will    *
681 # * do, F26 is the higher-numbered one).  The change ought to be built      *
682 # * into the kernel tables.                                                 *
683 # *                                                                         *
684 # ***************************************************************************
685 #
686 # The 1.3.x kernels add color-change capabilities; if yours doesn't have this
687 # and it matters, turn off <ccc>.  The %02x escape used to implement this is
688 # not back-portable to SV curses and not supported in ncurses versions before
689 # 1.9.9. All linux kernels since 1.2.13 (at least) set the screen size
690 # themselves; this entry assumes that capability.
691 #
692 # The 2.2.x kernels add a private mode that sets the cursor type; use that to
693 # get a block cursor for cvvis.
694 # reported by Frank Heckenbach <frank@g-n-u.de>.
695 linux|linux console, 
696         am, bce, eo, mir, msgr, xenl, xon, 
697         it#8, ncv#18, 
698         acsc=+\020\,\021-\030.^Y0\333`\004a\261f\370g\361h\260i\316j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376, 
699         bel=^G, civis=\E[?25l\E[?1c, clear=\E[H\E[J, 
700         cnorm=\E[?25h\E[?0c, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
701         cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
702         cuu1=\E[A, cvvis=\E[?25h\E[?8c, dch=\E[%p1%dP, dch1=\E[P, 
703         dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, 
704         el=\E[K, el1=\E[1K, flash=\E[?5h\E[?5l$<200/>, home=\E[H, 
705         hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, 
706         il=\E[%p1%dL, il1=\E[L, ind=^J, kb2=\E[G, kbs=\177, 
707         kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
708         kdch1=\E[3~, kend=\E[4~, kf1=\E[[A, kf10=\E[21~, 
709         kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
710         kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
711         kf19=\E[33~, kf2=\E[[B, kf20=\E[34~, kf3=\E[[C, kf4=\E[[D, 
712         kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
713         khome=\E[1~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, 
714         kspd=^Z, nel=^M^J, rc=\E8, rev=\E[7m, ri=\EM, rmir=\E[4l, 
715         rmso=\E[27m, rmul=\E[24m, rs1=\Ec\E]R, sc=\E7, 
716         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, 
717         smir=\E[4h, smul=\E[4m, tbc=\E[3g, u6=\E[%i%d;%dR, 
718         u7=\E[6n, u8=\E[?6c, u9=\E[c, vpa=\E[%i%p1%dd, 
719         use=klone+sgr, use=ecma+color, 
720 linux-m|Linux console no color, 
721         colors@, pairs@, 
722         setab@, setaf@, setb@, setf@, use=linux, 
723 linux-c-nc|linux console 1.3.x hack for ncurses only, 
724         ccc, 
725         initc=\E]P%p1%x%p2%{255}%*%{1000}%/%02x%p3%{255}%*%{1000}%/%02x%p4%{255}%*%{1000}%/%02x, 
726         oc=\E]R, use=linux, 
727 # From: Dennis Henriksen <opus@osrl.dk>, 9 July 1996
728 linux-c|linux console 1.3.6+ with private palette for each virtual console, 
729         ccc, 
730         colors#8, pairs#64, 
731         initc=\E]P%?%p1%{9}%>%t%p1%{10}%-%'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%;, 
732         oc=\E]R, use=linux, 
733
734 # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
735 linux-nic|linux with ich/ich1 suppressed for non-curses programs, 
736         ich@, ich1@, use=linux, 
737
738 # This assumes you have used setfont(8) to load one of the Linux koi8-r fonts.
739 # acsc entry from Pavel Roskin" <pavel@absolute.spb.su>, 29 Sep 1997.
740 linux-koi8|linux with koi8 alternate character set, 
741         acsc=+\020\,\021-\030.^Y0\215`\004a\221f\234g\237h\220i\276j\205k\203l\202m\204n\212o~p\0q\0r\0s_t\206u\207v\211w\210x\201y\230z\231{\267|\274~\224, 
742         use=linux, use=klone+koi8acs, 
743
744 # Another entry for KOI8-r with Qing Long's acsc.
745 # (which one better complies with the standard?)
746 linux-koi8r|linux with koi8-r alternate character set, 
747         use=linux, use=klone+koi8acs, 
748
749 # Entry for the latin1 and latin2 fonts
750 linux-lat|linux with latin1 or latin2 alternate character set, 
751         acsc=+\020\,\021-\030.^Y0\333`\004a\013f\370g\361h\260i\316j\211k\214l\206m\203n\305o~p\304q\212r\304s_t\207u\215v\301w\302x\205y\363z\362{\343|\330}\234~\376, 
752         use=linux, 
753
754 #### Mach
755 #
756
757 # From: Matthew Vernon <mcv21@pick.sel.cam.ac.uk>
758 mach|Mach Console, 
759         am, km, 
760         cols#80, it#8, lines#25, 
761         bel=^G, blink=\E[5m, bold=\E[1m, clear=\Ec, cr=^M, 
762         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
763         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
764         cuu=\E[%p1%dA, cuu1=\E[A, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
765         el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL, il1=\E[L, ind=^J, 
766         kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
767         kdch1=\E[9, kend=\E[Y, kf1=\EOP, kf10=\EOY, kf2=\EOQ, 
768         kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW, 
769         kf9=\EOX, khome=\E[H, kich1=\E[@, kll=\E[F, knp=\E[U, 
770         kpp=\E[V, rev=\E[7m, rmso=\E[0m, rmul=\E[24m, sgr0=\E[0m, 
771         smso=\E[7m, smul=\E[4m, 
772 mach-bold|Mach Console with bold instead of underline, 
773         rmul=\E[0m, smul=\E[1m, use=mach, 
774 mach-color|Mach Console with ANSI color, 
775         colors#8, pairs#64, 
776         dim=\E[2m, invis=\E[8m, op=\E[37;40m, rmso=\E[27m, 
777         setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=mach, 
778
779 #### OSF Unix
780 #
781
782 # OSF/1 1.1 Snapshot 2
783 pmcons|pmconsole|PMAX console, 
784         am, 
785         cols#128, lines#57, 
786         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuu1=^K, ht=^I, 
787         ind=^J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
788         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
789
790 # SCO console and SOS-Syscons console for 386bsd
791 # (scoansi: had unknown capabilities
792 #       :Gc=N:Gd=K:Gh=M:Gl=L:Gu=J:Gv=\072:\
793 #       :GC=E:GD=B:GH=D:GL=\64:GU=A:GV=\63:GR=C:
794 #       :G1=?:G2=Z:G3=@:G4=Y:G5=;:G6=I:G7=H:G8=<:\
795 #       :CW=\E[M:NU=\E[N:RF=\E[O:RC=\E[P:\
796 #       :WL=\E[S:WR=\E[T:CL=\E[U:CR=\E[V:\
797 # I renamed GS/GE/HM/EN/PU/PD/RT and added klone+sgr-dumb, based
798 # on the <smacs>=\E[12m  -- esr)
799 #
800 # klone+sgr-dumb is an error since the acsc does not match -TD
801 #
802 # In this description based on SCO's keyboard(HW) manpage list of default function key
803 # values:
804 #       F13-F24 are shifted F1-F12
805 #       F25-F36 are control F1-F12
806 #       F37-F48 are shift+control F1-F12
807 scoansi|SCO Extended ANSI standard crt, 
808         OTbs, am, eo, xon, 
809         colors#8, cols#80, it#8, lines#25, pairs#64, 
810         acsc=0[5566778899\:\:;;<<==>>FFGGHHIIJJKKLLMMNNOOPPQQRRSSTTUUVVWWXX`ja0fxgqh2jYk?lZm@nEqDtCu4vAwBx3~y, 
811         blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[2J, 
812         cub1=\E[D, cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
813         cuu1=\E[A, dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, 
814         ht=^I, ich1=\E[@, il1=\E[L, ind=\E[S, invis=\E[8m, kbeg=\E[E, 
815         kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
816         kcuu1=\E[A, kend=\E[F, kf1=\E[M, kf10=\E[V, kf11=\E[W, 
817         kf12=\E[X, kf13=\E[Y, kf15=\E[a, kf16=\E[b, kf17=\E[c, 
818         kf18=\E[d, kf19=\E[e, kf2=\E[N, kf20=\E[f, kf21=\E[g, 
819         kf22=\E[h, kf23=\E[i, kf24=\E[j, kf25=\E[k, kf26=\E[l, 
820         kf27=\E[m, kf28=\E[n, kf29=\E[o, kf3=\E[O, kf30=\E[p, 
821         kf31=\E[q, kf32=\E[r, kf33=\E[s, kf34=\E[t, kf35=\E[u, 
822         kf36=\E[v, kf37=\E[w, kf38=\E[x, kf39=\E[y, kf4=\E[P, 
823         kf40=\E[z, kf41=\E[@, kf42=\E[[, kf43=\E[\\, kf44=\E[], 
824         kf45=\E[\^, kf46=\E[_, kf47=\E[`, kf48=\E[{, kf5=\E[Q, 
825         kf6=\E[R, kf7=\E[S, kf8=\E[T, kf9=\E[U, khome=\E[H, 
826         kich1=\E[L, knp=\E[G, kpp=\E[I, op=\E[37;40m, rev=\E[7m, 
827         ri=\E[T, rmacs=\E[10m, rmso=\E[m, rmul=\E[m, 
828         setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
829         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, 
830         sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, smul=\E[4m, 
831
832 # This actually describes the generic SVr4 display driver for Intel boxes.
833 # The <dim=\E[2m> isn't documented and therefore may not be reliable.
834 # From: Eric Raymond <esr@snark.thyrsus.com> Mon Nov 27 19:00:53 EST 1995
835 att6386|at386|386at|AT&T WGS 6386 console, 
836         am, bw, eo, xon, 
837         cols#80, it#8, lines#25, 
838         acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~, 
839         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[=C, 
840         clear=\E[2J\E[H, cnorm=\E[=1C, cr=^M, cub=\E[%p1%dD, 
841         cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, 
842         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
843         cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
844         dl=\E[%p1%dM, dl1=\E[1M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, 
845         home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, 
846         ich1=\E[1@, il=\E[%p1%dL, il1=\E[1L, ind=\E[S, 
847         indn=\E[%p1%dS, invis=\E[9m, is2=\E[0;10;39m, kbs=^H, 
848         kcbt=^], kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
849         kdch1=\E[P, kend=\E[Y, kf1=\EOP, kf10=\EOY, kf11=\EOZ, 
850         kf12=\EOA, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, 
851         kf7=\EOV, kf8=\EOW, kf9=\EOX, khome=\E[H, kich1=\E[@, 
852         knp=\E[U, kpp=\E[V, krmir=\E0, nel=\r\E[S, rc=\E8, rev=\E[7m, 
853         ri=\E[T, rin=\E[%p1%dT, rmacs=\E[10m, rmso=\E[m, rmul=\E[m, 
854         sc=\E7, 
855         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, 
856         sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, smul=\E[4m, 
857         tbc=\E[2g, vpa=\E[%i%p1%dd, use=klone+color, 
858 # (pc6300plus: removed ":KM=/usr/lib/ua/kmap.s5:"; renamed BO/EE/CI/CV -- esr)
859 pc6300plus|AT&T 6300 plus, 
860         OTbs, am, xon, 
861         cols#80, lines#24, 
862         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[=C, 
863         clear=\E[2J\E[H, cnorm=\E[=1C, cr=^M, cub1=^H, cud1=\E[B, 
864         cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, 
865         dch1=\E[1P, dim=\E[2m, dl1=\E[1M, ed=\E[0J, el=\E[0K, 
866         home=\E[H, hts=\EH, ich1=\E[1@, il1=\E[1L, ind=^J, 
867         invis=\E[9m, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
868         kcuu1=\E[A, kf1=\EOc, kf10=\EOu, kf2=\EOd, kf3=\EOe, 
869         kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\EOk, 
870         nel=^M^J, rev=\E[7m, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
871         smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
872
873 # From: Benjamin C. W. Sittler <bsittler@nmt.edu>
874 #
875 # I have a UNIX PC which I use as a terminal attached to my Linux PC.
876 # Unfortunately, the UNIX PC terminfo entry that comes with ncurses
877 # is broken. All the special key sequences are broken, making it unusable
878 # with Emacs. The problem stems from the following:
879
880 # The UNIX PC has a plethora of keys (103 of them, and there's no numeric
881 # keypad!), loadable fonts, and strange highlighting modes ("dithered"
882 # half-intensity, "smeared" bold, and real strike-out, for example.) It also
883 # uses resizable terminal windows, but the bundled terminal program always
884 # uses an 80x24 window (and doesn't support seem to support a 132-column
885 # mode.) 
886
887 # HISTORY: The UNIX PC was one of the first machines with a GUI, and used a
888 # library which was a superset of SVr3.5 curses (called tam, for "terminal
889 # access method".) tam includes support for real, overlapping windows,
890 # onscreen function key labels, and bitmap graphics. But since the primary
891 # user interface on the UNIX PC was a GUI program (ua, for "user
892 # assistant",) and remote administration was considered important for the
893 # machine, tam also supported VT100-compatible terminals attached to the
894 # serial port or used across the StarLan network. To simulate the extra keys
895 # not present on a VT100, users could press ESC and a two-letter sequence,
896 # such as u d (Undo) or U D (Shift-Undo.) These two-letter sequences,
897 # however, were not the same as those sent by the actual Undo key. The
898 # actual Undo key sends ESC 0 s unshifted, and ESC 0 S shifted, for example.
899 # (If you're interested in adding some of the tam calls to ncurses, btw, I
900 # have the full documentation and several programs which use tam. It also
901 # used an extended terminfo format to describe key sequences, special
902 # highlighting modes, etc.) 
903
904 # KEYS: This means that ncurses would quite painful on the UNIX PC, since
905 # there are two sequences for every key-modifier combination (local keyboard
906 # sequence and remote "VT100" sequence.) But I doubt many people are trying
907 # to use ncurses on the UNIX PC, since ncurses doesn't properly handle the
908 # GUI. Unfortunately, the terminfo entry (and the termcap, too, I presume) 
909 # seem to have been built from the manual describing the VT100 sequences. 
910 # This means it doesn't work for a real live UNIX PC. 
911
912 # FONTS: The UNIX PC also has a strange interpretation of "alternate
913 # character set". Rather than the VT100 graphics you might expect, it allows
914 # up to 8 custom fonts to be loaded at any given time. This means that
915 # programs expecting VT100 graphics will usually be disappointed. For this
916 # reason I have disabled the smacs/rmacs sequences, but they could easily be
917 # re-enabled. Here are the relevant control sequences (from the ESCAPE(7) 
918 # manpage), should you wish to do so: 
919
920 # SGR10 - Select font 0 - ESC [ 10 m or SO
921 # SGR11 - Select font 1 - ESC [ 11 m or SI
922 # SGR12 - Select font 2 - ESC [ 12 m
923 # ... (etc.)
924 # SGR17 - Select font 7 - ESC [ 17 m
925
926 # Graphics for line drawing are not reliably found at *any* character
927 # location because the UNIX PC has dynamically reloadable fonts. I use font
928 # 0 for regular text and font 1 for italics, but this is by no means
929 # universal. So ASCII line drawing is in order if smacs/rmacs are enabled.
930
931 # MISC: The cursor visible/cursor invisible sequences were swapped in the
932 # distributed terminfo.
933
934 # To ameliorate these problems (and fix a few highlighting bugs) I rewrote
935 # the UNIX PC terminfo entry. The modified version works great with Lynx,
936 # Emacs, and XEmacs running on my Linux PC and displaying on the UNIX PC
937 # attached by serial cable. In Emacs, even the Undo key works, and many
938 # applications can now use the F1-F8 keys. 
939
940 # esr's notes:
941 #       Terminfo entry for the AT&T Unix PC 7300
942 #       from escape(7) in Unix PC 7300 Manual.
943 #       Somewhat similar to a vt100-am (but different enough
944 #       to redo this from scratch.)
945 #
946 #       /***************************************************************
947 #       *
948 #       *           FONT LOADING PROGRAM FOR THE UNIX PC
949 #       *
950 #       *     This routine loads a font defined in the file ALTFONT
951 #       *     into font memory slot #1.  Once the font has been loaded,
952 #       *     it can be used as an alternative character set.
953 #       *
954 #       *     The call to ioctl with the argument WIOCLFONT is the key 
955 #       *     to this routine.  For more information, see window(7) in 
956 #       *     the PC 7300 documentation.
957 #       ***************************************************************/
958 #       #include <string.h>             /* needed for strcpy call */
959 #       #include <sys/window.h>         /* needed for ioctl call */
960 #       #define FNSIZE  60              /* font name size */
961 #       #define ALTFONT  "/usr/lib/wfont/special.8.ft"  /* font file */
962 #       /*
963 #       *     The file /usr/lib/wfont/special.8.ft comes with the
964 #       *     standard PC software.  It defines a graphics character set
965 #       *     similar to that of the Teletype 5425 terminal.  To view
966 #       *     this or other fonts in /usr/lib/wfont, use the command
967 #       *     cfont <filename>.  For further information on fonts see
968 #       *     cfont(1) in the PC 7300 documentation.
969 #       */
970 #       
971 #       struct altfdata         /* structure for alt font data */
972 #       {
973 #       short   altf_slot;              /* memory slot number */
974 #       char    altf_name[FNSIZE];      /* font name (file name) */
975 #       };
976 #       ldfont()
977 #       {
978 #               int wd;         /* window in which altfont will be */
979 #               struct altfdata altf;
980 #               altf.altf_slot=1;
981 #               strcpy(altf.altf_name,ALTFONT);
982 #               for (wd =1; wd < 12; wd++) {
983 #                    ioctl(wd, WIOCLFONT,&altf);
984 #               }
985 #       }
986 #
987 # (att7300: added <civis>/<cnorm>/<ich1>/<invis> from the BSDI entry,
988 # they're confirmed by the man page for the System V display---esr)
989 #
990 att7300|unixpc|pc7300|3b1|s4|AT&T UNIX PC Model 7300, 
991         am, xon, 
992         cols#80, it#8, lines#24, 
993         bel=^G, blink=\E[9m, bold=\E[1m, cbt=\E^I, civis=\E[=1C, 
994         clear=\E[2J\E[H, cnorm=\E[=0C, cr=^M, cub=\E[%p1%dD, 
995         cub1=^H, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, 
996         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
997         cuu1=\E[A, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, 
998         ed=\E[0J, el=\E[0K, home=\E[H, ich1=\E[@, il=\E[%p1%dL, 
999         il1=\E[L, ind=^J, invis=\E[9m, is1=\017\E[=1w, kBEG=\ENB, 
1000         kCAN=\EOW, kCPY=\END, kCRT=\EON, kDC=\ENF, kDL=\ENE, 
1001         kEND=\ENN, kEOL=\EOA, kFND=\EOX, kHLP=\EOM, kHOM=\ENM, 
1002         kIC=\ENJ, kLFT=\ENK, kMOV=\ENC, kNXT=\ENH, kOPT=\EOR, 
1003         kPRV=\ENG, kRDO=\EOT, kRIT=\ENL, kRPL=\EOY, kSAV=\EOO, 
1004         kUND=\EOS, kbeg=\ENb, kbs=^H, kcan=\EOw, kcbt=\E[Z, 
1005         kclo=\EOV, kclr=\E[J, kcmd=\EOu, kcpy=\ENd, kcrt=\EOn, 
1006         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\ENf, 
1007         ked=\E[J, kel=\EOa, kend=\E0, kext=\EOk, kf1=\EOc, kf2=\EOd, 
1008         kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, 
1009         kfnd=\EOx, khlp=\EOm, khome=\E[H, kich1=\ENj, kind=\E[B, 
1010         kmov=\ENc, kmrk=\ENi, knp=\E[U, knxt=\ENh, kopn=\EOv, 
1011         kopt=\EOr, kpp=\E[V, kprt=\EOz, kprv=\ENg, krdo=\EOt, 
1012         kref=\EOb, krfr=\ENa, kri=\E[A, krpl=\EOy, krst=\EOB, 
1013         ksav=\EOo, kslt=\ENI, kund=\EOs, nel=\EE, rev=\E[7m, ri=\EM, 
1014         rmso=\E[m, rmul=\E[m, sgr0=\E[0;10m, smso=\E[7m, 
1015         smul=\E[4m, 
1016
1017 # Sent by Stefan Stapelberg <stefan@rent-a-guru.de>, 24 Feb 1997, this is
1018 # from SGI's terminfo database.  SGI's entry shows F9-F12 with the codes
1019 # for the application keypad mode.  We have added iris-ansi-ap rather than
1020 # change the original to keypad mode.
1021 #
1022 # (iris-ansi: added rmam/smam based on init string -- esr)
1023 #
1024 # This entry, and those derived from it, is used in xwsh (also known as
1025 # winterm).  Some capabilities that do not fit into the terminfo model
1026 # include the shift- and control-functionkeys:
1027 #
1028 # F1-F12 generate different codes when shift or control modifiers are used.
1029 # For example:
1030 #       F1              \E[001q
1031 #       shift F1        \E[013q
1032 #       control-F1      \E[025q
1033 #
1034 # In application keypad mode, F9-F12 generate codes like vt100 PF1-PF4, i.e.,
1035 # \EOP to \EOS.  The shifted and control modifiers still do the same thing.
1036 #
1037 # The cursor keys also have different codes:
1038 #       control-up      \E[162q
1039 #       control-down    \E[165q
1040 #       control-left    \E[159q
1041 #       control-right   \E[168q
1042 #
1043 #       shift-up        \E[161q
1044 #       shift-down      \E[164q
1045 #       shift-left      \E[158q
1046 #       shift-right     \E[167q
1047 #
1048 #       control-tab     \[072q
1049 #
1050 iris-ansi|iris-ansi-net|IRIS emulating 40 line ANSI terminal (almost VT100), 
1051         am, 
1052         cols#80, it#8, lines#40, 
1053         bel=^G, bold=\E[1m, clear=\E[H\E[2J, 
1054         cnorm=\E[9/y\E[12/y\E[=6l, cr=^M, cub=\E[%p1%dD, 
1055         cub1=\E[D, cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, 
1056         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
1057         cuu1=\E[A, cvvis=\E[10/y\E[=1h\E[=2l\E[=6h, 
1058         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, 
1059         home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
1060         is2=\E[?1l\E>\E[?7h\E[100g\E[0m\E7\E[r\E8, kDC=\E[P, 
1061         kEND=\E[147q, kHOM=\E[143q, kLFT=\E[158q, kPRT=\E[210q, 
1062         kRIT=\E[167q, kSPD=\E[218q, kbs=^H, kcbt=\E[Z, kcub1=\E[D, 
1063         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177, 
1064         kend=\E[146q, kent=^M, kf1=\E[001q, kf10=\E[010q, 
1065         kf11=\E[011q, kf12=\E[012q, kf2=\E[002q, kf3=\E[003q, 
1066         kf4=\E[004q, kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, 
1067         kf8=\E[008q, kf9=\E[009q, khome=\E[H, kich1=\E[139q, 
1068         knp=\E[154q, kpp=\E[150q, kprt=\E[209q, krmir=\E[146q, 
1069         kspd=\E[217q, nel=\EE, pfkey=\EP101;%p1%d.y%p2%s\E\\, 
1070         rc=\E8, rev=\E[7m, ri=\EM, rmam=\E[?7l, rmso=\E[m, rmul=\E[m, 
1071         sc=\E7, sgr0=\E[m, smam=\E[?7h, smso=\E[1;7m, smul=\E[4m, 
1072         tbc=\E[3g, 
1073 iris-ansi-ap|IRIS ANSI in application-keypad mode, 
1074         is2=\E[?1l\E=\E[?7h, kent=\EOM, kf10=\E[010q, 
1075         kf11=\E[011q, kf12=\E[012q, kf9=\E[009q, use=iris-ansi, 
1076
1077 # From the man-page, this is a quasi-vt100 emulator that runs on SGI's IRIX
1078 # (T.Dickey 98/1/24)
1079 iris-color|xwsh|IRIX ANSI with color, 
1080         ncv#33, 
1081         csr=\E[%i%p1%d;%p2%dr, dch=\E[%p1%dP, dim=\E[2m, 
1082         ech=\E[%p1%dX, ich=\E[%p1%d@, rc=\E8, ritm=\E[23m, 
1083         rmul=\E[24m, rs1=\Ec, 
1084         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
1085         sitm=\E[3m, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c, 
1086         use=klone+color, use=iris-ansi-ap, 
1087
1088 # The following is a version of the ibm-pc entry distributed with PC/IX,
1089 # (Interactive Systems' System 3 for the Big Blue), modified by Richard
1090 # McIntosh at UCB/CSM.  The :pt: and :uc: have been removed from the original,
1091 # (the former is untrue, and the latter failed under UCB/man); standout and
1092 # underline modes have been added.  Note: this entry describes the "native"
1093 # capabilities of the PC monochrome display, without ANY emulation; most
1094 # communications packages (but NOT PC/IX connect) do some kind of emulation.
1095 pcix|PC/IX console, 
1096         am, bw, eo, 
1097         cols#80, lines#24, 
1098         clear=\Ec, cub1=^H, cud1=\E[B, cuf1=\E[C, 
1099         cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
1100         home=\E[H, rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m, 
1101         smul=\E[4m, 
1102
1103 # (ibmpcx: this entry used to be known as ibmx.
1104 # It formerly included the following extension capabilities:
1105 #       :GC=b:GL=v:GR=t:RT=^J:\
1106 #       :GH=\E[196g:GV=\E[179g:\
1107 #       :GU=\E[193g:GD=\E[194g:\
1108 #       :G1=\E[191g:G2=\E[218g:G3=\E[192g:G4=\E[217g:\
1109 #       :CW=\E[E:NU=\E[F:RF=\E[G:RC=\E[H:\
1110 #       :WL=\E[K:WR=\E[L:CL=\E[M:CR=\E[N:\
1111 # I renamed GS/GE/WL/WR/CL/CR/PU/PD/HM/EN; also, removed a duplicate
1112 # ":kh=\E[Y:".  Added IBM-PC forms characters and highlights, they match
1113 # what was there before. -- esr)
1114 ibmpcx|xenix|ibmx|IBM PC xenix console display, 
1115         OTbs, am, msgr, 
1116         cols#80, lines#25, 
1117         clear=^L, cub1=^H, cud1=\E[B, cuf1=\E[C, 
1118         cup=\E[%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
1119         ed=\E[J, el=\E[K, home=\E[H, ich1=\E[@, il1=\E[L, kbs=^H, 
1120         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[d, 
1121         kf1=\E[K, kf2=\E[L, kf3=\E[M, kf4=\E[N, khome=\E[Y, knp=\E[e, 
1122         kpp=\E[Z, use=klone+acs, use=klone+sgr, 
1123
1124 #### QNX
1125 #
1126
1127 # QNX 4.0 Console
1128 # Michael's original version of this entry had <am@>, <smcup=\Ei>,
1129 # <rmcup=\Eh\ER>; this was so terminfo applications could write the lower
1130 # right corner without triggering a scroll.  The ncurses terminfo library can
1131 # handle this case with the <ich1> capability, and prefers <am> for better
1132 # optimization.  Bug: The <op> capability resets attributes.
1133 # From: Michael Hunter <mphunter@qnx.com> 30 Jul 1996
1134 # (removed: <sgr=%?%p1%t\E<%;%p2%t\E[%;%p3%t\E(%;%p4%t\E{%;%p6%t\E<%;,>)
1135 qnx|qnx4|qnx console, 
1136         daisy, km, mir, msgr, xhpa, xt, 
1137         colors#8, cols#80, it#4, lines#25, ncv#3, pairs#8, 
1138         acsc=O\333a\261j\331k\277l\332m\300n\305o\337q\304s\334t\303u\264v\301w\302x\263, 
1139         bel=^G, blink=\E{, bold=\E<, civis=\Ey0, clear=\EH\EJ, 
1140         cnorm=\Ey1, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
1141         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, cvvis=\Ey2, 
1142         dch1=\Ef, dl1=\EF, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\Ee, 
1143         il1=\EE, ind=^J, kBEG=\377\356, kCAN=\377\263, 
1144         kCMD=\377\267, kCPY=\377\363, kCRT=\377\364, 
1145         kDL=\377\366, kEND=\377\301, kEOL=\377\311, 
1146         kEXT=\377\367, kFND=\377\370, kHLP=\377\371, 
1147         kHOM=\377\260, kIC=\377\340, kLFT=\377\264, 
1148         kMOV=\377\306, kMSG=\377\304, kNXT=\377\272, 
1149         kOPT=\377\372, kPRT=\377\275, kPRV=\377\262, 
1150         kRDO=\377\315, kRES=\377\374, kRIT=\377\266, 
1151         kRPL=\377\373, kSAV=\377\307, kSPD=\377\303, 
1152         kUND=\377\337, kbeg=\377\300, kcan=\377\243, kcbt=\377\0, 
1153         kclo=\377\343, kclr=\377\341, kcmd=\377\245, 
1154         kcpy=\377\265, kcrt=\377\305, kctab=\377\237, 
1155         kcub1=\377\244, kcud1=\377\251, kcuf1=\377\246, 
1156         kcuu1=\377\241, kdch1=\377\254, kdl1=\377\274, 
1157         ked=\377\314, kel=\377\310, kend=\377\250, kent=\377\320, 
1158         kext=\377\270, kf1=\377\201, kf10=\377\212, 
1159         kf11=\377\256, kf12=\377\257, kf13=\377\213, 
1160         kf14=\377\214, kf15=\377\215, kf16=\377\216, 
1161         kf17=\377\217, kf18=\377\220, kf19=\377\221, 
1162         kf2=\377\202, kf20=\377\222, kf21=\377\223, 
1163         kf22=\377\224, kf23=\377\333, kf24=\377\334, 
1164         kf25=\377\225, kf26=\377\226, kf27=\377\227, 
1165         kf28=\377\230, kf29=\377\231, kf3=\377\203, 
1166         kf30=\377\232, kf31=\377\233, kf32=\377\234, 
1167         kf33=\377\235, kf34=\377\236, kf35=\377\276, 
1168         kf36=\377\277, kf37=\377\321, kf38=\377\322, 
1169         kf39=\377\323, kf4=\377\204, kf40=\377\324, 
1170         kf41=\377\325, kf42=\377\326, kf43=\377\327, 
1171         kf44=\377\330, kf45=\377\331, kf46=\377\332, 
1172         kf47=\377\316, kf48=\377\317, kf5=\377\205, kf6=\377\206, 
1173         kf7=\377\207, kf8=\377\210, kf9=\377\211, kfnd=\377\346, 
1174         khlp=\377\350, khome=\377\240, khts=\377\342, 
1175         kich1=\377\253, kil1=\377\273, kind=\377\261, 
1176         kmov=\377\351, kmrk=\377\355, kmsg=\377\345, 
1177         knp=\377\252, knxt=\377\312, kopn=\377\357, 
1178         kopt=\377\353, kpp=\377\242, kprt=\377\255, 
1179         kprv=\377\302, krdo=\377\336, kref=\377\354, 
1180         kres=\377\360, krfr=\377\347, kri=\377\271, 
1181         krmir=\377\313, krpl=\377\362, krst=\377\352, 
1182         ksav=\377\361, kslt=\377\247, kspd=\377\335, 
1183         ktbc=\377\344, kund=\377\365, mvpa=\E!%p1%02d, op=\ER, 
1184         rep=\Eg%p2%{32}%+%c%p1%c, rev=\E(, ri=\EI, rmcup=\Eh\ER, 
1185         rmso=\E), rmul=\E], rs1=\ER, setb=\E@%p1%Pb%gb%gf%d%d, 
1186         setf=\E@%p1%Pf%gb%gf%d%d, sgr0=\E}\E]\E>\E), smcup=\Ei, 
1187         smso=\E(, smul=\E[, 
1188
1189 # From: Federico Bianchi <bianchi@pc-arte2.arte.unipi.it>, 1 Jul 1998
1190 # (esr: commented out <scp> and <rmcup> to avoid warnings.)
1191 # (TD: derive from original qnx4 entry)
1192 qnxt2|qnx 2.15 serial terminal, 
1193         am, 
1194         civis@, cnorm@, cvvis@, dch1@, ich1@, kRES@, kRPL@, kUND@, kspd@, 
1195         rep@, rmcup@, rmso=\E>, setb@, setf@, smcup@, smso=\E<, use=qnx4, 
1196
1197 #### NetBSD consoles
1198 #
1199 # pcvt termcap database entries (corresponding to release 3.31)
1200 # Author's last edit-date: [Fri Sep 15 20:29:10 1995]
1201 #
1202 # (For the terminfo master file, I translated these into terminfo syntax.
1203 # Then I dropped all the pseudo-HP entries. we don't want and can't use
1204 # the :Xs: flag. Then I split :is: into a size-independent <is1> and a
1205 # size-dependent <is2>.  Finally, I added <rmam>/<smam> -- esr)
1206
1207 # NOTE: <ich1> has been taken out of this entry. for reference, it should
1208 # be <ich1=\E[@>.  For discussion, see ICH/ICH1 VERSUS RMIR/SMIR below.
1209 # (esr: added <civis> and <cnorm> to resolve NetBSD Problem Report #4583)
1210 pcvtXX|pcvt vt200 emulator (DEC VT220), 
1211         am, km, mir, msgr, xenl, 
1212         it#8, vt#3, 
1213         acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz~~, 
1214         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
1215         clear=\E[H\E[J, cnorm=\E[?25h, cr=^M, 
1216         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
1217         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
1218         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
1219         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
1220         el=\E[K, el1=\E[1K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, 
1221         il=\E[%p1%dL, il1=\E[L, ind=\ED, indn=\E[%p1%dS, 
1222         is1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kbs=\177, 
1223         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
1224         kdch1=\E[3~, kf1=\E[17~, kf2=\E[18~, kf3=\E[19~, 
1225         kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, 
1226         khome=\E[1~, kich1=\E[2~, kll=\E[4~, knp=\E[6~, kpp=\E[5~, 
1227         nel=\EE, rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt100, 
1228         ri=\EM, rin=\E[%p1%dT, rmacs=\E(B, rmam=\E[?7l, rmir=\E[4l, 
1229         rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, 
1230         rs1=\Ec\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
1231         sgr0=\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h, 
1232         smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
1233
1234 #       NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
1235 #       termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
1236 #       50 lines entries; 80 columns
1237 pcvt25|dec vt220 emulation with 25 lines, 
1238         cols#80, lines#25, 
1239         is2=\E[1;25r\E[25;1H, use=pcvtXX, 
1240 pcvt28|dec vt220 emulation with 28 lines, 
1241         cols#80, lines#28, 
1242         is2=\E[1;28r\E[28;1H, use=pcvtXX, 
1243 pcvt35|dec vt220 emulation with 35 lines, 
1244         cols#80, lines#35, 
1245         is2=\E[1;35r\E[35;1H, use=pcvtXX, 
1246 pcvt40|dec vt220 emulation with 40 lines, 
1247         cols#80, lines#40, 
1248         is2=\E[1;40r\E[40;1H, use=pcvtXX, 
1249 pcvt43|dec vt220 emulation with 43 lines, 
1250         cols#80, lines#43, 
1251         is2=\E[1;43r\E[43;1H, use=pcvtXX, 
1252 pcvt50|dec vt220 emulation with 50 lines, 
1253         cols#80, lines#50, 
1254         is2=\E[1;50r\E[50;1H, use=pcvtXX, 
1255
1256 #       NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
1257 #       termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
1258 #       50 lines entries; 132 columns
1259 pcvt25w|dec vt220 emulation with 25 lines and 132 cols, 
1260         cols#132, lines#25, 
1261         is2=\E[1;25r\E[25;1H, use=pcvtXX, 
1262 pcvt28w|dec vt220 emulation with 28 lines and 132 cols, 
1263         cols#132, lines#28, 
1264         is2=\E[1;28r\E[28;1H, use=pcvtXX, 
1265 pcvt35w|dec vt220 emulation with 35 lines and 132 cols, 
1266         cols#132, lines#35, 
1267         is2=\E[1;35r\E[35;1H, use=pcvtXX, 
1268 pcvt40w|dec vt220 emulation with 40 lines and 132 cols, 
1269         cols#132, lines#40, 
1270         is2=\E[1;40r\E[40;1H, use=pcvtXX, 
1271 pcvt43w|dec vt220 emulation with 43 lines and 132 cols, 
1272         cols#132, lines#43, 
1273         is2=\E[1;43r\E[43;1H, use=pcvtXX, 
1274 pcvt50w|dec vt220 emulation with 50 lines and 132 cols, 
1275         cols#132, lines#50, 
1276         is2=\E[1;50r\E[50;1H, use=pcvtXX, 
1277
1278 # Terminfo entries to enable the use of the ncurses library in colour on a
1279 # NetBSD-arm32 console (only tested on a RiscPC).
1280 # Created by Dave Millen <dmill@globalnet.co.uk> 22.07.98
1281 # modified codes for setf/setb to setaf/setab, then to klone+color, corrected
1282 # typo in invis - TD
1283 arm100|arm100-am|Arm(RiscPC) ncurses compatible (for 640x480), 
1284         am, bce, msgr, xenl, xon, 
1285         cols#80, it#8, lines#30, 
1286         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1287         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
1288         clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
1289         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
1290         cuf=\E[%p1%dC, cuf1=\E[C$<2>, 
1291         cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, 
1292         cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>, 
1293         enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ind=^J, 
1294         invis=\E[8m$<2>, ka1=\E[q, ka3=\E[s, kb2=\E[r, kbs=^H, 
1295         kc1=\E[p, kc3=\E[n, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
1296         kcuu1=\E[A, kent=\E[M, kf0=\E[y, kf1=\E[P, kf10=\E[x, 
1297         kf2=\E[Q, kf3=\E[R, kf4=\E[S, kf5=\E[t, kf6=\E[u, kf7=\E[v, 
1298         kf8=\E[l, kf9=\E[w, rc=\E8, rev=\E[6m$<2>, ri=\EM$<5>, 
1299         rmacs=^O, rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m$<2>, 
1300         rmul=\E[m$<2>, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
1301         sc=\E7, 
1302         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
1303         sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, 
1304         smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, use=ecma+sgr, 
1305         use=klone+color, 
1306
1307 arm100-w|arm100-wam|Arm(RiscPC) ncurses compatible (for 1024x768), 
1308         cols#132, lines#50, use=arm100, 
1309
1310 # NetBSD/x68k console vt200 emulator. This port runs on a 68K machine
1311 # manufactured by Sharp for the Japenese market.
1312 # From Minoura Makoto <minoura@netlaputa.or.jp>, 12 May 1996
1313 x68k|x68k-ite|NetBSD/x68k ITE, 
1314         cols#96, lines#32, 
1315         kclr=\E[9~, khlp=\E[28~, use=vt220, 
1316
1317 # <tv@pobox.com>:
1318 # Entry for the DNARD OpenFirmware console, close to ANSI but not quite.
1319 #
1320 # (still unfinished, but good enough so far.)
1321 ofcons, 
1322         bw, 
1323         cols#80, lines#30, 
1324         bel=^G, blink=\2337;2m, bold=\2331m, clear=^L, cr=^M, 
1325         cub=\233%p1%dD, cub1=\233D, cud=\233%p1%dB, cud1=\233B, 
1326         cuf=\233%p1%dC, cuf1=\233C, cup=\233%i%p1%d;%p2%dH, 
1327         cuu=\233%p1%dA, cuu1=\233A, dch=\233%p1%dP, dch1=\233P, 
1328         dim=\2332m, dl=\233%p1%dM, dl1=\233M, ed=\233J, el=\233K, 
1329         flash=^G, ht=^I, ich=\233%p1%d@, ich1=\233@, il=\233%p1%dL, 
1330         il1=\233L, ind=^J, invis=\2338m, kbs=^H, kcub1=\233D, 
1331         kcud1=\233B, kcuf1=\233C, kcuu1=\233A, kdch1=\233P, 
1332         kf1=\2330P, kf10=\2330M, kf2=\2330Q, kf3=\2330W, 
1333         kf4=\2330x, kf5=\2330t, kf6=\2330u, kf7=\2330q, kf8=\2330r, 
1334         kf9=\2330p, knp=\233/, kpp=\233?, nel=^M^J, rev=\2337m, 
1335         rmso=\2330m, rmul=\2330m, sgr0=\2330m, 
1336
1337 # NetBSD "wscons" emulator in vt220 mode
1338 # These are micro-minimal and probably need to be redone for real
1339 # after the manner of the pcvt entries.
1340 wsvt25|NetBSD wscons in 25 line DEC VT220 mode, 
1341         cols#80, lines#25, use=vt220, 
1342
1343 wsvt25m|NetBSD wscons in 25 line DEC VT220 mode with Meta, 
1344         km, 
1345         cols#80, lines#25, use=vt220, 
1346
1347 # `rasterconsole' provided by 4.4BSD, NetBSD and OpenBSD on SPARC, and 
1348 # DECstation/pmax.
1349 rcons|BSD rasterconsole, 
1350         use=sun-il, 
1351 # Color version of above. Color currenly only provided by NetBSD.
1352 rcons-color|BSD rasterconsole with ANSI color, 
1353         bce, 
1354         colors#8, pairs#64, 
1355         op=\E[m, setab=\E[4%dm, setaf=\E[3%dm, use=rcons, 
1356
1357 # mgterm -- MGL/MGL2, MobileGear Graphic Library
1358 # for PocketBSD,PocketLinux,NetBSD/{hpcmips,mac68k}
1359 # -- the setf/setb are probably incorrect, more likely setaf/setab -TD
1360 # -- compare with cons25w
1361 mgterm, 
1362         OTbs, OTpt, am, bce, bw, eo, km, msgr, npc, 
1363         colors#8, cols#80, it#8, lines#18, pairs#64, 
1364         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J, 
1365         cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
1366         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
1367         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
1368         dch=\E[%p1%dP, dch1=\E[P, dim=\E[30;1m, dl=\E[%p1%dM, 
1369         dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, 
1370         home=\E[H, hpa=\E[%i%p1%d`, ht=^I, ich=\E[%p1%d@, 
1371         ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S, 
1372         indn=\E[%p1%dS, kb2=\E[E, kbs=^H, kcbt=\E[Z, kcub1=\E[D, 
1373         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177, kend=\E[F, 
1374         kf1=\E[M, kf10=\E[V, kf11=\E[W, kf12=\E[X, kf2=\E[N, 
1375         kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S, kf8=\E[T, 
1376         kf9=\E[U, khome=\E[H, kich1=\E[L, knp=\E[G, kpp=\E[I, 
1377         nel=\E[E, op=\E[x, rc=\E8, rev=\E[7m, ri=\E[T, rin=\E[%p1%dT, 
1378         rmso=\E[m, rs2=\E[x\E[m\Ec, sc=\E7, setb=\E[4%p1%dm, 
1379         setf=\E[3%p1%dm, sgr0=\E[m, smso=\E[7m, vpa=\E[%i%p1%dd, 
1380
1381 #### FreeBSD console entries
1382 #
1383 # From: Andrey Chernov <ache@astral.msk.su> 29 Mar 1996
1384 # Andrey Chernov maintains the FreeBSD termcap distributions.
1385 #
1386 # Note: Users of FreeBSD 2.1.0 and older versions must either upgrade
1387 # or comment out the :cb: capability in the console entry.
1388 #
1389 # Alexander Lukyanov reports:
1390 # I have seen FreeBSD-2.1.5R... The old el1 bug changed, but it is still there.
1391 # Now el1 clears not only to the line beginning, but also a large chunk
1392 # of previous line. But there is another bug - ech does not work at all.
1393 #
1394
1395 # for syscons
1396 # common entry without semigraphics
1397 # Bug: The <op> capability resets attributes.
1398 # Bug? The ech and el1 attributes appear to move the cursor in some cases; for
1399 # instance el1 does if the cursor is moved to the right margin first.  Removed
1400 # by T.Dickey 97/5/3 (ech=\E[%p1%dX, el1=\E[1K)
1401 #
1402 # Setting colors turns off reverse; we cannot guarantee order, so use ncv.
1403 # Note that this disables standout with color.
1404 cons25w|ansiw|ansi80x25-raw|freebsd console (25-line raw mode), 
1405         am, bce, bw, eo, msgr, npc, 
1406         colors#8, cols#80, it#8, lines#25, ncv#21, pairs#64, 
1407         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J, 
1408         cnorm=\E[=0C, cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, 
1409         cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
1410         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
1411         cvvis=\E[=1C, dch=\E[%p1%dP, dch1=\E[P, dim=\E[30;1m, 
1412         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, 
1413         hpa=\E[%i%p1%d`, ht=^I, ich=\E[%p1%d@, ich1=\E[@, 
1414         il=\E[%p1%dL, il1=\E[L, ind=\E[S, indn=\E[%p1%dS, kb2=\E[E, 
1415         kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
1416         kcuu1=\E[A, kdch1=\177, kend=\E[F, kf1=\E[M, kf10=\E[V, 
1417         kf11=\E[W, kf12=\E[X, kf2=\E[N, kf3=\E[O, kf4=\E[P, kf5=\E[Q, 
1418         kf6=\E[R, kf7=\E[S, kf8=\E[T, kf9=\E[U, khome=\E[H, 
1419         kich1=\E[L, knp=\E[G, kpp=\E[I, nel=\E[E, op=\E[x, rev=\E[7m, 
1420         ri=\E[T, rin=\E[%p1%dT, rmso=\E[m, rs2=\E[x\E[m\Ec, 
1421         setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[m, 
1422         smso=\E[7m, vpa=\E[%i%p1%dd, 
1423 cons25|ansis|ansi80x25|freebsd console (25-line ansi mode), 
1424         acsc=-\030.^Y0\333`\004a\260f\370g\361h\261i\025j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263y\363z\362~\371, 
1425         use=cons25w, 
1426 cons25-m|ansis-mono|ansi80x25-mono|freebsd console (25-line mono ansi mode), 
1427         colors@, pairs@, 
1428         bold@, dim@, op@, rmul=\E[m, setab@, setaf@, smul=\E[4m, 
1429         use=cons25, 
1430 cons30|ansi80x30|freebsd console (30-line ansi mode), 
1431         lines#30, use=cons25, 
1432 cons30-m|ansi80x30-mono|freebsd console (30-line mono ansi mode), 
1433         lines#30, use=cons25-m, 
1434 cons43|ansi80x43|freebsd console (43-line ansi mode), 
1435         lines#43, use=cons25, 
1436 cons43-m|ansi80x43-mono|freebsd console (43-line mono ansi mode), 
1437         lines#43, use=cons25-m, 
1438 cons50|ansil|ansi80x50|freebsd console (50-line ansi mode), 
1439         lines#50, use=cons25, 
1440 cons50-m|ansil-mono|ansi80x50-mono|freebsd console (50-line mono ansi mode), 
1441         lines#50, use=cons25-m, 
1442 cons60|ansi80x60|freebsd console (60-line ansi mode), 
1443         lines#60, use=cons25, 
1444 cons60-m|ansi80x60-mono|freebsd console (60-line mono ansi mode), 
1445         lines#60, use=cons25-m, 
1446 cons25r|pc3r|ibmpc3r|cons25-koi8-r|freebsd console w/koi8-r cyrillic, 
1447         acsc=-\030.^Y0\215`\004a\220f\234h\221i\025j\205k\203l\202m\204n\212q\0t\206u\207v\211w\210x\201y\230z\231~\225, 
1448         use=cons25w, 
1449 cons25r-m|pc3r-m|ibmpc3r-mono|cons25-koi8r-m|freebsd console w/koi8-r cyrillic (mono), 
1450         colors@, pairs@, 
1451         op@, rmul=\E[m, setab@, setaf@, smul=\E[4m, use=cons25r, 
1452 cons50r|cons50-koi8r|freebsd console w/koi8-r cyrillic (50 lines), 
1453         lines#50, use=cons25r, 
1454 cons50r-m|cons50-koi8r-m|freebsd console w/koi8-r cyrillic (50-line mono), 
1455         lines#50, use=cons25r-m, 
1456 cons60r|cons60-koi8r|freebsd console w/koi8-r cyrillic (60 lines), 
1457         lines#60, use=cons25r, 
1458 cons60r-m|cons60-koi8r-m|freebsd console w/koi8-r cyrillic (60-line mono), 
1459         lines#60, use=cons25r-m, 
1460 # ISO 8859-1 FreeBSD console
1461 cons25l1|cons25-iso8859|freebsd console w/iso 8859-1 chars, 
1462         acsc=+\253\,\273-\030.\031`\201a\202f\207g\210i\247j\213k\214l\215m\216n\217o\220p\221q\222r\223s\224t\225u\226v\227w\230x\231y\232z\233~\237, 
1463         use=cons25w, 
1464 cons25l1-m|cons25-iso-m|freebsd console w/iso 8859-1 chars (mono), 
1465         colors@, pairs@, 
1466         bold@, dim@, op@, rmul=\E[m, setab@, setaf@, smul=\E[4m, 
1467         use=cons25l1, 
1468 cons50l1|cons50-iso8859|freebsd console w/iso 8859-1 chars (50 lines), 
1469         lines#50, use=cons25l1, 
1470 cons50l1-m|cons50-iso-m|freebsd console w/iso 8859-1 chars (50-line mono), 
1471         lines#50, use=cons25l1-m, 
1472 cons60l1|cons60-iso|freebsd console w/iso 8859-1 chars (60 lines), 
1473         lines#60, use=cons25l1, 
1474 cons60l1-m|cons60-iso-m|freebsd console w/iso 8859-1 chars (60-line mono), 
1475         lines#60, use=cons25l1-m, 
1476
1477 #### 386BSD and BSD/OS Consoles
1478 #
1479
1480 # This was the original 386BSD console entry (I think).  
1481 # Some places it's named oldpc3|oldibmpc3.
1482 # From: Alex R.N. Wetmore <aw2t@andrew.cmu.edu>
1483 origpc3|origibmpc3|IBM PC 386BSD Console, 
1484         OTbs, am, bw, eo, xon, 
1485         cols#80, lines#25, 
1486         acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263, 
1487         bold=\E[7m, clear=\Ec, cub1=^H, cud1=\E[B, cuf1=\E[C, 
1488         cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
1489         home=\E[H, ind=\E[S, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
1490         kcuu1=\E[A, khome=\E[Y, ri=\E[T, rmso=\E[1;0x\E[2;7x, 
1491         rmul=\E[1;0x\E[2;7x, sgr0=\E[m\E[1;0x\E[2;7x, 
1492         smso=\E[1;7x\E[2;0x, smul=\E[1;7x\E[2;0x, 
1493
1494 # description of BSD/386 console emulator in version 1.0 (supplied by BSDI)
1495 oldpc3|oldibmpc3|old IBM PC BSD/386 Console, 
1496         OTbs, km, 
1497         lines#25, 
1498         bel=^G, bold=\E[=15F, cr=^M, cud1=^J, dim=\E[=8F, dl1=\E[M, 
1499         ht=^I, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
1500         kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, kich1=\E[L, kll=\E[F, 
1501         knp=\E[G, kpp=\E[I, nel=^M^J, sgr0=\E[=R, 
1502
1503 # Description of BSD/OS console emulator in version 1.1, 2.0, 2.1
1504 # Note, the emulator supports many of the additional console features
1505 # listed in the iBCS2 (e.g. character-set selection) though not all
1506 # are described here.  This entry really ought to be upgraded.
1507 # Also note, the console will also work with fewer lines after doing
1508 # "stty rows NN", e.g. to use 24 lines.
1509 # (Color support from Kevin Rosenberg <kevin@cyberport.com>, 2 May 1996) 
1510 # Bug: The <op> capability resets attributes.
1511 bsdos-pc|IBM PC BSD/OS Console, 
1512         sgr=\E[0;10%?%p1%t;7%;%?%p2%t;1%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m, 
1513         use=bsdos-pc-nobold, 
1514
1515 bsdos-pc-nobold|BSD/OS PC console w/o bold, 
1516         use=klone+color, use=bsdos-pc-m, 
1517
1518 bsdos-pc-m|bsdos-pc-mono|BSD/OS PC console mono, 
1519         OTbs, am, eo, km, xon, 
1520         cols#80, it#8, lines#25, 
1521         bel=^G, clear=\Ec, cr=^M, cub=\E[%p1%dD, cub1=^H, 
1522         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
1523         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
1524         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
1525         il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, 
1526         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, kich1=\E[L, 
1527         kll=\E[F, knp=\E[G, kpp=\E[I, nel=^M^J, rc=\E8, sc=\E7, 
1528         sgr=\E[0;10%?%p1%t;7%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m%?%p5%t\E[=8F%;, 
1529         use=klone+sgr, 
1530
1531 # Old names for BSD/OS PC console used in releases before 4.1. 
1532 pc3|BSD/OS on the PC Console, 
1533         use=bsdos-pc-nobold, 
1534 ibmpc3|pc3-bold|BSD/OS on the PC Console with bold instead of underline, 
1535         use=bsdos-pc, 
1536  
1537 # BSD/OS on the SPARC 
1538 bsdos-sparc|Sun SPARC BSD/OS Console, 
1539         use=sun, 
1540          
1541 # BSD/OS on the PowerPC 
1542 bsdos-ppc|PowerPC BSD/OS Console, 
1543         use=bsdos-pc, 
1544
1545 #### DEC VT52
1546 # (<acsc>/<rmacs>/<smacs> capabilities aren't in DEC's official entry -- esr)
1547 vt52|dec vt52, 
1548         OTbs, 
1549         cols#80, it#8, lines#24, 
1550         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1551         bel=^G, clear=\EH\EJ, cr=^M, cub1=\ED, cud1=\EB, cuf1=\EC, 
1552         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
1553         el=\EK, home=\EH, ht=^I, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, 
1554         kcuf1=\EC, kcuu1=\EA, nel=^M^J, ri=\EI, rmacs=\EG, smacs=\EF, 
1555
1556 #### DEC VT100 and compatibles
1557 #
1558 # DEC terminals from the vt100 forward are collected here. Older DEC terminals
1559 # and micro consoles can be found in the `obsolete' section.  More details on
1560 # the relationship between the VT100 and ANSI X3.64/ISO 6429/ECMA-48 may be
1561 # found near the end of this file.
1562 #
1563 # Except where noted, these entries are DEC's official terminfos.
1564 # Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
1565 # Engineering for more information.  Updated terminfos and termcaps 
1566 # are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
1567 #
1568 # In October 1995 DEC sold its terminals business, including the VT and Dorio
1569 # line and trademark, to SunRiver Data Systems.  SunRiver has since changed
1570 # its name to Boundless Technologies; see http://www.boundless.com.
1571 #
1572
1573 # NOTE:  Any VT100 emulation, whether in hardware or software, almost
1574 # certainly includes what DEC called the `Level 1 editing extension' codes;
1575 # only the very oldest VT100s lacked these and there probably aren't any of
1576 # those left alive.  To capture these, use one of the VT102 entries.
1577 #
1578 # Note that the <xenl> glitch in vt100 is not quite the same as on the Concept,
1579 # since the cursor is left in a different position while in the
1580 # weird state (concept at beginning of next line, vt100 at end
1581 # of this line) so all versions of vi before 3.7 don't handle
1582 # <xenl> right on vt100. The correct way to handle <xenl> is when
1583 # you output the char in column 80, immediately output CR LF
1584 # and then assume you are in column 1 of the next line. If <xenl>
1585 # is on, am should be on too.
1586
1587 # I assume you have smooth scroll off or are at a slow enough baud
1588 # rate that it doesn't matter (1200? or less). Also this assumes
1589 # that you set auto-nl to "on", if you set it off use vt100-nam 
1590 # below.
1591
1592 # The padding requirements listed here are guesses. It is strongly
1593 # recommended that xon/xoff be enabled, as this is assumed here.
1594
1595 # The vt100 uses <rs2> and <rf> rather than <is2>/<tbc>/<hts> because the 
1596 # tab settings are in non-volatile memory and don't need to be 
1597 # reset upon login. Also setting the number of columns glitches 
1598 # the screen annoyingly. You can type "reset" to get them set.
1599 #
1600 # The VT100 series terminals have cursor ("arrows") keys which can operate
1601 # in two different modes: Cursor Mode and Application Mode.  Cursor Mode
1602 # is the reset state, and is assumed to be the normal state.  Application
1603 # Mode is the "set" state.  In Cursor Mode, the cursor keys transmit
1604 # "Esc [ {code}" sequences, conforming to ANSI standards.  In Application
1605 # Mode, the cursor keys transmit "Esc O <code>" sequences.  Application Mode
1606 # was provided primarily as an aid to the porting of VT52 applications.  It is
1607 # assumed that the cursor keys are normally in Cursor Mode, and expected that
1608 # applications such as vi will always transmit the <smkx> string.  Therefore,
1609 # the definitions for the cursor keys are made to match what the terminal
1610 # transmits after the <smkx> string is transmitted.  If the <smkx> string
1611 # is a null string or is not defined, then cursor keys are assumed to be in
1612 # "Cursor Mode", and the cursor keys definitions should match that assumption,
1613 # else the application may fail.  It is also expected that applications will
1614 # always transmit the <rmkx> string to the terminal before they exit.
1615 #
1616 # The VT100 series terminals have an auxiliary keypad, commonly referred to as
1617 # the "Numeric Keypad", because it is a cluster of numeric and function keys.
1618 # The Numeric Keypad which can operate in two different modes: Numeric Mode and
1619 # Application Mode.  Numeric Mode is the reset state, and is assumed to be
1620 # the normal state.  Application Mode is the "set" state.  In Numeric Mode,
1621 # the numeric and punctuation keys transmit ASCII 7-bit characters, and the 
1622 # Enter key transmits the same as the Return key (Note: the Return key
1623 # can be configured to send either LF (\015) or CR LF).  In Application Mode,
1624 # all the keypad keys transmit "Esc O {code}" sequences.  The PF1 - PF4 keys
1625 # always send the same "Esc O {code}" sequences.  It is assumed that the keypad
1626 # is normally in Numeric Mode.  If an application requires that the keypad be
1627 # in Application Mode then it is expected that the user, or the application,
1628 # will set the TERM environment variable to point to a terminfo entry which has
1629 # defined the <smkx> string to include the codes that switch the keypad into
1630 # Application Mode, and the terminfo entry will also define function key
1631 # fields to match the Application Mode control codes.  If the <smkx> string
1632 # is a null string or is not defined, then the keypad is assumed to be in
1633 # Numeric Mode.  If the <smkx> string switches the keypad into Application
1634 # Mode, it is expected that the <rmkx> string will contain the control codes
1635 # necessary to reset the keypad to "Normal" mode, and it is also expected that
1636 # applications which transmit the <smkx> string will also always transmit the
1637 # <rmkx> string to the terminal before they exit.
1638 #
1639 # Here's a diagram of the VT100 keypad keys with their bindings.
1640 # The top line is the name of the key (some DEC keyboards have the keys
1641 # labelled somewhat differently, like GOLD instead of PF1, but this is
1642 # the most "official" name).  The second line is the escape sequence it
1643 # generates in Application Keypad mode (where "$" means the ESC
1644 # character).  The third line contains two items, first the mapping of
1645 # the key in terminfo, and then in termcap.
1646 #   _______________________________________
1647 #  |   PF1   |   PF2   |   PF3   |   PF4   |
1648 #  |   $OP   |   $OQ   |   $OR   |   $OS   |
1649 #  |_kf1__k1_|_kf2__k2_|_kf3__k3_|_kf4__k4_|
1650 #  |    7         8         9         -    |
1651 #  |   $Ow   |   $Ox   |   $Oy   |   $Om   |
1652 #  |_kf9__k9_|_kf10_k;_|_kf0__k0_|_________|
1653 #  |    4    |    5    |    6    |    ,    |
1654 #  |   $Ot   |   $Ou   |   $Ov   |   $Ol   |
1655 #  |_kf5__k5_|_kf6__k6_|_kf7__k7_|_kf8__k8_|
1656 #  |    1    |    2    |    3    |         |
1657 #  |   $Oq   |   $Or   |   $Os   |  enter  |
1658 #  |_ka1__K1_|_kb2__K2_|_ka3__K3_|  $OM    |
1659 #  |         0         |   .     |         |
1660 #  |        $Op        |  $On    |         |
1661 #  |___kc1_______K4____|_kc3__K5_|_kent_@8_|
1662 #
1663 # And here, for those of you with orphaned VT100s lacking documentation, is
1664 # a description of the soft switches invoked when you do `Set Up'.
1665
1666 #  Scroll 0-Jump               Shifted 3   0-#
1667 #  |      1-Smooth             |           1-British pound sign
1668 #  | Autorepeat 0-Off          | Wrap Around 0-Off
1669 #  | |          1-On           | |           1-On
1670 #  | | Screen 0-Dark Bkg       | | New Line 0-Off
1671 #  | | |      1-Light Bkg      | | |        1-On
1672 #  | | | Cursor 0-Underline    | | | Interlace 0-Off
1673 #  | | | |      1-Block        | | | |         1-On
1674 #  | | | |                     | | | |
1675 #  1 1 0 1       1 1 1 1       0 1 0 0       0 0 1 0       <--Standard Settings
1676 #                | | | |                     | | | |
1677 #                | | | Auto XON/XOFF 0-Off   | | | Power 0-60 Hz
1678 #                | | |               1-On    | | |       1-50 Hz
1679 #                | | Ansi/VT52 0-VT52        | | Bits Per Char. 0-7 Bits
1680 #                | |           1-ANSI        | |                1-8 Bits
1681 #                | Keyclick 0-Off            | Parity 0-Off
1682 #                |          1-On             |        1-On
1683 #                Margin Bell 0-Off           Parity Sense 0-Odd
1684 #                            1-On                         1-Even
1685 #
1686 # The following SET-UP modes are assumed for normal operation:
1687 #       ANSI_MODE       AUTO_XON/XOFF_ON        NEWLINE_OFF     80_COLUMNS
1688 #       WRAP_AROUND_ON  JUMP_SCROLL_OFF
1689 # Other SET-UP modes may be set for operator convenience or communication
1690 # requirements; I recommend
1691 #       AUTOREPEAT_ON   BLOCK_CURSOR    MARGIN_BELL_OFF    SHIFTED_3_#
1692 # Unless you have a graphics add-on such as Digital Engineering's VT640
1693 # (and even then, whenever it can be arranged!) you should set
1694 #       INTERLACE_OFF
1695 #
1696 # (vt100: I added <rmam>/<smam> based on the init string, also <OTbs>. -- esr)
1697 vt100|vt100-am|dec vt100 (w/advanced video), 
1698         OTbs, am, msgr, xenl, xon, 
1699         cols#80, it#8, lines#24, vt#3, 
1700         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1701         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
1702         clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
1703         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
1704         cuf=\E[%p1%dC, cuf1=\E[C$<2>, 
1705         cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, 
1706         cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>, 
1707         enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ind=^J, ka1=\EOq, 
1708         ka3=\EOs, kb2=\EOr, kbs=^H, kc1=\EOp, kc3=\EOn, kcub1=\EOD, 
1709         kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kent=\EOM, kf0=\EOy, 
1710         kf1=\EOP, kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt, 
1711         kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, rc=\E8, 
1712         rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l, 
1713         rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>, 
1714         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
1715         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
1716         sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, 
1717         smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, 
1718 vt100nam|vt100-nam|vt100 no automargins, 
1719         am@, xenl@, use=vt100-am, 
1720 vt100-vb|dec vt100 (w/advanced video) & no beep, 
1721         bel@, flash=\E[?5h\E[?5l, use=vt100, 
1722
1723 # Ordinary vt100 in 132 column ("wide") mode.
1724 vt100-w|vt100-w-am|dec vt100 132 cols (w/advanced video), 
1725         cols#132, lines#24, 
1726         rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=vt100-am, 
1727 vt100-w-nam|vt100-nam-w|dec vt100 132 cols (w/advanced video no automargin), 
1728         cols#132, lines#14, vt@, 
1729         rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=vt100-nam, 
1730
1731 # vt100 with no advanced video.
1732 vt100-nav|vt100 without advanced video option, 
1733         xmc#1, 
1734         blink@, bold@, rev@, rmso=\E[m, rmul@, sgr@, sgr0@, smso=\E[7m, 
1735         smul@, use=vt100, 
1736 vt100-nav-w|vt100-w-nav|dec vt100 132 cols 14 lines (no advanced video option), 
1737         cols#132, lines#14, use=vt100-nav, 
1738
1739 # vt100 with one of the 24 lines used as a status line.
1740 # We put the status line on the top.
1741 vt100-s|vt100-s-top|vt100-top-s|vt100 for use with top sysline, 
1742         eslok, hs, 
1743         lines#23, 
1744         clear=\E[2;1H\E[J$<50>, csr=\E[%i%i%p1%d;%p2%dr, 
1745         cup=\E[%i%p1%{1}%+%d;%p2%dH$<5>, dsl=\E7\E[1;24r\E8, 
1746         fsl=\E8, home=\E[2;1H, is2=\E7\E[2;24r\E8, 
1747         tsl=\E7\E[1;%p1%dH\E[1K, use=vt100-am, 
1748
1749 # Status line at bottom. 
1750 # Clearing the screen will clobber status line.
1751 vt100-s-bot|vt100-bot-s|vt100 for use with bottom sysline, 
1752         eslok, hs, 
1753         lines#23, 
1754         dsl=\E7\E[1;24r\E8, fsl=\E8, is2=\E[1;23r\E[23;1H, 
1755         tsl=\E7\E[24;%p1%dH\E[1K, use=vt100-am, 
1756
1757 # Most of the `vt100' emulators out there actually emulate a vt102
1758 # This entry (or vt102-nsgr) is probably the right thing to use for
1759 # these.  
1760 vt102|dec vt102, 
1761         mir, 
1762         dch1=\E[P, dl1=\E[M, il1=\E[L, rmir=\E[4l, smir=\E[4h, 
1763         use=vt100, 
1764 vt102-w|dec vt102 in wide mode, 
1765         cols#132, 
1766         rs3=\E[?3h, use=vt102, 
1767
1768 # Many brain-dead PC comm programs that pretend to be `vt100-compatible'
1769 # fail to interpret the ^O and ^N escapes properly.  Symptom: the <sgr0>
1770 # string in the canonical vt100 entry above leaves the screen littered
1771 # with little  snowflake or star characters (IBM PC ROM character \017 = ^O)
1772 # after highlight turnoffs.  This entry should fix that, and even leave
1773 # ACS support working, at the cost of making multiple-highlight changes 
1774 # slightly more expensive.
1775 # From: Eric S. Raymond <esr@snark.thyrsus.com> July 22 1995
1776 vt102-nsgr|vt102 no sgr (use if you see snowflakes after highlight changes), 
1777         sgr@, sgr0=\E[m, use=vt102, 
1778
1779 # VT125 Graphics CRT.  Clear screen also erases graphics
1780 vt125|vt125 graphics terminal, 
1781         clear=\E[H\E[2J\EPpS(E)\E\\$<50>, use=vt100, 
1782
1783 # This isn't a DEC entry, it came from University of Wisconsin.
1784 # (vt131: I added <rmam>/<smam> based on the init string, also <OTbs> -- esr)
1785 vt131|dec vt131, 
1786         OTbs, am, xenl, 
1787         cols#80, it#8, lines#24, vt#3, 
1788         bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>, 
1789         clear=\E[;H\E[2J$<50/>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
1790         cub1=^H, cud1=^J, cuf1=\E[C$<2/>, 
1791         cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<2/>, 
1792         ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H, ht=^I, 
1793         is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\EOD, kcud1=\EOB, 
1794         kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR, 
1795         kf4=\EOS, nel=^M^J, rc=\E8, rev=\E[7m$<2/>, ri=\EM$<5/>, 
1796         rmam=\E[?7h, rmkx=\E[?1l\E>, rmso=\E[m$<2/>, 
1797         rmul=\E[m$<2/>, 
1798         rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
1799         sgr0=\E[m$<2/>, smam=\E[?7h, smkx=\E[?1h\E=, 
1800         smso=\E[7m$<2/>, smul=\E[4m$<2/>, 
1801
1802 # vt132 - like vt100 but slower and has ins/del line and such.
1803 # I'm told that <smir>/<rmir> are backwards in the terminal from the
1804 # manual and from the ANSI standard, this describes the actual 
1805 # terminal. I've never actually used a vt132 myself, so this 
1806 # is untested.
1807 #
1808 vt132|DEC vt132, 
1809         xenl, 
1810         dch1=\E[P$<7>, dl1=\E[M$<99>, il1=\E[L$<99>, ind=\n$<30>, 
1811         ip=$<7>, rmir=\E[4h, smir=\E[4l, use=vt100, 
1812
1813 # This vt220 description maps F5--F9 to the second block of function keys
1814 # at the top of the keyboard.  The "DO" key is used as F10 to avoid conflict
1815 # with the key marked (ESC) on the vt220.  See vt220d for an alternate mapping.
1816 # PF1--PF4 are used as F1--F4.
1817 #
1818 vt220-old|vt200-old|DEC VT220 in vt100 emulation mode, 
1819         OTbs, OTpt, am, mir, xenl, xon, 
1820         cols#80, lines#24, vt#3, 
1821         OTnl=^J, 
1822         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1823         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, civis=\E[?25l, 
1824         clear=\E[H\E[2J$<50>, cnorm=\E[?25h, cr=^M, 
1825         csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C, 
1826         cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P, 
1827         dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I, 
1828         if=/usr/share/tabset/vt100, il1=\E[L, ind=\ED$<20/>, 
1829         is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
1830         kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kend=\E[4~, kf1=\EOP, 
1831         kf10=\E[29~, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\E[17~, 
1832         kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, kf9=\E[21~, 
1833         khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, rc=\E8, 
1834         rev=\E[7m$<2>, rf=/usr/share/tabset/vt100, 
1835         ri=\EM$<14/>, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l, 
1836         rmso=\E[27m, rmul=\E[24m, 
1837         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
1838         sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;, 
1839         sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h, 
1840         smso=\E[7m, smul=\E[4m, 
1841
1842 # A much better description of the VT200/220; used to be vt220-8
1843 # changed rmacs/smacs from shift-in/shift-out to vt200-old's explicit G0/G1
1844 # designation to accommodate bug in pcvt -TD
1845 vt220|vt200|dec vt220, 
1846         OTbs, am, mc5i, mir, msgr, xenl, xon, 
1847         cols#80, it#8, lines#24, vt#3, 
1848         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1849         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M, 
1850         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
1851         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
1852         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
1853         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
1854         ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0, 
1855         flash=\E[?5h$<200/>\E[?5l, home=\E[H, ht=^I, hts=\EH, 
1856         ich=\E[%p1%d@, if=/usr/share/tabset/vt100, 
1857         il=\E[%p1%dL, il1=\E[L, ind=\ED, 
1858         is2=\E[?7h\E[>\E[?1h\E F\E[?4l, kbs=^H, kcub1=\E[D, 
1859         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf10=\E[21~, 
1860         kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
1861         kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\EOQ, 
1862         kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, kf7=\E[18~, 
1863         kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~, 
1864         khome=\E[H, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, krdo=\E[29~, 
1865         kslt=\E[4~, lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, mc0=\E[i, 
1866         mc4=\E[4i, mc5=\E[5i, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, 
1867         rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l, rmso=\E[27m, 
1868         rmul=\E[24m, rs1=\E[?3l, sc=\E7, sgr0=\E[m, smacs=\E(0$<2>, 
1869         smam=\E[?7h, smir=\E[4h, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
1870 vt220-w|vt200-w|DEC vt220 in wide mode, 
1871         cols#132, 
1872         rs3=\E[?3h, use=vt220, 
1873 vt220-8bit|vt220-8|vt200-8bit|vt200-8|dec vt220/200 in 8-bit mode, 
1874         OTbs, am, mc5i, mir, msgr, xenl, xon, 
1875         cols#80, it#8, lines#24, vt#3, 
1876         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1877         bel=^G, blink=\2335m, bold=\2331m, clear=\233H\233J, cr=^M, 
1878         csr=\233%i%p1%d;%p2%dr, cub=\233%p1%dD, cub1=^H, 
1879         cud=\233%p1%dB, cud1=^J, cuf=\233%p1%dC, cuf1=\233C, 
1880         cup=\233%i%p1%d;%p2%dH, cuu=\233%p1%dA, cuu1=\233A, 
1881         dch=\233%p1%dP, dch1=\233P, dl=\233%p1%dM, dl1=\233M, 
1882         ech=\233%p1%dX, ed=\233J, el=\233K, el1=\2331K, enacs=\E)0, 
1883         flash=\233?5h$<200/>\233?5l, home=\233H, ht=^I, hts=\EH, 
1884         ich=\233%p1%d@, if=/usr/share/tabset/vt100, 
1885         il=\233%p1%dL, il1=\233L, ind=\ED, 
1886         is2=\233?7h\233>\233?1h\E F\233?4l, kbs=^H, 
1887         kcub1=\233D, kcud1=\233B, kcuf1=\233C, kcuu1=\233A, 
1888         kf1=\EOP, kf10=\23321~, kf11=\23323~, kf12=\23324~, 
1889         kf13=\23325~, kf14=\23326~, kf17=\23331~, kf18=\23332~, 
1890         kf19=\23333~, kf2=\EOQ, kf20=\23334~, kf3=\EOR, kf4=\EOS, 
1891         kf6=\23317~, kf7=\23318~, kf8=\23319~, kf9=\23320~, 
1892         kfnd=\2331~, khlp=\23328~, khome=\233H, kich1=\2332~, 
1893         knp=\2336~, kpp=\2335~, krdo=\23329~, kslt=\2334~, lf1=pf1, 
1894         lf2=pf2, lf3=pf3, lf4=pf4, mc0=\233i, mc4=\2334i, mc5=\2335i, 
1895         nel=\EE, rc=\E8, rev=\2337m, ri=\EM, rmacs=^O, rmam=\233?7l, 
1896         rmir=\2334l, rmso=\23327m, rmul=\23324m, rs1=\233?3l, 
1897         sc=\E7, sgr0=\233m, smacs=^N, smam=\233?7h, smir=\2334h, 
1898         smso=\2337m, smul=\2334m, tbc=\2333g, 
1899
1900 #
1901 # vt220d:
1902 # This vt220 description regards F6--F10 as the second block of function keys
1903 # at the top of the keyboard.  This mapping follows the description given
1904 # in the VT220 Programmer Reference Manual and agrees with the labeling
1905 # on some terminals that emulate the vt220.  There is no support for an F5.
1906 # See vt220 for an alternate mapping. 
1907 #
1908 vt220d|DEC VT220 in vt100 mode with DEC function key labeling, 
1909         kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, 
1910         kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, 
1911         kf18=\E[32~, kf19=\E[33~, kf20=\E[34~, kf5@, kf6=\E[17~, 
1912         kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, use=vt220-old, 
1913
1914 vt220-nam|v200-nam|VT220 in vt100 mode with no auto margins, 
1915         am@, 
1916         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h, use=vt220, 
1917
1918 # vt220 termcap written Tue Oct 25 20:41:10 1988 by Alex Latzko
1919 # (not an official DEC entry!)
1920 # The problem with real vt220 terminals is they don't send escapes when in
1921 # in vt220 mode.  This can be gotten around two ways.  1> don't send
1922 # escapes or 2> put the vt220 into vt100 mode and use all the nifty
1923 # features of vt100 advanced video which it then has.
1924 #
1925 # This entry takes the view of putting a vt220 into vt100 mode so
1926 # you can use the escape key in emacs and everything else which needs it.
1927 #
1928 # You probably don't want to use this on a VMS machine since VMS will think
1929 # it has a vt220 and will get fouled up coming out of emacs
1930 #
1931 # From: Alexander Latzko <latzko@marsenius.rutgers.edu>, 30 Dec 1996
1932 # (Added vt100 <rc>,<sc> to quiet a tic warning -- esr)
1933 vt200-js|vt220-js|dec vt200 series with jump scroll, 
1934         am, 
1935         cols#80, 
1936         bel=^G, clear=\E[H\E[J, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
1937         cub1=^H, cud1=^J, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
1938         dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
1939         il1=\E[L, ind=\ED, 
1940         is2=\E[61"p\E[H\E[?3l\E[?4l\E[?1l\E[?5l\E[?6l\E[?7h\E[?8h\E[?25h\E>\E[m, 
1941         kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
1942         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, nel=^M\ED, rc=\E8, 
1943         rf=/usr/lib/tabset/vt100, ri=\EM, rmdc=, rmir=\E[4l, 
1944         rmkx=\E[?1l\E>, rmso=\E[27m$<5/>, rmul=\E[24m, 
1945         rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, smdc=, 
1946         smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m$<5/>, smul=\E[4m, 
1947  
1948 # This was DEC's vt320.  Use the purpose-built one below instead 
1949 #vt320|DEC VT320 in vt100 emulation mode,
1950 #       use=vt220,
1951
1952 #
1953 # Use v320n for SCO's LYRIX.  Otherwise, use Adam Thompson's vt320-nam.
1954 #
1955 vt320nam|v320n|DEC VT320 in vt100 emul. mode with NO AUTO WRAP mode, 
1956         am@, 
1957         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h, use=vt220, 
1958
1959 # These entries are not DEC's official ones, they were purpose-built for the 
1960 # VT320.  Here are the designer's notes:
1961 # <kel> is end on a PC kbd.  Actually 'select' on a VT.  Mapped to 
1962 # 'Erase to End of Field'... since nothing seems to use 'end' anyways...
1963 # khome is Home on a PC kbd.  Actually 'FIND' on a VT.
1964 # Things that use <knxt> usually use tab anyways... and things that don't use
1965 # tab usually use <knxt> instead...
1966 # kprv is same as tab - Backtab is useless...
1967 # I left out <sgr> because of its RIDICULOUS complexity,
1968 # and the resulting fact that it causes the termcap translation of the entry
1969 # to SMASH the 1k-barrier...
1970 # From: Adam Thompson <athompso@pangea.ca> Sept 10 1995
1971 # (vt320: uncommented <fsl> --esr) 
1972 vt320|vt300|dec vt320 7 bit terminal, 
1973         am, eslok, hs, mir, msgr, xenl, 
1974         cols#80, lines#24, wsl#80, 
1975         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1976         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
1977         clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
1978         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
1979         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
1980         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
1981         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
1982         ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, fsl=\E[0$}, 
1983         home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, 
1984         il1=\E[L, ind=\ED, 
1985         is2=\E>\E[?3l\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
1986         ka1=\EOw, ka3=\EOy, kb2=\EOu, kbs=\177, kc1=\EOq, kc3=\EOs, 
1987         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
1988         kdch1=\E[3~, kel=\E[4~, kent=\EOM, kf1=\EOP, kf10=\E[21~, 
1989         kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
1990         kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
1991         kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, 
1992         kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
1993         khome=\E[1~, kich1=\E[2~, knp=\E[6~, knxt=^I, kpp=\E[5~, 
1994         kprv=\E[Z, kslt=\E[4~, mc0=\E[i, mc4=\E[?4i, mc5=\E[?5i, 
1995         nel=\EE, rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt300, 
1996         ri=\EM, rmacs=\E(B, rmam=\E[?7l, rmir=\E[4l, 
1997         rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
1998         rs2=\E>\E[?3l\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
1999         sc=\E7, sgr0=\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h, 
2000         smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
2001         tsl=\E[1$}\E[H\E[K, 
2002 vt320-nam|vt300-nam|dec vt320 7 bit terminal with no am to make SAS happy, 
2003         am@, 
2004         is2=\E>\E[?3l\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H, 
2005         rs2=\E>\E[?3l\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H, 
2006         use=vt320, 
2007 # We have to init 132-col mode, not 80-col mode.
2008 vt320-w|vt300-w|dec vt320 wide 7 bit terminal, 
2009         cols#132, wsl#132, 
2010         is2=\E>\E[?3h\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
2011         rs2=\E>\E[?3h\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
2012         use=vt320, 
2013 vt320-w-nam|vt300-w-nam|dec vt320 wide 7 bit terminal with no am, 
2014         am@, 
2015         is2=\E>\E[?3h\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H, 
2016         rs2=\E>\E[?3h\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H, 
2017         use=vt320-w, 
2018
2019 # VT330 and VT340 -- These are ReGIS and SIXEL graphics terminals
2020 #   which are pretty much a superset of the VT320.  They have the
2021 #   host writable status line, yet another different DRCS matrix size,
2022 #   and such, but they add the DEC Technical character set, Multiple text
2023 #   pages, selectable length pages, and the like.  The difference between
2024 #   the vt330 and vt340 is that the latter has only 2 planes and a monochrome
2025 #   monitor, the former has 4 planes and a color monitor.  These terminals
2026 #   support VT131 and ANSI block mode, but as with much of these things,
2027 #   termcap/terminfo doesn't deal with these features.
2028 #
2029 # Note that this entry is are set up in what was the standard way for GNU
2030 # Emacs v18 terminal modes to deal with the cursor keys in that the arrow
2031 # keys were switched into application mode at the same time the numeric pad
2032 # is switched into application mode.  This changes the definitions of the
2033 # arrow keys.  Emacs v19 is smarter and mines its keys directly out of 
2034 # your termcap or terminfo entry,
2035 #
2036 # From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
2037 # (vt340: string capability "sb=\E[M" corrected to "sr";
2038 # also, added <rmam>/<smam> based on the init string -- esr)
2039 vt340|dec-vt340|vt330|dec-vt330|dec vt340 graphics terminal with 24 line page, 
2040         am, eslok, hs, mir, msgr, xenl, xon, 
2041         cols#80, it#8, lines#24, vt#3, 
2042         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2043         blink=\E[5m, bold=\E[1m, civis=\E[?25l, clear=\E[H\E[J, 
2044         cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
2045         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
2046         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
2047         cuu=\E[%p1%dA, cuu1=\E[A, cvvis=\E[?25h, dch=\E[%p1%dP, 
2048         dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
2049         dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J, el=\E[K, 
2050         flash=\E[?5h\E[?5l$<200/>, fsl=\E[$}, home=\E[H, ht=^I, 
2051         hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
2052         is2=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
2053         kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
2054         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~, 
2055         kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, lf1=pf1, lf2=pf2, 
2056         lf3=pf3, lf4=pf4, nel=^M\ED, rc=\E8, rev=\E[7m, 
2057         rf=/usr/share/tabset/vt300, ri=\EM, rmacs=^O, 
2058         rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m, 
2059         rmul=\E[24m, rs1=\E[?3l, sc=\E7, sgr0=\E[m, smacs=^N, 
2060         smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, 
2061         smul=\E[4m, tbc=\E[3g, tsl=\E[2$~\E[1$}\E[1;%dH, 
2062
2063 # DEC doesn't supply a vt400 description, so we add Daniel Glasser's
2064 # (originally written with vt420 as its primary name, and usable for it).
2065
2066 # VT400/420 -- This terminal is a superset of the vt320.  It adds the multiple 
2067 #    text pages and long text pages with selectable length of the vt340, along
2068 #    with left and right margins, rectangular area text copy, fill, and erase
2069 #    operations, selected region character attribute change operations,
2070 #    page memory and rectangle checksums, insert/delete column, reception
2071 #    macros, and other features too numerous to remember right now.  TERMCAP
2072 #    can only take advantage of a few of these added features.
2073 #
2074 # Note that this entry is are set up in what was the standard way for GNU
2075 # Emacs v18 terminal modes to deal with the cursor keys in that the arrow
2076 # keys were switched into application mode at the same time the numeric pad
2077 # is switched into application mode.  This changes the definitions of the
2078 # arrow keys.  Emacs v19 is smarter and mines its keys directly out of 
2079 # your termcap entry,
2080 #
2081 # From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
2082 # (vt400: string capability ":sb=\E[M:" corrected to ":sr=\E[M:";
2083 # also, added <rmam>/<smam> based on the init string -- esr)
2084 vt400|vt400-24|dec-vt400|dec vt400 24x80 column autowrap, 
2085         am, eslok, hs, mir, msgr, xenl, xon, 
2086         cols#80, it#8, lines#24, vt#3, 
2087         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2088         blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
2089         clear=\E[H\E[J$<10/>, cnorm=\E[?25h, cr=^M, 
2090         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
2091         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
2092         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
2093         cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
2094         dl1=\E[M, dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J$<10/>, 
2095         el=\E[K$<4/>, flash=\E[?5h\E[?5l$<200/>, fsl=\E[$}, 
2096         home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, 
2097         il=\E[%p1%dL, il1=\E[L, ind=\ED, 
2098         is2=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
2099         kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
2100         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~, 
2101         kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, lf1=pf1, lf2=pf2, 
2102         lf3=pf3, lf4=pf4, nel=^M\ED, rc=\E8, rev=\E[7m, 
2103         rf=/usr/share/tabset/vt300, ri=\EM, rmacs=^O, 
2104         rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m, 
2105         rmul=\E[24m, rs1=\E<\E[?3l\E[!p\E[?7h, sc=\E7, sgr0=\E[m, 
2106         smacs=^N, smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=, 
2107         smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
2108         tsl=\E[2$~\E[1$}\E[1;%dH, 
2109
2110 # (vt420: I removed <kf0>, it collided with <kf10>.  I also restored
2111 # a missing <sc> -- esr)
2112 vt420|DEC VT420, 
2113         am, mir, xenl, xon, 
2114         cols#80, lines#24, vt#3, 
2115         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2116         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
2117         clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
2118         cub1=^H, cud1=\E[B, cuf1=\E[C, 
2119         cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P, 
2120         dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I, 
2121         if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED, 
2122         is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=^H, 
2123         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
2124         kdch1=\E[3~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ, kf3=\EOR, 
2125         kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, 
2126         kf9=\E[21~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
2127         kslt=\E[4~, rc=\E8, rev=\E[7m$<2>, 
2128         rf=/usr/share/tabset/vt300, ri=\EM, rmacs=\E(B$<4>, 
2129         rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, 
2130         rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
2131         rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, sc=\E7, 
2132         sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;, 
2133         sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h, 
2134         smkx=\E=, smso=\E[7m, smul=\E[4m, 
2135
2136 #
2137 # DEC VT220 and up support DECUDK (user-defined keys).  DECUDK (i.e., pfx)
2138 # takes two parameters, the key and the string.  Translating the key is
2139 # straightforward (keys 1-5 are not defined on real terminals, though some
2140 # emulators define these):
2141 #
2142 #               if (key < 16) then  value = key;
2143 #               else if (key < 21) then value = key + 1; 
2144 #               else if (key < 25) then value = key + 2;
2145 #               else if (key < 27) then value = key + 3;
2146 #               else if (key < 30) then value = key + 4;
2147 #               else value = key + 5;
2148 #
2149 # The string must be the hexadecimal equivalent, e.g., "5052494E" for "PRINT". 
2150 # There's no provision in terminfo for emitting a string in this format, so the
2151 # application has to know it.
2152 #
2153 vt420pc|DEC VT420 w/PC keyboard, 
2154         kdch1=\177, kend=\E[4~, kf1=\E[11~, kf10=\E[21~, 
2155         kf11=\E[23~, kf12=\E[24~, kf13=\E[11;2~, kf14=\E[12;2~, 
2156         kf15=\E[13;2~, kf16=\E[14;2~, kf17=\E[15;2~, 
2157         kf18=\E[17;2~, kf19=\E[18;2~, kf2=\E[12~, kf20=\E[19;2~, 
2158         kf21=\E[20;2~, kf22=\E[21;2~, kf23=\E[23;2~, 
2159         kf24=\E[24;2~, kf25=\E[23~, kf26=\E[24~, kf27=\E[25~, 
2160         kf28=\E[26~, kf29=\E[28~, kf3=\E[13~, kf30=\E[29~, 
2161         kf31=\E[31~, kf32=\E[32~, kf33=\E[33~, kf34=\E[34~, 
2162         kf35=\E[35~, kf36=\E[36~, kf37=\E[23;2~, kf38=\E[24;2~, 
2163         kf39=\E[25;2~, kf4=\E[14~, kf40=\E[26;2~, kf41=\E[28;2~, 
2164         kf42=\E[29;2~, kf43=\E[31;2~, kf44=\E[32;2~, 
2165         kf45=\E[33;2~, kf46=\E[34;2~, kf47=\E[35;2~, 
2166         kf48=\E[36;2~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, 
2167         kf8=\E[19~, kf9=\E[20~, khome=\E[H, 
2168         pctrm=USR_TERM\:vt420pcdos\:, 
2169         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\\, 
2170         use=vt420, 
2171
2172 vt420pcdos|DEC VT420 w/PC for DOS Merge, 
2173         lines#25, 
2174         dispc=%?%p2%{19}%=%t\E\023\021%e%p2%{32}%<%t\E%p2%c%e%p2%{127}%=%t\E\177%e%p2%c%;, 
2175         pctrm@, 
2176         rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sgr@, 
2177         sgr0=\E[m, smsc=\E[?1;2r\E[34h, use=vt420pc, 
2178
2179 vt420f|DEC VT420 with VT kbd; VT400 mode; F1-F5 used as Fkeys, 
2180         kdch1=\177, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~, 
2181         kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
2182         kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
2183         kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, kf4=\E[14~, 
2184         kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
2185         khome=\E[H, lf1=\EOP, lf2=\EOQ, lf3=\EOR, lf4=\EOS, 
2186         use=vt420, 
2187
2188 vt510|DEC VT510, 
2189         use=vt420, 
2190 vt510pc|DEC VT510 w/PC keyboard, 
2191         use=vt420pc, 
2192 vt510pcdos|DEC VT510 w/PC for DOS Merge, 
2193         use=vt420pcdos, 
2194
2195 # VT520/VT525
2196 #
2197 # The VT520 is a monochrome text terminal capable of managing up to
2198 # four independent sessions in the terminal.  It has multiple ANSI
2199 # emulations (VT520, VT420, VT320, VT220, VT100, VT PCTerm, SCO Console)
2200 # and ASCII emulations (WY160/60, PCTerm, 50/50+, 150/120, TVI 950,
2201 # 925 910+, ADDS A2).  This terminfo data is for the ANSI emulations only.
2202 #
2203 # Terminal Set-Up is entered by pressing [F3], [Caps Lock]/[F3] or
2204 # [Alt]/[Print Screen] depending upon which keyboard and which
2205 # terminal mode is being used.  If Set-Up has been disabled or
2206 # assigned to an unknown key, Set-Up may be entered by pressing
2207 # [F3] as the first key after power up, regardless of keyboard type.
2208 # (vt520: I added <rmam>/<smam> based on the init string, also <sc> -- esr)
2209 vt520|DEC VT520, 
2210         am, mir, xenl, xon, 
2211         cols#80, lines#24, vt#3, 
2212         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2213         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
2214         clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
2215         cub1=^H, cud1=\E[B, cuf1=\E[C, 
2216         cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P, 
2217         dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I, 
2218         if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED, 
2219         is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=^H, 
2220         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
2221         kdch1=\E[3~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ, kf3=\EOR, 
2222         kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, 
2223         kf9=\E[21~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
2224         kslt=\E[4~, 
2225         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\\, 
2226         rc=\E8, rev=\E[7m$<2>, rf=/usr/share/tabset/vt300, 
2227         ri=\EM, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l, 
2228         rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
2229         rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, sc=\E7, 
2230         sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;, 
2231         sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h, 
2232         smso=\E[7m, smul=\E[4m, 
2233
2234 # (vt525: I added <rmam>/<smam> based on the init string;
2235 # removed <rmso>=\E[m, <rmul>=\E[m, added <sc> -- esr)
2236 vt525|DEC VT525, 
2237         am, mir, xenl, xon, 
2238         cols#80, lines#24, vt#3, 
2239         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2240         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
2241         clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
2242         cub1=^H, cud1=\E[B, cuf1=\E[C, 
2243         cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P, 
2244         dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I, 
2245         if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED, 
2246         is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=^H, 
2247         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
2248         kdch1=\E[3~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ, kf3=\EOR, 
2249         kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, 
2250         kf9=\E[21~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
2251         kslt=\E[4~, 
2252         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\\, 
2253         rc=\E8, rev=\E[7m$<2>, rf=/usr/share/tabset/vt300, 
2254         ri=\EM, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l, 
2255         rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
2256         rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, sc=\E7, 
2257         sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;, 
2258         sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h, 
2259         smso=\E[7m, smul=\E[4m, 
2260
2261 #### VT100 emulations
2262 #
2263
2264 # John Hawkinson <jhawk@MIT.EDU> tells us that the EWAN telnet for Windows
2265 # (the best Windows telnet as of September 1995) presents the name `dec-vt100'
2266 # to telnetd.   Michael Deutschmann <ldeutsch@mail.netshop.net> informs us
2267 # that this works best with a stock vt100 entry.
2268 dec-vt100|EWAN telnet's vt100 emulation, 
2269         use=vt100, 
2270
2271 # From: Adrian Garside <94ajg2@eng.cam.ac.uk>, 19 Nov 1996
2272 dec-vt220|DOS tnvt200 terminal emulator, 
2273         am@, use=vt220, 
2274
2275 # Zstem340 is an (IMHO) excellent VT emulator for PC's.  I recommend it to
2276 # anyone who needs PC VT340 emulation. (or anything below that level, for
2277 # that matter -- DEC's ALL-in-1 seems happy with it, as does INFOPLUS's
2278 # RDBM systems, it includes ReGIS and SiXel support!  I'm impressed...
2279 # I can send the address if requested.
2280 # (z340: changed garbled \E[5?l to \E[?5l, DEC smooth scroll off -- esr)
2281 # From: Adam Thompson <athompso@pangea.ca> Sept 10 1995
2282 z340|zstem vt340 terminal emulator 132col 42line, 
2283         lines#42, 
2284         is2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H, 
2285         rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H, 
2286         use=vt320-w, 
2287 z340-nam|zstem vt340 terminal emulator 132col 42line (no automatic margins), 
2288         am@, 
2289         is2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H, 
2290         rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H, 
2291         use=z340, 
2292
2293 # CRT is shareware.  It implements some xterm features, including mouse.
2294 crt|crt-vt220|CRT 2.3 emulating VT220, 
2295         bce, msgr, 
2296         ncv@, 
2297         hts=\EH, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c, 
2298         use=vt220, use=ecma+color, 
2299
2300 # This entry is for Tera Term Pro version 2.3, for MS-Windows 95/NT written by
2301 # T. Teranishi dated Mar 10, 1998.  It is a free software terminal emulator
2302 # (communication program) which supports:
2303 #
2304 #       - Serial port connections.
2305 #       - TCP/IP (telnet) connections.
2306 #       - VT100 emulation, and selected VT200/300 emulation.
2307 #       - TEK4010 emulation.
2308 #       - File transfer protocols (Kermit, XMODEM, ZMODEM, B-PLUS and
2309 #         Quick-VAN).
2310 #       - Scripts using the "Tera Term Language".
2311 #       - Japanese and Russian character sets.
2312 #
2313 # The program does not come with terminfo or termcap entries.  However, the
2314 # emulation (testing with vttest and ncurses) is reasonably close to vt100 (no
2315 # vt52 or doublesize character support; blinking is done with color).  Besides
2316 # the HPA, VPA extensions it also implements CPL and CNL.
2317 #
2318 # All of the function keys can be remapped.  This description shows the default
2319 # mapping, as installed.  Both vt100 PF1-PF4 keys and quasi-vt220 F1-F4 keys
2320 # are supported.  F13-F20 are obtained by shifting F3-F10.  The editing keypad
2321 # is laid out like vt220, rather than the face codes on the PC keyboard, i.e,
2322 #       kfnd    Insert
2323 #       kslt    Delete
2324 #       kich1   Home
2325 #       kdch1   PageUp
2326 #       kpp     End
2327 #       knp     PageDown
2328 #
2329 # ANSI colors are implemented, but cannot be combined with video attributes
2330 # except for reverse.
2331 #
2332 # No fonts are supplied with the program, so the acsc string is chosen to
2333 # correspond with the default Microsoft terminal font.
2334 #
2335 # Tera Term recognizes some xterm sequences, including those for setting and
2336 # retrieving the window title, and for setting the window size (i.e., using
2337 # "resize -s"), though it does not pass SIGWINCH to the application if the
2338 # user resizes the window with the mouse.
2339 teraterm|Tera Term Pro, 
2340         km, xon@, 
2341         ncv#43, vt@, 
2342         acsc=+\020\,\021-\030.^Y0\333`\004a\261f\370g\361h\260i\316j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376, 
2343         blink=\E[5m, bold=\E[1m, civis=\E[?25l, clear=\E[H\E[J, 
2344         cnorm=\E[?25h, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
2345         cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
2346         dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, 
2347         flash=\E[?5h\E[?5l$<200/>, hpa=\E[%i%p1%dG, 
2348         il=\E[%p1%dL, il1=\E[L, kdch1=\E[3~, kf1=\E[11~, 
2349         kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, 
2350         kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, 
2351         kf18=\E[32~, kf19=\E[33~, kf2=\E[12~, kf20=\E[34~, 
2352         kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, 
2353         kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~, 
2354         kpp=\E[5~, kslt=\E[4~, op=\E[100m, rev=\E[7m, ri=\EM, 
2355         rmso=\E[27m, rmul=\E[24m, sgr0=\E[m, smso=\E[7m, 
2356         smul=\E[4m, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c, 
2357         vpa=\E[%i%p1%dd, use=klone+color, use=vt100, 
2358
2359 # Tested with WinNT 4.0, the telnet application assumes the screensize is
2360 # 25x80.  This entry uses the 'Terminal' font, to get line-drawing characters.
2361 ms-vt100|MS telnet imitating dec vt100, 
2362         lines#25, 
2363         acsc=+\020\,\021-\030.^Y0\333`\004a\261f\370g\361h\260i\316j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376, 
2364         tbc@, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?6c, u9=\E[c, 
2365         use=vt100, 
2366
2367 #### X terminal emulators
2368 #
2369 # You can add the following line to your .Xdefaults to change the terminal type
2370 # set by the xterms you start up to my-xterm:
2371 #
2372 # *termName:  my-xterm
2373 #
2374 # System administrators can change the default entry for xterm instances
2375 # by adding a similar line to /usr/X11/lib/X11/app-defaults/XTerm.  In either
2376 # case, xterm will detect and reject an invalid terminal type, falling back
2377 # to the default of xterm.
2378 #
2379
2380 # X10/6.6       11/7/86, minus alternate screen, plus (csr)
2381 # (xterm: ":MT:" changed to ":km:"; added <smam>/<rmam> based on init string;
2382 # removed (hs, eslok, tsl=\E[?E\E[?%i%dT, fsl=\E[?F, dsl=\E[?E)
2383 # as these seem not to work -- esr)
2384 x10term|vs100-x10|xterm terminal emulator (X10 window system), 
2385         OTbs, am, km, mir, msgr, xenl, xon, 
2386         cols#80, it#8, lines#65, 
2387         bold=\E[1m, clear=\E[H\E[2J, csr=\E[%i%p1%d;%p2%dr, 
2388         cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
2389         cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
2390         dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL, 
2391         il1=\E[L, ind=^J, is2=\E\E[m\E[?7h\E[?1;4l, kbs=^H, 
2392         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, 
2393         kf2=\EOQ, kf3=\EOR, kf4=\EOS, rev=\E[7m, ri=\EM, rmam=\E[?7l, 
2394         rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
2395         sgr0=\E[m, smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=, 
2396         smso=\E[7m, smul=\E[4m, 
2397 # Compatible with the R5 xterm 
2398 # (from the XFree86 3.2 distribution, <blink=@> removed)
2399 # added khome/kend, rmir/smir, rmul/smul, hts based on the R5 xterm code - TD
2400 # corrected typos in rs2 string - TD
2401 # added u6-u9 -TD
2402 xterm-r5|xterm R5 version, 
2403         OTbs, am, km, msgr, xenl, 
2404         cols#80, it#8, lines#24, 
2405         bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
2406         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
2407         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
2408         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
2409         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
2410         el=\E[K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, 
2411         il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcub1=\EOD, 
2412         kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~, 
2413         kdl1=\E[31~, kel=\E[8~, kend=\E[4~, kf0=\EOq, kf1=\E[11~, 
2414         kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf2=\E[12~, 
2415         kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, 
2416         kf8=\E[19~, kf9=\E[20~, khome=\E[1~, kich1=\E[2~, 
2417         kil1=\E[30~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, rc=\E8, 
2418         rev=\E[7m, ri=\EM, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, 
2419         rmul=\E[m, 
2420         rs2=\E>\E[?1;3;4;5;6l\E[4l\E[?7h\E[m\E[r\E[2J\E[H, 
2421         sc=\E7, 
2422         sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, 
2423         sgr0=\E[m, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, 
2424         smul=\E[4m, tbc=\E[3g, u6=\E[%i%d;%dR, u7=\E[6n, 
2425         u8=\E[?1;2c, u9=\E[c, 
2426 # Compatible with the R6 xterm
2427 # (from XFree86 3.2 distribution, <acsc> and <it> added, <blink@> removed)
2428 # added khome/kend, hts based on the R6 xterm code - TD
2429 # (khome/kend do not actually work in X11R5 or X11R6, but many people use this
2430 # for compatibility with other emulators).
2431 xterm-r6|xterm-old|xterm X11R6 version, 
2432         OTbs, am, km, mir, msgr, xenl, 
2433         cols#80, it#8, lines#24, 
2434         acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2435         bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
2436         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
2437         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
2438         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
2439         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
2440         el=\E[K, enacs=\E)0, home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, 
2441         il1=\E[L, ind=^J, 
2442         is2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, kbs=^H, 
2443         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
2444         kdch1=\E[3~, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~, 
2445         kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
2446         kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
2447         kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, kf4=\E[14~, 
2448         kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
2449         kfnd=\E[1~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, 
2450         kslt=\E[4~, meml=\El, memu=\Em, rc=\E8, rev=\E[7m, ri=\EM, 
2451         rmacs=^O, rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, 
2452         rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
2453         rs2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, sc=\E7, 
2454         sgr0=\E[m, smacs=^N, smcup=\E7\E[?47h, smir=\E[4h, 
2455         smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
2456         u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c, 
2457 # This is the base xterm entry for the xterm supplied with XFree86 3.2 & up.
2458 # The name has been changed and some aliases have been removed.
2459 xterm-xf86-v32|xterm terminal emulator (XFree86 3.2 Window System), 
2460         OTbs, am, bce, km, mir, msgr, xenl, 
2461         cols#80, it#8, lines#24, ncv@, 
2462         acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2463         bel=^G, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
2464         clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
2465         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
2466         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
2467         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
2468         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
2469         ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0, 
2470         flash=\E[?5h$<100/>\E[?5l, home=\E[H, hpa=\E[%i%p1%dG, 
2471         ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, 
2472         il1=\E[L, ind=^J, 
2473         is2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, 
2474         ka1=\EOw, ka3=\EOu, kb2=\EOy, kbeg=\EOE, kbs=^H, kc1=\EOq, 
2475         kc3=\EOs, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
2476         kdch1=\177, kend=\EOF, kent=\EOM, kf1=\E[11~, kf10=\E[21~, 
2477         kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
2478         kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
2479         kf19=\E[33~, kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, 
2480         kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, 
2481         kf9=\E[20~, kfnd=\E[1~, khome=\EOH, kich1=\E[2~, 
2482         kmous=\E[M, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, meml=\El, 
2483         memu=\Em, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, rmam=\E[?7l, 
2484         rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmkx=\E[?1l\E>, 
2485         rmso=\E[27m, rmul=\E[24m, rs1=^O, 
2486         rs2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, sc=\E7, 
2487         setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
2488         setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
2489         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
2490         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E7\E[?47h, 
2491         smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
2492         tbc=\E[3g, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c, 
2493         vpa=\E[%i%p1%dd, use=ecma+color, 
2494
2495 # This is the stock xterm entry supplied with XFree86 3.3, which uses VT100
2496 # codes for F1-F4 except while in VT220 mode.
2497 xterm-xf86-v33|xterm terminal emulator (XFree86 3.3 Window System), 
2498         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, use=xterm-xf86-v32, 
2499
2500 # This version was released in XFree86 3.3.3 (November 1998).
2501 # Besides providing printer support, it exploits a new feature that allows
2502 # xterm to use terminfo-based descriptions with the titeInhibit resource.
2503 # -- the distribution contained incorrect khome/kend values -TD
2504 xterm-xf86-v333|xterm terminal emulator (XFree86 3.3.3 Window System), 
2505         mc5i, 
2506         blink=\E[5m, ich1@, invis=\E[8m, 
2507         is2=\E[!p\E[?3;4l\E[4l\E>, kdch1=\E[3~, kfnd@, kslt@, 
2508         mc0=\E[i, mc4=\E[4i, mc5=\E[5i, rmcup=\E[?1047l\E[?1048l, 
2509         rs1=\Ec, rs2=\E[!p\E[?3;4l\E[4l\E>, 
2510         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
2511         smcup=\E[?1048h\E[?1047h, use=xterm-xf86-v33, 
2512
2513 # This beta version will probably be released in XFree86 4.0.
2514 xterm-xf86-v40|xterm terminal emulator (XFree86 4.0 Window System), 
2515         npc, 
2516         kDC=\E[3;5~, kEND=\EO5F, kHOM=\EO5H, kIC=\E[2;5~, 
2517         kLFT=\EO5D, kNXT=\E[6;5~, kPRV=\E[5;5~, kRIT=\EO5C, ka1@, 
2518         ka3@, kb2=\EOE, kc1@, kc3@, kcbt=\E[Z, kdch1=\E[3~, kend=\EOF, 
2519         kf13=\EO2P, kf14=\EO2Q, kf15=\EO2R, kf16=\EO2S, 
2520         kf17=\E[15;2~, kf18=\E[17;2~, kf19=\E[18;2~, 
2521         kf20=\E[19;2~, kf21=\E[20;2~, kf22=\E[21;2~, 
2522         kf23=\E[23;2~, kf24=\E[24;2~, kf25=\EO5P, kf26=\EO5Q, 
2523         kf27=\EO5R, kf28=\EO5S, kf29=\E[15;5~, kf30=\E[17;5~, 
2524         kf31=\E[18;5~, kf32=\E[19;5~, kf33=\E[20;5~, 
2525         kf34=\E[21;5~, kf35=\E[23;5~, kf36=\E[24;5~, kf37=\EO6P, 
2526         kf38=\EO6Q, kf39=\EO6R, kf40=\EO6S, kf41=\E[15;6~, 
2527         kf42=\E[17;6~, kf43=\E[18;6~, kf44=\E[19;6~, 
2528         kf45=\E[20;6~, kf46=\E[21;6~, kf47=\E[23;6~, 
2529         kf48=\E[24;6~, khome=\EOH, rmcup=\E[?1049l, 
2530         sgr=\E[0%?%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
2531         smcup=\E[?1049h, use=xterm-xf86-v333, 
2532
2533 xterm-xfree86|xterm-new|xterm terminal emulator (XFree86 4.0 Window System), 
2534         use=xterm-xf86-v40, 
2535
2536 # From: David J. MacKenzie <djm@va.pubnix.com>, 14 Nov 1997
2537 xterm-xi|xterm on XI Graphics Accelerated X under BSD/OS 3.1, 
2538         rmso=\E[m, rmul=\E[m, use=xterm-xf86-v33, 
2539
2540 # This is one of the variants of XFree86 3.3 xterm, updated for 4.0 (T.Dickey)
2541 xterm-16color|xterm with 16 colors like aixterm, 
2542         colors#16, pairs#256, 
2543         setab=\E[%?%p1%{8}%<%t%p1%{40}%+%e%p1%{92}%+%;%dm, 
2544         setaf=\E[%?%p1%{8}%<%t%p1%{30}%+%e%p1%{82}%+%;%dm, 
2545         setb=%p1%{8}%/%{6}%*%{4}%+\E[%d%p1%{8}%m%Pa%?%ga%{1}%=%t4%e%ga%{3}%=%t6%e%ga%{4}%=%t1%e%ga%{6}%=%t3%e%ga%d%;m, 
2546         setf=%p1%{8}%/%{6}%*%{3}%+\E[%d%p1%{8}%m%Pa%?%ga%{1}%=%t4%e%ga%{3}%=%t6%e%ga%{4}%=%t1%e%ga%{6}%=%t3%e%ga%d%;m, 
2547         use=xterm-xf86-v40, 
2548
2549 # These variants of XFree86 3.9.16 xterm are built as a configure option.
2550 xterm-256color|xterm with 256 colors, 
2551         ccc, 
2552         colors#256, pairs#256, 
2553         initc=\E]4;%p1%d;rgb\:%p2%{255}%*%{1000}%/%2.2X/%p3%{255}%*%{1000}%/%2.2X/%p4%{255}%*%{1000}%/%2.2X\E\\, 
2554         setab=\E[48;5;%p1%dm, setaf=\E[38;5;%p1%dm, 
2555         setb=\E[48;5;%p1%dm, setf=\E[38;5;%p1%dm, 
2556         use=xterm-xfree86, 
2557 xterm-88color|xterm with 88 colors, 
2558         colors#88, pairs#88, use=xterm-256color, 
2559
2560 # This is another variant, for XFree86 4.0 xterm (T.Dickey)
2561 # This is an 8-bit version of xterm, which emulates DEC vt220 with ANSI color.
2562 # To use it, your decTerminalID resource must be set to 200 or above.
2563 #
2564 #       HTS     \E H    \210
2565 #       RI      \E M    \215
2566 #       SS3     \E O    \217
2567 #       CSI     \E [    \233
2568 #
2569 xterm-8bit|xterm terminal emulator 8-bit controls (X Window System), 
2570         OTbs, am, bce, km, mc5i, mir, msgr, npc, xenl, 
2571         colors#8, cols#80, it#8, lines#24, pairs#64, 
2572         acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2573         bel=^G, blink=\2335m, bold=\2331m, cbt=\233Z, 
2574         civis=\233?25l, clear=\233H\2332J, cnorm=\233?25h, cr=^M, 
2575         csr=\233%i%p1%d;%p2%dr, cub=\233%p1%dD, cub1=^H, 
2576         cud=\233%p1%dB, cud1=^J, cuf=\233%p1%dC, cuf1=\233C, 
2577         cup=\233%i%p1%d;%p2%dH, cuu=\233%p1%dA, cuu1=\233A, 
2578         dch=\233%p1%dP, dch1=\233P, dl=\233%p1%dM, dl1=\233M, 
2579         ech=\233%p1%dX, ed=\233J, el=\233K, el1=\2331K, 
2580         enacs=\E(B\E)0, flash=\233?5h$<100/>\233?5l, 
2581         home=\233H, hpa=\233%i%p1%dG, ht=^I, hts=\210, 
2582         ich=\233%p1%d@, il=\233%p1%dL, il1=\233L, ind=^J, 
2583         invis=\2338m, 
2584         is2=\E7\E G\233r\233m\233?7h\233?1;3;4;6l\2334l\E8\E>, 
2585         ka1=\217w, ka3=\217u, kb2=\217y, kbeg=\217E, kbs=^H, 
2586         kc1=\217q, kc3=\217s, kcub1=\217D, kcud1=\217B, 
2587         kcuf1=\217C, kcuu1=\217A, kdch1=\2333~, kend=\2334~, 
2588         kent=\217M, kf1=\23311~, kf10=\23321~, kf11=\23323~, 
2589         kf12=\23324~, kf13=\23325~, kf14=\23326~, kf15=\23328~, 
2590         kf16=\23329~, kf17=\23331~, kf18=\23332~, kf19=\23333~, 
2591         kf2=\23312~, kf20=\23334~, kf3=\23313~, kf4=\23314~, 
2592         kf5=\23315~, kf6=\23317~, kf7=\23318~, kf8=\23319~, 
2593         kf9=\23320~, khome=\2331~, kich1=\2332~, kmous=\233M, 
2594         knp=\2336~, kpp=\2335~, mc0=\233i, mc4=\2334i, mc5=\2335i, 
2595         meml=\El, memu=\Em, op=\23339;49m, rc=\E8, rev=\2337m, 
2596         ri=\215, rmacs=^O, rmam=\233?7l, rmcup=\233?1049l, 
2597         rmir=\2334l, rmkx=\233?1l\E>, rmso=\23327m, rmul=\23324m, 
2598         rs1=\Ec, 
2599         rs2=\E7\E[62"p\E G\233r\233m\233?7h\233?1;3;4;6l\2334l\E8\E>, 
2600         sc=\E7, setab=\2334%p1%dm, setaf=\2333%p1%dm, 
2601         setb=\2334%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
2602         setf=\2333%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
2603         sgr=\2330%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
2604         sgr0=\233m^O, smacs=^N, smam=\233?7h, smcup=\233?1049h, 
2605         smir=\2334h, smkx=\233?1h\E=, smso=\2337m, smul=\2334m, 
2606         tbc=\2333g, u6=\233[%i%d;%dR, u7=\E[6n, u8=\233[?1;2c, 
2607         u9=\E[c, vpa=\233%i%p1%dd, 
2608
2609 xterm-hp|XFree86 xterm with hpterm function keys, 
2610         kclr=\EJ, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
2611         kdch1=\EP, kend=\EF, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, 
2612         kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew, khome=\Eh, kich1=\EQ, 
2613         knp=\ES, kpp=\ET, use=xterm-xfree86, 
2614
2615 xterm-vt220|XFree86 xterm emulating vt220, 
2616         ka1=\EOw, ka3=\EOy, kbeg=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs, 
2617         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
2618         kdch1=\E[3~, kend=\E[4~, kent=\EOM, kf1=\EOP, kf10=\E[21~, 
2619         kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
2620         kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
2621         kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, 
2622         kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
2623         khome=\E[1~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, 
2624         use=xterm-xfree86, 
2625
2626 xterm-vt52|XFree86 xterm emulating dec vt52, 
2627         cols#80, it#8, lines#24, 
2628         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2629         bel=^G, clear=\EH\EJ, cr=^M, cub1=\ED, cud1=\EB, cuf1=\EC, 
2630         cup=\EY%p1%' '%+%c%p2%' '%+%c, cuu1=\EA, ed=\EJ, el=\EK, 
2631         home=\EH, ht=^I, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, 
2632         kcuf1=\EC, kcuu1=\EA, nel=^M^J, ri=\EI, rmacs=\EG, smacs=\EF, 
2633
2634 xterm-noapp|xterm with cursor keys in normal mode, 
2635         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, rmcup@, 
2636         rmkx=\E>, smcup@, smkx=\E=, use=xterm, 
2637
2638 xterm-24|vs100|xterms|xterm terminal emulator (X Window System), 
2639         lines#24, use=xterm-r6, 
2640
2641 # This is xterm for ncurses.
2642 xterm|xterm terminal emulator (X Window System), 
2643         use=xterm-r6, 
2644 #       use=xterm-xfree86, 
2645
2646 # These entries allow access to the X titlebar and icon name as a status line. 
2647 # Note that twm (and possibly window managers descended from it such as tvtwm, 
2648 # ctwm, and vtwm) track windows by icon-name; thus, you don't want to mess
2649 # with it.
2650 xterm+sl|access X title line and icon name, 
2651         hs, 
2652         wsl#40, 
2653         dsl=\E]0;\007, fsl=^G, tsl=\E]0;, use=xterm, 
2654 xterm+sl-twm|access X title line (pacify twm-descended window managers), 
2655         hs, 
2656         wsl#40, 
2657         dsl=\E]2;\007, fsl=^G, tsl=\E]2;, use=xterm, 
2658
2659 #
2660 # The following xterm variants don't depend on your base version
2661 #
2662 # xterm with bold instead of underline
2663 xterm-bold|xterm terminal emulator (X11R6 Window System) standout w/bold, 
2664         smso=\E[7m, smul=\E[1m, use=xterm, 
2665 # (kterm: this had extension capabilities ":KJ:TY=ascii:" -- esr)
2666 # (kterm should not invoke DEC Graphics as the alternate character set
2667 #  -- Kenji Rikitake)
2668 kterm|kterm kanji terminal emulator (X window system), 
2669         eslok, hs, 
2670         acsc@, csr=\E[%i%p1%d;%p2%dr, dsl=\E[?H, enacs@, fsl=\E[?F, 
2671         kmous=\E[M, rc=\E8, rmacs@, sc=\E7, smacs@, 
2672         tsl=\E[?E\E[?%i%dT, use=xterm-r6, use=ecma+color, 
2673 # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
2674 xterm-nic|xterm with ich/ich1 suppressed for non-curses programs, 
2675         ich@, ich1@, use=xterm, 
2676 # From: Mark Sheppard <kimble@mistral.co.uk>, 4 May 1996 
2677 xterm1|xterm terminal emulator ignoring the alternate screen buffer, 
2678         rmcup@, smcup@, use=xterm, 
2679
2680 # This describes the capabilities of color_xterm, an xterm variant from
2681 # before ECMA-64 color support was folded into the main-line xterm release.
2682 # This entry is straight from color_xterm's maintainer.
2683 # From: Jacob Mandelson <jlm@ugcs.caltech.edu>, 09 Nov 1996
2684 # The README's with the distribution also say that it supports SGR 21, 24, 25
2685 # and 27, but they are not present in the terminfo or termcap.
2686 color_xterm|cx|cx100|color_xterm color terminal emulator for X, 
2687         OTbs, am, km, mir, msgr, xenl, 
2688         cols#80, it#8, lines#65, ncv@, 
2689         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2690         bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
2691         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
2692         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
2693         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
2694         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
2695         el=\E[K, el1=\E[1K, enacs=\E(B\E)0, home=\E[H, ht=^I, 
2696         ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
2697         is1=\E[r\E[m\E[?7h\E[?4;6l\E[4l, ka1=\EOw, ka3=\EOy, 
2698         kb2=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\EOD, kcud1=\EOB, 
2699         kcuf1=\EOC, kcuu1=\EOA, kend=\E[8~, kent=\EOM, kf1=\E[11~, 
2700         kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf2=\E[12~, 
2701         kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, 
2702         kf8=\E[19~, kf9=\E[20~, khome=\E[7~, kich1=\E[2~, 
2703         kmous=\E[M, knp=\E[6~, kpp=\E[5~, rc=\E8, rev=\E[7m, ri=\EM, 
2704         rmacs=^O, rmam=\E[?7l, rmcup=\E>\E[?41;1r, rmir=\E[4l, 
2705         rmso=\E[27m, rmul=\E[24m, 
2706         rs1=\E(B\017\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E<, 
2707         sc=\E7, 
2708         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
2709         sgr0=\E[m, smacs=^N, smam=\E[?7h, 
2710         smcup=\E[?1;41s\E[?1;41h\E=, smir=\E[4h, smso=\E[7m, 
2711         smul=\E[4m, use=ecma+color, 
2712
2713 # The 'nxterm' distributed with Redhat Linux 5.2 is a slight rehack of
2714 # xterm-sb_right-ansi-3d, which implements ANSI colors, but does not support
2715 # SGR 39 or 49.  SGR 0 does reset colors (along with everything else).  This
2716 # description is "compatible" with color_xterm, rxvt and XFree86 xterm, except
2717 # that each of those implements the home, end, delete keys differently.
2718 #
2719 # Redhat Linux 6.x distributes XFree86 xterm as "nxterm", which uses bce
2720 # colors; note that this is not compatible with the 5.2 version.
2721 nxterm|xterm-color|generic color xterm, 
2722         ncv@, 
2723         op=\E[m, use=xterm-r6, use=klone+color, 
2724
2725 # this describes the alpha-version of Gnome terminal shipped with Redhat 6.0
2726 gnome|Gnome terminal, 
2727         bce, 
2728         kdch1=\177, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
2729         use=xterm-color, 
2730
2731 # This is kvt 0-18.7, shipped with Redhat 6.0 (though whether it supports bce
2732 # or not is debatable).
2733 kvt|KDE terminal, 
2734         bce, km@, 
2735         kdch1=\177, kend=\E[F, khome=\E[H, use=xterm-color, 
2736
2737 # From: Thomas Dickey <dickey@clark.net> 04 Oct 1997
2738 # Updated: Oezguer Kesim <kesim@math.fu-berlin.de> 02 Nov 1997
2739 # Notes:
2740 # rxvt 2.21b uses
2741 #       smacs=\E(B\E)U^N, rmacs=\E(B\E)0^O,
2742 # but some applications don't work with that.
2743 # It also has an AIX extension
2744 #       box2=lqkxjmwuvtn,
2745 # and
2746 #       ech=\E[%p1%dX,
2747 # but the latter does not work correctly.
2748 #
2749 # The distributed terminfo says it implements hpa and vpa, but they are not
2750 # implemented correctly, using relative rather than absolute positioning.
2751 #
2752 # rxvt is normally configured to look for "xterm" or "xterm-color" as $TERM.
2753 # Since rxvt is not really compatible with xterm, it should be configured as
2754 # "rxvt" (monochrome) and "rxvt-color". 
2755 rxvt-basic|rxvt terminal base (X Window System), 
2756         OTbs, am, bce, eo, km, mir, msgr, xenl, xon, 
2757         cols#80, it#8, lines#24, 
2758         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2759         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
2760         clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
2761         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
2762         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
2763         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
2764         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
2765         el=\E[K, el1=\E[1K, enacs=\E(B\E)0, flash=\E[?5h\E[?5l, 
2766         home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, 
2767         il=\E[%p1%dL, il1=\E[L, ind=^J, is1=\E[?47l\E=\E[?1l, 
2768         is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l, 
2769         kDC=\E[3$, kEND=\E[8$, kHOM=\E[7$, kLFT=\E[d, kNXT=\E[6$, 
2770         kPRV=\E[5$, kRIT=\E[c, ka1=\EOw, ka3=\EOy, kb2=\EOu, kbs=^H, 
2771         kc1=\EOq, kc3=\EOs, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, 
2772         kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kel=\E[8\^, 
2773         kend=\E[8~, kent=\EOM, kf1=\E[11~, kf10=\E[21~, 
2774         kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
2775         kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
2776         kf19=\E[33~, kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, 
2777         kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, 
2778         kf9=\E[20~, kfnd=\E[1~, khome=\E[7~, kich1=\E[2~, 
2779         kmous=\E[M, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, rc=\E8, 
2780         rev=\E[7m, ri=\EM, rmacs=^O, rmcup=\E[2J\E[?47l\E8, 
2781         rmir=\E[4l, rmkx=\E>, rmso=\E[27m, rmul=\E[24m, 
2782         rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H, 
2783         rs2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E>, 
2784         s0ds=\E(B, s1ds=\E(0, sc=\E7, sgr0=\E[0m\017, smacs=^N, 
2785         smcup=\E7\E[?47h, smir=\E[4h, smkx=\E=, smso=\E[7m, 
2786         smul=\E[4m, tbc=\E[3g, 
2787 rxvt|rxvt terminal emulator (X Window System), 
2788         ncv@, 
2789         sgr0=\E[m\017, use=rxvt-basic, use=ecma+color, 
2790
2791 # From: Michael Jennings <mej@valinux.com>
2792 # removed kf0 which conflicts with kf10 -TD
2793 # remove cvvis which conflicts with cnorm -TD
2794 # There's no u6 because Eterm appears to lack CPR (cursor position report).
2795 Eterm|Eterm-color|Eterm with xterm-style color support (X Window System), 
2796         am, bce, bw, eo, km, mc5i, mir, msgr, xenl, xon, 
2797         btns#5, cols#80, it#8, lines#24, lm#0, ncv@, 
2798         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2799         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
2800         clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
2801         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
2802         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
2803         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
2804         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
2805         ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0, 
2806         flash=\E[?5h\E[?5l, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, 
2807         hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, 
2808         ind=^J, is1=\E[?47l\E>\E[?1l, 
2809         is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l, 
2810         kDC=\E[3$, kEND=\E[8$, kHOM=\E[7$, kLFT=\E[d, kNXT=\E[6$, 
2811         kPRV=\E[5$, kRIT=\E[c, ka1=\E[7~, ka3=\E[5~, kb2=\EOu, 
2812         kbeg=\EOu, kbs=^H, kc1=\E[8~, kc3=\E[6~, kcbt=\E[Z, 
2813         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
2814         kdch1=\E[3~, kel=\E[8\^, kend=\E[8~, kent=\EOM, kf1=\E[11~, 
2815         kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, 
2816         kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, 
2817         kf18=\E[32~, kf19=\E[33~, kf2=\E[12~, kf20=\E[34~, 
2818         kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, 
2819         kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~, 
2820         khome=\E[7~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, 
2821         kslt=\E[4~, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, ri=\EM, 
2822         rmacs=^O, rmam=\E[?7l, rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, 
2823         rmkx=, rmso=\E[27m, rmul=\E[24m, 
2824         rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H, 
2825         rs2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E>, 
2826         sc=\E7, 
2827         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
2828         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E7\E[?47h, 
2829         smir=\E[4h, smkx=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
2830         u7=\E[6n, u8=\E[?1;2c, u9=\E[c, vpa=\E[%i%p1%dd, 
2831         use=ecma+color, 
2832
2833 # These (xtermc and xtermm) are distributed with Solaris.  They refer to a
2834 # variant of xterm which is apparently no longer supported, but are interesting
2835 # because they illustrate SVr4 curses mouse controls - T.Dickey
2836 xtermm|xterm terminal emulator (monocrome), 
2837         OTbs, am, km, mir, msgr, xenl, 
2838         btns#3, cols#80, it#8, lines#24, 
2839         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2840         bel=^G, blink=@, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
2841         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[1D, 
2842         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
2843         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
2844         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
2845         el=\E[K, el1=\E[1K$<3>, enacs=\E(B\E)0, getm=\E[%p1%dY, 
2846         home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, 
2847         il=\E[%p1%dL, il1=\E[L, ind=^J, ka1=\EOq, ka3=\EOs, kb2=\EOr, 
2848         kbs=^H, kc1=\EOp, kc3=\EOn, kcub1=\EOD, kcud1=\EOB, 
2849         kcuf1=\EOC, kcuu1=\EOA, kend=\E[Y, kent=\EOM, kf0=\EOy, 
2850         kf1=\EOP, kf10=\EOY, kf11=\EOZ, kf12=\EOA, kf2=\EOQ, 
2851         kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW, 
2852         kf9=\EOX, khome=\E[H, kmous=\E[^_, knp=\E[U, kpp=\E[V, 
2853         rc=\E8, reqmp=\E[492Z, rev=\E[7m, ri=\EM, rmacs=^O, 
2854         rmcup=\E@0\E[?4r, rmso=\E[m, 
2855         rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H, 
2856         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
2857         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
2858         sgr0=\E[m\017, smacs=^N, smcup=\E@0\E[?4s\E[?4h\E@1, 
2859         smso=\E[7m, tbc=\E[3g, 
2860
2861 xtermc|xterm terminal emulator (color), 
2862         colors#8, ncv#7, pairs#64, 
2863         op=\E[100m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
2864         setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
2865         setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
2866         use=xtermm, 
2867
2868 # From: David J. MacKenzie <djm@va.pubnix.com> 20 Apr 1995
2869 # Here's a termcap entry I've been using for xterm_color, which comes
2870 # with BSD/OS 2.0, and the X11R6 contrib tape too I think.  Besides the
2871 # color stuff, I also have a status line defined as the window manager
2872 # title bar. [I have translated it to terminfo -- ESR]
2873 xterm-pcolor|xterm with color used for highlights and status line, 
2874         bold=\E[1m\E[43m, rev=\E[7m\E[34m, smso=\E[7m\E[31m, 
2875         smul=\E[4m\E[42m, use=xterm+sl, use=xterm-r6, 
2876
2877 # HP ships this, except for the pb#9600 which was merged in from BSD termcap.
2878 # (hpterm: added empty <acsc>, we have no idea what ACS chars look like --esr)
2879 hpterm|X-hpterm|hp X11 terminal emulator, 
2880         am, da, db, mir, xhp, 
2881         cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8, pb#9600, xmc#0, 
2882         acsc=, bel=^G, bold=\E&dB, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M, 
2883         cub1=^H, cud1=\EB, cuf1=\EC, cup=\E&a%p1%dy%p2%dC, 
2884         cuu1=\EA, dch1=\EP, dim=\E&dH, dl1=\EM, ed=\EJ$<1>, el=\EK, 
2885         hpa=\E&a%p1%dC, ht=^I, hts=\E1, il1=\EL, ind=^J, kbs=^H, 
2886         kclr=\EJ, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
2887         kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, kf1=\Ep, 
2888         kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew, 
2889         khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, kind=\ES, kll=\EF, 
2890         knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, ktbc=\E3, meml=\El, 
2891         memu=\Em, pfkey=\E&f%p1%dk%p2%l%dL%p2%s, 
2892         pfloc=\E&f1a%p1%dk%p2%l%dL%p2%s, 
2893         pfx=\E&f2a%p1%dk%p2%l%dL%p2%s, 
2894         pln=\E&f%p1%dk%p2%l%dd0L%p2%s, rev=\E&dB, ri=\ET, 
2895         rmacs=^O, rmir=\ER, rmkx=\E&s0A, rmln=\E&j@, rmso=\E&d@, 
2896         rmul=\E&d@, 
2897         sgr=\E&d%?%p7%t%{115}%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%{64}%+%c%?%p9%t%'\016'%c%e%'\017'%c%;, 
2898         sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A, smln=\E&jB, 
2899         smso=\E&dJ, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY, 
2900
2901 # This entry describes an xterm with Sun-style function keys enabled
2902 # via the X resource setting "xterm*sunFunctionKeys:true"
2903 # To understand <kf11>/<kf12> note that L1,L2 and F11,F12 are the same.
2904 # The <kf13>...<kf20> keys are L3-L10.  We don't set <kf16=\E[197z>
2905 # because we want it to be seen as <kcpy>. 
2906 # The <kf31>...<kf45> keys are R1-R15.  We treat some of these in accordance
2907 # with their Sun keyboard labels instead.
2908 # From: Simon J. Gerraty <sjg@zen.void.oz.au> 10 Jan 1996
2909 xterm-sun|xterm with sunFunctionKeys true, 
2910         kb2=\E[218z, kcpy=\E[197z, kend=\E[220z, kf1=\E[224z, 
2911         kf10=\E[233z, kf11=\E[192z, kf12=\E[193z, kf13=\E[194z, 
2912         kf14=\E[195z, kf15=\E[196z, kf17=\E[198z, kf18=\E[199z, 
2913         kf19=\E[200z, kf2=\E[225z, kf20=\E[201z, kf3=\E[226z, 
2914         kf31=\E[208z, kf32=\E[209z, kf33=\E[210z, kf34=\E[211z, 
2915         kf35=\E[212z, kf36=\E[213z, kf38=\E[215z, kf4=\E[227z, 
2916         kf40=\E[217z, kf42=\E[219z, kf44=\E[221z, kf5=\E[228z, 
2917         kf6=\E[229z, kf7=\E[230z, kf8=\E[231z, kf9=\E[232z, 
2918         kfnd=\E[200z, khlp=\E[196z, khome=\E[214z, kich1=\E[2z, 
2919         knp=\E[222z, kpp=\E[216z, kund=\E[195z, use=xterm, 
2920 xterms-sun|small (80x24) xterm with sunFunctionKeys true, 
2921         cols#80, lines#24, use=xterm-sun, 
2922
2923 # This is for the extensible terminal emulator on the X11R6 contrib tape.
2924 emu|emu native mode, 
2925         mir, msgr, xon, 
2926         colors#15, cols#80, it#8, lines#24, pairs#64, vt#200, 
2927         acsc=61a\202f\260g2j\213k\214l\215m\216n\217o\220q\222s\224t\225u\226v\227w\230x\231~\244, 
2928         bel=^G, blink=\ES\EW, bold=\ES\EU, civis=\EZ, 
2929         clear=\EP\EE0;0;, cnorm=\Ea, cr=^M, csr=\Ek%p1%d;%p2%d;, 
2930         cub=\Eq-%p1%d;, cub1=^H, cud=\Ep%p1%d;, cud1=\EB, 
2931         cuf=\Eq%p1%d;, cuf1=\ED, cup=\EE%p1%d;%p2%d;, 
2932         cuu=\Ep-%p1%d;, cuu1=\EA, dch=\EI%p1%d;, dch1=\EI1;, 
2933         dl=\ER%p1%d;, dl1=\ER1;, ech=\Ej%p1%d;, ed=\EN, el=\EK, 
2934         el1=\EL, enacs=\0, home=\EE0;0;, ht=^I, hts=\Eh, 
2935         il=\EQ%p1%d;, il1=\EQ1;, ind=\EG, is2=\ES\Er0;\Es0;, 
2936         kbs=^H, kcub1=\EC, kcud1=\EB, kcuf1=\ED, kcuu1=\EA, 
2937         kdch1=\177, kent=^M, kf0=\EF00, kf1=\EF01, kf10=\EF10, 
2938         kf11=\EF11, kf12=\EF12, kf13=\EF13, kf14=\EF14, kf15=\EF15, 
2939         kf16=\EF16, kf17=\EF17, kf18=\EF18, kf19=\EF19, kf2=\EF02, 
2940         kf20=\EF20, kf3=\EF03, kf4=\EF04, kf5=\EF05, kf6=\EF06, 
2941         kf7=\EF07, kf8=\EF08, kf9=\EF09, kfnd=\Efind, kich1=\Eins, 
2942         knp=\Enext, kpp=\Eprior, kslt=\Esel, oc=\Es0;\Er0;, 
2943         rev=\ES\ET, ri=\EF, rmacs=\0, rmir=\EX, rmso=\ES, rmul=\ES, 
2944         rs2=\ES\Es0;\Er0;, setab=\Es%i%p1%d;, 
2945         setaf=\Er%i%p1%d;, sgr0=\ES, smacs=\0, smir=\EY, 
2946         smso=\ES\ET, smul=\ES\EV, tbc=\Ej, 
2947
2948 #### MGR
2949 #
2950 # MGR is a Bell Labs window system lighter-weight than X.
2951 # These entries describe MGR's xterm-equivalent. 
2952 # They are courtesy of Vincent Broman <broman@nosc.mil> 14 Jan 1997 
2953 #
2954
2955 mgr|Bellcore MGR (non X) window system terminal emulation, 
2956         am, km, 
2957         bel=^G, bold=\E2n, civis=\E9h, clear=^L, cnorm=\Eh, cr=^M, 
2958         csr=\E%p1%d;%p2%dt, cub1=^H, cud1=\Ef, cuf1=\Er, 
2959         cup=\E%p2%d;%p1%dM, cuu1=\Eu, cvvis=\E0h, 
2960         dch=\E%p1%dE$<5>, dch1=\EE, dl=\E%p1%dd$<3*>, 
2961         dl1=\Ed$<3>, ed=\EC, el=\Ec, hd=\E1;2f, ht=^I, hu=\E1;2u, 
2962         ich=\E%p1%dA$<5>, ich1=\EA, il=\E%p1%da$<3*>, 
2963         il1=\Ea$<3>, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
2964         kcuf1=\E[C, kcuu1=\E[A, nel=^M^J, rev=\E1n, rmam=\E5S, 
2965         rmso=\E0n, rmul=\E0n, sgr0=\E0n, smam=\E5s, smso=\E1n, 
2966         smul=\E4n, 
2967 mgr-sun|Mgr window with Sun keyboard, 
2968         ka1=\E[214z, ka3=\E[216z, kb2=\E[218z, kc1=\E[220z, 
2969         kc3=\E[222z, kcpy=\E[197z, kend=\E[220z, kent=\E[250z, 
2970         kf1=\E[224z, kf10=\E[233z, kf11=\E[234z, kf12=\E[235z, 
2971         kf2=\E[225z, kf3=\E[226z, kf4=\E[227z, kf5=\E[228z, 
2972         kf6=\E[229z, kf7=\E[230z, kf8=\E[231z, kf9=\E[232z, 
2973         kfnd=\E[200z, khlp=\E[207z, khome=\E[214z, knp=\E[222z, 
2974         kopn=\E[198z, kpp=\E[216z, kund=\E[195z, use=mgr, 
2975 mgr-linux|Mgr window with Linux keyboard, 
2976         ka1=\E[H, ka3=\E[5~, kb2=\E[G, kc1=\E[Y, kc3=\E[6~, 
2977         kdch1=\E[3~, kend=\E[4~, kf0=\E[[J, kf1=\E[[A, kf10=\E[21~, 
2978         kf11=\E[23~, kf12=\E[24~, kf2=\E[[B, kf3=\E[[C, kf4=\E[[D, 
2979         kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
2980         khome=\E[1~, knp=\E[6~, kpp=\E[5~, use=mgr, 
2981
2982 ######## UNIX VIRTUAL TERMINALS, VIRTUAL CONSOLES, AND TELNET CLIENTS
2983 #
2984
2985 # Columbus UNIX virtual terminal. This terminal also appears in 
2986 # UNIX 4.0 and successors as line discipline 1 (?), but is 
2987 # undocumented and does not really work quite right.
2988 cbunix|cb unix virtual terminal, 
2989         OTbs, am, da, db, 
2990         cols#80, lines#24, lm#0, 
2991         bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
2992         cup=\EG%p2%c%p1%c, cuu1=\EA, dch1=\EM, dl1=\EN, ed=\EL, 
2993         el=\EK, ich1=\EO, il1=\EP, ind=^J, kcub1=\ED, kcud1=\EB, 
2994         kcuf1=\EC, kcuu1=\EA, khome=\EE, rmso=\Eb^D, rmul=\Eb^A, 
2995         smso=\Ea^D, smul=\Ea^A, 
2996 # (vremote: removed obsolete ":nl@:" -- esr)
2997 vremote|virtual remote terminal, 
2998         am@, 
2999         cols#79, use=cbunix, 
3000
3001 pty|4bsd pseudo teletype, 
3002         cup=\EG%p1%{32}%+%c%p2%{32}%+%c, rmso=\Eb$, rmul=\Eb!, 
3003         smso=\Ea$, smul=\Ea!, use=cbunix, 
3004
3005 # The codes supported by the term.el terminal emulation in GNU Emacs 19.30 
3006 eterm|gnu emacs term.el terminal emulation, 
3007         am, mir, xenl, 
3008         cols#80, lines#24, 
3009         bel=^G, bold=\E[1m, clear=\E[H\E[J, cr=^M, 
3010         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
3011         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
3012         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
3013         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
3014         el=\E[K, el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@, 
3015         il=\E[%p1%dL, il1=\E[L, ind=^J, rev=\E[7m, 
3016         rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmso=\E[m, rmul=\E[m, 
3017         sgr0=\E[m, smcup=\E7\E[?47h, smir=\E[4h, smso=\E[7m, 
3018         smul=\E[4m, 
3019
3020 # Entries for use by the `screen' program by Juergen Weigert, 
3021 # Michael Schroeder, Oliver Laumann.  The screen and
3022 # screen-w entries came with version 3.7.1.  The screen2 and screen3 entries
3023 # come from University of Wisconsin and may be older.
3024 # (screen: added <cnorm> on ANSI model -- esr)
3025 #
3026 # 'screen' defines extensions to termcap.  Some are used in its terminal
3027 # description:
3028 #      G0   (bool)  Terminal can deal with ISO 2022  font  selection sequences.
3029 #      AX   (bool)  Does  understand ANSI set default fg/bg color
3030 #                   (\E[39m / \E[49m).
3031 screen|VT 100/ANSI X3.64 virtual terminal, 
3032         OTbs, OTpt, am, km, mir, msgr, xenl, G0, 
3033         colors#8, cols#80, it#8, lines#24, pairs#64, 
3034         acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
3035         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
3036         clear=\E[H\E[J, cnorm=\E[34h\E[?25h, cr=^M, 
3037         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
3038         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
3039         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM, 
3040         cvvis=\E[34l, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
3041         dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0, 
3042         flash=\Eg, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, 
3043         il=\E[%p1%dL, il1=\E[L, ind=^J, is2=\E)0, kbs=^H, kcub1=\EOD, 
3044         kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~, kf1=\EOP, 
3045         kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR, 
3046         kf4=\EOS, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, 
3047         kf9=\E[20~, khome=\E[1~, kich1=\E[2~, kll=\E[4~, knp=\E[6~, 
3048         kpp=\E[5~, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, 
3049         rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[23m, rmul=\E[24m, 
3050         rs2=\Ec, sc=\E7, sgr0=\E[m, smacs=^N, smir=\E[4h, 
3051         smkx=\E[?1h\E=, smso=\E[3m, smul=\E[4m, tbc=\E[3g, 
3052         use=ecma+color, 
3053
3054 screen-w|VT 100/ANSI X3.64 virtual terminal with 132 cols, 
3055         cols#132, use=screen, 
3056
3057 screen2|old VT 100/ANSI X3.64 virtual terminal, 
3058         cols#80, it#8, lines#24, 
3059         cbt=\E[Z, clear=\E[2J\E[H, cr=^M, cub=\E[%p1%dD, cub1=^H, 
3060         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
3061         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
3062         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
3063         el=\E[K, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=, il=\E[%p1%dL, 
3064         il1=\E[L, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
3065         kcuu1=\EA, kf0=\E~, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV, 
3066         kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\E0I, khome=\EH, 
3067         nel=^M^J, rc=\E8, ri=\EM, rmir=\E[4l, rmso=\E[23m, 
3068         rmul=\E[24m, rs1=\Ec, sc=\E7, sgr0=\E[m, smir=\E[4h, 
3069         smso=\E[3m, smul=\E[4m, tbc=\E[3g, 
3070 # (screen3: removed unknown ":xv:LP:G0:" -- esr)
3071 screen3|older VT 100/ANSI X3.64 virtual terminal, 
3072         km, mir, msgr, 
3073         cols#80, it#8, lines#24, 
3074         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J, 
3075         cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
3076         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
3077         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM, 
3078         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
3079         el=\E[K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, 
3080         il=\E[%p1%dL, il1=\E[L, ind=^J, is2=\E)0, kbs=^H, kcub1=\EOD, 
3081         kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, 
3082         kf3=\EOR, kf4=\EOS, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, 
3083         rmir=\E[4l, rmkx=\E>, rmso=\E[23m, rmul=\E[24m, rs1=\Ec, 
3084         sc=\E7, sgr0=\E[m, smir=\E[4h, smkx=\E=, smso=\E[3m, 
3085         smul=\E[4m, tbc=\E[3g, 
3086
3087 # Francesco Potorti <F.Potorti@cnuce.cnr.it>:
3088 # NCSA telnet is one of the most used telnet clients for the Macintosh.  It has
3089 # been maintained until recently by the National Center for Supercomputer
3090 # Applications, and it is feature rich, stable and free.  It can be downloaded
3091 # from www.ncsa.edu.  This terminfo description file is based on xterm-vt220,
3092 # xterm+sl, and the docs at NCSA.  It works well.
3093 #
3094 # NCSA Telnet 2.6 for Macintosh in vt220 8-bit emulation mode
3095 # The terminal options should be set as follows:
3096 #         Xterm sequences ON
3097 #         use VT wrap mode ON
3098 #         use Emacs arrow keys OFF
3099 #         CTRL-COMND is Emacs meta ON
3100 #         8 bit mode ON
3101 #         answerback string: "ncsa-vt220-8"
3102 #         setup keys: all disabled
3103 #
3104 # Application mode is not used.
3105 #
3106 # Other special mappings:
3107 #       Apple           VT220
3108 #       HELP            Find
3109 #       HOME            Insert here
3110 #       PAGEUP          Remove
3111 #       DEL             Select
3112 #       END             Prev Screen
3113 #       PAGEDOWN        Next Screen
3114 #
3115 # Though it supports ANSI color, NCSA Telnet uses color to represent blinking
3116 # text.
3117 #
3118 # The status-line manipulation is a mapping of the xterm-compatible control
3119 # sequences for setting the window-title.  So you must use tsl and fsl in
3120 # pairs, since the latter ends the string that is loaded to the window-title.
3121 ncsa-m|ncsa-vt220-8|NCSA Telnet 2.6 for Macintosh in vt220-8 mode, 
3122         am, hs, km, mir, msgr, xenl, 
3123         acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
3124         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
3125         clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
3126         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
3127         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
3128         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
3129         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
3130         dsl=\E]0;\007, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0, 
3131         flash=\E[?5h\E[?5l, fsl=^G, home=\E[H, ht=^I, hts=\EH, 
3132         ich=\E[%p1%d@, if=/usr/share/tabset/vt100, 
3133         il=\E[%p1%dL, il1=\E[L, ind=\n$<150*>, 
3134         is2=\E7\E[r\E[m\E[?7h\E[?1;4;6l\E[4l\E8\E>, kbs=^H, 
3135         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
3136         kdch1=\E[4~, kend=\E[5~, kf1=\E[17~, kf10=\E[28~, 
3137         kf11=\E[29~, kf12=\E[31~, kf13=\E[32~, kf14=\E[33~, 
3138         kf15=\E[34~, kf2=\E[18, kf3=\E[19~, kf4=\E[20~, kf5=\E[21~, 
3139         kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, kf9=\E[26~, khlp=\E[1~, 
3140         khome=\E[2~, knp=\E[6~, kpp=\E[3~, mc4=\E[4i, mc5=\E[5i, 
3141         rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt100, ri=\EM, 
3142         rmacs=^O, rmam=\E[?7l, rmcup=\E[2J\E8, rmir=\E[4l, 
3143         rmso=\E[27m, rmul=\E[24m, 
3144         rs2=\E7\E[r\E[m\E[?7h\E[?1;4;6l\E[4l\E8\E>, sc=\E7, 
3145         sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;, 
3146         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E7, 
3147         smir=\E[4h, smso=\E[7m, smul=\E[4m, tbc=\E[3g, tsl=\E]0;, 
3148         u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?62;1;6c, u9=\E[c, 
3149 ncsa|NCSA Telnet 2.7 for Macintosh in vt220-8 mode, 
3150         use=ncsa-m, use=klone+color, 
3151 ncsa-ns|NCSA Telnet 2.7 for Macintosh in vt220-8 mode, 
3152         hs@, 
3153         dsl@, fsl@, tsl@, use=ncsa, 
3154 ncsa-m-ns|NCSA Telnet 2.6 for Macintosh in vt220-8 mode, 
3155         hs@, 
3156         dsl@, fsl@, tsl@, use=ncsa-m, 
3157 # alternate -TD:
3158 # The documented function-key mapping refers to the Apple Extended Keyboard
3159 # (e.g., NCSA Telnet's F1 corresponds to a VT220 F6).  We use the VT220-style
3160 # codes, however, since the numeric keypad (VT100) PF1-PF4 are available on
3161 # some keyboards and many applications require these as F1-F4.
3162 #
3163 ncsa-vt220|NCSA Telnet using vt220-compatible function keys, 
3164         kf1=\EOP, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, 
3165         kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, 
3166         kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\EOQ, 
3167         kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, kf7=\E[18~, 
3168         kf8=\E[19~, kf9=\E[20~, use=ncsa, 
3169
3170 #### Pilot Pro Palm-Top
3171 #
3172 # From: Jason Downs <downsj@downsj.com>, 15 Jun 1997 (Top Gun Telnet's author)
3173 pilot|tgtelnet|Top Gun Telnet on the Palm Pilot Professional, 
3174         am, xenl, 
3175         cols#39, lines#16, 
3176         bel=^G, clear=\Ec, cr=^M, cub1=^H, cud1=^J, 
3177         cup=\Em%p1%{32}%+%c%p2%{32}%+%c, home=\Em\s\s, ht=^I, 
3178         ind=^J, kbs=^H, kcub1=^H, kcud1=^J, knp=^L, kpp=^K, nel=\Em~\s, 
3179         rmso=\EB, smso=\Eb, 
3180
3181 ######## COMMERCIAL WORKSTATION CONSOLES
3182 #
3183
3184 #### Alpha consoles
3185 #
3186
3187 # This is from the OSF/1 Release 1.0 termcap file
3188 pccons|pcconsole|ANSI (mostly) Alpha PC console terminal emulation, 
3189         am, xon, 
3190         cols#80, lines#25, 
3191         bel=^G, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
3192         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
3193         el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L, kbs=^H, 
3194         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, 
3195         nel=^M^J, rev=\E[7m, rmso=\E[m, sgr0=\E[m, smso=\E[7m, 
3196
3197 #### Sun consoles
3198 #
3199
3200 # :is1: resets scrolling region in case a previous user had used "tset vt100"
3201 oldsun|Sun Microsystems Workstation console, 
3202         OTbs, am, km, mir, msgr, 
3203         cols#80, it#8, lines#34, 
3204         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=\E[B, cuf1=\E[C, 
3205         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP, 
3206         dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, ht=^I, 
3207         ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
3208         is1=\E[1r, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
3209         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, 
3210         rmso=\E[m, sgr0=\E[m, smso=\E[7m, 
3211 # From: Alexander Lukyanov <lav@video.yars.free.net>, 14 Nov 1995
3212 # <lines> capability later corrected by J.T. Conklin <jtc@cygnus.com>
3213 # SGR 1, 4 aren't supported - removed bold/underline (T.Dickey 17 Jan 1998)
3214 sun-il|Sun Microsystems console with working insert-line, 
3215         am, km, msgr, 
3216         cols#80, lines#34, 
3217         bel=^G, bold@, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
3218         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP, 
3219         dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, ht=^I, 
3220         ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
3221         kb2=\E[218z, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
3222         kcuu1=\E[A, kdch1=\177, kend=\E[220z, kf1=\E[224z, 
3223         kf10=\E[233z, kf11=\E[234z, kf12=\E[235z, kf2=\E[225z, 
3224         kf3=\E[226z, kf4=\E[227z, kf5=\E[228z, kf6=\E[229z, 
3225         kf7=\E[230z, kf8=\E[231z, kf9=\E[232z, khome=\E[214z, 
3226         knp=\E[222z, kopt=\E[194z, kpp=\E[216z, kres=\E[193z, 
3227         kund=\E[195z, rev=\E[7m, rmso=\E[m, rmul@, rs2=\E[s, 
3228         sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m, 
3229         sgr0=\E[m, smso=\E[7m, smul@, u8=\E[1t, u9=\E[11t, 
3230 # On some versions of CGSIX framebuffer firmware (SparcStation 5), <il1>/<il>
3231 # flake out on the last line.  Unfortunately, without them the terminal has no
3232 # way to scroll.
3233 sun-cgsix|sun-ss5|Sun SparcStation 5 console, 
3234         il@, il1@, use=sun-il, 
3235 # If you are using an SS5, change the sun definition to use sun-ss5.
3236 sun|sun1|sun2|Sun Microsystems Inc. workstation console, 
3237         use=sun-il, 
3238
3239 # From: <john@ucbrenoir>  Tue Sep 24 13:14:44 1985
3240 sun-s|Sun Microsystems Workstation window with status line, 
3241         hs, 
3242         dsl=\E]l\E\\, fsl=\E\\, tsl=\E]l, use=sun, 
3243 sun-e-s|sun-s-e|Sun Microsystems Workstation with status hacked for emacs, 
3244         hs, 
3245         dsl=\E]l\E\\, fsl=\E\\, tsl=\E]l, use=sun-e, 
3246 sun-48|Sun 48-line window, 
3247         cols#80, lines#48, use=sun, 
3248 sun-34|Sun 34-line window, 
3249         cols#80, lines#34, use=sun, 
3250 sun-24|Sun 24-line window, 
3251         cols#80, lines#24, use=sun, 
3252 sun-17|Sun 17-line window, 
3253         cols#80, lines#17, use=sun, 
3254 sun-12|Sun 12-line window, 
3255         cols#80, lines#12, use=sun, 
3256 sun-1|Sun 1-line window for sysline, 
3257         eslok, hs, 
3258         cols#80, lines#1, 
3259         dsl=^L, fsl=\E[K, tsl=^M, use=sun, 
3260 sun-e|sun-nic|sune|Sun Microsystems Workstation without insert character, 
3261         ich1@, rmir@, smir@, use=sun, 
3262 sun-c|sun-cmd|Sun Microsystems Workstation console with scrollable history, 
3263         lines#35, 
3264         rmcup=\E[>4h, smcup=\E[>4l, use=sun, 
3265
3266 #### Iris consoles
3267 #
3268
3269 # (wsiris: this had extension capabilities
3270 #       :HS=\E7F2:HE=\E7F7:\
3271 #       :CT#2:CZ=*Bblack,red,green,yellow,blue,magenta,cyan,*Fwhite:
3272 # See the note on Iris extensions near the end of this file.  
3273 # Finally, removed suboptimal <clear>=\EH\EJ and added <cud1> & 
3274 # <flash> from BRL -- esr)
3275 wsiris|iris40|iris emulating a 40 line visual 50 (approximately), 
3276         OTbs, OTnc, OTpt, am, 
3277         OTkn#3, cols#80, it#8, lines#40, 
3278         OTnl=\EB, bel=^G, clear=\Ev, cnorm=\E>, cub1=^H, cud1=\EB, 
3279         cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
3280         cvvis=\E;, dim=\E7F2, dl1=\EM, ed=\EJ, el=\EK, 
3281         flash=\E7F4\E7B1\013\E7F7\E7B0, home=\EH, ht=^I, il1=\EL, 
3282         ind=^J, is2=\E7B0\E7F7\E7C2\E7R3, kcub1=\ED, kcud1=\EB, 
3283         kcuf1=\EC, kcuu1=\EA, kf0=\E0, kf1=\E1, kf2=\E2, kf3=\E3, 
3284         kf4=\E4, kf5=\E5, kf6=\E6, kf7=\E7, kf8=\E8, kf9=\E9, ri=\EI, 
3285         rmso=\E0@, rmul=\E7R3\E0@, sgr0=\E7F7, smso=\E9P, 
3286         smul=\E7R2\E9P, 
3287
3288 #### NeWS consoles
3289 #
3290 # Console terminal windows under the NeWS (Sun's Display Postscript windowing
3291 # environment).   Note: these have nothing to do with Sony's News workstation
3292 # line.
3293 #
3294
3295 # Entry for NeWS's psterm from Eric Messick & Hugh Daniel
3296 # (psterm: unknown ":sl=\EOl:el=\ENl:" removed -- esr)
3297 psterm|psterm-basic|NeWS psterm-80x34, 
3298         OTbs, am, hs, km, ul, 
3299         cols#80, it#8, lines#34, 
3300         blink=\EOb, bold=\EOd, clear=^L, csr=\EE%p1%d;%p2%d;, 
3301         cub1=\ET, cud1=\EP, cuf1=\EV, cup=\E%p1%d;%p2%d;, cuu1=\EY, 
3302         dch1=\EF, dl1=\EK, ed=\EB, el=\EC, flash=\EZ, fsl=\ENl, 
3303         home=\ER, ht=^I, il1=\EA, ind=\EW, is1=\EN*, kcub1=\E[D, 
3304         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, ll=\EU, rc=^\, rev=\EOr, 
3305         ri=\EX, rmcup=\ENt, rmir=\ENi, rmso=\ENo, rmul=\ENu, sc=^], 
3306         sgr0=\EN*, smcup=\EOt, smir=\EOi, smso=\EOo, smul=\EOu, 
3307         tsl=\EOl, 
3308 psterm-96x48|NeWS psterm 96x48, 
3309         cols#96, lines#48, use=psterm, 
3310 psterm-90x28|NeWS psterm 90x28, 
3311         cols#90, lines#28, use=psterm, 
3312 psterm-80x24|NeWS psterm 80x24, 
3313         cols#80, lines#24, use=psterm, 
3314 # This is a faster termcap for psterm.  Warning:  if you use this termcap,
3315 # some control characters you type will do strange things to the screen.
3316 # (psterm-fast: unknown ":sl=^Ol:el=^Nl:" -- esr)
3317 psterm-fast|NeWS psterm fast version (flaky ctrl chars), 
3318         OTbs, am, hs, km, ul, 
3319         cols#80, it#8, lines#34, 
3320         blink=^Ob, bold=^Od, clear=^L, csr=\005%p1%d;%p2%d;, 
3321         cub1=^T, cud1=^P, cuf1=^V, cup=\004%p1%d;%p2%d;, cuu1=^Y, 
3322         dch1=^F, dl1=^K, ed=^B, el=^C, flash=^Z, fsl=^Nl, home=^R, ht=^I, 
3323         il1=^A, ind=^W, is1=^N*, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
3324         kcuu1=\E[A, ll=^U, rc=^\, rev=^Or, ri=^X, rmcup=^Nt, rmir=^Ni, 
3325         rmso=^No, rmul=^Nu, sc=^], sgr0=^N*, smcup=^Ot, smir=^Oi, 
3326         smso=^Oo, smul=^Ou, tsl=^Ol, 
3327
3328 #### NeXT consoles
3329 #
3330 # Use `glasstty' for the Workspace application
3331 #
3332
3333 # From: Dave Wetzel <dave@turbocat.snafu.de> 22 Dec 1995
3334 next|NeXT console, 
3335         am, xt, 
3336         cols#80, it#8, lines#24, 
3337         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
3338         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H, 
3339         ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, 
3340         rmso=\E[4;1m, sgr0=\E[m, smso=\E[4;2m, 
3341 nextshell|NeXT Shell application, 
3342         am, 
3343         cols#80, 
3344         bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, kbs=^H, kcub1=^H, 
3345         kcud1=^J, nel=^M^J, 
3346
3347 #### Sony NEWS workstations
3348 #
3349
3350 # (news-unk: this had :KB=news: -- esr)
3351 news-unk|SONY NEWS vt100 emulator common entry, 
3352         OTbs, OTpt, am, xenl, 
3353         cols#80, 
3354         OTnl=^J, bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, 
3355         cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C, 
3356         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dl=\E[%p1%dM, dl1=\E[M, 
3357         ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
3358         if=/usr/lib/tabset/vt100, il=\E[%p1%dL, il1=\E[L, 
3359         is2=\E[?7h\E[?1l\E[?3l\E7\E8, kbs=^H, kcub1=\EOD, 
3360         kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOY, kf1=\EOP, 
3361         kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, 
3362         kf8=\EOW, kf9=\EOX, rc=\E8, rev=\E[7m, ri=\EM, 
3363         rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
3364         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[r, sc=\E7, 
3365         sgr0=\E[m, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
3366 #
3367 # (news-29: this had :TY=ascii: --esr)
3368 news-29, 
3369         lines#29, use=news-unk, 
3370 # (news-29-euc: this had :TY=euc: --esr)
3371 news-29-euc, 
3372         use=news-29, 
3373 # (news-29-sjis: this had :TY=sjis: --esr)
3374 news-29-sjis, 
3375         use=news-29, 
3376 #
3377 # (news-33: this had :TY=ascii: --esr)
3378 news-33, 
3379         lines#33, use=news-unk, 
3380 # (news-33-euc: this had :TY=euc: --esr)
3381 news-33-euc, 
3382         use=news-33, 
3383 # (news-33-sjis: this had :TY=sjis: --esr)
3384 news-33-sjis, 
3385         use=news-33, 
3386 #
3387 # (news-42: this had :TY=ascii: --esr)
3388 news-42, 
3389         lines#42, use=news-unk, 
3390 # (news-42-euc: this had :TY=euc: --esr)
3391 news-42-euc, 
3392         use=news-42, 
3393 # (news-42-sjis: this had :TY=sjis: --esr)
3394 news-42-sjis, 
3395         use=news-42, 
3396 #
3397 #       NEWS-OS old termcap entry 
3398 #
3399 # (news-old-unk: this had :KB=news:TY=sjis: --esr)
3400 news-old-unk|SONY NEWS vt100 emulator common entry, 
3401         OTbs, OTpt, am, xenl, 
3402         cols#80, vt#3, 
3403         OTnl=^J, bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[;H\E[2J, 
3404         cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C, 
3405         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
3406         home=\E[H, ht=^I, if=/usr/lib/tabset/vt100, kbs=^H, 
3407         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, 
3408         kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m, ri=\EM, 
3409         rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
3410         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
3411         sgr0=\E[m, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
3412 #
3413 # (nwp512: this had :DE=^H:, which I think means <OTbs> --esr)
3414 nwp512|news|nwp514|news40|vt100-bm|old sony vt100 emulator 40 lines, 
3415         OTbs, 
3416         lines#40, 
3417         is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;40r\E8, 
3418         use=news-old-unk, 
3419 #
3420 # (nwp512-a: this had :TY=ascii: and the alias vt100-bm --esr)
3421 nwp512-a|nwp514-a|news-a|news42|news40-a|sony vt100 emulator 42 line, 
3422         lines#42, 
3423         is2=\E[?7h\E[?1l\E[?3l\E7\E[1;42r\E8, 
3424         use=news-old-unk, 
3425 #
3426 # (nwp-512-o: this had :KB=nwp410:DE=^H:  I interpret the latter as <OTbs>. --esr)
3427 nwp512-o|nwp514-o|news-o|news40-o|vt100-bm-o|sony vt100 emulator 40 lines, 
3428         OTbs, 
3429         lines#40, 
3430         is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;40r\E8, 
3431         use=news-old-unk, 
3432 #
3433 # (nwp513: this had :DE=^H: and the alias vt100-bm --esr)
3434 nwp513|nwp518|nwe501|newscbm|news31|sony vt100 emulator 33 lines, 
3435         OTbs, 
3436         lines#31, 
3437         is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;31r\E8, 
3438         use=news-old-unk, 
3439 #
3440 # (nwp513-a: this had :TY=ascii: and :DE=^H:, which I interpret as <OTbs>; --esr)
3441 # also the alias vt100-bm.
3442 nwp513-a|nwp518-a|nwe501-a|nwp251-a|newscbm-a|news31-a|newscbm33|news33|old sony vt100 emulator 33 lines, 
3443         OTbs, 
3444         lines#33, 
3445         is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;33r\E8, 
3446         use=news-old-unk, 
3447 #
3448 # (nwp513-o: had :DE=^H:, I think that's <OTbs>; also the alias vt100-bm --esr)
3449 nwp513-o|nwp518-o|nwe501-o|nwp251-o|newscbm-o|news31-o|old sony vt100 emulator 33 lines, 
3450         OTbs, 
3451         lines#31, 
3452         is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;31r\E8, 
3453         use=news-old-unk, 
3454 #
3455 # (news28: this had :DE=^H:, I think that's <OTbs>, and :KB=nws1200: --esr)
3456 news28|sony vt100 emulator 28 lines, 
3457         OTbs, 
3458         lines#28, 
3459         is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;28r\E8, 
3460         use=news-old-unk, 
3461 #
3462 # (news29: this had :TY=ascii:KB=nws1200:\ --esr)
3463 news29|news28-a|sony vt100 emulator 29 lines, 
3464         lines#29, 
3465         is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;29r\E8, 
3466         use=news-old-unk, 
3467 #
3468 # (news511: this had :TY=sjis: --esr)
3469 nwp511|nwp-511|nwp-511 vt100, 
3470         OTbs, OTpt, am, xenl, 
3471         cols#80, lines#24, 
3472         clear=\E[;H\E[2J$<20/>, cuf1=\E[C, 
3473         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A$<2/>, dl1=\E[M, 
3474         ed=\E[J$<30/>, el=\E[K$<3/>, 
3475         flash=\E[?5h\0\0\0\0\0\0\0\0\0\0\0\0\0\E[?5l, 
3476         il1=\E[L, is2=\E[?5l\E[?1l\E>\E[?7h\E[?8h, kcub1=\E[D, 
3477         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, 
3478         kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\E#W, khome=\E[H, 
3479         ri=\EM$<5/>, rmso=\E[m$<2/>, rmul=\E[m$<2/>, 
3480         rs2=\E7\E[r\E8\E[?5l\E[?1l\E>\E[?7h\E[?8h, 
3481         smso=\E[7m$<2/>, smul=\E[4m$<2/>, 
3482 # (news517: this had :TY=sjis:. --esr)
3483 nwp517|nwp-517|nwp-517 vt200 80 cols 30 rows, 
3484         eslok, hs, 
3485         cols#80, lines#30, 
3486         OTi2=\E[2$~\n, dsl=\E[1$~, fsl=\E[0$}, 
3487         is2=\E7\E[r\E8\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
3488         tsl=\E[1$}\E[;%df, use=vt200, 
3489 # (news517-w: this had :TY=sjis:. --esr)
3490 nwp517-w|nwp-517-w|nwp-517 vt200 132 cols 50 rows, 
3491         eslok, hs, 
3492         cols#132, lines#50, 
3493         OTi2=\E[2$~\n, dsl=\E[1$~, fsl=\E[0$}, 
3494         is2=\E7\E[r\E8\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h, 
3495         rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h, 
3496         tsl=\E[1$}\E[;%df, use=vt200, 
3497
3498 #### Common Desktop Environment
3499 #
3500
3501 # This ships with Sun's CDE in Solaris 2.5
3502 # Corrected Sun Aug 9 1998 by Alexander V. Lukyanov <lav@video.yars.free.net>
3503 dtterm|CDE desktop terminal, 
3504         am, mir, msgr, xenl, xon, 
3505         cols#80, it#8, lines#24, lm#0, ncv@, 
3506         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
3507         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
3508         clear=\E[H\E[J, cnorm=\E[?25h, cr=^M, 
3509         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
3510         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
3511         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
3512         dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, 
3513         dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, 
3514         enacs=\E(B\E)0, flash=\E[?5h$<200>\E[?5l, home=\E[H, 
3515         ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, 
3516         ind=\ED, invis=\E[8m, is2=\E F\E>\E[?1l\E[?7h\E[?45l, 
3517         kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
3518         kdch1=\E[3~, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~, 
3519         kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
3520         kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
3521         kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, kf4=\E[14~, 
3522         kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
3523         kfnd=\E[1~, khlp=\E[28~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
3524         kslt=\E[4~, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, 
3525         rmam=\E[?7l, rmir=\E[4l, rmso=\E[22;27m, rmul=\E[24m, 
3526         sc=\E7, 
3527         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%;, 
3528         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
3529         smso=\E[2;7m, smul=\E[4m, tbc=\E[3g, use=ecma+color, 
3530
3531 #### Non-Unix Consoles
3532 #
3533
3534 # Except for the "-emx" suffixes, these are as distributed with EMX 0.9b,
3535 # a Unix-style environment used on OS/2.  (Note that the suffix makes some
3536 # names longer than 14 characters, the nominal maximum).
3537 #
3538 # Removed: rmacs=\E[10m, smacs=\E[11m, because OS/2 does not implement acs.
3539 ansi-emx|ANSI.SYS color, 
3540         am, bce, eo, mir, msgr, xenl, xon, 
3541         colors#16, cols#80, it#8, lines#25, pairs#64, 
3542         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
3543         clear=\E[1;33;44m\E[H\E[J, cnorm=\E[?25h, cr=^M, cub1=^H, 
3544         cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
3545         dch=\E[%p1%dp, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l, 
3546         home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, ind=^J, 
3547         kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M, kcuu1=\0H, 
3548         kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>, kf5=\0?, kf6=\0@, 
3549         kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G, kich1=\0R, kll=\0O, 
3550         knp=\0Q, kpp=\0I, kspd=^Z, nel=^M^J, rev=\E[5;37;41m, 
3551         rmir=\E[4l, rmpch=\E[10m, rmso=\E[0;44m\E[1;33m, 
3552         rmul=\E[0;44m\E[1;33m, rs1=\Ec, setab=\E[4%p1%dm, 
3553         setaf=\E[3%p1%dm, sgr0=\E[0m\E[1;33;44m, smir=\E[4h, 
3554         smpch=\E[11m, smso=\E[0;31;47m, smul=\E[1;31;44m, 
3555         tbc=\E[3g, u8=\E[?6c, u9=\E[c, 
3556 ansi-color-2-emx|ANSI.SYS color 2, 
3557         am, bce, eo, mir, msgr, xenl, xon, 
3558         colors#16, cols#80, it#8, lines#25, pairs#64, 
3559         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
3560         clear=\E[0;37;44m\E[H\E[J, cnorm=\E[?25h, cr=^M, cub1=^H, 
3561         cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
3562         dch=\E[%p1%dp, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l, 
3563         home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, ind=^J, 
3564         kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M, kcuu1=\0H, 
3565         kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>, kf5=\0?, kf6=\0@, 
3566         kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G, kich1=\0R, kll=\0O, 
3567         knp=\0Q, kpp=\0I, kspd=^Z, nel=^M^J, rev=\E[1;37;46m, 
3568         rmir=\E[4l, rmpch=\E[10m, rmso=\E[0;37;44m, 
3569         rmul=\E[0;37;44m, rs1=\Ec, setab=\E[4%p1%dm, 
3570         setaf=\E[3%p1%dm, sgr0=\E[0;37;44m, smir=\E[4h, 
3571         smpch=\E[11m, smso=\E[1;37;46m, smul=\E[1;36;44m, 
3572         tbc=\E[3g, u8=\E[?6c, u9=\E[c, 
3573 ansi-color-3-emx|ANSI.SYS color 3, 
3574         am, bce, eo, mir, msgr, xenl, xon, 
3575         colors#16, cols#80, it#8, lines#25, pairs#64, 
3576         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
3577         clear=\E[0;37;40m\E[H\E[J, cnorm=\E[?25h, cr=^M, cub1=^H, 
3578         cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
3579         dch=\E[%p1%dp, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l, 
3580         home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, ind=^J, 
3581         kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M, kcuu1=\0H, 
3582         kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>, kf5=\0?, kf6=\0@, 
3583         kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G, kich1=\0R, kll=\0O, 
3584         knp=\0Q, kpp=\0I, kspd=^Z, nel=^M^J, rev=\E[1;37;46m, 
3585         rmir=\E[4l, rmpch=\E[10m, rmso=\E[0;37;40m, 
3586         rmul=\E[0;37;40m, rs1=\Ec, setab=\E[4%p1%dm, 
3587         setaf=\E[3%p1%dm, sgr0=\E[0;10m, smir=\E[4h, 
3588         smpch=\E[11m, smso=\E[1;37;46m, smul=\E[0;36;40m, 
3589         tbc=\E[3g, u8=\E[?6c, u9=\E[c, 
3590 mono-emx|stupid monochrome ansi terminal with only one kind of emphasis, 
3591         am, 
3592         cols#80, it#8, lines#24, 
3593         clear=\E[H\E[2J$<50>, cub1=\E[D, cud1=\E[B, cuf1=\E[C, 
3594         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H, 
3595         ht=^I, kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M, 
3596         kcuu1=\0H, kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>, 
3597         kf5=\0?, kf6=\0@, kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G, 
3598         kich1=\0R, kll=\0O, knp=\0Q, kpp=\0I, nel=^M^J, rev=\E[7m, 
3599         sgr0=\E[0m, 
3600
3601 # Use this for cygwin32 (tested with beta 19.1)
3602 # underline is colored bright magenta
3603 # shifted kf1-kf12 are kf11-kf22
3604 cygwin|ansi emulation for cygwin32, 
3605         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
3606         kdch1=\E[3~, kend=\E[4~, kf1=\E[[A, kf10=\E[21~, 
3607         kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
3608         kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
3609         kf19=\E[33~, kf2=\E[[B, kf20=\E[34~, kf3=\E[[C, kf4=\E[[D, 
3610         kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
3611         khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, rmam@, smam@, 
3612         use=ansi.sys, 
3613
3614 # This entry fits the Windows NT console when the _POSIX_TERM environment
3615 # variable is set to 'on'.  While the Windows NT POSIX console is seldom used,
3616 # the Telnet client supplied with both the Windows for WorkGroup 3.11 TCP/IP
3617 # stack and the Win32 (i.e., Windows 95 and Windows NT 3.1 or later) operating
3618 # systems is not, and (surprise!) they match very well.
3619 #
3620 # See:  MS Knowledge Base item Q108581, dated 13-MAY-1997, titled "Setting Up
3621 # VI POSIX Editor for Windows NT 3.1".  True to Microsoft form, not only
3622 # are the installation instructions a pile of mind-numbing bureaucratese,
3623 # but the termcap entry is actually broken and unusable as given; the :do:
3624 # capability is misspelled "d".
3625 #
3626 # To use this, you need to a bunch of environment variables: 
3627 #
3628 # SET _POSIX_TERM=on
3629 # SET TERM=ansi
3630 # SET TERMCAP=location of termcap file in POSIX file format
3631 # which is case-sensitive.
3632 # e.g. SET TERMCAP=//D/RESKIT35/posix/termcap
3633 # SET TMP=//C/TEMP
3634 #
3635 # Important note: setting the TMP environment variable in POSIX style renders
3636 # it incompatible with a lot of other applications, including Visual C++. So
3637 # you should have a separate command window just for vi. All the other
3638 # variables may be permanently set in the Control Panel\System applet. 
3639 #
3640 # You can find out more about the restrictions of this facility at
3641 # <http://www.nentug.org/unix-to-nt/ntposix.htm>.
3642 #
3643 # From: Federico Bianchi <bianchi@magna.cisid.unipi.it>, 15 Jan 1997
3644 ansi-nt|psx_ansi|Microsoft Windows NT console POSIX ANSI mode, 
3645         am, bw, msgr, 
3646         cols#80, it#8, lines#25, 
3647         bel=^G, clear=\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
3648         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
3649         home=\E[H, ht=^I, ind=\E[S, kbs=^H, kcub1=\E[D, kcud1=\E[V, 
3650         kcuf1=\E[C, kcuu1=\E[A, nel=\r\E[S, rc=\E[u, rev=\E[7m, 
3651         ri=\E[T, rmso=\E[m, sc=\E[s, sgr0=\E[0m, smso=\E[7m, 
3652 # From: jew@venus.sunquest.com
3653 # Date: 19 Feb 93 23:41:07 GMT
3654 # Here's  a  combination of  ansi and  vt100 termcap
3655 # entries   that  works  nearly   perfectly  for  me
3656 # (Gateway 2000 Handbook and Microsoft Works 3.0):
3657 pcmw|PC running Microsoft Works, 
3658         am, xenl, 
3659         cols#80, it#8, lines#24, vt#3, 
3660         bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>, 
3661         clear=\E[;H\E[2J$<50/>, cr=^M, cub1=^H, cud1=^J, 
3662         cuf1=\E[C$<2/>, cup=\E[%i%p1%d;%p2%dH$<5/>, 
3663         cuu1=\E[A$<2/>, ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H, 
3664         ht=^I, hts=\EH$<2/>, ind=\ED$<5/>, is2=\E[1;24r\E[24;1H, 
3665         kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
3666         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, nel=\r\ED$<5/>, 
3667         rc=\E8, rev=\E[7m$<2/>, rf=/usr/share/lib/tabset/vt100, 
3668         ri=\EM$<5/>, rmso=\E[m$<2/>, rmul=\E[m$<2/>, 
3669         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
3670         sgr0=\E[m$<2/>, smso=\E[7m$<2/>, smul=\E[4m$<2/>, 
3671         tbc=\E[3g$<2/>, 
3672
3673 ######## COMMON TERMINAL TYPES
3674 #
3675 # This section describes terminal classes and maker brands that are still
3676 # quite common, but have proprietary command sets not blessed by ANSI.
3677 #
3678
3679 #### Altos
3680 #
3681 # Altos made a moderately successful line of UNIX boxes.  In 1990 they were
3682 # bought out by Acer, a major Taiwanese manufacturer of PC-clones.
3683 # Acer has a web site at http://www.acer.com.
3684 #
3685 # Altos descriptions from Ted Mittelstaedt <tedm@agora.rain.com> 4 Sep 1993
3686 # His comments suggest they were shipped with the system.
3687 #
3688
3689 # (altos2: had extension capabilities
3690 #       :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
3691 #       :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
3692 #       :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
3693 #       :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
3694 #       :XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
3695 #       :YU=^AQ\r:YD=^AR\r:YR=^AS\r:YL=^AT\r:\
3696 #       :HL=^AP\r:SP=\E[i:\
3697 #       :IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
3698 #       :LO=\E[0q:LC=\E[5q:LL=\E[6q:\
3699 # Comparison with the k* capabilities makes it obvious that the c* things are
3700 # shift keys.  I have renamed them to keys 32 and up accordingly.  Also,
3701 # :sr: was given as a boolean-- esr)
3702 altos2|alt2|altos-2|altos II, 
3703         cols#80, it#8, lines#24, xmc#0, 
3704         clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[1B, cuf1=\E[1C, 
3705         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[1A, dch1=\E[P, dl=\E[M, 
3706         ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, 
3707         if=/usr/share/tabset/vt100, il1=\E[L, ind=^J, 
3708         is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kDL=^Am\r, 
3709         kEOL=^An\r, kbs=^H, kcbt=^AK\r, kclr=^AL\r, kcub1=\E[D, 
3710         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=^AM\r, kel=^AN\r, 
3711         kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf32=^A`\r, 
3712         kf33=^Aa\r, kf34=^Ab\r, kf35=^Ac\r, kf36=^Ad\r, kf37=^Ae\r, 
3713         kf38=^Af\r, kf39=^Ag\r, kf4=^AC\r, kf40=^Ah\r, kf41=^Ai\r, 
3714         kf42=^Aj\r, kf43=^Ak\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
3715         kf8=^AG\r, kf9=^AH\r, khome=\E[f, kil1=^AJ\r, kind=^AO\r, 
3716         nel=^M^J, rmam=\E[?7l, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
3717         smam=\E[?7h, smso=\E[7m, smul=\E[4m, 
3718 # (altos3: had extension capabilities
3719 #       :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
3720 #       :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
3721 #       :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
3722 #       :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
3723 #       :XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
3724 #       :HL=^AP\r:SP=\E[i:\
3725 #       :IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
3726 altos3|altos5|alt3|alt5|altos-3|altos-5|altos III or V, 
3727         blink=\E[5p, ri=\EM, sgr0=\E[p, use=altos2, 
3728 altos4|alt4|altos-4|altos IV, 
3729         use=wy50, 
3730 # (altos7: had extension capabilities:
3731 #       :GG#0:GI=\EH8:GF=\EH7:\
3732 #       :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
3733 #       :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
3734 #       :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
3735 #       :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
3736 # Comparison with the k* capabilities makes it obvious that the c* things are
3737 # shift keys.  I have renamed them to keys 32 and up accordingly.  I have
3738 # also made this entry relative to adm12 in order to give it an <sgr>. The
3739 # <invis> imported by use=adm+sgr may work, let me know. -- esr)
3740 altos7|alt7|altos VII, 
3741         am, mir, 
3742         cols#80, lines#24, xmc#0, 
3743         acsc=j5k3l2m1n8q\:t4u9v=w0x6, blink=\EG2, bold=\EGt, 
3744         clear=\E+^^, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
3745         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
3746         dim=\EGp, dl=\ER, ed=\EY, el=\ET, home=^^, ht=^I, il1=\EE, 
3747         ind=^J, invis=\EG1, 
3748         is2=\E`\:\Ee(\EO\Ee6\Ec41\E~4\Ec21\Eu\E~2, kDL=^Am\r, 
3749         kEOL=^An\r, kbs=^H, kcbt=^AK\r, kclr=^AL\r, kcub1=^H, 
3750         kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=^AM\r, kel=^AN\r, 
3751         kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf32=^A`\r, 
3752         kf33=^Aa\r, kf34=^Ab\r, kf35=^Ac\r, kf36=^Ad\r, kf37=^Ae\r, 
3753         kf38=^Af\r, kf39=^Ag\r, kf4=^AC\r, kf40=^Ah\r, kf41=^Ai\r, 
3754         kf42=^Aj\r, kf43=^Ak\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
3755         kf8=^AG\r, kf9=^AH\r, khome=^^, kil1=^AJ\r, kind=^AO\r, 
3756         knp=\EK, kpp=\EJ, mc4=\EJ, mc5=\Ed#, nel=^M^J, ri=\Ej, 
3757         rmir=\Er, smir=\Eq, use=adm+sgr, 
3758 altos7pc|alt7pc|altos PC VII, 
3759         kend=\ET, use=altos7, 
3760
3761 #### Hewlett-Packard (hp)
3762 #
3763 #       Hewlett-Packard
3764 #       8000 Foothills Blvd 
3765 #       Roseville, CA 95747
3766 #       Vox: 1-(916)-785-4363   (Technical response line for VDTs)
3767 #            1-(800)-633-3600   (General customer support)
3768 #
3769 #
3770 # As of March 1998, HP no longer has any terminals in production.
3771 # The 700 series (22, 32, 41, 44, 92, 94, 96, 98) is still being 
3772 # supported (they still have parts). So are the 2392a and 2394a.
3773 # See the WORKSTATION CONSOLES section for the 700s.
3774 #
3775
3776 # Generic HP terminal - this should (hopefully) work on any HP terminal.
3777 hpgeneric|hp|hewlett-packard generic terminal, 
3778         OTbs, OTpt, am, da, db, mir, xhp, 
3779         cols#80, lines#24, lm#0, vt#6, 
3780         bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
3781         cup=\E&a%p2%dc%p1%dY$<6>, cuu1=\EA, dch1=\EP, dl1=\EM, 
3782         ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, il1=\EL, 
3783         ind=^J, kbs=^H, kcbt=\Ei, rmir=\ER, rmso=\E&d@, rmul=\E&d@, 
3784         sgr0=\E&d@, smir=\EQ, smso=\E&dJ, smul=\E&dD, tbc=\E3, 
3785         vpa=\E&a%p1%dY, 
3786
3787 hp110|hewlett-packard model 110 portable, 
3788         lines#16, use=hpgeneric, 
3789
3790 hp+pfk+cr|hp function keys with CR, 
3791         kf1=\Ep\r, kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, 
3792         kf6=\Eu\r, kf7=\Ev\r, kf8=\Ew\r, 
3793
3794 hp+pfk-cr|hp function keys w/o CR, 
3795         kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, 
3796         kf8=\Ew, 
3797
3798 # The hp2621s use the same keys for the arrows and function keys, 
3799 # but not separate escape sequences. These definitions allow the 
3800 # user to use those keys as arrow keys rather than as function 
3801 # keys.
3802 hp+pfk+arrows|hp alternate arrow definitions, 
3803         kcub1=\Eu\r, kcud1=\Ew\r, kcuf1=\Ev\r, kcuu1=\Et\r, kf1@, 
3804         kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, khome=\Ep\r, kind=\Er\r, 
3805         kll=\Eq\r, kri=\Es\r, 
3806
3807 hp+arrows|hp arrow definitions, 
3808         kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh, 
3809         kind=\ES, kll=\EF, kri=\ET, 
3810
3811 # Generic stuff from the HP 262x series
3812 #
3813 hp262x|HP 262x terminals, 
3814         xhp, 
3815         blink=\E&dA, dch1=\EP$<2>, ed=\EJ, ht=\011$<2>, ind=\ES, 
3816         invis=\E&dS, ip=$<2>, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
3817         kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, khome=\Eh, 
3818         kich1=\EQ, kil1=\EL, kind=\ES, knp=\EU, kpp=\EV, kri=\ET, 
3819         krmir=\ER, rev=\E&dB, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@, 
3820         sgr=\E&d%{64}%?%p1%t%{66}%|%;%?%p2%t%{68}%|%;%?%p3%t%{66}%|%;%?%p4%t%{65}%|%;%c, 
3821         sgr0=\E&d@, smkx=\E&s1A, smso=\E&dB, smul=\E&dD, 
3822
3823 # Note: no <home> on HPs since that homes to top of memory, not screen.
3824 # Due to severe 2621 braindamage, the only way to get the arrow keys to
3825 # transmit anything at all is to turn on the function key labels
3826 # with <smkx>, and even then the user has to hold down shift!
3827 # The default 2621 turns off the labels except when it has to to 
3828 # enable the function keys. If your installation prefers labels 
3829 # on all the time, or off all the time (at the "expense" of the 
3830 # function keys), use 2621-nl or 2621-wl.
3831
3832 # Note: there are newer ROMs for 2621's that allow you to set 
3833 # strap A so the regular arrow keys xmit \EA, etc, as with the 
3834 # 2645. However, even with this strap set, the terminal stops 
3835 # xmitting if you reset it, until you unset and reset the strap!
3836 # Since there is no way to set/unset the strap with an escape 
3837 # sequence, we don't use it in the default.
3838 # If you like, you can use 2621-ba (brain-damaged arrow keys).
3839 hp2621-ba|2621 w/new rom and strap A set, 
3840         rmkx@, smkx@, use=hp+arrows, use=hp2621, 
3841
3842 # hp2621 with function labels. Most of the time they are off,
3843 # but inside vi, the function key labels appear. You have to
3844 # hold down shift to get them to xmit.
3845 hp2621|hp2621a|hp2621A|2621|2621a|2621A|hp2621-wl|2621-wl|hp 2621 w/labels, 
3846         is2=\E&jA\r, rmkx=\E&jA, use=hp2621-fl, 
3847 hp2621-fl|hp 2621, 
3848         xhp@, xon, 
3849         pb#19200, 
3850         cbt=\Ei, cup=\E&a%p2%dc%p1%dY, dch1=\EP$<2>, ht=\011$<2>, 
3851         ip=$<2>, is2=\E&j@\r, rmkx=\E&j@, rmso=\E&d@, rmul=\E&d@, 
3852         sgr0=\E&d@, smkx=\E&jB, smso=\E&dD, smul=\E&dD, 
3853         use=hp+pfk+cr, use=hpgeneric, 
3854
3855 # To use hp2621p printer, setenv TERM=2621p, PRINTER=2612p
3856 hp2621p|hp 2621 with printer, 
3857         mc4=\E&p13C, mc5=\E&p11C, use=hp2621, 
3858
3859 hp2621p-a|hp2621p with fn as arrows, 
3860         use=hp+pfk+arrows, use=hp2621p, 
3861
3862 # hp2621 with k45 keyboard
3863 hp2621-k45|hp2621k45|k45|hp 2621 with 45 keyboard, 
3864         kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
3865         khome=\Eh, rmkx=\E&s0A, smkx=\E&s1A, use=hp2621, 
3866
3867 # 2621 using all 48 lines of memory, only 24 visible at any time.  
3868 hp2621-48|48 line 2621, 
3869         lines#48, 
3870         cup=\E&a%p2%dc%p1%dR, home=\EH, vpa=\E&a%p1%dR, 
3871         use=hp2621, 
3872
3873 # 2621 with no labels ever. Also prevents vi delays on escape.
3874 hp2621-nl|hp 2621 with no labels, 
3875         kcub1@, kcud1@, kcuf1@, kcuu1@, khome@, rmkx@, smkx@, 
3876         use=hp2621-fl, 
3877
3878 # Needed for UCB ARPAVAX console, since lsi-11 expands tabs 
3879 # (wrong).
3880 #
3881 hp2621-nt|hp 2621 w/no tabs, 
3882         ht@, use=hp2621, 
3883
3884 # Hp 2624 B with 4 or 10 pages of memory.
3885
3886 # Some assumptions are made with this entry. These settings are 
3887 # NOT set up by the initialization strings.
3888
3889 # Port Configuration
3890 #       RecvPace=Xon/Xoff
3891 #       XmitPace=Xon/Xoff
3892 #       StripNulDel=Yes
3893
3894 # Terminal Configuration
3895 #       InhHndShk=Yes
3896 #       InhDC2=Yes
3897 #       XmitFnctn(A)=No
3898 #       InhEolWrp=No
3899
3900 # Note: the 2624 DOES have a true <home>, believe it or not!
3901
3902 # The 2624 has an "error line" to which messages can be sent. 
3903 # This is CLOSE to what is expected for a "status line". However,
3904 # after a message is sent to the "error line", the next carriage 
3905 # return is EATEN and the "error line" is turned back off again! 
3906 # So I guess we can't define <hs>, <eslok>, <wsl>, <dsl>, <fsl>, <tsl>.
3907
3908 # This entry supports emacs (and any other program that uses raw 
3909 # mode) at 4800 baud and less. I couldn't get the padding right 
3910 # for 9600.
3911 #
3912 # (hp2624: replaced NUL sequences in flash with mandatory pauses -- esr)
3913 hp2624|hp2624a|hp2624b|hp2624b-4p|Hewlett Packard 2624 B, 
3914         da, db, 
3915         lm#96, 
3916         flash=\E&w13F$<66/>\E&w12F$<66/>\E&w13F$<66/>\E&w12F, 
3917         use=hp+labels, use=scrhp, 
3918
3919 # This hp2626 entry does not use any of the fancy windowing stuff 
3920 # of the 2626.
3921
3922 # Indeed, terminfo does not yet handle such stuff. Since changing 
3923 # any window clears memory, it is probably not possible to use 
3924 # this for screen opt.
3925
3926 # ed is incredibly slow most of the time - I am guessing at the 
3927 # exact padding. Since the terminal uses xoff/xon this is intended 
3928 # only for cost computation, so that the terminal will prefer el 
3929 # or even dl1 which is probably faster!
3930
3931 # \ED\EJ\EC hack for ed from Ed Bradford - apparently ed is only 
3932 # extra slow on the last line of the window. 
3933
3934 # The padding probably should be changed.
3935 #
3936 hp2626|hp2626a|hp2626p|hp 2626, 
3937         da, db, 
3938         lm#0, pb#19200, 
3939         ed=\ED\EJ$<500>\EC, indn=\E&r%p1%dD, ip=$<4>, 
3940         is2=\E&j@\r, rin=\E&r%p1%dU, use=hp+pfk+cr, 
3941         use=hp+labels, use=scrhp, 
3942
3943 # This entry is for sysline. It allocates a 23 line window with 
3944 # a 115 line workspace for regular use, and a 1 line window for 
3945 # the status line.
3946
3947 # This assumes port 2 is being used.
3948 # Turn off horizontal line, Create ws #1 with 115 lines,
3949 # Create ws #2 with 1 line, Create window #1 lines 1-23,
3950 # Create window #2 lines 24-24, Attach cursor to workspace #1.
3951 # Note that this clears the tabs so it must be done by tset before
3952 # it sets the tabs.
3953 #
3954 hp2626-s|hp 2626 using only 23 lines, 
3955         eslok, hs, 
3956         lines#23, 
3957         fsl=\E&d@\E&w7f2p1I\E&w4f1I, 
3958         is1=\E&q3t0{0H \E&w0f115n1I \E&w0f1n2I \E&w2f1i0d0u22l0S \E&w2f2i0d23u23l0S \E&w7f2p1I \r, 
3959         tsl=\E&w7f2p2I\E&w4f2I\r\EK\E&a%p1%dC, use=hp2626, 
3960 # Force terminal back to 24 lines after being 23.
3961 hp2626-ns|hp 2626 using all 24 lines, 
3962         is1=\E&q3t0{0H \E&w0f118n1I \E&w0f1n2I \E&w2f1i0d0u23l0S \E&w3f2I \E&w7f2p1I \r, 
3963         use=hp2626, 
3964 # Various entries useful for small windows on 2626.
3965 hp2626-12|hewlett-packard 2626 12 lines, 
3966         lines#12, use=hp2626, 
3967 hp2626-12x40|hewlett-packard 2626 12 lines 40 columns, 
3968         cols#40, lines#12, use=hp2626, 
3969 hp2626-x40|hewlett-packard 2626 40 columns, 
3970         cols#40, use=hp2626, 
3971 hp2626-12-s|hewlett-packard 2626 11 lines plus status, 
3972         lines#11, use=hp2626-s, 
3973
3974 #
3975 # hp2627 color tubes from University of Wisconsin
3976 #
3977 hp2627a-rev|hp 2627 with reverse video colors, 
3978         cr=^M, cud1=^J, ht=^I, ind=^J, 
3979         is2=\E&v0m1a0b0c1x1y1z1i0a0b1c1x1y1z0i0S\E&j@\r\E3\r, 
3980         kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rmul=\E&v0S\E&d@, 
3981         smul=\E&dD\E&v1S, use=hp2621-nl, 
3982 hp2627a|hp 2627 color terminal with no labels, 
3983         cr=^M, cud1=^J, ht=^I, ind=^J, 
3984         is2=\E&v0m1a1b0c1i0a1b1c2i1a0b0c0i0S\E&j@\r\E3\r, 
3985         kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rmso=\E&v0S, 
3986         rmul=\E&v0S\E&d@, smso=\E&v2S, smul=\E&dD\E&v1S, 
3987         use=hp2621-nl, 
3988 hp2627c|hp 2627 color (cyan) terminal with no labels, 
3989         cr=^M, cud1=^J, ht=^I, ind=^J, 
3990         is2=\E&v0m1a0b0c2i1a1b0c1i0a1b1c0i0S\E&j@\r\E3\r, 
3991         kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, use=hp2627a, 
3992
3993 # hp2640a doesn't have the Y cursor addressing feature, and C is 
3994 # memory relative instead of screen relative, as we need.
3995 #
3996 hp2640a|hp 2640a, 
3997         cup@, rmkx@, smkx@, use=hp2645, 
3998
3999 hp2640b|hp2644a|hp 264x series, 
4000         rmkx@, smkx@, use=hp2645, 
4001
4002 # (hp2641a: removed unknown :gu: -- esr)
4003 hp2641a|hp2645a|hp2647a|HP 264?A series BRL entry, 
4004         am, da, db, mir, xhp, 
4005         cols#80, lines#24, 
4006         bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
4007         cup=\E&a%p2%2dc%p1%2dY, cuu1=\EA, dch1=\EP, dl1=\EM, 
4008         ed=\EJ, el=\EK, hpa=\E&a%p1%2dC, ht=^I, 
4009         if=/usr/share/tabset/std, il1=\EL, ind=^J, 
4010         is2=\EE$<500/>, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, 
4011         rmir=\ER, rmso=\E&d@, smir=\EQ, smso=\E&dB, 
4012         vpa=\E&a%p1%2dY, 
4013
4014 # This terminal should be used at 4800 baud or less. It needs padding for
4015 # plain characters at 9600, I guessed at an appropriate cr delay.  It really
4016 # wants ^E/^F handshaking, but that doesn't work well even if you write
4017 # software to support it.
4018 hp2645|hp45|HP 2645 series, 
4019         pb#9600, 
4020         blink=\E&dA, cr=\r$<20>, dim=\E&dH, kctab=\E2, kcub1=\ED, 
4021         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM, 
4022         ked=\EJ, kel=\EK, khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, 
4023         kind=\ES, knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, rev=\E&dB, 
4024         rmkx=\E&s0A, 
4025         sgr=\E&d%{64}%?%p1%t%{66}%|%;%?%p2%t%{68}%|%;%?%p3%t%{66}%|%;%?%p4%t%{65}%|%;%?%p5%t%{72}%|%;%?%p6%t%{66}%|%;%c, 
4026         sgr0=\E&d@, smkx=\E&s1A, smul=\E&dD, use=hpgeneric, 
4027 # You should use this terminal at 4800 baud or less.
4028 hp2648|hp2648a|HP 2648a graphics terminal, 
4029         clear=\EH\EJ$<50>, cup=\E&a%p2%dc%p1%dY$<20>, 
4030         dch1=\EP$<7>, ip=$<5>, use=hp2645, 
4031
4032 # The HP 150 terminal is a fairly vanilla HP terminal, with the 
4033 # clreol standout problem. It also has graphics capabilities and 
4034 # a touch screen, which we don't describe here.
4035 hp150|hewlett packard Model 150, 
4036         OTbs, use=hp2622, 
4037
4038 # HP 2382a terminals, "the little ones." They don't have any 
4039 # alternate character set support and sending out ^N/^O will 
4040 # leave the screen blank.
4041 hp2382a|hp2382|hewlett packard 2382a, 
4042         da, db, 
4043         lh#1, lm#48, 
4044         acsc@, 
4045         pln=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s, 
4046         rmacs@, 
4047         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%{64}%+%e%{83}%;%e%?%ga%t%ga%{64}%+%e%{64}%;%;%c, 
4048         sgr0=\E&d@, smacs@, use=hp+labels, use=scrhp, 
4049
4050 hp2621-a|hp2621a-a|hp2621 with fn as arrows, 
4051         use=hp+pfk+arrows, use=hp2621-fl, 
4052
4053 # newer hewlett packard terminals
4054
4055 newhpkeyboard|generic entry for HP extended keyboard, 
4056         kbs=^H, kcbt=\Ei, kclr=\EJ, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
4057         kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, khome=\Eh, 
4058         kich1=\EQ, kil1=\EL, kind=\ET, kll=\EF, knp=\EU, kpp=\EV, 
4059         kri=\ES, krmir=\ER, rmkx=\E&s0A, smkx=\E&s1A, 
4060         use=hp+pfk-cr, 
4061
4062 newhp|generic entry for new hewlett packard terminals, 
4063         am, bw, mir, xhp, xon, 
4064         cols#80, lines#24, pb#4800, 
4065         acsc=2[3@4>5I9(\:'JSKWLQMAO#P$Q;R!S"T1U2V4W3X\:Y+Z*dHjGkTlRmFn/q\,t5u6v8w7x., 
4066         bel=^G, blink=\E&dA, bold=\E&dF, cbt=\Ei, cr=^M, cub1=^H, 
4067         cud1=^J, cuf1=\EC, cuu1=\EA, dch1=\EP$<2>, dim=\E&dH, 
4068         dl1=\EM, ed=\EJ, el=\EK, ht=\011$<2>, hts=\E1, il1=\EL, ind=^J, 
4069         invis=\E&dS, ip=$<2>, is1=\E&jB$<8>, nel=^M^J, 
4070         pfkey=\E&f0a%p1%dk0d%p2%l%dL%p2%s, 
4071         pfloc=\E&f1a%p1%dk0d%p2%l%dL%p2%s, 
4072         pfx=\E&f2a%p1%dk0d%p2%l%dL%p2%s, rev=\E&dB, ri=\ET, 
4073         rmacs=^O, rmir=\ER, rmso=\E&d@, rmul=\E&d@, rs1=\Eg, 
4074         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%{64}%+%e%{83}%;%e%?%ga%t%ga%{64}%+%e%{64}%;%;%c%?%p9%t\016%e\017%;, 
4075         sgr0=\E&d@\017, smacs=^N, smir=\EQ, smso=\E&dJ, smul=\E&dD, 
4076         tbc=\E3, use=newhpkeyboard, 
4077
4078 memhp|memory relative addressing for new HP ttys, 
4079         vt#6, 
4080         clear=\EH\EJ$<40>, cub=\E&a-%p1%dC, cud=\E&a+%p1%dR, 
4081         cuf=\E&a+%p1%dC, cup=\E&a%p1%dr%p2%dC, cuu=\E&a-%p1%dR, 
4082         home=\EH, hpa=\E&a%p1%dC, ll=\E&a23R\r, 
4083         mrcup=\E&a%p1%dr%p2%dC, vpa=\E&a%p1%dR, use=newhp, 
4084
4085 scrhp|screen relative addressing for new HP ttys, 
4086         clear=\E&a0c0Y\EJ$<40>, cub=\E&a-%p1%dC, 
4087         cud=\E&a+%p1%dR, cuf=\E&a+%p1%dC, 
4088         cup=\E&a%p1%dy%p2%dC$<10>, cuu=\E&a-%p1%dR, 
4089         home=\E&a0y0C, hpa=\E&a%p1%dC, ll=\E&a0y0C\EA, 
4090         mrcup=\E&a%p1%dr%p2%dC, vpa=\E&a%p1%dY, use=newhp, 
4091
4092 # (hp+labels: added label values from a BRL termcap -- esr)
4093 hp+labels|"standard" label info for new HP ttys, 
4094         lh#2, lw#8, nlab#8, 
4095         lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7, lf7=f8, 
4096         pln=\E&f2a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s, 
4097         rmln=\E&j@, smln=\E&jB, 
4098
4099 hp+printer|"standard" printer info for HP ttys, 
4100         ff=\E&p4u0C, mc0=\EH\E&p4dF, mc4=\E&p13C, mc5=\E&p11C, 
4101
4102
4103 # The new hp2621b is kind of a cross between the old 2621 and the
4104 # new 262x series of machines. It has dip-switched options. 
4105 # The firmware has a bug in it such that if you give it a null 
4106 # length label, the following character is eaten!
4107 hp2621b|hp 2621b with old style keyboard, 
4108         lh#1, lm#48, lw#8, nlab#8, 
4109         kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh, 
4110         kind=\ET, kll=\EF, kri=\ES, 
4111         pln=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d3L%?%ga%!%t%{32}%c%;%p2%s\E%{111}%p1%+%c\r, 
4112         smln=\E&jB, use=hp2621, 
4113
4114 hp2621b-p|hp 2621b with printer, 
4115         use=hp+printer, use=hp2621b, 
4116
4117 # hp2621b - new 2621b with new extended keyboard
4118 # these are closer to the new 26xx series than the other 2621b
4119 hp2621b-kx|hp 2621b with extended keyboard, 
4120         use=newhpkeyboard, use=hp2621b, 
4121
4122 hp2621b-kx-p|hp 2621b with new keyboard & printer, 
4123         use=hp+printer, use=hp2621b-kx, 
4124
4125 # Some assumptions are made in the following entries.
4126 # These settings are NOT set up by the initialization strings.
4127
4128 #    Port Configuration
4129 # RecvPace=Xon/Xoff     XmitPace=Xon/Xoff       StripNulDel=Yes
4130
4131 #    Terminal Configuration
4132 # InhHndShk(G)=Yes      InhDC2(H)=Yes
4133 # XmitFnctn(A)=No               InhEolWrp=No
4134 #
4135
4136 # Hp 2622a & hp2623a display and graphics terminals
4137 #
4138 hp2622|hp2622a|hp 2622, 
4139         da, db, 
4140         lm#0, pb#19200, 
4141         is2=\E&dj@\r, use=hp+pfk+cr, use=hp+labels, use=scrhp, 
4142
4143 # The 2623 is a 2622 with extra graphics hardware.
4144 hp2623|hp2623a|hp 2623, 
4145         use=hp2622, 
4146
4147 hp2624b-p|hp2624b-4p-p|hewlett packard 2624 B with printer, 
4148         use=hp+printer, use=hp2624, 
4149
4150 # The hewlett packard B can have an optional extra 6 pages of memory.
4151 hp2624-10p|hp2624a-10p|hp2624b-10p|hewlett packard 2624 B w/ 10 pages of memory, 
4152         lm#240, use=hp2624, 
4153
4154 hp2624b-10p-p|hewlett packard 2624 B w/ extra memory & printer, 
4155         lm#240, use=hp2624b-p, 
4156
4157 # Color manipulations for HP terminals
4158 hp+color|hp with colors, 
4159         ccc, 
4160         colors#16, ncv#17, pairs#7, 
4161         initp=\E&v%?%p2%{1000}%=%t1%e.%p2%d%;a%?%p3%{1000}%=%t1%e.%p3%d%;b%?%p4%{1000}%=%t1%e.%p4%d%;c%?%p5%{1000}%=%t1%e.%p5%d%;x%?%p6%{1000}%=%t1%e.%p6%d%;y%?%p7%{1000}%=%t1%e.%p7%d%;z%p1%dI, 
4162         oc=\E&v0m1a1b1c0I\E&v1a1I\E&v1b2I\E&v1a1b3I\E&v1c4I\E&v1a1c5I\E&v1b1c6I\E&v1x1y7I, 
4163         op=\E&v0S, scp=\E&v%p1%dS, 
4164
4165 # <is2> sets the screen to be 80 columns wide
4166 hp2397a|hp2397|hewlett packard 2397A color terminal, 
4167         is2=\E&w6f80X, use=memhp, use=hp+labels, use=hp+color, 
4168
4169 #  HP 700/44 Setup parameters:  
4170 # Terminal Mode         HP-PCterm
4171 # Inhibit Auto Wrap     NO
4172 # Status Line           Host Writable
4173 # PC Character Set      YES
4174 # Twenty-Five Line Mode YES
4175 # XON/XOFF              @128 or 64 (sc)
4176 # Keycode Mode          NO   or YES (sc)
4177 # Backspace Key         BS or BS/DEL
4178 #
4179 # <is2>         sets pcterm; autowrap; 25 lines; pc char set; prog DEL key; 
4180 # \E\\? does not turn off keycode mode
4181 # <smsc>        sets alternate start/stop; keycode on
4182 hpansi|hp700|hewlett packard 700/44 in HP-PCterm mode, 
4183         am, eo, xenl, xon, 
4184         cols#80, lines#25, 
4185         acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263, 
4186         bel=^G, cbt=\E[Z, civis=\E[?25l, clear=\E[2J\E[H, 
4187         cnorm=\E[?25h, cr=^M, cub1=\E[D, cud1=\E[B, cuf1=\E[C, 
4188         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
4189         ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L, 
4190         ind=^J, 
4191         is2=\E[44"p\E[?7h\E[>10h\E[>12h\EP1;1|3/7F\E\\, 
4192         kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
4193         kcuu1=\E[A, kend=\E[4~, kf1=\E[17~, kf10=\E[28~, 
4194         kf2=\E[18~, kf3=\E[19~, kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, 
4195         kf7=\E[24~, kf8=\E[25~, kf9=\E[26~, khome=\E[1~, knp=\E[6~, 
4196         kpp=\E[5~, rmam=\E[?7l, 
4197         rmsc=\E[>11l\EP1**x0/11;1/13\E[m\E\\, rmso=\E[m, 
4198         rmul=\E[m, sgr0=\E[m, smam=\E[?7h, 
4199         smsc=\E[>11h\EPO**x0/65;1/67\E\\$<250>, smso=\E[7m, 
4200         smul=\E[4m, xoffc=g, xonc=e, 
4201 #
4202 # (hp2392: copied <rmir> here from hpex -- esr)
4203 hp2392|239x series, 
4204         cols#80, 
4205         cbt=\Ei, cup=\E&a%p1%dy%p2%dC, kf1=\Ep\r, kf2=\Eq\r, 
4206         kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, kf6=\Eu\r, kf7=\Ev\r, 
4207         kf8=\Ew\r, khome=\Eh, kind=\EU, knp=\Eu, kpp=\Ev, kri=\EV, 
4208         rmir=\ER, rmul=\E&d@, smir=\EQ, smul=\E&dD, vpa=\E&a%p1%dY, 
4209         use=hpsub, 
4210
4211 hpsub|hp terminals -- capability subset, 
4212         am, da, db, mir, xhp, xon, 
4213         lines#24, 
4214         bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC, 
4215         cuu1=\EA, dch1=\EP, dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, 
4216         ht=^I, if=/usr/share/tabset/stdcrt, il1=\EL, ind=^J, 
4217         is2=\E&s1A\E<\E&k0\\, kbs=^H, kcub1=\ED, kcud1=\EB, 
4218         kcuf1=\EC, kcuu1=\EA, khome=\Eh, rmkx=\E&s0A, rmso=\E&d@, 
4219         sgr0=\E&d@, smkx=\E&s1A, smso=\E&dB, 
4220
4221 # hpex:
4222 #       May be used for most 24 x 80 hp terminals,
4223 # but has no padding added, so may allow runover in some terminals at high 
4224 # baud rates.  Will not work for hp2640a or hp2640b terminals, hp98x6 and 
4225 # hp98x5 terminal emulators or hp98x6 consoles.  
4226 #       Adds xy-cursor addressing, vertical cursor addressing, home, 
4227 # last line, and underline capabilities.
4228 #
4229 # (hpex: removed memory-lock capabilities ":ml=\El:mu=\Em:",
4230 # moved <rmir> here from hpsub -- esr)
4231 hpex|hp extended capabilites, 
4232         cr=^M, cud1=^J, cup=\E&a%p1%dy%p2%dC, ht=^I, ind=^J, kbs=^H, 
4233         kcub1=^H, kcud1=^J, nel=^M^J, rmir=\ER, rmul=\E&d@, smir=\EQ, 
4234         smul=\E&dD, vpa=\E&a%p1%dY, use=hpsub, 
4235
4236 # From: Ville Sulko <Ville.Sulko@bip.atk.tpo.fi>, 05 Aug 1996
4237 hp2|hpex2|hewlett-packard extended capabilities newer version, 
4238         am, da, db, mir, xhp, 
4239         cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8, xmc#0, 
4240         bel=^G, clear=\E&a0y0C\EJ, cr=^M, cub1=^H, cud1=\EB, 
4241         cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, 
4242         dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, 
4243         il1=\EL, ind=^J, kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED, 
4244         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM, 
4245         ked=\EJ, kel=\EK, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, 
4246         kf6=\Eu, kf7=\Ev, kf8=\Ew, khome=\Eh, khts=\E1, kich1=\EQ, 
4247         kil1=\EL, kind=\ES, kll=\EF, knp=\EU, kpp=\EV, kri=\ET, 
4248         krmir=\ER, ktbc=\E3, meml=\El, memu=\Em, 
4249         pfkey=\E&f%p1%dk%p2%l%dL%p2%s, 
4250         pfloc=\E&f1a%p1%dk%p2%l%dL%p2%s, 
4251         pfx=\E&f2a%p1%dk%p2%l%dL%p2%s, 
4252         pln=\E&f%p1%dk%p2%l%dd0L%p2%s, rmir=\ER, rmkx=\E&s0A, 
4253         rmln=\E&j@, rmso=\E&d@, rmul=\E&d@, 
4254         sgr=\E&d%?%p7%t%{115}%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%{64}%+%c%?%p9%t%'\016'%c%e%'\017'%c%;, 
4255         sgr0=\E&d@, smir=\EQ, smkx=\E&s1A, smln=\E&jB, smso=\E&dB, 
4256         smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY, 
4257
4258 # HP 236 console
4259 # From: <ddavis@ic.berkeley.edu>
4260 hp236|hp236 internal terminal emulator, 
4261         OTbs, am, 
4262         cols#80, lines#24, 
4263         clear=\EF, cnorm=\EDE, cub1=^H, 
4264         cup=\EE%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, cvvis=\EDB, 
4265         dch1=\EJ, dl1=\EH, el=\EK, ich1=\EI, il1=\EG, rmso=\ECI, 
4266         sgr0=\ECI, smso=\EBI, 
4267
4268 # This works on a hp300 console running Utah 4.3 BSD
4269 # From: Craig Leres <leres@okeeffe.berkeley.edu>
4270 hp300h|HP Catseye console, 
4271         OTbs, am, da, db, mir, xhp, 
4272         cols#128, lines#51, lm#0, xmc#0, 
4273         bel=^G, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M, cub1=^H, cud1=\EB, 
4274         cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, 
4275         dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, 
4276         if=/usr/share/tabset/stdcrt, il1=\EL, ind=^J, kbs=^H, 
4277         kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh, 
4278         rmir=\ER, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@, sgr0=\E&d@, 
4279         smir=\EQ, smkx=\E&s1A, smso=\E&dB, smul=\E&dD, tbc=\E3, 
4280         vpa=\E&a%p1%dY, 
4281 # From: Greg Couch <gregc@ernie.berkeley.edu>
4282 hp9837|hp98720|hp98721|HP 9000/300 workstations, 
4283         OTbs, am, da, db, mir, xhp, 
4284         cols#128, it#8, lines#46, lm#0, 
4285         bel=^G, cbt=\Ei, clear=\E&a0y0C\EJ, cub1=^H, cud1=\EB, 
4286         cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, 
4287         dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, 
4288         il1=\EL, ind=^J, is2=\E&v0m1b0i&j@, kbs=^H, kcub1=\ED, 
4289         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM, 
4290         ked=\EJ, kel=\EK, khome=\Eh, kich1=\EQ, kil1=\EL, knp=\EU, 
4291         kpp=\EV, rmir=\ER, rmkx=\E&s0A, rmso=\E&v0S, rmul=\E&d@, 
4292         sgr0=\E&d@, smir=\EQ, smkx=\E&s1A, smso=\E&v5S, smul=\E&dD, 
4293         tbc=\E3, vpa=\E&a%p1%dY, 
4294 # HP 9845 desktop computer from BRL
4295 # (hp9845: removed unknown capability :gu: -- esr)
4296 hp9845|HP 9845, 
4297         OTbs, am, da, db, eo, mir, xhp, 
4298         cols#80, lines#21, 
4299         OTbc=\ED, clear=\EH\EJ, cuf1=\EC, cup=\E&a%p2%2dc%p1%2dY, 
4300         cuu1=\EA, dch1=\EP, dl1=\EM, ed=\EJ, el=\EK, 
4301         if=/usr/share/tabset/std, il1=\EL, rmir=\ER, rmso=\E&d@, 
4302         smir=\EQ, smso=\E&dB, 
4303 # From: Charles A. Finnell of MITRE <finnell@mitre.org>, developed 07SEP90
4304 # (hp98550: replaced /usr/share/tabset/9837 with std because <it#8>,<hts=\E1>;
4305 # added empty <acsc> to avoid warnings re <smacs>/<rmacs> --esr)
4306 hp98550|hp98550a|HP 9000 Series 300 color console, 
4307         OTbs, am, da, db, mir, xhp, 
4308         cols#128, it#8, lines#49, lm#0, 
4309         acsc=, bel=^G, blink=\E&dA, bold=\E&dJ, cbt=\Ei, civis=\E*dR, 
4310         clear=\EH\EJ, cnorm=\E*dQ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
4311         cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, dim=\E&dH, 
4312         dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, 
4313         if=/usr/share/tabset/std, il1=\EL, ind=^J, invis=\E&ds, 
4314         kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
4315         kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, kf1=\Ep, 
4316         kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew, 
4317         khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, kind=\ES, kll=\EF, 
4318         knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, ktbc=\E3, rev=\E&dJ, 
4319         rmacs=^O, rmir=\ER, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@, 
4320         sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A, smso=\E&dJ, 
4321         smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY, 
4322 # From: Victor Duchovni <vic@fine.princeton.edu>
4323 # (hp700-wy: removed obsolete ":nl=^J:";
4324 # replaced /usr/share/tabset/hp700-wy with std because <it#8>,<hts=\E1> -- esr)
4325 hp700-wy|HP700/41 emulating wyse30, 
4326         OTbs, am, bw, mir, msgr, 
4327         cols#80, it#8, lines#24, xmc#1, 
4328         cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^V, cuf1=^L, 
4329         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
4330         dl1=\ER, ed=\EY, el=\ET$<10/>, home=^^, ht=^I, hts=\E1, 
4331         if=/usr/share/tabset/stdcrt, il1=\EE$<0.7*/>, 
4332         is1=\E~"\EC\Er\E(\EG0\003\E`9\E`1, kbs=\177, kcbt=\EI, 
4333         kclr=^Z, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, ked=\EY, 
4334         kel=\ET, khome=^^, khts=\EI, kich1=\Eq, krmir=\Er, ll=^^^K, 
4335         ri=\Ej, rmir=\Er, rmso=\EG0$<10/>, rmul=\EG0$<10/>, 
4336         sgr0=\EG0$<10/>, smir=\Eq, smso=\EG4$<10/>, 
4337         smul=\EG8$<10/>, tbc=\E0, vpa=\E[%p1%{32}%+%c, 
4338 hp70092|hp70092a|hp70092A|HP 700/92, 
4339         am, da, db, xhp, 
4340         cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8, 
4341         acsc=0cjgktlrmfn/q\,t5u6v8w7x., bel=^G, blink=\E&dA, 
4342         bold=\E&dB, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M, cub1=^H, 
4343         cud1=\EB, cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, 
4344         dch1=\EP, dim=\E&dH, dl1=\EM, el=\EK, hpa=\E&a%p1%dC, ht=^I, 
4345         hts=\E1, il1=\EL, kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED, 
4346         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM, 
4347         ked=\EJ, kel=\EK, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, 
4348         kf6=\Eu, kf7=\Ev, kf8=\Ew, khome=\Eh, khts=\E1, kich1=\EQ, 
4349         kil1=\EL, kind=\ES, kll=\EF, knp=\EU, kpp=\EV, kri=\ET, 
4350         krmir=\ER, ktbc=\E3, rev=\E&dB, ri=\ET, rmacs=^O, rmir=\ER, 
4351         rmkx=\E&s0A, rmln=\E&j@, rmso=\E&d@, rmul=\E&d@, 
4352         sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A, smln=\E&jB, 
4353         smso=\E&dJ, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY, 
4354
4355 bobcat|sbobcat|HP 9000 model 300 console, 
4356         am, da, db, mir, xhp, 
4357         cols#128, it#8, lines#47, xmc#0, 
4358         cbt=\Ei, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC, 
4359         cup=\E&a%dy%dC$<6/>, cuu1=\EA, dch1=\EP, dl1=\EM$<10*/>, 
4360         ed=\EJ, el=\EK, hpa=\E&a%dC$<6/>, ht=^I, il1=\EL$<10*/>, 
4361         ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
4362         khome=\Eh, nel=^M^J, rmir=\ER, rmkx=\E&s0A, rmso=\E&d@, 
4363         rmul=\E&d@, sgr0=\E&d@, smir=\EQ, smkx=\E&s1A, smso=\E&dB, 
4364         smul=\E&dD, vpa=\E&a%dY$<6/>, 
4365 gator-t|HP 9000 model 237 emulating extra-tall AAA, 
4366         lines#94, use=gator, 
4367 gator|HP 9000 model 237 emulating AAA, 
4368         bw, km, mir, ul, 
4369         cols#128, it#8, lines#47, 
4370         bel=^G, cbt=\E[Z, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J, 
4371         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\EM, 
4372         dch=\E[%p1%dP$<4/>, dch1=\E[P, dl=\E[%p1%dM$<1*/>, 
4373         dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, hpa=\E[%i%p1%d`, 
4374         ht=^I, ich=\E[%p1%d@$<4/>, ich1=\E[@, il=\E[%p1%dL$<1*/>, 
4375         il1=\E[L, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, 
4376         rep=%p1%c\E[%p2%db$<1*/>, rev=\E[7m, rmso=\E[m, 
4377         rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
4378 gator-52|HP 9000 model 237 emulating VT52, 
4379         cols#128, lines#47, use=vt52, 
4380 gator-52t|HP 9000 model 237 emulating extra-tall VT52, 
4381         lines#94, use=gator-52, 
4382
4383 #### Honeywell-Bull
4384 #
4385 # From: Michael Haardt <michael@gandalf.moria> 11 Jan 93
4386 #
4387
4388 # Honeywell Bull terminal.  Its cursor and function keys send single
4389 # control characters and it has standout/underline glitch.  Most programs
4390 # do not like these features/bugs.  Visual bell is realized by flashing the
4391 # "keyboard locked" LED.
4392 dku7003-dumb|Honeywell Bull DKU 7003 dumb mode, 
4393         cols#80, lines#25, 
4394         clear=^]^_, cr=^M, cub1=^Y, cud1=^K, cuf1=^X, 
4395         cup=\E[%i%p1%d;%p2%dH, cuu1=^Z, ed=^_, el=\E[K, 
4396         flash=\E[2h\E[2l, home=^], ht=^I, ind=^J, kbs=^H, kcub1=^Y, 
4397         kcud1=^K, kcuf1=^X, kcuu1=^Z, khome=^], nel=^M^J, 
4398 dku7003|Honeywell Bull DKU 7003 all features described, 
4399         msgr, 
4400         xmc#1, 
4401         blink=\E[5m, bold=\E[7m, dim=\E[2m, rev=\E[7m, rmso=\E[m, 
4402         rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
4403         use=dku7003-dumb, 
4404
4405 #### Lear-Siegler (adm)
4406 #
4407 # These guys are long since out of the terminals business, but
4408 # in 1995 many current terminals still have an adm type as one of their
4409 # emulations (usually their stupidest, and usually labeled adm3, though
4410 # these `adm3' emulations normally have adm3a+ capabilities).
4411 #
4412 # WARNING: Some early ADM terminals (including the ADM3 and ADM5) had a 
4413 # `diagnostic feature' that sending them a ^G while pin 22 (`Ring Indicator')
4414 # was being held to ground would trigger a send of the top line on the screen.
4415 # A quick fix might be to drop back to a cheesy 4-wire cable with pin 22
4416 # hanging in the air. (Thanks to Eric Fischer, <eric@fudge.uchicago.edu>,
4417 # for clearing up this point.)
4418
4419 adm1a|adm1|lsi adm1a, 
4420         am, 
4421         cols#80, lines#24, 
4422         bel=^G, clear=\E;$<1>, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
4423         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, home=^^, 
4424         ind=^J, 
4425 adm2|lsi adm2, 
4426         OTbs, am, 
4427         cols#80, lines#24, 
4428         bel=^G, clear=\E;, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
4429         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
4430         dl1=\ER, ed=\EY, el=\ET, home=^^, ich1=\EQ, il1=\EE, ind=^J, 
4431         kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, 
4432 # (adm3: removed obsolete ":ma=^K^P:" -- esr)
4433 adm3|lsi adm3, 
4434         OTbs, am, 
4435         cols#80, lines#24, 
4436         bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, ind=^J, 
4437 # The following ADM-3A switch settings are assumed for normal operation:
4438 #       SPACE           U/L_DISP        CLR_SCRN        24_LINE
4439 #       CUR_CTL         LC_EN           AUTO_NL         FDX
4440 # Other switches may be set for operator convenience or communication
4441 # requirements.  I recommend
4442 #       DISABLE_KB_LOCK LOCAL_OFF       103             202_OFF
4443 #       ETX_OFF         EOT_OFF
4444 # Most of these terminals required an option ROM to support lower case display.
4445 # Open the case and look at the motherboard; if you see an open 24-pin DIP
4446 # socket, you may be out of luck.
4447 #
4448 # (adm3a: some capabilities merged in from BRl entry -- esr)
4449 adm3a|lsi adm3a, 
4450         OTbs, am, 
4451         cols#80, lines#24, 
4452         OTma=^K^P, OTnl=^J, bel=^G, clear=\032$<1/>, cr=^M, cub1=^H, 
4453         cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, 
4454         cuu1=^K, home=^^, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^L, 
4455         kcuu1=^K, rs2=^N, 
4456 adm3a+|adm3a plus, 
4457         kbs=^H, use=adm3a, 
4458 # (adm5: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" & duplicate ":do=^J:" -- esr)
4459 adm5|lsi adm5, 
4460         xmc#1, 
4461         bel=^G, cr=^M, cud1=^J, ed=\EY, el=\ET, kbs=^H, khome=^^, 
4462         rmso=\EG, smso=\EG, use=adm3a+, 
4463 # A lot of terminals other than adm11s use these.  Wherever you see
4464 # use=adm+sgr with some of its capabilities disabled, try the
4465 # disabled ones.  They may well work but not have been documented or
4466 # expressed in the using entry.  We'd like to cook up an <sgr> but the
4467 # <rmacs>/<smacs> sequences of the using entries vary too much.
4468 adm+sgr|adm style highlight capabilities, 
4469         invis=\EG1, rev=\EG4, rmso=\EG0, rmul=\EG0, sgr0=\EG0, 
4470         smso=\EG4, smul=\EG8, 
4471 # LSI ADM-11 from George William Hartwig, Jr. <geo@BRL-TGR.ARPA> via BRL
4472 # Status line additions from Stephen J. Muir <stephen%comp.lancs.ac.uk@ucl-cs>
4473 # <khome> from <stephen%comp.lancs.ac.uk@ucl-cs.arpa>.  <clear> could also
4474 # be ^Z, according to his entry.
4475 # (adm11: <smul>=\EG4 was obviously erroneous because it also said
4476 # <rev>=\EG4.  Looking at other ADMs confirms this -- esr)
4477 adm11|LSI ADM-11, 
4478         OTbs, am, hs, 
4479         OTkn#8, cols#80, lines#24, 
4480         OTnl=^J, bel=^G, blink=\EG2, clear=\E*, cr=^M, cub1=^H, 
4481         cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, 
4482         cuu1=^K, dsl=\Eh, ed=\EY, el=\ET, fsl=\E(\r, home=^^, ht=^I, 
4483         kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf1=^A@\r, 
4484         kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
4485         kf7=^AF\r, kf8=^AG\r, khome=^^, nel=^M^J, tsl=\EF\E), 
4486         use=adm+sgr, 
4487 # From: Andrew Scott Beals <bandy@lll-crg.ARPA>
4488 # Corrected by Olaf Siebert <rhialto@polder.ubc.kun.nl>, 11 May 1995
4489 # Supervisor mode info by Ari Wuolle, <awuolle@delta.hut.fi>, 27 Aug 1996
4490 # (adm12: removed obsolete ":kn:ma=j^Jk^P^K^Pl ^R^L^L :".  This formerly had
4491 # <is2>=\Eq but that looked wrong; this <is2> is from Dave Yost <esquire!yost>
4492 # via BRL.  That entry asserted <xmc#1>, but I've left that out because 
4493 # neither earlier nor later ADMSs have it -- esr)
4494 #
4495 # You will need to get into the supervisor setup before you can set
4496 # baudrate etc. for your ADM-12+. Press Shift-Ctrl-Setup and you should
4497 # see a lot more setup options.
4498
4499 # While in supervisor setup you can also use following codes:
4500
4501 # Ctrl-P Personality character selections (configure for example what
4502 #        arrow keys send, if I recall correctly)
4503 # Ctrl-T tabs 1-80   use left&right to move and up to set and
4504 # Ctrl-V tabs 81-158 down to clear tab. Shift-Ctrl-M sets right margin at cursor
4505 # Ctrl-B Binary setup (probably not needed. I think that everything can
4506 #        be set using normal setup)
4507 # Ctrl-A Answerback mode (enter answerback message)
4508 # Ctrl-U User friendly mode (normal setup)
4509 # Ctrl-D Defaults entire setup and function keys from EPROM tables
4510 # Ctrl-S Save both setup and functions keys. Takes from 6 to 10 seconds.
4511 # Ctrl-R Reads both setup and functions keys from NVM.
4512 # Shift-Ctrl-X Unlock keyboard and cancel received X-OFF status
4513
4514 # ADM-12+ supports hardware handshaking, but it is DTR/CTS as opposed to
4515 # RTS/CTS used nowadays with virtually every modem and computer. 19200
4516 # bps works fine with hardware flow control.
4517
4518 # The following null-modem cable should fix this and enable you to use
4519 # RTS/CTS handshaking (which Linux supports, use CRTSCTS setting). Also
4520 # set ADM-12+ for DTR handshaking from supervisor setup.
4521
4522 # PC Serial   ADM-12+
4523 #  --------   -------
4524 #         2 - 3
4525 #         3 - 2
4526 #         4 - 5
4527 #         5 - 20
4528 #       6,8 - 4
4529 #         7 - 7
4530 #        20 - 6,8
4531 #
4532 adm12|lsi adm12, 
4533         OTbs, OTpt, am, mir, 
4534         OTug#1, cols#80, it#8, lines#24, 
4535         bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
4536         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
4537         dl1=\ER, ed=\EY, el=\ET, home=^^, hts=\E1, ich1=\EQ, il1=\EE, 
4538         is2=\E0        \E1        \E1        \E1        \E1        \E1        \E1        \E1        \E1, 
4539         kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A1\r, 
4540         kf2=^A2\r, kf3=^A3\r, kf4=^A4\r, kf5=^A5\r, kf6=^A6\r, 
4541         kf7=^A7\r, kf8=^A8\r, kf9=^A9\r, rmir=\Er, smir=\Eq, tbc=\E0, 
4542         use=adm+sgr, 
4543 # (adm20: removed obsolete ":kn#7:" -- esr)
4544 adm20|lear siegler adm20, 
4545         OTbs, am, 
4546         cols#80, it#8, lines#24, 
4547         bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cuf1=^L, 
4548         cup=\E=%i%p2%{31}%+%c%p1%{31}%+%c, cuu1=^K, dch1=\EW, 
4549         dl1=\ER, ed=\EY, el=\ET, home=^^, ht=^I, ich1=\EQ, il1=\EE, 
4550         kf1=^A, kf2=^B, kf3=^W, kf4=^D, kf5=^E, kf6=^X, kf7=^Z, rmso=\E(, 
4551         sgr0=\E(, smso=\E), 
4552 adm21|lear siegler adm21, 
4553         xmc#1, 
4554         bel=^G, cr=^M, cud1=^J, dch1=\EW, dl1=30*\ER, ed=\EY, el=\ET, 
4555         ich1=\EQ, il1=30*\EE, ind=^J, invis@, kbs=^H, kcub1=^H, 
4556         kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, use=adm+sgr, 
4557         use=adm3a, 
4558 # (adm22: ":em=:" was an obvious typo for ":ei=:"; also,
4559 # removed obsolete ":kn#7:ma=j^Jk^P^K^Pl ^R^L^L :";
4560 # removed bogus-looking \200 from before <cup>. -- esr)
4561 adm22|lsi adm22, 
4562         OTbs, am, 
4563         cols#80, lines#24, 
4564         bel=^G, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
4565         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
4566         dl1=\ER, ed=\Ey, el=\Et, home=^^, ht=\Ei, ich1=\EQ, il1=\EE, 
4567         is2=\E%\014\014\014\016\003\0\003\002\003\002\0\0\0\0\0\0\0\0\0\0\0, 
4568         kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf1=^A@\r, 
4569         kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
4570         kf7=^AF\r, khome=^^, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5, 
4571         lf6=F6, lf7=F7, rmso=\E(, sgr0=\E(, smso=\E), 
4572 # ADM 31 DIP Switches
4573 #
4574 # This information comes from two versions of the manual for the
4575 # Lear-Siegler ADM 31.
4576 #
4577 # Main board:
4578 #                  rear of case
4579 #   +-||||-------------------------------------+
4580 #   + S1S2                              ||S    +
4581 #   +                                   ||3    +
4582 #   +                                          +
4583 #   +                                ||S       +
4584 #   +                                ||4       +
4585 #   +                                          +
4586 #   +                                          +
4587 #   +                                          +
4588 #   +                                          +
4589 #   +                                          +
4590 # +-+                                          +-+
4591 # +                                              +
4592 # +                               S5 S6 S7       +   
4593 # +                               == == ==       +
4594 # +----------------------------------------------+
4595 #            front of case (keyboard)
4596 #
4597 #  S1 - Data Rate - Modem
4598 #  S2 - Data Rate - Printer
4599 # ------------------------
4600 # Data Rate   Setting
4601 # -------------------
4602 # 50          0 0 0 0
4603 # 75          1 0 0 0
4604 # 110         0 1 0 0
4605 # 134.5       1 1 0 0
4606 # 150         0 0 1 0
4607 # 300         1 0 1 0
4608 # 600         0 1 1 0
4609 # 1200        1 1 1 0
4610 # 1800        0 0 0 1
4611 # 2000        1 0 0 1
4612 # 2400        0 1 0 1
4613 # 3600        1 1 0 1
4614 # 4800        0 0 1 1
4615 # 7200        1 0 1 1
4616 # 9600        0 1 1 1
4617 # x           1 1 1 1
4618 #
4619 # S3 - Interface/Printer/Attributes
4620 # ---------------------------------
4621 # Printer Busy Control
4622 # sw1   sw2   sw3
4623 # ---------------
4624 # off   off   off   Busy not active, CD disabled
4625 # off   off   on    Busy not active, CD enabled
4626 # off   on    off   Busy active on J5-20, CD disabled
4627 # on    off   off   Busy active on J5-19, CD disabled - Factory Set.
4628 # on    off   on    Busy active on J5-19, CD enabled
4629 #
4630 # sw4   Used in conjuction with S4 for comm interface control - Fact 0
4631 #
4632 # sw5   Secondary Channel Control (Hardware implementation only) - Fact 0
4633 #
4634 # sw6   ON enables printer BUSY active LOW - Factory Setting
4635 #       OFF enables printer BUSY active HIGH - If set to this, ADM31 senses
4636 #
4637 # sw7   ON - steady cursor - Factory Setting
4638 #       OFF - blinking cursor
4639 #
4640 # sw8   ON causes selected attribute character to be displayed
4641 #       OFF causes SPACE to be displayed instead - Factory Setting
4642 #
4643 # S4 - Interface
4644 # --------------
4645 # Modem Interface
4646 # S3    S4    S4    S4    S4
4647 # sw4   sw1   sw2   sw3   sw4
4648 # ---------------------------
4649 # OFF   ON    OFF   ON    OFF   Enable RS-232C interface, Direct Connect and
4650 #                               Current Loop disabled - Factory Setting
4651 # ON    ON    OFF   ON    OFF   Enable Current Loop interface, Direct Connect
4652 #                               disabled
4653 # OFF   OFF   ON    OFF   ON    Enable Direct Connect interface, RS-232C and
4654 #                               Current Loop Disabled
4655 #
4656 # sw5   ON disables dot stretching mode - Factory Setting
4657 #       OFF enables dot stretching mode
4658 # sw6   ON enables blanking function
4659 #       OFF enables underline function - Factory Setting
4660 # sw7   ON causes NULLS to be displayed as NULLS
4661 #       OFF causes NULLS to be displayed as SPACES - Factory Setting
4662 #
4663 # S5 - Word Structure
4664 # -------------------
4665 # sw1   ON enables BREAK key - Factory Setting
4666 #       OFF disables BREAK key
4667 # sw2   ON selects 50Hz monitor refresh rate
4668 #       OFF selects 60Hz monitor refresh rate - Factory Setting
4669 #
4670 # Modem Port Selection
4671 # sw3   sw4   sw5
4672 # ---------------
4673 # ON    ON    ON    Selects 7 DATA bits, even parity, 2 STOP bits
4674 # OFF   ON    ON    Selects 7 DATA bits, odd  parity, 2 STOP bits
4675 # ON    OFF   ON    Selects 7 DATA bits, even parity, 1 STOP bit - Factory Set.
4676 # OFF   OFF   ON    Selects 7 DATA bits, odd  parity, 1 STOP bit
4677 # ON    ON    OFF   Selects 8 DATA bits, no   parity, 2 STOP bits
4678 # OFF   ON    OFF   Selects 8 DATA bits, no   parity, 1 STOP bit
4679 # ON    OFF   OFF   Selects 8 DATA bits, even parity, 1 STOP bit
4680 # OFF   OFF   OFF   Selects 8 DATA bits, odd  parity, 1 STOP bit
4681 #
4682 # sw6   ON  sends bit 8 a 1 (mark)
4683 #       OFF sends bit 8 as 0 (space) - Factory Setting
4684 # sw7   ON  selects Block Mode
4685 #       OFF selects Conversation Mode - Factory Setting
4686 # sw8   ON  selects Full Duplex operation
4687 #       OFF selects Half Duplex operation - Factory Setting
4688 #
4689 # S6 - Printer
4690 # ------------
4691 # sw1, sw2, sw6, sw7   Reserved - Factory 0
4692 #
4693 # Printer Port Selection
4694 # same as Modem above, bit 8 (when 8 DATA bits) is always = 0
4695 #
4696 # sw8   ON   enables Printer Port
4697 #       OFF disables Printer Port - Factory Setting
4698 #
4699 # S7 - Polling Address
4700 # --------------------
4701 # sw1-7 Establish ASCII character which designates terminal polling address
4702 #       ON  = logic 0
4703 #       OFF = logic 1 - Factory Setting
4704 # sw8   ON   enables Polling Option
4705 #       OFF disables Polling Option - Factory Setting
4706 #
4707 #
4708 # On some older adm31s, S4 does not exist, and S5-sw6 is not defined.
4709 #
4710 # This adm31 entry uses underline as the standout mode.
4711 # If the adm31 gives you trouble with standout mode, check the DIP switch in
4712 # position 6, bank @c11, 25% from back end of the circuit board.  Should be
4713 # OFF.  If there is no such switch, you have an old adm31 and must use oadm31.
4714 # (adm31: removed obsolete ":ma=j^Jk^P^K^Pl ^R^L^L :" -- esr)
4715 adm31|lsi adm31 with sw6 set for underline mode, 
4716         OTbs, am, mir, 
4717         cols#80, lines#24, 
4718         bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
4719         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
4720         dl1=\ER, ed=\EY, el=\ET, home=^^, il1=\EE, ind=^J, is2=\Eu\E0, 
4721         kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A1\r, 
4722         kf2=^A2\r, kf3=^A3\r, kf4=^A4\r, kf5=^A5\r, kf6=^A6\r, 
4723         kf7=^A7\r, kf8=^A8\r, kf9=^A9\r, rmir=\Er, rmso=\EG0, 
4724         rmul=\EG0, sgr0=\EG0, smir=\Eq, smso=\EG1, smul=\EG1, 
4725 adm31-old|o31|old adm31, 
4726         rmul@, smso=\EG4, smul@, use=adm31, 
4727 # LSI ADM-36 from Col. George L. Sicherman <gloria!colonel> via BRL
4728 adm36|LSI ADM36, 
4729         OTbs, OTpt, 
4730         OTkn#4, 
4731         if=/usr/lib/tabset/vt100, 
4732         is2=\E<\E>\E[6;?2;?7;?8h\E[4;20;?1;?3;?4;?5;?6;?18;?19l, 
4733         use=vt100, 
4734 # (adm42: removed obsolete ":ma=^K^P:" -- esr)
4735 adm42|lsi adm42, 
4736         OTbs, am, 
4737         cols#80, lines#24, 
4738         bel=^G, cbt=\EI, clear=\E;, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
4739         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
4740         cvvis=\EC\E3 \E3(, dch1=\EW, dl1=\ER, ed=\EY, el=\ET, ht=^I, 
4741         il1=\EE$<270>, ind=^J, invis@, ip=$<6*>, kcub1=^H, kcud1=^J, 
4742         kcuf1=^L, kcuu1=^K, khome=^^, pad=\177, rmir=\Er, rmul@, 
4743         smir=\Eq, smul@, use=adm+sgr, 
4744 # The following termcap for the Lear Siegler ADM-42 leaves the 
4745 # "system line" at the bottom of the screen blank (for those who 
4746 # find it distracting otherwise)
4747 adm42-ns|lsi adm-42 with no system line, 
4748         cbt=\EI\EF \011, clear=\E;\EF \011, 
4749         cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<6>\EF \011, 
4750         dch1=\EW\EF \011, dl1=\ER\EF \011, ed=\EY\EF \011, 
4751         el=\ET\EF \011, il1=\EE\EF \011, rmir=\Er\EF \011, 
4752         smir=\Eq\EF \011, use=adm42, 
4753 # ADM 1178 terminal -- rather like an ADM-42.  Manual is dated March 1 1985.
4754 # The insert mode of this terminal is commented out because it's broken for our
4755 # purposes in that it will shift the position of every character on the page,
4756 # not just the cursor line!
4757 # From: Michael Driscoll <fenris@lightspeed.net> 10 July 1996
4758 adm1178|1178|lsi adm1178, 
4759         am, 
4760         cols#80, lines#24, xmc#1, 
4761         bel=^G, bold=\E(, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J, 
4762         cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
4763         cvvis=\EC\E3 \E3(, dch1=\EW, dl1=\ER, ed=\EY, el=\ET, 
4764         home=^^, ht=^I, il1=\EE, ind=^J, ip=$<6*/>, kbs=^H, kcub1=^H, 
4765         kcud1=^J, nel=^M^J, pad=\177, rev=\EG4, rmso=\EG0, rmul=\EG0, 
4766         sgr0=\E), smso=\EG4, smul=\EG1, 
4767
4768 #### Prime
4769 #
4770 # Yes, Prime made terminals.  These entries were posted by Kevin J. Cummings
4771 # <cummings@primerd.prime.com> on 14 Dec 1992 and lightly edited by esr.
4772 # Prime merged with ComputerVision in the late 1980s; you can reach them at:
4773 #
4774 #       ComputerVision Services
4775 #       500 Old Connecticut Path
4776 #       Framingham, Mass.
4777 #
4778
4779 # Standout mode is dim reverse-video.
4780 pt100|pt200|wren|fenix|prime pt100/pt200, 
4781         am, bw, mir, msgr, 
4782         cols#80, it#8, lines#24, 
4783         cbt=\E[Z, clear=\E?, cr=^M, cub=\E[%p1%dD, cub1=^H, 
4784         cud=\E[%p1%dB, cud1=\ED, cuf=\E[%p1%dC, cuf1=\E[C, 
4785         cup=\E0%p1%{33}%+%c%p2%{33}%+%c, cuu=\E[%p1%dA, 
4786         cuu1=\EM, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[M, 
4787         ed=\E[J\E[r, el=\E[K\E[t, flash=\E$$<200/>\E$P, 
4788         home=\E$B, ht=^I, il1=\E[L\E[t, ind=^J, kbs=^H, kcub1=\E[D, 
4789         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E$A, nel=^M^J, 
4790         rmcup=, rmir=\E[4l, rmkx=\E[>13l, rmso=\E[m, rmul=\E[m, 
4791         sgr0=\E[m, 
4792         smcup=\E[>1l\E[>2l\E[>16l\E[4l\E[>9l\E[20l\E[>3l\E[>7h\E[>12l\E[1Q, 
4793         smir=\E[4h, smkx=\E[>13h, smso=\E[2;7m, smul=\E[4m, 
4794 pt100w|pt200w|wrenw|fenixw|prime pt100/pt200 in 132-column mode, 
4795         cols#132, 
4796         cup=\E[%i%p1%d;%p2%dH, use=pt100, 
4797 pt250|Prime PT250, 
4798         rmso@, smso@, use=pt100, 
4799 pt250w|Prime PT250 in 132-column mode, 
4800         rmso@, smso@, use=pt100w, 
4801
4802 #### Qume (qvt)
4803 #
4804 #       Qume, Inc.
4805 #       3475-A North 1st Street
4806 #       San Jose CA 95134
4807 #       Vox: (800)-457-4447
4808 #       Fax: (408)-473-1510
4809 #       Net: josed@techsupp.wyse.com (Jose D'Oliveira)
4810 #
4811 # Qume was bought by Wyse, but still (as of early 1995) has its own support
4812 # group and production division.
4813 #
4814 # Discontinued Qume models:
4815 #
4816 # The qvt101 and qvt102 listed here are long obsolete; so is the qvt101+
4817 # built to replace them, and a qvt119+ which was a 101+ with available wide
4818 # mode (132 columns).  There was a qvt103 which added vt100/vt131 emulations
4819 # and an ANSI-compatible qvt203 that replaced it.  Qume started producing
4820 # ANSI-compatible terminals with the qvt323 and qvt61.
4821 #
4822 # Current Qume models (as of February 1995):
4823 #
4824 # All current Qume terminals have ANSI-compatible operation modes.
4825 # Qume is still producing the qvt62, which features emulations for other
4826 # popular lines such as ADDS, and dual-host capabilities.  The qvt82 is
4827 # designed for use as a SCO ANSI terminal.  The qvt70 is a color terminal
4828 # with many emulations including Wyse370, Wyse 325, etc.  Their newest
4829 # model is the qvt520, which is vt420-compatible.
4830 #
4831 # There are some ancient printing Qume terminals under `Daisy Wheel Printers'
4832 #
4833 # If you inherit a Qume without docs, try Ctrl-Shift-Setup to enter its
4834 # setup mode.  Shift-s should be a configuration save to NVRAM.
4835
4836 qvt101|qvt108|qume qvt 101 and QVT 108, 
4837         xmc#1, use=qvt101+, 
4838
4839 # This used to have <cvvis=\E.2> but no <cnorm> or <civis>.  The BSD termcap
4840 # file had <cvvis=\EM4 \200\200\200>.  I've done the safe thing and yanked 
4841 # both. The <rev> is from BSD, which also claimed bold=\E( and dim=\E).
4842 # What seems to be going on here is that this entry was designed so that
4843 # the normal highlight is bold and standout is dim plus something else
4844 # (reverse-video maybe?  But then, are there two <rev> sequences?)  
4845 qvt101+|qvt101p|qume qvt 101 PLUS product, 
4846         am, bw, hs, ul, 
4847         cols#80, lines#24, xmc#0, 
4848         bel=^G, cbt=\EI, clear=^Z, cnorm=\E.4, cr=^M, cub1=^H, cud1=^J, 
4849         cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
4850         dch1=\EW, dl1=\ER, dsl=\Eg\Ef\r, ed=\EY, el=\ET, 
4851         flash=\Eb$<200>\Ed, fsl=^M, home=^^, ht=^I, hts=\E1, 
4852         ich1=\EQ, il1=\EE, ind=^J, invis@, kbs=^H, kcbt=\EI, kcub1=^H, 
4853         kcud1=^J, kcuf1=^L, kcuu1=^K, kdl1=\ER, ked=\EY, kel=\ET, 
4854         kf1=^A@\r, kf10=^AI\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, 
4855         kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, 
4856         khome=^^, kich1=\EQ, kil1=\EE, mc4=\EA, mc5=\E@, rmso=\E(, 
4857         smso=\E0P\E), tbc=\E3, tsl=\Eg\Ef, use=adm+sgr, 
4858 qvt102|qume qvt 102, 
4859         cnorm=\E., use=qvt101, 
4860 # (qvt103: added <rmam>/<smam> based on init string -- esr)
4861 qvt103|qume qvt 103, 
4862         am, xenl, xon, 
4863         cols#80, it#8, lines#24, vt#3, 
4864         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
4865         clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
4866         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
4867         cuf=\E[%p1%dC, cuf1=\E[C$<2>, 
4868         cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, 
4869         cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I, 
4870         hts=\EH, ind=^J, kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, 
4871         kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, 
4872         rev=\E[7m$<2>, ri=\EM$<5>, rmam=\E[?7l, rmkx=\E[?1l\E>, 
4873         rmso=\E[m$<2>, rmul=\E[m$<2>, 
4874         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
4875         sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, 
4876         sgr0=\E[m$<2>, smam=\E[?7h, smkx=\E[?1h\E=, 
4877         smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, 
4878 qvt103-w|qume qvt103 132 cols, 
4879         cols#132, lines#24, 
4880         rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=qvt103, 
4881 qvt119+|qvt119p|qvt119|qume qvt 119 and 119PLUS terminals, 
4882         am, hs, mir, msgr, 
4883         cols#80, lines#24, xmc#0, 
4884         bel=^G, cbt=\EI, clear=\E*1, cnorm=\E.4, cr=^M, cub1=^H, 
4885         cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, 
4886         cuu1=^K, cvvis=\E.2, dch1=\EW, dl1=\ER, dsl=\Eg\Ef\r, ed=\Ey, 
4887         el=\Et, flash=\En0$<200>\En1, fsl=^M, home=^^, ht=^I, 
4888         hts=\E1, il1=\EE, ind=^J, is2=\EDF\EC\EG0\Er\E(\E%EX, 
4889         kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^AI\r, 
4890         kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
4891         kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
4892         mc4=\EA, mc5=\E@, ri=\EJ, rmir=\Er, smir=\Eq, smul=\EG8, 
4893         tbc=\E3, tsl=\Eg\Ef, use=adm+sgr, 
4894 qvt119+-25|qvt119p-25|QVT 119 PLUS with 25 data lines, 
4895         lines#25, use=qvt119+, 
4896 qvt119+-w|qvt119p-w|qvt119-w|QVT 119 and 119 PLUS in 132 column mode, 
4897         cols#132, 
4898         is2=\EDF\EC\EG0\Er\E(\E%\EX\En4, use=qvt119+, 
4899 qvt119+-25-w|qvt119p-25-w|qvt119-25-w|QVT 119 and 119 PLUS 132 by 25, 
4900         lines#25, use=qvt119+, 
4901 qvt203|qvt203+|qume qvt 203 Plus, 
4902         dch1=\E[P$<7>, dl1=\E[M$<99>, il1=\E[L$<99>, ind=\n$<30>, 
4903         ip=$<7>, kf0=\E[29~, kf1=\E[17~, kf2=\E[18~, kf3=\E[19~, 
4904         kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, 
4905         kf9=\E[28~, rmir=\E[4l, smir=\E[4h, use=qvt103, 
4906 qvt203-w|qvt203-w-am|qume qvt 203 PLUS in 132 cols (w/advanced video), 
4907         cols#132, lines#24, 
4908         rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=qvt203, 
4909 #
4910 #       Since a command is present for enabling 25 data lines,
4911 #       a specific terminfo entry may be generated for the 203.
4912 #       If one is desired for the QVT 119 PLUS then 25 lines must
4913 #       be selected in the status line (setup line 9).
4914 #
4915 qvt203-25|QVT 203 PLUS with 25 by 80 column mode, 
4916         cols#80, lines#25, 
4917         is2=\E[=40h\E[?3l, use=qvt203, 
4918 qvt203-25-w|QVT 203 PLUS with 25 by 132 columns, 
4919         cols#132, lines#25, 
4920         rs2=\E[?3h\E[=40h, use=qvt203, 
4921
4922 #### Televideo (tvi)
4923 #
4924 #       TeleVideo
4925 #       550 East Brokaw Road
4926 #       PO Box 49048    95161
4927 #       San Jose CA 95112
4928 #       Vox: (408)-954-8333
4929 #       Fax: (408)-954-0623
4930 #
4931 #
4932 # There are some tvi terminals that require incredible amounts of padding and
4933 # some that don't.  I'm assuming tvi912 and tvi920 are the old slow ones, and
4934 # tvi912b, tvi912c, tvi920b, tvi920c are the new ones that don't need padding.
4935 #
4936 # All of these terminals (912 to 970 and the tvipt) are discontinued.  Newer
4937 # Televideo terminals are ANSI and PC-ANSI compatible.
4938
4939 tvi803|televideo 803, 
4940         clear=\E*$<10>, use=tvi950, 
4941
4942 # Vanilla tvi910 -- W. Gish <cswarren@violet> 10/29/86
4943 # Switch settings are:
4944
4945 # S1  1 2 3 4
4946 #     D D D D  9600
4947 #     D D D U    50
4948 #     D D U D    75
4949 #     D D U U   110
4950 #     D U D D   135
4951 #     D U D U   150
4952 #     D U U D   300
4953 #     D U U U   600
4954 #     U D D D  1200
4955 #     U D D U  1800
4956 #     U D U D  2400
4957 #     U D U U  3600
4958 #     U U D D  4800
4959 #     U U D U  7200
4960 #     U U U D  9600
4961 #     U U U U 19200
4962
4963 # S1  5 6 7 8
4964 #     U D X D  7N1 (data bits, parity, stop bits) (X means ignored)
4965 #     U D X U  7N2
4966 #     U U D D  7O1
4967 #     U U D U  7O2
4968 #     U U U D  7E1
4969 #     U U U U  7E2
4970 #     D D X D  8N1
4971 #     D D X U  8N2
4972 #     D U D D  8O1
4973 #     D U U U  8E2
4974
4975 # S1  9  Autowrap
4976 #     U  on
4977 #     D  off
4978
4979 # S1 10  CR/LF
4980 #     U  do CR/LF when CR received
4981 #     D  do CR when CR received
4982
4983 # S2  1  Mode
4984 #     U  block
4985 #     D  conversational
4986
4987 # S2  2  Duplex
4988 #     U  half
4989 #     D  full
4990
4991 # S2  3  Hertz
4992 #     U  50
4993 #     D  60
4994
4995 # S2  4  Edit mode
4996 #     U  local
4997 #     D  duplex
4998
4999 # S2  5  Cursor type
5000 #     U  underline
5001 #     D  block
5002
5003 # S2  6  Cursor down key
5004 #     U  send ^J
5005 #     D  send ^V
5006
5007 # S2  7  Screen colour
5008 #     U  green on black
5009 #     D  black on green
5010
5011 # S2  8  DSR status (pin 6)
5012 #     U  disconnected
5013 #     D  connected
5014
5015 # S2  9  DCD status (pin 8)
5016 #     U  disconnected
5017 #     D  duplex
5018
5019 # S2 10  DTR status (pin 20)
5020 #     U  disconnected
5021 #     D  duplex
5022 # (tvi910: removed obsolete ":ma=^Kk^Ll^R^L:"; added <khome>, <cub1>, <cud1>,
5023 # <ind>, <hpa>, <vpa>, <am>, <msgr> from SCO entry -- esr)
5024 tvi910|televideo model 910, 
5025         OTbs, am, msgr, 
5026         cols#80, it#8, lines#24, xmc#1, 
5027         bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
5028         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EY, el=\ET, 
5029         home=\E=\001\001, hpa=\E]%p1%{32}%+%c, ht=^I, 
5030         if=/usr/share/tabset/stdcrt, ind=^J, invis@, kbs=^H, 
5031         kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^AI\r, kf1=^A@\r, 
5032         kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
5033         kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
5034         vpa=\E[%p1%{32}%+%c, use=adm+sgr, 
5035 # From: Alan R. Rogers <rogers%albany@csnet-relay>
5036 # as subsequently hacked over by someone at SCO
5037 # (tvi910+: removed obsolete ":ma=^K^P^L :" -- esr)
5038 #
5039 # Here are the 910+'s DIP switches (U = up, D = down, X = don't care):
5040 #
5041 # S1  1 2 3 4:
5042 #     D D D D  9600     D D D U    50     D D U D    75     D D U U   110
5043 #     D U D D   135     D U D U   150     D U U D   300     D U U U   600
5044 #     U D D D  1200     U D D U  1800     U D U D  2400     U D U U  3600
5045 #     U U D D  4800     U U D U  7200     U U U D  9600     U U U U 19200
5046 #
5047 # S1  5 6 7 8:
5048 #     U D X D  7N1     U D X U  7N2     U U D D  7O1     U U D U  7O2
5049 #     U U U D  7E1     U U U U  7E2     D D X D  8N1     D D X U  8N2
5050 #     D U D D  8O1     D U U U  8E2
5051
5052 # S1  9  Autowrap            (U = on, D = off)
5053 # S1 10  CR/LF               (U = CR/LF on CR received, D = CR on CR received)
5054 # S2  1  Mode                (U = block, D = conversational)
5055 # S2  2  Duplex              (U =  half, D = full)
5056 # S2  3  Hertz               (U = 50, D = 60)
5057 # S2  4  Edit mode           (U = local, D = duplex)
5058 # S2  5  Cursor type         (U = underline, D = block)
5059 # S2  6  Cursor down key     (U = send ^J, D = send ^V)
5060 # S2  7  Screen colour       (U = green on black, D = black on green)
5061 # S2  8  DSR status (pin 6)  (U = disconnected, D = connected)
5062 # S2  9  DCD status (pin 8)  (U = disconnected, D = connected)
5063 # S2 10  DTR status (pin 20) (U = disconnected, D = connected)
5064 #
5065 tvi910+|televideo 910+, 
5066         dch1=\EW, dl1=\ER$<33*>, home=^^, ich1=\EQ, il1=\EE$<33*>, 
5067         kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r, kf4=^AD\r, 
5068         kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, kf9=^AI\r, 
5069         ll=\E=7\s, use=tvi910, 
5070
5071 # (tvi912: removed obsolete ":ma=^K^P^L :", added  <flash> and
5072 # <khome> from BRL entry -- esr)
5073 tvi912|tvi914|tvi920|old televideo 912/914/920, 
5074         OTbs, OTpt, am, msgr, 
5075         cols#80, it#8, lines#24, xmc#1, 
5076         bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
5077         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
5078         dl1=\ER$<33*>, ed=\Ey, el=\ET, flash=\Eb$<50/>\Ed, home=^^, 
5079         ht=^I, hts=\E1, ich1=\EQ, if=/usr/share/tabset/stdcrt, 
5080         il1=\EE$<33*>, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, 
5081         kcuu1=^K, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, 
5082         kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, 
5083         kf9=^AH\r, khome=^^, rmso=\Ek, rmul=\Em, smso=\Ej, smul=\El, 
5084         tbc=\E3, 
5085 # the 912 has a <funct> key that's like shift: <funct>8 xmits "^A8\r".
5086 # The 920 has this plus real function keys that xmit different things.
5087 # Terminfo makes you use the funct key on the 912 but the real keys on the 920.
5088 tvi912c|tvi912b|new televideo 912, 
5089         dl1=\ER$<5*>, il1=\EE$<5*>, use=tvi912, 
5090 # set to page 1 when entering curses application (\E-17 )
5091 # reset to page 0 when exiting curses application (\E-07 )
5092 tvi912-2p|tvi920-2p|tvi-2p|televideo w/2 pages, 
5093         rmcup=\E-07\s, smcup=\E-17\s, use=tvi912, 
5094 # We got some new tvi912c terminals that act really weird on the regular 
5095 # termcap, so one of our gurus worked this up. Seems that cursor 
5096 # addressing is broken.
5097 tvi912cc|tvi912 at cowell college, 
5098         cup@, use=tvi912c, 
5099
5100 # Here are the switch settings for the tvi920c:
5101 #
5102 # S1 (Line), and S3 (Printer) baud rates -- put one, and only one, switch down:
5103 # 2: 9600       3: 4800         4: 2400         5: 1200
5104 # 6:  600       7:  300         8:  150         9:   75
5105 # 10: 110
5106 #
5107 # S2 UART/Terminal options:
5108 #               Up                      Down
5109 # 1:            Not used                Not allowed
5110 # 2:    Alternate character set   Standard character set
5111 # 3:        Full duplex             Half duplex
5112 # 4:        50 Hz refresh           60 Hz refresh
5113 # 5:          No parity              Send parity
5114 # 6:         2 stop bits             1 stop bit
5115 # 7:         8 data bits             7 data bits
5116 # 8:            Not used                Not allowed on Rev E or lower
5117 # 9:         Even parity             Odd parity
5118 # 10:       Steady cursor           Blinking cursor
5119 #       (On Rev E or lower, use W25 instead of switch 10.)
5120
5121 # S5 UART/Terminal options:
5122 #               Open                    Closed
5123 # 1:    P3-6 Not connected      DSR received on P3-6
5124 # 2:    P3-8 Not connected      DCD received on P3-8
5125 #
5126 # 3 Open, 4 Open:               P3-20 Not connected
5127 # 3 Open, 4 Closed:     DTR on when terminal is on
5128 # 3 Closed, 4 Open:     DTR is connected to RTS
5129 # 3 Closed, 4 Closed:   Not allowed
5130 #
5131 # 5 Closed:     HDX printer (hardware control) Rev. K with extension port off,
5132 #               all data transmitted out of the modem port (P3) will also be
5133 #               transmitted out of the printer port (P4).
5134 #
5135 # 6 Open, 7 Open:               Not allowed
5136 # 6 Open, 7 Closed:     20ma current loop input
5137 # 6 Closed, 7 Open:     RS232 input
5138 # 6 Closed, 7 Closed:   Not allowed
5139 #
5140 # Jumper options:
5141 # If the jumper is installed, the effect will occur (the next time the terminal
5142 # is switched on).
5143 #
5144 # S4/W31:       Enables automatic LF upon receipt of CR from
5145 #               remote or keyboard.
5146 # S4/W32:       Enables transmission of EOT at the end of Send.  If not 
5147 #               installed, a carriage return is sent.
5148 # S4/W33:       Disables automatic carriage return in column 80.
5149 # S4/W34:       Selects Page Print Mode as initial condition.  If not 
5150 #               installed, Extension Mode is selected.
5151 #
5152 tvi920b|tvi920c|new televideo 920, 
5153         dl1=\ER$<5*>, il1=\EE$<5*>, kf0=^AI\r, kf1=^A@\r, 
5154         kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
5155         kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, use=tvi912, 
5156
5157 # Televideo 921 and variants
5158 # From: Tim Theisen <tim@cs.wisc.edu> 22 Sept 1995
5159 # (tvi921: removed :ko=bt: before translation, I see no backtab cap;
5160 # also added empty <acsc> to suppress tic warning -- esr)
5161 tvi921|televideo model 921 with sysline same as page & real vi function, 
5162         OTbs, OTpt, am, hs, xenl, xhp, 
5163         cols#80, lines#24, xmc#0, 
5164         acsc=, clear=^Z, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V, cuf1=^L, 
5165         cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<3/>, cuu1=^K, 
5166         cvvis=\E.2, dch1=\EW, dl1=\ER$<1*/>, dsl=\Ef\r\Eg, ed=\EY, 
5167         el=\ET, fsl=\Eg, home=^^, ht=^I, ich1=\EQ, 
5168         if=/usr/share/tabset/stdcrt, il1=\EE, ind=^J, invis@, 
5169         is2=\El\E"\EF1\E.3\017\EA\E<, kbs=^H, kclr=^Z, kcub1=^H, 
5170         kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER$<1*/>, 
5171         ked=\EY, kel=\ET, kich1=\EQ, kil1=\EE, nel=^M^J, rmacs=\E%, 
5172         rmir=, smacs=\E$, smir=, tsl=\Ef\EG0, use=adm+sgr, 
5173 # without the beeper
5174 # (tvi92B: removed :ko=bt: before translation, I see no backtab cap;
5175 # also added empty <acsc> to suppress tic warning -- esr)
5176 tvi92B|televideo model 921 with sysline same as page & real vi function & no beeper, 
5177         am, hs, xenl, xhp, 
5178         cols#80, lines#24, xmc#0, 
5179         acsc=, clear=^Z, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V, cuf1=^L, 
5180         cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<3/>, cuu1=^K, 
5181         cvvis=\E.2, dch1=\EW, dl1=\ER$<1*/>, dsl=\Ef\r\Eg, ed=\EY, 
5182         el=\ET, flash=\Eb$<200/>\Ed, fsl=\Eg, home=^^, ht=^I, 
5183         ich1=\EQ, if=/usr/share/tabset/stdcrt, il1=\EE, ind=^J, 
5184         invis@, is2=\El\E"\EF1\E.3\017\EA\E<, kbs=^H, kclr=^Z, 
5185         kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, 
5186         kdl1=\ER$<1*/>, ked=\EY, kel=\ET, kich1=\EQ, kil1=\EE, 
5187         nel=^M^J, rmacs=\E%, smacs=\E$, tsl=\Ef\EG0, use=adm+sgr, 
5188 # (tvi92D: removed :ko=bt: before translation, I see no backtab cap -- esr)
5189 tvi92D|tvi92B with DTR instead of XON/XOFF & better padding, 
5190         dl1=\ER$<2*/>, il1=\EE$<2*/>, 
5191         is2=\El\E"\EF1\E.3\016\EA\E<, kdl1=\ER$<2*/>, 
5192         kil1=\EE$<2*/>, use=tvi92B, 
5193
5194 # (tvi924: This used to have <dsl=\Es0>, <fsl=\031>.  I put the new strings
5195 # in from a BSD termcap file because it looks like they do something the
5196 # old ones skip -- esr)
5197 tvi924|televideo tvi924, 
5198         am, bw, hs, in, mir, msgr, xenl, xon, 
5199         cols#80, it#8, lines#24, wsl#80, xmc#0, 
5200         bel=^G, blink=\EG2, cbt=\EI, civis=\E.0, clear=\E*0, 
5201         cnorm=\E.3, cr=^M, csr=\E_%p1%{32}%+%c%p2%{32}%+%c, 
5202         cub1=^H, cud1=^V, cuf1=^L, 
5203         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, cvvis=\E.1, 
5204         dch1=\EW, dl1=\ER, dsl=\Es0\Ef\031, ed=\Ey, el=\Et, 
5205         flash=\Eb$<200>\Ed, fsl=\031\Es1, home=^^, ht=^I, hts=\E1, 
5206         ich1=\EQ, if=/usr/share/tabset/stdcrt, il1=\EE, ind=^J, 
5207         invis@, is1=\017\E%\E'\E(\EDF\EC\EG0\EN0\Es0\Ev0, 
5208         kbs=^H, kclr=\E*0, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, 
5209         kdch1=\EW, kdl1=\ER, ked=\Ey, kel=\Et, kf0=^A@\r, kf1=^AA\r, 
5210         kf10=^AJ\r, kf11=^AK\r, kf12=^AL\r, kf13=^AM\r, kf14=^AN\r, 
5211         kf15=^AO\r, kf2=^AB\r, kf3=^AC\r, kf4=^AD\r, kf5=^AE\r, 
5212         kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, kf9=^AI\r, khome=^^, 
5213         kich1=\EQ, kil1=\EE, lf0=F1, lf1=F2, lf10=F11, lf2=F3, lf3=F4, 
5214         lf4=F5, lf5=F6, lf6=F7, lf7=F8, lf8=F9, lf9=F10, 
5215         pfkey=\E|%p1%{49}%+%c%p2%s\031, ri=\Ej, tbc=\E3, tsl=\Ef, 
5216         use=adm+sgr, 
5217
5218 # TVI925 DIP switches.  In each of these, D = Down and U = Up,
5219 #
5220 # Here are the settings for the external (baud) switches (S1):
5221 #
5222 #             Position          Baud
5223 # 7     8       9       10              [Printer]
5224 # 1     2       3       4               [Main RS232]
5225 # -----------------------------------------------------
5226 # D     D       D       D       9600
5227 # D     D       D       U         50
5228 # D     D       U       D         75
5229 # D     D       U       U        110
5230 # D     U       D       D        135
5231 # D     U       D       U        150
5232 # D     U       U       D        300
5233 # D     U       U       U        600
5234 # U     D       D       D       1200
5235 # U     D       D       U       1800
5236 # U     D       U       D       2400
5237 # U     D       U       U       3600
5238 # U     U       D       D       4800
5239 # U     U       D       U       7200
5240 # U     U       U       D       9600
5241 # U     U       U       U       19200
5242
5243
5244 # Settings for word length and stop-bits (S1)
5245 #
5246 #  Position     Description
5247 # 5     6       
5248 # ---------------------------
5249 # U     -       7-bit word
5250 # D     -       8-bit word
5251 # -     U       2 stop bits
5252 # -     D       1 stop bit
5253
5254
5255 # S2 (external) settings
5256 #
5257 # Position      Up      Dn      Description
5258 # --------------------------------------------
5259 # 1             X               Local edit
5260 #                       X       Duplex edit (transmit editing keys)
5261 # --------------------------------------------
5262 # 2             X               912/920 emulation
5263 #                       X       925
5264 # --------------------------------------------
5265 # 3                     X
5266 # 4                     X       No parity
5267 # 5                     X       
5268 # --------------------------------------------
5269 # 3                     X
5270 # 4                     X       Odd parity
5271 # 5             X       
5272 # --------------------------------------------
5273 # 3                     X
5274 # 4             X               Even parity
5275 # 5             X       
5276 # --------------------------------------------
5277 # 3             X       
5278 # 4                     X       Mark parity
5279 # 5             X               
5280 # --------------------------------------------
5281 # 3             X
5282 # 4             X               Space parity
5283 # 5             X
5284 # --------------------------------------------
5285 # 6             X               White on black display
5286 #                       X       Black on white display
5287 # --------------------------------------------
5288 # 7                     X       Half Duplex
5289 # 8                     X
5290 # --------------------------------------------
5291 # 7             X               Full Duplex
5292 # 8                     X       
5293 # --------------------------------------------
5294 # 7                     X       Block mode
5295 # 8             X       
5296 # --------------------------------------------
5297 # 9                     X       50 Hz
5298 #               X               60 Hz
5299 # --------------------------------------------
5300 # 10            X               CR/LF (Auto LF)
5301 #                       X       CR only
5302
5303 # S3 (internal switch) settings:
5304
5305 # Position      Up      Dn      Description
5306 # --------------------------------------------
5307 # 1             X               Keyclick off 
5308 #                       X       Keyclick on
5309 # --------------------------------------------
5310 # 2                     X       English
5311 # 3                     X       
5312 # --------------------------------------------
5313 # 2                     X       German
5314 # 3             X               
5315 # --------------------------------------------
5316 # 2             X               French
5317 # 3                     X       
5318 # --------------------------------------------
5319 # 2             X               Spanish
5320 # 3             X       
5321 # --------------------------------------------
5322 # 4                     X       Blinking block cursor
5323 # 5                     X       
5324 # --------------------------------------------
5325 # 4                     X       Blinking underline cursor
5326 # 5             X               
5327 # --------------------------------------------
5328 # 4             X               Steady block cursor
5329 # 5                     X       
5330 # --------------------------------------------
5331 # 4             X               Steady underline cursor
5332 # 5             X       
5333 # --------------------------------------------
5334 # 6             X               Screen blanking timer (ON)
5335 #                       X       Screen blanking timer (OFF)
5336 # --------------------------------------------
5337 # 7             X               Page attributes
5338 #                       X       Line attributes
5339 # --------------------------------------------
5340 # 8             X               DCD disconnected
5341 #                       X       DCD connected
5342 # --------------------------------------------
5343 # 9             X               DSR disconnected
5344 #                       X       DSR connected
5345 # --------------------------------------------
5346 # 10            X               DTR Disconnected
5347 #                       X       DTR connected
5348 # --------------------------------------------
5349 #
5350 # (tvi925: BSD has <clear=\E*>.  I got <is2> and <ri> from there -- esr)
5351 tvi925|televideo 925, 
5352         OTbs, am, bw, hs, ul, 
5353         cols#80, lines#24, xmc#1, 
5354         bel=^G, cbt=\EI, clear=^Z, cnorm=\E.4, cr=^M, cub1=^H, cud1=^V, 
5355         cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
5356         cvvis=\E.2, dch1=\EW, dl1=\ER, dsl=\Eh, ed=\EY, el=\ET, 
5357         flash=\Eb$<200>\Ed, fsl=^M\Eg, home=^^, ht=^I, hts=\E1, 
5358         ich1=\EQ, il1=\EE, ind=^J, invis@, is2=\El\E", kbs=^H, kclr=^Z, 
5359         kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, 
5360         ked=\EY, kel=\ET, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, 
5361         kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, 
5362         kf9=^AH\r, khome=^^, kich1=\EQ, kil1=\EE, ri=\Ej, tbc=\E3, 
5363         tsl=\Eh\Ef, use=adm+sgr, 
5364 # TeleVideo 925 from Mitch Bradley <sun!wmb> via BRL
5365 # to avoid "magic cookie" standout glitch:
5366 tvi925-hi|TeleVideo Model 925 with half intensity standout mode, 
5367         xmc@, 
5368         kbs=^H, kcub1=^H, kcud1=^J, rmso=\E(, smso=\E), use=tvi925, 
5369
5370 # From: Todd Litwin <litwin@litwin.jpl.nasa.gov> 28 May 1993
5371 # Originally Tim Curry, Univ. of Central Fla., <duke!ucf-cs!tim> 5/21/82
5372 # for additional capabilities, 
5373 # The following tvi descriptions from B:pjphar and virus!mike
5374 # is for all 950s.  It sets the following attributes:
5375 # full duplex (\EDF)            write protect off (\E()
5376 # conversation mode (\EC)       graphics mode off (\E%)
5377 # white on black (\Ed)          auto page flip off (\Ew)
5378 # turn off status line (\Eg)    clear status line (\Ef\r)
5379 # normal video (\E0)            monitor mode off (\EX or \Eu)
5380 # edit mode (\Er)               load blank char to space (\Ee\040)
5381 # line edit mode (\EO)          enable buffer control (^O)
5382 # protect mode off (\E\047)     duplex edit keys (\El)
5383 # program unshifted send key to send line all (\E016)
5384 # program shifted send key to send line unprotected (\E004)
5385 # set the following to nulls:
5386 #       field delimiter (\Ex0\200\200)
5387 #       line delimiter (\Ex1\200\200)
5388 #       start-protected field delimiter (\Ex2\200\200)
5389 #       end-protected field delimiter (\Ex3\200\200)
5390 # set end of text delimiter to carriage return/null (\Ex4\r\200)
5391
5392 #                     TVI 950 Switch Setting Reference Charts
5393
5394 #                                     TABLE 1:
5395
5396 #      S1     1     2     3     4     5     6     7     8     9    10
5397 #          +-----------------------+-----+-----+-----------------------+
5398 #          | Computer Baud Rate    |Data |Stop | Printer Baud Rate     |
5399 #          |                       |Bits |Bits |                       |
5400 #   +------+-----------------------+-----+-----+-----------------------+
5401 #   |  Up  |        See            |  7  |  2  |        See            |
5402 #   +------+-----------------------+-----+-----+-----------------------+
5403 #   | Down |      TABLE 2          |  8  |  1  |      TABLE 2          |
5404 #   +------+-----------------------+-----+-----+-----------------------+
5405
5406
5407 #      S2     1     2     3     4     5     6     7     8     9    10
5408 #          +-----+-----+-----------------+-----+-----------+-----+-----+
5409 #          |Edit |Cursr|    Parity       |Video|Transmiss'n| Hz  |Click|
5410 #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
5411 #   |  Up  | Dplx|Blink|      See        |GonBk|   See     | 60  | Off |
5412 #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
5413 #   | Down |Local|St'dy|    TABLE 3      |BkonG|  CHART    | 50  | On  |
5414 #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
5415 #  
5416 #                                    TABLE 2:
5417
5418 #             +-----------+-----+-----+-----+-----+-----------+
5419 #             | Display   |  1  |  2  |  3  |  4  |   Baud    |
5420 #             +-----------+-----+-----+-----+-----+           |
5421 #             | Printer   |  7  |  8  |  9  | 10  |   Rate    |
5422 #             +-----------+-----+-----+-----+-----+-----------+
5423 #                         |  D  |  D  |  D  |  D  |   9600    |
5424 #                         |  U  |  D  |  D  |  D  |     50    |
5425 #                         |  D  |  U  |  D  |  D  |     75    |
5426 #                         |  U  |  U  |  D  |  D  |    110    |
5427 #                         |  D  |  D  |  U  |  D  |    135    |
5428 #                         |  U  |  D  |  U  |  D  |    150    |
5429 #                         |  D  |  U  |  U  |  D  |    300    |
5430 #                         |  U  |  U  |  U  |  D  |    600    |
5431 #                         |  D  |  D  |  D  |  U  |   1200    |
5432 #                         |  U  |  D  |  D  |  U  |   1800    |
5433 #                         |  D  |  U  |  D  |  U  |   2400    |
5434 #                         |  U  |  U  |  D  |  U  |   3600    |
5435 #                         |  D  |  D  |  U  |  U  |   4800    |
5436 #                         |  U  |  D  |  U  |  U  |   7200    |
5437 #                         |  D  |  U  |  U  |  U  |   9600    |
5438 #                         |  U  |  U  |  U  |  U  |  19200    |
5439 #                         +-----+-----+-----+-----+-----------+
5440
5441 #                                    TABLE 3:
5442 #                         +-----+-----+-----+-----------+
5443 #                         |  3  |  4  |  5  |   Parity  |
5444 #                         +-----+-----+-----+-----------+
5445 #                         |  X  |  X  |  D  |    None   |
5446 #                         |  D  |  D  |  U  |     Odd   |
5447 #                         |  D  |  U  |  U  |    Even   |
5448 #                         |  U  |  D  |  U  |    Mark   |
5449 #                         |  U  |  U  |  U  |   Space   |
5450 #                         +-----+-----+-----+-----------+
5451 #                                 X = don't care
5452
5453 #                                     CHART:
5454 #                         +-----+-----+-----------------+
5455 #                         |  7  |  8  | Communication   |
5456 #                         +-----+-----+-----------------+
5457 #                         |  D  |  D  |  Half Duplex    |
5458 #                         |  D  |  U  |  Full Duplex    |
5459 #                         |  U  |  D  |     Block       |
5460 #                         |  U  |  U  |     Local       |
5461 #                         +-----+-----+-----------------+
5462
5463 # (tvi950: early versions had obsolete ":ma=^Vj^Kk^Hh^Ll^^H:". 
5464 # I also inserted <ich1> and <kich1>; the :ko: string indicated that <ich> 
5465 # should be present and all tvi native modes use the same string for this.
5466 # Finally, note that BSD has cud1=^V. -- esr) 
5467 tvi950|televideo 950, 
5468         OTbs, am, hs, mir, msgr, xenl, xon, 
5469         cols#80, it#8, lines#24, xmc#1, 
5470         acsc=b\011c\014d\re\ni\013, bel=^G, cbt=\EI, clear=\E*, 
5471         cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
5472         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
5473         dl1=\ER, dsl=\Eg\Ef\r, ed=\Ey, el=\Et, flash=\Eb$<200/>\Ed, 
5474         fsl=^M, home=^^, ht=^I, hts=\E1, ich1=\EQ, il1=\EE, ind=^J, 
5475         invis@, 
5476         is2=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\El\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0\Ef\r, 
5477         kbs=^H, kcbt=\EI, kclr=\E*, kcub1=^H, kcud1=^V, kcuf1=^L, 
5478         kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\Ey, kel=\Et, kf0=^A0\r, 
5479         kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
5480         kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
5481         kich1=\EQ, kil1=\EE, mc4=\Ea, mc5=\E`, ri=\Ej, rmacs=^X, 
5482         rmir=\Er, smacs=^U, smir=\Eq, tbc=\E3, tsl=\Eg\Ef, 
5483         use=adm+sgr, 
5484 #
5485 # is for 950 with two pages adds the following:
5486 #       set 48 line page (\E\\2)
5487 #       place cursor at page 0, line 24, column 1 (\E-07 )
5488 #       set local (no send) edit keys (\Ek)
5489 #
5490 # two page 950 adds the following:
5491 #       when entering ex, set 24 line page (\E\\1)
5492 #       when exiting ex, reset 48 line page (\E\\2)
5493 #                        place cursor at 0,24,1 (\E-07 )
5494 #       set duplex (send) edit keys (\El) when entering vi
5495 #       set local (no send) edit keys (\Ek) when exiting vi
5496 #
5497 tvi950-2p|televideo950 w/2 pages, 
5498         is2=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0\E\\2\E-07 \011, 
5499         rmcup=\E\\2\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s, 
5500         smkx=\El, use=tvi950, 
5501 #
5502 # is for 950 with four pages adds the following:
5503 #       set 96 line page (\E\\3)
5504 #       place cursor at page 0, line 24, column 1 (\E-07 )
5505 #
5506 # four page 950 adds the following:
5507 #       when entering ex, set 24 line page (\E\\1)
5508 #       when exiting ex, reset 96 line page (\E\\3)
5509 #                        place cursor at 0,24,1 (\E-07 )
5510 #
5511 tvi950-4p|televideo950 w/4 pages, 
5512         is2=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0\E\\3\E-07 \011, 
5513         rmcup=\E\\3\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s, 
5514         smkx=\El, use=tvi950, 
5515 #
5516 # <is2> for reverse video 950 changes the following:
5517 #       set reverse video (\Ed)
5518 #
5519 # set vb accordingly (\Ed ...delay... \Eb)
5520 #
5521 tvi950-rv|televideo950 rev video, 
5522         flash=\Ed$<200/>\Eb, 
5523         is2=\EDF\EC\Eb\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\El\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0, 
5524         use=tvi950, 
5525
5526 # tvi950-rv-2p uses the appropriate entries from 950-2p and 950-rv
5527 tvi950-rv-2p|televideo950 rev video w/2 pages, 
5528         flash=\Ed$<200/>\Eb, 
5529         is2=\EDF\EC\Eb\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0\E\\2\E-07\s, 
5530         rmcup=\E\\2\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s, 
5531         smkx=\El, use=tvi950, 
5532
5533 # tvi950-rv uses the appropriate entries from 950-4p and 950-rv
5534 tvi950-rv-4p|televideo950 rev video w/4 pages, 
5535         flash=\Ed$<200/>\Eb, 
5536         is2=\EDF\EC\Eb\EG0\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0\E\\3\E-07\s, 
5537         rmcup=\E\\3\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s, 
5538         smkx=\El, use=tvi950, 
5539 # From: Andreas Stolcke <stolcke@icsi.berkeley.edu>
5540 # (tvi955: removed obsolete ":ma:=^Vj^Kk^Hh^Ll^^H";
5541 # removed incorrect (and overridden) ":do=^J:"; fixed broken continuations in
5542 # the :rs: string, inserted the <ich> implied by the termcap :ko: string.  Note
5543 # the :ko: string had :cl: in it, which means that one of the original
5544 # <clear=\E*>, <kclr=\EY> had to be wrong; set <kclr=\E*> because that's what
5545 # the 950 has.   Finally, corrected the <kel> string to match the 950 and what
5546 # ko implies -- esr)
5547 # If the BSD termcap file was right, <cup=\E=%p1%{32}%+%c%p2%{32}%+%c> would
5548 # also work.
5549 tvi955|televideo 955, 
5550         OTbs, mc5i, msgr@, 
5551         it#8, xmc@, 
5552         acsc=0_`RjHkGlFmEnIoPqKsQtMuLvOwNxJ, blink=\EG2, 
5553         civis=\E.0, cnorm=\E.2, cud1=^V, cup=\E[%i%p1%d;%p2%dH, 
5554         cvvis=\E.1, dim=\E[=5h, ind@, invis=\EG1, 
5555         is2=\E[=3l\EF1\Ed\EG0\E[=5l\E%\El, kctab=\E2, khts=\E1, 
5556         knp=\EK, kpp=\EJ, krmir=\EQ, ktbc=\E3, mc0=\EP, rmacs=\E%, 
5557         rmam=\E[=7l, rmxon=^N, 
5558         rs1=\EDF\EC\Eg\Er\EO\E'\E(\Ew\EX\Ee \017\E0P\E6\0\E0p\E4\0\Ef\r, 
5559         sgr0=\EG0\E[=5l, smacs=\E$, smam=\E[=7h, smxon=^O, 
5560         use=tvi950, 
5561 tvi955-w|955-w|televideo955 w/132 cols, 
5562         cols#132, 
5563         is2=\E[=3h\EF1\Ed\EG0\E[=5l\E%\El, use=tvi955, 
5564 # use half-intensity as normal mode, full intensity as <bold>
5565 tvi955-hb|955-hb|televideo955 half-bright, 
5566         bold=\E[=5l, dim@, is2=\E[=3l\EF1\Ed\EG0\E[=5h\E%\El, 
5567         sgr0=\EG0\E[=5h, use=tvi955, 
5568 # From: Humberto Appleton <beto@cs.utexas.edu>, 880521 UT Austin
5569 # (tvi970: removed ":sg#0:"; removed <rmso>=\E[m, <rmul>=\E[m;
5570 # added <am>/<csr>/<home>/<hpa>/<vpa>/<smcup>/<rmcup> from BRL.
5571 # According to BRL we could have <rmkx>=\E>, <smkx>=\E= but I'm not sure what
5572 # it does to the function keys.  I deduced <rmam>/<smam>.
5573 # also added empty <acsc> to suppress tic warning,  -- esr)
5574 tvi970|televideo 970, 
5575         OTbs, OTpt, am, da, db, mir, msgr, 
5576         cols#80, it#8, lines#24, 
5577         acsc=, cbt=\E[Z, clear=\E[H\E[2J, csr=\E[%i%p1%d;%p2%dr, 
5578         cub1=^H, cud1=\ED, cuf1=\E[C, cup=\E[%i%p1%d;%p2%df, 
5579         cuu1=\EM, cvvis=\E[1Q, dch1=\E[P, dl1=\E[M, dsl=\Eg\Ef\r, 
5580         ed=\E[J, el=\E[K, flash=\E[5m$<200/>\E[m, home=\E[H, 
5581         hpa=\E[%i%p1%dG, ht=^I, il1=\E[L, 
5582         is2=\E<\E[?21l\E[19h\E[1Q\E[10l\E[7l\E[H\E[2J, 
5583         kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
5584         kf1=\E?a, kf2=\E?b, kf3=\E?c, kf4=\E?d, kf5=\E?e, kf6=\E?f, 
5585         kf7=\E?g, kf8=\E?h, kf9=\E?i, khome=\E[H, ri=\EM, rmacs=\E(B, 
5586         rmam=\E[?7h, rmcup=, rmir=\E[4l, rmso=\E[m, rmul=\E[m, 
5587         sgr0=\E[m, smacs=\E(B, smam=\E[?7l, 
5588         smcup=\E[?20l\E[?7h\E[1Q, smir=\E[4h, smso=\E[7m, 
5589         smul=\E[4m, vpa=\E[%i%p1%dd, 
5590 tvi970-vb|televideo 970 with visual bell, 
5591         flash=\E[?5h\0\0\0\0\0\0\0\0\0\0\0\0\0\E[?5l, 
5592         use=tvi970, 
5593 tvi970-2p|televideo 970 with using 2 pages of memory, 
5594         rmcup=\E[H\E[J\E[V, smcup=\E[U\E[?20l\E[?7h\E[1Q, 
5595         use=tvi970, 
5596 # Works with vi and rogue.  NOTE: Esc v sets autowrap on, Esc u sets 80 chars
5597 # per line (rather than 40), Esc K chooses the normal character set.  Not sure
5598 # padding is needed, but adapted from the tvi920c termcap.  The <smso> and 
5599 # <smul> strings are klutzy, but at least use no screen space.
5600 # (tvipt: removed obsolete ":ma=^Kk^Ll^R^L:".  I wish we knew <rmam>,
5601 # its absence means <smam>=\Ev isn't safe to use. -- esr)
5602 # From: Gene Rochlin <armsis@amber.berkeley.edu> 9/19/84. 
5603 # The <ed>/<kf0>/<kf1>/<khome>/<mc4>, and <mc5> caps are from BRL, which says:
5604 # F1 and F2 should be programmed as ^A and ^B; required for UNIFY.
5605 tvipt|televideo personal terminal, 
5606         OTbs, am, 
5607         cols#80, lines#24, 
5608         cbt=\EI, clear=^Z, cub1=^H, cuf1=^L, 
5609         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dl1=\ER$<5*>, 
5610         ed=\EY, el=\ET, home=^^, if=/usr/share/tabset/stdcrt, 
5611         il1=\EE$<5*>, is2=\Ev\Eu\EK, kbs=^H, kcub1=^H, kcud1=^J, 
5612         kcuf1=^L, kcuu1=^K, kf0=^A, kf1=^B, khome=^^, mc4=^T, mc5=^R, 
5613         rmso=\EF, rmul=\EF, smso=\EG1@A\EH, smul=\EG1B@\EH, 
5614 # From: Nathan Peterson <nathan@sco.com>, 03 Sep 1996
5615 tvi9065|televideo 9065, 
5616         am, bw, chts, hs, mc5i, mir, msgr, xenl, xon, 
5617         cols#80, it#8, lh#1, lines#25, lm#0, lw#9, ma#4, nlab#8, vt#0, 
5618         wnum#0, wsl#30, 
5619         acsc='r0_jhkglfmeniopqksqtmulvownxj, bel=^G, 
5620         blink=\EG2, bold=\EG\,, cbt=\EI, civis=\E.0, clear=^Z, 
5621         cnorm=\E.3, cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, 
5622         cub1=^H, cud=\E[%p1%dB, cud1=^V, cuf=\E[%p1%dC, cuf1=^L, 
5623         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu=\E[%p1%dA, 
5624         cuu1=^K, cvvis=\E.2, dch=\E[%p1%dP, dch1=\EW, dim=\EGp, 
5625         dl=\E[%p1%dM, dl1=\ER, dsl=\E_30\r, ech=\E[%p1%d@, ed=\EY, 
5626         el=\ET, flash=\Eb$<15>\Ed, fsl=^M, home=^^, ht=^I, hts=\E1, 
5627         ich=\E[%p1%d@, if=/usr/share/tabset/stdcrt, 
5628         il=\E[%p1%dL, il1=\EE, ind=^J, indn=\E[%p1%dS, invis=\EG1, 
5629         ip=$<3>, 
5630         is1=\E"\E%\E'\E(\EG@\EO\EX\E[=5l\E[=6l\E[=7h\Ed\Er, 
5631         is2=\EF2\EG0\E\\L, is3=\E<\E[=4l\E[=8h, kHOM=\E\s\s\s, 
5632         kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, 
5633         kdch1=\EW, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, kf12=^AK\r, 
5634         kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
5635         kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, ll=\E[25;1H, 
5636         mc0=\E[0;0i, mc4=\Ea, mc5=\E`, nel=^M^J, 
5637         pfkey=\E|%p1%{48}%+%c3%p2%s\031, 
5638         pfloc=\E|%p1%{48}%+%c2%p2%s\031, 
5639         pfx=\E|%p1%{48}%+%c1%p2%s\031, 
5640         pln=\E_%p1%{63}%+%c%p2%s\r, prot=\E&, 
5641         rep=\E[%p2%db%p1%c, rev=\EG4, 
5642         rf=/usr/share/tabset/stdcrt, ri=\Ej, rin=\E[%p1%dT, 
5643         rmacs=\E%, rmam=\E[=7l, rmcup=\E.3\Er\E[1;25r\E[25;0H, 
5644         rmdc=\0, rmir=\Er, rmln=\E[4;1v, rmso=\EG0, rmul=\EG0, 
5645         rmxon=^N, rs1=\EC\EDF\E[0;0v\E[8;1v\E[=65l, 
5646         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\0\0\Ex1\0\0\Ex2\0\0\Ex3\0\0\Ex4\0\0\E1, 
5647         rs3=\E[=19h\E.3\E9\E0O\0\0\0\0\0\E0o\0\0\0\0\0\E0J\177\0\0\0\0, 
5648         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%%%;, 
5649         sgr0=\EG0, smacs=\E$, smam=\E=7h, smcup=\E.2, smdc=\Er, 
5650         smir=\Eq, smln=\E[4;2v, smso=\EGt, smul=\EG8, smxon=^O, 
5651         tbc=\E3, tsl=\E[4;1v\E_30, uc=\EG8\EG0, 
5652
5653 #### Visual (vi)
5654 #
5655 # In September 1993, Visual Technology of Westboro, Massachusetts,
5656 # merged with White Pine Software of Nashua, New Hampshire.
5657 #
5658 # White Pine Software may be contacted at +1 603/886-9050.
5659 # Or visit White Pine on the World Wide Web at URL http://www.wpine.com.
5660 #
5661
5662 # Visual 50 from Beau Shekita, BTL-Whippany <whuxlb!ejs>
5663 # Recently I hacked together the following termcap for Visual
5664 # Technology's Visual 50 terminal. It's a slight modification of
5665 # the vt52 termcap. 
5666 # It's intended to run when the Visual 50 is in vt52 emulation mode
5667 # (I know what you're thinking; if it's emulating a vt52, then why
5668 # another termcap? Well, it turns out that the Visual 50 can handle
5669 # <dl1> and db(?) among other things, which the vt52 can't)
5670 # The termcap works OK for the most part. The only problem is on
5671 # character inserts. The whole line gets painfully redrawn for each
5672 # character typed. Any suggestions?
5673 # Beau's entry is combined with the vi50 entry from University of Wisconsin.
5674 # Note especially the <il1> function.  <kf4>-<kf6> are really l4-l6 in
5675 # disguise; <kf7>-<kf9> are really l1-l3.
5676 vi50|visual 50, 
5677         OTbs, OTpt, am, da, db, msgr, 
5678         cols#80, it#8, lines#24, 
5679         OTnl=^J, bel=^G, cbt=\Ez$<4/>, clear=\EH\EJ, cr=^M, cub1=^H, 
5680         cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
5681         cuu1=\EA, dl1=\EM$<3*/>, ed=\EJ, el=\EK$<16/>, home=\EH, 
5682         ht=^I, il1=\EL, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, 
5683         kcuf1=\EC, kcuu1=\EA, kf1=\EP, kf2=\EQ, kf3=\ER, kf4=\EV, 
5684         kf5=\EE, kf6=\E], kf7=\EL, kf8=\Ev, kf9=\EM, khome=\EH, 
5685         nel=^M^J, ri=\EI, rmso=\ET, rmul=\EW, smso=\EU, smul=\ES, 
5686 # this one was BSD & SCO's vi50
5687 vi50adm|visual 50 in adm3a mode, 
5688         am, msgr, 
5689         cols#80, it#8, lines#24, 
5690         bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
5691         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dl1=\EM, 
5692         ed=\Ek, el=\EK, home=\EH, ht=^I, il1=\EL, ind=^J, kbs=^H, 
5693         kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\EH, 
5694         rmso=\ET, smso=\EU, 
5695 # From: Jeff Siegal <jbs@quiotix.com>
5696 vi55|Visual 55, 
5697         OTbs, am, mir, msgr, 
5698         cols#80, it#8, lines#24, 
5699         clear=\Ev, csr=\E_%p1%{65}%+%c%p2%{65}%+%c, cub1=^H, 
5700         cud1=^J, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
5701         cuu1=\EA, dch1=\Ew, dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, 
5702         il1=\EL, is2=\Ev\E_AX\Eb\EW\E9P\ET, kbs=^H, kcub1=\ED, 
5703         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, ri=\EI, rmir=\Eb, rmso=\ET, 
5704         smir=\Ea, smso=\EU, 
5705
5706 # Visual 200 from BRL
5707 # The following switch settings are assumed for normal operation:
5708 #       FULL_DUPLEX             SCROLL                  CR
5709 #       AUTO_NEW_LINE_ON        VISUAL_200_EMULATION_MODE
5710 # Other switches may be set for operator convenience or communication
5711 # requirements.
5712 # Character insertion is kludged in order to get around the "beep" misfeature.
5713 # (This cap is commented out because <smir>/<rmir> is more efficient -- esr)
5714 # Supposedly "4*" delays should be used for <il1>, <ed>, <clear>, <dch1>,
5715 # and <dl1> strings, but we seem to get along fine without them.
5716 vi200|visual 200, 
5717         OTbs, OTpt, am, mir, msgr, 
5718         OTkn#10, cols#80, it#8, lines#24, 
5719         acsc=, bel=^G, cbt=\Ez, clear=\Ev, cnorm=\Ec, cr=^M, cub1=^H, 
5720         cud1=^J, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
5721         cuu1=\EA, cvvis=\Ed, dch1=\EO, dim=\E4, dl1=\EM, ed=\Ey, 
5722         el=\Ex, home=\EH, ht=^I, hts=\E1, il1=\EL, ind=^J, invis=\Ea, 
5723         kbs=^H, kclr=\Ev, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
5724         kcuu1=\EA, kdch1=\EO, kdl1=\EM, ked=\EJ, kel=\Et, kf0=\E?p, 
5725         kf1=\E?q, kf2=\E?r, kf3=\E?s, kf4=\E?t, kf5=\E?u, kf6=\E?v, 
5726         kf7=\E?w, kf8=\E?x, kf9=\E?y, khome=\EH, khts=\E1, kich1=\Ei, 
5727         kil1=\EL, krmir=\Ej, mc0=\EH\E], mc4=\EX, mc5=\EW, ri=\EI, 
5728         rmacs=\EG, rmkx=\E>, rmso=\E3, 
5729         rs1=\E3\Eb\Ej\E\El\EG\Ec\Ek\EX, sgr0=\E3\Eb, smacs=\EF, 
5730         smkx=\E=, smso=\E4, tbc=\Eg, 
5731 # The older Visuals didn't come with function keys. This entry uses
5732 # <smkx> and <rmkx> so that the keypad keys can be used as function keys.
5733 # If your version of vi doesn't support function keys you may want
5734 # to use vi200-f.
5735 vi200-f|visual 200 no function keys, 
5736         is2=\E3\Eb\Ej\E\\\El\EG\Ed\Ek, kf0=\E?p, kf1=\E?q, 
5737         kf2=\E?r, kf3=\E?s, kf4=\E?t, kf5=\E?u, kf6=\E?v, kf7=\E?w, 
5738         kf8=\E?x, kf9=\E?y, rmkx=\E>, rmso@, smkx=\E=, smso@, 
5739         use=vi200, 
5740 vi200-rv|visual 200 reverse video, 
5741         cnorm@, cvvis@, ri@, rmso=\E3, smso=\E4, use=vi200, 
5742
5743 # the function keys are programmable but we don't reprogram them to their
5744 # default values with <is2> because programming them is very verbose. maybe
5745 # an initialization file should be made for the 300 and they could be stuck
5746 # in it.
5747 # (vi300: added <rmam>/<smam> based on init string -- esr)
5748 vi300|visual 300 ansi x3.64, 
5749         am, bw, mir, xenl, 
5750         cols#80, lines#24, 
5751         bel=^G, cbt=\E[Z, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[B, 
5752         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
5753         dch1=\E[P$<40>, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
5754         il1=\E[L, ind=^J, 
5755         is2=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[1Q\E[0;1(D\E[8s, 
5756         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
5757         kf1=\E_A\E\\, kf2=\E_B\E\\, kf3=\E_C\E\\, kf4=\E_D\E\\, 
5758         kf5=\E_E\E\\, kf6=\E_F\E\\, kf7=\E_G\E\\, kf8=\E_H\E\\, 
5759         kf9=\E_I\E\\, khome=\E[H, ri=\EM, rmam=\E[?7l, rmir=\E[4l, 
5760         rmso=\E[m, rmul=\E[m, sgr0=\E[m, smam=\E[?7h, smir=\E[4h, 
5761         smso=\E[1m, smul=\E[4m, 
5762 # some of the vi300s have older firmware that has the command
5763 # sequence for setting editing extent reversed.
5764 vi300-old|visual 300 with old firmware (set edit extent reversed), 
5765         is2=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[2Q\E[0;1(D\E[8s, 
5766         use=vi300, 
5767
5768 # Visual 500 prototype entry from University of Wisconsin.
5769 # The best place to look for the escape sequences is page A1-1 of the
5770 # Visual 500 manual.  The initialization sequence given here may be
5771 # overkill, but it does leave out some of the initializations which can
5772 # be done with the menus in set-up mode.
5773 # The :xp: line below is so that emacs can understand the padding requirements
5774 # of this slow terminal.  :xp: is 10 time the padding factor.
5775 # (vi500: removed unknown :xp#4: termcap;
5776 # also added empty <acsc> to suppress tic warning -- esr)
5777 vi500|visual 500, 
5778         am, mir, msgr, 
5779         cols#80, it#8, lines#33, 
5780         acsc=, cbt=\Ez$<4/>, clear=\Ev$<6*/>, cr=^M, 
5781         csr=\E(%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=\EB, 
5782         cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
5783         dch1=\EO$<3*/>, dl1=\EM$<3*/>, ed=\Ey$<3*/>, 
5784         el=\Ex$<16/>, home=\EH, ht=\011$<8/>, il1=\EL\Ex$<3*/>, 
5785         ind=^J, 
5786         is2=\E3\E\001\E\007\E\003\Ek\EG\Ed\EX\El\E>\Eb\E\\, 
5787         kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
5788         khome=\EH, nel=^M^J, rmacs=^O, rmir=\Ej, rmso=\E^G, 
5789         rmul=\E^C, smacs=^N, smir=\Ei, smso=\E^H, smul=\E^D, 
5790
5791 # The visual 550 is a visual 300 with tektronix graphics,
5792 # and with 33 lines. clear screen is modified here to
5793 # also clear the graphics.
5794 vi550|visual 550 ansi x3.64, 
5795         lines#33, 
5796         clear=\030\E[H\E[2J, use=vi300, 
5797
5798 vi603|visual603|visual 603, 
5799         hs, mir, 
5800         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, 
5801         csr=\E[%i%p1%d;%p2%dr, cuf1=\E[C, 
5802         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
5803         dsl=\EP2;1~\E\\, ed=\E[J, el=\E[K, fsl=\E\\, il1=\E[L, 
5804         ind=\ED, is1=\E>\E[?3l\E[?4l\E[?7h\E[?8h\E[1;24r, 
5805         rev=\E[7m, ri=\EM, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m, 
5806         sgr0=\E[m, smir=\E[4h, smso=\E[7m, smul=\E[4m, tsl=\EP2~, 
5807         use=vt100, 
5808
5809 #### Wyse (wy)
5810 #
5811 #       Wyse Technology
5812 #       3471 North First Street
5813 #       San Jose, CA 95134
5814 #       Vox: (408)-473-1200
5815 #       Fax: (408) 473-1222
5816 #       Web: http://www.wyse.com
5817 #
5818 # Wyse sales can be reached by phone at 1-800-GET-WYSE.  Tech support is at
5819 # (800)-800-WYSE (option 5 gets you a human).  There's a Web page at the
5820 # obvious address, <http://www.wyse.com>.  They keep terminfo entries at
5821 # <http://www.wyse.co.uk/support/appnotes/idxappnt.htm>.
5822 #
5823 # Wyse bought out Link Technology, Inc. in 1990 and closed it down in 1995.
5824 # They now own the Qume and Amdek brands, too.  So these are the people to
5825 # talk with about all Link, Qume, and Amdek terminals.
5826 #
5827 # These entries include a few small fixes.
5828 # I canceled the bel capacities in the vb entries.
5829 # I made two trivial syntax fixes in the wyse30 entry.
5830 # I made some entries relative to adm+sgr.
5831 #
5832 #
5833 # Note: The wyse75, wyse85, and wyse99 have been discontinued.
5834
5835 #          Although the Wyse 30 can support more than one attribute
5836 #       it requires magic cookies to do so.  Many applications do not
5837 #       function well with magic cookies.  The following terminfo uses
5838 #       the protect mode to support one attribute (dim) without cookies.
5839 #       If more than one attribute is needed then the wy30-mc terminfo
5840 #       should be used.
5841 #
5842 wy30|wyse30|Wyse 30, 
5843         am, bw, hs, mc5i, mir, msgr, xon, 
5844         cols#80, lh#1, lines#24, lw#8, ma#1, nlab#8, wsl#45, 
5845         acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, cbt=\EI, 
5846         civis=\E`0, clear=\E+$<80>, cnorm=\E`1, cr=^M, cub1=^H, 
5847         cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, 
5848         cuu1=^K, dch1=\EW$<10>, dim=\E`7\E), dl1=\ER$<1>, 
5849         dsl=\EF\r, ed=\EY$<80>, el=\ET, flash=\E`8$<100/>\E`9, 
5850         fsl=^M, home=^^, ht=\011$<1>, hts=\E1, il1=\EE$<2>, 
5851         ind=\n$<2>, ip=$<2>, is2=\E'\E(\E\^3\E`9\016\024, 
5852         kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L, 
5853         kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, kel=\ET, kent=\E7, 
5854         kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
5855         kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, khome=^^, kich1=\EQ, 
5856         kil1=\EE, knp=\EK, kpp=\EJ, krpl=\Er, ll=^^^K, mc0=\EP, mc4=^T, 
5857         mc5=^X, nel=^M^J, pfx=\Ez%p1%{63}%+%c%p2%s\177, 
5858         pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E`7\E), ri=\Ej$<3>, 
5859         rmacs=\EH^C, rmir=\Er, rmln=\EA11, rmso=\E(, 
5860         sgr=%?%p1%p5%p8%|%|%t\E`7\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;, 
5861         sgr0=\E(\EH\003, smacs=\EH^B, smir=\Eq, smln=\EA10, 
5862         smso=\E`7\E), tbc=\E0, tsl=\EF, 
5863 #
5864 #       This terminal description uses the non-hidden attribute mode
5865 #       (with magic cookie).
5866 #
5867 # (wy30-mc: added <smcup> to suppress tic warning --esr)
5868 wy30-mc|wyse30-mc|wyse 30 with magic cookies, 
5869         msgr@, 
5870         ma@, xmc#1, 
5871         blink=\EG2, dim=\EGp, prot=\EG0\E), rmacs=\EG0\EH\003, 
5872         rmcup=\EG0, rmso=\EG0, 
5873         sgr=\EG%{48}%?%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%;, 
5874         sgr0=\EG0\E(\EH\003, smacs=\EG0\EH\002, smcup=, 
5875         smso=\EG4, use=wy30, use=adm+sgr, 
5876 #       The mandatory pause used by <flash> does not work with
5877 #       older versions of terminfo.  If you see this effect then
5878 #       unset xon and delete the / from the delay.
5879 #       i.e. change $<100/> to $<100>
5880 wy30-vb|wyse30-vb|wyse 30 visible bell, 
5881         bel@, use=wy30, 
5882 #
5883 #          The Wyse 50 can support one attribute (e.g. Dim, Inverse,
5884 #       Normal) without magic cookies by using the protect mode.
5885 #       The following description uses this feature, but when more
5886 #       than one attribute is put on the screen at once, all attributes
5887 #       will be changed to be the same as the last attribute given.
5888 #          The Wyse 50 can support more attributes when used with magic
5889 #       cookies.  The wy50-mc terminal description uses magic cookies
5890 #       to correctly handle multiple attributes on a screen.
5891 #
5892 wy50|wyse50|Wyse 50, 
5893         am, bw, hs, mc5i, mir, msgr, xon, 
5894         cols#80, lh#1, lines#24, lw#8, ma#1, nlab#8, wsl#45, 
5895         acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, cbt=\EI, 
5896         civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M, cub1=^H, 
5897         cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, 
5898         cuu1=^K, dch1=\EW$<1>, dim=\E`7\E), dl1=\ER, dsl=\EF\r, 
5899         ed=\EY$<20>, el=\ET, flash=\E`8$<100/>\E`9, fsl=^M, 
5900         home=^^, ht=^I, hts=\E1, il1=\EE, ind=\n$<2>, ip=$<1>, 
5901         is1=\E`\:\E`9$<30>, is2=\016\024\E'\E(, kHOM=\E{, kbs=^H, 
5902         kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, 
5903         kdl1=\ER, ked=\EY, kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, 
5904         kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, 
5905         kf16=^AO\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
5906         kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
5907         kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, 
5908         ll=^^^K, mc0=\EP, mc4=^T, mc5=^X, nel=^M^J, 
5909         pfx=\Ez%p1%{63}%+%c%p2%s\177, 
5910         pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E`7\E), rev=\E`6\E), 
5911         ri=\Ej, rmacs=\EH^C, rmir=\Er, rmln=\EA11, rmso=\E(, 
5912         sgr=%?%p1%p3%|%t\E`6\E)%e%p5%p8%|%t\E`7\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;, 
5913         sgr0=\E(\EH\003, smacs=\EH^B, smir=\Eq, smln=\EA10, 
5914         smso=\E`6\E), tbc=\E0, tsl=\EF, 
5915 #
5916 #       This terminal description uses the non-hidden attribute mode
5917 #       (with magic cookie).
5918 #
5919 #       The mandatory pause used by flash does not work with some
5920 #       older versions of terminfo.  If you see this effect then
5921 #       unset <xon> and delete the / from the delay.
5922 #       i.e. change $<100/> to $<100>
5923 # (wy50-mc: added <smcup> to suppress tic warning --esr)
5924 wy50-mc|wyse50-mc|wyse 50 with magic cookies, 
5925         msgr@, 
5926         ma@, xmc#1, 
5927         blink=\EG2, dim=\EGp, prot=\EG0\E), rev=\EG4, 
5928         rmacs=\EG0\EH\003, rmcup=\EG0, rmso=\EG0, 
5929         sgr=\EG%{48}%?%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%;, 
5930         sgr0=\EG0\E(\EH\003, smacs=\EG0\EH\002, smcup=, 
5931         smso=\EGt, use=wy50, use=adm+sgr, 
5932 wy50-vb|wyse50-vb|wyse 50 visible bell, 
5933         bel@, use=wy50, 
5934 wy50-w|wyse50-w|wyse 50 132-column, 
5935         cols#132, lw#7, nlab#16, wsl#97, 
5936         cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<2>, is1=\E`;\E`9$<30>, 
5937         use=wy50, 
5938 wy50-wvb|wyse50-wvb|wyse 50 132-column visible bell, 
5939         bel@, use=wy50-w, 
5940
5941 #
5942 #       The Wyse 350 is a Wyse 50 with color.
5943 #       Unfortunately this means that it has magic cookies.
5944 #       The color attributes are designed to overlap the reverse, dim and
5945 #       underline attributes.  This is nice for monochrome applications
5946 #       because you can make underline stuff green (or any other color)
5947 #       but for true color applications it's not so hot because you cannot
5948 #       mix color with reverse, dim or underline.
5949 #           To further complicate things one of the attributes must be
5950 #       black (either the foreground or the background).  In reverse video
5951 #       the background changes color with black letters.  In normal video
5952 #       the foreground changes colors on a black background.  
5953 #           This terminfo uses some of the more advanced features of curses
5954 #       to display both color and blink.  In the final analysis I am not
5955 #       sure that the wy350 runs better with this terminfo than it does
5956 #       with the wy50 terminfo (with user adjusted colors).
5957 #
5958 #       The mandatory pause used by flash does not work with
5959 #       older versions of terminfo.  If you see this effect then
5960 #       unset xon and delete the / from the delay.
5961 #       i.e. change $<100/> to $<100>
5962 #
5963 # Bug: The <op> capability resets attributes.
5964 wy350|wyse350|Wyse 350, 
5965         am, bw, hs, mc5i, mir, xon, 
5966         colors#8, cols#80, lh#1, lines#24, lw#8, ncv#55, nlab#8, pairs#8, 
5967         wsl#45, xmc#1, 
5968         acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, blink=\EG2, 
5969         cbt=\EI, civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M, 
5970         cub1=^H, cud1=^J, cuf1=^L, 
5971         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<1>, 
5972         dim=\EGp, dl1=\ER, dsl=\EF\r, ed=\EY$<20>, el=\ET, 
5973         flash=\E`8$<100/>\E`9, fsl=^M, home=^^, ht=^I, hts=\E1, 
5974         il1=\EE, ind=\n$<2>, ip=$<1>, is1=\E`\:\E`9$<30>, 
5975         is2=\016\024\E'\E(, is3=\E%?, kHOM=\E{, kbs=^H, kcbt=\EI, 
5976         kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, 
5977         ked=\EY, kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, 
5978         kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, 
5979         kf16=^AO\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
5980         kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
5981         kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, 
5982         ll=^^^K, mc0=\EP, mc4=^T, mc5=^X, nel=^M^J, oc=\E%?, op=\EG0, 
5983         pfx=\Ez%p1%{63}%+%c%p2%s\177, 
5984         pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\EG0\E), ri=\Ej, 
5985         rmacs=\EG0\EH\003, rmir=\Er, rmln=\EA11, setb=, 
5986         setf=%?%p1%{0}%=%t%{76}%e%p1%{1}%=%t%{64}%e%p1%{2}%=%t%{8}%e%p1%{3}%=%t%{72}%e%p1%{4}%=%t%{4}%e%p1%{5}%=%t%{68}%e%p1%{6}%=%t%{12}%e%p1%{7}%=%t%{0}%;%PC\EG%gC%gA%+%{48}%+%c, 
5987         sgr=%{0}%?%p4%t%{2}%|%;%?%p7%t%{1}%|%;%PA\EG%?%gC%t%gC%e%{0}%?%p1%t%{4}%|%;%?%p2%t%{8}%|%;%?%p3%t%{4}%|%;%?%p5%t%{64}%|%;%;%gA%+%{48}%+%c%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;, 
5988         sgr0=\EG0\E(\EH\003%{0}%PA%{0}%PC, smacs=\EG0\EH\002, 
5989         smir=\Eq, smln=\EA10, tbc=\E0, tsl=\EF, use=adm+sgr, 
5990 wy350-vb|wyse350-vb|wyse 350 visible bell, 
5991         bel@, use=wy350, 
5992 wy350-w|wyse350-w|wyse 350 132-column, 
5993         cols#132, lw#7, nlab#16, wsl#97, 
5994         cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<2>, is1=\E`;\E`9$<30>, 
5995         use=wy350, 
5996 wy350-wvb|wyse350-wvb|wyse 350 132-column visible bell, 
5997         bel@, use=wy350-w, 
5998 #
5999 #       This terminfo description is untested.
6000 #       The wyse100 emulates an adm31, so the adm31 entry should work.
6001 #
6002 wy100|wyse 100, 
6003         hs, mir, 
6004         cols#80, lines#24, xmc#1, 
6005         bel=^G, clear=\E;, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
6006         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
6007         dl1=\ER, dsl=\EA31, ed=\EY, el=\ET, fsl=^M, il1=\EE, ind=^J, 
6008         invis@, is2=\Eu\E0, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, 
6009         kcuu1=^K, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, 
6010         kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, khome=\E{, 
6011         rmir=\Er, smir=\Eq, tsl=\EF, use=adm+sgr, 
6012 #
6013 #       The Wyse 120/150 has most of the features of the Wyse 60.
6014 #       This terminal does not need padding up to 9600 baud!
6015 #       <msgr> should be set but the clear screen fails when in
6016 #       alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
6017 #       then set <msgr>.
6018 #
6019 wy120|wyse120|wy150|wyse150|Wyse 120/150, 
6020         am, bw, hs, km, mc5i, mir, msgr, xon, 
6021         cols#80, it#8, lh#1, lines#24, lw#8, nlab#8, pb#9601, wsl#45, 
6022         acsc=+/\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~, 
6023         bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<50>, 
6024         cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
6025         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<7>, 
6026         dim=\EGp, dl1=\ER$<3>, dsl=\EF\r, ed=\EY$<50>, el=\ET$<4>, 
6027         flash=\E`8$<100/>\E`9, fsl=^M, home=^^, ht=\011$<1>, 
6028         hts=\E1, il1=\EE$<3>, ind=\n$<3>, ip=$<2>, is1=\EcB0\EcC1, 
6029         is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El, 
6030         is3=\EwJ\Ew1$<150>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H, 
6031         kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, 
6032         kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, 
6033         kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, 
6034         kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
6035         kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ, 
6036         kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=^^^K, 
6037         mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<3>, 
6038         pfloc=\EZ2%p1%{63}%+%c%p2%s\177, 
6039         pfx=\EZ1%p1%{63}%+%c%p2%s\177, 
6040         pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<2>, 
6041         rmacs=\EcD, rmam=\Ed., rmcup=\Ew1, rmir=\Er, rmln=\EA11, 
6042         rmxon=\Ec20, rs1=\E~!\E~4$<30>, rs2=\EeF\E`\:$<70>, 
6043         rs3=\EwG\Ee($<100>, 
6044         sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%{48}%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c, 
6045         sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/, 
6046         smcup=\Ew0, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21, 
6047         tbc=\E0, tsl=\EF, use=adm+sgr, 
6048 #
6049 wy120-w|wyse120-w|wy150-w|wyse150-w|wyse 120/150 132-column, 
6050         cols#132, lw#7, nlab#16, wsl#97, 
6051         cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<12>, ip=$<4>, 
6052         rs2=\E`;$<70>, use=wy120, 
6053 #
6054 wy120-25|wyse120-25|wy150-25|wyse150-25|wyse 120/150 80-column 25-lines, 
6055         lh@, lines#25, lw@, nlab@, 
6056         pln@, rs3=\EwG\Ee)$<100>, use=wy120, 
6057 #
6058 wy120-25-w|wyse120-25-w|wy150-25-w|wyse150-25-w|wyse 120/150 132-column 25-lines, 
6059         lh@, lines#25, lw@, nlab@, 
6060         pln@, rs3=\EwG\Ee)$<100>, use=wy120-w, 
6061 #
6062 wy120-vb|wyse120-vb|wy150-vb|wyse150-vb|Wyse 120/150 visible bell, 
6063         bel@, use=wy120, 
6064 #
6065 wy120-w-vb|wy120-wvb|wyse120-wvb|wy150-w-vb|wyse150-w-vb|Wyse 120/150 132-column visible bell, 
6066         bel@, use=wy120-w, 
6067 #
6068 #       The Wyse 60 is like the Wyse 50 but with more padding.
6069 #       The reset strings are slow and the pad times very depending
6070 #       on other parameters such as font loading.  I have tried
6071 #       to follow the following outline:
6072 #
6073 #               <rs1> -> set personality
6074 #               <rs2> -> set number of columns
6075 #               <rs3> -> set number of lines
6076 #               <is1> -> select the proper font
6077 #               <is2> -> do the initialization
6078 #               <is3> -> set up display memory (2 pages)
6079 #
6080 #       The Wyse 60's that have vt100 emulation are slower than the
6081 #       older Wyse 60's.  This change happened mid-1987.
6082 #       The capabilities effected are <dch1> <dl1> <il1> <ind> <ri>
6083 #
6084 #       The meta key is only half right.  This terminal will return the
6085 #       high order bit set when you hit CTRL-function_key
6086 #
6087 #       It may be useful to assign two function keys with the
6088 #       values  \E=(\s  look at old data in page 1
6089 #               \E=W,   look at bottom of page 1
6090 #       where \s is a space ( ).
6091 #
6092 #       Note:
6093 #          The Wyse 60 runs faster when the XON/XOFF
6094 #          handshake is turned off.
6095 #
6096 # (wy60: we use \E{ rather than ^^ for home (both are documented) to avoid
6097 # a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
6098 wy60|wyse60|Wyse 60, 
6099         am, bw, hs, km, mc5i, mir, msgr, 
6100         cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#45, 
6101         acsc=+/\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~, 
6102         bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<100>, 
6103         cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
6104         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
6105         dch1=\EW$<11>, dclk=\E`b, dim=\EGp, dl1=\ER$<5>, dsl=\EF\r, 
6106         ed=\EY$<100>, el=\ET, flash=\E`8$<100/>\E`9, fsl=^M, 
6107         home=\E{, ht=\011$<1>, hts=\E1, il1=\EE$<4>, ind=\n$<5>, 
6108         ip=$<3>, is1=\EcB0\EcC1, 
6109         is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El, 
6110         is3=\EwJ\Ew1$<150>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H, 
6111         kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, 
6112         kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, 
6113         kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, 
6114         kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
6115         kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ, 
6116         kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=\E{^K, 
6117         mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<3>, 
6118         pfloc=\EZ2%p1%{63}%+%c%p2%s\177, 
6119         pfx=\EZ1%p1%{63}%+%c%p2%s\177, 
6120         pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<7>, 
6121         rmacs=\EcD, rmam=\Ed., rmclk=\E`c, rmcup=\Ew1, rmir=\Er, 
6122         rmln=\EA11, rmxon=\Ec20, rs1=\E~!\E~4$<150>, 
6123         rs2=\EeG$<150>, rs3=\EwG\Ee($<200>, 
6124         sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%{48}%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c, 
6125         sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/, 
6126         smcup=\Ew0, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21, 
6127         tbc=\E0, tsl=\EF, use=adm+sgr, 
6128 #
6129 wy60-w|wyse60-w|wyse 60 132-column, 
6130         cols#132, lw#7, nlab#16, wsl#97, 
6131         cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<16>, ip=$<5>, 
6132         rs2=\EeF$<150>\E`;$<150>, use=wy60, 
6133 #
6134 wy60-25|wyse60-25|wyse 60 80-column 25-lines, 
6135         lh@, lines#25, lw@, nlab@, 
6136         pln@, rs3=\EwG\Ee)$<200>, use=wy60, 
6137 wy60-25-w|wyse60-25-w|wyse 60 132-column 25-lines, 
6138         lh@, lines#25, lw@, nlab@, 
6139         pln@, rs3=\EwG\Ee)$<200>, use=wy60-w, 
6140 #
6141 wy60-42|wyse60-42|wyse 60 80-column 42-lines, 
6142         lines#42, 
6143         clear=\E+$<260>, cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<2>, 
6144         dch1=\EW$<16>, dl1=\ER$<11>, ed=\Ey$<260>, il1=\EE$<11>, 
6145         ind=\n$<9>, ip=$<5>, is1=\EcB2\EcC3, nel=\r\n$<6>, 
6146         ri=\Ej$<10>, rs3=\Ee*$<150>, use=wy60, 
6147 wy60-42-w|wyse60-42-w|wyse 60 132-column 42-lines, 
6148         cols#132, lw#7, nlab#16, wsl#97, 
6149         clear=\E+$<260>, cup=\Ea%i%p1%dR%p2%dC$<2>, 
6150         dch1=\EW$<19>, ed=\Ey$<260>, home=\036$<2>, ip=$<6>, 
6151         nel=\r\n$<11>, rs2=\EeF$<150>\E`;$<150>, use=wy60-42, 
6152 #
6153 wy60-43|wyse60-43|wyse 60 80-column 43-lines, 
6154         lh@, lines#43, lw@, nlab@, 
6155         pln@, rs3=\Ee+$<150>, use=wy60-42, 
6156 wy60-43-w|wyse60-43-w|wyse 60 132-column 43-lines, 
6157         lh@, lines#43, lw@, nlab@, 
6158         pln@, rs3=\Ee+$<150>, use=wy60-42-w, 
6159 #
6160 wy60-vb|wyse60-vb|Wyse 60 visible bell, 
6161         bel@, use=wy60, 
6162 wy60-w-vb|wy60-wvb|wyse60-wvb|Wyse 60 132-column visible bell, 
6163         bel@, use=wy60-w, 
6164
6165 #       The Wyse-99GT looks at lot like the Wyse 60 except that it
6166 #       does not have the 42/43 line mode.  In the Wyse-60 the "lines"
6167 #       setup parameter controls the number of lines on the screen.
6168 #       For the Wyse 99GT the "lines" setup parameter controls the
6169 #       number of lines in a page.  The screen can display 25 lines max.
6170 #           The Wyse-99GT also has personalities for the VT220 and
6171 #       Tektronix 4014.  But this has no bearing on the native mode.
6172 #
6173 #       (msgr) should be set but the clear screen fails when in
6174 #       alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
6175 #       then set msgr, else use msgr@.
6176 #
6177 #       u0 -> enter Tektronix mode
6178 #       u1 -> exit Tektronix mode
6179 #
6180 wy99gt|wyse99gt|Wyse 99gt, 
6181         msgr@, 
6182         clear=\E+$<130>, dch1=\EW$<7>, dl1=\ER$<4>, ed=\Ey$<130>, 
6183         el=\Et$<5>, flash=\E`8$<100/>\E`9, ht=\011$<1>, 
6184         il1=\EE$<4>, ind=\n$<4>, ip=$<2>, is3=\Ew0$<20>, nel@, 
6185         ri=\Ej$<3>, rmcup=\Ew0, rs2=\E`\:$<150>, smcup=\Ew1, 
6186         u0=\E~>\E8, u1=\E[42h, use=wy60, 
6187 #
6188 wy99gt-w|wyse99gt-w|wyse 99gt 132-column, 
6189         cols#132, lw#7, nlab#16, wsl#97, 
6190         clear=\E+$<160>, cup=\Ea%i%p1%dR%p2%dC$<2>, 
6191         dch1=\EW$<9>, ed=\Ey$<160>, ip=$<4>, rs2=\E`;$<150>, 
6192         use=wy99gt, 
6193 #
6194 wy99gt-25|wyse99gt-25|wyse 99gt 80-column 25-lines, 
6195         lh@, lines#25, lw@, nlab@, 
6196         pln@, rs2=\E`\:$<150>, rs3=\EwG\Ee)$<200>, use=wy99gt, 
6197 #
6198 wy99gt-25-w|wyse99gt-25-w|wyse 99gt 132-column 25-lines, 
6199         lh@, lines#25, lw@, nlab@, 
6200         pln@, rs2=\E`;$<150>, use=wy99gt-w, 
6201 #
6202 wy99gt-vb|wyse99gt-vb|Wyse 99gt visible bell, 
6203         bel@, use=wy99gt, 
6204 #
6205 wy99gt-w-vb|wy99gt-wvb|wyse99gt-wvb|Wyse 99gt 132-column visible bell, 
6206         bel@, use=wy99gt-w, 
6207
6208 # Can't set tabs! Other bugs (ANSI mode only):
6209 # - can't redefine function keys (anyway, key redefinition in ANSI mode
6210 #   is too much complex to be described);
6211 # - meta key can't be described (the terminal forgets it when reset);
6212 # The xon-xoff handshaking can't be disabled while in ansi personality, so
6213 # emacs can't work at speed greater than 9600 baud.  No padding is needed at
6214 # this speed.
6215 #   dch1 has been commented out because it causes annoying glittering when
6216 # vi deletes one character at the beginning of a line with tabs in it.
6217 #   dch makes sysgen(1M) have a horrible behaviour when deleting
6218 # a screen and makes screen(1) behave badly, so it is disabled too. The nice
6219 # thing is that vi goes crazy if smir-rmir are present and both dch-dch1 are
6220 # not, so smir and rmir are commented out as well.
6221 # From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
6222 wy99-ansi|Wyse WY-99GT in ansi mode (int'l PC keyboard), 
6223         am, km, mc5i, mir, msgr, xenl, 
6224         cols#80, it#8, lines#25, vt#3, 
6225         acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx{{||}}~~, 
6226         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
6227         clear=\E[H\E[J$<200>, cnorm=\E[34h\E[?25h, cr=^M, 
6228         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD$<1>, 
6229         cub1=\010$<1>, cud=\E[%p1%dB, cud1=\ED, 
6230         cuf=\E[%p1%dC$<1>, cuf1=\E[C$<1>, 
6231         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM, 
6232         cvvis=\E[34l\E[?25h, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, 
6233         ech=\E[%p1%dX, ed=\E[J$<8*>, el=\E[K$<1>, el1=\E[1K$<1>, 
6234         enacs=\E)0, flash=\E[?5h$<30/>\E[?5l, home=\E[H, 
6235         hpa=\E[%i%p1%dG, ht=^I, ich=\E[%p1%d@, il=\E[%p1%dL, 
6236         il1=\E[L, ind=\n$<1>, invis=\E[8m, 
6237         is2=\E7\E[1r\E8\E[2;3;4;13;20;34;39;36l\E[12;16;34h\E[?1;3;4;5;10;18l\E[?7;8;25h\E>\E[?5W\E(B\017\E[4i, 
6238         kbs=^H, kcbt=\E[z, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, 
6239         kcuu1=\EOA, kf1=\EOP, kf10=\E[21~, kf11=\E[23~, 
6240         kf12=\E[24~, kf17=\E[K, kf18=\E[31~, kf19=\E[32~, kf2=\EOQ, 
6241         kf20=\E[33~, kf21=\E[34~, kf22=\E[35~, kf23=\E[1~, 
6242         kf24=\E[2~, kf3=\EOR, kf4=\EOS, kf5=\E[M, kf6=\E[17~, 
6243         kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, ll=\E[24E, mc0=\E[?19h, 
6244         mc4=\E[4i, mc5=\E[5i, nel=\EE, prot=\E[1"q, rc=\E8, 
6245         rev=\E[7m, ri=\EM, rmacs=^O, rmam=\E[?7l, rmir=\E[4l, 
6246         rmkx=\E[?1l, rmso=\E[27m, rmul=\E[24m, 
6247         rs2=\E[61"p\E[40h\E[?6l\E[1r\E[2;3;4;13;20;34;39;36l\E[12;16;34h\E[?1;3;4;5;10;18l\E[?7;8;25h\E>\E[?5W\E(B\017\E[24E\E[4i, 
6248         sc=\E7, 
6249         sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%O%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p7%t;8%;m\E[%?%p8%t1%;"q%?%p9%t\016%e\017%;, 
6250         sgr0=\E[m\017\E["q, smacs=^N, smam=\E[?7h, smir=\E[4h, 
6251         smkx=\E[?1h, smso=\E[7m, smul=\E[4m, vpa=\E[%i%p1%dd, 
6252
6253 #   This is the american terminal. Here tabs work fine.
6254 # From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
6255 wy99a-ansi|Wyse WY-99GT in ansi mode (US PC keyboard), 
6256         hts=\EH, is3=\E[?5l, rs3=\E[?5l, tbc=\E[3g, use=wy99-ansi, 
6257
6258 # This terminal (firmware version 02) has a lot of bugs:
6259 # - can't set tabs;
6260 # - other bugs in ANSI modes (see above).
6261 # This description disables handshaking when using cup. This is because
6262 # GNU emacs doesn't like Xon-Xoff handshaking. This means the terminal
6263 # cannot be used at speeds greater than 9600 baud, because at greater
6264 # speeds handshaking is needed even for character sending. If you use
6265 # DTR handshaking, you can use even greater speeds.
6266 # From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
6267 wy99f|wy99fgt|wy-99fgt|Wyse WY-99GT (int'l PC keyboard), 
6268         am, bw, hs, km, mc5i, mir, msgr, xon, 
6269         cols#80, it#8, lines#25, wsl#46, 
6270         acsc='x+y.wI~_vj(k'l&m%n)o9q*s8t-u.v\,w+x=, bel=^G, 
6271         blink=\EG2, cbt=\EI, civis=\E`0, clear=\E'\E(\032, 
6272         cnorm=\E`4\E`1, cr=^M, cub1=^H, cud1=\Ej, cuf1=^L, 
6273         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
6274         cvvis=\E`2\E`1, dch1=\EW, dim=\EGp, dl1=\ER, dsl=\EF\r, 
6275         ed=\EY$<8*>, el=\ET$<8>, enacs=\Ec@1J$<2000>, 
6276         flash=\E\^1$<30/>\E\^0, fsl=^M, home=^^, ht=^I, il1=\EE, 
6277         ind=^J, invis=\EG3, 
6278         is2=\Eu\Ee6\EC\EDF\Ec21\Ec31\Ec62\Ec72\Ee;\016\E'\EeL\E`9\E\^0\E`1\E`4\Ee.\E`\:\Ee1\EG0\E(\Ed/\Ee4\Ed*\EO\E`I\Er\Ee"\EcD\024, 
6279         ka1=^^, ka3=\EJ, kbs=^H, kc1=\ET, kc3=\EK, kcbt=\EI, kcub1=^H, 
6280         kcud1=^J, kcuf1=^L, kcuu1=^K, kf1=^A@\r, kf10=^AI\r, 
6281         kf11=^AJ\r, kf12=^AK\r, kf13=^A`\r, kf14=^Aa\r, kf15=^Ab\r, 
6282         kf16=^Ac\r, kf17=^Ad\r, kf18=^Ae\r, kf19=^Af\r, kf2=^AA\r, 
6283         kf20=^Ag\r, kf21=^Ah\r, kf22=^Ai\r, kf23=^Aj\r, kf24=^Ak\r, 
6284         kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
6285         kf8=^AG\r, kf9=^AH\r, kprt=\EP, mc0=\EP, mc4=^T, mc5=\Ed#, 
6286         nel=^_, prot=\E), rev=\EG4, ri=\Ej, rmacs=\EcD, rmam=\Ed., 
6287         rmcup=\Ec21\Ec31, rmir=\Er, rmso=\EG0, rmxon=\Ec20\Ec30, 
6288         rs2=\Eu\E~4\Ee6\EC\EDF\Ec21\Ec31\Ec62\Ec72\Ee;\016\E'\EeL\E`9\E\^0\E`1\E`4\Ee.\E`\:\Ee)\Ew\EwG\Ew0\Ee1\EG0\E(\Ed/\Ee4\Ed*\EO\E`I\Er\Ee"\Ec@0B\EcD\024, 
6289         sgr=\E(\EG%{48}%?%p1%p3%O%t%{4}%+%;%?%p2%t%{8}%+%;%?%p4%t%{2}%+%;%?%p5%t%{64}%+%;%?%p7%t%{1}%+%;%c%?%p8%t\E)%;%?%p9%t\EcE%e\EcD%;, 
6290         sgr0=\E(\EG0, smacs=\EcE, smam=\Ed/, smcup=\Ec20\Ec30, 
6291         smir=\Eq, smso=\EG4, smxon=\Ec21\Ec31, tsl=\EF, 
6292
6293 # This is the american terminal. Here tabs work.
6294 # From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
6295 wy99fa|wy99fgta|wy-99fgta|Wyse WY-99GT (US PC keyboard), 
6296         hts=\E1, tbc=\E0, use=wy99f, 
6297
6298 #
6299 #       The Wyse 160 is combination of the WY-60 and the WY-99gt.
6300 #       The reset strings are slow and the pad times very depending
6301 #       on other parameters such as font loading.  I have tried
6302 #       to follow the following outline:
6303 #
6304 #               <rs1> -> set personality
6305 #               <rs2> -> set number of columns
6306 #               <rs3> -> set number of lines
6307 #               <is1> -> select the proper font
6308 #               <is2> -> do the initialization
6309 #               <is3> -> set up display memory (2 pages)
6310 #
6311 #       The display memory may be used for either text or graphics.
6312 #       When "Display Memory = Shared" the terminal will have more pages
6313 #       but garbage may be left on the screen when you switch from
6314 #       graphics to text.  If "Display Memory = Unshared" then the
6315 #       text area will be only one page long.
6316 #
6317 # (wy160: we use \E{ rather than ^^ for home (both are documented) to avoid
6318 # a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
6319 wy160|wyse160|Wyse 160, 
6320         am, bw, hs, km, mc5i, mir, msgr, 
6321         cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#38, 
6322         acsc=+/\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~, 
6323         bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<30>, 
6324         cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
6325         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<5>, 
6326         dclk=\E`b, dim=\EGp, dl1=\ER$<1>, dsl=\EF\r, ed=\EY$<30>, 
6327         el=\ET$<5>, flash=\E`8$<100/>\E`9, fsl=^M, home=\E{, ht=^I, 
6328         hts=\E1, il1=\EE$<1>, ind=\n$<1>, ip=$<2>, is1=\EcB0\EcC1, 
6329         is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El, 
6330         is3=\Ew0$<100>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H, 
6331         kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, 
6332         kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, 
6333         kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, 
6334         kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
6335         kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ, 
6336         kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=\E{^K, 
6337         mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<1>, 
6338         pfloc=\EZ2%p1%{63}%+%c%p2%s\177, 
6339         pfx=\EZ1%p1%{63}%+%c%p2%s\177, 
6340         pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<1>, 
6341         rmacs=\EcD, rmam=\Ed., rmclk=\E`c, rmcup=\Ew0, rmir=\Er, 
6342         rmln=\EA11, rmxon=\Ec20, rs1=\E~!\E~4$<70>, 
6343         rs2=\E`\:$<100>, rs3=\EwG\Ee($<140>, 
6344         sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%{48}%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c, 
6345         sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/, 
6346         smcup=\Ew1, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21, 
6347         tbc=\E0, tsl=\EF, use=adm+sgr, 
6348 #
6349 wy160-w|wyse160-w|wyse 160 132-column, 
6350         cols#132, lw#7, nlab#16, wsl#90, 
6351         cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<9>, 
6352         rs2=\EeF$<150>\E`;$<150>, use=wy160, 
6353 #
6354 wy160-25|wyse160-25|wyse 160 80-column 25-lines, 
6355         lh@, lines#25, lw@, nlab@, 
6356         pln@, rs3=\EwG\Ee)$<200>, use=wy160, 
6357 wy160-25-w|wyse160-25-w|wyse 160 132-column 25-lines, 
6358         lh@, lines#25, lw@, nlab@, 
6359         pln@, rs3=\EwG\Ee)$<200>, use=wy160-w, 
6360 #
6361 wy160-42|wyse160-42|wyse 160 80-column 42-lines, 
6362         lines#42, 
6363         clear=\E+$<50>, dl1=\ER$<2>, ed=\Ey$<50>, il1=\EE$<2>, 
6364         ind=\n$<2>, is1=\EcB2\EcC3, nel=\r\n$<2>, ri=\Ej$<2>, 
6365         rs3=\Ee*$<150>, use=wy160, 
6366 wy160-42-w|wyse160-42-w|wyse 160 132-column 42-lines, 
6367         cols#132, lw#7, nlab#16, wsl#90, 
6368         cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<8>, ip=$<3>, 
6369         rs2=\EeF$<150>\E`;$<150>, use=wy160-42, 
6370 #
6371 wy160-43|wyse160-43|wyse 160 80-column 43-lines, 
6372         lh@, lines#43, lw@, nlab@, 
6373         pln@, rs3=\Ee+$<150>, use=wy160-42, 
6374 wy160-43-w|wyse160-43-w|wyse 160 132-column 43-lines, 
6375         lh@, lines#43, lw@, nlab@, 
6376         pln@, rs3=\Ee+$<150>, use=wy160-42-w, 
6377 #
6378 wy160-vb|wyse160-vb|Wyse 160 visible bell, 
6379         bel@, use=wy160, 
6380 wy160-w-vb|wy160-wvb|wyse160-wvb|Wyse 160 132-column visible bell, 
6381         bel@, use=wy160-w, 
6382 #
6383 #       The Wyse 75 is a vt100 lookalike without advanced video.
6384 #
6385 #          The Wyse 75 can support one attribute (e.g. Dim, Inverse,
6386 #       Underline) without magic cookies.  The following description
6387 #       uses this capability, but when more than one attribute is
6388 #       put on the screen at once, all attributes will be changed
6389 #       to be the same as the last attribute given.
6390 #          The Wyse 75 can support more attributes when used with magic
6391 #       cookies.  The wy75-mc terminal description uses magic cookies
6392 #       to correctly handle multiple attributes on a screen.
6393 #
6394 wy75|wyse75|wyse 75, 
6395         am, hs, mc5i, mir, msgr, xenl, xon, 
6396         cols#80, lines#24, ma#1, pb#1201, wsl#78, 
6397         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
6398         bel=^G, cbt=\E[Z, civis=\E[?25l, clear=\E[H\E[J$<30>, 
6399         cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr$<2>, 
6400         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
6401         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
6402         cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP$<3*>, 
6403         dch1=\E[P$<3>, dim=\E[0t\E[2m, dl=\E[%p1%dM$<1*>, 
6404         dl1=\E[M, dsl=\E[>\,\001\001\E[>-\001\001, 
6405         ech=\E[%p1%dX, ed=\E[J$<30>, el=\E[K$<3>, el1=\E[1K$<3>, 
6406         enacs=\E)0, flash=\E[30h\E\,\E[30l$<250>, fsl=^A, 
6407         home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, 
6408         ich=\E[%p1%d@$<1*>, il=\E[%p1%dL$<2*>, il1=\E[L$<2>, 
6409         ind=\n$<2>, ip=$<1>, 
6410         is1=\E[2;4;20;30l\E[?1;10l\E[12h\E[?7;8;25h, 
6411         is2=\E>\E(B\E)0\017, is3=\E[m, ka1=\EOw, ka3=\EOy, 
6412         kb2=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\E[D, kcud1=\E[B, 
6413         kcuf1=\E[C, kcuu1=\E[A, kdl1=\E[M, kel=\E[K, kent=\EOM, 
6414         kf1=\E[?5i, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, 
6415         kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, 
6416         kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\E[?3i, 
6417         kf20=\E[34~, kf21=\E[35~, kf3=\E[2i, kf4=\E[@, kf5=\E[M, 
6418         kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, 
6419         khlp=\E[28~, khome=\E[H, kich1=\E[@, kil1=\E[L, knp=\E[6~, 
6420         kpp=\E[5~, kprt=\E[?5i, kslt=\E[4~, mc0=\E[0i, mc4=\E[4i, 
6421         mc5=\E[5i, rc=\E8, rev=\E[1t\E[7m, ri=\EM$<2>, rmacs=^O, 
6422         rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, rmso=\E[m, rmul=\E[m, 
6423         rs1=\E[13l\E[3l\E!p, rs2=\E[35h\E[?3l$<80>, rs3=\E[?5l, 
6424         sc=\E7, 
6425         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%;, 
6426         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
6427         smkx=\E[?1l\E[?7h\E=, smso=\E[1t\E[7m, smul=\E[2t\E[4m, 
6428         tbc=\E[3g, tsl=\E[>\,\001, 
6429 #
6430 #       This terminal description uses the non-hidden attribute mode
6431 #       (with magic cookie).
6432 #
6433 wy75-mc|wyse75-mc|wyse 75 with magic cookies, 
6434         msgr@, 
6435         ma@, xmc#1, 
6436         blink=\E[2p, dim=\E[1p, invis=\E[4p, is3=\E[m\E[p, 
6437         rev=\E[16p, rmacs=\E[0p\017, rmso=\E[0p, rmul=\E[0p, 
6438         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%;, 
6439         sgr0=\E[0p\017, smacs=\E[0p\016, smso=\E[17p, smul=\E[8p, 
6440         use=wy75, 
6441 wy75-vb|wyse75-vb|wyse 75 with visible bell, 
6442         pb@, 
6443         bel@, use=wy75, 
6444 wy75-w|wyse75-w|wyse 75 in 132 column mode, 
6445         cols#132, wsl#130, 
6446         rs2=\E[35h\E[?3h$<80>, use=wy75, 
6447 wy75-wvb|wyse75-wvb|wyse 75 with visible bell 132 columns, 
6448         pb@, 
6449         bel@, use=wy75-w, 
6450 #
6451 #       Wyse 85 emulating a vt220 7 bit mode.
6452 #               24 line screen with status line.
6453 #
6454 #       The vt220 mode permits more function keys but it wipes out
6455 #       the escape key.  I strongly recommend that <f11> be set to
6456 #       escape (esc).
6457 #       The terminal may have to be set for 8 data bits and 2 stop
6458 #       bits for the arrow keys to work.
6459 #       The Wyse 85 runs faster with XON/XOFF enabled.  Also the
6460 #       <dch> and <ich> work best when XON/XOFF is set.  <ich> and
6461 #       <dch> leave trash on the screen when used without XON/XOFF.
6462 #
6463 wy85|wyse85|wyse 85, 
6464         am, hs, mc5i, mir, msgr, xenl, xon, 
6465         cols#80, it#8, lines#24, wsl#80, 
6466         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
6467         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
6468         clear=\E[H\E[J$<110>, cnorm=\E[?25h, cr=^M, 
6469         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
6470         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
6471         cup=\E[%i%p1%d;%p2%dH$<1>, cuu=\E[%p1%dA, cuu1=\E[A, 
6472         dch=\E[%p1%dP$<3*>, dch1=\E[P$<3>, dim=\E[2m, 
6473         dl=\E[%p1%dM$<3*>, dl1=\E[M$<3>, dsl=\E[40l, 
6474         ech=\E[%p1%dX, ed=\E[J$<110>, el=\E[K$<1>, el1=\E[1K, 
6475         enacs=\E)0, flash=\E[30h\E\,\E[30l$<300>, 
6476         fsl=\E[1;24r\E8, home=\E[H, ht=\011$<1>, hts=\EH, 
6477         ich=\E[%p1%d@$<4*>, il=\E[%p1%dL$<5*>, il1=\E[L$<5>, 
6478         ind=\n$<3>, invis=\E[8m, ip=$<3>, is1=\E[62;1"p\E[?5W, 
6479         is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h$<16>, 
6480         is3=\E>\E(B\E)0\017\E[m, ka1=\EOw, ka3=\EOy, kb2=\EOu, 
6481         kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\E[D, kcud1=\E[B, 
6482         kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kent=\EOM, kf1=\EOP, 
6483         kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, 
6484         kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, 
6485         kf18=\E[32~, kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf3=\EOR, 
6486         kf4=\EOS, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
6487         kfnd=\E[1~, khlp=\E[28~, khome=\E[26~, kich1=\E[2~, 
6488         knp=\E[6~, kpp=\E[5~, kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, 
6489         lf4=PF4, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, 
6490         ri=\EM$<3>, rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, 
6491         rmso=\E[m, rmul=\E[m, rs1=\E[13l\E[3l\E!p, 
6492         rs2=\E[35h\E[?3l$<70>, rs3=\E[?5l, sc=\E7, 
6493         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%;, 
6494         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
6495         smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
6496         tsl=\E[40h\E7\E[25;%i%p1%dH, 
6497 #
6498 #       Wyse 85 with visual bell.
6499 wy85-vb|wyse85-vb|wyse 85 with visible bell, 
6500         bel@, flash=\E[30h\E\,\E[30l$<300>, use=wy85, 
6501 #
6502 #       Wyse 85 in 132-column mode.
6503 wy85-w|wyse85-w|wyse 85 in 132-column mode, 
6504         cols#132, wsl#132, 
6505         rs2=\E[35h\E[?3h$<70>, use=wy85, 
6506 #
6507 #       Wyse 85 in 132-column mode with visual bell.
6508 wy85-wvb|wyse85-wvb|wyse 85 with visible bell 132-columns, 
6509         bel@, use=wy85-w, 
6510
6511 # From: Kevin Turner <kevint@aracnet.com>, 12 Jul 1998
6512 # This copes with an apparent firmware bug in the wy85.  He writes:
6513 # "What I did was change leave the terminal cursor keys set to Normal
6514 # (instead of application), and change \E[ to \233 for all the keys in
6515 # terminfo. At one point, I found some reference indicating that this
6516 # terminal bug (not sending \E[) was acknowledged by Wyse (so it's not just
6517 # me), but I can't find that and the server under my bookmark to "Wyse 
6518 # Technical" isn't responding.  So there's the question of wether the wy85
6519 # terminfo should reflect the manufactuer's intended behaviour of the terminal
6520 # or the actual."
6521 wy85-8bit|wyse85-8bit|wyse 85 in 8-bit mode, 
6522         am, hs, mc5i, mir, msgr, xenl, xon, 
6523         cols#80, it#8, lines#24, wsl#80, 
6524         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
6525         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
6526         clear=\E[H\E[J$<110>, cnorm=\E[?25h, cr=^M, 
6527         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
6528         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
6529         cup=\E[%i%p1%d;%p2%dH$<1>, cuu=\E[%p1%dA, cuu1=\E[A, 
6530         dch=\E[%p1%dP$<3*>, dch1=\E[P$<3>, dim=\E[2m, 
6531         dl=\E[%p1%dM$<3*>, dl1=\E[M$<3>, dsl=\E[40l, 
6532         ech=\E[%p1%dX, ed=\E[J$<110>, el=\E[K$<1>, el1=\E[1K, 
6533         enacs=\E)0, flash=\E[30h\E\,\E[30l$<300>, 
6534         fsl=\E[1;24r\E8, home=\E[H, ht=\011$<1>, hts=\EH, 
6535         ich=\E[%p1%d@$<4*>, il=\E[%p1%dL$<5*>, il1=\E[L$<5>, 
6536         ind=\n$<3>, invis=\E[8m, ip=$<3>, is1=\E[62;1"p\E[?5W, 
6537         is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h$<16>, 
6538         is3=\E>\E(B\E)0\017\E[m, ka1=\EOw, ka3=\EOy, kb2=\EOu, 
6539         kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\233D, kcud1=\233B, 
6540         kcuf1=\233C, kcuu1=\233A, kdch1=\2333~, kent=\EOM, 
6541         kf1=\EOP, kf10=\23321~, kf11=\23323~, kf12=\23324~, 
6542         kf13=\23325~, kf14=\23326~, kf15=\23328~, kf16=\23329~, 
6543         kf17=\23331~, kf18=\23332~, kf19=\23333~, kf2=\EOQ, 
6544         kf20=\23334~, kf3=\EOR, kf4=\EOS, kf6=\23317~, kf7=\23318~, 
6545         kf8=\23319~, kf9=\23320~, kfnd=\2331~, khlp=\23328~, 
6546         khome=\23326~, kich1=\2332~, knp=\2336~, kpp=\2335~, 
6547         kslt=\2334~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, mc0=\E[0i, 
6548         mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, ri=\EM$<3>, 
6549         rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, rmso=\E[m, 
6550         rmul=\E[m, rs1=\E[13l\E[3l\E!p, rs2=\E[35h\E[?3l$<70>, 
6551         rs3=\E[?5l, sc=\E7, 
6552         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%;, 
6553         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
6554         smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
6555         tsl=\E[40h\E7\E[25;%i%p1%dH, 
6556 #
6557 #       Wyse 185 emulating a vt320 7 bit mode.
6558 #
6559 #       This terminal always displays 25 lines.  These lines may be used
6560 #       as 24 data lines and a terminal status line (top or bottom) or
6561 #       25 data lines.  The 48 and 50 line modes change the page size
6562 #       and not the number of lines on the screen.
6563 #
6564 #       The Compose Character key can be used as a meta key if changed
6565 #       by set-up.
6566 #
6567 wy185|wyse185|wyse 185, 
6568         am, hs, km, mc5i, mir, msgr, xenl, xon, 
6569         cols#80, it#8, lines#24, wsl#80, 
6570         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
6571         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
6572         clear=\E[H\E[J$<40>, cnorm=\E[34h\E[?25h, cr=^M, 
6573         csr=\E[%i%p1%d;%p2%dr$<20>, cub=\E[%p1%dD, cub1=^H, 
6574         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
6575         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
6576         cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<3>, dch1=\E[P$<3>, 
6577         dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>, 
6578         dsl=\E7\E[99;0H\E[K\E8, ech=\E[%p1%dX, ed=\E[J$<40>, 
6579         el=\E[K, el1=\E[1K, enacs=\E)0, 
6580         flash=\E[30h\E\,\E[30l$<100>, fsl=\E[1;24r\E8, 
6581         home=\E[H, hpa=\E[%i%p1%d`, ht=^I, hts=\EH, 
6582         ich=\E[%p1%d@$<2>, il=\E[%p1%dL$<3*>, il1=\E[L$<3>, 
6583         ind=\n$<2>, invis=\E[8m, ip=$<4>, is1=\E[?5W, 
6584         is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h, 
6585         is3=\E>\E(B\E)0\017\E[m, ka1=\EOw, ka3=\EOy, kb2=\EOu, 
6586         kbs=^H, kc1=\EOq, kc3=\EOs, kcbt=\E[Z, kcub1=\E[D, 
6587         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kent=\EOM, 
6588         kf1=\EOP, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, 
6589         kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, 
6590         kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\EOQ, 
6591         kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, kf7=\E[18~, 
6592         kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~, 
6593         khome=\E[26~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
6594         kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, mc0=\E[0i, 
6595         mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, ri=\EM$<2>, 
6596         rmacs=^O, rmam=\E[?7l, rmcup=\E[ R, rmir=\E[4l, rmkx=\E>, 
6597         rmso=\E[27m, rmul=\E[24m, 
6598         rs1=\E[13l\E[3l\E\\\E[63;1"p\E[!p, rs2=\E[35h\E[?3l, 
6599         rs3=\E[?5l\E[47h\E[40l\E[r, sc=\E7, 
6600         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%;, 
6601         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E[ Q, 
6602         smir=\E[4h, smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m, 
6603         tbc=\E[3g, tsl=\E7\E[99;%i%p1%dH, vpa=\E[%i%p1%dd, 
6604 #
6605 #       Wyse 185 with 24 data lines and top status (terminal status)
6606 wy185-24|wyse185-24|wyse 185 with 24 data lines, 
6607         hs@, 
6608         dsl@, fsl@, rs3=\E[?5l\E[47h\E[40l\E[1;24r, tsl@, 
6609         use=wy185, 
6610 #
6611 #       Wyse 185 with visual bell.
6612 wy185-vb|wyse185-vb|wyse 185+flash, 
6613         bel@, use=wy185, 
6614 #
6615 #       Wyse 185 in 132-column mode.
6616 wy185-w|wyse185-w|wyse 185 in 132-column mode, 
6617         cols#132, wsl#132, 
6618         dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>, 
6619         ip=$<7>, rs2=\E[35h\E[?3h, use=wy185, 
6620 #
6621 #       Wyse 185 in 132-column mode with visual bell.
6622 wy185-wvb|wyse185-wvb|wyse 185+flash+132 cols, 
6623         bel@, use=wy185-w, 
6624
6625 # wy325 terminfo entries
6626 # Done by Joe H. Davis        3-9-92
6627
6628 # lines 25  columns 80
6629 #
6630 wy325|wyse325|Wyse epc, 
6631         am, bw, hs, mc5i, mir, 
6632         cols#80, lh#1, lines#24, lw#8, nlab#8, pb#9601, wsl#45, 
6633         acsc=+/\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~, 
6634         bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<50>, 
6635         cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
6636         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<7>, 
6637         dim=\EGp, dl1=\ER$<3>, dsl=\EF\r, ed=\EY$<50>, el=\ET$<4>, 
6638         flash=\E`8$<100/>\E`9, fsl=^M, home=^^, ht=^I, hts=\E1, 
6639         il1=\EE$<3>, ind=\n$<3>, ip=$<2>, is1=\EcB0\EcC1, 
6640         is2=\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El, 
6641         is3=\Ew0$<16>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H, 
6642         kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, 
6643         kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, 
6644         kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, 
6645         kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
6646         kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\Eq, 
6647         kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=^^^K, 
6648         mc0=\EP, mc4=^T, mc5=\Ed#, 
6649         pfloc=\EZ2%p1%{63}%+%c%p2%s\177, 
6650         pfx=\EZ1%p1%{63}%+%c%p2%s\177, 
6651         pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<2>, 
6652         rmacs=\EcD, rmam=\Ed., rmcup=\Ew0, rmir=\Er, rmln=\EA11, 
6653         rs1=\E~!\E~4$<30>, rs2=\EeF\E`\:$<70>, 
6654         rs3=\EwG\Ee($<100>, 
6655         sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%{48}%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c, 
6656         sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/, 
6657         smcup=\Ew1, smir=\Eq, smln=\EA10, smso=\EGt, tbc=\E0, 
6658         tsl=\EF, use=adm+sgr, 
6659
6660 #
6661 # lines 24  columns 80  vb 
6662 #
6663 wy325-vb|wyse325-vb|wyse-325 with visual bell, 
6664         bel@, use=wy325, 
6665
6666 #
6667 # lines 24  columns 132
6668 #
6669 wy325-w|wyse325-w|wy325w-24|wyse-325 in wide mode, 
6670         cols#132, lw#7, nlab#16, wsl#97, 
6671         cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<12>, ip=$<4>, 
6672         rs2=\E`;$<70>, use=wy325, 
6673 #
6674 # lines 25  columns 80
6675 #
6676 wy325-25|wyse325-25|wy325-80|wyse-325|wyse-325 25 lines, 
6677         lh@, lines#25, lw@, nlab@, 
6678         pln@, rs3=\EwG\Ee)$<100>, use=wy325, 
6679 #
6680 # lines 25  columns 132
6681 #
6682 wy325-25w|wyse325-25w|wy325 132 columns, 
6683         lh@, lines#25, lw@, nlab@, 
6684         pln@, rs3=\EwG\Ee)$<100>, use=wy325-w, 
6685 #
6686 # lines 25  columns 132  vb 
6687 #
6688 wy325-w-vb|wy325-wvb|wyse325-wvb|wyse-325 wide mode reverse video, 
6689         bel@, use=wy325-w, 
6690
6691 #
6692 # lines 42  columns 80
6693 #
6694 wy325-42|wyse325-42|wyse-325 42 lines, 
6695         lh@, lines#42, lw@, nlab@, 
6696         pln@, rs3=\EwG\Ee)$<100>, use=wy325, 
6697 #
6698 # lines 42  columns 132
6699 #
6700 wy325-42w|wyse325-42w|wyse-325 42 lines wide mode, 
6701         lh@, lines#42, lw@, nlab@, 
6702         pln@, rs3=\EwG\Ee)$<100>, use=wy325-w, 
6703 #
6704 # lines 42  columns 132  vb 
6705 #
6706 wy325-42w-vb|wy325-42wvb|wyse-325 42 lines wide mode visual bell, 
6707         bel@, use=wy325-w, 
6708 #
6709 # lines 43  columns 80
6710 #
6711 wy325-43|wyse325-43|wyse-325 43 lines, 
6712         lh@, lines#43, lw@, nlab@, 
6713         pln@, use=wy325, 
6714 #
6715 # lines 43  columns 132
6716 #
6717 wy325-43w|wyse325-43w|wyse-325 43 lines wide mode, 
6718         lh@, lines#43, lw@, nlab@, 
6719         pln@, rs3=\EwG\Ee)$<100>, use=wy325-w, 
6720 #
6721 # lines 43  columns 132  vb 
6722 #
6723 wy325-43w-vb|wy325-43wvb|wyse-325 43 lines wide mode visual bell, 
6724         bel@, use=wy325-w, 
6725
6726 #       Wyse 370 -- 24 line screen with status line.
6727 #
6728 #       The terminal may have to be set for 8 data bits and 2 stop
6729 #       bits for the arrow keys to work.
6730 #
6731 #       If you change keyboards the terminal will send different
6732 #       escape sequences.
6733 #       The following definition is for the basic terminal without
6734 #       function keys.
6735 #
6736 #       <u0> -> enter Tektronix 4010/4014 mode
6737 #       <u1> -> exit  Tektronix 4010/4014 mode
6738 #       <u2> -> enter ASCII mode (from any ANSI mode)
6739 #       <u3> -> exit  ASCII mode (goto native ANSI mode)
6740 #       <u4> -> enter Tek 4207 ANSI mode (from any ANSI mode)
6741 #       <u5> -> exit  Tek 4207 mode (goto native ANSI mode)
6742 #
6743 # Bug: The <op> capability resets attributes.
6744 wy370-nk|wyse 370 without function keys, 
6745         am, ccc, hs, mc5i, mir, msgr, xenl, xon, 
6746         colors#64, cols#80, it#8, lines#24, ncv#48, pairs#64, wsl#80, 
6747         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
6748         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
6749         clear=\E[H\E[J$<40>, cnorm=\E[34h\E[?25h, cr=^M, 
6750         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
6751         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
6752         cup=\E[%i%p1%d;%p2%dH$<1>, cuu=\E[%p1%dA, cuu1=\E[A, 
6753         cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<1*>, dch1=\E[P$<1>, 
6754         dclk=\E[31h, dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>, 
6755         dsl=\E[40l, ech=\E[%p1%dX$<.1*>, ed=\E[J$<40>, 
6756         el=\E[K$<10>, el1=\E[1K$<12>, enacs=\E)0, 
6757         flash=\E[30h\E\,\E[30l$<300>, fsl=\E[1;24r\E8, 
6758         home=\E[H, hpa=\E[%i%p1%d`, ht=\011$<1>, hts=\EH, 
6759         ich=\E[%p1%d@$<1*>, il=\E[%p1%dL$<2*>, il1=\E[L$<2>, 
6760         ind=\n$<2>, 
6761         initc=\E[66;%p1%d;%?%p2%{250}%<%t%{0}%e%p2%{500}%<%t%{16}%e%p2%{750}%<%t%{32}%e%{48}%;%?%p3%{250}%<%t%{0}%e%p3%{500}%<%t%{4}%e%p3%{750}%<%t%{8}%e%{12}%;%?%p4%{250}%<%t%{0}%e%p4%{500}%<%t%{1}%e%p4%{750}%<%t%{2}%e%{3}%;%{1}%+%+%+%dw, 
6762         invis=\E[8m, ip=$<1>, is1=\E[90;1"p\E[?5W$<6>, 
6763         is2=\E[2;4;20;30;40l\E[?1;10;16l\E[12h\E[?7;8;25h, 
6764         is3=\E>\017\E)0\E(B\E[63;0w\E[m, mc0=\E[0i, mc4=\E[4i, 
6765         mc5=\E[5i, 
6766         oc=\E[60w\E[63;0w\E[66;1;4w\E[66;2;13w\E[66;3;16w\E[66;4;49w\E[66;5;51w\E[66;6;61w\E[66;7;64w, 
6767         op=\E[m, rc=\E8, rev=\E[7m, ri=\EM$<2>, rmacs=^O, 
6768         rmam=\E[?7l, rmclk=\E[31l, rmcup=\E[ R, rmir=\E[4l, 
6769         rmkx=\E>, rmso=\E[27m, rmul=\E[24m, 
6770         rs1=\E[13l\E[3l\E!p\E[?4i, rs2=\E[35h\E[?3l$<8>, 
6771         rs3=\E[?5l, sc=\E7, setb=\E[62;%p1%dw, setf=\E[61;%p1%dw, 
6772         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%;, 
6773         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E[ Q, 
6774         smir=\E[4h, smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m, 
6775         tbc=\E[3g, tsl=\E[40l\E[40h\E7\E[99;%i%p1%dH, 
6776         u0=\E[?38h\E8, u1=\E[?38l\E)0, u2=\E[92;52"p, u3=\E~B, 
6777         u4=\E[92;76"p, u5=\E%!1\E[90;1"p, vpa=\E[%i%p1%dd, 
6778 #
6779 #       Function key set for the ASCII (wy-50 compatible) keyboard
6780 #       This is the default 370.
6781 #
6782 wy370|wyse370|wy370-101k|Wyse 370 with 101 key keyboard, 
6783         kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
6784         kcuu1=\E[A, kdch1=\EOQ, kdl1=\EOQ, kent=\EOM, kf1=\E[?4i, 
6785         kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, 
6786         kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf2=\E[?3i, 
6787         kf3=\E[2i, kf4=\E[@, kf5=\E[M, kf6=\E[17~, kf7=\E[18~, 
6788         kf8=\E[19~, kf9=\E[20~, khome=\E[H, kich1=\EOP, kil1=\EOP, 
6789         knp=\E[U, kpp=\E[V, use=wy370-nk, 
6790 #
6791 #       Function key set for the VT-320 (and wy85) compatible keyboard
6792 #
6793 wy370-105k|Wyse 370 with 105 key keyboard, 
6794         ka1=\EOw, ka3=\EOy, kb2=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs, 
6795         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
6796         kdch1=\E[3~, kent=\EOM, kf1=\EOP, kf10=\E[21~, kf11=\E[23~, 
6797         kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
6798         kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
6799         kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, 
6800         kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, 
6801         khlp=\E[28~, khome=\E[26~, kich1=\E[2~, knp=\E[6~, 
6802         kpp=\E[5~, kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, 
6803         use=wy370-nk, 
6804 #
6805 #       Function key set for the PC compatible keyboard
6806 #
6807 wy370-EPC|Wyse 370 with 102 key keyboard, 
6808         kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
6809         kcuu1=\E[A, kend=\E[1~, kent=\EOM, kf1=\EOP, kf10=\E[21~, 
6810         kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
6811         kf5=\E[M, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
6812         khome=\E[H, kich1=\E[2~, knp=\E[U, kpp=\E[V, use=wy370-nk, 
6813 #
6814 #       Wyse 370 with visual bell.
6815 wy370-vb|Wyse 370 with visible bell, 
6816         bel@, use=wy370, 
6817 #
6818 #       Wyse 370 in 132-column mode.
6819 wy370-w|Wyse 370 in 132-column mode, 
6820         cols#132, wsl#132, 
6821         rs2=\E[35h\E[?3h$<70>, use=wy370, 
6822 #
6823 #       Wyse 370 in 132-column mode with visual bell.
6824 wy370-wvb|Wyse 370 with visible bell 132-columns, 
6825         flash=\E[30h\E\,\E[30l$<300>, use=wy370-w, 
6826 wy370-rv|Wyse 370 reverse video, 
6827         rs3=\E[32h\E[?5h, use=wy370, 
6828 #
6829 #       Wyse 99gt Tektronix 4010/4014 emulator,
6830 #
6831 wy99gt-tek|Wyse 99gt Tektronix 4010/4014 emulator, 
6832         am, os, 
6833         cols#74, lines#35, 
6834         bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s, 
6835         cup=\035%{3040}%{89}%p1%*%-%Py%p2%{55}%*%Px%gy%{128}%/%{31}%&%{32}%+%c%gy%{3}%&%{4}%*%gx%{3}%&%+%{96}%+%c%gy%{004}%/%{31}%&%{96}%+%c%gx%{128}%/%{31}%&%{32}%+%c%gx%{004}%/%{31}%&%{64}%+%c\037, 
6836         cuu1=^K, ff=^L, 
6837         hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037, 
6838         home=^]7`x @\037, 
6839         hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037, 
6840         is2=\E8, nel=^M^J, u0=\E~>\E8, u1=\E[42h, 
6841 #
6842 #       Wyse 160 Tektronix 4010/4014 emulator,
6843 #
6844 wy160-tek|Wyse 160 Tektronix 4010/4014 emulator, 
6845         cup=\035%{3103}%{91}%p1%*%-%Py%p2%{55}%*%Px%gy%{128}%/%{31}%&%{32}%+%c%gy%{3}%&%{4}%*%gx%{3}%&%+%{96}%+%c%gy%{004}%/%{31}%&%{96}%+%c%gx%{128}%/%{31}%&%{32}%+%c%gx%{004}%/%{31}%&%{64}%+%c\037, 
6846         home=^]8`g @\037, use=wy99gt-tek, 
6847 #
6848 #       Wyse 370 Tektronix 4010/4014 emulator,
6849 #
6850 wy370-tek|Wyse 370 Tektronix 4010/4014 emulator, 
6851         am, os, 
6852         cols#80, lines#36, 
6853         bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s, 
6854         cup=\035%{775}%{108}%p1%*%{5}%/%-%Py%p2%{64}%*%{4}%+%{5}%/%Px%gy%{32}%/%{31}%&%{32}%+%c%gy%{31}%&%{96}%+%c%gx%{32}%/%{31}%&%{32}%+%c%gx%{31}%&%{64}%+%c\037, 
6855         cuu1=^K, ff=^L, 
6856         hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037, 
6857         home=^]8g @\037, 
6858         hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037, 
6859         is2=\E8, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^I, kcuu1=^K, 
6860         nel=^M^J, u0=\E[?38h\E8, u1=\E[?38l\E)0, 
6861
6862 # Vendor-supplied Wyse entries end here.
6863
6864 #
6865 #TITLE:  TERMINFO ENTRY WY520
6866 #DATE:   8/5/93
6867 # The WY520 terminfo is based on the WY285 entry published on the WYSE 
6868 # BBS with the addition of more function keys and special keys.
6869 #
6870 #               rs1 -> set personality
6871 #               rs2 -> set number of columns
6872 #               rs3 -> set number of lines
6873 #               is1 -> select the proper font
6874 #               is2 -> do the initialization
6875 #               is3 -> If this string is empty then rs3 gets sent.
6876 #
6877 #       Wyse 520 emulating a vt420 7 bit mode with default ANSI keyboard
6878 #       - The BS key is programmed to generate BS in smcup since
6879 #         is2 doesn't seem to work.
6880 #       - Remove and shift/Remove: delete a character
6881 #       - Insert : enter insert mode
6882 #       - Find   : delete to end of file
6883 #       - Select : clear a line
6884 #       - F11, F12, F13: send default sequences (not ESC, BS, LF)
6885 #       - F14 : Home key
6886 #       - Bottom status line (host writable line) is used.
6887 #       - smkx,rmkx are removed because this would put the numeric
6888 #         keypad in Dec application mode which doesn't seem to work
6889 #         with SCO applications.
6890 #
6891 wy520|wyse520|wyse 520, 
6892         am, hs, km, mc5i, mir, xenl, xon, 
6893         cols#80, it#8, lines#24, wsl#80, 
6894         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
6895         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
6896         clear=\E[H\E[J$<40>, cnorm=\E[34h\E[?25h, cr=^M, 
6897         csr=\E[%i%p1%d;%p2%dr$<20>, cub=\E[%p1%dD, cub1=^H, 
6898         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
6899         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
6900         cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<3>, dch1=\E[P$<30>, 
6901         dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>, dsl=\E[0$~, 
6902         ech=\E[%p1%dX, ed=\E[J$<40>, el=\E[K, el1=\E[1K, 
6903         enacs=\E)0, fsl=\E[0$}, home=\E[H, hpa=\E[%i%p1%d`, ht=^I, 
6904         hts=\EH, ich=\E[%p1%d@$<2>, il=\E[%p1%dL$<3*>, 
6905         il1=\E[L$<3>, ind=\n$<2>, invis=\E[8m, ip=$<4>, is1=\E[?5W, 
6906         is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25;67h, 
6907         is3=\E>\E(B\E)0\017\E[m, ka1=\EOw, ka3=\EOu, kb2=\EOy, 
6908         kbs=^H, kc1=\EOq, kc3=\EOs, kcbt=\E[Z, kcub1=\E[D, 
6909         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, ked=\E[1~, 
6910         kel=\E[4~, kent=\EOM, kf1=\EOP, kf10=\E[21~, kf11=\E[23~, 
6911         kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
6912         kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
6913         kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, 
6914         kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, 
6915         khlp=\E[28~, khome=\E[26~, kich1=\E[2~, knp=\E[6~, 
6916         kpp=\E[5~, kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, 
6917         mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, 
6918         ri=\EM$<2>, rmacs=^O, rmam=\E[?7l, rmcup=\E[ R, rmir=\E[4l, 
6919         rmso=\E[m, rmul=\E[24m, 
6920         rs1=\E[13l\E[3l\E\\\E[63;1"p\E[!p, rs2=\E[35h\E[?3l, 
6921         rs3=\E[?5l\E[47h\E[40l\E[r, sc=\E7, 
6922         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%;, 
6923         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, 
6924         smcup=\E[ Q\E[?67;8h, smir=\E[4h, smso=\E[7m, smul=\E[4m, 
6925         tbc=\E[3g, tsl=\E[2$~\E[1$}\E[%i%p1%d`, 
6926         vpa=\E[%i%p1%dd, 
6927 #
6928 #       Wyse 520 with 24 data lines and status (terminal status)
6929 wy520-24|wyse520-24|wyse 520 with 24 data lines, 
6930         hs@, 
6931         dsl@, fsl@, rs3=\E[?5l\E[47h\E[40l\E[1;24r, tsl@, 
6932         use=wy520, 
6933 #
6934 #       Wyse 520 with visual bell.
6935 wy520-vb|wyse520-vb|wyse 520 with visible bell, 
6936         flash=\E[30h\E\,\E[30l$<100>, use=wy520, 
6937 #
6938 #       Wyse 520 in 132-column mode.
6939 wy520-w|wyse520-w|wyse 520 in 132-column mode, 
6940         cols#132, wsl#132, 
6941         dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>, 
6942         ip=$<7>, rs2=\E[35h\E[?3h, use=wy520, 
6943 #
6944 #       Wyse 520 in 132-column mode with visual bell.
6945 wy520-wvb|wyse520-wvb|wyse 520 with visible bell 132-columns, 
6946         flash=\E[30h\E\,\E[30l$<100>, use=wy520-w, 
6947 #
6948 #
6949 #       Wyse 520 emulating a vt420 7 bit mode.
6950 #       The DEL key is programmed to generate BS in is2.
6951 #       With EPC keyboard.
6952 #       - 'End' key will clear till end of line on EPC keyboard
6953 #       - Shift/End : ignored.
6954 #       - Insert : enter insert mode.
6955 #       - Delete : delete a character (have to change interrupt character
6956 #                  to CTRL-C: stty intr '^c') for it to work since the
6957 #                  Delete key sends 7FH.
6958 wy520-epc|wyse520-epc|wyse 520 with EPC keyboard, 
6959         kdch1=\177, kel=\E[4~, kend=\E[4~, kf0=\E[21~, kf1=\E[11~, 
6960         kf2=\E[12~, kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, khome=\E[H, 
6961         use=wy520, 
6962 #
6963 #       Wyse 520 with 24 data lines and status (terminal status)
6964 #       with EPC keyboard.
6965 wy520-epc-24|wyse520-pc-24|wyse 520 with 24 data lines and EPC keyboard, 
6966         hs@, 
6967         dsl@, fsl@, rs3=\E[?5l\E[47h\E[40l\E[1;24r, tsl@, 
6968         use=wy520-epc, 
6969 #
6970 #       Wyse 520 with visual bell.
6971 wy520-epc-vb|wyse520-pc-vb|wyse 520 with visible bell and EPC keyboard, 
6972         flash=\E[30h\E\,\E[30l$<100>, use=wy520-epc, 
6973 #
6974 #       Wyse 520 in 132-column mode.
6975 wy520-epc-w|wyse520-epc-w|wyse 520 in 132-column mode with EPC keyboard, 
6976         cols#132, wsl#132, 
6977         dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>, 
6978         ip=$<7>, rs2=\E[35h\E[?3h, use=wy520-epc, 
6979 #
6980 #       Wyse 520 in 132-column mode with visual bell.
6981 wy520-epc-wvb|wyse520-p-wvb|wyse 520 with visible bell 132-columns and EPC keyboard, 
6982         flash=\E[30h\E\,\E[30l$<100>, use=wy520-epc-w, 
6983 #
6984 #       Wyse 520 in 80-column, 36 lines
6985 wy520-36|wyse520-36|wyse 520 with 36 data lines, 
6986         hs@, 
6987         lines#36, 
6988         dsl@, fsl@, rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r, tsl@, 
6989         use=wy520, 
6990 #
6991 #       Wyse 520 in 80-column, 48 lines
6992 wy520-48|wyse520-48|wyse 520 with 48 data lines, 
6993         hs@, 
6994         lines#48, 
6995         dsl@, fsl@, rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r, tsl@, 
6996         use=wy520, 
6997 #
6998 #       Wyse 520 in 132-column, 36 lines
6999 wy520-36w|wyse520-36w|wyse 520 with 132 columns and 36 data lines, 
7000         cols#132, wsl#132, 
7001         rs2=\E[?3h, 
7002         rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|, 
7003         use=wy520-36, 
7004 #
7005 #       Wyse 520 in 132-column, 48 lines
7006 wy520-48w|wyse520-48w|wyse 520 with 48 data lines, 
7007         cols#132, wsl#132, 
7008         rs2=\E[?3h, 
7009         rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|, 
7010         use=wy520-48, 
7011 #
7012 #
7013 #       Wyse 520 in 80-column, 36 lines with EPC keyboard
7014 wy520-36pc|wyse520-36pc|wyse 520 with 36 data lines and EPC keyboard, 
7015         hs@, 
7016         lines#36, 
7017         dsl@, fsl@, rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r, tsl@, 
7018         use=wy520-epc, 
7019 #
7020 #       Wyse 520 in 80-column, 48 lines with EPC keyboard
7021 wy520-48pc|wyse520-48pc|wyse 520 with 48 data lines and EPC keyboard, 
7022         hs@, 
7023         lines#48, 
7024         dsl@, fsl@, rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r, tsl@, 
7025         use=wy520-epc, 
7026 #
7027 #       Wyse 520 in 132-column, 36 lines with EPC keyboard
7028 wy520-36wpc|wyse520-36wpc|wyse 520 with 36 data lines and EPC keyboard, 
7029         cols#132, wsl#132, 
7030         rs2=\E[?3h, 
7031         rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|, 
7032         use=wy520-36pc, 
7033 #
7034 #       Wyse 520 in 132-column, 48 lines with EPC keyboard
7035 wy520-48wpc|wyse520-48wpc|wyse 520 with 48 data lines and EPC keyboard, 
7036         cols#132, wsl#132, 
7037         rs2=\E[?3h, 
7038         rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|, 
7039         use=wy520-48pc, 
7040
7041 # From: John Gilmore <hoptoad!gnu@lll-crg.arpa>
7042 # (wyse-vp: removed <if=/usr/share/tabset/wyse-adds>, there's no such
7043 # file and we don't know what <hts> is -- esr)
7044 wyse-vp|Wyse 50 in ADDS Viewpoint emulation mode with "enhance" on, 
7045         OTbs, am, 
7046         cols#80, it#8, lines#24, 
7047         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F, 
7048         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dch1=\EW, 
7049         dl1=\El, ed=\Ek, el=\EK, home=^A, ht=^I, il1=\EM, ind=^J, 
7050         is2=\E`\:\E`9\017\Er, kbs=^H, kcub1=^U, kcud1=^J, kcuf1=^F, 
7051         kcuu1=^Z, khome=^A, ll=^A^Z, nel=^M^J, rmir=\Er, rmso=^O, 
7052         rmul=^O, rs1=\E`\:\E`9\017\Er, sgr0=^O, smir=\Eq, smso=^N, 
7053         smul=^N, 
7054
7055 wy75ap|wyse75ap|wy-75ap|wyse-75ap|Wyse WY-75 Applications and Cursor keypad, 
7056         is2=\E[1;24r\E[?10;3l\E[?1;25h\E[4l\E[m\E(B\E=, 
7057         kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
7058         khome=\EOH, rmkx=\E[?1l\E>$<10/>, smkx=\E[?1h\E=$<10/>, 
7059         use=wy75, 
7060
7061 # From: Eric Freudenthal <freudent@eric.ultra.nyu.edu>
7062 wy100q|Wyse 100 for Quotron, 
7063         OTbs, 
7064         cols#80, lines#24, xmc#1, 
7065         cbt=\EI, clear=^Z, cub1=^H, cud1=^J, cuf1=^L, 
7066         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
7067         dl1=\ER, ed=\EY, el=\ET, home=^^, il1=\EE, invis@, 
7068         is2=\E`\:\0\EC\EDF\E0\E'\E(\EA21, kcub1=^H, kcud1=^J, 
7069         kcuf1=^L, kcuu1=^K, ri=\Ej, rmir=\Er, smir=\Eq, use=adm+sgr, 
7070
7071 #### Kermit terminal emulations
7072 #
7073 # Obsolete Kermit versions may be listed in the section describing obsolete
7074 # non-ANSI terminal emulators later in the file.
7075 #
7076
7077 # KERMIT standard all versions.
7078 # Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
7079 # (kermit: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
7080 # From: greg small <gts@populi.berkeley.edu> 9-25-84
7081 kermit|standard kermit, 
7082         OTbs, 
7083         cols#80, lines#24, 
7084         clear=\EE, cub1=^H, cuf1=\EC, 
7085         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
7086         el=\EK, home=\EH, is2=K0 Standard Kermit  9-25-84\n, 
7087         kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, 
7088 kermit-am|standard kermit plus auto-margin, 
7089         am, 
7090         is2=K1 Standard Kermit plus Automatic Margins\n, 
7091         use=kermit, 
7092 # IBMPC Kermit 1.2.
7093 # Bugs: <ed>, <el>: do not work except at beginning of line!  <clear> does
7094 # not work, but fake with :cl=\EH\EJ (since :cd=\EJ: works at beginning of
7095 # line).
7096 # From: greg small <gts@populi.berkeley.edu> 8-30-84
7097 pckermit|pckermit12|UCB IBMPC Kermit 1.2, 
7098         am, 
7099         lines#25, 
7100         clear=\EH\EJ, ed@, el@, 
7101         is2=K2 UCB IBMPC Kermit 1.2  8-30-84\n, use=kermit, 
7102 # IBMPC Kermit 1.20
7103 # Cannot use line 25, now acts funny like ansi special scrolling region.
7104 # Initialization must escape from that region by cursor position to line 24.
7105 # Cannot use character insert because 1.20 goes crazy if insert at col 80.
7106 # Does not use :am: because autowrap is lost when kermit dropped and restarted.
7107 # From: greg small <gts@populi.berkeley.edu> 12-19-84
7108 pckermit120|UCB IBMPC Kermit 1.20, 
7109         it#8, lines#24, 
7110         cud1=\EB, cvvis=\EO\Eq\EEK3, dch1=\EN, dl1=\EM, ht=^I, 
7111         il1=\EL, 
7112         is2=\EO\Eq\EJ\EY7 K3 UCB IBMPC Kermit 1.20  12-19-84\n, 
7113         rmir@, rmso=\Eq, smir@, smso=\Ep, use=kermit, 
7114 # MS-DOS Kermit 2.27 for the IBMPC
7115 # Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
7116 # Cannot use line 25, now acts funny like ansi special scrolling region.
7117 # Initialization must escape from that region by cursor position to line 24.
7118 # Does not use am: because autowrap is lost when kermit dropped and restarted.
7119 # Reverse video for standout like H19.
7120 # (msk227: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
7121 # From: greg small <gts@populi.berkeley.edu> 3-17-85
7122 msk227|mskermit227|MS-DOS Kermit 2.27 for the IBMPC, 
7123         OTbs, am@, 
7124         cols#80, it#8, lines#24, 
7125         clear=\EE, cub1=^H, cud1=\EB, cuf1=\EC, 
7126         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
7127         cvvis=\EO\Eq\EG\EwK4, dch1=\EN, dl1=\EM, ed=\EJ, el=\EK, 
7128         home=\EH, ht=^I, il1=\EL, 
7129         is2=\EO\Eq\EG\Ew\EJ\EY7 K4 MS Kermit 2.27 for the IBMPC 3-17-85\n, 
7130         kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, rc=\Ek, 
7131         rmir=\EO, rmso=\Eq, sc=\Ej, smir=\E@, smso=\Ep, 
7132 # MS-DOS Kermit 2.27 with automatic margins
7133 # From: greg small <gts@populi.berkeley.edu> 3-17-85
7134 msk227am|mskermit227am|UCB MS-DOS Kermit 2.27 with automatic margins, 
7135         am, 
7136         cvvis=\EO\Eq\EG\EvK5, 
7137         is2=\EO\Eq\EG\Ev\EJ\EY7 K5 MS Kermit 2.27 +automatic margins 3-17-85\n, 
7138         use=msk227, 
7139 # MS-DOS Kermit 2.27 UCB 227.14 for the IBM PC
7140 # Automatic margins now default.  Use ansi <sgr> for highlights.
7141 # Define function keys.
7142 # (msk22714: removed obsolete ":kn#10:" -- esr)
7143 # From: greg small <gts@populi.berkeley.edu> 3-17-85
7144 msk22714|mskermit22714|UCB MS-DOS Kermit 2.27 UCB 227.14 IBM PC, 
7145         am, 
7146         bold=\E[1m, cvvis=\EO\Eq\EG\EvK6, 
7147         is2=\EO\Eq\EG\Ev\EJ\EY7 K6 MS Kermit 2.27 UCB 227.14 IBM PC 3-17-85\n, 
7148         kf0=\E0, kf1=\E1, kf2=\E2, kf3=\E3, kf4=\E4, kf5=\E5, kf6=\E6, 
7149         kf7=\E7, kf8=\E8, kf9=\E9, rev=\E[7m, rmso=\E[m, rmul=\E[m, 
7150         sgr0=\E[m, smso=\E[1m, smul=\E[4m, use=mskermit227, 
7151 # This was designed for a VT320 emulator, but it is probably a good start
7152 # at support for the VT320 itself.
7153 # Please send changes with explanations to bug-gnu-emacs@prep.ai.mit.edu.
7154 # (vt320-k3: I added <rmam>/<smam> based on the init string -- esr)
7155 vt320-k3|MS-Kermit 3.00's vt320 emulation, 
7156         am, eslok, hs, km, mir, msgr, xenl, 
7157         cols#80, it#8, lines#49, pb#9600, vt#3, 
7158         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
7159         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
7160         clear=\E[H\E[J, cmdch=\E, cnorm=\E[?25h, cr=^M, 
7161         csr=\E[%i%p1%d;%p1%dr, cub=\E[%p1%dD, cub1=^H, 
7162         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
7163         cup=\E[%i%p1%d;%p1%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
7164         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
7165         dsl=\E[0$~, ech=\E[%p1%dX, ed=\E[J, el=\E[K, 
7166         flash=\E[?5h\E[?5l\E[?5h\E[?5l\E[?5h\E[?5l, 
7167         fsl=\E[0$}, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, 
7168         ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
7169         is2=\E>\E F\E[?1l\E[?7h\E[r\E[2$~, kbs=^H, kcub1=\EOD, 
7170         kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdl1=\E[3~, kf0=\E[21~, 
7171         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~, 
7172         kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kich1=\E[2~, knp=\E[6~, 
7173         kpp=\E[5~, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, nel=^M^J, rc=\E8, 
7174         rev=\E[7m, ri=\EM, rin=\E[%p1%dL, rmacs=\E(B, rmam=\E[?7l, 
7175         rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, 
7176         rs1=\E(B\E)B\E>\E F\E[4;20l\E[12h\E[?1;5;6;38;42l\E[?7;25h\E[4i\E[?4i\E[m\E[r\E[2$~, 
7177         sc=\E7, sgr0=\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h, 
7178         smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
7179         tsl=\E[1$}\r\E[K, vpa=\E[%i%p1%dd, 
7180 # From: Joseph Gil <yogi@cs.ubc.ca> 13 Dec 1991
7181 # ACS capabilities from Philippe De Muyter  <phdm@info.ucl.ac.be> 30 May 1996
7182 # (I removed a bogus boolean :mo: and added <msgr>, <smam>, <rmam> -- esr)
7183 vt320-k311|dec vt320 series as defined by kermit 3.11, 
7184         am, eslok, hs, mir, msgr, xenl, xon, 
7185         cols#80, it#8, lines#24, vt#3, 
7186         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
7187         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
7188         clear=\E[;H\E[2J, cnorm=\E[?25h, cr=^M, 
7189         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
7190         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
7191         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
7192         cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
7193         dl1=\E[M, dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J, el=\E[K, 
7194         flash=\E[?5h\E[?5l, fsl=\E[$}, home=\E[H, ht=^I, hts=\EH, 
7195         ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L$<3/>, ind=\ED, 
7196         is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
7197         kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
7198         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~, 
7199         kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, lf1=pf1, lf2=pf2, 
7200         lf3=pf3, lf4=pf4, nel=^M\ED, rc=\E8, rev=\E[7m, 
7201         rf=/usr/share/tabset/vt100, ri=\EM, rmacs=^O, 
7202         rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m, 
7203         rmul=\E[24m, rs1=\E[?3l, sc=\E7, sgr0=\E[m, smacs=^N, 
7204         smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, 
7205         smul=\E[4m, tbc=\E[3g, tsl=\E[2$~\E[1$}\E[1;%dH, 
7206
7207 ######## NON-ANSI TERMINAL EMULATIONS
7208 #
7209
7210 #### Avatar
7211 #
7212 # These entries attempt to describe Avatar, a terminal emulation used with
7213 # MS-DOS bulletin-board systems.  It was designed to give ANSI-like
7214 # capabilities, but with cheaper (shorter) control sequences.  Messy design,
7215 # excessively dependent on PC idiosyncracies, but apparently rather popular
7216 # in the BBS world.
7217 #
7218 # No color support.  Avatar doesn't fit either of the Tektronix or HP color
7219 # models that terminfo knows about.  An Avatar color attribute is the
7220 # low 7 bits of the IBM-PC display-memory attribute.  Bletch.
7221 #
7222 # I wrote these entries while looking at the Avatar spec.  I don't have
7223 # the facilities to test them.  Let me know if they work, or don't.
7224 #
7225 # Avatar escapes not used by these entries (because maybe you're smarter
7226 # and more motivated than I am and can figure out how to wrap terminfo
7227 # around some of them, and because they are weird enough to be funny):
7228 #                               level 0:
7229 # ^L            -- clear window/reset current attribute to default
7230 # ^V^A%p1%c     -- set current color attribute, parameter decodes as follows:
7231
7232 #      bit:         6   5   4   3   2   1   0
7233 #                   |       |   |   |       |
7234 #                   +---+---+   |   +---+---+
7235 #                       |       |       |
7236 #                       |       |  foreground color
7237 #                       |  foreground intensity
7238 #                  background color
7239 #                               level 0+:
7240 # ^V^J%p1%c%p2%c%p3%c%p4%c%p5%c -- scroll (p2,p3) to (p4,p5) up by p1 lines
7241 # ^V^K%p1%c%p2%c%p3%c%p4%c%p5%c -- scroll (p2,p3) to (p4,p5) down by p1 lines
7242 # ^V^L%p1%c%p2%c%p3%c           -- clear p2 lines and p3 cols w/attr %p1 
7243 # ^V^M%p1%c%p2%c%p3%c%p4%c      -- fill p3 lines & p4 cols w/char p2+attr %p1 
7244 # (^V^L and ^V^M set the current attribute as a side-effect.)
7245 # ^V ^Y <a> [...] <c>   -- repeat pattern. <a> specifies the number of bytes
7246 #                          in the pattern, <c> the number of times the pattern
7247 #                          should be repeated. If either value is 0, no-op.
7248 #                          The pattern can contain Avatar console codes,
7249 #                          including other ^V ^Y patterns.
7250 #                               level 1:
7251 # ^V^O          -- clockwise mode on; turn print direction right each time you
7252 #                  hit a window edge (yes, really).  Turned off by CR
7253 # ^V^P          -- no-op
7254 # ^V^Q%c        -- query the driver
7255 # ^V^R          -- driver reset
7256 # ^V^S          -- Sound tone (PC-specific)
7257 # ^V^T                  -- change highlight at current cursor poition to %c
7258 # ^V^U%p1%c%p2%c        -- highlight window <a> with attribute <b>
7259 # ^V^V%p1%c%p2%c%p3%c%p4%c%p5%c
7260 #                       -- define window 
7261 #
7262 # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
7263 # (The <blink>/<bold>/<rev>/<smacs>/<smul>/<smso> capabilities exist only to
7264 # tell ncurses that the corresponding highlights exist; it should use <sgr>,
7265 # which is the only method that will actually work for multiple highlights.)
7266 avatar0|avatar terminal emulator level 0, 
7267         am, bce, msgr, 
7268         cols#80, it#8, lines#25, 
7269         blink=^A^V\177, bold=^V^A^P, cr=^M, cub1=^V^E, cud1=^V^D, 
7270         cuf1=^V^F, cup=\026\010%p1%c%p2%c, cuu1=^V^C, el=^V^G, 
7271         ind=^J, invis=^V^A\0, rep=\031%p1%c%p2%d, rev=^A^Vp, 
7272         rs2=^L, 
7273         sgr=\026\001%{0}%?%p1%t%{112}%|%;%?%p2%t%{1}%|%;%?%p3%t%{112}%|%;%?%p4%t{128}%|%;%?%p6%t%{16}%|%;, 
7274         sgr0=^V^A^G, smacs=, smso=^A^Vp, smul=^V^A, use=klone+acs, 
7275 # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
7276 avatar0+|avatar terminal emulator level 0+, 
7277         dch1=^V^N, rmir=\026\n\0\0\0\0, smir=^V^I, use=avatar0, 
7278 # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
7279 avatar|avatar1|avatar terminal emulator level 1, 
7280         civis=^V'^B, cnorm=^V'^A, cvvis=^V^C, dl1=^V-, il1=^V+, 
7281         rmam=^V", rmir=^V^P, smam=^V$, use=avatar0+, 
7282
7283 #### RBcomm
7284 #
7285 # RBComm is a lean and mean terminal emulator written by the Interrupt List
7286 # maintainer, Ralf Brown. It was fairly popular in the late DOS years (early
7287 # '90s), especially in the BBS world, and still has some loyal users due to
7288 # its very small memory footprint and to a cute macro language.
7289 rbcomm|IBM PC with RBcomm and EMACS keybindings, 
7290         am, bw, mir, msgr, xenl, 
7291         cols#80, it#8, lines#25, 
7292         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
7293         clear=^L, cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
7294         cub1=^H, cud1=^C, cuf1=^B, 
7295         cup=\037%p2%{32}%+%c%p1%{32}%+%c, cuu1=^^, 
7296         cvvis=\E[?25h, dch1=^W, dl=\E[%p1%dM, dl1=^Z, 
7297         ech=\E[%p1%dX, ed=^F5, el=^P^P, ht=^I, il=\E[%p1%dL, il1=^K, 
7298         ind=\ED, invis=\E[8m, 
7299         is2=\017\035\E(B\E)0\E[?7h\E[?3l\E[>8g, kbs=^H, 
7300         kcub1=^B, kcud1=^N, kcuf1=^F, kcuu1=^P, khome=^A, nel=^M\ED, 
7301         rc=\E8, rep=\030%p1%c%p2%c, rev=^R, ri=\EM, rmcup=, rmdc=, 
7302         rmir=^], rmkx=\E>, rmso=^U, rmul=^U, 
7303         rs1=\017\E(B\E)0\025\E[?3l\E[>8g, sc=\E7, sgr0=\E[m, 
7304         smcup=, smdc=, smir=^\, smkx=\E=, smso=^R, smul=^T, 
7305 rbcomm-nam|IBM PC with RBcomm without autowrap, 
7306         am@, 
7307         bel=^G, cr=^M, cud1=^J, ht=^I, ind=^J, 
7308         is2=\017\035\E(B\E)0\E[?7l\E[?3l\E[>8g, kbs=^H, 
7309         kcub1=^H, kcud1=^J, nel=^M^J, use=rbcomm, 
7310 rbcomm-w|IBM PC with RBcomm in 132 column mode, 
7311         cols#132, 
7312         bel=^G, cr=^M, cud1=^J, ht=^I, ind=^J, 
7313         is2=\017\035\E(B\E)0\E[?7h\E[?3h\E[>8g, kbs=^H, 
7314         kcub1=^H, kcud1=^J, nel=^M^J, use=rbcomm, 
7315
7316 ######## OLDER TERMINAL TYPES
7317 #
7318 # This section is devoted to older commercial terminal brands that are now
7319 # discontinued, but known to be still in use or represented by emulations.
7320 #
7321
7322 #### AT&T (att, tty)
7323 #
7324 # This section also includes Teletype-branded VDTs.
7325 #
7326 # The AT&T/Teletype terminals group was sold to SunRiver Data Systems (now
7327 # Boundless Technologies); for details, see the header comment on the ADDS
7328 # section.
7329 #
7330 # These are AT&T's official terminfo entries.  All-caps aliases have been
7331 # removed.
7332 #
7333 att2300|sv80|AT&T 2300 Video Information Terminal 80 column mode, 
7334         am, eo, mir, msgr, xon, 
7335         cols#80, it#8, lines#24, 
7336         bel=^G, clear=\E[H\E[J, cr=^M, cub=\E[%p1%dD, cub1=^H, 
7337         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
7338         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
7339         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
7340         el=\E[K, el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@, 
7341         il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcbt=\E[Z, kclr=\E[J, 
7342         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, 
7343         kdl1=\E[M, kf1=\E[1r, kf10=\E[10r, kf11=\E[11r, 
7344         kf12=\E[12r, kf13=\E[13r, kf14=\E[14r, kf15=\E[15r, 
7345         kf16=\E[16r, kf2=\E[2r, kf3=\E[3r, kf4=\E[4r, kf5=\E[5r, 
7346         kf6=\E[6r, kf7=\E[7r, kf8=\E[8r, kf9=\E[9r, khome=\E[H, 
7347         kich1=\E[@, kil1=\E[L, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, 
7348         rev=\E[7m, rmir=\E[4l, rmso=\E[m, sgr0=\E[m, smir=\E[4h, 
7349         smso=\E[7m, 
7350 att2350|AT&T 2350 Video Information Terminal 80 column mode, 
7351         mc0@, mc4@, mc5@, use=att2300, 
7352
7353 # Must setup RETURN KEY - CR, REC'VD LF - INDEX.
7354 # Seems upward compatible with vt100, plus ins/del line/char.
7355 # On sgr, the protection parameter is ignored.
7356 # No check is made to make sure that only 3 parameters are output.
7357 #       standout= reverse + half-intensity = 3 | 5.
7358 #       bold= reverse + underline = 2 | 3.
7359 # note that half-bright blinking doesn't look different from normal blinking.
7360 # NOTE:you must program the function keys first, label second!
7361 # (att4410: a BSD entry has been seen with the following capabilities: 
7362 # <is2=\E[?6l>, <kf1=\EOc>, <kf2=\EOd>, <kf3=\EOe>, <kf4=\EOg>,
7363 # <kf6=\EOh>, <kf7=\EOi>, <kf8=\EOj>, -- esr)
7364 att5410v1|att4410v1|tty5410v1|AT&T 4410/5410 80 columns - version 1, 
7365         am, hs, mir, msgr, xon, 
7366         cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80, 
7367         acsc=++\,\,--..00``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
7368         bel=^G, blink=\E[5m, bold=\E[2;7m, clear=\E[H\E[J, cr=^M, 
7369         csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C, 
7370         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dim=\E[2m, 
7371         dl1=\E[M, ed=\E[J, el=\E[K, fsl=\E8, home=\E[H, ht=^I, 
7372         ich1=\E[@, il1=\E[L, ind=^J, invis=\E[8m, is1=\E[?3l\E)0, 
7373         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, 
7374         kbs=^H, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
7375         kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, 
7376         kf6=\EOU, kf7=\EOV, kf8=\EOW, khome=\E[H, kll=\E[24;1H, 
7377         ll=\E[24H, nel=^M^J, 
7378         pfx=\E[%p1%1d;%p2%l%2.2dq   f%p1%1d           %p2%s, 
7379         pln=\E[%p1%d;00q%p2%:-16s, rc=\E8, rev=\E[7m, ri=\EM, 
7380         rmacs=^O, rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y, 
7381         sc=\E7, 
7382         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%;, 
7383         sgr0=\E[m\017, smacs=^N, smso=\E[7m, smul=\E[4m, 
7384         tsl=\E7\E[25;%p1%{1}%+%dH, 
7385
7386 att4410v1-w|att5410v1-w|tty5410v1-w|AT&T 4410/5410 132 columns - version 1, 
7387         cols#132, wsl#132, 
7388         is1=\E[?3h\E)0, rs2=\Ec\E[?3h\E[2;0y, use=att5410v1, 
7389
7390 att4410|att5410|tty5410|AT&T 4410/5410 80 columns - version 2, 
7391         OTbs, 
7392         pfx=\E[%p1%d;%p2%l%02dq   f%p1%d           %p2%s, 
7393         use=att5410v1, 
7394
7395 att5410-w|att4410-w|4410-w|tty5410-w|5410-w|AT&T 4410/5410 in 132 column mode, 
7396         cols#132, wsl#132, 
7397         is1=\E[?3h\E)0, rs2=\Ec\E[?3h\E[2;0y, use=att4410, 
7398
7399 # 5410 in terms of a vt100
7400 # (v5410: added <rmam>/<smam> based on init string -- esr)
7401 v5410|att5410 in terms of a vt100, 
7402         am, mir, msgr, xon, 
7403         cols#80, it#8, lines#24, vt#3, 
7404         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
7405         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
7406         clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
7407         cub1=^H, cud1=^J, cuf1=\E[C$<2>, 
7408         cup=\E[%i%p1%d;%p2%dH$<5>, cuu1=\E[A$<2>, dch1=\E[P, 
7409         dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>, 
7410         enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ich1=\E[@, 
7411         il1=\E[L, ind=^J, ka1=\EOq, ka3=\EOs, kb2=\EOr, kbs=^H, 
7412         kc1=\EOp, kc3=\EOn, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, 
7413         kcuu1=\EOA, kent=\EOM, kf0=\EOy, kf1=\EOP, kf10=\EOx, 
7414         kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt, kf6=\EOu, kf7=\EOv, 
7415         kf8=\EOl, kf9=\EOw, rc=\E8, rev=\E[7m$<2>, ri=\EM$<5>, 
7416         rmacs=^O, rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m$<2>, 
7417         rmul=\E[m$<2>, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
7418         sc=\E7, 
7419         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
7420         sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, 
7421         smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, 
7422
7423
7424 # Teletype Model 5420 -- A souped up 5410, with multiple windows,
7425 # even! the 5420 has three modes: scroll, window or page mode
7426 # this terminfo should work in scroll or window mode, but doesn't
7427 # take advantage of any of the differences between them.
7428 #
7429 # Has memory below (2 lines!)
7430 # 3 pages of memory (plus some spare)
7431 # The 5410 sequences for <cup>, <cvvis>, <dch>, <dl>, <ech>, <flash>, <home>,
7432 # <hpa>, <hts> would work for these, but these work in both scroll and window
7433 # mode... Unset insert character so insert mode works
7434 # <is1> sets 80 column mode,
7435 # <is2> escape sequence:
7436 # 1) turn off all fonts
7437 # 2) function keys off, keyboard lock off, control display off,
7438 #    insert mode off, erasure mode off,
7439 # 3) full duplex, monitor mode off, send graphics off, nl on lf off
7440 # 4) reset origin mode
7441 # 5) set line wraparound
7442 # 6) exit erasure mode, positional attribute mode, and erasure extent mode
7443 # 7) clear margins
7444 # 8) program ENTER to transmit ^J,
7445 # We use \212 to program the ^J because a bare ^J will get translated by
7446 # UNIX into a CR/LF. The enter key is needed for AT&T uOMS.
7447 #     1      2            3              4     5     6    7  8
7448 # <is3> set screen color to black,
7449 # No representation in terminfo for the delete word key: kdw1=\Ed
7450 # Key capabilities assume the power-up send sequence...
7451 # This <rmcup> is not strictly necessary, but it helps maximize 
7452 # memory usefulness: <rmcup=\Ez>,
7453 # Alternate sgr0:       <sgr0=\E[m\EW^O>,
7454 # 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%;>,
7455 # smkx programs the SYS PF keys to send a set sequence.
7456 # It also sets up labels f1, f2, ..., f8, and sends edit keys.
7457 # This string causes them to send the strings <kf1>-<kf8>
7458 # when pressed in SYS PF mode.
7459 # (att4415: I added <rmam>/<smam> based on the init string -- esr)
7460 att4415|tty5420|att5420|AT&T 4415/5420 80 cols, 
7461         OTbs, db, mir, xon, 
7462         lh#2, lm#78, lw#8, nlab#8, wsl#55, 
7463         cbt=\E[Z, clear=\E[x\E[J, cnorm=\E[11;0j, cub=\E[%p1%dD, 
7464         cud=\E[%p1%dB, cuf=\E[%p1%dC, cup=\E[%i%p1%d;%p2%dx, 
7465         cuu=\E[%p1%dA, cvvis=\E[11;1j, dch=\E[%p1%dP, 
7466         dl=\E[%p1%dM, ech=\E[%p1%ds\E[%p1%dD, 
7467         flash=\E[?5h$<200>\E[?5l, home=\E[x, 
7468         hpa=\E[%p1%{1}%+%dG, hts=\EH, ich=\E[%p1%d@, ich1@, 
7469         il=\E[%p1%dL, indn=\E[%p1%dE, is1=\E[?3l$<100>, 
7470         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, 
7471         is3=\E[?5l, kbeg=\Et, kcbt=\E[Z, kdch1=\E[P, kdl1=\E[M, 
7472         kel=\E[2K, kend=\Ez, kent=\Eent, kf1=\EOc, kf2=\EOd, 
7473         kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, 
7474         kich1=\E[4h, kil1=\E[L, kind=\E[T, kll=\Eu, knp=\E[U, 
7475         kpp=\E[V, kri=\E[S, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5, 
7476         lf6=F6, lf7=F7, lf8=F8, ll=\Ew, mc0=\E[?2i, mc4=\E[?9i, 
7477         mc5=\E[?4i, mrcup=\E[%i%p1%d;%p2%dt, 
7478         pfx=\E[%p1%d;%p2%l%02dq   F%p1%d           %p2%s, 
7479         pln=\E[%p1%d;0;0;0q%p2%:-16.16s, prot=\EV, 
7480         rin=\E[%p1%dF, rmam=\E[?7l, rmir=\E[4l, 
7481         rmkx=\E[19;0j\E[21;1j\212, rmln=\E|, 
7482         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%;, 
7483         sgr0=\E[m\017, smam=\E[?7h, smir=\E[4h, 
7484         smkx=\E[19;1j\E[21;4j\Eent, smln=\E~, tbc=\E[3g, 
7485         tsl=\E7\E[25;%p1%{8}%+%dH, vpa=\E[%p1%{1}%+%dd, 
7486         use=att4410, 
7487
7488 att4415-w|tty5420-w|att5420-w|AT&T 4415/5420 132 cols, 
7489         cols#132, lm#54, wsl#97, 
7490         is1=\E[?3h$<100>, use=att4415, 
7491
7492 att4415-rv|tty5420-rv|att5420-rv|AT&T 4415/5420 80 cols/rv, 
7493         flash=\E[?5l$<200>\E[?5h, is3=\E[?5h, use=att4415, 
7494
7495 att4415-w-rv|tty5420-w-rv|att5420-w-rv|AT&T 4415/5420 132 cols/rv, 
7496         cols#132, lm#54, wsl#97, 
7497         flash=\E[?5l$<200>\E[?5h, is1=\E[?3h$<100>, is3=\E[?5h, 
7498         use=att4415, 
7499
7500 # Note that this mode permits programming USER PF KEYS and labels
7501 # However, when you program user pf labels you have to reselect
7502 # user pf keys to make them appear! 
7503 att4415+nl|tty5420+nl|att5420+nl|generic AT&T 4415/5420 changes for not changing labels, 
7504         kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, 
7505         pfx=\E[%p1%d;%p2%l%02d;0;1q   F%p1%d           %p2%s, 
7506         pln=\E[%p1%d;0;0;1q%p2%:-16.16s, 
7507
7508 att4415-nl|tty5420-nl|att5420-nl|AT&T 4415/5420 without changing labels, 
7509         kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, use=att4415+nl, 
7510         use=att4415, 
7511
7512 att4415-rv-nl|tty5420-rv-nl|att5420-rv-nl|AT&T 4415/5420 reverse video without changing labels, 
7513         kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, use=att4415+nl, 
7514         use=att4415-rv, 
7515
7516 att4415-w-nl|tty5420-w-nl|att5420-w-nl|AT&T 4415/5420 132 cols without changing labels, 
7517         kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, use=att4415+nl, 
7518         use=att4415-w, 
7519
7520 att4415-w-rv-n|tty5420-w-rv-n|att5420-w-rv-n|AT&T 4415/5420 132 cols reverse without changing labels, 
7521         kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, use=att4415+nl, 
7522         use=att4415-w-rv, 
7523
7524 att5420_2|AT&T 5420 model 2 80 cols, 
7525         am, db, hs, mir, msgr, xon, 
7526         cols#80, it#8, lh#2, lines#24, lm#78, lw#8, nlab#8, wsl#55, 
7527         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
7528         blink=\E[5m, cbt=\E[1Z, clear=\EH\EJ, cnorm=\E[11;0j, 
7529         cr=\EG, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
7530         cud1=\E[1B, cuf=\E[%p1%dC, cuf1=\E[1C, 
7531         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cvvis=\E[11;1j, 
7532         dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, 
7533         dl1=\E[M, ech=\E[%p1%ds\E[%p1%dD, ed=\E[0J, el=\E[0K, 
7534         el1=\E[1K, flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H, 
7535         hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, 
7536         ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dE, 
7537         invis=\E[8m, 
7538         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, 
7539         kbeg=\Et, kbs=^H, kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, 
7540         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, 
7541         kel=\E[2K, kend=\Ez, kent=^J, kf1=\EOc, kf2=\EOd, kf3=\EOe, 
7542         kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, khome=\E[H, 
7543         kich1=\E[4h, kil1=\E[L, kind=\E[T, kll=\Eu, knp=\E[U, 
7544         kpp=\E[V, kri=\E[S, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5, 
7545         lf6=F6, lf7=F7, lf8=F8, ll=\Ew, mc0=\E[?;2i, mc4=\E[4i, 
7546         mc5=\E[5i, mrcup=\E[%i%p1%d;%p2%dt, nel=^M^J, 
7547         pfx=\E[%p1%d;%p2%l%02dq   F%p1%d           %p2%s\E~, 
7548         pln=\E[%p1%d;0;0;0q%p2%:-16.16s\E~, prot=\EV, rc=\E8, 
7549         rev=\E[7m, ri=\EM, rin=\E[%p1%dF, rmacs=^O, rmkx=\E[19;0j, 
7550         rmln=\E|, rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y, 
7551         sc=\E7, 
7552         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%;, 
7553         sgr0=\E[m\017, smacs=^N, smkx=\E[19;1j, smln=\E~, 
7554         smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
7555         tsl=\E7\E[25;%p1%{8}%+%dH, vpa=\E[%p1%{1}%+%dd, 
7556 att5420_2-w|AT&T 5420 model 2 in 132 column mode, 
7557         cols#132, 
7558         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, 
7559         use=att5420_2, 
7560
7561 att4418|att5418|AT&T 5418 80 cols, 
7562         am, xon, 
7563         cols#80, lines#24, 
7564         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
7565         bel=^G, blink=\E[5m, clear=\E[H\E[2J, cr=^M, cub=\E[%p1%dD, 
7566         cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, 
7567         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
7568         cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m, 
7569         dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[0K, home=\E[H, 
7570         ich=\E[%p1%d@, ich1=\E[1@, il=\E[%p1%dL, il1=\E[1L, ind=^J, 
7571         is1=\E[?3l, is2=\E)0\E?6l\E?5l, kclr=\E[%, kcub1=\E@, 
7572         kcud1=\EU, kcuf1=\EA, kcuu1=\ES, kent=\E[, kf1=\E[h, 
7573         kf10=\E[m, kf11=\E[n, kf12=\E[o, kf13=\E[H, kf14=\E[I, 
7574         kf15=\E[J, kf18=\E[K, kf19=\E[L, kf2=\E[i, kf20=\E[E, 
7575         kf21=\E[_, kf22=\E[M, kf23=\E[N, kf24=\E[O, kf3=\E[j, 
7576         kf6=\E[k, kf7=\E[l, kf8=\E[f, kf9=\E[w, khome=\Ec, rc=\E8, 
7577         rev=\E[7m, rmacs=^O, rmso=\E[m, rmul=\E[m, sc=\E7, 
7578         sgr0=\E[m\017, smacs=^N, smso=\E[7m, smul=\E[4m, 
7579 att4418-w|att5418-w|AT&T 5418 132 cols, 
7580         cols#132, 
7581         is1=\E[?3h, use=att5418, 
7582
7583 att4420|tty4420|teletype 4420, 
7584         OTbs, da, db, eo, msgr, ul, xon, 
7585         cols#80, lines#24, lm#72, 
7586         bel=^G, clear=\EH\EJ, cr=\EG, cub1=\ED, cud1=\EB, cuf1=\EC, 
7587         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EP, 
7588         dl1=\EM, ed=\EJ, el=\Ez, home=\EH, il1=\EL, ind=\EH\EM\EY7\s, 
7589         kcbt=\EO, kclr=\EJ, kcub1=^H, kcud1=\EB, kcuf1=\EC, 
7590         kcuu1=\EA, kdch1=\EP, kdl1=\EM, kf0=\EU, kf3=\E@, khome=\EH, 
7591         kich1=\E\^, kil1=\EL, kind=\ES, kri=\ET, 
7592         lf0=segment advance, lf3=cursor tab, rmdc@, rmso=\E~, 
7593         rmul=\EZ, smdc@, smso=\E}, smul=\E\\, 
7594
7595 #  The following is a terminfo entry for the Teletype 4424
7596 #  asynchronous keyboard-display terminal.  It supports
7597 #  the vi editor.  The terminal must be set up as follows,
7598 #       
7599 #       HIGHLIGHT DEFINITION    3-TONE
7600 #       DISPLAY FUNCTION        GROUP III
7601 #       
7602 #  The second entry below provides limited (a la adm3a)
7603 #  operation under GROUP II.
7604 #       
7605 #  This must be used with DISPLAY FUNCTION GROUP I or III
7606 #       and HIGHLIGHT DEFINITION 3-TONE
7607 # The terminal has either bold or blink, depending on options
7608 #
7609 # (att4424: commented out <smcup>=\E[1m, we don't need bright locked on -- esr)
7610 att4424|tty4424|teletype 4424, 
7611         OTbs, am, xon, 
7612         cols#80, lines#24, 
7613         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
7614         bel=^G, blink=\E3, bold=\E3, cbt=\EO, clear=\E[H\E[2J, cr=^M, 
7615         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
7616         cud=\E[%p1%dB, cud1=\EB, cuf=\E[%p1%dC, cuf1=\EC, 
7617         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EA, 
7618         dch=\E[%p1%dP, dch1=\EP, dim=\EW, dl=\E[%p1%dM, dl1=\EM, 
7619         ed=\EJ, el=\Ez, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, 
7620         ich1=\E\^, il=\E[%p1%dL, il1=\EL, ind=^J, is2=\E[20l\E[?7h, 
7621         kbs=^H, kclr=\EJ, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
7622         kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
7623         khome=\E[H, nel=\EE, rev=\E}, ri=\ET, rmacs=\E(B, rmso=\E~, 
7624         rmul=\EZ, 
7625         sgr=\E[%?%p1%t7%;%?%p2%t;4%;%?%p3%t;7%;%?%p6%t;1%;%?%p6%p4%|%t;5%;%?%p5%t;0%;m, 
7626         sgr0=\EX\E~\EZ\E4\E(B, smacs=\E(0, smso=\E}, smul=\E\\, 
7627         tbc=\EF, 
7628
7629 att4424-1|tty4424-1|teletype 4424 in display function group I, 
7630         kclr@, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome@, 
7631         use=att4424, 
7632
7633 # This entry is not one of AT&T's official ones, it was translated from the
7634 # 4.4BSD termcap file.  The highlight strings are different from att4424.
7635 # I have no idea why this is -- older firmware version, maybe?
7636 # The following two lines are the comment originally attached to the entry:
7637 # This entry appears to avoid the top line - I have no idea why.
7638 # From: jwb Wed Mar 31 13:25:09 1982 remote from ihuxp
7639 att4424m|tty4424m|teletype 4424M, 
7640         am, da, db, mir, 
7641         cols#80, it#8, lines#23, 
7642         bel=^G, clear=\E[2;H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
7643         cup=\E[%i%p1%2d;%p2%2dH\E[B, cuu1=\E[A, dch1=\EP, 
7644         dl1=\EM, el=\E[K, ht=^I, ich1=\E\^, il1=\EL, ind=^J, ip=$<2/>, 
7645         is2=\E[m\E[2;24r, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
7646         kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, 
7647         kf4=\EOS, khome=\E[H, nel=^M^J, ri=\ET, rmso=\E[m, rmul=\E[m, 
7648         sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
7649
7650 # The Teletype 5425 is really version 2 of the Teletype 5420. It 
7651 # is quite similar, except for some minor differences. No page 
7652 # mode, for example, so all of the <cup> sequences used above have 
7653 # to change back to what's being used for the 5410. Many of the 
7654 # option settings have changed their numbering as well.
7655
7656 # This has been tested on a preliminary model.
7657 #
7658 # (att5425: added <rmam>/<smam> based on the init string -- esr)
7659 att5425|tty5425|att4425|AT&T 4425/5425, 
7660         am, da, db, hs, mir, msgr, xenl, xon, 
7661         cols#80, it#8, lh#2, lines#24, lm#78, lw#8, nlab#8, wsl#55, 
7662         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
7663         bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z, 
7664         clear=\E[H\E[J, cnorm=\E[12;0j, cr=^M, 
7665         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
7666         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
7667         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
7668         cvvis=\E[12;1j, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
7669         dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%ds\E[%p1%dD, ed=\E[J, 
7670         el=\E[K, el1=\E[1K, enacs=\E(B\E)0, 
7671         flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H, 
7672         hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, 
7673         il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dE, 
7674         invis=\E[8m, is1=\E<\E[?3l$<100>, 
7675         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, 
7676         is3=\E[?5l, kbeg=\Et, kbs=^H, kcbt=\E[Z, kclr=\E[J, 
7677         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, 
7678         kdl1=\E[M, kel=\E[2K, kend=\Ez, kent=\Eent, kf1=\EOc, 
7679         kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, 
7680         kf8=\EOj, khome=\E[H, kich1=\E[4h, kil1=\E[L, kind=\E[T, 
7681         kri=\E[S, ll=\E[24H, mc0=\E[?2i, mc4=\E[?9i, mc5=\E[?4i, 
7682         nel=^M^J, 
7683         pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s, 
7684         pln=\E[%p1%d;0;0;0q%p2%:-16.16s, prot=\EV, rc=\E8, 
7685         rev=\E[7m, ri=\EM, rin=\E[%p1%dF, rmacs=^O, rmam=\E[?7l, 
7686         rmir=\E[4l, rmkx=\E[21;0j\E[25;1j\212, rmln=\E|, 
7687         rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y, sc=\E7, 
7688         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%;, 
7689         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
7690         smkx=\E[21;1j\E[25;4j\Eent\E~, smln=\E~, smso=\E[7m, 
7691         smul=\E[4m, tbc=\E[3g, tsl=\E7\E[25;%p1%{8}%+%dH, 
7692         vpa=\E[%p1%{1}%+%dd, 
7693
7694 att5425-nl|tty5425-nl|att4425-nl|AT&T 4425/5425 80 columns no labels, 
7695         smkx=\E[21;1j\E[25;4j\Eent, use=att4425, 
7696
7697 att5425-w|att4425-w|tty5425-w|teletype 4425/5425 in 132 column mode, 
7698         cols#132, lm#54, wsl#97, 
7699         is1=\E[?3h$<100>, use=tty5425, 
7700
7701 # (att4426: his had bogus capabilities: :ri=\EM:, :ri=\E[1U:. 
7702 # I also added <rmam>/<smam> -- esr)
7703 att4426|tty4426|teletype 4426S, 
7704         am, da, db, xon, 
7705         cols#80, lines#24, lm#48, 
7706         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
7707         bel=^G, bold=\E[5m, clear=\E[H\E[2J\E[1U\E[H\E[2J\E[1V, 
7708         cr=^M, cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, 
7709         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
7710         cuu=\E[%p1%dA, cuu1=\EA, dch=\E[%p1%dP, dch1=\EP, 
7711         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[0K, home=\E[H, 
7712         hpa=\E[%p1%dG, ht=^I, hts=\E1, ich=\E[%p1%d@, ich1=\E\^, 
7713         il=\E[%p1%dL, il1=\EL, ind=^J, indn=\E[%p1%dS, 
7714         is1=\Ec\E[?7h, is2=\E[m\E[1;24r, kbs=^H, kcbt=\EO, 
7715         kclr=\E[2J, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
7716         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, 
7717         kf7=\EOV, kf8=\EOW, khome=\E[H, kll=\E[24;1H, ll=\E[24H, 
7718         nel=^M^J, rc=\E8, rev=\E[7m, ri=\ET, rin=\E[%p1%dT, 
7719         rmacs=\E(B, rmam=\E[?7l, rmso=\E[m, rmul=\E[m, 
7720         rs2=\Ec\E[?3l\E[2;0y, sc=\E7, sgr0=\E[m\E(B, smacs=\E(0, 
7721         smam=\E[?7h, smso=\E[5m, smul=\E[4m, tbc=\E[3g, 
7722         vpa=\E[%p1%dd, 
7723
7724 # Terminfo entry for the AT&T 510 A Personal Terminal
7725 # Function keys 9 - 16 are available only after the 
7726 # screen labeled (soft keys/action blocks) are labeled.  Function key
7727 # 9 corresponds to the leftmost touch target on the screen,
7728 # function key 16 corresponds to the rightmost.
7729 #
7730 # This entry is based on one done by Ernie Rice at Summit, NJ and
7731 # changed by Anne Gallup, Skokie, IL, ttrdc!anne
7732 att510a|bct510a|AT&T 510A Personal Terminal, 
7733         am, mir, msgr, xenl, xon, 
7734         cols#80, lh#2, lines#24, lw#7, nlab#8, 
7735         acsc=+g\,h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~, 
7736         bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z, 
7737         civis=\E[11;0|, clear=\E[H\E[J, cnorm=\E[11;3|, cr=^M, 
7738         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[1B, 
7739         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
7740         cuu=\E[%p1%dA, cuu1=\E[A, cvvis=\E[11;2|, dch=\E[%p1%dP, 
7741         dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, 
7742         el=\E[0K, el1=\E[1K, enacs=\E(B\E)1, ff=^L, home=\E[H, ht=^I, 
7743         hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=^J, is1=\E(B\E)1\E[2l, 
7744         is3=\E[21;1|\212, kLFT=\E[u, kRIT=\E[v, kbs=^H, kcbt=\E[Z, 
7745         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOm, 
7746         kf10=\EOd, kf11=\EOe, kf12=\EOf, kf13=\EOg, kf14=\EOh, 
7747         kf15=\EOi, kf16=\EOj, kf2=\EOV, kf3=\EOu, kf4=\ENj, kf5=\ENe, 
7748         kf6=\ENf, kf7=\ENh, kf8=\E[H, kf9=\EOc, kind=\E[S, kri=\E[T, 
7749         mc0=\E[0i, mc4=\E[?8i, mc5=\E[?4i, nel=\EE, 
7750         pln=\E[%p1%dp%p2%:-16s, rc=\E8, rev=\E[7m, ri=\EM, 
7751         rmacs=^O, rmkx=\E[19;0|, rmso=\E[m, rmul=\E[m, sc=\E7, 
7752         sgr=\E[0%?%p5%p6%|%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;m%?%p9%t\016%e\017%;, 
7753         sgr0=\E[m\017, smacs=^N, smkx=\E[19;1|, smso=\E[7m, 
7754         smul=\E[4m, tbc=\E[3g, 
7755
7756 # Terminfo entry for the AT&T 510 D Personal Terminal
7757 # Function keys 9 through 16 are accessed by bringing up the
7758 # system blocks.
7759 # Function key 9 corresponds to the leftmost touch target on the screen,
7760 # function key 16 corresponds to the rightmost.
7761 #
7762 # There are problems with soft key labeling.  These are due to 
7763 # strangenesses in the native terminal that are impossible to
7764 # describe in a terminfo.  
7765 att510d|bct510d|AT&T 510D Personal Terminal, 
7766         am, da, db, mir, msgr, xenl, xon, 
7767         cols#80, lh#2, lines#24, lm#48, lw#7, nlab#8, 
7768         acsc=+g\,h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~, 
7769         bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z, 
7770         clear=\E[H\E[J, cnorm=\E[11;3|, cr=^M, cub=\E[%p1%dD, 
7771         cub1=^H, cud=\E[%p1%dB, cud1=\E[1B, cuf=\E[%p1%dC, 
7772         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
7773         cuu1=\E[A, cvvis=\E[11;2|, dch=\E[%p1%dP, dch1=\E[P, 
7774         dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[0K, 
7775         el1=\E[1K, enacs=\E(B\E)1, ff=^L, home=\E[H, 
7776         hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, 
7777         il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, 
7778         invis=\E[8m, is1=\E(B\E)1\E[5;0|, is3=\E[21;1|\212, 
7779         kLFT=\E[u, kRIT=\E[v, kbs=^H, kcbt=\E[Z, kcub1=\E[D, 
7780         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOm, kf10=\EOd, 
7781         kf11=\EOe, kf12=\EOf, kf13=\EOg, kf14=\EOh, kf15=\EOi, 
7782         kf16=\EOj, kf2=\EOV, kf3=\EOu, kf4=\ENj, kf5=\ENe, kf6=\ENf, 
7783         kf7=\ENh, kf8=\E[H, kf9=\EOc, kind=\E[S, kri=\E[T, ll=\E#2, 
7784         mc0=\E[0i, mc4=\E[?8i, mc5=\E[?4i, mgc=\E\:, nel=\EE, 
7785         pln=\E[%p1%dp%p2%:-16s, rc=\E8, 
7786         rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, 
7787         rin=\E[%p1%dT, rmacs=^O, rmir=\E[4l, rmkx=\E[19;0|, 
7788         rmln=\E<, rmso=\E[m, rmul=\E[m, rmxon=\E[29;1|, 
7789         rs2=\E[5;0|, sc=\E7, 
7790         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%;, 
7791         sgr0=\E[m\017, smacs=^N, smgl=\E4, smgr=\E5, smir=\E[4h, 
7792         smkx=\E[19;1|, smln=\E?, smso=\E[7m, smul=\E[4m, 
7793         smxon=\E[29;0|, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd, 
7794
7795 # (att500: I merged this with the att513 entry, att500 just used att513 -- esr)
7796 att500|att513|AT&T 513 using page mode, 
7797         am, chts, mir, msgr, xenl, xon, 
7798         cols#80, lh#2, lines#24, lw#8, nlab#8, 
7799         acsc=+g\,h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~, 
7800         bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z, 
7801         clear=\E[H\E[J, cnorm=\E[11;0|, cr=^M, 
7802         csr=%i\E[%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
7803         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
7804         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
7805         cvvis=\E[11;1|, dch=\E[%p1%dP, dch1=\E[P$<1>, dim=\E[2m, 
7806         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, 
7807         enacs=\E(B\E)1, home=\E[H, hpa=\E[%p1%{1}%+%dG, ht=^I, 
7808         hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
7809         indn=\E[%p1%dE, invis=\E[8m, 
7810         is1=\E?\E[3;3|\E[10;0|\E[21;1|\212\E[6;1|\E[1{\E[?99l, 
7811         kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, kCRT=\EON, 
7812         kDC=\ENF, kDL=\ENE, kEND=\ENN, kEOL=\EOA, kEXT=\EOK, 
7813         kFND=\EOX, kHLP=\EOM, kHOM=\ENM, kIC=\ENJ, kLFT=\ENK, 
7814         kMOV=\ENC, kMSG=\EOL, kNXT=\ENH, kOPT=\EOR, kPRT=\EOZ, 
7815         kPRV=\ENG, kRDO=\EOT, kRES=\EOQ, kRIT=\ENL, kRPL=\EOY, 
7816         kSAV=\EOO, kSPD=\EOP, kUND=\EOS, kbeg=\E9, kbs=^H, kcan=\EOw, 
7817         kcbt=\E[Z, kclo=\EOV, kclr=\E[J, kcmd=\EOu, kcpy=\ENd, 
7818         kcrt=\EOn, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
7819         kdch1=\ENf, kdl1=\ENe, kel=\EOa, kend=\E0, kent=\Eent, 
7820         kext=\EOk, kf1=\EOc, kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg, 
7821         kf6=\EOh, kf7=\EOi, kf8=\EOj, kfnd=\EOx, khlp=\EOm, 
7822         khome=\E[H, kich1=\ENj, kind=\E[S, kmov=\ENc, kmrk=\ENi, 
7823         kmsg=\EOl, knp=\E[U, knxt=\ENh, kopn=\EOv, kopt=\EOr, 
7824         kpp=\E[V, kprt=\EOz, kprv=\ENg, krdo=\EOt, kref=\EOb, 
7825         kres=\EOq, krfr=\ENa, kri=\E[T, krpl=\EOy, krst=\EOB, 
7826         ksav=\EOo, kslt=\ENI, kspd=\EOp, kund=\EOs, ll=\E#2, 
7827         mc0=\E[?98l\E[0i, mc4=\E[?98l\E[?8i, mc5=\E[?98l\E[?4i, 
7828         nel=\EE, 
7829         pfkey=\E[%p1%d;%p2%l%d;3;0p   F%p1%d           %p2%s, 
7830         pfloc=\E[%p1%d;%p2%l%d;2;0p   F%p1%d           %p2%s, 
7831         pfx=\E[%p1%d;%p2%l%d;1;0p   F%p1%d           %p2%s, 
7832         pln=\E[%p1%dp%p2%:-16s, rc=\E8, 
7833         rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, 
7834         rin=\E[%p1%dF, rmacs=^O, rmir=\E[4l, 
7835         rmkx=\E[19;0|\E[21;1|\212, rmln=\E<, rmso=\E[m, 
7836         rmul=\E[m, 
7837         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, 
7838         rs2=\E[5;0|, sc=\E7, 
7839         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%;, 
7840         sgr0=\E[m\017, smacs=^N, smir=\E[4h, 
7841         smkx=\E[19;1|\E[21;4|\Eent, smln=\E?, smso=\E[7m, 
7842         smul=\E[4m, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd, 
7843
7844 # 01-07-88
7845 # printer must be set to EMUL ANSI to accept ESC codes
7846 # <cuu1> stops at top margin
7847 # <is1> sets cpi 10,lpi 6,form 66,left 1,right 132,top 1,bottom 66,font
7848 #       and alt font ascii,wrap on,tabs cleared
7849 # <is2> disables newline on LF,Emphasized off
7850 # The <u0> capability sets form length
7851 att5310|att5320|AT&T Model 53210 or 5320 matrix printer, 
7852         xhpa, xvpa, 
7853         bufsz#8192, cols#132, cps#120, it#8, lines#66, orc#10, 
7854         orhi#100, orl#12, orvi#72, 
7855         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%;, 
7856         cr=^M, 
7857         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%;, 
7858         cud=\E[%p1%de, cud1=^J, cuf=\E[%p1%da, cuf1=\s, cuu1=\EM, 
7859         ff=^L, hpa=\E[%p1%d`, ht=^I, is1=\Ec, is2=\E[20l\r, 
7860         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%;, 
7861         rshm=\E[m, 
7862         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(}%;, 
7863         smgbp=\E[;%p1%dr, smglp=\E[%{1}%p1%+%ds, 
7864         smgrp=\E[;%{1}%p1%+%ds, smgtp=\E[%p1%dr, sshm=\E[5m, 
7865         u0=\E[%p1%dt, vpa=\E[%p1%dd, 
7866
7867 # Teletype 5620, firmware version 1.1 (8;7;3) or earlier from BRL
7868 # The following SET-UP modes are assumed for normal operation:
7869 #       CR_DEF=CR       NL_DEF=INDEX    DUPLEX=FULL
7870 # Other SET-UP modes may be set for operator convenience or communication
7871 # requirements.  This termcap description is for the Resident Terminal Mode.
7872 # No delays specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
7873 # The BRL entry also said: UNSAFE :ll=\E[70H:
7874 att5620-1|tty5620-1|dmd1|Teletype 5620 with old ROMs, 
7875         am, xon, 
7876         cols#88, it#8, lines#70, vt#3, 
7877         bel=^G, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
7878         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP, 
7879         dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, 
7880         home=\E[H, ht=^I, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, 
7881         il1=\E[L, ind=^J, indn=\E[%p1%dS, kbs=^H, kclr=\E[2J, 
7882         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, 
7883         kll=\E[70;1H, nel=^M^J, rc=\E8, ri=\E[T, rin=\E[%p1%dT, 
7884         rs1=\Ec, sc=\E7, 
7885
7886 # 5620 terminfo  (2.0 or later ROMS with char attributes)
7887 # The following SET-UP modes are assumed for normal operation:
7888 #       DUPLEX=FULL     GEN_FLOW=ON     NEWLINE=INDEX   RETURN=CR
7889 # Other SET-UP modes may be set for operator convenience or communication
7890 # requirements.  This termcap description is for Resident Terminal Mode.  No
7891 # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
7892 # assumptions: <ind> (scroll forward one line) is only done at screen bottom
7893 # Be aware that older versions of the dmd have a firmware bug that affects
7894 # parameter defaulting; for this terminal, the 0 in \E[0m is not optional.
7895 # <msgr> is from an otherwise inferior BRL for this terminal.  That entry
7896 # also has <ll>=\E[70H commented out and marked unsafe.
7897 # For more, see the 5620 FAQ maintained by David Breneman <daveb@dgtl.com>.
7898 att5620|dmd|tty5620|ttydmd|5620|5620 terminal 88 columns, 
7899         OTbs, am, msgr, npc, xon, 
7900         cols#88, it#8, lines#70, 
7901         bel=^G, bold=\E[2m, clear=\E[H\E[J, cr=^M, cub1=^H, 
7902         cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
7903         dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, 
7904         dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich=\E[%p1%d@, 
7905         ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S, 
7906         indn=\E[%p1%dS, kbs=^H, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, 
7907         kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, kll=\E[70;1H, nel=^J, 
7908         pfx=\E[%p1%d;%p2%l%dq%p2%s, rc=\E8, rev=\E[7m, ri=\E[T, 
7909         rin=\E[%p1%dT, rmso=\E[0m, rmul=\E[0m, rs1=\Ec, sc=\E7, 
7910         sgr0=\E[0m, smso=\E[7m, smul=\E[4m, 
7911 att5620-24|tty5620-24|dmd-24|teletype dmd 5620 in a 24x80 layer, 
7912         lines#24, use=att5620, 
7913 att5620-34|tty5620-34|dmd-34|teletype dmd 5620 in a 34x80 layer, 
7914         lines#34, use=att5620, 
7915 # 5620 layer running the "S" system's downloaded graphics handler:
7916 att5620-s|tty5620-s|layer|vitty|5620 S layer, 
7917         OTbs, OTpt, am, 
7918         cols#80, it#8, lines#72, 
7919         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, 
7920         cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=^K, dl1=\ED, 
7921         el=\EK, flash=\E^G, ht=^I, il1=\EI, ind=^J, kbs=^H, kclr=\E[2J, 
7922         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, 
7923         kll=\E[70;1H, 
7924
7925 # Entries for <kf15> thru <kf28> refer to the shifted system pf keys.
7926 #
7927 # Entries for <kf29> thru <kf46> refer to the alternate keypad mode
7928 # keys:  = * / + 7 8 9 - 4 5 6 , 1 2 3 0 . ENTER
7929 att605|AT&T 605 80 column 102key keyboard, 
7930         am, eo, xon, 
7931         cols#80, lines#24, lw#8, nlab#8, wsl#80, 
7932         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
7933         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J, 
7934         cr=^M, cub1=^H, cud1=\E[B, cuf1=\E[C, 
7935         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP, 
7936         dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
7937         el=\E[K, el1=\E[1K, fsl=\E8, ht=^I, ich=\E[%p1%d@, ich1=\E[@, 
7938         il1=\E[L, ind=^J, invis=\E[8m, 
7939         is1=\E[8;0|\E[?\E[13;20l\E[?\E[12h, is2=\E[m\017, 
7940         kLFT=\E[ A, kRIT=\E[ @, kbs=^H, kcbt=\E[Z, kclr=\E[2J, 
7941         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, 
7942         kdl1=\E[M, kend=\E[24;1H, kf1=\EOc, kf10=\ENp, kf11=\ENq, 
7943         kf12=\ENr, kf13=\ENs, kf14=\ENt, kf15=\EOC, kf16=\EOD, 
7944         kf17=\EOE, kf18=\EOF, kf19=\EOG, kf2=\EOd, kf20=\EOH, 
7945         kf21=\EOI, kf22=\EOJ, kf23=\ENO, kf24=\ENP, kf25=\ENQ, 
7946         kf26=\ENR, kf27=\ENS, kf28=\ENT, kf29=\EOP, kf3=\EOe, 
7947         kf30=\EOQ, kf31=\EOR, kf32=\EOS, kf33=\EOw, kf34=\EOx, 
7948         kf35=\EOy, kf36=\EOm, kf37=\EOt, kf38=\EOu, kf39=\EOv, 
7949         kf4=\EOf, kf40=\EOl, kf41=\EOq, kf42=\EOr, kf43=\EOs, 
7950         kf44=\EOp, kf45=\EOn, kf46=\EOM, kf5=\EOg, kf6=\EOh, 
7951         kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H, kich1=\E[@, 
7952         kil1=\E[L, kind=\E[S, knp=\E[U, kpp=\E[V, ll=\E[24H, 
7953         mc4=\E[?4i, mc5=\E[?5i, nel=\EE, 
7954         pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s, 
7955         pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, rev=\E[7m, 
7956         rmacs=^O, rmir=\E[4l, rmln=\E[2p, rmso=\E[m, rmul=\E[m, 
7957         rs2=\Ec\E[?3l, sc=\E7, sgr0=\E[m\017, smacs=\E)0\016, 
7958         smir=\E[4h, smln=\E[p, smso=\E[7m, smul=\E[4m, 
7959         tsl=\E7\E[25;%i%p1%dx, 
7960 att605-pc|ATT 605 in pc term mode, 
7961         acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263, 
7962         cbt=\E[Z, cub1=\E[D, cud1=\E[B, cuf1=\E[C, cuu1=\E[A, 
7963         dch1=\E[P, dl1=\E[M, ich1=\E[@, il=\E[L, il1=\E[L, kcbt=\E[Z, 
7964         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, 
7965         kdl1=\E[M, kend=\E[F, kf1=\E[M, kf10=\E[V, kf2=\E[N, 
7966         kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S, kf8=\E[T, 
7967         kf9=\E[U, khome=\E[H, kich1=\E[@, knp=\E[G, kpp=\E[I, 
7968         rmsc=400\E[50;0|, smsc=250\E[?11l\E[50;1|, xoffc=g, 
7969         xonc=e, use=att605, 
7970 att605-w|AT&T 605-w 132 column 102 key keyboard, 
7971         cols#132, wsl#132, 
7972         is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h\E(B\E)0, 
7973         use=att605, 
7974 # (att610: I added <rmam>/<smam> based on the init string.  I also
7975 # added <indn> and <rin> because the BSD file says the att615s have them,
7976 # and the 615 is like a 610 with a big keyboard, and most of their other
7977 # smart terminals support the same sequence -- esr)
7978 att610|AT&T 610; 80 column; 98key keyboard, 
7979         am, eslok, hs, mir, msgr, xenl, xon, 
7980         cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80, 
7981         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
7982         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
7983         clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M, 
7984         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
7985         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
7986         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
7987         cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
7988         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, 
7989         flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H, ht=^I, 
7990         ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
7991         indn=\E[%p1%dS, invis=\E[8m, 
7992         is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)0, 
7993         is2=\E[m\017, is3=\E(B\E)0, kLFT=\E[ @, kRIT=\E[ A, kbs=^H, 
7994         kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
7995         kcuu1=\E[A, kf1=\EOc, kf10=\ENp, kf11=\ENq, kf12=\ENr, 
7996         kf13=\ENs, kf14=\ENt, kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg, 
7997         kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H, 
7998         kind=\E[S, kri=\E[T, ll=\E[24H, mc4=\E[?4i, mc5=\E[?5i, 
7999         nel=\EE, 
8000         pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s, 
8001         pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, rev=\E[7m, 
8002         ri=\EM, rin=\E[%p1%dT, rmacs=^O, rmam=\E[?7l, rmir=\E[4l, 
8003         rmln=\E[2p, rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l, sc=\E7, 
8004         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%;, 
8005         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
8006         smln=\E[p, smso=\E[7m, smul=\E[4m, tsl=\E7\E[25;%i%p1%dx, 
8007 att610-w|AT&T 610; 132 column; 98key keyboard, 
8008         cols#132, wsl#132, 
8009         is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h, 
8010         use=att610, 
8011
8012 att610-103k|AT&T 610; 80 column; 103key keyboard, 
8013         kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, kCRT=\EON, 
8014         kDC=\ENF, kDL=\ENE, kEND=\ENN, kEOL=\EOA, kEXT=\EOK, 
8015         kFND=\EOX, kHLP=\EOM, kMOV=\ENC, kMSG=\EOL, kNXT=\ENH, 
8016         kOPT=\EOR, kPRT=\EOZ, kPRV=\ENG, kRDO=\EOT, kRES=\EOQ, 
8017         kRPL=\EOY, kSAV=\EOO, kSPD=\EOP, kUND=\EOS, kbeg=\E9, 
8018         kcan=\EOw, kclo=\EOV, kcmd=\EOu, kcpy=\ENd, kcrt=\EOn, 
8019         kdch1=\ENf, kdl1=\ENe, kel=\EOa, kend=\E0, kent=^M, 
8020         kext=\EOk, kf10@, kf11@, kf12@, kf13@, kf14@, kf9@, kfnd=\EOx, 
8021         khlp=\EOm, kich1=\ENj, kmov=\ENc, kmrk=\ENi, kmsg=\EOl, 
8022         knp=\E[U, knxt=\ENh, kopn=\EOv, kopt=\EOr, kpp=\E[V, 
8023         kprt=\EOz, kprv=\ENg, krdo=\EOt, kref=\EOb, kres=\EOq, 
8024         krfr=\ENa, krmir=\ENj, krpl=\EOy, krst=\EOB, ksav=\EOo, 
8025         kslt=\ENI, kspd=\EOp, kund=\EOs, use=att610, 
8026 att610-103k-w|AT&T 610; 132 column; 103key keyboard, 
8027         cols#132, wsl#132, 
8028         is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h, 
8029         use=att610-103k, 
8030 att615|AT&T 615; 80 column; 98key keyboard, 
8031         kLFT=\E[ A, kRIT=\E[ @, kf15=\EOC, kf16=\EOD, kf17=\EOE, 
8032         kf18=\EOF, kf19=\EOG, kf20=\EOH, kf21=\EOI, kf22=\EOJ, 
8033         kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR, kf27=\ENS, 
8034         kf28=\ENT, kf29=\EOP, kf30=\EOQ, kf31=\EOR, kf32=\EOS, 
8035         kf33=\EOw, kf34=\EOx, kf35=\EOy, kf36=\EOm, kf37=\EOt, 
8036         kf38=\EOu, kf39=\EOv, kf40=\EOl, kf41=\EOq, kf42=\EOr, 
8037         kf43=\EOs, kf44=\EOp, kf45=\EOn, kf46=\EOM, use=att610, 
8038 att615-w|AT&T 615; 132 column; 98key keyboard, 
8039         kLFT=\E[ A, kRIT=\E[ @, kf15=\EOC, kf16=\EOD, kf17=\EOE, 
8040         kf18=\EOF, kf19=\EOG, kf20=\EOH, kf21=\EOI, kf22=\EOJ, 
8041         kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR, kf27=\ENS, 
8042         kf28=\ENT, kf29=\EOP, kf30=\EOQ, kf31=\EOR, kf32=\EOS, 
8043         kf33=\EOw, kf34=\EOx, kf35=\EOy, kf36=\EOm, kf37=\EOt, 
8044         kf38=\EOu, kf39=\EOv, kf40=\EOl, kf41=\EOq, kf42=\EOr, 
8045         kf43=\EOs, kf44=\EOp, kf45=\EOn, kf46=\EOM, use=att610-w, 
8046 att615-103k|AT&T 615; 80 column; 103key keyboard, 
8047         kLFT=\E[ A, kRIT=\E[ @, use=att610-103k, 
8048 att615-103k-w|AT&T 615; 132 column; 103key keyboard, 
8049         kLFT=\E[ A, kRIT=\E[ @, use=att610-103k-w, 
8050 # (att620: I added <rmam>/<smam> based on the init string and
8051 # <rin>/<indn> from a BSD termcap -- esr)
8052 att620|AT&T 620; 80 column; 98key keyboard, 
8053         am, eslok, hs, mir, msgr, xenl, xon, 
8054         cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80, 
8055         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
8056         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
8057         clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M, 
8058         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
8059         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
8060         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
8061         cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
8062         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, 
8063         flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H, ht=^I, 
8064         ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
8065         indn=\E[%p1%dS, invis=\E[8m, 
8066         is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h, 
8067         is2=\E[m\017, is3=\E(B\E)0, kLFT=\E[ A, kRIT=\E[ @, kbs=^H, 
8068         kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
8069         kcuu1=\E[A, kf1=\EOc, kf10=\ENp, kf11=\ENq, kf12=\ENr, 
8070         kf13=\ENs, kf14=\ENt, kf15=\EOC, kf16=\EOD, kf17=\EOE, 
8071         kf18=\EOF, kf19=\EOG, kf2=\EOd, kf20=\EOH, kf21=\EOI, 
8072         kf22=\EOJ, kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR, 
8073         kf27=\ENS, kf28=\ENT, kf29=\EOP, kf3=\EOe, kf30=\EOQ, 
8074         kf31=\EOR, kf32=\EOS, kf33=\EOw, kf34=\EOx, kf35=\EOy, 
8075         kf36=\EOm, kf37=\EOt, kf38=\EOu, kf39=\EOv, kf4=\EOf, 
8076         kf40=\EOl, kf41=\EOq, kf42=\EOr, kf43=\EOs, kf44=\EOp, 
8077         kf45=\EOn, kf46=\EOM, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, 
8078         kf9=\ENo, khome=\E[H, kind=\E[S, kri=\E[T, ll=\E[24H, 
8079         mc4=\E[?4i, mc5=\E[?5i, nel=\EE, 
8080         pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s, 
8081         pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, rev=\E[7m, 
8082         ri=\EM, rin=\E[%p1%dT, rmacs=\E(B\017, rmam=\E[?7l, 
8083         rmir=\E[4l, rmln=\E[2p, rmso=\E[m, rmul=\E[m, 
8084         rs2=\Ec\E[?3l, sc=\E7, 
8085         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%;, 
8086         sgr0=\E[m\E(B\017, smacs=\E)0\016, smam=\E[?7h, 
8087         smir=\E[4h, smln=\E[p, smso=\E[7m, smul=\E[4m, 
8088         tsl=\E7\E[25;%i%p1%dx, 
8089 att620-w|AT&T 620; 132 column; 98key keyboard, 
8090         cols#132, wsl#132, 
8091         is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h, 
8092         use=att620, 
8093 att620-103k|AT&T 620; 80 column; 103key keyboard, 
8094         kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, kCRT=\EON, 
8095         kDC=\ENF, kDL=\ENE, kEND=\ENN, kEOL=\EOA, kEXT=\EOK, 
8096         kFND=\EOX, kHLP=\EOM, kMOV=\ENC, kMSG=\EOL, kNXT=\ENH, 
8097         kOPT=\EOR, kPRT=\EOZ, kPRV=\ENG, kRDO=\EOT, kRES=\EOQ, 
8098         kRPL=\EOY, kSAV=\EOO, kSPD=\EOP, kUND=\EOS, kbeg=\E9, 
8099         kcan=\EOw, kclo=\EOV, kcmd=\EOu, kcpy=\ENd, kcrt=\EOn, 
8100         kdch1=\ENf, kdl1=\ENe, kel=\EOa, kend=\E0, kent=^M, 
8101         kext=\EOk, kf10@, kf11@, kf12@, kf13@, kf14@, kf15@, kf16@, kf17@, 
8102         kf18@, kf19@, kf20@, kf21@, kf22@, kf23@, kf24@, kf25@, kf26@, kf27@, 
8103         kf28@, kf29@, kf30@, kf31@, kf32@, kf33@, kf34@, kf35@, kf36@, kf37@, 
8104         kf38@, kf39@, kf40@, kf41@, kf42@, kf43@, kf44@, kf45@, kf46@, kf9@, 
8105         kfnd=\EOx, khlp=\EOm, kich1=\ENj, kmov=\ENc, kmrk=\ENi, 
8106         kmsg=\EOl, knp=\E[U, knxt=\ENh, kopn=\EOv, kopt=\EOr, 
8107         kpp=\E[V, kprt=\EOz, kprv=\ENg, krdo=\EOt, kref=\EOb, 
8108         kres=\EOq, krfr=\ENa, krmir=\ENj, krpl=\EOy, krst=\EOB, 
8109         ksav=\EOo, kslt=\ENI, kspd=\EOp, kund=\EOs, use=att620, 
8110
8111 att620-103k-w|AT&T 620; 132 column; 103key keyboard, 
8112         cols#132, wsl#132, 
8113         is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h, 
8114         use=att620-103k, 
8115
8116 # AT&T (formerly Teletype) 630 Multi-Tasking Graphics terminal
8117 # The following SETUP modes are assumed for normal operation:
8118 #       Local_Echo=Off  Gen_Flow=On     Return=CR       Received_Newline=LF
8119 #       Font_Size=Large         Non-Layers_Window_Cols=80
8120 #                               Non-Layers_Window_Rows=60
8121 # Other SETUP modes may be set for operator convenience or communication
8122 # requirements.  Some capabilities assume a printer attached to the Aux EIA
8123 # port.  This termcap description is for the Fixed Non-Layers Window.  No
8124 # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
8125 # (att630: added <ich1>, <blink> and <dim> from a BSD termcap file -- esr)
8126 att630|AT&T 630 windowing terminal, 
8127         OTbs, am, da, db, mir, msgr, npc, xon, 
8128         cols#80, it#8, lines#60, lm#0, 
8129         bel=^G, blink=\E[5m, cbt=\E[Z, clear=\E[H\E[J, cr=^M, 
8130         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, 
8131         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
8132         cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
8133         dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, 
8134         el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@, ich1=\E[@, 
8135         il=\E[%p1%dL, il1=\E[L, ind=\ED, indn=\E[%p1%dS, is2=\E[m, 
8136         kbs=^H, kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, 
8137         kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, kent=^M, 
8138         kf10=\ENp, kf11=\ENq, kf12=\ENr, kf13=\ENs, kf14=\ENt, 
8139         kf15=\ENu, kf16=\ENv, kf17=\ENw, kf18=\ENx, kf19=\ENy, 
8140         kf20=\ENz, kf21=\EN{, kf22=\EN|, kf23=\EN}, kf24=\EN~, 
8141         kf9=\ENo, khome=\E[H, kich1=\E[@, kil1=\E[L, mc4=\E[?4i, 
8142         mc5=\E[?5i, nel=^M^J, pfx=\E[%p1%d;%p2%l%dq%p2%s, rc=\E8, 
8143         rev=\E[7m, ri=\EM, rin=\E[%p1%dT, rmir=\E[4l, rmso=\E[m, 
8144         rmul=\E[m, rs2=\Ec, sc=\E7, 
8145         sgr=\E[0%?%p2%t;4%;%?%p1%p3%|%p4%|%p5%|%t;7%;m, 
8146         sgr0=\E[m, smir=\E[4h, smso=\E[7m, smul=\E[4m, 
8147 att630-24|5630-24|5630DMD-24|630MTG-24|AT&T 630 windowing terminal 24 lines, 
8148         lines#24, use=att630, 
8149
8150 # This is the att700 entry for 700 native emulation of the AT&T 700
8151 # terminal.  Comments are relative to changes from the 605V2 entry and
8152 # att730 on which the entry is based.  Comments show the terminfo
8153 # capability name, termcap name, and description.
8154 #
8155 # Here is what's going onm in the init string:
8156 #       ESC [ 50;4|     set 700 native mode (really is 605)
8157 # x     ESC [ 56;ps|    set lines to 24: ps=0; 40: ps=1 (plus status line)
8158 #       ESC [ 53;0|     set GenFlow to Xon/Xoff
8159 #       ESC [ 8 ;0|     set CR on NL 
8160 # x     ESC [ ? 3 l/h   set workspace: 80 col(l); 132 col(h)
8161 #       ESC [ ? 4 l     jump scroll 
8162 #       ESC [ ? 5 l/h   video: normal (l); reverse (h)
8163 #       ESC [ ?13 l     Labels on
8164 #       ESC [ ?15 l     parity check = no
8165 #       ESC [ 13 l      monitor mode off
8166 #       ESC [ 20 l      LF on NL (not CRLF on NL)
8167 #       ESC [ ? 7 h     autowrap on
8168 #       ESC [ 12 h      local echo off
8169 #       ESC ( B         GO = ASCII
8170 #       ESC ) 0         G1 = Special Char & Line Drawing
8171 #       ESC [ ? 31 l    Set 7 bit controls
8172 #
8173 # Note: Most terminals, especially the 600 family use Reverse Video for
8174 # standout mode.  DEC also uses reverse video.  The VT100 uses bold in addition
8175 # Assume we should stay with reverse video for 70..  However, the 605V2 exits
8176 # standout mode with \E[m (all normal attributes).  The 730 entry simply
8177 # exits reverse video which would leave other current attributes intact.  It
8178 # was assumed the 730 entry to be more correct so rmso has changed.  The
8179 # 605V2 has no sequences to turn individual attributes off, thus its setting
8180 # and the rmso/smso settings from the 730.
8181 #
8182 # Note: For the same reason as above in rmso I changed exit under-score mode
8183 # to specifically turn off underscore, rather than return to all normal 
8184 # attributes
8185 #
8186 # Note: The following pkey_xmit is taken from the 605V2 which contained the
8187 # capability as pfxl.  It was changed here to pfx since pfxl
8188 # will only compile successfully with Unix 4.0 tic.  Also note that pfx only
8189 # allows strings to be parameters and label values must be programmed as
8190 # constant strings.  Supposedly the pfxl of Version 4.0 allows both labels
8191 # and strings to be parameters.  The 605V2 pfx entry should be examined later
8192 # in this regard. For reference the 730 pfxl entry is shown here for comparison
8193 # 730 pfx entry:
8194 #     pfxl=\E[%?%p1%{25}%<%t%p1%e%p1%{24}%-%;%d;%p2%l%02d%?%p1%{25}%<%tq\s\s\s
8195 # SYS\s\s\s\s\sF%p1%:-2d\s\s%e;0;3q%;%p2%s,
8196 #
8197 # (for 4.0 tic)
8198 #     pfxl=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s,
8199 #
8200 # (for <4.0 tic)
8201 #     pfx=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s,
8202 #
8203 # From the AT&T 705 Multi-tasking terminal user's guide Page 8-8,8-9
8204 #
8205 # Port1 Interface
8206 #
8207 # modular 10 pin Connector
8208 # Left side       Right side
8209 # Pin 1 2 3 4 5 6 7 8 9 10
8210 #
8211 #        Key (notch) at bottom
8212 #
8213 # Pin    1 DSR
8214 #        3 DCD
8215 #        4 DTR
8216 #        5 Sig Ground
8217 #        6 RD
8218 #        7 SD
8219 #        8 CTS
8220 #        9 RTS
8221 #        10 Frame Ground
8222 #
8223 # The manual is 189 pages and is loaded with details about the escape codes,
8224 # etc..... Available from AT&T CIC 800-432-6600...
8225 # ask for Document number 999-300-660..
8226 #
8227 att700|AT&T 700 24x80 column display w/102key keyboard, 
8228         am, eslok, hs, mir, msgr, xenl, xon, 
8229         cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80, 
8230         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
8231         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
8232         clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M, 
8233         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
8234         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
8235         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
8236         cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
8237         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, 
8238         enacs=\E(B\E)0, flash=\E[?5h$<200>\E[?5l, fln=4\,4, 
8239         fsl=\E8, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, 
8240         il=\E[%p1%dL, il1=\E[L, ind=\ED, invis=\E[8m, 
8241         is2=\E[50;4|\E[53;0|\E[8;0|\E[?4;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)0\E[?31l\E[0m\017, 
8242         is3=\E(B\E)0, kLFT=\E[ A, kRIT=\E[ @, kbs=^H, kcbt=\E[Z, 
8243         kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
8244         kdch1=\E[P, kdl1=\E[M, kend=\E[24;1H, kf1=\EOc, kf10=\ENp, 
8245         kf11=\ENq, kf12=\ENr, kf13=\ENs, kf14=\ENt, kf15=\EOC, 
8246         kf16=\EOD, kf17=\EOE, kf18=\EOF, kf19=\EOG, kf2=\EOd, 
8247         kf20=\EOH, kf21=\EOI, kf22=\EOJ, kf23=\ENO, kf24=\ENP, 
8248         kf25=\ENQ, kf26=\ENR, kf27=\ENS, kf28=\ENT, kf29=\EOq, 
8249         kf3=\EOe, kf30=\EOr, kf31=\EOs, kf32=\EOt, kf33=\EOu, 
8250         kf34=\EOv, kf35=\EOw, kf36=\EOx, kf37=\EOy, kf38=\EOu, 
8251         kf39=\EOv, kf4=\EOf, kf40=\EOl, kf41=\EOq, kf42=\EOr, 
8252         kf43=\EOs, kf44=\EOp, kf45=\EOn, kf46=\EOM, kf5=\EOg, 
8253         kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H, 
8254         kich1=\E[@, kil1=\E[L, knp=\E[U, kpp=\E[V, ll=\E[24H, 
8255         mc0=\E[i, mc4=\E[?4i, mc5=\E[?5i, nel=\EE, 
8256         pfx=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s, 
8257         pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, 
8258         rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, rmacs=^O, 
8259         rmir=\E[4l, rmln=\E[2p, rmso=\E[27m, rmul=\E[24m, 
8260         rmxon=\E[53;3|, rs1=\Ec\E[?3;5l\E[56;0|, sc=\E7, 
8261         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%;, 
8262         sgr0=\E[m\017, smacs=^N, smir=\E[4h, smln=\E[p, smso=\E[7m, 
8263         smul=\E[4m, smxon=\E[53;0|, tbc=\E[3g, 
8264         tsl=\E7\E[99;%i%p1%dx, 
8265
8266 # This entry was modified 3/13/90 by JWE.
8267 # fixes include additions of <enacs>, correcting <rep>, and modification
8268 # of <kHOM>.  (See comments below)
8269 # att730 has status line of 80 chars
8270 # These were commented out: <indn=\E[%p1%dS>, <rin=\E[%p1%dT>,
8271 # the <kf25> and up keys are used for shifted system Fkeys
8272 # NOTE: JWE 3/13/90 The 98 key keyboard translation for shift/HOME is 
8273 # currently the same as <khome> (unshifted HOME or \E[H).  On the 102, 102+1
8274 # and 122 key keyboards, the 730's translation is \E[2J.  For consistency
8275 # <kHOM> has been commented out.  The user can uncomment <kHOM> if using the
8276 # 102, 102+1, or 122 key keyboards
8277 #       kHOM=\E[2J,
8278 # (att730: I added <rmam>/<smam> based on the init string -- esr)
8279 att730|AT&T 730 windowing terminal, 
8280         am, da, db, eslok, hs, mir, msgr, npc, xenl, xon, 
8281         cols#80, it#8, lh#2, lines#60, lm#0, lw#8, nlab#24, wsl#80, 
8282         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
8283         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
8284         clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M, 
8285         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
8286         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
8287         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
8288         cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
8289         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, 
8290         enacs=\E(B\E)0, flash=\E[?5h$<200>\E[?5l, fsl=\E8, 
8291         home=\E[H, ht=^I, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, 
8292         ind=\ED, invis=\E[8m, 
8293         is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)B, 
8294         is2=\E[m\017, is3=\E(B\E)0, kLFT=\E[ @, kRIT=\E[ A, kbs=^H, 
8295         kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
8296         kcuu1=\E[A, kf1=\EOc, kf10=\ENp, kf11=\ENq, kf12=\ENr, 
8297         kf13=\ENs, kf14=\ENt, kf15=\ENu, kf16=\ENv, kf17=\ENw, 
8298         kf18=\ENx, kf19=\ENy, kf2=\EOd, kf20=\ENz, kf21=\EN{, 
8299         kf22=\EN|, kf23=\EN}, kf24=\EN~, kf25=\EOC, kf26=\EOD, 
8300         kf27=\EOE, kf28=\EOF, kf29=\EOG, kf3=\EOe, kf30=\EOH, 
8301         kf31=\EOI, kf32=\EOJ, kf33=\ENO, kf34=\ENP, kf35=\ENQ, 
8302         kf36=\ENR, kf37=\ENS, kf38=\ENT, kf39=\EOU, kf4=\EOf, 
8303         kf40=\EOV, kf41=\EOW, kf42=\EOX, kf43=\EOY, kf44=\EOZ, 
8304         kf45=\EO[, kf46=\EO\s, kf47=\EO], kf48=\EO\^, kf5=\EOg, 
8305         kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H, 
8306         kich1=\E[@, kil1=\E[L, kind=\E[S, kri=\E[T, 
8307         mc0=\E[?19h\E[0i, mc4=\E[?4i, mc5=\E[?5i, nel=\EE, 
8308         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, 
8309         pfxl=\E[%p1%d;%p2%l%02d;0;0q%p3%:-16.16s%p2%s, 
8310         pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, 
8311         rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, rmacs=^O, 
8312         rmam=\E[?7l, rmir=\E[4l, rmln=\E[?13h, rmso=\E[27m, 
8313         rmul=\E[24m, rmxon=\E[?21l, rs2=\Ec\E[?3l, sc=\E7, 
8314         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%;, 
8315         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
8316         smln=\E[?13l, smso=\E[7m, smul=\E[4m, smxon=\E[?21h, 
8317         swidm=\E#6, tsl=\E7\E[;%i%p1%dx, 
8318 att730-41|730MTG-41|AT&T 730-41 windowing terminal Version, 
8319         lines#41, use=att730, 
8320 att730-24|730MTG-24|AT&T 730-24 windowing terminal Version, 
8321         lines#24, use=att730, 
8322 att730r|730MTGr|AT&T 730 rev video windowing terminal Version, 
8323         flash=\E[?5l$<200>\E[?5h, 
8324         is1=\E[8;0|\E[?3;4;13;15l\E[?5h\E[13;20l\E[?7h\E[12h\E(B\E)B, 
8325         use=att730, 
8326 att730r-41|730MTG-41r|AT&T 730r-41 rev video windowing terminal Version, 
8327         lines#41, use=att730r, 
8328 att730r-24|730MTGr-24|AT&T 730r-24 rev video windowing terminal Version, 
8329         lines#24, use=att730r, 
8330
8331 # The following represents the screen layout along with the associated
8332 # bezel buttons for the 5430/pt505 terminal. The "kf" designations do
8333 # not appear on the screen but are shown to reference the bezel buttons.
8334 # The "CMD", "MAIL", and "REDRAW" buttons are shown in their approximate
8335 # position relative to the screen.
8336 #
8337 #
8338 #
8339 #      +----------------------------------------------------------------+
8340 #      |                                                                |
8341 # XXXX | kf0                                                       kf24 | XXXX
8342 #      |                                                                |
8343 #      |                                                                |
8344 # XXXX | kf1                                                       kf23 | XXXX
8345 #      |                                                                |
8346 #      |                                                                |
8347 # XXXX | kf2                                                       kf22 | XXXX
8348 #      |                                                                |
8349 #      |                                                                |
8350 # XXXX | kf3                                                       kf21 | XXXX
8351 #      |                                                                |
8352 #      |                                                                |
8353 # XXXX | kf4                                                       kf20 | XXXX
8354 #      |                                                                |
8355 #      |                                                                |
8356 # XXXX | kf5                                                       kf19 | XXXX
8357 #      |                                                                |
8358 #      |                                                                |
8359 # XXXX | kf6                                                       kf18 | XXXX
8360 #      |                                                                |
8361 #      |                                                                |
8362 # XXXX |                                                                | XXXX
8363 #      |                                                                |
8364 #      |                                                                |
8365 #      +----------------------------------------------------------------+
8366 #
8367 #          XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX
8368 #
8369 # Note: XXXX represents the screen buttons
8370 #                                                          CMD   REDRAW
8371 #
8372 #                                                          MAIL
8373 #
8374 # version 1 note: 
8375 #       The character string sent by key 'kf26' may be user programmable
8376 #       to send either \E[16s, or \E[26s.
8377 #       The character string sent by key 'krfr' may be user programmable
8378 #       to send either \E[17s, or \E[27s.
8379 #
8380 # Depression of the "CMD" key sends    \E!    (kcmd)
8381 # Depression of the "MAIL" key sends   \E[26s (kf26)
8382 # "REDRAW" same as "REFRESH" (krfr)
8383 #
8384 # "kf" functions adds carriage return to output string if terminal is in
8385 # 'new line' mode.
8386 #
8387 # The following are functions not covered in the table above:
8388 #
8389 #       Set keyboard character (SKC): \EPn1;Pn2w
8390 #                       Pn1= 0 Back Space key
8391 #                       Pn1= 1 Break key
8392 #                       Pn2=   Program char (hex)
8393 #
8394 #       Screen Definition (SDF): \E[Pn1;Pn2;Pn3;Pn4;Pn5t
8395 #                       Pn1=     Window number (1-39)
8396 #                       Pn2-Pn5= Y;X;Y;X coordinates
8397 #
8398 #       Screen Selection (SSL): \E[Pnu
8399 #                       Pn= Window number
8400 #
8401 #       Set Terminal Modes (SM): \E[Pnh
8402 #                       Pn= 3 Graphics mode
8403 #                       Pn= > Cursor blink
8404 #                       Pn= < Enter new line mode
8405 #                       Pn= = Enter reverse insert/replace mode
8406 #                       Pn= ? Enter no scroll mode
8407 #
8408 #       Reset Terminal Mode (RM): \E[Pnl
8409 #                       Pn= 3 Exit graphics mode
8410 #                       Pn= > Exit cursor blink
8411 #                       Pn= < Exit new line mode
8412 #                       Pn= = Exit reverse insert/replace mode
8413 #                       Pn= ? Exit no scroll mode
8414 #
8415 #       Screen Status Report (SSR): \E[Pnp
8416 #                       Pn= 0 Request current window number
8417 #                       Pn= 1 Request current window dimensions
8418 #
8419 #       Device Status Report (DSR): \E[6n    Request cursor position
8420 #
8421 #       Call Status Report (CSR): \E[Pnv
8422 #                       Pn= 0 Call failed
8423 #                       Pn= 1 Call successful
8424 #
8425 #       Transparent Button String (TBS): \E[Pn1;Pn2;Pn3;{string
8426 #                       Pn1= Button number to be loaded
8427 #                       Pn2= Character count of "string"
8428 #                       Pn3= Key mode being loaded:
8429 #                               0= Unshifted
8430 #                               1= Shifted
8431 #                               2= Control
8432 #                       String= Text string (15 chars max)
8433 #
8434 #       Screen Number Report (SNR): \E[Pnp
8435 #                       Pn= Screen number
8436 #
8437 #       Screen Dimension Report (SDR): \E[Pn1;Pn2r
8438 #                       Pn1= Number of rows available in window
8439 #                       Pn2= Number of columns available in window
8440 #
8441 #       Cursor Position Report (CPR): \E[Pn1;Pn2R
8442 #                       Pn1= "Y" Position of cursor
8443 #                       Pn2= "X" Position of cursor
8444 #
8445 #       Request Answer Back (RAB): \E[c
8446 #
8447 #       Answer Back Response (ABR): \E[?;*;30;VSV
8448 #                       *=  0 No printer available
8449 #                       *=  2 Printer available
8450 #                       V=  Software version number
8451 #                       SV= Software sub version number
8452 #       (printer-available field not documented in v1)
8453 #
8454 #       Screen Alignment Aid: \En
8455 #
8456 #       Bell (lower pitch): \E[x
8457 #
8458 #       Dial Phone Number: \EPdstring\
8459 #                       string= Phone number to be dialed
8460 #
8461 #       Set Phone Labels: \EPpstring\
8462 #                       string= Label for phone buttons
8463 #
8464 #       Set Clock: \EPchour;minute;second\
8465 #
8466 #       Position Clock: \EPsY;X\
8467 #                       Y= "Y" coordinate
8468 #                       X= "X" coordinate
8469 #
8470 #       Delete Clock: \Epr\
8471 #
8472 #       Programming The Function Buttons: \EPfPn;string\
8473 #                       Pn= Button number (00-06, 18-24)
8474 #                                         (kf00-kf06, kf18-kf24)
8475 #                       string= Text to sent on button depression
8476 #
8477 # The following in version 2 only:
8478 #
8479 #       Request For Local Directory Data: \EPp12;\
8480 #
8481 #       Local Directory Data to host: \EPp11;LOCAL...DIRECTORY...DATA\
8482 #
8483 #       Request for Local Directory Data in print format: \EPp13;\
8484 #
8485 #       Enable 'Prt on Line' mode: \022 (DC2)
8486 #
8487 #       Disable 'Prt on Line' mode: \024 (DC4)
8488 #
8489
8490 # 05-Aug-86:
8491 # The following Terminfo entry describes functions which are supported by
8492 # the AT&T 5430/pt505 terminal software version 2 and later.
8493 att505|pt505|att5430|gs5430|AT&T Personal Terminal 505 or 5430 GETSET terminal, 
8494         am, xon, 
8495         cols#80, it#8, lines#24, 
8496         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
8497         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[2J\E[H, 
8498         cnorm=\E[>l, cr=^M, cub=\E[%p1%dD, cub1=\E[D, 
8499         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
8500         cup=\E[%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
8501         cvvis=\E[>h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
8502         dl1=\E[M, ed=\E[0J, el=\E[0K, el1=\E[2K, home=\E[H, ht=^I, 
8503         il=\E[%p1%dL, il1=\E[L, ind=^J, 
8504         is1=\EPr\\E[0u\E[2J\E[0;0H\E[m\E[3l\E[<l\E[4l\E[>l\E[=l\E[?l, 
8505         kbs=^H, kcmd=\E!, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
8506         kcuu1=\E[A, kf0=\E[00s, kf1=\E[01s, kf18=\E[18s, 
8507         kf19=\E[19s, kf2=\E[02s, kf20=\E[20s, kf21=\E[21s, 
8508         kf22=\E[22s, kf23=\E[23s, kf24=\E[24s, kf26=\E[26s, 
8509         kf3=\E[03s, kf4=\E[04s, kf5=\E[05s, kf6=\E[06s, 
8510         krfr=\E[27s, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, 
8511         rmacs=\E[10m, rmam=\E[11;1j, rmir=\E[4l, rmso=\E[m, 
8512         rmul=\E[m, rs1=\Ec, sc=\E7, sgr0=\E[m, smacs=\E[11m, 
8513         smam=\E[11;0j, smir=\E[4h, smso=\E[1m, smul=\E[4m, 
8514
8515 # The following Terminfo entry describes functions which are supported by
8516 # the AT&T 5430/pt505 terminal software version 1.
8517 att505-24|pt505-24|gs5430-24|AT&T PT505 or 5430 GETSET version 1 24 lines, 
8518         lines#24, 
8519         mc4@, mc5@, rc@, rmam@, sc@, smam@, use=att505, 
8520 tt505-22|pt505-22|gs5430-22|AT&T PT505 or 5430 GETSET version 1 22 lines, 
8521         lines#22, use=att505, 
8522 #
8523 #### ------------------ TERMINFO FILE CAN BE SPLIT HERE ---------------------
8524 # This cut mark helps make life less painful for people running ncurses tic
8525 # on machines with relatively little RAM.  The file can be broken in half here
8526 # cleanly and compiled in sections -- no `use' references cross this cut
8527 # going forward.
8528 #
8529
8530 #### Ampex (Dialogue)
8531 #
8532 # Yes, these are the same people who are better-known for making audio- and
8533 # videotape.  I'm told they are located in Redwood City, CA.
8534 #
8535
8536 # From: <cbosg!ucbvax!SRC:george> Fri Sep 11 22:38:32 1981
8537 # (ampex80: some capabilities merged in from SCO's entry -- esr)
8538 ampex80|a80|d80|dialogue|dialogue80|ampex dialogue 80, 
8539         OTbs, am, bw, ul, 
8540         cols#80, it#8, lines#24, 
8541         bel=^G, cbt=\EI, clear=\E*$<75>, cr=^M, cub1=^H, cud1=^J, 
8542         cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
8543         dch1=\EW, dl1=\ER$<5*>, ed=\Ey, el=\Et, ht=^I, hts=\E1, 
8544         ich1=\EQ, il1=\EE$<5*>, ind=^J, is2=\EA, rmso=\Ek, rmul=\Em, 
8545         smso=\Ej, smul=\El, tbc=\E3, 
8546 # This entry was from somebody anonymous, Tue Aug  9 20:11:37 1983, who wrote:
8547 ampex175|ampex d175, 
8548         am, 
8549         cols#80, lines#24, 
8550         bel=^G, clear=\E+, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
8551         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
8552         dl1=\ER, ed=\Ey, el=\Et, home=^^, ich1=\EQ, il1=\EE, ind=^J, 
8553         is2=\EX\EA\EF, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
8554         kdch1=\EW, kdl1=\ER, khome=^^, kich1=\EQ, kil1=\EE, ll=^^^K, 
8555         rmcup=\EF, rmso=\Ek, rmul=\Em, smcup=\EN, smso=\Ej, smul=\El, 
8556 # No backspace key in the main QWERTY cluster. Fortunately, it has a
8557 # NEWLINE/PAGE key just above RETURN that sends a strange single-character
8558 # code.  Given a suitable Unix (one that lets you set an echo-erase-as-BS-SP-BS
8559 # mode), this key can be used as the erase key; I find I like this. Because
8560 # some people and some systems may not, there is another termcap ("ampex175")
8561 # that suppresses this little eccentricity by omitting the relevant capability.
8562 ampex175-b|ampex d175 using left arrow for erase, 
8563         kbs=^_, use=ampex175, 
8564 # From: Richard Bascove <atd!dsd!rcb@ucbvax.berkeley.edu>
8565 # (ampex210: removed obsolete ":kn#10:" -- esr)
8566 ampex210|a210|ampex a210, 
8567         OTbs, am, hs, xenl, 
8568         cols#80, it#8, lines#24, xmc#1, 
8569         cbt=\EI, clear=\E*, cub1=^H, cuf1=^L, 
8570         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
8571         dl1=\ER, ed=\Ey, el=\Et, flash=\EU\EX\EU\EX\EU\EX\EU\EX, 
8572         fsl=\E.2, home=^^, ht=^I, ich1=\EQ, 
8573         if=/usr/share/tabset/std, il1=\EE, invis@, 
8574         is2=\EC\Eu\E'\E(\El\EA\E%\E{\E.2\EG0\Ed\En, kcub1=^H, 
8575         kcud1=^V, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A1\r, 
8576         kf2=^A2\r, kf3=^A3\r, kf4=^A4\r, kf5=^A5\r, kf6=^A6\r, 
8577         kf7=^A7\r, kf8=^A8\r, kf9=^A9\r, khome=^^, 
8578         tsl=\E.0\Eg\E}\Ef, use=adm+sgr, 
8579 # (ampex219: I added <rmam>/<smam> based on the init string, added <cvvis>
8580 # from ampex219w, added <cnorm>=\E[?3l, irresistibly suggested by <cvvis>,
8581 # and moved the padding to be *after* the caps -- esr)
8582 ampex219|ampex-219|amp219|Ampex with Automargins, 
8583         hs, xenl, 
8584         cols#80, it#8, lines#24, 
8585         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, cbt=\E[Z, 
8586         clear=\E[H\E[2J$<50>, cnorm=\E[?3l, cr=^M, 
8587         csr=%i\E[%p1%2d;%p2%2dr, cub1=^H, cud1=\E[B, 
8588         cuf1=\E[C$<2>, cup=\E[%i%p1%d;%p2%dH$<5>, 
8589         cuu1=\E[A$<2>, cvvis=\E[?3h, dim=\E[1m, ed=\E[J$<50>, 
8590         el=\E[K$<3>, home=\E[H, ht=^I, ind=^J, 
8591         is2=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
8592         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\E[21~, 
8593         kf1=\E[7~, kf2=\E[8~, kf3=\E[9~, kf4=\E[10~, kf5=\E[11~, 
8594         kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, khome=\E[H, 
8595         rev=\E[7m, ri=\EM$<5>, rmam=\E[?7l, rmkx=\E>, 
8596         rmso=\E[m$<2>, rmul=\E[m$<2>, sgr0=\E[m$<2>, smam=\E[?7h, 
8597         smkx=\E=, smso=\E[7m$<2>, smul=\E[4m$<2>, 
8598 ampex219w|ampex-219w|amp219w|Ampex 132 cols, 
8599         cols#132, lines#24, 
8600         bel=^G, cr=^M, cud1=^J, ind=^J, 
8601         is2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h, use=ampex219, 
8602 # (ampex232: removed <if=/usr/share/tabset/ampex>, no file and no <hts> --esr) 
8603 ampex232|ampex-232|Ampex Model 232, 
8604         am, 
8605         cols#80, lines#24, xmc#1, 
8606         cbt=\EI, civis=\E.0, clear=\E+, cnorm=\E.4, cub1=^H, cud1=^V, 
8607         cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
8608         dch1=\EW, dl1=\ER$<5*/>, ed=\EY, el=\ET, 
8609         flash=\Eb$<200/>\Ed, ht=^I, ich1=\EQ, il1=\EE$<5*/>, 
8610         invis@, is2=\Eg\El, kbs=^H, kcub1=^H, kcud1=^V, kcuf1=^L, 
8611         kcuu1=^K, kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r, 
8612         kf4=^AD\r, kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, 
8613         kf9=^AI\r, khome=^^, use=adm+sgr, 
8614 # (ampex: removed <if=/usr/share/tabset/amp-132>, no file and no <hts> -- esr) 
8615 ampex232w|Ampex Model 232 / 132 columns, 
8616         cols#132, lines#24, 
8617         is2=\E\034Eg\El, use=ampex232, 
8618
8619 #### Ann Arbor (aa)
8620 #
8621 # Ann Arbor made dream terminals for hackers -- large screen sizes and huge
8622 # numbers of function keys.  At least some used monitors in portrait mode,
8623 # allowing up to 76-character screen heights!  They were reachable at:
8624 #
8625 #       Ann Arbor Terminals
8626 #       6175 Jackson Road
8627 #       Ann Arbor, MI 48103
8628 #       (313)-663-8000
8629 #
8630 # But in 1996 the phone number reaches some kitschy retail shop, and Ann Arbor
8631 # can't be found on the Web; I fear they're long dead.  R.I.P.
8632 #
8633
8634
8635 # Originally from Mike O'Brien@Rand and Howard Katseff at Bell Labs.
8636 # Highly modified 6/22 by Mike O'Brien.
8637 # split out into several for the various screen sizes by dave-yost@rand
8638 # Modifications made 3/82 by Mark Horton
8639 # Modified by Tom Quarles at UCB for greater efficiency and more diversity
8640 # status line moved to top of screen, <flash> removed 5/82
8641 # Some unknown person at SCO then hacked the init strings to make them more
8642 # efficient.
8643 #
8644 # assumes the following setup:
8645 #   A menu: 0000 1010  0001 0000
8646 #   B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
8647 #   C menu: 56   66   0    0    9600  0110 1100
8648 #   D menu: 0110 1001   1   0
8649 #
8650 #       Briefly, the settings are for the following modes:
8651 #          (values are for bit set/clear with * indicating our preference
8652 #           and the value used to test these termcaps)
8653 #       Note that many of these settings are irrelevent to the terminfo
8654 #       and are just set to the default mode of the terminal as shipped
8655 #       by the factory.
8656 #
8657 # A menu: 0000 1010  0001 0000
8658 #       Block/underline cursor*
8659 #       blinking/nonblinking cursor*
8660 #       key click/no key click*
8661 #       bell/no bell at column 72*
8662 #
8663 #       key pad is cursor control*/key pad is numeric
8664 #       return and line feed/return for <cr> key *
8665 #       repeat after .5 sec*/no repeat
8666 #       repeat at 25/15 chars per sec. *
8667 #
8668 #       hold data until pause pressed/process data unless pause pressed*
8669 #       slow scroll/no slow scroll*
8670 #       Hold in area/don't hold in area*
8671 #       functions keys have default*/function keys disabled on powerup
8672 #
8673 #       show/don't show position of cursor during page transmit*
8674 #       unused
8675 #       unused
8676 #       unused
8677 #
8678 # B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
8679 #       Baud rate (9600*)
8680 #
8681 #       2 bits of parity - 00=odd,01=even*,10=space,11=mark
8682 #       1 stop bit*/2 stop bits
8683 #       parity error detection off*/on
8684 #
8685 #       keyboard local/on line*
8686 #       half/full duplex*
8687 #       disable/do not disable keyboard after data transmission*
8688 #
8689 #       transmit entire page/stop transmission at cursor*
8690 #       transfer/do not transfer protected characters*
8691 #       transmit all characters/transmit only selected characters*
8692 #       transmit all selected areas/transmit only 1 selected area*
8693 #
8694 #       transmit/do not transmit line separators to host*
8695 #       transmit/do not transmit page tab stops tabs to host*
8696 #       transmit/do not transmit column tab stop tabs to host*
8697 #       transmit/do not transmit graphics control (underline,inverse..)*
8698 #
8699 #       enable*/disable auto XON/XOFF control
8700 #       require/do not require receipt of a DC1 from host after each LF*
8701 #       pause key acts as a meta key/pause key is pause*
8702 #       unused
8703 #
8704 #       unused
8705 #       unused
8706 #       unused
8707 #       unused
8708 #
8709 #       XON character (17*)
8710 #       XOFF character (19*)
8711 #
8712 # C menu: 56   66   0    0    9600  0110 1100
8713 #       number of lines to print data on (printer) (56*)
8714 #
8715 #       number of lines on a sheet of paper (printer) (66*)
8716 #
8717 #       left margin (printer) (0*)
8718 #
8719 #       number of pad chars on new line to printer (0*)
8720 #
8721 #       printer baud rate (9600*)
8722 #
8723 #       printer parity: 00=odd,01=even*,10=space,11=mark
8724 #       printer stop bits: 2*/1
8725 #       print/do not print guarded areas*
8726 #
8727 #       new line is: 01=LF,10=CR,11=CRLF*
8728 #       unused
8729 #       unused
8730 #
8731 # D menu: 0110 1001   1   0
8732 #       LF is newline/LF is down one line, same column*
8733 #       wrap to preceding line if move left from col 1*/don't wrap
8734 #       wrap to next line if move right from col 80*/don't wrap
8735 #       backspace is/is not destructive*
8736 #
8737 #       display*/ignore DEL character
8738 #       display will not/will scroll*
8739 #       page/column tab stops*
8740 #       erase everything*/erase unprotected only
8741 #
8742 #       editing extent: 0=display,1=line*,2=field,3=area
8743 #
8744 #       unused
8745 #
8746
8747 annarbor4080|aa4080|ann arbor 4080, 
8748         OTbs, am, 
8749         cols#80, lines#40, 
8750         bel=^G, clear=\014$<2>, cr=^M, cub1=^H, cud1=^J, cuf1=^_, 
8751         cup=\017%p2%{10}%/%{16}%*%p2%{10}%m%+%c%p1%?%p1%{19}%>%t%{12}%+%;%{64}%+%c, 
8752         cuu1=^N, home=^K, ht=^I, hts=^]^P1, ind=^J, kbs=^^, kcub1=^H, 
8753         kcud1=^J, kcuf1=^_, kcuu1=^N, khome=^K, tbc=^\^P^P, 
8754
8755 # Strange Ann Arbor terminal from BRL
8756 aas1901|Ann Arbor K4080 w/S1901 mod, 
8757         am, 
8758         cols#80, lines#40, 
8759         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^_, cuu1=^N, 
8760         home=^K, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, ll=^O\0c, 
8761         nel=^M^J, 
8762
8763 # If you're using the GNU termcap library, add
8764 #       :cS=\E[%p1%d;%p2%d;%p3%d;%p4%dp:
8765 # to these capabilities.  This is the nonstandard GNU termcap scrolling
8766 # capability, arguments are:
8767 #   1. Total number of lines on the screen.
8768 #   2. Number of lines above desired scroll region.
8769 #   3. Number of lines below (outside of) desired scroll region.
8770 #   4. Total number of lines on the screen, the same as the first parameter.
8771 # The generic Ann Arbor entry is the only one that uses this.
8772 aaa+unk|aaa-unk|ann arbor ambassador (internal - don't use this directly), 
8773         OTbs, am, km, mc5i, mir, xon, 
8774         cols#80, it#8, 
8775         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
8776         clear=\E[H\E[J$<156>, cr=^M, cub=\E[%p1%dD, cub1=^H, 
8777         cud=\E[%p1%dB, cud1=^K, cuf=\E[%p1%dC, cuf1=\E[C, 
8778         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
8779         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
8780         el=\E[K$<5>, home=\E[H, hpa=\E[%p1%{1}%+%dG, ht=^I, 
8781         hts=\EH, ich=\E[%p1%d@$<4*>, ich1=\E[@$<4>, il=\E[%p1%dL, 
8782         il1=\E[L$<3>, ind=^K, invis=\E[8m, is1=\E[m\E7\E[H\E9\E8, 
8783         is3=\E[1Q\E[>20;30l\EP`+x~M\E\\, kbs=^H, kcbt=\E[Z, 
8784         kclr=\E[J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
8785         kdch1=\E[P, kdl1=\E[M, kf1=\EOA, kf10=\EOJ, kf11=\EOK, 
8786         kf12=\EOL, kf13=\EOM, kf14=\EON, kf15=\EOO, kf16=\EOP, 
8787         kf17=\EOQ, kf18=\EOR, kf19=\EOS, kf2=\EOB, kf20=\EOT, 
8788         kf21=\EOU, kf22=\EOV, kf23=\EOW, kf24=\EOX, kf3=\EOC, 
8789         kf4=\EOD, kf5=\EOE, kf6=\EOF, kf7=\EOG, kf8=\EOH, kf9=\EOI, 
8790         khome=\E[H, kich1=\E[@, kil1=\E[L, krmir=\E6, mc0=\E[0i, 
8791         mc4=^C, mc5=\E[v, mc5p=\E[%p1%dv, rc=\E8, 
8792         rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, 
8793         rmkx=\EP`>y~[[J`8xy~[[A`4xy~[[D`6xy~[[C`2xy~[[B\E\\, 
8794         rmm=\E[>52l, rmso=\E[m, rmul=\E[m, sc=\E7, 
8795         sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m, 
8796         sgr0=\E[m, 
8797         smkx=\EP`>z~[[J`8xz~[[A`4xz~[[D`6xz~[[C`2xz~[[B\E\\, 
8798         smm=\E[>52h, smso=\E[7m, smul=\E[4m, tbc=\E[2g, 
8799         vpa=\E[%p1%{1}%+%dd, 
8800
8801 aaa+rv|ann arbor ambassador in reverse video, 
8802         blink=\E[5;7m, bold=\E[1;7m, invis=\E[7;8m, 
8803         is1=\E[7m\E7\E[H\E9\E8, rev=\E[m, rmso=\E[7m, rmul=\E[7m, 
8804         rs1=\E[H\E[7m\E[J$<156>, 
8805         sgr=\E[%?%p1%p3%|%!%t7;%;%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m, 
8806         sgr0=\E[7m\016, smso=\E[m, smul=\E[4;7m, 
8807 # Ambassador with the DEC option, for partial vt100 compatibility.
8808 aaa+dec|ann arbor ambassador in dec vt100 mode, 
8809         acsc=aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}, 
8810         csr=\E[%i%p1%d;%p2%dr, enacs=\E(0, rmacs=^N, 
8811         sgr=\E[%?%p1%p3%|%!%t7;%;%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m%?%p9%t\017%e\016%;, 
8812         smacs=^O, 
8813 aaa-18|ann arbor ambassador/18 lines, 
8814         lines#18, 
8815         is2=\E7\E[60;0;0;18p\E8, 
8816         rmcup=\E[60;0;0;18p\E[60;1H\E[K, smcup=\E[18;0;0;18p, 
8817         use=aaa+unk, 
8818 aaa-18-rv|ann arbor ambassador/18 lines+reverse video, 
8819         use=aaa+rv, use=aaa-18, 
8820 aaa-20|ann arbor ambassador/20 lines, 
8821         lines#20, 
8822         is2=\E7\E[60;0;0;20p\E8, 
8823         rmcup=\E[60;0;0;20p\E[60;1H\E[K, smcup=\E[20;0;0;20p, 
8824         use=aaa+unk, 
8825 aaa-22|ann arbor ambassador/22 lines, 
8826         lines#22, 
8827         is2=\E7\E[60;0;0;22p\E8, 
8828         rmcup=\E[60;0;0;22p\E[60;1H\E[K, smcup=\E[22;0;0;22p, 
8829         use=aaa+unk, 
8830 aaa-24|ann arbor ambassador/24 lines, 
8831         lines#24, 
8832         is2=\E7\E[60;0;0;24p\E8, 
8833         rmcup=\E[60;0;0;24p\E[60;1H\E[K, smcup=\E[24;0;0;24p, 
8834         use=aaa+unk, 
8835 aaa-24-rv|ann arbor ambassador/24 lines+reverse video, 
8836         use=aaa+rv, use=aaa-24, 
8837 aaa-26|ann arbor ambassador/26 lines, 
8838         lines#26, 
8839         is2=\E7\E[60;0;0;26p\E8, 
8840         rmcup=\E[60;0;0;26p\E[26;1H\E[K, 
8841         smcup=\E[H\E[J$<156>\E[26;0;0;26p, use=aaa+unk, 
8842 aaa-28|ann arbor ambassador/28 lines, 
8843         lines#28, 
8844         is2=\E7\E[60;0;0;28p\E8, 
8845         rmcup=\E[60;0;0;28p\E[28;1H\E[K, 
8846         smcup=\E[H\E[J$<156>\E[28;0;0;28p, use=aaa+unk, 
8847 aaa-30-s|aaa-s|ann arbor ambassador/30 lines w/status, 
8848         eslok, hs, 
8849         lines#29, 
8850         dsl=\E7\E[60;0;0;30p\E[1;1H\E[K\E[H\E8\r\n\E[K, 
8851         fsl=\E[>51l, is2=\r\n\E[A\E7\E[60;1;0;30p\E8, 
8852         rmcup=\E[60;1;0;30p\E[29;1H\E[K, 
8853         smcup=\E[H\E[J$<156>\E[30;1;0;30p\E[30;1H\E[K, 
8854         tsl=\E[>51h\E[1;%p1%dH\E[2K, use=aaa+unk, 
8855 aaa-30-s-rv|aaa-s-rv|ann arbor ambassador/30 lines+status+reverse video, 
8856         use=aaa+rv, use=aaa-30-s, 
8857 aaa-s-ctxt|aaa-30-s-ctxt|ann arbor ambassador/30 lines+status+save context, 
8858         rmcup=\E[60;1;0;30p\E[59;1H\E[K, 
8859         smcup=\E[30;1H\E[K\E[30;1;0;30p, use=aaa-30-s, 
8860 aaa-s-rv-ctxt|aaa-30-s-rv-ct|ann arbor ambassador/30 lines+status+save context+reverse video, 
8861         rmcup=\E[60;1;0;30p\E[59;1H\E[K, 
8862         smcup=\E[30;1H\E[K\E[30;1;0;30p, use=aaa-30-s-rv, 
8863 aaa|aaa-30|ambas|ambassador|ann arbor ambassador/30 lines, 
8864         lines#30, 
8865         is2=\E7\E[60;0;0;30p\E8, 
8866         rmcup=\E[60;0;0;30p\E[30;1H\E[K, 
8867         smcup=\E[H\E[J$<156>\E[30;0;0;30p, use=aaa+unk, 
8868 aaa-30-rv|aaa-rv|ann arbor ambassador/30 lines in reverse video, 
8869         use=aaa+rv, use=aaa-30, 
8870 aaa-30-ctxt|aaa-ctxt|ann arbor ambassador/30 lines; saving context, 
8871         rmcup=\E[60;0;0;30p\E[60;1H\E[K, smcup=\E[30;0;0;30p, 
8872         use=aaa-30, 
8873 aaa-30-rv-ctxt|aaa-rv-ctxt|ann arbor ambassador/30 lines reverse video; saving context, 
8874         rmcup=\E[60;0;0;30p\E[60;1H\E[K, smcup=\E[30;0;0;30p, 
8875         use=aaa+rv, use=aaa-30, 
8876 aaa-36|ann arbor ambassador/36 lines, 
8877         lines#36, 
8878         is2=\E7\E[60;0;0;36p\E8, 
8879         rmcup=\E[60;0;0;36p\E[36;1H\E[K, 
8880         smcup=\E[H\E[J$<156>\E[36;0;0;36p, use=aaa+unk, 
8881 aaa-36-rv|ann arbor ambassador/36 lines+reverse video, 
8882         use=aaa+rv, use=aaa-36, 
8883 aaa-40|ann arbor ambassador/40 lines, 
8884         lines#40, 
8885         is2=\E7\E[60;0;0;40p\E8, 
8886         rmcup=\E[60;0;0;40p\E[40;1H\E[K, 
8887         smcup=\E[H\E[J$<156>\E[40;0;0;40p, use=aaa+unk, 
8888 aaa-40-rv|ann arbor ambassador/40 lines+reverse video, 
8889         use=aaa+rv, use=aaa-40, 
8890 aaa-48|ann arbor ambassador/48 lines, 
8891         lines#48, 
8892         is2=\E7\E[60;0;0;48p\E8, 
8893         rmcup=\E[60;0;0;48p\E[48;1H\E[K, 
8894         smcup=\E[H\E[J$<156>\E[48;0;0;48p, use=aaa+unk, 
8895 aaa-48-rv|ann arbor ambassador/48 lines+reverse video, 
8896         use=aaa+rv, use=aaa-48, 
8897 aaa-60-s|ann arbor ambassador/59 lines+status, 
8898         eslok, hs, 
8899         lines#59, 
8900         dsl=\E7\E[60;0;0;60p\E[1;1H\E[K\E[H\E8\r\n\E[K, 
8901         fsl=\E[>51l, is2=\r\n\E[A\E7\E[60;1;0;60p\E8, 
8902         tsl=\E[>51h\E[1;%p1%dH\E[2K, use=aaa+unk, 
8903 aaa-60-s-rv|ann arbor ambassador/59 lines+status+reverse video, 
8904         use=aaa+rv, use=aaa-60-s, 
8905 aaa-60-dec-rv|ann arbor ambassador/dec mode+59 lines+status+rev video, 
8906         use=aaa+dec, use=aaa+rv, use=aaa-60-s, 
8907 aaa-60|ann arbor ambassador/60 lines, 
8908         lines#60, 
8909         is2=\E7\E[60;0;0;60p\E[1Q\E[m\E[>20;30l\E8, 
8910         use=aaa+unk, 
8911 aaa-60-rv|ann arbor ambassador/60 lines+reverse video, 
8912         use=aaa+rv, use=aaa-60, 
8913 aaa-db|ann arbor ambassador 30/destructive backspace, 
8914         OTbs@, 
8915         cub1=\E[D, is3=\E[1Q\E[m\E[>20l\E[>30h, use=aaa-30, 
8916
8917 guru|guru-33|guru+unk|ann arbor guru/33 lines 80 cols, 
8918         lines#33, 
8919         flash=\E[>59h$<100>\E[>59l, 
8920         is2=\E7\E[255;0;0;33;80;80p\E8\E[J, is3=\E[>59l, 
8921         rmcup=\E[255p\E[255;1H\E[K, smcup=\E[33p, use=aaa+unk, 
8922 guru+rv|guru changes for reverse video, 
8923         flash=\E[>59l$<100>\E[>59h, is3=\E[>59h, 
8924 guru-rv|guru-33-rv|ann arbor guru/33 lines+reverse video, 
8925         use=guru+rv, use=guru-33, 
8926 guru+s|guru status line, 
8927         eslok, hs, 
8928         dsl=\E7\E[;0p\E[1;1H\E[K\E[H\E8\r\n\E[K, fsl=\E[>51l, 
8929         rmcup=\E[255;1p\E[255;1H\E[K, smcup=, 
8930         tsl=\E[>51h\E[1;%p1%dH\E[2K, 
8931 guru-nctxt|guru with no saved context, 
8932         smcup=\E[H\E[J$<156>\E[33p\E[255;1H\E[K, use=guru, 
8933 guru-s|guru-33-s|ann arbor guru/33 lines+status, 
8934         lines#32, 
8935         is2=\r\n\E[A\E7\E[255;1;0;33;80;80p\E8\E[J, 
8936         smcup=\E[33;1p\E[255;1H\E[K, use=guru+s, use=guru+unk, 
8937 guru-24|ann arbor guru 24 lines, 
8938         cols#80, lines#24, 
8939         is2=\E7\E[255;0;0;24;80;80p\E8\E[J, smcup=\E[24p, 
8940         use=guru+unk, 
8941 guru-44|ann arbor guru 44 lines, 
8942         cols#97, lines#44, 
8943         is2=\E7\E[255;0;0;44;97;100p\E8\E[J, smcup=\E[44p, 
8944         use=guru+unk, 
8945 guru-44-s|ann arbor guru/44 lines+status, 
8946         lines#43, 
8947         is2=\r\n\E[A\E7\E[255;1;0;44;80;80p\E8\E[J, 
8948         smcup=\E[44;1p\E[255;1H\E[K, use=guru+s, use=guru+unk, 
8949 guru-76|guru with 76 lines by 89 cols, 
8950         cols#89, lines#76, 
8951         is2=\E7\E[255;0;0;76;89;100p\E8\E[J, smcup=\E[76p, 
8952         use=guru+unk, 
8953 guru-76-s|ann arbor guru/76 lines+status, 
8954         cols#89, lines#75, 
8955         is2=\r\n\E[A\E7\E[255;1;0;76;89;100p\E8\E[J, 
8956         smcup=\E[76;1p\E[255;1H\E[K, use=guru+s, use=guru+unk, 
8957 guru-76-lp|guru-lp|guru with page bigger than line printer, 
8958         cols#134, lines#76, 
8959         is2=\E7\E[255;0;0;76;134;134p\E8\E[J, smcup=\E[76p, 
8960         use=guru+unk, 
8961 guru-76-w|guru 76 lines by 178 cols, 
8962         cols#178, lines#76, 
8963         is2=\E7\E[255;0;0;76;178;178p\E8\E[J, smcup=\E[76p, 
8964         use=guru+unk, 
8965 guru-76-w-s|ann arbor guru/76 lines+status+wide, 
8966         cols#178, lines#75, 
8967         is2=\r\n\E[A\E7\E[255;1;0;76;178;178p\E8\E[J, 
8968         smcup=\E[76;1p\E[255;1H\E[K, use=guru+s, use=guru+unk, 
8969 guru-76-wm|guru 76 lines by 178 cols with 255 cols memory, 
8970         cols#178, lines#76, 
8971         is2=\E7\E[255;0;0;76;178;255p\E8\E[J, smcup=\E[76p, 
8972         use=guru+unk, 
8973 aaa-rv-unk|ann arbor unknown type, 
8974         lh#0, lw#0, nlab#0, 
8975         blink=\E[5;7m, bold=\E[1;7m, home=\E[H, invis=\E[7;8m, 
8976         is1=\E[7m\E7\E[H\E9\E8, rev=\E[m, rmso=\E[7m, rmul=\E[7m, 
8977         rs1=\E[H\E[7m\E[J, 
8978         sgr=\E[%?%p1%!%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m, 
8979         sgr0=\E[7m, smso=\E[m, smul=\E[4;7m, 
8980
8981 #### Applied Digital Data Systems (adds)
8982 #
8983 # ADDS itself is long gone.  ADDS was bought by NCR, and the same group made
8984 # ADDS and NCR terminals.  When AT&T and NCR merged, the engineering for
8985 # terminals was merged again.  Then AT&T sold the terminal business to
8986 # SunRiver, which later changed its  name to Boundless Technologies.  The
8987 # engineers from Teletype, AT&T terminals, ADDS, and NCR (who are still there
8988 # as of early 1995) are at:
8989 #
8990 #       Boundless Technologies
8991 #       100 Marcus Boulevard
8992 #       Hauppauge, NY 11788-3762
8993 #       Vox: (800)-231-5445
8994 #       Fax: (516)-342-7378
8995 #       Web: http://boundless.com
8996 #
8997 # Their voice mail used to describe the place as "SunRiver (formerly ADDS)". 
8998 # In 1995 Boundless acquired DEC's terminals business.  
8999 #
9000
9001 # Regent: lowest common denominator, works on all regents.
9002 # (regent: renamed ":bc:" to ":le:" -- esr)
9003 regent|Adds Regent Series, 
9004         OTbs, am, 
9005         cols#80, lines#24, 
9006         bel=^G, clear=^L, cr=^M, cub1=^U, cud1=^J, cuf1=^F, cuu1=^Z, 
9007         home=\EY\s\s, ind=^J, ll=^A, 
9008 # Regent 100 has a bug where if computer sends escape when user is holding
9009 # down shift key it gets confused, so we avoid escape.
9010 regent100|Adds Regent 100, 
9011         xmc#1, 
9012         bel=^G, 
9013         cup=\013%p1%' '%+%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%c, 
9014         kf0=^B1\r, kf1=^B2\r, kf2=^B3\r, kf3=^B4\r, kf4=^B5\r, 
9015         kf5=^B6\r, kf6=^B7\r, kf7=^B8\r, lf0=F1, lf1=F2, lf2=F3, 
9016         lf3=F4, lf4=F5, lf5=F6, lf6=F7, lf7=F8, rmso=\E0@, rmul=\E0@, 
9017         sgr0=\E0@, smso=\E0P, smul=\E0`, use=regent, 
9018 regent20|Adds Regent 20, 
9019         bel=^G, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, ed=\Ek, el=\EK, 
9020         use=regent, 
9021 regent25|Adds Regent 25, 
9022         bel=^G, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z, khome=^A, 
9023         use=regent20, 
9024 regent40|Adds Regent 40, 
9025         xmc#1, 
9026         bel=^G, dl1=\El$<2*>, il1=\EM$<2*>, kf0=^B1\r, kf1=^B2\r, 
9027         kf2=^B3\r, kf3=^B4\r, kf4=^B5\r, kf5=^B6\r, kf6=^B7\r, 
9028         kf7=^B8\r, lf0=F1, lf1=F2, lf2=F3, lf3=F4, lf4=F5, lf5=F6, 
9029         lf6=F7, lf7=F8, rmso=\E0@, rmul=\E0@, sgr0=\E0@, smso=\E0P, 
9030         smul=\E0`, use=regent25, 
9031 regent40+|Adds Regent 40+, 
9032         is2=\EB, use=regent40, 
9033 regent60|regent200|Adds Regent 60, 
9034         dch1=\EE, is2=\EV\EB, kdch1=\EE, kich1=\EF, krmir=\EF, 
9035         rmir=\EF, rmso=\ER\E0@\EV, smir=\EF, smso=\ER\E0P\EV, 
9036         use=regent40+, 
9037 # From: <edward@onyx.berkeley.edu> Thu Jul  9 09:27:33 1981
9038 # (viewpoint: added <kcuf1>, function key, and <dl1> capabilities -- esr)
9039 viewpoint|addsviewpoint|adds viewpoint, 
9040         OTbs, am, 
9041         cols#80, lines#24, 
9042         bel=^G, clear=^L, cnorm=\017\E0`, cr=^M, cub1=^H, cud1=^J, 
9043         cuf1=^F, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, 
9044         cvvis=\017\E0P, dl1=\El, ed=\Ek$<16.1*>, el=\EK$<16>, 
9045         ind=^J, is2=\017\E0`, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z, 
9046         kf0=^B1, kf2=^B2, kf3=^B!, kf4=^B", kf5=^B#, khome=^A, ll=^A, 
9047         rmso=^O, rmul=^O, sgr0=^O, smso=^N, smul=^N, 
9048 # Some viewpoints have bad ROMs that foo up on ^O
9049 screwpoint|adds viewpoint with ^O bug, 
9050         cvvis@, rmso@, rmul@, smso@, smul@, use=viewpoint, 
9051
9052 # From: Jay S. Rouman <jsr@dexter.mi.org> 5 Jul 92
9053 # The <civis>/<cnorm>/<sgr>/<sgr0> strings were added by ESR from specs.  
9054 # Theory; the vp3a+ wants \E0%c to set highlights, where normal=01000000,
9055 # underline=01100000, rev=01010000, blink=01000010,dim=01000001,
9056 # invis=01000100 and %c is the logical or of desired attributes.
9057 # There is also a `tag bit' enabling attributes, set by \E) and unset by \E(.
9058 vp3a+|viewpoint3a+|adds viewpoint 3a+, 
9059         am, bw, 
9060         cols#80, it#8, lines#24, 
9061         civis=^W, clear=\E*$<80>, cnorm=^X, cr=^M, cub1=^H, cud1=^J, 
9062         cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
9063         ed=\EY$<80>, el=\ET, home=^^, ht=^I, ind=^J, kbs=^H, kcub1=^H, 
9064         kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, nel=^M^J, rmso=\E(, 
9065         sgr=\E0%{64}%?%p1%tQ%|%;%?%p2%t%{96}%|%;%?%p3%tP%|%;%?%p4%t%{2}%|%;%?%p5%t%{1}%|%;%?%p7%tD%|%;%c\E), 
9066         sgr0=\E(, smso=\E0Q\E), 
9067 vp60|viewpoint60|addsvp60|adds viewpoint60, 
9068         use=regent40, 
9069 #
9070 # adds viewpoint 90 - from cornell
9071 # Note:  emacs sends ei occasionally to insure the terminal is out of
9072 #        insert mode. This unfortunately puts the viewpoint90 IN insert
9073 #        mode.  A hack to get around this is <ich1=\EF\s\EF^U>.  (Also,
9074 #   -    :ei=:im=: must be present in the termcap translation.)
9075 #   -    <xhp> indicates glitch that attributes stick to location
9076 #   -    <msgr> means it's safe to move in standout mode
9077 #   -    <clear=\EG\Ek>: clears screen and visual attributes without affecting
9078 #               the status line
9079 # Function key and label capabilities merged in from SCO.
9080 vp90|viewpoint90|adds viewpoint 90, 
9081         OTbs, bw, msgr, xhp, 
9082         cols#80, lines#24, 
9083         clear=\EG\Ek, cub1=^H, cud1=^J, cuf1=^F, 
9084         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dch1=\EE, 
9085         dl1=\El, ed=\Ek, el=\EK, home=\EY\s\s, ht=^I, 
9086         ich1=\EF \EF\025, ind=^J, kbs=^H, kcub1=^U, kcud1=^J, 
9087         kcuf1=^F, kcuu1=^Z, kf0=^B1\r, kf1=^B2\r, kf10=^B;\r, 
9088         kf2=^B3\r, kf3=^B4\r, kf4=^B5\r, kf5=^B6\r, kf6=^B7\r, 
9089         kf7=^B8\r, kf8=^B9\r, kf9=^B\:\r, khome=^A, lf0=F1, lf1=F2, 
9090         lf10=F11, lf2=F3, lf3=F4, lf4=F5, lf5=F6, lf6=F7, lf7=F8, lf8=F9, 
9091         lf9=F10, ll=^A, rmso=\ER\E0@\EV, rmul=\ER\E0@\EV, 
9092         sgr0=\ER\E0@\EV, smso=\ER\E0Q\EV, smul=\ER\E0`\EV, 
9093 # Note: if return acts weird on a980, check internal switch #2
9094 # on the top chip on the CONTROL pc board.
9095 adds980|a980|adds consul 980, 
9096         OTbs, am, 
9097         cols#80, lines#24, 
9098         bel=^G, clear=\014$<1>\013@, cr=^M, cub1=^H, cud1=^J, 
9099         cuf1=\E^E01, cup=\013%p1%{64}%+%c\E\005%p2%2d, 
9100         dl1=\E\017$<13>, il1=\E\016$<13>, ind=^J, kf0=\E0, kf1=\E1, 
9101         kf2=\E2, kf3=\E3, kf4=\E4, kf5=\E5, kf6=\E6, kf7=\E7, kf8=\E8, 
9102         kf9=\E9, rmso=^O, sgr0=^O, smso=^Y^^^N, 
9103
9104 #### C. Itoh Electronics
9105 #
9106 # As of 1995 these people no longer make terminals (they're still in the
9107 # printer business).  Their terminals were all clones of the DEC VT series.
9108 # They're located in Orange County, CA.
9109 #
9110
9111 # CIT 80  - vt-52 emulator, the termcap has been modified to remove
9112 #           the delay times and do an auto tab set rather than the indirect
9113 #           file used in vt100.
9114 cit80|cit-80|citoh 80, 
9115         OTbs, am, 
9116         cols#80, lines#24, 
9117         clear=\E[H\EJ, cr=^M, cub1=^H, cuf1=\E[C, 
9118         cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\EJ, el=\EK, ff=^L, 
9119         ind=^J, is2=\E>, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, 
9120         kcuu1=\EOA, rmkx=\E[?1l\E>, smkx=\E[?1h\E=, 
9121 # From: Tim Wood <mtxinu!sybase!tim> Fri Sep 27 09:39:12 PDT 1985
9122 # (cit101: added <rmam>/<smam> based on init string, merged this with c101 -- esr)
9123 cit101|citc|C.itoh fast vt100, 
9124         OTbs, am, xenl, 
9125         cols#80, lines#24, 
9126         bel=^G, clear=\E[H\E[2J, cnorm=\E[V\E8, cub1=^H, cuf1=\E[C, 
9127         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, cvvis=\E7\E[U, 
9128         dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, 
9129         flash=\E[?5h$<200/>\E[?5l, ich1=\E[@, il1=\E[L, 
9130         is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[3g\E[>5g, 
9131         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
9132         rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
9133         sgr0=\E[m, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m, 
9134         smul=\E[4m, 
9135 # CIE Terminals CIT-101e from Geoff Kuenning <callan!geoff> via BRL
9136 # The following termcap entry was created from the Callan cd100 entry.  The
9137 # last two lines (with the capabilities in caps) are used by RM-cobol to allow
9138 # full selection of combinations of reverse video, underline, and blink.
9139 # (cit101e: removed unknown :f0=\EOp:f1=\EOq:f2=\EOr:f3=\EOs:f4=\EOt:f5=\EOu:\
9140 # f6=\EOv:f7=\EOw:f8=\EOx:f9=\EOy:AB=\E[0;5m:AL=\E[m:AR=\E[0;7m:AS=\E[0;5;7m:\
9141 # :NB=\E[0;1;5m:NM=\E[0;1m:NR=\E[0;1;7m:NS=\E[0;1;5;7m: -- esr)
9142 cit101e|C. Itoh CIT-101e, 
9143         OTbs, OTpt, am, mir, msgr, 
9144         cols#80, it#8, lines#24, 
9145         acsc=, clear=\E[H\E[J, cnorm=, csr=\E[%i%p1%2d;%p2%2dr, 
9146         cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, 
9147         cvvis=\E[?1l\E[?4l\E[?7h, dch1=\E[P, dl1=\E[M, ed=\E[J, 
9148         el=\E[K, if=/usr/share/tabset/vt100, il1=\E[L, 
9149         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\EOT, 
9150         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOm, kf6=\EOl, 
9151         kf7=\EOM, kf8=\EOn, rc=\E8, ri=\EM, rmacs=^O, rmir=\E[4l, 
9152         rmkx=\E>, rmso=\E[m, rmul=\E[m, sc=\E7, smacs=^N, smir=\E[4h, 
9153         smkx=\E=, smso=\E[7m, smul=\E[4m, 
9154 # From: David S. Lawyer, June 1997:
9155 # The CIT 101-e was made in Japan in 1983-4 and imported by CIE
9156 # Terminals in Irvine, CA.  It was part of CITOH Electronics.  In the
9157 # late 1980's CIT Terminals went out of business.
9158 # There is no need to use the initialization string is=... (by invoking
9159 # tset or setterm etc.) provided that the terminal has been manually set
9160 # up (and the setup saved with ^S) to be compatible with this termcap.  To be
9161 # compatible it should be in ANSI mode (not VT52).   A set-up that
9162 # works is to set all the manually setable stuff to factory defaults
9163 # by pressing ^D in set-up mode.  Then increse the brighness with the
9164 # up-arrow key since the factory default will likely be dim on an old
9165 # terminal.  Then change any options you want (provided that they are
9166 # compatible with the termcap).  For my terminal I set: Screen
9167 # Background: light; Keyclicks: silent; Auto wraparound: on; CRT saver:
9168 # on.  I also set up mine for parity (but you may not need it).  Then 
9169 # save the setup with ^S.
9170 # (cit101e-rv: added empty <rmcup> to suppress a tic warning. --esr)
9171 cit101e-rv|Citoh CIT-101e (sets reverse video), 
9172         am, eo, mir, msgr, xenl, xon, 
9173         cols#80, it#8, lines#24, 
9174         OTnl=\EM, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
9175         civis=\E[1v, clear=\E[H\E[J, cnorm=\E[0;3;4v, cr=^M, 
9176         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
9177         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
9178         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
9179         cvvis=\E[3;5v, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
9180         dl1=\E[M, ed=\E[J, el=\E[K, flash=\E[?5l\E[?5h$<200/>, 
9181         home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, 
9182         ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, 
9183         is2=\E<\E>\E[?1l\E[?3l\E[?4l\E[?5h\E[?7h\E[?8h\E[3g\E[>5g\E(B\E[m\E[20l\E[1;24r\E[24;1H, 
9184         kbs=\177, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
9185         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, nel=\EE, rc=\E8, 
9186         rev=\E[7m, ri=\EM, rin=\E[%p1%dT, rmcup=, rmir=\E[4l, 
9187         rmso=\E[m, rmul=\E[m, rs1=\Ec\E[?7h\E[>5g, sc=\E7, 
9188         sgr0=\E[m, smcup=\E[>5g\E[?7h\E[?5h, smir=\E[4h, 
9189         smso=\E[7m, smul=\E[4m, tbc=\E[3g, u6=\E[%i%p1%d;%p2%dR, 
9190         u7=\E[6n, u8=\E[?6c, u9=\E[c, 
9191 cit101e-n|CIT-101e w/o am, 
9192         am@, 
9193         cvvis=\E[?1l\E[?4l\E[?7l, kbs=^H, kcub1=^H, kcud1=^J, 
9194         use=cit101e, 
9195 cit101e-132|CIT-101e with 132 cols, 
9196         cols#132, 
9197         kbs=^H, kcub1=^H, kcud1=^J, use=cit101e, 
9198 cit101e-n132|CIT-101e with 132 cols w/o am, 
9199         am@, 
9200         cols#132, 
9201         cvvis=\E[?1l\E[?4l\E[?7l, kbs=^H, kcub1=^H, kcud1=^J, 
9202         use=cit101e, 
9203 # CIE Terminals CIT-500 from BRL
9204 # The following SET-UP modes are assumed for normal operation:
9205 #       GENERATE_XON/XOFF:YES   DUPLEX:FULL             NEWLINE:OFF
9206 #       AUTOWRAP:ON             MODE:ANSI               SCREEN_LENGTH:64_LINES
9207 #       DSPLY_CNTRL_CODES?NO    PAGE_WIDTH:80           EDIT_MODE:OFF
9208 # Other SET-UP modes may be set for operator convenience or communication
9209 # requirements.
9210 # Hardware tabs are assumed to be set every 8 columns; they can be set up
9211 # by the "reset", "tset", or "tabs" utilities.  No delays are specified; use
9212 # "stty ixon -ixany" to enable DC3/DC1 flow control!
9213 # (cit500: I added <rmam>/<smam> based on the init string -- esr)
9214 cit500|CIE Terminals CIT-500, 
9215         OTbs, OTpt, mir, msgr, xon, 
9216         OTkn#10, cols#80, it#8, lines#64, vt#3, 
9217         acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
9218         clear=\E[H\E[J, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
9219         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
9220         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
9221         cuu=\E[%p1%dA, cuu1=\EM, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
9222         ed=\EJ, el=\EK, home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, 
9223         il1=\E[L, ind=^J, is2=\E<\E)0, kbs=^H, kcbt=\E[Z, kcub1=\EOD, 
9224         kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[P, kdl1=\E[M, 
9225         ked=\EJ, kel=\EK, kf0=\EOP, kf1=\EOQ, kf2=\EOR, kf3=\EOS, 
9226         kf4=\EOU, kf5=\EOV, kf6=\EOW, kf7=\EOX, kf8=\EOY, kf9=\EOZ, 
9227         khome=\E[H, kich1=\E[4h, kil1=\E[L, krmir=\E[4l, lf0=PF1, 
9228         lf1=PF2, lf2=PF3, lf3=PF4, lf4=F15, lf5=F16, lf6=F17, lf7=F18, 
9229         lf8=F19, lf9=F20, ll=\E[64H, nel=\EE, rc=\E8, rev=\E[7m, 
9230         ri=\EM, rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, 
9231         rmso=\E[m, rmul=\E[m, 
9232         rs1=\E<\E2\E[20l\E[?6l\E[r\E[m\E[q\E(B\017\E)0\E>, 
9233         sc=\E7, sgr0=\E[m, smacs=^N, smam=\E[?7h, smir=\E[4h, 
9234         smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
9235
9236 # C. Itoh printers begin here
9237 citoh|ci8510|8510|c.itoh 8510a, 
9238         cols#80, it#8, 
9239         bold=\E!, cub1@, 
9240         is2=\E(009\,017\,025\,033\,041\,049\,057\,065\,073., 
9241         rep=\ER%p2%03d%p1%c, ri=\Er, rmul=\EY, sgr0=\E"\EY, 
9242         smul=\EX, use=lpr, 
9243 citoh-pica|citoh in pica, 
9244         is1=\EN, use=citoh, 
9245 citoh-elite|citoh in elite, 
9246         cols#96, 
9247         is1=\EE, 
9248         is2=\E(009\,017\,025\,033\,041\,049\,057\,065\,073\,081\,089., 
9249         use=citoh, 
9250 citoh-comp|citoh in compressed, 
9251         cols#136, 
9252         is1=\EQ, 
9253         is2=\E(009\,017\,025\,033\,041\,049\,057\,065\,073\,081\,089\,097\,105\,113\,121\,129., 
9254         use=citoh, 
9255 # citoh has infinite cols because we don't want lp ever inserting \n\t**.
9256 citoh-prop|citoh-ps|ips|citoh in proportional spacing mode, 
9257         cols#32767, 
9258         is1=\EP, use=citoh, 
9259 citoh-6lpi|citoh in 6 lines per inch mode, 
9260         is3=\EA, use=citoh, 
9261 citoh-8lpi|citoh in 8 lines per inch mode, 
9262         lines#88, 
9263         is3=\EB, use=citoh, 
9264
9265 #### Control Data (cdc)
9266 #
9267
9268 cdc456|cdc 456 terminal, 
9269         OTbs, am, 
9270         cols#80, lines#24, 
9271         bel=^G, clear=^Y^X, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
9272         cup=\E1%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dl1=\EJ, ed=^X, 
9273         el=^V, home=^Y, il1=\EL, ind=^J, 
9274
9275 # Assorted CDC terminals from BRL (improvements by DAG & Ferd Brundick)
9276 cdc721|CDC Viking, 
9277         OTbs, am, 
9278         cols#80, lines#24, 
9279         clear=^L, cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c, 
9280         cuu1=^W, el=^K, home=^Y, kcub1=^H, kcud1=^J, kcuf1=^I, 
9281         kcuu1=^W, khome=^Y, 
9282 cdc721ll|CDC Vikingll, 
9283         OTbs, am, 
9284         cols#132, lines#24, 
9285         clear=^L, cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c, 
9286         cuu1=^W, el=^K, home=^Y, kcub1=^H, kcud1=^J, kcuf1=^I, 
9287         kcuu1=^W, khome=^Y, 
9288 # (cdc752: the BRL entry had :ll=\E1  ^Z: commented out
9289 cdc752|CDC 752, 
9290         OTbs, am, bw, xhp, 
9291         cols#80, lines#24, 
9292         bel=^G, clear=\030\E1\s\s, cr=^M, cub1=^H, cud1=^J, cuf1=^U, 
9293         cup=\E1%p2%{32}%+%c%p1%{32}%+%c, cuu1=^Z, el=^V, 
9294         home=\E1\s\s, ind=^J, ll=^Y, rs1=\E1  \030\002\003\017, 
9295 # CDC 756
9296 # The following switch/key settings are assumed for normal operation:
9297 #       96 chars        SCROLL          FULL duplex     not BLOCK
9298 # Other switches may be set according to communication requirements.
9299 # Insert/delete-character cannot be used, as the whole display is affected.
9300 # "so" & "se" are commented out until jove handles "sg" correctly.
9301 cdc756|CDC 756, 
9302         OTbs, am, bw, 
9303         OTkn#10, cols#80, lines#24, 
9304         bel=^G, clear=^Y^X, cr=^M, cub1=^H, cud1=^J, cuf1=^U, 
9305         cup=\E1%p2%{32}%+%c%p1%{32}%+%c, cuu1=^Z, 
9306         dl1=\EJ$<6*/>, ed=^X, el=^V, home=^Y, il1=\EL$<6*/>, ind=^J, 
9307         kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^U, kcuu1=^Z, kdch1=\EI, 
9308         kdl1=\EL, ked=^X, kel=^V, kf0=\EA, kf1=\EB, kf2=\EC, kf3=\ED, 
9309         kf4=\EE, kf5=\EF, kf6=\EG, kf7=\EH, kf8=\Ea, kf9=\Eb, khome=^Y, 
9310         khts=^O, kich1=\EK, kil1=\EL, lf0=F1, lf1=F2, lf2=F3, lf3=F4, 
9311         lf4=F5, lf5=F6, lf6=F7, lf7=F8, lf8=F9, lf9=F10, ll=^Y^Z, 
9312         rs1=\031\030\002\003\017, 
9313 #
9314 # CDC 721 from Robert Viduya, Ga. Tech. <ihnp4!gatech!gitpyr!robert> via BRL.
9315 #
9316 # Part of the long initialization string defines the "DOWN" key to the left
9317 # of the tab key to send an ESC.  The real ESC key is positioned way out 
9318 # in right field.
9319 #
9320 # The termcap won't work in 132 column mode due to the way it it moves the
9321 # cursor.  Termcap doesn't have the capability (as far as I could tell) to
9322 # handle the 721 in 132 column mode.
9323 #
9324 # (cdc721: changed :ri: to :sr: -- esr)
9325 cdc721-esc|Control Data 721, 
9326         OTbs, OTpt, am, bw, msgr, xon, 
9327         OTkn#10, cols#80, it#8, lines#30, 
9328         bel=^G, blink=^N, cbt=^^^K, clear=^L, cub1=^H, cud1=^Z, 
9329         cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c, cuu1=^W, 
9330         dch1=^^N, dim=^\, dl1=^^Q, ed=^^P, el=^K, home=^Y, hts=^^^RW, 
9331         ich1=^^O, il1=^^R, ind=\036W =\036U, invis=^^^R[, 
9332         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, 
9333         kbs=^H, kcub1=^H, kcud1=^Z, kcuf1=^X, kcuu1=^W, kf0=^^q, 
9334         kf1=^^r, kf2=^^s, kf3=^^t, kf4=^^u, kf5=^^v, kf6=^^w, kf7=^^x, 
9335         kf8=^^y, kf9=^^z, khome=^Y, ll=^B =, rev=^^D, 
9336         ri=\036W =\036V, rmir=, rmkx=^^^Rl, rmso=^^E, rmul=^], 
9337         sgr0=\017\025\035\036E\036\022\\, smir=, smkx=^^^Rk, 
9338         smso=^^D, smul=^\, tbc=^^^RY, 
9339
9340 #### Getronics
9341 #
9342 # Getronics is a Dutch electronics company that at one time was called 
9343 # `Geveke' and made async terminals; but (according to the company itself!)
9344 # they've lost all their documentation on the command set.  The hardware
9345 # documentation suggests the terminals were actually manufactured by a
9346 # Taiwanese electronics company named Cal-Comp.  There are known
9347 # to have been at least two models, the 33 and the 50.
9348 #
9349
9350 # The 50 seems to be a top end vt220 clone, with the addition of a higher
9351 # screen resolution, a larger screen, at least 1 page of memory above and
9352 # below the screen, apparently pages of memory right and left of the screen
9353 # which can be panned, and about 75 function keys (15 function keys x normal,
9354 # shift, control, func A, func B). It also has more setup possibilities than
9355 # the vt220. The monitor case is dated November 1978 and the keyboard case is
9356 # May 1982.
9357 #
9358 # The vt100 emulation works as is.  The entry below describes the rather
9359 # non-conformant (but more featureful) ANSI mode.
9360 #
9361 # From: Stephen Peterson <stv@utrecht.ow.nl>, 27 May 1995
9362 visa50|geveke visa 50 terminal in ansi 80 character mode, 
9363         bw, mir, msgr, 
9364         cols#80, lines#25, 
9365         acsc=0_aaffggh jjkkllmmnnooqqssttuuvvwwxx, bel=^G, 
9366         blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[2J, cr=^M, 
9367         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D, 
9368         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
9369         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
9370         dch=\E[%p1%dX, dch1=\E[X, dim=\E[2m, dl=\E[%p1%dM, 
9371         dl1=\E[M, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l, home=\E[H, 
9372         hpa=\E[%i%p1%dG, ht=^I, ich=\E[%p1%d@, ich1=\E[@, 
9373         il=\E[%p1%dL, il1=\E[L, ind=^J, invis=\E[8m, 
9374         is2=\E0;2m\E[1;25r\E[25;1H\E[?3l\E[?7h\E[?8h, 
9375         ka1=\E[f, ka3=\EOQ, kb2=\EOP, kbs=^H, kc1=\EOR, kc3=\EOS, 
9376         kcub1=\E[D, kcud1=\E[A, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177, 
9377         kdl1=\EOS, kf0=\E010, kf1=\E001, kf10=\E011, kf2=\E002, 
9378         kf3=\E003, kf4=\E004, kf5=\E005, kf6=\E006, kf7=\E007, 
9379         kf8=\E008, kf9=\E009, khome=\E[f, lf2=A delete char, 
9380         lf3=A insert line, lf4=A delete line, lf5=A clear, 
9381         lf6=A ce of/cf gn, lf7=A print, lf8=A on-line, 
9382         lf9=A funcl0=A send, nel=^M^J, rev=\E[7m, rmacs=\E[3l, 
9383         rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, rmso=\E[0;2m, 
9384         rmul=\E[0m, sgr0=\E[0;2m, smacs=\E3h, smam=\E?7h, 
9385         smir=\E[4h, smkx=\E=, smso=\E[2;7m, smul=\E[4m, tbc=\E[3g, 
9386         vpa=\E[%i%p1%dd, 
9387
9388 #### Human Designed Systems (Concept)
9389 #
9390 #       Human Designed Systems
9391 #       400 Fehley Drive
9392 #       King of Prussia, PA 19406
9393 #       Vox: (610)-277-8300
9394 #       Fax: (610)-275-5739
9395 #       Net: support@hds.com
9396
9397 # John Martin <john@hds.com> is their termcap expert.  They're mostly out of
9398 # the character-terminal business now (1995) and making X terminals.  In
9399 # particular, the whole `Concept' line described here was discontinued long
9400 # ago.
9401 #
9402
9403 # From: <vax135!hpk>  Sat Jun 27 07:41:20 1981
9404 # Extensive changes to c108 by arpavax:eric Feb 1982
9405 # Some unknown person at SCO then translated it to terminfo.
9406 #
9407 # There seem to be a number of different versions of the C108 PROMS
9408 # (with bug fixes in its Z-80 program).
9409
9410 # The first one that we had would lock out the keyboard of you
9411 # sent lots of short lines (like /usr/dict/words) at 9600 baud.
9412 # Try that on your C108 and see if it sends a ^S when you type it.
9413 # If so, you have an old version of the PROMs.
9414
9415 # You should configure the C108 to send ^S/^Q before running this.
9416 # It is much faster (at 9600 baud) than the c100 because the delays
9417 # are not fixed.
9418 # new status line display entries for c108-8p:
9419 # <is3> - init str #3 - setup term for status display - 
9420 # set programmer mode, select window 2, define window at last 
9421 # line of memory, set bkgnd stat mesg there, select window 0.
9422
9423 # <tsl> - to status line - select window 2, home cursor, erase to 
9424 # end-of-window, 1/2 bright on, goto(line#0, col#?)
9425
9426 # <fsl> - from status line - 1/2 bright off, select window 0
9427
9428 # <dsl> - disable status display - set bkgnd status mesg with 
9429 # illegal window #
9430
9431 # There are probably more function keys that should be added but 
9432 # I don't know what they are.
9433 #
9434 # No delays needed on c108 because of ^S/^Q handshaking
9435 #
9436 c108|concept108|c108-8p|concept108-8p|concept 108 w/8 pages, 
9437         is3=\EU\E z"\Ev\001\177 !p\E ;"\E z \Ev  \001\177p\Ep\n, 
9438         rmcup=\Ev  \001\177p\Ep\r\n, use=c108-4p, 
9439 c108-4p|concept108-4p|concept 108 w/4 pages, 
9440         OTbs, eslok, hs, xon, 
9441         pb@, 
9442         acsc=jEkTl\\mMqLxU, cnorm=\Ew, cr=^M, 
9443         cup=\Ea%p1%?%p1%{95}%>%t\001%{96}%-%;%{32}%+%c%p2%?%p2%{95}%>%t\001%{96}%-%;%{32}%+%c, 
9444         cvvis=\EW, dch1=\E 1$<16*>, dsl=\E ;\177, fsl=\Ee\E z\s, 
9445         ind=^J, is1=\EK\E!\E F, 
9446         is3=\EU\E z"\Ev\177 !p\E ;"\E z \Ev  \001 p\Ep\n, 
9447         rmacs=\Ej\s, rmcup=\Ev  \001 p\Ep\r\n, smacs=\Ej!, 
9448         smcup=\EU\Ev  8p\Ep\r\E\025, 
9449         tsl=\E z"\E?\E\005\EE\Ea %+\s, use=c100, 
9450 c108-rv|c108-rv-8p|concept 108 w/8 pages in reverse video, 
9451         rmcup=\Ev  \002 p\Ep\r\n, smcup=\EU\Ev  8p\Ep\r, 
9452         use=c108-rv-4p, 
9453 c108-rv-4p|concept108rv4p|concept 108 w/4 pages in reverse video, 
9454         flash=\EK$<200>\Ek, is1=\Ek, rmso=\Ee, smso=\EE, 
9455         use=c108-4p, 
9456 c108-w|c108-w-8p|concept108-w-8|concept108-w8p|concept 108 w/8 pages in wide mode, 
9457         cols#132, 
9458         is1=\E F\E", rmcup=\Ev  ^A0\001D\Ep\r\n, 
9459         smcup=\EU\Ev  8\001D\Ep\r, use=c108-8p, 
9460
9461 # Concept 100:
9462 # These have only window relative cursor addressing, not screen 
9463 # relative. To get it to work right here, smcup/rmcup (which 
9464 # were invented for the concept) lock you into a one page 
9465 # window for screen style programs.
9466
9467 # To get out of the one page window, we use a clever trick:
9468 # we set the window size to zero ("\Ev    " in rmcup) which the 
9469 # terminal recognizes as an error and resets the window to all 
9470 # of memory.
9471
9472 # This trick works on c100 but does not on c108, sigh.
9473
9474 # Some tty drivers use cr3 for concept, others use nl3, hence 
9475 # the delays on cr and ind below. This padding is only needed at 
9476 # 9600 baud and up.  One or the other is commented out depending on 
9477 # local conventions.
9478
9479 # 2 ms padding on <rmcup> isn't always enough. 6 works fine. Maybe 
9480 # less than 6 but more than 2 will work.
9481
9482 # Note: can't use function keys f7-f10 because they are 
9483 # indistinguishable from arrow keys (!), also, del char and 
9484 # clear eol use xon/xoff so they probably won't work very well.
9485
9486 # Also note that we don't define insrt/del char/delline/eop/send 
9487 # because they don't transmit unless we reset them - I figured 
9488 # it was a bad idea to clobber their definitions.
9489
9490 # The <mc5> sequence changes the escape character to ^^ so that 
9491 # escapes will be passed through to the printer. Only trouble 
9492 # is that ^^ won't be - ^^ was chosen to be unlikely. 
9493 # Unfortunately, if you're sending raster bits through to be 
9494 # plotted, any character you choose will be likely, so we lose.
9495 #
9496 # \EQ"\EY(^W (send anything from printer to host, for xon/xoff) 
9497 # cannot be # in is2 because it will hang a c100 with no printer 
9498 # if sent twice.
9499 c100|concept100|concept|c104|c100-4p|hds concept 100, 
9500         OTbs, am, eo, mir, ul, xenl, 
9501         cols#80, lines#24, pb#9600, vt#8, 
9502         bel=^G, blink=\EC, clear=\E?\E\005$<2*>, cr=$<9>\r, 
9503         cub1=^H, cud1=^J, cuf1=\E=, 
9504         cup=\Ea%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E;, 
9505         dch1=\E\021$<16*>, dim=\EE, dl1=\E\002$<3*>, 
9506         ed=\E\005$<16*>, el=\E\025$<16>, flash=\Ek$<200>\EK, 
9507         ht=\011$<8>, il1=\E\022$<3*>, ind=^J, invis=\EH, ip=$<16*>, 
9508         is1=\EK, 
9509         is2=\EU\Ef\E7\E5\E8\El\ENH\E\0\Eo&\0\Eo'\E\Eo!\0\E\007!\E\010A@ \E4#\:"\E\:a\E4#;"\E\:b\E4#<"\E\:c, 
9510         is3=\Ev    $<6>\Ep\n, kbs=^H, kcbt=\E', kctab=\E_, 
9511         kcub1=\E>, kcud1=\E<, kcuf1=\E=, kcuu1=\E;, kdch1=\E^Q, 
9512         kdl1=\E^B, ked=\E^C, kel=\E^S, kf1=\E5, kf2=\E6, kf3=\E7, 
9513         kf4=\E8, kf5=\E9, kf6=\E\:a, kf7=\E\:b, kf8=\E\:c, khome=\E?, 
9514         khts=\E], kich1=\E^P, kil1=\E^R, kind=\E[, knp=\E-, kpp=\E., 
9515         kri=\E\\, krmir=\E\0, mc4=\036o \E\EQ!\EYP\027, 
9516         mc5=\EQ"\EY(\027\EYD\Eo \036, prot=\EI, 
9517         rep=\Er%p1%c%p2%{32}%+%c$<.2*>, rev=\ED, 
9518         rmcup=\Ev    $<6>\Ep\r\n, rmir=\E\s\s, rmkx=\Ex, 
9519         rmso=\Ed, rmul=\Eg, sgr0=\EN@, 
9520         smcup=\EU\Ev  8p\Ep\r\E\025$<16>, smir=\E^P, smkx=\EX, 
9521         smso=\ED, smul=\EG, 
9522 c100-rv|c100-rv-4p|concept100-rv|c100 rev video, 
9523         cnorm@, cvvis@, flash=\EK$<200>\Ek, is1=\Ek, rmso=\Ee, 
9524         smso=\EE, use=c100, 
9525 oc100|oconcept|c100-1p|old 1 page concept 100, 
9526         in, 
9527         is3@, use=c100, 
9528
9529 # From: Walter Skorski <walt@genetics1.JMP.TJU.EDU>, 16-oct-1996.
9530 # Lots of notes, originally inline, but ncurses doesn't grok that.
9531 #
9532 # am:   not available in power on mode, but turned on with \E[=107;207h in
9533 #       is2=.  Also, \E=124l in is2= could have been used to prevent needing
9534 #       to specify xenl:, but that would have rendered the last space on the
9535 #       last line useless.
9536 # bw:   Not available in power on mode, but turned on with \E[=107;207h in
9537 #       is2=.
9538 # clear: Could be done with \E[2J alone, except that vi (and probably most
9539 #       other programs) assume that this also homes the cursor.
9540 # dsl:  Go to window 2, go to the beginning of the line, use a line feed to
9541 #       scroll the window, and go back to window 1.
9542 # is2:  the string may cause a warning to be issued by tic that it
9543 #       found a very long line and that it suspects that a comma is missing
9544 #       somewhere.  This warning can be ignored (unless it comes up more than
9545 #       once).  The initialization string contains the following commands:
9546 #
9547 #        [Setup mode items changed from factory defaults:]
9548 #               \E)0                    set alternate character set to
9549 #                                               graphics
9550 #               ^O                      set character set to default
9551 #        [In case it wasn't]
9552 #               \E[m                    turn off all attributes
9553 #        [In case they weren't off]
9554 #               \E[=107;                cursor wrap and
9555 #                       207h                    character wrap on
9556 #               \E[90;3u                set Fkey definitions to "transmit"
9557 #                                               defaults
9558 #               \E[92;3u                set cursor key definitions to
9559 #                                               "transmit" defaults
9560 #               \E[43;1u                set shift F13 to transmit...
9561 #               \177\E$P\177
9562 #               \E[44;1u                set shift F14 to transmit...
9563 #                       \177\E$Q\177
9564 #               \E[45;1u                set shift F15 to transmit...
9565 #                       \177\E$R\177
9566 #               \E[46;1u                set shift F16 to transmit...
9567 #                       \177\E$S\177
9568 #               \E[200;1u               set shift up to transmit...
9569 #                       \177\E$A\177
9570 #               \E[201;1u               set shift down to transmit...
9571 #                       \177\E$B\177
9572 #               \E[202;1u               set shift right to transmit...
9573 #                       \177\E$C\177
9574 #               \E[203;1u               set shift left to transmit...
9575 #                       \177\E$D\177
9576 #               \E[204;1u               set shift home to transmit...
9577 #                       \177\E$H\177
9578 #               \E[212;1u               set backtab to transmit...
9579 #                       \177\E$I\177
9580 #               \E[213;1u               set shift backspace to transmit...
9581 #                       \177\E$^H\177
9582 #               \E[214;1u               set shift del to transmit...
9583 #                       "\E$\177"
9584 #        [Necessary items not mentioned in setup mode:]
9585 #               \E[2!w                  move to window 2
9586 #               \E[25;25w               define window as line 25 of memory
9587 #               \E[!w                   move to window 1
9588 #               \E[2*w                  show current line of window 2 as
9589 #                                               status line
9590 #               \E[2+x                  set meta key to use high bit
9591 #               \E[;3+}                 move underline to bottom of character
9592 #
9593 #       All Fkeys are set to their default transmit definitions with \E[90;3u
9594 #       in is2=.  IMPORTANT:  to use this terminal definition, the "quit" stty
9595 #       setting MUST be redefined or deactivated, because the default is
9596 #       contained in almost all of this terminal's Fkey strings!  If for some
9597 #       reason "quit" cannot be altered, the Fkeys can, but it would be
9598 #       necessary to change ^| to ^] in all of these definitions, and add
9599 #       \E[2;029!t to is2.
9600 # lines: is set to 24 because this terminal refuses to treat the 25th
9601 #       line normally.
9602 # ll:   Not available in power on mode, but turned on with \E[=107;207h in
9603 #       is2=.
9604 # lm:   Pointless, given that this definition locks a single screen of
9605 #       memory into view, but what the hey...
9606 # rmso: Could use \E[1;7!{ to turn off only bold and reverse (leaving any
9607 #       other attributes alone), but some programs expect this to turn off
9608 #       everything.
9609 # rmul: Could use \E[4!{ to turn off only underline (leaving any other
9610 #       attributes alone), but some programs expect this to turn off
9611 #       everything.
9612 # sgr:  Attributes are set on this terminal with the string \E[ followed by
9613 #       a list of attribute code numbers (in decimal, separated by
9614 #       semicolons), followed by the character m.  The attribute code
9615 #       numbers are:
9616 #                 1 for bold;
9617 #                 2 for dim (which is ignored in power on mode);
9618 #                 4 for underline;
9619 #                 5 for blinking;
9620 #                 7 for inverse;
9621 #                 8 for not displayable; and
9622 #               =99 for protected (except that there are strange side
9623 #               effects to protected characters which make them inadvisable).
9624 #        The mapping of terminfo parameters to attributes is as follows:
9625 #               %p1 (standout) = bold and inverse together;
9626 #               %p2 (underline) = underline;
9627 #               %p3 (reverse) = inverse;
9628 #               %p4 (blink) = blinking;
9629 #               %p5 (dim) is ignored;
9630 #               %p6 (bold) = bold;
9631 #               %p7 (invisible) = not displayable;
9632 #               %p8 (protected) is ignored; and
9633 #               %p9 (alt char set) = alt char set.
9634 #        The code to do this is:
9635 #               \E[0            OUTPUT  \E[0
9636 #               %?%p1%p6%O      IF      (standout; bold) OR
9637 #               %t;1            THEN    OUTPUT  ;1
9638 #               %;              ENDIF
9639 #               %?%p2           IF      underline
9640 #               %t;4            THEN    OUTPUT  ;4
9641 #               %;              ENDIF
9642 #               %?%p4           IF      blink
9643 #               %t;5            THEN    OUTPUT  ;5
9644 #               %;              ENDIF
9645 #               %?%p1%p3%O      IF      (standout; reverse) OR
9646 #               %t;7            THEN    OUTPUT  ;7
9647 #               %;              ENDIF
9648 #               %?%p7           IF      invisible
9649 #               %t;8            THEN    OUTPUT  ;8
9650 #               %;              ENDIF
9651 #               m               OUTPUT  m
9652 #               %?%p9           IF      altcharset
9653 #               %t^N            THEN    OUTPUT  ^N
9654 #               %e^O            ELSE    OUTPUT  ^O
9655 #               %;              ENDIF
9656 # sgr0: Everything is turned off (including alternate character set), since
9657 #       there is no way of knowing what it is that the program wants turned
9658 #       off.
9659 # smul: The "underline" attribute is reconfigurable to an overline or
9660 #       strikethru, or (as done with \E[;3+} in is2=), to a line at the true
9661 #       bottom of the character cell.  This was done to allow for more readable
9662 #       underlined characters, and to be able to distinguish between an
9663 #       underlined space, an underscore, and an underlined underscore.
9664 # xenl: Terminal can be configured to not need this, but this "glitch"
9665 #       behavior is actually preferable with autowrap terminals.
9666 #
9667 # Parameters kf31= thru kf53= actually contain the strings sent by the shifted
9668 # Fkeys.  There are no parameters for shifted Fkeys in terminfo.  The is2
9669 # string modifies the 'O' in kf43 to kf46 to a '$'.
9670 #
9671 # kcbt was originally ^I but redefined in is2=.
9672 # kHOM was \E[H originally but redefined in is2=, as were a number of
9673 # other keys.
9674 # kDC was originally \177 but redefined in is2=.
9675 #
9676 # kbs:  Shift was also ^H originally but redefined as \E$^H in is2=.
9677 # tsl:  Go to window 2, then do an hpa=.
9678 #
9679 #------- flash=\E[8;3!}^G\E[3;3!}
9680 #------- flash=\E[?5h$<100>\E[?5l
9681 # There are two ways to flash the screen, both of which have their drawbacks. 
9682 # The first is to set the bell mode to video, transmit a bell character, and
9683 # set the bell mode back - but to what?  There is no way of knowing what the
9684 # user's old bell setting was before we messed with it.  Worse, the command to
9685 # set the bell mode also sets the key click volume, and there is no way to say
9686 # "leave that alone", or to know what it's set to, either.
9687 # The second way to do a flash is to set the screen to inverse video, pad for a
9688 # tenth of a second, and set it back - but like before, there's no way to know
9689 # that the screen wasn't ALREADY in inverse video, or that the user may prefer
9690 # it that way.  The point is moot anyway, since vi (and probably other
9691 # programs) assume that by defining flash=, you want the computer to use it
9692 # INSTEAD of bel=, rather than as a secondary type of signal.
9693 #
9694 #------- cvvis=\E[+{
9695 # The is the power on setting, which is also as visible as the cursor
9696 # gets.
9697 #-------  wind=\E[%i%p1%d;%p2%d;%p3%{1}%+%d;%p4%{1}%+%dw
9698 # Windowing is possible, but not defined here because it is also used to
9699 # emulate status line functions.  Allowing a program to set a window could
9700 # clobber the status line or render it unusable.  There is additional memory,
9701 # but screen scroll functions are destructive and do not make use of it.
9702 #
9703 #-------   dim=                 Not available in power on mode.
9704 # You have a choice of defining low intensity characters as "half bright" and
9705 # high intensity as "normal", or defining low as "normal" and high as "bold". 
9706 # No matter which you choose, only one of either "half bright" or "bold" is
9707 # available at any time, so taking the time to override the default is
9708 # pointless.
9709 #
9710 #-------  prot=\E[=0;99m
9711 # Not defined, because it appears to have some strange side effects.
9712 #------- pfkey=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%du\177%p2%s\177%;
9713 #------- pfloc=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%du\177%p2%s\177%;
9714 #-------   pfx=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%d;1u\177%p2%s\177%;
9715 #        Available, but making them available to programs is inadvisable.
9716 #        The code to do this is:
9717 #               %?%p1%{24}%<    IF      ((key; 24) <;
9718 #               %p1%{30}%>               ((key; 30) >;
9719 #               %p1%{54}%<                (key; 54) <
9720 #               %A                       ) AND
9721 #               %O                      ) OR
9722 #        [that is, "IF key < 24 OR (key > 30 AND key < 54)",]
9723 #               %t\E[           THEN    OUTPUT  \E[
9724 #               %p1%d                   OUTPUT  (key) as decimal
9725 #        [next line applies to pfx only]
9726 #               ;1                      OUTPUT  ;1
9727 #               u                       OUTPUT  u
9728 #               \177                    OUTPUT  \177
9729 #               %p2%s                   OUTPUT  (string) as string
9730 #               \177                    OUTPUT  \177
9731 #        [DEL chosen as delimiter, but could be any character]
9732 #        [implied:              ELSE    do nothing]
9733 #               %;              ENDIF
9734 #       
9735 #-------   rs2=
9736 # Not defined since anything it might do could be done faster and easier with
9737 # either Meta-Shift-Reset or the main power switch.
9738 #
9739 #-------  smkx=\E[1!z
9740 #-------  rmkx=\E[!z
9741 # These sequences apply to the cursor and setup keys only, not to the
9742 # numeric keypad.  But it doesn't matter anyway, since making these
9743 # available to programs is inadvisable.
9744 # For the key definitions below, all sequences beginning with \E$ are
9745 # custom and programmed into the terminal via is2.  \E$ also has no
9746 # meaning to any other terminal.
9747 #
9748 #------- cmdch=\E[;%p1%d!t
9749 # Available, but making it available to programs is inadvisable.
9750 #------- smxon=\E[1*q
9751 # Available, but making it available to programs is inadvisable.
9752 # Terminal will send XON/XOFF on buffer overflow.
9753 #------- rmxon=\E[*q
9754 # Available, but making it available to programs is inadvisable.
9755 # Terminal will not notify on buffer overflow.
9756 #-------   smm=\E[2+x
9757 #-------   rmm=\E[+x
9758 # Available, but making them available to programs is inadvisable.
9759 #
9760 # Printing:
9761 #        It's not made clear in the manuals, but based on other ansi/vt type
9762 #        terminals, it's a good guess that this terminal is capable of both
9763 #        "transparent print" (which doesn't copy data to the screen, and
9764 #        therefore needs mc5i: specified to say so) and "auxilliary print"
9765 #        (which does duplicate printed data on the screen, in which case mc4=
9766 #        and mc5= should use the \E[?4i and \E[?5i strings instead).
9767
9768 hds200|Human Designed Systems HDS200, 
9769         am, bw, eslok, hs, km, mc5i, mir, msgr, xenl, xon, 
9770         cols#80, it#8, lines#24, lm#0, 
9771         acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G, 
9772         blink=\E[0;5m, bold=\E[0;1m, cbt=\E[Z, civis=\E[6+{, 
9773         clear=\E[H\E[J, cnorm=\E[+{, cr=^M, 
9774         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D, 
9775         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
9776         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
9777         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
9778         dsl=\E[2!w\r\n\E[!w, ed=\E[J, el=\E[K, el1=\E[1K, 
9779         fsl=\E[!w, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, 
9780         ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
9781         invis=\E[0;8m, 
9782         is2=\E)0\017\E[m\E[=107;207h\E[90;3u\E[92;3u\E[43;1u\177\E$P\177\E[44;1u\177\E$Q\177\E[45;1u\177\E$R\177\E[46;1u\177\E$S\177\E[200;1u\177\E$A\177\E[201;1u\177\E$B\177\E[202;1u\177\E$C\177\E[203;1u\177\E$D\177\E[204;1u\177\E$H\177\E[212;1u\177\E$I\177\E[213;1u\177\E$\010\177\E[214;1u"\E$\177"\E[2!w\E[25;25w\E[!w\E[2*w\E[2+x\E[;3+}, 
9783         kDC=\E$\177, kHOM=\E$H, kLFT=\E$D, kRIT=\E$C, kbs=^H, 
9784         kcbt=\E$I, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
9785         kdch1=\177, kent=^M, kf1=^\001\r, kf10=^\010\r, 
9786         kf11=^\011\r, kf12=^\012\r, kf13=\EOP, kf14=\EOQ, 
9787         kf15=\EOR, kf16=\EOS, kf17=^\017\r, kf18=^\018\r, 
9788         kf19=^\019\r, kf2=^\002\r, kf20=^\020\r, kf21=^\021\r, 
9789         kf22=^\022\r, kf23=^\023\r, kf3=^\003\r, kf31=^\031\r, 
9790         kf32=^\032\r, kf33=^\033\r, kf34=^\034\r, kf35=^\035\r, 
9791         kf36=^\036\r, kf37=^\037\r, kf38=^\038\r, kf39=^\039\r, 
9792         kf4=^\004\r, kf40=^\040\r, kf41=^\041\r, kf42=^\042\r, 
9793         kf43=\E$P, kf44=\E$Q, kf45=\E$R, kf46=\E$S, kf47=^\047\r, 
9794         kf48=^\048\r, kf49=^\049\r, kf5=^\005\r, kf50=^\050\r, 
9795         kf51=^\051\r, kf52=^\052\r, kf53=^\053\r, kf6=^\006\r, 
9796         kf7=^\007\r, kf8=^\008\r, kf9=^\009\r, khome=\E[H, 
9797         kind=\E[T, knp=\E[U, kpp=\E[V, kri=\E[S, ll=\E[H\E[A, 
9798         mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=\E[E, rc=\E8, 
9799         rev=\E[0;7m, ri=\EM, rmacs=^O, rmir=\E[4l, rmso=\E[m\017, 
9800         rmul=\E[m\017, sc=\E7, 
9801         sgr=\E[0%?%p1%p6%O%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%O%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
9802         sgr0=\E[m\017, smacs=^N, smir=\E[4h, smso=\E[0;1;7m, 
9803         smul=\E[0;4m, tbc=\E[3g, tsl=\E[2!w\E[%i%p1%dG, 
9804         vpa=\E[%i%p1%dd, 
9805
9806 # <ht> through <el> included to specify padding needed in raw mode.
9807 # (avt-ns: added empty <acsc> to suppress a tic warning --esr)
9808 avt-ns|concept avt no status line, 
9809         OTbs, am, eo, mir, ul, xenl, xon, 
9810         cols#80, it#8, lines#24, lm#192, 
9811         acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
9812         clear=\E[H\E[J$<38>, cnorm=\E[=119l, cr=^M, 
9813         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
9814         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
9815         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
9816         cvvis=\E[=119h, dch1=\E[P, dim=\E[1!{, dl=\E[%p1%dM$<4*>, 
9817         dl1=\E[M$<4>, ed=\E[J$<96>, el=\E[K$<6>, home=\E[H, 
9818         hpa=\E[%p1%{1}%+%dG, ht=\011$<4>, hts=\EH, ich=\E[%p1%d@, 
9819         ich1=\E[@, il=\E[%p1%dL$<4*>, il1=\E[L$<4>, ind=\n$<8>, 
9820         invis=\E[8m, ip=$<4>, is1=\E[=103l\E[=205l, 
9821         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, 
9822         kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
9823         kdch1=\E^B\r, ked=\E^D\r, kf1=\EOP, kf2=\EOQ, kf3=\EOR, 
9824         kf4=\EOS, khome=\E[H, kich1=\E^A\r, kil1=\E^C\r, ll=\E[24H, 
9825         mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, 
9826         pfloc=\E[%p1%d;0u#%p2%s#, pfx=\E[%p1%d;1u#%p2%s#, 
9827         prot=\E[99m, rc=\E8, rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, 
9828         ri=\EM$<4>, rmacs=\016$<1>, rmcup=\E[w\E2\r\n, 
9829         rmir=\E[4l, rmkx=\E[!z\E[0;2u, rmso=\E[7!{, rmul=\E[4!{, 
9830         sc=\E7, 
9831         sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m, 
9832         sgr0=\E[m, smacs=\017$<1>, smcup=\E[=4l\E[1;24w\E2\r, 
9833         smir=\E[4h, smkx=\E[1!z\E[0;3u, smso=\E[7m, smul=\E[4m, 
9834         tbc=\E[2g, vpa=\E[%p1%{1}%+%dd, 
9835 avt-rv-ns|concept avt in reverse video mode/no status line, 
9836         flash=\E[=205l$<200>\E[=205h, is1=\E[=103l\E[=205h, 
9837         use=avt-ns, 
9838 avt-w-ns|concept avt in 132 column mode/no status line, 
9839         is1=\E[=103h\E[=205l, smcup=\E[H\E[1;24;1;132w, 
9840         use=avt-ns, 
9841 avt-w-rv-ns|concept avt in 132 column mode/no status line/reverse video, 
9842         flash=\E[=205l$<200>\E[=205h, is1=\E[=103h\E[=205h, 
9843         smcup=\E[H\E[1;24;1;132w, use=avt-ns, 
9844
9845 # Concept AVT with status line. We get the status line using the
9846 # "Background status line" feature of the terminal. We swipe the
9847 # first line of memory in window 2 for the status line, keeping
9848 # 191 lines of memory and 24 screen lines for regular use.
9849 # The first line is used instead of the last so that this works
9850 # on both 4 and 8 page AVTs. (Note the lm#191 or 192 - this
9851 # assumes an 8 page AVT but lm isn't currently used anywhere.)
9852 #
9853 avt+s|concept avt status line changes, 
9854         eslok, hs, 
9855         lm#191, 
9856         dsl=\E[0*w, fsl=\E[1;1!w, 
9857         is3=\E[2w\E[2!w\E[1;1;1;80w\E[H\E[2*w\E[1!w\E2\r\n, 
9858         rmcup=\E[2w\E2\r\n, smcup=\E[2;25w\E2\r, 
9859         tsl=\E[2;1!w\E[;%p1%dH\E[2K, 
9860 avt|avt-s|concept-avt|avt w/80 columns, 
9861         use=avt+s, use=avt-ns, 
9862 avt-rv|avt-rv-s|avt reverse video w/sl, 
9863         flash=\E[=205l$<200>\E[=205h, is1=\E[=103l\E[=205h, 
9864         use=avt+s, use=avt-ns, 
9865 avt-w|avt-w-s|concept avt 132 cols+status, 
9866         is1=\E[=103h\E[=205l, smcup=\E[H\E[1;24;1;132w, 
9867         use=avt+s, use=avt-ns, 
9868 avt-w-rv|avt-w-rv-s|avt wide+status+rv, 
9869         flash=\E[=205l$<200>\E[=205h, is1=\E[=103h\E[=205h, 
9870         smcup=\E[H\E[1;24;1;132w, use=avt+s, use=avt-ns, 
9871
9872 #### Contel Business Systems. 
9873 #
9874
9875 # Contel c300 and c320 terminals. 
9876 contel300|contel320|c300|Contel Business Systems C-300 or C-320, 
9877         am, in, xon, 
9878         cols#80, lines#24, xmc#1, 
9879         bel=^G, clear=\EK, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
9880         cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA, 
9881         dch1=\EO$<5.5*>, dl1=\EM$<5.5*>, ed=\EJ$<5.5*>, 
9882         el=\EI$<5.5>, flash=\020\002$<200/>\020\003, home=\EH, 
9883         hts=\E1, ich1=\EN, il1=\EL$<5.5*>, ind=^J, ip=$<5.5*>, 
9884         kbs=^H, kf0=\ERJ, kf1=\ERA, kf2=\ERB, kf3=\ERC, kf4=\ERD, 
9885         kf5=\ERE, kf6=\ERF, kf7=\ERG, kf8=\ERH, kf9=\ERI, ll=\EH\EA, 
9886         rmso=\E!\0, sgr0=\E!\0, smso=\E!\r, tbc=\E3, 
9887 # Contel c301 and c321 terminals.
9888 contel301|contel321|c301|c321|Contel Business Systems C-301 or C-321, 
9889         flash@, ich1@, ip@, rmso=\E!\0$<20>, smso=\E!\r$<20>, 
9890         use=contel300, 
9891
9892 #### Data General (dg)
9893 #
9894 # According to James Carlson <carlson@xylogics.com> writing in January 1995,
9895 # the terminals group at Data General was shut down in 1991; all these
9896 # terminals have thus been discontinued.
9897 #
9898 # DG terminals have function keys that respond to the SHIFT and CTRL keys,
9899 # e.g., SHIFT-F1 generates a different code from F1.  To number the keys
9900 # sequentially, first the unmodified key codes are listed as F1 through F15. 
9901 # Then their SHIFT versions are listed as F16 through F30, their CTRL versions
9902 # are listed as F31 through F45, and their CTRL-SHIFT versions are listed as
9903 # F46 through F60.  This is done in the private "includes" below whose names
9904 # start with "dgkeys+".
9905 #
9906 # DG terminals generally support 8 bit characters.  For each of these terminals
9907 # two descriptions are supplied:
9908 #       1) A default description for 8 bits/character communications, which
9909 #          uses the default DG international character set and keyboard codes.
9910 #       2) A description with suffix "-7b" for 7 bits/character communications.
9911 #          This description must use the NON-DEFAULT native keyboard language.
9912
9913 # Unmodified fkeys (kf1-kf11), Shift fkeys (kf12-kf22), Ctrl fkeys (kf23-kf33),
9914 # Ctrl/Shift fdkeys (kf34-kf44).
9915
9916 dgkeys+8b|Private entry describing DG terminal 8-bit ANSI mode special keys, 
9917         ka1=\233020z, ka3=\233021z, kc1=\233022z, kc3=\233023z, 
9918         kclr=\2332J, kcub1=\233D, kcud1=\233B, kcuf1=\233C, 
9919         kcuu1=\233A, kel=\233K, kf1=\233001z, kf10=\233010z, 
9920         kf11=\233011z, kf12=\233012z, kf13=\233013z, 
9921         kf14=\233014z, kf15=\233000z, kf16=\233101z, 
9922         kf17=\233102z, kf18=\233103z, kf19=\233104z, 
9923         kf2=\233002z, kf20=\233105z, kf21=\233106z, 
9924         kf22=\233107z, kf23=\233108z, kf24=\233109z, 
9925         kf25=\233110z, kf26=\233111z, kf27=\233112z, 
9926         kf28=\233113z, kf29=\233114z, kf3=\233003z, 
9927         kf30=\233100z, kf31=\233201z, kf32=\233202z, 
9928         kf33=\233203z, kf34=\233204z, kf35=\233205z, 
9929         kf36=\233206z, kf37=\233207z, kf38=\233208z, 
9930         kf39=\233209z, kf4=\233004z, kf40=\233210z, 
9931         kf41=\233211z, kf42=\233212z, kf43=\233213z, 
9932         kf44=\233214z, kf45=\233200z, kf46=\233301z, 
9933         kf47=\233302z, kf48=\233303z, kf49=\233304z, 
9934         kf5=\233005z, kf50=\233305z, kf51=\233306z, 
9935         kf52=\233307z, kf53=\233308z, kf54=\233309z, 
9936         kf55=\233310z, kf56=\233311z, kf57=\233312z, 
9937         kf58=\233313z, kf59=\233314z, kf6=\233006z, 
9938         kf60=\233300z, kf7=\233007z, kf8=\233008z, kf9=\233009z, 
9939         khome=\233H, kprt=\233i, 
9940
9941 dgkeys+7b|Private entry describing DG terminal 7-bit ANSI mode special keys, 
9942         ka1=\E[020z, ka3=\E[021z, kc1=\E[022z, kc3=\E[023z, 
9943         kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
9944         kel=\E[K, kf1=\E[001z, kf10=\E[010z, kf11=\E[011z, 
9945         kf12=\E[012z, kf13=\E[013z, kf14=\E[014z, kf15=\E[000z, 
9946         kf16=\E[101z, kf17=\E[102z, kf18=\E[103z, kf19=\E[104z, 
9947         kf2=\E[002z, kf20=\E[105z, kf21=\E[106z, kf22=\E[107z, 
9948         kf23=\E[108z, kf24=\E[109z, kf25=\E[110z, kf26=\E[111z, 
9949         kf27=\E[112z, kf28=\E[113z, kf29=\E[114z, kf3=\E[003z, 
9950         kf30=\E[100z, kf31=\E[201z, kf32=\E[202z, kf33=\E[203z, 
9951         kf34=\E[204z, kf35=\E[205z, kf36=\E[206z, kf37=\E[207z, 
9952         kf38=\E[208z, kf39=\E[209z, kf4=\E[004z, kf40=\E[210z, 
9953         kf41=\E[211z, kf42=\E[212z, kf43=\E[213z, kf44=\E[214z, 
9954         kf45=\E[200z, kf46=\E[301z, kf47=\E[302z, kf48=\E[303z, 
9955         kf49=\E[304z, kf5=\E[005z, kf50=\E[305z, kf51=\E[306z, 
9956         kf52=\E[307z, kf53=\E[308z, kf54=\E[309z, kf55=\E[310z, 
9957         kf56=\E[311z, kf57=\E[312z, kf58=\E[313z, kf59=\E[314z, 
9958         kf6=\E[006z, kf60=\E[300z, kf7=\E[007z, kf8=\E[008z, 
9959         kf9=\E[009z, khome=\E[H, kprt=\E[i, 
9960
9961 dgkeys+11|Private entry describing 11 minimal-subset DG mode special keys, 
9962         kclr=^L, kcub1=^Y, kcud1=^Z, kcuf1=^X, kcuu1=^W, kel=^K, 
9963         kf1=^^q, kf10=^^z, kf11=^^{, kf12=^^a, kf13=^^b, kf14=^^c, 
9964         kf15=^^d, kf16=^^e, kf17=^^f, kf18=^^g, kf19=^^h, kf2=^^r, 
9965         kf20=^^i, kf21=^^j, kf22=^^k, kf23=^^1, kf24=^^2, kf25=^^3, 
9966         kf26=^^4, kf27=^^5, kf28=^^6, kf29=^^7, kf3=^^s, kf30=^^8, 
9967         kf31=^^9, kf32=^^\:, kf33=^^;, kf34=^^!, kf35=^^", kf36=^^#, 
9968         kf37=^^$, kf38=^^%, kf39=^^&, kf4=^^t, kf40=^^', kf41=^^(, 
9969         kf42=^^), kf43=^^*, kf44=^^+, kf5=^^u, kf6=^^v, kf7=^^w, 
9970         kf8=^^x, kf9=^^y, khome=^H, 
9971
9972 dgkeys+15|Private entry describing 15 DG mode special keys, 
9973         kHOM=^^^H, kLFT=^^^Y, kRIT=^^^X, ka1=^^\\, ka3=^^], kc1=^^\^, 
9974         kc3=^^_, kf1=^^q, kf10=^^z, kf11=^^{, kf12=^^|, kf13=^^}, 
9975         kf14=^^~, kf15=^^p, kf16=^^a, kf17=^^b, kf18=^^c, kf19=^^d, 
9976         kf2=^^r, kf20=^^e, kf21=^^f, kf22=^^g, kf23=^^h, kf24=^^i, 
9977         kf25=^^j, kf26=^^k, kf27=^^l, kf28=^^m, kf29=^^n, kf3=^^s, 
9978         kf30=^^`, kf31=^^1, kf32=^^2, kf33=^^3, kf34=^^4, kf35=^^5, 
9979         kf36=^^6, kf37=^^7, kf38=^^8, kf39=^^9, kf4=^^t, kf40=^^\:, 
9980         kf41=^^;, kf42=^^<, kf43=^^=, kf44=^^>, kf45=^^0, kf46=^^!, 
9981         kf47=^^", kf48=^^#, kf49=^^$, kf5=^^u, kf50=^^%, kf51=^^&, 
9982         kf52=^^', kf53=^^(, kf54=^^), kf55=^^*, kf56=^^+, kf57=^^\,, 
9983         kf58=^^-, kf59=^^., kf6=^^v, kf60=^^\s, kf7=^^w, kf8=^^x, 
9984         kf9=^^y, 
9985
9986 # Data General color terminals use the "Tektronix" color model.  The total
9987 # number of colors varies with the terminal model, as does support for
9988 # attributes used in conjunction with color.
9989
9990 # Removed u7, u8 definitions since they conflict with tack:
9991 #               Preserve user-defined colors in at least some cases.
9992 #       u7=^^Fh,
9993 #               Default is ACM mode.
9994 #       u8=^^F}20^^Fi^^F}21,
9995 #
9996 dgunix+fixed|Fixed color info for DG D430C terminals in DG-UNIX mode, 
9997         bce, 
9998         colors#16, ncv#53, pairs#256, 
9999         op=\036Ad\036Bd, 
10000         setab=\036B%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c, 
10001         setaf=\036A%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c, 
10002         setb=\036B%p1%{48}%+%c, setf=\036A%p1%{48}%+%c, 
10003
10004 dg+fixed|Fixed color info for DG D430C terminals in DG mode, 
10005         use=dgunix+fixed, 
10006
10007 # Video attributes are coordinated using static variables set by "sgr", then
10008 # checked by "op", "seta[bf]", and "set[bf]" to refresh the attribute settings. 
10009 # (D=dim, U=underline, B=blink, R=reverse.)
10010 dg+color8|Color info for Data General D220 and D230C terminals in ANSI mode, 
10011         bce, 
10012         colors#8, ncv#16, pairs#64, 
10013         op=\E[%?%gD%t2;%;%?%gU%t4;%;%?%gB%t5;%;%?%gR%t7;%;m, 
10014         setab=\E[4%p1%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m, 
10015         setaf=\E[3%p1%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m, 
10016         setb=\E[4%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m, 
10017         setf=\E[3%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m, 
10018
10019 dg+color|Color info for Data General D470C terminals in ANSI mode, 
10020         colors#16, ncv#53, pairs#256, 
10021         setab=\E[%?%p1%{8}%<%t4%p1%e=%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m, 
10022         setaf=\E[%?%p1%{8}%<%t3%p1%e<%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m, 
10023         setb=\E[%?%p1%{8}%<%t4%e=%;%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m, 
10024         setf=\E[%?%p1%{8}%<%t3%e<%;%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m, 
10025         use=dg+color8, 
10026
10027 dgmode+color8|Color info for Data General D220/D230C terminals in DG mode, 
10028         bce, 
10029         colors#8, ncv#16, pairs#64, 
10030         op=\036Ad\036Bd, 
10031         setab=\036B%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%{48}%+%c, 
10032         setaf=\036A%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%{48}%+%c, 
10033         setb=\036B%p1%{48}%+%c, setf=\036A%p1%{48}%+%c, 
10034
10035 dgmode+color|Color info for Data General D470C terminals in DG mode, 
10036         colors#16, pairs#256, 
10037         setab=\036B%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c, 
10038         setaf=\036A%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c, 
10039         use=dgmode+color8, 
10040
10041 dgunix+ccc|Configurable color info for DG D430C terminals in DG-UNIX mode, 
10042         bce, ccc, 
10043         colors#52, ncv#53, pairs#26, 
10044         initp=\036RG0%p1%02X%p2%{256}%*%{1001}%/%02X%p3%{256}%*%{1001}%/%02X%p4%{256}%*%{1001}%/%02X%p5%{256}%*%{1001}%/%02X%p6%{256}%*%{1001}%/%02X%p7%{256}%*%{1001}%/%02X, 
10045         oc=\036RG01A00FF00000000\036RG01B00000000FF00\036RG01C007F00000000\036RG01D000000007F00, 
10046         op=\036RF4831A\036RF2E31B\036RF1D31C\036RF3F31D, 
10047         scp=\036RG2%p1%02X, 
10048
10049 # Colors are in the order:  normal, reverse, dim, dim + reverse.
10050 dg+ccc|Configurable color info for DG D430C terminals in DG mode, 
10051         bce, ccc, 
10052         colors#52, ncv#53, pairs#26, 
10053         initp=\036RG0%p1%{16}%/%{48}%+%c%p1%{16}%m%{48}%+%c%p2%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p3%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p4%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p5%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p6%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p7%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c, 
10054         oc=\036RG01\:00??00000000\036RG01;00000000??00\036RG01<007?00000000\036RG01=000000007?00, 
10055         op=\036RF4831\:\036RF2>31;\036RF1=31<\036RF3?31=, 
10056         scp=\036RG2%p1%{16}%/%{48}%+%c%p1%{16}%m%{48}%+%c, 
10057
10058 # The generic DG terminal type (an 8-bit-clean subset of the 6053)
10059 # Initialization string 1 sets:
10060 #       ^R              - vertical scrolling enabled
10061 #       ^C              - blinking enabled
10062 dg-generic|Generic Data General terminal in DG mode, 
10063         am, bw, msgr, xon, 
10064         cols#80, lines#24, 
10065         bel=^G, blink=^N, clear=^L, cr=^M, cub1=^Y, cud1=^Z, cuf1=^X, 
10066         cup=\020%p2%c%p1%c, cuu1=^W, dim=^\, el=^K, ind=^J, is1=^R^C, 
10067         mc0=^Q, nel=^J, rmso=^], rmul=^U, sgr0=^O^U^], smso=^\, 
10068         smul=^T, use=dgkeys+11, 
10069
10070 # According to the 4.4BSD termcap file, the dg200 <cup> should be the
10071 # termcap equivalent of \020%p2%{128}%+%c%p1%{128}%+%c (in termcap
10072 # notation that's "^P%r%+\200%+\200").  Those \200s are suspicious,
10073 # maybe they were originally nuls (which would fit).
10074
10075 dg200|data general dasher 200, 
10076         OTbs, am, bw, 
10077         cols#80, lines#24, 
10078         bel=^G, clear=^L, cr=^M, cub1=^Y, cud1=^Z, cuf1=^X, 
10079         cup=\020%p2%c%p1%c, cuu1=^W, el=^K, home=^H, ind=^J, 
10080         kcub1=^Y, kcud1=^Z, kcuf1=^X, kcuu1=^W, kf0=^^z, kf1=^^q, 
10081         kf2=^^r, kf3=^^s, kf4=^^t, kf5=^^u, kf6=^^v, kf7=^^w, kf8=^^x, 
10082         kf9=^^y, khome=^H, lf0=f10, nel=^J, rmso=^^E, rmul=^U, 
10083         smso=^^D, smul=^T, 
10084
10085 # Data General 210/211 (and 410?)       from Lee Pearson (umich!lp) via BRL
10086 dg210|dg-ansi|Data General 210/211, 
10087         am, 
10088         cols#80, lines#24, 
10089         OTnl=\E[B, clear=\E[2J, cud1=\E[B, cup=\E[%i%p1%d;%p2%dH, 
10090         cuu1=\E[A, ed=\E[J, el=\E[K, home=\E[H, kcub1=\E[D, 
10091         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, 
10092         nel=\r\E[H\E[A\n, rmso=\E[0;m, rmul=\E[0;m, smso=\E[7;m, 
10093         smul=\E[4;m, 
10094 # From: Peter N. Wan <ihnp4!gatech!gacsr!wan>
10095 # courtesy of Carlos Rucalde of Vantage Software, Inc.
10096 # (dg211: this had <cup=\020%r%.%>., which was an ancient termcap hangover.
10097 # I suspect the d200 function keys actually work on the dg211, check it out.)
10098 dg211|Data General d211, 
10099         cnorm=^L, cvvis=^L^R, ht=^I, ind@, kbs=^Y, kf0@, kf1@, kf2@, kf3@, 
10100         kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, lf0@, nel=^M^Z, rmcup=^L, 
10101         rmso=\036E$<\0/>, smcup=^L^R, smso=\036D$<5/>, use=dg200, 
10102
10103 # dg450 from Cornell (not official)
10104 dg450|dg6134|data general 6134, 
10105         cub1@, cuf1=^X, use=dg200, 
10106
10107 # Not official...
10108 # Note: lesser Dasher terminals will not work with vi because vi insists upon
10109 # having a command to move straight down from any position on the bottom line
10110 # and scroll the screen up, or a direct vertical scroll command.  The 460 and
10111 # above have both, the D210/211, for instance, has neither.  We must use ANSI
10112 # mode rather than DG mode because standard UNIX tty drivers assume that ^H is
10113 # backspace on all terminals.  This is not so in DG mode.
10114 # (dg460-ansi: removed obsolete ":kn#6:"; also removed ":mu=\EW:", on the
10115 # grounds that there is no matching ":ml:"
10116 # fixed garbled ":k9=\E[00\:z:" capability -- esr)
10117 dg460-ansi|Data General Dasher 460 in ANSI-mode, 
10118         OTbs, am, msgr, ul, 
10119         cols#80, it#8, lines#24, 
10120         OTnl=\ED, blink=\E[5m, clear=\E[2J, cub1=^H, cud1=\E[B, 
10121         cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, dch1=\E[P, 
10122         dim=\E[2m, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
10123         ich1=\E[@, il1=\E[L, ind=\E[S, is2=^^F@, kbs=\E[D, 
10124         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
10125         kf0=\E[001z, kf1=\E[002z, kf2=\E[003z, kf3=\E[004z, 
10126         kf4=\E[005z, kf5=\E[006z, kf6=\E[007z, kf7=\E[008z, 
10127         kf8=\E[009z, kf9=\E[010z, khome=\E[H, lf0=f1, lf1=f2, lf2=f3, 
10128         lf3=f4, lf4=f5, lf5=f6, lf6=f7, lf7=f8, lf9=f10, rev=\E[7m, 
10129         ri=\E[T, rmso=\E[m, rmul=\E[05, sgr0=\E[m, smso=\E[7m, 
10130         smul=\E[4m, 
10131 # From: Wayne Throop <mcnc!rti-sel!rtp47!throopw> (not official)
10132 # Data General 605x     
10133 # Ought to work for a Model 6242, Type D210 as well as a 605x.
10134 # Note that the cursor-down key transmits ^Z.  Job control users, beware!
10135 # This also matches a posted description of something called a `Dasher 100'
10136 # so there's a dg100 alias here. 
10137 # (dg6053: the 4.4BSD file had <cub1=^H>, <cud1=^J>, <cuf1=^S>. -- esr) 
10138 dg6053-old|dg100|data general 6053, 
10139         OTbs, am, bw, ul, 
10140         cols#80, lines#24, 
10141         OTbc=^Y, bel=^G, clear=^L, cnorm=^L, cr=^M, cub1=^Y, cud1=^Z, 
10142         cuf1=^X, cup=\020%p2%c%p1%c, cuu1=^W, cvvis=^L^R, el=^K, 
10143         home=^H, ht=^I, is2=^R, kbs=^Y, kcub1=^Y, kcud1=^Z, kcuf1=^X, 
10144         kcuu1=^W, kf0=^^q, kf1=^^r, kf2=^^s, kf3=^^t, kf4=^^u, kf5=^^v, 
10145         kf6=^^w, kf7=^^x, kf8=^^y, kf9=^^z, khome=^H, rmcup=^L, 
10146         rmso=\0^^E, rmul=^U, smcup=^L^R, smso=\0\0\0\0\0\036D, 
10147         smul=^T, 
10148
10149 # (Some performance can be gained over the generic DG terminal type)
10150 dg6053|6053|6053-dg|dg605x|605x|605x-dg|d2|d2-dg|Data General DASHER 6053, 
10151         xon@, 
10152         home=^P\0\0, ll=^P\0^W, use=dg-generic, 
10153
10154 # Like 6053, but adds reverse video and more keypad and function keys.
10155 d200|d200-dg|Data General DASHER D200, 
10156         bold=^^D^T, home@, ll@, rev=^^D, rmso=^^E^], 
10157         sgr=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;%?%p4%t\016%e\017%;%?%p1%p5%|%t\034%e\035%;, 
10158         sgr0=\017\025\035\036E, smso=^^D^\, use=dgkeys+15, 
10159         use=dg6053, 
10160
10161 # DASHER D210 series terminals in ANSI mode.
10162 #       Reverse video, no insert/delete character/line, 7 bits/character only.
10163 #
10164 # Initialization string 1 sets:
10165 #       <0              - scrolling enabled
10166 #       <1              - blink enabled
10167 #       <4              - print characters regardless of attributes
10168 d210|d214|Data General DASHER D210 series, 
10169         am, bw, msgr, xon, 
10170         cols#80, lines#24, 
10171         bel=^G, blink=\E[5m, bold=\E[4;7m, clear=\E[2J, cr=^M, 
10172         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, 
10173         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
10174         cuu=\E[%p1%dA, cuu1=\E[A, dim=\E[2m, ed=\E[J, el=\E[K, 
10175         el1=\E[1K, home=\E[H, ind=^J, is1=\E[<0;<1;<4l, 
10176         ll=\E[H\E[A, nel=^J, rev=\E[7m, rmso=\E[m, rmul=\E[m, 
10177         sgr=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m, 
10178         sgr0=\E[m, smso=\E[2;7m, smul=\E[4m, use=dgkeys+7b, 
10179
10180 # DASHER D210 series terminals in DG mode.
10181 # Like D200, but adds clear to end-of-screen and needs XON/XOFF.
10182 d210-dg|d214-dg|Data General DASHER D210 series in DG mode, 
10183         xon, 
10184         ed=^^FF, use=d200-dg, 
10185
10186 # DASHER D211 series terminals in ANSI mode.
10187 # Like the D210, but with 8-bit characters and local printer support.
10188 #
10189 # Initialization string 2 sets:
10190 #       \E[2;1;1;1v
10191 #               2;1     - 8 bit operations
10192 #               1;1     - 8 bit (international) keyboard language
10193 #       \E(B            - default primary character set (U.S. ASCII)
10194 #       \E)4            - default secondary character set (international)
10195 #       ^O              - primary character set
10196 #
10197 d211|d215|Data General DASHER D211 series, 
10198         km, 
10199         is2=\E[2;1;1;1v\E(B\E)4\017, mc0=\E[i, use=dgkeys+8b, 
10200         use=d210, 
10201
10202 # Initialization string 2 sets:
10203 #       \E[2;0;1;0v
10204 #               2;0     - 7 bit operations
10205 #               1;0     - 7 bit (native) keyboard language
10206 #       \E(0            - default character set (the keyboard native language)
10207 #       ^O              - primary character set
10208 d211-7b|d215-7b|Data General DASHER D211 series in 7 bit mode, 
10209         km@, 
10210         is2=\E[2;0;1;0v\E(0\017, use=dgkeys+7b, use=d211, 
10211
10212 # Like the D210 series, but adds support for 8-bit characters.
10213 #
10214 # Reset string 2 sets:
10215 #       ^^N     - secondary character set
10216 #       ^^FS0>  - 8 bit international character set
10217 #       ^^O     - primary character set
10218 #       ^^FS00  - default character set (matching the native keyboard language)
10219 #
10220 d211-dg|d215-dg|Data General DASHER D211 series in DG mode, 
10221         km, 
10222         rs2=\036N\036FS0>\036O\036FS00, use=d210-dg, 
10223
10224 d216-dg|d216e-dg|d216+dg|d216e+dg|d217-dg|Data General DASHER D216 series in DG mode, 
10225         use=d211-dg, 
10226
10227 # Enhanced DG mode with changes to be more UNIX compatible.
10228 d216-unix|d216e-unix|d216+|d216e+|Data General DASHER D216+ in DG-UNIX mode, 
10229         mc5i, 
10230         it#8, 
10231         acsc=a\177j$k"l!m#n)q+t'u&v(w%x*, blink=^^PI, 
10232         clear=^^PH, cub1=^^PD, cud1=^^PB, cuf1=^^PC, cuu1=^^PA, 
10233         el=^^PE, home=^^PF, hpa=\020%p1%c\177, ht=^I, ind=^J, 
10234         is1=\022\003\036P@1, is3=\036Fz0, kHOM=^^Pf, kLFT=^^Pd, 
10235         kPRT=^^P1, kRIT=^^Pc, kclr=^^PH, kcub1=^^PD, kcud1=^^PB, 
10236         kcuf1=^^PC, kcuu1=^^PA, kel=^^PE, khome=^^PF, kprt=^^P0, 
10237         mc0=\036F?9, mc4=^^Fa, mc5=^^F`, rmacs=\036FS00, 
10238         rs2=\036N\036FS0E\036O\036FS00, 
10239         sgr=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;\036P%?%p4%tI%eJ%;%?%p1%p5%|%t\034%e\035%;\036FS%?%p9%t11%e00%;, 
10240         sgr0=\036PJ\025\035\036E\036FS00, smacs=\036FS11, 
10241         vpa=\020\177%p1%c, use=dgkeys+15, use=d216-dg, 
10242 d216-unix-25|d216+25|Data General DASHER D216+ in DG-UNIX mode with 25 lines, 
10243         lines#25, 
10244         is3=\036Fz2, use=d216+, 
10245
10246 d217-unix|Data General DASHER D217 in DG-UNIX mode, 
10247         use=d216-unix, 
10248 d217-unix-25|Data General DASHER D217 in DG-UNIX mode with 25 lines, 
10249         use=d216-unix-25, 
10250
10251 # DASHER D220 color terminal in ANSI mode.
10252 # Like the D470C but with fewer colors and screen editing features.
10253 #
10254 # Initialization string 1 sets:
10255 #       \E[<0;<1;<4l
10256 #               <0      - scrolling enabled
10257 #               <1      - blink enabled
10258 #               <4      - print characters regardless of attributes
10259 #       \E[m            - all attributes off
10260 # Reset string 1 sets:
10261 #       \Ec             - initial mode defaults (RIS)
10262 #
10263 d220|Data General DASHER D220, 
10264         mc5i@, 
10265         dl@, dl1@, il@, il1@, is1=\E[<0;<1;<4l\E[m, mc4@, mc5@, rs1=\Ec, 
10266         use=dg+color8, use=d470c, 
10267
10268 d220-7b|Data General DASHER D220 in 7 bit mode, 
10269         mc5i@, 
10270         dl@, dl1@, il@, il1@, is1=\E[<0;<1;<4l\E[m, mc4@, mc5@, rs1=\Ec, 
10271         use=dg+color8, use=d470c-7b, 
10272
10273 # Initialization string 3 sets:
10274 #       - default cursor (solid rectangle)
10275 # Reset string 2 sets:
10276 #       ^^N     - secondary character set
10277 #       ^^FS0>  - 8 bit international character set
10278 #       ^^O     - primary character set
10279 #       ^^FS00  - default character set (matching the native keyboard language)
10280 #
10281 d220-dg|Data General DASHER D220 color terminal in DG mode, 
10282         mc5i@, 
10283         dl1@, home@, il1@, is2@, is3=\036FQ2, ll@, mc4@, mc5@, rs1@, 
10284         rs2=\036N\036FS0>\036O\036FS00, use=dgmode+color8, 
10285         use=d470c-dg, 
10286
10287 # DASHER D230C color terminal in ANSI mode.
10288 # Like the D220 but with minor ANSI compatibility improvements.
10289 #
10290 d230c|d230|Data General DASHER D230C, 
10291         blink=\E[5;50m, bold=\E[4;7;50m, dim=\E[2;50m, nel=^M^J, 
10292         rev=\E[7;50m, rmkx=\E[2;1v, rmso=\E[50m, rmul=\E[50m, 
10293         sgr=\E[50%?%p1%p3%|%p6%|%t;7%{1}%e%{0}%;%PR%?%p4%t;5%{1}%e%{0}%;%PB%?%p2%p6%|%t;4%{1}%e%{0}%;%PU%?%p1%p5%|%t;2%{1}%e%{0}%;%PDm\E)%?%p9%t6\016%e4\017%;, 
10294         sgr0=\E[50m\E)4\017, smkx=\E[2;0v, smso=\E[2;7;50m, 
10295         smul=\E[4;50m, use=dgkeys+7b, use=d220, 
10296
10297 d230c-dg|d230-dg|Data General DASHER D230C in DG mode, 
10298         use=d220-dg, 
10299
10300 # DASHER D400/D450 series terminals.
10301 # These add intelligent features like insert/delete to the D200 series.
10302 #
10303 # Initialization string 2 sets:
10304 #       ^^FQ2           - default cursor (solid rectangle)
10305 #       ^^FW            - character protection disabled
10306 #       ^^FJ            - normal (80 column) mode
10307 #       ^^F\^           - horizontal scrolling enabled (for alignment)
10308 #       ^^FX004?        - margins at columns 0 and 79
10309 #       ^^F]            - horizontal scrolling disabled
10310 #       ^^O             - primary character set
10311 #       ^^FS00          - default character set (the keyboard native language)
10312 #       - (should reset scrolling regions, but that glitches the screen)
10313 # Reset string 1 sets:
10314 #       ^^FA            - all terminal defaults except scroll rate
10315 # Reset string 2 sets:
10316 #       ^^F]            - horizontal scrolling disabled
10317 #       ^^FT0           - jump scrolling
10318 #
10319 d400|d400-dg|d450|d450-dg|Data General DASHER D400/D450 series, 
10320         mc5i, 
10321         acsc=j$k"l!m#n)q+t'u&v(w%x*, civis=\036FQ0, 
10322         cnorm=\036FQ2, dch1=^^K, dl1=^^FI, 
10323         enacs=\036N\036FS11\036O, home=^^FG, hpa=\020%p1%c\177, 
10324         ich1=^^J, il1=^^FH, 
10325         is2=\036FQ2\036FW\036FJ\036F\^\036FX004?\036F]\036O\036FS00, 
10326         ll=\036FG\027, mc4=^^Fa, mc5=^^F`, ri=^^I, rmacs=^^O, 
10327         rs1=^^FA, rs2=\036F]\036FT0, 
10328         sgr=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;%?%p4%t\016%e\017%;%?%p1%p5%|%t\034%e\035%;\036%?%p9%tN%eO%;, 
10329         sgr0=\017\025\035\036E\036O, smacs=^^N, 
10330         vpa=\020\177%p1%c, use=d210-dg, 
10331
10332 # DASHER D410/D460 series terminals in ANSI mode.
10333 # These add a large number of intelligent terminal features.
10334 #
10335 # Initialization string 1 sets:
10336 #       \E[<0;<1;<2;<4l
10337 #               <0      - scrolling enabled
10338 #               <1      - blink enabled
10339 #               <2      - horizontal scrolling enabled (for alignment)
10340 #               <4      - print characters regardless of attributes
10341 #       \E[5;0v         - normal (80 column) mode
10342 #       \E[1;1;80w      - margins at columns 1 and 80
10343 #       \E[1;6;<2h
10344 #               1       - print all characters even if protected
10345 #               6       - character protection disabled
10346 #               <2      - horizontal scrolling disabled
10347 #       - (should reset scrolling regions, but that glitches the screen)
10348 #
10349 # Initialization string 2 sets:
10350 #       \E[3;2;2;1;1;1v
10351 #               3;2     - default cursor (solid rectangle)
10352 #               2;1     - 8 bit operations
10353 #               1;1     - international keyboard language
10354 #       \E(B            - default primary character set (U.S. ASCII)
10355 #       \E)4            - default secondary character set (international)
10356 #       ^O              - primary character set
10357 #
10358 #       Reset string 1 sets:
10359 #       \Ec             - initial mode defaults (RIS)
10360 #       \E[<2h          - horizontal scrolling disabled
10361 #
10362 # Reset string 2 sets:
10363 #       \E[4;0;2;1;1;1v
10364 #               4;0     - jump scrolling
10365 #               2;1     - 8 bit operations
10366 #               1;1     - 8 bit (international) keyboard language
10367 #       \E(B            - default primary character set (U.S. ASCII)
10368 #       \E)4            - default secondary character set (international)
10369 #
10370 d410|d411|d460|d461|Data General DASHER D410/D460 series, 
10371         mc5i, 
10372         acsc=j$k"l!m#n)q+t'u&v(w%x*, civis=\E[3;0v, 
10373         cnorm=\E[3;2v, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
10374         dl1=\E[M, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, 
10375         is1=\E[<0;<1;<2;<4l\E[5;0v\E[1;1;80w\E[1;6;<2h, 
10376         is2=\E[3;2;2;1;1;1v\E(B\E)4\017, mc4=\E[4i, mc5=\E[5i, 
10377         ri=\EM, rmacs=\E)4\017, rs1=\Ec\E[<2h, 
10378         rs2=\E[4;0;2;1;1;1v\E(B\E)4, 
10379         sgr=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m\E)%?%p9%t6\016%e4\017%;, 
10380         sgr0=\E[m\E)4\017, smacs=\E)6\016, use=d211, 
10381
10382 # Initialization string 2 sets:
10383 #       \E[3;2;2;0;1;0v
10384 #               3;2     - default cursor (solid rectangle)
10385 #               2;0     - 7 bit operations
10386 #               1;0     - 7 bit (native) keyboard language
10387 #       \E(0            - default character set (the keyboard native language)
10388 #       ^O              - primary character set
10389 #
10390 # Reset string 2 sets:
10391 #       \E[4;0;2;0;1;0v
10392 #               4;0     - jump scrolling
10393 #               2;0     - 7 bit operations
10394 #               1;0     - 7 bit (native) keyboard language
10395 #       \E(0            - default character set (the keyboard native language)
10396 #
10397 d410-7b|d411-7b|d460-7b|d461-7b|Data General DASHER D410/D460 series in 7 bit mode, 
10398         km@, 
10399         enacs=\E)6, is2=\E[3;2;2;0;1;0v\E(0\017, rmacs=^O, 
10400         rs2=\E[4;0;2;0;1;0v\E(0, 
10401         sgr=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m%?%p9%t\016%e\017%;, 
10402         sgr0=\E[m\017, smacs=^N, use=dgkeys+7b, use=d410, 
10403
10404 d410-dg|d460-dg|d411-dg|d461-dg|Data General DASHER D410/D460 series in DG mode, 
10405         km, 
10406         enacs@, rmacs=\036FS00, 
10407         sgr=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;%?%p4%t\016%e\017%;%?%p1%p5%|%t\034%e\035%;\036FS%?%p9%t11%e00%;, 
10408         sgr0=\017\025\035\036E\036FS00, smacs=\036FS11, 
10409         use=d400-dg, 
10410
10411 # DASHER D410/D460 series terminals in wide (126 columns) ANSI mode.
10412 #
10413 # Initialization string 1 sets:
10414 #       \E[<0;<1;<2;<4l
10415 #               <0      - scrolling enabled
10416 #               <1      - blink enabled
10417 #               <2      - horizontal scrolling enabled (for alignment)
10418 #               <4      - print characters regardless of attributes
10419 #       \E[5;1v         - compressed (135 column) mode
10420 #       \E[1;1;126      - margins at columns 1 and 126
10421 #       \E[1;6;<2h
10422 #               1       - print all characters even if protected
10423 #               6       - character protection disabled
10424 #               <2      - horizontal scrolling disabled
10425 #       - (should reset scrolling regions, but that glitches the screen)
10426 #
10427 # Reset string 1 sets:
10428 #       \Ec             - initial mode defaults (RIS)
10429 #       \E[5;1v         - compressed (135 column) mode
10430 #       \E[1;1;126w     - margins at columns 1 and 126
10431 #       \E[<2h          - horizontal scrolling disabled
10432 #
10433 d410-w|d411-w|d460-w|d461-w|Data General DASHER D410/D460 series in wide mode, 
10434         cols#126, 
10435         is1=\E[<0;<1;<2;<4l\E[5;1v\E[1;1;126w\E[1;6;<2h, 
10436         rs1=\Ec\E[5;1v\E[1;1;126w\E[<2h, use=d410, 
10437
10438 d410-7b-w|d411-7b-w|d460-7b-w|d461-7b-w|Data General DASHER D410/D460 series in wide 7 bit mode, 
10439         cols#126, 
10440         is1=\E[<0;<1;<2;<4l\E[5;1v\E[1;1;126w\E[1;6;<2h, 
10441         rs1=\Ec\E[5;1v\E[1;1;126w\E[<2h, use=d410-7b, 
10442
10443 d412-dg|d462-dg|d462e-dg|d412+dg|d462+dg|d413-dg|d463-dg|Data General DASHER D412/D462 series in DG mode, 
10444         use=d410-dg, 
10445
10446 # These add intelligent features like scrolling regions.
10447 d412-unix|d462-unix|d412+|d462+|Data General DASHER D412+/D462+ series in Unix mode, 
10448         civis=\036FQ0, clear=^^FE, cnorm=\036FQ5, 
10449         cup=\036FP%p2%2.2X%p1%2.2X, dch1=^^K, dl1=^^FI, 
10450         home=^^FG, hpa=\036FP%p1%2.2XFF, ich1=^^J, il1=^^FH, 
10451         is2=\036FQ5\036FW\036FJ\036F\^\036FX004F\036O\036FS00, 
10452         ll=\036FG\036PA, mc0=^A, rc=\036F}11, ri=^^I, 
10453         rs1=\036FA\036FT0, rs2=\036P@1, sc=\036F}10, 
10454         vpa=\036FPFF%p1%2.2X, 
10455         wind=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2%>%t000%;\036FX%p3%2.2X%p4%2.2X, 
10456         use=d216+, 
10457 d412-unix-w|d462-unix-w|d412+w|d462+w|Data General DASHER D412+/D462+ series in wide Unix mode, 
10458         cols#132, 
10459         is2=\036FQ5\036FW\036FK\036F\^\036FX0083\036O\036FS00, 
10460         rs2=\036P@1\036FK\036FX0083, 
10461         wind=\036FB%?%p1%t%p1%2.2X1%;%p2%p1%-%{1}%+%2.2X1%?%{23}%p2%>%t001%;\036FX%p3%2.2X%p4%2.2X, 
10462         use=d412-unix, 
10463 d412-unix-25|d462-unix-25|d412+25|d462+25|Data General DASHER D412+/D462+ series in Unix mode with 25 lines, 
10464         lines#25, 
10465         is3=\036Fz2, 
10466         wind=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{24}%p2%>%t000%;\036FX%p3%2.2X%p4%2.2X, 
10467         use=d462+, 
10468 d412-unix-s|d462-unix-s|d412+s|d462+s|Data General DASHER D412+/D462+ in Unix mode with status line, 
10469         eslok, hs, 
10470         clear=\036FG\036PH, fsl=\036F}01\022, 
10471         is3=\036Fz2\036F}00\036FB180000\036F}01, ll@, 
10472         tsl=\036F}00\036FP%p1%2.2X18\036PG, 
10473         wind=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2%>%t%{23}%p2%-%2.2X0%;000\036FX%p3%2.2X%p4%2.2X, 
10474         use=d462+, 
10475
10476 #       Relative cursor motions are confined to the current window,
10477 #       which is not what the scrolling region specification expects.
10478 #       Thus, relative vertical cursor positioning must be deleted.
10479 d412-unix-sr|d462-unix-sr|d412+sr|d462+sr|Data General DASHER D412+/D462+ in Unix mode with scrolling region, 
10480         csr=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2%>%t000%;, 
10481         cud1@, cuu1@, ll@, use=d462+, 
10482
10483 d413-unix|d463-unix|Data General DASHER D413/D463 series in DG-UNIX mode, 
10484         use=d412-unix, 
10485 d413-unix-w|d463-unix-w|Data General DASHER D413/D463 series in wide DG-UNIX mode, 
10486         use=d412-unix-w, 
10487 d413-unix-25|d463-unix-25|Data General DASHER D413/D463 series in DG-UNIX mode with 25 lines, 
10488         use=d412-unix-25, 
10489 d413-unix-s|d463-unix-s|Data General DASHER D413/D463 in DG-UNIX mode with status line, 
10490         use=d412-unix-s, 
10491 d413-unix-sr|d463-unix-sr|Data General DASHER D413/D463 in DG-UNIX mode with scrolling region, 
10492         use=d412-unix-sr, 
10493
10494 d414-unix|d464-unix|Data General D414/D464 in DG-UNIX mode, 
10495         use=d413-unix, 
10496 d414-unix-w|d464-unix-w|Data General D414/D464 in wide DG-UNIX mode, 
10497         use=d413-unix-w, 
10498 d414-unix-25|d464-unix-25|Data General D414/D464 in DG-UNIX mode with 25 lines, 
10499         use=d413-unix-25, 
10500 d414-unix-s|d464-unix-s|Data General D414/D464 in DG-UNIX mode with status line, 
10501         use=d413-unix-s, 
10502 d414-unix-sr|d464-unix-sr|Data General D414/D464 in DG-UNIX mode with scrolling region, 
10503         use=d413-unix-sr, 
10504
10505 d430c-dg|d430-dg|Data General D430C in DG mode, 
10506         use=d413-dg, use=dg+fixed, 
10507 d430c-dg-ccc|d430-dg-ccc|Data General D430C in DG mode with configurable colors, 
10508         use=d413-dg, use=dg+ccc, 
10509
10510 d430c-unix|d430-unix|Data General D430C in DG-UNIX mode, 
10511         use=d413-unix, use=dgunix+fixed, 
10512 d430c-unix-w|d430-unix-w|Data General D430C in wide DG-UNIX mode, 
10513         use=d413-unix-w, use=dgunix+fixed, 
10514 d430c-unix-25|d430-unix-25|Data General D430C in DG-UNIX mode with 25 lines, 
10515         use=d413-unix-25, use=dgunix+fixed, 
10516 d430c-unix-s|d430-unix-s|Data General D430C in DG-UNIX mode with status line, 
10517         use=d413-unix-s, use=dgunix+fixed, 
10518 d430c-unix-sr|d430-unix-sr|Data General D430C in DG-UNIX mode with scrolling region, 
10519         use=d413-unix-sr, use=dgunix+fixed, 
10520 d430c-unix-ccc|d430-unix-ccc|Data General D430C in DG-UNIX mode with configurable colors, 
10521         use=d413-unix, use=dgunix+ccc, 
10522 d430c-unix-w-ccc|d430-unix-w-ccc|Data General D430C in wide DG-UNIX mode with configurable colors, 
10523         use=d413-unix-w, use=dgunix+ccc, 
10524 d430c-unix-25-ccc|d430-unix-25-ccc|Data General D430C in DG-UNIX mode with 25 lines and configurable colors, 
10525         use=d413-unix-25, use=dgunix+ccc, 
10526 d430c-unix-s-ccc|d430-unix-s-ccc|Data General D430C in DG-UNIX mode with status line and configurable colors, 
10527         use=d413-unix-s, use=dgunix+ccc, 
10528 d430c-unix-sr-ccc|d430-unix-sr-ccc|Data General D430C in DG-UNIX mode with scrolling region and configurable colors, 
10529         use=d413-unix-sr, use=dgunix+ccc, 
10530
10531 # DASHER D470C color terminal in ANSI mode.
10532 # Like the D460 but with 16 colors and without a compressed mode.
10533 #
10534 # Initialization string 1 sets:
10535 #       \E[<0;<1;<2;<4l
10536 #               <0      - scrolling enabled
10537 #               <1      - blink enabled
10538 #               <2      - horizontal scrolling enabled (for alignment)
10539 #               <4      - print characters regardless of attributes
10540 #       \E[1;1;80w      - margins at columns 1 and 80
10541 #       \E[1;6;<2h
10542 #               1       - print all characters even if protected
10543 #               6       - character protection disabled
10544 #               <2      - horizontal scrolling disabled
10545 #       - (should reset scrolling regions, but that glitches the screen)
10546 #
10547 d470c|d470|Data General DASHER D470C, 
10548         is1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h, 
10549         sgr=\E[%?%p1%p3%|%p6%|%t7;%{1}%e%{0}%;%PR%?%p4%t5;%{1}%e%{0}%;%PB%?%p2%p6%|%t4;%{1}%e%{0}%;%PU%?%p1%p5%|%t2;%{1}%e%{0}%;%PDm\E)%?%p9%t6\016%e4\017%;, 
10550         use=dg+color, use=d460, 
10551
10552 d470c-7b|d470-7b|Data General DASHER D470C in 7 bit mode, 
10553         is1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h, 
10554         sgr=\E[%?%p1%p3%|%p6%|%t7;%{1}%e%{0}%;%PR%?%p4%t5;%{1}%e%{0}%;%PB%?%p2%p6%|%t4;%{1}%e%{0}%;%PU%?%p1%p5%|%t2;%{1}%e%{0}%;%PDm%?%p9%t\016%e\017%;, 
10555         use=dg+color, use=d460-7b, 
10556
10557 # Initialization string 2 sets:
10558 #       ^^FQ2           - default cursor (solid rectangle)
10559 #       ^^FW            - character protection disabled
10560 #       ^^F\^           - horizontal scrolling enabled (for alignment)
10561 #       ^^FX004?        - margins at columns 0 and 79
10562 #       ^^F]            - horizontal scrolling disabled
10563 #       ^^O             - primary character set
10564 #       ^^FS00          - default character set (the keyboard native language)
10565 #       - (should reset scrolling regions, but that glitches the screen)
10566 #
10567 d470c-dg|d470-dg|Data General DASHER D470C in DG mode, 
10568         is2=\036FQ2\036FW\036F\^\036FX004?\036F]\036O\036FS00, 
10569         use=dgmode+color, use=d460-dg, 
10570
10571 # DASHER D555 terminal in ANSI mode.
10572 # Like a D411, but has an integrated phone.
10573 d555|Data General DASHER D555, 
10574         use=d411, 
10575 d555-7b|Data General DASHER D555 in 7-bit mode, 
10576         use=d411-7b, 
10577 d555-w|Data General DASHER D555 in wide mode, 
10578         use=d411-w, 
10579 d555-7b-w|Data General DASHER D555 in wide 7-bit mode, 
10580         use=d411-7b-w, 
10581 d555-dg|Data General DASHER D555 series in DG mode, 
10582         use=d411-dg, 
10583
10584 # DASHER D577 terminal in ANSI mode.
10585 # Like a D411, but acts as a keyboard for serial printers ("KSR" modes).
10586 d577|Data General DASHER D577, 
10587         use=d411, 
10588 d577-7b|Data General DASHER D577 in 7-bit mode, 
10589         use=d411-7b, 
10590 d577-w|Data General DASHER D577 in wide mode, 
10591         use=d411-w, 
10592 d577-7b-w|Data General DASHER D577 in wide 7-bit mode, 
10593         use=d411-7b-w, 
10594
10595 d577-dg|d578-dg|Data General DASHER D577/D578 series in DG mode, 
10596         use=d411-dg, 
10597
10598 # DASHER D578 terminal.
10599 # Like a D577, but without compressed mode; like a D470C in this respect.
10600 #
10601 # Initialization string 1 sets:
10602 #       \E[<0;<1;<2;<4l
10603 #               <0      - scrolling enabled
10604 #               <1      - blink enabled
10605 #               <2      - horizontal scrolling enabled (for alignment)
10606 #               <4      - print characters regardless of attributes
10607 #       \E[1;1;80w      - margins at columns 1 and 80
10608 #       \E[1;6;<2h
10609 #               1       - print all characters even if protected
10610 #               6       - character protection disabled
10611 #               <2      - horizontal scrolling disabled
10612 #       - (should reset scrolling regions, but that glitches the screen)
10613 #
10614 d578|Data General DASHER D578, 
10615         is1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h, use=d577, 
10616 d578-7b|Data General DASHER D578 in 7-bit mode, 
10617         is1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h, use=d577-7b, 
10618
10619 #### Datamedia (dm)
10620 #
10621 # Datamedia was headquartered in Nashua, New Hampshire until it went 
10622 # out of business in 1993, but the ID plates on the terminals referred
10623 # to the factory in Pennsauken, NJ.  The factory was sold to a PCB board
10624 # manufacturer which threw out all information about the terminals.
10625 #
10626
10627 cs10|colorscan|Datamedia Color Scan 10, 
10628         msgr, 
10629         cols#80, lines#24, 
10630         bel=^G, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
10631         cup=\E[%i%p1%02d;%p2%02dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
10632         ind=^J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
10633         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, rmso=\E[m, rmul=\E[m, 
10634         sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
10635 cs10-w|Datamedia Color Scan 10 with 132 columns, 
10636         cols#132, 
10637         cup=\E[%i%p1%02d;%p2%03dH, use=cs10, 
10638
10639 # (dm1520: removed obsolete ":ma=^\ ^_^P^YH:" -- esr)
10640 dm1520|dm1521|datamedia 1520, 
10641         OTbs, am, xenl, 
10642         cols#80, it#8, lines#24, 
10643         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^\, 
10644         cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
10645         home=^Y, ht=^I, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^\, kcuu1=^_, 
10646         khome=^Y, 
10647 # dm2500: this terminal has both <ich> and <smir>. Applications using 
10648 # termcap/terminfo directly (rather than through ncurses) might be confused.
10649 dm2500|datamedia2500|datamedia 2500, 
10650         OTbs, OTnc, 
10651         cols#80, lines#24, 
10652         bel=^G, clear=^^^^\177, cub1=^H, cud1=^J, cuf1=^\, 
10653         cup=\014%p2%{96}%^%c%p1%{96}%^%c, cuu1=^Z, 
10654         dch1=\020\010\030\035$<10*>, 
10655         dl1=\020\032\030\035$<10*>, el=^W, home=^B, 
10656         ich1=\020\034\030\035$<10*>, 
10657         il1=\020\n\030\035\030\035$<15>, ind=^J, pad=\377, 
10658         rmdc=^X^], rmir=\377\377\030\035$<10>, rmso=^X^], 
10659         smdc=^P, smir=^P, smso=^N, 
10660 # dmchat is like DM2500, but DOES need "all that padding" (jcm 1/31/82)
10661 # also, has a meta-key.
10662 # From: <goldberger@su-csli.arpa>
10663 # (dmchat: ":MT:" changed to ":km:" -- esr)
10664 dmchat|dmchat version of datamedia 2500, 
10665         km, 
10666         dl1=\020\032\030\035$<2/>, 
10667         il1=\020\n\030\035\030\035$<1*/>, use=dm2500, 
10668 # (dm3025: ":MT:" changed to ":km:" -- esr)
10669 dm3025|datamedia 3025a, 
10670         OTbs, km, 
10671         cols#80, it#8, lines#24, 
10672         bel=^G, clear=\EM$<2>, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
10673         cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, 
10674         dch1=\010$<6>, dl1=\EP\EA\EQ$<130>, ed=\EJ$<2>, el=\EK, 
10675         home=\EH, ht=^I, il1=\EP\n\EQ$<130>, ind=^J, ip=$<6>, 
10676         is2=\EQ\EU\EV, rmdc=\EQ, rmir=\EQ, rmso=\EO0, smdc=\EP, 
10677         smir=\EP, smso=\EO1, 
10678 dm3045|datamedia 3045a, 
10679         OTbs, am, eo, km@, ul, xenl, 
10680         dch1=\EB$<6>, dl1@, il1@, is2=\EU\EV, kcuf1=\EC, kcuu1=\EA, 
10681         kf0=\Ey\r, kf1=\Ep\r, kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r, 
10682         kf5=\Et\r, kf6=\Eu\r, kf7=\Ev\r, kf8=\Ew\r, kf9=\Ex\r, 
10683         khome=\EH, pad=\177, rmdc@, rmir=\EP, rmso@, smdc@, smso@, 
10684         use=dm3025, 
10685 # Datamedia DT80 soft switches:
10686 # 1     0=Jump  1=Smooth
10687 #       Autorepeat      0=off  1=on
10688 #       Screen          0=Dark 1=light
10689 #       Cursor          0=u/l  1=block
10690
10691 # 2     Margin Bell     0=off  1=on
10692 #       Keyclick        0=off  1=on
10693 #       Ansi/VT52       0=VT52 1=Ansi
10694 #       Xon/Xoff        0=Off  1=On
10695
10696 # 3     Shift3          0=Hash 1=UK Pound
10697 #       Wrap            0=Off  1=On
10698 #       Newline         0=Off  1=On
10699 #       Interlace       0=Off  1=On
10700 #       
10701 # 4     Parity          0=Odd  1=Even
10702 #       Parity          0=Off  1=On
10703 #       Bits/Char       0=7    1=8
10704 #       Power           0=60Hz 1=50Hz
10705
10706 # 5     Line Interface  0=EIA  1=Loop
10707 #       Aux Interface   0=EIA  1=Loop
10708 #       Local Copy      0=Off  1=On     
10709 #       Spare
10710
10711 # 6     Aux Parity      0=Odd  1=Even
10712 #       Aux Parity      0=Off  1=On
10713 #       Aux Bits/Char   0=7    1=8
10714 #       CRT Saver       0=Off  1=On
10715 # dm80/1 is a vt100 lookalike, but it doesn't seem to need any padding.
10716 dm80|dmdt80|dt80|datamedia dt80/1, 
10717         clear=\E[2J\E[H, cud1=^J, cuf1=\E[C, 
10718         cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
10719         home=\E[H, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, ri=\EM, 
10720         rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
10721         use=vt100, 
10722 # except in 132 column mode, where it needs a little padding.
10723 # This is still less padding than the vt100, and you can always turn on
10724 # the ^S/^Q handshaking, so you can use vt100 flavors for things like
10725 # reverse video.
10726 dm80w|dmdt80w|dt80w|datamedia dt80/1 in 132 char mode, 
10727         cols#132, 
10728         clear=\E[H\E[2J$<50/>, cud1=^J, 
10729         cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<5/>, 
10730         ed=\E[0J$<20/>, el=\E[0K$<20/>, use=dm80, 
10731 # From: Adam Thompson <athompso@pangea.ca> Sept 10 1995
10732 dt80-sas|Datamedia DT803/DTX for SAS usage, 
10733         am, bw, 
10734         cols#80, lines#24, 
10735         acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~, 
10736         bel=^G, clear=^L, cr=^M, 
10737         csr=\E=%p1%{32}%+%c%{32}%c\E#1\E=%p2%{32}%+%c%{32}%c\E#2, 
10738         cub1=^H, cud1=\EB, cuf1=^\, 
10739         cup=\E=%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, dl1=\EM, ed=^K, 
10740         el=^], ff=^L, home=^Y, ht=^I, hts=\E'1, il1=\EL, ind=\EB, 
10741         is2=\E)0\E<\EP\E'0\E$2, kclr=^L, kcub1=^H, kcud1=^J, 
10742         kcuf1=^\, kcuu1=^_, ked=^K, kel=^], khome=^Y, mc4=^O, mc5=^N, 
10743         rev=\E$2\004, ri=\EI, rmacs=\EG, rmso=^X, sgr0=^X, smacs=\EF, 
10744         smso=\E$2\004, tbc=\E'0, 
10745
10746 # Datamedia Excel 62, 64 from Gould/SEL UTX/32 via BRL
10747 # These aren't end-all Excel termcaps; but do insert/delete char/line
10748 # and name some of the extra function keys.  (Mike Feldman ccvaxa!feldman)
10749 # The naming convention has been bent somewhat, with the use of E? (where
10750 # E is for 'Excel') as # a name.  This was done to distinguish the entries
10751 # from the other Datamedias in use here, and yet to associate a model of
10752 # the Excel terminals with the regular datamedia terminals that share
10753 # major characteristics.
10754 excel62|excel64|datamedia Excel 62, 
10755         dch1=\E[P, kbs=^H, kcub1=^H, kcud1=^J, kf5=\EOu, kf6=\EOv, 
10756         kf7=\EOw, kf8=\EOx, kf9=\EOy, rmir=\E[4l, smir=\E[4h, 
10757         use=dt80, 
10758 excel62-w|excel64-w|datamedia Excel 62 in 132 char mode, 
10759         dch1=\E[P, kbs=^H, kcub1=^H, kcud1=^J, kf5=\EOu, kf6=\EOv, 
10760         kf7=\EOw, kf8=\EOx, kf9=\EOy, rmir=\E[4l, smir=\E[4h, 
10761         use=dt80w, 
10762 excel62-rv|excel64-rv|datamedia Excel 62 in reverse video mode, 
10763         dch1=\E[P, flash=\E[?5l\E[?5h, kbs=^H, kcub1=^H, kcud1=^J, 
10764         kf5=\EOu, kf6=\EOv, kf7=\EOw, kf8=\EOx, kf9=\EOy, rmir=\E[4l, 
10765         smir=\E[4h, use=dt80, 
10766
10767 #### Falco
10768 #
10769 #       Falco Data Products
10770 #       440 Potrero Avenue
10771 #       Sunnyvale, CA 940864-196
10772 #       Vox: (800)-325-2648
10773 #       Fax: (408)-745-7860
10774 #       Net: techsup@charm.sys.falco.com
10775 #
10776 # Current Falco models as of 1995 are generally ANSI-compatible and support
10777 # emulations of DEC VT-series, Wyse, and Televideo types.
10778 #
10779
10780 # Test version for Falco ts-1. See <arpavax.hickman@ucb> for info
10781 # This terminal was released around 1983 and was discontinued long ago.
10782 # The standout and underline highlights are the same.
10783 falco|ts1|ts-1|falco ts-1, 
10784         OTbs, am, 
10785         cols#80, it#8, lines#24, 
10786         bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
10787         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
10788         dl1=\ER, ed=\EY, el=\ET\EG0\010, home=^^, ht=^I, il1=\EE, 
10789         ind=^J, is2=\Eu\E3, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
10790         kf0=^A0\r, rmir=\Er, rmso=\Eg0, rmul=\Eg0, sgr0=\Eg0, 
10791         smir=\Eq, smso=\Eg1, smul=\Eg1, 
10792 falco-p|ts1p|ts-1p|falco ts-1 with paging option, 
10793         OTbs, am, da, db, mir, msgr, ul, 
10794         cols#80, it#8, lines#24, 
10795         bel=^G, cbt=\EI, clear=\E*, cr=^M, cub1=^H, cud1=\E[B, 
10796         cuf1=\E[C, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E[A, 
10797         dch1=\EW, dl1=\ER, ed=\EY, el=\ET\EG0\010\Eg0, ht=^I, 
10798         il1=\EE, ind=^J, is2=\EZ\E3\E_c, kcub1=\E[D, kcud1=\E[B, 
10799         kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, rmcup=\E_b, rmir=\Er, 
10800         rmso=\Eg0, rmul=\Eg0, sgr0=\Eg0, smcup=\E_d, smir=\Eq, 
10801         smso=\Eg4, smul=\Eg1, 
10802 # (ts100: I added <rmam>/<smam> based on the init string -- esr)
10803 ts100|ts100-sp|falco ts100-sp, 
10804         am, mir, msgr, xenl, xon, 
10805         cols#80, it#8, lines#24, vt#3, 
10806         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
10807         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
10808         clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
10809         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
10810         cuf=\E[%p1%dC, cuf1=\E[C$<2>, 
10811         cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, 
10812         cuu1=\E[A$<2>, dch1=\E~W, dl1=\E~R, ed=\E[J$<50>, 
10813         el=\E[K$<3>, el1=\E[1K$<3>, enacs=\E(B\E)0, home=\E[H, 
10814         ht=^I, hts=\EH, ich1=\E~Q, il1=\E~E, ind=^J, is1=\E~)\E~ea, 
10815         ka1=\EOq, ka3=\EOs, kb2=\EOr, kbs=^H, kc1=\EOp, kc3=\EOn, 
10816         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kent=\EOM, 
10817         kf0=\EOy, kf1=\EOP, kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
10818         kf5=\EOt, kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, rc=\E8, 
10819         rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l, 
10820         rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>, 
10821         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
10822         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
10823         sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, 
10824         smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, 
10825 ts100-ctxt|falco ts-100 saving context, 
10826         rmcup=\E~_b, smcup=\E~_d\E[2J, use=ts100, 
10827
10828 #### Florida Computer Graphics
10829 #
10830
10831 # Florida Computer Graphics Beacon System, using terminal emulator program
10832 # "host.com", as provided by FCG.  This description is for an early release
10833 # of the "host" program.  Known bug: <ed> clears the whole screen, so it's
10834 # commented out.
10835
10836 # From: David Bryant <cbosg!djb> 1/7/83
10837 beacon|FCG Beacon System, 
10838         am, da, db, 
10839         cols#80, lines#32, 
10840         bel=\ESTART\r\E37\r\EEND\r$<1>, 
10841         blink=\ESTART\r\E61\,1\r\EEND\r, clear=\EZ$<10>, cr=^M, 
10842         cub1=^H, cud1=^J, cuf1=\EV, 
10843         cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<20>, cuu1=\EU, 
10844         dch1=\EW, dl1=\ER, el=\ET, home=\EH$<10>, ich1=\EQ, il1=\EE, 
10845         ind=^J, rev=\ESTART\r\E59\,1\r\EEND\r, rmcup=, 
10846         rmso=\ESTART\r\E70\,0\r\EEND\r$<20>, 
10847         rmul=\ESTART\r\E60\,0\r\EEND\r, 
10848         sgr0=\ESTART\r\E78\r\E70\,0\r\EEND\r$<20>, 
10849         smcup=\ESTART\r\E2\,0\r\E12\r\EEND\r$<10>, 
10850         smso=\ESTART\r\E70\,6\r\EEND\r$<20>, 
10851         smul=\ESTART\r\E60\,1\r\EEND\r, 
10852
10853 #### Fluke
10854 #
10855
10856 # The f1720a differences from ANSI: no auto margin, destructive 
10857 # tabs, # of lines, funny highlighting and underlining
10858 f1720|f1720a|fluke 1720A, 
10859         xt, 
10860         cols#80, lines#16, xmc#1, 
10861         bel=^G, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[B, 
10862         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, 
10863         el=\E[K, ind=\ED, is2=\E[H\E[2J, kcub1=^_, kcud1=^], 
10864         kcuf1=^^, kcuu1=^\, ri=\EM, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
10865         smso=\E[7m, smul=\E[4m, 
10866
10867 #### Liberty Electronics (Freedom)
10868 #
10869 #       Liberty Electronics
10870 #       48089 Fremont Blvd
10871 #       Fremont CA 94538
10872 #       Vox: (510)-623-6000
10873 #       Fax: (510)-623-7021
10874
10875 # From: <faletti@berkeley.edu>
10876 # (f100: added empty <acsc> to suppress a tic warning;
10877 # made this relative to adm+sgr -- note that <invis> isn't
10878 # known to work for f100 but does on the f110. --esr)
10879 f100|freedom|freedom100|freedom model 100, 
10880         OTbs, am, bw, hs, mir, msgr, xon, 
10881         cols#80, lines#24, 
10882         acsc=, bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^J, 
10883         cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
10884         dch1=\EW, dl1=\ER$<11.5*>, dsl=\Eg\Ef\r, ed=\EY, el=\ET, 
10885         flash=\Eb$<200>\Ed, fsl=^M, home=^^, hpa=\E]%p1%{32}%+%c, 
10886         ht=^I, hts=\E1, il1=\EE$<8.5*>, ind=^J, ip=$<6>, 
10887         is2=\Eg\Ef\r\Ed, kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^V, 
10888         kcuf1=^L, kcuu1=^K, kf1=^A@\r, kf10=^AI\r, kf2=^AA\r, 
10889         kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
10890         kf8=^AG\r, kf9=^AH\r, khome=^^, ri=\Ej, rmacs=\E$, rmir=\Er, 
10891         smacs=\E%, smir=\Eq, tbc=\E3, tsl=\Eg\Ef, 
10892         vpa=\E[%p1%{32}%+%c, use=adm+sgr, 
10893 f100-rv|freedom-rv|freedom 100 in reverse video, 
10894         flash=\Ed$<200>\Eb, is2=\Eg\Ef\r\Eb, use=f100, 
10895 # The f110 and f200 have problems with vi(1).  They use the ^V
10896 # code for the down cursor key. When kcud1 is defined in terminfo
10897 # as ^V, the Control Character Quoting capability (^V in insert mode)
10898 # is lost! It cannot be remapped in vi because it is necessary to enter
10899 # a ^V to to quote the ^V that is being remapped!!!
10900
10901 # f110/f200 users will have to decide whether
10902 # to lose the down cursor key or the quoting capability. We will opt
10903 # initially for leaving the quoting capability out, since use of VI
10904 # is not generally applicable to most interactive applications
10905 # (f110: added <ht>, <khome> & <kcbt> from f100 -- esr)
10906 f110|freedom110|Liberty Freedom 110, 
10907         bw@, eslok, 
10908         it#8, wsl#80, 
10909         blink=\EG2, bold=\EG0, civis=\E.1, cnorm=\E.2, cud1=^V, 
10910         cvvis=\E.2, dim=\EG@, dl1=\ER, dsl=\Ef\r, 
10911         flash=\Eb$<200/>\Ed, il1=\EE, ip@, is2@, kclr=^^, kdch1=\EW, 
10912         kdl1=\ER, ked=\EY, kel=\ET, kf0=^AI\r, kf10@, kich1=\EQ, 
10913         kil1=\EE, mc4=\Ea, mc5=\E`, ri=\EJ, rmacs=\E%%, rmir=\Er\EO, 
10914         smacs=\E$, smir=\EO\Eq, smso=\EG<, tsl=\Ef, use=f100, 
10915 f110-14|Liberty Freedom 110 14inch, 
10916         dch1@, use=f110, 
10917 f110-w|Liberty Freedom 110 - 132 cols, 
10918         cols#132, use=f110, 
10919 f110-14w|Liberty Freedom 110 14in/132 cols, 
10920         cols#132, 
10921         dch1@, use=f110, 
10922 # (f200: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
10923 f200|freedom200|Liberty Freedom 200, 
10924         OTbs, am, eslok, hs, mir, msgr, xon, 
10925         cols#80, it#8, lines#24, wsl#80, 
10926         acsc=, bel=^G, blink=\EG2, bold=\EG0, cbt=\EI, civis=\E.0, 
10927         clear=^Z, cnorm=\E.1, cr=^M, 
10928         csr=\Em0%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=^V, 
10929         cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
10930         cvvis=\E.1, dch1=\EW, dim=\EG@, dl1=\ER, dsl=\Ef\r, ed=\EY, 
10931         el=\ET, flash=\Eo$<200/>\En, fsl=^M, home=^^, 
10932         hpa=\E]%p1%{32}%+%c, hts=\E1, il1=\EE, ind=^J, kbs=^H, 
10933         kclr=^^, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, 
10934         kdl1=\ER, ked=\EY, kel=\ET, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, 
10935         kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
10936         kf8=^AG\r, kf9=^AH\r, kich1=\EQ, kil1=\EE, mc4=\Ea, mc5=\E`, 
10937         ri=\EJ, rmacs=\E%%, rmir=\Er, smacs=\E$, smir=\Eq, smso=\EG<, 
10938         tbc=\E3, tsl=\Ef, vpa=\E[%p1%{32}%+%c, use=adm+sgr, 
10939 f200-w|Liberty Freedom 200 - 132 cols, 
10940         cols#132, use=f200, 
10941 # The f200 has the ability to reprogram the down cursor key. The key is
10942 # reprogrammed to ^J (linefeed). This value is remembered in non-volatile RAM,
10943 # so powering the terminal off and on will not cause the change to be lost.
10944 f200vi|Liberty Freedom 200 for vi, 
10945         flash=\Eb$<200/>\Ed, kcud1=^J, use=f200, 
10946 f200vi-w|Liberty Freedom 200 - 132 cols for vi, 
10947         cols#132, use=f200vi, 
10948
10949 #### GraphOn (go)
10950 #
10951 #       Graphon Corporation
10952 #       544 Division Street
10953 #       Campbell, CA 95008
10954 #       Vox: (408)-370-4080
10955 #       Fax: (408)-370-5047
10956 #       Net: troy@graphon.com (Troy Morrison)
10957 #
10958 #
10959 # The go140 and go225 have been discontinued.  GraphOn now makes X terminals,
10960 # including one odd hybrid that starts out life on power-up as a character
10961 # terminal, than can be switched to X graphics mode (driven over the serial
10962 # line) by an escape sequence.  No info on this beast yet.
10963 # (go140: I added <rmam>/<smam> based on the init string -- esr)
10964 go140|graphon go-140, 
10965         OTbs, 
10966         cols#80, it#8, lines#24, 
10967         clear=\E[H\E[2J$<10/>, cub1=^H, cuf1=\E[C, 
10968         cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
10969         ed=\E[J$<10/>, el=\E[K, ht=^I, 
10970         if=/usr/share/tabset/vt100, il1=\E[L, 
10971         is2=\E<\E=\E[?3l\E[?7l\E(B\E[J\E7\E[;r\E8\E[m\E[q, 
10972         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, 
10973         kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, ri=\EM, 
10974         rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, 
10975         rmul=\E[m, sgr0=\E[m, smam=\E[?7h, smir=\E[4h, 
10976         smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
10977 go140w|graphon go-140 in 132 column mode, 
10978         am, 
10979         cols#132, 
10980         is2=\E<\E=\E[?3h\E[?7h\E(B\E[J\E7\E[;r\E8\E[m\E[q, 
10981         use=go140, 
10982 # Hacked up vt200 termcap to handle GO-225/VT220
10983 # From: <edm@nwnexus.WA.COM>
10984 # (go225: I added <rmam>/<smam> based on the init string -- esr)
10985 go225|go-225|Graphon 225, 
10986         OTbs, am, mir, xenl, 
10987         cols#80, it#8, lines#25, vt#3, 
10988         blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, 
10989         csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C, 
10990         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
10991         ed=\E[J, el=\E[K, home=\E[H, ht=^I, il1=\E[L, ind=\ED, 
10992         is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kbs=^H, 
10993         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, 
10994         kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, rc=\E8, rev=\E[7m, 
10995         rf=/usr/share/tabset/vt100, ri=\EM, rmam=\E[?7l, 
10996         rmcup=\E[!p\E[?7h\E[2;1;1#w, rmir=\E[4l, rmkx=\E>, 
10997         rmso=\E[27m, rmul=\E[24m, rs1=\E[!p\E[?7h\E[2;1;1#w, 
10998         sc=\E7, sgr0=\E[m, smam=\E[?7h, smcup=\E[2;0#w\E[1;25r, 
10999         smir=\E[4h, smkx=\E=, smso=\E[7m, smul=\E[4m, 
11000
11001 #### Harris (Beehive)
11002 #
11003 # Bletch.  These guys shared the Terminal Brain Damage laurels with Hazeltine.
11004 # Their terminal group is ancient history now (1995) though the parent
11005 # company is still in business.
11006 #
11007
11008 # Beehive documentation is undated and marked Preliminary and has no figures
11009 # so we must have early Superbee2 (Model 600, according to phone conversation
11010 # with mfr.). It has proved reliable except for some missing padding
11011 # (notably after \EK and <nl> at bottom of screen).
11012
11013 # The key idea is that AEP mode is poison for <cup> & that US's in 
11014 # the local memory should be avoided like the plague. That means 
11015 # that the 2048 character local buffer is used as 25 lines of 80 
11016 # characters, period. No scrolling local memory, folks. It also 
11017 # appears that we cannot use naked INS LINE feature since it uses
11018 # US. The sbi fakes <il1> with an 80-space insert that may be too 
11019 # slow at low speeds; also spaces get converted to \040 which is 
11020 # too long for some programs (not vi).  DEL LINE is ok but slow.
11021
11022 # The <nl> string is designed for last line of screen ONLY; cup to 
11023 # 25th line corrects the motion inherent in scrolling to Page 1.
11024
11025 # There is one understood bug. It is that the screen appears to
11026 # pop to a new (blank) page after a <nel>, or leave a half-line 
11027 # ellipsis to a quad that is the extra 48 memory locations. The 
11028 # data received is dumped into memory but not displayed.  Not to 
11029 # worry if <cup> is being used; the lines not displayed will be, 
11030 # whenever the cursor is moved up there. Since <cup> is addressed 
11031 # relative to MEMORY of window, nothing is lost; but beware of 
11032 # relative cursor motion (<cuu1>,<cud1>,<cuf1>,<cub1>). Recommended,
11033 # therefore, is setenv MORE -c .
11034
11035 # WARNING: Not all features tested.
11036
11037 # Timings are assembled from 3 sources. Some timings may reflect 
11038 # SB2/Model 300 that were used if more conservative.
11039 # Tested on a Model 600 at 1200 and 9600 bd.
11040
11041 # The BACKSPACEkb option is cute. The NEWLINE key, so cleverly 
11042 # placed on the keyboard and useless because of AEP, is made 
11043 # into a backspace key. In use ESC must be pressed twice (to send)
11044 # and sending ^C must be prefixed by ESC to avoid that weird 
11045 # transmit mode associated with ENTER key.
11046
11047 # IF TERMINAL EVER GOES CATATONIC with the cursor buzzing across 
11048 # the screen, then it has dropped into ENTER mode; hit 
11049 # RESET--ONLINE--!tset.
11050
11051 # As delivered this machine has a FATAL feature that will throw 
11052 # it into that strange transmit state (SPOW) if the space bar is 
11053 # hit after a CR is received, but before receiving a LF (or a 
11054 # few others).
11055
11056 # The circuits MUST be modified to eliminate the SPOW latch. 
11057 # This is done by strapping on chip A46 of the I/O board; cut 
11058 # the p.c. connection to Pin 5 and strap Pin 5 to Pin 8 of that 
11059 # chip. This mod has been checked out on a Mod 600 of Superbee II.
11060 # With this modification absurdly high timings on cr are 
11061 # unnecessary.
11062
11063 # NOTE WELL that the rear panel switch should be set to CR/LF, 
11064 # not AEP!
11065 #
11066 sb1|beehive superbee, 
11067         OTbs, am, bw, da, db, mir, ul, xsb, 
11068         cols#80, lines#25, xmc#1, 
11069         bel=^G, cbt=\E`$<650>, clear=\EH$<1>\EJ$<3>, cr=$<1>\r, 
11070         cub1=^H, cud1=^J, cuf1=\EC$<3>, cup=\EF%p2%03d%p1%03d, 
11071         cuu1=\EA$<3>, dch1=\EP$<3>, dl1=\EM$<100>, ed=\EJ$<3>, 
11072         el=\EK$<3>, home=\EH$<1>, ht=^I, hts=\E1, 
11073         il1=\EN\EL$<3>\EQ                                                                                \EP$<3> \EO\ER\EA$<3>, 
11074         ind=^J, is2=\EE$<3>\EX\EZ\EO\Eb\Eg\ER, kbs=^_, kcub1=\ED, 
11075         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdl1=\EM, ked=\EJ, kel=\EK, 
11076         kf0=\E2, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, 
11077         kf7=\Ev, kf8=\Ew, kf9=\E1, khome=\EH, kich1=\EQ\EO, 
11078         krmir=\ER, lf0=TAB CLEAR, lf9=TAB SET, rmcup=, rmir=\ER, 
11079         rmso=\E_3, rmul=\E_3, sgr0=\E_3, smcup=\EO, smir=\EQ\EO, 
11080         smso=\E_1, smul=\E_0, tbc=\E3, 
11081 sbi|superbee|beehive superbee at Indiana U., 
11082         xsb, 
11083         cr=\r$<1>, il1=1\EN\EL$<9>\EQ \EP$<9> \EO\ER\EA, 
11084         use=sb1, 
11085 # Alternate (older) description of Superbee - f1=escape, f2=^C.
11086 # Note: there are at least 3 kinds of superbees in the world.  The sb1
11087 # holds onto escapes and botches ^C's.  The sb2 is the best of the 3.
11088 # The sb3 puts garbage on the bottom of the screen when you scroll with
11089 # the switch in the back set to CRLF instead of AEP.  This description
11090 # is tested on the sb2 but should work on all with either switch setting.
11091 # The f1/f2 business is for the sb1 and the <xsb> can be taken out for
11092 # the other two if you want to try to hit that tiny escape key.
11093 # This description is tricky: being able to use cup depends on there being
11094 # 2048 bytes of memory and the hairy <nl> string.
11095 superbee-xsb|beehive super bee, 
11096         am, da, db, xsb, 
11097         cols#80, it#8, lines#25, 
11098         clear=\EH\EJ$<3>, cnorm=^J, cr=\r$<1000>, cub1=^H, cud1=^J, 
11099         cuf1=\EC, cup=\EF%p2%3d%p1%3d, cuu1=\EA$<3>, 
11100         dch1=\EP$<3>, dl1=\EM$<100>, ed=\EJ$<3>, el=\EK$<3>, 
11101         home=\EH, ht=^I, hts=\E1, 
11102         ind=\n\0\0\0\n\0\0\0\EA\EK\0\0\0\ET\ET, is2=\EH\EJ, 
11103         kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf1=\Ep, kf2=\Eq, 
11104         kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew, 
11105         khome=\EH, rmso=\E_3, sgr0=\E_3, smso=\E_1, tbc=\E3, 
11106 # This loses on lines > 80 chars long, use at your own risk
11107 superbeeic|super bee with insert char, 
11108         ich1=, rmir=\ER, smir=\EQ, use=superbee-xsb, 
11109 sb2|sb3|fixed superbee, 
11110         xsb@, use=superbee, 
11111
11112 ####  Beehive Medical Electronics
11113 #
11114 # Steve Seymour <srseymour@mindspring.com> writes (Wed, 03 Feb 1999):
11115 # Regarding your question though; Beehive terminals weren't made by Harris.
11116 # They were made by Beehive Medical Electronics in Utah. They went out of
11117 # business in the early '80s.
11118 #
11119 # (OK, then, I don't know why a couple of these say "harris beehive".)
11120 #
11121
11122 # Reports are that most of these Beehive entries (except superbee) have not
11123 # been tested and do not work right.  <rmso> is a trouble spot.  Be warned.
11124
11125 # (bee: <ich1> was empty, which is obviously bogus -- esr)
11126 beehive|bee|harris beehive, 
11127         OTbs, am, mir, 
11128         cols#80, lines#24, 
11129         cbt=\E>, clear=\EE, cub1=^H, cud1=\EB, cuf1=\EC, 
11130         cup=\EF%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EP, 
11131         dl1=\EM, ed=\EJ, el=\EK, home=\EH, il1=\EL, kbs=^H, kcbt=\E>, 
11132         kclr=\EE, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
11133         kdch1=\EP, kdl1=\EM, kel=\EK, khome=\EH, kich1=\EQ, kil1=\EL, 
11134         krmir=\E@, rmir=\E@, rmso=\Ed@, rmul=\Ed@, sgr0=\Ed@, 
11135         smir=\EQ, smso=\EdP, smul=\Ed`, 
11136 # set tab is ^F, clear (one) tab is ^V, no way to clear all tabs.
11137 # good grief - does this entry make :sg:/:ug: when it doesn't have to?
11138 # look at those spaces in <rmso>/<smso>.  Seems strange to me...
11139 # (beehive: <if=/usr/share/tabset/beehive> removed, no such file.  If you
11140 # really care, cook up one using ^F -- esr)
11141 beehive3|bh3m|beehiveIIIm|harris beehive 3m, 
11142         OTbs, am, 
11143         cols#80, it#8, lines#20, 
11144         bel=^G, clear=^E^R, cr=^M, cub1=^H, cud1=^J, cuf1=^L, cuu1=^K, 
11145         dl1=\021$<350>, ed=^R, el=^P, home=^E, ht=^I, hts=^F, 
11146         il1=\023$<160>, ind=^J, ll=^E^K, rmso=\s^_, smso=^]\s, 
11147 beehive4|bh4|beehive 4, 
11148         am, 
11149         cols#80, lines#24, 
11150         bel=^G, clear=\EE, cr=^M, cub1=\ED, cud1=^J, cuf1=\EC, 
11151         cuu1=\EA, ed=\EJ, el=\EK, home=\EH, ind=^J, 
11152 # There was an early Australian kit-built computer called a "Microbee".
11153 # It's not clear whether this is for one of those or for a relative
11154 # of the Beehive.
11155 microb|microbee|micro bee series, 
11156         OTbs, am, 
11157         cols#80, it#8, lines#24, 
11158         bel=^G, clear=\EE, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
11159         cup=\EF%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
11160         el=\EK, ht=^I, ind=^J, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
11161         kcuu1=\EA, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, 
11162         kf6=\Eu, kf7=\Ev, kf8=\Ew, kf9=\Ex, khome=\EH, rmso=\Ed@, 
11163         rmul=\Ed@, sgr0=\Ed@, smso=\s\EdP, smul=\Ed`, 
11164
11165 # 8675, 8686, and bee from Cyrus Rahman
11166 # (8675: changed k10, k11...k16 to k;, F1...F6 -- esr)
11167 ha8675|harris 8675, 
11168         is2=\ES\E#\E*\Eh\Em\E?\E1\E9\E@\EX\EU, kf1=^F, 
11169         kf10=\Ed, kf11=^W, kf12=\ER, kf13=\EE, kf14=\EI, kf15=\Ei, 
11170         kf16=\Eg, kf2=^P, kf3=^N, kf4=^V, kf5=^J, kf6=^T, kf7=^H, 
11171         kf8=\177, kf9=\Ee, use=bee, 
11172 # (8686: changed k10, k11...k16 to k;, F1...F6; fixed broken continuation
11173 # in :is: -- esr)
11174 ha8686|harris 8686, 
11175         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#, 
11176         kf1=\002\Ep\003, kf10=\Ej, kf11=\EW, kf12=\002\E{\003, 
11177         kf13=\002\E|\003, kf14=\002\E}\003, kf15=\002\E~\003, 
11178         kf16=\002\E\177\003, kf2=\002\Eq\003, kf3=\002\Er\003, 
11179         kf4=\002\Es\003, kf5=\E3, kf6=\EI, kf7=\ER, kf8=\EJ, kf9=\E(, 
11180         use=bee, 
11181
11182 #### Hazeltine
11183 #
11184 # Hazeltine appears to be out of the terminal business as of 1995.  These
11185 # guys were co-owners of the Terminal Brain Damage Hall Of Fame along with
11186 # Harris. They have a hazeltine.com domain (but no web page there ) and can
11187 # be reached at:
11188 #
11189 #       Hazeltine
11190 #       450 East Pulaski Road
11191 #       Greenlawn, New York 11740
11192 #
11193 # As late as 1993, manuals for the terminal product line could still be
11194 # purchased from:
11195 #
11196 #       TRW Customer Service Division
11197 #       15 Law Drive
11198 #       P.O. Box 2076
11199 #       Fairfield, NJ 07007-2078
11200 #
11201 # They're now (1998) a subsidiary of General Electric, operating under the
11202 # marque "GEC-Marconi Hazeltine" and doing military avionics.  Web page
11203 # at <http://www.gec.com/cpd/1ncpd.htm#1.55>.
11204 #
11205
11206 # Since <cuf1> is blank, when you want to erase something you
11207 # are out of luck.  You will have to do ^L's a lot to
11208 # redraw the screen.  h1000 is untested.  It doesn't work in
11209 # vi - this terminal is too dumb for even vi.  (The code is
11210 # there but it isn't debugged for this case.)
11211 hz1000|hazeltine 1000, 
11212         OTbs, 
11213         cols#80, lines#12, 
11214         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s, home=^K, 
11215         ind=^J, 
11216 # From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
11217 hz1420|hazeltine 1420, 
11218         OTbs, am, 
11219         cols#80, lines#24, 
11220         bel=^G, clear=\E^\, cr=^M, cub1=^H, cud1=^J, cuf1=^P, 
11221         cup=\E\021%p2%c%p1%{32}%+%c, cuu1=\E^L, dl1=\E^S, 
11222         ed=\E^X, el=\E^O, ht=^N, il1=\E^Z, ind=^J, rmso=\E^Y, 
11223         smso=\E^_, 
11224 # New "safe" cursor movement (11/87) from <cgs@umd5.umd.edu>.  Prevents
11225 # freakout with out-of-range args and tn3270.  No hz since it needs to
11226 # receive tildes.
11227 hz1500|hazeltine 1500, 
11228         OTbs, am, hz, 
11229         cols#80, lines#24, 
11230         bel=^G, clear=~^\, cr=^M, cub1=^H, cud1=~^K, cuf1=^P, 
11231         cup=~\021%p2%p2%?%{30}%>%t%{32}%+%;%{96}%+%c%p1%{96}%+%c, 
11232         cuu1=~^L, dl1=~\023$<40>, ed=~\030$<10>, el=~^O, home=~^R, 
11233         il1=~\032$<40>, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^P, 
11234         kcuu1=~^L, khome=~^R, rmso=~^Y, smso=~^_, 
11235 # h1510 assumed to be in sane escape mode.  Else use h1500.
11236 # (h1510: early versions of this entry apparently had "<rmso=\E^_>, 
11237 # <smso=\E^Y>, but these caps were commented out in 8.3; also,
11238 # removed incorrect and overridden ":do=^J:" -- esr)
11239 hz1510|hazeltine 1510, 
11240         OTbs, am, 
11241         cols#80, lines#24, 
11242         bel=^G, clear=\E^\, cr=^M, cub1=^H, cud1=\E^K, cuf1=^P, 
11243         cup=\E\021%p2%c%p1%c, cuu1=\E^L, dl1=\E^S, ed=\E^X, 
11244         el=\E^O, il1=\E^Z, ind=^J, 
11245 # Hazeltine 1520
11246 # The following switch settings are assumed for normal operation:
11247 #       FULL            CR              U/L_CASE        ESCAPE
11248 #       FORMAT_OFF      EOM_A_OFF       EOM_B_OFF       WRAPAROUND_ON
11249 # Other switches may be set for operator convenience or communication
11250 # requirements.
11251 hz1520|Hazeltine 1520, 
11252         OTbs, am, bw, msgr, 
11253         cols#80, lines#24, 
11254         bel=^G, bold=\E^_, clear=\E^\, cr=^M, cub1=^H, cud1=^J, 
11255         cuf1=^P, cup=\E\021%p2%c%p1%c, cuu1=\E^L, dl1=\E^S, 
11256         ed=\E^X, el=\E^O, home=\E^R, il1=\E^Z, ind=^J, kbs=^H, 
11257         kclr=\E^\, kcub1=^H, kcud1=\E^K, kcuf1=^P, kcuu1=\E^L, 
11258         kdl1=\E^S, ked=\E^X, kel=\E^O, khome=\E^R, kil1=\E^Z, 
11259         rmso=\E^Y, rs1=\E$\E\005\E?\E\031, sgr0=\E^Y, smso=\E^_, 
11260 # This version works with the escape switch off
11261 # (h1520: removed incorrect and overridden ":do=^J:" -- esr)
11262 hz1520-noesc|hazeltine 1520, 
11263         am, hz, 
11264         cols#80, lines#24, 
11265         bel=^G, clear=~^\, cr=^M, cub1=^H, cud1=~^K, cuf1=^P, 
11266         cup=~\021%p2%c%p1%c$<1>, cuu1=~^L, dl1=~^S, ed=~^X, el=~^O, 
11267         home=~^R, il1=~^Z, ind=^J, rmso=~^Y, smso=~^_, 
11268 # Note: the h1552 appears to be the first Hazeltine terminal which
11269 # is not braindamaged.  It has tildes and backprimes and everything!
11270 # Be sure the auto lf/cr switch is set to cr.
11271 hz1552|hazeltine 1552, 
11272         OTbs, 
11273         cud1=^J, dl1=\EO, il1=\EE, kf1=\EP, kf2=\EQ, kf3=\ER, lf1=blue, 
11274         lf2=red, lf3=green, use=vt52, 
11275 hz1552-rv|hazeltine 1552 reverse video, 
11276         cud1=^J, rmso=\ET, smso=\ES, use=hz1552, 
11277 # Note: h2000 won't work well because of a clash between upper case and ~'s.
11278 hz2000|hazeltine 2000, 
11279         OTbs, OTnc, am, 
11280         cols#74, lines#27, 
11281         bel=^G, clear=~\034$<6>, cub1=^H, cud1=^J, 
11282         cup=~\021%p2%c%p1%c, dl1=~\023$<6>, home=~^R, 
11283         il1=~\032$<6>, ind=^J, pad=\177, 
11284 # Date: Fri Jul 23 10:27:53 1982.  Some unknown person wrote:
11285 # I tested this termcap entry for the Hazeltine Esprit with vi. It seems
11286 # to work ok. There is one problem though if one types a lot of garbage
11287 # characters very fast vi seems not able to keep up and hangs while trying
11288 # to insert. That's in insert mode while trying to insert in the middle of
11289 # a line. It might be because the Esprit doesn't have insert char and delete
11290 # char as a built in function. Vi has to delete to end of line and then 
11291 # redraw the rest of the line.
11292 esprit|Hazeltine Esprit I, 
11293         OTbs, am, bw, 
11294         cols#80, lines#24, 
11295         bel=^G, cbt=\E^T, clear=\E^\, cr=^M, cub1=^H, cud1=\E^K, 
11296         cuf1=^P, cup=\E\021%p2%c%p1%c, cuu1=\E^L, dl1=\E^S, 
11297         ed=\E^W, el=\E^O, home=\E^R, il1=\E^Z, ind=^J, is2=\E?, kbs=^H, 
11298         kcub1=^H, kcud1=\E^K, kcuf1=^P, kcuu1=\E^L, kf0=^B0^J, 
11299         kf1=^B1^J, kf2=^B2^J, kf3=^B3^J, kf4=^B4^J, kf5=^B5^J, 
11300         kf6=^B6^J, kf7=^B7^J, kf8=^B8^J, kf9=^B9^J, khome=\E^R, 
11301         lf0=0, lf1=1, lf2=2, lf3=3, lf4=4, lf5=5, lf6=6, lf7=7, lf8=8, lf9=9, 
11302         rmkx=\E>, rmso=\E^Y, smkx=\E<, smso=\E^_, 
11303 esprit-am|hazeltine esprit auto-margin, 
11304         am, use=esprit, 
11305 # Hazeltine Modular-1 from Cliff Shackelton <ittvax!ittral!shackelt> via BRL
11306 # Vi it seems always wants to send a control J for "do" and it turned out
11307 # that the terminal would work somewhat if the auto LF/CR was turned off.
11308 # (hmod1: removed :dn=~^K: -- esr)
11309 hmod1|Hazeltine Modular 1, 
11310         OTbs, am, hz, 
11311         cols#80, lines#24, 
11312         bel=^G, cbt=~^T, clear=~^\, cr=^M, cub1=^H, cud1=~^K, cuf1=^P, 
11313         cup=~\021%p2%c%p1%c, cuu1=~^L, dl1=~^S, home=~^R, il1=~^Z, 
11314         ind=^J, kcub1=^H, kcud1=~^K, kcuf1=^P, kcuu1=~^L, khome=~^R, 
11315         rc=~^Q, rmso=~^Y, sc=~^E, sgr0=~^Y, smso=~^_, 
11316 #
11317 # Hazeltine Executive 80 Model 30 (1554?)
11318 #       from  Will Martin <control@ALMSA-1.ARPA> via BRL
11319 # Like VT100, except for different "am" behavior.
11320 hazel|exec80|h80|he80|Hazeltine Executive 80, 
11321         OTbs, OTpt, am, 
11322         cols#80, it#8, lines#24, vt#3, 
11323         OTnl=^J, bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>, 
11324         clear=\E[;H\E[2J$<50/>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
11325         cub1=^H, cud1=^J, cuf1=\E[C$<2/>, 
11326         cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<2/>, 
11327         ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H, ht=^I, 
11328         is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\EOD, kcud1=\EOB, 
11329         kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR, 
11330         kf4=\EOS, rc=\E8, rev=\E[7m$<2/>, 
11331         rf=/usr/share/tabset/vt100, ri=\EM$<5/>, 
11332         rmkx=\E[?1l\E>, rmso=\E[m$<2/>, rmul=\E[m$<2/>, 
11333         rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
11334         sgr0=\E[m$<2/>, smkx=\E[?1h\E=, smso=\E[7m$<2/>, 
11335         smul=\E[4m$<2/>, 
11336
11337 #### IBM
11338 #
11339
11340 ibm327x|line mode IBM 3270 style, 
11341         gn, 
11342         clear=^M^J, el=^M, home=^M, 
11343
11344 ibm3101|i3101|IBM 3101-10, 
11345         OTbs, am, xon, 
11346         cols#80, lines#24, 
11347         bel=^G, clear=\EK, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
11348         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
11349         el=\EI, home=\EH, hts=\E0, ind=^J, kcub1=\ED, kcud1=\EB, 
11350         kcuf1=\EC, kcuu1=\EA, nel=^M^J, tbc=\EH, 
11351 ibm3151|IBM 3151 display, 
11352         is2=\E S, rmacs=\E>B, rmcup=\E>B, rs2=\E S, s0ds=\E>B, 
11353         sgr=\E4%{64}%?%p1%t%{65}%|%;%?%p2%t%{66}%|%;%?%p3%t%{65}%|%;%?%p4%t%{68}%|%;%?%p5%t%{64}%|%;%?%p6%t%{72}%|%;%?%p7%t%{80}%|%;%c%?%p9%t\E>A%e\E>B%;, 
11354         sgr0=\E4@\E>B, smacs=\E>A, smcup=\E>B, use=ibm3162, 
11355 # From: Mark Easter <marke@fsi-ssd.csg.ssd.fsi.com> 29 Oct 1992 
11356 # removed kend, knp, kpp -TD
11357 ibm3161|ibm3163|wy60-316X|wyse60-316X|IBM 3161/3163 display, 
11358         OTbs, am, mir, msgr, 
11359         cols#80, it#8, lines#24, 
11360         acsc=j\352k\353l\354m\355n\356q\361t\364u\365v\366w\367x\370, 
11361         bel=^G, blink=\E4D, bold=\E4H, clear=\EH\EJ, cr=^M, cub1=\ED, 
11362         cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
11363         cuu1=\EA, dch1=\EQ, dl1=\EO, ed=\EJ, el=\EI, home=\EH, ind=^J, 
11364         invis=\E4P, kbs=^H, kcbt=\E2, kclr=\EL\r, kctab=\E1, 
11365         kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EQ, 
11366         kdl1=\EO, ked=\EJ, kel=\EI, kf1=\Ea\r, kf10=\Ej\r, 
11367         kf11=\Ek\r, kf12=\El\r, kf13=\E!a\r, kf14=\E!b\r, 
11368         kf15=\E!c\r, kf16=\E!d\r, kf17=\E!e\r, kf18=\E!f\r, 
11369         kf19=\E!g\r, kf2=\Eb\r, kf20=\E!h\r, kf21=\E!i\r, 
11370         kf22=\E!j\r, kf23=\E!k\r, kf24=\E!l\r, kf3=\Ec\r, 
11371         kf4=\Ed\r, kf5=\Ee\r, kf6=\Ef\r, kf7=\Eg\r, kf8=\Eh\r, 
11372         kf9=\Ei\r, khome=\EH, khts=\E0, kich1=\EP \010, kil1=\EN, 
11373         ktbc=\E 1, mc4=^P^T, mc5=^P^R, rev=\E4A, rmcup=\E>A, 
11374         rmso=\E4@, rmul=\E4@, 
11375         sgr=\E4%{64}%?%p1%t%{65}%|%;%?%p2%t%{66}%|%;%?%p3%t%{65}%|%;%?%p4%t%{68}%|%;%?%p5%t%{64}%|%;%?%p6%t%{72}%|%;%?%p7%t%{80}%|%;%c%?%p9%t\E>A%e\E<@%;, 
11376         sgr0=\E4@\E<@, smcup=\E>A, smso=\E4A, smul=\E4B, 
11377
11378 ibm3161-C|IBM 3161-C NLS terminal using cartridge, 
11379         rmcup=\E>B, s0ds=\E>B, s1ds=\E>A, smcup=\E>B, use=ibm3161, 
11380 ibm3162|IBM 3162 display, 
11381         blink=\E4$a, bold=\E4(a, il1=\EN, invis=\E40a, rev=\E4!a, 
11382         rmso=\E4>b, rmul=\E4=b, sgr0=\E4@, smso=\E4!a, smul=\E4"a, 
11383         use=ibm3161-C, 
11384
11385 # This really should not use setab/setaf, but it is clear that the
11386 # original terminfo does not toggle red/blue colors as in setb/setf.
11387 ibm3164|i3164|IBM 3164, 
11388         msgr, 
11389         colors#8, pairs#64, 
11390         op=\E4 "@, rmcup=\E!9(N\E>B, s0ds=\E>B, s1ds=\E>A, 
11391         setab=\E4  %p1%{64}%+%c, 
11392         setaf=\E4%?%p1%t %p1%{32}%+%c%e!'%;@, 
11393         smcup=\E!9/N\E>B, use=ibm3161, 
11394
11395 ibm5151|wy60-AT|wyse60-AT|IBM 5151 Monochrome display, 
11396         am, bw, msgr, xon, 
11397         cols#80, it#8, lines#25, 
11398         acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263, 
11399         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M, 
11400         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
11401         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
11402         cuu=\E[%p1%dA, cuu1=\E[A, dch1=\E[P, dl=\E[%p1%dM, 
11403         dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H, 
11404         hpa=\E[%i%p1%dG, il=\E[%p1%dL, il1=\E[L, ind=\E[S, 
11405         indn=\E[%p1%dS, invis=\E[8m, is2=\Ec, kbs=^H, kcbt=\E[Z, 
11406         kclr=\E[144q, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
11407         kcuu1=\E[A, kdch1=\E[P, ked=\E[148q, kel=\E[142q, 
11408         kend=\E[146q, kf1=\E[001q, kf10=\E[010q, kf11=\E[011q, 
11409         kf12=\E[012q, kf13=\E[013q, kf14=\E[014q, kf15=\E[015q, 
11410         kf16=\E[016q, kf17=\E[017q, kf18=\E[018q, kf19=\E[019q, 
11411         kf2=\E[002q, kf20=\E[020q, kf21=\E[021q, kf22=\E[022q, 
11412         kf23=\E[023q, kf24=\E[024q, kf25=\E[025q, kf26=\E[026q, 
11413         kf27=\E[027q, kf28=\E[028q, kf29=\E[029q, kf3=\E[003q, 
11414         kf30=\E[030q, kf31=\E[031q, kf32=\E[032q, kf33=\E[033q, 
11415         kf34=\E[034q, kf35=\E[035q, kf36=\E[036q, kf4=\E[004q, 
11416         kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, kf8=\E[008q, 
11417         kf9=\E[009q, khome=\E[H, kich1=\E[139q, kil1=\E[140q, 
11418         kind=\E[151q, knp=\E[154q, kpp=\E[150q, kri=\E[155q, 
11419         krmir=\E[4l, rev=\E[7m, ri=\E[T, rin=\E[%p1%dT, rmir=\E[4l, 
11420         rmso=\E[m, rmul=\E[m, rs2=\Ec, 
11421         sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;m, 
11422         sgr0=\E[0m, smir=\E[4h, smso=\E[7m, smul=\E[4m, 
11423
11424 ibmaed|IBM Experimental display, 
11425         OTbs, am, eo, msgr, 
11426         cols#80, it#8, lines#52, 
11427         clear=\EH\EK, cub1=^H, cud1=\EB, cuf1=\EC, 
11428         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ, 
11429         dl1=\EO, ed=\EJ, el=\EI, flash=\EG, home=\EH, ht=^I, ich1=\EP, 
11430         il1=\EN, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
11431         rmso=\E0, sgr0=\E0, smso=\E0, 
11432 ibm-apl|apl|IBM apl terminal simulator, 
11433         lines#25, use=dm1520, 
11434 # (ibmmono: this had an unknown `sb' boolean, I changed it to `bs'.  
11435 # Also it had ":I0=f10:" which pretty obviously should be "l0=f10" -- esr)
11436 ibmmono|IBM workstation monochrome, 
11437         eslok, hs, 
11438         bold=\EZ, dl1=\EM, dsl=\Ej\EY8 \EI\Ek, fsl=\Ek, il1=\EL, 
11439         invis=\EF\Ef0;\Eb0;, kbs=^H, kf0=\E<, kf1=\ES, kf2=\ET, 
11440         kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\EY, 
11441         khome=\EH, kich1=\0, kind=\EE, knp=\EE, kpp=\Eg, kri=\EG, 
11442         lf0=f10, rev=\Ep, ri=\EA, rmso=\Ez, rmul=\Ew, 
11443         sgr0=\Ew\Eq\Ez\EB, smso=\EZ, smul=\EW, tsl=\Ej\EY8%+ \Eo, 
11444         use=ibm3101, 
11445 ibmega|IBM Enhanced Color Display, 
11446         cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, 
11447         nel=^M^J, use=ibmmono, 
11448 # This color scheme is assumed in some recent IBM terminal descriptions
11449 # (green on black, emulated on a 16-color terminal).
11450 ibm+color|IBM color definitions, 
11451         colors#8, ncv#3, pairs#64, 
11452         op=\E[32m\E[40m, 
11453         setb=\E[%?%p1%{0}%=%t40m%e%p1%{1}%=%t41m%e%p1%{2}%=%t42m%e%p1%{3}%=%t43m%e%p1%{4}%=%t44m%e%p1%{5}%=%t45m%e%p1%{6}%=%t46m%e%p1%{7}%=%t107m%;, 
11454         setf=\E[%?%p1%{0}%=%t30m%e%p1%{1}%=%t31m%e%p1%{2}%=%t32m%e%p1%{3}%=%t33m%e%p1%{4}%=%t34m%e%p1%{5}%=%t35m%e%p1%{6}%=%t36m%e%p1%{7}%=%t97m%;, 
11455 ibm5154|IBM 5154 Color display, 
11456         colors#8, ncv@, pairs#64, 
11457         bold@, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=ibm5151, 
11458         use=ibm+color, 
11459 ibmega-c|ibm5154-c|IBM Enhanced Color Display with standout and underline, 
11460         rmso=\EB, rmul=\EB, smso=\EF\Ef3;, smul=\EF\Ef2;, 
11461         use=ibmmono, 
11462 ibmvga-c|IBM VGA display color termcap, 
11463         cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, 
11464         nel=^M^J, use=ibmega-c, 
11465 ibmvga|IBM VGA display, 
11466         cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, 
11467         nel=^M^J, use=ibmega, 
11468 # ibmapa* and ibmmono entries come from ACIS 4.3 distribution
11469 rtpc|ibmapa16|IBM 6155 Extended Monochrome Graphics Display, 
11470         lines#32, 
11471         dsl=\Ej\EY@ \EI\Ek, tsl=\Ej\EY@%+ \Eo, use=ibmmono, 
11472 ibm6155|IBM 6155 Black & White display, 
11473         blink@, bold@, use=ibm5151, 
11474 # Advanced Monochrome (6153) and Color (6154) Graphics Display:
11475 ibmapa8c|ibmapa8|IBM 6154 Advanced Graphics Display, 
11476         lines#31, 
11477         dsl=\Ej\EY? \EI\Ek, tsl=\Ej\EY?%+ \Eo, use=ibmmono, 
11478 ibmapa8c-c|ibm6154-c|IBM 6154 Advanced Color Graphics Display, 
11479         lines#31, 
11480         dim=\EF\Ef7;, dsl=\Ej\EY? \EI\Ek, tsl=\Ej\EY?%+ \Eo, 
11481         use=ibmega-c, 
11482 ibm6154|IBM 6154 Color displays, 
11483         blink@, bold=\E[12m, s0ds=\E[10m, s1ds=\E[11m, s2ds=\E[12m, 
11484         sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;12%;m, 
11485         sgr0=\E[0;10m, use=ibm5154, 
11486 ibm6153|IBM 6153 Black & White display, 
11487         blink@, bold=\E[12m, s0ds=\E[10m, s1ds=\E[11m, s2ds=\E[12m, 
11488         sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;12%;m, 
11489         sgr0=\E[0;10m, use=ibm5151, 
11490 ibm6153-90|IBM 6153 Black & White display, 
11491         cols#90, lines#36, 
11492         blink@, bold@, use=ibm5151, 
11493 ibm6153-40|IBM 6153 Black & White display, 
11494         cols#40, lines#12, use=ibm6153-90, 
11495 ibm8512|ibm8513|IBM color VGA Terminal, 
11496         am, mir, msgr, 
11497         cols#80, it#8, lines#25, 
11498         acsc=jjkkllmmnnqqttuuvvwwxx, blink=\E[5m, bold=\E[1m, 
11499         clear=\E[H\E[J, cub1=\E[D, cud1=^J, cuf1=\E[C, 
11500         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dl=\E[%p1%dM, dl1=\E[M, 
11501         ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H, il=\E[%p1%dL, 
11502         il1=\E[L, is2=\Eb\E[m\017\E[?7h, kcud1=\E[B, kcuu1=\E[A, 
11503         kf0=\E[010q, kf1=\E[001q, kf2=\E[002q, kf3=\E[003q, 
11504         kf4=\E[004q, kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, 
11505         kf8=\E[008q, kf9=\E[009q, khome=\E[H, rc=\E[u, rev=\E[7m, 
11506         rmacs=^O, rmam=\E[?7l, rmcup=\E[20h, rmdc=\E[4l, 
11507         rmir=\E[4l, rmso=\E[m, rmul=\E[m, 
11508         rs1=\Eb\E[m\017\E[?7h\E[H\E[J, sc=\E[s, sgr0=\E[m, 
11509         smacs=^N, smam=\E[?7h, smcup=\E[20;4l\E[?7h\Eb, 
11510         smdc=\E[4h, smir=\E[4h, smso=\E[7m, smul=\E[4m, 
11511         use=ibm8503, 
11512 hft-c|HFT with Color, 
11513         colors#8, pairs#64, 
11514         acsc=jjkkllmmnnqqttuuvvwwxx, s0ds=\E(B, s1ds=\E(0, 
11515         setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[0m\E(B, 
11516         use=ibm5151, use=ibm+color, 
11517 hft-c-old|HFT with Color PC850, 
11518         colors#8, pairs#64, 
11519         setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=ibm5151, 
11520         use=ibm+color, 
11521 hft-old|AIWS High Function Terminal, 
11522         am, xon, 
11523         cols#80, lines#25, 
11524         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M, 
11525         cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
11526         cuu1=\E[A, dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, 
11527         ht=^I, ich1=\E[@, il1=\E[L, ind=^J, invis=\E[8m, kbs=^H, 
11528         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
11529         kf1=\E[001q, kf2=\E[002q, kf3=\E[003q, kf4=\E[004q, 
11530         kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, kf8=\E[008q, 
11531         kf9=\E[009q, khome=\E[H, knp=\E[153q, kpp=\E[159q, 
11532         ktbc=\E[010q, rev=\E[7m, rmir=\E6, rmso=\E[m, rmul=\E[m, 
11533         sgr0=\E[m, smir=\E6, smso=\E[7m, smul=\E[4m, use=ibm+color, 
11534 ibm-system1|system1|ibm system/1 computer, 
11535         am, xt, 
11536         cols#80, lines#24, 
11537         bel=^G, clear=^Z, cub1=^H, cuf1=^\, 
11538         cup=\005%p1%{32}%+%c%p2%{32}%+%c, cuu1=^^, home=^K, 
11539         ind=^J, 
11540 #       lft-pc850 : IBM Low Function Terminal Device
11541 #    lft "supports" underline, bold, and blink in the sense that the lft code
11542 #    sets all the right bits.  HOWEVER, depending upon the adapter, these
11543 #    attributes may or may not be supported by the device driver.
11544 lft|lft-pc850|LFT-PC850|IBM LFT PC850 Device, 
11545         am, bw, msgr, xon, 
11546         cols#80, it#8, lines#25, 
11547         acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263, 
11548         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J, 
11549         cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
11550         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
11551         cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
11552         dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[2J, el=\E[0K, 
11553         home=\E[H, hpa=\E[%i%p1%dG, ich=\E[%p1%d@, il=\E[%p1%dL, 
11554         il1=\E[L, ind=\ED, indn=\E[%p1%dS, invis=\E[8m, is2=\Ec, 
11555         kbs=^H, kcbt=\E[Z, kclr=\E[144q, kcub1=\E[D, kcud1=\E[B, 
11556         kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, ked=\E[148q, 
11557         kel=\E[142q, kend=\E[146q, kf1=\E[001q, kf10=\E[010q, 
11558         kf11=\E[011q, kf12=\E[012q, kf13=\E[013q, kf14=\E[014q, 
11559         kf15=\E[015q, kf16=\E[016q, kf17=\E[017q, kf18=\E[018q, 
11560         kf19=\E[019q, kf2=\E[002q, kf20=\E[020q, kf21=\E[021q, 
11561         kf22=\E[022q, kf23=\E[023q, kf24=\E[024q, kf25=\E[025q, 
11562         kf26=\E[026q, kf27=\E[027q, kf28=\E[028q, kf29=\E[029q, 
11563         kf3=\E[003q, kf30=\E[030q, kf31=\E[031q, kf32=\E[032q, 
11564         kf33=\E[033q, kf34=\E[034q, kf35=\E[035q, kf36=\E[036q, 
11565         kf4=\E[004q, kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, 
11566         kf8=\E[008q, kf9=\E[009q, khome=\E[H, kich1=\E[139q, 
11567         kil1=\E[140q, kind=\E[151q, knp=\E[154q, kpp=\E[150q, 
11568         kri=\E[155q, krmir=\E[4l, rev=\E[7m, ri=\EL, rin=\E[%p1%dT, 
11569         rmacs=\E(B, rmir=\E[4l, rmso=\E[0m, rmul=\E[0m, rs2=\Ec, 
11570         sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\E(0%e\E(B%;, 
11571         sgr0=\E[0m, smacs=\E(0, smir=\E[4h, smso=\E[7m, smul=\E[4m, 
11572         tbc=\E[3g, 
11573 ibm5081|hft|IBM Megapel Color display, 
11574         acsc=jjkkllmmnnqqttuuvvwwxx, blink@, bold@, s0ds=\E(B, 
11575         s1ds=\E(0, sgr0=\E[0m\E(B, use=ibm5154, 
11576 ibm5081-c|ibmmpel-c|IBM 5081 1024x1024 256/4096 Megapel enhanced color display, 
11577         eslok, hs, 
11578         lines#33, 
11579         dsl=\Ej\EYA \EI\Ek, fsl=\Ek, tsl=\Ej\EYA%+ \Eo, 
11580         use=ibmega-c, 
11581 ibm8503|ibm8507|ibm8604|IBM 8503 B & W VGA display, 
11582         use=hft-c, 
11583 ibm8514|IBM 8514/a color VGA display, 
11584         eslok, hs, 
11585         dsl=\Ej\EYI \EI\Ek, fsl=\Ek, tsl=\Ej\EYI%+ \Eo, use=hft, 
11586 ibm8514-c|IBM 8514 color display with standout and underline, 
11587         eslok, hs, 
11588         lines#41, 
11589         cr=^M, cud1=^J, dsl=\Ej\EYI \EI\Ek, fsl=\Ek, ht=^I, ind=^J, 
11590         kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, tsl=\Ej\EYI%+ \Eo, 
11591         use=ibmega-c, 
11592
11593 #
11594 # AIX entries.  IBM ships these with AIX 3.2.5. 
11595 # -- added rc, sc based on manpage -TD
11596 aixterm|IBM Aixterm Terminal Emulator, 
11597         eslok, hs, 
11598         acsc=jjkkllmmnnqqttuuvvwwxx, bold=\E[1m, dsl=\E[?E, 
11599         fsl=\E[?F, rc=\E8, ri@, s0ds=\E(B, s1ds=\E(0, sc=\E7, 
11600         sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\E(0%e\E(B%;, 
11601         sgr0=\E[0;10m\E(B, tsl=\E[?%p1%dT, use=ibm6154, 
11602 aixterm-m|IBM AIXterm Monochrome Terminal Emulator, 
11603         eslok, hs, 
11604         acsc=jjkkllmmnnqqttuuvvwwxx, bold=\E[1m, dsl=\E[?E, 
11605         fsl=\E[?F, ri@, s0ds=\E(B, s1ds=\E(0, 
11606         sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, 
11607         sgr0=\E[0;10m\E(B, tsl=\E[?%p1%dT, use=ibm6153, 
11608 aixterm-m-old|old IBM AIXterm Monochrome Terminal Emulator, 
11609         eslok, hs, 
11610         bold=\E[1m, dsl=\E[?E, fsl=\E[?F, ri@, 
11611         sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, 
11612         tsl=\E[?%p1%dT, use=ibm6153, 
11613 jaixterm|IBM Kanji Aixterm Terminal Eemulator, 
11614         acsc@, use=aixterm, 
11615 jaixterm-m|IBM Kanji AIXterm Monochrome Terminal Emulator, 
11616         acsc@, use=aixterm-m, 
11617
11618 #### Infoton/General Terminal Corp.
11619 #
11620
11621 # gt100 sounds like something DEC would come out with.  Let's hope they don't.
11622 i100|gt100|gt100a|General Terminal 100A (formerly Infoton 100), 
11623         OTbs, am, 
11624         cols#80, lines#24, 
11625         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
11626         cup=\Ef%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, dl1=\EM, 
11627         ed=\EJ, el=\EK, flash=\Eb$<200/>\Ea, home=\EH, il1=\EL, 
11628         ind=^J, rmso=\Ea, smso=\Eb, 
11629 i400|infoton 400, 
11630         OTbs, am, 
11631         cols#80, lines#25, 
11632         bel=^G, clear=\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
11633         cup=%i\E[%p1%3d;%p2%3dH, cuu1=\E[A, 
11634         dch1=\E[4h\E[2Q\E[P\E[4l\E[0Q, dl1=\E[M, el=\E[N, 
11635         il1=\E[L, ind=^J, rmir=\E[4l\E[0Q, smir=\E[4h\E[2Q, 
11636 # (addrinfo: removed obsolete ":bc=^Z:" -- esr)
11637 addrinfo, 
11638         am, 
11639         cols#80, lines#24, 
11640         bel=^G, clear=^L, cr=^M, cub1=^Z, cud1=^J, cuf1=^Y, 
11641         cup=\037%p1%{1}%-%c%p2%{1}%-%c, cuu1=^\, ed=^K, home=^H, 
11642         ind=^J, ll=^H^\, 
11643 # (infoton: used to have the no-ops <lh#0>, <lw#0>, <nlab#0> -- esr)
11644 infoton, 
11645         am, 
11646         cols#80, lines#24, 
11647         bel=^G, clear=^L, cr=^M, cub1=^Z, cud1=^J, cuf1=^Y, cuu1=^\, 
11648         ed=^K, ind=^J, ll=^H^\, 
11649
11650 # The ICL6402 was actually the Kokusai Display System 6402.
11651 # The 6404 was the KDS7372 (color version of the 6402).
11652
11653 # ICL6404 control codes follow:
11654 #
11655 #code            function
11656 #~~~~~~~~~~~     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11657 #ctrl-A          set SOM position at cursor position
11658 #ctrl-G          Bell
11659 #ctrl-H          Backspace
11660 #ctrl-I          Horiz tab
11661 #ctrl-J          Linefeed
11662 #ctrl-K          Cursor up
11663 #ctrl-L          Cursor right
11664 #ctrl-M          Carriage return
11665 #ctrl-N          Disable xon/xoff to host
11666 #ctrl-O          Enable xon/xoff to host
11667 #ctrl-R          Enable bidirectional mode
11668 #ctrl-T          Disable bidirectional mode
11669 #ctrl-V          Cursor down
11670 #ctrl-Z          Clear unprotected data to insert char
11671 #ctrl-^          Cursor home
11672 #ctrl-_          Newline
11673 #
11674 #ESC             lead-in char for multiple character command
11675 #
11676 #ESC space R     execute power on sequence
11677 #ESC ! p1 p2     define scroll region:
11678 #                p1 = scroll top    line:  20h - 37h
11679 #                p1 = scroll bottom line:  20h - 37h
11680 #ESC "           unlock keyboard
11681 #ESC #           lock keyboard
11682 #ESC $           Semi-graphics mode on
11683 #ESC %           Semi-graphics mode off
11684 #ESC &           protect mode on
11685 #ESC '           protect mode off
11686 #ESC (           write protect mode off (full intensity)
11687 #ESC )           write protect mode on (half intensity)
11688 #
11689 #ESC *           clear screen
11690 #ESC +           clear unprotected data to insert char
11691 #ESC ,           clear unprotected data to half intensity spaces
11692 #ESC - p1 p2 p3 p4     address cursor to page, row, column:
11693 #                      p1 = page number  0 - 3
11694 #                      p2 = row          20h - 7fh
11695 #                      p3 = column (lo)  20h - 7fh
11696 #                      p4 = column (hi)  20h - 21h (only 132 col)
11697 #ESC . p1        set cursor style:
11698 #                p1 = 0  invisible cursor
11699 #                p1 = 1  block blinking cursor
11700 #                p1 = 2  block steady cursor
11701 #                p1 = 3  underline blinking cursor
11702 #                p1 = 4  underline steady cursor
11703 #ESC /           transmit cursor location (page, row, column)
11704 #ESC 0 p1 p2 p3 p4     program edit key:
11705 #                      p1 = edit key code: '@'-'S', '`'-'s'
11706 #                      p2 p3 p4 = program data (3 bytes)
11707 #
11708 #ESC 1           set tab
11709 #ESC 2           clear tab at cursor
11710 #ESC 3           clear all tabs
11711 #ESC 4           send unprotect line to cursor
11712 #ESC 5           send unprotect page to cursor
11713 #ESC 6           send line to cursor
11714 #ESC 7           send page to cursor
11715 #ESC 8 n         set scroll mode:
11716 #                n = 0   set jump scroll
11717 #                n = 1   set smooth scroll
11718 #ESC 9 n         control display:
11719 #                n = 0   display off
11720 #                n = 1   display on
11721 #ESC :           clear unprotected data to null
11722 #ESC ;           clear unprotected data to insert char
11723 #
11724 #ESC <           keyclick on
11725 #ESC = p1 p2     address cursor to row, column
11726 #                p1 = row          20h - 7fh
11727 #                p2 = column (lo)  20h - 7fh
11728 #                p3 = column (hi)  20h - 21h (only 132 col)
11729 #ESC >           keyclick off
11730 #ESC ?           transmit cursor location (row, column)
11731 #
11732 #ESC @           copy print mode on
11733 #ESC A           copy print mode off
11734 #ESC B           block mode on
11735 #ESC C           block mode off (conversation mode)
11736 #ESC D F         set full duplex
11737 #ESC D H         set half duplex
11738 #ESC E           line insert
11739 #ESC F p1 p2     set page colour (p1 = f/grnd, p2 = b/grnd)
11740 #                0 = black, 1 = red,     2 = green, 3 = yellow
11741 #                4 = blue,  5 = magenta, 6 = cyan,  7 = white
11742 #ESC G n         set serial field attribute (n = 30h - 3Fh)
11743 #ESC H n         full graphics mode:
11744 #                n = 0  exit full graphics mode
11745 #                n = 1  enter full graphics mode
11746 #ESC I           back tab
11747 #ESC J           back page
11748 #ESC K           forward page
11749 #
11750 #ESC L           unformatted page print
11751 #ESC M L         move window left  (132 col mode only)
11752 #ESC M R         move window right (132 col mode only)
11753 #ESC N           set page edit (clear line edit)
11754 #ESC O           set line edit (clear page edit)
11755 #ESC P           formatted page print
11756 #ESC Q           character insert
11757 #ESC R           line delete
11758 #ESC S           send message unprotected only
11759 #ESC T           erase line to insert char
11760 #ESC U           set monitor mode   (see ESC X, ESC u)
11761 #
11762 #ESC V n         select video attribute mode:
11763 #                n = 0   serial field attribute mode
11764 #                n = 1   parallel character attribute mode
11765 #ESC V 2 n       define line attribute:
11766 #                n = 0   single width single height
11767 #                n = 1   single width double height
11768 #                n = 2   double width single height
11769 #                n = 3   double width double height
11770 #ESC V 3 n       select character font:
11771 #                n = 0   system font
11772 #                n = 1   user defined font
11773 #ESC V 4 n       select screen mode:
11774 #                n = 0   page screen mode
11775 #                n = 1   virtual screen mode
11776 #ESC V 5 n       control mouse mode:
11777 #                n = 0   disable mouse
11778 #                n = 1   enable sample mode
11779 #                n = 2   send mouse information
11780 #                n = 3   enable request mode
11781 #ESC W           character delete
11782 #ESC X           clear monitor mode (see ESC U, ESC u)
11783 #ESC Y           erase page to insert char
11784 #
11785 #ESC Z n         send user/status line:
11786 #                n = 0   send user line
11787 #                n = 1   send status line
11788 #                n = 2   send terminal ID
11789 #ESC [ p1 p2 p3  set character attribute (parallel char mode):
11790 #                p1: 0 = normal
11791 #                    1 = blank
11792 #                    2 = blink
11793 #                    3 = blink blank (= blank)
11794 #                    4 = reverse
11795 #                    5 = reverse blank
11796 #                    6 = reverse blink
11797 #                    7 = reverse blink blank (= reverse blank)
11798 #                    8 = underline
11799 #                    9 = underline blank
11800 #                    : = underline blink
11801 #                    ; = underline blink blank
11802 #                    < = reverse underline
11803 #                    = = reverse underline blank
11804 #                    > = reverse underline blink
11805 #                    ? = reverse underline blink blank
11806 #                p2, p3: f/grnd, b/grnd colour
11807 #                (see ESC F for colours)
11808 #                use ZZ for mono, eg.
11809 #                    ESC [ 0 Z Z for normal
11810 #                    ESC [ 4 Z Z for inverse etc.
11811 #
11812 #ESC \ n         set page size:
11813 #                n = 1   24 lines/page
11814 #                n = 2   48 lines/page
11815 #                n = 3   72 lines/page
11816 #                n = 4   96 lines/page
11817 #ESC ] n         set Wordstar mode:
11818 #                n = 0   normal (KDS7372) mode
11819 #                n = 1   Wordstar mode
11820 #
11821 #ESC b           set foreground colour screen
11822 #
11823 #ESC c n         enter self-test mode:
11824 #                n = 0   exit self test mode
11825 #                n = 1   ROM test
11826 #                n = 2   RAM test
11827 #                n = 3   NVRAM test
11828 #                n = 4   screen display test
11829 #                n = 5   main/printer port test
11830 #                n = 6   mouse port test
11831 #                n = 7   graphics board test
11832 #                n = 8   graphics memory test
11833 #                n = 9   display all 'E'
11834 #                n = :   display all 'H'
11835 #ESC d           set background colour screen
11836 #
11837 #ESC e n         program insert char (n = insert char)
11838 #ESC f text CR   load user status line with 'text'
11839 #
11840 #ESC g           display user status line on 25th line
11841 #ESC h           display system status line on 25th line
11842 #ESC i           tab
11843 #ESC j           reverse linefeed
11844 #ESC k n         duplex/local edit mode:
11845 #                n = 0   duplex edit mode
11846 #                n = 1   local edit mode
11847 #ESC l n         select virtual screen:
11848 #                n = 0   screen 1
11849 #                n = 1   screen 2
11850 #ESC m           save current config to NVRAM
11851 #ESC n p1        select display screen:
11852 #                p1 = 0  screen 1
11853 #                p1 = 1  screen 2
11854 #                p1 = 2  screen 3
11855 #                p1 = 3  screen 4
11856 #ESC o p1 p2     set characters/line and attribute:
11857 #                p1 = 0  80 chars/line
11858 #
11859 #ESC o p1 p2     set characters/line and attribute:
11860 #                p1 = 0  80 chars/line
11861 #                p1 = 1  132 chars/line
11862 #                p2 = 0  single width single height
11863 #                p2 = 1  single width double height
11864 #                p2 = 2  double width single height
11865 #                p2 = 3  double width double height
11866 #
11867 #ESC q           insert mode on
11868 #ESC r           edit mode on
11869 #ESC s           send message all
11870 #ESC t           erase line to null
11871 #ESC u           clear monitor mode (see ESC U, ESC X)
11872 #ESC v           autopage mode on
11873 #ESC w           autopage mode off
11874 #ESC x p1 p2 p3  define delimiter code...
11875 #ESC y           erase page to null
11876 #
11877 #ESC z 2 p1 p2 p3 p4   draw quadrangle:
11878 #                      p1 = starting row
11879 #                      p2 = starting column
11880 #                      p3 = end row
11881 #                      p4 = end column
11882 #
11883 #ESC { p1 p2 p3 p4     configure main port
11884 #                      (baud, stop bits, parity, word length)
11885 #
11886 #ESC | p1 p2 text Ctrl-Y    program function key with 'text':
11887 #                        p1 = function key code:
11888 #                             '1' - ';'  normal f1- f11
11889 #                             '<' - 'F'  shifted f1 - f11
11890 #                        p2 = program mode:
11891 #                             1 = FDX
11892 #                             2 = LOC
11893 #                             3 = HDX
11894 #                        Ctrl-Y = terminator
11895 #                        (use Ctrl-P to escape ^P, ^Y )
11896 #
11897 #ESC } p1 p2 p3 p4     configure printer port
11898 #                      (baud, stop bits, parity, word length)
11899 #ESC ~           send system status
11900 #
11901 # Codes and info from Peter Disdale <pete@pdlmail.demon.co.uk> 12 May 1997
11902 #
11903 # Entry is by esr going solely on above information and is UNTESTED.
11904 # This actually looks a lot like a Televideo 9xx.
11905 # This entry uses page 0 and is monochrome; I'm not brave enough to try
11906 # to make color work without a test terminal.  The <am> capability is a guess.
11907 # The initialization string sets conversation mode, blinking underline cursor,
11908 # full duplex, parallel attribute mode, display user status line, white
11909 # foreground, black background, normal highlight.
11910 #
11911 icl6404|kds7372|icl6402|kds6402|ICL 6404 aka Kokusai Display Systems 7372, 
11912         OTbs, am, hs, 
11913         cols#80, lines#24, 
11914         bel=^G, blink=\E[2ZZ, cbt=\EI, civis=\E.0, clear=\E*, 
11915         cnorm=\E.3, cr=^M, 
11916         csr=\E!%+%p1%{32}%+%p2%{32} cud1=\026, cuf1=^L, 
11917         cup=\E=%p1%{32}%+%c%p2%{80}%m%{32}%+%c%p2%{80}%>%{32}%+%c, 
11918         cuu1=^K, cvvis=\E.1, dch=\EW, dl1=\ER, home=^^, ht=^I, hts=\E1, 
11919         il1=\EE, invis=\E[1ZZ, is1=\EC\E.3\EDF\EV1\Eg\E[0ZZ, 
11920         nel=^_, rev=\E[4ZZ, rmir=\Er, 
11921         rmso=\E[%gh%{4}%^%Ph%gh%dZZ, 
11922         rmul=\E[%gh%{8}%^%Ph%gh%dZZ, rs2=\Eo1, 
11923         sgr=\E[%{0}%?%p1%t%{4}%|%;%?%p2%t%{8}%|%;%?%p3%t%{4}%|%;%?%p4%t%{2}%|%;%?%p7%t%{1}%|%;ZZ, 
11924         sgr0=\E[0ZZ, smir=\Eq, smso=\E[8ZZ, smul=\E[8ZZ, tbc=\E3, 
11925 icl6404-w|kds7372-w|ICL 6404 aka Kokusai Display Systems 7372 132 cols, 
11926         rs2=\Eo1, use=icl6404, 
11927
11928 #### Interactive Systems Corp
11929 #
11930 # ISC used to sell OEMed and customized hardware to support ISC UNIX.
11931 # ISC UNIX still exists in 1995, but ISC itself is no more; they got
11932 # bought out by Sun.
11933 #
11934
11935 # From: <cithep!eric>  Wed Sep 16 08:06:44 1981
11936 # (intext: removed obsolete ":ma=^K^P^R^L^L ::bc=^_:", also the
11937 # ":le=^_:" later overridden -- esr)
11938 intext|Interactive Systems Corporation modified owl 1200, 
11939         OTbs, am, 
11940         cols#80, it#8, lines#24, xmc#1, 
11941         bel=^G, cbt=^Y, clear=\014$<132>, cr=^M, cub1=^H, cud1=^J, 
11942         cuf1=^^, cup=\017%p1%{32}%+%c%p2%{32}%+%c, cuu1=^\, 
11943         dch1=\022$<5.5*>, dl1=\021$<5.5*>, ed=\026J$<5.5*>, 
11944         el=^Kp^R, ht=^I, il1=\020$<5.5*>, ind=^J, ip=$<5.5*>, kbs=^H, 
11945         kcub1=^_, kcud1=^J, kcuf1=^^, kcuu1=^\, kf0=^VJ\r, kf1=^VA\r, 
11946         kf2=^VB\r, kf3=^VC\r, kf4=^VD\r, kf5=^VE\r, kf6=^VF\r, 
11947         kf7=^VG\r, kf8=^VH\r, kf9=^VI\r, khome=^Z, rmir=^V<, 
11948         rmkx=^V9, rmso=^V#\s, smir=^V;, smkx=\036\:\264\026%, 
11949         smso=^V$\,, 
11950 intext2|intextii|INTERACTIVE modified owl 1251, 
11951         am, bw, ul, 
11952         cols#80, lines#24, xmc#0, 
11953         bel=^G, cbt=\E[Z, clear=\E[H\E[2J, cr=^M, cud1=\E[B, 
11954         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, 
11955         dl1=\E[M, ed=\E[J, el=\E[K, 
11956         flash=\E[;;;;;;;;;2;;u$<200/>\E[;;;;;;;;;1;;u, 
11957         hpa=\E[%p1%{1}%+%dG, ht=^I, ich1=\E[@, il1=\E[L, ind=\E[S, 
11958         kbs=^H, kcub1=\ED\r, kcud1=\EB\r, kcuf1=\EC\r, kcuu1=\EA\r, 
11959         kf0=\E@\r, kf1=\EP\r, kf2=\EQ\r, kf3=\ES\r, kf4=\ET\r, 
11960         kf5=\EU\r, kf6=\EV\r, kf7=\EW\r, kf8=\EX\r, kf9=\EY\r, 
11961         khome=\ER\r, lf0=REFRSH, lf1=DEL CH, lf2=TABSET, lf3=GOTO, 
11962         lf4=+PAGE, lf5=+SRCH, lf6=-PAGE, lf7=-SRCH, lf8=LEFT, 
11963         lf9=RIGHT, ri=\E[T, rmso=\E[2 D, rmul=\E[2 D, smso=\E[6 D, 
11964         smul=\E[18 D, 
11965
11966 #### Kimtron (abm, kt)
11967 #
11968 # Kimtron seems to be history, but as March 1998 these people are still 
11969 # offering repair services for Kimtron equipment:
11970 #
11971 #    Com/Pair Monitor Service
11972 #    1105 N. Cliff Ave.
11973 #    Sioux Falls, South Dakota 57103
11974 #     
11975 #    WATS voice:  1-800/398-4946
11976 #    POTS   fax: +1 605/338-8709
11977 #    POTS voice: +1 605/338-9650
11978 #         Email: <compair@sd.cybernex.net>
11979 #  Internet/Web: <http://www.com-pair.com>
11980 #
11981 # Kimtron entries include (undocumented) codes for: enter dim mode,
11982 # enter bold mode, enter reverse mode, turn off all attributes.
11983 #
11984
11985 # Kimtron ABM 85 added by Dual Systems
11986 # (abm85: removed duplicated ":kd=^J:" -- esr)
11987 abm85|Kimtron ABM 85, 
11988         OTbs, am, bw, msgr, 
11989         cols#80, it#8, lines#24, xmc#1, 
11990         cbt=\EI, clear=\E*, cub1=^H, cud1=^J, cuf1=^L, 
11991         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
11992         dl1=\ER, ed=\Ey, el=\Et, ht=^I, 
11993         if=/usr/share/tabset/stdcrt, il1=\EE, 
11994         is2=\EC\EX\Eg\En\E%\Er\E(\Ek\Em\Eq, kbs=^H, kcub1=^H, 
11995         kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, rmir=\Er, rmso=\Ek, 
11996         rmul=\Em, smir=\EQ, smso=\Ej, smul=\El, 
11997 # Kimtron ABM 85H added by Dual Systems.
11998 # Some notes about the abm85h entries:
11999 # 1) there are several firmware revs of 85H in the world. Use abm85h-old for
12000 #    firmware revs prior to SP51
12001 # 2) Make sure to use abm85h entry if the terminal is in 85h mode and the
12002 #    abm85e entry if it is in tvi920 emulation mode. They are incompatible
12003 #    in some places and NOT software settable i.e., <is2> can't fix it)
12004 # 3) In 85h mode, the arrow keys and special functions transmit when
12005 #    the terminal is in dup-edit, and work only locally in local-edit.
12006 #    Vi won't swallow `del char' for instance, but <smcup> turns on
12007 #    dup-edit anyway so that the arrow keys will work right. If the
12008 #    arrow keys don't work the way you like, change <smcup>, <rmcup>, and
12009 #    <is2>.  Note that 920E mode does not have software commands to toggle
12010 #    between dup and local edit, so you get whatever was set last on the
12011 #    terminal.
12012 # 4) <flash> attribute is nice, but seems too slow to work correctly
12013 #    (\Eb<pad>\Ed)
12014 # 5) Make sure `hidden' attributes are selected. If `embedded' attributes
12015 #    are selected, the <xmc@> entry should be removed.
12016 # 6) auto new-line should be on (selectable from setup mode only)
12017 #
12018 # From: Erik Fair <fair@ucbarpa>  Sun Oct 27 07:21:05 1985
12019 abm85h|Kimtron ABM 85H native mode, 
12020         hs, 
12021         xmc@, 
12022         bel=^G, cnorm=\E.4, cvvis=\E.2, dim=\E), dsl=\Ee, flash@, 
12023         fsl=^M, invis@, 
12024         is2=\EC\EN\EX\024\016\EA\Ea\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\EG0\Ed\E.4\El, 
12025         kcud1=^V, sgr0=\E(\EG0, smir=\EZ, tsl=\Eg\Ef, use=adm+sgr, 
12026         use=abm85, 
12027 abm85e|Kimtron ABM 85H in 920E mode, 
12028         xmc@, 
12029         bel=^G, dim=\E), flash@, 
12030         is2=\EC\EX\EA\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\Ek\Eq\Em, 
12031         rev=\Ej, sgr0=\E(\Ek, smir=\EZ, use=abm85, 
12032 abm85h-old|oabm85h|o85h|Kimtron ABM 85H with old firmware rev., 
12033         xmc@, 
12034         bel=^G, dim=\E), 
12035         is2=\E}\EC\EX\Ee\En\E%\Er\E(\Ek\Em\Eq\Ed\ET\EC\E9\EF, 
12036         rev=\Ej, sgr0=\E(\Ek, smir=\EZ, use=abm85, 
12037 # From: <malman@bbn-vax.arpa>
12038 # (kt7: removed obsolete :ma=^V^J^L :" -- esr)
12039 kt7|kimtron model kt-7, 
12040         OTbs, am, 
12041         cols#80, it#8, lines#24, 
12042         cbt=\EI, clear=^Z, cub1=^H, cud1=^V, cuf1=^L, 
12043         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
12044         dl1=\ER, ed=\EY, el=\ET, fsl=\Eg, home=^^, ht=^I, ich1=\EQ, 
12045         if=/usr/share/tabset/stdcrt, il1=\EE, invis@, is2=\El\E", 
12046         kbs=^H, kcbt=\EI, kclr=^Z, kcub1=^H, kcud1=^V, kcuf1=^L, 
12047         kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, kel=\ET, kf0=^AI\r, 
12048         kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
12049         kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
12050         kich1=\EQ, kil1=\EE, tsl=\Ef, use=adm+sgr, 
12051 # Renamed TB=^I to :ta:, BE=^G to :bl:, BS=^H to :kb:, N to :kS: (based on the
12052 # other kt7 entry and the adjacent key capabilities).  Removed EE which is
12053 # identical to :mh:.  Removed :ES=\EGD: which is some kind of highlight
12054 # but we can't figure out what.
12055 kt7ix|kimtron model kt-7 or 70 in IX mode, 
12056         am, bw, 
12057         cols#80, it#8, lines#25, 
12058         acsc=jYk?lZm@nEqDt4uCvAwBx3, bel=^G, blink=\EG2, cbt=\EI, 
12059         civis=\E.0, clear=\E*, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V, 
12060         cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
12061         dch1=\EW, dim=\EG@, dl1=\ER, dsl=\Ef\r, ed=\EY, el=\ET, fsl=^M, 
12062         home=^^, ht=^I, ich1=\EQ, il1=\EE, ind=^J, 
12063         is2=\EG0\E s\017\E~, kbs=^H, kcbt=\EI, kclr=\E*, 
12064         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdl1=\ER, 
12065         ked=\EY, kel=\ET, kend=\EY, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, 
12066         kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
12067         kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ, kil1=\EE, knp=\EJ, 
12068         nel=^M^J, pulse=\EK, rmacs=\E%, rmir=, rmso=\EG0, rmul=\EG0, 
12069         sgr0=\EG0, smacs=\E$, smir=, smso=\EG4, smul=\EG8, tsl=\Ef, 
12070
12071 #### Microdata/MDIS
12072 #
12073 # This was a line of terminals made by McDonnell-Douglas Information Systems.
12074 # These entries come direct from MDIS documentation.  I have edited them only
12075 # to move primary names of the form p[0-9] * to aliases, and to comment out
12076 # <rmacs>/<smacs> in a couple of entries without <acsc> strings.  I have 
12077 # also removed the change history; the last version indicates this is
12078 # version 4.3 by A.Barkus, September 1990 (earliest entry is October 1989).
12079 #
12080
12081 # McDonnell Information Systems Terminal Family History
12082 # =========================================
12083 #
12084 # Prism-1, Prism-2 and P99:
12085 #       Ancient Microdata and CMC terminals, vaguely like Adds Regent 25.
12086 #
12087 # Prism-4 and Prism-5:
12088 #       Slightly less ancient range of Microdata terminals. Follow-on from
12089 #       Prism-2, but with many enhancements. P5 has eight display pages.
12090 #
12091 # Prism-6:
12092 #       A special terminal for use with library systems, primarily in Germany.
12093 #       Limited numbers. Similar functionality to P5 (except attributes?).
12094 #
12095 # Prism-7, Prism-8 and Prism-9:
12096 #       More recent range of MDIS terminals, in which P7 and P8
12097 #       replace the P4 & P5, with added functionality, and P9 is the flagship.
12098 #       The P9 has two emulation modes - P8 and ANSI - and includes a
12099 #       large number of the DEC VT220 control sequences. Both
12100 #       P8 and P9 support 80c/24ln/8pg and 132cl/24li/4pg formats.
12101 #
12102 # Prism-12 and Prism-14:
12103 #       Latest range, functionally very similar to the P9.  The P14 has a
12104 #       black-on-white overscanning screen.
12105 #
12106 # The terminfo definitions given here are:
12107 #
12108 # p2      - Prism-2 (or Prism-1 or P99).
12109 #
12110 # p4      - Prism-4 (and older P7s & P8s).
12111 # p5      - Prism-5 (or Prism-6).
12112 #
12113 # p7      - Prism-7.
12114 # p8      - Prism-8 (in national or multinational mode).
12115 # p8-w    - 132 column version of p8.
12116 # p9      - Prism-9 in ANSI mode.
12117 # p9-w    - 132 column version of p9.
12118 # p9-8    - Prism-9 in Prism-8 emulation mode.
12119 # p9-8-w  - As p9-8, but with 132 columns.
12120 #
12121 # p12     - Prism-12 in ANSI mode.
12122 # p12-w   - 132 column version of p12.
12123 # p12-m   - Prism-12 in MDC emulation mode.
12124 # p12-m-w - As p12-m, but with 132 columns.
12125 # p14     - Prism-14 in ANSI mode.
12126 # p14-w   - 132 column version of p14.
12127 # p14-m   - Prism-14 in MDC emulation mode.
12128 # p14-m-w - As p14-m, but with 132 columns.
12129 #
12130 # p2: Prism-2
12131 # -----------
12132 #
12133 # Includes Prism-1 and basic P99 without SP or MP loaded.
12134 # The simplest form of Prism-type terminal.
12135 # Basic cursor movement and clearing operations only.
12136 # No video attributes.
12137 # Notes:
12138 #  Horizontal cursor qualifiers of NUL, XON and XOFF are mapped to the next
12139 #  value up, followed by backspace.
12140 #
12141 prism2|MDC Prism-2, 
12142         am, bw, msgr, 
12143         cols#80, lines#24, 
12144         bel=^G, clear=\014$<20>, cr=^M, cub1=^H, cud1=^J, cuf1=^F, 
12145         cup=\013%p1%{32}%+%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c, 
12146         cuu1=^Z, ed=\EJ, el=\EK, home=^A, 
12147         hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c, 
12148         ind=^J, kbs=^H, khome=^A, vpa=\013%p1%{32}%+%c, 
12149
12150 # p4: Prism-4
12151 # -----------
12152 #
12153 # Includes early versions of P7 & P8.
12154 # Basic family definition for most Prisms (except P2 and P9 ANSI).
12155 # Notes:
12156 #  Horizontal cursor qualifiers of NUL, XON and XOFF are mapped to the next
12157 #  value up, followed by backspace.
12158 #  Cursor key definitions removed because they interfere with vi and csh keys.
12159 #
12160 prism4|p4|P4|MDC Prism-4, 
12161         am, bw, hs, mc5i, msgr, 
12162         cols#80, lines#24, wsl#72, xmc#1, 
12163         bel=^G, blink=^CB, civis=^]\344, clear=\014$<20>, 
12164         cnorm=^]\342, cr=^M, cub1=^H, cud1=^J, cuf1=^F, 
12165         cup=\013%p1%{32}%+%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c, 
12166         cuu1=^Z, dim=^CA, dsl=\035\343\035\345, ed=\EJ, el=\EK, 
12167         fsl=^]\345, home=^A, 
12168         hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c, 
12169         ind=^J, invis=^CH, kbs=^H, khome=^A, mc0=\EU, mc4=\ET, mc5=\ER, 
12170         rev=^CD, rmso=^C\s, rmul=^C\s, 
12171         sgr=\003%{64}%?%p1%p3%|%t%{4}%+%;%?%p2%t%{16}%+%;%?%p4%t%{2}%+%;%?%p5%t%{1}%+%;%?%p7%t%{8}%+%;%c%?%p9%t\016%e\017%;, 
12172         sgr0=^C\s, smso=^CD, smul=^CP, tsl=^]\343, 
12173         vpa=\013%p1%{32}%+%c, 
12174
12175 # p5: Prism-5
12176 # -----------
12177 #
12178 # Same definition as p4. Includes Prism-6 (not tested!).
12179 # Does not use any multi-page features.
12180 #
12181 prism5|p5|P5|MDC Prism-5, 
12182         use=p4, 
12183
12184 # p7: Prism-7
12185 # -----------
12186 #
12187 # Similar definition to p4. Uses ANSI cursor motion to avoid network problems.
12188 # Notes:
12189 #  Use p4 for very early models of P7.
12190 #  Rev-index removed; can't send nulls to terminal in 8-bit modes.
12191 #
12192 prism7|p7|P7|MDC Prism-7, 
12193         cup=\E[%i%p1%d;%p2%dH, hpa@, vpa@, use=p4, 
12194
12195 # p8: Prism-8
12196 # -----------
12197 #
12198 # Similar definition to p7. Uses ANSI cursor motion to avoid network problems.
12199 # Supports national and multinational character sets.
12200 # Notes:
12201 #  Alternate char set operations only work in multinational mode.
12202 #  Use p4 for very early models of P8.
12203 #  Rev-index removed; can't send nulls to terminal in 8-bit modes.
12204 # (esr: commented out <smacs>/<rmacs> because there's no <acsc>)
12205 #
12206 prism8|p8|P8|MDC Prism-8, 
12207         cup=\E[%i%p1%d;%p2%dH, hpa=\E[%i%p1%d`, is2=\E[<12h, 
12208         vpa=\E[%i%p1%dd, use=p4, 
12209
12210 # p8-w: Prism-8 in 132 column mode
12211 # --------------------------------
12212 #
12213 # 'Wide' version of p8.
12214 # Notes:
12215 #  Rev-index removed; can't send nulls to terminal in 8-bit modes.
12216 #
12217 prism8-w|p8-w|P8-W|MDC Prism-8 in 132 column mode, 
12218         cols#132, 
12219         is2=\E[<12h\E[<14h, use=p8, 
12220
12221 # p9: Prism-9 in ANSI mode
12222 # -------------------------
12223 #
12224 # The "flagship" model of this generation of terminals.
12225 # ANSI X3.64 (ISO 6429) standard sequences, plus many DEC VT220 ones.
12226 # Notes:
12227 #  Tabs only reset by "reset". Otherwise assumes default (8 cols).
12228 #  Fixes to deal with terminal firmware bugs:
12229 #  . 'ri' uses insert-line since rev index doesn't always
12230 #  . 'sgr0' has extra '0' since esc[m fails
12231 #  . 'fsl' & 'dsl' use illegal char since cr is actioned wrong on line 25
12232 #  Not covered in the current definition:
12233 #  . Labels
12234 #  . Programming Fn keys
12235 #  . Graphic characters (defaults correctly to vt100)
12236 #  . Padding values (sets xon)
12237 # (esr: commented out <smacs>/<rmacs> because there's no <acsc>)
12238 #
12239 prism9|p9|P9|MDC Prism-9 in ANSII mode, 
12240         am, bw, hs, mc5i, msgr, xenl, xon, 
12241         cols#80, it#8, lines#24, vt#3, wsl#72, 
12242         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[<4l, 
12243         clear=^L, cnorm=\E[<4h, cr=^M, csr=\E[%i%p1%d;%p2%d%%v, 
12244         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
12245         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
12246         cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
12247         dl=\E[%p1%dM, dl1=\E[M, dsl=\E[%}\024, ech=\E[%p1%dX, 
12248         ed=\E[J$<10>, el=\E[K, fsl=^T, home=\E[H, hpa=\E[%i%p1%d`, 
12249         ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=^J, 
12250         is2=\E[&p\E[<12l\E F, kbs=^H, kclr=^L, kcub1=\E[D, 
12251         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\E[11~, 
12252         kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, 
12253         kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, 
12254         kf18=\E[32~, kf2=\E[12~, kf3=\E[13~, kf4=\E[14~, 
12255         kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
12256         khome=\E[H, mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=^M^J, 
12257         prot=\E[32%{, rc=\E[%z, rep=\E[%p2%db%p1%c, rev=\E[7m, 
12258         ri=\E[L, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m, 
12259         rs2=\E[&p\E[<12l\E F\E[3g\E[9;17;25;33;41;49;57;65;73 N, 
12260         sc=\E[%y, 
12261         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%;, 
12262         sgr0=\E[0m, smir=\E[4h, smso=\E[7m, smul=\E[4m, tbc=\E[2g, 
12263         tsl=\E[%i%p1%d%%}, vpa=\E[%i%p1%dd, 
12264
12265 # p9-w: Prism-9 in 132 column mode
12266 # --------------------------------
12267 #
12268 # 'Wide' version of p9.
12269 #
12270 prism9-w|p9-w|P9-W|MDC Prism-9 in 132 column mode, 
12271         cols#132, 
12272         is2=\E[&p\E[<12l\E F\E[<14h, 
12273         rs2=\E[&p\E[<12l\E F\E[<14h, use=p9, 
12274
12275 # p9-8: Prism-9 in P8 mode
12276 # ------------------------
12277 #
12278 # P9 terminal in P8 emulation mode.
12279 # Similar to p8 definition.
12280 # Insertion and deletion operations possible.
12281 #
12282 prism9-8|p9-8|P9-8|MDC Prism-9 in P8 mode, 
12283         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
12284         ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, use=p8, 
12285
12286 # p9-8-w: Prism-9 in P8 and 132 column modes
12287 # ------------------------------------------
12288 #
12289 # P9 terminal in P8 emulation mode and 132 column mode.
12290 #
12291 prism9-8-w|p9-8-w|P9-8-W|MDC Prism-9 in Prism 8 emulation and 132 column mode, 
12292         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
12293         ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, use=p8-w, 
12294
12295 # p12: Prism-12 in ANSI mode
12296 # ---------------------------
12297 #
12298 # See p9 definition.
12299 #
12300 prism12|p12|P12|MDC Prism-12 in ANSI mode, 
12301         use=p9, 
12302
12303 # p12-w: Prism-12 in 132 column mode
12304 # ----------------------------------
12305 #
12306 # 'Wide' version of p12.
12307 #
12308 prism12-w|p12-w|P12-W|MDC Prism-12 in 132 column mode, 
12309         use=p9-w, 
12310
12311 # p12-m: Prism-12 in MDC emulation mode
12312 # -------------------------------------
12313 #
12314 # P12 terminal in MDC emulation mode.
12315 # Similar to p8 definition.
12316 # Insertion and deletion operations possible.
12317 #
12318 prism12-m|p12-m|P12-M|MDC Prism-12 in MDC emulation mode, 
12319         use=p9-8, 
12320
12321 # p12-m-w: Prism-12 in MDC emulation and 132 column modes
12322 # -------------------------------------------------------
12323 #
12324 # P12 terminal in MDC emulation mode and 132 column mode.
12325 #
12326 prism12-m-w|p12-m-w|P12-M-W|MDC Prism-12 in MDC emulation and 132 column mode, 
12327         use=p9-8-w, 
12328
12329 # p14: Prism-14 in ANSII mode
12330 # ---------------------------
12331 #
12332 # See p9 definition.
12333 #
12334 prism14|p14|P14|MDC Prism-14 in ANSII mode, 
12335         use=p9, 
12336
12337 # p14-w: Prism-14 in 132 column mode
12338 # ----------------------------------
12339 #
12340 # 'Wide' version of p14.
12341 #
12342 prism14-w|p14-w|P14-W|MDC Prism-14 in 132 column mode, 
12343         use=p9-w, 
12344
12345 # p14-m: Prism-14 in MDC emulation mode
12346 # -------------------------------------
12347 #
12348 # P14 terminal in MDC emulation mode.
12349 # Similar to p8 definition.
12350 # Insertion and deletion operations possible.
12351 #
12352 prism14-m|p14-m|P14-M|MDC Prism-14 in MDC emulation mode, 
12353         use=p9-8, 
12354
12355 # p14-m-w: Prism-14 in MDC emulation and 132 column modes
12356 # -------------------------------------------------------
12357 #
12358 # P14 terminal in MDC emulation mode and 132 column mode.
12359 #
12360 prism14-m-w|p14-m-w|P14-M-W|MDC Prism-14 in MDC emulation and 132 column mode, 
12361         use=p9-8-w, 
12362
12363 # End of McDonnell Information Systems Prism definitions
12364
12365 # These things were popular in the Pick database community at one time
12366 # From: George Land <georgeland@aol.com> 24 Sep 1996
12367 p8gl|prism8gl|McDonnell-Douglas Prism-8 alternate definition, 
12368         am, bw, hs, mir, 
12369         cols#80, lines#24, ma#1, wsl#78, xmc#1, 
12370         bel=^G, blink=^CB, clear=^L, cr=^M, cub1=^U, cud1=^J, cuf1=^F, 
12371         cup=\E[%i%p1%d;%p2%dH, cuu1=^Z, dch1=\s^H, dim=^CA, dl1=^P, 
12372         ed=\EJ, el=\EK, home=^A, ind=^J, invis=^CH, kbs=^H, kcub1=^U, 
12373         kcud1=^J, kcuf1=^F, kcuu1=^Z, kdch1=\s^H, kdl1=^P, ked=\EJ, 
12374         kel=\EK, kf1=^A@\r, kf10=^AI\r, kf12=^AJ\r, kf13=^AK\r, 
12375         kf14=^AL\r, kf15=^AM\r, kf16=^AN\r, kf17=^AO\r, kf2=^AA\r, 
12376         kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
12377         kf8=^AG\r, kf9=^AH\r, khome=^A, lf1=F1, lf10=F10, lf2=F2, 
12378         lf3=F3, lf4=F4, lf5=F5, lf6=F6, lf7=F7, lf8=F8, lf9=F9, nel=^J^M, 
12379         pad=\0, rev=^CD, rmso=^C\s, rmul=^C\s, sgr0=^C\s, smso=^CE, 
12380         smul=^C0, 
12381
12382 #### Microterm (act, mime)
12383 #
12384 # The mime1 entries refer to the Microterm Mime I or Mime II.
12385 # The default mime is assumed to be in enhanced act iv mode.
12386 #
12387
12388 # New "safe" cursor movement (5/87) from <reuss@umd5.umd.edu>.  Prevents
12389 # freakout with out-of-range args on Sytek multiplexors.  No <smso=^N> and
12390 # <rmso=^N> since  it gets confused and it's too dim anyway.  No <ich1>
12391 # since Sytek insists ^S means xoff.
12392 # (act4: found ":ic=2^S:ei=:im=:ip=.1*^V:" commented out in 8.3 -- esr)
12393 act4|microterm|microterm act iv, 
12394         OTbs, am, 
12395         cols#80, lines#24, 
12396         bel=^G, clear=\014$<12/>, cr=^M, cub1=^H, cud1=^K, cuf1=^X, 
12397         cup=\024%p1%{24}%+%c%p2%p2%?%{47}%>%t%{48}%+%;%{80}%+%c, 
12398         cuu1=^Z, dch1=\004$<.1*/>, dl1=\027$<2.3*/>, 
12399         ed=\037$<2.2*/>, el=\036$<.1*/>, home=^], 
12400         il1=\001<2.3*/>, ind=^J, kcub1=^H, kcud1=^K, kcuf1=^X, 
12401         kcuu1=^Z, 
12402 # The padding on :sr: and :ta: for act5 and mime is a guess and not final.
12403 # The act 5 has hardware tabs, but they are in columns 8, 16, 24, 32, 41 (!)...
12404 # (microterm5: removed obsolete ":ma==^Z^P^Xl^Kj:" -- esr)
12405 act5|microterm5|microterm act v, 
12406         kcub1=^H, kcud1=^K, kcuf1=^X, kcuu1=^Z, ri=\EH$<3>, uc=^H\EA, 
12407         use=act4, 
12408 # Mimes using brightness for standout.  Half bright is really dim unless
12409 # you turn up the brightness so far that lines show up on the screen.
12410 mime-fb|full bright mime1, 
12411         is2=^S\E, rmso=^S, smso=^Y, use=mime, 
12412 mime-hb|half bright mime1, 
12413         is2=^Y\E, rmso=^Y, smso=^S, use=mime, 
12414 # (mime: removed obsolete ":ma=^X ^K^J^Z^P:"; removed ":do=^K:" that overrode
12415 # the more plausible ":do=^J:" -- esr)
12416 # uc was at one time disabled to get around a curses bug, be wary of it
12417 mime|mime1|mime2|mimei|mimeii|microterm mime1, 
12418         OTbs, am, 
12419         cols#80, it#8, lines#24, vt#9, 
12420         bel=^G, clear=^]^C, cr=^M, cub1=^H, cud1=^J, cuf1=^X, 
12421         cup=\024%p1%{24}%+%c%p2%p2%?%{32}%>%t%{48}%+%;%{80}%+%c, 
12422         cuu1=^Z, dl1=\027$<80>, ed=^_, el=^^, home=^], ht=\011$<2>, 
12423         il1=\001$<80>, ind=^J, is2=^S\E^Q, kcub1=^H, kcud1=^K, 
12424         kcuf1=^X, kcuu1=^Z, ri=\022$<3>, uc=^U, 
12425 # These termcaps (for mime2a) put the terminal in low intensity mode
12426 # since high intensity mode is so obnoxious.
12427 mime2a-s|microterm mime2a (emulating an enhanced soroc iq120), 
12428         OTbs, am, 
12429         cols#80, lines#24, 
12430         bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
12431         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EI, dch1=\ED, 
12432         dl1=\027$<20*>, ed=\EJ$<20*>, el=\EK, home=^^, 
12433         il1=\001$<20*>, ind=^J, ip=$<2>, is2=\E), kcub1=^H, kcud1=^J, 
12434         kcuf1=^L, kcuu1=^K, ri=\EI, rmir=^Z, rmso=\E;, rmul=\E7, 
12435         smir=\EE, smso=\E\:, smul=\E6, 
12436 # This is the preferred mode (but ^X can't be used as a kill character)
12437 mime2a|mime2a-v|microterm mime2a (emulating an enhanced vt52), 
12438         OTbs, 
12439         cols#80, it#8, lines#24, 
12440         bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
12441         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=^N, 
12442         dl1=\027$<20*>, ed=\EQ$<20*>, el=\EP, home=\EH, ht=^I, 
12443         il1=\001$<20*>, ind=^J, ip=$<2>, is2=^Y, kcub1=\ED, 
12444         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, ri=\EA, rmir=^Z, rmso=\E9, 
12445         rmul=\E5, smir=^O, smso=\E8, smul=\E4, 
12446 # (mime3a: removed obsolete ":ma=^X ^K^J^Z^P:" -- esr)
12447 mime3a|mime1 emulating 3a, 
12448         am@, 
12449         kcub1=^H, kcud1=^K, kcuf1=^X, kcuu1=^Z, use=adm3a, 
12450 mime3ax|mime-3ax|mime1 emulating enhanced 3a, 
12451         it#8, 
12452         dl1=\027$<80>, ed=^_, el=^X, ht=\011$<3>, il1=\001$<80>, 
12453         use=mime3a, 
12454 # Wed Mar  9 18:53:21 1983
12455 # We run our terminals at 2400 baud, so there might be some timing problems at
12456 # higher speeds. The major improvements in this model are the terminal now 
12457 # scrolls down and insert mode works without redrawing the rest of the line
12458 # to the right of the cursor. This is done with a bit of a kludge using the
12459 # exit graphics mode to get out of insert, but it does not appear to hurt
12460 # anything when using vi at least. If you have some users using act4s with
12461 # programs that use curses and graphics mode this could be a problem.
12462 mime314|mm314|mime 314, 
12463         am, 
12464         cols#80, lines#24, 
12465         clear=^L, cub1=^H, cuf1=^X, cup=\024%p1%c%p2%c, cuu1=^Z, 
12466         dch1=^D, dl1=^W, ed=^_, el=^^, home=^], ht=^I, il1=^A, kcub1=^H, 
12467         kcud1=^K, kcuf1=^X, kcuu1=^Z, rmir=^V, smir=^S, 
12468 # Microterm mime 340 from University of Wisconsin
12469 mm340|mime340|mime 340, 
12470         cols#80, lines#24, 
12471         clear=\032$<12/>, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
12472         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
12473         dch1=\E#$<2.1*/>, dl1=\EV$<49.6/>, ed=\037$<2*/>, 
12474         el=\EL$<2.1/>, ht=^I, il1=\EU$<46/>, ind=^J, is2=\E\,, 
12475         kbs=^H, kcub1=^H, kcud1=^J, kcuu1=^K, nel=^M^J, 
12476 # This came from University of Wisconsin marked "astro termcap for jooss".
12477 # (mt4520-rv: removed obsolete ":kn#4:" and incorrect ":ri=\E[C:";
12478 # also added <rmam>/<smam> based  on the init string -- esr)
12479 mt4520-rv|micro-term 4520 reverse video, 
12480         am, hs, msgr, xenl, xon, 
12481         cols#80, it#8, lines#24, wsl#80, 
12482         bel=^G, clear=\E[H\E[J, cnorm=\E[0V\E8, cr=^M, 
12483         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D, 
12484         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
12485         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
12486         cvvis=\E7\E[0U, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
12487         dl1=\E[M, ed=\E[J, el=\E[K, flash=\E[?5l$<200/>\E[?5h, 
12488         fsl=\E[?5l\E[?5h, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, 
12489         ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
12490         is2=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[1;24r\E[24;1H\E[H\E[J, 
12491         kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
12492         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, 
12493         ll=\E[24;1H, nel=\EE, rc=\E8, rf=/usr/share/tabset/vt100, 
12494         ri=\EM, rmam=\E[?7l, rmso=\E[0m, rmul=\E[24m, 
12495         rs1=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[H\E[J, 
12496         sc=\E7, sgr0=\E[m, smam=\E[?7h, smso=\E[7m, smul=\E[4m, 
12497         tbc=\E[g, tsl=\E[25;1H, 
12498
12499 # Fri Aug  5 08:11:57 1983
12500 # This entry works for the ergo 4000 with the following setups:
12501 # ansi,wraparound,newline disabled, xon/xoff disabled in both
12502 # setup a & c.
12503 #       
12504 # WARNING!!! There are multiple versions of ERGO 4000 microcode
12505 # Be advised that very early versions DO NOT WORK RIGHT !!  
12506 # Microterm does have a ROM exchange program- use it or lose big
12507 # (ergo400: added <rmam>/<smam> based on the init string -- esr)
12508 ergo4000|microterm ergo 4000, 
12509         da, db, msgr, 
12510         cols#80, lines#66, 
12511         bel=^G, clear=\E[H\E[2J$<80>, cr=^M, cub1=^H, cud1=\E[B, 
12512         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
12513         dch1=\E[1P$<80>, dl1=\E[1M$<5*>, ed=\E[0J$<15>, 
12514         el=\E[0K$<13>, ht=^I, il=\E[1L$<5*>, ind=\ED$<20*>, 
12515         is2=\E<\E=\E[?1l\E[?4l\E[?5l\E[?7h\E[?8h$<300>, 
12516         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, 
12517         kf2=\EOQ, kf3=\EOR, kf4=\EOS, lf1=pf1, lf2=pf2, lf3=pf3, 
12518         lf4=pf4, ri=\EM$<20*>, rmam=\E[?7l, rmir=\E[4l, 
12519         rmkx=\E=$<4>, rmso=\E[m$<20>, sgr0=\E[m$<20>, 
12520         smam=\E[?7m, smir=\E[4h$<6>, smkx=\E=$<4>, 
12521         smso=\E[7m$<20>, 
12522
12523 #### NCR 
12524 #
12525 # NCR's terminal group was merged with AT&T's when AT&T bought the company.
12526 # For what happened to that group, see the ADDS section.
12527 #
12528 # There is an NCR4103 terminal that's just a re-badged Wyse-50.
12529 #
12530
12531 # The following vendor-supplied termcaps were captured from the Boundless
12532 # Technologies site, 8 March 1998.  I removed all-upper-case names that were
12533 # identical, except for case, to lower-case ones.  I also uncommented the acsc
12534 # capabilities.X
12535 #
12536 # The Intecolor emulation of the NCR 2900/260C color terminal is basically a
12537 # DEC vt200/300 with color capabilities added.
12538 ncr260intan|NCR Intecolor emulation of the 2900_260C with an ANSI keyboard, 
12539         colors#8, pairs#64, 
12540         op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
12541         use=ncr260vt300an, 
12542 # The Intecolor emulation of the NCR 2900/260C color terminal is basically a
12543 # DEC vt200/300 with color capabilities added.
12544 ncr260intwan|NCR Intecolor emulation of the 2900_260C with an ANSI keyboard, 
12545         colors#8, pairs#64, 
12546         op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
12547         use=ncr260vt300wan, 
12548 # The Intecolor emulation of the NCR 2900/260C color terminal is basically a
12549 # DEC vt200/300 with color capabilities added.
12550 ncr260intpp|NCR Intecolor emulation of the 2900_260C with a PC+ keyboard, 
12551         colors#8, pairs#64, 
12552         op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
12553         use=ncr260vt300pp, 
12554 # The Intecolor emulation of the NCR 2900/260C color terminal is basicly a
12555 # DEC vt200/300 with color capabilities added.
12556 ncr260intwpp|NCR Intecolor emulation of the 2900_260C with a PC+ keyboard in 132 column mode, 
12557         colors#8, pairs#64, 
12558         op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
12559         use=ncr260vt300wpp, 
12560 # This definition for ViewPoint supports several attributes.  This means
12561 # that it has magic cookies (extra spaces where the attributes begin).
12562 # Some applications do not function well with magic cookies.  The System
12563 # Administrator's Shell in NCR Unix SVR4 1.03 is one such application. 
12564 # If supporting various attributes is not vital, 'xmc#1' and the extra
12565 # attributes can be removed. 
12566 # Mapping to ASCII character set ('acsc' capability) can also be 
12567 # restored if needed.
12568 ncr260vppp|NCR 2900_260 viewpoint, 
12569         am, bw, hs, km, mc5i, mir, msgr, xon, 
12570         cols#80, lines#24, nlab#32, xmc#1, 
12571         acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2, 
12572         cbt=\EI, civis=\E`0, clear=\014$<40>, cnorm=\E`5, 
12573         cr=\r$<2>, cub1=\010$<2>, cud1=\n$<2>, cuf1=\006$<2>, 
12574         cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<5>, cuu1=\032$<2>, 
12575         cvvis=\E`5, dch1=\EW$<2>, dim=\EGp, dl1=\El$<2>, dsl=\E`c, 
12576         ed=\Ek$<2>, el=\EK$<2>, fsl=^M, home=\036$<2>, ht=^I, 
12577         hts=\E1, il1=\EM$<2>, ind=\n$<2>, invis=\EG1, 
12578         is2=\Ee6\E~%$<100>\E+\E`\:\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>, 
12579         kDC=\El, kEND=\Ek, kHOM=^A, kPRT=\E7, kRIT=^F, ka1=^A, ka3=\EJ, 
12580         kbs=^H, kc1=\ET, kc3=\EJ, kcub1=^U, kcud1=^J, kcuf1=^F, 
12581         kcuu1=^Z, kdch1=\EW, kend=\EK, kf1=^B1\r, kf10=^B\:\r, 
12582         kf11=^B;\r, kf12=^B<\r, kf13=^B=\r, kf14=^B>\r, kf15=^B?\r, 
12583         kf16=^B@\r, kf17=^B!\r, kf18=^B"\r, kf19=^B#\r, kf2=^B2\r, 
12584         kf20=^B$\r, kf21=\002%^M, kf22=^B&\r, kf23=^B'\r, 
12585         kf24=^B(\r, kf25=^B)\r, kf26=^B*\r, kf27=^B+\r, 
12586         kf28=^B\,\r, kf29=^B-\r, kf3=^B3\r, kf30=^B.\r, kf31=^B/\r, 
12587         kf32=^B0\r, kf4=^B4\r, kf5=^B5\r, kf6=^B6\r, kf7=^B7\r, 
12588         kf8=^B8\r, kf9=^B9\r, khome=^A, kich1=\Eq, knp=\EJ, kpp=\EJ, 
12589         kprt=\EP, ll=\001$<5>, mc0=\EP$<100>, mc4=^T, mc5=^R, 
12590         mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<5>, 
12591         nel=\037$<2>, rev=\EG4, ri=\Ej$<2>, rmacs=\EcB0\EH\003, 
12592         rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20, 
12593         rs2=\Ee6\E~%$<100>\E+\E`\:\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>, 
12594         sgr0=\EG0\EH\003, smacs=\EcB1\EH\002, smir=\Eq, 
12595         smso=\EG4, smul=\EG8, smxon=\Ec21, tsl=\EF, 
12596 ncr260vpwpp|NCR 2900_260 viewpoint wide mode, 
12597         cols#132, 
12598         cup=\Ea%i%p1%dR%p2%dC$<30>, 
12599         is2=\Ee6\E~%$<100>\E+\E`;\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>, 
12600         rs2=\Ee6\E~%$<100>\E+\E`;\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>, 
12601         use=ncr260vppp, 
12602 ncr260vt100an|NCR 2900_260 vt100 with ansi kybd, 
12603         am, hs, mir, msgr, xenl, xon, 
12604         cols#80, lines#24, nlab#32, 
12605         acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G, 
12606         blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
12607         clear=\E[2J\E[1;1H$<20>, cnorm=\E[?25h, cr=\r$<1>, 
12608         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD$<5>, 
12609         cub1=\E[D$<5>, cud=\E[%p1%dB$<5>, cud1=\E[B$<5>, 
12610         cuf=\E[%p1%dC$<5>, cuf1=\E[C$<5>, 
12611         cup=\E[%i%p1%d;%p2%dH$<10>, cuu=\E[%p1%dA$<5>, 
12612         cuu1=\E[A$<5>, dch=\E[%p1%dP$<5>, dch1=\E[1P$<5>, 
12613         dl=\E[%p1%dM$<5>, dl1=\E[M$<5>, dsl=\E[0$~\E[1$~, 
12614         ech=\E[%p1%dX, ed=\E[0J$<5>, el=\E[0K$<3>, el1=\E[1K$<3>, 
12615         fsl=\E[0$}, home=\E[H$<1>, hpa=\E[%p1%dG$<40>, ht=^I, 
12616         hts=\EH, ich=\E[%p1%d@$<5>, il=\E[%p1%dL$<5>, 
12617         il1=\E[L$<5>, ind=\ED$<5>, indn=\E[%p1%dE$<5>, 
12618         invis=\E[8m, 
12619         is2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
12620         ka1=\EOw, ka3=\EOu, kb2=\EOy, kbs=^H, kc1=\EOq, kc3=\EOs, 
12621         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
12622         kdch1=\E[3~, kent=\EOM, kf1=\EOP, kf2=\EOQ, kf3=\EOR, 
12623         kf4=\EOS, kfnd=\E[1~, khlp=\E[28~, kich1=\E[2~, knp=\E[6~, 
12624         kpp=\E[5~, krdo=\E[29~, kslt=\E[4~, nel=\EE$<5>, rc=\E8, 
12625         rev=\E[7m, ri=\EM$<5>, rmacs=^O, rmir=\E[4l, 
12626         rmkx=\E[?1l\E>, rmso=\E[0m, rmul=\E[0m, 
12627         rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
12628         sc=\E7, 
12629         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<20>, 
12630         sgr0=\E[0m\017$<20>, smacs=^N, smir=\E[4h, 
12631         smkx=\E[?1h\E=, smso=\E[1;7m, smul=\E[4m, tbc=\E[3g, 
12632         tsl=\E[2$~\E[1$}, vpa=\E[%p1%dd$<40>, 
12633 ncr260vt100wan|NCR 2900_260 vt100 wide mode ansi kybd, 
12634         cols#132, 
12635         cup=\E[%i%p1%d;%p2%dH$<30>, 
12636         is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
12637         rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
12638         use=ncr260vt100an, 
12639 ncr260vt100pp|NCR 2900_260 vt100 with PC+ kybd, 
12640         is2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
12641         ka1=\E[H, ka3=\EOu, kb2=\E[V, kc3=\E[U, kcub1=\E[D, 
12642         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[4~, 
12643         kend=\E[5~, khome=\E[2~, kich1=\E[1~, knp=\E[6~, kpp=\E[3~, 
12644         lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, rmkx=\E>, 
12645         rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
12646         smkx=\E=, use=ncr260vt100an, 
12647 ncr260vt100wpp|NCR 2900_260 vt100 wide mode pc+  kybd, 
12648         cols#132, 
12649         cup=\E[%i%p1%d;%p2%dH$<30>, 
12650         is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
12651         rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
12652         use=ncr260vt100pp, 
12653 ncr260vt200an|NCR 2900_260 vt200 with ansi kybd, 
12654         am, hs, mir, msgr, xenl, xon, 
12655         cols#80, lines#24, nlab#32, 
12656         acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G, 
12657         blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
12658         clear=\E[2J\E[1;1H$<20>, cnorm=\E[?25h, cr=\r$<1>, 
12659         csr=\E[%i%p1%d;%p2%dr$<5>, cub=\E[%p1%dD$<5>, 
12660         cub1=\E[D$<5>, cud=\E[%p1%dB$<5>, cud1=\E[B$<5>, 
12661         cuf=\E[%p1%dC$<5>, cuf1=\E[C$<5>, 
12662         cup=\E[%i%p1%d;%p2%dH$<10>, cuu=\E[%p1%dA$<5>, 
12663         cuu1=\E[A$<5>, dch=\E[%p1%dP$<5>, dch1=\E[1P$<5>, 
12664         dl=\E[%p1%dM$<5>, dl1=\E[M$<5>, dsl=\E[0$~\E[1$~, 
12665         ech=\E[%p1%dX$<5>, ed=\E[0J, el=\E[0K$<5>, el1=\E[1K$<5>, 
12666         fsl=\E[0$}, home=\E[H, hpa=\E[%p1%dG$<40>, ht=^I, hts=\EH, 
12667         ich=\E[%p1%d@$<5>, il=\E[%p1%dL$<5>, il1=\E[L$<5>, 
12668         ind=\ED$<5>, indn=\E[%p1%dE$<5>, invis=\E[8m, 
12669         is2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
12670         ka1=\EOw, ka3=\EOu, kb2=\EOy, kbs=^H, kc1=\EOq, kc3=\EOs, 
12671         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
12672         kdch1=\E[3~, kent=\EOM, kf0=\EOy, kf1=\EOP, kf10=\E[21~, 
12673         kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
12674         kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
12675         kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf21=\E[31~, 
12676         kf22=\E[32~, kf23=\E[33~, kf24=\E[34~, kf25=\E[35~, 
12677         kf26=\E[1~, kf27=\E[2~, kf28=\E[3~, kf29=\E[4~, kf3=\EOR, 
12678         kf30=\E[5~, kf31=\E[6~, kf32=\E[7~, kf33=\E[8~, kf34=\E[9~, 
12679         kf35=\E[10~, kf4=\EOS, kf5=\E[M, kf6=\E[17~, kf7=\E[18~, 
12680         kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~, 
12681         kich1=\E[2~, knp=\E[6~, kpp=\E[5~, krdo=\E[29~, kslt=\E[4~, 
12682         mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=\EE, rc=\E8, rev=\E[7m, 
12683         ri=\EM$<5>, rmacs=\017$<20>, rmam=\E[?7l, rmir=\E[4l, 
12684         rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, 
12685         rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
12686         sc=\E7, 
12687         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<20>, 
12688         sgr0=\E[0m\017$<20>, smacs=\016$<20>, smam=\E[?7h, 
12689         smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
12690         tbc=\E[3g, tsl=\E[2$~\E[1$}, vpa=\E[%p1%dd$<40>, 
12691 ncr260vt200wan|NCR 2900_260 vt200 wide mode ansi kybd, 
12692         cols#132, 
12693         cup=\E[%i%p1%d;%p2%dH$<30>, 
12694         is2=\E[!p\E[?3;7;19;67h\E[?4l\E(B\E)0\017\E[2J\E[1;1H$<200>, 
12695         rs2=\E[!p\E[?3;7;19;67h\E[?4l\E(B\E)0\017\E[2J\E[1;1H$<200>, 
12696         use=ncr260vt200an, 
12697 ncr260vt200pp|NCR 2900_260 vt200 with pc+ kybd, 
12698         ka1=\E[H, ka3=\EOu, kb2=\E[V, kc3=\E[U, kcub1=\E[D, 
12699         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[4~, 
12700         kend=\E[1~, khome=\E[H, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
12701         lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, rmkx=\E>, smkx=\E=, 
12702         use=ncr260vt200an, 
12703 ncr260vt200wpp|NCR 2900_260 vt200 wide mode pc+  kybd, 
12704         cols#132, 
12705         cup=\E[%i%p1%d;%p2%dH$<30>, 
12706         is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
12707         rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
12708         use=ncr260vt200pp, 
12709 ncr260vt300an|NCR 2900_260 vt300 with ansi kybd, 
12710         am, hs, mir, msgr, xenl, xon, 
12711         cols#80, lines#24, nlab#32, 
12712         acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G, 
12713         blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
12714         clear=\E[2J\E[1;1H$<20>, cnorm=\E[?25h, cr=\r$<1>, 
12715         csr=\E[%i%p1%d;%p2%dr$<5>, cub=\E[%p1%dD$<5>, 
12716         cub1=\E[D$<5>, cud=\E[%p1%dB$<5>, cud1=\E[B$<5>, 
12717         cuf=\E[%p1%dC$<5>, cuf1=\E[C$<5>, 
12718         cup=\E[%i%p1%d;%p2%dH$<10>, cuu=\E[%p1%dA$<5>, 
12719         cuu1=\E[A$<5>, dch=\E[%p1%dP$<5>, dch1=\E[1P$<5>, 
12720         dl=\E[%p1%dM$<5>, dl1=\E[M$<5>, dsl=\E[0$~\E[1$~, 
12721         ech=\E[%p1%dX$<5>, ed=\E[0J, el=\E[0K$<5>, el1=\E[1K$<5>, 
12722         fsl=\E[0$}, home=\E[H, hpa=\E[%p1%dG$<40>, ht=^I, hts=\EH, 
12723         ich=\E[%p1%d@$<5>, il=\E[%p1%dL$<5>, il1=\E[L$<5>, 
12724         ind=\ED$<5>, indn=\E[%p1%dE$<5>, invis=\E[8m, 
12725         is2=\E[!p\E[?7;19;67h\E[?1;3;4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
12726         ka1=\EOw, ka3=\EOu, kb2=\EOy, kbs=^H, kc1=\EOq, kc3=\EOs, 
12727         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
12728         kdch1=\E[3~, kent=\EOM, kf0=\EOy, kf1=\EOP, kf10=\E[21~, 
12729         kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
12730         kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
12731         kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf21=\E[31~, 
12732         kf22=\E[32~, kf23=\E[33~, kf24=\E[34~, kf25=\E[35~, 
12733         kf26=\E[1~, kf27=\E[2~, kf28=\E[3~, kf29=\E[4~, kf3=\EOR, 
12734         kf30=\E[5~, kf31=\E[6~, kf32=\E[7~, kf33=\E[8~, kf34=\E[9~, 
12735         kf35=\E[10~, kf4=\EOS, kf5=\E[M, kf6=\E[17~, kf7=\E[18~, 
12736         kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~, 
12737         kich1=\E[2~, knp=\E[6~, kpp=\E[5~, krdo=\E[29~, kslt=\E[4~, 
12738         mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=\EE, rc=\E8, rev=\E[7m, 
12739         ri=\EM$<5>, rmacs=\017$<20>, rmam=\E[?7l, rmir=\E[4l, 
12740         rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, 
12741         rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
12742         sc=\E7, 
12743         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<20>, 
12744         sgr0=\E[0m\017$<20>, smacs=\016$<20>, smam=\E[?7h, 
12745         smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
12746         tbc=\E[3g, tsl=\E[2$~\E[1$}, vpa=\E[%p1%dd$<40>, 
12747 ncr260vt300wan|NCR 2900_260 vt300 wide mode ansi kybd, 
12748         cols#132, 
12749         cup=\E[%i%p1%d;%p2%dH$<30>, 
12750         is2=\E[!p\E[?3;7;19;67h\E[?4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H$<200>, 
12751         rs2=\E[!p\E[?3;7;19;67h\E[?4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H$<200>, 
12752         use=ncr260vt300an, 
12753 ncr260vt300pp|NCR 2900_260 vt300 with pc+ kybd, 
12754         ka1=\E[H, ka3=\EOu, kb2=\E[V, kc3=\E[U, kcub1=\E[D, 
12755         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[4~, 
12756         kend=\E[1~, khome=\E[H, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
12757         lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, rmkx=\E>, smkx=\E=, 
12758         use=ncr260vt300an, 
12759 NCR260VT300WPP|ncr260vt300wpp|NCR 2900_260 vt300 wide mode pc+  kybd, 
12760         cols#132, 
12761         cup=\E[%i%p1%d;%p2%dH$<30>, 
12762         is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
12763         rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
12764         use=ncr260vt300pp, 
12765 # This terminfo file contains color capabilities for the Wyse325 emulation of 
12766 # the NCR 2900/260C color terminal.  Because of the structure of the command
12767 # (escape sequence) used to set color attributes, one of the fore/background
12768 # colors must be preset to a given value. I have set the background color to
12769 # black.  The user can change this setup by altering the last section of the
12770 # 'setf' definition.  The escape sequence to set color attributes is 
12771 #               ESC d y <foreground_color> <background_color> 1  
12772 # In addition, the background color can be changed through the desk accessories.
12773 # The capablitiy 'op' sets colors to green on black (default combination).  
12774 #
12775 # NOTE:  The NCR Unix System Administrator's Shell will not function properly
12776 #           if the 'pairs' capability is defined. Un-Comment the 'pairs'
12777 #           capability and recompile if you wish to have it included. 
12778 #
12779 ncr260wy325pp|NCR 2900_260 wyse 325, 
12780         am, bw, hs, km, mc5i, mir, msgr, xon, 
12781         colors#16, cols#80, lines#24, ncv#33, nlab#32, 
12782         acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2, 
12783         cbt=\EI, civis=\E`0, clear=\E*$<10>, cnorm=\E`1, cr=^M, 
12784         cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>, 
12785         cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<10>, cuu1=\013$<5>, 
12786         cvvis=\E`5, dch1=\EW$<50>, dl1=\ER$<5>, dsl=\E`c, 
12787         ed=\Ey$<5>, el=\Et$<5>, fsl=^M, home=\036$<5>, ht=^I, 
12788         hts=\E1, il1=\EE$<5>, ind=\n$<5>, invis=\EG1, 
12789         is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
12790         kDC=\ER, kEND=\EY, kHOM=\E{, kNXT=\EK, kPRT=\E7, kPRV=\EJ, 
12791         kRIT=^L, ka1=^^, kb2=\EJ, kbs=^H, kc1=\ET, kc3=\EK, kcbt=\EI, 
12792         kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kend=\ET, 
12793         kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, 
12794         kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, kf17=^A`\r, kf18=^Aa\r, 
12795         kf19=^Ab\r, kf2=^AA\r, kf20=^Ac\r, kf21=^Ad\r, kf22=^Ae\r, 
12796         kf23=^Af\r, kf24=^Ag\r, kf25=^Ah\r, kf26=^Ai\r, kf27=^Aj\r, 
12797         kf28=^Ak\r, kf29=^Al\r, kf3=^AB\r, kf30=^Am\r, kf31=^An\r, 
12798         kf32=^Ao\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
12799         kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\Eq, knp=\EK, kpp=\EJ, 
12800         kprt=\EP, mc0=\EP, mc4=^T, mc5=^R, 
12801         mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<10>, 
12802         nel=\037$<5>, rev=\EG4, ri=\Ej$<5>, rmacs=\EH\003\EcB0, 
12803         rmam=\Ed., rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20, 
12804         rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
12805         setb=\s, 
12806         setf=%?%p1%{0}%=%t%{49}%e%p1%{1}%=%t%{50}%e%p1%{2}%=%t%{51}%e%p1%{3}%=%t%{52}%e%p1%{4}%=%t%{53}%e%p1%{5}%=%t%{54}%e%p1%{6}%=%t%{55}%e%p1%{7}%=%t%{64}%e%p1%{8}%=%t%{57}%e%p1%{9}%=%t%{58}%e%p1%{10}%=%t%{59}%e%p1%{11}%=%t%{60}%e%p1%{12}%=%t%{61}%e%p1%{13}%=%t%{62}%e%p1%{14}%=%t%{63}%e%p1%{15}%=%t%{56}%;\Edy%c11$<100>, 
12807         sgr0=\EG0\EcB0\EcD$<15>, smacs=\EH\002\EcB1, smam=\Ed/, 
12808         smir=\Eq, smso=\EGt, smul=\EG8, smxon=\Ec21, tbc=\E0, 
12809         tsl=\EF, 
12810 ncr260wy325wpp|NCR 2900_260 wyse 325 wide mode, 
12811         cols#132, 
12812         cup=\Ea%i%p1%dR%p2%dC$<30>, 
12813         is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
12814         rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
12815         use=ncr260wy325pp, 
12816 # This definition for Wyse 350 supports several attributes.  This means
12817 # that it has magic cookies (extra spaces where the attributes begin).
12818 # Some applications do not function well with magic cookies.  The System
12819 # Administrator's Shell in NCR Unix SVR4 1.03 is one such application. 
12820 # If supporting various attributes is not vital, 'xmc#1' and the extra
12821 # attributes can be removed. 
12822 # Mapping to ASCII character set ('acsc' capability) can also be 
12823 # restored if needed.
12824 # In addition, color capabilities have been added to this file.  The drawback,
12825 # however, is that the background color has to be black.  The foreground colors
12826 # are numbered 0 through 15.  
12827 #
12828 # NOTE:  The NCR Unix System Administrator's Shell does not function properly
12829 #           with the 'pairs' capability defined as below.  If you wish to
12830 #           have it included, Un-comment it and recompile (using 'tic'). 
12831 #
12832 ncr260wy350pp|NCR 2900_260 wyse 350, 
12833         am, bw, hs, km, mc5i, mir, msgr, xon, 
12834         colors#16, cols#80, lines#24, ncv#33, nlab#32, xmc#1, 
12835         acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2, 
12836         cbt=\EI, civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M, 
12837         cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>, 
12838         cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<40>, cuu1=\013$<5>, 
12839         cvvis=\E`5, dch1=\EW$<50>, dim=\EGp, dl1=\ER$<5>, dsl=\E`c, 
12840         ed=\Ey$<5>, el=\Et$<5>, fsl=^M, home=\036$<10>, ht=^I, 
12841         hts=\E1, il1=\EE$<5>, ind=\n$<5>, invis=\EG1, 
12842         is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
12843         kDC=\ER, kEND=\EY, kHOM=\E{, kPRT=\E7, kRIT=^L, ka1=^^, kbs=^H, 
12844         kc1=\ET, kc3=\EK, kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L, 
12845         kcuu1=^K, kdch1=\EW, kend=\ET, kf1=^A@\r, kf10=^AI\r, 
12846         kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, 
12847         kf16=^AO\r, kf17=^A`\r, kf18=^Aa\r, kf19=^Ab\r, kf2=^AA\r, 
12848         kf20=^Ac\r, kf21=^Ad\r, kf22=^Ae\r, kf23=^Af\r, kf24=^Ag\r, 
12849         kf25=^Ah\r, kf26=^Ai\r, kf27=^Aj\r, kf28=^Ak\r, kf29=^Al\r, 
12850         kf3=^AB\r, kf30=^Am\r, kf31=^An\r, kf32=^Ao\r, kf4=^AC\r, 
12851         kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, 
12852         khome=^^, kich1=\Eq, knp=\EK, kpp=\EJ, kprt=\EP, 
12853         mc0=\EP$<10>, mc4=^T, mc5=^R, 
12854         mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<20>, 
12855         nel=\037$<5>, rev=\EG4, ri=\Ej$<5>, rmacs=\EH\003\EcB0, 
12856         rmam=\Ed., rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20, 
12857         rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
12858         setb=\s, 
12859         setf=%?%p1%{0}%=%t%{49}%e%p1%{1}%=%t%{50}%e%p1%{2}%=%t%{51}%e%p1%{3}%=%t%{52}%e%p1%{4}%=%t%{53}%e%p1%{5}%=%t%{54}%e%p1%{6}%=%t%{55}%e%p1%{7}%=%t%{102}%e%p1%{8}%=%t%{97}%e%p1%{9}%=%t%{98}%e%p1%{10}%=%t%{99}%e%p1%{11}%=%t%{101}%e%p1%{12}%=%t%{106}%e%p1%{13}%=%t%{110}%e%p1%{14}%=%t%{111}%e%p1%{15}%=%t%{56}%;\Em0%c$<100>, 
12860         sgr0=\EG0\EH\003\EcD, smacs=\EH\002\EcB1, smam=\Ed/, 
12861         smir=\Eq, smso=\EGt, smul=\EG8, smxon=\Ec21, tbc=\E0, 
12862         tsl=\EF, 
12863 ncr260wy350wpp|NCR 2900_260 wyse 350 wide mode, 
12864         cols#132, 
12865         cup=\Ea%i%p1%dR%p2%dC$<30>, 
12866         is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>, 
12867         rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>, 
12868         use=ncr260wy350pp, 
12869 # This definition for Wyse 50+ supports several attributes.  This means
12870 # that it has magic cookies (extra spaces where the attributes begin).
12871 # Some applications do not function well with magic cookies.  The System
12872 # Administrator's Shell in NCR Unix SVR4 1.03 is one such application. 
12873 # If supporting various attributes is not vital, 'xmc#1' and the extra
12874 # attributes can be removed. 
12875 # Mapping to ASCII character set ('acsc' capability) can also be 
12876 # restored if needed.
12877 # (ncr260wy50+pp: originally contained commented-out 
12878 # <acsc=j5k3l2m1n8q:t4u9v=w0x6>, as well as the commented-out one there -- esr)
12879 ncr260wy50+pp|NCR 2900_260 wyse 50+, 
12880         am, bw, hs, km, mc5i, mir, msgr, xon, 
12881         cols#80, lines#24, nlab#32, xmc#1, 
12882         acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, blink=\EG2, 
12883         cbt=\EI$<5>, civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M, 
12884         cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>, 
12885         cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<30>, cuu1=\013$<5>, 
12886         cvvis=\E`5, dch1=\EW$<50>, dim=\EGp, dl1=\ER$<5>, dsl=\E`c, 
12887         ed=\EY$<5>, el=\ET$<5>, fsl=^M, home=\036$<10>, 
12888         ht=\011$<5>, hts=\E1$<5>, il1=\EE$<5>, ind=\n$<5>, 
12889         invis=\EG1, 
12890         is2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
12891         kDC=\ER, kEND=\EY, kHOM=\E{, kPRT=\E7, kRIT=^L, ka1=^^, kbs=^H, 
12892         kc1=\ET, kc3=\EK, kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L, 
12893         kcuu1=^K, kdch1=\EW, kend=\ET, kf1=^A@\r, kf10=^AI\r, 
12894         kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, 
12895         kf16=^AO\r, kf17=^A`\r, kf18=^Aa\r, kf19=^Ab\r, kf2=^AA\r, 
12896         kf20=^Ac\r, kf21=^Ad\r, kf22=^Ae\r, kf23=^Af\r, kf24=^Ag\r, 
12897         kf25=^Ah\r, kf26=^Ai\r, kf27=^Aj\r, kf28=^Ak\r, kf29=^Al\r, 
12898         kf3=^AB\r, kf30=^Am\r, kf31=^An\r, kf32=^Ao\r, kf4=^AC\r, 
12899         kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, 
12900         khome=^^, kich1=\Eq, knp=\EK, kpp=\EJ, kprt=\EP, 
12901         mc0=\EP$<10>, mc4=^T, mc5=^R, 
12902         mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<10>, 
12903         nel=\037$<5>, rev=\EG4, ri=\Ej$<5>, rmacs=\EH^C, rmam=\Ed., 
12904         rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20, 
12905         rs2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
12906         sgr0=\EG0\EH\003$<15>, smacs=\EH^B, smam=\Ed/, smir=\Eq, 
12907         smso=\EGt, smul=\EG8, smxon=\Ec21, tbc=\E0$<5>, tsl=\EF, 
12908 ncr260wy50+wpp|NCR 2900_260 wyse 50+ wide mode, 
12909         cols#132, 
12910         cup=\Ea%i%p1%dR%p2%dC$<30>, 
12911         is2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>, 
12912         rs2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>, 
12913         use=ncr260wy50+pp, 
12914 ncr260wy60pp|NCR 2900_260 wyse 60, 
12915         am, bw, hs, km, mc5i, mir, msgr, xon, 
12916         cols#80, lines#24, nlab#32, 
12917         acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2, 
12918         cbt=\EI$<15>, civis=\E`0, clear=\E*$<100>, cnorm=\E`1, 
12919         cr=^M, cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>, 
12920         cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<10>, cuu1=\013$<5>, 
12921         cvvis=\E`5, dch1=\EW$<50>, dl1=\ER$<5>, dsl=\E`c, 
12922         ed=\Ey$<5>, el=\Et$<5>, fsl=^M, home=\036$<25>, 
12923         ht=\011$<15>, hts=\E1$<15>, il1=\EE$<5>, ind=\n$<5>, 
12924         invis=\EG1, 
12925         is2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
12926         kDC=\ER, kEND=\EY, kHOM=\E{, kNXT=\EK, kPRT=\E7, kPRV=\EJ, 
12927         kRIT=^L, ka1=^^, kb2=\EJ, kbs=^H, kc1=\ET, kc3=\EK, 
12928         kcbt=\EI$<15>, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
12929         kdch1=\EW, kend=\ET, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, 
12930         kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, 
12931         kf17=^A`\r, kf18=^Aa\r, kf19=^Ab\r, kf2=^AA\r, kf20=^Ac\r, 
12932         kf21=^Ad\r, kf22=^Ae\r, kf23=^Af\r, kf24=^Ag\r, kf25=^Ah\r, 
12933         kf26=^Ai\r, kf27=^Aj\r, kf28=^Ak\r, kf29=^Al\r, kf3=^AB\r, 
12934         kf30=^Am\r, kf31=^An\r, kf32=^Ao\r, kf4=^AC\r, kf5=^AD\r, 
12935         kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
12936         kich1=\Eq, knp=\EK, kpp=\EJ, kprt=\EP, mc0=\EP, mc4=^T, mc5=^R, 
12937         mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<30>, 
12938         nel=\037$<5>, rev=\EG4, ri=\Ej$<5>, rmacs=\EH^C, rmam=\Ed., 
12939         rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20, 
12940         rs2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
12941         sgr0=\EG0\EcB0\EcD$<15>, smacs=\EH^B, smam=\Ed/, 
12942         smir=\Eq, smso=\EGt, smul=\EG8, smxon=\Ec21, tbc=\E0$<15>, 
12943         tsl=\EF, 
12944 ncr260wy60wpp|NCR 2900_260 wyse 60 wide mode, 
12945         cols#132, 
12946         cup=\Ea%i%p1%dR%p2%dC$<30>, 
12947         is2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
12948         rs2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
12949         use=ncr260wy60pp, 
12950 ncr160vppp|NCR 2900_160 viewpoint, 
12951         use=ncr260vppp, 
12952 ncr160vpwpp|NCR 2900_160 viewpoint wide mode, 
12953         use=ncr260vpwpp, 
12954 ncr160vt100an|NCR 2900_160 vt100 with ansi kybd, 
12955         use=ncr260vt100an, 
12956 ncr160vt100pp|NCR 2900_160 vt100 with PC+ kybd, 
12957         use=ncr260vt100pp, 
12958 ncr160vt100wan|NCR 2900_160 vt100 wide mode ansi kybd, 
12959         use=ncr260vt100wan, 
12960 ncr160vt100wpp|NCR 2900_160 vt100 wide mode pc+  kybd, 
12961         use=ncr260vt100wpp, 
12962 ncr160vt200an|NCR 2900_160 vt200 with ansi kybd, 
12963         use=ncr260vt200an, 
12964 ncr160vt200pp|NCR 2900_160 vt200 with pc+ kybd, 
12965         use=ncr260vt200pp, 
12966 ncr160vt200wan|NCR 2900_160 vt200 wide mode ansi kybd, 
12967         use=ncr260vt200wan, 
12968 ncr160vt200wpp|NCR 2900_160 vt200 wide mode pc+  kybd, 
12969         use=ncr260vt200wpp, 
12970 ncr160vt300an|NCR 2900_160 vt300 with ansi kybd, 
12971         use=ncr260vt300an, 
12972 ncr160vt300pp|NCR 2900_160 vt300 with pc+ kybd, 
12973         use=ncr260vt300pp, 
12974 ncr160vt300wan|NCR 2900_160 vt300 wide mode ansi kybd, 
12975         use=ncr260vt300wan, 
12976 ncr160vt300wpp|NCR 2900_160 vt300 wide mode pc+  kybd, 
12977         use=ncr260vt300wpp, 
12978 ncr160wy50+pp|NCR 2900_160 wyse 50+, 
12979         use=ncr260wy50+pp, 
12980 ncr160wy50+wpp|NCR 2900_160 wyse 50+ wide mode, 
12981         use=ncr260wy50+wpp, 
12982 ncr160wy60pp|NCR 2900_160 wyse 60, 
12983         use=ncr260wy60pp, 
12984 ncr160wy60wpp|NCR 2900_160 wyse 60 wide mode, 
12985         use=ncr260wy60wpp, 
12986 ncrvt100an|ncrvt100pp|NCR vt100 for the 2900 terminal, 
12987         am, hs, mc5i, mir, msgr, xon, 
12988         cols#80, it#8, lines#24, nlab#32, 
12989         acsc=``aaffgghhiijjkkllmmnnqqttuuvvwwxxyyzz~~, 
12990         bel=^G, blink=\E[5m$<30>, bold=\E[1m$<30>, 
12991         clear=\E[2J\E[1;1H$<300>, cr=^M, 
12992         csr=\E[%i%p1%d;%p2%dr$<100>, cub=\E[%p1%dD$<30>, 
12993         cub1=\E[D$<2>, cud=\E[%p1%dB$<30>, cud1=\E[B$<2>, 
12994         cuf=\E[%p1%dC$<30>, cuf1=\E[C$<2>, 
12995         cup=\E[%i%p1%d;%p2%dH$<100>, cuu=\E[%p1%dA$<30>, 
12996         cuu1=\E[A$<2>, dch=\E[%p1%dP$<40>, dch1=\E[1P$<10>, 
12997         dl=\E[%p1%dM$<70>, dl1=\E[M$<40>, dsl=\E[31l$<25>, 
12998         ed=\E[0J$<300>, el=\E[0K$<30>, el1=\E[1K$<30>, 
12999         enacs=\E(B\E)0$<40>, fsl=1$<10>, home=\E[H$<2>$<80>, 
13000         ht=^I, hts=\EH, il=\E[%p1%dL$<80>, il1=\E[B\E[L$<80>, 
13001         ind=\ED, 
13002         is2=\E[12h\E[?10l\E%/0n\E[P\031\E[?3l\E(B\E)0$<200>, 
13003         kLFT=\E[D, kRIT=\E[C, ka1=\E[H, kbs=^H, kcub1=\E[D, 
13004         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kent=^M, kf1=\EOP, 
13005         kf2=\EOQ, kf3=\EOR, kf4=\EOS, mc0=\E[i$<100>, nel=\EE, 
13006         rc=\E8, rev=\E[7m$<30>, ri=\EM$<50>, rmacs=\017$<90>, 
13007         rmir=\E[4l$<80>, rmso=\E[0m$<30>, rmul=\E[0m$<30>, 
13008         rs2=\Ec\E[12;31h\E[?3;4;5;10l\E[?6;7;19;25h\E[33;34l\E[0m\E(B\E)0\E%/0n\E[P\031$<200>, 
13009         sc=\E7, 
13010         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<100>, 
13011         sgr0=\017\E[0m$<120>, smacs=\016$<90>, smir=\E[4h$<80>, 
13012         smso=\E[7m$<30>, smul=\E[4m$<30>, tbc=\E[3g$<40>, 
13013         tsl=\E[>+1$<70>, 
13014 ncrvt100wan|NCRVT100WPP|ncrvt100wpp|NCR VT100 emulation of the 2900 terminal, 
13015         cols#132, 
13016         is2=\E[12h\E[?10l\E%/0n\E[P\031\E[?3h\E(B\E)0$<200>, 
13017         rs2=\Ec\E[12;31h\E[?4;5;10l\E?3;6;7;19;25h\E[33;34l\E[0m\E(B\E)0\E%/0n\E[P\031$<200>, 
13018         use=ncrvt100an, 
13019 #
13020 # Vendor-supplied NCR termcaps end here
13021
13022 # NCR7900 DIP switches:
13023 #
13024 # Switch A:
13025 # 1-4 - Baud Rate
13026 # 5   - Parity (Odd/Even)
13027 # 6   - Don't Send or Do Send Spaces
13028 # 7   - Parity Enable
13029 # 8   - Stop Bits (One/Two)
13030
13031 # Switch B:
13032 # 1   - Upper/Lower Shift
13033 # 2   - Typewriter Shift
13034 # 3   - Half Duplex / Full Duplex
13035 # 4   - Light/Dark Background
13036 # 5-6 - Carriage Return Without / With Line Feed
13037 # 7   - Extended Mode
13038 # 8   - Suppress Keyboard Display
13039
13040 # Switch C:
13041 # 1   - End of line entry disabled/enabled
13042 # 2   - Conversational mode / (Local?) Mode
13043 # 3   - Control characters displayed / not displayed
13044 # 4   - (2-wire?) / 4-wire communications
13045 # 5   - RTS on and off for each character
13046 # 6   - (50Hz?) / 60 Hz
13047 # 7   - Exit after level zero diagnostics
13048 # 8   - RS-232 interface
13049
13050 # Switch D:
13051 # 1   - Reverse Channel (yes / no)
13052 # 2   - Manual answer (no / yes)
13053 # 3-4 - Cursor appearance
13054 # 5   - Communication Rate
13055 # 6   - Enable / Disable EXT turnoff
13056 # 7   - Enable / Disable CR turnoff
13057 # 8   - Enable / Disable backspace
13058 #
13059 # Since each attribute parameter is 0 or 1, we shift each attribute (standout,
13060 # reverse, blink, dim, and underline) the appropriate number of bits (by
13061 # multiplying the 0 or 1 by a correct factor to shift) so the bias character,
13062 # '@' is (effectively) "or"ed with each attribute to generate the proper third
13063 # character in the <ESC>0 sequence.  The <sgr> string implements the following
13064 # equation:
13065 #
13066 # ((((('@' + P5) | (P4 << 1)) | (P3 << 3)) | (P2 << 4)) | (p1 * 17))    =>
13067 # ((((('@' + P5) + (P4 << 1)) + (P3 << 3)) + (P2 << 4)) + (p1 * 17))
13068 #
13069 #       Where:  P1 <==> Standout attribute parameter
13070 #               P2 <==> Underline attribute parameter
13071 #               P3 <==> Reverse attribute parameter
13072 #               P4 <==> Blink attribute parameter
13073 #               P5 <==> Dim attribute parameter
13074 # From <root@goliath.un.atlantaga.NCR.COM>, init string hacked by SCO.
13075 ncr7900i|ncr7900|ncr 7900 model 1, 
13076         am, bw, ul, 
13077         cols#80, lines#24, xmc#1, 
13078         bel=^G, blink=\E0B, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F, 
13079         cup=\E1%p2%c%p1%c, cuu1=^Z, dim=\E0A, ed=\Ek, el=\EK, ind=^J, 
13080         is2=\E0@\010\E3\E4\E7, kcub1=^U, kcud1=^J, kcuf1=^F, 
13081         kcuu1=^Z, khome=^A, ll=^A, mc4=^T, mc5=^R, rev=\E0P, rmso=\E0@, 
13082         rmul=\E0@, 
13083         sgr=\E0%p5%{64}%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c, 
13084         sgr0=\E0@, smso=\E0Q, smul=\E0`, 
13085 ncr7900iv|ncr 7900 model 4, 
13086         am, bw, eslok, hs, 
13087         cols#80, lines#24, 
13088         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, 
13089         cup=\013%p1%{64}%+%c\E\005%p2%02d, dl1=\E^O, dsl=\Ey1, 
13090         fsl=\Ek\Ey5, home=\013@\E^E00, il1=\E^N, ind=^J, kbs=^H, 
13091         kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf1=\ES, kf2=\ET, 
13092         kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, 
13093         khome=\EH, lf6=blue, lf7=red, lf8=white, nel=^M^J, 
13094         tsl=\Ej\Ex5\Ex1\EY8%p1%{32}%+%c\Eo, 
13095 # Warning: This terminal will lock out the keyboard when it receives a CTRL-D.
13096 #          The user can enter a CTRL-B to get out of this locked state.
13097 # In <hpa>, we want to output the character given by the formula:
13098 #               ((col / 10) * 16) + (col % 10)          where "col" is "p1"
13099 ncr7901|ncr 7901 model, 
13100         am, bw, ul, 
13101         cols#80, lines#24, 
13102         bel=^G, blink=\E0B, civis=^W, clear=^L, cnorm=^X, cr=^M, 
13103         cub1=^H, cud1=^J, cuf1=^F, 
13104         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dim=\E0A, 
13105         ed=\Ek, el=\EK, 
13106         hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%c, ind=^J, 
13107         is2=\E4^O, kclr=^L, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z, 
13108         khome=^H, ll=^A, mc4=^T, mc5=^R, rev=\E0P, rmso=^O, rmul=^O, 
13109         sgr=\E0%p5%{64}%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c\016, 
13110         sgr0=^O, smso=\E0Q\016, smul=\E0`\016, 
13111         vpa=\013%p1%{64}%+%c, 
13112
13113 #### Perkin-Elmer (Owl)
13114 #
13115 # These are official terminfo entries from within Perkin-Elmer.
13116 #
13117
13118 bantam|pe550|pe6100|perkin elmer 550, 
13119         OTbs, 
13120         cols#80, lines#24, 
13121         bel=^G, clear=\EK$<20>, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
13122         cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA, 
13123         el=\EI$<20>, home=\EH, ind=^J, ll=\EH\EA, 
13124 fox|pe1100|perkin elmer 1100, 
13125         OTbs, am, 
13126         cols#80, lines#24, 
13127         bel=^G, clear=\EH\EJ$<132>, cr=^M, cub1=^H, cud1=^J, 
13128         cuf1=\EC, cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA, 
13129         ed=\EJ$<5.5*>, el=\EI, flash=\020\002$<200/>\020\003, 
13130         home=\EH, hts=\E1, ind=^J, ll=\EH\EA, tbc=\E3, 
13131 owl|pe1200|perkin elmer 1200, 
13132         OTbs, am, in, 
13133         cols#80, lines#24, 
13134         bel=^G, clear=\EH\EJ$<132>, cr=^M, cub1=^H, cud1=^J, 
13135         cuf1=\EC, cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA, 
13136         dch1=\EO$<5.5*>, dl1=\EM$<5.5*>, ed=\EJ$<5.5*>, 
13137         el=\EI$<5.5>, flash=\020\002$<200/>\020\003, home=\EH, 
13138         hts=\E1, ich1=\EN, il1=\EL$<5.5*>, ind=^J, ip=$<5.5*>, 
13139         kbs=^H, kf0=\ERJ, kf1=\ERA, kf2=\ERB, kf3=\ERC, kf4=\ERD, 
13140         kf5=\ERE, kf6=\ERF, kf7=\ERG, kf8=\ERH, kf9=\ERI, ll=\EH\EA, 
13141         rmso=\E!\0, sgr0=\E!\0, smso=\E!^H, tbc=\E3, 
13142 pe1251|pe6300|pe6312|perkin elmer 1251, 
13143         am, 
13144         cols#80, it#8, lines#24, pb#300, vt#8, xmc#1, 
13145         bel=^G, clear=\EK$<332>, cr=^M, cub1=\ED, cud1=\EB, cuf1=\EC, 
13146         cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA, 
13147         ed=\EJ$<20*>, el=\EI$<10*>, home=\EH, hts=\E1, ind=^J, 
13148         kf0=\ERA, kf1=\ERB, kf10=\ERK, kf2=\ERC, kf3=\ERD, kf4=\ERE, 
13149         kf5=\ERF, kf6=\ERG, kf7=\ERH, kf8=\ERI, kf9=\ERJ, tbc=\E3, 
13150 # (pe7000m: this had
13151 #       rmul=\E!\0, smul=\E!\040, 
13152 # which is probably wrong, it collides with kf0
13153 pe7000m|perkin elmer 7000 series monochrome monitor, 
13154         am, 
13155         cols#80, lines#24, 
13156         bel=^G, cbt=\E!Y, clear=\EK, cr=^M, cub1=\ED, cud1=\EB, 
13157         cuf1=\EC, cup=\ES%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
13158         ed=\EJ, el=\EI, home=\EH, ind=^J, 
13159         is1=\E!\0\EW  7o\Egf\ES7\s, kbs=^H, kcub1=\E!V, 
13160         kcud1=\E!U, kcuf1=\E!W, kcuu1=\E!T, kf0=\E!\0, kf1=\E!^A, 
13161         kf10=\E!^J, kf2=\E!^B, kf3=\E!^C, kf4=\E!^D, kf5=\E!^E, 
13162         kf6=\E!^F, kf7=\E!^G, kf8=\E!^H, kf9=\E!^I, khome=\E!S, 
13163         ll=\ES7\s, ri=\ER, 
13164 pe7000c|perkin elmer 7000 series colour monitor, 
13165         is1=\E!\0\EW  7o\Egf\Eb0\Ec7\ES7\s, rmso=\Eb0, 
13166         rmul=\E!\0, smso=\Eb2, smul=\E!\s, use=pe7000m, 
13167
13168 #### Sperry Univac
13169 #
13170 # Sperry Univac has merged with Burroughs to form Unisys.
13171 #
13172
13173 # This entry is for the Sperry UTS30 terminal running the TTY 
13174 # utility under control of CP/M Plus 1R1. The functionality 
13175 # provided is comparable to the DEC vt100.
13176 # (uts30: I added <rmam>/<smam> based on the init string -- esr)
13177 uts30|sperry uts30 with cp/m@1R1, 
13178         am, bw, hs, 
13179         cols#80, lines#24, wsl#40, 
13180         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
13181         bel=^G, blink=\E[5m, bold=\E[1m, civis=\ER, clear=^L, 
13182         cnorm=\ES, cr=^M, csr=\EU%p1%{32}%+%c%p2%{32}%+%c, 
13183         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\EB, 
13184         cuf=\E[%p1%dC, cuf1=\EC, cup=\E[%i%p1%d;%p2%dH, 
13185         cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\EM, 
13186         dl=\E[%p1%dM, dl1=\EL, ed=\E[J, el=\E[K, fsl=^M, home=\E[H, 
13187         ht=^I, ich=\E[%p1%d@, ich1=\EO, il=\E[%p1%dL, il1=\EN, 
13188         ind=^J, indn=\E[%p1%dB, is2=\E[U 7\E[24;1H, kbs=^H, 
13189         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, khome=\E[H, 
13190         rc=\EX, rev=\E[7m, rf=/usr/share/tabset/vt100, ri=\EI, 
13191         rin=\E[%p1%dA, rmacs=\Ed, rmam=\E[?7l, rmso=\E[m, 
13192         rmul=\E[m, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
13193         sc=\EW, sgr0=\E[m, smacs=\EF, smam=\E[?7m, smso=\E[7m, 
13194         smul=\E[4m, tsl=\E], uc=\EPB, 
13195
13196 #### Tandem
13197 #
13198 # Tandem builds these things for use with its line of fault-tolerant
13199 # transaction-processing computers.  They aren't generally available
13200 # on the merchant market, and so are fairly uncommon.
13201 #
13202
13203 tandem6510|adm3a repackaged by Tandem, 
13204         use=adm3a, 
13205
13206 # A funny series of terminal that TANDEM uses.  The actual model numbers
13207 # have a fourth digit after 653 that designates minor variants.  These are
13208 # natively block-mode and rather ugly, but they have a character mode which
13209 # this doubtless(?) exploits.  There is a 6520 that is slightly dumber.
13210 # (tandem653: had ":sb=\ES:", probably someone's mistake for sf; also,
13211 # removed <if=/usr/share/tabset/tandem653>, no such file -- esr)
13212 tandem653|t653x|Tandem 653x multipage terminal, 
13213         OTbs, am, da, db, hs, 
13214         cols#80, lines#24, wsl#64, xmc#1, 
13215         clear=\EI, cub1=^H, cud1=^J, cuf1=\EC, 
13216         cup=\023%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dsl=\Eo\r, 
13217         ed=\EJ, el=\EK, fsl=^M, home=\EH, ind=\ES, ri=\ET, rmso=\E6\s, 
13218         rmul=\E6\s, sgr0=\E6\s, smso=\E6$, smul=\E60, tsl=\Eo, 
13219
13220 #### Tandy/Radio Shack
13221 #
13222 # Tandy has a line of VDTs distinct from its microcomputers.
13223 #
13224
13225 dmterm|deskmate terminal, 
13226         am, bw, 
13227         cols#80, lines#24, 
13228         bel=^G, civis=\EG5, clear=\Ej, cnorm=\EG6, cr=^M, cub1=^H, 
13229         cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
13230         cuu1=\EA, dch1=\ES, dl1=\ER, ed=\EJ, el=\EK, home=\EH, ht=^I, 
13231         ich1=\EQ, il1=\EP, ind=\EX, invis@, kcub1=\ED, kcud1=\EB, 
13232         kcuf1=\EC, kcuu1=\EA, kf0=\E1, kf1=\E2, kf2=\E3, kf3=\E4, 
13233         kf4=\E5, kf5=\E6, kf6=\E7, kf7=\E8, kf8=\E9, kf9=\E0, 
13234         khome=\EH, lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, 
13235         lf6=f7, lf7=f8, lf8=f9, lf9=f10, ll=\EE, rmul@, smul@, 
13236         use=adm+sgr, 
13237 dt100|dt-100|Tandy DT-100 terminal, 
13238         xon, 
13239         cols#80, lines#24, xmc#1, 
13240         acsc=jjkkllmmnnqqttuuvvwwxx, bel=^G, civis=\E[?25l, 
13241         clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
13242         csr=\E[%p1%2d;%p2%2dr, cub1=^H, cud1=\E[B, cuf1=\E[C, 
13243         cup=\010\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, 
13244         dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, 
13245         il1=\E[L, ind=^J, is2=\E[?3l\E)0\E(B, kcub1=\E[D, 
13246         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\E[?3i, 
13247         kf10=\E[?5i, kf2=\E[2i, kf3=\E[@, kf4=\E[M, kf5=\E[17~, 
13248         kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, kf9=\E[21~, khome=\E[H, 
13249         knp=\E[29~, kpp=\E[28~, lf1=f1, lf2=f2, lf3=f3, lf4=f4, lf5=f5, 
13250         lf6=f6, lf7=f7, lf8=f8, ri=\EM, rmacs=^O, rmso=\E[m, rmul=\E[m, 
13251         sgr0=\E[m, smacs=^N, smso=\E[7m, smul=\E[4m, 
13252 dt100w|dt-100w|Tandy DT-100 terminal (wide mode), 
13253         cols#132, use=dt100, 
13254 dt110|Tandy DT-110 emulating ansi, 
13255         xon, 
13256         cols#80, lines#24, 
13257         acsc=jjkkllmmnnqqttuuvvwwxx, bel=^G, civis=\E[?25l, 
13258         clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
13259         csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[0B, cuf1=\E[C, 
13260         cup=\010\E[%i%p1%d;%p2%dH, cuu1=\E[0A, dch1=\E[0P, 
13261         dl1=\E[0M, ed=\E[0J, el=\E[0K, enacs=\E(B\E)0, home=\E[H, 
13262         ht=^I, ich1=\E[0@, il1=\E[0L, ind=^J, is2=\E[?3l\E)0\E(B, 
13263         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[K, 
13264         kf1=\E[1~, kf10=\E[10~, kf2=\E[2~, kf3=\E[3~, kf4=\E[4~, 
13265         kf5=\E[5~, kf6=\E[6~, kf7=\E[7~, kf8=\E[8~, kf9=\E[9~, 
13266         khome=\E[G, kich1=\E[@, knp=\E[26~, kpp=\E[25~, lf0=f1, 
13267         lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7, lf7=f8, lf8=f9, 
13268         lf9=f10, ri=\EM, rmacs=^O, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
13269         smacs=^N, smso=\E[7m, smul=\E[4m, 
13270 pt210|TRS-80 PT-210 printing terminal, 
13271         hc, os, 
13272         cols#80, 
13273         bel=^G, cr=^M, cud1=^J, ind=^J, 
13274
13275 #### Tektronix (tek)
13276 #
13277 # Tektronix tubes are graphics terminals.  Most of them use modified 
13278 # oscilloscope technology incorporating a long-persistence green phosphor,
13279 # and support vector graphics on a main screen with an attached "dialogue
13280 # area" for interactive text.
13281 #
13282
13283 tek|tek4012|tektronix 4012, 
13284         OTbs, os, 
13285         cols#75, lines#35, 
13286         bel=^G, clear=\E\014$<1000>, cr=^M, cub1=^H, cud1=^J, 
13287         ff=\014$<1000>, is2=\E^O, 
13288 # (tek4013: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
13289 tek4013|tektronix 4013, 
13290         acsc=, rmacs=\E^O, smacs=\E^N, use=tek4012, 
13291 tek4014|tektronix 4014, 
13292         cols#81, lines#38, 
13293         is2=\E\017\E9, use=tek4012, 
13294 # (tek4015: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
13295 tek4015|tektronix 4015, 
13296         acsc=, rmacs=\E^O, smacs=\E^N, use=tek4014, 
13297 tek4014-sm|tektronix 4014 in small font, 
13298         cols#121, lines#58, 
13299         is2=\E\017\E\:, use=tek4014, 
13300 # (tek4015-sm: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
13301 tek4015-sm|tektronix 4015 in small font, 
13302         acsc=, rmacs=\E^O, smacs=\E^N, use=tek4014-sm, 
13303 # Tektronix 4023 from Andrew Klossner <orca!andrew.tektronix@csnet-relay>
13304 #
13305 # You need to have "stty nl2" in effect.  Some versions of tset(1) know
13306 # how to set it for you.
13307 #
13308 # It's got the Magic Cookie problem around stand-out mode.  If you can't
13309 # live with Magic Cookie, remove the :so: and :se: fields and do without
13310 # reverse video.  If you like reverse video stand-out mode but don't want
13311 # it to flash, change the letter 'H' to 'P' in the :so: field.
13312 tek4023|tektronix 4023, 
13313         OTbs, am, 
13314         OTdN#4, cols#80, lines#24, vt#4, xmc#1, 
13315         OTnl=^J, bel=^G, clear=\E\014$<4/>, cr=^M, cub1=^H, cud1=^J, 
13316         cuf1=^I, cup=\034%p2%{32}%+%c%p1%{32}%+%c, kbs=^H, 
13317         rmso=^_@, smso=^_P, 
13318 # It is recommended that you run the 4025 at 4800 baud or less;
13319 # various bugs in the terminal appear at 9600.  It wedges at the
13320 # bottom of memory (try "cat /usr/dict/words"); ^S and ^Q typed
13321 # on keyboard don't work.  You have to hit BREAK twice to get
13322 # one break at any speed - this is a documented feature.
13323 # Can't use cursor motion because it's memory relative, and 
13324 # because it only works in the workspace, not the monitor.  
13325 # Same for home. Likewise, standout only works in the workspace.
13326
13327 # <el> was commented out since vi and rogue seem to work better 
13328 # simulating it with lots of spaces!
13329
13330 # <il1> and <il> had 145ms of padding, but that slowed down vi's ^U 
13331 # and didn't seem necessary.
13332 #
13333 tek4024|tek4025|tek4027|tektronix 4024/4025/4027, 
13334         OTbs, am, da, db, 
13335         cols#80, it#8, lines#34, lm#0, 
13336         bel=^G, clear=\037era\r\n\n, cmdch=^_, cr=^M, 
13337         cub=\037lef %p1%d\r, cub1=^H, cud=\037dow %p1%d\r, 
13338         cud1=^F^J, cuf=\037rig %p1%d\r, cuf1=\037rig\r, 
13339         cuu=\037up %p1%d\r, cuu1=^K, dch1=\037dch\r, 
13340         dl=\037dli %p1%d\r\006, dl1=\037dli\r\006, 
13341         ed=\037dli 50\r, ht=^I, ich1=\037ich\r \010, 
13342         il=\037up\r\037ili %p1%d\r, il1=\037up\r\037ili\r, 
13343         ind=^F^J, 
13344         is2=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r, 
13345         rmkx=\037lea p2\r\037lea p4\r\037lea p6\r\037lea p8\r\037lea f5\r, 
13346         smkx=\037lea p4 /h/\r\037lea p8 /k/\r\037lea p6 / /\r\037lea p2 /j/\r\037lea f5 /H/\r, 
13347 tek4025-17|tek 4025 17 line window, 
13348         lines#17, use=tek4025, 
13349 tek4025-17-ws|tek 4025 17 line window in workspace, 
13350         is2=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r\037wor 17\r\037mon 17\r, 
13351         rmcup=\037mon h\r, rmso=\037att s\r, smcup=\037wor h\r, 
13352         smso=\037att e\r, use=tek4025-17, 
13353 tek4025-ex|tek4027-ex|tek 4025/4027 w/!, 
13354         is2=\037com 33\r\n!sto 9 17 25 33 41 49 57 65 73\r, 
13355         rmcup=\037com 33\r, smcup=!com 31\r, use=tek4025, 
13356 # Tektronix 4025a
13357 # From: Doug Gwyn <gwyn@brl-smoke.ARPA>
13358 # The following status modes are assumed for normal operation (replace the
13359 # initial "!" by whatever the current command character is):
13360 #       !COM 29                 # NOTE: changes command character to GS (^])
13361 #       ^]DUP
13362 #       ^]ECH R
13363 #       ^]EOL
13364 #       ^]RSS T
13365 #       ^]SNO N
13366 #       ^]STO 9 17 25 33 41 49 57 65 73
13367 # Other modes may be set according to communication requirements.
13368 # If the command character is inadvertently changed, termcap can't restore it.
13369 # Insert-character cannot be made to work on both top and bottom rows.
13370 # Clear-to-end-of-display emulation via !DLI 988 is too grotty to use, alas.
13371 # There also seems to be a problem with vertical motion, perhaps involving
13372 # delete/insert-line, following a typed carriage return.  This terminal sucks.
13373 # Delays not specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
13374 # (tek4025a: removed obsolete ":xx:". This may mean the tek4025a entry won't
13375 # work any more. -- esr)
13376 tek4025a|Tektronix 4025A, 
13377         OTbs, OTpt, am, bw, da, db, xon, 
13378         cols#80, it#8, lines#34, 
13379         bel=^G, cbt=\035bac;, clear=\035era;\n\035rup;, cmdch=^], 
13380         cr=^M, cub=\035lef %p1%d;, cub1=^H, cud=\035dow %p1%d;, 
13381         cud1=^J, cuf=\035rig %p1%d;, cuf1=\035rig;, 
13382         cuu=\035up %p1%d;, cuu1=^K, dch=\035dch %p1%d;, 
13383         dch1=\035dch;, dl=\035dli %p1%d;, dl1=\035dli;, 
13384         el=\035dch 80;, hpa=\r\035rig %p1%d;, ht=^I, 
13385         il1=\013\035ili;, ind=^J, indn=\035dow %p1%d;, 
13386         rs2=!com 29\035del 0\035rss t\035buf\035buf n\035cle\035dis\035dup\035ech r\035eol\035era g\035for n\035pad 203\035pad 209\035sno n\035sto 9 17 25 33 41 49 57 65 73\035wor 0;, 
13387         tbc=\035sto;, 
13388 # From: cbosg!teklabs!davem Wed Sep 16 21:11:41 1981
13389 # Here's the command file that I use to get rogue to work on the 4025.
13390 # It should work with any program using the old curses (e.g. it better
13391 # not try to scroll, or cursor addressing won't work.  Also, you can't
13392 # see the cursor.)
13393 # (This "learns" the arrow keys for rogue. I have adapted it for termcap - mrh)
13394 tek4025-cr|tek 4025 for curses and rogue, 
13395         OTbs, am, 
13396         cols#80, it#8, lines#33, 
13397         clear=\037era;, cub1=^H, cud1=^F^J, cuf1=\037rig;, 
13398         cup=\037jum%i%p1%d\,%p2%d;, cuu1=^K, ht=^I, ind=^F^J, 
13399         is2=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r, 
13400         rmcup=\037wor 0, smcup=\037wor 33h, 
13401 # next two lines commented out since curses only allows 128 chars, sigh.
13402 #       :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:\
13403 #       :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:
13404 tek4025ex|4025ex|4027ex|tek 4025 w/!, 
13405         is2=\037com 33\r\n!sto 9\,17\,25\,33\,41\,49\,57\,65\,73\r, 
13406         rmcup=\037com 33\r, smcup=!com 31\r, use=tek4025, 
13407 tek4105|tektronix 4105, 
13408         OTbs, am, mir, msgr, ul, xenl, xt, 
13409         cols#79, it#8, lines#29, 
13410         acsc=, bel=^G, blink=\E[=3;<7m, bold=\E[=7;<4m, cbt=\E[Z, 
13411         clear=\E[2J\E[H, cr=^M, cud1=\E[1B, cuf1=\E[1C, 
13412         cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[1A, dch1=\E[1P, 
13413         dim=\E[=1;<6m, dl1=\E[1M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
13414         il1=\E[1L, ind=\E[S, invis=\E[=6;<5, is1=\E%!1\E[m, 
13415         is2=\E%!1\E[?6141\E[m, kbs=^H, kcub1=\E[1D, kcud1=\E[1B, 
13416         kcuf1=\E[1C, kcuu1=\E[1A, rev=\E[=1;<3m, ri=\E[T, 
13417         rmacs=\E[m, rmcup=, rmir=\E[4l, rmso=\E[=0;<1m, 
13418         rmul=\E[=0;<1m, sgr0=\E[=0;<1m, smacs=\E[1m, 
13419         smcup=\E%!1\E[?6l\E[2J, smir=\E[4h, smso=\E[=2;<3m, 
13420         smul=\E[=5;<2m, tbc=\E[1g, 
13421
13422 # (tek4105-30: I added <rmam>/<smam> based on the init string -- esr)
13423 tek4105-30|4015 emulating 30 line vt100, 
13424         am, mir, msgr, xenl, xon, 
13425         cols#80, it#8, lines#30, vt#3, 
13426         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
13427         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
13428         clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
13429         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
13430         cuf=\E[%p1%dC, cuf1=\E[C$<2>, 
13431         cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, 
13432         cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>, 
13433         enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ind=^J, ka1=\EOq, 
13434         ka3=\EOs, kb2=\EOr, kbs=^H, kc1=\EOp, kc3=\EOn, kcub1=\EOD, 
13435         kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kent=\EOM, kf0=\EOy, 
13436         kf1=\EOP, kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt, 
13437         kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, rc=\E8, 
13438         rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l, 
13439         rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>, 
13440         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
13441         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
13442         sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, 
13443         smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, 
13444
13445 # Tektronix 4105 from BRL
13446 # The following setup modes are assumed for normal operation:
13447 #       CODE ansi               CRLF no                 DABUFFER 141
13448 #       DAENABLE yes            DALINES 30              DAMODE replace
13449 #       DAVISIBILITY yes        ECHO no                 EDITMARGINS 1 30
13450 #       FLAGGING input          INSERTREPLACE replace   LFCR no
13451 #       ORIGINMODE relative     PROMPTMODE no           SELECTCHARSET G0 B
13452 #       SELECTCHARSET G1 0      TABS -2
13453 # Other setup modes may be set for operator convenience or communication
13454 # requirements; I recommend
13455 #       ACURSOR 1 0             AUTOREPEAT yes          AUTOWRAP yes
13456 #       BYPASSCANCEL <LF>       CURSORKEYMODE no        DAINDEX 1 0 0
13457 #       EOFSTRING ''            EOLSTRING <CR>          EOMCHARS <CR> <NU>
13458 #       GAMODE overstrike       GCURSOR 0 100 0         GSPEED 10 1
13459 #       IGNOREDEL no            KEYEXCHAR <DL>          NVDEFINE -53 "<NU>"
13460 #       PROMPTSTRING ''         QUEUESIZE 2460          WINDOW 0 0 4095 3132
13461 #       XMTDELAY 0
13462 # and factory color maps.  After setting these modes, save them with NVSAVE. No
13463 # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
13464 # "IC" cannot be used in combination with "im" & "ei".
13465 # "tek4105a" is just a guess:
13466 tek4105a|Tektronix 4105, 
13467         OTbs, OTpt, msgr, xon, 
13468         OTkn#8, cols#80, it#8, lines#30, vt#3, 
13469         acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
13470         civis=\E%!0\ETD00\E%!1, clear=\E[H\E[J, 
13471         cnorm=\E%!0\ETD10\E%!1, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
13472         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
13473         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
13474         cuu=\E[%p1%dA, cuu1=\EM, cvvis=\E%!0\ETD70\E%!1, 
13475         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
13476         ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH, 
13477         il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, is2=\E%!1, 
13478         kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
13479         kf0=\EOA, kf1=\EOB, kf2=\EOC, kf3=\EOD, kf4=\EOP, kf5=\EOQ, 
13480         kf6=\EOR, kf7=\EOS, lf0=F1, lf1=F2, lf2=F3, lf3=F4, lf4=F5, 
13481         lf5=F6, lf6=F8, ll=\E[30;H, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, 
13482         rin=\E[%p1%dT, rmacs=^O, rmcup=\E%!0\ELBH=\E%!1, 
13483         rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
13484         rs2=\030\E%!0\EKC\E\014\EKR0\EKF0\ENM0\ELBH=\ETF8000010F40\ELI100\ELLA>\ELM0\EKE0\ENF1\EKS0\END0\E%!1\Ec\E[?3;5l\E[?7;8h\E[r\E[m\E>, 
13485         sc=\E7, sgr0=\E[m, smacs=^N, smcup=\E[?6l, smir=\E[4h, 
13486         smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
13487
13488 #
13489 # Tektronix 4106/4107/4109 from BRL
13490 # The following setup modes are assumed for normal operation:
13491 #       CODE ansi               COLUMNMODE 80           CRLF no
13492 #       DABUFFER 141            DAENABLE yes            DALINES 32
13493 #       DAMODE replace          DAVISIBILITY yes        ECHO no
13494 #       EDITMARGINS 1 32        FLAGGING input          INSERTREPLACE replace
13495 #       LFCR no                 LOCKKEYBOARD no         ORIGINMODE relative
13496 #       PROMPTMODE no           SELECTCHARSET G0 B      SELECTCHARSET G1 0
13497 #       TABS -2
13498 # Other setup modes may be set for operator convenience or communication
13499 # requirements; I recommend
13500 #       ACURSOR 1 0             AUTOREPEAT yes          AUTOWRAP yes
13501 #       BYPASSCANCEL <LF>       CURSORKEYMODE no        DAINDEX 1 0 0
13502 #       EOFSTRING ''            EOLSTRING <CR>          EOMCHARS <CR> <NU>
13503 #       GAMODE overstrike       GCURSOR 0 100 0         GSPEED 9 3
13504 #       IGNOREDEL no            KEYEXCHAR <DL>          NVDEFINE -53 "<NU>"
13505 #       PROMPTSTRING ''         QUEUESIZE 2620          WINDOW 0 0 4095 3132
13506 #       XMTDELAY 0
13507 # and factory color maps.  After setting these modes, save them with NVSAVE.  No
13508 # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
13509 # "IC" cannot be used in combination with "im" & "ei".
13510 tek4106brl|tek4107brl|tek4109brl|Tektronix 4106 4107 or 4109, 
13511         msgr, xon, 
13512         cols#80, it#8, lines#32, vt#3, 
13513         acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
13514         civis=\E%!0\ETD00\E%!1, clear=\E[H\E[J, 
13515         cnorm=\E%!0\ETD10\E%!1, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
13516         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
13517         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
13518         cuu=\E[%p1%dA, cuu1=\EM, cvvis=\E%!0\ETD70\E%!1, 
13519         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
13520         ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH, 
13521         il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, is2=\E%!1, 
13522         kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
13523         kf0=\EOA, kf1=\EOB, kf2=\EOC, kf3=\EOD, kf4=\EOP, kf5=\EOQ, 
13524         kf6=\EOR, kf7=\EOS, lf0=F1, lf1=F2, lf2=F3, lf3=F4, lf4=F5, 
13525         lf5=F6, lf6=F8, ll=\E[32;H, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, 
13526         rin=\E[%p1%dT, rmacs=^O, rmcup=\E%!0\ELBH=\E%!1, 
13527         rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
13528         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>, 
13529         sc=\E7, sgr0=\E[m, smacs=^N, smcup=\E[?6l, smir=\E[4h, 
13530         smkx=\E[?1h\E=, smso=\E[7;42m, smul=\E[4m, tbc=\E[3g, 
13531
13532 tek4107|tek4109|tektronix terminals 4107 4109, 
13533         OTbs, am, mir, msgr, ul, xenl, xt, 
13534         cols#79, it#8, lines#29, 
13535         bel=^G, blink=\E%!1\E[5m$<2>\E%!0, 
13536         bold=\E%!1\E[1m$<2>\E%!0, clear=\ELZ, cnorm=\E%!0, cr=^M, 
13537         cub1=^H, cud1=^J, cuf1=\EC, 
13538         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, cvvis=\E%!3, 
13539         dim=\E%!1\E[<0m$<2>\E%!0, ed=\EJ, el=\EK, ht=^I, ind=^J, 
13540         kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
13541         rev=\E%!1\E[7m$<2>\E%0, ri=\EI, 
13542         rmso=\E%!1\E[m$<2>\E%!0, rmul=\E%!1\E[m$<2>\E%!0, 
13543         sgr=\E%%!1\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m\E%%!0, 
13544         sgr0=\E%!1\E[m$<2>\E%!0, smso=\E%!1\E[7;5m$<2>\E%!0, 
13545         smul=\E%!1\E[4m$<2>\E%!0, 
13546 # Tektronix 4207 with sysline.  In the ancestral termcap file this was 4107-s;
13547 # see the note attached to tek4207.
13548 tek4207-s|Tektronix 4207 with sysline but no memory, 
13549         eslok, hs, 
13550         dsl=\E7\E[?6l\E[2K\E[?6h\E8, fsl=\E[?6h\E8, 
13551         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, 
13552         is2=\E7\E[?6l\E[2K\E[?6h\E8, 
13553         tsl=\E7\E[?6l\E[2K\E[;%i%df, use=tek4107, 
13554
13555 # The 4110 series may be a wonderful graphics series, but they make the 4025
13556 # look good for screen editing.  In the dialog area, you can't move the cursor
13557 # off the bottom line.  Out of the dialog area, ^K moves it up, but there
13558 # is no way to scroll.
13559
13560 # Note that there is a floppy for free from Tek that makes the 
13561 # 4112 emulate the vt52 (use the vt52 termcap). There is also
13562 # an expected enhancement that will use ANSI standard sequences.
13563
13564 # 4112 in non-dialog area pretending to scroll. It really wraps 
13565 # but vi is said to work (more or less) in this mode.
13566
13567 # 'vi' works reasonably well with this entry.
13568 #
13569 otek4112|o4112-nd|otek4113|otek4114|old tektronix 4110 series, 
13570         am, 
13571         cols#80, lines#34, 
13572         bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuu1=^K, ind=^J, 
13573         rmcup=\EKA1\ELV1, smcup=\EKA0\ELV0\EMG0, 
13574 # The 4112 with the ANSI compatibility enhancement
13575 tek4112|tek4114|tektronix 4110 series, 
13576         OTbs, am, db, 
13577         cols#80, lines#34, 
13578         cbt=\E[Z, clear=\E[2J\E[0;0H, cub1=^H, cuf1=\E[C, 
13579         cup=\E[%i%p1%d;%p2%dH, cuu1=\EM, dch1=\E[P, dl1=\E[M, 
13580         ed=\E[0J, el=\E[0K, ich1=\E[@, il1=\E[L, 
13581         ind=\E7\E[0;0H\E[M\E8, is2=\E3!1, ri=\E7\E[0;0H\E[L\E8, 
13582         rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
13583 tek4112-nd|4112 not in dialog area, 
13584         OTns, 
13585         cuu1=^K, use=tek4112, 
13586 tek4112-5|4112 in 5 line dialog area, 
13587         lines#5, use=tek4112, 
13588 # (tek4113: this used to have "<cuf1=\LM1\s\LM0>", someone's mistake;
13589 # removed "<smacs=\E^N>, <rmacs=\E^O>", which had been commented out in 8.3.
13590 # Note, the !0 and !1 sequences in <rmcup>/<smcup>/<cnorm>/<civis> were
13591 # previously \0410 and \0411 sequences...I don't *think* they were supposed
13592 # to be 4-digit octal -- esr)
13593 tek4113|tektronix 4113 color graphics with 5 line dialog area, 
13594         OTbs, am, da, eo, 
13595         cols#80, lines#5, 
13596         clear=\ELZ, cub1=^H, cud1=^J, cuf1=\ELM1 \ELM0, 
13597         flash=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0, 
13598         is2=\EKA1\ELL5\ELV0\ELV1, uc=\010\ELM1_\ELM0, 
13599 tek4113-34|tektronix 4113 color graphics with 34 line dialog area, 
13600         lines#34, 
13601         is2=\EKA1\ELLB2\ELV0\ELV1, use=tek4113, 
13602 # :ns: left off to allow vi visual mode. APL font (:as=\E^N:/:ae=\E^O:) not 
13603 # supported here. :uc: is slow, but looks nice. Suggest setenv MORE -up .
13604 # :vb: needs enough delay to let you see the background color being toggled.
13605 tek4113-nd|tektronix 4113 color graphics with no dialog area, 
13606         OTbs, am, eo, 
13607         cols#80, it#8, lines#34, 
13608         clear=\E^L, cub1=^H, cud1=^J, cuf1=^I, cuu1=^K, 
13609         cvvis=\ELZ\EKA0, 
13610         flash=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0, 
13611         home=\ELF7l\177 @, ht=^I, is2=\ELZ\EKA0\ELF7l\177 @, 
13612         ll=\ELF hl @, rmso=\EMT1, smso=\EMT2, uc=\010\EMG1_\EMG0, 
13613 # This entry is from Tek. Inc.  (Brian Biehl)
13614 # (tek4115: :bc: renamed to :le:, <rmam>/<smam> added based on init string -- esr)
13615 otek4115|Tektronix 4115, 
13616         OTbs, am, da, db, eo, 
13617         cols#80, it#8, lines#34, 
13618         cbt=\E[Z, clear=\E[H\E[2J, 
13619         cnorm=\E%!0\ELBG8\E%!1\E[34;1H, cub1=\E[D, cud1=\E[B, 
13620         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
13621         cvvis=\E%!0\ELBB2\E%!1, dch1=\E[P, dl1=\E[M, ed=\E[J, 
13622         el=\E[K, home=\E[H, ht=^I, if=/usr/share/tabset/vt100, 
13623         il1=\E[L, 
13624         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, 
13625         kbs=^H, ri=\EM, rmam=\E[?7l, 
13626         rmcup=\E%!0\ELBG8\E%!1\E[34;1H\E[J, rmir=\E[4l, 
13627         rmkx=\E>, rmso=\E[m, rmul=\E[m, sgr0=\E[m, smam=\E[?7h, 
13628         smcup=\E%!0\ELBB2\E%!1, smir=\E[4h, smkx=\E=, smso=\E[7m, 
13629         smul=\E[4m, 
13630 tek4115|newer tektronix 4115 entry with more ANSI capabilities, 
13631         am, xon, 
13632         cols#80, lines#34, 
13633         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J, 
13634         cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
13635         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
13636         cuu=\E[%p1%dA, cuu1=\E[A, dch1=\E[P, dl=\E[%p1%dM, 
13637         dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, hpa=\E[%p1%{1}%+%dG, 
13638         ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, 
13639         il1=\E[L, ind=^J, invis=\E[8m, kbs=^H, kcub1=\E[D, 
13640         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, 
13641         rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, rmam=\E[?7l, 
13642         rmso=\E[m, rmul=\E[m, 
13643         sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m, 
13644         sgr0=\E[m, smam=\E[?7h, smso=\E[7m, smul=\E[4m, tbc=\E[2g, 
13645         vpa=\E[%p1%{1}%+%dd, 
13646 # The tek4125 emulates a vt100 incorrectly - the scrolling region
13647 # command is ignored.  The following entry replaces <csr> with the needed
13648 # <il>, <il>, and <smir>; removes some cursor pad commands that the tek4125
13649 # chokes on; and adds a lot of initialization for the tek dialog area.
13650 # Note that this entry uses all 34 lines and sets the cursor color to green.
13651 # Steve Jacobson 8/85
13652 # (tek4125: there were two "\!"s in the is that I replaced with "\E!";
13653 # commented out, <smir>=\E1 because there's no <rmir>  -- esr)
13654 tek4125|tektronix 4125, 
13655         lines#34, 
13656         csr@, dl1=\E[1M, il1=\E[1L, 
13657         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, 
13658         rc@, sc@, smkx=\E=, use=vt100, 
13659
13660 # From: <jcoker@ucbic>
13661 # (tek4207: This was the termcap file's entry for the 4107/4207, but SCO
13662 # supplied another, less capable 4107 entry.  So we'll use that for 4107 and
13663 # note that if jcoker wasn't confused you may be able to use this one.
13664 # I merged in <msgr>,<ind>,<ri>,<invis>,<tbc> from a BRL entry -- esr)
13665 tek4207|Tektronix 4207 graphics terminal with memory, 
13666         am, bw, mir, msgr, ul, xenl, 
13667         cols#80, it#8, lines#32, 
13668         blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J$<156/>, 
13669         cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
13670         cuu1=\EM, dch1=\E[P$<4/>, dl1=\E[M$<3/>, ed=\E[J, 
13671         el=\E[K$<5/>, home=\E[H, ht=^I, ich1=\E[@$<4/>, 
13672         il1=\E[L$<3/>, ind=\E[S, invis=\E[=6;<5, 
13673         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, 
13674         kcub1=\E[D, kcud1=\ED, kcuf1=\E[C, kcuu1=\EM, khome=\E[H, 
13675         rev=\E[7m, ri=\E[T, 
13676         rmcup=\E[?6h\E%!0\ELBP0\E%!1\E[32;1f, rmso=\E[m, 
13677         rmul=\E[m, sgr0=\E[m, smcup=\E[?6l\E[H\E[J, smso=\E[7m, 
13678         smul=\E[4m, tbc=\E[1g, 
13679
13680 # From: <carolyn@dali.berkeley.edu>  Thu Oct 31 12:54:27 1985
13681 # (tek4404: There was a "\!" in <smcup> that I replaced with "\E!".
13682 # Tab had been given as \E2I,that must be the tab-set capability -- esr)
13683 tek4404|tektronix 4404, 
13684         OTbs, 
13685         cols#80, it#8, lines#32, 
13686         blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, 
13687         csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C, 
13688         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[1M, 
13689         ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\E[2I, il1=\E[1L, 
13690         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, rc=\E8, 
13691         rmcup=\E[1;1H\E[0J\E[?6h\E[?1l, rmir=\E[4l, 
13692         rmkx=\E[?1h, rmso=\E[27m, rmul=\E[m, sc=\E7, sgr0=\E[m, 
13693         smcup=\E%\E!1\E[1;32r\E[?6l\E>, smir=\E[4h, 
13694         smkx=\E[?1l, smso=\E[7m, smul=\E[4m, 
13695 # Some unknown person wrote:
13696 # I added the is string - straight Unix has ESC ; in the login 
13697 # string which sets a ct8500 into monitor mode (aka 4025 snoopy 
13698 # mode). The is string here cleans up a few things (but not 
13699 # everything).
13700 ct8500|tektronix ct8500, 
13701         am, bw, da, db, 
13702         cols#80, lines#25, 
13703         bel=^G, cbt=\E^I, clear=\E^E, cr=^M, cub1=^H, cud1=^J, 
13704         cuf1=\ES, cup=\E|%p1%{32}%+%c%p2%{32}%+%c, cuu1=\ER, 
13705         dch1=\E^], dl1=\E^M, ed=\E^U, el=\E^T, ht=^I, ich1=\E^\, 
13706         il1=\E^L, ind=^J, is2=\037\EZ\Ek, ri=\E^A, rmso=\E\s, 
13707         rmul=\E\s, sgr0=\E\s, smso=\E$, smul=\E!, 
13708
13709 # Tektronix 4205 terminal.
13710 #
13711 # am is not defined because the wrap around occurs not when the char.
13712 # is placed in the 80'th column, but when we are attempting to type
13713 # the 81'st character on the line.  (esr: hmm, this is like the vt100
13714 # version of xenl, perhaps am + xenl would work!)
13715 #
13716 # Bold, dim, and standout are simulated by colors and thus not allowed
13717 # with colors.  The tektronix color table is mapped into the RGB color
13718 # table by setf/setb. All colors are reset to factory specifications by oc.
13719 # The <initc> cap uses RGB notation to define colors.  for arguments 1-3 the 
13720 # interval (0-1000) is broken into 8 smaller sub-intervals (125).  Each sub-
13721 # interval then maps into pre-defined value.
13722 tek4205|tektronix 4205, 
13723         ccc, mir, msgr, 
13724         colors#8, cols#80, it#8, lines#30, ncv#49, pairs#63, 
13725         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
13726         bel=^G, blink=\E[5m, bold=\E[=7;<4m, cbt=\E[Z, 
13727         clear=\E[2J\E[H, cr=^M, cub=\E[%p1%dD, cub1=\E[D, 
13728         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
13729         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
13730         dch1=\E[1P, dim=\E[=1;<6m, dl1=\E[1M, ech=\E%p1%dX, 
13731         ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0, home=\E[H, ht=^I, 
13732         ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[1L, ind=\ED, 
13733         initc=\E%%!0\ETF4%?%p1%{0}%=%t0%e%p1%{1}%=%t4%e%p1%{2}%=%t3%e%p1%{3}%=%t5%e%p1%{4}%=%t2%e%p1%{5}%=%t6%e%p1%{6}%=%t7%e1%;%?%p2%{125}%<%t0%e%p2%{250}%<%tA2%e%p2%{375}%<%tA?%e%p2%{500}%<%tC8%e%p2%{625}%<%tD4%e%p2%{750}%<%tE1%e%p2%{875}%<%tE\:%eF4%;%?%p3%{125}%<%t0%e%p3%{250}%<%tA2%e%p3%{375}%<%tA?%e%p3%{500}%<%tC8%e%p3%{625}%<%tD4%e%p3%{750}%<%tE1%e%p3%{875}%<%tE\:%eF4%;%?%p4%{125}%<%t0%e%p4%{250}%<%tA2%e%p4%{375}%<%tA?%e%p4%{500}%<%tC8%e%p4%{625}%<%tD4%e%p4%{750}%<%tE1%e%p4%{875}%<%tE\:%eF4%;\E%%!1, 
13734         invis=\E[=6;<5, is1=\E%!0\ETM1\E%!1\E[m, kbs=^H, 
13735         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\EOA, 
13736         kf1=\EOB, kf2=\EOC, kf3=\EOD, kf4=\EP, kf5=\EQ, kf6=\ER, 
13737         kf7=\ES, 
13738         oc=\E%!0\ETFB000001F4F4F42F40030F404A4C<F450F4F46F40F47F4F40\E%!1, 
13739         op=\E[39;40m, rev=\E[7m, ri=\EM, rmacs=^O, rmcup=, 
13740         rmir=\E[4l, rmso=\E[=0;<1m, rmul=\E[24m, 
13741         setb=\E[=%?%p1%{0}%=%t0m%e%p1%{1}%=%t4m%e%p1%{2}%=%t3m%e%p1%{3}%=%t5m%e%p1%{4}%=%t2m%e%p1%{5}%=%t6m%e%p1%{6}%=%t7m%e1m%;, 
13742         setf=\E[<%?%p1%{0}%=%t0m%e%p1%{1}%=%t4m%e%p1%{2}%=%t3m%e%p1%{3}%=%t5m%e%p1%{4}%=%t2m%e%p1%{5}%=%t6m%e%p1%{6}%=%t7m%e1m%;, 
13743         sgr0=\E[=0;<1m\E[24;25;27m\017, smacs=^N, 
13744         smcup=\E%%!1\E[?6l\E[2J, smir=\E[4h, smso=\E[=2;<3m, 
13745         smul=\E[4m, tbc=\E[1g, 
13746
13747 #### Teletype (tty)
13748 #
13749 # These are the hardcopy Teletypes from before AT&T bought the company,
13750 # clattering electromechanical dinosaurs in Bakelite cases that printed on
13751 # pulpy yellow roll paper.  If you remember these you go back a ways.
13752 # Teletype-branded VDTs are listed in the AT&T section.
13753 #
13754 # The earliest UNIXes were designed to use these clunkers; nroff and a few
13755 # other programs still default to emitting codes for the Model 37.
13756 #
13757
13758 tty33|tty35|model 33 or 35 teletype, 
13759         hc, os, xon, 
13760         cols#72, 
13761         bel=^G, cr=^M, cud1=^J, ind=^J, 
13762 tty37|model 37 teletype, 
13763         OTbs, hc, os, xon, 
13764         bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E7, hd=\E9, hu=\E8, 
13765         ind=^J, 
13766
13767 # There are known to be at least three flavors of the tty40, all seem more
13768 # like IBM half duplex forms fillers than ASCII terminals.  They have lots of
13769 # awful braindamage, such as printing a visible newline indicator after each
13770 # newline.  The 40-1 is a half duplex terminal and is hopeless.  The 40-2 is
13771 # braindamaged but has hope and is described here.  The 40-4 is a 3270
13772 # lookalike and beyond hope.  The terminal has visible bell but I don't know
13773 # it - it's null here to prevent it from showing the BL character.
13774 # There is an \EG in <nl> because of a bug in old vi (if stty says you have
13775 # a "newline" style terminal (-crmode) vi figures all it needs is nl
13776 # to get crlf, even if <cr> is not ^M.)
13777 # (tty40: removed obsolete ":nl=\EG\EB:", it's just do+cr -- esr)
13778 tty40|ds40|ds40-2|dataspeed40|teletype dataspeed 40/2, 
13779         OTbs, xon, 
13780         cols#80, lines#24, 
13781         clear=\EH$<20>\EJ$<80>, cr=\EG, cub1=^H, cud1=\EB, 
13782         cuf1=\EC, cuu1=\E7, dch1=\EP$<50>, dl1=\EM$<50>, 
13783         ed=\EJ$<75>, home=\EH$<10>, ht=\E@$<10>, hts=\E1, 
13784         ich1=\E\^$<50>, il1=\EL$<50>, ind=\ES$<20>, kbs=^], 
13785         kcub1=^H, mc4=^T, mc5=\022$<2000>, ri=\ET$<10>, rmso=\E4, 
13786         rs2=\023\ER$<60>, smso=\E3, tbc=\EH\E2$<80>, 
13787 tty43|model 43 teletype, 
13788         OTbs, am, hc, os, xon, 
13789         cols#132, 
13790         bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J, kbs=^H, 
13791
13792 #### Tymshare
13793 #
13794
13795 # You can add <is2=\E<> to put this 40-column mode, though I can't
13796 # for the life of me think why anyone would want to.
13797 scanset|sc410|sc415|Tymshare Scan Set, 
13798         am, bw, msgr, 
13799         cols#80, lines#24, 
13800         acsc=j%k4l<m-q\,x5, bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, 
13801         cud1=^J, cuf1=^I, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
13802         cuu1=^K, ed=\EJ, el=\EK, home=\EH, ind=^J, kcub1=\ED, 
13803         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, mc0=\E;3, mc4=\E;0, 
13804         mc5=\E;0, rc=^C, rmacs=^O, rs1=\E>, sc=^B, smacs=^N, 
13805
13806 #### Volker-Craig (vc)
13807 #
13808 # If you saw a Byte Magazine cover with a terminal on it during the early
13809 # 1980s, it was probably one of these.  Carl Helmers liked them because
13810 # they could crank 19.2 and were cheap (that is, he liked them until he tried
13811 # to program one...)
13812 #
13813
13814 # Missing in vc303a and vc303 descriptions:  they scroll 2 lines at a time
13815 # every other linefeed.
13816 vc303|vc103|vc203|volker-craig 303, 
13817         OTbs, OTns, am, 
13818         cols#80, lines#24, 
13819         bel=^G, clear=\014$<40>, cr=^M, cub1=^H, cud1=^J, cuf1=^I, 
13820         cuu1=^N, home=\013$<40>, kcub1=^H, kcud1=^J, kcuf1=^I, 
13821         kcuu1=^N, ll=\017$<1>W, 
13822 vc303a|vc403a|volker-craig 303a, 
13823         clear=\030$<40>, cuf1=^U, cuu1=^Z, el=\026$<20>, 
13824         home=\031$<40>, kcuf1=^U, kcuu1=^Z, ll=^P, use=vc303, 
13825 # (vc404: removed obsolete ":ma=^Z^P^U :" -- esr)
13826 vc404|volker-craig 404, 
13827         OTbs, am, 
13828         cols#80, lines#24, 
13829         bel=^G, clear=\030$<40>, cr=^M, cub1=^H, cud1=^J, cuf1=^U, 
13830         cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, 
13831         ed=\027$<40>, el=\026$<20>, home=\031$<40>, ind=^J, 
13832         kcub1=^H, kcud1=^J, kcuf1=^U, kcuu1=^Z, 
13833 vc404-s|volker-craig 404 w/standout mode, 
13834         cud1=^J, rmso=^O, smso=^N, use=vc404, 
13835 # From: <wolfgang@cs.sfu.ca>
13836 # (vc414: merged in cup/dl1/home from an old vc414h-noxon)
13837 vc414|vc414h|Volker-Craig 414H in sane escape mode., 
13838         OTbs, am, 
13839         cols#80, lines#24, 
13840         clear=\E\034$<40>, cud1=\E^K, cuf1=^P, 
13841         cup=\E\021%p2%c%p1%c$<40>, cuu1=\E^L, dch1=\E3, 
13842         dl1=\E\023$<40>, ed=\E^X, el=\E\017$<10/>, home=\E^R, 
13843         ich1=\E\:, il1=\E\032$<40>, kcub1=^H, kcud1=\E^K, kcuf1=^P, 
13844         kcuu1=\E^L, kf0=\EA, kf1=\EB, kf2=\EC, kf3=\ED, kf4=\EE, 
13845         kf5=\EF, kf6=\EG, kf7=\EH, khome=\E^R, lf0=PF1, lf1=PF2, 
13846         lf2=PF3, lf3=PF4, lf4=PF5, lf5=PF6, lf6=PF7, lf7=PF8, 
13847         rmso=\E^_, smso=\E^Y, 
13848 vc415|volker-craig 415, 
13849         clear=^L, use=vc404, 
13850
13851 ######## OBSOLETE PERSONAL-MICRO CONSOLES AND EMULATIONS
13852 #
13853
13854 #### IBM PC and clones
13855 #
13856
13857 # The pcplot IBM-PC terminal emulation program is really messed up. It is
13858 # supposed to emulate a vt-100, but emulates the wraparound bug incorrectly,
13859 # doesn't support scrolling regions, ignores add line commands, and ignores
13860 # delete line commands. Consequently, the resulting behavior looks like a
13861 # crude adm3a-type terminal.
13862 # Steve Jacobson 8/85
13863 pcplot|pc-plot terminal emulation program, 
13864         xenl@, 
13865         csr@, dl@, dl1@, il@, il1@, rc@, sc@, use=vt100, 
13866 # KayPro II from Richard G Turner <rturner at Darcom-Hq.ARPA>
13867 # I've found that my KayPro II, running MDM730, continues to emulate an
13868 # ADM-3A terminal, just like I was running TERM.COM. On our 4.2 UNIX
13869 # system the following termcap entry works well:
13870 # I have noticed a couple of minor glitches, but nothing I can't work
13871 # around. (I added two capabilities from the BRL entry -- esr)
13872 kaypro|kaypro2|kaypro II, 
13873         OTbs, am, 
13874         cols#80, lines#24, 
13875         bel=^G, clear=\032$<1/>, cr=^M, cud1=^J, cuf1=^L, 
13876         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dl1=\ER, ed=^W, 
13877         el=^X, home=^^, il1=\EE, ind=^J, kcud1=^J, kcuf1=^L, kcuu1=^K, 
13878
13879 # From IBM, Thu May  5 19:35:27 1983
13880 # (ibmpc: commented out <smir>=\200R because we don't know <rmir> -- esr)
13881 ibm-pc|ibm5051|5051|IBM Personal Computer (no ANSI.SYS), 
13882         OTbs, am, 
13883         cols#80, lines#24, 
13884         bel=^G, clear=^L^K, cr=^M^^, cub1=^], cud1=^J, cuf1=^\, 
13885         cuu1=^^, home=^K, ind=\n$<10>, kcud1=^_, 
13886
13887 ibmpc|wy60-PC|wyse60-PC|IBM PC/XT running PC/IX, 
13888         OTbs, am, bw, eo, hs, km, msgr, ul, 
13889         cols#80, it#8, lines#24, 
13890         acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263, 
13891         bel=^G, blink=\E[5m, bold=\E[1m, clear=\Ec, cr=^M, 
13892         cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, 
13893         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
13894         cuu=\E[%p1%dA, cuu1=\E[A, ech=\E[%p1%dX, ed=\E[J, el=\E[K, 
13895         home=\E[H, hpa=\E[%i%p1%dG, ind=\E[S\E[B, 
13896         indn=\E[%p1%dS\E[%p1%dB, invis=\E[30;40m, kbs=^H, 
13897         kcbt=^], kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
13898         kdch1=\177, kend=\E[Y, kf1=\240, kf10=\251, kf2=\241, 
13899         kf3=\242, kf4=\243, kf5=\244, kf6=\245, kf7=\246, kf8=\247, 
13900         kf9=\250, khome=\E[H, kich1=\E[^H, knp=\E[U, kpp=\E[V, 
13901         ll=\E[24;1H, nel=^M, rev=\E[7m, ri=\E[T\E[A, 
13902         rin=\E[%p1%dT\E[%p1%dA, rmso=\E[m, rmul=\E[m, 
13903         sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, 
13904         sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
13905
13906 #### Apple II
13907 #
13908 # Apple II firmware console first, then various 80-column cards and 
13909 # terminal emulators.  For two cents I'd toss all these in the UFO file
13910 # along with the 40-column apple entries.
13911 #
13912
13913 # From: brsmith@umn-cs.cs.umn.edu (Brian R. Smith) via BRL
13914 #       'it#8' tells UNIX that you have tabs every 8 columns.  This is a
13915 #               function of TIC, not the firmware.
13916 #       The clear key on a IIgs will do something like clear-screen, 
13917 #               depending on what you're in.
13918 appleIIgs|appleIIe|appleIIc|Apple 80 column firmware interface, 
13919         OTbs, am, bw, eo, msgr, 
13920         cols#80, it#8, lines#24, 
13921         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^\, 
13922         cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
13923         home=^Y, ht=^I, ind=^W, kbs=^H, kclr=^X, kcub1=^H, kcud1=^J, 
13924         kcuf1=^U, kcuu1=^K, kdch1=\177, nel=^M^W, ri=^V, rmso=^N, 
13925         smso=^O, 
13926 # Apple //e with 80-column card, entry from BRL
13927 # The modem interface is permitted to discard LF (maybe DC1), otherwise
13928 # passing characters to the 80-column firmware via COUT (PR#3 assumed).
13929 # Auto-wrap does not work right due to newline scrolling delay, which also
13930 # requires that you set "stty cr2".
13931 # Note: Cursor addressing is only available via the Pascal V1.1 entry,
13932 # not via the BASIC PR#3 hook.  All this nonsense can be avoided only by
13933 # using a terminal emulation program instead of the built-in firmware.
13934 apple2e|Apple //e, 
13935         bw, msgr, 
13936         cols#80, lines#24, 
13937         bel=^G, clear=\014$<100/>, cub1=^H, cud1=^J, cuu1=^_, 
13938         ed=\013$<4*/>, el=\035$<4/>, home=^Y, ht=^I, ind=^W, 
13939         is2=^R^N, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^U, kcuu1=^K, 
13940         nel=\r$<100/>, rev=^O, ri=^V, rmso=^N, rs1=^R^N, sgr0=^N, 
13941         smso=^O, 
13942 # mcvax!vu44!vu45!wilcke uses the "ap" entry together with Ascii Express Pro
13943 # 4.20, with incoming and outgoing terminals both on 0, emulation On.
13944 apple2e-p|Apple //e via Pascal, 
13945         cup=\036%p2%{32}%+%c%p1%{32}%+%c, kbs=^H, kcub1=^H, 
13946         kcud1=^J, use=apple2e, 
13947 # (ASCII Express) MouseTalk "Standard Apple //" emulation from BRL
13948 # Enable DC3/DC1 flow control with "stty ixon -ixany".
13949 apple-ae|ASCII Express, 
13950         OTbs, am, bw, msgr, nxon, xon, 
13951         cols#80, it#8, lines#24, 
13952         bel=\007$<500/>, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^U, 
13953         cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
13954         home=^Y, ind=^W, is2=^R^N, kclr=^X, kcub1=^H, kcud1=^J, 
13955         kcuf1=^U, kcuu1=^K, rev=^O, ri=^V, rmso=^N, rs1=^R^N, sgr0=^N, 
13956         smso=^O, 
13957 appleII|apple ii plus, 
13958         OTbs, am, 
13959         cols#80, it#8, lines#24, 
13960         clear=^L, cnorm=^TC2, cub1=^H, cud1=^J, cuf1=^\, 
13961         cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, cvvis=^TC6, 
13962         ed=^K, el=^], flash=\024G1$<200/>\024T1, home=\E^Y, ht=^I, 
13963         is2=\024T1\016, kcud1=^J, kcuf1=^U, rmso=^N, sgr0=^N, 
13964         smso=^O, 
13965 # Originally by Gary Ford 21NOV83
13966 # From: <ee178aci%sdcc7@SDCSVAX.ARPA>  Fri Oct 11 21:27:00 1985
13967 apple-80|apple II with smarterm 80 col, 
13968         OTbs, am, bw, 
13969         cols#80, lines#24, 
13970         cbt=^R, clear=\014$<10*/>, cr=\r$<10*/>, cub1=^H, cud1=^J, 
13971         cuf1=^\, cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, 
13972         ed=\013$<10*/>, el=\035$<10/>, home=^Y, 
13973 apple-soroc|apple emulating soroc 120, 
13974         am, 
13975         cols#80, lines#24, 
13976         bel=^G, clear=\E*$<300>, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
13977         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EY, el=\ET, 
13978         home=^^, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
13979 # From Peter Harrison, Computer Graphics Lab, San Francisco
13980 #   ucbvax!ucsfmis!harrison  .....uucp
13981 #   ucbvax!ucsfmis!harrison@BERKELEY   .......ARPA
13982 # "These two work.  If you don't have the inverse video chip for the
13983 # Apple with videx then remove the :so: and :se: fields."
13984 # (apple-videx: this used to be called DaleApple -- esr)
13985 apple-videx|Apple with videx videoterm 80 column board with inverse video, 
13986         OTbs, am, xenl, 
13987         cols#80, it#8, lines#24, 
13988         clear=\014$<300/>, cub1=^H, cud1=^J, cuf1=^\, 
13989         cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
13990         home=^Y, ht=^I, kcub1=^H, kcud1=^J, kcuf1=^U, khome=^Y, 
13991         rmso=^Z2, sgr0=^Z2, smso=^Z3, 
13992 # My system [for reference] : Apple ][+, 64K, Ultraterm display card,
13993 #                             Apple Cat ][ 212 modem, + more all
13994 #                             controlled by ASCII Express: Pro.
13995 # From Dave Shaver <isucs1!shaver>
13996 apple-uterm-vb|Videx Ultraterm for Apple micros with Visible Bell, 
13997         OTbs, am, eo, xt, 
13998         cols#80, lines#24, 
13999         acsc=, clear=^L, cuf1=^\, 
14000         cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
14001         flash=^W35^W06, home=^Y, 
14002         is2=^V4^W06\017\rVisible Bell Installed.\016\r\n, 
14003         rmso=^N, smso=^O, 
14004 apple-uterm|Ultraterm for Apple micros, 
14005         OTbs, am, eo, xt, 
14006         cols#80, lines#24, 
14007         acsc=, clear=^L, cuf1=^\, 
14008         cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
14009         home=^Y, is2=^V4^W06\016, rmso=^N, smso=^O, 
14010 # from trwrba!bwong (Bradley W. Wong):
14011 #
14012 # This entry assumes that you are using an apple with the UCSD Pascal
14013 # language card.  SYSTEM.MISCINFO is assumed to be the same as that
14014 # supplied with the standard apple except that screenwidth should be set
14015 # using SETUP to 80 columns.  Note that the right arrow in not mapped in
14016 # this termcap entry.  This is because that key, on the Apple, transmits
14017 # a ^U and would thus preempt the more useful "up" function of vi.
14018 #
14019 # HMH 2/23/81
14020 apple80p|80-column apple with Pascal card, 
14021         am, bw, 
14022         cols#80, lines#24, 
14023         clear=^Y^L, cuf1=^\\:, 
14024         cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
14025         home=^Y, kcub1=^H, 
14026 #
14027 # Apple II+ equipped with Videx 80 column card
14028 #
14029 # Terminfo from ihnp4!ihu1g!djc1 (Dave Christensen) via BRL;
14030 # manually converted by D A Gwyn
14031 #
14032 # DO NOT use any terminal emulation with this data base, it works directly
14033 # with the Videx card.  This has been tested with vi 1200 baud and works fine.
14034 #
14035 # This works great for vi, except I've noticed in pre-R2, ^U will scroll back
14036 # 1 screen, while in R2 ^U doesn't.
14037 # For inverse alternate character set add:
14038 #       <smacs>=^O:<rmacs>=^N:
14039 # (apple-v: added it#8 -- esr)
14040 apple-videx2|Apple II+ w/ Videx card (similar to Datamedia h1520), 
14041         am, xenl, 
14042         cols#80, it#8, lines#24, 
14043         bel=\007$<100/>, clear=\014$<16*/>, cr=^M, cub1=^H, 
14044         cud1=^J, cuf1=^\, cup=\036%p2%{32}%+%c%p1%{32}%+%c, 
14045         cuu1=^_, ed=\013$<16*/>, el=^], home=^Y, ht=\011$<8/>, 
14046         ind=^J, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^\, kcuu1=^_, 
14047         khome=^Y, rmso=^Z2, smso=^Z3, 
14048 apple-videx3|vapple|Apple II with 80 col card, 
14049         OTbs, am, 
14050         cols#80, lines#24, 
14051         clear=\Ev, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
14052         cuu1=\EA, el=\Ex, home=\EH, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
14053         kcuu1=\EA, kf0=\EP, kf1=\EQ, kf2=\ER, kf3=\E\s, kf4=\E!, 
14054         kf5=\E", kf6=\E#, kf7=\E$, kf8=\E%, kf9=\E&, khome=\EH, 
14055 #From: decvax!cbosgd!cbdkc1!mww Mike Warren via BRL
14056 aepro|Apple II+ running ASCII Express Pro--vt52, 
14057         OTbs, 
14058         cols#80, lines#24, 
14059         clear=\014$<300/>, cuf1=\EC, 
14060         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
14061         el=\EK, home=\EH, 
14062 # UCSD addition: Yet another termcap from Brian Kantor's Micro Munger Factory
14063 apple-vm80|ap-vm80|apple with viewmax-80, 
14064         OTbs, 
14065         cols#80, lines#24, 
14066         clear=\014$<300/>, cuf1=^\\:, 
14067         cup=\036%p1%{32}%+%c%p2%{32}%+%c$<100/>, cuu1=^_, 
14068         ed=\013$<300/>, el=^], home=\031$<200/>, 
14069
14070 #### Apple Lisa & Macintosh
14071 #
14072
14073 # (lisa: changed <cvvis> to <cnorm> -- esr)
14074 lisa|apple lisa console display (black on white), 
14075         OTbs, am, eo, msgr, 
14076         cols#88, it#8, lines#32, 
14077         acsc=jdkclfmenbqattuvvuwsx`, civis=\E[5h, clear=^L, 
14078         cnorm=\E[5l, cub1=^H, cud1=\E[B, cuf1=\E[C, 
14079         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
14080         ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L, 
14081         is2=\E>\E[m\014, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
14082         kcuf1=\E[C, kcuu1=\E[A, rmacs=\E[10m, rmso=\E[m, rmul=\E[m, 
14083         sgr0=\E[m, smacs=\E[11m, smso=\E[7m, smul=\E[4m, 
14084 liswb|apple lisa console display (white on black), 
14085         is2=\E>\E[0;7m\014, rmso=\E[0;7m, rmul=\E[0;7m, 
14086         smso=\E[m, smul=\E[4m, use=lisa, 
14087
14088 # lisaterm from ulysses!gamma!epsilon!mb2c!jed (John E. Duncan III) via BRL;
14089 # <is2> revised by Ferd Brundick <fsbrn@BRL.ARPA>
14090 #
14091 # These entries assume that the 'Auto Wraparound' is enabled.
14092 # Xon-Xoff flow control should also be enabled.
14093 #
14094 # The vt100 uses :rs2: and :rf: rather than :is2:/:tbc:/:hts: because the tab
14095 # settings are in non-volatile memory and don't need to be reset upon login.
14096 # Also setting the number of columns glitches the screen annoyingly.
14097 # You can type "reset" to get them set.
14098 #
14099 lisaterm|Apple Lisa or Lisa/2 running LisaTerm vt100 emulation, 
14100         OTbs, OTpt, am, xenl, xon, 
14101         OTkn#4, cols#80, it#8, lines#24, vt#3, 
14102         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
14103         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
14104         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
14105         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, ed=\E[J, 
14106         el=\E[K, home=\E[H, ht=^I, hts=\EH, ind=^J, kbs=^H, kcub1=\EOD, 
14107         kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOP, kf1=\EOQ, 
14108         kf2=\EOR, kf3=\EOS, lf0=F1, lf1=F2, lf2=F3, lf3=F4, rc=\E8, 
14109         rev=\E[7m, ri=\EM, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
14110         rs1=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r, 
14111         sc=\E7, sgr0=\E[m, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
14112         tbc=\E[3g, 
14113 # Lisaterm in 132 column ("wide") mode.
14114 lisaterm-w|Apple Lisa with Lisaterm in 132 column mode, 
14115         cols#132, 
14116         kbs=^H, kcub1=^H, kcud1=^J, use=lisaterm, 
14117 # Although MacTerminal has insert/delete line, it is commented out here
14118 # since it is much faster and cleaner to use the "lock scrolling region"
14119 # method of inserting and deleting lines due to the MacTerminal implementation.
14120 # Also, the "Insert/delete ch" strings have an extra character appended to them
14121 # due to a bug in MacTerminal V1.1.  Blink is disabled since it is not
14122 # supported by MacTerminal.
14123 mac|macintosh|Macintosh with MacTerminal, 
14124         xenl, 
14125         OTdN#30, 
14126         blink@, dch1=\E[P$<7/>, ich1=\E[@$<9/>, ip=$<7/>, use=lisa, 
14127 # Lisaterm in 132 column ("wide") mode.
14128 mac-w|macterminal-w|Apple Macintosh with Macterminal in 132 column mode, 
14129         cols#132, use=mac, 
14130
14131 #### Radio Shack/Tandy
14132 #
14133
14134 # (coco3: This had "ta" used incorrectly as a boolean and bl given as "bl#7".
14135 # I read these as mistakes for ":it#8:" and ":bl=\007:" respectively -- esr)
14136 # From: <{pbrown,ctl}@ocf.berkeley.edu> 12 Mar 90
14137 coco3|os9LII|Tandy CoCo3 24*80 OS9 Level II, 
14138         OTbs, am, 
14139         cols#80, it#8, lines#24, 
14140         bel=^G, blink=^_", bold=\E\:^A, civis=^E\s, 
14141         clear=\014$<5*/>, cnorm=^E!, cub1=^H, cud1=^J, cuf1=^F, 
14142         cup=\002%p2%{32}%+%c%p1%{32}%+%c$<2/>, cuu1=^I, 
14143         dl1=^_1, ed=^K, el=^D, home=^A, il1=^_0, kcub1=^H, kcud1=^J, 
14144         kcuf1=^I, kcuu1=^L, rev=^_\s, rmso=^_!, rmul=^_#, 
14145         sgr0=\037!\E\:\0, smso=^_\s, smul=^_", 
14146 # (trs2: removed obsolete ":nl=^_:" -- esr)
14147 trs2|trsII|trs80II|Radio Shack Model II using P&T CP/M, 
14148         OTbs, am, msgr, 
14149         cols#80, it#8, lines#24, 
14150         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^_, cuf1=^], 
14151         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^^, dl1=^K, ed=^B, 
14152         el=^A, home=^F, ht=^I, il1=^D, ind=^J, kbs=^H, kcub1=^\, 
14153         kcud1=^_, kcuf1=^], kcuu1=^^, rmso=^O, sgr0=^O, smso=^N, 
14154 # From: Kevin Braunsdorf <ksb@mentor.cc.purdue.edu>
14155 # (This had extension capabilities
14156 #       :BN=\E[?33h:BF=\E[?33l:UC=\E[_ q:BC=\E[\177 q:\
14157 #       :CN=\ERC:CF=\ERc:NR=\ERD:NM=\ER@:
14158 # I also deleted the unnecessary ":kn#2:", ":sg#0:" -- esr)
14159 trs16|trs-80 model 16 console, 
14160         OTbs, am, 
14161         cols#80, it#8, lines#24, 
14162         acsc=jak`l_mbquvewcxs, bel=^G, civis=\ERc, clear=^L, 
14163         cnorm=\ERC, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC, 
14164         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ, 
14165         dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EP, il1=\EL, 
14166         ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
14167         kf0=^A, kf1=^B, kf2=^D, kf3=^L, kf4=^U, kf5=^P, kf6=^N, kf7=^S, 
14168         khome=^W, lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7, 
14169         lf7=f8, mc4=\E]+, mc5=\E]=, rmacs=\ERg, rmso=\ER@, sgr0=\ER@, 
14170         smacs=\ERG, smso=\ERD, 
14171
14172 #### Atari ST
14173 #
14174
14175 # From: Simson L. Garfinkel <simsong@media-lab.mit.edu>
14176 atari|atari st, 
14177         OTbs, am, 
14178         cols#80, it#8, lines#25, 
14179         clear=\EH\EJ, cub1=\ED, cud1=\EB, cuf1=\EC, 
14180         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM, 
14181         ed=\EJ, el=\EK, ht=^I, il1=\EL, kcub1=\ED, kcud1=\EB, 
14182         kcuf1=\EC, kcuu1=\EA, ri=\EI, rmso=\Eq, sgr0=\Eq, smso=\Ep, 
14183 # UniTerm terminal program for the Atari ST:  49-line VT220 emulation mode
14184 # From: Paul M. Aoki <aoki@ucbvax.berkeley.edu>
14185 uniterm|uniterm49|UniTerm VT220 emulator with 49 lines, 
14186         lines#49, 
14187         is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;49r\E[49;1H, 
14188         use=vt220, 
14189 # MiNT VT52 emulation. 80 columns, 25 rows.
14190 # MiNT is Now TOS, the operating system which comes with all Ataris now
14191 # (mainly Atari Falcon). This termcap is for the VT52 emulation you get
14192 # under tcsh/zsh/bash/sh/ksh/ash/csh when you run MiNT in `console' mode
14193 # From: Per Persson <pp@gnu.ai.mit.edu>, 27 Feb 1996
14194 st52|Atari ST with VT52 emulation, 
14195         am, km, 
14196         cols#80, lines#25, 
14197         bel=^G, civis=\Ef, clear=\EH\EJ, cnorm=\Ee, cr=^M, cub1=\ED, 
14198         cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
14199         cuu1=\EA, dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, il1=\EL, 
14200         ind=^J, ka1=\E#7, ka3=\E#5, kb2=\E#9, kbs=^H, kc1=\E#1, 
14201         kc3=\E#3, kclr=\E#7, kcub1=\E#K, kcud1=\E#P, kcuf1=\E#M, 
14202         kcuu1=\E#H, kf0=\E#D, kf1=\E#;, kf2=\E#<, kf3=\E#=, kf4=\E#>, 
14203         kf5=\E#?, kf6=\E#@, kf7=\E#A, kf8=\E#B, kf9=\E#C, khome=\E#G, 
14204         kil1=\E#R, kind=\E#2, kri=\E#8, lf0=f10, nel=^M^J, rc=\Ek, 
14205         ri=\EI, rmcup=, rmso=\Eq, rs1=\Ez_\Eb@\EcA, sc=\Ej, sgr0=\Eq, 
14206         smcup=\Ee, smso=\Ep, 
14207  
14208 #### Commodore Business Machines
14209 #
14210 # Formerly located in West Chester, PA; went spectacularly bust in 1994
14211 # after years of shaky engineering and egregious mismanagement.  Made one
14212 # really nice machine (the Amiga) and boatloads of nasty ones (PET, C-64,
14213 # C-128, VIC-20).  The C-64 is said to have been the most popular machine
14214 # ever (most units sold); they can still be found gathering dust in closets
14215 # everywhere.
14216 #
14217
14218 # From: Kent Polk <kent@swrinde.nde.swri.edu>, 30 May 90
14219 # Added a few more entries, converted caret-type control sequence (^x) entries
14220 # to '\0xx' entries since a couple of people mentioned losing '^x' sequences.
14221 # Corrections by Ty Sarna <tsarna@endicor.com>, Sat Feb 28 18:55:15 1998
14222 #
14223 # :as:, :ae:                    Support for alternate character sets.
14224 # :ve=\E[\040p:vi=\E[\060\040p: cursor visible/invisible.
14225 # :xn:  vt100 kludginess at column 80/NEWLINE ignore after 80 cols(Concept)
14226 #     This one appears to fix a problem I always had with a line ending
14227 #     at 'width+1' (I think) followed by a blank line in vi. The blank
14228 #     line tended to disappear and reappear depending on how the screen
14229 #     was refreshed. Note that this is probably needed only if you use
14230 #     something like a Dnet Fterm with the window sized to some peculiar
14231 #     dimension larger than 80 columns.
14232 # :k0=\E9~:     map F10 to k0 - could have F0-9 -> k0-9, but ... F10 was 'k;'
14233 # (amiga: removed obsolete :kn#10:,
14234 # also added empty <acsc> to suppress a warning --esr)
14235 amiga|Amiga ANSI, 
14236         OTbs, am, bw, xenl, 
14237         cols#80, lines#24, 
14238         acsc=, bel=^G, blink=\E[7;2m, bold=\E[1m, cbt=\E[Z, 
14239         civis=\E[0 p, clear=\E[H\E[J, cnorm=\E[ p, cub=\E[%p1%dD, 
14240         cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, 
14241         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
14242         cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
14243         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, 
14244         ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S, 
14245         indn=\E[%p1%dS, invis=\E[8m, is2=\E[20l, kbs=^H, 
14246         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\E[9~, 
14247         kf1=\E[0~, kf2=\E[1~, kf3=\E[2~, kf4=\E[3~, kf5=\E[4~, 
14248         kf6=\E[5~, kf7=\E[6~, kf8=\E[7~, kf9=\E[8~, rev=\E[7m, 
14249         ri=\E[T, rin=\E[%p1%dT, rmacs=^O, rmso=\E[m, rmul=\E[m, 
14250         rs1=\Ec, sgr0=\E[m, smacs=^N, smso=\E[7m, smul=\E[4m, 
14251
14252 # From: Hans Verkuil <hans@wyst.hobby.nl>, 4 Dec 1995
14253 # (amiga: added empty <acsc> to suppress a warning.
14254 # I'm told this entry screws up badly with AS225, the Amiga
14255 # TCP/IP package once from Commodore, and now sold by InterWorks.--esr)
14256 amiga-h|Hans Verkuil's Amiga ANSI, 
14257         OTbs, bw, msgr, 
14258         cols#80, lines#24, 
14259         acsc=, bel=^G, blink=\2337;2m, bold=\2331m, cbt=\233Z, 
14260         civis=\2330 p, clear=\233H\233J, cnorm=\233 p, cr=^M, 
14261         cub=\233%p1%dD, cub1=\233D, cud=\233%p1%dB, cud1=\233B, 
14262         cuf=\233%p1%dC, cuf1=\233C, cup=\233%i%p1%d;%p2%dH, 
14263         cuu=\233%p1%dA, cuu1=\233A, dch=\233%p1%dP, dch1=\233P, 
14264         dim=\2332m, ech=\233%p1%dP, ed=\233J, el=\233K, flash=^G, 
14265         home=\233H, ht=^I, ich=\233%p1%d@, ich1=\233@, ind=\233S, 
14266         indn=\233%p1%dS, invis=\2338m, is2=\23320l, kbs=^H, 
14267         kcub1=\233D, kcud1=\233B, kcuf1=\233C, kcuu1=\233A, 
14268         kdch1=\177, kf0=\2339~, kf1=\2330~, kf2=\2331~, kf3=\2332~, 
14269         kf4=\2333~, kf5=\2334~, kf6=\2335~, kf7=\2336~, kf8=\2337~, 
14270         kf9=\2338~, nel=\233B\r, rev=\2337m, ri=\233T, 
14271         rin=\233%p1%dT, rmacs=^O, rmcup=\233?7h, rmso=\2330m, 
14272         rmul=\2330m, rs1=\Ec, sgr0=\2330m, smacs=^N, smcup=\233?7l, 
14273         smso=\2337m, smul=\2334m, 
14274
14275 # From: Henning 'Faroul' Peters <Faroul@beyond.kn-bremen.de>, 25 Sep 1999
14276 amiga-8bit|Amiga ANSI using 8-bit controls, 
14277         acsc=, dl=\233%p1%dM, dl1=\233M, il=\233%p1%dL, il1=\233L, 
14278         ind=\204, indn@, ri=\215, rin@, use=amiga-h, 
14279
14280 # Commodore B-128 microcomputer from Doug Tyrol <det@HEL-ACE.ARPA>
14281 #       I'm trying to write a termcap for a commodore b-128, and I'm
14282 # having a little trouble. I've had to map most of my control characters
14283 # to something that unix will accept (my delete-char is a ctrl-t, etc),
14284 # and create some functions (like cm), but thats life.
14285 #       The problem is with the arrow keys - right, and up work fine, but
14286 # left deletes the previous character and down I just can't figure out.
14287 # Jove knows what I want, but I don't know what it's sending to me (it
14288 # isn't thats bound to next-line in jove).
14289 #       Anybody got any ideas? Here's my termcap.
14290 # DAG -- I changed his "^n" entries to "\n"; see if that works.
14291 #
14292 commodore|b-128|Commodore B-128 micro, 
14293         am, bw, 
14294         OTdN#20, cols#80, lines#24, pb#150, 
14295         OTbc=^H, OTnl=^M, clear=\E\006$<10/>, cr=^M, cud1=^J, 
14296         cuf1=^F, cup=\E\013%p1%2d\,%p2%2d\,$<20/>, cuu1=^P, 
14297         dch1=\177$<10*/>, dl1=\Ed$<10*/>, el=\Eq$<10/>, 
14298         home=\E^E, ht=\011$<5/>, ich1=\E\n$<5/>, il1=\Ei$<10/>, 
14299         kcub1=^B, kcud1=^J, kcuf1=^F, kcuu1=^P, khome=\E^E, rmir=, 
14300         smir=, 
14301
14302 #### North Star
14303 #
14304 # North Star Advantage from Lt. Fickie <brl-ibd!fickie> via BRL
14305 northstar|North Star Advantage, 
14306         OTbs, 
14307         cols#80, lines#24, 
14308         clear=\004$<200/>, 
14309         cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<1/>, ed=\017$<200/>, 
14310         el=\016$<200/>, home=\034\032$<200/>, 
14311
14312 #### Osborne
14313 #
14314 # Thu Jul  7 03:55:16 1983
14315 #       
14316 # As an aside, be careful; it may sound like an anomaly on the 
14317 # Osborne, but with the 80-column upgrade, it's too easy to 
14318 # enter lines >80 columns!
14319 #       
14320 # I've already had several comments...
14321 # The Osborne-1 with the 80-col option is capable of being 
14322 # 52, 80, or 104 characters wide; default to 80 for compatibility 
14323 # with most systems.
14324 #       
14325 # The tab is destructive on the Ozzie; make sure to 'stty -tabs'.
14326 osborne-w|osborne1-w|osborne I in 104-column mode, 
14327         msgr, ul, xt, 
14328         cols#104, lines#24, 
14329         bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
14330         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
14331         dl1=\ER, el=\ET, ich1=\EQ, il1=\EE, ind=^J, kcub1=^H, kcud1=^J, 
14332         kcuf1=^L, kcuu1=^K, rmso=\E(, rmul=\Em, smso=\E), smul=\El, 
14333 # Osborne I     from ptsfa!rhc (Robert Cohen) via BRL
14334 osborne|osborne1|osborne I in 80-column mode, 
14335         OTbs, am, mir, msgr, ul, xhp, 
14336         OTdB#4, cols#80, lines#24, 
14337         clear=^Z, cub1=\010$<4>, cud1=^J, cuf1=^L, 
14338         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
14339         dch1=\EW$<4/>, dl1=\ER, el=\ET, il1=\EE, is2=^Z, kbs=^H, 
14340         kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, rmir=, rmso=\E), 
14341         rmul=\Em, smir=\EQ, smso=\E(, smul=\El, 
14342 #
14343 # Osborne Executive definition from BRL
14344 # Similar to tvi920
14345 # Added by David Milligan and Tom Smith (SMU)
14346 osexec|Osborne executive, 
14347         OTbs, am, 
14348         OTug#1, cols#80, lines#24, xmc#1, 
14349         OTnl=^J, bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
14350         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
14351         dl1=\ER, ed=\EY, el=\ET, home=^^, hts=\E1, ich1=\EQ, il1=\EE, 
14352         is2=\Eq\Ek\Em\EA\Ex0, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, 
14353         kcuu1=^K, kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r, 
14354         kf4=^AD\r, kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, 
14355         kf9=^AI\r, rmir=, rmso=\Ek, rmul=\Em, smir=, smso=\Ej, 
14356         smul=\El, tbc=\E3, 
14357
14358 #### Console types for obsolete UNIX clones
14359 #
14360 # Coherent, Minix, Venix, and several lesser-known kin were OSs for 8088
14361 # machines that tried to emulate the UNIX look'n'feel.  Coherent and Venix
14362 # were commercial, Minix an educational tool sold in conjunction with a book.
14363 # Memory-segmentation limits and a strong tendency to look like V7 long after
14364 # it was obsolete made all three pretty lame.  Venix croaked early.  Coherent
14365 # and Minix were ported to 32-bit Intel boxes, only to be run over by a
14366 # steamroller named `Linux' (which, to be fair, traces some lineage to Minix). 
14367 # Coherent's vendor, the Mark Williams Company, went belly-up in 1994.  There
14368 # are also, I'm told, Minix ports that ran on Amiga and Atari machines and
14369 # even as single processes under SunOS and the Macintosh OS.
14370 #
14371
14372 # This is the entry provided with minix 1.7.4, with bogus :ri: removed.
14373 minix|minix console (v1.7), 
14374         am, xenl, 
14375         cols#80, it#8, lines#25, 
14376         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[0J, cr=^M, 
14377         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, 
14378         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
14379         cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
14380         dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[K, home=\E[H, ht=^I, 
14381         ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
14382         is2=\E[0m, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
14383         kcuu1=\E[A, kf0=\E[Y, kf1=\E[V, kf2=\E[U, kf3=\E[T, kf4=\E[S, 
14384         kf5=\E[G, khome=\E[H, lf0=End, lf1=PgUp, lf2=PgDn, lf3=Num +, 
14385         lf4=Num -, lf5=Num 5, nel=^M^J, rev=\E[7m, ri=\EM, 
14386         rmso=\E[0m, rmul=\E[0m, sgr0=\E[0m, smso=\E[7m, smul=\E[4m, 
14387 # Corrected Jan 14, 1997 by Vincent Broman <broman@nosc.mil>
14388 minix-old|minix console (v1.5), 
14389         xon, 
14390         cols#80, it#8, lines#25, 
14391         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[0J, cr=^M, 
14392         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, 
14393         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
14394         cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
14395         dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[K, home=\E[H, ht=^I, 
14396         ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
14397         kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
14398         kf0=\E[Y, kf1=\E[V, kf2=\E[U, kf3=\E[T, kf4=\E[S, kf5=\E[G, 
14399         khome=\E[H, nel=^M^J, rev=\E[7m, ri=\EM, rmso=\E[0m, 
14400         rmul=\E[0m, sgr0=\E[0m, smso=\E[7m, smul=\E[4m, 
14401 # The linewrap option can be specified by editing /usr/include/minix/config.h
14402 # before recompiling the minix 1.5 kernel.
14403 minix-old-am|minix console with linewrap, 
14404         am, use=minix-old, 
14405
14406 pc-minix|minix console on an Intel box, 
14407         use=klone+acs, use=minix, 
14408
14409 # According to the Coherent 2.3 manual, the PC console is similar
14410 # to a z19. The differences seem to be (1) 25 lines, (2) no status
14411 # line, (3) standout is broken, (4) ins/del line is broken, (5)
14412 # has blinking and bold.
14413 pc-coherent|pcz19|coherent|IBM PC console running Coherent, 
14414         am, mir, 
14415         cols#80, it#8, lines#25, 
14416         bel=^G, clear=\EE, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC, 
14417         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EN, 
14418         ed=\EJ, el=\EK, home=\EH, ht=^I, ind=^J, kbs=^H, kcub1=\ED, 
14419         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\EH, ri=\EI, rmir=\EO, 
14420         rmso=\Eq, sgr0=\Eq, smir=\E@, smso=\Ep, 
14421
14422 # According to the Venix 1.1 manual, the PC console is similar
14423 # to a DEC vt52.  Differences seem to be (1) arrow keys send 
14424 # different strings, (2) enhanced standout, (3) added insert/delete line.
14425 # Note in particular that it doesn't have automatic margins.
14426 # There are other keys (f1-f10, kpp, knp, kcbt, kich1, kdch1) but they
14427 # not described here because this derives from an old termcap entry.
14428 pc-venix|venix|IBM PC console running Venix, 
14429         cols#80, it#8, lines#25, 
14430         bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
14431         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM, 
14432         ed=\EJ, el=\EK, ht=^I, il1=\EL, ind=^J, kbs=^H, kcub1=\EK, 
14433         kcud1=\EP, kcuf1=\EM, kcuu1=\EH, khome=\EG, ri=\EI, 
14434
14435 #### Miscellaneous microcomputer consoles
14436 #
14437 # If you know anything more about any of these, please tell me.
14438 #
14439
14440 # The MAI Basic Four computer was obsolete at the end of the 1980s.
14441 # It may be used as a terminal by putting it in "line" mode as seen on 
14442 # one of the status lines.
14443 # Initialization is similar to CIT80. <is2> will set ANSI mode for you.  
14444 # Hardware tabs set by <if> at 8-spacing.  Auto line wrap causes glitches so
14445 # wrap mode is reset by <cvvis>.  Using <ind>=\E[S caused errors so I 
14446 # used \ED instead.
14447 # From: bf347@lafn.org (David Lawyer), 28 Jun 1997
14448 mai|basic4|MAI Basic Four in ansi mode, 
14449         am, da, db, mir, msgr, 
14450         cols#82, it#8, lines#25, 
14451         bel=^G, blink=\E[5m, bold=\E[1m, clear=^]^_, cnorm=\E[?7h, 
14452         cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=^X, 
14453         cup=\E[%i%p1%d;%p2%dH, cuu1=^Z, cvvis=\E[?7l, dch1=\E[1P, 
14454         dl1=\E[M, ed=^_, el=^^, home=^], ht=^I, 
14455         if=/usr/lib/tabset/vt100, il1=\E[L, ind=\ED, 
14456         is2=\E>\E[?1h\E[?7h\E[?5l\017\E(B\E[m\E[20l\E[1;24r\E[24;1H, 
14457         kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
14458         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, 
14459         kf7=\EOV, kf8=\EOW, nel=^M\ED, rc=\E8, rev=\E[7m, ri=\E[T, 
14460         rmir=\E[4l, rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m, 
14461         smir=\E[4h, smso=\E[7m, smul=\E[4m, 
14462 # basis from Peter Harrison, Computer Graphics Lab, San Francisco
14463 #   ucbvax!ucsfmis!harrison ...uucp / ucbvax!ucsfmis!harrison@BERKELEY ...ARPA
14464 #
14465 # On Sat, 7 Aug 1999, Torsten Jerzembeck <toje@nightingale.ms.sub.org> wrote:
14466 # The Basis 108 was a Apple II clone, manufactured by the "Basis
14467 # Mikrocomputer GmbH" in Munster, Germany (the company still exists today,  
14468 # about 1,5 km from where I live, but doesn't build own computers any
14469 # more). A Basis 108 featured a really heavy (cast aluminium?) case, was
14470 # equipped with one or two 5.25" disk drives, had a monochrome and colour
14471 # video output for a TV set or a dedicated monitor and several slots for
14472 # Apple II cards. Basis 108 were quite popular at german schools before
14473 # the advent of the IBM PC. They run, for example, the UCSD Pascal
14474 # development system (which I used even in 1993 to program the steering
14475 # and data recording for our school's experimental solar panel :), Apple DOS
14476 # or CP/M.
14477 # (basis: removed obsolete ":ma=^K^P^R^L^L :nl=5000*^J:" -- esr)
14478 basis|BASIS108 computer with terminal translation table active, 
14479         clear=\E*$<300/>, cud1=\n$<5000/>, ed=\EY, el=\ET, kbs=^H, 
14480         kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, rmso=\E), sgr0=\E), 
14481         smso=\E(, use=adm3a, 
14482 # luna's BMC terminal emulator
14483 luna|luna68k|LUNA68K Bitmap console, 
14484         cols#88, lines#46, use=ansi-mini, 
14485 megatek|pegasus workstation terminal emulator, 
14486         am, os, 
14487         cols#83, lines#60, 
14488 # The Xerox 820 was a Z80 micro with a snazzy XEROX PARC-derived 
14489 # interface (pre-Macintosh by several years) that went nowhere.
14490 xerox820|x820|Xerox 820, 
14491         am, 
14492         cols#80, lines#24, 
14493         bel=^G, clear=1^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
14494         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=^Q, el=^X, 
14495         home=^^, ind=^J, 
14496
14497 #### Videotex and teletext
14498 #
14499
14500 # \E\:1}        switch to te'le'informatique mode (ascii terminal/ISO 6429)
14501 # \E[?3l        80 columns
14502 # \E[?4l        scrolling on
14503 # \E[12h        local echo off
14504 # \Ec           reset: G0 U.S. charset (to get #,@,{,},...), 80 cols, clear screen
14505 # \E)0          G1 DEC set (line graphics)
14506 #
14507 # From: Igor Tamitegama <igor@ppp1493-ft.teaser.fr>, 18 Jan 1997
14508 m2-nam|minitel|minitel-2|minitel-2-nam|France Telecom Minitel 2 mode te'le'informatique, 
14509         OTbs, eslok, hs, xenl, 
14510         cols#80, it#8, lines#24, wsl#72, xmc#0, 
14511         acsc=aaffggjjkkllmmnnooqqssttuuvvwwxx, bel=^G, 
14512         blink=\E[5m, bold=\E[1m, civis=\E[<1h, clear=\E[H\E[J, 
14513         cnorm=\E[<1l, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
14514         cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, 
14515         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
14516         cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
14517         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, flash=^G, fsl=^J, 
14518         home=\E[H, ht=^I, il=\E[%p1%dL, il1=\E[L, ind=^J, indn=^J, 
14519         ip=$<7/>, is1=\E\:1}\Ec\E[?4l\E[12h, is2=\Ec\E[12h\E)0, 
14520         is3=\E[?3l kbs=\010, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, 
14521         kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, kf0=\EOp, 
14522         kf1=\EOq, kf10=\EOp, kf2=\EOr, kf3=\EOs, kf4=\EOt, kf5=\EOu, 
14523         kf6=\EOv, kf7=\EOw, kf8=\EOx, kf9=\EOy, khome=\E[H, 
14524         kich1=\E[4h, kil1=\E[4l, knp=\EOn, kpp=\EOR, ll=\E[24;80H, 
14525         mc0=\E[i, nel=^M^J, rc=\E8, rev=\E[7m, ri=\EM, rin=\EM, 
14526         rmacs=^O, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m, 
14527         rs1=\Ec\E[?4l\E[12h, rs2=\Ec\E)0, sc=\E7, sgr0=\E[m, 
14528         smacs=^N, smir=\E[4h, smso=\E[7m, smul=\E[4m, tsl=^_@A, 
14529         u6=\E[%i%d;%dR, u7=\E[6n, 
14530
14531 # From: Alexandre Montaron <canal@mygale.org>, 18 Jun 1998
14532 #
14533 minitel1|minitel 1, 
14534         am, bw, eslok, hs, hz, msgr, 
14535         colors#8, cols#40, lines#24, pairs#8, 
14536         acsc=+.\,\,./f0g1, bel=^G, blink=\EH, civis=^T, clear=^L, 
14537         cnorm=^Q, cr=^M, cub1=^H, cud1=^J, cuf1=^I, 
14538         cup=\037%p1%{65}%+%c%p2%{65}%+%c, cuu1=^K, el=^X, 
14539         enacs=^Y, fsl=^J, home=^^, ind=^J, 
14540         is2=\E;`ZQ\E\:iC\E\:iE\021, nel=^M^J, op=\EG, 
14541         rep=%p1%c\022%p2%{63}%+%c, rev=\E], ri=^K, rmso=\E\\, 
14542         setf=\E%?%p1%{1}%=%tD%e%p1%{3}%=%tF%e%p1%{4}%=%tA%e%p1%{6}%=%tC%e%p1%{64}%+%c%;, 
14543         sgr=%?%p1%t\E]%;%?%p3%t\E]%;%?%p4%t\EH%;, 
14544         sgr0=\EI\E\\, smso=\E], tsl=\037@%p1%{65}%+%c, 
14545 # is2=Fnct TE, Fnct MR, Fnct CM et pour finir: curseur ON.
14546 minitel1b|minitel 1-bistandard (in 40cols mode), 
14547         mir, 
14548         cub=\E[%p1%dD, cud=\E[%p1%dB, cuf=\E[%p1%dC, 
14549         cuu=\E[%p1%dA, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
14550         dl1=\E[M, ed=\E[J, el1=\E[1K, il=\E[%p1%dL, il1=\E[L, 
14551         is1=\E;iYA\E;jYC, kclr=\E[2J, kctab=^I, kcub1=\E[D, 
14552         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, 
14553         kel=^X, khome=\E[H, kich1=\E[4h, kil1=\E[L, rmir=\E[4l, 
14554         smir=\E[4h, smkx=\E;iYA\E;jYC, use=minitel1, 
14555 # <rmkx> posait des problemes (logout en sortant de vi).
14556 minitel1b-80|minitel 1-bistandard (standard teleinformatique), 
14557         am@, bw@, hz@, 
14558         colors@, cols#80, it#8, pairs@, 
14559         blink=\E[5m, bold=\E[1m, civis=\037@A\024\n, 
14560         clear=\E[H\E[2J, cnorm=\037@A\021\n, cuf1=\E[C, 
14561         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H, 
14562         ht=^I, ind=\ED, is1@, is2@, kent=\EOM, kf0=\EOp, kf1=\EOq, 
14563         kf2=\EOr, kf3=\EOs, kf4=\EOt, kf5=\EOu, kf6=\EOv, kf7=\EOw, 
14564         kf8=\EOx, kf9=\EOy, nel=\EE, op@, rc=\E8, rep@, rev=\E[7m, 
14565         ri=\EM, rmkx@, rmso=\E[27m, rmul=\E[24m, sc=\E7, setf@, 
14566         sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m, 
14567         sgr0=\E[m, smkx@, smso=\E[7m, smul=\E[4m, use=minitel1b, 
14568
14569 ######## OBSOLETE VDT TYPES
14570 #
14571 # These terminals are *long* dead -- these entries are retained for
14572 # historical interest only.
14573
14574 #### Amtek Business Machines
14575 #
14576
14577 # (abm80: early versions of this entry apparently had ":se=\E^_:so=\E^Y",
14578 # but these caps were commented out in 8.3; also, removed overridden
14579 # ":do=^J:" -- esr)
14580 abm80|amtek business machines 80, 
14581         OTbs, am, bw, 
14582         cols#80, lines#24, 
14583         cbt=^T, clear=\E^\, cub1=^H, cud1=\E^K, cuf1=^P, 
14584         cup=\E\021%p2%{32}%+%c%p1%{32}%+%c, cuu1=\E^L, 
14585         dl1=\E^S, ed=\E^X, el=\E^O, home=\E^R, il1=\E^Z, 
14586
14587 #### Bell Labs blit terminals
14588 #
14589 # These were AT&T's official entries.  The 5620 FAQ maintained by 
14590 # David Breneman <daveb@dgtl.com> has this to say:
14591 #
14592 #  Actually, in the beginning was the Jerq, and the Jerq was white with a
14593 #  green face, and Locanthi and Pike looked upon the Jerq and said the Jerq
14594 #  was good.  But lo, upon the horizon loomed a mighty management-type person
14595 #  (known now only by the initials VP) who said, the mighty Jerq must stay
14596 #  alone, and could not go forth into the world. So Locanthi and Pike put the
14597 #  Jerq to sleep, cloned its parts, and the Blit was brought forth unto the
14598 #  world. And the Jerq lived the rest of its days in research, but never
14599 #  strayed from those paths.
14600 #
14601 #  In all seriousness, the Blit was originally known as the Jerq, but when
14602 #  it started to be shown outside of the halls of the Bell Labs Research
14603 #  organization, the management powers that be decided that the name could
14604 #  not remain. So it was renamed to be Blit. This was in late 1981.
14605 #
14606 # (The AT&T 5620 was the commercialized Blit.  Its successors were the 630,
14607 # 730, and 730+.)
14608 #
14609
14610 blit|jerq|blit running teletype rom, 
14611         am, eo, ul, xon, 
14612         cols#87, it#8, lines#72, 
14613         bel=^G, clear=^L, cr=^M, cub1=\ED, cud1=^J, cuf1=\EC, 
14614         cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, 
14615         dch=\Ee%p1%{32}%+%c, dch1=\Ee!, dl=\EE%p1%{32}%+%c, 
14616         dl1=\EE!, el=\EK, ht=^I, ich=\Ef%p1%{32}%+%c, ich1=\Ef!, 
14617         il=\EF%p1%{32}%+%c, il1=\EF!, ind=^J, kbs=^H, kcub1=\ED, 
14618         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf1=\Ex, kf2=\Ey, kf3=\Ez, 
14619
14620 # (cbblit: here's a BSD termcap that says <cud1=\EG> -- esr)
14621 cbblit|fixterm|blit running columbus code, 
14622         cols#88, 
14623         ed=\EJ, flash=\E^G, ich1@, mc4=^T, mc5=^R, mc5p=\EP%p1%03d, 
14624         rmir=\ER, rmso=\EV!, rmul=\EV", smir=\EQ, smso=\EU!, 
14625         smul=\EU", use=blit, 
14626
14627 oblit|ojerq|first version of blit rom, 
14628         am, da, db, eo, mir, ul, xon, 
14629         cols#88, it#8, lines#72, 
14630         bel=^G, clear=^L, cr=^M, cub1=\ED, cud1=^J, cuf1=\EC, 
14631         cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, dch1=\EO, 
14632         dl=\Ee%p1%{32}%+%c, dl1=\EE, ed=\EJ, el=\EK, flash=\E^G, 
14633         ht=^I, il=\Ef%p1%{32}%+%c, il1=\EF, ind=^J, kbs=^H, rmir=\ER, 
14634         smir=\EQ, 
14635
14636 #### Bolt, Beranek & Newman (bbn)
14637 #
14638 # The BitGraph was a product of the now-defunct BBN Computer Corporation.
14639 # The parent company, best known as the architects of the Internet, is
14640 # still around.
14641 #
14642 # Jeff DelPapa <dp@world.std.com> writes:
14643 # The bitgraph was a large white box that contained a monochrome bitmap
14644 # display, and a 68000 to run it.  You could download code and run it on
14645 # the cpu, it had 128kb (I think) of memory.  I used one in the late
14646 # 70's, sure beat a vt100.  It had one strange feature tho -- it used
14647 # the cpu to bitblt pixels to scroll, it took longer than the refresh
14648 # rate, and looked like a rubber sheet stretching, then snapping
14649 # upwards.  It had everything the early mac had, except a floppy drive a
14650 # small screen (it had a 17" crisp beauty) and a real OS. They (Bolt
14651 # Beranek and Neuman) sold at most a few hundred of them to the real
14652 # world.  DOD may have bought more...
14653
14654
14655 # Entries for the BitGraph terminals.  The problem 
14656 # with scrolling in vi can only be fixed by getting BBN to put 
14657 # smarter scroll logic in the terminal or changing vi or padding 
14658 # scrolls with about 500 ms delay.
14659 #       
14660 # I always thought the problem was related to the terminal 
14661 # counting newlines in its input buffer before scrolling and 
14662 # then moving the screen that much. Then vi comes along and 
14663 # paints lines in on the bottom line of the screen, so you get 
14664 # this big white gap.
14665
14666 bitgraph|bg2.0nv|bg3.10nv|bbn bitgraph 2.0 or later (normal video), 
14667         flash=\E[?5h$<200/>\E[?5l, is2=\E>\E[?5l\E[?7h, 
14668         use=bg2.0, 
14669 bg2.0rv|bg3.10rv|bbn bitgraph 2.0 (reverse video), 
14670         flash=\E[?5l$<200/>\E[?5h, is2=\E>\E[?5h\E[?7h, 
14671         use=bg2.0, 
14672 bg2.0|bg3.10|bbn bitgraph 2.0 or later (no init), 
14673         OTbs, xenl, 
14674         cols#85, lines#64, 
14675         bel=^G, clear=\E[H\E[J$<150>, cr=^M, 
14676         csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C, 
14677         cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, dl1=\E[M$<2*>, 
14678         ed=\E[J$<150>, el=\E[K$<2>, ht=^I, il1=\E[L$<2*>, 
14679         ind=\n$<280>, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
14680         kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, lf1=PF1, 
14681         lf2=PF2, lf3=PF3, lf4=PF4, rc=\E8, rmkx=\E>, rmso=\E[m, sc=\E7, 
14682         sgr0=\E[m, smkx=\E=, smso=\E[7m, 
14683
14684 bg1.25rv|bbn bitgraph 1.25 (reverse video), 
14685         flash=\E[?5l$<200/>\E[?5h, is2=\E>\E[?5h\E[?7h, 
14686         use=bg1.25, 
14687 bg1.25nv|bbn bitgraph 1.25 (normal video), 
14688         flash=\E[?5h$<200/>\E[?5l, is2=\E>\E[?5l\E[?7h, 
14689         use=bg1.25, 
14690 # (bg1.25: I added <rmam>/<smam> based on the init string -- esr)
14691 bg1.25|bbn bitgraph 1.25, 
14692         cols#85, lines#64, 
14693         bel=^G, clear=\E[H\E[J$<150>, cr=^M, cub1=^H, cud1=\E[B, 
14694         cuf1=\E[C, cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, 
14695         dl1=\E[M$<2*>, ed=\E[J$<150>, el=\E[K$<2>, ht=^I, 
14696         il1=\E[L$<2*>, ind=\n$<280>, kcub1=\ED, kcud1=\EB, 
14697         kcuf1=\EC, kcuu1=\EA, kf1=\EP, kf2=\EQ, kf3=\ER, kf4=\ES, 
14698         lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, ll=\E[64;1H, rmam=\E[?7l, 
14699         rmkx=\E>, rmso=\E[m, sgr0=\E[m, smam=\E[?7h, smkx=\E=, 
14700         smso=\E[7m, 
14701
14702 #### Bull (bq, dku, vip)
14703 #
14704 # (Adapted for terminfo; AIX extension capabilities translated -- esr)
14705
14706 #============================================#
14707 # BULL QUESTAR 210 `SDP' terminals emulation #
14708 #============================================#
14709 #
14710 # Description written by R.K.Saunders (Bull Transac)
14711 #
14712 # Modifications written by F. Girard (Bull MTS)
14713 #               19-05-87 V02.00.01
14714 #               17-12-87 V02.00.02
14715 #               15-09-89 V02.00.05
14716 #
14717 #       Typical technical selections F1 (modes SDP/ROLL):
14718 # -------------------------------------------------------
14719 # |   01   02   03   04   05   06   07   08   09   10   |
14720 # |  1010 0011 1010 0110 0110 0001 0100 0000 0000 0000  |
14721 # |                                                     |
14722 # |   11   12   13   14   15   16   17   18   19   20   |
14723 # |  0000 0110 100? 0000 0000 0000 0001 0000 0000 0001  |
14724 # |                                                     |
14725 # |   21   22   23   24   25   26   27   28   29   30   |
14726 # |  0011 0000 0001 1000 0000 0000 0000 0000 0000 0000  |
14727 # |                                                     |
14728 # |   31   32   33   34   35   36   37   38   39   40   |
14729 # |  1010 0011 0000 0000 0000 0000 0000 0000 0000 0000  |
14730 # -------------------------------------------------------
14731 #       Typical firmware identification F5 "etat 6":
14732 #  P287.02.04b  (AZERTY)
14733 #  P297.11.04   (24-pin: 2732)  or P798.11.04   (28-pin: 2764)
14734 #  P298.03.03   (monochrome)    or P374.03.02   (colour)
14735 #
14736 #       SM SDP mode (VIP command):      ^[[?=h
14737 #       RIS (erases screen):            ^[c
14738 #       DMI disable keyboard:           ^[`
14739 #       SM double rendition mode:       ^[[?>h
14740 #       RM solicited status mode:       ^[[5l
14741 #       RM character mode:              ^[[>l
14742 #       RM echoplex mode:               ^[[12l
14743 #       RM column tab mode:             ^[[18l
14744 #       RM forbid SS2 keyboard mode:    ^[[?<l
14745 #       SM scroll mode:                 ^[[=h
14746 #       FCF enable XON/XOFF:            ^[P1s^[\
14747 #       MTL select end msg character:   ^[[^Wp
14748 #       EMI enable keyboard:            ^[b
14749 #       RIS retour etat initial:        ^[c
14750 #       enable FC keypad:               ^[[?<h,
14751 #       MPW map status line window:     ^[PY99:98^[\
14752 #       SCP select status line:         ^[[0;98v
14753 #       ED erase entire partition:      ^[[2J
14754 #       SCP select main partition:      ^[[v
14755 #       SM character insertion mode:    ^[[4h
14756 #       RM character replacement mode:  ^[[4l
14757 #       COO cursor on:                  ^[[r
14758 #       COO cursor off:                 ^[[1r
14759 #       SGR dim (turquoise) rev attr:   ^[[2;7m
14760 #       SGR Data normal attr:           ^[[m
14761 #       SO Line-graphic mode ON:        ^N
14762 #       SI Line-graphic mode OFF:       ^O
14763 #       MC start routing to printer:    ^[[5i
14764 #       MC stop routing to printer:     ^M^[[4i
14765 #
14766
14767 # This entry covers the following terminals:
14768 # dku7102, tws2102, and tws models 2105 to 2112
14769 tws-generic|dku7102|Bull Questar tws terminals, 
14770         am, eslok, hs, mir, msgr, xenl, xhp@, xon, 
14771         cols#80, it#8, lines#24, wsl#80, 
14772         acsc=``aaffggj)k\,l&m#n/ooppq*rrsst'u-v+w.x%yyzz{{||}}~~, 
14773         bel=^G, blink=\E[0;5m, cbt=\E[Z, civis=\E[1r, clear=\E[2J, 
14774         cnorm=\E[r, cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, 
14775         cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%df, 
14776         cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
14777         dim=\E[0;2m, dl=\E[%p1%dM, dl1=\E[M, 
14778         dsl=\EPY99\:98\E\\\E[0;98v\E[2J\E[v, ed=\E[J, el=\E[K, 
14779         fsl=\E[v, home=\E[H, ht=\E[I, hts=\EH, il=\E[%p1%dL, 
14780         il1=\E[L, ind=^J, invis=\E[0;8m, 
14781         is1=\E[?=h\Ec\E`\E[?>h\EPY99\:98\E\\, 
14782         is2=\E[5;>;12;18;?<l\E[=h\EP1s\E\\\E[\027p, 
14783         is3=\Eb\E[?<h, kbs=^H, kcbt=\E[Z, kctab=\E[g, kcub1=\E[D, 
14784         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, 
14785         ked=\E[J, kel=\E[K, kf1=\E[1u\027, kf2=\E[2u\027, 
14786         kf3=\E[3u\027, kf4=\E[4u\027, kf5=\E[5u\027, 
14787         kf6=\E[6u\027, kf7=\E[7u\027, kf8=\E[8u\027, khome=\E[H, 
14788         khts=\EH, kil1=\E[L, krmir=\E[4l, ll=\E[H\E[A, mc0=\E[0i, 
14789         mc4=\r\E[4i, mc5=\E[5i, rev=\E[0;7m, rmacs=^O, 
14790         rmcup=\E[0;98v\E[2J\E[v, rmir=\E[4l, rmso=\E[m, 
14791         rmul=\E[m, rs2=\E[?=h\Ec, s0ds=^O, s1ds=^N, 
14792         sgr=\E[0%?%p1%p3%|%t;7%;%?%p2%t;4%;%?%p4%t;5%;%?%p5%t;2%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
14793         sgr0=\E[m\017, smacs=^N, smcup=\E[?>h\EPY99\:98\E\\, 
14794         smir=\E[4h, smso=\E[0;7m, smul=\E[0;4m, tbc=\E[2g, 
14795         tsl=\EPY99\:98\E\\\E[0;98v\E[2;7m, 
14796 tws2102-sna|dku7102-sna|BULL Questar tws2102 for SNA, 
14797         dsl=\E[0;98v\E[2J\E[v, fsl=\E[v, is3=\Eb, tsl=\E[0;98v, 
14798         use=tws-generic, 
14799 tws2103|xdku|BULL Questar tws2103, 
14800         ht=^I, use=tws-generic, 
14801 tws2103-sna|dku7103-sna|BULL Questar tws2103 for SNA, 
14802         ht=^I, use=tws2102-sna, 
14803 dku7102-old|BULL Questar 200 DKU7102 (microcode version < 6), 
14804         clear=\E[2J\E[H, cup@, dl@, dl1@, 
14805         dsl=\EPY99\:98\E\\\E[0;98v\E[2J\E[H\E[v, el=\E[K\E[m, 
14806         il@, il1@, tsl=\EPY99\:98\E\\\E[0;98v\E[H\E[2;7m, 
14807         use=tws-generic, 
14808 dku7202|BULL Questar 200 DKU7202 (colour/character attributes), 
14809         blink=\E[0;2;4m, dim=\E[0;5m, ht=^I, is3=\E[?3h\Eb, 
14810         smso=\E[0;4;5;7m, smul=\E[0;2m, use=tws-generic, 
14811
14812 #=========================================================#
14813 # BULL QUESTAR 303 & 310 `DEC VT 320' terminals emulation #
14814 #=========================================================#
14815 #
14816 # Description written by J. Staerck (BULL SA)
14817 #       Copyright (c) 1989 BULL SA
14818 #---------------------------------------------------------------------------
14819 #  This entry is used for terminals with vt320 emulation mode
14820 #  and following set-up : 
14821 #    8 bit ISO Latin Character Set (ISO 8859-1),
14822 #    7 bit Control Characters, 
14823 #    80 columns screen.    
14824 #  Hereafter are some DEC vt terminals' commands. (valid on vt200 and 300)
14825 #  They are used in string capabilities with vt220-320 emulation mode.
14826 #  In the following DEC definitions, two kinds of terminfo databases are
14827 #    provided :
14828 #    1. the first with Command Sequence Introducer starting with escape 
14829 #       sequence in 7 bits characters ex. ESC [ : 2 chars. in 7-bit mode.
14830 #    2. the second with Command Sequence Introducer starting with escape 
14831 #       sequence in 8 bits characters ex. ESC [ : 1 char. 'CSI' =x9B.
14832 #       Soft Terminal Reset             esc [ ! p
14833 #       RIS (erases screen):            esc c
14834 #       DECKPNM numeric keypad mode:    esc >
14835 #       DECKPAM applic. keypad mode:    esc =
14836 #       DECSTBM Scrolling region:       esc [ r
14837 #       SCS select G0 = US:             esc ( B
14838 #       SCS select G1 = line-graphic:   esc ) 0
14839 #       Select 7-bit C1 controls:       esc sp F
14840 #       Select 8-bit C1 controls:       esc sp G
14841 #       Select cursor home:             esc [  H
14842 #       Select erase screen:            esc [  J
14843 #       SM KAM lock keyboard:           esc [ 2 h
14844 #       RM KAM unlock keyboard:         esc [ 2 l
14845 #       SM SRM local echo off:          esc [ 1 2 h
14846 #       RM SRM local echo on:           esc [ 1 2 l
14847 #       SM LNM New line :               esc [ 2 0 h
14848 #       RM LNM return = CR only:        esc [ 2 0 l
14849 #       SM DECCKM cursor keys mode:     esc [ ? 1 h
14850 #       RM DECCKM appli. keys mode:     esc [ ? 1 l
14851 #       SM DECANM ANSI mode on:         esc [ ? 2 h
14852 #       RM DECANM ANSI mode off:        esc [ ? 2 l
14853 #       SM DECCOLM 132-column screen:   esc [ ? 3 h
14854 #       RM DECCOLM 80-column screen:    esc [ ? 3 l
14855 #       SM DECSCLM Smooth scroll:       esc [ ? 4 h
14856 #       RM DECSCLM Jump scroll:         esc [ ? 4 l
14857 #       SM DECSCNM screen light backgr. esc [ ? 5 h
14858 #       RM DECSCNM screen dark backgr.  esc [ ? 5 l
14859 #       SM DECOM move within margins:   esc [ ? 6 h
14860 #       RM DECOM move outside margins:  esc [ ? 6 l
14861 #       SM DECAWM auto right margin:    esc [ ? 7 h
14862 #       RM DECAWM auto right margin:    esc [ ? 7 l
14863 #       SM DECARM auto repeat:          esc [ ? 8 h
14864 #       RM DECARM auto repeat:          esc [ ? 8 l
14865 #       DECSASD Select active main:     esc [ 0 $ } 
14866 #       DECSASD Select active status:   esc [ 1 $ } 
14867 #       DECSSDT Select status none:     esc [ 0 $ ~ 
14868 #       DECSSDT Select status indic.:   esc [ 1 $ ~ 
14869 #       DECSSDT Select status host-wr:  esc [ 2 $ ~ 
14870 #       SM DECTCEM Visible cursor:      esc [ ? 2 5 h
14871 #       RM DECTCEM Invisible cursor:    esc [ ? 2 5 l
14872 #       SM DECNCRM 7 bits NCR set:      esc [ ? 4 2 h
14873 #       RM DECNCRM Multi or ISO latin:  esc [ ? 4 2 l
14874 #       SM DECNKM numeric keypad mode:  esc [ ? 6 6 h
14875 #       RM DECNKM numeric keypad appl.: esc [ ? 6 6 l
14876 #       SM DECKBUM clavier informatique esc [ ? 6 8 h
14877 #       RM DECKBUM clavier bureautique: esc [ ? 6 8 l
14878 #       DECSCL vt300 mode 8-bit ctrl:   esc [ 6 3 " p
14879 # or    DECSCL vt300 mode 8-bit ctrl:   esc [ 6 3 ; 0 " p
14880 # or    DECSCL vt300 mode 8-bit ctrl:   esc [ 6 3 ; 2 " p
14881 #       DECSCL vt300 mode 7-bit ctrl:   esc [ 6 3 ; 1 " p
14882 #       Char. and Line attributes:      esc [ Ps ... Ps m
14883 # with:  0 All off, 1 Bold, 4 Underline, 5 Blinking, 7 Reverse
14884 # and : 22 Bold off, 24 Underline off, 25 Blinking off, 27 Reverse off
14885 #
14886
14887 # This entry covers BQ303, BQ306, BQ310, Q303, Q306, Q310
14888 bq300|Bull vt320 ISO Latin 1 80 columns terminal, 
14889         am, eo, eslok, hs, km, mc5i, mir, msgr, xenl, xon, 
14890         cols#80, it#8, lines#24, vt#3, wsl#80, 
14891         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
14892         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
14893         clear=\E[H\E[J, cnorm=\E[?25h, cr=^M, 
14894         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D, 
14895         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
14896         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
14897         cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
14898         dl1=\E[M, dsl=\E[1$}\E[2$~\n\E[0$}, ech=\E[%p1%dX, 
14899         ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0, 
14900         flash=\E[?5h$<50>\E[?5l, fsl=\E[0$}, home=\E[H, ht=^I, 
14901         hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
14902         is1=\E[63;1"p\E[2h, 
14903         is2=\E[?2h\E[?3l\E[?5l\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l, 
14904         is3=\E[0$}\E[?25h\E[2l\E[H\E[J, ka1=\EOw, ka3=\EOy, 
14905         kb2=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\E[D, kcud1=\E[B, 
14906         kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kf1=\EOP, kf10=\E[21~, 
14907         kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
14908         kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
14909         kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, 
14910         kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, 
14911         khlp=\E[28~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
14912         krdo=\E[29~, kslt=\E[4~, lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, 
14913         mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=\EE, rc=\E8, rev=\E[7m, 
14914         ri=\EM, rmacs=^O, rmam=\E[?7l, rmcup=\E[?7h, rmir=\E[4l, 
14915         rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, rs1=\E[!p, 
14916         rs2=\E[?3l, s0ds=\E(B, s1ds=\E(0, sc=\E7, 
14917         sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m%?%p9%t\E(0%e\E(B%;, 
14918         sgr0=\E[0m\E(B, smacs=^N, smam=\E[?7h, 
14919         smcup=\E[?7l\E[?1l\E(B, smir=\E[4h, smso=\E[7m, 
14920         smul=\E[4m, tbc=\E[3g, tsl=\E[1$}\E[2$~, 
14921 bq300-rv|Bull vt320 reverse 80 columns, 
14922         flash=\E[?5l$<50>\E[?5h, 
14923         is2=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l, 
14924         use=bq300, 
14925 bq300-w|Bull vt320 132 columns, 
14926         cols#132, wsl#132, 
14927         is2=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l, 
14928         rs2=\E[?3h, use=bq300, 
14929 bq300-w-rv|Bull vt320 reverse mode 132 columns, 
14930         cols#132, wsl#132, 
14931         flash=\E[?5l$<50>\E[?5h, 
14932         is2=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l, 
14933         rs2=\E[?3h, use=bq300, 
14934
14935 #  This entry is used for terminals with vt320 emulation mode
14936 #  and following set-up : 
14937 #    8 bit ISO Latin Character Set (ISO 8859-1),
14938 #    8 bit Control Characters, (CSI coded as x9B for ESC [)
14939 #    80 columns screen.    
14940 #       Soft Terminal Reset             csi ! p
14941 #       RIS (erases screen):            esc c
14942 #       DECKPNM numeric keypad mode:    esc >
14943 #       DECKPAM applic. keypad mode:    esc =
14944 #       DECSTBM Scrolling region:       esc [ r
14945 #       SCS select G0 = US:             esc ( B
14946 #       SCS select G1 = line-graphic:   esc ) 0
14947 #       Select 7-bit C1 controls:       esc sp F
14948 #       Select 8-bit C1 controls:       esc sp G
14949 #       Select cursor home:             csi H
14950 #       Select erase screen:            csi J
14951 #       SM KAM lock keyboard:           csi 2 h
14952 #       RM KAM unlock keyboard:         csi 2 l
14953 #       SM SRM local echo off:          csi 1 2 h
14954 #       RM SRM local echo on:           csi 1 2 l
14955 #       SM LNM New line :               csi 2 0 h
14956 #       RM LNM return = CR only:        csi 2 0 l
14957 #       SM DECCKM cursor keys mode:     csi ? 1 h
14958 #       RM DECCKM appli. keys mode:     csi ? 1 l
14959 #       SM DECANM ANSI mode on:         csi ? 2 h
14960 #       RM DECANM ANSI mode off:        csi ? 2 l
14961 #       SM DECCOLM 132-column screen:   csi ? 3 h
14962 #       RM DECCOLM 80-column screen:    csi ? 3 l
14963 #       SM DECSCLM Smooth scroll:       csi ? 4 h
14964 #       RM DECSCLM Jump scroll:         csi ? 4 l
14965 #       SM DECSCNM screen light backgr. csi ? 5 h
14966 #       RM DECSCNM screen dark backgr.  csi ? 5 l
14967 #       SM DECOM move within margins:   csi ? 6 h
14968 #       RM DECOM move outside margins:  csi ? 6 l
14969 #       SM DECAWM auto right margin:    csi ? 7 h
14970 #       RM DECAWM auto right margin:    csi ? 7 l
14971 #       SM DECARM auto repeat:          csi ? 8 h
14972 #       RM DECARM auto repeat:          csi ? 8 l
14973 #       DECSASD Select active main:     csi 0 $ } 
14974 #       DECSASD Select active status:   csi 1 $ } 
14975 #       DECSSDT Select status none:     csi 0 $ ~ 
14976 #       DECSSDT Select status indic.:   csi 1 $ ~ 
14977 #       DECSSDT Select status host-wr:  csi 2 $ ~ 
14978 #       SM DECTCEM Visible cursor:      csi ? 2 5 h
14979 #       RM DECTCEM Invisible cursor:    csi ? 2 5 l
14980 #       SM DECNCRM 7 bits NCR set:      csi ? 4 2 h
14981 #       RM DECNCRM Multi or ISO latin:  csi ? 4 2 l
14982 #       DECSCL vt300 mode 8-bit ctrl:   csi 6 3 " p
14983 # or    DECSCL vt300 mode 8-bit ctrl:   csi 6 3 ; 0 " p
14984 #       DECSCL vt300 mode 7-bit ctrl:   csi 6 3 ; 1 " p
14985 #       Char. and Line attributes:      csi Ps ... Ps m
14986 # with:  0 All off, 1 Bold, 4 Underline, 5 Blinking, 7 Reverse
14987 # and : 22 Bold off, 24 Underline off, 25 Blinking off, 27 Reverse off
14988 # (bq300-8: <cub1>,<cuf1>,<cuu1>,<cud1>,<dl1>,<il1> to get under 1024 --esr)
14989 bq300-8|Bull vt320 full 8 bits 80 columns, 
14990         am, eo, eslok, hs, km, mc5i, mir, msgr, xenl, xon, 
14991         cols#80, it#8, lines#24, vt#3, wsl#80, 
14992         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
14993         bel=^G, blink=\2335m, bold=\2331m, civis=\233?25l, 
14994         clear=\233H\233J, cnorm=\233?25h, cr=^M, 
14995         csr=\233%i%p1%d;%p2%dr, cub=\233%p1%dD, cud=\233%p1%dB, 
14996         cuf=\233%p1%dC, cup=\233%i%p1%d;%p2%dH, cuu=\233%p1%dA, 
14997         cvvis=\233?25h, dch=\233%p1%dP, dch1=\233P, 
14998         dl=\233%p1%dM, dsl=\2331$}\2332$~\n\2330$}, 
14999         ech=\233%p1%dX, ed=\233J, el=\233K, el1=\2331K, 
15000         enacs=\E(B\E)0, flash=\233?5h$<50>\233?5l, fsl=\2330$}, 
15001         home=\233H, ht=^I, hts=\EH, ich=\233%p1%d@, il=\233%p1%dL, 
15002         ind=\ED, is1=\E[63;2"p\E[2h, 
15003         is2=\E[?2h\E[?3l\E[?5l\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l, 
15004         is3=\2330$}\233?25h\2332l\233H\233J, ka1=\217w, 
15005         ka3=\217y, kb2=\217u, kbs=^H, kc1=\217q, kc3=\217s, 
15006         kcub1=\233D, kcud1=\233B, kcuf1=\233C, kcuu1=\233A, 
15007         kdch1=\2333~, kf1=\217P, kf10=\23321~, kf11=\23323~, 
15008         kf12=\23324~, kf13=\23325~, kf14=\23326~, kf15=\23328~, 
15009         kf16=\23329~, kf17=\23331~, kf18=\23332~, kf19=\23333~, 
15010         kf2=\217Q, kf20=\23334~, kf3=\217R, kf4=\217S, kf6=\23317~, 
15011         kf7=\23318~, kf8=\23319~, kf9=\23320~, kfnd=\2331~, 
15012         khlp=\23328~, kich1=\2332~, knp=\2336~, kpp=\2335~, 
15013         krdo=\23329~, kslt=\2334~, lf1=pf1, lf2=pf2, lf3=pf3, 
15014         lf4=pf4, mc0=\233i, mc4=\2334i, mc5=\2335i, nel=\EE, rc=\E8, 
15015         rev=\2337m, ri=\EM, rmacs=^O, rmam=\233?7l, rmcup=\233?7h, 
15016         rmir=\2334l, rmkx=\233?1l\E>, rmso=\23327m, rmul=\23324m, 
15017         rs1=\E[!p, rs2=\E[?3l, s0ds=\E(B, s1ds=\E(0, sc=\E7, 
15018         sgr=\233%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m%?%p9%t\E(0%e\E(B%;, 
15019         sgr0=\2330m\E(B, smacs=^N, smam=\233?7h, 
15020         smcup=\233?7l\233?1l\E(B, smir=\2334h, smso=\2337m, 
15021         smul=\2334m, tbc=\2333g, tsl=\2331$}\2332$~, 
15022 bq300-8rv|Bull vt320 8-bit reverse mode 80 columns, 
15023         flash=\233?5l$<50>\233?5h, 
15024         is2=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l, 
15025         use=bq300-8, 
15026 bq300-8w|Bull vt320 8-bit 132 columns, 
15027         cols#132, wsl#132, 
15028         is2=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l, 
15029         rs2=\233?3h, use=bq300-8, 
15030 bq300-w-8rv|Bull vt320 8-bit reverse mode 132 columns, 
15031         cols#132, wsl#132, 
15032         flash=\233?5l$<50>\233?5h, 
15033         is2=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l, 
15034         rs2=\233?3h, use=bq300-8, 
15035
15036 #  This entry is used for terminals with vt320 emulation mode
15037 #  a 102 keys keyboard (PC scancode !) and following set-up : 
15038 #    8 bit ISO Latin Character Set (ISO 8859-1),
15039 #    7 bit Control Characters, 
15040 #    80 columns screen.    
15041 bq300-pc|Questar 303 with PC keyboard ISO Latin 1 80 columns, 
15042         kbs=^H, kdch1=\E[3~, kend=\E[4~, kf1=\E[17~, kf10=\E[28~, 
15043         kf11=\E[29~, kf12=\E[31~, kf13@, kf14@, kf15@, kf16@, kf17@, 
15044         kf18@, kf19@, kf2=\E[18~, kf20@, kf3=\E[19~, kf4=\E[20~, 
15045         kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, kf9=\E[26~, 
15046         kfnd@, khlp@, khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
15047         krdo@, kslt@, lf1@, lf2@, lf3@, lf4@, use=bq300, 
15048 bq300-pc-rv|Questar 303 with PC keyboard reverse mode 80 columns, 
15049         flash=\E[?5l$<50>\E[?5h, 
15050         is2=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l, 
15051         use=bq300-pc, 
15052 bq300-pc-w|Questar 303 with PC keyboard 132 columns terminal, 
15053         cols#132, wsl#132, 
15054         is2=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l, 
15055         rs2=\E[?3h, use=bq300-pc, 
15056 bq300-pc-w-rv|Questar 303 with PC keyboard reverse mode 132 columns, 
15057         cols#132, wsl#132, 
15058         flash=\E[?5l$<50>\E[?5h, 
15059         is2=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l, 
15060         rs2=\E[?3h, use=bq300-pc, 
15061 #    8 bit ISO Latin Character Set (ISO 8859-1),
15062 #    8 bit Control Characters, 
15063 #    80 columns screen.    
15064 bq300-8-pc|Q306-8-pc|Questar 303 with PC keyboard in full 8 bits 80 columns, 
15065         kbs=^H, kdch1=\2333~, kend=\2334~, kf1=\23317~, 
15066         kf10=\23328~, kf11=\23329~, kf12=\23331~, kf13@, kf14@, 
15067         kf15@, kf16@, kf17@, kf18@, kf19@, kf2=\23318~, kf20@, 
15068         kf3=\23319~, kf4=\23320~, kf5=\23321~, kf6=\23323~, 
15069         kf7=\23324~, kf8=\23325~, kf9=\23326~, kfnd@, khlp@, 
15070         khome=\2331~, kich1=\2332~, knp=\2336~, kpp=\2335~, krdo@, 
15071         kslt@, lf1@, lf2@, lf3@, lf4@, use=bq300-8, 
15072 bq300-8-pc-rv|Questar 303 with PC keyboard full 8 bits reverse mode 80 columns, 
15073         flash=\E[?5l$<50>\E[?5h, 
15074         is2=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l, 
15075         use=bq300-8-pc, 
15076 bq300-8-pc-w|Questar 303 with PC keyboard full 8 bits 132 columns, 
15077         cols#132, wsl#132, 
15078         is2=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l, 
15079         rs2=\E[?3h, use=bq300-8-pc, 
15080 bq300-8-pc-w-rv|Questar 303 with PC keyboard full 8 bits reverse 132 columns, 
15081         cols#132, wsl#132, 
15082         flash=\E[?5l$<50>\E[?5h, 
15083         is2=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l, 
15084         rs2=\E[?3h, use=bq300-8-pc, 
15085
15086 #======================================================#
15087 # BULL QUESTAR 310 `VIP 7800/8800' terminals emulation #
15088 #======================================================#
15089
15090 # normal mode, 8 bits, 80 columns terminal.
15091 #       RES reset :                     ^[e
15092 #       RIS reset initial state:        ^[c
15093 #       BLE bell enable                 ^[h
15094 #       BLD bell disable                ^[g
15095 #       CAMS char. attr. mode set       ^[[D
15096 #       CAMR char. attr. mode reset     ^[[G
15097 #       CLR clear                       ^[`
15098 #       KBU keyboard unlock (set)       ^[[W
15099 #       KBL keyboard lock (reset)       ^[[X
15100 #       CM  character mode (async.)     ^[k
15101 #       NEP non echoplex mode (by host) ^[l
15102 #       EP  echoplex mode (by host)     ^[m
15103 #       IM  insert mode set             ^[[I
15104 #       IM  insert mode reset           ^[[J
15105 #       RMS roll mode set               ^[r
15106 #       RMR roll mode reset             ^[q
15107 #       SM78 set mode vip7800           ^[[1q
15108 #       SD  scroll up   (72 lines)      ^[[0s
15109 #       SD  scroll down (72 lines)      ^[[1s
15110 #       RBM block mode reset            ^[[E
15111 #       SLS status line set             ^[w
15112 #       SLR status line reset           ^[v
15113 #       SLL status line lock            ^[O
15114 #       LGS Line-graphic mode set       ^[G
15115 #       LGR Line-graphic mode reset     ^[F
15116 #       TBC tab clear (at cursor pos.)  ^[[g
15117 #       TBI tab initialize              ^[[N
15118 #       TBS tab set (at cursor pos.)    ^[p
15119 #       PDS  print data space           ^[[0p
15120 #       PHD  print host data            ^[[3p
15121 #       PDT  print data terminator      ^[[<p
15122 #       PRES print adapter reset        ^[[2p
15123 #       SSPR multi-part. reset          ^[[<>u
15124 #       SSP0 partition 0 set            ^[[00u
15125 #       SSP1 partition n format 1       ^[[PnPnSTRINGu
15126 #       SSP2 partition n format 2       ^[[PnPnSTRINGu
15127 #       SSP3 partition n format 3       ^[[PnPnu
15128 #       ATR attribute (visual)
15129 #           blink :                     ^[sB
15130 #           dim :                       ^[sL
15131 #           hide (blank) :              ^[sH
15132 #           restore :                   ^[sR
15133 #           inverse video :             ^[sI
15134 #           prot. :                     ^[sP
15135 #           underline :                 ^[s_
15136 #           reset :                     ^{
15137 #
15138 # This covers the vip7800 and BQ3155-vip7800
15139 vip|Bull Questar 3155-7800, 
15140         am, eslok, hs, km, mc5i, msgr, xenl, xon, 
15141         cols#80, it#8, lines#24, vt#3, wsl#80, 
15142         acsc=0pjdkblamcnkqitgufvhwexj, bel=^G, blink=\EsB, 
15143         cbt=\E[Z, clear=\E`, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
15144         cup=\E[%i%p1%03d%p2%03df, cuu1=\EA, dch1=\E[P, dim=\EsL, 
15145         dl1=\E[M, dsl=\Ev, ed=\EJ, el=\EK, 
15146         flash=\007$<80>\007$<80>\007, fsl=\EO, home=\EH, ht=^I, 
15147         hts=\Ep, ich1=\E[I, ind=^J, invis=\EsH, 
15148         is2=\E[00u\E[<>001001024080024080u\E[01u, 
15149         is3=\Er\E[W\E`, kHOM=\EH, kLFT=\Eo, kRIT=\Eu, kbs=^H, 
15150         kcbt=\E[Z, kclr=\E`, kctab=\E[g, kcub1=\ED, kcud1=\EB, 
15151         kcuf1=\EC, kcuu1=\EA, kdch1=\E[P, kdl1=\E[M, ked=\EJ, 
15152         kel=\EK, kf1=\E0, kf10=\ET, kf11=\E\\, kf12=\E\^, kf13@, kf14@, 
15153         kf15@, kf16@, kf17@, kf18@, kf19@, kf2=\E2, kf20@, kf21=\E1, 
15154         kf22=\E5, kf23=\E7, kf24=\E9, kf25=\E;, kf26=\E=, kf27=\E?, 
15155         kf28=\EQ, kf29=\ES, kf3=\E6, kf30=\EV, kf31=\E], kf32=\E_, 
15156         kf4=\E8, kf5=\E\:, kf6=\E<, kf7=\E>, kf8=\EP, kf9=\ER, 
15157         khome=\EH, khts=\Ep, kich1=\E[I, kil1=\E[L, kind=\E[0s, 
15158         kll=\EH\EA, kri=\E[1s, krmir=\E[J, ktbc=\E[N, lf1=pf1, 
15159         lf2=pf2, lf3=pf3, lf4=pf4, ll=\EH\EA, mc0=\E[0p, mc4=\E[<p, 
15160         mc5=\E[3p, nel=^M, prot=\EsP, rev=\EsI, 
15161         ri=\EA\EJ\EH\E[L$<10>, rmacs=\EF, rmir=\E[J, rmso=\EsR, 
15162         rmul=\EsR, rs1=\Ec, rs2=\E[G, s0ds=\EF, s1ds=\EG, 
15163         sgr0=\EsR\EsU\EF, smacs=\EG, smir=\E[I, smso=\EsI, 
15164         smul=\Es_, tbc=\E[N, tsl=\Ew, 
15165 # normal screen, 8 bits, 132 columns terminal.
15166 vip-w|vip7800-w|Q310-vip-w|Q310-vip-w-am|Questar 3155-vip7800 wide, 
15167         cols#132, wsl#132, 
15168         is2=\E[00u\E[<>001001024132024132u\E[01u, use=vip, 
15169 vip-H|vip7800-H|Q310-vip-H|Q310-vip-H-am|Questar 3155-vip7800 72 lines, 
15170         lines#72, 
15171         is2=\E[00u\E[<>001001024080072080u\E[01u, use=vip, 
15172 vip-Hw|vip7800-Hw|Q310-vip-Hw|Questar 3155-vip7800 wide 72 lines, 
15173         cols#132, lines#72, wsl#132, 
15174         is2=\E[00u\E[<>001001024132072132u\E[01u, use=vip, 
15175
15176 #### Chromatics
15177 #
15178
15179 # I have put the long strings in <smcup>/<rmcup>. Ti sets up a window 
15180 # that is smaller than the screen, and puts up a warning message 
15181 # outside the window. Te erases the warning message, puts the 
15182 # window back to be the whole screen, and puts the cursor at just
15183 # below the small window. I defined <cnorm> and <civis> to really turn 
15184 # the cursor on and off, but I have taken this out since I don't 
15185 # like the cursor being turned off when vi exits.   
15186 cg7900|chromatics|chromatics 7900, 
15187         am, 
15188         cols#80, lines#40, 
15189         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^], 
15190         cup=\001M%p2%d\,%p1%d\,, cuu1=^K, dch1=^A<1, dl1=^A<2, 
15191         ed=^Al, el=^A`, home=^\, ich1=^A>1, il1=^A>2, ind=^J, ll=^A|, 
15192         rmcup=\001W0\,40\,85\,48\,\014\001W0\,0\,85\,48\,\001M0\,40\,, 
15193         rmso=\001C1\,\001c2\,, 
15194         smcup=\001P0\001O1\001R1\001C4\,\001c0\,\014\001M0\,42\,WARNING DOUBLE ENTER ESCAPE and \025\001C1\,\001c2\,\001W0\,0\,79\,39\,, 
15195         smso=\001C4\,\001c7\,, uc=\001\001_\001\0, 
15196
15197 #### Computer Automation
15198 #
15199
15200 ca22851|computer automation 22851, 
15201         am, 
15202         cols#80, lines#24, 
15203         bel=^G, clear=\014$<8>, cr=^M, cub1=^U, cud1=^J, cuf1=^I, 
15204         cup=\002%i%p1%c%p2%c, cuu1=^V, ed=^\, el=^], home=^^, ind=^J, 
15205         kcub1=^U, kcud1=^W, kcuu1=^V, khome=^^, 
15206
15207 #### Cybernex
15208 #
15209
15210 # This entry has correct padding and the undocumented "ri" capability
15211 cyb83|xl83|cybernex xl-83, 
15212         OTbs, am, 
15213         cols#80, lines#24, 
15214         bel=^G, clear=\014$<62>, cr=^M, cub1=^H, cud1=^J, cuf1=^I, 
15215         cup=\027%p1%{32}%+%c%p2%{32}%+%c, cuu1=^N, 
15216         ed=\020$<62>, el=\017$<3>, home=^K, ind=^J, kcub1=^H, 
15217         kcud1=^J, kcuf1=^I, kcuu1=^N, ri=^N, 
15218 # (mdl110: removed obsolete ":ma=^Z^P:" and overridden ":cd=145^NA^W:" -- esr)
15219 cyb110|mdl110|cybernex mdl-110, 
15220         OTbs, am, 
15221         cols#80, lines#24, 
15222         bel=^G, clear=\030$<70>, cr=^M, cub1=^H, cud1=^J, cuf1=^U, 
15223         cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, 
15224         dch1=\016A\036$<3.5>, dl1=\016A\016\036$<40>, 
15225         ed=\016@\026$<6>, el=\016@\026$<145>, home=^Y, 
15226         ht=\011$<43>, ich1=\016A\035$<3.5>, 
15227         il1=\016A\016\035$<65>, ind=^J, rmso=^NG, smso=^NF, 
15228
15229 #### Datapoint
15230 #
15231 # Datapoint is gone.  They used to be headquartered in Texas.
15232 # They created ARCnet, an Ethernet competitor that flourished for a while
15233 # in the early 1980s before 3COM got wise and cut its prices.  The service
15234 # side of Datapoint still lives (1995) in the form of Intelogic Trace.
15235 #
15236
15237 dp3360|datapoint|datapoint 3360, 
15238         OTbs, am, 
15239         cols#82, lines#25, 
15240         bel=^G, clear=^]^_, cr=^M, cub1=^H, cud1=^J, cuf1=^X, cuu1=^Z, 
15241         ed=^_, el=^^, home=^], ind=^J, 
15242
15243 # From: Jan Willem Stumpel <jw.stumpel@inter.nl.net>, 11 May 1997
15244 # The Datapoint 8242 Workstation was sold at least between 1985 
15245 # and 1989. To make the terminal work with this entry, press 
15246 # CONTROL-INT-INT to take the terminal off-line, and type (opt). 
15247 # Set the options AUTO ROLL, ROLL DN, and ESC KBD on, and AUTO 
15248 # CR/LF off. Use control-shift-[] as escape key, control-I as tab, 
15249 # shift-F1 to shift-F5 as F6 to F10 (unshifted F1 to F5 are in
15250 # fact unusable because the strings sent by the terminal conflict
15251 # with other keys).
15252 # The terminal is capable of displaying "box draw" characters.
15253 # For each graphic character you must send 2 ESC's (\E\E) followed 
15254 # by a control character as follows: 
15255 #         character        meaning
15256 #         =========        =======
15257 #         ctrl-E           top tee
15258 #         ctrl-F           right tee
15259 #         ctrl-G           bottom tee
15260 #         ctrl-H           left tee
15261 #         ctrl-I           cross
15262 #         ctrl-J           top left corner
15263 #         ctrl-K           top right corner
15264 #         ctrl-L           bottom left corner
15265 #         ctrl-M           bottom right corner
15266 #         ctrl-N           horizontal line
15267 #         ctrl-O           vertical line
15268 # Unfortunately this cannot be fitted into the termcap/terminfo 
15269 # description scheme. 
15270 dp8242|datapoint 8242, 
15271         msgr, 
15272         cols#80, lines#25, 
15273         bel=^G, civis=^Y, clear=\025\E\004\027\030, cnorm=^X, 
15274         cr=^M, cub1=^H, cud1=^J, 
15275         cup=\011%p2%'\0'%+%c%p1%'\0'%+%c, dl1=\E^Z, ed=^W, el=^V, 
15276         home=^U, ht=^I, il1=\E^T, ind=^C, 
15277         is1=\E\014\E\016\0\230\0\317\025\027\030\E\004, 
15278         kbs=^H, kcub1=^D, kcud1=^B, kcuf1=^F, kcuu1=^E, kf1=^G\Ee, 
15279         kf10=\EK\Ea, kf2=^I\Ed, kf3=^J\Ec, kf4=^J\Eb, kf5=^S\Ea, 
15280         kf6=\EO\Ee, kf7=\EN\Ed, kf8=\EM\Ec, kf9=\EL\Eb, nel=^M^J, 
15281         rep=\E\023%p1%c%p2%c, ri=^K, rmso=\E^D, rmul=\E^D, 
15282         rs1=\E\014\E\016\0\230\0\317\025\027\030\E\004, 
15283         smso=\E^E, smul=\E^F, 
15284         wind=\E\014\E\016%p1%'\0'%+%c%p2%'\0'%+%c%p3%'\0'%+%c%p4%'\0'%+%c\025, 
15285
15286 #### DEC terminals (Obsolete types: DECwriter and vt40/42/50)
15287 #
15288 # These entries are DEC's official terminfos for its older terminals.
15289 # Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
15290 # Engineering for more information.  Updated terminfos and termcaps 
15291 # are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
15292 #
15293
15294 gt40|dec gt40, 
15295         OTbs, os, 
15296         cols#72, lines#30, 
15297         bel=^G, cr=^M, cub1=^H, cud1=^J, 
15298 gt42|dec gt42, 
15299         OTbs, os, 
15300         cols#72, lines#40, 
15301         bel=^G, cr=^M, cub1=^H, cud1=^J, 
15302 vt50|dec vt50, 
15303         OTbs, 
15304         cols#80, lines#12, 
15305         bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
15306         cuu1=\EA, ed=\EJ, el=\EK, ht=^I, ind=^J, 
15307 vt50h|dec vt50h, 
15308         OTbs, 
15309         cols#80, lines#12, 
15310         bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
15311         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
15312         el=\EK, ht=^I, ind=^J, ri=\EI, 
15313 # (vt61: there's a BSD termcap that claims <dl1=\EPd>, <il1=\EPf.> <kbs=^H>)
15314 vt61|vt-61|vt61.5|dec vt61, 
15315         cols#80, lines#24, 
15316         bel=^G, clear=\EH\EJ$<120>, cr=\r$<20>, cub1=^H, cud1=^J, 
15317         cuf1=\EC$<20>, cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<20>, 
15318         cuu1=\EA$<20>, ed=\EJ$<120>, el=\EK$<70>, ht=^I, 
15319         ind=\n$<20>, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
15320         ri=\E$<20>I, 
15321
15322 # The gigi does standout with red!
15323 # (gigi: I added <rmam>/<smam> based on the init string, corrected cub1 -- esr)
15324 gigi|vk100|dec gigi graphics terminal, 
15325         OTbs, am, xenl, 
15326         cols#84, lines#24, 
15327         bel=^G, clear=\E[H\E[2J, cr=^M, cub=\E[%p1%dD, cub1=^H, 
15328         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
15329         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, ed=\E[J, 
15330         el=\E[K, ht=^I, ind=^J, 
15331         is2=\E>\E[?3l\E[?4l\E[?5l\E[?20l\E[?7h\E[?8h, 
15332         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, 
15333         kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, ri=\EM, 
15334         rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
15335         sgr0=\E[m, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7;31m, 
15336         smul=\E[4m, 
15337
15338 # DEC PRO-350 console (VT220-style).  The 350 was DEC's attempt to produce
15339 # a PC differentiated from the IBM clones.  It was a total, ludicrous,
15340 # grossly-overpriced failure (among other things, DEC's OS didn't include
15341 # a format program, so you had to buy pre-formatted floppies from DEC at
15342 # a hefty premium!).
15343 pro350|decpro|dec pro console, 
15344         OTbs, 
15345         cols#80, it#8, lines#24, 
15346         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
15347         clear=\EH\EJ, cub1=^H, cud1=\EB, cuf1=\EC, 
15348         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
15349         el=\EK, home=\EH, ht=^I, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
15350         kcuu1=\EA, kf0=\EE, kf1=\EF, kf2=\EG, kf3=\EH, kf4=\EI, 
15351         kf5=\EJ, kf6=\Ei, kf7=\Ej, khome=\EH, ri=\EI, rmacs=\EG, 
15352         rmso=\E^N, rmul=\E^C, smacs=\EF, smso=\E^H, smul=\E^D, 
15353
15354 dw1|decwriter I, 
15355         OTbs, hc, os, 
15356         cols#72, 
15357         bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J, 
15358 dw2|decwriter|dw|decwriter II, 
15359         OTbs, hc, os, 
15360         cols#132, 
15361         bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J, kbs=^H, 
15362 # \E(B          Use U.S. character set (otherwise # => british pound !)
15363 # \E[20l        Disable "linefeed newline" mode (else puts \r after \n,\f,\v)
15364 # \E[w          10 char/in pitch
15365 # \E[1;132      full width horizontal margins
15366 # \E[2g         clear all tab stops
15367 # \E[z          6 lines/in
15368 # \E[66t        66 lines/page (for \f)
15369 # \E[1;66r      full vertical page can be printed
15370 # \E[4g         clear vertical tab stops
15371 # \E>           disable alternate keypad mode (so it transmits numbers!)
15372 # \E[%i%p1%du   set tab stop at column %d (origin == 1)
15373 #               (Full syntax is \E[n;n;n;n;n;...;nu where each 'n' is 
15374 #               a tab stop)
15375 #
15376 #       The dw3 does standout with wide characters.
15377 #
15378 dw3|la120|decwriter III, 
15379         OTbs, hc, os, 
15380         cols#132, 
15381         bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, ind=^J, 
15382         is1=\E(B\E[20l\E[w\E[0;132s\E[2g\E[z\E[66t\E[1;66r\E[4g\E>, 
15383         is2=\E[9;17;25;33;41;49;57;65;73;81;89;97;105;113;121;129u\r, 
15384         kbs=^H, rmso=\E[w, sgr0=\E[w, smso=\E[6w, 
15385 dw4|decwriter IV, 
15386         OTbs, am, hc, os, 
15387         cols#132, 
15388         bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, ind=^J, is2=\Ec, kbs=^H, 
15389         kf0=\EOP, kf1=\EOQ, kf2=\EOR, kf3=\EOS, 
15390
15391 # These aren't official
15392 ln03|dec ln03 laser printer, 
15393         hc, 
15394         cols#80, lines#66, 
15395         bel=^G, cr=^M, cud1=^J, hd=\EK, ht=^I, hu=\EL, ind=^J, nel=^M^J, 
15396         rmso=\E[22m, rmul=\E[24m, sgr0=\E[m, smso=\E[1m, 
15397         smul=\E[4m, 
15398 ln03-w|dec ln03 laser printer 132 cols, 
15399         cols#132, 
15400         bel=^G, cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, 
15401         kcud1=^J, nel=^M^J, use=ln03, 
15402
15403 #### Delta Data (dd)
15404 #
15405
15406 # Untested. The cup sequence is hairy enough that it probably needs work.
15407 # The idea is ctrl(O), dd(row), dd(col), where dd(x) is x - 2*(x%16) + '9'.
15408 # There are BSD-derived termcap entries floating around for this puppy
15409 # that are *certainly* wrong.
15410 delta|dd5000|delta data 5000, 
15411         OTbs, am, 
15412         cols#80, lines#27, 
15413         bel=^G, clear=^NR, cub1=^H, cud1=^J, cuf1=^Y, 
15414         cup=\017%p1%p1%{16}%m%{2}%*%-%{57}%+%c%p2%p2%{16}%m%{2}%*%-%{57}%+%c, 
15415         cuu1=^Z, dch1=^NV, el=^NU, home=^NQ, ind=^J, 
15416
15417 #### Digital Data Research (ddr)
15418 #
15419
15420 # (ddr: I added <rmam>/<smam> based on the init string -- esr)
15421 ddr|rebus3180|ddr3180|Rebus/DDR 3180 vt100 emulator, 
15422         OTbs, am, xenl, 
15423         cols#80, it#8, lines#24, vt#3, 
15424         blink=\E[5m$<2/>, bold=\E[1m$<2/>, 
15425         clear=\E[H\E[2J$<50/>, csr=\E[%i%p1%d;%p2%dr, cub1=^H, 
15426         cud1=^J, cuf1=\E[C$<2/>, cup=\E[%i%p1%d;%p2%dH$<5/>, 
15427         cuu1=\E[A$<2/>, ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H, 
15428         ht=^I, ind=\ED$<5/>, is2=\E[1;24r\E[24;1H, kbs=^H, 
15429         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, 
15430         kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m$<2/>, 
15431         rf=/usr/share/tabset/vt100, ri=\EM$<5/>, rmam=\E[7l, 
15432         rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m$<2/>, 
15433         rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
15434         sgr0=\E[m$<2/>, smam=\E[7l, smkx=\E[?1h\E=, smso=\E[7m, 
15435         smul=\E[4m$<2/>, 
15436
15437 #### Evans & Sutherland
15438 #
15439
15440 # Jon Leech <leech@cs.unc.edu> tells us:
15441 # The ps300 was the Evans & Sutherland Picture System 300, a high
15442 # performance 3D vector graphics system with a bunch of specialized hardware.
15443 # Approximate date of release was 1982 (early 80s, anyway), and it had several
15444 # evolutions including (limited) color versions such as the PS330C. PS300s
15445 # were effectively obsolete by the late 80s, replaced by raster graphics
15446 # systems, although specialized applications like molecular modelling
15447 # hung onto them for a while longer.  AFAIK all E&S vector graphics systems
15448 # are out of production, though of course E&S is very much alive (in 1996).
15449 # (ps300: changed ":pt@:" to "it@" -- esr)
15450 #
15451 ps300|Picture System 300, 
15452         xt, 
15453         it@, 
15454         rmso@, rmul@, smso@, smul@, use=vt100, 
15455
15456 #### General Electric (ge)
15457 #
15458
15459 terminet1200|terminet300|tn1200|tn300|terminet|GE terminet 1200, 
15460         OTbs, hc, os, 
15461         cols#120, 
15462         bel=^G, cr=^M, cud1=^J, ind=^J, 
15463
15464 #### Heathkit/Zenith
15465 #
15466
15467 # Here is a description of the H19 DIP switches:
15468 #
15469 # S401
15470 # 0-3 = baud rate as follows:
15471
15472 #         3       2       1       0
15473 #       ---     ---     ---     --- 
15474 #         0       0       1       1       300 baud
15475 #         0       1       0       1       1200 baud
15476 #         1       0       0       0       2400 baud
15477 #         1       0       1       0       4800 baud
15478 #         1       1       0       0       9600 baud
15479 #         1       1       0       1       19.2K baud
15480
15481 # 4 = parity (0 = no parity)
15482 # 5 = even parity (0 = odd parity)
15483 # 6 = stick parity (0 = normal parity)
15484 # 7 = full duplex (0 = half duplex)
15485
15486 # S402 
15487 # 0 = block cursor (0 = underscore cursor)
15488 # 1 = no key click (0 = keyclick)
15489 # 2 = wrap at end of line (0 = no wrap)
15490 # 3 = auto LF on CR (0 = no LF on CR)
15491 # 4 = auto CR on LF (0 = no CR on LF)
15492 # 5 = ANSI mode (0 = VT52 mode)
15493 # 6 = keypad shifted (0 = keypad unshifted)
15494 # 7 = 50Hz refresh (1 = 60Hz refresh)
15495
15496 # Factory Default settings are as follows:
15497 #          7 6 5 4 3 2 1 0
15498 # S401     1 0 0 0 1 1 0 0
15499 # S402     0 0 0 0 0 0 0 0
15500 # (h19: I added <rmam>/<smam> based on the init string;
15501 # also added empty <acsc> to suppress a tic warning -- esr)
15502 h19-a|h19a|heath-ansi|heathkit-a|heathkit h19 ansi mode, 
15503         OTbs, am, mir, msgr, 
15504         cols#80, it#8, lines#24, 
15505         acsc=, bel=^G, clear=\E[2J, cnorm=\E[>4l, cr=^M, cub1=^H, 
15506         cud1=\E[1B, cuf1=\E[1C, cup=\E[%i%p1%d;%p2%dH, 
15507         cuu1=\E[1A, cvvis=\E[>4h, dch1=\E[1P, dl1=\E[1M$<1*>, 
15508         ed=\E[J, el=\E[K, home=\E[H, ht=^I, il1=\E[1L$<1*>, ind=^J, 
15509         is2=\E<\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m\E[?7h, 
15510         kbs=^H, kcub1=\E[1D, kcud1=\E[1B, kcuf1=\E[1C, kcuu1=\E[1A, 
15511         kf1=\EOS, kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW, kf6=\EOP, 
15512         kf7=\EOQ, kf8=\EOR, khome=\E[H, lf6=blue, lf7=red, lf8=white, 
15513         ri=\EM, rmacs=\E[11m, rmam=\E[?7l, rmir=\E[4l, rmso=\E[m, 
15514         smacs=\E[10m, smam=\E[?7h, smir=\E[4h, smso=\E[7m, 
15515 h19-bs|heathkit w/keypad shifted, 
15516         rmkx=\Eu, smkx=\Et, use=h19-b, 
15517 h19-us|h19us|h19-smul|heathkit w/keypad shifted/underscore cursor, 
15518         rmkx=\Eu, smkx=\Et, use=h19-u, 
15519 # (h19: merged in <ip> from BSDI hp19-e entry>;
15520 # also added empty <acsc> to suppress a tic warning --esr)
15521 # From: Tim Pierce <twp@skepsis.com>, 23 Feb 1998 
15522 # Tim tells us that:
15523 # I have an old Zenith-19 terminal at home that still gets a lot of use.
15524 # This terminal suffers from the same famous insert-mode padding lossage
15525 # that has been acknowledged for the Z29 terminal.  Emacs is nearly
15526 # unusable on this box, since even a half-scroll up or down the window
15527 # causes flaming terminal death.
15528 #   
15529 # On the Z19, the only way I have found around this problem is to remove
15530 # the :al: and :dl: entries entirely.  No amount of extra padding will
15531 # help (I have tried up to 20000).  Removing <il1=\EL$> and <dl1=\EM$>
15532 # makes Emacs a little slower, but it remains in the land of the living.
15533 # Big win.
15534 h19|heath|h19-b|heathkit|heath-19|z19|zenith|heathkit h19, 
15535         OTbs, am, eslok, hs, mir, msgr, 
15536         cols#80, it#8, lines#24, 
15537         acsc=, bel=^G, clear=\EE, cnorm=\Ey4, cr=^M, cub1=^H, cud1=\EB, 
15538         cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
15539         cvvis=\Ex4, dch1=\EN, ed=\EJ, el=\EK, fsl=\Ek\Ey5, home=\EH, 
15540         ht=^I, ind=^J, ip=<1.5/>, kbs=^H, kcub1=\ED, kcud1=\EB, 
15541         kcuf1=\EC, kcuu1=\EA, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV, 
15542         kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, khome=\EH, lf6=blue, 
15543         lf7=red, lf8=white, ri=\EI, rmacs=\EG, rmir=\EO, rmso=\Eq, 
15544         smacs=\EF, smir=\E@, smso=\Ep, 
15545         tsl=\Ej\Ex5\EY8%p1%{32}%+%c\Eo\Eo, 
15546 h19-u|heathkit with underscore cursor, 
15547         cnorm@, cvvis@, use=h19-b, 
15548 h19-g|h19g|heathkit w/block cursor, 
15549         cnorm=\Ex4, use=h19-b, 
15550 alto-h19|altoh19|altoheath|alto-heath|alto emulating heathkit h19, 
15551         lines#60, 
15552         dl1=\EM, il1=\EL, use=h19, 
15553
15554 # The major problem with the Z29 is that it requires more padding than the Z19.
15555 #
15556 # The problem with declaring an H19 to be synonymous with a Z29 is that
15557 # it needs more padding. It especially loses if a program attempts
15558 # to put the Z29 into insert mode and insert text at 9600 baud. It
15559 # even loses worse if the program attempts to insert tabs at 9600
15560 # baud. Adding padding to text that is inserted loses because in 
15561 # order to make the Z29 not die, one must add so much padding that
15562 # whenever the program tries to use insert mode, the effective 
15563 # rate is about 110 baud.
15564
15565 # What program would want to put the terminal into insert mode 
15566 # and shove stuff at it at 9600 baud you ask?  
15567
15568 # Emacs. Emacs seems to want to do the mathematically optimal 
15569 # thing in doing a redisplay rather than the practical thing.
15570 # When it is about to output a line on top of a line that is 
15571 # already on the screen, instead of just killing to the end of 
15572 # the line and outputting the new line, it compares the old line 
15573 # and the new line and if there are any similarities, it 
15574 # constructs the new line by deleting the text on the old line 
15575 # on the terminal that is already there and then inserting new
15576 # text into the line to transform it into the new line that is 
15577 # to be displayed. The Z29 does not react kindly to this.
15578
15579 # But don't cry for too long.... There is a solution. You can make
15580 # a termcap entry for the Z29 that says the Z29 has no insert mode.
15581 # Then Emacs cannot use it. "Oh, no, but now inserting into a 
15582 # line will be really slow", you say. Well there is a sort of a
15583 # solution to that too. There is an insert character option on 
15584 # the Z29 that will insert one character. Unfortunately, it 
15585 # involves putting the terminal into ansi mode, inserting the 
15586 # character, and changing it back to H19 mode. All this takes 12 
15587 # characters. Pretty expensive to insert one character, but it 
15588 # works. Either Emacs doesn't try to use its inserting hack when 
15589 # it's only given an insert character ability or the Z29 doesn't 
15590 # require padding with this (the former is probably more likely, 
15591 # but I haven't checked it out).
15592 # (z29: added empty <acsc> to suppress a tic warning, merged in
15593 # status line capabilities from BRL entry --esr)
15594 z29|zenith29|z29b|zenith z29b, 
15595         OTbs, OTpt, am, eslok, hs, mir, msgr, 
15596         OTkn#10, cols#80, lines#24, 
15597         OTbc=\ED, acsc=, bel=^G, cbt=\E-, clear=\EE$<14>, cnorm=\Ey4, 
15598         cr=^M, cub1=^H, cud1=\EB, cuf1=\EC, 
15599         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E$<1>A, 
15600         cvvis=\Ex4, dch1=\EN$<0.1*>, dl1=\EM$<1/>, dsl=\Ey1, 
15601         ed=\EJ$<14>, el=\EK$<1>, fsl=\Ek\Ey5, home=\EH, ht=^I, 
15602         ich1=\E<\E[1@\E[?2h$<1>, il1=\EL$<1/>, ind=\n$<2>, 
15603         is2=\E<\E[?2h\Ev, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
15604         kcuu1=\EA, kf0=\E~, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV, 
15605         kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\E0I, khome=\EH, 
15606         lf0=home, ri=\EI$<2/>, rmacs=\EF, rmir=\EO, rmso=\Eq, 
15607         rmul=\Es0, smacs=\EG, smir=\E@, smso=\Ep, smul=\Es8, 
15608         tsl=\Ej\Ex5\Ex1\EY8%+ \Eo, 
15609 # z29 in ansi mode. Assumes that the cursor is in the correct state, and that
15610 # the world is stable. <rs1> causes the terminal to be reset to the state
15611 # indicated by the name. kc -> key click, nkc -> no key click, uc -> underscore
15612 # cursor, bc -> block cursor.
15613 # From: Mike Meyers
15614 # (z29a: replaced nonexistent <if=/usr/share/tabset/zenith29> befause <hts>
15615 # looks vt100-compatible -- esr)
15616 z29a|z29a-kc-bc|h29a-kc-bc|heath/zenith 29 in ansi mode, 
15617         OTbs, OTpt, am, eslok, hs, mir, msgr, 
15618         OTkn#10, cols#80, it#8, lines#24, 
15619         OTbc=\ED, bel=^G, blink=\E[5m, bold=\E[2m, clear=\E[2J, 
15620         cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
15621         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
15622         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
15623         dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m, dl=\E[%p1%dM, 
15624         dsl=\E[>1l, ed=\E[J, el=\E[K, fsl=\E[u\E[>5l, home=\E[H, 
15625         ht=^I, hts=\EH, if=/usr/share/tabset/vt100, il=\E[%p1%dL, 
15626         ind=\ED, kbs=^H, kclr=\E[J, kcub1=\EOD, kcud1=\EOB, 
15627         kcuf1=\EOC, kcuu1=\EOA, ked=\E[J, kf0=\E[~, kf1=\EOS, 
15628         kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW, kf6=\EOP, kf7=\EOQ, 
15629         kf8=\EOR, kf9=\EOX, khome=\E[H, lf0=help, mc0=\E#7, 
15630         nel=^M\ED, rc=\E[r, rev=\E[7m, ri=\EM, rmcup=\E[?7h, 
15631         rmso=\E[m, rmul=\E[m, 
15632         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, 
15633         sc=\E[s, sgr0=\E[m, smcup=\E[?7l, smso=\E[7;2m, smul=\E[4m, 
15634         tbc=\E[3g, tsl=\E[s\E[>5;1h\E[25;%i%dH\E[1K, 
15635 z29a-kc-uc|h29a-kc-uc|z29 ansi mode with keyckick and underscore cursor, 
15636         rs1=\E<\E[1;24r\E[24;1H\E[?7h\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m, 
15637         use=z29a, 
15638 z29a-nkc-bc|h29a-nkc-bc|z29 ansi mode with block cursor and no keyclick, 
15639         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, 
15640         use=z29a, 
15641 z29a-nkc-uc|h29a-nkc-uc|z29 ansi mode with underscore cursor and no keyclick, 
15642         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, 
15643         use=z29a, 
15644 # From: Jeff Bartig <jeffb@dont.doit.wisc.edu> 31 Mar 1995
15645 z39-a|z39a|zenith39-a|zenith39-ansi|Zenith 39 in ANSI mode, 
15646         am, eslok, hs, mc5i, mir, msgr, xon, 
15647         cols#80, lines#24, 
15648         acsc=0a``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G, 
15649         blink=\E[5m, bold=\E[1m, cbt=\E[1Z, civis=\E[>5h, 
15650         clear=\E[2J\E[H, cnorm=\E[>5l, cr=^M, 
15651         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
15652         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
15653         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
15654         dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m, dl=\E[%p1%dM, 
15655         dl1=\E[1M, dsl=\E[>1l, ed=\E[0J, el=\E[0K, el1=\E[1K, 
15656         fsl=\E[u, home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[1L, 
15657         ind=^J, is2=\E<\E[>1;3;5;6;7l\E[0m\E[2J, ka1=\EOw, 
15658         ka3=\EOu, kb2=\EOy, kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\E[D, 
15659         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, ked=\E[J, kf1=\EOS, 
15660         kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW, kf6=\EOP, kf7=\EOQ, 
15661         kf8=\EOR, kf9=\EOX, khlp=\E[~, khome=\E[H, ll=\E[24;1H, 
15662         mc0=\E[?19h\E[i, mc4=\E[4i, mc5=\E[5i, rc=\E[u, rev=\E[7m, 
15663         rmacs=\E(B, rmir=\E[4l, rmkx=\E[>7l, rmso=\E[0m, 
15664         rmul=\E[0m, rs2=\E<\Ec\0, sc=\E[s, sgr0=\E[0m, smacs=\E(0, 
15665         smir=\E[4h, smkx=\E[>7h, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
15666         tsl=\E[s\E[>1h\E[25;%i%p1%dH, 
15667
15668 # From: Brad Brahms <Brahms@USC-ECLC>
15669 z100|h100|z110|z-100|h-100|heath/zenith z-100 pc with color monitor, 
15670         cnorm=\Ey4\Em70, cvvis=\Ex4\Em71, use=z100bw, 
15671 # (z100bw: removed obsolete ":kn#10:", added empty <acsc> -- esr)
15672 z100bw|h100bw|z110bw|z-100bw|h-100bw|heath/zenith z-100 pc, 
15673         OTbs, OTpt, mir, msgr, 
15674         OTkn#10, cols#80, it#8, lines#24, 
15675         acsc=, clear=\EE$<5*/>, cnorm=\Ey4, cub1=^H, cud1=\EB, 
15676         cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<1*/>, 
15677         cuu1=\EA, cvvis=\Ex4, dch1=\EN$<1*/>, dl1=\EM$<5*/>, 
15678         ed=\EJ, el=\EK, home=\EH, ht=^I, il1=\EL$<5*/>, kbs=^H, 
15679         kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf0=\EJ, kf1=\ES, 
15680         kf2=\ET, kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, 
15681         kf9=\EOI, khome=\EH, ri=\EI, rmacs=\EG, rmir=\EO, rmso=\Eq, 
15682         smacs=\EF, smir=\E@, smso=\Ep, 
15683 p19|h19-b with il1/dl1, 
15684         dl1=\EM$<2*/>, il1=\EL$<2*/>, use=h19-b, 
15685 # From: <ucscc!B.fiatlux@ucbvax.berkeley.edu>
15686 # (ztx: removed duplicate :sr: -- esr)
15687 ztx|ztx11|zt-1|htx11|ztx-1-a|ztx-10 or 11, 
15688         OTbs, am, eslok, hs, 
15689         cols#80, it#8, lines#24, 
15690         clear=\EE, cub1=^H, cud1=^J, cuf1=\EC, 
15691         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM, 
15692         dsl=\Ey1, ed=\EJ, el=\EK, fsl=\Ek\Ey5, home=\EH, ht=^I, 
15693         il1=\EL, is2=\Ej\EH\Eq\Ek\Ev\Ey1\Ey5\EG\Ey8\Ey9\Ey>, 
15694         kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf0=\ES, 
15695         kf1=\EB, kf2=\EU, kf3=\EV, kf4=\EW, kf5=\EP, kf6=\EQ, kf7=\ER, 
15696         ri=\EI, rmso=\Eq, rmul=\Eq, smso=\Es5, smul=\Es2, 
15697         tsl=\Ej\Ex5\Ex1\EY8%+ \Eo, 
15698
15699 #### IMS International (ims)
15700 #
15701 # There was a company called IMS International located in Carson City, 
15702 # Nevada, that flourished from the mid-70s to mid-80s.  They made S-100
15703 # bus/Z80 hardware and a line of terminals called Ultimas.  
15704 #
15705
15706 # From: Erik Fair <fair@ucbarpa.berkeley.edu>  Sun Oct 27 07:21:05 1985
15707 ims950-b|bare ims950 no init string, 
15708         is2@, use=ims950, 
15709 # (ims950: removed obsolete ":ko@:" -- esr)
15710 ims950|ims televideo 950 emulation, 
15711         xenl@, 
15712         flash@, kbs@, kcub1@, kcud1@, kcuf1@, kcuu1@, kf0@, kf1@, kf2@, kf3@, 
15713         kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, khome@, use=tvi950, 
15714 # (ims950-rv: removed obsolete ":ko@:" -- esr)
15715 ims950-rv|ims tvi950 rev video, 
15716         xenl@, 
15717         flash@, kbs@, kcub1@, kcud1@, kcuf1@, kcuu1@, kf0@, kf1@, kf2@, kf3@, 
15718         kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, khome@, use=tvi950-rv, 
15719 ims-ansi|ultima2|ultimaII|IMS Ultima II, 
15720         OTbs, am, 
15721         cols#80, it#8, lines#24, 
15722         clear=\E[H\E[2J, cub1=^H, cud1=\ED, 
15723         cup=\E[%i%p1%2d;%p2%2dH, cuu1=\EM, ed=\E[0J, el=\E[0K, 
15724         ht=^I, if=/usr/share/tabset/vt100, 
15725         is2=\E[m\E[>14l\E[?1;?5;20l\E>\E[1m\r, kcub1=\E[D, 
15726         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, ri=\EM, 
15727         rmso=\E[m\E[1m, rmul=\E[m\E[1m, sgr0=\E[m, smso=\E[7m, 
15728         smul=\E[4m, 
15729
15730 #### Intertec Data Systems
15731 #
15732 # I think this company is long dead as of 1995.  They made an early CP/M
15733 # micro called the "Intertec Superbrain" that was moderately popular,
15734 # then sank out of sight.
15735 #
15736
15737 superbrain|intertec superbrain, 
15738         OTbs, am, bw, 
15739         cols#80, lines#24, 
15740         OTbc=^U, bel=^G, clear=\014$<5*>, cr=^M, cub1=^H, cud1=^J, 
15741         cuf1=^F, cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<20>, cuu1=^K, 
15742         ed=\E~k<10*>, el=\E~K$<15>, ht=^I, ind=^J, kcub1=^U, 
15743         kcud1=^J, kcuf1=^F, kcuu1=^K, rmcup=^L, smcup=^L, 
15744 # (intertube: a Gould entry via BRL asserted smul=\E0@$<200/>, 
15745 # rmul=\E0A$<200/>; my guess is the highlight letter is bit-coded like an ADM,
15746 # and the reverse is actually true.  Try it. -- esr)
15747 intertube|intertec|Intertec InterTube, 
15748         OTbs, am, 
15749         cols#80, lines#25, 
15750         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F, 
15751         cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<50>, cuu1=^Z, home=^A, 
15752         ind=^J, rmso=\E0@, smso=\E0P, 
15753 # The intertube 2 has the "full duplex" problem like the tek 4025: if you
15754 # are typing and a command comes in, the keystrokes you type get interspersed
15755 # with the command and it messes up
15756 intertube2|intertec data systems intertube 2, 
15757         OTbs, 
15758         cup=\016%p1%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%c, 
15759         el=\EK, hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%c, 
15760         ll=^K^X\r, vpa=\013%p1%c, use=intertube, 
15761
15762 #### Ithaca Intersystems
15763 #
15764 # This company made S100-bus personal computers long ago in the pre-IBM-PC
15765 # past.  They used to be reachable at:
15766 #
15767 #       Ithaca Intersystems
15768 #       1650 Hanshaw Road
15769 #       Ithaca, New York 14850
15770 #
15771 # However, the outfit went bankrupt years ago.
15772 #
15773
15774 # The Graphos III was a color graphics terminal from Ithaca Intersystems.
15775 # These entries were written (originally in termcap syntax) by Brian Yandell 
15776 # <yandell@stat.wisc.edu> and Mike Meyer <mikem@stat.wisc.edu> at the 
15777 # University of Wisconsin.
15778
15779 # (graphos: removed obsolete and syntactically incorrect :kn=4:, 
15780 # removed <if=/usr/share/tabset/init.graphos> and 
15781 # <rf=/usr/share/tabset/init.graphos> no such file & no <hts> -- esr)
15782 graphos|graphos III, 
15783         am, mir, 
15784         cols#80, it#8, lines#24, 
15785         clear=\E[H\E[2J, cnorm=\Ez56;2;0;0z\Ez73z\Ez4;1;1z, 
15786         cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, 
15787         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
15788         cuu=\E[%p1%dA, cuu1=\E[A, 
15789         cvvis=\Ez4;2;1z\Ez56;2;80;24z, dch1=\E[P, dl=\E[%p1%dM, 
15790         dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL, 
15791         il1=\E[L, ind=\ED, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
15792         kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, 
15793         kf4=\EOS, khome=\E[H, nel=^M\ED, rc=\E8, ri=\EM, rmdc=\E[4l, 
15794         rmir=\E[4l, rmso=\E[m, sc=\E7, sgr0=\E[m, smdc=\E[4h, 
15795         smir=\E[4h, smso=\E[7m, 
15796 graphos-30|graphos III with 30 lines, 
15797         lines#30, 
15798         cvvis=\Ez4;2;1z\Ez56;2;80;30z, use=graphos, 
15799
15800 #### Modgraph
15801 #
15802 # These people used to be reachable at:
15803 #
15804 #       Modgraph, Inc
15805 #       1393 Main Street,
15806 #       Waltham, MA 02154
15807 #       Vox: (617)-890-5796.
15808 #
15809 # However, if you call that number today you'll get an insurance company.
15810 # I have mail from "Michael Berman, V.P. Sales, Modgraph" dated 
15811 # 26 Feb 1997 that says:
15812 #
15813 # Modgraph GX-1000, replaced by GX-2000.  Both are out of production, have been
15814 # for ~7 years.  Modgraph still in business.  Products are rugged laptop and
15815 # portable PC's and specialized CRT and LCD monitors (rugged, rack-mount
15816 # panel-mount etc).  I can be emailed at sonfour@aol.com
15817 #
15818 # Peter D. Smith <pdsmith@nbbn.com> notes that his modgraph manual was
15819 # dated 1984.  According to the manual, it featured Tek 4010/4014
15820 # graphics and DEC VT100/VT52 + ADM-3A emulation with a VT220-style keyboard.
15821 #
15822
15823 modgraph|mod24|modgraph terminal emulating vt100, 
15824         xenl@, 
15825         cols#80, lines#24, 
15826         cvvis=\E\^9;0s\E\^7;1s, 
15827         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, 
15828         rf@, ri=\EM\E[K$<5/>, use=vt100, 
15829 # The GX-1000 manual is dated 1984.  This looks rather like a VT-52.
15830 modgraph2|modgraph gx-1000 80x24 with keypad not enabled, 
15831         am, da, db, 
15832         cols#80, it#8, lines#24, 
15833         clear=\EH\EJ$<50/>, cub1=^H, cuf1=\EC$<2/>, 
15834         cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<5/>, cuu1=\EA$<2/>, 
15835         ed=\EJ$<50/>, el=\EK$<3/>, ht=^I, 
15836         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, 
15837         ri=\EI$<5/>, 
15838 #
15839 # Modgraph from Nancy L. Cider <nancyc@brl-tbd>
15840 # BUG NOTE from Barbara E. Ringers <barb@brl-tbd>:
15841 # If we set TERM=vt100, and set the Modgraph screen to 24 lines, setting a
15842 # mark and using delete-to-killbuffer work correctly.  However, we would
15843 # like normal mode of operation to be using a Modgraph with 48 line setting.
15844 # If we set TERM=mod (which is a valid entry in termcap with 48 lines)
15845 # the setting mark and delete-to-killbuffer results in the deletion of only
15846 # the line the mark is set on.
15847 # We've discovered that the delete-to-killbuffer works correctly
15848 # with TERM=mod and screen set to 80x48 but it's not obvious.  Only
15849 # the first line disappears but a ctrl-l shows that it did work
15850 # correctly.
15851 modgraph48|mod|Modgraph w/48 lines, 
15852         OTbs, OTpt, am, xenl, 
15853         cols#80, it#8, lines#48, vt#3, 
15854         OTnl=^J, bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[;H\E[2J, 
15855         cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C, 
15856         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
15857         flash=\E[?5h\E[0q\E[1;2q\E[?5l\E[0q\E[4;3q, 
15858         home=\E[H, ht=^I, is2=\E<\E[1;48r\E[0q\E[3;4q\E=\E[?1h, 
15859         kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
15860         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m, 
15861         ri=\EM, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
15862         rs1=\E=\E[0q\E>, sc=\E7, sgr0=\E[m, smkx=\E[?1h\E=, 
15863         smso=\E[7m, smul=\E[4m, 
15864
15865 #### Morrow Designs
15866
15867 # This was George Morrow's company.  They started in the late 1970s making
15868 # S100-bus machines.  They used to be reachable at:
15869 #
15870 #        Morrow
15871 #        600 McCormick St.
15872 #        San Leandro, CA 94577
15873 #
15874 # but they're long gone now (1995).
15875 #
15876
15877 # The mt70 terminal was shipped with the Morrow MD-3 microcomputer. 
15878 # Jeff's specimen was dated June 1984.
15879 # From: Jeff Wieland <wieland@acn.purdue.edu> 24 Feb 1995
15880 mt70|mt-70|Morrow MD-70; native Morrow mode, 
15881         am, mir, msgr, xon, 
15882         cols#80, it#8, lines#24, 
15883         acsc=+z\,{-x.yOi`|jGkFlEmDnHqJtLuKvNwMxI, bel=^G, 
15884         cbt=\EI, civis=\E"0, clear=^Z, cnorm=\E"2, cr=^M, cub1=^H, 
15885         cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<1>, 
15886         cuu1=^K, dch1=\EW, dim=\EG2, dl1=\ER, ed=\EY, el=\ET$<10>, 
15887         flash=\EK1$<200>\EK0, home=^^, ht=^I, ich1=\EQ, il1=\EE, 
15888         ind=^J, invis@, is1=\E"2\EG0\E], kbs=^H, kcbt=^A^Z\r, 
15889         kclr=^An\r, kcub1=^AL\r, kcud1=^AK\r, kcuf1=^AM\r, 
15890         kcuu1=^AJ\r, kdch1=\177, kf1=^A@\r, kf10=^AI\r, kf11=^A`\r, 
15891         kf12=^Aa\r, kf13=^Ab\r, kf14=^Ac\r, kf15=^Ad\r, kf16=^Ae\r, 
15892         kf17=^Af\r, kf18=^Ag\r, kf19=^Ah\r, kf2=^AA\r, kf20=^Ai\r, 
15893         kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
15894         kf8=^AG\r, kf9=^AH\r, khlp=^AO\r, khome=^AN\r, nel=^_, 
15895         rmacs=\E%, rmcup=, smacs=\E$, smcup=\E"2\EG0\E], smul=\EG1, 
15896         tbc=\E0, use=adm+sgr, 
15897
15898 #### Motorola
15899 #
15900
15901 # Motorola EXORterm 155 from {decvax, ihnp4}!philabs!sbcs!megad!seth via BRL
15902 # (Seth H Zirin)
15903 ex155|Motorola Exorterm 155, 
15904         OTbs, am, bw, 
15905         OTkn#5, OTug#1, cols#80, lines#24, 
15906         cbt=\E[, clear=\EX, cud1=\EB, cuf1=\ED, 
15907         cup=\EE%p1%{32}%+%c%p2%{32}%+%c, ed=\ET, el=\EU, 
15908         home=\E@, ht=\EZ, kbs=^H, kcbt=\E[, kclr=\EX, kcub1=^H, 
15909         kcud1=^J, kcuf1=^L, kcuu1=^K, ked=\ET, kel=\EU, khome=\E@, 
15910         rmso=\Ec\ED, rmul=\Eg\ED, smso=\Eb\ED, smul=\Ef\ED, 
15911
15912 #### Omron
15913 #
15914 # This company is still around in 1995, manufacturing point-of-sale systems.
15915
15916 omron|Omron 8025AG, 
15917         OTbs, am, da, db, 
15918         cols#80, lines#24, 
15919         bel=^G, clear=\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, cuu1=\EA, 
15920         cvvis=\EN, dch1=\EP, dl1=\EM, ed=\ER, el=\EK, home=\EH, 
15921         il1=\EL, ind=\ES, ri=\ET, rmso=\E4, smso=\Ef, 
15922
15923 #### Ramtek
15924 #
15925 # Ramtek was a vendor of high-end graphics terminals around 1979-1983; they
15926 # were competition for things like the Tektronics 4025.
15927 #
15928
15929 # Ramtek 6221 from BRL, probably by Doug Gwyn
15930 # The following SET-UP modes are assumed for normal operation:
15931 #       UNDERLINE_CURSOR        ANSI_MODE       AUTO_XON/XOFF_ON
15932 #       NEWLINE_OFF             80_COLUMNS
15933 # Other SET-UP modes may be set for operator convenience or communication
15934 # requirements; I recommend
15935 #       SMOOTH_SCROLL   AUTO_REPEAT_ON  3_#_SHIFTED     WRAP_AROUND_ON
15936 # Hardware tabs are assumed to be every 8 columns; they can be set up by the
15937 # "reset", "tset", or "tabs" utilities (use rt6221-w, 160 columns, for this).
15938 # Note that the Control-E key is useless on this brain-damaged terminal.  No
15939 # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
15940 rt6221|Ramtek 6221 80x24, 
15941         OTbs, OTpt, msgr, xon, 
15942         OTkn#4, cols#80, it#8, lines#24, vt#3, 
15943         acsc=, bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[>5l, 
15944         clear=\E[1;1H\E[J, cnorm=\E[>5h\E[>9h, cr=^M, 
15945         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
15946         cud=\E[%p1%dB, cud1=^K, cuf=\E[%p1%dC, cuf1=\E[C, 
15947         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM, 
15948         cvvis=\E[>7h\E[>9l, ed=\E[J, el=\E[K, home=\E[1;1H, ht=^I, 
15949         hts=\EH, ind=^J, is2=\E)0, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
15950         kcuf1=\E[C, kcuu1=\E[A, kf0=\EOP, kf1=\EOQ, kf2=\EOR, 
15951         kf3=\EOS, lf0=PF1, lf1=PF2, lf2=PF3, lf3=PF4, ll=\E[24;1H, 
15952         nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, rmkx=\E>, 
15953         rmso=\E[m, rmul=\E[m, 
15954         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>, 
15955         sc=\E7, sgr0=\E[m, smacs=^N, smkx=\E=, smso=\E[7m, 
15956         smul=\E[4m, tbc=\E[3g, 
15957 # [TO DO: Check out: short forms of ho/cl and ll; reset (\Ec)].
15958 rt6221-w|Ramtek 6221 160x48, 
15959         cols#160, lines#48, 
15960         ll=\E[48;1H, use=rt6221, 
15961
15962 #### RCA
15963 #
15964
15965 # RCA VP3301 or VP3501
15966 rca|rca vp3301/vp3501, 
15967         OTbs, 
15968         cols#40, lines#24, 
15969         clear=^L, cuf1=^U, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
15970         cuu1=^K, home=^Z, rmso=\E\ES0, smso=\E\ES1, 
15971
15972
15973 #### Selanar
15974 #
15975
15976 # Selanar HiREZ-100 from BRL, probably by Doug Gwyn
15977 # The following SET-UP modes are assumed for normal operation:
15978 #       SET_DEFAULT_TABS        48_LINES                80_COLUMNS
15979 #       ONLINE                  ANSI                    CURSOR_VISIBLE
15980 #       VT102_AUTO_WRAP_ON      VT102_NEWLINE_OFF       VT102_MONITOR_MODE_OFF
15981 #       LOCAL_ECHO_OFF          US_CHAR_SET             WPS_TERMINAL_DISABLED
15982 #       CPU_AUTO_XON/XOFF_ENABLED                       PRINT_FULL_SCREEN
15983 # For use with graphics software, all graphics modes should be set to factory
15984 # default.  Other SET-UP modes may be set for operator convenience or
15985 # communication requirements.  No delays are specified; use "stty ixon -ixany"
15986 # to enable DC3/DC1 flow control!
15987 # I commented out the scrolling capabilities since they are too slow.
15988 hirez100|Selanar HiREZ-100, 
15989         OTbs, OTpt, mir, msgr, xon, 
15990         OTkn#4, cols#80, it#8, lines#48, vt#3, 
15991         acsc=, bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, 
15992         cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
15993         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
15994         cuu=\E[%p1%dA, cuu1=\EM, dch=\E[%p1%dP, dch1=\E[P, 
15995         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
15996         hts=\EH, il=\E[%p1%dL, il1=\E[L, is2=\E<\E)0, kbs=^H, 
15997         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOP, 
15998         kf1=\EOQ, kf2=\EOR, kf3=\EOS, lf0=PF1, lf1=PF2, lf2=PF3, 
15999         lf3=PF4, ll=\E[48H, mc0=\E[i, mc4=\E[4i\E[?4i, 
16000         mc5=\E[?5i\E[5i, nel=\EE, rc=\E8, rev=\E[7m, rmacs=^O, 
16001         rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
16002         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>, 
16003         sc=\E7, sgr0=\E[m, smacs=^N, smkx=\E[?1h\E=, smso=\E[7m, 
16004         smul=\E[4m, tbc=\E[3g, 
16005 hirez100-w|Selanar HiREZ-100 in 132-column mode, 
16006         cols#132, use=hirez100, 
16007
16008 #### Signetics
16009 #
16010
16011 # From University of Wisconsin
16012 vsc|Signetics Vsc Video driver by RMC, 
16013         am, msgr, 
16014         cols#80, it#8, lines#26, 
16015         clear=\E[;H\E[2J$<50/>, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
16016         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H, 
16017         ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rev=^_\s, 
16018         rmso=^_!, rmul=^_#, sgr0=^_!, smso=^_\s, smul=^_", 
16019
16020 #### Soroc
16021 #
16022 # Alan Frisbie <frisbie@flying-disk.com> writes:
16023 #
16024 # As you may recall, the Soroc logo consisted of their name,
16025 # with the letter "S" superimposed over an odd design.   This
16026 # consisted of a circle with a slightly smaller 15 degree (approx.)
16027 # wedge with rounded corners inside it.   The color was sort of
16028 # a metallic gold/yellow.
16029
16030 # If I had been more of a beer drinker it might have been obvious
16031 # to me, but it took a clue from their service department to make
16032 # me exclaim, "Of course!"   The circular object was the top of
16033 # a beer can (the old removable pop-top style) and "Soroc" was an
16034 # anagram for "Coors".
16035
16036 # I can just imagine the founders of the company sitting around
16037 # one evening, tossing back a few and trying to decide what to
16038 # call their new company and what to use for a logo.
16039
16040
16041 # (soroc120: removed obsolete ":ma=^K^P^R^L^L :" -- esr)
16042 soroc120|iq120|soroc|soroc iq120, 
16043         clear=\E*$<2>, cud1=^J, ed=\EY, el=\ET, kcub1=^H, kcud1=^J, 
16044         kcuf1=^L, kcuu1=^K, use=adm3a, 
16045 soroc140|iq140|soroc iq140, 
16046         OTbs, am, mir, 
16047         cols#80, lines#24, 
16048         bel=^G, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
16049         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\Ew, 
16050         dl1=\Er$<.7*>, ed=\Ey, el=\Et, home=^^, il1=\Ee$<1*>, ind=^J, 
16051         kbs=^H, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A@\r, kf2=^AA\r, 
16052         kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
16053         kf8=^AG\r, kf9=^AH\r, khome=^^, ll=^^^K, rmir=\E8, 
16054         rmso=\E\177, rmul=\E^A, smir=\E9, smso=\E\177, smul=\E^A, 
16055
16056 #### Southwest Technical Products
16057 #
16058 # These guys made an early personal micro called the M6800.  
16059 # The ct82 was probably its console terminal.
16060 #
16061
16062 # (swtp: removed obsolete ":bc=^D:" -- esr)
16063 swtp|ct82|southwest technical products ct82, 
16064         am, 
16065         cols#82, lines#20, 
16066         bel=^G, clear=^L, cr=^M, cub1=^D, cud1=^J, cuf1=^S, 
16067         cup=\013%p2%c%p1%c, cuu1=^A, dch1=^\^H, dl1=^Z, ed=^V, el=^F, 
16068         home=^P, ich1=^\^X, il1=^\^Y, ind=^N, 
16069         is2=\034\022\036\023\036\004\035\027\011\023\036\035\036\017\035\027\022\011, 
16070         ll=^C, ri=^O, rmso=^^^F, smso=^^^V, 
16071
16072 #### Synertek
16073 #
16074 # Bob Manson <manson@pattyr.acs.ohio-state.edu> writes (28 Apr 1995):
16075 #
16076 # Synertek used to make ICs, various 6502-based single-board process
16077 # control and hobbyist computers, and assorted peripherals including a
16078 # series of small inexpensive terminals (I think they were one of the
16079 # first to have a "terminal-on-a-keyboard", where the terminal itself
16080 # was only slightly larger than the keyboard).
16081 #
16082 # They apparently had a KTM-1 model, which I've never seen. The KTM-2/40
16083 # was a 40x24 terminal that could connect to a standard TV through a
16084 # video modulator.  The KTM-2/80 was the 80-column version (the 2/40
16085 # could be upgraded to the 2/80 by adding 2 2114 SRAMs and a new ROM).
16086 # I have a KTM-2/80 still in working order.  The KTM-2s had fully
16087 # socketed parts, used 2 6507s, a 6532 as keyboard scanner, a program
16088 # ROM and 2 ROMs as character generators. They were incredibly simple,
16089 # and I've never had any problems with mine (witness the fact that mine
16090 # was made in 1981 and is still working great... I've blown the video
16091 # output transistor a couple of times, but it's a 2N2222 :-)
16092 #
16093 # The KTM-3 (which is what is listed in the terminfo file) was their
16094 # attempt at putting a KTM-2 in a box (and some models came with a
16095 # CRT). It wasn't much different from the KTM-2 hardware-wise, but the
16096 # control and escape sequences are very different. The KTM-3 was always
16097 # real broken, at least according to the folks I've talked to about it.
16098
16099 # The padding in the entry is probably off--these terminals were very
16100 # slow (it takes like 100ms for the KTM-2 to clear the screen...) And
16101 # anyone with any sanity replaced the ROMs with something that provided
16102 # a reasonable subset of VT100 functionality, since the usual ROMs were
16103 # obviously very primitive... oh, you could get an upgraded ROM from
16104 # Synertek for some incredible amount of money, but what hacker with an
16105 # EPROM burner would do that? :)
16106
16107 # Sorry I don't have any contact info; I believe they were located in
16108 # Sunnyvale, and I'm fairly sure they are still manufacturing ICs
16109 # (they've gone to ASICs and FPGAs), but I doubt they're in the computer
16110 # business these days.
16111 #
16112
16113 # Tested, seems to work fine with vi.
16114 synertek|ktm|synertek380|synertek ktm 3/80 tubeless terminal, 
16115         am, 
16116         cols#80, lines#24, 
16117         clear=^Z, cub1=^H, cuf1=^L, 
16118         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EJ, el=\EK, 
16119
16120 #### Tab Office Products
16121 #
16122 #       TAB Products Co. - Palo Alto, California
16123 #       Electronic Office Products,
16124 #       1451 California Avenue 94304
16125 #
16126 # I think they're out of business.
16127 #
16128
16129 # The tab 132 uses xon/xoff, so no padding needed.
16130 # <smkx>/<rmkx> have nothing to do with arrow keys.
16131 # <is2> sets 80 col mode, normal video, autowrap on (for <am>).
16132 # Seems to be no way to get rid of status line.
16133 # The manual for this puppy was dated June 1981.  It claims to be VT52-
16134 # compatible but looks more vt100-like.
16135 tab132|tab|tab132-15|tab 132/15, 
16136         da, db, 
16137         OTdN@, cols#80, lines#24, lm#96, 
16138         cud1=^J, cup=\E[%i%p1%d;%p2%dH, dch1=\E[P, dl1=\E[M, 
16139         il1=\E[L, is2=\E[?7h\E[?3l\E[?5l, kcub1=\E[D, kcud1=\E[B, 
16140         kcuu1=\E[A, rmir=\E[4l, rmkx@, smir=\E[4h, smkx@, use=vt100, 
16141 tab132-w|tab132 in wide mode, 
16142         cols#132, 
16143         is2=\E[?7h\E[?3h\E[?5l, use=tab132, 
16144 tab132-rv|tab132 in reverse-video mode, 
16145         is2=\E[?7h\E[?3l\E[?5h, use=tab132, 
16146 tab132-w-rv|tab132 in reverse-video/wide mode, 
16147         is2=\E[?7h\E[?3h\E[?5h, use=tab132-w, 
16148
16149
16150 #### Teleray
16151 #
16152 #       Research Incorporated
16153 #       6425 Flying Cloud Drive
16154 #       Eden Prairie, MN 55344
16155 #       Vox: (612)-941-3300
16156 #
16157 # The Teleray terminals were all discontinued in 1992-93.  RI still services
16158 # and repairs these beasts, but no longer manufactures them.  The Teleray
16159 # people believe that all the types listed below are very rare now (1995).
16160 # There was a newer line of Telerays (Model 7, Model 20, Model 30, and
16161 # Model 100) that were ANSI-compatible.
16162 #
16163 # Note two things called "teleray".  Reorder should move the common one
16164 # to the front if you have either.  A dumb teleray with the cursor stuck
16165 # on the bottom and no obvious model number is probably a 3700.
16166 #
16167
16168 t3700|dumb teleray 3700, 
16169         OTbs, 
16170         cols#80, lines#24, 
16171         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, ind=^J, 
16172 t3800|teleray 3800 series, 
16173         OTbs, 
16174         cols#80, it#8, lines#24, 
16175         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
16176         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EJ, el=\EK, 
16177         home=\EH, ht=^I, ind=^J, ll=\EY7\s, 
16178 t1061|teleray|teleray 1061, 
16179         OTbs, am, km, xhp, xt, 
16180         cols#80, it#8, lines#24, xmc#1, 
16181         bel=^G, clear=\014$<1>, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
16182         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ, 
16183         dl1=\EM$<2*>, ed=\EJ$<1>, el=\EK, home=\EH, ht=^I, hts=\EF, 
16184         ich1=\EP, il1=\EL$<2*>, ind=^J, ip=$<0.4*>, 
16185         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, 
16186         kf1=^Z1, kf2=^Z2, kf3=^Z3, kf4=^Z4, kf5=^Z5, kf6=^Z6, kf7=^Z7, 
16187         kf8=^Z8, rmso=\ER@, rmul=\ER@, smso=\s\ERD, smul=\ERH, 
16188         tbc=\EG, 
16189 t1061f|teleray 1061 with fast PROMs, 
16190         dl1=\EM, il1=\EL, ip@, use=t1061, 
16191 # "Teleray Arpa Special", officially designated as
16192 # "Teleray Arpa network model 10" with "Special feature 720".
16193 # This is the new (1981) fast microcode updating the older "arpa" proms
16194 # (which gave meta-key and programmable-fxn keys).  720 is much much faster,
16195 # converts the keypad to programmable function keys, and has other goodies.
16196 # Standout mode is still broken (magic cookie, etc) so is suppressed as no
16197 # programs handle such lossage properly.
16198 # Note: this is NOT the old termcap's "t1061f with fast proms."
16199 # From: J. Lepreau <lepreau@utah-cs> Tue Feb  1 06:39:37 1983, Univ of Utah
16200 # (t10: removed overridden ":so@:se@:us@:ue@:" -- esr)
16201 t10|teleray 10 special, 
16202         OTbs, km, xhp, xt, 
16203         cols#80, it#8, lines#24, xmc#2, 
16204         clear=\Ej$<30/>, cub1=^H, cuf1=\EC, 
16205         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ, 
16206         dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EP, il1=\EL, 
16207         ind=\Eq, pad=\0, ri=\Ep, rmso=\ER@, rmul=\ER@, smso=\ERD, 
16208         smul=\ERH, 
16209 # teleray 16 - map the arrow keys for vi/rogue, shifted to up/down page, and
16210 # back/forth words. Put the function keys (f1-f10) where they can be
16211 # found, and turn off the other magic keys along the top row, except
16212 # for line/local. Do the magic appropriate to make the page shifts work.
16213 # Also toggle ^S/^Q for those of us who use Emacs.
16214 t16|teleray 16, 
16215         am, da, db, mir, xhp, xt, 
16216         cols#80, lines#24, 
16217         bel=^G, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[B, 
16218         cuf1=\E[C, cup=%i\E[%p1%d;%p2%df, cuu1=\E[A, dch1=\E[P, 
16219         dl1=\E[M, ed=\E[0J, el=\E[0K, home=\E[H, ht=^I, il1=\E[L, 
16220         ind=^J, kf1=^Z1, kf10=^Z0, kf2=^Z2, kf3=^Z3, kf4=^Z4, kf5=^Z5, 
16221         kf6=^Z6, kf7=^Z7, kf8=^Z8, kf9=^Z9, ri=\E[T, 
16222         rmcup=\E[V\E[24;1f\E[?38h, rmir=\E[4l, rmso=\E[m, 
16223         rmul=\E[m, sgr0=\E[m, smcup=\E[U\E[?38l, smir=\E[4h, 
16224         smso=\E[7m, smul=\E[4m, 
16225
16226 #### Texas Instruments (ti)
16227 #
16228
16229 # The Silent 700 was so called because it was built around a quiet thermal
16230 # printer.  It was portable, equipped with an acoustic coupler, and pretty
16231 # neat for its day.
16232 ti700|ti733|ti735|ti745|ti800|ti silent 700/733/735/745 or omni 800, 
16233         OTbs, hc, os, 
16234         cols#80, 
16235         bel=^G, cr=\r$<162>, cub1=^H, cud1=^J, ind=^J, 
16236
16237 #
16238 # Texas Instruments 916 VDT 7 bit control mode
16239 #
16240 ti916|ti916-220-7|Texas Instruments 916 VDT 8859/1 vt220 mode 7 bit CTRL, 
16241         da, db, in, msgr, 
16242         cbt=\E[Z, civis=\E[?25l, clear=\E[H\E[2J$<6>, 
16243         cnorm=\E[?25h, cub=\E[%p1%dD, cud=\E[%p1%dB, 
16244         cuf=\E[%p1%dC, cup=\E[%p1%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
16245         cvvis=\E[?25h, dch=\E[%p1%dP$<250>, dch1=\E[P, 
16246         dl=\E[%p1%dM, ech=\E[%p1%dX$<20>, ed=\E[J$<6>, el=\E[0K, 
16247         el1=\E[1K, enacs=\E(B\E)0, ff=^L, flash=\E[?5h\E[?5l$<6>, 
16248         hpa=\E[%p1%{1}%+%dG, hts=\E[0W, ich=\E[%p1%d@$<250>, 
16249         il=\E[%p1%dL$<36>, ip=$<10>, is2=\E[1;24r\E[24;1H, 
16250         kcmd=\E[29~, kdch1=\E[P, kent=^J, kf1=\E[17~, kf10=\E[28~, 
16251         kf11=\E[29~, kf12=\E[31~, kf2=\E[18~, kf3=\E[19~, 
16252         kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, 
16253         kf9=\E[26~, khome=\E[H, kich1=\E[@, knp=\E[S, kpp=\E[T, 
16254         kprt=^X, prot=\E&, rmacs=\017$<2>, rs2=\E[!p, 
16255         smacs=\016$<2>, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd, 
16256         use=vt220, 
16257 #
16258 # Texas Instruments 916 VDT 8 bit control mode
16259 #
16260 ti916-8|ti916-220-8|Texas Instruments 916 VDT 8859/1 8 vt220 mode bit CTRL, 
16261         kcmd=\23329~, kcub1=\233D, kcud1=\233B, kcuf1=\233C, 
16262         kcuu1=\233A, kdch1=\233P, kent=^J, kf1=\23317~, 
16263         kf10=\23328~, kf11=\23329~, kf12=\23331~, kf2=\23318~, 
16264         kf3=\23319~, kf4=\23320~, kf5=\23321~, kf6=\23323~, 
16265         kf7=\23324~, kf8=\23325~, kf9=\23326~, khome=\233H, 
16266         kich1=\233@, knp=\233S, kpp=\233T, kprt=^X, use=ti916, 
16267 #
16268 # Texas Instruments 916 VDT 8859/1 7 bit control 132 column mode
16269 #
16270 ti916-132|Texas Instruments 916 VDT vt220 132 column, 
16271         cols#132, use=ti916, 
16272 #
16273 # Texas Instruments 916 VDT 8859/1 8 bit control 132 column mode
16274 #
16275 ti916-8-132|Texas Instruments 916 VDT 8-bit vt220 132 column, 
16276         cols#132, use=ti916-8, 
16277 ti924|Texas Instruments 924 VDT 8859/1 7 bit CTRL, 
16278         OTbs, am, xon, 
16279         cols#80, it#8, lines#24, 
16280         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
16281         clear=\E[2J\E[H, cnorm=\E[?25h, cr=^M, 
16282         csr=%i\E[%p1%d;%p2%dr, cub1=\E[D, cud1=\E[B, cuf1=\E[C, 
16283         cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, cvvis=\E[?31h, 
16284         dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH, 
16285         il1=\E[L, ind=\ED, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
16286         kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kf1=\EOP, kf2=\EOQ, 
16287         kf3=\EOR, kf4=\EOS, kf5=\E[16~, kf6=\E[17~, kf7=\E[18~, 
16288         kf8=\E[19~, kf9=\E[20~, kich1=\E[@, rc=\E8, rev=\E[7m, 
16289         ri=\EM, rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m, smso=\E[7m, 
16290         smul=\E[4m, tbc=\E[3g, 
16291 ti924-8|Texas Instruments 924 VDT 8859/1 8 bit CTRL, 
16292         am, xon, 
16293         cols#80, it#8, lines#24, 
16294         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
16295         clear=\E[2J\E[H, cnorm=\E[?25h, cr=^M, 
16296         csr=%i\E[%p1%d;%p2%dr, cub1=\E[D, cud1=\E[B, cuf1=\E[C, 
16297         cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, cvvis=\E[?31h, 
16298         dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH, 
16299         il1=\E[L, ind=\ED, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
16300         kcuf1=\E[C, kcuu1=\E[A, kdch1=P$<\233>, kf1=P$<\217>, 
16301         kf2=Q$<\217>, kf3=R$<\217>, kf4=S$<\217>, kf5=~$<\23316>, 
16302         kf6=~$<\23317>, kf7=~$<\23318>, kf8=~$<\23319>, 
16303         kf9=~$<\23320>, kich1=@$<\233>, rc=\E8, rev=\E[7m, ri=\EM, 
16304         rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m, smso=\E[7m, 
16305         smul=\E[4m, tbc=\E[3g, 
16306 ti924w|Texas Instruments 924 VDT 7 bit - 132 column mode, 
16307         cols#132, use=ti924, 
16308 ti924-8w|Texas Instruments 924 VDT 8 bit - 132 column mode, 
16309         cols#132, use=ti924-8, 
16310 ti931|Texas Instruments 931 VDT, 
16311         OTbs, am, xon, 
16312         cols#80, lines#24, 
16313         bel=^G, blink=\E4P, clear=\EL, cnorm=\E4@, cr=^M, cub1=\ED, 
16314         cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
16315         cuu1=\EA, dch1=\EQ, dl1=\EO, ed=\EJ, el=\EI, home=\EH, 
16316         ich1=\ER\EP\EM, il1=\EN, ind=\Ea, invis=\E4H, 
16317         is2=\EGB\E(@B@@\E), kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
16318         kcuu1=\EA, kdch1=\EQ, kdl1=\EO, kf1=\Ei1, kf2=\Ei2, kf3=\Ei3, 
16319         kf4=\Ei4, kf5=\Ei5, kf6=\Ei6, kf7=\Ei7, kf8=\Ei8, kf9=\Ei9, 
16320         kich1=\EP, kil1=\EN, rev=\E4B, ri=\Eb, rmso=\E4@, rmul=\E4@, 
16321         sgr0=\E4@, smso=\E4A, smul=\E4D, 
16322 ti926|Texas Instruments 926 VDT 8859/1 7 bit CTRL, 
16323         csr@, ind=\E[1S, ri=\E[1T, use=ti924, 
16324 # (ti926-8: I corrected this from the broken SCO entry -- esr)
16325 ti926-8|Texas Instruments 926 VDT 8859/1 8 bit CTRL, 
16326         csr@, ind=\2331S, ri=\2331T, use=ti924-8, 
16327 ti_ansi|basic entry for ti928, 
16328         am, bce, eo, xenl, xon, 
16329         colors#8, cols#80, it#8, lines#25, pairs#64, 
16330         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[2J\E[H, 
16331         cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, 
16332         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, 
16333         dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, 
16334         il1=\E[L, ind=\E[S, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
16335         kcuf1=\E[C, kcuu1=\E[A, kend=\E[F, kf0=\E[V, kf1=\E[M, 
16336         kf2=\E[N, kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S, 
16337         kf8=\E[T, kf9=\E[U, khome=\E[H, knp=\E[G, kpp=\E[I, 
16338         op=\E[37;40m, ri=\E[T, rmso=\E[m, rmul=\E[m, 
16339         setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[m, 
16340         smso=\E[7m, smul=\E[4m, 
16341 #
16342 #       928 VDT 7 bit control mode
16343 #
16344 ti928|Texas Instruments 928 VDT 8859/1 7 bit CTRL, 
16345         kdch1=\E[P, kend=\E_1\E\\, kent=\E[8~, kf1=\E[17~, 
16346         kf10=\E[28~, kf11=\E[29~, kf12=\E[31~, kf13=\E[32~, 
16347         kf15=\E[34~, kf2=\E[18~, kf3=\E[19~, kf4=\E[20~, 
16348         kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, kf9=\E[26~, 
16349         kich1=\E[@, knp=\E[S, kpp=\E[T, kprt=\E[35~, use=ti_ansi, 
16350 #
16351 #       928 VDT 8 bit control mode
16352 #
16353 ti928-8|Texas Instruments 928 VDT 8859/1 8 bit CTRL, 
16354         kdch1=\233P, kend=\2371\234, kent=\2338~, kf1=\23317~, 
16355         kf10=\23328~, kf11=\23329~, kf12=\23331~, kf13=\23332~, 
16356         kf15=\23334~, kf2=\23318~, kf3=\23319~, kf4=\23320~, 
16357         kf5=\23321~, kf6=\23323~, kf7=\23324~, kf8=\23325~, 
16358         kf9=\23326~, khome=\233H, kich1=\233@, knp=\233S, 
16359         kpp=\233T, kprt=\23335~, use=ti_ansi, 
16360
16361 #### Zentec (zen)
16362 #
16363
16364 # (zen30: removed obsolete :ma=^L ^R^L^K^P:.  This entry originally
16365 # had just <smso>=\EG6 which I think means standout was supposed to be 
16366 # dim-reverse using ADM12-style attributes. ADM12 <smul>/<rmul> and
16367 # <invis> might work-- esr)
16368 zen30|z30|zentec 30, 
16369         OTbs, am, mir, ul, 
16370         cols#80, lines#24, 
16371         bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
16372         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
16373         dim=\EG2, dl1=\ER$<1.5*>, ed=\EY, el=\ET$<1.0*>, home=^^, 
16374         il1=\EE$<1.5*>, ind=^J, rmir=\Er, rmul@, smir=\Eq, smso=\EG6, 
16375         smul@, use=adm+sgr, 
16376 # (zen50: this had extension capabilities
16377 #       :BS=^U:CL=^V:CR=^B:
16378 # UK/DK/RK/LK/HM were someone's aliases for ku/kd/kl/kr/kh,
16379 # which were also in the original entry -- esr)
16380 # (zen50: removed obsolete ":ma=^Hh^Ll^Jj^Kk:" -- esr)
16381 zen50|z50|zentec zephyr, 
16382         OTbs, am, 
16383         cols#80, lines#24, xmc#1, 
16384         clear=\E+, cub1=^H, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, 
16385         cuu1=^K, dch1=\EW, dl1=\ER, ed=\EY, el=\ET, ich1=\EQ, il1=\EE, 
16386         invis@, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, 
16387         rmul@, smul@, use=adm+sgr, 
16388
16389 # CCI 4574 (Office Power) from Will Martin <wmartin@BRL.ARPA> via BRL
16390 cci|cci1|z8001|zen8001|CCI Custom Zentec 8001, 
16391         OTbs, am, bw, 
16392         cols#80, lines#24, 
16393         blink=\EM", clear=\EH\EJ, cnorm=\EP, 
16394         csr=\ER%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=^J, 
16395         cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
16396         cvvis=\EF\EQ\EM \ER 7, dim=\EM!, ed=\EJ, el=\EK, home=\EH, 
16397         invis=\EM(, is2=\EM \EF\ET\EP\ER 7, kbs=^H, kcub1=\ED, 
16398         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\EH, mc4=^T, mc5=^R, 
16399         rev=\EM$, ri=\EI, rmso=\EM\s, rmul=\EM\s, sgr0=\EM\s, 
16400         smso=\EM$, smul=\EM0, 
16401
16402 ######## OBSOLETE UNIX CONSOLES
16403 #
16404
16405 #### Apollo consoles
16406 #
16407 # Apollo got bought by Hewlett-Packard.  The Apollo workstations are 
16408 # labeled HP700s now.
16409 #
16410
16411 # From: Gary Darland <goodmanc@garnet.berkeley.edu>
16412 apollo|apollo console, 
16413         OTbs, am, mir, 
16414         cols#88, lines#53, 
16415         clear=^L, cub1=^H, cud1=\EB, cuf1=\EC, 
16416         cup=\EM%p1%{32}%+%c%p2%d), cuu1=\EA, dch1=\EP, dl1=\EL, 
16417         ed=\EJ, el=\EK, hpa=\EN%p1%d, il1=\EI, ind=\EE, ri=\ED, 
16418         rmcup=\EX, rmir=\ER, rmso=\ET, rmul=\EV, smcup=\EW, smir=\EQ, 
16419         smso=\ES, smul=\EU, vpa=\EO+\s, 
16420
16421 # We don't know whether or not the apollo guys replicated DEC's firmware bug
16422 # in the VT132 that reversed <rmir>/<smir>.  To be on the safe side, disable
16423 # both these capabilities.
16424 apollo_15P|apollo 15 inch display, 
16425         rmir@, smir@, use=vt132, 
16426 apollo_19L|apollo 19 inch display, 
16427         rmir@, smir@, use=vt132, 
16428 apollo_color|apollo color display, 
16429         rmir@, smir@, use=vt132, 
16430
16431 #### Convergent Technology
16432 #
16433 # Burroughs bought Convergent shortly before it merged with Univac.
16434 # CTOS is (I believe) dead.  Probably the aws is too (this entry dates
16435 # from 1991 or earlier).
16436 #
16437
16438 # Convergent AWS workstation from Gould/SEL UTX/32 via BRL
16439 # (aws: removed unknown :dn=^K: -- esr)
16440 aws|Convergent Technologies AWS workstation under UTX and Xenix, 
16441         am, 
16442         OTug#0, cols#80, lines#28, xmc#0, 
16443         OTbc=^H, OTma=\016h\013j\001k\022l\002m, OTnl=^J, acsc=, 
16444         clear=^L, cud1=^K, cuf1=^R, cup=\EC%p2%c%p1%c, cuu1=^A, 
16445         dch1=\EDC, dl1=\EDL, ed=\EEF, el=\EEL, hpa=\EH%p1%c, 
16446         ich1=\EIC, il1=\EIL, ind=\ESU, kbs=^H, kcub1=^N, kcud1=^K, 
16447         kcuf1=^R, kcuu1=^A, ri=\ESD, rmacs=\EAAF, rmso=\EARF, 
16448         rmul=\EAUF, smacs=\EAAN, smso=\EARN, smul=\EAUN, 
16449         vpa=\EV%p1%c, 
16450 awsc|Convergent Technologies AWS workstation under CTOS, 
16451         am, 
16452         OTug#0, cols#80, lines#24, xmc#0, 
16453         OTbc=^N, OTma=\016h\013j\001k\022l\002m, acsc=, clear=^L, 
16454         cud1=^K, cuf1=^R, cup=\EC%p2%c%p1%c, cuu1=^A, ed=\EEF, 
16455         el=\EEL, kbs=^H, kcub1=^N, kcud1=^K, kcuf1=^R, kcuu1=^A, 
16456         rmacs=\EAAF, rmso=\EAA, rmul=\EAA, smacs=\EAAN, smso=\EAE, 
16457         smul=\EAC, 
16458
16459 #### DEC consoles
16460 #
16461
16462 # The MicroVax console.  Tim Theisen <tim@cs.wisc.edu> writes:
16463 # The digital uVax II's had a graphic display called a qdss.  It was
16464 # supposed to be a high performance graphic accelerator, but it was
16465 # late to market and barely appeared before faster dumb frame buffers
16466 # appeared.  I have only used this display while running X11.  However,
16467 # during bootup, it was in text mode, and probably had a terminal emulator
16468 # within it.  And that is what your termcap entry is for.  In graphics
16469 # mode the screen size is 1024x864 pixels.
16470 qdss|qdcons|qdss glass tty, 
16471         OTbs, am, 
16472         cols#128, lines#57, 
16473         clear=\032$<1/>, cub1=^H, cud1=^J, cuf1=^L, 
16474         cup=\E=%p1%c%p2%c, cuu1=^K, 
16475
16476 #### Fortune Systems consoles
16477 #
16478 # Fortune made a line of 68K-based UNIX boxes that were pretty nifty
16479 # in their day; I (esr) used one myself for a year or so around 1984.
16480 # They had no graphics, though, and couldn't compete against Suns and
16481 # the like.  R.I.P.
16482 #
16483
16484 # From: Robert Nathanson <c160-3bp@Coral> via tut   Wed Oct 5, 1983
16485 # (This had extension capabilities
16486 #       :rv=\EH:re=\EI:rg=0:GG=0:\
16487 #       :CO=\E\\:WL=^Aa\r:WR=^Ab\r:CL=^Ac\r:CR=^Ad\r:DL=^Ae\r:RF=^Af\r:\
16488 #       :RC=^Ag\r:CW=^Ah\r:NU=^Aj\r:EN=^Ak\r:HM=^Al:PL=^Am\r:\
16489 #       :PU=^An\r:PD=^Ao\r:PR=^Ap\r:HP=^A@\r:RT=^Aq\r:TB=\r:CN=\177:MP=\E+F:
16490 # It had both ":bs:" and ":bs=^H:"; I removed the latter.  Also, it had
16491 # ":sg=0:" and ":ug=0:"; evidently the composer was trying (unnecessarily)
16492 # to force both magic cookie glitches off.  Once upon a time, I
16493 # used a Fortune myself, so I know the capabilities of the form ^A[a-z]\r are
16494 # function keys; thus the "Al" value for HM was certainly an error.  I renamed
16495 # EN/PD/PU/CO/CF/RT according to the XENIX/TC mappings, but not HM/DL/RF/RC.  
16496 # I think :rv: and :re: are start/end reverse video and :rg: is a nonexistent
16497 # "reverse-video-glitch" capability; I have put :rv: and :re: in with standard
16498 # names below.  I've removed obsolete ":nl=5^J:" as there is a :do: -- esr)
16499 fos|fortune|Fortune system, 
16500         OTbs, am, bw, 
16501         cols#80, lines#25, 
16502         acsc=j*k(l m"q&v%w#x-, bel=^G, blink=\EN, civis=\E], 
16503         clear=\014$<20>, cnorm=\E\\, cr=^M, cub1=^H, cud1=\n$<3>, 
16504         cup=\034C%p1%{32}%+%c%p2%{32}%+%c, cuu1=\013$<3>, 
16505         cvvis=\E\:, dch1=\034W$<5>, dl1=\034R$<15>, 
16506         ed=\034Y$<3*>, el=^\Z, home=\036$<10>, ht=^Z, 
16507         ich1=\034Q$<5>, il1=\034E$<15>, ind=^J, is2=^_.., kbs=^H, 
16508         kcub1=^Aw\r, kcud1=^Ay\r, kcuf1=^Az\r, kcuu1=^Ax\r, 
16509         kend=^Ak\r, kent=^Aq, kf1=^Aa\r, kf2=^Ab\r, kf3=^Ac\r, 
16510         kf4=^Ad\r, kf5=^Ae\r, kf6=^Af\r, kf7=^Ag\r, kf8=^Ah\r, 
16511         khome=^A?\r, knp=^Ao\r, kpp=^An\r, nel=^M^J, rev=\EH, 
16512         rmacs=^O, rmso=^\I`, rmul=^\IP, sgr0=\EI, smacs=\Eo, 
16513         smso=^\H`, smul=^\HP, 
16514
16515 #### Masscomp consoles
16516 #
16517 # Masscomp has gone out of business.  Their product line was purchased by
16518 # comany in Georgia (US) called "XS International", parts and service may
16519 # still be available through them.
16520 #
16521
16522 # (masscomp: ":MT:" changed to ":km:";  -- esr)
16523 masscomp|masscomp workstation console, 
16524         OTbs, km, mir, 
16525         cols#80, it#8, lines#24, 
16526         clear=\E[2J, cub1=^H, cud1=\E[B, cuf1=\E[C, 
16527         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
16528         ed=\E[J, el=\E[K, ht=^I, il1=\E[L, is2=\EGc\EGb\EGw, kbs=^H, 
16529         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, rmir=\E[4l, 
16530         rmso=\E[m, rmul=\EGau, smir=\E[4h, smso=\E[7m, smul=\EGu, 
16531 masscomp1|masscomp large screen version 1, 
16532         cols#104, lines#36, use=masscomp, 
16533 masscomp2|masscomp large screen version 2, 
16534         cols#64, lines#21, use=masscomp, 
16535
16536 ######## OTHER OBSOLETE TYPES
16537 #
16538 # These terminals are *long* dead -- these entries are retained for
16539 # historical interest only.
16540 #
16541
16542 #### Obsolete non-ANSI software emulations
16543 #
16544
16545 # CTRM terminal emulator
16546 # 1. underlining is not allowed with colors: first, is is simulated by 
16547 # black on white, second, it disables background color manipulations.
16548 # 2. BLINKING, REVERSE and BOLD are allowed with colors,
16549 # so we have to save their status in the static registers A, B and H
16550 # respectively, to be able to restore them when color changes
16551 # (because any color change turns off ALL attributes)
16552 # 3. <bold> and <rev> sequences alternate modes,
16553 # rather then simply  entering them.  Thus we have to check the
16554 # static register B and H to determine the status, before sending the 
16555 # escape sequence.
16556 # 4. <sgr0> now must set the status of all 3 register (A,B,H) to zero
16557 # and then reset colors
16558 # 5. implementation of the protect mode would badly penalize the performance.
16559 # we would have to use \E&bn sequence to turn off colors (as well as all
16560 # other attributes), and keep the status of protect mode in yet another
16561 # static variable.  If someone really needs this mode, they would have to
16562 # create another terminfo entry.
16563 # 6. original color-pair is white on black.
16564 # store the information about colors into static registers
16565 # 7. set foreground color.  it performs the following steps.
16566 #   1) turn off all attributes
16567 #   2) turn on the background and video attributes that have been turned
16568 #      on before (this information is stored in static registers X,Y,Z,A,B,H,D).
16569 #   3) turn on foreground attributes
16570 #   4) store information about foreground into U,V,W static registers
16571 # 8. turn on background: similar to turn on foreground above
16572 ctrm|C terminal emulator, 
16573         am, bce, xon, 
16574         colors#8, cols#80, lh#0, lines#24, lm#0, lw#0, ncv#2, nlab#0, 
16575         pairs#63, pb#19200, vt#6, 
16576         bel=^G, blink=\E&dA%{1}%PA, 
16577         bold=%?%gH%{0}%=%t\E&dH%{1}%PH%;, cbt=\Ei, 
16578         clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
16579         cup=\E&a%p2%dc%p1%dY, cuu1=\EA, dch1=\EP$<2>, dl1=\EM, 
16580         ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=\011$<2>, hts=\E1, 
16581         il1=\EL, ind=^J, ip=$<2>, is2=\E&jA\r, kbs=^H, kcub1=\Eu\r, 
16582         kcud1=\Ew\r, kcuf1=\Ev\r, kcuu1=\Et\r, kf1=\Ep\r, 
16583         kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, kf6=\Eu\r, 
16584         kf7=\Ev\r, kf8=\Ew\r, khome=\Ep\r, 
16585         op=\E&bn\E&bB\E&bG\E&bR%{0}%PX%{0}%PY%{0}%PZ%{1}%PW%{1}%PV%{1}%PU, 
16586         rev=%?%gB%{0}%=%t\E&dB%{1}%PB%;, rmir=\ER, rmkx=\E&jA, 
16587         setb=\E&bn%?%gA%t\E&dA%;%?%gB%t\E&dB%;%?%gH%t\E&dH%;%?%gU%t\E&bR%;%?%gV%t\E&bG%;%?%gW%t\E&bB%;%?%p1%{1}%&%t\E&bb%{1}%e%{0}%;%PZ%?%p1%{2}%&%t\E&bg%{1}%e%{0}%;%PY%?%p1%{4}%&%t\E&br%{1}%e%{0}%;%PX, 
16588         setf=\E&bn%?%gA%t\E&dA%;%?%gB%t\E&dB%;%?%gH%t\E&dH%;%?%gX%t\E&br%;%?%gY%t\E&bg%;%?%gZ%t\E&bb%;%?%p1%{1}%&%t\E&bB%{1}%e%{0}%;%PW%?%p1%{2}%&%t\E&bG%{1}%e%{0}%;%PV%?%p1%{4}%&%t\E&bR%{1}%e%{0}%;%PU, 
16589         sgr=\E&d@%{0}%PA%{0}%PB%{0}%PD%{0}%PH%?%p1%p3%p5%|%|%t\E&dB%{1}%PB%;%?%p4%t\E&dA%{1}%PA%;%?%p6%t\E&dH%{1}%PH%;%?%p2%t\E&dD%;, 
16590         sgr0=\E&d@%{0}%PA%{0}%PB%{0}%PH, smir=\EQ, smkx=\E&jB, 
16591         smso=\E&dD, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY, 
16592
16593 # gs6300 - can't use blue foreground, it clashes with underline;
16594 # it's simulated with cyan
16595 # Bug: The <op> capability probably resets attributes.
16596 # (gs6300: commented out <rmln> (no <smln>) --esr)
16597 gs6300|emots|AT&T PC6300 with EMOTS terminal emulator, 
16598         am, bce, msgr, xon, 
16599         colors#8, cols#80, it#8, lines#24, pairs#63, 
16600         acsc=++\,\,--..``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
16601         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M, 
16602         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
16603         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
16604         cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
16605         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
16606         ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
16607         is2=\E[m, kbs=^H, kcbt=^R^I, kcub1=\E[D, kcud1=\E[B, 
16608         kcuf1=\E[C, kcuu1=\E[A, kf1=\E[0s, kf2=\E[24s, kf3=\E[1s, 
16609         kf4=\E[23s, kf5=\E[2s, kf6=\E[22s, kf7=\E[3s, kf8=\E[21s, 
16610         khome=\E[H, mc4=\E[4i, mc5=\E[5i, op=\E[?;m, rev=\E[7m, 
16611         ri=\E[L, rmacs=\E[10m, rs1=\Ec, setb=\E[?;%p1%dm, 
16612         setf=\E[?%?%p1%{0}%=%t0%e%p1%{1}%=%t2%e%p1%{1}%-%d%;m, 
16613         sgr0=\E[m\E[10m, smacs=\E[11m, smso=\E[1m, smul=\E[4m, 
16614
16615 # From: <earle@smeagol.UUCP> 29 Oct 85 05:40:18 GMT
16616 # MS-Kermit with Heath-19 emulation mode enabled
16617 # (h19k: changed ":pt@:" to ":it@"
16618 h19k|h19kermit|heathkit emulation provided by Kermit (no auto margin), 
16619         am@, da, db, xt, 
16620         it@, 
16621         ht@, use=h19-u, 
16622
16623 # Apple Macintosh with Versaterm, a terminal emulator distributed by Synergy
16624 # Software (formerly Peripherals Computers & Supplies, Inc) of
16625 # 2457 Perkiomen Ave., Reading, PA 19606, 1-800-876-8376.  They can
16626 # also be reached at support@synergy.com.
16627 versaterm|versaterm vt100 emulator for the macintosh, 
16628         am, xenl, 
16629         cols#80, it#8, lines#24, 
16630         bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>, 
16631         clear=\E[;H\E[2J$<50/>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
16632         cub1=^H, cud1=^J, cuf1=\E[C$<2/>, 
16633         cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<2/>, 
16634         dch1=\E[1P$<7/>, dl1=\E[1M$<9/>, ed=\E[J$<50/>, 
16635         el=\E[K$<3/>, home=\E[H, ht=^I, ich1=\E[1@$<7/>, 
16636         il1=\E[1L$<9/>, is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\EOD, 
16637         kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, 
16638         kf3=\EOR, kf4=\EOS, nel=^M^J, rc=\E8, rev=\E[7m$<2/>, 
16639         rf=/usr/share/tabset/vt100, ri=\EM$<5/>, 
16640         rmkx=\E>\E[?1l, rmso=\E[m$<2/>, rmul=\E[m$<2/>, rs1=\E>, 
16641         sc=\E7, sgr0=\E[m$<2/>, smkx=\E=\E[?1h, smso=\E[7m$<2/>, 
16642         smul=\E[4m$<2/>, 
16643
16644 # From: Rick Thomas <ihnp4!btlunix!rbt>
16645 # (xtalk: I added <rmam>/<smam> based on the init string.
16646 xtalk|IBM PC with xtalk communication program (versions up to 3.4), 
16647         am, mir, msgr, xon, 
16648         cols#80, it#8, lines#24, vt#3, xmc#1, 
16649         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
16650         bel=^G, clear=\E[H\E[J$<50>, cr=^M, cub=\E[%p1%dD, cub1=^H, 
16651         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C$<2>, 
16652         cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, 
16653         cuu1=\E[A$<2>, dl1=\E[M$<99>, ed=\E[J$<50>, el=\E[K$<3>, 
16654         el1=\E[1K$<3>, enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, 
16655         il1=\E[L$<99>, ind=^J, ka1=\EOq, ka3=\EOs, kb2=\EOr, kbs=^H, 
16656         kc1=\EOp, kc3=\EOn, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, 
16657         kcuu1=\EOA, kent=\EOM, kf0=\EOy, kf1=\EOP, kf10=\EOx, 
16658         kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt, kf6=\EOu, kf7=\EOv, 
16659         kf8=\EOl, kf9=\EOw, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l, 
16660         rmkx=\E[?1l\E>, rmso=\E[m\s, 
16661         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sgr0=\E[m, 
16662         smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m\s, 
16663         tbc=\E[3g, 
16664
16665 # The official PC terminal emulator program of the AT&T Product Centers.
16666 # Note - insert mode commented out - doesn't seem to work on AT&T PC.
16667 simterm|attpc running simterm, 
16668         am, 
16669         cols#80, lines#24, 
16670         bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC, 
16671         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\ER, 
16672         dl1=\EM, ed=\EJ, el=\EK, home=\EH, il1=\EL, ind=^J, rmcup=\EVE, 
16673         rmso=\E&d@, sgr0=\E&d@, smcup=\EVS, smso=\E&dB, 
16674
16675 #### Daisy wheel printers
16676 #
16677 # This section collects Diablo, DTC, Xerox, Qume, and other daisy
16678 # wheel terminals.  These are now largely obsolete.
16679 #
16680
16681 # (diablo1620: removed <if=/usr/share/tabset/xerox1720>, no such file -- esr)
16682 diablo1620|diablo1720|diablo450|ipsi|diablo 1620, 
16683         hc, os, 
16684         cols#132, it#8, 
16685         cub1=^H, cud1=^J, cuu1=\E^J, hd=\ED, hpa=\E\011%i%p1%c, 
16686         ht=^I, hts=\E1, hu=\EU, kbs=^H, tbc=\E2, 
16687 diablo1620-m8|diablo1640-m8|diablo 1620 w/8 column left margin, 
16688         cols#124, 
16689         is2=\r        \E9, use=diablo1620, 
16690 # (diablo1640: removed <if=/usr/share/tabset/xerox1730>, no such file -- esr)
16691 diablo1640|diablo1730|diablo1740|diablo630|x1700|diablo|xerox|diablo 1640, 
16692         bel=^G, rmso=\E&, rmul=\ER, smso=\EW, smul=\EE, 
16693         use=diablo1620, 
16694 # (diablo1640-lm: removed <if=/usr/share/tabset/xerox1730-lm>, no such 
16695 # file -- esr)
16696 diablo1640-lm|diablo-lm|xerox-lm|diablo 1640 with indented left margin, 
16697         cols#124, 
16698         rmso=\E&, rmul=\ER, smso=\EW, smul=\EE, use=diablo1620, 
16699 diablo1740-lm|630-lm|1730-lm|x1700-lm|diablo 1740 printer, 
16700         use=diablo1640-lm, 
16701 # DTC 382 with VDU.  Has no <ed> so we fake it with <el>.  Standout
16702 # <smso=^P\s\002^PF> works but won't go away without dynamite <rmso=^P\s\0>.
16703 # The terminal has tabs, but I'm getting tired of fighting the braindamage. 
16704 # If no tab is set or the terminal's in a bad mood, it glitches the screen
16705 # around all of memory.  Note that return puts a blank ("a return character")
16706 # in the space the cursor was at, so we use ^P return (and thus ^P newline for
16707 # newline).  Note also that if you turn off :pt: and let Unix expand tabs,
16708 # curses won't work (some old BSD versions) because it doesn't clear this bit,
16709 # and cursor addressing sends a tab for row/column 9.  What a losing terminal!
16710 # I have been unable to get tabs set in all 96 lines - it always leaves at
16711 # least one line with no tabs in it, and once you tab through that line,
16712 # it completely weirds out.
16713 # (dtc382: change <rmcup> to <smcup> -- it  just does a clear --esr)
16714 dtc382|DTC 382, 
16715         am, da, db, xhp, 
16716         cols#80, lines#24, lm#96, 
16717         bel=^G, clear=\020\035$<20>, cnorm=^Pb, cr=^P^M, cub1=^H, 
16718         cuf1=^PR, cup=\020\021%p2%c%p1%c, cuu1=^P^L, cvvis=^PB, 
16719         dch1=^X, dl1=^P^S, ed=\020\025\020\023\020\023, el=^P^U, 
16720         home=^P^R, il1=^P^Z, ind=^J, pad=\177, rmcup=, rmir=^Pi, 
16721         rmul=^P \0, smcup=\020\035$<20>, smir=^PI, smul=^P ^P, 
16722 dtc300s|DTC 300s, 
16723         hc, os, 
16724         cols#132, 
16725         bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, ff=^L, hd=\Eh, ht=^I, 
16726         hts=\E1, hu=\EH, ind=^J, kbs=^H, tbc=\E3, 
16727 gsi|mystery gsi terminal, 
16728         hc, os, 
16729         cols#132, 
16730         bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, hd=\Eh, ht=^I, hu=\EH, 
16731         ind=^J, 
16732 aj830|aj832|aj|anderson jacobson, 
16733         hc, os, 
16734         bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E7, hd=\E9, hu=\E8, 
16735         ind=^J, 
16736 # From: Chris Torek <chris@gyre.umd.edu> Thu, 7 Nov 85 18:21:58 EST
16737 aj510|Anderson-Jacobson model 510, 
16738         am, mir, 
16739         cols#80, lines#24, 
16740         clear=^L, cub1=^H, cuf1=\EX, 
16741         cup=\E#%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EY, 
16742         dch1=.1*\E'D, dl1=\E&D$<2*/>, ed=\E'P, el=\E'L, ich1=, 
16743         il1=\E&I$<2*/>, ip=$<.1*/>, kcub1=\EW, kcud1=\EZ, 
16744         kcuf1=\EX, kcuu1=\EY, pad=\177, rmcup=\E"N, rmir=\E'J, 
16745         rmso=\E"I, rmul=\E"U, smcup=\E"N, smir=\E'I, smso=\E"I, 
16746         smul=\E"U, 
16747 # From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
16748 # This is incomplete, but it's a start.
16749 nec5520|nec|spinwriter|nec 5520, 
16750         hc, os, 
16751         cols#132, it#8, 
16752         bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E9, ff=^L, 
16753         hd=\E]s\n\E]W, ht=^I, hts=\E1, hu=\E]s\E9\E]W, ind=^J, 
16754         kbs=^H, tbc=\E3, 
16755 qume5|qume|Qume Sprint 5, 
16756         hc, os, 
16757         cols#80, it#8, 
16758         bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, ff=^L, hd=\Eh, ht=^I, 
16759         hts=\E1, hu=\EH, ind=^J, kbs=^H, tbc=\E3, 
16760 # I suspect the xerox 1720 is the same as the diablo 1620.
16761 xerox1720|x1720|x1750|xerox 1720, 
16762         hc, os, 
16763         cols#132, it#8, 
16764         bel=^G, cr=^M, cub1=^H, cud1=^J, ff=^L, ht=^I, hts=\E1, ind=^J, 
16765         tbc=\E2, 
16766
16767 #### Miscellaneous obsolete terminals, manufacturers unknown
16768 #
16769 # If you have any information about these (like, a manufacturer's name, 
16770 # and a date on the serial-number plate) please send it!
16771
16772 cad68-3|cgc3|cad68 basic monitor transparent mode size 3 chars, 
16773         OTbs, am, 
16774         cols#73, lines#36, 
16775         clear=^Z, cub1=^H, cuf1=^L, cuu1=^K, home=^^, 
16776 cad68-2|cgc2|cad68 basic monitor transparent mode size 2 chars, 
16777         OTbs, am, 
16778         cols#85, lines#39, 
16779         clear=^Z, cub1=^H, cuf1=^L, cuu1=^K, home=^^, kcub1=\E3, 
16780         kcud1=\E2, kcuf1=\E4, kcuu1=\E1, kf1=\E5, kf2=\E6, kf3=\E7, 
16781         kf4=\E8, rmso=\Em^C, smso=\Em^L, 
16782 cops10|cops|cops-10|cops 10, 
16783         am, bw, 
16784         cols#80, lines#24, 
16785         bel=^G, clear=\030$<30/>, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
16786         cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=^W, el=^V, 
16787         ind=^J, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
16788         khome=^Y, 
16789 # (d132: removed duplicate :ic=\E5:,
16790 # merged in capabilities from a BRL entry -- esr)
16791 d132|datagraphix|datagraphix 132a, 
16792         da, db, in, 
16793         cols#80, lines#30, 
16794         bel=^G, clear=^L, cnorm=\Em\En, cr=^M, cub1=^H, cud1=^J, 
16795         cuf1=\EL, cup=\E8%i%p1%3d%p2%3d, cuu1=\EK, cvvis=\Ex, 
16796         dch1=\E6, home=\ET, ht=^I, ich1=\E5, il1=\E3, ind=^J, kbs=^H, 
16797         kcub1=^H, kcud1=^J, nel=^M^J, ri=\Ew, 
16798 # The d800 was an early portable terminal from c.1984-85 that looked a lot
16799 # like the original Compaq `lunchbox' portable (but no handle).  It had a vt220
16800 # mode (which is what this entry looks like) and several other lesser-known
16801 # emulations.
16802 d800|Direct 800/A, 
16803         OTbs, am, da, db, msgr, xhp, 
16804         cols#80, it#8, lines#24, 
16805         acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~, 
16806         bel=^G, clear=\E[1;1H\E[2J, cnorm=\E[>12h, cr=^M, cub1=^H, 
16807         cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
16808         cvvis=\E[>12l, ed=\E[J, el=\E[K, ht=^I, ind=\ED, kcub1=\E[D, 
16809         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, 
16810         kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW, 
16811         ri=\EM, rmacs=\E[m, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
16812         smacs=\E[1m, smso=\E[7m, smul=\E[4m, 
16813 digilog|digilog 333, 
16814         OTbs, 
16815         cols#80, lines#16, 
16816         bel=^G, cr=^M, cub1=^H, cud1=^J, cuf1=^I, cuu1=^O, el=^X, 
16817         home=^N, ind=^J, 
16818 # The DWK was a terminal manufactured in the Soviet Union c.1986
16819 dwk|dwk-vt|dwk terminal, 
16820         am, 
16821         cols#80, it#8, lines#24, 
16822         acsc=+\^\,Q-S.M0\177`+a\:f'g#h#i#jXkClJmFnNo~qUs_tEuPv\\wKxW~_, 
16823         bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
16824         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EP, 
16825         ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EQ, ind=^J, kbs=\177, 
16826         kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\Ee, 
16827         kf1=\Ef1, kf10=\Ef0, kf2=\Ef2, kf3=\Ef3, kf4=\Ef4, kf5=\Ef5, 
16828         kf6=\Ef6, kf7=\Ef7, kf8=\Ef8, kf9=\Ef9, kich1=\Ed, knp=\Eh, 
16829         kpp=\Eg, nel=^M^J, rev=\ET, ri=\ES, rmacs=\EG, rmso=\EX, 
16830         sgr0=\EX, smacs=\EF, smso=\ET, 
16831 env230|envision230|envision 230 graphics terminal, 
16832         xenl@, 
16833         mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, 
16834         sgr=\E[%?%p1%t;1%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, 
16835         use=vt100, 
16836 # These execuports were impact-printer ttys with a 30- or maybe 15-cps acoustic
16837 # coupler attached, the whole rig fitting in a suitcase and more or less
16838 # portable.  Hot stuff for c.1977 :-) -- esr
16839 ep48|ep4080|execuport 4080, 
16840         OTbs, am, os, 
16841         cols#80, 
16842         bel=^G, cr=^M, cub1=^H, cud1=^J, hd=^\, hu=^^, ind=^J, 
16843 ep40|ep4000|execuport 4000, 
16844         cols#136, use=ep4080, 
16845 # Adam Thompson <athompso@pangea.ca> tells us:
16846 # Informer series - these are all portable units, resembling older
16847 # automatic bread-baking machines.  The terminal looks like a `clamshell'
16848 # design, but isn't.  The structure is similar to the Direct terminals,
16849 # but only half the width.  The entire unit is only about 10" wide.
16850 # It features an 8" screen (6" or 7" if you have color!), and an 9"x6"
16851 # keyboard.  All the keys are crammed together, much like some laptop
16852 # PCs today, but perhaps less well organized...all these units have a
16853 # bewildering array of plugs on the back, including a built-in modem.
16854 # The 305 was a color version of the 304; the 306 and 307 were mono and
16855 # color terminals built for IBM bisync protocols.
16856 # From: Paul Leondis <unllab@amber.berkeley.edu>
16857 ifmr|Informer D304, 
16858         OTbs, am, 
16859         cols#80, lines#24, 
16860         clear=\EZ, cub1=^H, cud1=^J, cuf1=\EC, 
16861         cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, dch1=\E\\, 
16862         ed=\E/, el=\EQ, home=\EH, ich1=\E[, ri=\En, rmso=\EK, sgr0=\EK, 
16863         smso=\EJ, 
16864 # Entry largely based on wy60 and has the features of wy60ak.
16865 opus3n1+|Esprit Opus3n1+ in wy60 mode with ANSI arrow keys, 
16866         am, bw, hs, km, mir, msgr, ul, xon, 
16867         cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#80, 
16868         acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, blink=\EG2, 
16869         cbt=\EI, civis=\E`0, clear=\E*$<100>, cnorm=\E`1, cr=^M, 
16870         cub1=^H, cud1=^J, cuf1=^L, cup=\Ea%i%p1%dR%p2%dC, cuu1=^K, 
16871         dch1=\EW$<11>, dim=\EGp, dl1=\ER$<5>, dsl=\Ez(\r, 
16872         ed=\EY$<100>, el=\ET, fsl=^M, home=\036$<2>, ht=\011$<5>, 
16873         hts=\E1, if=/usr/share/tabset/std, il1=\EE$<4>, ind=^J, 
16874         ip=$<3>, 
16875         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, 
16876         kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=\E[D, kcud1=\E[B, 
16877         kcuf1=\E[C, kcuu1=\E[A, kdch1=\EW, kdl1=\ER, ked=\EY, 
16878         kel=\ET, kend=\E[F, kent=\E7, kf1=^A@\r, kf10=^AI\r, 
16879         kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, 
16880         kf16=^AO\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
16881         kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
16882         kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, 
16883         mc0=\EP, mc4=^T, mc5=^R, nel=\r\n$<3>, 
16884         pfloc=\EZ2%p1%{63}%+%c%p2%s\177, 
16885         pfx=\EZ1%p1%{63}%+%c%p2%s\177, 
16886         pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<7>, 
16887         rmacs=\EH^C, rmam=\Ed., rmcup=, rmir=\Er, rmln=\EA11, 
16888         rmxon=\Ec20, rs1=\E~!\E~4$<150>, rs2=\EeF$<150>, 
16889         rs3=\EwG\Ee($<150>, 
16890         sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;\EG%{48}%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c, 
16891         sgr0=\E(\EH\003\EG0\EcD, smacs=\EH^B, smam=\Ed/, 
16892         smcup=\Ezz&\E[A\177\Ezz'\E[B\177\Ezz(\E[D\177\Ezz)\E[C\177\Ezz<\E[Q\177, 
16893         smir=\Eq, smln=\EA10, smxon=\Ec21, tbc=\E0, tsl=\Ez(, 
16894         uc=\EG8%p1%c\EG0, use=adm+sgr, 
16895 teletec|Teletec Datascreen, 
16896         OTbs, am, 
16897         cols#80, lines#24, 
16898         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^_, cuu1=^K, 
16899         home=^^, ind=^J, 
16900 # From: Mark Dornfeld <romwa@ucbvax.berkeley.edu>
16901 # This description is for the LANPAR Technologies VISION 3220
16902 # terminal from 1984/85.  The function key definitions k0-k5 represent the
16903 # edit keypad: FIND, INSERT HERE, REMOVE, SELECT, PREV SCREEN,
16904 # NEXT SCREEN. The key definitions k6-k9 represent the PF1 to PF4 keys.
16905 #
16906 # Kenneth Randell <kenr@datametrics.com> writes on 31 Dec 1998:
16907 # I had a couple of scopes (3221) like this once where I used to work, around
16908 # the 1987 time frame if memory serves me correctly.  These scopes were made  
16909 # by an outfit called LANPAR Technologies, and were meant to me DEC VT 220
16910 # compatible.  The 3220 was a plain text terminal like the VT-220, the 3221
16911 # was a like the VT-240 (monochrome with Regis + Sixel graphics), and the 3222
16912 # was like the VT-241 (color with Regis + Sixel Graphics).  These terminals
16913 # (3221) cost about $1500 each, and one was always broken -- had to be sent
16914 # back to the shop for repairs.
16915 # The only real advantage these scopes had over the VT-240's were:
16916 # 1) They were faster in the Regis display, or at least the ones I did
16917 # 2) They had a handy debugging feature where you could split-screen the
16918 # scope, the graphics would appear on the top, and the REGIS commands would
16919 # appear on the bottom.  I don't remember the VT-240s being able to do that.
16920 # I would swear that LANPAR Technologies was in MA someplace, but since I
16921 # don't work at the same place anymore, and those terminals and manuals were
16922 # long since junked, I cannot be any more sure than that.
16923 #
16924 # (v3220: removed obsolete ":kn#10:",
16925 # I added <rmam>/<smam> based on the init string -- esr)
16926 v3220|LANPAR Vision II model 3220/3221/3222, 
16927         OTbs, am, mir, xenl, 
16928         cols#80, it#8, lines#24, 
16929         clear=\E[H\E[J, cub1=^H, cuf1=\E[C, 
16930         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
16931         ed=\E[J, el=\E[K, ht=^I, il1=\E[L, 
16932         is2=\E>\E[?3l\E[?7h\E[?8h\E[p, kcub1=\E[D, kcud1=\E[B, 
16933         kcuf1=\E[C, kcuu1=\E[A, kf0=\E[1~, kf1=\E[2~, kf2=\E[3~, 
16934         kf3=\E[4~, kf4=\E[5~, kf5=\E[6~, kf6=\E[OP, kf7=\E[OQ, 
16935         kf8=\E[OR, kf9=\E[OS, khome=\E[H, ri=\EM, rmam=\E[?7l, 
16936         rmir=\E[4l, rmkx=\E>, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
16937         smam=\E[?7h, smir=\E[4h, smkx=\E=, smso=\E[7m, smul=\E[4m, 
16938 ######## ICH/ICH1 VERSUS RMIR/SMIR
16939 #
16940 # Some non-curses applications get confused if both ich/ich1 and rmir/smir
16941 # are present; the symptom is doubled characters in an update using insert.
16942 # These applications are technically correct; in both 4.3BSD termcap and
16943 # terminfo, you're not actually supposed to specify both ich/ich1 and rmir/smir
16944 # unless the terminal needs both.  To my knowledge, no terminal still in this
16945 # file requires both other than the very obsolete dm2500.
16946 #
16947 # For ncurses-based applications this is not a problem, as ncurses uses
16948 # one or the other as appropriate but never mixes the two.  Therefore we
16949 # have not corrected entries like `linux' and `xterm' that specify both.
16950 # If you see doubled characters from these, use the linux-nic and xterm-nic
16951 # entries that suppress ich/ich1.  And upgrade to ncurses!
16952 #
16953
16954 ######## VT100/ANSI/ISO 6429/ECMA-48/PC-TERM TERMINAL STANDARDS
16955 #
16956 # ANSI X3.64 has been withdrawn and replaced by ECMA-48.  The ISO 6429 and
16957 # ECMA-48 standards are said to be almost identical, but are not the same
16958 # as X3.64 (though for practical purposes they are close supersets of it).
16959 #
16960 # You can obtain ECMA-48 for free by sending email to helpdesk@ecma.ch
16961 # requesting the standard(s) you want (i.e. ECMA-48, "Control Functions for
16962 # Coded Character Sets"), include your snail-mail address, and you should
16963 # receive the document in due course.  Don't expect an email acknowledgement.
16964 #
16965 # Related standards include "X3.4-1977: American National Standard Code for
16966 # Information Interchange" (the ASCII standard) and "X3.41.1974: 
16967 # Code-Extension Techniques for Use with the 7-Bit Coded Character Set of
16968 # American National Standard for Information Interchange."  I believe (but
16969 # am not certain) that these are effectively identical to ECMA-6 and ECMA-35
16970 # respectively. 
16971 #
16972
16973 #### VT100/ANSI/ECMA-48
16974 #
16975 # ANSI Standard (X3.64) Control Sequences for Video Terminals and Peripherals
16976 # and ECMA-48 Control Functions for Coded Character Sets.
16977
16978 # Much of the content of this comment is adapted from a table prepared by
16979 # Richard Shuford, based on a 1984 Byte article.  Terminfo correspondences,
16980 # discussion of some terminfo-related issues, and updates to capture ECMA-48
16981 # have been added.  Control functions described in ECMA-48 only are tagged
16982 # with * after their names.
16983 #
16984 # The table is a complete list of the defined ANSI X3.64/ECMA-48 control
16985 # sequences.  In the main table, \E stands for an escape (\033) character,
16986 # SPC for space.  Pn stands for a single numeric parameter to be inserted
16987 # in decimal ASCII.  Ps stands for a list of such parameters separated by
16988 # semicolons.  Parameter meanings for most parametrized sequences are
16989 # decribed in the notes.
16990 #
16991 # Sequence     Sequence                             Parameter   or
16992 # Mnemonic     Name              Sequence           Value      Mode   terminfo
16993 # -----------------------------------------------------------------------------
16994 # APC  Applicatn Program Command \E _                -         Delim  -
16995 # BEL  Bell *                    ^G                  -         -      bel
16996 # BPH  Break Permitted Here *    \E B                -         *      -
16997 # BS   Backpace *                ^H                  -         EF     -
16998 # CAN  Cancel *                  ^X                  -         -      -   (A)
16999 # CBT  Cursor Backward Tab       \E [ Pn Z           1         eF     cbt
17000 # CCH  Cancel Previous Character \E T                -         -      -
17001 # CHA  Cursor Horizntal Absolute \E [ Pn G           1         eF     hpa (B)
17002 # CHT  Cursor Horizontal Tab     \E [ Pn I           1         eF     tab (C)
17003 # CMD  Coding Method Delimiter * \E
17004 # CNL  Cursor Next Line          \E [ Pn E           1         eF     nel (D)
17005 # CPL  Cursor Preceding Line     \E [ Pn F           1         eF     -
17006 # CPR  Cursor Position Report    \E [ Pn ; Pn R      1, 1      -      -   (E)
17007 # CSI  Control Sequence Intro    \E [                -         Intro  -
17008 # CTC  Cursor Tabulation Control \E [ Ps W           0         eF     -   (F)
17009 # CUB  Cursor Backward           \E [ Pn D           1         eF     cub
17010 # CUD  Cursor Down               \E [ Pn B           1         eF     cud
17011 # CUF  Cursor Forward            \E [ Pn C           1         eF     cuf
17012 # CUP  Cursor Position           \E [ Pn ; Pn H      1, 1      eF     cup (G)
17013 # CUU  Cursor Up                 \E [ Pn A           1         eF     cuu
17014 # CVT  Cursor Vertical Tab       \E [ Pn Y           -         eF     -   (H)
17015 # DA   Device Attributes         \E [ Pn c           0         -      -
17016 # DAQ  Define Area Qualification \E [ Ps o           0         -      -
17017 # DCH  Delete Character          \E [ Pn P           1         eF     dch
17018 # DCS  Device Control String     \E P                -         Delim  -
17019 # DL   Delete Line               \E [ Pn M           1         eF     dl
17020 # DLE  Data Link Escape *        ^P                  -         -      -
17021 # DMI  Disable Manual Input      \E \                -         Fs     -
17022 # DSR  Device Status Report      \E [ Ps n           0         -      -   (I)
17023 # DTA  Dimension Text Area *     \E [ Pn ; Pn SPC T  -         PC     -
17024 # EA   Erase in Area             \E [ Ps O           0         eF     -   (J)
17025 # ECH  Erase Character           \E [ Pn X           1         eF     ech
17026 # ED   Erase in Display          \E [ Ps J           0         eF     ed  (J)
17027 # EF   Erase in Field            \E [ Ps N           0         eF     -
17028 # EL   Erase in Line             \E [ Ps K           0         eF     el  (J)
17029 # EM   End of Medium *           ^Y                  -         -      -
17030 # EMI  Enable Manual Input       \E b                          Fs     -
17031 # ENQ  Enquire                   ^E                  -         -      -
17032 # EOT  End Of Transmission       ^D                  -         *      -
17033 # EPA  End of Protected Area     \E W                -         -      -   (K)
17034 # ESA  End of Selected Area      \E G                -         -      -
17035 # ESC  Escape                    ^[                  -         -      -
17036 # ETB  End Transmission Block    ^W                  -         -      -
17037 # ETX  End of Text               ^C                  -         -      -
17038 # FF   Form Feed                 ^L                  -         -      -
17039 # FNK  Function Key *            \E [ Pn SPC W       -         -      -
17040 # GCC  Graphic Char Combination* \E [ Pn ; Pn SPC B  -         -      -
17041 # FNT  Font Selection            \E [ Pn ; Pn SPC D  0, 0      FE     -
17042 # GSM  Graphic Size Modify       \E [ Pn ; Pn SPC B  100, 100  FE     -   (L)
17043 # GSS  Graphic Size Selection    \E [ Pn SPC C       none      FE     -
17044 # HPA  Horz Position Absolute    \E [ Pn `           1         FE     -   (B)
17045 # HPB  Char Position Backward    \E [ j              1         FE     -
17046 # HPR  Horz Position Relative    \E [ Pn a           1         FE     -   (M)
17047 # HT   Horizontal Tab *          ^I                  -         FE     -   (N)
17048 # HTJ  Horz Tab w/Justification  \E I                -         FE     -
17049 # HTS  Horizontal Tab Set        \E H                -         FE     hts
17050 # HVP  Horz & Vertical Position  \E [ Pn ; Pn f      1, 1      FE     -   (G)
17051 # ICH  Insert Character          \E [ Pn @           1         eF     ich
17052 # IDCS ID Device Control String  \E [ SPC O          -         *      -
17053 # IGS  ID Graphic Subrepertoire  \E [ SPC M          -         *      -
17054 # IL   Insert Line               \E [ Pn L           1         eF     il
17055 # IND  Index                     \E D                -         FE     -
17056 # INT  Interrupt                 \E a                -         Fs     -
17057 # JFY  Justify                   \E [ Ps SPC F       0         FE     -
17058 # IS1  Info Separator #1 *       ^_                  -         *      -
17059 # IS2  Info Separator #1 *       ^^                  -         *      -
17060 # IS3  Info Separator #1 *       ^]                  -         *      -
17061 # IS4  Info Separator #1 *       ^\                  -         *      -
17062 # LF   Line Feed                 ^J                  -         -      -
17063 # LS1R Locking Shift Right 1 *   \E ~                -         -      -
17064 # LS2  Locking Shift 2 *         \E n                -         -      -
17065 # LS2R Locking Shift Right 2 *   \E }                -         -      -
17066 # LS3  Locking Shift 3 *         \E o                -         -      -
17067 # LS3R Locking Shift Right 3 *   \E |                -         -      -
17068 # MC   Media Copy                \E [ Ps i           0         -      -   (S)
17069 # MW   Message Waiting           \E U                -         -      -
17070 # NAK  Negative Acknowledge *    ^U                  -         *      -
17071 # NBH  No Break Here *           \E C                -         -      -
17072 # NEL  Next Line                 \E E                -         FE     nel (D)
17073 # NP   Next Page                 \E [ Pn U           1         eF     -
17074 # NUL  Null *                    ^@                  -         -      -
17075 # OSC  Operating System Command  \E ]                -         Delim  -
17076 # PEC  Pres. Expand/Contract *   \E Pn SPC Z         0         -      -
17077 # PFS  Page Format Selection *   \E Pn SPC J         0         -      -
17078 # PLD  Partial Line Down         \E K                -         FE     -   (T)
17079 # PLU  Partial Line Up           \E L                -         FE     -   (U)
17080 # PM   Privacy Message           \E ^                -         Delim  -
17081 # PP   Preceding Page            \E [ Pn V           1         eF     -
17082 # PPA  Page Position Absolute *  \E [ Pn SPC P       1         FE     -
17083 # PPB  Page Position Backward *  \E [ Pn SPC R       1         FE     -
17084 # PPR  Page Position Forward *   \E [ Pn SPC Q       1         FE     -
17085 # PTX  Parallel Texts *          \E [ \              -         -      -
17086 # PU1  Private Use 1             \E Q                -         -      -
17087 # PU2  Private Use 2             \E R                -         -      -
17088 # QUAD Typographic Quadding      \E [ Ps SPC H       0         FE     -
17089 # REP  Repeat Char or Control    \E [ Pn b           1         -      rep
17090 # RI   Reverse Index             \E M                -         FE     -   (V)
17091 # RIS  Reset to Initial State    \E c                -         Fs     -
17092 # RM   Reset Mode *              \E [ Ps l           -         -      -   (W)
17093 # SACS Set Add. Char. Sep. *     \E [ Pn SPC /       0         -      -
17094 # SAPV Sel. Alt. Present. Var. * \E [ Ps SPC ]       0         -      -   (X)
17095 # SCI  Single-Char Introducer    \E Z                -         -      -
17096 # SCO  Sel. Char. Orientation *  \E [ Pn ; Pn SPC k  -         -      -
17097 # SCS  Set Char. Spacing *       \E [ Pn SPC g       -         -      -
17098 # SD   Scroll Down               \E [ Pn T           1         eF     rin
17099 # SDS  Start Directed String *   \E [ Pn ]           1         -      -
17100 # SEE  Select Editing Extent     \E [ Ps Q           0         -      -   (Y)
17101 # SEF  Sheet Eject & Feed *      \E [ Ps ; Ps SPC Y  0,0       -      -
17102 # SGR  Select Graphic Rendition  \E [ Ps m           0         FE     sgr (O)
17103 # SHS  Select Char. Spacing *    \E [ Ps SPC K       0         -      -
17104 # SI   Shift In                  ^O                  -         -      -   (P)
17105 # SIMD Sel. Imp. Move Direct. *  \E [ Ps ^           -         -      -
17106 # SL   Scroll Left               \E [ Pn SPC @       1         eF     -
17107 # SLH  Set Line Home *           \E [ Pn SPC U       -         -      -
17108 # SLL  Set Line Limit *          \E [ Pn SPC V       -         -      -
17109 # SLS  Set Line Spacing *        \E [ Pn SPC h       -         -      -
17110 # SM   Select Mode               \E [ Ps h           none      -      -   (W)
17111 # SO   Shift Out                 ^N                  -         -      -   (Q)
17112 # SOH  Start Of Heading *        ^A                  -         -      -
17113 # SOS  Start of String *         \E X                -         -      -
17114 # SPA  Start of Protected Area   \E V                -         -      -   (Z)
17115 # SPD  Select Pres. Direction *  \E [ Ps ; Ps SPC S  0,0       -      -
17116 # SPH  Set Page Home *           \E [ Ps SPC G       -         -      -
17117 # SPI  Spacing Increment         \E [ Pn ; Pn SPC G  none      FE     -
17118 # SPL  Set Page Limit *          \E [ Ps SPC j       -         -      -
17119 # SPQR Set Pr. Qual. & Rapid. *  \E [ Ps SPC X       0         -      -
17120 # SR   Scroll Right              \E [ Pn SPC A       1         eF     -
17121 # SRCS Set Reduced Char. Sep. *  \E [ Pn SPC f       0         -      -
17122 # SRS  Start Reversed String *   \E [ Ps [           0         -      -
17123 # SSA  Start of Selected Area    \E F                -         -      -
17124 # SSU  Select Size Unit *        \E [ Pn SPC I       0         -      -
17125 # SSW  Set Space Width *         \E [ Pn SPC [       none      -      -
17126 # SS2  Single Shift 2 (G2 set)   \E N                -         Intro  -
17127 # SS3  Single Shift 3 (G3 set)   \E O                -         Intro  -
17128 # ST   String Terminator         \E \                -         Delim  -
17129 # STAB Selective Tabulation *    \E [ Pn SPC ^       -         -      -
17130 # STS  Set Transmit State        \E S                -         -      -
17131 # STX  Start pf Text *           ^B                  -         -      -
17132 # SU   Scroll Up                 \E [ Pn S           1         eF     indn
17133 # SUB  Substitute *              ^Z                  -         -      -
17134 # SVS  Select Line Spacing *     \E [ Pn SPC \       1         -      -
17135 # SYN  Synchronous Idle *        ^F                  -         -      -
17136 # TAC  Tabul. Aligned Centered * \E [ Pn SPC b       -         -      -
17137 # TALE Tabul. Al. Leading Edge * \E [ Pn SPC a       -         -      -
17138 # TATE Tabul. Al. Trailing Edge* \E [ Pn SPC `       -         -      -
17139 # TBC  Tab Clear                 \E [ Ps g           0         FE     tbc
17140 # TCC  Tabul. Centered on Char * \E [ Pn SPC c       -         -      -
17141 # TSR  Tabulation Stop Remove  * \E [ Pn SPC d       -         FE     -
17142 # TSS  Thin Space Specification  \E [ Pn SC E        none      FE     -
17143 # VPA  Vert. Position Absolute   \E [ Pn d           1         FE     vpa
17144 # VPB  Line Position Backward *  \E [ Pn k           1         FE     -
17145 # VPR  Vert. Position Relative   \E [ Pn e           1         FE     -   (R)
17146 # VT   Vertical Tabulation *     ^K                  -         FE     -
17147 # VTS  Vertical Tabulation Set   \E J                -         FE     -
17148
17149 # ---------------------------------------------------------------------------
17150 #
17151 # Notes:
17152 #
17153 # Some control characters are listed in the ECMA-48 standard without 
17154 # being assigned functions relevant to terminal control there (they 
17155 # referred to other standards such as ISO 1745 or ECMA-35).  They are listed
17156 # here anyway for completeness.
17157 #
17158 # (A) ECMA-48 calls this "CancelCharacter" but retains the CCH abbreviation.
17159 #
17160 # (B) There seems to be some confusion abroad between CHA and HPA.  Most
17161 # `ANSI' terminals accept the CHA sequence, not the HPA. but terminfo calls
17162 # the capability (hpa).  ECMA-48 calls this "Cursor Character Absolute" but
17163 # preserved the CHA abbreviation.
17164 #
17165 # (C) CHT corresponds to terminfo (tab).  Usually it has the value ^I.
17166 # Occasionally (as on, for example, certain HP terminals) this has the HTJ
17167 # value.  ECMA-48 calls this "Cursor Forward Tabulation" but preserved the
17168 # CHT abbreviation.
17169 #
17170 # (D) terminfo (nel) is usually \r\n rather than ANSI \EE.
17171 #
17172 # (E) ECMA-48 calls this "Active Position Report" but preserves the CPR 
17173 # abbreviation.
17174
17175 # (F) CTC parameter values: 0 = set char tab, 1 = set line tab, 2 = clear
17176 # char tab, 3 = clear line tab, 4 = clear all char tabs on current line, 
17177 # 5 = clear all char tabs, 6 = clear all line tabs.
17178 #
17179 # (G) CUP and HVP are identical in effect.  Some ANSI.SYS versions accept
17180 # HVP, but always allow CUP as an alternate.  ECMA-48 calls HVP "Character
17181 # Position Absolute" but retains the HVP abbreviation.
17182 #
17183 # (H) ECMA calls this "Cursor Line Tabulation" but preserves the CVT
17184 # abbreviation.
17185 #
17186 # (I) DSR parameter values: 0 = ready, 1 = busy, 2 = busy, will send DSR
17187 # later, 3 = malfunction, 4 = malfunction, will send DSR later, 5 = request
17188 # DSR, 6 = request CPR response.
17189 #
17190 # (J) ECMA calls ED "Erase In Page". EA/ED/EL parameters: 0 = clear to end,
17191 # 1 = clear from beginning, 2 = clear.
17192
17193 # (K) ECMA calls this "End of Guarded Area" but preserves the EPA abbreviation.
17194 #
17195 # (L) The GSM parameters are vertical and horizontal parameters to scale by.
17196 #
17197 # (M) Some ANSI.SYS versions accept HPR, but more commonly `ANSI' terminals
17198 # use CUF for this function and ignore HPR.  ECMA-48 calls this "Character
17199 # Position Relative" but retains the HPR abbreviation.
17200 #
17201 # (N) ECMA-48 calls this "Character Tabulation" but retains the HT
17202 # abbreviation.
17203 #
17204 # (O) SGR parameter values: 0 = default mode (attributes off), 1 = bold,
17205 # 2 = dim, 3 = italicized, 4 = underlined, 5 = slow blink, 6 = fast blink,
17206 # 7 = reverse video, 8 = invisible, 9 = crossed-out (marked for deletion),
17207 # 10 = primary font, 10 + n (n in 1..9) = nth alternative font, 20 = Fraktur,
17208 # 21 = double underline, 22 = turn off 2, 23 = turn off 3, 24 = turn off 4,
17209 # 25 = turn off 5, 26 = proportional spacing, 27 = turn off 7, 28 = turn off
17210 # 8, 29 = turn off 9, 30 = black fg, 31 = red fg, 32 = green fg, 33 = yellow
17211 # fg, 34 = blue fg, 35 = magenta fg, 36 = cyan fg, 37 = white fg, 38 = set
17212 # fg color as in CCIT T.416, 39 = set default fg color, 40 = black bg
17213 # 41 = red bg, 42 = green bg, 43 = yellow bg, 44 = blue bg, 45 = magenta bg,
17214 # 46 = cyan bg, 47 = white bg, 48 = set bg color as in CCIT T.416, 39 = set
17215 # default bg color, 50 = turn off 26, 51 = framed, 52 = encircled, 53 =
17216 # overlined, 54 = turn off 51 & 52, 55 = not overlined, 56-59 = reserved,
17217 # 61-65 = variable highlights for ideograms.
17218 #
17219 # (P) SI is also called LSO, Locking Shift Zero.
17220 #
17221 # (Q) SI is also called LS1, Locking Shift One.
17222 #
17223 # (R) Some ANSI.SYS versions accept VPR, but more commonly `ANSI' terminals
17224 # use CUD for this function and ignore VPR.  ECMA calls it `Line Position
17225 # Absolute' but retains the VPA abbreviation.
17226 #
17227 # (S) MC parameters: 0 = start xfer to primary aux device, 1 = start xfer from
17228 # primary aux device, 2 = start xfer to secondary aux device, 3 = start xfer
17229 # from secondary aux device, 4 = stop relay to primary aux device, 5 = 
17230 # start relay to primary aux device, 6 = stop relay to secondary aux device,
17231 # 7 = start relay to secondary aux device.
17232 #
17233 # (T) ECMA-48 calls this "Partial Line Forward" but retains the PLD
17234 # abbreviation.
17235 #
17236 # (U) ECMA-48 calls this "Partial Line Backward" but retains the PLD
17237 # abbreviation.
17238 #
17239 # (V) ECMA-48 calls this "Reverse Line Feed" but retains the RI abbreviation.
17240 #
17241 # (W) RM/SM modes are as follows: 1 = Guarder Area Transfer Mode (GATM), 
17242 # 2 = Keyboard Action Mode (KAM), 3 = Control Representation Mode (CRM), 
17243 # 4 = Insertion Replacement Mode, 5 = Status Report Transfer Mode (SRTM),
17244 # 6 = Erasure Mode (ERM), 7 = Line Editing Mode (LEM), 8 = Bi-Directional
17245 # Support Mode (BDSM), 9 = Device Component Select Mode (DCSM), 
17246 # 10 = Character Editing Mode (HEM), 11 = Positioning Unit Mode (PUM),
17247 # 12 = Send/Receive Mode, 13 = Format Effector Action Mode (FEAM), 
17248 # 14 = Format Effector Transfer Mode (FETM), 15 = Multiple Area Transfer
17249 # Mode (MATM), 16 = Transfer Termination Mode, 17 = Selected Area Transfer
17250 # Mode, 18 = Tabulation Stop Mode, 19 = Editing Boundary Mode, 20 = Line Feed
17251 # New Line Mode (LF/NL), Graphic Rendition Combination Mode (GRCM), 22 =
17252 # Zero Default Mode (ZDM).  The EBM and LF/NL modes have actually been removed
17253 # from ECMA-48's 5th edition but are listed here for reference.
17254 #
17255 # (X) Select Alternate Presentation Variants is used only for non-Latin
17256 # alphabets.
17257 #
17258 # (Y) "Select Editing Extent" (SEE) was ANSI "Select Edit Extent Mode" (SEM).
17259 #
17260 # (Z) ECMA-48 calls this "Start of Guarded Area" but retains the SPA
17261 # abbreviation.
17262 #
17263 # ---------------------------------------------------------------------------
17264
17265 # Abbreviations:
17266 #
17267 # Intro  an Introducer of some kind of defined sequence; the normal 7-bit
17268 #        X3.64 Control Sequence Introducer is the two characters "Escape ["
17269
17270 # Delim  a Delimiter
17271
17272 # x/y    identifies a character by position in the ASCII table (column/row)
17273
17274 # eF     editor function (see explanation)
17275
17276 # FE     format effector (see explanation)
17277 #
17278 # F      is a Final character in
17279 #             an Escape sequence (F from 3/0 to 7/14 in the ASCII table)
17280 #             a control sequence (F from 4/0 to 7/14)
17281
17282 # Gs     is a graphic character appearing in strings (Gs ranges from
17283 #        2/0 to 7/14) in the ASCII table
17284
17285 # Ce     is a control represented as a single bit combination in the C1 set
17286 #        of controls in an 8-bit character set
17287
17288 # C0     the familiar set of 7-bit ASCII control characters
17289
17290 # C1     roughly, the set of control chars available only in 8-bit systems.
17291 #        This is too complicated to explain fully here, so read Jim Fleming's
17292 #        article in the February 1983 BYTE, especially pages 214 through 224.
17293
17294 # Fe     is a Final character of a 2-character Escape sequence that has an
17295 #        equivalent representation in an 8-bit environment as a Ce-type
17296 #        (Fe ranges from 4/0 to 5/15)
17297
17298 # Fs     is a Final character of a 2-character Escape sequence that is
17299 #        standardized internationally with identical representation in 7-bit
17300 #        and 8-bit environments and is independent of the currently
17301 #        designated C0 and C1 control sets (Fs ranges from 6/0 to 7/14)
17302
17303 # I      is an Intermediate character from 2/0 to 2/15 (inclusive) in the
17304 #        ASCII table
17305
17306 # P      is a parameter character from 3/0 to 3/15 (inclusive) in the ASCII
17307 #        table
17308
17309 # Pn     is a numeric parameter in a control sequence, a string of zero or
17310 #        more characters ranging from 3/0 to 3/9 in the ASCII table
17311
17312 # Ps     is a variable number of selective parameters in a control sequence
17313 #        with each selective parameter separated from the other by the code
17314 #        3/11 (which usually represents a semicolon); Ps ranges from
17315 #        3/0 to 3/9 and includes 3/11
17316 #
17317 # *      Not relevant to terminal control, listed for completeness only.
17318
17319 # Format Effectors versus Editor Functions
17320
17321 # A format effector specifies how following output is to be displayed.
17322 # An editor function allows you to modify the display.  Informally
17323 # format effectors may be destructive; format effectors should not be.
17324
17325 # For instance, a format effector that moves the "active position" (the 
17326 # cursor or equivalent) one space to the left would be useful when you want to
17327 # create an overstrike, a compound character made of two standard characters
17328 # overlaid. Control-H, the Backspace character, is actually supposed to be a
17329 # format effector, so you can do this. But many systems use it in a
17330 # nonstandard fashion, as an editor function, deleting the character to the
17331 # left of the cursor and moving the cursor left. When Control-H is assumed to
17332 # be an editor function, you cannot predict whether its use will create an
17333 # overstrike unless you also know whether the output device is in an "insert
17334 # mode" or an "overwrite mode". When Control-H is used as a format effector,
17335 # its effect can always be predicted. The familiar characters carriage
17336 # return, linefeed, formfeed, etc., are defined as format effectors.
17337 #
17338 # NOTES ON THE DEC VT100 IMPLEMENTATION
17339
17340 # Control sequences implemented in the VT100 are as follows:
17341
17342 #      CPR, CUB, CUD, CUF, CUP, CUU, DA, DSR, ED, EL, HTS, HVP, IND,
17343 #      LNM, NEL, RI, RIS, RM, SGR, SM, TBC
17344
17345 # plus several private DEC commands.
17346
17347 # Erasing parts of the display (EL and ED) in the VT100 is performed thus:
17348
17349 #      Erase from cursor to end of line           Esc [ 0 K    or Esc [ K
17350 #      Erase from beginning of line to cursor     Esc [ 1 K
17351 #      Erase line containing cursor               Esc [ 2 K
17352 #      Erase from cursor to end of screen         Esc [ 0 J    or Esc [ J
17353 #      Erase from beginning of screen to cursor   Esc [ 1 J
17354 #      Erase entire screen                        Esc [ 2 J
17355 #
17356 # Some brain-damaged terminal/emulators respond to Esc [ J as if it were
17357 # Esc [ 2 J, but this is wrong; the default is 0.
17358
17359 # The VT100 responds to receiving the DA (Device Attributes) control
17360
17361 #      Esc [ c    (or Esc [ 0 c)
17362
17363 # by transmitting the sequence
17364
17365 #      Esc [ ? l ; Ps c
17366
17367 # where Ps is a character that describes installed options.
17368
17369 # The VT100's cursor location can be read with the DSR (Device Status
17370 # Report) control
17371
17372 #      Esc [ 6 n
17373
17374 # The VT100 reports by transmitting the CPR sequence
17375
17376 #      Esc [ Pl ; Pc R
17377
17378 # where Pl is the line number and Pc is the column number (in decimal).
17379
17380 # The specification for the DEC VT100 is document EK-VT100-UG-003.
17381
17382 #### ANSI.SYS
17383
17384 # Here is a description of the color and attribute controls supported in the
17385 # the ANSI.SYS driver under MS-DOS.  Most console drivers and ANSI
17386 # terminal emulators for Intel boxes obey these.  They are a proper subset
17387 # of the ECMA-48 escapes.
17388 #
17389 # 0     all attributes off
17390 # 1     foreground bright
17391 # 4     underscore on
17392 # 5     blink on/background bright (not reliable with brown)
17393 # 7     reverse-video
17394 # 8     set blank (non-display)
17395 # 10    set primary font
17396 # 11    set first alternate font (on PCs, display ROM characters 1-31)
17397 # 12    set second alternate font (on PCs, display IBM high-half chars)
17398 #
17399 #                       Color attribute sets
17400 # 3n    set foreground color       / 0=black, 1=red,     2=green, 3=brown,
17401 # 4n    set background color       \ 4=blue,  5=magenta, 6=cyan,  7=white
17402 # Bright black becomes gray.  Bright brown becomes yellow,
17403 # These coincide with the prescriptions of the ISO 6429/ECMA-48 standard.
17404 #
17405 # * If the 5 attribute is on and you set a background color (40-47) it is
17406 #   supposed to enable bright background.
17407 #
17408 # * Many VGA cards (such as the Paradise and compatibles) do the wrong thing
17409 #   when you try to set a "bright brown" (yellow) background with attribute
17410 #   5 (you get a blinking yellow foreground instead).  A few displays
17411 #   (including the System V console) support an attribute 6 that undoes this
17412 #   braindamage (this is required by iBCS2).
17413 #
17414 # * Some older versions of ANSI.SYS have a bug that causes thems to require
17415 #   ESC [ Pn k as EL rather than the ANSI ESC [ Pn K.  (This is not ECMA-48
17416 #   compatible.)
17417
17418 #### Intel Binary Compatibility Standard
17419 #
17420 # For comparison, here are the capabilities implied by the Intel Binary 
17421 # Compatibility Standard for UNIX systems (Intel order number 468366-001).
17422 # These recommendations are optional.  IBCS2 allows the leading escape to
17423 # be either the 7-bit \E[ or 8-bit \0233 introducer, in accordance with
17424 # the ANSI X.364/ISO 6429/ECMA-48 standard.  Here are the iBCS2 capabilities
17425 # (as described in figure 9-3 of the standard).  Those expressed in the ibcs2
17426 # terminfo entry are followed with the corresponding capability in parens:
17427 #
17428 #       CSI <n>k                disable (n=0) or enable (n=1) keyclick
17429 #       CSI 2h                  lock keyboard
17430 #       CSI 2i                  send screen as input
17431 #       CSI 2l                  unlock keyboard
17432 #       CSI 6m                  enable background color intensity
17433 #       CSI <0-2>c              reserved
17434 #       CSI <0-59>m             select graphic rendition
17435 #       CSI <n>;<m>H    (cup)   cursor to line n and column m
17436 #       CSI <n>;<m>f            cursor to line n and column m
17437 #       CSI <n>@        (ich)   insert characters
17438 #       CSI <n>A        (cuu)   cursor up n lines
17439 #       CSI <n>B        (cud)   cursor down n lines
17440 #       CSI <n>C        (cuu)   cursor right n characters
17441 #       CSI <n>D        (cud)   cursor left n characters
17442 #       CSI <n>E                cursor down n lines and in first column
17443 #       CSI <n>F                cursor up n lines and in first column
17444 #       CSI <n>G        (hpa)   position cursor at column n-1
17445 #       CSI <n>J        (ed)    erase in display
17446 #       CSI <n>K        (el)    erase in line
17447 #       CSI <n>L        (il)    insert line(s)
17448 #       CSI <n>P        (dch)   delete characters
17449 #       CSI <n>S        (indn)  scroll up n lines
17450 #       CSI <n>T        (rin)   scroll down n lines
17451 #       CSI <n>X        (ech)   erase characters
17452 #       CSI <n>Z        (cbt)   back up n tab stops
17453 #       CSI <n>`                cursor to column n on line
17454 #       CSI <n>a        (cuu)   cursor right n characters
17455 #       CSI <n>d        (vpa)   cursor to line n
17456 #       CSI <n>e                cursor down n lines and in first column
17457 #       CSI <n>g        (cbt)   clear all tabs
17458 #       CSI <n>z                make virtual terminal n active
17459 #       CSI ?7h         (smam)  turn automargin on
17460 #       CSI ?7l         (rmam)  turn automargin off
17461 #       CSI s                   save cursor position
17462 #       CSI u                   restore cursor position to saved value
17463 #       CSI =<c>A               set overscan color
17464 #       CSI =<c>F               set normal foreground color
17465 #       CSI =<c>G               set normal background color
17466 #       CSI =<c>H               set reverse foreground color
17467 #       CSI =<c>I               set reverse foreground color
17468 #       CSI =<c>J               set graphic foreground color
17469 #       CSI =<c>K               set graphic foreground color
17470 #       CSI =<n>g       (dispc) display n from alternate graphics character set
17471 #       CSI =<p>;<d>B           set bell parameters
17472 #       CSI =<s>;<e>C           set cursor parameters
17473 #       CSI =<x>D               enable/disable intensity of background color
17474 #       CSI =<x>E               set/clear blink vs. bold background
17475 #       CSI 7           (sc)    (sc) save cursor position
17476 #       CSI 8           (rc)    (rc) restore cursor position to saved value
17477 #       CSI H           (hts)   (hts) set tab stop
17478 #       CSI Q<n><string>        define function key string
17479 #                               (string must begin and end with delimiter char)
17480 #       CSI c           (clear) clear screen
17481 #
17482 # The lack of any specification for attributes in SGR (among other things)
17483 # makes this a wretchedly weak standard. The table above is literally 
17484 # everything iBSC2 has to say about terminal escape sequences; there is
17485 # no further discussion of their meaning or how to set the parameters
17486 # in these sequences at all.
17487 #
17488
17489 ######## NONSTANDARD CAPABILITY TRANSLATIONS USED IN THIS FILE
17490 #
17491 # The historical termcap file entries were written primarily in 4.4BSD termcap.
17492 # The 4.4BSD termcap set was substantially larger than the original 4.1BSD set,
17493 # with the extension names chosen for compatibility with the termcap names
17494 # assigned in System V terminfo.  There are some variant extension sets out
17495 # there.  We try to describe them here.
17496 #
17497 # XENIX extensions:
17498 #
17499 # The XENIX extensions include a set of function-key capabilities as follows:
17500 #
17501 #       code    XENIX variable name     terminfo name   name clashes?
17502 #       ----    -------------------     -------------   -----------------------
17503 #       CL      key_char_left
17504 #       CR      key_char_right
17505 #       CW      key_change_window                       create_window
17506 #       EN      key_end                 kend
17507 #       HM      key_home                khome
17508 #       HP      ??
17509 #       LD      key_delete_line         kdl1
17510 #       LF      key_linefeed                            label_off
17511 #       NU      key_next_unlocked_cell
17512 #       PD      key_page_down           knp
17513 #       PL      ??
17514 #       PN      start_print             mc5
17515 #       PR      ??
17516 #       PS      stop_print              mc4
17517 #       PU      key_page_up             kpp             pulse
17518 #       RC      key_recalc                              remove_clock
17519 #       RF      key_toggle_ref                          req_for_input
17520 #       RT      key_return              kent
17521 #       UP      key_up_arrow            kcuu1           parm_up_cursor
17522 #       WL      key_word_left
17523 #       WR      key_word_right
17524 #
17525 # The XENIX extensions also include the following character-set and highlight
17526 # capabilities:
17527 #
17528 #       XENIX   terminfo        function
17529 #       -----   --------        ------------------------------
17530 #       GS      smacs           start alternate character set
17531 #       GE      rmacs           end alternate character set
17532 #       GG                      :as:/:ae: glitch (analogous to :sg:/:ug:)
17533 #       bo      blink           begin blink (not used in /etc/termcap)
17534 #       be                      end blink (not used in /etc/termcap)
17535 #       bb                      blink glitch  (not used in /etc/termcap)
17536 #       it      dim             begin dim (not used in /etc/termcap)
17537 #       ie                      end dim (not used in /etc/termcap)
17538 #       ig                      dim glitch  (not used in /etc/termcap)
17539 #
17540 # Finally, XENIX also used the following forms-drawing capabilities:
17541 #
17542 #       single  double  type             ASCII approximation 
17543 #       ------  ------  -------------    -------------------
17544 #       GV      Gv      vertical line             |
17545 #       GH      Gv      horizontal line       -   _
17546 #       G1      G5      top right corner       _   |
17547 #       G2      G6      top left corner       | 
17548 #       G3      G7      bottom left corner         |_
17549 #       G4      G8      bottom right corner   _|
17550 #       GD      Gd      down-tick character        T
17551 #       GL      Gl      left-tick character   -|
17552 #       GR      Gr      right-tick character       |-
17553 #       GC      Gc      middle intersection   -|-
17554 #       GU      Gu      up-tick character          _|_
17555 #
17556 # These were invented to take advantage of the IBM PC ROM character set.  One
17557 # can compose an acsc string from the single-width characters as follows
17558 #       "j{G4}k{G1}l{G2}m{G3}q{GH}x{GV}t{GR}u{GL}v{GU}w{GD}n{GC}"
17559 # When translating a termcap file, ncurses tic will do this automatically.
17560 # The double forms characters don't fit the SVr4 terminfo model.
17561 #
17562 # AT&T Extensions:
17563 #
17564 # The old AT&T 5410, 5420, 5425, pc6300plus, 610, and s4 entries used a set of
17565 # nonstandard capabilities.  Its signature is the KM capability, used to name
17566 # some sort of keymap file.  EE, BO, CI, CV, XS, DS, FL and FE are in this
17567 # set.  Comments in the original, and a little cross-checking with other AT&T
17568 # documentation, seem to establish that BO=:mr: (start reverse video), DS=:mh:
17569 # (start dim), XS=:mk: (secure/invisible mode), EE=:me: (end highlights),
17570 # FL=:LO: (enable soft labels), FE=:LF: (disable soft labels), CI=:vi: (make
17571 # cursor invisible), and CV=:ve: (make cursor normal).
17572 #
17573 # HP Extensions
17574 #
17575 # The HP library (as of mid-1995, their term.h file version 70.1) appears to
17576 # have the System V capabilities up to SVr1 level.  After that, it supports
17577 # two nonstandard caps meml and memu corresponding to the old termcap :ml:,
17578 # :mu: capabilities.  After that, it supports caps plab_norm, label_on,
17579 # label_off, and key_f11..key_f63 capabilities like SVr4's.  This makes the
17580 # HP binary format incompatible with SVr4's.
17581 #
17582 # IBM Extensions
17583 #
17584 # There is a set of nonstandard terminfos used by IBM's AIX operating system.
17585 # The AIX terminfo library diverged from SVr1 terminfo, and replaces all
17586 # capabilities following prtr_non with the following special capabilties:
17587 # box[12], batt[12], colb[0123456789], colf[0123456789], f[01234567], kbtab,
17588 # kdo, kcmd, kcpn, kend, khlp, knl, knpn, kppn, kppn, kquit, ksel, kscl, kscr,
17589 # ktab, kmpf[123456789], apstr, ksf1..ksf10, kf11...kf63, kact, topl, btml,
17590 # rvert, lvert.   Some of these are identical to XPG4/SVr4 equivalents:
17591 # kcmd, kend, khlp, and kf11...kf63.  Two others (kbtab and ksel) can be
17592 # renamed (to kcbt and kslt).  The places in the box[12] capabilities
17593 # correspond to acsc chars, here is the mapping:
17594 #
17595 #       box1[0]  = ACS_ULCORNER
17596 #       box1[1]  = ACS_HLINE    
17597 #       box1[2]  = ACS_URCORNER
17598 #       box1[3]  = ACS_VLINE
17599 #       box1[4]  = ACS_LRCORNER
17600 #       box1[5]  = ACS_LLCORNER
17601 #       box1[6]  = ACS_TTEE
17602 #       box1[7]  = ACS_RTEE
17603 #       box1[8]  = ACS_BTEE
17604 #       box1[9]  = ACS_LTEE
17605 #       box1[10] = ACS_PLUS
17606 #
17607 # The box2 characters are the double-line versions of these forms graphics.
17608 # The AIX binary terminfo format is incompatible with SVr4's.
17609 #
17610 # Iris console extensions:
17611 #
17612 # HS is half-intensity start; HE is half-intensity end
17613 # CT is color terminal type (for Curses & rogue)
17614 # CP is color change escape sequence
17615 # CZ are color names (for Curses & rogue)
17616 #
17617 # The ncurses tic utility recognizes HS as an alias for mh <dim>.
17618 #
17619 # TC Extensions:
17620 #
17621 # There is a set of extended termcaps associated with something
17622 # called the "Terminal Control" or TC package created by MainStream Systems,
17623 # Winfield Kansas.  This one also uses GS/GE for as/ae, and also uses
17624 # CF for civis and CO for cvvis.  Finally, they define a boolean :ct:
17625 # that flags color terminals.
17626 #
17627 ######## CHANGE HISTORY
17628 #
17629 # The last /etc/termcap version maintained by John Kunze was 8.3, dated 8/5/94.
17630 # Releases 9 and up are maintained by Eric S. Raymond as part of the ncurses
17631 # project.
17632 #
17633 # This file contains all the capability information present in John Kunze's
17634 # last version of the termcap master file, except as noted in the change 
17635 # comments at end of file.  Some information about very ancient obsolete
17636 # capabilities has been moved to comments.  Some all-numeric names of older
17637 # terminals have been retired.
17638 #
17639 # I changed :MT: to :km: (the 4.4BSD name) everywhere.  I commented out some
17640 # capabilities (EP, dF, dT, dV, kn, ma, ml, mu, xr, xx) that are no longer
17641 # used by BSD curses.
17642 #
17643 # The 9.1.0 version of this file was translated from my lightly-edited copy of
17644 # 8.3, then mechanically checked against 8.3 using Emacs Lisp code written for
17645 # the purpose.  Unless the ncurses tic implementation and the Lisp code were
17646 # making perfectly synchronized mistakes which I then failed to catch by
17647 # eyeball, the translation was correct and perfectly information-preserving.
17648 #
17649 # Major version number bumps correspond to major version changes in ncurses.
17650 #
17651 # Here is a log of the changes since then:
17652 #
17653 # 9.1.0 (Wed Feb  1 04:50:32 EST 1995):
17654 #       * First terminfo master translated from 8.3.
17655 # 9.2.0 (Wed Feb  1 12:21:45 EST 1995):
17656 #       * Replaced Wyse entries with updated entries supplied by vendor.
17657 #
17658 # 9.3.0 (Mon Feb  6 19:14:40 EST 1995):
17659 #       * Added contact & status info from G. Clark Brown <clark@sssi.com>.
17660 # 9.3.1 (Tue Feb  7 12:00:24 EST 1995):
17661 #       * Better XENIX keycap translation.  Describe TC termcaps.
17662 #       * Contact and history info supplied by Qume.
17663 # 9.3.2 (Sat Feb 11 23:40:02 EST 1995):
17664 #       * Raided the Shuford FTP site for recent termcaps/terminfos.
17665 #       * Added information on X3.64 and VT100 standard escape sequences.
17666 # 9.3.3 (Mon Feb 13 12:26:15 EST 1995):
17667 #       * Added a correct X11R6 xterm entry.
17668 #       * Fixed terminfo translations of padding.
17669 # 9.3.4 (Wed Feb 22 19:27:34 EST 1995):
17670 #       * Added correct acsc/smacs/rmacs strings for vt100 and xterm.
17671 #       * Added u6/u7/u8/u9 capabilities.
17672 #       * Added PCVT entry.
17673 # 9.3.5 (Thu Feb 23 09:37:12 EST 1995):
17674 #       * Emacs uses :so:, not :mr:, for its mode line.  Fix linux entry
17675 #         to use reverse-video standout so Emacs will look right.
17676 #       * Added el1 capability to ansi.
17677 #       * Added smacs/rmacs to ansi.sys.
17678 #
17679 # 9.4.0 (Sat Feb 25 16:43:25 EST 1995):
17680 #       * New mt70 entry.
17681 #       * Added COPYRIGHTS AND OTHER DELUSIONS.
17682 #       * Added AT&T 23xx & 500/513, vt220 and vt420, opus3n1+, netronics
17683 #         smartvid & smarterm, ampex 175 & 219 & 232,
17684 #         env230, falco ts100, fluke, intertube, superbrain, ncr7901, vic20,
17685 #         ozzie, trs200, tr600, Tandy & Texas Instruments VDTs, intext2,
17686 #         screwpoint, fviewpoint, Contel Business Systems, Datamedia Colorscan,
17687 #         adm36, mime314, ergo4000, ca22851.  Replaced att7300, esprit, dd5500.
17688 #       * Replaced the Perkin-Elmer entries with vendor's official ones.
17689 #       * Restored the old minimal-ansi entry, luna needs it.
17690 #       * Fixed some incorrect ip and proportional-padding translations.
17691 # 9.4.1 (Mon Feb 27 14:18:33 EST 1995):
17692 #       * Fix linux & AT386 sgr strings to do A_ALTCHARSET turnoff correctly.
17693 #       * Make the xterm entry 65 lines again; create xterm25 and xterm24
17694 #         to force a particular height.
17695 #       * Added beehive4 and reorganized other Harris entries.
17696 # 9.4.2 (Thu Mar  9 01:45:44 EST 1995):
17697 #       * Merged in DEC's official entries for its terminals.  The only old
17698 #         entry I kept was Doug Gwyn's alternate vt100 (as vt100-avo).
17699 #       * Replaced the translated BBN Bitgraph entries with purpose-built
17700 #         ones from AT&T's SVr3.
17701 #       * Replaced the AT&T entries with AT&T's official terminfos.
17702 #       * Added teleray 16, vc415, cops10. 
17703 #       * Merged in many individual capabilities from SCO terminfo files.
17704 # 9.4.3 (Mon Mar 13 02:37:53 EST 1995):
17705 #       * Typo fixes.
17706 #       * Change linux entry so A_PROTECT enables IBM-PC ROM characters.
17707 # 9.4.4 (Mon Mar 27 12:32:35 EST 1995):
17708 #       * Added tty35, Ann Arbor Guru series. vi300 and 550, cg7900, tvi803,
17709 #         pt210, ibm3164, IBM System 1, ctrm, Tymshare scanset, dt200, adm21,
17710 #         simterm, citoh and variants.
17711 #       * Replaced sol entry with sol1 and sol2.
17712 #       * Replaced Qume QVT and Freedom-series entries with purpose-built
17713 #         terminfo entries.
17714 #       * Enhanced vt220, tvi910, tvi924, hpterm, hp2645, adm42, tek
17715 #         and dg200 entries using caps from from SCO.
17716 #       * Added the usual set of function-key mappings to ANSI entry.
17717 #       * Corrected xterm's function-key capabilities.
17718 # 9.4.5 (Tue Mar 28 14:27:49 EST 1995):
17719 #       * Fix in xterm entry, cub and cud are not reliable under X11R6.
17720 # 9.4.6 (Thu Mar 30 14:52:15 EST 1995):
17721 #       * Fix in xterm entry, get the arrow keys right.
17722 #       * Change some \0 escapes to \200.
17723 # 9.4.7 (Tue Apr  4 11:27:11 EDT 1995)
17724 #       * Added apple (Videx card), adm1a, oadm31.
17725 #       * Fixed malformed ampex csr.
17726 #       * Fixed act4, cyb110; they had old-style prefix padding left in. 
17727 #       * Changed mandatory to advisory padding in many entries.
17728 #       * Replaced HP entries up to hpsub with purpose-built ones.
17729 #       * Blank rmir/smir/rmdc/smdc capabilities removed.
17730 #       * Small fixes merged in from SCO entries for lpr, fos, tvi910+, tvi924.
17731 # 9.4.8 (Fri Apr  7 09:36:34 EDT 199):
17732 #       * Replaced the Ann Arbor entries with SCO's, the init strings are
17733 #         more efficient (but the entries otherwise identical).
17734 #       * Added dg211 from Shuford archive.
17735 #       * Added synertek, apple-soroc, ibmpc, pc-venix, pc-coherent, xtalk,
17736 #         adm42-nl, pc52, gs6300, xerox820, uts30.
17737 #       * Pull SCO's padding into vi200 entry.
17738 #       * Improved capabilities for tvi4107 and other Televideo and Viewpoint
17739 #         entries merged in from SCO's descriptions.
17740 #       * Fixed old-style prefix padding on zen50, h1500.
17741 #       * Moved old superbee entry to superbee-xsb, pulled in new superbee
17742 #         entry from SCO's description.
17743 #       * Reorganized the special entries.
17744 #       * Added lm#0 to cbunix and virtual entries.
17745 #
17746 # 9.5.0 (Mon Apr 10 11:30:00 EDT 1995):
17747 #       * Restored cdc456tst.
17748 #       * Fixed sb1 entry, SCO erroneously left out the xsb glitch.
17749 #       * Added megatek, beacon, microkit.
17750 #       * Freeze for ncurses-1.9 release.
17751 # 9.5.1 (Fri Apr 21 12:46:42 EDT 1995):
17752 #       * Added historical data for TAB.
17753 #       * Comment fixes from David MacKenzie.
17754 #       * Added the new BSDI pc3 entry.
17755 # 9.5.2 (Tue Apr 25 17:27:52 EDT 1995)
17756 #       * A change in the tic -C logic now ensures that all entries in 
17757 #         the termcap translation will fit in < 1024 bytes.
17758 #       * Added `bobcat' and `gator' HP consoles and the Nu machine entries
17759 #         from GNU termcap file.  This merges in all their local information.
17760 # 9.5.3 (Tue Apr 25 22:28:13 EDT 1995)
17761 #       * Changed tic -C logic to dump all capabilities used by GNU termcap.
17762 #       * Added warnings about entries with long translations (restoring
17763 #         all the GNU termcaps pushes a few over the edge).
17764 # 9.5.4 (Wed Apr 26 15:35:09 EDT 1995)
17765 #       * Yet another tic change, and a couple of entry tweaks, to reduce the
17766 #         number of long (> 1024) termcap translations back to 0.
17767 #
17768 # 9.6.0 (Mon May  1 10:35:54 EDT 1995)
17769 #       * Added kf13-kf20 to Linux entry.
17770 #       * Regularize Prime terminal names.
17771 #       * Historical data on Synertek.
17772 #       * Freeze for ncurses-1.9.1.
17773 # 9.6.1 (Sat May  6 02:00:52 EDT 1995):
17774 #       * Added true xterm-color entry, renamed djm's pseudo-color entry.
17775 #       * Eliminate whitespace in short name fields, this tanks some scripts.
17776 #       * Name field changes to shorten some long entries.
17777 #       * Termcap translation now automatically generates empty rmir/smir
17778 #         when ich1/ich is present (copes with an ancient vi bug).
17779 #       * Added `screen' entries from FSF's screen-3.6.2.
17780 #       * Added linux-nic and xterm-nic entries.
17781 # 9.6.2 (Sat May  6 17:00:55 EDT 1995):
17782 #       * Change linux entry to use smacs=\E[11m and have an explicit acsc,
17783 #         eliminating some special-case code in ncurses.
17784 #
17785 # 9.7.0 (Tue May  9 18:03:12 EDT 1995):
17786 #       * Added vt320-k3, rsvidtx from the Emacs termcap.dat file.  I think
17787 #         that captures everything unique from it.
17788 #       * Added reorder script generator.
17789 #       * Freeze for ncurses 1.9.2 release.
17790 # 9.7.1 (Thu Jun 29 09:35:22 EDT 1995):
17791 #       * Added Sean Farley's kspd, flash, rs1 capabilities for linux.
17792 #       * Added Olaf Siebert's corrections for adm12.
17793 #       * ansi-pc-color now includes the colors and pairs caps, so that
17794 #         entries which use it will inherit them automatically.
17795 #       * The linux entry can now recognize the center (keypad 5) key.
17796 #       * Removed some junk that found its way into Linux acsc.
17797 #
17798 # 9.8.0 (Fri Jul  7 04:46:57 EDT 1995):
17799 #       * Add 50% cut mark as a desperate hack to reduce tic's core usage.
17800 #       * xterm doesn't try to use application keypad mode any more.
17801 #       * Freeze for ncurses-1.9.3 release.
17802 # 9.8.1 (Thu Jul 19 17:02:12 EDT 1995):
17803 #       * Added corrected sun entry from vendor.
17804 #       * Added csr capability to linux entry.
17805 #       * Peter Wemm says the at386 hpa should be \E[%i%p1%dG, not \E[%p1%dG.
17806 #       * Added vt102-nsgr to cope with stupid IBM PC `VT100' emulators.
17807 #       * Some commented-out caps in long entries come back in, my code 
17808 #         for computing string-table lengths had a bug in it.
17809 #       * pcansi series modified to fit comm-program reality better.
17810 # 9.8.2 (Sat Sep  9 23:35:00 EDT 1995):
17811 #       * BSD/OS actually ships the ibmpc3 bold entry as its console.
17812 #       * Correct some bad aliases in the pcansi series
17813 #       * Added entry for QNX console.
17814 #       * Clean up duplicate long names for use with 4.4 library.
17815 #       * Change vt100 standout to be normal reverse vide, not bright reverse;
17816 #         this makes the Emacs status line look better.
17817 # 9.8.3 (Sun Sep 10 13:07:34 EDT 1995):
17818 #       * Added Adam Thompson's VT320 entries, also his dtx-sas and z340.
17819 #       * Minor surgery, mostly on name strings, to shorten termcap version.
17820 #
17821 # 9.9.0 (Sat Sep 16 23:03:48 EDT 1995):
17822 #       * Added dec-vt100 for use with the EWAN emulator.
17823 #       * Added kmous to xterm for use with xterm's mouse-tracking facility.
17824 #       * Freeze for 1.9.5 alpha release.
17825 # 9.9.1 (Wed Sep 20 13:46:09 EDT 1995):
17826 #       * Changed xterm lines to 24, the X11R6 default.
17827 # 9.9.2 (Sat Sep 23 21:29:21 EDT 1995):
17828 #       * Added 7 newly discovered, undocumented acsc characters to linux
17829 #         entry (the pryz{|} characters).
17830 #       * ncurses no longer steals A_PROTECT.  Simplify linux sgr accordingly.
17831 #       * Correct two typos in the xterm entries introduced in 9.9.1.
17832 #       * I finally figured out how to translate ko capabilities.  Done.
17833 #       * Added tvi921 entries from Tim Theisen.
17834 #       * Cleanup: dgd211 -> dg211, adm42-nl -> adm42-nsl.
17835 #       * Removed mystery tec entry, it was neither interesting nor useful.
17836 #       * shortened altos3, qvt203, tvi910+, tvi92D, tvi921-g, tvi955, vi200-f,
17837 #         vi300-ss, att505-24, contel301, dm3045, f200vi, pe7000c, vc303a,
17838 #         trs200, wind26, wind40, wind50, cdc456tst, dku7003, f110, dg211,
17839 #         by making them relative to use capabilities
17840 #       * Added cuf1=^L to tvi925 from deleted variant tvi925a.
17841 #       * fixed cup in adm22 entry and parametrized strings in vt320-k3.
17842 #       * added it#8 to entries that used to have :pt: -- tvi912, vi200,
17843 #         ampex80,
17844 #       * Translate all home=\E[;H capabilities to home=\E[H, they're 
17845 #         equivalent.
17846 #       * Translate \E[0m -> \E[m in [rs]mso, [rs]mul, and init strings of
17847 #         vt100 and ANSI-like terminals.
17848 # 9.9.3 (Tue Sep 26 20:11:15 EDT 1995):
17849 #       * Added it#8 and ht=\t to *all* entries with :pt:; the ncurses tic
17850 #         does this now, too.
17851 #       * fviewpoint is gone, it duplicated screwpoint.
17852 #       * Added hp2627, graphos, graphos-30, hpex, ibmega, ibm8514, ibm8514-c,
17853 #         ibmvga, ibmvga-c, minix, mm340, mt4520-rv, screen2, screen3, 
17854 #         versaterm, vi500, vsc, vt131, vt340, vt400 entries from UW.
17855 #         The UW vi50 replaces the old one, which becomes vi50adm,
17856 #       * No more embedded commas in name fields.
17857 #
17858 # 9.10.0 (Wed Oct  4 15:39:37 EDT 1995):
17859 #       * XENIX forms characters in fos, trs16, scoansi become acsc strings,
17860 #       * Introduced klone+* entries for describing Intel-console behavior.
17861 #       * Linux kbs is default-mapped to delete for some brain-dead reason.
17862 #       * -nsl -> -ns.  The -pp syntax is obsolete.
17863 #       * Eliminate [A-Z]* primaries in accordance with SVr4 terminfo docs.
17864 #       * Make xterm entry do application-keypad mode again.  I got complaints
17865 #         that it was messing up someone's 3270 emulator.
17866 #       * Added some longname fields in order to avoid warning messages from
17867 #         older tic implementations.
17868 #       * According to ctlseqs.ms, xterm has a full vt100 graphics set.  Use
17869 #         it! (This gives us pi, greater than, less than, and a few more.)
17870 #       * Freeze for ncurses-1.9.6 release.
17871 # 9.10.1 (Sat Oct 21 22:18:09 EDT 1995):
17872 #       * Add xon to a number of console entries, they're memory-mapped and
17873 #         don't need padding.
17874 #       * Correct the use dependencies in the ansi series.
17875 #       * Hand-translate more XENIX capabilities.
17876 #       * Added hpterm entry for HP's X terminal emulator.
17877 #       * Added aixterm entries.
17878 #       * Shortened four names so everything fits in 14 chars.  
17879 #
17880 # 9.11.0 (Thu Nov  2 17:29:35 EST 1995):
17881 #       * Added ibcs2 entry and info on iBCS2 standard.
17882 #       * Corrected hpa/vpa in linux entry.  They still fail the worm test.
17883 #       * We can handle the HP meml/memu capability now.
17884 #       * Added smacs to klone entries, just as documentation.
17885 #       * Carrected ansi.sys and cit-500 entries.
17886 #       * Added z39, vt320-k311, v220c, and avatar entries.
17887 #       * Make pcansi use the ansi.sys invis capability.
17888 #       * Added DIP switch descriptions for vt100, adm31, tvi910, tvi920c,
17889 #         tvi925, tvi950, dt80, ncr7900i, h19.
17890 #       * X3.64 has been withdrawn, change some references.
17891 #       * Removed function keys from ansi-m entry.
17892 #       * Corrected ansi.sys entry.
17893 #       * Freeze for ncurses-1.9.7 release.
17894 # 9.11.1 (Tue Nov  6 18:18:38 EST 1995):
17895 #       * Added rmam/smam capabilities to many entries based on init strings.
17896 #       * Added correct hpa/vpa to linux.
17897 #       * Reduced several entries relative to vt52.
17898 # 9.11.2 (Tue Nov  7 00:21:06 EST 1995):
17899 #       * Exiled some utterly unidentifiable custom and homebrew types to the
17900 #         UFO file; also, obsolete small-screen hardware; also, entries which
17901 #         look flat-out incorrect, garbled, or redundant.  These include the
17902 #         following entries: carlock, cdc456tst, microkit, qdss, ramtek, tec, 
17903 #         tec400, tec500, ubell, wind, wind16, wind40, wind50, plasma, agile,
17904 #         apple, bch, daleblit, nucterm, ttywilliams, nuterminal, nu24, bnu,
17905 #         fnu, nunix-30, nunix-61, exidy, ex3000, sexidy, pc52, sanyo55, 
17906 #         yterm10, yterm11, yterm10nat, aed, aed-ucb, compucolor, compucolor2, 
17907 #         vic20, dg1, act5s, netx, smartvid, smarterm, sol, sol2, dt200, 
17908 #         trs80, trs100, trs200, trs600, xitex, rsvidtx, vid, att2300-x40, 
17909 #         att2350-x40, att4410-nfk, att5410-ns, otty5410, att5425-nl-w, 
17910 #         tty5425-fk, tty5425-w-fk, cita, c108-na, c108-rv-na, c100-rv-na, 
17911 #         c108-na-acs, c108-rv-na-acs, ims950-ns, infotonKAS, ncr7900i-na, 
17912 #         regent60na, scanset-n, tvi921-g, tvi925n, tvi925vbn, tvi925vb, 
17913 #         vc404-na, vc404-s-na, vt420nam, vt420f-nam, vt420pc-nam, vt510nam, 
17914 #         vt510pc-nam, vt520nam, vt525nam, xterm25, xterm50, xterm65, xterms.
17915 #       * Corrected pcvt25h as suggested by Brian C. Grayson
17916 #         <bgrayson@pine.ece.utexas.edu>.
17917 # 9.11.3 (Thu Nov  9 12:14:40 EST 1995):
17918 #       * Added kspd=\E[P, kcbt=\E[Z, to linux entry, changed kbs back to ^H. 
17919 #       * Added kent=\EOM to xterm entry.
17920 #
17921 # 9.11.4 (Fri Nov 10 08:31:35 EST 1995):
17922 #       * Corrected gigi entry.
17923 #       * Restored cuf/cud1 to xterm, their apparent bugginess was due to
17924 #         bad hpa/vpa capabilities.
17925 #       * Corrected flash strings to have a uniform delay of .2 sec.  No
17926 #         more speed-dependent NUL-padding!
17927 #       * terminfo capabilities in comments bracketed with <>.
17928 # 9.11.5 (Fri Nov 10 15:35:02 EST 1995):
17929 #       * Replaced pcvt with the 3.31 pcvt entries.
17930 #       * Freeze for 1.9.7a.
17931 # 9.11.6 (Mon Nov 13 10:20:24 EST 1995):
17932 #       * Added emu entry from the X11R6 contrib tape sources.
17933 #
17934 # 9.12.0 (Wed Nov 29 04:22:25 EST 1995):
17935 #       * Improved iris-ansi and sun entries.
17936 #       * More flash string improvements.
17937 #       * Corrected wy160 & wy160 as suggested by Robert Dunn
17938 #       * Added dim to at386.  
17939 #       * Reconciled pc3 and ibmpc3 with the BSDI termcap file.  Keith says
17940 #         he's ready to start using the termcap generated from this one.
17941 #       * Added vt102-w, vt220-w, xterm-bold, wyse-vp, wy75ap, att4424m,
17942 #         ln03, lno3-w, h19-g, z29a*, qdss.  Made vt200 an alias of vt220.
17943 #       * Improved hpterm, apollo consoles, fos, qvt101, tvi924. tvi925,
17944 #         att610, att620, att630, 
17945 #       * Changed hazeltine name prefix from h to hz.
17946 #       * Sent t500 to the UFI file.
17947 #       * I think we've sucked all the juice out of BSDI's termcap file now.
17948 #       * Freeze for ncurses 1.9.8 release
17949 # 9.12.1 (Thu Nov 30 03:14:06 EST 1995)
17950 #       * Unfreeze, linux kbs needed to be fixed.
17951 #       * Tim Theisen pinned down a bug in the DMD firmware.
17952 # 9.12.2 (Thu Nov 30 19:08:55 EST 1995):
17953 #       * Fixes to ansi and klone capabilities (thank you, Aaron Ucko).
17954 #         (The broken ones had been shadowed by sgr.)
17955 # 9.12.3 (Thu Dec  7 17:47:22 EST 1995):
17956 #       * Added documentation on ECMA-48 standard.
17957 #       * New Amiga entry.
17958 # 9.12.4 (Thu Dec 14 04:16:39 EST 1995):
17959 #       * More ECMA-48 stuff
17960 #       * Corrected typo in minix entry, added pc-minix.
17961 #       * Corrected khome/kend in xterm (thank you again, Aaron Ucko).
17962 #       * Added rxvt entry.
17963 #       * Added 1.3.x color-change capabilities to linux entry.
17964 # 9.12.5 (Tue Dec 19 00:22:10 EST 1995):
17965 #       * Corrected rxvt entry khome/kend.
17966 #       * Corrected linux color change capabilities.
17967 #       * NeXT entries from Dave Wetzel.
17968 #       * Cleaned up if and rf file names (all in /usr/share now).
17969 #       * Changed linux op capability to avoid screwing up a background color
17970 #         pair set by setterm.
17971 # 9.12.6 (Wed Feb  7 16:14:35 EST 1996):
17972 #       * Added xterm-sun.
17973 # 9.12.7 (Fri Feb  9 13:27:35 EST 1996):
17974 #       * Added visa50.
17975 #
17976 # 9.13.0 (Sun Mar 10 00:13:08 EST 1996):
17977 #       * Another sweep through the Shuford archive looking for new info.
17978 #       * Added dg100 alias to dg6053 based on a comp.terminals posting.
17979 #       * Added st52 from Per Persson.
17980 #       * Added eterm from the GNU Emacs 19.30 distribution.
17981 #       * Freeze for 1.9.9.
17982 # 9.13.1 (Fri Mar 29 14:06:46 EST 1996):
17983 #       * FreeBSD console entries from Andrew Chernov.
17984 #       * Removed duplicate Atari st52 name.
17985 # 9.13.2 (Tue May  7 16:10:06 EDT 1996)
17986 #       * xterm doesn't actually have ACS_BLOCK.
17987 #       * Change klone+color setf/setb to simpler forms that can be
17988 #         translated into termcap.
17989 #       * Added xterm1.
17990 #       * Removed mechanically-generated junk capabilities from cons* entries.
17991 #       * Added color support to bsdos.
17992 # 9.13.3 (Thu May  9 10:35:51 EDT 1996):
17993 #       * Added Wyse 520 entries from Wm. Randolph Franklin <wrf@ecse.rpi.edu>.
17994 #       * Created ecma+color, linux can use it.  Also added ech to linux.
17995 #       * Teach xterm about more keys. Add Thomas Dickey's 3.1.2E updates.
17996 #       * Add descriptions to FreeBSD console entries.  Also shorten
17997 #         some aliases to <= 14 chars for portability.
17998 #       * Added x68k console
17999 #       * Added OTbs to several VT-series entries.
18000 # 9.13.4 (Wed May 22 10:54:09 EDT 1996):
18001 #       * screen entry update for 3.7.1 from Michael Alan Dorfman.
18002 # 9.13.5 (Wed Jun  5 11:22:41 EDT 1996):
18003 #       * kterm correction due to Kenji Rikitake.
18004 #       * ACS correction in vt320-kll due to Phillippe De Muyter.
18005 # 9.13.6 (Sun Jun 16 15:01:07 EDT 1996):
18006 #       * Sun console entry correction from J.T. Conklin.
18007 #       * Changed all DEC VT300 and up terminals to use VT300 tab set
18008 # 9.13.7 (Mon Jul  8 20:14:32 EDT 1996):
18009 #       * Added smul to linux entry (we never noticed it was missing 
18010 #         because of sgr!).
18011 #       * Added rmln to hp+labels (deduced from other HP entries).
18012 #       * Added vt100 acsc capability to vt220, vt340, vt400, d800, dt80-sas,
18013 #         pro350, att7300, 5420_2, att4418, att4424, att4426, att505, vt320-k3.
18014 #       * Corrected vt220 acsc.
18015 #       * The klone+sgr and klone+sgr-dumb entries now use klone+acs;
18016 #         this corresponds to reality and helps prevent some tic warnings.
18017 #       * Added sgr0 to c101, pcix, vt100-nav, screen2, oldsun, next, altos2,
18018 #         hpgeneric, hpansi, hpsub, hp236, hp700-wy, bobcat, dku7003, adm11,
18019 #         adm12, adm20, adm21, adm22, adm31, adm36, adm42, pt100, pt200,
18020 #         qvt101, tvi910, tvi921, tvi92B, tvi925, tvi950, tvi970, wy30-mc,
18021 #         wy50-mc, wy100, wyse-vp, ampex232, regent100, viewpoint, vp90,
18022 #         adds980, cit101, cit500, contel300, cs10, dm80, falco, falco-p, 
18023 #         f1720a, go140, sb1, superbeeic, microb, ibm8512, kt7, ergo4000,
18024 #         owl, uts30, dmterm, dt100, dt100, dt110, appleII, apple-videx,
18025 #         lisa, trsII, atari, st52, pc-coherent, basis, m2-man, bg2.0, bg1.25,
18026 #         dw3, ln03, ims-ansi, graphos, t16, zen30, xtalk, simterm, d800,
18027 #         ifmr, v3220, wy100q, tandem653, ibmaed.
18028 #       * Added DWK terminal description.
18029 # 9.13.8 (Wed Jul 10 11:45:21 EDT 1996):
18030 #       * Many entries now have highlights inherited from adm+sgr.
18031 #       * xterm entry now corresponds to XFree86 3.1.2E, with color.
18032 #       * xtitle and xtitle-twm enable access to the X status line.
18033 #       * Added linux-1.3.6 color palette caps in conventional format.
18034 #       * Added adm1178 terminal.
18035 #       * Move fos and apollo terminals to obsolete category.
18036 #       * Aha! The BRL terminals file told us what the Iris extensions mean.
18037 #       * Added, from the BRL termcap file: rt6221, rt6221-w, northstar,
18038 #         commodore, cdc721-esc, excel62, osexec.  Replaced from the BRL file:
18039 #         cit500, adm11. 
18040 # 9.13.9 (Mon Jul 15 00:32:51 EDT 1996):
18041 #       * Added, from the BRL termcap file: cdc721, cdc721l, cdc752, cdc756,
18042 #         aws, awsc, zentec8001, modgraph48, rca vp3301/vp3501, ex155.
18043 #       * Corrected, from BRL termcap file: vi50.
18044 #       * Better rxvt entry & corrected xterm entries from Thomas Dickey.
18045 # 9.13.10 (Mon Jul 15 12:20:13 EDT 1996):
18046 #       * Added from BRL: cit101e & variants, hmod1, vi200, ansi77, att5620-1,
18047 #         att5620-s, att5620-s, dg210, aas1901, hz1520, hp9845, osborne
18048 #         (old osborne moved to osborne-w), tvi970-vb, tvi970-2p, tvi925-hi,
18049 #         tek4105brl, tek4106brl, tek4107brl,tek4109brl, hazel, aepro,
18050 #         apple40p, apple80p, appleIIgs, apple2e, apple2e-p, apple-ae.
18051 #       * Paired-attribute fixes to various terminals.
18052 #       * Sun entry corrections from A. Lukyanov & Gert-Jan Vons.
18053 #       * xterm entry corrections from Thomas Dickey.
18054 # 9.13.11 (Tue Jul 30 16:42:58 EDT 1996):
18055 #       * Added t916 entry, translated from a termcap in SCO's support area.
18056 #       * New qnx entry from Michael Hunter.
18057 # 9.13.12 (Mon Aug  5 14:31:11 EDT 1996):
18058 #       * Added hpex2 from Ville Sulko.
18059 #       * Fixed a bug that ran the qnx and pcvtXX together.
18060 # 9.13.13 (Fri Aug  9 01:16:17 EDT 1996):
18061 #       * Added dtterm entry from Solaris CDE.
18062 # 9.13.14 (Tue Sep 10 15:31:56 EDT 1996):
18063 #       * corrected pairs#8 typo in dtterm entry.
18064 #       * added tvi9065.
18065 # 9.13.15 (Sun Sep 15 02:47:05 EDT 1996):
18066 #       * updated xterm entry to cover 3.1.2E's new features.  
18067 # 9.13.16 (Tue Sep 24 12:47:43 EDT 1996):
18068 #       * Added new minix entry
18069 #       * Removed aliases of the form ^[0-9]* for obsolete terminals.
18070 #       * Commented out linux-old, nobody's using pre-1.2 kernels now.
18071 # 9.13.17 (Fri Sep 27 13:25:38 EDT 1996):
18072 #       * Added Prism entries and kt7ix.
18073 #       * Caution notes about EWAN and tabset files.
18074 #       * Changed /usr/lib/tabset -> /usr/share/tabset.
18075 #       * Added acsc/rmacs/smacs to vt52.
18076 # 9.13.18 (Mon Oct 28 13:24:59 EST 1996):
18077 #       * Merged in Thomas Dickey's reorganization of the xterm entries;
18078 #         added technical corrections to avoid warning messages.
18079 # 9.13.19 (Sat Nov 16 16:05:49 EST 1996):
18080 #       * Added rmso=\E[27m in Linux entry.
18081 #       * Added koi8-r support for Linux console.
18082 #       * Replace xterm entries with canonical ones from XFree86 3.2.
18083 # 9.13.20 (Sun Nov 17 23:02:51 EST 1996):
18084 #       * Added color_xterm from Jacob Mandelson
18085 # 9.13.21 (Mon Nov 18 12:43:42 EST 1996):
18086 #       * Back off the xterm entry to use r6 as a base.
18087 # 9.13.22 (Sat Nov 30 11:51:31 EST 1996):
18088 #       * Added dec-vt220 at Adrian Garside's request.
18089 # 9.13.23 (Fri Feb 21 16:36:06 EST 1997):
18090 #       * Replaced minitel-2 entry.
18091 #       * Added MGR, ansi-nt.
18092 #       * Minor corrections to xterm entries.
18093 #       * Replaced EWAN telnet entry.
18094 #       * Dropped the reorder script generator.  It was a fossil.
18095 # 9.13.24 (Sun Feb 23 20:55:23 EST 1997):
18096 #       * Thorsten Lockert added termcap `bs' to a lot of types, working from
18097 #         the 4.4BSD Lite2 file.
18098 # 9.13.25 (Fri Jun 20 12:33:36 EDT 1997):
18099 #       * Added Datapoint 8242, pilot, ansi_psx, rbcomm, vt220js.
18100 #       * Updated iris-ansi; corrected vt102-w.
18101 #       * Switch base xterm entry to 3.3 level.
18102 # 9.13.26 (Mon Jun 30 22:45:45 EDT 1997)
18103 #       * Added basic4.
18104 #       * Removed rmir/smir from tv92B.
18105 #
18106 # 10.2.0 (Sat Feb 28 12:47:36 EST 1998):
18107 #       * add hds200 description (Walter Skorski)
18108 #       * add beterm entry (Fred Fish)
18109 #       * add Thomas Dickey's xterm-xf86-v40, xterm-8bit, xterm-16color,
18110 #         iris-color entries.
18111 #       * add emx entries.
18112 #       * Replaced unixpc entry with Benjamin Sittler's corrected version.
18113 #       * Replaced xterm/rxvt/emu/syscons entries with Thomas Dickey's
18114 #         versions.
18115 #       * remove sgr string from qnx based on report by Xiaodan Tang
18116 #       * Added u8/u9, removed rmul/smul from sun-il.
18117 #       * 4.2 tic displays \0 rather than \200.
18118 #       * add linux-koi8r to replace linux-koi8 (which uses a corrupt acsc,
18119 #         apparently based on cp-866).
18120 #       * Merged in Pavel Roskin's acsc for linux-koi8
18121 #       * Corrected some erroneous \\'s to \.
18122 #       * 4.2 ncurses has been changed to use setaf/setab, consistent w/SysV.
18123 #       * II -> ii in pcvtXX, screen, xterm.
18124 #       * Removed \n chars following ANSI escapes in sgr & friends.
18125 #       * Updated Wyse entries.
18126 #       * h19 corrections from Tim Pierce.
18127 #       * Noted that the dm2500 has both ich and smir.
18128 #       * added pccons for the Alpha under OSF/1.
18129 #       * Added Sony NEWS workstation entries and cit101e-rv.
18130 #       * Reverted `amiga'; to Kent Polk's version, as I'm told
18131 #         the Verkuil entry messes up with Amiga Telnet.
18132 # 10.2.1 (Sun Mar  8 18:32:04 EST 1998):
18133 #       * Corrected attributions in 10.2.0 release notes.
18134 #       * Scanned the Shuford archive for new terminfos and information.
18135 #       * Removed sgr from qnx entry (Thomas Dickey).
18136 #       * Added entries for ICL and Kokusai Data Systems terminals.
18137 #       * Incorporated NCR terminfos from the Boundless Technology FTP site.
18138 #       * Incorporated att700 from the Boundless Technology FTP site.
18139 #       * Miscellaneous contact-address and Web-page updates.
18140 #
18141 # 1998/5/9
18142 #       * add nxterm and xterm-color terminfo description (request by Cristian
18143 #         Gafton <gafton@redhat.com>).
18144 #       * modify rxvt terminfo description to clear alternate screen before
18145 #         switching back to normal screen, for compatibility with applications
18146 #         which use xterm (reported by Manoj Kasichainula <manojk@io.com>).
18147 #       * modify linux terminfo description to reset color palette (reported
18148 #         by Telford Tendys <telford@eng.uts.edu.au>).
18149 #
18150 # 1998/7/4
18151 #       * merge changes from current XFree86 xterm terminfo descriptions.
18152 #
18153 # 1998/7/25
18154 #       * Added minitel1 entries from Alexander Montaron.
18155 #       * Added qnxt2 from Federico Bianchi.
18156 #       * Added arm100 terminfo entries from Dave Millen.
18157 #
18158 # 1998/8/6
18159 #       * Added ncsa telnet entries from Francesco Potorti
18160 #
18161 # 1998/8/15
18162 #       * modify ncsa telnet entry to reflect color, other capabilities based on
18163 #         examination of the source code - T.Dickey.
18164 #
18165 # 1998/8/22
18166 #       * Corrected some erroneous \\'s to \ (eterm, osborne) - TD.
18167 #
18168 # 1998/8/29
18169 #       * Added Francesco Potorti's tuned Wyse 99 entries.
18170 #       * dtterm enacs correction from Alexander V. Lukyanov.
18171 #       * Add ncsa-ns, ncsa-m-ns and ncsa-m entries from esr version.
18172 #       * correct a typo in icl6404 entry.
18173 #       * add xtermm and xtermc
18174 #
18175 # 1998/9/26
18176 #       * format most %'char' sequences to %{number}
18177 #       * adapt IBM AIX 3.2.5 terminfo - T.Dickey
18178 #       * merge Data General terminfo from Hasufin <hasufin@vidnet.net> - TD
18179 #
18180 # 1998/10/10
18181 #       * update xterm-xfree86 to current (patch 84), for is2/rs2 changes - TD
18182 #       * correct initialization string in xterm-r5, add misc other features
18183 #         to correspond with xterm patch 84 - TD
18184 #
18185 # 1998/12/19
18186 #       * update xterm-xfree86 to current (patch 90), smcur/rmcur changes - TD
18187 #       * add Mathew Vernon's mach console entries
18188 #       * corrections for ncsa function-keys (report by Larry Virden)
18189 #
18190 # 1998/12/19
18191 #       * change linux to use ncv#2, since underline does not work with color - TD
18192 #
18193 # 1999/1/9
18194 #       * add kbt to iris-ansi, document other shift/control functionkeys - TD
18195 #       * correct iris-ansi and iris-ansi-ap with respect to normal vs keypad
18196 #         application modes, change kent to use the correct keypad code - TD
18197 #
18198 # 1999/1/10
18199 #       * add entry for Tera Term - TD
18200 #
18201 # 1999/1/23
18202 #       * minor improvements for teraterm entry - TD
18203 #       * rename several entries used by BSDI: bsdos to bsdos-pc-nobold,
18204 #         and bsdos-bold to bsdos-pc (Jeffrey C Honig)
18205 #
18206 # 1999/2/20
18207 #       * resolve ambiguity of kend/kll/kslt and khome/kfnd/kich1 strings in
18208 #         xterm and ncsa entries by removing the unneeded ones.  Note that
18209 #         some entries will return kend & khome versus kslt and kfnd, for
18210 #         PC-style keyboards versus strict vt220 compatiblity - TD
18211 #
18212 # 1999/3/13
18213 #       * adjust xterm-xfree86 khome/kend to match default PC-style keyboard
18214 #         tables - TD
18215 #       * add 'crt' entry - TD
18216 #       * correct typos in 'linux-c' entry - TD
18217 #
18218 # 1999/3/14
18219 #       * update entries for BSD/OS console to use klone+sgr and klone+color
18220 #         (Jeffrey C Honig)
18221 #
18222 # 1999/3/27
18223 #       * adjust xterm-xfree86 miscellaneous keypad keys, as per patch #94 - TD.
18224 #
18225 # 1999/4/10
18226 #       * add linux-lat, from RedHat patches to ncurses 4.2
18227 #
18228 # 1999/4/17
18229 #       * add complete set of default function-key definitions for scoansi - TD.
18230 #
18231 # 1999/7/3
18232 #       * add cnorm, cvvis for Linux 2.2 kernels
18233 #
18234 # 1999/7/24
18235 #       * add kmous to xterm-r5 -TD
18236 #       * correct entries xterm+sl and xterm+sl-twm, which were missing the
18237 #         parent "use" clause -TD
18238 #
18239 # 1999/7/31
18240 #       * corrected cnorm, added el1 in 'screen' description -TD
18241 #
18242 # 1999/8/14
18243 #       * add ms-vt100 -TD
18244 #
18245 # 1999/8/21
18246 #       * corrections to beterm entry -TD
18247 #
18248 # 1999/8/28
18249 #       * add cygwin entry -TD
18250 #
18251 # 1999/9/4
18252 #       * minor corrections for beterm entry -TD
18253 #
18254 # 1999/9/18
18255 #       * add acsc string to HP 70092 terminfo entry -Joerg Wunsch
18256 #
18257 # 1999/9/25
18258 #       * add amiga-8bit entry
18259 #       * add console entries from NetBSD: ofcons, wsvt25, wsvt25m, rcons,
18260 #         rcons-color, based on
18261 #         ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-current/src/share/termcap/termcap.src
18262 #       * add alias for iris-ansi-net
18263 #
18264 # 1999/10/2
18265 #       * corrected scoansi entry's acsc, some function keys, add color -TD
18266 #
18267 # 1999/10/23
18268 #       * add cnorm, cvvis to cons25w, and modify ncv to add 'dim' -TD
18269 #       * reorder ncsa entries to make ncsa-vt220 use the alternate function
18270 #         key mapping, leaving Potorti's entries more like he named them -TD
18271 #       * remove enter/exit am-mode from cygwin -TD
18272 #
18273 # 1999/10/30
18274 #       * correct typos in several entries (missing '[' from CSI):
18275 #         mgr-sun, ncsa-m, vt320-k3, att505, avt-ns, as well as smir/rmir
18276 #         strings for avt-ns -TD
18277 #       * add 'dim' to ncv mask for linux (report by Klaus Weide).
18278 #
18279 # 1999/11/27
18280 #       * correct kf1-kf4 in xterm-r6 which were vt100-style PF1-PF4 -TD
18281 #       * add hts to xterm-r6, and u6-u9 to xterm-r5 -TD
18282 #       * add xterm-88color and xterm-256color -TD
18283 #
18284 # 1999/12/4
18285 #       * add "obsolete" termcap strings -TD
18286 #       * add kvt and gnome entries -TD
18287 #
18288 # 1999/12/11
18289 #       * correct cup string for regent100 -TD
18290 #
18291 # 2000/1/1
18292 #       * update mach, add mach-color based on Debian diffs for ncurses 5.0 -TD
18293 #       * add entries for xterm-hp, xterm-vt220, xterm-vt52 and xterm-noapp -TD
18294 #       * change OTrs capabilities to rs2 -TD
18295 #       * add obsolete and extended capabilities to 'screen' -TD
18296 #
18297 # 2000/1/5
18298 #       * remove kf0 from rxvt, vt520, vt525 and ibm5151 since it conflicts
18299 #         with kf10 -TD
18300 #       * updated xterm-xf86-v40, making kdch1 correspond to vt220 'Remove',
18301 #         and adding kcbt -TD
18302 #
18303 # 2000/1/12
18304 #       * remove incorrect khome/kend from xterm-xf86-v333, which was based on
18305 #         nonstandard resource settings -TD
18306 #
18307 # 2000/2/26
18308 #       * minor fixes for xterm-*, based on Debian #58530 -TD
18309 #
18310 # 2000/3/4
18311 #       * add several terminal types from esr's "11.0", as well as comments.
18312 #         bq300*, dku7102-old, dku7202, hft, lft, pcmw, pmcons, tws*, vip*,
18313 #         vt220-8bit, vt220-old, wy85-8bit
18314 #
18315 # 2000/3/18
18316 #       * add several terminal types from esr's "11.0.1" (ansi-*).
18317 #       * update OTxx capabilities for changes on 2000/3/4.
18318 #       * revert part of vt220 change (request by Todd C Miller for OpenBSD)
18319 #
18320 # 2000/3/26
18321 #       * move screen's AX extension to ecma+color, modify several entries to
18322 #         use that, adjusting ncv as needed -TD
18323 #
18324 # 2000/4/8
18325 #       * add bsdos-pc-m, bsdos-pc-mono (Jeffrey C Honig)
18326 #       * correct spelling error in entry name: bq300-rv was given as bg300-rv
18327 #         in esr's version.
18328 #
18329 # 2000/4/15
18330 #       * add cud, ech, etc., to beterm based on feedback from Rico Tudor -TD
18331 #       * correct color definition for ibm3164, make minor changes to other
18332 #         IBM terminal definitions based on recent terminfo descriptions -TD
18333 #
18334 # 2000/4/22
18335 #       * add mgterm, from NetBSD -TD
18336 #       * add alias sun-cgsix for sun-ss5 as per NetBSD
18337 #       * change cons25w to use rs2 for reset rather than rs1 -TD
18338 #       * add rc/sc to aixterm based on manpage -TD
18339 #
18340 # 2000/5/13
18341 #       * remove ncv from xterm-16color, xterm-256 color
18342 #
18343 # 2000/6/10
18344 #       * add kmous capability to linux to use Joerg Schoen's gpm patch.
18345 #
18346 # 2000/7/1
18347 #       * add Eterm (Michael Jennings)
18348 #
18349 # The following sets edit modes for GNU EMACS.
18350 # Local Variables:
18351 # fill-prefix:"\t"
18352 # fill-column:75
18353 # comment-column:0
18354 # comment-start-skip:"^#+"
18355 # comment-start:"# "
18356 # compile-command:"tic -c terminfo.master"
18357 # End:
18358 ######## SHANTIH!  SHANTIH!  SHANTIH!