(reb-mode): Quote the hook name. From
[emacs.git] / etc / termcap.src
blob01094d609b48aef9e6234c50efef8822298ea904
1 ######## TERMINAL TYPE DESCRIPTIONS SOURCE FILE
3 #       Version 11.0.1
4 #       $Date: 2000/03/02 15:51:11 $
5 #       termcap syntax
7 #       Eric S. Raymond         (current maintainer)
8 #       John Kunze, Berkeley
9 #       Craig Leres, Berkeley
11 # Please e-mail changes to terminfo@thyrsus.com; the old termcap@berkeley.edu
12 # address is no longer valid.  The latest version can always be found at
13 # <http://www.tuxedo.org/terminfo>.
15 # PURPOSE OF THIS FILE:
17 # This file describes the capabilities of various character-cell terminals,
18 # as needed by software such as screen-oriented editors.
20 # Other terminfo and termcap files exist, supported by various OS vendors
21 # or as relics of various older versions of UNIX.  This one is the longest
22 # and most comprehensive one in existence.  It subsumes not only the entirety
23 # of the historical 4.4BSD, GNU, System V and SCO termcap files and the BRL
24 # termcap file, but also large numbers of vendor-maintained termcap and
25 # terminfo entries more complete and carefully tested than those in historical
26 # termcap/terminfo versions.
28 # Pointers to related resources (including the ncurses distribution) may
29 # be found at <http://www.tuxedo.org/terminfo>.
31 # INTERNATIONALIZATION:
33 # This file uses only the US-ASCII character set (no ISO8859 characters).
35 # This file assumes a US-ASCII character set. If you need to fix this, start
36 # by global-replacing \E(B and \E)B with the appropriate ISO 6429 enablers
37 # for your character set.  \E(A and \E)A enables the British character set
38 # with the pound sign at position 2/3.  
40 # In a Japanese-processing environment using EUC/Japanese or Shift-JIS,
41 # C1 characters are considered the first-byte set of the Japanese encodings,
42 # so \E)0 should be avoided in <enacs> and initialization strings.
44 # FILE FORMAT:
46 # The version you are looking at may be in any of three formats: master
47 # (terminfo with OT capabilities), stock terminfo, or termcap.  You can tell
48 # which by the format given in the header above.
50 # The master format is accepted and generated by the terminfo tools in the
51 # ncurses suite; it differs from stock (System V-compatible) terminfo only
52 # in that it admits a group of capabilities (prefixed `OT') equivalent to
53 # various obsolete termcap capabilities.  You can, thus, convert from master
54 # to stock terminfo simply by filtering with `sed "/OT[^,]*,/s///"'; but if
55 # you have ncurses `tic -I' is nicer (among other things, it automatically
56 # outputs entries in a canonical form).
58 # The termcap version is generated automatically from the master version
59 # using tic -C.  This filtering leaves in the OT capabilities under their
60 # original termcap names.  All translated entries fit within the 1023-byte
61 # string-table limit of archaic termcap libraries except where explicitly
62 # noted below.  Note that the termcap translation assumes that your termcap
63 # library can handle multiple tc capabilities in an entry. 4.4BSD has this
64 # capability.  Older versions of GNU termcap, through 1.3, do not. 
66 # For details on these formats, see terminfo(5) in the ncurses distribution,
67 # and termcap(5) in the 4.4BSD Unix Programmer's Manual.  Be aware that 4.4BSD
68 # curses has been declared obsolete by the caretakers of the 4.4BSD sources
69 # as of June 1995; they are encouraging everyone to migrate to ncurses.
71 # Note: unlike some other distributed terminfo files (Novell Unix & SCO's),
72 # no entry in this file has embedded comments.  This is so source translation
73 # to termcap only has to carry over leading comments.  Also, no name field
74 # contains embedded whitespace (such whitespace confuses rdist).
76 # Further note: older versions of this file were often installed with an editor
77 # script (reorder) that moved the most common terminal types to the front of
78 # the file.  This should no longer be necessary, as the file is now ordered
79 # roughly by type frequency with ANSI/VT100 and other common types up front.
81 # Some information has been merged in from terminfo files distributed by
82 # USL and SCO (see COPYRIGHTS AND OTHER DELUSIONS below).  Much information
83 # comes from vendors who maintain official terminfos for their hardware
84 # (notably DEC and Wyse).
86 # A detailed change history is included at the end of this file.
88 # FILE ORGANIZATION:
90 # Comments in this file begin with # - they cannot appear in the middle
91 # of a terminfo/termcap entry (this feature had to be sacrificed in order
92 # to allow standard terminfo and termcap syntax to be generated cleanly from
93 # the master format).  Individual capabilities are commented out by
94 # placing a period between the colon and the capability name.
96 # The file is divided up into major sections (headed by lines beginning with 
97 # the string "########") and minor sections (beginning with "####"); do
99 #       grep "^####" <file> | more
101 # to see a listing of section headings.  The intent of the divisions is
102 # (a) to make it easier to find things, and (b) to order the database so
103 # that important and frequently-encountered terminal types are near the
104 # front (so that you'll get reasonable search efficiency from a linear
105 # search of the termcap form even if you don't use reorder).  Minor sections
106 # usually correspond to manufacturers or standard terminal classes. 
107 # Parenthesized words following manufacturer names are type prefixes or
108 # product line names used by that manufacturers.
110 # HOW TO READ THE ENTRIES:
112 # The first name in an entry is the canonical name for the model or
113 # type, last entry is a verbose description.  Others are mnemonic synonyms for
114 # the terminal.
116 # Terminal names look like <manufacturer> <model> - <modes/options>
117 # The part to the left of the dash, if a dash is present, describes the
118 # particular hardware of the terminal.  The part to the right may be used
119 # for flags indicating special ROMs, extra memory, particular terminal modes,
120 # or user preferences.
122 # All names should be in lower case, for consistency in typing.
124 # The following are conventionally used suffixes:
125 #       -2p     Has two pages of memory.  Likewise 4p, 8p, etc.
126 #       -am     Enable auto-margin.
127 #       -m      Monochrome.  Suppress color support
128 #       -mc     Magic-cookie.  Some terminals (notably older Wyses) can
129 #               only support one attribute without magic-cookie lossage.
130 #               Their base entry is usually paired with another that
131 #               uses magic cookies to support multiple attributes.
132 #       -nam    No auto-margin - suppress :am: capability
133 #       -nl     No labels - suppress soft labels
134 #       -ns     No status line - suppress status line
135 #       -rv     Terminal in reverse video mode (black on white)
136 #       -s      Enable status line.
137 #       -vb     Use visible bell (:vb:) rather than :bl:.
138 #       -w      Wide - in 132 column mode.
139 # If a name has multiple suffixes and one is a line height, that one should 
140 # go first.  Thus `aaa-30-s-rv' is recommended over `aaa-s-rv-30'.  
142 # Entries with embedded plus signs are designed to be included through use/tc
143 # capabilities, not used as standalone entries. 
145 # To avoid search clashes, some older all-numeric names for terminals have
146 # been removed (i.e., "33" for the Model 33 Teletype, "2621" for the HP2621).
147 # All primary names of terminals now have alphanumeric prefixes.
149 # Comments marked "esr" are mostly results of applying the termcap-compiler
150 # code packaged with ncurses and contemplating the resulting error messages. 
151 # In many cases, these indicated obvious fixes to syntax garbled by the
152 # composers.  In a few cases, I was able to deduce corrected forms for garbled
153 # capabilities by looking at context.  All the information in the original
154 # entries is preserved in the comments.
156 # In the comments, terminfo capability names are bracketed with <> (angle
157 # brackets).  Termcap capability names are bracketed with :: (colons).
159 # INTERPRETATION OF USER CAPABILITIES
161 # The System V Release 4 and XPG4 terminfo format defines ten string
162 # capabilities for use by applications, <u0>...<u9>.   In this file, we use
163 # certain of these capabilities to describe functions which are not covered
164 # by terminfo.  The mapping is as follows:
166 #       u9      terminal enquire string (equiv. to ANSI/ECMA-48 DA)
167 #       u8      terminal answerback description
168 #       u7      cursor position request (equiv. to VT100/ANSI/ECMA-48 DSR 6)
169 #       u6      cursor position report (equiv. to ANSI/ECMA-48 CPR)
171 # The terminal enquire string <u9> should elicit an answerback response
172 # from the terminal.  Common values for <u9> will be ^E (on older ASCII
173 # terminals) or \E[c (on newer VT100/ANSI/ECMA-48-compatible terminals).
175 # The cursor position request (<u7>) string should elicit a cursor position
176 # report.  A typical value (for VT100 terminals) is \E[6n.
178 # The terminal answerback description (u8) must consist of an expected
179 # answerback string.  The string may contain the following scanf(3)-like
180 # escapes:
182 #       %c      Accept any character
183 #       %[...]  Accept any number of characters in the given set
185 # The cursor position report (<u6>) string must contain two scanf(3)-style 
186 # %d format elements.  The first of these must correspond to the Y coordinate
187 # and the second to the %d.  If the string contains the sequence %i, it is
188 # taken as an instruction to decrement each value after reading it (this is
189 # the inverse sense from the cup string).  The typical CPR value is
190 # \E[%i%d;%dR (on VT100/ANSI/ECMA-48-compatible terminals).
192 # These capabilities are used by tac(1m), the terminfo action checker
193 # (distributed with ncurses 5.0).
195 # TABSET FILES
197 # All the entries in this file have been edited to assume that the tabset
198 # files directory is /usr/share/tabset, in conformance with the File Hierarchy
199 # Standard for Linux and open-source BSD systems.  Some vendors (notably Sun)
200 # use /usr/lib/tabset or (more recently) /usr/share/lib/tabset.  
202 # No curses package we know of actually uses these files.  If their location
203 # is an issue, you will have to hand-patch the file locations before compiling
204 # this file.
206 # REQUEST FOR CONTACT INFORMATION AND HISTORICAL MATERIAL
208 # As the ANSI/ECMA-48 standard and variants take firmer hold, and as
209 # character-cell terminals are increasingly replaced by X displays, much of
210 # this file is becoming a historical document (this is part of the reason for
211 # the new organization, which puts ANSI types, xterm, Unix consoles,
212 # and vt100 up front in confidence that this will catch 95% of new hardware).
214 # For the terminal types still alive, I'd like to have manufacturer's
215 # contact data (Internet address and/or snail-mail + phone).
217 # I'm also interested in enriching the comments so that the latter portions of
218 # the file do in fact become a potted history of VDT technology as seen by
219 # UNIX hackers.  Ideally, I'd like the headers for each manufacturer to
220 # include its live/dead/out-of-the-business status, and for as many
221 # terminal types as possible to be tagged with information like years
222 # of heaviest use, popularity, and interesting features.
224 # I'm especially interested in identifying the obscure entries listed under
225 # `Miscellaneous obsolete terminals, manufacturers unknown' before the tribal
226 # wisdom about them gets lost.  If you know a lot about obscure old terminals,
227 # please go to the terminfo resource page, grab the UFO file (ufo.ti), and 
228 # eyeball it for things you can identify and describe. 
230 # If you have been around long enough to contribute, please read the file
231 # with this in mind and send me your annotations.
233 # COPYRIGHTS AND OTHER DELUSIONS
235 # The BSD ancestor of this file had a standard Regents of the University of
236 # California copyright with dates from 1980 to 1993.
238 # Some information has been merged in from a terminfo file SCO distributes.
239 # It has an obnoxious boilerplate copyright which I'm ignoring because they 
240 # took so much of the content from the ancestral BSD versions of this file
241 # and didn't attribute it, thereby violating the BSD Regents' copyright.
243 # Not that anyone should care.  However many valid functions copyrights may
244 # serve, putting one on a termcap/terminfo file with hundreds of anonymous
245 # contributors makes about as much sense as copyrighting a wall-full of
246 # graffiti -- it's legally dubious, ethically bogus, and patently ridiculous.
248 # This file deliberately has no copyright.  It belongs to no one and everyone.
249 # If you claim you own it, you will merely succeed in looking like a fool. 
250 # Use it as you like.  Use it at your own risk.  Copy and redistribute freely.
251 # There are no guarantees anywhere.  Svaha!
254 ######## ANSI, UNIX CONSOLE, AND SPECIAL TYPES
256 # This section describes terminal classes and brands that are still
257 # quite common.
260 #### Specials
262 # Special "terminals".  These are used to label tty lines when you don't
263 # know what kind of terminal is on it.  The characteristics of an unknown
264 # terminal are the lowest common denominator - they look about like a ti 700.
267 dumb|80-column dumb tty:\
268         :am:\
269         :co#80:\
270         :bl=^G:cr=^M:do=^J:sf=^J:
271 unknown|unknown terminal type:\
272         :gn:tc=dumb:
273 lpr|printer|line printer:\
274         :bs:hc:os:\
275         :co#132:li#66:\
276         :bl=^G:cr=^M:do=^J:ff=^L:le=^H:sf=^J:
277 glasstty|classic glass tty interpreting ASCII control characters:\
278         :am:bs:\
279         :co#80:\
280         :bl=^G:cl=^L:cr=^M:do=^J:kd=^J:kl=^H:le=^H:nw=^M^J:ta=^I:
281 vanilla:\
282         :bs:\
283         :bl=^G:cr=^M:do=^J:sf=^J:
285 #### ANSI.SYS/ISO 6429/ECMA-48 Capabilities
287 # See the end-of-file comment for more on these.
290 # ANSI capabilities are broken up into pieces, so that a terminal
291 # implementing some ANSI subset can use many of them.
292 ansi+local1:\
293         :do=\E[B:le=\E[D:nd=\E[C:up=\E[A:
294 ansi+local:\
295         :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:tc=ansi+local1:
296 ansi+tabs:\
297         :bt=\E[Z:ct=\E[2g:st=\EH:ta=^I:
298 ansi+inittabs:\
299         :it#8:tc=ansi+tabs:
300 ansi+erase:\
301         :cd=\E[J:ce=\E[K:cl=\E[H\E[J:
302 ansi+rca:\
303         :ch=\E[%+^AG:cv=\E[%+^Ad:
304 ansi+cup:\
305         :cm=\E[%i%d;%dH:ho=\E[H:
306 ansi+rep:\
307         :..rp=%p1%c\E[%p2%{1}%-%db:
308 ansi+idl1:\
309         :al=\E[L:dl=\E[M:
310 ansi+idl:\
311         :AL=\E[%dL:DL=\E[%dM:tc=ansi+idl1:
312 ansi+idc:\
313         :IC=\E[%d@:dc=\E[P:ei=\E6:ic=\E[@:im=\E6:
314 ansi+arrows:\
315         :kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:
316 ansi+sgr|ansi graphic renditions:\
317         :mb=\E[5m:me=\E[0m:mk=\E[8m:mr=\E[7m:
318 ansi+sgrso|ansi standout only:\
319         :se=\E[m:so=\E[7m:
320 ansi+sgrul|ansi underline only:\
321         :ue=\E[m:us=\E[4m:
322 ansi+sgrbold|ansi graphic renditions; assuming terminal has bold; not dim:\
323         :md=\E[1m:\
324         :..sa=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m:tc=ansi+sgr:tc=ansi+sgrso:tc=ansi+sgrul:
325 ansi+sgrdim|ansi graphic renditions; assuming terminal has dim; not bold:\
326         :mh=\E[2m:\
327         :..sa=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p5%t2;%;m:tc=ansi+sgr:tc=ansi+sgrso:tc=ansi+sgrul:
328 ansi+pp|ansi printer port:\
329         :pf=\E[4i:po=\E[5i:ps=\E[0i:
330 ansi+csr|ansi scroll-region plus cursor save & restore:\
331         :cs=\E[%i%d;%dr:rc=\E8:sc=\E7:
333 # The IBM PC alternate character set.  Plug this into any Intel console entry.
334 # We use \E[11m for rmacs rather than \E[12m so the <acsc> string can use the
335 # ROM graphics for control characters such as the diamond, up- and down-arrow.
336 # This works with the System V, Linux, and BSDI consoles.  It's a safe bet this
337 # will work with any Intel console, they all seem to have inherited \E[11m
338 # from the ANSI.SYS de-facto standard.
339 klone+acs|alternate character set for ansi.sys displays:\
340         :ac=+\020\054\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:\
341         :ae=\E[10m:as=\E[11m:
343 # Highlight controls corresponding to the ANSI.SYS standard.  Most 
344 # console drivers for Intel boxes obey these.  Makes the same assumption
345 # about \E[11m as klone+acs.  True ANSI/ECMA-48 would have :se=\E[27m:,
346 # :ue=\E[24m:, but this isn't a documented feature of ANSI.SYS.
347 klone+sgr|attribute control for ansi.sys displays:\
348         :S2=\E[11m:S3=\E[10m:mb=\E[5m:md=\E[1m:me=\E[0;10m:\
349         :mk=\E[8m:mr=\E[7m:\
350         :..sa=\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:\
351         :se=\E[m:so=\E[7m:ue=\E[m:us=\E[4m:\
352         :tc=klone+acs:
354 # Highlight controls corresponding to the ANSI.SYS standard.  *All*
355 # console drivers for Intel boxes obey these.  Does not assume \E[11m will
356 # work; uses \E[12m instead, which is pretty bulletproof but loses you the ACS
357 # diamond and arrow characters under curses.
358 klone+sgr-dumb|attribute control for ansi.sys displays (no ESC [ 11 m):\
359         :as=\E[12m:mb=\E[5m:md=\E[1m:me=\E[0;10m:mk=\E[8m:\
360         :mr=\E[7m:\
361         :..sa=\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:\
362         :se=\E[m:so=\E[7m:ue=\E[m:us=\E[4m:\
363         :tc=klone+acs:
365 # KOI8-R (RFC1489) acs (alternate character set)
366 # From: Qing Long <qinglong@Bolizm.ihep.su>, 24 Feb 1996.
367 klone+koi8acs|alternate character set for ansi.sys displays with KOI8 charset:\
368         :ac=+\020\054\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:\
369         :ae=\E[10m:as=\E[11m:
371 # ANSI.SYS color control.  The setab/setaf caps depend on the coincidence
372 # between SVr4/XPG4's color numbers and ANSI.SYS attributes.  Here are longer
373 # but equivalent strings that don't rely on that coincidence:
374 # setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
375 # setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
376 # The DOS 5 manual asserts that these sequences meet the ISO 6429 standard.
377 # They match a subset of ECMA-48.
378 klone+color|color control for ansi.sys and ISO6429-compatible displays:\
379         :Co#8:NC#3:pa#64:\
380         :AB=\E[4%p1%dm:AF=\E[3%p1%dm:op=\E[37;40m:
382 # This is better than klone+color, it doesn't assume white-on-black as the
383 # default color pair,  but many `ANSI' terminals don't grok the <op> cap.
384 ecma+color|color control for ECMA-48-compatible terminals:\
385         :Co#8:NC#3:pa#64:\
386         :AB=\E[4%p1%dm:AF=\E[3%p1%dm:op=\E[39;49m:
388 # Attribute control for ECMA-48-compatible terminals
389 ecma+sgr|attribute capabilities for true ECMA-48 terminals:\
390         :se=\E[27m:ue=\E[24m:\
391         :tc=klone+sgr:
393 # For comparison, here are all the capabilities implied by the Intel
394 # Binary Compatibility Standard (level 2) that fit within terminfo.
395 # For more detail on this rather pathetic standard, see the comments
396 # near the end of this file.
397 ibcs2|Intel Binary Compatibility Standard prescriptions:\
398         :AL=\E[%dL:DC=\E[%dP:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:\
399         :RA=\E[?7l:RI=\E[%dC:S1=\E=%p1%dg:SA=\E[?7h:SF=\E[%dS:\
400         :SR=\E[%dT:UP=\E[%dA:bt=\E[Z:ch=\E[%i%dG:cl=\Ec:\
401         :cm=\E[%i%d;%dH:ct=\E[g:cv=\E[%i%dd:ec=\E[%dX:ei=:im=:\
402         :rc=\E7:sc=\E7:st=\EH:
404 #### ANSI/ECMA-48 terminals and terminal emulators
406 # See near the end of this file for details on ANSI conformance.
407 # Don't mess with these entries!  Lots of other entries depend on them!
409 # This section lists entries in a least-capable to most-capable order.
410 # if you're in doubt about what `ANSI' matches yours, try them in that
411 # order and back off from the first that breaks.
413 # ansi-mr is for ANSI terminals with ONLY relative cursor addressing
414 # and more than one page of memory.  It uses local motions instead of
415 # direct cursor addressing, and makes almost no assumptions. It does
416 # assume auto margins, no padding and/or xon/xoff, and a 24x80 screen.
417 ansi-mr|mem rel cup ansi:\
418         :am:xo:\
419         :co#80:li#24:tc=vanilla:tc=ansi+erase:tc=ansi+local1:
421 # ansi-mini is a bare minimum ANSI terminal. This should work on anything, but 
422 # beware of screen size problems and memory relative cursor addressing.
423 ansi-mini|minimum ansi standard terminal:\
424         :am:xo:\
425         :co#80:li#24:tc=vanilla:tc=ansi+cup:tc=ansi+erase:
427 # ansi-mtabs adds relative addressing and minimal tab support 
428 ansi-mtabs|any ansi terminal with pessimistic assumptions:\
429         :it#8:\
430         :ta=^I:tc=ansi+local1:tc=ansi-mini:
432 # ANSI X3.64 from emory!mlhhh (Hugh Hansard) via BRL
434 # The following is an entry for the full ANSI 3.64 (1977).  It lacks
435 # padding, but most terminals using the standard are "fast" enough
436 # not to require any -- even at 9600 bps.  If you encounter problems,
437 # try including the padding specifications.
439 # Note: the :as: and :ae: specifications are not implemented here, for
440 # the available termcap documentation does not make clear WHICH alternate
441 # character set to specify.  ANSI 3.64 seems to make allowances for several.
442 # Please make the appropriate adjustments to fit your needs -- that is
443 # if you will be using alternate character sets.
445 # There are very few terminals running the full ANSI 3.64 standard,
446 # so I could only test this entry on one verified terminal (Visual 102).
447 # I would appreciate the results on other terminals sent to me.
449 # Please report comments, changes, and problems to:
451 # U.S. MAIL:   Hugh Hansard
452 #              Box: 22830
453 #              Emory University
454 #              Atlanta, GA. 30322.
456 # USENET {akgua,msdc,sb1,sb6,gatech}!emory!mlhhh.
458 # (Added vt100 :rc:,:sc: to quiet a tic warning --esr)
459 ansi77|ansi 3.64 standard 1977 version:\
460         :am:bs:mi:\
461         :co#80:it#8:li#24:\
462         :al=5*\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[;H\E[2J:\
463         :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:dc=\E[P:dl=5*\E[M:\
464         :do=\E[B:ei=\E[4l:ho=\E[H:im=\E[4h:k1=\EOP:k2=\EOR:k4=\EOS:\
465         :kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
466         :nd=\E[C:nw=^M\ED:rc=\E8:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:\
467         :sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
469 # Procomm and some other ANSI emulations don't recognize all of the ANSI-
470 # standard capabilities.  This entry deletes :UP:, :RI:, :DO:, :LE:, and 
471 # <vpa>/<hpa> capabilities, forcing curses to use repetitions of :up:, 
472 # :nd:, :do: and :le:.  Also deleted :IC: and :ic:, as QModem up to 
473 # 5.03 doesn't recognize these.  Finally, we delete :rp: and :sr:, which seem
474 # to confuse many emulators.  On the other hand, we can count on these programs
475 # doing :ae:/:as:/:sa:. Older versions of this entry featured 
476 # <invis=\E[9m>, but <invis=\E[8m> now seems to be more common under
477 # ANSI.SYS influence.
478 # From: Eric S. Raymond <esr@snark.thyrsus.com> Oct 30 1995
479 pcansi-m|pcansi-mono|ibm-pc terminal programs claiming to be ansi (mono mode):\
480         :am:bs:mi:ms:\
481         :co#80:it#8:li#24:\
482         :al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
483         :cm=\E[%i%d;%dH:cr=^M:ct=\E[2g:dc=\E[P:dl=\E[M:do=\E[B:\
484         :ho=\E[H:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
485         :le=\E[D:nd=\E[C:sf=^J:st=\EH:ta=^I:up=\E[A:\
486         :tc=klone+sgr-dumb:
487 pcansi-25-m|pcansi25m|ibm-pc terminal programs with 25 lines (mono mode):\
488         :li#25:tc=pcansi-m:
489 pcansi-33-m|pcansi33m|ibm-pc terminal programs with 33 lines (mono mode):\
490         :li#33:tc=pcansi-m:
491 pcansi-43-m|ansi43m|ibm-pc terminal programs with 43 lines (mono mode):\
492         :li#43:tc=pcansi-m:
493 # The color versions.  All PC emulators do color...
494 pcansi|ibm-pc terminal programs claiming to be ansi:\
495         :tc=klone+color:tc=pcansi-m:
496 pcansi-25|pcansi25|ibm-pc terminal programs with 25 lines:\
497         :li#25:tc=pcansi:
498 pcansi-33|pcansi33|ibm-pc terminal programs with 33 lines:\
499         :li#33:tc=pcansi:
500 pcansi-43|pcansi43|ibm-pc terminal programs with 43 lines:\
501         :li#43:tc=pcansi:
503 # ansi-m -- full ANSI X3.64 with ANSI.SYS-compatible attributes, no color.
504 # If you want pound signs rather than dollars, replace `B' with `A'
505 # in the <s0ds>, <s1ds>, <s2ds>, and <s3ds> capabilities.
506 # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
507 ansi-m|ansi-mono|ANSI X3.64-1979 terminal with ANSI.SYS compatible attributes:\
508         :5i:\
509         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
510         :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
511         :cb=\E[1K:ch=\E[%i%dG:ct=\E[2g:cv=\E[%i%dd:ec=\E[%dX:ei=:\
512         :im=:kB=\E[Z:kI=\E[L:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:\
513         :nw=\r\E[S:pf=\E[4i:po=\E[5i:..rp=%p1%c\E[%p2%{1}%-%db:\
514         :s0=\E(B:s1=\E)B:s2=\E*B:s3=\E+B:ta=\E[I:\
515         :tc=pcansi-m:
517 # ansi -- this terminfo expresses the largest subset of X3.64 that will fit in
518 # standard terminfo.  Assumes ANSI.SYS-compatible attributes and color.
519 # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
520 ansi|ansi/pc-term compatible with color:\
521         :u6=\E[%i%d;%dR:u7=\E[6n:..u8=\E[?%[;0123456789]c:\
522         :u9=\E[c:\
523         :tc=ecma+color:tc=klone+sgr:tc=ansi-m:
525 # ansi-generic is a vanilla ANSI terminal. This is assumed to implement 
526 # all the normal ANSI stuff with no extensions. It assumes 
527 # insert/delete line/char is there, so it won't work with 
528 # vt100 clones. It assumes video attributes for bold, blink, 
529 # underline, and reverse, which won't matter much if the terminal 
530 # can't do some of those. Padding is assumed to be zero, which 
531 # shouldn't hurt since xon/xoff is assumed.
532 ansi-generic|generic ansi standard terminal:\
533         :am:xo:\
534         :co#80:li#24:tc=vanilla:tc=ansi+csr:tc=ansi+cup:\
535         :tc=ansi+rca:tc=ansi+erase:tc=ansi+tabs:tc=ansi+local:\
536         :tc=ansi+idc:tc=ansi+idl:tc=ansi+rep:tc=ansi+sgrbold:\
537         :tc=ansi+arrows:
539 #### Linux consoles
542 # This entry is good for the 1.2.13 or later version of the Linux console.
544 # ***************************************************************************
545 # *                                                                         *
546 # *                           WARNING:                                      *
547 # * Linuxes come with a default keyboard mapping kcbt=^I.  This entry, in   *
548 # * response to user requests, assumes kcbt=\E[Z, the ANSI/ECMA reverse-tab *
549 # * character. Here are the keymap replacement lines that will set this up: *
550 # *                                                                         *
551 #       keycode  15 = Tab             Tab
552 #               alt     keycode  15 = Meta_Tab
553 #               shift   keycode  15 = F26
554 #       string F26 ="\033[Z"
555 # *                                                                         *
556 # * This has to use a key slot which is unfortunate (any unused one will    *
557 # * do, F26 is the higher-numbered one).  The change ought to be built      *
558 # * into the kernel tables.                                                 *
559 # *                                                                         *
560 # ***************************************************************************
562 # The 1.3.x kernels add color-change capabilities; if yours doesn't have this
563 # and it matters, turn off <ccc>.  The %02x escape used to implement this is
564 # not back-portable to SV curses and not supported in ncurses versions before
565 # 1.9.9. All linux kernels since 1.2.13 (at least) set the screen size
566 # themselves; this entry assumes that capability.
568 # This entry is good for the 1.2.13 or later version of the Linux console.
570 # ***************************************************************************
571 # *                                                                         *
572 # *                           WARNING:                                      *
573 # * Linuxes come with a default keyboard mapping kcbt=^I.  This entry, in   *
574 # * response to user requests, assumes kcbt=\E[Z, the ANSI/ECMA reverse-tab *
575 # * character. Here are the keymap replacement lines that will set this up: *
576 # *                                                                         *
577 #       keycode  15 = Tab             Tab
578 #               alt     keycode  15 = Meta_Tab
579 #               shift   keycode  15 = F26
580 #       string F26 ="\033[Z"
581 # *                                                                         *
582 # * This has to use a key slot which is unfortunate (any unused one will    *
583 # * do, F26 is the higher-numbered one).  The change ought to be built      *
584 # * into the kernel tables.                                                 *
585 # *                                                                         *
586 # ***************************************************************************
588 # The 1.3.x kernels add color-change capabilities; if yours doesn't have this
589 # and it matters, turn off <ccc>.  The %02x escape used to implement this is
590 # not back-portable to SV curses and not supported in ncurses versions before
591 # 1.9.9. All linux kernels since 1.2.13 (at least) set the screen size
592 # themselves; this entry assumes that capability.
594 # The 2.2.x kernels add a private mode that sets the cursor type; use that to
595 # get a block cursor for cvvis.
596 # reported by Frank Heckenbach <frank@g-n-u.de>.
597 # (untranslatable capabilities removed to fit entry within 1023 bytes)
598 # (sgr removed to fit entry within 1023 bytes)
599 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
600 linux|linux console:\
601         :am:eo:mi:ms:xn:xo:\
602         :it#8:\
603         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:K2=\E[G:al=\E[L:\
604         :bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
605         :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:\
606         :ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:k1=\E[[A:k2=\E[[B:\
607         :k3=\E[[C:k4=\E[[D:k5=\E[[E:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
608         :k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=\177:\
609         :kd=\E[B:kh=\E[1~:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mh=\E[2m:\
610         :mr=\E[7m:nd=\E[C:nw=^M^J:rc=\E8:sc=\E7:se=\E[27m:sf=^J:\
611         :sr=\EM:st=\EH:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:\
612         :vb=200\E[?5h\E[?5l:ve=\E[?25h\E[?0c:vi=\E[?25l\E[?1c:\
613         :vs=\E[?25h\E[?8c:\
614         :tc=klone+sgr:tc=ecma+color:
615 linux-m|Linux console no color:\
616         :Co@:pa@:\
617         :AB@:AF@:Sb@:Sf@:tc=linux:
618 linux-c-nc|linux console 1.3.x hack for ncurses only:\
619         :cc:\
620         :..Ic=\E]P%p1%x%p2%{255}%*%{1000}%/%02x%p3%{255}%*%{1000}%/%02x%p4%{255}%*%{1000}%/%02x:\
621         :oc=\E]R:\
622         :tc=linux:
623 # From: Dennis Henriksen <opus@osrl.dk>, 9 July 1996
624 linux-c|linux console 1.3.6+ with private palette for each virtual console:\
625         :cc:\
626         :Co#8:pa#64:\
627         :..Ic=\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%;:\
628         :oc=\E]R:\
629         :tc=linux:
631 # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
632 linux-nic|linux with ich/ich1 suppressed for non-curses programs:\
633         :IC@:ei=:ic@:im=:\
634         :tc=linux:
636 # This assumes you have used setfont(8) to load one of the Linux koi8-r fonts.
637 # acsc entry from Pavel Roskin" <pavel@absolute.spb.su>, 29 Sep 1997.
638 linux-koi8|linux with koi8 alternate character set:\
639         :ac=+\020\054\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:tc=linux:\
640         :tc=klone+koi8acs:
642 # Another entry for KOI8-r with Qing Long's acsc.
643 # (which one better complies with the standard?)
644 linux-koi8r|linux with koi8-r alternate character set:\
645         :tc=linux:tc=klone+koi8acs:
647 # Entry for the latin1 and latin2 fonts
648 linux-lat|linux with latin1 or latin2 alternate character set:\
649         :ac=+\020\054\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:\
650         :tc=linux:
652 #### NetBSD consoles
654 # pcvt termcap database entries (corresponding to release 3.31)
655 # Author's last edit-date: [Fri Sep 15 20:29:10 1995]
657 # (For the terminfo master file, I translated these into terminfo syntax.
658 # Then I dropped all the pseudo-HP entries. we don't want and can't use
659 # the :Xs: flag. Then I split :is: into a size-independent :i1: and a
660 # size-dependent :is:.  Finally, I added <rmam>/<smam> -- esr)
662 # NOTE: :ic: has been taken out of this entry. for reference, it should
663 # be <ich1=\E[@>.  For discussion, see ICH/ICH1 VERSUS RMIR/SMIR below.
664 # (esr: added :vi: and :ve: to resolve NetBSD Problem Report #4583)
665 pcvtXX|pcvt vt200 emulator (DEC VT220):\
666         :am:km:mi:ms:xn:\
667         :it#8:vt#3:\
668         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
669         :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:SF=\E[%dS:\
670         :SR=\E[%dT:UP=\E[%dA:\
671         :ac=++\054\054--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz~~:\
672         :ae=\E(B:al=\E[L:as=\E(0:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
673         :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
674         :ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
675         :i1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:im=\E[4h:\
676         :k1=\E[17~:k2=\E[18~:k3=\E[19~:k4=\E[20~:k5=\E[21~:\
677         :k6=\E[23~:k7=\E[24~:k8=\E[25~:kD=\E[3~:kH=\E[4~:kI=\E[2~:\
678         :kN=\E[6~:kP=\E[5~:kb=\177:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:\
679         :kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:\
680         :md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=\EE:\
681         :r1=\Ec\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
682         :rf=/usr/share/tabset/vt100:sc=\E7:se=\E[27m:sf=\ED:\
683         :so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:\
684         :ve=\E[?25h:vi=\E[?25l:
686 #       NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
687 #       termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
688 #       50 lines entries; 80 columns
689 pcvt25|dec vt220 emulation with 25 lines:\
690         :co#80:li#25:\
691         :is=\E[1;25r\E[25;1H:tc=pcvtXX:
692 pcvt28|dec vt220 emulation with 28 lines:\
693         :co#80:li#28:\
694         :is=\E[1;28r\E[28;1H:tc=pcvtXX:
695 pcvt35|dec vt220 emulation with 35 lines:\
696         :co#80:li#35:\
697         :is=\E[1;35r\E[35;1H:tc=pcvtXX:
698 pcvt40|dec vt220 emulation with 40 lines:\
699         :co#80:li#40:\
700         :is=\E[1;40r\E[40;1H:tc=pcvtXX:
701 pcvt43|dec vt220 emulation with 43 lines:\
702         :co#80:li#43:\
703         :is=\E[1;43r\E[43;1H:tc=pcvtXX:
704 pcvt50|dec vt220 emulation with 50 lines:\
705         :co#80:li#50:\
706         :is=\E[1;50r\E[50;1H:tc=pcvtXX:
708 #       NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
709 #       termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
710 #       50 lines entries; 132 columns
711 pcvt25w|dec vt220 emulation with 25 lines and 132 cols:\
712         :co#132:li#25:\
713         :is=\E[1;25r\E[25;1H:tc=pcvtXX:
714 pcvt28w|dec vt220 emulation with 28 lines and 132 cols:\
715         :co#132:li#28:\
716         :is=\E[1;28r\E[28;1H:tc=pcvtXX:
717 pcvt35w|dec vt220 emulation with 35 lines and 132 cols:\
718         :co#132:li#35:\
719         :is=\E[1;35r\E[35;1H:tc=pcvtXX:
720 pcvt40w|dec vt220 emulation with 40 lines and 132 cols:\
721         :co#132:li#40:\
722         :is=\E[1;40r\E[40;1H:tc=pcvtXX:
723 pcvt43w|dec vt220 emulation with 43 lines and 132 cols:\
724         :co#132:li#43:\
725         :is=\E[1;43r\E[43;1H:tc=pcvtXX:
726 pcvt50w|dec vt220 emulation with 50 lines and 132 cols:\
727         :co#132:li#50:\
728         :is=\E[1;50r\E[50;1H:tc=pcvtXX:
730 # Terminfo entries to enable the use of the ncurses library in colour on a
731 # NetBSD-arm32 console (only tested on a RiscPC).
732 # Created by Dave Millen <dmill@globalnet.co.uk> 22.07.98
733 # modified codes for setf/setb to setaf/setab, then to klone+color, corrected
734 # typo in invis - TD
735 arm100|arm100-am|Arm(RiscPC) ncurses compatible (for 640x480):\
736         :am:ms:ut:xn:xo:\
737         :co#80:it#8:li#30:\
738         :@8=\E[M:DO=\E[%dB:K1=\E[q:K2=\E[r:K3=\E[s:K4=\E[p:K5=\E[n:\
739         :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
740         :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
741         :ae=^O:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
742         :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:do=^J:\
743         :eA=\E(B\E)0:ho=\E[H:k0=\E[y:k1=\E[P:k2=\E[Q:k3=\E[R:\
744         :k4=\E[S:k5=\E[t:k6=\E[u:k7=\E[v:k8=\E[l:k9=\E[w:k;=\E[x:\
745         :kb=^H:kd=\E[B:ke=\E[?1l\E>:kl=\E[D:kr=\E[C:ks=\E[?1h\E=:\
746         :ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:mk=\E[8m:\
747         :mr=\E[6m:nd=\E[C:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
748         :rc=\E8:\
749         :..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
750         :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
751         :up=\E[A:us=\E[4m:\
752         :tc=ecma+sgr:tc=klone+color:
753 arm100-w|arm100-wam|Arm(RiscPC) ncurses compatible (for 1024x768):\
754         :co#132:li#50:tc=arm100:
756 # NetBSD/x68k console vt200 emulator. This port runs on a 68K machine
757 # manufactured by Sharp for the Japenese market.
758 # From Minoura Makoto <minoura@netlaputa.or.jp>, 12 May 1996
759 x68k|x68k-ite|NetBSD/x68k ITE:\
760         :co#96:li#32:\
761         :%1=\E[28~:kC=\E[9~:tc=vt220:
763 # <tv@pobox.com>:
764 # Entry for the DNARD OpenFirmware console, close to ANSI but not quite.
766 # (still unfinished, but good enough so far.)
767 ofcons:\
768         :bw:\
769         :co#80:li#30:\
770         :AL=\233%dL:DC=\233%dP:DL=\233%dM:DO=\233%dB:IC=\233%d@:\
771         :LE=\233%dD:RI=\233%dC:UP=\233%dA:al=\233L:bl=^G:cd=\233J:\
772         :ce=\233K:cl=^L:cm=\233%i%d;%dH:cr=^M:dc=\233P:dl=\233M:\
773         :do=\233B:ei=:ic=\233@:im=:k1=\2330P:k2=\2330Q:k3=\2330W:\
774         :k4=\2330x:k5=\2330t:k6=\2330u:k7=\2330q:k8=\2330r:\
775         :k9=\2330p:k;=\2330M:kD=\233P:kN=\233/:kP=\233?:kb=^H:\
776         :kd=\233B:kl=\233D:kr=\233C:ku=\233A:le=\233D:mb=\2337;2m:\
777         :md=\2331m:me=\2330m:mh=\2332m:mk=\2338m:mr=\2337m:\
778         :nd=\233C:nw=^M^J:se=\2330m:sf=^J:ta=^I:ue=\2330m:up=\233A:\
779         :vb=^G:
781 # NetBSD "wscons" emulator in vt220 mode
782 # These are micro-minimal and probably need to be redone for real
783 # after the manner of the pcvt entries.
784 wsvt25|NetBSD wscons in 25 line DEC VT220 mode:\
785         :co#80:li#25:tc=vt220:
787 wsvt25m|NetBSD wscons in 25 line DEC VT220 mode with Meta:\
788         :km:\
789         :co#80:li#25:tc=vt220:
791 # `rasterconsole' provided by 4.4BSD, NetBSD and OpenBSD on SPARC, and 
792 # DECstation/pmax.
793 rcons|BSD rasterconsole:\
794         :tc=sun-il:
795 # Color version of above. Color currenly only provided by NetBSD.
796 rcons-color|BSD rasterconsole with ANSI color:\
797         :ut:\
798         :Co#8:pa#64:\
799         :AB=\E[4%dm:AF=\E[3%dm:op=\E[m:tc=rcons:
801 #### FreeBSD console entries
803 # From: Andrey Chernov <ache@astral.msk.su> 29 Mar 1996
804 # Andrey Chernov maintains the FreeBSD termcap distributions.
806 # Note: Users of FreeBSD 2.1.0 and older versions must either upgrade
807 # or comment out the :cb: capability in the console entry.
809 # Alexander Lukyanov reports:
810 # I have seen FreeBSD-2.1.5R... The old el1 bug changed, but it is still there.
811 # Now el1 clears not only to the line beginning, but also a large chunk
812 # of previous line. But there is another bug - ech does not work at all.
815 # for syscons
816 # common entry without semigraphics
817 # Bug: The <op> capability resets attributes.
818 # Bug? The ech and el1 attributes appear to move the cursor in some cases; for
819 # instance el1 does if the cursor is moved to the right margin first.  Removed
820 # by T.Dickey 97/5/3 (ech=\E[%p1%dX, el1=\E[1K)
822 # Setting colors turns off reverse; we cannot guarantee order, so use ncv.
823 # Note that this disables standout with color.
824 cons25w|ansiw|ansi80x25-raw|freebsd console (25-line raw mode):\
825         :NP:am:bw:eo:ms:ut:\
826         :Co#8:NC#21:co#80:it#8:li#25:pa#64:\
827         :@7=\E[F:AB=\E[4%p1%dm:AF=\E[3%p1%dm:AL=\E[%dL:DC=\E[%dP:\
828         :DL=\E[%dM:DO=\E[%dB:F1=\E[W:F2=\E[X:IC=\E[%d@:K2=\E[E:\
829         :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
830         :al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%i%d`:\
831         :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cv=\E[%i%dd:dc=\E[P:\
832         :dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:k1=\E[M:k2=\E[N:\
833         :k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:\
834         :k;=\E[V:kB=\E[Z:kD=\177:kI=\E[L:kN=\E[G:kP=\E[I:kb=^H:\
835         :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
836         :md=\E[1m:me=\E[m:mh=\E[30;1m:mr=\E[7m:nd=\E[C:nw=\E[E:\
837         :op=\E[x:r1=\E[x\E[m\Ec:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:\
838         :ta=^I:up=\E[A:ve=\E[=0C:vs=\E[=1C:
839 cons25|ansis|ansi80x25|freebsd console (25-line ansi mode):\
840         :ac=-\030.^Y0\333`\004a\260f\370g\361h\261i\025j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263y\363z\362~\371:\
841         :tc=cons25w:
842 cons25-m|ansis-mono|ansi80x25-mono|freebsd console (25-line mono ansi mode):\
843         :Co@:pa@:\
844         :AB@:AF@:md@:mh@:op@:ue=\E[m:us=\E[4m:tc=cons25:
845 cons30|ansi80x30|freebsd console (30-line ansi mode):\
846         :li#30:tc=cons25:
847 cons30-m|ansi80x30-mono|freebsd console (30-line mono ansi mode):\
848         :li#30:tc=cons25-m:
849 cons43|ansi80x43|freebsd console (43-line ansi mode):\
850         :li#43:tc=cons25:
851 cons43-m|ansi80x43-mono|freebsd console (43-line mono ansi mode):\
852         :li#43:tc=cons25-m:
853 cons50|ansil|ansi80x50|freebsd console (50-line ansi mode):\
854         :li#50:tc=cons25:
855 cons50-m|ansil-mono|ansi80x50-mono|freebsd console (50-line mono ansi mode):\
856         :li#50:tc=cons25-m:
857 cons60|ansi80x60|freebsd console (60-line ansi mode):\
858         :li#60:tc=cons25:
859 cons60-m|ansi80x60-mono|freebsd console (60-line mono ansi mode):\
860         :li#60:tc=cons25-m:
861 cons25r|pc3r|ibmpc3r|cons25-koi8-r|freebsd console w/koi8-r cyrillic:\
862         :ac=-\030.^Y0\215`\004a\220f\234h\221i\025j\205k\203l\202m\204n\212q\0t\206u\207v\211w\210x\201y\230z\231~\225:\
863         :tc=cons25w:
864 cons25r-m|pc3r-m|ibmpc3r-mono|cons25-koi8r-m|freebsd console w/koi8-r cyrillic (mono):\
865         :Co@:pa@:\
866         :AB@:AF@:op@:ue=\E[m:us=\E[4m:tc=cons25r:
867 cons50r|cons50-koi8r|freebsd console w/koi8-r cyrillic (50 lines):\
868         :li#50:tc=cons25r:
869 cons50r-m|cons50-koi8r-m|freebsd console w/koi8-r cyrillic (50-line mono):\
870         :li#50:tc=cons25r-m:
871 cons60r|cons60-koi8r|freebsd console w/koi8-r cyrillic (60 lines):\
872         :li#60:tc=cons25r:
873 cons60r-m|cons60-koi8r-m|freebsd console w/koi8-r cyrillic (60-line mono):\
874         :li#60:tc=cons25r-m:
875 # ISO 8859-1 FreeBSD console
876 cons25l1|cons25-iso8859|freebsd console w/iso 8859-1 chars:\
877         :ac=+\253\054\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:\
878         :tc=cons25w:
879 cons25l1-m|cons25-iso-m|freebsd console w/iso 8859-1 chars (mono):\
880         :Co@:pa@:\
881         :AB@:AF@:md@:mh@:op@:ue=\E[m:us=\E[4m:tc=cons25l1:
882 cons50l1|cons50-iso8859|freebsd console w/iso 8859-1 chars (50 lines):\
883         :li#50:tc=cons25l1:
884 cons50l1-m|cons50-iso-m|freebsd console w/iso 8859-1 chars (50-line mono):\
885         :li#50:tc=cons25l1-m:
886 cons60l1|cons60-iso|freebsd console w/iso 8859-1 chars (60 lines):\
887         :li#60:tc=cons25l1:
888 cons60l1-m|cons60-iso-m|freebsd console w/iso 8859-1 chars (60-line mono):\
889         :li#60:tc=cons25l1-m:
891 #### 386BSD and BSD/OS Consoles
894 # This was the original 386BSD console entry (I think).  
895 # Some places it's named oldpc3|oldibmpc3.
896 # From: Alex R.N. Wetmore <aw2t@andrew.cmu.edu>
897 origpc3|origibmpc3|IBM PC 386BSD Console:\
898         :am:bw:eo:xo:\
899         :co#80:li#25:\
900         :ac=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263:\
901         :cd=\E[J:ce=\E[K:cl=\Ec:cm=\E[%i%2;%2H:do=\E[B:ho=\E[H:\
902         :kd=\E[B:kh=\E[Y:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:md=\E[7m:\
903         :me=\E[m\E[1;0x\E[2;7x:nd=\E[C:se=\E[1;0x\E[2;7x:\
904         :sf=\E[S:so=\E[1;7x\E[2;0x:sr=\E[T:ue=\E[1;0x\E[2;7x:\
905         :up=\E[A:us=\E[1;7x\E[2;0x:
907 # description of BSD/386 console emulator in version 1.0 (supplied by BSDI)
908 oldpc3|oldibmpc3|old IBM PC BSD/386 Console:\
909         :km:\
910         :li#25:\
911         :al=\E[L:bl=^G:cr=^M:dl=\E[M:do=^J:kH=\E[F:kI=\E[L:kN=\E[G:\
912         :kP=\E[I:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
913         :md=\E[=15F:me=\E[=R:mh=\E[=8F:nw=^M^J:sf=^J:ta=^I:
915 # Description of BSD/OS console emulator in version 1.1, 2.0, 2.1
916 # Note, the emulator supports many of the additional console features
917 # listed in the iBCS2 (e.g. character-set selection) though not all
918 # are described here.  This entry really ought to be upgraded.
919 # Also note, the console will also work with fewer lines after doing
920 # "stty rows NN", e.g. to use 24 lines.
921 # (Color support from Kevin Rosenberg <kevin@cyberport.com>, 2 May 1996) 
922 # Bug: The <op> capability resets attributes.
923 bsdos-pc-nobold|BSD/OS PC console w/o bold:\
924         :am:eo:km:xo:\
925         :co#80:it#8:li#25:\
926         :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
927         :UP=\E[%dA:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\Ec:\
928         :cm=\E[%i%d;%dH:cr=^M:dl=\E[M:do=^J:ho=\E[H:kH=\E[F:\
929         :kI=\E[L:kN=\E[G:kP=\E[I:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
930         :kr=\E[C:ku=\E[A:le=^H:nd=\E[C:nw=^M^J:rc=\E8:\
931         :..sa=\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%;:\
932         :sc=\E7:sf=^J:ta=^I:up=\E[A:\
933         :tc=klone+sgr:tc=klone+color:
934 bsdos-pc|IBM PC BSD/OS Console:\
935         :..sa=\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:tc=bsdos-pc-nobold:
937 # Old names for BSD/OS PC console used in releases before 4.1. 
938 pc3|BSD/OS on the PC Console:\
939         :tc=bsdos-pc-nobold:
940 ibmpc3|pc3-bold|BSD/OS on the PC Console with bold instead of underline:\
941         :tc=bsdos-pc:
943 # BSD/OS on the SPARC 
944 bsdos-sparc|Sun SPARC BSD/OS Console:\
945         :tc=sun:
946          
947 # BSD/OS on the PowerPC 
948 bsdos-ppc|PowerPC BSD/OS Console:\
949         :tc=bsdos-pc:
951 #### DEC VT100 and compatibles
953 # DEC terminals from the vt100 forward are collected here. Older DEC terminals
954 # and micro consoles can be found in the `obsolete' section.  More details on
955 # the relationship between the VT100 and ANSI X3.64/ISO 6429/ECMA-48 may be
956 # found near the end of this file.
958 # Except where noted, these entries are DEC's official terminfos.
959 # Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
960 # Engineering for more information.  Updated terminfos and termcaps 
961 # are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
963 # In October 1995 DEC sold its terminals business, including the VT and Dorio
964 # line and trademark, to SunRiver Data Systems.  SunRiver has since changed
965 # its name to Boundless Technologies; see http://www.boundless.com.
968 # NOTE:  Any VT100 emulation, whether in hardware or software, almost
969 # certainly includes what DEC called the `Level 1 editing extension' codes;
970 # only the very oldest VT100s lacked these and there probably aren't any of
971 # those left alive.  To capture these, use one of the VT102 entries.
973 # Note that the :xn: glitch in vt100 is not quite the same as on the Concept,
974 # since the cursor is left in a different position while in the
975 # weird state (concept at beginning of next line, vt100 at end
976 # of this line) so all versions of vi before 3.7 don't handle
977 # :xn: right on vt100. The correct way to handle :xn: is when
978 # you output the char in column 80, immediately output CR LF
979 # and then assume you are in column 1 of the next line. If :xn:
980 # is on, am should be on too.
982 # I assume you have smooth scroll off or are at a slow enough baud
983 # rate that it doesn't matter (1200? or less). Also this assumes
984 # that you set auto-nl to "on", if you set it off use vt100-nam 
985 # below.
987 # The padding requirements listed here are guesses. It is strongly
988 # recommended that xon/xoff be enabled, as this is assumed here.
990 # The vt100 uses <rs2> and <rf> rather than :is:/:ct:/:st: because the 
991 # tab settings are in non-volatile memory and don't need to be 
992 # reset upon login. Also setting the number of columns glitches 
993 # the screen annoyingly. You can type "reset" to get them set.
995 # The VT100 series terminals have cursor ("arrows") keys which can operate
996 # in two different modes: Cursor Mode and Application Mode.  Cursor Mode
997 # is the reset state, and is assumed to be the normal state.  Application
998 # Mode is the "set" state.  In Cursor Mode, the cursor keys transmit
999 # "Esc [ {code}" sequences, conforming to ANSI standards.  In Application
1000 # Mode, the cursor keys transmit "Esc O <code>" sequences.  Application Mode
1001 # was provided primarily as an aid to the porting of VT52 applications.  It is
1002 # assumed that the cursor keys are normally in Cursor Mode, and expected that
1003 # applications such as vi will always transmit the :ks: string.  Therefore,
1004 # the definitions for the cursor keys are made to match what the terminal
1005 # transmits after the :ks: string is transmitted.  If the :ks: string
1006 # is a null string or is not defined, then cursor keys are assumed to be in
1007 # "Cursor Mode", and the cursor keys definitions should match that assumption,
1008 # else the appication may fail.  It is also expected that applications will
1009 # always transmit the :ke: string to the terminal before they exit.
1011 # The VT100 series terminals have an auxilliary keypad, commonly referred to as
1012 # the "Numeric Keypad", because it is a cluster of numeric and function keys.
1013 # The Numeric Keypad which can operate in two different modes: Numeric Mode and
1014 # Application Mode.  Numeric Mode is the reset state, and is assumed to be
1015 # the normal state.  Application Mode is the "set" state.  In Numeric Mode,
1016 # the numeric and punctuation keys transmit ASCII 7-bit characters, and the 
1017 # Enter key transmits the same as the Return key (Note: the Return key
1018 # can be configured to send either LF (\015) or CR LF).  In Application Mode,
1019 # all the keypad keys transmit "Esc O {code}" sequences.  The PF1 - PF4 keys
1020 # always send the same "Esc O {code}" sequences.  It is assumed that the keypad
1021 # is normally in Numeric Mode.  If an application requires that the keypad be
1022 # in Application Mode then it is expected that the user, or the application,
1023 # will set the TERM environment variable to point to a terminfo entry which has
1024 # defined the :ks: string to include the codes that switch the keypad into
1025 # Application Mode, and the terminfo entry will also define function key
1026 # fields to match the Application Mode control codes.  If the :ks: string
1027 # is a null string or is not defined, then the keypad is assumed to be in
1028 # Numeric Mode.  If the :ks: string switches the keypad into Application
1029 # Mode, it is expected that the :ke: string will contain the control codes
1030 # necessary to reset the keypad to "Normal" mode, and it is also expected that
1031 # applications which transmit the :ks: string will also always transmit the
1032 # :ke: string to the terminal before they exit.
1034 # Here's a diagram of the VT100 keypad keys with their bindings.
1035 # The top line is the name of the key (some DEC keyboards have the keys
1036 # labelled somewhat differently, like GOLD instead of PF1, but this is
1037 # the most "official" name).  The second line is the escape sequence it
1038 # generates in Application Keypad mode (where "$" means the ESC
1039 # character).  The third line contains two items, first the mapping of
1040 # the key in terminfo, and then in termcap.
1041 #   _______________________________________
1042 #  |   PF1   |   PF2   |   PF3   |   PF4   |
1043 #  |   $OP   |   $OQ   |   $OR   |   $OS   |
1044 #  |_kf1__k1_|_kf2__k2_|_kf3__k3_|_kf4__k4_|
1045 #  |    7         8         9         -    |
1046 #  |   $Ow   |   $Ox   |   $Oy   |   $Om   |
1047 #  |_kf9__k9_|_kf10_k;_|_kf0__k0_|_________|
1048 #  |    4    |    5    |    6    |    ,    |
1049 #  |   $Ot   |   $Ou   |   $Ov   |   $Ol   |
1050 #  |_kf5__k5_|_kf6__k6_|_kf7__k7_|_kf8__k8_|
1051 #  |    1    |    2    |    3    |         |
1052 #  |   $Oq   |   $Or   |   $Os   |  enter  |
1053 #  |_ka1__K1_|_kb2__K2_|_ka3__K3_|  $OM    |
1054 #  |         0         |   .     |         |
1055 #  |        $Op        |  $On    |         |
1056 #  |___kc1_______K4____|_kc3__K5_|_kent_@8_|
1058 # And here, for those of you with orphaned VT100s lacking documentation, is
1059 # a description of the soft switches invoked when you do `Set Up'.
1061 #  Scroll 0-Jump               Shifted 3   0-#
1062 #  |      1-Smooth             |           1-British pound sign
1063 #  | Autorepeat 0-Off          | Wrap Around 0-Off
1064 #  | |          1-On           | |           1-On
1065 #  | | Screen 0-Dark Bkg       | | New Line 0-Off
1066 #  | | |      1-Light Bkg      | | |        1-On
1067 #  | | | Cursor 0-Underline    | | | Interlace 0-Off
1068 #  | | | |      1-Block        | | | |         1-On
1069 #  | | | |                     | | | |
1070 #  1 1 0 1       1 1 1 1       0 1 0 0       0 0 1 0       <--Standard Settings
1071 #                | | | |                     | | | |
1072 #                | | | Auto XON/XOFF 0-Off   | | | Power 0-60 Hz
1073 #                | | |               1-On    | | |       1-50 Hz
1074 #                | | Ansi/VT52 0-VT52        | | Bits Per Char. 0-7 Bits
1075 #                | |           1-ANSI        | |                1-8 Bits
1076 #                | Keyclick 0-Off            | Parity 0-Off
1077 #                |          1-On             |        1-On
1078 #                Margin Bell 0-Off           Parity Sense 0-Odd
1079 #                            1-On                         1-Even
1081 # The following SET-UP modes are assumed for normal operation:
1082 #       ANSI_MODE       AUTO_XON/XOFF_ON        NEWLINE_OFF     80_COLUMNS
1083 #       WRAP_AROUND_ON  JUMP_SCROLL_OFF
1084 # Other SET-UP modes may be set for operator convenience or communication
1085 # requirements; I recommend
1086 #       AUTOREPEAT_ON   BLOCK_CURSOR    MARGIN_BELL_OFF    SHIFTED_3_#
1087 # Unless you have a graphics add-on such as Digital Engineering's VT640
1088 # (and even then, whenever it can be arranged!) you should set
1089 #       INTERLACE_OFF
1091 # (vt100: I added <rmam>/<smam> based on the init string, also :bs:. -- esr)
1092 vt100|vt100-am|dec vt100 (w/advanced video):\
1093         :am:bs:ms:xn:xo:\
1094         :co#80:it#8:li#24:vt#3:\
1095         :@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
1096         :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
1097         :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1098         :ae=^O:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
1099         :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:do=^J:\
1100         :eA=\E(B\E)0:ho=\E[H:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:\
1101         :k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:\
1102         :kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
1103         :ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:\
1104         :nd=\E[C:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
1105         :..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
1106         :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
1107         :up=\E[A:us=\E[4m:
1108 vt100nam|vt100-nam|vt100 no automargins:\
1109         :am@:xn@:tc=vt100-am:
1110 vt100-vb|dec vt100 (w/advanced video) & no beep:\
1111         :bl@:vb=\E[?5h\E[?5l:tc=vt100:
1113 # Ordinary vt100 in 132 column ("wide") mode.
1114 vt100-w|vt100-w-am|dec vt100 132 cols (w/advanced video):\
1115         :co#132:li#24:\
1116         :r2=\E>\E[?3h\E[?4l\E[?5l\E[?8h:tc=vt100-am:
1117 vt100-w-nam|vt100-nam-w|dec vt100 132 cols (w/advanced video no automargin):\
1118         :co#132:li#14:vt@:\
1119         :r2=\E>\E[?3h\E[?4l\E[?5l\E[?8h:tc=vt100-nam:
1121 # vt100 with no advanced video.
1122 vt100-nav|vt100 without advanced video option:\
1123         :sg#1:\
1124         :mb@:md@:me@:mr@:sa@:se=\E[m:so=\E[7m:ue@:us@:tc=vt100:
1125 vt100-nav-w|vt100-w-nav|dec vt100 132 cols 14 lines (no advanced video option):\
1126         :co#132:li#14:tc=vt100-nav:
1128 # vt100 with one of the 24 lines used as a status line.
1129 # We put the status line on the top.
1130 vt100-s|vt100-s-top|vt100-top-s|vt100 for use with top sysline:\
1131         :es:hs:\
1132         :li#23:\
1133         :cl=\E[2;1H\E[J:cm=\E[%i%+^A;%dH:cs=\E[%i%i%d;%dr:\
1134         :ds=\E7\E[1;24r\E8:fs=\E8:ho=\E[2;1H:is=\E7\E[2;24r\E8:\
1135         :ts=\E7\E[1;%p1%dH\E[1K:\
1136         :tc=vt100-am:
1138 # Status line at bottom. 
1139 # Clearing the screen will clobber status line.
1140 vt100-s-bot|vt100-bot-s|vt100 for use with bottom sysline:\
1141         :es:hs:\
1142         :li#23:\
1143         :ds=\E7\E[1;24r\E8:fs=\E8:is=\E[1;23r\E[23;1H:\
1144         :ts=\E7\E[24;%p1%dH\E[1K:\
1145         :tc=vt100-am:
1147 # Most of the `vt100' emulators out there actually emulate a vt102
1148 # This entry (or vt102-nsgr) is probably the right thing to use for
1149 # these.  
1150 vt102|dec vt102:\
1151         :mi:\
1152         :al=\E[L:dc=\E[P:dl=\E[M:ei=\E[4l:im=\E[4h:tc=vt100:
1153 vt102-w|dec vt102 in wide mode:\
1154         :co#132:\
1155         :r3=\E[?3h:tc=vt102:
1157 # Many brain-dead PC comm programs that pretend to be `vt100-compatible'
1158 # fail to interpret the ^O and ^N escapes properly.  Symptom: the :me:
1159 # string in the canonical vt100 entry above leaves the screen littered
1160 # with little  snowflake or star characters (IBM PC ROM character \017 = ^O)
1161 # after highlight turnoffs.  This entry should fix that, and even leave
1162 # ACS support working, at the cost of making multiple-highlight changes 
1163 # slightly more expensive.
1164 # From: Eric S. Raymond <esr@snark.thyrsus.com> July 22 1995
1165 vt102-nsgr|vt102 no sgr (use if you see snowflakes after highlight changes):\
1166         :me=\E[m:sa@:\
1167         :tc=vt102:
1169 # VT125 Graphics CRT.  Clear screen also erases graphics
1170 vt125|vt125 graphics terminal:\
1171         :cl=\E[H\E[2J\EPpS(E)\E\:tc=vt100:
1173 # This isn't a DEC entry, it came from University of Wisconsin.
1174 # (vt131: I added <rmam>/<smam> based on the init string, also :bs: -- esr)
1175 vt131|dec vt131:\
1176         :am:bs:xn:\
1177         :co#80:it#8:li#24:vt#3:\
1178         :RA=\E[?7h:SA=\E[?7h:bl=^G:cd=50\E[J:ce=3\E[K:\
1179         :cl=50\E[;H\E[2J:cm=5\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
1180         :do=^J:ho=\E[H:is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:\
1181         :k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
1182         :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=2\E[5m:md=2\E[1m:\
1183         :me=2\E[m:mr=2\E[7m:nd=2\E[C:nw=^M^J:\
1184         :r1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:sc=\E7:\
1185         :se=2\E[m:so=2\E[7m:sr=5\EM:ta=^I:ue=2\E[m:up=2\E[A:\
1186         :us=2\E[4m:
1188 # vt132 - like vt100 but slower and has ins/del line and such.
1189 # I'm told that :im:/:ei: are backwards in the terminal from the
1190 # manual and from the ANSI standard, this describes the actual 
1191 # terminal. I've never actually used a vt132 myself, so this 
1192 # is untested.
1194 vt132|DEC vt132:\
1195         :xn:\
1196         :al=\E[L:dc=\E[P:dl=\E[M:ei=\E[4h:im=\E[4l:ip=:sf=\n:tc=vt100:
1198 # This vt220 description maps F5--F9 to the second block of function keys
1199 # at the top of the keyboard.  The "DO" key is used as F10 to avoid conflict
1200 # with the key marked (ESC) on the vt220.  See vt220d for an alternate mapping.
1201 # PF1--PF4 are used as F1--F4.
1203 vt220-old|vt200-old|DEC VT220 in vt100 emulation mode:\
1204         :am:bs:mi:pt:xn:xo:\
1205         :co#80:li#24:vt#3:\
1206         :@7=\E[4~:RA=\E[?7l:SA=\E[?7h:\
1207         :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1208         :ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:\
1209         :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
1210         :dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
1211         :if=/usr/share/tabset/vt100:im=\E[4h:\
1212         :is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
1213         :k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:k9=\E[21~:\
1214         :k;=\E[29~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:\
1215         :kd=\E[B:kh=\E[1~:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
1216         :md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nl=^J:\
1217         :r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
1218         :rf=/usr/share/tabset/vt100:\
1219         :..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;:\
1220         :sc=\E7:se=\E[27m:sf=20\ED:so=\E[7m:sr=14\EM:ta=^I:\
1221         :ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[?25h:vi=\E[?25l:
1223 # A much better description of the VT200/220; used to be vt220-8
1224 # (untranslatable capabilities removed to fit entry within 1023 bytes)
1225 # (sgr removed to fit entry within 1023 bytes)
1226 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1227 vt220|vt200|dec vt220:\
1228         :am:bs:mi:ms:xn:xo:\
1229         :co#80:it#8:li#24:vt#3:\
1230         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1231         :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
1232         :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
1233         :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:\
1234         :ei=\E[4l:ho=\E[H:if=/usr/share/tabset/vt100:im=\E[4h:\
1235         :is=\E[?7h\E[>\E[?1h\E F\E[?4l:k1=\EOP:k2=\EOQ:k3=\EOR:\
1236         :k4=\EOS:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kI=\E[2~:\
1237         :kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:\
1238         :ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
1239         :nw=\EE:rc=\E8:sc=\E7:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:\
1240         :st=\EH:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:
1241 vt220-w|vt200-w|DEC vt220 in wide mode:\
1242         :co#132:\
1243         :r3=\E[?3h:tc=vt220:
1244 # (untranslatable capabilities removed to fit entry within 1023 bytes)
1245 # (sgr removed to fit entry within 1023 bytes)
1246 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1247 vt220-8bit|vt220-8|vt200-8bit|vt200-8|dec vt220/200 in 8-bit mode:\
1248         :am:bs:mi:ms:xn:xo:\
1249         :co#80:it#8:li#24:vt#3:\
1250         :AL=\233%dL:DC=\233%dP:DL=\233%dM:DO=\233%dB:IC=\233%d@:\
1251         :LE=\233%dD:RI=\233%dC:UP=\233%dA:ae=^O:al=\233L:as=^N:\
1252         :bl=^G:cd=\233J:ce=\233K:cl=\233H\233J:cm=\233%i%d;%dH:\
1253         :cr=^M:cs=\233%i%d;%dr:ct=\2333g:dc=\233P:dl=\233M:do=^J:\
1254         :ec=\233%dX:ei=\2334l:ho=\233H:\
1255         :if=/usr/share/tabset/vt100:im=\2334h:\
1256         :is=\233?7h\233>\233?1h\E F\233?4l:k1=\EOP:k2=\EOQ:\
1257         :k3=\EOR:k4=\EOS:k6=\23317~:k7=\23318~:k8=\23319~:\
1258         :k9=\23320~:kI=\2332~:kN=\2336~:kP=\2335~:kb=^H:kd=\233B:\
1259         :kh=\233H:kl=\233D:kr=\233C:ku=\233A:le=^H:mb=\2335m:\
1260         :md=\2331m:me=\233m:mr=\2337m:nd=\233C:nw=\EE:rc=\E8:\
1261         :sc=\E7:se=\23327m:sf=\ED:so=\2337m:sr=\EM:st=\EH:ta=^I:\
1262         :ue=\23324m:up=\233A:us=\2334m:vb=\233?5h\233?5l:
1265 # vt220d:
1266 # This vt220 description regards F6--F10 as the second block of function keys
1267 # at the top of the keyboard.  This mapping follows the description given
1268 # in the VT220 Programmer Reference Manual and agrees with the labeling
1269 # on some terminals that emulate the vt220.  There is no support for an F5.
1270 # See vt220 for an alternate mapping. 
1272 vt220d|DEC VT220 in vt100 mode with DEC function key labeling:\
1273         :F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\
1274         :F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:k5@:\
1275         :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
1276         :tc=vt220-old:
1278 vt220-nam|v200-nam|VT220 in vt100 mode with no auto margins:\
1279         :am@:\
1280         :r2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h:tc=vt220:
1282 # vt220 termcap written Tue Oct 25 20:41:10 1988 by Alex Latzko
1283 # (not an official DEC entry!)
1284 # The problem with real vt220 terminals is they don't send escapes when in
1285 # in vt220 mode.  This can be gotten around two ways.  1> don't send
1286 # escapes or 2> put the vt220 into vt100 mode and use all the nifty
1287 # features of vt100 advanced video which it then has.
1289 # This entry takes the view of putting a vt220 into vt100 mode so
1290 # you can use the escape key in emacs and everything else which needs it.
1292 # You probably don't want to use this on a VMS machine since VMS will think
1293 # it has a vt220 and will get fouled up coming out of emacs
1295 # From: Alexander Latzko <latzko@marsenius.rutgers.edu>, 30 Dec 1996
1296 # (Added vt100 :rc:,:sc: to quiet a tic warning -- esr)
1297 vt200-js|vt220-js|dec vt200 series with jump scroll:\
1298         :am:\
1299         :co#80:\
1300         :al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
1301         :cr=^M:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:dm=:do=^J:ed=:\
1302         :ei=\E[4l:ho=\E[H:im=\E[4h:\
1303         :is=\E[61"p\E[H\E[?3l\E[?4l\E[?1l\E[?5l\E[?6l\E[?7h\E[?8h\E[?25h\E>\E[m:\
1304         :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:\
1305         :ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
1306         :nw=^M\ED:r1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
1307         :rf=/usr/lib/tabset/vt100:sc=\E7:se=5\E[27m:sf=\ED:\
1308         :so=5\E[7m:sr=\EM:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:
1311 # This was DEC's vt320.  Use the purpose-built one below instead 
1312 #vt320|DEC VT320 in vt100 emulation mode,
1313 #       use=vt220,
1316 # Use v320n for SCO's LYRIX.  Otherwise, use Adam Thompson's vt320-nam.
1318 vt320nam|v320n|DEC VT320 in vt100 emul. mode with NO AUTO WRAP mode:\
1319         :am@:\
1320         :r2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h:tc=vt220:
1322 # These entries are not DEC's official ones, they were purpose-built for the 
1323 # VT320.  Here are the designer's notes:
1324 # <kel> is end on a PC kbd.  Actually 'select' on a VT.  Mapped to 
1325 # 'Erase to End of Field'... since nothing seems to use 'end' anyways...
1326 # khome is Home on a PC kbd.  Actually 'FIND' on a VT.
1327 # Things that use <knxt> usually use tab anyways... and things that don't use
1328 # tab usually use <knxt> instead...
1329 # kprv is same as tab - Backtab is useless...
1330 # I left out :sa: because of its RIDICULOUS complexity,
1331 # and the resulting fact that it causes the termcap translation of the entry
1332 # to SMASH the 1k-barrier...
1333 # From: Adam Thompson <athompso@pangea.ca> Sept 10 1995
1334 # (vt320: uncommented :fs:, comnmmented out <kslt> to avoid a conflict --esr) 
1335 # (untranslatable capabilities removed to fit entry within 1023 bytes)
1336 # (sgr removed to fit entry within 1023 bytes)
1337 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1338 vt320|vt300|dec vt320 7 bit terminal:\
1339         :am:es:hs:mi:ms:xn:\
1340         :co#80:li#24:ws#80:\
1341         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1342         :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
1343         :RI=\E[%dC:UP=\E[%dA:ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:\
1344         :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
1345         :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:\
1346         :ei=\E[4l:fs=\E[0$}:ho=\E[H:im=\E[4h:\
1347         :is=\E>\E[?3l\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
1348         :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
1349         :k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
1350         :kb=\177:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:kl=\EOD:kr=\EOC:\
1351         :ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:\
1352         :mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:sc=\E7:se=\E[m:sf=\ED:\
1353         :so=\E[7m:sr=\EM:st=\EH:ta=^I:ts=\E[1$}\E[H\E[K:ue=\E[m:\
1354         :up=\E[A:us=\E[4m:ve=\E[?25h:vi=\E[?25l:
1355 vt320-nam|vt300-nam|dec vt320 7 bit terminal with no am to make SAS happy:\
1356         :am@:\
1357         :is=\E>\E[?3l\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H:\
1358         :r2=\E>\E[?3l\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H:\
1359         :tc=vt320:
1360 # We have to init 132-col mode, not 80-col mode.
1361 vt320-w|vt300-w|dec vt320 wide 7 bit terminal:\
1362         :co#132:ws#132:\
1363         :is=\E>\E[?3h\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
1364         :r2=\E>\E[?3h\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
1365         :tc=vt320:
1366 vt320-w-nam|vt300-w-nam|dec vt320 wide 7 bit terminal with no am:\
1367         :am@:\
1368         :is=\E>\E[?3h\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H:\
1369         :r2=\E>\E[?3h\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H:\
1370         :tc=vt320-w:
1372 # VT330 and VT340 -- These are ReGIS and SIXEL graphics terminals
1373 #   which are pretty much a superset of the VT320.  They have the
1374 #   host writable status line, yet another different DRCS matrix size,
1375 #   and such, but they add the DEC Technical character set, Multiple text
1376 #   pages, selectable length pages, and the like.  The difference between
1377 #   the vt330 and vt340 is that the latter has only 2 planes and a monochrome
1378 #   monitor, the former has 4 planes and a color monitor.  These terminals
1379 #   support VT131 and ANSI block mode, but as with much of these things,
1380 #   termcap/terminfo doesn't deal with these features.
1382 # Note that this entry is are set up in what was the standard way for GNU
1383 # Emacs v18 terminal modes to deal with the cursor keys in that the arrow
1384 # keys were switched into application mode at the same time the numeric pad
1385 # is switched into application mode.  This changes the definitions of the
1386 # arrow keys.  Emacs v19 is smarter and mines its keys directly out of 
1387 # your termcap or terminfo entry,
1389 # From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
1390 # (vt340: string capability "sb=\E[M" corrected to "sr";
1391 # also, added <rmam>/<smam> based on the init string -- esr)
1392 vt340|dec-vt340|vt330|dec-vt330|dec vt340 graphics terminal with 24 line page:\
1393         :am:es:hs:mi:ms:xn:xo:\
1394         :co#80:it#8:li#24:vt#3:\
1395         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1396         :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
1397         :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1398         :ae=^O:al=\E[L:as=^N:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
1399         :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
1400         :dl=\E[M:do=^J:ds=\E[2$~\r\E[1$}\E[K\E[$}:ei=\E[4l:\
1401         :fs=\E[$}:ho=\E[H:im=\E[4h:\
1402         :is=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
1403         :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
1404         :k8=\E[19~:k9=\E[20~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
1405         :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l1=pf1:l2=pf2:l3=pf3:l4=pf4:\
1406         :le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=^M\ED:\
1407         :r1=\E[?3l:rc=\E8:rf=/usr/share/tabset/vt300:sc=\E7:\
1408         :se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
1409         :ts=\E[2$~\E[1$}\E[1;%dH:ue=\E[24m:up=\E[A:us=\E[4m:\
1410         :vb=200\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
1412 # DEC doesn't supply a vt400 description, so we add Daniel Glasser's
1413 # (originally written with vt420 as its primary name, and usable for it).
1415 # VT400/420 -- This terminal is a superset of the vt320.  It adds the multiple 
1416 #    text pages and long text pages with selectable length of the vt340, along
1417 #    with left and right margins, rectangular area text copy, fill, and erase
1418 #    operations, selected region character attribute change operations,
1419 #    page memory and rectangle checksums, insert/delete column, reception
1420 #    macros, and other features too numerous to remember right now.  TERMCAP
1421 #    can only take advantage of a few of these added features.
1423 # Note that this entry is are set up in what was the standard way for GNU
1424 # Emacs v18 terminal modes to deal with the cursor keys in that the arrow
1425 # keys were switched into application mode at the same time the numeric pad
1426 # is switched into application mode.  This changes the definitions of the
1427 # arrow keys.  Emacs v19 is smarter and mines its keys directly out of 
1428 # your termcap entry,
1430 # From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
1431 # (vt400: string capability ":sb=\E[M:" corrected to ":sr=\E[M:";
1432 # also, added <rmam>/<smam> based on the init string -- esr)
1433 # (untranslatable capabilities removed to fit entry within 1023 bytes)
1434 # (sgr removed to fit entry within 1023 bytes)
1435 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1436 vt400|vt400-24|dec-vt400|dec vt400 24x80 column autowrap:\
1437         :am:es:hs:mi:ms:xn:xo:\
1438         :co#80:it#8:li#24:vt#3:\
1439         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1440         :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:\
1441         :cd=10\E[J:ce=4\E[K:cl=10\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
1442         :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
1443         :ds=\E[2$~\r\E[1$}\E[K\E[$}:ei=\E[4l:fs=\E[$}:ho=\E[H:\
1444         :ic=\E[@:im=\E[4h:\
1445         :is=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
1446         :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
1447         :k8=\E[19~:k9=\E[20~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
1448         :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:\
1449         :me=\E[m:mr=\E[7m:nd=\E[C:nw=^M\ED:rc=\E8:sc=\E7:se=\E[27m:\
1450         :sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
1451         :ts=\E[2$~\E[1$}\E[1;%dH:ue=\E[24m:up=\E[A:us=\E[4m:\
1452         :vb=200\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
1454 # (vt420: I removed :k0:, it collided with <kf10>.  I also restored
1455 # a missing :sc: -- esr)
1456 vt420|DEC VT420:\
1457         :am:mi:xn:xo:\
1458         :co#80:li#24:vt#3:\
1459         :*6=\E[4~:@0=\E[1~:RA=\E[?7l:\
1460         :S5=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
1461         :SA=\E[?7h:\
1462         :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1463         :ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:\
1464         :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
1465         :dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
1466         :i2=\E[?67h\E[64;1"p:if=/usr/share/tabset/vt300:\
1467         :im=\E[4h:is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:\
1468         :k4=\EOS:k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:\
1469         :k9=\E[21~:k;=\E[29~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
1470         :kb=^H:kd=\E[B:ke=\E>:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=^H:\
1471         :mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
1472         :r3=\E[?67h\E[64;1"p:rc=\E8:rf=/usr/share/tabset/vt300:\
1473         :..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;:\
1474         :sc=\E7:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:\
1475         :up=\E[A:us=\E[4m:
1478 # DEC VT220 and up support DECUDK (user-defined keys).  DECUDK (i.e., pfx)
1479 # takes two parameters, the key and the string.  Translating the key is
1480 # straightforward (keys 1-5 are not defined on real terminals, though some
1481 # emulators define these):
1483 #               if (key < 16) then  value = key;
1484 #               else if (key < 21) then value = key + 1; 
1485 #               else if (key < 25) then value = key + 2;
1486 #               else if (key < 27) then value = key + 3;
1487 #               else if (key < 30) then value = key + 4;
1488 #               else value = key + 5;
1490 # The string must be the hexadecimal equivalent, e.g., "5052494E" for "PRINT". 
1491 # There's no provision in terminfo for emitting a string in this format, so the
1492 # application has to know it.
1494 vt420pc|DEC VT420 w/PC keyboard:\
1495         :@7=\E[4~:F1=\E[23~:F2=\E[24~:F3=\E[11;2~:F4=\E[12;2~:\
1496         :F5=\E[13;2~:F6=\E[14;2~:F7=\E[15;2~:F8=\E[17;2~:\
1497         :F9=\E[18;2~:FA=\E[19;2~:FB=\E[20;2~:FC=\E[21;2~:\
1498         :FD=\E[23;2~:FE=\E[24;2~:FF=\E[23~:FG=\E[24~:FH=\E[25~:\
1499         :FI=\E[26~:FJ=\E[28~:FK=\E[29~:FL=\E[31~:FM=\E[32~:\
1500         :FN=\E[33~:FO=\E[34~:FP=\E[35~:FQ=\E[36~:FR=\E[23;2~:\
1501         :FS=\E[24;2~:FT=\E[25;2~:FU=\E[26;2~:FV=\E[28;2~:\
1502         :FW=\E[29;2~:FX=\E[31;2~:FY=\E[32;2~:FZ=\E[33;2~:\
1503         :Fa=\E[34;2~:Fb=\E[35;2~:Fc=\E[36;2~:\
1504         :S6=USR_TERM\072vt420pcdos\072:k1=\E[11~:k2=\E[12~:\
1505         :k3=\E[13~:k4=\E[14~:k5=\E[15~:k6=\E[17~:k7=\E[18~:\
1506         :k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\177:kh=\E[H:\
1507         :..px=\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\:tc=vt420:
1509 vt420pcdos|DEC VT420 w/PC for DOS Merge:\
1510         :li#25:\
1511         :S1=%?%p2%{19}%=%t\E\023\021%e%p2%{32}%<%t\E%p2%c%e%p2%{127}%=%t\E\177%e%p2%c%;:\
1512         :S4=\E[?1;2r\E[34h:\
1513         :S5=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:S6@:\
1514         :me=\E[m:sa@:\
1515         :tc=vt420pc:
1517 vt420f|DEC VT420 with VT kbd; VT400 mode; F1-F5 used as Fkeys:\
1518         :F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\
1519         :F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:\
1520         :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
1521         :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
1522         :kD=\177:kh=\E[H:l1=\EOP:l2=\EOQ:l3=\EOR:l4=\EOS:\
1523         :tc=vt420:
1525 vt510|DEC VT510:\
1526         :tc=vt420:
1527 vt510pc|DEC VT510 w/PC keyboard:\
1528         :tc=vt420pc:
1529 vt510pcdos|DEC VT510 w/PC for DOS Merge:\
1530         :tc=vt420pcdos:
1532 # VT520/VT525
1534 # The VT520 is a monochrome text terminal capable of managing up to
1535 # four independent sessions in the terminal.  It has multiple ANSI
1536 # emulations (VT520, VT420, VT320, VT220, VT100, VT PCTerm, SCO Console)
1537 # and ASCII emulations (WY160/60, PCTerm, 50/50+, 150/120, TVI 950,
1538 # 925 910+, ADDS A2).  This terminfo data is for the ANSI emulations only.
1540 # Terminal Set-Up is entered by pressing [F3], [Caps Lock]/[F3] or
1541 # [Alt]/[Print Screen] depending upon which keyboard and which
1542 # terminal mode is being used.  If Set-Up has been disabled or
1543 # assigned to an unknown key, Set-Up may be entered by pressing
1544 # [F3] as the first key after power up, regardless of keyboard type.
1545 # (vt520: I added <rmam>/<smam> based on the init string, also :sc: -- esr)
1546 # (untranslatable capabilities removed to fit entry within 1023 bytes)
1547 vt520|DEC VT520:\
1548         :am:mi:xn:xo:\
1549         :co#80:li#24:vt#3:\
1550         :*6=\E[4~:@0=\E[1~:RA=\E[?7l:\
1551         :S5=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
1552         :SA=\E[?7h:\
1553         :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1554         :ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:\
1555         :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
1556         :dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
1557         :i2=\E[?67h\E[64;1"p:if=/usr/share/tabset/vt300:\
1558         :im=\E[4h:is=\E[1;24r\E[24;1H:k0=\E[29~:k1=\EOP:k2=\EOQ:\
1559         :k3=\EOR:k4=\EOS:k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:\
1560         :k9=\E[21~:k;=\E[29~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
1561         :kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
1562         :md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:r3=\E[?67h\E[64;1"p:\
1563         :rc=\E8:rf=/usr/share/tabset/vt300:sc=\E7:se=\E[m:sf=\ED:\
1564         :so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
1566 # (vt525: I added <rmam>/<smam> based on the init string;
1567 # removed :se:=\E[m, :ue:=\E[m, added :sc: -- esr)
1568 # (untranslatable capabilities removed to fit entry within 1023 bytes)
1569 vt525|DEC VT525:\
1570         :am:mi:xn:xo:\
1571         :co#80:li#24:vt#3:\
1572         :*6=\E[4~:@0=\E[1~:RA=\E[?7l:\
1573         :S5=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
1574         :SA=\E[?7h:\
1575         :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1576         :ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:\
1577         :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
1578         :dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
1579         :i2=\E[?67h\E[64;1"p:if=/usr/share/tabset/vt300:\
1580         :im=\E[4h:is=\E[1;24r\E[24;1H:k0=\E[29~:k1=\EOP:k2=\EOQ:\
1581         :k3=\EOR:k4=\EOS:k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:\
1582         :k9=\E[21~:k;=\E[29~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
1583         :kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
1584         :md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:r3=\E[?67h\E[64;1"p:\
1585         :rc=\E8:rf=/usr/share/tabset/vt300:sc=\E7:se=\E[m:sf=\ED:\
1586         :so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
1588 #### VT100 emulations
1591 # John Hawkinson <jhawk@MIT.EDU> tells us that the EWAN telnet for Windows
1592 # (the best Windows telnet as of September 1995) presents the name `dec-vt100'
1593 # to telnetd.   Michael Deutschmann <ldeutsch@mail.netshop.net> informs us
1594 # that this works best with a stock vt100 entry.
1595 dec-vt100|EWAN telnet's vt100 emulation:\
1596         :tc=vt100:
1598 # From: Adrian Garside <94ajg2@eng.cam.ac.uk>, 19 Nov 1996
1599 dec-vt220|DOS tnvt200 terminal emulator:\
1600         :am@:tc=vt220:
1602 # Zstem340 is an (IMHO) excellent VT emulator for PC's.  I recommend it to
1603 # anyone who needs PC VT340 emulation. (or anything below that level, for
1604 # that matter -- DEC's ALL-in-1 seems happy with it, as does INFOPLUS's
1605 # RDBM systems, it includes ReGIS and SiXel support!  I'm impressed...
1606 # I can send the address if requested.
1607 # (z340: changed garbled \E[5?l to \E[?5l, DEC smooth scroll off -- esr)
1608 # From: Adam Thompson <athompso@pangea.ca> Sept 10 1995
1609 z340|zstem vt340 terminal emulator 132col 42line:\
1610         :li#42:\
1611         :is=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H:\
1612         :r2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H:\
1613         :tc=vt320-w:
1614 z340-nam|zstem vt340 terminal emulator 132col 42line (no automatic margins):\
1615         :am@:\
1616         :is=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H:\
1617         :r2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H:\
1618         :tc=z340:
1620 # CRT is shareware.  It implements some xterm features, including mouse.
1621 crt|crt-vt220|CRT 2.3 emulating VT220:\
1622         :ms:ut:\
1623         :Co#8:pa#64:\
1624         :AB=\E[4%p1%dm:AF=\E[3%p1%dm:Sb=\E[4%dm:Sf=\E[3%dm:\
1625         :op=\E[39;49m:st=\EH:u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?1;2c:\
1626         :u9=\E[c:\
1627         :tc=vt220:
1629 # This entry is for Tera Term Pro version 2.3, for MS-Windows 95/NT written by
1630 # T. Teranishi dated Mar 10, 1998.  It is a free software terminal emulator
1631 # (communication program) which supports:
1633 #       - Serial port connections.
1634 #       - TCP/IP (telnet) connections.
1635 #       - VT100 emulation, and selected VT200/300 emulation.
1636 #       - TEK4010 emulation.
1637 #       - File transfer protocols (Kermit, XMODEM, ZMODEM, B-PLUS and
1638 #         Quick-VAN).
1639 #       - Scripts using the "Tera Term Language".
1640 #       - Japanese and Russian character sets.
1642 # The program does not come with terminfo or termcap entries.  However, the
1643 # emulation (testing with vttest and ncurses) is reasonably close to vt100 (no
1644 # vt52 or doublesize character support; blinking is done with color).  Besides
1645 # the HPA, VPA extensions it also implements CPL and CNL.
1647 # All of the function keys can be remapped.  This description shows the default
1648 # mapping, as installed.  Both vt100 PF1-PF4 keys and quasi-vt220 F1-F4 keys
1649 # are supported.  F13-F20 are obtained by shifting F3-F10.  The editing keypad
1650 # is laid out like vt220, rather than the face codes on the PC keyboard, i.e,
1651 #       kfnd    Insert
1652 #       kslt    Delete
1653 #       kich1   Home
1654 #       kdch1   PageUp
1655 #       kpp     End
1656 #       knp     PageDown
1658 # ANSI colors are implemented, but cannot be combined with video attributes
1659 # except for reverse.
1661 # No fonts are supplied with the program, so the acsc string is chosen to
1662 # correspond with the default Microsoft terminal font.
1664 # Tera Term recognizes some xterm sequences, including those for setting and
1665 # retrieving the window title, and for setting the window size (i.e., using
1666 # "resize -s"), though it does not pass SIGWINCH to the application if the
1667 # user resizes the window with the mouse.
1668 teraterm|Tera Term Pro:\
1669         :km:xo@:\
1670         :NC#43:vt@:\
1671         :*6=\E[4~:@0=\E[1~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
1672         :F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\
1673         :F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:\
1674         :ac=+\020\054\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:\
1675         :al=\E[L:cb=\E[1K:cd=\E[J:ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[J:\
1676         :cm=\E[%i%d;%dH:cv=\E[%i%dd:dc=\E[P:dl=\E[M:ec=\E[%dX:\
1677         :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
1678         :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
1679         :kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:mb=\E[5m:md=\E[1m:\
1680         :me=\E[m:mr=\E[7m:nd=\E[C:op=\E[100m:se=\E[27m:so=\E[7m:\
1681         :sr=\EM:u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?1;2c:u9=\E[c:\
1682         :ue=\E[24m:up=\E[A:us=\E[4m:vb=200\E[?5h\E[?5l:\
1683         :ve=\E[?25h:vi=\E[?25l:\
1684         :tc=klone+color:tc=vt100:
1686 # Tested with WinNT 4.0, the telnet application assumes the screensize is
1687 # 25x80.  This entry uses the 'Terminal' font, to get line-drawing characters.
1688 ms-vt100|MS telnet imitating dec vt100:\
1689         :li#25:\
1690         :ac=+\020\054\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:\
1691         :ct@:u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?6c:u9=\E[c:\
1692         :tc=vt100:
1694 #### X terminal emulators
1696 # You can add the following line to your .Xdefaults to change the terminal type
1697 # set by the xterms you start up to my-xterm:
1699 # *termName:  my-xterm
1701 # System administrators can change the default entry for xterm instances
1702 # by adding a similar line to /usr/X11/lib/X11/app-defaults/XTerm.  In either
1703 # case, xterm will detect and reject an invalid terminal type, falling back
1704 # to the default of xterm.
1707 # X10/6.6       11/7/86, minus alternate screen, plus (csr)
1708 # (xterm: ":MT:" changed to ":km:"; added <smam>/<rmam> based on init string;
1709 # removed (hs, eslok, tsl=\E[?E\E[?%i%dT, fsl=\E[?F, dsl=\E[?E)
1710 # as these seem not to work -- esr)
1711 x10term|vs100-x10|xterm terminal emulator (X10 window system):\
1712         :am:bs:km:mi:ms:xn:xo:\
1713         :co#80:it#8:li#65:\
1714         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:RA=\E[?7l:SA=\E[?7h:\
1715         :al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:\
1716         :cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:\
1717         :im=\E[4h:is=\E\E[m\E[?7h\E[?1;4l:k1=\EOP:k2=\EOQ:\
1718         :k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
1719         :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:me=\E[m:\
1720         :mr=\E[7m:nd=\E[C:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:\
1721         :ue=\E[m:up=\E[A:us=\E[4m:
1722 # Compatible with the R5 xterm 
1723 # (from the XFree86 3.2 distribution, <blink=@> removed)
1724 # added khome/kend, rmir/smir, rmul/smul based on the R5 xterm code - TD
1725 # corrected typos in rs2 string - TD
1726 xterm-r5|xterm R5 version:\
1727         :am:bs:km:ms:xn:\
1728         :co#80:it#8:li#24:\
1729         :@7=\E[4~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
1730         :F1=\E[23~:F2=\E[24~:IC=\E[%d@:Km=\E[M:LE=\E[%dD:\
1731         :RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:\
1732         :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
1733         :ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:ic=\E[@:\
1734         :im=\E[4h:k0=\EOq:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:\
1735         :k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
1736         :k;=\E[21~:kA=\E[30~:kD=\E[3~:kE=\E[8~:kI=\E[2~:kL=\E[31~:\
1737         :kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:\
1738         :kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:\
1739         :me=\E[m:mr=\E[7m:nd=\E[C:\
1740         :r2=\E>\E[?1;3;4;5;6l\E[4l\E[?7h\E[m\E[r\E[2J\E[H:\
1741         :rc=\E8:\
1742         :..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m:\
1743         :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
1744         :up=\E[A:us=\E[4m:
1745 # Compatible with the R6 xterm
1746 # (from XFree86 3.2 distribution, <acsc> and :it: added, <blink@> removed)
1747 # added khome/kend - TD
1748 # (untranslatable capabilities removed to fit entry within 1023 bytes)
1749 # (sgr removed to fit entry within 1023 bytes)
1750 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1751 xterm-r6|xterm-old|xterm X11R6 version:\
1752         :am:bs:km:mi:ms:xn:\
1753         :co#80:it#8:li#24:\
1754         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
1755         :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:\
1756         :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
1757         :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:\
1758         :ho=\E[H:im=\E[4h:\
1759         :is=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:k1=\EOP:\
1760         :k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:k7=\E[18~:\
1761         :k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
1762         :kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
1763         :ku=\EOA:le=^H:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:rc=\E8:\
1764         :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:\
1765         :te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[m:up=\E[A:\
1766         :us=\E[4m:
1767 # This is the base xterm entry for the xterm supplied with XFree86 3.2 & up.
1768 # The name has been changed and some aliases have been removed.
1769 # (untranslatable capabilities removed to fit entry within 1023 bytes)
1770 # (sgr removed to fit entry within 1023 bytes)
1771 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1772 xterm-xf86-v32|xterm terminal emulator (XFree86 3.2 Window System):\
1773         :am:bs:km:mi:ms:xn:\
1774         :co#80:it#8:li#24:\
1775         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1776         :K1=\EOw:K2=\EOy:K3=\EOu:K4=\EOq:K5=\EOs:LE=\E[%dD:\
1777         :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
1778         :cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
1779         :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:\
1780         :ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:\
1781         :is=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:\
1782         :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
1783         :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\177:kI=\E[2~:\
1784         :kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kh=\EOH:\
1785         :kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:\
1786         :me=\E[m\017:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[27m:\
1787         :sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:te=\E[2J\E[?47l\E8:\
1788         :ti=\E7\E[?47h:ue=\E[24m:up=\E[A:us=\E[4m:\
1789         :vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
1791 # This is the stock xterm entry supplied with XFree86 3.3, which uses VT100
1792 # codes for F1-F4 except while in VT220 mode.
1793 xterm-xf86-v33|xterm terminal emulator (XFree86 3.3 Window System):\
1794         :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
1795         :tc=xterm-xf86-v32:
1797 # This version was released in XFree86 3.3.3 (November 1998).
1798 # Besides providing printer support, it exploits a new feature that allows
1799 # xterm to use terminfo-based descriptions with the titeInhibit resource.
1800 xterm-xf86-v333|xterm terminal emulator (XFree86 3.3.3 Window System):\
1801         :5i:\
1802         :*6@:@0@:@7=\E[4~:ei=:ic@:im=:is=\E[\041p\E[?3;4l\E[4l\E>:\
1803         :kD=\E[3~:kh=\E[1~:mb=\E[5m:mk=\E[8m:pf=\E[4i:po=\E[5i:\
1804         :ps=\E[i:r1=\Ec:r2=\E[\041p\E[?3;4l\E[4l\E>:\
1805         :..sa=\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%;:\
1806         :te=\E[?1047l\E[?1048l:ti=\E[?1048h\E[?1047h:\
1807         :tc=xterm-xf86-v33:
1809 # This beta version will probably be released in XFree86 4.0.
1810 xterm-xf86-v40|xterm terminal emulator (XFree86 4.0 Window System):\
1811         :@7=\EOF:K1=\EOH:K2=\EOE:K3=\E[5~:K4=\EOF:K5=\E[6~:kD=\177:\
1812         :kh=\EOH:te=\E[?1049l:ti=\E[?1049h:\
1813         :tc=xterm-xf86-v333:
1815 xterm-xfree86|xterm-new|xterm terminal emulator (XFree86 4.0 Window System):\
1816         :tc=xterm-xf86-v40:
1818 # From: David J. MacKenzie <djm@va.pubnix.com>, 14 Nov 1997
1819 xterm-xi|xterm on XI Graphics Accelerated X under BSD/OS 3.1:\
1820         :se=\E[m:ue=\E[m:\
1821         :tc=xterm-xf86-v33:
1823 # This is one of the variants of XFree86 3.3 xterm, updated for 4.0 (T.Dickey)
1824 xterm-16color|xterm with 16 colors like aixterm:\
1825         :Co#16:NC#32:pa#256:\
1826         :AB=\E[%?%p1%{8}%<%t%p1%{40}%+%e%p1%{92}%+%;%dm:\
1827         :AF=\E[%?%p1%{8}%<%t%p1%{30}%+%e%p1%{82}%+%;%dm:\
1828         :..Sb=%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:\
1829         :..Sf=%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:\
1830         :tc=xterm-xf86-v40:
1832 # This is another variant, for XFree86 4.0 xterm (T.Dickey)
1833 # This is an 8-bit version of xterm, which emulates DEC vt220 with ANSI color.
1834 # To use it, your decTerminalID resource must be set to 200 or above.
1836 #       HTS     \E H    \210
1837 #       RI      \E M    \215
1838 #       SS3     \E O    \217
1839 #       CSI     \E [    \233
1841 # (untranslatable capabilities removed to fit entry within 1023 bytes)
1842 # (sgr removed to fit entry within 1023 bytes)
1843 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1844 xterm-8bit|xterm terminal emulator 8-bit controls (X Window System):\
1845         :am:bs:km:mi:ms:xn:\
1846         :co#80:it#8:li#24:\
1847         :AL=\233%dL:DC=\233%dP:DL=\233%dM:DO=\233%dB:IC=\233%d@:\
1848         :K1=\217w:K2=\217y:K3=\217u:K4=\217q:K5=\217s:LE=\233%dD:\
1849         :RI=\233%dC:UP=\233%dA:ae=^O:al=\233L:as=^N:bl=^G:bt=\233Z:\
1850         :cd=\233J:ce=\233K:cl=\233H\2332J:cm=\233%i%d;%dH:cr=^M:\
1851         :cs=\233%i%d;%dr:ct=\2333g:dc=\233P:dl=\233M:do=^J:\
1852         :ec=\233%dX:ei=\2334l:ho=\233H:im=\2334h:\
1853         :is=\E7\E G\233r\233m\233?7h\233?1;3;4;6l\2334l\E8\E>:\
1854         :k1=\23311~:k2=\23312~:k3=\23313~:k4=\23314~:k5=\23315~:\
1855         :k6=\23317~:k7=\23318~:k8=\23319~:k9=\23320~:kD=\2333~:\
1856         :kI=\2332~:kN=\2336~:kP=\2335~:kb=^H:kd=\217B:\
1857         :ke=\233?1l\E>:kh=\2331~:kl=\217D:kr=\217C:ks=\233?1h\E=:\
1858         :ku=\217A:le=^H:mb=\2335m:md=\2331m:me=\233m^O:mr=\2337m:\
1859         :nd=\233C:rc=\E8:sc=\E7:se=\23327m:sf=^J:so=\2337m:sr=\215:\
1860         :st=\210:ta=^I:te=\233?1049l:ti=\233?1049h:ue=\23324m:\
1861         :up=\233A:us=\2334m:vb=\233?5h\233?5l:ve=\233?25h:\
1862         :vi=\233?25l:vs=\233?25h:
1864 xterm-24|vs100|xterms|xterm terminal emulator (X Window System):\
1865         :li#24:tc=xterm:
1867 # This is xterm for ncurses.
1868 xterm|xterm terminal emulator (X Window System):\
1869         :Km=\E[M:\
1870         :ac=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1871         :u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?1;2c:u9=\E[c:\
1872         :tc=xterm-r6:
1874 # These entries allow access to the X titlebar and icon name as a status line. 
1875 # Note that twm (and possibly window managers descended from it such as tvtwm, 
1876 # ctwm, and vtwm) track windows by icon-name; thus, you don't want to mess
1877 # with it.
1878 xterm+sl|access X title line and icon name:\
1879         :hs:\
1880         :ws#40:\
1881         :ds=\E]0;\007:fs=^G:ts=\E]0;:tc=xterm:
1882 xterm+sl-twm|access X title line (pacify twm-descended window managers):\
1883         :hs:\
1884         :ws#40:\
1885         :ds=\E]2;\007:fs=^G:ts=\E]2;:tc=xterm:
1888 # The following xterm variants don't depend on your base version
1890 # xterm with bold instead of underline
1891 xterm-bold|xterm terminal emulator (X11R6 Window System) standout w/bold:\
1892         :so=\E[7m:us=\E[1m:\
1893         :tc=xterm:
1894 # (kterm: this had extension capabilities ":KJ:TY=ascii:" -- esr)
1895 # (kterm should not invoke DEC Graphics as the alternate character set
1896 #  -- Kenji Rikitake)
1897 kterm|kterm kanji terminal emulator (X window system):\
1898         :es:hs:\
1899         :Km=\E[M:ac@:ae@:as@:cs=\E[%i%d;%dr:ds=\E[?H:eA@:fs=\E[?F:\
1900         :op=\E[39;49m:rc=\E8:sc=\E7:ts=\E[?E\E[?%i%dT:\
1901         :tc=xterm-r6:tc=klone+color:
1902 # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
1903 xterm-nic|xterm with ich/ich1 suppressed for non-curses programs:\
1904         :IC@:ei=:ic@:im=:\
1905         :tc=xterm:
1906 # From: Mark Sheppard <kimble@mistral.co.uk>, 4 May 1996 
1907 xterm1|xterm terminal emulator ignoring the alternate screen buffer:\
1908         :te@:ti@:\
1909         :tc=xterm:
1911 # This describes the capabilities of color_xterm, an xterm variant from
1912 # before ECMA-64 color support was folded into the main-line xterm release.
1913 # This entry is straight from color_xterm's maintainer.
1914 # From: Jacob Mandelson <jlm@ugcs.caltech.edu>, 09 Nov 1996
1915 # The README's with the distribution also say that it supports SGR 21, 24, 25
1916 # and 27, but they are not present in the terminfo or termcap.
1917 # (untranslatable capabilities removed to fit entry within 1023 bytes)
1918 # (sgr removed to fit entry within 1023 bytes)
1919 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1920 color_xterm|cx|cx100|color_xterm color terminal emulator for X:\
1921         :am:bs:km:mi:ms:xn:\
1922         :co#80:it#8:li#65:\
1923         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1924         :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
1925         :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:\
1926         :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
1927         :cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:\
1928         :i1=\E[r\E[m\E[?7h\E[?4;6l\E[4l:im=\E[4h:k1=\E[11~:\
1929         :k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:k6=\E[17~:\
1930         :k7=\E[18~:k8=\E[19~:k9=\E[20~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
1931         :kb=^H:kd=\EOB:kh=\E[7~:kl=\EOD:kr=\EOC:ku=\EOA:le=^H:\
1932         :md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[27m:\
1933         :sf=^J:so=\E[7m:sr=\EM:ta=^I:te=\E>\E[?41;1r:\
1934         :ti=\E[?1;41s\E[?1;41h\E=:ue=\E[24m:up=\E[A:us=\E[4m:
1936 # The 'nxterm' distributed with Redhat Linux is a slight rehack of
1937 # xterm-sb_right-ansi-3d, which implements ANSI colors, but does not support
1938 # SGR 39 or 49.  SGR 0 does reset colors (along with everything else).  This
1939 # description is "compatible" with color_xterm, rxvt and XFree86 xterm, except
1940 # that each of those implements the home, end, delete keys differently.
1941 nxterm|xterm-color|generic color xterm:\
1942         :NC@:\
1943         :op=\E[m:tc=xterm-r6:tc=klone+color:
1945 # From: Thomas Dickey <dickey@clark.net> 04 Oct 1997
1946 # Updated: Oezguer Kesim <kesim@math.fu-berlin.de> 02 Nov 1997
1947 # Notes:
1948 # rxvt 2.21b uses
1949 #       smacs=\E(B\E)U^N, rmacs=\E(B\E)0^O,
1950 # but some applications don't work with that.
1951 # It also has an AIX extension
1952 #       box2=lqkxjmwuvtn,
1953 # and
1954 #       ech=\E[%p1%dX,
1955 # but the latter does not work correctly.
1957 # The distributed terminfo says it implements hpa and vpa, but they are not
1958 # implemented correctly, using relative rather than absolute positioning.
1960 # rxvt is normally configured to look for "xterm" or "xterm-color" as $TERM.
1961 # Since rxvt is not really compatible with xterm, it should be configured as
1962 # "rxvt" (monochrome) and "rxvt-color". 
1963 # (untranslatable capabilities removed to fit entry within 1023 bytes)
1964 # (sgr removed to fit entry within 1023 bytes)
1965 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1966 rxvt|rxvt terminal base (X Window System):\
1967         :am:bs:eo:km:mi:ms:xn:xo:\
1968         :co#80:it#8:li#24:\
1969         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1970         :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
1971         :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:\
1972         :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
1973         :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:\
1974         :ho=\E[H:i1=\E[?47l\E=\E[?1l:ic=\E[@:im=\E[4h:\
1975         :is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l:\
1976         :k0=\E[21~:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:\
1977         :k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
1978         :kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:ke=\E>:\
1979         :kh=\E[7~:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=^H:mb=\E[5m:\
1980         :md=\E[1m:me=\E[0m\017:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:\
1981         :se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
1982         :te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[24m:up=\E[A:\
1983         :us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:\
1984         :vs=\E[?25h:
1985 rxvt-color|rxvt terminal emulator (X Window System):\
1986         :Co#8:pa#64:\
1987         :AB=\E[%p1%{40}%+%dm:AF=\E[%p1%{30}%+%dm:me=\E[m\017:\
1988         :op=\E[39;49m:\
1989         :tc=rxvt:
1991 # These (xtermc and xtermm) are distributed with Solaris.  They refer to a
1992 # variant of xterm which is apparently no longer supported, but are interesting
1993 # because they illustrate SVr4 curses mouse controls - T.Dickey
1994 # (untranslatable capabilities removed to fit entry within 1023 bytes)
1995 xtermm|xterm terminal emulator (monocrome):\
1996         :am:bs:km:mi:ms:xn:\
1997         :BT#3:co#80:it#8:li#24:\
1998         :@7=\E[Y:@8=\EOM:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
1999         :F1=\EOZ:F2=\EOA:Gm=\E[%p1%dY:IC=\E[%d@:K1=\EOq:K2=\EOr:\
2000         :K3=\EOs:K4=\EOp:K5=\EOn:Km=\E[^_:LE=\E[%dD:RI=\E[%dC:\
2001         :RQ=\E[492Z:UP=\E[%dA:\
2002         :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
2003         :ae=^O:al=\E[L:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
2004         :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
2005         :ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:eA=\E(B\E)0:ei=:ho=\E[H:\
2006         :ic=\E[@:im=:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
2007         :k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:k9=\EOX:k;=\EOY:kN=\E[U:\
2008         :kP=\E[V:kb=^H:kd=\EOB:kh=\E[H:kl=\EOD:kr=\EOC:ku=\EOA:\
2009         :le=\E[1D:mb=@:md=\E[1m:me=\E[m\017:mr=\E[7m:nd=\E[C:\
2010         :r1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H:\
2011         :r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:sc=\E7:\
2012         :se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:te=\E@0\E[?4r:\
2013         :ti=\E@0\E[?4s\E[?4h\E@1:up=\E[A:
2015 xtermc|xterm terminal emulator (color):\
2016         :Co#8:NC#7:pa#64:\
2017         :AB=\E[4%p1%dm:AF=\E[3%p1%dm:\
2018         :..Sb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m:\
2019         :..Sf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m:\
2020         :op=\E[100m:\
2021         :tc=xtermm:
2023 # From: David J. MacKenzie <djm@va.pubnix.com> 20 Apr 1995
2024 # Here's a termcap entry I've been using for xterm_color, which comes
2025 # with BSD/OS 2.0, and the X11R6 contrib tape too I think.  Besides the
2026 # color stuff, I also have a status line defined as the window manager
2027 # title bar. [I have translated it to terminfo -- ESR]
2028 xterm-pcolor|xterm with color used for highlights and status line:\
2029         :md=\E[1m\E[43m:mr=\E[7m\E[34m:so=\E[7m\E[31m:\
2030         :us=\E[4m\E[42m:\
2031         :tc=xterm+sl:tc=xterm-r6:
2033 # HP ships this, except for the pb#9600 which was merged in from BSD termcap.
2034 # (hpterm: added empty <acsc>, we have no idea what ACS chars look like --esr)
2035 hpterm|X-hpterm|hp X11 terminal emulator:\
2036         :am:da:db:mi:xs:\
2037         :Nl#8:co#80:lh#2:li#24:lm#0:lw#8:pb#9600:sg#0:\
2038         :LF=\E&j@:LO=\E&jB:ac=:ae=^O:al=\EL:as=^N:bl=^G:bt=\Ei:\
2039         :cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:\
2040         :cr=^M:ct=\E3:cv=\E&a%dY:dc=\EP:dl=\EM:do=\EB:ei=\ER:im=\EQ:\
2041         :k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:\
2042         :kA=\EL:kC=\EJ:kD=\EP:kE=\EK:kF=\ES:kH=\EF:kI=\EQ:kL=\EM:\
2043         :kM=\ER:kN=\EU:kP=\EV:kR=\ET:kS=\EJ:kT=\E1:ka=\E3:kb=^H:\
2044         :kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:\
2045         :ku=\EA:le=^H:md=\E&dB:me=\E&d@:mh=\E&dH:ml=\El:mr=\E&dB:\
2046         :mu=\Em:nd=\EC:..pk=\E&f%p1%dk%p2%l%dL%p2%s:\
2047         :..pl=\E&f1a%p1%dk%p2%l%dL%p2%s:\
2048         :..pn=\E&f%p1%dk%p2%l%dd0L%p2%s:\
2049         :..px=\E&f2a%p1%dk%p2%l%dL%p2%s:\
2050         :..sa=\E&d%?%p7%t%{115}%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%{64}%+%c%?%p9%t%'\016'%c%e%'\017'%c%;:\
2051         :se=\E&d@:sf=^J:so=\E&dJ:sr=\ET:st=\E1:ta=^I:ue=\E&d@:\
2052         :up=\EA:us=\E&dD:
2054 # This entry describes an xterm with Sun-style function keys enabled
2055 # via the X resource setting "xterm*sunFunctionKeys:true"
2056 # To understand <kf11>/<kf12> note that L1,L2 and F11,F12 are the same.
2057 # The <kf13>...<kf20> keys are L3-L10.  We don't set <kf16=\E[197z>
2058 # because we want it to be seen as <kcpy>. 
2059 # The <kf31>...<kf45> keys are R1-R15.  We treat some of these in accordance
2060 # with their Sun keyboard labels instead.
2061 # From: Simon J. Gerraty <sjg@zen.void.oz.au> 10 Jan 1996
2062 xterm-sun|xterm with sunFunctionKeys true:\
2063         :%1=\E[196z:&8=\E[195z:@0=\E[200z:@5=\E[197z:@7=\E[220z:\
2064         :F1=\E[192z:F2=\E[193z:F3=\E[194z:F4=\E[195z:F5=\E[196z:\
2065         :F7=\E[198z:F8=\E[199z:F9=\E[200z:FA=\E[201z:FL=\E[208z:\
2066         :FM=\E[209z:FN=\E[210z:FO=\E[211z:FP=\E[212z:FQ=\E[213z:\
2067         :FS=\E[215z:FU=\E[217z:FW=\E[219z:FY=\E[221z:K2=\E[218z:\
2068         :k1=\E[224z:k2=\E[225z:k3=\E[226z:k4=\E[227z:k5=\E[228z:\
2069         :k6=\E[229z:k7=\E[230z:k8=\E[231z:k9=\E[232z:k;=\E[233z:\
2070         :kI=\E[2z:kN=\E[222z:kP=\E[216z:kh=\E[214z:\
2071         :tc=xterm:
2072 xterms-sun|small (80x24) xterm with sunFunctionKeys true:\
2073         :co#80:li#24:tc=xterm-sun:
2075 # This is for the extensible terminal emulator on the X11R6 contrib tape.
2076 emu|emu native mode:\
2077         :mi:ms:xo:\
2078         :Co#15:co#80:it#8:li#24:pa#64:vt#200:\
2079         :*6=\Esel:@0=\Efind:@8=^M:AB=\Es%i%p1%d;:AF=\Er%i%p1%d;:\
2080         :AL=\EQ%d;:DC=\EI%d;:DL=\ER%d;:DO=\Ep%d;:F1=\EF11:\
2081         :F2=\EF12:F3=\EF13:F4=\EF14:F5=\EF15:F6=\EF16:F7=\EF17:\
2082         :F8=\EF18:F9=\EF19:FA=\EF20:LE=\Eq-%d;:RI=\Eq%d;:\
2083         :UP=\Ep-%d;:\
2084         :ac=61a\202f\260g2j\213k\214l\215m\216n\217o\220q\222s\224t\225u\226v\227w\230x\231~\244:\
2085         :ae=\0:al=\EQ1;:as=\0:bl=^G:cb=\EL:cd=\EN:ce=\EK:\
2086         :cl=\EP\EE0;0;:cm=\EE%d;%d;:cr=^M:cs=\Ek%d;%d;:ct=\Ej:\
2087         :dc=\EI1;:dl=\ER1;:do=\EB:eA=\0:ec=\Ej%d;:ei=\EX:\
2088         :ho=\EE0;0;:im=\EY:is=\ES\Er0;\Es0;:k0=\EF00:k1=\EF01:\
2089         :k2=\EF02:k3=\EF03:k4=\EF04:k5=\EF05:k6=\EF06:k7=\EF07:\
2090         :k8=\EF08:k9=\EF09:k;=\EF10:kD=\177:kI=\Eins:kN=\Enext:\
2091         :kP=\Eprior:kb=^H:kd=\EB:kl=\EC:kr=\ED:ku=\EA:le=^H:\
2092         :mb=\ES\EW:md=\ES\EU:me=\ES:mr=\ES\ET:nd=\ED:\
2093         :oc=\Es0;\Er0;:r2=\ES\Es0;\Er0;:se=\ES:sf=\EG:so=\ES\ET:\
2094         :sr=\EF:st=\Eh:ta=^I:ue=\ES:up=\EA:us=\ES\EV:ve=\Ea:vi=\EZ:\
2095         :vs=\Ea:
2097 ######## COMMERCIAL WORKSTATION CONSOLES
2100 #### Alpha consoles
2103 # This is from the OSF/1 Release 1.0 termcap file
2104 pccons|pcconsole|ANSI (mostly) Alpha PC console terminal emulation:\
2105         :am:xo:\
2106         :co#80:li#25:\
2107         :al=\E[L:bl=^G:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
2108         :dc=\E[P:dl=\E[M:do=^J:ei=:ho=\E[H:ic=\E[@:im=:kb=^H:kd=\E[B:\
2109         :kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:mr=\E[7m:\
2110         :nd=\E[C:nw=^M^J:se=\E[m:so=\E[7m:ta=^I:up=\E[A:
2112 #### AT&T consoles
2115 # This actually describes the generic SVr4 display driver for Intel boxes.
2116 # The :mh=\E[2m: isn't documented and therefore may not be reliable.
2117 # From: Eric Raymond <esr@snark.thyrsus.com> Mon Nov 27 19:00:53 EST 1995
2118 att6386|at386|386at|AT&T WGS 6386 console:\
2119         :am:bw:eo:xo:\
2120         :co#80:it#8:li#25:\
2121         :@7=\E[Y:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\EOZ:\
2122         :F2=\EOA:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:\
2123         :SR=\E[%dT:UP=\E[%dA:\
2124         :ac=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~:\
2125         :ae=\E[10m:al=\E[1L:as=\E[12m:bl=^G:bt=\E[Z:cd=\E[J:\
2126         :ce=\E[K:ch=\E[%i%dG:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:\
2127         :ct=\E[2g:cv=\E[%i%dd:dc=\E[P:dl=\E[1M:do=\E[B:ec=\E[%dX:\
2128         :ei=:ho=\E[H:ic=\E[1@:im=:is=\E[0;10;39m:k1=\EOP:k2=\EOQ:\
2129         :k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:k9=\EOX:\
2130         :k;=\EOY:kB=^]:kD=\E[P:kI=\E[@:kM=\E0:kN=\E[U:kP=\E[V:kb=^H:\
2131         :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:\
2132         :md=\E[1m:me=\E[0;10m:mh=\E[2m:mk=\E[9m:mr=\E[7m:nd=\E[C:\
2133         :nw=\r\E[S:rc=\E8:\
2134         :..sa=\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:\
2135         :sc=\E7:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:st=\EH:ta=^I:\
2136         :ue=\E[m:up=\E[A:us=\E[4m:ve=\E[=1C:vi=\E[=C:\
2137         :tc=klone+color:
2138 # (pc6300plus: removed ":KM=/usr/lib/ua/kmap.s5:"; renamed BO/EE/CI/CV -- esr)
2139 pc6300plus|AT&T 6300 plus:\
2140         :am:bs:xo:\
2141         :co#80:li#24:\
2142         :al=\E[1L:bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[2J\E[H:\
2143         :cm=\E[%i%2;%2H:cr=^M:ct=\E[3g:dc=\E[1P:dl=\E[1M:do=\E[B:\
2144         :ei=:ho=\E[H:ic=\E[1@:im=:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:\
2145         :k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:k9=\EOk:k;=\EOu:kb=^H:\
2146         :kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
2147         :me=\E[m:mh=\E[2m:mk=\E[9m:mr=\E[7m:nd=\E[C:nw=^M^J:\
2148         :se=\E[m:sf=^J:so=\E[7m:st=\EH:ue=\E[m:up=\E[A:us=\E[4m:\
2149         :ve=\E[=1C:vi=\E[=C:
2151 # From: Benjamin C. W. Sittler <bsittler@nmt.edu>
2153 # I have a UNIX PC which I use as a terminal attached to my Linux PC.
2154 # Unfortunately, the UNIX PC terminfo entry that comes with ncurses
2155 # is broken. All the special key sequences are broken, making it unusable
2156 # with Emacs. The problem stems from the following:
2158 # The UNIX PC has a plethora of keys (103 of them, and there's no numeric
2159 # keypad!), loadable fonts, and strange highlighting modes ("dithered"
2160 # half-intensity, "smeared" bold, and real strike-out, for example.) It also
2161 # uses resizable terminal windows, but the bundled terminal program always
2162 # uses an 80x24 window (and doesn't support seem to support a 132-column
2163 # mode.) 
2165 # HISTORY: The UNIX PC was one of the first machines with a GUI, and used a
2166 # library which was a superset of SVr3.5 curses (called tam, for "terminal
2167 # access method".) tam includes support for real, overlapping windows,
2168 # onscreen function key labels, and bitmap graphics. But since the primary
2169 # user interface on the UNIX PC was a GUI program (ua, for "user
2170 # assistant",) and remote administration was considered important for the
2171 # machine, tam also supported VT100-compatible terminals attached to the
2172 # serial port or used across the StarLan network. To simulate the extra keys
2173 # not present on a VT100, users could press ESC and a two-letter sequence,
2174 # such as u d (Undo) or U D (Shift-Undo.) These two-letter sequences,
2175 # however, were not the same as those sent by the actual Undo key. The
2176 # actual Undo key sends ESC 0 s unshifted, and ESC 0 S shifted, for example.
2177 # (If you're interested in adding some of the tam calls to ncurses, btw, I
2178 # have the full documentation and several programs which use tam. It also
2179 # used an extended terminfo format to describe key sequences, special
2180 # highlighting modes, etc.) 
2182 # KEYS: This means that ncurses would quite painful on the UNIX PC, since
2183 # there are two sequences for every key-modifier combination (local keyboard
2184 # sequence and remote "VT100" sequence.) But I doubt many people are trying
2185 # to use ncurses on the UNIX PC, since ncurses doesn't properly handle the
2186 # GUI. Unfortunately, the terminfo entry (and the termcap, too, I presume) 
2187 # seem to have been built from the manual describing the VT100 sequences. 
2188 # This means it doesn't work for a real live UNIX PC. 
2190 # FONTS: The UNIX PC also has a strange interpretation of "alternate
2191 # character set". Rather than the VT100 graphics you might expect, it allows
2192 # up to 8 custom fonts to be loaded at any given time. This means that
2193 # programs expecting VT100 graphics will usually be disappointed. For this
2194 # reason I have disabled the smacs/rmacs sequences, but they could easily be
2195 # re-enabled. Here are the relevant control sequences (from the ESCAPE(7) 
2196 # manpage), should you wish to do so: 
2198 # SGR10 - Select font 0 - ESC [ 10 m or SO
2199 # SGR11 - Select font 1 - ESC [ 11 m or SI
2200 # SGR12 - Select font 2 - ESC [ 12 m
2201 # ... (etc.)
2202 # SGR17 - Select font 7 - ESC [ 17 m
2204 # Graphics for line drawing are not reliably found at *any* character
2205 # location because the UNIX PC has dynamically reloadable fonts. I use font
2206 # 0 for regular text and font 1 for italics, but this is by no means
2207 # universal. So ASCII line drawing is in order if smacs/rmacs are enabled.
2209 # MISC: The cursor visible/cursor invisible sequences were swapped in the
2210 # distributed terminfo.
2212 # To ameliorate these problems (and fix a few highlighting bugs) I rewrote
2213 # the UNIX PC terminfo entry. The modified version works great with Lynx,
2214 # Emacs, and XEmacs running on my Linux PC and displaying on the UNIX PC
2215 # attached by serial cable. In Emacs, even the Undo key works, and many
2216 # applications can now use the F1-F8 keys. 
2218 # esr's notes:
2219 #       Terminfo entry for the AT&T Unix PC 7300
2220 #       from escape(7) in Unix PC 7300 Manual.
2221 #       Somewhat similar to a vt100-am (but different enough
2222 #       to redo this from scratch.)
2224 #       /***************************************************************
2225 #       *
2226 #       *           FONT LOADING PROGRAM FOR THE UNIX PC
2227 #       *
2228 #       *     This routine loads a font defined in the file ALTFONT
2229 #       *     into font memory slot #1.  Once the font has been loaded,
2230 #       *     it can be used as an alternative character set.
2231 #       *
2232 #       *     The call to ioctl with the argument WIOCLFONT is the key 
2233 #       *     to this routine.  For more information, see window(7) in 
2234 #       *     the PC 7300 documentation.
2235 #       ***************************************************************/
2236 #       #include <string.h>             /* needed for strcpy call */
2237 #       #include <sys/window.h>         /* needed for ioctl call */
2238 #       #define FNSIZE  60              /* font name size */
2239 #       #define ALTFONT  "/usr/lib/wfont/special.8.ft"  /* font file */
2240 #       /*
2241 #       *     The file /usr/lib/wfont/special.8.ft comes with the
2242 #       *     standard PC software.  It defines a graphics character set
2243 #       *     similar to that of the Teletype 5425 terminal.  To view
2244 #       *     this or other fonts in /usr/lib/wfont, use the command
2245 #       *     cfont <filename>.  For further information on fonts see
2246 #       *     cfont(1) in the PC 7300 documentation.
2247 #       */
2248 #       
2249 #       struct altfdata         /* structure for alt font data */
2250 #       {
2251 #       short   altf_slot;              /* memory slot number */
2252 #       char    altf_name[FNSIZE];      /* font name (file name) */
2253 #       };
2254 #       ldfont()
2255 #       {
2256 #               int wd;         /* window in which altfont will be */
2257 #               struct altfdata altf;
2258 #               altf.altf_slot=1;
2259 #               strcpy(altf.altf_name,ALTFONT);
2260 #               for (wd =1; wd < 12; wd++) {
2261 #                    ioctl(wd, WIOCLFONT,&altf);
2262 #               }
2263 #       }
2265 # (att7300: added :vi:/:ve:/:ic:/<invis> from the BSDI entry,
2266 # they're confirmed by the man page for the System V display---esr)
2268 # (untranslatable capabilities removed to fit entry within 1023 bytes)
2269 # (sgr removed to fit entry within 1023 bytes)
2270 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
2271 att7300|unixpc|pc7300|3b1|s4|AT&T UNIX PC Model 7300:\
2272         :am:xo:\
2273         :co#80:it#8:li#24:\
2274         :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
2275         :UP=\E[%dA:al=\E[L:bl=^G:bt=\E^I:cd=\E[0J:ce=\E[0K:\
2276         :cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:\
2277         :do=\E[B:ei=:ho=\E[H:i1=\017\E[=1w:ic=\E[@:im=:k1=\EOc:\
2278         :k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:\
2279         :kD=\ENf:kI=\ENj:kN=\E[U:kP=\E[V:kb=^H:kd=\E[B:kh=\E[H:\
2280         :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[9m:md=\E[1m:\
2281         :me=\E[0;10m:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\EE:se=\E[m:\
2282         :sf=^J:so=\E[7m:sr=\EM:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[=0C:\
2283         :vi=\E[=1C:
2285 #### Hewlett-Packard consoles
2287 # These are descriptions for the HP700 series, the workstations formerly
2288 # known as Apollos.  HP terminals are described elsewhere in the file
2291 # From: Victor Duchovni <vic@fine.princeton.edu>
2292 # (hp700-wy: removed obsolete ":nl=^J:";
2293 # replaced /usr/share/tabset/hp700-wy with std because :it#8:,:st=\E1: -- esr)
2294 hp700-wy|HP700/41 emulating wyse30:\
2295         :am:bs:bw:mi:ms:\
2296         :co#80:it#8:li#24:sg#1:\
2297         :al=0.7*\EE:bt=\EI:cd=\EY:ce=10\ET:cl=^Z:cm=\E=%+ %+ :\
2298         :cr=^M:ct=\E0:cv=\E[%+ :dc=\EW:dl=\ER:do=^V:ei=\Er:ho=^^:\
2299         :i1=\E~"\EC\Er\E(\EG0\003\E`9\E`1:\
2300         :if=/usr/share/tabset/stdcrt:im=\Eq:kB=\EI:kC=^Z:kE=\ET:\
2301         :kI=\Eq:kM=\Er:kS=\EY:kT=\EI:kb=\177:kd=^V:kh=^^:kl=^H:kr=^L:\
2302         :ku=^K:le=^H:ll=^^^K:me=10\EG0:nd=^L:se=10\EG0:so=10\EG4:\
2303         :sr=\Ej:st=\E1:ta=^I:ue=10\EG0:up=^K:us=10\EG8:
2304 hp70092|hp70092a|hp70092A|HP 700/92:\
2305         :am:da:db:xs:\
2306         :Nl#8:co#80:lh#2:li#24:lm#0:lw#8:\
2307         :LF=\E&j@:LO=\E&jB:ac=0cjgktlrmfn/q\054t5u6v8w7x.:ae=^O:\
2308         :al=\EL:as=^N:bl=^G:bt=\Ei:ce=\EK:ch=\E&a%dC:\
2309         :cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:cr=^M:ct=\E3:cv=\E&a%dY:\
2310         :dc=\EP:dl=\EM:do=\EB:ei=\ER:im=\EQ:k1=\Ep:k2=\Eq:k3=\Er:\
2311         :k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:kA=\EL:kC=\EJ:kD=\EP:\
2312         :kE=\EK:kF=\ES:kH=\EF:kI=\EQ:kL=\EM:kM=\ER:kN=\EU:kP=\EV:\
2313         :kR=\ET:kS=\EJ:kT=\E1:ka=\E3:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:\
2314         :kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:ku=\EA:le=^H:mb=\E&dA:\
2315         :md=\E&dB:me=\E&d@:mh=\E&dH:mr=\E&dB:nd=\EC:se=\E&d@:\
2316         :so=\E&dJ:sr=\ET:st=\E1:ta=^I:ue=\E&d@:up=\EA:us=\E&dD:
2318 #  HP 700/44 Setup parameters:  
2319 # Terminal Mode         HP-PCterm
2320 # Inhibit Auto Wrap     NO
2321 # Status Line           Host Writable
2322 # PC Character Set      YES
2323 # Twenty-Five Line Mode YES
2324 # XON/XOFF              @128 or 64 (sc)
2325 # Keycode Mode          NO   or YES (sc)
2326 # Backspace Key         BS or BS/DEL
2328 # :is:  sets pcterm; autowrap; 25 lines; pc char set; prog DEL key; 
2329 # \E\\? does not turn off keycode mode
2330 # <smsc>        sets alternate start/stop; keycode on
2331 hpansi|hp700|hewlett packard 700/44 in HP-PCterm mode:\
2332         :am:eo:xn:xo:\
2333         :co#80:li#25:\
2334         :@7=\E[4~:RA=\E[?7l:S4=\E[>11h\EPO**x0/65;1/67\E\:\
2335         :S5=\E[>11l\EP1**x0/11;1/13\E[m\E\:SA=\E[?7h:XF=g:XN=e:\
2336         :ac=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263:\
2337         :al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:\
2338         :cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
2339         :ic=\E[@:im=:\
2340         :is=\E[44"p\E[?7h\E[>10h\E[>12h\EP1;1|3/7F\E\:\
2341         :k1=\E[17~:k2=\E[18~:k3=\E[19~:k4=\E[20~:k5=\E[21~:\
2342         :k6=\E[23~:k7=\E[24~:k8=\E[25~:k9=\E[26~:k;=\E[28~:\
2343         :kB=\E[Z:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:kh=\E[1~:kl=\E[D:\
2344         :kr=\E[C:ku=\E[A:le=\E[D:me=\E[m:nd=\E[C:se=\E[m:sf=^J:\
2345         :so=\E[7m:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[?25h:\
2346         :vi=\E[?25l:
2348 #### Iris consoles
2351 # Sent by Stefan Stapelberg <stefan@rent-a-guru.de>, 24 Feb 1997, this is
2352 # from SGI's terminfo database.  SGI's entry shows F9-F12 with the codes
2353 # for the application keypad mode.  We have added iris-ansi-ap rather than
2354 # change the original to keypad mode.
2356 # (iris-ansi: added rmam/smam based on init string -- esr)
2358 # This entry, and those derived from it, is used in xwsh (also known as
2359 # winterm).  Some capabilities that do not fit into the terminfo model
2360 # include the shift- and control-functionkeys:
2362 # F1-F12 generate different codes when shift or control modifiers are used.
2363 # For example:
2364 #       F1              \E[001q
2365 #       shift F1        \E[013q
2366 #       control-F1      \E[025q
2368 # In application keypad mode, F9-F12 generate codes like vt100 PF1-PF4, i.e.,
2369 # \EOP to \EOS.  The shifted and control modifiers still do the same thing.
2371 # The cursor keys also have different codes:
2372 #       control-up      \E[162q
2373 #       control-down    \E[165q
2374 #       control-left    \E[159q
2375 #       control-right   \E[168q
2377 #       shift-up        \E[161q
2378 #       shift-down      \E[164q
2379 #       shift-left      \E[158q
2380 #       shift-right     \E[167q
2382 #       control-tab     \[072q
2384 # iris-ansi-net alias helps with IRIX does when you rsh to a remote system. 
2385 iris-ansi|iris-ansi-net|IRIS emulating 40 line ANSI terminal (almost VT100):\
2386         :am:\
2387         :co#80:it#8:li#40:\
2388         :!2=\E[218q:#2=\E[143q:#4=\E[158q:%9=\E[209q:%f=\E[210q:\
2389         :%i=\E[167q:&7=\E[217q:*4=\E[P:*7=\E[147q:@7=\E[146q:\
2390         :@8=^M:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:F1=\E[011q:\
2391         :F2=\E[012q:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
2392         :UP=\E[%dA:al=\E[L:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
2393         :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:dl=\E[M:do=^J:\
2394         :ho=\E[H:is=\E[?1l\E>\E[?7h\E[100g\E[0m\E7\E[r\E8:\
2395         :k1=\E[001q:k2=\E[002q:k3=\E[003q:k4=\E[004q:k5=\E[005q:\
2396         :k6=\E[006q:k7=\E[007q:k8=\E[008q:k9=\E[009q:k;=\E[010q:\
2397         :kB=\E[Z:kD=\177:kI=\E[139q:kM=\E[146q:kN=\E[154q:\
2398         :kP=\E[150q:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
2399         :le=\E[D:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=\EE:\
2400         :pk=\EP101;%d.y%s\E\:rc=\E8:sc=\E7:se=\E[m:sf=\ED:\
2401         :so=\E[1;7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:\
2402         :ve=\E[9/y\E[12/y\E[=6l:vs=\E[10/y\E[=1h\E[=2l\E[=6h:
2403 iris-ansi-ap|IRIS ANSI in application-keypad mode:\
2404         :@8=\EOM:F1=\E[011q:F2=\E[012q:is=\E[?1l\E=\E[?7h:\
2405         :k9=\E[009q:k;=\E[010q:\
2406         :tc=iris-ansi:
2408 # From the man-page, this is a quasi-vt100 emulator that runs on SGI's IRIX
2409 # (T.Dickey 98/1/24)
2410 iris-color|xwsh|IRIX ANSI with color:\
2411         :NC#33:\
2412         :DC=\E[%dP:IC=\E[%d@:ZH=\E[3m:ZR=\E[23m:cs=\E[%i%d;%dr:\
2413         :ec=\E[%dX:ei=:im=:mh=\E[2m:r1=\Ec:\
2414         :r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:sc=\E7:\
2415         :u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?1;2c:u9=\E[c:ue=\E[24m:\
2416         :tc=klone+color:tc=iris-ansi-ap:
2418 # (wsiris: this had extension capabilities
2419 #       :HS=\E7F2:HE=\E7F7:\
2420 #       :CT#2:CZ=*Bblack,red,green,yellow,blue,magenta,cyan,*Fwhite:
2421 # See the note on Iris extensions near the end of this file.  
2422 # Finally, removed suboptimal :cl:=\EH\EJ and added :do: & 
2423 # :vb: from BRL -- esr)
2424 wsiris|iris40|iris emulating a 40 line visual 50 (approximately):\
2425         :am:bs:nc:pt:\
2426         :co#80:it#8:kn#3:li#40:\
2427         :al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=\Ev:cm=\EY%+ %+ :dl=\EM:\
2428         :do=\EB:ho=\EH:is=\E7B0\E7F7\E7C2\E7R3:k0=\E0:k1=\E1:\
2429         :k2=\E2:k3=\E3:k4=\E4:k5=\E5:k6=\E6:k7=\E7:k8=\E8:k9=\E9:\
2430         :kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:me=\E7F7:mh=\E7F2:nd=\EC:\
2431         :nl=\EB:se=\E0@:sf=^J:so=\E9P:sr=\EI:ta=^I:ue=\E7R3\E0@:\
2432         :up=\EA:us=\E7R2\E9P:vb=\E7F4\E7B1\013\E7F7\E7B0:ve=\E>:\
2433         :vs=\E;:
2435 #### NeWS consoles
2437 # Console terminal windows under the NeWS (Sun's Display Postscript windowing
2438 # environment).   Note: these have nothing to do with Sony's News workstation
2439 # line.
2442 # Entry for NeWS's psterm from Eric Messick & Hugh Daniel
2443 # (psterm: unknown ":sl=\EOl:el=\ENl:" removed -- esr)
2444 psterm|psterm-basic|NeWS psterm-80x34:\
2445         :am:bs:hs:km:ul:\
2446         :co#80:it#8:li#34:\
2447         :al=\EA:cd=\EB:ce=\EC:cl=^L:cm=\E%d;%d;:cs=\EE%d;%d;:\
2448         :dc=\EF:dl=\EK:do=\EP:ei=\ENi:fs=\ENl:ho=\ER:i1=\EN*:\
2449         :im=\EOi:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=\ET:ll=\EU:\
2450         :mb=\EOb:md=\EOd:me=\EN*:mr=\EOr:nd=\EV:rc=^\:sc=^]:se=\ENo:\
2451         :sf=\EW:so=\EOo:sr=\EX:ta=^I:te=\ENt:ti=\EOt:ts=\EOl:\
2452         :ue=\ENu:up=\EY:us=\EOu:vb=\EZ:
2453 psterm-96x48|NeWS psterm 96x48:\
2454         :co#96:li#48:tc=psterm:
2455 psterm-90x28|NeWS psterm 90x28:\
2456         :co#90:li#28:tc=psterm:
2457 psterm-80x24|NeWS psterm 80x24:\
2458         :co#80:li#24:tc=psterm:
2459 # This is a faster termcap for psterm.  Warning:  if you use this termcap,
2460 # some control characters you type will do strange things to the screen.
2461 # (psterm-fast: unknown ":sl=^Ol:el=^Nl:" -- esr)
2462 psterm-fast|NeWS psterm fast version (flaky ctrl chars):\
2463         :am:bs:hs:km:ul:\
2464         :co#80:it#8:li#34:\
2465         :al=^A:cd=^B:ce=^C:cl=^L:cm=\004%d;%d;:cs=\005%d;%d;:dc=^F:\
2466         :dl=^K:do=^P:ei=^Ni:fs=^Nl:ho=^R:i1=^N*:im=^Oi:kd=\E[B:\
2467         :kl=\E[D:kr=\E[C:ku=\E[A:le=^T:ll=^U:mb=^Ob:md=^Od:me=^N*:\
2468         :mr=^Or:nd=^V:rc=^\:sc=^]:se=^No:sf=^W:so=^Oo:sr=^X:ta=^I:\
2469         :te=^Nt:ti=^Ot:ts=^Ol:ue=^Nu:up=^Y:us=^Ou:vb=^Z:
2471 #### NeXT consoles
2473 # Use `glasstty' for the Workspace application
2476 # From: Dave Wetzel <dave@turbocat.snafu.de> 22 Dec 1995
2477 next|NeXT console:\
2478         :am:xt:\
2479         :co#80:it#8:li#24:\
2480         :bl=^G:ce=\E[K:cl=^L:cm=\E[%i%d;%dH:cr=^M:do=^J:ho=\E[H:\
2481         :kb=^H:kd=^J:kl=^H:le=^H:me=\E[m:nd=\E[C:nw=^M^J:se=\E[4;1m:\
2482         :sf=^J:so=\E[4;2m:ta=^I:up=\E[A:
2483 nextshell|NeXT Shell application:\
2484         :am:\
2485         :co#80:\
2486         :bl=^G:cr=^M:do=^J:kb=^H:kd=^J:kl=^H:le=^H:nw=^M^J:ta=^I:
2488 #### SCO consoles
2491 # SCO console and SOS-Syscons console for 386bsd
2492 # (scoansi: had unknown capabilities
2493 #       :Gc=N:Gd=K:Gh=M:Gl=L:Gu=J:Gv=\072:\
2494 #       :GC=E:GD=B:GH=D:GL=\64:GU=A:GV=\63:GR=C:
2495 #       :G1=?:G2=Z:G3=@:G4=Y:G5=;:G6=I:G7=H:G8=<:\
2496 #       :CW=\E[M:NU=\E[N:RF=\E[O:RC=\E[P:\
2497 #       :WL=\E[S:WR=\E[T:CL=\E[U:CR=\E[V:\
2498 # I renamed GS/GE/HM/EN/PU/PD/RT and added klone+sgr-dumb, based
2499 # on the :as:=\E[12m  -- esr)
2500 # SCO function keys and <acsc> corrected by Thomas Dickey.
2501 # In this description based on SCO's keyboard(HW) manpage list of default function key
2502 # values:
2503 #       F13-F24 are shifted F1-F12
2504 #       F25-F36 are control F1-F12
2505 #       F37-F48 are shift+control F1-F12
2506 # (untranslatable capabilities removed to fit entry within 1023 bytes)
2507 scoansi|SCO Extended ANSI standard crt:\
2508         :am:eo:xo:\
2509         :Co#8:co#80:it#8:li#25:pa#64:\
2510         :@1=\E[E:@7=\E[F:AB=\E[4%p1%dm:AF=\E[3%p1%dm:F1=\E[W:\
2511         :F2=\E[X:F3=\E[Y:F5=\E[a:F6=\E[b:F7=\E[c:F8=\E[d:F9=\E[e:\
2512         :FA=\E[f:FB=\E[g:FC=\E[h:FD=\E[i:FE=\E[j:FF=\E[k:FG=\E[l:\
2513         :FH=\E[m:FI=\E[n:FJ=\E[o:FK=\E[p:FL=\E[q:FM=\E[r:FN=\E[s:\
2514         :FO=\E[t:FP=\E[u:FQ=\E[v:FR=\E[w:FS=\E[x:FT=\E[y:FU=\E[z:\
2515         :FV=\E[@:FW=\E[[:FX=\E[\:FY=\E[]:FZ=\E[\136:Fa=\E[_:\
2516         :Fb=\E[`:Fc=\E[{:\
2517         :ac=0[5566778899\072\072;;<<==>>FFGGHHIIJJKKLLMMNNOOPPQQRRSSTTUUVVWWXX`ja0fxgqh2jYk?lZm@nEqDtCu4vAwBx3~y:\
2518         :ae=\E[10m:al=\E[L:as=\E[12m:bt=\E[Z:cd=\E[J:ce=\E[K:\
2519         :cl=\E[H\E[2J:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=\E[B:ei=:\
2520         :ho=\E[H:ic=\E[@:im=:k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:\
2521         :k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:k;=\E[V:kB=\E[Z:\
2522         :kI=\E[L:kN=\E[G:kP=\E[I:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
2523         :kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[0;10m:\
2524         :mk=\E[8m:mr=\E[7m:nd=\E[C:op=\E[37;40m:se=\E[m:sf=\E[S:\
2525         :so=\E[7m:sr=\E[T:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
2527 #### Sun consoles
2530 # :is1: resets scrolling region in case a previous user had used "tset vt100"
2531 oldsun|Sun Microsystems Workstation console:\
2532         :am:bs:km:mi:ms:\
2533         :co#80:it#8:li#34:\
2534         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:al=\E[L:bl=^G:\
2535         :cd=\E[J:ce=\E[K:cl=^L:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:\
2536         :dl=\E[M:do=\E[B:ei=:i1=\E[1r:ic=\E[@:im=:k1=\EOP:k2=\EOQ:\
2537         :k3=\EOR:k4=\EOS:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
2538         :le=^H:me=\E[m:nd=\E[C:se=\E[m:sf=^J:so=\E[7m:ta=^I:up=\E[A:
2539 # From: Alexander Lukyanov <lav@video.yars.free.net>, 14 Nov 1995
2540 # :li: capability later corrected by J.T. Conklin <jtc@cygnus.com>
2541 # SGR 1, 4 aren't supported - removed bold/underline (T.Dickey 17 Jan 1998)
2542 sun-il|Sun Microsystems console with working insert-line:\
2543         :am:km:ms:\
2544         :co#80:li#34:\
2545         :%7=\E[194z:&5=\E[193z:&8=\E[195z:@7=\E[220z:AL=\E[%dL:\
2546         :DC=\E[%dP:DL=\E[%dM:F1=\E[234z:F2=\E[235z:IC=\E[%d@:\
2547         :K2=\E[218z:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=^L:\
2548         :cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=:ic=\E[@:im=:\
2549         :k1=\E[224z:k2=\E[225z:k3=\E[226z:k4=\E[227z:k5=\E[228z:\
2550         :k6=\E[229z:k7=\E[230z:k8=\E[231z:k9=\E[232z:k;=\E[233z:\
2551         :kD=\177:kN=\E[222z:kP=\E[216z:kb=^H:kd=\E[B:kh=\E[214z:\
2552         :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:md@:me=\E[m:mr=\E[7m:nd=\E[C:\
2553         :r2=\E[s:\
2554         :..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m:\
2555         :se=\E[m:sf=^J:so=\E[7m:ta=^I:u8=\E[1t:u9=\E[11t:ue@:\
2556         :up=\E[A:us@:
2557 # On a SparcStation 5, :al:/:AL: flake out on the last line.
2558 # Unfortunately, without them the terminal has no way to scroll.
2559 sun-ss5|Sun SparcStation 5 console:\
2560         :AL@:al@:tc=sun-il:
2561 # If you are using an SS5, change the sun definition to use sun-ss5.
2562 sun|sun1|sun2|Sun Microsystems Inc. workstation console:\
2563         :tc=sun-il:
2565 # From: <john@ucbrenoir>  Tue Sep 24 13:14:44 1985
2566 sun-s|Sun Microsystems Workstation window with status line:\
2567         :hs:\
2568         :ds=\E]l\E\:fs=\E\:ts=\E]l:tc=sun:
2569 sun-e-s|sun-s-e|Sun Microsystems Workstation with status hacked for emacs:\
2570         :hs:\
2571         :ds=\E]l\E\:fs=\E\:ts=\E]l:tc=sun-e:
2572 sun-48|Sun 48-line window:\
2573         :co#80:li#48:tc=sun:
2574 sun-34|Sun 34-line window:\
2575         :co#80:li#34:tc=sun:
2576 sun-24|Sun 24-line window:\
2577         :co#80:li#24:tc=sun:
2578 sun-17|Sun 17-line window:\
2579         :co#80:li#17:tc=sun:
2580 sun-12|Sun 12-line window:\
2581         :co#80:li#12:tc=sun:
2582 sun-1|Sun 1-line window for sysline:\
2583         :es:hs:\
2584         :co#80:li#1:\
2585         :ds=^L:fs=\E[K:ts=^M:tc=sun:
2586 sun-e|sun-nic|sune|Sun Microsystems Workstation without insert character:\
2587         :ei@:ic@:im@:\
2588         :tc=sun:
2589 sun-c|sun-cmd|Sun Microsystems Workstation console with scrollable history:\
2590         :li#35:\
2591         :te=\E[>4h:ti=\E[>4l:tc=sun:
2593 #### Common Desktop Environment
2596 # This ships with Sun's CDE in Solaris 2.5
2597 # Corrected Sun Aug 9 1998 by Alexander V. Lukyanov <lav@video.yars.free.net>
2598 # (untranslatable capabilities removed to fit entry within 1023 bytes)
2599 # (sgr removed to fit entry within 1023 bytes)
2600 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
2601 dtterm|CDE desktop terminal:\
2602         :am:mi:ms:xn:xo:\
2603         :co#80:it#8:li#24:lm#0:\
2604         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
2605         :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
2606         :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
2607         :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:\
2608         :ei=\E[4l:ho=\E[H:im=\E[4h:\
2609         :is=\E F\E>\E[?1l\E[?7h\E[?45l:k1=\E[11~:k2=\E[12~:\
2610         :k3=\E[13~:k4=\E[14~:k5=\E[15~:k6=\E[17~:k7=\E[18~:\
2611         :k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
2612         :kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
2613         :md=\E[1m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\EE:\
2614         :rc=\E8:sc=\E7:se=\E[22;27m:sf=\ED:so=\E[2;7m:sr=\EM:\
2615         :st=\EH:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:\
2616         :ve=\E[?25h:vi=\E[?25l:
2618 #### Mach
2621 # From: Matthew Vernon <mcv21@pick.sel.cam.ac.uk>
2622 mach|Mach Console:\
2623         :am:km:\
2624         :co#80:it#8:li#25:\
2625         :@7=\E[Y:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
2626         :RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\Ec:\
2627         :cm=\E[%i%d;%dH:cr=^M:dl=\E[M:do=^J:ho=\E[H:k1=\EOP:\
2628         :k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:\
2629         :k9=\EOX:k;=\EOY:kD=\E[9:kH=\E[F:kI=\E[@:kN=\E[U:kP=\E[V:\
2630         :kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
2631         :mb=\E[5m:md=\E[1m:me=\E[0m:mr=\E[7m:nd=\E[C:nw=^M^J:\
2632         :se=\E[0m:sf=^J:so=\E[7m:ta=^I:up=\E[A:
2633 mach-bold|Mach Console with bold instead of underline:\
2634         :ue=\E[0m:us=\E[1m:\
2635         :tc=mach:
2637 #### OSF Unix
2640 # OSF/1 1.1 Snapshot 2
2641 pmcons|pmconsole|PMAX console:\
2642         :am:\
2643         :co#128:li#57:\
2644         :bl=^G:cl=^L:cr=^M:do=^J:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
2645         :kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:sf=^J:ta=^I:up=^K:
2647 ######## UNIX VIRTUAL TERMINALS AND TELNET CLIENTS
2650 #### FSF virtual terminal types
2653 # The codes supported by the term.el terminal emulation in GNU Emacs 19.30 
2654 eterm|gnu emacs term.el terminal emulation:\
2655         :am:mi:xn:\
2656         :co#80:li#24:\
2657         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
2658         :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:cb=\E[1K:\
2659         :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
2660         :cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:\
2661         :im=\E[4h:le=^H:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:se=\E[m:\
2662         :sf=^J:so=\E[7m:ta=^I:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:\
2663         :ue=\E[m:up=\E[A:us=\E[4m:
2665 # Entries for use by the `screen' program by Juergen Weigert, 
2666 # Michael Schroeder, Oliver Laumann.  The screen and
2667 # screen-w entries came with version 3.7.1.  The screen2 and screen3 entries
2668 # come from University of Wisconsin and may be older.
2669 # (screen: added :ve: on ANSI model -- esr)
2670 # (screen: added <el1> -- TD)
2672 screen|VT 100/ANSI X3.64 virtual terminal:\
2673         :am:km:mi:ms:xn:\
2674         :Co#8:co#80:it#8:li#24:pa#64:\
2675         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:\
2676         :F2=\E[24~:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
2677         :ac=++\054\054--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
2678         :ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:\
2679         :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
2680         :ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:eA=\E(B\E)0:ei=\E[4l:\
2681         :ho=\E[H:im=\E[4h:is=\E)0:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
2682         :k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
2683         :k;=\E[21~:kD=\E[3~:kH=\E[4~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
2684         :kb=^H:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:kl=\EOD:kr=\EOC:\
2685         :ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:\
2686         :mr=\E[7m:nd=\E[C:nw=\EE:r2=\Ec:rc=\E8:sc=\E7:se=\E[23m:\
2687         :sf=^J:so=\E[3m:sr=\EM:st=\EH:ta=^I:ue=\E[24m:up=\EM:\
2688         :us=\E[4m:vb=\Eg:ve=\E[34h\E[?25h:vi=\E[?25l:vs=\E[34l:\
2689         :tc=ecma+color:
2691 screen-w|VT 100/ANSI X3.64 virtual terminal with 132 cols:\
2692         :co#132:tc=screen:
2694 screen2|old VT 100/ANSI X3.64 virtual terminal:\
2695         :co#80:it#8:li#24:\
2696         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
2697         :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bt=\E[Z:cd=\E[J:\
2698         :ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:\
2699         :dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ic=:im=\E[4h:k0=\E~:\
2700         :k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:k8=\ER:\
2701         :k9=\E0I:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:\
2702         :me=\E[m:nd=\E[C:nw=^M^J:r1=\Ec:rc=\E8:sc=\E7:se=\E[23m:\
2703         :sf=^J:so=\E[3m:sr=\EM:st=\EH:ta=^I:ue=\E[24m:up=\E[A:\
2704         :us=\E[4m:
2705 # (screen3: removed unknown ":xv:LP:G0:" -- esr)
2706 screen3|older VT 100/ANSI X3.64 virtual terminal:\
2707         :km:mi:ms:\
2708         :co#80:it#8:li#24:\
2709         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
2710         :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:bt=\E[Z:\
2711         :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
2712         :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:\
2713         :ho=\E[H:im=\E[4h:is=\E)0:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
2714         :kb=^H:kd=\EOB:ke=\E>:kl=\EOD:kr=\EOC:ks=\E=:ku=\EOA:le=^H:\
2715         :mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=\EE:r1=\Ec:\
2716         :rc=\E8:sc=\E7:se=\E[23m:sf=^J:so=\E[3m:sr=\EM:st=\EH:ta=^I:\
2717         :ue=\E[24m:up=\EM:us=\E[4m:
2719 # Francesco Potorti <F.Potorti@cnuce.cnr.it>:
2720 # NCSA telnet is one of the most used telnet clients for the Macintosh.  It has
2721 # been maintained until recently by the National Center for Supercomputer
2722 # Applications, and it is feature rich, stable and free.  It can be downloaded
2723 # from www.ncsa.edu.  This terminfo description file is based on xterm-vt220,
2724 # xterm+sl, and the docs at NCSA.  It works well.
2726 # NCSA Telnet 2.6 for Macintosh in vt220 8-bit emulation mode
2727 # The terminal options should be set as follows:
2728 #         Xterm sequences ON
2729 #         use VT wrap mode ON
2730 #         use Emacs arrow keys OFF
2731 #         CTRL-COMND is Emacs meta ON
2732 #         8 bit mode ON
2733 #         answerback string: "ncsa-vt220-8"
2734 #         setup keys: all disabled
2736 # Application mode is not used.
2738 # Other special mappings:
2739 #       Apple           VT220
2740 #       HELP            Find
2741 #       HOME            Insert here
2742 #       PAGEUP          Remove
2743 #       DEL             Select
2744 #       END             Prev Screen
2745 #       PAGEDOWN        Next Screen
2747 # Though it supports ANSI color, NCSA Telnet uses color to represent blinking
2748 # text.
2750 # The status-line manipulation is a mapping of the xterm-compatible control
2751 # sequences for setting the window-title.  So you must use tsl and fsl in
2752 # pairs, since the latter ends the string that is loaded to the window-title.
2753 # (untranslatable capabilities removed to fit entry within 1023 bytes)
2754 # (sgr removed to fit entry within 1023 bytes)
2755 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
2756 ncsa-m|ncsa-vt220-8|NCSA Telnet 2.6 for Macintosh in vt220-8 mode:\
2757         :am:hs:km:mi:ms:xn:\
2758         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
2759         :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
2760         :cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
2761         :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
2762         :ds=\E]0;\007:ei=\E[4l:fs=^G:ho=\E[H:\
2763         :if=/usr/share/tabset/vt100:im=\E[4h:\
2764         :is=\E7\E[r\E[m\E[?7h\E[?1;4;6l\E[4l\E8\E>:k1=\E[17~:\
2765         :k2=\E[18:k3=\E[19~:k4=\E[20~:k5=\E[21~:k6=\E23~:\
2766         :k7=\E[24~:k8=\E[25~:k9=\E[26~:kD=\E[4~:kN=\E[6~:kP=\E[3~:\
2767         :kb=^H:kd=\E[B:kh=\E[2~:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
2768         :mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:nd=\E[C:rc=\E8:\
2769         :sc=\E7:se=\E[27m:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
2770         :te=\E[2J\E8:ti=\E7:ts=\E]0;:ue=\E[24m:up=\E[A:us=\E[4m:\
2771         :vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:
2772 ncsa|NCSA Telnet 2.7 for Macintosh in vt220-8 mode:\
2773         :tc=ncsa-m:tc=klone+color:
2774 ncsa-ns|NCSA Telnet 2.7 for Macintosh in vt220-8 mode:\
2775         :hs@:\
2776         :ds@:fs@:ts@:tc=ncsa:
2777 ncsa-m-ns|NCSA Telnet 2.6 for Macintosh in vt220-8 mode:\
2778         :hs@:\
2779         :ds@:fs@:ts@:tc=ncsa-m:
2780 # alternate -TD:
2781 # The documented function-key mapping refers to the Apple Extended Keyboard
2782 # (e.g., NCSA Telnet's F1 corresponds to a VT220 F6).  We use the VT220-style
2783 # codes, however, since the numeric keypad (VT100) PF1-PF4 are available on
2784 # some keyboards and many applications require these as F1-F4.
2786 ncsa-vt220|NCSA Telnet using vt220-compatible function keys:\
2787         :F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\
2788         :F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:\
2789         :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
2790         :k8=\E[19~:k9=\E[20~:k;=\E[21~:\
2791         :tc=ncsa:
2793 #### Pilot Pro Palm-Top
2796 # From: Jason Downs <downsj@downsj.com>, 15 Jun 1997 (Top Gun Telnet's author)
2797 pilot|tgtelnet|Top Gun Telnet on the Palm Pilot Professional:\
2798         :am:xn:\
2799         :co#39:li#16:\
2800         :bl=^G:cl=\Ec:cm=\Em%+ %+ :cr=^M:do=^J:ho=\Em  :kN=^L:kP=^K:\
2801         :kb=^H:kd=^J:kl=^H:le=^H:nw=\Em~ :se=\EB:sf=^J:so=\Eb:ta=^I:
2803 ######## NON-UNIX CONSOLES
2806 #### MGR
2808 # MGR is a Bell Labs window system lighter-weight than X.
2809 # These entries describe MGR's xterm-equivalent. 
2810 # They are courtesy of Vincent Broman <broman@nosc.mil> 14 Jan 1997 
2813 mgr|Bellcore MGR (non X) window system terminal emulation:\
2814         :am:km:\
2815         :AL=\E%da:DC=\E%dE:DL=\E%dd:IC=\E%dA:RA=\E5S:SA=\E5s:\
2816         :al=\Ea:bl=^G:cd=\EC:ce=\Ec:cl=^L:cm=\E%r%d;%dM:cr=^M:\
2817         :cs=\E%d;%dt:dc=\EE:dl=\Ed:do=\Ef:ei=:hd=\E1;2f:hu=\E1;2u:\
2818         :ic=\EA:im=:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
2819         :md=\E2n:me=\E0n:mr=\E1n:nd=\Er:nw=^M^J:se=\E0n:sf=^J:\
2820         :so=\E1n:ta=^I:ue=\E0n:up=\Eu:us=\E4n:ve=\Eh:vi=\E9h:\
2821         :vs=\E0h:
2822 mgr-sun|Mgr window with Sun keyboard:\
2823         :%1=\E[207z:%6=\E[198z:&8=\E[195z:@0=\E[200z:@5=\E197z:\
2824         :@7=\E[220z:@8=\E[250z:F1=\E[234z:F2=\E[235z:K1=\E[214z:\
2825         :K2=\E[218z:K3=\E[216z:K4=\E[220z:K5=\E[222z:k1=\E[224z:\
2826         :k2=\E[225z:k3=\E[226z:k4=\E[227z:k5=\E[228z:k6=\E[229z:\
2827         :k7=\E[230z:k8=\E[231z:k9=\E[232z:k;=\E[233z:kN=\E[222z:\
2828         :kP=\E[216z:kh=\E[214z:\
2829         :tc=mgr:
2830 mgr-linux|Mgr window with Linux keyboard:\
2831         :@7=\E[4~:F1=\E[23~:F2=\E[24~:K1=\E[H:K2=\E[G:K3=\E[5~:\
2832         :K4=\E[Y:K5=\E[6~:k0=\E[[J:k1=\E[[A:k2=\E[[B:k3=\E[[C:\
2833         :k4=\E[[D:k5=\E[[E:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
2834         :k9=\E[20~:k;=\E[21~:kD=\E[3~:kN=\E[6~:kP=\E[5~:kh=\E[1~:tc=mgr:
2836 #### BeOS
2838 # BeOS entry for Terminal program Seems to be almost ANSI
2839 beterm|BeOS Terminal:\
2840         :am:eo:mi:ms:xn:xo:\
2841         :Co#8:NC#5:co#80:it#8:li#25:pa#64:\
2842         :&7=^Z:@7=\E[4~:AB=\E[4%p1%dm:AF=\E[3%p1%dm:AL=\E[%dL:\
2843         :DC=\E[%dP:DL=\E[%dM:F1=\E[21~:F2=\E[22~:IC=\E[%d@:\
2844         :Sb=\E[%+(m:Sf=\E[%+^^m:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:\
2845         :ch=\E[%i%dG:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
2846         :cs=\E[%i%d;%dr:cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=^J:\
2847         :ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:k1=\E[11~:k2=\E[12~:\
2848         :k3=\E[13~:k4=\E[14~:k5=\E[15~:k6=\E[16~:k7=\E[17~:\
2849         :k8=\E[18~:k9=\E[19~:k;=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:\
2850         :kP=\E[5~:kb=^H:kd=\E[B:kh=\E[1~:kl=\E[D:kr=\E[C:ku=\E[A:\
2851         :le=^H:md=\E[1m:me=\E[0;10m:mr=\E[7m:nd=\E[C:nw=^M^J:\
2852         :op=\E[m:r1=\Ec:rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:\
2853         :st=\EH:ta=^I:u6=\E[%i%d;%dR:u7=\E[6n:ue=\E[24m:up=\E[A:\
2854         :us=\E[4m:
2856 #### QNX
2859 # QNX 4.0 Console
2860 # Michael's original version of this entry had <am@>, :ti=\Ei:,
2861 # :te=\Eh\ER:; this was so terminfo applications could write the lower
2862 # right corner without triggering a scroll.  The ncurses terminfo library can
2863 # handle this case with the :ic: capability, and prefers :am: for better
2864 # optimization.  Bug: The <op> capability resets attributes.
2865 # From: Michael Hunter <mphunter@qnx.com> 30 Jul 1996
2866 # (removed: :sa=%?%p1%t\E<%;%p2%t\E[%;%p3%t\E(%;%p4%t\E{%;%p6%t\E<%;,:)
2867 # (untranslatable capabilities removed to fit entry within 1023 bytes)
2868 # (sgr removed to fit entry within 1023 bytes)
2869 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
2870 qnx|qnx4|qnx console:\
2871         :km:mi:ms:xt:\
2872         :co#80:it#4:li#25:\
2873         :al=\EE:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:\
2874         :dc=\Ef:dl=\EF:do=^J:ei=:ho=\EH:ic=\Ee:im=:k1=\377\201:\
2875         :k2=\377\202:k3=\377\203:k4=\377\204:k5=\377\205:\
2876         :k6=\377\206:k7=\377\207:k8=\377\210:k9=\377\211:\
2877         :kD=\377\254:kI=\377\253:kN=\377\252:kP=\377\242:\
2878         :kd=\377\251:kh=\377\240:kl=\377\244:kr=\377\246:\
2879         :ku=\377\241:le=^H:mb=\E{:md=\E<:me=\E}\E]\E>\E):mr=\E(:\
2880         :nd=\EC:rp=\Eg%r%+ %.:se=\E):sf=^J:so=\E(:sr=\EI:ta=^I:\
2881         :te=\Eh\ER:ti=\Ei:ue=\E]:up=\EA:us=\E[:ve=\Ey1:vi=\Ey0:\
2882         :vs=\Ey2:
2884 # From: Federico Bianchi <bianchi@pc-arte2.arte.unipi.it>, 1 Jul 1998
2885 # (esr: commented out <scp> and :te: to avoid warnings.)
2886 # (TD: derive from original qnx4 entry)
2887 qnxt2|qnx 2.15 serial terminal:\
2888         :am:\
2889         :!3@:%h@:%j@:&7@:Sb@:Sf@:dc@:ei=:ic@:im=:rp@:se=\E>:so=\E<:te@:ti@:\
2890         :ve@:vi@:vs@:\
2891         :tc=qnx4:
2893 #### DOS ANSI.SYS variants
2895 # This completely describes the sequences specified in the DOS 2.1 ANSI.SYS
2896 # documentation (except for the keyboard key reassignment feature, which
2897 # doen't fit the <pfkey> model well).  The klone+acs sequences were valid
2898 # though undocumented.  The <pfkey> capability is untested but should work for
2899 # keys F1-F10 (%p1 values outside this range will yield unpredictable results).
2900 # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 7 1995
2901 ansi.sys-old|ANSI.SYS under PC-DOS 2.1:\
2902         :am:bs:mi:ms:xo:\
2903         :co#80:li#25:\
2904         :RA=\E[?7l:SA=\E[?7h:ce=\E[k:cl=\E[2J:cm=\E[%i%d;%dH:\
2905         :do=\E[B:ho=\E[H:is=\E[m\E[?7h:kd=^J:kh=^^:kl=^H:kr=^L:\
2906         :ku=^K:le=^H:nd=\E[C:pk=\E[0;%+:;"%s":rc=\E[u:sc=\E[s:\
2907         :u6=\E[%i%d;%dR:u7=\E[6n:up=\E[A:\
2908         :tc=klone+color:tc=klone+sgr:
2909 ansi.sys|ANSI.SYS 3.1 and later versions:\
2910         :ce=\E[K:tc=ansi.sys-old:
2913 # Define IBM PC keypad keys for vi as per MS-Kermit while using ANSI.SYS.
2914 # This should only be used when the terminal emulator cannot redefine the keys.
2915 # Since redefining keys with ansi.sys also affects PC-DOS programs, the key
2916 # definitions must be restored.  If the terminal emulator is quit while in vi
2917 # or others using :ks:/:ke:, the keypad will not be defined as per PC-DOS.
2918 # The PgUp and PgDn are prefixed with ESC so that tn3270 can be used on Unix
2919 # (^U and ^D are already defined for tn3270).  The ESC is safe for vi but it
2920 # does "beep".  ESC ESC i is used for Ins to avoid tn3270 ESC i for coltab.
2921 # Note that :kl: is always BS, because PC-dos can tolerate this change.
2922 # Caution: vi is limited to 256 string bytes, longer crashes or weirds out vi.
2923 # Consequently the End keypad key could not be set (it is relatively safe and
2924 # actually useful because it sends ^@ O, which beeps and opens a line above).
2925 ansi.sysk|ansisysk|PC-DOS 3.1 ANSI.SYS with keypad redefined for vi:\
2926         :is=U2 PC-DOS 3.1 ANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p:\
2927         :ke=\E[;71;0;71p\E[;72;0;72p\E[;73;0;73p\E[;77;0;77p\E[;80;0;80p\E[;81;0;81p\E[;82;0;82p\E[;83;0;83p:\
2928         :ks=\E[;71;30p\E[;72;11p\E[;73;27;21p\E[;77;12p\E[;80;10p\E[;81;27;4p\E[;82;27;27;105p\E[;83;127p:\
2929         :tc=ansi.sys:
2931 # Adds ins/del line/character, hence vi reverse scrolls/inserts/deletes nicer.
2932 nansi.sys|nansisys|PC-DOS Public Domain NANSI.SYS:\
2933         :al=\E[1L:dc=\E[1P:dl=\E[1M:ei=:ic=\E[1@:im=:\
2934         :is=U3 PC-DOS Public Domain NANSI.SYS 9-23-86\n:tc=ansi.sys:
2936 # See ansi.sysk and nansi.sys above.
2937 nansi.sysk|nansisysk|PC-DOS Public Domain NANSI.SYS with keypad redefined for vi:\
2938         :al=\E[1L:dc=\E[1P:dl=\E[1M:ei=:ic=\E[1@:im=:\
2939         :is=U4 PC-DOS Public Domain NANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p:tc=ansi.sysk:
2941 #### OS/2
2944 # Except for the "-emx" suffixes, these are as distributed with EMX 0.9b,
2945 # a Unix-style environment used on OS/2.  (Note that the suffix makes some
2946 # names longer than 14 characters, the nominal maximum).
2948 # Removed: rmacs=\E[10m, smacs=\E[11m, because OS/2 does not implement acs.
2949 ansi-emx|ANSI.SYS color:\
2950         :am:eo:mi:ms:ut:xn:xo:\
2951         :Co#16:co#80:it#8:li#25:pa#64:\
2952         :&7=^Z:AB=\E[4%p1%dm:AF=\E[3%p1%dm:DC=\E[%dp:IC=\E[%d@:\
2953         :K2=\E[G:S2=\E[11m:S3=\E[10m:bl=^G:cd=\E[J:ce=\E[K:\
2954         :cl=\E[1;33;44m\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:\
2955         :do=^J:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:k0=\0D:k1=\0;:\
2956         :k2=\0<:k3=\0=:k4=\0>:k5=\0?:k6=\0@:k7=\0A:k8=\0B:k9=\0C:\
2957         :kH=\0O:kI=\0R:kN=\0Q:kP=\0I:kb=^H:kd=\0P:kh=\0G:kl=\0K:\
2958         :kr=\0M:ku=\0H:le=^H:mb=\E[5m:md=\E[1m:\
2959         :me=\E[0m\E[1;33;44m:mr=\E[5;37;41m:nd=\E[C:nw=^M^J:\
2960         :r1=\Ec:se=\E[0;44m\E[1;33m:sf=^J:so=\E[0;31;47m:st=\EH:\
2961         :ta=^I:u8=\E[?6c:u9=\E[c:ue=\E[0;44m\E[1;33m:up=\E[A:\
2962         :us=\E[1;31;44m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:
2963 ansi-color-2-emx|ANSI.SYS color 2:\
2964         :am:eo:mi:ms:ut:xn:xo:\
2965         :Co#16:co#80:it#8:li#25:pa#64:\
2966         :&7=^Z:AB=\E[4%p1%dm:AF=\E[3%p1%dm:DC=\E[%dp:IC=\E[%d@:\
2967         :K2=\E[G:S2=\E[11m:S3=\E[10m:bl=^G:cd=\E[J:ce=\E[K:\
2968         :cl=\E[0;37;44m\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:\
2969         :do=^J:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:k0=\0D:k1=\0;:\
2970         :k2=\0<:k3=\0=:k4=\0>:k5=\0?:k6=\0@:k7=\0A:k8=\0B:k9=\0C:\
2971         :kH=\0O:kI=\0R:kN=\0Q:kP=\0I:kb=^H:kd=\0P:kh=\0G:kl=\0K:\
2972         :kr=\0M:ku=\0H:le=^H:mb=\E[5m:md=\E[1m:me=\E[0;37;44m:\
2973         :mr=\E[1;37;46m:nd=\E[C:nw=^M^J:r1=\Ec:se=\E[0;37;44m:\
2974         :sf=^J:so=\E[1;37;46m:st=\EH:ta=^I:u8=\E[?6c:u9=\E[c:\
2975         :ue=\E[0;37;44m:up=\E[A:us=\E[1;36;44m:vb=\E[?5h\E[?5l:\
2976         :ve=\E[?25h:vi=\E[?25l:
2977 ansi-color-3-emx|ANSI.SYS color 3:\
2978         :am:eo:mi:ms:ut:xn:xo:\
2979         :Co#16:co#80:it#8:li#25:pa#64:\
2980         :&7=^Z:AB=\E[4%p1%dm:AF=\E[3%p1%dm:DC=\E[%dp:IC=\E[%d@:\
2981         :K2=\E[G:S2=\E[11m:S3=\E[10m:bl=^G:cd=\E[J:ce=\E[K:\
2982         :cl=\E[0;37;40m\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:\
2983         :do=^J:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:k0=\0D:k1=\0;:\
2984         :k2=\0<:k3=\0=:k4=\0>:k5=\0?:k6=\0@:k7=\0A:k8=\0B:k9=\0C:\
2985         :kH=\0O:kI=\0R:kN=\0Q:kP=\0I:kb=^H:kd=\0P:kh=\0G:kl=\0K:\
2986         :kr=\0M:ku=\0H:le=^H:mb=\E[5m:md=\E[1m:me=\E[0;10m:\
2987         :mr=\E[1;37;46m:nd=\E[C:nw=^M^J:r1=\Ec:se=\E[0;37;40m:\
2988         :sf=^J:so=\E[1;37;46m:st=\EH:ta=^I:u8=\E[?6c:u9=\E[c:\
2989         :ue=\E[0;37;40m:up=\E[A:us=\E[0;36;40m:vb=\E[?5h\E[?5l:\
2990         :ve=\E[?25h:vi=\E[?25l:
2991 mono-emx|stupid monochrome ansi terminal with only one kind of emphasis:\
2992         :am:\
2993         :co#80:it#8:li#24:\
2994         :K2=\E[G:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:do=\E[B:\
2995         :ho=\E[H:k0=\0D:k1=\0;:k2=\0<:k3=\0=:k4=\0>:k5=\0?:k6=\0@:\
2996         :k7=\0A:k8=\0B:k9=\0C:kH=\0O:kI=\0R:kN=\0Q:kP=\0I:kb=^H:\
2997         :kd=\0P:kh=\0G:kl=\0K:kr=\0M:ku=\0H:le=\E[D:me=\E[0m:\
2998         :mr=\E[7m:nd=\E[C:nw=^M^J:ta=^I:up=\E[A:
3000 # Use this for cygwin32 (tested with beta 19.1)
3001 # underline is colored bright magenta
3002 # shifted kf1-kf12 are kf11-kf22
3003 cygwin|ansi emulation for cygwin32:\
3004         :@7=\E[4~:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
3005         :F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
3006         :FA=\E[34~:RA@:SA@:k1=\E[[A:k2=\E[[B:k3=\E[[C:k4=\E[[D:\
3007         :k5=\E[[E:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
3008         :k;=\E[21~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kd=\E[B:\
3009         :kh=\E[1~:kl=\E[D:kr=\E[C:ku=\E[A:\
3010         :tc=ansi.sys:
3013 #### Windows NT
3015 # This entry fits the Windows NT console when the _POSIX_TERM environment
3016 # variable is set to 'on'.  While the Windows NT POSIX console is seldom used,
3017 # the Telnet client supplied with both the Windows for WorkGroup 3.11 TCP/IP
3018 # stack and the Win32 (i.e., Windows 95 and Windows NT 3.1 or later) operating
3019 # systems is not, and (surprise!) they match very well.
3021 # See:  MS Knowledge Base item Q108581, dated 13-MAY-1997, titled "Setting Up
3022 # VI POSIX Editor for Windows NT 3.1".  True to Microsoft form, not only
3023 # are the installation instructions a pile of mind-numbing bureaucratese,
3024 # but the termcap entry is actually broken and unusable as given; the :do:
3025 # capability is misspelled "d".
3027 # To use this, you need to a bunch of environment variables: 
3029 # SET _POSIX_TERM=on
3030 # SET TERM=ansi
3031 # SET TERMCAP=location of termcap file in POSIX file format
3032 # which is case-sensitive.
3033 # e.g. SET TERMCAP=//D/RESKIT35/posix/termcap
3034 # SET TMP=//C/TEMP
3036 # Important note: setting the TMP environment variable in POSIX style renders
3037 # it incompatible with a lot of other applications, including Visual C++. So
3038 # you should have a separate command window just for vi. All the other
3039 # variables may be permanently set in the Control Panel\System applet. 
3041 # You can find out more about the restrictions of this facility at
3042 # <http://www.nentug.org/unix-to-nt/ntposix.htm>.
3044 # From: Federico Bianchi <bianchi@magna.cisid.unipi.it>, 15 Jan 1997
3045 ansi-nt|psx_ansi|Microsoft Windows NT console POSIX ANSI mode:\
3046         :am:bw:ms:\
3047         :co#80:it#8:li#25:\
3048         :bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:cr=^M:do=^J:\
3049         :ho=\E[H:kb=^H:kd=\E[V:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
3050         :me=\E[0m:mr=\E[7m:nd=\E[C:nw=\r\E[S:rc=\E[u:sc=\E[s:\
3051         :se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:up=\E[A:
3052 # From: jew@venus.sunquest.com
3053 # Date: 19 Feb 93 23:41:07 GMT
3054 # Here's  a  combination of  ansi and  vt100 termcap
3055 # entries   that  works  nearly   perfectly  for  me
3056 # (Gateway 2000 Handbook and Microsoft Works 3.0):
3057 pcmw|PC running Microsoft Works:\
3058         :am:xn:\
3059         :co#80:it#8:li#24:vt#3:\
3060         :bl=^G:cd=50\E[J:ce=3\E[K:cl=50\E[;H\E[2J:\
3061         :cm=5\E[%i%d;%dH:cr=^M:ct=2\E[3g:do=^J:ho=\E[H:\
3062         :is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
3063         :kb=^H:kd=\EOB:kl=\EOD:kr=\EOC:ku=\EOA:le=^H:mb=2\E[5m:\
3064         :md=2\E[1m:me=2\E[m:mr=2\E[7m:nd=2\E[C:nw=5\r\ED:\
3065         :r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
3066         :rf=/usr/share/lib/tabset/vt100:sc=\E7:se=2\E[m:sf=5\ED:\
3067         :so=2\E[7m:sr=5\EM:st=2\EH:ta=^I:ue=2\E[m:up=2\E[A:\
3068         :us=2\E[4m:
3070 ######## COMMON TERMINAL TYPES
3072 # This section describes terminal classes and maker brands that are still
3073 # quite common, but have proprietary command sets not blessed by ANSI.
3076 #### Lear-Siegler (adm)
3078 # These guys are long since out of the terminals business, but
3079 # in 1995 many current terminals still have an adm type as one of their
3080 # emulations (usually their stupidest, and usually labeled adm3, though
3081 # these `adm3' emulations normally have adm3a+ capabilities).
3083 # WARNING: Some early ADM terminals (including the ADM3 and ADM5) had a 
3084 # `diagnostic feature' that sending them a ^G while pin 22 (`Ring Indicator')
3085 # was being held to ground would trigger a send of the top line on the screen.
3086 # A quick fix might be to drop back to a cheesy 4-wire cable with pin 22
3087 # hanging in the air. (Thanks to Eric Fischer, <eric@fudge.uchicago.edu>,
3088 # for clearing up this point.)
3091 adm1a|adm1|lsi adm1a:\
3092         :am:\
3093         :co#80:li#24:\
3094         :bl=^G:cl=\E;:cm=\E=%+ %+ :cr=^M:do=^J:ho=^^:le=^H:nd=^L:\
3095         :sf=^J:up=^K:
3096 adm2|lsi adm2:\
3097         :am:bs:\
3098         :co#80:li#24:\
3099         :al=\EE:bl=^G:cd=\EY:ce=\ET:cl=\E;:cm=\E=%+ %+ :cr=^M:\
3100         :dc=\EW:dl=\ER:do=^J:ei=:ho=^^:ic=\EQ:im=:kd=^J:kh=^^:kl=^H:\
3101         :kr=^L:ku=^K:le=^H:nd=^L:sf=^J:up=^K:
3102 # (adm3: removed obsolete ":ma=^K^P:" -- esr)
3103 adm3|lsi adm3:\
3104         :am:bs:\
3105         :co#80:li#24:\
3106         :bl=^G:cl=^Z:cr=^M:do=^J:le=^H:sf=^J:
3107 # The following ADM-3A switch settings are assumed for normal operation:
3108 #       SPACE           U/L_DISP        CLR_SCRN        24_LINE
3109 #       CUR_CTL         LC_EN           AUTO_NL         FDX
3110 # Other switches may be set for operator convenience or communication
3111 # requirements.  I recommend
3112 #       DISABLE_KB_LOCK LOCAL_OFF       103             202_OFF
3113 #       ETX_OFF         EOT_OFF
3114 # Most of these terminals required an option ROM to support lower case display.
3115 # Open the case and look at the motherboard; if you see an open 24-pin DIP
3116 # socket, you may be out of luck.
3118 # (adm3a: some capabilities merged in from BRl entry -- esr)
3119 adm3a|lsi adm3a:\
3120         :am:bs:\
3121         :co#80:li#24:\
3122         :bl=^G:cl=1\032:cm=\E=%+ %+ :cr=^M:do=^J:ho=^^:kd=^J:kl=^H:\
3123         :kr=^L:ku=^K:le=^H:ma=^K^P:nd=^L:nl=^J:r1=^N:rs=^N:sf=^J:\
3124         :up=^K:
3125 adm3a+|adm3a plus:\
3126         :kb=^H:tc=adm3a:
3127 # (adm5: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" & duplicate ":do=^J:" -- esr)
3128 adm5|lsi adm5:\
3129         :sg#1:\
3130         :bl=^G:cd=\EY:ce=\ET:cr=^M:do=^J:kb=^H:kh=^^:se=\EG:so=\EG:tc=adm3a+:
3131 # A lot of terminals other than adm11s use these.  Wherever you see
3132 # use=adm+sgr with some of its capabilities disabled, try the
3133 # disabled ones.  They may well work but not have been documented or
3134 # expressed in the using entry.  We'd like to cook up an :sa: but the
3135 # :ae:/:as: sequences of the using entries vary too much.
3136 adm+sgr|adm style highlight capabilities:\
3137         :me=\EG0:mk=\EG1:mr=\EG4:se=\EG0:so=\EG4:ue=\EG0:us=\EG8:
3138 # LSI ADM-11 from George William Hartwig, Jr. <geo@BRL-TGR.ARPA> via BRL
3139 # Status line additions from Stephen J. Muir <stephen%comp.lancs.ac.uk@ucl-cs>
3140 # :kh: from <stephen%comp.lancs.ac.uk@ucl-cs.arpa>.  :cl: could also
3141 # be ^Z, according to his entry.
3142 # (adm11: :us:=\EG4 was obviously erroneous because it also said
3143 # :mr:=\EG4.  Looking at other ADMs confirms this -- esr)
3144 adm11|LSI ADM-11:\
3145         :am:bs:hs:\
3146         :co#80:kn#8:li#24:\
3147         :bl=^G:cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :cr=^M:do=^J:ds=\Eh:\
3148         :fs=\E(\r:ho=^^:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
3149         :k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:kb=^H:kd=^J:kh=^^:\
3150         :kl=^H:kr=^L:ku=^K:le=^H:mb=\EG2:nd=^L:nl=^J:nw=^M^J:ta=^I:\
3151         :ts=\EF\E):up=^K:\
3152         :tc=adm+sgr:
3153 # From: Andrew Scott Beals <bandy@lll-crg.ARPA>
3154 # Corrected by Olaf Siebert <rhialto@polder.ubc.kun.nl>, 11 May 1995
3155 # Supervisor mode info by Ari Wuolle, <awuolle@delta.hut.fi>, 27 Aug 1996
3156 # (adm12: removed obsolete ":kn:ma=j^Jk^P^K^Pl ^R^L^L :".  This formerly had
3157 # :is:=\Eq but that looked wrong; this :is: is from Dave Yost <esquire!yost>
3158 # via BRL.  That entry asserted :sg#1:, but I've left that out because 
3159 # neither earlier nor later ADMSs have it -- esr)
3161 # You will need to get into the supervisor setup before you can set
3162 # baudrate etc. for your ADM-12+. Press Shift-Ctrl-Setup and you should
3163 # see a lot more setup options.
3165 # While in supervisor setup you can also use following codes:
3167 # Ctrl-P Personality character selections (configure for example what
3168 #        arrow keys send, if I recall correctly)
3169 # Ctrl-T tabs 1-80   use left&right to move and up to set and
3170 # Ctrl-V tabs 81-158 down to clear tab. Shift-Ctrl-M sets right margin at cursor
3171 # Ctrl-B Binary setup (probably not needed. I think that everything can
3172 #        be set using normal setup)
3173 # Ctrl-A Answerback mode (enter answerback message)
3174 # Ctrl-U User friendly mode (normal setup)
3175 # Ctrl-D Defaults entire setup and function keys from EPROM tables
3176 # Ctrl-S Save both setup and functions keys. Takes from 6 to 10 seconds.
3177 # Ctrl-R Reads both setup and functions keys from NVM.
3178 # Shift-Ctrl-X Unlock keyboard and cancel received X-OFF status
3180 # ADM-12+ supports hardware handshaking, but it is DTR/CTS as opposed to
3181 # RTS/CTS used nowadays with virtually every modem and computer. 19200
3182 # bps works fine with hardware flow control.
3184 # The following null-modem cable should fix this and enable you to use
3185 # RTS/CTS handshaking (which Linux supports, use CRTSCTS setting). Also
3186 # set ADM-12+ for DTR handshaking from supervisor setup.
3188 # PC Serial   ADM-12+
3189 #  --------   -------
3190 #         2 - 3
3191 #         3 - 2
3192 #         4 - 5
3193 #         5 - 20
3194 #       6,8 - 4
3195 #         7 - 7
3196 #        20 - 6,8
3198 adm12|lsi adm12:\
3199         :am:bs:mi:pt:\
3200         :co#80:it#8:li#24:\
3201         :al=\EE:bl=^G:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:ct=\E0:\
3202         :dc=\EW:dl=\ER:do=^J:ei=\Er:ho=^^:ic=\EQ:im=\Eq:\
3203         :is=\E0        \E1        \E1        \E1        \E1        \E1        \E1        \E1        \E1:\
3204         :k0=^A0\r:k1=^A1\r:k2=^A2\r:k3=^A3\r:k4=^A4\r:k5=^A5\r:\
3205         :k6=^A6\r:k7=^A7\r:k8=^A8\r:k9=^A9\r:kd=^J:kl=^H:kr=^L:\
3206         :ku=^K:le=^H:nd=^L:st=\E1:up=^K:\
3207         :tc=adm+sgr:
3208 # (adm20: removed obsolete ":kn#7:" -- esr)
3209 adm20|lear siegler adm20:\
3210         :am:bs:\
3211         :co#80:it#8:li#24:\
3212         :al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=^Z:\
3213         :cm=\E=%i%r%+^_%+^_:cr=^M:dc=\EW:dl=\ER:ei=:ho=^^:ic=\EQ:\
3214         :im=:k1=^A:k2=^B:k3=^W:k4=^D:k5=^E:k6=^X:k7=^Z:le=^H:me=\E(:\
3215         :nd=^L:se=\E(:so=\E):ta=^I:up=^K:
3216 adm21|lear siegler adm21:\
3217         :sg#1:\
3218         :al=30*\EE:bl=^G:cd=\EY:ce=\ET:cr=^M:dc=\EW:dl=30*\ER:do=^J:\
3219         :ei=:ic=\EQ:im=:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:mk@:sf=^J:\
3220         :tc=adm+sgr:tc=adm3a:
3221 # (adm22: ":em=:" was an obvious typo for ":ei=:"; also,
3222 # removed obsolete ":kn#7:ma=j^Jk^P^K^Pl ^R^L^L :";
3223 # removed bogus-looking \200 from before :cm:. -- esr)
3224 adm22|lsi adm22:\
3225         :am:bs:\
3226         :co#80:li#24:\
3227         :al=\EE:bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=\E+:cm=\E=%+ %+ :\
3228         :cr=^M:dc=\EW:dl=\ER:do=^J:ei=:ho=^^:ic=\EQ:im=:\
3229         :is=\E%\014\014\014\016\003\0\003\002\003\002\0\0\0\0\0\0\0\0\0\0\0:\
3230         :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
3231         :k7=^AF\r:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:l1=F1:l2=F2:\
3232         :l3=F3:l4=F4:l5=F5:l6=F6:l7=F7:le=^H:me=\E(:nd=^L:se=\E(:\
3233         :so=\E):ta=\Ei:up=^K:
3234 # ADM 31 DIP Switches
3236 # This information comes from two versions of the manual for the
3237 # Lear-Siegler ADM 31.
3239 # Main board:
3240 #                  rear of case
3241 #   +-||||-------------------------------------+
3242 #   + S1S2                              ||S    +
3243 #   +                                   ||3    +
3244 #   +                                          +
3245 #   +                                ||S       +
3246 #   +                                ||4       +
3247 #   +                                          +
3248 #   +                                          +
3249 #   +                                          +
3250 #   +                                          +
3251 #   +                                          +
3252 # +-+                                          +-+
3253 # +                                              +
3254 # +                               S5 S6 S7       +   
3255 # +                               == == ==       +
3256 # +----------------------------------------------+
3257 #            front of case (keyboard)
3259 #  S1 - Data Rate - Modem
3260 #  S2 - Data Rate - Printer
3261 # ------------------------
3262 # Data Rate   Setting
3263 # -------------------
3264 # 50          0 0 0 0
3265 # 75          1 0 0 0
3266 # 110         0 1 0 0
3267 # 134.5       1 1 0 0
3268 # 150         0 0 1 0
3269 # 300         1 0 1 0
3270 # 600         0 1 1 0
3271 # 1200        1 1 1 0
3272 # 1800        0 0 0 1
3273 # 2000        1 0 0 1
3274 # 2400        0 1 0 1
3275 # 3600        1 1 0 1
3276 # 4800        0 0 1 1
3277 # 7200        1 0 1 1
3278 # 9600        0 1 1 1
3279 # x           1 1 1 1
3281 # S3 - Interface/Printer/Attributes
3282 # ---------------------------------
3283 # Printer Busy Control
3284 # sw1   sw2   sw3
3285 # ---------------
3286 # off   off   off   Busy not active, CD disabled
3287 # off   off   on    Busy not active, CD enabled
3288 # off   on    off   Busy active on J5-20, CD disabled
3289 # on    off   off   Busy active on J5-19, CD disabled - Factory Set.
3290 # on    off   on    Busy active on J5-19, CD enabled
3292 # sw4   Used in conjuction with S4 for comm interface control - Fact 0
3294 # sw5   Secondary Channel Control (Hardware implementation only) - Fact 0
3296 # sw6   ON enables printer BUSY active LOW - Factory Setting
3297 #       OFF enables printer BUSY active HIGH - If set to this, ADM31 senses
3299 # sw7   ON - steady cursor - Factory Setting
3300 #       OFF - blinking cursor
3302 # sw8   ON causes selected attribute character to be displayed
3303 #       OFF causes SPACE to be displayed instead - Factory Setting
3305 # S4 - Interface
3306 # --------------
3307 # Modem Interface
3308 # S3    S4    S4    S4    S4
3309 # sw4   sw1   sw2   sw3   sw4
3310 # ---------------------------
3311 # OFF   ON    OFF   ON    OFF   Enable RS-232C interface, Direct Connect and
3312 #                               Current Loop disabled - Factory Setting
3313 # ON    ON    OFF   ON    OFF   Enable Current Loop interface, Direct Connect
3314 #                               disabled
3315 # OFF   OFF   ON    OFF   ON    Enable Direct Connect interface, RS-232C and
3316 #                               Current Loop Disabled
3318 # sw5   ON disables dot stretching mode - Factory Setting
3319 #       OFF enables dot stretching mode
3320 # sw6   ON enables blanking function
3321 #       OFF enables underline function - Factory Setting
3322 # sw7   ON causes NULLS to be displayed as NULLS
3323 #       OFF causes NULLS to be displayed as SPACES - Factory Setting
3325 # S5 - Word Structure
3326 # -------------------
3327 # sw1   ON enables BREAK key - Factory Setting
3328 #       OFF disables BREAK key
3329 # sw2   ON selects 50Hz monitor refresh rate
3330 #       OFF selects 60Hz monitor refresh rate - Factory Setting
3332 # Modem Port Selection
3333 # sw3   sw4   sw5
3334 # ---------------
3335 # ON    ON    ON    Selects 7 DATA bits, even parity, 2 STOP bits
3336 # OFF   ON    ON    Selects 7 DATA bits, odd  parity, 2 STOP bits
3337 # ON    OFF   ON    Selects 7 DATA bits, even parity, 1 STOP bit - Factory Set.
3338 # OFF   OFF   ON    Selects 7 DATA bits, odd  parity, 1 STOP bit
3339 # ON    ON    OFF   Selects 8 DATA bits, no   parity, 2 STOP bits
3340 # OFF   ON    OFF   Selects 8 DATA bits, no   parity, 1 STOP bit
3341 # ON    OFF   OFF   Selects 8 DATA bits, even parity, 1 STOP bit
3342 # OFF   OFF   OFF   Selects 8 DATA bits, odd  parity, 1 STOP bit
3344 # sw6   ON  sends bit 8 a 1 (mark)
3345 #       OFF sends bit 8 as 0 (space) - Factory Setting
3346 # sw7   ON  selects Block Mode
3347 #       OFF selects Conversation Mode - Factory Setting
3348 # sw8   ON  selects Full Duplex operation
3349 #       OFF selects Half Duplex operation - Factory Setting
3351 # S6 - Printer
3352 # ------------
3353 # sw1, sw2, sw6, sw7   Reserved - Factory 0
3355 # Printer Port Selection
3356 # same as Modem above, bit 8 (when 8 DATA bits) is always = 0
3358 # sw8   ON   enables Printer Port
3359 #       OFF disables Printer Port - Factory Setting
3361 # S7 - Polling Address
3362 # --------------------
3363 # sw1-7 Establish ASCII character which designates terminal polling address
3364 #       ON  = logic 0
3365 #       OFF = logic 1 - Factory Setting
3366 # sw8   ON   enables Polling Option
3367 #       OFF disables Polling Option - Factory Setting
3370 # On some older adm31s, S4 does not exist, and S5-sw6 is not defined.
3372 # This adm31 entry uses underline as the standout mode.
3373 # If the adm31 gives you trouble with standout mode, check the DIP switch in
3374 # position 6, bank @c11, 25% from back end of the circuit board.  Should be
3375 # OFF.  If there is no such switch, you have an old adm31 and must use oadm31.
3376 # (adm31: removed obsolete ":ma=j^Jk^P^K^Pl ^R^L^L :" -- esr)
3377 adm31|lsi adm31 with sw6 set for underline mode:\
3378         :am:bs:mi:\
3379         :co#80:li#24:\
3380         :al=\EE:bl=^G:cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :cr=^M:\
3381         :dc=\EW:dl=\ER:do=^J:ei=\Er:ho=^^:im=\Eq:is=\Eu\E0:k0=^A0\r:\
3382         :k1=^A1\r:k2=^A2\r:k3=^A3\r:k4=^A4\r:k5=^A5\r:k6=^A6\r:\
3383         :k7=^A7\r:k8=^A8\r:k9=^A9\r:kd=^J:kl=^H:kr=^L:ku=^K:le=^H:\
3384         :me=\EG0:nd=^L:se=\EG0:sf=^J:so=\EG1:ue=\EG0:up=^K:us=\EG1:
3385 adm31-old|o31|old adm31:\
3386         :so=\EG4:ue@:us@:tc=adm31:
3387 # LSI ADM-36 from Col. George L. Sicherman <gloria!colonel> via BRL
3388 adm36|LSI ADM36:\
3389         :bs:pt:\
3390         :kn#4:\
3391         :if=/usr/lib/tabset/vt100:\
3392         :is=\E<\E>\E[6;?2;?7;?8h\E[4;20;?1;?3;?4;?5;?6;?18;?19l:tc=vt100:
3393 # (adm42: removed obsolete ":ma=^K^P:" -- esr)
3394 adm42|lsi adm42:\
3395         :am:bs:\
3396         :co#80:li#24:\
3397         :al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E;:cm=\E=%+ %+ :\
3398         :cr=^M:dc=\EW:dl=\ER:do=^J:ei=\Er:im=\Eq:ip=:kd=^J:kh=^^:\
3399         :kl=^H:kr=^L:ku=^K:le=^H:mk@:nd=^L:pc=\177:sf=^J:ta=^I:ue@:\
3400         :up=^K:us@:vs=\EC\E3 \E3(:\
3401         :tc=adm+sgr:
3402 # The following termcap for the Lear Siegler ADM-42 leaves the 
3403 # "system line" at the bottom of the screen blank (for those who 
3404 # find it distracting otherwise)
3405 adm42-ns|lsi adm-42 with no system line:\
3406         :al=\EE\EF \011:bt=\EI\EF \011:cd=\EY\EF \011:\
3407         :ce=\ET\EF \011:cl=\E;\EF \011:cm=\E=%+ %+ \EF \011:\
3408         :dc=\EW\EF \011:dl=\ER\EF \011:ei=\Er\EF \011:\
3409         :im=\Eq\EF \011:tc=adm42:
3410 # ADM 1178 terminal -- rather like an ADM-42.  Manual is dated March 1 1985.
3411 # The insert mode of this terminal is commented out because it's broken for our
3412 # purposes in that it will shift the position of every character on the page,
3413 # not just the cursor line!
3414 # From: Michael Driscoll <fenris@lightspeed.net> 10 July 1996
3415 adm1178|1178|lsi adm1178:\
3416         :am:\
3417         :co#80:li#24:sg#1:\
3418         :al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:cm=\E=%+ %+ :\
3419         :cr=^M:dc=\EW:dl=\ER:do=^J:ho=^^:ip=6*:kb=^H:kd=^J:kl=^H:\
3420         :le=^H:md=\E(:me=\E):mr=\EG4:nd=^L:nw=^M^J:pc=\177:se=\EG0:\
3421         :sf=^J:so=\EG4:ta=^I:ue=\EG0:up=^K:us=\EG1:vs=\EC\E3 \E3(:
3423 #### Qume (qvt)
3425 #       Qume, Inc.
3426 #       3475-A North 1st Street
3427 #       San Jose CA 95134
3428 #       Vox: (800)-457-4447
3429 #       Fax: (408)-473-1510
3430 #       Net: josed@techsupp.wyse.com (Jose D'Oliveira)
3432 # Qume was bought by Wyse, but still (as of early 1995) has its own support
3433 # group and production division.
3435 # Discontinued Qume models:
3437 # The qvt101 and qvt102 listed here are long obsolete; so is the qvt101+
3438 # built to replace them, and a qvt119+ which was a 101+ with available wide
3439 # mode (132 columns).  There was a qvt103 which added vt100/vt131 emulations
3440 # and an ANSI-compatible qvt203 that replaced it.  Qume started producing
3441 # ANSI-compatible terminals with the qvt323 and qvt61.
3443 # Current Qume models (as of February 1995):
3445 # All current Qume terminals have ANSI-compatible operation modes.
3446 # Qume is still producing the qvt62, which features emulations for other
3447 # popular lines such as ADDS, and dual-host capabilities.  The qvt82 is
3448 # designed for use as a SCO ANSI terminal.  The qvt70 is a color terminal
3449 # with many emulations including Wyse370, Wyse 325, etc.  Their newest
3450 # model is the qvt520, which is vt420-compatible.
3452 # There are some ancient printing Qume terminals under `Daisy Wheel Printers'
3454 # If you inherit a Qume without docs, try Ctrl-Shift-Setup to enter its
3455 # setup mode.  Shift-s should be a configuration save to NVRAM.
3457 qvt101|qvt108|qume qvt 101 and QVT 108:\
3458         :sg#1:tc=qvt101+:
3460 # This used to have :vs=\E.2: but no :ve: or :vi:.  The BSD termcap
3461 # file had :vs=\EM4 \200\200\200:.  I've done the safe thing and yanked 
3462 # both. The :mr: is from BSD, which also claimed bold=\E( and dim=\E).
3463 # What seems to be going on here is that this entry was designed so that
3464 # the normal highlight is bold and standout is dim plus something else
3465 # (reverse-video maybe?  But then, are there two :mr: sequences?)  
3466 qvt101+|qvt101p|qume qvt 101 PLUS product:\
3467         :am:bw:hs:ul:\
3468         :co#80:li#24:sg#0:\
3469         :al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:\
3470         :ct=\E3:dc=\EW:dl=\ER:do=^J:ds=\Eg\Ef\r:ei=:fs=^M:ho=^^:\
3471         :ic=\EQ:im=:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
3472         :k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:kA=\EE:\
3473         :kB=\EI:kE=\ET:kI=\EQ:kL=\ER:kS=\EY:kb=^H:kd=^J:kh=^^:kl=^H:\
3474         :kr=^L:ku=^K:le=^H:mk@:nd=^L:pf=\EA:po=\E@:se=\E(:sf=^J:\
3475         :so=\E0P\E):st=\E1:ta=^I:ts=\Eg\Ef:up=^K:vb=\Eb\Ed:ve=\E.4:\
3476         :tc=adm+sgr:
3477 qvt102|qume qvt 102:\
3478         :ve=\E.:tc=qvt101:
3479 # (qvt103: added <rmam>/<smam> based on init string -- esr)
3480 qvt103|qume qvt 103:\
3481         :am:xn:xo:\
3482         :co#80:it#8:li#24:vt#3:\
3483         :DO=\E[%dB:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
3484         :UP=\E[%dA:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
3485         :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:do=^J:\
3486         :ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:\
3487         :ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
3488         :mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
3489         :r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
3490         :..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m:\
3491         :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
3492         :up=\E[A:us=\E[4m:
3493 qvt103-w|qume qvt103 132 cols:\
3494         :co#132:li#24:\
3495         :r2=\E>\E[?3h\E[?4l\E[?5l\E[?8h:tc=qvt103:
3496 qvt119+|qvt119p|qvt119|qume qvt 119 and 119PLUS terminals:\
3497         :am:hs:mi:ms:\
3498         :co#80:li#24:sg#0:\
3499         :al=\EE:bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=\E*1:cm=\E=%+ %+ :\
3500         :cr=^M:ct=\E3:dc=\EW:dl=\ER:do=^J:ds=\Eg\Ef\r:ei=\Er:fs=^M:\
3501         :ho=^^:im=\Eq:is=\EDF\EC\EG0\Er\E(\E%EX:k0=^AI\r:\
3502         :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
3503         :k7=^AF\r:k8=^AG\r:k9=^AH\r:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:\
3504         :ku=^K:le=^H:nd=^L:pf=\EA:po=\E@:sf=^J:sr=\EJ:st=\E1:ta=^I:\
3505         :ts=\Eg\Ef:up=^K:us=\EG8:vb=\En0\En1:ve=\E.4:vs=\E.2:\
3506         :tc=adm+sgr:
3507 qvt119+-25|qvt119p-25|QVT 119 PLUS with 25 data lines:\
3508         :li#25:tc=qvt119+:
3509 qvt119+-w|qvt119p-w|qvt119-w|QVT 119 and 119 PLUS in 132 column mode:\
3510         :co#132:\
3511         :is=\EDF\EC\EG0\Er\E(\E%\EX\En4:tc=qvt119+:
3512 qvt119+-25-w|qvt119p-25-w|qvt119-25-w|QVT 119 and 119 PLUS 132 by 25:\
3513         :li#25:tc=qvt119+:
3514 qvt203|qvt203+|qume qvt 203 Plus:\
3515         :al=\E[L:dc=\E[P:dl=\E[M:ei=\E[4l:im=\E[4h:ip=:k0=\E[29~:\
3516         :k1=\E[17~:k2=\E[18~:k3=\E[19~:k4=\E[20~:k5=\E[21~:\
3517         :k6=\E[23~:k7=\E[24~:k8=\E[25~:k9=\E[28~:sf=\n:\
3518         :tc=qvt103:
3519 qvt203-w|qvt203-w-am|qume qvt 203 PLUS in 132 cols (w/advanced video):\
3520         :co#132:li#24:\
3521         :r2=\E>\E[?3h\E[?4l\E[?5l\E[?8h:tc=qvt203:
3523 #       Since a command is present for enabling 25 data lines,
3524 #       a specific terminfo entry may be generated for the 203.
3525 #       If one is desired for the QVT 119 PLUS then 25 lines must
3526 #       be selected in the status line (setup line 9).
3528 qvt203-25|QVT 203 PLUS with 25 by 80 column mode:\
3529         :co#80:li#25:\
3530         :is=\E[=40h\E[?3l:tc=qvt203:
3531 qvt203-25-w|QVT 203 PLUS with 25 by 132 columns:\
3532         :co#132:li#25:\
3533         :r2=\E[?3h\E[=40h:tc=qvt203:
3535 #### Televideo (tvi)
3537 #       TeleVideo
3538 #       550 East Brokaw Road
3539 #       PO Box 49048    95161
3540 #       San Jose CA 95112
3541 #       Vox: (408)-954-8333
3542 #       Fax: (408)-954-0623
3545 # There are some tvi terminals that require incredible amounts of padding and
3546 # some that don't.  I'm assuming tvi912 and tvi920 are the old slow ones, and
3547 # tvi912b, tvi912c, tvi920b, tvi920c are the new ones that don't need padding.
3549 # All of these terminals (912 to 970 and the tvipt) are discontinued.  Newer
3550 # Televideo terminals are ANSI and PC-ANSI compatible.
3552 tvi803|televideo 803:\
3553         :cl=\E*:tc=tvi950:
3555 # Vanilla tvi910 -- W. Gish <cswarren@violet> 10/29/86
3556 # Switch settings are:
3558 # S1  1 2 3 4
3559 #     D D D D  9600
3560 #     D D D U    50
3561 #     D D U D    75
3562 #     D D U U   110
3563 #     D U D D   135
3564 #     D U D U   150
3565 #     D U U D   300
3566 #     D U U U   600
3567 #     U D D D  1200
3568 #     U D D U  1800
3569 #     U D U D  2400
3570 #     U D U U  3600
3571 #     U U D D  4800
3572 #     U U D U  7200
3573 #     U U U D  9600
3574 #     U U U U 19200
3576 # S1  5 6 7 8
3577 #     U D X D  7N1 (data bits, parity, stop bits) (X means ignored)
3578 #     U D X U  7N2
3579 #     U U D D  7O1
3580 #     U U D U  7O2
3581 #     U U U D  7E1
3582 #     U U U U  7E2
3583 #     D D X D  8N1
3584 #     D D X U  8N2
3585 #     D U D D  8O1
3586 #     D U U U  8E2
3588 # S1  9  Autowrap
3589 #     U  on
3590 #     D  off
3592 # S1 10  CR/LF
3593 #     U  do CR/LF when CR received
3594 #     D  do CR when CR received
3596 # S2  1  Mode
3597 #     U  block
3598 #     D  conversational
3600 # S2  2  Duplex
3601 #     U  half
3602 #     D  full
3604 # S2  3  Hertz
3605 #     U  50
3606 #     D  60
3608 # S2  4  Edit mode
3609 #     U  local
3610 #     D  duplex
3612 # S2  5  Cursor type
3613 #     U  underline
3614 #     D  block
3616 # S2  6  Cursor down key
3617 #     U  send ^J
3618 #     D  send ^V
3620 # S2  7  Screen colour
3621 #     U  green on black
3622 #     D  black on green
3624 # S2  8  DSR status (pin 6)
3625 #     U  disconnected
3626 #     D  connected
3628 # S2  9  DCD status (pin 8)
3629 #     U  disconnected
3630 #     D  duplex
3632 # S2 10  DTR status (pin 20)
3633 #     U  disconnected
3634 #     D  duplex
3635 # (tvi910: removed obsolete ":ma=^Kk^Ll^R^L:"; added :kh:, :le:, :do:,
3636 # :sf:, <hpa>, <vpa>, :am:, :ms: from SCO entry -- esr)
3637 tvi910|televideo model 910:\
3638         :am:bs:ms:\
3639         :co#80:it#8:li#24:sg#1:\
3640         :bl=^G:bt=\EI:cd=\EY:ce=\ET:ch=\E]%+ :cl=^Z:cm=\E=%+ %+ :\
3641         :cr=^M:cv=\E[%+ :do=^J:ho=\E=\001\001:\
3642         :if=/usr/share/tabset/stdcrt:k0=^AI\r:k1=^A@\r:k2=^AA\r:\
3643         :k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:\
3644         :k9=^AH\r:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:mk@:nd=^L:\
3645         :sf=^J:ta=^I:up=^K:\
3646         :tc=adm+sgr:
3647 # From: Alan R. Rogers <rogers%albany@csnet-relay>
3648 # as subsequently hacked over by someone at SCO
3649 # (tvi910+: removed obsolete ":ma=^K^P^L :" -- esr)
3651 # Here are the 910+'s DIP switches (U = up, D = down, X = don't care):
3653 # S1  1 2 3 4:
3654 #     D D D D  9600     D D D U    50     D D U D    75     D D U U   110
3655 #     D U D D   135     D U D U   150     D U U D   300     D U U U   600
3656 #     U D D D  1200     U D D U  1800     U D U D  2400     U D U U  3600
3657 #     U U D D  4800     U U D U  7200     U U U D  9600     U U U U 19200
3659 # S1  5 6 7 8:
3660 #     U D X D  7N1     U D X U  7N2     U U D D  7O1     U U D U  7O2
3661 #     U U U D  7E1     U U U U  7E2     D D X D  8N1     D D X U  8N2
3662 #     D U D D  8O1     D U U U  8E2
3664 # S1  9  Autowrap            (U = on, D = off)
3665 # S1 10  CR/LF               (U = CR/LF on CR received, D = CR on CR received)
3666 # S2  1  Mode                (U = block, D = conversational)
3667 # S2  2  Duplex              (U =  half, D = full)
3668 # S2  3  Hertz               (U = 50, D = 60)
3669 # S2  4  Edit mode           (U = local, D = duplex)
3670 # S2  5  Cursor type         (U = underline, D = block)
3671 # S2  6  Cursor down key     (U = send ^J, D = send ^V)
3672 # S2  7  Screen colour       (U = green on black, D = black on green)
3673 # S2  8  DSR status (pin 6)  (U = disconnected, D = connected)
3674 # S2  9  DCD status (pin 8)  (U = disconnected, D = connected)
3675 # S2 10  DTR status (pin 20) (U = disconnected, D = connected)
3677 tvi910+|televideo 910+:\
3678         :al=\EE:dc=\EW:dl=\ER:ei=:ho=^^:ic=\EQ:im=:k0=^A@\r:k1=^AA\r:\
3679         :k2=^AB\r:k3=^AC\r:k4=^AD\r:k5=^AE\r:k6=^AF\r:k7=^AG\r:\
3680         :k8=^AH\r:k9=^AI\r:ll=\E=7 :\
3681         :tc=tvi910:
3683 # (tvi912: removed obsolete ":ma=^K^P^L :", added  :vb: and
3684 # :kh: from BRL entry -- esr)
3685 tvi912|tvi914|tvi920|old televideo 912/914/920:\
3686         :am:bs:ms:pt:\
3687         :co#80:it#8:li#24:sg#1:\
3688         :al=\EE:bl=^G:cd=\Ey:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:ct=\E3:\
3689         :dc=\EW:dl=\ER:do=^J:ei=:ho=^^:ic=\EQ:\
3690         :if=/usr/share/tabset/stdcrt:im=:k0=^AI\r:k1=^A@\r:\
3691         :k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:\
3692         :k8=^AG\r:k9=^AH\r:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:\
3693         :nd=^L:se=\Ek:sf=^J:so=\Ej:st=\E1:ta=^I:ue=\Em:up=^K:us=\El:\
3694         :vb=\Eb\Ed:
3695 # the 912 has a <funct> key that's like shift: <funct>8 xmits "^A8\r".
3696 # The 920 has this plus real function keys that xmit different things.
3697 # Terminfo makes you use the funct key on the 912 but the real keys on the 920.
3698 tvi912c|tvi912b|new televideo 912:\
3699         :al=\EE:dl=\ER:tc=tvi912:
3700 # set to page 1 when entering curses application (\E-17 )
3701 # reset to page 0 when exiting curses application (\E-07 )
3702 tvi912-2p|tvi920-2p|tvi-2p|televideo w/2 pages:\
3703         :te=\E-07 :ti=\E-17 :tc=tvi912:
3704 # We got some new tvi912c terminals that act really weird on the regular 
3705 # termcap, so one of our gurus worked this up. Seems that cursor 
3706 # addressing is broken.
3707 tvi912cc|tvi912 at cowell college:\
3708         :cm@:tc=tvi912c:
3710 # Here are the switch settings for the tvi920c:
3712 # S1 (Line), and S3 (Printer) baud rates -- put one, and only one, switch down:
3713 # 2: 9600       3: 4800         4: 2400         5: 1200
3714 # 6:  600       7:  300         8:  150         9:   75
3715 # 10: 110
3717 # S2 UART/Terminal options:
3718 #               Up                      Down
3719 # 1:            Not used                Not allowed
3720 # 2:    Alternate character set   Standard character set
3721 # 3:        Full duplex             Half duplex
3722 # 4:        50 Hz refresh           60 Hz refresh
3723 # 5:          No parity              Send parity
3724 # 6:         2 stop bits             1 stop bit
3725 # 7:         8 data bits             7 data bits
3726 # 8:            Not used                Not allowed on Rev E or lower
3727 # 9:         Even parity             Odd parity
3728 # 10:       Steady cursor           Blinking cursor
3729 #       (On Rev E or lower, use W25 instead of switch 10.)
3731 # S5 UART/Terminal options:
3732 #               Open                    Closed
3733 # 1:    P3-6 Not connected      DSR received on P3-6
3734 # 2:    P3-8 Not connected      DCD received on P3-8
3736 # 3 Open, 4 Open:               P3-20 Not connected
3737 # 3 Open, 4 Closed:     DTR on when terminal is on
3738 # 3 Closed, 4 Open:     DTR is connected to RTS
3739 # 3 Closed, 4 Closed:   Not allowed
3741 # 5 Closed:     HDX printer (hardware control) Rev. K with extension port off,
3742 #               all data transmitted out of the modem port (P3) will also be
3743 #               transmitted out of the printer port (P4).
3745 # 6 Open, 7 Open:               Not allowed
3746 # 6 Open, 7 Closed:     20ma current loop input
3747 # 6 Closed, 7 Open:     RS232 input
3748 # 6 Closed, 7 Closed:   Not allowed
3750 # Jumper options:
3751 # If the jumper is installed, the effect will occur (the next time the terminal
3752 # is switched on).
3754 # S4/W31:       Enables automatic LF upon receipt of CR from
3755 #               remote or keyboard.
3756 # S4/W32:       Enables transmission of EOT at the end of Send.  If not 
3757 #               installed, a carriage return is sent.
3758 # S4/W33:       Disables automatic carriage return in column 80.
3759 # S4/W34:       Selects Page Print Mode as initial condition.  If not 
3760 #               installed, Extension Mode is selected.
3762 tvi920b|tvi920c|new televideo 920:\
3763         :al=\EE:dl=\ER:k0=^AI\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:\
3764         :k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:\
3765         :tc=tvi912:
3767 # Televideo 921 and variants
3768 # From: Tim Theisen <tim@cs.wisc.edu> 22 Sept 1995
3769 # (tvi921: removed :ko=bt: before translation, I see no backtab cap;
3770 # also added empty <acsc> to suppress tic warning -- esr)
3771 tvi921|televideo model 921 with sysline same as page & real vi function:\
3772         :am:bs:hs:pt:xn:xs:\
3773         :co#80:li#24:sg#0:\
3774         :ac=:ae=\E%:al=\EE:as=\E$:cd=\EY:ce=\ET:cl=^Z:cm=3\E=%+ %+ :\
3775         :cr=^M:dc=\EW:dl=1*\ER:do=^V:ds=\Ef\r\Eg:ei=:fs=\Eg:ho=^^:\
3776         :ic=\EQ:if=/usr/share/tabset/stdcrt:im=:\
3777         :is=\El\E"\EF1\E.3\017\EA\E<:kA=\EE:kC=^Z:kD=\EW:kE=\ET:\
3778         :kI=\EQ:kL=1*\ER:kS=\EY:kb=^H:kd=^V:kl=^H:kr=^L:ku=^K:le=^H:\
3779         :mk@:nd=^L:nw=^M^J:sf=^J:ta=^I:ts=\Ef\EG0:up=^K:ve=\E.3:\
3780         :vs=\E.2:\
3781         :tc=adm+sgr:
3782 # without the beeper
3783 # (tvi92B: removed :ko=bt: before translation, I see no backtab cap;
3784 # also added empty <acsc> to suppress tic warning -- esr)
3785 tvi92B|televideo model 921 with sysline same as page & real vi function & no beeper:\
3786         :am:hs:xn:xs:\
3787         :co#80:li#24:sg#0:\
3788         :ac=:ae=\E%:al=\EE:as=\E$:cd=\EY:ce=\ET:cl=^Z:cm=3\E=%+ %+ :\
3789         :cr=^M:dc=\EW:dl=1*\ER:do=^V:ds=\Ef\r\Eg:ei=:fs=\Eg:ho=^^:\
3790         :ic=\EQ:if=/usr/share/tabset/stdcrt:im=:\
3791         :is=\El\E"\EF1\E.3\017\EA\E<:kA=\EE:kC=^Z:kD=\EW:kE=\ET:\
3792         :kI=\EQ:kL=1*\ER:kS=\EY:kb=^H:kd=^V:kl=^H:kr=^L:ku=^K:le=^H:\
3793         :mk@:nd=^L:nw=^M^J:sf=^J:ta=^I:ts=\Ef\EG0:up=^K:vb=\Eb\Ed:\
3794         :ve=\E.3:vs=\E.2:\
3795         :tc=adm+sgr:
3796 # (tvi92D: removed :ko=bt: before translation, I see no backtab cap -- esr)
3797 tvi92D|tvi92B with DTR instead of XON/XOFF & better padding:\
3798         :al=2*\EE:dl=2*\ER:is=\El\E"\EF1\E.3\016\EA\E<:kA=2*\EE:\
3799         :kL=2*\ER:\
3800         :tc=tvi92B:
3802 # (tvi924: This used to have :ds=\Es0:, :fs=\031:.  I put the new strings
3803 # in from a BSD termcap file because it looks like they do something the
3804 # old ones skip -- esr)
3805 tvi924|televideo tvi924:\
3806         :am:bw:hs:in:mi:ms:xn:xo:\
3807         :co#80:it#8:li#24:sg#0:ws#80:\
3808         :F1=^AK\r:F2=^AL\r:F3=^AM\r:F4=^AN\r:F5=^AO\r:al=\EE:bl=^G:\
3809         :bt=\EI:cd=\Ey:ce=\Et:cl=\E*0:cm=\E=%+ %+ :cr=^M:\
3810         :cs=\E_%+ %+ :ct=\E3:dc=\EW:dl=\ER:do=^V:ds=\Es0\Ef\031:\
3811         :ei=:fs=\031\Es1:ho=^^:\
3812         :i1=\017\E%\E'\E(\EDF\EC\EG0\EN0\Es0\Ev0:ic=\EQ:\
3813         :if=/usr/share/tabset/stdcrt:im=:k0=^A@\r:k1=^AA\r:\
3814         :k2=^AB\r:k3=^AC\r:k4=^AD\r:k5=^AE\r:k6=^AF\r:k7=^AG\r:\
3815         :k8=^AH\r:k9=^AI\r:k;=^AJ\r:kA=\EE:kC=\E*0:kD=\EW:kE=\Et:\
3816         :kI=\EQ:kL=\ER:kS=\Ey:kb=^H:kd=^V:kh=^^:kl=^H:kr=^L:ku=^K:\
3817         :l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:l8=F9:l9=F10:\
3818         :la=F11:le=^H:mb=\EG2:mk@:nd=^L:pk=\E|%+1%s\031:sf=^J:\
3819         :sr=\Ej:st=\E1:ta=^I:ts=\Ef:up=^K:vb=\Eb\Ed:ve=\E.3:vi=\E.0:\
3820         :vs=\E.1:\
3821         :tc=adm+sgr:
3823 # TVI925 DIP switches.  In each of these, D = Down and U = Up,
3825 # Here are the settings for the external (baud) switches (S1):
3827 #             Position          Baud
3828 # 7     8       9       10              [Printer]
3829 # 1     2       3       4               [Main RS232]
3830 # -----------------------------------------------------
3831 # D     D       D       D       9600
3832 # D     D       D       U         50
3833 # D     D       U       D         75
3834 # D     D       U       U        110
3835 # D     U       D       D        135
3836 # D     U       D       U        150
3837 # D     U       U       D        300
3838 # D     U       U       U        600
3839 # U     D       D       D       1200
3840 # U     D       D       U       1800
3841 # U     D       U       D       2400
3842 # U     D       U       U       3600
3843 # U     U       D       D       4800
3844 # U     U       D       U       7200
3845 # U     U       U       D       9600
3846 # U     U       U       U       19200
3849 # Settings for word length and stop-bits (S1)
3851 #  Position     Description
3852 # 5     6       
3853 # ---------------------------
3854 # U     -       7-bit word
3855 # D     -       8-bit word
3856 # -     U       2 stop bits
3857 # -     D       1 stop bit
3860 # S2 (external) settings
3862 # Position      Up      Dn      Description
3863 # --------------------------------------------
3864 # 1             X               Local edit
3865 #                       X       Duplex edit (transmit editing keys)
3866 # --------------------------------------------
3867 # 2             X               912/920 emulation
3868 #                       X       925
3869 # --------------------------------------------
3870 # 3                     X
3871 # 4                     X       No parity
3872 # 5                     X       
3873 # --------------------------------------------
3874 # 3                     X
3875 # 4                     X       Odd parity
3876 # 5             X       
3877 # --------------------------------------------
3878 # 3                     X
3879 # 4             X               Even parity
3880 # 5             X       
3881 # --------------------------------------------
3882 # 3             X       
3883 # 4                     X       Mark parity
3884 # 5             X               
3885 # --------------------------------------------
3886 # 3             X
3887 # 4             X               Space parity
3888 # 5             X
3889 # --------------------------------------------
3890 # 6             X               White on black display
3891 #                       X       Black on white display
3892 # --------------------------------------------
3893 # 7                     X       Half Duplex
3894 # 8                     X
3895 # --------------------------------------------
3896 # 7             X               Full Duplex
3897 # 8                     X       
3898 # --------------------------------------------
3899 # 7                     X       Block mode
3900 # 8             X       
3901 # --------------------------------------------
3902 # 9                     X       50 Hz
3903 #               X               60 Hz
3904 # --------------------------------------------
3905 # 10            X               CR/LF (Auto LF)
3906 #                       X       CR only
3908 # S3 (internal switch) settings:
3910 # Position      Up      Dn      Description
3911 # --------------------------------------------
3912 # 1             X               Keyclick off 
3913 #                       X       Keyclick on
3914 # --------------------------------------------
3915 # 2                     X       English
3916 # 3                     X       
3917 # --------------------------------------------
3918 # 2                     X       German
3919 # 3             X               
3920 # --------------------------------------------
3921 # 2             X               French
3922 # 3                     X       
3923 # --------------------------------------------
3924 # 2             X               Spanish
3925 # 3             X       
3926 # --------------------------------------------
3927 # 4                     X       Blinking block cursor
3928 # 5                     X       
3929 # --------------------------------------------
3930 # 4                     X       Blinking underline cursor
3931 # 5             X               
3932 # --------------------------------------------
3933 # 4             X               Steady block cursor
3934 # 5                     X       
3935 # --------------------------------------------
3936 # 4             X               Steady underline cursor
3937 # 5             X       
3938 # --------------------------------------------
3939 # 6             X               Screen blanking timer (ON)
3940 #                       X       Screen blanking timer (OFF)
3941 # --------------------------------------------
3942 # 7             X               Page attributes
3943 #                       X       Line attributes
3944 # --------------------------------------------
3945 # 8             X               DCD disconnected
3946 #                       X       DCD connected
3947 # --------------------------------------------
3948 # 9             X               DSR disconnected
3949 #                       X       DSR connected
3950 # --------------------------------------------
3951 # 10            X               DTR Disconnected
3952 #                       X       DTR connected
3953 # --------------------------------------------
3955 # (tvi925: BSD has :cl=\E*:.  I got :is: and :sr: from there -- esr)
3956 tvi925|televideo 925:\
3957         :am:bs:bw:hs:ul:\
3958         :co#80:li#24:sg#1:\
3959         :al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:\
3960         :ct=\E3:dc=\EW:dl=\ER:do=^V:ds=\Eh:ei=:fs=^M\Eg:ho=^^:ic=\EQ:\
3961         :im=:is=\El\E":k0=^AI\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:\
3962         :k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:\
3963         :kA=\EE:kC=^Z:kD=\EW:kE=\ET:kI=\EQ:kL=\ER:kS=\EY:kb=^H:kd=^V:\
3964         :kh=^^:kl=^H:kr=^L:ku=^K:le=^H:mk@:nd=^L:sf=^J:sr=\Ej:st=\E1:\
3965         :ta=^I:ts=\Eh\Ef:up=^K:vb=\Eb\Ed:ve=\E.4:vs=\E.2:\
3966         :tc=adm+sgr:
3967 # TeleVideo 925 from Mitch Bradley <sun!wmb> via BRL
3968 # to avoid "magic cookie" standout glitch:
3969 tvi925-hi|TeleVideo Model 925 with half intensity standout mode:\
3970         :sg@:\
3971         :kb=^H:kd=^J:kl=^H:se=\E(:so=\E):tc=tvi925:
3973 # From: Todd Litwin <litwin@litwin.jpl.nasa.gov> 28 May 1993
3974 # Originally Tim Curry, Univ. of Central Fla., <duke!ucf-cs!tim> 5/21/82
3975 # for additional capabilities, 
3976 # The following tvi descriptions from B:pjphar and virus!mike
3977 # is for all 950s.  It sets the following attributes:
3978 # full duplex (\EDF)            write protect off (\E()
3979 # conversation mode (\EC)       graphics mode off (\E%)
3980 # white on black (\Ed)          auto page flip off (\Ew)
3981 # turn off status line (\Eg)    clear status line (\Ef\r)
3982 # normal video (\E0)            monitor mode off (\EX or \Eu)
3983 # edit mode (\Er)               load blank char to space (\Ee\040)
3984 # line edit mode (\EO)          enable buffer control (^O)
3985 # protect mode off (\E\047)     duplex edit keys (\El)
3986 # program unshifted send key to send line all (\E016)
3987 # program shifted send key to send line unprotected (\E004)
3988 # set the following to nulls:
3989 #       field delimiter (\Ex0\200\200)
3990 #       line delimiter (\Ex1\200\200)
3991 #       start-protected field delimiter (\Ex2\200\200)
3992 #       end-protected field delimiter (\Ex3\200\200)
3993 # set end of text delimiter to carriage return/null (\Ex4\r\200)
3995 #                     TVI 950 Switch Setting Reference Charts
3997 #                                     TABLE 1:
3999 #      S1     1     2     3     4     5     6     7     8     9    10
4000 #          +-----------------------+-----+-----+-----------------------+
4001 #          | Computer Baud Rate    |Data |Stop | Printer Baud Rate     |
4002 #          |                       |Bits |Bits |                       |
4003 #   +------+-----------------------+-----+-----+-----------------------+
4004 #   |  Up  |        See            |  7  |  2  |        See            |
4005 #   +------+-----------------------+-----+-----+-----------------------+
4006 #   | Down |      TABLE 2          |  8  |  1  |      TABLE 2          |
4007 #   +------+-----------------------+-----+-----+-----------------------+
4010 #      S2     1     2     3     4     5     6     7     8     9    10
4011 #          +-----+-----+-----------------+-----+-----------+-----+-----+
4012 #          |Edit |Cursr|    Parity       |Video|Transmiss'n| Hz  |Click|
4013 #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
4014 #   |  Up  | Dplx|Blink|      See        |GonBk|   See     | 60  | Off |
4015 #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
4016 #   | Down |Local|St'dy|    TABLE 3      |BkonG|  CHART    | 50  | On  |
4017 #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
4018 #  
4019 #                                    TABLE 2:
4021 #             +-----------+-----+-----+-----+-----+-----------+
4022 #             | Display   |  1  |  2  |  3  |  4  |   Baud    |
4023 #             +-----------+-----+-----+-----+-----+           |
4024 #             | Printer   |  7  |  8  |  9  | 10  |   Rate    |
4025 #             +-----------+-----+-----+-----+-----+-----------+
4026 #                         |  D  |  D  |  D  |  D  |   9600    |
4027 #                         |  U  |  D  |  D  |  D  |     50    |
4028 #                         |  D  |  U  |  D  |  D  |     75    |
4029 #                         |  U  |  U  |  D  |  D  |    110    |
4030 #                         |  D  |  D  |  U  |  D  |    135    |
4031 #                         |  U  |  D  |  U  |  D  |    150    |
4032 #                         |  D  |  U  |  U  |  D  |    300    |
4033 #                         |  U  |  U  |  U  |  D  |    600    |
4034 #                         |  D  |  D  |  D  |  U  |   1200    |
4035 #                         |  U  |  D  |  D  |  U  |   1800    |
4036 #                         |  D  |  U  |  D  |  U  |   2400    |
4037 #                         |  U  |  U  |  D  |  U  |   3600    |
4038 #                         |  D  |  D  |  U  |  U  |   4800    |
4039 #                         |  U  |  D  |  U  |  U  |   7200    |
4040 #                         |  D  |  U  |  U  |  U  |   9600    |
4041 #                         |  U  |  U  |  U  |  U  |  19200    |
4042 #                         +-----+-----+-----+-----+-----------+
4044 #                                    TABLE 3:
4045 #                         +-----+-----+-----+-----------+
4046 #                         |  3  |  4  |  5  |   Parity  |
4047 #                         +-----+-----+-----+-----------+
4048 #                         |  X  |  X  |  D  |    None   |
4049 #                         |  D  |  D  |  U  |     Odd   |
4050 #                         |  D  |  U  |  U  |    Even   |
4051 #                         |  U  |  D  |  U  |    Mark   |
4052 #                         |  U  |  U  |  U  |   Space   |
4053 #                         +-----+-----+-----+-----------+
4054 #                                 X = don't care
4056 #                                     CHART:
4057 #                         +-----+-----+-----------------+
4058 #                         |  7  |  8  | Communication   |
4059 #                         +-----+-----+-----------------+
4060 #                         |  D  |  D  |  Half Duplex    |
4061 #                         |  D  |  U  |  Full Duplex    |
4062 #                         |  U  |  D  |     Block       |
4063 #                         |  U  |  U  |     Local       |
4064 #                         +-----+-----+-----------------+
4066 # (tvi950: early versions had obsolete ":ma=^Vj^Kk^Hh^Ll^^H:". 
4067 # I also inserted :ic: and :kI:; the :ko: string indicated that :IC: 
4068 # should be present and all tvi native modes use the same string for this.
4069 # Finally, note that BSD has cud1=^V. -- esr) 
4070 tvi950|televideo 950:\
4071         :am:bs:hs:mi:ms:xn:xo:\
4072         :co#80:it#8:li#24:sg#1:\
4073         :ac=b\011c\014d\re\ni\013:ae=^X:al=\EE:as=^U:bl=^G:bt=\EI:\
4074         :cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :cr=^M:ct=\E3:dc=\EW:\
4075         :dl=\ER:do=^J:ds=\Eg\Ef\r:ei=\Er:fs=^M:ho=^^:ic=\EQ:im=\Eq:\
4076         :is=\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:\
4077         :k0=^A0\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
4078         :k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=\EE:kB=\EI:kC=\E*:\
4079         :kD=\EW:kE=\Et:kI=\EQ:kL=\ER:kS=\Ey:kb=^H:kd=^V:kh=^^:kl=^H:\
4080         :kr=^L:ku=^K:le=^H:mk@:nd=^L:pf=\Ea:po=\E`:sf=^J:sr=\Ej:\
4081         :st=\E1:ta=^I:ts=\Eg\Ef:up=^K:vb=\Eb\Ed:\
4082         :tc=adm+sgr:
4084 # is for 950 with two pages adds the following:
4085 #       set 48 line page (\E\\2)
4086 #       place cursor at page 0, line 24, column 1 (\E-07 )
4087 #       set local (no send) edit keys (\Ek)
4089 # two page 950 adds the following:
4090 #       when entering ex, set 24 line page (\E\\1)
4091 #       when exiting ex, reset 48 line page (\E\\2)
4092 #                        place cursor at 0,24,1 (\E-07 )
4093 #       set duplex (send) edit keys (\El) when entering vi
4094 #       set local (no send) edit keys (\Ek) when exiting vi
4096 tvi950-2p|televideo950 w/2 pages:\
4097         :is=\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:\
4098         :ke=\Ek:ks=\El:te=\E\2\E-07 :ti=\E\1\E-07 :\
4099         :tc=tvi950:
4101 # is for 950 with four pages adds the following:
4102 #       set 96 line page (\E\\3)
4103 #       place cursor at page 0, line 24, column 1 (\E-07 )
4105 # four page 950 adds the following:
4106 #       when entering ex, set 24 line page (\E\\1)
4107 #       when exiting ex, reset 96 line page (\E\\3)
4108 #                        place cursor at 0,24,1 (\E-07 )
4110 tvi950-4p|televideo950 w/4 pages:\
4111         :is=\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:\
4112         :ke=\Ek:ks=\El:te=\E\3\E-07 :ti=\E\1\E-07 :\
4113         :tc=tvi950:
4115 # :is: for reverse video 950 changes the following:
4116 #       set reverse video (\Ed)
4118 # set vb accordingly (\Ed ...delay... \Eb)
4120 tvi950-rv|televideo950 rev video:\
4121         :is=\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:\
4122         :vb=\Ed\Eb:\
4123         :tc=tvi950:
4125 # tvi950-rv-2p uses the appropriate entries from 950-2p and 950-rv
4126 tvi950-rv-2p|televideo950 rev video w/2 pages:\
4127         :is=\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 :\
4128         :ke=\Ek:ks=\El:te=\E\2\E-07 :ti=\E\1\E-07 :vb=\Ed\Eb:\
4129         :tc=tvi950:
4131 # tvi950-rv uses the appropriate entries from 950-4p and 950-rv
4132 tvi950-rv-4p|televideo950 rev video w/4 pages:\
4133         :is=\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 :\
4134         :ke=\Ek:ks=\El:te=\E\3\E-07 :ti=\E\1\E-07 :vb=\Ed\Eb:\
4135         :tc=tvi950:
4136 # From: Andreas Stolcke <stolcke@icsi.berkeley.edu>
4137 # (tvi955: removed obsolete ":ma:=^Vj^Kk^Hh^Ll^^H";
4138 # removed incorrect (and overridden) ":do=^J:"; fixed broken continuations in
4139 # the :rs: string, inserted the :IC: implied by the termcap :ko: string.  Note
4140 # the :ko: string had :cl: in it, which means that one of the original
4141 # :cl=\E*:, <kclr=\EY> had to be wrong; set <kclr=\E*> because that's what
4142 # the 950 has.   Finally, corrected the <kel> string to match the 950 and what
4143 # ko implies -- esr)
4144 # If the BSD termcap file was right, :cm=\E=%p1%{32}%+%c%p2%{32}%+%c: would
4145 # also work.
4146 tvi955|televideo 955:\
4147         :5i:bs:ms@:\
4148         :it#8:sg@:\
4149         :RA=\E[=7l:RX=^N:SA=\E[=7h:SX=^O:\
4150         :ac=0_`RjHkGlFmEnIoPqKsQtMuLvOwNxJ:ae=\E%:as=\E$:\
4151         :cm=\E[%i%d;%dH:do=^V:is=\E[=3l\EF1\Ed\EG0\E[=5l\E%\El:\
4152         :kM=\EQ:kN=\EK:kP=\EJ:kT=\E1:ka=\E3:kt=\E2:mb=\EG2:\
4153         :me=\EG0\E[=5l:mh=\E[=5h:mk=\EG1:ps=\EP:\
4154         :r1=\EDF\EC\Eg\Er\EO\E'\E(\Ew\EX\Ee \017\E0P\E6\0\E0p\E4\0\Ef\r:\
4155         :sf@:ve=\E.2:vi=\E.0:vs=\E.1:\
4156         :tc=tvi950:
4157 tvi955-w|955-w|televideo955 w/132 cols:\
4158         :co#132:\
4159         :is=\E[=3h\EF1\Ed\EG0\E[=5l\E%\El:tc=tvi955:
4160 # use half-intensity as normal mode, full intensity as :md:
4161 tvi955-hb|955-hb|televideo955 half-bright:\
4162         :is=\E[=3l\EF1\Ed\EG0\E[=5h\E%\El:md=\E[=5l:\
4163         :me=\EG0\E[=5h:mh@:tc=tvi955:
4164 # From: Humberto Appleton <beto@cs.utexas.edu>, 880521 UT Austin
4165 # (tvi970: removed ":sg#0:"; removed :se:=\E[m, :ue:=\E[m;
4166 # added :am:/:cs:/:ho:/<hpa>/<vpa>/:ti:/:te: from BRL.
4167 # According to BRL we could have :ke:=\E>, :ks:=\E= but I'm not sure what
4168 # it does to the function keys.  I deduced <rmam>/<smam>.
4169 # also added empty <acsc> to suppress tic warning,  -- esr)
4170 tvi970|televideo 970:\
4171         :am:bs:da:db:mi:ms:pt:\
4172         :co#80:it#8:li#24:\
4173         :RA=\E[?7h:SA=\E[?7l:ac=:ae=\E(B:al=\E[L:as=\E(B:bt=\E[Z:\
4174         :cd=\E[J:ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[2J:cm=\E[%i%d;%df:\
4175         :cs=\E[%i%d;%dr:cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=\ED:\
4176         :ds=\Eg\Ef\r:ei=\E[4l:ho=\E[H:im=\E[4h:\
4177         :is=\E<\E[?21l\E[19h\E[1Q\E[10l\E[7l\E[H\E[2J:k1=\E?a:\
4178         :k2=\E?b:k3=\E?c:k4=\E?d:k5=\E?e:k6=\E?f:k7=\E?g:k8=\E?h:\
4179         :k9=\E?i:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
4180         :le=^H:me=\E[m:nd=\E[C:se=\E[m:so=\E[7m:sr=\EM:ta=^I:te=:\
4181         :ti=\E[?20l\E[?7h\E[1Q:ue=\E[m:up=\EM:us=\E[4m:\
4182         :vb=\E[5m\E[m:vs=\E[1Q:
4183 tvi970-vb|televideo 970 with visual bell:\
4184         :vb=\E[?5h\0\0\0\0\0\0\0\0\0\0\0\0\0\E[?5l:tc=tvi970:
4185 tvi970-2p|televideo 970 with using 2 pages of memory:\
4186         :te=\E[H\E[J\E[V:ti=\E[U\E[?20l\E[?7h\E[1Q:\
4187         :tc=tvi970:
4188 # Works with vi and rogue.  NOTE: Esc v sets autowrap on, Esc u sets 80 chars
4189 # per line (rather than 40), Esc K chooses the normal character set.  Not sure
4190 # padding is needed, but adapted from the tvi920c termcap.  The :so: and 
4191 # :us: strings are klutzy, but at least use no screen space.
4192 # (tvipt: removed obsolete ":ma=^Kk^Ll^R^L:".  I wish we knew <rmam>,
4193 # its absence means <smam>=\Ev isn't safe to use. -- esr)
4194 # From: Gene Rochlin <armsis@amber.berkeley.edu> 9/19/84. 
4195 # The :cd:/:k0:/:k1:/:kh:/<mc4>, and <mc5> caps are from BRL, which says:
4196 # F1 and F2 should be programmed as ^A and ^B; required for UNIFY.
4197 tvipt|televideo personal terminal:\
4198         :am:bs:\
4199         :co#80:li#24:\
4200         :al=\EE:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :dl=\ER:\
4201         :ho=^^:if=/usr/share/tabset/stdcrt:is=\Ev\Eu\EK:k0=^A:\
4202         :k1=^B:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:pf=^T:\
4203         :po=^R:se=\EF:so=\EG1@A\EH:ue=\EF:up=^K:us=\EG1B@\EH:
4204 # From: Nathan Peterson <nathan@sco.com>, 03 Sep 1996
4205 # (untranslatable capabilities removed to fit entry within 1023 bytes)
4206 # (sgr removed to fit entry within 1023 bytes)
4207 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
4208 tvi9065|televideo 9065:\
4209         :am:bw:hs:mi:ms:xn:xo:\
4210         :co#80:it#8:li#25:lm#0:ma#4:vt#0:ws#30:\
4211         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
4212         :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ae=\E%:\
4213         :al=\EE:as=\E$:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=^Z:\
4214         :cm=\E=%+ %+ :cr=^M:cs=\E[%i%d;%dr:ct=\E3:dc=\EW:dl=\ER:\
4215         :dm=\Er:do=^V:ds=\E_30\r:ec=\E[%d@:ed=\0:ei=\Er:fs=^M:ho=^^:\
4216         :i1=\E"\E%\E'\E(\EG@\EO\EX\E[=5l\E[=6l\E[=7h\Ed\Er:\
4217         :i2=\E<\E[=4l\E[=8h:if=/usr/share/tabset/stdcrt:im=\Eq:\
4218         :ip=:is=\EF2\EG0\E\L:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
4219         :k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kb=^H:\
4220         :kd=^V:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:ll=\E[25;1H:mb=\EG2:\
4221         :md=\EG\054:me=\EG0:mh=\EGp:mr=\EG4:nd=^L:nw=^M^J:\
4222         :rp=\E[%r%db%.:se=\EG0:sf=^J:so=\EGt:sr=\Ej:st=\E1:ta=^I:\
4223         :te=\E.3\Er\E[1;25r\E[25;0H:ti=\E.2:ts=\E[4;1v\E_30:\
4224         :uc=\EG8\EG0:ue=\EG0:up=^K:us=\EG8:vb=\Eb\Ed:ve=\E.3:\
4225         :vi=\E.0:vs=\E.2:
4227 #### Visual (vi)
4229 # In September 1993, Visual Technology of Westboro, Massachusetts,
4230 # merged with White Pine Software of Nashua, New Hampshire.
4232 # White Pine Software may be contacted at +1 603/886-9050.
4233 # Or visit White Pine on the World Wide Web at URL http://www.wpine.com.
4236 # Visual 50 from Beau Shekita, BTL-Whippany <whuxlb!ejs>
4237 # Recently I hacked together the following termcap for Visual
4238 # Technology's Visual 50 terminal. It's a slight modification of
4239 # the vt52 termcap. 
4240 # It's intended to run when the Visual 50 is in vt52 emulation mode
4241 # (I know what you're thinking; if it's emulating a vt52, then why
4242 # another termcap? Well, it turns out that the Visual 50 can handle
4243 # :dl: and db(?) among other things, which the vt52 can't)
4244 # The termcap works OK for the most part. The only problem is on
4245 # character inserts. The whole line gets painfully redrawn for each
4246 # character typed. Any suggestions?
4247 # Beau's entry is combined with the vi50 entry from University of Wisconsin.
4248 # Note especially the :al: function.  :k4:-:k6: are really l4-l6 in
4249 # disguise; :k7:-:k9: are really l1-l3.
4250 vi50|visual 50:\
4251         :am:bs:da:db:ms:pt:\
4252         :co#80:it#8:li#24:\
4253         :al=\EL:bl=^G:bt=4\Ez:cd=\EJ:ce=16\EK:cl=\EH\EJ:\
4254         :cm=\EY%+ %+ :cr=^M:dl=3*\EM:do=\EB:ho=\EH:k1=\EP:k2=\EQ:\
4255         :k3=\ER:k4=\EV:k5=\EE:k6=\E]:k7=\EL:k8=\Ev:k9=\EM:kb=^H:\
4256         :kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:nl=^J:\
4257         :nw=^M^J:se=\ET:sf=^J:so=\EU:sr=\EI:ta=^I:ue=\EW:up=\EA:\
4258         :us=\ES:
4259 # this one was BSD & SCO's vi50
4260 vi50adm|visual 50 in adm3a mode:\
4261         :am:ms:\
4262         :co#80:it#8:li#24:\
4263         :al=\EL:bl=^G:cd=\Ek:ce=\EK:cl=^Z:cm=\E=%+ %+ :cr=^M:dl=\EM:\
4264         :do=^J:ho=\EH:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:\
4265         :nd=^L:se=\ET:sf=^J:so=\EU:ta=^I:up=^K:
4266 # From: Jeff Siegal <jbs@quiotix.com>
4267 vi55|Visual 55:\
4268         :am:bs:mi:ms:\
4269         :co#80:it#8:li#24:\
4270         :al=\EL:cd=\EJ:ce=\EK:cl=\Ev:cm=\EY%+ %+ :cs=\E_%+A%+A:\
4271         :dc=\Ew:dl=\EM:do=^J:ei=\Eb:ho=\EH:im=\Ea:\
4272         :is=\Ev\E_AX\Eb\EW\E9P\ET:kb=^H:kd=\EB:kl=\ED:kr=\EC:\
4273         :ku=\EA:le=^H:nd=\EC:se=\ET:so=\EU:sr=\EI:ta=^I:up=\EA:
4275 # Visual 200 from BRL
4276 # The following switch settings are assumed for normal operation:
4277 #       FULL_DUPLEX             SCROLL                  CR
4278 #       AUTO_NEW_LINE_ON        VISUAL_200_EMULATION_MODE
4279 # Other switches may be set for operator convenience or communication
4280 # requirements.
4281 # Character insertion is kludged in order to get around the "beep" misfeature.
4282 # (This cap is commented out because :im:/:ei: is more efficient -- esr)
4283 # Supposedly "4*" delays should be used for :al:, :cd:, :cl:, :dc:,
4284 # and :dl: strings, but we seem to get along fine without them.
4285 vi200|visual 200:\
4286         :am:bs:mi:ms:pt:\
4287         :co#80:it#8:kn#10:li#24:\
4288         :ac=:ae=\EG:al=\EL:as=\EF:bl=^G:bt=\Ez:cd=\Ey:ce=\Ex:cl=\Ev:\
4289         :cm=\EY%+ %+ :cr=^M:ct=\Eg:dc=\EO:dl=\EM:do=^J:ho=\EH:\
4290         :k0=\E?p:k1=\E?q:k2=\E?r:k3=\E?s:k4=\E?t:k5=\E?u:k6=\E?v:\
4291         :k7=\E?w:k8=\E?x:k9=\E?y:kA=\EL:kC=\Ev:kD=\EO:kE=\Et:kI=\Ei:\
4292         :kL=\EM:kM=\Ej:kS=\EJ:kT=\E1:kb=^H:kd=\EB:ke=\E>:kh=\EH:\
4293         :kl=\ED:kr=\EC:ks=\E=:kt=\E2:ku=\EA:le=^H:me=\E3\Eb:mh=\E4:\
4294         :mk=\Ea:nd=\EC:pf=\EX:po=\EW:ps=\EH\E]:\
4295         :r1=\E3\Eb\Ej\E\El\EG\Ec\Ek\EX:se=\E3:sf=^J:so=\E4:\
4296         :sr=\EI:st=\E1:ta=^I:up=\EA:ve=\Ec:vs=\Ed:
4297 # The older Visuals didn't come with function keys. This entry uses
4298 # :ks: and :ke: so that the keypad keys can be used as function keys.
4299 # If your version of vi doesn't support function keys you may want
4300 # to use vi200-f.
4301 vi200-f|visual 200 no function keys:\
4302         :is=\E3\Eb\Ej\E\\El\EG\Ed\Ek:k0=\E?p:k1=\E?q:k2=\E?r:\
4303         :k3=\E?s:k4=\E?t:k5=\E?u:k6=\E?v:k7=\E?w:k8=\E?x:k9=\E?y:\
4304         :ke=\E>:ks=\E=:se@:so@:\
4305         :tc=vi200:
4306 vi200-rv|visual 200 reverse video:\
4307         :se=\E3:so=\E4:sr@:ve@:vs@:tc=vi200:
4309 # the function keys are programmable but we don't reprogram them to their
4310 # default values with :is: because programming them is very verbose. maybe
4311 # an initialization file should be made for the 300 and they could be stuck
4312 # in it.
4313 # (vi300: added <rmam>/<smam> based on init string -- esr)
4314 vi300|visual 300 ansi x3.64:\
4315         :am:bw:mi:xn:\
4316         :co#80:li#24:\
4317         :RA=\E[?7l:SA=\E[?7h:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
4318         :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:\
4319         :do=\E[B:ei=\E[4l:ho=\E[H:im=\E[4h:\
4320         :is=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[1Q\E[0;1(D\E[8s:\
4321         :k1=\E_A\E\:k2=\E_B\E\:k3=\E_C\E\:k4=\E_D\E\:k5=\E_E\E\:\
4322         :k6=\E_F\E\:k7=\E_G\E\:k8=\E_H\E\:k9=\E_I\E\:kd=\E[B:\
4323         :kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:nd=\E[C:\
4324         :se=\E[m:sf=^J:so=\E[1m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:\
4325         :us=\E[4m:
4326 # some of the vi300s have older firmware that has the command
4327 # sequence for setting editing extent reversed.
4328 vi300-old|visual 300 with old firmware (set edit extent reversed):\
4329         :is=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[2Q\E[0;1(D\E[8s:\
4330         :tc=vi300:
4332 # Visual 500 prototype entry from University of Wisconsin.
4333 # The best place to look for the escape sequences is page A1-1 of the
4334 # Visual 500 manual.  The initialization sequence given here may be
4335 # overkill, but it does leave out some of the initializations which can
4336 # be done with the menus in set-up mode.
4337 # The :xp: line below is so that emacs can understand the padding requirements
4338 # of this slow terminal.  :xp: is 10 time the padding factor.
4339 # (vi500: removed unknown :xp#4: termcap;
4340 # also added empty <acsc> to suppress tic warning -- esr)
4341 vi500|visual 500:\
4342         :am:mi:ms:\
4343         :co#80:it#8:li#33:\
4344         :ac=:ae=^O:al=3*\EL\Ex:as=^N:bt=4\Ez:cd=3*\Ey:ce=16\Ex:\
4345         :cl=6*\Ev:cm=\EY%+ %+ :cr=^M:cs=\E(%+ %+ :dc=3*\EO:\
4346         :dl=3*\EM:do=\EB:ei=\Ej:ho=\EH:im=\Ei:\
4347         :is=\E3\E\001\E\007\E\003\Ek\EG\Ed\EX\El\E>\Eb\E\:\
4348         :kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:\
4349         :nw=^M^J:se=\E^G:sf=^J:so=\E^H:ta=8\011:ue=\E^C:up=\EA:\
4350         :us=\E^D:
4352 # The visual 550 is a visual 300 with tektronix graphics,
4353 # and with 33 lines. clear screen is modified here to
4354 # also clear the graphics.
4355 vi550|visual 550 ansi x3.64:\
4356         :li#33:\
4357         :cl=\030\E[H\E[2J:tc=vi300:
4359 vi603|visual603|visual 603:\
4360         :hs:mi:\
4361         :al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
4362         :cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:ds=\EP2;1~\E\:ei=\E[4l:\
4363         :fs=\E\:i1=\E>\E[?3l\E[?4l\E[?7h\E[?8h\E[1;24r:\
4364         :im=\E[4h:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
4365         :se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:ts=\EP2~:ue=\E[24m:\
4366         :up=\E[A:us=\E[4m:\
4367         :tc=vt100:
4369 #### Wyse (wy)
4371 #       Wyse Technology
4372 #       3471 North First Street
4373 #       San Jose, CA 95134
4374 #       Vox: (408)-473-1200
4375 #       Fax: (408) 473-1222
4376 #       Web: http://www.wyse.com
4378 # Wyse sales can be reached by phone at 1-800-GET-WYSE.  Tech support is at
4379 # (800)-800-WYSE (option 5 gets you a human).  There's a Web page at the
4380 # obvious address, <http://www.wyse.com>.  They keep terminfo entries at
4381 # <http://www.wyse.co.uk/support/appnotes/idxappnt.htm>.
4383 # Wyse bought out Link Technology, Inc. in 1990 and closed it down in 1995.
4384 # They now own the Qume and Amdek brands, too.  So these are the people to
4385 # talk with about all Link, Qume, and Amdek terminals.
4387 # These entries include a few small fixes.
4388 # I canceled the bel capacities in the vb entries.
4389 # I made two trivial syntax fixes in the wyse30 entry.
4390 # I made some entries relative to adm+sgr.
4393 # Note: The wyse75, wyse85, and wyse99 have been discontinued.
4395 #          Although the Wyse 30 can support more than one attribute
4396 #       it requires magic cookies to do so.  Many applications do not
4397 #       function well with magic cookies.  The following terminfo uses
4398 #       the protect mode to support one attribute (dim) without cookies.
4399 #       If more than one attribute is needed then the wy30-mc terminfo
4400 #       should be used.
4402 wy30|wyse30|Wyse 30:\
4403         :5i:am:bw:hs:mi:ms:xo:\
4404         :Nl#8:co#80:lh#1:li#24:lw#8:ma#1:ws#45:\
4405         :#2=\E{:&3=\Er:@8=\E7:LF=\EA11:LO=\EA10:\
4406         :ac=0wa_h[jukslrmqnxqzttuyv]wpxv:ae=\EH^C:al=\EE:\
4407         :as=\EH^B:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:cm=\E=%+ %+ :\
4408         :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:ei=\Er:fs=^M:\
4409         :ho=^^:im=\Eq:ip=:is=\E'\E(\E\1363\E`9\016\024:k1=^A@\r:\
4410         :k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:\
4411         :k8=^AG\r:kA=\EE:kB=\EI:kD=\EW:kE=\ET:kI=\EQ:kL=\ER:kN=\EK:\
4412         :kP=\EJ:kS=\EY:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:\
4413         :ll=^^^K:me=\E(\EH\003:mh=\E`7\E):mp=\E`7\E):nd=^L:\
4414         :nw=^M^J:pf=^T:pn=\Ez%+/%s\r:po=^X:ps=\EP:px=\Ez%+?%s\177:\
4415         :..sa=%?%p1%p5%p8%|%|%t\E`7\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;:\
4416         :se=\E(:sf=\n:so=\E`7\E):sr=\Ej:st=\E1:ta=\011:ts=\EF:up=^K:\
4417         :vb=\E`8\E`9:ve=\E`1:vi=\E`0:
4419 #       This terminal description uses the non-hidden attribute mode
4420 #       (with magic cookie).
4422 # (wy30-mc: added :ti: to suppress tic warning --esr)
4423 wy30-mc|wyse30-mc|wyse 30 with magic cookies:\
4424         :ms@:\
4425         :ma@:sg#1:\
4426         :ae=\EG0\EH\003:as=\EG0\EH\002:mb=\EG2:\
4427         :me=\EG0\E(\EH\003:mh=\EGp:mp=\EG0\E):\
4428         :..sa=\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%;:\
4429         :se=\EG0:so=\EG4:te=\EG0:ti=:\
4430         :tc=wy30:tc=adm+sgr:
4431 #       The mandatory pause used by :vb: does not work with
4432 #       older versions of terminfo.  If you see this effect then
4433 #       unset xon and delete the / from the delay.
4434 #       i.e. change $<100/> to $<100>
4435 wy30-vb|wyse30-vb|wyse 30 visible bell:\
4436         :bl@:tc=wy30:
4438 #          The Wyse 50 can support one attribute (e.g. Dim, Inverse,
4439 #       Normal) without magic cookies by using the protect mode.
4440 #       The following description uses this feature, but when more
4441 #       than one attribute is put on the screen at once, all attributes
4442 #       will be changed to be the same as the last attribute given.
4443 #          The Wyse 50 can support more attributes when used with magic
4444 #       cookies.  The wy50-mc terminal description uses magic cookies
4445 #       to correctly handle multiple attributes on a screen.
4447 wy50|wyse50|Wyse 50:\
4448         :5i:am:bw:hs:mi:ms:xo:\
4449         :Nl#8:co#80:lh#1:li#24:lw#8:ma#1:ws#45:\
4450         :#2=\E{:%9=\EP:&3=\Er:@8=\E7:F1=^AJ\r:F2=^AK\r:F3=^AL\r:\
4451         :F4=^AM\r:F5=^AN\r:F6=^AO\r:LF=\EA11:LO=\EA10:\
4452         :ac=0wa_h[jukslrmqnxqzttuyv]wpxv:ae=\EH^C:al=\EE:\
4453         :as=\EH^B:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:cm=\E=%+ %+ :\
4454         :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:ei=\Er:fs=^M:\
4455         :ho=^^:i1=\E`\072\E`9:im=\Eq:ip=:is=\016\024\E'\E(:\
4456         :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
4457         :k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:kA=\EE:kB=\EI:kD=\EW:\
4458         :kE=\ET:kI=\EQ:kL=\ER:kN=\EK:kP=\EJ:kS=\EY:kb=^H:kd=^J:kh=^^:\
4459         :kl=^H:kr=^L:ku=^K:le=^H:ll=^^^K:me=\E(\EH\003:mh=\E`7\E):\
4460         :mp=\E`7\E):mr=\E`6\E):nd=^L:nw=^M^J:pf=^T:pn=\Ez%+/%s\r:\
4461         :po=^X:ps=\EP:px=\Ez%+?%s\177:\
4462         :..sa=%?%p1%p3%|%t\E`6\E)%e%p5%p8%|%t\E`7\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;:\
4463         :se=\E(:sf=\n:so=\E`6\E):sr=\Ej:st=\E1:ta=^I:ts=\EF:up=^K:\
4464         :vb=\E`8\E`9:ve=\E`1:vi=\E`0:
4466 #       This terminal description uses the non-hidden attribute mode
4467 #       (with magic cookie).
4469 #       The mandatory pause used by flash does not work with some
4470 #       older versions of terminfo.  If you see this effect then
4471 #       unset :xo: and delete the / from the delay.
4472 #       i.e. change $<100/> to $<100>
4473 # (wy50-mc: added :ti: to suppress tic warning --esr)
4474 wy50-mc|wyse50-mc|wyse 50 with magic cookies:\
4475         :ms@:\
4476         :ma@:sg#1:\
4477         :ae=\EG0\EH\003:as=\EG0\EH\002:mb=\EG2:\
4478         :me=\EG0\E(\EH\003:mh=\EGp:mp=\EG0\E):mr=\EG4:\
4479         :..sa=\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%;:\
4480         :se=\EG0:so=\EGt:te=\EG0:ti=:\
4481         :tc=wy50:tc=adm+sgr:
4482 wy50-vb|wyse50-vb|wyse 50 visible bell:\
4483         :bl@:tc=wy50:
4484 wy50-w|wyse50-w|wyse 50 132-column:\
4485         :Nl#16:co#132:lw#7:ws#97:\
4486         :cm=\Ea%i%dR%dC:dc=\EW:i1=\E`;\E`9:tc=wy50:
4487 wy50-wvb|wyse50-wvb|wyse 50 132-column visible bell:\
4488         :bl@:\
4489         :tc=wy50-w:
4491 #       The Wyse 350 is a Wyse 50 with color.
4492 #       Unfortunately this means that it has magic cookies.
4493 #       The color attributes are designed to overlap the reverse, dim and
4494 #       underline attributes.  This is nice for monochrome applications
4495 #       because you can make underline stuff green (or any other color)
4496 #       but for true color applications it's not so hot because you cannot
4497 #       mix color with reverse, dim or underline.
4498 #           To further complicate things one of the attributes must be
4499 #       black (either the foreground or the background).  In reverse video
4500 #       the background changes color with black letters.  In normal video
4501 #       the foreground changes colors on a black background.  
4502 #           This terminfo uses some of the more advanced features of curses
4503 #       to display both color and blink.  In the final analysis I am not
4504 #       sure that the wy350 runs better with this terminfo than it does
4505 #       with the wy50 terminfo (with user adjusted colors).
4507 #       The mandatory pause used by flash does not work with
4508 #       older versions of terminfo.  If you see this effect then
4509 #       unset xon and delete the / from the delay.
4510 #       i.e. change $<100/> to $<100>
4512 # Bug: The <op> capability resets attributes.
4513 # (untranslatable capabilities removed to fit entry within 1023 bytes)
4514 wy350|wyse350|Wyse 350:\
4515         :5i:am:bw:hs:mi:xo:\
4516         :Co#8:NC#55:Nl#8:co#80:lh#1:li#24:lw#8:pa#8:sg#1:ws#45:\
4517         :#2=\E{:%9=\EP:&3=\Er:@8=\E7:F1=^AJ\r:F2=^AK\r:F3=^AL\r:\
4518         :F4=^AM\r:F5=^AN\r:F6=^AO\r:LF=\EA11:LO=\EA10:Sb=:\
4519         :ac=0wa_h[jukslrmqnxqzttuyv]wpxv:ae=\EG0\EH\003:al=\EE:\
4520         :as=\EG0\EH\002:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:\
4521         :cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:\
4522         :ei=\Er:fs=^M:ho=^^:i1=\E`\072\E`9:i2=\E%?:im=\Eq:ip=:\
4523         :is=\016\024\E'\E(:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
4524         :k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:\
4525         :kA=\EE:kB=\EI:kD=\EW:kE=\ET:kI=\EQ:kL=\ER:kN=\EK:kP=\EJ:\
4526         :kS=\EY:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:ll=^^^K:\
4527         :mb=\EG2:me=\EG0\E(\EH\003%{0}%PA%{0}%PC:mh=\EGp:\
4528         :mp=\EG0\E):nd=^L:nw=^M^J:oc=\E%?:op=\EG0:pf=^T:\
4529         :pn=\Ez%+/%s\r:po=^X:ps=\EP:px=\Ez%+?%s\177:sf=\n:sr=\Ej:\
4530         :st=\E1:ta=^I:ts=\EF:up=^K:vb=\E`8\E`9:ve=\E`1:vi=\E`0:\
4531         :tc=adm+sgr:
4532 wy350-vb|wyse350-vb|wyse 350 visible bell:\
4533         :bl@:tc=wy350:
4534 wy350-w|wyse350-w|wyse 350 132-column:\
4535         :Nl#16:co#132:lw#7:ws#97:\
4536         :cm=\Ea%i%dR%dC:dc=\EW:i1=\E`;\E`9:tc=wy350:
4537 wy350-wvb|wyse350-wvb|wyse 350 132-column visible bell:\
4538         :bl@:\
4539         :tc=wy350-w:
4541 #       This terminfo description is untested.
4542 #       The wyse100 emulates an adm31, so the adm31 entry should work.
4544 wy100|wyse 100:\
4545         :hs:mi:\
4546         :co#80:li#24:sg#1:\
4547         :al=\EE:bl=^G:cd=\EY:ce=\ET:cl=\E;:cm=\E=%+ %+ :cr=^M:\
4548         :dc=\EW:dl=\ER:do=^J:ds=\EA31:ei=\Er:fs=^M:im=\Eq:is=\Eu\E0:\
4549         :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
4550         :k7=^AF\r:k8=^AG\r:kb=^H:kd=^J:kh=\E{:kl=^H:kr=^L:ku=^K:\
4551         :le=^H:mk@:nd=^L:sf=^J:ts=\EF:up=^K:\
4552         :tc=adm+sgr:
4554 #       The Wyse 120/150 has most of the features of the Wyse 60.
4555 #       This terminal does not need padding up to 9600 baud!
4556 #       :ms: should be set but the clear screen fails when in
4557 #       alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
4558 #       then set :ms:.
4560 # (untranslatable capabilities removed to fit entry within 1023 bytes)
4561 # (sgr removed to fit entry within 1023 bytes)
4562 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
4563 wy120|wyse120|wy150|wyse150|Wyse 120/150:\
4564         :am:bw:hs:km:mi:ms:xo:\
4565         :co#80:it#8:li#24:pb#9601:ws#45:\
4566         :ae=\EcD:al=\EE:as=\EcE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:\
4567         :cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:\
4568         :ei=\Er:fs=^M:ho=^^:i1=\EcB0\EcC1:i2=\EwJ\Ew1:im=\Eq:ip=:\
4569         :is=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El:\
4570         :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
4571         :k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\EQ:kN=\EK:kP=\EJ:\
4572         :kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:ll=^^^K:mb=\EG2:\
4573         :me=\E(\EH\003\EG0\EcD:mh=\EGp:nd=^L:nw=\r\n:sf=\n:\
4574         :so=\EGt:sr=\Ej:st=\E1:ta=\011:te=\Ew1:ti=\Ew0:ts=\EF:up=^K:\
4575         :vb=\E`8\E`9:ve=\E`1:vi=\E`0:\
4576         :tc=adm+sgr:
4578 wy120-w|wyse120-w|wy150-w|wyse150-w|wyse 120/150 132-column:\
4579         :Nl#16:co#132:lw#7:ws#97:\
4580         :cm=\Ea%i%dR%dC:dc=\EW:ip=:r2=\E`;:tc=wy120:
4582 wy120-25|wyse120-25|wy150-25|wyse150-25|wyse 120/150 80-column 25-lines:\
4583         :Nl@:lh@:li#25:lw@:\
4584         :pn@:r3=\EwG\Ee):tc=wy120:
4586 wy120-25-w|wyse120-25-w|wy150-25-w|wyse150-25-w|wyse 120/150 132-column 25-lines:\
4587         :Nl@:lh@:li#25:lw@:\
4588         :pn@:r3=\EwG\Ee):tc=wy120-w:
4590 wy120-vb|wyse120-vb|wy150-vb|wyse150-vb|Wyse 120/150 visible bell:\
4591         :bl@:\
4592         :tc=wy120:
4594 wy120-w-vb|wy120-wvb|wyse120-wvb|wy150-w-vb|wyse150-w-vb|Wyse 120/150 132-column visible bell:\
4595         :bl@:\
4596         :tc=wy120-w:
4598 #       The Wyse 60 is like the Wyse 50 but with more padding.
4599 #       The reset strings are slow and the pad times very depending
4600 #       on other parameters such as font loading.  I have tried
4601 #       to follow the following outline:
4603 #               <rs1> -> set personality
4604 #               <rs2> -> set number of columns
4605 #               <rs3> -> set number of lines
4606 #               :i1: -> select the proper font
4607 #               :is: -> do the initialization
4608 #               :i3: -> set up display memory (2 pages)
4610 #       The Wyse 60's that have vt100 emulation are slower than the
4611 #       older Wyse 60's.  This change happened mid-1987.
4612 #       The capabilities effected are :dc: :dl: :al: :sf: :sr:
4614 #       The meta key is only half right.  This terminal will return the
4615 #       high order bit set when you hit CTRL-function_key
4617 #       It may be useful to assign two function keys with the
4618 #       values  \E=(\s  look at old data in page 1
4619 #               \E=W,   look at bottom of page 1
4620 #       where \s is a space ( ).
4622 #       Note:
4623 #          The Wyse 60 runs faster when the XON/XOFF
4624 #          handshake is turned off.
4626 # (wy60: we use \E{ rather than ^^ for home (both are documented) to avoid
4627 # a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
4628 # (untranslatable capabilities removed to fit entry within 1023 bytes)
4629 # (sgr removed to fit entry within 1023 bytes)
4630 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
4631 wy60|wyse60|Wyse 60:\
4632         :am:bw:hs:km:mi:ms:\
4633         :co#80:li#24:ws#45:\
4634         :ae=\EcD:al=\EE:as=\EcE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:\
4635         :cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:\
4636         :ei=\Er:fs=^M:ho=\E{:i1=\EcB0\EcC1:i2=\EwJ\Ew1:im=\Eq:ip=:\
4637         :is=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El:\
4638         :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
4639         :k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\EQ:kN=\EK:kP=\EJ:\
4640         :kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:ll=\E{^K:mb=\EG2:\
4641         :me=\E(\EH\003\EG0\EcD:mh=\EGp:nd=^L:nw=\r\n:sf=\n:\
4642         :so=\EGt:sr=\Ej:st=\E1:ta=\011:te=\Ew1:ti=\Ew0:ts=\EF:up=^K:\
4643         :vb=\E`8\E`9:ve=\E`1:vi=\E`0:\
4644         :tc=adm+sgr:
4646 wy60-w|wyse60-w|wyse 60 132-column:\
4647         :Nl#16:co#132:lw#7:ws#97:\
4648         :cm=\Ea%i%dR%dC:dc=\EW:ip=:r2=\EeF\E`;:tc=wy60:
4650 wy60-25|wyse60-25|wyse 60 80-column 25-lines:\
4651         :Nl@:lh@:li#25:lw@:\
4652         :pn@:r3=\EwG\Ee):tc=wy60:
4653 wy60-25-w|wyse60-25-w|wyse 60 132-column 25-lines:\
4654         :Nl@:lh@:li#25:lw@:\
4655         :pn@:r3=\EwG\Ee):tc=wy60-w:
4657 wy60-42|wyse60-42|wyse 60 80-column 42-lines:\
4658         :li#42:\
4659         :al=\EE:cd=\Ey:cl=\E+:cm=\E=%+ %+ :dc=\EW:dl=\ER:\
4660         :i1=\EcB2\EcC3:ip=:nw=\r\n:r3=\Ee*:sf=\n:sr=\Ej:tc=wy60:
4661 wy60-42-w|wyse60-42-w|wyse 60 132-column 42-lines:\
4662         :Nl#16:co#132:lw#7:ws#97:\
4663         :cd=\Ey:cl=\E+:cm=\Ea%i%dR%dC:dc=\EW:ho=\036:ip=:nw=\r\n:\
4664         :r2=\EeF\E`;:\
4665         :tc=wy60-42:
4667 wy60-43|wyse60-43|wyse 60 80-column 43-lines:\
4668         :Nl@:lh@:li#43:lw@:\
4669         :pn@:r3=\Ee+:tc=wy60-42:
4670 wy60-43-w|wyse60-43-w|wyse 60 132-column 43-lines:\
4671         :Nl@:lh@:li#43:lw@:\
4672         :pn@:r3=\Ee+:tc=wy60-42-w:
4674 wy60-vb|wyse60-vb|Wyse 60 visible bell:\
4675         :bl@:tc=wy60:
4676 wy60-w-vb|wy60-wvb|wyse60-wvb|Wyse 60 132-column visible bell:\
4677         :bl@:\
4678         :tc=wy60-w:
4680 #       The Wyse-99GT looks at lot like the Wyse 60 except that it
4681 #       does not have the 42/43 line mode.  In the Wyse-60 the "lines"
4682 #       setup parameter controls the number of lines on the screen.
4683 #       For the Wyse 99GT the "lines" setup parameter controls the
4684 #       number of lines in a page.  The screen can display 25 lines max.
4685 #           The Wyse-99GT also has personalities for the VT220 and
4686 #       Tektronix 4014.  But this has no bearing on the native mode.
4688 #       (msgr) should be set but the clear screen fails when in
4689 #       alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
4690 #       then set msgr, else use msgr@.
4692 #       u0 -> enter Tektronix mode
4693 #       u1 -> exit Tektronix mode
4695 wy99gt|wyse99gt|Wyse 99gt:\
4696         :ms@:\
4697         :al=\EE:cd=\Ey:ce=\Et:cl=\E+:dc=\EW:dl=\ER:i2=\Ew0:ip=:nw@:\
4698         :r2=\E`\072:sf=\n:sr=\Ej:ta=\011:te=\Ew0:ti=\Ew1:\
4699         :u0=\E~>\E8:u1=\E[42h:vb=\E`8\E`9:tc=wy60:
4701 wy99gt-w|wyse99gt-w|wyse 99gt 132-column:\
4702         :Nl#16:co#132:lw#7:ws#97:\
4703         :cd=\Ey:cl=\E+:cm=\Ea%i%dR%dC:dc=\EW:ip=:r2=\E`;:tc=wy99gt:
4705 wy99gt-25|wyse99gt-25|wyse 99gt 80-column 25-lines:\
4706         :Nl@:lh@:li#25:lw@:\
4707         :pn@:r2=\E`\072:r3=\EwG\Ee):tc=wy99gt:
4709 wy99gt-25-w|wyse99gt-25-w|wyse 99gt 132-column 25-lines:\
4710         :Nl@:lh@:li#25:lw@:\
4711         :pn@:r2=\E`;:tc=wy99gt-w:
4713 wy99gt-vb|wyse99gt-vb|Wyse 99gt visible bell:\
4714         :bl@:tc=wy99gt:
4716 wy99gt-w-vb|wy99gt-wvb|wyse99gt-wvb|Wyse 99gt 132-column visible bell:\
4717         :bl@:\
4718         :tc=wy99gt-w:
4720 #       The Wyse 160 is combination of the WY-60 and the WY-99gt.
4721 #       The reset strings are slow and the pad times very depending
4722 #       on other parameters such as font loading.  I have tried
4723 #       to follow the following outline:
4725 #               <rs1> -> set personality
4726 #               <rs2> -> set number of columns
4727 #               <rs3> -> set number of lines
4728 #               :i1: -> select the proper font
4729 #               :is: -> do the initialization
4730 #               :i3: -> set up display memory (2 pages)
4732 #       The display memory may be used for either text or graphics.
4733 #       When "Display Memory = Shared" the terminal will have more pages
4734 #       but garbage may be left on the screen when you switch from
4735 #       graphics to text.  If "Display Memory = Unshared" then the
4736 #       text area will be only one page long.
4738 # (wy160: we use \E{ rather than ^^ for home (both are documented) to avoid
4739 # a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
4740 # (untranslatable capabilities removed to fit entry within 1023 bytes)
4741 # (sgr removed to fit entry within 1023 bytes)
4742 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
4743 wy160|wyse160|Wyse 160:\
4744         :am:bw:hs:km:mi:ms:\
4745         :co#80:li#24:ws#38:\
4746         :ae=\EcD:al=\EE:as=\EcE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:\
4747         :cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:\
4748         :ei=\Er:fs=^M:ho=\E{:i1=\EcB0\EcC1:i2=\Ew0:im=\Eq:ip=:\
4749         :is=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El:\
4750         :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
4751         :k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\EQ:kN=\EK:kP=\EJ:\
4752         :kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:ll=\E{^K:mb=\EG2:\
4753         :me=\E(\EH\003\EG0\EcD:mh=\EGp:nd=^L:nw=\r\n:sf=\n:\
4754         :so=\EGt:sr=\Ej:st=\E1:ta=^I:te=\Ew0:ti=\Ew1:ts=\EF:up=^K:\
4755         :vb=\E`8\E`9:ve=\E`1:vi=\E`0:\
4756         :tc=adm+sgr:
4758 wy160-w|wyse160-w|wyse 160 132-column:\
4759         :Nl#16:co#132:lw#7:ws#90:\
4760         :cm=\Ea%i%dR%dC:dc=\EW:r2=\EeF\E`;:tc=wy160:
4762 wy160-25|wyse160-25|wyse 160 80-column 25-lines:\
4763         :Nl@:lh@:li#25:lw@:\
4764         :pn@:r3=\EwG\Ee):tc=wy160:
4765 wy160-25-w|wyse160-25-w|wyse 160 132-column 25-lines:\
4766         :Nl@:lh@:li#25:lw@:\
4767         :pn@:r3=\EwG\Ee):tc=wy160-w:
4769 wy160-42|wyse160-42|wyse 160 80-column 42-lines:\
4770         :li#42:\
4771         :al=\EE:cd=\Ey:cl=\E+:dl=\ER:i1=\EcB2\EcC3:nw=\r\n:r3=\Ee*:\
4772         :sf=\n:sr=\Ej:\
4773         :tc=wy160:
4774 wy160-42-w|wyse160-42-w|wyse 160 132-column 42-lines:\
4775         :Nl#16:co#132:lw#7:ws#90:\
4776         :cm=\Ea%i%dR%dC:dc=\EW:ip=:r2=\EeF\E`;:tc=wy160-42:
4778 wy160-43|wyse160-43|wyse 160 80-column 43-lines:\
4779         :Nl@:lh@:li#43:lw@:\
4780         :pn@:r3=\Ee+:tc=wy160-42:
4781 wy160-43-w|wyse160-43-w|wyse 160 132-column 43-lines:\
4782         :Nl@:lh@:li#43:lw@:\
4783         :pn@:r3=\Ee+:tc=wy160-42-w:
4785 wy160-vb|wyse160-vb|Wyse 160 visible bell:\
4786         :bl@:tc=wy160:
4787 wy160-w-vb|wy160-wvb|wyse160-wvb|Wyse 160 132-column visible bell:\
4788         :bl@:\
4789         :tc=wy160-w:
4791 #       The Wyse 75 is a vt100 lookalike without advanced video.
4793 #          The Wyse 75 can support one attribute (e.g. Dim, Inverse,
4794 #       Underline) without magic cookies.  The following description
4795 #       uses this capability, but when more than one attribute is
4796 #       put on the screen at once, all attributes will be changed
4797 #       to be the same as the last attribute given.
4798 #          The Wyse 75 can support more attributes when used with magic
4799 #       cookies.  The wy75-mc terminal description uses magic cookies
4800 #       to correctly handle multiple attributes on a screen.
4802 # (untranslatable capabilities removed to fit entry within 1023 bytes)
4803 # (sgr removed to fit entry within 1023 bytes)
4804 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
4805 wy75|wyse75|wyse 75:\
4806         :am:hs:mi:ms:xn:xo:\
4807         :co#80:li#24:ma#1:pb#1201:ws#78:\
4808         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
4809         :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
4810         :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
4811         :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
4812         :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
4813         :ds=\E[>\054\001\001\E[>-\001\001:ec=\E[%dX:ei=\E[4l:\
4814         :fs=^A:ho=\E[H:\
4815         :i1=\E[2;4;20;30l\E[?1;10l\E[12h\E[?7;8;25h:i2=\E[m:\
4816         :im=\E[4h:ip=:is=\E>\E(B\E)0\017:k1=\E[?5i:k2=\E[?3i:\
4817         :k3=\E[2i:k4=\E[@:k5=\E[M:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
4818         :k9=\E[20~:kI=\E[@:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:ke=\E>:\
4819         :kh=\E[H:kl=\E[D:kr=\E[C:ks=\E[?1l\E[?7h\E=:ku=\E[A:le=^H:\
4820         :me=\E[m\017:mh=\E[0t\E[2m:mr=\E[1t\E[7m:nd=\E[C:rc=\E8:\
4821         :sc=\E7:se=\E[m:sf=\n:so=\E[1t\E[7m:sr=\EM:st=\EH:ta=^I:\
4822         :ts=\E[>\054\001:ue=\E[m:up=\E[A:us=\E[2t\E[4m:\
4823         :vb=\E[30h\E\054\E[30l:ve=\E[?25h:vi=\E[?25l:
4825 #       This terminal description uses the non-hidden attribute mode
4826 #       (with magic cookie).
4828 wy75-mc|wyse75-mc|wyse 75 with magic cookies:\
4829         :ms@:\
4830         :ma@:sg#1:\
4831         :ae=\E[0p\017:as=\E[0p\016:i2=\E[m\E[p:mb=\E[2p:\
4832         :me=\E[0p\017:mh=\E[1p:mk=\E[4p:mr=\E[16p:\
4833         :..sa=\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%;:\
4834         :se=\E[0p:so=\E[17p:ue=\E[0p:us=\E[8p:\
4835         :tc=wy75:
4836 wy75-vb|wyse75-vb|wyse 75 with visible bell:\
4837         :pb@:\
4838         :bl@:tc=wy75:
4839 wy75-w|wyse75-w|wyse 75 in 132 column mode:\
4840         :co#132:ws#130:\
4841         :r2=\E[35h\E[?3h:tc=wy75:
4842 wy75-wvb|wyse75-wvb|wyse 75 with visible bell 132 columns:\
4843         :pb@:\
4844         :bl@:tc=wy75-w:
4846 #       Wyse 85 emulating a vt220 7 bit mode.
4847 #               24 line screen with status line.
4849 #       The vt220 mode permits more function keys but it wipes out
4850 #       the escape key.  I strongly recommend that <f11> be set to
4851 #       escape (esc).
4852 #       The terminal may have to be set for 8 data bits and 2 stop
4853 #       bits for the arrow keys to work.
4854 #       The Wyse 85 runs faster with XON/XOFF enabled.  Also the
4855 #       :DC: and :IC: work best when XON/XOFF is set.  :IC: and
4856 #       :DC: leave trash on the screen when used without XON/XOFF.
4858 # (untranslatable capabilities removed to fit entry within 1023 bytes)
4859 # (sgr removed to fit entry within 1023 bytes)
4860 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
4861 wy85|wyse85|wyse 85:\
4862         :am:hs:mi:ms:xn:xo:\
4863         :co#80:it#8:li#24:ws#80:\
4864         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
4865         :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
4866         :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
4867         :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
4868         :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ds=\E[40l:\
4869         :ec=\E[%dX:ei=\E[4l:fs=\E[1;24r\E8:ho=\E[H:\
4870         :i1=\E[62;1"p\E[?5W:i2=\E>\E(B\E)0\017\E[m:im=\E[4h:ip=:\
4871         :is=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h:\
4872         :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
4873         :k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
4874         :kb=^H:kd=\E[B:ke=\E>:kh=\E[26~:kl=\E[D:kr=\E[C:\
4875         :ks=\E[?1l\E=:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:\
4876         :mh=\E[2m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=\n:\
4877         :so=\E[7m:sr=\EM:st=\EH:ta=\011:\
4878         :ts=\E[40h\E7\E[25;%i%p1%dH:ue=\E[m:up=\E[A:us=\E[4m:\
4879         :vb=\E[30h\E\054\E[30l:ve=\E[?25h:vi=\E[?25l:
4881 #       Wyse 85 with visual bell.
4882 wy85-vb|wyse85-vb|wyse 85 with visible bell:\
4883         :bl@:vb=\E[30h\E\054\E[30l:tc=wy85:
4885 #       Wyse 85 in 132-column mode.
4886 wy85-w|wyse85-w|wyse 85 in 132-column mode:\
4887         :co#132:ws#132:\
4888         :r2=\E[35h\E[?3h:tc=wy85:
4890 #       Wyse 85 in 132-column mode with visual bell.
4891 wy85-wvb|wyse85-wvb|wyse 85 with visible bell 132-columns:\
4892         :bl@:\
4893         :tc=wy85-w:
4895 #       Wyse 185 emulating a vt320 7 bit mode.
4897 #       This terminal always displays 25 lines.  These lines may be used
4898 #       as 24 data lines and a terminal status line (top or bottom) or
4899 #       25 data lines.  The 48 and 50 line modes change the page size
4900 #       and not the number of lines on the screen.
4902 #       The Compose Character key can be used as a meta key if changed
4903 #       by set-up.
4905 # (untranslatable capabilities removed to fit entry within 1023 bytes)
4906 # (sgr removed to fit entry within 1023 bytes)
4907 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
4908 wy185|wyse185|wyse 185:\
4909         :am:hs:km:mi:ms:xn:xo:\
4910         :co#80:it#8:li#24:ws#80:\
4911         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
4912         :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
4913         :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
4914         :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
4915         :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
4916         :ds=\E7\E[99;0H\E[K\E8:ec=\E[%dX:ei=\E[4l:\
4917         :fs=\E[1;24r\E8:ho=\E[H:i1=\E[?5W:\
4918         :i2=\E>\E(B\E)0\017\E[m:im=\E[4h:ip=:\
4919         :is=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h:\
4920         :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
4921         :k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
4922         :kb=^H:kd=\E[B:ke=\E>:kh=\E[26~:kl=\E[D:kr=\E[C:\
4923         :ks=\E[?1l\E=:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:\
4924         :mh=\E[2m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[27m:sf=\n:\
4925         :so=\E[7m:sr=\EM:st=\EH:ta=^I:te=\E[ R:ti=\E[ Q:\
4926         :ts=\E7\E[99;%i%p1%dH:ue=\E[24m:up=\E[A:us=\E[4m:\
4927         :vb=\E[30h\E\054\E[30l:ve=\E[34h\E[?25h:vi=\E[?25l:\
4928         :vs=\E[?25h\E[34l:
4930 #       Wyse 185 with 24 data lines and top status (terminal status)
4931 wy185-24|wyse185-24|wyse 185 with 24 data lines:\
4932         :hs@:\
4933         :ds@:fs@:r3=\E[?5l\E[47h\E[40l\E[1;24r:ts@:tc=wy185:
4935 #       Wyse 185 with visual bell.
4936 wy185-vb|wyse185-vb|wyse 185+flash:\
4937         :bl@:tc=wy185:
4939 #       Wyse 185 in 132-column mode.
4940 wy185-w|wyse185-w|wyse 185 in 132-column mode:\
4941         :co#132:ws#132:\
4942         :DC=\E[%dP:IC=\E[%d@:dc=\E[P:ei=:im=:ip=:r2=\E[35h\E[?3h:tc=wy185:
4944 #       Wyse 185 in 132-column mode with visual bell.
4945 wy185-wvb|wyse185-wvb|wyse 185+flash+132 cols:\
4946         :bl@:tc=wy185-w:
4948 # wy325 terminfo entries
4949 # Done by Joe H. Davis        3-9-92
4951 # lines 25  columns 80
4953 # (untranslatable capabilities removed to fit entry within 1023 bytes)
4954 wy325|wyse325|Wyse epc:\
4955         :5i:am:bw:hs:mi:\
4956         :Nl#8:co#80:lh#1:li#24:lw#8:pb#9601:ws#45:\
4957         :#2=\E{:%9=\EP:&3=\Er:@8=\E7:F1=^AJ\r:F2=^AK\r:F3=^AL\r:\
4958         :F4=^AM\r:F5=^AN\r:F6=^AO\r:LF=\EA11:LO=\EA10:RA=\Ed.:\
4959         :SA=\Ed/:\
4960         :ac=+/\054.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~:\
4961         :ae=\EcD:al=\EE:as=\EcE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:\
4962         :cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:\
4963         :ei=\Er:fs=^M:ho=^^:i1=\EcB0\EcC1:i2=\Ew0:im=\Eq:ip=:\
4964         :is=\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El:\
4965         :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
4966         :k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:kA=\EE:kB=\EI:kD=\EW:\
4967         :kE=\ET:kI=\Eq:kL=\ER:kN=\EK:kP=\EJ:kS=\EY:kb=^H:kd=^J:kh=^^:\
4968         :kl=^H:kr=^L:ku=^K:le=^H:ll=^^^K:mb=\EG2:\
4969         :me=\E(\EH\003\EG0\EcD:mh=\EGp:mp=\E):nd=^L:pf=^T:\
4970         :pl=\EZ2%+?%s\177:pn=\Ez%+/%s\r:po=\Ed#:ps=\EP:\
4971         :px=\EZ1%+?%s\177:r1=\E~\041\E~4:r2=\EeF\E`\072:\
4972         :r3=\EwG\Ee(:sf=\n:so=\EGt:sr=\Ej:st=\E1:ta=^I:te=\Ew0:\
4973         :ti=\Ew1:ts=\EF:up=^K:vb=\E`8\E`9:ve=\E`1:vi=\E`0:\
4974         :tc=adm+sgr:
4977 # lines 24  columns 80  vb 
4979 wy325-vb|wyse325-vb|wyse-325 with visual bell:\
4980         :bl@:tc=wy325:
4983 # lines 24  columns 132
4985 wy325-w|wyse325-w|wy325w-24|wyse-325 in wide mode:\
4986         :Nl#16:co#132:lw#7:ws#97:\
4987         :cm=\Ea%i%dR%dC:dc=\EW:ip=:r2=\E`;:tc=wy325:
4989 # lines 25  columns 80
4991 wy325-25|wyse325-25|wy325-80|wyse-325|wyse-325 25 lines:\
4992         :Nl@:lh@:li#25:lw@:\
4993         :pn@:r3=\EwG\Ee):tc=wy325:
4995 # lines 25  columns 132
4997 wy325-25w|wyse325-25w|wy325 132 columns:\
4998         :Nl@:lh@:li#25:lw@:\
4999         :pn@:r3=\EwG\Ee):tc=wy325-w:
5001 # lines 25  columns 132  vb 
5003 wy325-w-vb|wy325-wvb|wyse325-wvb|wyse-325 wide mode reverse video:\
5004         :bl@:\
5005         :tc=wy325-w:
5008 # lines 42  columns 80
5010 wy325-42|wyse325-42|wyse-325 42 lines:\
5011         :Nl@:lh@:li#42:lw@:\
5012         :pn@:r3=\EwG\Ee):tc=wy325:
5014 # lines 42  columns 132
5016 wy325-42w|wyse325-42w|wyse-325 42 lines wide mode:\
5017         :Nl@:lh@:li#42:lw@:\
5018         :pn@:r3=\EwG\Ee):tc=wy325-w:
5020 # lines 42  columns 132  vb 
5022 wy325-42w-vb|wy325-42wvb|wyse-325 42 lines wide mode visual bell:\
5023         :bl@:\
5024         :tc=wy325-w:
5026 # lines 43  columns 80
5028 wy325-43|wyse325-43|wyse-325 43 lines:\
5029         :Nl@:lh@:li#43:lw@:\
5030         :pn@:tc=wy325:
5032 # lines 43  columns 132
5034 wy325-43w|wyse325-43w|wyse-325 43 lines wide mode:\
5035         :Nl@:lh@:li#43:lw@:\
5036         :pn@:r3=\EwG\Ee):tc=wy325-w:
5038 # lines 43  columns 132  vb 
5040 wy325-43w-vb|wy325-43wvb|wyse-325 43 lines wide mode visual bell:\
5041         :bl@:\
5042         :tc=wy325-w:
5044 #       Wyse 370 -- 24 line screen with status line.
5046 #       The terminal may have to be set for 8 data bits and 2 stop
5047 #       bits for the arrow keys to work.
5049 #       If you change keyboards the terminal will send different
5050 #       escape sequences.
5051 #       The following definition is for the basic terminal without
5052 #       function keys.
5054 #       <u0> -> enter Tektronix 4010/4014 mode
5055 #       <u1> -> exit  Tektronix 4010/4014 mode
5056 #       <u2> -> enter ASCII mode (from any ANSI mode)
5057 #       <u3> -> exit  ASCII mode (goto native ANSI mode)
5058 #       <u4> -> enter Tek 4207 ANSI mode (from any ANSI mode)
5059 #       <u5> -> exit  Tek 4207 mode (goto native ANSI mode)
5061 # Bug: The <op> capability resets attributes.
5062 # (untranslatable capabilities removed to fit entry within 1023 bytes)
5063 # (sgr removed to fit entry within 1023 bytes)
5064 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
5065 wy370-nk|wyse 370 without function keys:\
5066         :am:hs:mi:ms:xn:xo:\
5067         :co#80:it#8:li#24:ws#80:\
5068         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
5069         :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
5070         :bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
5071         :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ds=\E[40l:\
5072         :ec=\E[%dX:ei=\E[4l:fs=\E[1;24r\E8:ho=\E[H:\
5073         :i1=\E[90;1"p\E[?5W:i2=\E>\017\E)0\E(B\E[63;0w\E[m:\
5074         :im=\E[4h:ip=:\
5075         :is=\E[2;4;20;30;40l\E[?1;10;16l\E[12h\E[?7;8;25h:\
5076         :ke=\E>:ks=\E[?1l\E=:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:\
5077         :mh=\E[2m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[27m:sf=\n:\
5078         :so=\E[7m:sr=\EM:st=\EH:ta=\011:te=\E[ R:ti=\E[ Q:\
5079         :ts=\E[40l\E[40h\E7\E[99;%i%p1%dH:ue=\E[24m:up=\E[A:\
5080         :us=\E[4m:vb=\E[30h\E\054\E[30l:ve=\E[34h\E[?25h:\
5081         :vi=\E[?25l:vs=\E[?25h\E[34l:
5083 #       Function key set for the ASCII (wy-50 compatible) keyboard
5084 #       This is the default 370.
5086 wy370|wyse370|wy370-101k|Wyse 370 with 101 key keyboard:\
5087         :@8=\EOM:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
5088         :F5=\E[28~:F6=\E[29~:k1=\E[?4i:k2=\E[?3i:k3=\E[2i:k4=\E[@:\
5089         :k5=\E[M:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
5090         :k;=\E[21~:kA=\EOP:kB=\E[Z:kD=\EOQ:kI=\EOP:kL=\EOQ:kN=\E[U:\
5091         :kP=\E[V:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
5092         :tc=wy370-nk:
5094 #       Function key set for the VT-320 (and wy85) compatible keyboard
5096 wy370-105k|Wyse 370 with 105 key keyboard:\
5097         :%1=\E[28~:*6=\E[4~:@0=\E[1~:@8=\EOM:F1=\E[23~:F2=\E[24~:\
5098         :F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:\
5099         :F8=\E[32~:F9=\E[33~:FA=\E[34~:K1=\EOw:K2=\EOu:K3=\EOy:\
5100         :K4=\EOq:K5=\EOs:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:\
5101         :k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\E[3~:\
5102         :kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:kh=\E[26~:\
5103         :kl=\E[D:kr=\E[C:ku=\E[A:l1=PF1:l2=PF2:l3=PF3:l4=PF4:\
5104         :tc=wy370-nk:
5106 #       Function key set for the PC compatible keyboard
5108 wy370-EPC|Wyse 370 with 102 key keyboard:\
5109         :@7=\E[1~:@8=\EOM:F1=\E[23~:F2=\E[24~:k1=\EOP:k2=\EOQ:\
5110         :k3=\EOR:k4=\EOS:k5=\E[M:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
5111         :k9=\E[20~:k;=\E[21~:kB=\E[Z:kI=\E[2~:kN=\E[U:kP=\E[V:\
5112         :kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
5113         :tc=wy370-nk:
5115 #       Wyse 370 with visual bell.
5116 wy370-vb|Wyse 370 with visible bell:\
5117         :bl@:tc=wy370:
5119 #       Wyse 370 in 132-column mode.
5120 wy370-w|Wyse 370 in 132-column mode:\
5121         :co#132:ws#132:\
5122         :r2=\E[35h\E[?3h:tc=wy370:
5124 #       Wyse 370 in 132-column mode with visual bell.
5125 wy370-wvb|Wyse 370 with visible bell 132-columns:\
5126         :vb=\E[30h\E\054\E[30l:tc=wy370-w:
5127 wy370-rv|Wyse 370 reverse video:\
5128         :r3=\E[32h\E[?5h:tc=wy370:
5130 #       Wyse 99gt Tektronix 4010/4014 emulator,
5132 wy99gt-tek|Wyse 99gt Tektronix 4010/4014 emulator:\
5133         :am:os:\
5134         :co#74:li#35:\
5135         :bl=^G:cl=\E^L:\
5136         :..cm=\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:\
5137         :cr=^M:do=^J:ff=^L:\
5138         :hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037:\
5139         :ho=^]7`x @\037:\
5140         :hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037:\
5141         :is=\E8:le=^H:nd= :nw=^M^J:u0=\E~>\E8:u1=\E[42h:up=^K:
5143 #       Wyse 160 Tektronix 4010/4014 emulator,
5145 wy160-tek|Wyse 160 Tektronix 4010/4014 emulator:\
5146         :..cm=\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:\
5147         :ho=^]8`g @\037:\
5148         :tc=wy99gt-tek:
5150 #       Wyse 370 Tektronix 4010/4014 emulator,
5152 wy370-tek|Wyse 370 Tektronix 4010/4014 emulator:\
5153         :am:os:\
5154         :co#80:li#36:\
5155         :bl=^G:cl=\E^L:\
5156         :..cm=\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:\
5157         :cr=^M:do=^J:ff=^L:\
5158         :hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037:\
5159         :ho=^]8g @\037:\
5160         :hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037:\
5161         :is=\E8:kb=^H:kd=^J:kl=^H:kr=^I:ku=^K:le=^H:nd= :nw=^M^J:\
5162         :u0=\E[?38h\E8:u1=\E[?38l\E)0:up=^K:
5164 # Vendor-supplied Wyse entries end here.
5166 # Can't set tabs! Other bugs (ANSI mode only):
5167 # - can't redefine function keys (anyway, key redefinition in ANSI mode
5168 #   is too much complex to be described);
5169 # - meta key can't be described (the terminal forgets it when reset);
5170 # The xon-xoff handshaking can't be disabled while in ansi personality, so
5171 # emacs can't work at speed greater than 9600 baud.  No padding is needed at
5172 # this speed.
5173 #   dch1 has been commented out because it causes annoying glittering when
5174 # vi deletes one character at the beginning of a line with tabs in it.
5175 #   dch makes sysgen(1M) have a horrible behaviour when deleting
5176 # a screen and makes screen(1) behave badly, so it is disabled too. The nice
5177 # thing is that vi goes crazy if smir-rmir are present and both dch-dch1 are
5178 # not, so smir and rmir are commented out as well.
5179 # From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
5180 # (untranslatable capabilities removed to fit entry within 1023 bytes)
5181 # (sgr removed to fit entry within 1023 bytes)
5182 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
5183 wy99-ansi|Wyse WY-99GT in ansi mode (int'l PC keyboard):\
5184         :am:km:mi:ms:xn:\
5185         :co#80:it#8:li#25:vt#3:\
5186         :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:\
5187         :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
5188         :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
5189         :cs=\E[%i%d;%dr:dl=\E[M:do=\ED:ec=\E[%dX:ei=\E[4l:ho=\E[H:\
5190         :im=\E[4h:\
5191         :is=\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:\
5192         :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[M:k6=\E[17~:\
5193         :k7=\E[18~:k8=\E[19~:k9=\E[20~:kb=^H:kd=\EOB:ke=\E[?1l:\
5194         :kl=\EOD:kr=\EOC:ks=\E[?1h:ku=\EOA:le=\010:ll=\E[24E:\
5195         :mb=\E[5m:md=\E[1m:me=\E[m\017\E["q:mh=\E[2m:mr=\E[7m:\
5196         :nd=\E[C:nw=\EE:rc=\E8:sc=\E7:se=\E[27m:sf=\n:so=\E[7m:\
5197         :sr=\EM:ta=^I:ue=\E[24m:up=\EM:us=\E[4m:vb=\E[?5h\E[?5l:\
5198         :ve=\E[34h\E[?25h:vi=\E[?25l:vs=\E[34l\E[?25h:
5200 #   This is the american terminal. Here tabs work fine.
5201 # From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
5202 wy99a-ansi|Wyse WY-99GT in ansi mode (US PC keyboard):\
5203         :ct=\E[3g:i2=\E[?5l:r3=\E[?5l:st=\EH:\
5204         :tc=wy99-ansi:
5206 # This terminal (firmware version 02) has a lot of bugs:
5207 # - can't set tabs;
5208 # - other bugs in ANSI modes (see above).
5209 # This description disables handshaking when using cup. This is because
5210 # GNU emacs doesn't like Xon-Xoff handshaking. This means the terminal
5211 # cannot be used at speeds greater than 9600 baud, because at greater
5212 # speeds handshaking is needed even for character sending. If you use
5213 # DTR handshaking, you can use even greater speeds.
5214 # From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
5215 # (untranslatable capabilities removed to fit entry within 1023 bytes)
5216 # (sgr removed to fit entry within 1023 bytes)
5217 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
5218 wy99f|wy99fgt|wy-99fgt|Wyse WY-99GT (int'l PC keyboard):\
5219         :am:bw:hs:km:mi:ms:xo:\
5220         :co#80:it#8:li#25:ws#46:\
5221         :K1=^^:K3=\EJ:K4=\ET:K5=\EK:ae=\EcD:al=\EE:as=\EcE:bl=^G:\
5222         :bt=\EI:cd=\EY:ce=\ET:cl=\E'\E(\032:cm=\E=%+ %+ :cr=^M:\
5223         :dc=\EW:dl=\ER:do=\Ej:ds=\EF\r:ei=\Er:fs=^M:ho=^^:im=\Eq:\
5224         :is=\Eu\Ee6\EC\EDF\Ec21\Ec31\Ec62\Ec72\Ee;\016\E'\EeL\E`9\E\1360\E`1\E`4\Ee.\E`\072\Ee1\EG0\E(\Ed/\Ee4\Ed*\EO\E`I\Er\Ee"\EcD\024:\
5225         :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
5226         :k7=^AF\r:k8=^AG\r:k9=^AH\r:kb=^H:kd=^J:kl=^H:kr=^L:ku=^K:\
5227         :le=^H:mb=\EG2:me=\E(\EG0:mh=\EGp:mr=\EG4:nd=^L:nw=^_:\
5228         :se=\EG0:sf=^J:so=\EG4:sr=\Ej:ta=^I:te=\Ec21\Ec31:\
5229         :ti=\Ec20\Ec30:ts=\EF:up=^K:vb=\E\1361\E\1360:\
5230         :ve=\E`4\E`1:vi=\E`0:vs=\E`2\E`1:
5232 # This is the american terminal. Here tabs work.
5233 # From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
5234 wy99fa|wy99fgta|wy-99fgta|Wyse WY-99GT (US PC keyboard):\
5235         :ct=\E0:st=\E1:\
5236         :tc=wy99f:
5239 #TITLE:  TERMINFO ENTRY WY520
5240 #DATE:   8/5/93
5241 # The WY520 terminfo is based on the WY285 entry published on the WYSE 
5242 # BBS with the addition of more function keys and special keys.
5244 #               rs1 -> set personality
5245 #               rs2 -> set number of columns
5246 #               rs3 -> set number of lines
5247 #               is1 -> select the proper font
5248 #               is2 -> do the initialization
5249 #               is3 -> If this string is empty then rs3 gets sent.
5251 #       Wyse 520 emulating a vt420 7 bit mode with default ANSI keyboard
5252 #       - The BS key is programmed to generate BS in smcup since
5253 #         is2 doesn't seem to work.
5254 #       - Remove and shift/Remove: delete a character
5255 #       - Insert : enter insert mode
5256 #       - Find   : delete to end of file
5257 #       - Select : clear a line
5258 #       - F11, F12, F13: send default sequences (not ESC, BS, LF)
5259 #       - F14 : Home key
5260 #       - Bottom status line (host writable line) is used.
5261 #       - smkx,rmkx are removed because this would put the numeric
5262 #         keypad in Dec application mode which doesn't seem to work
5263 #         with SCO applications.
5265 # (untranslatable capabilities removed to fit entry within 1023 bytes)
5266 # (sgr removed to fit entry within 1023 bytes)
5267 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
5268 wy520|wyse520|wyse 520:\
5269         :am:hs:km:mi:xn:xo:\
5270         :co#80:it#8:li#24:ws#80:\
5271         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
5272         :K1=\EOw:K2=\EOy:K3=\EOu:K4=\EOq:K5=\EOs:LE=\E[%dD:\
5273         :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
5274         :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
5275         :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ds=\E[0$~:\
5276         :ec=\E[%dX:ei=\E[4l:fs=\E[0$}:ho=\E[H:i1=\E[?5W:\
5277         :i2=\E>\E(B\E)0\017\E[m:im=\E[4h:ip=:\
5278         :is=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25;67h:\
5279         :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
5280         :k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
5281         :kb=^H:kd=\E[B:kh=\E[26~:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
5282         :mb=\E[5m:md=\E[1m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:\
5283         :rc=\E8:sc=\E7:se=\E[m:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
5284         :te=\E[ R:ti=\E[ Q\E[?67;8h:ts=\E[2$~\E[1$}\E[%i%p1%d`:\
5285         :ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[34h\E[?25h:vi=\E[?25l:\
5286         :vs=\E[?25h\E[34l:
5288 #       Wyse 520 with 24 data lines and status (terminal status)
5289 wy520-24|wyse520-24|wyse 520 with 24 data lines:\
5290         :hs@:\
5291         :ds@:fs@:r3=\E[?5l\E[47h\E[40l\E[1;24r:ts@:tc=wy520:
5293 #       Wyse 520 with visual bell.
5294 wy520-vb|wyse520-vb|wyse 520 with visible bell:\
5295         :vb=\E[30h\E\054\E[30l:tc=wy520:
5297 #       Wyse 520 in 132-column mode.
5298 wy520-w|wyse520-w|wyse 520 in 132-column mode:\
5299         :co#132:ws#132:\
5300         :DC=\E[%dP:IC=\E[%d@:dc=\E[P:ei=:im=:ip=:r2=\E[35h\E[?3h:tc=wy520:
5302 #       Wyse 520 in 132-column mode with visual bell.
5303 wy520-wvb|wyse520-wvb|wyse 520 with visible bell 132-columns:\
5304         :vb=\E[30h\E\054\E[30l:\
5305         :tc=wy520-w:
5308 #       Wyse 520 emulating a vt420 7 bit mode.
5309 #       The DEL key is programmed to generate BS in is2.
5310 #       With EPC keyboard.
5311 #       - 'End' key will clear till end of line on EPC keyboard
5312 #       - Shift/End : ignored.
5313 #       - Insert : enter insert mode.
5314 #       - Delete : delete a character (have to change interrupt character
5315 #                  to CTRL-C: stty intr '^c') for it to work since the
5316 #                  Delete key sends 7FH.
5317 wy520-epc|wyse520-epc|wyse 520 with EPC keyboard:\
5318         :@7=\E[4~:k0=\E[21~:k1=\E[11~:k2=\E[12~:k3=\E[13~:\
5319         :k4=\E[14~:k5=\E[15~:kD=\177:kE=\E[4~:kh=\E[H:\
5320         :tc=wy520:
5322 #       Wyse 520 with 24 data lines and status (terminal status)
5323 #       with EPC keyboard.
5324 wy520-epc-24|wyse520-pc-24|wyse 520 with 24 data lines and EPC keyboard:\
5325         :hs@:\
5326         :ds@:fs@:r3=\E[?5l\E[47h\E[40l\E[1;24r:ts@:tc=wy520-epc:
5328 #       Wyse 520 with visual bell.
5329 wy520-epc-vb|wyse520-pc-vb|wyse 520 with visible bell and EPC keyboard:\
5330         :vb=\E[30h\E\054\E[30l:\
5331         :tc=wy520-epc:
5333 #       Wyse 520 in 132-column mode.
5334 wy520-epc-w|wyse520-epc-w|wyse 520 in 132-column mode with EPC keyboard:\
5335         :co#132:ws#132:\
5336         :DC=\E[%dP:IC=\E[%d@:dc=\E[P:ei=:im=:ip=:r2=\E[35h\E[?3h:tc=wy520-epc:
5338 #       Wyse 520 in 132-column mode with visual bell.
5339 wy520-epc-wvb|wyse520-p-wvb|wyse 520 with visible bell 132-columns and EPC keyboard:\
5340         :vb=\E[30h\E\054\E[30l:\
5341         :tc=wy520-epc-w:
5343 #       Wyse 520 in 80-column, 36 lines
5344 wy520-36|wyse520-36|wyse 520 with 36 data lines:\
5345         :hs@:\
5346         :li#36:\
5347         :ds@:fs@:r3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r:ts@:tc=wy520:
5349 #       Wyse 520 in 80-column, 48 lines
5350 wy520-48|wyse520-48|wyse 520 with 48 data lines:\
5351         :hs@:\
5352         :li#48:\
5353         :ds@:fs@:r3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r:ts@:tc=wy520:
5355 #       Wyse 520 in 132-column, 36 lines
5356 wy520-36w|wyse520-36w|wyse 520 with 132 columns and 36 data lines:\
5357         :co#132:ws#132:\
5358         :r2=\E[?3h:\
5359         :r3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|:tc=wy520-36:
5361 #       Wyse 520 in 132-column, 48 lines
5362 wy520-48w|wyse520-48w|wyse 520 with 48 data lines:\
5363         :co#132:ws#132:\
5364         :r2=\E[?3h:\
5365         :r3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|:tc=wy520-48:
5368 #       Wyse 520 in 80-column, 36 lines with EPC keyboard
5369 wy520-36pc|wyse520-36pc|wyse 520 with 36 data lines and EPC keyboard:\
5370         :hs@:\
5371         :li#36:\
5372         :ds@:fs@:r3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r:ts@:tc=wy520-epc:
5374 #       Wyse 520 in 80-column, 48 lines with EPC keyboard
5375 wy520-48pc|wyse520-48pc|wyse 520 with 48 data lines and EPC keyboard:\
5376         :hs@:\
5377         :li#48:\
5378         :ds@:fs@:r3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r:ts@:tc=wy520-epc:
5380 #       Wyse 520 in 132-column, 36 lines with EPC keyboard
5381 wy520-36wpc|wyse520-36wpc|wyse 520 with 36 data lines and EPC keyboard:\
5382         :co#132:ws#132:\
5383         :r2=\E[?3h:\
5384         :r3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|:tc=wy520-36pc:
5386 #       Wyse 520 in 132-column, 48 lines with EPC keyboard
5387 wy520-48wpc|wyse520-48wpc|wyse 520 with 48 data lines and EPC keyboard:\
5388         :co#132:ws#132:\
5389         :r2=\E[?3h:\
5390         :r3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|:tc=wy520-48pc:
5392 # From: John Gilmore <hoptoad!gnu@lll-crg.arpa>
5393 # (wyse-vp: removed :if=/usr/share/tabset/wyse-adds:, there's no such
5394 # file and we don't know what :st: is -- esr)
5395 wyse-vp|Wyse 50 in ADDS Viewpoint emulation mode with "enhance" on:\
5396         :am:bs:\
5397         :co#80:it#8:li#24:\
5398         :al=\EM:bl=^G:cd=\Ek:ce=\EK:cl=^L:cm=\EY%+ %+ :cr=^M:dc=\EW:\
5399         :dl=\El:do=^J:ei=\Er:ho=^A:im=\Eq:is=\E`\072\E`9\017\Er:\
5400         :kb=^H:kd=^J:kh=^A:kl=^U:kr=^F:ku=^Z:le=^H:ll=^A^Z:me=^O:\
5401         :nd=^F:nw=^M^J:r1=\E`\072\E`9\017\Er:se=^O:sf=^J:so=^N:\
5402         :ta=^I:ue=^O:up=^Z:us=^N:
5404 wy75ap|wyse75ap|wy-75ap|wyse-75ap|Wyse WY-75 Applications and Cursor keypad:\
5405         :is=\E[1;24r\E[?10;3l\E[?1;25h\E[4l\E[m\E(B\E=:kb=^H:\
5406         :kd=\EOB:ke=10\E[?1l\E>:kh=\EOH:kl=\EOD:kr=\EOC:\
5407         :ks=10\E[?1h\E=:ku=\EOA:tc=wy75:
5409 # From: Kevin Turner <kevint@aracnet.com>, 12 Jul 1998
5410 # This copes with an apparent firmware bug in the wy85.  He writes:
5411 # "What I did was change leave the terminal cursor keys set to Normal
5412 # (instead of application), and change \E[ to \233 for all the keys in
5413 # terminfo. At one point, I found some reference indicating that this
5414 # terminal bug (not sending \E[) was acknowledged by Wyse (so it's not just
5415 # me), but I can't find that and the server under my bookmark to "Wyse 
5416 # Technical" isn't responding.  So there's the question of wether the wy85
5417 # terminfo should reflect the manufactuer's intended behaviour of the terminal
5418 # or the actual."
5419 # (untranslatable capabilities removed to fit entry within 1023 bytes)
5420 # (sgr removed to fit entry within 1023 bytes)
5421 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
5422 wy85-8bit|wyse85-8bit|wyse 85 in 8-bit mode:\
5423         :am:hs:mi:ms:xn:xo:\
5424         :co#80:it#8:li#24:ws#80:\
5425         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
5426         :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
5427         :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
5428         :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
5429         :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ds=\E[40l:\
5430         :ec=\E[%dX:ei=\E[4l:fs=\E[1;24r\E8:ho=\E[H:\
5431         :i1=\E[62;1"p\E[?5W:i2=\E>\E(B\E)0\017\E[m:im=\E[4h:ip=:\
5432         :is=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h:\
5433         :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\23317~:k7=\23318~:\
5434         :k8=\23319~:k9=\23320~:kD=\2333~:kI=\2332~:kN=\2336~:\
5435         :kP=\2335~:kb=^H:kd=\233B:ke=\E>:kh=\23326~:kl=\233D:\
5436         :kr=\233C:ks=\E[?1l\E=:ku=\233A:le=^H:mb=\E[5m:md=\E[1m:\
5437         :me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:\
5438         :se=\E[m:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=\011:\
5439         :ts=\E[40h\E7\E[25;%i%p1%dH:ue=\E[m:up=\E[A:us=\E[4m:\
5440         :vb=\E[30h\E\054\E[30l:ve=\E[?25h:vi=\E[?25l:
5442 # From: Eric Freudenthal <freudent@eric.ultra.nyu.edu>
5443 wy100q|Wyse 100 for Quotron:\
5444         :bs:\
5445         :co#80:li#24:sg#1:\
5446         :al=\EE:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :dc=\EW:\
5447         :dl=\ER:do=^J:ei=\Er:ho=^^:im=\Eq:\
5448         :is=\E`\072\0\EC\EDF\E0\E'\E(\EA21:kd=^J:kl=^H:kr=^L:\
5449         :ku=^K:le=^H:mk@:nd=^L:sr=\Ej:up=^K:\
5450         :tc=adm+sgr:
5452 #### Kermit terminal emulations
5454 # Obsolete Kermit versions may be listed in the section describing obsolete
5455 # non-ANSI terminal emulators later in the file.
5458 # KERMIT standard all versions.
5459 # Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
5460 # (kermit: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
5461 # From: greg small <gts@populi.berkeley.edu> 9-25-84
5462 kermit|standard kermit:\
5463         :bs:\
5464         :co#80:li#24:\
5465         :cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :ho=\EH:\
5466         :is=K0 Standard Kermit  9-25-84\n:kd=^J:kh=^^:kl=^H:\
5467         :kr=^L:ku=^K:le=^H:nd=\EC:up=\EA:
5468 kermit-am|standard kermit plus auto-margin:\
5469         :am:\
5470         :is=K1 Standard Kermit plus Automatic Margins\n:tc=kermit:
5471 # IBMPC Kermit 1.2.
5472 # Bugs: :cd:, :ce:: do not work except at beginning of line!  :cl: does
5473 # not work, but fake with :cl=\EH\EJ (since :cd=\EJ: works at beginning of
5474 # line).
5475 # From: greg small <gts@populi.berkeley.edu> 8-30-84
5476 pckermit|pckermit12|UCB IBMPC Kermit 1.2:\
5477         :am:\
5478         :li#25:\
5479         :cd@:ce@:cl=\EH\EJ:\
5480         :is=K2 UCB IBMPC Kermit 1.2  8-30-84\n:tc=kermit:
5481 # IBMPC Kermit 1.20
5482 # Cannot use line 25, now acts funny like ansi special scrolling region.
5483 # Initialization must escape from that region by cursor position to line 24.
5484 # Cannot use character insert because 1.20 goes crazy if insert at col 80.
5485 # Does not use :am: because autowrap is lost when kermit dropped and restarted.
5486 # From: greg small <gts@populi.berkeley.edu> 12-19-84
5487 pckermit120|UCB IBMPC Kermit 1.20:\
5488         :it#8:li#24:\
5489         :al=\EL:dc=\EN:dl=\EM:do=\EB:ei@:im@:\
5490         :is=\EO\Eq\EJ\EY7 K3 UCB IBMPC Kermit 1.20  12-19-84\n:\
5491         :se=\Eq:so=\Ep:ta=^I:vs=\EO\Eq\EEK3:\
5492         :tc=kermit:
5493 # MS-DOS Kermit 2.27 for the IBMPC
5494 # Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
5495 # Cannot use line 25, now acts funny like ansi special scrolling region.
5496 # Initialization must escape from that region by cursor position to line 24.
5497 # Does not use am: because autowrap is lost when kermit dropped and restarted.
5498 # Reverse video for standout like H19.
5499 # (msk227: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
5500 # From: greg small <gts@populi.berkeley.edu> 3-17-85
5501 msk227|mskermit227|MS-DOS Kermit 2.27 for the IBMPC:\
5502         :am@:bs:\
5503         :co#80:it#8:li#24:\
5504         :al=\EL:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :dc=\EN:dl=\EM:\
5505         :do=\EB:ei=\EO:ho=\EH:im=\E@:\
5506         :is=\EO\Eq\EG\Ew\EJ\EY7 K4 MS Kermit 2.27 for the IBMPC 3-17-85\n:\
5507         :kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:nd=\EC:rc=\Ek:sc=\Ej:\
5508         :se=\Eq:so=\Ep:ta=^I:up=\EA:vs=\EO\Eq\EG\EwK4:
5509 # MS-DOS Kermit 2.27 with automatic margins
5510 # From: greg small <gts@populi.berkeley.edu> 3-17-85
5511 msk227am|mskermit227am|UCB MS-DOS Kermit 2.27 with automatic margins:\
5512         :am:\
5513         :is=\EO\Eq\EG\Ev\EJ\EY7 K5 MS Kermit 2.27 +automatic margins 3-17-85\n:\
5514         :vs=\EO\Eq\EG\EvK5:\
5515         :tc=msk227:
5516 # MS-DOS Kermit 2.27 UCB 227.14 for the IBM PC
5517 # Automatic margins now default.  Use ansi :sa: for highlights.
5518 # Define function keys.
5519 # (msk22714: removed obsolete ":kn#10:" -- esr)
5520 # From: greg small <gts@populi.berkeley.edu> 3-17-85
5521 msk22714|mskermit22714|UCB MS-DOS Kermit 2.27 UCB 227.14 IBM PC:\
5522         :am:\
5523         :is=\EO\Eq\EG\Ev\EJ\EY7 K6 MS Kermit 2.27 UCB 227.14 IBM PC 3-17-85\n:\
5524         :k0=\E0:k1=\E1:k2=\E2:k3=\E3:k4=\E4:k5=\E5:k6=\E6:k7=\E7:\
5525         :k8=\E8:k9=\E9:md=\E[1m:me=\E[m:mr=\E[7m:se=\E[m:so=\E[1m:\
5526         :ue=\E[m:us=\E[4m:vs=\EO\Eq\EG\EvK6:\
5527         :tc=mskermit227:
5528 # This was designed for a VT320 emulator, but it is probably a good start
5529 # at support for the VT320 itself.
5530 # Please send changes with explanations to bug-gnu-emacs@prep.ai.mit.edu.
5531 # (vt320-k3: I added <rmam>/<smam> based on the init string -- esr)
5532 # (untranslatable capabilities removed to fit entry within 1023 bytes)
5533 # (sgr removed to fit entry within 1023 bytes)
5534 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
5535 vt320-k3|MS-Kermit 3.00's vt320 emulation:\
5536         :am:es:hs:km:mi:ms:xn:\
5537         :co#80:it#8:li#49:pb#9600:vt#3:\
5538         :AL=\E[%dL:CC=\E:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
5539         :LE=\E[%dD:RI=\E[%dC:SR=\E[%dL:UP=\E[%dA:ae=\E(B:al=\E[L:\
5540         :as=\E(0:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
5541         :cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
5542         :ds=\E[0$~:ec=\E[%dX:ei=\E[4l:fs=\E[0$}:ho=\E[H:im=\E[4h:\
5543         :is=\E>\E F\E[?1l\E[?7h\E[r\E[2$~:k0=\E[21~:k1=\EOP:\
5544         :k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
5545         :k9=\E[20~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:\
5546         :ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
5547         :mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=^M^J:rc=\E8:\
5548         :sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
5549         :ts=\E[1$}\r\E[K:ue=\E[24m:up=\E[A:us=\E[4m:\
5550         :vb=\E[?5h\E[?5l\E[?5h\E[?5l\E[?5h\E[?5l:ve=\E[?25h:\
5551         :vi=\E[?25l:
5552 # From: Joseph Gil <yogi@cs.ubc.ca> 13 Dec 1991
5553 # ACS capabilities from Philippe De Muyter  <phdm@info.ucl.ac.be> 30 May 1996
5554 # (I removed a bogus boolean :mo: and added :ms:, <smam>, <rmam> -- esr)
5555 vt320-k311|dec vt320 series as defined by kermit 3.11:\
5556         :am:es:hs:mi:ms:xn:xo:\
5557         :co#80:it#8:li#24:vt#3:\
5558         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
5559         :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
5560         :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
5561         :ae=^O:al=3\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[;H\E[2J:\
5562         :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
5563         :dl=\E[M:do=^J:ds=\E[2$~\r\E[1$}\E[K\E[$}:ei=\E[4l:\
5564         :fs=\E[$}:ho=\E[H:im=\E[4h:\
5565         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
5566         :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
5567         :k8=\E[19~:k9=\E[20~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
5568         :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l1=pf1:l2=pf2:l3=pf3:l4=pf4:\
5569         :le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=^M\ED:\
5570         :r1=\E[?3l:rc=\E8:rf=/usr/share/tabset/vt100:sc=\E7:\
5571         :se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
5572         :ts=\E[2$~\E[1$}\E[1;%dH:ue=\E[24m:up=\E[A:us=\E[4m:\
5573         :vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
5576 ######## ---------------- TERMINFO FILE CAN BE SPLIT HERE -------------------
5577 # This cut mark helps make life less painful for people running ncurses tic
5578 # on machines with relatively little RAM.  The file can be broken in half here
5579 # cleanly and compiled in sections -- no `use' references cross this cut
5580 # going forward.
5583 ######## OLDER TERMINAL TYPES
5585 # This section is devoted to older commercial terminal brands that are now
5586 # discontinued, but known to be still in use or represented by emulations.
5589 #### AT&T (att, tty)
5591 # This section also includes Teletype-branded VDTs.
5593 # The AT&T/Teletype terminals group was sold to SunRiver Data Systems (now
5594 # Boundless Technologies); for details, see the header comment on the ADDS
5595 # section.
5597 # These are AT&T's official terminfo entries.  All-caps aliases have been
5598 # removed.
5600 att2300|sv80|AT&T 2300 Video Information Terminal 80 column mode:\
5601         :am:eo:mi:ms:xo:\
5602         :co#80:it#8:li#24:\
5603         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[11r:\
5604         :F2=\E[12r:F3=\E[13r:F4=\E[14r:F5=\E[15r:F6=\E[16r:\
5605         :IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:\
5606         :cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
5607         :cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:im=\E[4h:\
5608         :k1=\E[1r:k2=\E[2r:k3=\E[3r:k4=\E[4r:k5=\E[5r:k6=\E[6r:\
5609         :k7=\E[7r:k8=\E[8r:k9=\E[9r:k;=\E[10r:kA=\E[L:kB=\E[Z:\
5610         :kC=\E[J:kD=\E[P:kI=\E[@:kL=\E[M:kb=^H:kd=\E[B:kh=\E[H:\
5611         :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:mr=\E[7m:nd=\E[C:\
5612         :pf=\E[4i:po=\E[5i:ps=\E[0i:se=\E[m:sf=^J:so=\E[7m:ta=^I:\
5613         :up=\E[A:
5614 att2350|AT&T 2350 Video Information Terminal 80 column mode:\
5615         :pf@:po@:ps@:\
5616         :tc=att2300:
5618 # Must setup RETURN KEY - CR, REC'VD LF - INDEX.
5619 # Seems upward compatible with vt100, plus ins/del line/char.
5620 # On sgr, the protection parameter is ignored.
5621 # No check is made to make sure that only 3 parameters are output.
5622 #       standout= reverse + half-intensity = 3 | 5.
5623 #       bold= reverse + underline = 2 | 3.
5624 # note that half-bright blinking doesn't look different from normal blinking.
5625 # NOTE:you must program the function keys first, label second!
5626 # (att4410: a BSD entry has been seen with the following capabilities: 
5627 # :is=\E[?6l:, :k1=\EOc:, :k2=\EOd:, :k3=\EOe:, :k4=\EOg:,
5628 # :k6=\EOh:, :k7=\EOi:, :k8=\EOj:, -- esr)
5629 # (untranslatable capabilities removed to fit entry within 1023 bytes)
5630 att5410v1|att4410v1|tty5410v1|AT&T 4410/5410 80 columns - version 1:\
5631         :am:hs:mi:ms:xo:\
5632         :Nl#8:co#80:it#8:lh#2:li#24:lw#8:ws#80:\
5633         :ac=++\054\054--..00``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
5634         :ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
5635         :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:\
5636         :do=\E[B:ei=:fs=\E8:ho=\E[H:i1=\E[?3l\E)0:\
5637         :i2=\E[1;03q   f1           \EOP\E[2;03q   f2           \EOQ\E[3;03q   f3           \EOR\E[4;03q   f4           \EOS\E[5;03q   f5           \EOT\E[6;03q   f6           \EOU\E[7;03q   f7           \EOV\E[8;03q   f8           \EOW:\
5638         :ic=\E[@:im=:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:\
5639         :k6=\EOU:k7=\EOV:k8=\EOW:kC=\E[2J:kH=\E[24;1H:kb=^H:\
5640         :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:ll=\E[24H:\
5641         :mb=\E[5m:md=\E[2;7m:me=\E[m\017:mh=\E[2m:mk=\E[8m:\
5642         :mr=\E[7m:nd=\E[C:nw=^M^J:r2=\Ec\E[?3l\E[2;0y:rc=\E8:\
5643         :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:\
5644         :ts=\E7\E[25;%p1%{1}%+%dH:ue=\E[m:up=\E[A:us=\E[4m:
5646 att4410v1-w|att5410v1-w|tty5410v1-w|AT&T 4410/5410 132 columns - version 1:\
5647         :co#132:ws#132:\
5648         :i1=\E[?3h\E)0:r2=\Ec\E[?3h\E[2;0y:tc=att5410v1:
5650 att4410|att5410|tty5410|AT&T 4410/5410 80 columns - version 2:\
5651         :bs:\
5652         :..px=\E[%p1%d;%p2%l%02dq   f%p1%d           %p2%s:tc=att5410v1:
5654 att5410-w|att4410-w|4410-w|tty5410-w|5410-w|AT&T 4410/5410 in 132 column mode:\
5655         :co#132:ws#132:\
5656         :i1=\E[?3h\E)0:r2=\Ec\E[?3h\E[2;0y:tc=att4410:
5658 # 5410 in terms of a vt100
5659 # (v5410: added <rmam>/<smam> based on init string -- esr)
5660 v5410|att5410 in terms of a vt100:\
5661         :am:mi:ms:xo:\
5662         :co#80:it#8:li#24:vt#3:\
5663         :@8=\EOM:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:RA=\E[?7l:\
5664         :SA=\E[?7h:\
5665         :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
5666         :ae=^O:al=\E[L:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
5667         :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
5668         :ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:eA=\E(B\E)0:ei=:ho=\E[H:\
5669         :ic=\E[@:im=:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
5670         :k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:kb=^H:\
5671         :kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
5672         :ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:\
5673         :nd=\E[C:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
5674         :..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
5675         :sc=\E7:se=\E[m:sf=^J:so=\E[1;7m:sr=\EM:st=\EH:ta=^I:\
5676         :ue=\E[m:up=\E[A:us=\E[4m:
5679 # Teletype Model 5420 -- A souped up 5410, with multiple windows,
5680 # even! the 5420 has three modes: scroll, window or page mode
5681 # this terminfo should work in scroll or window mode, but doesn't
5682 # take advantage of any of the differences between them.
5684 # Has memory below (2 lines!)
5685 # 3 pages of memory (plus some spare)
5686 # The 5410 sequences for :cm:, :vs:, :DC:, :DL:, :ec:, :vb:, :ho:,
5687 # <hpa>, :st: would work for these, but these work in both scroll and window
5688 # mode... Unset insert character so insert mode works
5689 # :i1: sets 80 column mode,
5690 # :is: escape sequence:
5691 # 1) turn off all fonts
5692 # 2) function keys off, keyboard lock off, control display off,
5693 #    insert mode off, erasure mode off,
5694 # 3) full duplex, monitor mode off, send graphics off, nl on lf off
5695 # 4) reset origin mode
5696 # 5) set line wraparound
5697 # 6) exit erasure mode, positional attribute mode, and erasure extent mode
5698 # 7) clear margins
5699 # 8) program ENTER to transmit ^J,
5700 # We use \212 to program the ^J because a bare ^J will get translated by
5701 # UNIX into a CR/LF. The enter key is needed for AT&T uOMS.
5702 #     1      2            3              4     5     6    7  8
5703 # :i3: set screen color to black,
5704 # No representation in terminfo for the delete word key: kdw1=\Ed
5705 # Key capabilities assume the power-up send sequence...
5706 # This :te: is not strictly necessary, but it helps maximize 
5707 # memory usefulness: :te=\Ez:,
5708 # Alternate sgr0:       :me=\E[m\EW^O:,
5709 # Alternate sgr:        :sa=\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%;:,
5710 # smkx programs the SYS PF keys to send a set sequence.
5711 # It also sets up labels f1, f2, ..., f8, and sends edit keys.
5712 # This string causes them to send the strings :k1:-:k8:
5713 # when pressed in SYS PF mode.
5714 # (att4415: I added <rmam>/<smam> based on the init string -- esr)
5715 # (untranslatable capabilities removed to fit entry within 1023 bytes)
5716 att4415|tty5420|att5420|AT&T 4415/5420 80 cols:\
5717         :bs:db:mi:xo:\
5718         :Nl#8:lh#2:lm#78:lw#8:ws#55:\
5719         :@1=\Et:@7=\Ez:@8=\Eent:AL=\E[%dL:CM=\E[%i%p1%d;%p2%dt:\
5720         :DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:LF=\E|:\
5721         :LO=\E~:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:SF=\E[%dE:SR=\E[%dF:\
5722         :UP=\E[%dA:bt=\E[Z:ch=\E[%+^AG:cl=\E[x\E[J:\
5723         :cm=\E[%i%d;%dx:ct=\E[3g:cv=\E[%+^Ad:ec=\E[%ds\E[%dD:\
5724         :ei=\E[4l:ho=\E[x:i1=\E[?3l:i2=\E[?5l:ic@:im=\E[4h:\
5725         :is=\E[m\017\E[1;2;3;4;6l\E[12;13;14;20l\E[?6;97;99l\E[?7h\E[4i\Ex\E[21;1j\212:\
5726         :k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:\
5727         :k8=\EOj:kA=\E[L:kB=\E[Z:kD=\E[P:kE=\E[2K:kF=\E[T:kH=\Eu:\
5728         :kI=\E[4h:kL=\E[M:kN=\E[U:kP=\E[V:kR=\E[S:\
5729         :ke=\E[19;0j\E[21;1j\212:ks=\E[19;1j\E[21;4j\Eent:\
5730         :l1=F1:l2=F2:l3=F3:l4=F4:l5=F5:l6=F6:l7=F7:l8=F8:ll=\Ew:\
5731         :me=\E[m\017:mp=\EV:pf=\E[?9i:po=\E[?4i:ps=\E[?2i:st=\EH:\
5732         :ts=\E7\E[25;%p1%{8}%+%dH:vb=\E[?5h\E[?5l:ve=\E[11;0j:\
5733         :vs=\E[11;1j:\
5734         :tc=att4410:
5736 att4415-w|tty5420-w|att5420-w|AT&T 4415/5420 132 cols:\
5737         :co#132:lm#54:ws#97:\
5738         :i1=\E[?3h:tc=att4415:
5740 att4415-rv|tty5420-rv|att5420-rv|AT&T 4415/5420 80 cols/rv:\
5741         :i2=\E[?5h:vb=\E[?5l\E[?5h:\
5742         :tc=att4415:
5744 att4415-w-rv|tty5420-w-rv|att5420-w-rv|AT&T 4415/5420 132 cols/rv:\
5745         :co#132:lm#54:ws#97:\
5746         :i1=\E[?3h:i2=\E[?5h:vb=\E[?5l\E[?5h:tc=att4415:
5748 # Note that this mode permits programming USER PF KEYS and labels
5749 # However, when you program user pf labels you have to reselect
5750 # user pf keys to make them appear! 
5751 att4415+nl|tty5420+nl|att5420+nl|generic AT&T 4415/5420 changes for not changing labels:\
5752         :k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:\
5753         :..pn=\E[%p1%d;0;0;1q%p2%:-16.16s:\
5754         :..px=\E[%p1%d;%p2%l%02d;0;1q   F%p1%d           %p2%s:
5756 att4415-nl|tty5420-nl|att5420-nl|AT&T 4415/5420 without changing labels:\
5757         :k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:\
5758         :tc=att4415+nl:tc=att4415:
5760 att4415-rv-nl|tty5420-rv-nl|att5420-rv-nl|AT&T 4415/5420 reverse video without changing labels:\
5761         :k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:\
5762         :tc=att4415+nl:tc=att4415-rv:
5764 att4415-w-nl|tty5420-w-nl|att5420-w-nl|AT&T 4415/5420 132 cols without changing labels:\
5765         :k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:\
5766         :tc=att4415+nl:tc=att4415-w:
5768 att4415-w-rv-n|tty5420-w-rv-n|att5420-w-rv-n|AT&T 4415/5420 132 cols reverse without changing labels:\
5769         :k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:\
5770         :tc=att4415+nl:tc=att4415-w-rv:
5772 # (untranslatable capabilities removed to fit entry within 1023 bytes)
5773 # (sgr removed to fit entry within 1023 bytes)
5774 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
5775 att5420_2|AT&T 5420 model 2 80 cols:\
5776         :am:db:hs:mi:ms:xo:\
5777         :co#80:it#8:li#24:lm#78:ws#55:\
5778         :AL=\E[%dL:CM=\E[%i%p1%d;%p2%dt:DC=\E[%dP:DL=\E[%dM:\
5779         :IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:SF=\E[%dE:SR=\E[%dF:\
5780         :UP=\E[%dA:ae=^O:al=\E[L:as=^N:bt=\E[1Z:cd=\E[0J:ce=\E[0K:\
5781         :cl=\EH\EJ:cm=\E[%i%d;%dH:cr=\EG:cs=\E[%i%d;%dr:ct=\E[3g:\
5782         :dc=\E[P:dl=\E[M:do=\E[1B:ec=\E[%ds\E[%dD:ei=:fs=\E8:\
5783         :ho=\E[H:\
5784         :i1=\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:\
5785         :ic=\E[@:im=:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:\
5786         :k6=\EOh:k7=\EOi:k8=\EOj:kD=\E[P:kH=\Eu:kI=\E[4h:kN=\E[U:\
5787         :kP=\E[V:kb=^H:kd=\E[B:ke=\E[19;0j:kh=\E[H:kl=\E[D:kr=\E[C:\
5788         :ks=\E[19;1j:ku=\E[A:le=^H:ll=\Ew:mb=\E[5m:me=\E[m\017:\
5789         :mh=\E[2m:mr=\E[7m:nd=\E[1C:nw=^M^J:rc=\E8:sc=\E7:se=\E[m:\
5790         :sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
5791         :ts=\E7\E[25;%p1%{8}%+%dH:ue=\E[m:us=\E[4m:\
5792         :vb=\E[?5h\E[?5l:ve=\E[11;0j:vs=\E[11;1j:
5793 att5420_2-w|AT&T 5420 model 2 in 132 column mode:\
5794         :co#132:\
5795         :i1=\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:tc=att5420_2:
5797 att4418|att5418|AT&T 5418 80 cols:\
5798         :am:xo:\
5799         :co#80:li#24:\
5800         :@8=\E[:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[n:\
5801         :F2=\E[o:F3=\E[H:F4=\E[I:F5=\E[J:F8=\E[K:F9=\E[L:FA=\E[E:\
5802         :FB=\E[_:FC=\E[M:FD=\E[N:FE=\E[O:IC=\E[%d@:LE=\E[%dD:\
5803         :RI=\E[%dC:UP=\E[%dA:\
5804         :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
5805         :ae=^O:al=\E[1L:as=^N:bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[H\E[2J:\
5806         :cm=\E[%i%d;%dH:cr=^M:dc=\E[1P:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
5807         :i1=\E[?3l:ic=\E[1@:im=:is=\E)0\E?6l\E?5l:k1=\E[h:k2=\E[i:\
5808         :k3=\E[j:k6=\E[k:k7=\E[l:k8=\E[f:k9=\E[w:k;=\E[m:kC=\E[%:\
5809         :kd=\EU:kh=\Ec:kl=\E@:kr=\EA:ku=\ES:le=\E[D:mb=\E[5m:\
5810         :me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:\
5811         :se=\E[m:sf=^J:so=\E[7m:ue=\E[m:up=\E[A:us=\E[4m:
5812 att4418-w|att5418-w|AT&T 5418 132 cols:\
5813         :co#132:\
5814         :i1=\E[?3h:tc=att5418:
5816 att4420|tty4420|teletype 4420:\
5817         :bs:da:db:eo:ms:ul:xo:\
5818         :co#80:li#24:lm#72:\
5819         :al=\EL:bl=^G:cd=\EJ:ce=\Ez:cl=\EH\EJ:cm=\EY%+ %+ :cr=\EG:\
5820         :dc=\EP:dl=\EM:dm@:do=\EB:ed@:ho=\EH:k0=\EU:k3=\E@:kA=\EL:\
5821         :kB=\EO:kC=\EJ:kD=\EP:kF=\ES:kI=\E\136:kL=\EM:kR=\ET:kd=\EB:\
5822         :kh=\EH:kl=^H:kr=\EC:ku=\EA:l0=segment advance:\
5823         :l3=cursor tab:le=\ED:nd=\EC:se=\E~:sf=\EH\EM\EY7 :so=\E}:\
5824         :ue=\EZ:up=\EA:us=\E\:
5826 #  The following is a terminfo entry for the Teletype 4424
5827 #  asynchronous keyboard-display terminal.  It supports
5828 #  the vi editor.  The terminal must be set up as follows,
5829 #       
5830 #       HIGHLIGHT DEFINITION    3-TONE
5831 #       DISPLAY FUNCTION        GROUP III
5832 #       
5833 #  The second entry below provides limited (a la adm3a)
5834 #  operation under GROUP II.
5835 #       
5836 #  This must be used with DISPLAY FUNCTION GROUP I or III
5837 #       and HIGHLIGHT DEFINITION 3-TONE
5838 # The terminal has either bold or blink, depending on options
5840 # (att4424: commented out :ti:=\E[1m, we don't need bright locked on -- esr)
5841 att4424|tty4424|teletype 4424:\
5842         :am:bs:xo:\
5843         :co#80:li#24:\
5844         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
5845         :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
5846         :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
5847         :ae=\E(B:al=\EL:as=\E(0:bl=^G:bt=\EO:cd=\EJ:ce=\Ez:\
5848         :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\EF:\
5849         :dc=\EP:dl=\EM:do=\EB:ei=:ho=\E[H:ic=\E\136:im=:\
5850         :is=\E[20l\E[?7h:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kC=\EJ:\
5851         :kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E3:\
5852         :md=\E3:me=\EX\E~\EZ\E4\E(B:mh=\EW:mr=\E}:nd=\EC:nw=\EE:\
5853         :..sa=\E[%?%p1%t7%;%?%p2%t;4%;%?%p3%t;7%;%?%p6%t;1%;%?%p6%p4%|%t;5%;%?%p5%t;0%;m:\
5854         :se=\E~:sf=^J:so=\E}:sr=\ET:st=\EH:ta=^I:ue=\EZ:up=\EA:\
5855         :us=\E\:
5857 att4424-1|tty4424-1|teletype 4424 in display function group I:\
5858         :kC@:kd=\EB:kh@:kl=\ED:kr=\EC:ku=\EA:\
5859         :tc=att4424:
5861 # This entry is not one of AT&T's official ones, it was translated from the
5862 # 4.4BSD termcap file.  The highlight strings are different from att4424.
5863 # I have no idea why this is -- older firmware version, maybe?
5864 # The following two lines are the comment originally attached to the entry:
5865 # This entry appears to avoid the top line - I have no idea why.
5866 # From: jwb Wed Mar 31 13:25:09 1982 remote from ihuxp
5867 att4424m|tty4424m|teletype 4424M:\
5868         :am:da:db:mi:\
5869         :co#80:it#8:li#23:\
5870         :al=\EL:bl=^G:ce=\E[K:cl=\E[2;H\E[J:cm=\E[%i%2;%2H\E[B:\
5871         :cr=^M:dc=\EP:dl=\EM:do=^J:ei=:ic=\E\136:im=:ip=2:\
5872         :is=\E[m\E[2;24r:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:\
5873         :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:\
5874         :nd=\E[C:nw=^M^J:se=\E[m:sf=^J:so=\E[7m:sr=\ET:ta=^I:\
5875         :ue=\E[m:up=\E[A:us=\E[4m:
5877 # The Teletype 5425 is really version 2 of the Teletype 5420. It 
5878 # is quite similar, except for some minor differences. No page 
5879 # mode, for example, so all of the :cm: sequences used above have 
5880 # to change back to what's being used for the 5410. Many of the 
5881 # option settings have changed their numbering as well.
5883 # This has been tested on a preliminary model.
5885 # (att5425: added <rmam>/<smam> based on the init string -- esr)
5886 # (untranslatable capabilities removed to fit entry within 1023 bytes)
5887 # (sgr removed to fit entry within 1023 bytes)
5888 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
5889 att5425|tty5425|att4425|AT&T 4425/5425:\
5890         :am:da:db:hs:mi:ms:xn:xo:\
5891         :co#80:it#8:li#24:lm#78:ws#55:\
5892         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
5893         :LE=\E[%dD:RI=\E[%dC:SF=\E[%dE:SR=\E[%dF:UP=\E[%dA:ae=^O:\
5894         :al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
5895         :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
5896         :dl=\E[M:do=^J:ec=\E[%ds\E[%dD:ei=\E[4l:fs=\E8:ho=\E[H:\
5897         :i1=\E<\E[?3l:i2=\E[?5l:im=\E[4h:\
5898         :is=\E[m\017\E[1;2;3;4;6l\E[12;13;14;20l\E[?6;97;99l\E[?7h\E[4i\Ex\E[25;1j\212:\
5899         :k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:\
5900         :k8=\EOj:kD=\E[P:kI=\E[4h:kb=^H:kd=\E[B:\
5901         :ke=\E[21;0j\E[25;1j\212:kh=\E[H:kl=\E[D:kr=\E[C:\
5902         :ks=\E[21;1j\E[25;4j\Eent\E~:ku=\E[A:le=^H:ll=\E[24H:\
5903         :mb=\E[5m:md=\E[2;7m:me=\E[m\017:mh=\E[2m:mr=\E[7m:\
5904         :nd=\E[C:nw=^M^J:rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:\
5905         :sr=\EM:st=\EH:ta=^I:ts=\E7\E[25;%p1%{8}%+%dH:ue=\E[m:\
5906         :up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[12;0j:\
5907         :vs=\E[12;1j:
5909 att5425-nl|tty5425-nl|att4425-nl|AT&T 4425/5425 80 columns no labels:\
5910         :ks=\E[21;1j\E[25;4j\Eent:\
5911         :tc=att4425:
5913 att5425-w|att4425-w|tty5425-w|teletype 4425/5425 in 132 column mode:\
5914         :co#132:lm#54:ws#97:\
5915         :i1=\E[?3h:tc=tty5425:
5917 # (att4426: his had bogus capabilities: :ri=\EM:, :ri=\E[1U:. 
5918 # I also added <rmam>/<smam> -- esr)
5919 att4426|tty4426|teletype 4426S:\
5920         :am:da:db:xo:\
5921         :co#80:li#24:lm#48:\
5922         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
5923         :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:SF=\E[%dS:\
5924         :SR=\E[%dT:UP=\E[%dA:\
5925         :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
5926         :ae=\E(B:al=\EL:as=\E(0:bl=^G:cd=\E[J:ce=\E[0K:ch=\E[%dG:\
5927         :cl=\E[H\E[2J\E[1U\E[H\E[2J\E[1V:cm=\E[%i%d;%dH:cr=^M:\
5928         :ct=\E[3g:cv=\E[%dd:dc=\EP:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
5929         :i1=\Ec\E[?7h:ic=\E\136:im=:is=\E[m\E[1;24r:k1=\EOP:\
5930         :k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:\
5931         :kB=\EO:kC=\E[2J:kH=\E[24;1H:kb=^H:kd=\EB:kh=\E[H:kl=\ED:\
5932         :kr=\EC:ku=\EA:le=\E[D:ll=\E[24H:md=\E[5m:me=\E[m\E(B:\
5933         :mr=\E[7m:nd=\E[C:nw=^M^J:r2=\Ec\E[?3l\E[2;0y:rc=\E8:\
5934         :sc=\E7:se=\E[m:sf=^J:so=\E[5m:sr=\ET:st=\E1:ta=^I:ue=\E[m:\
5935         :up=\EA:us=\E[4m:
5937 # Terminfo entry for the AT&T 510 A Personal Terminal
5938 # Function keys 9 - 16 are available only after the 
5939 # screen labeled (soft keys/action blocks) are labeled.  Function key
5940 # 9 corresponds to the leftmost touch target on the screen,
5941 # function key 16 corresponds to the rightmost.
5943 # This entry is based on one done by Ernie Rice at Summit, NJ and
5944 # changed by Anne Gallup, Skokie, IL, ttrdc!anne
5945 # (untranslatable capabilities removed to fit entry within 1023 bytes)
5946 att510a|bct510a|AT&T 510A Personal Terminal:\
5947         :am:mi:ms:xn:xo:\
5948         :Nl#8:co#80:lh#2:li#24:lw#7:\
5949         :#4=\E[u:%i=\E[v:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
5950         :F1=\EOe:F2=\EOf:F3=\EOg:F4=\EOh:F5=\EOi:F6=\EOj:LE=\E[%dD:\
5951         :RI=\E[%dC:UP=\E[%dA:\
5952         :ac=+g\054h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~:\
5953         :ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[0J:\
5954         :ce=\E[0K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:\
5955         :dc=\E[P:dl=\E[M:do=\E[1B:eA=\E(B\E)1:ff=^L:ho=\E[H:\
5956         :i1=\E(B\E)1\E[2l:i2=\E[21;1|\212:k1=\EOm:k2=\EOV:\
5957         :k3=\EOu:k4=\ENj:k5=\ENe:k6=\ENf:k7=\ENh:k8=\E[H:k9=\EOc:\
5958         :k;=\EOd:kB=\E[Z:kF=\E[S:kR=\E[T:kb=^H:kd=\E[B:ke=\E[19;0|:\
5959         :kl=\E[D:kr=\E[C:ks=\E[19;1|:ku=\E[A:le=^H:mb=\E[5m:\
5960         :md=\E[2;7m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\EE:\
5961         :pf=\E[?8i:po=\E[?4i:ps=\E[0i:rc=\E8:sc=\E7:se=\E[m:sf=^J:\
5962         :so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:\
5963         :ve=\E[11;3|:vi=\E[11;0|:vs=\E[11;2|:
5965 # Terminfo entry for the AT&T 510 D Personal Terminal
5966 # Function keys 9 through 16 are accessed by bringing up the
5967 # system blocks.
5968 # Function key 9 corresponds to the leftmost touch target on the screen,
5969 # function key 16 corresponds to the rightmost.
5971 # There are problems with soft key labeling.  These are due to 
5972 # strangenesses in the native terminal that are impossible to
5973 # describe in a terminfo.  
5974 # (untranslatable capabilities removed to fit entry within 1023 bytes)
5975 # (sgr removed to fit entry within 1023 bytes)
5976 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
5977 att510d|bct510d|AT&T 510D Personal Terminal:\
5978         :am:da:db:mi:ms:xn:xo:\
5979         :co#80:li#24:lm#48:\
5980         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
5981         :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ae=^O:\
5982         :al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[0J:ce=\E[0K:cl=\E[H\E[J:\
5983         :cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[1B:\
5984         :ei=\E[4l:ff=^L:ho=\E[H:i1=\E(B\E)1\E[5;0|:\
5985         :i2=\E[21;1|\212:im=\E[4h:k1=\EOm:k2=\EOV:k3=\EOu:k4=\ENj:\
5986         :k5=\ENe:k6=\ENf:k7=\ENh:k8=\E[H:k9=\EOc:kb=^H:kd=\E[B:\
5987         :ke=\E[19;0|:kl=\E[D:kr=\E[C:ks=\E[19;1|:ku=\E[A:le=^H:\
5988         :ll=\E#2:mb=\E[5m:md=\E[2;7m:me=\E[m\017:mh=\E[2m:\
5989         :mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:sc=\E7:se=\E[m:sf=^J:\
5990         :so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:\
5991         :ve=\E[11;3|:vs=\E[11;2|:
5993 # (att500: I merged this with the att513 entry, att500 just used att513 -- esr)
5994 # (untranslatable capabilities removed to fit entry within 1023 bytes)
5995 # (sgr removed to fit entry within 1023 bytes)
5996 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
5997 att500|att513|AT&T 513 using page mode:\
5998         :am:mi:ms:xn:xo:\
5999         :co#80:li#24:\
6000         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
6001         :LE=\E[%dD:RI=\E[%dC:SF=\E[%dE:SR=\E[%dF:UP=\E[%dA:ae=^O:\
6002         :al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
6003         :cm=\E[%i%d;%dH:cr=^M:cs=%i\E[%d;%dr:ct=\E[3g:dc=\E[P:\
6004         :dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:\
6005         :i1=\E?\E[3;3|\E[10;0|\E[21;1|\212\E[6;1|\E[1{\E[?99l:\
6006         :im=\E[4h:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:\
6007         :k7=\EOi:k8=\EOj:kD=\ENf:kI=\ENj:kN=\E[U:kP=\E[V:kb=^H:\
6008         :kd=\E[B:ke=\E[19;0|\E[21;1|\212:kh=\E[H:kl=\E[D:kr=\E[C:\
6009         :ks=\E[19;1|\E[21;4|\Eent:ku=\E[A:le=^H:ll=\E#2:mb=\E[5m:\
6010         :md=\E[2;7m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\EE:\
6011         :rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
6012         :ue=\E[m:up=\E[A:us=\E[4m:ve=\E[11;0|:vs=\E[11;1|:
6014 # 01-07-88
6015 # printer must be set to EMUL ANSI to accept ESC codes
6016 # :up: stops at top margin
6017 # :i1: sets cpi 10,lpi 6,form 66,left 1,right 132,top 1,bottom 66,font
6018 #       and alt font ascii,wrap on,tabs cleared
6019 # :is: disables newline on LF,Emphasized off
6020 # The <u0> capability sets form length
6021 # (untranslatable capabilities removed to fit entry within 1023 bytes)
6022 # (sgr removed to fit entry within 1023 bytes)
6023 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
6024 att5310|att5320|AT&T Model 53210 or 5320 matrix printer:\
6025         :co#132:it#8:li#66:\
6026         :DO=\E[%de:RI=\E[%da:cr=^M:do=^J:ff=^L:i1=\Ec:is=\E[20l\r:\
6027         :nd= :ta=^I:up=\EM:
6029 # Teletype 5620, firmware version 1.1 (8;7;3) or earlier from BRL
6030 # The following SET-UP modes are assumed for normal operation:
6031 #       CR_DEF=CR       NL_DEF=INDEX    DUPLEX=FULL
6032 # Other SET-UP modes may be set for operator convenience or communication
6033 # requirements.  This termcap description is for the Resident Terminal Mode.
6034 # No delays specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
6035 # The BRL entry also said: UNSAFE :ll=\E[70H:
6036 att5620-1|tty5620-1|dmd1|Teletype 5620 with old ROMs:\
6037         :am:xo:\
6038         :co#88:it#8:li#70:vt#3:\
6039         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:SF=\E[%dS:\
6040         :SR=\E[%dT:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
6041         :cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=:ho=\E[H:\
6042         :ic=\E[@:im=:kC=\E[2J:kH=\E[70;1H:kb=^H:kd=\E[B:kh=\E[H:\
6043         :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:nd=\E[C:nw=^M^J:r1=\Ec:\
6044         :rc=\E8:sc=\E7:sf=^J:sr=\E[T:ta=^I:up=\E[A:
6046 # 5620 terminfo  (2.0 or later ROMS with char attributes)
6047 # The following SET-UP modes are assumed for normal operation:
6048 #       DUPLEX=FULL     GEN_FLOW=ON     NEWLINE=INDEX   RETURN=CR
6049 # Other SET-UP modes may be set for operator convenience or communication
6050 # requirements.  This termcap description is for Resident Terminal Mode.  No
6051 # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
6052 # assumptions: :sf: (scroll forward one line) is only done at screen bottom
6053 # Be aware that older versions of the dmd have a firmware bug that affects
6054 # parameter defaulting; for this terminal, the 0 in \E[0m is not optional.
6055 # :ms: is from an otherwise inferior BRL for this terminal.  That entry
6056 # also has :ll:=\E[70H commented out and marked unsafe.
6057 # For more, see the 5620 FAQ maintained by David Breneman <daveb@dgtl.com>.
6058 att5620|dmd|tty5620|ttydmd|5620|5620 terminal 88 columns:\
6059         :NL:NP:am:bs:ms:xo:\
6060         :co#88:it#8:li#70:\
6061         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:SF=\E[%dS:\
6062         :SR=\E[%dT:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
6063         :cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
6064         :ic=\E[@:im=:kC=\E[2J:kH=\E[70;1H:kb=^H:kd=\E[B:kh=\E[H:\
6065         :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:md=\E[2m:me=\E[0m:mh=\E[2m:\
6066         :mr=\E[7m:nd=\E[C:nw=^J:..px=\E[%p1%d;%p2%l%dq%p2%s:\
6067         :r1=\Ec:rc=\E8:sc=\E7:se=\E[0m:sf=\E[S:so=\E[7m:sr=\E[T:\
6068         :ta=^I:ue=\E[0m:up=\E[A:us=\E[4m:
6069 att5620-24|tty5620-24|dmd-24|teletype dmd 5620 in a 24x80 layer:\
6070         :li#24:tc=att5620:
6071 att5620-34|tty5620-34|dmd-34|teletype dmd 5620 in a 34x80 layer:\
6072         :li#34:tc=att5620:
6073 # 5620 layer running the "S" system's downloaded graphics handler:
6074 att5620-s|tty5620-s|layer|vitty|5620 S layer:\
6075         :am:bs:pt:\
6076         :co#80:it#8:li#72:\
6077         :al=\EI:bl=^G:ce=\EK:cl=^L:cm=\EY%r%+ %+ :cr=^M:dl=\ED:\
6078         :do=^J:kC=\E[2J:kH=\E[70;1H:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
6079         :kr=\E[C:ku=\E[A:le=^H:sf=^J:ta=^I:up=^K:vb=\E^G:
6081 # Entries for <kf15> thru <kf28> refer to the shifted system pf keys.
6083 # Entries for <kf29> thru <kf46> refer to the alternate keypad mode
6084 # keys:  = * / + 7 8 9 - 4 5 6 , 1 2 3 0 . ENTER
6085 # (untranslatable capabilities removed to fit entry within 1023 bytes)
6086 # (sgr removed to fit entry within 1023 bytes)
6087 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
6088 att605|AT&T 605 80 column 102key keyboard:\
6089         :am:eo:xo:\
6090         :co#80:li#24:ws#80:\
6091         :DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:ae=^O:al=\E[L:as=\E)0\016:\
6092         :bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
6093         :cr=^M:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:fs=\E8:\
6094         :i1=\E[8;0|\E[?\E[13;20l\E[?\E[12h:ic=\E[@:im=\E[4h:\
6095         :is=\E[m\017:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:\
6096         :k6=\EOh:k7=\EOi:k8=\EOj:k9=\ENo:kD=\E[P:kI=\E[@:kN=\E[U:\
6097         :kP=\E[V:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
6098         :le=^H:ll=\E[24H:mb=\E[5m:md=\E[1m:me=\E[m\017:mh=\E[2m:\
6099         :mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:sc=\E7:se=\E[m:sf=^J:\
6100         :so=\E[7m:ta=^I:ts=\E7\E[25;%i%p1%dx:ue=\E[m:up=\E[A:\
6101         :us=\E[4m:
6102 att605-pc|ATT 605 in pc term mode:\
6103         :@7=\E[F:AL=\E[L:S4=250\E[?11l\E[50;1|:S5=400\E[50;0|:\
6104         :XF=g:XN=e:\
6105         :ac=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263:\
6106         :al=\E[L:bt=\E[Z:dc=\E[P:dl=\E[M:do=\E[B:ei=:ic=\E[@:im=:\
6107         :k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:\
6108         :k8=\E[T:k9=\E[U:k;=\E[V:kB=\E[Z:kD=\E[P:kI=\E[@:kL=\E[M:\
6109         :kN=\E[G:kP=\E[I:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
6110         :le=\E[D:nd=\E[C:up=\E[A:\
6111         :tc=att605:
6112 att605-w|AT&T 605-w 132 column 102 key keyboard:\
6113         :co#132:ws#132:\
6114         :i1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h\E(B\E)0:tc=att605:
6115 # (att610: I added <rmam>/<smam> based on the init string.  I also
6116 # added :SF: and :SR: because the BSD file says the att615s have them,
6117 # and the 615 is like a 610 with a big keyboard, and most of their other
6118 # smart terminals support the same sequence -- esr)
6119 # (untranslatable capabilities removed to fit entry within 1023 bytes)
6120 # (sgr removed to fit entry within 1023 bytes)
6121 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
6122 att610|AT&T 610; 80 column; 98key keyboard:\
6123         :am:es:hs:mi:ms:xn:xo:\
6124         :co#80:it#8:li#24:ws#80:\
6125         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
6126         :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ae=^O:\
6127         :al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
6128         :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:\
6129         :do=\E[B:ei=\E[4l:fs=\E8:ho=\E[H:\
6130         :i1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)0:\
6131         :i2=\E(B\E)0:im=\E[4h:is=\E[m\017:k1=\EOc:k2=\EOd:k3=\EOe:\
6132         :k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:k9=\ENo:kb=^H:\
6133         :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:ll=\E[24H:\
6134         :mb=\E[5m:md=\E[1m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:\
6135         :nw=\EE:rc=\E8:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:\
6136         :ts=\E7\E[25;%i%p1%dx:ue=\E[m:up=\E[A:us=\E[4m:\
6137         :vb=\E[?5h\E[?5l:ve=\E[?25h\E[?12l:vi=\E[?25l:\
6138         :vs=\E[?12;25h:
6139 att610-w|AT&T 610; 132 column; 98key keyboard:\
6140         :co#132:ws#132:\
6141         :i1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h:tc=att610:
6143 att610-103k|AT&T 610; 80 column; 103key keyboard:\
6144         :!1=\EOO:!2=\EOP:!3=\EOS:#1=\EOM:%0=\EOt:%1=\EOm:%2=\ENi:\
6145         :%3=\EOl:%4=\ENc:%5=\ENh:%6=\EOv:%7=\EOr:%8=\ENg:%9=\EOz:\
6146         :%a=\EOL:%b=\ENC:%c=\ENH:%d=\EOR:%e=\ENG:%f=\EOZ:%g=\EOT:\
6147         :%h=\EOY:%j=\EOQ:&0=\EOW:&1=\EOb:&2=\ENa:&3=\EOy:&4=\EOB:\
6148         :&5=\EOq:&6=\EOo:&7=\EOp:&8=\EOs:&9=\ENB:*0=\EOX:*1=\EOU:\
6149         :*2=\END:*3=\EON:*4=\ENF:*5=\ENE:*6=\ENI:*7=\ENN:*8=\EOA:\
6150         :*9=\EOK:@0=\EOx:@1=\E9:@2=\EOw:@3=\EOV:@4=\EOu:@5=\ENd:\
6151         :@6=\EOn:@7=\E0:@8=^M:@9=\EOk:F1@:F2@:F3@:F4@:k9@:k;@:kD=\ENf:\
6152         :kE=\EOa:kI=\ENj:kL=\ENe:kM=\ENj:kN=\E[U:kP=\E[V:\
6153         :tc=att610:
6154 att610-103k-w|AT&T 610; 132 column; 103key keyboard:\
6155         :co#132:ws#132:\
6156         :i1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h:tc=att610-103k:
6157 att615|AT&T 615; 80 column; 98key keyboard:\
6158         :#4=\E[ A:%i=\E[ @:F5=\EOC:F6=\EOD:F7=\EOE:F8=\EOF:F9=\EOG:\
6159         :FA=\EOH:FB=\EOI:FC=\EOJ:FD=\ENO:FE=\ENP:FF=\ENQ:FG=\ENR:\
6160         :FH=\ENS:FI=\ENT:FJ=\EOP:FK=\EOQ:FL=\EOR:FM=\EOS:FN=\EOw:\
6161         :FO=\EOx:FP=\EOy:FQ=\EOm:FR=\EOt:FS=\EOu:FT=\EOv:FU=\EOl:\
6162         :FV=\EOq:FW=\EOr:FX=\EOs:FY=\EOp:FZ=\EOn:Fa=\EOM:\
6163         :tc=att610:
6164 att615-w|AT&T 615; 132 column; 98key keyboard:\
6165         :#4=\E[ A:%i=\E[ @:F5=\EOC:F6=\EOD:F7=\EOE:F8=\EOF:F9=\EOG:\
6166         :FA=\EOH:FB=\EOI:FC=\EOJ:FD=\ENO:FE=\ENP:FF=\ENQ:FG=\ENR:\
6167         :FH=\ENS:FI=\ENT:FJ=\EOP:FK=\EOQ:FL=\EOR:FM=\EOS:FN=\EOw:\
6168         :FO=\EOx:FP=\EOy:FQ=\EOm:FR=\EOt:FS=\EOu:FT=\EOv:FU=\EOl:\
6169         :FV=\EOq:FW=\EOr:FX=\EOs:FY=\EOp:FZ=\EOn:Fa=\EOM:\
6170         :tc=att610-w:
6171 att615-103k|AT&T 615; 80 column; 103key keyboard:\
6172         :#4=\E[ A:%i=\E[ @:\
6173         :tc=att610-103k:
6174 att615-103k-w|AT&T 615; 132 column; 103key keyboard:\
6175         :#4=\E[ A:%i=\E[ @:\
6176         :tc=att610-103k-w:
6177 # (att620: I added <rmam>/<smam> based on the init string and
6178 # :SR:/:SF: from a BSD termcap -- esr)
6179 # (untranslatable capabilities removed to fit entry within 1023 bytes)
6180 # (sgr removed to fit entry within 1023 bytes)
6181 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
6182 att620|AT&T 620; 80 column; 98key keyboard:\
6183         :am:es:hs:mi:ms:xn:xo:\
6184         :co#80:it#8:li#24:ws#80:\
6185         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
6186         :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
6187         :ae=\E(B\017:al=\E[L:as=\E)0\016:bl=^G:bt=\E[Z:cd=\E[J:\
6188         :ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
6189         :dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:fs=\E8:ho=\E[H:\
6190         :i1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h:\
6191         :i2=\E(B\E)0:im=\E[4h:is=\E[m\017:k1=\EOc:k2=\EOd:k3=\EOe:\
6192         :k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:k9=\ENo:kb=^H:\
6193         :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:ll=\E[24H:\
6194         :mb=\E[5m:md=\E[1m:me=\E[m\E(B\017:mh=\E[2m:mr=\E[7m:\
6195         :nd=\E[C:nw=\EE:rc=\E8:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:\
6196         :sr=\EM:ta=^I:ts=\E7\E[25;%i%p1%dx:ue=\E[m:up=\E[A:\
6197         :us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h\E[?12l:vi=\E[?25l:\
6198         :vs=\E[?12;25h:
6199 att620-w|AT&T 620; 132 column; 98key keyboard:\
6200         :co#132:ws#132:\
6201         :i1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h:tc=att620:
6202 att620-103k|AT&T 620; 80 column; 103key keyboard:\
6203         :!1=\EOO:!2=\EOP:!3=\EOS:#1=\EOM:%0=\EOt:%1=\EOm:%2=\ENi:\
6204         :%3=\EOl:%4=\ENc:%5=\ENh:%6=\EOv:%7=\EOr:%8=\ENg:%9=\EOz:\
6205         :%a=\EOL:%b=\ENC:%c=\ENH:%d=\EOR:%e=\ENG:%f=\EOZ:%g=\EOT:\
6206         :%h=\EOY:%j=\EOQ:&0=\EOW:&1=\EOb:&2=\ENa:&3=\EOy:&4=\EOB:\
6207         :&5=\EOq:&6=\EOo:&7=\EOp:&8=\EOs:&9=\ENB:*0=\EOX:*1=\EOU:\
6208         :*2=\END:*3=\EON:*4=\ENF:*5=\ENE:*6=\ENI:*7=\ENN:*8=\EOA:\
6209         :*9=\EOK:@0=\EOx:@1=\E9:@2=\EOw:@3=\EOV:@4=\EOu:@5=\ENd:\
6210         :@6=\EOn:@7=\E0:@8=^M:@9=\EOk:F1@:F2@:F3@:F4@:F5@:F6@:F7@:F8@:\
6211         :F9@:FA@:FB@:FC@:FD@:FE@:FF@:FG@:FH@:FI@:FJ@:FK@:FL@:FM@:FN@:FO@:FP@:\
6212         :FQ@:FR@:FS@:FT@:FU@:FV@:FW@:FX@:FY@:FZ@:Fa@:k9@:k;@:kD=\ENf:\
6213         :kE=\EOa:kI=\ENj:kL=\ENe:kM=\ENj:kN=\E[U:kP=\E[V:\
6214         :tc=att620:
6216 att620-103k-w|AT&T 620; 132 column; 103key keyboard:\
6217         :co#132:ws#132:\
6218         :i1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h:tc=att620-103k:
6220 # AT&T (formerly Teletype) 630 Multi-Tasking Graphics terminal
6221 # The following SETUP modes are assumed for normal operation:
6222 #       Local_Echo=Off  Gen_Flow=On     Return=CR       Received_Newline=LF
6223 #       Font_Size=Large         Non-Layers_Window_Cols=80
6224 #                               Non-Layers_Window_Rows=60
6225 # Other SETUP modes may be set for operator convenience or communication
6226 # requirements.  Some capabilities assume a printer attached to the Aux EIA
6227 # port.  This termcap description is for the Fixed Non-Layers Window.  No
6228 # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
6229 # (att630: added :ic:, :mb: and :mh: from a BSD termcap file -- esr)
6230 att630|AT&T 630 windowing terminal:\
6231         :NP:am:bs:da:db:mi:ms:xo:\
6232         :co#80:it#8:li#60:lm#0:\
6233         :@8=^M:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\ENq:\
6234         :F2=\ENr:F3=\ENs:F4=\ENt:F5=\ENu:F6=\ENv:F7=\ENw:F8=\ENx:\
6235         :F9=\ENy:FA=\ENz:FB=\EN{:FC=\EN|:FD=\EN}:FE=\EN~:IC=\E[%d@:\
6236         :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
6237         :al=\E[L:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:\
6238         :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:\
6239         :ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:is=\E[m:k9=\ENo:k;=\ENp:\
6240         :kA=\E[L:kB=\E[Z:kC=\E[2J:kD=\E[P:kI=\E[@:kL=\E[M:kb=^H:\
6241         :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
6242         :me=\E[m:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=^M^J:pf=\E[?4i:\
6243         :po=\E[?5i:..px=\E[%p1%d;%p2%l%dq%p2%s:r2=\Ec:rc=\E8:\
6244         :..sa=\E[0%?%p2%t;4%;%?%p1%p3%|%p4%|%p5%|%t;7%;m:\
6245         :sc=\E7:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:\
6246         :up=\E[A:us=\E[4m:
6247 att630-24|5630-24|5630DMD-24|630MTG-24|AT&T 630 windowing terminal 24 lines:\
6248         :li#24:tc=att630:
6250 # This is the att700 entry for 700 native emulation of the AT&T 700
6251 # terminal.  Comments are relative to changes from the 605V2 entry and
6252 # att730 on which the entry is based.  Comments show the terminfo
6253 # capability name, termcap name, and description.
6255 # Here is what's going onm in the init string:
6256 #       ESC [ 50;4|     set 700 native mode (really is 605)
6257 # x     ESC [ 56;ps|    set lines to 24: ps=0; 40: ps=1 (plus status line)
6258 #       ESC [ 53;0|     set GenFlow to Xon/Xoff
6259 #       ESC [ 8 ;0|     set CR on NL 
6260 # x     ESC [ ? 3 l/h   set workspace: 80 col(l); 132 col(h)
6261 #       ESC [ ? 4 l     jump scroll 
6262 #       ESC [ ? 5 l/h   video: normal (l); reverse (h)
6263 #       ESC [ ?13 l     Labels on
6264 #       ESC [ ?15 l     parity check = no
6265 #       ESC [ 13 l      monitor mode off
6266 #       ESC [ 20 l      LF on NL (not CRLF on NL)
6267 #       ESC [ ? 7 h     autowrap on
6268 #       ESC [ 12 h      local echo off
6269 #       ESC ( B         GO = ASCII
6270 #       ESC ) 0         G1 = Special Char & Line Drawing
6271 #       ESC [ ? 31 l    Set 7 bit controls
6273 # Note: Most terminals, especially the 600 family use Reverse Video for
6274 # standout mode.  DEC also uses reverse video.  The VT100 uses bold in addition
6275 # Assume we should stay with reverse video for 70..  However, the 605V2 exits
6276 # standout mode with \E[m (all normal attributes).  The 730 entry simply
6277 # exits reverse video which would leave other current attributes intact.  It
6278 # was assumed the 730 entry to be more correct so rmso has changed.  The
6279 # 605V2 has no sequences to turn individual attributes off, thus its setting
6280 # and the rmso/smso settings from the 730.
6282 # Note: For the same reason as above in rmso I changed exit under-score mode
6283 # to specifically turn off underscore, rather than return to all normal 
6284 # attributes
6286 # Note: The following pkey_xmit is taken from the 605V2 which contained the
6287 # capability as pfxl.  It was changed here to pfx since pfxl
6288 # will only compile successfully with Unix 4.0 tic.  Also note that pfx only
6289 # allows strings to be parameters and label values must be programmed as
6290 # constant strings.  Supposedly the pfxl of Version 4.0 allows both labels
6291 # and strings to be parameters.  The 605V2 pfx entry should be examined later
6292 # in this regard. For reference the 730 pfxl entry is shown here for comparison
6293 # 730 pfx entry:
6294 #     pfxl=\E[%?%p1%{25}%<%t%p1%e%p1%{24}%-%;%d;%p2%l%02d%?%p1%{25}%<%tq\s\s\s
6295 # SYS\s\s\s\s\sF%p1%:-2d\s\s%e;0;3q%;%p2%s,
6297 # (for 4.0 tic)
6298 #     pfxl=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s,
6300 # (for <4.0 tic)
6301 #     pfx=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s,
6303 # From the AT&T 705 Multi-tasking terminal user's guide Page 8-8,8-9
6305 # Port1 Interface
6307 # modular 10 pin Connector
6308 # Left side       Right side
6309 # Pin 1 2 3 4 5 6 7 8 9 10
6311 #        Key (notch) at bottom
6313 # Pin    1 DSR
6314 #        3 DCD
6315 #        4 DTR
6316 #        5 Sig Ground
6317 #        6 RD
6318 #        7 SD
6319 #        8 CTS
6320 #        9 RTS
6321 #        10 Frame Ground
6323 # The manual is 189 pages and is loaded with details about the escape codes,
6324 # etc..... Available from AT&T CIC 800-432-6600...
6325 # ask for Document number 999-300-660..
6327 # (untranslatable capabilities removed to fit entry within 1023 bytes)
6328 # (sgr removed to fit entry within 1023 bytes)
6329 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
6330 att700|AT&T 700 24x80 column display w/102key keyboard:\
6331         :am:es:hs:mi:ms:xn:xo:\
6332         :co#80:it#8:li#24:ws#80:\
6333         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
6334         :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
6335         :bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
6336         :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:\
6337         :fs=\E8:ho=\E[H:i2=\E(B\E)0:im=\E[4h:\
6338         :is=\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:\
6339         :k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:\
6340         :k8=\EOj:k9=\ENo:kD=\E[P:kI=\E[@:kN=\E[U:kP=\E[V:kb=^H:\
6341         :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:ll=\E[24H:\
6342         :mb=\E[5m:md=\E[1m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:\
6343         :nw=\EE:rc=\E8:sc=\E7:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:\
6344         :st=\EH:ta=^I:ts=\E7\E[99;%i%p1%dx:ue=\E[24m:up=\E[A:\
6345         :us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h\E[?12l:vi=\E[?25l:\
6346         :vs=\E[?12;25h:
6348 # This entry was modified 3/13/90 by JWE.
6349 # fixes include additions of <enacs>, correcting :rp:, and modification
6350 # of <kHOM>.  (See comments below)
6351 # att730 has status line of 80 chars
6352 # These were commented out: :SF=\E[%p1%dS:, :SR=\E[%p1%dT:,
6353 # the <kf25> and up keys are used for shifted system Fkeys
6354 # NOTE: JWE 3/13/90 The 98 key keyboard translation for shift/HOME is 
6355 # currently the same as :kh: (unshifted HOME or \E[H).  On the 102, 102+1
6356 # and 122 key keyboards, the 730's translation is \E[2J.  For consistency
6357 # <kHOM> has been commented out.  The user can uncomment <kHOM> if using the
6358 # 102, 102+1, or 122 key keyboards
6359 #       kHOM=\E[2J,
6360 # (att730: I added <rmam>/<smam> based on the init string -- esr)
6361 # (untranslatable capabilities removed to fit entry within 1023 bytes)
6362 # (sgr removed to fit entry within 1023 bytes)
6363 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
6364 att730|AT&T 730 windowing terminal:\
6365         :am:da:db:es:hs:mi:ms:xn:xo:\
6366         :co#80:it#8:li#60:lm#0:ws#80:\
6367         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
6368         :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
6369         :bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
6370         :cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:fs=\E8:\
6371         :ho=\E[H:\
6372         :i1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)B:\
6373         :i2=\E(B\E)0:im=\E[4h:is=\E[m\017:k1=\EOc:k2=\EOd:k3=\EOe:\
6374         :k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:k9=\ENo:kI=\E[@:\
6375         :kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
6376         :mb=\E[5m:md=\E[1m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:\
6377         :nw=\EE:rc=\E8:sc=\E7:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:\
6378         :ta=^I:ts=\E7\E[;%i%p1%dx:ue=\E[24m:up=\E[A:us=\E[4m:\
6379         :vb=\E[?5h\E[?5l:ve=\E[?25h\E[?12l:vi=\E[?25l:\
6380         :vs=\E[?12;25h:
6381 att730-41|730MTG-41|AT&T 730-41 windowing terminal Version:\
6382         :li#41:tc=att730:
6383 att730-24|730MTG-24|AT&T 730-24 windowing terminal Version:\
6384         :li#24:tc=att730:
6385 att730r|730MTGr|AT&T 730 rev video windowing terminal Version:\
6386         :i1=\E[8;0|\E[?3;4;13;15l\E[?5h\E[13;20l\E[?7h\E[12h\E(B\E)B:\
6387         :vb=\E[?5l\E[?5h:\
6388         :tc=att730:
6389 att730r-41|730MTG-41r|AT&T 730r-41 rev video windowing terminal Version:\
6390         :li#41:tc=att730r:
6391 att730r-24|730MTGr-24|AT&T 730r-24 rev video windowing terminal Version:\
6392         :li#24:tc=att730r:
6394 # The following represents the screen layout along with the associated
6395 # bezel buttons for the 5430/pt505 terminal. The "kf" designations do
6396 # not appear on the screen but are shown to reference the bezel buttons.
6397 # The "CMD", "MAIL", and "REDRAW" buttons are shown in their approximate
6398 # position relative to the screen.
6402 #      +----------------------------------------------------------------+
6403 #      |                                                                |
6404 # XXXX | kf0                                                       kf24 | XXXX
6405 #      |                                                                |
6406 #      |                                                                |
6407 # XXXX | kf1                                                       kf23 | XXXX
6408 #      |                                                                |
6409 #      |                                                                |
6410 # XXXX | kf2                                                       kf22 | XXXX
6411 #      |                                                                |
6412 #      |                                                                |
6413 # XXXX | kf3                                                       kf21 | XXXX
6414 #      |                                                                |
6415 #      |                                                                |
6416 # XXXX | kf4                                                       kf20 | XXXX
6417 #      |                                                                |
6418 #      |                                                                |
6419 # XXXX | kf5                                                       kf19 | XXXX
6420 #      |                                                                |
6421 #      |                                                                |
6422 # XXXX | kf6                                                       kf18 | XXXX
6423 #      |                                                                |
6424 #      |                                                                |
6425 # XXXX |                                                                | XXXX
6426 #      |                                                                |
6427 #      |                                                                |
6428 #      +----------------------------------------------------------------+
6430 #          XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX
6432 # Note: XXXX represents the screen buttons
6433 #                                                          CMD   REDRAW
6435 #                                                          MAIL
6437 # version 1 note: 
6438 #       The character string sent by key 'kf26' may be user programmable
6439 #       to send either \E[16s, or \E[26s.
6440 #       The character string sent by key 'krfr' may be user programmable
6441 #       to send either \E[17s, or \E[27s.
6443 # Depression of the "CMD" key sends    \E!    (kcmd)
6444 # Depression of the "MAIL" key sends   \E[26s (kf26)
6445 # "REDRAW" same as "REFRESH" (krfr)
6447 # "kf" functions adds carriage return to output string if terminal is in
6448 # 'new line' mode.
6450 # The following are functions not covered in the table above:
6452 #       Set keyboard character (SKC): \EPn1;Pn2w
6453 #                       Pn1= 0 Back Space key
6454 #                       Pn1= 1 Break key
6455 #                       Pn2=   Program char (hex)
6457 #       Screen Definition (SDF): \E[Pn1;Pn2;Pn3;Pn4;Pn5t
6458 #                       Pn1=     Window number (1-39)
6459 #                       Pn2-Pn5= Y;X;Y;X coordinates
6461 #       Screen Selection (SSL): \E[Pnu
6462 #                       Pn= Window number
6464 #       Set Terminal Modes (SM): \E[Pnh
6465 #                       Pn= 3 Graphics mode
6466 #                       Pn= > Cursor blink
6467 #                       Pn= < Enter new line mode
6468 #                       Pn= = Enter reverse insert/replace mode
6469 #                       Pn= ? Enter no scroll mode
6471 #       Reset Terminal Mode (RM): \E[Pnl
6472 #                       Pn= 3 Exit graphics mode
6473 #                       Pn= > Exit cursor blink
6474 #                       Pn= < Exit new line mode
6475 #                       Pn= = Exit reverse insert/replace mode
6476 #                       Pn= ? Exit no scroll mode
6478 #       Screen Status Report (SSR): \E[Pnp
6479 #                       Pn= 0 Request current window number
6480 #                       Pn= 1 Request current window dimensions
6482 #       Device Status Report (DSR): \E[6n    Request cursor position
6484 #       Call Status Report (CSR): \E[Pnv
6485 #                       Pn= 0 Call failed
6486 #                       Pn= 1 Call successful
6488 #       Transparent Button String (TBS): \E[Pn1;Pn2;Pn3;{string
6489 #                       Pn1= Button number to be loaded
6490 #                       Pn2= Character count of "string"
6491 #                       Pn3= Key mode being loaded:
6492 #                               0= Unshifted
6493 #                               1= Shifted
6494 #                               2= Control
6495 #                       String= Text string (15 chars max)
6497 #       Screen Number Report (SNR): \E[Pnp
6498 #                       Pn= Screen number
6500 #       Screen Dimension Report (SDR): \E[Pn1;Pn2r
6501 #                       Pn1= Number of rows available in window
6502 #                       Pn2= Number of columns available in window
6504 #       Cursor Position Report (CPR): \E[Pn1;Pn2R
6505 #                       Pn1= "Y" Position of cursor
6506 #                       Pn2= "X" Position of cursor
6508 #       Request Answer Back (RAB): \E[c
6510 #       Answer Back Response (ABR): \E[?;*;30;VSV
6511 #                       *=  0 No printer available
6512 #                       *=  2 Printer available
6513 #                       V=  Software version number
6514 #                       SV= Software sub version number
6515 #       (printer-available field not documented in v1)
6517 #       Screen Alignment Aid: \En
6519 #       Bell (lower pitch): \E[x
6521 #       Dial Phone Number: \EPdstring\
6522 #                       string= Phone number to be dialed
6524 #       Set Phone Labels: \EPpstring\
6525 #                       string= Label for phone buttons
6527 #       Set Clock: \EPchour;minute;second\
6529 #       Position Clock: \EPsY;X\
6530 #                       Y= "Y" coordinate
6531 #                       X= "X" coordinate
6533 #       Delete Clock: \Epr\
6535 #       Programming The Function Buttons: \EPfPn;string\
6536 #                       Pn= Button number (00-06, 18-24)
6537 #                                         (kf00-kf06, kf18-kf24)
6538 #                       string= Text to sent on button depression
6540 # The following in version 2 only:
6542 #       Request For Local Directory Data: \EPp12;\
6544 #       Local Directory Data to host: \EPp11;LOCAL...DIRECTORY...DATA\
6546 #       Request for Local Directory Data in print format: \EPp13;\
6548 #       Enable 'Prt on Line' mode: \022 (DC2)
6550 #       Disable 'Prt on Line' mode: \024 (DC4)
6553 # 05-Aug-86:
6554 # The following Terminfo entry describes functions which are supported by
6555 # the AT&T 5430/pt505 terminal software version 2 and later.
6556 att505|pt505|att5430|gs5430|AT&T Personal Terminal 505 or 5430 GETSET terminal:\
6557         :am:xo:\
6558         :co#80:it#8:li#24:\
6559         :&2=\E[27s:@4=\E\041:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
6560         :DO=\E[%dB:F8=\E[18s:F9=\E[19s:FA=\E[20s:FB=\E[21s:\
6561         :FC=\E[22s:FD=\E[23s:FE=\E24s:FG=\E26s:LE=\E[%dD:\
6562         :RA=\E[11;1j:RI=\E[%dC:SA=\E[11;0j:UP=\E[%dA:\
6563         :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
6564         :ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:cb=\E2K:cd=\E[0J:\
6565         :ce=\E[0K:cl=\E[2J\E[H:cm=\E[%d;%dH:cr=^M:dc=\E[P:dl=\E[M:\
6566         :do=\E[B:ei=\E[4l:ho=\E[H:\
6567         :i1=\EPr\E[0u\E[2J\E[0;0H\E[m\E[3l\E[<l\E[4l\E[>l\E[=l\E[?l:\
6568         :im=\E[4h:k0=\E[00s:k1=\E[01s:k2=\E[02s:k3=\E[03s:\
6569         :k4=\E[04s:k5=\E[05s:k6=\E[06s:kb=^H:kd=\E[B:kl=\E[D:\
6570         :kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[m:\
6571         :mr=\E[7m:nd=\E[C:pf=\E[4i:po=\E[5i:r1=\Ec:rc=\E8:sc=\E7:\
6572         :se=\E[m:sf=^J:so=\E[1m:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:\
6573         :ve=\E[>l:vs=\E[>h:
6575 # The following Terminfo entry describes functions which are supported by
6576 # the AT&T 5430/pt505 terminal software version 1.
6577 att505-24|pt505-24|gs5430-24|AT&T PT505 or 5430 GETSET version 1 24 lines:\
6578         :li#24:\
6579         :RA@:SA@:pf@:po@:rc@:sc@:tc=att505:
6580 tt505-22|pt505-22|gs5430-22|AT&T PT505 or 5430 GETSET version 1 22 lines:\
6581         :li#22:tc=att505:
6583 #### Ampex (Dialogue)
6585 # Yes, these are the same people who are better-known for making audio- and
6586 # videotape.  I'm told they are located in Redwood City, CA.
6589 # From: <cbosg!ucbvax!SRC:george> Fri Sep 11 22:38:32 1981
6590 # (ampex80: some capabilities merged in from SCO's entry -- esr)
6591 ampex80|a80|d80|dialogue|dialogue80|ampex dialogue 80:\
6592         :am:bs:bw:ul:\
6593         :co#80:it#8:li#24:\
6594         :al=\EE:bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :\
6595         :cr=^M:ct=\E3:dc=\EW:dl=\ER:do=^J:ei=:ic=\EQ:im=:is=\EA:le=^H:\
6596         :nd=^L:se=\Ek:sf=^J:so=\Ej:st=\E1:ta=^I:ue=\Em:up=^K:us=\El:
6597 # This entry was from somebody anonymous, Tue Aug  9 20:11:37 1983, who wrote:
6598 ampex175|ampex d175:\
6599         :am:\
6600         :co#80:li#24:\
6601         :al=\EE:bl=^G:cd=\Ey:ce=\Et:cl=\E+:cm=\E=%+ %+ :cr=^M:\
6602         :dc=\EW:dl=\ER:do=^J:ei=:ho=^^:ic=\EQ:im=:is=\EX\EA\EF:\
6603         :kA=\EE:kD=\EW:kI=\EQ:kL=\ER:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:\
6604         :le=^H:ll=^^^K:nd=^L:se=\Ek:sf=^J:so=\Ej:te=\EF:ti=\EN:\
6605         :ue=\Em:up=^K:us=\El:
6606 # No backspace key in the main QWERTY cluster. Fortunately, it has a
6607 # NEWLINE/PAGE key just above RETURN that sends a strange single-character
6608 # code.  Given a suitable Unix (one that lets you set an echo-erase-as-BS-SP-BS
6609 # mode), this key can be used as the erase key; I find I like this. Because
6610 # some people and some systems may not, there is another termcap ("ampex175")
6611 # that suppresses this little eccentricity by omitting the relevant capability.
6612 ampex175-b|ampex d175 using left arrow for erase:\
6613         :kb=^_:\
6614         :tc=ampex175:
6615 # From: Richard Bascove <atd!dsd!rcb@ucbvax.berkeley.edu>
6616 # (ampex210: removed obsolete ":kn#10:" -- esr)
6617 ampex210|a210|ampex a210:\
6618         :am:bs:hs:xn:\
6619         :co#80:it#8:li#24:sg#1:\
6620         :al=\EE:bt=\EI:cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :dc=\EW:\
6621         :dl=\ER:ei=:fs=\E.2:ho=^^:ic=\EQ:if=/usr/share/tabset/std:\
6622         :im=:is=\EC\Eu\E'\E(\El\EA\E%\E{\E.2\EG0\Ed\En:\
6623         :k0=^A0\r:k1=^A1\r:k2=^A2\r:k3=^A3\r:k4=^A4\r:k5=^A5\r:\
6624         :k6=^A6\r:k7=^A7\r:k8=^A8\r:k9=^A9\r:kd=^V:kh=^^:kl=^H:\
6625         :kr=^L:ku=^K:le=^H:mk@:nd=^L:ta=^I:ts=\E.0\Eg\E}\Ef:up=^K:\
6626         :vb=\EU\EX\EU\EX\EU\EX\EU\EX:\
6627         :tc=adm+sgr:
6628 # (ampex219: I added <rmam>/<smam> based on the init string, added :vs:
6629 # from ampex219w, added :ve:=\E[?3l, irresistibly suggested by :vs:,
6630 # and moved the padding to be *after* the caps -- esr)
6631 ampex219|ampex-219|amp219|Ampex with Automargins:\
6632         :hs:xn:\
6633         :co#80:it#8:li#24:\
6634         :RA=\E[?7l:SA=\E[?7h:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
6635         :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=%i\E[%2;%2r:\
6636         :do=\E[B:ho=\E[H:\
6637         :is=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:k0=\E[21~:\
6638         :k1=\E[7~:k2=\E[8~:k3=\E[9~:k4=\E[10~:k5=\E[11~:k6=\E[17~:\
6639         :k7=\E[18~:k8=\E[19~:k9=\E[20~:kd=\E[B:ke=\E>:kh=\E[H:\
6640         :kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
6641         :me=\E[m:mh=\E[1m:mr=\E[7m:nd=\E[C:se=\E[m:sf=^J:so=\E[7m:\
6642         :sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[?3l:vs=\E[?3h:
6643 ampex219w|ampex-219w|amp219w|Ampex 132 cols:\
6644         :co#132:li#24:\
6645         :bl=^G:cr=^M:do=^J:is=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h:\
6646         :sf=^J:\
6647         :tc=ampex219:
6648 # (ampex232: removed :if=/usr/share/tabset/ampex:, no file and no :st: --esr) 
6649 ampex232|ampex-232|Ampex Model 232:\
6650         :am:\
6651         :co#80:li#24:sg#1:\
6652         :al=5*\EE:bt=\EI:cd=\EY:ce=\ET:cl=\E+:cm=\E=%+ %+ :dc=\EW:\
6653         :dl=5*\ER:do=^V:ei=:ic=\EQ:im=:is=\Eg\El:k0=^A@\r:k1=^AA\r:\
6654         :k2=^AB\r:k3=^AC\r:k4=^AD\r:k5=^AE\r:k6=^AF\r:k7=^AG\r:\
6655         :k8=^AH\r:k9=^AI\r:kb=^H:kd=^V:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:\
6656         :mk@:nd=^L:ta=^I:up=^K:vb=\Eb\Ed:ve=\E.4:vi=\E.0:\
6657         :tc=adm+sgr:
6658 # (ampex: removed :if=/usr/share/tabset/amp-132:, no file and no :st: -- esr) 
6659 ampex232w|Ampex Model 232 / 132 columns:\
6660         :co#132:li#24:\
6661         :is=\E\034Eg\El:tc=ampex232:
6663 #### Ann Arbor (aa)
6665 # Ann Arbor made dream terminals for hackers -- large screen sizes and huge
6666 # numbers of function keys.  At least some used monitors in portrait mode,
6667 # allowing up to 76-character screen heights!  They were reachable at:
6669 #       Ann Arbor Terminals
6670 #       6175 Jackson Road
6671 #       Ann Arbor, MI 48103
6672 #       (313)-663-8000
6674 # But in 1996 the phone number reaches some kitschy retail shop, and Ann Arbor
6675 # can't be found on the Web; I fear they're long dead.  R.I.P.
6679 # Originally from Mike O'Brien@Rand and Howard Katseff at Bell Labs.
6680 # Highly modified 6/22 by Mike O'Brien.
6681 # split out into several for the various screen sizes by dave-yost@rand
6682 # Modifications made 3/82 by Mark Horton
6683 # Modified by Tom Quarles at UCB for greater efficiency and more diversity
6684 # status line moved to top of screen, :vb: removed 5/82
6685 # Some unknown person at SCO then hacked the init strings to make them more
6686 # efficient.
6688 # assumes the following setup:
6689 #   A menu: 0000 1010  0001 0000
6690 #   B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
6691 #   C menu: 56   66   0    0    9600  0110 1100
6692 #   D menu: 0110 1001   1   0
6694 #       Briefly, the settings are for the following modes:
6695 #          (values are for bit set/clear with * indicating our preference
6696 #           and the value used to test these termcaps)
6697 #       Note that many of these settings are irrelevent to the terminfo
6698 #       and are just set to the default mode of the terminal as shipped
6699 #       by the factory.
6701 # A menu: 0000 1010  0001 0000
6702 #       Block/underline cursor*
6703 #       blinking/nonblinking cursor*
6704 #       key click/no key click*
6705 #       bell/no bell at column 72*
6707 #       key pad is cursor control*/key pad is numeric
6708 #       return and line feed/return for :cr: key *
6709 #       repeat after .5 sec*/no repeat
6710 #       repeat at 25/15 chars per sec. *
6712 #       hold data until pause pressed/process data unless pause pressed*
6713 #       slow scroll/no slow scroll*
6714 #       Hold in area/don't hold in area*
6715 #       functions keys have default*/function keys disabled on powerup
6717 #       show/don't show position of cursor during page transmit*
6718 #       unused
6719 #       unused
6720 #       unused
6722 # B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
6723 #       Baud rate (9600*)
6725 #       2 bits of parity - 00=odd,01=even*,10=space,11=mark
6726 #       1 stop bit*/2 stop bits
6727 #       parity error detection off*/on
6729 #       keyboard local/on line*
6730 #       half/full duplex*
6731 #       disable/do not disable keyboard after data transmission*
6733 #       transmit entire page/stop transmission at cursor*
6734 #       transfer/do not transfer protected characters*
6735 #       transmit all characters/transmit only selected characters*
6736 #       transmit all selected areas/transmit only 1 selected area*
6738 #       transmit/do not transmit line separators to host*
6739 #       transmit/do not transmit page tab stops tabs to host*
6740 #       transmit/do not transmit column tab stop tabs to host*
6741 #       transmit/do not transmit graphics control (underline,inverse..)*
6743 #       enable*/disable auto XON/XOFF control
6744 #       require/do not require receipt of a DC1 from host after each LF*
6745 #       pause key acts as a meta key/pause key is pause*
6746 #       unused
6748 #       unused
6749 #       unused
6750 #       unused
6751 #       unused
6753 #       XON character (17*)
6754 #       XOFF character (19*)
6756 # C menu: 56   66   0    0    9600  0110 1100
6757 #       number of lines to print data on (printer) (56*)
6759 #       number of lines on a sheet of paper (printer) (66*)
6761 #       left margin (printer) (0*)
6763 #       number of pad chars on new line to printer (0*)
6765 #       printer baud rate (9600*)
6767 #       printer parity: 00=odd,01=even*,10=space,11=mark
6768 #       printer stop bits: 2*/1
6769 #       print/do not print guarded areas*
6771 #       new line is: 01=LF,10=CR,11=CRLF*
6772 #       unused
6773 #       unused
6775 # D menu: 0110 1001   1   0
6776 #       LF is newline/LF is down one line, same column*
6777 #       wrap to preceding line if move left from col 1*/don't wrap
6778 #       wrap to next line if move right from col 80*/don't wrap
6779 #       backspace is/is not destructive*
6781 #       display*/ignore DEL character
6782 #       display will not/will scroll*
6783 #       page/column tab stops*
6784 #       erase everything*/erase unprotected only
6786 #       editing extent: 0=display,1=line*,2=field,3=area
6788 #       unused
6791 annarbor4080|aa4080|ann arbor 4080:\
6792         :am:bs:\
6793         :co#80:li#40:\
6794         :bl=^G:cl=\014:\
6795         :..cm=\017%p2%{10}%/%{16}%*%p2%{10}%m%+%c%p1%?%p1%{19}%>%t%{12}%+%;%{64}%+%c:\
6796         :cr=^M:ct=^^P^P:do=^J:ho=^K:kb=^^:kd=^J:kh=^K:kl=^H:kr=^_:\
6797         :ku=^N:le=^H:nd=^_:sf=^J:st=^]^P1:ta=^I:up=^N:
6799 # Strange Ann Arbor terminal from BRL
6800 aas1901|Ann Arbor K4080 w/S1901 mod:\
6801         :am:\
6802         :co#80:li#40:\
6803         :bl=^G:cl=^L:cr=^M:do=^J:ho=^K:kb=^H:kd=^J:kl=^H:le=^H:\
6804         :ll=^O\0c:nd=^_:nw=^M^J:sf=^J:ta=^I:up=^N:
6806 # If you're using the GNU termcap library, add
6807 #       :cS=\E[%p1%d;%p2%d;%p3%d;%p4%dp:
6808 # to these capabilities.  This is the nonstandard GNU termcap scrolling
6809 # capability, arguments are:
6810 #   1. Total number of lines on the screen.
6811 #   2. Number of lines above desired scroll region.
6812 #   3. Number of lines below (outside of) desired scroll region.
6813 #   4. Total number of lines on the screen, the same as the first parameter.
6814 # The generic Ann Arbor entry is the only one that uses this.
6815 # (untranslatable capabilities removed to fit entry within 1023 bytes)
6816 # (sgr removed to fit entry within 1023 bytes)
6817 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
6818 aaa+unk|aaa-unk|ann arbor ambassador (internal - don't use this directly):\
6819         :am:bs:km:mi:xo:\
6820         :co#80:it#8:\
6821         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
6822         :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:bt=\E[Z:\
6823         :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
6824         :ct=\E[2g:dc=\E[P:dl=\E[M:do=^K:ei=:ho=\E[H:\
6825         :i1=\E[m\E7\E[H\E9\E8:i2=\E[1Q\E[>20;30l\EP`+x~M\E\:\
6826         :ic=\E[@:im=:k1=\EOA:k2=\EOB:k3=\EOC:k4=\EOD:k5=\EOE:\
6827         :k6=\EOF:k7=\EOG:k8=\EOH:k9=\EOI:kD=\E[P:kI=\E[@:kb=^H:\
6828         :kd=\E[B:\
6829         :ke=\EP`>y~[[J`8xy~[[A`4xy~[[D`6xy~[[C`2xy~[[B\E\:\
6830         :kh=\E[H:kl=\E[D:kr=\E[C:\
6831         :ks=\EP`>z~[[J`8xz~[[A`4xz~[[D`6xz~[[C`2xz~[[B\E\:\
6832         :ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mm=\E[>52h:\
6833         :mo=\E[>52l:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=^K:\
6834         :so=\E[7m:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
6836 aaa+rv|ann arbor ambassador in reverse video:\
6837         :i1=\E[7m\E7\E[H\E9\E8:mb=\E[5;7m:md=\E[1;7m:\
6838         :me=\E[7m\016:mk=\E[7;8m:mr=\E[m:r1=\E[H\E[7m\E[J:\
6839         :..sa=\E[%?%p1%p3%|%!%t7;%;%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m:\
6840         :se=\E[7m:so=\E[m:ue=\E[7m:us=\E[4;7m:
6841 # Ambassador with the DEC option, for partial vt100 compatibility.
6842 aaa+dec|ann arbor ambassador in dec vt100 mode:\
6843         :ac=aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}:\
6844         :ae=^N:as=^O:cs=\E[%i%d;%dr:eA=\E(0:\
6845         :..sa=\E[%?%p1%p3%|%!%t7;%;%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m%?%p9%t\017%e\016%;:
6846 aaa-18|ann arbor ambassador/18 lines:\
6847         :li#18:\
6848         :is=\E7\E[60;0;0;18p\E8:te=\E[60;0;0;18p\E[60;1H\E[K:\
6849         :ti=\E[18;0;0;18p:\
6850         :tc=aaa+unk:
6851 aaa-18-rv|ann arbor ambassador/18 lines+reverse video:\
6852         :tc=aaa+rv:tc=aaa-18:
6853 aaa-20|ann arbor ambassador/20 lines:\
6854         :li#20:\
6855         :is=\E7\E[60;0;0;20p\E8:te=\E[60;0;0;20p\E[60;1H\E[K:\
6856         :ti=\E[20;0;0;20p:\
6857         :tc=aaa+unk:
6858 aaa-22|ann arbor ambassador/22 lines:\
6859         :li#22:\
6860         :is=\E7\E[60;0;0;22p\E8:te=\E[60;0;0;22p\E[60;1H\E[K:\
6861         :ti=\E[22;0;0;22p:\
6862         :tc=aaa+unk:
6863 aaa-24|ann arbor ambassador/24 lines:\
6864         :li#24:\
6865         :is=\E7\E[60;0;0;24p\E8:te=\E[60;0;0;24p\E[60;1H\E[K:\
6866         :ti=\E[24;0;0;24p:\
6867         :tc=aaa+unk:
6868 aaa-24-rv|ann arbor ambassador/24 lines+reverse video:\
6869         :tc=aaa+rv:tc=aaa-24:
6870 aaa-26|ann arbor ambassador/26 lines:\
6871         :li#26:\
6872         :is=\E7\E[60;0;0;26p\E8:te=\E[60;0;0;26p\E[26;1H\E[K:\
6873         :ti=\E[H\E[J\E[26;0;0;26p:\
6874         :tc=aaa+unk:
6875 aaa-28|ann arbor ambassador/28 lines:\
6876         :li#28:\
6877         :is=\E7\E[60;0;0;28p\E8:te=\E[60;0;0;28p\E[28;1H\E[K:\
6878         :ti=\E[H\E[J\E[28;0;0;28p:\
6879         :tc=aaa+unk:
6880 aaa-30-s|aaa-s|ann arbor ambassador/30 lines w/status:\
6881         :es:hs:\
6882         :li#29:\
6883         :ds=\E7\E[60;0;0;30p\E[1;1H\E[K\E[H\E8\r\n\E[K:\
6884         :fs=\E[>51l:is=\r\n\E[A\E7\E[60;1;0;30p\E8:\
6885         :te=\E[60;1;0;30p\E[29;1H\E[K:\
6886         :ti=\E[H\E[J\E[30;1;0;30p\E[30;1H\E[K:\
6887         :ts=\E[>51h\E[1;%p1%dH\E[2K:tc=aaa+unk:
6888 aaa-30-s-rv|aaa-s-rv|ann arbor ambassador/30 lines+status+reverse video:\
6889         :tc=aaa+rv:tc=aaa-30-s:
6890 aaa-s-ctxt|aaa-30-s-ctxt|ann arbor ambassador/30 lines+status+save context:\
6891         :te=\E[60;1;0;30p\E[59;1H\E[K:\
6892         :ti=\E[30;1H\E[K\E[30;1;0;30p:tc=aaa-30-s:
6893 aaa-s-rv-ctxt|aaa-30-s-rv-ct|ann arbor ambassador/30 lines+status+save context+reverse video:\
6894         :te=\E[60;1;0;30p\E[59;1H\E[K:\
6895         :ti=\E[30;1H\E[K\E[30;1;0;30p:tc=aaa-30-s-rv:
6896 aaa|aaa-30|ambas|ambassador|ann arbor ambassador/30 lines:\
6897         :li#30:\
6898         :is=\E7\E[60;0;0;30p\E8:te=\E[60;0;0;30p\E[30;1H\E[K:\
6899         :ti=\E[H\E[J\E[30;0;0;30p:\
6900         :tc=aaa+unk:
6901 aaa-30-rv|aaa-rv|ann arbor ambassador/30 lines in reverse video:\
6902         :tc=aaa+rv:tc=aaa-30:
6903 aaa-30-ctxt|aaa-ctxt|ann arbor ambassador/30 lines; saving context:\
6904         :te=\E[60;0;0;30p\E[60;1H\E[K:ti=\E[30;0;0;30p:\
6905         :tc=aaa-30:
6906 aaa-30-rv-ctxt|aaa-rv-ctxt|ann arbor ambassador/30 lines reverse video; saving context:\
6907         :te=\E[60;0;0;30p\E[60;1H\E[K:ti=\E[30;0;0;30p:\
6908         :tc=aaa+rv:tc=aaa-30:
6909 aaa-36|ann arbor ambassador/36 lines:\
6910         :li#36:\
6911         :is=\E7\E[60;0;0;36p\E8:te=\E[60;0;0;36p\E[36;1H\E[K:\
6912         :ti=\E[H\E[J\E[36;0;0;36p:\
6913         :tc=aaa+unk:
6914 aaa-36-rv|ann arbor ambassador/36 lines+reverse video:\
6915         :tc=aaa+rv:tc=aaa-36:
6916 aaa-40|ann arbor ambassador/40 lines:\
6917         :li#40:\
6918         :is=\E7\E[60;0;0;40p\E8:te=\E[60;0;0;40p\E[40;1H\E[K:\
6919         :ti=\E[H\E[J\E[40;0;0;40p:\
6920         :tc=aaa+unk:
6921 aaa-40-rv|ann arbor ambassador/40 lines+reverse video:\
6922         :tc=aaa+rv:tc=aaa-40:
6923 aaa-48|ann arbor ambassador/48 lines:\
6924         :li#48:\
6925         :is=\E7\E[60;0;0;48p\E8:te=\E[60;0;0;48p\E[48;1H\E[K:\
6926         :ti=\E[H\E[J\E[48;0;0;48p:\
6927         :tc=aaa+unk:
6928 aaa-48-rv|ann arbor ambassador/48 lines+reverse video:\
6929         :tc=aaa+rv:tc=aaa-48:
6930 aaa-60-s|ann arbor ambassador/59 lines+status:\
6931         :es:hs:\
6932         :li#59:\
6933         :ds=\E7\E[60;0;0;60p\E[1;1H\E[K\E[H\E8\r\n\E[K:\
6934         :fs=\E[>51l:is=\r\n\E[A\E7\E[60;1;0;60p\E8:\
6935         :ts=\E[>51h\E[1;%p1%dH\E[2K:tc=aaa+unk:
6936 aaa-60-s-rv|ann arbor ambassador/59 lines+status+reverse video:\
6937         :tc=aaa+rv:tc=aaa-60-s:
6938 aaa-60-dec-rv|ann arbor ambassador/dec mode+59 lines+status+rev video:\
6939         :tc=aaa+dec:tc=aaa+rv:tc=aaa-60-s:
6940 aaa-60|ann arbor ambassador/60 lines:\
6941         :li#60:\
6942         :is=\E7\E[60;0;0;60p\E[1Q\E[m\E[>20;30l\E8:tc=aaa+unk:
6943 aaa-60-rv|ann arbor ambassador/60 lines+reverse video:\
6944         :tc=aaa+rv:tc=aaa-60:
6945 aaa-db|ann arbor ambassador 30/destructive backspace:\
6946         :bs@:\
6947         :i2=\E[1Q\E[m\E[>20l\E[>30h:le=\E[D:tc=aaa-30:
6949 guru|guru-33|guru+unk|ann arbor guru/33 lines 80 cols:\
6950         :li#33:\
6951         :i2=\E[>59l:is=\E7\E[255;0;0;33;80;80p\E8\E[J:\
6952         :te=\E[255p\E[255;1H\E[K:ti=\E[33p:vb=\E[>59h\E[>59l:\
6953         :tc=aaa+unk:
6954 guru+rv|guru changes for reverse video:\
6955         :i2=\E[>59h:vb=\E[>59l\E[>59h:
6956 guru-rv|guru-33-rv|ann arbor guru/33 lines+reverse video:\
6957         :tc=guru+rv:tc=guru-33:
6958 guru+s|guru status line:\
6959         :es:hs:\
6960         :ds=\E7\E[;0p\E[1;1H\E[K\E[H\E8\r\n\E[K:fs=\E[>51l:\
6961         :te=\E[255;1p\E[255;1H\E[K:ti=:\
6962         :ts=\E[>51h\E[1;%p1%dH\E[2K:
6963 guru-nctxt|guru with no saved context:\
6964         :ti=\E[H\E[J\E[33p\E[255;1H\E[K:tc=guru:
6965 guru-s|guru-33-s|ann arbor guru/33 lines+status:\
6966         :li#32:\
6967         :is=\r\n\E[A\E7\E[255;1;0;33;80;80p\E8\E[J:\
6968         :ti=\E[33;1p\E[255;1H\E[K:tc=guru+s:\
6969         :tc=guru+unk:
6970 guru-24|ann arbor guru 24 lines:\
6971         :co#80:li#24:\
6972         :is=\E7\E[255;0;0;24;80;80p\E8\E[J:ti=\E[24p:tc=guru+unk:
6973 guru-44|ann arbor guru 44 lines:\
6974         :co#97:li#44:\
6975         :is=\E7\E[255;0;0;44;97;100p\E8\E[J:ti=\E[44p:tc=guru+unk:
6976 guru-44-s|ann arbor guru/44 lines+status:\
6977         :li#43:\
6978         :is=\r\n\E[A\E7\E[255;1;0;44;80;80p\E8\E[J:\
6979         :ti=\E[44;1p\E[255;1H\E[K:tc=guru+s:\
6980         :tc=guru+unk:
6981 guru-76|guru with 76 lines by 89 cols:\
6982         :co#89:li#76:\
6983         :is=\E7\E[255;0;0;76;89;100p\E8\E[J:ti=\E[76p:tc=guru+unk:
6984 guru-76-s|ann arbor guru/76 lines+status:\
6985         :co#89:li#75:\
6986         :is=\r\n\E[A\E7\E[255;1;0;76;89;100p\E8\E[J:\
6987         :ti=\E[76;1p\E[255;1H\E[K:tc=guru+s:\
6988         :tc=guru+unk:
6989 guru-76-lp|guru-lp|guru with page bigger than line printer:\
6990         :co#134:li#76:\
6991         :is=\E7\E[255;0;0;76;134;134p\E8\E[J:ti=\E[76p:tc=guru+unk:
6992 guru-76-w|guru 76 lines by 178 cols:\
6993         :co#178:li#76:\
6994         :is=\E7\E[255;0;0;76;178;178p\E8\E[J:ti=\E[76p:tc=guru+unk:
6995 guru-76-w-s|ann arbor guru/76 lines+status+wide:\
6996         :co#178:li#75:\
6997         :is=\r\n\E[A\E7\E[255;1;0;76;178;178p\E8\E[J:\
6998         :ti=\E[76;1p\E[255;1H\E[K:\
6999         :tc=guru+s:tc=guru+unk:
7000 guru-76-wm|guru 76 lines by 178 cols with 255 cols memory:\
7001         :co#178:li#76:\
7002         :is=\E7\E[255;0;0;76;178;255p\E8\E[J:ti=\E[76p:tc=guru+unk:
7003 aaa-rv-unk|ann arbor unknown type:\
7004         :Nl#0:lh#0:lw#0:\
7005         :ho=\E[H:i1=\E[7m\E7\E[H\E9\E8:mb=\E[5;7m:md=\E[1;7m:\
7006         :me=\E[7m:mk=\E[7;8m:mr=\E[m:r1=\E[H\E[7m\E[J:\
7007         :..sa=\E[%?%p1%!%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m:\
7008         :se=\E[7m:so=\E[m:ue=\E[7m:us=\E[4;7m:
7010 #### Applied Digital Data Systems (adds)
7012 # ADDS itself is long gone.  ADDS was bought by NCR, and the same group made
7013 # ADDS and NCR terminals.  When AT&T and NCR merged, the engineering for
7014 # terminals was merged again.  Then AT&T sold the terminal business to
7015 # SunRiver, which later changed its  name to Boundless Technologies.  The
7016 # engineers from Teletype, AT&T terminals, ADDS, and NCR (who are still there
7017 # as of early 1995) are at:
7019 #       Boundless Technologies
7020 #       100 Marcus Boulevard
7021 #       Hauppauge, NY 11788-3762
7022 #       Vox: (800)-231-5445
7023 #       Fax: (516)-342-7378
7024 #       Web: http://boundless.com
7026 # Their voice mail used to describe the place as "SunRiver (formerly ADDS)". 
7027 # In 1995 Boundless acquired DEC's terminals business.  
7030 # Regent: lowest common denominator, works on all regents.
7031 # (regent: renamed ":bc:" to ":le:" -- esr)
7032 regent|Adds Regent Series:\
7033         :am:bs:\
7034         :co#80:li#24:\
7035         :bl=^G:cl=^L:cr=^M:do=^J:ho=\EY  :le=^U:ll=^A:nd=^F:sf=^J:\
7036         :up=^Z:
7037 # Regent 100 has a bug where if computer sends escape when user is holding
7038 # down shift key it gets confused, so we avoid escape.
7039 regent100|Adds Regent 100:\
7040         :sg#1:\
7041         :bl=^G:cm=\013%+ %B\020%.:k0=^B1\r:k1=^B2\r:k2=^B3\r:\
7042         :k3=^B4\r:k4=^B5\r:k5=^B6\r:k6=^B7\r:k7=^B8\r:l0=F1:l1=F2:\
7043         :l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:me=\E0@:se=\E0@:so=\E0P:\
7044         :ue=\E0@:us=\E0`:\
7045         :tc=regent:
7046 regent20|Adds Regent 20:\
7047         :bl=^G:cd=\Ek:ce=\EK:cm=\EY%+ %+ :tc=regent:
7048 regent25|Adds Regent 25:\
7049         :bl=^G:kd=^J:kh=^A:kl=^U:kr=^F:ku=^Z:tc=regent20:
7050 regent40|Adds Regent 40:\
7051         :sg#1:\
7052         :al=\EM:bl=^G:dl=\El:k0=^B1\r:k1=^B2\r:k2=^B3\r:k3=^B4\r:\
7053         :k4=^B5\r:k5=^B6\r:k6=^B7\r:k7=^B8\r:l0=F1:l1=F2:l2=F3:\
7054         :l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:me=\E0@:se=\E0@:so=\E0P:\
7055         :ue=\E0@:us=\E0`:\
7056         :tc=regent25:
7057 regent40+|Adds Regent 40+:\
7058         :is=\EB:tc=regent40:
7059 regent60|regent200|Adds Regent 60:\
7060         :dc=\EE:ei=\EF:im=\EF:is=\EV\EB:kD=\EE:kI=\EF:kM=\EF:\
7061         :se=\ER\E0@\EV:so=\ER\E0P\EV:\
7062         :tc=regent40+:
7063 # From: <edward@onyx.berkeley.edu> Thu Jul  9 09:27:33 1981
7064 # (viewpoint: added :kr:, function key, and :dl: capabilities -- esr)
7065 viewpoint|addsviewpoint|adds viewpoint:\
7066         :am:bs:\
7067         :co#80:li#24:\
7068         :bl=^G:cd=\Ek:ce=\EK:cl=^L:cm=\EY%+ %+ :cr=^M:dl=\El:do=^J:\
7069         :is=\017\E0`:k0=^B1:k2=^B2:k3=^B\041:k4=^B":k5=^B#:kd=^J:\
7070         :kh=^A:kl=^U:kr=^F:ku=^Z:le=^H:ll=^A:me=^O:nd=^F:se=^O:sf=^J:\
7071         :so=^N:ue=^O:up=^Z:us=^N:ve=\017\E0`:vs=\017\E0P:
7072 # Some viewpoints have bad ROMs that foo up on ^O
7073 screwpoint|adds viewpoint with ^O bug:\
7074         :se@:so@:ue@:us@:vs@:tc=viewpoint:
7076 # From: Jay S. Rouman <jsr@dexter.mi.org> 5 Jul 92
7077 # The :vi:/:ve:/:sa:/:me: strings were added by ESR from specs.  
7078 # Theory; the vp3a+ wants \E0%c to set highlights, where normal=01000000,
7079 # underline=01100000, rev=01010000, blink=01000010,dim=01000001,
7080 # invis=01000100 and %c is the logical or of desired attributes.
7081 # There is also a `tag bit' enabling attributes, set by \E) and unset by \E(.
7082 vp3a+|viewpoint3a+|adds viewpoint 3a+:\
7083         :am:bw:\
7084         :co#80:it#8:li#24:\
7085         :cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :cr=^M:do=^J:ho=^^:kb=^H:\
7086         :kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:me=\E(:nd=^L:nw=^M^J:\
7087         :..sa=\E0%{64}%?%p1%tQ%|%;%?%p2%t%{96}%|%;%?%p3%tP%|%;%?%p4%t%{2}%|%;%?%p5%t%{1}%|%;%?%p7%tD%|%;%c\E):\
7088         :se=\E(:sf=^J:so=\E0Q\E):ta=^I:up=^K:ve=^X:vi=^W:
7089 vp60|viewpoint60|addsvp60|adds viewpoint60:\
7090         :tc=regent40:
7092 # adds viewpoint 90 - from cornell
7093 # Note:  emacs sends ei occasionally to insure the terminal is out of
7094 #        insert mode. This unfortunately puts the viewpoint90 IN insert
7095 #        mode.  A hack to get around this is :ic=\EF\s\EF^U:.  (Also,
7096 #   -    :ei=:im=: must be present in the termcap translation.)
7097 #   -    :xs: indicates glitch that attributes stick to location
7098 #   -    :ms: means it's safe to move in standout mode
7099 #   -    :cl=\EG\Ek:: clears screen and visual attributes without affecting
7100 #               the status line
7101 # Function key and label capabilities merged in from SCO.
7102 vp90|viewpoint90|adds viewpoint 90:\
7103         :bs:bw:ms:xs:\
7104         :co#80:li#24:\
7105         :cd=\Ek:ce=\EK:cl=\EG\Ek:cm=\EY%+ %+ :dc=\EE:dl=\El:do=^J:\
7106         :ei=:ho=\EY  :ic=\EF \EF\025:im=:k0=^B1\r:k1=^B2\r:\
7107         :k2=^B3\r:k3=^B4\r:k4=^B5\r:k5=^B6\r:k6=^B7\r:k7=^B8\r:\
7108         :k8=^B9\r:k9=^B\072\r:k;=^B;\r:kb=^H:kd=^J:kh=^A:kl=^U:\
7109         :kr=^F:ku=^Z:l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:\
7110         :l8=F9:l9=F10:la=F11:le=^H:ll=^A:me=\ER\E0@\EV:nd=^F:\
7111         :se=\ER\E0@\EV:sf=^J:so=\ER\E0Q\EV:ta=^I:ue=\ER\E0@\EV:\
7112         :up=^Z:us=\ER\E0`\EV:
7113 # Note: if return acts weird on a980, check internal switch #2
7114 # on the top chip on the CONTROL pc board.
7115 adds980|a980|adds consul 980:\
7116         :am:bs:\
7117         :co#80:li#24:\
7118         :al=\E\016:bl=^G:cl=\014\013@:cm=\013%+@\E\005%2:cr=^M:\
7119         :dl=\E\017:do=^J:k0=\E0:k1=\E1:k2=\E2:k3=\E3:k4=\E4:k5=\E5:\
7120         :k6=\E6:k7=\E7:k8=\E8:k9=\E9:le=^H:me=^O:nd=\E^E01:se=^O:\
7121         :sf=^J:so=^Y^^^N:
7123 # Beehive documentation is undated and marked Preliminary and has no figures
7124 # so we must have early Superbee2 (Model 600, according to phone conversation
7125 # with mfr.). It has proved reliable except for some missing padding
7126 # (notably after \EK and <nl> at bottom of screen).
7128 # The key idea is that AEP mode is poison for :cm: & that US's in 
7129 # the local memory should be avoided like the plague. That means 
7130 # that the 2048 character local buffer is used as 25 lines of 80 
7131 # characters, period. No scrolling local memory, folks. It also 
7132 # appears that we cannot use naked INS LINE feature since it uses
7133 # US. The sbi fakes :al: with an 80-space insert that may be too 
7134 # slow at low speeds; also spaces get converted to \040 which is 
7135 # too long for some programs (not vi).  DEL LINE is ok but slow.
7137 # The <nl> string is designed for last line of screen ONLY; cup to 
7138 # 25th line corrects the motion inherent in scrolling to Page 1.
7140 # There is one understood bug. It is that the screen appears to
7141 # pop to a new (blank) page after a :nw:, or leave a half-line 
7142 # ellipsis to a quad that is the extra 48 memory locations. The 
7143 # data received is dumped into memory but not displayed.  Not to 
7144 # worry if :cm: is being used; the lines not displayed will be, 
7145 # whenever the cursor is moved up there. Since :cm: is addressed 
7146 # relative to MEMORY of window, nothing is lost; but beware of 
7147 # relative cursor motion (:up:,:do:,:nd:,:le:). Recommended,
7148 # therefore, is setenv MORE -c .
7150 # WARNING: Not all features tested.
7152 # Timings are assembled from 3 sources. Some timings may reflect 
7153 # SB2/Model 300 that were used if more conservative.
7154 # Tested on a Model 600 at 1200 and 9600 bd.
7156 # The BACKSPACEkb option is cute. The NEWLINE key, so cleverly 
7157 # placed on the keyboard and useless because of AEP, is made 
7158 # into a backspace key. In use ESC must be pressed twice (to send)
7159 # and sending ^C must be prefixed by ESC to avoid that weird 
7160 # transmit mode associated with ENTER key.
7162 # IF TERMINAL EVER GOES CATATONIC with the cursor buzzing across 
7163 # the screen, then it has dropped into ENTER mode; hit 
7164 # RESET--ONLINE--!tset.
7166 # As delivered this machine has a FATAL feature that will throw 
7167 # it into that strange transmit state (SPOW) if the space bar is 
7168 # hit after a CR is received, but before receiving a LF (or a 
7169 # few others).
7171 # The circuits MUST be modified to eliminate the SPOW latch. 
7172 # This is done by strapping on chip A46 of the I/O board; cut 
7173 # the p.c. connection to Pin 5 and strap Pin 5 to Pin 8 of that 
7174 # chip. This mod has been checked out on a Mod 600 of Superbee II.
7175 # With this modification absurdly high timings on cr are 
7176 # unnecessary.
7178 # NOTE WELL that the rear panel switch should be set to CR/LF, 
7179 # not AEP!
7181 sb1|beehive superbee:\
7182         :am:bs:bw:da:db:mi:ul:xb:\
7183         :co#80:li#25:sg#1:\
7184         :al=\EN\EL\EQ                                                                                \EP \EO\ER\EA:\
7185         :bl=^G:bt=\E`:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EF%r%03%03:cr=\r:\
7186         :ct=\E3:dc=\EP:dl=\EM:do=^J:ei=\ER:ho=\EH:im=\EQ\EO:\
7187         :is=\EE\EX\EZ\EO\Eb\Eg\ER:k0=\E2:k1=\Ep:k2=\Eq:k3=\Er:\
7188         :k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:k9=\E1:kE=\EK:kI=\EQ\EO:\
7189         :kL=\EM:kM=\ER:kS=\EJ:kb=^_:kd=\EB:kh=\EH:kl=\ED:kr=\EC:\
7190         :ku=\EA:l0=TAB CLEAR:l9=TAB SET:le=^H:me=\E_3:nd=\EC:\
7191         :se=\E_3:sf=^J:so=\E_1:st=\E1:ta=^I:te=:ti=\EO:ue=\E_3:\
7192         :up=\EA:us=\E_0:
7193 sbi|superbee|beehive superbee at Indiana U.:\
7194         :xb:\
7195         :al=1\EN\EL\EQ \EP \EO\ER\EA:cr=\r:tc=sb1:
7196 # Alternate (older) description of Superbee - f1=escape, f2=^C.
7197 # Note: there are at least 3 kinds of superbees in the world.  The sb1
7198 # holds onto escapes and botches ^C's.  The sb2 is the best of the 3.
7199 # The sb3 puts garbage on the bottom of the screen when you scroll with
7200 # the switch in the back set to CRLF instead of AEP.  This description
7201 # is tested on the sb2 but should work on all with either switch setting.
7202 # The f1/f2 business is for the sb1 and the :xb: can be taken out for
7203 # the other two if you want to try to hit that tiny escape key.
7204 # This description is tricky: being able to use cup depends on there being
7205 # 2048 bytes of memory and the hairy <nl> string.
7206 superbee-xsb|beehive super bee:\
7207         :am:da:db:xb:\
7208         :co#80:it#8:li#25:\
7209         :cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EF%r%3%3:cr=\r:ct=\E3:dc=\EP:\
7210         :dl=\EM:do=^J:ho=\EH:is=\EH\EJ:k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:\
7211         :k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:kd=\EB:kh=\EH:kl=\ED:kr=\EC:\
7212         :ku=\EA:le=^H:me=\E_3:nd=\EC:se=\E_3:\
7213         :sf=\n\0\0\0\n\0\0\0\EA\EK\0\0\0\ET\ET:so=\E_1:st=\E1:\
7214         :ta=^I:up=\EA:ve=^J:
7215 # This loses on lines > 80 chars long, use at your own risk
7216 superbeeic|super bee with insert char:\
7217         :ei=\ER:ic=:im=\EQ:tc=superbee-xsb:
7218 sb2|sb3|fixed superbee:\
7219         :xb@:tc=superbee:
7221 ####  Beehive Medical Electronics
7223 # Steve Seymour <srseymour@mindspring.com> writes (Wed, 03 Feb 1999):
7224 # Regarding your question though; Beehive terminals weren't made by Harris.
7225 # They were made by Beehive Medical Electronics in Utah. They went out of
7226 # business in the early '80s.
7228 # (OK, then, I don't know why a couple of these say "harris beehive".)
7231 # Reports are that most of these Beehive entries (except superbee) have not
7232 # been tested and do not work right.  :se: is a trouble spot.  Be warned.
7234 # (bee: :ic: was empty, which is obviously bogus -- esr)
7235 beehive|bee|harris beehive:\
7236         :am:bs:mi:\
7237         :co#80:li#24:\
7238         :al=\EL:bt=\E>:cd=\EJ:ce=\EK:cl=\EE:cm=\EF%+ %+ :dc=\EP:\
7239         :dl=\EM:do=\EB:ei=\E@:ho=\EH:im=\EQ:kA=\EL:kB=\E>:kC=\EE:\
7240         :kD=\EP:kE=\EK:kI=\EQ:kL=\EM:kM=\E@:kb=^H:kd=\EB:kh=\EH:\
7241         :kl=\ED:kr=\EC:ku=\EA:le=^H:me=\Ed@:nd=\EC:se=\Ed@:so=\EdP:\
7242         :ue=\Ed@:up=\EA:us=\Ed`:
7243 # set tab is ^F, clear (one) tab is ^V, no way to clear all tabs.
7244 # good grief - does this entry make :sg:/:ug: when it doesn't have to?
7245 # look at those spaces in :se:/:so:.  Seems strange to me...
7246 # (beehive: :if=/usr/share/tabset/beehive: removed, no such file.  If you
7247 # really care, cook up one using ^F -- esr)
7248 beehive3|bh3m|beehiveIIIm|harris beehive 3m:\
7249         :am:bs:\
7250         :co#80:it#8:li#20:\
7251         :al=\023:bl=^G:cd=^R:ce=^P:cl=^E^R:cr=^M:dl=\021:do=^J:ho=^E:\
7252         :le=^H:ll=^E^K:nd=^L:se= ^_:sf=^J:so=^] :st=^F:ta=^I:up=^K:
7253 beehive4|bh4|beehive 4:\
7254         :am:\
7255         :co#80:li#24:\
7256         :bl=^G:cd=\EJ:ce=\EK:cl=\EE:cr=^M:do=^J:ho=\EH:le=\ED:nd=\EC:\
7257         :sf=^J:up=\EA:
7258 # There was an early Australian kit-built computer called a "Microbee".
7259 # It's not clear whether this is for one of those or for a relative
7260 # of the Beehive.
7261 microb|microbee|micro bee series:\
7262         :am:bs:\
7263         :co#80:it#8:li#24:\
7264         :bl=^G:cd=\EJ:ce=\EK:cl=\EE:cm=\EF%+ %+ :cr=^M:do=^J:k1=\Ep:\
7265         :k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:k9=\Ex:\
7266         :kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:me=\Ed@:nd=\EC:\
7267         :se=\Ed@:sf=^J:so= \EdP:ta=^I:ue=\Ed@:up=\EA:us=\Ed`:
7269 #### C. Itoh Electronics
7271 # As of 1995 these people no longer make terminals (they're still in the
7272 # printer business).  Their terminals were all clones of the DEC VT series.
7273 # They're located in Orange County, CA.
7276 # CIT 80  - vt-52 emulator, the termcap has been modified to remove
7277 #           the delay times and do an auto tab set rather than the indirect
7278 #           file used in vt100.
7279 cit80|cit-80|citoh 80:\
7280         :am:bs:\
7281         :co#80:li#24:\
7282         :cd=\EJ:ce=\EK:cl=\E[H\EJ:cm=\E[%i%2;%2H:cr=^M:ff=^L:\
7283         :is=\E>:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
7284         :ku=\EOA:le=^H:nd=\E[C:sf=^J:up=\E[A:
7285 # From: Tim Wood <mtxinu!sybase!tim> Fri Sep 27 09:39:12 PDT 1985
7286 # (cit101: added <rmam>/<smam> based on init string, merged this with c101 -- esr)
7287 cit101|citc|C.itoh fast vt100:\
7288         :am:bs:xn:\
7289         :co#80:li#24:\
7290         :RA=\E[?7l:SA=\E[?7h:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:\
7291         :cl=\E[H\E[2J:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:ei=:ic=\E[@:\
7292         :im=:is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[3g\E[>5g:\
7293         :kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
7294         :ku=\EOA:le=^H:me=\E[m:nd=\E[C:se=\E[m:so=\E[7m:ue=\E[m:\
7295         :up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[V\E8:vs=\E7\E[U:
7296 # CIE Terminals CIT-101e from Geoff Kuenning <callan!geoff> via BRL
7297 # The following termcap entry was created from the Callan cd100 entry.  The
7298 # last two lines (with the capabilities in caps) are used by RM-cobol to allow
7299 # full selection of combinations of reverse video, underline, and blink.
7300 # (cit101e: removed unknown :f0=\EOp:f1=\EOq:f2=\EOr:f3=\EOs:f4=\EOt:f5=\EOu:\
7301 # f6=\EOv:f7=\EOw:f8=\EOx:f9=\EOy:AB=\E[0;5m:AL=\E[m:AR=\E[0;7m:AS=\E[0;5;7m:\
7302 # :NB=\E[0;1;5m:NM=\E[0;1m:NR=\E[0;1;7m:NS=\E[0;1;5;7m: -- esr)
7303 cit101e|C. Itoh CIT-101e:\
7304         :am:bs:mi:ms:pt:\
7305         :co#80:it#8:li#24:\
7306         :ac=:ae=^O:al=\E[L:as=^N:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
7307         :cm=\E[%i%2;%2H:cs=\E[%i%2;%2r:dc=\E[P:dl=\E[M:do=\E[B:\
7308         :ei=\E[4l:if=/usr/share/tabset/vt100:im=\E[4h:k0=\EOT:\
7309         :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOm:k6=\EOl:k7=\EOM:\
7310         :k8=\EOn:kd=\E[B:ke=\E>:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:\
7311         :nd=\E[C:rc=\E8:sc=\E7:se=\E[m:so=\E[7m:sr=\EM:ue=\E[m:\
7312         :up=\E[A:us=\E[4m:ve=:vs=\E[?1l\E[?4l\E[?7h:
7313 # From: David S. Lawyer, June 1997:
7314 # The CIT 101-e was made in Japan in 1983-4 and imported by CIE
7315 # Terminals in Irvine, CA.  It was part of CITOH Electronics.  In the
7316 # late 1980's CIT Terminals went out of business.
7317 # There is no need to use the initialization string is=... (by invoking
7318 # tset or setterm etc.) provided that the terminal has been manually set
7319 # up (and the setup saved with ^S) to be compatible with this termcap.  To be
7320 # compatible it should be in ANSI mode (not VT52).   A set-up that
7321 # works is to set all the manually setable stuff to factory defaults
7322 # by pressing ^D in set-up mode.  Then increse the brighness with the
7323 # up-arrow key since the factory default will likely be dim on an old
7324 # terminal.  Then change any options you want (provided that they are
7325 # compatible with the termcap).  For my terminal I set: Screen
7326 # Background: light; Keyclicks: silent; Auto wraparound: on; CRT saver:
7327 # on.  I also set up mine for parity (but you may not need it).  Then 
7328 # save the setup with ^S.
7329 # (cit101e-rv: added empty :te: to suppress a tic warning. --esr)
7330 cit101e-rv|Citoh CIT-101e (sets reverse video):\
7331         :am:eo:mi:ms:xn:xo:\
7332         :co#80:it#8:li#24:\
7333         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
7334         :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
7335         :al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%i%dG:\
7336         :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
7337         :ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:ic=\E[@:\
7338         :im=\E[4h:\
7339         :is=\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:\
7340         :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=\177:kd=\E[B:kl=\E[D:\
7341         :kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:\
7342         :nd=\E[C:nl=\EM:nw=\EE:r1=\Ec\E[?7h\E[>5g:rc=\E8:sc=\E7:\
7343         :se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:te=:\
7344         :ti=\E[>5g\E[?7h\E[?5h:u6=\E[%i%d;%dR:u7=\E[6n:\
7345         :u8=\E[?6c:u9=\E[c:ue=\E[m:up=\E[A:us=\E[4m:\
7346         :vb=200\E[?5l\E[?5h:ve=\E[0;3;4v:vi=\E[1v:vs=\E[3;5v:
7347 cit101e-n|CIT-101e w/o am:\
7348         :am@:\
7349         :kb=^H:kd=^J:kl=^H:vs=\E[?1l\E[?4l\E[?7l:tc=cit101e:
7350 cit101e-132|CIT-101e with 132 cols:\
7351         :co#132:\
7352         :kb=^H:kd=^J:kl=^H:tc=cit101e:
7353 cit101e-n132|CIT-101e with 132 cols w/o am:\
7354         :am@:\
7355         :co#132:\
7356         :kb=^H:kd=^J:kl=^H:vs=\E[?1l\E[?4l\E[?7l:tc=cit101e:
7357 # CIE Terminals CIT-500 from BRL
7358 # The following SET-UP modes are assumed for normal operation:
7359 #       GENERATE_XON/XOFF:YES   DUPLEX:FULL             NEWLINE:OFF
7360 #       AUTOWRAP:ON             MODE:ANSI               SCREEN_LENGTH:64_LINES
7361 #       DSPLY_CNTRL_CODES?NO    PAGE_WIDTH:80           EDIT_MODE:OFF
7362 # Other SET-UP modes may be set for operator convenience or communication
7363 # requirements.
7364 # Hardware tabs are assumed to be set every 8 columns; they can be set up
7365 # by the "reset", "tset", or "tabs" utilities.  No delays are specified; use
7366 # "stty ixon -ixany" to enable DC3/DC1 flow control!
7367 # (cit500: I added <rmam>/<smam> based on the init string -- esr)
7368 cit500|CIE Terminals CIT-500:\
7369         :bs:mi:ms:pt:xo:\
7370         :co#80:it#8:kn#10:li#64:vt#3:\
7371         :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RA=\E[?7l:\
7372         :RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:ac=:ae=^O:al=\E[L:as=^N:\
7373         :bl=^G:bt=\E[Z:cd=\EJ:ce=\EK:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
7374         :cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
7375         :ei=\E[4l:ho=\E[H:im=\E[4h:is=\E<\E)0:k0=\EOP:k1=\EOQ:\
7376         :k2=\EOR:k3=\EOS:k4=\EOU:k5=\EOV:k6=\EOW:k7=\EOX:k8=\EOY:\
7377         :k9=\EOZ:kA=\E[L:kB=\E[Z:kD=\E[P:kE=\EK:kI=\E[4h:kL=\E[M:\
7378         :kM=\E[4l:kS=\EJ:kb=^H:kd=\EOB:ke=\E[?1l\E>:kh=\E[H:\
7379         :kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l0=PF1:l1=PF2:l2=PF3:\
7380         :l3=PF4:l4=F15:l5=F16:l6=F17:l7=F18:l8=F19:l9=F20:le=^H:\
7381         :ll=\E[64H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
7382         :nw=\EE:\
7383         :r1=\E<\E2\E[20l\E[?6l\E[r\E[m\E[q\E(B\017\E)0\E>:\
7384         :rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
7385         :ue=\E[m:up=\EM:us=\E[4m:
7387 # C. Itoh printers begin here
7388 citoh|ci8510|8510|c.itoh 8510a:\
7389         :co#80:it#8:\
7390         :is=\E(009\054017\054025\054033\054041\054049\054057\054065\054073.:\
7391         :le@:md=\E\041:me=\E"\EY:rp=\ER%r%03%.:sr=\Er:ue=\EY:\
7392         :us=\EX:\
7393         :tc=lpr:
7394 citoh-pica|citoh in pica:\
7395         :i1=\EN:tc=citoh:
7396 citoh-elite|citoh in elite:\
7397         :co#96:\
7398         :i1=\EE:\
7399         :is=\E(009\054017\054025\054033\054041\054049\054057\054065\054073\054081\054089.:tc=citoh:
7400 citoh-comp|citoh in compressed:\
7401         :co#136:\
7402         :i1=\EQ:\
7403         :is=\E(009\054017\054025\054033\054041\054049\054057\054065\054073\054081\054089\054097\054105\054113\054121\054129.:tc=citoh:
7404 # citoh has infinite cols because we don't want lp ever inserting \n\t**.
7405 citoh-prop|citoh-ps|ips|citoh in proportional spacing mode:\
7406         :co#32767:\
7407         :i1=\EP:tc=citoh:
7408 citoh-6lpi|citoh in 6 lines per inch mode:\
7409         :i2=\EA:tc=citoh:
7410 citoh-8lpi|citoh in 8 lines per inch mode:\
7411         :li#88:\
7412         :i2=\EB:tc=citoh:
7414 #### Control Data (cdc)
7417 cdc456|cdc 456 terminal:\
7418         :am:bs:\
7419         :co#80:li#24:\
7420         :al=\EL:bl=^G:cd=^X:ce=^V:cl=^Y^X:cm=\E1%+ %+ :cr=^M:dl=\EJ:\
7421         :do=^J:ho=^Y:le=^H:nd=^L:sf=^J:up=^Z:
7423 # Assorted CDC terminals from BRL (improvements by DAG & Ferd Brundick)
7424 cdc721|CDC Viking:\
7425         :am:bs:\
7426         :co#80:li#24:\
7427         :ce=^K:cl=^L:cm=\002%r%+ %+ :ho=^Y:kd=^J:kh=^Y:kl=^H:kr=^I:\
7428         :ku=^W:nd=^X:up=^W:
7429 cdc721ll|CDC Vikingll:\
7430         :am:bs:\
7431         :co#132:li#24:\
7432         :ce=^K:cl=^L:cm=\002%r%+ %+ :ho=^Y:kd=^J:kh=^Y:kl=^H:kr=^I:\
7433         :ku=^W:nd=^X:up=^W:
7434 # (cdc752: the BRL entry had :ll=\E1  ^Z: commented out
7435 cdc752|CDC 752:\
7436         :am:bs:bw:xs:\
7437         :co#80:li#24:\
7438         :bl=^G:ce=^V:cl=\030\E1  :cm=\E1%r%+ %+ :cr=^M:do=^J:\
7439         :ho=\E1  :le=^H:ll=^Y:nd=^U:r1=\E1  \030\002\003\017:\
7440         :sf=^J:up=^Z:
7441 # CDC 756
7442 # The following switch/key settings are assumed for normal operation:
7443 #       96 chars        SCROLL          FULL duplex     not BLOCK
7444 # Other switches may be set according to communication requirements.
7445 # Insert/delete-character cannot be used, as the whole display is affected.
7446 # "so" & "se" are commented out until jove handles "sg" correctly.
7447 cdc756|CDC 756:\
7448         :am:bs:bw:\
7449         :co#80:kn#10:li#24:\
7450         :al=6*\EL:bl=^G:cd=^X:ce=^V:cl=^Y^X:cm=\E1%r%+ %+ :cr=^M:\
7451         :dl=6*\EJ:do=^J:ho=^Y:k0=\EA:k1=\EB:k2=\EC:k3=\ED:k4=\EE:\
7452         :k5=\EF:k6=\EG:k7=\EH:k8=\Ea:k9=\Eb:kA=\EL:kD=\EI:kE=^V:\
7453         :kI=\EK:kL=\EL:kS=^X:kT=^O:kb=^H:kd=^J:kh=^Y:kl=^H:kr=^U:\
7454         :ku=^Z:l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:l8=F9:\
7455         :l9=F10:le=^H:ll=^Y^Z:nd=^U:r1=\031\030\002\003\017:sf=^J:\
7456         :up=^Z:
7458 # CDC 721 from Robert Viduya, Ga. Tech. <ihnp4!gatech!gitpyr!robert> via BRL.
7460 # Part of the long initialization string defines the "DOWN" key to the left
7461 # of the tab key to send an ESC.  The real ESC key is positioned way out 
7462 # in right field.
7464 # The termcap won't work in 132 column mode due to the way it it moves the
7465 # cursor.  Termcap doesn't have the capability (as far as I could tell) to
7466 # handle the 721 in 132 column mode.
7468 # (cdc721: changed :ri: to :sr: -- esr)
7469 cdc721-esc|Control Data 721:\
7470         :am:bs:bw:ms:pt:xo:\
7471         :co#80:it#8:kn#10:li#30:\
7472         :al=^^R:bl=^G:bt=^^^K:cd=^^P:ce=^K:cl=^L:cm=\002%r%+ %+ :\
7473         :ct=^^^RY:dc=^^N:dl=^^Q:do=^Z:ei=:ho=^Y:ic=^^O:im=:\
7474         :is=\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\136\036\022b\036\022i\036W =\036\022Z\036\011C1-` `\041k/o:\
7475         :k0=^^q:k1=^^r:k2=^^s:k3=^^t:k4=^^u:k5=^^v:k6=^^w:k7=^^x:\
7476         :k8=^^y:k9=^^z:kb=^H:kd=^Z:ke=^^^Rl:kh=^Y:kl=^H:kr=^X:\
7477         :ks=^^^Rk:ku=^W:le=^H:ll=^B =:mb=^N:\
7478         :me=\017\025\035\036E\036\022\:mh=^\:mk=^^^R[:mr=^^D:\
7479         :nd=^X:se=^^E:sf=\036W =\036U:so=^^D:sr=\036W =\036V:\
7480         :st=^^^RW:ue=^]:up=^W:us=^\:
7482 #### Getronics
7484 # Getronics is a Dutch electronics company that at one time was called 
7485 # `Geveke' and made async terminals; but (according to the company itself!)
7486 # they've lost all their documentation on the command set.  The hardware
7487 # documentation suggests the terminals were actually manufactured by a
7488 # Taiwanese electronics company named Cal-Comp.  There are known
7489 # to have been at least two models, the 33 and the 50.
7492 # The 50 seems to be a top end vt220 clone, with the addition of a higher
7493 # screen resolution, a larger screen, at least 1 page of memory above and
7494 # below the screen, apparently pages of memory right and left of the screen
7495 # which can be panned, and about 75 function keys (15 function keys x normal,
7496 # shift, control, func A, func B). It also has more setup possibilities than
7497 # the vt220. The monitor case is dated November 1978 and the keyboard case is
7498 # May 1982.
7500 # The vt100 emulation works as is.  The entry below describes the rather
7501 # non-conformant (but more featureful) ANSI mode.
7503 # From: Stephen Peterson <stv@utrecht.ow.nl>, 27 May 1995
7504 # (untranslatable capabilities removed to fit entry within 1023 bytes)
7505 # (sgr removed to fit entry within 1023 bytes)
7506 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
7507 visa50|geveke visa 50 terminal in ansi 80 character mode:\
7508         :bw:mi:ms:\
7509         :co#80:li#25:\
7510         :AL=\E[%dL:DC=\E[%dX:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
7511         :K1=\E[f:K2=\EOP:K3=\EOQ:K4=\EOR:K5=\EOS:LE=\E[%dD:\
7512         :RI=\E[%dC:UP=\E[%dA:ae=\E[3l:al=\E[L:as=\E3h:bl=^G:\
7513         :bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:\
7514         :cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[X:dl=\E[M:do=\E[B:\
7515         :ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:\
7516         :is=\E0;2m\E[1;25r\E[25;1H\E[?3l\E[?7h\E[?8h:k0=\E010:\
7517         :k1=\E001:k2=\E002:k3=\E003:k4=\E004:k5=\E005:k6=\E006:\
7518         :k7=\E007:k8=\E008:k9=\E009:kD=\177:kb=^H:kd=\E[A:ke=\E>:\
7519         :kh=\E[f:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=\E[D:mb=\E[5m:\
7520         :md=\E[1m:me=\E[0;2m:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=^M^J:\
7521         :se=\E[0;2m:sf=^J:so=\E[2;7m:ta=^I:ue=\E[0m:up=\E[A:\
7522         :us=\E[4m:vb=\E[?5h\E[?5l:
7524 #### Human Designed Systems (Concept)
7526 #       Human Designed Systems
7527 #       400 Fehley Drive
7528 #       King of Prussia, PA 19406
7529 #       Vox: (610)-277-8300
7530 #       Fax: (610)-275-5739
7531 #       Net: support@hds.com
7533 # John Martin <john@hds.com> is their termcap expert.  They're mostly out of
7534 # the character-terminal business now (1995) and making X terminals.  In
7535 # particular, the whole `Concept' line described here was discontinued long
7536 # ago.
7539 # From: <vax135!hpk>  Sat Jun 27 07:41:20 1981
7540 # Extensive changes to c108 by arpavax:eric Feb 1982
7541 # Some unknown person at SCO then translated it to terminfo.
7543 # There seem to be a number of different versions of the C108 PROMS
7544 # (with bug fixes in its Z-80 program).
7546 # The first one that we had would lock out the keyboard of you
7547 # sent lots of short lines (like /usr/dict/words) at 9600 baud.
7548 # Try that on your C108 and see if it sends a ^S when you type it.
7549 # If so, you have an old version of the PROMs.
7551 # You should configure the C108 to send ^S/^Q before running this.
7552 # It is much faster (at 9600 baud) than the c100 because the delays
7553 # are not fixed.
7554 # new status line display entries for c108-8p:
7555 # :i3: - init str #3 - setup term for status display - 
7556 # set programmer mode, select window 2, define window at last 
7557 # line of memory, set bkgnd stat mesg there, select window 0.
7559 # :ts: - to status line - select window 2, home cursor, erase to 
7560 # end-of-window, 1/2 bright on, goto(line#0, col#?)
7562 # :fs: - from status line - 1/2 bright off, select window 0
7564 # :ds: - disable status display - set bkgnd status mesg with 
7565 # illegal window #
7567 # There are probably more function keys that should be added but 
7568 # I don't know what they are.
7570 # No delays needed on c108 because of ^S/^Q handshaking
7572 c108|concept108|c108-8p|concept108-8p|concept 108 w/8 pages:\
7573         :i2=\EU\E z"\Ev\001\177 \041p\E ;"\E z \Ev  \001\177p\Ep\n:\
7574         :te=\Ev  \001\177p\Ep\r\n:\
7575         :tc=c108-4p:
7576 c108-4p|concept108-4p|concept 108 w/4 pages:\
7577         :bs:es:hs:xo:\
7578         :pb@:\
7579         :ac=jEkTl\mMqLxU:ae=\Ej :as=\Ej\041:\
7580         :..cm=\Ea%p1%?%p1%{95}%>%t\001%{96}%-%;%{32}%+%c%p2%?%p2%{95}%>%t\001%{96}%-%;%{32}%+%c:\
7581         :cr=^M:dc=\E 1:ds=\E ;\177:fs=\Ee\E z :i1=\EK\E\041\E F:\
7582         :i2=\EU\E z"\Ev\177 \041p\E ;"\E z \Ev  \001 p\Ep\n:\
7583         :sf=^J:te=\Ev  \001 p\Ep\r\n:ti=\EU\Ev  8p\Ep\r\E\025:\
7584         :ts=\E z"\E?\E\005\EE\Ea %+ :ve=\Ew:vs=\EW:\
7585         :tc=c100:
7586 c108-rv|c108-rv-8p|concept 108 w/8 pages in reverse video:\
7587         :te=\Ev  \002 p\Ep\r\n:ti=\EU\Ev  8p\Ep\r:\
7588         :tc=c108-rv-4p:
7589 c108-rv-4p|concept108rv4p|concept 108 w/4 pages in reverse video:\
7590         :i1=\Ek:se=\Ee:so=\EE:vb=\EK\Ek:\
7591         :tc=c108-4p:
7592 c108-w|c108-w-8p|concept108-w-8|concept108-w8p|concept 108 w/8 pages in wide mode:\
7593         :co#132:\
7594         :i1=\E F\E":te=\Ev  ^A0\001D\Ep\r\n:\
7595         :ti=\EU\Ev  8\001D\Ep\r:tc=c108-8p:
7597 # Concept 100:
7598 # These have only window relative cursor addressing, not screen 
7599 # relative. To get it to work right here, smcup/rmcup (which 
7600 # were invented for the concept) lock you into a one page 
7601 # window for screen style programs.
7603 # To get out of the one page window, we use a clever trick:
7604 # we set the window size to zero ("\Ev    " in rmcup) which the 
7605 # terminal recognizes as an error and resets the window to all 
7606 # of memory.
7608 # This trick works on c100 but does not on c108, sigh.
7610 # Some tty drivers use cr3 for concept, others use nl3, hence 
7611 # the delays on cr and ind below. This padding is only needed at 
7612 # 9600 baud and up.  One or the other is commented out depending on 
7613 # local conventions.
7615 # 2 ms padding on :te: isn't always enough. 6 works fine. Maybe 
7616 # less than 6 but more than 2 will work.
7618 # Note: can't use function keys f7-f10 because they are 
7619 # indistinguishable from arrow keys (!), also, del char and 
7620 # clear eol use xon/xoff so they probably won't work very well.
7622 # Also note that we don't define insrt/del char/delline/eop/send 
7623 # because they don't transmit unless we reset them - I figured 
7624 # it was a bad idea to clobber their definitions.
7626 # The <mc5> sequence changes the escape character to ^^ so that 
7627 # escapes will be passed through to the printer. Only trouble 
7628 # is that ^^ won't be - ^^ was chosen to be unlikely. 
7629 # Unfortunately, if you're sending raster bits through to be 
7630 # plotted, any character you choose will be likely, so we lose.
7632 # \EQ"\EY(^W (send anything from printer to host, for xon/xoff) 
7633 # cannot be # in is2 because it will hang a c100 with no printer 
7634 # if sent twice.
7635 c100|concept100|concept|c104|c100-4p|hds concept 100:\
7636         :am:bs:eo:mi:ul:xn:\
7637         :co#80:li#24:pb#9600:vt#8:\
7638         :al=\E\022:bl=^G:cd=\E\005:ce=\E\025:cl=\E?\E\005:\
7639         :cm=\Ea%+ %+ :cr=\r:dc=\E\021:dl=\E\002:do=^J:ei=\E  :\
7640         :i1=\EK:i2=\Ev    \Ep\n:im=\E^P:ip=:\
7641         :is=\EU\Ef\E7\E5\E8\El\ENH\E\0\Eo&\0\Eo'\E\Eo\041\0\E\007\041\E\010A@ \E4#\072"\E\072a\E4#;"\E\072b\E4#<"\E\072c:\
7642         :k1=\E5:k2=\E6:k3=\E7:k4=\E8:k5=\E9:k6=\E\072a:k7=\E\072b:\
7643         :k8=\E\072c:kA=\E^R:kB=\E':kD=\E^Q:kE=\E^S:kF=\E[:kI=\E^P:\
7644         :kL=\E^B:kM=\E\0:kN=\E-:kP=\E.:kR=\E\:kS=\E^C:kT=\E]:kb=^H:\
7645         :kd=\E<:ke=\Ex:kh=\E?:kl=\E>:kr=\E=:ks=\EX:kt=\E_:ku=\E;:\
7646         :le=^H:mb=\EC:me=\EN@:mh=\EE:mk=\EH:mp=\EI:mr=\ED:nd=\E=:\
7647         :pf=\036o \E\EQ\041\EYP\027:\
7648         :po=\EQ"\EY(\027\EYD\Eo \036:rp=\Er%.%+ :se=\Ed:sf=^J:\
7649         :so=\ED:ta=\011:te=\Ev    \Ep\r\n:\
7650         :ti=\EU\Ev  8p\Ep\r\E\025:ue=\Eg:up=\E;:us=\EG:vb=\Ek\EK:
7651 c100-rv|c100-rv-4p|concept100-rv|c100 rev video:\
7652         :i1=\Ek:se=\Ee:so=\EE:vb=\EK\Ek:ve@:vs@:tc=c100:
7653 oc100|oconcept|c100-1p|old 1 page concept 100:\
7654         :in:\
7655         :i3@:tc=c100:
7657 # From: Walter Skorski <walt@genetics1.JMP.TJU.EDU>, 16-oct-1996.
7658 # Lots of notes, originally inline, but ncurses doesn't grok that.
7660 # am:   not available in power on mode, but turned on with \E[=107;207h in
7661 #       is2=.  Also, \E=124l in is2= could have been used to prevent needing
7662 #       to specify xenl:, but that would have rendered the last space on the
7663 #       last line useless.
7664 # bw:   Not available in power on mode, but turned on with \E[=107;207h in
7665 #       is2=.
7666 # clear: Could be done with \E[2J alone, except that vi (and probably most
7667 #       other programs) assume that this also homes the cursor.
7668 # dsl:  Go to window 2, go to the beginning of the line, use a line feed to
7669 #       scroll the window, and go back to window 1.
7670 # is2:  the string may cause a warning to be issued by tic that it
7671 #       found a very long line and that it suspects that a comma is missing
7672 #       somewhere.  This warning can be ignored (unless it comes up more than
7673 #       once).  The initialization string contains the following commands:
7675 #        [Setup mode items changed from factory defaults:]
7676 #               \E)0                    set alternate character set to
7677 #                                               graphics
7678 #               ^O                      set character set to default
7679 #        [In case it wasn't]
7680 #               \E[m                    turn off all attributes
7681 #        [In case they weren't off]
7682 #               \E[=107;                cursor wrap and
7683 #                       207h                    character wrap on
7684 #               \E[90;3u                set Fkey definitions to "transmit"
7685 #                                               defaults
7686 #               \E[92;3u                set cursor key definitions to
7687 #                                               "transmit" defaults
7688 #               \E[43;1u                set shift F13 to transmit...
7689 #               \177\E$P\177
7690 #               \E[44;1u                set shift F14 to transmit...
7691 #                       \177\E$Q\177
7692 #               \E[45;1u                set shift F15 to transmit...
7693 #                       \177\E$R\177
7694 #               \E[46;1u                set shift F16 to transmit...
7695 #                       \177\E$S\177
7696 #               \E[200;1u               set shift up to transmit...
7697 #                       \177\E$A\177
7698 #               \E[201;1u               set shift down to transmit...
7699 #                       \177\E$B\177
7700 #               \E[202;1u               set shift right to transmit...
7701 #                       \177\E$C\177
7702 #               \E[203;1u               set shift left to transmit...
7703 #                       \177\E$D\177
7704 #               \E[204;1u               set shift home to transmit...
7705 #                       \177\E$H\177
7706 #               \E[212;1u               set backtab to transmit...
7707 #                       \177\E$I\177
7708 #               \E[213;1u               set shift backspace to transmit...
7709 #                       \177\E$^H\177
7710 #               \E[214;1u               set shift del to transmit...
7711 #                       "\E$\177"
7712 #        [Necessary items not mentioned in setup mode:]
7713 #               \E[2!w                  move to window 2
7714 #               \E[25;25w               define window as line 25 of memory
7715 #               \E[!w                   move to window 1
7716 #               \E[2*w                  show current line of window 2 as
7717 #                                               status line
7718 #               \E[2+x                  set meta key to use high bit
7719 #               \E[;3+}                 move underline to bottom of character
7721 #       All Fkeys are set to their default transmit definitions with \E[90;3u
7722 #       in is2=.  IMPORTANT:  to use this terminal definition, the "quit" stty
7723 #       setting MUST be redefined or deactivated, because the default is
7724 #       contained in almost all of this terminal's Fkey strings!  If for some
7725 #       reason "quit" cannot be altered, the Fkeys can, but it would be
7726 #       necessary to change ^| to ^] in all of these definitions, and add
7727 #       \E[2;029!t to is2.
7728 # lines: is set to 24 because this terminal refuses to treat the 25th
7729 #       line normally.
7730 # ll:   Not available in power on mode, but turned on with \E[=107;207h in
7731 #       is2=.
7732 # lm:   Pointless, given that this definition locks a single screen of
7733 #       memory into view, but what the hey...
7734 # rmso: Could use \E[1;7!{ to turn off only bold and reverse (leaving any
7735 #       other attributes alone), but some programs expect this to turn off
7736 #       everything.
7737 # rmul: Could use \E[4!{ to turn off only underline (leaving any other
7738 #       attributes alone), but some programs expect this to turn off
7739 #       everything.
7740 # sgr:  Attributes are set on this terminal with the string \E[ followed by
7741 #       a list of attribute code numbers (in decimal, separated by
7742 #       semicolons), followed by the character m.  The attribute code
7743 #       numbers are:
7744 #                 1 for bold;
7745 #                 2 for dim (which is ignored in power on mode);
7746 #                 4 for underline;
7747 #                 5 for blinking;
7748 #                 7 for inverse;
7749 #                 8 for not displayable; and
7750 #               =99 for protected (except that there are strange side
7751 #               effects to protected characters which make them inadvisable).
7752 #        The mapping of terminfo parameters to attributes is as follows:
7753 #               %p1 (standout) = bold and inverse together;
7754 #               %p2 (underline) = underline;
7755 #               %p3 (reverse) = inverse;
7756 #               %p4 (blink) = blinking;
7757 #               %p5 (dim) is ignored;
7758 #               %p6 (bold) = bold;
7759 #               %p7 (invisible) = not displayable;
7760 #               %p8 (protected) is ignored; and
7761 #               %p9 (alt char set) = alt char set.
7762 #        The code to do this is:
7763 #               \E[0            OUTPUT  \E[0
7764 #               %?%p1%p6%O      IF      (standout; bold) OR
7765 #               %t;1            THEN    OUTPUT  ;1
7766 #               %;              ENDIF
7767 #               %?%p2           IF      underline
7768 #               %t;4            THEN    OUTPUT  ;4
7769 #               %;              ENDIF
7770 #               %?%p4           IF      blink
7771 #               %t;5            THEN    OUTPUT  ;5
7772 #               %;              ENDIF
7773 #               %?%p1%p3%O      IF      (standout; reverse) OR
7774 #               %t;7            THEN    OUTPUT  ;7
7775 #               %;              ENDIF
7776 #               %?%p7           IF      invisible
7777 #               %t;8            THEN    OUTPUT  ;8
7778 #               %;              ENDIF
7779 #               m               OUTPUT  m
7780 #               %?%p9           IF      altcharset
7781 #               %t^N            THEN    OUTPUT  ^N
7782 #               %e^O            ELSE    OUTPUT  ^O
7783 #               %;              ENDIF
7784 # sgr0: Everything is turned off (including alternate character set), since
7785 #       there is no way of knowing what it is that the program wants turned
7786 #       off.
7787 # smul: The "underline" attribute is reconfigurable to an overline or
7788 #       strikethru, or (as done with \E[;3+} in is2=), to a line at the true
7789 #       bottom of the character cell.  This was done to allow for more readable
7790 #       underlined characters, and to be able to distinguish between an
7791 #       underlined space, an underscore, and an underlined underscore.
7792 # xenl: Terminal can be configured to not need this, but this "glitch"
7793 #       behavior is actually preferable with autowrap terminals.
7795 # Parameters kf31= thru kf53= actually contain the strings sent by the shifted
7796 # Fkeys.  There are no parameters for shifted Fkeys in terminfo.  The is2
7797 # string modifies the 'O' in kf43 to kf46 to a '$'.
7799 # kcbt was originally ^I but redefined in is2=.
7800 # kHOM was \E[H originally but redefined in is2=, as were a number of
7801 # other keys.
7802 # kDC was originally \177 but redefined in is2=.
7804 # kbs:  Shift was also ^H originally but redefined as \E$^H in is2=.
7805 # tsl:  Go to window 2, then do an hpa=.
7807 #------- flash=\E[8;3!}^G\E[3;3!}
7808 #------- flash=\E[?5h$<100>\E[?5l
7809 # There are two ways to flash the screen, both of which have their drawbacks. 
7810 # The first is to set the bell mode to video, transmit a bell character, and
7811 # set the bell mode back - but to what?  There is no way of knowing what the
7812 # user's old bell setting was before we messed with it.  Worse, the command to
7813 # set the bell mode also sets the key click volume, and there is no way to say
7814 # "leave that alone", or to know what it's set to, either.
7815 # The second way to do a flash is to set the screen to inverse video, pad for a
7816 # tenth of a second, and set it back - but like before, there's no way to know
7817 # that the screen wasn't ALREADY in inverse video, or that the user may prefer
7818 # it that way.  The point is moot anyway, since vi (and probably other
7819 # programs) assume that by defining flash=, you want the computer to use it
7820 # INSTEAD of bel=, rather than as a secondary type of signal.
7822 #------- cvvis=\E[+{
7823 # The is the power on setting, which is also as visible as the cursor
7824 # gets.
7825 #-------  wind=\E[%i%p1%d;%p2%d;%p3%{1}%+%d;%p4%{1}%+%dw
7826 # Windowing is possible, but not defined here because it is also used to
7827 # emulate status line functions.  Allowing a program to set a window could
7828 # clobber the status line or render it unusable.  There is additional memory,
7829 # but screen scroll functions are destructive and do not make use of it.
7831 #-------   dim=                 Not available in power on mode.
7832 # You have a choice of defining low intensity characters as "half bright" and
7833 # high intensity as "normal", or defining low as "normal" and high as "bold". 
7834 # No matter which you choose, only one of either "half bright" or "bold" is
7835 # available at any time, so taking the time to override the default is
7836 # pointless.
7838 #-------  prot=\E[=0;99m
7839 # Not defined, because it appears to have some strange side effects.
7840 #------- pfkey=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%du\177%p2%s\177%;
7841 #------- pfloc=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%du\177%p2%s\177%;
7842 #-------   pfx=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%d;1u\177%p2%s\177%;
7843 #        Available, but making them available to programs is inadvisable.
7844 #        The code to do this is:
7845 #               %?%p1%{24}%<    IF      ((key; 24) <;
7846 #               %p1%{30}%>               ((key; 30) >;
7847 #               %p1%{54}%<                (key; 54) <
7848 #               %A                       ) AND
7849 #               %O                      ) OR
7850 #        [that is, "IF key < 24 OR (key > 30 AND key < 54)",]
7851 #               %t\E[           THEN    OUTPUT  \E[
7852 #               %p1%d                   OUTPUT  (key) as decimal
7853 #        [next line applies to pfx only]
7854 #               ;1                      OUTPUT  ;1
7855 #               u                       OUTPUT  u
7856 #               \177                    OUTPUT  \177
7857 #               %p2%s                   OUTPUT  (string) as string
7858 #               \177                    OUTPUT  \177
7859 #        [DEL chosen as delimiter, but could be any character]
7860 #        [implied:              ELSE    do nothing]
7861 #               %;              ENDIF
7862 #       
7863 #-------   rs2=
7864 # Not defined since anything it might do could be done faster and easier with
7865 # either Meta-Shift-Reset or the main power switch.
7867 #-------  smkx=\E[1!z
7868 #-------  rmkx=\E[!z
7869 # These sequences apply to the cursor and setup keys only, not to the
7870 # numeric keypad.  But it doesn't matter anyway, since making these
7871 # available to programs is inadvisable.
7872 # For the key definitions below, all sequences beginning with \E$ are
7873 # custom and programmed into the terminal via is2.  \E$ also has no
7874 # meaning to any other terminal.
7876 #------- cmdch=\E[;%p1%d!t
7877 # Available, but making it available to programs is inadvisable.
7878 #------- smxon=\E[1*q
7879 # Available, but making it available to programs is inadvisable.
7880 # Terminal will send XON/XOFF on buffer overflow.
7881 #------- rmxon=\E[*q
7882 # Available, but making it available to programs is inadvisable.
7883 # Terminal will not notify on buffer overflow.
7884 #-------   smm=\E[2+x
7885 #-------   rmm=\E[+x
7886 # Available, but making them available to programs is inadvisable.
7888 # Printing:
7889 #        It's not made clear in the manuals, but based on other ansi/vt type
7890 #        terminals, it's a good guess that this terminal is capable of both
7891 #        "transparent print" (which doesn't copy data to the screen, and
7892 #        therefore needs mc5i: specified to say so) and "auxilliary print"
7893 #        (which does duplicate printed data on the screen, in which case mc4=
7894 #        and mc5= should use the \E[?4i and \E[?5i strings instead).
7896 # (esr: I have commented out is2 in order to avoid overflowing termcap's
7897 # 1024-byte limit.)
7899 # (untranslatable capabilities removed to fit entry within 1023 bytes)
7900 # (sgr removed to fit entry within 1023 bytes)
7901 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
7902 hds200|Human Designed Systems HDS200:\
7903         :am:bw:es:hs:km:mi:ms:xn:xo:\
7904         :co#80:it#8:li#24:lm#0:\
7905         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
7906         :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
7907         :bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
7908         :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[B:\
7909         :ds=\E[2\041w\r\n\E[\041w:ei=\E[4l:fs=\E[\041w:ho=\E[H:\
7910         :im=\E[4h:k1=^\001\r:k2=^\002\r:k3=^\003\r:k4=^\004\r:\
7911         :k5=^\005\r:k6=^\006\r:k7=^\007\r:k8=^\008\r:k9=^\009\r:\
7912         :kD=\177:kN=\E[U:kP=\E[V:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
7913         :kr=\E[C:ku=\E[A:le=\E[D:ll=\E[H\E[A:mb=\E[0;5m:\
7914         :md=\E[0;1m:me=\E[m\017:mr=\E[0;7m:nd=\E[C:nw=\E[E:rc=\E8:\
7915         :sc=\E7:se=\E[m\017:sf=\ED:so=\E[0;1;7m:sr=\EM:st=\EH:\
7916         :ta=^I:ts=\E[2\041w\E[%i%p1%dG:ue=\E[m\017:up=\E[A:\
7917         :us=\E[0;4m:ve=\E[+{:vi=\E[6+{:
7919 # :ta: through :ce: included to specify padding needed in raw mode.
7920 # (avt-ns: added empty <acsc> to suppress a tic warning --esr)
7921 # (untranslatable capabilities removed to fit entry within 1023 bytes)
7922 # (sgr removed to fit entry within 1023 bytes)
7923 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
7924 avt-ns|concept avt no status line:\
7925         :am:bs:eo:mi:ul:xn:xo:\
7926         :co#80:it#8:li#24:lm#192:\
7927         :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:\
7928         :RI=\E[%dC:UP=\E[%dA:ae=\016:al=\E[L:as=\017:bl=^G:bt=\E[Z:\
7929         :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
7930         :cs=\E[%i%d;%dr:ct=\E[2g:dc=\E[P:dl=\E[M:do=^J:ei=\E4l:\
7931         :ho=\E[H:i1=\E[=103l\E[=205l:ic=\E[@:im=\E1:ip=:\
7932         :is=\E[1*q\E[2\041t\E[7\041t\E[=4;101;119;122l\E[=107;118;207h\E)1\E[1Q\EW\E[\041y\E[\041z\E>\E[0\0720\07232\041r\E[0*w\E[w\E2\r\n\E[2;27\041t:\
7933         :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kD=\E^B\r:kI=\E^A\r:kb=^H:\
7934         :kd=\E[B:ke=\E[\041z\E[0;2u:kh=\E[H:kl=\E[D:kr=\E[C:\
7935         :ks=\E[1\041z\E[0;3u:ku=\E[A:le=^H:ll=\E[24H:mb=\E[5m:\
7936         :md=\E[1m:me=\E[m:mh=\E[1\041{:mr=\E[7m:nd=\E[C:rc=\E8:\
7937         :sc=\E7:se=\E[7\041{:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=\011:\
7938         :te=\E[w\E2\r\n:ti=\E[=4l\E[1;24w\E2\r:ue=\E[4\041{:\
7939         :up=\E[A:us=\E[4m:ve=\E[=119l:vs=\E[=119h:
7940 avt-rv-ns|concept avt in reverse video mode/no status line:\
7941         :i1=\E[=103l\E[=205h:vb=\E[=205l\E[=205h:\
7942         :tc=avt-ns:
7943 avt-w-ns|concept avt in 132 column mode/no status line:\
7944         :i1=\E[=103h\E[=205l:ti=\E[H\E[1;24;1;132w:\
7945         :tc=avt-ns:
7946 avt-w-rv-ns|concept avt in 132 column mode/no status line/reverse video:\
7947         :i1=\E[=103h\E[=205h:ti=\E[H\E[1;24;1;132w:\
7948         :vb=\E[=205l\E[=205h:tc=avt-ns:
7950 # Concept AVT with status line. We get the status line using the
7951 # "Background status line" feature of the terminal. We swipe the
7952 # first line of memory in window 2 for the status line, keeping
7953 # 191 lines of memory and 24 screen lines for regular use.
7954 # The first line is used instead of the last so that this works
7955 # on both 4 and 8 page AVTs. (Note the lm#191 or 192 - this
7956 # assumes an 8 page AVT but lm isn't currently used anywhere.)
7958 avt+s|concept avt status line changes:\
7959         :es:hs:\
7960         :lm#191:\
7961         :ds=\E[0*w:fs=\E[1;1\041w:\
7962         :i2=\E[2w\E[2\041w\E[1;1;1;80w\E[H\E[2*w\E[1\041w\E2\r\n:\
7963         :te=\E[2w\E2\r\n:ti=\E[2;25w\E2\r:\
7964         :ts=\E[2;1\041w\E[;%p1%dH\E[2K:
7965 avt|avt-s|concept-avt|avt w/80 columns:\
7966         :tc=avt+s:tc=avt-ns:
7967 avt-rv|avt-rv-s|avt reverse video w/sl:\
7968         :i1=\E[=103l\E[=205h:vb=\E[=205l\E[=205h:tc=avt+s:tc=avt-ns:
7969 avt-w|avt-w-s|concept avt 132 cols+status:\
7970         :i1=\E[=103h\E[=205l:ti=\E[H\E[1;24;1;132w:tc=avt+s:tc=avt-ns:
7971 avt-w-rv|avt-w-rv-s|avt wide+status+rv:\
7972         :i1=\E[=103h\E[=205h:ti=\E[H\E[1;24;1;132w:\
7973         :vb=\E[=205l\E[=205h:tc=avt+s:\
7974         :tc=avt-ns:
7976 #### Contel Business Systems. 
7979 # Contel c300 and c320 terminals. 
7980 contel300|contel320|c300|Contel Business Systems C-300 or C-320:\
7981         :am:in:xo:\
7982         :co#80:li#24:sg#1:\
7983         :al=\EL:bl=^G:cd=\EJ:ce=\EI:cl=\EK:cm=\EX%+ \EY%+ :cr=^M:\
7984         :ct=\E3:dc=\EO:dl=\EM:do=^J:ei=:ho=\EH:ic=\EN:im=:ip=:k0=\ERJ:\
7985         :k1=\ERA:k2=\ERB:k3=\ERC:k4=\ERD:k5=\ERE:k6=\ERF:k7=\ERG:\
7986         :k8=\ERH:k9=\ERI:kb=^H:le=^H:ll=\EH\EA:me=\E\041\0:nd=\EC:\
7987         :se=\E\041\0:sf=^J:so=\E\041\r:st=\E1:up=\EA:\
7988         :vb=\020\002\020\003:
7989 # Contel c301 and c321 terminals.
7990 contel301|contel321|c301|c321|Contel Business Systems C-301 or C-321:\
7991         :ei=:ic@:im=:ip@:se=\E\041\0:so=\E\041\r:vb@:\
7992         :tc=contel300:
7994 #### Data General (dg)
7996 # According to James Carlson <carlson@xylogics.com> writing in January 1995,
7997 # the terminals group at Data General was shut down in 1991; all these
7998 # terminals have thus been discontinued.
8000 # DG terminals have function keys that respond to the SHIFT and CTRL keys,
8001 # e.g., SHIFT-F1 generates a different code from F1.  To number the keys
8002 # sequentially, first the unmodified key codes are listed as F1 through F15. 
8003 # Then their SHIFT versions are listed as F16 through F30, their CTRL versions
8004 # are listed as F31 through F45, and their CTRL-SHIFT versions are listed as
8005 # F46 through F60.  This is done in the private "includes" below whose names
8006 # start with "dgkeys+".
8008 # DG terminals generally support 8 bit characters.  For each of these terminals
8009 # two descriptions are supplied:
8010 #       1) A default description for 8 bits/character communications, which
8011 #          uses the default DG international character set and keyboard codes.
8012 #       2) A description with suffix "-7b" for 7 bits/character communications.
8013 #          This description must use the NON-DEFAULT native keyboard language.
8015 # Unmodified fkeys (kf1-kf11), Shift fkeys (kf12-kf22), Ctrl fkeys (kf23-kf33),
8016 # Ctrl/Shift fdkeys (kf34-kf44).
8018 # Most of these entries are `official' and came from DG.  Others are marked.
8020 dgkeys+8b|Private entry describing DG terminal 8-bit ANSI mode special keys:\
8021         :%9=\233i:F1=\233011z:F2=\233012z:F3=\233013z:\
8022         :F4=\233014z:F5=\233000z:F6=\233101z:F7=\233102z:\
8023         :F8=\233103z:F9=\233104z:FA=\233105z:FB=\233106z:\
8024         :FC=\233107z:FD=\233108z:FE=\233109z:FF=\233110z:\
8025         :FG=\233111z:FH=\233112z:FI=\233113z:FJ=\233114z:\
8026         :FK=\233100z:FL=\233201z:FM=\233202z:FN=\233203z:\
8027         :FO=\233204z:FP=\233205z:FQ=\233206z:FR=\233207z:\
8028         :FS=\233208z:FT=\233209z:FU=\233210z:FV=\233211z:\
8029         :FW=\233212z:FX=\233213z:FY=\233214z:FZ=\233200z:\
8030         :Fa=\233301z:Fb=\233302z:Fc=\233303z:Fd=\233304z:\
8031         :Fe=\233305z:Ff=\233306z:Fg=\233307z:Fh=\233308z:\
8032         :Fi=\233309z:Fj=\233310z:Fk=\233311z:Fl=\233312z:\
8033         :Fm=\233313z:Fn=\233314z:Fo=\233300z:K1=\233020z:\
8034         :K3=\233021z:K4=\233022z:K5=\233023z:k1=\233001z:\
8035         :k2=\233002z:k3=\233003z:k4=\233004z:k5=\233005z:\
8036         :k6=\233006z:k7=\233007z:k8=\233008z:k9=\233009z:\
8037         :k;=\233010z:kC=\2332J:kE=\233K:kd=\233B:kh=\233H:\
8038         :kl=\233D:kr=\233C:ku=\233A:
8040 dgkeys+7b|Private entry describing DG terminal 7-bit ANSI mode special keys:\
8041         :%9=\E[i:F1=\E[011z:F2=\E[012z:F3=\E[013z:F4=\E[014z:\
8042         :F5=\E[000z:F6=\E[101z:F7=\E[102z:F8=\E[103z:F9=\E[104z:\
8043         :FA=\E[105z:FB=\E[106z:FC=\E[107z:FD=\E[108z:FE=\E[109z:\
8044         :FF=\E[110z:FG=\E[111z:FH=\E[112z:FI=\E[113z:FJ=\E[114z:\
8045         :FK=\E[100z:FL=\E[201z:FM=\E[202z:FN=\E[203z:FO=\E[204z:\
8046         :FP=\E[205z:FQ=\E[206z:FR=\E[207z:FS=\E[208z:FT=\E[209z:\
8047         :FU=\E[210z:FV=\E[211z:FW=\E[212z:FX=\E[213z:FY=\E[214z:\
8048         :FZ=\E[200z:Fa=\E[301z:Fb=\E[302z:Fc=\E[303z:Fd=\E[304z:\
8049         :Fe=\E[305z:Ff=\E[306z:Fg=\E[307z:Fh=\E[308z:Fi=\E[309z:\
8050         :Fj=\E[310z:Fk=\E[311z:Fl=\E[312z:Fm=\E[313z:Fn=\E[314z:\
8051         :Fo=\E[300z:K1=\E[020z:K3=\E[021z:K4=\E[022z:K5=\E[023z:\
8052         :k1=\E[001z:k2=\E[002z:k3=\E[003z:k4=\E[004z:k5=\E[005z:\
8053         :k6=\E[006z:k7=\E[007z:k8=\E[008z:k9=\E[009z:k;=\E[010z:\
8054         :kC=\E[2J:kE=\E[K:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:
8056 dgkeys+11|Private entry describing 11 minimal-subset DG mode special keys:\
8057         :F1=^^{:F2=^^a:F3=^^b:F4=^^c:F5=^^d:F6=^^e:F7=^^f:F8=^^g:\
8058         :F9=^^h:FA=^^i:FB=^^j:FC=^^k:FD=^^1:FE=^^2:FF=^^3:FG=^^4:\
8059         :FH=^^5:FI=^^6:FJ=^^7:FK=^^8:FL=^^9:FM=^^\072:FN=^^;:\
8060         :FO=^^\041:FP=^^":FQ=^^#:FR=^^$:FS=^^%:FT=^^&:FU=^^':FV=^^(:\
8061         :FW=^^):FX=^^*:FY=^^+:k1=^^q:k2=^^r:k3=^^s:k4=^^t:k5=^^u:\
8062         :k6=^^v:k7=^^w:k8=^^x:k9=^^y:k;=^^z:kC=^L:kE=^K:kd=^Z:kh=^H:\
8063         :kl=^Y:kr=^X:ku=^W:
8065 dgkeys+15|Private entry describing 15 DG mode special keys:\
8066         :#2=^^^H:#4=^^^Y:%i=^^^X:F1=^^{:F2=^^|:F3=^^}:F4=^^~:F5=^^p:\
8067         :F6=^^a:F7=^^b:F8=^^c:F9=^^d:FA=^^e:FB=^^f:FC=^^g:FD=^^h:\
8068         :FE=^^i:FF=^^j:FG=^^k:FH=^^l:FI=^^m:FJ=^^n:FK=^^`:FL=^^1:\
8069         :FM=^^2:FN=^^3:FO=^^4:FP=^^5:FQ=^^6:FR=^^7:FS=^^8:FT=^^9:\
8070         :FU=^^\072:FV=^^;:FW=^^<:FX=^^=:FY=^^>:FZ=^^0:Fa=^^\041:\
8071         :Fb=^^":Fc=^^#:Fd=^^$:Fe=^^%:Ff=^^&:Fg=^^':Fh=^^(:Fi=^^):\
8072         :Fj=^^*:Fk=^^+:Fl=^^\054:Fm=^^-:Fn=^^.:Fo=^^ :K1=^^\:K3=^^]:\
8073         :K4=^^\136:K5=^^_:k1=^^q:k2=^^r:k3=^^s:k4=^^t:k5=^^u:k6=^^v:\
8074         :k7=^^w:k8=^^x:k9=^^y:k;=^^z:
8076 # Data General color terminals use the "Tektronix" color model.  The total
8077 # number of colors varies with the terminal model, as does support for
8078 # attributes used in conjunction with color.
8080 # Removed u7, u8 definitions since they conflict with tack:
8081 #               Preserve user-defined colors in at least some cases.
8082 #       u7=^^Fh,
8083 #               Default is ACM mode.
8084 #       u8=^^F}20^^Fi^^F}21,
8086 dgunix+fixed|Fixed color info for DG D430C terminals in DG-UNIX mode:\
8087         :ut:\
8088         :Co#16:NC#53:pa#256:\
8089         :AB=\036B%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c:\
8090         :AF=\036A%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c:\
8091         :Sb=\036B%+0:Sf=\036A%+0:op=\036Ad\036Bd:
8093 dg+fixed|Fixed color info for DG D430C terminals in DG mode:\
8094         :tc=dgunix+fixed:
8096 # Video attributes are coordinated using static variables set by "sgr", then
8097 # checked by "op", "seta[bf]", and "set[bf]" to refresh the attribute settings. 
8098 # (D=dim, U=underline, B=blink, R=reverse.)
8099 dg+color8|Color info for Data General D220 and D230C terminals in ANSI mode:\
8100         :ut:\
8101         :Co#8:NC#16:pa#64:\
8102         :AB=\E[4%p1%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m:\
8103         :AF=\E[3%p1%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m:\
8104         :..Sb=\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:\
8105         :..Sf=\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:\
8106         :op=\E[%?%gD%t2;%;%?%gU%t4;%;%?%gB%t5;%;%?%gR%t7;%;m:
8108 dg+color|Color info for Data General D470C terminals in ANSI mode:\
8109         :Co#16:NC#53:pa#256:\
8110         :AB=\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:\
8111         :AF=\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:\
8112         :..Sb=\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:\
8113         :..Sf=\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:\
8114         :tc=dg+color8:
8116 dgmode+color8|Color info for Data General D220/D230C terminals in DG mode:\
8117         :ut:\
8118         :Co#8:NC#16:pa#64:\
8119         :AB=\036B%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%{48}%+%c:\
8120         :AF=\036A%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%{48}%+%c:\
8121         :Sb=\036B%+0:Sf=\036A%+0:op=\036Ad\036Bd:
8123 dgmode+color|Color info for Data General D470C terminals in DG mode:\
8124         :Co#16:pa#256:\
8125         :AB=\036B%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c:\
8126         :AF=\036A%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c:\
8127         :tc=dgmode+color8:
8129 dgunix+ccc|Configurable color info for DG D430C terminals in DG-UNIX mode:\
8130         :cc:ut:\
8131         :Co#52:NC#53:pa#26:\
8132         :..Ip=\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:\
8133         :oc=\036RG01A00FF00000000\036RG01B00000000FF00\036RG01C007F00000000\036RG01D000000007F00:\
8134         :op=\036RF4831A\036RF2E31B\036RF1D31C\036RF3F31D:\
8135         :..sp=\036RG2%p1%02X:
8137 # Colors are in the order:  normal, reverse, dim, dim + reverse.
8138 dg+ccc|Configurable color info for DG D430C terminals in DG mode:\
8139         :cc:ut:\
8140         :Co#52:NC#53:pa#26:\
8141         :..Ip=\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:\
8142         :oc=\036RG01\07200??00000000\036RG01;00000000??00\036RG01<007?00000000\036RG01=000000007?00:\
8143         :op=\036RF4831\072\036RF2>31;\036RF1=31<\036RF3?31=:\
8144         :sp=\036RG2%+^P%+^P:
8146 # The generic DG terminal type (an 8-bit-clean subset of the 6053)
8147 # Initialization string 1 sets:
8148 #       ^R              - vertical scrolling enabled
8149 #       ^C              - blinking enabled
8150 dg-generic|Generic Data General terminal in DG mode:\
8151         :NL:am:bw:ms:xo:\
8152         :co#80:li#24:\
8153         :bl=^G:ce=^K:cl=^L:cm=\020%r%.%.:cr=^M:do=^Z:i1=^R^C:le=^Y:\
8154         :mb=^N:me=^O^U^]:mh=^\:nd=^X:nw=^J:ps=^Q:se=^]:sf=^J:so=^\:\
8155         :ue=^U:up=^W:us=^T:\
8156         :tc=dgkeys+11:
8158 # (Some performance can be gained over the generic DG terminal type)
8159 dg6053|6053|6053-dg|dg605x|605x|605x-dg|d2|d2-dg|Data General DASHER 6053:\
8160         :xo@:\
8161         :ho=^P\0\0:ll=^P\0^W:tc=dg-generic:
8163 # Like 6053, but adds reverse video and more keypad and function keys.
8164 d200|d200-dg|Data General DASHER D200:\
8165         :ho@:ll@:md=^^D^T:me=\017\025\035\036E:mr=^^D:\
8166         :..sa=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;%?%p4%t\016%e\017%;%?%p1%p5%|%t\034%e\035%;:\
8167         :se=^^E^]:so=^^D^\:\
8168         :tc=dgkeys+15:tc=dg6053:
8170 # DASHER D210 series terminals in ANSI mode.
8171 #       Reverse video, no insert/delete character/line, 7 bits/character only.
8173 # Initialization string 1 sets:
8174 #       <0              - scrolling enabled
8175 #       <1              - blink enabled
8176 #       <4              - print characters regardless of attributes
8177 d210|d214|Data General DASHER D210 series:\
8178         :NL:am:bw:ms:xo:\
8179         :co#80:li#24:\
8180         :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bl=^G:cb=\E[1K:\
8181         :cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:cr=^M:do=\E[B:\
8182         :ho=\E[H:i1=\E[<0;<1;<4l:le=^H:ll=\E[H\E[A:mb=\E[5m:\
8183         :md=\E[4;7m:me=\E[m:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=^J:\
8184         :..sa=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m:\
8185         :se=\E[m:sf=^J:so=\E[2;7m:ue=\E[m:up=\E[A:us=\E[4m:\
8186         :tc=dgkeys+7b:
8188 # DASHER D210 series terminals in DG mode.
8189 # Like D200, but adds clear to end-of-screen and needs XON/XOFF.
8190 d210-dg|d214-dg|Data General DASHER D210 series in DG mode:\
8191         :xo:\
8192         :cd=^^FF:tc=d200:
8194 # DASHER D211 series terminals in ANSI mode.
8195 # Like the D210, but with 8-bit characters and local printer support.
8197 # Initialization string 2 sets:
8198 #       \E[2;1;1;1v
8199 #               2;1     - 8 bit operations
8200 #               1;1     - 8 bit (international) keyboard language
8201 #       \E(B            - default primary character set (U.S. ASCII)
8202 #       \E)4            - default secondary character set (international)
8203 #       ^O              - primary character set
8205 d211|d215|Data General DASHER D211 series:\
8206         :km:\
8207         :is=\E[2;1;1;1v\E(B\E)4\017:ps=\E[i:tc=dgkeys+8b:tc=d210:
8209 # Initialization string 2 sets:
8210 #       \E[2;0;1;0v
8211 #               2;0     - 7 bit operations
8212 #               1;0     - 7 bit (native) keyboard language
8213 #       \E(0            - default character set (the keyboard native language)
8214 #       ^O              - primary character set
8215 d211-7b|d215-7b|Data General DASHER D211 series in 7 bit mode:\
8216         :km@:\
8217         :is=\E[2;0;1;0v\E(0\017:tc=dgkeys+7b:tc=d211:
8219 # Like the D210 series, but adds support for 8-bit characters.
8221 # Reset string 2 sets:
8222 #       ^^N     - secondary character set
8223 #       ^^FS0>  - 8 bit international character set
8224 #       ^^O     - primary character set
8225 #       ^^FS00  - default character set (matching the native keyboard language)
8227 d211-dg|d215-dg|Data General DASHER D211 series in DG mode:\
8228         :km:\
8229         :r2=\036N\036FS0>\036O\036FS00:tc=d210-dg:
8231 d216-dg|d216e-dg|d216+dg|d216e+dg|d217-dg|Data General DASHER D216 series in DG mode:\
8232         :tc=d211-dg:
8234 # Enhanced DG mode with changes to be more UNIX compatible.
8235 d216-unix|d216e-unix|d216+|d216e+|Data General DASHER D216+ in DG-UNIX mode:\
8236         :5i:\
8237         :it#8:\
8238         :#2=^^Pf:#4=^^Pd:%9=^^P0:%f=^^P1:%i=^^Pc:\
8239         :ac=a\177j$k"l\041m#n)q+t'u&v(w%x*:ae=\036FS00:\
8240         :as=\036FS11:ce=^^PE:ch=\020%.\177:cl=^^PH:cv=\020\177%.:\
8241         :do=^^PB:ho=^^PF:i1=\022\003\036P@1:i2=\036Fz0:kC=^^PH:\
8242         :kE=^^PE:kd=^^PB:kh=^^PF:kl=^^PD:kr=^^PC:ku=^^PA:le=^^PD:\
8243         :mb=^^PI:me=\036PJ\025\035\036E\036FS00:nd=^^PC:pf=^^Fa:\
8244         :po=^^F`:ps=\036F?9:r2=\036N\036FS0E\036O\036FS00:\
8245         :..sa=\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%;:\
8246         :sf=^J:ta=^I:up=^^PA:\
8247         :tc=dgkeys+15:tc=d216-dg:
8248 d216-unix-25|d216+25|Data General DASHER D216+ in DG-UNIX mode with 25 lines:\
8249         :li#25:\
8250         :i2=\036Fz2:tc=d216+:
8252 d217-unix|Data General DASHER D217 in DG-UNIX mode:\
8253         :tc=d216-unix:
8254 d217-unix-25|Data General DASHER D217 in DG-UNIX mode with 25 lines:\
8255         :tc=d216-unix-25:
8257 # DASHER D220 color terminal in ANSI mode.
8258 # Like the D470C but with fewer colors and screen editing features.
8260 # Initialization string 1 sets:
8261 #       \E[<0;<1;<4l
8262 #               <0      - scrolling enabled
8263 #               <1      - blink enabled
8264 #               <4      - print characters regardless of attributes
8265 #       \E[m            - all attributes off
8266 # Reset string 1 sets:
8267 #       \Ec             - initial mode defaults (RIS)
8269 d220|Data General DASHER D220:\
8270         :5i@:\
8271         :AL@:DL@:al@:dl@:i1=\E[<0;<1;<4l\E[m:pf@:po@:r1=\Ec:tc=dg+color8:tc=d470c:
8273 d220-7b|Data General DASHER D220 in 7 bit mode:\
8274         :5i@:\
8275         :AL@:DL@:al@:dl@:i1=\E[<0;<1;<4l\E[m:pf@:po@:r1=\Ec:tc=dg+color8:tc=d470c-7b:
8277 # Initialization string 3 sets:
8278 #       - default cursor (solid rectangle)
8279 # Reset string 2 sets:
8280 #       ^^N     - secondary character set
8281 #       ^^FS0>  - 8 bit international character set
8282 #       ^^O     - primary character set
8283 #       ^^FS00  - default character set (matching the native keyboard language)
8285 d220-dg|Data General DASHER D220 color terminal in DG mode:\
8286         :5i@:\
8287         :al@:dl@:ho@:i2=\036FQ2:is@:ll@:pf@:po@:r1@:\
8288         :r2=\036N\036FS0>\036O\036FS00:tc=dgmode+color8:\
8289         :tc=d470c-dg:
8291 # DASHER D230C color terminal in ANSI mode.
8292 # Like the D220 but with minor ANSI compatibility improvements.
8294 d230c|d230|Data General DASHER D230C:\
8295         :ke=\E[2;1v:ks=\E[2;0v:mb=\E[5;50m:md=\E[4;7;50m:\
8296         :me=\E[50m\E)4\017:mh=\E[2;50m:mr=\E[7;50m:nw=^M^J:\
8297         :..sa=\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%;:\
8298         :se=\E[50m:so=\E[2;7;50m:ue=\E[50m:us=\E[4;50m:\
8299         :tc=dgkeys+7b:tc=d220:
8301 d230c-dg|d230-dg|Data General DASHER D230C in DG mode:\
8302         :tc=d220-dg:
8304 # DASHER D400/D450 series terminals.
8305 # These add intelligent features like insert/delete to the D200 series.
8307 # Initialization string 2 sets:
8308 #       ^^FQ2           - default cursor (solid rectangle)
8309 #       ^^FW            - character protection disabled
8310 #       ^^FJ            - normal (80 column) mode
8311 #       ^^F\^           - horizontal scrolling enabled (for alignment)
8312 #       ^^FX004?        - margins at columns 0 and 79
8313 #       ^^F]            - horizontal scrolling disabled
8314 #       ^^O             - primary character set
8315 #       ^^FS00          - default character set (the keyboard native language)
8316 #       - (should reset scrolling regions, but that glitches the screen)
8317 # Reset string 1 sets:
8318 #       ^^FA            - all terminal defaults except scroll rate
8319 # Reset string 2 sets:
8320 #       ^^F]            - horizontal scrolling disabled
8321 #       ^^FT0           - jump scrolling
8323 d400|d400-dg|d450|d450-dg|Data General DASHER D400/D450 series:\
8324         :5i:\
8325         :ac=j$k"l\041m#n)q+t'u&v(w%x*:ae=^^O:al=^^FH:as=^^N:\
8326         :ch=\020%.\177:cv=\020\177%.:dc=^^K:dl=^^FI:\
8327         :eA=\036N\036FS11\036O:ei=:ho=^^FG:ic=^^J:im=:\
8328         :is=\036FQ2\036FW\036FJ\036F\136\036FX004?\036F]\036O\036FS00:\
8329         :ll=\036FG\027:me=\017\025\035\036E\036O:pf=^^Fa:\
8330         :po=^^F`:r1=^^FA:r2=\036F]\036FT0:\
8331         :..sa=\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%;:\
8332         :sr=^^I:ve=\036FQ2:vi=\036FQ0:\
8333         :tc=d210-dg:
8335 # DASHER D410/D460 series terminals in ANSI mode.
8336 # These add a large number of intelligent terminal features.
8338 # Initialization string 1 sets:
8339 #       \E[<0;<1;<2;<4l
8340 #               <0      - scrolling enabled
8341 #               <1      - blink enabled
8342 #               <2      - horizontal scrolling enabled (for alignment)
8343 #               <4      - print characters regardless of attributes
8344 #       \E[5;0v         - normal (80 column) mode
8345 #       \E[1;1;80w      - margins at columns 1 and 80
8346 #       \E[1;6;<2h
8347 #               1       - print all characters even if protected
8348 #               6       - character protection disabled
8349 #               <2      - horizontal scrolling disabled
8350 #       - (should reset scrolling regions, but that glitches the screen)
8352 # Initialization string 2 sets:
8353 #       \E[3;2;2;1;1;1v
8354 #               3;2     - default cursor (solid rectangle)
8355 #               2;1     - 8 bit operations
8356 #               1;1     - international keyboard language
8357 #       \E(B            - default primary character set (U.S. ASCII)
8358 #       \E)4            - default secondary character set (international)
8359 #       ^O              - primary character set
8361 #       Reset string 1 sets:
8362 #       \Ec             - initial mode defaults (RIS)
8363 #       \E[<2h          - horizontal scrolling disabled
8365 # Reset string 2 sets:
8366 #       \E[4;0;2;1;1;1v
8367 #               4;0     - jump scrolling
8368 #               2;1     - 8 bit operations
8369 #               1;1     - 8 bit (international) keyboard language
8370 #       \E(B            - default primary character set (U.S. ASCII)
8371 #       \E)4            - default secondary character set (international)
8373 d410|d411|d460|d461|Data General DASHER D410/D460 series:\
8374         :5i:\
8375         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:\
8376         :ac=j$k"l\041m#n)q+t'u&v(w%x*:ae=\E)4\017:al=\E[L:\
8377         :as=\E)6\016:dc=\E[P:dl=\E[M:ei=:\
8378         :i1=\E[<0;<1;<2;<4l\E[5;0v\E[1;1;80w\E[1;6;<2h:\
8379         :ic=\E[@:im=:is=\E[3;2;2;1;1;1v\E(B\E)4\017:\
8380         :me=\E[m\E)4\017:pf=\E[4i:po=\E[5i:r1=\Ec\E[<2h:\
8381         :r2=\E[4;0;2;1;1;1v\E(B\E)4:\
8382         :..sa=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m\E)%?%p9%t6\016%e4\017%;:\
8383         :sr=\EM:ve=\E[3;2v:vi=\E[3;0v:\
8384         :tc=d211:
8386 # Initialization string 2 sets:
8387 #       \E[3;2;2;0;1;0v
8388 #               3;2     - default cursor (solid rectangle)
8389 #               2;0     - 7 bit operations
8390 #               1;0     - 7 bit (native) keyboard language
8391 #       \E(0            - default character set (the keyboard native language)
8392 #       ^O              - primary character set
8394 # Reset string 2 sets:
8395 #       \E[4;0;2;0;1;0v
8396 #               4;0     - jump scrolling
8397 #               2;0     - 7 bit operations
8398 #               1;0     - 7 bit (native) keyboard language
8399 #       \E(0            - default character set (the keyboard native language)
8401 d410-7b|d411-7b|d460-7b|d461-7b|Data General DASHER D410/D460 series in 7 bit mode:\
8402         :km@:\
8403         :ae=^O:as=^N:eA=\E)6:is=\E[3;2;2;0;1;0v\E(0\017:\
8404         :me=\E[m\017:r2=\E[4;0;2;0;1;0v\E(0:\
8405         :..sa=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m%?%p9%t\016%e\017%;:tc=dgkeys+7b:\
8406         :tc=d410:
8408 d410-dg|d460-dg|d411-dg|d461-dg|Data General DASHER D410/D460 series in DG mode:\
8409         :km:\
8410         :ae=\036FS00:as=\036FS11:eA@:\
8411         :me=\017\025\035\036E\036FS00:\
8412         :..sa=\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%;:tc=d400-dg:
8414 # DASHER D410/D460 series terminals in wide (126 columns) ANSI mode.
8416 # Initialization string 1 sets:
8417 #       \E[<0;<1;<2;<4l
8418 #               <0      - scrolling enabled
8419 #               <1      - blink enabled
8420 #               <2      - horizontal scrolling enabled (for alignment)
8421 #               <4      - print characters regardless of attributes
8422 #       \E[5;1v         - compressed (135 column) mode
8423 #       \E[1;1;126      - margins at columns 1 and 126
8424 #       \E[1;6;<2h
8425 #               1       - print all characters even if protected
8426 #               6       - character protection disabled
8427 #               <2      - horizontal scrolling disabled
8428 #       - (should reset scrolling regions, but that glitches the screen)
8430 # Reset string 1 sets:
8431 #       \Ec             - initial mode defaults (RIS)
8432 #       \E[5;1v         - compressed (135 column) mode
8433 #       \E[1;1;126w     - margins at columns 1 and 126
8434 #       \E[<2h          - horizontal scrolling disabled
8436 d410-w|d411-w|d460-w|d461-w|Data General DASHER D410/D460 series in wide mode:\
8437         :co#126:\
8438         :i1=\E[<0;<1;<2;<4l\E[5;1v\E[1;1;126w\E[1;6;<2h:\
8439         :r1=\Ec\E[5;1v\E[1;1;126w\E[<2h:\
8440         :tc=d410:
8442 d410-7b-w|d411-7b-w|d460-7b-w|d461-7b-w|Data General DASHER D410/D460 series in wide 7 bit mode:\
8443         :co#126:\
8444         :i1=\E[<0;<1;<2;<4l\E[5;1v\E[1;1;126w\E[1;6;<2h:\
8445         :r1=\Ec\E[5;1v\E[1;1;126w\E[<2h:\
8446         :tc=d410-7b:
8448 d412-dg|d462-dg|d462e-dg|d412+dg|d462+dg|d413-dg|d463-dg|Data General DASHER D412/D462 series in DG mode:\
8449         :tc=d410-dg:
8451 # These add intelligent features like scrolling regions.
8452 d412-unix|d462-unix|d412+|d462+|Data General DASHER D412+/D462+ series in Unix mode:\
8453         :al=^^FH:ch=\036FP%2.2XFF:cl=^^FE:cm=\036FP%r%2.2X%2.2X:\
8454         :cv=\036FPFF%2.2X:dc=^^K:dl=^^FI:ei=:ho=^^FG:ic=^^J:im=:\
8455         :is=\036FQ5\036FW\036FJ\036F\136\036FX004F\036O\036FS00:\
8456         :ll=\036FG\036PA:ps=^A:r1=\036FA\036FT0:r2=\036P@1:\
8457         :rc=\036F}11:sc=\036F}10:sr=^^I:ve=\036FQ5:vi=\036FQ0:\
8458         :..wi=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2%>%t000%;\036FX%p3%2.2X%p4%2.2X:\
8459         :tc=d216+:
8460 d412-unix-w|d462-unix-w|d412+w|d462+w|Data General DASHER D412+/D462+ series in wide Unix mode:\
8461         :co#132:\
8462         :is=\036FQ5\036FW\036FK\036F\136\036FX0083\036O\036FS00:\
8463         :r2=\036P@1\036FK\036FX0083:\
8464         :..wi=\036FB%?%p1%t%p1%2.2X1%;%p2%p1%-%{1}%+%2.2X1%?%{23}%p2%>%t001%;\036FX%p3%2.2X%p4%2.2X:tc=d412-unix:
8465 d412-unix-25|d462-unix-25|d412+25|d462+25|Data General DASHER D412+/D462+ series in Unix mode with 25 lines:\
8466         :li#25:\
8467         :i2=\036Fz2:\
8468         :..wi=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{24}%p2%>%t000%;\036FX%p3%2.2X%p4%2.2X:tc=d462+:
8469 d412-unix-s|d462-unix-s|d412+s|d462+s|Data General DASHER D412+/D462+ in Unix mode with status line:\
8470         :es:hs:\
8471         :cl=\036FG\036PH:fs=\036F}01\022:\
8472         :i2=\036Fz2\036F}00\036FB180000\036F}01:ll@:\
8473         :ts=\036F}00\036FP%p1%2.2X18\036PG:\
8474         :..wi=\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:tc=d462+:
8476 #       Relative cursor motions are confined to the current window,
8477 #       which is not what the scrolling region specification expects.
8478 #       Thus, relative vertical cursor positioning must be deleted.
8479 d412-unix-sr|d462-unix-sr|d412+sr|d462+sr|Data General DASHER D412+/D462+ in Unix mode with scrolling region:\
8480         :..cs=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2%>%t000%;:\
8481         :do@:ll@:up@:\
8482         :tc=d462+:
8484 d413-unix|d463-unix|Data General DASHER D413/D463 series in DG-UNIX mode:\
8485         :tc=d412-unix:
8486 d413-unix-w|d463-unix-w|Data General DASHER D413/D463 series in wide DG-UNIX mode:\
8487         :tc=d412-unix-w:
8488 d413-unix-25|d463-unix-25|Data General DASHER D413/D463 series in DG-UNIX mode with 25 lines:\
8489         :tc=d412-unix-25:
8490 d413-unix-s|d463-unix-s|Data General DASHER D413/D463 in DG-UNIX mode with status line:\
8491         :tc=d412-unix-s:
8492 d413-unix-sr|d463-unix-sr|Data General DASHER D413/D463 in DG-UNIX mode with scrolling region:\
8493         :tc=d412-unix-sr:
8495 d414-unix|d464-unix|Data General D414/D464 in DG-UNIX mode:\
8496         :tc=d413-unix:
8497 d414-unix-w|d464-unix-w|Data General D414/D464 in wide DG-UNIX mode:\
8498         :tc=d413-unix-w:
8499 d414-unix-25|d464-unix-25|Data General D414/D464 in DG-UNIX mode with 25 lines:\
8500         :tc=d413-unix-25:
8501 d414-unix-s|d464-unix-s|Data General D414/D464 in DG-UNIX mode with status line:\
8502         :tc=d413-unix-s:
8503 d414-unix-sr|d464-unix-sr|Data General D414/D464 in DG-UNIX mode with scrolling region:\
8504         :tc=d413-unix-sr:
8506 d430c-dg|d430-dg|Data General D430C in DG mode:\
8507         :tc=d413-dg:tc=dg+fixed:
8508 d430c-dg-ccc|d430-dg-ccc|Data General D430C in DG mode with configurable colors:\
8509         :tc=d413-dg:tc=dg+ccc:
8511 d430c-unix|d430-unix|Data General D430C in DG-UNIX mode:\
8512         :tc=d413-unix:tc=dgunix+fixed:
8513 d430c-unix-w|d430-unix-w|Data General D430C in wide DG-UNIX mode:\
8514         :tc=d413-unix-w:tc=dgunix+fixed:
8515 d430c-unix-25|d430-unix-25|Data General D430C in DG-UNIX mode with 25 lines:\
8516         :tc=d413-unix-25:tc=dgunix+fixed:
8517 d430c-unix-s|d430-unix-s|Data General D430C in DG-UNIX mode with status line:\
8518         :tc=d413-unix-s:tc=dgunix+fixed:
8519 d430c-unix-sr|d430-unix-sr|Data General D430C in DG-UNIX mode with scrolling region:\
8520         :tc=d413-unix-sr:tc=dgunix+fixed:
8521 d430c-unix-ccc|d430-unix-ccc|Data General D430C in DG-UNIX mode with configurable colors:\
8522         :tc=d413-unix:tc=dgunix+ccc:
8523 d430c-unix-w-ccc|d430-unix-w-ccc|Data General D430C in wide DG-UNIX mode with configurable colors:\
8524         :tc=d413-unix-w:tc=dgunix+ccc:
8525 d430c-unix-25-ccc|d430-unix-25-ccc|Data General D430C in DG-UNIX mode with 25 lines and configurable colors:\
8526         :tc=d413-unix-25:tc=dgunix+ccc:
8527 d430c-unix-s-ccc|d430-unix-s-ccc|Data General D430C in DG-UNIX mode with status line and configurable colors:\
8528         :tc=d413-unix-s:tc=dgunix+ccc:
8529 d430c-unix-sr-ccc|d430-unix-sr-ccc|Data General D430C in DG-UNIX mode with scrolling region and configurable colors:\
8530         :tc=d413-unix-sr:tc=dgunix+ccc:
8532 # dg450 from Cornell (not official)
8533 dg450|dg6134|data general 6134:\
8534         :le@:nd=^X:tc=dg200:
8536 # Not official...
8537 # Note: lesser Dasher terminals will not work with vi because vi insists upon
8538 # having a command to move straight down from any position on the bottom line
8539 # and scroll the screen up, or a direct vertical scroll command.  The 460 and
8540 # above have both, the D210/211, for instance, has neither.  We must use ANSI
8541 # mode rather than DG mode because standard UNIX tty drivers assume that ^H is
8542 # backspace on all terminals.  This is not so in DG mode.
8543 # (dg460-ansi: removed obsolete ":kn#6:"; also removed ":mu=\EW:", on the
8544 # grounds that there is no matching ":ml:"
8545 # fixed garbled ":k9=\E[00\:z:" capability -- esr)
8546 dg460-ansi|Data General Dasher 460 in ANSI-mode:\
8547         :am:bs:ms:ul:\
8548         :co#80:it#8:li#24:\
8549         :al=\E[L:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%2;%2H:dc=\E[P:\
8550         :dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:is=^^F@:k0=\E[001z:\
8551         :k1=\E[002z:k2=\E[003z:k3=\E[004z:k4=\E[005z:k5=\E[006z:\
8552         :k6=\E[007z:k7=\E[008z:k8=\E[009z:k9=\E[010z:kb=\E[D:\
8553         :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:l0=f1:l1=f2:l2=f3:\
8554         :l3=f4:l4=f5:l5=f6:l6=f7:l7=f8:l9=f10:le=^H:mb=\E[5m:me=\E[m:\
8555         :mh=\E[2m:mr=\E[7m:nd=\E[C:nl=\ED:se=\E[m:sf=\E[S:so=\E[7m:\
8556         :sr=\E[T:ta=^I:ue=\E[05:up=\E[A:us=\E[4m:
8558 # DASHER D470C color terminal in ANSI mode.
8559 # Like the D460 but with 16 colors and without a compressed mode.
8561 # Initialization string 1 sets:
8562 #       \E[<0;<1;<2;<4l
8563 #               <0      - scrolling enabled
8564 #               <1      - blink enabled
8565 #               <2      - horizontal scrolling enabled (for alignment)
8566 #               <4      - print characters regardless of attributes
8567 #       \E[1;1;80w      - margins at columns 1 and 80
8568 #       \E[1;6;<2h
8569 #               1       - print all characters even if protected
8570 #               6       - character protection disabled
8571 #               <2      - horizontal scrolling disabled
8572 #       - (should reset scrolling regions, but that glitches the screen)
8574 d470c|d470|Data General DASHER D470C:\
8575         :i1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h:\
8576         :..sa=\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%;:tc=dg+color:\
8577         :tc=d460:
8579 d470c-7b|d470-7b|Data General DASHER D470C in 7 bit mode:\
8580         :i1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h:\
8581         :..sa=\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%;:tc=dg+color:\
8582         :tc=d460-7b:
8584 # Initialization string 2 sets:
8585 #       ^^FQ2           - default cursor (solid rectangle)
8586 #       ^^FW            - character protection disabled
8587 #       ^^F\^           - horizontal scrolling enabled (for alignment)
8588 #       ^^FX004?        - margins at columns 0 and 79
8589 #       ^^F]            - horizontal scrolling disabled
8590 #       ^^O             - primary character set
8591 #       ^^FS00          - default character set (the keyboard native language)
8592 #       - (should reset scrolling regions, but that glitches the screen)
8594 d470c-dg|d470-dg|Data General DASHER D470C in DG mode:\
8595         :is=\036FQ2\036FW\036F\136\036FX004?\036F]\036O\036FS00:\
8596         :tc=dgmode+color:tc=d460-dg:
8598 # DASHER D555 terminal in ANSI mode.
8599 # Like a D411, but has an integrated phone.
8600 d555|Data General DASHER D555:\
8601         :tc=d411:
8602 d555-7b|Data General DASHER D555 in 7-bit mode:\
8603         :tc=d411-7b:
8604 d555-w|Data General DASHER D555 in wide mode:\
8605         :tc=d411-w:
8606 d555-7b-w|Data General DASHER D555 in wide 7-bit mode:\
8607         :tc=d411-7b-w:
8608 d555-dg|Data General DASHER D555 series in DG mode:\
8609         :tc=d411-dg:
8611 # DASHER D577 terminal in ANSI mode.
8612 # Like a D411, but acts as a keyboard for serial printers ("KSR" modes).
8613 d577|Data General DASHER D577:\
8614         :tc=d411:
8615 d577-7b|Data General DASHER D577 in 7-bit mode:\
8616         :tc=d411-7b:
8617 d577-w|Data General DASHER D577 in wide mode:\
8618         :tc=d411-w:
8619 d577-7b-w|Data General DASHER D577 in wide 7-bit mode:\
8620         :tc=d411-7b-w:
8622 d577-dg|d578-dg|Data General DASHER D577/D578 series in DG mode:\
8623         :tc=d411-dg:
8625 # DASHER D578 terminal.
8626 # Like a D577, but without compressed mode; like a D470C in this respect.
8628 # Initialization string 1 sets:
8629 #       \E[<0;<1;<2;<4l
8630 #               <0      - scrolling enabled
8631 #               <1      - blink enabled
8632 #               <2      - horizontal scrolling enabled (for alignment)
8633 #               <4      - print characters regardless of attributes
8634 #       \E[1;1;80w      - margins at columns 1 and 80
8635 #       \E[1;6;<2h
8636 #               1       - print all characters even if protected
8637 #               6       - character protection disabled
8638 #               <2      - horizontal scrolling disabled
8639 #       - (should reset scrolling regions, but that glitches the screen)
8641 d578|Data General DASHER D578:\
8642         :i1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h:tc=d577:
8643 d578-7b|Data General DASHER D578 in 7-bit mode:\
8644         :i1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h:tc=d577-7b:
8646 # Here are some older Dasher entries from the Berkeley termcap file.
8648 # According to the 4.4BSD termcap file, the dg200 :cm: should be the
8649 # termcap equivalent of \020%p2%{128}%+%c%p1%{128}%+%c (in termcap
8650 # notation that's "^P%r%+\200%+\200").  Those \200s are suspicious,
8651 # maybe they were originally nuls (which would fit).
8652 dg200|data general dasher 200:\
8653         :NL:am:bs:bw:\
8654         :co#80:li#24:\
8655         :bl=^G:ce=^K:cl=^L:cm=\020%r%.%.:cr=^M:do=^Z:ho=^H:k0=^^z:\
8656         :k1=^^q:k2=^^r:k3=^^s:k4=^^t:k5=^^u:k6=^^v:k7=^^w:k8=^^x:\
8657         :k9=^^y:kd=^Z:kh=^H:kl=^Y:kr=^X:ku=^W:l0=f10:le=^Y:nd=^X:\
8658         :nw=^J:se=^^E:sf=^J:so=^^D:ue=^U:up=^W:us=^T:
8659 # Data General 210/211 (and 410?)       from Lee Pearson (umich!lp) via BRL
8660 dg210|dg-ansi|Data General 210/211:\
8661         :am:\
8662         :co#80:li#24:\
8663         :cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:do=\E[B:ho=\E[H:\
8664         :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:nl=\E[B:\
8665         :nw=\r\E[H\E[A\n:se=\E[0;m:so=\E[7;m:ue=\E[0;m:up=\E[A:\
8666         :us=\E[4;m:
8667 # From: Peter N. Wan <ihnp4!gatech!gacsr!wan>
8668 # courtesy of Carlos Rucalde of Vantage Software, Inc.
8669 # (dg211: this had :cm=\020%r%.%:., which was an ancient termcap hangover.
8670 # I suspect the d200 function keys actually work on the dg211, check it out.)
8671 dg211|Data General d211:\
8672         :k0@:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:k9@:kb=^Y:l0@:nw=^M^Z:\
8673         :se=\036E\0/>:sf@:so=5\036D:ta=^I:te=^L:ti=^L^R:ve=^L:\
8674         :vs=^L^R:\
8675         :tc=dg200:
8677 # From: Wayne Throop <mcnc!rti-sel!rtp47!throopw> (not official)
8678 # Data General 605x     
8679 # Ought to work for a Model 6242, Type D210 as well as a 605x.
8680 # Note that the cursor-down key transmits ^Z.  Job control users, beware!
8681 # This also matches a posted description of something called a `Dasher 100'
8682 # so there's a dg100 alias here. 
8683 # (dg6053: the 4.4BSD file had :le=^H:, :do=^J:, :nd=^S:. -- esr) 
8684 dg6053-old|dg100|data general 6053:\
8685         :am:bs:bw:ul:\
8686         :co#80:li#24:\
8687         :bc=^Y:bl=^G:ce=^K:cl=^L:cm=\020%r%.%.:cr=^M:do=^Z:ho=^H:\
8688         :is=^R:k0=^^q:k1=^^r:k2=^^s:k3=^^t:k4=^^u:k5=^^v:k6=^^w:\
8689         :k7=^^x:k8=^^y:k9=^^z:kb=^Y:kd=^Z:kh=^H:kl=^Y:kr=^X:ku=^W:\
8690         :le=^Y:nd=^X:se=\0^^E:so=\0\0\0\0\0\036D:ta=^I:te=^L:\
8691         :ti=^L^R:ue=^U:up=^W:us=^T:ve=^L:vs=^L^R:
8693 #### Datamedia (dm)
8695 # Datamedia was headquartered in Nashua, New Hampshire until it went 
8696 # out of business in 1993, but the ID plates on the terminals referred
8697 # to the factory in Pennsauken, NJ.  The factory was sold to a PCB board
8698 # manufacturer which threw out all information about the terminals.
8701 cs10|colorscan|Datamedia Color Scan 10:\
8702         :ms:\
8703         :co#80:li#24:\
8704         :bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%02;%02H:cr=^M:\
8705         :do=^J:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kd=\E[B:kl=\E[D:\
8706         :kr=\E[C:ku=\E[A:le=^H:me=\E[m:nd=\E[C:se=\E[m:sf=^J:\
8707         :so=\E[7m:ue=\E[m:up=\E[A:us=\E[4m:
8708 cs10-w|Datamedia Color Scan 10 with 132 columns:\
8709         :co#132:\
8710         :cm=\E[%i%02;%03H:tc=cs10:
8712 # (dm1520: removed obsolete ":ma=^\ ^_^P^YH:" -- esr)
8713 dm1520|dm1521|datamedia 1520:\
8714         :am:bs:xn:\
8715         :co#80:it#8:li#24:\
8716         :bl=^G:cd=^K:ce=^]:cl=^L:cm=\036%r%+ %+ :cr=^M:do=^J:ho=^Y:\
8717         :kd=^J:kh=^Y:kl=^H:kr=^\:ku=^_:le=^H:nd=^\:sf=^J:ta=^I:up=^_:
8718 # dm2500: this terminal has both :IC: and :im:. Applications using 
8719 # termcap/terminfo directly (rather than through ncurses) might be confused.
8720 dm2500|datamedia2500|datamedia 2500:\
8721         :bs:nc:\
8722         :co#80:li#24:\
8723         :al=\020\n\030\035\030\035:bl=^G:ce=^W:cl=^^^^\177:\
8724         :cm=\014%r%n%.%.:dc=\020\010\030\035:\
8725         :dl=\020\032\030\035:dm=^P:do=^J:ed=^X^]:\
8726         :ei=\377\377\030\035:ho=^B:ic=\020\034\030\035:im=^P:\
8727         :le=^H:nd=^\:pc=\377:se=^X^]:sf=^J:so=^N:up=^Z:
8728 # dmchat is like DM2500, but DOES need "all that padding" (jcm 1/31/82)
8729 # also, has a meta-key.
8730 # From: <goldberger@su-csli.arpa>
8731 # (dmchat: ":MT:" changed to ":km:" -- esr)
8732 dmchat|dmchat version of datamedia 2500:\
8733         :km:\
8734         :al=1*\020\n\030\035\030\035:dl=2\020\032\030\035:tc=dm2500:
8735 # (dm3025: ":MT:" changed to ":km:" -- esr)
8736 dm3025|datamedia 3025a:\
8737         :bs:km:\
8738         :co#80:it#8:li#24:\
8739         :al=\EP\n\EQ:bl=^G:cd=\EJ:ce=\EK:cl=\EM:cm=\EY%r%+ %+ :\
8740         :cr=^M:dc=\010:dl=\EP\EA\EQ:dm=\EP:do=^J:ed=\EQ:ei=\EQ:\
8741         :ho=\EH:im=\EP:ip=:is=\EQ\EU\EV:le=^H:nd=\EC:se=\EO0:sf=^J:\
8742         :so=\EO1:ta=^I:up=\EA:
8743 dm3045|datamedia 3045a:\
8744         :am:bs:eo:km@:ul:xn:\
8745         :al@:dc=\EB:dl@:dm@:ed@:ei=\EP:is=\EU\EV:k0=\Ey\r:k1=\Ep\r:\
8746         :k2=\Eq\r:k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:k7=\Ev\r:\
8747         :k8=\Ew\r:k9=\Ex\r:kh=\EH:kr=\EC:ku=\EA:pc=\177:se@:so@:\
8748         :tc=dm3025:
8749 # Datamedia DT80 soft switches:
8750 # 1     0=Jump  1=Smooth
8751 #       Autorepeat      0=off  1=on
8752 #       Screen          0=Dark 1=light
8753 #       Cursor          0=u/l  1=block
8755 # 2     Margin Bell     0=off  1=on
8756 #       Keyclick        0=off  1=on
8757 #       Ansi/VT52       0=VT52 1=Ansi
8758 #       Xon/Xoff        0=Off  1=On
8760 # 3     Shift3          0=Hash 1=UK Pound
8761 #       Wrap            0=Off  1=On
8762 #       Newline         0=Off  1=On
8763 #       Interlace       0=Off  1=On
8764 #       
8765 # 4     Parity          0=Odd  1=Even
8766 #       Parity          0=Off  1=On
8767 #       Bits/Char       0=7    1=8
8768 #       Power           0=60Hz 1=50Hz
8770 # 5     Line Interface  0=EIA  1=Loop
8771 #       Aux Interface   0=EIA  1=Loop
8772 #       Local Copy      0=Off  1=On     
8773 #       Spare
8775 # 6     Aux Parity      0=Odd  1=Even
8776 #       Aux Parity      0=Off  1=On
8777 #       Aux Bits/Char   0=7    1=8
8778 #       CRT Saver       0=Off  1=On
8779 # dm80/1 is a vt100 lookalike, but it doesn't seem to need any padding.
8780 dm80|dmdt80|dt80|datamedia dt80/1:\
8781         :cd=\E[J:ce=\E[K:cl=\E[2J\E[H:cm=%i\E[%d;%dH:do=^J:\
8782         :ho=\E[H:me=\E[m:nd=\E[C:pf=\E[4i:po=\E[5i:ps=\E[0i:\
8783         :se=\E[m:so=\E[7m:sr=\EM:ue=\E[m:up=\E[A:us=\E[4m:\
8784         :tc=vt100:
8785 # except in 132 column mode, where it needs a little padding.
8786 # This is still less padding than the vt100, and you can always turn on
8787 # the ^S/^Q handshaking, so you can use vt100 flavors for things like
8788 # reverse video.
8789 dm80w|dmdt80w|dt80w|datamedia dt80/1 in 132 char mode:\
8790         :co#132:\
8791         :cd=20\E[0J:ce=20\E[0K:cl=50\E[H\E[2J:cm=5\E[%i%d;%dH:\
8792         :do=^J:up=5\E[A:\
8793         :tc=dm80:
8794 # From: Adam Thompson <athompso@pangea.ca> Sept 10 1995
8795 dt80-sas|Datamedia DT803/DTX for SAS usage:\
8796         :am:bw:\
8797         :co#80:li#24:\
8798         :ac=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~:\
8799         :ae=\EG:al=\EL:as=\EF:bl=^G:cd=^K:ce=^]:cl=^L:\
8800         :cm=\E=%r%+ %+ :cr=^M:\
8801         :..cs=\E=%p1%{32}%+%c%{32}%c\E#1\E=%p2%{32}%+%c%{32}%c\E#2:\
8802         :ct=\E'0:dl=\EM:do=\EB:ff=^L:ho=^Y:is=\E)0\E<\EP\E'0\E$2:\
8803         :kC=^L:kE=^]:kS=^K:kd=^J:kh=^Y:kl=^H:kr=^\:ku=^_:le=^H:me=^X:\
8804         :mr=\E$2\004:nd=^\:pf=^O:po=^N:se=^X:sf=\EB:so=\E$2\004:\
8805         :sr=\EI:st=\E'1:ta=^I:up=^_:
8807 # Datamedia Excel 62, 64 from Gould/SEL UTX/32 via BRL
8808 # These aren't end-all Excel termcaps; but do insert/delete char/line
8809 # and name some of the extra function keys.  (Mike Feldman ccvaxa!feldman)
8810 # The naming convention has been bent somewhat, with the use of E? (where
8811 # E is for 'Excel') as # a name.  This was done to distinguish the entries
8812 # from the other Datamedias in use here, and yet to associate a model of
8813 # the Excel terminals with the regular datamedia terminals that share
8814 # major characteristics.
8815 excel62|excel64|datamedia Excel 62:\
8816         :dc=\E[P:ei=\E[4l:im=\E[4h:k5=\EOu:k6=\EOv:k7=\EOw:k8=\EOx:\
8817         :k9=\EOy:kb=^H:kd=^J:kl=^H:\
8818         :tc=dt80:
8819 excel62-w|excel64-w|datamedia Excel 62 in 132 char mode:\
8820         :dc=\E[P:ei=\E[4l:im=\E[4h:k5=\EOu:k6=\EOv:k7=\EOw:k8=\EOx:\
8821         :k9=\EOy:kb=^H:kd=^J:kl=^H:\
8822         :tc=dt80w:
8823 excel62-rv|excel64-rv|datamedia Excel 62 in reverse video mode:\
8824         :dc=\E[P:ei=\E[4l:im=\E[4h:k5=\EOu:k6=\EOv:k7=\EOw:k8=\EOx:\
8825         :k9=\EOy:kb=^H:kd=^J:kl=^H:vb=\E[?5l\E[?5h:\
8826         :tc=dt80:
8828 #### Falco
8830 #       Falco Data Products
8831 #       440 Potrero Avenue
8832 #       Sunnyvale, CA 940864-196
8833 #       Vox: (800)-325-2648
8834 #       Fax: (408)-745-7860
8835 #       Net: techsup@charm.sys.falco.com
8837 # Current Falco models as of 1995 are generally ANSI-compatible and support
8838 # emulations of DEC VT-series, Wyse, and Televideo types.
8841 # Test version for Falco ts-1. See <arpavax.hickman@ucb> for info
8842 # This terminal was released around 1983 and was discontinued long ago.
8843 # The standout and underline highlights are the same.
8844 falco|ts1|ts-1|falco ts-1:\
8845         :am:bs:\
8846         :co#80:it#8:li#24:\
8847         :al=\EE:bl=^G:cd=\EY:ce=\ET\EG0\010:cl=\E*:cm=\E=%+ %+ :\
8848         :cr=^M:dc=\EW:dl=\ER:do=^J:ei=\Er:ho=^^:im=\Eq:is=\Eu\E3:\
8849         :k0=^A0\r:kd=^J:kl=^H:kr=^L:ku=^K:le=^H:me=\Eg0:nd=^L:\
8850         :se=\Eg0:sf=^J:so=\Eg1:ta=^I:ue=\Eg0:up=^K:us=\Eg1:
8851 falco-p|ts1p|ts-1p|falco ts-1 with paging option:\
8852         :am:bs:da:db:mi:ms:ul:\
8853         :co#80:it#8:li#24:\
8854         :al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET\EG0\010\Eg0:cl=\E*:\
8855         :cm=\E=%+ %+ :cr=^M:dc=\EW:dl=\ER:do=\E[B:ei=\Er:im=\Eq:\
8856         :is=\EZ\E3\E_c:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
8857         :le=^H:me=\Eg0:nd=\E[C:se=\Eg0:sf=^J:so=\Eg4:ta=^I:te=\E_b:\
8858         :ti=\E_d:ue=\Eg0:up=\E[A:us=\Eg1:
8859 # (ts100: I added <rmam>/<smam> based on the init string -- esr)
8860 ts100|ts100-sp|falco ts100-sp:\
8861         :am:mi:ms:xn:xo:\
8862         :co#80:it#8:li#24:vt#3:\
8863         :@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
8864         :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
8865         :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
8866         :ae=^O:al=\E~E:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
8867         :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
8868         :ct=\E[3g:dc=\E~W:dl=\E~R:do=^J:eA=\E(B\E)0:ei=:ho=\E[H:\
8869         :i1=\E~)\E~ea:ic=\E~Q:im=:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:\
8870         :k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:\
8871         :kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
8872         :ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:\
8873         :nd=\E[C:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
8874         :..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
8875         :sc=\E7:se=\E[m:sf=^J:so=\E[1;7m:sr=\EM:st=\EH:ta=^I:\
8876         :ue=\E[m:up=\E[A:us=\E[4m:
8877 ts100-ctxt|falco ts-100 saving context:\
8878         :te=\E~_b:ti=\E~_d\E[2J:tc=ts100:
8880 #### Florida Computer Graphics
8883 # Florida Computer Graphics Beacon System, using terminal emulator program
8884 # "host.com", as provided by FCG.  This description is for an early release
8885 # of the "host" program.  Known bug: :cd: clears the whole screen, so it's
8886 # commented out.
8888 # From: David Bryant <cbosg!djb> 1/7/83
8889 beacon|FCG Beacon System:\
8890         :am:da:db:\
8891         :co#80:li#32:\
8892         :al=\EE:bl=\ESTART\r\E37\r\EEND\r:ce=\ET:cl=\EZ:\
8893         :cm=\E=%+ %+ :cr=^M:dc=\EW:dl=\ER:do=^J:ei=:ho=\EH:ic=\EQ:\
8894         :im=:le=^H:mb=\ESTART\r\E61\0541\r\EEND\r:\
8895         :me=\ESTART\r\E78\r\E70\0540\r\EEND\r:\
8896         :mr=\ESTART\r\E59\0541\r\EEND\r:nd=\EV:\
8897         :se=\ESTART\r\E70\0540\r\EEND\r:sf=^J:\
8898         :so=\ESTART\r\E70\0546\r\EEND\r:te=:\
8899         :ti=\ESTART\r\E2\0540\r\E12\r\EEND\r:\
8900         :ue=\ESTART\r\E60\0540\r\EEND\r:up=\EU:\
8901         :us=\ESTART\r\E60\0541\r\EEND\r:
8903 #### Fluke
8906 # The f1720a differences from ANSI: no auto margin, destructive 
8907 # tabs, # of lines, funny highlighting and underlining
8908 f1720|f1720a|fluke 1720A:\
8909         :xt:\
8910         :co#80:li#16:sg#1:\
8911         :bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
8912         :do=\E[B:is=\E[H\E[2J:kd=^]:kl=^_:kr=^^:ku=^\:le=^H:me=\E[m:\
8913         :nd=\E[C:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ue=\E[m:up=\E[A:\
8914         :us=\E[4m:
8916 #### Liberty Electronics (Freedom)
8918 #       Liberty Electronics
8919 #       48089 Fremont Blvd
8920 #       Fremont CA 94538
8921 #       Vox: (510)-623-6000
8922 #       Fax: (510)-623-7021
8924 # From: <faletti@berkeley.edu>
8925 # (f100: added empty <acsc> to suppress a tic warning;
8926 # made this relative to adm+sgr -- note that <invis> isn't
8927 # known to work for f100 but does on the f110. --esr)
8928 f100|freedom|freedom100|freedom model 100:\
8929         :am:bs:bw:hs:mi:ms:xo:\
8930         :co#80:li#24:\
8931         :ac=:ae=\E$:al=\EE:as=\E%:bl=^G:bt=\EI:cd=\EY:ce=\ET:\
8932         :ch=\E]%+ :cl=^Z:cm=\E=%+ %+ :cr=^M:ct=\E3:cv=\E[%+ :\
8933         :dc=\EW:dl=\ER:do=^J:ds=\Eg\Ef\r:ei=\Er:fs=^M:ho=^^:im=\Eq:\
8934         :ip=:is=\Eg\Ef\r\Ed:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
8935         :k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:\
8936         :kB=\EI:kb=^H:kd=^V:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:sf=^J:\
8937         :sr=\Ej:st=\E1:ta=^I:ts=\Eg\Ef:up=^K:vb=\Eb\Ed:\
8938         :tc=adm+sgr:
8939 f100-rv|freedom-rv|freedom 100 in reverse video:\
8940         :is=\Eg\Ef\r\Eb:vb=\Ed\Eb:tc=f100:
8941 # The f110 and f200 have problems with vi(1).  They use the ^V
8942 # code for the down cursor key. When kcud1 is defined in terminfo
8943 # as ^V, the Control Character Quoting capability (^V in insert mode)
8944 # is lost! It cannot be remapped in vi because it is necessary to enter
8945 # a ^V to to quote the ^V that is being remapped!!!
8947 # f110/f200 users will have to decide whether
8948 # to lose the down cursor key or the quoting capability. We will opt
8949 # initially for leaving the quoting capability out, since use of VI
8950 # is not generally applicable to most interactive applications
8951 # (f110: added :ta:, :kh: & <kcbt> from f100 -- esr)
8952 f110|freedom110|Liberty Freedom 110:\
8953         :bw@:es:\
8954         :it#8:ws#80:\
8955         :ae=\E%%:al=\EE:as=\E$:dl=\ER:do=^V:ds=\Ef\r:ei=\Er\EO:\
8956         :im=\EO\Eq:ip@:is@:k0=^AI\r:k;@:kA=\EE:kC=^^:kD=\EW:kE=\ET:\
8957         :kI=\EQ:kL=\ER:kS=\EY:mb=\EG2:md=\EG0:mh=\EG@:pf=\Ea:po=\E`:\
8958         :so=\EG<:sr=\EJ:ts=\Ef:vb=\Eb\Ed:ve=\E.2:vi=\E.1:vs=\E.2:\
8959         :tc=f100:
8960 f110-14|Liberty Freedom 110 14inch:\
8961         :dc@:tc=f110:
8962 f110-w|Liberty Freedom 110 - 132 cols:\
8963         :co#132:tc=f110:
8964 f110-14w|Liberty Freedom 110 14in/132 cols:\
8965         :co#132:\
8966         :dc@:tc=f110:
8967 # (f200: added <acsc> to suppress tic warnings re :as:/:ae: --esr)
8968 f200|freedom200|Liberty Freedom 200:\
8969         :am:bs:es:hs:mi:ms:xo:\
8970         :co#80:it#8:li#24:ws#80:\
8971         :ac=:ae=\E%%:al=\EE:as=\E$:bl=^G:bt=\EI:cd=\EY:ce=\ET:\
8972         :ch=\E]%+ :cl=^Z:cm=\E=%+ %+ :cr=^M:cs=\Em0%+ %+ :ct=\E3:\
8973         :cv=\E[%+ :dc=\EW:dl=\ER:do=^V:ds=\Ef\r:ei=\Er:fs=^M:ho=^^:\
8974         :im=\Eq:k0=^AI\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
8975         :k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=\EE:kC=^^:\
8976         :kD=\EW:kE=\ET:kI=\EQ:kL=\ER:kS=\EY:kb=^H:kd=^V:kl=^H:kr=^L:\
8977         :ku=^K:le=^H:mb=\EG2:md=\EG0:mh=\EG@:nd=^L:pf=\Ea:po=\E`:\
8978         :sf=^J:so=\EG<:sr=\EJ:st=\E1:ts=\Ef:up=^K:vb=\Eo\En:ve=\E.1:\
8979         :vi=\E.0:vs=\E.1:\
8980         :tc=adm+sgr:
8981 f200-w|Liberty Freedom 200 - 132 cols:\
8982         :co#132:tc=f200:
8983 # The f200 has the ability to reprogram the down cursor key. The key is
8984 # reprogrammed to ^J (linefeed). This value is remembered in non-volatile RAM,
8985 # so powering the terminal off and on will not cause the change to be lost.
8986 f200vi|Liberty Freedom 200 for vi:\
8987         :kd=^J:vb=\Eb\Ed:tc=f200:
8988 f200vi-w|Liberty Freedom 200 - 132 cols for vi:\
8989         :co#132:tc=f200vi:
8991 #### GraphOn (go)
8993 #       Graphon Corporation
8994 #       544 Division Street
8995 #       Campbell, CA 95008
8996 #       Vox: (408)-370-4080
8997 #       Fax: (408)-370-5047
8998 #       Net: troy@graphon.com (Troy Morrison)
9001 # The go140 and go225 have been discontinued.  GraphOn now makes X terminals,
9002 # including one odd hybrid that starts out life on power-up as a character
9003 # terminal, than can be switched to X graphics mode (driven over the serial
9004 # line) by an escape sequence.  No info on this beast yet.
9005 # (go140: I added <rmam>/<smam> based on the init string -- esr)
9006 go140|graphon go-140:\
9007         :bs:\
9008         :co#80:it#8:li#24:\
9009         :RA=\E[?7l:SA=\E[?7h:al=\E[L:cd=10\E[J:ce=\E[K:\
9010         :cl=10\E[H\E[2J:cm=\E[%i%2;%2H:dc=\E[P:dl=\E[M:ei=\E[4l:\
9011         :if=/usr/share/tabset/vt100:im=\E[4h:\
9012         :is=\E<\E=\E[?3l\E[?7l\E(B\E[J\E7\E[;r\E8\E[m\E[q:\
9013         :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kd=\EOB:ke=\E[?1l\E>:\
9014         :kh=\E[H:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
9015         :me=\E[m:nd=\E[C:se=\E[m:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:\
9016         :up=\E[A:us=\E[4m:
9017 go140w|graphon go-140 in 132 column mode:\
9018         :am:\
9019         :co#132:\
9020         :is=\E<\E=\E[?3h\E[?7h\E(B\E[J\E7\E[;r\E8\E[m\E[q:tc=go140:
9021 # Hacked up vt200 termcap to handle GO-225/VT220
9022 # From: <edm@nwnexus.WA.COM>
9023 # (go225: I added <rmam>/<smam> based on the init string -- esr)
9024 go225|go-225|Graphon 225:\
9025         :am:bs:mi:xn:\
9026         :co#80:it#8:li#25:vt#3:\
9027         :RA=\E[?7l:SA=\E[?7h:al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
9028         :cm=\E[%i%d;%dH:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=^J:\
9029         :ei=\E[4l:ho=\E[H:im=\E[4h:\
9030         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:k1=\EOP:k2=\EOQ:\
9031         :k3=\EOR:k4=\EOS:kb=^H:kd=\E[B:ke=\E>:kh=\E[H:kl=\E[D:\
9032         :kr=\E[C:ks=\E=:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:\
9033         :mr=\E[7m:nd=\E[C:r1=\E[\041p\E[?7h\E[2;1;1#w:rc=\E8:\
9034         :rf=/usr/share/tabset/vt100:sc=\E7:se=\E[27m:sf=\ED:\
9035         :so=\E[7m:sr=\EM:ta=^I:te=\E[\041p\E[?7h\E[2;1;1#w:\
9036         :ti=\E[2;0#w\E[1;25r:ue=\E[24m:up=\E[A:us=\E[4m:
9038 #### Harris
9040 # Bletch.  These guys shared the Terminal Brain Damage laurels with Hazeltine.
9041 # Their terminal group is ancient history now (1995) though the parent
9042 # company is still in business.
9045 # 8675, 8686, and bee from Cyrus Rahman
9046 # (8675: changed k10, k11...k16 to k;, F1...F6 -- esr)
9047 ha8675|harris 8675:\
9048         :F1=^W:F2=\ER:F3=\EE:F4=\EI:F5=\Ei:F6=\Eg:\
9049         :is=\ES\E#\E*\Eh\Em\E?\E1\E9\E@\EX\EU:k1=^F:k2=^P:k3=^N:\
9050         :k4=^V:k5=^J:k6=^T:k7=^H:k8=\177:k9=\Ee:k;=\Ed:\
9051         :tc=bee:
9052 # (8686: changed k10, k11...k16 to k;, F1...F6; fixed broken continuation
9053 # in :is: -- esr)
9054 ha8686|harris 8686:\
9055         :F1=\EW:F2=\002\E{\003:F3=\002\E|\003:F4=\002\E}\003:\
9056         :F5=\002\E~\003:F6=\002\E\177\003:\
9057         :is=\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#:\
9058         :k1=\002\Ep\003:k2=\002\Eq\003:k3=\002\Er\003:\
9059         :k4=\002\Es\003:k5=\E3:k6=\EI:k7=\ER:k8=\EJ:k9=\E(:k;=\Ej:tc=bee:
9061 #### Hazeltine
9063 # Hazeltine appears to be out of the terminal business as of 1995.  These
9064 # guys were co-owners of the Terminal Brain Damage Hall Of Fame along with
9065 # Harris. They have a hazeltine.com domain (but no web page there ) and can
9066 # be reached at:
9068 #       Hazeltine
9069 #       450 East Pulaski Road
9070 #       Greenlawn, New York 11740
9072 # As late as 1993, manuals for the terminal product line could still be
9073 # purchased from:
9075 #       TRW Customer Service Division
9076 #       15 Law Drive
9077 #       P.O. Box 2076
9078 #       Fairfield, NJ 07007-2078
9080 # They're now (1998) a subsidiary of General Electric, operating under the
9081 # marque "GEC-Marconi Hazeltine" and doing military avionics.  Web page
9082 # at <http://www.gec.com/cpd/1ncpd.htm#1.55>.
9085 # Since :nd: is blank, when you want to erase something you
9086 # are out of luck.  You will have to do ^L's a lot to
9087 # redraw the screen.  h1000 is untested.  It doesn't work in
9088 # vi - this terminal is too dumb for even vi.  (The code is
9089 # there but it isn't debugged for this case.)
9090 hz1000|hazeltine 1000:\
9091         :bs:\
9092         :co#80:li#12:\
9093         :bl=^G:cl=^L:cr=^M:do=^J:ho=^K:le=^H:nd= :sf=^J:
9094 # From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
9095 hz1420|hazeltine 1420:\
9096         :am:bs:\
9097         :co#80:li#24:\
9098         :al=\E^Z:bl=^G:cd=\E^X:ce=\E^O:cl=\E^\:cm=\E\021%r%.%+ :\
9099         :cr=^M:dl=\E^S:do=^J:le=^H:nd=^P:se=\E^Y:sf=^J:so=\E^_:ta=^N:\
9100         :up=\E^L:
9101 # New "safe" cursor movement (11/87) from <cgs@umd5.umd.edu>.  Prevents
9102 # freakout with out-of-range args and tn3270.  No hz since it needs to
9103 # receive tildes.
9104 hz1500|hazeltine 1500:\
9105         :am:bs:hz:\
9106         :co#80:li#24:\
9107         :al=~\032:bl=^G:cd=~\030:ce=~^O:cl=~^\:\
9108         :cm=~\021%r%>^^ %+`%+`:cr=^M:dl=~\023:do=~^K:ho=~^R:kd=^J:\
9109         :kh=~^R:kl=^H:kr=^P:ku=~^L:le=^H:nd=^P:se=~^Y:sf=^J:so=~^_:\
9110         :up=~^L:
9111 # h1510 assumed to be in sane escape mode.  Else use h1500.
9112 # (h1510: early versions of this entry apparently had ":se=\E^_:, 
9113 # :so=\E^Y:, but these caps were commented out in 8.3; also,
9114 # removed incorrect and overridden ":do=^J:" -- esr)
9115 hz1510|hazeltine 1510:\
9116         :am:bs:\
9117         :co#80:li#24:\
9118         :al=\E^Z:bl=^G:cd=\E^X:ce=\E^O:cl=\E^\:cm=\E\021%r%.%.:\
9119         :cr=^M:dl=\E^S:do=\E^K:le=^H:nd=^P:sf=^J:up=\E^L:
9120 # Hazeltine 1520
9121 # The following switch settings are assumed for normal operation:
9122 #       FULL            CR              U/L_CASE        ESCAPE
9123 #       FORMAT_OFF      EOM_A_OFF       EOM_B_OFF       WRAPAROUND_ON
9124 # Other switches may be set for operator convenience or communication
9125 # requirements.
9126 hz1520|Hazeltine 1520:\
9127         :am:bs:bw:ms:\
9128         :co#80:li#24:\
9129         :al=\E^Z:bl=^G:cd=\E^X:ce=\E^O:cl=\E^\:cm=\E\021%r%.%.:\
9130         :cr=^M:dl=\E^S:do=^J:ho=\E^R:kA=\E^Z:kC=\E^\:kE=\E^O:\
9131         :kL=\E^S:kS=\E^X:kb=^H:kd=\E^K:kh=\E^R:kl=^H:kr=^P:ku=\E^L:\
9132         :le=^H:md=\E^_:me=\E^Y:nd=^P:r1=\E$\E\005\E?\E\031:\
9133         :se=\E^Y:sf=^J:so=\E^_:up=\E^L:
9134 # This version works with the escape switch off
9135 # (h1520: removed incorrect and overridden ":do=^J:" -- esr)
9136 hz1520-noesc|hazeltine 1520:\
9137         :am:hz:\
9138         :co#80:li#24:\
9139         :al=~^Z:bl=^G:cd=~^X:ce=~^O:cl=~^\:cm=~\021%r%.%.:cr=^M:\
9140         :dl=~^S:do=~^K:ho=~^R:le=^H:nd=^P:se=~^Y:sf=^J:so=~^_:up=~^L:
9141 # Note: the h1552 appears to be the first Hazeltine terminal which
9142 # is not braindamaged.  It has tildes and backprimes and everything!
9143 # Be sure the auto lf/cr switch is set to cr.
9144 hz1552|hazeltine 1552:\
9145         :bs:\
9146         :al=\EE:dl=\EO:do=^J:k1=\EP:k2=\EQ:k3=\ER:l1=blue:l2=red:\
9147         :l3=green:\
9148         :tc=vt52:
9149 hz1552-rv|hazeltine 1552 reverse video:\
9150         :do=^J:se=\ET:so=\ES:tc=hz1552:
9151 # Note: h2000 won't work well because of a clash between upper case and ~'s.
9152 hz2000|hazeltine 2000:\
9153         :am:bs:nc:\
9154         :co#74:li#27:\
9155         :al=~\032:bl=^G:cl=~\034:cm=~\021%r%.%.:dl=~\023:do=^J:\
9156         :ho=~^R:le=^H:pc=\177:sf=^J:
9157 # Date: Fri Jul 23 10:27:53 1982.  Some unknown person wrote:
9158 # I tested this termcap entry for the Hazeltine Esprit with vi. It seems
9159 # to work ok. There is one problem though if one types a lot of garbage
9160 # characters very fast vi seems not able to keep up and hangs while trying
9161 # to insert. That's in insert mode while trying to insert in the middle of
9162 # a line. It might be because the Esprit doesn't have insert char and delete
9163 # char as a built in function. Vi has to delete to end of line and then 
9164 # redraw the rest of the line.
9165 esprit|Hazeltine Esprit I:\
9166         :am:bs:bw:\
9167         :co#80:li#24:\
9168         :al=\E^Z:bl=^G:bt=\E^T:cd=\E^W:ce=\E^O:cl=\E^\:\
9169         :cm=\E\021%r%.%.:cr=^M:dl=\E^S:do=\E^K:ho=\E^R:is=\E?:\
9170         :k0=^B0^J:k1=^B1^J:k2=^B2^J:k3=^B3^J:k4=^B4^J:k5=^B5^J:\
9171         :k6=^B6^J:k7=^B7^J:k8=^B8^J:k9=^B9^J:kb=^H:kd=\E^K:ke=\E>:\
9172         :kh=\E^R:kl=^H:kr=^P:ks=\E<:ku=\E^L:l0=0:l1=1:l2=2:l3=3:l4=4:\
9173         :l5=5:l6=6:l7=7:l8=8:l9=9:le=^H:nd=^P:se=\E^Y:sf=^J:so=\E^_:\
9174         :up=\E^L:
9175 esprit-am|hazeltine esprit auto-margin:\
9176         :am:tc=esprit:
9177 # Hazeltine Modular-1 from Cliff Shackelton <ittvax!ittral!shackelt> via BRL
9178 # Vi it seems always wants to send a control J for "do" and it turned out
9179 # that the terminal would work somewhat if the auto LF/CR was turned off.
9180 # (hmod1: removed :dn=~^K: -- esr)
9181 hmod1|Hazeltine Modular 1:\
9182         :am:bs:hz:\
9183         :co#80:li#24:\
9184         :al=~^Z:bl=^G:bt=~^T:cl=~^\:cm=~\021%r%.%.:cr=^M:dl=~^S:\
9185         :do=~^K:ho=~^R:kd=~^K:kh=~^R:kl=^H:kr=^P:ku=~^L:le=^H:me=~^Y:\
9186         :nd=^P:rc=~^Q:sc=~^E:se=~^Y:sf=^J:so=~^_:up=~^L:
9188 # Hazeltine Executive 80 Model 30 (1554?)
9189 #       from  Will Martin <control@ALMSA-1.ARPA> via BRL
9190 # Like VT100, except for different "am" behavior.
9191 hazel|exec80|h80|he80|Hazeltine Executive 80:\
9192         :am:bs:pt:\
9193         :co#80:it#8:li#24:vt#3:\
9194         :bl=^G:cd=50\E[J:ce=3\E[K:cl=50\E[;H\E[2J:\
9195         :cm=5\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:do=^J:ho=\E[H:\
9196         :is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
9197         :kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
9198         :ku=\EOA:le=^H:mb=2\E[5m:md=2\E[1m:me=2\E[m:mr=2\E[7m:\
9199         :nd=2\E[C:nl=^J:r1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
9200         :rc=\E8:rf=/usr/share/tabset/vt100:sc=\E7:se=2\E[m:\
9201         :so=2\E[7m:sr=5\EM:ta=^I:ue=2\E[m:up=2\E[A:us=2\E[4m:
9203 #### Hewlett-Packard (hp)
9205 #       Hewlett-Packard
9206 #       8000 Foothills Blvd 
9207 #       Roseville, CA 95747
9208 #       Vox: 1-(916)-785-4363   (Technical response line for VDTs)
9209 #            1-(800)-633-3600   (General customer support)
9212 # As of March 1998, HP no longer has any terminals in production.
9213 # The 700 series (22, 32, 41, 44, 92, 94, 96, 98) is still being 
9214 # supported (they still have parts). So are the 2392a and 2394a.
9215 # See the WORKSTATION CONSOLES section for the 700s.
9218 # Generic HP terminal - this should (hopefully) work on any HP terminal.
9219 hpgeneric|hp|hewlett-packard generic terminal:\
9220         :am:bs:da:db:mi:pt:xs:\
9221         :co#80:li#24:lm#0:vt#6:\
9222         :al=\EL:bl=^G:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\EH\EJ:\
9223         :cm=\E&a%r%dc%dY:cr=^M:ct=\E3:cv=\E&a%dY:dc=\EP:dl=\EM:\
9224         :do=^J:ei=\ER:im=\EQ:kB=\Ei:kb=^H:le=^H:me=\E&d@:nd=\EC:\
9225         :se=\E&d@:sf=^J:so=\E&dJ:st=\E1:ta=^I:ue=\E&d@:up=\EA:\
9226         :us=\E&dD:
9228 hp110|hewlett-packard model 110 portable:\
9229         :li#16:tc=hpgeneric:
9231 hp+pfk+cr|hp function keys with CR:\
9232         :k1=\Ep\r:k2=\Eq\r:k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:\
9233         :k7=\Ev\r:k8=\Ew\r:
9235 hp+pfk-cr|hp function keys w/o CR:\
9236         :k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:
9238 # The hp2621s use the same keys for the arrows and function keys, 
9239 # but not separate escape sequences. These definitions allow the 
9240 # user to use those keys as arrow keys rather than as function 
9241 # keys.
9242 hp+pfk+arrows|hp alternate arrow definitions:\
9243         :k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:kF=\Er\r:kH=\Eq\r:kR=\Es\r:\
9244         :kd=\Ew\r:kh=\Ep\r:kl=\Eu\r:kr=\Ev\r:ku=\Et\r:
9246 hp+arrows|hp arrow definitions:\
9247         :kF=\ES:kH=\EF:kR=\ET:kd=\EB:kh=\Eh:kl=\ED:kr=\EC:ku=\EA:
9249 # Generic stuff from the HP 262x series
9251 hp262x|HP 262x terminals:\
9252         :xs:\
9253         :cd=\EJ:dc=\EP:ip=:kA=\EL:kD=\EP:kE=\EK:kF=\ES:kI=\EQ:kL=\EM:\
9254         :kM=\ER:kN=\EU:kP=\EV:kR=\ET:kS=\EJ:kd=\EB:ke=\E&s0A:kh=\Eh:\
9255         :kl=\ED:kr=\EC:ks=\E&s1A:ku=\EA:mb=\E&dA:me=\E&d@:mk=\E&dS:\
9256         :mr=\E&dB:\
9257         :..sa=\E&d%{64}%?%p1%t%{66}%|%;%?%p2%t%{68}%|%;%?%p3%t%{66}%|%;%?%p4%t%{65}%|%;%c:\
9258         :se=\E&d@:sf=\ES:so=\E&dB:ta=\011:ue=\E&d@:us=\E&dD:
9260 # Note: no :ho: on HPs since that homes to top of memory, not screen.
9261 # Due to severe 2621 braindamage, the only way to get the arrow keys to
9262 # transmit anything at all is to turn on the function key labels
9263 # with :ks:, and even then the user has to hold down shift!
9264 # The default 2621 turns off the labels except when it has to to 
9265 # enable the function keys. If your installation prefers labels 
9266 # on all the time, or off all the time (at the "expense" of the 
9267 # function keys), use 2621-nl or 2621-wl.
9269 # Note: there are newer ROMs for 2621's that allow you to set 
9270 # strap A so the regular arrow keys xmit \EA, etc, as with the 
9271 # 2645. However, even with this strap set, the terminal stops 
9272 # xmitting if you reset it, until you unset and reset the strap!
9273 # Since there is no way to set/unset the strap with an escape 
9274 # sequence, we don't use it in the default.
9275 # If you like, you can use 2621-ba (brain-damaged arrow keys).
9276 hp2621-ba|2621 w/new rom and strap A set:\
9277         :ke@:ks@:tc=hp+arrows:\
9278         :tc=hp2621:
9280 # hp2621 with function labels. Most of the time they are off,
9281 # but inside vi, the function key labels appear. You have to
9282 # hold down shift to get them to xmit.
9283 hp2621|hp2621a|hp2621A|2621|2621a|2621A|hp2621-wl|2621-wl|hp 2621 w/labels:\
9284         :is=\E&jA\r:ke=\E&jA:\
9285         :tc=hp2621-fl:
9286 hp2621-fl|hp 2621:\
9287         :xo:xs@:\
9288         :pb#19200:\
9289         :bt=\Ei:cm=\E&a%r%dc%dY:dc=\EP:ip=:is=\E&j@\r:ke=\E&j@:\
9290         :ks=\E&jB:me=\E&d@:se=\E&d@:so=\E&dD:ta=\011:ue=\E&d@:\
9291         :us=\E&dD:\
9292         :tc=hp+pfk+cr:tc=hpgeneric:
9294 # To use hp2621p printer, setenv TERM=2621p, PRINTER=2612p
9295 hp2621p|hp 2621 with printer:\
9296         :pf=\E&p13C:po=\E&p11C:tc=hp2621:
9298 hp2621p-a|hp2621p with fn as arrows:\
9299         :tc=hp+pfk+arrows:tc=hp2621p:
9301 # hp2621 with k45 keyboard
9302 hp2621-k45|hp2621k45|k45|hp 2621 with 45 keyboard:\
9303         :kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:\
9304         :ku=\EA:\
9305         :tc=hp2621:
9307 # 2621 using all 48 lines of memory, only 24 visible at any time.  
9308 hp2621-48|48 line 2621:\
9309         :li#48:\
9310         :cm=\E&a%r%dc%dR:cv=\E&a%dR:ho=\EH:tc=hp2621:
9312 # 2621 with no labels ever. Also prevents vi delays on escape.
9313 hp2621-nl|hp 2621 with no labels:\
9314         :kd@:ke@:kh@:kl@:kr@:ks@:ku@:tc=hp2621-fl:
9316 # Needed for UCB ARPAVAX console, since lsi-11 expands tabs 
9317 # (wrong).
9319 hp2621-nt|hp 2621 w/no tabs:\
9320         :ta@:tc=hp2621:
9322 # Hp 2624 B with 4 or 10 pages of memory.
9324 # Some assumptions are made with this entry. These settings are 
9325 # NOT set up by the initialization strings.
9327 # Port Configuration
9328 #       RecvPace=Xon/Xoff
9329 #       XmitPace=Xon/Xoff
9330 #       StripNulDel=Yes
9332 # Terminal Configuration
9333 #       InhHndShk=Yes
9334 #       InhDC2=Yes
9335 #       XmitFnctn(A)=No
9336 #       InhEolWrp=No
9338 # Note: the 2624 DOES have a true :ho:, believe it or not!
9340 # The 2624 has an "error line" to which messages can be sent. 
9341 # This is CLOSE to what is expected for a "status line". However,
9342 # after a message is sent to the "error line", the next carriage 
9343 # return is EATEN and the "error line" is turned back off again! 
9344 # So I guess we can't define :hs:, :es:, :ws:, :ds:, :fs:, :ts:.
9346 # This entry supports emacs (and any other program that uses raw 
9347 # mode) at 4800 baud and less. I couldn't get the padding right 
9348 # for 9600.
9350 # (hp2624: replaced NUL sequences in flash with mandatory pauses -- esr)
9351 hp2624|hp2624a|hp2624b|hp2624b-4p|Hewlett Packard 2624 B:\
9352         :da:db:\
9353         :lm#96:\
9354         :vb=\E&w13F\E&w12F\E&w13F\E&w12F:tc=hp+labels:tc=scrhp:
9356 # This hp2626 entry does not use any of the fancy windowing stuff 
9357 # of the 2626.
9359 # Indeed, terminfo does not yet handle such stuff. Since changing 
9360 # any window clears memory, it is probably not possible to use 
9361 # this for screen opt.
9363 # ed is incredibly slow most of the time - I am guessing at the 
9364 # exact padding. Since the terminal uses xoff/xon this is intended 
9365 # only for cost computation, so that the terminal will prefer el 
9366 # or even dl1 which is probably faster!
9368 # \ED\EJ\EC hack for ed from Ed Bradford - apparently ed is only 
9369 # extra slow on the last line of the window. 
9371 # The padding probably should be changed.
9373 hp2626|hp2626a|hp2626p|hp 2626:\
9374         :da:db:\
9375         :lm#0:pb#19200:\
9376         :SF=\E&r%dD:SR=\E&r%dU:cd=\ED\EJ\EC:ip=:is=\E&j@\r:tc=hp+pfk+cr:tc=hp+labels:tc=scrhp:
9378 # This entry is for sysline. It allocates a 23 line window with 
9379 # a 115 line workspace for regular use, and a 1 line window for 
9380 # the status line.
9382 # This assumes port 2 is being used.
9383 # Turn off horizontal line, Create ws #1 with 115 lines,
9384 # Create ws #2 with 1 line, Create window #1 lines 1-23,
9385 # Create window #2 lines 24-24, Attach cursor to workspace #1.
9386 # Note that this clears the tabs so it must be done by tset before
9387 # it sets the tabs.
9389 hp2626-s|hp 2626 using only 23 lines:\
9390         :es:hs:\
9391         :li#23:\
9392         :fs=\E&d@\E&w7f2p1I\E&w4f1I:\
9393         :i1=\E&q3t0{0H \E&w0f115n1I \E&w0f1n2I \E&w2f1i0d0u22l0S \E&w2f2i0d23u23l0S \E&w7f2p1I \r:\
9394         :ts=\E&w7f2p2I\E&w4f2I\r\EK\E&a%p1%dC:\
9395         :tc=hp2626:
9396 # Force terminal back to 24 lines after being 23.
9397 hp2626-ns|hp 2626 using all 24 lines:\
9398         :i1=\E&q3t0{0H \E&w0f118n1I \E&w0f1n2I \E&w2f1i0d0u23l0S \E&w3f2I \E&w7f2p1I \r:tc=hp2626:
9399 # Various entries useful for small windows on 2626.
9400 hp2626-12|hewlett-packard 2626 12 lines:\
9401         :li#12:tc=hp2626:
9402 hp2626-12x40|hewlett-packard 2626 12 lines 40 columns:\
9403         :co#40:li#12:tc=hp2626:
9404 hp2626-x40|hewlett-packard 2626 40 columns:\
9405         :co#40:tc=hp2626:
9406 hp2626-12-s|hewlett-packard 2626 11 lines plus status:\
9407         :li#11:tc=hp2626-s:
9410 # hp2627 color tubes from University of Wisconsin
9412 hp2627a-rev|hp 2627 with reverse video colors:\
9413         :cr=^M:do=^J:\
9414         :is=\E&v0m1a0b0c1x1y1z1i0a0b1c1x1y1z0i0S\E&j@\r\E3\r:\
9415         :kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:ue=\E&v0S\E&d@:\
9416         :us=\E&dD\E&v1S:\
9417         :tc=hp2621-nl:
9418 hp2627a|hp 2627 color terminal with no labels:\
9419         :cr=^M:do=^J:\
9420         :is=\E&v0m1a1b0c1i0a1b1c2i1a0b0c0i0S\E&j@\r\E3\r:\
9421         :kb=^H:kd=^J:kl=^H:nw=^M^J:se=\E&v0S:sf=^J:so=\E&v2S:ta=^I:\
9422         :ue=\E&v0S\E&d@:us=\E&dD\E&v1S:\
9423         :tc=hp2621-nl:
9424 hp2627c|hp 2627 color (cyan) terminal with no labels:\
9425         :cr=^M:do=^J:\
9426         :is=\E&v0m1a0b0c2i1a1b0c1i0a1b1c0i0S\E&j@\r\E3\r:\
9427         :kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:\
9428         :tc=hp2627a:
9430 # hp2640a doesn't have the Y cursor addressing feature, and C is 
9431 # memory relative instead of screen relative, as we need.
9433 hp2640a|hp 2640a:\
9434         :cm@:ke@:ks@:tc=hp2645:
9436 hp2640b|hp2644a|hp 264x series:\
9437         :ke@:ks@:tc=hp2645:
9439 # (hp2641a: removed unknown :gu: -- esr)
9440 hp2641a|hp2645a|hp2647a|HP 264?A series BRL entry:\
9441         :am:da:db:mi:xs:\
9442         :co#80:li#24:\
9443         :al=\EL:bl=^G:cd=\EJ:ce=\EK:ch=\E&a%2C:cl=\EH\EJ:\
9444         :cm=\E&a%r%2c%2Y:cr=^M:cv=\E&a%2Y:dc=\EP:dl=\EM:do=^J:\
9445         :ei=\ER:if=/usr/share/tabset/std:im=\EQ:is=500\EE:kb=^H:\
9446         :kd=^J:kl=^H:le=^H:nd=\EC:nw=^M^J:se=\E&d@:sf=^J:so=\E&dB:\
9447         :ta=^I:up=\EA:
9449 # This terminal should be used at 4800 baud or less. It needs padding for
9450 # plain characters at 9600, I guessed at an appropriate cr delay.  It really
9451 # wants ^E/^F handshaking, but that doesn't work well even if you write
9452 # software to support it.
9453 hp2645|hp45|HP 2645 series:\
9454         :pb#9600:\
9455         :cr=\r:kA=\EL:kD=\EP:kE=\EK:kF=\ES:kI=\EQ:kL=\EM:kM=\ER:\
9456         :kN=\EU:kP=\EV:kR=\ET:kS=\EJ:kT=\E1:kd=\EB:ke=\E&s0A:kh=\Eh:\
9457         :kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:ku=\EA:mb=\E&dA:me=\E&d@:\
9458         :mh=\E&dH:mr=\E&dB:\
9459         :..sa=\E&d%{64}%?%p1%t%{66}%|%;%?%p2%t%{68}%|%;%?%p3%t%{66}%|%;%?%p4%t%{65}%|%;%?%p5%t%{72}%|%;%?%p6%t%{66}%|%;%c:\
9460         :us=\E&dD:\
9461         :tc=hpgeneric:
9462 # You should use this terminal at 4800 baud or less.
9463 hp2648|hp2648a|HP 2648a graphics terminal:\
9464         :cl=\EH\EJ:cm=\E&a%r%dc%dY:dc=\EP:ip=:tc=hp2645:
9466 # The HP 150 terminal is a fairly vanilla HP terminal, with the 
9467 # clreol standout problem. It also has graphics capabilities and 
9468 # a touch screen, which we don't describe here.
9469 hp150|hewlett packard Model 150:\
9470         :bs:tc=hp2622:
9472 # HP 2382a terminals, "the little ones." They don't have any 
9473 # alternate character set support and sending out ^N/^O will 
9474 # leave the screen blank.
9475 hp2382a|hp2382|hewlett packard 2382a:\
9476         :da:db:\
9477         :lh#1:lm#48:\
9478         :ac@:ae@:as@:me=\E&d@:\
9479         :..pn=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s:\
9480         :..sa=\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:\
9481         :tc=hp+labels:tc=scrhp:
9483 hp2621-a|hp2621a-a|hp2621 with fn as arrows:\
9484         :tc=hp+pfk+arrows:tc=hp2621-fl:
9486 # newer hewlett packard terminals
9488 newhpkeyboard|generic entry for HP extended keyboard:\
9489         :kA=\EL:kB=\Ei:kC=\EJ:kD=\EP:kE=\EK:kF=\ET:kH=\EF:kI=\EQ:\
9490         :kL=\EM:kM=\ER:kN=\EU:kP=\EV:kR=\ES:kS=\EJ:kb=^H:kd=\EB:\
9491         :ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:ku=\EA:\
9492         :tc=hp+pfk-cr:
9494 newhp|generic entry for new hewlett packard terminals:\
9495         :am:bw:mi:xo:xs:\
9496         :co#80:li#24:pb#4800:\
9497         :ac=2[3@4>5I9(\072'JSKWLQMAO#P$Q;R\041S"T1U2V4W3X\072Y+Z*dHjGkTlRmFn/q\054t5u6v8w7x.:\
9498         :ae=^O:al=\EL:as=^N:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:cr=^M:ct=\E3:\
9499         :dc=\EP:dl=\EM:do=^J:ei=\ER:i1=\E&jB:im=\EQ:ip=:le=^H:\
9500         :mb=\E&dA:md=\E&dF:me=\E&d@\017:mh=\E&dH:mk=\E&dS:\
9501         :mr=\E&dB:nd=\EC:nw=^M^J:\
9502         :..pk=\E&f0a%p1%dk0d%p2%l%dL%p2%s:\
9503         :..pl=\E&f1a%p1%dk0d%p2%l%dL%p2%s:\
9504         :..px=\E&f2a%p1%dk0d%p2%l%dL%p2%s:r1=\Eg:\
9505         :..sa=\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%;:\
9506         :se=\E&d@:sf=^J:so=\E&dJ:sr=\ET:st=\E1:ta=\011:ue=\E&d@:\
9507         :up=\EA:us=\E&dD:\
9508         :tc=newhpkeyboard:
9510 memhp|memory relative addressing for new HP ttys:\
9511         :vt#6:\
9512         :CM=\E&a%p1%dr%p2%dC:DO=\E&a+%dR:LE=\E&a-%dC:\
9513         :RI=\E&a+%dC:UP=\E&a-%dR:ch=\E&a%dC:cl=\EH\EJ:\
9514         :cm=\E&a%dr%dC:cv=\E&a%dR:ho=\EH:ll=\E&a23R\r:tc=newhp:
9516 scrhp|screen relative addressing for new HP ttys:\
9517         :CM=\E&a%p1%dr%p2%dC:DO=\E&a+%dR:LE=\E&a-%dC:\
9518         :RI=\E&a+%dC:UP=\E&a-%dR:ch=\E&a%dC:cl=\E&a0c0Y\EJ:\
9519         :cm=\E&a%dy%dC:cv=\E&a%dY:ho=\E&a0y0C:ll=\E&a0y0C\EA:\
9520         :tc=newhp:
9522 # (hp+labels: added label values from a BRL termcap -- esr)
9523 hp+labels|"standard" label info for new HP ttys:\
9524         :Nl#8:lh#2:lw#8:\
9525         :LF=\E&j@:LO=\E&jB:l0=f1:l1=f2:l2=f3:l3=f4:l4=f5:l5=f6:l6=f7:\
9526         :l7=f8:\
9527         :..pn=\E&f2a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s:
9529 hp+printer|"standard" printer info for HP ttys:\
9530         :ff=\E&p4u0C:pf=\E&p13C:po=\E&p11C:ps=\EH\E&p4dF:
9533 # The new hp2621b is kind of a cross between the old 2621 and the
9534 # new 262x series of machines. It has dip-switched options. 
9535 # The firmware has a bug in it such that if you give it a null 
9536 # length label, the following character is eaten!
9537 hp2621b|hp 2621b with old style keyboard:\
9538         :Nl#8:lh#1:lm#48:lw#8:\
9539         :LO=\E&jB:kF=\ET:kH=\EF:kR=\ES:kd=\EB:kh=\Eh:kl=\ED:kr=\EC:\
9540         :ku=\EA:\
9541         :..pn=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d3L%?%ga%!%t%{32}%c%;%p2%s\E%{111}%p1%+%c\r:tc=hp2621:
9543 hp2621b-p|hp 2621b with printer:\
9544         :tc=hp+printer:tc=hp2621b:
9546 # hp2621b - new 2621b with new extended keyboard
9547 # these are closer to the new 26xx series than the other 2621b
9548 hp2621b-kx|hp 2621b with extended keyboard:\
9549         :tc=newhpkeyboard:tc=hp2621b:
9551 hp2621b-kx-p|hp 2621b with new keyboard & printer:\
9552         :tc=hp+printer:tc=hp2621b-kx:
9554 # Some assumptions are made in the following entries.
9555 # These settings are NOT set up by the initialization strings.
9557 #    Port Configuration
9558 # RecvPace=Xon/Xoff     XmitPace=Xon/Xoff       StripNulDel=Yes
9560 #    Terminal Configuration
9561 # InhHndShk(G)=Yes      InhDC2(H)=Yes
9562 # XmitFnctn(A)=No               InhEolWrp=No
9565 # Hp 2622a & hp2623a display and graphics terminals
9567 hp2622|hp2622a|hp 2622:\
9568         :da:db:\
9569         :lm#0:pb#19200:\
9570         :is=\E&dj@\r:tc=hp+pfk+cr:tc=hp+labels:tc=scrhp:
9572 # The 2623 is a 2622 with extra graphics hardware.
9573 hp2623|hp2623a|hp 2623:\
9574         :tc=hp2622:
9576 hp2624b-p|hp2624b-4p-p|hewlett packard 2624 B with printer:\
9577         :tc=hp+printer:tc=hp2624:
9579 # The hewlett packard B can have an optional extra 6 pages of memory.
9580 hp2624-10p|hp2624a-10p|hp2624b-10p|hewlett packard 2624 B w/ 10 pages of memory:\
9581         :lm#240:tc=hp2624:
9583 hp2624b-10p-p|hewlett packard 2624 B w/ extra memory & printer:\
9584         :lm#240:tc=hp2624b-p:
9586 # Color manipulations for HP terminals
9587 hp+color|hp with colors:\
9588         :cc:\
9589         :Co#16:NC#17:pa#7:\
9590         :..Ip=\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:\
9591         :oc=\E&v0m1a1b1c0I\E&v1a1I\E&v1b2I\E&v1a1b3I\E&v1c4I\E&v1a1c5I\E&v1b1c6I\E&v1x1y7I:\
9592         :op=\E&v0S:sp=\E&v%dS:
9594 # :is: sets the screen to be 80 columns wide
9595 hp2397a|hp2397|hewlett packard 2397A color terminal:\
9596         :is=\E&w6f80X:\
9597         :tc=memhp:tc=hp+labels:tc=hp+color:
9600 # (hp2392: copied :ei: here from hpex -- esr)
9601 hp2392|239x series:\
9602         :co#80:\
9603         :bt=\Ei:cm=\E&a%dy%dC:cv=\E&a%dY:ei=\ER:im=\EQ:k1=\Ep\r:\
9604         :k2=\Eq\r:k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:k7=\Ev\r:\
9605         :k8=\Ew\r:kF=\EU:kN=\Eu:kP=\Ev:kR=\EV:kh=\Eh:ue=\E&d@:\
9606         :us=\E&dD:\
9607         :tc=hpsub:
9609 hpsub|hp terminals -- capability subset:\
9610         :am:da:db:mi:xo:xs:\
9611         :li#24:\
9612         :al=\EL:bl=^G:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\EH\EJ:cr=^M:\
9613         :dc=\EP:dl=\EM:do=\EB:if=/usr/share/tabset/stdcrt:\
9614         :is=\E&s1A\E<\E&k0\:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:\
9615         :kr=\EC:ks=\E&s1A:ku=\EA:le=^H:me=\E&d@:nd=\EC:se=\E&d@:\
9616         :sf=^J:so=\E&dB:ta=^I:up=\EA:
9618 # hpex:
9619 #       May be used for most 24 x 80 hp terminals,
9620 # but has no padding added, so may allow runover in some terminals at high 
9621 # baud rates.  Will not work for hp2640a or hp2640b terminals, hp98x6 and 
9622 # hp98x5 terminal emulators or hp98x6 consoles.  
9623 #       Adds xy-cursor addressing, vertical cursor addressing, home, 
9624 # last line, and underline capabilities.
9626 # (hpex: removed memory-lock capabilities ":ml=\El:mu=\Em:",
9627 # moved :ei: here from hpsub -- esr)
9628 hpex|hp extended capabilites:\
9629         :cm=\E&a%dy%dC:cr=^M:cv=\E&a%dY:do=^J:ei=\ER:im=\EQ:kb=^H:\
9630         :kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:ue=\E&d@:us=\E&dD:\
9631         :tc=hpsub:
9633 # From: Ville Sulko <Ville.Sulko@bip.atk.tpo.fi>, 05 Aug 1996
9634 hp2|hpex2|hewlett-packard extended capabilities newer version:\
9635         :am:da:db:mi:xs:\
9636         :Nl#8:co#80:lh#2:li#24:lm#0:lw#8:sg#0:\
9637         :LF=\E&j@:LO=\E&jB:al=\EL:bl=^G:cd=\EJ:ce=\EK:ch=\E&a%dC:\
9638         :cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:cr=^M:ct=\E3:cv=\E&a%dY:\
9639         :dc=\EP:dl=\EM:do=\EB:ei=\ER:im=\EQ:k1=\Ep:k2=\Eq:k3=\Er:\
9640         :k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:kA=\EL:kC=\EJ:kD=\EP:\
9641         :kE=\EK:kF=\ES:kH=\EF:kI=\EQ:kL=\EM:kM=\ER:kN=\EU:kP=\EV:\
9642         :kR=\ET:kS=\EJ:kT=\E1:ka=\E3:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:\
9643         :kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:ku=\EA:le=^H:me=\E&d@:\
9644         :ml=\El:mu=\Em:nd=\EC:..pk=\E&f%p1%dk%p2%l%dL%p2%s:\
9645         :..pl=\E&f1a%p1%dk%p2%l%dL%p2%s:\
9646         :..pn=\E&f%p1%dk%p2%l%dd0L%p2%s:\
9647         :..px=\E&f2a%p1%dk%p2%l%dL%p2%s:\
9648         :..sa=\E&d%?%p7%t%{115}%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%{64}%+%c%?%p9%t%'\016'%c%e%'\017'%c%;:\
9649         :se=\E&d@:sf=^J:so=\E&dB:st=\E1:ta=^I:ue=\E&d@:up=\EA:\
9650         :us=\E&dD:
9652 # HP 236 console
9653 # From: <ddavis@ic.berkeley.edu>
9654 hp236|hp236 internal terminal emulator:\
9655         :am:bs:\
9656         :co#80:li#24:\
9657         :al=\EG:ce=\EK:cl=\EF:cm=\EE%+ %+ :dc=\EJ:dl=\EH:ei=:ic=\EI:\
9658         :im=:le=^H:me=\ECI:se=\ECI:so=\EBI:up=^K:ve=\EDE:vs=\EDB:
9660 # This works on a hp300 console running Utah 4.3 BSD
9661 # From: Craig Leres <leres@okeeffe.berkeley.edu>
9662 hp300h|HP Catseye console:\
9663         :am:bs:da:db:mi:xs:\
9664         :co#128:li#51:lm#0:sg#0:\
9665         :al=\EL:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:ch=\E&a%dC:\
9666         :cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:cr=^M:ct=\E3:cv=\E&a%dY:\
9667         :dc=\EP:dl=\EM:do=\EB:ei=\ER:if=/usr/share/tabset/stdcrt:\
9668         :im=\EQ:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:\
9669         :ks=\E&s1A:ku=\EA:le=^H:me=\E&d@:nd=\EC:se=\E&d@:sf=^J:\
9670         :so=\E&dB:ta=^I:ue=\E&d@:up=\EA:us=\E&dD:
9671 # From: Greg Couch <gregc@ernie.berkeley.edu>
9672 hp9837|hp98720|hp98721|HP 9000/300 workstations:\
9673         :am:bs:da:db:mi:xs:\
9674         :co#128:it#8:li#46:lm#0:\
9675         :al=\EL:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:ch=\E&a%dC:\
9676         :cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:ct=\E3:cv=\E&a%dY:dc=\EP:\
9677         :dl=\EM:do=\EB:ei=\ER:im=\EQ:is=\E&v0m1b0i&j@:kA=\EL:\
9678         :kD=\EP:kE=\EK:kI=\EQ:kL=\EM:kN=\EU:kP=\EV:kS=\EJ:kb=^H:\
9679         :kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:ku=\EA:\
9680         :le=^H:me=\E&d@:nd=\EC:se=\E&v0S:sf=^J:so=\E&v5S:st=\E1:\
9681         :ta=^I:ue=\E&d@:up=\EA:us=\E&dD:
9682 # HP 9845 desktop computer from BRL
9683 # (hp9845: removed unknown capability :gu: -- esr)
9684 hp9845|HP 9845:\
9685         :am:bs:da:db:eo:mi:xs:\
9686         :co#80:li#21:\
9687         :al=\EL:bc=\ED:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\E&a%r%2c%2Y:\
9688         :dc=\EP:dl=\EM:ei=\ER:if=/usr/share/tabset/std:im=\EQ:\
9689         :nd=\EC:se=\E&d@:so=\E&dB:up=\EA:
9690 # From: Charles A. Finnell of MITRE <finnell@mitre.org>, developed 07SEP90
9691 # (hp98550: replaced /usr/share/tabset/9837 with std because :it#8:,:st=\E1:;
9692 # added empty <acsc> to avoid warnings re :as:/:ae: --esr)
9693 hp98550|hp98550a|HP 9000 Series 300 color console:\
9694         :am:bs:da:db:mi:xs:\
9695         :co#128:it#8:li#49:lm#0:\
9696         :ac=:ae=^O:al=\EL:as=^N:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:\
9697         :ch=\E&a%dC:cl=\EH\EJ:cm=\E&a%dy%dC:cr=^M:ct=\E3:\
9698         :cv=\E&a%dY:dc=\EP:dl=\EM:do=^J:ei=\ER:\
9699         :if=/usr/share/tabset/std:im=\EQ:k1=\Ep:k2=\Eq:k3=\Er:\
9700         :k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:kA=\EL:kC=\EJ:kD=\EP:\
9701         :kE=\EK:kF=\ES:kH=\EF:kI=\EQ:kL=\EM:kM=\ER:kN=\EU:kP=\EV:\
9702         :kR=\ET:kS=\EJ:kT=\E1:ka=\E3:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:\
9703         :kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:ku=\EA:le=^H:mb=\E&dA:\
9704         :md=\E&dJ:me=\E&d@:mh=\E&dH:mk=\E&ds:mr=\E&dJ:nd=\EC:\
9705         :se=\E&d@:sf=^J:so=\E&dJ:st=\E1:ta=^I:ue=\E&d@:up=\EA:\
9706         :us=\E&dD:ve=\E*dQ:vi=\E*dR:
9708 bobcat|sbobcat|HP 9000 model 300 console:\
9709         :am:da:db:mi:xs:\
9710         :co#128:it#8:li#47:sg#0:\
9711         :al=10*\EL:bt=\Ei:cd=\EJ:ce=\EK:ch=6\E&a%dC:cl=\EH\EJ:\
9712         :cm=6\E&a%dy%dC:cr=^M:cv=6\E&a%dY:dc=\EP:dl=10*\EM:do=\EB:\
9713         :ei=\ER:im=\EQ:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:\
9714         :ks=\E&s1A:ku=\EA:le=^H:me=\E&d@:nd=\EC:nw=^M^J:se=\E&d@:\
9715         :sf=^J:so=\E&dB:ta=^I:ue=\E&d@:up=\EA:us=\E&dD:
9716 gator-t|HP 9000 model 237 emulating extra-tall AAA:\
9717         :li#94:tc=gator:
9718 gator|HP 9000 model 237 emulating AAA:\
9719         :bw:km:mi:ul:\
9720         :co#128:it#8:li#47:\
9721         :AL=1*\E[%dL:DC=4\E[%dP:DL=1*\E[%dM:IC=4\E[%d@:al=\E[L:\
9722         :bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%i%d`:cl=\E[H\E[J:\
9723         :cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=:ho=\E[H:\
9724         :ic=\E[@:im=:kb=^H:kd=^J:kl=^H:le=^H:me=\E[m:mr=\E[7m:\
9725         :nd=\E[C:nw=^M^J:rp=1*%.\E[%db:se=\E[m:so=\E[7m:ta=^I:\
9726         :ue=\E[m:up=\EM:us=\E[4m:
9727 gator-52|HP 9000 model 237 emulating VT52:\
9728         :co#128:li#47:tc=vt52:
9729 gator-52t|HP 9000 model 237 emulating extra-tall VT52:\
9730         :li#94:tc=gator-52:
9732 #### Honeywell-Bull
9734 # From: Michael Haardt <michael@gandalf.moria> 11 Jan 93
9737 # Honeywell Bull terminal.  Its cursor and function keys send single
9738 # control characters and it has standout/underline glitch.  Most programs
9739 # do not like these features/bugs.  Visual bell is realized by flashing the
9740 # "keyboard locked" LED.
9741 dku7003-dumb|Honeywell Bull DKU 7003 dumb mode:\
9742         :co#80:li#25:\
9743         :cd=^_:ce=\E[K:cl=^]^_:cm=\E[%i%d;%dH:cr=^M:do=^K:ho=^]:\
9744         :kb=^H:kd=^K:kh=^]:kl=^Y:kr=^X:ku=^Z:le=^Y:nd=^X:nw=^M^J:\
9745         :sf=^J:ta=^I:up=^Z:vb=\E[2h\E[2l:
9746 dku7003|Honeywell Bull DKU 7003 all features described:\
9747         :ms:\
9748         :sg#1:\
9749         :mb=\E[5m:md=\E[7m:me=\E[m:mh=\E[2m:mr=\E[7m:se=\E[m:\
9750         :so=\E[7m:ue=\E[m:us=\E[4m:\
9751         :tc=dku7003-dumb:
9753 #### IBM
9756 ibm327x|line mode IBM 3270 style:\
9757         :gn:\
9758         :ce=^M:cl=^M^J:ho=^M:
9760 # Beware! The 3101 entry IBM shipped with AIX 3 is *wrong*.  Losers...
9761 # From: J.B. Nicholson-Owens <jeffo@uiuc.edu> 8 Mar 94
9762 # (ibm3101: :if=/usr/share/tabset/ibm3101: removed, no such file -- esr)
9763 # Some versions of this that have :ct=\EH:; they may ort may not be broken.
9764 ibm3101|i3101|IBM 3101-10:\
9765         :am:bs:xo:\
9766         :co#80:li#24:\
9767         :bl=^G:cd=\EJ:ce=\EI:cl=\EK:cm=\EY%+ %+ :cr=^M:ct=\E1:do=^J:\
9768         :ho=\EH:kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:\
9769         :nw=^M^J:sf=^J:st=\E0:ta=^I:up=\EA:
9770 ibm3151|IBM 3151 display:\
9771         :ae=\E>B:as=\E>A:is=\E S:me=\E4@\E>B:r2=\E S:s0=\E>B:\
9772         :..sa=\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%;:\
9773         :te=\E>B:ti=\E>B:\
9774         :tc=ibm3163:
9775 # From: Mark Easter <marke@fsi-ssd.csg.ssd.fsi.com> 29 Oct 1992 
9776 # I've commented out or translated some IBM extensions.
9777 # <kend>, :kN:, :kP:, <mc4>, <mc5> merged in from AIX 3.2.5  
9778 ibm3161|ibm3163|wy60-316X|wyse60-316X|IBM 3161/3163 display:\
9779         :am:bs:mi:ms:\
9780         :co#80:it#8:li#24:\
9781         :@7=\E2:F1=\Ek\r:F2=\El\r:F3=\E\041a\r:F4=\E\041b\r:\
9782         :F5=\E\041c\r:F6=\E\041d\r:F7=\E\041e\r:F8=\E\041f\r:\
9783         :F9=\E\041g\r:FA=\E\041h\r:FB=\E\041i\r:FC=\E\041j\r:\
9784         :FD=\E\041k\r:FE=\E\041l\r:\
9785         :ac=j\352k\353l\354m\355n\356q\361t\364u\365v\366w\367x\370:\
9786         :bl=^G:cd=\EJ:ce=\EI:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:dc=\EQ:\
9787         :dl=\EO:do=\EB:ho=\EH:k1=\Ea\r:k2=\Eb\r:k3=\Ec\r:k4=\Ed\r:\
9788         :k5=\Ee\r:k6=\Ef\r:k7=\Eg\r:k8=\Eh\r:k9=\Ei\r:k;=\Ej\r:\
9789         :kA=\EN:kB=\E2:kC=\EL\r:kD=\EQ:kE=\EI:kI=\EP \010:kL=\EO:\
9790         :kN=\EI:kP=\EL:kS=\EJ:kT=\E0:ka=\E 1:kb=^H:kd=\EB:kh=\EH:\
9791         :kl=\ED:kr=\EC:kt=\E1:ku=\EA:le=\ED:mb=\E4D:md=\E4H:\
9792         :me=\E4@\E<@:mk=\E4P:mr=\E4A:nd=\EC:pf=^P^T:po=^P^R:\
9793         :..sa=\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<@%;:\
9794         :se=\E4@:sf=^J:so=\E4A:te=\E>A:ti=\E>A:ue=\E4@:up=\EA:\
9795         :us=\E4B:
9797 ibm3161-C|IBM 3161-C NLS terminal using cartridge:\
9798         :s0=\E>B:s1=\E>A:te=\E>B:ti=\E>B:\
9799         :tc=ibm3161:
9800 ibm3162|IBM 3162 display:\
9801         :al=\EN:mb=\E4$a:md=\E4(a:me=\E4@:mk=\E40a:mr=\E4\041a:\
9802         :se=\E4>b:so=\E4\041a:ue=\E4=b:us=\E4"a:\
9803         :tc=ibm3161-C:
9805 # How the 3164 sgr string works:
9806 #       %{32}           # push space for no special video characteristics
9807 #       %?%p2%t%{1}%|%; # if p2 set, then OR the 1 bit for reverse
9808 #       %?%p3%t%{4}%|%; # if p3 set, then OR the 4 bit for blink
9809 #       %?%p4%t%{2}%|%; # if p4 set, then OR the 2 bit for underline
9810 #       %c              # pop Pa1
9811 #       %{39}%p1%-      # calculate 32 + (7 - p1) for foreground
9812 #       %c              # pop Pa2 
9813 #       %{64}           # use only black background for now
9814 #       %c              # pop Pa3
9815 # (ibm3164: merged :ms:,<colors>,<pairs>,<setb>,<setf> from AIX 3.2.5 -- esr)
9816 ibm3164|i3164|IBM 3164:\
9817         :ms:\
9818         :Co#8:pa#64:\
9819         :Sb=\E4  %+@:..Sf=\E4%?%p1%t %p1%{32}%+%c%e\041'%;@:\
9820         :mb=\E4D:md=\E4H:me=\E4@:\
9821         :..sa=\E4%{32}%?%p2%t%{1}%|%;%?%p3%t%{4}%|%;%?%p4%t%{2}%|%;%c%{39}%p1%-%c%{64}%c:tc=ibm3163:
9823 # From: <pryor@math.berkeley.edu>
9824 # (ibm5081: merged acsc, s0ds, s1ds, sgr0 into ibm5081 from AIX 3.2.5. -- esr)
9825 ibm5081|ibmmpel|IBM 5081 1024x1024 256/4096 Megapel color display:\
9826         :es:hs:\
9827         :li#33:\
9828         :ac=jjkkllmmnnqqttuuvvwwxx:ds=\Ej\EYA \EI\Ek:fs=\Ek:\
9829         :me=\E[0m\E(B:s0=\E(B:s1=\E(0:ts=\Ej\EYA%+ \Eo:\
9830         :tc=ibmmono:
9831 ibm5081-c|ibmmpel-c|IBM 5081 1024x1024 256/4096 Megapel enhanced color display:\
9832         :es:hs:\
9833         :li#33:\
9834         :ds=\Ej\EYA \EI\Ek:fs=\Ek:ts=\Ej\EYA%+ \Eo:tc=ibmega-c:
9835 # (untranslatable capabilities removed to fit entry within 1023 bytes)
9836 # (sgr removed to fit entry within 1023 bytes)
9837 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
9838 ibm5151|wy60-AT|wyse60-AT|IBM 5151 Monochrome display:\
9839         :am:bw:ms:xo:\
9840         :co#80:it#8:li#25:\
9841         :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
9842         :SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:al=\E[L:bl=^G:cd=\E[J:\
9843         :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:\
9844         :dl=\E[M:do=^J:ec=\E[%dX:ei=\E[4l:ho=\E[H:im=\E[4h:is=\Ec:\
9845         :k0=\E[010q:k1=\E[001q:k2=\E[002q:k3=\E[003q:k4=\E[004q:\
9846         :k5=\E[005q:k6=\E[006q:k7=\E[007q:k8=\E[008q:k9=\E[009q:\
9847         :kD=\E[P:kI=\E[139q:kN=\E[154q:kP=\E[150q:kb=^H:kd=\E[B:\
9848         :kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
9849         :me=\E[0m:mr=\E[7m:nd=\E[C:rc=\E[u:sc=\E[s:se=\E[m:sf=\E[S:\
9850         :so=\E[7m:sr=\E[T:ue=\E[m:up=\E[A:us=\E[4m:
9851 ibm5154|IBM 5154 Color display:\
9852         :Co#8:pa#64:\
9853         :AB=\E[4%p1%dm:AF=\E[3%p1%dm:md@:tc=ibm5151:
9854 ibm6153|IBM 6153 Black & White display:\
9855         :mb@:md=\E[12m:me=\E[0;10m:s0=\E[10m:s1=\E[11m:s2=\E[12m:\
9856         :..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;12%;m:\
9857         :tc=ibm5151:
9858 ibm6153-90|IBM 6153 Black & White display:\
9859         :co#90:li#36:\
9860         :mb@:md@:tc=ibm5151:
9861 ibm6153-40|IBM 6153 Black & White display:\
9862         :co#40:li#12:tc=ibm6153-90:
9863 ibm6154|IBM 6154 Color displays:\
9864         :mb@:md=\E[12m:me=\E[0;10m:s0=\E[10m:s1=\E[11m:s2=\E[12m:\
9865         :..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;12%;m:\
9866         :tc=ibm5154:
9867 ibm6155|IBM 6155 Black & White display:\
9868         :mb@:md@:tc=ibm5151:
9869 ibm8503|ibm8507|ibm8604|IBM 8503 B & W VGA display:\
9870         :tc=hft-c:
9871 ibm8512|ibm8513|IBM color VGA Terminal:\
9872         :am:mi:ms:\
9873         :co#80:it#8:li#25:\
9874         :AL=\E[%dL:DL=\E[%dM:RA=\E[?7l:SA=\E[?7h:\
9875         :ac=jjkkllmmnnqqttuuvvwwxx:ae=^O:al=\E[L:as=^N:cd=\E[J:\
9876         :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:dl=\E[M:dm=\E[4h:\
9877         :do=^J:ec=\E[%dX:ed=\E[4l:ei=\E[4l:ho=\E[H:im=\E[4h:\
9878         :is=\Eb\E[m\017\E[?7h:k0=\E[010q:k1=\E[001q:k2=\E[002q:\
9879         :k3=\E[003q:k4=\E[004q:k5=\E[005q:k6=\E[006q:k7=\E[007q:\
9880         :k8=\E[008q:k9=\E[009q:kd=\E[B:kh=\E[H:ku=\E[A:le=\E[D:\
9881         :mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
9882         :r1=\Eb\E[m\017\E[?7h\E[H\E[J:rc=\E[u:sc=\E[s:se=\E[m:\
9883         :so=\E[7m:te=\E[20h:ti=\E[20;4l\E[?7h\Eb:ue=\E[m:up=\E[A:\
9884         :us=\E[4m:\
9885         :tc=ibm8503:
9886 ibm8514|IBM 8514 color display:\
9887         :es:hs:\
9888         :li#41:\
9889         :cr=^M:do=^J:ds=\Ej\EYI \EI\Ek:fs=\Ek:kb=^H:kd=^J:kl=^H:\
9890         :nw=^M^J:sf=^J:ta=^I:ts=\Ej\EYI%+ \Eo:\
9891         :tc=ibmega:
9892 ibm8514-c|IBM 8514 color display with standout and underline:\
9893         :es:hs:\
9894         :li#41:\
9895         :cr=^M:do=^J:ds=\Ej\EYI \EI\Ek:fs=\Ek:kb=^H:kd=^J:kl=^H:\
9896         :nw=^M^J:sf=^J:ta=^I:ts=\Ej\EYI%+ \Eo:\
9897         :tc=ibmega-c:
9899 ibmaed|IBM Experimental display:\
9900         :am:bs:eo:ms:\
9901         :co#80:it#8:li#52:\
9902         :al=\EN:cd=\EJ:ce=\EI:cl=\EH\EK:cm=\EY%+ %+ :dc=\EQ:dl=\EO:\
9903         :do=\EB:ei=:ho=\EH:ic=\EP:im=:kb=^H:kd=\EB:kl=\ED:kr=\EC:\
9904         :ku=\EA:le=^H:me=\E0:nd=\EC:se=\E0:so=\E0:ta=^I:up=\EA:\
9905         :vb=\EG:
9906 ibm-apl|apl|IBM apl terminal simulator:\
9907         :li#25:tc=dm1520:
9908 # (ibmmono: this had an unknown `sb' boolean, I changed it to `bs'.  
9909 # Also it had ":I0=f10:" which pretty obviously should be "l0=f10" -- esr)
9910 ibmmono|IBM workstation monochrome:\
9911         :es:hs:\
9912         :al=\EL:dl=\EM:ds=\Ej\EY8 \EI\Ek:fs=\Ek:k0=\E<:k1=\ES:\
9913         :k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:k8=\ER:k9=\EY:\
9914         :kF=\EE:kI=\0:kN=\EE:kP=\Eg:kR=\EG:kb=^H:kh=\EH:l0=f10:\
9915         :md=\EZ:me=\Ew\Eq\Ez\EB:mk=\EF\Ef0;\Eb0;:mr=\Ep:se=\Ez:\
9916         :so=\EZ:sr=\EA:ts=\Ej\EY8%+ \Eo:ue=\Ew:us=\EW:\
9917         :tc=ibm3101:
9918 ibmega|IBM Enhanced Color Display:\
9919         :cr=^M:do=^J:kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:tc=ibmmono:
9920 ibmega-c|ibm5154-c|IBM Enhanced Color Display with standout and underline:\
9921         :se=\EB:so=\EF\Ef3;:ue=\EB:us=\EF\Ef2;:\
9922         :tc=ibmmono:
9923 ibmvga-c|IBM VGA display color termcap:\
9924         :cr=^M:do=^J:kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:tc=ibmega-c:
9925 ibmvga|IBM VGA display:\
9926         :cr=^M:do=^J:kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:tc=ibmega:
9927 # ibmapa* and ibmmono entries come from ACIS 4.3 distribution
9928 rtpc|ibmapa16|IBM 6155 Extended Monochrome Graphics Display:\
9929         :li#32:\
9930         :ds=\Ej\EY@ \EI\Ek:ts=\Ej\EY@%+ \Eo:tc=ibmmono:
9931 # Advanced Monochrome (6153) and Color (6154) Graphics Display:
9932 ibmapa8c|ibmapa8|IBM 6153/4 Advanced Graphics Display:\
9933         :li#31:\
9934         :ds=\Ej\EY? \EI\Ek:ts=\Ej\EY?%+ \Eo:tc=ibmmono:
9935 ibmapa8c-c|ibm6154-c|IBM 6154 Advanced Color Graphics Display:\
9936         :li#31:\
9937         :ds=\Ej\EY? \EI\Ek:mh=\EF\Ef7;:ts=\Ej\EY?%+ \Eo:tc=ibmega-c:
9938 hft-c-old|HFT with Color PC850:\
9939         :Co#8:pa#64:\
9940         :AB=\E[4%p1%dm:AF=\E[3%p1%dm:tc=ibm5151:
9941 # From: Marc Pawliger <marc@ibminet.awdpa.ibm.com>
9942 # also in /usr/lpp/bos/bsdsysadmin.
9943 # (hft-c: this entry had :kb=\E[D:kf=\E[C: on the line with ku/kd/kh; this was
9944 # pretty obviously mislabeled for :le: and :nd:; also ":ul=\E[4m:" was clearly
9945 # a typo for ":us=\E[4m:"; also ":el=\E[K:" was a typo for ":ce=\E[K:".
9946 # I also added <rmam>/<smam> based on the terminal reset string.
9947 # There was an unknown boolean ":ht:" which I assume was meant to set hardware
9948 # tabs, so I have inserted it#8. Finally, :ac=^N: paired with the :ae: looked
9949 # like a typo for :as=^N:; finally, added empty <acsc> to quiet tic -- esr)
9950 hft-c|IBM High Function Terminal:\
9951         :am:mi:ms:\
9952         :co#80:it#8:li#25:\
9953         :AL=\E[%dL:DL=\E[%dM:RA=\E[?7l:SA=\E[?7h:\
9954         :ac=jjkkllmmnnqqttuuvvwwxx:ae=^O:al=\E[L:as=^N:cd=\E[J:\
9955         :ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:dl=\E[M:dm=\E[4h:\
9956         :do=^J:ec=\E[%dX:ed=\E[4l:ei=\E[4l:ho=\E[H:im=\E[4h:\
9957         :is=\Eb\E[m\017\E[?7h:k0=\E[010q:k1=\E[001q:k2=\E[002q:\
9958         :k3=\E[003q:k4=\E[004q:k5=\E[005q:k6=\E[006q:k7=\E[007q:\
9959         :k8=\E[008q:k9=\E[009q:kd=\E[B:kh=\E[H:ku=\E[A:le=\E[D:\
9960         :mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
9961         :r1=\Eb\E[m\017\E[?7h\E[H\E[J:rc=\E[u:sc=\E[s:se=\E[m:\
9962         :so=\E[7m:te=\E[20h:ti=\E[20;4l\E[?7h\Eb:ue=\E[m:up=\E[A:\
9963         :us=\E[4m:
9964 hft|AIWS High Function Terminal:\
9965         :am:xo:\
9966         :co#80:li#25:\
9967         :al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
9968         :cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=\E6:ho=\E[H:\
9969         :ic=\E[@:im=\E6:k1=\E[001q:k2=\E[002q:k3=\E[003q:\
9970         :k4=\E[004q:k5=\E[005q:k6=\E[006q:k7=\E[007q:k8=\E[008q:\
9971         :k9=\E[009q:kN=\E[153q:kP=\E[159q:ka=\E[010q:kb=^H:\
9972         :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
9973         :md=\E[1m:me=\E[m:mk=\E[8m:mr=\E[7m:nd=\E[C:se=\E[m:sf=^J:\
9974         :so=\E[7m:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
9975 ibm-system1|system1|ibm system/1 computer:\
9976         :am:xt:\
9977         :co#80:li#24:\
9978         :bl=^G:cl=^Z:cm=\005%+ %+ :ho=^K:le=^H:nd=^\:sf=^J:up=^^:
9979 #       lft-pc850 : IBM Low Function Terminal Device
9980 #    lft "supports" underline, bold, and blink in the sense that the lft code
9981 #    sets all the right bits.  HOWEVER, depending upon the adapter, these
9982 #    attributes may or may not be supported by the device driver.
9983 # (untranslatable capabilities removed to fit entry within 1023 bytes)
9984 # (sgr removed to fit entry within 1023 bytes)
9985 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
9986 lft|lft-pc850|LFT-PC850|IBM LFT PC850 Device:\
9987         :am:bw:ms:xo:\
9988         :co#80:it#8:li#25:\
9989         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
9990         :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
9991         :ae=\E(B:al=\E[L:as=\E(0:bl=^G:bt=\E[Z:cd=\E[2J:ce=\E[0K:\
9992         :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:dc=\E[P:\
9993         :dl=\E[M:do=^J:ec=\E[%dX:ei=\E[4l:ho=\E[H:im=\E[4h:is=\Ec:\
9994         :k1=\E[001q:k2=\E[002q:k3=\E[003q:k4=\E[004q:k5=\E[005q:\
9995         :k6=\E[006q:k7=\E[007q:k8=\E[008q:k9=\E[009q:kD=\E[P:\
9996         :kI=\E[139q:kN=\E[154q:kP=\E[150q:kb=^H:kd=\E[B:kh=\E[H:\
9997         :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:\
9998         :mr=\E[7m:nd=\E[C:se=\E[0m:sf=\ED:so=\E[7m:sr=\EL:ue=\E[0m:\
9999         :up=\E[A:us=\E[4m:
10002 # AIX entries.  IBM ships these with AIX 3.2.5. 
10003 # AIX extension caps are commented out,
10004 # except for box1 which has been translated to an <acsc> string.
10006 aixterm|IBM Aixterm Terminal Eemulator:\
10007         :es:hs:\
10008         :ac=jjkkllmmnnqqttuuvvwwxx:ds=\E[?E:fs=\E[?F:md=\E[1m:\
10009         :me=\E[0;10m\E(B:s0=\E(B:s1=\E(0:\
10010         :..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;m:\
10011         :sr@:ts=\E[?%p1%dT:\
10012         :tc=ibm6154:
10013 aixterm-m|IBM AIXterm Monochrome Terminal Emulator:\
10014         :es:hs:\
10015         :ac=jjkkllmmnnqqttuuvvwwxx:ds=\E[?E:fs=\E[?F:md=\E[1m:\
10016         :me=\E[0;10m\E(B:s0=\E(B:s1=\E(0:\
10017         :..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m:\
10018         :sr@:ts=\E[?%p1%dT:\
10019         :tc=ibm6153:
10020 aixterm-m-old|old IBM AIXterm Monochrome Terminal Emulator:\
10021         :es:hs:\
10022         :ds=\E[?E:fs=\E[?F:md=\E[1m:\
10023         :..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m:\
10024         :sr@:ts=\E[?%p1%dT:\
10025         :tc=ibm6153:
10026 jaixterm|IBM Kanji Aixterm Terminal Eemulator:\
10027         :ac@:tc=aixterm:
10028 jaixterm-m|IBM Kanji AIXterm Monochrome Terminal Emulator:\
10029         :ac@:\
10030         :tc=aixterm-m:
10032 #### Infoton/General Terminal Corp.
10035 # gt100 sounds like something DEC would come out with.  Let's hope they don't.
10036 i100|gt100|gt100a|General Terminal 100A (formerly Infoton 100):\
10037         :am:bs:\
10038         :co#80:li#24:\
10039         :al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=^L:cm=\Ef%r%+ %+ :cr=^M:\
10040         :dl=\EM:do=^J:ho=\EH:le=^H:nd=\EC:se=\Ea:sf=^J:so=\Eb:up=\EA:\
10041         :vb=\Eb\Ea:
10042 i400|infoton 400:\
10043         :am:bs:\
10044         :co#80:li#25:\
10045         :al=\E[L:bl=^G:ce=\E[N:cl=\E[2J:cm=%i\E[%3;%3H:cr=^M:\
10046         :dc=\E[4h\E[2Q\E[P\E[4l\E[0Q:dl=\E[M:do=^J:\
10047         :ei=\E[4l\E[0Q:im=\E[4h\E[2Q:le=^H:nd=\E[C:sf=^J:up=\E[A:
10048 # (addrinfo: removed obsolete ":bc=^Z:" -- esr)
10049 addrinfo:\
10050         :am:\
10051         :co#80:li#24:\
10052         :bl=^G:cd=^K:cl=^L:..cm=\037%p1%{1}%-%c%p2%{1}%-%c:cr=^M:\
10053         :do=^J:ho=^H:le=^Z:ll=^H^\:nd=^Y:sf=^J:up=^\:
10054 # (infoton: used to have the no-ops <lh#0>, <lw#0>, <nlab#0> -- esr)
10055 infoton:\
10056         :am:\
10057         :co#80:li#24:\
10058         :bl=^G:cd=^K:cl=^L:cr=^M:do=^J:le=^Z:ll=^H^\:nd=^Y:sf=^J:\
10059         :up=^\:
10061 # The ICL6402 was actually the Kokusai Display System 6402.
10062 # The 6404 was the KDS7372 (color version of the 6402).
10064 # ICL6404 control codes follow:
10066 #code            function
10067 #~~~~~~~~~~~     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10068 #ctrl-A          set SOM position at cursor position
10069 #ctrl-G          Bell
10070 #ctrl-H          Backspace
10071 #ctrl-I          Horiz tab
10072 #ctrl-J          Linefeed
10073 #ctrl-K          Cursor up
10074 #ctrl-L          Cursor right
10075 #ctrl-M          Carriage return
10076 #ctrl-N          Disable xon/xoff to host
10077 #ctrl-O          Enable xon/xoff to host
10078 #ctrl-R          Enable bidirectional mode
10079 #ctrl-T          Disable bidirectional mode
10080 #ctrl-V          Cursor down
10081 #ctrl-Z          Clear unprotected data to insert char
10082 #ctrl-^          Cursor home
10083 #ctrl-_          Newline
10085 #ESC             lead-in char for multiple character command
10087 #ESC space R     execute power on sequence
10088 #ESC ! p1 p2     define scroll region:
10089 #                p1 = scroll top    line:  20h - 37h
10090 #                p1 = scroll bottom line:  20h - 37h
10091 #ESC "           unlock keyboard
10092 #ESC #           lock keyboard
10093 #ESC $           Semi-graphics mode on
10094 #ESC %           Semi-graphics mode off
10095 #ESC &           protect mode on
10096 #ESC '           protect mode off
10097 #ESC (           write protect mode off (full intensity)
10098 #ESC )           write protect mode on (half intensity)
10100 #ESC *           clear screen
10101 #ESC +           clear unprotected data to insert char
10102 #ESC ,           clear unprotected data to half intensity spaces
10103 #ESC - p1 p2 p3 p4     address cursor to page, row, column:
10104 #                      p1 = page number  0 - 3
10105 #                      p2 = row          20h - 7fh
10106 #                      p3 = column (lo)  20h - 7fh
10107 #                      p4 = column (hi)  20h - 21h (only 132 col)
10108 #ESC . p1        set cursor style:
10109 #                p1 = 0  invisible cursor
10110 #                p1 = 1  block blinking cursor
10111 #                p1 = 2  block steady cursor
10112 #                p1 = 3  underline blinking cursor
10113 #                p1 = 4  underline steady cursor
10114 #ESC /           transmit cursor location (page, row, column)
10115 #ESC 0 p1 p2 p3 p4     program edit key:
10116 #                      p1 = edit key code: '@'-'S', '`'-'s'
10117 #                      p2 p3 p4 = program data (3 bytes)
10119 #ESC 1           set tab
10120 #ESC 2           clear tab at cursor
10121 #ESC 3           clear all tabs
10122 #ESC 4           send unprotect line to cursor
10123 #ESC 5           send unprotect page to cursor
10124 #ESC 6           send line to cursor
10125 #ESC 7           send page to cursor
10126 #ESC 8 n         set scroll mode:
10127 #                n = 0   set jump scroll
10128 #                n = 1   set smooth scroll
10129 #ESC 9 n         control display:
10130 #                n = 0   display off
10131 #                n = 1   display on
10132 #ESC :           clear unprotected data to null
10133 #ESC ;           clear unprotected data to insert char
10135 #ESC <           keyclick on
10136 #ESC = p1 p2     address cursor to row, column
10137 #                p1 = row          20h - 7fh
10138 #                p2 = column (lo)  20h - 7fh
10139 #                p3 = column (hi)  20h - 21h (only 132 col)
10140 #ESC >           keyclick off
10141 #ESC ?           transmit cursor location (row, column)
10143 #ESC @           copy print mode on
10144 #ESC A           copy print mode off
10145 #ESC B           block mode on
10146 #ESC C           block mode off (conversation mode)
10147 #ESC D F         set full duplex
10148 #ESC D H         set half duplex
10149 #ESC E           line insert
10150 #ESC F p1 p2     set page colour (p1 = f/grnd, p2 = b/grnd)
10151 #                0 = black, 1 = red,     2 = green, 3 = yellow
10152 #                4 = blue,  5 = magenta, 6 = cyan,  7 = white
10153 #ESC G n         set serial field attribute (n = 30h - 3Fh)
10154 #ESC H n         full graphics mode:
10155 #                n = 0  exit full graphics mode
10156 #                n = 1  enter full graphics mode
10157 #ESC I           back tab
10158 #ESC J           back page
10159 #ESC K           forward page
10161 #ESC L           unformatted page print
10162 #ESC M L         move window left  (132 col mode only)
10163 #ESC M R         move window right (132 col mode only)
10164 #ESC N           set page edit (clear line edit)
10165 #ESC O           set line edit (clear page edit)
10166 #ESC P           formatted page print
10167 #ESC Q           character insert
10168 #ESC R           line delete
10169 #ESC S           send message unprotected only
10170 #ESC T           erase line to insert char
10171 #ESC U           set monitor mode   (see ESC X, ESC u)
10173 #ESC V n         select video attribute mode:
10174 #                n = 0   serial field attribute mode
10175 #                n = 1   parallel character attribute mode
10176 #ESC V 2 n       define line attribute:
10177 #                n = 0   single width single height
10178 #                n = 1   single width double height
10179 #                n = 2   double width single height
10180 #                n = 3   double width double height
10181 #ESC V 3 n       select character font:
10182 #                n = 0   system font
10183 #                n = 1   user defined font
10184 #ESC V 4 n       select screen mode:
10185 #                n = 0   page screen mode
10186 #                n = 1   virtual screen mode
10187 #ESC V 5 n       control mouse mode:
10188 #                n = 0   disable mouse
10189 #                n = 1   enable sample mode
10190 #                n = 2   send mouse information
10191 #                n = 3   enable request mode
10192 #ESC W           character delete
10193 #ESC X           clear monitor mode (see ESC U, ESC u)
10194 #ESC Y           erase page to insert char
10196 #ESC Z n         send user/status line:
10197 #                n = 0   send user line
10198 #                n = 1   send status line
10199 #                n = 2   send terminal ID
10200 #ESC [ p1 p2 p3  set character attribute (parallel char mode):
10201 #                p1: 0 = normal
10202 #                    1 = blank
10203 #                    2 = blink
10204 #                    3 = blink blank (= blank)
10205 #                    4 = reverse
10206 #                    5 = reverse blank
10207 #                    6 = reverse blink
10208 #                    7 = reverse blink blank (= reverse blank)
10209 #                    8 = underline
10210 #                    9 = underline blank
10211 #                    : = underline blink
10212 #                    ; = underline blink blank
10213 #                    < = reverse underline
10214 #                    = = reverse underline blank
10215 #                    > = reverse underline blink
10216 #                    ? = reverse underline blink blank
10217 #                p2, p3: f/grnd, b/grnd colour
10218 #                (see ESC F for colours)
10219 #                use ZZ for mono, eg.
10220 #                    ESC [ 0 Z Z for normal
10221 #                    ESC [ 4 Z Z for inverse etc.
10223 #ESC \ n         set page size:
10224 #                n = 1   24 lines/page
10225 #                n = 2   48 lines/page
10226 #                n = 3   72 lines/page
10227 #                n = 4   96 lines/page
10228 #ESC ] n         set Wordstar mode:
10229 #                n = 0   normal (KDS7372) mode
10230 #                n = 1   Wordstar mode
10232 #ESC b           set foreground colour screen
10234 #ESC c n         enter self-test mode:
10235 #                n = 0   exit self test mode
10236 #                n = 1   ROM test
10237 #                n = 2   RAM test
10238 #                n = 3   NVRAM test
10239 #                n = 4   screen display test
10240 #                n = 5   main/printer port test
10241 #                n = 6   mouse port test
10242 #                n = 7   graphics board test
10243 #                n = 8   graphics memory test
10244 #                n = 9   display all 'E'
10245 #                n = :   display all 'H'
10246 #ESC d           set background colour screen
10248 #ESC e n         program insert char (n = insert char)
10249 #ESC f text CR   load user status line with 'text'
10251 #ESC g           display user status line on 25th line
10252 #ESC h           display system status line on 25th line
10253 #ESC i           tab
10254 #ESC j           reverse linefeed
10255 #ESC k n         duplex/local edit mode:
10256 #                n = 0   duplex edit mode
10257 #                n = 1   local edit mode
10258 #ESC l n         select virtual screen:
10259 #                n = 0   screen 1
10260 #                n = 1   screen 2
10261 #ESC m           save current config to NVRAM
10262 #ESC n p1        select display screen:
10263 #                p1 = 0  screen 1
10264 #                p1 = 1  screen 2
10265 #                p1 = 2  screen 3
10266 #                p1 = 3  screen 4
10267 #ESC o p1 p2     set characters/line and attribute:
10268 #                p1 = 0  80 chars/line
10270 #ESC o p1 p2     set characters/line and attribute:
10271 #                p1 = 0  80 chars/line
10272 #                p1 = 1  132 chars/line
10273 #                p2 = 0  single width single height
10274 #                p2 = 1  single width double height
10275 #                p2 = 2  double width single height
10276 #                p2 = 3  double width double height
10278 #ESC q           insert mode on
10279 #ESC r           edit mode on
10280 #ESC s           send message all
10281 #ESC t           erase line to null
10282 #ESC u           clear monitor mode (see ESC U, ESC X)
10283 #ESC v           autopage mode on
10284 #ESC w           autopage mode off
10285 #ESC x p1 p2 p3  define delimiter code...
10286 #ESC y           erase page to null
10288 #ESC z 2 p1 p2 p3 p4   draw quadrangle:
10289 #                      p1 = starting row
10290 #                      p2 = starting column
10291 #                      p3 = end row
10292 #                      p4 = end column
10294 #ESC { p1 p2 p3 p4     configure main port
10295 #                      (baud, stop bits, parity, word length)
10297 #ESC | p1 p2 text Ctrl-Y    program function key with 'text':
10298 #                        p1 = function key code:
10299 #                             '1' - ';'  normal f1- f11
10300 #                             '<' - 'F'  shifted f1 - f11
10301 #                        p2 = program mode:
10302 #                             1 = FDX
10303 #                             2 = LOC
10304 #                             3 = HDX
10305 #                        Ctrl-Y = terminator
10306 #                        (use Ctrl-P to escape ^P, ^Y )
10308 #ESC } p1 p2 p3 p4     configure printer port
10309 #                      (baud, stop bits, parity, word length)
10310 #ESC ~           send system status
10312 # Codes and info from Peter Disdale <pete@pdlmail.demon.co.uk> 12 May 1997
10314 # Entry is by esr going solely on above information and is UNTESTED.
10315 # This actually looks a lot like a Televideo 9xx.
10316 # This entry uses page 0 and is monochrome; I'm not brave enough to try
10317 # to make color work without a test terminal.  The :am: capability is a guess.
10318 # The initialization string sets conversation mode, blinking underline cursor,
10319 # full duplex, parallel attribute mode, display user status line, white
10320 # foreground, black background, normal highlight.
10322 icl6404|kds7372|icl6402|kds6402|ICL 6404 aka Kokusai Display Systems 7372:\
10323         :am:bs:hs:\
10324         :co#80:li#24:\
10325         :DC=\EW:al=\EE:bl=^G:bt=\EI:cl=\E*:cm=\E=%+ %+P%+P:cr=^M:\
10326         :..cs=\E\041%+%p1%{32}%+%p2%{32} cud1=\026:ct=\E3:\
10327         :dl=\ER:ei=\Er:ho=^^:i1=\EC\E.3\EDF\EV1\Eg\E[0ZZ:im=\Eq:\
10328         :mb=\E[2ZZ:me=\E[0ZZ:mk=\E[1ZZ:mr=\E[4ZZ:nd=^L:nw=^_:\
10329         :r2=\Eo1:\
10330         :..sa=\E[%{0}%?%p1%t%{4}%|%;%?%p2%t%{8}%|%;%?%p3%t%{4}%|%;%?%p4%t%{2}%|%;%?%p7%t%{1}%|%;ZZ:\
10331         :se=\E[%gh%{4}%^%Ph%gh%dZZ:so=\E[8ZZ:st=\E1:ta=^I:\
10332         :ue=\E[%gh%{8}%^%Ph%gh%dZZ:up=^K:us=\E[8ZZ:ve=\E.3:\
10333         :vi=\E.0:vs=\E.1:
10334 icl6404-w|kds7372-w|ICL 6404 aka Kokusai Display Systems 7372 132 cols:\
10335         :r2=\Eo1:\
10336         :tc=icl6404:
10338 #### Interactive Systems Corp
10340 # ISC used to sell OEMed and customized hardware to support ISC UNIX.
10341 # ISC UNIX still exists in 1995, but ISC itself is no more; they got
10342 # bought out by Sun.
10345 # From: <cithep!eric>  Wed Sep 16 08:06:44 1981
10346 # (intext: removed obsolete ":ma=^K^P^R^L^L ::bc=^_:", also the
10347 # ":le=^_:" later overridden -- esr)
10348 intext|Interactive Systems Corporation modified owl 1200:\
10349         :am:bs:\
10350         :co#80:it#8:li#24:sg#1:\
10351         :al=\020:bl=^G:bt=^Y:cd=\026J:ce=^Kp^R:cl=\014:\
10352         :cm=\017%+ %+ :cr=^M:dc=\022:dl=\021:do=^J:ei=^V<:im=^V;:\
10353         :ip=:k0=^VJ\r:k1=^VA\r:k2=^VB\r:k3=^VC\r:k4=^VD\r:k5=^VE\r:\
10354         :k6=^VF\r:k7=^VG\r:k8=^VH\r:k9=^VI\r:kb=^H:kd=^J:ke=^V9:\
10355         :kh=^Z:kl=^_:kr=^^:ks=\036\072\264\026%:ku=^\:le=^H:nd=^^:\
10356         :se=^V# :sf=^J:so=^V$\054:ta=^I:up=^\:
10357 intext2|intextii|INTERACTIVE modified owl 1251:\
10358         :am:bw:ul:\
10359         :co#80:li#24:sg#0:\
10360         :al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%+^AG:\
10361         :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:\
10362         :do=\E[B:ei=:ic=\E[@:im=:k0=\E@\r:k1=\EP\r:k2=\EQ\r:\
10363         :k3=\ES\r:k4=\ET\r:k5=\EU\r:k6=\EV\r:k7=\EW\r:k8=\EX\r:\
10364         :k9=\EY\r:kb=^H:kd=\EB\r:kh=\ER\r:kl=\ED\r:kr=\EC\r:\
10365         :ku=\EA\r:l0=REFRSH:l1=DEL CH:l2=TABSET:l3=GOTO:l4=+PAGE:\
10366         :l5=+SRCH:l6=-PAGE:l7=-SRCH:l8=LEFT:l9=RIGHT:nd=\E[C:\
10367         :se=\E[2 D:sf=\E[S:so=\E[6 D:sr=\E[T:ta=^I:ue=\E[2 D:\
10368         :up=\E[A:us=\E[18 D:\
10369         :vb=\E[;;;;;;;;;2;;u\E[;;;;;;;;;1;;u:
10371 #### Kimtron (abm, kt)
10373 # Kimtron seems to be history, but as March 1998 these people are still 
10374 # offering repair services for Kimtron equipment:
10376 #    Com/Pair Monitor Service
10377 #    1105 N. Cliff Ave.
10378 #    Sioux Falls, South Dakota 57103
10379 #     
10380 #    WATS voice:  1-800/398-4946
10381 #    POTS   fax: +1 605/338-8709
10382 #    POTS voice: +1 605/338-9650
10383 #         Email: <compair@sd.cybernex.net>
10384 #  Internet/Web: <http://www.com-pair.com>
10386 # Kimtron entries include (undocumented) codes for: enter dim mode,
10387 # enter bold mode, enter reverse mode, turn off all attributes.
10390 # Kimtron ABM 85 added by Dual Systems
10391 # (abm85: removed duplicated ":kd=^J:" -- esr)
10392 abm85|Kimtron ABM 85:\
10393         :am:bs:bw:ms:\
10394         :co#80:it#8:li#24:sg#1:\
10395         :al=\EE:bt=\EI:cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :dc=\EW:\
10396         :dl=\ER:do=^J:ei=\Er:if=/usr/share/tabset/stdcrt:im=\EQ:\
10397         :is=\EC\EX\Eg\En\E%\Er\E(\Ek\Em\Eq:kb=^H:kd=^J:kh=^^:\
10398         :kl=^H:kr=^L:ku=^K:le=^H:nd=^L:se=\Ek:so=\Ej:ta=^I:ue=\Em:\
10399         :up=^K:us=\El:
10400 # Kimtron ABM 85H added by Dual Systems.
10401 # Some notes about the abm85h entries:
10402 # 1) there are several firmware revs of 85H in the world. Use abm85h-old for
10403 #    firmware revs prior to SP51
10404 # 2) Make sure to use abm85h entry if the terminal is in 85h mode and the
10405 #    abm85e entry if it is in tvi920 emulation mode. They are incompatible
10406 #    in some places and NOT software settable i.e., :is: can't fix it)
10407 # 3) In 85h mode, the arrow keys and special functions transmit when
10408 #    the terminal is in dup-edit, and work only locally in local-edit.
10409 #    Vi won't swallow `del char' for instance, but :ti: turns on
10410 #    dup-edit anyway so that the arrow keys will work right. If the
10411 #    arrow keys don't work the way you like, change :ti:, :te:, and
10412 #    :is:.  Note that 920E mode does not have software commands to toggle
10413 #    between dup and local edit, so you get whatever was set last on the
10414 #    terminal.
10415 # 4) :vb: attribute is nice, but seems too slow to work correctly
10416 #    (\Eb:pc:\Ed)
10417 # 5) Make sure `hidden' attributes are selected. If `embedded' attributes
10418 #    are selected, the <xmc@> entry should be removed.
10419 # 6) auto new-line should be on (selectable from setup mode only)
10421 # From: Erik Fair <fair@ucbarpa>  Sun Oct 27 07:21:05 1985
10422 abm85h|Kimtron ABM 85H native mode:\
10423         :hs:\
10424         :sg@:\
10425         :bl=^G:ds=\Ee:fs=^M:im=\EZ:\
10426         :is=\EC\EN\EX\024\016\EA\Ea\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\EG0\Ed\E.4\El:\
10427         :kd=^V:me=\E(\EG0:mh=\E):mk@:ts=\Eg\Ef:vb@:ve=\E.4:vs=\E.2:\
10428         :tc=adm+sgr:tc=abm85:
10429 abm85e|Kimtron ABM 85H in 920E mode:\
10430         :sg@:\
10431         :bl=^G:im=\EZ:\
10432         :is=\EC\EX\EA\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\Ek\Eq\Em:\
10433         :me=\E(\Ek:mh=\E):mr=\Ej:vb@:\
10434         :tc=abm85:
10435 abm85h-old|oabm85h|o85h|Kimtron ABM 85H with old firmware rev.:\
10436         :sg@:\
10437         :bl=^G:im=\EZ:\
10438         :is=\E}\EC\EX\Ee\En\E%\Er\E(\Ek\Em\Eq\Ed\ET\EC\E9\EF:\
10439         :me=\E(\Ek:mh=\E):mr=\Ej:\
10440         :tc=abm85:
10441 # From: <malman@bbn-vax.arpa>
10442 # (kt7: removed obsolete :ma=^V^J^L :" -- esr)
10443 kt7|kimtron model kt-7:\
10444         :am:bs:\
10445         :co#80:it#8:li#24:\
10446         :al=\EE:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :dc=\EW:\
10447         :dl=\ER:do=^V:ei=:fs=\Eg:ho=^^:ic=\EQ:\
10448         :if=/usr/share/tabset/stdcrt:im=:is=\El\E":k0=^AI\r:\
10449         :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
10450         :k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=\EE:kB=\EI:kC=^Z:kD=\EW:\
10451         :kE=\ET:kI=\EQ:kL=\ER:kS=\EY:kb=^H:kd=^V:kh=^^:kl=^H:kr=^L:\
10452         :ku=^K:le=^H:mk@:nd=^L:ta=^I:ts=\Ef:up=^K:\
10453         :tc=adm+sgr:
10454 # Renamed TB=^I to :ta:, BE=^G to :bl:, BS=^H to :kb:, N to :kS: (based on the
10455 # other kt7 entry and the adjacent key capabilities).  Removed EE which is
10456 # identical to :mh:.  Removed :ES=\EGD: which is some kind of highlight
10457 # but we can't figure out what.
10458 kt7ix|kimtron model kt-7 or 70 in IX mode:\
10459         :am:bw:\
10460         :co#80:it#8:li#25:\
10461         :@7=\EY:PU=\EK:ac=jYk?lZm@nEqDt4uCvAwBx3:ae=\E%:al=\EE:\
10462         :as=\E$:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :\
10463         :cr=^M:dc=\EW:dl=\ER:do=^V:ds=\Ef\r:ei=:fs=^M:ho=^^:ic=\EQ:\
10464         :im=:is=\EG0\E s\017\E~:k0=^AI\r:k1=^A@\r:k2=^AA\r:\
10465         :k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:\
10466         :k9=^AH\r:kA=\EE:kB=\EI:kC=\E*:kE=\ET:kI=\EQ:kL=\ER:kN=\EJ:\
10467         :kS=\EY:kb=^H:kd=\E[B:kh=^^:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
10468         :mb=\EG2:me=\EG0:mh=\EG@:nd=^L:nw=^M^J:se=\EG0:sf=^J:\
10469         :so=\EG4:ta=^I:ts=\Ef:ue=\EG0:up=^K:us=\EG8:ve=\E.3:vi=\E.0:
10471 #### Microdata/MDIS
10473 # This was a line of terminals made by McDonnell-Douglas Information Systems.
10474 # These entries come direct from MDIS documentation.  I have edited them only
10475 # to move primary names of the form p[0-9] * to aliases, and to comment out
10476 # :ae:/:as: in a couple of entries without <acsc> strings.  I have 
10477 # also removed the change history; the last version indicates this is
10478 # version 4.3 by A.Barkus, September 1990 (earliest entry is October 1989).
10481 # McDonnell Information Systems Terminal Family History
10482 # =========================================
10484 # Prism-1, Prism-2 and P99:
10485 #       Ancient Microdata and CMC terminals, vaguely like Adds Regent 25.
10487 # Prism-4 and Prism-5:
10488 #       Slightly less ancient range of Microdata terminals. Follow-on from
10489 #       Prism-2, but with many enhancements. P5 has eight display pages.
10491 # Prism-6:
10492 #       A special terminal for use with library systems, primarily in Germany.
10493 #       Limited numbers. Similar functionality to P5 (except attributes?).
10495 # Prism-7, Prism-8 and Prism-9:
10496 #       More recent range of MDIS terminals, in which P7 and P8
10497 #       replace the P4 & P5, with added functionality, and P9 is the flagship.
10498 #       The P9 has two emulation modes - P8 and ANSI - and includes a
10499 #       large number of the DEC VT220 control sequences. Both
10500 #       P8 and P9 support 80c/24ln/8pg and 132cl/24li/4pg formats.
10502 # Prism-12 and Prism-14:
10503 #       Latest range, functionally very similar to the P9.  The P14 has a
10504 #       black-on-white overscanning screen.
10506 # The terminfo definitions given here are:
10508 # p2      - Prism-2 (or Prism-1 or P99).
10510 # p4      - Prism-4 (and older P7s & P8s).
10511 # p5      - Prism-5 (or Prism-6).
10513 # p7      - Prism-7.
10514 # p8      - Prism-8 (in national or multinational mode).
10515 # p8-w    - 132 column version of p8.
10516 # p9      - Prism-9 in ANSI mode.
10517 # p9-w    - 132 column version of p9.
10518 # p9-8    - Prism-9 in Prism-8 emulation mode.
10519 # p9-8-w  - As p9-8, but with 132 columns.
10521 # p12     - Prism-12 in ANSI mode.
10522 # p12-w   - 132 column version of p12.
10523 # p12-m   - Prism-12 in MDC emulation mode.
10524 # p12-m-w - As p12-m, but with 132 columns.
10525 # p14     - Prism-14 in ANSI mode.
10526 # p14-w   - 132 column version of p14.
10527 # p14-m   - Prism-14 in MDC emulation mode.
10528 # p14-m-w - As p14-m, but with 132 columns.
10530 # p2: Prism-2
10531 # -----------
10533 # Includes Prism-1 and basic P99 without SP or MP loaded.
10534 # The simplest form of Prism-type terminal.
10535 # Basic cursor movement and clearing operations only.
10536 # No video attributes.
10537 # Notes:
10538 #  Horizontal cursor qualifiers of NUL, XON and XOFF are mapped to the next
10539 #  value up, followed by backspace.
10541 prism2|MDC Prism-2:\
10542         :am:bw:ms:\
10543         :co#80:li#24:\
10544         :bl=^G:cd=\EJ:ce=\EK:\
10545         :..ch=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c:\
10546         :cl=\014:\
10547         :..cm=\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:\
10548         :cr=^M:cv=\013%+ :do=^J:ho=^A:kb=^H:kh=^A:le=^H:nd=^F:sf=^J:\
10549         :up=^Z:
10551 # p4: Prism-4
10552 # -----------
10554 # Includes early versions of P7 & P8.
10555 # Basic family definition for most Prisms (except P2 and P9 ANSI).
10556 # Notes:
10557 #  Horizontal cursor qualifiers of NUL, XON and XOFF are mapped to the next
10558 #  value up, followed by backspace.
10559 #  Cursor key definitions removed because they interfere with vi and csh keys.
10561 prism4|p4|P4|MDC Prism-4:\
10562         :5i:am:bw:hs:ms:\
10563         :co#80:li#24:sg#1:ws#72:\
10564         :bl=^G:cd=\EJ:ce=\EK:\
10565         :..ch=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c:\
10566         :cl=\014:\
10567         :..cm=\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:\
10568         :cr=^M:cv=\013%+ :do=^J:ds=\035\343\035\345:fs=^]\345:\
10569         :ho=^A:kb=^H:kh=^A:le=^H:mb=^CB:me=^C :mh=^CA:mk=^CH:mr=^CD:\
10570         :nd=^F:pf=\ET:po=\ER:ps=\EU:\
10571         :..sa=\003%{64}%?%p1%p3%|%t%{4}%+%;%?%p2%t%{16}%+%;%?%p4%t%{2}%+%;%?%p5%t%{1}%+%;%?%p7%t%{8}%+%;%c%?%p9%t\016%e\017%;:\
10572         :se=^C :sf=^J:so=^CD:ts=^]\343:ue=^C :up=^Z:us=^CP:\
10573         :ve=^]\342:vi=^]\344:
10575 # p5: Prism-5
10576 # -----------
10578 # Same definition as p4. Includes Prism-6 (not tested!).
10579 # Does not use any multi-page features.
10581 prism5|p5|P5|MDC Prism-5:\
10582         :tc=p4:
10584 # p7: Prism-7
10585 # -----------
10587 # Similar definition to p4. Uses ANSI cursor motion to avoid network problems.
10588 # Notes:
10589 #  Use p4 for very early models of P7.
10590 #  Rev-index removed; can't send nulls to terminal in 8-bit modes.
10592 prism7|p7|P7|MDC Prism-7:\
10593         :ch@:cm=\E[%i%d;%dH:cv@:tc=p4:
10595 # p8: Prism-8
10596 # -----------
10598 # Similar definition to p7. Uses ANSI cursor motion to avoid network problems.
10599 # Supports national and multinational character sets.
10600 # Notes:
10601 #  Alternate char set operations only work in multinational mode.
10602 #  Use p4 for very early models of P8.
10603 #  Rev-index removed; can't send nulls to terminal in 8-bit modes.
10604 # (esr: commented out :as:/:ae: because there's no <acsc>)
10606 prism8|p8|P8|MDC Prism-8:\
10607         :ch=\E[%i%d`:cm=\E[%i%d;%dH:cv=\E[%i%dd:is=\E[<12h:tc=p4:
10609 # p8-w: Prism-8 in 132 column mode
10610 # --------------------------------
10612 # 'Wide' version of p8.
10613 # Notes:
10614 #  Rev-index removed; can't send nulls to terminal in 8-bit modes.
10616 prism8-w|p8-w|P8-W|MDC Prism-8 in 132 column mode:\
10617         :co#132:\
10618         :is=\E[<12h\E[<14h:tc=p8:
10620 # p9: Prism-9 in ANSI mode
10621 # -------------------------
10623 # The "flagship" model of this generation of terminals.
10624 # ANSI X3.64 (ISO 6429) standard sequences, plus many DEC VT220 ones.
10625 # Notes:
10626 #  Tabs only reset by "reset". Otherwise assumes default (8 cols).
10627 #  Fixes to deal with terminal firmware bugs:
10628 #  . 'ri' uses insert-line since rev index doesn't always
10629 #  . 'sgr0' has extra '0' since esc[m fails
10630 #  . 'fsl' & 'dsl' use illegal char since cr is actioned wrong on line 25
10631 #  Not covered in the current definition:
10632 #  . Labels
10633 #  . Programming Fn keys
10634 #  . Graphic characters (defaults correctly to vt100)
10635 #  . Padding values (sets xon)
10636 # (esr: commented out :as:/:ae: because there's no <acsc>)
10638 # (untranslatable capabilities removed to fit entry within 1023 bytes)
10639 prism9|p9|P9|MDC Prism-9 in ANSII mode:\
10640         :5i:am:bw:hs:ms:xn:xo:\
10641         :co#80:it#8:li#24:vt#3:ws#72:\
10642         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:\
10643         :F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:\
10644         :F7=\E[31~:F8=\E[32~:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
10645         :al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%i%d`:cl=^L:\
10646         :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%d%v:ct=\E[2g:\
10647         :cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=^J:ds=\E[%}\024:ec=\E[%dX:\
10648         :ei=\E[4l:fs=^T:ho=\E[H:im=\E[4h:is=\E[&p\E[<12l\E F:\
10649         :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
10650         :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kC=^L:\
10651         :kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
10652         :mb=\E[5m:md=\E[1m:me=\E[0m:mp=\E[32%{:mr=\E[7m:nd=\E[C:\
10653         :nw=^M^J:pf=\E[4i:po=\E[5i:ps=\E[i:\
10654         :r2=\E[&p\E[<12l\E F\E[3g\E[9;17;25;33;41;49;57;65;73 N:\
10655         :rc=\E[%z:rp=\E[%r%db%.:sc=\E[%y:se=\E[27m:sf=^J:so=\E[7m:\
10656         :sr=\E[L:st=\EH:ta=^I:ts=\E[%i%p1%d%%}:ue=\E[24m:up=\E[A:\
10657         :us=\E[4m:ve=\E[<4h:vi=\E[<4l:
10659 # p9-w: Prism-9 in 132 column mode
10660 # --------------------------------
10662 # 'Wide' version of p9.
10664 prism9-w|p9-w|P9-W|MDC Prism-9 in 132 column mode:\
10665         :co#132:\
10666         :is=\E[&p\E[<12l\E F\E[<14h:\
10667         :r2=\E[&p\E[<12l\E F\E[<14h:tc=p9:
10669 # p9-8: Prism-9 in P8 mode
10670 # ------------------------
10672 # P9 terminal in P8 emulation mode.
10673 # Similar to p8 definition.
10674 # Insertion and deletion operations possible.
10676 prism9-8|p9-8|P9-8|MDC Prism-9 in P8 mode:\
10677         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:al=\E[L:dc=\E[P:\
10678         :dl=\E[M:ei=:ic=\E[@:im=:\
10679         :tc=p8:
10681 # p9-8-w: Prism-9 in P8 and 132 column modes
10682 # ------------------------------------------
10684 # P9 terminal in P8 emulation mode and 132 column mode.
10686 prism9-8-w|p9-8-w|P9-8-W|MDC Prism-9 in Prism 8 emulation and 132 column mode:\
10687         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:al=\E[L:dc=\E[P:\
10688         :dl=\E[M:ei=:ic=\E[@:im=:\
10689         :tc=p8-w:
10691 # p12: Prism-12 in ANSI mode
10692 # ---------------------------
10694 # See p9 definition.
10696 prism12|p12|P12|MDC Prism-12 in ANSI mode:\
10697         :tc=p9:
10699 # p12-w: Prism-12 in 132 column mode
10700 # ----------------------------------
10702 # 'Wide' version of p12.
10704 prism12-w|p12-w|P12-W|MDC Prism-12 in 132 column mode:\
10705         :tc=p9-w:
10707 # p12-m: Prism-12 in MDC emulation mode
10708 # -------------------------------------
10710 # P12 terminal in MDC emulation mode.
10711 # Similar to p8 definition.
10712 # Insertion and deletion operations possible.
10714 prism12-m|p12-m|P12-M|MDC Prism-12 in MDC emulation mode:\
10715         :tc=p9-8:
10717 # p12-m-w: Prism-12 in MDC emulation and 132 column modes
10718 # -------------------------------------------------------
10720 # P12 terminal in MDC emulation mode and 132 column mode.
10722 prism12-m-w|p12-m-w|P12-M-W|MDC Prism-12 in MDC emulation and 132 column mode:\
10723         :tc=p9-8-w:
10725 # p14: Prism-14 in ANSII mode
10726 # ---------------------------
10728 # See p9 definition.
10730 prism14|p14|P14|MDC Prism-14 in ANSII mode:\
10731         :tc=p9:
10733 # p14-w: Prism-14 in 132 column mode
10734 # ----------------------------------
10736 # 'Wide' version of p14.
10738 prism14-w|p14-w|P14-W|MDC Prism-14 in 132 column mode:\
10739         :tc=p9-w:
10741 # p14-m: Prism-14 in MDC emulation mode
10742 # -------------------------------------
10744 # P14 terminal in MDC emulation mode.
10745 # Similar to p8 definition.
10746 # Insertion and deletion operations possible.
10748 prism14-m|p14-m|P14-M|MDC Prism-14 in MDC emulation mode:\
10749         :tc=p9-8:
10751 # p14-m-w: Prism-14 in MDC emulation and 132 column modes
10752 # -------------------------------------------------------
10754 # P14 terminal in MDC emulation mode and 132 column mode.
10756 prism14-m-w|p14-m-w|P14-M-W|MDC Prism-14 in MDC emulation and 132 column mode:\
10757         :tc=p9-8-w:
10759 # End of McDonnell Information Systems Prism definitions
10761 # These things were popular in the Pick database community at one time
10762 # From: George Land <georgeland@aol.com> 24 Sep 1996
10763 p8gl|prism8gl|McDonnell-Douglas Prism-8 alternate definition:\
10764         :am:bw:hs:mi:\
10765         :co#80:li#24:ma#1:sg#1:ws#78:\
10766         :F2=^AJ\r:F3=^AK\r:F4=^AL\r:F5=^AM\r:F6=^AN\r:F7=^AO\r:\
10767         :bl=^G:cd=\EJ:ce=\EK:cl=^L:cm=\E[%i%d;%dH:cr=^M:dc= ^H:\
10768         :dl=^P:do=^J:ho=^A:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
10769         :k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:\
10770         :kD= ^H:kE=\EK:kL=^P:kS=\EJ:kb=^H:kd=^J:kh=^A:kl=^U:kr=^F:\
10771         :ku=^Z:l1=F1:l2=F2:l3=F3:l4=F4:l5=F5:l6=F6:l7=F7:l8=F8:l9=F9:\
10772         :la=F10:le=^U:mb=^CB:me=^C :mh=^CA:mk=^CH:mr=^CD:nd=^F:\
10773         :nw=^J^M:pc=\0:se=^C :sf=^J:so=^CE:ue=^C :up=^Z:us=^C0:
10775 #### Microterm (act, mime)
10777 # The mime1 entries refer to the Microterm Mime I or Mime II.
10778 # The default mime is assumed to be in enhanced act iv mode.
10781 # New "safe" cursor movement (5/87) from <reuss@umd5.umd.edu>.  Prevents
10782 # freakout with out-of-range args on Sytek multiplexors.  No :so=^N: and
10783 # :se=^N: since  it gets confused and it's too dim anyway.  No :ic:
10784 # since Sytek insists ^S means xoff.
10785 # (act4: found ":ic=2^S:ei=:im=:ip=.1*^V:" commented out in 8.3 -- esr)
10786 act4|microterm|microterm act iv:\
10787         :am:bs:\
10788         :co#80:li#24:\
10789         :al=2.3*\001<2.3*/>:bl=^G:cd=2.2*\037:ce=.1*\036:\
10790         :cl=12\014:cm=\024%+^X%>/0%+P:cr=^M:dc=.1*\004:\
10791         :dl=2.3*\027:do=^K:ho=^]:kd=^K:kl=^H:kr=^X:ku=^Z:le=^H:nd=^X:\
10792         :sf=^J:up=^Z:
10793 # The padding on :sr: and :ta: for act5 and mime is a guess and not final.
10794 # The act 5 has hardware tabs, but they are in columns 8, 16, 24, 32, 41 (!)...
10795 # (microterm5: removed obsolete ":ma==^Z^P^Xl^Kj:" -- esr)
10796 act5|microterm5|microterm act v:\
10797         :kd=^K:kl=^H:kr=^X:ku=^Z:sr=\EH:uc=^H\EA:tc=act4:
10798 # Mimes using brightness for standout.  Half bright is really dim unless
10799 # you turn up the brightness so far that lines show up on the screen.
10800 mime-fb|full bright mime1:\
10801         :is=^S\E:se=^S:so=^Y:tc=mime:
10802 mime-hb|half bright mime1:\
10803         :is=^Y\E:se=^Y:so=^S:tc=mime:
10804 # (mime: removed obsolete ":ma=^X ^K^J^Z^P:"; removed ":do=^K:" that overrode
10805 # the more plausible ":do=^J:" -- esr)
10806 # uc was at one time disabled to get around a curses bug, be wary of it
10807 mime|mime1|mime2|mimei|mimeii|microterm mime1:\
10808         :am:bs:\
10809         :co#80:it#8:li#24:vt#9:\
10810         :al=\001:bl=^G:cd=^_:ce=^^:cl=^]^C:cm=\024%+^X%> 0%+P:\
10811         :cr=^M:dl=\027:do=^J:ho=^]:is=^S\E^Q:kd=^K:kl=^H:kr=^X:ku=^Z:\
10812         :le=^H:nd=^X:sf=^J:sr=\022:ta=\011:uc=^U:up=^Z:
10813 # These termcaps (for mime2a) put the terminal in low intensity mode
10814 # since high intensity mode is so obnoxious.
10815 mime2a-s|microterm mime2a (emulating an enhanced soroc iq120):\
10816         :am:bs:\
10817         :co#80:li#24:\
10818         :al=\001:bl=^G:cd=\EJ:ce=\EK:cl=\EL:cm=\E=%+ %+ :cr=^M:\
10819         :dc=\ED:dl=\027:do=^J:ei=^Z:ho=^^:im=\EE:ip=:is=\E):kd=^J:\
10820         :kl=^H:kr=^L:ku=^K:le=^H:nd=^L:se=\E;:sf=^J:so=\E\072:sr=\EI:\
10821         :ue=\E7:up=\EI:us=\E6:
10822 # This is the preferred mode (but ^X can't be used as a kill character)
10823 mime2a|mime2a-v|microterm mime2a (emulating an enhanced vt52):\
10824         :bs:\
10825         :co#80:it#8:li#24:\
10826         :al=\001:bl=^G:cd=\EQ:ce=\EP:cl=\EL:cm=\EY%+ %+ :cr=^M:\
10827         :dc=^N:dl=\027:do=^J:ei=^Z:ho=\EH:im=^O:ip=:is=^Y:kd=\EB:\
10828         :kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:se=\E9:sf=^J:so=\E8:\
10829         :sr=\EA:ta=^I:ue=\E5:up=\EA:us=\E4:
10830 # (mime3a: removed obsolete ":ma=^X ^K^J^Z^P:" -- esr)
10831 mime3a|mime1 emulating 3a:\
10832         :am@:\
10833         :kd=^K:kl=^H:kr=^X:ku=^Z:tc=adm3a:
10834 mime3ax|mime-3ax|mime1 emulating enhanced 3a:\
10835         :it#8:\
10836         :al=\001:cd=^_:ce=^X:dl=\027:ta=\011:tc=mime3a:
10837 # Wed Mar  9 18:53:21 1983
10838 # We run our terminals at 2400 baud, so there might be some timing problems at
10839 # higher speeds. The major improvements in this model are the terminal now 
10840 # scrolls down and insert mode works without redrawing the rest of the line
10841 # to the right of the cursor. This is done with a bit of a kludge using the
10842 # exit graphics mode to get out of insert, but it does not appear to hurt
10843 # anything when using vi at least. If you have some users using act4s with
10844 # programs that use curses and graphics mode this could be a problem.
10845 mime314|mm314|mime 314:\
10846         :am:\
10847         :co#80:li#24:\
10848         :al=^A:cd=^_:ce=^^:cl=^L:cm=\024%.%.:dc=^D:dl=^W:ei=^V:ho=^]:\
10849         :im=^S:kd=^K:kl=^H:kr=^X:ku=^Z:le=^H:nd=^X:ta=^I:up=^Z:
10850 # Microterm mime 340 from University of Wisconsin
10851 mm340|mime340|mime 340:\
10852         :co#80:li#24:\
10853         :al=46\EU:cd=2*\037:ce=2.1\EL:cl=12\032:cm=\E=%+ %+ :\
10854         :cr=^M:dc=2.1*\E#:dl=49.6\EV:do=^J:is=\E\054:kb=^H:kd=^J:\
10855         :kl=^H:ku=^K:le=^H:nd=^L:nw=^M^J:sf=^J:ta=^I:up=^K:
10856 # This came from University of Wisconsin marked "astro termcap for jooss".
10857 # (mt4520-rv: removed obsolete ":kn#4:" and incorrect ":ri=\E[C:";
10858 # also added <rmam>/<smam> based  on the init string -- esr)
10859 mt4520-rv|micro-term 4520 reverse video:\
10860         :am:hs:ms:xn:xo:\
10861         :co#80:it#8:li#24:ws#80:\
10862         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
10863         :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
10864         :al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
10865         :cr=^M:cs=\E[%i%d;%dr:ct=\E[g:dc=\E[P:dl=\E[M:do=\E[B:ei=:\
10866         :fs=\E[?5l\E[?5h:ho=\E[H:ic=\E[@:im=:\
10867         :is=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[1;24r\E[24;1H\E[H\E[J:\
10868         :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\E[B:kh=\E[H:\
10869         :kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:ll=\E[24;1H:me=\E[m:\
10870         :nd=\E[C:nw=\EE:\
10871         :r1=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[H\E[J:\
10872         :rc=\E8:rf=/usr/share/tabset/vt100:sc=\E7:se=\E[0m:\
10873         :sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:ts=\E[25;1H:ue=\E[24m:\
10874         :up=\E[A:us=\E[4m:vb=\E[?5l\E[?5h:ve=\E[0V\E8:\
10875         :vs=\E7\E[0U:
10877 # Fri Aug  5 08:11:57 1983
10878 # This entry works for the ergo 4000 with the following setups:
10879 # ansi,wraparound,newline disabled, xon/xoff disabled in both
10880 # setup a & c.
10881 #       
10882 # WARNING!!! There are multiple versions of ERGO 4000 microcode
10883 # Be advised that very early versions DO NOT WORK RIGHT !!  
10884 # Microterm does have a ROM exchange program- use it or lose big
10885 # (ergo400: added <rmam>/<smam> based on the init string -- esr)
10886 ergo4000|microterm ergo 4000:\
10887         :da:db:ms:\
10888         :co#80:li#66:\
10889         :AL=\E[1L:RA=\E[?7l:SA=\E[?7m:bl=^G:cd=\E[0J:ce=\E[0K:\
10890         :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:dc=\E[1P:dl=\E[1M:\
10891         :do=\E[B:ei=\E[4l:im=\E[4h:\
10892         :is=\E<\E=\E[?1l\E[?4l\E[?5l\E[?7h\E[?8h:k1=\EOP:\
10893         :k2=\EOQ:k3=\EOR:k4=\EOS:kd=\E[B:ke=\E=:kl=\E[D:kr=\E[C:\
10894         :ks=\E=:ku=\E[A:l1=pf1:l2=pf2:l3=pf3:l4=pf4:le=^H:me=\E[m:\
10895         :nd=\E[C:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:up=\E[A:
10897 #### NCR 
10899 # NCR's terminal group was merged with AT&T's when AT&T bought the company.
10900 # For what happened to that group, see the ADDS section.
10902 # There is an NCR4103 terminal that's just a re-badged Wyse-50.
10905 # The following vendor-supplied termcaps were captured from the Boundless
10906 # Technologies site, 8 March 1998.  I removed all-upper-case names that were
10907 # identical, except for case, to lower-case ones.  I also uncommented the acsc
10908 # capabilities.X
10910 # The Intecolor emulation of the NCR 2900/260C color terminal is basically a
10911 # DEC vt200/300 with color capabilities added.
10912 ncr260intan|NCR Intecolor emulation of the 2900_260C with an ANSI keyboard:\
10913         :Co#8:pa#64:\
10914         :AB=\E[4%p1%dm:AF=\E[3%p1%dm:op=\E[0m:tc=ncr260vt300an:
10915 # The Intecolor emulation of the NCR 2900/260C color terminal is basically a
10916 # DEC vt200/300 with color capabilities added.
10917 ncr260intwan|NCR Intecolor emulation of the 2900_260C with an ANSI keyboard:\
10918         :Co#8:pa#64:\
10919         :AB=\E[4%p1%dm:AF=\E[3%p1%dm:op=\E[0m:tc=ncr260vt300wan:
10920 # The Intecolor emulation of the NCR 2900/260C color terminal is basically a
10921 # DEC vt200/300 with color capabilities added.
10922 ncr260intpp|NCR Intecolor emulation of the 2900_260C with a PC+ keyboard:\
10923         :Co#8:pa#64:\
10924         :AB=\E[4%p1%dm:AF=\E[3%p1%dm:op=\E[0m:tc=ncr260vt300pp:
10925 # The Intecolor emulation of the NCR 2900/260C color terminal is basicly a
10926 # DEC vt200/300 with color capabilities added.
10927 ncr260intwpp|NCR Intecolor emulation of the 2900_260C with a PC+ keyboard in 132 column mode:\
10928         :Co#8:pa#64:\
10929         :AB=\E[4%p1%dm:AF=\E[3%p1%dm:op=\E[0m:tc=ncr260vt300wpp:
10930 # This definition for ViewPoint supports several attributes.  This means
10931 # that it has magic cookies (extra spaces where the attributes begin).
10932 # Some applications do not function well with magic cookies.  The System
10933 # Administrator's Shell in NCR Unix SVR4 1.03 is one such application. 
10934 # If supporting various attributes is not vital, 'xmc#1' and the extra
10935 # attributes can be removed. 
10936 # Mapping to ASCII character set ('acsc' capability) can also be 
10937 # restored if needed.
10938 # (untranslatable capabilities removed to fit entry within 1023 bytes)
10939 # (sgr removed to fit entry within 1023 bytes)
10940 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
10941 ncr260vppp|NCR 2900_260 viewpoint:\
10942         :am:bw:hs:km:mi:ms:xo:\
10943         :co#80:li#24:sg#1:\
10944         :CM=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c:K1=^A:\
10945         :K3=\EJ:K4=\ET:K5=\EJ:ae=\EcB0\EH\003:al=\EM:\
10946         :as=\EcB1\EH\002:bl=^G:bt=\EI:cd=\Ek:ce=\EK:cl=\014:\
10947         :cm=\EY%+ %+ :cr=\r:dc=\EW:dl=\El:do=\n:ds=\E`c:ei=\Er:\
10948         :fs=^M:ho=\036:im=\Eq:\
10949         :is=\Ee6\E~%\E+\E`\072\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7:\
10950         :k1=^B1\r:k2=^B2\r:k3=^B3\r:k4=^B4\r:k5=^B5\r:k6=^B6\r:\
10951         :k7=^B7\r:k8=^B8\r:k9=^B9\r:kD=\EW:kI=\Eq:kN=\EJ:kP=\EJ:\
10952         :kb=^H:kd=^J:kh=^A:kl=^U:kr=^F:ku=^Z:le=\010:ll=\001:mb=\EG2:\
10953         :me=\EG0\EH\003:mh=\EGp:mr=\EG4:nd=\006:nw=\037:se=\EG0:\
10954         :sf=\n:so=\EG4:sr=\Ej:st=\E1:ta=^I:ts=\EF:ue=\EG0:up=\032:\
10955         :us=\EG8:ve=\E`5:vi=\E`0:vs=\E`5:
10956 ncr260vpwpp|NCR 2900_260 viewpoint wide mode:\
10957         :co#132:\
10958         :cm=\Ea%i%dR%dC:\
10959         :is=\Ee6\E~%\E+\E`;\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7:\
10960         :r2=\Ee6\E~%\E+\E`;\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7:\
10961         :tc=ncr260vppp:
10962 # (untranslatable capabilities removed to fit entry within 1023 bytes)
10963 # (sgr removed to fit entry within 1023 bytes)
10964 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
10965 ncr260vt100an|NCR 2900_260 vt100 with ansi kybd:\
10966         :am:hs:mi:ms:xn:xo:\
10967         :co#80:li#24:\
10968         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
10969         :K1=\EOw:K2=\EOy:K3=\EOu:K4=\EOq:K5=\EOs:LE=\E[%dD:\
10970         :RI=\E[%dC:SF=\E[%dE:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
10971         :cd=\E[0J:ce=\E[0K:cl=\E[2J\E[1;1H:cm=\E[%i%d;%dH:cr=\r:\
10972         :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[1P:dl=\E[M:do=\E[B:\
10973         :ds=\E[0$~\E[1$~:ec=\E[%dX:ei=\E[4l:fs=\E[0$}:ho=\E[H:\
10974         :im=\E[4h:\
10975         :is=\E[\041p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
10976         :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kD=\E[3~:kI=\E[2~:\
10977         :kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
10978         :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=\E[D:mb=\E[5m:md=\E[1m:\
10979         :me=\E[0m\017:mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:sc=\E7:\
10980         :se=\E[0m:sf=\ED:so=\E[1;7m:sr=\EM:st=\EH:ta=^I:\
10981         :ts=\E[2$~\E[1$}:ue=\E[0m:up=\E[A:us=\E[4m:ve=\E[?25h:\
10982         :vi=\E[?25l:
10983 ncr260vt100wan|NCR 2900_260 vt100 wide mode ansi kybd:\
10984         :co#132:\
10985         :cm=\E[%i%d;%dH:\
10986         :is=\E[\041p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
10987         :r2=\E[\041p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
10988         :tc=ncr260vt100an:
10989 ncr260vt100pp|NCR 2900_260 vt100 with PC+ kybd:\
10990         :@7=\E[5~:K1=\E[H:K2=\E[V:K3=\EOu:K5=\E[U:\
10991         :is=\E[\041p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
10992         :kD=\E[4~:kI=\E[1~:kN=\E[6~:kP=\E[3~:kd=\E[B:ke=\E>:\
10993         :kh=\E[2~:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:l1=pf1:l2=pf2:\
10994         :l3=pf3:l4=pf4:\
10995         :r2=\E[\041p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>:tc=ncr260vt100an:
10996 ncr260vt100wpp|NCR 2900_260 vt100 wide mode pc+  kybd:\
10997         :co#132:\
10998         :cm=\E[%i%d;%dH:\
10999         :is=\E[\041p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
11000         :r2=\E[\041p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
11001         :tc=ncr260vt100pp:
11002 # (untranslatable capabilities removed to fit entry within 1023 bytes)
11003 # (sgr removed to fit entry within 1023 bytes)
11004 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
11005 ncr260vt200an|NCR 2900_260 vt200 with ansi kybd:\
11006         :am:hs:mi:ms:xn:xo:\
11007         :co#80:li#24:\
11008         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
11009         :K1=\EOw:K2=\EOy:K3=\EOu:K4=\EOq:K5=\EOs:LE=\E[%dD:\
11010         :RI=\E[%dC:SF=\E[%dE:UP=\E[%dA:ae=\017:al=\E[L:as=\016:\
11011         :bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[2J\E[1;1H:cm=\E[%i%d;%dH:\
11012         :cr=\r:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[1P:dl=\E[M:do=\E[B:\
11013         :ds=\E[0$~\E[1$~:ec=\E[%dX:ei=\E[4l:fs=\E[0$}:ho=\E[H:\
11014         :im=\E[4h:\
11015         :is=\E[\041p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
11016         :k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[M:k6=\E[17~:\
11017         :k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:\
11018         :kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:\
11019         :ks=\E[?1h\E=:ku=\EOA:le=\E[D:mb=\E[5m:md=\E[1m:\
11020         :me=\E[0m\017:mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:sc=\E7:\
11021         :se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
11022         :ts=\E[2$~\E[1$}:ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[?25h:\
11023         :vi=\E[?25l:
11024 ncr260vt200wan|NCR 2900_260 vt200 wide mode ansi kybd:\
11025         :co#132:\
11026         :cm=\E[%i%d;%dH:\
11027         :is=\E[\041p\E[?3;7;19;67h\E[?4l\E(B\E)0\017\E[2J\E[1;1H:\
11028         :r2=\E[\041p\E[?3;7;19;67h\E[?4l\E(B\E)0\017\E[2J\E[1;1H:\
11029         :tc=ncr260vt200an:
11030 ncr260vt200pp|NCR 2900_260 vt200 with pc+ kybd:\
11031         :@7=\E[1~:K1=\E[H:K2=\E[V:K3=\EOu:K5=\E[U:kD=\E[4~:\
11032         :kI=\E[2~:kN=\E[6~:kP=\E[5~:kd=\E[B:ke=\E>:kh=\E[H:kl=\E[D:\
11033         :kr=\E[C:ks=\E=:ku=\E[A:l1=pf1:l2=pf2:l3=pf3:l4=pf4:\
11034         :tc=ncr260vt200an:
11035 ncr260vt200wpp|NCR 2900_260 vt200 wide mode pc+  kybd:\
11036         :co#132:\
11037         :cm=\E[%i%d;%dH:\
11038         :is=\E[\041p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
11039         :r2=\E[\041p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
11040         :tc=ncr260vt200pp:
11041 # (untranslatable capabilities removed to fit entry within 1023 bytes)
11042 # (sgr removed to fit entry within 1023 bytes)
11043 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
11044 ncr260vt300an|NCR 2900_260 vt300 with ansi kybd:\
11045         :am:hs:mi:ms:xn:xo:\
11046         :co#80:li#24:\
11047         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
11048         :K1=\EOw:K2=\EOy:K3=\EOu:K4=\EOq:K5=\EOs:LE=\E[%dD:\
11049         :RI=\E[%dC:SF=\E[%dE:UP=\E[%dA:ae=\017:al=\E[L:as=\016:\
11050         :bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[2J\E[1;1H:cm=\E[%i%d;%dH:\
11051         :cr=\r:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[1P:dl=\E[M:do=\E[B:\
11052         :ds=\E[0$~\E[1$~:ec=\E[%dX:ei=\E[4l:fs=\E[0$}:ho=\E[H:\
11053         :im=\E[4h:\
11054         :is=\E[\041p\E[?7;19;67h\E[?1;3;4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H\E>:\
11055         :k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[M:k6=\E[17~:\
11056         :k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:\
11057         :kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:\
11058         :ks=\E[?1h\E=:ku=\EOA:le=\E[D:mb=\E[5m:md=\E[1m:\
11059         :me=\E[0m\017:mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:sc=\E7:\
11060         :se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
11061         :ts=\E[2$~\E[1$}:ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[?25h:\
11062         :vi=\E[?25l:
11063 ncr260vt300wan|NCR 2900_260 vt300 wide mode ansi kybd:\
11064         :co#132:\
11065         :cm=\E[%i%d;%dH:\
11066         :is=\E[\041p\E[?3;7;19;67h\E[?4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H:\
11067         :r2=\E[\041p\E[?3;7;19;67h\E[?4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H:\
11068         :tc=ncr260vt300an:
11069 ncr260vt300pp|NCR 2900_260 vt300 with pc+ kybd:\
11070         :@7=\E[1~:K1=\E[H:K2=\E[V:K3=\EOu:K5=\E[U:kD=\E[4~:\
11071         :kI=\E[2~:kN=\E[6~:kP=\E[5~:kd=\E[B:ke=\E>:kh=\E[H:kl=\E[D:\
11072         :kr=\E[C:ks=\E=:ku=\E[A:l1=pf1:l2=pf2:l3=pf3:l4=pf4:\
11073         :tc=ncr260vt300an:
11074 NCR260VT300WPP|ncr260vt300wpp|NCR 2900_260 vt300 wide mode pc+  kybd:\
11075         :co#132:\
11076         :cm=\E[%i%d;%dH:\
11077         :is=\E[\041p\E[?3;7;19;67h\E[?1;4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H\E>:\
11078         :r2=\E[\041p\E[?3;7;19;67h\E[?1;4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H\E>:\
11079         :tc=ncr260vt300pp:
11080 # This terminfo file contains color capabilities for the Wyse325 emulation of 
11081 # the NCR 2900/260C color terminal.  Because of the structure of the command
11082 # (escape sequence) used to set color attributes, one of the fore/background
11083 # colors must be preset to a given value. I have set the background color to
11084 # black.  The user can change this setup by altering the last section of the
11085 # 'setf' definition.  The escape sequence to set color attributes is 
11086 #               ESC d y <foreground_color> <background_color> 1  
11087 # In addition, the background color can be changed through the desk accessories.
11088 # The capablitiy 'op' sets colors to green on black (default combination).  
11090 # NOTE:  The NCR Unix System Administrator's Shell will not function properly
11091 #           if the 'pairs' capability is defined. Un-Comment the 'pairs'
11092 #           capability and recompile if you wish to have it included. 
11094 # (untranslatable capabilities removed to fit entry within 1023 bytes)
11095 # (sgr removed to fit entry within 1023 bytes)
11096 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
11097 ncr260wy325pp|NCR 2900_260 wyse 325:\
11098         :am:bw:hs:km:mi:ms:xo:\
11099         :co#80:li#24:\
11100         :CM=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c:K1=^^:\
11101         :K2=\EJ:K4=\ET:K5=\EK:ae=\EH\003\EcB0:al=\EE:\
11102         :as=\EH\002\EcB1:bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=\E*:\
11103         :cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=\n:ds=\E`c:\
11104         :ei=\Er:fs=^M:ho=\036:im=\Eq:\
11105         :is=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\072\E`@\E~\041\E"\Ee4\Ex@\E`9\Ee7:\
11106         :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
11107         :k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\Eq:kN=\EK:kP=\EJ:\
11108         :kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=\010:mb=\EG2:\
11109         :me=\EG0\EcB0\EcD:mr=\EG4:nd=\014:nw=\037:se=\EG0:sf=\n:\
11110         :so=\EGt:sr=\Ej:st=\E1:ta=^I:ts=\EF:ue=\EG0:up=\013:us=\EG8:\
11111         :ve=\E`1:vi=\E`0:vs=\E`5:
11112 ncr260wy325wpp|NCR 2900_260 wyse 325 wide mode:\
11113         :co#132:\
11114         :cm=\Ea%i%dR%dC:\
11115         :is=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~\041\E"\Ee4\Ex@\E`9\Ee7:\
11116         :r2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~\041\E"\Ee4\Ex@\E`9\Ee7:\
11117         :tc=ncr260wy325pp:
11118 # This definition for Wyse 350 supports several attributes.  This means
11119 # that it has magic cookies (extra spaces where the attributes begin).
11120 # Some applications do not function well with magic cookies.  The System
11121 # Administrator's Shell in NCR Unix SVR4 1.03 is one such application. 
11122 # If supporting various attributes is not vital, 'xmc#1' and the extra
11123 # attributes can be removed. 
11124 # Mapping to ASCII character set ('acsc' capability) can also be 
11125 # restored if needed.
11126 # In addition, color capabilities have been added to this file.  The drawback,
11127 # however, is that the background color has to be black.  The foreground colors
11128 # are numbered 0 through 15.  
11130 # NOTE:  The NCR Unix System Administrator's Shell does not function properly
11131 #           with the 'pairs' capability defined as below.  If you wish to
11132 #           have it included, Un-comment it and recompile (using 'tic'). 
11134 # (untranslatable capabilities removed to fit entry within 1023 bytes)
11135 # (sgr removed to fit entry within 1023 bytes)
11136 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
11137 ncr260wy350pp|NCR 2900_260 wyse 350:\
11138         :am:bw:hs:km:mi:ms:xo:\
11139         :co#80:li#24:sg#1:\
11140         :CM=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c:K1=^^:\
11141         :K4=\ET:K5=\EK:ae=\EH\003\EcB0:al=\EE:as=\EH\002\EcB1:\
11142         :bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=\E+:cm=\E=%+ %+ :cr=^M:\
11143         :ct=\E0:dc=\EW:dl=\ER:do=\n:ds=\E`c:ei=\Er:fs=^M:ho=\036:\
11144         :im=\Eq:\
11145         :is=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\072\E`@\E~\041\E"\Ee4\Ex@\E`9\Ee7:\
11146         :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
11147         :k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\Eq:kN=\EK:kP=\EJ:\
11148         :kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=\010:mb=\EG2:\
11149         :me=\EG0\EH\003\EcD:mh=\EGp:mr=\EG4:nd=\014:nw=\037:\
11150         :se=\EG0:sf=\n:so=\EGt:sr=\Ej:st=\E1:ta=^I:ts=\EF:ue=\EG0:\
11151         :up=\013:us=\EG8:ve=\E`1:vi=\E`0:vs=\E`5:
11152 ncr260wy350wpp|NCR 2900_260 wyse 350 wide mode:\
11153         :co#132:\
11154         :cm=\Ea%i%dR%dC:\
11155         :is=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~\041\E"\Ee4\Ex@\E`9\Ee7:\
11156         :r2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~\041\E"\Ee4\Ex@\E`9\Ee7:\
11157         :tc=ncr260wy350pp:
11158 # This definition for Wyse 50+ supports several attributes.  This means
11159 # that it has magic cookies (extra spaces where the attributes begin).
11160 # Some applications do not function well with magic cookies.  The System
11161 # Administrator's Shell in NCR Unix SVR4 1.03 is one such application. 
11162 # If supporting various attributes is not vital, 'xmc#1' and the extra
11163 # attributes can be removed. 
11164 # Mapping to ASCII character set ('acsc' capability) can also be 
11165 # restored if needed.
11166 # (ncr260wy50+pp: originally contained commented-out 
11167 # <acsc=j5k3l2m1n8q:t4u9v=w0x6>, as well as the commented-out one there -- esr)
11168 # (untranslatable capabilities removed to fit entry within 1023 bytes)
11169 # (sgr removed to fit entry within 1023 bytes)
11170 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
11171 ncr260wy50+pp|NCR 2900_260 wyse 50+:\
11172         :am:bw:hs:km:mi:ms:xo:\
11173         :co#80:li#24:sg#1:\
11174         :CM=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c:K1=^^:\
11175         :K4=\ET:K5=\EK:ae=\EH^C:al=\EE:as=\EH^B:bl=^G:bt=\EI:cd=\EY:\
11176         :ce=\ET:cl=\E+:cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:\
11177         :do=\n:ds=\E`c:ei=\Er:fs=^M:ho=\036:im=\Eq:\
11178         :is=\Ee6\E~"\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\072\E`@\E~\041\E"\Ee4\Ex@\E`9\Ee7:\
11179         :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
11180         :k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\Eq:kN=\EK:kP=\EJ:\
11181         :kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=\010:mb=\EG2:\
11182         :me=\EG0\EH\003:mh=\EGp:mr=\EG4:nd=\014:nw=\037:se=\EG0:\
11183         :sf=\n:so=\EGt:sr=\Ej:st=\E1:ta=\011:ts=\EF:ue=\EG0:up=\013:\
11184         :us=\EG8:ve=\E`1:vi=\E`0:vs=\E`5:
11185 ncr260wy50+wpp|NCR 2900_260 wyse 50+ wide mode:\
11186         :co#132:\
11187         :cm=\Ea%i%dR%dC:\
11188         :is=\Ee6\E~"\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~\041\E"\Ee4\Ex@\E`9\Ee7:\
11189         :r2=\Ee6\E~"\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~\041\E"\Ee4\Ex@\E`9\Ee7:\
11190         :tc=ncr260wy50+pp:
11191 # (untranslatable capabilities removed to fit entry within 1023 bytes)
11192 # (sgr removed to fit entry within 1023 bytes)
11193 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
11194 ncr260wy60pp|NCR 2900_260 wyse 60:\
11195         :am:bw:hs:km:mi:ms:xo:\
11196         :co#80:li#24:\
11197         :CM=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c:K1=^^:\
11198         :K2=\EJ:K4=\ET:K5=\EK:ae=\EH^C:al=\EE:as=\EH^B:bl=^G:bt=\EI:\
11199         :cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:\
11200         :dl=\ER:do=\n:ds=\E`c:ei=\Er:fs=^M:ho=\036:im=\Eq:\
11201         :is=\Ee6\E~4\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\072\E`@\E~\041\E"\Ee4\Ex@\E`9\Ee7:\
11202         :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
11203         :k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\Eq:kN=\EK:kP=\EJ:\
11204         :kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=\010:mb=\EG2:\
11205         :me=\EG0\EcB0\EcD:mr=\EG4:nd=\014:nw=\037:se=\EG0:sf=\n:\
11206         :so=\EGt:sr=\Ej:st=\E1:ta=\011:ts=\EF:ue=\EG0:up=\013:\
11207         :us=\EG8:ve=\E`1:vi=\E`0:vs=\E`5:
11208 ncr260wy60wpp|NCR 2900_260 wyse 60 wide mode:\
11209         :co#132:\
11210         :cm=\Ea%i%dR%dC:\
11211         :is=\Ee6\E~4\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~\041\E"\Ee4\Ex@\E`9\Ee7:\
11212         :r2=\Ee6\E~4\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~\041\E"\Ee4\Ex@\E`9\Ee7:\
11213         :tc=ncr260wy60pp:
11214 ncr160vppp|NCR 2900_160 viewpoint:\
11215         :tc=ncr260vppp:
11216 ncr160vpwpp|NCR 2900_160 viewpoint wide mode:\
11217         :tc=ncr260vpwpp:
11218 ncr160vt100an|NCR 2900_160 vt100 with ansi kybd:\
11219         :tc=ncr260vt100an:
11220 ncr160vt100pp|NCR 2900_160 vt100 with PC+ kybd:\
11221         :tc=ncr260vt100pp:
11222 ncr160vt100wan|NCR 2900_160 vt100 wide mode ansi kybd:\
11223         :tc=ncr260vt100wan:
11224 ncr160vt100wpp|NCR 2900_160 vt100 wide mode pc+  kybd:\
11225         :tc=ncr260vt100wpp:
11226 ncr160vt200an|NCR 2900_160 vt200 with ansi kybd:\
11227         :tc=ncr260vt200an:
11228 ncr160vt200pp|NCR 2900_160 vt200 with pc+ kybd:\
11229         :tc=ncr260vt200pp:
11230 ncr160vt200wan|NCR 2900_160 vt200 wide mode ansi kybd:\
11231         :tc=ncr260vt200wan:
11232 ncr160vt200wpp|NCR 2900_160 vt200 wide mode pc+  kybd:\
11233         :tc=ncr260vt200wpp:
11234 ncr160vt300an|NCR 2900_160 vt300 with ansi kybd:\
11235         :tc=ncr260vt300an:
11236 ncr160vt300pp|NCR 2900_160 vt300 with pc+ kybd:\
11237         :tc=ncr260vt300pp:
11238 ncr160vt300wan|NCR 2900_160 vt300 wide mode ansi kybd:\
11239         :tc=ncr260vt300wan:
11240 ncr160vt300wpp|NCR 2900_160 vt300 wide mode pc+  kybd:\
11241         :tc=ncr260vt300wpp:
11242 ncr160wy50+pp|NCR 2900_160 wyse 50+:\
11243         :tc=ncr260wy50+pp:
11244 ncr160wy50+wpp|NCR 2900_160 wyse 50+ wide mode:\
11245         :tc=ncr260wy50+wpp:
11246 ncr160wy60pp|NCR 2900_160 wyse 60:\
11247         :tc=ncr260wy60pp:
11248 ncr160wy60wpp|NCR 2900_160 wyse 60 wide mode:\
11249         :tc=ncr260wy60wpp:
11250 ncrvt100an|ncrvt100pp|NCR vt100 for the 2900 terminal:\
11251         :5i:am:hs:mi:ms:xo:\
11252         :Nl#32:co#80:it#8:li#24:\
11253         :#4=\E[D:%i=\E[C:@8=^M:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
11254         :DO=\E[%dB:K1=\E[H:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
11255         :ac=``aaffgghhiijjkkllmmnnqqttuuvvwwxxyyzz~~:ae=\017:\
11256         :al=\E[B\E[L:as=\016:bl=^G:cb=\E[1K:cd=\E[0J:ce=\E[0K:\
11257         :cl=\E[2J\E[1;1H:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
11258         :ct=\E[3g:dc=\E[1P:dl=\E[M:do=\E[B:ds=\E[31l:eA=\E(B\E)0:\
11259         :ei=\E[4l:fs=1:ho=\E[H:im=\E[4h:\
11260         :is=\E[12h\E[?10l\E%/0n\E[P\031\E[?3l\E(B\E)0:k1=\EOP:\
11261         :k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:\
11262         :ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:me=\017\E[0m:mr=\E[7m:\
11263         :nd=\E[C:nw=\EE:ps=\E[i:\
11264         :r2=\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:\
11265         :rc=\E8:\
11266         :..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<100>:\
11267         :sc=\E7:se=\E[0m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
11268         :ts=\E[>+1:ue=\E[0m:up=\E[A:us=\E[4m:
11269 ncrvt100wan|NCRVT100WPP|ncrvt100wpp|NCR VT100 emulation of the 2900 terminal:\
11270         :co#132:\
11271         :is=\E[12h\E[?10l\E%/0n\E[P\031\E[?3h\E(B\E)0:\
11272         :r2=\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:\
11273         :tc=ncrvt100an:
11275 # Vendor-supplied NCR termcaps end here
11277 # NCR7900 DIP switches:
11279 # Switch A:
11280 # 1-4 - Baud Rate
11281 # 5   - Parity (Odd/Even)
11282 # 6   - Don't Send or Do Send Spaces
11283 # 7   - Parity Enable
11284 # 8   - Stop Bits (One/Two)
11286 # Switch B:
11287 # 1   - Upper/Lower Shift
11288 # 2   - Typewriter Shift
11289 # 3   - Half Duplex / Full Duplex
11290 # 4   - Light/Dark Background
11291 # 5-6 - Carriage Return Without / With Line Feed
11292 # 7   - Extended Mode
11293 # 8   - Suppress Keyboard Display
11295 # Switch C:
11296 # 1   - End of line entry disabled/enabled
11297 # 2   - Conversational mode / (Local?) Mode
11298 # 3   - Control characters displayed / not displayed
11299 # 4   - (2-wire?) / 4-wire communications
11300 # 5   - RTS on and off for each character
11301 # 6   - (50Hz?) / 60 Hz
11302 # 7   - Exit after level zero diagnostics
11303 # 8   - RS-232 interface
11305 # Switch D:
11306 # 1   - Reverse Channel (yes / no)
11307 # 2   - Manual answer (no / yes)
11308 # 3-4 - Cursor appearance
11309 # 5   - Communication Rate
11310 # 6   - Enable / Disable EXT turnoff
11311 # 7   - Enable / Disable CR turnoff
11312 # 8   - Enable / Disable backspace
11314 # Since each attribute parameter is 0 or 1, we shift each attribute (standout,
11315 # reverse, blink, dim, and underline) the appropriate number of bits (by
11316 # multiplying the 0 or 1 by a correct factor to shift) so the bias character,
11317 # '@' is (effectively) "or"ed with each attribute to generate the proper third
11318 # character in the <ESC>0 sequence.  The :sa: string implements the following
11319 # equation:
11321 # ((((('@' + P5) | (P4 << 1)) | (P3 << 3)) | (P2 << 4)) | (p1 * 17))    =>
11322 # ((((('@' + P5) + (P4 << 1)) + (P3 << 3)) + (P2 << 4)) + (p1 * 17))
11324 #       Where:  P1 <==> Standout attribute parameter
11325 #               P2 <==> Underline attribute parameter
11326 #               P3 <==> Reverse attribute parameter
11327 #               P4 <==> Blink attribute parameter
11328 #               P5 <==> Dim attribute parameter
11329 # From <root@goliath.un.atlantaga.NCR.COM>, init string hacked by SCO.
11330 ncr7900i|ncr7900|ncr 7900 model 1:\
11331         :am:bw:ul:\
11332         :co#80:li#24:sg#1:\
11333         :bl=^G:cd=\Ek:ce=\EK:cl=^L:cm=\E1%r%.%.:cr=^M:do=^J:\
11334         :is=\E0@\010\E3\E4\E7:kd=^J:kh=^A:kl=^U:kr=^F:ku=^Z:le=^H:\
11335         :ll=^A:mb=\E0B:me=\E0@:mh=\E0A:mr=\E0P:nd=^F:pf=^T:po=^R:\
11336         :..sa=\E0%p5%{64}%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c:\
11337         :se=\E0@:sf=^J:so=\E0Q:ue=\E0@:up=^Z:us=\E0`:
11338 ncr7900iv|ncr 7900 model 4:\
11339         :am:bw:es:hs:\
11340         :co#80:li#24:\
11341         :al=\E^N:bl=^G:cl=^L:cm=\013%+@\E\005%02:cr=^M:dl=\E^O:\
11342         :do=^J:ds=\Ey1:fs=\Ek\Ey5:ho=\013@\E^E00:k1=\ES:k2=\ET:\
11343         :k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:k8=\ER:kb=^H:kd=\EB:\
11344         :kh=\EH:kl=\ED:kr=\EC:ku=\EA:l6=blue:l7=red:l8=white:le=^H:\
11345         :nw=^M^J:sf=^J:ts=\Ej\Ex5\Ex1\EY8%p1%{32}%+%c\Eo:
11346 # Warning: This terminal will lock out the keyboard when it receives a CTRL-D.
11347 #          The user can enter a CTRL-B to get out of this locked state.
11348 # In <hpa>, we want to output the character given by the formula:
11349 #               ((col / 10) * 16) + (col % 10)          where "col" is "p1"
11350 ncr7901|ncr 7901 model:\
11351         :am:bw:ul:\
11352         :co#80:li#24:\
11353         :bl=^G:cd=\Ek:ce=\EK:ch=\020%+^J:cl=^L:cm=\EY%+ %+ :cr=^M:\
11354         :cv=\013%+@:do=^J:is=\E4^O:kC=^L:kd=^J:kh=^H:kl=^U:kr=^F:\
11355         :ku=^Z:le=^H:ll=^A:mb=\E0B:me=^O:mh=\E0A:mr=\E0P:nd=^F:pf=^T:\
11356         :po=^R:\
11357         :..sa=\E0%p5%{64}%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c\016:\
11358         :se=^O:sf=^J:so=\E0Q\016:ue=^O:up=^Z:us=\E0`\016:ve=^X:\
11359         :vi=^W:
11361 #### Perkin-Elmer (Owl)
11363 # These are official terminfo entries from within Perkin-Elmer.
11366 bantam|pe550|pe6100|perkin elmer 550:\
11367         :bs:\
11368         :co#80:li#24:\
11369         :bl=^G:ce=\EI:cl=\EK:cm=\EX%+ \EY%+ :cr=^M:do=^J:ho=\EH:\
11370         :le=^H:ll=\EH\EA:nd=\EC:sf=^J:up=\EA:
11371 fox|pe1100|perkin elmer 1100:\
11372         :am:bs:\
11373         :co#80:li#24:\
11374         :bl=^G:cd=\EJ:ce=\EI:cl=\EH\EJ:cm=\EX%+ \EY%+ :cr=^M:\
11375         :ct=\E3:do=^J:ho=\EH:le=^H:ll=\EH\EA:nd=\EC:sf=^J:st=\E1:\
11376         :up=\EA:vb=\020\002\020\003:
11377 owl|pe1200|perkin elmer 1200:\
11378         :am:bs:in:\
11379         :co#80:li#24:\
11380         :al=\EL:bl=^G:cd=\EJ:ce=\EI:cl=\EH\EJ:cm=\EX%+ \EY%+ :\
11381         :cr=^M:ct=\E3:dc=\EO:dl=\EM:do=^J:ei=:ho=\EH:ic=\EN:im=:ip=:\
11382         :k0=\ERJ:k1=\ERA:k2=\ERB:k3=\ERC:k4=\ERD:k5=\ERE:k6=\ERF:\
11383         :k7=\ERG:k8=\ERH:k9=\ERI:kb=^H:le=^H:ll=\EH\EA:me=\E\041\0:\
11384         :nd=\EC:se=\E\041\0:sf=^J:so=\E\041^H:st=\E1:up=\EA:\
11385         :vb=\020\002\020\003:
11386 pe1251|pe6300|pe6312|perkin elmer 1251:\
11387         :am:\
11388         :co#80:it#8:li#24:pb#300:sg#1:vt#8:\
11389         :bl=^G:cd=\EJ:ce=\EI:cl=\EK:cm=\EX%+ \EY%+ :cr=^M:ct=\E3:\
11390         :do=\EB:ho=\EH:k0=\ERA:k1=\ERB:k2=\ERC:k3=\ERD:k4=\ERE:\
11391         :k5=\ERF:k6=\ERG:k7=\ERH:k8=\ERI:k9=\ERJ:k;=\ERK:le=\ED:\
11392         :nd=\EC:sf=^J:st=\E1:up=\EA:
11393 # (pe7000m: this had
11394 #       rmul=\E!\0, smul=\E!\040, 
11395 # which is probably wrong, it collides with kf0
11396 pe7000m|perkin elmer 7000 series monochrome monitor:\
11397         :am:\
11398         :co#80:li#24:\
11399         :bl=^G:bt=\E\041Y:cd=\EJ:ce=\EI:cl=\EK:cm=\ES%+ %+ :cr=^M:\
11400         :do=\EB:ho=\EH:i1=\E\041\0\EW  7o\Egf\ES7 :k0=\E\041\0:\
11401         :k1=\E\041^A:k2=\E\041^B:k3=\E\041^C:k4=\E\041^D:\
11402         :k5=\E\041^E:k6=\E\041^F:k7=\E\041^G:k8=\E\041^H:\
11403         :k9=\E\041^I:k;=\E\041^J:kb=^H:kd=\E\041U:kh=\E\041S:\
11404         :kl=\E\041V:kr=\E\041W:ku=\E\041T:le=\ED:ll=\ES7 :nd=\EC:\
11405         :sf=^J:sr=\ER:up=\EA:
11406 pe7000c|perkin elmer 7000 series colour monitor:\
11407         :i1=\E\041\0\EW  7o\Egf\Eb0\Ec7\ES7 :se=\Eb0:so=\Eb2:\
11408         :ue=\E\041\0:us=\E\041 :\
11409         :tc=pe7000m:
11411 #### Prime
11413 # Yes, Prime made terminals.  These entries were posted by Kevin J. Cummings
11414 # <cummings@primerd.prime.com> on 14 Dec 1992 and lightly edited by esr.
11415 # Prime merged with ComputerVision in the late 1980s; you can reach them at:
11417 #       ComputerVision Services
11418 #       500 Old Connecticut Path
11419 #       Framingham, Mass.
11422 # Standout mode is dim reverse-video.
11423 pt100|pt200|wren|fenix|prime pt100/pt200:\
11424         :am:bw:mi:ms:\
11425         :co#80:it#8:li#24:\
11426         :DC=\E[%dP:DL=\E[M:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
11427         :UP=\E[%dA:al=\E[L\E[t:bt=\E[Z:cd=\E[J\E[r:ce=\E[K\E[t:\
11428         :cl=\E?:cm=\E0%+!%+!:cr=^M:dc=\E[P:do=\ED:ei=\E[4l:ho=\E$B:\
11429         :im=\E[4h:kb=^H:kd=\E[B:ke=\E[>13l:kh=\E$A:kl=\E[D:kr=\E[C:\
11430         :ks=\E[>13h:ku=\E[A:le=^H:me=\E[m:mh=\E[2m:nd=\E[C:nw=^M^J:\
11431         :se=\E[m:sf=^J:so=\E[2;7m:ta=^I:te=:\
11432         :ti=\E[>1l\E[>2l\E[>16l\E[4l\E[>9l\E[20l\E[>3l\E[>7h\E[>12l\E[1Q:\
11433         :ue=\E[m:up=\EM:us=\E[4m:vb=\E$\E$P:
11434 pt100w|pt200w|wrenw|fenixw|prime pt100/pt200 in 132-column mode:\
11435         :co#132:\
11436         :cm=\E[%i%d;%dH:tc=pt100:
11437 pt250|Prime PT250:\
11438         :se@:so@:tc=pt100:
11439 pt250w|Prime PT250 in 132-column mode:\
11440         :se@:so@:tc=pt100w:
11442 #### Sperry Univac
11444 # Sperry Univac has merged with Burroughs to form Unisys.
11447 # This entry is for the Sperry UTS30 terminal running the TTY 
11448 # utility under control of CP/M Plus 1R1. The functionality 
11449 # provided is comparable to the DEC vt100.
11450 # (uts30: I added <rmam>/<smam> based on the init string -- esr)
11451 uts30|sperry uts30 with cp/m@1R1:\
11452         :am:bw:hs:\
11453         :co#80:li#24:ws#40:\
11454         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
11455         :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7m:SF=\E[%dB:\
11456         :SR=\E[%dA:UP=\E[%dA:\
11457         :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
11458         :ae=\Ed:al=\EN:as=\EF:bl=^G:cd=\E[J:ce=\E[K:cl=^L:\
11459         :cm=\E[%i%d;%dH:cr=^M:cs=\EU%+ %+ :dc=\EM:dl=\EL:do=\EB:\
11460         :ei=:fs=^M:ho=\E[H:ic=\EO:im=:is=\E[U 7\E[24;1H:kb=^H:\
11461         :kd=\EOB:kh=\E[H:kl=\EOD:kr=\EOC:ku=\EOA:le=^H:mb=\E[5m:\
11462         :md=\E[1m:me=\E[m:mr=\E[7m:nd=\EC:\
11463         :r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\EX:\
11464         :rf=/usr/share/tabset/vt100:sc=\EW:se=\E[m:sf=^J:\
11465         :so=\E[7m:sr=\EI:ta=^I:ts=\E]:uc=\EPB:ue=\E[m:up=\E[A:\
11466         :us=\E[4m:ve=\ES:vi=\ER:
11468 #### Tandem
11470 # Tandem builds these things for use with its line of fault-tolerant
11471 # transaction-processing computers.  They aren't generally available
11472 # on the merchant market, and so are fairly uncommon.
11475 tandem6510|adm3a repackaged by Tandem:\
11476         :tc=adm3a:
11478 # A funny series of terminal that TANDEM uses.  The actual model numbers
11479 # have a fourth digit after 653 that designates minor variants.  These are
11480 # natively block-mode and rather ugly, but they have a character mode which
11481 # this doubtless(?) exploits.  There is a 6520 that is slightly dumber.
11482 # (tandem653: had ":sb=\ES:", probably someone's mistake for sf; also,
11483 # removed :if=/usr/share/tabset/tandem653:, no such file -- esr)
11484 tandem653|t653x|Tandem 653x multipage terminal:\
11485         :am:bs:da:db:hs:\
11486         :co#80:li#24:sg#1:ws#64:\
11487         :cd=\EJ:ce=\EK:cl=\EI:cm=\023%+ %+ :do=^J:ds=\Eo\r:fs=^M:\
11488         :ho=\EH:le=^H:me=\E6 :nd=\EC:se=\E6 :sf=\ES:so=\E6$:sr=\ET:\
11489         :ts=\Eo:ue=\E6 :up=\EA:us=\E60:
11491 #### Tandy/Radio Shack
11493 # Tandy has a line of VDTs distinct from its microcomputers.
11496 dmterm|deskmate terminal:\
11497         :am:bw:\
11498         :co#80:li#24:\
11499         :al=\EP:bl=^G:cd=\EJ:ce=\EK:cl=\Ej:cm=\EY%+ %+ :cr=^M:\
11500         :dc=\ES:dl=\ER:do=\EB:ei=:ho=\EH:ic=\EQ:im=:k0=\E1:k1=\E2:\
11501         :k2=\E3:k3=\E4:k4=\E5:k5=\E6:k6=\E7:k7=\E8:k8=\E9:k9=\E0:\
11502         :kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:l0=f1:l1=f2:l2=f3:l3=f4:\
11503         :l4=f5:l5=f6:l6=f7:l7=f8:l8=f9:l9=f10:le=^H:ll=\EE:mk@:nd=\EC:\
11504         :sf=\EX:ta=^I:ue@:up=\EA:us@:ve=\EG6:vi=\EG5:\
11505         :tc=adm+sgr:
11506 dt100|dt-100|Tandy DT-100 terminal:\
11507         :xo:\
11508         :co#80:li#24:sg#1:\
11509         :ac=jjkkllmmnnqqttuuvvwwxx:ae=^O:al=\E[L:as=^N:bl=^G:\
11510         :cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\010\E[%i%d;%dH:cr=^M:\
11511         :cs=\E[%2;%2r:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:\
11512         :im=:is=\E[?3l\E)0\E(B:k1=\E[?3i:k2=\E[2i:k3=\E[@:k4=\E[M:\
11513         :k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:k9=\E[21~:\
11514         :k;=\E[?5i:kN=\E[29~:kP=\E[28~:kd=\E[B:kh=\E[H:kl=\E[D:\
11515         :kr=\E[C:ku=\E[A:l1=f1:l2=f2:l3=f3:l4=f4:l5=f5:l6=f6:l7=f7:\
11516         :l8=f8:le=^H:me=\E[m:nd=\E[C:se=\E[m:sf=^J:so=\E[7m:sr=\EM:\
11517         :ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[?25h:vi=\E[?25l:
11518 dt100w|dt-100w|Tandy DT-100 terminal (wide mode):\
11519         :co#132:tc=dt100:
11520 dt110|Tandy DT-110 emulating ansi:\
11521         :xo:\
11522         :co#80:li#24:\
11523         :@7=\E[K:ac=jjkkllmmnnqqttuuvvwwxx:ae=^O:al=\E[0L:as=^N:\
11524         :bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[H\E[2J:cm=\010\E[%i%d;%dH:\
11525         :cr=^M:cs=\E[%i%d;%dr:dc=\E[0P:dl=\E[0M:do=\E[0B:\
11526         :eA=\E(B\E)0:ei=:ho=\E[H:ic=\E[0@:im=:is=\E[?3l\E)0\E(B:\
11527         :k1=\E[1~:k2=\E[2~:k3=\E[3~:k4=\E[4~:k5=\E[5~:k6=\E[6~:\
11528         :k7=\E[7~:k8=\E[8~:k9=\E[9~:k;=\E[10~:kI=\E[@:kN=\E[26~:\
11529         :kP=\E[25~:kd=\E[B:kh=\E[G:kl=\E[D:kr=\E[C:ku=\E[A:l0=f1:\
11530         :l1=f2:l2=f3:l3=f4:l4=f5:l5=f6:l6=f7:l7=f8:l8=f9:l9=f10:le=^H:\
11531         :me=\E[m:nd=\E[C:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:\
11532         :ue=\E[m:up=\E[0A:us=\E[4m:ve=\E[?25h:vi=\E[?25l:
11533 pt210|TRS-80 PT-210 printing terminal:\
11534         :hc:os:\
11535         :co#80:\
11536         :bl=^G:cr=^M:do=^J:sf=^J:
11538 #### Tektronix (tek)
11540 # Tektronix tubes are graphics terminals.  Most of them use modified 
11541 # oscilloscope technology incorporating a long-persistence green phosphor,
11542 # and support vector graphics on a main screen with an attached "dialogue
11543 # area" for interactive text.
11546 tek|tek4012|tektronix 4012:\
11547         :bs:os:\
11548         :co#75:li#35:\
11549         :bl=^G:cl=\E\014:cr=^M:do=^J:ff=\014:is=\E^O:le=^H:
11550 # (tek4013: added <acsc> to suppress tic warnings re :as:/:ae: --esr)
11551 tek4013|tektronix 4013:\
11552         :ac=:ae=\E^O:as=\E^N:tc=tek4012:
11553 tek4014|tektronix 4014:\
11554         :co#81:li#38:\
11555         :is=\E\017\E9:tc=tek4012:
11556 # (tek4015: added <acsc> to suppress tic warnings re :as:/:ae: --esr)
11557 tek4015|tektronix 4015:\
11558         :ac=:ae=\E^O:as=\E^N:tc=tek4014:
11559 tek4014-sm|tektronix 4014 in small font:\
11560         :co#121:li#58:\
11561         :is=\E\017\E\072:tc=tek4014:
11562 # (tek4015-sm: added <acsc> to suppress tic warnings re :as:/:ae: --esr)
11563 tek4015-sm|tektronix 4015 in small font:\
11564         :ac=:ae=\E^O:as=\E^N:tc=tek4014-sm:
11565 # Tektronix 4023 from Andrew Klossner <orca!andrew.tektronix@csnet-relay>
11567 # You need to have "stty nl2" in effect.  Some versions of tset(1) know
11568 # how to set it for you.
11570 # It's got the Magic Cookie problem around stand-out mode.  If you can't
11571 # live with Magic Cookie, remove the :so: and :se: fields and do without
11572 # reverse video.  If you like reverse video stand-out mode but don't want
11573 # it to flash, change the letter 'H' to 'P' in the :so: field.
11574 tek4023|tektronix 4023:\
11575         :am:bs:\
11576         :co#80:dN#4:li#24:sg#1:vt#4:\
11577         :bl=^G:cl=4\E\014:cm=\034%r%+ %+ :cr=^M:do=^J:kb=^H:le=^H:\
11578         :nd=^I:nl=^J:se=^_@:so=^_P:
11579 # It is recommended that you run the 4025 at 4800 baud or less;
11580 # various bugs in the terminal appear at 9600.  It wedges at the
11581 # bottom of memory (try "cat /usr/dict/words"); ^S and ^Q typed
11582 # on keyboard don't work.  You have to hit BREAK twice to get
11583 # one break at any speed - this is a documented feature.
11584 # Can't use cursor motion because it's memory relative, and 
11585 # because it only works in the workspace, not the monitor.  
11586 # Same for home. Likewise, standout only works in the workspace.
11588 # :ce: was commented out since vi and rogue seem to work better 
11589 # simulating it with lots of spaces!
11591 # :al: and :AL: had 145ms of padding, but that slowed down vi's ^U 
11592 # and didn't seem necessary.
11594 tek4024|tek4025|tek4027|tektronix 4024/4025/4027:\
11595         :am:bs:da:db:\
11596         :co#80:it#8:li#34:lm#0:\
11597         :AL=\037up\r\037ili %d\r:CC=^_:DL=\037dli %d\r\006:\
11598         :DO=\037dow %d\r:LE=\037lef %d\r:RI=\037rig %d\r:\
11599         :UP=\037up %d\r:al=\037up\r\037ili\r:bl=^G:\
11600         :cd=\037dli 50\r:cl=\037era\r\n\n:cr=^M:dc=\037dch\r:\
11601         :dl=\037dli\r\006:do=^F^J:ei=:ic=\037ich\r \010:im=:\
11602         :is=\041com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r:\
11603         :ke=\037lea p2\r\037lea p4\r\037lea p6\r\037lea p8\r\037lea f5\r:\
11604         :ks=\037lea p4 /h/\r\037lea p8 /k/\r\037lea p6 / /\r\037lea p2 /j/\r\037lea f5 /H/\r:\
11605         :le=^H:nd=\037rig\r:sf=^F^J:ta=^I:up=^K:
11606 tek4025-17|tek 4025 17 line window:\
11607         :li#17:tc=tek4025:
11608 tek4025-17-ws|tek 4025 17 line window in workspace:\
11609         :is=\041com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r\037wor 17\r\037mon 17\r:\
11610         :se=\037att s\r:so=\037att e\r:te=\037mon h\r:\
11611         :ti=\037wor h\r:\
11612         :tc=tek4025-17:
11613 tek4025-ex|tek4027-ex|tek 4025/4027 w/!:\
11614         :is=\037com 33\r\n\041sto 9 17 25 33 41 49 57 65 73\r:\
11615         :te=\037com 33\r:ti=\041com 31\r:\
11616         :tc=tek4025:
11617 # Tektronix 4025a
11618 # From: Doug Gwyn <gwyn@brl-smoke.ARPA>
11619 # The following status modes are assumed for normal operation (replace the
11620 # initial "!" by whatever the current command character is):
11621 #       !COM 29                 # NOTE: changes command character to GS (^])
11622 #       ^]DUP
11623 #       ^]ECH R
11624 #       ^]EOL
11625 #       ^]RSS T
11626 #       ^]SNO N
11627 #       ^]STO 9 17 25 33 41 49 57 65 73
11628 # Other modes may be set according to communication requirements.
11629 # If the command character is inadvertently changed, termcap can't restore it.
11630 # Insert-character cannot be made to work on both top and bottom rows.
11631 # Clear-to-end-of-display emulation via !DLI 988 is too grotty to use, alas.
11632 # There also seems to be a problem with vertical motion, perhaps involving
11633 # delete/insert-line, following a typed carriage return.  This terminal sucks.
11634 # Delays not specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
11635 # (tek4025a: removed obsolete ":xx:". This may mean the tek4025a entry won't
11636 # work any more. -- esr)
11637 tek4025a|Tektronix 4025A:\
11638         :am:bs:bw:da:db:pt:xo:\
11639         :co#80:it#8:li#34:\
11640         :CC=^]:DC=\035dch %d;:DL=\035dli %d;:DO=\035dow %d;:\
11641         :LE=\035lef %d;:RI=\035rig %d;:SF=\035dow %d;:\
11642         :UP=\035up %d;:al=\013\035ili;:bl=^G:bt=\035bac;:\
11643         :ce=\035dch 80;:ch=\r\035rig %d;:cl=\035era;\n\035rup;:\
11644         :cr=^M:ct=\035sto;:dc=\035dch;:dl=\035dli;:do=^J:le=^H:\
11645         :nd=\035rig;:\
11646         :rs=\041com 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;:\
11647         :sf=^J:ta=^I:up=^K:
11648 # From: cbosg!teklabs!davem Wed Sep 16 21:11:41 1981
11649 # Here's the command file that I use to get rogue to work on the 4025.
11650 # It should work with any program using the old curses (e.g. it better
11651 # not try to scroll, or cursor addressing won't work.  Also, you can't
11652 # see the cursor.)
11653 # (This "learns" the arrow keys for rogue. I have adapted it for termcap - mrh)
11654 tek4025-cr|tek 4025 for curses and rogue:\
11655         :am:bs:\
11656         :co#80:it#8:li#33:\
11657         :cl=\037era;:cm=\037jum%i%d\054%d;:do=^F^J:\
11658         :is=\041com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r:\
11659         :le=^H:nd=\037rig;:sf=^F^J:ta=^I:te=\037wor 0:\
11660         :ti=\037wor 33h:up=^K:
11661 # next two lines commented out since curses only allows 128 chars, sigh.
11662 #       :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:\
11663 #       :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:
11664 tek4025ex|4025ex|4027ex|tek 4025 w/!:\
11665         :is=\037com 33\r\n\041sto 9\05417\05425\05433\05441\05449\05457\05465\05473\r:\
11666         :te=\037com 33\r:ti=\041com 31\r:\
11667         :tc=tek4025:
11668 tek4105|tektronix 4105:\
11669         :am:bs:mi:ms:ul:xn:xt:\
11670         :co#79:it#8:li#29:\
11671         :ac=:ae=\E[m:al=\E[1L:as=\E[1m:bl=^G:bt=\E[Z:cd=\E[J:\
11672         :ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%2;%2H:cr=^M:ct=\E[1g:\
11673         :dc=\E[1P:dl=\E[1M:do=\E[1B:ei=\E[4l:ho=\E[H:i1=\E%!1\E[m:\
11674         :im=\E[4h:is=\E%!1\E[?6141\E[m:kb=^H:kd=\E[1B:kl=\E[1D:\
11675         :kr=\E[1C:ku=\E[1A:mb=\E[=3;<7m:md=\E[=7;<4m:\
11676         :me=\E[=0;<1m:mh=\E[=1;<6m:mk=\E[=6;<5:mr=\E[=1;<3m:\
11677         :nd=\E[1C:se=\E[=0;<1m:sf=\E[S:so=\E[=2;<3m:sr=\E[T:ta=^I:\
11678         :te=:ti=\E%!1\E[?6l\E[2J:ue=\E[=0;<1m:up=\E[1A:\
11679         :us=\E[=5;<2m:
11681 # (tek4105-30: I added <rmam>/<smam> based on the init string -- esr)
11682 tek4105-30|4015 emulating 30 line vt100:\
11683         :am:mi:ms:xn:xo:\
11684         :co#80:it#8:li#30:vt#3:\
11685         :@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
11686         :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
11687         :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
11688         :ae=^O:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
11689         :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:do=^J:\
11690         :eA=\E(B\E)0:ho=\E[H:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:\
11691         :k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:\
11692         :kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
11693         :ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:\
11694         :nd=\E[C:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
11695         :..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
11696         :sc=\E7:se=\E[m:sf=^J:so=\E[1;7m:sr=\EM:st=\EH:ta=^I:\
11697         :ue=\E[m:up=\E[A:us=\E[4m:
11699 # Tektronix 4105 from BRL
11700 # The following setup modes are assumed for normal operation:
11701 #       CODE ansi               CRLF no                 DABUFFER 141
11702 #       DAENABLE yes            DALINES 30              DAMODE replace
11703 #       DAVISIBILITY yes        ECHO no                 EDITMARGINS 1 30
11704 #       FLAGGING input          INSERTREPLACE replace   LFCR no
11705 #       ORIGINMODE relative     PROMPTMODE no           SELECTCHARSET G0 B
11706 #       SELECTCHARSET G1 0      TABS -2
11707 # Other setup modes may be set for operator convenience or communication
11708 # requirements; I recommend
11709 #       ACURSOR 1 0             AUTOREPEAT yes          AUTOWRAP yes
11710 #       BYPASSCANCEL <LF>       CURSORKEYMODE no        DAINDEX 1 0 0
11711 #       EOFSTRING ''            EOLSTRING <CR>          EOMCHARS <CR> <NU>
11712 #       GAMODE overstrike       GCURSOR 0 100 0         GSPEED 10 1
11713 #       IGNOREDEL no            KEYEXCHAR <DL>          NVDEFINE -53 "<NU>"
11714 #       PROMPTSTRING ''         QUEUESIZE 2460          WINDOW 0 0 4095 3132
11715 #       XMTDELAY 0
11716 # and factory color maps.  After setting these modes, save them with NVSAVE. No
11717 # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
11718 # "IC" cannot be used in combination with "im" & "ei".
11719 # "tek4105a" is just a guess:
11720 tek4105a|Tektronix 4105:\
11721         :bs:ms:pt:xo:\
11722         :co#80:it#8:kn#8:li#30:vt#3:\
11723         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
11724         :RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ac=:ae=^O:al=\E[L:\
11725         :as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
11726         :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
11727         :dl=\E[M:do=^J:ec=\E[%dX:ei=\E[4l:ho=\E[H:im=\E[4h:\
11728         :is=\E%!1:k0=\EOA:k1=\EOB:k2=\EOC:k3=\EOD:k4=\EOP:k5=\EOQ:\
11729         :k6=\EOR:k7=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
11730         :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:\
11731         :l5=F6:l6=F8:le=^H:ll=\E[30;H:mb=\E[5m:md=\E[1m:me=\E[m:\
11732         :mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:\
11733         :rs=\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>:\
11734         :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
11735         :te=\E%!0\ELBH=\E%!1:ti=\E[?6l:ue=\E[m:up=\EM:us=\E[4m:\
11736         :ve=\E%!0\ETD10\E%!1:vi=\E%!0\ETD00\E%!1:\
11737         :vs=\E%!0\ETD70\E%!1:
11740 # Tektronix 4106/4107/4109 from BRL
11741 # The following setup modes are assumed for normal operation:
11742 #       CODE ansi               COLUMNMODE 80           CRLF no
11743 #       DABUFFER 141            DAENABLE yes            DALINES 32
11744 #       DAMODE replace          DAVISIBILITY yes        ECHO no
11745 #       EDITMARGINS 1 32        FLAGGING input          INSERTREPLACE replace
11746 #       LFCR no                 LOCKKEYBOARD no         ORIGINMODE relative
11747 #       PROMPTMODE no           SELECTCHARSET G0 B      SELECTCHARSET G1 0
11748 #       TABS -2
11749 # Other setup modes may be set for operator convenience or communication
11750 # requirements; I recommend
11751 #       ACURSOR 1 0             AUTOREPEAT yes          AUTOWRAP yes
11752 #       BYPASSCANCEL <LF>       CURSORKEYMODE no        DAINDEX 1 0 0
11753 #       EOFSTRING ''            EOLSTRING <CR>          EOMCHARS <CR> <NU>
11754 #       GAMODE overstrike       GCURSOR 0 100 0         GSPEED 9 3
11755 #       IGNOREDEL no            KEYEXCHAR <DL>          NVDEFINE -53 "<NU>"
11756 #       PROMPTSTRING ''         QUEUESIZE 2620          WINDOW 0 0 4095 3132
11757 #       XMTDELAY 0
11758 # and factory color maps.  After setting these modes, save them with NVSAVE.  No
11759 # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
11760 # "IC" cannot be used in combination with "im" & "ei".
11761 tek4106brl|tek4107brl|tek4109brl|Tektronix 4106 4107 or 4109:\
11762         :ms:xo:\
11763         :co#80:it#8:li#32:vt#3:\
11764         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
11765         :RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ac=:ae=^O:al=\E[L:\
11766         :as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
11767         :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
11768         :dl=\E[M:do=^J:ec=\E[%dX:ei=\E[4l:ho=\E[H:im=\E[4h:\
11769         :is=\E%!1:k0=\EOA:k1=\EOB:k2=\EOC:k3=\EOD:k4=\EOP:k5=\EOQ:\
11770         :k6=\EOR:k7=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
11771         :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:\
11772         :l5=F6:l6=F8:le=^H:ll=\E[32;H:mb=\E[5m:md=\E[1m:me=\E[m:\
11773         :mr=\E[7m:nd=\E[C:nw=\EE:\
11774         :r1=\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>:\
11775         :rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7;42m:sr=\EM:st=\EH:\
11776         :ta=^I:te=\E%!0\ELBH=\E%!1:ti=\E[?6l:ue=\E[m:up=\EM:\
11777         :us=\E[4m:ve=\E%!0\ETD10\E%!1:vi=\E%!0\ETD00\E%!1:\
11778         :vs=\E%!0\ETD70\E%!1:
11780 tek4107|tek4109|tektronix terminals 4107 4109:\
11781         :am:bs:mi:ms:ul:xn:xt:\
11782         :co#79:it#8:li#29:\
11783         :bl=^G:cd=\EJ:ce=\EK:cl=\ELZ:cm=\EY%+ %+ :cr=^M:do=^J:kb=^H:\
11784         :kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:mb=\E%!1\E[5m\E%!0:\
11785         :md=\E%!1\E[1m\E%!0:me=\E%!1\E[m\E%!0:\
11786         :mh=\E%!1\E[<0m\E%!0:mr=\E%!1\E[7m\E%0:nd=\EC:\
11787         :..sa=\E%%\0411\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m\E%%\0410:\
11788         :se=\E%!1\E[m\E%!0:sf=^J:so=\E%!1\E[7;5m\E%!0:sr=\EI:\
11789         :ta=^I:ue=\E%!1\E[m\E%!0:up=\EA:us=\E%!1\E[4m\E%!0:\
11790         :ve=\E%!0:vs=\E%!3:
11791 # Tektronix 4207 with sysline.  In the ancestral termcap file this was 4107-s;
11792 # see the note attached to tek4207.
11793 tek4207-s|Tektronix 4207 with sysline but no memory:\
11794         :es:hs:\
11795         :ds=\E7\E[?6l\E[2K\E[?6h\E8:fs=\E[?6h\E8:\
11796         :i1=\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:\
11797         :is=\E7\E[?6l\E[2K\E[?6h\E8:\
11798         :ts=\E7\E[?6l\E[2K\E[;%i%df:tc=tek4107:
11800 # The 4110 series may be a wonderful graphics series, but they make the 4025
11801 # look good for screen editing.  In the dialog area, you can't move the cursor
11802 # off the bottom line.  Out of the dialog area, ^K moves it up, but there
11803 # is no way to scroll.
11805 # Note that there is a floppy for free from Tek that makes the 
11806 # 4112 emulate the vt52 (use the vt52 termcap). There is also
11807 # an expected enhancement that will use ANSI standard sequences.
11809 # 4112 in non-dialog area pretending to scroll. It really wraps 
11810 # but vi is said to work (more or less) in this mode.
11812 # 'vi' works reasonably well with this entry.
11814 otek4112|o4112-nd|otek4113|otek4114|old tektronix 4110 series:\
11815         :am:\
11816         :co#80:li#34:\
11817         :bl=^G:cl=\E^L:cr=^M:do=^J:le=^H:sf=^J:te=\EKA1\ELV1:\
11818         :ti=\EKA0\ELV0\EMG0:up=^K:
11819 # The 4112 with the ANSI compatibility enhancement
11820 tek4112|tek4114|tektronix 4110 series:\
11821         :am:bs:db:\
11822         :co#80:li#34:\
11823         :al=\E[L:bt=\E[Z:cd=\E[0J:ce=\E[0K:cl=\E[2J\E[0;0H:\
11824         :cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:ei=:ic=\E[@:im=:\
11825         :is=\E3\0411:le=^H:me=\E[m:nd=\E[C:se=\E[m:\
11826         :sf=\E7\E[0;0H\E[M\E8:so=\E[7m:sr=\E7\E[0;0H\E[L\E8:\
11827         :ue=\E[m:up=\EM:us=\E[4m:
11828 tek4112-nd|4112 not in dialog area:\
11829         :ns:\
11830         :up=^K:tc=tek4112:
11831 tek4112-5|4112 in 5 line dialog area:\
11832         :li#5:tc=tek4112:
11833 # (tek4113: this used to have ":nd=\LM1\s\LM0:", someone's mistake;
11834 # removed ":as=\E^N:, :ae=\E^O:", which had been commented out in 8.3.
11835 # Note, the !0 and !1 sequences in :te:/:ti:/:ve:/:vi: were
11836 # previously \0410 and \0411 sequences...I don't *think* they were supposed
11837 # to be 4-digit octal -- esr)
11838 tek4113|tektronix 4113 color graphics with 5 line dialog area:\
11839         :am:bs:da:eo:\
11840         :co#80:li#5:\
11841         :cl=\ELZ:do=^J:is=\EKA1\ELL5\ELV0\ELV1:le=^H:\
11842         :nd=\ELM1 \ELM0:uc=\010\ELM1_\ELM0:\
11843         :vb=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0:
11844 tek4113-34|tektronix 4113 color graphics with 34 line dialog area:\
11845         :li#34:\
11846         :is=\EKA1\ELLB2\ELV0\ELV1:tc=tek4113:
11847 # :ns: left off to allow vi visual mode. APL font (:as=\E^N:/:ae=\E^O:) not 
11848 # supported here. :uc: is slow, but looks nice. Suggest setenv MORE -up .
11849 # :vb: needs enough delay to let you see the background color being toggled.
11850 tek4113-nd|tektronix 4113 color graphics with no dialog area:\
11851         :am:bs:eo:\
11852         :co#80:it#8:li#34:\
11853         :cl=\E^L:do=^J:ho=\ELF7l\177 @:is=\ELZ\EKA0\ELF7l\177 @:\
11854         :le=^H:ll=\ELF hl @:nd=^I:se=\EMT1:so=\EMT2:ta=^I:\
11855         :uc=\010\EMG1_\EMG0:up=^K:\
11856         :vb=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0:\
11857         :vs=\ELZ\EKA0:
11858 # This entry is from Tek. Inc.  (Brian Biehl)
11859 # (tek4115: :bc: renamed to :le:, <rmam>/<smam> added based on init string -- esr)
11860 otek4115|Tektronix 4115:\
11861         :am:bs:da:db:eo:\
11862         :co#80:it#8:li#34:\
11863         :RA=\E[?7l:SA=\E[?7h:al=\E[L:bt=\E[Z:cd=\E[J:ce=\E[K:\
11864         :cl=\E[H\E[2J:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=\E[B:\
11865         :ei=\E[4l:ho=\E[H:if=/usr/share/tabset/vt100:im=\E[4h:\
11866         :is=\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:\
11867         :kb=^H:ke=\E>:ks=\E=:le=\E[D:me=\E[m:nd=\E[C:se=\E[m:\
11868         :so=\E[7m:sr=\EM:ta=^I:te=\E%!0\ELBG8\E%!1\E[34;1H\E[J:\
11869         :ti=\E%!0\ELBB2\E%!1:ue=\E[m:up=\E[A:us=\E[4m:\
11870         :ve=\E%!0\ELBG8\E%!1\E[34;1H:vs=\E%!0\ELBB2\E%!1:
11871 tek4115|newer tektronix 4115 entry with more ANSI capabilities:\
11872         :am:xo:\
11873         :co#80:li#34:\
11874         :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:\
11875         :RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:al=\E[L:bl=^G:\
11876         :bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%+^AG:cl=\E[H\E[J:\
11877         :cm=\E[%i%d;%dH:cr=^M:ct=\E[2g:cv=\E[%+^Ad:dc=\E[P:\
11878         :dl=\E[M:do=^J:ei=:ho=\E[H:ic=\E[@:im=:kb=^H:kd=\E[B:kh=\E[H:\
11879         :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:\
11880         :mk=\E[8m:mr=\E[7m:nd=\E[C:..rp=%p1%c\E[%p2%{1}%-%db:\
11881         :..sa=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m:\
11882         :se=\E[m:sf=^J:so=\E[7m:st=\EH:ta=^I:ue=\E[m:up=\E[A:\
11883         :us=\E[4m:
11884 # The tek4125 emulates a vt100 incorrectly - the scrolling region
11885 # command is ignored.  The following entry replaces :cs: with the needed
11886 # :AL:, :AL:, and :im:; removes some cursor pad commands that the tek4125
11887 # chokes on; and adds a lot of initialization for the tek dialog area.
11888 # Note that this entry uses all 34 lines and sets the cursor color to green.
11889 # Steve Jacobson 8/85
11890 # (tek4125: there were two "\!"s in the is that I replaced with "\E!";
11891 # commented out, :im:=\E1 because there's no :ei:  -- esr)
11892 tek4125|tektronix 4125:\
11893         :li#34:\
11894         :al=\E[1L:cs@:dl=\E[1M:\
11895         :is=\E%\E\0410\EQD1\EUX03\EKA\ELBB2\ELCE0\ELI100\ELJ2\ELLB2\ELM0\ELS1\ELX00\ELV1\E%\E\0411\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
11896         :ks=\E=:rc@:sc@:\
11897         :tc=vt100:
11899 # From: <jcoker@ucbic>
11900 # (tek4207: This was the termcap file's entry for the 4107/4207, but SCO
11901 # supplied another, less capable 4107 entry.  So we'll use that for 4107 and
11902 # note that if jcoker wasn't confused you may be able to use this one.
11903 # I merged in :ms:,:sf:,:sr:,<invis>,:ct: from a BRL entry -- esr)
11904 tek4207|Tektronix 4207 graphics terminal with memory:\
11905         :am:bw:mi:ms:ul:xn:\
11906         :co#80:it#8:li#32:\
11907         :al=3\E[L:bt=\E[Z:cd=\E[J:ce=5\E[K:cl=156\E[H\E[J:\
11908         :cm=\E[%i%d;%dH:ct=\E[1g:dc=4\E[P:dl=3\E[M:do=^J:ei=:\
11909         :ho=\E[H:ic=4\E[@:im=:\
11910         :is=\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:\
11911         :kd=\ED:kh=\E[H:kl=\E[D:kr=\E[C:ku=\EM:le=^H:mb=\E[5m:\
11912         :md=\E[1m:me=\E[m:mk=\E[=6;<5:mr=\E[7m:nd=\E[C:se=\E[m:\
11913         :sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:\
11914         :te=\E[?6h\E%!0\ELBP0\E%!1\E[32;1f:ti=\E[?6l\E[H\E[J:\
11915         :ue=\E[m:up=\EM:us=\E[4m:
11917 # From: <carolyn@dali.berkeley.edu>  Thu Oct 31 12:54:27 1985
11918 # (tek4404: There was a "\!" in :ti: that I replaced with "\E!".
11919 # Tab had been given as \E2I,that must be the tab-set capability -- esr)
11920 tek4404|tektronix 4404:\
11921         :bs:\
11922         :co#80:it#8:li#32:\
11923         :al=\E[1L:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:\
11924         :cs=\E[%i%d;%dr:dc=\E[P:dl=\E[1M:do=^J:ei=\E[4l:ho=\E[H:\
11925         :im=\E[4h:kd=\E[B:ke=\E[?1h:kl=\E[D:kr=\E[C:ks=\E[?1l:\
11926         :ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:nd=\E[C:rc=\E8:\
11927         :sc=\E7:se=\E[27m:so=\E[7m:st=\E[2I:ta=^I:\
11928         :te=\E[1;1H\E[0J\E[?6h\E[?1l:\
11929         :ti=\E%\E\0411\E[1;32r\E[?6l\E>:ue=\E[m:up=\E[A:\
11930         :us=\E[4m:
11931 # Some unknown person wrote:
11932 # I added the is string - straight Unix has ESC ; in the login 
11933 # string which sets a ct8500 into monitor mode (aka 4025 snoopy 
11934 # mode). The is string here cleans up a few things (but not 
11935 # everything).
11936 ct8500|tektronix ct8500:\
11937         :am:bw:da:db:\
11938         :co#80:li#25:\
11939         :al=\E^L:bl=^G:bt=\E^I:cd=\E^U:ce=\E^T:cl=\E^E:\
11940         :cm=\E|%+ %+ :cr=^M:dc=\E^]:dl=\E^M:do=^J:ei=:ic=\E^\:im=:\
11941         :is=\037\EZ\Ek:le=^H:me=\E :nd=\ES:se=\E :sf=^J:so=\E$:\
11942         :sr=\E^A:ta=^I:ue=\E :up=\ER:us=\E\041:
11944 # Tektronix 4205 terminal.
11946 # am is not defined because the wrap around occurs not when the char.
11947 # is placed in the 80'th column, but when we are attempting to type
11948 # the 81'st character on the line.  (esr: hmm, this is like the vt100
11949 # version of xenl, perhaps am + xenl would work!)
11951 # Bold, dim, and standout are simulated by colors and thus not allowed
11952 # with colors.  The tektronix color table is mapped into the RGB color
11953 # table by setf/setb. All colors are reset to factory specifications by oc.
11954 # The <initc> cap uses RGB notation to define colors.  for arguments 1-3 the 
11955 # interval (0-1000) is broken into 8 smaller sub-intervals (125).  Each sub-
11956 # interval then maps into pre-defined value.
11957 # (untranslatable capabilities removed to fit entry within 1023 bytes)
11958 tek4205|tektronix 4205:\
11959         :cc:mi:ms:\
11960         :Co#8:NC#49:co#80:it#8:li#30:pa#63:\
11961         :AL=\E[%dL:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:\
11962         :UP=\E[%dA:\
11963         :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
11964         :ae=^O:al=\E[1L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:\
11965         :ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:ct=\E[1g:\
11966         :dc=\E[1P:dl=\E[1M:do=\E[B:eA=\E)0:ec=\E%dX:ei=\E[4l:\
11967         :ho=\E[H:i1=\E%!0\ETM1\E%!1\E[m:im=\E[4h:k0=\EOA:k1=\EOB:\
11968         :k2=\EOC:k3=\EOD:k4=\EP:k5=\EQ:k6=\ER:k7=\ES:kb=^H:kd=\E[B:\
11969         :kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[=7;<4m:\
11970         :me=\E[=0;<1m\E[24;25;27m\017:mh=\E[=1;<6m:mk=\E[=6;<5:\
11971         :mr=\E[7m:nd=\E[C:\
11972         :oc=\E%!0\ETFB000001F4F4F42F40030F404A4C<F450F4F46F40F47F4F40\E%!1:\
11973         :op=\E[39;40m:se=\E[=0;<1m:sf=\ED:so=\E[=2;<3m:sr=\EM:\
11974         :ta=^I:te=:ti=\E%%\0411\E[?6l\E[2J:ue=\E[24m:up=\E[A:\
11975         :us=\E[4m:
11977 #### Teletype (tty)
11979 # These are the hardcopy Teletypes from before AT&T bought the company,
11980 # clattering electromechanical dinosaurs in Bakelite cases that printed on
11981 # pulpy yellow roll paper.  If you remember these you go back a ways.
11982 # Teletype-branded VDTs are listed in the AT&T section.
11984 # The earliest UNIXes were designed to use these clunkers; nroff and a few
11985 # other programs still default to emitting codes for the Model 37.
11988 tty33|tty35|model 33 or 35 teletype:\
11989         :hc:os:xo:\
11990         :co#72:\
11991         :bl=^G:cr=^M:do=^J:sf=^J:
11992 tty37|model 37 teletype:\
11993         :bs:hc:os:xo:\
11994         :bl=^G:cr=^M:do=^J:hd=\E9:hu=\E8:le=^H:sf=^J:up=\E7:
11996 # There are known to be at least three flavors of the tty40, all seem more
11997 # like IBM half duplex forms fillers than ASCII terminals.  They have lots of
11998 # awful braindamage, such as printing a visible newline indicator after each
11999 # newline.  The 40-1 is a half duplex terminal and is hopeless.  The 40-2 is
12000 # braindamaged but has hope and is described here.  The 40-4 is a 3270
12001 # lookalike and beyond hope.  The terminal has visible bell but I don't know
12002 # it - it's null here to prevent it from showing the BL character.
12003 # There is an \EG in <nl> because of a bug in old vi (if stty says you have
12004 # a "newline" style terminal (-crmode) vi figures all it needs is nl
12005 # to get crlf, even if :cr: is not ^M.)
12006 # (tty40: removed obsolete ":nl=\EG\EB:", it's just do+cr -- esr)
12007 tty40|ds40|ds40-2|dataspeed40|teletype dataspeed 40/2:\
12008         :bs:xo:\
12009         :co#80:li#24:\
12010         :al=\EL:cd=\EJ:cl=\EH\EJ:cr=\EG:ct=\EH\E2:dc=\EP:dl=\EM:\
12011         :do=\EB:ei=:ho=\EH:ic=\E\136:im=:kb=^]:kl=^H:le=^H:nd=\EC:\
12012         :pf=^T:po=\022:r2=\023\ER:se=\E4:sf=\ES:so=\E3:sr=\ET:\
12013         :st=\E1:ta=\E@:up=\E7:
12014 tty43|model 43 teletype:\
12015         :am:bs:hc:os:xo:\
12016         :co#132:\
12017         :bl=^G:cr=^M:do=^J:kb=^H:le=^H:sf=^J:
12019 #### Tymshare
12022 # You can add :is=\E<: to put this 40-column mode, though I can't
12023 # for the life of me think why anyone would want to.
12024 scanset|sc410|sc415|Tymshare Scan Set:\
12025         :am:bw:ms:\
12026         :co#80:li#24:\
12027         :ac=j%k4l<m-q\054x5:ae=^O:as=^N:bl=^G:cd=\EJ:ce=\EK:\
12028         :cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:do=^J:ho=\EH:kd=\EB:kl=\ED:\
12029         :kr=\EC:ku=\EA:le=^H:nd=^I:pf=\E;0:po=\E;0:ps=\E;3:r1=\E>:\
12030         :rc=^C:sc=^B:sf=^J:up=^K:
12032 #### Volker-Craig (vc)
12034 # If you saw a Byte Magazine cover with a terminal on it during the early
12035 # 1980s, it was probably one of these.  Carl Helmers liked them because
12036 # they could crank 19.2 and were cheap (that is, he liked them until he tried
12037 # to program one...)
12040 # Missing in vc303a and vc303 descriptions:  they scroll 2 lines at a time
12041 # every other linefeed.
12042 vc303|vc103|vc203|volker-craig 303:\
12043         :am:bs:ns:\
12044         :co#80:li#24:\
12045         :bl=^G:cl=\014:cr=^M:do=^J:ho=\013:kd=^J:kl=^H:kr=^I:ku=^N:\
12046         :le=^H:ll=\017W:nd=^I:up=^N:
12047 vc303a|vc403a|volker-craig 303a:\
12048         :ce=\026:cl=\030:ho=\031:kr=^U:ku=^Z:ll=^P:nd=^U:up=^Z:tc=vc303:
12049 # (vc404: removed obsolete ":ma=^Z^P^U :" -- esr)
12050 vc404|volker-craig 404:\
12051         :am:bs:\
12052         :co#80:li#24:\
12053         :bl=^G:cd=\027:ce=\026:cl=\030:cm=\020%+ %+ :cr=^M:do=^J:\
12054         :ho=\031:kd=^J:kl=^H:kr=^U:ku=^Z:le=^H:nd=^U:sf=^J:up=^Z:
12055 vc404-s|volker-craig 404 w/standout mode:\
12056         :do=^J:se=^O:so=^N:tc=vc404:
12057 # From: <wolfgang@cs.sfu.ca>
12058 # (vc414: merged in cup/dl1/home from an old vc414h-noxon)
12059 vc414|vc414h|Volker-Craig 414H in sane escape mode.:\
12060         :am:bs:\
12061         :co#80:li#24:\
12062         :al=\E\032:cd=\E^X:ce=10\E\017:cl=\E\034:cm=\E\021%r%.%.:\
12063         :dc=\E3:dl=\E\023:do=\E^K:ei=:ho=\E^R:ic=\E\072:im=:k0=\EA:\
12064         :k1=\EB:k2=\EC:k3=\ED:k4=\EE:k5=\EF:k6=\EG:k7=\EH:kd=\E^K:\
12065         :kh=\E^R:kl=^H:kr=^P:ku=\E^L:l0=PF1:l1=PF2:l2=PF3:l3=PF4:\
12066         :l4=PF5:l5=PF6:l6=PF7:l7=PF8:nd=^P:se=\E^_:so=\E^Y:up=\E^L:
12067 vc415|volker-craig 415:\
12068         :cl=^L:tc=vc404:
12070 ######## OBSOLETE PERSONAL-MICRO CONSOLES AND EMULATIONS
12073 #### IBM PC and clones
12076 # The pcplot IBM-PC terminal emulation program is really messed up. It is
12077 # supposed to emulate a vt-100, but emulates the wraparound bug incorrectly,
12078 # doesn't support scrolling regions, ignores add line commands, and ignores
12079 # delete line commands. Consequently, the resulting behavior looks like a
12080 # crude adm3a-type terminal.
12081 # Steve Jacobson 8/85
12082 pcplot|pc-plot terminal emulation program:\
12083         :xn@:\
12084         :AL@:DL@:al@:cs@:dl@:rc@:sc@:tc=vt100:
12085 # KayPro II from Richard G Turner <rturner at Darcom-Hq.ARPA>
12086 # I've found that my KayPro II, running MDM730, continues to emulate an
12087 # ADM-3A terminal, just like I was running TERM.COM. On our 4.2 UNIX
12088 # system the following termcap entry works well:
12089 # I have noticed a couple of minor glitches, but nothing I can't work
12090 # around. (I added two capabilities from the BRL entry -- esr)
12091 kaypro|kaypro2|kaypro II:\
12092         :am:bs:\
12093         :co#80:li#24:\
12094         :al=\EE:bl=^G:cd=^W:ce=^X:cl=1\032:cm=\E=%+ %+ :cr=^M:\
12095         :dl=\ER:do=^J:ho=^^:kd=^J:kr=^L:ku=^K:nd=^L:sf=^J:up=^K:
12097 # From IBM, Thu May  5 19:35:27 1983
12098 # (ibmpc: commented out :im:=\200R because we don't know :ei: -- esr)
12099 ibm-pc|ibm5051|5051|IBM Personal Computer (no ANSI.SYS):\
12100         :am:bs:\
12101         :co#80:li#24:\
12102         :bl=^G:cl=^L^K:cr=^M^^:do=^J:ho=^K:kd=^_:le=^]:nd=^\:sf=\n:\
12103         :up=^^:
12105 ibmpc|wy60-PC|wyse60-PC|IBM PC/XT running PC/IX:\
12106         :am:bw:eo:hs:km:ms:ul:\
12107         :co#80:it#8:li#24:\
12108         :@7=\E[Y:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS\E[%dB:\
12109         :SR=\E[%dT\E[%dA:UP=\E[%dA:\
12110         :ac=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263:\
12111         :bl=^G:cd=\E[J:ce=\E[K:ch=\E[%i%dG:cl=\Ec:cm=\E[%i%d;%dH:\
12112         :cr=^M:do=\E[B:ec=\E[%dX:ho=\E[H:k1=\240:k2=\241:k3=\242:\
12113         :k4=\243:k5=\244:k6=\245:k7=\246:k8=\247:k9=\250:k;=\251:\
12114         :kB=^]:kD=\177:kI=\E[^H:kN=\E[U:kb=^H:kd=\E[B:kh=\E[H:\
12115         :kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:ll=\E[24;1H:mb=\E[5m:\
12116         :md=\E[1m:me=\E[m:mk=\E[30;40m:mr=\E[7m:nd=\E[C:nw=^M:\
12117         :..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m:\
12118         :se=\E[m:sf=\E[S\E[B:so=\E[7m:sr=\E[T\E[A:ue=\E[m:up=\E[A:\
12119         :us=\E[4m:
12121 #### Apple II
12123 # Apple II firmware console first, then various 80-column cards and 
12124 # terminal emulators.  For two cents I'd toss all these in the UFO file
12125 # along with the 40-column apple entries.
12128 # From: brsmith@umn-cs.cs.umn.edu (Brian R. Smith) via BRL
12129 #       'it#8' tells UNIX that you have tabs every 8 columns.  This is a
12130 #               function of TIC, not the firmware.
12131 #       The clear key on a IIgs will do something like clear-screen, 
12132 #               depending on what you're in.
12133 appleIIgs|appleIIe|appleIIc|Apple 80 column firmware interface:\
12134         :am:bs:bw:eo:ms:\
12135         :co#80:it#8:li#24:\
12136         :bl=^G:cd=^K:ce=^]:cl=^L:cm=\036%r%+ %+ :cr=^M:do=^J:ho=^Y:\
12137         :kC=^X:kD=\177:kb=^H:kd=^J:kl=^H:kr=^U:ku=^K:le=^H:nd=^\:\
12138         :nw=^M^W:se=^N:sf=^W:so=^O:sr=^V:ta=^I:up=^_:
12139 # Apple //e with 80-column card, entry from BRL
12140 # The modem interface is permitted to discard LF (maybe DC1), otherwise
12141 # passing characters to the 80-column firmware via COUT (PR#3 assumed).
12142 # Auto-wrap does not work right due to newline scrolling delay, which also
12143 # requires that you set "stty cr2".
12144 # Note: Cursor addressing is only available via the Pascal V1.1 entry,
12145 # not via the BASIC PR#3 hook.  All this nonsense can be avoided only by
12146 # using a terminal emulation program instead of the built-in firmware.
12147 apple2e|Apple //e:\
12148         :bw:ms:\
12149         :co#80:li#24:\
12150         :bl=^G:cd=4*\013:ce=4\035:cl=100\014:do=^J:ho=^Y:is=^R^N:\
12151         :kb=^H:kd=^J:kl=^H:kr=^U:ku=^K:le=^H:me=^N:mr=^O:nw=100\r:\
12152         :r1=^R^N:se=^N:sf=^W:so=^O:sr=^V:ta=^I:up=^_:
12153 # mcvax!vu44!vu45!wilcke uses the "ap" entry together with Ascii Express Pro
12154 # 4.20, with incoming and outgoing terminals both on 0, emulation On.
12155 apple2e-p|Apple //e via Pascal:\
12156         :cm=\036%r%+ %+ :kb=^H:kd=^J:kl=^H:tc=apple2e:
12157 # (ASCII Express) MouseTalk "Standard Apple //" emulation from BRL
12158 # Enable DC3/DC1 flow control with "stty ixon -ixany".
12159 apple-ae|ASCII Express:\
12160         :am:bs:bw:ms:nx:xo:\
12161         :co#80:it#8:li#24:\
12162         :bl=500\007:cd=^K:ce=^]:cl=^L:cm=\036%r%+ %+ :cr=^M:do=^J:\
12163         :ho=^Y:is=^R^N:kC=^X:kd=^J:kl=^H:kr=^U:ku=^K:le=^H:me=^N:\
12164         :mr=^O:nd=^U:r1=^R^N:se=^N:sf=^W:so=^O:sr=^V:up=^_:
12165 appleII|apple ii plus:\
12166         :am:bs:\
12167         :co#80:it#8:li#24:\
12168         :cd=^K:ce=^]:cl=^L:cm=\036%r%+ %+ :do=^J:ho=\E^Y:\
12169         :is=\024T1\016:kd=^J:kr=^U:le=^H:me=^N:nd=^\:se=^N:so=^O:\
12170         :ta=^I:up=^_:vb=\024G1\024T1:ve=^TC2:vs=^TC6:
12171 # Originally by Gary Ford 21NOV83
12172 # From: <ee178aci%sdcc7@SDCSVAX.ARPA>  Fri Oct 11 21:27:00 1985
12173 apple-80|apple II with smarterm 80 col:\
12174         :am:bs:bw:\
12175         :co#80:li#24:\
12176         :bt=^R:cd=10*\013:ce=10\035:cl=10*\014:cm=\036%r%+ %+ :\
12177         :cr=10*\r:do=^J:ho=^Y:le=^H:nd=^\:up=^_:
12178 apple-soroc|apple emulating soroc 120:\
12179         :am:\
12180         :co#80:li#24:\
12181         :bl=^G:cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :cr=^M:do=^J:ho=^^:\
12182         :kd=^J:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:sf=^J:up=^K:
12183 # From Peter Harrison, Computer Graphics Lab, San Francisco
12184 #   ucbvax!ucsfmis!harrison  .....uucp
12185 #   ucbvax!ucsfmis!harrison@BERKELEY   .......ARPA
12186 # "These two work.  If you don't have the inverse video chip for the
12187 # Apple with videx then remove the :so: and :se: fields."
12188 # (apple-videx: this used to be called DaleApple -- esr)
12189 apple-videx|Apple with videx videoterm 80 column board with inverse video:\
12190         :am:bs:xn:\
12191         :co#80:it#8:li#24:\
12192         :cd=^K:ce=^]:cl=300\014:cm=\036%r%+ %+ :do=^J:ho=^Y:kd=^J:\
12193         :kh=^Y:kl=^H:kr=^U:le=^H:me=^Z2:nd=^\:se=^Z2:so=^Z3:ta=^I:\
12194         :up=^_:
12195 # My system [for reference] : Apple ][+, 64K, Ultraterm display card,
12196 #                             Apple Cat ][ 212 modem, + more all
12197 #                             controlled by ASCII Express: Pro.
12198 # From Dave Shaver <isucs1!shaver>
12199 apple-uterm-vb|Videx Ultraterm for Apple micros with Visible Bell:\
12200         :am:bs:eo:xt:\
12201         :co#80:li#24:\
12202         :ac=:cd=^K:ce=^]:cl=^L:cm=\036%r%+ %+ :ho=^Y:\
12203         :is=^V4^W06\017\rVisible Bell Installed.\016\r\n:\
12204         :nd=^\:se=^N:so=^O:up=^_:vb=^W35^W06:
12205 apple-uterm|Ultraterm for Apple micros:\
12206         :am:bs:eo:xt:\
12207         :co#80:li#24:\
12208         :ac=:cd=^K:ce=^]:cl=^L:cm=\036%r%+ %+ :ho=^Y:\
12209         :is=^V4^W06\016:nd=^\:se=^N:so=^O:up=^_:
12210 # from trwrba!bwong (Bradley W. Wong):
12212 # This entry assumes that you are using an apple with the UCSD Pascal
12213 # language card.  SYSTEM.MISCINFO is assumed to be the same as that
12214 # supplied with the standard apple except that screenwidth should be set
12215 # using SETUP to 80 columns.  Note that the right arrow in not mapped in
12216 # this termcap entry.  This is because that key, on the Apple, transmits
12217 # a ^U and would thus preempt the more useful "up" function of vi.
12219 # HMH 2/23/81
12220 apple80p|80-column apple with Pascal card:\
12221         :am:bw:\
12222         :co#80:li#24:\
12223         :cd=^K:ce=^]:cl=^Y^L:cm=\036%r%+ %+ :ho=^Y:kl=^H:nd=^\\072:\
12224         :up=^_:
12226 # Apple II+ equipped with Videx 80 column card
12228 # Terminfo from ihnp4!ihu1g!djc1 (Dave Christensen) via BRL;
12229 # manually converted by D A Gwyn
12231 # DO NOT use any terminal emulation with this data base, it works directly
12232 # with the Videx card.  This has been tested with vi 1200 baud and works fine.
12234 # This works great for vi, except I've noticed in pre-R2, ^U will scroll back
12235 # 1 screen, while in R2 ^U doesn't.
12236 # For inverse alternate character set add:
12237 #       :as:=^O::ae:=^N:
12238 # (apple-v: added it#8 -- esr)
12239 apple-videx2|Apple II+ w/ Videx card (similar to Datamedia h1520):\
12240         :am:xn:\
12241         :co#80:it#8:li#24:\
12242         :bl=100\007:cd=16*\013:ce=^]:cl=16*\014:cm=\036%r%+ %+ :\
12243         :cr=^M:do=^J:ho=^Y:kb=^H:kd=^J:kh=^Y:kl=^H:kr=^\:ku=^_:le=^H:\
12244         :nd=^\:se=^Z2:sf=^J:so=^Z3:ta=8\011:up=^_:
12245 apple-videx3|vapple|Apple II with 80 col card:\
12246         :am:bs:\
12247         :co#80:li#24:\
12248         :ce=\Ex:cl=\Ev:cm=\EY%+ %+ :ho=\EH:k0=\EP:k1=\EQ:k2=\ER:\
12249         :k3=\E :k4=\E\041:k5=\E":k6=\E#:k7=\E$:k8=\E%:k9=\E&:kd=\EB:\
12250         :kh=\EH:kl=\ED:kr=\EC:ku=\EA:nd=\EC:up=\EA:
12251 #From: decvax!cbosgd!cbdkc1!mww Mike Warren via BRL
12252 aepro|Apple II+ running ASCII Express Pro--vt52:\
12253         :bs:\
12254         :co#80:li#24:\
12255         :cd=\EJ:ce=\EK:cl=300\014:cm=\EY%+ %+ :ho=\EH:nd=\EC:\
12256         :up=\EA:
12257 # UCSD addition: Yet another termcap from Brian Kantor's Micro Munger Factory
12258 apple-vm80|ap-vm80|apple with viewmax-80:\
12259         :bs:\
12260         :co#80:li#24:\
12261         :cd=300\013:ce=^]:cl=300\014:cm=100\036%+ %+ :ho=200\031:\
12262         :nd=^\\072:up=^_:
12264 #### Apple Lisa & Macintosh
12267 # (lisa: changed :vs: to :ve: -- esr)
12268 lisa|apple lisa console display (black on white):\
12269         :am:bs:eo:ms:\
12270         :co#88:it#8:li#32:\
12271         :ac=jdkclfmenbqattuvvuwsx`:ae=\E[10m:al=\E[L:as=\E[11m:\
12272         :cd=\E[J:ce=\E[K:cl=^L:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:\
12273         :do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:is=\E>\E[m\014:kb=^H:\
12274         :kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:nd=\E[C:\
12275         :se=\E[m:so=\E[7m:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[5l:\
12276         :vi=\E[5h:
12277 liswb|apple lisa console display (white on black):\
12278         :is=\E>\E[0;7m\014:se=\E[0;7m:so=\E[m:ue=\E[0;7m:\
12279         :us=\E[4m:tc=lisa:
12281 # lisaterm from ulysses!gamma!epsilon!mb2c!jed (John E. Duncan III) via BRL;
12282 # :is: revised by Ferd Brundick <fsbrn@BRL.ARPA>
12284 # These entries assume that the 'Auto Wraparound' is enabled.
12285 # Xon-Xoff flow control should also be enabled.
12287 # The vt100 uses :rs2: and :rf: rather than :is2:/:tbc:/:hts: because the tab
12288 # settings are in non-volatile memory and don't need to be reset upon login.
12289 # Also setting the number of columns glitches the screen annoyingly.
12290 # You can type "reset" to get them set.
12292 lisaterm|Apple Lisa or Lisa/2 running LisaTerm vt100 emulation:\
12293         :am:bs:pt:xn:xo:\
12294         :co#80:it#8:kn#4:li#24:vt#3:\
12295         :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bl=^G:cd=\E[J:\
12296         :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
12297         :cs=\E[%i%d;%dr:ct=\E[3g:do=^J:ho=\E[H:k0=\EOP:k1=\EOQ:\
12298         :k2=\EOR:k3=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
12299         :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l0=F1:l1=F2:l2=F3:l3=F4:le=^H:\
12300         :mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
12301         :r1=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r:\
12302         :rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
12303         :ue=\E[m:up=\E[A:us=\E[4m:
12304 # Lisaterm in 132 column ("wide") mode.
12305 lisaterm-w|Apple Lisa with Lisaterm in 132 column mode:\
12306         :co#132:\
12307         :kb=^H:kd=^J:kl=^H:tc=lisaterm:
12308 # Although MacTerminal has insert/delete line, it is commented out here
12309 # since it is much faster and cleaner to use the "lock scrolling region"
12310 # method of inserting and deleting lines due to the MacTerminal implementation.
12311 # Also, the "Insert/delete ch" strings have an extra character appended to them
12312 # due to a bug in MacTerminal V1.1.  Blink is disabled since it is not
12313 # supported by MacTerminal.
12314 mac|macintosh|Macintosh with MacTerminal:\
12315         :xn:\
12316         :dN#30:\
12317         :dc=7\E[P:ei=:ic=9\E[@:im=:ip=7:mb@:tc=lisa:
12318 # Lisaterm in 132 column ("wide") mode.
12319 mac-w|macterminal-w|Apple Macintosh with Macterminal in 132 column mode:\
12320         :co#132:tc=mac:
12322 #### Radio Shack/Tandy
12325 # (coco3: This had "ta" used incorrectly as a boolean and bl given as "bl#7".
12326 # I read these as mistakes for ":it#8:" and ":bl=\007:" respectively -- esr)
12327 # From: <{pbrown,ctl}@ocf.berkeley.edu> 12 Mar 90
12328 coco3|os9LII|Tandy CoCo3 24*80 OS9 Level II:\
12329         :am:bs:\
12330         :co#80:it#8:li#24:\
12331         :al=^_0:bl=^G:cd=^K:ce=^D:cl=5*\014:cm=2\002%r%+ %+ :\
12332         :dl=^_1:do=^J:ho=^A:kd=^J:kl=^H:kr=^I:ku=^L:le=^H:mb=^_":\
12333         :md=\E\072^A:me=\037\041\E\072\0:mr=^_ :nd=^F:se=^_\041:\
12334         :so=^_ :ue=^_#:up=^I:us=^_":ve=^E\041:vi=^E :
12335 # (trs2: removed obsolete ":nl=^_:" -- esr)
12336 trs2|trsII|trs80II|Radio Shack Model II using P&T CP/M:\
12337         :am:bs:ms:\
12338         :co#80:it#8:li#24:\
12339         :al=^D:bl=^G:cd=^B:ce=^A:cl=^L:cm=\EY%+ %+ :cr=^M:dl=^K:\
12340         :do=^_:ho=^F:kb=^H:kd=^_:kl=^\:kr=^]:ku=^^:le=^H:me=^O:nd=^]:\
12341         :se=^O:sf=^J:so=^N:ta=^I:up=^^:
12342 # From: Kevin Braunsdorf <ksb@mentor.cc.purdue.edu>
12343 # (This had extension capabilities
12344 #       :BN=\E[?33h:BF=\E[?33l:UC=\E[_ q:BC=\E[\177 q:\
12345 #       :CN=\ERC:CF=\ERc:NR=\ERD:NM=\ER@:
12346 # I also deleted the unnecessary ":kn#2:", ":sg#0:" -- esr)
12347 trs16|trs-80 model 16 console:\
12348         :am:bs:\
12349         :co#80:it#8:li#24:\
12350         :ac=jak`l_mbquvewcxs:ae=\ERg:al=\EL:as=\ERG:bl=^G:cd=\EJ:\
12351         :ce=\EK:cl=^L:cm=\EY%+ %+ :cr=^M:dc=\EQ:dl=\EM:do=\EB:ei=:\
12352         :ho=\EH:ic=\EP:im=:k0=^A:k1=^B:k2=^D:k3=^L:k4=^U:k5=^P:k6=^N:\
12353         :k7=^S:kb=^H:kd=\EB:kh=^W:kl=\ED:kr=\EC:ku=\EA:l0=f1:l1=f2:\
12354         :l2=f3:l3=f4:l4=f5:l5=f6:l6=f7:l7=f8:le=^H:me=\ER@:nd=\EC:\
12355         :pf=\E]+:po=\E]=:se=\ER@:sf=^J:so=\ERD:ta=^I:up=\EA:ve=\ERC:\
12356         :vi=\ERc:
12358 #### Atari ST
12361 # From: Simson L. Garfinkel <simsong@media-lab.mit.edu>
12362 atari|atari st:\
12363         :am:bs:\
12364         :co#80:it#8:li#25:\
12365         :al=\EL:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :dl=\EM:do=\EB:\
12366         :kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=\ED:me=\Eq:nd=\EC:se=\Eq:\
12367         :so=\Ep:sr=\EI:ta=^I:up=\EA:
12368 # UniTerm terminal program for the Atari ST:  49-line VT220 emulation mode
12369 # From: Paul M. Aoki <aoki@ucbvax.berkeley.edu>
12370 uniterm|uniterm49|UniTerm VT220 emulator with 49 lines:\
12371         :li#49:\
12372         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;49r\E[49;1H:tc=vt220:
12373 # MiNT VT52 emulation. 80 columns, 25 rows.
12374 # MiNT is Now TOS, the operating system which comes with all Ataris now
12375 # (mainly Atari Falcon). This termcap is for the VT52 emulation you get
12376 # under tcsh/zsh/bash/sh/ksh/ash/csh when you run MiNT in `console' mode
12377 # From: Per Persson <pp@gnu.ai.mit.edu>, 27 Feb 1996
12378 st52|Atari ST with VT52 emulation:\
12379         :am:km:\
12380         :co#80:li#25:\
12381         :K1=\E#7:K2=\E#9:K3=\E#5:K4=\E#1:K5=\E#3:al=\EL:bl=^G:\
12382         :cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:dl=\EM:do=\EB:\
12383         :ho=\EH:k0=\E#D:k1=\E#;:k2=\E#<:k3=\E#=:k4=\E#>:k5=\E#?:\
12384         :k6=\E#@:k7=\E#A:k8=\E#B:k9=\E#C:kA=\E#R:kC=\E#7:kF=\E#2:\
12385         :kR=\E#8:kb=^H:kd=\E#P:kh=\E#G:kl=\E#K:kr=\E#M:ku=\E#H:\
12386         :l0=f10:le=\ED:me=\Eq:nd=\EC:nw=^M^J:r1=\Ez_\Eb@\EcA:\
12387         :rc=\Ek:sc=\Ej:se=\Eq:sf=^J:so=\Ep:sr=\EI:ta=^I:te=:ti=\Ee:\
12388         :up=\EA:ve=\Ee:vi=\Ef:
12390 #### Commodore Business Machines
12392 # Formerly located in West Chester, PA; went spectacularly bust in 1994
12393 # after years of shaky engineering and egregious mismanagement.  Made one
12394 # really nice machine (the Amiga) and boatloads of nasty ones (PET, C-64,
12395 # C-128, VIC-20).  The C-64 is said to have been the most popular machine
12396 # ever (most units sold); they can still be found gathering dust in closets
12397 # everywhere.
12400 # From: Kent Polk <kent@swrinde.nde.swri.edu>, 30 May 90
12401 # Added a few more entries, converted caret-type control sequence (^x) entries
12402 # to '\0xx' entries since a couple of people mentioned losing '^x' sequences.
12403 # Corrections by Ty Sarna <tsarna@endicor.com>, Sat Feb 28 18:55:15 1998
12405 # :as:, :ae:                    Support for alternate character sets.
12406 # :ve=\E[\040p:vi=\E[\060\040p: cursor visible/invisible.
12407 # :xn:  vt100 kludginess at column 80/NEWLINE ignore after 80 cols(Concept)
12408 #     This one appears to fix a problem I always had with a line ending
12409 #     at 'width+1' (I think) followed by a blank line in vi. The blank
12410 #     line tended to disappear and reappear depending on how the screen
12411 #     was refreshed. Note that this is probably needed only if you use
12412 #     something like a Dnet Fterm with the window sized to some peculiar
12413 #     dimension larger than 80 columns.
12414 # :k0=\E9~:     map F10 to k0 - could have F0-9 -> k0-9, but ... F10 was 'k;'
12415 # (amiga: removed obsolete :kn#10:,
12416 # also added empty <acsc> to suppress a warning --esr)
12417 amiga|Amiga ANSI:\
12418         :am:bs:bw:xn:\
12419         :co#80:li#24:\
12420         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
12421         :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ac=:\
12422         :ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
12423         :cl=\E[H\E[J:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=\E[B:ei=:\
12424         :ho=\E[H:ic=\E[@:im=:is=\E[20l:k0=\E[9~:k1=\E[0~:k2=\E[1~:\
12425         :k3=\E[2~:k4=\E[3~:k5=\E[4~:k6=\E[5~:k7=\E[6~:k8=\E[7~:\
12426         :k9=\E[8~:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:\
12427         :mb=\E[7;2m:md=\E[1m:me=\E[m:mh=\E[2m:mk=\E[8m:mr=\E[7m:\
12428         :nd=\E[C:r1=\Ec:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:ue=\E[m:\
12429         :up=\E[A:us=\E[4m:ve=\E[ p:vi=\E[0 p:
12431 # From: Hans Verkuil <hans@wyst.hobby.nl>, 4 Dec 1995
12432 # (amiga: added empty <acsc> to suppress a warning.
12433 # I'm told this entry screws up badly with AS225, the Amiga
12434 # TCP/IP package once from Commodore, and now sold by InterWorks.--esr)
12435 amiga-h|Hans Verkuil's Amiga ANSI:\
12436         :bs:bw:ms:\
12437         :co#80:li#24:\
12438         :DC=\233%dP:DO=\233%dB:IC=\233%d@:LE=\233%dD:RI=\233%dC:\
12439         :SF=\233%dS:SR=\233%dT:UP=\233%dA:ac=:ae=^O:as=^N:bl=^G:\
12440         :bt=\233Z:cd=\233J:ce=\233K:cl=\233H\233J:\
12441         :cm=\233%i%d;%dH:cr=^M:dc=\233P:do=\233B:ec=\233%dP:ei=:\
12442         :ho=\233H:ic=\233@:im=:is=\23320l:k0=\2339~:k1=\2330~:\
12443         :k2=\2331~:k3=\2332~:k4=\2333~:k5=\2334~:k6=\2335~:\
12444         :k7=\2336~:k8=\2337~:k9=\2338~:kD=\177:kb=^H:kd=\233B:\
12445         :kl=\233D:kr=\233C:ku=\233A:le=\233D:mb=\2337;2m:\
12446         :md=\2331m:me=\2330m:mh=\2332m:mk=\2338m:mr=\2337m:\
12447         :nd=\233C:nw=\233B\r:r1=\Ec:se=\2330m:sf=\233S:so=\2337m:\
12448         :sr=\233T:ta=^I:te=\233?7h:ti=\233?7l:ue=\2330m:up=\233A:\
12449         :us=\2334m:vb=^G:ve=\233 p:vi=\2330 p:
12451 # From: Henning 'Faroul' Peters <Faroul@beyond.kn-bremen.de>, 25 Sep 1999
12452 amiga-8bit|Amiga ANSI using 8-bit controls:\
12453         :AL=\233%dL:DL=\233%dM:SF@:SR@:ac=:al=\233L:dl=\233M:\
12454         :sf=\204:sr=\215:\
12455         :tc=amiga-h:
12457 # Commodore B-128 microcomputer from Doug Tyrol <det@HEL-ACE.ARPA>
12458 #       I'm trying to write a termcap for a commodore b-128, and I'm
12459 # having a little trouble. I've had to map most of my control characters
12460 # to something that unix will accept (my delete-char is a ctrl-t, etc),
12461 # and create some functions (like cm), but thats life.
12462 #       The problem is with the arrow keys - right, and up work fine, but
12463 # left deletes the previous character and down I just can't figure out.
12464 # Jove knows what I want, but I don't know what it's sending to me (it
12465 # isn't thats bound to next-line in jove).
12466 #       Anybody got any ideas? Here's my termcap.
12467 # DAG -- I changed his "^n" entries to "\n"; see if that works.
12469 commodore|b-128|Commodore B-128 micro:\
12470         :am:bw:\
12471         :co#80:dN#20:li#24:pb#150:\
12472         :al=10\Ei:bc=^H:ce=10\Eq:cl=10\E\006:\
12473         :cm=20\E\013%2\054%2\054:cr=^M:dc=10*\177:dl=10*\Ed:\
12474         :do=^J:ei=:ho=\E^E:ic=5\E\n:im=:kd=^J:kh=\E^E:kl=^B:kr=^F:\
12475         :ku=^P:nd=^F:nl=^M:ta=5\011:up=^P:
12477 #### North Star
12479 # North Star Advantage from Lt. Fickie <brl-ibd!fickie> via BRL
12480 northstar|North Star Advantage:\
12481         :bs:\
12482         :co#80:li#24:\
12483         :cd=200\017:ce=200\016:cl=200\004:cm=1\E=%+ %+ :\
12484         :ho=200\034\032:
12486 #### Osborne
12488 # Thu Jul  7 03:55:16 1983
12489 #       
12490 # As an aside, be careful; it may sound like an anomaly on the 
12491 # Osborne, but with the 80-column upgrade, it's too easy to 
12492 # enter lines >80 columns!
12493 #       
12494 # I've already had several comments...
12495 # The Osborne-1 with the 80-col option is capable of being 
12496 # 52, 80, or 104 characters wide; default to 80 for compatibility 
12497 # with most systems.
12498 #       
12499 # The tab is destructive on the Ozzie; make sure to 'stty -tabs'.
12500 osborne-w|osborne1-w|osborne I in 104-column mode:\
12501         :ms:ul:xt:\
12502         :co#104:li#24:\
12503         :al=\EE:bl=^G:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:dc=\EW:dl=\ER:\
12504         :do=^J:ei=:ic=\EQ:im=:kd=^J:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:\
12505         :se=\E(:sf=^J:so=\E):ue=\Em:up=^K:us=\El:
12506 # Osborne I     from ptsfa!rhc (Robert Cohen) via BRL
12507 osborne|osborne1|osborne I in 80-column mode:\
12508         :am:bs:mi:ms:ul:xs:\
12509         :co#80:dB#4:li#24:\
12510         :al=\EE:ce=\ET:cl=^Z:cm=\E=%+ %+ :dc=4\EW:dl=\ER:do=^J:ei=:\
12511         :im=\EQ:is=^Z:kb=^H:kd=^J:kl=^H:kr=^L:ku=^K:le=\010:nd=^L:\
12512         :se=\E):so=\E(:ue=\Em:up=^K:us=\El:
12514 # Osborne Executive definition from BRL
12515 # Similar to tvi920
12516 # Added by David Milligan and Tom Smith (SMU)
12517 osexec|Osborne executive:\
12518         :am:bs:\
12519         :co#80:li#24:sg#1:\
12520         :al=\EE:bl=^G:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:ct=\E3:\
12521         :dc=\EW:dl=\ER:do=^J:ei=:ho=^^:ic=\EQ:im=:\
12522         :is=\Eq\Ek\Em\EA\Ex0:k0=^A@\r:k1=^AA\r:k2=^AB\r:k3=^AC\r:\
12523         :k4=^AD\r:k5=^AE\r:k6=^AF\r:k7=^AG\r:k8=^AH\r:k9=^AI\r:\
12524         :kb=^H:kd=^J:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:nl=^J:se=\Ek:\
12525         :so=\Ej:st=\E1:ue=\Em:up=^K:us=\El:
12527 #### Console types for obsolete UNIX clones
12529 # Coherent, Minix, Venix, and several lesser-known kin were OSs for 8088
12530 # machines that tried to emulate the UNIX look'n'feel.  Coherent and Venix
12531 # were commercial, Minix an educational tool sold in conjunction with a book.
12532 # Memory-segmentation limits and a strong tendency to look like V7 long after
12533 # it was obsolete made all three pretty lame.  Venix croaked early.  Coherent
12534 # and Minix were ported to 32-bit Intel boxes, only to be run over by a
12535 # steamroller named `Linux' (which, to be fair, traces some lineage to Minix). 
12536 # Coherent's vendor, the Mark Williams Company, went belly-up in 1994.  There
12537 # are also, I'm told, Minix ports that ran on Amiga and Atari machines and
12538 # even as single processes under SunOS and the Macintosh OS.
12541 # This is the entry provided with minix 1.7.4, with bogus :ri: removed.
12542 minix|minix console (v1.7):\
12543         :am:xn:\
12544         :co#80:it#8:li#25:\
12545         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
12546         :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:cd=\E[0J:\
12547         :ce=\E[K:cl=\E[H\E[0J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:\
12548         :dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:is=\E[0m:k0=\E[Y:\
12549         :k1=\E[V:k2=\E[U:k3=\E[T:k4=\E[S:k5=\E[G:kb=^H:kd=\E[B:\
12550         :kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:l0=End:l1=PgUp:l2=PgDn:\
12551         :l3=Num +:l4=Num -:l5=Num 5:le=^H:mb=\E[5m:md=\E[1m:\
12552         :me=\E[0m:mr=\E[7m:nd=\E[C:nw=^M^J:se=\E[0m:sf=^J:so=\E[7m:\
12553         :sr=\EM:ta=^I:ue=\E[0m:up=\E[A:us=\E[4m:
12554 # Corrected Jan 14, 1997 by Vincent Broman <broman@nosc.mil>
12555 minix-old|minix console (v1.5):\
12556         :xo:\
12557         :co#80:it#8:li#25:\
12558         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
12559         :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:cd=\E[0J:\
12560         :ce=\E[K:cl=\E[H\E[0J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:\
12561         :dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:k0=\E[Y:k1=\E[V:\
12562         :k2=\E[U:k3=\E[T:k4=\E[S:k5=\E[G:kb=^H:kd=\E[B:kh=\E[H:\
12563         :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:\
12564         :mr=\E[7m:nd=\E[C:nw=^M^J:se=\E[0m:sf=^J:so=\E[7m:sr=\EM:\
12565         :ta=^I:ue=\E[0m:up=\E[A:us=\E[4m:
12566 # The linewrap option can be specified by editing /usr/include/minix/config.h
12567 # before recompiling the minix 1.5 kernel.
12568 minix-old-am|minix console with linewrap:\
12569         :am:tc=minix-old:
12571 pc-minix|minix console on an Intel box:\
12572         :tc=klone+acs:tc=minix:
12574 # According to the Coherent 2.3 manual, the PC console is similar
12575 # to a z19. The differences seem to be (1) 25 lines, (2) no status
12576 # line, (3) standout is broken, (4) ins/del line is broken, (5)
12577 # has blinking and bold.
12578 pc-coherent|pcz19|coherent|IBM PC console running Coherent:\
12579         :am:mi:\
12580         :co#80:it#8:li#25:\
12581         :bl=^G:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :cr=^M:dc=\EN:\
12582         :do=\EB:ei=\EO:ho=\EH:im=\E@:kb=^H:kd=\EB:kh=\EH:kl=\ED:\
12583         :kr=\EC:ku=\EA:le=^H:me=\Eq:nd=\EC:se=\Eq:sf=^J:so=\Ep:\
12584         :sr=\EI:ta=^I:up=\EA:
12586 # According to the Venix 1.1 manual, the PC console is similar
12587 # to a DEC vt52.  Differences seem to be (1) arrow keys send 
12588 # different strings, (2) enhanced standout, (3) added insert/delete line.
12589 # Note in particular that it doesn't have automatic margins.
12590 # There are other keys (f1-f10, kpp, knp, kcbt, kich1, kdch1) but they
12591 # not described here because this derives from an old termcap entry.
12592 pc-venix|venix|IBM PC console running Venix:\
12593         :co#80:it#8:li#25:\
12594         :al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:\
12595         :dl=\EM:do=^J:kb=^H:kd=\EP:kh=\EG:kl=\EK:kr=\EM:ku=\EH:le=^H:\
12596         :nd=\EC:sf=^J:sr=\EI:ta=^I:up=\EA:
12598 #### Miscellaneous microcomputer consoles
12600 # If you know anything more about any of these, please tell me.
12603 # The MAI Basic Four computer was obsolete at the end of the 1980s.
12604 # It may be used as a terminal by putting it in "line" mode as seen on 
12605 # one of the status lines.
12606 # Initialization is similar to CIT80. :is: will set ANSI mode for you.  
12607 # Hardware tabs set by :if: at 8-spacing.  Auto line wrap causes glitches so
12608 # wrap mode is reset by :vs:.  Using :sf:=\E[S caused errors so I 
12609 # used \ED instead.
12610 # From: bf347@lafn.org (David Lawyer), 28 Jun 1997
12611 mai|basic4|MAI Basic Four in ansi mode:\
12612         :am:da:db:mi:ms:\
12613         :co#82:it#8:li#25:\
12614         :al=\E[L:bl=^G:cd=^_:ce=^^:cl=^]^_:cm=\E[%i%d;%dH:cr=^M:\
12615         :cs=\E[%i%d;%dr:dc=\E[1P:dl=\E[M:do=^J:ei=\E[4l:ho=^]:\
12616         :if=/usr/lib/tabset/vt100:im=\E[4h:\
12617         :is=\E>\E[?1h\E[?7h\E[?5l\017\E(B\E[m\E[20l\E[1;24r\E[24;1H:\
12618         :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:\
12619         :k8=\EOW:kb=^H:kd=\EOB:kl=\EOD:kr=\EOC:ku=\EOA:le=^H:\
12620         :mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=^X:nw=^M\ED:rc=\E8:\
12621         :sc=\E7:se=\E[m:sf=\ED:so=\E[7m:sr=\E[T:ta=^I:ue=\E[m:up=^Z:\
12622         :us=\E[4m:ve=\E[?7h:vs=\E[?7l:
12623 # basis from Peter Harrison, Computer Graphics Lab, San Francisco
12624 #   ucbvax!ucsfmis!harrison ...uucp / ucbvax!ucsfmis!harrison@BERKELEY ...ARPA
12626 # On Sat, 7 Aug 1999, Torsten Jerzembeck <toje@nightingale.ms.sub.org> wrote:
12627 # The Basis 108 was a Apple II clone, manufactured by the "Basis
12628 # Mikrocomputer GmbH" in Munster, Germany (the company still exists today,  
12629 # about 1,5 km from where I live, but doesn't build own computers any
12630 # more). A Basis 108 featured a really heavy (cast aluminium?) case, was
12631 # equipped with one or two 5.25" disk drives, had a monochrome and colour
12632 # video output for a TV set or a dedicated monitor and several slots for
12633 # Apple II cards. Basis 108 were quite popular at german schools before
12634 # the advent of the IBM PC. They run, for example, the UCSD Pascal
12635 # development system (which I used even in 1993 to program the steering
12636 # and data recording for our school's experimental solar panel :), Apple DOS
12637 # or CP/M.
12638 # (basis: removed obsolete ":ma=^K^P^R^L^L :nl=5000*^J:" -- esr)
12639 basis|BASIS108 computer with terminal translation table active:\
12640         :cd=\EY:ce=\ET:cl=300\E*:do=5000\n:kb=^H:kd=^J:kl=^H:kr=^L:\
12641         :ku=^K:me=\E):se=\E):so=\E(:\
12642         :tc=adm3a:
12643 # luna's BMC terminal emulator
12644 luna|luna68k|LUNA68K Bitmap console:\
12645         :co#88:li#46:tc=ansi-mini:
12646 megatek|pegasus workstation terminal emulator:\
12647         :am:os:\
12648         :co#83:li#60:
12649 # The Xerox 820 was a Z80 micro with a snazzy XEROX PARC-derived 
12650 # interface (pre-Macintosh by several years) that went nowhere.
12651 xerox820|x820|Xerox 820:\
12652         :am:\
12653         :co#80:li#24:\
12654         :bl=^G:cd=^Q:ce=^X:cl=1^Z:cm=\E=%+ %+ :cr=^M:do=^J:ho=^^:\
12655         :le=^H:nd=^L:sf=^J:up=^K:
12657 #### Videotex and teletext
12660 # From: Alexandre Montaron <canal@mygale.org>, 18 Jun 1998
12662 minitel1|minitel 1:\
12663         :am:bw:es:hs:hz:ms:\
12664         :Co#8:co#40:li#24:pa#8:\
12665         :..Sf=\E%?%p1%{1}%=%tD%e%p1%{3}%=%tF%e%p1%{4}%=%tA%e%p1%{6}%=%tC%e%p1%{64}%+%c%;:\
12666         :ac=+.\054\054./f0g1:bl=^G:ce=^X:cl=^L:cm=\037%+A%+A:\
12667         :cr=^M:do=^J:eA=^Y:fs=^J:ho=^^:\
12668         :is=\E;`ZQ\E\072iC\E\072iE\021:le=^H:mb=\EH:me=\EI\E\:\
12669         :mr=\E]:nd=^I:nw=^M^J:op=\EG:rp=%.\022%+?:\
12670         :..sa=%?%p1%t\E]%;%?%p3%t\E]%;%?%p4%t\EH%;:se=\E\:\
12671         :sf=^J:so=\E]:sr=^K:ts=\037@%p1%{65}%+%c:up=^K:ve=^Q:vi=^T:
12672 # is2=Fnct TE, Fnct MR, Fnct CM et pour finir: curseur ON.
12673 minitel1b|minitel 1-bistandard (in 40cols mode):\
12674         :mi:\
12675         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
12676         :RI=\E[%dC:UP=\E[%dA:al=\E[L:cb=\E[1K:cd=\E[J:dc=\E[P:\
12677         :dl=\E[M:ei=\E[4l:i1=\E;iYA\E;jYC:im=\E[4h:kA=\E[L:\
12678         :kC=\E[2J:kD=\E[P:kE=^X:kI=\E[4h:kL=\E[M:kd=\E[B:kh=\E[H:\
12679         :kl=\E[D:kr=\E[C:ks=\E;iYA\E;jYC:kt=^I:ku=\E[A:\
12680         :tc=minitel1:
12681 # :ke: posait des problemes (logout en sortant de vi).
12682 minitel1b-80|minitel 1-bistandard (standard teleinformatique):\
12683         :am@:bw@:hz@:\
12684         :Co@:co#80:it#8:pa@:\
12685         :@8=\EOM:Sf@:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:ho=\E[H:\
12686         :i1@:is@:k0=\EOp:k1=\EOq:k2=\EOr:k3=\EOs:k4=\EOt:k5=\EOu:\
12687         :k6=\EOv:k7=\EOw:k8=\EOx:k9=\EOy:ke@:ks@:mb=\E[5m:md=\E[1m:\
12688         :me=\E[m:mr=\E[7m:nd=\E[C:nw=\EE:op@:rc=\E8:rp@:\
12689         :..sa=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m:\
12690         :sc=\E7:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:ue=\E[24m:\
12691         :up=\E[A:us=\E[4m:ve=\037@A\021\n:vi=\037@A\024\n:\
12692         :tc=minitel1b:
12693 # \E\:1}        switch to te'le'informatique mode (ascii terminal/ISO 6429)
12694 # \E[?3l        80 columns
12695 # \E[?4l        scrolling on
12696 # \E[12h        local echo off
12697 # \Ec           reset: G0 U.S. charset (to get #,@,{,},...), 80 cols, clear screen
12698 # \E)0          G1 DEC set (line graphics)
12700 # From: Igor Tamitegama <igor@ppp1493-ft.teaser.fr>, 18 Jan 1997
12701 m2-nam|minitel|minitel-2|minitel-2-nam|France Telecom Minitel 2 mode te'le'informatique:\
12702         :bs:es:hs:xn:\
12703         :co#80:it#8:li#24:sg#0:ws#72:\
12704         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
12705         :RI=\E[%dC:SF=^J:SR=\EM:UP=\E[%dA:\
12706         :ac=aaffggjjkkllmmnnooqqssttuuvvwwxx:ae=^O:al=\E[L:\
12707         :as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
12708         :cr=^M:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:\
12709         :fs=^J:ho=\E[H:i1=\E\0721}\Ec\E[?4l\E[12h:\
12710         :i2=\E[?3l kbs=\010:im=\E[4h:ip=7:is=\Ec\E[12h\E)0:\
12711         :k0=\EOp:k1=\EOq:k2=\EOr:k3=\EOs:k4=\EOt:k5=\EOu:k6=\EOv:\
12712         :k7=\EOw:k8=\EOx:k9=\EOy:k;=\EOp:kA=\E[4l:kC=\E[2J:kD=\E[P:\
12713         :kI=\E[4h:kL=\E[M:kN=\EOn:kP=\EOR:kd=\E[B:kh=\E[H:kl=\E[D:\
12714         :kr=\E[C:ku=\E[A:le=\E[D:ll=\E[24;80H:mb=\E[5m:md=\E[1m:\
12715         :me=\E[m:mr=\E[7m:nd=\E[C:nw=^M^J:ps=\E[i:\
12716         :r1=\Ec\E[?4l\E[12h:r2=\Ec\E)0:rc=\E8:sc=\E7:se=\E[27m:\
12717         :sf=^J:so=\E[7m:sr=\EM:ta=^I:ts=^_@A:u6=\E[%i%d;%dR:\
12718         :u7=\E[6n:ue=\E[24m:up=\E[A:us=\E[4m:vb=^G:ve=\E[<1l:\
12719         :vi=\E[<1h:
12721 ######## OBSOLETE VDT TYPES
12723 # These terminals are *long* dead -- these entries are retained for
12724 # historical interest only.
12726 #### Amtek Business Machines
12729 # (abm80: early versions of this entry apparently had ":se=\E^_:so=\E^Y",
12730 # but these caps were commented out in 8.3; also, removed overridden
12731 # ":do=^J:" -- esr)
12732 abm80|amtek business machines 80:\
12733         :am:bs:bw:\
12734         :co#80:li#24:\
12735         :al=\E^Z:bt=^T:cd=\E^X:ce=\E^O:cl=\E^\:cm=\E\021%r%+ %+ :\
12736         :dl=\E^S:do=\E^K:ho=\E^R:le=^H:nd=^P:up=\E^L:
12738 #### Bell Labs blit terminals
12740 # These were AT&T's official entries.  The 5620 FAQ maintained by 
12741 # David Breneman <daveb@dgtl.com> has this to say:
12743 #  Actually, in the beginning was the Jerq, and the Jerq was white with a
12744 #  green face, and Locanthi and Pike looked upon the Jerq and said the Jerq
12745 #  was good.  But lo, upon the horizon loomed a mighty management-type person
12746 #  (known now only by the initials VP) who said, the mighty Jerq must stay
12747 #  alone, and could not go forth into the world. So Locanthi and Pike put the
12748 #  Jerq to sleep, cloned its parts, and the Blit was brought forth unto the
12749 #  world. And the Jerq lived the rest of its days in research, but never
12750 #  strayed from those paths.
12752 #  In all seriousness, the Blit was originally known as the Jerq, but when
12753 #  it started to be shown outside of the halls of the Bell Labs Research
12754 #  organization, the management powers that be decided that the name could
12755 #  not remain. So it was renamed to be Blit. This was in late 1981.
12757 # (The AT&T 5620 was the commercialized Blit.  Its successors were the 630,
12758 # 730, and 730+.)
12761 blit|jerq|blit running teletype rom:\
12762         :am:eo:ul:xo:\
12763         :co#87:it#8:li#72:\
12764         :AL=\EF%+ :DC=\Ee%+ :DL=\EE%+ :IC=\Ef%+ :al=\EF\041:bl=^G:\
12765         :ce=\EK:cl=^L:cm=\EY%r%+ %+ :cr=^M:dc=\Ee\041:dl=\EE\041:\
12766         :do=^J:ei=:ic=\Ef\041:im=:k1=\Ex:k2=\Ey:k3=\Ez:kb=^H:kd=\EB:\
12767         :kl=\ED:kr=\EC:ku=\EA:le=\ED:nd=\EC:sf=^J:ta=^I:up=\EA:
12769 # (cbblit: here's a BSD termcap that says :do=\EG: -- esr)
12770 cbblit|fixterm|blit running columbus code:\
12771         :co#88:\
12772         :cd=\EJ:ei=\ER:ic@:im=\EQ:pO=\EP%03:pf=^T:po=^R:se=\EV\041:\
12773         :so=\EU\041:ue=\EV":us=\EU":vb=\E^G:\
12774         :tc=blit:
12776 oblit|ojerq|first version of blit rom:\
12777         :am:da:db:eo:mi:ul:xo:\
12778         :co#88:it#8:li#72:\
12779         :AL=\Ef%+ :DL=\Ee%+ :al=\EF:bl=^G:cd=\EJ:ce=\EK:cl=^L:\
12780         :cm=\EY%r%+ %+ :cr=^M:dc=\EO:dl=\EE:do=^J:ei=\ER:im=\EQ:\
12781         :kb=^H:le=\ED:nd=\EC:sf=^J:ta=^I:up=\EA:vb=\E^G:
12783 #### Bolt, Beranek & Newman (bbn)
12785 # The BitGraph was a product of the now-defunct BBN Computer Corporation.
12786 # The parent company, best known as the architects of the Internet, is
12787 # still around.
12789 # Jeff DelPapa <dp@world.std.com> writes:
12790 # The bitgraph was a large white box that contained a monochrome bitmap
12791 # display, and a 68000 to run it.  You could download code and run it on
12792 # the cpu, it had 128kb (I think) of memory.  I used one in the late
12793 # 70's, sure beat a vt100.  It had one strange feature tho -- it used
12794 # the cpu to bitblt pixels to scroll, it took longer than the refresh
12795 # rate, and looked like a rubber sheet stretching, then snapping
12796 # upwards.  It had everything the early mac had, except a floppy drive a
12797 # small screen (it had a 17" crisp beauty) and a real OS. They (Bolt
12798 # Beranek and Neuman) sold at most a few hundred of them to the real
12799 # world.  DOD may have bought more...
12802 # Entries for the BitGraph terminals.  The problem 
12803 # with scrolling in vi can only be fixed by getting BBN to put 
12804 # smarter scroll logic in the terminal or changing vi or padding 
12805 # scrolls with about 500 ms delay.
12806 #       
12807 # I always thought the problem was related to the terminal 
12808 # counting newlines in its input buffer before scrolling and 
12809 # then moving the screen that much. Then vi comes along and 
12810 # paints lines in on the bottom line of the screen, so you get 
12811 # this big white gap.
12813 bitgraph|bg2.0nv|bg3.10nv|bbn bitgraph 2.0 or later (normal video):\
12814         :is=\E>\E[?5l\E[?7h:vb=\E[?5h\E[?5l:\
12815         :tc=bg2.0:
12816 bg2.0rv|bg3.10rv|bbn bitgraph 2.0 (reverse video):\
12817         :is=\E>\E[?5h\E[?7h:vb=\E[?5l\E[?5h:tc=bg2.0:
12818 bg2.0|bg3.10|bbn bitgraph 2.0 or later (no init):\
12819         :bs:xn:\
12820         :co#85:li#64:\
12821         :al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=%i\E[%d;%dH:\
12822         :cr=^M:cs=\E[%i%d;%dr:dl=\E[M:do=\E[B:k1=\EOP:k2=\EOQ:\
12823         :k3=\EOR:k4=\EOS:kd=\E[B:ke=\E>:kl=\E[D:kr=\E[C:ks=\E=:\
12824         :ku=\E[A:l1=PF1:l2=PF2:l3=PF3:l4=PF4:le=^H:me=\E[m:nd=\E[C:\
12825         :rc=\E8:sc=\E7:se=\E[m:sf=\n:so=\E[7m:ta=^I:up=\E[A:
12827 bg1.25rv|bbn bitgraph 1.25 (reverse video):\
12828         :is=\E>\E[?5h\E[?7h:vb=\E[?5l\E[?5h:tc=bg1.25:
12829 bg1.25nv|bbn bitgraph 1.25 (normal video):\
12830         :is=\E>\E[?5l\E[?7h:vb=\E[?5h\E[?5l:tc=bg1.25:
12831 # (bg1.25: I added <rmam>/<smam> based on the init string -- esr)
12832 bg1.25|bbn bitgraph 1.25:\
12833         :co#85:li#64:\
12834         :RA=\E[?7l:SA=\E[?7h:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:\
12835         :cl=\E[H\E[J:cm=%i\E[%d;%dH:cr=^M:dl=\E[M:do=\E[B:k1=\EP:\
12836         :k2=\EQ:k3=\ER:k4=\ES:kd=\EB:ke=\E>:kl=\ED:kr=\EC:ks=\E=:\
12837         :ku=\EA:l1=PF1:l2=PF2:l3=PF3:l4=PF4:le=^H:ll=\E[64;1H:\
12838         :me=\E[m:nd=\E[C:se=\E[m:sf=\n:so=\E[7m:ta=^I:up=\E[A:
12840 #### Bull (bq, dku, vip)
12842 # (Adapted for terminfo; AIX extension capabilities translated -- esr)
12844 #============================================#
12845 # BULL QUESTAR 210 `SDP' terminals emulation #
12846 #============================================#
12848 # Description written by R.K.Saunders (Bull Transac)
12850 # Modifications written by F. Girard (Bull MTS)
12851 #               19-05-87 V02.00.01
12852 #               17-12-87 V02.00.02
12853 #               15-09-89 V02.00.05
12855 #       Typical technical selections F1 (modes SDP/ROLL):
12856 # -------------------------------------------------------
12857 # |   01   02   03   04   05   06   07   08   09   10   |
12858 # |  1010 0011 1010 0110 0110 0001 0100 0000 0000 0000  |
12859 # |                                                     |
12860 # |   11   12   13   14   15   16   17   18   19   20   |
12861 # |  0000 0110 100? 0000 0000 0000 0001 0000 0000 0001  |
12862 # |                                                     |
12863 # |   21   22   23   24   25   26   27   28   29   30   |
12864 # |  0011 0000 0001 1000 0000 0000 0000 0000 0000 0000  |
12865 # |                                                     |
12866 # |   31   32   33   34   35   36   37   38   39   40   |
12867 # |  1010 0011 0000 0000 0000 0000 0000 0000 0000 0000  |
12868 # -------------------------------------------------------
12869 #       Typical firmware identification F5 "etat 6":
12870 #  P287.02.04b  (AZERTY)
12871 #  P297.11.04   (24-pin: 2732)  or P798.11.04   (28-pin: 2764)
12872 #  P298.03.03   (monochrome)    or P374.03.02   (colour)
12874 #       SM SDP mode (VIP command):      ^[[?=h
12875 #       RIS (erases screen):            ^[c
12876 #       DMI disable keyboard:           ^[`
12877 #       SM double rendition mode:       ^[[?>h
12878 #       RM solicited status mode:       ^[[5l
12879 #       RM character mode:              ^[[>l
12880 #       RM echoplex mode:               ^[[12l
12881 #       RM column tab mode:             ^[[18l
12882 #       RM forbid SS2 keyboard mode:    ^[[?<l
12883 #       SM scroll mode:                 ^[[=h
12884 #       FCF enable XON/XOFF:            ^[P1s^[\
12885 #       MTL select end msg character:   ^[[^Wp
12886 #       EMI enable keyboard:            ^[b
12887 #       RIS retour etat initial:        ^[c
12888 #       enable FC keypad:               ^[[?<h,
12889 #       MPW map status line window:     ^[PY99:98^[\
12890 #       SCP select status line:         ^[[0;98v
12891 #       ED erase entire partition:      ^[[2J
12892 #       SCP select main partition:      ^[[v
12893 #       SM character insertion mode:    ^[[4h
12894 #       RM character replacement mode:  ^[[4l
12895 #       COO cursor on:                  ^[[r
12896 #       COO cursor off:                 ^[[1r
12897 #       SGR dim (turquoise) rev attr:   ^[[2;7m
12898 #       SGR Data normal attr:           ^[[m
12899 #       SO Line-graphic mode ON:        ^N
12900 #       SI Line-graphic mode OFF:       ^O
12901 #       MC start routing to printer:    ^[[5i
12902 #       MC stop routing to printer:     ^M^[[4i
12905 # This entry covers the following terminals:
12906 # dku7102, tws2102, and tws models 2105 to 2112
12907 # (untranslatable capabilities removed to fit entry within 1023 bytes)
12908 # (sgr removed to fit entry within 1023 bytes)
12909 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
12910 tws-generic|dku7102|Bull Questar tws terminals:\
12911         :am:es:hs:mi:ms:xn:xo:xs@:\
12912         :co#80:it#8:li#24:ws#80:\
12913         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
12914         :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
12915         :cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%df:cr=^M:ct=\E[2g:\
12916         :dc=\E[P:dl=\E[M:do=^J:\
12917         :ds=\EPY99\07298\E\\E[0;98v\E[2J\E[v:ei=\E[4l:fs=\E[v:\
12918         :ho=\E[H:i1=\E[?=h\Ec\E`\E[?>h\EPY99\07298\E\:\
12919         :i2=\Eb\E[?<h:im=\E[4h:\
12920         :is=\E[5;>;12;18;?<l\E[=h\EP1s\E\\E[\027p:\
12921         :k1=\E[1u\027:k2=\E[2u\027:k3=\E[3u\027:k4=\E[4u\027:\
12922         :k5=\E[5u\027:k6=\E[6u\027:k7=\E[7u\027:k8=\E[8u\027:\
12923         :kD=\E[P:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
12924         :le=^H:ll=\E[H\E[A:mb=\E[0;5m:me=\E[m\017:mh=\E[0;2m:\
12925         :mr=\E[0;7m:nd=\E[C:se=\E[m:sf=^J:so=\E[0;7m:st=\EH:\
12926         :ta=\E[I:te=\E[0;98v\E[2J\E[v:ti=\E[?>h\EPY99\07298\E\:\
12927         :ts=\EPY99\07298\E\\E[0;98v\E[2;7m:ue=\E[m:up=\E[A:\
12928         :us=\E[0;4m:ve=\E[r:vi=\E[1r:
12929 tws2102-sna|dku7102-sna|BULL Questar tws2102 for SNA:\
12930         :ds=\E[0;98v\E[2J\E[v:fs=\E[v:i2=\Eb:ts=\E[0;98v:\
12931         :tc=tws-generic:
12932 tws2103|xdku|BULL Questar tws2103:\
12933         :ta=^I:tc=tws-generic:
12934 tws2103-sna|dku7103-sna|BULL Questar tws2103 for SNA:\
12935         :ta=^I:\
12936         :tc=tws2102-sna:
12937 dku7102-old|BULL Questar 200 DKU7102 (microcode version < 6):\
12938         :AL@:DL@:al@:ce=\E[K\E[m:cl=\E[2J\E[H:cm@:dl@:\
12939         :ds=\EPY99\07298\E\\E[0;98v\E[2J\E[H\E[v:\
12940         :ts=\EPY99\07298\E\\E[0;98v\E[H\E[2;7m:\
12941         :tc=tws-generic:
12942 dku7202|BULL Questar 200 DKU7202 (colour/character attributes):\
12943         :i2=\E[?3h\Eb:mb=\E[0;2;4m:mh=\E[0;5m:so=\E[0;4;5;7m:\
12944         :ta=^I:us=\E[0;2m:\
12945         :tc=tws-generic:
12947 #=========================================================#
12948 # BULL QUESTAR 303 & 310 `DEC VT 320' terminals emulation #
12949 #=========================================================#
12951 # Description written by J. Staerck (BULL SA)
12952 #       Copyright (c) 1989 BULL SA
12953 #---------------------------------------------------------------------------
12954 #  This entry is used for terminals with vt320 emulation mode
12955 #  and following set-up : 
12956 #    8 bit ISO Latin Character Set (ISO 8859-1),
12957 #    7 bit Control Characters, 
12958 #    80 columns screen.    
12959 #  Hereafter are some DEC vt terminals' commands. (valid on vt200 and 300)
12960 #  They are used in string capabilities with vt220-320 emulation mode.
12961 #  In the following DEC definitions, two kinds of terminfo databases are
12962 #    provided :
12963 #    1. the first with Command Sequence Introducer starting with escape 
12964 #       sequence in 7 bits characters ex. ESC [ : 2 chars. in 7-bit mode.
12965 #    2. the second with Command Sequence Introducer starting with escape 
12966 #       sequence in 8 bits characters ex. ESC [ : 1 char. 'CSI' =x9B.
12967 #       Soft Terminal Reset             esc [ ! p
12968 #       RIS (erases screen):            esc c
12969 #       DECKPNM numeric keypad mode:    esc >
12970 #       DECKPAM applic. keypad mode:    esc =
12971 #       DECSTBM Scrolling region:       esc [ r
12972 #       SCS select G0 = US:             esc ( B
12973 #       SCS select G1 = line-graphic:   esc ) 0
12974 #       Select 7-bit C1 controls:       esc sp F
12975 #       Select 8-bit C1 controls:       esc sp G
12976 #       Select cursor home:             esc [  H
12977 #       Select erase screen:            esc [  J
12978 #       SM KAM lock keyboard:           esc [ 2 h
12979 #       RM KAM unlock keyboard:         esc [ 2 l
12980 #       SM SRM local echo off:          esc [ 1 2 h
12981 #       RM SRM local echo on:           esc [ 1 2 l
12982 #       SM LNM New line :               esc [ 2 0 h
12983 #       RM LNM return = CR only:        esc [ 2 0 l
12984 #       SM DECCKM cursor keys mode:     esc [ ? 1 h
12985 #       RM DECCKM appli. keys mode:     esc [ ? 1 l
12986 #       SM DECANM ANSI mode on:         esc [ ? 2 h
12987 #       RM DECANM ANSI mode off:        esc [ ? 2 l
12988 #       SM DECCOLM 132-column screen:   esc [ ? 3 h
12989 #       RM DECCOLM 80-column screen:    esc [ ? 3 l
12990 #       SM DECSCLM Smooth scroll:       esc [ ? 4 h
12991 #       RM DECSCLM Jump scroll:         esc [ ? 4 l
12992 #       SM DECSCNM screen light backgr. esc [ ? 5 h
12993 #       RM DECSCNM screen dark backgr.  esc [ ? 5 l
12994 #       SM DECOM move within margins:   esc [ ? 6 h
12995 #       RM DECOM move outside margins:  esc [ ? 6 l
12996 #       SM DECAWM auto right margin:    esc [ ? 7 h
12997 #       RM DECAWM auto right margin:    esc [ ? 7 l
12998 #       SM DECARM auto repeat:          esc [ ? 8 h
12999 #       RM DECARM auto repeat:          esc [ ? 8 l
13000 #       DECSASD Select active main:     esc [ 0 $ } 
13001 #       DECSASD Select active status:   esc [ 1 $ } 
13002 #       DECSSDT Select status none:     esc [ 0 $ ~ 
13003 #       DECSSDT Select status indic.:   esc [ 1 $ ~ 
13004 #       DECSSDT Select status host-wr:  esc [ 2 $ ~ 
13005 #       SM DECTCEM Visible cursor:      esc [ ? 2 5 h
13006 #       RM DECTCEM Invisible cursor:    esc [ ? 2 5 l
13007 #       SM DECNCRM 7 bits NCR set:      esc [ ? 4 2 h
13008 #       RM DECNCRM Multi or ISO latin:  esc [ ? 4 2 l
13009 #       SM DECNKM numeric keypad mode:  esc [ ? 6 6 h
13010 #       RM DECNKM numeric keypad appl.: esc [ ? 6 6 l
13011 #       SM DECKBUM clavier informatique esc [ ? 6 8 h
13012 #       RM DECKBUM clavier bureautique: esc [ ? 6 8 l
13013 #       DECSCL vt300 mode 8-bit ctrl:   esc [ 6 3 " p
13014 # or    DECSCL vt300 mode 8-bit ctrl:   esc [ 6 3 ; 0 " p
13015 # or    DECSCL vt300 mode 8-bit ctrl:   esc [ 6 3 ; 2 " p
13016 #       DECSCL vt300 mode 7-bit ctrl:   esc [ 6 3 ; 1 " p
13017 #       Char. and Line attributes:      esc [ Ps ... Ps m
13018 # with:  0 All off, 1 Bold, 4 Underline, 5 Blinking, 7 Reverse
13019 # and : 22 Bold off, 24 Underline off, 25 Blinking off, 27 Reverse off
13022 # This entry covers BQ303, BQ306, BQ310, Q303, Q306, Q310
13023 # (untranslatable capabilities removed to fit entry within 1023 bytes)
13024 # (sgr removed to fit entry within 1023 bytes)
13025 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
13026 bq300|Bull vt320 ISO Latin 1 80 columns terminal:\
13027         :am:eo:es:hs:km:mi:ms:xn:xo:\
13028         :co#80:it#8:li#24:vt#3:ws#80:\
13029         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
13030         :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
13031         :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:\
13032         :ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
13033         :ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[B:\
13034         :ds=\E[1$}\E[2$~\n\E[0$}:ec=\E[%dX:ei=\E[4l:fs=\E[0$}:\
13035         :ho=\E[H:i1=\E[63;1"p\E[2h:\
13036         :i2=\E[0$}\E[?25h\E[2l\E[H\E[J:im=\E[4h:\
13037         :is=\E[?2h\E[?3l\E[?5l\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l:\
13038         :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
13039         :k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
13040         :kb=^H:kd=\E[B:ke=\E[?1l\E>:kl=\E[D:kr=\E[C:ku=\E[A:\
13041         :le=\E[D:mb=\E[5m:md=\E[1m:me=\E[0m\E(B:mr=\E[7m:nd=\E[C:\
13042         :nw=\EE:rc=\E8:sc=\E7:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:\
13043         :st=\EH:ta=^I:te=\E[?7h:ti=\E[?7l\E[?1l\E(B:\
13044         :ts=\E[1$}\E[2$~:ue=\E[24m:up=\E[A:us=\E[4m:\
13045         :vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
13046 bg300-rv|Bull vt320 reverse 80 columns:\
13047         :is=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l:\
13048         :vb=\E[?5l\E[?5h:\
13049         :tc=bq300:
13050 bq300-w|Bull vt320 132 columns:\
13051         :co#132:ws#132:\
13052         :is=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l:\
13053         :r2=\E[?3h:\
13054         :tc=bq300:
13055 bq300-w-rv|Bull vt320 reverse mode 132 columns:\
13056         :co#132:ws#132:\
13057         :is=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l:\
13058         :r2=\E[?3h:vb=\E[?5l\E[?5h:\
13059         :tc=bq300:
13061 #  This entry is used for terminals with vt320 emulation mode
13062 #  and following set-up : 
13063 #    8 bit ISO Latin Character Set (ISO 8859-1),
13064 #    8 bit Control Characters, (CSI coded as x9B for ESC [)
13065 #    80 columns screen.    
13066 #       Soft Terminal Reset             csi ! p
13067 #       RIS (erases screen):            esc c
13068 #       DECKPNM numeric keypad mode:    esc >
13069 #       DECKPAM applic. keypad mode:    esc =
13070 #       DECSTBM Scrolling region:       esc [ r
13071 #       SCS select G0 = US:             esc ( B
13072 #       SCS select G1 = line-graphic:   esc ) 0
13073 #       Select 7-bit C1 controls:       esc sp F
13074 #       Select 8-bit C1 controls:       esc sp G
13075 #       Select cursor home:             csi H
13076 #       Select erase screen:            csi J
13077 #       SM KAM lock keyboard:           csi 2 h
13078 #       RM KAM unlock keyboard:         csi 2 l
13079 #       SM SRM local echo off:          csi 1 2 h
13080 #       RM SRM local echo on:           csi 1 2 l
13081 #       SM LNM New line :               csi 2 0 h
13082 #       RM LNM return = CR only:        csi 2 0 l
13083 #       SM DECCKM cursor keys mode:     csi ? 1 h
13084 #       RM DECCKM appli. keys mode:     csi ? 1 l
13085 #       SM DECANM ANSI mode on:         csi ? 2 h
13086 #       RM DECANM ANSI mode off:        csi ? 2 l
13087 #       SM DECCOLM 132-column screen:   csi ? 3 h
13088 #       RM DECCOLM 80-column screen:    csi ? 3 l
13089 #       SM DECSCLM Smooth scroll:       csi ? 4 h
13090 #       RM DECSCLM Jump scroll:         csi ? 4 l
13091 #       SM DECSCNM screen light backgr. csi ? 5 h
13092 #       RM DECSCNM screen dark backgr.  csi ? 5 l
13093 #       SM DECOM move within margins:   csi ? 6 h
13094 #       RM DECOM move outside margins:  csi ? 6 l
13095 #       SM DECAWM auto right margin:    csi ? 7 h
13096 #       RM DECAWM auto right margin:    csi ? 7 l
13097 #       SM DECARM auto repeat:          csi ? 8 h
13098 #       RM DECARM auto repeat:          csi ? 8 l
13099 #       DECSASD Select active main:     csi 0 $ } 
13100 #       DECSASD Select active status:   csi 1 $ } 
13101 #       DECSSDT Select status none:     csi 0 $ ~ 
13102 #       DECSSDT Select status indic.:   csi 1 $ ~ 
13103 #       DECSSDT Select status host-wr:  csi 2 $ ~ 
13104 #       SM DECTCEM Visible cursor:      csi ? 2 5 h
13105 #       RM DECTCEM Invisible cursor:    csi ? 2 5 l
13106 #       SM DECNCRM 7 bits NCR set:      csi ? 4 2 h
13107 #       RM DECNCRM Multi or ISO latin:  csi ? 4 2 l
13108 #       DECSCL vt300 mode 8-bit ctrl:   csi 6 3 " p
13109 # or    DECSCL vt300 mode 8-bit ctrl:   csi 6 3 ; 0 " p
13110 #       DECSCL vt300 mode 7-bit ctrl:   csi 6 3 ; 1 " p
13111 #       Char. and Line attributes:      csi Ps ... Ps m
13112 # with:  0 All off, 1 Bold, 4 Underline, 5 Blinking, 7 Reverse
13113 # and : 22 Bold off, 24 Underline off, 25 Blinking off, 27 Reverse off
13114 # (bq300-8: :le:,:nd:,:up:,:do:,:dl:,:al: to get under 1024 --esr)
13115 # (untranslatable capabilities removed to fit entry within 1023 bytes)
13116 # (sgr removed to fit entry within 1023 bytes)
13117 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
13118 bq300-8|Bull vt320 full 8 bits 80 columns:\
13119         :am:eo:es:hs:km:mi:ms:xn:xo:\
13120         :co#80:it#8:li#24:vt#3:ws#80:\
13121         :AL=\233%dL:DC=\233%dP:DL=\233%dM:DO=\233%dB:IC=\233%d@:\
13122         :K1=\217w:K2=\217u:K3=\217y:K4=\217q:K5=\217s:LE=\233%dD:\
13123         :RI=\233%dC:UP=\233%dA:ae=^O:as=^N:bl=^G:cd=\233J:ce=\233K:\
13124         :cl=\233H\233J:cm=\233%i%d;%dH:cr=^M:cs=\233%i%d;%dr:\
13125         :ct=\2333g:dc=\233P:ds=\2331$}\2332$~\n\2330$}:\
13126         :ec=\233%dX:ei=\2334l:fs=\2330$}:ho=\233H:\
13127         :i1=\E[63;2"p\E[2h:i2=\2330$}\233?25h\2332l\233H\233J:\
13128         :im=\2334h:\
13129         :is=\E[?2h\E[?3l\E[?5l\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l:\
13130         :k1=\217P:k2=\217Q:k3=\217R:k4=\217S:k6=\23317~:\
13131         :k7=\23318~:k8=\23319~:k9=\23320~:kD=\2333~:kI=\2332~:\
13132         :kN=\2336~:kP=\2335~:kb=^H:kd=\233B:ke=\233?1l\E>:\
13133         :kl=\233D:kr=\233C:ku=\233A:mb=\2335m:md=\2331m:\
13134         :me=\2330m\E(B:mr=\2337m:nw=\EE:rc=\E8:sc=\E7:se=\23327m:\
13135         :sf=\ED:so=\2337m:sr=\EM:st=\EH:ta=^I:te=\233?7h:\
13136         :ti=\233?7l\233?1l\E(B:ts=\2331$}\2332$~:ue=\23324m:\
13137         :us=\2334m:vb=\233?5h\233?5l:ve=\233?25h:vi=\233?25l:\
13138         :vs=\233?25h:
13139 bq300-8rv|Bull vt320 8-bit reverse mode 80 columns:\
13140         :is=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l:\
13141         :vb=\233?5l\233?5h:\
13142         :tc=bq300-8:
13143 bq300-8w|Bull vt320 8-bit 132 columns:\
13144         :co#132:ws#132:\
13145         :is=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l:\
13146         :r2=\233?3h:\
13147         :tc=bq300-8:
13148 bq300-w-8rv|Bull vt320 8-bit reverse mode 132 columns:\
13149         :co#132:ws#132:\
13150         :is=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l:\
13151         :r2=\233?3h:vb=\233?5l\233?5h:\
13152         :tc=bq300-8:
13154 #  This entry is used for terminals with vt320 emulation mode
13155 #  a 102 keys keyboard (PC scancode !) and following set-up : 
13156 #    8 bit ISO Latin Character Set (ISO 8859-1),
13157 #    7 bit Control Characters, 
13158 #    80 columns screen.    
13159 bq300-pc|Questar 303 with PC keyboard ISO Latin 1 80 columns:\
13160         :%0@:%1@:*6@:@0@:@7=\E[4~:F1=\E[29~:F2=\E[31~:F3@:F4@:F5@:F6@:\
13161         :F7@:F8@:F9@:FA@:k1=\E[17~:k2=\E[18~:k3=\E[19~:k4=\E[20~:\
13162         :k5=\E[21~:k6=\E[23~:k7=\E[24~:k8=\E[25~:k9=\E[26~:\
13163         :k;=\E[28~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:\
13164         :kh=\E[1~:l1@:l2@:l3@:l4@:\
13165         :tc=bq300:
13166 bq300-pc-rv|Questar 303 with PC keyboard reverse mode 80 columns:\
13167         :is=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l:\
13168         :vb=\E[?5l\E[?5h:\
13169         :tc=bq300-pc:
13170 bq300-pc-w|Questar 303 with PC keyboard 132 columns terminal:\
13171         :co#132:ws#132:\
13172         :is=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l:\
13173         :r2=\E[?3h:\
13174         :tc=bq300-pc:
13175 bq300-pc-w-rv|Questar 303 with PC keyboard reverse mode 132 columns:\
13176         :co#132:ws#132:\
13177         :is=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l:\
13178         :r2=\E[?3h:vb=\E[?5l\E[?5h:\
13179         :tc=bq300-pc:
13180 #    8 bit ISO Latin Character Set (ISO 8859-1),
13181 #    8 bit Control Characters, 
13182 #    80 columns screen.    
13183 bq300-8-pc|Q306-8-pc|Questar 303 with PC keyboard in full 8 bits 80 columns:\
13184         :%0@:%1@:*6@:@0@:@7=\2334~:F1=\23329~:F2=\23331~:F3@:F4@:F5@:\
13185         :F6@:F7@:F8@:F9@:FA@:k1=\23317~:k2=\23318~:k3=\23319~:\
13186         :k4=\23320~:k5=\23321~:k6=\23323~:k7=\23324~:k8=\23325~:\
13187         :k9=\23326~:k;=\23328~:kD=\2333~:kI=\2332~:kN=\2336~:\
13188         :kP=\2335~:kb=^H:kh=\2331~:l1@:l2@:l3@:l4@:\
13189         :tc=bq300-8:
13190 bq300-8-pc-rv|Questar 303 with PC keyboard full 8 bits reverse mode 80 columns:\
13191         :is=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l:\
13192         :vb=\E[?5l\E[?5h:\
13193         :tc=bq300-8-pc:
13194 bq300-8-pc-w|Questar 303 with PC keyboard full 8 bits 132 columns:\
13195         :co#132:ws#132:\
13196         :is=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l:\
13197         :r2=\E[?3h:\
13198         :tc=bq300-8-pc:
13199 bq300-8-pc-w-rv|Questar 303 with PC keyboard full 8 bits reverse 132 columns:\
13200         :co#132:ws#132:\
13201         :is=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l:\
13202         :r2=\E[?3h:vb=\E[?5l\E[?5h:\
13203         :tc=bq300-8-pc:
13205 #======================================================#
13206 # BULL QUESTAR 310 `VIP 7800/8800' terminals emulation #
13207 #======================================================#
13209 # normal mode, 8 bits, 80 columns terminal.
13210 #       RES reset :                     ^[e
13211 #       RIS reset initial state:        ^[c
13212 #       BLE bell enable                 ^[h
13213 #       BLD bell disable                ^[g
13214 #       CAMS char. attr. mode set       ^[[D
13215 #       CAMR char. attr. mode reset     ^[[G
13216 #       CLR clear                       ^[`
13217 #       KBU keyboard unlock (set)       ^[[W
13218 #       KBL keyboard lock (reset)       ^[[X
13219 #       CM  character mode (async.)     ^[k
13220 #       NEP non echoplex mode (by host) ^[l
13221 #       EP  echoplex mode (by host)     ^[m
13222 #       IM  insert mode set             ^[[I
13223 #       IM  insert mode reset           ^[[J
13224 #       RMS roll mode set               ^[r
13225 #       RMR roll mode reset             ^[q
13226 #       SM78 set mode vip7800           ^[[1q
13227 #       SD  scroll up   (72 lines)      ^[[0s
13228 #       SD  scroll down (72 lines)      ^[[1s
13229 #       RBM block mode reset            ^[[E
13230 #       SLS status line set             ^[w
13231 #       SLR status line reset           ^[v
13232 #       SLL status line lock            ^[O
13233 #       LGS Line-graphic mode set       ^[G
13234 #       LGR Line-graphic mode reset     ^[F
13235 #       TBC tab clear (at cursor pos.)  ^[[g
13236 #       TBI tab initialize              ^[[N
13237 #       TBS tab set (at cursor pos.)    ^[p
13238 #       PDS  print data space           ^[[0p
13239 #       PHD  print host data            ^[[3p
13240 #       PDT  print data terminator      ^[[<p
13241 #       PRES print adapter reset        ^[[2p
13242 #       SSPR multi-part. reset          ^[[<>u
13243 #       SSP0 partition 0 set            ^[[00u
13244 #       SSP1 partition n format 1       ^[[PnPnSTRINGu
13245 #       SSP2 partition n format 2       ^[[PnPnSTRINGu
13246 #       SSP3 partition n format 3       ^[[PnPnu
13247 #       ATR attribute (visual)
13248 #           blink :                     ^[sB
13249 #           dim :                       ^[sL
13250 #           hide (blank) :              ^[sH
13251 #           restore :                   ^[sR
13252 #           inverse video :             ^[sI
13253 #           prot. :                     ^[sP
13254 #           underline :                 ^[s_
13255 #           reset :                     ^{
13257 # This covers the vip7800 and BQ3155-vip7800
13258 # (untranslatable capabilities removed to fit entry within 1023 bytes)
13259 # (sgr removed to fit entry within 1023 bytes)
13260 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
13261 vip|Bull Questar 3155-7800:\
13262         :am:es:hs:km:ms:xn:xo:\
13263         :co#80:it#8:li#24:vt#3:ws#80:\
13264         :ae=\EF:as=\EG:bl=^G:bt=\E[Z:cd=\EJ:ce=\EK:cl=\E`:\
13265         :cm=\E[%i%03%03f:cr=^M:ct=\E[N:dc=\E[P:dl=\E[M:do=^J:\
13266         :ds=\Ev:ei=\E[J:fs=\EO:ho=\EH:i2=\Er\E[W\E`:ic=\E[I:\
13267         :im=\E[I:is=\E[00u\E[<>001001024080024080u\E[01u:\
13268         :k1=\E0:k2=\E2:k3=\E6:k4=\E8:k5=\E\072:k6=\E<:k7=\E>:k8=\EP:\
13269         :k9=\ER:kD=\E[P:kH=\EH\EA:kI=\E[I:kb=^H:kd=\EB:kh=\EH:\
13270         :kl=\ED:kr=\EC:ku=\EA:le=^H:ll=\EH\EA:mb=\EsB:\
13271         :me=\EsR\EsU\EF:mh=\EsL:mr=\EsI:nd=\EC:nw=^M:se=\EsR:sf=^J:\
13272         :so=\EsI:sr=\EA\EJ\EH\E[L:st=\Ep:ta=^I:ts=\Ew:ue=\EsR:\
13273         :up=\EA:us=\Es_:vb=\007\007\007:
13274 # normal screen, 8 bits, 132 columns terminal.
13275 vip-w|vip7800-w|Q310-vip-w|Q310-vip-w-am|Questar 3155-vip7800 wide:\
13276         :co#132:ws#132:\
13277         :is=\E[00u\E[<>001001024132024132u\E[01u:tc=vip:
13278 vip-H|vip7800-H|Q310-vip-H|Q310-vip-H-am|Questar 3155-vip7800 72 lines:\
13279         :li#72:\
13280         :is=\E[00u\E[<>001001024080072080u\E[01u:tc=vip:
13281 vip-Hw|vip7800-Hw|Q310-vip-Hw|Questar 3155-vip7800 wide 72 lines:\
13282         :co#132:li#72:ws#132:\
13283         :is=\E[00u\E[<>001001024132072132u\E[01u:tc=vip:
13284 #### Chromatics
13287 # I have put the long strings in :ti:/:te:. Ti sets up a window 
13288 # that is smaller than the screen, and puts up a warning message 
13289 # outside the window. Te erases the warning message, puts the 
13290 # window back to be the whole screen, and puts the cursor at just
13291 # below the small window. I defined :ve: and :vi: to really turn 
13292 # the cursor on and off, but I have taken this out since I don't 
13293 # like the cursor being turned off when vi exits.   
13294 cg7900|chromatics|chromatics 7900:\
13295         :am:\
13296         :co#80:li#40:\
13297         :al=^A>2:bl=^G:cd=^Al:ce=^A`:cl=^L:cm=\001M%r%d\054%d\054:\
13298         :cr=^M:dc=^A<1:dl=^A<2:do=^J:ei=:ho=^\:ic=^A>1:im=:le=^H:\
13299         :ll=^A|:nd=^]:se=\001C1\054\001c2\054:sf=^J:\
13300         :so=\001C4\054\001c7\054:\
13301         :te=\001W0\05440\05485\05448\054\014\001W0\0540\05485\05448\054\001M0\05440\054:\
13302         :ti=\001P0\001O1\001R1\001C4\054\001c0\054\014\001M0\05442\054WARNING DOUBLE ENTER ESCAPE and \025\001C1\054\001c2\054\001W0\0540\05479\05439\054:\
13303         :uc=\001\001_\001\0:up=^K:
13305 #### Computer Automation
13308 ca22851|computer automation 22851:\
13309         :am:\
13310         :co#80:li#24:\
13311         :bl=^G:cd=^\:ce=^]:cl=\014:cm=\002%i%.%.:cr=^M:do=^J:ho=^^:\
13312         :kd=^W:kh=^^:kl=^U:ku=^V:le=^U:nd=^I:sf=^J:up=^V:
13314 #### Cybernex
13317 # This entry has correct padding and the undocumented "ri" capability
13318 cyb83|xl83|cybernex xl-83:\
13319         :am:bs:\
13320         :co#80:li#24:\
13321         :bl=^G:cd=\020:ce=\017:cl=\014:cm=\027%+ %+ :cr=^M:do=^J:\
13322         :ho=^K:kd=^J:kl=^H:kr=^I:ku=^N:le=^H:nd=^I:sf=^J:sr=^N:up=^N:
13323 # (mdl110: removed obsolete ":ma=^Z^P:" and overridden ":cd=145^NA^W:" -- esr)
13324 cyb110|mdl110|cybernex mdl-110:\
13325         :am:bs:\
13326         :co#80:li#24:\
13327         :al=\016A\016\035:bl=^G:cd=\016@\026:ce=\016@\026:\
13328         :cl=\030:cm=\020%+ %+ :cr=^M:dc=\016A\036:\
13329         :dl=\016A\016\036:do=^J:ei=:ho=^Y:ic=\016A\035:im=:le=^H:\
13330         :nd=^U:se=^NG:sf=^J:so=^NF:ta=\011:up=^Z:
13332 #### Datapoint
13334 # Datapoint is gone.  They used to be headquartered in Texas.
13335 # They created ARCnet, an Ethernet competitor that flourished for a while
13336 # in the early 1980s before 3COM got wise and cut its prices.  The service
13337 # side of Datapoint still lives (1995) in the form of Intelogic Trace.
13340 dp3360|datapoint|datapoint 3360:\
13341         :am:bs:\
13342         :co#82:li#25:\
13343         :bl=^G:cd=^_:ce=^^:cl=^]^_:cr=^M:do=^J:ho=^]:le=^H:nd=^X:\
13344         :sf=^J:up=^Z:
13346 # From: Jan Willem Stumpel <jw.stumpel@inter.nl.net>, 11 May 1997
13347 # The Datapoint 8242 Workstation was sold at least between 1985 
13348 # and 1989. To make the terminal work with this entry, press 
13349 # CONTROL-INT-INT to take the terminal off-line, and type (opt). 
13350 # Set the options AUTO ROLL, ROLL DN, and ESC KBD on, and AUTO 
13351 # CR/LF off. Use control-shift-[] as escape key, control-I as tab, 
13352 # shift-F1 to shift-F5 as F6 to F10 (unshifted F1 to F5 are in
13353 # fact unusable because the strings sent by the terminal conflict
13354 # with other keys).
13355 # The terminal is capable of displaying "box draw" characters.
13356 # For each graphic character you must send 2 ESC's (\E\E) followed 
13357 # by a control character as follows: 
13358 #         character        meaning
13359 #         =========        =======
13360 #         ctrl-E           top tee
13361 #         ctrl-F           right tee
13362 #         ctrl-G           bottom tee
13363 #         ctrl-H           left tee
13364 #         ctrl-I           cross
13365 #         ctrl-J           top left corner
13366 #         ctrl-K           top right corner
13367 #         ctrl-L           bottom left corner
13368 #         ctrl-M           bottom right corner
13369 #         ctrl-N           horizontal line
13370 #         ctrl-O           vertical line
13371 # Unfortunately this cannot be fitted into the termcap/terminfo 
13372 # description scheme. 
13373 dp8242|datapoint 8242:\
13374         :ms:\
13375         :co#80:li#25:\
13376         :al=\E^T:bl=^G:cd=^W:ce=^V:cl=\025\E\004\027\030:\
13377         :cm=\011%r%+\%+\:cr=^M:dl=\E^Z:do=^J:ho=^U:\
13378         :i1=\E\014\E\016\0\230\0\317\025\027\030\E\004:\
13379         :k1=^G\Ee:k2=^I\Ed:k3=^J\Ec:k4=^J\Eb:k5=^S\Ea:k6=\EO\Ee:\
13380         :k7=\EN\Ed:k8=\EM\Ec:k9=\EL\Eb:k;=\EK\Ea:kb=^H:kd=^B:kl=^D:\
13381         :kr=^F:ku=^E:le=^H:nw=^M^J:\
13382         :r1=\E\014\E\016\0\230\0\317\025\027\030\E\004:\
13383         :rp=\E\023%.%.:se=\E^D:sf=^C:so=\E^E:sr=^K:ta=^I:ue=\E^D:\
13384         :us=\E^F:ve=^X:vi=^Y:\
13385         :..wi=\E\014\E\016%p1%'\0'%+%c%p2%'\0'%+%c%p3%'\0'%+%c%p4%'\0'%+%c\025:
13387 #### DEC terminals (Obsolete types: DECwriter and vt40/42/50)
13389 # These entries are DEC's official terminfos for its older terminals.
13390 # Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
13391 # Engineering for more information.  Updated terminfos and termcaps 
13392 # are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
13395 gt40|dec gt40:\
13396         :bs:os:\
13397         :co#72:li#30:\
13398         :bl=^G:cr=^M:do=^J:le=^H:
13399 gt42|dec gt42:\
13400         :bs:os:\
13401         :co#72:li#40:\
13402         :bl=^G:cr=^M:do=^J:le=^H:
13404 vt50|dec vt50:\
13405         :bs:\
13406         :co#80:li#12:\
13407         :bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cr=^M:do=^J:le=^H:nd=\EC:\
13408         :sf=^J:ta=^I:up=\EA:
13409 vt50h|dec vt50h:\
13410         :bs:\
13411         :co#80:li#12:\
13412         :bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:do=^J:\
13413         :le=^H:nd=\EC:sf=^J:sr=\EI:ta=^I:up=\EA:
13414 # (<acsc>/:ae:/:as: capabilities aren't in DEC's official entry -- esr)
13415 vt52|dec vt52:\
13416         :bs:\
13417         :co#80:it#8:li#24:\
13418         :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
13419         :ae=\EG:as=\EF:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :\
13420         :cr=^M:do=\EB:ho=\EH:kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:\
13421         :le=\ED:nd=\EC:nw=^M^J:sf=^J:sr=\EI:ta=^I:up=\EA:
13423 # (vt61: there's a BSD termcap that claims :dl=\EPd:, :al=\EPf.: :kb=^H:)
13424 vt61|vt-61|vt61.5|dec vt61:\
13425         :co#80:li#24:\
13426         :bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=\r:do=^J:\
13427         :kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:sf=\n:sr=\EI:ta=^I:\
13428         :up=\EA:
13430 # The gigi does standout with red!
13431 # (gigi: I added <rmam>/<smam> based on the init string, corrected cub1 -- esr)
13432 gigi|vk100|dec gigi graphics terminal:\
13433         :am:bs:xn:\
13434         :co#84:li#24:\
13435         :DO=\E[%dB:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
13436         :UP=\E[%dA:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
13437         :cm=\E[%i%d;%dH:cr=^M:do=^J:\
13438         :is=\E>\E[?3l\E[?4l\E[?5l\E[?20l\E[?7h\E[?8h:k1=\EOP:\
13439         :k2=\EOQ:k3=\EOR:k4=\EOS:kd=\EOB:ke=\E[?1l\E>:kh=\E[H:\
13440         :kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:me=\E[m:\
13441         :nd=\E[C:se=\E[m:sf=^J:so=\E[7;31m:sr=\EM:ta=^I:ue=\E[m:\
13442         :up=\E[A:us=\E[4m:
13444 # DEC PRO-350 console (VT220-style).  The 350 was DEC's attempt to produce
13445 # a PC differentiated from the IBM clones.  It was a total, ludicrous,
13446 # grossly-overpriced failure (among other things, DEC's OS didn't include
13447 # a format program, so you had to buy pre-formatted floppies from DEC at
13448 # a hefty premium!).
13449 pro350|decpro|dec pro console:\
13450         :bs:\
13451         :co#80:it#8:li#24:\
13452         :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
13453         :ae=\EG:as=\EF:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :do=\EB:\
13454         :ho=\EH:k0=\EE:k1=\EF:k2=\EG:k3=\EH:k4=\EI:k5=\EJ:k6=\Ei:\
13455         :k7=\Ej:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:\
13456         :se=\E^N:so=\E^H:sr=\EI:ta=^I:ue=\E^C:up=\EA:us=\E^D:
13458 dw1|decwriter I:\
13459         :bs:hc:os:\
13460         :co#72:\
13461         :bl=^G:cr=^M:do=^J:le=^H:sf=^J:
13462 dw2|decwriter|dw|decwriter II:\
13463         :bs:hc:os:\
13464         :co#132:\
13465         :bl=^G:cr=^M:do=^J:kb=^H:le=^H:sf=^J:
13466 # \E(B          Use U.S. character set (otherwise # => british pound !)
13467 # \E[20l        Disable "linefeed newline" mode (else puts \r after \n,\f,\v)
13468 # \E[w          10 char/in pitch
13469 # \E[1;132      full width horizontal margins
13470 # \E[2g         clear all tab stops
13471 # \E[z          6 lines/in
13472 # \E[66t        66 lines/page (for \f)
13473 # \E[1;66r      full vertical page can be printed
13474 # \E[4g         clear vertical tab stops
13475 # \E>           disable alternate keypad mode (so it transmits numbers!)
13476 # \E[%i%p1%du   set tab stop at column %d (origin == 1)
13477 #               (Full syntax is \E[n;n;n;n;n;...;nu where each 'n' is 
13478 #               a tab stop)
13480 #       The dw3 does standout with wide characters.
13482 dw3|la120|decwriter III:\
13483         :bs:hc:os:\
13484         :co#132:\
13485         :bl=^G:cr=^M:do=^J:\
13486         :i1=\E(B\E[20l\E[w\E[0;132s\E[2g\E[z\E[66t\E[1;66r\E[4g\E>:\
13487         :is=\E[9;17;25;33;41;49;57;65;73;81;89;97;105;113;121;129u\r:\
13488         :kb=^H:le=^H:me=\E[w:se=\E[w:sf=^J:so=\E[6w:ta=^I:
13489 dw4|decwriter IV:\
13490         :am:bs:hc:os:\
13491         :co#132:\
13492         :bl=^G:cr=^M:do=^J:is=\Ec:k0=\EOP:k1=\EOQ:k2=\EOR:k3=\EOS:\
13493         :kb=^H:le=^H:sf=^J:ta=^I:
13495 # These aren't official
13496 ln03|dec ln03 laser printer:\
13497         :hc:\
13498         :co#80:li#66:\
13499         :bl=^G:cr=^M:do=^J:hd=\EK:hu=\EL:me=\E[m:nw=^M^J:se=\E[22m:\
13500         :sf=^J:so=\E[1m:ta=^I:ue=\E[24m:us=\E[4m:
13501 ln03-w|dec ln03 laser printer 132 cols:\
13502         :co#132:\
13503         :bl=^G:cr=^M:do=^J:kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:tc=ln03:
13505 #### Delta Data (dd)
13508 # Untested. The cup sequence is hairy enough that it probably needs work.
13509 # The idea is ctrl(O), dd(row), dd(col), where dd(x) is x - 2*(x%16) + '9'.
13510 # There are BSD-derived termcap entries floating around for this puppy
13511 # that are *certainly* wrong.
13512 delta|dd5000|delta data 5000:\
13513         :am:bs:\
13514         :co#80:li#27:\
13515         :bl=^G:ce=^NU:cl=^NR:cm=\017%+^P%+^P:dc=^NV:do=^J:ho=^NQ:\
13516         :le=^H:nd=^Y:sf=^J:up=^Z:
13518 #### Digital Data Research (ddr)
13521 # (ddr: I added <rmam>/<smam> based on the init string -- esr)
13522 ddr|rebus3180|ddr3180|Rebus/DDR 3180 vt100 emulator:\
13523         :am:bs:xn:\
13524         :co#80:it#8:li#24:vt#3:\
13525         :RA=\E[7l:SA=\E[7l:cd=50\E[J:ce=3\E[K:cl=50\E[H\E[2J:\
13526         :cm=5\E[%i%d;%dH:cs=\E[%i%d;%dr:do=^J:ho=\E[H:\
13527         :is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
13528         :kb=^H:kd=\E[B:ke=\E[?1l\E>:kl=\E[D:kr=\E[C:ks=\E[?1h\E=:\
13529         :ku=\E[A:le=^H:mb=2\E[5m:md=2\E[1m:me=2\E[m:mr=2\E[7m:\
13530         :nd=2\E[C:r1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
13531         :rf=/usr/share/tabset/vt100:sc=\E7:se=\E[m:sf=5\ED:\
13532         :so=\E[7m:sr=5\EM:ta=^I:ue=2\E[m:up=2\E[A:us=2\E[4m:
13534 #### Evans & Sutherland
13537 # Jon Leech <leech@cs.unc.edu> tells us:
13538 # The ps300 was the Evans & Sutherland Picture System 300, a high
13539 # performance 3D vector graphics system with a bunch of specialized hardware.
13540 # Approximate date of release was 1982 (early 80s, anyway), and it had several
13541 # evolutions including (limited) color versions such as the PS330C. PS300s
13542 # were effectively obsolete by the late 80s, replaced by raster graphics
13543 # systems, although specialized applications like molecular modelling
13544 # hung onto them for a while longer.  AFAIK all E&S vector graphics systems
13545 # are out of production, though of course E&S is very much alive (in 1996).
13546 # (ps300: changed ":pt@:" to "it@" -- esr)
13548 ps300|Picture System 300:\
13549         :xt:\
13550         :it@:\
13551         :se@:so@:ue@:us@:tc=vt100:
13553 #### General Electric (ge)
13556 terminet1200|terminet300|tn1200|tn300|terminet|GE terminet 1200:\
13557         :bs:hc:os:\
13558         :co#120:\
13559         :bl=^G:cr=^M:do=^J:sf=^J:
13561 #### Heathkit/Zenith
13564 # Here is a description of the H19 DIP switches:
13566 # S401
13567 # 0-3 = baud rate as follows:
13569 #         3       2       1       0
13570 #       ---     ---     ---     --- 
13571 #         0       0       1       1       300 baud
13572 #         0       1       0       1       1200 baud
13573 #         1       0       0       0       2400 baud
13574 #         1       0       1       0       4800 baud
13575 #         1       1       0       0       9600 baud
13576 #         1       1       0       1       19.2K baud
13578 # 4 = parity (0 = no parity)
13579 # 5 = even parity (0 = odd parity)
13580 # 6 = stick parity (0 = normal parity)
13581 # 7 = full duplex (0 = half duplex)
13583 # S402 
13584 # 0 = block cursor (0 = underscore cursor)
13585 # 1 = no key click (0 = keyclick)
13586 # 2 = wrap at end of line (0 = no wrap)
13587 # 3 = auto LF on CR (0 = no LF on CR)
13588 # 4 = auto CR on LF (0 = no CR on LF)
13589 # 5 = ANSI mode (0 = VT52 mode)
13590 # 6 = keypad shifted (0 = keypad unshifted)
13591 # 7 = 50Hz refresh (1 = 60Hz refresh)
13593 # Factory Default settings are as follows:
13594 #          7 6 5 4 3 2 1 0
13595 # S401     1 0 0 0 1 1 0 0
13596 # S402     0 0 0 0 0 0 0 0
13597 # (h19: I added <rmam>/<smam> based on the init string;
13598 # also added empty <acsc> to suppress a tic warning -- esr)
13599 h19-a|h19a|heath-ansi|heathkit-a|heathkit h19 ansi mode:\
13600         :am:bs:mi:ms:\
13601         :co#80:it#8:li#24:\
13602         :RA=\E[?7l:SA=\E[?7h:ac=:ae=\E[11m:al=\E[1L:as=\E[10m:\
13603         :bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:cr=^M:\
13604         :dc=\E[1P:dl=\E[1M:do=\E[1B:ei=\E[4l:ho=\E[H:im=\E[4h:\
13605         :is=\E<\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m\E[?7h:k1=\EOS:\
13606         :k2=\EOT:k3=\EOU:k4=\EOV:k5=\EOW:k6=\EOP:k7=\EOQ:k8=\EOR:\
13607         :kb=^H:kd=\E[1B:kh=\E[H:kl=\E[1D:kr=\E[1C:ku=\E[1A:l6=blue:\
13608         :l7=red:l8=white:le=^H:nd=\E[1C:se=\E[m:sf=^J:so=\E[7m:\
13609         :sr=\EM:ta=^I:up=\E[1A:ve=\E[>4l:vs=\E[>4h:
13610 h19-bs|heathkit w/keypad shifted:\
13611         :ke=\Eu:ks=\Et:tc=h19-b:
13612 h19-us|h19us|h19-smul|heathkit w/keypad shifted/underscore cursor:\
13613         :ke=\Eu:ks=\Et:\
13614         :tc=h19-u:
13615 # (h19: merged in :ip: from BSDI hp19-e entry>;
13616 # also added empty <acsc> to suppress a tic warning --esr)
13617 # From: Tim Pierce <twp@skepsis.com>, 23 Feb 1998 
13618 # Tim tells us that:
13619 # I have an old Zenith-19 terminal at home that still gets a lot of use.
13620 # This terminal suffers from the same famous insert-mode padding lossage
13621 # that has been acknowledged for the Z29 terminal.  Emacs is nearly
13622 # unusable on this box, since even a half-scroll up or down the window
13623 # causes flaming terminal death.
13624 #   
13625 # On the Z19, the only way I have found around this problem is to remove
13626 # the :al: and :dl: entries entirely.  No amount of extra padding will
13627 # help (I have tried up to 20000).  Removing :al=\EL$: and :dl=\EM$:
13628 # makes Emacs a little slower, but it remains in the land of the living.
13629 # Big win.
13630 h19|heath|h19-b|heathkit|heath-19|z19|zenith|heathkit h19:\
13631         :am:bs:es:hs:mi:ms:\
13632         :co#80:it#8:li#24:\
13633         :ac=:ae=\EG:as=\EF:bl=^G:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :\
13634         :cr=^M:dc=\EN:do=\EB:ei=\EO:fs=\Ek\Ey5:ho=\EH:im=\E@:\
13635         :ip=1.5<1.5/>:k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:\
13636         :k7=\EQ:k8=\ER:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:\
13637         :l6=blue:l7=red:l8=white:le=^H:nd=\EC:se=\Eq:sf=^J:so=\Ep:\
13638         :sr=\EI:ta=^I:ts=\Ej\Ex5\EY8%p1%{32}%+%c\Eo\Eo:up=\EA:\
13639         :ve=\Ey4:vs=\Ex4:
13640 h19-u|heathkit with underscore cursor:\
13641         :ve@:vs@:tc=h19-b:
13642 h19-g|h19g|heathkit w/block cursor:\
13643         :ve=\Ex4:tc=h19-b:
13644 alto-h19|altoh19|altoheath|alto-heath|alto emulating heathkit h19:\
13645         :li#60:\
13646         :al=\EL:dl=\EM:tc=h19:
13648 # The major problem with the Z29 is that it requires more padding than the Z19.
13650 # The problem with declaring an H19 to be synonymous with a Z29 is that
13651 # it needs more padding. It especially loses if a program attempts
13652 # to put the Z29 into insert mode and insert text at 9600 baud. It
13653 # even loses worse if the program attempts to insert tabs at 9600
13654 # baud. Adding padding to text that is inserted loses because in 
13655 # order to make the Z29 not die, one must add so much padding that
13656 # whenever the program tries to use insert mode, the effective 
13657 # rate is about 110 baud.
13659 # What program would want to put the terminal into insert mode 
13660 # and shove stuff at it at 9600 baud you ask?  
13662 # Emacs. Emacs seems to want to do the mathematically optimal 
13663 # thing in doing a redisplay rather than the practical thing.
13664 # When it is about to output a line on top of a line that is 
13665 # already on the screen, instead of just killing to the end of 
13666 # the line and outputting the new line, it compares the old line 
13667 # and the new line and if there are any similarities, it 
13668 # constructs the new line by deleting the text on the old line 
13669 # on the terminal that is already there and then inserting new
13670 # text into the line to transform it into the new line that is 
13671 # to be displayed. The Z29 does not react kindly to this.
13673 # But don't cry for too long.... There is a solution. You can make
13674 # a termcap entry for the Z29 that says the Z29 has no insert mode.
13675 # Then Emacs cannot use it. "Oh, no, but now inserting into a 
13676 # line will be really slow", you say. Well there is a sort of a
13677 # solution to that too. There is an insert character option on 
13678 # the Z29 that will insert one character. Unfortunately, it 
13679 # involves putting the terminal into ansi mode, inserting the 
13680 # character, and changing it back to H19 mode. All this takes 12 
13681 # characters. Pretty expensive to insert one character, but it 
13682 # works. Either Emacs doesn't try to use its inserting hack when 
13683 # it's only given an insert character ability or the Z29 doesn't 
13684 # require padding with this (the former is probably more likely, 
13685 # but I haven't checked it out).
13686 # (z29: added empty <acsc> to suppress a tic warning, merged in
13687 # status line capabilities from BRL entry --esr)
13688 z29|zenith29|z29b|zenith z29b:\
13689         :am:bs:es:hs:mi:ms:pt:\
13690         :co#80:kn#10:li#24:\
13691         :ac=:ae=\EF:al=1\EL:as=\EG:bc=\ED:bl=^G:bt=\E-:cd=\EJ:ce=\EK:\
13692         :cl=\EE:cm=\EY%+ %+ :cr=^M:dc=\EN:dl=1\EM:do=\EB:ds=\Ey1:\
13693         :ei=\EO:fs=\Ek\Ey5:ho=\EH:ic=\E<\E[1@\E[?2h:im=\E@:\
13694         :is=\E<\E[?2h\Ev:k0=\E~:k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:\
13695         :k6=\EP:k7=\EQ:k8=\ER:k9=\E0I:kb=^H:kd=\EB:kh=\EH:kl=\ED:\
13696         :kr=\EC:ku=\EA:l0=home:le=^H:nd=\EC:se=\Eq:sf=\n:so=\Ep:\
13697         :sr=2\EI:ta=^I:ts=\Ej\Ex5\Ex1\EY8%+ \Eo:ue=\Es0:up=\EA:\
13698         :us=\Es8:ve=\Ey4:vs=\Ex4:
13699 # z29 in ansi mode. Assumes that the cursor is in the correct state, and that
13700 # the world is stable. <rs1> causes the terminal to be reset to the state
13701 # indicated by the name. kc -> key click, nkc -> no key click, uc -> underscore
13702 # cursor, bc -> block cursor.
13703 # From: Mike Meyers
13704 # (z29a: replaced nonexistent :if=/usr/share/tabset/zenith29: befause :st:
13705 # looks vt100-compatible -- esr)
13706 z29a|z29a-kc-bc|h29a-kc-bc|heath/zenith 29 in ansi mode:\
13707         :am:bs:es:hs:mi:ms:pt:\
13708         :co#80:it#8:kn#10:li#24:\
13709         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
13710         :RI=\E[%dC:UP=\E[%dA:bc=\ED:bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J:\
13711         :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[1P:\
13712         :do=^J:ds=\E[>1l:fs=\E[u\E[>5l:ho=\E[H:\
13713         :if=/usr/share/tabset/vt100:k0=\E[~:k1=\EOS:k2=\EOT:\
13714         :k3=\EOU:k4=\EOV:k5=\EOW:k6=\EOP:k7=\EOQ:k8=\EOR:k9=\EOX:\
13715         :kC=\E[J:kS=\E[J:kb=^H:kd=\EOB:kh=\E[H:kl=\EOD:kr=\EOC:\
13716         :ku=\EOA:l0=help:le=^H:mb=\E[5m:md=\E[2m:me=\E[m:mh=\E[2m:\
13717         :mr=\E[7m:nd=\E[C:nw=^M\ED:ps=\E#7:\
13718         :r1=\E<\E[1;24r\E[24;1H\E[?7h\E[>4h\E[>1;2;3;5;6;7;8;9l\E[m\E[11m:\
13719         :rc=\E[r:sc=\E[s:se=\E[m:sf=\ED:so=\E[7;2m:sr=\EM:st=\EH:\
13720         :ta=^I:te=\E[?7h:ti=\E[?7l:\
13721         :ts=\E[s\E[>5;1h\E[25;%i%dH\E[1K:ue=\E[m:up=\E[A:\
13722         :us=\E[4m:
13723 z29a-kc-uc|h29a-kc-uc|z29 ansi mode with keyckick and underscore cursor:\
13724         :r1=\E<\E[1;24r\E[24;1H\E[?7h\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m:\
13725         :tc=z29a:
13726 z29a-nkc-bc|h29a-nkc-bc|z29 ansi mode with block cursor and no keyclick:\
13727         :r1=\E<\E[1;24r\E[24;1H\E[?7h\E[>2;4h\E[>1;3;5;6;7;8;9l\E[m\E[11m:\
13728         :tc=z29a:
13729 z29a-nkc-uc|h29a-nkc-uc|z29 ansi mode with underscore cursor and no keyclick:\
13730         :r1=\E<\E[1;24r\E[24;1H\E[?7h\E[>2h\E[>1;3;4;5;6;7;8;9l\E[m\E[11m:\
13731         :tc=z29a:
13732 # From: Jeff Bartig <jeffb@dont.doit.wisc.edu> 31 Mar 1995
13733 z39-a|z39a|zenith39-a|zenith39-ansi|Zenith 39 in ANSI mode:\
13734         :5i:am:es:hs:mi:ms:xo:\
13735         :co#80:li#24:\
13736         :%1=\E[~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:K1=\EOw:\
13737         :K2=\EOy:K3=\EOu:K4=\EOq:K5=\EOs:LE=\E[%dD:RI=\E[%dC:\
13738         :UP=\E[%dA:ac=0a``aaffggjjkkllmmnnooqqssttuuvvwwxx~~:\
13739         :ae=\E(B:al=\E[1L:as=\E(0:bl=^G:bt=\E[1Z:cb=\E[1K:cd=\E[0J:\
13740         :ce=\E[0K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:\
13741         :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[1P:dl=\E[1M:do=\E[B:\
13742         :ds=\E[>1l:ei=\E[4l:fs=\E[u:ho=\E[H:im=\E[4h:\
13743         :is=\E<\E[>1;3;5;6;7l\E[0m\E[2J:k1=\EOS:k2=\EOT:k3=\EOU:\
13744         :k4=\EOV:k5=\EOW:k6=\EOP:k7=\EOQ:k8=\EOR:k9=\EOX:kS=\E[J:\
13745         :kb=^H:kd=\E[B:ke=\E[>7l:kh=\E[H:kl=\E[D:kr=\E[C:ks=\E[>7h:\
13746         :ku=\E[A:le=^H:ll=\E[24;1H:mb=\E[5m:md=\E[1m:me=\E[0m:\
13747         :mh=\E[2m:mr=\E[7m:nd=\E[C:pf=\E[4i:po=\E[5i:\
13748         :ps=\E[?19h\E[i:r2=\E<\Ec\0:rc=\E[u:sc=\E[s:se=\E[0m:\
13749         :sf=^J:so=\E[7m:st=\EH:ta=^I:ts=\E[s\E[>1h\E[25;%i%p1%dH:\
13750         :ue=\E[0m:up=\E[A:us=\E[4m:ve=\E[>5l:vi=\E[>5h:
13752 # From: Brad Brahms <Brahms@USC-ECLC>
13753 z100|h100|z110|z-100|h-100|heath/zenith z-100 pc with color monitor:\
13754         :ve=\Ey4\Em70:vs=\Ex4\Em71:\
13755         :tc=z100bw:
13756 # (z100bw: removed obsolete ":kn#10:", added empty <acsc> -- esr)
13757 z100bw|h100bw|z110bw|z-100bw|h-100bw|heath/zenith z-100 pc:\
13758         :bs:mi:ms:pt:\
13759         :co#80:it#8:kn#10:li#24:\
13760         :ac=:ae=\EG:al=5*\EL:as=\EF:cd=\EJ:ce=\EK:cl=5*\EE:\
13761         :cm=1*\EY%+ %+ :dc=1*\EN:dl=5*\EM:do=\EB:ei=\EO:ho=\EH:\
13762         :im=\E@:k0=\EJ:k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:\
13763         :k7=\EQ:k8=\ER:k9=\EOI:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:\
13764         :ku=\EA:le=^H:nd=\EC:se=\Eq:so=\Ep:sr=\EI:ta=^I:up=\EA:\
13765         :ve=\Ey4:vs=\Ex4:
13766 p19|h19-b with il1/dl1:\
13767         :al=2*\EL:dl=2*\EM:tc=h19-b:
13768 # From: <ucscc!B.fiatlux@ucbvax.berkeley.edu>
13769 # (ztx: removed duplicate :sr: -- esr)
13770 ztx|ztx11|zt-1|htx11|ztx-1-a|ztx-10 or 11:\
13771         :am:bs:es:hs:\
13772         :co#80:it#8:li#24:\
13773         :al=\EL:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :dl=\EM:do=^J:\
13774         :ds=\Ey1:fs=\Ek\Ey5:ho=\EH:\
13775         :is=\Ej\EH\Eq\Ek\Ev\Ey1\Ey5\EG\Ey8\Ey9\Ey>:k0=\ES:\
13776         :k1=\EB:k2=\EU:k3=\EV:k4=\EW:k5=\EP:k6=\EQ:k7=\ER:kb=^H:\
13777         :kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:se=\Eq:so=\Es5:\
13778         :sr=\EI:ta=^I:ts=\Ej\Ex5\Ex1\EY8%+ \Eo:ue=\Eq:up=\EA:\
13779         :us=\Es2:
13781 #### IMS International (ims)
13783 # There was a company called IMS International located in Carson City, 
13784 # Nevada, that flourished from the mid-70s to mid-80s.  They made S-100
13785 # bus/Z80 hardware and a line of terminals called Ultimas.  
13788 # From: Erik Fair <fair@ucbarpa.berkeley.edu>  Sun Oct 27 07:21:05 1985
13789 ims950-b|bare ims950 no init string:\
13790         :is@:tc=ims950:
13791 # (ims950: removed obsolete ":ko@:" -- esr)
13792 ims950|ims televideo 950 emulation:\
13793         :xn@:\
13794         :k0@:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:k9@:kb@:kd@:kh@:kl@:kr@:ku@:vb@:tc=tvi950:
13795 # (ims950-rv: removed obsolete ":ko@:" -- esr)
13796 ims950-rv|ims tvi950 rev video:\
13797         :xn@:\
13798         :k0@:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:k9@:kb@:kd@:kh@:kl@:kr@:ku@:vb@:tc=tvi950-rv:
13799 ims-ansi|ultima2|ultimaII|IMS Ultima II:\
13800         :am:bs:\
13801         :co#80:it#8:li#24:\
13802         :cd=\E[0J:ce=\E[0K:cl=\E[H\E[2J:cm=\E[%i%2;%2H:do=\ED:\
13803         :if=/usr/share/tabset/vt100:\
13804         :is=\E[m\E[>14l\E[?1;?5;20l\E>\E[1m\r:kd=\E[B:kh=\E[H:\
13805         :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:se=\E[m\E[1m:\
13806         :so=\E[7m:sr=\EM:ta=^I:ue=\E[m\E[1m:up=\EM:us=\E[4m:
13808 #### Intertec Data Systems
13810 # I think this company is long dead as of 1995.  They made an early CP/M
13811 # micro called the "Intertec Superbrain" that was moderately popular,
13812 # then sank out of sight.
13815 superbrain|intertec superbrain:\
13816         :am:bs:bw:\
13817         :co#80:li#24:\
13818         :bc=^U:bl=^G:cd=\E~k<10*>:ce=\E~K:cl=\014:cm=\EY%+ %+ :\
13819         :cr=^M:do=^J:kd=^J:kl=^U:kr=^F:ku=^K:le=^H:nd=^F:sf=^J:ta=^I:\
13820         :te=^L:ti=^L:up=^K:
13821 # (intertube: a Gould entry via BRL asserted smul=\E0@$<200/>, 
13822 # rmul=\E0A$<200/>; my guess is the highlight letter is bit-coded like an ADM,
13823 # and the reverse is actually true.  Try it. -- esr)
13824 intertube|intertec|Intertec InterTube:\
13825         :am:bs:\
13826         :co#80:li#25:\
13827         :bl=^G:cl=^L:cm=\EY%+ %+ :cr=^M:do=^J:ho=^A:le=^H:nd=^F:\
13828         :se=\E0@:sf=^J:so=\E0P:up=^Z:
13829 # The intertube 2 has the "full duplex" problem like the tek 4025: if you
13830 # are typing and a command comes in, the keystrokes you type get interspersed
13831 # with the command and it messes up
13832 intertube2|intertec data systems intertube 2:\
13833         :bs:\
13834         :ce=\EK:ch=\020%+^J:cm=\016%.\020%+^J:cv=\013%.:\
13835         :ll=^K^X\r:\
13836         :tc=intertube:
13838 #### Ithaca Intersystems
13840 # This company made S100-bus personal computers long ago in the pre-IBM-PC
13841 # past.  They used to be reachable at:
13843 #       Ithaca Intersystems
13844 #       1650 Hanshaw Road
13845 #       Ithaca, New York 14850
13847 # However, the outfit went bankrupt years ago.
13850 # The Graphos III was a color graphics terminal from Ithaca Intersystems.
13851 # These entries were written (originally in termcap syntax) by Brian Yandell 
13852 # <yandell@stat.wisc.edu> and Mike Meyer <mikem@stat.wisc.edu> at the 
13853 # University of Wisconsin.
13855 # (graphos: removed obsolete and syntactically incorrect :kn=4:, 
13856 # removed :if=/usr/share/tabset/init.graphos: and 
13857 # <rf=/usr/share/tabset/init.graphos> no such file & no :st: -- esr)
13858 graphos|graphos III:\
13859         :am:mi:\
13860         :co#80:it#8:li#24:\
13861         :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
13862         :UP=\E[%dA:al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
13863         :cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:dm=\E[4h:do=\E[B:\
13864         :ed=\E[4l:ei=\E[4l:ho=\E[H:im=\E[4h:k1=\EOP:k2=\EOQ:\
13865         :k3=\EOR:k4=\EOS:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:\
13866         :ku=\E[A:le=^H:me=\E[m:nd=\E[C:nw=^M\ED:rc=\E8:sc=\E7:\
13867         :se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:up=\E[A:\
13868         :ve=\Ez56;2;0;0z\Ez73z\Ez4;1;1z:\
13869         :vs=\Ez4;2;1z\Ez56;2;80;24z:
13870 graphos-30|graphos III with 30 lines:\
13871         :li#30:\
13872         :vs=\Ez4;2;1z\Ez56;2;80;30z:tc=graphos:
13874 #### Modgraph
13876 # These people used to be reachable at:
13878 #       Modgraph, Inc
13879 #       1393 Main Street,
13880 #       Waltham, MA 02154
13881 #       Vox: (617)-890-5796.
13883 # However, if you call that number today you'll get an insurance company.
13884 # I have mail from "Michael Berman, V.P. Sales, Modgraph" dated 
13885 # 26 Feb 1997 that says:
13887 # Modgraph GX-1000, replaced by GX-2000.  Both are out of production, have been
13888 # for ~7 years.  Modgraph still in business.  Products are rugged laptop and
13889 # portable PC's and specialized CRT and LCD monitors (rugged, rack-mount
13890 # panel-mount etc).  I can be emailed at sonfour@aol.com
13892 # Peter D. Smith <pdsmith@nbbn.com> notes that his modgraph manual was
13893 # dated 1984.  According to the manual, it featured Tek 4010/4014
13894 # graphics and DEC VT100/VT52 + ADM-3A emulation with a VT220-style keyboard.
13897 modgraph|mod24|modgraph terminal emulating vt100:\
13898         :xn@:\
13899         :co#80:li#24:\
13900         :is=\E\1369;0s\E\1367;1s\E[3g\E\13611;9s\E\13611;17s\E\13611;25s\E\13611;33s\E\13611;41s\E\13611;49s\E\13611;57s\E\13611;65s\E\13611;73s\E\13611;81s\E\13611;89s:\
13901         :rf@:sr=5\EM\E[K:vs=\E\1369;0s\E\1367;1s:\
13902         :tc=vt100:
13903 # The GX-1000 manual is dated 1984.  This looks rather like a VT-52.
13904 modgraph2|modgraph gx-1000 80x24 with keypad not enabled:\
13905         :am:da:db:\
13906         :co#80:it#8:li#24:\
13907         :cd=50\EJ:ce=3\EK:cl=50\EH\EJ:cm=5\EY%+ %+ :\
13908         :is=\E<\E\1365;2s\E\1367;1s\E[3g\E\13611;9s\E\13611;17s\E\13611;25s\E\13611;33s\E\13611;41s\E\13611;49s\E\13611;57s\E\13611;65s\E\13611;73s\E\13611;81s\E\13611;89s\E\13612;0s\E\13614;2s\E\13615;9s\E\13625;1s\E\1369;1s\E\13627;1:\
13909         :le=^H:nd=2\EC:sr=5\EI:ta=^I:up=2\EA:
13911 # Modgraph from Nancy L. Cider <nancyc@brl-tbd>
13912 # BUG NOTE from Barbara E. Ringers <barb@brl-tbd>:
13913 # If we set TERM=vt100, and set the Modgraph screen to 24 lines, setting a
13914 # mark and using delete-to-killbuffer work correctly.  However, we would
13915 # like normal mode of operation to be using a Modgraph with 48 line setting.
13916 # If we set TERM=mod (which is a valid entry in termcap with 48 lines)
13917 # the setting mark and delete-to-killbuffer results in the deletion of only
13918 # the line the mark is set on.
13919 # We've discovered that the delete-to-killbuffer works correctly
13920 # with TERM=mod and screen set to 80x48 but it's not obvious.  Only
13921 # the first line disappears but a ctrl-l shows that it did work
13922 # correctly.
13923 modgraph48|mod|Modgraph w/48 lines:\
13924         :am:bs:pt:xn:\
13925         :co#80:it#8:li#48:vt#3:\
13926         :bl=^G:cd=\E[J:ce=\E[K:cl=\E[;H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
13927         :cs=\E[%i%d;%dr:do=^J:ho=\E[H:\
13928         :is=\E<\E[1;48r\E[0q\E[3;4q\E=\E[?1h:k1=\EOP:k2=\EOQ:\
13929         :k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
13930         :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:\
13931         :me=\E[m:mr=\E[7m:nd=\E[C:nl=^J:r1=\E=\E[0q\E>:rc=\E8:\
13932         :sc=\E7:se=\E[m:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:\
13933         :us=\E[4m:vb=\E[?5h\E[0q\E[1;2q\E[?5l\E[0q\E[4;3q:
13935 #### Morrow Designs
13937 # This was George Morrow's company.  They started in the late 1970s making
13938 # S100-bus machines.  They used to be reachable at:
13940 #        Morrow
13941 #        600 McCormick St.
13942 #        San Leandro, CA 94577
13944 # but they're long gone now (1995).
13947 # The mt70 terminal was shipped with the Morrow MD-3 microcomputer. 
13948 # Jeff's specimen was dated June 1984.
13949 # From: Jeff Wieland <wieland@acn.purdue.edu> 24 Feb 1995
13950 mt70|mt-70|Morrow MD-70; native Morrow mode:\
13951         :am:mi:ms:xo:\
13952         :co#80:it#8:li#24:\
13953         :%1=^AO\r:F1=^A`\r:F2=^Aa\r:F3=^Ab\r:F4=^Ac\r:F5=^Ad\r:\
13954         :F6=^Ae\r:F7=^Af\r:F8=^Ag\r:F9=^Ah\r:FA=^Ai\r:\
13955         :ac=+z\054{-x.yOi`|jGkFlEmDnHqJtLuKvNwMxI:ae=\E%:\
13956         :al=\EE:as=\E$:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=^Z:\
13957         :cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ei=:ho=^^:\
13958         :i1=\E"2\EG0\E]:ic=\EQ:im=:k1=^A@\r:k2=^AA\r:k3=^AB\r:\
13959         :k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:\
13960         :k;=^AI\r:kB=^A^Z\r:kC=^An\r:kD=\177:kb=^H:kd=^AK\r:\
13961         :kh=^AN\r:kl=^AL\r:kr=^AM\r:ku=^AJ\r:le=^H:mh=\EG2:mk@:\
13962         :nd=^L:nw=^_:sf=^J:ta=^I:te=:ti=\E"2\EG0\E]:up=^K:us=\EG1:\
13963         :vb=\EK1\EK0:ve=\E"2:vi=\E"0:\
13964         :tc=adm+sgr:
13966 #### Motorola
13969 # Motorola EXORterm 155 from {decvax, ihnp4}!philabs!sbcs!megad!seth via BRL
13970 # (Seth H Zirin)
13971 ex155|Motorola Exorterm 155:\
13972         :am:bs:bw:\
13973         :co#80:kn#5:li#24:\
13974         :bt=\E[:cd=\ET:ce=\EU:cl=\EX:cm=\EE%+ %+ :do=\EB:ho=\E@:\
13975         :kB=\E[:kC=\EX:kE=\EU:kS=\ET:kb=^H:kd=^J:kh=\E@:kl=^H:kr=^L:\
13976         :ku=^K:nd=\ED:se=\Ec\ED:so=\Eb\ED:ta=\EZ:ue=\Eg\ED:\
13977         :us=\Ef\ED:
13979 #### Omron
13981 # This company is still around in 1995, manufacturing point-of-sale systems.
13983 omron|Omron 8025AG:\
13984         :am:bs:da:db:\
13985         :co#80:li#24:\
13986         :al=\EL:bl=^G:cd=\ER:ce=\EK:cl=\EJ:cr=^M:dc=\EP:dl=\EM:do=^J:\
13987         :ho=\EH:le=^H:nd=\EC:se=\E4:sf=\ES:so=\Ef:sr=\ET:up=\EA:\
13988         :vs=\EN:
13990 #### Ramtek
13992 # Ramtek was a vendor of high-end graphics terminals around 1979-1983; they
13993 # were competition for things like the Tektronics 4025.
13996 # Ramtek 6221 from BRL, probably by Doug Gwyn
13997 # The following SET-UP modes are assumed for normal operation:
13998 #       UNDERLINE_CURSOR        ANSI_MODE       AUTO_XON/XOFF_ON
13999 #       NEWLINE_OFF             80_COLUMNS
14000 # Other SET-UP modes may be set for operator convenience or communication
14001 # requirements; I recommend
14002 #       SMOOTH_SCROLL   AUTO_REPEAT_ON  3_#_SHIFTED     WRAP_AROUND_ON
14003 # Hardware tabs are assumed to be every 8 columns; they can be set up by the
14004 # "reset", "tset", or "tabs" utilities (use rt6221-w, 160 columns, for this).
14005 # Note that the Control-E key is useless on this brain-damaged terminal.  No
14006 # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
14007 rt6221|Ramtek 6221 80x24:\
14008         :bs:ms:pt:xo:\
14009         :co#80:it#8:kn#4:li#24:vt#3:\
14010         :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ac=:ae=^O:as=^N:\
14011         :bl=^G:cd=\E[J:ce=\E[K:cl=\E[1;1H\E[J:cm=\E[%i%d;%dH:\
14012         :cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:do=^K:ho=\E[1;1H:is=\E)0:\
14013         :k0=\EOP:k1=\EOQ:k2=\EOR:k3=\EOS:kb=^H:kd=\E[B:ke=\E>:\
14014         :kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:l0=PF1:l1=PF2:l2=PF3:l3=PF4:\
14015         :le=^H:ll=\E[24;1H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:\
14016         :nd=\E[C:nw=\EE:\
14017         :r1=\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>:\
14018         :rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
14019         :ue=\E[m:up=\EM:us=\E[4m:ve=\E[>5h\E[>9h:vi=\E[>5l:\
14020         :vs=\E[>7h\E[>9l:
14021 # [TO DO: Check out: short forms of ho/cl and ll; reset (\Ec)].
14022 rt6221-w|Ramtek 6221 160x48:\
14023         :co#160:li#48:\
14024         :ll=\E[48;1H:tc=rt6221:
14026 #### RCA
14029 # RCA VP3301 or VP3501
14030 rca|rca vp3301/vp3501:\
14031         :bs:\
14032         :co#40:li#24:\
14033         :cl=^L:cm=\EY%+ %+ :ho=^Z:nd=^U:se=\E\ES0:so=\E\ES1:up=^K:
14036 #### Selanar
14039 # Selanar HiREZ-100 from BRL, probably by Doug Gwyn
14040 # The following SET-UP modes are assumed for normal operation:
14041 #       SET_DEFAULT_TABS        48_LINES                80_COLUMNS
14042 #       ONLINE                  ANSI                    CURSOR_VISIBLE
14043 #       VT102_AUTO_WRAP_ON      VT102_NEWLINE_OFF       VT102_MONITOR_MODE_OFF
14044 #       LOCAL_ECHO_OFF          US_CHAR_SET             WPS_TERMINAL_DISABLED
14045 #       CPU_AUTO_XON/XOFF_ENABLED                       PRINT_FULL_SCREEN
14046 # For use with graphics software, all graphics modes should be set to factory
14047 # default.  Other SET-UP modes may be set for operator convenience or
14048 # communication requirements.  No delays are specified; use "stty ixon -ixany"
14049 # to enable DC3/DC1 flow control!
14050 # I commented out the scrolling capabilities since they are too slow.
14051 hirez100|Selanar HiREZ-100:\
14052         :bs:mi:ms:pt:xo:\
14053         :co#80:it#8:kn#4:li#48:vt#3:\
14054         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
14055         :RI=\E[%dC:UP=\E[%dA:ac=:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:\
14056         :ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:\
14057         :dc=\E[P:dl=\E[M:do=^J:ho=\E[H:is=\E<\E)0:k0=\EOP:k1=\EOQ:\
14058         :k2=\EOR:k3=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
14059         :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l0=PF1:l1=PF2:l2=PF3:l3=PF4:\
14060         :le=^H:ll=\E[48H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:\
14061         :nd=\E[C:nw=\EE:pf=\E[4i\E[?4i:po=\E[?5i\E[5i:ps=\E[i:\
14062         :r1=\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>:\
14063         :rc=\E8:sc=\E7:se=\E[m:so=\E[7m:st=\EH:ta=^I:ue=\E[m:up=\EM:\
14064         :us=\E[4m:
14065 hirez100-w|Selanar HiREZ-100 in 132-column mode:\
14066         :co#132:tc=hirez100:
14068 #### Signetics
14071 # From University of Wisconsin
14072 vsc|Signetics Vsc Video driver by RMC:\
14073         :am:ms:\
14074         :co#80:it#8:li#26:\
14075         :ce=\E[K:cl=50\E[;H\E[2J:cm=\E[%i%d;%dH:cr=^M:do=^J:\
14076         :ho=\E[H:kb=^H:kd=^J:kl=^H:le=^H:me=^_\041:mr=^_ :nd=\E[C:\
14077         :nw=^M^J:se=^_\041:sf=^J:so=^_ :ta=^I:ue=^_#:up=\E[A:us=^_":
14079 #### Soroc
14081 # Alan Frisbie <frisbie@flying-disk.com> writes:
14083 # As you may recall, the Soroc logo consisted of their name,
14084 # with the letter "S" superimposed over an odd design.   This
14085 # consisted of a circle with a slightly smaller 15 degree (approx.)
14086 # wedge with rounded corners inside it.   The color was sort of
14087 # a metallic gold/yellow.
14089 # If I had been more of a beer drinker it might have been obvious
14090 # to me, but it took a clue from their service department to make
14091 # me exclaim, "Of course!"   The circular object was the top of
14092 # a beer can (the old removable pop-top style) and "Soroc" was an
14093 # anagram for "Coors".
14095 # I can just imagine the founders of the company sitting around
14096 # one evening, tossing back a few and trying to decide what to
14097 # call their new company and what to use for a logo.
14100 # (soroc120: removed obsolete ":ma=^K^P^R^L^L :" -- esr)
14101 soroc120|iq120|soroc|soroc iq120:\
14102         :cd=\EY:ce=\ET:cl=\E*:do=^J:kd=^J:kl=^H:kr=^L:ku=^K:tc=adm3a:
14103 soroc140|iq140|soroc iq140:\
14104         :am:bs:mi:\
14105         :co#80:li#24:\
14106         :al=\Ee:bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=\E+:cm=\E=%+ %+ :\
14107         :cr=^M:dc=\Ew:dl=\Er:do=^J:ei=\E8:ho=^^:im=\E9:k0=^A0\r:\
14108         :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
14109         :k7=^AF\r:k8=^AG\r:k9=^AH\r:kb=^H:kh=^^:kr=^L:ku=^K:le=^H:\
14110         :ll=^^^K:nd=^L:se=\E\177:sf=^J:so=\E\177:ue=\E^A:up=^K:\
14111         :us=\E^A:
14113 #### Synertek
14115 # Bob Manson <manson@pattyr.acs.ohio-state.edu> writes (28 Apr 1995):
14117 # Synertek used to make ICs, various 6502-based single-board process
14118 # control and hobbyist computers, and assorted peripherals including a
14119 # series of small inexpensive terminals (I think they were one of the
14120 # first to have a "terminal-on-a-keyboard", where the terminal itself
14121 # was only slightly larger than the keyboard).
14123 # They apparently had a KTM-1 model, which I've never seen. The KTM-2/40
14124 # was a 40x24 terminal that could connect to a standard TV through a
14125 # video modulator.  The KTM-2/80 was the 80-column version (the 2/40
14126 # could be upgraded to the 2/80 by adding 2 2114 SRAMs and a new ROM).
14127 # I have a KTM-2/80 still in working order.  The KTM-2s had fully
14128 # socketed parts, used 2 6507s, a 6532 as keyboard scanner, a program
14129 # ROM and 2 ROMs as character generators. They were incredibly simple,
14130 # and I've never had any problems with mine (witness the fact that mine
14131 # was made in 1981 and is still working great... I've blown the video
14132 # output transistor a couple of times, but it's a 2N2222 :-)
14134 # The KTM-3 (which is what is listed in the terminfo file) was their
14135 # attempt at putting a KTM-2 in a box (and some models came with a
14136 # CRT). It wasn't much different from the KTM-2 hardware-wise, but the
14137 # control and escape sequences are very different. The KTM-3 was always
14138 # real broken, at least according to the folks I've talked to about it.
14140 # The padding in the entry is probably off--these terminals were very
14141 # slow (it takes like 100ms for the KTM-2 to clear the screen...) And
14142 # anyone with any sanity replaced the ROMs with something that provided
14143 # a reasonable subset of VT100 functionality, since the usual ROMs were
14144 # obviously very primitive... oh, you could get an upgraded ROM from
14145 # Synertek for some incredible amount of money, but what hacker with an
14146 # EPROM burner would do that? :)
14148 # Sorry I don't have any contact info; I believe they were located in
14149 # Sunnyvale, and I'm fairly sure they are still manufacturing ICs
14150 # (they've gone to ASICs and FPGAs), but I doubt they're in the computer
14151 # business these days.
14154 # Tested, seems to work fine with vi.
14155 synertek|ktm|synertek380|synertek ktm 3/80 tubeless terminal:\
14156         :am:\
14157         :co#80:li#24:\
14158         :cd=\EJ:ce=\EK:cl=^Z:cm=\E=%+ %+ :le=^H:nd=^L:up=^K:
14160 #### Tab Office Products
14162 #       TAB Products Co. - Palo Alto, California
14163 #       Electronic Office Products,
14164 #       1451 California Avenue 94304
14166 # I think they're out of business.
14169 # The tab 132 uses xon/xoff, so no padding needed.
14170 # :ks:/:ke: have nothing to do with arrow keys.
14171 # :is: sets 80 col mode, normal video, autowrap on (for :am:).
14172 # Seems to be no way to get rid of status line.
14173 # The manual for this puppy was dated June 1981.  It claims to be VT52-
14174 # compatible but looks more vt100-like.
14175 tab132|tab|tab132-15|tab 132/15:\
14176         :da:db:\
14177         :co#80:dN@:li#24:lm#96:\
14178         :al=\E[L:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:\
14179         :im=\E[4h:is=\E[?7h\E[?3l\E[?5l:kd=\E[B:ke@:kl=\E[D:ks@:\
14180         :ku=\E[A:\
14181         :tc=vt100:
14182 tab132-w|tab132 in wide mode:\
14183         :co#132:\
14184         :is=\E[?7h\E[?3h\E[?5l:tc=tab132:
14185 tab132-rv|tab132 in reverse-video mode:\
14186         :is=\E[?7h\E[?3l\E[?5h:tc=tab132:
14187 tab132-w-rv|tab132 in reverse-video/wide mode:\
14188         :is=\E[?7h\E[?3h\E[?5h:tc=tab132-w:
14191 #### Teleray
14193 #       Research Incorporated
14194 #       6425 Flying Cloud Drive
14195 #       Eden Prairie, MN 55344
14196 #       Vox: (612)-941-3300
14198 # The Teleray terminals were all discontinued in 1992-93.  RI still services
14199 # and repairs these beasts, but no longer manufactures them.  The Teleray
14200 # people believe that all the types listed below are very rare now (1995).
14201 # There was a newer line of Telerays (Model 7, Model 20, Model 30, and
14202 # Model 100) that were ANSI-compatible.
14204 # Note two things called "teleray".  Reorder should move the common one
14205 # to the front if you have either.  A dumb teleray with the cursor stuck
14206 # on the bottom and no obvious model number is probably a 3700.
14209 t3700|dumb teleray 3700:\
14210         :bs:\
14211         :co#80:li#24:\
14212         :bl=^G:cl=^L:cr=^M:do=^J:le=^H:sf=^J:
14213 t3800|teleray 3800 series:\
14214         :bs:\
14215         :co#80:it#8:li#24:\
14216         :bl=^G:cd=\EJ:ce=\EK:cl=^L:cm=\EY%+ %+ :cr=^M:do=^J:ho=\EH:\
14217         :le=^H:ll=\EY7 :nd=\EC:sf=^J:ta=^I:up=^K:
14218 t1061|teleray|teleray 1061:\
14219         :am:bs:km:xs:xt:\
14220         :co#80:it#8:li#24:sg#1:\
14221         :al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=\014:cm=\EY%+ %+ :cr=^M:\
14222         :ct=\EG:dc=\EQ:dl=\EM:do=^J:ei=:ho=\EH:ic=\EP:im=:ip=:\
14223         :is=\Ee\EU01^Z1\EV\EU02^Z2\EV\EU03^Z3\EV\EU04^Z4\EV\EU05^Z5\EV\EU06^Z6\EV\EU07^Z7\EV\EU08^Z8\EV\Ef:\
14224         :k1=^Z1:k2=^Z2:k3=^Z3:k4=^Z4:k5=^Z5:k6=^Z6:k7=^Z7:k8=^Z8:\
14225         :le=^H:nd=\EC:se=\ER@:sf=^J:so= \ERD:st=\EF:ta=^I:ue=\ER@:\
14226         :up=\EA:us=\ERH:
14227 t1061f|teleray 1061 with fast PROMs:\
14228         :al=\EL:dl=\EM:ip@:tc=t1061:
14229 # "Teleray Arpa Special", officially designated as
14230 # "Teleray Arpa network model 10" with "Special feature 720".
14231 # This is the new (1981) fast microcode updating the older "arpa" proms
14232 # (which gave meta-key and programmable-fxn keys).  720 is much much faster,
14233 # converts the keypad to programmable function keys, and has other goodies.
14234 # Standout mode is still broken (magic cookie, etc) so is suppressed as no
14235 # programs handle such lossage properly.
14236 # Note: this is NOT the old termcap's "t1061f with fast proms."
14237 # From: J. Lepreau <lepreau@utah-cs> Tue Feb  1 06:39:37 1983, Univ of Utah
14238 # (t10: removed overridden ":so@:se@:us@:ue@:" -- esr)
14239 t10|teleray 10 special:\
14240         :bs:km:xs:xt:\
14241         :co#80:it#8:li#24:sg#2:\
14242         :al=\EL:cd=\EJ:ce=\EK:cl=30\Ej:cm=\EY%+ %+ :dc=\EQ:dl=\EM:\
14243         :ei=:ho=\EH:ic=\EP:im=:le=^H:nd=\EC:pc=\0:se=\ER@:sf=\Eq:\
14244         :so=\ERD:sr=\Ep:ta=^I:ue=\ER@:up=\EA:us=\ERH:
14245 # teleray 16 - map the arrow keys for vi/rogue, shifted to up/down page, and
14246 # back/forth words. Put the function keys (f1-f10) where they can be
14247 # found, and turn off the other magic keys along the top row, except
14248 # for line/local. Do the magic appropriate to make the page shifts work.
14249 # Also toggle ^S/^Q for those of us who use Emacs.
14250 t16|teleray 16:\
14251         :am:da:db:mi:xs:xt:\
14252         :co#80:li#24:\
14253         :al=\E[L:bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[H\E[2J:\
14254         :cm=%i\E[%d;%df:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:\
14255         :ho=\E[H:im=\E[4h:k1=^Z1:k2=^Z2:k3=^Z3:k4=^Z4:k5=^Z5:k6=^Z6:\
14256         :k7=^Z7:k8=^Z8:k9=^Z9:k;=^Z0:le=^H:me=\E[m:nd=\E[C:se=\E[m:\
14257         :sf=^J:so=\E[7m:sr=\E[T:ta=^I:te=\E[V\E[24;1f\E[?38h:\
14258         :ti=\E[U\E[?38l:ue=\E[m:up=\E[A:us=\E[4m:
14260 #### Texas Instruments (ti)
14263 # The Silent 700 was so called because it was built around a quiet thermal
14264 # printer.  It was portable, equipped with an acoustic coupler, and pretty
14265 # neat for its day.
14266 ti700|ti733|ti735|ti745|ti800|ti silent 700/733/735/745 or omni 800:\
14267         :bs:hc:os:\
14268         :co#80:\
14269         :bl=^G:cr=\r:do=^J:le=^H:sf=^J:
14272 # Texas Instruments 916 VDT 7 bit control mode
14274 ti916|ti916-220-7|Texas Instruments 916 VDT 8859/1 vt220 mode 7 bit CTRL:\
14275         :da:db:in:ms:\
14276         :%9=^X:@4=\E[29~:@8=^J:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
14277         :DO=\E[%dB:F1=\E[29~:F2=\E[31~:IC=\E[%d@:LE=\E[%dD:\
14278         :RI=\E[%dC:UP=\E[%dA:ae=\017:as=\016:bt=\E[Z:cb=\E[1K:\
14279         :cd=\E[J:ce=\E[0K:ch=\E[%+^AG:cl=\E[H\E[2J:\
14280         :cm=\E[%i%d;%dH:ct=\E[3g:cv=\E[%+^Ad:dc=\E[P:eA=\E(B\E)0:\
14281         :ec=\E[%dX:ei=:ff=^L:im=:ip=:is=\E[1;24r\E[24;1H:k1=\E[17~:\
14282         :k2=\E[18~:k3=\E[19~:k4=\E[20~:k5=\E[21~:k6=\E[23~:\
14283         :k7=\E[24~:k8=\E[25~:k9=\E[26~:k;=\E[28~:kD=\E[P:kI=\E[@:\
14284         :kN=\E[S:kP=\E[T:kh=\E[H:mp=\E&:r2=\E[\041p:st=\E[0W:\
14285         :vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:\
14286         :tc=vt220:
14288 # Texas Instruments 916 VDT 8 bit control mode
14290 ti916-8|ti916-220-8|Texas Instruments 916 VDT 8859/1 8 vt220 mode bit CTRL:\
14291         :%9=^X:@4=\23329~:@8=^J:F1=\23329~:F2=\23331~:k1=\23317~:\
14292         :k2=\23318~:k3=\23319~:k4=\23320~:k5=\23321~:k6=\23323~:\
14293         :k7=\23324~:k8=\23325~:k9=\23326~:k;=\23328~:kD=\233P:\
14294         :kI=\233@:kN=\233S:kP=\233T:kd=\233B:kh=\233H:kl=\233D:\
14295         :kr=\233C:ku=\233A:\
14296         :tc=ti916:
14298 # Texas Instruments 916 VDT 8859/1 7 bit control 132 column mode
14300 ti916-132|Texas Instruments 916 VDT vt220 132 column:\
14301         :co#132:tc=ti916:
14303 # Texas Instruments 916 VDT 8859/1 8 bit control 132 column mode
14305 ti916-8-132|Texas Instruments 916 VDT 8-bit vt220 132 column:\
14306         :co#132:tc=ti916-8:
14307 ti924|Texas Instruments 924 VDT 8859/1 7 bit CTRL:\
14308         :am:bs:xo:\
14309         :co#80:it#8:li#24:\
14310         :al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:\
14311         :cm=%i\E[%d;%dH:cr=^M:cs=%i\E[%d;%dr:ct=\E[3g:dl=\E[M:\
14312         :do=\E[B:ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[16~:\
14313         :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[P:kI=\E[@:\
14314         :kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:\
14315         :md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:\
14316         :sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:\
14317         :us=\E[4m:ve=\E[?25h:vi=\E[?25l:vs=\E[?31h:
14318 ti924-8|Texas Instruments 924 VDT 8859/1 8 bit CTRL:\
14319         :am:xo:\
14320         :co#80:it#8:li#24:\
14321         :al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:\
14322         :cm=%i\E[%d;%dH:cr=^M:cs=%i\E[%d;%dr:ct=\E[3g:dl=\E[M:\
14323         :do=\E[B:ho=\E[H:k1=P\217>:k2=Q\217>:k3=R\217>:k4=S\217>:\
14324         :k5=~\23316>:k6=~\23317>:k7=~\23318>:k8=~\23319>:\
14325         :k9=~\23320>:kD=P\233>:kI=@\233>:kb=^H:kd=\E[B:kl=\E[D:\
14326         :kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[m:\
14327         :mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:\
14328         :sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[?25h:\
14329         :vi=\E[?25l:vs=\E[?31h:
14330 ti924w|Texas Instruments 924 VDT 7 bit - 132 column mode:\
14331         :co#132:tc=ti924:
14332 ti924-8w|Texas Instruments 924 VDT 8 bit - 132 column mode:\
14333         :co#132:tc=ti924-8:
14334 ti931|Texas Instruments 931 VDT:\
14335         :am:bs:xo:\
14336         :co#80:li#24:\
14337         :al=\EN:bl=^G:cd=\EJ:ce=\EI:cl=\EL:cm=\EY%+ %+ :cr=^M:\
14338         :dc=\EQ:dl=\EO:do=\EB:ei=:ho=\EH:ic=\ER\EP\EM:im=:\
14339         :is=\EGB\E(@B@@\E):k1=\Ei1:k2=\Ei2:k3=\Ei3:k4=\Ei4:\
14340         :k5=\Ei5:k6=\Ei6:k7=\Ei7:k8=\Ei8:k9=\Ei9:kA=\EN:kD=\EQ:\
14341         :kI=\EP:kL=\EO:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=\ED:mb=\E4P:\
14342         :me=\E4@:mk=\E4H:mr=\E4B:nd=\EC:se=\E4@:sf=\Ea:so=\E4A:\
14343         :sr=\Eb:ue=\E4@:up=\EA:us=\E4D:ve=\E4@:
14344 ti926|Texas Instruments 926 VDT 8859/1 7 bit CTRL:\
14345         :cs@:sf=\E[1S:sr=\E[1T:tc=ti924:
14346 # (ti926-8: I corrected this from the broken SCO entry -- esr)
14347 ti926-8|Texas Instruments 926 VDT 8859/1 8 bit CTRL:\
14348         :cs@:sf=\2331S:sr=\2331T:\
14349         :tc=ti924-8:
14350 ti_ansi|basic entry for ti928:\
14351         :am:eo:ut:xn:xo:\
14352         :Co#8:co#80:it#8:li#25:pa#64:\
14353         :@7=\E[F:AB=\E[4%p1%dm:AF=\E[3%p1%dm:al=\E[L:bl=^G:\
14354         :bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:\
14355         :cr=^M:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
14356         :ic=\E[@:im=:k0=\E[V:k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:\
14357         :k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:kN=\E[G:kP=\E[I:\
14358         :kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
14359         :mb=\E[5m:md=\E[1m:me=\E[m:nd=\E[C:op=\E[37;40m:se=\E[m:\
14360         :sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
14362 #       928 VDT 7 bit control mode
14364 ti928|Texas Instruments 928 VDT 8859/1 7 bit CTRL:\
14365         :%9=\E[35~:@7=\E_1\E\:@8=\E[8~:F1=\E[29~:F2=\E[31~:\
14366         :F3=\E[32~:F5=\E[34~:k1=\E[17~:k2=\E[18~:k3=\E[19~:\
14367         :k4=\E[20~:k5=\E[21~:k6=\E[23~:k7=\E[24~:k8=\E[25~:\
14368         :k9=\E[26~:k;=\E[28~:kD=\E[P:kI=\E[@:kN=\E[S:kP=\E[T:\
14369         :tc=ti_ansi:
14371 #       928 VDT 8 bit control mode
14373 ti928-8|Texas Instruments 928 VDT 8859/1 8 bit CTRL:\
14374         :%9=\23335~:@7=\2371\234:@8=\2338~:F1=\23329~:F2=\23331~:\
14375         :F3=\23332~:F5=\23334~:k1=\23317~:k2=\23318~:k3=\23319~:\
14376         :k4=\23320~:k5=\23321~:k6=\23323~:k7=\23324~:k8=\23325~:\
14377         :k9=\23326~:k;=\23328~:kD=\233P:kI=\233@:kN=\233S:\
14378         :kP=\233T:kh=\233H:\
14379         :tc=ti_ansi:
14381 #### Zentec (zen)
14384 # (zen30: removed obsolete :ma=^L ^R^L^K^P:.  This entry originally
14385 # had just :so:=\EG6 which I think means standout was supposed to be 
14386 # dim-reverse using ADM12-style attributes. ADM12 :us:/:ue: and
14387 # <invis> might work-- esr)
14388 zen30|z30|zentec 30:\
14389         :am:bs:mi:ul:\
14390         :co#80:li#24:\
14391         :al=\EE:bl=^G:cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :cr=^M:\
14392         :dc=\EW:dl=\ER:do=^J:ei=\Er:ho=^^:im=\Eq:le=^H:mh=\EG2:nd=^L:\
14393         :sf=^J:so=\EG6:ue@:up=^K:us@:\
14394         :tc=adm+sgr:
14395 # (zen50: this had extension capabilities
14396 #       :BS=^U:CL=^V:CR=^B:
14397 # UK/DK/RK/LK/HM were someone's aliases for ku/kd/kl/kr/kh,
14398 # which were also in the original entry -- esr)
14399 # (zen50: removed obsolete ":ma=^Hh^Ll^Jj^Kk:" -- esr)
14400 zen50|z50|zentec zephyr:\
14401         :am:bs:\
14402         :co#80:li#24:sg#1:\
14403         :al=\EE:cd=\EY:ce=\ET:cl=\E+:cm=\E=%+ %+ :dc=\EW:dl=\ER:ei=:\
14404         :ic=\EQ:im=:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:mk@:ue@:up=^K:\
14405         :us@:\
14406         :tc=adm+sgr:
14408 # CCI 4574 (Office Power) from Will Martin <wmartin@BRL.ARPA> via BRL
14409 cci|cci1|z8001|zen8001|CCI Custom Zentec 8001:\
14410         :am:bs:bw:\
14411         :co#80:li#24:\
14412         :cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cs=\ER%+ %+ :do=^J:\
14413         :ho=\EH:is=\EM \EF\ET\EP\ER 7:kb=^H:kd=\EB:kh=\EH:kl=\ED:\
14414         :kr=\EC:ku=\EA:le=^H:mb=\EM":me=\EM :mh=\EM\041:mk=\EM(:\
14415         :mr=\EM$:nd=\EC:pf=^T:po=^R:se=\EM :so=\EM$:sr=\EI:ue=\EM :\
14416         :up=\EA:us=\EM0:ve=\EP:vs=\EF\EQ\EM \ER 7:
14418 ######## OBSOLETE UNIX CONSOLES
14421 #### Altos
14423 # Altos made a moderately successful line of UNIX boxes.  In 1990 they were
14424 # bought out by Acer, a major Taiwanese manufacturer of PC-clones.
14425 # Acer has a web site at http://www.acer.com.
14427 # Altos descriptions from Ted Mittelstaedt <tedm@agora.rain.com> 4 Sep 1993
14428 # His comments suggest they were shipped with the system.
14431 # (altos2: had extension capabilities
14432 #       :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
14433 #       :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
14434 #       :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
14435 #       :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
14436 #       :XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
14437 #       :YU=^AQ\r:YD=^AR\r:YR=^AS\r:YL=^AT\r:\
14438 #       :HL=^AP\r:SP=\E[i:\
14439 #       :IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
14440 #       :LO=\E[0q:LC=\E[5q:LL=\E[6q:\
14441 # Comparison with the k* capabilities makes it obvious that the c* things are
14442 # shift keys.  I have renamed them to keys 32 and up accordingly.  Also,
14443 # :sr: was given as a boolean-- esr)
14444 altos2|alt2|altos-2|altos II:\
14445         :co#80:it#8:li#24:sg#0:\
14446         :*5=^Am\r:*8=^An\r:DL=\E[M:FM=^A`\r:FN=^Aa\r:FO=^Ab\r:\
14447         :FP=^Ac\r:FQ=^Ad\r:FR=^Ae\r:FS=^Af\r:FT=^Ag\r:FU=^Ah\r:\
14448         :FV=^Ai\r:FW=^Aj\r:FX=^Ak\r:RA=\E[?7l:SA=\E[?7h:al=\E[L:\
14449         :cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
14450         :dc=\E[P:do=\E[1B:ei=:ho=\E[H:ic=\E[@:\
14451         :if=/usr/share/tabset/vt100:im=:\
14452         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:k0=^AI\r:\
14453         :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
14454         :k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=^AJ\r:kB=^AK\r:kC=^AL\r:\
14455         :kD=^AM\r:kE=^AN\r:kF=^AO\r:kb=^H:kd=\E[B:kh=\E[f:kl=\E[D:\
14456         :kr=\E[C:ku=\E[A:le=^H:me=\E[m:nd=\E[1C:nw=^M^J:se=\E[m:\
14457         :sf=^J:so=\E[7m:ta=^I:ue=\E[m:up=\E[1A:us=\E[4m:
14458 # (altos3: had extension capabilities
14459 #       :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
14460 #       :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
14461 #       :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
14462 #       :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
14463 #       :XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
14464 #       :HL=^AP\r:SP=\E[i:\
14465 #       :IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
14466 altos3|altos5|alt3|alt5|altos-3|altos-5|altos III or V:\
14467         :mb=\E[5p:me=\E[p:sr=\EM:\
14468         :tc=altos2:
14469 altos4|alt4|altos-4|altos IV:\
14470         :tc=wy50:
14471 # (altos7: had extension capabilities:
14472 #       :GG#0:GI=\EH8:GF=\EH7:\
14473 #       :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
14474 #       :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
14475 #       :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
14476 #       :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
14477 # Comparison with the k* capabilities makes it obvious that the c* things are
14478 # shift keys.  I have renamed them to keys 32 and up accordingly.  I have
14479 # also made this entry relative to adm12 in order to give it an :sa:. The
14480 # <invis> imported by use=adm+sgr may work, let me know. -- esr)
14481 altos7|alt7|altos VII:\
14482         :am:mi:\
14483         :co#80:li#24:sg#0:\
14484         :*5=^Am\r:*8=^An\r:DL=\ER:FM=^A`\r:FN=^Aa\r:FO=^Ab\r:\
14485         :FP=^Ac\r:FQ=^Ad\r:FR=^Ae\r:FS=^Af\r:FT=^Ag\r:FU=^Ah\r:\
14486         :FV=^Ai\r:FW=^Aj\r:FX=^Ak\r:\
14487         :ac=j5k3l2m1n8q\072t4u9v=w0x6:al=\EE:cd=\EY:ce=\ET:\
14488         :cl=\E+^^:cm=\E=%+ %+ :cr=^M:dc=\EW:do=^J:ei=\Er:ho=^^:\
14489         :im=\Eq:is=\E`\072\Ee(\EO\Ee6\Ec41\E~4\Ec21\Eu\E~2:\
14490         :k0=^AI\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
14491         :k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=^AJ\r:kB=^AK\r:\
14492         :kC=^AL\r:kD=^AM\r:kE=^AN\r:kF=^AO\r:kN=\EK:kP=\EJ:kb=^H:\
14493         :kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:mb=\EG2:md=\EGt:mh=\EGp:\
14494         :mk=\EG1:nd=^L:nw=^M^J:pf=\EJ:po=\Ed#:sf=^J:sr=\Ej:ta=^I:\
14495         :up=^K:\
14496         :tc=adm+sgr:
14497 altos7pc|alt7pc|altos PC VII:\
14498         :@7=\ET:tc=altos7:
14500 #### Apollo consoles
14502 # Apollo got bought by Hewlett-Packard.  The Apollo workstations are 
14503 # labeled HP700s now.
14506 # From: Gary Darland <goodmanc@garnet.berkeley.edu>
14507 apollo|apollo console:\
14508         :am:bs:mi:\
14509         :co#88:li#53:\
14510         :al=\EI:cd=\EJ:ce=\EK:ch=\EN%d:cl=^L:cm=\EM%+ %d):cv=\EO+ :\
14511         :dc=\EP:dl=\EL:do=\EB:ei=\ER:im=\EQ:le=^H:nd=\EC:se=\ET:\
14512         :sf=\EE:so=\ES:sr=\ED:te=\EX:ti=\EW:ue=\EV:up=\EA:us=\EU:
14514 # We don't know whether or not the apollo guys replicated DEC's firmware bug
14515 # in the VT132 that reversed :ei:/:im:.  To be on the safe side, disable
14516 # both these capabilities.
14517 apollo_15P|apollo 15 inch display:\
14518         :ei@:im@:tc=vt132:
14519 apollo_19L|apollo 19 inch display:\
14520         :ei@:im@:tc=vt132:
14521 apollo_color|apollo color display:\
14522         :ei@:im@:tc=vt132:
14524 #### Convergent Technology
14526 # Burroughs bought Convergent shortly before it merged with Univac.
14527 # CTOS is (I believe) dead.  Probably the aws is too (this entry dates
14528 # from 1991 or earlier).
14531 # Convergent AWS workstation from Gould/SEL UTX/32 via BRL
14532 # (aws: removed unknown :dn=^K: -- esr)
14533 aws|Convergent Technologies AWS workstation under UTX and Xenix:\
14534         :am:\
14535         :co#80:li#28:sg#0:\
14536         :ac=:ae=\EAAF:al=\EIL:as=\EAAN:bc=^H:cd=\EEF:ce=\EEL:\
14537         :ch=\EH%.:cl=^L:cm=\EC%r%.%.:cv=\EV%.:dc=\EDC:dl=\EDL:\
14538         :do=^K:ei=:ic=\EIC:im=:kb=^H:kd=^K:kl=^N:kr=^R:ku=^A:\
14539         :ma=\016h\013j\001k\022l\002m:nd=^R:nl=^J:se=\EARF:\
14540         :sf=\ESU:so=\EARN:sr=\ESD:ue=\EAUF:up=^A:us=\EAUN:
14541 awsc|Convergent Technologies AWS workstation under CTOS:\
14542         :am:\
14543         :co#80:li#24:sg#0:\
14544         :ac=:ae=\EAAF:as=\EAAN:bc=^N:cd=\EEF:ce=\EEL:cl=^L:\
14545         :cm=\EC%r%.%.:do=^K:kb=^H:kd=^K:kl=^N:kr=^R:ku=^A:\
14546         :ma=\016h\013j\001k\022l\002m:nd=^R:se=\EAA:so=\EAE:\
14547         :ue=\EAA:up=^A:us=\EAC:
14549 #### DEC consoles
14552 # The MicroVax console.  Tim Theisen <tim@cs.wisc.edu> writes:
14553 # The digital uVax II's had a graphic display called a qdss.  It was
14554 # supposed to be a high performance graphic accelerator, but it was
14555 # late to market and barely appeared before faster dumb frame buffers
14556 # appeared.  I have only used this display while running X11.  However,
14557 # during bootup, it was in text mode, and probably had a terminal emulator
14558 # within it.  And that is what your termcap entry is for.  In graphics
14559 # mode the screen size is 1024x864 pixels.
14560 qdss|qdcons|qdss glass tty:\
14561         :am:bs:\
14562         :co#128:li#57:\
14563         :cl=1\032:cm=\E=%.%.:do=^J:le=^H:nd=^L:up=^K:
14565 #### Fortune Systems consoles
14567 # Fortune made a line of 68K-based UNIX boxes that were pretty nifty
14568 # in their day; I (esr) used one myself for a year or so around 1984.
14569 # They had no graphics, though, and couldn't compete against Suns and
14570 # the like.  R.I.P.
14573 # From: Robert Nathanson <c160-3bp@Coral> via tut   Wed Oct 5, 1983
14574 # (This had extension capabilities
14575 #       :rv=\EH:re=\EI:rg=0:GG=0:\
14576 #       :CO=\E\\:WL=^Aa\r:WR=^Ab\r:CL=^Ac\r:CR=^Ad\r:DL=^Ae\r:RF=^Af\r:\
14577 #       :RC=^Ag\r:CW=^Ah\r:NU=^Aj\r:EN=^Ak\r:HM=^Al:PL=^Am\r:\
14578 #       :PU=^An\r:PD=^Ao\r:PR=^Ap\r:HP=^A@\r:RT=^Aq\r:TB=\r:CN=\177:MP=\E+F:
14579 # It had both ":bs:" and ":bs=^H:"; I removed the latter.  Also, it had
14580 # ":sg=0:" and ":ug=0:"; evidently the composer was trying (unnecessarily)
14581 # to force both magic cookie glitches off.  Once upon a time, I
14582 # used a Fortune myself, so I know the capabilities of the form ^A[a-z]\r are
14583 # function keys; thus the "Al" value for HM was certainly an error.  I renamed
14584 # EN/PD/PU/CO/CF/RT according to the XENIX/TC mappings, but not HM/DL/RF/RC.  
14585 # I think :rv: and :re: are start/end reverse video and :rg: is a nonexistent
14586 # "reverse-video-glitch" capability; I have put :rv: and :re: in with standard
14587 # names below.  I've removed obsolete ":nl=5^J:" as there is a :do: -- esr)
14588 fos|fortune|Fortune system:\
14589         :am:bs:bw:\
14590         :co#80:li#25:\
14591         :@7=^Ak\r:@8=^Aq:ac=j*k(l m"q&v%w#x-:ae=^O:al=\034E:\
14592         :as=\Eo:bl=^G:cd=\034Y:ce=^\Z:cl=\014:cm=\034C%+ %+ :cr=^M:\
14593         :dc=\034W:dl=\034R:do=\n:ei=:ho=\036:ic=\034Q:im=:is=^_..:\
14594         :k1=^Aa\r:k2=^Ab\r:k3=^Ac\r:k4=^Ad\r:k5=^Ae\r:k6=^Af\r:\
14595         :k7=^Ag\r:k8=^Ah\r:kN=^Ao\r:kP=^An\r:kb=^H:kd=^Ay\r:\
14596         :kh=^A?\r:kl=^Aw\r:kr=^Az\r:ku=^Ax\r:le=^H:mb=\EN:me=\EI:\
14597         :mr=\EH:nw=^M^J:se=^\I`:sf=^J:so=^\H`:ta=^Z:ue=^\IP:up=\013:\
14598         :us=^\HP:ve=\E\:vi=\E]:vs=\E\072:
14600 #### IBM Unix consoles
14603 # The following is a version of the ibm-pc entry distributed with PC/IX,
14604 # (Interactive Systems' System 3 for the Big Blue), modified by Richard
14605 # McIntosh at UCB/CSM.  The :pt: and :uc: have been removed from the original,
14606 # (the former is untrue, and the latter failed under UCB/man); standout and
14607 # underline modes have been added.  Note: this entry describes the "native"
14608 # capabilities of the PC monochrome display, without ANY emulation; most
14609 # communications packages (but NOT PC/IX connect) do some kind of emulation.
14610 pcix|PC/IX console:\
14611         :am:bw:eo:\
14612         :co#80:li#24:\
14613         :cd=\E[J:ce=\E[K:cl=\Ec:cm=\E[%i%2;%2H:do=\E[B:ho=\E[H:\
14614         :le=^H:me=\E[m:nd=\E[C:se=\E[m:so=\E[7m:ue=\E[m:up=\E[A:\
14615         :us=\E[4m:
14617 # (ibmpcx: this entry used to be known as ibmx.
14618 # It formerly included the following extension capabilities:
14619 #       :GC=b:GL=v:GR=t:RT=^J:\
14620 #       :GH=\E[196g:GV=\E[179g:\
14621 #       :GU=\E[193g:GD=\E[194g:\
14622 #       :G1=\E[191g:G2=\E[218g:G3=\E[192g:G4=\E[217g:\
14623 #       :CW=\E[E:NU=\E[F:RF=\E[G:RC=\E[H:\
14624 #       :WL=\E[K:WR=\E[L:CL=\E[M:CR=\E[N:\
14625 # I renamed GS/GE/WL/WR/CL/CR/PU/PD/HM/EN; also, removed a duplicate
14626 # ":kh=\E[Y:".  Added IBM-PC forms characters and highlights, they match
14627 # what was there before. -- esr)
14628 ibmpcx|xenix|ibmx|IBM PC xenix console display:\
14629         :am:bs:ms:\
14630         :co#80:li#25:\
14631         :@7=\E[d:al=\E[L:cd=\E[J:ce=\E[K:cl=^L:cm=\E[%d;%dH:\
14632         :dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:k1=\E[K:\
14633         :k2=\E[L:k3=\E[M:k4=\E[N:kN=\E[e:kP=\E[Z:kb=^H:kd=\E[B:\
14634         :kh=\E[Y:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:nd=\E[C:up=\E[A:\
14635         :tc=klone+acs:tc=klone+sgr:
14638 #### Masscomp consoles
14640 # Masscomp has gone out of business.  Their product line was purchased by
14641 # comany in Georgia (US) called "XS International", parts and service may
14642 # still be available through them.
14645 # (masscomp: ":MT:" changed to ":km:";  -- esr)
14646 masscomp|masscomp workstation console:\
14647         :bs:km:mi:\
14648         :co#80:it#8:li#24:\
14649         :al=\E[L:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:dc=\E[P:\
14650         :dl=\E[M:do=\E[B:ei=\E[4l:im=\E[4h:is=\EGc\EGb\EGw:kb=^H:\
14651         :kd=\EOB:kl=\EOD:kr=\EOC:ku=\EOA:le=^H:nd=\E[C:se=\E[m:\
14652         :so=\E[7m:ta=^I:ue=\EGau:up=\E[A:us=\EGu:
14653 masscomp1|masscomp large screen version 1:\
14654         :co#104:li#36:tc=masscomp:
14655 masscomp2|masscomp large screen version 2:\
14656         :co#64:li#21:tc=masscomp:
14658 #### Sony NEWS workstations
14661 # (news-unk: this had :KB=news: -- esr)
14662 news-unk|SONY NEWS vt100 emulator old common entry:\
14663         :am:bs:pt:xn:\
14664         :co#80:\
14665         :AL=\E[%dL:DL=\E[%dM:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:\
14666         :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
14667         :dl=\E[M:do=^J:ho=\E[H:if=/usr/lib/tabset/vt100:\
14668         :is=\E[?7h\E[?1l\E[?3l\E7\E8:k0=\EOY:k1=\EOP:k2=\EOQ:\
14669         :k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:k9=\EOX:\
14670         :kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
14671         :ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
14672         :nl=^J:rc=\E8:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[r:\
14673         :sc=\E7:se=\E[m:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:\
14674         :us=\E[4m:
14676 # (news-29: this had :TY=ascii: --esr)
14677 news-29:\
14678         :li#29:tc=news-unk:
14679 # (news-29-euc: this had :TY=euc: --esr)
14680 news-29-euc:\
14681         :tc=news-29:
14682 # (news-29-sjis: this had :TY=sjis: --esr)
14683 news-29-sjis:\
14684         :tc=news-29:
14686 # (news-33: this had :TY=ascii: --esr)
14687 news-33:\
14688         :li#33:tc=news-unk:
14689 # (news-33-euc: this had :TY=euc: --esr)
14690 news-33-euc:\
14691         :tc=news-33:
14692 # (news-33-sjis: this had :TY=sjis: --esr)
14693 news-33-sjis:\
14694         :tc=news-33:
14696 # (news-42: this had :TY=ascii: --esr)
14697 news-42:\
14698         :li#42:tc=news-unk:
14699 # (news-42-euc: this had :TY=euc: --esr)
14700 news-42-euc:\
14701         :tc=news-42:
14702 # (news-42-sjis: this had :TY=sjis: --esr)
14703 news-42-sjis:\
14704         :tc=news-42:
14706 #       NEWS-OS old termcap entry 
14708 # (news-old-unk: this had :KB=news:TY=sjis: --esr)
14709 news-old-unk|SONY NEWS vt100 emulator common entry:\
14710         :am:bs:pt:xn:\
14711         :co#80:vt#3:\
14712         :bl=^G:cd=\E[J:ce=\E[K:cl=\E[;H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
14713         :cs=\E[%i%d;%dr:do=^J:ho=\E[H:if=/usr/lib/tabset/vt100:\
14714         :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:\
14715         :ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
14716         :mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nl=^J:rc=\E8:\
14717         :rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:sc=\E7:se=\E[m:\
14718         :so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
14720 # (nwp512: this had :DE=^H:, which I think means :bs: --esr)
14721 nwp512|news|nwp514|news40|vt100-bm|old sony vt100 emulator 40 lines:\
14722         :bs:\
14723         :li#40:\
14724         :is=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;40r\E8:tc=news-old-unk:
14726 # (nwp512-a: this had :TY=ascii: and the alias vt100-bm --esr)
14727 nwp512-a|nwp514-a|news-a|news42|news40-a|sony vt100 emulator 42 line:\
14728         :li#42:\
14729         :is=\E[?7h\E[?1l\E[?3l\E7\E[1;42r\E8:tc=news-old-unk:
14731 # (nwp-512-o: this had :KB=nwp410:DE=^H:  I interpret the latter as :bs:. --esr)
14732 nwp512-o|nwp514-o|news-o|news40-o|vt100-bm-o|sony vt100 emulator 40 lines:\
14733         :bs:\
14734         :li#40:\
14735         :is=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;40r\E8:tc=news-old-unk:
14737 # (nwp513: this had :DE=^H: and the alias vt100-bm --esr)
14738 nwp513|nwp518|nwe501|newscbm|news31|sony vt100 emulator 33 lines:\
14739         :bs:\
14740         :li#31:\
14741         :is=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;31r\E8:tc=news-old-unk:
14743 # (nwp513-a: this had :TY=ascii: and :DE=^H:, which I interpret as :bs:; --esr)
14744 # also the alias vt100-bm.
14745 nwp513-a|nwp518-a|nwe501-a|nwp251-a|newscbm-a|news31-a|newscbm33|news33|old sony vt100 emulator 33 lines:\
14746         :bs:\
14747         :li#33:\
14748         :is=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;33r\E8:tc=news-old-unk:
14750 # (nwp513-o: had :DE=^H:, I think that's :bs:; also the alias vt100-bm --esr)
14751 nwp513-o|nwp518-o|nwe501-o|nwp251-o|newscbm-o|news31-o|old sony vt100 emulator 33 lines:\
14752         :bs:\
14753         :li#31:\
14754         :is=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;31r\E8:tc=news-old-unk:
14756 # (news28: this had :DE=^H:, I think that's :bs:, and :KB=nws1200: --esr)
14757 news28|sony vt100 emulator 28 lines:\
14758         :bs:\
14759         :li#28:\
14760         :is=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;28r\E8:tc=news-old-unk:
14762 # (news29: this had :TY=ascii:KB=nws1200:\ --esr)
14763 news29|news28-a|sony vt100 emulator 29 lines:\
14764         :li#29:\
14765         :is=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;29r\E8:tc=news-old-unk:
14767 # (news511: this had :TY=sjis: --esr)
14768 nwp511|nwp-511|nwp-511 vt100:\
14769         :am:bs:pt:xn:\
14770         :co#80:li#24:\
14771         :al=\E[L:cd=30\E[J:ce=3\E[K:cl=20\E[;H\E[2J:\
14772         :cm=\E[%i%d;%dH:dl=\E[M:is=\E[?5l\E[?1l\E>\E[?7h\E[?8h:\
14773         :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:k6=\E#W:kd=\E[B:\
14774         :kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:nd=\E[C:\
14775         :rs=\E7\E[r\E8\E[?5l\E[?1l\E>\E[?7h\E[?8h:se=2\E[m:\
14776         :so=2\E[7m:sr=5\EM:ue=2\E[m:up=2\E[A:us=2\E[4m:\
14777         :vb=\E[?5h\0\0\0\0\0\0\0\0\0\0\0\0\0\E[?5l:
14778 # (news517: this had :TY=sjis:. --esr)
14779 nwp517|nwp-517|nwp-517 vt200 80 cols 30 rows:\
14780         :es:hs:\
14781         :co#80:li#30:\
14782         :ds=\E[1$~:fs=\E[0$}:i2=\E[2$~\n:\
14783         :is=\E7\E[r\E8\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
14784         :ts=\E[1$}\E[;%df:\
14785         :tc=vt200:
14786 # (news517-w: this had :TY=sjis:. --esr)
14787 nwp517-w|nwp-517-w|nwp-517 vt200 132 cols 50 rows:\
14788         :es:hs:\
14789         :co#132:li#50:\
14790         :ds=\E[1$~:fs=\E[0$}:i2=\E[2$~\n:\
14791         :is=\E7\E[r\E8\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h:\
14792         :rs=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h:\
14793         :ts=\E[1$}\E[;%df:tc=vt200:
14795 #### Obsolete virtual-terminal types.
14798 # Columbus UNIX virtual terminal. This terminal also appears in 
14799 # UNIX 4.0 and successors as line discipline 1 (?), but is 
14800 # undocumented and does not really work quite right.
14801 cbunix|cb unix virtual terminal:\
14802         :am:bs:da:db:\
14803         :co#80:li#24:lm#0:\
14804         :al=\EP:bl=^G:cd=\EL:ce=\EK:cl=\EL:cm=\EG%r%.%.:cr=^M:\
14805         :dc=\EM:dl=\EN:do=^J:ei=:ic=\EO:im=:kd=\EB:kh=\EE:kl=\ED:\
14806         :kr=\EC:ku=\EA:le=^H:nd=\EC:se=\Eb^D:sf=^J:so=\Ea^D:\
14807         :ue=\Eb^A:up=\EA:us=\Ea^A:
14808 # (vremote: removed obsolete ":nl@:" -- esr)
14809 vremote|virtual remote terminal:\
14810         :am@:\
14811         :co#79:tc=cbunix:
14813 pty|4bsd pseudo teletype:\
14814         :cm=\EG%+ %+ :se=\Eb$:so=\Ea$:ue=\Eb\041:us=\Ea\041:tc=cbunix:
14816 ######## OTHER OBSOLETE TYPES
14818 # These terminals are *long* dead -- these entries are retained for
14819 # historical interest only.
14822 #### Obsolete non-ANSI software emulations
14825 #### Avatar
14827 # These entries attempt to describe Avatar, a terminal emulation used with
14828 # MS-DOS bulletin-board systems.  It was designed to give ANSI-like
14829 # capabilities, but with cheaper (shorter) control sequences.  Messy design,
14830 # excessively dependent on PC idiosyncracies, but apparently rather popular
14831 # in the BBS world.
14833 # No color support.  Avatar doesn't fit either of the Tektronix or HP color
14834 # models that terminfo knows about.  An Avatar color attribute is the
14835 # low 7 bits of the IBM-PC display-memory attribute.  Bletch.
14837 # I wrote these entries while looking at the Avatar spec.  I don't have
14838 # the facilities to test them.  Let me know if they work, or don't.
14840 # Avatar escapes not used by these entries (because maybe you're smarter
14841 # and more motivated than I am and can figure out how to wrap terminfo
14842 # around some of them, and because they are weird enough to be funny):
14843 #                               level 0:
14844 # ^L            -- clear window/reset current attribute to default
14845 # ^V^A%p1%c     -- set current color attribute, parameter decodes as follows:
14847 #      bit:         6   5   4   3   2   1   0
14848 #                   |       |   |   |       |
14849 #                   +---+---+   |   +---+---+
14850 #                       |       |       |
14851 #                       |       |  foreground color
14852 #                       |  foreground intensity
14853 #                  background color
14854 #                               level 0+:
14855 # ^V^J%p1%c%p2%c%p3%c%p4%c%p5%c -- scroll (p2,p3) to (p4,p5) up by p1 lines
14856 # ^V^K%p1%c%p2%c%p3%c%p4%c%p5%c -- scroll (p2,p3) to (p4,p5) down by p1 lines
14857 # ^V^L%p1%c%p2%c%p3%c           -- clear p2 lines and p3 cols w/attr %p1 
14858 # ^V^M%p1%c%p2%c%p3%c%p4%c      -- fill p3 lines & p4 cols w/char p2+attr %p1 
14859 # (^V^L and ^V^M set the current attribute as a side-effect.)
14860 # ^V ^Y <a> [...] <c>   -- repeat pattern. <a> specifies the number of bytes
14861 #                          in the pattern, <c> the number of times the pattern
14862 #                          should be repeated. If either value is 0, no-op.
14863 #                          The pattern can contain Avatar console codes,
14864 #                          including other ^V ^Y patterns.
14865 #                               level 1:
14866 # ^V^O          -- clockwise mode on; turn print direction right each time you
14867 #                  hit a window edge (yes, really).  Turned off by CR
14868 # ^V^P          -- no-op
14869 # ^V^Q%c        -- query the driver
14870 # ^V^R          -- driver reset
14871 # ^V^S          -- Sound tone (PC-specific)
14872 # ^V^T                  -- change highlight at current cursor poition to %c
14873 # ^V^U%p1%c%p2%c        -- highlight window <a> with attribute <b>
14874 # ^V^V%p1%c%p2%c%p3%c%p4%c%p5%c
14875 #                       -- define window 
14877 # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
14878 # (The :mb:/:md:/:mr:/:as:/:us:/:so: capabilities exist only to
14879 # tell ncurses that the corresponding highlights exist; it should use :sa:,
14880 # which is the only method that will actually work for multiple highlights.)
14881 avatar0|avatar terminal emulator level 0:\
14882         :am:ms:ut:\
14883         :co#80:it#8:li#25:\
14884         :as=:ce=^V^G:cm=\026\010%.%.:cr=^M:do=^V^D:le=^V^E:\
14885         :mb=^A^V\177:md=^V^A^P:me=^V^A^G:mk=^V^A\0:mr=^A^Vp:\
14886         :nd=^V^F:r2=^L:rp=\031%.%d:\
14887         :..sa=\026\001%{0}%?%p1%t%{112}%|%;%?%p2%t%{1}%|%;%?%p3%t%{112}%|%;%?%p4%t{128}%|%;%?%p6%t%{16}%|%;:\
14888         :sf=^J:so=^A^Vp:up=^V^C:us=^V^A:\
14889         :tc=klone+acs:
14890 # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
14891 avatar0+|avatar terminal emulator level 0+:\
14892         :dc=^V^N:ei=\026\n\0\0\0\0:im=^V^I:tc=avatar0:
14893 # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
14894 avatar|avatar1|avatar terminal emulator level 1:\
14895         :RA=^V":SA=^V$:al=^V+:dl=^V-:ei=^V^P:ve=^V'^A:vi=^V'^B:\
14896         :vs=^V^C:\
14897         :tc=avatar0+:
14899 #### RBcomm
14901 # RBComm is a lean and mean terminal emulator written by the Interrupt List
14902 # maintainer, Ralf Brown. It was fairly popular in the late DOS years (early
14903 # '90s), especially in the BBS world, and still has some loyal users due to
14904 # its very small memory footprint and to a cute macro language.
14905 rbcomm|IBM PC with RBcomm and EMACS keybindings:\
14906         :am:bw:mi:ms:xn:\
14907         :co#80:it#8:li#25:\
14908         :AL=\E[%dL:DL=\E[%dM:al=^K:bl=^G:bt=\E[Z:cd=^F5:ce=^P^P:\
14909         :cl=^L:cm=\037%r%+ %+ :cr=^M:cs=\E[%i%d;%dr:dc=^W:dl=^Z:\
14910         :dm=:do=^C:ec=\E[%dX:ed=:ei=^]:im=^\:\
14911         :is=\017\035\E(B\E)0\E[?7h\E[?3l\E[>8g:kb=^H:kd=^N:\
14912         :ke=\E>:kh=^A:kl=^B:kr=^F:ks=\E=:ku=^P:le=^H:mb=\E[5m:\
14913         :md=\E[1m:me=\E[m:mk=\E[8m:mr=^R:nd=^B:nw=^M\ED:\
14914         :r1=\017\E(B\E)0\025\E[?3l\E[>8g:rc=\E8:rp=\030%.%.:\
14915         :sc=\E7:se=^U:sf=\ED:so=^R:sr=\EM:ta=^I:te=:ti=:ue=^U:up=^^:\
14916         :us=^T:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
14917 rbcomm-nam|IBM PC with RBcomm without autowrap:\
14918         :am@:\
14919         :bl=^G:cr=^M:do=^J:\
14920         :is=\017\035\E(B\E)0\E[?7l\E[?3l\E[>8g:kb=^H:kd=^J:\
14921         :kl=^H:nw=^M^J:sf=^J:ta=^I:\
14922         :tc=rbcomm:
14923 rbcomm-w|IBM PC with RBcomm in 132 column mode:\
14924         :co#132:\
14925         :bl=^G:cr=^M:do=^J:\
14926         :is=\017\035\E(B\E)0\E[?7h\E[?3h\E[>8g:kb=^H:kd=^J:\
14927         :kl=^H:nw=^M^J:sf=^J:ta=^I:\
14928         :tc=rbcomm:
14930 # CTRM terminal emulator
14931 # 1. underlining is not allowed with colors: first, is is simulated by 
14932 # black on white, second, it disables background color manipulations.
14933 # 2. BLINKING, REVERSE and BOLD are allowed with colors,
14934 # so we have to save their status in the static registers A, B and H
14935 # respectively, to be able to restore them when color changes
14936 # (because any color change turns off ALL attributes)
14937 # 3. :md: and :mr: sequences alternate modes,
14938 # rather then simply  entering them.  Thus we have to check the
14939 # static register B and H to determine the status, before sending the 
14940 # escape sequence.
14941 # 4. :me: now must set the status of all 3 register (A,B,H) to zero
14942 # and then reset colors
14943 # 5. implementation of the protect mode would badly penalize the performance.
14944 # we would have to use \E&bn sequence to turn off colors (as well as all
14945 # other attributes), and keep the status of protect mode in yet another
14946 # static variable.  If someone really needs this mode, they would have to
14947 # create another terminfo entry.
14948 # 6. original color-pair is white on black.
14949 # store the information about colors into static registers
14950 # 7. set foreground color.  it performs the following steps.
14951 #   1) turn off all attributes
14952 #   2) turn on the background and video attributes that have been turned
14953 #      on before (this information is stored in static registers X,Y,Z,A,B,H,D).
14954 #   3) turn on foreground attributes
14955 #   4) store information about foreground into U,V,W static registers
14956 # 8. turn on background: similar to turn on foreground above
14957 # (untranslatable capabilities removed to fit entry within 1023 bytes)
14958 ctrm|C terminal emulator:\
14959         :am:ut:xo:\
14960         :Co#8:NC#2:Nl#0:co#80:lh#0:li#24:lm#0:lw#0:pa#63:pb#19200:vt#6:\
14961         :al=\EL:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\EH\EJ:\
14962         :cm=\E&a%r%dc%dY:cr=^M:ct=\E3:cv=\E&a%dY:dc=\EP:dl=\EM:\
14963         :do=^J:ei=\ER:im=\EQ:ip=:is=\E&jA\r:k1=\Ep\r:k2=\Eq\r:\
14964         :k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:k7=\Ev\r:k8=\Ew\r:\
14965         :kb=^H:kd=\Ew\r:ke=\E&jA:kh=\Ep\r:kl=\Eu\r:kr=\Ev\r:\
14966         :ks=\E&jB:ku=\Et\r:le=^H:mb=\E&dA%{1}%PA:\
14967         :md=%?%gH%{0}%=%t\E&dH%{1}%PH%;:\
14968         :me=\E&d@%{0}%PA%{0}%PB%{0}%PH:\
14969         :mr=%?%gB%{0}%=%t\E&dB%{1}%PB%;:nd=\EC:\
14970         :op=\E&bn\E&bB\E&bG\E&bR%{0}%PX%{0}%PY%{0}%PZ%{1}%PW%{1}%PV%{1}%PU:\
14971         :sf=^J:so=\E&dD:st=\E1:ta=\011:up=\EA:us=\E&dD:
14973 # gs6300 - can't use blue foreground, it clashes with underline;
14974 # it's simulated with cyan
14975 # Bug: The <op> capability probably resets attributes.
14976 # (gs6300: commented out <rmln> (no <smln>) --esr)
14977 gs6300|emots|AT&T PC6300 with EMOTS terminal emulator:\
14978         :am:ms:ut:xo:\
14979         :Co#8:co#80:it#8:li#24:pa#63:\
14980         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
14981         :LE=\E[%dD:RI=\E[%dC:Sb=\E[?;%dm:\
14982         :..Sf=\E[?%?%p1%{0}%=%t0%e%p1%{1}%=%t2%e%p1%{1}%-%d%;m:\
14983         :UP=\E[%dA:\
14984         :ac=++\054\054--..``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
14985         :ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:cd=\E[J:ce=\E[K:\
14986         :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:\
14987         :ei=:ho=\E[H:ic=\E[@:im=:is=\E[m:k1=\E[0s:k2=\E[24s:\
14988         :k3=\E[1s:k4=\E[23s:k5=\E[2s:k6=\E[22s:k7=\E[3s:k8=\E[21s:\
14989         :kB=^R^I:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
14990         :le=^H:mb=\E[5m:md=\E[1m:me=\E[m\E[10m:mr=\E[7m:nd=\E[C:\
14991         :op=\E[?;m:pf=\E[4i:po=\E[5i:r1=\Ec:sf=^J:so=\E[1m:sr=\E[L:\
14992         :ta=^I:up=\E[A:us=\E[4m:
14994 # From: <earle@smeagol.UUCP> 29 Oct 85 05:40:18 GMT
14995 # MS-Kermit with Heath-19 emulation mode enabled
14996 # (h19k: changed ":pt@:" to ":it@"
14997 h19k|h19kermit|heathkit emulation provided by Kermit (no auto margin):\
14998         :am@:da:db:xt:\
14999         :it@:\
15000         :ta@:tc=h19-u:
15002 # Apple Macintosh with Versaterm, a terminal emulator distributed by Synergy
15003 # Software (formerly Peripherals Computers & Supplies, Inc) of
15004 # 2457 Perkiomen Ave., Reading, PA 19606, 1-800-876-8376.  They can
15005 # also be reached at support@synergy.com.
15006 versaterm|versaterm vt100 emulator for the macintosh:\
15007         :am:xn:\
15008         :co#80:it#8:li#24:\
15009         :al=9\E[1L:bl=^G:cd=50\E[J:ce=3\E[K:cl=50\E[;H\E[2J:\
15010         :cm=5\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:dc=7\E[1P:\
15011         :dl=9\E[1M:do=^J:ei=:ho=\E[H:ic=7\E[1@:im=:\
15012         :is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
15013         :kb=^H:kd=\EOB:ke=\E>\E[?1l:kl=\EOD:kr=\EOC:ks=\E=\E[?1h:\
15014         :ku=\EOA:le=^H:mb=2\E[5m:md=2\E[1m:me=2\E[m:mr=2\E[7m:\
15015         :nd=2\E[C:nw=^M^J:r1=\E>:rc=\E8:\
15016         :rf=/usr/share/tabset/vt100:sc=\E7:se=2\E[m:so=2\E[7m:\
15017         :sr=5\EM:ta=^I:ue=2\E[m:up=2\E[A:us=2\E[4m:
15019 # From: Rick Thomas <ihnp4!btlunix!rbt>
15020 # (xtalk: I added <rmam>/<smam> based on the init string.
15021 xtalk|IBM PC with xtalk communication program (versions up to 3.4):\
15022         :am:mi:ms:xo:\
15023         :co#80:it#8:li#24:sg#1:vt#3:\
15024         :@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
15025         :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
15026         :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
15027         :ae=^O:al=\E[L:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
15028         :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:dl=\E[M:do=^J:\
15029         :eA=\E(B\E)0:ho=\E[H:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:\
15030         :k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:\
15031         :kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
15032         :ku=\EOA:le=^H:me=\E[m:nd=\E[C:\
15033         :r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:se=\E[m :sf=^J:\
15034         :so=\E[7m :sr=\EM:st=\EH:ta=^I:up=\E[A:
15036 # The official PC terminal emulator program of the AT&T Product Centers.
15037 # Note - insert mode commented out - doesn't seem to work on AT&T PC.
15038 simterm|attpc running simterm:\
15039         :am:\
15040         :co#80:li#24:\
15041         :al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\E=%+ %+ :cr=^M:\
15042         :dc=\ER:dl=\EM:do=\EB:ho=\EH:le=^H:me=\E&d@:nd=\EC:se=\E&d@:\
15043         :sf=^J:so=\E&dB:te=\EVE:ti=\EVS:up=\EA:
15045 #### Miscellaneous obsolete terminals, manufacturers unknown
15047 # If you have any information about these (like, a manufacturer's name, 
15048 # and a date on the serial-number plate) please send it!
15050 cad68-3|cgc3|cad68 basic monitor transparent mode size 3 chars:\
15051         :am:bs:\
15052         :co#73:li#36:\
15053         :cl=^Z:ho=^^:le=^H:nd=^L:up=^K:
15054 cad68-2|cgc2|cad68 basic monitor transparent mode size 2 chars:\
15055         :am:bs:\
15056         :co#85:li#39:\
15057         :cl=^Z:ho=^^:k1=\E5:k2=\E6:k3=\E7:k4=\E8:kd=\E2:kl=\E3:\
15058         :kr=\E4:ku=\E1:le=^H:nd=^L:se=\Em^C:so=\Em^L:up=^K:
15059 cops10|cops|cops-10|cops 10:\
15060         :am:bw:\
15061         :co#80:li#24:\
15062         :bl=^G:cd=^W:ce=^V:cl=30\030:cm=\020%+ %+ :cr=^M:do=^J:\
15063         :kb=^H:kd=^J:kh=^Y:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:sf=^J:up=^K:
15064 # (d132: removed duplicate :ic=\E5:,
15065 # merged in capabilities from a BRL entry -- esr)
15066 d132|datagraphix|datagraphix 132a:\
15067         :da:db:in:\
15068         :co#80:li#30:\
15069         :al=\E3:bl=^G:cl=^L:cm=\E8%i%3%3:cr=^M:dc=\E6:do=^J:ei=:\
15070         :ho=\ET:ic=\E5:im=:kb=^H:kd=^J:kl=^H:le=^H:nd=\EL:nw=^M^J:\
15071         :sf=^J:sr=\Ew:ta=^I:up=\EK:ve=\Em\En:vs=\Ex:
15072 # The d800 was an early portable terminal from c.1984-85 that looked a lot
15073 # like the original Compaq `lunchbox' portable (but no handle).  It had a vt220
15074 # mode (which is what this entry looks like) and several other lesser-known
15075 # emulations.
15076 d800|Direct 800/A:\
15077         :am:bs:da:db:ms:xs:\
15078         :co#80:it#8:li#24:\
15079         :ac=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~:\
15080         :ae=\E[m:as=\E[1m:bl=^G:cd=\E[J:ce=\E[K:cl=\E[1;1H\E[2J:\
15081         :cm=\E[%i%d;%dH:cr=^M:do=^J:k1=\EOP:k2=\EOQ:k3=\EOR:\
15082         :k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:kd=\E[B:kl=\E[D:\
15083         :kr=\E[C:ku=\E[A:le=^H:me=\E[m:nd=\E[C:se=\E[m:sf=\ED:\
15084         :so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[>12h:\
15085         :vs=\E[>12l:
15086 digilog|digilog 333:\
15087         :bs:\
15088         :co#80:li#16:\
15089         :bl=^G:ce=^X:cr=^M:do=^J:ho=^N:le=^H:nd=^I:sf=^J:up=^O:
15090 # The DWK was a terminal manufactured in the Soviet Union c.1986
15091 dwk|dwk-vt|dwk terminal:\
15092         :am:\
15093         :co#80:it#8:li#24:\
15094         :ac=+\136\054Q-S.M0\177`+a\072f'g#h#i#jXkClJmFnNo~qUs_tEuPv\wKxW~_:\
15095         :ae=\EG:as=\EF:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :\
15096         :cr=^M:dc=\EP:do=^J:ei=:ho=\EH:ic=\EQ:im=:k1=\Ef1:k2=\Ef2:\
15097         :k3=\Ef3:k4=\Ef4:k5=\Ef5:k6=\Ef6:k7=\Ef7:k8=\Ef8:k9=\Ef9:\
15098         :k;=\Ef0:kD=\Ee:kI=\Ed:kN=\Eh:kP=\Eg:kb=\177:kd=\EB:kl=\ED:\
15099         :kr=\EC:ku=\EA:le=^H:me=\EX:mr=\ET:nd=\EC:nw=^M^J:se=\EX:\
15100         :sf=^J:so=\ET:sr=\ES:ta=^I:up=\EA:
15101 env230|envision230|envision 230 graphics terminal:\
15102         :xn@:\
15103         :pf=\E[4i:po=\E[5i:ps=\E[0i:\
15104         :..sa=\E[%?%p1%t;1%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m:tc=vt100:
15105 # These execuports were impact-printer ttys with a 30- or maybe 15-cps acoustic
15106 # coupler attached, the whole rig fitting in a suitcase and more or less
15107 # portable.  Hot stuff for c.1977 :-) -- esr
15108 ep48|ep4080|execuport 4080:\
15109         :am:bs:os:\
15110         :co#80:\
15111         :bl=^G:cr=^M:do=^J:hd=^\:hu=^^:le=^H:sf=^J:
15112 ep40|ep4000|execuport 4000:\
15113         :co#136:tc=ep4080:
15114 # Adam Thompson <athompso@pangea.ca> tells us:
15115 # Informer series - these are all portable units, resembling older
15116 # automatic bread-baking machines.  The terminal looks like a `clamshell'
15117 # design, but isn't.  The structure is similar to the Direct terminals,
15118 # but only half the width.  The entire unit is only about 10" wide.
15119 # It features an 8" screen (6" or 7" if you have color!), and an 9"x6"
15120 # keyboard.  All the keys are crammed together, much like some laptop
15121 # PCs today, but perhaps less well organized...all these units have a
15122 # bewildering array of plugs on the back, including a built-in modem.
15123 # The 305 was a color version of the 304; the 306 and 307 were mono and
15124 # color terminals built for IBM bisync protocols.
15125 # From: Paul Leondis <unllab@amber.berkeley.edu>
15126 ifmr|Informer D304:\
15127         :am:bs:\
15128         :co#80:li#24:\
15129         :cd=\E/:ce=\EQ:cl=\EZ:cm=\EY%r%+ %+ :dc=\E\:do=^J:ei=:\
15130         :ho=\EH:ic=\E[:im=:le=^H:me=\EK:nd=\EC:se=\EK:so=\EJ:sr=\En:\
15131         :up=\EA:
15132 # Entry largely based on wy60 and has the features of wy60ak.
15133 # (untranslatable capabilities removed to fit entry within 1023 bytes)
15134 # (sgr removed to fit entry within 1023 bytes)
15135 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
15136 opus3n1+|Esprit Opus3n1+ in wy60 mode with ANSI arrow keys:\
15137         :am:bw:hs:km:mi:ms:ul:xo:\
15138         :co#80:li#24:ws#80:\
15139         :ae=\EH^C:al=\EE:as=\EH^B:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E*:\
15140         :cm=\Ea%i%dR%dC:cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\Ez(\r:\
15141         :ei=\Er:fs=^M:ho=\036:if=/usr/share/tabset/std:im=\Eq:ip=:\
15142         :is=\E`\072\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:\
15143         :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
15144         :k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\EQ:kN=\EK:kP=\EJ:\
15145         :kb=^H:kd=\E[B:kh=^^:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\EG2:\
15146         :me=\E(\EH\003\EG0\EcD:mh=\EGp:nd=^L:nw=\r\n:sf=^J:sr=\Ej:\
15147         :st=\E1:ta=\011:te=:\
15148         :ti=\Ezz&\E[A\177\Ezz'\E[B\177\Ezz(\E[D\177\Ezz)\E[C\177\Ezz<\E[Q\177:\
15149         :ts=\Ez(:uc=\EG8%p1%c\EG0:up=^K:ve=\E`1:vi=\E`0:\
15150         :tc=adm+sgr:
15151 teletec|Teletec Datascreen:\
15152         :am:bs:\
15153         :co#80:li#24:\
15154         :bl=^G:cl=^L:cr=^M:do=^J:ho=^^:le=^H:nd=^_:sf=^J:up=^K:
15155 # From: Mark Dornfeld <romwa@ucbvax.berkeley.edu>
15156 # This description is for the LANPAR Technologies VISION 3220
15157 # terminal from 1984/85.  The function key definitions k0-k5 represent the
15158 # edit keypad: FIND, INSERT HERE, REMOVE, SELECT, PREV SCREEN,
15159 # NEXT SCREEN. The key definitions k6-k9 represent the PF1 to PF4 keys.
15161 # Kenneth Randell <kenr@datametrics.com> writes on 31 Dec 1998:
15162 # I had a couple of scopes (3221) like this once where I used to work, around
15163 # the 1987 time frame if memory serves me correctly.  These scopes were made  
15164 # by an outfit called LANPAR Technologies, and were meant to me DEC VT 220
15165 # compatible.  The 3220 was a plain text terminal like the VT-220, the 3221
15166 # was a like the VT-240 (monochrome with Regis + Sixel graphics), and the 3222
15167 # was like the VT-241 (color with Regis + Sixel Graphics).  These terminals
15168 # (3221) cost about $1500 each, and one was always broken -- had to be sent
15169 # back to the shop for repairs.
15170 # The only real advantage these scopes had over the VT-240's were:
15171 # 1) They were faster in the Regis display, or at least the ones I did
15172 # 2) They had a handy debugging feature where you could split-screen the
15173 # scope, the graphics would appear on the top, and the REGIS commands would
15174 # appear on the bottom.  I don't remember the VT-240s being able to do that.
15175 # I would swear that LANPAR Technologies was in MA someplace, but since I
15176 # don't work at the same place anymore, and those terminals and manuals were
15177 # long since junked, I cannot be any more sure than that.
15179 # (v3220: removed obsolete ":kn#10:",
15180 # I added <rmam>/<smam> based on the init string -- esr)
15181 v3220|LANPAR Vision II model 3220/3221/3222:\
15182         :am:bs:mi:xn:\
15183         :co#80:it#8:li#24:\
15184         :RA=\E[?7l:SA=\E[?7h:al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
15185         :cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:ei=\E[4l:im=\E[4h:\
15186         :is=\E>\E[?3l\E[?7h\E[?8h\E[p:k0=\E[1~:k1=\E[2~:\
15187         :k2=\E[3~:k3=\E[4~:k4=\E[5~:k5=\E[6~:k6=\E[OP:k7=\E[OQ:\
15188         :k8=\E[OR:k9=\E[OS:kd=\E[B:ke=\E>:kh=\E[H:kl=\E[D:kr=\E[C:\
15189         :ks=\E=:ku=\E[A:le=^H:me=\E[m:nd=\E[C:se=\E[m:so=\E[7m:\
15190         :sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
15191 ######## ICH/ICH1 VERSUS RMIR/SMIR
15193 # Some non-curses applications get confused if both ich/ich1 and rmir/smir
15194 # are present; the symptom is doubled characters in an update using insert.
15195 # These applications are technically correct; in both 4.3BSD termcap and
15196 # terminfo, you're not actually supposed to specify both ich/ich1 and rmir/smir
15197 # unless the terminal needs both.  To my knowledge, no terminal still in this
15198 # file requires both other than the very obsolete dm2500.
15200 # For ncurses-based applications this is not a problem, as ncurses uses
15201 # one or the other as appropriate but never mixes the two.  Therefore we
15202 # have not corrected entries like `linux' and `xterm' that specify both.
15203 # If you see doubled characters from these, use the linux-nic and xterm-nic
15204 # entries that suppress ich/ich1.  And upgrade to ncurses!
15207 ######## VT100/ANSI/ISO 6429/ECMA-48/PC-TERM TERMINAL STANDARDS
15209 # ANSI X3.64 has been withdrawn and replaced by ECMA-48.  The ISO 6429 and
15210 # ECMA-48 standards are said to be almost identical, but are not the same
15211 # as X3.64 (though for practical purposes they are close supersets of it).
15213 # You can obtain ECMA-48 for free by sending email to helpdesk@ecma.ch
15214 # requesting the standard(s) you want (i.e. ECMA-48, "Control Functions for
15215 # Coded Character Sets"), include your snail-mail address, and you should
15216 # receive the document in due course.  Don't expect an email acknowledgement.
15218 # Related standards include "X3.4-1977: American National Standard Code for
15219 # Information Interchange" (the ASCII standard) and "X3.41.1974: 
15220 # Code-Extension Techniques for Use with the 7-Bit Coded Character Set of
15221 # American National Standard for Information Interchange."  I believe (but
15222 # am not certain) that these are effectively identical to ECMA-6 and ECMA-35
15223 # respectively. 
15226 #### VT100/ANSI/ECMA-48
15228 # ANSI Standard (X3.64) Control Sequences for Video Terminals and Peripherals
15229 # and ECMA-48 Control Functions for Coded Character Sets.
15231 # Much of the content of this comment is adapted from a table prepared by
15232 # Richard Shuford, based on a 1984 Byte article.  Terminfo correspondences,
15233 # discussion of some terminfo-related issues, and updates to capture ECMA-48
15234 # have been added.  Control functions described in ECMA-48 only are tagged
15235 # with * after their names.
15237 # The table is a complete list of the defined ANSI X3.64/ECMA-48 control
15238 # sequences.  In the main table, \E stands for an escape (\033) character,
15239 # SPC for space.  Pn stands for a single numeric parameter to be inserted
15240 # in decimal ASCII.  Ps stands for a list of such parameters separated by
15241 # semicolons.  Parameter meanings for most parametrized sequences are
15242 # decribed in the notes.
15244 # Sequence     Sequence                             Parameter   or
15245 # Mnemonic     Name              Sequence           Value      Mode   terminfo
15246 # -----------------------------------------------------------------------------
15247 # APC  Applicatn Program Command \E _                -         Delim  -
15248 # BEL  Bell *                    ^G                  -         -      bel
15249 # BPH  Break Permitted Here *    \E B                -         *      -
15250 # BS   Backpace *                ^H                  -         EF     -
15251 # CAN  Cancel *                  ^X                  -         -      -   (A)
15252 # CBT  Cursor Backward Tab       \E [ Pn Z           1         eF     cbt
15253 # CCH  Cancel Previous Character \E T                -         -      -
15254 # CHA  Cursor Horizntal Absolute \E [ Pn G           1         eF     hpa (B)
15255 # CHT  Cursor Horizontal Tab     \E [ Pn I           1         eF     tab (C)
15256 # CMD  Coding Method Delimiter * \E
15257 # CNL  Cursor Next Line          \E [ Pn E           1         eF     nel (D)
15258 # CPL  Cursor Preceding Line     \E [ Pn F           1         eF     -
15259 # CPR  Cursor Position Report    \E [ Pn ; Pn R      1, 1      -      -   (E)
15260 # CSI  Control Sequence Intro    \E [                -         Intro  -
15261 # CTC  Cursor Tabulation Control \E [ Ps W           0         eF     -   (F)
15262 # CUB  Cursor Backward           \E [ Pn D           1         eF     cub
15263 # CUD  Cursor Down               \E [ Pn B           1         eF     cud
15264 # CUF  Cursor Forward            \E [ Pn C           1         eF     cuf
15265 # CUP  Cursor Position           \E [ Pn ; Pn H      1, 1      eF     cup (G)
15266 # CUU  Cursor Up                 \E [ Pn A           1         eF     cuu
15267 # CVT  Cursor Vertical Tab       \E [ Pn Y           -         eF     -   (H)
15268 # DA   Device Attributes         \E [ Pn c           0         -      -
15269 # DAQ  Define Area Qualification \E [ Ps o           0         -      -
15270 # DCH  Delete Character          \E [ Pn P           1         eF     dch
15271 # DCS  Device Control String     \E P                -         Delim  -
15272 # DL   Delete Line               \E [ Pn M           1         eF     dl
15273 # DLE  Data Link Escape *        ^P                  -         -      -
15274 # DMI  Disable Manual Input      \E \                -         Fs     -
15275 # DSR  Device Status Report      \E [ Ps n           0         -      -   (I)
15276 # DTA  Dimension Text Area *     \E [ Pn ; Pn SPC T  -         PC     -
15277 # EA   Erase in Area             \E [ Ps O           0         eF     -   (J)
15278 # ECH  Erase Character           \E [ Pn X           1         eF     ech
15279 # ED   Erase in Display          \E [ Ps J           0         eF     ed  (J)
15280 # EF   Erase in Field            \E [ Ps N           0         eF     -
15281 # EL   Erase in Line             \E [ Ps K           0         eF     el  (J)
15282 # EM   End of Medium *           ^Y                  -         -      -
15283 # EMI  Enable Manual Input       \E b                          Fs     -
15284 # ENQ  Enquire                   ^E                  -         -      -
15285 # EOT  End Of Transmission       ^D                  -         *      -
15286 # EPA  End of Protected Area     \E W                -         -      -   (K)
15287 # ESA  End of Selected Area      \E G                -         -      -
15288 # ESC  Escape                    ^[                  -         -      -
15289 # ETB  End Transmission Block    ^W                  -         -      -
15290 # ETX  End of Text               ^C                  -         -      -
15291 # FF   Form Feed                 ^L                  -         -      -
15292 # FNK  Function Key *            \E [ Pn SPC W       -         -      -
15293 # GCC  Graphic Char Combination* \E [ Pn ; Pn SPC B  -         -      -
15294 # FNT  Font Selection            \E [ Pn ; Pn SPC D  0, 0      FE     -
15295 # GSM  Graphic Size Modify       \E [ Pn ; Pn SPC B  100, 100  FE     -   (L)
15296 # GSS  Graphic Size Selection    \E [ Pn SPC C       none      FE     -
15297 # HPA  Horz Position Absolute    \E [ Pn `           1         FE     -   (B)
15298 # HPB  Char Position Backward    \E [ j              1         FE     -
15299 # HPR  Horz Position Relative    \E [ Pn a           1         FE     -   (M)
15300 # HT   Horizontal Tab *          ^I                  -         FE     -   (N)
15301 # HTJ  Horz Tab w/Justification  \E I                -         FE     -
15302 # HTS  Horizontal Tab Set        \E H                -         FE     hts
15303 # HVP  Horz & Vertical Position  \E [ Pn ; Pn f      1, 1      FE     -   (G)
15304 # ICH  Insert Character          \E [ Pn @           1         eF     ich
15305 # IDCS ID Device Control String  \E [ SPC O          -         *      -
15306 # IGS  ID Graphic Subrepertoire  \E [ SPC M          -         *      -
15307 # IL   Insert Line               \E [ Pn L           1         eF     il
15308 # IND  Index                     \E D                -         FE     -
15309 # INT  Interrupt                 \E a                -         Fs     -
15310 # JFY  Justify                   \E [ Ps SPC F       0         FE     -
15311 # IS1  Info Separator #1 *       ^_                  -         *      -
15312 # IS2  Info Separator #1 *       ^^                  -         *      -
15313 # IS3  Info Separator #1 *       ^]                  -         *      -
15314 # IS4  Info Separator #1 *       ^\                  -         *      -
15315 # LF   Line Feed                 ^J                  -         -      -
15316 # LS1R Locking Shift Right 1 *   \E ~                -         -      -
15317 # LS2  Locking Shift 2 *         \E n                -         -      -
15318 # LS2R Locking Shift Right 2 *   \E }                -         -      -
15319 # LS3  Locking Shift 3 *         \E o                -         -      -
15320 # LS3R Locking Shift Right 3 *   \E |                -         -      -
15321 # MC   Media Copy                \E [ Ps i           0         -      -   (S)
15322 # MW   Message Waiting           \E U                -         -      -
15323 # NAK  Negative Acknowledge *    ^U                  -         *      -
15324 # NBH  No Break Here *           \E C                -         -      -
15325 # NEL  Next Line                 \E E                -         FE     nel (D)
15326 # NP   Next Page                 \E [ Pn U           1         eF     -
15327 # NUL  Null *                    ^@                  -         -      -
15328 # OSC  Operating System Command  \E ]                -         Delim  -
15329 # PEC  Pres. Expand/Contract *   \E Pn SPC Z         0         -      -
15330 # PFS  Page Format Selection *   \E Pn SPC J         0         -      -
15331 # PLD  Partial Line Down         \E K                -         FE     -   (T)
15332 # PLU  Partial Line Up           \E L                -         FE     -   (U)
15333 # PM   Privacy Message           \E ^                -         Delim  -
15334 # PP   Preceding Page            \E [ Pn V           1         eF     -
15335 # PPA  Page Position Absolute *  \E [ Pn SPC P       1         FE     -
15336 # PPB  Page Position Backward *  \E [ Pn SPC R       1         FE     -
15337 # PPR  Page Position Forward *   \E [ Pn SPC Q       1         FE     -
15338 # PTX  Parallel Texts *          \E [ \              -         -      -
15339 # PU1  Private Use 1             \E Q                -         -      -
15340 # PU2  Private Use 2             \E R                -         -      -
15341 # QUAD Typographic Quadding      \E [ Ps SPC H       0         FE     -
15342 # REP  Repeat Char or Control    \E [ Pn b           1         -      rep
15343 # RI   Reverse Index             \E M                -         FE     -   (V)
15344 # RIS  Reset to Initial State    \E c                -         Fs     -
15345 # RM   Reset Mode *              \E [ Ps l           -         -      -   (W)
15346 # SACS Set Add. Char. Sep. *     \E [ Pn SPC /       0         -      -
15347 # SAPV Sel. Alt. Present. Var. * \E [ Ps SPC ]       0         -      -   (X)
15348 # SCI  Single-Char Introducer    \E Z                -         -      -
15349 # SCO  Sel. Char. Orientation *  \E [ Pn ; Pn SPC k  -         -      -
15350 # SCS  Set Char. Spacing *       \E [ Pn SPC g       -         -      -
15351 # SD   Scroll Down               \E [ Pn T           1         eF     rin
15352 # SDS  Start Directed String *   \E [ Pn ]           1         -      -
15353 # SEE  Select Editing Extent     \E [ Ps Q           0         -      -   (Y)
15354 # SEF  Sheet Eject & Feed *      \E [ Ps ; Ps SPC Y  0,0       -      -
15355 # SGR  Select Graphic Rendition  \E [ Ps m           0         FE     sgr (O)
15356 # SHS  Select Char. Spacing *    \E [ Ps SPC K       0         -      -
15357 # SI   Shift In                  ^O                  -         -      -   (P)
15358 # SIMD Sel. Imp. Move Direct. *  \E [ Ps ^           -         -      -
15359 # SL   Scroll Left               \E [ Pn SPC @       1         eF     -
15360 # SLH  Set Line Home *           \E [ Pn SPC U       -         -      -
15361 # SLL  Set Line Limit *          \E [ Pn SPC V       -         -      -
15362 # SLS  Set Line Spacing *        \E [ Pn SPC h       -         -      -
15363 # SM   Select Mode               \E [ Ps h           none      -      -   (W)
15364 # SO   Shift Out                 ^N                  -         -      -   (Q)
15365 # SOH  Start Of Heading *        ^A                  -         -      -
15366 # SOS  Start of String *         \E X                -         -      -
15367 # SPA  Start of Protected Area   \E V                -         -      -   (Z)
15368 # SPD  Select Pres. Direction *  \E [ Ps ; Ps SPC S  0,0       -      -
15369 # SPH  Set Page Home *           \E [ Ps SPC G       -         -      -
15370 # SPI  Spacing Increment         \E [ Pn ; Pn SPC G  none      FE     -
15371 # SPL  Set Page Limit *          \E [ Ps SPC j       -         -      -
15372 # SPQR Set Pr. Qual. & Rapid. *  \E [ Ps SPC X       0         -      -
15373 # SR   Scroll Right              \E [ Pn SPC A       1         eF     -
15374 # SRCS Set Reduced Char. Sep. *  \E [ Pn SPC f       0         -      -
15375 # SRS  Start Reversed String *   \E [ Ps [           0         -      -
15376 # SSA  Start of Selected Area    \E F                -         -      -
15377 # SSU  Select Size Unit *        \E [ Pn SPC I       0         -      -
15378 # SSW  Set Space Width *         \E [ Pn SPC [       none      -      -
15379 # SS2  Single Shift 2 (G2 set)   \E N                -         Intro  -
15380 # SS3  Single Shift 3 (G3 set)   \E O                -         Intro  -
15381 # ST   String Terminator         \E \                -         Delim  -
15382 # STAB Selective Tabulation *    \E [ Pn SPC ^       -         -      -
15383 # STS  Set Transmit State        \E S                -         -      -
15384 # STX  Start pf Text *           ^B                  -         -      -
15385 # SU   Scroll Up                 \E [ Pn S           1         eF     indn
15386 # SUB  Substitute *              ^Z                  -         -      -
15387 # SVS  Select Line Spacing *     \E [ Pn SPC \       1         -      -
15388 # SYN  Synchronous Idle *        ^F                  -         -      -
15389 # TAC  Tabul. Aligned Centered * \E [ Pn SPC b       -         -      -
15390 # TALE Tabul. Al. Leading Edge * \E [ Pn SPC a       -         -      -
15391 # TATE Tabul. Al. Trailing Edge* \E [ Pn SPC `       -         -      -
15392 # TBC  Tab Clear                 \E [ Ps g           0         FE     tbc
15393 # TCC  Tabul. Centered on Char * \E [ Pn SPC c       -         -      -
15394 # TSR  Tabulation Stop Remove  * \E [ Pn SPC d       -         FE     -
15395 # TSS  Thin Space Specification  \E [ Pn SC E        none      FE     -
15396 # VPA  Vert. Position Absolute   \E [ Pn d           1         FE     vpa
15397 # VPB  Line Position Backward *  \E [ Pn k           1         FE     -
15398 # VPR  Vert. Position Relative   \E [ Pn e           1         FE     -   (R)
15399 # VT   Vertical Tabulation *     ^K                  -         FE     -
15400 # VTS  Vertical Tabulation Set   \E J                -         FE     -
15402 # ---------------------------------------------------------------------------
15404 # Notes:
15406 # Some control characters are listed in the ECMA-48 standard without 
15407 # being assigned functions relevant to terminal control there (they 
15408 # referred to other standards such as ISO 1745 or ECMA-35).  They are listed
15409 # here anyway for completeness.
15411 # (A) ECMA-48 calls this "CancelCharacter" but retains the CCH abbreviation.
15413 # (B) There seems to be some confusion abroad between CHA and HPA.  Most
15414 # `ANSI' terminals accept the CHA sequence, not the HPA. but terminfo calls
15415 # the capability (hpa).  ECMA-48 calls this "Cursor Character Absolute" but
15416 # preserved the CHA abbreviation.
15418 # (C) CHT corresponds to terminfo (tab).  Usually it has the value ^I.
15419 # Occasionally (as on, for example, certain HP terminals) this has the HTJ
15420 # value.  ECMA-48 calls this "Cursor Forward Tabulation" but preserved the
15421 # CHT abbreviation.
15423 # (D) terminfo (nel) is usually \r\n rather than ANSI \EE.
15425 # (E) ECMA-48 calls this "Active Position Report" but preserves the CPR 
15426 # abbreviation.
15428 # (F) CTC parameter values: 0 = set char tab, 1 = set line tab, 2 = clear
15429 # char tab, 3 = clear line tab, 4 = clear all char tabs on current line, 
15430 # 5 = clear all char tabs, 6 = clear all line tabs.
15432 # (G) CUP and HVP are identical in effect.  Some ANSI.SYS versions accept
15433 # HVP, but always allow CUP as an alternate.  ECMA-48 calls HVP "Character
15434 # Position Absolute" but retains the HVP abbreviation.
15436 # (H) ECMA calls this "Cursor Line Tabulation" but preserves the CVT
15437 # abbreviation.
15439 # (I) DSR parameter values: 0 = ready, 1 = busy, 2 = busy, will send DSR
15440 # later, 3 = malfunction, 4 = malfunction, will send DSR later, 5 = request
15441 # DSR, 6 = request CPR response.
15443 # (J) ECMA calls ED "Erase In Page". EA/ED/EL parameters: 0 = clear to end,
15444 # 1 = clear from beginning, 2 = clear.
15446 # (K) ECMA calls this "End of Guarded Area" but preserves the EPA abbreviation.
15448 # (L) The GSM parameters are vertical and horizontal parameters to scale by.
15450 # (M) Some ANSI.SYS versions accept HPR, but more commonly `ANSI' terminals
15451 # use CUF for this function and ignore HPR.  ECMA-48 calls this "Character
15452 # Position Relative" but retains the HPR abbreviation.
15454 # (N) ECMA-48 calls this "Character Tabulation" but retains the HT
15455 # abbreviation.
15457 # (O) SGR parameter values: 0 = default mode (attributes off), 1 = bold,
15458 # 2 = dim, 3 = italicized, 4 = underlined, 5 = slow blink, 6 = fast blink,
15459 # 7 = reverse video, 8 = invisible, 9 = crossed-out (marked for deletion),
15460 # 10 = primary font, 10 + n (n in 1..9) = nth alternative font, 20 = Fraktur,
15461 # 21 = double underline, 22 = turn off 2, 23 = turn off 3, 24 = turn off 4,
15462 # 25 = turn off 5, 26 = proportional spacing, 27 = turn off 7, 28 = turn off
15463 # 8, 29 = turn off 9, 30 = black fg, 31 = red fg, 32 = green fg, 33 = yellow
15464 # fg, 34 = blue fg, 35 = magenta fg, 36 = cyan fg, 37 = white fg, 38 = set
15465 # fg color as in CCIT T.416, 39 = set default fg color, 40 = black bg
15466 # 41 = red bg, 42 = green bg, 43 = yellow bg, 44 = blue bg, 45 = magenta bg,
15467 # 46 = cyan bg, 47 = white bg, 48 = set bg color as in CCIT T.416, 39 = set
15468 # default bg color, 50 = turn off 26, 51 = framed, 52 = encircled, 53 =
15469 # overlined, 54 = turn off 51 & 52, 55 = not overlined, 56-59 = reserved,
15470 # 61-65 = variable highlights for ideograms.
15472 # (P) SI is also called LSO, Locking Shift Zero.
15474 # (Q) SI is also called LS1, Locking Shift One.
15476 # (R) Some ANSI.SYS versions accept VPR, but more commonly `ANSI' terminals
15477 # use CUD for this function and ignore VPR.  ECMA calls it `Line Position
15478 # Absolute' but retains the VPA abbreviation.
15480 # (S) MC parameters: 0 = start xfer to primary aux device, 1 = start xfer from
15481 # primary aux device, 2 = start xfer to secondary aux device, 3 = start xfer
15482 # from secondary aux device, 4 = stop relay to primary aux device, 5 = 
15483 # start relay to primary aux device, 6 = stop relay to secondary aux device,
15484 # 7 = start relay to secondary aux device.
15486 # (T) ECMA-48 calls this "Partial Line Forward" but retains the PLD
15487 # abbreviation.
15489 # (U) ECMA-48 calls this "Partial Line Backward" but retains the PLD
15490 # abbreviation.
15492 # (V) ECMA-48 calls this "Reverse Line Feed" but retains the RI abbreviation.
15494 # (W) RM/SM modes are as follows: 1 = Guarder Area Transfer Mode (GATM), 
15495 # 2 = Keyboard Action Mode (KAM), 3 = Control Representation Mode (CRM), 
15496 # 4 = Insertion Replacement Mode, 5 = Status Report Transfer Mode (SRTM),
15497 # 6 = Erasure Mode (ERM), 7 = Line Editing Mode (LEM), 8 = Bi-Directional
15498 # Support Mode (BDSM), 9 = Device Component Select Mode (DCSM), 
15499 # 10 = Character Editing Mode (HEM), 11 = Positioning Unit Mode (PUM),
15500 # 12 = Send/Receive Mode, 13 = Format Effector Action Mode (FEAM), 
15501 # 14 = Format Effector Transfer Mode (FETM), 15 = Multiple Area Transfer
15502 # Mode (MATM), 16 = Transfer Termination Mode, 17 = Selected Area Transfer
15503 # Mode, 18 = Tabulation Stop Mode, 19 = Editing Boundary Mode, 20 = Line Feed
15504 # New Line Mode (LF/NL), Graphic Rendition Combination Mode (GRCM), 22 =
15505 # Zero Default Mode (ZDM).  The EBM and LF/NL modes have actually been removed
15506 # from ECMA-48's 5th edition but are listed here for reference.
15508 # (X) Select Alternate Presentation Variants is used only for non-Latin
15509 # alphabets.
15511 # (Y) "Select Editing Extent" (SEE) was ANSI "Select Edit Extent Mode" (SEM).
15513 # (Z) ECMA-48 calls this "Start of Guarded Area" but retains the SPA
15514 # abbreviation.
15516 # ---------------------------------------------------------------------------
15518 # Abbreviations:
15520 # Intro  an Introducer of some kind of defined sequence; the normal 7-bit
15521 #        X3.64 Control Sequence Introducer is the two characters "Escape ["
15523 # Delim  a Delimiter
15525 # x/y    identifies a character by position in the ASCII table (column/row)
15527 # eF     editor function (see explanation)
15529 # FE     format effector (see explanation)
15531 # F      is a Final character in
15532 #             an Escape sequence (F from 3/0 to 7/14 in the ASCII table)
15533 #             a control sequence (F from 4/0 to 7/14)
15535 # Gs     is a graphic character appearing in strings (Gs ranges from
15536 #        2/0 to 7/14) in the ASCII table
15538 # Ce     is a control represented as a single bit combination in the C1 set
15539 #        of controls in an 8-bit character set
15541 # C0     the familiar set of 7-bit ASCII control characters
15543 # C1     roughly, the set of control chars available only in 8-bit systems.
15544 #        This is too complicated to explain fully here, so read Jim Fleming's
15545 #        article in the February 1983 BYTE, especially pages 214 through 224.
15547 # Fe     is a Final character of a 2-character Escape sequence that has an
15548 #        equivalent representation in an 8-bit environment as a Ce-type
15549 #        (Fe ranges from 4/0 to 5/15)
15551 # Fs     is a Final character of a 2-character Escape sequence that is
15552 #        standardized internationally with identical representation in 7-bit
15553 #        and 8-bit environments and is independent of the currently
15554 #        designated C0 and C1 control sets (Fs ranges from 6/0 to 7/14)
15556 # I      is an Intermediate character from 2/0 to 2/15 (inclusive) in the
15557 #        ASCII table
15559 # P      is a parameter character from 3/0 to 3/15 (inclusive) in the ASCII
15560 #        table
15562 # Pn     is a numeric parameter in a control sequence, a string of zero or
15563 #        more characters ranging from 3/0 to 3/9 in the ASCII table
15565 # Ps     is a variable number of selective parameters in a control sequence
15566 #        with each selective parameter separated from the other by the code
15567 #        3/11 (which usually represents a semicolon); Ps ranges from
15568 #        3/0 to 3/9 and includes 3/11
15570 # *      Not relevant to terminal control, listed for completeness only.
15572 # Format Effectors versus Editor Functions
15574 # A format effector specifies how following output is to be displayed.
15575 # An editor function allows you to modify the display.  Informally
15576 # format effectors may be destructive; format effectors should not be.
15578 # For instance, a format effector that moves the "active position" (the 
15579 # cursor or equivalent) one space to the left would be useful when you want to
15580 # create an overstrike, a compound character made of two standard characters
15581 # overlaid. Control-H, the Backspace character, is actually supposed to be a
15582 # format effector, so you can do this. But many systems use it in a
15583 # nonstandard fashion, as an editor function, deleting the character to the
15584 # left of the cursor and moving the cursor left. When Control-H is assumed to
15585 # be an editor function, you cannot predict whether its use will create an
15586 # overstrike unless you also know whether the output device is in an "insert
15587 # mode" or an "overwrite mode". When Control-H is used as a format effector,
15588 # its effect can always be predicted. The familiar characters carriage
15589 # return, linefeed, formfeed, etc., are defined as format effectors.
15591 # NOTES ON THE DEC VT100 IMPLEMENTATION
15593 # Control sequences implemented in the VT100 are as follows:
15595 #      CPR, CUB, CUD, CUF, CUP, CUU, DA, DSR, ED, EL, HTS, HVP, IND,
15596 #      LNM, NEL, RI, RIS, RM, SGR, SM, TBC
15598 # plus several private DEC commands.
15600 # Erasing parts of the display (EL and ED) in the VT100 is performed thus:
15602 #      Erase from cursor to end of line           Esc [ 0 K    or Esc [ K
15603 #      Erase from beginning of line to cursor     Esc [ 1 K
15604 #      Erase line containing cursor               Esc [ 2 K
15605 #      Erase from cursor to end of screen         Esc [ 0 J    or Esc [ J
15606 #      Erase from beginning of screen to cursor   Esc [ 1 J
15607 #      Erase entire screen                        Esc [ 2 J
15609 # Some brain-damaged terminal/emulators respond to Esc [ J as if it were
15610 # Esc [ 2 J, but this is wrong; the default is 0.
15612 # The VT100 responds to receiving the DA (Device Attributes) control
15614 #      Esc [ c    (or Esc [ 0 c)
15616 # by transmitting the sequence
15618 #      Esc [ ? l ; Ps c
15620 # where Ps is a character that describes installed options.
15622 # The VT100's cursor location can be read with the DSR (Device Status
15623 # Report) control
15625 #      Esc [ 6 n
15627 # The VT100 reports by transmitting the CPR sequence
15629 #      Esc [ Pl ; Pc R
15631 # where Pl is the line number and Pc is the column number (in decimal).
15633 # The specification for the DEC VT100 is document EK-VT100-UG-003.
15635 #### ANSI.SYS
15637 # Here is a description of the color and attribute controls supported in the
15638 # the ANSI.SYS driver under MS-DOS.  Most console drivers and ANSI
15639 # terminal emulators for Intel boxes obey these.  They are a proper subset
15640 # of the ECMA-48 escapes.
15642 # 0     all attributes off
15643 # 1     foreground bright
15644 # 4     underscore on
15645 # 5     blink on/background bright (not reliable with brown)
15646 # 7     reverse-video
15647 # 8     set blank (non-display)
15648 # 10    set primary font
15649 # 11    set first alternate font (on PCs, display ROM characters 1-31)
15650 # 12    set second alternate font (on PCs, display IBM high-half chars)
15652 #                       Color attribute sets
15653 # 3n    set foreground color       / 0=black, 1=red,     2=green, 3=brown,
15654 # 4n    set background color       \ 4=blue,  5=magenta, 6=cyan,  7=white
15655 # Bright black becomes gray.  Bright brown becomes yellow,
15656 # These coincide with the prescriptions of the ISO 6429/ECMA-48 standard.
15658 # * If the 5 attribute is on and you set a background color (40-47) it is
15659 #   supposed to enable bright background.
15661 # * Many VGA cards (such as the Paradise and compatibles) do the wrong thing
15662 #   when you try to set a "bright brown" (yellow) background with attribute
15663 #   5 (you get a blinking yellow foreground instead).  A few displays
15664 #   (including the System V console) support an attribute 6 that undoes this
15665 #   braindamage (this is required by iBCS2).
15667 # * Some older versions of ANSI.SYS have a bug that causes thems to require
15668 #   ESC [ Pn k as EL rather than the ANSI ESC [ Pn K.  (This is not ECMA-48
15669 #   compatible.)
15671 #### Intel Binary Compatibility Standard
15673 # For comparison, here are the capabilities implied by the Intel Binary 
15674 # Compatibility Standard for UNIX systems (Intel order number 468366-001).
15675 # These recommendations are optional.  IBCS2 allows the leading escape to
15676 # be either the 7-bit \E[ or 8-bit \0233 introducer, in accordance with
15677 # the ANSI X.364/ISO 6429/ECMA-48 standard.  Here are the iBCS2 capabilities
15678 # (as described in figure 9-3 of the standard).  Those expressed in the ibcs2
15679 # terminfo entry are followed with the corresponding capability in parens:
15681 #       CSI <n>k                disable (n=0) or enable (n=1) keyclick
15682 #       CSI 2h                  lock keyboard
15683 #       CSI 2i                  send screen as input
15684 #       CSI 2l                  unlock keyboard
15685 #       CSI 6m                  enable background color intensity
15686 #       CSI <0-2>c              reserved
15687 #       CSI <0-59>m             select graphic rendition
15688 #       CSI <n>;<m>H    (cup)   cursor to line n and column m
15689 #       CSI <n>;<m>f            cursor to line n and column m
15690 #       CSI <n>@        (ich)   insert characters
15691 #       CSI <n>A        (cuu)   cursor up n lines
15692 #       CSI <n>B        (cud)   cursor down n lines
15693 #       CSI <n>C        (cuu)   cursor right n characters
15694 #       CSI <n>D        (cud)   cursor left n characters
15695 #       CSI <n>E                cursor down n lines and in first column
15696 #       CSI <n>F                cursor up n lines and in first column
15697 #       CSI <n>G        (hpa)   position cursor at column n-1
15698 #       CSI <n>J        (ed)    erase in display
15699 #       CSI <n>K        (el)    erase in line
15700 #       CSI <n>L        (il)    insert line(s)
15701 #       CSI <n>P        (dch)   delete characters
15702 #       CSI <n>S        (indn)  scroll up n lines
15703 #       CSI <n>T        (rin)   scroll down n lines
15704 #       CSI <n>X        (ech)   erase characters
15705 #       CSI <n>Z        (cbt)   back up n tab stops
15706 #       CSI <n>`                cursor to column n on line
15707 #       CSI <n>a        (cuu)   cursor right n characters
15708 #       CSI <n>d        (vpa)   cursor to line n
15709 #       CSI <n>e                cursor down n lines and in first column
15710 #       CSI <n>g        (cbt)   clear all tabs
15711 #       CSI <n>z                make virtual terminal n active
15712 #       CSI ?7h         (smam)  turn automargin on
15713 #       CSI ?7l         (rmam)  turn automargin off
15714 #       CSI s                   save cursor position
15715 #       CSI u                   restore cursor position to saved value
15716 #       CSI =<c>A               set overscan color
15717 #       CSI =<c>F               set normal foreground color
15718 #       CSI =<c>G               set normal background color
15719 #       CSI =<c>H               set reverse foreground color
15720 #       CSI =<c>I               set reverse foreground color
15721 #       CSI =<c>J               set graphic foreground color
15722 #       CSI =<c>K               set graphic foreground color
15723 #       CSI =<n>g       (dispc) display n from alternate graphics character set
15724 #       CSI =<p>;<d>B           set bell parameters
15725 #       CSI =<s>;<e>C           set cursor parameters
15726 #       CSI =<x>D               enable/disable intensity of background color
15727 #       CSI =<x>E               set/clear blink vs. bold background
15728 #       CSI 7           (sc)    (sc) save cursor position
15729 #       CSI 8           (rc)    (rc) restore cursor position to saved value
15730 #       CSI H           (hts)   (hts) set tab stop
15731 #       CSI Q<n><string>        define function key string
15732 #                               (string must begin and end with delimiter char)
15733 #       CSI c           (clear) clear screen
15735 # The lack of any specification for attributes in SGR (among other things)
15736 # makes this a wretchedly weak standard. The table above is literally 
15737 # everything iBSC2 has to say about terminal escape sequences; there is
15738 # no further discussion of their meaning or how to set the parameters
15739 # in these sequences at all.
15742 ######## NONSTANDARD CAPABILITY TRANSLATIONS USED IN THIS FILE
15744 # The historical termcap file entries were written primarily in 4.4BSD termcap.
15745 # The 4.4BSD termcap set was substantially larger than the original 4.1BSD set,
15746 # with the extension names chosen for compatibility with the termcap names
15747 # assigned in System V terminfo.  There are some variant extension sets out
15748 # there.  We try to describe them here.
15750 # XENIX extensions:
15752 # The XENIX extensions include a set of function-key capabilities as follows:
15754 #       code    XENIX variable name     terminfo name   name clashes?
15755 #       ----    -------------------     -------------   -----------------------
15756 #       CL      key_char_left
15757 #       CR      key_char_right
15758 #       CW      key_change_window                       create_window
15759 #       EN      key_end                 kend
15760 #       HM      key_home                khome
15761 #       HP      ??
15762 #       LD      key_delete_line         kdl1
15763 #       LF      key_linefeed                            label_off
15764 #       NU      key_next_unlocked_cell
15765 #       PD      key_page_down           knp
15766 #       PL      ??
15767 #       PN      start_print             mc5
15768 #       PR      ??
15769 #       PS      stop_print              mc4
15770 #       PU      key_page_up             kpp             pulse
15771 #       RC      key_recalc                              remove_clock
15772 #       RF      key_toggle_ref                          req_for_input
15773 #       RT      key_return              kent
15774 #       UP      key_up_arrow            kcuu1           parm_up_cursor
15775 #       WL      key_word_left
15776 #       WR      key_word_right
15778 # The XENIX extensions also include the following character-set and highlight
15779 # capabilities:
15781 #       XENIX   terminfo        function
15782 #       -----   --------        ------------------------------
15783 #       GS      smacs           start alternate character set
15784 #       GE      rmacs           end alternate character set
15785 #       GG                      :as:/:ae: glitch (analogous to :sg:/:ug:)
15786 #       bo      blink           begin blink (not used in /etc/termcap)
15787 #       be                      end blink (not used in /etc/termcap)
15788 #       bb                      blink glitch  (not used in /etc/termcap)
15789 #       it      dim             begin dim (not used in /etc/termcap)
15790 #       ie                      end dim (not used in /etc/termcap)
15791 #       ig                      dim glitch  (not used in /etc/termcap)
15793 # Finally, XENIX also used the following forms-drawing capabilities:
15795 #       single  double  type             ASCII approximation 
15796 #       ------  ------  -------------    -------------------
15797 #       GV      Gv      vertical line             |
15798 #       GH      Gv      horizontal line       -   _
15799 #       G1      G5      top right corner       _   |
15800 #       G2      G6      top left corner       | 
15801 #       G3      G7      bottom left corner         |_
15802 #       G4      G8      bottom right corner   _|
15803 #       GD      Gd      down-tick character        T
15804 #       GL      Gl      left-tick character   -|
15805 #       GR      Gr      right-tick character       |-
15806 #       GC      Gc      middle intersection   -|-
15807 #       GU      Gu      up-tick character          _|_
15809 # These were invented to take advantage of the IBM PC ROM character set.  One
15810 # can compose an acsc string from the single-width characters as follows
15811 #       "j{G4}k{G1}l{G2}m{G3}q{GH}x{GV}t{GR}u{GL}v{GU}w{GD}n{GC}"
15812 # When translating a termcap file, ncurses tic will do this automatically.
15813 # The double forms characters don't fit the SVr4 terminfo model.
15815 # AT&T Extensions:
15817 # The old AT&T 5410, 5420, 5425, pc6300plus, 610, and s4 entries used a set of
15818 # nonstandard capabilities.  Its signature is the KM capability, used to name
15819 # some sort of keymap file.  EE, BO, CI, CV, XS, DS, FL and FE are in this
15820 # set.  Comments in the original, and a little cross-checking with other AT&T
15821 # documentation, seem to establish that BO=:mr: (start reverse video), DS=:mh:
15822 # (start dim), XS=:mk: (secure/invisible mode), EE=:me: (end highlights),
15823 # FL=:LO: (enable soft labels), FE=:LF: (disable soft labels), CI=:vi: (make
15824 # cursor invisible), and CV=:ve: (make cursor normal).
15826 # HP Extensions
15828 # The HP library (as of mid-1995, their term.h file version 70.1) appears to
15829 # have the System V capabilities up to SVr1 level.  After that, it supports
15830 # two nonstandard caps meml and memu corresponding to the old termcap :ml:,
15831 # :mu: capabilities.  After that, it supports caps plab_norm, label_on,
15832 # label_off, and key_f11..key_f63 capabilities like SVr4's.  This makes the
15833 # HP binary format incompatible with SVr4's.
15835 # IBM Extensions
15837 # There is a set of nonstandard terminfos used by IBM's AIX operating system.
15838 # The AIX terminfo library diverged from SVr1 terminfo, and replaces all
15839 # capabilities following prtr_non with the following special capabilties:
15840 # box[12], batt[12], colb[0123456789], colf[0123456789], f[01234567], kbtab,
15841 # kdo, kcmd, kcpn, kend, khlp, knl, knpn, kppn, kppn, kquit, ksel, kscl, kscr,
15842 # ktab, kmpf[123456789], apstr, ksf1..ksf10, kf11...kf63, kact, topl, btml,
15843 # rvert, lvert.   Some of these are identical to XPG4/SVr4 equivalents:
15844 # kcmd, kend, khlp, and kf11...kf63.  Two others (kbtab and ksel) can be
15845 # renamed (to kcbt and kslt).  The places in the box[12] capabilities
15846 # correspond to acsc chars, here is the mapping:
15848 #       box1[0]  = ACS_ULCORNER
15849 #       box1[1]  = ACS_HLINE    
15850 #       box1[2]  = ACS_URCORNER
15851 #       box1[3]  = ACS_VLINE
15852 #       box1[4]  = ACS_LRCORNER
15853 #       box1[5]  = ACS_LLCORNER
15854 #       box1[6]  = ACS_TTEE
15855 #       box1[7]  = ACS_RTEE
15856 #       box1[8]  = ACS_BTEE
15857 #       box1[9]  = ACS_LTEE
15858 #       box1[10] = ACS_PLUS
15860 # The box2 characters are the double-line versions of these forms graphics.
15861 # The AIX binary terminfo format is incompatible with SVr4's.
15863 # Iris console extensions:
15865 # HS is half-intensity start; HE is half-intensity end
15866 # CT is color terminal type (for Curses & rogue)
15867 # CP is color change escape sequence
15868 # CZ are color names (for Curses & rogue)
15870 # The ncurses tic utility recognizes HS as an alias for mh <dim>.
15872 # TC Extensions:
15874 # There is a set of extended termcaps associated with something
15875 # called the "Terminal Control" or TC package created by MainStream Systems,
15876 # Winfield Kansas.  This one also uses GS/GE for as/ae, and also uses
15877 # CF for civis and CO for cvvis.  Finally, they define a boolean :ct:
15878 # that flags color terminals.
15880 ######## CHANGE HISTORY
15882 # The last /etc/termcap version maintained by John Kunze was 8.3, dated 8/5/94.
15883 # Releases 9 and up are maintained by Eric S. Raymond as part of the ncurses
15884 # project.
15886 # This file contains all the capability information present in John Kunze's
15887 # last version of the termcap master file, except as noted in the change 
15888 # comments at end of file.  Some information about very ancient obsolete
15889 # capabilities has been moved to comments.  Some all-numeric names of older
15890 # terminals have been retired.
15892 # I changed :MT: to :km: (the 4.4BSD name) everywhere.  I commented out some
15893 # capabilities (EP, dF, dT, dV, kn, ma, ml, mu, xr, xx) that are no longer
15894 # used by BSD curses.
15896 # The 9.1.0 version of this file was translated from my lightly-edited copy of
15897 # 8.3, then mechanically checked against 8.3 using Emacs Lisp code written for
15898 # the purpose.  Unless the ncurses tic implementation and the Lisp code were
15899 # making perfectly synchronized mistakes which I then failed to catch by
15900 # eyeball, the translation was correct and perfectly information-preserving.
15902 # Major version number bumps correspond to major version changes in ncurses.
15904 # Here is a log of the changes since then:
15906 # 9.1.0 (Wed Feb  1 04:50:32 EST 1995):
15907 #       * First terminfo master translated from 8.3.
15908 # 9.2.0 (Wed Feb  1 12:21:45 EST 1995):
15909 #       * Replaced Wyse entries with updated entries supplied by vendor.
15911 # 9.3.0 (Mon Feb  6 19:14:40 EST 1995):
15912 #       * Added contact & status info from G. Clark Brown <clark@sssi.com>.
15913 # 9.3.1 (Tue Feb  7 12:00:24 EST 1995):
15914 #       * Better XENIX keycap translation.  Describe TC termcaps.
15915 #       * Contact and history info supplied by Qume.
15916 # 9.3.2 (Sat Feb 11 23:40:02 EST 1995):
15917 #       * Raided the Shuford FTP site for recent termcaps/terminfos.
15918 #       * Added information on X3.64 and VT100 standard escape sequences.
15919 # 9.3.3 (Mon Feb 13 12:26:15 EST 1995):
15920 #       * Added a correct X11R6 xterm entry.
15921 #       * Fixed terminfo translations of padding.
15922 # 9.3.4 (Wed Feb 22 19:27:34 EST 1995):
15923 #       * Added correct acsc/smacs/rmacs strings for vt100 and xterm.
15924 #       * Added u6/u7/u8/u9 capabilities.
15925 #       * Added PCVT entry.
15926 # 9.3.5 (Thu Feb 23 09:37:12 EST 1995):
15927 #       * Emacs uses :so:, not :mr:, for its mode line.  Fix linux entry
15928 #         to use reverse-video standout so Emacs will look right.
15929 #       * Added el1 capability to ansi.
15930 #       * Added smacs/rmacs to ansi.sys.
15932 # 9.4.0 (Sat Feb 25 16:43:25 EST 1995):
15933 #       * New mt70 entry.
15934 #       * Added COPYRIGHTS AND OTHER DELUSIONS.
15935 #       * Added AT&T 23xx & 500/513, vt220 and vt420, opus3n1+, netronics
15936 #         smartvid & smarterm, ampex 175 & 219 & 232,
15937 #         env230, falco ts100, fluke, intertube, superbrain, ncr7901, vic20,
15938 #         ozzie, trs200, tr600, Tandy & Texas Instruments VDTs, intext2,
15939 #         screwpoint, fviewpoint, Contel Business Systems, Datamedia Colorscan,
15940 #         adm36, mime314, ergo4000, ca22851.  Replaced att7300, esprit, dd5500.
15941 #       * Replaced the Perkin-Elmer entries with vendor's official ones.
15942 #       * Restored the old minimal-ansi entry, luna needs it.
15943 #       * Fixed some incorrect ip and proportional-padding translations.
15944 # 9.4.1 (Mon Feb 27 14:18:33 EST 1995):
15945 #       * Fix linux & AT386 sgr strings to do A_ALTCHARSET turnoff correctly.
15946 #       * Make the xterm entry 65 lines again; create xterm25 and xterm24
15947 #         to force a particular height.
15948 #       * Added beehive4 and reorganized other Harris entries.
15949 # 9.4.2 (Thu Mar  9 01:45:44 EST 1995):
15950 #       * Merged in DEC's official entries for its terminals.  The only old
15951 #         entry I kept was Doug Gwyn's alternate vt100 (as vt100-avo).
15952 #       * Replaced the translated BBN Bitgraph entries with purpose-built
15953 #         ones from AT&T's SVr3.
15954 #       * Replaced the AT&T entries with AT&T's official terminfos.
15955 #       * Added teleray 16, vc415, cops10. 
15956 #       * Merged in many individual capabilities from SCO terminfo files.
15957 # 9.4.3 (Mon Mar 13 02:37:53 EST 1995):
15958 #       * Typo fixes.
15959 #       * Change linux entry so A_PROTECT enables IBM-PC ROM characters.
15960 # 9.4.4 (Mon Mar 27 12:32:35 EST 1995):
15961 #       * Added tty35, Ann Arbor Guru series. vi300 and 550, cg7900, tvi803,
15962 #         pt210, ibm3164, IBM System 1, ctrm, Tymshare scanset, dt200, adm21,
15963 #         simterm, citoh and variants.
15964 #       * Replaced sol entry with sol1 and sol2.
15965 #       * Replaced Qume QVT and Freedom-series entries with purpose-built
15966 #         terminfo entries.
15967 #       * Enhanced vt220, tvi910, tvi924, hpterm, hp2645, adm42, tek
15968 #         and dg200 entries using caps from from SCO.
15969 #       * Added the usual set of function-key mappings to ANSI entry.
15970 #       * Corrected xterm's function-key capabilities.
15971 # 9.4.5 (Tue Mar 28 14:27:49 EST 1995):
15972 #       * Fix in xterm entry, cub and cud are not reliable under X11R6.
15973 # 9.4.6 (Thu Mar 30 14:52:15 EST 1995):
15974 #       * Fix in xterm entry, get the arrow keys right.
15975 #       * Change some \0 escapes to \200.
15976 # 9.4.7 (Tue Apr  4 11:27:11 EDT 1995)
15977 #       * Added apple (Videx card), adm1a, oadm31.
15978 #       * Fixed malformed ampex csr.
15979 #       * Fixed act4, cyb110; they had old-style prefix padding left in. 
15980 #       * Changed mandatory to advisory padding in many entries.
15981 #       * Replaced HP entries up to hpsub with purpose-built ones.
15982 #       * Blank rmir/smir/rmdc/smdc capabilities removed.
15983 #       * Small fixes merged in from SCO entries for lpr, fos, tvi910+, tvi924.
15984 # 9.4.8 (Fri Apr  7 09:36:34 EDT 199):
15985 #       * Replaced the Ann Arbor entries with SCO's, the init strings are
15986 #         more efficient (but the entries otherwise identical).
15987 #       * Added dg211 from Shuford archive.
15988 #       * Added synertek, apple-soroc, ibmpc, pc-venix, pc-coherent, xtalk,
15989 #         adm42-nl, pc52, gs6300, xerox820, uts30.
15990 #       * Pull SCO's padding into vi200 entry.
15991 #       * Improved capabilities for tvi4107 and other Televideo and Viewpoint
15992 #         entries merged in from SCO's descriptions.
15993 #       * Fixed old-style prefix padding on zen50, h1500.
15994 #       * Moved old superbee entry to superbee-xsb, pulled in new superbee
15995 #         entry from SCO's description.
15996 #       * Reorganized the special entries.
15997 #       * Added lm#0 to cbunix and virtual entries.
15999 # 9.5.0 (Mon Apr 10 11:30:00 EDT 1995):
16000 #       * Restored cdc456tst.
16001 #       * Fixed sb1 entry, SCO erroneously left out the xsb glitch.
16002 #       * Added megatek, beacon, microkit.
16003 #       * Freeze for ncurses-1.9 release.
16004 # 9.5.1 (Fri Apr 21 12:46:42 EDT 1995):
16005 #       * Added historical data for TAB.
16006 #       * Comment fixes from David MacKenzie.
16007 #       * Added the new BSDI pc3 entry.
16008 # 9.5.2 (Tue Apr 25 17:27:52 EDT 1995)
16009 #       * A change in the tic -C logic now ensures that all entries in 
16010 #         the termcap translation will fit in < 1024 bytes.
16011 #       * Added `bobcat' and `gator' HP consoles and the Nu machine entries
16012 #         from GNU termcap file.  This merges in all their local information.
16013 # 9.5.3 (Tue Apr 25 22:28:13 EDT 1995)
16014 #       * Changed tic -C logic to dump all capabilities used by GNU termcap.
16015 #       * Added warnings about entries with long translations (restoring
16016 #         all the GNU termcaps pushes a few over the edge).
16017 # 9.5.4 (Wed Apr 26 15:35:09 EDT 1995)
16018 #       * Yet another tic change, and a couple of entry tweaks, to reduce the
16019 #         number of long (> 1024) termcap translations back to 0.
16021 # 9.6.0 (Mon May  1 10:35:54 EDT 1995)
16022 #       * Added kf13-kf20 to Linux entry.
16023 #       * Regularize Prime terminal names.
16024 #       * Historical data on Synertek.
16025 #       * Freeze for ncurses-1.9.1.
16026 # 9.6.1 (Sat May  6 02:00:52 EDT 1995):
16027 #       * Added true xterm-color entry, renamed djm's pseudo-color entry.
16028 #       * Eliminate whitespace in short name fields, this tanks some scripts.
16029 #       * Name field changes to shorten some long entries.
16030 #       * Termcap translation now automatically generates empty rmir/smir
16031 #         when ich1/ich is present (copes with an ancient vi bug).
16032 #       * Added `screen' entries from FSF's screen-3.6.2.
16033 #       * Added linux-nic and xterm-nic entries.
16034 # 9.6.2 (Sat May  6 17:00:55 EDT 1995):
16035 #       * Change linux entry to use smacs=\E[11m and have an explicit acsc,
16036 #         eliminating some special-case code in ncurses.
16038 # 9.7.0 (Tue May  9 18:03:12 EDT 1995):
16039 #       * Added vt320-k3, rsvidtx from the Emacs termcap.dat file.  I think
16040 #         that captures everything unique from it.
16041 #       * Added reorder script generator.
16042 #       * Freeze for ncurses 1.9.2 release.
16043 # 9.7.1 (Thu Jun 29 09:35:22 EDT 1995):
16044 #       * Added Sean Farley's kspd, flash, rs1 capabilities for linux.
16045 #       * Added Olaf Siebert's corrections for adm12.
16046 #       * ansi-pc-color now includes the colors and pairs caps, so that
16047 #         entries which use it will inherit them automatically.
16048 #       * The linux entry can now recognize the center (keypad 5) key.
16049 #       * Removed some junk that found its way into Linux acsc.
16051 # 9.8.0 (Fri Jul  7 04:46:57 EDT 1995):
16052 #       * Add 50% cut mark as a desperate hack to reduce tic's core usage.
16053 #       * xterm doesn't try to use application keypad mode any more.
16054 #       * Freeze for ncurses-1.9.3 release.
16055 # 9.8.1 (Thu Jul 19 17:02:12 EDT 1995):
16056 #       * Added corrected sun entry from vendor.
16057 #       * Added csr capability to linux entry.
16058 #       * Peter Wemm says the at386 hpa should be \E[%i%p1%dG, not \E[%p1%dG.
16059 #       * Added vt102-nsgr to cope with stupid IBM PC `VT100' emulators.
16060 #       * Some commented-out caps in long entries come back in, my code 
16061 #         for computing string-table lengths had a bug in it.
16062 #       * pcansi series modified to fit comm-program reality better.
16063 # 9.8.2 (Sat Sep  9 23:35:00 EDT 1995):
16064 #       * BSD/OS actually ships the ibmpc3 bold entry as its console.
16065 #       * Correct some bad aliases in the pcansi series
16066 #       * Added entry for QNX console.
16067 #       * Clean up duplicate long names for use with 4.4 library.
16068 #       * Change vt100 standout to be normal reverse vide, not bright reverse;
16069 #         this makes the Emacs status line look better.
16070 # 9.8.3 (Sun Sep 10 13:07:34 EDT 1995):
16071 #       * Added Adam Thompson's VT320 entries, also his dtx-sas and z340.
16072 #       * Minor surgery, mostly on name strings, to shorten termcap version.
16074 # 9.9.0 (Sat Sep 16 23:03:48 EDT 1995):
16075 #       * Added dec-vt100 for use with the EWAN emulator.
16076 #       * Added kmous to xterm for use with xterm's mouse-tracking facility.
16077 #       * Freeze for 1.9.5 alpha release.
16078 # 9.9.1 (Wed Sep 20 13:46:09 EDT 1995):
16079 #       * Changed xterm lines to 24, the X11R6 default.
16080 # 9.9.2 (Sat Sep 23 21:29:21 EDT 1995):
16081 #       * Added 7 newly discovered, undocumented acsc characters to linux
16082 #         entry (the pryz{|} characters).
16083 #       * ncurses no longer steals A_PROTECT.  Simplify linux sgr accordingly.
16084 #       * Correct two typos in the xterm entries introduced in 9.9.1.
16085 #       * I finally figured out how to translate ko capabilities.  Done.
16086 #       * Added tvi921 entries from Tim Theisen.
16087 #       * Cleanup: dgd211 -> dg211, adm42-nl -> adm42-nsl.
16088 #       * Removed mystery tec entry, it was neither interesting nor useful.
16089 #       * shortened altos3, qvt203, tvi910+, tvi92D, tvi921-g, tvi955, vi200-f,
16090 #         vi300-ss, att505-24, contel301, dm3045, f200vi, pe7000c, vc303a,
16091 #         trs200, wind26, wind40, wind50, cdc456tst, dku7003, f110, dg211,
16092 #         by making them relative to use capabilities
16093 #       * Added cuf1=^L to tvi925 from deleted variant tvi925a.
16094 #       * fixed cup in adm22 entry and parametrized strings in vt320-k3.
16095 #       * added it#8 to entries that used to have :pt: -- tvi912, vi200,
16096 #         ampex80,
16097 #       * Translate all home=\E[;H capabilities to home=\E[H, they're 
16098 #         equivalent.
16099 #       * Translate \E[0m -> \E[m in [rs]mso, [rs]mul, and init strings of
16100 #         vt100 and ANSI-like terminals.
16101 # 9.9.3 (Tue Sep 26 20:11:15 EDT 1995):
16102 #       * Added it#8 and ht=\t to *all* entries with :pt:; the ncurses tic
16103 #         does this now, too.
16104 #       * fviewpoint is gone, it duplicated screwpoint.
16105 #       * Added hp2627, graphos, graphos-30, hpex, ibmega, ibm8514, ibm8514-c,
16106 #         ibmvga, ibmvga-c, minix, mm340, mt4520-rv, screen2, screen3, 
16107 #         versaterm, vi500, vsc, vt131, vt340, vt400 entries from UW.
16108 #         The UW vi50 replaces the old one, which becomes vi50adm,
16109 #       * No more embedded commas in name fields.
16111 # 9.10.0 (Wed Oct  4 15:39:37 EDT 1995):
16112 #       * XENIX forms characters in fos, trs16, scoansi become acsc strings,
16113 #       * Introduced klone+* entries for describing Intel-console behavior.
16114 #       * Linux kbs is default-mapped to delete for some brain-dead reason.
16115 #       * -nsl -> -ns.  The -pp syntax is obsolete.
16116 #       * Eliminate [A-Z]* primaries in accordance with SVr4 terminfo docs.
16117 #       * Make xterm entry do application-keypad mode again.  I got complaints
16118 #         that it was messing up someone's 3270 emulator.
16119 #       * Added some longname fields in order to avoid warning messages from
16120 #         older tic implementations.
16121 #       * According to ctrlseqs.ms, xterm has a full vt100 graphics set.  Use
16122 #         it! (This gives us pi, greater than, less than, and a few more.)
16123 #       * Freeze for ncurses-1.9.6 release.
16124 # 9.10.1 (Sat Oct 21 22:18:09 EDT 1995):
16125 #       * Add xon to a number of console entries, they're memory-mapped and
16126 #         don't need padding.
16127 #       * Correct the use dependencies in the ansi series.
16128 #       * Hand-translate more XENIX capabilities.
16129 #       * Added hpterm entry for HP's X terminal emulator.
16130 #       * Added aixterm entries.
16131 #       * Shortened four names so everything fits in 14 chars.  
16133 # 9.11.0 (Thu Nov  2 17:29:35 EST 1995):
16134 #       * Added ibcs2 entry and info on iBCS2 standard.
16135 #       * Corrected hpa/vpa in linux entry.  They still fail the worm test.
16136 #       * We can handle the HP meml/memu capability now.
16137 #       * Added smacs to klone entries, just as documentation.
16138 #       * Carrected ansi.sys and cit-500 entries.
16139 #       * Added z39, vt320-k311, v220c, and avatar entries.
16140 #       * Make pcansi use the ansi.sys invis capability.
16141 #       * Added DIP switch descriptions for vt100, adm31, tvi910, tvi920c,
16142 #         tvi925, tvi950, dt80, ncr7900i, h19.
16143 #       * X3.64 has been withdrawn, change some references.
16144 #       * Removed function keys from ansi-m entry.
16145 #       * Corrected ansi.sys entry.
16146 #       * Freeze for ncurses-1.9.7 release.
16147 # 9.11.1 (Tue Nov  6 18:18:38 EST 1995):
16148 #       * Added rmam/smam capabilities to many entries based on init strings.
16149 #       * Added correct hpa/vpa to linux.
16150 #       * Reduced several entries relative to vt52.
16151 # 9.11.2 (Tue Nov  7 00:21:06 EST 1995):
16152 #       * Exiled some utterly unidentifiable custom and homebrew types to the
16153 #         UFO file; also, obsolete small-screen hardware; also, entries which
16154 #         look flat-out incorrect, garbled, or redundant.  These include the
16155 #         following entries: carlock, cdc456tst, microkit, qdss, ramtek, tec, 
16156 #         tec400, tec500, ubell, wind, wind16, wind40, wind50, plasma, agile,
16157 #         apple, bch, daleblit, nucterm, ttywilliams, nuterminal, nu24, bnu,
16158 #         fnu, nunix-30, nunix-61, exidy, ex3000, sexidy, pc52, sanyo55, 
16159 #         yterm10, yterm11, yterm10nat, aed, aed-ucb, compucolor, compucolor2, 
16160 #         vic20, dg1, act5s, netx, smartvid, smarterm, sol, sol2, dt200, 
16161 #         trs80, trs100, trs200, trs600, xitex, rsvidtx, vid, att2300-x40, 
16162 #         att2350-x40, att4410-nfk, att5410-ns, otty5410, att5425-nl-w, 
16163 #         tty5425-fk, tty5425-w-fk, cita, c108-na, c108-rv-na, c100-rv-na, 
16164 #         c108-na-acs, c108-rv-na-acs, ims950-ns, infotonKAS, ncr7900i-na, 
16165 #         regent60na, scanset-n, tvi921-g, tvi925n, tvi925vbn, tvi925vb, 
16166 #         vc404-na, vc404-s-na, vt420nam, vt420f-nam, vt420pc-nam, vt510nam, 
16167 #         vt510pc-nam, vt520nam, vt525nam, xterm25, xterm50, xterm65, xterms.
16168 #       * Corrected pcvt25h as suggested by Brian C. Grayson
16169 #         <bgrayson@pine.ece.utexas.edu>.
16170 # 9.11.3 (Thu Nov  9 12:14:40 EST 1995):
16171 #       * Added kspd=\E[P, kcbt=\E[Z, to linux entry, changed kbs back to ^H. 
16172 #       * Added kent=\EOM to xterm entry.
16174 # 9.11.4 (Fri Nov 10 08:31:35 EST 1995):
16175 #       * Corrected gigi entry.
16176 #       * Restored cuf/cud1 to xterm, their apparent bugginess was due to
16177 #         bad hpa/vpa capabilities.
16178 #       * Corrected flash strings to have a uniform delay of .2 sec.  No
16179 #         more speed-dependent NUL-padding!
16180 #       * terminfo capabilities in comments bracketed with <>.
16181 # 9.11.5 (Fri Nov 10 15:35:02 EST 1995):
16182 #       * Replaced pcvt with the 3.31 pcvt entries.
16183 #       * Freeze for 1.9.7a.
16184 # 9.11.6 (Mon Nov 13 10:20:24 EST 1995):
16185 #       * Added emu entry from the X11R6 contrib tape sources.
16187 # 9.12.0 (Wed Nov 29 04:22:25 EST 1995):
16188 #       * Improved iris-ansi and sun entries.
16189 #       * More flash string improvements.
16190 #       * Corrected wy160 & wy160 as suggested by Robert Dunn
16191 #       * Added dim to at386.  
16192 #       * Reconciled pc3 and ibmpc3 with the BSDI termcap file.  Keith says
16193 #         he's ready to start using the termcap generated from this one.
16194 #       * Added vt102-w, vt220-w, xterm-bold, wyse-vp, wy75ap, att4424m,
16195 #         ln03, lno3-w, h19-g, z29a*, qdss.  Made vt200 an alias of vt220.
16196 #       * Improved hpterm, apollo consoles, fos, qvt101, tvi924. tvi925,
16197 #         att610, att620, att630, 
16198 #       * Changed hazeltine name prefix from h to hz.
16199 #       * Sent t500 to the UFI file.
16200 #       * I think we've sucked all the juice out of BSDI's termcap file now.
16201 #       * Freeze for ncurses 1.9.8 release
16202 # 9.12.1 (Thu Nov 30 03:14:06 EST 1995)
16203 #       * Unfreeze, linux kbs needed to be fixed.
16204 #       * Tim Theisen pinned down a bug in the DMD firmware.
16205 # 9.12.2 (Thu Nov 30 19:08:55 EST 1995):
16206 #       * Fixes to ansi and klone capabilities (thank you, Aaron Ucko).
16207 #         (The broken ones had been shadowed by sgr.)
16208 # 9.12.3 (Thu Dec  7 17:47:22 EST 1995):
16209 #       * Added documentation on ECMA-48 standard.
16210 #       * New Amiga entry.
16211 # 9.12.4 (Thu Dec 14 04:16:39 EST 1995):
16212 #       * More ECMA-48 stuff
16213 #       * Corrected typo in minix entry, added pc-minix.
16214 #       * Corrected khome/kend in xterm (thank you again, Aaron Ucko).
16215 #       * Added rxvt entry.
16216 #       * Added 1.3.x color-change capabilities to linux entry.
16217 # 9.12.5 (Tue Dec 19 00:22:10 EST 1995):
16218 #       * Corrected rxvt entry khome/kend.
16219 #       * Corrected linux color change capabilities.
16220 #       * NeXT entries from Dave Wetzel.
16221 #       * Cleaned up if and rf file names (all in /usr/share now).
16222 #       * Changed linux op capability to avoid screwing up a background color
16223 #         pair set by setterm.
16224 # 9.12.6 (Wed Feb  7 16:14:35 EST 1996):
16225 #       * Added xterm-sun.
16226 # 9.12.7 (Fri Feb  9 13:27:35 EST 1996):
16227 #       * Added visa50.
16229 # 9.13.0 (Sun Mar 10 00:13:08 EST 1996):
16230 #       * Another sweep through the Shuford archive looking for new info.
16231 #       * Added dg100 alias to dg6053 based on a comp.terminals posting.
16232 #       * Added st52 from Per Persson.
16233 #       * Added eterm from the GNU Emacs 19.30 distribution.
16234 #       * Freeze for 1.9.9.
16235 # 9.13.1 (Fri Mar 29 14:06:46 EST 1996):
16236 #       * FreeBSD console entries from Andrew Chernov.
16237 #       * Removed duplicate Atari st52 name.
16238 # 9.13.2 (Tue May  7 16:10:06 EDT 1996)
16239 #       * xterm doesn't actually have ACS_BLOCK.
16240 #       * Change klone+color setf/setb to simpler forms that can be
16241 #         translated into termcap.
16242 #       * Added xterm1.
16243 #       * Removed mechanically-generated junk capabilities from cons* entries.
16244 #       * Added color support to bsdos.
16245 # 9.13.3 (Thu May  9 10:35:51 EDT 1996):
16246 #       * Added Wyse 520 entries from Wm. Randolph Franklin <wrf@ecse.rpi.edu>.
16247 #       * Created ecma+color, linux can use it.  Also added ech to linux.
16248 #       * Teach xterm about more keys. Add Thomas Dickey's 3.1.2E updates.
16249 #       * Add descriptions to FreeBSD console entries.  Also shorten
16250 #         some aliases to <= 14 chars for portability.
16251 #       * Added x68k console
16252 #       * Added OTbs to several VT-series entries.
16253 # 9.13.4 (Wed May 22 10:54:09 EDT 1996):
16254 #       * screen entry update for 3.7.1 from Michael Alan Dorfman.
16255 # 9.13.5 (Wed Jun  5 11:22:41 EDT 1996):
16256 #       * kterm correction due to Kenji Rikitake.
16257 #       * ACS correction in vt320-kll due to Phillippe De Muyter.
16258 # 9.13.6 (Sun Jun 16 15:01:07 EDT 1996):
16259 #       * Sun console entry correction from J.T. Conklin.
16260 #       * Changed all DEC VT300 and up terminals to use VT300 tab set
16261 # 9.13.7 (Mon Jul  8 20:14:32 EDT 1996):
16262 #       * Added smul to linux entry (we never noticed it was missing 
16263 #         because of sgr!).
16264 #       * Added rmln to hp+labels (deduced from other HP entries).
16265 #       * Added vt100 acsc capability to vt220, vt340, vt400, d800, dt80-sas,
16266 #         pro350, att7300, 5420_2, att4418, att4424, att4426, att505, vt320-k3.
16267 #       * Corrected vt220 acsc.
16268 #       * The klone+sgr and klone+sgr-dumb entries now use klone+acs;
16269 #         this corresponds to reality and helps prevent some tic warnings.
16270 #       * Added sgr0 to c101, pcix, vt100-nav, screen2, oldsun, next, altos2,
16271 #         hpgeneric, hpansi, hpsub, hp236, hp700-wy, bobcat, dku7003, adm11,
16272 #         adm12, adm20, adm21, adm22, adm31, adm36, adm42, pt100, pt200,
16273 #         qvt101, tvi910, tvi921, tvi92B, tvi925, tvi950, tvi970, wy30-mc,
16274 #         wy50-mc, wy100, wyse-vp, ampex232, regent100, viewpoint, vp90,
16275 #         adds980, cit101, cit500, contel300, cs10, dm80, falco, falco-p, 
16276 #         f1720a, go140, sb1, superbeeic, microb, ibm8512, kt7, ergo4000,
16277 #         owl, uts30, dmterm, dt100, dt100, dt110, appleII, apple-videx,
16278 #         lisa, trsII, atari, st52, pc-coherent, basis, m2-man, bg2.0, bg1.25,
16279 #         dw3, ln03, ims-ansi, graphos, t16, zen30, xtalk, simterm, d800,
16280 #         ifmr, v3220, wy100q, tandem653, ibmaed.
16281 #       * Added DWK terminal description.
16282 # 9.13.8 (Wed Jul 10 11:45:21 EDT 1996):
16283 #       * Many entries now have highlights inherited from adm+sgr.
16284 #       * xterm entry now corresponds to XFree86 3.1.2E, with color.
16285 #       * xtitle and xtitle-twm enable access to the X status line.
16286 #       * Added linux-1.3.6 color palette caps in conventional format.
16287 #       * Added adm1178 terminal.
16288 #       * Move fos and apollo terminals to obsolete category.
16289 #       * Aha! The BRL terminals file told us what the Iris extensions mean.
16290 #       * Added, from the BRL termcap file: rt6221, rt6221-w, northstar,
16291 #         commodore, cdc721-esc, excel62, osexec.  Replaced from the BRL file:
16292 #         cit500, adm11. 
16293 # 9.13.9 (Mon Jul 15 00:32:51 EDT 1996):
16294 #       * Added, from the BRL termcap file: cdc721, cdc721l, cdc752, cdc756,
16295 #         aws, awsc, zentec8001, modgraph48, rca vp3301/vp3501, ex155.
16296 #       * Corrected, from BRL termcap file: vi50.
16297 #       * Better rxvt entry & corrected xterm entries from Thomas Dickey.
16298 # 9.13.10 (Mon Jul 15 12:20:13 EDT 1996):
16299 #       * Added from BRL: cit101e & variants, hmod1, vi200, ansi77, att5620-1,
16300 #         att5620-s, att5620-s, dg210, aas1901, hz1520, hp9845, osborne
16301 #         (old osborne moved to osborne-w), tvi970-vb, tvi970-2p, tvi925-hi,
16302 #         tek4105brl, tek4106brl, tek4107brl,tek4109brl, hazel, aepro,
16303 #         apple40p, apple80p, appleIIgs, apple2e, apple2e-p, apple-ae.
16304 #       * Paired-attribute fixes to various terminals.
16305 #       * Sun entry corrections from A. Lukyanov & Gert-Jan Vons.
16306 #       * xterm entry corrections from Thomas Dickey.
16307 # 9.13.11 (Tue Jul 30 16:42:58 EDT 1996):
16308 #       * Added t916 entry, translated from a termcap in SCO's support area.
16309 #       * New qnx entry from Michael Hunter.
16310 # 9.13.12 (Mon Aug  5 14:31:11 EDT 1996):
16311 #       * Added hpex2 from Ville Sulko.
16312 #       * Fixed a bug that ran the qnx and pcvtXX together.
16313 # 9.13.13 (Fri Aug  9 01:16:17 EDT 1996):
16314 #       * Added dtterm entry from Solaris CDE.
16315 # 9.13.14 (Tue Sep 10 15:31:56 EDT 1996):
16316 #       * corrected pairs#8 typo in dtterm entry.
16317 #       * added tvi9065.
16318 # 9.13.15 (Sun Sep 15 02:47:05 EDT 1996):
16319 #       * updated xterm entry to cover 3.1.2E's new features.  
16320 # 9.13.16 (Tue Sep 24 12:47:43 EDT 1996):
16321 #       * Added new minix entry
16322 #       * Removed aliases of the form ^[0-9]* for obsolete terminals.
16323 #       * Commented out linux-old, nobody's using pre-1.2 kernels now.
16324 # 9.13.17 (Fri Sep 27 13:25:38 EDT 1996):
16325 #       * Added Prism entries and kt7ix.
16326 #       * Caution notes about EWAN and tabset files.
16327 #       * Changed /usr/lib/tabset -> /usr/share/tabset.
16328 #       * Added acsc/rmacs/smacs to vt52.
16329 # 9.13.18 (Mon Oct 28 13:24:59 EST 1996):
16330 #       * Merged in Thomas Dickey's reorganization of the xterm entries;
16331 #         added technical corrections to avoid warning messages.
16332 # 9.13.19 (Sat Nov 16 16:05:49 EST 1996):
16333 #       * Added rmso=\E[27m in Linux entry.
16334 #       * Added koi8-r support for Linux console.
16335 #       * Replace xterm entries with canonical ones from XFree86 3.2.
16336 # 9.13.20 (Sun Nov 17 23:02:51 EST 1996):
16337 #       * Added color_xterm from Jacob Mandelson
16338 # 9.13.21 (Mon Nov 18 12:43:42 EST 1996):
16339 #       * Back off the xterm entry to use r6 as a base.
16340 # 9.13.22 (Sat Nov 30 11:51:31 EST 1996):
16341 #       * Added dec-vt220 at Adrian Garside's request.
16342 # 9.13.23 (Fri Feb 21 16:36:06 EST 1997):
16343 #       * Replaced minitel-2 entry.
16344 #       * Added MGR, ansi-nt.
16345 #       * Minor corrections to xterm entries.
16346 #       * Replaced EWAN telnet entry.
16347 #       * Dropped the reorder script generator.  It was a fossil.
16348 # 9.13.24 (Sun Feb 23 20:55:23 EST 1997):
16349 #       * Thorsten Lockert added termcap `bs' to a lot of types, working from
16350 #         the 4.4BSD Lite2 file.
16351 # 9.13.25 (Fri Jun 20 12:33:36 EDT 1997):
16352 #       * Added Datapoint 8242, pilot, ansi_psx, rbcomm, vt220js.
16353 #       * Updated iris-ansi; corrected vt102-w.
16354 #       * Switch base xterm entry to 3.3 level.
16355 # 9.13.26 (Mon Jun 30 22:45:45 EDT 1997)
16356 #       * Added basic4.
16357 #       * Removed rmir/smir from tv92B.
16359 # 10.2.0 (Sat Feb 28 12:47:36 EST 1998):
16360 #       * add hds200 description (Walter Skorski)
16361 #       * add beterm entry (Fred Fish)
16362 #       * add Thomas Dickey's xterm-xf86-v40, xterm-8bit, xterm-16color,
16363 #         iris-color entries.
16364 #       * add emx entries.
16365 #       * Replaced unixpc entry with Benjamin Sittler's corrected version.
16366 #       * Replaced xterm/rxvt/emu/syscons entries with Thomas Dickey's
16367 #         versions.
16368 #       * remove sgr string from qnx based on report by Xiaodan Tang
16369 #       * Added u8/u9, removed rmul/smul from sun-il.
16370 #       * 4.2 tic displays \0 rather than \200.
16371 #       * add linux-koi8r to replace linux-koi8 (which uses a corrupt acsc,
16372 #         apparently based on cp-866).
16373 #       * Merged in Pavel Roskin's acsc for linux-koi8
16374 #       * Corrected some erroneous \\\s to \.
16375 #       * 4.2 ncurses has been changed to use setaf/setab, consistent w/SysV.
16376 #       * II -> ii in pcvtXX, screen, xterm.
16377 #       * Removed \n chars following ANSI escapes in sgr & friends.
16378 #       * Updated Wyse entries.
16379 #       * h19 corrections from Tim Pierce.
16380 #       * Noted that the dm2500 has both ich and smir.
16381 #       * added pccons for the Alpha under OSF/1.
16382 #       * Added Sony NEWS workstation entries and cit101e-rv.
16383 #       * Reverted `amiga'; to Kent Polk's version, as I'm told
16384 #         the Verkuil entry messes up with Amiga Telnet.
16385 # 10.2.1 (Sun Mar  8 18:32:04 EST 1998):
16386 #       * Corrected attributions in 10.2.0 release notes.
16387 #       * Scanned the Shuford archive for new terminfos and information.
16388 #       * Removed sgr from qnx entry (Thomas Dickey).
16389 #       * Added entries for ICL and Kokusai Data Systems terminals.
16390 #       * Incorporated NCR terminfos from the Boundless Technology FTP site.
16391 #       * Incorporated att700 from the Boundless Technology FTP site.
16392 #       * Miscellaneous contact-address and Web-page updates.
16393 # 10.2.2 (Thu May  7 12:18:04 EDT 1998):
16394 #       * Moved Altos to OBSOLETE UNIX CONSOLES
16395 #       * Moved Hewlett-Packard terminals to OLDER TERMINAL TYPES, except for
16396 #         the 700s which go to WORKSTATION CONSOLES.
16397 #       * Major reorganization of ANSI/console/VT types.  Moved vt52 to the
16398 #         obsolete section.
16399 #       * Daisy-wheel printers moved to UFO file.
16400 # 10.2.3 (Tue May 12 22:59:11 EDT 1998):
16401 #       * Commented out hds200 is2 to avoid overflowing terminfo length limit.
16402 #       * Restored OT capabilities to UFO file.
16403 #       * add nxterm and xterm-color terminfo description (request by Cristian
16404 #         Gafton <gafton@redhat.com>).
16405 #       * Modify rxvt terminfo description to clear alternate screen before
16406 #         switching back to normal screen, for compatibility with applications
16407 #         which use xterm (reported by Manoj Kasichainula <manojk@io.com>).
16408 #       * Modify linux terminfo description to reset color palette (reported
16409 #         by Telford Tendys <telford@eng.uts.edu.au>).
16410 # 10.2.4 (Thu Jul  2 18:13:26 EDT 1998):
16411 #       * Added minitel1 entries from Alexander Montaron.
16412 #       * Added qnxt2 from Federico Bianchi.
16413 # 10.2.5: (Mon Aug 24 07:32:34 EDT 1998):
16414 #       * Resolve NetBSD Problem Report #4583 by adding civis/cnorm to pcvtXX.
16415 #       * dtterm enacs correction from Alexander V. Lukyanov.
16416 #       * Added ncsa-telnet, resolving Debian bug report 25341.
16417 #       * Added Francesco Potorti's tuned Wyse 99 entries.
16418 # 10.2.6: (Mon Dec 21 00:49:43 EST 1998):
16419 #       * Home site has changed.
16420 # 10.2.7: (Wed Mar  3 15:53:04 EST 1999):
16421 #       * Documentation fixes, mainly from David J. Mackenzie.
16423 # 11.0.0: (Wed Mar  1 22:02:03 EST 2000)
16424 #       * BSD/OS console fixes from Jeffrey Honig at BSDI.
16425 #       ** TD's branch changes up to his 1999/10/23 version begin here 
16426 #       * Added arm100 terminfo entries from Dave Millen.
16427 #       * Added Data General entries from Hasufin.
16428 #       * NCSA telnet entry from Francesco Potorti as modified by TD.
16429 #       * Added teraterm, crt, ms-vt100, mach, mach-bold, linux-lat,
16430 #         ofcons, wsvt25, wsvt25m, rcons, rcons-color, cygwin, amiga-8bit,
16431 #         ibm3161-C, ibm3162.
16432 #       * Updated xterm entries, BSD/OS entries, AIX entries.
16433 #       * Updated linux, iris-ansi, screen, beterm entries.
16434 #       * Added full function keys for scoansi.
16435 #       * Typo fixes for icl6404, osborne, eterm. att6386
16436 #       * Corrected hp70092 acsc.
16437 #       * Added ibmpc from AIX 3.2.5; ibm-pc is no longer a synonym.
16438 #       * Added ibm5151 from AIX 3.2.5; ibmmono is no longer a synonym.
16439 #       * Added ibm5154 from AIX 3.2.5; ibmega is no longer a synonym.
16440 #       * Merged acsc, s0ds, s1ds, sgr0 into ibm5081 from AIX 3.2.5.
16441 #       * Merged kend, knp, kpp, mc4, mc5 into ibm3161 in from AIX 3.2.5.
16442 #       * Merged acsc into hft-c from AIX 3.2.5.
16443 #       * Updated ibm3151 from AIX 3.2.5.
16444 #       * Errors in TD's branch not accepted: ibm3101, ibm3151, ibm8514
16445 #       * Merged msgr,colors,pairs,setb,setf into ibm3164 from AIX 3.2.5.
16446 #       ** TD's branch changes end here
16447 #       * Address updates from various contributors.
16448 #       * Historical info on basis console.
16449 #       * Ty Sarna's corrections to the amiga entry.
16450 #       * Add Kevin Turner's entry for the Wyse 85 in 8-bit mode.
16451 #       * Added 22 Bull-Questar terminal variants from AIX 4.1.5
16452 #       * Added OSF/1 console and lft from AIX 4.1.5.
16453 #       * Move vt2220 to vt220-old, vt220-8 to vt220, introduce vt220-8bit
16454 #         from AIX 4.1.5.
16455 #       * swtp moved to UFO file (only 20 lines).
16456 #       * Added pcmw.
16457 # 11.0.1: (Thu Mar  2 10:49:21 EST 2000):
16458 #       * Disabled hpa, vpa, in rxvt.
16459 #       * Incorporated ansi components and generic-ansi.
16461 # The following sets edit modes for GNU EMACS.
16462 # Local Variables:
16463 # fill-prefix:"\t"
16464 # fill-column:75
16465 # comment-column:0
16466 # comment-start-skip:"^#+"
16467 # comment-start:"# "
16468 # compile-command:"tic -c termtypes.master"
16469 # End:
16470 ######## SHANTIH!  SHANTIH!  SHANTIH!