[BACK]Return to termcap.src CVS log [TXT][DIR] Up to [local] / src / share / termcap

Annotation of src/share/termcap/termcap.src, Revision 1.14

1.2       deraadt     1: ######## TERMINAL TYPE DESCRIPTIONS SOURCE FILE
1.1       deraadt     2: #
1.13      millert     3: #      Version 10.2.3
                      4: #      $Date: 1998/05/13 03:04:10 $
1.1       deraadt     5: #      termcap syntax
                      6: #
                      7: #      Eric S. Raymond         (current maintainer)
                      8: #      John Kunze, Berkeley
                      9: #      Craig Leres, Berkeley
                     10: #
1.13      millert    11: # Please e-mail changes to terminfo@ccil.org; the old termcap@berkeley.edu
                     12: # address is no longer valid.  The latest version can always be found at
                     13: # <http://earthspace.net/terminfo>.
1.1       deraadt    14: #
                     15: # PURPOSE OF THIS FILE:
                     16: #
                     17: # This file describes the capabilities of various character-cell terminals,
                     18: # as needed by software such as screen-oriented editors.
                     19: #
1.2       deraadt    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
1.8       tholo      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.
1.2       deraadt    27: #
1.1       deraadt    28: # Pointers to related resources (including the ncurses distribution) may
1.13      millert    29: # be found at <http://earthspace.net/terminfo>.
1.1       deraadt    30: #
1.2       deraadt    31: # INTERNATIONALIZATION:
                     32: #
1.8       tholo      33: # This file uses only the US-ASCII character set (no ISO8859 characters).
                     34: #
1.2       deraadt    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
1.5       tholo      38: # with the pound sign at position 2/3.
                     39: #
                     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.
1.2       deraadt    43: #
1.1       deraadt    44: # FILE FORMAT:
                     45: #
                     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.
                     49: #
                     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
1.5       tholo      55: # you have ncurses `tic -I' is nicer (among other things, it automatically
                     56: # outputs entries in a canonical form).
1.1       deraadt    57: #
                     58: # The termcap version is generated automatically from the master version
                     59: # using tic -C.  This filtering leaves in the OT capabilities under their
1.5       tholo      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.
1.1       deraadt    65: #
                     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.
                     70: #
                     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).
                     75: #
                     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.
                     80: #
                     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).
                     85: #
                     86: # A detailed change history is included at the end of this file.
                     87: #
                     88: # FILE ORGANIZATION:
                     89: #
                     90: # Comments in this file begin with # - they cannot appear in the middle
1.13      millert    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
1.1       deraadt    94: # placing a period between the colon and the capability name.
                     95: #
1.2       deraadt    96: # The file is divided up into major sections (headed by lines beginning with
                     97: # the string "########") and minor sections (beginning with "####"); do
1.1       deraadt    98: #
                     99: #      grep "^####" <file> | more
                    100: #
                    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
1.13      millert   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.
1.1       deraadt   109: #
                    110: # HOW TO READ THE ENTRIES:
                    111: #
                    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.
                    115: #
                    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.
                    121: #
                    122: # All names should be in lower case, for consistency in typing.
                    123: #
                    124: # The following are conventionally used suffixes:
1.2       deraadt   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
1.1       deraadt   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.
1.5       tholo     132: #      -nam    No auto-margin - suppress :am: capability
1.2       deraadt   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.
1.5       tholo     137: #      -vb     Use visible bell (:vb:) rather than :bl:.
1.2       deraadt   138: #      -w      Wide - in 132 column mode.
                    139: # If a name has multiple suffixes and one is a line height, that one should
1.13      millert   140: # go first.  Thus `aaa-30-s-rv' is recommended over `aaa-s-rv-30'.
1.2       deraadt   141: #
                    142: # Entries with embedded plus signs are designed to be included through use/tc
                    143: # capabilities, not used as standalone entries.
1.1       deraadt   144: #
                    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.
                    148: #
                    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.
                    155: #
1.2       deraadt   156: # In the comments, terminfo capability names are bracketed with <> (angle
                    157: # brackets).  Termcap capability names are bracketed with :: (colons).
1.1       deraadt   158: #
                    159: # INTERPRETATION OF USER CAPABILITIES
                    160: #
                    161: # The System V Release 4 and XPG4 terminfo format defines ten string
1.2       deraadt   162: # capabilities for use by applications, <u0>...<u9>.   In this file, we use
1.1       deraadt   163: # certain of these capabilities to describe functions which are not covered
                    164: # by terminfo.  The mapping is as follows:
                    165: #
1.3       deraadt   166: #      u9      terminal enquire string (equiv. to ANSI/ECMA-48 DA)
1.1       deraadt   167: #      u8      terminal answerback description
1.3       deraadt   168: #      u7      cursor position request (equiv. to VT100/ANSI/ECMA-48 DSR 6)
                    169: #      u6      cursor position report (equiv. to ANSI/ECMA-48 CPR)
1.1       deraadt   170: #
1.2       deraadt   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
1.3       deraadt   173: # terminals) or \E[c (on newer VT100/ANSI/ECMA-48-compatible terminals).
1.1       deraadt   174: #
1.2       deraadt   175: # The cursor position request (<u7>) string should elicit a cursor position
1.3       deraadt   176: # report.  A typical value (for VT100 terminals) is \E[6n.
1.1       deraadt   177: #
                    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:
                    181: #
                    182: #      %c      Accept any character
                    183: #      %[...]  Accept any number of characters in the given set
                    184: #
1.2       deraadt   185: # The cursor position report (<u6>) string must contain two scanf(3)-style
1.1       deraadt   186: # %d format elements.  The first of these must correspond to the Y coordinate
1.2       deraadt   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
1.3       deraadt   190: # \E[%i%d;%dR (on VT100/ANSI/ECMA-48-compatible terminals).
1.1       deraadt   191: #
                    192: # These capabilities are used by tac(1m), the terminfo action checker soon
                    193: # to be distributed with ncurses.
1.8       tholo     194: #
                    195: # TABSET FILES
                    196: #
                    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
1.13      millert   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.
1.8       tholo     201: #
1.13      millert   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
1.8       tholo     204: # this file.
1.1       deraadt   205: #
1.13      millert   206: # REQUEST FOR CONTACT INFORMATION AND HISTORICAL MATERIAL
1.1       deraadt   207: #
1.3       deraadt   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
1.8       tholo     211: # the new organization, which puts ANSI types, xterm, free-Unix consoles,
                    212: # and vt100 up front in confidence that this will catch 95% of new hardware).
1.1       deraadt   213: #
                    214: # For the terminal types still alive, I'd like to have manufacturer's
                    215: # contact data (Internet address and/or snail-mail + phone).
                    216: #
                    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.
                    223: #
                    224: # I'm especially interested in identifying the obscure entries listed under
1.5       tholo     225: # `Miscellaneous obsolete terminals, manufacturers unknown' before the tribal
                    226: # wisdom about them gets lost.  If you know a lot about obscure old terminals,
1.8       tholo     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.
1.1       deraadt   229: #
                    230: # If you have been around long enough to contribute, please read the file
                    231: # with this in mind and send me your annotations.
                    232: #
                    233: # COPYRIGHTS AND OTHER DELUSIONS
                    234: #
                    235: # The BSD ancestor of this file had a standard Regents of the University of
                    236: # California copyright with dates from 1980 to 1993.
                    237: #
                    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.
                    242: #
                    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.
                    247: #
                    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!
1.8       tholo     252: #
1.1       deraadt   253:
1.13      millert   254: ######## ANSI, UNIX CONSOLE, AND SPECIAL TYPES
1.1       deraadt   255: #
                    256: # This section describes terminal classes and maker brands that are still
                    257: # quite common.
                    258: #
                    259:
                    260: #### Specials
                    261: #
                    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.
                    265: #
                    266:
1.2       deraadt   267: dumb|80-column dumb tty:\
1.1       deraadt   268:        :am:\
                    269:        :co#80:\
                    270:        :bl=^G:cr=^M:do=^J:sf=^J:
1.2       deraadt   271: unknown|unknown terminal type:\
1.3       deraadt   272:        :gn:tc=dumb:
1.2       deraadt   273: lpr|printer|line printer:\
1.8       tholo     274:        :bs:hc:os:\
1.1       deraadt   275:        :co#132:li#66:\
                    276:        :bl=^G:cr=^M:do=^J:ff=^L:le=^H:sf=^J:
1.5       tholo     277: glasstty|classic glass tty interpreting ASCII control characters:\
                    278:        :am:\
                    279:        :co#80:\
                    280:        :bl=^G:cl=^L:cr=^M:do=^J:kb=^H:kd=^J:kl=^H:le=^H:nw=^M^J:\
                    281:        :ta=^I:
1.1       deraadt   282:
1.3       deraadt   283: #### ANSI.SYS/ISO 6429/ECMA-48 Capabilities
1.2       deraadt   284: #
                    285: # See the end-of-file comment for more on these.
                    286: #
                    287:
                    288: # The IBM PC alternate character set.  Plug this into any Intel console entry.
                    289: # We use \E[11m for rmacs rather than \E[12m so the <acsc> string can use the
                    290: # ROM graphics for control characters such as the diamond, up- and down-arrow.
                    291: # This works with the System V, Linux, and BSDI consoles.  It's a safe bet this
                    292: # will work with any Intel console, they all seem to have inherited \E[11m
                    293: # from the ANSI.SYS de-facto standard.
                    294: klone+acs|alternate character set for ansi.sys displays:\
1.13      millert   295:        :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:\
1.2       deraadt   296:        :ae=\E[10m:as=\E[11m:
                    297:
                    298: # Highlight controls corresponding to the ANSI.SYS standard.  Most
                    299: # console drivers for Intel boxes obey these.  Makes the same assumption
1.5       tholo     300: # about \E[11m as klone+acs.  True ANSI/ECMA-48 would have :se=\E[27m:,
                    301: # :ue=\E[24m:, but this isn't a documented feature of ANSI.SYS.
1.2       deraadt   302: klone+sgr|attribute control for ansi.sys displays:\
1.5       tholo     303:        :S2=\E[11m:S3=\E[10m:mb=\E[5m:md=\E[1m:me=\E[0;10m:\
                    304:        :mk=\E[8m:mr=\E[7m:\
1.2       deraadt   305:        :..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:\
1.5       tholo     306:        :se=\E[m:so=\E[7m:ue=\E[m:us=\E[4m:\
                    307:        :tc=klone+acs:
1.2       deraadt   308:
                    309: # Highlight controls corresponding to the ANSI.SYS standard.  *All*
                    310: # console drivers for Intel boxes obey these.  Does not assume \E[11m will
                    311: # work; uses \E[12m instead, which is pretty bulletproof but loses you the ACS
                    312: # diamond and arrow characters under curses.
                    313: klone+sgr-dumb|attribute control for ansi.sys displays (no ESC [ 11 m):\
1.5       tholo     314:        :as=\E[12m:mb=\E[5m:md=\E[1m:me=\E[0;10m:mk=\E[8m:\
                    315:        :mr=\E[7m:\
1.2       deraadt   316:        :..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:\
1.5       tholo     317:        :se=\E[m:so=\E[7m:ue=\E[m:us=\E[4m:\
                    318:        :tc=klone+acs:
1.2       deraadt   319:
1.13      millert   320: # KOI8-R (RFC1489) acs (alternate character set)
1.8       tholo     321: # From: Qing Long <qinglong@Bolizm.ihep.su>, 24 Feb 1996.
                    322: klone+koi8acs|alternate character set for ansi.sys displays with KOI8 charset:\
1.13      millert   323:        :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:\
1.8       tholo     324:        :ae=\E[10m:as=\E[11m:
                    325:
1.13      millert   326: # ANSI.SYS color control.  The setab/setaf caps depend on the coincidence
1.2       deraadt   327: # between SVr4/XPG4's color numbers and ANSI.SYS attributes.  Here are longer
                    328: # but equivalent strings that don't rely on that coincidence:
                    329: # setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
                    330: # setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
                    331: # The DOS 5 manual asserts that these sequences meet the ISO 6429 standard.
1.5       tholo     332: # They match a subset of ECMA-48.
1.2       deraadt   333: klone+color|color control for ansi.sys and ISO6429-compatible displays:\
1.3       deraadt   334:        :Co#8:NC#3:pa#64:\
1.13      millert   335:        :AB=\E[4%p1%dm:AF=\E[3%p1%dm:op=\E[37;40m:
1.5       tholo     336:
                    337: # This is better than klone+color, it doesn't assume white-on-black as the
                    338: # default color pair,  but many `ANSI' terminals don't grok the <op> cap.
                    339: ecma+color|color control for ECMA-48-compatible terminals:\
                    340:        :Co#8:NC#3:pa#64:\
1.13      millert   341:        :AB=\E[4%p1%dm:AF=\E[3%p1%dm:op=\E[39;49m:
1.5       tholo     342:
                    343: # Attribute control for ECMA-48-compatible terminals
                    344: ecma+sgr|attribute capabilities for true ECMA-48 terminals:\
                    345:        :se=\E[27m:ue=\E[24m:\
                    346:        :tc=klone+sgr:
1.2       deraadt   347:
                    348: # For comparison, here are all the capabilities implied by the Intel
                    349: # Binary Compatibility Standard (level 2) that fit within terminfo.
                    350: # For more detail on this rather pathetic standard, see the comments
                    351: # near the end of this file.
                    352: ibcs2|Intel Binary Compatibility Standard prescriptions:\
                    353:        :AL=\E[%dL:DC=\E[%dP:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:\
1.5       tholo     354:        :RA=\E[?7l:RI=\E[%dC:S1=\E=%p1%dg:SA=\E[?7h:SF=\E[%dS:\
                    355:        :SR=\E[%dT:UP=\E[%dA:bt=\E[Z:ch=\E[%i%dG:cl=\Ec:\
                    356:        :cm=\E[%i%d;%dH:ct=\E[g:cv=\E[%i%dd:ec=\E[%dX:ei=:im=:\
                    357:        :rc=\E7:sc=\E7:st=\EH:
1.2       deraadt   358:
1.3       deraadt   359: #### ANSI/ECMA-48 terminals and terminal emulators
1.1       deraadt   360: #
                    361: # See near the end of this file for details on ANSI conformance.
                    362: # Don't mess with these entries!  Lots of other entries depend on them!
                    363: #
                    364: # This section lists entries in a least-capable to most-capable order.
                    365: # if you're in doubt about what `ANSI' matches yours, try them in that
                    366: # order and back off from the first that breaks.
                    367:
                    368: ansi-mini|any ansi terminal with pessimistic assumptions:\
                    369:        :am:bs:\
                    370:        :co#80:it#8:li#24:\
1.2       deraadt   371:        :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:do=\E[B:ho=\E[H:\
                    372:        :le=\E[D:nd=\E[C:ta=^I:up=\E[A:
1.1       deraadt   373:
1.8       tholo     374: # ANSI X3.64 from emory!mlhhh (Hugh Hansard) via BRL
                    375: #
                    376: # The following is an entry for the full ANSI 3.64 (1977).  It lacks
                    377: # padding, but most terminals using the standard are "fast" enough
                    378: # not to require any -- even at 9600 bps.  If you encounter problems,
                    379: # try including the padding specifications.
                    380: #
1.13      millert   381: # Note: the :as: and :ae: specifications are not implemented here, for
1.8       tholo     382: # the available termcap documentation does not make clear WHICH alternate
                    383: # character set to specify.  ANSI 3.64 seems to make allowances for several.
                    384: # Please make the appropriate adjustments to fit your needs -- that is
                    385: # if you will be using alternate character sets.
                    386: #
                    387: # There are very few terminals running the full ANSI 3.64 standard,
                    388: # so I could only test this entry on one verified terminal (Visual 102).
                    389: # I would appreciate the results on other terminals sent to me.
                    390: #
                    391: # Please report comments, changes, and problems to:
                    392: #
                    393: # U.S. MAIL:   Hugh Hansard
                    394: #              Box: 22830
                    395: #              Emory University
                    396: #              Atlanta, GA. 30322.
                    397: #
                    398: # USENET {akgua,msdc,sb1,sb6,gatech}!emory!mlhhh.
                    399: #
                    400: ansi77|ansi 3.64 standard 1977 version:\
                    401:        :am:bs:mi:\
                    402:        :co#80:it#8:li#24:\
                    403:        :al=5*\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[;H\E[2J:\
                    404:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:dc=\E[P:dl=5*\E[M:\
                    405:        :do=\E[B:ei=\E[4l:ho=\E[H:im=\E[4h:k1=\EOP:k2=\EOR:k4=\EOS:\
                    406:        :kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
                    407:        :nd=\E[C:nw=^M\ED:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:\
                    408:        :ue=\E[m:up=\E[A:us=\E[4m:
                    409:
1.1       deraadt   410: # Procomm and some other ANSI emulations don't recognize all of the ANSI-
1.5       tholo     411: # standard capabilities.  This entry deletes :UP:, :RI:, :DO:, :LE:, and
                    412: # <vpa>/<hpa> capabilities, forcing curses to use repetitions of :up:,
                    413: # :nd:, :do: and :le:.  Also deleted :IC: and :ic:, as QModem up to
                    414: # 5.03 doesn't recognize these.  Finally, we delete :rp: and :sr:, which seem
                    415: # to confuse many emulators.  On the other hand, we can count on these programs
1.8       tholo     416: # doing :ae:/:as:/:sa:. Older versions of this entry featured
1.5       tholo     417: # <invis=\E[9m>, but <invis=\E[8m> now seems to be more common under
1.2       deraadt   418: # ANSI.SYS influence.
                    419: # From: Eric S. Raymond <esr@snark.thyrsus.com> Oct 30 1995
                    420: pcansi-m|pcansi-mono|ibm-pc terminal programs claiming to be ansi (mono mode):\
                    421:        :am:bs:mi:ms:\
1.1       deraadt   422:        :co#80:it#8:li#24:\
1.2       deraadt   423:        :al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
1.5       tholo     424:        :cm=\E[%i%d;%dH:cr=^M:ct=\E[2g:dc=\E[P:dl=\E[M:do=\E[B:\
                    425:        :ho=\E[H:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
                    426:        :le=\E[D:nd=\E[C:sf=^J:st=\EH:ta=^I:up=\E[A:\
                    427:        :tc=klone+sgr-dumb:
1.2       deraadt   428: pcansi-25-m|pcansi25m|ibm-pc terminal programs with 25 lines (mono mode):\
1.3       deraadt   429:        :li#25:tc=pcansi-m:
1.2       deraadt   430: pcansi-33-m|pcansi33m|ibm-pc terminal programs with 33 lines (mono mode):\
1.3       deraadt   431:        :li#33:tc=pcansi-m:
1.2       deraadt   432: pcansi-43-m|ansi43m|ibm-pc terminal programs with 43 lines (mono mode):\
1.3       deraadt   433:        :li#43:tc=pcansi-m:
1.1       deraadt   434: # The color versions.  All PC emulators do color...
                    435: pcansi|ibm-pc terminal programs claiming to be ansi:\
1.2       deraadt   436:        :tc=klone+color:tc=pcansi-m:
1.1       deraadt   437: pcansi-25|pcansi25|ibm-pc terminal programs with 25 lines:\
1.3       deraadt   438:        :li#25:tc=pcansi:
1.1       deraadt   439: pcansi-33|pcansi33|ibm-pc terminal programs with 33 lines:\
1.3       deraadt   440:        :li#33:tc=pcansi:
1.1       deraadt   441: pcansi-43|pcansi43|ibm-pc terminal programs with 43 lines:\
1.3       deraadt   442:        :li#43:tc=pcansi:
1.1       deraadt   443:
1.2       deraadt   444: # ansi-m -- full ANSI X3.64 with ANSI.SYS-compatible attributes, no color.
1.1       deraadt   445: # If you want pound signs rather than dollars, replace `B' with `A'
1.2       deraadt   446: # in the <s0ds>, <s1ds>, <s2ds>, and <s3ds> capabilities.
                    447: # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
                    448: ansi-m|ansi-mono|ANSI X3.64-1979 terminal with ANSI.SYS compatible attributes:\
1.3       deraadt   449:        :5i:\
1.1       deraadt   450:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                    451:        :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
1.5       tholo     452:        :cb=\E[1K:ch=\E[%i%dG:ct=\E[2g:cv=\E[%i%dd:ec=\E[%dX:ei=:\
                    453:        :im=:kB=\E[Z:kI=\E[L:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:\
                    454:        :nw=\r\E[S:pf=\E[4i:po=\E[5i:..rp=%p1%c\E[%p2%{1}%-%db:\
                    455:        :s0=\E(B:s1=\E)B:s2=\E*B:s3=\E+B:ta=\E[I:\
                    456:        :tc=pcansi-m:
1.1       deraadt   457:
                    458: # ansi -- this terminfo expresses the largest subset of X3.64 that will fit in
1.5       tholo     459: # standard terminfo.  Assumes ANSI.SYS-compatible attributes and color.
1.2       deraadt   460: # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
1.1       deraadt   461: ansi|ansi/pc-term compatible with color:\
1.3       deraadt   462:        :u6=\E[%i%d;%dR:u7=\E[6n:..u8=\E[?%[;0123456789]c:\
1.5       tholo     463:        :u9=\E[c:\
                    464:        :tc=ecma+color:tc=klone+sgr:tc=ansi-m:
1.1       deraadt   465:
1.13      millert   466: #### Linux consoles
1.1       deraadt   467: #
                    468:
1.13      millert   469: # This entry is good for the 1.2.13 or later version of the Linux console.
1.1       deraadt   470: #
1.2       deraadt   471: # ***************************************************************************
                    472: # *                                                                         *
                    473: # *                           WARNING:                                      *
1.3       deraadt   474: # * Linuxes come with a default keyboard mapping kcbt=^I.  This entry, in   *
                    475: # * response to user requests, assumes kcbt=\E[Z, the ANSI/ECMA reverse-tab *
                    476: # * character. Here are the keymap replacement lines that will set this up: *
1.2       deraadt   477: # *                                                                         *
                    478: #      keycode  15 = Tab             Tab
                    479: #              alt     keycode  15 = Meta_Tab
                    480: #              shift   keycode  15 = F26
                    481: #      string F26 ="\033[Z"
                    482: # *                                                                         *
1.3       deraadt   483: # * This has to use a key slot which is unfortunate (any unused one will    *
1.13      millert   484: # * do, F26 is the higher-numbered one).  The change ought to be built      *
1.2       deraadt   485: # * into the kernel tables.                                                 *
                    486: # *                                                                         *
                    487: # ***************************************************************************
                    488: #
1.5       tholo     489: # The 1.3.x kernels add color-change capabilities; if yours doesn't have this
                    490: # and it matters, turn off <ccc>.  The %02x escape used to implement this is
                    491: # not back-portable to SV curses and not supported in ncurses versions before
                    492: # 1.9.9. All linux kernels since 1.2.13 (at least) set the screen size
                    493: # themselves; this entry assumes that capability.
                    494: #
1.13      millert   495: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                    496: # (sgr removed to fit entry within 1023 bytes)
                    497: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt   498: linux|linux console:\
1.13      millert   499:        :am:eo:mi:ms:xn:xo:\
1.5       tholo     500:        :it#8:\
1.13      millert   501:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:K2=\E[G:al=\E[L:\
                    502:        :bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
                    503:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:\
                    504:        :ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:k1=\E[[A:k2=\E[[B:\
                    505:        :k3=\E[[C:k4=\E[[D:k5=\E[[E:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
                    506:        :k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=\177:\
                    507:        :kd=\E[B:kh=\E[1~:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mh=\E[2m:\
                    508:        :mr=\E[7m:nd=\E[C:nw=^M^J:rc=\E8:sc=\E7:se=\E[27m:sf=^J:\
                    509:        :sr=\EM:st=\EH:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:\
1.5       tholo     510:        :vb=200\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:\
                    511:        :tc=klone+sgr:tc=ecma+color:
1.2       deraadt   512: linux-m|Linux console no color:\
1.3       deraadt   513:        :Co@:pa@:\
                    514:        :AB@:AF@:Sb@:Sf@:tc=linux:
1.5       tholo     515: linux-c-nc|linux console 1.3.x hack for ncurses only:\
                    516:        :cc:\
1.13      millert   517:        :..Ic=\E]P%p1%x%p2%{255}%*%{1000}%/%02x%p3%{255}%*%{1000}%/%02x%p4%{255}%*%{1000}%/%02x:\
                    518:        :oc=\E]R:\
                    519:        :tc=linux:
1.5       tholo     520: # From: Dennis Henriksen <opus@osrl.dk>, 9 July 1996
1.13      millert   521: linux-c|linux console 1.3.6+ with private palette for each virtual console:\
1.5       tholo     522:        :cc:\
                    523:        :Co#8:pa#64:\
                    524:        :..Ic=\E]P%?%p1%{9}%>%t%p1%{10}%-%p'a'%+%c%e%p1%d%p2%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%p3%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%p4%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;:\
                    525:        :oc=\E]R:\
                    526:        :tc=linux:
1.1       deraadt   527:
                    528: # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
                    529: linux-nic|linux with ich/ich1 suppressed for non-curses programs:\
1.5       tholo     530:        :IC@:ei=:ic@:im=:\
                    531:        :tc=linux:
                    532:
1.8       tholo     533: # This assumes you have used setfont(8) to load one of the Linux koi8-r fonts.
1.13      millert   534: # acsc entry from Pavel Roskin" <pavel@absolute.spb.su>, 29 Sep 1997.
1.8       tholo     535: linux-koi8|linux with koi8 alternate character set:\
1.13      millert   536:        :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:\
                    537:        :tc=klone+koi8acs:
                    538:
                    539: # Another entry for KOI8-r with Qing Long's acsc.
                    540: # (which one better complies with the standard?)
                    541: linux-koi8r|linux with koi8-r alternate character set:\
1.8       tholo     542:        :tc=linux:tc=klone+koi8acs:
1.1       deraadt   543:
1.5       tholo     544: #### NetBSD consoles
1.2       deraadt   545: #
                    546: # pcvt termcap database entries (corresponding to release 3.31)
                    547: # Author's last edit-date: [Fri Sep 15 20:29:10 1995]
                    548: #
                    549: # (For the terminfo master file, I translated these into terminfo syntax.
                    550: # Then I dropped all the pseudo-HP entries. we don't want and can't use
1.5       tholo     551: # the :Xs: flag. Then I split :is: into a size-independent :i1: and a
                    552: # size-dependent :is:.  Finally, I added <rmam>/<smam> -- esr)
1.2       deraadt   553:
1.13      millert   554: # NOTE: :ic: has been taken out of this entry. for reference, it should
                    555: # be <ich1=\E[@>.  For discussion, see ICH/ICH1 VERSUS RMIR/SMIR below.
1.5       tholo     556: pcvtXX|pcvt vt200 emulator (DEC VT220):\
                    557:        :am:km:mi:ms:xn:\
                    558:        :it#8:vt#3:\
                    559:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                    560:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:SF=\E[%dS:\
                    561:        :SR=\E[%dT:UP=\E[%dA:\
1.13      millert   562:        :ac=++\054\054--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz~~:\
1.5       tholo     563:        :ae=\E(B:al=\E[L:as=\E(0:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
                    564:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
                    565:        :ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
                    566:        :i1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:im=\E[4h:\
                    567:        :k1=\E[17~:k2=\E[18~:k3=\E[19~:k4=\E[20~:k5=\E[21~:\
                    568:        :k6=\E[23~:k7=\E[24~:k8=\E[25~:kD=\E[3~:kH=\E[4~:kI=\E[2~:\
                    569:        :kN=\E[6~:kP=\E[5~:kb=\177:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:\
                    570:        :kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:\
                    571:        :md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=\EE:\
                    572:        :r1=\Ec\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
                    573:        :rf=/usr/share/tabset/vt100:sc=\E7:se=\E[27m:sf=\ED:\
                    574:        :so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:
1.2       deraadt   575:
                    576: #      NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
                    577: #      termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
1.5       tholo     578: #      50 lines entries; 80 columns
                    579: pcvt25|dec vt220 emulation with 25 lines:\
                    580:        :co#80:li#25:\
                    581:        :is=\E[1;25r\E[25;1H:tc=pcvtXX:
                    582: pcvt28|dec vt220 emulation with 28 lines:\
                    583:        :co#80:li#28:\
                    584:        :is=\E[1;28r\E[28;1H:tc=pcvtXX:
                    585: pcvt35|dec vt220 emulation with 35 lines:\
                    586:        :co#80:li#35:\
                    587:        :is=\E[1;35r\E[35;1H:tc=pcvtXX:
                    588: pcvt40|dec vt220 emulation with 40 lines:\
                    589:        :co#80:li#40:\
                    590:        :is=\E[1;40r\E[40;1H:tc=pcvtXX:
                    591: pcvt43|dec vt220 emulation with 43 lines:\
                    592:        :co#80:li#43:\
                    593:        :is=\E[1;43r\E[43;1H:tc=pcvtXX:
                    594: pcvt50|dec vt220 emulation with 50 lines:\
                    595:        :co#80:li#50:\
                    596:        :is=\E[1;50r\E[50;1H:tc=pcvtXX:
1.2       deraadt   597:
                    598: #      NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
                    599: #      termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
1.5       tholo     600: #      50 lines entries; 132 columns
                    601: pcvt25w|dec vt220 emulation with 25 lines and 132 cols:\
                    602:        :co#132:li#25:\
                    603:        :is=\E[1;25r\E[25;1H:tc=pcvtXX:
                    604: pcvt28w|dec vt220 emulation with 28 lines and 132 cols:\
                    605:        :co#132:li#28:\
                    606:        :is=\E[1;28r\E[28;1H:tc=pcvtXX:
                    607: pcvt35w|dec vt220 emulation with 35 lines and 132 cols:\
                    608:        :co#132:li#35:\
                    609:        :is=\E[1;35r\E[35;1H:tc=pcvtXX:
                    610: pcvt40w|dec vt220 emulation with 40 lines and 132 cols:\
                    611:        :co#132:li#40:\
                    612:        :is=\E[1;40r\E[40;1H:tc=pcvtXX:
                    613: pcvt43w|dec vt220 emulation with 43 lines and 132 cols:\
                    614:        :co#132:li#43:\
                    615:        :is=\E[1;43r\E[43;1H:tc=pcvtXX:
                    616: pcvt50w|dec vt220 emulation with 50 lines and 132 cols:\
                    617:        :co#132:li#50:\
                    618:        :is=\E[1;50r\E[50;1H:tc=pcvtXX:
                    619:
                    620: # NetBSD/x68k console vt200 emulator. This port runs on a 68K machine
                    621: # manufactured by Sharp for the Japenese market.
                    622: # From Minoura Makoto <minoura@netlaputa.or.jp>, 12 May 1996
                    623: x68k|x68k-ite|NetBSD/x68k ITE:\
                    624:        :co#96:li#32:\
                    625:        :%1=\E[28~:kC=\E[9~:tc=vt220:
                    626:
                    627: #### FreeBSD console entries
                    628: #
1.8       tholo     629: # From: Andrey Chernov <ache@astral.msk.su> 29 Mar 1996
                    630: # Andrey Chernov maintains the FreeBSD termcap distributions.
1.5       tholo     631: #
                    632: # Note: Users of FreeBSD 2.1.0 and older versions must either upgrade
1.8       tholo     633: # or comment out the :cb: capability in the console entry.
                    634: #
                    635: # Alexander Lukyanov reports:
                    636: # I have seen FreeBSD-2.1.5R... The old el1 bug changed, but it is still there.
                    637: # Now el1 clears not only to the line beginning, but also a large chunk
                    638: # of previous line. But there is another bug - ech does not work at all.
1.5       tholo     639: #
                    640:
                    641: # for syscons
                    642: # common entry without semigraphics
                    643: # Bug: The <op> capability resets attributes.
1.13      millert   644: # Bug? The ech and el1 attributes appear to move the cursor in some cases; for
                    645: # instance el1 does if the cursor is moved to the right margin first.  Removed
                    646: # by T.Dickey 97/5/3 (ech=\E[%p1%dX, el1=\E[1K)
                    647: #
                    648: # Setting colors turns off reverse; we cannot guarantee order, so use ncv.
                    649: # Note that this disables standout with color.
1.5       tholo     650: cons25w|ansiw|ansi80x25-raw|freebsd console (25-line raw mode):\
                    651:        :NP:am:bw:eo:ms:ut:\
1.13      millert   652:        :Co#8:NC#5:co#80:it#8:li#25:pa#64:\
                    653:        :@7=\E[F:AB=\E[4%p1%dm:AF=\E[3%p1%dm:AL=\E[%dL:DC=\E[%dP:\
                    654:        :DL=\E[%dM:DO=\E[%dB:F1=\E[W:F2=\E[X:IC=\E[%d@:K2=\E[E:\
                    655:        :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
                    656:        :al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%i%d`:\
                    657:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cv=\E[%i%dd:dc=\E[P:\
                    658:        :dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:k1=\E[M:k2=\E[N:\
                    659:        :k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:\
                    660:        :k;=\E[V:kB=\E[Z:kD=\177:kI=\E[L:kN=\E[G:kP=\E[I:kb=^H:\
                    661:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
                    662:        :md=\E[1m:me=\E[m:mh=\E[30;1m:mr=\E[7m:nd=\E[C:nw=\E[E:\
                    663:        :op=\E[x:r1=\E[x\E[m\Ec:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:\
                    664:        :ta=^I:up=\E[A:
                    665: cons25|ansis|ansi80x25|freebsd console (25-line ansi mode):\
                    666:        :ac=-\030.^Y0\333`\004a\260f\370g\361h\261i\025j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263y\363z\362~\371:\
1.5       tholo     667:        :tc=cons25w:
                    668: cons25-m|ansis-mono|ansi80x25-mono|freebsd console (25-line mono ansi mode):\
                    669:        :Co@:pa@:\
1.13      millert   670:        :AB@:AF@:md@:mh@:op@:ue=\E[m:us=\E[4m:tc=cons25:
1.5       tholo     671: cons30|ansi80x30|freebsd console (30-line ansi mode):\
                    672:        :li#30:tc=cons25:
                    673: cons30-m|ansi80x30-mono|freebsd console (30-line mono ansi mode):\
                    674:        :li#30:tc=cons25-m:
                    675: cons43|ansi80x43|freebsd console (43-line ansi mode):\
                    676:        :li#43:tc=cons25:
                    677: cons43-m|ansi80x43-mono|freebsd console (43-line mono ansi mode):\
                    678:        :li#43:tc=cons25-m:
                    679: cons50|ansil|ansi80x50|freebsd console (50-line ansi mode):\
                    680:        :li#50:tc=cons25:
                    681: cons50-m|ansil-mono|ansi80x50-mono|freebsd console (50-line mono ansi mode):\
                    682:        :li#50:tc=cons25-m:
                    683: cons60|ansi80x60|freebsd console (60-line ansi mode):\
                    684:        :li#60:tc=cons25:
                    685: cons60-m|ansi80x60-mono|freebsd console (60-line mono ansi mode):\
                    686:        :li#60:tc=cons25-m:
                    687: cons25r|pc3r|ibmpc3r|cons25-koi8-r|freebsd console w/koi8-r cyrillic:\
1.13      millert   688:        :ac=-\030.^Y0\215`\004a\220f\234h\221i\025j\205k\203l\202m\204n\212q\0t\206u\207v\211w\210x\201y\230z\231~\225:\
1.5       tholo     689:        :tc=cons25w:
                    690: cons25r-m|pc3r-m|ibmpc3r-mono|cons25-koi8r-m|freebsd console w/koi8-r cyrillic (mono):\
                    691:        :Co@:pa@:\
1.13      millert   692:        :AB@:AF@:op@:ue=\E[m:us=\E[4m:tc=cons25r:
1.5       tholo     693: cons50r|cons50-koi8r|freebsd console w/koi8-r cyrillic (50 lines):\
                    694:        :li#50:tc=cons25r:
                    695: cons50r-m|cons50-koi8r-m|freebsd console w/koi8-r cyrillic (50-line mono):\
                    696:        :li#50:tc=cons25r-m:
                    697: cons60r|cons60-koi8r|freebsd console w/koi8-r cyrillic (60 lines):\
                    698:        :li#60:tc=cons25r:
                    699: cons60r-m|cons60-koi8r-m|freebsd console w/koi8-r cyrillic (60-line mono):\
                    700:        :li#60:tc=cons25r-m:
                    701: # ISO 8859-1 FreeBSD console
                    702: cons25l1|cons25-iso8859|freebsd console w/iso 8859-1 chars:\
1.13      millert   703:        :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:\
1.5       tholo     704:        :tc=cons25w:
                    705: cons25l1-m|cons25-iso-m|freebsd console w/iso 8859-1 chars (mono):\
                    706:        :Co@:pa@:\
1.13      millert   707:        :AB@:AF@:md@:mh@:op@:ue=\E[m:us=\E[4m:tc=cons25l1:
1.5       tholo     708: cons50l1|cons50-iso8859|freebsd console w/iso 8859-1 chars (50 lines):\
                    709:        :li#50:tc=cons25l1:
                    710: cons50l1-m|cons50-iso-m|freebsd console w/iso 8859-1 chars (50-line mono):\
                    711:        :li#50:tc=cons25l1-m:
                    712: cons60l1|cons60-iso|freebsd console w/iso 8859-1 chars (60 lines):\
                    713:        :li#60:tc=cons25l1:
                    714: cons60l1-m|cons60-iso-m|freebsd console w/iso 8859-1 chars (60-line mono):\
                    715:        :li#60:tc=cons25l1-m:
1.2       deraadt   716:
1.3       deraadt   717: #### 386BSD and BSD/OS Consoles
                    718: #
                    719:
                    720: # This was the original 386BSD console entry (I think).
                    721: # Some places it's named oldpc3|oldibmpc3.
                    722: # From: Alex R.N. Wetmore <aw2t@andrew.cmu.edu>
                    723: origpc3|origibmpc3|IBM PC 386BSD Console:\
1.8       tholo     724:        :am:bs:bw:eo:xo:\
1.3       deraadt   725:        :co#80:li#25:\
1.13      millert   726:        :ac=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263:\
1.5       tholo     727:        :cd=\E[J:ce=\E[K:cl=\Ec:cm=\E[%i%2;%2H:do=\E[B:ho=\E[H:\
                    728:        :kd=\E[B:kh=\E[Y:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:md=\E[7m:\
                    729:        :me=\E[m\E[1;0x\E[2;7x:nd=\E[C:se=\E[1;0x\E[2;7x:\
                    730:        :sf=\E[S:so=\E[1;7x\E[2;0x:sr=\E[T:ue=\E[1;0x\E[2;7x:\
                    731:        :up=\E[A:us=\E[1;7x\E[2;0x:
1.3       deraadt   732:
                    733: # description of BSD/386 console emulator in version 1.0 (supplied by BSDI)
                    734: oldpc3|oldibmpc3|old IBM PC BSD/386 Console:\
1.8       tholo     735:        :bs:km:\
1.3       deraadt   736:        :li#25:\
1.5       tholo     737:        :al=\E[L:bl=^G:cr=^M:dl=\E[M:do=^J:kH=\E[F:kI=\E[L:kN=\E[G:\
                    738:        :kP=\E[I:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
                    739:        :md=\E[=15F:me=\E[=R:mh=\E[=8F:nw=^M^J:sf=^J:ta=^I:
1.3       deraadt   740:
                    741: # Description of BSD/OS console emulator in version 1.1, 2.0, 2.1
                    742: # Note, the emulator supports many of the additional console features
1.5       tholo     743: # listed in the iBCS2 (e.g. character-set selection) though not all
                    744: # are described here.  This entry really ought to be upgraded.
1.3       deraadt   745: # Also note, the console will also work with fewer lines after doing
                    746: # "stty rows NN", e.g. to use 24 lines.
1.5       tholo     747: # (Color support from Kevin Rosenberg <kevin@cyberport.com>, 2 May 1996)
                    748: # Bug: The <op> capability resets attributes.
1.3       deraadt   749: bsdos|BSD/OS console:\
1.8       tholo     750:        :am:bs:bw:eo:km:xo:\
1.5       tholo     751:        :Co#8:co#80:it#8:li#25:pa#64:\
1.13      millert   752:        :AB=\E[4%p1%dm:AF=\E[3%p1%dm:AL=\E[%dL:DL=\E[%dM:\
                    753:        :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:\
                    754:        :cd=\E[J:ce=\E[K:cl=\Ec:cm=\E[%i%d;%dH:cr=^M:dl=\E[M:do=^J:\
                    755:        :ho=\E[H:kH=\E[F:kI=\E[L:kN=\E[G:kP=\E[I:kb=^H:kd=\E[B:\
                    756:        :kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
                    757:        :me=\E[0m:mh=\E[=8F:mr=\E[7m:nd=\E[C:nw=^M^J:op=\E[x:\
                    758:        :rc=\E8:sc=\E7:se=\E[0m:sf=^J:so=\E[7m:ta=^I:up=\E[A:
1.3       deraadt   759: bsdos-bold|IBM PC BSD/386 Console with bold instead of underline:\
1.5       tholo     760:        :ue=\E[0m:us=\E[1m:\
                    761:        :tc=bsdos:
1.3       deraadt   762:
                    763: # If you are BSDI, you want the following entries, for the moment.
                    764: # In release 2.0 they will probably phase out the pc3 and ibmpc3 names
                    765: pc3|IBM PC BSD/386 Console:\
                    766:        :tc=bsdos:
                    767: ibmpc3|pc3-bold|IBM PC BSD/386 Console with bold instead of underline:\
1.5       tholo     768:        :us=\E[1m:\
                    769:        :tc=bsdos-bold:
1.1       deraadt   770:
                    771: #### DEC VT100 and compatibles
1.2       deraadt   772: #
1.13      millert   773: # DEC terminals from the vt100 forward are collected here. Older DEC terminals
                    774: # and micro consoles can be found in the `obsolete' section.  More details on
1.2       deraadt   775: # the relationship between the VT100 and ANSI X3.64/ISO 6429/ECMA-48 may be
                    776: # found near the end of this file.
1.1       deraadt   777: #
                    778: # Except where noted, these entries are DEC's official terminfos.
                    779: # Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
                    780: # Engineering for more information.  Updated terminfos and termcaps
                    781: # are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
                    782: #
1.5       tholo     783: # In October 1995 DEC sold its terminals business, including the VT and Dorio
1.8       tholo     784: # line and trademark, to SunRiver Data Systems.  SunRiver has since changed
                    785: # its name to Boundless Technologies; see http://www.boundless.com.
1.5       tholo     786: #
1.2       deraadt   787:
                    788: # NOTE:  Any VT100 emulation, whether in hardware or software, almost
                    789: # certainly includes what DEC called the `Level 1 editing extension' codes;
                    790: # only the very oldest VT100s lacked these and there probably aren't any of
                    791: # those left alive.  To capture these, use one of the VT102 entries.
                    792: #
1.5       tholo     793: # Note that the :xn: glitch in vt100 is not quite the same as on the Concept,
1.1       deraadt   794: # since the cursor is left in a different position while in the
                    795: # weird state (concept at beginning of next line, vt100 at end
                    796: # of this line) so all versions of vi before 3.7 don't handle
1.5       tholo     797: # :xn: right on vt100. The correct way to handle :xn: is when
1.1       deraadt   798: # you output the char in column 80, immediately output CR LF
1.5       tholo     799: # and then assume you are in column 1 of the next line. If :xn:
1.1       deraadt   800: # is on, am should be on too.
                    801: #
                    802: # I assume you have smooth scroll off or are at a slow enough baud
                    803: # rate that it doesn't matter (1200? or less). Also this assumes
                    804: # that you set auto-nl to "on", if you set it off use vt100-nam
                    805: # below.
                    806: #
                    807: # The padding requirements listed here are guesses. It is strongly
                    808: # recommended that xon/xoff be enabled, as this is assumed here.
                    809: #
1.5       tholo     810: # The vt100 uses <rs2> and <rf> rather than :is:/:ct:/:st: because the
1.1       deraadt   811: # tab settings are in non-volatile memory and don't need to be
                    812: # reset upon login. Also setting the number of columns glitches
                    813: # the screen annoyingly. You can type "reset" to get them set.
                    814: #
1.8       tholo     815: # Here's a diagram of the VT100 keypad keys with their bindings.
                    816: # The top line is the name of the key (some DEC keyboards have the keys
                    817: # labelled somewhat differently, like GOLD instead of PF1, but this is
                    818: # the most "official" name).  The second line is the escape sequence it
                    819: # generates in Application Keypad mode (where "$" means the ESC
                    820: # character).  The third line contains two items, first the mapping of
                    821: # the key in terminfo, and then in termcap.
                    822: #   _______________________________________
                    823: #  |   PF1   |   PF2   |   PF3   |   PF4   |
                    824: #  |   $OP   |   $OQ   |   $OR   |   $OS   |
                    825: #  |_kf1__k1_|_kf2__k2_|_kf3__k3_|_kf4__k4_|
                    826: #  |    7         8         9         -    |
                    827: #  |   $Ow   |   $Ox   |   $Oy   |   $Om   |
                    828: #  |_kf9__k9_|_kf10_k;_|_kf0__k0_|_________|
                    829: #  |    4    |    5    |    6    |    ,    |
                    830: #  |   $Ot   |   $Ou   |   $Ov   |   $Ol   |
                    831: #  |_kf5__k5_|_kf6__k6_|_kf7__k7_|_kf8__k8_|
                    832: #  |    1    |    2    |    3    |         |
                    833: #  |   $Oq   |   $Or   |   $Os   |  enter  |
                    834: #  |_ka1__K1_|_kb2__K2_|_ka3__K3_|  $OM    |
                    835: #  |         0         |   .     |         |
                    836: #  |        $Op        |  $On    |         |
                    837: #  |___kc1_______K4____|_kc3__K5_|_kent_@8_|
1.1       deraadt   838: #
1.2       deraadt   839: # And here, for those of you with orphaned VT100s lacking documentation, is
                    840: # a description of the soft switches invoked when you do `Set Up'.
                    841: #
                    842: #  Scroll 0-Jump               Shifted 3   0-#
                    843: #  |      1-Smooth             |           1-British pound sign
                    844: #  | Autorepeat 0-Off          | Wrap Around 0-Off
                    845: #  | |          1-On           | |           1-On
                    846: #  | | Screen 0-Dark Bkg       | | New Line 0-Off
                    847: #  | | |      1-Light Bkg      | | |        1-On
                    848: #  | | | Cursor 0-Underline    | | | Interlace 0-Off
                    849: #  | | | |      1-Block        | | | |         1-On
                    850: #  | | | |                     | | | |
                    851: #  1 1 0 1       1 1 1 1       0 1 0 0       0 0 1 0       <--Standard Settings
                    852: #                | | | |                     | | | |
                    853: #                | | | Auto XON/XOFF 0-Off   | | | Power 0-60 Hz
                    854: #                | | |               1-On    | | |       1-50 Hz
                    855: #                | | Ansi/VT52 0-VT52        | | Bits Per Char. 0-7 Bits
                    856: #                | |           1-ANSI        | |                1-8 Bits
                    857: #                | Keyclick 0-Off            | Parity 0-Off
                    858: #                |          1-On             |        1-On
                    859: #                Margin Bell 0-Off           Parity Sense 0-Odd
                    860: #                            1-On                         1-Even
                    861: #
                    862: # The following SET-UP modes are assumed for normal operation:
                    863: #      ANSI_MODE       AUTO_XON/XOFF_ON        NEWLINE_OFF     80_COLUMNS
                    864: #      WRAP_AROUND_ON  JUMP_SCROLL_OFF
                    865: # Other SET-UP modes may be set for operator convenience or communication
                    866: # requirements; I recommend
                    867: #      AUTOREPEAT_ON   BLOCK_CURSOR    MARGIN_BELL_OFF    SHIFTED_3_#
                    868: # Unless you have a graphics add-on such as Digital Engineering's VT640
                    869: # (and even then, whenever it can be arranged!) you should set
                    870: #      INTERLACE_OFF
                    871: #
1.13      millert   872: # (vt100: I added <rmam>/<smam> based on the init string, also :bs:. -- esr)
1.1       deraadt   873: vt100|vt100-am|dec vt100 (w/advanced video):\
1.5       tholo     874:        :am:bs:ms:xn:xo:\
1.1       deraadt   875:        :co#80:it#8:li#24:vt#3:\
1.5       tholo     876:        :@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
                    877:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
1.3       deraadt   878:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1.5       tholo     879:        :ae=^O:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
                    880:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:do=^J:\
                    881:        :eA=\E(B\E)0:ho=\E[H:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:\
                    882:        :k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:\
                    883:        :kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
                    884:        :ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:\
                    885:        :nd=\E[C:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
1.1       deraadt   886:        :..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
1.5       tholo     887:        :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
                    888:        :up=\E[A:us=\E[4m:
1.2       deraadt   889: vt100nam|vt100-nam|vt100 no automargins:\
1.3       deraadt   890:        :am@:xn@:tc=vt100-am:
1.13      millert   891: vt100-vb|dec vt100 (w/advanced video) & no beep:\
                    892:        :bl@:vb=\E[?5h\E[?5l:tc=vt100:
1.1       deraadt   893:
                    894: # Ordinary vt100 in 132 column ("wide") mode.
                    895: vt100-w|vt100-w-am|dec vt100 132 cols (w/advanced video):\
1.3       deraadt   896:        :co#132:li#24:\
                    897:        :r2=\E>\E[?3h\E[?4l\E[?5l\E[?8h:tc=vt100-am:
1.1       deraadt   898: vt100-w-nam|vt100-nam-w|dec vt100 132 cols (w/advanced video no automargin):\
1.3       deraadt   899:        :co#132:li#14:vt@:\
                    900:        :r2=\E>\E[?3h\E[?4l\E[?5l\E[?8h:tc=vt100-nam:
1.1       deraadt   901:
                    902: # vt100 with no advanced video.
                    903: vt100-nav|vt100 without advanced video option:\
                    904:        :sg#1:\
1.8       tholo     905:        :mb@:md@:me@:mr@:sa@:se=\E[m:so=\E[7m:ue@:us@:tc=vt100:
1.1       deraadt   906: vt100-nav-w|vt100-w-nav|dec vt100 132 cols 14 lines (no advanced video option):\
1.3       deraadt   907:        :co#132:li#14:tc=vt100-nav:
1.1       deraadt   908:
                    909: # vt100 with one of the 24 lines used as a status line.
                    910: # We put the status line on the top.
                    911: vt100-s|vt100-s-top|vt100-top-s|vt100 for use with top sysline:\
                    912:        :es:hs:\
                    913:        :li#23:\
                    914:        :cl=\E[2;1H\E[J:cm=\E[%i%+^A;%dH:cs=\E[%i%i%d;%dr:\
1.5       tholo     915:        :ds=\E7\E[1;24r\E8:fs=\E8:ho=\E[2;1H:is=\E7\E[2;24r\E8:\
                    916:        :ts=\E7\E[1;%p1%dH\E[1K:\
                    917:        :tc=vt100-am:
1.1       deraadt   918:
                    919: # Status line at bottom.
                    920: # Clearing the screen will clobber status line.
                    921: vt100-s-bot|vt100-bot-s|vt100 for use with bottom sysline:\
                    922:        :es:hs:\
                    923:        :li#23:\
                    924:        :ds=\E7\E[1;24r\E8:fs=\E8:is=\E[1;23r\E[23;1H:\
1.5       tholo     925:        :ts=\E7\E[24;%p1%dH\E[1K:\
                    926:        :tc=vt100-am:
1.1       deraadt   927:
                    928: # Most of the `vt100' emulators out there actually emulate a vt102
                    929: # This entry (or vt102-nsgr) is probably the right thing to use for
                    930: # these.
                    931: vt102|dec vt102:\
                    932:        :mi:\
                    933:        :al=\E[L:dc=\E[P:dl=\E[M:ei=\E[4l:im=\E[4h:tc=vt100:
1.3       deraadt   934: vt102-w|dec vt102 in wide mode:\
1.13      millert   935:        :co#132:\
1.3       deraadt   936:        :r3=\E[?3h:tc=vt102:
1.1       deraadt   937:
                    938: # Many brain-dead PC comm programs that pretend to be `vt100-compatible'
1.5       tholo     939: # fail to interpret the ^O and ^N escapes properly.  Symptom: the :me:
1.1       deraadt   940: # string in the canonical vt100 entry above leaves the screen littered
                    941: # with little  snowflake or star characters (IBM PC ROM character \017 = ^O)
                    942: # after highlight turnoffs.  This entry should fix that, and even leave
                    943: # ACS support working, at the cost of making multiple-highlight changes
                    944: # slightly more expensive.
                    945: # From: Eric S. Raymond <esr@snark.thyrsus.com> July 22 1995
1.2       deraadt   946: vt102-nsgr|vt102 no sgr (use if you see snowflakes after highlight changes):\
1.5       tholo     947:        :me=\E[m:sa@:\
                    948:        :tc=vt102:
1.1       deraadt   949:
                    950: # VT125 Graphics CRT.  Clear screen also erases graphics
                    951: vt125|vt125 graphics terminal:\
1.8       tholo     952:        :cl=\E[H\E[2J\EPpS(E)\E\:tc=vt100:
1.2       deraadt   953:
                    954: # This isn't a DEC entry, it came from University of Wisconsin.
1.5       tholo     955: # (vt131: I added <rmam>/<smam> based on the init string, also :bs: -- esr)
1.2       deraadt   956: vt131|dec vt131:\
1.5       tholo     957:        :am:bs:xn:\
1.2       deraadt   958:        :co#80:it#8:li#24:vt#3:\
1.8       tholo     959:        :RA=\E[?7h:SA=\E[?7h:bl=^G:cd=50\E[J:ce=3\E[K:\
                    960:        :cl=50\E[;H\E[2J:cm=5\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
                    961:        :do=^J:ho=\E[H:is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:\
                    962:        :k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
                    963:        :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=2\E[5m:md=2\E[1m:\
                    964:        :me=2\E[m:mr=2\E[7m:nd=2\E[C:nw=^M^J:\
                    965:        :r1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:sc=\E7:\
                    966:        :se=2\E[m:so=2\E[7m:sr=5\EM:ta=^I:ue=2\E[m:up=2\E[A:\
                    967:        :us=2\E[4m:
1.1       deraadt   968:
                    969: # vt132 - like vt100 but slower and has ins/del line and such.
1.5       tholo     970: # I'm told that :im:/:ei: are backwards in the terminal from the
1.1       deraadt   971: # manual and from the ANSI standard, this describes the actual
                    972: # terminal. I've never actually used a vt132 myself, so this
                    973: # is untested.
                    974: #
                    975: vt132|DEC vt132:\
                    976:        :xn:\
                    977:        :al=\E[L:dc=\E[P:dl=\E[M:ei=\E[4h:im=\E[4l:ip=:sf=\n:tc=vt100:
                    978:
                    979: # vt220:
                    980: # This vt220 description maps F5--F9 to the second block of function keys
                    981: # at the top of the keyboard.  The "DO" key is used as F10 to avoid conflict
                    982: # with the key marked (ESC) on the vt220.  See vt220d for an alternate mapping.
                    983: # PF1--PF4 are used as F1--F4.
                    984: #
1.3       deraadt   985: vt220|vt200|DEC VT220 in vt100 emulation mode:\
1.8       tholo     986:        :am:bs:mi:pt:xn:xo:\
1.1       deraadt   987:        :co#80:li#24:vt#3:\
1.8       tholo     988:        :@7=\E[4~:RA=\E[?7l:SA=\E[?7h:\
                    989:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1.5       tholo     990:        :ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:\
                    991:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
                    992:        :dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
                    993:        :if=/usr/share/tabset/vt100:im=\E[4h:\
1.1       deraadt   994:        :is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
                    995:        :k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:k9=\E[21~:\
1.14    ! millert   996:        :k;=\E[29~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=\177:\
        !           997:        :kd=\EOB:kh=\E[1~:kl=\EOD:kr=\EOC:ku=\EOA:le=^H:mb=\E[5m:\
1.8       tholo     998:        :md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nl=^J:\
1.3       deraadt   999:        :r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
1.5       tholo    1000:        :rf=/usr/share/tabset/vt100:\
1.1       deraadt  1001:        :..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;:\
1.3       deraadt  1002:        :sc=\E7:se=\E[27m:sf=20\ED:so=\E[7m:sr=14\EM:ta=^I:\
                   1003:        :ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[?25h:vi=\E[?25l:
                   1004: vt220-w|vt200-w|DEC vt220 in wide mode:\
                   1005:        :co#132:\
                   1006:        :r3=\E[?3h:tc=vt220:
                   1007:
1.1       deraadt  1008: #
                   1009: # vt220d:
                   1010: # This vt220 description regards F6--F10 as the second block of function keys
                   1011: # at the top of the keyboard.  This mapping follows the description given
                   1012: # in the VT220 Programmer Reference Manual and agrees with the labeling
                   1013: # on some terminals that emulate the vt220.  There is no support for an F5.
                   1014: # See vt220 for an alternate mapping.
                   1015: #
                   1016: vt220d|DEC VT220 in vt100 mode with DEC function key labeling:\
1.3       deraadt  1017:        :F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\
1.5       tholo    1018:        :F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:k5@:\
                   1019:        :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
                   1020:        :tc=vt220:
1.1       deraadt  1021:
1.3       deraadt  1022: vt220-nam|v200-nam|VT220 in vt100 mode with no auto margins:\
                   1023:        :am@:\
                   1024:        :r2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h:tc=vt220:
1.1       deraadt  1025:
1.13      millert  1026: # This is misnamed (see xterm-8bit for an example of 8-bit controls)
1.3       deraadt  1027: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   1028: # (sgr removed to fit entry within 1023 bytes)
                   1029: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  1030: vt220-8|dec vt220 8 bit terminal:\
1.5       tholo    1031:        :am:bs:mi:ms:xn:xo:\
1.1       deraadt  1032:        :co#80:it#8:li#24:\
                   1033:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.5       tholo    1034:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
                   1035:        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
                   1036:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:\
                   1037:        :ei=\E[4l:ho=\E[H:if=/usr/share/tabset/vt100:im=\E[4h:\
                   1038:        :is=\E[?7h\E[>\E[?1h\E F\E[?4l:k1=\EOP:k2=\EOQ:k3=\EOR:\
                   1039:        :k4=\EOS:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kI=\E[2~:\
1.14    ! millert  1040:        :kN=\E[6~:kP=\E[5~:kb=\177:kd=\EOB:kh=\E[H:kl=\EOD:kr=\EOC:\
        !          1041:        :ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
1.5       tholo    1042:        :nw=\EE:rc=\E8:sc=\E7:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:\
                   1043:        :st=\EH:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:
1.1       deraadt  1044:
1.13      millert  1045: # vt220 termcap written Tue Oct 25 20:41:10 1988 by Alex Latzko
                   1046: # (not an official DEC entry!)
                   1047: # The problem with real vt220 terminals is they don't send escapes when in
                   1048: # in vt220 mode.  This can be gotten around two ways.  1> don't send
                   1049: # escapes or 2> put the vt220 into vt100 mode and use all the nifty
                   1050: # features of vt100 advanced video which it then has.
                   1051: #
                   1052: # This entry takes the view of putting a vt220 into vt100 mode so
                   1053: # you can use the escape key in emacs and everything else which needs it.
                   1054: #
                   1055: # You probably don't want to use this on a VMS machine since VMS will think
                   1056: # it has a vt220 and will get fouled up coming out of emacs
                   1057: #
                   1058: # From: Alexander Latzko <latzko@marsenius.rutgers.edu>, 30 Dec 1996
                   1059: vt200-js|vt220-js|dec vt200 series with jump scroll:\
                   1060:        :am:\
                   1061:        :co#80:\
                   1062:        :al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
                   1063:        :cr=^M:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:dm=:do=^J:ed=:\
                   1064:        :ei=\E[4l:ho=\E[H:im=\E[4h:\
                   1065:        :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:\
1.14    ! millert  1066:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=\177:kd=\EOB:\
1.13      millert  1067:        :ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
                   1068:        :nw=^M\ED:r1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
                   1069:        :rf=/usr/lib/tabset/vt100:se=5\E[27m:sf=\ED:so=5\E[7m:\
                   1070:        :sr=\EM:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:
                   1071:
1.1       deraadt  1072: # This was DEC's vt320.  Use the purpose-built one below instead
                   1073: #vt320|DEC VT320 in vt100 emulation mode,
                   1074: #      use=vt220,
                   1075:
                   1076: #
                   1077: # Use v320n for SCO's LYRIX.  Otherwise, use Adam Thompson's vt320-nam.
                   1078: #
1.2       deraadt  1079: vt320nam|v320n|DEC VT320 in vt100 emul. mode with NO AUTO WRAP mode:\
1.3       deraadt  1080:        :am@:\
                   1081:        :r2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h:tc=vt220:
1.1       deraadt  1082:
                   1083: # These entries are not DEC's official ones, they were purpose-built for the
                   1084: # VT320.  Here are the designer's notes:
1.2       deraadt  1085: # <kel> is end on a PC kbd.  Actually 'select' on a VT.  Mapped to
                   1086: # 'Erase to End of Field'... since nothing seems to use 'end' anyways...
1.1       deraadt  1087: # khome is Home on a PC kbd.  Actually 'FIND' on a VT.
1.2       deraadt  1088: # Things that use <knxt> usually use tab anyways... and things that don't use
                   1089: # tab usually use <knxt> instead...
1.1       deraadt  1090: # kprv is same as tab - Backtab is useless...
1.5       tholo    1091: # I left out :sa: because of its RIDICULOUS complexity,
1.1       deraadt  1092: # and the resulting fact that it causes the termcap translation of the entry
                   1093: # to SMASH the 1k-barrier...
                   1094: # From: Adam Thompson <thompson@xanth.magic.mb.ca> Sept 10 1995
1.5       tholo    1095: # (vt320: uncommented :fs: --esr)
1.3       deraadt  1096: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   1097: # (sgr removed to fit entry within 1023 bytes)
                   1098: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  1099: vt320|vt300|dec vt320 7 bit terminal:\
                   1100:        :am:es:hs:mi:ms:xn:\
                   1101:        :co#80:li#24:ws#80:\
                   1102:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   1103:        :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
1.5       tholo    1104:        :RI=\E[%dC:UP=\E[%dA:ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:\
                   1105:        :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
                   1106:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:\
                   1107:        :ei=\E[4l:fs=\E[0$}:ho=\E[H:im=\E[4h:\
1.1       deraadt  1108:        :is=\E>\E[?3l\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
                   1109:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
1.5       tholo    1110:        :k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
                   1111:        :kb=\177:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:kl=\EOD:kr=\EOC:\
                   1112:        :ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:\
                   1113:        :mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:sc=\E7:se=\E[m:sf=\ED:\
                   1114:        :so=\E[7m:sr=\EM:st=\EH:ta=^I:ts=\E[1$}\E[H\E[K:ue=\E[m:\
                   1115:        :up=\E[A:us=\E[4m:ve=\E[?25h:vi=\E[?25l:
1.1       deraadt  1116: vt320-nam|vt300-nam|dec vt320 7 bit terminal with no am to make SAS happy:\
                   1117:        :am@:\
1.3       deraadt  1118:        :is=\E>\E[?3l\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H:\
1.5       tholo    1119:        :r2=\E>\E[?3l\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H:\
                   1120:        :tc=vt320:
1.1       deraadt  1121: # We have to init 132-col mode, not 80-col mode.
                   1122: vt320-w|vt300-w|dec vt320 wide 7 bit terminal:\
                   1123:        :co#132:ws#132:\
1.3       deraadt  1124:        :is=\E>\E[?3h\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
1.5       tholo    1125:        :r2=\E>\E[?3h\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
                   1126:        :tc=vt320:
1.1       deraadt  1127: vt320-w-nam|vt300-w-nam|dec vt320 wide 7 bit terminal with no am:\
                   1128:        :am@:\
1.3       deraadt  1129:        :is=\E>\E[?3h\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H:\
1.5       tholo    1130:        :r2=\E>\E[?3h\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H:\
                   1131:        :tc=vt320-w:
1.1       deraadt  1132:
1.2       deraadt  1133: # VT330 and VT340 -- These are ReGIS and SIXEL graphics terminals
                   1134: #   which are pretty much a superset of the VT320.  They have the
                   1135: #   host writable status line, yet another different DRCS matrix size,
                   1136: #   and such, but they add the DEC Technical character set, Multiple text
                   1137: #   pages, selectable length pages, and the like.  The difference between
                   1138: #   the vt330 and vt340 is that the latter has only 2 planes and a monochrome
                   1139: #   monitor, the former has 4 planes and a color monitor.  These terminals
                   1140: #   support VT131 and ANSI block mode, but as with much of these things,
                   1141: #   termcap/terminfo doesn't deal with these features.
                   1142: #
                   1143: # Note that this entry is are set up in what was the standard way for GNU
                   1144: # Emacs v18 terminal modes to deal with the cursor keys in that the arrow
                   1145: # keys were switched into application mode at the same time the numeric pad
                   1146: # is switched into application mode.  This changes the definitions of the
                   1147: # arrow keys.  Emacs v19 is smarter and mines its keys directly out of
1.8       tholo    1148: # your termcap or terminfo entry,
1.2       deraadt  1149: #
                   1150: # From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
                   1151: # (vt340: string capability "sb=\E[M" corrected to "sr";
                   1152: # also, added <rmam>/<smam> based on the init string -- esr)
                   1153: vt340|dec-vt340|vt330|dec-vt330|dec vt340 graphics terminal with 24 line page:\
                   1154:        :am:es:hs:mi:ms:xn:xo:\
                   1155:        :co#80:it#8:li#24:vt#3:\
                   1156:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.3       deraadt  1157:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
1.5       tholo    1158:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1.3       deraadt  1159:        :ae=^O:al=\E[L:as=^N:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
1.5       tholo    1160:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
                   1161:        :dl=\E[M:do=^J:ds=\E[2$~\r\E[1$}\E[K\E[$}:ei=\E[4l:\
                   1162:        :fs=\E[$}:ho=\E[H:im=\E[4h:\
1.2       deraadt  1163:        :is=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
                   1164:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
1.14    ! millert  1165:        :k8=\E[19~:k9=\E[20~:kb=\177:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
1.5       tholo    1166:        :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l1=pf1:l2=pf2:l3=pf3:l4=pf4:\
                   1167:        :le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=^M\ED:\
                   1168:        :r1=\E[?3l:rc=\E8:rf=/usr/share/tabset/vt300:sc=\E7:\
                   1169:        :se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
1.3       deraadt  1170:        :ts=\E[2$~\E[1$}\E[1;%dH:ue=\E[24m:up=\E[A:us=\E[4m:\
                   1171:        :vb=200\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
1.2       deraadt  1172:
                   1173: # DEC doesn't supply a vt400 description, so we add Daniel Glasser's
                   1174: # (originally written with vt420 as its primary name, and usable for it).
                   1175: #
                   1176: # VT400/420 -- This terminal is a superset of the vt320.  It adds the multiple
                   1177: #    text pages and long text pages with selectable length of the vt340, along
                   1178: #    with left and right margins, rectangular area text copy, fill, and erase
                   1179: #    operations, selected region character attribute change operations,
                   1180: #    page memory and rectangle checksums, insert/delete column, reception
                   1181: #    macros, and other features too numerous to remember right now.  TERMCAP
                   1182: #    can only take advantage of a few of these added features.
                   1183: #
                   1184: # Note that this entry is are set up in what was the standard way for GNU
                   1185: # Emacs v18 terminal modes to deal with the cursor keys in that the arrow
                   1186: # keys were switched into application mode at the same time the numeric pad
                   1187: # is switched into application mode.  This changes the definitions of the
                   1188: # arrow keys.  Emacs v19 is smarter and mines its keys directly out of
                   1189: # your termcap entry,
                   1190: #
                   1191: # From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
                   1192: # (vt400: string capability ":sb=\E[M:" corrected to ":sr=\E[M:";
                   1193: # also, added <rmam>/<smam> based on the init string -- esr)
1.8       tholo    1194: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   1195: # (sgr removed to fit entry within 1023 bytes)
                   1196: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.2       deraadt  1197: vt400|vt400-24|dec-vt400|dec vt400 24x80 column autowrap:\
                   1198:        :am:es:hs:mi:ms:xn:xo:\
                   1199:        :co#80:it#8:li#24:vt#3:\
                   1200:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.8       tholo    1201:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:\
                   1202:        :cd=10\E[J:ce=4\E[K:cl=10\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
                   1203:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
                   1204:        :ds=\E[2$~\r\E[1$}\E[K\E[$}:ei=\E[4l:fs=\E[$}:ho=\E[H:\
                   1205:        :ic=\E[@:im=\E[4h:\
1.2       deraadt  1206:        :is=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
                   1207:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
1.14    ! millert  1208:        :k8=\E[19~:k9=\E[20~:kb=\177:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
1.8       tholo    1209:        :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:\
                   1210:        :me=\E[m:mr=\E[7m:nd=\E[C:nw=^M\ED:rc=\E8:sc=\E7:se=\E[27m:\
                   1211:        :sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
                   1212:        :ts=\E[2$~\E[1$}\E[1;%dH:ue=\E[24m:up=\E[A:us=\E[4m:\
                   1213:        :vb=200\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
1.2       deraadt  1214:
1.8       tholo    1215: # (vt420: I removed :k0:, it collided with <kf10>.  I also restored
                   1216: # a missing :sc: -- esr)
1.1       deraadt  1217: vt420|DEC VT420:\
                   1218:        :am:mi:xn:xo:\
                   1219:        :co#80:li#24:vt#3:\
1.3       deraadt  1220:        :*6=\E[4~:@0=\E[1~:RA=\E[?7l:\
                   1221:        :S5=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
                   1222:        :SA=\E[?7h:\
                   1223:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1.1       deraadt  1224:        :ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:\
1.2       deraadt  1225:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
1.1       deraadt  1226:        :dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
1.5       tholo    1227:        :i2=\E[?67h\E[64;1"p:if=/usr/share/tabset/vt300:\
                   1228:        :im=\E[4h:is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:\
                   1229:        :k4=\EOS:k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:\
                   1230:        :k9=\E[21~:k;=\E[29~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
1.14    ! millert  1231:        :kb=\177:kd=\E[B:ke=\E>:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=^H:\
1.5       tholo    1232:        :mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
                   1233:        :r3=\E[?67h\E[64;1"p:rc=\E8:rf=/usr/share/tabset/vt300:\
1.1       deraadt  1234:        :..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;:\
1.8       tholo    1235:        :sc=\E7:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:\
                   1236:        :up=\E[A:us=\E[4m:
1.1       deraadt  1237:
                   1238: #
1.13      millert  1239: # DEC VT220 and up support DECUDK (user-defined keys).  DECUDK (i.e., pfx)
                   1240: # takes two parameters, the key and the string.  Translating the key is
                   1241: # straightforward (keys 1-5 are not defined on real terminals, though some
                   1242: # emulators define these):
                   1243: #
1.1       deraadt  1244: #               if (key < 16) then  value = key;
                   1245: #               else if (key < 21) then value = key + 1;
                   1246: #               else if (key < 25) then value = key + 2;
                   1247: #               else if (key < 27) then value = key + 3;
                   1248: #               else if (key < 30) then value = key + 4;
                   1249: #               else value = key + 5;
                   1250: #
1.13      millert  1251: # The string must be the hexadecimal equivalent, e.g., "5052494E" for "PRINT".
                   1252: # There's no provision in terminfo for emitting a string in this format, so the
                   1253: # application has to know it.
                   1254: #
1.1       deraadt  1255: vt420pc|DEC VT420 w/PC keyboard:\
1.5       tholo    1256:        :@7=\E[4~:F1=\E[23~:F2=\E[24~:F3=\E[11;2~:F4=\E[12;2~:\
                   1257:        :F5=\E[13;2~:F6=\E[14;2~:F7=\E[15;2~:F8=\E[17;2~:\
                   1258:        :F9=\E[18;2~:FA=\E[19;2~:FB=\E[20;2~:FC=\E[21;2~:\
                   1259:        :FD=\E[23;2~:FE=\E[24;2~:FF=\E[23~:FG=\E[24~:FH=\E[25~:\
                   1260:        :FI=\E[26~:FJ=\E[28~:FK=\E[29~:FL=\E[31~:FM=\E[32~:\
                   1261:        :FN=\E[33~:FO=\E[34~:FP=\E[35~:FQ=\E[36~:FR=\E[23;2~:\
                   1262:        :FS=\E[24;2~:FT=\E[25;2~:FU=\E[26;2~:FV=\E[28;2~:\
                   1263:        :FW=\E[29;2~:FX=\E[31;2~:FY=\E[32;2~:FZ=\E[33;2~:\
                   1264:        :Fa=\E[34;2~:Fb=\E[35;2~:Fc=\E[36;2~:\
                   1265:        :S6=USR_TERM\072vt420pcdos\072:k1=\E[11~:k2=\E[12~:\
                   1266:        :k3=\E[13~:k4=\E[14~:k5=\E[15~:k6=\E[17~:k7=\E[18~:\
                   1267:        :k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\177:kh=\E[H:\
1.8       tholo    1268:        :..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:
1.1       deraadt  1269:
                   1270: vt420pcdos|DEC VT420 w/PC for DOS Merge:\
                   1271:        :li#25:\
1.3       deraadt  1272:        :S1=%?%p2%{19}%=%t\E\023\021%e%p2%{32}%<%t\E%p2%c%e%p2%{127}%=%t\E\177%e%p2%c%;:\
                   1273:        :S4=\E[?1;2r\E[34h:\
                   1274:        :S5=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:S6@:\
1.5       tholo    1275:        :me=\E[m:sa@:\
                   1276:        :tc=vt420pc:
1.1       deraadt  1277:
                   1278: vt420f|DEC VT420 with VT kbd; VT400 mode; F1-F5 used as Fkeys:\
1.3       deraadt  1279:        :F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\
                   1280:        :F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:\
1.1       deraadt  1281:        :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
1.3       deraadt  1282:        :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
1.5       tholo    1283:        :kD=\177:kh=\E[H:l1=\EOP:l2=\EOQ:l3=\EOR:l4=\EOS:\
                   1284:        :tc=vt420:
1.1       deraadt  1285:
                   1286: vt510|DEC VT510:\
                   1287:        :tc=vt420:
                   1288: vt510pc|DEC VT510 w/PC keyboard:\
                   1289:        :tc=vt420pc:
                   1290: vt510pcdos|DEC VT510 w/PC for DOS Merge:\
                   1291:        :tc=vt420pcdos:
1.6       etheisen 1292:
1.1       deraadt  1293: # VT520/VT525
                   1294: #
                   1295: # The VT520 is a monochrome text terminal capable of managing up to
                   1296: # four independent sessions in the terminal.  It has multiple ANSI
                   1297: # emulations (VT520, VT420, VT320, VT220, VT100, VT PCTerm, SCO Console)
                   1298: # and ASCII emulations (WY160/60, PCTerm, 50/50+, 150/120, TVI 950,
                   1299: # 925 910+, ADDS A2).  This terminfo data is for the ANSI emulations only.
                   1300: #
                   1301: # Terminal Set-Up is entered by pressing [F3], [Caps Lock]/[F3] or
                   1302: # [Alt]/[Print Screen] depending upon which keyboard and which
                   1303: # terminal mode is being used.  If Set-Up has been disabled or
                   1304: # assigned to an unknown key, Set-Up may be entered by pressing
                   1305: # [F3] as the first key after power up, regardless of keyboard type.
1.8       tholo    1306: # (vt520: I added <rmam>/<smam> based on the init string, also :sc: -- esr)
                   1307: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.1       deraadt  1308: vt520|DEC VT520:\
                   1309:        :am:mi:xn:xo:\
                   1310:        :co#80:li#24:vt#3:\
1.3       deraadt  1311:        :*6=\E[4~:@0=\E[1~:RA=\E[?7l:\
                   1312:        :S5=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
                   1313:        :SA=\E[?7h:\
                   1314:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1.1       deraadt  1315:        :ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:\
1.2       deraadt  1316:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
1.1       deraadt  1317:        :dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
1.5       tholo    1318:        :i2=\E[?67h\E[64;1"p:if=/usr/share/tabset/vt300:\
                   1319:        :im=\E[4h:is=\E[1;24r\E[24;1H:k0=\E[29~:k1=\EOP:k2=\EOQ:\
                   1320:        :k3=\EOR:k4=\EOS:k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:\
                   1321:        :k9=\E[21~:k;=\E[29~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
1.14    ! millert  1322:        :kb=\177:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
1.8       tholo    1323:        :md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:r3=\E[?67h\E[64;1"p:\
                   1324:        :rc=\E8:rf=/usr/share/tabset/vt300:sc=\E7:se=\E[m:sf=\ED:\
                   1325:        :so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
1.1       deraadt  1326:
1.5       tholo    1327: # (vt525: I added <rmam>/<smam> based on the init string;
1.8       tholo    1328: # removed :se:=\E[m, :ue:=\E[m, added :sc: -- esr)
                   1329: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.1       deraadt  1330: vt525|DEC VT525:\
                   1331:        :am:mi:xn:xo:\
                   1332:        :co#80:li#24:vt#3:\
1.3       deraadt  1333:        :*6=\E[4~:@0=\E[1~:RA=\E[?7l:\
                   1334:        :S5=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
                   1335:        :SA=\E[?7h:\
                   1336:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1.1       deraadt  1337:        :ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:\
1.2       deraadt  1338:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
1.1       deraadt  1339:        :dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
1.5       tholo    1340:        :i2=\E[?67h\E[64;1"p:if=/usr/share/tabset/vt300:\
                   1341:        :im=\E[4h:is=\E[1;24r\E[24;1H:k0=\E[29~:k1=\EOP:k2=\EOQ:\
                   1342:        :k3=\EOR:k4=\EOS:k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:\
                   1343:        :k9=\E[21~:k;=\E[29~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
1.14    ! millert  1344:        :kb=\177:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
1.8       tholo    1345:        :md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:r3=\E[?67h\E[64;1"p:\
                   1346:        :rc=\E8:rf=/usr/share/tabset/vt300:sc=\E7:se=\E[m:sf=\ED:\
                   1347:        :so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
1.1       deraadt  1348:
                   1349: #### VT100 emulations
                   1350: #
                   1351:
1.2       deraadt  1352: # John Hawkinson <jhawk@MIT.EDU> tells us that the EWAN telnet for Windows
                   1353: # (the best Windows telnet as of September 1995) presents the name `dec-vt100'
1.8       tholo    1354: # to telnetd.   Michael Deutschmann <ldeutsch@mail.netshop.net> informs us
                   1355: # that this works best with a stock vt100 entry.
1.2       deraadt  1356: dec-vt100|EWAN telnet's vt100 emulation:\
1.8       tholo    1357:        :tc=vt100:
                   1358:
                   1359: # From: Adrian Garside <94ajg2@eng.cam.ac.uk>, 19 Nov 1996
                   1360: dec-vt220|DOS tnvt200 terminal emulator:\
                   1361:        :am@:tc=vt220:
1.2       deraadt  1362:
1.1       deraadt  1363: # Zstem340 is an (IMHO) excellent VT emulator for PC's.  I recommend it to
                   1364: # anyone who needs PC VT340 emulation. (or anything below that level, for
                   1365: # that matter -- DEC's ALL-in-1 seems happy with it, as does INFOPLUS's
                   1366: # RDBM systems, it includes ReGIS and SiXel support!  I'm impressed...
                   1367: # I can send the address if requested.
1.2       deraadt  1368: # (z340: changed garbled \E[5?l to \E[?5l, DEC smooth scroll off -- esr)
1.1       deraadt  1369: # From: Adam Thompson <thompson@xanth.magic.mb.ca> Sept 10 1995
                   1370: z340|zstem vt340 terminal emulator 132col 42line:\
                   1371:        :li#42:\
1.3       deraadt  1372:        :is=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H:\
1.5       tholo    1373:        :r2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H:\
                   1374:        :tc=vt320-w:
1.13      millert  1375: z340-nam|zstem vt340 terminal emulator 132col 42line (no automatic margins):\
1.1       deraadt  1376:        :am@:\
1.3       deraadt  1377:        :is=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H:\
1.5       tholo    1378:        :r2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H:\
                   1379:        :tc=z340:
1.1       deraadt  1380:
1.3       deraadt  1381: #### X terminal emulators
1.1       deraadt  1382: #
1.5       tholo    1383: # You can add the following line to your .Xdefaults to change the terminal type
                   1384: # set by the xterms you start up to my-xterm:
                   1385: #
                   1386: # *termName:  my-xterm
                   1387: #
                   1388: # System administrators can change the default entry for xterm instances
                   1389: # by adding a similar line to /usr/X11/lib/X11/app-defaults/XTerm.  In either
                   1390: # case, xterm will detect and reject an invalid terminal type, falling back
                   1391: # to the default of xterm.
                   1392: #
1.1       deraadt  1393:
                   1394: # X10/6.6      11/7/86, minus alternate screen, plus (csr)
1.2       deraadt  1395: # (xterm: ":MT:" changed to ":km:"; added <smam>/<rmam> based on init string;
1.1       deraadt  1396: # removed (hs, eslok, tsl=\E[?E\E[?%i%dT, fsl=\E[?F, dsl=\E[?E)
                   1397: # as these seem not to work -- esr)
                   1398: x10term|vs100-x10|xterm terminal emulator (X10 window system):\
1.8       tholo    1399:        :am:bs:km:mi:ms:xn:xo:\
1.1       deraadt  1400:        :co#80:it#8:li#65:\
1.3       deraadt  1401:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:RA=\E[?7l:SA=\E[?7h:\
                   1402:        :al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:\
1.5       tholo    1403:        :cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:\
                   1404:        :im=\E[4h:is=\E\E[m\E[?7h\E[?1;4l:k1=\EOP:k2=\EOQ:\
                   1405:        :k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
                   1406:        :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:me=\E[m:\
1.13      millert  1407:        :mr=\E[7m:nd=\E[C:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:\
                   1408:        :ue=\E[m:up=\E[A:us=\E[4m:
1.8       tholo    1409: # Compatible with the R5 xterm
                   1410: # (from the XFree86 3.2 distribution, <blink=@> removed)
                   1411: xterm-r5|xterm R5 version:\
                   1412:        :am:bs:km:ms:xn:\
                   1413:        :co#80:it#8:li#24:\
                   1414:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:\
                   1415:        :F2=\E[24~:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
                   1416:        :al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
                   1417:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
                   1418:        :dl=\E[M:do=^J:ei=:ho=\E[H:ic=\E[@:im=:k0=\EOq:k1=\E[11~:\
                   1419:        :k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:k6=\E[17~:\
                   1420:        :k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kA=\E[30~:\
                   1421:        :kD=\E[3~:kE=\E[8~:kI=\E[2~:kL=\E[31~:kN=\E[6~:kP=\E[5~:\
                   1422:        :kb=^H:kd=\EOB:ke=\E[?1l\E>:kh=\E[7~:kl=\EOD:kr=\EOC:\
                   1423:        :ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:me=\E[m:mr=\E[7m:\
                   1424:        :nd=\E[C:r1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H:\
                   1425:        :rc=\E8:\
                   1426:        :..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m:\
                   1427:        :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:up=\E[A:
                   1428: # Compatible with the R6 xterm
                   1429: # (from XFree86 3.2 distribution, <acsc> and :it: added, <blink@> removed)
                   1430: xterm-r6|xterm-old|xterm X11R6 version:\
                   1431:        :am:bs:km:mi:ms:xn:\
                   1432:        :co#80:it#8:li#24:\
                   1433:        :*6=\E[4~:@0=\E[1~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
                   1434:        :DO=\E[%dB:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
                   1435:        :F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
                   1436:        :FA=\E[34~:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
                   1437:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
                   1438:        :ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
                   1439:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
                   1440:        :dl=\E[M:do=^J:eA=\E)0:ei=\E[4l:ho=\E[H:im=\E[4h:\
                   1441:        :is=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:k1=\EOP:\
                   1442:        :k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:k7=\E[18~:\
                   1443:        :k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\E[3~:kI=\E[2~:kN=\E[6~:\
                   1444:        :kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:\
                   1445:        :ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:me=\E[m:ml=\El:\
                   1446:        :mr=\E[7m:mu=\Em:nd=\E[C:\
                   1447:        :r2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:rc=\E8:\
                   1448:        :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:\
                   1449:        :te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[m:up=\E[A:\
                   1450:        :us=\E[4m:
1.13      millert  1451: # This is the base xterm entry for the xterm supplied with XFree86 3.2 & up.
1.8       tholo    1452: # The name has been changed and some aliases have been removed.
1.3       deraadt  1453: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   1454: # (sgr removed to fit entry within 1023 bytes)
                   1455: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.13      millert  1456: xterm-xf86-v32|xterm terminal emulator (XFree86 3.2 Window System):\
1.8       tholo    1457:        :am:bs:km:mi:ms:xn:\
                   1458:        :co#80:it#8:li#24:\
1.2       deraadt  1459:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.8       tholo    1460:        :K1=\EOw:K2=\EOy:K3=\EOu:K4=\EOq:K5=\EOs:LE=\E[%dD:\
1.13      millert  1461:        :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
                   1462:        :cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
1.8       tholo    1463:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:\
                   1464:        :ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:\
                   1465:        :is=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:\
1.1       deraadt  1466:        :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
1.5       tholo    1467:        :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\177:kI=\E[2~:\
                   1468:        :kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kh=\EOH:\
                   1469:        :kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:\
1.8       tholo    1470:        :me=\E[m\017:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[27m:\
                   1471:        :sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:te=\E[2J\E[?47l\E8:\
                   1472:        :ti=\E7\E[?47h:ue=\E[24m:up=\E[A:us=\E[4m:\
                   1473:        :vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
1.5       tholo    1474:
1.13      millert  1475: # This is the stock xterm entry supplied with XFree86 3.3, which uses VT100
                   1476: # codes for F1-F4 except while in VT220 mode.
                   1477: xterm-xf86-v33|xterm terminal emulator (XFree86 3.3 Window System):\
                   1478:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
                   1479:        :tc=xterm-xf86-v32:
                   1480:
                   1481: # This beta version will probably be released in XFree86 4.0 in 1998.
                   1482: # Besides providing printer support, it exploits a new feature that allows
                   1483: # xterm to use terminfo-based descriptions with the titeInhibit resource.
                   1484: xterm-xf86-v40|xterm terminal emulator (XFree86 4.0 Window System):\
                   1485:        :5i:\
                   1486:        :pf=\E[4i:po=\E[5i:ps=\E[i:r1=\Ec:te=\E[?1047l\E[?1048l:\
                   1487:        :ti=\E[?1048h\E[?1047h:\
                   1488:        :tc=xterm-xf86-v33:
                   1489:
                   1490: # From: David J. MacKenzie <djm@va.pubnix.com>, 14 Nov 1997
                   1491: xterm-xi|xterm on XI Graphics Accelerated X under BSD/OS 3.1:\
                   1492:        :se=\E[m:ue=\E[m:\
                   1493:        :tc=xterm-xf86-v33:
                   1494:
                   1495: # This is one of the variants from XFree86 3.3 xterm, updated for 4.0
                   1496: # From Thomas S. Dickey <dickey@clark.net>, 11 May 1998
                   1497: xterm-16color|xterm with 16 colors like aixterm:\
                   1498:        :Co#16:NC#32:pa#256:\
                   1499:        :AB@:AF@:\
                   1500:        :..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:\
                   1501:        :..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:\
                   1502:        :tc=xterm-xf86-v40:
                   1503:
                   1504: # This is another variant, for XFree86 4.0 xterm (T.Dickey)
                   1505: # This is an 8-bit version of xterm, which emulates DEC vt220 with ANSI color.
                   1506: # To use it, your decTerminalID resource must be set to 200 or above.
                   1507: #
                   1508: #      HTS     \E H    \210
                   1509: #      RI      \E M    \215
                   1510: #      SS3     \E O    \217
                   1511: #      CSI     \E [    \233
                   1512: #
                   1513: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   1514: # (sgr removed to fit entry within 1023 bytes)
                   1515: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
                   1516: xterm-8bit|xterm terminal emulator 8-bit controls (X Window System):\
                   1517:        :am:bs:km:mi:ms:xn:\
                   1518:        :co#80:it#8:li#24:\
                   1519:        :AL=\233%dL:DC=\233%dP:DL=\233%dM:DO=\233%dB:IC=\233%d@:\
                   1520:        :K1=\217w:K2=\217y:K3=\217u:K4=\217q:K5=\217s:LE=\233%dD:\
                   1521:        :RI=\233%dC:UP=\233%dA:ae=^O:al=\233L:as=^N:bl=^G:bt=\233Z:\
                   1522:        :cd=\233J:ce=\233K:cl=\233H\2332J:cm=\233%i%d;%dH:cr=^M:\
                   1523:        :cs=\233%i%d;%dr:ct=\2333g:dc=\233P:dl=\233M:do=^J:\
                   1524:        :ec=\233%dX:ei=\2334l:ho=\233H:ic=\233@:im=\2334h:\
                   1525:        :is=\E7\E G\233r\233m\233?7h\233?1;3;4;6l\2334l\E8\E>:\
                   1526:        :k1=\23311~:k2=\23312~:k3=\23313~:k4=\23314~:k5=\23315~:\
                   1527:        :k6=\23317~:k7=\23318~:k8=\23319~:k9=\23320~:kD=\2333~:\
                   1528:        :kI=\2332~:kN=\2336~:kP=\2335~:kb=^H:kd=\217B:\
                   1529:        :ke=\233?1l\E>:kh=\217H:kl=\217D:kr=\217C:ks=\233?1h\E=:\
                   1530:        :ku=\217A:le=^H:md=\2331m:me=\233m^O:mr=\2337m:nd=\233C:\
                   1531:        :rc=\E8:sc=\E7:se=\23327m:sf=^J:so=\2337m:sr=\215:st=\210:\
                   1532:        :ta=^I:te=\2332J\233?47l\E8:ti=\E7\233?47h:ue=\23324m:\
                   1533:        :up=\233A:us=\2334m:vb=\233?5h\233?5l:ve=\233?25h:\
                   1534:        :vi=\233?25l:vs=\233?25h:
                   1535:
1.8       tholo    1536: # This is xterm for ncurses. It mainly adds mappings for more high-half
                   1537: # characters.  Note that these will only work for fixed-width fonts.
1.14    ! millert  1538: #xterm|vs100|xterms|xterm terminal emulator (X Window System):\
        !          1539: #      :Km=\E[M:\
        !          1540: #      :ac=++\054\054--..00``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
        !          1541: #      :u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?1;2c:u9=\E[c:\
        !          1542: #      :tc=xterm-r6:
1.8       tholo    1543: xterm|vs100|xterms|xterm terminal emulator (X Window System):\
                   1544:        :tc=xterm-r6:
1.5       tholo    1545:
                   1546: # These entries allow access to the X titlebar and icon name as a status line.
                   1547: # Note that twm (and possibly window managers descended from it such as tvtwm,
                   1548: # ctwm, and vtwm) track windows by icon-name; thus, you don't want to mess
                   1549: # with it.
1.8       tholo    1550: xterm+sl|access X title line and icon name:\
1.5       tholo    1551:        :hs:\
                   1552:        :ws#40:\
                   1553:        :ds=\E]0;\007:fs=^G:ts=\E]0;:
1.8       tholo    1554: xterm+sl-twm|access X title line (pacify twm-descended window managers):\
1.5       tholo    1555:        :hs:\
                   1556:        :ws#40:\
                   1557:        :ds=\E]2;\007:fs=^G:ts=\E]2;:
                   1558:
                   1559: #
1.8       tholo    1560: # The following xterm variants don't depend on your base version
1.5       tholo    1561: #
1.3       deraadt  1562: xterm-bold|xterm terminal emulator (X11R6 Window System) standout w/bold:\
1.5       tholo    1563:        :so=\E[1m:\
                   1564:        :tc=xterm:
1.2       deraadt  1565: # (kterm: this had extension capabilities ":KJ:TY=ascii:" -- esr)
1.5       tholo    1566: # (kterm should not invoke DEC Graphics as the alternate character set
                   1567: #  -- Kenji Rikitake)
1.1       deraadt  1568: kterm|kterm kanji terminal emulator (X window system):\
                   1569:        :es:hs:\
1.13      millert  1570:        :Km=\E[M:ac@:ae@:as@:cs=\E[%i%d;%dr:ds=\E[?H:eA@:fs=\E[?F:\
                   1571:        :op=\E[39;49m:rc=\E8:sc=\E7:ts=\E[?E\E[?%i%dT:\
                   1572:        :tc=xterm-r6:tc=klone+color:
1.1       deraadt  1573: # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
                   1574: xterm-nic|xterm with ich/ich1 suppressed for non-curses programs:\
1.5       tholo    1575:        :IC@:ei=:ic@:im=:\
                   1576:        :tc=xterm:
                   1577: # From: Mark Sheppard <kimble@mistral.co.uk>, 4 May 1996
                   1578: xterm1|xterm terminal emulator ignoring the alternate screen buffer:\
                   1579:        :te@:ti@:\
                   1580:        :tc=xterm:
                   1581:
1.8       tholo    1582: # This describes the capabilities of color_xterm, an xterm variant from
                   1583: # before ECMA-64 color support was folded into the main-line xterm release.
                   1584: # This entry is straight from color_xterm's maintainer.
                   1585: # From: Jacob Mandelson <jlm@ugcs.caltech.edu>, 09 Nov 1996
1.13      millert  1586: # The README's with the distribution also say that it supports SGR 21, 24, 25
                   1587: # and 27, but they are not present in the terminfo or termcap.
1.8       tholo    1588: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   1589: # (sgr removed to fit entry within 1023 bytes)
                   1590: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
                   1591: color_xterm|cx|cx100|color_xterm color terminal emulator for X:\
1.13      millert  1592:        :am:bs:km:mi:ms:xn:\
1.8       tholo    1593:        :co#80:it#8:li#65:\
                   1594:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   1595:        :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
                   1596:        :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:\
                   1597:        :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
                   1598:        :cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:\
                   1599:        :i1=\E[r\E[m\E[?7h\E[?4;6l\E[4l:im=\E[4h:k1=\E[11~:\
                   1600:        :k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:k6=\E[17~:\
                   1601:        :k7=\E[18~:k8=\E[19~:k9=\E[20~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
                   1602:        :kb=^H:kd=\EOB:kh=\E[7~:kl=\EOD:kr=\EOC:ku=\EOA:le=^H:\
                   1603:        :md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[27m:\
                   1604:        :sf=^J:so=\E[7m:sr=\EM:ta=^I:te=\E>\E[?41;1r:\
                   1605:        :ti=\E[?1;41s\E[?1;41h\E=:ue=\E[24m:up=\E[A:us=\E[4m:
                   1606:
1.13      millert  1607: # The 'nxterm' distributed with Redhat Linux is a slight rehack of
                   1608: # xterm-sb_right-ansi-3d, which implements ANSI colors, but does not support
                   1609: # SGR 39 or 49.  SGR 0 does reset colors (along with everything else).  This
                   1610: # description is "compatible" with color_xterm, rxvt and XFree86 xterm, except
                   1611: # that each of those implements the home, end, delete keys differently.
                   1612: nxterm|xterm-color|generic color xterm:\
                   1613:        :op=\E[m:tc=xterm-r6:\
                   1614:        :tc=klone+color:
                   1615:
                   1616: # From: Thomas Dickey <dickey@clark.net> 04 Oct 1997
                   1617: # Updated: Oezguer Kesim <kesim@math.fu-berlin.de> 02 Nov 1997
                   1618: # Notes:
                   1619: # rxvt 2.21b uses
                   1620: #      smacs=\E(B\E)U^N, rmacs=\E(B\E)0^O,
                   1621: # but some applications don't work with that.
                   1622: # It also has an AIX extension
                   1623: #      box2=lqkxjmwuvtn,
                   1624: # and
                   1625: #      ech=\E[%p1%dX,
                   1626: # but the latter does not work correctly.
                   1627: #
                   1628: # rxvt is normally configured to look for "xterm" or "xterm-color" as $TERM.
                   1629: # Since rxvt is not really compatible with xterm, it should be configured as
                   1630: # "rxvt" (monochrome) and "rxvt-color".
1.8       tholo    1631: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   1632: # (sgr removed to fit entry within 1023 bytes)
                   1633: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.13      millert  1634: rxvt-basic|rxvt terminal base (X Window System):\
                   1635:        :am:eo:km:mi:ms:xn:xo:\
1.8       tholo    1636:        :co#80:it#8:li#24:\
                   1637:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.13      millert  1638:        :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
                   1639:        :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:\
                   1640:        :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
                   1641:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:\
                   1642:        :ho=\E[H:i1=\E[?47l\E=\E[?1l:ic=\E[@:im=\E[4h:\
1.8       tholo    1643:        :is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l:\
                   1644:        :k0=\E[21~:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:\
                   1645:        :k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
                   1646:        :kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:ke=\E>:\
                   1647:        :kh=\E[7~:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=^H:mb=\E[5m:\
1.13      millert  1648:        :md=\E[1m:me=\E[0m\017:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:\
                   1649:        :se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
                   1650:        :te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[24m:up=\E[A:\
                   1651:        :us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:\
                   1652:        :vs=\E[?25h:
                   1653: rxvt|rxvt terminal emulator (X Window System):\
                   1654:        :Co#8:pa#64:\
                   1655:        :AB=\E[%p1%{40}%+%dm:AF=\E[%p1%{30}%+%dm:me=\E[m\017:\
                   1656:        :op=\E[39;49m:\
                   1657:        :tc=rxvt-basic:
1.1       deraadt  1658:
                   1659: # From: David J. MacKenzie <djm@va.pubnix.com> 20 Apr 1995
                   1660: # Here's a termcap entry I've been using for xterm_color, which comes
                   1661: # with BSD/OS 2.0, and the X11R6 contrib tape too I think.  Besides the
                   1662: # color stuff, I also have a status line defined as the window manager
                   1663: # title bar. [I have translated it to terminfo -- ESR]
                   1664: xterm-pcolor|xterm with color used for highlights and status line:\
1.5       tholo    1665:        :md=\E[1m\E[43m:mr=\E[7m\E[34m:so=\E[7m\E[31m:\
                   1666:        :us=\E[4m\E[42m:\
1.13      millert  1667:        :tc=xterm+sl:tc=xterm-r6:
1.1       deraadt  1668:
1.3       deraadt  1669: # HP ships this, except for the pb#9600 which was merged in from BSD termcap.
1.5       tholo    1670: # (hpterm: added empty <acsc>, we have no idea what ACS chars look like --esr)
1.13      millert  1671: hpterm|X-hpterm|hp X11 terminal emulator:\
1.2       deraadt  1672:        :am:da:db:mi:xs:\
1.3       deraadt  1673:        :Nl#8:co#80:lh#2:li#24:lm#0:lw#8:pb#9600:sg#0:\
1.5       tholo    1674:        :LF=\E&j@:LO=\E&jB:ac=:ae=^O:al=\EL:as=^N:bl=^G:bt=\Ei:\
                   1675:        :cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:\
                   1676:        :cr=^M:ct=\E3:cv=\E&a%dY:dc=\EP:dl=\EM:do=\EB:ei=\ER:im=\EQ:\
                   1677:        :k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:\
                   1678:        :kA=\EL:kC=\EJ:kD=\EP:kE=\EK:kF=\ES:kH=\EF:kI=\EQ:kL=\EM:\
                   1679:        :kM=\ER:kN=\EU:kP=\EV:kR=\ET:kS=\EJ:kT=\E1:ka=\E3:kb=^H:\
                   1680:        :kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:\
                   1681:        :ku=\EA:le=^H:md=\E&dB:me=\E&d@:mh=\E&dH:ml=\El:mr=\E&dB:\
                   1682:        :mu=\Em:nd=\EC:..pk=\E&f%p1%dk%p2%l%dL%p2%s:\
1.3       deraadt  1683:        :..pl=\E&f1a%p1%dk%p2%l%dL%p2%s:\
                   1684:        :..pn=\E&f%p1%dk%p2%l%dd0L%p2%s:\
                   1685:        :..px=\E&f2a%p1%dk%p2%l%dL%p2%s:\
1.2       deraadt  1686:        :..sa=\E&d%?%p7%t%'s'%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%'@'%+%c%?%p9%t%'\016'%c%e%'\017'%c%;:\
1.5       tholo    1687:        :se=\E&d@:sf=^J:so=\E&dJ:sr=\ET:st=\E1:ta=^I:ue=\E&d@:\
                   1688:        :up=\EA:us=\E&dD:
                   1689:
                   1690: # This entry describes an xterm with Sun-style function keys enabled
                   1691: # via the X resource setting "xterm*sunFunctionKeys:true"
                   1692: # To understand <kf11>/<kf12> note that L1,L2 and F11,F12 are the same.
                   1693: # The <kf13>...<kf20> keys are L3-L10.  We don't set <kf16=\E[197z>
                   1694: # because we want it to be seen as <kcpy>.
                   1695: # The <kf31>...<kf45> keys are R1-R15.  We treat some of these in accordance
                   1696: # with their Sun keyboard labels instead.
                   1697: # From: Simon J. Gerraty <sjg@zen.void.oz.au> 10 Jan 1996
                   1698: xterm-sun|xterm with sunFunctionKeys true:\
                   1699:        :%1=\E[196z:&8=\E[195z:@0=\E[200z:@5=\E[197z:@7=\E[220z:\
                   1700:        :F1=\E[192z:F2=\E[193z:F3=\E[194z:F4=\E[195z:F5=\E[196z:\
                   1701:        :F7=\E[198z:F8=\E[199z:F9=\E[200z:FA=\E[201z:FL=\E[208z:\
                   1702:        :FM=\E[209z:FN=\E[210z:FO=\E[211z:FP=\E[212z:FQ=\E[213z:\
                   1703:        :FS=\E[215z:FU=\E[217z:FW=\E[219z:FY=\E[221z:K2=\E[218z:\
                   1704:        :k1=\E[224z:k2=\E[225z:k3=\E[226z:k4=\E[227z:k5=\E[228z:\
                   1705:        :k6=\E[229z:k7=\E[230z:k8=\E[231z:k9=\E[232z:k;=\E[233z:\
                   1706:        :kI=\E[2z:kN=\E[222z:kP=\E[216z:kh=\E[214z:\
                   1707:        :tc=xterm:
                   1708: xterms-sun|small (80x24) xterm with sunFunctionKeys true:\
                   1709:        :co#80:li#24:tc=xterm-sun:
1.2       deraadt  1710:
1.3       deraadt  1711: # This is for the extensible terminal emulator on the X11R6 contrib tape.
                   1712: emu|emu native mode:\
                   1713:        :mi:ms:xo:\
                   1714:        :Co#15:co#80:it#8:li#24:pa#64:vt#200:\
1.13      millert  1715:        :*6=\Esel:@0=\Efind:@8=^M:AB=\Es%i%p1%d;:AF=\Er%i%p1%d;:\
                   1716:        :AL=\EQ%d;:DC=\EI%d;:DL=\ER%d;:DO=\Ep%d;:F1=\EF11:\
                   1717:        :F2=\EF12:F3=\EF13:F4=\EF14:F5=\EF15:F6=\EF16:F7=\EF17:\
                   1718:        :F8=\EF18:F9=\EF19:FA=\EF20:LE=\Eq-%d;:RI=\Eq%d;:\
                   1719:        :UP=\Ep-%d;:\
                   1720:        :ac=61a\202f\260g2j\213k\214l\215m\216n\217o\220q\222s\224t\225u\226v\227w\230x\231~\244:\
                   1721:        :ae=\0:al=\EQ1;:as=\0:bl=^G:cb=\EL:cd=\EN:ce=\EK:\
1.5       tholo    1722:        :cl=\EP\EE0;0;:cm=\EE%d;%d;:cr=^M:cs=\Ek%d;%d;:ct=\Ej:\
1.13      millert  1723:        :dc=\EI1;:dl=\ER1;:do=\EB:eA=\0:ec=\Ej%d;:ei=\EX:\
1.5       tholo    1724:        :ho=\EE0;0;:im=\EY:is=\ES\Er0;\Es0;:k0=\EF00:k1=\EF01:\
                   1725:        :k2=\EF02:k3=\EF03:k4=\EF04:k5=\EF05:k6=\EF06:k7=\EF07:\
                   1726:        :k8=\EF08:k9=\EF09:k;=\EF10:kD=\177:kI=\Eins:kN=\Enext:\
                   1727:        :kP=\Eprior:kb=^H:kd=\EB:kl=\EC:kr=\ED:ku=\EA:le=^H:\
                   1728:        :mb=\ES\EW:md=\ES\EU:me=\ES:mr=\ES\ET:nd=\ED:\
                   1729:        :oc=\Es0;\Er0;:r2=\ES\Es0;\Er0;:se=\ES:sf=\EG:so=\ES\ET:\
                   1730:        :sr=\EF:st=\Eh:ta=^I:ue=\ES:up=\EA:us=\ES\EV:ve=\Ea:vi=\EZ:\
                   1731:        :vs=\Ea:
1.3       deraadt  1732:
1.13      millert  1733: ######## COMMERCIAL WORKSTATION CONSOLES
1.8       tholo    1734: #
1.13      millert  1735:
                   1736: #### Alpha consoles
1.8       tholo    1737: #
                   1738:
1.13      millert  1739: # This is from the OSF/1 Release 1.0 termcap file
                   1740: pccons|pcconsole|ANSI (mostly) Alpha PC console terminal emulation:\
                   1741:        :am:xo:\
                   1742:        :co#80:li#25:\
                   1743:        :al=\E[L:bl=^G:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
                   1744:        :dc=\E[P:dl=\E[M:do=^J:ei=:ho=\E[H:ic=\E[@:im=:kb=^H:kd=\E[B:\
                   1745:        :kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:mr=\E[7m:\
                   1746:        :nd=\E[C:nw=^M^J:se=\E[m:so=\E[7m:ta=^I:up=\E[A:
1.8       tholo    1747:
1.13      millert  1748: #### AT&T consoles
1.1       deraadt  1749: #
                   1750:
1.13      millert  1751: # This actually describes the generic SVr4 display driver for Intel boxes.
                   1752: # The :mh=\E[2m: isn't documented and therefore may not be reliable.
                   1753: # From: Eric Raymond <esr@snark.thyrsus.com> Mon Nov 27 19:00:53 EST 1995
                   1754: att6386|at386|386at|AT&T WGS 6386 console:\
                   1755:        :am:bw:eo:xo:\
                   1756:        :co#80:it#8:li#25:\
                   1757:        :@7=\E[Y:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\EOZ:\
                   1758:        :F2=\EOA:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:\
                   1759:        :SR=\E[%dT:UP=\E[%dA:\
                   1760:        :ac=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~:\
                   1761:        :ae=\E[10m:al=\E[1L:as=\E[12m:bl=^G:bt=\E[Z:cd=\E[J:\
                   1762:        :ce=\E[K:ch=\E[%i%dG:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:\
                   1763:        :ct=\E[2g:cv=\E[%i%dd:dc=\E[P:dl=\E[1M:do=\E[B:ec=\E[%dX:\
                   1764:        :ei=:ho=\E[H:ic=\E[1@:im=:is=\E[0;10;39m:k1=\EOP:k2=\EOQ:\
                   1765:        :k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:k9=\EOX:\
                   1766:        :k;=\EOY:kB=^]:kD=\E[P:kI=\E[@:kM=\E0:kN=\E[U:kP=\E[V:kb=^H:\
                   1767:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:\
                   1768:        :md=\E[1m:me=\E[0;10m:mh=\E[2m:mk=\E[9m:mr=\E[7m:nd=\E[C:\
                   1769:        :nw=\r\E[S:rc=\E8:\
                   1770:        :..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:\
                   1771:        :sc=\E7:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:st=\EH:ta=^I:\
                   1772:        :ue=\E[m:up=\E[A:us=\E[4m:ve=\E[=1C:vi=\E[=C:\
                   1773:        :tc=klone+color:
                   1774: # (pc6300plus: removed ":KM=/usr/lib/ua/kmap.s5:"; renamed BO/EE/CI/CV -- esr)
                   1775: pc6300plus|AT&T 6300 plus:\
                   1776:        :am:bs:xo:\
1.5       tholo    1777:        :co#80:li#24:\
1.13      millert  1778:        :al=\E[1L:bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[2J\E[H:\
                   1779:        :cm=\E[%i%2;%2H:cr=^M:ct=\E[3g:dc=\E[1P:dl=\E[1M:do=\E[B:\
                   1780:        :ei=:ho=\E[H:ic=\E[1@:im=:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:\
                   1781:        :k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:k9=\EOk:k;=\EOu:kb=^H:\
                   1782:        :kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
                   1783:        :me=\E[m:mh=\E[2m:mk=\E[9m:mr=\E[7m:nd=\E[C:nw=^M^J:\
                   1784:        :se=\E[m:sf=^J:so=\E[7m:st=\EH:ue=\E[m:up=\E[A:us=\E[4m:\
                   1785:        :ve=\E[=1C:vi=\E[=C:
1.5       tholo    1786:
1.13      millert  1787: # From: Benjamin C. W. Sittler <bsittler@nmt.edu>
                   1788: #
                   1789: # I have a UNIX PC which I use as a terminal attached to my Linux PC.
                   1790: # Unfortunately, the UNIX PC terminfo entry that comes with ncurses
                   1791: # is broken. All the special key sequences are broken, making it unusable
                   1792: # with Emacs. The problem stems from the following:
                   1793: #
                   1794: # The UNIX PC has a plethora of keys (103 of them, and there's no numeric
                   1795: # keypad!), loadable fonts, and strange highlighting modes ("dithered"
                   1796: # half-intensity, "smeared" bold, and real strike-out, for example.) It also
                   1797: # uses resizable terminal windows, but the bundled terminal program always
                   1798: # uses an 80x24 window (and doesn't support seem to support a 132-column
                   1799: # mode.)
                   1800: #
                   1801: # HISTORY: The UNIX PC was one of the first machines with a GUI, and used a
                   1802: # library which was a superset of SVr3.5 curses (called tam, for "terminal
                   1803: # access method".) tam includes support for real, overlapping windows,
                   1804: # onscreen function key labels, and bitmap graphics. But since the primary
                   1805: # user interface on the UNIX PC was a GUI program (ua, for "user
                   1806: # assistant",) and remote administration was considered important for the
                   1807: # machine, tam also supported VT100-compatible terminals attached to the
                   1808: # serial port or used across the StarLan network. To simulate the extra keys
                   1809: # not present on a VT100, users could press ESC and a two-letter sequence,
                   1810: # such as u d (Undo) or U D (Shift-Undo.) These two-letter sequences,
                   1811: # however, were not the same as those sent by the actual Undo key. The
                   1812: # actual Undo key sends ESC 0 s unshifted, and ESC 0 S shifted, for example.
                   1813: # (If you're interested in adding some of the tam calls to ncurses, btw, I
                   1814: # have the full documentation and several programs which use tam. It also
                   1815: # used an extended terminfo format to describe key sequences, special
                   1816: # highlighting modes, etc.)
                   1817: #
                   1818: # KEYS: This means that ncurses would quite painful on the UNIX PC, since
                   1819: # there are two sequences for every key-modifier combination (local keyboard
                   1820: # sequence and remote "VT100" sequence.) But I doubt many people are trying
                   1821: # to use ncurses on the UNIX PC, since ncurses doesn't properly handle the
                   1822: # GUI. Unfortunately, the terminfo entry (and the termcap, too, I presume)
                   1823: # seem to have been built from the manual describing the VT100 sequences.
                   1824: # This means it doesn't work for a real live UNIX PC.
                   1825: #
                   1826: # FONTS: The UNIX PC also has a strange interpretation of "alternate
                   1827: # character set". Rather than the VT100 graphics you might expect, it allows
                   1828: # up to 8 custom fonts to be loaded at any given time. This means that
                   1829: # programs expecting VT100 graphics will usually be disappointed. For this
                   1830: # reason I have disabled the smacs/rmacs sequences, but they could easily be
                   1831: # re-enabled. Here are the relevant control sequences (from the ESCAPE(7)
                   1832: # manpage), should you wish to do so:
                   1833: #
                   1834: # SGR10 - Select font 0 - ESC [ 10 m or SO
                   1835: # SGR11 - Select font 1 - ESC [ 11 m or SI
                   1836: # SGR12 - Select font 2 - ESC [ 12 m
                   1837: # ... (etc.)
                   1838: # SGR17 - Select font 7 - ESC [ 17 m
                   1839: #
                   1840: # Graphics for line drawing are not reliably found at *any* character
                   1841: # location because the UNIX PC has dynamically reloadable fonts. I use font
                   1842: # 0 for regular text and font 1 for italics, but this is by no means
                   1843: # universal. So ASCII line drawing is in order if smacs/rmacs are enabled.
                   1844: #
                   1845: # MISC: The cursor visible/cursor invisible sequences were swapped in the
                   1846: # distributed terminfo.
                   1847: #
                   1848: # To ameliorate these problems (and fix a few highlighting bugs) I rewrote
                   1849: # the UNIX PC terminfo entry. The modified version works great with Lynx,
                   1850: # Emacs, and XEmacs running on my Linux PC and displaying on the UNIX PC
                   1851: # attached by serial cable. In Emacs, even the Undo key works, and many
                   1852: # applications can now use the F1-F8 keys.
                   1853: #
                   1854: # esr's notes:
                   1855: #      Terminfo entry for the AT&T Unix PC 7300
                   1856: #      from escape(7) in Unix PC 7300 Manual.
                   1857: #      Somewhat similar to a vt100-am (but different enough
                   1858: #      to redo this from scratch.)
                   1859: #
                   1860: #      /***************************************************************
                   1861: #      *
                   1862: #      *           FONT LOADING PROGRAM FOR THE UNIX PC
                   1863: #      *
                   1864: #      *     This routine loads a font defined in the file ALTFONT
                   1865: #      *     into font memory slot #1.  Once the font has been loaded,
                   1866: #      *     it can be used as an alternative character set.
                   1867: #      *
                   1868: #      *     The call to ioctl with the argument WIOCLFONT is the key
                   1869: #      *     to this routine.  For more information, see window(7) in
                   1870: #      *     the PC 7300 documentation.
                   1871: #      ***************************************************************/
                   1872: #      #include <string.h>             /* needed for strcpy call */
                   1873: #      #include <sys/window.h>         /* needed for ioctl call */
                   1874: #      #define FNSIZE  60              /* font name size */
                   1875: #      #define ALTFONT  "/usr/lib/wfont/special.8.ft"  /* font file */
                   1876: #      /*
                   1877: #      *     The file /usr/lib/wfont/special.8.ft comes with the
                   1878: #      *     standard PC software.  It defines a graphics character set
                   1879: #      *     similar to that of the Teletype 5425 terminal.  To view
                   1880: #      *     this or other fonts in /usr/lib/wfont, use the command
                   1881: #      *     cfont <filename>.  For further information on fonts see
                   1882: #      *     cfont(1) in the PC 7300 documentation.
                   1883: #      */
                   1884: #
                   1885: #      struct altfdata         /* structure for alt font data */
                   1886: #      {
                   1887: #      short   altf_slot;              /* memory slot number */
                   1888: #      char    altf_name[FNSIZE];      /* font name (file name) */
                   1889: #      };
                   1890: #      ldfont()
                   1891: #      {
                   1892: #              int wd;         /* window in which altfont will be */
                   1893: #              struct altfdata altf;
                   1894: #              altf.altf_slot=1;
                   1895: #              strcpy(altf.altf_name,ALTFONT);
                   1896: #              for (wd =1; wd < 12; wd++) {
                   1897: #                   ioctl(wd, WIOCLFONT,&altf);
                   1898: #              }
                   1899: #      }
                   1900: #
                   1901: # (att7300: added :vi:/:ve:/:ic:/<invis> from the BSDI entry,
                   1902: # they're confirmed by the man page for the System V display---esr)
                   1903: #
                   1904: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   1905: # (sgr removed to fit entry within 1023 bytes)
                   1906: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
                   1907: att7300|unixpc|pc7300|3b1|s4|AT&T UNIX PC Model 7300:\
                   1908:        :am:xo:\
1.2       deraadt  1909:        :co#80:it#8:li#24:\
1.13      millert  1910:        :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
                   1911:        :UP=\E[%dA:al=\E[L:bl=^G:bt=\E^I:cd=\E[0J:ce=\E[0K:\
                   1912:        :cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:\
                   1913:        :do=\E[B:ei=:ho=\E[H:i1=\017\E[=1w:ic=\E[@:im=:k1=\EOc:\
                   1914:        :k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:\
                   1915:        :kD=\ENf:kI=\ENj:kN=\E[U:kP=\E[V:kb=^H:kd=\E[B:kh=\E[H:\
                   1916:        :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[9m:md=\E[1m:\
                   1917:        :me=\E[0;10m:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\EE:se=\E[m:\
                   1918:        :sf=^J:so=\E[7m:sr=\EM:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[=0C:\
                   1919:        :vi=\E[=1C:
1.1       deraadt  1920:
1.13      millert  1921: #### Hewlett-Packard consoles
1.1       deraadt  1922: #
1.13      millert  1923: # These are descriptions for the HP700 series, the workstations formerly
                   1924: # known as Apollos.  HP terminals are described elsewhere in the file
1.1       deraadt  1925: #
                   1926:
1.13      millert  1927: # From: Victor Duchovni <vic@fine.princeton.edu>
                   1928: # (hp700-wy: removed obsolete ":nl=^J:";
                   1929: # replaced /usr/share/tabset/hp700-wy with std because :it#8:,:st=\E1: -- esr)
                   1930: hp700-wy|HP700/41 emulating wyse30:\
                   1931:        :am:bs:bw:mi:ms:\
                   1932:        :co#80:it#8:li#24:sg#1:\
                   1933:        :al=0.7*\EE:bt=\EI:cd=\EY:ce=10\ET:cl=^Z:cm=\E=%+ %+ :\
                   1934:        :cr=^M:ct=\E0:cv=\E[%+ :dc=\EW:dl=\ER:do=^V:ei=\Er:ho=^^:\
                   1935:        :i1=\E~"\EC\Er\E(\EG0\003\E`9\E`1:\
                   1936:        :if=/usr/share/tabset/stdcrt:im=\Eq:kB=\EI:kC=^Z:kE=\ET:\
                   1937:        :kI=\Eq:kM=\Er:kS=\EY:kT=\EI:kb=\177:kd=^V:kh=^^:kl=^H:kr=^L:\
                   1938:        :ku=^K:le=^H:ll=^^^K:me=10\EG0:nd=^L:se=10\EG0:so=10\EG4:\
                   1939:        :sr=\Ej:st=\E1:ta=^I:ue=10\EG0:up=^K:us=10\EG8:
                   1940: # (hp70092: added empty <acsc> to avoid warnings re :as:/:ae: --esr)
                   1941: hp70092|hp70092a|hp70092A|HP 700/92:\
                   1942:        :am:da:db:xs:\
                   1943:        :Nl#8:co#80:lh#2:li#24:lm#0:lw#8:\
                   1944:        :LF=\E&j@:LO=\E&jB:ac=:ae=^O:al=\EL:as=^N:bl=^G:bt=\Ei:\
                   1945:        :ce=\EK:ch=\E&a%dC:cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:cr=^M:\
                   1946:        :ct=\E3:cv=\E&a%dY:dc=\EP:dl=\EM:do=\EB:ei=\ER:im=\EQ:\
                   1947:        :k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:\
                   1948:        :kA=\EL:kC=\EJ:kD=\EP:kE=\EK:kF=\ES:kH=\EF:kI=\EQ:kL=\EM:\
                   1949:        :kM=\ER:kN=\EU:kP=\EV:kR=\ET:kS=\EJ:kT=\E1:ka=\E3:kb=^H:\
                   1950:        :kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:\
                   1951:        :ku=\EA:le=^H:mb=\E&dA:md=\E&dB:me=\E&d@:mh=\E&dH:mr=\E&dB:\
                   1952:        :nd=\EC:se=\E&d@:so=\E&dJ:sr=\ET:st=\E1:ta=^I:ue=\E&d@:\
                   1953:        :up=\EA:us=\E&dD:
1.8       tholo    1954:
1.13      millert  1955: #  HP 700/44 Setup parameters:
                   1956: # Terminal Mode                HP-PCterm
                   1957: # Inhibit Auto Wrap    NO
                   1958: # Status Line          Host Writable
                   1959: # PC Character Set     YES
                   1960: # Twenty-Five Line Mode        YES
                   1961: # XON/XOFF             @128 or 64 (sc)
                   1962: # Keycode Mode                 NO   or YES (sc)
                   1963: # Backspace Key                BS or BS/DEL
                   1964: #
                   1965: # :is:         sets pcterm; autowrap; 25 lines; pc char set; prog DEL key;
                   1966: # \E\\? does not turn off keycode mode
                   1967: # <smsc>       sets alternate start/stop; keycode on
                   1968: hpansi|hp700|hewlett packard 700/44 in HP-PCterm mode:\
                   1969:        :am:eo:xn:xo:\
                   1970:        :co#80:li#25:\
                   1971:        :@7=\E[4~:RA=\E[?7l:S4=\E[>11h\EPO**x0/65;1/67\E\:\
                   1972:        :S5=\E[>11l\EP1**x0/11;1/13\E[m\E\:SA=\E[?7h:XF=g:XN=e:\
                   1973:        :ac=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263:\
                   1974:        :al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:\
                   1975:        :cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
                   1976:        :ic=\E[@:im=:\
                   1977:        :is=\E[44"p\E[?7h\E[>10h\E[>12h\EP1;1|3/7F\E\:\
                   1978:        :k1=\E[17~:k2=\E[18~:k3=\E[19~:k4=\E[20~:k5=\E[21~:\
                   1979:        :k6=\E[23~:k7=\E[24~:k8=\E[25~:k9=\E[26~:k;=\E[28~:\
                   1980:        :kB=\E[Z:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:kh=\E[1~:kl=\E[D:\
                   1981:        :kr=\E[C:ku=\E[A:le=\E[D:me=\E[m:nd=\E[C:se=\E[m:sf=^J:\
                   1982:        :so=\E[7m:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[?25h:\
                   1983:        :vi=\E[?25l:
1.1       deraadt  1984:
                   1985: #### Iris consoles
                   1986: #
                   1987:
1.13      millert  1988: # From: Stefan Stapelberg <stefan@rent-a-guru.de>, 24 Feb 1997
                   1989: # (iris-ansi: added rmam/smam based on init string -- esr)
                   1990: iris-ansi|IRIS emulating 40 line ANSI terminal (almost VT100):\
                   1991:        :am:\
                   1992:        :co#80:it#8:li#40:\
                   1993:        :!2=\E[218q:#2=\E[143q:#4=\E[158q:%9=\E[209q:%f=\E[210q:\
                   1994:        :%i=\E[167q:&7=\E[217q:*4=\E[P:*7=\E[147q:@7=\E[146q:\
                   1995:        :@8=^M:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:F1=\EOR:F2=\EOS:\
                   1996:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
                   1997:        :al=\E[L:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
                   1998:        :cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:dl=\E[M:do=^J:ho=\E[H:\
                   1999:        :is=\E[?1l\E>\E[?7h\E[100g\E[0m\E7\E[r\E8:k1=\E[001q:\
                   2000:        :k2=\E[002q:k3=\E[003q:k4=\E[004q:k5=\E[005q:k6=\E[006q:\
                   2001:        :k7=\E[007q:k8=\E[008q:k9=\EOP:k;=\EOQ:kB=\E[Z:kD=\177:\
                   2002:        :kI=\E[139q:kM=\E[146q:kN=\E[154q:kP=\E[150q:kb=^H:\
                   2003:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:md=\E[1m:\
                   2004:        :me=\E[m:mr=\E[7m:nd=\E[C:nw=\EE:pk=\EP101;%d.y%s\E\:\
                   2005:        :rc=\E8:sc=\E7:se=\E[m:sf=\ED:so=\E[1;7m:sr=\EM:st=\EH:\
                   2006:        :ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[9/y\E[12/y\E[=6l:\
                   2007:        :vs=\E[10/y\E[=1h\E[=2l\E[=6h:
                   2008: iris-ansi-ap|IRIS ANSI in application-keypad mode:\
                   2009:        :F1=\E[011q:F2=\E[012q:is=\E[?1l\E>\E[?7h:k;=\E[010q:\
                   2010:        :ke=\E>:ks=\E=:\
                   2011:        :tc=iris-ansi:
                   2012:
                   2013: # From the man-page, this is a quasi-vt100 emulator that runs on SGI's IRIX
                   2014: # (T.Dickey 98/1/24)
                   2015: iris-color|xwsh|IRIX ANSI with color:\
                   2016:        :NC#33:\
                   2017:        :DC=\E[%dP:IC=\E[%d@:ZH=\E[3m:ZR=\E[23m:cs=\E[%i%d;%dr:\
                   2018:        :ec=\E[%dX:ei=:im=:mh=\E[2m:r1=\Ec:\
                   2019:        :r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:sc=\E7:\
                   2020:        :u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?1;2c:u9=\E[c:ue=\E[24m:\
                   2021:        :tc=klone+color:tc=iris-ansi-ap:
                   2022:
1.2       deraadt  2023: # (wsiris: this had extension capabilities
1.1       deraadt  2024: #      :HS=\E7F2:HE=\E7F7:\
                   2025: #      :CT#2:CZ=*Bblack,red,green,yellow,blue,magenta,cyan,*Fwhite:
1.8       tholo    2026: # See the note on Iris extensions near the end of this file.
1.5       tholo    2027: # Finally, removed suboptimal :cl:=\EH\EJ and added :do: &
                   2028: # :vb: from BRL -- esr)
1.1       deraadt  2029: wsiris|iris40|iris emulating a 40 line visual 50 (approximately):\
1.8       tholo    2030:        :am:bs:nc:pt:\
                   2031:        :co#80:it#8:kn#3:li#40:\
                   2032:        :al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=\Ev:cm=\EY%+ %+ :dl=\EM:\
                   2033:        :do=\EB:ho=\EH:is=\E7B0\E7F7\E7C2\E7R3:k0=\E0:k1=\E1:\
                   2034:        :k2=\E2:k3=\E3:k4=\E4:k5=\E5:k6=\E6:k7=\E7:k8=\E8:k9=\E9:\
                   2035:        :kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:me=\E7F7:mh=\E7F2:nd=\EC:\
                   2036:        :nl=\EB:se=\E0@:sf=^J:so=\E9P:sr=\EI:ta=^I:ue=\E7R3\E0@:\
                   2037:        :up=\EA:us=\E7R2\E9P:vb=\E7F4\E7B1\013\E7F7\E7B0:ve=\E>:\
                   2038:        :vs=\E;:
1.1       deraadt  2039:
                   2040: #### NeWS consoles
                   2041: #
                   2042: # Console terminal windows under the NeWS (Sun's Display Postscript windowing
                   2043: # environment).   Note: these have nothing to do with Sony's News workstation
                   2044: # line.
                   2045: #
                   2046:
                   2047: # Entry for NeWS's psterm from Eric Messick & Hugh Daniel
1.2       deraadt  2048: # (psterm: unknown ":sl=\EOl:el=\ENl:" removed -- esr)
                   2049: psterm|psterm-basic|NeWS psterm-80x34:\
                   2050:        :am:bs:hs:km:ul:\
1.1       deraadt  2051:        :co#80:it#8:li#34:\
                   2052:        :al=\EA:cd=\EB:ce=\EC:cl=^L:cm=\E%d;%d;:cs=\EE%d;%d;:\
1.2       deraadt  2053:        :dc=\EF:dl=\EK:do=\EP:ei=\ENi:fs=\ENl:ho=\ER:i1=\EN*:\
1.5       tholo    2054:        :im=\EOi:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=\ET:ll=\EU:\
                   2055:        :mb=\EOb:md=\EOd:me=\EN*:mr=\EOr:nd=\EV:rc=^\:sc=^]:se=\ENo:\
                   2056:        :sf=\EW:so=\EOo:sr=\EX:ta=^I:te=\ENt:ti=\EOt:ts=\EOl:\
                   2057:        :ue=\ENu:up=\EY:us=\EOu:vb=\EZ:
1.2       deraadt  2058: psterm-96x48|NeWS psterm 96x48:\
1.3       deraadt  2059:        :co#96:li#48:tc=psterm:
1.2       deraadt  2060: psterm-90x28|NeWS psterm 90x28:\
1.3       deraadt  2061:        :co#90:li#28:tc=psterm:
1.2       deraadt  2062: psterm-80x24|NeWS psterm 80x24:\
1.3       deraadt  2063:        :co#80:li#24:tc=psterm:
1.1       deraadt  2064: # This is a faster termcap for psterm.  Warning:  if you use this termcap,
                   2065: # some control characters you type will do strange things to the screen.
1.2       deraadt  2066: # (psterm-fast: unknown ":sl=^Ol:el=^Nl:" -- esr)
                   2067: psterm-fast|NeWS psterm fast version (flaky ctrl chars):\
                   2068:        :am:bs:hs:km:ul:\
1.1       deraadt  2069:        :co#80:it#8:li#34:\
1.5       tholo    2070:        :al=^A:cd=^B:ce=^C:cl=^L:cm=\004%d;%d;:cs=\005%d;%d;:dc=^F:\
                   2071:        :dl=^K:do=^P:ei=^Ni:fs=^Nl:ho=^R:i1=^N*:im=^Oi:kd=\E[B:\
                   2072:        :kl=\E[D:kr=\E[C:ku=\E[A:le=^T:ll=^U:mb=^Ob:md=^Od:me=^N*:\
                   2073:        :mr=^Or:nd=^V:rc=^\:sc=^]:se=^No:sf=^W:so=^Oo:sr=^X:ta=^I:\
                   2074:        :te=^Nt:ti=^Ot:ts=^Ol:ue=^Nu:up=^Y:us=^Ou:vb=^Z:
1.1       deraadt  2075:
1.13      millert  2076: #### NeXT consoles
1.1       deraadt  2077: #
1.5       tholo    2078: # Use `glasstty' for the Workspace application
1.1       deraadt  2079: #
                   2080:
1.5       tholo    2081: # From: Dave Wetzel <dave@turbocat.snafu.de> 22 Dec 1995
                   2082: next|NeXT console:\
                   2083:        :am:xt:\
                   2084:        :co#80:it#8:li#24:\
                   2085:        :bl=^G:ce=\E[K:cl=^L:cm=\E[%i%d;%dH:cr=^M:do=^J:ho=\E[H:\
                   2086:        :kb=^H:kd=^J:kl=^H:le=^H:me=\E[m:nd=\E[C:nw=^M^J:se=\E[4;1m:\
                   2087:        :sf=^J:so=\E[4;2m:ta=^I:up=\E[A:
                   2088: nextshell|NeXT Shell application:\
                   2089:        :am:\
                   2090:        :co#80:\
                   2091:        :bl=^G:cr=^M:do=^J:kb=^H:kd=^J:kl=^H:le=^H:nw=^M^J:ta=^I:
1.1       deraadt  2092:
1.13      millert  2093: #### SCO consoles
                   2094: #
                   2095:
                   2096: # SCO console and SOS-Syscons console for 386bsd
                   2097: # (scoansi: had unknown capabilities
                   2098: #      :Gc=N:Gd=K:Gh=M:Gl=L:Gu=J:Gv=\072:\
                   2099: #      :GC=E:GD=B:GH=D:GL=\64:GU=A:GV=\63:GR=C:
                   2100: #      :G1=?:G2=Z:G3=@:G4=Y:G5=;:G6=I:G7=H:G8=<:\
                   2101: #      :CW=\E[M:NU=\E[N:RF=\E[O:RC=\E[P:\
                   2102: #      :WL=\E[S:WR=\E[T:CL=\E[U:CR=\E[V:\
                   2103: # I renamed GS/GE/HM/EN/PU/PD/RT and added klone+sgr-dumb, based
                   2104: # on the :as:=\E[12m  -- esr)
                   2105: scoansi|SCO Extended ANSI standard crt:\
                   2106:        :am:bs:eo:xo:\
                   2107:        :co#80:it#8:li#25:\
                   2108:        :@7=\E[F:al=\E[L:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
                   2109:        :cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
                   2110:        :ic=\E[@:im=:k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:\
                   2111:        :k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:k;=\E[V:kN=\E[G:kP=\E[I:\
                   2112:        :kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:\
                   2113:        :mb=\E[5m:md=\E[1m:nd=\E[C:sf=\E[S:sr=\E[T:ta=^I:up=\E[A:\
                   2114:        :tc=klone+sgr-dumb:
                   2115:
                   2116: #### Sun consoles
                   2117: #
                   2118:
                   2119: # :is1: resets scrolling region in case a previous user had used "tset vt100"
                   2120: oldsun|Sun Microsystems Workstation console:\
                   2121:        :am:bs:km:mi:ms:\
                   2122:        :co#80:it#8:li#34:\
                   2123:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:al=\E[L:bl=^G:\
                   2124:        :cd=\E[J:ce=\E[K:cl=^L:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:\
                   2125:        :dl=\E[M:do=\E[B:ei=:i1=\E[1r:ic=\E[@:im=:k1=\EOP:k2=\EOQ:\
                   2126:        :k3=\EOR:k4=\EOS:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
                   2127:        :le=^H:me=\E[m:nd=\E[C:se=\E[m:sf=^J:so=\E[7m:ta=^I:up=\E[A:
                   2128: # From: Alexander Lukyanov <lav@video.yars.free.net>, 14 Nov 1995
                   2129: # :li: capability later corrected by J.T. Conklin <jtc@cygnus.com>
                   2130: # SGR 1, 4 aren't supported - removed bold/underline (T.Dickey 17 Jan 1998)
                   2131: sun-il|Sun Microsystems console with working insert-line:\
                   2132:        :am:km:ms:\
                   2133:        :co#80:li#34:\
                   2134:        :%7=\E[194z:&5=\E[193z:&8=\E[195z:@7=\E[220z:AL=\E[%dL:\
                   2135:        :DC=\E[%dP:DL=\E[%dM:F1=\E[234z:F2=\E[235z:IC=\E[%d@:\
                   2136:        :K2=\E[218z:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=^L:\
                   2137:        :cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=:ic=\E[@:im=:\
                   2138:        :k1=\E[224z:k2=\E[225z:k3=\E[226z:k4=\E[227z:k5=\E[228z:\
                   2139:        :k6=\E[229z:k7=\E[230z:k8=\E[231z:k9=\E[232z:k;=\E[233z:\
                   2140:        :kD=\177:kN=\E[222z:kP=\E[216z:kb=^H:kd=\E[B:kh=\E[214z:\
                   2141:        :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:md@:me=\E[m:mr=\E[7m:nd=\E[C:\
                   2142:        :r2=\E[s:\
                   2143:        :..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m:\
                   2144:        :se=\E[m:sf=^J:so=\E[7m:ta=^I:u8=\E[1t:u9=\E[11t:ue@:\
                   2145:        :up=\E[A:us@:
                   2146: # On a SparcStation 5, :al:/:AL: flake out on the last line.
                   2147: # Unfortunately, without them the terminal has no way to scroll.
                   2148: sun-ss5|Sun SparcStation 5 console:\
                   2149:        :AL@:al@:tc=sun-il:
                   2150: # If you are using an SS5, change the sun definition to use sun-ss5.
                   2151: sun|sun1|sun2|Sun Microsystems Inc. workstation console:\
                   2152:        :tc=sun-il:
                   2153:
                   2154: # From: <john@ucbrenoir>  Tue Sep 24 13:14:44 1985
                   2155: sun-s|Sun Microsystems Workstation window with status line:\
                   2156:        :hs:\
                   2157:        :ds=\E]l\E\:fs=\E\:ts=\E]l:tc=sun:
                   2158: sun-e-s|sun-s-e|Sun Microsystems Workstation with status hacked for emacs:\
                   2159:        :hs:\
                   2160:        :ds=\E]l\E\:fs=\E\:ts=\E]l:tc=sun-e:
                   2161: sun-48|Sun 48-line window:\
                   2162:        :co#80:li#48:tc=sun:
                   2163: sun-34|Sun 34-line window:\
                   2164:        :co#80:li#34:tc=sun:
                   2165: sun-24|Sun 24-line window:\
                   2166:        :co#80:li#24:tc=sun:
                   2167: sun-17|Sun 17-line window:\
                   2168:        :co#80:li#17:tc=sun:
                   2169: sun-12|Sun 12-line window:\
                   2170:        :co#80:li#12:tc=sun:
                   2171: sun-1|Sun 1-line window for sysline:\
                   2172:        :es:hs:\
                   2173:        :co#80:li#1:\
                   2174:        :ds=^L:fs=\E[K:ts=^M:tc=sun:
                   2175: sun-e|sun-nic|sune|Sun Microsystems Workstation without insert character:\
                   2176:        :ei@:ic@:im@:\
                   2177:        :tc=sun:
                   2178: sun-c|sun-cmd|Sun Microsystems Workstation console with scrollable history:\
                   2179:        :li#35:\
                   2180:        :te=\E[>4h:ti=\E[>4l:tc=sun:
                   2181:
                   2182: #### Common Desktop Environment
1.8       tholo    2183: #
                   2184:
                   2185: # This ships with Sun's CDE in Solaris 2.5
                   2186: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   2187: # (sgr removed to fit entry within 1023 bytes)
                   2188: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
                   2189: dtterm|CDE desktop terminal:\
                   2190:        :am:mi:ms:xn:xo:\
                   2191:        :co#80:it#8:li#24:lm#0:\
                   2192:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   2193:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
                   2194:        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
                   2195:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:\
                   2196:        :ei=\E[4l:ho=\E[H:im=\E[4h:\
                   2197:        :is=\E F\E>\E[?1l\E[?7h\E[?45l:k1=\E[11~:k2=\E[12~:\
                   2198:        :k3=\E[13~:k4=\E[14~:k5=\E[15~:k6=\E[17~:k7=\E[18~:\
                   2199:        :k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
                   2200:        :kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
                   2201:        :md=\E[1m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\EE:\
                   2202:        :rc=\E8:sc=\E7:se=\E[22;27m:sf=\ED:so=\E[2;7m:sr=\EM:\
                   2203:        :st=\EH:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:\
                   2204:        :ve=\E[?25h:vi=\E[?25l:
                   2205:
1.13      millert  2206: ######## UNIX VIRTUAL TERMINALS AND TELNET CLIENTS
1.1       deraadt  2207: #
1.13      millert  2208:
                   2209: #### FSF virtual terminal types
1.8       tholo    2210: #
1.1       deraadt  2211:
1.13      millert  2212: # The codes supported by the term.el terminal emulation in GNU Emacs 19.30
                   2213: eterm|gnu emacs term.el terminal emulation:\
                   2214:        :am:mi:xn:\
                   2215:        :co#80:li#24:\
                   2216:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   2217:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:cb=\E[1K:\
                   2218:        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
                   2219:        :cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:\
                   2220:        :im=\E[4h:le=^H:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:se=\E[m:\
                   2221:        :sf=^J:so=\E[7m:ta=^I:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:\
                   2222:        :ue=\E[m:up=\E[A:us=\E[4m:
                   2223:
                   2224: # Entries for use by the FSF's `screen' program.  The screen and
                   2225: # screen-w entries came with version 3.7.1.  The screen2 and screen3 entries
                   2226: # come from University of Wisconsin and may be older.
                   2227: # (screen: added :ve: on ANSI model -- esr)
                   2228:
                   2229: screen|VT 100/ANSI X3.64 virtual terminal:\
                   2230:        :am:km:mi:ms:xn:\
                   2231:        :Co#8:co#80:it#8:li#24:pa#64:\
                   2232:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:\
                   2233:        :F2=\E[24~:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
                   2234:        :ac=++\054\054--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
                   2235:        :ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
                   2236:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
                   2237:        :ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:eA=\E(B\E)0:ei=\E[4l:\
                   2238:        :ho=\E[H:im=\E[4h:is=\E)0:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
                   2239:        :k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
                   2240:        :k;=\E[21~:kD=\E[3~:kH=\E[4~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
                   2241:        :kb=^H:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:kl=\EOD:kr=\EOC:\
                   2242:        :ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:\
                   2243:        :mr=\E[7m:nd=\E[C:nw=\EE:r2=\Ec:rc=\E8:sc=\E7:se=\E[23m:\
                   2244:        :sf=^J:so=\E[3m:sr=\EM:st=\EH:ta=^I:ue=\E[24m:up=\EM:\
                   2245:        :us=\E[4m:vb=\Eg:ve=\E[?25h:vi=\E[?25l:vs=\E[34l:\
                   2246:        :tc=ecma+color:
                   2247:
                   2248: screen-w|VT 100/ANSI X3.64 virtual terminal with 132 cols:\
                   2249:        :co#132:tc=screen:
1.1       deraadt  2250:
1.13      millert  2251: screen2|old VT 100/ANSI X3.64 virtual terminal:\
                   2252:        :co#80:it#8:li#24:\
                   2253:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   2254:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bt=\E[Z:cd=\E[J:\
                   2255:        :ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:\
                   2256:        :dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ic=:im=\E[4h:k0=\E~:\
                   2257:        :k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:k8=\ER:\
                   2258:        :k9=\E0I:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:\
                   2259:        :me=\E[m:nd=\E[C:nw=^M^J:r1=\Ec:rc=\E8:sc=\E7:se=\E[23m:\
                   2260:        :sf=^J:so=\E[3m:sr=\EM:st=\EH:ta=^I:ue=\E[24m:up=\E[A:\
                   2261:        :us=\E[4m:
                   2262: # (screen3: removed unknown ":xv:LP:G0:" -- esr)
                   2263: screen3|older VT 100/ANSI X3.64 virtual terminal:\
                   2264:        :km:mi:ms:\
                   2265:        :co#80:it#8:li#24:\
                   2266:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   2267:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:bt=\E[Z:\
                   2268:        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
                   2269:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:\
                   2270:        :ho=\E[H:im=\E[4h:is=\E)0:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
                   2271:        :kb=^H:kd=\EOB:ke=\E>:kl=\EOD:kr=\EOC:ks=\E=:ku=\EOA:le=^H:\
                   2272:        :mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=\EE:r1=\Ec:\
                   2273:        :rc=\E8:sc=\E7:se=\E[23m:sf=^J:so=\E[3m:sr=\EM:st=\EH:ta=^I:\
                   2274:        :ue=\E[24m:up=\EM:us=\E[4m:
1.1       deraadt  2275:
1.13      millert  2276: #### Pilot Pro Palm-Top
1.1       deraadt  2277: #
1.13      millert  2278:
                   2279: # From: Jason Downs <downsj@downsj.com>, 15 Jun 1997 (Top Gun Telnet's author)
                   2280: pilot|tgtelnet|Top Gun Telnet on the Palm Pilot Professional:\
                   2281:        :am:xn:\
                   2282:        :co#39:li#16:\
                   2283:        :bl=^G:cl=\Ec:cm=\Em%+ %+ :cr=^M:do=^J:ho=\Em  :kN=^L:kP=^K:\
                   2284:        :kb=^H:kd=^J:kl=^H:le=^H:nw=\Em~ :se=\EB:sf=^J:so=\Eb:ta=^I:
                   2285:
                   2286: ######## NON-UNIX CONSOLES
1.1       deraadt  2287: #
                   2288:
1.13      millert  2289: #### MGR
                   2290: #
                   2291: # MGR is a Bell Labs window system lighter-weight than X.
                   2292: # These entries describe MGR's xterm-equivalent.
                   2293: # They are courtesy of Vincent Broman <broman@nosc.mil> 14 Jan 1997
                   2294: #
1.1       deraadt  2295:
1.13      millert  2296: mgr|Bellcore MGR (non X) window system terminal emulation:\
                   2297:        :am:km:\
                   2298:        :AL=\E%da:DC=\E%dE:DL=\E%dd:IC=\E%dA:RA=\E5S:SA=\E5s:\
                   2299:        :al=\Ea:bl=^G:cd=\EC:ce=\Ec:cl=^L:cm=\E%r%d;%dM:cr=^M:\
                   2300:        :cs=\E%d;%dt:dc=\EE:dl=\Ed:do=\Ef:ei=:hd=\E1;2f:hu=\E1;2u:\
                   2301:        :ic=\EA:im=:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
                   2302:        :md=\E2n:me=\E0n:mr=\E1n:nd=\Er:nw=^M^J:se=\E0n:sf=^J:\
                   2303:        :so=\E1n:ta=^I:ue=\E0n:up=\Eu:us=\E4n:ve=\Eh:vi=\E9h:\
                   2304:        :vs=\E0h:
                   2305: mgr-sun|Mgr window with Sun keyboard:\
                   2306:        :%1=\E[207z:%6=\E[198z:&8=\E[195z:@0=\E[200z:@5=\E197z:\
                   2307:        :@7=\E[220z:@8=\E[250z:F1=\E[234z:F2=\E[235z:K1=\E[214z:\
                   2308:        :K2=\E[218z:K3=\E[216z:K4=\E[220z:K5=\E[222z:k1=\E[224z:\
                   2309:        :k2=\E[225z:k3=\E[226z:k4=\E[227z:k5=\E[228z:k6=\E[229z:\
                   2310:        :k7=\E[230z:k8=\E[231z:k9=\E[232z:k;=\E[233z:kN=\E[222z:\
                   2311:        :kP=\E[216z:kh=\E[214z:\
                   2312:        :tc=mgr:
                   2313: mgr-linux|Mgr window with Linux keyboard:\
                   2314:        :@7=\E[4~:F1=\E[23~:F2=\E[24~:K1=\E[H:K2=\E[G:K3=\E[5~:\
                   2315:        :K4=\E[Y:K5=\E[6~:k0=\E[[J:k1=\E[[A:k2=\E[[B:k3=\E[[C:\
                   2316:        :k4=\E[[D:k5=\E[[E:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
                   2317:        :k9=\E[20~:k;=\E[21~:kD=\E[3~:kN=\E[6~:kP=\E[5~:kh=\E[1~:tc=mgr:
1.1       deraadt  2318:
1.13      millert  2319: #### BeOS
                   2320: #
                   2321: # BeOS entry for Terminal program Seems to be almost ANSI
                   2322: beterm|BeOS Terminal:\
                   2323:        :am:eo:mi:ms:xn:xo:\
                   2324:        :Co#8:co#80:it#8:li#25:pa#64:\
                   2325:        :&7=^Z:@7=\E[4~:AB=\E[4%p1%dm:AF=\E[3%p1%dm:AL=\E[%dL:\
                   2326:        :DC=\E[%dP:DL=\E[%dM:F1=\E[21~:F2=\E[22~:IC=\E[%d@:\
                   2327:        :K2=\E[G:Sb=\E[%+(m:Sf=\E[%+^^m:al=\E[L:bl=^G:cd=\E[J:\
                   2328:        :ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
                   2329:        :cs=\E[%i%d;%dr:ct=\E[3g:cv=\E[%i%dd:dc=\E[P:dl=\E[M:\
                   2330:        :do=^J:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:k1=\E[11~:\
                   2331:        :k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:k6=\E[16~:\
                   2332:        :k7=\E[17~:k8=\E[18~:k9=\E[19~:k;=\E[20~:kI=\E[2~:\
                   2333:        :kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:kh=\E[1~:kl=\E[D:kr=\E[C:\
                   2334:        :ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[0;10m:mh=\E[2m:\
                   2335:        :mk=\E[8m:mr=\E[7m:nd=\E[C:nw=^M^J:op=\E[m:r1=\Ec:rc=\E8:\
                   2336:        :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
                   2337:        :u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?6c:u9=\E[c:ue=\E[24m:\
                   2338:        :up=\E[A:us=\E[4m:vb=200\E[?5h\E[?5l:ve=\E[?25h:\
                   2339:        :vi=\E[?25l:
1.1       deraadt  2340:
1.13      millert  2341: #### QNX
                   2342: #
1.1       deraadt  2343:
1.13      millert  2344: # QNX 4.0 Console
                   2345: # Michael's original version of this entry had <am@>, :ti=\Ei:,
                   2346: # :te=\Eh\ER:; this was so terminfo applications could write the lower
                   2347: # right corner without triggering a scroll.  The ncurses terminfo library can
                   2348: # handle this case with the :ic: capability, and prefers :am: for better
                   2349: # optimization.  Bug: The <op> capability resets attributes.
                   2350: # From: Michael Hunter <mphunter@qnx.com> 30 Jul 1996
                   2351: # (removed: :sa=%?%p1%t\E<%;%p2%t\E[%;%p3%t\E(%;%p4%t\E{%;%p6%t\E<%;,:)
                   2352: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   2353: # (sgr removed to fit entry within 1023 bytes)
                   2354: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
                   2355: qnx|qnx4|qnx console:\
                   2356:        :km:mi:ms:xt:\
                   2357:        :co#80:it#4:li#25:\
                   2358:        :al=\EE:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:\
                   2359:        :dc=\Ef:dl=\EF:do=^J:ei=:ho=\EH:ic=\Ee:im=:k1=\377\201:\
                   2360:        :k2=\377\202:k3=\377\203:k4=\377\204:k5=\377\205:\
                   2361:        :k6=\377\206:k7=\377\207:k8=\377\210:k9=\377\211:\
                   2362:        :kD=\377\254:kI=\377\253:kN=\377\252:kP=\377\242:\
                   2363:        :kd=\377\251:kh=\377\240:kl=\377\244:kr=\377\246:\
                   2364:        :ku=\377\241:le=^H:mb=\E{:md=\E<:me=\E}\E]\E>\E):mr=\E(:\
                   2365:        :nd=\EC:rp=\Eg%r%+ %.:se=\E):sf=^J:so=\E(:sr=\EI:ta=^I:\
                   2366:        :te=\Eh\ER:ti=\Ei:ue=\E]:up=\EA:us=\E[:ve=\Ey1:vi=\Ey0:\
                   2367:        :vs=\Ey2:
1.1       deraadt  2368:
1.13      millert  2369: #### DOS ANSI.SYS variants
                   2370: #
                   2371: # This completely describes the sequences specified in the DOS 2.1 ANSI.SYS
                   2372: # documentation (except for the keyboard key reassignment feature, which
                   2373: # doen't fit the <pfkey> model well).  The klone+acs sequences were valid
                   2374: # though undocumented.  The <pfkey> capability is untested but should work for
                   2375: # keys F1-F10 (%p1 values outside this range will yield unpredictable results).
                   2376: # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 7 1995
                   2377: ansi.sys-old|ANSI.SYS under PC-DOS 2.1:\
                   2378:        :am:bs:mi:ms:xo:\
                   2379:        :co#80:li#25:\
                   2380:        :RA=\E[?7l:SA=\E[?7h:ce=\E[k:cl=\E[2J:cm=\E[%i%d;%dH:\
                   2381:        :do=\E[B:ho=\E[H:is=\E[m\E[?7h:kd=^J:kh=^^:kl=^H:kr=^L:\
                   2382:        :ku=^K:le=^H:nd=\E[C:pk=\E[0;%+:;"%s":rc=\E[u:sc=\E[s:\
                   2383:        :u6=\E[%i%d;%dR:u7=\E[6n:up=\E[A:\
                   2384:        :tc=klone+color:tc=klone+sgr:
                   2385: ansi.sys|ANSI.SYS 3.1 and later versions:\
                   2386:        :ce=\E[K:tc=ansi.sys-old:
1.1       deraadt  2387:
                   2388: #
1.13      millert  2389: # Define IBM PC keypad keys for vi as per MS-Kermit while using ANSI.SYS.
                   2390: # This should only be used when the terminal emulator cannot redefine the keys.
                   2391: # Since redefining keys with ansi.sys also affects PC-DOS programs, the key
                   2392: # definitions must be restored.  If the terminal emulator is quit while in vi
                   2393: # or others using :ks:/:ke:, the keypad will not be defined as per PC-DOS.
                   2394: # The PgUp and PgDn are prefixed with ESC so that tn3270 can be used on Unix
                   2395: # (^U and ^D are already defined for tn3270).  The ESC is safe for vi but it
                   2396: # does "beep".  ESC ESC i is used for Ins to avoid tn3270 ESC i for coltab.
                   2397: # Note that :kl: is always BS, because PC-dos can tolerate this change.
                   2398: # Caution: vi is limited to 256 string bytes, longer crashes or weirds out vi.
                   2399: # Consequently the End keypad key could not be set (it is relatively safe and
                   2400: # actually useful because it sends ^@ O, which beeps and opens a line above).
                   2401: ansi.sysk|ansisysk|PC-DOS 3.1 ANSI.SYS with keypad redefined for vi:\
                   2402:        :is=U2 PC-DOS 3.1 ANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p:\
                   2403:        :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:\
                   2404:        :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:\
                   2405:        :tc=ansi.sys:
                   2406: #
                   2407: # Adds ins/del line/character, hence vi reverse scrolls/inserts/deletes nicer.
                   2408: nansi.sys|nansisys|PC-DOS Public Domain NANSI.SYS:\
                   2409:        :al=\E[1L:dc=\E[1P:dl=\E[1M:ei=:ic=\E[1@:im=:\
                   2410:        :is=U3 PC-DOS Public Domain NANSI.SYS 9-23-86\n:tc=ansi.sys:
                   2411: #
                   2412: # See ansi.sysk and nansi.sys above.
                   2413: nansi.sysk|nansisysk|PC-DOS Public Domain NANSI.SYS with keypad redefined for vi:\
                   2414:        :al=\E[1L:dc=\E[1P:dl=\E[1M:ei=:ic=\E[1@:im=:\
                   2415:        :is=U4 PC-DOS Public Domain NANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p:tc=ansi.sysk:
1.2       deraadt  2416:
1.13      millert  2417: #### OS/2
                   2418: #
1.1       deraadt  2419:
1.13      millert  2420: # Except for the "-emx" suffixes, these are as distributed with EMX 0.9b,
                   2421: # a Unix-style environment used on OS/2.  (Note that the suffix makes some
                   2422: # names longer than 14 characters, the nominal maximum).
                   2423: #
                   2424: # Removed: rmacs=\E[10m, smacs=\E[11m, because OS/2 does not implement acs.
                   2425: ansi-emx|ANSI.SYS color:\
                   2426:        :am:eo:mi:ms:ut:xn:xo:\
                   2427:        :Co#16:co#80:it#8:li#25:pa#64:\
                   2428:        :&7=^Z:AB=\E[4%p1%dm:AF=\E[3%p1%dm:DC=\E[%dp:IC=\E[%d@:\
                   2429:        :K2=\E[G:S2=\E[11m:S3=\E[10m:bl=^G:cd=\E[J:ce=\E[K:\
                   2430:        :cl=\E[1;33;44m\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:\
                   2431:        :do=^J:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:k0=\0D:k1=\0;:\
                   2432:        :k2=\0<:k3=\0=:k4=\0>:k5=\0?:k6=\0@:k7=\0A:k8=\0B:k9=\0C:\
                   2433:        :kH=\0O:kI=\0R:kN=\0Q:kP=\0I:kb=^H:kd=\0P:kh=\0G:kl=\0K:\
                   2434:        :kr=\0M:ku=\0H:le=^H:mb=\E[5m:md=\E[1m:\
                   2435:        :me=\E[0m\E[1;33;44m:mr=\E[5;37;41m:nd=\E[C:nw=^M^J:\
                   2436:        :r1=\Ec:se=\E[0;44m\E[1;33m:sf=^J:so=\E[0;31;47m:st=\EH:\
                   2437:        :ta=^I:u8=\E[?6c:u9=\E[c:ue=\E[0;44m\E[1;33m:up=\E[A:\
                   2438:        :us=\E[1;31;44m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:
                   2439: ansi-color-2-emx|ANSI.SYS color 2:\
                   2440:        :am:eo:mi:ms:ut:xn:xo:\
                   2441:        :Co#16:co#80:it#8:li#25:pa#64:\
                   2442:        :&7=^Z:AB=\E[4%p1%dm:AF=\E[3%p1%dm:DC=\E[%dp:IC=\E[%d@:\
                   2443:        :K2=\E[G:S2=\E[11m:S3=\E[10m:bl=^G:cd=\E[J:ce=\E[K:\
                   2444:        :cl=\E[0;37;44m\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:\
                   2445:        :do=^J:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:k0=\0D:k1=\0;:\
                   2446:        :k2=\0<:k3=\0=:k4=\0>:k5=\0?:k6=\0@:k7=\0A:k8=\0B:k9=\0C:\
                   2447:        :kH=\0O:kI=\0R:kN=\0Q:kP=\0I:kb=^H:kd=\0P:kh=\0G:kl=\0K:\
                   2448:        :kr=\0M:ku=\0H:le=^H:mb=\E[5m:md=\E[1m:me=\E[0;37;44m:\
                   2449:        :mr=\E[1;37;46m:nd=\E[C:nw=^M^J:r1=\Ec:se=\E[0;37;44m:\
                   2450:        :sf=^J:so=\E[1;37;46m:st=\EH:ta=^I:u8=\E[?6c:u9=\E[c:\
                   2451:        :ue=\E[0;37;44m:up=\E[A:us=\E[1;36;44m:vb=\E[?5h\E[?5l:\
                   2452:        :ve=\E[?25h:vi=\E[?25l:
                   2453: ansi-color-3-emx|ANSI.SYS color 3:\
                   2454:        :am:eo:mi:ms:ut:xn:xo:\
                   2455:        :Co#16:co#80:it#8:li#25:pa#64:\
                   2456:        :&7=^Z:AB=\E[4%p1%dm:AF=\E[3%p1%dm:DC=\E[%dp:IC=\E[%d@:\
                   2457:        :K2=\E[G:S2=\E[11m:S3=\E[10m:bl=^G:cd=\E[J:ce=\E[K:\
                   2458:        :cl=\E[0;37;40m\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:\
                   2459:        :do=^J:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:k0=\0D:k1=\0;:\
                   2460:        :k2=\0<:k3=\0=:k4=\0>:k5=\0?:k6=\0@:k7=\0A:k8=\0B:k9=\0C:\
                   2461:        :kH=\0O:kI=\0R:kN=\0Q:kP=\0I:kb=^H:kd=\0P:kh=\0G:kl=\0K:\
                   2462:        :kr=\0M:ku=\0H:le=^H:mb=\E[5m:md=\E[1m:me=\E[0;10m:\
                   2463:        :mr=\E[1;37;46m:nd=\E[C:nw=^M^J:r1=\Ec:se=\E[0;37;40m:\
                   2464:        :sf=^J:so=\E[1;37;46m:st=\EH:ta=^I:u8=\E[?6c:u9=\E[c:\
                   2465:        :ue=\E[0;37;40m:up=\E[A:us=\E[0;36;40m:vb=\E[?5h\E[?5l:\
                   2466:        :ve=\E[?25h:vi=\E[?25l:
                   2467: mono-emx|stupid monochrome ansi terminal with only one kind of emphasis:\
                   2468:        :am:\
                   2469:        :co#80:it#8:li#24:\
                   2470:        :K2=\E[G:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:do=\E[B:\
                   2471:        :ho=\E[H:k0=\0D:k1=\0;:k2=\0<:k3=\0=:k4=\0>:k5=\0?:k6=\0@:\
                   2472:        :k7=\0A:k8=\0B:k9=\0C:kH=\0O:kI=\0R:kN=\0Q:kP=\0I:kb=^H:\
                   2473:        :kd=\0P:kh=\0G:kl=\0K:kr=\0M:ku=\0H:le=\E[D:me=\E[0m:\
                   2474:        :mr=\E[7m:nd=\E[C:nw=^M^J:ta=^I:up=\E[A:
                   2475:
                   2476: #### Windows NT
                   2477: #
                   2478: # This entry fits the Windows NT console when the _POSIX_TERM environment
                   2479: # variable is set to 'on'.  While the Windows NT POSIX console is seldom used,
                   2480: # the Telnet client supplied with both the Windows for WorkGroup 3.11 TCP/IP
                   2481: # stack and the Win32 (i.e., Windows 95 and Windows NT 3.1 or later) operating
                   2482: # systems is not, and (surprise!) they match very well.
                   2483: #
                   2484: # See:  MS Knowledge Base item Q108581, dated 13-MAY-1997, titled "Setting Up
                   2485: # VI POSIX Editor for Windows NT 3.1".  True to Microsoft form, not only
                   2486: # are the installation instructions a pile of mind-numbing bureaucratese,
                   2487: # but the termcap entry is actually broken and unusable as given; the :do:
                   2488: # capability is misspelled "d".
                   2489: #
                   2490: # To use this, you need to a bunch of environment variables:
                   2491: #
                   2492: # SET _POSIX_TERM=on
                   2493: # SET TERM=ansi
                   2494: # SET TERMCAP=location of termcap file in POSIX file format
                   2495: # which is case-sensitive.
                   2496: # e.g. SET TERMCAP=//D/RESKIT35/posix/termcap
                   2497: # SET TMP=//C/TEMP
                   2498: #
                   2499: # Important note: setting the TMP environment variable in POSIX style renders
                   2500: # it incompatible with a lot of other applications, including Visual C++. So
                   2501: # you should have a separate command window just for vi. All the other
                   2502: # variables may be permanently set in the Control Panel\System applet.
                   2503: #
                   2504: # You can find out more about the restrictions of this facility at
                   2505: # <http://www.nentug.org/unix-to-nt/ntposix.htm>.
1.2       deraadt  2506: #
1.13      millert  2507: # From: Federico Bianchi <bianchi@magna.cisid.unipi.it>, 15 Jan 1997
                   2508: ansi-nt|psx_ansi|Microsoft Windows NT console POSIX ANSI mode:\
                   2509:        :am:bw:ms:\
                   2510:        :co#80:it#8:li#25:\
                   2511:        :bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:cr=^M:do=^J:\
                   2512:        :ho=\E[H:kb=^H:kd=\E[V:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
                   2513:        :me=\E[0m:mr=\E[7m:nd=\E[C:nw=\r\E[S:rc=\E[u:sc=\E[s:\
                   2514:        :se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:up=\E[A:
1.1       deraadt  2515:
1.13      millert  2516: ######## COMMON TERMINAL TYPES
1.1       deraadt  2517: #
1.13      millert  2518: # This section describes terminal classes and maker brands that are still
                   2519: # quite common, but have proprietary command sets not blessed by ANSI.
1.1       deraadt  2520: #
                   2521:
1.13      millert  2522: #### Lear-Siegler (adm)
1.1       deraadt  2523: #
1.13      millert  2524: # These guys are long since out of the terminals business, but
                   2525: # in 1995 many current terminals still have an adm type as one of their
                   2526: # emulations (usually their stupidest, and usually labeled adm3, though
                   2527: # these `adm3' emulations normally have adm3a+ capabilities).
1.2       deraadt  2528: #
1.13      millert  2529: # WARNING: Some early ADM terminals (including the ADM3 and ADM5) had a
                   2530: # `diagnostic feature' that sending them a ^G while pin 22 (`Ring Indicator')
                   2531: # was being held to ground would trigger a send of the top line on the screen.
                   2532: # A quick fix might be to drop back to a cheesy 4-wire cable with pin 22
                   2533: # hanging in the air.
1.2       deraadt  2534: #
1.1       deraadt  2535:
1.13      millert  2536: adm1a|adm1|lsi adm1a:\
                   2537:        :am:\
                   2538:        :co#80:li#24:\
                   2539:        :bl=^G:cl=\E;:cm=\E=%+ %+ :cr=^M:do=^J:ho=^^:le=^H:nd=^L:\
                   2540:        :sf=^J:up=^K:
                   2541: adm2|lsi adm2:\
                   2542:        :am:bs:\
                   2543:        :co#80:li#24:\
                   2544:        :al=\EE:bl=^G:cd=\EY:ce=\ET:cl=\E;:cm=\E=%+ %+ :cr=^M:\
                   2545:        :dc=\EW:dl=\ER:do=^J:ei=:ho=^^:ic=\EQ:im=:kd=^J:kh=^^:kl=^H:\
                   2546:        :kr=^L:ku=^K:le=^H:nd=^L:sf=^J:up=^K:
                   2547: # (adm3: removed obsolete ":ma=^K^P:" -- esr)
                   2548: adm3|lsi adm3:\
                   2549:        :am:bs:\
                   2550:        :co#80:li#24:\
                   2551:        :bl=^G:cl=^Z:cr=^M:do=^J:le=^H:sf=^J:
                   2552: # The following ADM-3A switch settings are assumed for normal operation:
                   2553: #      SPACE           U/L_DISP        CLR_SCRN        24_LINE
                   2554: #      CUR_CTL         LC_EN           AUTO_NL         FDX
                   2555: # Other switches may be set for operator convenience or communication
                   2556: # requirements.  I recommend
                   2557: #      DISABLE_KB_LOCK LOCAL_OFF       103             202_OFF
                   2558: #      ETX_OFF         EOT_OFF
                   2559: # Most of these terminals required an option ROM to support lower case display.
                   2560: # Open the case and look at the motherboard; if you see an open 24-pin DIP
                   2561: # socket, you may be out of luck.
1.1       deraadt  2562: #
1.13      millert  2563: # (adm3a: some capabilities merged in from BRl entry -- esr)
                   2564: adm3a|lsi adm3a:\
                   2565:        :am:bs:\
1.8       tholo    2566:        :co#80:li#24:\
1.13      millert  2567:        :bl=^G:cl=1\032:cm=\E=%+ %+ :cr=^M:do=^J:ho=^^:kd=^J:kl=^H:\
                   2568:        :kr=^L:ku=^K:le=^H:ma=^K^P:nd=^L:nl=^J:r1=^N:rs=^N:sf=^J:\
                   2569:        :up=^K:
                   2570: adm3a+|adm3a plus:\
                   2571:        :kb=^H:tc=adm3a:
                   2572: # (adm5: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" & duplicate ":do=^J:" -- esr)
                   2573: adm5|lsi adm5:\
                   2574:        :sg#1:\
                   2575:        :bl=^G:cd=\EY:ce=\ET:cr=^M:do=^J:kb=^H:kh=^^:se=\EG:so=\EG:tc=adm3a+:
                   2576: # A lot of terminals other than adm11s use these.  Wherever you see
                   2577: # use=adm+sgr with some of its capabilities disabled, try the
                   2578: # disabled ones.  They may well work but not have been documented or
                   2579: # expressed in the using entry.  We'd like to cook up an :sa: but the
                   2580: # :ae:/:as: sequences of the using entries vary too much.
                   2581: adm+sgr|adm style highlight capabilities:\
                   2582:        :me=\EG0:mk=\EG1:mr=\EG4:se=\EG0:so=\EG4:ue=\EG0:us=\EG8:
                   2583: # LSI ADM-11 from George William Hartwig, Jr. <geo@BRL-TGR.ARPA> via BRL
                   2584: # Status line additions from Stephen J. Muir <stephen%comp.lancs.ac.uk@ucl-cs>
                   2585: # :kh: from <stephen%comp.lancs.ac.uk@ucl-cs.arpa>.  :cl: could also
                   2586: # be ^Z, according to his entry.
                   2587: # (adm11: :us:=\EG4 was obviously erroneous because it also said
                   2588: # :mr:=\EG4.  Looking at other ADMs confirms this -- esr)
                   2589: adm11|LSI ADM-11:\
                   2590:        :am:bs:hs:\
                   2591:        :co#80:kn#8:li#24:\
                   2592:        :bl=^G:cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :cr=^M:do=^J:ds=\Eh:\
                   2593:        :fs=\E(\r:ho=^^:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
                   2594:        :k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:kb=^H:kd=^J:kh=^^:\
                   2595:        :kl=^H:kr=^L:ku=^K:le=^H:mb=\EG2:nd=^L:nl=^J:nw=^M^J:ta=^I:\
                   2596:        :ts=\EF\E):up=^K:\
                   2597:        :tc=adm+sgr:
                   2598: # From: Andrew Scott Beals <bandy@lll-crg.ARPA>
                   2599: # Corrected by Olaf Siebert <rhialto@polder.ubc.kun.nl>, 11 May 1995
                   2600: # Supervisor mode info by Ari Wuolle, <awuolle@delta.hut.fi>, 27 Aug 1996
                   2601: # (adm12: removed obsolete ":kn:ma=j^Jk^P^K^Pl ^R^L^L :".  This formerly had
                   2602: # :is:=\Eq but that looked wrong; this :is: is from Dave Yost <esquire!yost>
                   2603: # via BRL.  That entry asserted :sg#1:, but I've left that out because
                   2604: # neither earlier nor later ADMSs have it -- esr)
                   2605: #
                   2606: # You will need to get into the supervisor setup before you can set
                   2607: # baudrate etc. for your ADM-12+. Press Shift-Ctrl-Setup and you should
                   2608: # see a lot more setup options.
                   2609: #
                   2610: # While in supervisor setup you can also use following codes:
                   2611: #
                   2612: # Ctrl-P Personality character selections (configure for example what
                   2613: #        arrow keys send, if I recall correctly)
                   2614: # Ctrl-T tabs 1-80   use left&right to move and up to set and
                   2615: # Ctrl-V tabs 81-158 down to clear tab. Shift-Ctrl-M sets right margin at cursor
                   2616: # Ctrl-B Binary setup (probably not needed. I think that everything can
                   2617: #        be set using normal setup)
                   2618: # Ctrl-A Answerback mode (enter answerback message)
                   2619: # Ctrl-U User friendly mode (normal setup)
                   2620: # Ctrl-D Defaults entire setup and function keys from EPROM tables
                   2621: # Ctrl-S Save both setup and functions keys. Takes from 6 to 10 seconds.
                   2622: # Ctrl-R Reads both setup and functions keys from NVM.
                   2623: # Shift-Ctrl-X Unlock keyboard and cancel received X-OFF status
                   2624: #
                   2625: # ADM-12+ supports hardware handshaking, but it is DTR/CTS as opposed to
                   2626: # RTS/CTS used nowadays with virtually every modem and computer. 19200
                   2627: # bps works fine with hardware flow control.
                   2628: #
                   2629: # The following null-modem cable should fix this and enable you to use
                   2630: # RTS/CTS handshaking (which Linux supports, use CRTSCTS setting). Also
                   2631: # set ADM-12+ for DTR handshaking from supervisor setup.
                   2632: #
                   2633: # PC Serial   ADM-12+
                   2634: #  --------   -------
                   2635: #         2 - 3
                   2636: #         3 - 2
                   2637: #         4 - 5
                   2638: #         5 - 20
                   2639: #       6,8 - 4
                   2640: #         7 - 7
                   2641: #        20 - 6,8
                   2642: #
                   2643: adm12|lsi adm12:\
                   2644:        :am:bs:mi:pt:\
                   2645:        :co#80:it#8:li#24:\
                   2646:        :al=\EE:bl=^G:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:ct=\E0:\
                   2647:        :dc=\EW:dl=\ER:do=^J:ei=\Er:ho=^^:ic=\EQ:im=\Eq:\
                   2648:        :is=\E0        \E1        \E1        \E1        \E1        \E1        \E1        \E1        \E1:\
                   2649:        :k0=^A0\r:k1=^A1\r:k2=^A2\r:k3=^A3\r:k4=^A4\r:k5=^A5\r:\
                   2650:        :k6=^A6\r:k7=^A7\r:k8=^A8\r:k9=^A9\r:kd=^J:kl=^H:kr=^L:\
                   2651:        :ku=^K:le=^H:nd=^L:st=\E1:up=^K:\
                   2652:        :tc=adm+sgr:
                   2653: # (adm20: removed obsolete ":kn#7:" -- esr)
                   2654: adm20|lear siegler adm20:\
                   2655:        :am:bs:\
                   2656:        :co#80:it#8:li#24:\
                   2657:        :al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=^Z:\
                   2658:        :cm=\E=%i%r%+^_%+^_:cr=^M:dc=\EW:dl=\ER:ei=:ho=^^:ic=\EQ:\
                   2659:        :im=:k1=^A:k2=^B:k3=^W:k4=^D:k5=^E:k6=^X:k7=^Z:le=^H:me=\E(:\
                   2660:        :nd=^L:se=\E(:so=\E):ta=^I:up=^K:
                   2661: adm21|lear siegler adm21:\
                   2662:        :sg#1:\
                   2663:        :al=30*\EE:bl=^G:cd=\EY:ce=\ET:cr=^M:dc=\EW:dl=30*\ER:do=^J:\
                   2664:        :ei=:ic=\EQ:im=:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:mk@:sf=^J:\
                   2665:        :tc=adm+sgr:tc=adm3a:
                   2666: # (adm22: ":em=:" was an obvious typo for ":ei=:"; also,
                   2667: # removed obsolete ":kn#7:ma=j^Jk^P^K^Pl ^R^L^L :";
                   2668: # removed bogus-looking \200 from before :cm:. -- esr)
                   2669: adm22|lsi adm22:\
                   2670:        :am:bs:\
                   2671:        :co#80:li#24:\
                   2672:        :al=\EE:bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=\E+:cm=\E=%+ %+ :\
                   2673:        :cr=^M:dc=\EW:dl=\ER:do=^J:ei=:ho=^^:ic=\EQ:im=:\
                   2674:        :is=\E%\014\014\014\016\003\0\003\002\003\002\0\0\0\0\0\0\0\0\0\0\0:\
                   2675:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
                   2676:        :k7=^AF\r:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:l1=F1:l2=F2:\
                   2677:        :l3=F3:l4=F4:l5=F5:l6=F6:l7=F7:le=^H:me=\E(:nd=^L:se=\E(:\
                   2678:        :so=\E):ta=\Ei:up=^K:
                   2679: # ADM 31 DIP Switches
                   2680: #
                   2681: # This information comes from two versions of the manual for the
                   2682: # Lear-Siegler ADM 31.
                   2683: #
                   2684: # Main board:
                   2685: #                  rear of case
                   2686: #   +-||||-------------------------------------+
                   2687: #   + S1S2                              ||S    +
                   2688: #   +                                   ||3    +
                   2689: #   +                                          +
                   2690: #   +                                ||S       +
                   2691: #   +                                ||4       +
                   2692: #   +                                          +
                   2693: #   +                                          +
                   2694: #   +                                          +
                   2695: #   +                                          +
                   2696: #   +                                          +
                   2697: # +-+                                          +-+
                   2698: # +                                              +
                   2699: # +                               S5 S6 S7       +
                   2700: # +                               == == ==       +
                   2701: # +----------------------------------------------+
                   2702: #            front of case (keyboard)
                   2703: #
                   2704: #  S1 - Data Rate - Modem
                   2705: #  S2 - Data Rate - Printer
                   2706: # ------------------------
                   2707: # Data Rate   Setting
                   2708: # -------------------
                   2709: # 50          0 0 0 0
                   2710: # 75          1 0 0 0
                   2711: # 110         0 1 0 0
                   2712: # 134.5       1 1 0 0
                   2713: # 150         0 0 1 0
                   2714: # 300         1 0 1 0
                   2715: # 600         0 1 1 0
                   2716: # 1200        1 1 1 0
                   2717: # 1800        0 0 0 1
                   2718: # 2000        1 0 0 1
                   2719: # 2400        0 1 0 1
                   2720: # 3600        1 1 0 1
                   2721: # 4800        0 0 1 1
                   2722: # 7200        1 0 1 1
                   2723: # 9600        0 1 1 1
                   2724: # x           1 1 1 1
                   2725: #
                   2726: # S3 - Interface/Printer/Attributes
                   2727: # ---------------------------------
                   2728: # Printer Busy Control
                   2729: # sw1   sw2   sw3
                   2730: # ---------------
                   2731: # off   off   off   Busy not active, CD disabled
                   2732: # off   off   on    Busy not active, CD enabled
                   2733: # off   on    off   Busy active on J5-20, CD disabled
                   2734: # on    off   off   Busy active on J5-19, CD disabled - Factory Set.
                   2735: # on    off   on    Busy active on J5-19, CD enabled
                   2736: #
                   2737: # sw4   Used in conjuction with S4 for comm interface control - Fact 0
                   2738: #
                   2739: # sw5   Secondary Channel Control (Hardware implementation only) - Fact 0
                   2740: #
                   2741: # sw6   ON enables printer BUSY active LOW - Factory Setting
                   2742: #       OFF enables printer BUSY active HIGH - If set to this, ADM31 senses
                   2743: #
                   2744: # sw7   ON - steady cursor - Factory Setting
                   2745: #       OFF - blinking cursor
                   2746: #
                   2747: # sw8   ON causes selected attribute character to be displayed
                   2748: #       OFF causes SPACE to be displayed instead - Factory Setting
                   2749: #
                   2750: # S4 - Interface
                   2751: # --------------
                   2752: # Modem Interface
                   2753: # S3    S4    S4    S4    S4
                   2754: # sw4   sw1   sw2   sw3   sw4
                   2755: # ---------------------------
                   2756: # OFF   ON    OFF   ON    OFF   Enable RS-232C interface, Direct Connect and
                   2757: #                               Current Loop disabled - Factory Setting
                   2758: # ON    ON    OFF   ON    OFF   Enable Current Loop interface, Direct Connect
                   2759: #                               disabled
                   2760: # OFF   OFF   ON    OFF   ON    Enable Direct Connect interface, RS-232C and
                   2761: #                               Current Loop Disabled
                   2762: #
                   2763: # sw5   ON disables dot stretching mode - Factory Setting
                   2764: #       OFF enables dot stretching mode
                   2765: # sw6   ON enables blanking function
                   2766: #       OFF enables underline function - Factory Setting
                   2767: # sw7   ON causes NULLS to be displayed as NULLS
                   2768: #       OFF causes NULLS to be displayed as SPACES - Factory Setting
                   2769: #
                   2770: # S5 - Word Structure
                   2771: # -------------------
                   2772: # sw1   ON enables BREAK key - Factory Setting
                   2773: #       OFF disables BREAK key
                   2774: # sw2   ON selects 50Hz monitor refresh rate
                   2775: #       OFF selects 60Hz monitor refresh rate - Factory Setting
                   2776: #
                   2777: # Modem Port Selection
                   2778: # sw3   sw4   sw5
                   2779: # ---------------
                   2780: # ON    ON    ON    Selects 7 DATA bits, even parity, 2 STOP bits
                   2781: # OFF   ON    ON    Selects 7 DATA bits, odd  parity, 2 STOP bits
                   2782: # ON    OFF   ON    Selects 7 DATA bits, even parity, 1 STOP bit - Factory Set.
                   2783: # OFF   OFF   ON    Selects 7 DATA bits, odd  parity, 1 STOP bit
                   2784: # ON    ON    OFF   Selects 8 DATA bits, no   parity, 2 STOP bits
                   2785: # OFF   ON    OFF   Selects 8 DATA bits, no   parity, 1 STOP bit
                   2786: # ON    OFF   OFF   Selects 8 DATA bits, even parity, 1 STOP bit
                   2787: # OFF   OFF   OFF   Selects 8 DATA bits, odd  parity, 1 STOP bit
                   2788: #
                   2789: # sw6   ON  sends bit 8 a 1 (mark)
                   2790: #       OFF sends bit 8 as 0 (space) - Factory Setting
                   2791: # sw7   ON  selects Block Mode
                   2792: #       OFF selects Conversation Mode - Factory Setting
                   2793: # sw8   ON  selects Full Duplex operation
                   2794: #       OFF selects Half Duplex operation - Factory Setting
                   2795: #
                   2796: # S6 - Printer
                   2797: # ------------
                   2798: # sw1, sw2, sw6, sw7   Reserved - Factory 0
                   2799: #
                   2800: # Printer Port Selection
                   2801: # same as Modem above, bit 8 (when 8 DATA bits) is always = 0
                   2802: #
                   2803: # sw8   ON   enables Printer Port
                   2804: #       OFF disables Printer Port - Factory Setting
                   2805: #
                   2806: # S7 - Polling Address
                   2807: # --------------------
                   2808: # sw1-7 Establish ASCII character which designates terminal polling address
                   2809: #       ON  = logic 0
                   2810: #       OFF = logic 1 - Factory Setting
                   2811: # sw8   ON   enables Polling Option
                   2812: #       OFF disables Polling Option - Factory Setting
                   2813: #
                   2814: #
                   2815: # On some older adm31s, S4 does not exist, and S5-sw6 is not defined.
                   2816: #
                   2817: # This adm31 entry uses underline as the standout mode.
                   2818: # If the adm31 gives you trouble with standout mode, check the DIP switch in
                   2819: # position 6, bank @c11, 25% from back end of the circuit board.  Should be
                   2820: # OFF.  If there is no such switch, you have an old adm31 and must use oadm31.
                   2821: # (adm31: removed obsolete ":ma=j^Jk^P^K^Pl ^R^L^L :" -- esr)
                   2822: adm31|lsi adm31 with sw6 set for underline mode:\
                   2823:        :am:bs:mi:\
                   2824:        :co#80:li#24:\
                   2825:        :al=\EE:bl=^G:cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :cr=^M:\
                   2826:        :dc=\EW:dl=\ER:do=^J:ei=\Er:ho=^^:im=\Eq:is=\Eu\E0:k0=^A0\r:\
                   2827:        :k1=^A1\r:k2=^A2\r:k3=^A3\r:k4=^A4\r:k5=^A5\r:k6=^A6\r:\
                   2828:        :k7=^A7\r:k8=^A8\r:k9=^A9\r:kd=^J:kl=^H:kr=^L:ku=^K:le=^H:\
                   2829:        :me=\EG0:nd=^L:se=\EG0:sf=^J:so=\EG1:ue=\EG0:up=^K:us=\EG1:
                   2830: adm31-old|o31|old adm31:\
                   2831:        :so=\EG4:ue@:us@:tc=adm31:
                   2832: # LSI ADM-36 from Col. George L. Sicherman <gloria!colonel> via BRL
                   2833: adm36|LSI ADM36:\
                   2834:        :bs:pt:\
                   2835:        :kn#4:\
                   2836:        :if=/usr/lib/tabset/vt100:\
                   2837:        :is=\E<\E>\E[6;?2;?7;?8h\E[4;20;?1;?3;?4;?5;?6;?18;?19l:tc=vt100:
                   2838: # (adm42: removed obsolete ":ma=^K^P:" -- esr)
                   2839: adm42|lsi adm42:\
                   2840:        :am:bs:\
                   2841:        :co#80:li#24:\
                   2842:        :al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E;:cm=\E=%+ %+ :\
                   2843:        :cr=^M:dc=\EW:dl=\ER:do=^J:ei=\Er:im=\Eq:ip=:kd=^J:kh=^^:\
                   2844:        :kl=^H:kr=^L:ku=^K:le=^H:mk@:nd=^L:pc=\177:sf=^J:ta=^I:ue@:\
                   2845:        :up=^K:us@:vs=\EC\E3 \E3(:\
                   2846:        :tc=adm+sgr:
                   2847: # The following termcap for the Lear Siegler ADM-42 leaves the
                   2848: # "system line" at the bottom of the screen blank (for those who
                   2849: # find it distracting otherwise)
                   2850: adm42-ns|lsi adm-42 with no system line:\
                   2851:        :al=\EE\EF \011:bt=\EI\EF \011:cd=\EY\EF \011:\
                   2852:        :ce=\ET\EF \011:cl=\E;\EF \011:cm=\E=%+ %+ \EF \011:\
                   2853:        :dc=\EW\EF \011:dl=\ER\EF \011:ei=\Er\EF \011:\
                   2854:        :im=\Eq\EF \011:tc=adm42:
                   2855: # ADM 1178 terminal -- rather like an ADM-42.  Manual is dated March 1 1985.
                   2856: # The insert mode of this terminal is commented out because it's broken for our
                   2857: # purposes in that it will shift the position of every character on the page,
                   2858: # not just the cursor line!
                   2859: # From: Michael Driscoll <fenris@lightspeed.net> 10 July 1996
                   2860: adm1178|1178|lsi adm1178:\
                   2861:        :am:\
                   2862:        :co#80:li#24:sg#1:\
                   2863:        :al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:cm=\E=%+ %+ :\
                   2864:        :cr=^M:dc=\EW:dl=\ER:do=^J:ho=^^:ip=6*:kb=^H:kd=^J:kl=^H:\
                   2865:        :le=^H:md=\E(:me=\E):mr=\EG4:nd=^L:nw=^M^J:pc=\177:se=\EG0:\
                   2866:        :sf=^J:so=\EG4:ta=^I:ue=\EG0:up=^K:us=\EG1:vs=\EC\E3 \E3(:
                   2867:
                   2868: #### Qume (qvt)
                   2869: #
                   2870: #      Qume, Inc.
                   2871: #      3475-A North 1st Street
                   2872: #      San Jose CA 95134
                   2873: #      Vox: (800)-457-4447
                   2874: #      Fax: (408)-473-1510
                   2875: #      Net: josed@techsupp.wyse.com (Jose D'Oliveira)
                   2876: #
                   2877: # Qume was bought by Wyse, but still (as of early 1995) has its own support
                   2878: # group and production division.
                   2879: #
                   2880: # Discontinued Qume models:
                   2881: #
                   2882: # The qvt101 and qvt102 listed here are long obsolete; so is the qvt101+
                   2883: # built to replace them, and a qvt119+ which was a 101+ with available wide
                   2884: # mode (132 columns).  There was a qvt103 which added vt100/vt131 emulations
                   2885: # and an ANSI-compatible qvt203 that replaced it.  Qume started producing
                   2886: # ANSI-compatible terminals with the qvt323 and qvt61.
                   2887: #
                   2888: # Current Qume models (as of February 1995):
                   2889: #
                   2890: # All current Qume terminals have ANSI-compatible operation modes.
                   2891: # Qume is still producing the qvt62, which features emulations for other
                   2892: # popular lines such as ADDS, and dual-host capabilities.  The qvt82 is
                   2893: # designed for use as a SCO ANSI terminal.  The qvt70 is a color terminal
                   2894: # with many emulations including Wyse370, Wyse 325, etc.  Their newest
                   2895: # model is the qvt520, which is vt420-compatible.
                   2896: #
                   2897: # There are some ancient printing Qume terminals under `Daisy Wheel Printers'
                   2898: #
                   2899: # If you inherit a Qume without docs, try Ctrl-Shift-Setup to enter its
                   2900: # setup mode.  Shift-s should be a configuration save to NVRAM.
                   2901:
                   2902: qvt101|qvt108|qume qvt 101 and QVT 108:\
                   2903:        :sg#1:tc=qvt101+:
                   2904:
                   2905: # This used to have :vs=\E.2: but no :ve: or :vi:.  The BSD termcap
                   2906: # file had :vs=\EM4 \200\200\200:.  I've done the safe thing and yanked
                   2907: # both. The :mr: is from BSD, which also claimed bold=\E( and dim=\E).
                   2908: # What seems to be going on here is that this entry was designed so that
                   2909: # the normal highlight is bold and standout is dim plus something else
                   2910: # (reverse-video maybe?  But then, are there two :mr: sequences?)
                   2911: qvt101+|qvt101p|qume qvt 101 PLUS product:\
                   2912:        :am:bw:hs:ul:\
                   2913:        :co#80:li#24:sg#0:\
                   2914:        :al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:\
                   2915:        :ct=\E3:dc=\EW:dl=\ER:do=^J:ds=\Eg\Ef\r:ei=:fs=^M:ho=^^:\
                   2916:        :ic=\EQ:im=:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
                   2917:        :k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:kA=\EE:\
                   2918:        :kB=\EI:kE=\ET:kI=\EQ:kL=\ER:kS=\EY:kb=^H:kd=^J:kh=^^:kl=^H:\
                   2919:        :kr=^L:ku=^K:le=^H:mk@:nd=^L:pf=\EA:po=\E@:se=\E(:sf=^J:\
                   2920:        :so=\E0P\E):st=\E1:ta=^I:ts=\Eg\Ef:up=^K:vb=\Eb\Ed:ve=\E.4:\
                   2921:        :tc=adm+sgr:
                   2922: qvt102|qume qvt 102:\
                   2923:        :ve=\E.:tc=qvt101:
                   2924: # (qvt103: added <rmam>/<smam> based on init string -- esr)
                   2925: qvt103|qume qvt 103:\
                   2926:        :am:xn:xo:\
                   2927:        :co#80:it#8:li#24:vt#3:\
                   2928:        :DO=\E[%dB:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
                   2929:        :UP=\E[%dA:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
                   2930:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:do=^J:\
                   2931:        :ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:\
                   2932:        :ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
                   2933:        :mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
                   2934:        :r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
                   2935:        :..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m:\
                   2936:        :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
                   2937:        :up=\E[A:us=\E[4m:
                   2938: qvt103-w|qume qvt103 132 cols:\
                   2939:        :co#132:li#24:\
                   2940:        :r2=\E>\E[?3h\E[?4l\E[?5l\E[?8h:tc=qvt103:
                   2941: qvt119+|qvt119p|qvt119|qume qvt 119 and 119PLUS terminals:\
                   2942:        :am:hs:mi:ms:\
                   2943:        :co#80:li#24:sg#0:\
                   2944:        :al=\EE:bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=\E*1:cm=\E=%+ %+ :\
                   2945:        :cr=^M:ct=\E3:dc=\EW:dl=\ER:do=^J:ds=\Eg\Ef\r:ei=\Er:fs=^M:\
                   2946:        :ho=^^:im=\Eq:is=\EDF\EC\EG0\Er\E(\E%EX:k0=^AI\r:\
                   2947:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
                   2948:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:\
                   2949:        :ku=^K:le=^H:nd=^L:pf=\EA:po=\E@:sf=^J:sr=\EJ:st=\E1:ta=^I:\
                   2950:        :ts=\Eg\Ef:up=^K:us=\EG8:vb=\En0\En1:ve=\E.4:vs=\E.2:\
                   2951:        :tc=adm+sgr:
                   2952: qvt119+-25|qvt119p-25|QVT 119 PLUS with 25 data lines:\
                   2953:        :li#25:tc=qvt119+:
                   2954: qvt119+-w|qvt119p-w|qvt119-w|QVT 119 and 119 PLUS in 132 column mode:\
                   2955:        :co#132:\
                   2956:        :is=\EDF\EC\EG0\Er\E(\E%\EX\En4:tc=qvt119+:
                   2957: qvt119+-25-w|qvt119p-25-w|qvt119-25-w|QVT 119 and 119 PLUS 132 by 25:\
                   2958:        :li#25:tc=qvt119+:
                   2959: qvt203|qvt203+|qume qvt 203 Plus:\
                   2960:        :al=\E[L:dc=\E[P:dl=\E[M:ei=\E[4l:im=\E[4h:ip=:k0=\E[29~:\
                   2961:        :k1=\E[17~:k2=\E[18~:k3=\E[19~:k4=\E[20~:k5=\E[21~:\
                   2962:        :k6=\E[23~:k7=\E[24~:k8=\E[25~:k9=\E[28~:sf=\n:\
                   2963:        :tc=qvt103:
                   2964: qvt203-w|qvt203-w-am|qume qvt 203 PLUS in 132 cols (w/advanced video):\
                   2965:        :co#132:li#24:\
                   2966:        :r2=\E>\E[?3h\E[?4l\E[?5l\E[?8h:tc=qvt203:
                   2967: #
                   2968: #      Since a command is present for enabling 25 data lines,
                   2969: #      a specific terminfo entry may be generated for the 203.
                   2970: #      If one is desired for the QVT 119 PLUS then 25 lines must
                   2971: #      be selected in the status line (setup line 9).
                   2972: #
                   2973: qvt203-25|QVT 203 PLUS with 25 by 80 column mode:\
                   2974:        :co#80:li#25:\
                   2975:        :is=\E[=40h\E[?3l:tc=qvt203:
                   2976: qvt203-25-w|QVT 203 PLUS with 25 by 132 columns:\
                   2977:        :co#132:li#25:\
                   2978:        :r2=\E[?3h\E[=40h:tc=qvt203:
                   2979:
                   2980: #### Televideo (tvi)
                   2981: #
                   2982: #      TeleVideo
                   2983: #      550 East Brokaw Road
                   2984: #      PO Box 49048    95161
                   2985: #      San Jose CA 95112
                   2986: #      Vox: (408)-954-8333
                   2987: #      Fax: (408)-954-0623
                   2988: #
                   2989: #
                   2990: # There are some tvi terminals that require incredible amounts of padding and
                   2991: # some that don't.  I'm assuming tvi912 and tvi920 are the old slow ones, and
                   2992: # tvi912b, tvi912c, tvi920b, tvi920c are the new ones that don't need padding.
                   2993: #
                   2994: # All of these terminals (912 to 970 and the tvipt) are discontinued.  Newer
                   2995: # Televideo terminals are ANSI and PC-ANSI compatible.
                   2996:
                   2997: tvi803|televideo 803:\
                   2998:        :cl=\E*:tc=tvi950:
                   2999:
                   3000: # Vanilla tvi910 -- W. Gish <cswarren@violet> 10/29/86
                   3001: # Switch settings are:
                   3002: #
                   3003: # S1  1 2 3 4
                   3004: #     D D D D  9600
                   3005: #     D D D U    50
                   3006: #     D D U D    75
                   3007: #     D D U U   110
                   3008: #     D U D D   135
                   3009: #     D U D U   150
                   3010: #     D U U D   300
                   3011: #     D U U U   600
                   3012: #     U D D D  1200
                   3013: #     U D D U  1800
                   3014: #     U D U D  2400
                   3015: #     U D U U  3600
                   3016: #     U U D D  4800
                   3017: #     U U D U  7200
                   3018: #     U U U D  9600
                   3019: #     U U U U 19200
                   3020: #
                   3021: # S1  5 6 7 8
                   3022: #     U D X D  7N1 (data bits, parity, stop bits) (X means ignored)
                   3023: #     U D X U  7N2
                   3024: #     U U D D  7O1
                   3025: #     U U D U  7O2
                   3026: #     U U U D  7E1
                   3027: #     U U U U  7E2
                   3028: #     D D X D  8N1
                   3029: #     D D X U  8N2
                   3030: #     D U D D  8O1
                   3031: #     D U U U  8E2
                   3032: #
                   3033: # S1  9  Autowrap
                   3034: #     U  on
                   3035: #     D  off
                   3036: #
                   3037: # S1 10  CR/LF
                   3038: #     U  do CR/LF when CR received
                   3039: #     D  do CR when CR received
                   3040: #
                   3041: # S2  1  Mode
                   3042: #     U  block
                   3043: #     D  conversational
                   3044: #
                   3045: # S2  2  Duplex
                   3046: #     U  half
                   3047: #     D  full
                   3048: #
                   3049: # S2  3  Hertz
                   3050: #     U  50
                   3051: #     D  60
                   3052: #
                   3053: # S2  4  Edit mode
                   3054: #     U  local
                   3055: #     D  duplex
                   3056: #
                   3057: # S2  5  Cursor type
                   3058: #     U  underline
                   3059: #     D  block
                   3060: #
                   3061: # S2  6  Cursor down key
                   3062: #     U  send ^J
                   3063: #     D  send ^V
                   3064: #
                   3065: # S2  7  Screen colour
                   3066: #     U  green on black
                   3067: #     D  black on green
                   3068: #
                   3069: # S2  8  DSR status (pin 6)
                   3070: #     U  disconnected
                   3071: #     D  connected
                   3072: #
                   3073: # S2  9  DCD status (pin 8)
                   3074: #     U  disconnected
                   3075: #     D  duplex
                   3076: #
                   3077: # S2 10  DTR status (pin 20)
                   3078: #     U  disconnected
                   3079: #     D  duplex
                   3080: # (tvi910: removed obsolete ":ma=^Kk^Ll^R^L:"; added :kh:, :le:, :do:,
                   3081: # :sf:, <hpa>, <vpa>, :am:, :ms: from SCO entry -- esr)
                   3082: tvi910|televideo model 910:\
                   3083:        :am:bs:ms:\
                   3084:        :co#80:it#8:li#24:sg#1:\
                   3085:        :bl=^G:bt=\EI:cd=\EY:ce=\ET:ch=\E]%+ :cl=^Z:cm=\E=%+ %+ :\
                   3086:        :cr=^M:cv=\E[%+ :do=^J:ho=\E=\001\001:\
                   3087:        :if=/usr/share/tabset/stdcrt:k0=^AI\r:k1=^A@\r:k2=^AA\r:\
                   3088:        :k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:\
                   3089:        :k9=^AH\r:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:mk@:nd=^L:\
                   3090:        :sf=^J:ta=^I:up=^K:\
                   3091:        :tc=adm+sgr:
                   3092: # From: Alan R. Rogers <rogers%albany@csnet-relay>
                   3093: # as subsequently hacked over by someone at SCO
                   3094: # (tvi910+: removed obsolete ":ma=^K^P^L :" -- esr)
                   3095: #
                   3096: # Here are the 910+'s DIP switches (U = up, D = down, X = don't care):
                   3097: #
                   3098: # S1  1 2 3 4:
                   3099: #     D D D D  9600     D D D U    50     D D U D    75     D D U U   110
                   3100: #     D U D D   135     D U D U   150     D U U D   300     D U U U   600
                   3101: #     U D D D  1200     U D D U  1800     U D U D  2400     U D U U  3600
                   3102: #     U U D D  4800     U U D U  7200     U U U D  9600     U U U U 19200
                   3103: #
                   3104: # S1  5 6 7 8:
                   3105: #     U D X D  7N1     U D X U  7N2     U U D D  7O1     U U D U  7O2
                   3106: #     U U U D  7E1     U U U U  7E2     D D X D  8N1     D D X U  8N2
                   3107: #     D U D D  8O1     D U U U  8E2
                   3108: #
                   3109: # S1  9  Autowrap            (U = on, D = off)
                   3110: # S1 10  CR/LF               (U = CR/LF on CR received, D = CR on CR received)
                   3111: # S2  1  Mode                (U = block, D = conversational)
                   3112: # S2  2  Duplex              (U =  half, D = full)
                   3113: # S2  3  Hertz               (U = 50, D = 60)
                   3114: # S2  4  Edit mode           (U = local, D = duplex)
                   3115: # S2  5  Cursor type         (U = underline, D = block)
                   3116: # S2  6  Cursor down key     (U = send ^J, D = send ^V)
                   3117: # S2  7  Screen colour       (U = green on black, D = black on green)
                   3118: # S2  8  DSR status (pin 6)  (U = disconnected, D = connected)
                   3119: # S2  9  DCD status (pin 8)  (U = disconnected, D = connected)
                   3120: # S2 10  DTR status (pin 20) (U = disconnected, D = connected)
                   3121: #
                   3122: tvi910+|televideo 910+:\
                   3123:        :al=\EE:dc=\EW:dl=\ER:ei=:ho=^^:ic=\EQ:im=:k0=^A@\r:k1=^AA\r:\
                   3124:        :k2=^AB\r:k3=^AC\r:k4=^AD\r:k5=^AE\r:k6=^AF\r:k7=^AG\r:\
                   3125:        :k8=^AH\r:k9=^AI\r:ll=\E=7 :\
                   3126:        :tc=tvi910:
                   3127:
                   3128: # (tvi912: removed obsolete ":ma=^K^P^L :", added  :vb: and
                   3129: # :kh: from BRL entry -- esr)
                   3130: tvi912|tvi914|tvi920|old televideo 912/914/920:\
                   3131:        :am:bs:ms:pt:\
                   3132:        :co#80:it#8:li#24:sg#1:\
                   3133:        :al=\EE:bl=^G:cd=\Ey:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:ct=\E3:\
                   3134:        :dc=\EW:dl=\ER:do=^J:ei=:ho=^^:ic=\EQ:\
                   3135:        :if=/usr/share/tabset/stdcrt:im=:k0=^AI\r:k1=^A@\r:\
                   3136:        :k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:\
                   3137:        :k8=^AG\r:k9=^AH\r:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:\
                   3138:        :nd=^L:se=\Ek:sf=^J:so=\Ej:st=\E1:ta=^I:ue=\Em:up=^K:us=\El:\
                   3139:        :vb=\Eb\Ed:
                   3140: # the 912 has a <funct> key that's like shift: <funct>8 xmits "^A8\r".
                   3141: # The 920 has this plus real function keys that xmit different things.
                   3142: # Terminfo makes you use the funct key on the 912 but the real keys on the 920.
                   3143: tvi912c|tvi912b|new televideo 912:\
                   3144:        :al=\EE:dl=\ER:tc=tvi912:
                   3145: # set to page 1 when entering curses application (\E-17 )
                   3146: # reset to page 0 when exiting curses application (\E-07 )
                   3147: tvi912-2p|tvi920-2p|tvi-2p|televideo w/2 pages:\
                   3148:        :te=\E-07 :ti=\E-17 :tc=tvi912:
                   3149: # We got some new tvi912c terminals that act really weird on the regular
                   3150: # termcap, so one of our gurus worked this up. Seems that cursor
                   3151: # addressing is broken.
                   3152: tvi912cc|tvi912 at cowell college:\
                   3153:        :cm@:tc=tvi912c:
                   3154:
                   3155: # Here are the switch settings for the tvi920c:
                   3156: #
                   3157: # S1 (Line), and S3 (Printer) baud rates -- put one, and only one, switch down:
                   3158: # 2: 9600      3: 4800         4: 2400         5: 1200
                   3159: # 6:  600      7:  300         8:  150         9:   75
                   3160: # 10: 110
                   3161: #
                   3162: # S2 UART/Terminal options:
                   3163: #              Up                      Down
                   3164: # 1:           Not used                Not allowed
                   3165: # 2:   Alternate character set   Standard character set
                   3166: # 3:       Full duplex             Half duplex
                   3167: # 4:       50 Hz refresh           60 Hz refresh
                   3168: # 5:         No parity              Send parity
                   3169: # 6:        2 stop bits             1 stop bit
                   3170: # 7:        8 data bits             7 data bits
                   3171: # 8:           Not used                Not allowed on Rev E or lower
                   3172: # 9:        Even parity             Odd parity
                   3173: # 10:      Steady cursor           Blinking cursor
                   3174: #      (On Rev E or lower, use W25 instead of switch 10.)
                   3175: #
                   3176: # S5 UART/Terminal options:
                   3177: #              Open                    Closed
                   3178: # 1:   P3-6 Not connected      DSR received on P3-6
                   3179: # 2:   P3-8 Not connected      DCD received on P3-8
                   3180: #
                   3181: # 3 Open, 4 Open:              P3-20 Not connected
                   3182: # 3 Open, 4 Closed:    DTR on when terminal is on
                   3183: # 3 Closed, 4 Open:    DTR is connected to RTS
                   3184: # 3 Closed, 4 Closed:  Not allowed
                   3185: #
                   3186: # 5 Closed:    HDX printer (hardware control) Rev. K with extension port off,
                   3187: #              all data transmitted out of the modem port (P3) will also be
                   3188: #              transmitted out of the printer port (P4).
                   3189: #
                   3190: # 6 Open, 7 Open:              Not allowed
                   3191: # 6 Open, 7 Closed:    20ma current loop input
                   3192: # 6 Closed, 7 Open:    RS232 input
                   3193: # 6 Closed, 7 Closed:  Not allowed
                   3194: #
                   3195: # Jumper options:
                   3196: # If the jumper is installed, the effect will occur (the next time the terminal
                   3197: # is switched on).
                   3198: #
                   3199: # S4/W31:      Enables automatic LF upon receipt of CR from
                   3200: #              remote or keyboard.
                   3201: # S4/W32:      Enables transmission of EOT at the end of Send.  If not
                   3202: #              installed, a carriage return is sent.
                   3203: # S4/W33:      Disables automatic carriage return in column 80.
                   3204: # S4/W34:      Selects Page Print Mode as initial condition.  If not
                   3205: #              installed, Extension Mode is selected.
                   3206: #
                   3207: tvi920b|tvi920c|new televideo 920:\
                   3208:        :al=\EE:dl=\ER:k0=^AI\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:\
                   3209:        :k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:\
                   3210:        :tc=tvi912:
                   3211:
                   3212: # Televideo 921 and variants
                   3213: # From: Tim Theisen <tim@cs.wisc.edu> 22 Sept 1995
                   3214: # (tvi921: removed :ko=bt: before translation, I see no backtab cap;
                   3215: # also added empty <acsc> to suppress tic warning -- esr)
                   3216: tvi921|televideo model 921 with sysline same as page & real vi function:\
                   3217:        :am:bs:hs:pt:xn:xs:\
                   3218:        :co#80:li#24:sg#0:\
                   3219:        :ac=:ae=\E%:al=\EE:as=\E$:cd=\EY:ce=\ET:cl=^Z:cm=3\E=%+ %+ :\
                   3220:        :cr=^M:dc=\EW:dl=1*\ER:do=^V:ds=\Ef\r\Eg:ei=:fs=\Eg:ho=^^:\
                   3221:        :ic=\EQ:if=/usr/share/tabset/stdcrt:im=:\
                   3222:        :is=\El\E"\EF1\E.3\017\EA\E<:kA=\EE:kC=^Z:kD=\EW:kE=\ET:\
                   3223:        :kI=\EQ:kL=1*\ER:kS=\EY:kb=^H:kd=^V:kl=^H:kr=^L:ku=^K:le=^H:\
                   3224:        :mk@:nd=^L:nw=^M^J:sf=^J:ta=^I:ts=\Ef\EG0:up=^K:ve=\E.3:\
                   3225:        :vs=\E.2:\
                   3226:        :tc=adm+sgr:
                   3227: # without the beeper
                   3228: # (tvi92B: removed :ko=bt: before translation, I see no backtab cap;
                   3229: # also added empty <acsc> to suppress tic warning -- esr)
                   3230: tvi92B|televideo model 921 with sysline same as page & real vi function & no beeper:\
                   3231:        :am:hs:xn:xs:\
                   3232:        :co#80:li#24:sg#0:\
                   3233:        :ac=:ae=\E%:al=\EE:as=\E$:cd=\EY:ce=\ET:cl=^Z:cm=3\E=%+ %+ :\
                   3234:        :cr=^M:dc=\EW:dl=1*\ER:do=^V:ds=\Ef\r\Eg:ei=:fs=\Eg:ho=^^:\
                   3235:        :ic=\EQ:if=/usr/share/tabset/stdcrt:im=:\
                   3236:        :is=\El\E"\EF1\E.3\017\EA\E<:kA=\EE:kC=^Z:kD=\EW:kE=\ET:\
                   3237:        :kI=\EQ:kL=1*\ER:kS=\EY:kb=^H:kd=^V:kl=^H:kr=^L:ku=^K:le=^H:\
                   3238:        :mk@:nd=^L:nw=^M^J:sf=^J:ta=^I:ts=\Ef\EG0:up=^K:vb=\Eb\Ed:\
                   3239:        :ve=\E.3:vs=\E.2:\
                   3240:        :tc=adm+sgr:
                   3241: # (tvi92D: removed :ko=bt: before translation, I see no backtab cap -- esr)
                   3242: tvi92D|tvi92B with DTR instead of XON/XOFF & better padding:\
                   3243:        :al=2*\EE:dl=2*\ER:is=\El\E"\EF1\E.3\016\EA\E<:kA=2*\EE:\
                   3244:        :kL=2*\ER:\
                   3245:        :tc=tvi92B:
                   3246:
                   3247: # (tvi924: This used to have :ds=\Es0:, :fs=\031:.  I put the new strings
                   3248: # in from a BSD termcap file because it looks like they do something the
                   3249: # old ones skip -- esr)
                   3250: tvi924|televideo tvi924:\
                   3251:        :am:bw:hs:in:mi:ms:xn:xo:\
                   3252:        :co#80:it#8:li#24:sg#0:ws#80:\
                   3253:        :F1=^AK\r:F2=^AL\r:F3=^AM\r:F4=^AN\r:F5=^AO\r:al=\EE:bl=^G:\
                   3254:        :bt=\EI:cd=\Ey:ce=\Et:cl=\E*0:cm=\E=%+ %+ :cr=^M:\
                   3255:        :cs=\E_%+ %+ :ct=\E3:dc=\EW:dl=\ER:do=^V:ds=\Es0\Ef\031:\
                   3256:        :ei=:fs=\031\Es1:ho=^^:\
                   3257:        :i1=\017\E%\E'\E(\EDF\EC\EG0\EN0\Es0\Ev0:ic=\EQ:\
                   3258:        :if=/usr/share/tabset/stdcrt:im=:k0=^A@\r:k1=^AA\r:\
                   3259:        :k2=^AB\r:k3=^AC\r:k4=^AD\r:k5=^AE\r:k6=^AF\r:k7=^AG\r:\
                   3260:        :k8=^AH\r:k9=^AI\r:k;=^AJ\r:kA=\EE:kC=\E*0:kD=\EW:kE=\Et:\
                   3261:        :kI=\EQ:kL=\ER:kS=\Ey:kb=^H:kd=^V:kh=^^:kl=^H:kr=^L:ku=^K:\
                   3262:        :l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:l8=F9:l9=F10:\
                   3263:        :la=F11:le=^H:mb=\EG2:mk@:nd=^L:pk=\E|%+1%s\031:sf=^J:\
                   3264:        :sr=\Ej:st=\E1:ta=^I:ts=\Ef:up=^K:vb=\Eb\Ed:ve=\E.3:vi=\E.0:\
                   3265:        :vs=\E.1:\
                   3266:        :tc=adm+sgr:
                   3267:
                   3268: # TVI925 DIP switches.  In each of these, D = Down and U = Up,
                   3269: #
                   3270: # Here are the settings for the external (baud) switches (S1):
                   3271: #
                   3272: #             Position         Baud
                   3273: # 7    8       9       10              [Printer]
                   3274: # 1    2       3       4               [Main RS232]
                   3275: # -----------------------------------------------------
                   3276: # D    D       D       D       9600
                   3277: # D    D       D       U         50
                   3278: # D    D       U       D         75
                   3279: # D    D       U       U        110
                   3280: # D    U       D       D        135
                   3281: # D    U       D       U        150
                   3282: # D    U       U       D        300
                   3283: # D    U       U       U        600
                   3284: # U    D       D       D       1200
                   3285: # U    D       D       U       1800
                   3286: # U    D       U       D       2400
                   3287: # U    D       U       U       3600
                   3288: # U    U       D       D       4800
                   3289: # U    U       D       U       7200
                   3290: # U    U       U       D       9600
                   3291: # U    U       U       U       19200
                   3292: #
                   3293: #
                   3294: # Settings for word length and stop-bits (S1)
                   3295: #
                   3296: #  Position    Description
                   3297: # 5    6
                   3298: # ---------------------------
                   3299: # U    -       7-bit word
                   3300: # D    -       8-bit word
                   3301: # -    U       2 stop bits
                   3302: # -    D       1 stop bit
                   3303: #
                   3304: #
                   3305: # S2 (external) settings
                   3306: #
                   3307: # Position     Up      Dn      Description
                   3308: # --------------------------------------------
                   3309: # 1            X               Local edit
                   3310: #                      X       Duplex edit (transmit editing keys)
                   3311: # --------------------------------------------
                   3312: # 2            X               912/920 emulation
                   3313: #                      X       925
                   3314: # --------------------------------------------
                   3315: # 3                    X
                   3316: # 4                    X       No parity
                   3317: # 5                    X
                   3318: # --------------------------------------------
                   3319: # 3                    X
                   3320: # 4                    X       Odd parity
                   3321: # 5            X
                   3322: # --------------------------------------------
                   3323: # 3                    X
                   3324: # 4            X               Even parity
                   3325: # 5            X
                   3326: # --------------------------------------------
                   3327: # 3            X
                   3328: # 4                    X       Mark parity
                   3329: # 5            X
                   3330: # --------------------------------------------
                   3331: # 3            X
                   3332: # 4            X               Space parity
                   3333: # 5            X
                   3334: # --------------------------------------------
                   3335: # 6            X               White on black display
                   3336: #                      X       Black on white display
                   3337: # --------------------------------------------
                   3338: # 7                    X       Half Duplex
                   3339: # 8                    X
                   3340: # --------------------------------------------
                   3341: # 7            X               Full Duplex
                   3342: # 8                    X
                   3343: # --------------------------------------------
                   3344: # 7                    X       Block mode
                   3345: # 8            X
                   3346: # --------------------------------------------
                   3347: # 9                    X       50 Hz
                   3348: #              X               60 Hz
                   3349: # --------------------------------------------
                   3350: # 10           X               CR/LF (Auto LF)
                   3351: #                      X       CR only
                   3352: #
                   3353: # S3 (internal switch) settings:
                   3354: #
                   3355: # Position     Up      Dn      Description
                   3356: # --------------------------------------------
                   3357: # 1            X               Keyclick off
                   3358: #                      X       Keyclick on
                   3359: # --------------------------------------------
                   3360: # 2                    X       English
                   3361: # 3                    X
                   3362: # --------------------------------------------
                   3363: # 2                    X       German
                   3364: # 3            X
                   3365: # --------------------------------------------
                   3366: # 2            X               French
                   3367: # 3                    X
                   3368: # --------------------------------------------
                   3369: # 2            X               Spanish
                   3370: # 3            X
                   3371: # --------------------------------------------
                   3372: # 4                    X       Blinking block cursor
                   3373: # 5                    X
                   3374: # --------------------------------------------
                   3375: # 4                    X       Blinking underline cursor
                   3376: # 5            X
                   3377: # --------------------------------------------
                   3378: # 4            X               Steady block cursor
                   3379: # 5                    X
                   3380: # --------------------------------------------
                   3381: # 4            X               Steady underline cursor
                   3382: # 5            X
                   3383: # --------------------------------------------
                   3384: # 6            X               Screen blanking timer (ON)
                   3385: #                      X       Screen blanking timer (OFF)
                   3386: # --------------------------------------------
                   3387: # 7            X               Page attributes
                   3388: #                      X       Line attributes
                   3389: # --------------------------------------------
                   3390: # 8            X               DCD disconnected
                   3391: #                      X       DCD connected
                   3392: # --------------------------------------------
                   3393: # 9            X               DSR disconnected
                   3394: #                      X       DSR connected
                   3395: # --------------------------------------------
                   3396: # 10           X               DTR Disconnected
                   3397: #                      X       DTR connected
                   3398: # --------------------------------------------
                   3399: #
                   3400: # (tvi925: BSD has :cl=\E*:.  I got :is: and :sr: from there -- esr)
                   3401: tvi925|televideo 925:\
                   3402:        :am:bs:bw:hs:ul:\
                   3403:        :co#80:li#24:sg#1:\
                   3404:        :al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:\
                   3405:        :ct=\E3:dc=\EW:dl=\ER:do=^V:ds=\Eh:ei=:fs=^M\Eg:ho=^^:ic=\EQ:\
                   3406:        :im=:is=\El\E":k0=^AI\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:\
                   3407:        :k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:\
                   3408:        :kA=\EE:kC=^Z:kD=\EW:kE=\ET:kI=\EQ:kL=\ER:kS=\EY:kb=^H:kd=^V:\
                   3409:        :kh=^^:kl=^H:kr=^L:ku=^K:le=^H:mk@:nd=^L:sf=^J:sr=\Ej:st=\E1:\
                   3410:        :ta=^I:ts=\Eh\Ef:up=^K:vb=\Eb\Ed:ve=\E.4:vs=\E.2:\
                   3411:        :tc=adm+sgr:
                   3412: # TeleVideo 925 from Mitch Bradley <sun!wmb> via BRL
                   3413: # to avoid "magic cookie" standout glitch:
                   3414: tvi925-hi|TeleVideo Model 925 with half intensity standout mode:\
                   3415:        :sg@:\
                   3416:        :kb=^H:kd=^J:kl=^H:se=\E(:so=\E):tc=tvi925:
                   3417:
                   3418: # From: Todd Litwin <litwin@litwin.jpl.nasa.gov> 28 May 1993
                   3419: # Originally Tim Curry, Univ. of Central Fla., <duke!ucf-cs!tim> 5/21/82
                   3420: # for additional capabilities,
                   3421: # The following tvi descriptions from B:pjphar and virus!mike
                   3422: # is for all 950s.  It sets the following attributes:
                   3423: # full duplex (\EDF)           write protect off (\E()
                   3424: # conversation mode (\EC)      graphics mode off (\E%)
                   3425: # white on black (\Ed)         auto page flip off (\Ew)
                   3426: # turn off status line (\Eg)   clear status line (\Ef\r)
                   3427: # normal video (\E0)           monitor mode off (\EX or \Eu)
                   3428: # edit mode (\Er)              load blank char to space (\Ee\040)
                   3429: # line edit mode (\EO)         enable buffer control (^O)
                   3430: # protect mode off (\E\047)    duplex edit keys (\El)
                   3431: # program unshifted send key to send line all (\E016)
                   3432: # program shifted send key to send line unprotected (\E004)
                   3433: # set the following to nulls:
                   3434: #      field delimiter (\Ex0\200\200)
                   3435: #      line delimiter (\Ex1\200\200)
                   3436: #      start-protected field delimiter (\Ex2\200\200)
                   3437: #      end-protected field delimiter (\Ex3\200\200)
                   3438: # set end of text delimiter to carriage return/null (\Ex4\r\200)
                   3439: #
                   3440: #                     TVI 950 Switch Setting Reference Charts
                   3441: #
                   3442: #                                     TABLE 1:
                   3443: #
                   3444: #      S1     1     2     3     4     5     6     7     8     9    10
                   3445: #          +-----------------------+-----+-----+-----------------------+
                   3446: #          | Computer Baud Rate    |Data |Stop | Printer Baud Rate     |
                   3447: #          |                       |Bits |Bits |                       |
                   3448: #   +------+-----------------------+-----+-----+-----------------------+
                   3449: #   |  Up  |        See            |  7  |  2  |        See            |
                   3450: #   +------+-----------------------+-----+-----+-----------------------+
                   3451: #   | Down |      TABLE 2          |  8  |  1  |      TABLE 2          |
                   3452: #   +------+-----------------------+-----+-----+-----------------------+
                   3453: #
                   3454: #
                   3455: #      S2     1     2     3     4     5     6     7     8     9    10
                   3456: #          +-----+-----+-----------------+-----+-----------+-----+-----+
                   3457: #          |Edit |Cursr|    Parity       |Video|Transmiss'n| Hz  |Click|
                   3458: #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
                   3459: #   |  Up  | Dplx|Blink|      See        |GonBk|   See     | 60  | Off |
                   3460: #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
                   3461: #   | Down |Local|St'dy|    TABLE 3      |BkonG|  CHART    | 50  | On  |
                   3462: #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
                   3463: #
                   3464: #                                    TABLE 2:
                   3465: #
                   3466: #             +-----------+-----+-----+-----+-----+-----------+
                   3467: #             | Display   |  1  |  2  |  3  |  4  |   Baud    |
                   3468: #             +-----------+-----+-----+-----+-----+           |
                   3469: #             | Printer   |  7  |  8  |  9  | 10  |   Rate    |
                   3470: #             +-----------+-----+-----+-----+-----+-----------+
                   3471: #                         |  D  |  D  |  D  |  D  |   9600    |
                   3472: #                         |  U  |  D  |  D  |  D  |     50    |
                   3473: #                         |  D  |  U  |  D  |  D  |     75    |
                   3474: #                         |  U  |  U  |  D  |  D  |    110    |
                   3475: #                         |  D  |  D  |  U  |  D  |    135    |
                   3476: #                         |  U  |  D  |  U  |  D  |    150    |
                   3477: #                         |  D  |  U  |  U  |  D  |    300    |
                   3478: #                         |  U  |  U  |  U  |  D  |    600    |
                   3479: #                         |  D  |  D  |  D  |  U  |   1200    |
                   3480: #                         |  U  |  D  |  D  |  U  |   1800    |
                   3481: #                         |  D  |  U  |  D  |  U  |   2400    |
                   3482: #                         |  U  |  U  |  D  |  U  |   3600    |
                   3483: #                         |  D  |  D  |  U  |  U  |   4800    |
                   3484: #                         |  U  |  D  |  U  |  U  |   7200    |
                   3485: #                         |  D  |  U  |  U  |  U  |   9600    |
                   3486: #                         |  U  |  U  |  U  |  U  |  19200    |
                   3487: #                         +-----+-----+-----+-----+-----------+
                   3488: #
                   3489: #                                    TABLE 3:
                   3490: #                         +-----+-----+-----+-----------+
                   3491: #                         |  3  |  4  |  5  |   Parity  |
                   3492: #                         +-----+-----+-----+-----------+
                   3493: #                         |  X  |  X  |  D  |    None   |
                   3494: #                         |  D  |  D  |  U  |     Odd   |
                   3495: #                         |  D  |  U  |  U  |    Even   |
                   3496: #                         |  U  |  D  |  U  |    Mark   |
                   3497: #                         |  U  |  U  |  U  |   Space   |
                   3498: #                         +-----+-----+-----+-----------+
                   3499: #                                 X = don't care
                   3500: #
                   3501: #                                     CHART:
                   3502: #                         +-----+-----+-----------------+
                   3503: #                         |  7  |  8  | Communication   |
                   3504: #                         +-----+-----+-----------------+
                   3505: #                         |  D  |  D  |  Half Duplex    |
                   3506: #                         |  D  |  U  |  Full Duplex    |
                   3507: #                         |  U  |  D  |     Block       |
                   3508: #                         |  U  |  U  |     Local       |
                   3509: #                         +-----+-----+-----------------+
                   3510: #
                   3511: # (tvi950: early versions had obsolete ":ma=^Vj^Kk^Hh^Ll^^H:".
                   3512: # I also inserted :ic: and :kI:; the :ko: string indicated that :IC:
                   3513: # should be present and all tvi native modes use the same string for this.
                   3514: # Finally, note that BSD has cud1=^V. -- esr)
                   3515: tvi950|televideo 950:\
                   3516:        :am:bs:hs:mi:ms:xn:xo:\
                   3517:        :co#80:it#8:li#24:sg#1:\
                   3518:        :ac=b\011c\014d\re\ni\013:ae=^X:al=\EE:as=^U:bl=^G:bt=\EI:\
                   3519:        :cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :cr=^M:ct=\E3:dc=\EW:\
                   3520:        :dl=\ER:do=^J:ds=\Eg\Ef\r:ei=\Er:fs=^M:ho=^^:ic=\EQ:im=\Eq:\
                   3521:        :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:\
                   3522:        :k0=^A0\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
                   3523:        :k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=\EE:kB=\EI:kC=\E*:\
                   3524:        :kD=\EW:kE=\Et:kI=\EQ:kL=\ER:kS=\Ey:kb=^H:kd=^V:kh=^^:kl=^H:\
                   3525:        :kr=^L:ku=^K:le=^H:mk@:nd=^L:pf=\Ea:po=\E`:sf=^J:sr=\Ej:\
                   3526:        :st=\E1:ta=^I:ts=\Eg\Ef:up=^K:vb=\Eb\Ed:\
                   3527:        :tc=adm+sgr:
                   3528: #
                   3529: # is for 950 with two pages adds the following:
                   3530: #      set 48 line page (\E\\2)
                   3531: #      place cursor at page 0, line 24, column 1 (\E-07 )
                   3532: #      set local (no send) edit keys (\Ek)
                   3533: #
                   3534: # two page 950 adds the following:
                   3535: #      when entering ex, set 24 line page (\E\\1)
                   3536: #      when exiting ex, reset 48 line page (\E\\2)
                   3537: #                       place cursor at 0,24,1 (\E-07 )
                   3538: #      set duplex (send) edit keys (\El) when entering vi
                   3539: #      set local (no send) edit keys (\Ek) when exiting vi
                   3540: #
                   3541: tvi950-2p|televideo950 w/2 pages:\
                   3542:        :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:\
                   3543:        :ke=\Ek:ks=\El:te=\E\2\E-07 :ti=\E\1\E-07 :\
                   3544:        :tc=tvi950:
                   3545: #
                   3546: # is for 950 with four pages adds the following:
                   3547: #      set 96 line page (\E\\3)
                   3548: #      place cursor at page 0, line 24, column 1 (\E-07 )
                   3549: #
                   3550: # four page 950 adds the following:
                   3551: #      when entering ex, set 24 line page (\E\\1)
                   3552: #      when exiting ex, reset 96 line page (\E\\3)
                   3553: #                       place cursor at 0,24,1 (\E-07 )
                   3554: #
                   3555: tvi950-4p|televideo950 w/4 pages:\
                   3556:        :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:\
                   3557:        :ke=\Ek:ks=\El:te=\E\3\E-07 :ti=\E\1\E-07 :\
                   3558:        :tc=tvi950:
                   3559: #
                   3560: # :is: for reverse video 950 changes the following:
                   3561: #      set reverse video (\Ed)
                   3562: #
                   3563: # set vb accordingly (\Ed ...delay... \Eb)
                   3564: #
                   3565: tvi950-rv|televideo950 rev video:\
                   3566:        :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:\
                   3567:        :vb=\Ed\Eb:\
                   3568:        :tc=tvi950:
                   3569:
                   3570: # tvi950-rv-2p uses the appropriate entries from 950-2p and 950-rv
                   3571: tvi950-rv-2p|televideo950 rev video w/2 pages:\
                   3572:        :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 :\
                   3573:        :ke=\Ek:ks=\El:te=\E\2\E-07 :ti=\E\1\E-07 :vb=\Ed\Eb:\
                   3574:        :tc=tvi950:
                   3575:
                   3576: # tvi950-rv uses the appropriate entries from 950-4p and 950-rv
                   3577: tvi950-rv-4p|televideo950 rev video w/4 pages:\
                   3578:        :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 :\
                   3579:        :ke=\Ek:ks=\El:te=\E\3\E-07 :ti=\E\1\E-07 :vb=\Ed\Eb:\
                   3580:        :tc=tvi950:
                   3581: # From: Andreas Stolcke <stolcke@icsi.berkeley.edu>
                   3582: # (tvi955: removed obsolete ":ma:=^Vj^Kk^Hh^Ll^^H";
                   3583: # removed incorrect (and overridden) ":do=^J:"; fixed broken continuations in
                   3584: # the :rs: string, inserted the :IC: implied by the termcap :ko: string.  Note
                   3585: # the :ko: string had :cl: in it, which means that one of the original
                   3586: # :cl=\E*:, <kclr=\EY> had to be wrong; set <kclr=\E*> because that's what
                   3587: # the 950 has.   Finally, corrected the <kel> string to match the 950 and what
                   3588: # ko implies -- esr)
                   3589: # If the BSD termcap file was right, :cm=\E=%p1%{32}%+%c%p2%{32}%+%c: would
                   3590: # also work.
                   3591: tvi955|televideo 955:\
                   3592:        :5i:bs:ms@:\
                   3593:        :it#8:sg@:\
                   3594:        :RA=\E[=7l:RX=^N:SA=\E[=7h:SX=^O:\
                   3595:        :ac=0_`RjHkGlFmEnIoPqKsQtMuLvOwNxJ:ae=\E%:as=\E$:\
                   3596:        :cm=\E[%i%d;%dH:do=^V:is=\E[=3l\EF1\Ed\EG0\E[=5l\E%\El:\
                   3597:        :kM=\EQ:kN=\EK:kP=\EJ:kT=\E1:ka=\E3:kt=\E2:mb=\EG2:\
                   3598:        :me=\EG0\E[=5l:mh=\E[=5h:mk=\EG1:ps=\EP:\
                   3599:        :r1=\EDF\EC\Eg\Er\EO\E'\E(\Ew\EX\Ee \017\E0P\E6\0\E0p\E4\0\Ef\r:\
                   3600:        :sf@:ve=\E.2:vi=\E.0:vs=\E.1:\
                   3601:        :tc=tvi950:
                   3602: tvi955-w|955-w|televideo955 w/132 cols:\
                   3603:        :co#132:\
                   3604:        :is=\E[=3h\EF1\Ed\EG0\E[=5l\E%\El:tc=tvi955:
                   3605: # use half-intensity as normal mode, full intensity as :md:
                   3606: tvi955-hb|955-hb|televideo955 half-bright:\
                   3607:        :is=\E[=3l\EF1\Ed\EG0\E[=5h\E%\El:md=\E[=5l:\
                   3608:        :me=\EG0\E[=5h:mh@:tc=tvi955:
                   3609: # From: Humberto Appleton <beto@cs.utexas.edu>, 880521 UT Austin
                   3610: # (tvi970: removed ":sg#0:"; removed :se:=\E[m, :ue:=\E[m;
                   3611: # added :am:/:cs:/:ho:/<hpa>/<vpa>/:ti:/:te: from BRL.
                   3612: # According to BRL we could have :ke:=\E>, :ks:=\E= but I'm not sure what
                   3613: # it does to the function keys.  I deduced <rmam>/<smam>.
                   3614: # also added empty <acsc> to suppress tic warning,  -- esr)
                   3615: tvi970|televideo 970:\
                   3616:        :am:bs:da:db:mi:ms:pt:\
                   3617:        :co#80:it#8:li#24:\
                   3618:        :RA=\E[?7h:SA=\E[?7l:ac=:ae=\E(B:al=\E[L:as=\E(B:bt=\E[Z:\
                   3619:        :cd=\E[J:ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[2J:cm=\E[%i%d;%df:\
                   3620:        :cs=\E[%i%d;%dr:cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=\ED:\
                   3621:        :ds=\Eg\Ef\r:ei=\E[4l:ho=\E[H:im=\E[4h:\
                   3622:        :is=\E<\E[?21l\E[19h\E[1Q\E[10l\E[7l\E[H\E[2J:k1=\E?a:\
                   3623:        :k2=\E?b:k3=\E?c:k4=\E?d:k5=\E?e:k6=\E?f:k7=\E?g:k8=\E?h:\
                   3624:        :k9=\E?i:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
                   3625:        :le=^H:me=\E[m:nd=\E[C:se=\E[m:so=\E[7m:sr=\EM:ta=^I:te=:\
                   3626:        :ti=\E[?20l\E[?7h\E[1Q:ue=\E[m:up=\EM:us=\E[4m:\
                   3627:        :vb=\E[5m\E[m:vs=\E[1Q:
                   3628: tvi970-vb|televideo 970 with visual bell:\
                   3629:        :vb=\E[?5h\0\0\0\0\0\0\0\0\0\0\0\0\0\E[?5l:tc=tvi970:
                   3630: tvi970-2p|televideo 970 with using 2 pages of memory:\
                   3631:        :te=\E[H\E[J\E[V:ti=\E[U\E[?20l\E[?7h\E[1Q:\
                   3632:        :tc=tvi970:
                   3633: # Works with vi and rogue.  NOTE: Esc v sets autowrap on, Esc u sets 80 chars
                   3634: # per line (rather than 40), Esc K chooses the normal character set.  Not sure
                   3635: # padding is needed, but adapted from the tvi920c termcap.  The :so: and
                   3636: # :us: strings are klutzy, but at least use no screen space.
                   3637: # (tvipt: removed obsolete ":ma=^Kk^Ll^R^L:".  I wish we knew <rmam>,
                   3638: # its absence means <smam>=\Ev isn't safe to use. -- esr)
                   3639: # From: Gene Rochlin <armsis@amber.berkeley.edu> 9/19/84.
                   3640: # The :cd:/:k0:/:k1:/:kh:/<mc4>, and <mc5> caps are from BRL, which says:
                   3641: # F1 and F2 should be programmed as ^A and ^B; required for UNIFY.
                   3642: tvipt|televideo personal terminal:\
                   3643:        :am:bs:\
                   3644:        :co#80:li#24:\
                   3645:        :al=\EE:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :dl=\ER:\
                   3646:        :ho=^^:if=/usr/share/tabset/stdcrt:is=\Ev\Eu\EK:k0=^A:\
                   3647:        :k1=^B:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:pf=^T:\
                   3648:        :po=^R:se=\EF:so=\EG1@A\EH:ue=\EF:up=^K:us=\EG1B@\EH:
                   3649: # From: Nathan Peterson <nathan@sco.com>, 03 Sep 1996
                   3650: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   3651: # (sgr removed to fit entry within 1023 bytes)
                   3652: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
                   3653: tvi9065|televideo 9065:\
                   3654:        :am:bw:hs:mi:ms:xn:xo:\
                   3655:        :co#80:it#8:li#25:lm#0:ma#4:vt#0:ws#30:\
                   3656:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   3657:        :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ae=\E%:\
                   3658:        :al=\EE:as=\E$:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=^Z:\
                   3659:        :cm=\E=%+ %+ :cr=^M:cs=\E[%i%d;%dr:ct=\E3:dc=\EW:dl=\ER:\
                   3660:        :dm=\Er:do=^V:ds=\E_30\r:ec=\E[%d@:ed=\0:ei=\Er:fs=^M:ho=^^:\
                   3661:        :i1=\E"\E%\E'\E(\EG@\EO\EX\E[=5l\E[=6l\E[=7h\Ed\Er:\
                   3662:        :i2=\E<\E[=4l\E[=8h:if=/usr/share/tabset/stdcrt:im=\Eq:\
                   3663:        :ip=:is=\EF2\EG0\E\L:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
                   3664:        :k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kb=^H:\
                   3665:        :kd=^V:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:ll=\E[25;1H:mb=\EG2:\
                   3666:        :md=\EG\054:me=\EG0:mh=\EGp:mr=\EG4:nd=^L:nw=^M^J:\
                   3667:        :rp=\E[%r%db%.:se=\EG0:sf=^J:so=\EGt:sr=\Ej:st=\E1:ta=^I:\
                   3668:        :te=\E.3\Er\E[1;25r\E[25;0H:ti=\E.2:ts=\E[4;1v\E_30:\
                   3669:        :uc=\EG8\EG0:ue=\EG0:up=^K:us=\EG8:vb=\Eb\Ed:ve=\E.3:\
                   3670:        :vi=\E.0:vs=\E.2:
                   3671:
                   3672: #### Visual (vi)
                   3673: #
                   3674: # In September 1993, Visual Technology of Westboro, Massachusetts,
                   3675: # merged with White Pine Software of Nashua, New Hampshire.
                   3676: #
                   3677: # White Pine Software may be contacted at +1 603/886-9050.
                   3678: # Or visit White Pine on the World Wide Web at URL http://www.wpine.com.
                   3679: #
                   3680:
                   3681: # Visual 50 from Beau Shekita, BTL-Whippany <whuxlb!ejs>
                   3682: # Recently I hacked together the following termcap for Visual
                   3683: # Technology's Visual 50 terminal. It's a slight modification of
                   3684: # the vt52 termcap.
                   3685: # It's intended to run when the Visual 50 is in vt52 emulation mode
                   3686: # (I know what you're thinking; if it's emulating a vt52, then why
                   3687: # another termcap? Well, it turns out that the Visual 50 can handle
                   3688: # :dl: and db(?) among other things, which the vt52 can't)
                   3689: # The termcap works OK for the most part. The only problem is on
                   3690: # character inserts. The whole line gets painfully redrawn for each
                   3691: # character typed. Any suggestions?
                   3692: # Beau's entry is combined with the vi50 entry from University of Wisconsin.
                   3693: # Note especially the :al: function.  :k4:-:k6: are really l4-l6 in
                   3694: # disguise; :k7:-:k9: are really l1-l3.
                   3695: vi50|visual 50:\
                   3696:        :am:bs:da:db:ms:pt:\
                   3697:        :co#80:it#8:li#24:\
                   3698:        :al=\EL:bl=^G:bt=4\Ez:cd=\EJ:ce=16\EK:cl=\EH\EJ:\
                   3699:        :cm=\EY%+ %+ :cr=^M:dl=3*\EM:do=\EB:ho=\EH:k1=\EP:k2=\EQ:\
                   3700:        :k3=\ER:k4=\EV:k5=\EE:k6=\E]:k7=\EL:k8=\Ev:k9=\EM:kb=^H:\
                   3701:        :kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:nl=^J:\
                   3702:        :nw=^M^J:se=\ET:sf=^J:so=\EU:sr=\EI:ta=^I:ue=\EW:up=\EA:\
                   3703:        :us=\ES:
                   3704: # this one was BSD & SCO's vi50
                   3705: vi50adm|visual 50 in adm3a mode:\
                   3706:        :am:ms:\
                   3707:        :co#80:it#8:li#24:\
                   3708:        :al=\EL:bl=^G:cd=\Ek:ce=\EK:cl=^Z:cm=\E=%+ %+ :cr=^M:dl=\EM:\
                   3709:        :do=^J:ho=\EH:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:\
                   3710:        :nd=^L:se=\ET:sf=^J:so=\EU:ta=^I:up=^K:
                   3711: # From: Jeff Siegal <jbs@athena.mit.edu>
                   3712: vi55|Visual 55:\
                   3713:        :am:bs:mi:ms:\
                   3714:        :co#80:it#8:li#24:\
                   3715:        :al=\EL:cd=\EJ:ce=\EK:cl=\Ev:cm=\EY%+ %+ :cs=\E_%+A%+A:\
                   3716:        :dc=\Ew:dl=\EM:do=^J:ei=\Eb:ho=\EH:im=\Ea:\
                   3717:        :is=\Ev\E_AX\Eb\EW\E9P\ET:kb=^H:kd=\EB:kl=\ED:kr=\EC:\
                   3718:        :ku=\EA:le=^H:nd=\EC:se=\ET:so=\EU:sr=\EI:ta=^I:up=\EA:
                   3719:
                   3720: # Visual 200 from BRL
                   3721: # The following switch settings are assumed for normal operation:
                   3722: #      FULL_DUPLEX             SCROLL                  CR
                   3723: #      AUTO_NEW_LINE_ON        VISUAL_200_EMULATION_MODE
                   3724: # Other switches may be set for operator convenience or communication
                   3725: # requirements.
                   3726: # Character insertion is kludged in order to get around the "beep" misfeature.
                   3727: # (This cap is commented out because :im:/:ei: is more efficient -- esr)
                   3728: # Supposedly "4*" delays should be used for :al:, :cd:, :cl:, :dc:,
                   3729: # and :dl: strings, but we seem to get along fine without them.
                   3730: vi200|visual 200:\
                   3731:        :am:bs:mi:ms:pt:\
                   3732:        :co#80:it#8:kn#10:li#24:\
                   3733:        :ac=:ae=\EG:al=\EL:as=\EF:bl=^G:bt=\Ez:cd=\Ey:ce=\Ex:cl=\Ev:\
                   3734:        :cm=\EY%+ %+ :cr=^M:ct=\Eg:dc=\EO:dl=\EM:do=^J:ho=\EH:\
                   3735:        :k0=\E?p:k1=\E?q:k2=\E?r:k3=\E?s:k4=\E?t:k5=\E?u:k6=\E?v:\
                   3736:        :k7=\E?w:k8=\E?x:k9=\E?y:kA=\EL:kC=\Ev:kD=\EO:kE=\Et:kI=\Ei:\
                   3737:        :kL=\EM:kM=\Ej:kS=\EJ:kT=\E1:kb=^H:kd=\EB:ke=\E>:kh=\EH:\
                   3738:        :kl=\ED:kr=\EC:ks=\E=:kt=\E2:ku=\EA:le=^H:me=\E3\Eb:mh=\E4:\
                   3739:        :mk=\Ea:nd=\EC:pf=\EX:po=\EW:ps=\EH\E]:\
                   3740:        :r1=\E3\Eb\Ej\E\El\EG\Ec\Ek\EX:se=\E3:sf=^J:so=\E4:\
                   3741:        :sr=\EI:st=\E1:ta=^I:up=\EA:ve=\Ec:vs=\Ed:
                   3742: # The older Visuals didn't come with function keys. This entry uses
                   3743: # :ks: and :ke: so that the keypad keys can be used as function keys.
                   3744: # If your version of vi doesn't support function keys you may want
                   3745: # to use vi200-f.
                   3746: vi200-f|visual 200 no function keys:\
                   3747:        :is=\E3\Eb\Ej\E\\El\EG\Ed\Ek:k0=\E?p:k1=\E?q:k2=\E?r:\
                   3748:        :k3=\E?s:k4=\E?t:k5=\E?u:k6=\E?v:k7=\E?w:k8=\E?x:k9=\E?y:\
                   3749:        :ke=\E>:ks=\E=:se@:so@:\
                   3750:        :tc=vi200:
                   3751: vi200-rv|visual 200 reverse video:\
                   3752:        :se=\E3:so=\E4:sr@:ve@:vs@:tc=vi200:
                   3753:
                   3754: # the function keys are programmable but we don't reprogram them to their
                   3755: # default values with :is: because programming them is very verbose. maybe
                   3756: # an initialization file should be made for the 300 and they could be stuck
                   3757: # in it.
                   3758: # (vi300: added <rmam>/<smam> based on init string -- esr)
                   3759: vi300|visual 300 ansi x3.64:\
                   3760:        :am:bw:mi:xn:\
                   3761:        :co#80:li#24:\
                   3762:        :RA=\E[?7l:SA=\E[?7h:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
                   3763:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:\
                   3764:        :do=\E[B:ei=\E[4l:ho=\E[H:im=\E[4h:\
                   3765:        :is=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[1Q\E[0;1(D\E[8s:\
                   3766:        :k1=\E_A\E\:k2=\E_B\E\:k3=\E_C\E\:k4=\E_D\E\:k5=\E_E\E\:\
                   3767:        :k6=\E_F\E\:k7=\E_G\E\:k8=\E_H\E\:k9=\E_I\E\:kd=\E[B:\
                   3768:        :kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:nd=\E[C:\
                   3769:        :se=\E[m:sf=^J:so=\E[1m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:\
                   3770:        :us=\E[4m:
                   3771: # some of the vi300s have older firmware that has the command
                   3772: # sequence for setting editing extent reversed.
                   3773: vi300-old|visual 300 with old firmware (set edit extent reversed):\
                   3774:        :is=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[2Q\E[0;1(D\E[8s:\
                   3775:        :tc=vi300:
                   3776:
                   3777: # Visual 500 prototype entry from University of Wisconsin.
                   3778: # The best place to look for the escape sequences is page A1-1 of the
                   3779: # Visual 500 manual.  The initialization sequence given here may be
                   3780: # overkill, but it does leave out some of the initializations which can
                   3781: # be done with the menus in set-up mode.
                   3782: # The :xp: line below is so that emacs can understand the padding requirements
                   3783: # of this slow terminal.  :xp: is 10 time the padding factor.
                   3784: # (vi500: removed unknown :xp#4: termcap;
                   3785: # also added empty <acsc> to suppress tic warning -- esr)
                   3786: vi500|visual 500:\
                   3787:        :am:mi:ms:\
                   3788:        :co#80:it#8:li#33:\
                   3789:        :ac=:ae=^O:al=3*\EL\Ex:as=^N:bt=4\Ez:cd=3*\Ey:ce=16\Ex:\
                   3790:        :cl=6*\Ev:cm=\EY%+ %+ :cr=^M:cs=\E(%+ %+ :dc=3*\EO:\
                   3791:        :dl=3*\EM:do=\EB:ei=\Ej:ho=\EH:im=\Ei:\
                   3792:        :is=\E3\E\001\E\007\E\003\Ek\EG\Ed\EX\El\E>\Eb\E\:\
                   3793:        :kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:\
                   3794:        :nw=^M^J:se=\E^G:sf=^J:so=\E^H:ta=8\011:ue=\E^C:up=\EA:\
                   3795:        :us=\E^D:
                   3796:
                   3797: # The visual 550 is a visual 300 with tektronix graphics,
                   3798: # and with 33 lines. clear screen is modified here to
                   3799: # also clear the graphics.
                   3800: vi550|visual 550 ansi x3.64:\
                   3801:        :li#33:\
                   3802:        :cl=\030\E[H\E[2J:tc=vi300:
                   3803:
                   3804: vi603|visual603|visual 603:\
                   3805:        :hs:mi:\
                   3806:        :al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
                   3807:        :cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:ds=\EP2;1~\E\:ei=\E[4l:\
                   3808:        :fs=\E\:i1=\E>\E[?3l\E[?4l\E[?7h\E[?8h\E[1;24r:\
                   3809:        :im=\E[4h:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
                   3810:        :se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:ts=\EP2~:ue=\E[24m:\
                   3811:        :up=\E[A:us=\E[4m:\
                   3812:        :tc=vt100:
                   3813:
                   3814: #### Wyse (wy)
                   3815: #
                   3816: #      Wyse Technology
                   3817: #      3471 North First Street
                   3818: #      San Jose, CA 95134
                   3819: #      Vox: (408)-473-1200
                   3820: #      Fax: (408) 473-1222
                   3821: #      Web: http://www.wyse.com
                   3822: #
                   3823: # Wyse sales can be reached by phone at 1-800-GET-WYSE.  Tech support is at
                   3824: # (800)-800-WYSE (option 5 gets you a human).  There's a Web page at the
                   3825: # obvious address, <http://www.wyse.com>.  They keep terminfo entries at
                   3826: # <http://www.wyse.co.uk/support/appnotes/idxappnt.htm>.
                   3827: #
                   3828: # Wyse bought out Link Technology, Inc. in 1990 and closed it down in 1995.
                   3829: # They now own the Qume and Amdek brands, too.  So these are the people to
                   3830: # talk with about all Link, Qume, and Amdek terminals.
                   3831: #
                   3832: # These entries include a few small fixes.
                   3833: # I canceled the bel capacities in the vb entries.
                   3834: # I made two trivial syntax fixes in the wyse30 entry.
                   3835: # I made some entries relative to adm+sgr.
                   3836: #
                   3837: #
                   3838: # Note: The wyse75, wyse85, and wyse99 have been discontinued.
                   3839:
                   3840: #         Although the Wyse 30 can support more than one attribute
                   3841: #      it requires magic cookies to do so.  Many applications do not
                   3842: #      function well with magic cookies.  The following terminfo uses
                   3843: #      the protect mode to support one attribute (dim) without cookies.
                   3844: #      If more than one attribute is needed then the wy30-mc terminfo
                   3845: #      should be used.
                   3846: #
                   3847: wy30|wyse30|Wyse 30:\
                   3848:        :5i:am:bw:hs:mi:ms:xo:\
                   3849:        :Nl#8:co#80:lh#1:li#24:lw#8:ma#1:ws#45:\
                   3850:        :#2=\E{:&3=\Er:@8=\E7:LF=\EA11:LO=\EA10:\
                   3851:        :ac=0wa_h[jukslrmqnxqzttuyv]wpxv:ae=\EH^C:al=\EE:\
                   3852:        :as=\EH^B:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:cm=\E=%+ %+ :\
                   3853:        :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:ei=\Er:fs=^M:\
                   3854:        :ho=^^:im=\Eq:ip=:is=\E'\E(\E\1363\E`9\016\024:k1=^A@\r:\
                   3855:        :k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:\
                   3856:        :k8=^AG\r:kA=\EE:kB=\EI:kD=\EW:kE=\ET:kI=\EQ:kL=\ER:kN=\EK:\
                   3857:        :kP=\EJ:kS=\EY:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:\
                   3858:        :ll=^^^K:me=\E(\EH\003:mh=\E`7\E):mp=\E`7\E):nd=^L:\
                   3859:        :nw=^M^J:pf=^T:pn=\Ez%+/%s\r:po=^X:ps=\EP:px=\Ez%+?%s\177:\
                   3860:        :..sa=%?%p1%p5%p8%|%|%t\E`7\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;:\
                   3861:        :se=\E(:sf=\n:so=\E`7\E):sr=\Ej:st=\E1:ta=\011:ts=\EF:up=^K:\
                   3862:        :vb=\E`8\E`9:ve=\E`1:vi=\E`0:
                   3863: #
                   3864: #      This terminal description uses the non-hidden attribute mode
                   3865: #      (with magic cookie).
                   3866: #
                   3867: # (wy30-mc: added :ti: to suppress tic warning --esr)
                   3868: wy30-mc|wyse30-mc|wyse 30 with magic cookies:\
                   3869:        :ms@:\
                   3870:        :ma@:sg#1:\
                   3871:        :ae=\EG0\EH\003:as=\EG0\EH\002:mb=\EG2:\
                   3872:        :me=\EG0\E(\EH\003:mh=\EGp:mp=\EG0\E):\
                   3873:        :..sa=\EG%'0'%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;:\
                   3874:        :se=\EG0:so=\EG4:te=\EG0:ti=:\
                   3875:        :tc=wy30:tc=adm+sgr:
                   3876: #      The mandatory pause used by :vb: does not work with
                   3877: #      older versions of terminfo.  If you see this effect then
                   3878: #      unset xon and delete the / from the delay.
                   3879: #      i.e. change $<100/> to $<100>
                   3880: wy30-vb|wyse30-vb|wyse 30 visible bell:\
                   3881:        :bl@:tc=wy30:
                   3882: #
                   3883: #         The Wyse 50 can support one attribute (e.g. Dim, Inverse,
                   3884: #      Normal) without magic cookies by using the protect mode.
                   3885: #      The following description uses this feature, but when more
                   3886: #      than one attribute is put on the screen at once, all attributes
                   3887: #      will be changed to be the same as the last attribute given.
                   3888: #         The Wyse 50 can support more attributes when used with magic
                   3889: #      cookies.  The wy50-mc terminal description uses magic cookies
                   3890: #      to correctly handle multiple attributes on a screen.
                   3891: #
                   3892: wy50|wyse50|Wyse 50:\
                   3893:        :5i:am:bw:hs:mi:ms:xo:\
                   3894:        :Nl#8:co#80:lh#1:li#24:lw#8:ma#1:ws#45:\
                   3895:        :#2=\E{:%9=\EP:&3=\Er:@8=\E7:F1=^AJ\r:F2=^AK\r:F3=^AL\r:\
                   3896:        :F4=^AM\r:F5=^AN\r:F6=^AO\r:LF=\EA11:LO=\EA10:\
                   3897:        :ac=0wa_h[jukslrmqnxqzttuyv]wpxv:ae=\EH^C:al=\EE:\
                   3898:        :as=\EH^B:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:cm=\E=%+ %+ :\
                   3899:        :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:ei=\Er:fs=^M:\
                   3900:        :ho=^^:i1=\E`\072\E`9:im=\Eq:ip=:is=\016\024\E'\E(:\
                   3901:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
                   3902:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:kA=\EE:kB=\EI:kD=\EW:\
                   3903:        :kE=\ET:kI=\EQ:kL=\ER:kN=\EK:kP=\EJ:kS=\EY:kb=^H:kd=^J:kh=^^:\
                   3904:        :kl=^H:kr=^L:ku=^K:le=^H:ll=^^^K:me=\E(\EH\003:mh=\E`7\E):\
                   3905:        :mp=\E`7\E):mr=\E`6\E):nd=^L:nw=^M^J:pf=^T:pn=\Ez%+/%s\r:\
                   3906:        :po=^X:ps=\EP:px=\Ez%+?%s\177:\
                   3907:        :..sa=%?%p1%p3%|%t\E`6\E)%e%p5%p8%|%t\E`7\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;:\
                   3908:        :se=\E(:sf=\n:so=\E`6\E):sr=\Ej:st=\E1:ta=^I:ts=\EF:up=^K:\
                   3909:        :vb=\E`8\E`9:ve=\E`1:vi=\E`0:
                   3910: #
                   3911: #      This terminal description uses the non-hidden attribute mode
                   3912: #      (with magic cookie).
                   3913: #
                   3914: #      The mandatory pause used by flash does not work with some
                   3915: #      older versions of terminfo.  If you see this effect then
                   3916: #      unset :xo: and delete the / from the delay.
                   3917: #      i.e. change $<100/> to $<100>
                   3918: # (wy50-mc: added :ti: to suppress tic warning --esr)
                   3919: wy50-mc|wyse50-mc|wyse 50 with magic cookies:\
                   3920:        :ms@:\
                   3921:        :ma@:sg#1:\
                   3922:        :ae=\EG0\EH\003:as=\EG0\EH\002:mb=\EG2:\
                   3923:        :me=\EG0\E(\EH\003:mh=\EGp:mp=\EG0\E):mr=\EG4:\
                   3924:        :..sa=\EG%'0'%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;:\
                   3925:        :se=\EG0:so=\EGt:te=\EG0:ti=:\
                   3926:        :tc=wy50:tc=adm+sgr:
                   3927: wy50-vb|wyse50-vb|wyse 50 visible bell:\
                   3928:        :bl@:tc=wy50:
                   3929: wy50-w|wyse50-w|wyse 50 132-column:\
                   3930:        :Nl#16:co#132:lw#7:ws#97:\
                   3931:        :cm=\Ea%i%dR%dC:dc=\EW:i1=\E`;\E`9:tc=wy50:
                   3932: wy50-wvb|wyse50-wvb|wyse 50 132-column visible bell:\
                   3933:        :bl@:\
                   3934:        :tc=wy50-w:
                   3935: #
                   3936: #      The Wyse 350 is a Wyse 50 with color.
                   3937: #      Unfortunately this means that it has magic cookies.
                   3938: #      The color attributes are designed to overlap the reverse, dim and
                   3939: #      underline attributes.  This is nice for monochrome applications
                   3940: #      because you can make underline stuff green (or any other color)
                   3941: #      but for true color applications it's not so hot because you cannot
                   3942: #      mix color with reverse, dim or underline.
                   3943: #          To further complicate things one of the attributes must be
                   3944: #      black (either the foreground or the background).  In reverse video
                   3945: #      the background changes color with black letters.  In normal video
                   3946: #      the foreground changes colors on a black background.
                   3947: #          This terminfo uses some of the more advanced features of curses
                   3948: #      to display both color and blink.  In the final analysis I am not
                   3949: #      sure that the wy350 runs better with this terminfo than it does
                   3950: #      with the wy50 terminfo (with user adjusted colors).
                   3951: #
                   3952: #      The mandatory pause used by flash does not work with
                   3953: #      older versions of terminfo.  If you see this effect then
                   3954: #      unset xon and delete the / from the delay.
                   3955: #      i.e. change $<100/> to $<100>
                   3956: #
                   3957: # Bug: The <op> capability resets attributes.
                   3958: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   3959: wy350|wyse350|Wyse 350:\
                   3960:        :5i:am:bw:hs:mi:xo:\
                   3961:        :Co#8:NC#55:Nl#8:co#80:lh#1:li#24:lw#8:pa#8:sg#1:ws#45:\
                   3962:        :#2=\E{:%9=\EP:&3=\Er:@8=\E7:F1=^AJ\r:F2=^AK\r:F3=^AL\r:\
                   3963:        :F4=^AM\r:F5=^AN\r:F6=^AO\r:LF=\EA11:LO=\EA10:Sb=:\
                   3964:        :ac=0wa_h[jukslrmqnxqzttuyv]wpxv:ae=\EG0\EH\003:al=\EE:\
                   3965:        :as=\EG0\EH\002:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:\
                   3966:        :cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:\
                   3967:        :ei=\Er:fs=^M:ho=^^:i1=\E`\072\E`9:i2=\E%?:im=\Eq:ip=:\
                   3968:        :is=\016\024\E'\E(:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
                   3969:        :k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:\
                   3970:        :kA=\EE:kB=\EI:kD=\EW:kE=\ET:kI=\EQ:kL=\ER:kN=\EK:kP=\EJ:\
                   3971:        :kS=\EY:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:ll=^^^K:\
                   3972:        :mb=\EG2:me=\EG0\E(\EH\003%{0}%PA%{0}%PC:mh=\EGp:\
                   3973:        :mp=\EG0\E):nd=^L:nw=^M^J:oc=\E%?:op=\EG0:pf=^T:\
                   3974:        :pn=\Ez%+/%s\r:po=^X:ps=\EP:px=\Ez%+?%s\177:sf=\n:sr=\Ej:\
                   3975:        :st=\E1:ta=^I:ts=\EF:up=^K:vb=\E`8\E`9:ve=\E`1:vi=\E`0:\
                   3976:        :tc=adm+sgr:
                   3977: wy350-vb|wyse350-vb|wyse 350 visible bell:\
                   3978:        :bl@:tc=wy350:
                   3979: wy350-w|wyse350-w|wyse 350 132-column:\
                   3980:        :Nl#16:co#132:lw#7:ws#97:\
                   3981:        :cm=\Ea%i%dR%dC:dc=\EW:i1=\E`;\E`9:tc=wy350:
                   3982: wy350-wvb|wyse350-wvb|wyse 350 132-column visible bell:\
                   3983:        :bl@:\
                   3984:        :tc=wy350-w:
                   3985: #
                   3986: #      This terminfo description is untested.
                   3987: #      The wyse100 emulates an adm31, so the adm31 entry should work.
                   3988: #
                   3989: wy100|wyse 100:\
                   3990:        :hs:mi:\
                   3991:        :co#80:li#24:sg#1:\
                   3992:        :al=\EE:bl=^G:cd=\EY:ce=\ET:cl=\E;:cm=\E=%+ %+ :cr=^M:\
                   3993:        :dc=\EW:dl=\ER:do=^J:ds=\EA31:ei=\Er:fs=^M:im=\Eq:is=\Eu\E0:\
                   3994:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
                   3995:        :k7=^AF\r:k8=^AG\r:kb=^H:kd=^J:kh=\E{:kl=^H:kr=^L:ku=^K:\
                   3996:        :le=^H:mk@:nd=^L:sf=^J:ts=\EF:up=^K:\
                   3997:        :tc=adm+sgr:
                   3998: #
                   3999: #      The Wyse 120/150 has most of the features of the Wyse 60.
                   4000: #      This terminal does not need padding up to 9600 baud!
                   4001: #      :ms: should be set but the clear screen fails when in
                   4002: #      alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
                   4003: #      then set :ms:.
                   4004: #
                   4005: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   4006: # (sgr removed to fit entry within 1023 bytes)
                   4007: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
                   4008: wy120|wyse120|wy150|wyse150|Wyse 120/150:\
                   4009:        :am:bw:hs:km:mi:ms:xo:\
                   4010:        :co#80:it#8:li#24:pb#9601:ws#45:\
                   4011:        :ae=\EcD:al=\EE:as=\EcE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:\
                   4012:        :cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:\
                   4013:        :ei=\Er:fs=^M:ho=^^:i1=\EcB0\EcC1:i2=\EwJ\Ew1:im=\Eq:ip=:\
                   4014:        :is=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El:\
                   4015:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
                   4016:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\EQ:kN=\EK:kP=\EJ:\
                   4017:        :kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:ll=^^^K:mb=\EG2:\
                   4018:        :me=\E(\EH\003\EG0\EcD:mh=\EGp:nd=^L:nw=\r\n:sf=\n:\
                   4019:        :so=\EGt:sr=\Ej:st=\E1:ta=\011:te=\Ew1:ti=\Ew0:ts=\EF:up=^K:\
                   4020:        :vb=\E`8\E`9:ve=\E`1:vi=\E`0:\
                   4021:        :tc=adm+sgr:
                   4022: #
                   4023: wy120-w|wyse120-w|wy150-w|wyse150-w|wyse 120/150 132-column:\
                   4024:        :Nl#16:co#132:lw#7:ws#97:\
                   4025:        :cm=\Ea%i%dR%dC:dc=\EW:ip=:r2=\E`;:tc=wy120:
                   4026: #
                   4027: wy120-25|wyse120-25|wy150-25|wyse150-25|wyse 120/150 80-column 25-lines:\
                   4028:        :Nl@:lh@:li#25:lw@:\
                   4029:        :pn@:r3=\EwG\Ee):tc=wy120:
                   4030: #
                   4031: wy120-25-w|wyse120-25-w|wy150-25-w|wyse150-25-w|wyse 120/150 132-column 25-lines:\
                   4032:        :Nl@:lh@:li#25:lw@:\
                   4033:        :pn@:r3=\EwG\Ee):tc=wy120-w:
                   4034: #
                   4035: wy120-vb|wyse120-vb|wy150-vb|wyse150-vb|Wyse 120/150 visible bell:\
                   4036:        :bl@:\
                   4037:        :tc=wy120:
                   4038: #
                   4039: wy120-w-vb|wy120-wvb|wyse120-wvb|wy150-w-vb|wyse150-w-vb|Wyse 120/150 132-column visible bell:\
                   4040:        :bl@:\
                   4041:        :tc=wy120-w:
                   4042: #
                   4043: #      The Wyse 60 is like the Wyse 50 but with more padding.
                   4044: #      The reset strings are slow and the pad times very depending
                   4045: #      on other parameters such as font loading.  I have tried
                   4046: #      to follow the following outline:
                   4047: #
                   4048: #              <rs1> -> set personality
                   4049: #              <rs2> -> set number of columns
                   4050: #              <rs3> -> set number of lines
                   4051: #              :i1: -> select the proper font
                   4052: #              :is: -> do the initialization
                   4053: #              :i3: -> set up display memory (2 pages)
                   4054: #
                   4055: #      The Wyse 60's that have vt100 emulation are slower than the
                   4056: #      older Wyse 60's.  This change happened mid-1987.
                   4057: #      The capabilities effected are :dc: :dl: :al: :sf: :sr:
                   4058: #
                   4059: #      The meta key is only half right.  This terminal will return the
                   4060: #      high order bit set when you hit CTRL-function_key
                   4061: #
                   4062: #      It may be useful to assign two function keys with the
                   4063: #      values  \E=(\s  look at old data in page 1
                   4064: #              \E=W,   look at bottom of page 1
                   4065: #      where \s is a space ( ).
                   4066: #
                   4067: #      Note:
                   4068: #         The Wyse 60 runs faster when the XON/XOFF
                   4069: #         handshake is turned off.
                   4070: #
                   4071: # (wy60: we use \E{ rather than ^^ for home (both are documented) to avoid
                   4072: # a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
                   4073: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   4074: # (sgr removed to fit entry within 1023 bytes)
                   4075: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
                   4076: wy60|wyse60|Wyse 60:\
                   4077:        :am:bw:hs:km:mi:ms:\
                   4078:        :co#80:li#24:ws#45:\
                   4079:        :ae=\EcD:al=\EE:as=\EcE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:\
                   4080:        :cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:\
                   4081:        :ei=\Er:fs=^M:ho=\E{:i1=\EcB0\EcC1:i2=\EwJ\Ew1:im=\Eq:ip=:\
                   4082:        :is=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El:\
                   4083:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
                   4084:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\EQ:kN=\EK:kP=\EJ:\
                   4085:        :kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:ll=\E{^K:mb=\EG2:\
                   4086:        :me=\E(\EH\003\EG0\EcD:mh=\EGp:nd=^L:nw=\r\n:sf=\n:\
                   4087:        :so=\EGt:sr=\Ej:st=\E1:ta=\011:te=\Ew1:ti=\Ew0:ts=\EF:up=^K:\
                   4088:        :vb=\E`8\E`9:ve=\E`1:vi=\E`0:\
                   4089:        :tc=adm+sgr:
                   4090: #
                   4091: wy60-w|wyse60-w|wyse 60 132-column:\
                   4092:        :Nl#16:co#132:lw#7:ws#97:\
                   4093:        :cm=\Ea%i%dR%dC:dc=\EW:ip=:r2=\EeF\E`;:tc=wy60:
                   4094: #
                   4095: wy60-25|wyse60-25|wyse 60 80-column 25-lines:\
                   4096:        :Nl@:lh@:li#25:lw@:\
                   4097:        :pn@:r3=\EwG\Ee):tc=wy60:
                   4098: wy60-25-w|wyse60-25-w|wyse 60 132-column 25-lines:\
                   4099:        :Nl@:lh@:li#25:lw@:\
                   4100:        :pn@:r3=\EwG\Ee):tc=wy60-w:
                   4101: #
                   4102: wy60-42|wyse60-42|wyse 60 80-column 42-lines:\
                   4103:        :li#42:\
                   4104:        :al=\EE:cd=\Ey:cl=\E+:cm=\E=%+ %+ :dc=\EW:dl=\ER:\
                   4105:        :i1=\EcB2\EcC3:ip=:nw=\r\n:r3=\Ee*:sf=\n:sr=\Ej:tc=wy60:
                   4106: wy60-42-w|wyse60-42-w|wyse 60 132-column 42-lines:\
                   4107:        :Nl#16:co#132:lw#7:ws#97:\
                   4108:        :cd=\Ey:cl=\E+:cm=\Ea%i%dR%dC:dc=\EW:ho=\036:ip=:nw=\r\n:\
                   4109:        :r2=\EeF\E`;:\
                   4110:        :tc=wy60-42:
1.1       deraadt  4111: #
1.13      millert  4112: wy60-43|wyse60-43|wyse 60 80-column 43-lines:\
                   4113:        :Nl@:lh@:li#43:lw@:\
                   4114:        :pn@:r3=\Ee+:tc=wy60-42:
                   4115: wy60-43-w|wyse60-43-w|wyse 60 132-column 43-lines:\
                   4116:        :Nl@:lh@:li#43:lw@:\
                   4117:        :pn@:r3=\Ee+:tc=wy60-42-w:
1.1       deraadt  4118: #
1.13      millert  4119: wy60-vb|wyse60-vb|Wyse 60 visible bell:\
                   4120:        :bl@:tc=wy60:
                   4121: wy60-w-vb|wy60-wvb|wyse60-wvb|Wyse 60 132-column visible bell:\
                   4122:        :bl@:\
                   4123:        :tc=wy60-w:
1.1       deraadt  4124:
1.13      millert  4125: #      The Wyse-99GT looks at lot like the Wyse 60 except that it
                   4126: #      does not have the 42/43 line mode.  In the Wyse-60 the "lines"
                   4127: #      setup parameter controls the number of lines on the screen.
                   4128: #      For the Wyse 99GT the "lines" setup parameter controls the
                   4129: #      number of lines in a page.  The screen can display 25 lines max.
                   4130: #          The Wyse-99GT also has personalities for the VT220 and
                   4131: #      Tektronix 4014.  But this has no bearing on the native mode.
1.1       deraadt  4132: #
1.13      millert  4133: #      (msgr) should be set but the clear screen fails when in
                   4134: #      alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
                   4135: #      then set msgr, else use msgr@.
1.2       deraadt  4136: #
1.13      millert  4137: #      u0 -> enter Tektronix mode
                   4138: #      u1 -> exit Tektronix mode
1.1       deraadt  4139: #
1.13      millert  4140: wy99gt|wyse99gt|Wyse 99gt:\
                   4141:        :ms@:\
                   4142:        :al=\EE:cd=\Ey:ce=\Et:cl=\E+:dc=\EW:dl=\ER:i2=\Ew0:ip=:nw@:\
                   4143:        :r2=\E`\072:sf=\n:sr=\Ej:ta=\011:te=\Ew0:ti=\Ew1:\
                   4144:        :u0=\E~>\E8:u1=\E[42h:vb=\E`8\E`9:tc=wy60:
1.1       deraadt  4145: #
1.13      millert  4146: wy99gt-w|wyse99gt-w|wyse 99gt 132-column:\
                   4147:        :Nl#16:co#132:lw#7:ws#97:\
                   4148:        :cd=\Ey:cl=\E+:cm=\Ea%i%dR%dC:dc=\EW:ip=:r2=\E`;:tc=wy99gt:
1.1       deraadt  4149: #
1.13      millert  4150: wy99gt-25|wyse99gt-25|wyse 99gt 80-column 25-lines:\
                   4151:        :Nl@:lh@:li#25:lw@:\
                   4152:        :pn@:r2=\E`\072:r3=\EwG\Ee):tc=wy99gt:
1.1       deraadt  4153: #
1.13      millert  4154: wy99gt-25-w|wyse99gt-25-w|wyse 99gt 132-column 25-lines:\
                   4155:        :Nl@:lh@:li#25:lw@:\
                   4156:        :pn@:r2=\E`;:tc=wy99gt-w:
1.2       deraadt  4157: #
1.13      millert  4158: wy99gt-vb|wyse99gt-vb|Wyse 99gt visible bell:\
                   4159:        :bl@:tc=wy99gt:
1.2       deraadt  4160: #
1.13      millert  4161: wy99gt-w-vb|wy99gt-wvb|wyse99gt-wvb|Wyse 99gt 132-column visible bell:\
                   4162:        :bl@:\
                   4163:        :tc=wy99gt-w:
1.2       deraadt  4164: #
1.13      millert  4165: #      The Wyse 160 is combination of the WY-60 and the WY-99gt.
                   4166: #      The reset strings are slow and the pad times very depending
                   4167: #      on other parameters such as font loading.  I have tried
                   4168: #      to follow the following outline:
1.2       deraadt  4169: #
1.13      millert  4170: #              <rs1> -> set personality
                   4171: #              <rs2> -> set number of columns
                   4172: #              <rs3> -> set number of lines
                   4173: #              :i1: -> select the proper font
                   4174: #              :is: -> do the initialization
                   4175: #              :i3: -> set up display memory (2 pages)
1.2       deraadt  4176: #
1.13      millert  4177: #      The display memory may be used for either text or graphics.
                   4178: #      When "Display Memory = Shared" the terminal will have more pages
                   4179: #      but garbage may be left on the screen when you switch from
                   4180: #      graphics to text.  If "Display Memory = Unshared" then the
                   4181: #      text area will be only one page long.
1.2       deraadt  4182: #
1.13      millert  4183: # (wy160: we use \E{ rather than ^^ for home (both are documented) to avoid
                   4184: # a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
                   4185: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   4186: # (sgr removed to fit entry within 1023 bytes)
                   4187: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
                   4188: wy160|wyse160|Wyse 160:\
                   4189:        :am:bw:hs:km:mi:ms:\
                   4190:        :co#80:li#24:ws#38:\
                   4191:        :ae=\EcD:al=\EE:as=\EcE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:\
                   4192:        :cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:\
                   4193:        :ei=\Er:fs=^M:ho=\E{:i1=\EcB0\EcC1:i2=\Ew0:im=\Eq:ip=:\
                   4194:        :is=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El:\
                   4195:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
                   4196:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\EQ:kN=\EK:kP=\EJ:\
                   4197:        :kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:ll=\E{^K:mb=\EG2:\
                   4198:        :me=\E(\EH\003\EG0\EcD:mh=\EGp:nd=^L:nw=\r\n:sf=\n:\
                   4199:        :so=\EGt:sr=\Ej:st=\E1:ta=^I:te=\Ew0:ti=\Ew1:ts=\EF:up=^K:\
                   4200:        :vb=\E`8\E`9:ve=\E`1:vi=\E`0:\
                   4201:        :tc=adm+sgr:
1.2       deraadt  4202: #
1.13      millert  4203: wy160-w|wyse160-w|wyse 160 132-column:\
                   4204:        :Nl#16:co#132:lw#7:ws#90:\
                   4205:        :cm=\Ea%i%dR%dC:dc=\EW:r2=\EeF\E`;:tc=wy160:
1.2       deraadt  4206: #
1.13      millert  4207: wy160-25|wyse160-25|wyse 160 80-column 25-lines:\
                   4208:        :Nl@:lh@:li#25:lw@:\
                   4209:        :pn@:r3=\EwG\Ee):tc=wy160:
                   4210: wy160-25-w|wyse160-25-w|wyse 160 132-column 25-lines:\
                   4211:        :Nl@:lh@:li#25:lw@:\
                   4212:        :pn@:r3=\EwG\Ee):tc=wy160-w:
1.2       deraadt  4213: #
1.13      millert  4214: wy160-42|wyse160-42|wyse 160 80-column 42-lines:\
                   4215:        :li#42:\
                   4216:        :al=\EE:cd=\Ey:cl=\E+:dl=\ER:i1=\EcB2\EcC3:nw=\r\n:r3=\Ee*:\
                   4217:        :sf=\n:sr=\Ej:\
                   4218:        :tc=wy160:
                   4219: wy160-42-w|wyse160-42-w|wyse 160 132-column 42-lines:\
                   4220:        :Nl#16:co#132:lw#7:ws#90:\
                   4221:        :cm=\Ea%i%dR%dC:dc=\EW:ip=:r2=\EeF\E`;:tc=wy160-42:
1.2       deraadt  4222: #
1.13      millert  4223: wy160-43|wyse160-43|wyse 160 80-column 43-lines:\
                   4224:        :Nl@:lh@:li#43:lw@:\
                   4225:        :pn@:r3=\Ee+:tc=wy160-42:
                   4226: wy160-43-w|wyse160-43-w|wyse 160 132-column 43-lines:\
                   4227:        :Nl@:lh@:li#43:lw@:\
                   4228:        :pn@:r3=\Ee+:tc=wy160-42-w:
1.2       deraadt  4229: #
1.13      millert  4230: wy160-vb|wyse160-vb|Wyse 160 visible bell:\
                   4231:        :bl@:tc=wy160:
                   4232: wy160-w-vb|wy160-wvb|wyse160-wvb|Wyse 160 132-column visible bell:\
                   4233:        :bl@:\
                   4234:        :tc=wy160-w:
1.2       deraadt  4235: #
1.13      millert  4236: #      The Wyse 75 is a vt100 lookalike without advanced video.
1.2       deraadt  4237: #
1.13      millert  4238: #         The Wyse 75 can support one attribute (e.g. Dim, Inverse,
                   4239: #      Underline) without magic cookies.  The following description
                   4240: #      uses this capability, but when more than one attribute is
                   4241: #      put on the screen at once, all attributes will be changed
                   4242: #      to be the same as the last attribute given.
                   4243: #         The Wyse 75 can support more attributes when used with magic
                   4244: #      cookies.  The wy75-mc terminal description uses magic cookies
                   4245: #      to correctly handle multiple attributes on a screen.
1.2       deraadt  4246: #
1.13      millert  4247: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   4248: # (sgr removed to fit entry within 1023 bytes)
                   4249: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
                   4250: wy75|wyse75|wyse 75:\
                   4251:        :am:hs:mi:ms:xn:xo:\
                   4252:        :co#80:li#24:ma#1:pb#1201:ws#78:\
                   4253:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   4254:        :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
                   4255:        :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
                   4256:        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
                   4257:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
                   4258:        :ds=\E[>\054\001\001\E[>-\001\001:ec=\E[%dX:ei=\E[4l:\
                   4259:        :fs=^A:ho=\E[H:\
                   4260:        :i1=\E[2;4;20;30l\E[?1;10l\E[12h\E[?7;8;25h:i2=\E[m:\
                   4261:        :im=\E[4h:ip=:is=\E>\E(B\E)0\017:k1=\E[?5i:k2=\E[?3i:\
                   4262:        :k3=\E[2i:k4=\E[@:k5=\E[M:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
                   4263:        :k9=\E[20~:kI=\E[@:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:ke=\E>:\
                   4264:        :kh=\E[H:kl=\E[D:kr=\E[C:ks=\E[?1l\E[?7h\E=:ku=\E[A:le=^H:\
                   4265:        :me=\E[m\017:mh=\E[0t\E[2m:mr=\E[1t\E[7m:nd=\E[C:rc=\E8:\
                   4266:        :sc=\E7:se=\E[m:sf=\n:so=\E[1t\E[7m:sr=\EM:st=\EH:ta=^I:\
                   4267:        :ts=\E[>\054\001:ue=\E[m:up=\E[A:us=\E[2t\E[4m:\
                   4268:        :vb=\E[30h\E\054\E[30l:ve=\E[?25h:vi=\E[?25l:
1.2       deraadt  4269: #
1.13      millert  4270: #      This terminal description uses the non-hidden attribute mode
                   4271: #      (with magic cookie).
1.2       deraadt  4272: #
1.13      millert  4273: wy75-mc|wyse75-mc|wyse 75 with magic cookies:\
                   4274:        :ms@:\
                   4275:        :ma@:sg#1:\
                   4276:        :ae=\E[0p\017:as=\E[0p\016:i2=\E[m\E[p:mb=\E[2p:\
                   4277:        :me=\E[0p\017:mh=\E[1p:mk=\E[4p:mr=\E[16p:\
                   4278:        :..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%;:\
                   4279:        :se=\E[0p:so=\E[17p:ue=\E[0p:us=\E[8p:\
                   4280:        :tc=wy75:
                   4281: wy75-vb|wyse75-vb|wyse 75 with visible bell:\
                   4282:        :pb@:\
                   4283:        :bl@:tc=wy75:
                   4284: wy75-w|wyse75-w|wyse 75 in 132 column mode:\
                   4285:        :co#132:ws#130:\
                   4286:        :r2=\E[35h\E[?3h:tc=wy75:
                   4287: wy75-wvb|wyse75-wvb|wyse 75 with visible bell 132 columns:\
                   4288:        :pb@:\
                   4289:        :bl@:tc=wy75-w:
1.2       deraadt  4290: #
1.13      millert  4291: #      Wyse 85 emulating a vt220 7 bit mode.
                   4292: #              24 line screen with status line.
1.2       deraadt  4293: #
1.13      millert  4294: #      The vt220 mode permits more function keys but it wipes out
                   4295: #      the escape key.  I strongly recommend that <f11> be set to
                   4296: #      escape (esc).
                   4297: #      The terminal may have to be set for 8 data bits and 2 stop
                   4298: #      bits for the arrow keys to work.
                   4299: #      The Wyse 85 runs faster with XON/XOFF enabled.  Also the
                   4300: #      :DC: and :IC: work best when XON/XOFF is set.  :IC: and
                   4301: #      :DC: leave trash on the screen when used without XON/XOFF.
1.2       deraadt  4302: #
1.13      millert  4303: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   4304: # (sgr removed to fit entry within 1023 bytes)
                   4305: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
                   4306: wy85|wyse85|wyse 85:\
                   4307:        :am:hs:mi:ms:xn:xo:\
                   4308:        :co#80:it#8:li#24:ws#80:\
                   4309:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   4310:        :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
                   4311:        :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
                   4312:        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
                   4313:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ds=\E[40l:\
                   4314:        :ec=\E[%dX:ei=\E[4l:fs=\E[1;24r\E8:ho=\E[H:\
                   4315:        :i1=\E[62;1"p\E[?5W:i2=\E>\E(B\E)0\017\E[m:im=\E[4h:ip=:\
                   4316:        :is=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h:\
                   4317:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
                   4318:        :k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
                   4319:        :kb=^H:kd=\E[B:ke=\E>:kh=\E[26~:kl=\E[D:kr=\E[C:\
                   4320:        :ks=\E[?1l\E=:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:\
                   4321:        :mh=\E[2m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=\n:\
                   4322:        :so=\E[7m:sr=\EM:st=\EH:ta=\011:\
                   4323:        :ts=\E[40h\E7\E[25;%i%p1%dH:ue=\E[m:up=\E[A:us=\E[4m:\
                   4324:        :vb=\E[30h\E\054\E[30l:ve=\E[?25h:vi=\E[?25l:
1.2       deraadt  4325: #
1.13      millert  4326: #      Wyse 85 with visual bell.
                   4327: wy85-vb|wyse85-vb|wyse 85 with visible bell:\
                   4328:        :bl@:vb=\E[30h\E\054\E[30l:tc=wy85:
1.2       deraadt  4329: #
1.13      millert  4330: #      Wyse 85 in 132-column mode.
                   4331: wy85-w|wyse85-w|wyse 85 in 132-column mode:\
                   4332:        :co#132:ws#132:\
                   4333:        :r2=\E[35h\E[?3h:tc=wy85:
1.2       deraadt  4334: #
1.13      millert  4335: #      Wyse 85 in 132-column mode with visual bell.
                   4336: wy85-wvb|wyse85-wvb|wyse 85 with visible bell 132-columns:\
                   4337:        :bl@:\
                   4338:        :tc=wy85-w:
1.2       deraadt  4339: #
1.13      millert  4340: #      Wyse 185 emulating a vt320 7 bit mode.
1.1       deraadt  4341: #
1.13      millert  4342: #      This terminal always displays 25 lines.  These lines may be used
                   4343: #      as 24 data lines and a terminal status line (top or bottom) or
                   4344: #      25 data lines.  The 48 and 50 line modes change the page size
                   4345: #      and not the number of lines on the screen.
1.5       tholo    4346: #
1.13      millert  4347: #      The Compose Character key can be used as a meta key if changed
                   4348: #      by set-up.
1.1       deraadt  4349: #
1.13      millert  4350: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   4351: # (sgr removed to fit entry within 1023 bytes)
                   4352: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
                   4353: wy185|wyse185|wyse 185:\
                   4354:        :am:hs:km:mi:ms:xn:xo:\
                   4355:        :co#80:it#8:li#24:ws#80:\
                   4356:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   4357:        :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
                   4358:        :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
                   4359:        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
                   4360:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
                   4361:        :ds=\E7\E[99;0H\E[K\E8:ec=\E[%dX:ei=\E[4l:\
                   4362:        :fs=\E[1;24r\E8:ho=\E[H:i1=\E[?5W:\
                   4363:        :i2=\E>\E(B\E)0\017\E[m:im=\E[4h:ip=:\
                   4364:        :is=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h:\
                   4365:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
                   4366:        :k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
                   4367:        :kb=^H:kd=\E[B:ke=\E>:kh=\E[26~:kl=\E[D:kr=\E[C:\
                   4368:        :ks=\E[?1l\E=:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:\
                   4369:        :mh=\E[2m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[27m:sf=\n:\
                   4370:        :so=\E[7m:sr=\EM:st=\EH:ta=^I:te=\E[ R:ti=\E[ Q:\
                   4371:        :ts=\E7\E[99;%i%p1%dH:ue=\E[24m:up=\E[A:us=\E[4m:\
                   4372:        :vb=\E[30h\E\054\E[30l:ve=\E[34h\E[?25h:vi=\E[?25l:\
                   4373:        :vs=\E[?25h\E[34l:
1.1       deraadt  4374: #
1.13      millert  4375: #      Wyse 185 with 24 data lines and top status (terminal status)
                   4376: wy185-24|wyse185-24|wyse 185 with 24 data lines:\
                   4377:        :hs@:\
                   4378:        :ds@:fs@:r3=\E[?5l\E[47h\E[40l\E[1;24r:ts@:tc=wy185:
1.1       deraadt  4379: #
1.13      millert  4380: #      Wyse 185 with visual bell.
                   4381: wy185-vb|wyse185-vb|wyse 185+flash:\
                   4382:        :bl@:tc=wy185:
1.1       deraadt  4383: #
1.13      millert  4384: #      Wyse 185 in 132-column mode.
                   4385: wy185-w|wyse185-w|wyse 185 in 132-column mode:\
                   4386:        :co#132:ws#132:\
                   4387:        :DC=\E[%dP:IC=\E[%d@:dc=\E[P:ei=:im=:ip=:r2=\E[35h\E[?3h:tc=wy185:
1.1       deraadt  4388: #
1.13      millert  4389: #      Wyse 185 in 132-column mode with visual bell.
                   4390: wy185-wvb|wyse185-wvb|wyse 185+flash+132 cols:\
                   4391:        :bl@:tc=wy185-w:
1.1       deraadt  4392:
1.13      millert  4393: # wy325 terminfo entries
                   4394: # Done by Joe H. Davis        3-9-92
1.3       deraadt  4395:
1.13      millert  4396: # lines 25  columns 80
                   4397: #
                   4398: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   4399: wy325|wyse325|Wyse epc:\
                   4400:        :5i:am:bw:hs:mi:\
                   4401:        :Nl#8:co#80:lh#1:li#24:lw#8:pb#9601:ws#45:\
                   4402:        :#2=\E{:%9=\EP:&3=\Er:@8=\E7:F1=^AJ\r:F2=^AK\r:F3=^AL\r:\
                   4403:        :F4=^AM\r:F5=^AN\r:F6=^AO\r:LF=\EA11:LO=\EA10:RA=\Ed.:\
                   4404:        :SA=\Ed/:\
                   4405:        :ac=+/\054.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~:\
                   4406:        :ae=\EcD:al=\EE:as=\EcE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:\
                   4407:        :cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:\
                   4408:        :ei=\Er:fs=^M:ho=^^:i1=\EcB0\EcC1:i2=\Ew0:im=\Eq:ip=:\
                   4409:        :is=\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El:\
1.5       tholo    4410:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
1.13      millert  4411:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:kA=\EE:kB=\EI:kD=\EW:\
                   4412:        :kE=\ET:kI=\Eq:kL=\ER:kN=\EK:kP=\EJ:kS=\EY:kb=^H:kd=^J:kh=^^:\
                   4413:        :kl=^H:kr=^L:ku=^K:le=^H:ll=^^^K:mb=\EG2:\
                   4414:        :me=\E(\EH\003\EG0\EcD:mh=\EGp:mp=\E):nd=^L:pf=^T:\
                   4415:        :pl=\EZ2%+?%s\177:pn=\Ez%+/%s\r:po=\Ed#:ps=\EP:\
                   4416:        :px=\EZ1%+?%s\177:r1=\E~\041\E~4:r2=\EeF\E`\072:\
                   4417:        :r3=\EwG\Ee(:sf=\n:so=\EGt:sr=\Ej:st=\E1:ta=^I:te=\Ew0:\
                   4418:        :ti=\Ew1:ts=\EF:up=^K:vb=\E`8\E`9:ve=\E`1:vi=\E`0:\
1.5       tholo    4419:        :tc=adm+sgr:
1.13      millert  4420:
1.1       deraadt  4421: #
1.13      millert  4422: # lines 24  columns 80  vb
1.1       deraadt  4423: #
1.13      millert  4424: wy325-vb|wyse325-vb|wyse-325 with visual bell:\
                   4425:        :bl@:tc=wy325:
1.1       deraadt  4426:
                   4427: #
1.13      millert  4428: # lines 24  columns 132
                   4429: #
                   4430: wy325-w|wyse325-w|wy325w-24|wyse-325 in wide mode:\
                   4431:        :Nl#16:co#132:lw#7:ws#97:\
                   4432:        :cm=\Ea%i%dR%dC:dc=\EW:ip=:r2=\E`;:tc=wy325:
                   4433: #
                   4434: # lines 25  columns 80
                   4435: #
                   4436: wy325-25|wyse325-25|wy325-80|wyse-325|wyse-325 25 lines:\
                   4437:        :Nl@:lh@:li#25:lw@:\
                   4438:        :pn@:r3=\EwG\Ee):tc=wy325:
                   4439: #
                   4440: # lines 25  columns 132
1.1       deraadt  4441: #
1.13      millert  4442: wy325-25w|wyse325-25w|wy325 132 columns:\
                   4443:        :Nl@:lh@:li#25:lw@:\
                   4444:        :pn@:r3=\EwG\Ee):tc=wy325-w:
1.1       deraadt  4445: #
1.13      millert  4446: # lines 25  columns 132  vb
1.1       deraadt  4447: #
1.13      millert  4448: wy325-w-vb|wy325-wvb|wyse325-wvb|wyse-325 wide mode reverse video:\
                   4449:        :bl@:\
                   4450:        :tc=wy325-w:
1.1       deraadt  4451:
1.2       deraadt  4452: #
1.13      millert  4453: # lines 42  columns 80
                   4454: #
                   4455: wy325-42|wyse325-42|wyse-325 42 lines:\
                   4456:        :Nl@:lh@:li#42:lw@:\
                   4457:        :pn@:r3=\EwG\Ee):tc=wy325:
                   4458: #
                   4459: # lines 42  columns 132
                   4460: #
                   4461: wy325-42w|wyse325-42w|wyse-325 42 lines wide mode:\
                   4462:        :Nl@:lh@:li#42:lw@:\
                   4463:        :pn@:r3=\EwG\Ee):tc=wy325-w:
                   4464: #
                   4465: # lines 42  columns 132  vb
                   4466: #
                   4467: wy325-42w-vb|wy325-42wvb|wyse-325 42 lines wide mode visual bell:\
                   4468:        :bl@:\
                   4469:        :tc=wy325-w:
                   4470: #
                   4471: # lines 43  columns 80
                   4472: #
                   4473: wy325-43|wyse325-43|wyse-325 43 lines:\
                   4474:        :Nl@:lh@:li#43:lw@:\
                   4475:        :pn@:tc=wy325:
                   4476: #
                   4477: # lines 43  columns 132
1.2       deraadt  4478: #
1.13      millert  4479: wy325-43w|wyse325-43w|wyse-325 43 lines wide mode:\
                   4480:        :Nl@:lh@:li#43:lw@:\
                   4481:        :pn@:r3=\EwG\Ee):tc=wy325-w:
1.2       deraadt  4482: #
1.13      millert  4483: # lines 43  columns 132  vb
1.2       deraadt  4484: #
1.13      millert  4485: wy325-43w-vb|wy325-43wvb|wyse-325 43 lines wide mode visual bell:\
                   4486:        :bl@:\
                   4487:        :tc=wy325-w:
1.1       deraadt  4488:
1.13      millert  4489: #      Wyse 370 -- 24 line screen with status line.
                   4490: #
                   4491: #      The terminal may have to be set for 8 data bits and 2 stop
                   4492: #      bits for the arrow keys to work.
1.2       deraadt  4493: #
1.13      millert  4494: #      If you change keyboards the terminal will send different
                   4495: #      escape sequences.
                   4496: #      The following definition is for the basic terminal without
                   4497: #      function keys.
1.2       deraadt  4498: #
1.13      millert  4499: #      <u0> -> enter Tektronix 4010/4014 mode
                   4500: #      <u1> -> exit  Tektronix 4010/4014 mode
                   4501: #      <u2> -> enter ASCII mode (from any ANSI mode)
                   4502: #      <u3> -> exit  ASCII mode (goto native ANSI mode)
                   4503: #      <u4> -> enter Tek 4207 ANSI mode (from any ANSI mode)
                   4504: #      <u5> -> exit  Tek 4207 mode (goto native ANSI mode)
1.2       deraadt  4505: #
1.13      millert  4506: # Bug: The <op> capability resets attributes.
                   4507: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   4508: # (sgr removed to fit entry within 1023 bytes)
                   4509: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
                   4510: wy370-nk|wyse 370 without function keys:\
                   4511:        :am:hs:mi:ms:xn:xo:\
                   4512:        :co#80:it#8:li#24:ws#80:\
                   4513:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   4514:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
                   4515:        :bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
                   4516:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ds=\E[40l:\
                   4517:        :ec=\E[%dX:ei=\E[4l:fs=\E[1;24r\E8:ho=\E[H:\
                   4518:        :i1=\E[90;1"p\E[?5W:i2=\E>\017\E)0\E(B\E[63;0w\E[m:\
                   4519:        :im=\E[4h:ip=:\
                   4520:        :is=\E[2;4;20;30;40l\E[?1;10;16l\E[12h\E[?7;8;25h:\
                   4521:        :ke=\E>:ks=\E[?1l\E=:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:\
                   4522:        :mh=\E[2m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[27m:sf=\n:\
                   4523:        :so=\E[7m:sr=\EM:st=\EH:ta=\011:te=\E[ R:ti=\E[ Q:\
                   4524:        :ts=\E[40l\E[40h\E7\E[99;%i%p1%dH:ue=\E[24m:up=\E[A:\
                   4525:        :us=\E[4m:vb=\E[30h\E\054\E[30l:ve=\E[34h\E[?25h:\
                   4526:        :vi=\E[?25l:vs=\E[?25h\E[34l:
1.2       deraadt  4527: #
1.13      millert  4528: #      Function key set for the ASCII (wy-50 compatible) keyboard
                   4529: #      This is the default 370.
1.2       deraadt  4530: #
1.13      millert  4531: wy370|wyse370|wy370-101k|Wyse 370 with 101 key keyboard:\
                   4532:        :@8=\EOM:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
                   4533:        :F5=\E[28~:F6=\E[29~:k1=\E[?4i:k2=\E[?3i:k3=\E[2i:k4=\E[@:\
                   4534:        :k5=\E[M:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
                   4535:        :k;=\E[21~:kA=\EOP:kB=\E[Z:kD=\EOQ:kI=\EOP:kL=\EOQ:kN=\E[U:\
                   4536:        :kP=\E[V:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
                   4537:        :tc=wy370-nk:
1.2       deraadt  4538: #
1.13      millert  4539: #      Function key set for the VT-320 (and wy85) compatible keyboard
1.2       deraadt  4540: #
1.13      millert  4541: wy370-105k|Wyse 370 with 105 key keyboard:\
                   4542:        :%1=\E[28~:*6=\E[4~:@0=\E[1~:@8=\EOM:F1=\E[23~:F2=\E[24~:\
                   4543:        :F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:\
                   4544:        :F8=\E[32~:F9=\E[33~:FA=\E[34~:K1=\EOw:K2=\EOu:K3=\EOy:\
                   4545:        :K4=\EOq:K5=\EOs:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:\
                   4546:        :k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\E[3~:\
                   4547:        :kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:kh=\E[26~:\
                   4548:        :kl=\E[D:kr=\E[C:ku=\E[A:l1=PF1:l2=PF2:l3=PF3:l4=PF4:\
                   4549:        :tc=wy370-nk:
1.2       deraadt  4550: #
1.13      millert  4551: #      Function key set for the PC compatible keyboard
1.2       deraadt  4552: #
1.13      millert  4553: wy370-EPC|Wyse 370 with 102 key keyboard:\
                   4554:        :@7=\E[1~:@8=\EOM:F1=\E[23~:F2=\E[24~:k1=\EOP:k2=\EOQ:\
                   4555:        :k3=\EOR:k4=\EOS:k5=\E[M:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
                   4556:        :k9=\E[20~:k;=\E[21~:kB=\E[Z:kI=\E[2~:kN=\E[U:kP=\E[V:\
                   4557:        :kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
                   4558:        :tc=wy370-nk:
1.2       deraadt  4559: #
1.13      millert  4560: #      Wyse 370 with visual bell.
                   4561: wy370-vb|Wyse 370 with visible bell:\
                   4562:        :bl@:tc=wy370:
1.2       deraadt  4563: #
1.13      millert  4564: #      Wyse 370 in 132-column mode.
                   4565: wy370-w|Wyse 370 in 132-column mode:\
                   4566:        :co#132:ws#132:\
                   4567:        :r2=\E[35h\E[?3h:tc=wy370:
1.2       deraadt  4568: #
1.13      millert  4569: #      Wyse 370 in 132-column mode with visual bell.
                   4570: wy370-wvb|Wyse 370 with visible bell 132-columns:\
                   4571:        :vb=\E[30h\E\054\E[30l:tc=wy370-w:
                   4572: wy370-rv|Wyse 370 reverse video:\
                   4573:        :r3=\E[32h\E[?5h:tc=wy370:
1.3       deraadt  4574: #
1.13      millert  4575: #      Wyse 99gt Tektronix 4010/4014 emulator,
1.1       deraadt  4576: #
1.13      millert  4577: wy99gt-tek|Wyse 99gt Tektronix 4010/4014 emulator:\
                   4578:        :am:os:\
                   4579:        :co#74:li#35:\
                   4580:        :bl=^G:cl=\E^L:\
                   4581:        :..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:\
                   4582:        :cr=^M:do=^J:ff=^L:\
                   4583:        :hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037:\
                   4584:        :ho=^]7`x @\037:\
                   4585:        :hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037:\
                   4586:        :is=\E8:le=^H:nd= :nw=^M^J:u0=\E~>\E8:u1=\E[42h:up=^K:
1.1       deraadt  4587: #
1.13      millert  4588: #      Wyse 160 Tektronix 4010/4014 emulator,
1.1       deraadt  4589: #
1.13      millert  4590: wy160-tek|Wyse 160 Tektronix 4010/4014 emulator:\
                   4591:        :..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:\
                   4592:        :ho=^]8`g @\037:\
                   4593:        :tc=wy99gt-tek:
1.1       deraadt  4594: #
1.13      millert  4595: #      Wyse 370 Tektronix 4010/4014 emulator,
1.1       deraadt  4596: #
1.13      millert  4597: wy370-tek|Wyse 370 Tektronix 4010/4014 emulator:\
                   4598:        :am:os:\
                   4599:        :co#80:li#36:\
                   4600:        :bl=^G:cl=\E^L:\
                   4601:        :..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:\
                   4602:        :cr=^M:do=^J:ff=^L:\
                   4603:        :hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037:\
                   4604:        :ho=^]8g @\037:\
                   4605:        :hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037:\
                   4606:        :is=\E8:kb=^H:kd=^J:kl=^H:kr=^I:ku=^K:le=^H:nd= :nw=^M^J:\
                   4607:        :u0=\E[?38h\E8:u1=\E[?38l\E)0:up=^K:
                   4608:
                   4609: # Vendor-supplied Wyse entries end here.
                   4610:
1.1       deraadt  4611: #
1.13      millert  4612: #TITLE:  TERMINFO ENTRY WY520
                   4613: #DATE:   8/5/93
                   4614: # The WY520 terminfo is based on the WY285 entry published on the WYSE
                   4615: # BBS with the addition of more function keys and special keys.
1.1       deraadt  4616: #
1.13      millert  4617: #               rs1 -> set personality
                   4618: #               rs2 -> set number of columns
                   4619: #               rs3 -> set number of lines
                   4620: #               is1 -> select the proper font
                   4621: #               is2 -> do the initialization
                   4622: #               is3 -> If this string is empty then rs3 gets sent.
1.1       deraadt  4623: #
1.13      millert  4624: #       Wyse 520 emulating a vt420 7 bit mode with default ANSI keyboard
                   4625: #       - The BS key is programmed to generate BS in smcup since
                   4626: #         is2 doesn't seem to work.
                   4627: #       - Remove and shift/Remove: delete a character
                   4628: #       - Insert : enter insert mode
                   4629: #       - Find   : delete to end of file
                   4630: #       - Select : clear a line
                   4631: #       - F11, F12, F13: send default sequences (not ESC, BS, LF)
                   4632: #       - F14 : Home key
                   4633: #       - Bottom status line (host writable line) is used.
                   4634: #       - smkx,rmkx are removed because this would put the numeric
                   4635: #         keypad in Dec application mode which doesn't seem to work
                   4636: #         with SCO applications.
1.1       deraadt  4637: #
1.8       tholo    4638: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   4639: # (sgr removed to fit entry within 1023 bytes)
                   4640: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.13      millert  4641: wy520|wyse520|wyse 520:\
                   4642:        :am:hs:km:mi:xn:xo:\
                   4643:        :co#80:it#8:li#24:ws#80:\
1.8       tholo    4644:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.13      millert  4645:        :K1=\EOw:K2=\EOy:K3=\EOu:K4=\EOq:K5=\EOs:LE=\E[%dD:\
                   4646:        :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
                   4647:        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
                   4648:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ds=\E[0$~:\
                   4649:        :ec=\E[%dX:ei=\E[4l:fs=\E[0$}:ho=\E[H:i1=\E[?5W:\
                   4650:        :i2=\E>\E(B\E)0\017\E[m:im=\E[4h:ip=:\
                   4651:        :is=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25;67h:\
                   4652:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
                   4653:        :k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
                   4654:        :kb=^H:kd=\E[B:kh=\E[26~:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
                   4655:        :mb=\E[5m:md=\E[1m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:\
                   4656:        :rc=\E8:sc=\E7:se=\E[m:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
                   4657:        :te=\E[ R:ti=\E[ Q\E[?67;8h:ts=\E[2$~\E[1$}\E[%i%p1%d`:\
                   4658:        :ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[34h\E[?25h:vi=\E[?25l:\
                   4659:        :vs=\E[?25h\E[34l:
1.1       deraadt  4660: #
1.13      millert  4661: #       Wyse 520 with 24 data lines and status (terminal status)
                   4662: wy520-24|wyse520-24|wyse 520 with 24 data lines:\
                   4663:        :hs@:\
                   4664:        :ds@:fs@:r3=\E[?5l\E[47h\E[40l\E[1;24r:ts@:tc=wy520:
1.1       deraadt  4665: #
1.13      millert  4666: #       Wyse 520 with visual bell.
                   4667: wy520-vb|wyse520-vb|wyse 520 with visible bell:\
                   4668:        :vb=\E[30h\E\054\E[30l:tc=wy520:
1.1       deraadt  4669: #
1.13      millert  4670: #       Wyse 520 in 132-column mode.
                   4671: wy520-w|wyse520-w|wyse 520 in 132-column mode:\
                   4672:        :co#132:ws#132:\
                   4673:        :DC=\E[%dP:IC=\E[%d@:dc=\E[P:ei=:im=:ip=:r2=\E[35h\E[?3h:tc=wy520:
1.1       deraadt  4674: #
1.13      millert  4675: #       Wyse 520 in 132-column mode with visual bell.
                   4676: wy520-wvb|wyse520-wvb|wyse 520 with visible bell 132-columns:\
                   4677:        :vb=\E[30h\E\054\E[30l:\
                   4678:        :tc=wy520-w:
1.5       tholo    4679: #
                   4680: #
1.13      millert  4681: #       Wyse 520 emulating a vt420 7 bit mode.
                   4682: #       The DEL key is programmed to generate BS in is2.
                   4683: #       With EPC keyboard.
                   4684: #       - 'End' key will clear till end of line on EPC keyboard
                   4685: #       - Shift/End : ignored.
                   4686: #       - Insert : enter insert mode.
                   4687: #       - Delete : delete a character (have to change interrupt character
                   4688: #                  to CTRL-C: stty intr '^c') for it to work since the
                   4689: #                  Delete key sends 7FH.
                   4690: wy520-epc|wyse520-epc|wyse 520 with EPC keyboard:\
                   4691:        :@7=\E[4~:k0=\E[21~:k1=\E[11~:k2=\E[12~:k3=\E[13~:\
                   4692:        :k4=\E[14~:k5=\E[15~:kD=\177:kE=\E[4~:kh=\E[H:\
                   4693:        :tc=wy520:
1.5       tholo    4694: #
1.13      millert  4695: #       Wyse 520 with 24 data lines and status (terminal status)
                   4696: #       with EPC keyboard.
                   4697: wy520-epc-24|wyse520-pc-24|wyse 520 with 24 data lines:\
                   4698:        :hs@:\
                   4699:        :ds@:fs@:r3=\E[?5l\E[47h\E[40l\E[1;24r:ts@:tc=wy520-epc:
1.1       deraadt  4700: #
1.13      millert  4701: #       Wyse 520 with visual bell.
                   4702: wy520-epc-vb|wyse520-pc-vb|wyse 520 with visible bell:\
                   4703:        :vb=\E[30h\E\054\E[30l:\
                   4704:        :tc=wy520-epc:
1.1       deraadt  4705: #
1.13      millert  4706: #       Wyse 520 in 132-column mode.
                   4707: wy520-epc-w|wyse520-epc-w|wyse 520 in 132-column mode with EPC keyboard:\
                   4708:        :co#132:ws#132:\
                   4709:        :DC=\E[%dP:IC=\E[%d@:dc=\E[P:ei=:im=:ip=:r2=\E[35h\E[?3h:tc=wy520-epc:
1.1       deraadt  4710: #
1.13      millert  4711: #       Wyse 520 in 132-column mode with visual bell.
                   4712: wy520-epc-wvb|wyse520-p-wvb|wyse 520 with visible bell 132-columns:\
                   4713:        :vb=\E[30h\E\054\E[30l:\
                   4714:        :tc=wy520-epc-w:
1.1       deraadt  4715: #
1.13      millert  4716: #       Wyse 520 in 80-column, 36 lines
                   4717: wy520-36|wyse520-36|wyse 520 with 36 data lines:\
                   4718:        :hs@:\
                   4719:        :li#36:\
                   4720:        :ds@:fs@:r3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r:ts@:tc=wy520:
1.1       deraadt  4721: #
1.13      millert  4722: #       Wyse 520 in 80-column, 48 lines
                   4723: wy520-48|wyse520-48|wyse 520 with 48 data lines:\
                   4724:        :hs@:\
                   4725:        :li#48:\
                   4726:        :ds@:fs@:r3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r:ts@:tc=wy520:
1.1       deraadt  4727: #
1.13      millert  4728: #       Wyse 520 in 132-column, 36 lines
                   4729: wy520-36w|wyse520-36w|wyse 520 with 132 columns and 36 data lines:\
                   4730:        :co#132:ws#132:\
                   4731:        :r2=\E[?3h:\
                   4732:        :r3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|:tc=wy520-36:
1.1       deraadt  4733: #
1.13      millert  4734: #       Wyse 520 in 132-column, 48 lines
                   4735: wy520-48w|wyse520-48w|wyse 520 with 48 data lines:\
                   4736:        :co#132:ws#132:\
                   4737:        :r2=\E[?3h:\
                   4738:        :r3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|:tc=wy520-48:
1.1       deraadt  4739: #
                   4740: #
1.13      millert  4741: #       Wyse 520 in 80-column, 36 lines with EPC keyboard
                   4742: wy520-36pc|wyse520-36pc|wyse 520 with 36 data lines and EPC keyboard:\
                   4743:        :hs@:\
                   4744:        :li#36:\
                   4745:        :ds@:fs@:r3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r:ts@:tc=wy520-epc:
1.1       deraadt  4746: #
1.13      millert  4747: #       Wyse 520 in 80-column, 48 lines with EPC keyboard
                   4748: wy520-48pc|wyse520-48pc|wyse 520 with 48 data lines and EPC keyboard:\
                   4749:        :hs@:\
                   4750:        :li#48:\
                   4751:        :ds@:fs@:r3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r:ts@:tc=wy520-epc:
1.2       deraadt  4752: #
1.13      millert  4753: #       Wyse 520 in 132-column, 36 lines with EPC keyboard
                   4754: wy520-36wpc|wyse520-36wpc|wyse 520 with 36 data lines and EPC keyboard:\
                   4755:        :co#132:ws#132:\
                   4756:        :r2=\E[?3h:\
                   4757:        :r3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|:tc=wy520-36pc:
1.1       deraadt  4758: #
1.13      millert  4759: #       Wyse 520 in 132-column, 48 lines with EPC keyboard
                   4760: wy520-48wpc|wyse520-48wpc|wyse 520 with 48 data lines:\
                   4761:        :co#132:ws#132:\
                   4762:        :r2=\E[?3h:\
                   4763:        :r3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|:tc=wy520-48pc:
                   4764:
                   4765: # From: John Gilmore <hoptoad!gnu@lll-crg.arpa>
                   4766: # (wyse-vp: removed :if=/usr/share/tabset/wyse-adds:, there's no such
                   4767: # file and we don't know what :st: is -- esr)
                   4768: wyse-vp|Wyse 50 in ADDS Viewpoint emulation mode with "enhance" on:\
                   4769:        :am:bs:\
                   4770:        :co#80:it#8:li#24:\
                   4771:        :al=\EM:bl=^G:cd=\Ek:ce=\EK:cl=^L:cm=\EY%+ %+ :cr=^M:dc=\EW:\
                   4772:        :dl=\El:do=^J:ei=\Er:ho=^A:im=\Eq:is=\E`\072\E`9\017\Er:\
                   4773:        :kb=^H:kd=^J:kh=^A:kl=^U:kr=^F:ku=^Z:le=^H:ll=^A^Z:me=^O:\
                   4774:        :nd=^F:nw=^M^J:r1=\E`\072\E`9\017\Er:se=^O:sf=^J:so=^N:\
                   4775:        :ta=^I:ue=^O:up=^Z:us=^N:
                   4776:
                   4777: wy75ap|wyse75ap|wy-75ap|wyse-75ap|Wyse WY-75 Applications and Cursor keypad:\
                   4778:        :is=\E[1;24r\E[?10;3l\E[?1;25h\E[4l\E[m\E(B\E=:kb=^H:\
                   4779:        :kd=\EOB:ke=10\E[?1l\E>:kh=\EOH:kl=\EOD:kr=\EOC:\
                   4780:        :ks=10\E[?1h\E=:ku=\EOA:tc=wy75:
                   4781:
                   4782: # From: Eric Freudenthal <freudent@eric.ultra.nyu.edu>
                   4783: wy100q|Wyse 100 for Quotron:\
                   4784:        :bs:\
1.5       tholo    4785:        :co#80:li#24:sg#1:\
1.13      millert  4786:        :al=\EE:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :dc=\EW:\
                   4787:        :dl=\ER:do=^J:ei=\Er:ho=^^:im=\Eq:\
                   4788:        :is=\E`\072\0\EC\EDF\E0\E'\E(\EA21:kd=^J:kl=^H:kr=^L:\
                   4789:        :ku=^K:le=^H:mk@:nd=^L:sr=\Ej:up=^K:\
1.5       tholo    4790:        :tc=adm+sgr:
1.13      millert  4791:
                   4792: #### Kermit terminal emulations
1.1       deraadt  4793: #
1.13      millert  4794: # Obsolete Kermit versions may be listed in the section describing obsolete
                   4795: # non-ANSI terminal emulators later in the file.
1.1       deraadt  4796: #
1.13      millert  4797:
                   4798: # KERMIT standard all versions.
                   4799: # Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
                   4800: # (kermit: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
                   4801: # From: greg small <gts@populi.berkeley.edu> 9-25-84
                   4802: kermit|standard kermit:\
                   4803:        :bs:\
                   4804:        :co#80:li#24:\
                   4805:        :cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :ho=\EH:\
                   4806:        :is=K0 Standard Kermit  9-25-84\n:kd=^J:kh=^^:kl=^H:\
                   4807:        :kr=^L:ku=^K:le=^H:nd=\EC:up=\EA:
                   4808: kermit-am|standard kermit plus auto-margin:\
                   4809:        :am:\
                   4810:        :is=K1 Standard Kermit plus Automatic Margins\n:tc=kermit:
                   4811: # IBMPC Kermit 1.2.
                   4812: # Bugs: :cd:, :ce:: do not work except at beginning of line!  :cl: does
                   4813: # not work, but fake with :cl=\EH\EJ (since :cd=\EJ: works at beginning of
                   4814: # line).
                   4815: # From: greg small <gts@populi.berkeley.edu> 8-30-84
                   4816: pckermit|pckermit12|UCB IBMPC Kermit 1.2:\
                   4817:        :am:\
                   4818:        :li#25:\
                   4819:        :cd@:ce@:cl=\EH\EJ:\
                   4820:        :is=K2 UCB IBMPC Kermit 1.2  8-30-84\n:tc=kermit:
                   4821: # IBMPC Kermit 1.20
                   4822: # Cannot use line 25, now acts funny like ansi special scrolling region.
                   4823: # Initialization must escape from that region by cursor position to line 24.
                   4824: # Cannot use character insert because 1.20 goes crazy if insert at col 80.
                   4825: # Does not use :am: because autowrap is lost when kermit dropped and restarted.
                   4826: # From: greg small <gts@populi.berkeley.edu> 12-19-84
                   4827: pckermit120|UCB IBMPC Kermit 1.20:\
                   4828:        :it#8:li#24:\
                   4829:        :al=\EL:dc=\EN:dl=\EM:do=\EB:ei@:im@:\
                   4830:        :is=\EO\Eq\EJ\EY7 K3 UCB IBMPC Kermit 1.20  12-19-84\n:\
                   4831:        :se=\Eq:so=\Ep:ta=^I:vs=\EO\Eq\EEK3:\
                   4832:        :tc=kermit:
                   4833: # MS-DOS Kermit 2.27 for the IBMPC
                   4834: # Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
                   4835: # Cannot use line 25, now acts funny like ansi special scrolling region.
                   4836: # Initialization must escape from that region by cursor position to line 24.
                   4837: # Does not use am: because autowrap is lost when kermit dropped and restarted.
                   4838: # Reverse video for standout like H19.
                   4839: # (msk227: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
                   4840: # From: greg small <gts@populi.berkeley.edu> 3-17-85
                   4841: msk227|mskermit227|MS-DOS Kermit 2.27 for the IBMPC:\
                   4842:        :am@:bs:\
                   4843:        :co#80:it#8:li#24:\
                   4844:        :al=\EL:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :dc=\EN:dl=\EM:\
                   4845:        :do=\EB:ei=\EO:ho=\EH:im=\E@:\
                   4846:        :is=\EO\Eq\EG\Ew\EJ\EY7 K4 MS Kermit 2.27 for the IBMPC 3-17-85\n:\
                   4847:        :kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:nd=\EC:rc=\Ek:sc=\Ej:\
                   4848:        :se=\Eq:so=\Ep:ta=^I:up=\EA:vs=\EO\Eq\EG\EwK4:
                   4849: # MS-DOS Kermit 2.27 with automatic margins
                   4850: # From:        greg small <gts@populi.berkeley.edu> 3-17-85
                   4851: msk227am|mskermit227am|UCB MS-DOS Kermit 2.27 with automatic margins:\
                   4852:        :am:\
                   4853:        :is=\EO\Eq\EG\Ev\EJ\EY7 K5 MS Kermit 2.27 +automatic margins 3-17-85\n:\
                   4854:        :vs=\EO\Eq\EG\EvK5:\
                   4855:        :tc=msk227:
                   4856: # MS-DOS Kermit 2.27 UCB 227.14 for the IBM PC
                   4857: # Automatic margins now default.  Use ansi :sa: for highlights.
                   4858: # Define function keys.
                   4859: # (msk22714: removed obsolete ":kn#10:" -- esr)
                   4860: # From: greg small <gts@populi.berkeley.edu> 3-17-85
                   4861: msk22714|mskermit22714|UCB MS-DOS Kermit 2.27 UCB 227.14 IBM PC:\
                   4862:        :am:\
                   4863:        :is=\EO\Eq\EG\Ev\EJ\EY7 K6 MS Kermit 2.27 UCB 227.14 IBM PC 3-17-85\n:\
                   4864:        :k0=\E0:k1=\E1:k2=\E2:k3=\E3:k4=\E4:k5=\E5:k6=\E6:k7=\E7:\
                   4865:        :k8=\E8:k9=\E9:md=\E[1m:me=\E[m:mr=\E[7m:se=\E[m:so=\E[1m:\
                   4866:        :ue=\E[m:us=\E[4m:vs=\EO\Eq\EG\EvK6:\
                   4867:        :tc=mskermit227:
                   4868: # This was designed for a VT320 emulator, but it is probably a good start
                   4869: # at support for the VT320 itself.
                   4870: # Please send changes with explanations to bug-gnu-emacs@prep.ai.mit.edu.
                   4871: # (vt320-k3: I added <rmam>/<smam> based on the init string -- esr)
1.3       deraadt  4872: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   4873: # (sgr removed to fit entry within 1023 bytes)
                   4874: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.13      millert  4875: vt320-k3|MS-Kermit 3.00's vt320 emulation:\
                   4876:        :am:es:hs:km:mi:ms:xn:\
                   4877:        :co#80:it#8:li#49:pb#9600:vt#3:\
                   4878:        :AL=\E[%dL:CC=\E:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   4879:        :LE=\E[%dD:RI=\E[%dC:SR=\E[%dL:UP=\E[%dA:ae=\E(B:al=\E[L:\
                   4880:        :as=\E(0:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
                   4881:        :cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
                   4882:        :ds=\E[0$~:ec=\E[%dX:ei=\E[4l:fs=\E[0$}:ho=\E[H:im=\E[4h:\
                   4883:        :is=\E>\E F\E[?1l\E[?7h\E[r\E[2$~:k0=\E[21~:k1=\EOP:\
                   4884:        :k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
                   4885:        :k9=\E[20~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:\
                   4886:        :ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
                   4887:        :mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=^M^J:rc=\E8:\
                   4888:        :sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
                   4889:        :ts=\E[1$}\r\E[K:ue=\E[24m:up=\E[A:us=\E[4m:\
                   4890:        :vb=\E[?5h\E[?5l\E[?5h\E[?5l\E[?5h\E[?5l:ve=\E[?25h:\
                   4891:        :vi=\E[?25l:
                   4892: # From: Joseph Gil <yogi@cs.ubc.ca> 13 Dec 1991
                   4893: # ACS capabilities from Philippe De Muyter  <phdm@info.ucl.ac.be> 30 May 1996
                   4894: # (I removed a bogus boolean :mo: and added :ms:, <smam>, <rmam> -- esr)
                   4895: vt320-k311|dec vt320 series as defined by kermit 3.11:\
                   4896:        :am:es:hs:mi:ms:xn:xo:\
                   4897:        :co#80:it#8:li#24:vt#3:\
                   4898:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   4899:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
                   4900:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
                   4901:        :ae=^O:al=3\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[;H\E[2J:\
                   4902:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
                   4903:        :dl=\E[M:do=^J:ds=\E[2$~\r\E[1$}\E[K\E[$}:ei=\E[4l:\
                   4904:        :fs=\E[$}:ho=\E[H:im=\E[4h:\
                   4905:        :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
                   4906:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
                   4907:        :k8=\E[19~:k9=\E[20~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
                   4908:        :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l1=pf1:l2=pf2:l3=pf3:l4=pf4:\
                   4909:        :le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=^M\ED:\
                   4910:        :r1=\E[?3l:rc=\E8:rf=/usr/share/tabset/vt100:sc=\E7:\
                   4911:        :se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
                   4912:        :ts=\E[2$~\E[1$}\E[1;%dH:ue=\E[24m:up=\E[A:us=\E[4m:\
                   4913:        :vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
                   4914:
1.1       deraadt  4915: #
1.13      millert  4916: ######## ---------------- TERMINFO FILE CAN BE SPLIT HERE -------------------
                   4917: # This cut mark helps make life less painful for people running ncurses tic
                   4918: # on machines with relatively little RAM.  The file can be broken in half here
                   4919: # cleanly and compiled in sections -- no `use' references cross this cut
                   4920: # going forward.
1.1       deraadt  4921: #
1.13      millert  4922:
                   4923: ######## OLDER TERMINAL TYPES
1.1       deraadt  4924: #
1.13      millert  4925: # This section is devoted to older commercial terminal brands that are now
                   4926: # discontinued, but known to be still in use or represented by emulations.
1.1       deraadt  4927: #
1.13      millert  4928:
                   4929: #### AT&T (att, tty)
1.1       deraadt  4930: #
1.13      millert  4931: # This section also includes Teletype-branded VDTs.
1.1       deraadt  4932: #
1.13      millert  4933: # The AT&T/Teletype terminals group was sold to SunRiver Data Systems (now
                   4934: # Boundless Technologies); for details, see the header comment on the ADDS
                   4935: # section.
1.2       deraadt  4936: #
1.13      millert  4937: # These are AT&T's official terminfo entries.  All-caps aliases have been
                   4938: # removed.
1.1       deraadt  4939: #
1.13      millert  4940: att2300|sv80|AT&T 2300 Video Information Terminal 80 column mode:\
                   4941:        :am:eo:mi:ms:xo:\
                   4942:        :co#80:it#8:li#24:\
                   4943:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[11r:\
                   4944:        :F2=\E[12r:F3=\E[13r:F4=\E[14r:F5=\E[15r:F6=\E[16r:\
                   4945:        :IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:\
                   4946:        :cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
                   4947:        :cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:im=\E[4h:\
                   4948:        :k1=\E[1r:k2=\E[2r:k3=\E[3r:k4=\E[4r:k5=\E[5r:k6=\E[6r:\
                   4949:        :k7=\E[7r:k8=\E[8r:k9=\E[9r:k;=\E[10r:kA=\E[L:kB=\E[Z:\
                   4950:        :kC=\E[J:kD=\E[P:kI=\E[@:kL=\E[M:kb=^H:kd=\E[B:kh=\E[H:\
                   4951:        :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:mr=\E[7m:nd=\E[C:\
                   4952:        :pf=\E[4i:po=\E[5i:ps=\E[0i:se=\E[m:sf=^J:so=\E[7m:ta=^I:\
                   4953:        :up=\E[A:
                   4954: att2350|AT&T 2350 Video Information Terminal 80 column mode:\
                   4955:        :pf@:po@:ps@:\
                   4956:        :tc=att2300:
                   4957:
                   4958: # Must setup RETURN KEY - CR, REC'VD LF - INDEX.
                   4959: # Seems upward compatible with vt100, plus ins/del line/char.
                   4960: # On sgr, the protection parameter is ignored.
                   4961: # No check is made to make sure that only 3 parameters are output.
                   4962: #      standout= reverse + half-intensity = 3 | 5.
                   4963: #      bold= reverse + underline = 2 | 3.
                   4964: # note that half-bright blinking doesn't look different from normal blinking.
                   4965: # NOTE:you must program the function keys first, label second!
                   4966: # (att4410: a BSD entry has been seen with the following capabilities:
                   4967: # :is=\E[?6l:, :k1=\EOc:, :k2=\EOd:, :k3=\EOe:, :k4=\EOg:,
                   4968: # :k6=\EOh:, :k7=\EOi:, :k8=\EOj:, -- esr)
                   4969: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   4970: att5410v1|att4410v1|tty5410v1|AT&T 4410/5410 80 columns - version 1:\
                   4971:        :am:hs:mi:ms:xo:\
                   4972:        :Nl#8:co#80:it#8:lh#2:li#24:lw#8:ws#80:\
                   4973:        :ac=++\054\054--..00``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
                   4974:        :ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
                   4975:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:\
                   4976:        :do=\E[B:ei=:fs=\E8:ho=\E[H:i1=\E[?3l\E)0:\
                   4977:        :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:\
                   4978:        :ic=\E[@:im=:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:\
                   4979:        :k6=\EOU:k7=\EOV:k8=\EOW:kC=\E[2J:kH=\E[24;1H:kb=^H:\
                   4980:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:ll=\E[24H:\
                   4981:        :mb=\E[5m:md=\E[2;7m:me=\E[m\017:mh=\E[2m:mk=\E[8m:\
                   4982:        :mr=\E[7m:nd=\E[C:nw=^M^J:r2=\Ec\E[?3l\E[2;0y:rc=\E8:\
                   4983:        :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:\
                   4984:        :ts=\E7\E[25;%p1%{1}%+%dH:ue=\E[m:up=\E[A:us=\E[4m:
                   4985:
                   4986: att4410v1-w|att5410v1-w|tty5410v1-w|AT&T 4410/5410 132 columns - version 1:\
                   4987:        :co#132:ws#132:\
                   4988:        :i1=\E[?3h\E)0:r2=\Ec\E[?3h\E[2;0y:tc=att5410v1:
                   4989:
                   4990: att4410|att5410|tty5410|AT&T 4410/5410 80 columns - version 2:\
                   4991:        :bs:\
                   4992:        :..px=\E[%p1%d;%p2%l%02dq   f%p1%d           %p2%s:tc=att5410v1:
                   4993:
                   4994: att5410-w|att4410-w|4410-w|tty5410-w|5410-w|AT&T 4410/5410 in 132 column mode:\
                   4995:        :co#132:ws#132:\
                   4996:        :i1=\E[?3h\E)0:r2=\Ec\E[?3h\E[2;0y:tc=att4410:
                   4997:
                   4998: # 5410 in terms of a vt100
                   4999: # (v5410: added <rmam>/<smam> based on init string -- esr)
                   5000: v5410|att5410 in terms of a vt100:\
                   5001:        :am:mi:ms:xo:\
                   5002:        :co#80:it#8:li#24:vt#3:\
                   5003:        :@8=\EOM:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:RA=\E[?7l:\
                   5004:        :SA=\E[?7h:\
                   5005:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
                   5006:        :ae=^O:al=\E[L:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
                   5007:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
                   5008:        :ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:eA=\E(B\E)0:ei=:ho=\E[H:\
                   5009:        :ic=\E[@:im=:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
                   5010:        :k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:kb=^H:\
                   5011:        :kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
                   5012:        :ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:\
                   5013:        :nd=\E[C:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
                   5014:        :..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
                   5015:        :sc=\E7:se=\E[m:sf=^J:so=\E[1;7m:sr=\EM:st=\EH:ta=^I:\
                   5016:        :ue=\E[m:up=\E[A:us=\E[4m:
                   5017:
                   5018: #
                   5019: # Teletype Model 5420 -- A souped up 5410, with multiple windows,
                   5020: # even! the 5420 has three modes: scroll, window or page mode
                   5021: # this terminfo should work in scroll or window mode, but doesn't
                   5022: # take advantage of any of the differences between them.
1.1       deraadt  5023: #
1.13      millert  5024: # Has memory below (2 lines!)
                   5025: # 3 pages of memory (plus some spare)
                   5026: # The 5410 sequences for :cm:, :vs:, :DC:, :DL:, :ec:, :vb:, :ho:,
                   5027: # <hpa>, :st: would work for these, but these work in both scroll and window
                   5028: # mode... Unset insert character so insert mode works
                   5029: # :i1: sets 80 column mode,
                   5030: # :is: escape sequence:
                   5031: # 1) turn off all fonts
                   5032: # 2) function keys off, keyboard lock off, control display off,
                   5033: #    insert mode off, erasure mode off,
                   5034: # 3) full duplex, monitor mode off, send graphics off, nl on lf off
                   5035: # 4) reset origin mode
                   5036: # 5) set line wraparound
                   5037: # 6) exit erasure mode, positional attribute mode, and erasure extent mode
                   5038: # 7) clear margins
                   5039: # 8) program ENTER to transmit ^J,
                   5040: # We use \212 to program the ^J because a bare ^J will get translated by
                   5041: # UNIX into a CR/LF. The enter key is needed for AT&T uOMS.
                   5042: #     1      2            3              4     5     6    7  8
                   5043: # :i3: set screen color to black,
                   5044: # No representation in terminfo for the delete word key: kdw1=\Ed
                   5045: # Key capabilities assume the power-up send sequence...
                   5046: # This :te: is not strictly necessary, but it helps maximize
                   5047: # memory usefulness: :te=\Ez:,
                   5048: # Alternate sgr0:      :me=\E[m\EW^O:,
                   5049: # 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%;:,
                   5050: # smkx programs the SYS PF keys to send a set sequence.
                   5051: # It also sets up labels f1, f2, ..., f8, and sends edit keys.
                   5052: # This string causes them to send the strings :k1:-:k8:
                   5053: # when pressed in SYS PF mode.
                   5054: # (att4415: I added <rmam>/<smam> based on the init string -- esr)
                   5055: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   5056: att4415|tty5420|att5420|AT&T 4415/5420 80 cols:\
                   5057:        :bs:db:mi:xo:\
                   5058:        :Nl#8:lh#2:lm#78:lw#8:ws#55:\
                   5059:        :@1=\Et:@7=\Ez:@8=\Eent:AL=\E[%dL:CM=\E[%i%p1%d;%p2%dt:\
                   5060:        :DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:LF=\E|:\
                   5061:        :LO=\E~:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:SF=\E[%dE:SR=\E[%dF:\
                   5062:        :UP=\E[%dA:bt=\E[Z:ch=\E[%+^AG:cl=\E[x\E[J:\
                   5063:        :cm=\E[%i%d;%dx:ct=\E[3g:cv=\E[%+^Ad:ec=\E[%ds\E[%dD:\
                   5064:        :ei=\E[4l:ho=\E[x:i1=\E[?3l:i2=\E[?5l:ic@:im=\E[4h:\
                   5065:        :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:\
                   5066:        :k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:\
                   5067:        :k8=\EOj:kA=\E[L:kB=\E[Z:kD=\E[P:kE=\E[2K:kF=\E[T:kH=\Eu:\
                   5068:        :kI=\E[4h:kL=\E[M:kN=\E[U:kP=\E[V:kR=\E[S:\
                   5069:        :ke=\E[19;0j\E[21;1j\212:ks=\E[19;1j\E[21;4j\Eent:\
                   5070:        :l1=F1:l2=F2:l3=F3:l4=F4:l5=F5:l6=F6:l7=F7:l8=F8:ll=\Ew:\
                   5071:        :me=\E[m\017:mp=\EV:pf=\E[?9i:po=\E[?4i:ps=\E[?2i:st=\EH:\
                   5072:        :ts=\E7\E[25;%p1%{8}%+%dH:vb=\E[?5h\E[?5l:ve=\E[11;0j:\
                   5073:        :vs=\E[11;1j:\
                   5074:        :tc=att4410:
                   5075:
                   5076: att4415-w|tty5420-w|att5420-w|AT&T 4415/5420 132 cols:\
                   5077:        :co#132:lm#54:ws#97:\
                   5078:        :i1=\E[?3h:tc=att4415:
                   5079:
                   5080: att4415-rv|tty5420-rv|att5420-rv|AT&T 4415/5420 80 cols/rv:\
                   5081:        :i2=\E[?5h:vb=\E[?5l\E[?5h:\
                   5082:        :tc=att4415:
                   5083:
                   5084: att4415-w-rv|tty5420-w-rv|att5420-w-rv|AT&T 4415/5420 132 cols/rv:\
                   5085:        :co#132:lm#54:ws#97:\
                   5086:        :i1=\E[?3h:i2=\E[?5h:vb=\E[?5l\E[?5h:tc=att4415:
                   5087:
                   5088: # Note that this mode permits programming USER PF KEYS and labels
                   5089: # However, when you program user pf labels you have to reselect
                   5090: # user pf keys to make them appear!
                   5091: att4415+nl|tty5420+nl|att5420+nl|generic AT&T 4415/5420 changes for not changing labels:\
                   5092:        :k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:\
                   5093:        :..pn=\E[%p1%d;0;0;1q%p2%:-16.16s:\
                   5094:        :..px=\E[%p1%d;%p2%l%02d;0;1q   F%p1%d           %p2%s:
                   5095:
                   5096: att4415-nl|tty5420-nl|att5420-nl|AT&T 4415/5420 without changing labels:\
                   5097:        :k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:\
                   5098:        :tc=att4415+nl:tc=att4415:
                   5099:
                   5100: att4415-rv-nl|tty5420-rv-nl|att5420-rv-nl|AT&T 4415/5420 reverse video without changing labels:\
                   5101:        :k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:\
                   5102:        :tc=att4415+nl:tc=att4415-rv:
                   5103:
                   5104: att4415-w-nl|tty5420-w-nl|att5420-w-nl|AT&T 4415/5420 132 cols without changing labels:\
                   5105:        :k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:\
                   5106:        :tc=att4415+nl:tc=att4415-w:
                   5107:
                   5108: att4415-w-rv-n|tty5420-w-rv-n|att5420-w-rv-n|AT&T 4415/5420 132 cols reverse without changing labels:\
                   5109:        :k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:\
                   5110:        :tc=att4415+nl:tc=att4415-w-rv:
                   5111:
1.3       deraadt  5112: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   5113: # (sgr removed to fit entry within 1023 bytes)
                   5114: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.13      millert  5115: att5420_2|AT&T 5420 model 2 80 cols:\
                   5116:        :am:db:hs:mi:ms:xo:\
                   5117:        :co#80:it#8:li#24:lm#78:ws#55:\
                   5118:        :AL=\E[%dL:CM=\E[%i%p1%d;%p2%dt:DC=\E[%dP:DL=\E[%dM:\
                   5119:        :IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:SF=\E[%dE:SR=\E[%dF:\
                   5120:        :UP=\E[%dA:ae=^O:al=\E[L:as=^N:bt=\E[1Z:cd=\E[0J:ce=\E[0K:\
                   5121:        :cl=\EH\EJ:cm=\E[%i%d;%dH:cr=\EG:cs=\E[%i%d;%dr:ct=\E[3g:\
                   5122:        :dc=\E[P:dl=\E[M:do=\E[1B:ec=\E[%ds\E[%dD:ei=:fs=\E8:\
                   5123:        :ho=\E[H:\
                   5124:        :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:\
                   5125:        :ic=\E[@:im=:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:\
                   5126:        :k6=\EOh:k7=\EOi:k8=\EOj:kD=\E[P:kH=\Eu:kI=\E[4h:kN=\E[U:\
                   5127:        :kP=\E[V:kb=^H:kd=\E[B:ke=\E[19;0j:kh=\E[H:kl=\E[D:kr=\E[C:\
                   5128:        :ks=\E[19;1j:ku=\E[A:le=^H:ll=\Ew:mb=\E[5m:me=\E[m\017:\
                   5129:        :mh=\E[2m:mr=\E[7m:nd=\E[1C:nw=^M^J:rc=\E8:sc=\E7:se=\E[m:\
                   5130:        :sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
                   5131:        :ts=\E7\E[25;%p1%{8}%+%dH:ue=\E[m:us=\E[4m:\
                   5132:        :vb=\E[?5h\E[?5l:ve=\E[11;0j:vs=\E[11;1j:
                   5133: att5420_2-w|AT&T 5420 model 2 in 132 column mode:\
                   5134:        :co#132:\
                   5135:        :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:
                   5136:
                   5137: att4418|att5418|AT&T 5418 80 cols:\
                   5138:        :am:xo:\
                   5139:        :co#80:li#24:\
                   5140:        :@8=\E[:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[n:\
                   5141:        :F2=\E[o:F3=\E[H:F4=\E[I:F5=\E[J:F8=\E[K:F9=\E[L:FA=\E[E:\
                   5142:        :FB=\E[_:FC=\E[M:FD=\E[N:FE=\E[O:IC=\E[%d@:LE=\E[%dD:\
                   5143:        :RI=\E[%dC:UP=\E[%dA:\
                   5144:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
                   5145:        :ae=^O:al=\E[1L:as=^N:bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[H\E[2J:\
                   5146:        :cm=\E[%i%d;%dH:cr=^M:dc=\E[1P:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
                   5147:        :i1=\E[?3l:ic=\E[1@:im=:is=\E)0\E?6l\E?5l:k1=\E[h:k2=\E[i:\
                   5148:        :k3=\E[j:k6=\E[k:k7=\E[l:k8=\E[f:k9=\E[w:k;=\E[m:kC=\E[%:\
                   5149:        :kd=\EU:kh=\Ec:kl=\E@:kr=\EA:ku=\ES:le=\E[D:mb=\E[5m:\
                   5150:        :me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:\
                   5151:        :se=\E[m:sf=^J:so=\E[7m:ue=\E[m:up=\E[A:us=\E[4m:
                   5152: att4418-w|att5418-w|AT&T 5418 132 cols:\
                   5153:        :co#132:\
                   5154:        :i1=\E[?3h:tc=att5418:
                   5155:
                   5156: att4420|tty4420|teletype 4420:\
                   5157:        :bs:da:db:eo:ms:ul:xo:\
                   5158:        :co#80:li#24:lm#72:\
                   5159:        :al=\EL:bl=^G:cd=\EJ:ce=\Ez:cl=\EH\EJ:cm=\EY%+ %+ :cr=\EG:\
                   5160:        :dc=\EP:dl=\EM:dm@:do=\EB:ed@:ho=\EH:k0=\EU:k3=\E@:kA=\EL:\
                   5161:        :kB=\EO:kC=\EJ:kD=\EP:kF=\ES:kI=\E\136:kL=\EM:kR=\ET:kd=\EB:\
                   5162:        :kh=\EH:kl=^H:kr=\EC:ku=\EA:l0=segment advance:\
                   5163:        :l3=cursor tab:le=\ED:nd=\EC:se=\E~:sf=\EH\EM\EY7 :so=\E}:\
                   5164:        :ue=\EZ:up=\EA:us=\E\:
1.1       deraadt  5165:
1.13      millert  5166: #  The following is a terminfo entry for the Teletype 4424
                   5167: #  asynchronous keyboard-display terminal.  It supports
                   5168: #  the vi editor.  The terminal must be set up as follows,
                   5169: #
                   5170: #      HIGHLIGHT DEFINITION    3-TONE
                   5171: #      DISPLAY FUNCTION        GROUP III
                   5172: #
                   5173: #  The second entry below provides limited (a la adm3a)
                   5174: #  operation under GROUP II.
                   5175: #
                   5176: #  This must be used with DISPLAY FUNCTION GROUP I or III
                   5177: #      and HIGHLIGHT DEFINITION 3-TONE
                   5178: # The terminal has either bold or blink, depending on options
1.2       deraadt  5179: #
1.13      millert  5180: # (att4424: commented out :ti:=\E[1m, we don't need bright locked on -- esr)
                   5181: att4424|tty4424|teletype 4424:\
                   5182:        :am:bs:xo:\
                   5183:        :co#80:li#24:\
                   5184:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   5185:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
                   5186:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
                   5187:        :ae=\E(B:al=\EL:as=\E(0:bl=^G:bt=\EO:cd=\EJ:ce=\Ez:\
                   5188:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\EF:\
                   5189:        :dc=\EP:dl=\EM:do=\EB:ei=:ho=\E[H:ic=\E\136:im=:\
                   5190:        :is=\E[20l\E[?7h:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kC=\EJ:\
                   5191:        :kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E3:\
                   5192:        :md=\E3:me=\EX\E~\EZ\E4\E(B:mh=\EW:mr=\E}:nd=\EC:nw=\EE:\
                   5193:        :..sa=\E[%?%p1%t7%;%?%p2%t;4%;%?%p3%t;7%;%?%p6%t;1%;%?%p6%p4%|%t;5%;%?%p5%t;0%;m:\
                   5194:        :se=\E~:sf=^J:so=\E}:sr=\ET:st=\EH:ta=^I:ue=\EZ:up=\EA:\
                   5195:        :us=\E\:
                   5196:
                   5197: att4424-1|tty4424-1|teletype 4424 in display function group I:\
                   5198:        :kC@:kd=\EB:kh@:kl=\ED:kr=\EC:ku=\EA:\
                   5199:        :tc=att4424:
                   5200:
                   5201: # This entry is not one of AT&T's official ones, it was translated from the
                   5202: # 4.4BSD termcap file.  The highlight strings are different from att4424.
                   5203: # I have no idea why this is -- older firmware version, maybe?
                   5204: # The following two lines are the comment originally attached to the entry:
                   5205: # This entry appears to avoid the top line - I have no idea why.
                   5206: # From: jwb Wed Mar 31 13:25:09 1982 remote from ihuxp
                   5207: att4424m|tty4424m|teletype 4424M:\
                   5208:        :am:da:db:mi:\
                   5209:        :co#80:it#8:li#23:\
                   5210:        :al=\EL:bl=^G:ce=\E[K:cl=\E[2;H\E[J:cm=\E[%i%2;%2H\E[B:\
                   5211:        :cr=^M:dc=\EP:dl=\EM:do=^J:ei=:ic=\E\136:im=:ip=2:\
                   5212:        :is=\E[m\E[2;24r:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:\
                   5213:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:\
                   5214:        :nd=\E[C:nw=^M^J:se=\E[m:sf=^J:so=\E[7m:sr=\ET:ta=^I:\
                   5215:        :ue=\E[m:up=\E[A:us=\E[4m:
                   5216:
                   5217: # The Teletype 5425 is really version 2 of the Teletype 5420. It
                   5218: # is quite similar, except for some minor differences. No page
                   5219: # mode, for example, so all of the :cm: sequences used above have
                   5220: # to change back to what's being used for the 5410. Many of the
                   5221: # option settings have changed their numbering as well.
                   5222: #
                   5223: # This has been tested on a preliminary model.
1.1       deraadt  5224: #
1.13      millert  5225: # (att5425: added <rmam>/<smam> based on the init string -- esr)
1.3       deraadt  5226: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   5227: # (sgr removed to fit entry within 1023 bytes)
                   5228: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.13      millert  5229: att5425|tty5425|att4425|AT&T 4425/5425:\
                   5230:        :am:da:db:hs:mi:ms:xn:xo:\
                   5231:        :co#80:it#8:li#24:lm#78:ws#55:\
                   5232:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   5233:        :LE=\E[%dD:RI=\E[%dC:SF=\E[%dE:SR=\E[%dF:UP=\E[%dA:ae=^O:\
                   5234:        :al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
                   5235:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
                   5236:        :dl=\E[M:do=^J:ec=\E[%ds\E[%dD:ei=\E[4l:fs=\E8:ho=\E[H:\
                   5237:        :i1=\E<\E[?3l:i2=\E[?5l:im=\E[4h:\
                   5238:        :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:\
                   5239:        :k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:\
                   5240:        :k8=\EOj:kD=\E[P:kI=\E[4h:kb=^H:kd=\E[B:\
                   5241:        :ke=\E[21;0j\E[25;1j\212:kh=\E[H:kl=\E[D:kr=\E[C:\
                   5242:        :ks=\E[21;1j\E[25;4j\Eent\E~:ku=\E[A:le=^H:ll=\E[24H:\
                   5243:        :mb=\E[5m:md=\E[2;7m:me=\E[m\017:mh=\E[2m:mr=\E[7m:\
                   5244:        :nd=\E[C:nw=^M^J:rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:\
                   5245:        :sr=\EM:st=\EH:ta=^I:ts=\E7\E[25;%p1%{8}%+%dH:ue=\E[m:\
                   5246:        :up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[12;0j:\
                   5247:        :vs=\E[12;1j:
                   5248:
                   5249: att5425-nl|tty5425-nl|att4425-nl|AT&T 4425/5425 80 columns no labels:\
                   5250:        :ks=\E[21;1j\E[25;4j\Eent:\
                   5251:        :tc=att4425:
                   5252:
                   5253: att5425-w|att4425-w|tty5425-w|teletype 4425/5425 in 132 column mode:\
                   5254:        :co#132:lm#54:ws#97:\
                   5255:        :i1=\E[?3h:tc=tty5425:
                   5256:
                   5257: # (att4426: his had bogus capabilities: :ri=\EM:, :ri=\E[1U:.
                   5258: # I also added <rmam>/<smam> -- esr)
                   5259: att4426|tty4426|teletype 4426S:\
                   5260:        :am:da:db:xo:\
                   5261:        :co#80:li#24:lm#48:\
                   5262:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   5263:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:SF=\E[%dS:\
                   5264:        :SR=\E[%dT:UP=\E[%dA:\
                   5265:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
                   5266:        :ae=\E(B:al=\EL:as=\E(0:bl=^G:cd=\E[J:ce=\E[0K:ch=\E[%dG:\
                   5267:        :cl=\E[H\E[2J\E[1U\E[H\E[2J\E[1V:cm=\E[%i%d;%dH:cr=^M:\
                   5268:        :ct=\E[3g:cv=\E[%dd:dc=\EP:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
                   5269:        :i1=\Ec\E[?7h:ic=\E\136:im=:is=\E[m\E[1;24r:k1=\EOP:\
                   5270:        :k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:\
                   5271:        :kB=\EO:kC=\E[2J:kH=\E[24;1H:kb=^H:kd=\EB:kh=\E[H:kl=\ED:\
                   5272:        :kr=\EC:ku=\EA:le=\E[D:ll=\E[24H:md=\E[5m:me=\E[m\E(B:\
                   5273:        :mr=\E[7m:nd=\E[C:nw=^M^J:r2=\Ec\E[?3l\E[2;0y:rc=\E8:\
                   5274:        :sc=\E7:se=\E[m:sf=^J:so=\E[5m:sr=\ET:st=\E1:ta=^I:ue=\E[m:\
                   5275:        :up=\EA:us=\E[4m:
                   5276:
                   5277: # Terminfo entry for the AT&T 510 A Personal Terminal
                   5278: # Function keys 9 - 16 are available only after the
                   5279: # screen labeled (soft keys/action blocks) are labeled.  Function key
                   5280: # 9 corresponds to the leftmost touch target on the screen,
                   5281: # function key 16 corresponds to the rightmost.
1.1       deraadt  5282: #
1.13      millert  5283: # This entry is based on one done by Ernie Rice at Summit, NJ and
                   5284: # changed by Anne Gallup, Skokie, IL, ttrdc!anne
                   5285: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   5286: att510a|bct510a|AT&T 510A Personal Terminal:\
                   5287:        :am:mi:ms:xn:xo:\
                   5288:        :Nl#8:co#80:lh#2:li#24:lw#7:\
                   5289:        :#4=\E[u:%i=\E[v:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
                   5290:        :F1=\EOe:F2=\EOf:F3=\EOg:F4=\EOh:F5=\EOi:F6=\EOj:LE=\E[%dD:\
                   5291:        :RI=\E[%dC:UP=\E[%dA:\
                   5292:        :ac=+g\054h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~:\
                   5293:        :ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[0J:\
                   5294:        :ce=\E[0K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:\
                   5295:        :dc=\E[P:dl=\E[M:do=\E[1B:eA=\E(B\E)1:ff=^L:ho=\E[H:\
                   5296:        :i1=\E(B\E)1\E[2l:i2=\E[21;1|\212:k1=\EOm:k2=\EOV:\
                   5297:        :k3=\EOu:k4=\ENj:k5=\ENe:k6=\ENf:k7=\ENh:k8=\E[H:k9=\EOc:\
                   5298:        :k;=\EOd:kB=\E[Z:kF=\E[S:kR=\E[T:kb=^H:kd=\E[B:ke=\E[19;0|:\
                   5299:        :kl=\E[D:kr=\E[C:ks=\E[19;1|:ku=\E[A:le=^H:mb=\E[5m:\
                   5300:        :md=\E[2;7m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\EE:\
                   5301:        :pf=\E[?8i:po=\E[?4i:ps=\E[0i:rc=\E8:sc=\E7:se=\E[m:sf=^J:\
                   5302:        :so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:\
                   5303:        :ve=\E[11;3|:vi=\E[11;0|:vs=\E[11;2|:
                   5304:
                   5305: # Terminfo entry for the AT&T 510 D Personal Terminal
                   5306: # Function keys 9 through 16 are accessed by bringing up the
                   5307: # system blocks.
                   5308: # Function key 9 corresponds to the leftmost touch target on the screen,
                   5309: # function key 16 corresponds to the rightmost.
1.1       deraadt  5310: #
1.13      millert  5311: # There are problems with soft key labeling.  These are due to
                   5312: # strangenesses in the native terminal that are impossible to
                   5313: # describe in a terminfo.
1.1       deraadt  5314: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.3       deraadt  5315: # (sgr removed to fit entry within 1023 bytes)
                   5316: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.13      millert  5317: att510d|bct510d|AT&T 510D Personal Terminal:\
                   5318:        :am:da:db:mi:ms:xn:xo:\
                   5319:        :co#80:li#24:lm#48:\
1.1       deraadt  5320:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.13      millert  5321:        :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ae=^O:\
                   5322:        :al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[0J:ce=\E[0K:cl=\E[H\E[J:\
                   5323:        :cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[1B:\
                   5324:        :ei=\E[4l:ff=^L:ho=\E[H:i1=\E(B\E)1\E[5;0|:\
                   5325:        :i2=\E[21;1|\212:im=\E[4h:k1=\EOm:k2=\EOV:k3=\EOu:k4=\ENj:\
                   5326:        :k5=\ENe:k6=\ENf:k7=\ENh:k8=\E[H:k9=\EOc:kb=^H:kd=\E[B:\
                   5327:        :ke=\E[19;0|:kl=\E[D:kr=\E[C:ks=\E[19;1|:ku=\E[A:le=^H:\
                   5328:        :ll=\E#2:mb=\E[5m:md=\E[2;7m:me=\E[m\017:mh=\E[2m:\
                   5329:        :mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:sc=\E7:se=\E[m:sf=^J:\
                   5330:        :so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:\
                   5331:        :ve=\E[11;3|:vs=\E[11;2|:
                   5332:
                   5333: # (att500: I merged this with the att513 entry, att500 just used att513 -- esr)
1.2       deraadt  5334: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.3       deraadt  5335: # (sgr removed to fit entry within 1023 bytes)
                   5336: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.13      millert  5337: att500|att513|AT&T 513 using page mode:\
                   5338:        :am:mi:ms:xn:xo:\
                   5339:        :co#80:li#24:\
1.1       deraadt  5340:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.13      millert  5341:        :LE=\E[%dD:RI=\E[%dC:SF=\E[%dE:SR=\E[%dF:UP=\E[%dA:ae=^O:\
                   5342:        :al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
                   5343:        :cm=\E[%i%d;%dH:cr=^M:cs=%i\E[%d;%dr:ct=\E[3g:dc=\E[P:\
                   5344:        :dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:\
                   5345:        :i1=\E?\E[3;3|\E[10;0|\E[21;1|\212\E[6;1|\E[1{\E[?99l:\
                   5346:        :im=\E[4h:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:\
                   5347:        :k7=\EOi:k8=\EOj:kD=\ENf:kI=\ENj:kN=\E[U:kP=\E[V:kb=^H:\
                   5348:        :kd=\E[B:ke=\E[19;0|\E[21;1|\212:kh=\E[H:kl=\E[D:kr=\E[C:\
                   5349:        :ks=\E[19;1|\E[21;4|\Eent:ku=\E[A:le=^H:ll=\E#2:mb=\E[5m:\
                   5350:        :md=\E[2;7m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\EE:\
                   5351:        :rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
                   5352:        :ue=\E[m:up=\E[A:us=\E[4m:ve=\E[11;0|:vs=\E[11;1|:
                   5353:
                   5354: # 01-07-88
                   5355: # printer must be set to EMUL ANSI to accept ESC codes
                   5356: # :up: stops at top margin
                   5357: # :i1: sets cpi 10,lpi 6,form 66,left 1,right 132,top 1,bottom 66,font
                   5358: #      and alt font ascii,wrap on,tabs cleared
                   5359: # :is: disables newline on LF,Emphasized off
                   5360: # The <u0> capability sets form length
                   5361: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   5362: # (sgr removed to fit entry within 1023 bytes)
                   5363: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
                   5364: att5310|att5320|AT&T Model 53210 or 5320 matrix printer:\
                   5365:        :co#132:it#8:li#66:\
                   5366:        :DO=\E[%de:RI=\E[%da:cr=^M:do=^J:ff=^L:i1=\Ec:is=\E[20l\r:\
                   5367:        :nd= :ta=^I:up=\EM:
                   5368:
                   5369: # Teletype 5620, firmware version 1.1 (8;7;3) or earlier from BRL
                   5370: # The following SET-UP modes are assumed for normal operation:
                   5371: #      CR_DEF=CR       NL_DEF=INDEX    DUPLEX=FULL
                   5372: # Other SET-UP modes may be set for operator convenience or communication
                   5373: # requirements.  This termcap description is for the Resident Terminal Mode.
                   5374: # No delays specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
                   5375: # The BRL entry also said: UNSAFE :ll=\E[70H:
                   5376: att5620-1|tty5620-1|dmd1|Teletype 5620 with old ROMs:\
                   5377:        :am:xo:\
                   5378:        :co#88:it#8:li#70:vt#3:\
                   5379:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:SF=\E[%dS:\
                   5380:        :SR=\E[%dT:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
                   5381:        :cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=:ho=\E[H:\
                   5382:        :ic=\E[@:im=:kC=\E[2J:kH=\E[70;1H:kb=^H:kd=\E[B:kh=\E[H:\
                   5383:        :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:nd=\E[C:nw=^M^J:r1=\Ec:\
                   5384:        :rc=\E8:sc=\E7:sf=^J:sr=\E[T:ta=^I:up=\E[A:
                   5385:
                   5386: # 5620 terminfo  (2.0 or later ROMS with char attributes)
                   5387: # The following SET-UP modes are assumed for normal operation:
                   5388: #      DUPLEX=FULL     GEN_FLOW=ON     NEWLINE=INDEX   RETURN=CR
                   5389: # Other SET-UP modes may be set for operator convenience or communication
                   5390: # requirements.  This termcap description is for Resident Terminal Mode.  No
                   5391: # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
                   5392: # assumptions: :sf: (scroll forward one line) is only done at screen bottom
                   5393: # Be aware that older versions of the dmd have a firmware bug that affects
                   5394: # parameter defaulting; for this terminal, the 0 in \E[0m is not optional.
                   5395: # :ms: is from an otherwise inferior BRL for this terminal.  That entry
                   5396: # also has :ll:=\E[70H commented out and marked unsafe.
                   5397: # For more, see the 5620 FAQ maintained by David Breneman <daveb@dgtl.com>.
                   5398: att5620|dmd|tty5620|ttydmd|5620|5620 terminal 88 columns:\
                   5399:        :NL:NP:am:bs:ms:xo:\
                   5400:        :co#88:it#8:li#70:\
                   5401:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:SF=\E[%dS:\
                   5402:        :SR=\E[%dT:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
                   5403:        :cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
                   5404:        :ic=\E[@:im=:kC=\E[2J:kH=\E[70;1H:kb=^H:kd=\E[B:kh=\E[H:\
                   5405:        :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:md=\E[2m:me=\E[0m:mh=\E[2m:\
                   5406:        :mr=\E[7m:nd=\E[C:nw=^J:..px=\E[%p1%d;%p2%l%dq%p2%s:\
                   5407:        :r1=\Ec:rc=\E8:sc=\E7:se=\E[0m:sf=\E[S:so=\E[7m:sr=\E[T:\
                   5408:        :ta=^I:ue=\E[0m:up=\E[A:us=\E[4m:
                   5409: att5620-24|tty5620-24|dmd-24|teletype dmd 5620 in a 24x80 layer:\
                   5410:        :li#24:tc=att5620:
                   5411: att5620-34|tty5620-34|dmd-34|teletype dmd 5620 in a 34x80 layer:\
                   5412:        :li#34:tc=att5620:
                   5413: # 5620 layer running the "S" system's downloaded graphics handler:
                   5414: att5620-s|tty5620-s|layer|vitty|5620 S layer:\
                   5415:        :am:bs:pt:\
                   5416:        :co#80:it#8:li#72:\
                   5417:        :al=\EI:bl=^G:ce=\EK:cl=^L:cm=\EY%r%+ %+ :cr=^M:dl=\ED:\
                   5418:        :do=^J:kC=\E[2J:kH=\E[70;1H:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
                   5419:        :kr=\E[C:ku=\E[A:le=^H:sf=^J:ta=^I:up=^K:vb=\E^G:
                   5420:
                   5421: # Entries for <kf15> thru <kf28> refer to the shifted system pf keys.
1.1       deraadt  5422: #
1.13      millert  5423: # Entries for <kf29> thru <kf46> refer to the alternate keypad mode
                   5424: # keys:  = * / + 7 8 9 - 4 5 6 , 1 2 3 0 . ENTER
                   5425: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   5426: # (sgr removed to fit entry within 1023 bytes)
                   5427: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
                   5428: att605|AT&T 605 80 column 102key keyboard:\
                   5429:        :am:eo:xo:\
                   5430:        :co#80:li#24:ws#80:\
                   5431:        :DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:ae=^O:al=\E[L:as=\E)0\016:\
                   5432:        :bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
                   5433:        :cr=^M:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:fs=\E8:\
                   5434:        :i1=\E[8;0|\E[?\E[13;20l\E[?\E[12h:ic=\E[@:im=\E[4h:\
                   5435:        :is=\E[m\017:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:\
                   5436:        :k6=\EOh:k7=\EOi:k8=\EOj:k9=\ENo:kD=\E[P:kI=\E[@:kN=\E[U:\
                   5437:        :kP=\E[V:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
                   5438:        :le=^H:ll=\E[24H:mb=\E[5m:md=\E[1m:me=\E[m\017:mh=\E[2m:\
                   5439:        :mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:sc=\E7:se=\E[m:sf=^J:\
                   5440:        :so=\E[7m:ta=^I:ts=\E7\E[25;%i%p1%dx:ue=\E[m:up=\E[A:\
                   5441:        :us=\E[4m:
                   5442: att605-pc|ATT 605 in pc term mode:\
                   5443:        :@7=\E[F:AL=\E[L:S4=250\E[?11l\E[50;1|:S5=400\E[50;0|:\
                   5444:        :XF=g:XN=e:\
                   5445:        :ac=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263:\
                   5446:        :al=\E[L:bt=\E[Z:dc=\E[P:dl=\E[M:do=\E[B:ei=:ic=\E[@:im=:\
                   5447:        :k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:\
                   5448:        :k8=\E[T:k9=\E[U:k;=\E[V:kB=\E[Z:kD=\E[P:kI=\E[@:kL=\E[M:\
                   5449:        :kN=\E[G:kP=\E[I:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
                   5450:        :le=\E[D:nd=\E[C:up=\E[A:\
                   5451:        :tc=att605:
                   5452: att605-w|AT&T 605-w 132 column 102 key keyboard:\
1.3       deraadt  5453:        :co#132:ws#132:\
1.13      millert  5454:        :i1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h\E(B\E)0:tc=att605:
                   5455: # (att610: I added <rmam>/<smam> based on the init string.  I also
                   5456: # added :SF: and :SR: because the BSD file says the att615s have them,
                   5457: # and the 615 is like a 610 with a big keyboard, and most of their other
                   5458: # smart terminals support the same sequence -- esr)
1.1       deraadt  5459: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.3       deraadt  5460: # (sgr removed to fit entry within 1023 bytes)
                   5461: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.13      millert  5462: att610|AT&T 610; 80 column; 98key keyboard:\
                   5463:        :am:es:hs:mi:ms:xn:xo:\
1.1       deraadt  5464:        :co#80:it#8:li#24:ws#80:\
                   5465:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.13      millert  5466:        :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ae=^O:\
                   5467:        :al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
                   5468:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:\
                   5469:        :do=\E[B:ei=\E[4l:fs=\E8:ho=\E[H:\
                   5470:        :i1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)0:\
                   5471:        :i2=\E(B\E)0:im=\E[4h:is=\E[m\017:k1=\EOc:k2=\EOd:k3=\EOe:\
                   5472:        :k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:k9=\ENo:kb=^H:\
                   5473:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:ll=\E[24H:\
                   5474:        :mb=\E[5m:md=\E[1m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:\
                   5475:        :nw=\EE:rc=\E8:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:\
                   5476:        :ts=\E7\E[25;%i%p1%dx:ue=\E[m:up=\E[A:us=\E[4m:\
                   5477:        :vb=\E[?5h\E[?5l:ve=\E[?25h\E[?12l:vi=\E[?25l:\
                   5478:        :vs=\E[?12;25h:
                   5479: att610-w|AT&T 610; 132 column; 98key keyboard:\
1.1       deraadt  5480:        :co#132:ws#132:\
1.13      millert  5481:        :i1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h:tc=att610:
1.1       deraadt  5482:
1.13      millert  5483: att610-103k|AT&T 610; 80 column; 103key keyboard:\
                   5484:        :!1=\EOO:!2=\EOP:!3=\EOS:#1=\EOM:%0=\EOt:%1=\EOm:%2=\ENi:\
                   5485:        :%3=\EOl:%4=\ENc:%5=\ENh:%6=\EOv:%7=\EOr:%8=\ENg:%9=\EOz:\
                   5486:        :%a=\EOL:%b=\ENC:%c=\ENH:%d=\EOR:%e=\ENG:%f=\EOZ:%g=\EOT:\
                   5487:        :%h=\EOY:%j=\EOQ:&0=\EOW:&1=\EOb:&2=\ENa:&3=\EOy:&4=\EOB:\
                   5488:        :&5=\EOq:&6=\EOo:&7=\EOp:&8=\EOs:&9=\ENB:*0=\EOX:*1=\EOU:\
                   5489:        :*2=\END:*3=\EON:*4=\ENF:*5=\ENE:*6=\ENI:*7=\ENN:*8=\EOA:\
                   5490:        :*9=\EOK:@0=\EOx:@1=\E9:@2=\EOw:@3=\EOV:@4=\EOu:@5=\ENd:\
                   5491:        :@6=\EOn:@7=\E0:@8=^M:@9=\EOk:F1@:F2@:F3@:F4@:k9@:k;@:kD=\ENf:\
                   5492:        :kE=\EOa:kI=\ENj:kL=\ENe:kM=\ENj:kN=\E[U:kP=\E[V:\
                   5493:        :tc=att610:
                   5494: att610-103k-w|AT&T 610; 132 column; 103key keyboard:\
                   5495:        :co#132:ws#132:\
                   5496:        :i1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h:tc=att610-103k:
                   5497: att615|AT&T 615; 80 column; 98key keyboard:\
                   5498:        :#4=\E[ A:%i=\E[ @:F5=\EOC:F6=\EOD:F7=\EOE:F8=\EOF:F9=\EOG:\
                   5499:        :FA=\EOH:FB=\EOI:FC=\EOJ:FD=\ENO:FE=\ENP:FF=\ENQ:FG=\ENR:\
                   5500:        :FH=\ENS:FI=\ENT:FJ=\EOP:FK=\EOQ:FL=\EOR:FM=\EOS:FN=\EOw:\
                   5501:        :FO=\EOx:FP=\EOy:FQ=\EOm:FR=\EOt:FS=\EOu:FT=\EOv:FU=\EOl:\
                   5502:        :FV=\EOq:FW=\EOr:FX=\EOs:FY=\EOp:FZ=\EOn:Fa=\EOM:\
                   5503:        :tc=att610:
                   5504: att615-w|AT&T 615; 132 column; 98key keyboard:\
                   5505:        :#4=\E[ A:%i=\E[ @:F5=\EOC:F6=\EOD:F7=\EOE:F8=\EOF:F9=\EOG:\
                   5506:        :FA=\EOH:FB=\EOI:FC=\EOJ:FD=\ENO:FE=\ENP:FF=\ENQ:FG=\ENR:\
                   5507:        :FH=\ENS:FI=\ENT:FJ=\EOP:FK=\EOQ:FL=\EOR:FM=\EOS:FN=\EOw:\
                   5508:        :FO=\EOx:FP=\EOy:FQ=\EOm:FR=\EOt:FS=\EOu:FT=\EOv:FU=\EOl:\
                   5509:        :FV=\EOq:FW=\EOr:FX=\EOs:FY=\EOp:FZ=\EOn:Fa=\EOM:\
                   5510:        :tc=att610-w:
                   5511: att615-103k|AT&T 615; 80 column; 103key keyboard:\
                   5512:        :#4=\E[ A:%i=\E[ @:\
                   5513:        :tc=att610-103k:
                   5514: att615-103k-w|AT&T 615; 132 column; 103key keyboard:\
                   5515:        :#4=\E[ A:%i=\E[ @:\
                   5516:        :tc=att610-103k-w:
                   5517: # (att620: I added <rmam>/<smam> based on the init string and
                   5518: # :SR:/:SF: from a BSD termcap -- esr)
1.3       deraadt  5519: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   5520: # (sgr removed to fit entry within 1023 bytes)
                   5521: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.13      millert  5522: att620|AT&T 620; 80 column; 98key keyboard:\
                   5523:        :am:es:hs:mi:ms:xn:xo:\
1.1       deraadt  5524:        :co#80:it#8:li#24:ws#80:\
                   5525:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.13      millert  5526:        :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
                   5527:        :ae=\E(B\017:al=\E[L:as=\E)0\016:bl=^G:bt=\E[Z:cd=\E[J:\
                   5528:        :ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
                   5529:        :dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:fs=\E8:ho=\E[H:\
                   5530:        :i1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h:\
                   5531:        :i2=\E(B\E)0:im=\E[4h:is=\E[m\017:k1=\EOc:k2=\EOd:k3=\EOe:\
                   5532:        :k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:k9=\ENo:kb=^H:\
                   5533:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:ll=\E[24H:\
                   5534:        :mb=\E[5m:md=\E[1m:me=\E[m\E(B\017:mh=\E[2m:mr=\E[7m:\
                   5535:        :nd=\E[C:nw=\EE:rc=\E8:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:\
                   5536:        :sr=\EM:ta=^I:ts=\E7\E[25;%i%p1%dx:ue=\E[m:up=\E[A:\
                   5537:        :us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h\E[?12l:vi=\E[?25l:\
                   5538:        :vs=\E[?12;25h:
                   5539: att620-w|AT&T 620; 132 column; 98key keyboard:\
                   5540:        :co#132:ws#132:\
                   5541:        :i1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h:tc=att620:
                   5542: att620-103k|AT&T 620; 80 column; 103key keyboard:\
                   5543:        :!1=\EOO:!2=\EOP:!3=\EOS:#1=\EOM:%0=\EOt:%1=\EOm:%2=\ENi:\
                   5544:        :%3=\EOl:%4=\ENc:%5=\ENh:%6=\EOv:%7=\EOr:%8=\ENg:%9=\EOz:\
                   5545:        :%a=\EOL:%b=\ENC:%c=\ENH:%d=\EOR:%e=\ENG:%f=\EOZ:%g=\EOT:\
                   5546:        :%h=\EOY:%j=\EOQ:&0=\EOW:&1=\EOb:&2=\ENa:&3=\EOy:&4=\EOB:\
                   5547:        :&5=\EOq:&6=\EOo:&7=\EOp:&8=\EOs:&9=\ENB:*0=\EOX:*1=\EOU:\
                   5548:        :*2=\END:*3=\EON:*4=\ENF:*5=\ENE:*6=\ENI:*7=\ENN:*8=\EOA:\
                   5549:        :*9=\EOK:@0=\EOx:@1=\E9:@2=\EOw:@3=\EOV:@4=\EOu:@5=\ENd:\
                   5550:        :@6=\EOn:@7=\E0:@8=^M:@9=\EOk:F1@:F2@:F3@:F4@:F5@:F6@:F7@:F8@:\
                   5551:        :F9@:FA@:FB@:FC@:FD@:FE@:FF@:FG@:FH@:FI@:FJ@:FK@:FL@:FM@:FN@:FO@:FP@:\
                   5552:        :FQ@:FR@:FS@:FT@:FU@:FV@:FW@:FX@:FY@:FZ@:Fa@:k9@:k;@:kD=\ENf:\
                   5553:        :kE=\EOa:kI=\ENj:kL=\ENe:kM=\ENj:kN=\E[U:kP=\E[V:\
                   5554:        :tc=att620:
                   5555:
                   5556: att620-103k-w|AT&T 620; 132 column; 103key keyboard:\
1.3       deraadt  5557:        :co#132:ws#132:\
1.13      millert  5558:        :i1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h:tc=att620-103k:
                   5559:
                   5560: # AT&T (formerly Teletype) 630 Multi-Tasking Graphics terminal
                   5561: # The following SETUP modes are assumed for normal operation:
                   5562: #      Local_Echo=Off  Gen_Flow=On     Return=CR       Received_Newline=LF
                   5563: #      Font_Size=Large         Non-Layers_Window_Cols=80
                   5564: #                              Non-Layers_Window_Rows=60
                   5565: # Other SETUP modes may be set for operator convenience or communication
                   5566: # requirements.  Some capabilities assume a printer attached to the Aux EIA
                   5567: # port.  This termcap description is for the Fixed Non-Layers Window.  No
                   5568: # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
                   5569: # (att630: added :ic:, :mb: and :mh: from a BSD termcap file -- esr)
                   5570: att630|AT&T 630 windowing terminal:\
                   5571:        :NP:am:bs:da:db:mi:ms:xo:\
                   5572:        :co#80:it#8:li#60:lm#0:\
                   5573:        :@8=^M:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\ENq:\
                   5574:        :F2=\ENr:F3=\ENs:F4=\ENt:F5=\ENu:F6=\ENv:F7=\ENw:F8=\ENx:\
                   5575:        :F9=\ENy:FA=\ENz:FB=\EN{:FC=\EN|:FD=\EN}:FE=\EN~:IC=\E[%d@:\
                   5576:        :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
                   5577:        :al=\E[L:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:\
                   5578:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:\
                   5579:        :ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:is=\E[m:k9=\ENo:k;=\ENp:\
                   5580:        :kA=\E[L:kB=\E[Z:kC=\E[2J:kD=\E[P:kI=\E[@:kL=\E[M:kb=^H:\
                   5581:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
                   5582:        :me=\E[m:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=^M^J:pf=\E[?4i:\
                   5583:        :po=\E[?5i:..px=\E[%p1%d;%p2%l%dq%p2%s:r2=\Ec:rc=\E8:\
                   5584:        :..sa=\E[0%?%p2%t;4%;%?%p1%p3%|%p4%|%p5%|%t;7%;m:\
                   5585:        :sc=\E7:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:\
                   5586:        :up=\E[A:us=\E[4m:
                   5587: att630-24|5630-24|5630DMD-24|630MTG-24|AT&T 630 windowing terminal 24 lines:\
                   5588:        :li#24:tc=att630:
1.1       deraadt  5589:
1.13      millert  5590: # This is the att700 entry for 700 native emulation of the AT&T 700
                   5591: # terminal.  Comments are relative to changes from the 605V2 entry and
                   5592: # att730 on which the entry is based.  Comments show the terminfo
                   5593: # capability name, termcap name, and description.
                   5594: #
                   5595: # Here is what's going onm in the init string:
                   5596: #      ESC [ 50;4|     set 700 native mode (really is 605)
                   5597: # x    ESC [ 56;ps|    set lines to 24: ps=0; 40: ps=1 (plus status line)
                   5598: #      ESC [ 53;0|     set GenFlow to Xon/Xoff
                   5599: #      ESC [ 8 ;0|     set CR on NL
                   5600: # x    ESC [ ? 3 l/h   set workspace: 80 col(l); 132 col(h)
                   5601: #      ESC [ ? 4 l     jump scroll
                   5602: #      ESC [ ? 5 l/h   video: normal (l); reverse (h)
                   5603: #      ESC [ ?13 l     Labels on
                   5604: #      ESC [ ?15 l     parity check = no
                   5605: #      ESC [ 13 l      monitor mode off
                   5606: #      ESC [ 20 l      LF on NL (not CRLF on NL)
                   5607: #      ESC [ ? 7 h     autowrap on
                   5608: #      ESC [ 12 h      local echo off
                   5609: #      ESC ( B         GO = ASCII
                   5610: #      ESC ) 0         G1 = Special Char & Line Drawing
                   5611: #      ESC [ ? 31 l    Set 7 bit controls
                   5612: #
                   5613: # Note: Most terminals, especially the 600 family use Reverse Video for
                   5614: # standout mode.  DEC also uses reverse video.  The VT100 uses bold in addition
                   5615: # Assume we should stay with reverse video for 70..  However, the 605V2 exits
                   5616: # standout mode with \E[m (all normal attributes).  The 730 entry simply
                   5617: # exits reverse video which would leave other current attributes intact.  It
                   5618: # was assumed the 730 entry to be more correct so rmso has changed.  The
                   5619: # 605V2 has no sequences to turn individual attributes off, thus its setting
                   5620: # and the rmso/smso settings from the 730.
                   5621: #
                   5622: # Note: For the same reason as above in rmso I changed exit under-score mode
                   5623: # to specifically turn off underscore, rather than return to all normal
                   5624: # attributes
                   5625: #
                   5626: # Note: The following pkey_xmit is taken from the 605V2 which contained the
                   5627: # capability as pfxl.  It was changed here to pfx since pfxl
                   5628: # will only compile successfully with Unix 4.0 tic.  Also note that pfx only
                   5629: # allows strings to be parameters and label values must be programmed as
                   5630: # constant strings.  Supposedly the pfxl of Version 4.0 allows both labels
                   5631: # and strings to be parameters.  The 605V2 pfx entry should be examined later
                   5632: # in this regard. For reference the 730 pfxl entry is shown here for comparison
                   5633: # 730 pfx entry:
                   5634: #     pfxl=\E[%?%p1%{25}%<%t%p1%e%p1%{24}%-%;%d;%p2%l%02d%?%p1%{25}%<%tq\s\s\s
                   5635: # SYS\s\s\s\s\sF%p1%:-2d\s\s%e;0;3q%;%p2%s,
                   5636: #
                   5637: # (for 4.0 tic)
                   5638: #     pfxl=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s,
                   5639: #
                   5640: # (for <4.0 tic)
                   5641: #     pfx=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s,
                   5642: #
                   5643: # From the AT&T 705 Multi-tasking terminal user's guide Page 8-8,8-9
                   5644: #
                   5645: # Port1 Interface
                   5646: #
                   5647: # modular 10 pin Connector
                   5648: # Left side       Right side
                   5649: # Pin 1 2 3 4 5 6 7 8 9 10
                   5650: #
                   5651: #        Key (notch) at bottom
                   5652: #
                   5653: # Pin    1 DSR
                   5654: #        3 DCD
                   5655: #        4 DTR
                   5656: #        5 Sig Ground
                   5657: #        6 RD
                   5658: #        7 SD
                   5659: #        8 CTS
                   5660: #        9 RTS
                   5661: #        10 Frame Ground
                   5662: #
                   5663: # The manual is 189 pages and is loaded with details about the escape codes,
                   5664: # etc..... Available from AT&T CIC 800-432-6600...
                   5665: # ask for Document number 999-300-660..
1.5       tholo    5666: #
                   5667: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   5668: # (sgr removed to fit entry within 1023 bytes)
                   5669: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.13      millert  5670: att700|AT&T 700 24x80 column display w/102key keyboard:\
                   5671:        :am:es:hs:mi:ms:xn:xo:\
1.5       tholo    5672:        :co#80:it#8:li#24:ws#80:\
                   5673:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.13      millert  5674:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
                   5675:        :bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
                   5676:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:\
                   5677:        :fs=\E8:ho=\E[H:i2=\E(B\E)0:im=\E[4h:\
                   5678:        :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:\
                   5679:        :k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:\
                   5680:        :k8=\EOj:k9=\ENo:kD=\E[P:kI=\E[@:kN=\E[U:kP=\E[V:kb=^H:\
                   5681:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:ll=\E[24H:\
                   5682:        :mb=\E[5m:md=\E[1m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:\
                   5683:        :nw=\EE:rc=\E8:sc=\E7:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:\
                   5684:        :st=\EH:ta=^I:ts=\E7\E[99;%i%p1%dx:ue=\E[24m:up=\E[A:\
                   5685:        :us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h\E[?12l:vi=\E[?25l:\
                   5686:        :vs=\E[?12;25h:
                   5687:
                   5688: # This entry was modified 3/13/90 by JWE.
                   5689: # fixes include additions of <enacs>, correcting :rp:, and modification
                   5690: # of <kHOM>.  (See comments below)
                   5691: # att730 has status line of 80 chars
                   5692: # These were commented out: :SF=\E[%p1%dS:, :SR=\E[%p1%dT:,
                   5693: # the <kf25> and up keys are used for shifted system Fkeys
                   5694: # NOTE: JWE 3/13/90 The 98 key keyboard translation for shift/HOME is
                   5695: # currently the same as :kh: (unshifted HOME or \E[H).  On the 102, 102+1
                   5696: # and 122 key keyboards, the 730's translation is \E[2J.  For consistency
                   5697: # <kHOM> has been commented out.  The user can uncomment <kHOM> if using the
                   5698: # 102, 102+1, or 122 key keyboards
                   5699: #       kHOM=\E[2J,
                   5700: # (att730: I added <rmam>/<smam> based on the init string -- esr)
                   5701: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   5702: # (sgr removed to fit entry within 1023 bytes)
                   5703: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
                   5704: att730|AT&T 730 windowing terminal:\
                   5705:        :am:da:db:es:hs:mi:ms:xn:xo:\
                   5706:        :co#80:it#8:li#60:lm#0:ws#80:\
                   5707:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   5708:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
                   5709:        :bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
                   5710:        :cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:fs=\E8:\
                   5711:        :ho=\E[H:\
                   5712:        :i1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)B:\
                   5713:        :i2=\E(B\E)0:im=\E[4h:is=\E[m\017:k1=\EOc:k2=\EOd:k3=\EOe:\
                   5714:        :k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:k9=\ENo:kI=\E[@:\
                   5715:        :kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
1.5       tholo    5716:        :mb=\E[5m:md=\E[1m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:\
1.13      millert  5717:        :nw=\EE:rc=\E8:sc=\E7:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:\
                   5718:        :ta=^I:ts=\E7\E[;%i%p1%dx:ue=\E[24m:up=\E[A:us=\E[4m:\
                   5719:        :vb=\E[?5h\E[?5l:ve=\E[?25h\E[?12l:vi=\E[?25l:\
                   5720:        :vs=\E[?12;25h:
                   5721: att730-41|730MTG-41|AT&T 730-41 windowing terminal Version:\
                   5722:        :li#41:tc=att730:
                   5723: att730-24|730MTG-24|AT&T 730-24 windowing terminal Version:\
                   5724:        :li#24:tc=att730:
                   5725: att730r|730MTGr|AT&T 730 rev video windowing terminal Version:\
                   5726:        :i1=\E[8;0|\E[?3;4;13;15l\E[?5h\E[13;20l\E[?7h\E[12h\E(B\E)B:\
                   5727:        :vb=\E[?5l\E[?5h:\
                   5728:        :tc=att730:
                   5729: att730r-41|730MTG-41r|AT&T 730r-41 rev video windowing terminal Version:\
                   5730:        :li#41:tc=att730r:
                   5731: att730r-24|730MTGr-24|AT&T 730r-24 rev video windowing terminal Version:\
                   5732:        :li#24:tc=att730r:
                   5733:
                   5734: # The following represents the screen layout along with the associated
                   5735: # bezel buttons for the 5430/pt505 terminal. The "kf" designations do
                   5736: # not appear on the screen but are shown to reference the bezel buttons.
                   5737: # The "CMD", "MAIL", and "REDRAW" buttons are shown in their approximate
                   5738: # position relative to the screen.
                   5739: #
                   5740: #
                   5741: #
                   5742: #      +----------------------------------------------------------------+
                   5743: #      |                                                                |
                   5744: # XXXX | kf0                                                       kf24 | XXXX
                   5745: #      |                                                                |
                   5746: #      |                                                                |
                   5747: # XXXX | kf1                                                       kf23 | XXXX
                   5748: #      |                                                                |
                   5749: #      |                                                                |
                   5750: # XXXX | kf2                                                       kf22 | XXXX
                   5751: #      |                                                                |
                   5752: #      |                                                                |
                   5753: # XXXX | kf3                                                       kf21 | XXXX
                   5754: #      |                                                                |
                   5755: #      |                                                                |
                   5756: # XXXX | kf4                                                       kf20 | XXXX
                   5757: #      |                                                                |
                   5758: #      |                                                                |
                   5759: # XXXX | kf5                                                       kf19 | XXXX
                   5760: #      |                                                                |
                   5761: #      |                                                                |
                   5762: # XXXX | kf6                                                       kf18 | XXXX
                   5763: #      |                                                                |
                   5764: #      |                                                                |
                   5765: # XXXX |                                                                | XXXX
                   5766: #      |                                                                |
                   5767: #      |                                                                |
                   5768: #      +----------------------------------------------------------------+
                   5769: #
                   5770: #          XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX
                   5771: #
                   5772: # Note: XXXX represents the screen buttons
                   5773: #                                                          CMD   REDRAW
                   5774: #
                   5775: #                                                          MAIL
                   5776: #
                   5777: # version 1 note:
                   5778: #      The character string sent by key 'kf26' may be user programmable
                   5779: #       to send either \E[16s, or \E[26s.
                   5780: #       The character string sent by key 'krfr' may be user programmable
                   5781: #       to send either \E[17s, or \E[27s.
1.5       tholo    5782: #
1.13      millert  5783: # Depression of the "CMD" key sends    \E!    (kcmd)
                   5784: # Depression of the "MAIL" key sends   \E[26s (kf26)
                   5785: # "REDRAW" same as "REFRESH" (krfr)
1.5       tholo    5786: #
1.13      millert  5787: # "kf" functions adds carriage return to output string if terminal is in
                   5788: # 'new line' mode.
1.5       tholo    5789: #
1.13      millert  5790: # The following are functions not covered in the table above:
1.5       tholo    5791: #
1.13      millert  5792: #       Set keyboard character (SKC): \EPn1;Pn2w
                   5793: #                       Pn1= 0 Back Space key
                   5794: #                       Pn1= 1 Break key
                   5795: #                       Pn2=   Program char (hex)
1.5       tholo    5796: #
1.13      millert  5797: #       Screen Definition (SDF): \E[Pn1;Pn2;Pn3;Pn4;Pn5t
                   5798: #                       Pn1=     Window number (1-39)
                   5799: #                       Pn2-Pn5= Y;X;Y;X coordinates
1.5       tholo    5800: #
1.13      millert  5801: #       Screen Selection (SSL): \E[Pnu
                   5802: #                       Pn= Window number
1.5       tholo    5803: #
1.13      millert  5804: #       Set Terminal Modes (SM): \E[Pnh
                   5805: #                       Pn= 3 Graphics mode
                   5806: #                       Pn= > Cursor blink
                   5807: #                       Pn= < Enter new line mode
                   5808: #                       Pn= = Enter reverse insert/replace mode
                   5809: #                       Pn= ? Enter no scroll mode
1.5       tholo    5810: #
1.13      millert  5811: #       Reset Terminal Mode (RM): \E[Pnl
                   5812: #                       Pn= 3 Exit graphics mode
                   5813: #                       Pn= > Exit cursor blink
                   5814: #                       Pn= < Exit new line mode
                   5815: #                       Pn= = Exit reverse insert/replace mode
                   5816: #                       Pn= ? Exit no scroll mode
1.5       tholo    5817: #
1.13      millert  5818: #       Screen Status Report (SSR): \E[Pnp
                   5819: #                       Pn= 0 Request current window number
                   5820: #                       Pn= 1 Request current window dimensions
1.5       tholo    5821: #
1.13      millert  5822: #       Device Status Report (DSR): \E[6n    Request cursor position
1.5       tholo    5823: #
1.13      millert  5824: #       Call Status Report (CSR): \E[Pnv
                   5825: #                       Pn= 0 Call failed
                   5826: #                       Pn= 1 Call successful
1.5       tholo    5827: #
1.13      millert  5828: #       Transparent Button String (TBS): \E[Pn1;Pn2;Pn3;{string
                   5829: #                       Pn1= Button number to be loaded
                   5830: #                       Pn2= Character count of "string"
                   5831: #                       Pn3= Key mode being loaded:
                   5832: #                               0= Unshifted
                   5833: #                               1= Shifted
                   5834: #                               2= Control
                   5835: #                       String= Text string (15 chars max)
1.5       tholo    5836: #
1.13      millert  5837: #       Screen Number Report (SNR): \E[Pnp
                   5838: #                       Pn= Screen number
1.5       tholo    5839: #
1.13      millert  5840: #       Screen Dimension Report (SDR): \E[Pn1;Pn2r
                   5841: #                       Pn1= Number of rows available in window
                   5842: #                       Pn2= Number of columns available in window
1.5       tholo    5843: #
1.13      millert  5844: #       Cursor Position Report (CPR): \E[Pn1;Pn2R
                   5845: #                       Pn1= "Y" Position of cursor
                   5846: #                       Pn2= "X" Position of cursor
1.5       tholo    5847: #
1.13      millert  5848: #       Request Answer Back (RAB): \E[c
1.5       tholo    5849: #
1.13      millert  5850: #       Answer Back Response (ABR): \E[?;*;30;VSV
                   5851: #                       *=  0 No printer available
                   5852: #                       *=  2 Printer available
                   5853: #                       V=  Software version number
                   5854: #                       SV= Software sub version number
                   5855: #      (printer-available field not documented in v1)
1.5       tholo    5856: #
1.13      millert  5857: #       Screen Alignment Aid: \En
1.5       tholo    5858: #
1.13      millert  5859: #       Bell (lower pitch): \E[x
1.1       deraadt  5860: #
1.13      millert  5861: #       Dial Phone Number: \EPdstring\
                   5862: #                       string= Phone number to be dialed
1.1       deraadt  5863: #
1.13      millert  5864: #       Set Phone Labels: \EPpstring\
                   5865: #                       string= Label for phone buttons
1.2       deraadt  5866: #
1.13      millert  5867: #       Set Clock: \EPchour;minute;second\
1.2       deraadt  5868: #
1.13      millert  5869: #       Position Clock: \EPsY;X\
                   5870: #                       Y= "Y" coordinate
                   5871: #                       X= "X" coordinate
1.2       deraadt  5872: #
1.13      millert  5873: #       Delete Clock: \Epr\
1.2       deraadt  5874: #
1.13      millert  5875: #       Programming The Function Buttons: \EPfPn;string\
                   5876: #                       Pn= Button number (00-06, 18-24)
                   5877: #                                         (kf00-kf06, kf18-kf24)
                   5878: #                       string= Text to sent on button depression
1.2       deraadt  5879: #
1.13      millert  5880: # The following in version 2 only:
1.1       deraadt  5881: #
1.13      millert  5882: #       Request For Local Directory Data: \EPp12;\
1.1       deraadt  5883: #
1.13      millert  5884: #       Local Directory Data to host: \EPp11;LOCAL...DIRECTORY...DATA\
1.1       deraadt  5885: #
1.13      millert  5886: #      Request for Local Directory Data in print format: \EPp13;\
1.1       deraadt  5887: #
1.13      millert  5888: #      Enable 'Prt on Line' mode: \022 (DC2)
1.1       deraadt  5889: #
1.13      millert  5890: #      Disable 'Prt on Line' mode: \024 (DC4)
1.1       deraadt  5891: #
                   5892:
1.13      millert  5893: # 05-Aug-86:
                   5894: # The following Terminfo entry describes functions which are supported by
                   5895: # the AT&T 5430/pt505 terminal software version 2 and later.
                   5896: att505|pt505|att5430|gs5430|AT&T Personal Terminal 505 or 5430 GETSET terminal:\
                   5897:        :am:xo:\
                   5898:        :co#80:it#8:li#24:\
                   5899:        :&2=\E[27s:@4=\E\041:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
                   5900:        :DO=\E[%dB:F8=\E[18s:F9=\E[19s:FA=\E[20s:FB=\E[21s:\
                   5901:        :FC=\E[22s:FD=\E[23s:FE=\E24s:FG=\E26s:LE=\E[%dD:\
                   5902:        :RA=\E[11;1j:RI=\E[%dC:SA=\E[11;0j:UP=\E[%dA:\
                   5903:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
                   5904:        :ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:cb=\E2K:cd=\E[0J:\
                   5905:        :ce=\E[0K:cl=\E[2J\E[H:cm=\E[%d;%dH:cr=^M:dc=\E[P:dl=\E[M:\
                   5906:        :do=\E[B:ei=\E[4l:ho=\E[H:\
                   5907:        :i1=\EPr\E[0u\E[2J\E[0;0H\E[m\E[3l\E[<l\E[4l\E[>l\E[=l\E[?l:\
                   5908:        :im=\E[4h:k0=\E[00s:k1=\E[01s:k2=\E[02s:k3=\E[03s:\
                   5909:        :k4=\E[04s:k5=\E[05s:k6=\E[06s:kb=^H:kd=\E[B:kl=\E[D:\
                   5910:        :kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[m:\
                   5911:        :mr=\E[7m:nd=\E[C:pf=\E[4i:po=\E[5i:r1=\Ec:rc=\E8:sc=\E7:\
                   5912:        :se=\E[m:sf=^J:so=\E[1m:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:\
                   5913:        :ve=\E[>l:vs=\E[>h:
1.1       deraadt  5914:
1.13      millert  5915: # The following Terminfo entry describes functions which are supported by
                   5916: # the AT&T 5430/pt505 terminal software version 1.
                   5917: att505-24|pt505-24|gs5430-24|AT&T PT505 or 5430 GETSET version 1 24 lines:\
                   5918:        :li#24:\
                   5919:        :RA@:SA@:pf@:po@:rc@:sc@:tc=att505:
                   5920: tt505-22|pt505-22|gs5430-22|AT&T PT505 or 5430 GETSET version 1 22 lines:\
                   5921:        :li#22:tc=att505:
1.1       deraadt  5922:
1.13      millert  5923: #### Ampex (Dialogue)
                   5924: #
                   5925: # Yes, these are the same people who are better-known for making audio- and
                   5926: # videotape.  I'm told they are located in Redwood City, CA.
1.1       deraadt  5927: #
                   5928:
1.13      millert  5929: # From: <cbosg!ucbvax!SRC:george> Fri Sep 11 22:38:32 1981
                   5930: # (ampex80: some capabilities merged in from SCO's entry -- esr)
                   5931: ampex80|a80|d80|dialogue|dialogue80|ampex dialogue 80:\
                   5932:        :am:bs:bw:ul:\
                   5933:        :co#80:it#8:li#24:\
                   5934:        :al=\EE:bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :\
                   5935:        :cr=^M:ct=\E3:dc=\EW:dl=\ER:do=^J:ei=:ic=\EQ:im=:is=\EA:le=^H:\
                   5936:        :nd=^L:se=\Ek:sf=^J:so=\Ej:st=\E1:ta=^I:ue=\Em:up=^K:us=\El:
                   5937: # This entry was from somebody anonymous, Tue Aug  9 20:11:37 1983, who wrote:
                   5938: ampex175|ampex d175:\
                   5939:        :am:\
                   5940:        :co#80:li#24:\
                   5941:        :al=\EE:bl=^G:cd=\Ey:ce=\Et:cl=\E+:cm=\E=%+ %+ :cr=^M:\
                   5942:        :dc=\EW:dl=\ER:do=^J:ei=:ho=^^:ic=\EQ:im=:is=\EX\EA\EF:\
                   5943:        :kA=\EE:kD=\EW:kI=\EQ:kL=\ER:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:\
                   5944:        :le=^H:ll=^^^K:nd=^L:se=\Ek:sf=^J:so=\Ej:te=\EF:ti=\EN:\
                   5945:        :ue=\Em:up=^K:us=\El:
                   5946: # No backspace key in the main QWERTY cluster. Fortunately, it has a
                   5947: # NEWLINE/PAGE key just above RETURN that sends a strange single-character
                   5948: # code.  Given a suitable Unix (one that lets you set an echo-erase-as-BS-SP-BS
                   5949: # mode), this key can be used as the erase key; I find I like this. Because
                   5950: # some people and some systems may not, there is another termcap ("ampex175")
                   5951: # that suppresses this little eccentricity by omitting the relevant capability.
                   5952: ampex175-b|ampex d175 using left arrow for erase:\
                   5953:        :kb=^_:\
                   5954:        :tc=ampex175:
                   5955: # From: Richard Bascove <atd!dsd!rcb@ucbvax.berkeley.edu>
                   5956: # (ampex210: removed obsolete ":kn#10:" -- esr)
                   5957: ampex210|a210|ampex a210:\
                   5958:        :am:bs:hs:xn:\
                   5959:        :co#80:it#8:li#24:sg#1:\
                   5960:        :al=\EE:bt=\EI:cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :dc=\EW:\
                   5961:        :dl=\ER:ei=:fs=\E.2:ho=^^:ic=\EQ:if=/usr/share/tabset/std:\
                   5962:        :im=:is=\EC\Eu\E'\E(\El\EA\E%\E{\E.2\EG0\Ed\En:\
                   5963:        :k0=^A0\r:k1=^A1\r:k2=^A2\r:k3=^A3\r:k4=^A4\r:k5=^A5\r:\
                   5964:        :k6=^A6\r:k7=^A7\r:k8=^A8\r:k9=^A9\r:kd=^V:kh=^^:kl=^H:\
                   5965:        :kr=^L:ku=^K:le=^H:mk@:nd=^L:ta=^I:ts=\E.0\Eg\E}\Ef:up=^K:\
                   5966:        :vb=\EU\EX\EU\EX\EU\EX\EU\EX:\
                   5967:        :tc=adm+sgr:
                   5968: # (ampex219: I added <rmam>/<smam> based on the init string, added :vs:
                   5969: # from ampex219w, added :ve:=\E[?3l, irresistibly suggested by :vs:,
                   5970: # and moved the padding to be *after* the caps -- esr)
                   5971: ampex219|ampex-219|amp219|Ampex with Automargins:\
                   5972:        :hs:xn:\
                   5973:        :co#80:it#8:li#24:\
                   5974:        :RA=\E[?7l:SA=\E[?7h:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
                   5975:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=%i\E[%2;%2r:\
                   5976:        :do=\E[B:ho=\E[H:\
                   5977:        :is=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:k0=\E[21~:\
                   5978:        :k1=\E[7~:k2=\E[8~:k3=\E[9~:k4=\E[10~:k5=\E[11~:k6=\E[17~:\
                   5979:        :k7=\E[18~:k8=\E[19~:k9=\E[20~:kd=\E[B:ke=\E>:kh=\E[H:\
                   5980:        :kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
                   5981:        :me=\E[m:mh=\E[1m:mr=\E[7m:nd=\E[C:se=\E[m:sf=^J:so=\E[7m:\
                   5982:        :sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[?3l:vs=\E[?3h:
                   5983: ampex219w|ampex-219w|amp219w|Ampex 132 cols:\
                   5984:        :co#132:li#24:\
                   5985:        :bl=^G:cr=^M:do=^J:is=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h:\
                   5986:        :sf=^J:\
                   5987:        :tc=ampex219:
                   5988: # (ampex232: removed :if=/usr/share/tabset/ampex:, no file and no :st: --esr)
                   5989: ampex232|ampex-232|Ampex Model 232:\
                   5990:        :am:\
                   5991:        :co#80:li#24:sg#1:\
                   5992:        :al=5*\EE:bt=\EI:cd=\EY:ce=\ET:cl=\E+:cm=\E=%+ %+ :dc=\EW:\
                   5993:        :dl=5*\ER:do=^V:ei=:ic=\EQ:im=:is=\Eg\El:k0=^A@\r:k1=^AA\r:\
                   5994:        :k2=^AB\r:k3=^AC\r:k4=^AD\r:k5=^AE\r:k6=^AF\r:k7=^AG\r:\
                   5995:        :k8=^AH\r:k9=^AI\r:kb=^H:kd=^V:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:\
                   5996:        :mk@:nd=^L:ta=^I:up=^K:vb=\Eb\Ed:ve=\E.4:vi=\E.0:\
                   5997:        :tc=adm+sgr:
                   5998: # (ampex: removed :if=/usr/share/tabset/amp-132:, no file and no :st: -- esr)
                   5999: ampex232w|Ampex Model 232 / 132 columns:\
                   6000:        :co#132:li#24:\
                   6001:        :is=\E\034Eg\El:tc=ampex232:
1.1       deraadt  6002:
1.13      millert  6003: #### Ann Arbor (aa)
                   6004: #
                   6005: # Ann Arbor made dream terminals for hackers -- large screen sizes and huge
                   6006: # numbers of function keys.  At least some used monitors in portrait mode,
                   6007: # allowing up to 76-character screen heights!  They were reachable at:
                   6008: #
                   6009: #      Ann Arbor Terminals
                   6010: #      6175 Jackson Road
                   6011: #      Ann Arbor, MI 48103
                   6012: #      (313)-663-8000
                   6013: #
                   6014: # But in 1996 the phone number reaches some kitschy retail shop, and Ann Arbor
                   6015: # can't be found on the Web; I fear they're long dead.  R.I.P.
                   6016: #
1.1       deraadt  6017:
                   6018:
1.13      millert  6019: # Originally from Mike O'Brien@Rand and Howard Katseff at Bell Labs.
                   6020: # Highly modified 6/22 by Mike O'Brien.
                   6021: # split out into several for the various screen sizes by dave-yost@rand
                   6022: # Modifications made 3/82 by Mark Horton
                   6023: # Modified by Tom Quarles at UCB for greater efficiency and more diversity
                   6024: # status line moved to top of screen, :vb: removed 5/82
                   6025: # Some unknown person at SCO then hacked the init strings to make them more
                   6026: # efficient.
                   6027: #
                   6028: # assumes the following setup:
                   6029: #   A menu: 0000 1010  0001 0000
                   6030: #   B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
                   6031: #   C menu: 56   66   0    0    9600  0110 1100
                   6032: #   D menu: 0110 1001   1   0
                   6033: #
                   6034: #      Briefly, the settings are for the following modes:
                   6035: #         (values are for bit set/clear with * indicating our preference
                   6036: #          and the value used to test these termcaps)
                   6037: #      Note that many of these settings are irrelevent to the terminfo
                   6038: #      and are just set to the default mode of the terminal as shipped
                   6039: #      by the factory.
                   6040: #
                   6041: # A menu: 0000 1010  0001 0000
                   6042: #      Block/underline cursor*
                   6043: #      blinking/nonblinking cursor*
                   6044: #      key click/no key click*
                   6045: #      bell/no bell at column 72*
                   6046: #
                   6047: #      key pad is cursor control*/key pad is numeric
                   6048: #      return and line feed/return for :cr: key *
                   6049: #      repeat after .5 sec*/no repeat
                   6050: #      repeat at 25/15 chars per sec. *
                   6051: #
                   6052: #      hold data until pause pressed/process data unless pause pressed*
                   6053: #      slow scroll/no slow scroll*
                   6054: #      Hold in area/don't hold in area*
                   6055: #      functions keys have default*/function keys disabled on powerup
                   6056: #
                   6057: #      show/don't show position of cursor during page transmit*
                   6058: #      unused
                   6059: #      unused
                   6060: #      unused
                   6061: #
                   6062: # B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
                   6063: #      Baud rate (9600*)
                   6064: #
                   6065: #      2 bits of parity - 00=odd,01=even*,10=space,11=mark
                   6066: #      1 stop bit*/2 stop bits
                   6067: #      parity error detection off*/on
                   6068: #
                   6069: #      keyboard local/on line*
                   6070: #      half/full duplex*
                   6071: #      disable/do not disable keyboard after data transmission*
                   6072: #
                   6073: #      transmit entire page/stop transmission at cursor*
                   6074: #      transfer/do not transfer protected characters*
                   6075: #      transmit all characters/transmit only selected characters*
                   6076: #      transmit all selected areas/transmit only 1 selected area*
                   6077: #
                   6078: #      transmit/do not transmit line separators to host*
                   6079: #      transmit/do not transmit page tab stops tabs to host*
                   6080: #      transmit/do not transmit column tab stop tabs to host*
                   6081: #      transmit/do not transmit graphics control (underline,inverse..)*
                   6082: #
                   6083: #      enable*/disable auto XON/XOFF control
                   6084: #      require/do not require receipt of a DC1 from host after each LF*
                   6085: #      pause key acts as a meta key/pause key is pause*
                   6086: #      unused
                   6087: #
                   6088: #      unused
                   6089: #      unused
                   6090: #      unused
                   6091: #      unused
                   6092: #
                   6093: #      XON character (17*)
                   6094: #      XOFF character (19*)
                   6095: #
                   6096: # C menu: 56   66   0    0    9600  0110 1100
                   6097: #      number of lines to print data on (printer) (56*)
                   6098: #
                   6099: #      number of lines on a sheet of paper (printer) (66*)
                   6100: #
                   6101: #      left margin (printer) (0*)
                   6102: #
                   6103: #      number of pad chars on new line to printer (0*)
                   6104: #
                   6105: #      printer baud rate (9600*)
                   6106: #
                   6107: #      printer parity: 00=odd,01=even*,10=space,11=mark
                   6108: #      printer stop bits: 2*/1
                   6109: #      print/do not print guarded areas*
                   6110: #
                   6111: #      new line is: 01=LF,10=CR,11=CRLF*
                   6112: #      unused
                   6113: #      unused
                   6114: #
                   6115: # D menu: 0110 1001   1   0
                   6116: #      LF is newline/LF is down one line, same column*
                   6117: #      wrap to preceding line if move left from col 1*/don't wrap
                   6118: #      wrap to next line if move right from col 80*/don't wrap
                   6119: #      backspace is/is not destructive*
1.1       deraadt  6120: #
1.13      millert  6121: #      display*/ignore DEL character
                   6122: #      display will not/will scroll*
                   6123: #      page/column tab stops*
                   6124: #      erase everything*/erase unprotected only
1.1       deraadt  6125: #
1.13      millert  6126: #      editing extent: 0=display,1=line*,2=field,3=area
1.1       deraadt  6127: #
1.13      millert  6128: #      unused
1.1       deraadt  6129: #
                   6130:
1.13      millert  6131: annarbor4080|aa4080|ann arbor 4080:\
                   6132:        :am:bs:\
                   6133:        :co#80:li#40:\
                   6134:        :bl=^G:cl=\014:\
                   6135:        :..cm=\017%p2%{10}%/%{16}%*%p2%{10}%m%+%c%p1%?%p1%{19}%>%t%{12}%+%;%'@'%+%c:\
                   6136:        :cr=^M:ct=^^P^P:do=^J:ho=^K:kb=^^:kd=^J:kh=^K:kl=^H:kr=^_:\
                   6137:        :ku=^N:le=^H:nd=^_:sf=^J:st=^]^P1:ta=^I:up=^N:
1.1       deraadt  6138:
1.13      millert  6139: # Strange Ann Arbor terminal from BRL
                   6140: aas1901|Ann Arbor K4080 w/S1901 mod:\
                   6141:        :am:\
                   6142:        :co#80:li#40:\
                   6143:        :bl=^G:cl=^L:cr=^M:do=^J:ho=^K:kb=^H:kd=^J:kl=^H:le=^H:\
                   6144:        :ll=^O\0c:nd=^_:nw=^M^J:sf=^J:ta=^I:up=^N:
1.1       deraadt  6145:
1.13      millert  6146: # If you're using the GNU termcap library, add
                   6147: #      :cS=\E[%p1%d;%p2%d;%p3%d;%p4%dp:
                   6148: # to these capabilities.  This is the nonstandard GNU termcap scrolling
                   6149: # capability, arguments are:
                   6150: #   1. Total number of lines on the screen.
                   6151: #   2. Number of lines above desired scroll region.
                   6152: #   3. Number of lines below (outside of) desired scroll region.
                   6153: #   4. Total number of lines on the screen, the same as the first parameter.
                   6154: # The generic Ann Arbor entry is the only one that uses this.
1.3       deraadt  6155: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   6156: # (sgr removed to fit entry within 1023 bytes)
                   6157: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.13      millert  6158: aaa+unk|aaa-unk|ann arbor ambassador (internal - don't use this directly):\
                   6159:        :am:bs:km:mi:xo:\
                   6160:        :co#80:it#8:\
1.1       deraadt  6161:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.13      millert  6162:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:bt=\E[Z:\
                   6163:        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
                   6164:        :ct=\E[2g:dc=\E[P:dl=\E[M:do=^K:ei=:ho=\E[H:\
                   6165:        :i1=\E[m\E7\E[H\E9\E8:i2=\E[1Q\E[>20;30l\EP`+x~M\E\:\
                   6166:        :ic=\E[@:im=:k1=\EOA:k2=\EOB:k3=\EOC:k4=\EOD:k5=\EOE:\
                   6167:        :k6=\EOF:k7=\EOG:k8=\EOH:k9=\EOI:kD=\E[P:kI=\E[@:kb=^H:\
                   6168:        :kd=\E[B:\
                   6169:        :ke=\EP`>y~[[J`8xy~[[A`4xy~[[D`6xy~[[C`2xy~[[B\E\:\
                   6170:        :kh=\E[H:kl=\E[D:kr=\E[C:\
                   6171:        :ks=\EP`>z~[[J`8xz~[[A`4xz~[[D`6xz~[[C`2xz~[[B\E\:\
                   6172:        :ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mm=\E[>52h:\
                   6173:        :mo=\E[>52l:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=^K:\
                   6174:        :so=\E[7m:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
1.1       deraadt  6175:
1.13      millert  6176: aaa+rv|ann arbor ambassador in reverse video:\
                   6177:        :i1=\E[7m\E7\E[H\E9\E8:mb=\E[5;7m:md=\E[1;7m:\
                   6178:        :me=\E[7m\016:mk=\E[7;8m:mr=\E[m:r1=\E[H\E[7m\E[J:\
                   6179:        :..sa=\E[%?%p1%p3%|%!%t7;%;%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m:\
                   6180:        :se=\E[7m:so=\E[m:ue=\E[7m:us=\E[4;7m:
                   6181: # Ambassador with the DEC option, for partial vt100 compatibility.
                   6182: aaa+dec|ann arbor ambassador in dec vt100 mode:\
                   6183:        :ac=aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}:\
                   6184:        :ae=^N:as=^O:cs=\E[%i%d;%dr:eA=\E(0:\
                   6185:        :..sa=\E[%?%p1%p3%|%!%t7;%;%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m%?%p9%t\017%e\016%;:
                   6186: aaa-18|ann arbor ambassador/18 lines:\
                   6187:        :li#18:\
                   6188:        :is=\E7\E[60;0;0;18p\E8:te=\E[60;0;0;18p\E[60;1H\E[K:\
                   6189:        :ti=\E[18;0;0;18p:\
                   6190:        :tc=aaa+unk:
                   6191: aaa-18-rv|ann arbor ambassador/18 lines+reverse video:\
                   6192:        :tc=aaa+rv:tc=aaa-18:
                   6193: aaa-20|ann arbor ambassador/20 lines:\
                   6194:        :li#20:\
                   6195:        :is=\E7\E[60;0;0;20p\E8:te=\E[60;0;0;20p\E[60;1H\E[K:\
                   6196:        :ti=\E[20;0;0;20p:\
                   6197:        :tc=aaa+unk:
                   6198: aaa-22|ann arbor ambassador/22 lines:\
                   6199:        :li#22:\
                   6200:        :is=\E7\E[60;0;0;22p\E8:te=\E[60;0;0;22p\E[60;1H\E[K:\
                   6201:        :ti=\E[22;0;0;22p:\
                   6202:        :tc=aaa+unk:
                   6203: aaa-24|ann arbor ambassador/24 lines:\
                   6204:        :li#24:\
                   6205:        :is=\E7\E[60;0;0;24p\E8:te=\E[60;0;0;24p\E[60;1H\E[K:\
                   6206:        :ti=\E[24;0;0;24p:\
                   6207:        :tc=aaa+unk:
                   6208: aaa-24-rv|ann arbor ambassador/24 lines+reverse video:\
                   6209:        :tc=aaa+rv:tc=aaa-24:
                   6210: aaa-26|ann arbor ambassador/26 lines:\
                   6211:        :li#26:\
                   6212:        :is=\E7\E[60;0;0;26p\E8:te=\E[60;0;0;26p\E[26;1H\E[K:\
                   6213:        :ti=\E[H\E[J\E[26;0;0;26p:\
                   6214:        :tc=aaa+unk:
                   6215: aaa-28|ann arbor ambassador/28 lines:\
                   6216:        :li#28:\
                   6217:        :is=\E7\E[60;0;0;28p\E8:te=\E[60;0;0;28p\E[28;1H\E[K:\
                   6218:        :ti=\E[H\E[J\E[28;0;0;28p:\
                   6219:        :tc=aaa+unk:
                   6220: aaa-30-s|aaa-s|ann arbor ambassador/30 lines w/status:\
                   6221:        :es:hs:\
                   6222:        :li#29:\
                   6223:        :ds=\E7\E[60;0;0;30p\E[1;1H\E[K\E[H\E8\r\n\E[K:\
                   6224:        :fs=\E[>51l:is=\r\n\E[A\E7\E[60;1;0;30p\E8:\
                   6225:        :te=\E[60;1;0;30p\E[29;1H\E[K:\
                   6226:        :ti=\E[H\E[J\E[30;1;0;30p\E[30;1H\E[K:\
                   6227:        :ts=\E[>51h\E[1;%p1%dH\E[2K:tc=aaa+unk:
                   6228: aaa-30-s-rv|aaa-s-rv|ann arbor ambassador/30 lines+status+reverse video:\
                   6229:        :tc=aaa+rv:tc=aaa-30-s:
                   6230: aaa-s-ctxt|aaa-30-s-ctxt|ann arbor ambassador/30 lines+status+save context:\
                   6231:        :te=\E[60;1;0;30p\E[59;1H\E[K:\
                   6232:        :ti=\E[30;1H\E[K\E[30;1;0;30p:tc=aaa-30-s:
                   6233: aaa-s-rv-ctxt|aaa-30-s-rv-ct|ann arbor ambassador/30 lines+status+save context+reverse video:\
                   6234:        :te=\E[60;1;0;30p\E[59;1H\E[K:\
                   6235:        :ti=\E[30;1H\E[K\E[30;1;0;30p:tc=aaa-30-s-rv:
                   6236: aaa|aaa-30|ambas|ambassador|ann arbor ambassador/30 lines:\
                   6237:        :li#30:\
                   6238:        :is=\E7\E[60;0;0;30p\E8:te=\E[60;0;0;30p\E[30;1H\E[K:\
                   6239:        :ti=\E[H\E[J\E[30;0;0;30p:\
                   6240:        :tc=aaa+unk:
                   6241: aaa-30-rv|aaa-rv|ann arbor ambassador/30 lines in reverse video:\
                   6242:        :tc=aaa+rv:tc=aaa-30:
                   6243: aaa-30-ctxt|aaa-ctxt|ann arbor ambassador/30 lines; saving context:\
                   6244:        :te=\E[60;0;0;30p\E[60;1H\E[K:ti=\E[30;0;0;30p:\
                   6245:        :tc=aaa-30:
                   6246: aaa-30-rv-ctxt|aaa-rv-ctxt|ann arbor ambassador/30 lines reverse video; saving context:\
                   6247:        :te=\E[60;0;0;30p\E[60;1H\E[K:ti=\E[30;0;0;30p:\
                   6248:        :tc=aaa+rv:tc=aaa-30:
                   6249: aaa-36|ann arbor ambassador/36 lines:\
                   6250:        :li#36:\
                   6251:        :is=\E7\E[60;0;0;36p\E8:te=\E[60;0;0;36p\E[36;1H\E[K:\
                   6252:        :ti=\E[H\E[J\E[36;0;0;36p:\
                   6253:        :tc=aaa+unk:
                   6254: aaa-36-rv|ann arbor ambassador/36 lines+reverse video:\
                   6255:        :tc=aaa+rv:tc=aaa-36:
                   6256: aaa-40|ann arbor ambassador/40 lines:\
                   6257:        :li#40:\
                   6258:        :is=\E7\E[60;0;0;40p\E8:te=\E[60;0;0;40p\E[40;1H\E[K:\
                   6259:        :ti=\E[H\E[J\E[40;0;0;40p:\
                   6260:        :tc=aaa+unk:
                   6261: aaa-40-rv|ann arbor ambassador/40 lines+reverse video:\
                   6262:        :tc=aaa+rv:tc=aaa-40:
                   6263: aaa-48|ann arbor ambassador/48 lines:\
                   6264:        :li#48:\
                   6265:        :is=\E7\E[60;0;0;48p\E8:te=\E[60;0;0;48p\E[48;1H\E[K:\
                   6266:        :ti=\E[H\E[J\E[48;0;0;48p:\
                   6267:        :tc=aaa+unk:
                   6268: aaa-48-rv|ann arbor ambassador/48 lines+reverse video:\
                   6269:        :tc=aaa+rv:tc=aaa-48:
                   6270: aaa-60-s|ann arbor ambassador/59 lines+status:\
                   6271:        :es:hs:\
                   6272:        :li#59:\
                   6273:        :ds=\E7\E[60;0;0;60p\E[1;1H\E[K\E[H\E8\r\n\E[K:\
                   6274:        :fs=\E[>51l:is=\r\n\E[A\E7\E[60;1;0;60p\E8:\
                   6275:        :ts=\E[>51h\E[1;%p1%dH\E[2K:tc=aaa+unk:
                   6276: aaa-60-s-rv|ann arbor ambassador/59 lines+status+reverse video:\
                   6277:        :tc=aaa+rv:tc=aaa-60-s:
                   6278: aaa-60-dec-rv|ann arbor ambassador/dec mode+59 lines+status+rev video:\
                   6279:        :tc=aaa+dec:tc=aaa+rv:tc=aaa-60-s:
                   6280: aaa-60|ann arbor ambassador/60 lines:\
                   6281:        :li#60:\
                   6282:        :is=\E7\E[60;0;0;60p\E[1Q\E[m\E[>20;30l\E8:tc=aaa+unk:
                   6283: aaa-60-rv|ann arbor ambassador/60 lines+reverse video:\
                   6284:        :tc=aaa+rv:tc=aaa-60:
                   6285: aaa-db|ann arbor ambassador 30/destructive backspace:\
                   6286:        :bs@:\
                   6287:        :i2=\E[1Q\E[m\E[>20l\E[>30h:le=\E[D:tc=aaa-30:
1.1       deraadt  6288:
1.13      millert  6289: guru|guru-33|guru+unk|ann arbor guru/33 lines 80 cols:\
                   6290:        :li#33:\
                   6291:        :i2=\E[>59l:is=\E7\E[255;0;0;33;80;80p\E8\E[J:\
                   6292:        :te=\E[255p\E[255;1H\E[K:ti=\E[33p:vb=\E[>59h\E[>59l:\
                   6293:        :tc=aaa+unk:
                   6294: guru+rv|guru changes for reverse video:\
                   6295:        :i2=\E[>59h:vb=\E[>59l\E[>59h:
                   6296: guru-rv|guru-33-rv|ann arbor guru/33 lines+reverse video:\
                   6297:        :tc=guru+rv:tc=guru-33:
                   6298: guru+s|guru status line:\
                   6299:        :es:hs:\
                   6300:        :ds=\E7\E[;0p\E[1;1H\E[K\E[H\E8\r\n\E[K:fs=\E[>51l:\
                   6301:        :te=\E[255;1p\E[255;1H\E[K:ti=:\
                   6302:        :ts=\E[>51h\E[1;%p1%dH\E[2K:
                   6303: guru-nctxt|guru with no saved context:\
                   6304:        :ti=\E[H\E[J\E[33p\E[255;1H\E[K:tc=guru:
                   6305: guru-s|guru-33-s|ann arbor guru/33 lines+status:\
                   6306:        :li#32:\
                   6307:        :is=\r\n\E[A\E7\E[255;1;0;33;80;80p\E8\E[J:\
                   6308:        :ti=\E[33;1p\E[255;1H\E[K:tc=guru+s:\
                   6309:        :tc=guru+unk:
                   6310: guru-24|ann arbor guru 24 lines:\
                   6311:        :co#80:li#24:\
                   6312:        :is=\E7\E[255;0;0;24;80;80p\E8\E[J:ti=\E[24p:tc=guru+unk:
                   6313: guru-44|ann arbor guru 44 lines:\
                   6314:        :co#97:li#44:\
                   6315:        :is=\E7\E[255;0;0;44;97;100p\E8\E[J:ti=\E[44p:tc=guru+unk:
                   6316: guru-44-s|ann arbor guru/44 lines+status:\
                   6317:        :li#43:\
                   6318:        :is=\r\n\E[A\E7\E[255;1;0;44;80;80p\E8\E[J:\
                   6319:        :ti=\E[44;1p\E[255;1H\E[K:tc=guru+s:\
                   6320:        :tc=guru+unk:
                   6321: guru-76|guru with 76 lines by 89 cols:\
                   6322:        :co#89:li#76:\
                   6323:        :is=\E7\E[255;0;0;76;89;100p\E8\E[J:ti=\E[76p:tc=guru+unk:
                   6324: guru-76-s|ann arbor guru/76 lines+status:\
                   6325:        :co#89:li#75:\
                   6326:        :is=\r\n\E[A\E7\E[255;1;0;76;89;100p\E8\E[J:\
                   6327:        :ti=\E[76;1p\E[255;1H\E[K:tc=guru+s:\
                   6328:        :tc=guru+unk:
                   6329: guru-76-lp|guru-lp|guru with page bigger than line printer:\
                   6330:        :co#134:li#76:\
                   6331:        :is=\E7\E[255;0;0;76;134;134p\E8\E[J:ti=\E[76p:tc=guru+unk:
                   6332: guru-76-w|guru 76 lines by 178 cols:\
                   6333:        :co#178:li#76:\
                   6334:        :is=\E7\E[255;0;0;76;178;178p\E8\E[J:ti=\E[76p:tc=guru+unk:
                   6335: guru-76-w-s|ann arbor guru/76 lines+status+wide:\
                   6336:        :co#178:li#75:\
                   6337:        :is=\r\n\E[A\E7\E[255;1;0;76;178;178p\E8\E[J:\
                   6338:        :ti=\E[76;1p\E[255;1H\E[K:\
                   6339:        :tc=guru+s:tc=guru+unk:
                   6340: guru-76-wm|guru 76 lines by 178 cols with 255 cols memory:\
                   6341:        :co#178:li#76:\
                   6342:        :is=\E7\E[255;0;0;76;178;255p\E8\E[J:ti=\E[76p:tc=guru+unk:
                   6343: aaa-rv-unk|ann arbor unknown type:\
                   6344:        :Nl#0:lh#0:lw#0:\
                   6345:        :ho=\E[H:i1=\E[7m\E7\E[H\E9\E8:mb=\E[5;7m:md=\E[1;7m:\
                   6346:        :me=\E[7m:mk=\E[7;8m:mr=\E[m:r1=\E[H\E[7m\E[J:\
                   6347:        :..sa=\E[%?%p1%!%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m:\
                   6348:        :se=\E[7m:so=\E[m:ue=\E[7m:us=\E[4;7m:
1.1       deraadt  6349:
1.13      millert  6350: #### Applied Digital Data Systems (adds)
1.1       deraadt  6351: #
1.13      millert  6352: # ADDS itself is long gone.  ADDS was bought by NCR, and the same group made
                   6353: # ADDS and NCR terminals.  When AT&T and NCR merged, the engineering for
                   6354: # terminals was merged again.  Then AT&T sold the terminal business to
                   6355: # SunRiver, which later changed its  name to Boundless Technologies.  The
                   6356: # engineers from Teletype, AT&T terminals, ADDS, and NCR (who are still there
                   6357: # as of early 1995) are at:
1.1       deraadt  6358: #
1.13      millert  6359: #      Boundless Technologies
                   6360: #      100 Marcus Boulevard
                   6361: #      Hauppauge, NY 11788-3762
                   6362: #      Vox: (800)-231-5445
                   6363: #      Fax: (516)-342-7378
                   6364: #      Web: http://boundless.com
1.1       deraadt  6365: #
1.13      millert  6366: # Their voice mail used to describe the place as "SunRiver (formerly ADDS)".
                   6367: # In 1995 Boundless acquired DEC's terminals business.
1.1       deraadt  6368: #
1.2       deraadt  6369:
1.13      millert  6370: # Regent: lowest common denominator, works on all regents.
                   6371: # (regent: renamed ":bc:" to ":le:" -- esr)
                   6372: regent|Adds Regent Series:\
                   6373:        :am:bs:\
                   6374:        :co#80:li#24:\
                   6375:        :bl=^G:cl=^L:cr=^M:do=^J:ho=\EY  :le=^U:ll=^A:nd=^F:sf=^J:\
                   6376:        :up=^Z:
                   6377: # Regent 100 has a bug where if computer sends escape when user is holding
                   6378: # down shift key it gets confused, so we avoid escape.
                   6379: regent100|Adds Regent 100:\
                   6380:        :sg#1:\
                   6381:        :bl=^G:cm=\013%+ %B\020%.:k0=^B1\r:k1=^B2\r:k2=^B3\r:\
                   6382:        :k3=^B4\r:k4=^B5\r:k5=^B6\r:k6=^B7\r:k7=^B8\r:l0=F1:l1=F2:\
                   6383:        :l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:me=\E0@:se=\E0@:so=\E0P:\
                   6384:        :ue=\E0@:us=\E0`:\
                   6385:        :tc=regent:
                   6386: regent20|Adds Regent 20:\
                   6387:        :bl=^G:cd=\Ek:ce=\EK:cm=\EY%+ %+ :tc=regent:
                   6388: regent25|Adds Regent 25:\
                   6389:        :bl=^G:kd=^J:kh=^A:kl=^U:kr=^F:ku=^Z:tc=regent20:
                   6390: regent40|Adds Regent 40:\
                   6391:        :sg#1:\
                   6392:        :al=\EM:bl=^G:dl=\El:k0=^B1\r:k1=^B2\r:k2=^B3\r:k3=^B4\r:\
                   6393:        :k4=^B5\r:k5=^B6\r:k6=^B7\r:k7=^B8\r:l0=F1:l1=F2:l2=F3:\
                   6394:        :l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:me=\E0@:se=\E0@:so=\E0P:\
                   6395:        :ue=\E0@:us=\E0`:\
                   6396:        :tc=regent25:
                   6397: regent40+|Adds Regent 40+:\
                   6398:        :is=\EB:tc=regent40:
                   6399: regent60|regent200|Adds Regent 60:\
                   6400:        :dc=\EE:ei=\EF:im=\EF:is=\EV\EB:kD=\EE:kI=\EF:kM=\EF:\
                   6401:        :se=\ER\E0@\EV:so=\ER\E0P\EV:\
                   6402:        :tc=regent40+:
                   6403: # From: <edward@onyx.berkeley.edu> Thu Jul  9 09:27:33 1981
                   6404: # (viewpoint: added :kr:, function key, and :dl: capabilities -- esr)
                   6405: viewpoint|addsviewpoint|adds viewpoint:\
                   6406:        :am:bs:\
                   6407:        :co#80:li#24:\
                   6408:        :bl=^G:cd=\Ek:ce=\EK:cl=^L:cm=\EY%+ %+ :cr=^M:dl=\El:do=^J:\
                   6409:        :is=\017\E0`:k0=^B1:k2=^B2:k3=^B\041:k4=^B":k5=^B#:kd=^J:\
                   6410:        :kh=^A:kl=^U:kr=^F:ku=^Z:le=^H:ll=^A:me=^O:nd=^F:se=^O:sf=^J:\
                   6411:        :so=^N:ue=^O:up=^Z:us=^N:ve=\017\E0`:vs=\017\E0P:
                   6412: # Some viewpoints have bad ROMs that foo up on ^O
                   6413: screwpoint|adds viewpoint with ^O bug:\
                   6414:        :se@:so@:ue@:us@:vs@:tc=viewpoint:
                   6415:
                   6416: # From: Jay S. Rouman <jsr@dexter.mi.org> 5 Jul 92
                   6417: # The :vi:/:ve:/:sa:/:me: strings were added by ESR from specs.
                   6418: # Theory; the vp3a+ wants \E0%c to set highlights, where normal=01000000,
                   6419: # underline=01100000, rev=01010000, blink=01000010,dim=01000001,
                   6420: # invis=01000100 and %c is the logical or of desired attributes.
                   6421: # There is also a `tag bit' enabling attributes, set by \E) and unset by \E(.
                   6422: vp3a+|viewpoint3a+|adds viewpoint 3a+:\
                   6423:        :am:bw:\
1.1       deraadt  6424:        :co#80:it#8:li#24:\
1.13      millert  6425:        :cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :cr=^M:do=^J:ho=^^:kb=^H:\
                   6426:        :kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:me=\E(:nd=^L:nw=^M^J:\
                   6427:        :..sa=\E0%'@'%?%p1%tQ%|%;%?%p2%t%'`'%|%;%?%p3%tP%|%;%?%p4%t%{2}%|%;%?%p5%t%{1}%|%;%?%p7%tD%|%;%c\E):\
                   6428:        :se=\E(:sf=^J:so=\E0Q\E):ta=^I:up=^K:ve=^X:vi=^W:
                   6429: vp60|viewpoint60|addsvp60|adds viewpoint60:\
                   6430:        :tc=regent40:
1.1       deraadt  6431: #
1.13      millert  6432: # adds viewpoint 90 - from cornell
                   6433: # Note:  emacs sends ei occasionally to insure the terminal is out of
                   6434: #        insert mode. This unfortunately puts the viewpoint90 IN insert
                   6435: #        mode.  A hack to get around this is :ic=\EF\s\EF^U:.  (Also,
                   6436: #   -    :ei=:im=: must be present in the termcap translation.)
                   6437: #   -    :xs: indicates glitch that attributes stick to location
                   6438: #   -    :ms: means it's safe to move in standout mode
                   6439: #   -    :cl=\EG\Ek:: clears screen and visual attributes without affecting
                   6440: #               the status line
                   6441: # Function key and label capabilities merged in from SCO.
                   6442: vp90|viewpoint90|adds viewpoint 90:\
                   6443:        :bs:bw:ms:xs:\
                   6444:        :co#80:li#24:\
                   6445:        :cd=\Ek:ce=\EK:cl=\EG\Ek:cm=\EY%+ %+ :dc=\EE:dl=\El:do=^J:\
                   6446:        :ei=:ho=\EY  :ic=\EF \EF\025:im=:k0=^B1\r:k1=^B2\r:\
                   6447:        :k2=^B3\r:k3=^B4\r:k4=^B5\r:k5=^B6\r:k6=^B7\r:k7=^B8\r:\
                   6448:        :k8=^B9\r:k9=^B\072\r:k;=^B;\r:kb=^H:kd=^J:kh=^A:kl=^U:\
                   6449:        :kr=^F:ku=^Z:l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:\
                   6450:        :l8=F9:l9=F10:la=F11:le=^H:ll=^A:me=\ER\E0@\EV:nd=^F:\
                   6451:        :se=\ER\E0@\EV:sf=^J:so=\ER\E0Q\EV:ta=^I:ue=\ER\E0@\EV:\
                   6452:        :up=^Z:us=\ER\E0`\EV:
                   6453: # Note: if return acts weird on a980, check internal switch #2
                   6454: # on the top chip on the CONTROL pc board.
                   6455: adds980|a980|adds consul 980:\
                   6456:        :am:bs:\
                   6457:        :co#80:li#24:\
                   6458:        :al=\E\016:bl=^G:cl=\014\013@:cm=\013%+@\E\005%2:cr=^M:\
                   6459:        :dl=\E\017:do=^J:k0=\E0:k1=\E1:k2=\E2:k3=\E3:k4=\E4:k5=\E5:\
                   6460:        :k6=\E6:k7=\E7:k8=\E8:k9=\E9:le=^H:me=^O:nd=\E^E01:se=^O:\
                   6461:        :sf=^J:so=^Y^^^N:
1.1       deraadt  6462:
1.13      millert  6463: #### C. Itoh Electronics
1.1       deraadt  6464: #
1.13      millert  6465: # As of 1995 these people no longer make terminals (they're still in the
                   6466: # printer business).  Their terminals were all clones of the DEC VT series.
                   6467: # They're located in Orange County, CA.
1.5       tholo    6468: #
1.1       deraadt  6469:
1.13      millert  6470: # CIT 80  - vt-52 emulator, the termcap has been modified to remove
                   6471: #           the delay times and do an auto tab set rather than the indirect
                   6472: #           file used in vt100.
                   6473: cit80|cit-80|citoh 80:\
                   6474:        :am:bs:\
                   6475:        :co#80:li#24:\
                   6476:        :cd=\EJ:ce=\EK:cl=\E[H\EJ:cm=\E[%i%2;%2H:cr=^M:ff=^L:\
                   6477:        :is=\E>:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
                   6478:        :ku=\EOA:le=^H:nd=\E[C:sf=^J:up=\E[A:
                   6479: # From: Tim Wood <mtxinu!sybase!tim> Fri Sep 27 09:39:12 PDT 1985
                   6480: # (cit101: added <rmam>/<smam> based on init string, merged this with c101 -- esr)
                   6481: cit101|citc|C.itoh fast vt100:\
                   6482:        :am:bs:xn:\
                   6483:        :co#80:li#24:\
                   6484:        :RA=\E[?7l:SA=\E[?7h:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:\
                   6485:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:ei=:ic=\E[@:\
                   6486:        :im=:is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[3g\E[>5g:\
                   6487:        :kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
                   6488:        :ku=\EOA:le=^H:me=\E[m:nd=\E[C:se=\E[m:so=\E[7m:ue=\E[m:\
                   6489:        :up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[V\E8:vs=\E7\E[U:
                   6490: # CIE Terminals CIT-101e from Geoff Kuenning <callan!geoff> via BRL
                   6491: # The following termcap entry was created from the Callan cd100 entry.  The
                   6492: # last two lines (with the capabilities in caps) are used by RM-cobol to allow
                   6493: # full selection of combinations of reverse video, underline, and blink.
                   6494: # (cit101e: removed unknown :f0=\EOp:f1=\EOq:f2=\EOr:f3=\EOs:f4=\EOt:f5=\EOu:\
                   6495: # f6=\EOv:f7=\EOw:f8=\EOx:f9=\EOy:AB=\E[0;5m:AL=\E[m:AR=\E[0;7m:AS=\E[0;5;7m:\
                   6496: # :NB=\E[0;1;5m:NM=\E[0;1m:NR=\E[0;1;7m:NS=\E[0;1;5;7m: -- esr)
                   6497: cit101e|C. Itoh CIT-101e:\
                   6498:        :am:bs:mi:ms:pt:\
1.2       deraadt  6499:        :co#80:it#8:li#24:\
1.13      millert  6500:        :ac=:ae=^O:al=\E[L:as=^N:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
                   6501:        :cm=\E[%i%2;%2H:cs=\E[%i%2;%2r:dc=\E[P:dl=\E[M:do=\E[B:\
                   6502:        :ei=\E[4l:if=/usr/share/tabset/vt100:im=\E[4h:k0=\EOT:\
                   6503:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOm:k6=\EOl:k7=\EOM:\
                   6504:        :k8=\EOn:kd=\E[B:ke=\E>:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:\
                   6505:        :nd=\E[C:rc=\E8:sc=\E7:se=\E[m:so=\E[7m:sr=\EM:ue=\E[m:\
                   6506:        :up=\E[A:us=\E[4m:ve=:vs=\E[?1l\E[?4l\E[?7h:
                   6507: # From: David S. Lawyer, June 1997:
                   6508: # The CIT 101-e was made in Japan in 1983-4 and imported by CIE
                   6509: # Terminals in Irvine, CA.  It was part of CITOH Electronics.  In the
                   6510: # late 1980's CIT Terminals went out of business.
                   6511: # There is no need to use the initialization string is=... (by invoking
                   6512: # tset or setterm etc.) provided that the terminal has been manually set
                   6513: # up (and the setup saved with ^S) to be compatible with this termcap.  To be
                   6514: # compatible it should be in ANSI mode (not VT52).   A set-up that
                   6515: # works is to set all the manually setable stuff to factory defaults
                   6516: # by pressing ^D in set-up mode.  Then increse the brighness with the
                   6517: # up-arrow key since the factory default will likely be dim on an old
                   6518: # terminal.  Then change any options you want (provided that they are
                   6519: # compatible with the termcap).  For my terminal I set: Screen
                   6520: # Background: light; Keyclicks: silent; Auto wraparound: on; CRT saver:
                   6521: # on.  I also set up mine for parity (but you may not need it).  Then
                   6522: # save the setup with ^S.
                   6523: # (cit101e-rv: added empty :te: to suppress a tic warning. --esr)
                   6524: cit101e-rv|Citoh CIT-101e (sets reverse video):\
                   6525:        :am:eo:mi:ms:xn:xo:\
1.1       deraadt  6526:        :co#80:it#8:li#24:\
1.13      millert  6527:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   6528:        :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
                   6529:        :al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%i%dG:\
                   6530:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
                   6531:        :ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:ic=\E[@:\
                   6532:        :im=\E[4h:\
                   6533:        :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:\
                   6534:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=\177:kd=\E[B:kl=\E[D:\
                   6535:        :kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:\
                   6536:        :nd=\E[C:nl=\EM:nw=\EE:r1=\Ec\E[?7h\E[>5g:rc=\E8:sc=\E7:\
                   6537:        :se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:te=:\
                   6538:        :ti=\E[>5g\E[?7h\E[?5h:u6=\E[%i%d;%dR:u7=\E[6n:\
                   6539:        :u8=\E[?6c:u9=\E[c:ue=\E[m:up=\E[A:us=\E[4m:\
                   6540:        :vb=200\E[?5l\E[?5h:ve=\E[0;3;4v:vi=\E[1v:vs=\E[3;5v:
                   6541: cit101e-n|CIT-101e w/o am:\
                   6542:        :am@:\
                   6543:        :kb=^H:kd=^J:kl=^H:vs=\E[?1l\E[?4l\E[?7l:tc=cit101e:
                   6544: cit101e-132|CIT-101e with 132 cols:\
                   6545:        :co#132:\
                   6546:        :kb=^H:kd=^J:kl=^H:tc=cit101e:
                   6547: cit101e-n132|CIT-101e with 132 cols w/o am:\
                   6548:        :am@:\
                   6549:        :co#132:\
                   6550:        :kb=^H:kd=^J:kl=^H:vs=\E[?1l\E[?4l\E[?7l:tc=cit101e:
                   6551: # CIE Terminals CIT-500 from BRL
                   6552: # The following SET-UP modes are assumed for normal operation:
                   6553: #      GENERATE_XON/XOFF:YES   DUPLEX:FULL             NEWLINE:OFF
                   6554: #      AUTOWRAP:ON             MODE:ANSI               SCREEN_LENGTH:64_LINES
                   6555: #      DSPLY_CNTRL_CODES?NO    PAGE_WIDTH:80           EDIT_MODE:OFF
                   6556: # Other SET-UP modes may be set for operator convenience or communication
                   6557: # requirements.
                   6558: # Hardware tabs are assumed to be set every 8 columns; they can be set up
                   6559: # by the "reset", "tset", or "tabs" utilities.  No delays are specified; use
                   6560: # "stty ixon -ixany" to enable DC3/DC1 flow control!
                   6561: # (cit500: I added <rmam>/<smam> based on the init string -- esr)
                   6562: cit500|CIE Terminals CIT-500:\
                   6563:        :bs:mi:ms:pt:xo:\
                   6564:        :co#80:it#8:kn#10:li#64:vt#3:\
                   6565:        :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RA=\E[?7l:\
                   6566:        :RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:ac=:ae=^O:al=\E[L:as=^N:\
                   6567:        :bl=^G:bt=\E[Z:cd=\EJ:ce=\EK:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
                   6568:        :cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
                   6569:        :ei=\E[4l:ho=\E[H:im=\E[4h:is=\E<\E)0:k0=\EOP:k1=\EOQ:\
                   6570:        :k2=\EOR:k3=\EOS:k4=\EOU:k5=\EOV:k6=\EOW:k7=\EOX:k8=\EOY:\
                   6571:        :k9=\EOZ:kA=\E[L:kB=\E[Z:kD=\E[P:kE=\EK:kI=\E[4h:kL=\E[M:\
                   6572:        :kM=\E[4l:kS=\EJ:kb=^H:kd=\EOB:ke=\E[?1l\E>:kh=\E[H:\
                   6573:        :kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l0=PF1:l1=PF2:l2=PF3:\
                   6574:        :l3=PF4:l4=F15:l5=F16:l6=F17:l7=F18:l8=F19:l9=F20:le=^H:\
                   6575:        :ll=\E[64H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
                   6576:        :nw=\EE:\
                   6577:        :r1=\E<\E2\E[20l\E[?6l\E[r\E[m\E[q\E(B\017\E)0\E>:\
                   6578:        :rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
                   6579:        :ue=\E[m:up=\EM:us=\E[4m:
                   6580:
                   6581: # C. Itoh printers begin here
                   6582: citoh|ci8510|8510|c.itoh 8510a:\
                   6583:        :co#80:it#8:\
                   6584:        :is=\E(009\054017\054025\054033\054041\054049\054057\054065\054073.:\
                   6585:        :le@:md=\E\041:me=\E"\EY:rp=\ER%r%03%.:sr=\Er:ue=\EY:\
                   6586:        :us=\EX:\
                   6587:        :tc=lpr:
                   6588: citoh-pica|citoh in pica:\
                   6589:        :i1=\EN:tc=citoh:
                   6590: citoh-elite|citoh in elite:\
                   6591:        :co#96:\
                   6592:        :i1=\EE:\
                   6593:        :is=\E(009\054017\054025\054033\054041\054049\054057\054065\054073\054081\054089.:tc=citoh:
                   6594: citoh-comp|citoh in compressed:\
                   6595:        :co#136:\
                   6596:        :i1=\EQ:\
                   6597:        :is=\E(009\054017\054025\054033\054041\054049\054057\054065\054073\054081\054089\054097\054105\054113\054121\054129.:tc=citoh:
                   6598: # citoh has infinite cols because we don't want lp ever inserting \n\t**.
                   6599: citoh-prop|citoh-ps|ips|citoh in proportional spacing mode:\
                   6600:        :co#32767:\
                   6601:        :i1=\EP:tc=citoh:
                   6602: citoh-6lpi|citoh in 6 lines per inch mode:\
                   6603:        :i2=\EA:tc=citoh:
                   6604: citoh-8lpi|citoh in 8 lines per inch mode:\
                   6605:        :li#88:\
                   6606:        :i2=\EB:tc=citoh:
1.1       deraadt  6607:
1.13      millert  6608: #### Control Data (cdc)
1.5       tholo    6609: #
                   6610:
1.13      millert  6611: cdc456|cdc 456 terminal:\
                   6612:        :am:bs:\
                   6613:        :co#80:li#24:\
                   6614:        :al=\EL:bl=^G:cd=^X:ce=^V:cl=^Y^X:cm=\E1%+ %+ :cr=^M:dl=\EJ:\
                   6615:        :do=^J:ho=^Y:le=^H:nd=^L:sf=^J:up=^Z:
1.1       deraadt  6616:
1.13      millert  6617: # Assorted CDC terminals from BRL (improvements by DAG & Ferd Brundick)
                   6618: cdc721|CDC Viking:\
                   6619:        :am:bs:\
                   6620:        :co#80:li#24:\
                   6621:        :ce=^K:cl=^L:cm=\002%r%+ %+ :ho=^Y:kd=^J:kh=^Y:kl=^H:kr=^I:\
                   6622:        :ku=^W:nd=^X:up=^W:
                   6623: cdc721ll|CDC Vikingll:\
                   6624:        :am:bs:\
                   6625:        :co#132:li#24:\
                   6626:        :ce=^K:cl=^L:cm=\002%r%+ %+ :ho=^Y:kd=^J:kh=^Y:kl=^H:kr=^I:\
                   6627:        :ku=^W:nd=^X:up=^W:
                   6628: # (cdc752: the BRL entry had :ll=\E1  ^Z: commented out
                   6629: cdc752|CDC 752:\
                   6630:        :am:bs:bw:xs:\
                   6631:        :co#80:li#24:\
                   6632:        :bl=^G:ce=^V:cl=\030\E1  :cm=\E1%r%+ %+ :cr=^M:do=^J:\
                   6633:        :ho=\E1  :le=^H:ll=^Y:nd=^U:r1=\E1  \030\002\003\017:\
                   6634:        :sf=^J:up=^Z:
                   6635: # CDC 756
                   6636: # The following switch/key settings are assumed for normal operation:
                   6637: #      96 chars        SCROLL          FULL duplex     not BLOCK
                   6638: # Other switches may be set according to communication requirements.
                   6639: # Insert/delete-character cannot be used, as the whole display is affected.
                   6640: # "so" & "se" are commented out until jove handles "sg" correctly.
                   6641: cdc756|CDC 756:\
                   6642:        :am:bs:bw:\
                   6643:        :co#80:kn#10:li#24:\
                   6644:        :al=6*\EL:bl=^G:cd=^X:ce=^V:cl=^Y^X:cm=\E1%r%+ %+ :cr=^M:\
                   6645:        :dl=6*\EJ:do=^J:ho=^Y:k0=\EA:k1=\EB:k2=\EC:k3=\ED:k4=\EE:\
                   6646:        :k5=\EF:k6=\EG:k7=\EH:k8=\Ea:k9=\Eb:kA=\EL:kD=\EI:kE=^V:\
                   6647:        :kI=\EK:kL=\EL:kS=^X:kT=^O:kb=^H:kd=^J:kh=^Y:kl=^H:kr=^U:\
                   6648:        :ku=^Z:l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:l8=F9:\
                   6649:        :l9=F10:le=^H:ll=^Y^Z:nd=^U:r1=\031\030\002\003\017:sf=^J:\
                   6650:        :up=^Z:
1.1       deraadt  6651: #
1.13      millert  6652: # CDC 721 from Robert Viduya, Ga. Tech. <ihnp4!gatech!gitpyr!robert> via BRL.
1.1       deraadt  6653: #
1.13      millert  6654: # Part of the long initialization string defines the "DOWN" key to the left
                   6655: # of the tab key to send an ESC.  The real ESC key is positioned way out
                   6656: # in right field.
1.1       deraadt  6657: #
1.13      millert  6658: # The termcap won't work in 132 column mode due to the way it it moves the
                   6659: # cursor.  Termcap doesn't have the capability (as far as I could tell) to
                   6660: # handle the 721 in 132 column mode.
1.1       deraadt  6661: #
1.13      millert  6662: # (cdc721: changed :ri: to :sr: -- esr)
                   6663: cdc721-esc|Control Data 721:\
                   6664:        :am:bs:bw:ms:pt:xo:\
                   6665:        :co#80:it#8:kn#10:li#30:\
                   6666:        :al=^^R:bl=^G:bt=^^^K:cd=^^P:ce=^K:cl=^L:cm=\002%r%+ %+ :\
                   6667:        :ct=^^^RY:dc=^^N:dl=^^Q:do=^Z:ei=:ho=^Y:ic=^^O:im=:\
                   6668:        :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:\
                   6669:        :k0=^^q:k1=^^r:k2=^^s:k3=^^t:k4=^^u:k5=^^v:k6=^^w:k7=^^x:\
                   6670:        :k8=^^y:k9=^^z:kb=^H:kd=^Z:ke=^^^Rl:kh=^Y:kl=^H:kr=^X:\
                   6671:        :ks=^^^Rk:ku=^W:le=^H:ll=^B =:mb=^N:\
                   6672:        :me=\017\025\035\036E\036\022\:mh=^\:mk=^^^R[:mr=^^D:\
                   6673:        :nd=^X:se=^^E:sf=\036W =\036U:so=^^D:sr=\036W =\036V:\
                   6674:        :st=^^^RW:ue=^]:up=^W:us=^\:
                   6675:
                   6676: #### Getronics
1.1       deraadt  6677: #
1.13      millert  6678: # Getronics is a Dutch electronics company that at one time was called
                   6679: # `Geveke' and made async terminals; but (according to the company itself!)
                   6680: # they've lost all their documentation on the command set.  The hardware
                   6681: # documentation suggests the terminals were actually manufactured by a
                   6682: # Taiwanese electronics company named Cal-Comp.  There are known
                   6683: # to have been at least two models, the 33 and the 50.
1.1       deraadt  6684: #
1.13      millert  6685:
                   6686: # The 50 seems to be a top end vt220 clone, with the addition of a higher
                   6687: # screen resolution, a larger screen, at least 1 page of memory above and
                   6688: # below the screen, apparently pages of memory right and left of the screen
                   6689: # which can be panned, and about 75 function keys (15 function keys x normal,
                   6690: # shift, control, func A, func B). It also has more setup possibilities than
                   6691: # the vt220. The monitor case is dated November 1978 and the keyboard case is
                   6692: # May 1982.
1.1       deraadt  6693: #
1.13      millert  6694: # The vt100 emulation works as is.  The entry below describes the rather
                   6695: # non-conformant (but more featureful) ANSI mode.
1.1       deraadt  6696: #
1.13      millert  6697: # From: Stephen Peterson <stv@utrecht.ow.nl>, 27 May 1995
                   6698: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   6699: # (sgr removed to fit entry within 1023 bytes)
                   6700: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
                   6701: visa50|geveke visa 50 terminal in ansi 80 character mode:\
                   6702:        :bw:mi:ms:\
                   6703:        :co#80:li#25:\
                   6704:        :AL=\E[%dL:DC=\E[%dX:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   6705:        :K1=\E[f:K2=\EOP:K3=\EOQ:K4=\EOR:K5=\EOS:LE=\E[%dD:\
                   6706:        :RI=\E[%dC:UP=\E[%dA:ae=\E[3l:al=\E[L:as=\E3h:bl=^G:\
                   6707:        :bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:\
                   6708:        :cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[X:dl=\E[M:do=\E[B:\
                   6709:        :ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:\
                   6710:        :is=\E0;2m\E[1;25r\E[25;1H\E[?3l\E[?7h\E[?8h:k0=\E010:\
                   6711:        :k1=\E001:k2=\E002:k3=\E003:k4=\E004:k5=\E005:k6=\E006:\
                   6712:        :k7=\E007:k8=\E008:k9=\E009:kD=\177:kb=^H:kd=\E[A:ke=\E>:\
                   6713:        :kh=\E[f:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=\E[D:mb=\E[5m:\
                   6714:        :md=\E[1m:me=\E[0;2m:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=^M^J:\
                   6715:        :se=\E[0;2m:sf=^J:so=\E[2;7m:ta=^I:ue=\E[0m:up=\E[A:\
                   6716:        :us=\E[4m:vb=\E[?5h\E[?5l:
                   6717:
                   6718: #### Human Designed Systems (Concept)
1.1       deraadt  6719: #
1.13      millert  6720: #      Human Designed Systems
                   6721: #      400 Fehley Drive
                   6722: #      King of Prussia, PA 19406
                   6723: #      Vox: (610)-277-8300
                   6724: #      Fax: (610)-275-5739
                   6725: #      Net: support@hds.com
                   6726: #
                   6727: # John Martin <john@hds.com> is their termcap expert.  They're mostly out of
                   6728: # the character-terminal business now (1995) and making X terminals.  In
                   6729: # particular, the whole `Concept' line described here was discontinued long
                   6730: # ago.
1.1       deraadt  6731: #
1.13      millert  6732:
                   6733: # From: <vax135!hpk>  Sat Jun 27 07:41:20 1981
                   6734: # Extensive changes to c108 by arpavax:eric Feb 1982
                   6735: # Some unknown person at SCO then translated it to terminfo.
1.1       deraadt  6736: #
1.13      millert  6737: # There seem to be a number of different versions of the C108 PROMS
                   6738: # (with bug fixes in its Z-80 program).
                   6739: #
                   6740: # The first one that we had would lock out the keyboard of you
                   6741: # sent lots of short lines (like /usr/dict/words) at 9600 baud.
                   6742: # Try that on your C108 and see if it sends a ^S when you type it.
                   6743: # If so, you have an old version of the PROMs.
                   6744: #
                   6745: # You should configure the C108 to send ^S/^Q before running this.
                   6746: # It is much faster (at 9600 baud) than the c100 because the delays
                   6747: # are not fixed.
                   6748: # new status line display entries for c108-8p:
                   6749: # :i3: - init str #3 - setup term for status display -
                   6750: # set programmer mode, select window 2, define window at last
                   6751: # line of memory, set bkgnd stat mesg there, select window 0.
                   6752: #
                   6753: # :ts: - to status line - select window 2, home cursor, erase to
                   6754: # end-of-window, 1/2 bright on, goto(line#0, col#?)
                   6755: #
                   6756: # :fs: - from status line - 1/2 bright off, select window 0
                   6757: #
                   6758: # :ds: - disable status display - set bkgnd status mesg with
                   6759: # illegal window #
                   6760: #
                   6761: # There are probably more function keys that should be added but
                   6762: # I don't know what they are.
1.1       deraadt  6763: #
1.13      millert  6764: # No delays needed on c108 because of ^S/^Q handshaking
1.1       deraadt  6765: #
1.13      millert  6766: c108|concept108|c108-8p|concept108-8p|concept 108 w/8 pages:\
                   6767:        :i2=\EU\E z"\Ev\001\177 \041p\E ;"\E z \Ev  \001\177p\Ep\n:\
                   6768:        :te=\Ev  \001\177p\Ep\r\n:\
                   6769:        :tc=c108-4p:
                   6770: c108-4p|concept108-4p|concept 108 w/4 pages:\
                   6771:        :bs:es:hs:xo:\
                   6772:        :pb@:\
                   6773:        :ac=jEkTl\mMqLxU:ae=\Ej :as=\Ej\041:\
                   6774:        :..cm=\Ea%p1%?%p1%{95}%>%t\001%{96}%-%;%{32}%+%c%p2%?%p2%{95}%>%t\001%{96}%-%;%{32}%+%c:\
                   6775:        :cr=^M:dc=\E 1:ds=\E ;\177:fs=\Ee\E z :i1=\EK\E\041\E F:\
                   6776:        :i2=\EU\E z"\Ev\177 \041p\E ;"\E z \Ev  \001 p\Ep\n:\
                   6777:        :sf=^J:te=\Ev  \001 p\Ep\r\n:ti=\EU\Ev  8p\Ep\r\E\025:\
                   6778:        :ts=\E z"\E?\E\005\EE\Ea %+ :ve=\Ew:vs=\EW:\
                   6779:        :tc=c100:
                   6780: c108-rv|c108-rv-8p|concept 108 w/8 pages in reverse video:\
                   6781:        :te=\Ev  \002 p\Ep\r\n:ti=\EU\Ev  8p\Ep\r:\
                   6782:        :tc=c108-rv-4p:
                   6783: c108-rv-4p|concept108rv4p|concept 108 w/4 pages in reverse video:\
                   6784:        :i1=\Ek:se=\Ee:so=\EE:vb=\EK\Ek:\
                   6785:        :tc=c108-4p:
                   6786: c108-w|c108-w-8p|concept108-w-8|concept108-w8p|concept 108 w/8 pages in wide mode:\
                   6787:        :co#132:\
                   6788:        :i1=\E F\E":te=\Ev  ^A0\001D\Ep\r\n:\
                   6789:        :ti=\EU\Ev  8\001D\Ep\r:tc=c108-8p:
                   6790:
                   6791: # Concept 100:
                   6792: # These have only window relative cursor addressing, not screen
                   6793: # relative. To get it to work right here, smcup/rmcup (which
                   6794: # were invented for the concept) lock you into a one page
                   6795: # window for screen style programs.
                   6796: #
                   6797: # To get out of the one page window, we use a clever trick:
                   6798: # we set the window size to zero ("\Ev    " in rmcup) which the
                   6799: # terminal recognizes as an error and resets the window to all
                   6800: # of memory.
                   6801: #
                   6802: # This trick works on c100 but does not on c108, sigh.
                   6803: #
                   6804: # Some tty drivers use cr3 for concept, others use nl3, hence
                   6805: # the delays on cr and ind below. This padding is only needed at
                   6806: # 9600 baud and up.  One or the other is commented out depending on
                   6807: # local conventions.
                   6808: #
                   6809: # 2 ms padding on :te: isn't always enough. 6 works fine. Maybe
                   6810: # less than 6 but more than 2 will work.
                   6811: #
                   6812: # Note: can't use function keys f7-f10 because they are
                   6813: # indistinguishable from arrow keys (!), also, del char and
                   6814: # clear eol use xon/xoff so they probably won't work very well.
                   6815: #
                   6816: # Also note that we don't define insrt/del char/delline/eop/send
                   6817: # because they don't transmit unless we reset them - I figured
                   6818: # it was a bad idea to clobber their definitions.
                   6819: #
                   6820: # The <mc5> sequence changes the escape character to ^^ so that
                   6821: # escapes will be passed through to the printer. Only trouble
                   6822: # is that ^^ won't be - ^^ was chosen to be unlikely.
                   6823: # Unfortunately, if you're sending raster bits through to be
                   6824: # plotted, any character you choose will be likely, so we lose.
1.1       deraadt  6825: #
1.13      millert  6826: # \EQ"\EY(^W (send anything from printer to host, for xon/xoff)
                   6827: # cannot be # in is2 because it will hang a c100 with no printer
                   6828: # if sent twice.
                   6829: c100|concept100|concept|c104|c100-4p|hds concept 100:\
                   6830:        :am:bs:eo:mi:ul:xn:\
                   6831:        :co#80:li#24:pb#9600:vt#8:\
                   6832:        :al=\E\022:bl=^G:cd=\E\005:ce=\E\025:cl=\E?\E\005:\
                   6833:        :cm=\Ea%+ %+ :cr=\r:dc=\E\021:dl=\E\002:do=^J:ei=\E  :\
                   6834:        :i1=\EK:i2=\Ev    \Ep\n:im=\E^P:ip=:\
                   6835:        :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:\
                   6836:        :k1=\E5:k2=\E6:k3=\E7:k4=\E8:k5=\E9:k6=\E\072a:k7=\E\072b:\
                   6837:        :k8=\E\072c:kA=\E^R:kB=\E':kD=\E^Q:kE=\E^S:kF=\E[:kI=\E^P:\
                   6838:        :kL=\E^B:kM=\E\0:kN=\E-:kP=\E.:kR=\E\:kS=\E^C:kT=\E]:kb=^H:\
                   6839:        :kd=\E<:ke=\Ex:kh=\E?:kl=\E>:kr=\E=:ks=\EX:kt=\E_:ku=\E;:\
                   6840:        :le=^H:mb=\EC:me=\EN@:mh=\EE:mk=\EH:mp=\EI:mr=\ED:nd=\E=:\
                   6841:        :pf=\036o \E\EQ\041\EYP\027:\
                   6842:        :po=\EQ"\EY(\027\EYD\Eo \036:rp=\Er%.%+ :se=\Ed:sf=^J:\
                   6843:        :so=\ED:ta=\011:te=\Ev    \Ep\r\n:\
                   6844:        :ti=\EU\Ev  8p\Ep\r\E\025:ue=\Eg:up=\E;:us=\EG:vb=\Ek\EK:
                   6845: c100-rv|c100-rv-4p|concept100-rv|c100 rev video:\
                   6846:        :i1=\Ek:se=\Ee:so=\EE:vb=\EK\Ek:ve@:vs@:tc=c100:
                   6847: oc100|oconcept|c100-1p|old 1 page concept 100:\
                   6848:        :in:\
                   6849:        :i3@:tc=c100:
                   6850:
                   6851: # From: Walter Skorski <walt@genetics1.JMP.TJU.EDU>, 16-oct-1996.
                   6852: # Lots of notes, originally inline, but ncurses doesn't grok that.
1.1       deraadt  6853: #
1.13      millert  6854: # am:  not available in power on mode, but turned on with \E[=107;207h in
                   6855: #      is2=.  Also, \E=124l in is2= could have been used to prevent needing
                   6856: #      to specify xenl:, but that would have rendered the last space on the
                   6857: #      last line useless.
                   6858: # bw:  Not available in power on mode, but turned on with \E[=107;207h in
                   6859: #      is2=.
                   6860: # clear: Could be done with \E[2J alone, except that vi (and probably most
                   6861: #      other programs) assume that this also homes the cursor.
                   6862: # dsl: Go to window 2, go to the beginning of the line, use a line feed to
                   6863: #      scroll the window, and go back to window 1.
                   6864: # is2: the string may cause a warning to be issued by tic that it
                   6865: #      found a very long line and that it suspects that a comma is missing
                   6866: #      somewhere.  This warning can be ignored (unless it comes up more than
                   6867: #      once).  The initialization string contains the following commands:
                   6868: #
                   6869: #       [Setup mode items changed from factory defaults:]
                   6870: #              \E)0                    set alternate character set to
                   6871: #                                              graphics
                   6872: #              ^O                      set character set to default
                   6873: #       [In case it wasn't]
                   6874: #              \E[m                    turn off all attributes
                   6875: #       [In case they weren't off]
                   6876: #              \E[=107;                cursor wrap and
                   6877: #                      207h                    character wrap on
                   6878: #              \E[90;3u                set Fkey definitions to "transmit"
                   6879: #                                              defaults
                   6880: #              \E[92;3u                set cursor key definitions to
                   6881: #                                              "transmit" defaults
                   6882: #              \E[43;1u                set shift F13 to transmit...
                   6883: #              \177\E$P\177
                   6884: #              \E[44;1u                set shift F14 to transmit...
                   6885: #                      \177\E$Q\177
                   6886: #              \E[45;1u                set shift F15 to transmit...
                   6887: #                      \177\E$R\177
                   6888: #              \E[46;1u                set shift F16 to transmit...
                   6889: #                      \177\E$S\177
                   6890: #              \E[200;1u               set shift up to transmit...
                   6891: #                      \177\E$A\177
                   6892: #              \E[201;1u               set shift down to transmit...
                   6893: #                      \177\E$B\177
                   6894: #              \E[202;1u               set shift right to transmit...
                   6895: #                      \177\E$C\177
                   6896: #              \E[203;1u               set shift left to transmit...
                   6897: #                      \177\E$D\177
                   6898: #              \E[204;1u               set shift home to transmit...
                   6899: #                      \177\E$H\177
                   6900: #              \E[212;1u               set backtab to transmit...
                   6901: #                      \177\E$I\177
                   6902: #              \E[213;1u               set shift backspace to transmit...
                   6903: #                      \177\E$^H\177
                   6904: #              \E[214;1u               set shift del to transmit...
                   6905: #                      "\E$\177"
                   6906: #       [Necessary items not mentioned in setup mode:]
                   6907: #              \E[2!w                  move to window 2
                   6908: #              \E[25;25w               define window as line 25 of memory
                   6909: #              \E[!w                   move to window 1
                   6910: #              \E[2*w                  show current line of window 2 as
                   6911: #                                              status line
                   6912: #              \E[2+x                  set meta key to use high bit
                   6913: #              \E[;3+}                 move underline to bottom of character
                   6914: #
                   6915: #      All Fkeys are set to their default transmit definitions with \E[90;3u
                   6916: #      in is2=.  IMPORTANT:  to use this terminal definition, the "quit" stty
                   6917: #      setting MUST be redefined or deactivated, because the default is
                   6918: #      contained in almost all of this terminal's Fkey strings!  If for some
                   6919: #      reason "quit" cannot be altered, the Fkeys can, but it would be
                   6920: #      necessary to change ^| to ^] in all of these definitions, and add
                   6921: #      \E[2;029!t to is2.
                   6922: # lines: is set to 24 because this terminal refuses to treat the 25th
                   6923: #      line normally.
                   6924: # ll:  Not available in power on mode, but turned on with \E[=107;207h in
                   6925: #      is2=.
                   6926: # lm:  Pointless, given that this definition locks a single screen of
                   6927: #      memory into view, but what the hey...
                   6928: # rmso: Could use \E[1;7!{ to turn off only bold and reverse (leaving any
                   6929: #      other attributes alone), but some programs expect this to turn off
                   6930: #      everything.
                   6931: # rmul: Could use \E[4!{ to turn off only underline (leaving any other
                   6932: #      attributes alone), but some programs expect this to turn off
                   6933: #      everything.
                   6934: # sgr: Attributes are set on this terminal with the string \E[ followed by
                   6935: #      a list of attribute code numbers (in decimal, separated by
                   6936: #      semicolons), followed by the character m.  The attribute code
                   6937: #      numbers are:
                   6938: #                1 for bold;
                   6939: #                2 for dim (which is ignored in power on mode);
                   6940: #                4 for underline;
                   6941: #                5 for blinking;
                   6942: #                7 for inverse;
                   6943: #                8 for not displayable; and
                   6944: #              =99 for protected (except that there are strange side
                   6945: #              effects to protected characters which make them inadvisable).
                   6946: #       The mapping of terminfo parameters to attributes is as follows:
                   6947: #              %p1 (standout) = bold and inverse together;
                   6948: #              %p2 (underline) = underline;
                   6949: #              %p3 (reverse) = inverse;
                   6950: #              %p4 (blink) = blinking;
                   6951: #              %p5 (dim) is ignored;
                   6952: #              %p6 (bold) = bold;
                   6953: #              %p7 (invisible) = not displayable;
                   6954: #              %p8 (protected) is ignored; and
                   6955: #              %p9 (alt char set) = alt char set.
                   6956: #       The code to do this is:
                   6957: #              \E[0            OUTPUT  \E[0
                   6958: #              %?%p1%p6%O      IF      (standout; bold) OR
                   6959: #              %t;1            THEN    OUTPUT  ;1
                   6960: #              %;              ENDIF
                   6961: #              %?%p2           IF      underline
                   6962: #              %t;4            THEN    OUTPUT  ;4
                   6963: #              %;              ENDIF
                   6964: #              %?%p4           IF      blink
                   6965: #              %t;5            THEN    OUTPUT  ;5
                   6966: #              %;              ENDIF
                   6967: #              %?%p1%p3%O      IF      (standout; reverse) OR
                   6968: #              %t;7            THEN    OUTPUT  ;7
                   6969: #              %;              ENDIF
                   6970: #              %?%p7           IF      invisible
                   6971: #              %t;8            THEN    OUTPUT  ;8
                   6972: #              %;              ENDIF
                   6973: #              m               OUTPUT  m
                   6974: #              %?%p9           IF      altcharset
                   6975: #              %t^N            THEN    OUTPUT  ^N
                   6976: #              %e^O            ELSE    OUTPUT  ^O
                   6977: #              %;              ENDIF
                   6978: # sgr0: Everything is turned off (including alternate character set), since
                   6979: #      there is no way of knowing what it is that the program wants turned
                   6980: #      off.
                   6981: # smul: The "underline" attribute is reconfigurable to an overline or
                   6982: #      strikethru, or (as done with \E[;3+} in is2=), to a line at the true
                   6983: #      bottom of the character cell.  This was done to allow for more readable
                   6984: #      underlined characters, and to be able to distinguish between an
                   6985: #      underlined space, an underscore, and an underlined underscore.
                   6986: # xenl: Terminal can be configured to not need this, but this "glitch"
                   6987: #      behavior is actually preferable with autowrap terminals.
                   6988: #
                   6989: # Parameters kf31= thru kf53= actually contain the strings sent by the shifted
                   6990: # Fkeys.  There are no parameters for shifted Fkeys in terminfo.  The is2
                   6991: # string modifies the 'O' in kf43 to kf46 to a '$'.
                   6992: #
                   6993: # kcbt was originally ^I but redefined in is2=.
                   6994: # kHOM was \E[H originally but redefined in is2=, as were a number of
                   6995: # other keys.
                   6996: # kDC was originally \177 but redefined in is2=.
                   6997: #
                   6998: # kbs: Shift was also ^H originally but redefined as \E$^H in is2=.
                   6999: # tsl: Go to window 2, then do an hpa=.
                   7000: #
                   7001: #------- flash=\E[8;3!}^G\E[3;3!}
                   7002: #------- flash=\E[?5h$<100>\E[?5l
                   7003: # There are two ways to flash the screen, both of which have their drawbacks.
                   7004: # The first is to set the bell mode to video, transmit a bell character, and
                   7005: # set the bell mode back - but to what?  There is no way of knowing what the
                   7006: # user's old bell setting was before we messed with it.  Worse, the command to
                   7007: # set the bell mode also sets the key click volume, and there is no way to say
                   7008: # "leave that alone", or to know what it's set to, either.
                   7009: # The second way to do a flash is to set the screen to inverse video, pad for a
                   7010: # tenth of a second, and set it back - but like before, there's no way to know
                   7011: # that the screen wasn't ALREADY in inverse video, or that the user may prefer
                   7012: # it that way.  The point is moot anyway, since vi (and probably other
                   7013: # programs) assume that by defining flash=, you want the computer to use it
                   7014: # INSTEAD of bel=, rather than as a secondary type of signal.
                   7015: #
                   7016: #------- cvvis=\E[+{
                   7017: # The is the power on setting, which is also as visible as the cursor
                   7018: # gets.
                   7019: #-------  wind=\E[%i%p1%d;%p2%d;%p3%{1}%+%d;%p4%{1}%+%dw
                   7020: # Windowing is possible, but not defined here because it is also used to
                   7021: # emulate status line functions.  Allowing a program to set a window could
                   7022: # clobber the status line or render it unusable.  There is additional memory,
                   7023: # but screen scroll functions are destructive and do not make use of it.
                   7024: #
                   7025: #-------   dim=                        Not available in power on mode.
                   7026: # You have a choice of defining low intensity characters as "half bright" and
                   7027: # high intensity as "normal", or defining low as "normal" and high as "bold".
                   7028: # No matter which you choose, only one of either "half bright" or "bold" is
                   7029: # available at any time, so taking the time to override the default is
                   7030: # pointless.
                   7031: #
                   7032: #-------  prot=\E[=0;99m
                   7033: # Not defined, because it appears to have some strange side effects.
                   7034: #------- pfkey=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%du\177%p2%s\177%;
                   7035: #------- pfloc=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%du\177%p2%s\177%;
                   7036: #-------   pfx=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%d;1u\177%p2%s\177%;
                   7037: #       Available, but making them available to programs is inadvisable.
                   7038: #       The code to do this is:
                   7039: #              %?%p1%{24}%<    IF      ((key; 24) <;
                   7040: #              %p1%{30}%>               ((key; 30) >;
                   7041: #              %p1%{54}%<                (key; 54) <
                   7042: #              %A                       ) AND
                   7043: #              %O                      ) OR
                   7044: #       [that is, "IF key < 24 OR (key > 30 AND key < 54)",]
                   7045: #              %t\E[           THEN    OUTPUT  \E[
                   7046: #              %p1%d                   OUTPUT  (key) as decimal
                   7047: #       [next line applies to pfx only]
                   7048: #              ;1                      OUTPUT  ;1
                   7049: #              u                       OUTPUT  u
                   7050: #              \177                    OUTPUT  \177
                   7051: #              %p2%s                   OUTPUT  (string) as string
                   7052: #              \177                    OUTPUT  \177
                   7053: #       [DEL chosen as delimiter, but could be any character]
                   7054: #       [implied:              ELSE    do nothing]
                   7055: #              %;              ENDIF
                   7056: #
                   7057: #-------   rs2=
                   7058: # Not defined since anything it might do could be done faster and easier with
                   7059: # either Meta-Shift-Reset or the main power switch.
                   7060: #
                   7061: #-------  smkx=\E[1!z
                   7062: #-------  rmkx=\E[!z
                   7063: # These sequences apply to the cursor and setup keys only, not to the
                   7064: # numeric keypad.  But it doesn't matter anyway, since making these
                   7065: # available to programs is inadvisable.
                   7066: # For the key definitions below, all sequences beginning with \E$ are
                   7067: # custom and programmed into the terminal via is2.  \E$ also has no
                   7068: # meaning to any other terminal.
                   7069: #
                   7070: #------- cmdch=\E[;%p1%d!t
                   7071: # Available, but making it available to programs is inadvisable.
                   7072: #------- smxon=\E[1*q
                   7073: # Available, but making it available to programs is inadvisable.
                   7074: # Terminal will send XON/XOFF on buffer overflow.
                   7075: #------- rmxon=\E[*q
                   7076: # Available, but making it available to programs is inadvisable.
                   7077: # Terminal will not notify on buffer overflow.
                   7078: #-------   smm=\E[2+x
                   7079: #-------   rmm=\E[+x
                   7080: # Available, but making them available to programs is inadvisable.
                   7081: #
                   7082: # Printing:
                   7083: #       It's not made clear in the manuals, but based on other ansi/vt type
                   7084: #       terminals, it's a good guess that this terminal is capable of both
                   7085: #       "transparent print" (which doesn't copy data to the screen, and
                   7086: #       therefore needs mc5i: specified to say so) and "auxilliary print"
                   7087: #       (which does duplicate printed data on the screen, in which case mc4=
                   7088: #       and mc5= should use the \E[?4i and \E[?5i strings instead).
1.1       deraadt  7089: #
1.13      millert  7090: # (esr: I have commented out is2 in order to avoid overflowing termcap's
                   7091: # 1024-byte limit.)
1.1       deraadt  7092:
1.13      millert  7093: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   7094: # (sgr removed to fit entry within 1023 bytes)
                   7095: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
                   7096: hds200|Human Designed Systems HDS200:\
                   7097:        :am:bw:es:hs:km:mi:ms:xn:xo:\
                   7098:        :co#80:it#8:li#24:lm#0:\
                   7099:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   7100:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
                   7101:        :bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
                   7102:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[B:\
                   7103:        :ds=\E[2\041w\r\n\E[\041w:ei=\E[4l:fs=\E[\041w:ho=\E[H:\
                   7104:        :im=\E[4h:k1=^\001\r:k2=^\002\r:k3=^\003\r:k4=^\004\r:\
                   7105:        :k5=^\005\r:k6=^\006\r:k7=^\007\r:k8=^\008\r:k9=^\009\r:\
                   7106:        :kD=\177:kN=\E[U:kP=\E[V:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
                   7107:        :kr=\E[C:ku=\E[A:le=\E[D:ll=\E[H\E[A:mb=\E[0;5m:\
                   7108:        :md=\E[0;1m:me=\E[m\017:mr=\E[0;7m:nd=\E[C:nw=\E[E:rc=\E8:\
                   7109:        :sc=\E7:se=\E[m\017:sf=\ED:so=\E[0;1;7m:sr=\EM:st=\EH:\
                   7110:        :ta=^I:ts=\E[2\041w\E[%i%p1%dG:ue=\E[m\017:up=\E[A:\
                   7111:        :us=\E[0;4m:ve=\E[+{:vi=\E[6+{:
1.1       deraadt  7112:
1.13      millert  7113: # :ta: through :ce: included to specify padding needed in raw mode.
                   7114: # (avt-ns: added empty <acsc> to suppress a tic warning --esr)
1.3       deraadt  7115: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   7116: # (sgr removed to fit entry within 1023 bytes)
                   7117: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.13      millert  7118: avt-ns|concept avt no status line:\
                   7119:        :am:bs:eo:mi:ul:xn:xo:\
                   7120:        :co#80:it#8:li#24:lm#192:\
                   7121:        :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:\
                   7122:        :RI=\E[%dC:UP=\E[%dA:ae=\016:al=\E[L:as=\017:bl=^G:bt=\E[Z:\
1.2       deraadt  7123:        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
1.13      millert  7124:        :cs=\E[%i%d;%dr:ct=\E[2g:dc=\E[P:dl=\E[M:do=^J:ei=\E4l:\
                   7125:        :ho=\E[H:i1=\E[=103l\E[=205l:ic=\E[@:im=\E1:ip=:\
                   7126:        :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:\
                   7127:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kD=\E^B\r:kI=\E^A\r:kb=^H:\
                   7128:        :kd=\E[B:ke=\E[\041z\E[0;2u:kh=\E[H:kl=\E[D:kr=\E[C:\
                   7129:        :ks=\E[1\041z\E[0;3u:ku=\E[A:le=^H:ll=\E[24H:mb=\E[5m:\
                   7130:        :md=\E[1m:me=\E[m:mh=\E[1\041{:mr=\E[7m:nd=\E[C:rc=\E8:\
                   7131:        :sc=\E7:se=\E[7\041{:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=\011:\
                   7132:        :te=\E[w\E2\r\n:ti=\E[=4l\E[1;24w\E2\r:ue=\E[4\041{:\
                   7133:        :up=\E[A:us=\E[4m:ve=\E[=119l:vs=\E[=119h:
                   7134: avt-rv-ns|concept avt in reverse video mode/no status line:\
                   7135:        :i1=\E[=103l\E[=205h:vb=\E[=205l\E[=205h:\
                   7136:        :tc=avt-ns:
                   7137: avt-w-ns|concept avt in 132 column mode/no status line:\
                   7138:        :i1=\E[=103h\E[=205l:ti=\E[H\E[1;24;1;132w:\
                   7139:        :tc=avt-ns:
                   7140: avt-w-rv-ns|concept avt in 132 column mode/no status line/reverse video:\
                   7141:        :i1=\E[=103h\E[=205h:ti=\E[H\E[1;24;1;132w:\
                   7142:        :vb=\E[=205l\E[=205h:tc=avt-ns:
1.1       deraadt  7143:
1.13      millert  7144: # Concept AVT with status line. We get the status line using the
                   7145: # "Background status line" feature of the terminal. We swipe the
                   7146: # first line of memory in window 2 for the status line, keeping
                   7147: # 191 lines of memory and 24 screen lines for regular use.
                   7148: # The first line is used instead of the last so that this works
                   7149: # on both 4 and 8 page AVTs. (Note the lm#191 or 192 - this
                   7150: # assumes an 8 page AVT but lm isn't currently used anywhere.)
                   7151: #
                   7152: avt+s|concept avt status line changes:\
1.1       deraadt  7153:        :es:hs:\
1.13      millert  7154:        :lm#191:\
                   7155:        :ds=\E[0*w:fs=\E[1;1\041w:\
                   7156:        :i2=\E[2w\E[2\041w\E[1;1;1;80w\E[H\E[2*w\E[1\041w\E2\r\n:\
                   7157:        :te=\E[2w\E2\r\n:ti=\E[2;25w\E2\r:\
                   7158:        :ts=\E[2;1\041w\E[;%p1%dH\E[2K:
                   7159: avt|avt-s|concept-avt|avt w/80 columns:\
                   7160:        :tc=avt+s:tc=avt-ns:
                   7161: avt-rv|avt-rv-s|avt reverse video w/sl:\
                   7162:        :i1=\E[=103l\E[=205h:vb=\E[=205l\E[=205h:tc=avt+s:tc=avt-ns:
                   7163: avt-w|avt-w-s|concept avt 132 cols+status:\
                   7164:        :i1=\E[=103h\E[=205l:ti=\E[H\E[1;24;1;132w:tc=avt+s:tc=avt-ns:
                   7165: avt-w-rv|avt-w-rv-s|avt wide+status+rv:\
                   7166:        :i1=\E[=103h\E[=205h:ti=\E[H\E[1;24;1;132w:\
                   7167:        :vb=\E[=205l\E[=205h:tc=avt+s:\
                   7168:        :tc=avt-ns:
1.1       deraadt  7169:
1.13      millert  7170: #### Contel Business Systems.
1.1       deraadt  7171: #
1.13      millert  7172:
                   7173: # Contel c300 and c320 terminals.
                   7174: contel300|contel320|c300|Contel Business Systems C-300 or C-320:\
                   7175:        :am:in:xo:\
                   7176:        :co#80:li#24:sg#1:\
                   7177:        :al=\EL:bl=^G:cd=\EJ:ce=\EI:cl=\EK:cm=\EX%+ \EY%+ :cr=^M:\
                   7178:        :ct=\E3:dc=\EO:dl=\EM:do=^J:ei=:ho=\EH:ic=\EN:im=:ip=:k0=\ERJ:\
                   7179:        :k1=\ERA:k2=\ERB:k3=\ERC:k4=\ERD:k5=\ERE:k6=\ERF:k7=\ERG:\
                   7180:        :k8=\ERH:k9=\ERI:kb=^H:le=^H:ll=\EH\EA:me=\E\041\0:nd=\EC:\
                   7181:        :se=\E\041\0:sf=^J:so=\E\041\r:st=\E1:up=\EA:\
                   7182:        :vb=\020\002\020\003:
                   7183: # Contel c301 and c321 terminals.
                   7184: contel301|contel321|c301|c321|Contel Business Systems C-301 or C-321:\
                   7185:        :ei=:ic@:im=:ip@:se=\E\041\0:so=\E\041\r:vb@:\
                   7186:        :tc=contel300:
                   7187:
                   7188: #### Data General (dg)
1.1       deraadt  7189: #
1.13      millert  7190: # According to James Carlson <carlson@xylogics.com> writing in January 1995,
                   7191: # the terminals group at Data General was shut down in 1991; all these
                   7192: # terminals have thus been discontinued.
1.5       tholo    7193: #
1.1       deraadt  7194:
1.13      millert  7195: # According to the 4.4BSD termcap file, the dg200 :cm: should be the
                   7196: # termcap equivalent of \020%p2%{128}%+%c%p1%{128}%+%c (in termcap
                   7197: # notation that's "^P%r%+\200%+\200").  Those \200s are suspicious,
                   7198: # maybe they were originally nuls (which would fit).
                   7199: dg200|data general dasher 200:\
                   7200:        :NL:am:bs:bw:\
1.1       deraadt  7201:        :co#80:li#24:\
1.13      millert  7202:        :bl=^G:ce=^K:cl=^L:cm=\020%r%.%.:cr=^M:do=^Z:ho=^H:k0=^^z:\
                   7203:        :k1=^^q:k2=^^r:k3=^^s:k4=^^t:k5=^^u:k6=^^v:k7=^^w:k8=^^x:\
                   7204:        :k9=^^y:kd=^Z:kh=^H:kl=^Y:kr=^X:ku=^W:l0=f10:le=^Y:nd=^X:\
                   7205:        :nw=^J:se=^^E:sf=^J:so=^^D:ue=^U:up=^W:us=^T:
                   7206: # Data General 210/211 (and 410?)      from Lee Pearson (umich!lp) via BRL
                   7207: dg210|dg-ansi|Data General 210/211:\
                   7208:        :am:\
1.1       deraadt  7209:        :co#80:li#24:\
1.13      millert  7210:        :cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:do=\E[B:ho=\E[H:\
                   7211:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:nl=\E[B:\
                   7212:        :nw=\r\E[H\E[A\n:se=\E[0;m:so=\E[7;m:ue=\E[0;m:up=\E[A:\
                   7213:        :us=\E[4;m:
                   7214: # From: Peter N. Wan <ihnp4!gatech!gacsr!wan>
                   7215: # courtesy of Carlos Rucalde of Vantage Software, Inc.
                   7216: # (dg211: this had :cm=\020%r%.%:., which was an ancient termcap hangover.
                   7217: # I suspect the d200 function keys actually work on the dg211, check it out.)
                   7218: dg211|Data General d211:\
                   7219:        :k0@:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:k9@:kb=^Y:l0@:nw=^M^Z:\
                   7220:        :se=\036E\0/>:sf@:so=5\036D:ta=^I:te=^L:ti=^L^R:ve=^L:\
                   7221:        :vs=^L^R:\
                   7222:        :tc=dg200:
                   7223: # dg450 from cornell
                   7224: dg450|dg6134|data general 6134:\
                   7225:        :le@:nd=^X:tc=dg200:
                   7226: # Note: lesser Dasher terminals will not work with vi because vi insists upon
                   7227: # having a command to move straight down from any position on the bottom line
                   7228: # and scroll the screen up, or a direct vertical scroll command.  The 460 and
                   7229: # above have both, the D210/211, for instance, has neither.  We must use ANSI
                   7230: # mode rather than DG mode because standard UNIX tty drivers assume that ^H is
                   7231: # backspace on all terminals.  This is not so in DG mode.
                   7232: # (dg460-ansi: removed obsolete ":kn#6:"; also removed ":mu=\EW:", on the
                   7233: # grounds that there is no matching ":ml:"
                   7234: # fixed garbled ":k9=\E[00\:z:" capability -- esr)
                   7235: dg460-ansi|Data General Dasher 460 in ANSI-mode:\
                   7236:        :am:bs:ms:ul:\
1.1       deraadt  7237:        :co#80:it#8:li#24:\
1.13      millert  7238:        :al=\E[L:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%2;%2H:dc=\E[P:\
                   7239:        :dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:is=^^F@:k0=\E[001z:\
                   7240:        :k1=\E[002z:k2=\E[003z:k3=\E[004z:k4=\E[005z:k5=\E[006z:\
                   7241:        :k6=\E[007z:k7=\E[008z:k8=\E[009z:k9=\E[010z:kb=\E[D:\
                   7242:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:l0=f1:l1=f2:l2=f3:\
                   7243:        :l3=f4:l4=f5:l5=f6:l6=f7:l7=f8:l9=f10:le=^H:mb=\E[5m:me=\E[m:\
                   7244:        :mh=\E[2m:mr=\E[7m:nd=\E[C:nl=\ED:se=\E[m:sf=\E[S:so=\E[7m:\
                   7245:        :sr=\E[T:ta=^I:ue=\E[05:up=\E[A:us=\E[4m:
                   7246: # From: Wayne Throop <mcnc!rti-sel!rtp47!throopw>
                   7247: # Data General 605x
                   7248: # Ought to work for a Model 6242, Type D210 as well as a 605x.
                   7249: # Note that the cursor-down key transmits ^Z.  Job control users, beware!
                   7250: # This also matches a posted description of something called a `Dasher 100'
                   7251: # so there's a dg100 alias here.
                   7252: # (dg6053: the 4.4BSD file had :le=^H:, :do=^J:, :nd=^S:. -- esr)
                   7253: dg6053|dg100|data general 6053:\
                   7254:        :am:bs:bw:ul:\
1.1       deraadt  7255:        :co#80:li#24:\
1.13      millert  7256:        :bc=^Y:bl=^G:ce=^K:cl=^L:cm=\020%r%.%.:cr=^M:do=^Z:ho=^H:\
                   7257:        :is=^R:k0=^^q:k1=^^r:k2=^^s:k3=^^t:k4=^^u:k5=^^v:k6=^^w:\
                   7258:        :k7=^^x:k8=^^y:k9=^^z:kb=^Y:kd=^Z:kh=^H:kl=^Y:kr=^X:ku=^W:\
                   7259:        :le=^Y:nd=^X:se=\0^^E:so=\0\0\0\0\0\036D:ta=^I:te=^L:\
                   7260:        :ti=^L^R:ue=^U:up=^W:us=^T:ve=^L:vs=^L^R:
1.1       deraadt  7261:
1.13      millert  7262: #### Datamedia (dm)
                   7263: #
                   7264: # Datamedia was headquartered in Nashua, New Hampshire in 1993.
                   7265: # As of early 1996, at least one company called `Datamedia' has been taken
                   7266: # over by:
                   7267: #
                   7268: #    Axent Technologies, Inc.
                   7269: #    2400 Research Boulevard
                   7270: #    Rockville, Maryland 20850
                   7271: #    voice: +1 301/258-5043
                   7272: #      fax: +1 301/330-5756
                   7273: #    email: <info@axent.com>
1.1       deraadt  7274: #
1.13      millert  7275: # makers of OmniGuard client/server security software.  They are a software
                   7276: # only company and no longer make terminals.  However, the operator there
                   7277: # told me that she had once spoken to a customer looking for Datamedia
                   7278: # terminals who'd mentioned a Datamedia in New Jersey.  This is backed up
                   7279: # by comp.terminals poosting describing the ID plate on the back of a
                   7280: # "Datamedia 3000" terminal.  Was this an earlier incarnation of Axent?
                   7281: # Inquiring minds want to know...
1.1       deraadt  7282: #
                   7283:
1.13      millert  7284: cs10|colorscan|Datamedia Color Scan 10:\
                   7285:        :ms:\
1.1       deraadt  7286:        :co#80:li#24:\
1.13      millert  7287:        :bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%02;%02H:cr=^M:\
                   7288:        :do=^J:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kd=\E[B:kl=\E[D:\
                   7289:        :kr=\E[C:ku=\E[A:le=^H:me=\E[m:nd=\E[C:se=\E[m:sf=^J:\
                   7290:        :so=\E[7m:ue=\E[m:up=\E[A:us=\E[4m:
                   7291: cs10-w|Datamedia Color Scan 10 with 132 columns:\
                   7292:        :co#132:\
                   7293:        :cm=\E[%i%02;%03H:tc=cs10:
                   7294:
                   7295: # (dm1520: removed obsolete ":ma=^\ ^_^P^YH:" -- esr)
                   7296: dm1520|dm1521|datamedia 1520:\
1.8       tholo    7297:        :am:bs:xn:\
1.13      millert  7298:        :co#80:it#8:li#24:\
                   7299:        :bl=^G:cd=^K:ce=^]:cl=^L:cm=\036%r%+ %+ :cr=^M:do=^J:ho=^Y:\
                   7300:        :kd=^J:kh=^Y:kl=^H:kr=^\:ku=^_:le=^H:nd=^\:sf=^J:ta=^I:up=^_:
                   7301: # dm2500: this terminal has both :IC: and :im:. Applications using
                   7302: # termcap/terminfo directly (rather than through ncurses) might be confused.
                   7303: dm2500|datamedia2500|datamedia 2500:\
                   7304:        :bs:nc:\
1.2       deraadt  7305:        :co#80:li#24:\
1.13      millert  7306:        :al=\020\n\030\035\030\035:bl=^G:ce=^W:cl=^^^^\177:\
                   7307:        :cm=\014%r%n%.%.:dc=\020\010\030\035:\
                   7308:        :dl=\020\032\030\035:dm=^P:do=^J:ed=^X^]:\
                   7309:        :ei=\377\377\030\035:ho=^B:ic=\020\034\030\035:im=^P:\
                   7310:        :le=^H:nd=^\:pc=\377:se=^X^]:sf=^J:so=^N:up=^Z:
                   7311: # dmchat is like DM2500, but DOES need "all that padding" (jcm 1/31/82)
                   7312: # also, has a meta-key.
                   7313: # From: <goldberger@su-csli.arpa>
                   7314: # (dmchat: ":MT:" changed to ":km:" -- esr)
                   7315: dmchat|dmchat version of datamedia 2500:\
                   7316:        :km:\
                   7317:        :al=1*\020\n\030\035\030\035:dl=2\020\032\030\035:tc=dm2500:
                   7318: # (dm3025: ":MT:" changed to ":km:" -- esr)
                   7319: dm3025|datamedia 3025a:\
                   7320:        :bs:km:\
1.8       tholo    7321:        :co#80:it#8:li#24:\
1.13      millert  7322:        :al=\EP\n\EQ:bl=^G:cd=\EJ:ce=\EK:cl=\EM:cm=\EY%r%+ %+ :\
                   7323:        :cr=^M:dc=\010:dl=\EP\EA\EQ:dm=\EP:do=^J:ed=\EQ:ei=\EQ:\
                   7324:        :ho=\EH:im=\EP:ip=:is=\EQ\EU\EV:le=^H:nd=\EC:se=\EO0:sf=^J:\
                   7325:        :so=\EO1:ta=^I:up=\EA:
                   7326: dm3045|datamedia 3045a:\
                   7327:        :am:bs:eo:km@:ul:xn:\
                   7328:        :al@:dc=\EB:dl@:dm@:ed@:ei=\EP:is=\EU\EV:k0=\Ey\r:k1=\Ep\r:\
                   7329:        :k2=\Eq\r:k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:k7=\Ev\r:\
                   7330:        :k8=\Ew\r:k9=\Ex\r:kh=\EH:kr=\EC:ku=\EA:pc=\177:se@:so@:\
                   7331:        :tc=dm3025:
                   7332: # Datamedia DT80 soft switches:
                   7333: # 1    0=Jump  1=Smooth
                   7334: #      Autorepeat      0=off  1=on
                   7335: #      Screen          0=Dark 1=light
                   7336: #      Cursor          0=u/l  1=block
                   7337: #
                   7338: # 2    Margin Bell     0=off  1=on
                   7339: #      Keyclick        0=off  1=on
                   7340: #      Ansi/VT52       0=VT52 1=Ansi
                   7341: #      Xon/Xoff        0=Off  1=On
                   7342: #
                   7343: # 3    Shift3          0=Hash 1=UK Pound
                   7344: #      Wrap            0=Off  1=On
                   7345: #      Newline         0=Off  1=On
                   7346: #      Interlace       0=Off  1=On
                   7347: #
                   7348: # 4    Parity          0=Odd  1=Even
                   7349: #      Parity          0=Off  1=On
                   7350: #      Bits/Char       0=7    1=8
                   7351: #      Power           0=60Hz 1=50Hz
                   7352: #
                   7353: # 5    Line Interface  0=EIA  1=Loop
                   7354: #      Aux Interface   0=EIA  1=Loop
                   7355: #      Local Copy      0=Off  1=On
                   7356: #      Spare
                   7357: #
                   7358: # 6    Aux Parity      0=Odd  1=Even
                   7359: #      Aux Parity      0=Off  1=On
                   7360: #      Aux Bits/Char   0=7    1=8
                   7361: #      CRT Saver       0=Off  1=On
                   7362: # dm80/1 is a vt100 lookalike, but it doesn't seem to need any padding.
                   7363: dm80|dmdt80|dt80|datamedia dt80/1:\
                   7364:        :cd=\E[J:ce=\E[K:cl=\E[2J\E[H:cm=%i\E[%d;%dH:do=^J:\
                   7365:        :ho=\E[H:me=\E[m:nd=\E[C:pf=\E[4i:po=\E[5i:ps=\E[0i:\
                   7366:        :se=\E[m:so=\E[7m:sr=\EM:ue=\E[m:up=\E[A:us=\E[4m:\
                   7367:        :tc=vt100:
                   7368: # except in 132 column mode, where it needs a little padding.
                   7369: # This is still less padding than the vt100, and you can always turn on
                   7370: # the ^S/^Q handshaking, so you can use vt100 flavors for things like
                   7371: # reverse video.
                   7372: dm80w|dmdt80w|dt80w|datamedia dt80/1 in 132 char mode:\
1.8       tholo    7373:        :co#132:\
1.13      millert  7374:        :cd=20\E[0J:ce=20\E[0K:cl=50\E[H\E[2J:cm=5\E[%i%d;%dH:\
                   7375:        :do=^J:up=5\E[A:\
                   7376:        :tc=dm80:
                   7377: # From: Adam Thompson <thompson@xanth.magic.mb.ca> Sept 10 1995
                   7378: dt80-sas|Datamedia DT803/DTX for SAS usage:\
                   7379:        :am:bw:\
                   7380:        :co#80:li#24:\
                   7381:        :ac=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~:\
                   7382:        :ae=\EG:al=\EL:as=\EF:bl=^G:cd=^K:ce=^]:cl=^L:\
                   7383:        :cm=\E=%r%+ %+ :cr=^M:\
                   7384:        :..cs=\E=%p1%' '%+%c%' '%c\E#1\E=%p2%' '%+%c%' '%c\E#2:\
                   7385:        :ct=\E'0:dl=\EM:do=\EB:ff=^L:ho=^Y:is=\E)0\E<\EP\E'0\E$2:\
                   7386:        :kC=^L:kE=^]:kS=^K:kd=^J:kh=^Y:kl=^H:kr=^\:ku=^_:le=^H:me=^X:\
                   7387:        :mr=\E$2\004:nd=^\:pf=^O:po=^N:se=^X:sf=\EB:so=\E$2\004:\
                   7388:        :sr=\EI:st=\E'1:ta=^I:up=^_:
1.1       deraadt  7389:
1.13      millert  7390: # Datamedia Excel 62, 64 from Gould/SEL UTX/32 via BRL
                   7391: # These aren't end-all Excel termcaps; but do insert/delete char/line
                   7392: # and name some of the extra function keys.  (Mike Feldman ccvaxa!feldman)
                   7393: # The naming convention has been bent somewhat, with the use of E? (where
                   7394: # E is for 'Excel') as # a name.  This was done to distinguish the entries
                   7395: # from the other Datamedias in use here, and yet to associate a model of
                   7396: # the Excel terminals with the regular datamedia terminals that share
                   7397: # major characteristics.
                   7398: excel62|excel64|datamedia Excel 62:\
                   7399:        :dc=\E[P:ei=\E[4l:im=\E[4h:k5=\EOu:k6=\EOv:k7=\EOw:k8=\EOx:\
                   7400:        :k9=\EOy:kb=^H:kd=^J:kl=^H:\
                   7401:        :tc=dt80:
                   7402: excel62-w|excel64-w|datamedia Excel 62 in 132 char mode:\
                   7403:        :dc=\E[P:ei=\E[4l:im=\E[4h:k5=\EOu:k6=\EOv:k7=\EOw:k8=\EOx:\
                   7404:        :k9=\EOy:kb=^H:kd=^J:kl=^H:\
                   7405:        :tc=dt80w:
                   7406: excel62-rv|excel64-rv|datamedia Excel 62 in reverse video mode:\
                   7407:        :dc=\E[P:ei=\E[4l:im=\E[4h:k5=\EOu:k6=\EOv:k7=\EOw:k8=\EOx:\
                   7408:        :k9=\EOy:kb=^H:kd=^J:kl=^H:vb=\E[?5l\E[?5h:\
                   7409:        :tc=dt80:
1.1       deraadt  7410:
1.13      millert  7411: #### Falco
                   7412: #
                   7413: #      Falco Data Products
                   7414: #      440 Potrero Avenue
                   7415: #      Sunnyvale, CA 940864-196
                   7416: #      Vox: (800)-325-2648
                   7417: #      Fax: (408)-745-7860
                   7418: #      Net: techsup@charm.sys.falco.com
                   7419: #
                   7420: # Current Falco models as of 1995 are generally ANSI-compatible and support
                   7421: # emulations of DEC VT-series, Wyse, and Televideo types.
1.1       deraadt  7422: #
                   7423:
1.13      millert  7424: # Test version for Falco ts-1. See <arpavax.hickman@ucb> for info
                   7425: # This terminal was released around 1983 and was discontinued long ago.
                   7426: # The standout and underline highlights are the same.
                   7427: falco|ts1|ts-1|falco ts-1:\
1.8       tholo    7428:        :am:bs:\
1.13      millert  7429:        :co#80:it#8:li#24:\
                   7430:        :al=\EE:bl=^G:cd=\EY:ce=\ET\EG0\010:cl=\E*:cm=\E=%+ %+ :\
                   7431:        :cr=^M:dc=\EW:dl=\ER:do=^J:ei=\Er:ho=^^:im=\Eq:is=\Eu\E3:\
                   7432:        :k0=^A0\r:kd=^J:kl=^H:kr=^L:ku=^K:le=^H:me=\Eg0:nd=^L:\
                   7433:        :se=\Eg0:sf=^J:so=\Eg1:ta=^I:ue=\Eg0:up=^K:us=\Eg1:
                   7434: falco-p|ts1p|ts-1p|falco ts-1 with paging option:\
                   7435:        :am:bs:da:db:mi:ms:ul:\
                   7436:        :co#80:it#8:li#24:\
                   7437:        :al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET\EG0\010\Eg0:cl=\E*:\
                   7438:        :cm=\E=%+ %+ :cr=^M:dc=\EW:dl=\ER:do=\E[B:ei=\Er:im=\Eq:\
                   7439:        :is=\EZ\E3\E_c:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
                   7440:        :le=^H:me=\Eg0:nd=\E[C:se=\Eg0:sf=^J:so=\Eg4:ta=^I:te=\E_b:\
                   7441:        :ti=\E_d:ue=\Eg0:up=\E[A:us=\Eg1:
                   7442: # (ts100: I added <rmam>/<smam> based on the init string -- esr)
                   7443: ts100|ts100-sp|falco ts100-sp:\
                   7444:        :am:mi:ms:xn:xo:\
                   7445:        :co#80:it#8:li#24:vt#3:\
                   7446:        :@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
                   7447:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
                   7448:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
                   7449:        :ae=^O:al=\E~E:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
                   7450:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
                   7451:        :ct=\E[3g:dc=\E~W:dl=\E~R:do=^J:eA=\E(B\E)0:ei=:ho=\E[H:\
                   7452:        :i1=\E~)\E~ea:ic=\E~Q:im=:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:\
                   7453:        :k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:\
                   7454:        :kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
                   7455:        :ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:\
                   7456:        :nd=\E[C:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
                   7457:        :..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
                   7458:        :sc=\E7:se=\E[m:sf=^J:so=\E[1;7m:sr=\EM:st=\EH:ta=^I:\
                   7459:        :ue=\E[m:up=\E[A:us=\E[4m:
                   7460: ts100-ctxt|falco ts-100 saving context:\
                   7461:        :te=\E~_b:ti=\E~_d\E[2J:tc=ts100:
1.8       tholo    7462:
1.13      millert  7463: #### Florida Computer Graphics
1.5       tholo    7464: #
1.13      millert  7465:
                   7466: # Florida Computer Graphics Beacon System, using terminal emulator program
                   7467: # "host.com", as provided by FCG.  This description is for an early release
                   7468: # of the "host" program.  Known bug: :cd: clears the whole screen, so it's
                   7469: # commented out.
                   7470:
                   7471: # From: David Bryant <cbosg!djb> 1/7/83
                   7472: beacon|FCG Beacon System:\
                   7473:        :am:da:db:\
                   7474:        :co#80:li#32:\
                   7475:        :al=\EE:bl=\ESTART\r\E37\r\EEND\r:ce=\ET:cl=\EZ:\
                   7476:        :cm=\E=%+ %+ :cr=^M:dc=\EW:dl=\ER:do=^J:ei=:ho=\EH:ic=\EQ:\
                   7477:        :im=:le=^H:mb=\ESTART\r\E61\0541\r\EEND\r:\
                   7478:        :me=\ESTART\r\E78\r\E70\0540\r\EEND\r:\
                   7479:        :mr=\ESTART\r\E59\0541\r\EEND\r:nd=\EV:\
                   7480:        :se=\ESTART\r\E70\0540\r\EEND\r:sf=^J:\
                   7481:        :so=\ESTART\r\E70\0546\r\EEND\r:te=:\
                   7482:        :ti=\ESTART\r\E2\0540\r\E12\r\EEND\r:\
                   7483:        :ue=\ESTART\r\E60\0540\r\EEND\r:up=\EU:\
                   7484:        :us=\ESTART\r\E60\0541\r\EEND\r:
                   7485:
                   7486: #### Fluke
1.5       tholo    7487: #
                   7488:
1.13      millert  7489: # The f1720a differences from ANSI: no auto margin, destructive
                   7490: # tabs, # of lines, funny highlighting and underlining
                   7491: f1720|f1720a|fluke 1720A:\
                   7492:        :xt:\
                   7493:        :co#80:li#16:sg#1:\
                   7494:        :bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
                   7495:        :do=\E[B:is=\E[H\E[2J:kd=^]:kl=^_:kr=^^:ku=^\:le=^H:me=\E[m:\
                   7496:        :nd=\E[C:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ue=\E[m:up=\E[A:\
                   7497:        :us=\E[4m:
                   7498:
                   7499: #### Liberty Electronics (Freedom)
1.5       tholo    7500: #
1.13      millert  7501: #      Liberty Electronics
                   7502: #      48089 Fremont Blvd
                   7503: #      Fremont CA 94538
                   7504: #      Vox: (510)-623-6000
                   7505: #      Fax: (510)-623-7021
1.5       tholo    7506:
1.13      millert  7507: # From: <faletti@berkeley.edu>
                   7508: # (f100: added empty <acsc> to suppress a tic warning;
                   7509: # made this relative to adm+sgr -- note that <invis> isn't
                   7510: # known to work for f100 but does on the f110. --esr)
                   7511: f100|freedom|freedom100|freedom model 100:\
                   7512:        :am:bs:bw:hs:mi:ms:xo:\
                   7513:        :co#80:li#24:\
                   7514:        :ac=:ae=\E$:al=\EE:as=\E%:bl=^G:bt=\EI:cd=\EY:ce=\ET:\
                   7515:        :ch=\E]%+ :cl=^Z:cm=\E=%+ %+ :cr=^M:ct=\E3:cv=\E[%+ :\
                   7516:        :dc=\EW:dl=\ER:do=^J:ds=\Eg\Ef\r:ei=\Er:fs=^M:ho=^^:im=\Eq:\
                   7517:        :ip=:is=\Eg\Ef\r\Ed:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
                   7518:        :k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:\
                   7519:        :kB=\EI:kb=^H:kd=^V:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:sf=^J:\
                   7520:        :sr=\Ej:st=\E1:ta=^I:ts=\Eg\Ef:up=^K:vb=\Eb\Ed:\
                   7521:        :tc=adm+sgr:
                   7522: f100-rv|freedom-rv|freedom 100 in reverse video:\
                   7523:        :is=\Eg\Ef\r\Eb:vb=\Ed\Eb:tc=f100:
                   7524: # The f110 and f200 have problems with vi(1).  They use the ^V
                   7525: # code for the down cursor key. When kcud1 is defined in terminfo
                   7526: # as ^V, the Control Character Quoting capability (^V in insert mode)
                   7527: # is lost! It cannot be remapped in vi because it is necessary to enter
                   7528: # a ^V to to quote the ^V that is being remapped!!!
                   7529: #
                   7530: # f110/f200 users will have to decide whether
                   7531: # to lose the down cursor key or the quoting capability. We will opt
                   7532: # initially for leaving the quoting capability out, since use of VI
                   7533: # is not generally applicable to most interactive applications
                   7534: # (f110: added :ta:, :kh: & <kcbt> from f100 -- esr)
                   7535: f110|freedom110|Liberty Freedom 110:\
                   7536:        :bw@:es:\
                   7537:        :it#8:ws#80:\
                   7538:        :ae=\E%%:al=\EE:as=\E$:dl=\ER:do=^V:ds=\Ef\r:ei=\Er\EO:\
                   7539:        :im=\EO\Eq:ip@:is@:k0=^AI\r:k;@:kA=\EE:kC=^^:kD=\EW:kE=\ET:\
                   7540:        :kI=\EQ:kL=\ER:kS=\EY:mb=\EG2:md=\EG0:mh=\EG@:pf=\Ea:po=\E`:\
                   7541:        :so=\EG<:sr=\EJ:ts=\Ef:vb=\Eb\Ed:ve=\E.2:vi=\E.1:vs=\E.2:\
                   7542:        :tc=f100:
                   7543: f110-14|Liberty Freedom 110 14inch:\
                   7544:        :dc@:tc=f110:
                   7545: f110-w|Liberty Freedom 110 - 132 cols:\
                   7546:        :co#132:tc=f110:
                   7547: f110-14w|Liberty Freedom 110 14in/132 cols:\
                   7548:        :co#132:\
                   7549:        :dc@:tc=f110:
                   7550: # (f200: added <acsc> to suppress tic warnings re :as:/:ae: --esr)
                   7551: f200|freedom200|Liberty Freedom 200:\
                   7552:        :am:bs:es:hs:mi:ms:xo:\
                   7553:        :co#80:it#8:li#24:ws#80:\
                   7554:        :ac=:ae=\E%%:al=\EE:as=\E$:bl=^G:bt=\EI:cd=\EY:ce=\ET:\
                   7555:        :ch=\E]%+ :cl=^Z:cm=\E=%+ %+ :cr=^M:cs=\Em0%+ %+ :ct=\E3:\
                   7556:        :cv=\E[%+ :dc=\EW:dl=\ER:do=^V:ds=\Ef\r:ei=\Er:fs=^M:ho=^^:\
                   7557:        :im=\Eq:k0=^AI\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
                   7558:        :k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=\EE:kC=^^:\
                   7559:        :kD=\EW:kE=\ET:kI=\EQ:kL=\ER:kS=\EY:kb=^H:kd=^V:kl=^H:kr=^L:\
                   7560:        :ku=^K:le=^H:mb=\EG2:md=\EG0:mh=\EG@:nd=^L:pf=\Ea:po=\E`:\
                   7561:        :sf=^J:so=\EG<:sr=\EJ:st=\E1:ts=\Ef:up=^K:vb=\Eo\En:ve=\E.1:\
                   7562:        :vi=\E.0:vs=\E.1:\
                   7563:        :tc=adm+sgr:
                   7564: f200-w|Liberty Freedom 200 - 132 cols:\
                   7565:        :co#132:tc=f200:
                   7566: # The f200 has the ability to reprogram the down cursor key. The key is
                   7567: # reprogrammed to ^J (linefeed). This value is remembered in non-volatile RAM,
                   7568: # so powering the terminal off and on will not cause the change to be lost.
                   7569: f200vi|Liberty Freedom 200 for vi:\
                   7570:        :kd=^J:vb=\Eb\Ed:tc=f200:
                   7571: f200vi-w|Liberty Freedom 200 - 132 cols for vi:\
                   7572:        :co#132:tc=f200vi:
1.1       deraadt  7573:
1.13      millert  7574: #### GraphOn (go)
                   7575: #
                   7576: #      Graphon Corporation
                   7577: #      544 Division Street
                   7578: #      Campbell, CA 95008
                   7579: #      Vox: (408)-370-4080
                   7580: #      Fax: (408)-370-5047
                   7581: #      Net: troy@graphon.com (Troy Morrison)
1.1       deraadt  7582: #
1.5       tholo    7583: #
1.13      millert  7584: # The go140 and go225 have been discontinued.  GraphOn now makes X terminals,
                   7585: # including one odd hybrid that starts out life on power-up as a character
                   7586: # terminal, than can be switched to X graphics mode (driven over the serial
                   7587: # line) by an escape sequence.  No info on this beast yet.
                   7588: # (go140: I added <rmam>/<smam> based on the init string -- esr)
                   7589: go140|graphon go-140:\
                   7590:        :bs:\
                   7591:        :co#80:it#8:li#24:\
                   7592:        :RA=\E[?7l:SA=\E[?7h:al=\E[L:cd=10\E[J:ce=\E[K:\
                   7593:        :cl=10\E[H\E[2J:cm=\E[%i%2;%2H:dc=\E[P:dl=\E[M:ei=\E[4l:\
                   7594:        :if=/usr/share/tabset/vt100:im=\E[4h:\
                   7595:        :is=\E<\E=\E[?3l\E[?7l\E(B\E[J\E7\E[;r\E8\E[m\E[q:\
                   7596:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kd=\EOB:ke=\E[?1l\E>:\
                   7597:        :kh=\E[H:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
                   7598:        :me=\E[m:nd=\E[C:se=\E[m:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:\
                   7599:        :up=\E[A:us=\E[4m:
                   7600: go140w|graphon go-140 in 132 column mode:\
                   7601:        :am:\
                   7602:        :co#132:\
                   7603:        :is=\E<\E=\E[?3h\E[?7h\E(B\E[J\E7\E[;r\E8\E[m\E[q:tc=go140:
                   7604: # Hacked up vt200 termcap to handle GO-225/VT220
                   7605: # From: <edm@nwnexus.WA.COM>
                   7606: # (go225: I added <rmam>/<smam> based on the init string -- esr)
                   7607: go225|go-225|Graphon 225:\
                   7608:        :am:bs:mi:xn:\
                   7609:        :co#80:it#8:li#25:vt#3:\
                   7610:        :RA=\E[?7l:SA=\E[?7h:al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
                   7611:        :cm=\E[%i%d;%dH:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=^J:\
                   7612:        :ei=\E[4l:ho=\E[H:im=\E[4h:\
                   7613:        :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:k1=\EOP:k2=\EOQ:\
                   7614:        :k3=\EOR:k4=\EOS:kb=^H:kd=\E[B:ke=\E>:kh=\E[H:kl=\E[D:\
                   7615:        :kr=\E[C:ks=\E=:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:\
                   7616:        :mr=\E[7m:nd=\E[C:r1=\E[\041p\E[?7h\E[2;1;1#w:rc=\E8:\
                   7617:        :rf=/usr/share/tabset/vt100:sc=\E7:se=\E[27m:sf=\ED:\
                   7618:        :so=\E[7m:sr=\EM:ta=^I:te=\E[\041p\E[?7h\E[2;1;1#w:\
                   7619:        :ti=\E[2;0#w\E[1;25r:ue=\E[24m:up=\E[A:us=\E[4m:
1.1       deraadt  7620:
1.13      millert  7621: #### Harris (Beehive)
                   7622: #
                   7623: # Bletch.  These guys shared the Terminal Brain Damage laurels with Hazeltine.
                   7624: # Their terminal group is ancient history now (1995) though the parent
                   7625: # company is still in business.
1.1       deraadt  7626: #
1.13      millert  7627:
                   7628: # Beehive documentation is undated and marked Preliminary and has no figures
                   7629: # so we must have early Superbee2 (Model 600, according to phone conversation
                   7630: # with mfr.). It has proved reliable except for some missing padding
                   7631: # (notably after \EK and <nl> at bottom of screen).
1.1       deraadt  7632: #
1.13      millert  7633: # The key idea is that AEP mode is poison for :cm: & that US's in
                   7634: # the local memory should be avoided like the plague. That means
                   7635: # that the 2048 character local buffer is used as 25 lines of 80
                   7636: # characters, period. No scrolling local memory, folks. It also
                   7637: # appears that we cannot use naked INS LINE feature since it uses
                   7638: # US. The sbi fakes :al: with an 80-space insert that may be too
                   7639: # slow at low speeds; also spaces get converted to \040 which is
                   7640: # too long for some programs (not vi).  DEL LINE is ok but slow.
1.1       deraadt  7641: #
1.13      millert  7642: # The <nl> string is designed for last line of screen ONLY; cup to
                   7643: # 25th line corrects the motion inherent in scrolling to Page 1.
1.1       deraadt  7644: #
1.13      millert  7645: # There is one understood bug. It is that the screen appears to
                   7646: # pop to a new (blank) page after a :nw:, or leave a half-line
                   7647: # ellipsis to a quad that is the extra 48 memory locations. The
                   7648: # data received is dumped into memory but not displayed.  Not to
                   7649: # worry if :cm: is being used; the lines not displayed will be,
                   7650: # whenever the cursor is moved up there. Since :cm: is addressed
                   7651: # relative to MEMORY of window, nothing is lost; but beware of
                   7652: # relative cursor motion (:up:,:do:,:nd:,:le:). Recommended,
                   7653: # therefore, is setenv MORE -c .
1.1       deraadt  7654: #
1.13      millert  7655: # WARNING: Not all features tested.
1.1       deraadt  7656: #
1.13      millert  7657: # Timings are assembled from 3 sources. Some timings may reflect
                   7658: # SB2/Model 300 that were used if more conservative.
                   7659: # Tested on a Model 600 at 1200 and 9600 bd.
1.1       deraadt  7660: #
1.13      millert  7661: # The BACKSPACEkb option is cute. The NEWLINE key, so cleverly
                   7662: # placed on the keyboard and useless because of AEP, is made
                   7663: # into a backspace key. In use ESC must be pressed twice (to send)
                   7664: # and sending ^C must be prefixed by ESC to avoid that weird
                   7665: # transmit mode associated with ENTER key.
1.1       deraadt  7666: #
1.13      millert  7667: # IF TERMINAL EVER GOES CATATONIC with the cursor buzzing across
                   7668: # the screen, then it has dropped into ENTER mode; hit
                   7669: # RESET--ONLINE--!tset.
1.1       deraadt  7670: #
1.13      millert  7671: # As delivered this machine has a FATAL feature that will throw
                   7672: # it into that strange transmit state (SPOW) if the space bar is
                   7673: # hit after a CR is received, but before receiving a LF (or a
                   7674: # few others).
1.1       deraadt  7675: #
1.13      millert  7676: # The circuits MUST be modified to eliminate the SPOW latch.
                   7677: # This is done by strapping on chip A46 of the I/O board; cut
                   7678: # the p.c. connection to Pin 5 and strap Pin 5 to Pin 8 of that
                   7679: # chip. This mod has been checked out on a Mod 600 of Superbee II.
                   7680: # With this modification absurdly high timings on cr are
                   7681: # unnecessary.
1.1       deraadt  7682: #
1.13      millert  7683: # NOTE WELL that the rear panel switch should be set to CR/LF,
                   7684: # not AEP!
                   7685: #
                   7686: sb1|beehive superbee:\
                   7687:        :am:bs:bw:da:db:mi:ul:xb:\
                   7688:        :co#80:li#25:sg#1:\
                   7689:        :al=\EN\EL\EQ                                                                                \EP \EO\ER\EA:\
                   7690:        :bl=^G:bt=\E`:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EF%r%03%03:cr=\r:\
                   7691:        :ct=\E3:dc=\EP:dl=\EM:do=^J:ei=\ER:ho=\EH:im=\EQ\EO:\
                   7692:        :is=\EE\EX\EZ\EO\Eb\Eg\ER:k0=\E2:k1=\Ep:k2=\Eq:k3=\Er:\
                   7693:        :k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:k9=\E1:kE=\EK:kI=\EQ\EO:\
                   7694:        :kL=\EM:kM=\ER:kS=\EJ:kb=^_:kd=\EB:kh=\EH:kl=\ED:kr=\EC:\
                   7695:        :ku=\EA:l0=TAB CLEAR:l9=TAB SET:le=^H:me=\E_3:nd=\EC:\
                   7696:        :se=\E_3:sf=^J:so=\E_1:st=\E1:ta=^I:te=:ti=\EO:ue=\E_3:\
                   7697:        :up=\EA:us=\E_0:
                   7698: sbi|superbee|beehive superbee at Indiana U.:\
                   7699:        :xb:\
                   7700:        :al=1\EN\EL\EQ \EP \EO\ER\EA:cr=\r:tc=sb1:
                   7701: # Alternate (older) description of Superbee - f1=escape, f2=^C.
                   7702: # Note: there are at least 3 kinds of superbees in the world.  The sb1
                   7703: # holds onto escapes and botches ^C's.  The sb2 is the best of the 3.
                   7704: # The sb3 puts garbage on the bottom of the screen when you scroll with
                   7705: # the switch in the back set to CRLF instead of AEP.  This description
                   7706: # is tested on the sb2 but should work on all with either switch setting.
                   7707: # The f1/f2 business is for the sb1 and the :xb: can be taken out for
                   7708: # the other two if you want to try to hit that tiny escape key.
                   7709: # This description is tricky: being able to use cup depends on there being
                   7710: # 2048 bytes of memory and the hairy <nl> string.
                   7711: superbee-xsb|beehive super bee:\
                   7712:        :am:da:db:xb:\
                   7713:        :co#80:it#8:li#25:\
                   7714:        :cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EF%r%3%3:cr=\r:ct=\E3:dc=\EP:\
                   7715:        :dl=\EM:do=^J:ho=\EH:is=\EH\EJ:k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:\
                   7716:        :k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:kd=\EB:kh=\EH:kl=\ED:kr=\EC:\
                   7717:        :ku=\EA:le=^H:me=\E_3:nd=\EC:se=\E_3:\
                   7718:        :sf=\n\0\0\0\n\0\0\0\EA\EK\0\0\0\ET\ET:so=\E_1:st=\E1:\
                   7719:        :ta=^I:up=\EA:ve=^J:
                   7720: # This loses on lines > 80 chars long, use at your own risk
                   7721: superbeeic|super bee with insert char:\
                   7722:        :ei=\ER:ic=:im=\EQ:tc=superbee-xsb:
                   7723: sb2|sb3|fixed superbee:\
                   7724:        :xb@:tc=superbee:
                   7725:
                   7726: # Reports are that most of these Beehive entries (except superbee) have not
                   7727: # been tested and do not work right.  :se: is a trouble spot.  Be warned.
                   7728:
                   7729: # (bee: :ic: was empty, which is obviously bogus -- esr)
                   7730: beehive|bee|harris beehive:\
                   7731:        :am:bs:mi:\
                   7732:        :co#80:li#24:\
                   7733:        :al=\EL:bt=\E>:cd=\EJ:ce=\EK:cl=\EE:cm=\EF%+ %+ :dc=\EP:\
                   7734:        :dl=\EM:do=\EB:ei=\E@:ho=\EH:im=\EQ:kA=\EL:kB=\E>:kC=\EE:\
                   7735:        :kD=\EP:kE=\EK:kI=\EQ:kL=\EM:kM=\E@:kb=^H:kd=\EB:kh=\EH:\
                   7736:        :kl=\ED:kr=\EC:ku=\EA:le=^H:me=\Ed@:nd=\EC:se=\Ed@:so=\EdP:\
                   7737:        :ue=\Ed@:up=\EA:us=\Ed`:
                   7738: # set tab is ^F, clear (one) tab is ^V, no way to clear all tabs.
                   7739: # good grief - does this entry make :sg:/:ug: when it doesn't have to?
                   7740: # look at those spaces in :se:/:so:.  Seems strange to me...
                   7741: # (beehive: :if=/usr/share/tabset/beehive: removed, no such file.  If you
                   7742: # really care, cook up one using ^F -- esr)
                   7743: beehive3|bh3m|beehiveIIIm|harris beehive 3m:\
                   7744:        :am:bs:\
                   7745:        :co#80:it#8:li#20:\
                   7746:        :al=\023:bl=^G:cd=^R:ce=^P:cl=^E^R:cr=^M:dl=\021:do=^J:ho=^E:\
                   7747:        :le=^H:ll=^E^K:nd=^L:se= ^_:sf=^J:so=^] :st=^F:ta=^I:up=^K:
                   7748: beehive4|bh4|beehive 4:\
                   7749:        :am:\
                   7750:        :co#80:li#24:\
                   7751:        :bl=^G:cd=\EJ:ce=\EK:cl=\EE:cr=^M:do=^J:ho=\EH:le=\ED:nd=\EC:\
                   7752:        :sf=^J:up=\EA:
                   7753: microb|microbee|micro bee series:\
                   7754:        :am:bs:\
                   7755:        :co#80:it#8:li#24:\
                   7756:        :bl=^G:cd=\EJ:ce=\EK:cl=\EE:cm=\EF%+ %+ :cr=^M:do=^J:k1=\Ep:\
                   7757:        :k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:k9=\Ex:\
                   7758:        :kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:me=\Ed@:nd=\EC:\
                   7759:        :se=\Ed@:sf=^J:so= \EdP:ta=^I:ue=\Ed@:up=\EA:us=\Ed`:
1.1       deraadt  7760:
1.13      millert  7761: # 8675, 8686, and bee from Cyrus Rahman
                   7762: # (8675: changed k10, k11...k16 to k;, F1...F6 -- esr)
                   7763: ha8675|harris 8675:\
                   7764:        :F1=^W:F2=\ER:F3=\EE:F4=\EI:F5=\Ei:F6=\Eg:\
                   7765:        :is=\ES\E#\E*\Eh\Em\E?\E1\E9\E@\EX\EU:k1=^F:k2=^P:k3=^N:\
                   7766:        :k4=^V:k5=^J:k6=^T:k7=^H:k8=\177:k9=\Ee:k;=\Ed:\
                   7767:        :tc=bee:
                   7768: # (8686: changed k10, k11...k16 to k;, F1...F6; fixed broken continuation
                   7769: # in :is: -- esr)
                   7770: ha8686|harris 8686:\
                   7771:        :F1=\EW:F2=\002\E{\003:F3=\002\E|\003:F4=\002\E}\003:\
                   7772:        :F5=\002\E~\003:F6=\002\E\177\003:\
                   7773:        :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#:\
                   7774:        :k1=\002\Ep\003:k2=\002\Eq\003:k3=\002\Er\003:\
                   7775:        :k4=\002\Es\003:k5=\E3:k6=\EI:k7=\ER:k8=\EJ:k9=\E(:k;=\Ej:tc=bee:
1.1       deraadt  7776:
1.13      millert  7777: #### Hazeltine
                   7778: #
                   7779: # Hazeltine appears to be out of the terminal business as of 1995.  These
                   7780: # guys were co-owners of the Terminal Brain Damage Hall Of Fame along with
                   7781: # Harris. They have a hazeltine.com domain (but no web page there ) and can
                   7782: # be reached at:
                   7783: #
                   7784: #      Hazeltine
                   7785: #      450 East Pulaski Road
                   7786: #      Greenlawn, New York 11740
1.1       deraadt  7787: #
1.13      millert  7788: # As late as 1993, manuals for the terminal product line could still be
                   7789: # purchased from:
1.1       deraadt  7790: #
1.13      millert  7791: #      TRW Customer Service Division
                   7792: #      15 Law Drive
                   7793: #      P.O. Box 2076
                   7794: #      Fairfield, NJ 07007-2078
1.1       deraadt  7795: #
1.13      millert  7796: # They're now (1998) a subsidiary of General Electric, operating under the
                   7797: # marque "GEC-Marconi Hazeltine" and doing military avionics.  Web page
                   7798: # at <http://www.gec.com/cpd/1ncpd.htm#1.55>.
1.1       deraadt  7799: #
                   7800:
1.13      millert  7801: # Since :nd: is blank, when you want to erase something you
                   7802: # are out of luck.  You will have to do ^L's a lot to
                   7803: # redraw the screen.  h1000 is untested.  It doesn't work in
                   7804: # vi - this terminal is too dumb for even vi.  (The code is
                   7805: # there but it isn't debugged for this case.)
                   7806: hz1000|hazeltine 1000:\
                   7807:        :bs:\
                   7808:        :co#80:li#12:\
                   7809:        :bl=^G:cl=^L:cr=^M:do=^J:ho=^K:le=^H:nd= :sf=^J:
                   7810: # From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
                   7811: hz1420|hazeltine 1420:\
                   7812:        :am:bs:\
                   7813:        :co#80:li#24:\
                   7814:        :al=\E^Z:bl=^G:cd=\E^X:ce=\E^O:cl=\E^\:cm=\E\021%r%.%+ :\
                   7815:        :cr=^M:dl=\E^S:do=^J:le=^H:nd=^P:se=\E^Y:sf=^J:so=\E^_:ta=^N:\
                   7816:        :up=\E^L:
                   7817: # New "safe" cursor movement (11/87) from <cgs@umd5.umd.edu>.  Prevents
                   7818: # freakout with out-of-range args and tn3270.  No hz since it needs to
                   7819: # receive tildes.
                   7820: hz1500|hazeltine 1500:\
                   7821:        :am:bs:hz:\
                   7822:        :co#80:li#24:\
                   7823:        :al=~\032:bl=^G:cd=~\030:ce=~^O:cl=~^\:\
                   7824:        :cm=~\021%r%>^^ %+`%+`:cr=^M:dl=~\023:do=~^K:ho=~^R:kd=^J:\
                   7825:        :kh=~^R:kl=^H:kr=^P:ku=~^L:le=^H:nd=^P:se=~^Y:sf=^J:so=~^_:\
                   7826:        :up=~^L:
                   7827: # h1510 assumed to be in sane escape mode.  Else use h1500.
                   7828: # (h1510: early versions of this entry apparently had ":se=\E^_:,
                   7829: # :so=\E^Y:, but these caps were commented out in 8.3; also,
                   7830: # removed incorrect and overridden ":do=^J:" -- esr)
                   7831: hz1510|hazeltine 1510:\
                   7832:        :am:bs:\
                   7833:        :co#80:li#24:\
                   7834:        :al=\E^Z:bl=^G:cd=\E^X:ce=\E^O:cl=\E^\:cm=\E\021%r%.%.:\
                   7835:        :cr=^M:dl=\E^S:do=\E^K:le=^H:nd=^P:sf=^J:up=\E^L:
                   7836: # Hazeltine 1520
                   7837: # The following switch settings are assumed for normal operation:
                   7838: #      FULL            CR              U/L_CASE        ESCAPE
                   7839: #      FORMAT_OFF      EOM_A_OFF       EOM_B_OFF       WRAPAROUND_ON
                   7840: # Other switches may be set for operator convenience or communication
                   7841: # requirements.
                   7842: hz1520|Hazeltine 1520:\
                   7843:        :am:bs:bw:ms:\
                   7844:        :co#80:li#24:\
                   7845:        :al=\E^Z:bl=^G:cd=\E^X:ce=\E^O:cl=\E^\:cm=\E\021%r%.%.:\
                   7846:        :cr=^M:dl=\E^S:do=^J:ho=\E^R:kA=\E^Z:kC=\E^\:kE=\E^O:\
                   7847:        :kL=\E^S:kS=\E^X:kb=^H:kd=\E^K:kh=\E^R:kl=^H:kr=^P:ku=\E^L:\
                   7848:        :le=^H:md=\E^_:me=\E^Y:nd=^P:r1=\E$\E\005\E?\E\031:\
                   7849:        :se=\E^Y:sf=^J:so=\E^_:up=\E^L:
                   7850: # This version works with the escape switch off
                   7851: # (h1520: removed incorrect and overridden ":do=^J:" -- esr)
                   7852: hz1520-noesc|hazeltine 1520:\
                   7853:        :am:hz:\
1.1       deraadt  7854:        :co#80:li#24:\
1.13      millert  7855:        :al=~^Z:bl=^G:cd=~^X:ce=~^O:cl=~^\:cm=~\021%r%.%.:cr=^M:\
                   7856:        :dl=~^S:do=~^K:ho=~^R:le=^H:nd=^P:se=~^Y:sf=^J:so=~^_:up=~^L:
                   7857: # Note: the h1552 appears to be the first Hazeltine terminal which
                   7858: # is not braindamaged.  It has tildes and backprimes and everything!
                   7859: # Be sure the auto lf/cr switch is set to cr.
                   7860: hz1552|hazeltine 1552:\
                   7861:        :bs:\
                   7862:        :al=\EE:dl=\EO:do=^J:k1=\EP:k2=\EQ:k3=\ER:l1=blue:l2=red:\
                   7863:        :l3=green:\
                   7864:        :tc=vt52:
                   7865: hz1552-rv|hazeltine 1552 reverse video:\
                   7866:        :do=^J:se=\ET:so=\ES:tc=hz1552:
                   7867: # Note: h2000 won't work well because of a clash between upper case and ~'s.
                   7868: hz2000|hazeltine 2000:\
                   7869:        :am:bs:nc:\
                   7870:        :co#74:li#27:\
                   7871:        :al=~\032:bl=^G:cl=~\034:cm=~\021%r%.%.:dl=~\023:do=^J:\
                   7872:        :ho=~^R:le=^H:pc=\177:sf=^J:
                   7873: # Date: Fri Jul 23 10:27:53 1982.  Some unknown person wrote:
                   7874: # I tested this termcap entry for the Hazeltine Esprit with vi. It seems
                   7875: # to work ok. There is one problem though if one types a lot of garbage
                   7876: # characters very fast vi seems not able to keep up and hangs while trying
                   7877: # to insert. That's in insert mode while trying to insert in the middle of
                   7878: # a line. It might be because the Esprit doesn't have insert char and delete
                   7879: # char as a built in function. Vi has to delete to end of line and then
                   7880: # redraw the rest of the line.
                   7881: esprit|Hazeltine Esprit I:\
                   7882:        :am:bs:bw:\
1.8       tholo    7883:        :co#80:li#24:\
1.13      millert  7884:        :al=\E^Z:bl=^G:bt=\E^T:cd=\E^W:ce=\E^O:cl=\E^\:\
                   7885:        :cm=\E\021%r%.%.:cr=^M:dl=\E^S:do=\E^K:ho=\E^R:is=\E?:\
                   7886:        :k0=^B0^J:k1=^B1^J:k2=^B2^J:k3=^B3^J:k4=^B4^J:k5=^B5^J:\
                   7887:        :k6=^B6^J:k7=^B7^J:k8=^B8^J:k9=^B9^J:kb=^H:kd=\E^K:ke=\E>:\
                   7888:        :kh=\E^R:kl=^H:kr=^P:ks=\E<:ku=\E^L:l0=0:l1=1:l2=2:l3=3:l4=4:\
                   7889:        :l5=5:l6=6:l7=7:l8=8:l9=9:le=^H:nd=^P:se=\E^Y:sf=^J:so=\E^_:\
                   7890:        :up=\E^L:
                   7891: esprit-am|hazeltine esprit auto-margin:\
                   7892:        :am:tc=esprit:
                   7893: # Hazeltine Modular-1 from Cliff Shackelton <ittvax!ittral!shackelt> via BRL
                   7894: # Vi it seems always wants to send a control J for "do" and it turned out
                   7895: # that the terminal would work somewhat if the auto LF/CR was turned off.
                   7896: # (hmod1: removed :dn=~^K: -- esr)
                   7897: hmod1|Hazeltine Modular 1:\
                   7898:        :am:bs:hz:\
1.1       deraadt  7899:        :co#80:li#24:\
1.13      millert  7900:        :al=~^Z:bl=^G:bt=~^T:cl=~^\:cm=~\021%r%.%.:cr=^M:dl=~^S:\
                   7901:        :do=~^K:ho=~^R:kd=~^K:kh=~^R:kl=^H:kr=^P:ku=~^L:le=^H:me=~^Y:\
                   7902:        :nd=^P:rc=~^Q:sc=~^E:se=~^Y:sf=^J:so=~^_:up=~^L:
                   7903: #
                   7904: # Hazeltine Executive 80 Model 30 (1554?)
                   7905: #      from  Will Martin <control@ALMSA-1.ARPA> via BRL
                   7906: # Like VT100, except for different "am" behavior.
                   7907: hazel|exec80|h80|he80|Hazeltine Executive 80:\
                   7908:        :am:bs:pt:\
                   7909:        :co#80:it#8:li#24:vt#3:\
                   7910:        :bl=^G:cd=50\E[J:ce=3\E[K:cl=50\E[;H\E[2J:\
                   7911:        :cm=5\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:do=^J:ho=\E[H:\
                   7912:        :is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
                   7913:        :kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
                   7914:        :ku=\EOA:le=^H:mb=2\E[5m:md=2\E[1m:me=2\E[m:mr=2\E[7m:\
                   7915:        :nd=2\E[C:nl=^J:r1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
                   7916:        :rc=\E8:rf=/usr/share/tabset/vt100:sc=\E7:se=2\E[m:\
                   7917:        :so=2\E[7m:sr=5\EM:ta=^I:ue=2\E[m:up=2\E[A:us=2\E[4m:
1.1       deraadt  7918:
1.13      millert  7919: #### Hewlett-Packard (hp)
1.1       deraadt  7920: #
1.13      millert  7921: #      Hewlett-Packard
                   7922: #      8000 Foothills Blvd
                   7923: #      Roseville, CA 95747
                   7924: #      Vox: 1-(916)-785-4363   (Technical response line for VDTs)
                   7925: #           1-(800)-633-3600   (General customer support)
1.8       tholo    7926: #
                   7927: #
1.13      millert  7928: # As of March 1998, HP no longer has any terminals in production.
                   7929: # The 700 series (22, 32, 41, 44, 92, 94, 96, 98) is still being
                   7930: # supported (they still have parts). So are the 2392a and 2394a.
                   7931: # See the WORKSTATION CONSOLES section for the 700s.
1.8       tholo    7932: #
1.1       deraadt  7933:
1.13      millert  7934: # Generic HP terminal - this should (hopefully) work on any HP terminal.
                   7935: hpgeneric|hp|hewlett-packard generic terminal:\
                   7936:        :am:bs:da:db:mi:pt:xs:\
                   7937:        :co#80:li#24:lm#0:vt#6:\
                   7938:        :al=\EL:bl=^G:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\EH\EJ:\
                   7939:        :cm=\E&a%r%dc%dY:cr=^M:ct=\E3:cv=\E&a%dY:dc=\EP:dl=\EM:\
                   7940:        :do=^J:ei=\ER:im=\EQ:kB=\Ei:kb=^H:le=^H:me=\E&d@:nd=\EC:\
                   7941:        :se=\E&d@:sf=^J:so=\E&dJ:st=\E1:ta=^I:ue=\E&d@:up=\EA:\
                   7942:        :us=\E&dD:
                   7943:
                   7944: hp110|hewlett-packard model 110 portable:\
                   7945:        :li#16:tc=hpgeneric:
1.1       deraadt  7946:
1.13      millert  7947: hp+pfk+cr|hp function keys with CR:\
                   7948:        :k1=\Ep\r:k2=\Eq\r:k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:\
                   7949:        :k7=\Ev\r:k8=\Ew\r:
1.5       tholo    7950:
1.13      millert  7951: hp+pfk-cr|hp function keys w/o CR:\
                   7952:        :k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:
1.1       deraadt  7953:
1.13      millert  7954: # The hp2621s use the same keys for the arrows and function keys,
                   7955: # but not separate escape sequences. These definitions allow the
                   7956: # user to use those keys as arrow keys rather than as function
                   7957: # keys.
                   7958: hp+pfk+arrows|hp alternate arrow definitions:\
                   7959:        :k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:kF=\Er\r:kH=\Eq\r:kR=\Es\r:\
                   7960:        :kd=\Ew\r:kh=\Ep\r:kl=\Eu\r:kr=\Ev\r:ku=\Et\r:
1.1       deraadt  7961:
1.13      millert  7962: hp+arrows|hp arrow definitions:\
                   7963:        :kF=\ES:kH=\EF:kR=\ET:kd=\EB:kh=\Eh:kl=\ED:kr=\EC:ku=\EA:
1.1       deraadt  7964:
1.13      millert  7965: # Generic stuff from the HP 262x series
1.1       deraadt  7966: #
1.13      millert  7967: hp262x|HP 262x terminals:\
                   7968:        :xs:\
                   7969:        :cd=\EJ:dc=\EP:ip=:kA=\EL:kD=\EP:kE=\EK:kF=\ES:kI=\EQ:kL=\EM:\
                   7970:        :kM=\ER:kN=\EU:kP=\EV:kR=\ET:kS=\EJ:kd=\EB:ke=\E&s0A:kh=\Eh:\
                   7971:        :kl=\ED:kr=\EC:ks=\E&s1A:ku=\EA:mb=\E&dA:me=\E&d@:mk=\E&dS:\
                   7972:        :mr=\E&dB:\
                   7973:        :..sa=\E&d%'@'%?%p1%t%'B'%|%;%?%p2%t%'D'%|%;%?%p3%t%'B'%|%;%?%p4%t%'A'%|%;%c:\
                   7974:        :se=\E&d@:sf=\ES:so=\E&dB:ta=\011:ue=\E&d@:us=\E&dD:
1.1       deraadt  7975:
1.13      millert  7976: # Note: no :ho: on HPs since that homes to top of memory, not screen.
                   7977: # Due to severe 2621 braindamage, the only way to get the arrow keys to
                   7978: # transmit anything at all is to turn on the function key labels
                   7979: # with :ks:, and even then the user has to hold down shift!
                   7980: # The default 2621 turns off the labels except when it has to to
                   7981: # enable the function keys. If your installation prefers labels
                   7982: # on all the time, or off all the time (at the "expense" of the
                   7983: # function keys), use 2621-nl or 2621-wl.
                   7984: #
                   7985: # Note: there are newer ROMs for 2621's that allow you to set
                   7986: # strap A so the regular arrow keys xmit \EA, etc, as with the
                   7987: # 2645. However, even with this strap set, the terminal stops
                   7988: # xmitting if you reset it, until you unset and reset the strap!
                   7989: # Since there is no way to set/unset the strap with an escape
                   7990: # sequence, we don't use it in the default.
                   7991: # If you like, you can use 2621-ba (brain-damaged arrow keys).
                   7992: hp2621-ba|2621 w/new rom and strap A set:\
                   7993:        :ke@:ks@:tc=hp+arrows:\
                   7994:        :tc=hp2621:
1.2       deraadt  7995:
1.13      millert  7996: # hp2621 with function labels. Most of the time they are off,
                   7997: # but inside vi, the function key labels appear. You have to
                   7998: # hold down shift to get them to xmit.
                   7999: hp2621|hp2621a|hp2621A|2621|2621a|2621A|hp2621-wl|2621-wl|hp 2621 w/labels:\
                   8000:        :is=\E&jA\r:ke=\E&jA:\
                   8001:        :tc=hp2621-fl:
                   8002: hp2621-fl|hp 2621:\
                   8003:        :xo:xs@:\
                   8004:        :pb#19200:\
                   8005:        :bt=\Ei:cm=\E&a%r%dc%dY:dc=\EP:ip=:is=\E&j@\r:ke=\E&j@:\
                   8006:        :ks=\E&jB:me=\E&d@:se=\E&d@:so=\E&dD:ta=\011:ue=\E&d@:\
                   8007:        :us=\E&dD:\
                   8008:        :tc=hp+pfk+cr:tc=hpgeneric:
1.1       deraadt  8009:
1.13      millert  8010: # To use hp2621p printer, setenv TERM=2621p, PRINTER=2612p
                   8011: hp2621p|hp 2621 with printer:\
                   8012:        :pf=\E&p13C:po=\E&p11C:tc=hp2621:
1.1       deraadt  8013:
1.13      millert  8014: hp2621p-a|hp2621p with fn as arrows:\
                   8015:        :tc=hp+pfk+arrows:tc=hp2621p:
1.1       deraadt  8016:
1.13      millert  8017: # hp2621 with k45 keyboard
                   8018: hp2621-k45|hp2621k45|k45|hp 2621 with 45 keyboard:\
                   8019:        :kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:\
                   8020:        :ku=\EA:\
                   8021:        :tc=hp2621:
1.1       deraadt  8022:
1.13      millert  8023: # 2621 using all 48 lines of memory, only 24 visible at any time.
                   8024: hp2621-48|48 line 2621:\
                   8025:        :li#48:\
                   8026:        :cm=\E&a%r%dc%dR:cv=\E&a%dR:ho=\EH:tc=hp2621:
1.1       deraadt  8027:
1.13      millert  8028: # 2621 with no labels ever. Also prevents vi delays on escape.
                   8029: hp2621-nl|hp 2621 with no labels:\
                   8030:        :kd@:ke@:kh@:kl@:kr@:ks@:ku@:tc=hp2621-fl:
1.1       deraadt  8031:
1.13      millert  8032: # Needed for UCB ARPAVAX console, since lsi-11 expands tabs
                   8033: # (wrong).
1.1       deraadt  8034: #
1.13      millert  8035: hp2621-nt|hp 2621 w/no tabs:\
                   8036:        :ta@:tc=hp2621:
1.1       deraadt  8037:
1.13      millert  8038: # Hp 2624 B with 4 or 10 pages of memory.
                   8039: #
                   8040: # Some assumptions are made with this entry. These settings are
                   8041: # NOT set up by the initialization strings.
1.1       deraadt  8042: #
1.13      millert  8043: # Port Configuration
                   8044: #      RecvPace=Xon/Xoff
                   8045: #      XmitPace=Xon/Xoff
                   8046: #      StripNulDel=Yes
1.1       deraadt  8047: #
1.13      millert  8048: # Terminal Configuration
                   8049: #      InhHndShk=Yes
                   8050: #      InhDC2=Yes
                   8051: #      XmitFnctn(A)=No
                   8052: #      InhEolWrp=No
1.1       deraadt  8053: #
1.13      millert  8054: # Note: the 2624 DOES have a true :ho:, believe it or not!
1.1       deraadt  8055: #
1.13      millert  8056: # The 2624 has an "error line" to which messages can be sent.
                   8057: # This is CLOSE to what is expected for a "status line". However,
                   8058: # after a message is sent to the "error line", the next carriage
                   8059: # return is EATEN and the "error line" is turned back off again!
                   8060: # So I guess we can't define :hs:, :es:, :ws:, :ds:, :fs:, :ts:.
1.1       deraadt  8061: #
1.13      millert  8062: # This entry supports emacs (and any other program that uses raw
                   8063: # mode) at 4800 baud and less. I couldn't get the padding right
                   8064: # for 9600.
                   8065: #
                   8066: # (hp2624: replaced NUL sequences in flash with mandatory pauses -- esr)
                   8067: hp2624|hp2624a|hp2624b|hp2624b-4p|Hewlett Packard 2624 B:\
                   8068:        :da:db:\
                   8069:        :lm#96:\
                   8070:        :vb=\E&w13F\E&w12F\E&w13F\E&w12F:tc=hp+labels:tc=scrhp:
                   8071:
                   8072: # This hp2626 entry does not use any of the fancy windowing stuff
                   8073: # of the 2626.
1.1       deraadt  8074: #
1.13      millert  8075: # Indeed, terminfo does not yet handle such stuff. Since changing
                   8076: # any window clears memory, it is probably not possible to use
                   8077: # this for screen opt.
1.1       deraadt  8078: #
1.13      millert  8079: # ed is incredibly slow most of the time - I am guessing at the
                   8080: # exact padding. Since the terminal uses xoff/xon this is intended
                   8081: # only for cost computation, so that the terminal will prefer el
                   8082: # or even dl1 which is probably faster!
1.1       deraadt  8083: #
1.13      millert  8084: # \ED\EJ\EC hack for ed from Ed Bradford - apparently ed is only
                   8085: # extra slow on the last line of the window.
1.1       deraadt  8086: #
1.13      millert  8087: # The padding probably should be changed.
                   8088: #
                   8089: hp2626|hp2626a|hp2626p|hp 2626:\
                   8090:        :da:db:\
                   8091:        :lm#0:pb#19200:\
                   8092:        :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:
                   8093:
                   8094: # This entry is for sysline. It allocates a 23 line window with
                   8095: # a 115 line workspace for regular use, and a 1 line window for
                   8096: # the status line.
1.1       deraadt  8097: #
1.13      millert  8098: # This assumes port 2 is being used.
                   8099: # Turn off horizontal line, Create ws #1 with 115 lines,
                   8100: # Create ws #2 with 1 line, Create window #1 lines 1-23,
                   8101: # Create window #2 lines 24-24, Attach cursor to workspace #1.
                   8102: # Note that this clears the tabs so it must be done by tset before
                   8103: # it sets the tabs.
                   8104: #
                   8105: hp2626-s|hp 2626 using only 23 lines:\
                   8106:        :es:hs:\
                   8107:        :li#23:\
                   8108:        :fs=\E&d@\E&w7f2p1I\E&w4f1I:\
                   8109:        :i1=\E&q3t0{0H \E&w0f115n1I \E&w0f1n2I \E&w2f1i0d0u22l0S \E&w2f2i0d23u23l0S \E&w7f2p1I \r:\
                   8110:        :ts=\E&w7f2p2I\E&w4f2I\r\EK\E&a%p1%dC:\
                   8111:        :tc=hp2626:
                   8112: # Force terminal back to 24 lines after being 23.
                   8113: hp2626-ns|hp 2626 using all 24 lines:\
                   8114:        :i1=\E&q3t0{0H \E&w0f118n1I \E&w0f1n2I \E&w2f1i0d0u23l0S \E&w3f2I \E&w7f2p1I \r:tc=hp2626:
                   8115: # Various entries useful for small windows on 2626.
                   8116: hp2626-12|hewlett-packard 2626 12 lines:\
                   8117:        :li#12:tc=hp2626:
                   8118: hp2626-12x40|hewlett-packard 2626 12 lines 40 columns:\
                   8119:        :co#40:li#12:tc=hp2626:
                   8120: hp2626-x40|hewlett-packard 2626 40 columns:\
                   8121:        :co#40:tc=hp2626:
                   8122: hp2626-12-s|hewlett-packard 2626 11 lines plus status:\
                   8123:        :li#11:tc=hp2626-s:
                   8124:
                   8125: #
                   8126: # hp2627 color tubes from University of Wisconsin
                   8127: #
                   8128: hp2627a-rev|hp 2627 with reverse video colors:\
                   8129:        :cr=^M:do=^J:\
                   8130:        :is=\E&v0m1a0b0c1x1y1z1i0a0b1c1x1y1z0i0S\E&j@\r\E3\r:\
                   8131:        :kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:ue=\E&v0S\E&d@:\
                   8132:        :us=\E&dD\E&v1S:\
                   8133:        :tc=hp2621-nl:
                   8134: hp2627a|hp 2627 color terminal with no labels:\
                   8135:        :cr=^M:do=^J:\
                   8136:        :is=\E&v0m1a1b0c1i0a1b1c2i1a0b0c0i0S\E&j@\r\E3\r:\
                   8137:        :kb=^H:kd=^J:kl=^H:nw=^M^J:se=\E&v0S:sf=^J:so=\E&v2S:ta=^I:\
                   8138:        :ue=\E&v0S\E&d@:us=\E&dD\E&v1S:\
                   8139:        :tc=hp2621-nl:
                   8140: hp2627c|hp 2627 color (cyan) terminal with no labels:\
                   8141:        :cr=^M:do=^J:\
                   8142:        :is=\E&v0m1a0b0c2i1a1b0c1i0a1b1c0i0S\E&j@\r\E3\r:\
                   8143:        :kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:\
                   8144:        :tc=hp2627a:
                   8145:
                   8146: # hp2640a doesn't have the Y cursor addressing feature, and C is
                   8147: # memory relative instead of screen relative, as we need.
1.1       deraadt  8148: #
1.13      millert  8149: hp2640a|hp 2640a:\
                   8150:        :cm@:ke@:ks@:tc=hp2645:
                   8151:
                   8152: hp2640b|hp2644a|hp 264x series:\
                   8153:        :ke@:ks@:tc=hp2645:
                   8154:
                   8155: # (hp2641a: removed unknown :gu: -- esr)
                   8156: hp2641a|hp2645a|hp2647a|HP 264?A series BRL entry:\
                   8157:        :am:da:db:mi:xs:\
                   8158:        :co#80:li#24:\
                   8159:        :al=\EL:bl=^G:cd=\EJ:ce=\EK:ch=\E&a%2C:cl=\EH\EJ:\
                   8160:        :cm=\E&a%r%2c%2Y:cr=^M:cv=\E&a%2Y:dc=\EP:dl=\EM:do=^J:\
                   8161:        :ei=\ER:if=/usr/share/tabset/std:im=\EQ:is=500\EE:kb=^H:\
                   8162:        :kd=^J:kl=^H:le=^H:nd=\EC:nw=^M^J:se=\E&d@:sf=^J:so=\E&dB:\
                   8163:        :ta=^I:up=\EA:
                   8164:
                   8165: # This terminal should be used at 4800 baud or less. It needs padding for
                   8166: # plain characters at 9600, I guessed at an appropriate cr delay.  It really
                   8167: # wants ^E/^F handshaking, but that doesn't work well even if you write
                   8168: # software to support it.
                   8169: hp2645|hp45|HP 2645 series:\
                   8170:        :pb#9600:\
                   8171:        :cr=\r:kA=\EL:kD=\EP:kE=\EK:kF=\ES:kI=\EQ:kL=\EM:kM=\ER:\
                   8172:        :kN=\EU:kP=\EV:kR=\ET:kS=\EJ:kT=\E1:kd=\EB:ke=\E&s0A:kh=\Eh:\
                   8173:        :kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:ku=\EA:mb=\E&dA:me=\E&d@:\
                   8174:        :mh=\E&dH:mr=\E&dB:\
                   8175:        :..sa=\E&d%'@'%?%p1%t%'B'%|%;%?%p2%t%'D'%|%;%?%p3%t%'B'%|%;%?%p4%t%'A'%|%;%?%p5%t%'H'%|%;%?%p6%t%'B'%|%;%c:\
                   8176:        :us=\E&dD:\
                   8177:        :tc=hpgeneric:
                   8178: # You should use this terminal at 4800 baud or less.
                   8179: hp2648|hp2648a|HP 2648a graphics terminal:\
                   8180:        :cl=\EH\EJ:cm=\E&a%r%dc%dY:dc=\EP:ip=:tc=hp2645:
                   8181:
                   8182: # The HP 150 terminal is a fairly vanilla HP terminal, with the
                   8183: # clreol standout problem. It also has graphics capabilities and
                   8184: # a touch screen, which we don't describe here.
                   8185: hp150|hewlett packard Model 150:\
                   8186:        :bs:tc=hp2622:
                   8187:
                   8188: # HP 2382a terminals, "the little ones." They don't have any
                   8189: # alternate character set support and sending out ^N/^O will
                   8190: # leave the screen blank.
                   8191: hp2382a|hp2382|hewlett packard 2382a:\
                   8192:        :da:db:\
                   8193:        :lh#1:lm#48:\
                   8194:        :ac@:ae@:as@:me=\E&d@:\
                   8195:        :..pn=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s:\
                   8196:        :..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%'@'%+%e%'S'%;%e%?%ga%t%ga%'@'%+%e%'@'%;%;%c:\
                   8197:        :tc=hp+labels:tc=scrhp:
                   8198:
                   8199: hp2621-a|hp2621a-a|hp2621 with fn as arrows:\
                   8200:        :tc=hp+pfk+arrows:tc=hp2621-fl:
                   8201:
                   8202: # newer hewlett packard terminals
                   8203:
                   8204: newhpkeyboard|generic entry for HP extended keyboard:\
                   8205:        :kA=\EL:kB=\Ei:kC=\EJ:kD=\EP:kE=\EK:kF=\ET:kH=\EF:kI=\EQ:\
                   8206:        :kL=\EM:kM=\ER:kN=\EU:kP=\EV:kR=\ES:kS=\EJ:kb=^H:kd=\EB:\
                   8207:        :ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:ku=\EA:\
                   8208:        :tc=hp+pfk-cr:
                   8209:
                   8210: newhp|generic entry for new hewlett packard terminals:\
                   8211:        :am:bw:mi:xo:xs:\
                   8212:        :co#80:li#24:pb#4800:\
                   8213:        :ac=2[3@4>5I9(\072'JSKWLQMAO#P$Q;R\041S"T1U2V4W3X\072Y+Z*dHjGkTlRmFn/q\054t5u6v8w7x.:\
                   8214:        :ae=^O:al=\EL:as=^N:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:cr=^M:ct=\E3:\
                   8215:        :dc=\EP:dl=\EM:do=^J:ei=\ER:i1=\E&jB:im=\EQ:ip=:le=^H:\
                   8216:        :mb=\E&dA:md=\E&dF:me=\E&d@\017:mh=\E&dH:mk=\E&dS:\
                   8217:        :mr=\E&dB:nd=\EC:nw=^M^J:\
                   8218:        :..pk=\E&f0a%p1%dk0d%p2%l%dL%p2%s:\
                   8219:        :..pl=\E&f1a%p1%dk0d%p2%l%dL%p2%s:\
                   8220:        :..px=\E&f2a%p1%dk0d%p2%l%dL%p2%s:r1=\Eg:\
                   8221:        :..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%'@'%+%e%'S'%;%e%?%ga%t%ga%'@'%+%e%'@'%;%;%c%?%p9%t\016%e\017%;:\
                   8222:        :se=\E&d@:sf=^J:so=\E&dJ:sr=\ET:st=\E1:ta=\011:ue=\E&d@:\
                   8223:        :up=\EA:us=\E&dD:\
                   8224:        :tc=newhpkeyboard:
                   8225:
                   8226: memhp|memory relative addressing for new HP ttys:\
                   8227:        :vt#6:\
                   8228:        :CM=\E&a%p1%dr%p2%dC:DO=\E&a+%dR:LE=\E&a-%dC:\
                   8229:        :RI=\E&a+%dC:UP=\E&a-%dR:ch=\E&a%dC:cl=\EH\EJ:\
                   8230:        :cm=\E&a%dr%dC:cv=\E&a%dR:ho=\EH:ll=\E&a23R\r:tc=newhp:
                   8231:
                   8232: scrhp|screen relative addressing for new HP ttys:\
                   8233:        :CM=\E&a%p1%dr%p2%dC:DO=\E&a+%dR:LE=\E&a-%dC:\
                   8234:        :RI=\E&a+%dC:UP=\E&a-%dR:ch=\E&a%dC:cl=\E&a0c0Y\EJ:\
                   8235:        :cm=\E&a%dy%dC:cv=\E&a%dY:ho=\E&a0y0C:ll=\E&a0y0C\EA:\
                   8236:        :tc=newhp:
                   8237:
                   8238: # (hp+labels: added label values from a BRL termcap -- esr)
                   8239: hp+labels|"standard" label info for new HP ttys:\
                   8240:        :Nl#8:lh#2:lw#8:\
                   8241:        :LF=\E&j@:LO=\E&jB:l0=f1:l1=f2:l2=f3:l3=f4:l4=f5:l5=f6:l6=f7:\
                   8242:        :l7=f8:\
                   8243:        :..pn=\E&f2a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s:
                   8244:
                   8245: hp+printer|"standard" printer info for HP ttys:\
                   8246:        :ff=\E&p4u0C:pf=\E&p13C:po=\E&p11C:ps=\EH\E&p4dF:
                   8247:
                   8248:
                   8249: # The new hp2621b is kind of a cross between the old 2621 and the
                   8250: # new 262x series of machines. It has dip-switched options.
                   8251: # The firmware has a bug in it such that if you give it a null
                   8252: # length label, the following character is eaten!
                   8253: hp2621b|hp 2621b with old style keyboard:\
                   8254:        :Nl#8:lh#1:lm#48:lw#8:\
                   8255:        :LO=\E&jB:kF=\ET:kH=\EF:kR=\ES:kd=\EB:kh=\Eh:kl=\ED:kr=\EC:\
                   8256:        :ku=\EA:\
                   8257:        :..pn=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d3L%?%ga%!%t%{32}%c%;%p2%s\E%'o'%p1%+%c\r:tc=hp2621:
1.1       deraadt  8258:
1.13      millert  8259: hp2621b-p|hp 2621b with printer:\
                   8260:        :tc=hp+printer:tc=hp2621b:
1.1       deraadt  8261:
1.13      millert  8262: # hp2621b - new 2621b with new extended keyboard
                   8263: # these are closer to the new 26xx series than the other 2621b
                   8264: hp2621b-kx|hp 2621b with extended keyboard:\
                   8265:        :tc=newhpkeyboard:tc=hp2621b:
1.1       deraadt  8266:
1.13      millert  8267: hp2621b-kx-p|hp 2621b with new keyboard & printer:\
                   8268:        :tc=hp+printer:tc=hp2621b-kx:
1.1       deraadt  8269:
1.13      millert  8270: # Some assumptions are made in the following entries.
                   8271: # These settings are NOT set up by the initialization strings.
                   8272: #
                   8273: #    Port Configuration
                   8274: # RecvPace=Xon/Xoff    XmitPace=Xon/Xoff       StripNulDel=Yes
                   8275: #
                   8276: #    Terminal Configuration
                   8277: # InhHndShk(G)=Yes     InhDC2(H)=Yes
                   8278: # XmitFnctn(A)=No              InhEolWrp=No
1.1       deraadt  8279: #
1.13      millert  8280: #
                   8281: # Hp 2622a & hp2623a display and graphics terminals
1.2       deraadt  8282: #
1.13      millert  8283: hp2622|hp2622a|hp 2622:\
                   8284:        :da:db:\
                   8285:        :lm#0:pb#19200:\
                   8286:        :is=\E&dj@\r:tc=hp+pfk+cr:tc=hp+labels:tc=scrhp:
                   8287:
                   8288: # The 2623 is a 2622 with extra graphics hardware.
                   8289: hp2623|hp2623a|hp 2623:\
                   8290:        :tc=hp2622:
                   8291:
                   8292: hp2624b-p|hp2624b-4p-p|hewlett packard 2624 B with printer:\
                   8293:        :tc=hp+printer:tc=hp2624:
                   8294:
                   8295: # The hewlett packard B can have an optional extra 6 pages of memory.
                   8296: hp2624-10p|hp2624a-10p|hp2624b-10p|hewlett packard 2624 B w/ 10 pages of memory:\
                   8297:        :lm#240:tc=hp2624:
                   8298:
                   8299: hp2624b-10p-p|hewlett packard 2624 B w/ extra memory & printer:\
                   8300:        :lm#240:tc=hp2624b-p:
                   8301:
                   8302: # Color manipulations for HP terminals
                   8303: hp+color|hp with colors:\
                   8304:        :cc:\
                   8305:        :Co#16:NC#17:pa#7:\
                   8306:        :..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:\
                   8307:        :oc=\E&v0m1a1b1c0I\E&v1a1I\E&v1b2I\E&v1a1b3I\E&v1c4I\E&v1a1c5I\E&v1b1c6I\E&v1x1y7I:\
                   8308:        :op=\E&v0S:sp=\E&v%dS:
                   8309:
                   8310: # :is: sets the screen to be 80 columns wide
                   8311: hp2397a|hp2397|hewlett packard 2397A color terminal:\
                   8312:        :is=\E&w6f80X:\
                   8313:        :tc=memhp:tc=hp+labels:tc=hp+color:
                   8314:
1.1       deraadt  8315: #
1.13      millert  8316: # (hp2392: copied :ei: here from hpex -- esr)
                   8317: hp2392|239x series:\
                   8318:        :co#80:\
                   8319:        :bt=\Ei:cm=\E&a%dy%dC:cv=\E&a%dY:ei=\ER:im=\EQ:k1=\Ep\r:\
                   8320:        :k2=\Eq\r:k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:k7=\Ev\r:\
                   8321:        :k8=\Ew\r:kF=\EU:kN=\Eu:kP=\Ev:kR=\EV:kh=\Eh:ue=\E&d@:\
                   8322:        :us=\E&dD:\
                   8323:        :tc=hpsub:
                   8324:
                   8325: hpsub|hp terminals -- capability subset:\
                   8326:        :am:da:db:mi:xo:xs:\
                   8327:        :li#24:\
                   8328:        :al=\EL:bl=^G:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\EH\EJ:cr=^M:\
                   8329:        :dc=\EP:dl=\EM:do=\EB:if=/usr/share/tabset/stdcrt:\
                   8330:        :is=\E&s1A\E<\E&k0\:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:\
                   8331:        :kr=\EC:ks=\E&s1A:ku=\EA:le=^H:me=\E&d@:nd=\EC:se=\E&d@:\
                   8332:        :sf=^J:so=\E&dB:ta=^I:up=\EA:
                   8333:
                   8334: # hpex:
                   8335: #      May be used for most 24 x 80 hp terminals,
                   8336: # but has no padding added, so may allow runover in some terminals at high
                   8337: # baud rates.  Will not work for hp2640a or hp2640b terminals, hp98x6 and
                   8338: # hp98x5 terminal emulators or hp98x6 consoles.
                   8339: #      Adds xy-cursor addressing, vertical cursor addressing, home,
                   8340: # last line, and underline capabilities.
1.1       deraadt  8341: #
1.13      millert  8342: # (hpex: removed memory-lock capabilities ":ml=\El:mu=\Em:",
                   8343: # moved :ei: here from hpsub -- esr)
                   8344: hpex|hp extended capabilites:\
                   8345:        :cm=\E&a%dy%dC:cr=^M:cv=\E&a%dY:do=^J:ei=\ER:im=\EQ:kb=^H:\
                   8346:        :kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:ue=\E&d@:us=\E&dD:\
                   8347:        :tc=hpsub:
                   8348:
                   8349: # From: Ville Sulko <Ville.Sulko@bip.atk.tpo.fi>, 05 Aug 1996
                   8350: hp2|hpex2|hewlett-packard extended capabilities newer version:\
                   8351:        :am:da:db:mi:xs:\
                   8352:        :Nl#8:co#80:lh#2:li#24:lm#0:lw#8:sg#0:\
                   8353:        :LF=\E&j@:LO=\E&jB:al=\EL:bl=^G:cd=\EJ:ce=\EK:ch=\E&a%dC:\
                   8354:        :cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:cr=^M:ct=\E3:cv=\E&a%dY:\
                   8355:        :dc=\EP:dl=\EM:do=\EB:ei=\ER:im=\EQ:k1=\Ep:k2=\Eq:k3=\Er:\
                   8356:        :k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:kA=\EL:kC=\EJ:kD=\EP:\
                   8357:        :kE=\EK:kF=\ES:kH=\EF:kI=\EQ:kL=\EM:kM=\ER:kN=\EU:kP=\EV:\
                   8358:        :kR=\ET:kS=\EJ:kT=\E1:ka=\E3:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:\
                   8359:        :kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:ku=\EA:le=^H:me=\E&d@:\
                   8360:        :ml=\El:mu=\Em:nd=\EC:..pk=\E&f%p1%dk%p2%l%dL%p2%s:\
                   8361:        :..pl=\E&f1a%p1%dk%p2%l%dL%p2%s:\
                   8362:        :..pn=\E&f%p1%dk%p2%l%dd0L%p2%s:\
                   8363:        :..px=\E&f2a%p1%dk%p2%l%dL%p2%s:\
                   8364:        :..sa=\E&d%?%p7%t%'s'%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%'@'%+%c%?%p9%t%'\016'%c%e%'\017'%c%;:\
                   8365:        :se=\E&d@:sf=^J:so=\E&dB:st=\E1:ta=^I:ue=\E&d@:up=\EA:\
                   8366:        :us=\E&dD:
1.2       deraadt  8367:
1.13      millert  8368: # HP 236 console
                   8369: # From: <ddavis@ic.berkeley.edu>
                   8370: hp236|hp236 internal terminal emulator:\
1.8       tholo    8371:        :am:bs:\
1.1       deraadt  8372:        :co#80:li#24:\
1.13      millert  8373:        :al=\EG:ce=\EK:cl=\EF:cm=\EE%+ %+ :dc=\EJ:dl=\EH:ei=:ic=\EI:\
                   8374:        :im=:le=^H:me=\ECI:se=\ECI:so=\EBI:up=^K:ve=\EDE:vs=\EDB:
                   8375:
                   8376: # This works on a hp300 console running Utah 4.3 BSD
                   8377: # From: Craig Leres <leres@okeeffe.berkeley.edu>
                   8378: hp300h|HP Catseye console:\
                   8379:        :am:bs:da:db:mi:xs:\
                   8380:        :co#128:li#51:lm#0:sg#0:\
                   8381:        :al=\EL:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:ch=\E&a%dC:\
                   8382:        :cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:cr=^M:ct=\E3:cv=\E&a%dY:\
                   8383:        :dc=\EP:dl=\EM:do=\EB:ei=\ER:if=/usr/share/tabset/stdcrt:\
                   8384:        :im=\EQ:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:\
                   8385:        :ks=\E&s1A:ku=\EA:le=^H:me=\E&d@:nd=\EC:se=\E&d@:sf=^J:\
                   8386:        :so=\E&dB:ta=^I:ue=\E&d@:up=\EA:us=\E&dD:
                   8387: # From: Greg Couch <gregc@ernie.berkeley.edu>
                   8388: hp9837|hp98720|hp98721|HP 9000/300 workstations:\
                   8389:        :am:bs:da:db:mi:xs:\
                   8390:        :co#128:it#8:li#46:lm#0:\
                   8391:        :al=\EL:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:ch=\E&a%dC:\
                   8392:        :cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:ct=\E3:cv=\E&a%dY:dc=\EP:\
                   8393:        :dl=\EM:do=\EB:ei=\ER:im=\EQ:is=\E&v0m1b0i&j@:kA=\EL:\
                   8394:        :kD=\EP:kE=\EK:kI=\EQ:kL=\EM:kN=\EU:kP=\EV:kS=\EJ:kb=^H:\
                   8395:        :kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:ku=\EA:\
                   8396:        :le=^H:me=\E&d@:nd=\EC:se=\E&v0S:sf=^J:so=\E&v5S:st=\E1:\
                   8397:        :ta=^I:ue=\E&d@:up=\EA:us=\E&dD:
                   8398: # HP 9845 desktop computer from BRL
                   8399: # (hp9845: removed unknown capability :gu: -- esr)
                   8400: hp9845|HP 9845:\
                   8401:        :am:bs:da:db:eo:mi:xs:\
                   8402:        :co#80:li#21:\
                   8403:        :al=\EL:bc=\ED:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\E&a%r%2c%2Y:\
                   8404:        :dc=\EP:dl=\EM:ei=\ER:if=/usr/share/tabset/std:im=\EQ:\
                   8405:        :nd=\EC:se=\E&d@:so=\E&dB:up=\EA:
                   8406: # From: Charles A. Finnell of MITRE <finnell@mitre.org>, developed 07SEP90
                   8407: # (hp98550: replaced /usr/share/tabset/9837 with std because :it#8:,:st=\E1:;
                   8408: # added empty <acsc> to avoid warnings re :as:/:ae: --esr)
                   8409: hp98550|hp98550a|HP 9000 Series 300 color console:\
                   8410:        :am:bs:da:db:mi:xs:\
                   8411:        :co#128:it#8:li#49:lm#0:\
                   8412:        :ac=:ae=^O:al=\EL:as=^N:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:\
                   8413:        :ch=\E&a%dC:cl=\EH\EJ:cm=\E&a%dy%dC:cr=^M:ct=\E3:\
                   8414:        :cv=\E&a%dY:dc=\EP:dl=\EM:do=^J:ei=\ER:\
                   8415:        :if=/usr/share/tabset/std:im=\EQ:k1=\Ep:k2=\Eq:k3=\Er:\
                   8416:        :k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:kA=\EL:kC=\EJ:kD=\EP:\
                   8417:        :kE=\EK:kF=\ES:kH=\EF:kI=\EQ:kL=\EM:kM=\ER:kN=\EU:kP=\EV:\
                   8418:        :kR=\ET:kS=\EJ:kT=\E1:ka=\E3:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:\
                   8419:        :kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:ku=\EA:le=^H:mb=\E&dA:\
                   8420:        :md=\E&dJ:me=\E&d@:mh=\E&dH:mk=\E&ds:mr=\E&dJ:nd=\EC:\
                   8421:        :se=\E&d@:sf=^J:so=\E&dJ:st=\E1:ta=^I:ue=\E&d@:up=\EA:\
                   8422:        :us=\E&dD:ve=\E*dQ:vi=\E*dR:
                   8423:
                   8424: bobcat|sbobcat|HP 9000 model 300 console:\
                   8425:        :am:da:db:mi:xs:\
                   8426:        :co#128:it#8:li#47:sg#0:\
                   8427:        :al=10*\EL:bt=\Ei:cd=\EJ:ce=\EK:ch=6\E&a%dC:cl=\EH\EJ:\
                   8428:        :cm=6\E&a%dy%dC:cr=^M:cv=6\E&a%dY:dc=\EP:dl=10*\EM:do=\EB:\
                   8429:        :ei=\ER:im=\EQ:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:\
                   8430:        :ks=\E&s1A:ku=\EA:le=^H:me=\E&d@:nd=\EC:nw=^M^J:se=\E&d@:\
                   8431:        :sf=^J:so=\E&dB:ta=^I:ue=\E&d@:up=\EA:us=\E&dD:
                   8432: gator-t|HP 9000 model 237 emulating extra-tall AAA:\
                   8433:        :li#94:tc=gator:
                   8434: gator|HP 9000 model 237 emulating AAA:\
                   8435:        :bw:km:mi:ul:\
                   8436:        :co#128:it#8:li#47:\
                   8437:        :AL=1*\E[%dL:DC=4\E[%dP:DL=1*\E[%dM:IC=4\E[%d@:al=\E[L:\
                   8438:        :bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%i%d`:cl=\E[H\E[J:\
                   8439:        :cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=:ho=\E[H:\
                   8440:        :ic=\E[@:im=:kb=^H:kd=^J:kl=^H:le=^H:me=\E[m:mr=\E[7m:\
                   8441:        :nd=\E[C:nw=^M^J:rp=1*%.\E[%db:se=\E[m:so=\E[7m:ta=^I:\
                   8442:        :ue=\E[m:up=\EM:us=\E[4m:
                   8443: gator-52|HP 9000 model 237 emulating VT52:\
                   8444:        :co#128:li#47:tc=vt52:
                   8445: gator-52t|HP 9000 model 237 emulating extra-tall VT52:\
                   8446:        :li#94:tc=gator-52:
                   8447:
                   8448: #### Honeywell-Bull
                   8449: #
                   8450: # From: Michael Haardt <michael@gandalf.moria> 11 Jan 93
1.8       tholo    8451: #
1.13      millert  8452:
                   8453: # Honeywell Bull terminal.  Its cursor and function keys send single
                   8454: # control characters and it has standout/underline glitch.  Most programs
                   8455: # do not like these features/bugs.  Visual bell is realized by flashing the
                   8456: # "keyboard locked" LED.
                   8457: dku7003-dumb|Honeywell Bull DKU 7003 dumb mode:\
                   8458:        :co#80:li#25:\
                   8459:        :cd=^_:ce=\E[K:cl=^]^_:cm=\E[%i%d;%dH:cr=^M:do=^K:ho=^]:\
                   8460:        :kb=^H:kd=^K:kh=^]:kl=^Y:kr=^X:ku=^Z:le=^Y:nd=^X:nw=^M^J:\
                   8461:        :sf=^J:ta=^I:up=^Z:vb=\E[2h\E[2l:
                   8462: dku7003|Honeywell Bull DKU 7003 all features described:\
                   8463:        :ms:\
                   8464:        :sg#1:\
                   8465:        :mb=\E[5m:md=\E[7m:me=\E[m:mh=\E[2m:mr=\E[7m:se=\E[m:\
                   8466:        :so=\E[7m:ue=\E[m:us=\E[4m:\
                   8467:        :tc=dku7003-dumb:
1.1       deraadt  8468:
                   8469: #### IBM
                   8470: #
                   8471:
                   8472: ibm327x|line mode IBM 3270 style:\
                   8473:        :gn:\
                   8474:        :ce=^M:cl=^M^J:ho=^M:
1.2       deraadt  8475:
                   8476: # Beware! The 3101 entry IBM shipped with AIX 3 is *wrong*.  Losers...
1.1       deraadt  8477: # From: J.B. Nicholson-Owens <jeffo@uiuc.edu> 8 Mar 94
1.5       tholo    8478: # (ibm3101: :if=/usr/share/tabset/ibm3101: removed, no such file -- esr)
1.1       deraadt  8479: ibm3101|i3101|IBM 3101-10:\
1.8       tholo    8480:        :am:bs:xo:\
1.1       deraadt  8481:        :co#80:li#24:\
1.5       tholo    8482:        :bl=^G:cd=\EJ:ce=\EI:cl=\EK:cm=\EY%+ %+ :cr=^M:ct=\E1:do=^J:\
                   8483:        :ho=\EH:kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:\
1.1       deraadt  8484:        :nw=^M^J:sf=^J:st=\E0:ta=^I:up=\EA:
                   8485: #   Received from the IBM terminals division (given to DRB)
                   8486: #   June 1988 for PS/2 OS 2.2.3 cut
1.2       deraadt  8487: ibm3151|i3151|IBM 3151:\
1.1       deraadt  8488:        :me=\E4@:\
                   8489:        :..sa=\E4%{64}%?%p1%{0}%>%p1%{4}%<%&%t%{8}%|%;%?%p1%{7}%=%t%{16}%|%;%?%p2%t%{1}%|%;%?%p3%t%{4}%|%;%?%p4%t%{2}%|%;%c:\
1.5       tholo    8490:        :se=\E4@:so=\E4A:ue=\E4@:us=\E4B:\
                   8491:        :tc=ibm3163:
1.1       deraadt  8492: # From: Mark Easter <marke@fsi-ssd.csg.ssd.fsi.com> 29 Oct 1992
1.2       deraadt  8493: # I've commented out or translated some IBM extensions.
1.1       deraadt  8494: ibm3161|ibm3163|wy60-316X|wyse60-316X|IBM 3161/3163 display:\
1.8       tholo    8495:        :am:bs:mi:ms:\
1.1       deraadt  8496:        :co#80:it#8:li#24:\
1.8       tholo    8497:        :F1=\Ek\r:F2=\El\r:F3=\E\041a\r:F4=\E\041b\r:\
                   8498:        :F5=\E\041c\r:F6=\E\041d\r:F7=\E\041e\r:F8=\E\041f\r:\
                   8499:        :F9=\E\041g\r:FA=\E\041h\r:FB=\E\041i\r:FC=\E\041j\r:\
                   8500:        :FD=\E\041k\r:FE=\E\041l\r:\
1.13      millert  8501:        :ac=j\352k\353l\354m\355n\356q\361t\364u\365v\366w\367x\370:\
1.5       tholo    8502:        :bl=^G:cd=\EJ:ce=\EI:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:dc=\EQ:\
                   8503:        :dl=\EO:do=\EB:ho=\EH:k1=\Ea\r:k2=\Eb\r:k3=\Ec\r:k4=\Ed\r:\
                   8504:        :k5=\Ee\r:k6=\Ef\r:k7=\Eg\r:k8=\Eh\r:k9=\Ei\r:k;=\Ej\r:\
                   8505:        :kA=\EN:kB=\E2:kC=\EL\r:kD=\EQ:kE=\EI:kI=\EP \010:kL=\EO:\
                   8506:        :kS=\EJ:kT=\E0:ka=\E 1:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:\
                   8507:        :kt=\E1:ku=\EA:le=\ED:mb=\E4D:md=\E4H:me=\E4@\E<@:mk=\E4P:\
1.3       deraadt  8508:        :mr=\E4A:nd=\EC:\
1.13      millert  8509:        :..sa=\E4%'@'%?%p1%t%'A'%|%;%?%p2%t%'B'%|%;%?%p3%t%'A'%|%;%?%p4%t%'D'%|%;%?%p5%t%'@'%|%;%?%p6%t%'H'%|%;%?%p7%t%'P'%|%;%c%?%p9%t\E>A%e\E<@%;:\
1.5       tholo    8510:        :se=\E4@:sf=^J:so=\E4A:te=\E>A:ti=\E>A:ue=\E4@:up=\EA:\
                   8511:        :us=\E4B:
1.1       deraadt  8512:
                   8513: # How the 3164 sgr string works:
                   8514: #      %{32}           # push space for no special video characteristics
                   8515: #      %?%p2%t%{1}%|%; # if p2 set, then OR the 1 bit for reverse
                   8516: #      %?%p3%t%{4}%|%; # if p3 set, then OR the 4 bit for blink
                   8517: #      %?%p4%t%{2}%|%; # if p4 set, then OR the 2 bit for underline
                   8518: #      %c              # pop Pa1
                   8519: #      %{39}%p1%-      # calculate 32 + (7 - p1) for foreground
                   8520: #      %c              # pop Pa2
                   8521: #      %{64}           # use only black background for now
                   8522: #      %c              # pop Pa3
1.2       deraadt  8523: ibm3164|i3164|IBM 3164:\
1.1       deraadt  8524:        :mb=\E4D:md=\E4H:me=\E4@:\
                   8525:        :..sa=\E4%{32}%?%p2%t%{1}%|%;%?%p3%t%{4}%|%;%?%p4%t%{2}%|%;%c%{39}%p1%-%c%{64}%c:tc=ibm3163:
                   8526:
                   8527: ibmaed|IBM Experimental display:\
1.8       tholo    8528:        :am:bs:eo:ms:\
1.2       deraadt  8529:        :co#80:it#8:li#52:\
1.5       tholo    8530:        :al=\EN:cd=\EJ:ce=\EI:cl=\EH\EK:cm=\EY%+ %+ :dc=\EQ:dl=\EO:\
                   8531:        :do=\EB:ei=:ho=\EH:ic=\EP:im=:kb=^H:kd=\EB:kl=\ED:kr=\EC:\
                   8532:        :ku=\EA:le=^H:me=\E0:nd=\EC:se=\E0:so=\E0:ta=^I:up=\EA:\
                   8533:        :vb=\EG:
1.1       deraadt  8534: ibm-apl|apl|IBM apl terminal simulator:\
1.3       deraadt  8535:        :li#25:tc=dm1520:
1.1       deraadt  8536: # (ibmmono: this had an unknown `sb' boolean, I changed it to `bs'.
                   8537: # Also it had ":I0=f10:" which pretty obviously should be "l0=f10" -- esr)
                   8538: ibmmono|ibm5151|IBM workstation monochrome:\
1.2       deraadt  8539:        :es:hs:\
1.5       tholo    8540:        :al=\EL:dl=\EM:ds=\Ej\EY8 \EI\Ek:fs=\Ek:k0=\E<:k1=\ES:\
                   8541:        :k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:k8=\ER:k9=\EY:\
1.13      millert  8542:        :kF=\EE:kI=\0:kN=\EE:kP=\Eg:kR=\EG:kb=^H:kh=\EH:l0=f10:\
1.5       tholo    8543:        :md=\EZ:me=\Ew\Eq\Ez\EB:mk=\EF\Ef0;\Eb0;:mr=\Ep:se=\Ez:\
                   8544:        :so=\EZ:sr=\EA:ts=\Ej\EY8%+ \Eo:ue=\Ew:us=\EW:\
                   8545:        :tc=ibm3101:
1.2       deraadt  8546: ibmega|ibm5154|IBM Enhanced Color Display:\
                   8547:        :cr=^M:do=^J:kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:tc=ibmmono:
1.13      millert  8548: ibmega-c|ibm5154-c|IBM Enhanced Color Display with standout and underline:\
                   8549:        :se=\EB:so=\EF\Ef3;:ue=\EB:us=\EF\Ef2;:\
                   8550:        :tc=ibmmono:
1.2       deraadt  8551: ibmvga-c|IBM VGA display color termcap:\
                   8552:        :cr=^M:do=^J:kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:tc=ibmega-c:
                   8553: ibmvga|IBM VGA display:\
                   8554:        :cr=^M:do=^J:kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:tc=ibmega:
1.1       deraadt  8555: # ibmapa* and ibmmono entries come from ACIS 4.3 distribution
                   8556: rtpc|ibmapa16|ibm6155|IBM 6155 Extended Monochrome Graphics Display:\
                   8557:        :li#32:\
                   8558:        :ds=\Ej\EY@ \EI\Ek:ts=\Ej\EY@%+ \Eo:tc=ibmmono:
                   8559: # Advanced Monochrome (6153) and Color (6154) Graphics Display:
                   8560: ibmapa8c|ibmapa8|ibm6154|ibm6153|IBM 6153/4 Advanced Graphics Display:\
                   8561:        :li#31:\
                   8562:        :ds=\Ej\EY? \EI\Ek:ts=\Ej\EY?%+ \Eo:tc=ibmmono:
                   8563: ibmapa8c-c|ibm6154-c|IBM 6154 Advanced Color Graphics Display:\
                   8564:        :li#31:\
                   8565:        :ds=\Ej\EY? \EI\Ek:mh=\EF\Ef7;:ts=\Ej\EY?%+ \Eo:tc=ibmega-c:
                   8566: # From: Marc Pawliger <marc@ibminet.awdpa.ibm.com>
                   8567: # also in /usr/lpp/bos/bsdsysadmin.
                   8568: # (hft-c: this entry had :kb=\E[D:kf=\E[C: on the line with ku/kd/kh; this was
                   8569: # pretty obviously mislabeled for :le: and :nd:; also ":ul=\E[4m:" was clearly
                   8570: # a typo for ":us=\E[4m:"; also ":el=\E[K:" was a typo for ":ce=\E[K:".
1.2       deraadt  8571: # I also added <rmam>/<smam> based on the terminal reset string.
1.5       tholo    8572: # There was an unknown boolean ":ht:" which I assume was meant to set hardware
                   8573: # tabs, so I have inserted it#8. Finally, :ac=^N: paired with the :ae: looked
                   8574: # like a typo for :as=^N:; finally, added empty <acsc> to quiet tic -- esr)
1.1       deraadt  8575: ibm8512|ibm8513|hft-c|IBM High Function Terminal:\
                   8576:        :am:mi:ms:\
                   8577:        :co#80:it#8:li#25:\
1.5       tholo    8578:        :AL=\E[%dL:DL=\E[%dM:RA=\E[?7l:SA=\E[?7h:ac=:ae=^O:al=\E[L:\
                   8579:        :as=^N:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:dl=\E[M:\
                   8580:        :dm=\E[4h:do=^J:ec=\E[%dX:ed=\E[4l:ei=\E[4l:ho=\E[H:\
                   8581:        :im=\E[4h:is=\Eb\E[m\017\E[?7h:k0=\E[010q:k1=\E[001q:\
                   8582:        :k2=\E[002q:k3=\E[003q:k4=\E[004q:k5=\E[005q:k6=\E[006q:\
                   8583:        :k7=\E[007q:k8=\E[008q:k9=\E[009q:kd=\E[B:kh=\E[H:ku=\E[A:\
                   8584:        :le=\E[D:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
                   8585:        :r1=\Eb\E[m\017\E[?7h\E[H\E[J:rc=\E[u:sc=\E[s:se=\E[m:\
                   8586:        :so=\E[7m:te=\E[20h:ti=\E[20;4l\E[?7h\Eb:ue=\E[m:up=\E[A:\
                   8587:        :us=\E[4m:
1.1       deraadt  8588: hft|AIWS High Function Terminal:\
                   8589:        :am:xo:\
                   8590:        :co#80:li#25:\
                   8591:        :al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
1.5       tholo    8592:        :cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=\E6:ho=\E[H:\
                   8593:        :ic=\E[@:im=\E6:k1=\E[001q:k2=\E[002q:k3=\E[003q:\
                   8594:        :k4=\E[004q:k5=\E[005q:k6=\E[006q:k7=\E[007q:k8=\E[008q:\
                   8595:        :k9=\E[009q:kN=\E[153q:kP=\E[159q:ka=\E[010q:kb=^H:\
                   8596:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
                   8597:        :md=\E[1m:me=\E[m:mk=\E[8m:mr=\E[7m:nd=\E[C:se=\E[m:sf=^J:\
                   8598:        :so=\E[7m:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
1.2       deraadt  8599: ibm-system1|system1|ibm system/1 computer:\
                   8600:        :am:xt:\
                   8601:        :co#80:li#24:\
1.5       tholo    8602:        :bl=^G:cl=^Z:cm=\005%+ %+ :ho=^K:le=^H:nd=^\:sf=^J:up=^^:
1.2       deraadt  8603:
1.1       deraadt  8604: # From: <pryor@math.berkeley.edu>
1.13      millert  8605: ibm5081|ibmmpel|IBM 5081 1024x1024 256/4096 Megapel color display:\
1.1       deraadt  8606:        :es:hs:\
                   8607:        :li#33:\
                   8608:        :ds=\Ej\EYA \EI\Ek:fs=\Ek:ts=\Ej\EYA%+ \Eo:tc=ibmmono:
1.13      millert  8609: ibm5081-c|ibmmpel-c|IBM 5081 1024x1024 256/4096 Megapel enhanced color display:\
1.1       deraadt  8610:        :es:hs:\
                   8611:        :li#33:\
                   8612:        :ds=\Ej\EYA \EI\Ek:fs=\Ek:ts=\Ej\EYA%+ \Eo:tc=ibmega-c:
1.2       deraadt  8613: ibm8514|IBM 8514 color display:\
                   8614:        :es:hs:\
                   8615:        :li#41:\
1.5       tholo    8616:        :cr=^M:do=^J:ds=\Ej\EYI \EI\Ek:fs=\Ek:kb=^H:kd=^J:kl=^H:\
                   8617:        :nw=^M^J:sf=^J:ta=^I:ts=\Ej\EYI%+ \Eo:\
                   8618:        :tc=ibmega:
1.13      millert  8619: ibm8514-c|IBM 8514 color display with standout and underline:\
1.2       deraadt  8620:        :es:hs:\
                   8621:        :li#41:\
1.5       tholo    8622:        :cr=^M:do=^J:ds=\Ej\EYI \EI\Ek:fs=\Ek:kb=^H:kd=^J:kl=^H:\
                   8623:        :nw=^M^J:sf=^J:ta=^I:ts=\Ej\EYI%+ \Eo:\
                   8624:        :tc=ibmega-c:
1.2       deraadt  8625:
                   8626: #
                   8627: # AIX entries.  IBM ships these with AIX 3.
                   8628: # AIX extension caps are commented out,
                   8629: # except for box1 which has been translated to an <acsc> string.
                   8630: #
                   8631: aixterm-m|IBM AIXterm Monochrome Terminal Emulator:\
                   8632:        :es:hs:\
1.13      millert  8633:        :ac=jjkkllmmnnqqttuuvvwwxx:ds=\E[?E:fs=\E[?F:md=\E[1m:\
1.5       tholo    8634:        :me=\E[0;10m\E(B:s0=\E(B:s1=\E(0:\
1.2       deraadt  8635:        :..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m:\
1.5       tholo    8636:        :sr@:ts=\E[?%p1%dT:\
                   8637:        :tc=ibm6153:
1.13      millert  8638: aixterm-m-old|old IBM AIXterm Monochrome Terminal Emulator:\
1.2       deraadt  8639:        :es:hs:\
                   8640:        :ds=\E[?E:fs=\E[?F:md=\E[1m:\
                   8641:        :..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m:\
1.5       tholo    8642:        :sr@:ts=\E[?%p1%dT:\
                   8643:        :tc=ibm6153:
1.2       deraadt  8644: jaixterm-m|IBM Kanji AIXterm Monochrome Terminal Emulator:\
1.5       tholo    8645:        :ac@:\
                   8646:        :tc=aixterm-m:
1.1       deraadt  8647:
                   8648: #### Infoton/General Terminal Corp.
                   8649: #
                   8650:
                   8651: # gt100 sounds like something DEC would come out with.  Let's hope they don't.
                   8652: i100|gt100|gt100a|General Terminal 100A (formerly Infoton 100):\
1.8       tholo    8653:        :am:bs:\
1.1       deraadt  8654:        :co#80:li#24:\
1.5       tholo    8655:        :al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=^L:cm=\Ef%r%+ %+ :cr=^M:\
                   8656:        :dl=\EM:do=^J:ho=\EH:le=^H:nd=\EC:se=\Ea:sf=^J:so=\Eb:up=\EA:\
                   8657:        :vb=\Eb\Ea:
1.1       deraadt  8658: i400|infoton 400:\
1.8       tholo    8659:        :am:bs:\
1.1       deraadt  8660:        :co#80:li#25:\
                   8661:        :al=\E[L:bl=^G:ce=\E[N:cl=\E[2J:cm=%i\E[%3;%3H:cr=^M:\
                   8662:        :dc=\E[4h\E[2Q\E[P\E[4l\E[0Q:dl=\E[M:do=^J:\
1.5       tholo    8663:        :ei=\E[4l\E[0Q:im=\E[4h\E[2Q:le=^H:nd=\E[C:sf=^J:up=\E[A:
1.1       deraadt  8664: # (addrinfo: removed obsolete ":bc=^Z:" -- esr)
                   8665: addrinfo:\
                   8666:        :am:\
                   8667:        :co#80:li#24:\
1.5       tholo    8668:        :bl=^G:cd=^K:cl=^L:..cm=\037%p1%{1}%-%c%p2%{1}%-%c:cr=^M:\
                   8669:        :do=^J:ho=^H:le=^Z:ll=^H^\:nd=^Y:sf=^J:up=^\:
                   8670: # (infoton: used to have the no-ops <lh#0>, <lw#0>, <nlab#0> -- esr)
1.1       deraadt  8671: infoton:\
                   8672:        :am:\
                   8673:        :co#80:li#24:\
1.5       tholo    8674:        :bl=^G:cd=^K:cl=^L:cr=^M:do=^J:le=^Z:ll=^H^\:nd=^Y:sf=^J:\
                   8675:        :up=^\:
1.1       deraadt  8676:
1.13      millert  8677: # The ICL6402 was actually the Kokusai Display System 6402.
                   8678: # The 6404 was the KDS7372 (color version of the 6402).
                   8679: #
                   8680: # ICL6404 control codes follow:
                   8681: #
                   8682: #code            function
                   8683: #~~~~~~~~~~~     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                   8684: #ctrl-A          set SOM position at cursor position
                   8685: #ctrl-G          Bell
                   8686: #ctrl-H          Backspace
                   8687: #ctrl-I          Horiz tab
                   8688: #ctrl-J          Linefeed
                   8689: #ctrl-K          Cursor up
                   8690: #ctrl-L          Cursor right
                   8691: #ctrl-M          Carriage return
                   8692: #ctrl-N          Disable xon/xoff to host
                   8693: #ctrl-O          Enable xon/xoff to host
                   8694: #ctrl-R          Enable bidirectional mode
                   8695: #ctrl-T          Disable bidirectional mode
                   8696: #ctrl-V          Cursor down
                   8697: #ctrl-Z          Clear unprotected data to insert char
                   8698: #ctrl-^          Cursor home
                   8699: #ctrl-_          Newline
                   8700: #
                   8701: #ESC             lead-in char for multiple character command
                   8702: #
                   8703: #ESC space R     execute power on sequence
                   8704: #ESC ! p1 p2     define scroll region:
                   8705: #                p1 = scroll top    line:  20h - 37h
                   8706: #                p1 = scroll bottom line:  20h - 37h
                   8707: #ESC "           unlock keyboard
                   8708: #ESC #           lock keyboard
                   8709: #ESC $           Semi-graphics mode on
                   8710: #ESC %           Semi-graphics mode off
                   8711: #ESC &           protect mode on
                   8712: #ESC '           protect mode off
                   8713: #ESC (           write protect mode off (full intensity)
                   8714: #ESC )           write protect mode on (half intensity)
                   8715: #
                   8716: #ESC *           clear screen
                   8717: #ESC +           clear unprotected data to insert char
                   8718: #ESC ,           clear unprotected data to half intensity spaces
                   8719: #ESC - p1 p2 p3 p4     address cursor to page, row, column:
                   8720: #                      p1 = page number  0 - 3
                   8721: #                      p2 = row          20h - 7fh
                   8722: #                      p3 = column (lo)  20h - 7fh
                   8723: #                      p4 = column (hi)  20h - 21h (only 132 col)
                   8724: #ESC . p1        set cursor style:
                   8725: #                p1 = 0  invisible cursor
                   8726: #                p1 = 1  block blinking cursor
                   8727: #                p1 = 2  block steady cursor
                   8728: #                p1 = 3  underline blinking cursor
                   8729: #                p1 = 4  underline steady cursor
                   8730: #ESC /           transmit cursor location (page, row, column)
                   8731: #ESC 0 p1 p2 p3 p4     program edit key:
                   8732: #                      p1 = edit key code: '@'-'S', '`'-'s'
                   8733: #                      p2 p3 p4 = program data (3 bytes)
                   8734: #
                   8735: #ESC 1           set tab
                   8736: #ESC 2           clear tab at cursor
                   8737: #ESC 3           clear all tabs
                   8738: #ESC 4           send unprotect line to cursor
                   8739: #ESC 5           send unprotect page to cursor
                   8740: #ESC 6           send line to cursor
                   8741: #ESC 7           send page to cursor
                   8742: #ESC 8 n         set scroll mode:
                   8743: #                n = 0   set jump scroll
                   8744: #                n = 1   set smooth scroll
                   8745: #ESC 9 n         control display:
                   8746: #                n = 0   display off
                   8747: #                n = 1   display on
                   8748: #ESC :           clear unprotected data to null
                   8749: #ESC ;           clear unprotected data to insert char
                   8750: #
                   8751: #ESC <           keyclick on
                   8752: #ESC = p1 p2     address cursor to row, column
                   8753: #                p1 = row          20h - 7fh
                   8754: #                p2 = column (lo)  20h - 7fh
                   8755: #                p3 = column (hi)  20h - 21h (only 132 col)
                   8756: #ESC >           keyclick off
                   8757: #ESC ?           transmit cursor location (row, column)
                   8758: #
                   8759: #ESC @           copy print mode on
                   8760: #ESC A           copy print mode off
                   8761: #ESC B           block mode on
                   8762: #ESC C           block mode off (conversation mode)
                   8763: #ESC D F         set full duplex
                   8764: #ESC D H         set half duplex
                   8765: #ESC E           line insert
                   8766: #ESC F p1 p2     set page colour (p1 = f/grnd, p2 = b/grnd)
                   8767: #                0 = black, 1 = red,     2 = green, 3 = yellow
                   8768: #                4 = blue,  5 = magenta, 6 = cyan,  7 = white
                   8769: #ESC G n         set serial field attribute (n = 30h - 3Fh)
                   8770: #ESC H n         full graphics mode:
                   8771: #                n = 0  exit full graphics mode
                   8772: #                n = 1  enter full graphics mode
                   8773: #ESC I           back tab
                   8774: #ESC J           back page
                   8775: #ESC K           forward page
                   8776: #
                   8777: #ESC L           unformatted page print
                   8778: #ESC M L         move window left  (132 col mode only)
                   8779: #ESC M R         move window right (132 col mode only)
                   8780: #ESC N           set page edit (clear line edit)
                   8781: #ESC O           set line edit (clear page edit)
                   8782: #ESC P           formatted page print
                   8783: #ESC Q           character insert
                   8784: #ESC R           line delete
                   8785: #ESC S           send message unprotected only
                   8786: #ESC T           erase line to insert char
                   8787: #ESC U           set monitor mode   (see ESC X, ESC u)
                   8788: #
                   8789: #ESC V n         select video attribute mode:
                   8790: #                n = 0   serial field attribute mode
                   8791: #                n = 1   parallel character attribute mode
                   8792: #ESC V 2 n       define line attribute:
                   8793: #                n = 0   single width single height
                   8794: #                n = 1   single width double height
                   8795: #                n = 2   double width single height
                   8796: #                n = 3   double width double height
                   8797: #ESC V 3 n       select character font:
                   8798: #                n = 0   system font
                   8799: #                n = 1   user defined font
                   8800: #ESC V 4 n       select screen mode:
                   8801: #                n = 0   page screen mode
                   8802: #                n = 1   virtual screen mode
                   8803: #ESC V 5 n       control mouse mode:
                   8804: #                n = 0   disable mouse
                   8805: #                n = 1   enable sample mode
                   8806: #                n = 2   send mouse information
                   8807: #                n = 3   enable request mode
                   8808: #ESC W           character delete
                   8809: #ESC X           clear monitor mode (see ESC U, ESC u)
                   8810: #ESC Y           erase page to insert char
                   8811: #
                   8812: #ESC Z n         send user/status line:
                   8813: #                n = 0   send user line
                   8814: #                n = 1   send status line
                   8815: #                n = 2   send terminal ID
                   8816: #ESC [ p1 p2 p3  set character attribute (parallel char mode):
                   8817: #                p1: 0 = normal
                   8818: #                    1 = blank
                   8819: #                    2 = blink
                   8820: #                    3 = blink blank (= blank)
                   8821: #                    4 = reverse
                   8822: #                    5 = reverse blank
                   8823: #                    6 = reverse blink
                   8824: #                    7 = reverse blink blank (= reverse blank)
                   8825: #                    8 = underline
                   8826: #                    9 = underline blank
                   8827: #                    : = underline blink
                   8828: #                    ; = underline blink blank
                   8829: #                    < = reverse underline
                   8830: #                    = = reverse underline blank
                   8831: #                    > = reverse underline blink
                   8832: #                    ? = reverse underline blink blank
                   8833: #                p2, p3: f/grnd, b/grnd colour
                   8834: #                (see ESC F for colours)
                   8835: #                use ZZ for mono, eg.
                   8836: #                    ESC [ 0 Z Z for normal
                   8837: #                    ESC [ 4 Z Z for inverse etc.
                   8838: #
                   8839: #ESC \ n         set page size:
                   8840: #                n = 1   24 lines/page
                   8841: #                n = 2   48 lines/page
                   8842: #                n = 3   72 lines/page
                   8843: #                n = 4   96 lines/page
                   8844: #ESC ] n         set Wordstar mode:
                   8845: #                n = 0   normal (KDS7372) mode
                   8846: #                n = 1   Wordstar mode
                   8847: #
                   8848: #ESC b           set foreground colour screen
                   8849: #
                   8850: #ESC c n         enter self-test mode:
                   8851: #                n = 0   exit self test mode
                   8852: #                n = 1   ROM test
                   8853: #                n = 2   RAM test
                   8854: #                n = 3   NVRAM test
                   8855: #                n = 4   screen display test
                   8856: #                n = 5   main/printer port test
                   8857: #                n = 6   mouse port test
                   8858: #                n = 7   graphics board test
                   8859: #                n = 8   graphics memory test
                   8860: #                n = 9   display all 'E'
                   8861: #                n = :   display all 'H'
                   8862: #ESC d           set background colour screen
                   8863: #
                   8864: #ESC e n         program insert char (n = insert char)
                   8865: #ESC f text CR   load user status line with 'text'
                   8866: #
                   8867: #ESC g           display user status line on 25th line
                   8868: #ESC h           display system status line on 25th line
                   8869: #ESC i           tab
                   8870: #ESC j           reverse linefeed
                   8871: #ESC k n         duplex/local edit mode:
                   8872: #                n = 0   duplex edit mode
                   8873: #                n = 1   local edit mode
                   8874: #ESC l n         select virtual screen:
                   8875: #                n = 0   screen 1
                   8876: #                n = 1   screen 2
                   8877: #ESC m           save current config to NVRAM
                   8878: #ESC n p1        select display screen:
                   8879: #                p1 = 0  screen 1
                   8880: #                p1 = 1  screen 2
                   8881: #                p1 = 2  screen 3
                   8882: #                p1 = 3  screen 4
                   8883: #ESC o p1 p2     set characters/line and attribute:
                   8884: #                p1 = 0  80 chars/line
                   8885: #
                   8886: #ESC o p1 p2     set characters/line and attribute:
                   8887: #                p1 = 0  80 chars/line
                   8888: #                p1 = 1  132 chars/line
                   8889: #                p2 = 0  single width single height
                   8890: #                p2 = 1  single width double height
                   8891: #                p2 = 2  double width single height
                   8892: #                p2 = 3  double width double height
                   8893: #
                   8894: #ESC q           insert mode on
                   8895: #ESC r           edit mode on
                   8896: #ESC s           send message all
                   8897: #ESC t           erase line to null
                   8898: #ESC u           clear monitor mode (see ESC U, ESC X)
                   8899: #ESC v           autopage mode on
                   8900: #ESC w           autopage mode off
                   8901: #ESC x p1 p2 p3  define delimiter code...
                   8902: #ESC y           erase page to null
                   8903: #
                   8904: #ESC z 2 p1 p2 p3 p4   draw quadrangle:
                   8905: #                      p1 = starting row
                   8906: #                      p2 = starting column
                   8907: #                      p3 = end row
                   8908: #                      p4 = end column
                   8909: #
                   8910: #ESC { p1 p2 p3 p4     configure main port
                   8911: #                      (baud, stop bits, parity, word length)
                   8912: #
                   8913: #ESC | p1 p2 text Ctrl-Y    program function key with 'text':
                   8914: #                        p1 = function key code:
                   8915: #                             '1' - ';'  normal f1- f11
                   8916: #                             '<' - 'F'  shifted f1 - f11
                   8917: #                        p2 = program mode:
                   8918: #                             1 = FDX
                   8919: #                             2 = LOC
                   8920: #                             3 = HDX
                   8921: #                        Ctrl-Y = terminator
                   8922: #                        (use Ctrl-P to escape ^P, ^Y )
                   8923: #
                   8924: #ESC } p1 p2 p3 p4     configure printer port
                   8925: #                      (baud, stop bits, parity, word length)
                   8926: #ESC ~           send system status
                   8927: #
                   8928: # Codes and info from Peter Disdale <pete@pdlmail.demon.co.uk> 12 May 1997
                   8929: #
                   8930: # Entry is by esr going solely on above information and is UNTESTED.
                   8931: # This actually looks a lot like a Televideo 9xx.
                   8932: # This entry uses page 0 and is monochrome; I'm not brave enough to try
                   8933: # to make color work without a test terminal.  The :am: capability is a guess.
                   8934: # The initialization string sets conversation mode, blinking underline cursor,
                   8935: # full duplex, parallel attribute mode, display user status line, white
                   8936: # foreground, black background, normal highlight.
                   8937: #
                   8938: icl6404|kds7372|icl6402|kds6402|ICL 6404 aka Kokusai Display Systems 7372:\
                   8939:        :am:bs:hs:\
                   8940:        :co#80:li#24:\
                   8941:        :DC=\EW:al=\EE:bl=^G:bt=\EI:cl=\E*:cm=\E=%+'%+'%+':cr=^M:\
                   8942:        :..cs=\E\041%+%p1%{32}%+%p2%{32} cud1=\026:ct=\E3:\
                   8943:        :dl=\ER:ei=\Er:ho=^^:i1=\EC\E.3\EDF\EV1\Eg\E[0ZZ:im=\Eq:\
                   8944:        :mb=\E[2ZZ:me=\E[0ZZ:mk=\E[1ZZ:mr=\E[4ZZ:nd=^L:nw=^_:\
                   8945:        :r2=\Eo1:\
                   8946:        :..sa=\E[%{0}%?%p1%t%{4}%|%;%?%p2%t%{8}%|%;%?%p3%t%{4}%|%;%?%p4%t%{2}%|%;%?%p7%t%{1}%|%;ZZ:\
                   8947:        :se=\E[%gh%{4}%^%Ph%gh%dZZ:so=\E[8ZZ:st=\E1:ta=^I:\
                   8948:        :ue=\E[%gh%{8}%^%Ph%gh%dZZ:up=^K:us=\E[8ZZ:ve=\E.3:\
                   8949:        :vi=\E.0:vs=\E.1:
                   8950: icl6404-w|kds7372-w|ICL 6404 aka Kokusai Display Systems 7372 132 cols:\
                   8951:        :r2=\Eo1:\
                   8952:        :tc=icl6404:
                   8953:
1.1       deraadt  8954: #### Interactive Systems Corp
                   8955: #
                   8956: # ISC used to sell OEMed and customized hardware to support ISC UNIX.
                   8957: # ISC UNIX still exists in 1995, but ISC itself is no more; they got
                   8958: # bought out by Sun.
                   8959: #
                   8960:
                   8961: # From: <cithep!eric>  Wed Sep 16 08:06:44 1981
1.2       deraadt  8962: # (intext: removed obsolete ":ma=^K^P^R^L^L ::bc=^_:", also the
1.1       deraadt  8963: # ":le=^_:" later overridden -- esr)
                   8964: intext|Interactive Systems Corporation modified owl 1200:\
1.8       tholo    8965:        :am:bs:\
1.2       deraadt  8966:        :co#80:it#8:li#24:sg#1:\
1.1       deraadt  8967:        :al=\020:bl=^G:bt=^Y:cd=\026J:ce=^Kp^R:cl=\014:\
1.5       tholo    8968:        :cm=\017%+ %+ :cr=^M:dc=\022:dl=\021:do=^J:ei=^V<:im=^V;:\
                   8969:        :ip=:k0=^VJ\r:k1=^VA\r:k2=^VB\r:k3=^VC\r:k4=^VD\r:k5=^VE\r:\
                   8970:        :k6=^VF\r:k7=^VG\r:k8=^VH\r:k9=^VI\r:kb=^H:kd=^J:ke=^V9:\
                   8971:        :kh=^Z:kl=^_:kr=^^:ks=\036\072\264\026%:ku=^\:le=^H:nd=^^:\
                   8972:        :se=^V# :sf=^J:so=^V$\054:ta=^I:up=^\:
1.1       deraadt  8973: intext2|intextii|INTERACTIVE modified owl 1251:\
                   8974:        :am:bw:ul:\
                   8975:        :co#80:li#24:sg#0:\
1.3       deraadt  8976:        :al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%+^AG:\
                   8977:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:\
                   8978:        :do=\E[B:ei=:ic=\E[@:im=:k0=\E@\r:k1=\EP\r:k2=\EQ\r:\
1.5       tholo    8979:        :k3=\ES\r:k4=\ET\r:k5=\EU\r:k6=\EV\r:k7=\EW\r:k8=\EX\r:\
                   8980:        :k9=\EY\r:kb=^H:kd=\EB\r:kh=\ER\r:kl=\ED\r:kr=\EC\r:\
                   8981:        :ku=\EA\r:l0=REFRSH:l1=DEL CH:l2=TABSET:l3=GOTO:l4=+PAGE:\
                   8982:        :l5=+SRCH:l6=-PAGE:l7=-SRCH:l8=LEFT:l9=RIGHT:nd=\E[C:\
                   8983:        :se=\E[2 D:sf=\E[S:so=\E[6 D:sr=\E[T:ta=^I:ue=\E[2 D:\
                   8984:        :up=\E[A:us=\E[18 D:\
1.2       deraadt  8985:        :vb=\E[;;;;;;;;;2;;u\E[;;;;;;;;;1;;u:
1.1       deraadt  8986:
                   8987: #### Kimtron (abm, kt)
                   8988: #
1.13      millert  8989: # Kimtron seems to be history, but as March 1998 these people are still
                   8990: # offering repair services for Kimtron equipment:
                   8991: #
                   8992: #    Com/Pair Monitor Service
                   8993: #    1105 N. Cliff Ave.
                   8994: #    Sioux Falls, South Dakota 57103
                   8995: #
                   8996: #    WATS voice:  1-800/398-4946
                   8997: #    POTS   fax: +1 605/338-8709
                   8998: #    POTS voice: +1 605/338-9650
                   8999: #         Email: <compair@sd.cybernex.net>
                   9000: #  Internet/Web: <http://www.com-pair.com>
                   9001: #
1.2       deraadt  9002: # Kimtron entries include (undocumented) codes for: enter dim mode,
                   9003: # enter bold mode, enter reverse mode, turn off all attributes.
                   9004: #
1.1       deraadt  9005:
                   9006: # Kimtron ABM 85 added by Dual Systems
1.2       deraadt  9007: # (abm85: removed duplicated ":kd=^J:" -- esr)
1.1       deraadt  9008: abm85|Kimtron ABM 85:\
1.8       tholo    9009:        :am:bs:bw:ms:\
1.13      millert  9010:        :co#80:it#8:li#24:sg#1:\
1.5       tholo    9011:        :al=\EE:bt=\EI:cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :dc=\EW:\
                   9012:        :dl=\ER:do=^J:ei=\Er:if=/usr/share/tabset/stdcrt:im=\EQ:\
1.1       deraadt  9013:        :is=\EC\EX\Eg\En\E%\Er\E(\Ek\Em\Eq:kb=^H:kd=^J:kh=^^:\
1.5       tholo    9014:        :kl=^H:kr=^L:ku=^K:le=^H:nd=^L:se=\Ek:so=\Ej:ta=^I:ue=\Em:\
                   9015:        :up=^K:us=\El:
1.1       deraadt  9016: # Kimtron ABM 85H added by Dual Systems.
1.8       tholo    9017: # Some notes about the abm85h entries:
1.2       deraadt  9018: # 1) there are several firmware revs of 85H in the world. Use abm85h-old for
1.1       deraadt  9019: #    firmware revs prior to SP51
1.8       tholo    9020: # 2) Make sure to use abm85h entry if the terminal is in 85h mode and the
                   9021: #    abm85e entry if it is in tvi920 emulation mode. They are incompatible
                   9022: #    in some places and NOT software settable i.e., :is: can't fix it)
1.1       deraadt  9023: # 3) In 85h mode, the arrow keys and special functions transmit when
                   9024: #    the terminal is in dup-edit, and work only locally in local-edit.
1.5       tholo    9025: #    Vi won't swallow `del char' for instance, but :ti: turns on
1.1       deraadt  9026: #    dup-edit anyway so that the arrow keys will work right. If the
1.5       tholo    9027: #    arrow keys don't work the way you like, change :ti:, :te:, and
                   9028: #    :is:.  Note that 920E mode does not have software commands to toggle
1.2       deraadt  9029: #    between dup and local edit, so you get whatever was set last on the
                   9030: #    terminal.
1.5       tholo    9031: # 4) :vb: attribute is nice, but seems too slow to work correctly
                   9032: #    (\Eb:pc:\Ed)
1.1       deraadt  9033: # 5) Make sure `hidden' attributes are selected. If `embedded' attributes
1.2       deraadt  9034: #    are selected, the <xmc@> entry should be removed.
1.1       deraadt  9035: # 6) auto new-line should be on (selectable from setup mode only)
                   9036: #
                   9037: # From: Erik Fair <fair@ucbarpa>  Sun Oct 27 07:21:05 1985
1.2       deraadt  9038: abm85h|Kimtron ABM 85H native mode:\
1.1       deraadt  9039:        :hs:\
1.5       tholo    9040:        :sg@:\
1.2       deraadt  9041:        :bl=^G:ds=\Ee:fs=^M:im=\EZ:\
1.1       deraadt  9042:        :is=\EC\EN\EX\024\016\EA\Ea\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\EG0\Ed\E.4\El:\
1.5       tholo    9043:        :kd=^V:me=\E(\EG0:mh=\E):mk@:ts=\Eg\Ef:vb@:ve=\E.4:vs=\E.2:\
                   9044:        :tc=adm+sgr:tc=abm85:
1.2       deraadt  9045: abm85e|Kimtron ABM 85H in 920E mode:\
                   9046:        :sg@:\
                   9047:        :bl=^G:im=\EZ:\
1.1       deraadt  9048:        :is=\EC\EX\EA\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\Ek\Eq\Em:\
1.5       tholo    9049:        :me=\E(\Ek:mh=\E):mr=\Ej:vb@:\
                   9050:        :tc=abm85:
1.2       deraadt  9051: abm85h-old|oabm85h|o85h|Kimtron ABM 85H with old firmware rev.:\
                   9052:        :sg@:\
                   9053:        :bl=^G:im=\EZ:\
1.1       deraadt  9054:        :is=\E}\EC\EX\Ee\En\E%\Er\E(\Ek\Em\Eq\Ed\ET\EC\E9\EF:\
1.5       tholo    9055:        :me=\E(\Ek:mh=\E):mr=\Ej:\
                   9056:        :tc=abm85:
1.1       deraadt  9057: # From: <malman@bbn-vax.arpa>
1.2       deraadt  9058: # (kt7: removed obsolete :ma=^V^J^L :" -- esr)
1.1       deraadt  9059: kt7|kimtron model kt-7:\
1.8       tholo    9060:        :am:bs:\
1.2       deraadt  9061:        :co#80:it#8:li#24:\
1.5       tholo    9062:        :al=\EE:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :dc=\EW:\
                   9063:        :dl=\ER:do=^V:ei=:fs=\Eg:ho=^^:ic=\EQ:\
1.1       deraadt  9064:        :if=/usr/share/tabset/stdcrt:im=:is=\El\E":k0=^AI\r:\
1.5       tholo    9065:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
                   9066:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=\EE:kB=\EI:kC=^Z:kD=\EW:\
                   9067:        :kE=\ET:kI=\EQ:kL=\ER:kS=\EY:kb=^H:kd=^V:kh=^^:kl=^H:kr=^L:\
                   9068:        :ku=^K:le=^H:mk@:nd=^L:ta=^I:ts=\Ef:up=^K:\
                   9069:        :tc=adm+sgr:
1.8       tholo    9070: # Renamed TB=^I to :ta:, BE=^G to :bl:, BS=^H to :kb:, N to :kS: (based on the
                   9071: # other kt7 entry and the adjacent key capabilities).  Removed EE which is
                   9072: # identical to :mh:.  Removed :ES=\EGD: which is some kind of highlight
                   9073: # but we can't figure out what.
                   9074: kt7ix|kimtron model kt-7 or 70 in IX mode:\
                   9075:        :am:bw:\
                   9076:        :co#80:it#8:li#25:\
1.13      millert  9077:        :@7=\EY:PU=\EK:ac=jYk?lZm@nEqDt4uCvAwBx3:ae=\E%:al=\EE:\
1.8       tholo    9078:        :as=\E$:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :\
                   9079:        :cr=^M:dc=\EW:dl=\ER:do=^V:ds=\Ef\r:ei=:fs=^M:ho=^^:ic=\EQ:\
                   9080:        :im=:is=\EG0\E s\017\E~:k0=^AI\r:k1=^A@\r:k2=^AA\r:\
                   9081:        :k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:\
                   9082:        :k9=^AH\r:kA=\EE:kB=\EI:kC=\E*:kE=\ET:kI=\EQ:kL=\ER:kN=\EJ:\
                   9083:        :kS=\EY:kb=^H:kd=\E[B:kh=^^:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
                   9084:        :mb=\EG2:me=\EG0:mh=\EG@:nd=^L:nw=^M^J:se=\EG0:sf=^J:\
                   9085:        :so=\EG4:ta=^I:ts=\Ef:ue=\EG0:up=^K:us=\EG8:ve=\E.3:vi=\E.0:
                   9086:
                   9087: #### Microdata/MDIS
                   9088: #
                   9089: # This was a line of terminals made by McDonnell-Douglas Information Systems.
                   9090: # These entries come direct from MDIS documentation.  I have edited them only
                   9091: # to move primary names of the form p[0-9] * to aliases, and to comment out
                   9092: # :ae:/:as: in a couple of entries without <acsc> strings.  I have
                   9093: # also removed the change history; the last version indicates this is
                   9094: # version 4.3 by A.Barkus, September 1990 (earliest entry is October 1989).
                   9095: #
                   9096:
                   9097: # McDonnell Information Systems Terminal Family History
                   9098: # =========================================
                   9099: #
                   9100: # Prism-1, Prism-2 and P99:
                   9101: #       Ancient Microdata and CMC terminals, vaguely like Adds Regent 25.
                   9102: #
                   9103: # Prism-4 and Prism-5:
                   9104: #       Slightly less ancient range of Microdata terminals. Follow-on from
                   9105: #       Prism-2, but with many enhancements. P5 has eight display pages.
                   9106: #
                   9107: # Prism-6:
                   9108: #       A special terminal for use with library systems, primarily in Germany.
                   9109: #       Limited numbers. Similar functionality to P5 (except attributes?).
                   9110: #
                   9111: # Prism-7, Prism-8 and Prism-9:
                   9112: #       More recent range of MDIS terminals, in which P7 and P8
                   9113: #       replace the P4 & P5, with added functionality, and P9 is the flagship.
                   9114: #       The P9 has two emulation modes - P8 and ANSI - and includes a
                   9115: #       large number of the DEC VT220 control sequences. Both
                   9116: #       P8 and P9 support 80c/24ln/8pg and 132cl/24li/4pg formats.
                   9117: #
                   9118: # Prism-12 and Prism-14:
                   9119: #       Latest range, functionally very similar to the P9.  The P14 has a
                   9120: #       black-on-white overscanning screen.
                   9121: #
                   9122: # The terminfo definitions given here are:
                   9123: #
                   9124: # p2      - Prism-2 (or Prism-1 or P99).
                   9125: #
                   9126: # p4      - Prism-4 (and older P7s & P8s).
                   9127: # p5      - Prism-5 (or Prism-6).
                   9128: #
                   9129: # p7      - Prism-7.
                   9130: # p8      - Prism-8 (in national or multinational mode).
                   9131: # p8-w    - 132 column version of p8.
                   9132: # p9      - Prism-9 in ANSI mode.
                   9133: # p9-w    - 132 column version of p9.
                   9134: # p9-8    - Prism-9 in Prism-8 emulation mode.
                   9135: # p9-8-w  - As p9-8, but with 132 columns.
                   9136: #
                   9137: # p12     - Prism-12 in ANSI mode.
                   9138: # p12-w   - 132 column version of p12.
                   9139: # p12-m   - Prism-12 in MDC emulation mode.
                   9140: # p12-m-w - As p12-m, but with 132 columns.
                   9141: # p14     - Prism-14 in ANSI mode.
                   9142: # p14-w   - 132 column version of p14.
                   9143: # p14-m   - Prism-14 in MDC emulation mode.
                   9144: # p14-m-w - As p14-m, but with 132 columns.
                   9145: #
                   9146: # p2: Prism-2
                   9147: # -----------
                   9148: #
                   9149: # Includes Prism-1 and basic P99 without SP or MP loaded.
                   9150: # The simplest form of Prism-type terminal.
                   9151: # Basic cursor movement and clearing operations only.
                   9152: # No video attributes.
                   9153: # Notes:
                   9154: #  Horizontal cursor qualifiers of NUL, XON and XOFF are mapped to the next
                   9155: #  value up, followed by backspace.
                   9156: #
1.13      millert  9157: prism2|MDC Prism-2:\
1.8       tholo    9158:        :am:bw:ms:\
                   9159:        :co#80:li#24:\
                   9160:        :bl=^G:cd=\EJ:ce=\EK:\
                   9161:        :..ch=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c:\
                   9162:        :cl=\014:\
                   9163:        :..cm=\013%p1%' '%+%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c:\
                   9164:        :cr=^M:cv=\013%+ :do=^J:ho=^A:kb=^H:kh=^A:le=^H:nd=^F:sf=^J:\
                   9165:        :up=^Z:
                   9166:
                   9167: # p4: Prism-4
                   9168: # -----------
                   9169: #
                   9170: # Includes early versions of P7 & P8.
                   9171: # Basic family definition for most Prisms (except P2 and P9 ANSI).
                   9172: # Notes:
                   9173: #  Horizontal cursor qualifiers of NUL, XON and XOFF are mapped to the next
                   9174: #  value up, followed by backspace.
                   9175: #  Cursor key definitions removed because they interfere with vi and csh keys.
                   9176: #
                   9177: prism4|p4|P4|MDC Prism-4:\
                   9178:        :5i:am:bw:hs:ms:\
1.13      millert  9179:        :co#80:li#24:sg#1:ws#72:\
1.8       tholo    9180:        :bl=^G:cd=\EJ:ce=\EK:\
                   9181:        :..ch=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c:\
                   9182:        :cl=\014:\
                   9183:        :..cm=\013%p1%' '%+%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c:\
                   9184:        :cr=^M:cv=\013%+ :do=^J:ds=\035\343\035\345:fs=^]\345:\
1.13      millert  9185:        :ho=^A:kb=^H:kh=^A:le=^H:mb=^CB:me=^C :mh=^CA:mk=^CH:mr=^CD:\
                   9186:        :nd=^F:pf=\ET:po=\ER:ps=\EU:\
1.8       tholo    9187:        :..sa=\003%'@'%?%p1%p3%|%t%{4}%+%;%?%p2%t%{16}%+%;%?%p4%t%{2}%+%;%?%p5%t%{1}%+%;%?%p7%t%{8}%+%;%c%?%p9%t\016%e\017%;:\
                   9188:        :se=^C :sf=^J:so=^CD:ts=^]\343:ue=^C :up=^Z:us=^CP:\
                   9189:        :ve=^]\342:vi=^]\344:
                   9190:
                   9191: # p5: Prism-5
                   9192: # -----------
                   9193: #
                   9194: # Same definition as p4. Includes Prism-6 (not tested!).
                   9195: # Does not use any multi-page features.
                   9196: #
                   9197: prism5|p5|P5|MDC Prism-5:\
                   9198:        :tc=p4:
                   9199:
                   9200: # p7: Prism-7
                   9201: # -----------
                   9202: #
                   9203: # Similar definition to p4. Uses ANSI cursor motion to avoid network problems.
                   9204: # Notes:
                   9205: #  Use p4 for very early models of P7.
                   9206: #  Rev-index removed; can't send nulls to terminal in 8-bit modes.
                   9207: #
                   9208: prism7|p7|P7|MDC Prism-7:\
                   9209:        :ch@:cm=\E[%i%d;%dH:cv@:tc=p4:
                   9210:
                   9211: # p8: Prism-8
                   9212: # -----------
                   9213: #
                   9214: # Similar definition to p7. Uses ANSI cursor motion to avoid network problems.
                   9215: # Supports national and multinational character sets.
                   9216: # Notes:
                   9217: #  Alternate char set operations only work in multinational mode.
                   9218: #  Use p4 for very early models of P8.
                   9219: #  Rev-index removed; can't send nulls to terminal in 8-bit modes.
                   9220: # (esr: commented out :as:/:ae: because there's no <acsc>)
                   9221: #
                   9222: prism8|p8|P8|MDC Prism-8:\
                   9223:        :ch=\E[%i%d`:cm=\E[%i%d;%dH:cv=\E[%i%dd:is=\E[<12h:tc=p4:
                   9224:
                   9225: # p8-w: Prism-8 in 132 column mode
                   9226: # --------------------------------
                   9227: #
                   9228: # 'Wide' version of p8.
                   9229: # Notes:
                   9230: #  Rev-index removed; can't send nulls to terminal in 8-bit modes.
                   9231: #
                   9232: prism8-w|p8-w|P8-W|MDC Prism-8 in 132 column mode:\
                   9233:        :co#132:\
                   9234:        :is=\E[<12h\E[<14h:tc=p8:
                   9235:
                   9236: # p9: Prism-9 in ANSI mode
                   9237: # -------------------------
                   9238: #
                   9239: # The "flagship" model of this generation of terminals.
                   9240: # ANSI X3.64 (ISO 6429) standard sequences, plus many DEC VT220 ones.
                   9241: # Notes:
                   9242: #  Tabs only reset by "reset". Otherwise assumes default (8 cols).
                   9243: #  Fixes to deal with terminal firmware bugs:
                   9244: #  . 'ri' uses insert-line since rev index doesn't always
                   9245: #  . 'sgr0' has extra '0' since esc[m fails
                   9246: #  . 'fsl' & 'dsl' use illegal char since cr is actioned wrong on line 25
                   9247: #  Not covered in the current definition:
                   9248: #  . Labels
                   9249: #  . Programming Fn keys
                   9250: #  . Graphic characters (defaults correctly to vt100)
                   9251: #  . Padding values (sets xon)
                   9252: # (esr: commented out :as:/:ae: because there's no <acsc>)
                   9253: #
                   9254: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   9255: prism9|p9|P9|MDC Prism-9 in ANSII mode:\
                   9256:        :5i:am:bw:hs:ms:xn:xo:\
                   9257:        :co#80:it#8:li#24:vt#3:ws#72:\
                   9258:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:\
                   9259:        :F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:\
                   9260:        :F7=\E[31~:F8=\E[32~:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
                   9261:        :al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%i%d`:cl=^L:\
                   9262:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%d%v:ct=\E[2g:\
                   9263:        :cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=^J:ds=\E[%}\024:ec=\E[%dX:\
                   9264:        :ei=\E[4l:fs=^T:ho=\E[H:im=\E[4h:is=\E[&p\E[<12l\E F:\
                   9265:        :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
                   9266:        :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kC=^L:\
                   9267:        :kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
                   9268:        :mb=\E[5m:md=\E[1m:me=\E[0m:mp=\E[32%{:mr=\E[7m:nd=\E[C:\
                   9269:        :nw=^M^J:pf=\E[4i:po=\E[5i:ps=\E[i:\
                   9270:        :r2=\E[&p\E[<12l\E F\E[3g\E[9;17;25;33;41;49;57;65;73 N:\
                   9271:        :rc=\E[%z:rp=\E[%r%db%.:sc=\E[%y:se=\E[27m:sf=^J:so=\E[7m:\
                   9272:        :sr=\E[L:st=\EH:ta=^I:ts=\E[%i%p1%d%%}:ue=\E[24m:up=\E[A:\
                   9273:        :us=\E[4m:ve=\E[<4h:vi=\E[<4l:
                   9274:
                   9275: # p9-w: Prism-9 in 132 column mode
                   9276: # --------------------------------
                   9277: #
                   9278: # 'Wide' version of p9.
                   9279: #
                   9280: prism9-w|p9-w|P9-W|MDC Prism-9 in 132 column mode:\
                   9281:        :co#132:\
                   9282:        :is=\E[&p\E[<12l\E F\E[<14h:\
                   9283:        :r2=\E[&p\E[<12l\E F\E[<14h:tc=p9:
                   9284:
                   9285: # p9-8: Prism-9 in P8 mode
                   9286: # ------------------------
                   9287: #
                   9288: # P9 terminal in P8 emulation mode.
                   9289: # Similar to p8 definition.
                   9290: # Insertion and deletion operations possible.
                   9291: #
                   9292: prism9-8|p9-8|P9-8|MDC Prism-9 in P8 mode:\
                   9293:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:al=\E[L:dc=\E[P:\
                   9294:        :dl=\E[M:ei=:ic=\E[@:im=:\
                   9295:        :tc=p8:
                   9296:
                   9297: # p9-8-w: Prism-9 in P8 and 132 column modes
                   9298: # ------------------------------------------
                   9299: #
                   9300: # P9 terminal in P8 emulation mode and 132 column mode.
                   9301: #
                   9302: prism9-8-w|p9-8-w|P9-8-W|MDC Prism-9 in Prism 8 emulation and 132 column mode:\
                   9303:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:al=\E[L:dc=\E[P:\
                   9304:        :dl=\E[M:ei=:ic=\E[@:im=:\
                   9305:        :tc=p8-w:
                   9306:
                   9307: # p12: Prism-12 in ANSI mode
                   9308: # ---------------------------
                   9309: #
                   9310: # See p9 definition.
                   9311: #
                   9312: prism12|p12|P12|MDC Prism-12 in ANSI mode:\
                   9313:        :tc=p9:
                   9314:
                   9315: # p12-w: Prism-12 in 132 column mode
                   9316: # ----------------------------------
                   9317: #
                   9318: # 'Wide' version of p12.
                   9319: #
                   9320: prism12-w|p12-w|P12-W|MDC Prism-12 in 132 column mode:\
                   9321:        :tc=p9-w:
                   9322:
                   9323: # p12-m: Prism-12 in MDC emulation mode
                   9324: # -------------------------------------
                   9325: #
                   9326: # P12 terminal in MDC emulation mode.
                   9327: # Similar to p8 definition.
                   9328: # Insertion and deletion operations possible.
                   9329: #
                   9330: prism12-m|p12-m|P12-M|MDC Prism-12 in MDC emulation mode:\
                   9331:        :tc=p9-8:
                   9332:
                   9333: # p12-m-w: Prism-12 in MDC emulation and 132 column modes
                   9334: # -------------------------------------------------------
                   9335: #
                   9336: # P12 terminal in MDC emulation mode and 132 column mode.
                   9337: #
                   9338: prism12-m-w|p12-m-w|P12-M-W|MDC Prism-12 in MDC emulation and 132 column mode:\
                   9339:        :tc=p9-8-w:
                   9340:
                   9341: # p14: Prism-14 in ANSII mode
                   9342: # ---------------------------
                   9343: #
                   9344: # See p9 definition.
                   9345: #
                   9346: prism14|p14|P14|MDC Prism-14 in ANSII mode:\
                   9347:        :tc=p9:
                   9348:
                   9349: # p14-w: Prism-14 in 132 column mode
                   9350: # ----------------------------------
                   9351: #
                   9352: # 'Wide' version of p14.
                   9353: #
                   9354: prism14-w|p14-w|P14-W|MDC Prism-14 in 132 column mode:\
                   9355:        :tc=p9-w:
                   9356:
                   9357: # p14-m: Prism-14 in MDC emulation mode
                   9358: # -------------------------------------
                   9359: #
                   9360: # P14 terminal in MDC emulation mode.
                   9361: # Similar to p8 definition.
                   9362: # Insertion and deletion operations possible.
                   9363: #
                   9364: prism14-m|p14-m|P14-M|MDC Prism-14 in MDC emulation mode:\
                   9365:        :tc=p9-8:
                   9366:
                   9367: # p14-m-w: Prism-14 in MDC emulation and 132 column modes
                   9368: # -------------------------------------------------------
                   9369: #
                   9370: # P14 terminal in MDC emulation mode and 132 column mode.
                   9371: #
                   9372: prism14-m-w|p14-m-w|P14-M-W|MDC Prism-14 in MDC emulation and 132 column mode:\
                   9373:        :tc=p9-8-w:
                   9374:
                   9375: # End of McDonnell Information Systems Prism definitions
                   9376:
                   9377: # These things were popular in the Pick database community at one time
                   9378: # From: George Land <georgeland@aol.com> 24 Sep 1996
                   9379: p8gl|prism8gl|McDonnell-Douglas Prism-8 alternate definition:\
                   9380:        :am:bw:hs:mi:\
1.13      millert  9381:        :co#80:li#24:ma#1:sg#1:ws#78:\
1.8       tholo    9382:        :F2=^AJ\r:F3=^AK\r:F4=^AL\r:F5=^AM\r:F6=^AN\r:F7=^AO\r:\
                   9383:        :bl=^G:cd=\EJ:ce=\EK:cl=^L:cm=\E[%i%d;%dH:cr=^M:dc= ^H:\
                   9384:        :dl=^P:do=^J:ho=^A:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
                   9385:        :k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:\
                   9386:        :kD= ^H:kE=\EK:kL=^P:kS=\EJ:kb=^H:kd=^J:kh=^A:kl=^U:kr=^F:\
                   9387:        :ku=^Z:l1=F1:l2=F2:l3=F3:l4=F4:l5=F5:l6=F6:l7=F7:l8=F8:l9=F9:\
                   9388:        :la=F10:le=^U:mb=^CB:me=^C :mh=^CA:mk=^CH:mr=^CD:nd=^F:\
1.13      millert  9389:        :nw=^J^M:pc=\0:se=^C :sf=^J:so=^CE:ue=^C :up=^Z:us=^C0:
1.1       deraadt  9390:
                   9391: #### Microterm (act, mime)
                   9392: #
                   9393: # The mime1 entries refer to the Microterm Mime I or Mime II.
                   9394: # The default mime is assumed to be in enhanced act iv mode.
                   9395: #
                   9396:
1.2       deraadt  9397: # New "safe" cursor movement (5/87) from <reuss@umd5.umd.edu>.  Prevents
1.5       tholo    9398: # freakout with out-of-range args on Sytek multiplexors.  No :so=^N: and
                   9399: # :se=^N: since  it gets confused and it's too dim anyway.  No :ic:
1.2       deraadt  9400: # since Sytek insists ^S means xoff.
1.1       deraadt  9401: # (act4: found ":ic=2^S:ei=:im=:ip=.1*^V:" commented out in 8.3 -- esr)
                   9402: act4|microterm|microterm act iv:\
1.8       tholo    9403:        :am:bs:\
1.1       deraadt  9404:        :co#80:li#24:\
                   9405:        :al=2.3*\001<2.3*/>:bl=^G:cd=2.2*\037:ce=.1*\036:\
                   9406:        :cl=12\014:cm=\024%+^X%>/0%+P:cr=^M:dc=.1*\004:\
1.5       tholo    9407:        :dl=2.3*\027:do=^K:ho=^]:kd=^K:kl=^H:kr=^X:ku=^Z:le=^H:nd=^X:\
                   9408:        :sf=^J:up=^Z:
1.1       deraadt  9409: # The padding on :sr: and :ta: for act5 and mime is a guess and not final.
                   9410: # The act 5 has hardware tabs, but they are in columns 8, 16, 24, 32, 41 (!)...
                   9411: # (microterm5: removed obsolete ":ma==^Z^P^Xl^Kj:" -- esr)
                   9412: act5|microterm5|microterm act v:\
                   9413:        :kd=^K:kl=^H:kr=^X:ku=^Z:sr=\EH:uc=^H\EA:tc=act4:
                   9414: # Mimes using brightness for standout.  Half bright is really dim unless
                   9415: # you turn up the brightness so far that lines show up on the screen.
                   9416: mime-fb|full bright mime1:\
                   9417:        :is=^S\E:se=^S:so=^Y:tc=mime:
                   9418: mime-hb|half bright mime1:\
                   9419:        :is=^Y\E:se=^Y:so=^S:tc=mime:
                   9420: # (mime: removed obsolete ":ma=^X ^K^J^Z^P:"; removed ":do=^K:" that overrode
1.2       deraadt  9421: # the more plausible ":do=^J:" -- esr)
1.1       deraadt  9422: # uc was at one time disabled to get around a curses bug, be wary of it
                   9423: mime|mime1|mime2|mimei|mimeii|microterm mime1:\
1.8       tholo    9424:        :am:bs:\
1.1       deraadt  9425:        :co#80:it#8:li#24:vt#9:\
1.5       tholo    9426:        :al=\001:bl=^G:cd=^_:ce=^^:cl=^]^C:cm=\024%+^X%> 0%+P:\
                   9427:        :cr=^M:dl=\027:do=^J:ho=^]:is=^S\E^Q:kd=^K:kl=^H:kr=^X:ku=^Z:\
                   9428:        :le=^H:nd=^X:sf=^J:sr=\022:ta=\011:uc=^U:up=^Z:
1.8       tholo    9429: # These termcaps (for mime2a) put the terminal in low intensity mode
1.1       deraadt  9430: # since high intensity mode is so obnoxious.
                   9431: mime2a-s|microterm mime2a (emulating an enhanced soroc iq120):\
1.8       tholo    9432:        :am:bs:\
1.1       deraadt  9433:        :co#80:li#24:\
1.5       tholo    9434:        :al=\001:bl=^G:cd=\EJ:ce=\EK:cl=\EL:cm=\E=%+ %+ :cr=^M:\
                   9435:        :dc=\ED:dl=\027:do=^J:ei=^Z:ho=^^:im=\EE:ip=:is=\E):kd=^J:\
                   9436:        :kl=^H:kr=^L:ku=^K:le=^H:nd=^L:se=\E;:sf=^J:so=\E\072:sr=\EI:\
                   9437:        :ue=\E7:up=\EI:us=\E6:
1.1       deraadt  9438: # This is the preferred mode (but ^X can't be used as a kill character)
                   9439: mime2a|mime2a-v|microterm mime2a (emulating an enhanced vt52):\
1.8       tholo    9440:        :bs:\
1.1       deraadt  9441:        :co#80:it#8:li#24:\
1.5       tholo    9442:        :al=\001:bl=^G:cd=\EQ:ce=\EP:cl=\EL:cm=\EY%+ %+ :cr=^M:\
                   9443:        :dc=^N:dl=\027:do=^J:ei=^Z:ho=\EH:im=^O:ip=:is=^Y:kd=\EB:\
                   9444:        :kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:se=\E9:sf=^J:so=\E8:\
                   9445:        :sr=\EA:ta=^I:ue=\E5:up=\EA:us=\E4:
1.1       deraadt  9446: # (mime3a: removed obsolete ":ma=^X ^K^J^Z^P:" -- esr)
                   9447: mime3a|mime1 emulating 3a:\
                   9448:        :am@:\
                   9449:        :kd=^K:kl=^H:kr=^X:ku=^Z:tc=adm3a:
                   9450: mime3ax|mime-3ax|mime1 emulating enhanced 3a:\
                   9451:        :it#8:\
                   9452:        :al=\001:cd=^_:ce=^X:dl=\027:ta=\011:tc=mime3a:
                   9453: # Wed Mar  9 18:53:21 1983
                   9454: # We run our terminals at 2400 baud, so there might be some timing problems at
                   9455: # higher speeds. The major improvements in this model are the terminal now
                   9456: # scrolls down and insert mode works without redrawing the rest of the line
                   9457: # to the right of the cursor. This is done with a bit of a kludge using the
                   9458: # exit graphics mode to get out of insert, but it does not appear to hurt
                   9459: # anything when using vi at least. If you have some users using act4s with
                   9460: # programs that use curses and graphics mode this could be a problem.
                   9461: mime314|mm314|mime 314:\
                   9462:        :am:\
                   9463:        :co#80:li#24:\
1.5       tholo    9464:        :al=^A:cd=^_:ce=^^:cl=^L:cm=\024%.%.:dc=^D:dl=^W:ei=^V:ho=^]:\
                   9465:        :im=^S:kd=^K:kl=^H:kr=^X:ku=^Z:le=^H:nd=^X:ta=^I:up=^Z:
1.2       deraadt  9466: # Microterm mime 340 from University of Wisconsin
                   9467: mm340|mime340|mime 340:\
                   9468:        :co#80:li#24:\
                   9469:        :al=46\EU:cd=2*\037:ce=2.1\EL:cl=12\032:cm=\E=%+ %+ :\
1.5       tholo    9470:        :cr=^M:dc=2.1*\E#:dl=49.6\EV:do=^J:is=\E\054:kb=^H:kd=^J:\
                   9471:        :kl=^H:ku=^K:le=^H:nd=^L:nw=^M^J:sf=^J:ta=^I:up=^K:
1.2       deraadt  9472: # This came from University of Wisconsin marked "astro termcap for jooss".
                   9473: # (mt4520-rv: removed obsolete ":kn#4:" and incorrect ":ri=\E[C:";
                   9474: # also added <rmam>/<smam> based  on the init string -- esr)
                   9475: mt4520-rv|micro-term 4520 reverse video:\
                   9476:        :am:hs:ms:xn:xo:\
                   9477:        :co#80:it#8:li#24:ws#80:\
                   9478:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.3       deraadt  9479:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
1.5       tholo    9480:        :al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
                   9481:        :cr=^M:cs=\E[%i%d;%dr:ct=\E[g:dc=\E[P:dl=\E[M:do=\E[B:ei=:\
                   9482:        :fs=\E[?5l\E[?5h:ho=\E[H:ic=\E[@:im=:\
1.2       deraadt  9483:        :is=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[1;24r\E[24;1H\E[H\E[J:\
1.5       tholo    9484:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\E[B:kh=\E[H:\
                   9485:        :kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:ll=\E[24;1H:me=\E[m:\
1.3       deraadt  9486:        :nd=\E[C:nw=\EE:\
                   9487:        :r1=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[H\E[J:\
1.5       tholo    9488:        :rc=\E8:rf=/usr/share/tabset/vt100:sc=\E7:se=\E[0m:\
                   9489:        :sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:ts=\E[25;1H:ue=\E[24m:\
                   9490:        :up=\E[A:us=\E[4m:vb=\E[?5l\E[?5h:ve=\E[0V\E8:\
                   9491:        :vs=\E7\E[0U:
1.2       deraadt  9492:
1.1       deraadt  9493: # Fri Aug  5 08:11:57 1983
                   9494: # This entry works for the ergo 4000 with the following setups:
                   9495: # ansi,wraparound,newline disabled, xon/xoff disabled in both
                   9496: # setup a & c.
                   9497: #
                   9498: # WARNING!!! There are multiple versions of ERGO 4000 microcode
                   9499: # Be advised that very early versions DO NOT WORK RIGHT !!
                   9500: # Microterm does have a ROM exchange program- use it or lose big
1.2       deraadt  9501: # (ergo400: added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  9502: ergo4000|microterm ergo 4000:\
                   9503:        :da:db:ms:\
                   9504:        :co#80:li#66:\
1.5       tholo    9505:        :AL=\E[1L:RA=\E[?7l:SA=\E[?7m:bl=^G:cd=\E[0J:ce=\E[0K:\
                   9506:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:dc=\E[1P:dl=\E[1M:\
                   9507:        :do=\E[B:ei=\E[4l:im=\E[4h:\
1.1       deraadt  9508:        :is=\E<\E=\E[?1l\E[?4l\E[?5l\E[?7h\E[?8h:k1=\EOP:\
1.5       tholo    9509:        :k2=\EOQ:k3=\EOR:k4=\EOS:kd=\E[B:ke=\E=:kl=\E[D:kr=\E[C:\
                   9510:        :ks=\E=:ku=\E[A:l1=pf1:l2=pf2:l3=pf3:l4=pf4:le=^H:me=\E[m:\
                   9511:        :nd=\E[C:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:up=\E[A:
1.1       deraadt  9512:
                   9513: #### NCR
                   9514: #
                   9515: # NCR's terminal group was merged with AT&T's when AT&T bought the company.
                   9516: # For what happened to that group, see the ADDS section.
                   9517: #
1.5       tholo    9518: # There is an NCR4103 terminal that's just a re-badged Wyse-50.
                   9519: #
1.1       deraadt  9520:
1.13      millert  9521: # The following vendor-supplied termcaps were captured from the Boundless
                   9522: # Technologies site, 8 March 1998.  I removed all-upper-case names that were
                   9523: # identical, except for case, to lower-case ones.  I also uncommented the acsc
                   9524: # capabilities.X
                   9525: #
                   9526: # The Intecolor emulation of the NCR 2900/260C color terminal is basicly a
                   9527: # DEC vt200/300 with color capabilities added.
                   9528: ncr260intan|NCR Intecolor emulation of the 2900_260C with an ANSI keyboard:\
                   9529:        :Co#8:pa#64:\
                   9530:        :AB=\E[4%p1%dm:AF=\E[3%p1%dm:op=\E[0m:tc=ncr260vt300an:
                   9531: # The Intecolor emulation of the NCR 2900/260C color terminal is basicly a
                   9532: # DEC vt200/300 with color capabilities added.
                   9533: ncr260intwan|NCR Intecolor emulation of the 2900_260C with an ANSI keyboard:\
                   9534:        :Co#8:pa#64:\
                   9535:        :AB=\E[4%p1%dm:AF=\E[3%p1%dm:op=\E[0m:tc=ncr260vt300wan:
                   9536: # The Intecolor emulation of the NCR 2900/260C color terminal is basicly a DEC
                   9537: # vt200/300 with color capabilities added.
                   9538: ncr260intpp|NCR Intecolor emulation of the 2900_260C with a PC+ keyboard:\
                   9539:        :Co#8:pa#64:\
                   9540:        :AB=\E[4%p1%dm:AF=\E[3%p1%dm:op=\E[0m:tc=ncr260vt300pp:
                   9541: # The Intecolor emulation of the NCR 2900/260C color terminal is basicly a
                   9542: # DEC vt200/300 with color capabilities added.
                   9543: ncr260intwpp|NCR Intecolor emulation of the 2900_260C with a PC+ keyboard in 132 column mode:\
                   9544:        :Co#8:pa#64:\
                   9545:        :AB=\E[4%p1%dm:AF=\E[3%p1%dm:op=\E[0m:tc=ncr260vt300wpp:
                   9546: # This definition for ViewPoint supports several attributes.  This means
                   9547: # that it has magic cookies (extra spaces where the attributes begin).
                   9548: # Some applications do not function well with magic cookies.  The System
                   9549: # Administrator's Shell in NCR Unix SVR4 1.03 is one such application.
                   9550: # If supporting various attributes is not vital, 'xmc#1' and the extra
                   9551: # attributes can be removed.
                   9552: # Mapping to ASCII character set ('acsc' capability) can also be
                   9553: # restored if needed.
                   9554: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   9555: # (sgr removed to fit entry within 1023 bytes)
                   9556: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
                   9557: ncr260vppp|NCR 2900_260 viewpoint:\
                   9558:        :am:bw:hs:km:mi:ms:xo:\
                   9559:        :co#80:li#24:sg#1:\
                   9560:        :CM=\Ew@%p1%{48}%+%c%p2%' '%+%c%p3%' '%+%c:K1=^A:\
                   9561:        :K3=\EJ:K4=\ET:K5=\EJ:ae=\EcB0\EH\003:al=\EM:\
                   9562:        :as=\EcB1\EH\002:bl=^G:bt=\EI:cd=\Ek:ce=\EK:cl=\014:\
                   9563:        :cm=\EY%+ %+ :cr=\r:dc=\EW:dl=\El:do=\n:ds=\E`c:ei=\Er:\
                   9564:        :fs=^M:ho=\036:im=\Eq:\
                   9565:        :is=\Ee6\E~%\E+\E`\072\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7:\
                   9566:        :k1=^B1\r:k2=^B2\r:k3=^B3\r:k4=^B4\r:k5=^B5\r:k6=^B6\r:\
                   9567:        :k7=^B7\r:k8=^B8\r:k9=^B9\r:kD=\EW:kI=\Eq:kN=\EJ:kP=\EJ:\
                   9568:        :kb=^H:kd=^J:kh=^A:kl=^U:kr=^F:ku=^Z:le=\010:ll=\001:mb=\EG2:\
                   9569:        :me=\EG0\EH\003:mh=\EGp:mr=\EG4:nd=\006:nw=\037:se=\EG0:\
                   9570:        :sf=\n:so=\EG4:sr=\Ej:st=\E1:ta=^I:ts=\EF:ue=\EG0:up=\032:\
                   9571:        :us=\EG8:ve=\E`5:vi=\E`0:vs=\E`5:
                   9572: ncr260vpwpp|NCR 2900_260 viewpoint wide mode:\
                   9573:        :co#132:\
                   9574:        :cm=\Ea%i%dR%dC:\
                   9575:        :is=\Ee6\E~%\E+\E`;\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7:\
                   9576:        :r2=\Ee6\E~%\E+\E`;\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7:\
                   9577:        :tc=ncr260vppp:
                   9578: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   9579: # (sgr removed to fit entry within 1023 bytes)
                   9580: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
                   9581: ncr260vt100an|NCR 2900_260 vt100 with ansi kybd:\
                   9582:        :am:hs:mi:ms:xn:xo:\
                   9583:        :co#80:li#24:\
                   9584:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   9585:        :K1=\EOw:K2=\EOy:K3=\EOu:K4=\EOq:K5=\EOs:LE=\E[%dD:\
                   9586:        :RI=\E[%dC:SF=\E[%dE:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
                   9587:        :cd=\E[0J:ce=\E[0K:cl=\E[2J\E[1;1H:cm=\E[%i%d;%dH:cr=\r:\
                   9588:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[1P:dl=\E[M:do=\E[B:\
                   9589:        :ds=\E[0$~\E[1$~:ec=\E[%dX:ei=\E[4l:fs=\E[0$}:ho=\E[H:\
                   9590:        :im=\E[4h:\
                   9591:        :is=\E[\041p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
                   9592:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kD=\E[3~:kI=\E[2~:\
                   9593:        :kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
                   9594:        :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=\E[D:mb=\E[5m:md=\E[1m:\
                   9595:        :me=\E[0m\017:mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:sc=\E7:\
                   9596:        :se=\E[0m:sf=\ED:so=\E[1;7m:sr=\EM:st=\EH:ta=^I:\
                   9597:        :ts=\E[2$~\E[1$}:ue=\E[0m:up=\E[A:us=\E[4m:ve=\E[?25h:\
                   9598:        :vi=\E[?25l:
                   9599: ncr260vt100wan|NCR 2900_260 vt100 wide mode ansi kybd:\
                   9600:        :co#132:\
                   9601:        :cm=\E[%i%d;%dH:\
                   9602:        :is=\E[\041p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
                   9603:        :r2=\E[\041p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
                   9604:        :tc=ncr260vt100an:
                   9605: ncr260vt100pp|NCR 2900_260 vt100 with PC+ kybd:\
                   9606:        :@7=\E[5~:K1=\E[H:K2=\E[V:K3=\EOu:K5=\E[U:\
                   9607:        :is=\E[\041p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
                   9608:        :kD=\E[4~:kI=\E[1~:kN=\E[6~:kP=\E[3~:kd=\E[B:ke=\E>:\
                   9609:        :kh=\E[2~:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:l1=pf1:l2=pf2:\
                   9610:        :l3=pf3:l4=pf4:\
                   9611:        :r2=\E[\041p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>:tc=ncr260vt100an:
                   9612: ncr260vt100wpp|NCR 2900_260 vt100 wide mode pc+  kybd:\
                   9613:        :co#132:\
                   9614:        :cm=\E[%i%d;%dH:\
                   9615:        :is=\E[\041p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
                   9616:        :r2=\E[\041p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
                   9617:        :tc=ncr260vt100pp:
                   9618: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   9619: # (sgr removed to fit entry within 1023 bytes)
                   9620: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
                   9621: ncr260vt200an|NCR 2900_260 vt200 with ansi kybd:\
                   9622:        :am:hs:mi:ms:xn:xo:\
                   9623:        :co#80:li#24:\
                   9624:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   9625:        :K1=\EOw:K2=\EOy:K3=\EOu:K4=\EOq:K5=\EOs:LE=\E[%dD:\
                   9626:        :RI=\E[%dC:SF=\E[%dE:UP=\E[%dA:ae=\017:al=\E[L:as=\016:\
                   9627:        :bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[2J\E[1;1H:cm=\E[%i%d;%dH:\
                   9628:        :cr=\r:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[1P:dl=\E[M:do=\E[B:\
                   9629:        :ds=\E[0$~\E[1$~:ec=\E[%dX:ei=\E[4l:fs=\E[0$}:ho=\E[H:\
                   9630:        :im=\E[4h:\
                   9631:        :is=\E[\041p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
                   9632:        :k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[M:k6=\E[17~:\
                   9633:        :k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:\
                   9634:        :kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:\
                   9635:        :ks=\E[?1h\E=:ku=\EOA:le=\E[D:mb=\E[5m:md=\E[1m:\
                   9636:        :me=\E[0m\017:mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:sc=\E7:\
                   9637:        :se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
                   9638:        :ts=\E[2$~\E[1$}:ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[?25h:\
                   9639:        :vi=\E[?25l:
                   9640: ncr260vt200wan|NCR 2900_260 vt200 wide mode ansi kybd:\
                   9641:        :co#132:\
                   9642:        :cm=\E[%i%d;%dH:\
                   9643:        :is=\E[\041p\E[?3;7;19;67h\E[?4l\E(B\E)0\017\E[2J\E[1;1H:\
                   9644:        :r2=\E[\041p\E[?3;7;19;67h\E[?4l\E(B\E)0\017\E[2J\E[1;1H:\
                   9645:        :tc=ncr260vt200an:
                   9646: ncr260vt200pp|NCR 2900_260 vt200 with pc+ kybd:\
                   9647:        :@7=\E[1~:K1=\E[H:K2=\E[V:K3=\EOu:K5=\E[U:kD=\E[4~:\
                   9648:        :kI=\E[2~:kN=\E[6~:kP=\E[5~:kd=\E[B:ke=\E>:kh=\E[H:kl=\E[D:\
                   9649:        :kr=\E[C:ks=\E=:ku=\E[A:l1=pf1:l2=pf2:l3=pf3:l4=pf4:\
                   9650:        :tc=ncr260vt200an:
                   9651: ncr260vt200wpp|NCR 2900_260 vt200 wide mode pc+  kybd:\
                   9652:        :co#132:\
                   9653:        :cm=\E[%i%d;%dH:\
                   9654:        :is=\E[\041p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
                   9655:        :r2=\E[\041p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
                   9656:        :tc=ncr260vt200pp:
                   9657: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   9658: # (sgr removed to fit entry within 1023 bytes)
                   9659: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
                   9660: ncr260vt300an|NCR 2900_260 vt300 with ansi kybd:\
                   9661:        :am:hs:mi:ms:xn:xo:\
                   9662:        :co#80:li#24:\
                   9663:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   9664:        :K1=\EOw:K2=\EOy:K3=\EOu:K4=\EOq:K5=\EOs:LE=\E[%dD:\
                   9665:        :RI=\E[%dC:SF=\E[%dE:UP=\E[%dA:ae=\017:al=\E[L:as=\016:\
                   9666:        :bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[2J\E[1;1H:cm=\E[%i%d;%dH:\
                   9667:        :cr=\r:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[1P:dl=\E[M:do=\E[B:\
                   9668:        :ds=\E[0$~\E[1$~:ec=\E[%dX:ei=\E[4l:fs=\E[0$}:ho=\E[H:\
                   9669:        :im=\E[4h:\
                   9670:        :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>:\
                   9671:        :k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[M:k6=\E[17~:\
                   9672:        :k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:\
                   9673:        :kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:\
                   9674:        :ks=\E[?1h\E=:ku=\EOA:le=\E[D:mb=\E[5m:md=\E[1m:\
                   9675:        :me=\E[0m\017:mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:sc=\E7:\
                   9676:        :se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
                   9677:        :ts=\E[2$~\E[1$}:ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[?25h:\
                   9678:        :vi=\E[?25l:
                   9679: ncr260vt300wan|NCR 2900_260 vt300 wide mode ansi kybd:\
                   9680:        :co#132:\
                   9681:        :cm=\E[%i%d;%dH:\
                   9682:        :is=\E[\041p\E[?3;7;19;67h\E[?4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H:\
                   9683:        :r2=\E[\041p\E[?3;7;19;67h\E[?4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H:\
                   9684:        :tc=ncr260vt300an:
                   9685: ncr260vt300pp|NCR 2900_260 vt300 with pc+ kybd:\
                   9686:        :@7=\E[1~:K1=\E[H:K2=\E[V:K3=\EOu:K5=\E[U:kD=\E[4~:\
                   9687:        :kI=\E[2~:kN=\E[6~:kP=\E[5~:kd=\E[B:ke=\E>:kh=\E[H:kl=\E[D:\
                   9688:        :kr=\E[C:ks=\E=:ku=\E[A:l1=pf1:l2=pf2:l3=pf3:l4=pf4:\
                   9689:        :tc=ncr260vt300an:
                   9690: NCR260VT300WPP|ncr260vt300wpp|NCR 2900_260 vt300 wide mode pc+  kybd:\
                   9691:        :co#132:\
                   9692:        :cm=\E[%i%d;%dH:\
                   9693:        :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>:\
                   9694:        :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>:\
                   9695:        :tc=ncr260vt300pp:
                   9696: # This terminfo file contains color capabilities for the Wyse325 emulation of
                   9697: # the NCR 2900/260C color terminal.  Because of the structure of the command
                   9698: # (escape sequence) used to set color attributes, one of the fore/background
                   9699: # colors must be preset to a given value. I have set the background color to
                   9700: # black.  The user can change this setup by altering the last section of the
                   9701: # 'setf' definition.  The escape sequence to set color attributes is
                   9702: #              ESC d y <foreground_color> <background_color> 1
                   9703: # In addition, the background color can be changed through the desk accessories.
                   9704: # The capablitiy 'op' sets colors to green on black (default combination).
                   9705: #
                   9706: # NOTE:  The NCR Unix System Administrator's Shell will not function properly
                   9707: #          if the 'pairs' capability is defined. Un-Comment the 'pairs'
                   9708: #          capability and recompile if you wish to have it included.
                   9709: #
                   9710: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   9711: # (sgr removed to fit entry within 1023 bytes)
                   9712: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
                   9713: ncr260wy325pp|NCR 2900_260 wyse 325:\
                   9714:        :am:bw:hs:km:mi:ms:xo:\
                   9715:        :co#80:li#24:\
                   9716:        :CM=\Ew@%p1%{48}%+%c%p2%' '%+%c%p3%' '%+%c:K1=^^:\
                   9717:        :K2=\EJ:K4=\ET:K5=\EK:ae=\EH\003\EcB0:al=\EE:\
                   9718:        :as=\EH\002\EcB1:bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=\E*:\
                   9719:        :cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=\n:ds=\E`c:\
                   9720:        :ei=\Er:fs=^M:ho=\036:im=\Eq:\
                   9721:        :is=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\072\E`@\E~\041\E"\Ee4\Ex@\E`9\Ee7:\
                   9722:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
                   9723:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\Eq:kN=\EK:kP=\EJ:\
                   9724:        :kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=\010:mb=\EG2:\
                   9725:        :me=\EG0\EcB0\EcD:mr=\EG4:nd=\014:nw=\037:se=\EG0:sf=\n:\
                   9726:        :so=\EGt:sr=\Ej:st=\E1:ta=^I:ts=\EF:ue=\EG0:up=\013:us=\EG8:\
                   9727:        :ve=\E`1:vi=\E`0:vs=\E`5:
                   9728: ncr260wy325wpp|NCR 2900_260 wyse 325 wide mode:\
                   9729:        :co#132:\
                   9730:        :cm=\Ea%i%dR%dC:\
                   9731:        :is=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~\041\E"\Ee4\Ex@\E`9\Ee7:\
                   9732:        :r2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~\041\E"\Ee4\Ex@\E`9\Ee7:\
                   9733:        :tc=ncr260wy325pp:
                   9734: # This definition for Wyse 350 supports several attributes.  This means
                   9735: # that it has magic cookies (extra spaces where the attributes begin).
                   9736: # Some applications do not function well with magic cookies.  The System
                   9737: # Administrator's Shell in NCR Unix SVR4 1.03 is one such application.
                   9738: # If supporting various attributes is not vital, 'xmc#1' and the extra
                   9739: # attributes can be removed.
                   9740: # Mapping to ASCII character set ('acsc' capability) can also be
                   9741: # restored if needed.
                   9742: # In addition, color capabilities have been added to this file.  The drawback,
                   9743: # however, is that the background color has to be black.  The foreground colors
                   9744: # are numbered 0 through 15.
                   9745: #
                   9746: # NOTE:  The NCR Unix System Administrator's Shell does not function properly
                   9747: #          with the 'pairs' capability defined as below.  If you wish to
                   9748: #          have it included, Un-comment it and recompile (using 'tic').
                   9749: #
                   9750: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   9751: # (sgr removed to fit entry within 1023 bytes)
                   9752: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
                   9753: ncr260wy350pp|NCR 2900_260 wyse 350:\
                   9754:        :am:bw:hs:km:mi:ms:xo:\
                   9755:        :co#80:li#24:sg#1:\
                   9756:        :CM=\Ew@%p1%{48}%+%c%p2%' '%+%c%p3%' '%+%c:K1=^^:\
                   9757:        :K4=\ET:K5=\EK:ae=\EH\003\EcB0:al=\EE:as=\EH\002\EcB1:\
                   9758:        :bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=\E+:cm=\E=%+ %+ :cr=^M:\
                   9759:        :ct=\E0:dc=\EW:dl=\ER:do=\n:ds=\E`c:ei=\Er:fs=^M:ho=\036:\
                   9760:        :im=\Eq:\
                   9761:        :is=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\072\E`@\E~\041\E"\Ee4\Ex@\E`9\Ee7:\
                   9762:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
                   9763:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\Eq:kN=\EK:kP=\EJ:\
                   9764:        :kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=\010:mb=\EG2:\
                   9765:        :me=\EG0\EH\003\EcD:mh=\EGp:mr=\EG4:nd=\014:nw=\037:\
                   9766:        :se=\EG0:sf=\n:so=\EGt:sr=\Ej:st=\E1:ta=^I:ts=\EF:ue=\EG0:\
                   9767:        :up=\013:us=\EG8:ve=\E`1:vi=\E`0:vs=\E`5:
                   9768: ncr260wy350wpp|NCR 2900_260 wyse 350 wide mode:\
                   9769:        :co#132:\
                   9770:        :cm=\Ea%i%dR%dC:\
                   9771:        :is=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~\041\E"\Ee4\Ex@\E`9\Ee7:\
                   9772:        :r2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~\041\E"\Ee4\Ex@\E`9\Ee7:\
                   9773:        :tc=ncr260wy350pp:
                   9774: # This definition for Wyse 50+ supports several attributes.  This means
                   9775: # that it has magic cookies (extra spaces where the attributes begin).
                   9776: # Some applications do not function well with magic cookies.  The System
                   9777: # Administrator's Shell in NCR Unix SVR4 1.03 is one such application.
                   9778: # If supporting various attributes is not vital, 'xmc#1' and the extra
                   9779: # attributes can be removed.
                   9780: # Mapping to ASCII character set ('acsc' capability) can also be
                   9781: # restored if needed.
                   9782: # (ncr260wy50+pp: originally contained commented-out
                   9783: # <acsc=j5k3l2m1n8q:t4u9v=w0x6>, as well as the commented-out one there -- esr)
                   9784: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   9785: # (sgr removed to fit entry within 1023 bytes)
                   9786: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
                   9787: ncr260wy50+pp|NCR 2900_260 wyse 50+:\
                   9788:        :am:bw:hs:km:mi:ms:xo:\
                   9789:        :co#80:li#24:sg#1:\
                   9790:        :CM=\Ew@%p1%{48}%+%c%p2%' '%+%c%p3%' '%+%c:K1=^^:\
                   9791:        :K4=\ET:K5=\EK:ae=\EH^C:al=\EE:as=\EH^B:bl=^G:bt=\EI:cd=\EY:\
                   9792:        :ce=\ET:cl=\E+:cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:\
                   9793:        :do=\n:ds=\E`c:ei=\Er:fs=^M:ho=\036:im=\Eq:\
                   9794:        :is=\Ee6\E~"\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\072\E`@\E~\041\E"\Ee4\Ex@\E`9\Ee7:\
                   9795:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
                   9796:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\Eq:kN=\EK:kP=\EJ:\
                   9797:        :kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=\010:mb=\EG2:\
                   9798:        :me=\EG0\EH\003:mh=\EGp:mr=\EG4:nd=\014:nw=\037:se=\EG0:\
                   9799:        :sf=\n:so=\EGt:sr=\Ej:st=\E1:ta=\011:ts=\EF:ue=\EG0:up=\013:\
                   9800:        :us=\EG8:ve=\E`1:vi=\E`0:vs=\E`5:
                   9801: ncr260wy50+wpp|NCR 2900_260 wyse 50+ wide mode:\
                   9802:        :co#132:\
                   9803:        :cm=\Ea%i%dR%dC:\
                   9804:        :is=\Ee6\E~"\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~\041\E"\Ee4\Ex@\E`9\Ee7:\
                   9805:        :r2=\Ee6\E~"\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~\041\E"\Ee4\Ex@\E`9\Ee7:\
                   9806:        :tc=ncr260wy50+pp:
                   9807: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   9808: # (sgr removed to fit entry within 1023 bytes)
                   9809: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
                   9810: ncr260wy60pp|NCR 2900_260 wyse 60:\
                   9811:        :am:bw:hs:km:mi:ms:xo:\
                   9812:        :co#80:li#24:\
                   9813:        :CM=\Ew@%p1%{48}%+%c%p2%' '%+%c%p3%' '%+%c:K1=^^:\
                   9814:        :K2=\EJ:K4=\ET:K5=\EK:ae=\EH^C:al=\EE:as=\EH^B:bl=^G:bt=\EI:\
                   9815:        :cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:\
                   9816:        :dl=\ER:do=\n:ds=\E`c:ei=\Er:fs=^M:ho=\036:im=\Eq:\
                   9817:        :is=\Ee6\E~4\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\072\E`@\E~\041\E"\Ee4\Ex@\E`9\Ee7:\
                   9818:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
                   9819:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\Eq:kN=\EK:kP=\EJ:\
                   9820:        :kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=\010:mb=\EG2:\
                   9821:        :me=\EG0\EcB0\EcD:mr=\EG4:nd=\014:nw=\037:se=\EG0:sf=\n:\
                   9822:        :so=\EGt:sr=\Ej:st=\E1:ta=\011:ts=\EF:ue=\EG0:up=\013:\
                   9823:        :us=\EG8:ve=\E`1:vi=\E`0:vs=\E`5:
                   9824: ncr260wy60wpp|NCR 2900_260 wyse 60 wide mode:\
                   9825:        :co#132:\
                   9826:        :cm=\Ea%i%dR%dC:\
                   9827:        :is=\Ee6\E~4\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~\041\E"\Ee4\Ex@\E`9\Ee7:\
                   9828:        :r2=\Ee6\E~4\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~\041\E"\Ee4\Ex@\E`9\Ee7:\
                   9829:        :tc=ncr260wy60pp:
                   9830: ncr160vppp|NCR 2900_160 viewpoint:\
                   9831:        :tc=ncr260vppp:
                   9832: ncr160vpwpp|NCR 2900_160 viewpoint wide mode:\
                   9833:        :tc=ncr260vpwpp:
                   9834: ncr160vt100an|NCR 2900_160 vt100 with ansi kybd:\
                   9835:        :tc=ncr260vt100an:
                   9836: ncr160vt100pp|NCR 2900_160 vt100 with PC+ kybd:\
                   9837:        :tc=ncr260vt100pp:
                   9838: ncr160vt100wan|NCR 2900_160 vt100 wide mode ansi kybd:\
                   9839:        :tc=ncr260vt100wan:
                   9840: ncr160vt100wpp|NCR 2900_160 vt100 wide mode pc+  kybd:\
                   9841:        :tc=ncr260vt100wpp:
                   9842: ncr160vt200an|NCR 2900_160 vt200 with ansi kybd:\
                   9843:        :tc=ncr260vt200an:
                   9844: ncr160vt200pp|NCR 2900_160 vt200 with pc+ kybd:\
                   9845:        :tc=ncr260vt200pp:
                   9846: ncr160vt200wan|NCR 2900_160 vt200 wide mode ansi kybd:\
                   9847:        :tc=ncr260vt200wan:
                   9848: ncr160vt200wpp|NCR 2900_160 vt200 wide mode pc+  kybd:\
                   9849:        :tc=ncr260vt200wpp:
                   9850: ncr160vt300an|NCR 2900_160 vt300 with ansi kybd:\
                   9851:        :tc=ncr260vt300an:
                   9852: ncr160vt300pp|NCR 2900_160 vt300 with pc+ kybd:\
                   9853:        :tc=ncr260vt300pp:
                   9854: ncr160vt300wan|NCR 2900_160 vt300 wide mode ansi kybd:\
                   9855:        :tc=ncr260vt300wan:
                   9856: ncr160vt300wpp|NCR 2900_160 vt300 wide mode pc+  kybd:\
                   9857:        :tc=ncr260vt300wpp:
                   9858: ncr160wy50+pp|NCR 2900_160 wyse 50+:\
                   9859:        :tc=ncr260wy50+pp:
                   9860: ncr160wy50+wpp|NCR 2900_160 wyse 50+ wide mode:\
                   9861:        :tc=ncr260wy50+wpp:
                   9862: ncr160wy60pp|NCR 2900_160 wyse 60:\
                   9863:        :tc=ncr260wy60pp:
                   9864: ncr160wy60wpp|NCR 2900_160 wyse 60 wide mode:\
                   9865:        :tc=ncr260wy60wpp:
                   9866: ncrvt100an|ncrvt100pp|NCR vt100 for the 2900 terminal:\
                   9867:        :5i:am:hs:mi:ms:xo:\
                   9868:        :Nl#32:co#80:it#8:li#24:\
                   9869:        :#4=\E[D:%i=\E[C:@8=^M:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
                   9870:        :DO=\E[%dB:K1=\E[H:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
                   9871:        :ac=``aaffgghhiijjkkllmmnnqqttuuvvwwxxyyzz~~:ae=\017:\
                   9872:        :al=\E[B\E[L:as=\016:bl=^G:cb=\E[1K:cd=\E[0J:ce=\E[0K:\
                   9873:        :cl=\E[2J\E[1;1H:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
                   9874:        :ct=\E[3g:dc=\E[1P:dl=\E[M:do=\E[B:ds=\E[31l:eA=\E(B\E)0:\
                   9875:        :ei=\E[4l:fs=1:ho=\E[H:im=\E[4h:\
                   9876:        :is=\E[12h\E[?10l\E%/0n\E[P\031\E[?3l\E(B\E)0:k1=\EOP:\
                   9877:        :k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:\
                   9878:        :ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:me=\017\E[0m:mr=\E[7m:\
                   9879:        :nd=\E[C:nw=\EE:ps=\E[i:\
                   9880:        :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:\
                   9881:        :rc=\E8:\
                   9882:        :..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<100>:\
                   9883:        :sc=\E7:se=\E[0m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
                   9884:        :ts=\E[>+1:ue=\E[0m:up=\E[A:us=\E[4m:
                   9885: ncrvt100wan|NCRVT100WPP|ncrvt100wpp|NCR VT100 emulation of the 2900 terminal:\
                   9886:        :co#132:\
                   9887:        :is=\E[12h\E[?10l\E%/0n\E[P\031\E[?3h\E(B\E)0:\
                   9888:        :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:\
                   9889:        :tc=ncrvt100an:
                   9890: #
                   9891: # Vendor-supplied NCR termcaps end here
                   9892:
1.2       deraadt  9893: # NCR7900 DIP switches:
                   9894: #
                   9895: # Switch A:
                   9896: # 1-4 - Baud Rate
                   9897: # 5   - Parity (Odd/Even)
                   9898: # 6   - Don't Send or Do Send Spaces
                   9899: # 7   - Parity Enable
                   9900: # 8   - Stop Bits (One/Two)
                   9901: #
                   9902: # Switch B:
                   9903: # 1   - Upper/Lower Shift
                   9904: # 2   - Typewriter Shift
                   9905: # 3   - Half Duplex / Full Duplex
                   9906: # 4   - Light/Dark Background
                   9907: # 5-6 - Carriage Return Without / With Line Feed
                   9908: # 7   - Extended Mode
                   9909: # 8   - Suppress Keyboard Display
                   9910: #
                   9911: # Switch C:
                   9912: # 1   - End of line entry disabled/enabled
                   9913: # 2   - Conversational mode / (Local?) Mode
                   9914: # 3   - Control characters displayed / not displayed
                   9915: # 4   - (2-wire?) / 4-wire communications
                   9916: # 5   - RTS on and off for each character
                   9917: # 6   - (50Hz?) / 60 Hz
                   9918: # 7   - Exit after level zero diagnostics
                   9919: # 8   - RS-232 interface
                   9920: #
                   9921: # Switch D:
                   9922: # 1   - Reverse Channel (yes / no)
                   9923: # 2   - Manual answer (no / yes)
                   9924: # 3-4 - Cursor appearance
                   9925: # 5   - Communication Rate
                   9926: # 6   - Enable / Disable EXT turnoff
                   9927: # 7   - Enable / Disable CR turnoff
                   9928: # 8   - Enable / Disable backspace
                   9929: #
1.1       deraadt  9930: # From <root@goliath.un.atlantaga.NCR.COM>, init string hacked by SCO.
1.8       tholo    9931: ncr7900i|ncr7900|ncr 7900 model 1:\
1.1       deraadt  9932:        :am:bw:ul:\
1.13      millert  9933:        :co#80:li#24:sg#1:\
1.1       deraadt  9934:        :bl=^G:cd=\Ek:ce=\EK:cl=^L:cm=\E1%r%.%.:cr=^M:do=^J:\
1.5       tholo    9935:        :is=\E0@\010\E3\E4\E7:kd=^J:kh=^A:kl=^U:kr=^F:ku=^Z:le=^H:\
                   9936:        :ll=^A:mb=\E0B:me=\E0@:mh=\E0A:mr=\E0P:nd=^F:pf=^T:po=^R:\
1.1       deraadt  9937:        :..sa=\E0%p5%'@'%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c:\
                   9938:        :se=\E0@:sf=^J:so=\E0Q:ue=\E0@:up=^Z:us=\E0`:
                   9939: ncr7900iv|ncr 7900 model 4:\
                   9940:        :am:bw:es:hs:\
                   9941:        :co#80:li#24:\
1.5       tholo    9942:        :al=\E^N:bl=^G:cl=^L:cm=\013%+@\E\005%02:cr=^M:dl=\E^O:\
                   9943:        :do=^J:ds=\Ey1:fs=\Ek\Ey5:ho=\013@\E^E00:k1=\ES:k2=\ET:\
                   9944:        :k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:k8=\ER:kb=^H:kd=\EB:\
                   9945:        :kh=\EH:kl=\ED:kr=\EC:ku=\EA:l6=blue:l7=red:l8=white:le=^H:\
                   9946:        :nw=^M^J:sf=^J:ts=\Ej\Ex5\Ex1\EY8%p1%{32}%+%c\Eo:
1.8       tholo    9947: ncr7901|ncr 7901 model:\
1.1       deraadt  9948:        :am:bw:ul:\
                   9949:        :co#80:li#24:\
1.5       tholo    9950:        :bl=^G:cd=\Ek:ce=\EK:ch=\020%+^J:cl=^L:cm=\EY%+ %+ :cr=^M:\
                   9951:        :cv=\013%+@:do=^J:is=\E4^O:kC=^L:kd=^J:kh=^H:kl=^U:kr=^F:\
                   9952:        :ku=^Z:le=^H:ll=^A:mb=\E0B:me=^O:mh=\E0A:mr=\E0P:nd=^F:pf=^T:\
                   9953:        :po=^R:\
1.1       deraadt  9954:        :..sa=\E0%p5%'@'%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c\016:\
1.5       tholo    9955:        :se=^O:sf=^J:so=\E0Q\016:ue=^O:up=^Z:us=\E0`\016:ve=^X:\
                   9956:        :vi=^W:
1.1       deraadt  9957:
                   9958: #### Perkin-Elmer (Owl)
                   9959: #
                   9960: # These are official terminfo entries from within Perkin-Elmer.
                   9961: #
                   9962:
                   9963: bantam|pe550|pe6100|perkin elmer 550:\
1.8       tholo    9964:        :bs:\
1.1       deraadt  9965:        :co#80:li#24:\
1.5       tholo    9966:        :bl=^G:ce=\EI:cl=\EK:cm=\EX%+ \EY%+ :cr=^M:do=^J:ho=\EH:\
                   9967:        :le=^H:ll=\EH\EA:nd=\EC:sf=^J:up=\EA:
1.1       deraadt  9968: fox|pe1100|perkin elmer 1100:\
1.8       tholo    9969:        :am:bs:\
1.1       deraadt  9970:        :co#80:li#24:\
                   9971:        :bl=^G:cd=\EJ:ce=\EI:cl=\EH\EJ:cm=\EX%+ \EY%+ :cr=^M:\
1.5       tholo    9972:        :ct=\E3:do=^J:ho=\EH:le=^H:ll=\EH\EA:nd=\EC:sf=^J:st=\E1:\
                   9973:        :up=\EA:vb=\020\002\020\003:
1.1       deraadt  9974: owl|pe1200|perkin elmer 1200:\
1.8       tholo    9975:        :am:bs:in:\
1.1       deraadt  9976:        :co#80:li#24:\
1.5       tholo    9977:        :al=\EL:bl=^G:cd=\EJ:ce=\EI:cl=\EH\EJ:cm=\EX%+ \EY%+ :\
                   9978:        :cr=^M:ct=\E3:dc=\EO:dl=\EM:do=^J:ei=:ho=\EH:ic=\EN:im=:ip=:\
                   9979:        :k0=\ERJ:k1=\ERA:k2=\ERB:k3=\ERC:k4=\ERD:k5=\ERE:k6=\ERF:\
1.13      millert  9980:        :k7=\ERG:k8=\ERH:k9=\ERI:kb=^H:le=^H:ll=\EH\EA:me=\E\041\0:\
                   9981:        :nd=\EC:se=\E\041\0:sf=^J:so=\E\041^H:st=\E1:up=\EA:\
                   9982:        :vb=\020\002\020\003:
1.1       deraadt  9983: pe1251|pe6300|pe6312|perkin elmer 1251:\
                   9984:        :am:\
                   9985:        :co#80:it#8:li#24:pb#300:sg#1:vt#8:\
1.5       tholo    9986:        :bl=^G:cd=\EJ:ce=\EI:cl=\EK:cm=\EX%+ \EY%+ :cr=^M:ct=\E3:\
                   9987:        :do=\EB:ho=\EH:k0=\ERA:k1=\ERB:k2=\ERC:k3=\ERD:k4=\ERE:\
                   9988:        :k5=\ERF:k6=\ERG:k7=\ERH:k8=\ERI:k9=\ERJ:k;=\ERK:le=\ED:\
                   9989:        :nd=\EC:sf=^J:st=\E1:up=\EA:
1.2       deraadt  9990: # (pe7000m: this had
                   9991: #      rmul=\E!\0, smul=\E!\040,
                   9992: # which is probably wrong, it collides with kf0
1.1       deraadt  9993: pe7000m|perkin elmer 7000 series monochrome monitor:\
                   9994:        :am:\
                   9995:        :co#80:li#24:\
1.8       tholo    9996:        :bl=^G:bt=\E\041Y:cd=\EJ:ce=\EI:cl=\EK:cm=\ES%+ %+ :cr=^M:\
1.13      millert  9997:        :do=\EB:ho=\EH:i1=\E\041\0\EW  7o\Egf\ES7 :k0=\E\041\0:\
                   9998:        :k1=\E\041^A:k2=\E\041^B:k3=\E\041^C:k4=\E\041^D:\
                   9999:        :k5=\E\041^E:k6=\E\041^F:k7=\E\041^G:k8=\E\041^H:\
                   10000:        :k9=\E\041^I:k;=\E\041^J:kb=^H:kd=\E\041U:kh=\E\041S:\
                   10001:        :kl=\E\041V:kr=\E\041W:ku=\E\041T:le=\ED:ll=\ES7 :nd=\EC:\
                   10002:        :sf=^J:sr=\ER:up=\EA:
1.1       deraadt  10003: pe7000c|perkin elmer 7000 series colour monitor:\
1.13      millert  10004:        :i1=\E\041\0\EW  7o\Egf\Eb0\Ec7\ES7 :se=\Eb0:so=\Eb2:\
                   10005:        :ue=\E\041\0:us=\E\041 :\
1.5       tholo    10006:        :tc=pe7000m:
1.1       deraadt  10007:
1.13      millert  10008: #### Prime
                   10009: #
                   10010: # Yes, Prime made terminals.  These entries were posted by Kevin J. Cummings
                   10011: # <cummings@primerd.prime.com> on 14 Dec 1992 and lightly edited by esr.
                   10012: # Prime merged with ComputerVision in the late 1980s; you can reach them at:
                   10013: #
                   10014: #      ComputerVision Services
                   10015: #      500 Old Connecticut Path
                   10016: #      Framingham, Mass.
                   10017: #
                   10018:
                   10019: # Standout mode is dim reverse-video.
                   10020: pt100|pt200|wren|fenix|prime pt100/pt200:\
                   10021:        :am:bw:mi:ms:\
                   10022:        :co#80:it#8:li#24:\
                   10023:        :DC=\E[%dP:DL=\E[M:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
                   10024:        :UP=\E[%dA:al=\E[L\E[t:bt=\E[Z:cd=\E[J\E[r:ce=\E[K\E[t:\
                   10025:        :cl=\E?:cm=\E0%+\%+\:cr=^M:dc=\E[P:do=\ED:ei=\E[4l:ho=\E$B:\
                   10026:        :im=\E[4h:kb=^H:kd=\E[B:ke=\E[>13l:kh=\E$A:kl=\E[D:kr=\E[C:\
                   10027:        :ks=\E[>13h:ku=\E[A:le=^H:me=\E[m:mh=\E[2m:nd=\E[C:nw=^M^J:\
                   10028:        :se=\E[m:sf=^J:so=\E[2;7m:ta=^I:te=:\
                   10029:        :ti=\E[>1l\E[>2l\E[>16l\E[4l\E[>9l\E[20l\E[>3l\E[>7h\E[>12l\E[1Q:\
                   10030:        :ue=\E[m:up=\EM:us=\E[4m:vb=\E$\E$P:
                   10031: pt100w|pt200w|wrenw|fenixw|prime pt100/pt200 in 132-column mode:\
                   10032:        :co#132:\
                   10033:        :cm=\E[%i%d;%dH:tc=pt100:
                   10034: pt250|Prime PT250:\
                   10035:        :se@:so@:tc=pt100:
                   10036: pt250w|Prime PT250 in 132-column mode:\
                   10037:        :se@:so@:tc=pt100w:
                   10038:
1.1       deraadt  10039: #### Sperry Univac
                   10040: #
                   10041: # Sperry Univac has merged with Burroughs to form Unisys.
                   10042: #
                   10043:
                   10044: # This entry is for the Sperry UTS30 terminal running the TTY
                   10045: # utility under control of CP/M Plus 1R1. The functionality
                   10046: # provided is comparable to the DEC vt100.
1.2       deraadt  10047: # (uts30: I added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  10048: uts30|sperry uts30 with cp/m@1R1:\
                   10049:        :am:bw:hs:\
                   10050:        :co#80:li#24:ws#40:\
                   10051:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.3       deraadt  10052:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7m:SF=\E[%dB:\
1.5       tholo    10053:        :SR=\E[%dA:UP=\E[%dA:\
                   10054:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
                   10055:        :ae=\Ed:al=\EN:as=\EF:bl=^G:cd=\E[J:ce=\E[K:cl=^L:\
                   10056:        :cm=\E[%i%d;%dH:cr=^M:cs=\EU%+ %+ :dc=\EM:dl=\EL:do=\EB:\
                   10057:        :ei=:fs=^M:ho=\E[H:ic=\EO:im=:is=\E[U 7\E[24;1H:kb=^H:\
                   10058:        :kd=\EOB:kh=\E[H:kl=\EOD:kr=\EOC:ku=\EOA:le=^H:mb=\E[5m:\
                   10059:        :md=\E[1m:me=\E[m:mr=\E[7m:nd=\EC:\
1.3       deraadt  10060:        :r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\EX:\
1.5       tholo    10061:        :rf=/usr/share/tabset/vt100:sc=\EW:se=\E[m:sf=^J:\
                   10062:        :so=\E[7m:sr=\EI:ta=^I:ts=\E]:uc=\EPB:ue=\E[m:up=\E[A:\
                   10063:        :us=\E[4m:ve=\ES:vi=\ER:
1.1       deraadt  10064:
                   10065: #### Tandem
                   10066: #
                   10067: # Tandem builds these things for use with its line of fault-tolerant
                   10068: # transaction-processing computers.  They aren't generally available
                   10069: # on the merchant market, and so are fairly uncommon.
                   10070: #
                   10071:
                   10072: tandem6510|adm3a repackaged by Tandem:\
                   10073:        :tc=adm3a:
                   10074:
                   10075: # A funny series of terminal that TANDEM uses.  The actual model numbers
                   10076: # have a fourth digit after 653 that designates minor variants.  These are
                   10077: # natively block-mode and rather ugly, but they have a character mode which
                   10078: # this doubtless(?) exploits.  There is a 6520 that is slightly dumber.
1.5       tholo    10079: # (tandem653: had ":sb=\ES:", probably someone's mistake for sf; also,
                   10080: # removed :if=/usr/share/tabset/tandem653:, no such file -- esr)
1.1       deraadt  10081: tandem653|t653x|Tandem 653x multipage terminal:\
1.8       tholo    10082:        :am:bs:da:db:hs:\
1.13      millert  10083:        :co#80:li#24:sg#1:ws#64:\
1.5       tholo    10084:        :cd=\EJ:ce=\EK:cl=\EI:cm=\023%+ %+ :do=^J:ds=\Eo\r:fs=^M:\
                   10085:        :ho=\EH:le=^H:me=\E6 :nd=\EC:se=\E6 :sf=\ES:so=\E6$:sr=\ET:\
                   10086:        :ts=\Eo:ue=\E6 :up=\EA:us=\E60:
1.1       deraadt  10087:
                   10088: #### Tandy/Radio Shack
                   10089: #
                   10090: # Tandy has a line of VDTs distinct from its microcomputers.
                   10091: #
                   10092:
                   10093: dmterm|deskmate terminal:\
                   10094:        :am:bw:\
                   10095:        :co#80:li#24:\
1.5       tholo    10096:        :al=\EP:bl=^G:cd=\EJ:ce=\EK:cl=\Ej:cm=\EY%+ %+ :cr=^M:\
                   10097:        :dc=\ES:dl=\ER:do=\EB:ei=:ho=\EH:ic=\EQ:im=:k0=\E1:k1=\E2:\
                   10098:        :k2=\E3:k3=\E4:k4=\E5:k5=\E6:k6=\E7:k7=\E8:k8=\E9:k9=\E0:\
                   10099:        :kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:l0=f1:l1=f2:l2=f3:l3=f4:\
                   10100:        :l4=f5:l5=f6:l6=f7:l7=f8:l8=f9:l9=f10:le=^H:ll=\EE:mk@:nd=\EC:\
                   10101:        :sf=\EX:ta=^I:ue@:up=\EA:us@:ve=\EG6:vi=\EG5:\
                   10102:        :tc=adm+sgr:
1.1       deraadt  10103: dt100|dt-100|Tandy DT-100 terminal:\
                   10104:        :xo:\
1.13      millert  10105:        :co#80:li#24:sg#1:\
                   10106:        :ac=jjkkllmmnnqqttuuvvwwxx:ae=^O:al=\E[L:as=^N:bl=^G:\
1.5       tholo    10107:        :cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\010\E[%i%d;%dH:cr=^M:\
                   10108:        :cs=\E[%2;%2r:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:\
                   10109:        :im=:is=\E[?3l\E)0\E(B:k1=\E[?3i:k2=\E[2i:k3=\E[@:k4=\E[M:\
                   10110:        :k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:k9=\E[21~:\
                   10111:        :k;=\E[?5i:kN=\E[29~:kP=\E[28~:kd=\E[B:kh=\E[H:kl=\E[D:\
                   10112:        :kr=\E[C:ku=\E[A:l1=f1:l2=f2:l3=f3:l4=f4:l5=f5:l6=f6:l7=f7:\
                   10113:        :l8=f8:le=^H:me=\E[m:nd=\E[C:se=\E[m:sf=^J:so=\E[7m:sr=\EM:\
                   10114:        :ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[?25h:vi=\E[?25l:
1.1       deraadt  10115: dt100w|dt-100w|Tandy DT-100 terminal (wide mode):\
1.3       deraadt  10116:        :co#132:tc=dt100:
1.1       deraadt  10117: dt110|Tandy DT-110 emulating ansi:\
                   10118:        :xo:\
                   10119:        :co#80:li#24:\
1.13      millert  10120:        :@7=\E[K:ac=jjkkllmmnnqqttuuvvwwxx:ae=^O:al=\E[0L:as=^N:\
1.5       tholo    10121:        :bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[H\E[2J:cm=\010\E[%i%d;%dH:\
                   10122:        :cr=^M:cs=\E[%i%d;%dr:dc=\E[0P:dl=\E[0M:do=\E[0B:\
                   10123:        :eA=\E(B\E)0:ei=:ho=\E[H:ic=\E[0@:im=:is=\E[?3l\E)0\E(B:\
                   10124:        :k1=\E[1~:k2=\E[2~:k3=\E[3~:k4=\E[4~:k5=\E[5~:k6=\E[6~:\
                   10125:        :k7=\E[7~:k8=\E[8~:k9=\E[9~:k;=\E[10~:kI=\E[@:kN=\E[26~:\
                   10126:        :kP=\E[25~:kd=\E[B:kh=\E[G:kl=\E[D:kr=\E[C:ku=\E[A:l0=f1:\
                   10127:        :l1=f2:l2=f3:l3=f4:l4=f5:l5=f6:l6=f7:l7=f8:l8=f9:l9=f10:le=^H:\
                   10128:        :me=\E[m:nd=\E[C:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:\
1.2       deraadt  10129:        :ue=\E[m:up=\E[0A:us=\E[4m:ve=\E[?25h:vi=\E[?25l:
1.1       deraadt  10130: pt210|TRS-80 PT-210 printing terminal:\
                   10131:        :hc:os:\
                   10132:        :co#80:\
                   10133:        :bl=^G:cr=^M:do=^J:sf=^J:
                   10134:
                   10135: #### Tektronix (tek)
                   10136: #
                   10137: # Tektronix tubes are graphics terminals.  Most of them use modified
                   10138: # oscilloscope technology incorporating a long-persistence green phosphor,
                   10139: # and support vector graphics on a main screen with an attached "dialogue
                   10140: # area" for interactive text.
                   10141: #
                   10142:
1.8       tholo    10143: tek|tek4012|tektronix 4012:\
                   10144:        :bs:os:\
1.1       deraadt  10145:        :co#75:li#35:\
                   10146:        :bl=^G:cl=\E\014:cr=^M:do=^J:ff=\014:is=\E^O:le=^H:
1.5       tholo    10147: # (tek4013: added <acsc> to suppress tic warnings re :as:/:ae: --esr)
1.8       tholo    10148: tek4013|tektronix 4013:\
1.5       tholo    10149:        :ac=:ae=\E^O:as=\E^N:tc=tek4012:
1.8       tholo    10150: tek4014|tektronix 4014:\
1.1       deraadt  10151:        :co#81:li#38:\
                   10152:        :is=\E\017\E9:tc=tek4012:
1.5       tholo    10153: # (tek4015: added <acsc> to suppress tic warnings re :as:/:ae: --esr)
1.8       tholo    10154: tek4015|tektronix 4015:\
1.5       tholo    10155:        :ac=:ae=\E^O:as=\E^N:tc=tek4014:
1.8       tholo    10156: tek4014-sm|tektronix 4014 in small font:\
1.1       deraadt  10157:        :co#121:li#58:\
                   10158:        :is=\E\017\E\072:tc=tek4014:
1.5       tholo    10159: # (tek4015-sm: added <acsc> to suppress tic warnings re :as:/:ae: --esr)
1.8       tholo    10160: tek4015-sm|tektronix 4015 in small font:\
                   10161:        :ac=:ae=\E^O:as=\E^N:tc=tek4014-sm:
                   10162: # Tektronix 4023 from Andrew Klossner <orca!andrew.tektronix@csnet-relay>
                   10163: #
                   10164: # You need to have "stty nl2" in effect.  Some versions of tset(1) know
                   10165: # how to set it for you.
                   10166: #
                   10167: # It's got the Magic Cookie problem around stand-out mode.  If you can't
                   10168: # live with Magic Cookie, remove the :so: and :se: fields and do without
                   10169: # reverse video.  If you like reverse video stand-out mode but don't want
                   10170: # it to flash, change the letter 'H' to 'P' in the :so: field.
                   10171: tek4023|tektronix 4023:\
                   10172:        :am:bs:\
                   10173:        :co#80:dN#4:li#24:sg#1:vt#4:\
                   10174:        :bl=^G:cl=4\E\014:cm=\034%r%+ %+ :cr=^M:do=^J:kb=^H:le=^H:\
                   10175:        :nd=^I:nl=^J:se=^_@:so=^_P:
1.1       deraadt  10176: # It is recommended that you run the 4025 at 4800 baud or less;
                   10177: # various bugs in the terminal appear at 9600.  It wedges at the
                   10178: # bottom of memory (try "cat /usr/dict/words"); ^S and ^Q typed
                   10179: # on keyboard don't work.  You have to hit BREAK twice to get
                   10180: # one break at any speed - this is a documented feature.
                   10181: # Can't use cursor motion because it's memory relative, and
                   10182: # because it only works in the workspace, not the monitor.
                   10183: # Same for home. Likewise, standout only works in the workspace.
                   10184: #
1.5       tholo    10185: # :ce: was commented out since vi and rogue seem to work better
1.1       deraadt  10186: # simulating it with lots of spaces!
                   10187: #
1.5       tholo    10188: # :al: and :AL: had 145ms of padding, but that slowed down vi's ^U
1.1       deraadt  10189: # and didn't seem necessary.
                   10190: #
                   10191: tek4024|tek4025|tek4027|tektronix 4024/4025/4027:\
1.8       tholo    10192:        :am:bs:da:db:\
1.1       deraadt  10193:        :co#80:it#8:li#34:lm#0:\
                   10194:        :AL=\037up\r\037ili %d\r:CC=^_:DL=\037dli %d\r\006:\
                   10195:        :DO=\037dow %d\r:LE=\037lef %d\r:RI=\037rig %d\r:\
                   10196:        :UP=\037up %d\r:al=\037up\r\037ili\r:bl=^G:\
                   10197:        :cd=\037dli 50\r:cl=\037era\r\n\n:cr=^M:dc=\037dch\r:\
                   10198:        :dl=\037dli\r\006:do=^F^J:ei=:ic=\037ich\r \010:im=:\
1.8       tholo    10199:        :is=\041com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r:\
1.1       deraadt  10200:        :ke=\037lea p2\r\037lea p4\r\037lea p6\r\037lea p8\r\037lea f5\r:\
                   10201:        :ks=\037lea p4 /h/\r\037lea p8 /k/\r\037lea p6 / /\r\037lea p2 /j/\r\037lea f5 /H/\r:\
                   10202:        :le=^H:nd=\037rig\r:sf=^F^J:ta=^I:up=^K:
1.8       tholo    10203: tek4025-17|tek 4025 17 line window:\
1.3       deraadt  10204:        :li#17:tc=tek4025:
1.8       tholo    10205: tek4025-17-ws|tek 4025 17 line window in workspace:\
                   10206:        :is=\041com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r\037wor 17\r\037mon 17\r:\
1.1       deraadt  10207:        :se=\037att s\r:so=\037att e\r:te=\037mon h\r:\
1.5       tholo    10208:        :ti=\037wor h\r:\
                   10209:        :tc=tek4025-17:
1.1       deraadt  10210: tek4025-ex|tek4027-ex|tek 4025/4027 w/!:\
1.8       tholo    10211:        :is=\037com 33\r\n\041sto 9 17 25 33 41 49 57 65 73\r:\
                   10212:        :te=\037com 33\r:ti=\041com 31\r:\
1.5       tholo    10213:        :tc=tek4025:
1.1       deraadt  10214: # Tektronix 4025a
                   10215: # From: Doug Gwyn <gwyn@brl-smoke.ARPA>
                   10216: # The following status modes are assumed for normal operation (replace the
                   10217: # initial "!" by whatever the current command character is):
                   10218: #      !COM 29                 # NOTE: changes command character to GS (^])
                   10219: #      ^]DUP
                   10220: #      ^]ECH R
                   10221: #      ^]EOL
                   10222: #      ^]RSS T
                   10223: #      ^]SNO N
                   10224: #      ^]STO 9 17 25 33 41 49 57 65 73
                   10225: # Other modes may be set according to communication requirements.
                   10226: # If the command character is inadvertently changed, termcap can't restore it.
                   10227: # Insert-character cannot be made to work on both top and bottom rows.
1.3       deraadt  10228: # Clear-to-end-of-display emulation via !DLI 988 is too grotty to use, alas.
1.1       deraadt  10229: # There also seems to be a problem with vertical motion, perhaps involving
                   10230: # delete/insert-line, following a typed carriage return.  This terminal sucks.
                   10231: # Delays not specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
1.2       deraadt  10232: # (tek4025a: removed obsolete ":xx:". This may mean the tek4025a entry won't
                   10233: # work any more. -- esr)
1.8       tholo    10234: tek4025a|Tektronix 4025A:\
                   10235:        :am:bs:bw:da:db:pt:xo:\
1.2       deraadt  10236:        :co#80:it#8:li#34:\
1.1       deraadt  10237:        :CC=^]:DC=\035dch %d;:DL=\035dli %d;:DO=\035dow %d;:\
                   10238:        :LE=\035lef %d;:RI=\035rig %d;:SF=\035dow %d;:\
                   10239:        :UP=\035up %d;:al=\013\035ili;:bl=^G:bt=\035bac;:\
1.5       tholo    10240:        :ce=\035dch 80;:ch=\r\035rig %d;:cl=\035era;\n\035rup;:\
                   10241:        :cr=^M:ct=\035sto;:dc=\035dch;:dl=\035dli;:do=^J:le=^H:\
                   10242:        :nd=\035rig;:\
1.8       tholo    10243:        :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;:\
1.1       deraadt  10244:        :sf=^J:ta=^I:up=^K:
                   10245: # From: cbosg!teklabs!davem Wed Sep 16 21:11:41 1981
                   10246: # Here's the command file that I use to get rogue to work on the 4025.
                   10247: # It should work with any program using the old curses (e.g. it better
                   10248: # not try to scroll, or cursor addressing won't work.  Also, you can't
                   10249: # see the cursor.)
                   10250: # (This "learns" the arrow keys for rogue. I have adapted it for termcap - mrh)
1.8       tholo    10251: tek4025-cr|tek 4025 for curses and rogue:\
                   10252:        :am:bs:\
1.2       deraadt  10253:        :co#80:it#8:li#33:\
1.1       deraadt  10254:        :cl=\037era;:cm=\037jum%i%d\054%d;:do=^F^J:\
1.8       tholo    10255:        :is=\041com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r:\
1.2       deraadt  10256:        :le=^H:nd=\037rig;:sf=^F^J:ta=^I:te=\037wor 0:\
1.1       deraadt  10257:        :ti=\037wor 33h:up=^K:
                   10258: # next two lines commented out since curses only allows 128 chars, sigh.
                   10259: #      :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:\
                   10260: #      :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:
                   10261: tek4025ex|4025ex|4027ex|tek 4025 w/!:\
1.8       tholo    10262:        :is=\037com 33\r\n\041sto 9\05417\05425\05433\05441\05449\05457\05465\05473\r:\
                   10263:        :te=\037com 33\r:ti=\041com 31\r:\
1.5       tholo    10264:        :tc=tek4025:
1.8       tholo    10265: tek4105|tektronix 4105:\
                   10266:        :am:bs:mi:ms:ul:xn:xt:\
1.1       deraadt  10267:        :co#79:it#8:li#29:\
1.5       tholo    10268:        :ac=:ae=\E[m:al=\E[1L:as=\E[1m:bl=^G:bt=\E[Z:cd=\E[J:\
1.1       deraadt  10269:        :ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%2;%2H:cr=^M:ct=\E[1g:\
1.5       tholo    10270:        :dc=\E[1P:dl=\E[1M:do=\E[1B:ei=\E[4l:ho=\E[H:i1=\E%!1\E[m:\
                   10271:        :im=\E[4h:is=\E%!1\E[?6141\E[m:kb=^H:kd=\E[1B:kl=\E[1D:\
                   10272:        :kr=\E[1C:ku=\E[1A:mb=\E[=3;<7m:md=\E[=7;<4m:\
                   10273:        :me=\E[=0;<1m:mh=\E[=1;<6m:mk=\E[=6;<5:mr=\E[=1;<3m:\
                   10274:        :nd=\E[1C:se=\E[=0;<1m:sf=\E[S:so=\E[=2;<3m:sr=\E[T:ta=^I:\
1.8       tholo    10275:        :te=:ti=\E%!1\E[?6l\E[2J:ue=\E[=0;<1m:up=\E[1A:\
                   10276:        :us=\E[=5;<2m:
1.1       deraadt  10277:
1.2       deraadt  10278: # (tek4105-30: I added <rmam>/<smam> based on the init string -- esr)
1.8       tholo    10279: tek4105-30|4015 emulating 30 line vt100:\
1.1       deraadt  10280:        :am:mi:ms:xn:xo:\
                   10281:        :co#80:it#8:li#30:vt#3:\
1.5       tholo    10282:        :@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
                   10283:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
1.3       deraadt  10284:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1.5       tholo    10285:        :ae=^O:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
                   10286:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:do=^J:\
                   10287:        :eA=\E(B\E)0:ho=\E[H:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:\
                   10288:        :k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:\
                   10289:        :kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
                   10290:        :ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:\
                   10291:        :nd=\E[C:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
1.1       deraadt  10292:        :..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
                   10293:        :sc=\E7:se=\E[m:sf=^J:so=\E[1;7m:sr=\EM:st=\EH:ta=^I:\
                   10294:        :ue=\E[m:up=\E[A:us=\E[4m:
                   10295:
1.8       tholo    10296: # Tektronix 4105 from BRL
                   10297: # The following setup modes are assumed for normal operation:
                   10298: #      CODE ansi               CRLF no                 DABUFFER 141
                   10299: #      DAENABLE yes            DALINES 30              DAMODE replace
                   10300: #      DAVISIBILITY yes        ECHO no                 EDITMARGINS 1 30
                   10301: #      FLAGGING input          INSERTREPLACE replace   LFCR no
                   10302: #      ORIGINMODE relative     PROMPTMODE no           SELECTCHARSET G0 B
                   10303: #      SELECTCHARSET G1 0      TABS -2
                   10304: # Other setup modes may be set for operator convenience or communication
                   10305: # requirements; I recommend
                   10306: #      ACURSOR 1 0             AUTOREPEAT yes          AUTOWRAP yes
                   10307: #      BYPASSCANCEL <LF>       CURSORKEYMODE no        DAINDEX 1 0 0
                   10308: #      EOFSTRING ''            EOLSTRING <CR>          EOMCHARS <CR> <NU>
                   10309: #      GAMODE overstrike       GCURSOR 0 100 0         GSPEED 10 1
                   10310: #      IGNOREDEL no            KEYEXCHAR <DL>          NVDEFINE -53 "<NU>"
                   10311: #      PROMPTSTRING ''         QUEUESIZE 2460          WINDOW 0 0 4095 3132
                   10312: #      XMTDELAY 0
                   10313: # and factory color maps.  After setting these modes, save them with NVSAVE. No
                   10314: # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
                   10315: # "IC" cannot be used in combination with "im" & "ei".
                   10316: # "tek4105a" is just a guess:
                   10317: tek4105a|Tektronix 4105:\
                   10318:        :bs:ms:pt:xo:\
                   10319:        :co#80:it#8:kn#8:li#30:vt#3:\
                   10320:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
                   10321:        :RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ac=:ae=^O:al=\E[L:\
                   10322:        :as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
                   10323:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
                   10324:        :dl=\E[M:do=^J:ec=\E[%dX:ei=\E[4l:ho=\E[H:im=\E[4h:\
                   10325:        :is=\E%!1:k0=\EOA:k1=\EOB:k2=\EOC:k3=\EOD:k4=\EOP:k5=\EOQ:\
                   10326:        :k6=\EOR:k7=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
                   10327:        :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:\
                   10328:        :l5=F6:l6=F8:le=^H:ll=\E[30;H:mb=\E[5m:md=\E[1m:me=\E[m:\
                   10329:        :mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:\
                   10330:        :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>:\
                   10331:        :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
                   10332:        :te=\E%!0\ELBH=\E%!1:ti=\E[?6l:ue=\E[m:up=\EM:us=\E[4m:\
                   10333:        :ve=\E%!0\ETD10\E%!1:vi=\E%!0\ETD00\E%!1:\
                   10334:        :vs=\E%!0\ETD70\E%!1:
                   10335:
                   10336: #
                   10337: # Tektronix 4106/4107/4109 from BRL
                   10338: # The following setup modes are assumed for normal operation:
                   10339: #      CODE ansi               COLUMNMODE 80           CRLF no
                   10340: #      DABUFFER 141            DAENABLE yes            DALINES 32
                   10341: #      DAMODE replace          DAVISIBILITY yes        ECHO no
                   10342: #      EDITMARGINS 1 32        FLAGGING input          INSERTREPLACE replace
                   10343: #      LFCR no                 LOCKKEYBOARD no         ORIGINMODE relative
                   10344: #      PROMPTMODE no           SELECTCHARSET G0 B      SELECTCHARSET G1 0
                   10345: #      TABS -2
                   10346: # Other setup modes may be set for operator convenience or communication
                   10347: # requirements; I recommend
                   10348: #      ACURSOR 1 0             AUTOREPEAT yes          AUTOWRAP yes
                   10349: #      BYPASSCANCEL <LF>       CURSORKEYMODE no        DAINDEX 1 0 0
                   10350: #      EOFSTRING ''            EOLSTRING <CR>          EOMCHARS <CR> <NU>
                   10351: #      GAMODE overstrike       GCURSOR 0 100 0         GSPEED 9 3
                   10352: #      IGNOREDEL no            KEYEXCHAR <DL>          NVDEFINE -53 "<NU>"
                   10353: #      PROMPTSTRING ''         QUEUESIZE 2620          WINDOW 0 0 4095 3132
                   10354: #      XMTDELAY 0
                   10355: # and factory color maps.  After setting these modes, save them with NVSAVE.  No
                   10356: # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
                   10357: # "IC" cannot be used in combination with "im" & "ei".
1.13      millert  10358: tek4106brl|tek4107brl|tek4109brl|Tektronix 4106 4107 or 4109:\
1.8       tholo    10359:        :ms:xo:\
                   10360:        :co#80:it#8:li#32:vt#3:\
                   10361:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
                   10362:        :RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ac=:ae=^O:al=\E[L:\
                   10363:        :as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
                   10364:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
                   10365:        :dl=\E[M:do=^J:ec=\E[%dX:ei=\E[4l:ho=\E[H:im=\E[4h:\
                   10366:        :is=\E%!1:k0=\EOA:k1=\EOB:k2=\EOC:k3=\EOD:k4=\EOP:k5=\EOQ:\
                   10367:        :k6=\EOR:k7=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
                   10368:        :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:\
                   10369:        :l5=F6:l6=F8:le=^H:ll=\E[32;H:mb=\E[5m:md=\E[1m:me=\E[m:\
                   10370:        :mr=\E[7m:nd=\E[C:nw=\EE:\
                   10371:        :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>:\
                   10372:        :rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7;42m:sr=\EM:st=\EH:\
                   10373:        :ta=^I:te=\E%!0\ELBH=\E%!1:ti=\E[?6l:ue=\E[m:up=\EM:\
                   10374:        :us=\E[4m:ve=\E%!0\ETD10\E%!1:vi=\E%!0\ETD00\E%!1:\
                   10375:        :vs=\E%!0\ETD70\E%!1:
                   10376:
                   10377: tek4107|tek4109|tektronix terminals 4107 4109:\
                   10378:        :am:bs:mi:ms:ul:xn:xt:\
1.1       deraadt  10379:        :co#79:it#8:li#29:\
1.5       tholo    10380:        :bl=^G:cd=\EJ:ce=\EK:cl=\ELZ:cm=\EY%+ %+ :cr=^M:do=^J:kb=^H:\
                   10381:        :kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:mb=\E%!1\E[5m\E%!0:\
                   10382:        :md=\E%!1\E[1m\E%!0:me=\E%!1\E[m\E%!0:\
                   10383:        :mh=\E%!1\E[<0m\E%!0:mr=\E%!1\E[7m\E%0:nd=\EC:\
1.8       tholo    10384:        :..sa=\E%%\0411\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m\E%%\0410:\
1.1       deraadt  10385:        :se=\E%!1\E[m\E%!0:sf=^J:so=\E%!1\E[7;5m\E%!0:sr=\EI:\
                   10386:        :ta=^I:ue=\E%!1\E[m\E%!0:up=\EA:us=\E%!1\E[4m\E%!0:\
                   10387:        :ve=\E%!0:vs=\E%!3:
                   10388: # Tektronix 4207 with sysline.  In the ancestral termcap file this was 4107-s;
                   10389: # see the note attached to tek4207.
                   10390: tek4207-s|Tektronix 4207 with sysline but no memory:\
                   10391:        :es:hs:\
                   10392:        :ds=\E7\E[?6l\E[2K\E[?6h\E8:fs=\E[?6h\E8:\
1.2       deraadt  10393:        :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:\
                   10394:        :is=\E7\E[?6l\E[2K\E[?6h\E8:\
1.1       deraadt  10395:        :ts=\E7\E[?6l\E[2K\E[;%i%df:tc=tek4107:
                   10396:
                   10397: # The 4110 series may be a wonderful graphics series, but they make the 4025
                   10398: # look good for screen editing.  In the dialog area, you can't move the cursor
                   10399: # off the bottom line.  Out of the dialog area, ^K moves it up, but there
                   10400: # is no way to scroll.
                   10401: #
                   10402: # Note that there is a floppy for free from Tek that makes the
                   10403: # 4112 emulate the vt52 (use the vt52 termcap). There is also
                   10404: # an expected enhancement that will use ANSI standard sequences.
                   10405: #
                   10406: # 4112 in non-dialog area pretending to scroll. It really wraps
                   10407: # but vi is said to work (more or less) in this mode.
                   10408: #
                   10409: # 'vi' works reasonably well with this entry.
                   10410: #
                   10411: otek4112|o4112-nd|otek4113|otek4114|old tektronix 4110 series:\
                   10412:        :am:\
                   10413:        :co#80:li#34:\
                   10414:        :bl=^G:cl=\E^L:cr=^M:do=^J:le=^H:sf=^J:te=\EKA1\ELV1:\
                   10415:        :ti=\EKA0\ELV0\EMG0:up=^K:
                   10416: # The 4112 with the ANSI compatibility enhancement
                   10417: tek4112|tek4114|tektronix 4110 series:\
1.8       tholo    10418:        :am:bs:db:\
1.1       deraadt  10419:        :co#80:li#34:\
                   10420:        :al=\E[L:bt=\E[Z:cd=\E[0J:ce=\E[0K:cl=\E[2J\E[0;0H:\
1.8       tholo    10421:        :cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:ei=:ic=\E[@:im=:\
                   10422:        :is=\E3\0411:le=^H:me=\E[m:nd=\E[C:se=\E[m:\
                   10423:        :sf=\E7\E[0;0H\E[M\E8:so=\E[7m:sr=\E7\E[0;0H\E[L\E8:\
                   10424:        :ue=\E[m:up=\EM:us=\E[4m:
                   10425: tek4112-nd|4112 not in dialog area:\
1.1       deraadt  10426:        :ns:\
                   10427:        :up=^K:tc=tek4112:
1.8       tholo    10428: tek4112-5|4112 in 5 line dialog area:\
1.3       deraadt  10429:        :li#5:tc=tek4112:
1.5       tholo    10430: # (tek4113: this used to have ":nd=\LM1\s\LM0:", someone's mistake;
                   10431: # removed ":as=\E^N:, :ae=\E^O:", which had been commented out in 8.3.
                   10432: # Note, the !0 and !1 sequences in :te:/:ti:/:ve:/:vi: were
1.2       deraadt  10433: # previously \0410 and \0411 sequences...I don't *think* they were supposed
                   10434: # to be 4-digit octal -- esr)
                   10435: tek4113|tektronix 4113 color graphics with 5 line dialog area:\
1.8       tholo    10436:        :am:bs:da:eo:\
1.1       deraadt  10437:        :co#80:li#5:\
                   10438:        :cl=\ELZ:do=^J:is=\EKA1\ELL5\ELV0\ELV1:le=^H:\
                   10439:        :nd=\ELM1 \ELM0:uc=\010\ELM1_\ELM0:\
                   10440:        :vb=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0:
1.8       tholo    10441: tek4113-34|tektronix 4113 color graphics with 34 line dialog area:\
1.1       deraadt  10442:        :li#34:\
                   10443:        :is=\EKA1\ELLB2\ELV0\ELV1:tc=tek4113:
                   10444: # :ns: left off to allow vi visual mode. APL font (:as=\E^N:/:ae=\E^O:) not
                   10445: # supported here. :uc: is slow, but looks nice. Suggest setenv MORE -up .
                   10446: # :vb: needs enough delay to let you see the background color being toggled.
1.8       tholo    10447: tek4113-nd|tektronix 4113 color graphics with no dialog area:\
                   10448:        :am:bs:eo:\
1.2       deraadt  10449:        :co#80:it#8:li#34:\
1.5       tholo    10450:        :cl=\E^L:do=^J:ho=\ELF7l\177 @:is=\ELZ\EKA0\ELF7l\177 @:\
                   10451:        :le=^H:ll=\ELF hl @:nd=^I:se=\EMT1:so=\EMT2:ta=^I:\
                   10452:        :uc=\010\EMG1_\EMG0:up=^K:\
1.1       deraadt  10453:        :vb=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0:\
                   10454:        :vs=\ELZ\EKA0:
                   10455: # This entry is from Tek. Inc.  (Brian Biehl)
1.2       deraadt  10456: # (tek4115: :bc: renamed to :le:, <rmam>/<smam> added based on init string -- esr)
1.1       deraadt  10457: otek4115|Tektronix 4115:\
1.2       deraadt  10458:        :am:bs:da:db:eo:\
                   10459:        :co#80:it#8:li#34:\
1.3       deraadt  10460:        :RA=\E[?7l:SA=\E[?7h:al=\E[L:bt=\E[Z:cd=\E[J:ce=\E[K:\
                   10461:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=\E[B:\
1.5       tholo    10462:        :ei=\E[4l:ho=\E[H:if=/usr/share/tabset/vt100:im=\E[4h:\
1.2       deraadt  10463:        :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:\
1.5       tholo    10464:        :kb=^H:ke=\E>:ks=\E=:le=\E[D:me=\E[m:nd=\E[C:se=\E[m:\
                   10465:        :so=\E[7m:sr=\EM:ta=^I:te=\E%!0\ELBG8\E%!1\E[34;1H\E[J:\
                   10466:        :ti=\E%!0\ELBB2\E%!1:ue=\E[m:up=\E[A:us=\E[4m:\
1.1       deraadt  10467:        :ve=\E%!0\ELBG8\E%!1\E[34;1H:vs=\E%!0\ELBB2\E%!1:
                   10468: tek4115|newer tektronix 4115 entry with more ANSI capabilities:\
                   10469:        :am:xo:\
                   10470:        :co#80:li#34:\
                   10471:        :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:\
1.5       tholo    10472:        :RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:al=\E[L:bl=^G:\
                   10473:        :bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%+^AG:cl=\E[H\E[J:\
                   10474:        :cm=\E[%i%d;%dH:cr=^M:ct=\E[2g:cv=\E[%+^Ad:dc=\E[P:\
                   10475:        :dl=\E[M:do=^J:ei=:ho=\E[H:ic=\E[@:im=:kb=^H:kd=\E[B:kh=\E[H:\
                   10476:        :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:\
                   10477:        :mk=\E[8m:mr=\E[7m:nd=\E[C:..rp=%p1%c\E[%p2%{1}%-%db:\
1.1       deraadt  10478:        :..sa=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m:\
                   10479:        :se=\E[m:sf=^J:so=\E[7m:st=\EH:ta=^I:ue=\E[m:up=\E[A:\
                   10480:        :us=\E[4m:
                   10481: # The tek4125 emulates a vt100 incorrectly - the scrolling region
1.5       tholo    10482: # command is ignored.  The following entry replaces :cs: with the needed
                   10483: # :AL:, :AL:, and :im:; removes some cursor pad commands that the tek4125
1.1       deraadt  10484: # chokes on; and adds a lot of initialization for the tek dialog area.
                   10485: # Note that this entry uses all 34 lines and sets the cursor color to green.
                   10486: # Steve Jacobson 8/85
1.8       tholo    10487: # (tek4125: there were two "\!"s in the is that I replaced with "\E!";
                   10488: # commented out, :im:=\E1 because there's no :ei:  -- esr)
1.2       deraadt  10489: tek4125|tektronix 4125:\
1.1       deraadt  10490:        :li#34:\
1.8       tholo    10491:        :al=\E[1L:cs@:dl=\E[1M:\
                   10492:        :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:\
1.5       tholo    10493:        :ks=\E=:rc@:sc@:\
                   10494:        :tc=vt100:
1.1       deraadt  10495:
                   10496: # From: <jcoker@ucbic>
1.2       deraadt  10497: # (tek4207: This was the termcap file's entry for the 4107/4207, but SCO
                   10498: # supplied another, less capable 4107 entry.  So we'll use that for 4107 and
1.8       tholo    10499: # note that if jcoker wasn't confused you may be able to use this one.
                   10500: # I merged in :ms:,:sf:,:sr:,<invis>,:ct: from a BRL entry -- esr)
1.1       deraadt  10501: tek4207|Tektronix 4207 graphics terminal with memory:\
1.8       tholo    10502:        :am:bw:mi:ms:ul:xn:\
1.2       deraadt  10503:        :co#80:it#8:li#32:\
1.1       deraadt  10504:        :al=3\E[L:bt=\E[Z:cd=\E[J:ce=5\E[K:cl=156\E[H\E[J:\
1.8       tholo    10505:        :cm=\E[%i%d;%dH:ct=\E[1g:dc=4\E[P:dl=3\E[M:do=^J:ei=:\
                   10506:        :ho=\E[H:ic=4\E[@:im=:\
1.1       deraadt  10507:        :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:\
1.5       tholo    10508:        :kd=\ED:kh=\E[H:kl=\E[D:kr=\E[C:ku=\EM:le=^H:mb=\E[5m:\
1.8       tholo    10509:        :md=\E[1m:me=\E[m:mk=\E[=6;<5:mr=\E[7m:nd=\E[C:se=\E[m:\
                   10510:        :sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:\
1.5       tholo    10511:        :te=\E[?6h\E%!0\ELBP0\E%!1\E[32;1f:ti=\E[?6l\E[H\E[J:\
                   10512:        :ue=\E[m:up=\EM:us=\E[4m:
1.1       deraadt  10513:
                   10514: # From: <carolyn@dali.berkeley.edu>  Thu Oct 31 12:54:27 1985
1.5       tholo    10515: # (tek4404: There was a "\!" in :ti: that I replaced with "\E!".
1.2       deraadt  10516: # Tab had been given as \E2I,that must be the tab-set capability -- esr)
                   10517: tek4404|tektronix 4404:\
1.8       tholo    10518:        :bs:\
1.2       deraadt  10519:        :co#80:it#8:li#32:\
1.5       tholo    10520:        :al=\E[1L:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:\
                   10521:        :cs=\E[%i%d;%dr:dc=\E[P:dl=\E[1M:do=^J:ei=\E[4l:ho=\E[H:\
                   10522:        :im=\E[4h:kd=\E[B:ke=\E[?1h:kl=\E[D:kr=\E[C:ks=\E[?1l:\
                   10523:        :ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:nd=\E[C:rc=\E8:\
                   10524:        :sc=\E7:se=\E[27m:so=\E[7m:st=\E[2I:ta=^I:\
                   10525:        :te=\E[1;1H\E[0J\E[?6h\E[?1l:\
1.8       tholo    10526:        :ti=\E%\E\0411\E[1;32r\E[?6l\E>:ue=\E[m:up=\E[A:\
                   10527:        :us=\E[4m:
1.2       deraadt  10528: # Some unknown person wrote:
1.1       deraadt  10529: # I added the is string - straight Unix has ESC ; in the login
                   10530: # string which sets a ct8500 into monitor mode (aka 4025 snoopy
                   10531: # mode). The is string here cleans up a few things (but not
                   10532: # everything).
                   10533: ct8500|tektronix ct8500:\
                   10534:        :am:bw:da:db:\
                   10535:        :co#80:li#25:\
                   10536:        :al=\E^L:bl=^G:bt=\E^I:cd=\E^U:ce=\E^T:cl=\E^E:\
1.5       tholo    10537:        :cm=\E|%+ %+ :cr=^M:dc=\E^]:dl=\E^M:do=^J:ei=:ic=\E^\:im=:\
                   10538:        :is=\037\EZ\Ek:le=^H:me=\E :nd=\ES:se=\E :sf=^J:so=\E$:\
1.8       tholo    10539:        :sr=\E^A:ta=^I:ue=\E :up=\ER:us=\E\041:
1.1       deraadt  10540:
                   10541: # Tektronix 4205 terminal.
                   10542: #
                   10543: # am is not defined because the wrap around occurs not when the char.
                   10544: # is placed in the 80'th column, but when we are attempting to type
1.2       deraadt  10545: # the 81'st character on the line.  (esr: hmm, this is like the vt100
                   10546: # version of xenl, perhaps am + xenl would work!)
1.1       deraadt  10547: #
                   10548: # Bold, dim, and standout are simulated by colors and thus not allowed
                   10549: # with colors.  The tektronix color table is mapped into the RGB color
                   10550: # table by setf/setb. All colors are reset to factory specifications by oc.
1.2       deraadt  10551: # The <initc> cap uses RGB notation to define colors.  for arguments 1-3 the
1.1       deraadt  10552: # interval (0-1000) is broken into 8 smaller sub-intervals (125).  Each sub-
                   10553: # interval then maps into pre-defined value.
1.3       deraadt  10554: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.8       tholo    10555: tek4205|tektronix 4205:\
1.3       deraadt  10556:        :cc:mi:ms:\
                   10557:        :Co#8:NC#49:co#80:it#8:li#30:pa#63:\
1.1       deraadt  10558:        :AL=\E[%dL:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:\
1.3       deraadt  10559:        :UP=\E[%dA:\
                   10560:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
                   10561:        :ae=^O:al=\E[1L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:\
                   10562:        :ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:ct=\E[1g:\
                   10563:        :dc=\E[1P:dl=\E[1M:do=\E[B:eA=\E)0:ec=\E%dX:ei=\E[4l:\
1.5       tholo    10564:        :ho=\E[H:i1=\E%!0\ETM1\E%!1\E[m:im=\E[4h:k0=\EOA:k1=\EOB:\
                   10565:        :k2=\EOC:k3=\EOD:k4=\EP:k5=\EQ:k6=\ER:k7=\ES:kb=^H:kd=\E[B:\
                   10566:        :kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[=7;<4m:\
                   10567:        :me=\E[=0;<1m\E[24;25;27m\017:mh=\E[=1;<6m:mk=\E[=6;<5:\
                   10568:        :mr=\E[7m:nd=\E[C:\
1.13      millert  10569:        :oc=\E%!0\ETFB000001F4F4F42F40030F404A4C<F450F4F46F40F47F4F40\E%!1:\
1.5       tholo    10570:        :op=\E[39;40m:se=\E[=0;<1m:sf=\ED:so=\E[=2;<3m:sr=\EM:\
1.8       tholo    10571:        :ta=^I:te=:ti=\E%%\0411\E[?6l\E[2J:ue=\E[24m:up=\E[A:\
                   10572:        :us=\E[4m:
1.1       deraadt  10573:
                   10574: #### Teletype (tty)
                   10575: #
                   10576: # These are the hardcopy Teletypes from before AT&T bought the company,
                   10577: # clattering electromechanical dinosaurs in Bakelite cases that printed on
                   10578: # pulpy yellow roll paper.  If you remember these you go back a ways.
                   10579: # Teletype-branded VDTs are listed in the AT&T section.
                   10580: #
                   10581: # The earliest UNIXes were designed to use these clunkers; nroff and a few
                   10582: # other programs still default to emitting codes for the Model 37.
                   10583: #
                   10584:
1.2       deraadt  10585: tty33|tty35|model 33 or 35 teletype:\
1.1       deraadt  10586:        :hc:os:xo:\
                   10587:        :co#72:\
                   10588:        :bl=^G:cr=^M:do=^J:sf=^J:
                   10589: tty37|model 37 teletype:\
1.8       tholo    10590:        :bs:hc:os:xo:\
1.1       deraadt  10591:        :bl=^G:cr=^M:do=^J:hd=\E9:hu=\E8:le=^H:sf=^J:up=\E7:
                   10592:
                   10593: # There are known to be at least three flavors of the tty40, all seem more
                   10594: # like IBM half duplex forms fillers than ASCII terminals.  They have lots of
                   10595: # awful braindamage, such as printing a visible newline indicator after each
                   10596: # newline.  The 40-1 is a half duplex terminal and is hopeless.  The 40-2 is
                   10597: # braindamaged but has hope and is described here.  The 40-4 is a 3270
                   10598: # lookalike and beyond hope.  The terminal has visible bell but I don't know
                   10599: # it - it's null here to prevent it from showing the BL character.
1.2       deraadt  10600: # There is an \EG in <nl> because of a bug in old vi (if stty says you have
1.1       deraadt  10601: # a "newline" style terminal (-crmode) vi figures all it needs is nl
1.5       tholo    10602: # to get crlf, even if :cr: is not ^M.)
1.1       deraadt  10603: # (tty40: removed obsolete ":nl=\EG\EB:", it's just do+cr -- esr)
                   10604: tty40|ds40|ds40-2|dataspeed40|teletype dataspeed 40/2:\
1.8       tholo    10605:        :bs:xo:\
1.1       deraadt  10606:        :co#80:li#24:\
1.5       tholo    10607:        :al=\EL:cd=\EJ:cl=\EH\EJ:cr=\EG:ct=\EH\E2:dc=\EP:dl=\EM:\
1.8       tholo    10608:        :do=\EB:ei=:ho=\EH:ic=\E\136:im=:kb=^]:kl=^H:le=^H:nd=\EC:\
                   10609:        :pf=^T:po=\022:r2=\023\ER:se=\E4:sf=\ES:so=\E3:sr=\ET:\
                   10610:        :st=\E1:ta=\E@:up=\E7:
1.1       deraadt  10611: tty43|model 43 teletype:\
1.8       tholo    10612:        :am:bs:hc:os:xo:\
1.1       deraadt  10613:        :co#132:\
                   10614:        :bl=^G:cr=^M:do=^J:kb=^H:le=^H:sf=^J:
                   10615:
                   10616: #### Tymshare
                   10617: #
                   10618:
1.5       tholo    10619: # You can add :is=\E<: to put this 40-column mode, though I can't
1.2       deraadt  10620: # for the life of me think why anyone would want to.
1.1       deraadt  10621: scanset|sc410|sc415|Tymshare Scan Set:\
                   10622:        :am:bw:ms:\
                   10623:        :co#80:li#24:\
1.13      millert  10624:        :ac=j%k4l<m-q\054x5:ae=^O:as=^N:bl=^G:cd=\EJ:ce=\EK:\
1.5       tholo    10625:        :cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:do=^J:ho=\EH:kd=\EB:kl=\ED:\
                   10626:        :kr=\EC:ku=\EA:le=^H:nd=^I:pf=\E;0:po=\E;0:ps=\E;3:r1=\E>:\
                   10627:        :rc=^C:sc=^B:sf=^J:up=^K:
1.1       deraadt  10628:
                   10629: #### Volker-Craig (vc)
                   10630: #
1.5       tholo    10631: # If you saw a Byte Magazine cover with a terminal on it during the early
                   10632: # 1980s, it was probably one of these.  Carl Helmers liked them because
1.13      millert  10633: # they could crank 19.2 and were cheap (that is, he liked them until he tried
                   10634: # to program one...)
1.5       tholo    10635: #
1.1       deraadt  10636:
                   10637: # Missing in vc303a and vc303 descriptions:  they scroll 2 lines at a time
                   10638: # every other linefeed.
                   10639: vc303|vc103|vc203|volker-craig 303:\
1.8       tholo    10640:        :am:bs:ns:\
1.1       deraadt  10641:        :co#80:li#24:\
1.5       tholo    10642:        :bl=^G:cl=\014:cr=^M:do=^J:ho=\013:kd=^J:kl=^H:kr=^I:ku=^N:\
                   10643:        :le=^H:ll=\017W:nd=^I:up=^N:
1.2       deraadt  10644: vc303a|vc403a|volker-craig 303a:\
1.5       tholo    10645:        :ce=\026:cl=\030:ho=\031:kr=^U:ku=^Z:ll=^P:nd=^U:up=^Z:tc=vc303:
1.1       deraadt  10646: # (vc404: removed obsolete ":ma=^Z^P^U :" -- esr)
                   10647: vc404|volker-craig 404:\
1.8       tholo    10648:        :am:bs:\
1.1       deraadt  10649:        :co#80:li#24:\
1.5       tholo    10650:        :bl=^G:cd=\027:ce=\026:cl=\030:cm=\020%+ %+ :cr=^M:do=^J:\
                   10651:        :ho=\031:kd=^J:kl=^H:kr=^U:ku=^Z:le=^H:nd=^U:sf=^J:up=^Z:
1.1       deraadt  10652: vc404-s|volker-craig 404 w/standout mode:\
                   10653:        :do=^J:se=^O:so=^N:tc=vc404:
                   10654: # From: <wolfgang@cs.sfu.ca>
1.2       deraadt  10655: # (vc414: merged in cup/dl1/home from an old vc414h-noxon)
1.1       deraadt  10656: vc414|vc414h|Volker-Craig 414H in sane escape mode.:\
                   10657:        :am:bs:\
                   10658:        :co#80:li#24:\
1.5       tholo    10659:        :al=\E\032:cd=\E^X:ce=10\E\017:cl=\E\034:cm=\E\021%r%.%.:\
                   10660:        :dc=\E3:dl=\E\023:do=\E^K:ei=:ho=\E^R:ic=\E\072:im=:k0=\EA:\
                   10661:        :k1=\EB:k2=\EC:k3=\ED:k4=\EE:k5=\EF:k6=\EG:k7=\EH:kd=\E^K:\
                   10662:        :kh=\E^R:kl=^H:kr=^P:ku=\E^L:l0=PF1:l1=PF2:l2=PF3:l3=PF4:\
                   10663:        :l4=PF5:l5=PF6:l6=PF7:l7=PF8:nd=^P:se=\E^_:so=\E^Y:up=\E^L:
1.1       deraadt  10664: vc415|volker-craig 415:\
                   10665:        :cl=^L:tc=vc404:
                   10666:
                   10667: ######## OBSOLETE PERSONAL-MICRO CONSOLES AND EMULATIONS
                   10668: #
                   10669:
                   10670: #### IBM PC and clones
                   10671: #
                   10672:
                   10673: # The pcplot IBM-PC terminal emulation program is really messed up. It is
                   10674: # supposed to emulate a vt-100, but emulates the wraparound bug incorrectly,
                   10675: # doesn't support scrolling regions, ignores add line commands, and ignores
                   10676: # delete line commands. Consequently, the resulting behavior looks like a
                   10677: # crude adm3a-type terminal.
                   10678: # Steve Jacobson 8/85
                   10679: pcplot|pc-plot terminal emulation program:\
                   10680:        :xn@:\
1.2       deraadt  10681:        :AL@:DL@:al@:cs@:dl@:rc@:sc@:tc=vt100:
1.8       tholo    10682: # KayPro II from Richard G Turner <rturner at Darcom-Hq.ARPA>
                   10683: # I've found that my KayPro II, running MDM730, continues to emulate an
                   10684: # ADM-3A terminal, just like I was running TERM.COM. On our 4.2 UNIX
                   10685: # system the following termcap entry works well:
                   10686: # I have noticed a couple of minor glitches, but nothing I can't work
                   10687: # around. (I added two capabilities from the BRL entry -- esr)
1.1       deraadt  10688: kaypro|kaypro2|kaypro II:\
1.8       tholo    10689:        :am:bs:\
1.1       deraadt  10690:        :co#80:li#24:\
1.8       tholo    10691:        :al=\EE:bl=^G:cd=^W:ce=^X:cl=1\032:cm=\E=%+ %+ :cr=^M:\
                   10692:        :dl=\ER:do=^J:ho=^^:kd=^J:kr=^L:ku=^K:nd=^L:sf=^J:up=^K:
1.1       deraadt  10693:
                   10694: # From IBM, Thu May  5 19:35:27 1983
1.8       tholo    10695: # (ibmpc: commented out :im:=\200R because we don't know :ei: -- esr)
1.1       deraadt  10696: ibmpc|ibm-pc|ibm5051|5051|IBM Personal Computer (no ANSI.SYS):\
1.8       tholo    10697:        :am:bs:\
1.1       deraadt  10698:        :co#80:li#24:\
1.8       tholo    10699:        :bl=^G:cl=^L^K:cr=^M^^:do=^J:ho=^K:kd=^_:le=^]:nd=^\:sf=\n:\
                   10700:        :up=^^:
1.1       deraadt  10701:
1.8       tholo    10702: #### Apple II
1.1       deraadt  10703: #
1.8       tholo    10704: # Apple II firmware console first, then various 80-column cards and
                   10705: # terminal emulators.  For two cents I'd toss all these in the UFO file
                   10706: # along with the 40-column apple entries.
                   10707: #
                   10708:
                   10709: # From: brsmith@umn-cs.cs.umn.edu (Brian R. Smith) via BRL
                   10710: #      'it#8' tells UNIX that you have tabs every 8 columns.  This is a
                   10711: #              function of TIC, not the firmware.
                   10712: #      The clear key on a IIgs will do something like clear-screen,
                   10713: #              depending on what you're in.
                   10714: appleIIgs|appleIIe|appleIIc|Apple 80 column firmware interface:\
                   10715:        :am:bs:bw:eo:ms:\
                   10716:        :co#80:it#8:li#24:\
                   10717:        :bl=^G:cd=^K:ce=^]:cl=^L:cm=\036%r%+ %+ :cr=^M:do=^J:ho=^Y:\
                   10718:        :kC=^X:kD=\177:kb=^H:kd=^J:kl=^H:kr=^U:ku=^K:le=^H:nd=^\:\
                   10719:        :nw=^M^W:se=^N:sf=^W:so=^O:sr=^V:ta=^I:up=^_:
                   10720: # Apple //e with 80-column card, entry from BRL
                   10721: # The modem interface is permitted to discard LF (maybe DC1), otherwise
                   10722: # passing characters to the 80-column firmware via COUT (PR#3 assumed).
                   10723: # Auto-wrap does not work right due to newline scrolling delay, which also
                   10724: # requires that you set "stty cr2".
                   10725: # Note: Cursor addressing is only available via the Pascal V1.1 entry,
                   10726: # not via the BASIC PR#3 hook.  All this nonsense can be avoided only by
                   10727: # using a terminal emulation program instead of the built-in firmware.
                   10728: apple2e|Apple //e:\
                   10729:        :bw:ms:\
                   10730:        :co#80:li#24:\
                   10731:        :bl=^G:cd=4*\013:ce=4\035:cl=100\014:do=^J:ho=^Y:is=^R^N:\
                   10732:        :kb=^H:kd=^J:kl=^H:kr=^U:ku=^K:le=^H:me=^N:mr=^O:nw=100\r:\
                   10733:        :r1=^R^N:se=^N:sf=^W:so=^O:sr=^V:ta=^I:up=^_:
                   10734: # mcvax!vu44!vu45!wilcke uses the "ap" entry together with Ascii Express Pro
                   10735: # 4.20, with incoming and outgoing terminals both on 0, emulation On.
                   10736: apple2e-p|Apple //e via Pascal:\
                   10737:        :cm=\036%r%+ %+ :kb=^H:kd=^J:kl=^H:tc=apple2e:
                   10738: # (ASCII Express) MouseTalk "Standard Apple //" emulation from BRL
                   10739: # Enable DC3/DC1 flow control with "stty ixon -ixany".
                   10740: apple-ae|ASCII Express:\
                   10741:        :am:bs:bw:ms:nx:xo:\
                   10742:        :co#80:it#8:li#24:\
                   10743:        :bl=500\007:cd=^K:ce=^]:cl=^L:cm=\036%r%+ %+ :cr=^M:do=^J:\
                   10744:        :ho=^Y:is=^R^N:kC=^X:kd=^J:kl=^H:kr=^U:ku=^K:le=^H:me=^N:\
                   10745:        :mr=^O:nd=^U:r1=^R^N:se=^N:sf=^W:so=^O:sr=^V:up=^_:
1.1       deraadt  10746: appleII|apple ii plus:\
1.8       tholo    10747:        :am:bs:\
1.2       deraadt  10748:        :co#80:it#8:li#24:\
1.1       deraadt  10749:        :cd=^K:ce=^]:cl=^L:cm=\036%r%+ %+ :do=^J:ho=\E^Y:\
1.5       tholo    10750:        :is=\024T1\016:kd=^J:kr=^U:le=^H:me=^N:nd=^\:se=^N:so=^O:\
1.2       deraadt  10751:        :ta=^I:up=^_:vb=\024G1\024T1:ve=^TC2:vs=^TC6:
1.1       deraadt  10752: # Originally by Gary Ford 21NOV83
                   10753: # From: <ee178aci%sdcc7@SDCSVAX.ARPA>  Fri Oct 11 21:27:00 1985
                   10754: apple-80|apple II with smarterm 80 col:\
1.8       tholo    10755:        :am:bs:bw:\
1.1       deraadt  10756:        :co#80:li#24:\
1.5       tholo    10757:        :bt=^R:cd=10*\013:ce=10\035:cl=10*\014:cm=\036%r%+ %+ :\
                   10758:        :cr=10*\r:do=^J:ho=^Y:le=^H:nd=^\:up=^_:
1.1       deraadt  10759: apple-soroc|apple emulating soroc 120:\
                   10760:        :am:\
                   10761:        :co#80:li#24:\
1.5       tholo    10762:        :bl=^G:cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :cr=^M:do=^J:ho=^^:\
                   10763:        :kd=^J:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:sf=^J:up=^K:
1.1       deraadt  10764: # From Peter Harrison, Computer Graphics Lab, San Francisco
                   10765: #   ucbvax!ucsfmis!harrison  .....uucp
                   10766: #   ucbvax!ucsfmis!harrison@BERKELEY   .......ARPA
                   10767: # "These two work.  If you don't have the inverse video chip for the
1.5       tholo    10768: # Apple with videx then remove the :so: and :se: fields."
1.2       deraadt  10769: # (apple-videx: this used to be called DaleApple -- esr)
                   10770: apple-videx|Apple with videx videoterm 80 column board with inverse video:\
1.8       tholo    10771:        :am:bs:xn:\
1.2       deraadt  10772:        :co#80:it#8:li#24:\
1.5       tholo    10773:        :cd=^K:ce=^]:cl=300\014:cm=\036%r%+ %+ :do=^J:ho=^Y:kd=^J:\
                   10774:        :kh=^Y:kl=^H:kr=^U:le=^H:me=^Z2:nd=^\:se=^Z2:so=^Z3:ta=^I:\
                   10775:        :up=^_:
1.8       tholo    10776: # My system [for reference] : Apple ][+, 64K, Ultraterm display card,
                   10777: #                            Apple Cat ][ 212 modem, + more all
                   10778: #                            controlled by ASCII Express: Pro.
                   10779: # From Dave Shaver <isucs1!shaver>
                   10780: apple-uterm-vb|Videx Ultraterm for Apple micros with Visible Bell:\
                   10781:        :am:bs:eo:xt:\
                   10782:        :co#80:li#24:\
                   10783:        :ac=:cd=^K:ce=^]:cl=^L:cm=\036%r%+ %+ :ho=^Y:\
                   10784:        :is=^V4^W06\017\rVisible Bell Installed.\016\r\n:\
                   10785:        :nd=^\:se=^N:so=^O:up=^_:vb=^W35^W06:
                   10786: apple-uterm|Ultraterm for Apple micros:\
                   10787:        :am:bs:eo:xt:\
                   10788:        :co#80:li#24:\
                   10789:        :ac=:cd=^K:ce=^]:cl=^L:cm=\036%r%+ %+ :ho=^Y:\
                   10790:        :is=^V4^W06\016:nd=^\:se=^N:so=^O:up=^_:
                   10791: # from trwrba!bwong (Bradley W. Wong):
                   10792: #
                   10793: # This entry assumes that you are using an apple with the UCSD Pascal
                   10794: # language card.  SYSTEM.MISCINFO is assumed to be the same as that
                   10795: # supplied with the standard apple except that screenwidth should be set
                   10796: # using SETUP to 80 columns.  Note that the right arrow in not mapped in
                   10797: # this termcap entry.  This is because that key, on the Apple, transmits
                   10798: # a ^U and would thus preempt the more useful "up" function of vi.
                   10799: #
                   10800: # HMH 2/23/81
                   10801: apple80p|80-column apple with Pascal card:\
                   10802:        :am:bw:\
                   10803:        :co#80:li#24:\
                   10804:        :cd=^K:ce=^]:cl=^Y^L:cm=\036%r%+ %+ :ho=^Y:kl=^H:nd=^\\072:\
                   10805:        :up=^_:
                   10806: #
                   10807: # Apple II+ equipped with Videx 80 column card
                   10808: #
                   10809: # Terminfo from ihnp4!ihu1g!djc1 (Dave Christensen) via BRL;
                   10810: # manually converted by D A Gwyn
                   10811: #
                   10812: # DO NOT use any terminal emulation with this data base, it works directly
                   10813: # with the Videx card.  This has been tested with vi 1200 baud and works fine.
                   10814: #
                   10815: # This works great for vi, except I've noticed in pre-R2, ^U will scroll back
                   10816: # 1 screen, while in R2 ^U doesn't.
                   10817: # For inverse alternate character set add:
                   10818: #      :as:=^O::ae:=^N:
                   10819: # (apple-v: added it#8 -- esr)
                   10820: apple-videx2|Apple II+ w/ Videx card (similar to Datamedia h1520):\
                   10821:        :am:xn:\
                   10822:        :co#80:it#8:li#24:\
                   10823:        :bl=100\007:cd=16*\013:ce=^]:cl=16*\014:cm=\036%r%+ %+ :\
                   10824:        :cr=^M:do=^J:ho=^Y:kb=^H:kd=^J:kh=^Y:kl=^H:kr=^\:ku=^_:le=^H:\
                   10825:        :nd=^\:se=^Z2:sf=^J:so=^Z3:ta=8\011:up=^_:
                   10826: apple-videx3|vapple|Apple II with 80 col card:\
                   10827:        :am:bs:\
                   10828:        :co#80:li#24:\
                   10829:        :ce=\Ex:cl=\Ev:cm=\EY%+ %+ :ho=\EH:k0=\EP:k1=\EQ:k2=\ER:\
                   10830:        :k3=\E :k4=\E\041:k5=\E":k6=\E#:k7=\E$:k8=\E%:k9=\E&:kd=\EB:\
                   10831:        :kh=\EH:kl=\ED:kr=\EC:ku=\EA:nd=\EC:up=\EA:
                   10832: #From: decvax!cbosgd!cbdkc1!mww Mike Warren via BRL
                   10833: aepro|Apple II+ running ASCII Express Pro--vt52:\
                   10834:        :bs:\
                   10835:        :co#80:li#24:\
                   10836:        :cd=\EJ:ce=\EK:cl=300\014:cm=\EY%+ %+ :ho=\EH:nd=\EC:\
                   10837:        :up=\EA:
                   10838: # UCSD addition: Yet another termcap from Brian Kantor's Micro Munger Factory
                   10839: apple-vm80|ap-vm80|apple with viewmax-80:\
                   10840:        :bs:\
                   10841:        :co#80:li#24:\
                   10842:        :cd=300\013:ce=^]:cl=300\014:cm=100\036%+ %+ :ho=200\031:\
                   10843:        :nd=^\\072:up=^_:
                   10844:
                   10845: #### Apple Lisa & Macintosh
                   10846: #
                   10847:
                   10848: # (lisa: changed :vs: to :ve: -- esr)
1.2       deraadt  10849: lisa|apple lisa console display (black on white):\
1.8       tholo    10850:        :am:bs:eo:ms:\
1.2       deraadt  10851:        :co#88:it#8:li#32:\
1.13      millert  10852:        :ac=jdkclfmenbqattuvvuwsx`:ae=\E[10m:al=\E[L:as=\E[11m:\
1.5       tholo    10853:        :cd=\E[J:ce=\E[K:cl=^L:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:\
                   10854:        :do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:is=\E>\E[m\014:kb=^H:\
                   10855:        :kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:nd=\E[C:\
1.8       tholo    10856:        :se=\E[m:so=\E[7m:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[5l:\
                   10857:        :vi=\E[5h:
1.2       deraadt  10858: liswb|apple lisa console display (white on black):\
                   10859:        :is=\E>\E[0;7m\014:se=\E[0;7m:so=\E[m:ue=\E[0;7m:\
1.1       deraadt  10860:        :us=\E[4m:tc=lisa:
1.8       tholo    10861:
                   10862: # lisaterm from ulysses!gamma!epsilon!mb2c!jed (John E. Duncan III) via BRL;
                   10863: # :is: revised by Ferd Brundick <fsbrn@BRL.ARPA>
                   10864: #
                   10865: # These entries assume that the 'Auto Wraparound' is enabled.
                   10866: # Xon-Xoff flow control should also be enabled.
                   10867: #
                   10868: # The vt100 uses :rs2: and :rf: rather than :is2:/:tbc:/:hts: because the tab
                   10869: # settings are in non-volatile memory and don't need to be reset upon login.
                   10870: # Also setting the number of columns glitches the screen annoyingly.
                   10871: # You can type "reset" to get them set.
                   10872: #
                   10873: lisaterm|Apple Lisa or Lisa/2 running LisaTerm vt100 emulation:\
                   10874:        :am:bs:pt:xn:xo:\
                   10875:        :co#80:it#8:kn#4:li#24:vt#3:\
                   10876:        :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bl=^G:cd=\E[J:\
                   10877:        :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
                   10878:        :cs=\E[%i%d;%dr:ct=\E[3g:do=^J:ho=\E[H:k0=\EOP:k1=\EOQ:\
                   10879:        :k2=\EOR:k3=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
                   10880:        :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l0=F1:l1=F2:l2=F3:l3=F4:le=^H:\
                   10881:        :mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
                   10882:        :r1=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r:\
                   10883:        :rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
                   10884:        :ue=\E[m:up=\E[A:us=\E[4m:
                   10885: # Lisaterm in 132 column ("wide") mode.
                   10886: lisaterm-w|Apple Lisa with Lisaterm in 132 column mode:\
                   10887:        :co#132:\
                   10888:        :kb=^H:kd=^J:kl=^H:tc=lisaterm:
                   10889: # Although MacTerminal has insert/delete line, it is commented out here
                   10890: # since it is much faster and cleaner to use the "lock scrolling region"
                   10891: # method of inserting and deleting lines due to the MacTerminal implementation.
                   10892: # Also, the "Insert/delete ch" strings have an extra character appended to them
                   10893: # due to a bug in MacTerminal V1.1.  Blink is disabled since it is not
                   10894: # supported by MacTerminal.
1.1       deraadt  10895: mac|macintosh|Macintosh with MacTerminal:\
                   10896:        :xn:\
                   10897:        :dN#30:\
1.8       tholo    10898:        :dc=7\E[P:ei=:ic=9\E[@:im=:ip=7:mb@:tc=lisa:
                   10899: # Lisaterm in 132 column ("wide") mode.
                   10900: mac-w|macterminal-w|Apple Macintosh with Macterminal in 132 column mode:\
                   10901:        :co#132:tc=mac:
1.1       deraadt  10902:
                   10903: #### Radio Shack/Tandy
                   10904: #
                   10905:
                   10906: # (coco3: This had "ta" used incorrectly as a boolean and bl given as "bl#7".
                   10907: # I read these as mistakes for ":it#8:" and ":bl=\007:" respectively -- esr)
                   10908: # From: <{pbrown,ctl}@ocf.berkeley.edu> 12 Mar 90
                   10909: coco3|os9LII|Tandy CoCo3 24*80 OS9 Level II:\
1.8       tholo    10910:        :am:bs:\
1.1       deraadt  10911:        :co#80:it#8:li#24:\
                   10912:        :al=^_0:bl=^G:cd=^K:ce=^D:cl=5*\014:cm=2\002%r%+ %+ :\
1.5       tholo    10913:        :dl=^_1:do=^J:ho=^A:kd=^J:kl=^H:kr=^I:ku=^L:le=^H:mb=^_":\
1.13      millert  10914:        :md=\E\072^A:me=\037\041\E\072\0:mr=^_ :nd=^F:se=^_\041:\
                   10915:        :so=^_ :ue=^_#:up=^I:us=^_":ve=^E\041:vi=^E :
1.2       deraadt  10916: # (trs2: removed obsolete ":nl=^_:" -- esr)
1.1       deraadt  10917: trs2|trsII|trs80II|Radio Shack Model II using P&T CP/M:\
1.8       tholo    10918:        :am:bs:ms:\
1.2       deraadt  10919:        :co#80:it#8:li#24:\
1.5       tholo    10920:        :al=^D:bl=^G:cd=^B:ce=^A:cl=^L:cm=\EY%+ %+ :cr=^M:dl=^K:\
                   10921:        :do=^_:ho=^F:kb=^H:kd=^_:kl=^\:kr=^]:ku=^^:le=^H:me=^O:nd=^]:\
                   10922:        :se=^O:sf=^J:so=^N:ta=^I:up=^^:
1.1       deraadt  10923: # From: Kevin Braunsdorf <ksb@mentor.cc.purdue.edu>
1.2       deraadt  10924: # (This had extension capabilities
1.1       deraadt  10925: #      :BN=\E[?33h:BF=\E[?33l:UC=\E[_ q:BC=\E[\177 q:\
                   10926: #      :CN=\ERC:CF=\ERc:NR=\ERD:NM=\ER@:
1.2       deraadt  10927: # I also deleted the unnecessary ":kn#2:", ":sg#0:" -- esr)
1.1       deraadt  10928: trs16|trs-80 model 16 console:\
1.8       tholo    10929:        :am:bs:\
1.2       deraadt  10930:        :co#80:it#8:li#24:\
1.13      millert  10931:        :ac=jak`l_mbquvewcxs:ae=\ERg:al=\EL:as=\ERG:bl=^G:cd=\EJ:\
1.5       tholo    10932:        :ce=\EK:cl=^L:cm=\EY%+ %+ :cr=^M:dc=\EQ:dl=\EM:do=\EB:ei=:\
                   10933:        :ho=\EH:ic=\EP:im=:k0=^A:k1=^B:k2=^D:k3=^L:k4=^U:k5=^P:k6=^N:\
                   10934:        :k7=^S:kb=^H:kd=\EB:kh=^W:kl=\ED:kr=\EC:ku=\EA:l0=f1:l1=f2:\
                   10935:        :l2=f3:l3=f4:l4=f5:l5=f6:l6=f7:l7=f8:le=^H:me=\ER@:nd=\EC:\
                   10936:        :pf=\E]+:po=\E]=:se=\ER@:sf=^J:so=\ERD:ta=^I:up=\EA:ve=\ERC:\
1.3       deraadt  10937:        :vi=\ERc:
1.1       deraadt  10938:
                   10939: #### Atari ST
                   10940: #
                   10941:
                   10942: # From: Simson L. Garfinkel <simsong@media-lab.mit.edu>
                   10943: atari|atari st:\
1.8       tholo    10944:        :am:bs:\
1.2       deraadt  10945:        :co#80:it#8:li#25:\
1.5       tholo    10946:        :al=\EL:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :dl=\EM:do=\EB:\
                   10947:        :kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=\ED:me=\Eq:nd=\EC:se=\Eq:\
                   10948:        :so=\Ep:sr=\EI:ta=^I:up=\EA:
1.1       deraadt  10949: # UniTerm terminal program for the Atari ST:  49-line VT220 emulation mode
                   10950: # From: Paul M. Aoki <aoki@ucbvax.berkeley.edu>
1.2       deraadt  10951: uniterm|uniterm49|UniTerm VT220 emulator with 49 lines:\
1.1       deraadt  10952:        :li#49:\
                   10953:        :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;49r\E[49;1H:tc=vt220:
1.5       tholo    10954: # MiNT VT52 emulation. 80 columns, 25 rows.
                   10955: # MiNT is Now TOS, the operating system which comes with all Ataris now
                   10956: # (mainly Atari Falcon). This termcap is for the VT52 emulation you get
                   10957: # under tcsh/zsh/bash/sh/ksh/ash/csh when you run MiNT in `console' mode
1.8       tholo    10958: # From: Per Persson <pp@gnu.ai.mit.edu>, 27 Feb 1996
1.5       tholo    10959: st52|Atari ST with VT52 emulation:\
                   10960:        :am:km:\
                   10961:        :co#80:li#25:\
                   10962:        :K1=\E#7:K2=\E#9:K3=\E#5:K4=\E#1:K5=\E#3:al=\EL:bl=^G:\
                   10963:        :cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:dl=\EM:do=\EB:\
                   10964:        :ho=\EH:k0=\E#D:k1=\E#;:k2=\E#<:k3=\E#=:k4=\E#>:k5=\E#?:\
                   10965:        :k6=\E#@:k7=\E#A:k8=\E#B:k9=\E#C:kA=\E#R:kC=\E#7:kF=\E#2:\
                   10966:        :kR=\E#8:kb=^H:kd=\E#P:kh=\E#G:kl=\E#K:kr=\E#M:ku=\E#H:\
                   10967:        :l0=f10:le=\ED:me=\Eq:nd=\EC:nw=^M^J:r1=\Ez_\Eb@\EcA:\
1.8       tholo    10968:        :rc=\Ek:sc=\Ej:se=\Eq:sf=^J:so=\Ep:sr=\EI:ta=^I:te=:ti=\Ee:\
1.5       tholo    10969:        :up=\EA:ve=\Ee:vi=\Ef:
                   10970:
1.1       deraadt  10971: #### Commodore Business Machines
                   10972: #
                   10973: # Formerly located in West Chester, PA; went spectacularly bust in 1994
                   10974: # after years of shaky engineering and egregious mismanagement.  Made one
                   10975: # really nice machine (the Amiga) and boatloads of nasty ones (PET, C-64,
                   10976: # C-128, VIC-20).  The C-64 is said to have been the most popular machine
                   10977: # ever (most units sold); they can still be found gathering dust in closets
                   10978: # everywhere.
                   10979: #
                   10980:
                   10981: # From: Kent Polk <kent@swrinde.nde.swri.edu>, 30 May 90
                   10982: # Added a few more entries, converted caret-type control sequence (^x) entries
                   10983: # to '\0xx' entries since a couple of people mentioned losing '^x' sequences.
                   10984: #
                   10985: # :as:, :ae:                   Support for alternate character sets.
                   10986: # :ve=\E[\040p:vi=\E[\060\040p:        cursor visible/invisible.
                   10987: # :xn:  vt100 kludginess at column 80/NEWLINE ignore after 80 cols(Concept)
                   10988: #     This one appears to fix a problem I always had with a line ending
                   10989: #     at 'width+1' (I think) followed by a blank line in vi. The blank
                   10990: #     line tended to disappear and reappear depending on how the screen
                   10991: #     was refreshed. Note that this is probably needed only if you use
                   10992: #     something like a Dnet Fterm with the window sized to some peculiar
                   10993: #     dimension larger than 80 columns.
                   10994: # :k0=\E9~:    map F10 to k0 - could have F0-9 -> k0-9, but ... F10 was 'k;'
1.5       tholo    10995: # (amiga: removed obsolete :kn#10:,
                   10996: # also added empty <acsc> to suppress a warning --esr)
1.13      millert  10997: amiga|Amiga ANSI:\
1.1       deraadt  10998:        :am:bs:bw:xn:\
                   10999:        :co#80:li#24:\
                   11000:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.5       tholo    11001:        :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ac=:\
1.1       deraadt  11002:        :ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
1.5       tholo    11003:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=\E[B:ei=:\
                   11004:        :ho=\E[H:ic=\E[@:im=:is=\E[20l:k0=\E9~:k1=\E0~:k2=\E1~:\
                   11005:        :k3=\E2~:k4=\E3~:k5=\E4~:k6=\E5~:k7=\E6~:k8=\E7~:k9=\E8~:\
                   11006:        :kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=\E[D:mb=\E[7;2m:\
                   11007:        :md=\E[1m:me=\E[m:mh=\E[2m:mk=\E[8m:mr=\E[7m:nd=\E[C:\
                   11008:        :r1=\Ec:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:ue=\E[m:up=\E[A:\
                   11009:        :us=\E[4m:ve=\E[ p:vi=\E[0 p:
1.3       deraadt  11010:
                   11011: # From: Hans Verkuil <hans@wyst.hobby.nl>, 4 Dec 1995
1.13      millert  11012: # (amiga: added empty <acsc> to suppress a warning.
                   11013: # I'm told this entry screws up badly with AS225, the Amiga
                   11014: # TCP/IP package once from Commodore, and now sold by InterWorks.--esr)
                   11015: amiga-h|Hans Verkuil's Amiga ANSI:\
1.8       tholo    11016:        :bs:bw:ms:\
1.3       deraadt  11017:        :co#80:li#24:\
1.5       tholo    11018:        :DC=\233%dP:DO=\233%dB:IC=\233%d@:LE=\233%dD:RI=\233%dC:\
                   11019:        :SF=\233%dS:SR=\233%dT:UP=\233%dA:ac=:ae=^O:as=^N:bl=^G:\
                   11020:        :bt=\233Z:cd=\233J:ce=\233K:cl=\233H\233J:\
                   11021:        :cm=\233%i%d;%dH:cr=^M:dc=\233P:do=\233B:ec=\233%dP:ei=:\
                   11022:        :ho=\233H:ic=\233@:im=:is=\23320l:k0=\2339~:k1=\2330~:\
                   11023:        :k2=\2331~:k3=\2332~:k4=\2333~:k5=\2334~:k6=\2335~:\
                   11024:        :k7=\2336~:k8=\2337~:k9=\2338~:kD=\177:kb=^H:kd=\233B:\
                   11025:        :kl=\233D:kr=\233C:ku=\233A:le=\233D:mb=\2337;2m:\
                   11026:        :md=\2331m:me=\2330m:mh=\2332m:mk=\2338m:mr=\2337m:\
                   11027:        :nd=\233C:nw=\233B\r:r1=\Ec:se=\2330m:sf=\233S:so=\2337m:\
                   11028:        :sr=\233T:ta=^I:te=\233?7h:ti=\233?7l:ue=\2330m:up=\233A:\
                   11029:        :us=\2334m:vb=^G:ve=\233 p:vi=\2330 p:
                   11030:
                   11031: # Commodore B-128 microcomputer from Doug Tyrol <det@HEL-ACE.ARPA>
                   11032: #      I'm trying to write a termcap for a commodore b-128, and I'm
                   11033: # having a little trouble. I've had to map most of my control characters
                   11034: # to something that unix will accept (my delete-char is a ctrl-t, etc),
                   11035: # and create some functions (like cm), but thats life.
                   11036: #      The problem is with the arrow keys - right, and up work fine, but
                   11037: # left deletes the previous character and down I just can't figure out.
                   11038: # Jove knows what I want, but I don't know what it's sending to me (it
                   11039: # isn't thats bound to next-line in jove).
                   11040: #      Anybody got any ideas? Here's my termcap.
                   11041: # DAG -- I changed his "^n" entries to "\n"; see if that works.
                   11042: #
                   11043: commodore|b-128|Commodore B-128 micro:\
                   11044:        :am:bw:\
1.8       tholo    11045:        :co#80:dN#20:li#24:pb#150:\
                   11046:        :al=10\Ei:bc=^H:ce=10\Eq:cl=10\E\006:\
1.5       tholo    11047:        :cm=20\E\013%2\054%2\054:cr=^M:dc=10*\177:dl=10*\Ed:\
1.8       tholo    11048:        :do=^J:ei=:ho=\E^E:ic=5\E\n:im=:kd=^J:kh=\E^E:kl=^B:kr=^F:\
                   11049:        :ku=^P:nd=^F:nl=^M:ta=5\011:up=^P:
1.5       tholo    11050:
                   11051: #### North Star
                   11052: #
                   11053: # North Star Advantage from Lt. Fickie <brl-ibd!fickie> via BRL
                   11054: northstar|North Star Advantage:\
1.8       tholo    11055:        :bs:\
1.5       tholo    11056:        :co#80:li#24:\
1.8       tholo    11057:        :cd=200\017:ce=200\016:cl=200\004:cm=1\E=%+ %+ :\
                   11058:        :ho=200\034\032:
1.1       deraadt  11059:
                   11060: #### Osborne
                   11061: #
                   11062: # Thu Jul  7 03:55:16 1983
                   11063: #
                   11064: # As an aside, be careful; it may sound like an anomaly on the
                   11065: # Osborne, but with the 80-column upgrade, it's too easy to
                   11066: # enter lines >80 columns!
                   11067: #
                   11068: # I've already had several comments...
                   11069: # The Osborne-1 with the 80-col option is capable of being
1.2       deraadt  11070: # 52, 80, or 104 characters wide; default to 80 for compatibility
1.1       deraadt  11071: # with most systems.
                   11072: #
                   11073: # The tab is destructive on the Ozzie; make sure to 'stty -tabs'.
1.8       tholo    11074: osborne-w|osborne1-w|osborne I in 104-column mode:\
1.1       deraadt  11075:        :ms:ul:xt:\
                   11076:        :co#104:li#24:\
1.5       tholo    11077:        :al=\EE:bl=^G:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:dc=\EW:dl=\ER:\
                   11078:        :do=^J:ei=:ic=\EQ:im=:kd=^J:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:\
                   11079:        :se=\E(:sf=^J:so=\E):ue=\Em:up=^K:us=\El:
1.8       tholo    11080: # Osborne I    from ptsfa!rhc (Robert Cohen) via BRL
                   11081: osborne|osborne1|osborne I in 80-column mode:\
                   11082:        :am:bs:mi:ms:ul:xs:\
                   11083:        :co#80:dB#4:li#24:\
                   11084:        :al=\EE:ce=\ET:cl=^Z:cm=\E=%+ %+ :dc=4\EW:dl=\ER:do=^J:ei=:\
                   11085:        :im=\EQ:is=^Z:kb=^H:kd=^J:kl=^H:kr=^L:ku=^K:le=\010:nd=^L:\
                   11086:        :se=\E):so=\E(:ue=\Em:up=^K:us=\El:
1.5       tholo    11087: #
                   11088: # Osborne Executive definition from BRL
                   11089: # Similar to tvi920
                   11090: # Added by David Milligan and Tom Smith (SMU)
                   11091: osexec|Osborne executive:\
1.8       tholo    11092:        :am:bs:\
1.13      millert  11093:        :co#80:li#24:sg#1:\
1.5       tholo    11094:        :al=\EE:bl=^G:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:ct=\E3:\
                   11095:        :dc=\EW:dl=\ER:do=^J:ei=:ho=^^:ic=\EQ:im=:\
                   11096:        :is=\Eq\Ek\Em\EA\Ex0:k0=^A@\r:k1=^AA\r:k2=^AB\r:k3=^AC\r:\
                   11097:        :k4=^AD\r:k5=^AE\r:k6=^AF\r:k7=^AG\r:k8=^AH\r:k9=^AI\r:\
1.8       tholo    11098:        :kb=^H:kd=^J:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:nl=^J:se=\Ek:\
                   11099:        :so=\Ej:st=\E1:ue=\Em:up=^K:us=\El:
1.1       deraadt  11100:
1.2       deraadt  11101: #### Console types for obsolete UNIX clones
                   11102: #
                   11103: # Coherent, Minix, Venix, and several lesser-known kin were OSs for 8088
                   11104: # machines that tried to emulate the UNIX look'n'feel.  Coherent and Venix
1.5       tholo    11105: # were commercial, Minix an educational tool sold in conjunction with a book.
1.2       deraadt  11106: # Memory-segmentation limits and a strong tendency to look like V7 long after
                   11107: # it was obsolete made all three pretty lame.  Venix croaked early.  Coherent
                   11108: # and Minix were ported to 32-bit Intel boxes, only to be run over by a
                   11109: # steamroller named `Linux' (which, to be fair, traces some lineage to Minix).
1.5       tholo    11110: # Coherent's vendor, the Mark Williams Company, went belly-up in 1994.  There
                   11111: # are also, I'm told, Minix ports that ran on Amiga and Atari machines and
                   11112: # even as single processes under SunOS and the Macintosh OS.
1.1       deraadt  11113: #
                   11114:
1.8       tholo    11115: # This is the entry provided with minix 1.7.4, with bogus :ri: removed.
                   11116: minix|minix console (v1.7):\
                   11117:        :am:xn:\
1.2       deraadt  11118:        :co#80:it#8:li#25:\
1.5       tholo    11119:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.8       tholo    11120:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:cd=\E[0J:\
                   11121:        :ce=\E[K:cl=\E[H\E[0J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:\
                   11122:        :dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:is=\E[0m:k0=\E[Y:\
                   11123:        :k1=\E[V:k2=\E[U:k3=\E[T:k4=\E[S:k5=\E[G:kb=^H:kd=\E[B:\
                   11124:        :kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:l0=End:l1=PgUp:l2=PgDn:\
                   11125:        :l3=Num +:l4=Num -:l5=Num 5:le=^H:mb=\E[5m:md=\E[1m:\
                   11126:        :me=\E[0m:mr=\E[7m:nd=\E[C:nw=^M^J:se=\E[0m:sf=^J:so=\E[7m:\
                   11127:        :sr=\EM:ta=^I:ue=\E[0m:up=\E[A:us=\E[4m:
                   11128: # Corrected Jan 14, 1997 by Vincent Broman <broman@nosc.mil>
                   11129: minix-old|minix console (v1.5):\
                   11130:        :xo:\
                   11131:        :co#80:it#8:li#25:\
                   11132:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   11133:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:cd=\E[0J:\
                   11134:        :ce=\E[K:cl=\E[H\E[0J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:\
                   11135:        :dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:k0=\E[Y:k1=\E[V:\
                   11136:        :k2=\E[U:k3=\E[T:k4=\E[S:k5=\E[G:kb=^H:kd=\E[B:kh=\E[H:\
                   11137:        :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:\
                   11138:        :mr=\E[7m:nd=\E[C:nw=^M^J:se=\E[0m:sf=^J:so=\E[7m:sr=\EM:\
                   11139:        :ta=^I:ue=\E[0m:up=\E[A:us=\E[4m:
                   11140: # The linewrap option can be specified by editing /usr/include/minix/config.h
                   11141: # before recompiling the minix 1.5 kernel.
                   11142: minix-old-am|minix console with linewrap:\
                   11143:        :am:tc=minix-old:
1.5       tholo    11144:
                   11145: pc-minix|minix console on an Intel box:\
                   11146:        :tc=klone+acs:tc=minix:
1.2       deraadt  11147:
1.1       deraadt  11148: # According to the Coherent 2.3 manual, the PC console is similar
                   11149: # to a z19. The differences seem to be (1) 25 lines, (2) no status
                   11150: # line, (3) standout is broken, (4) ins/del line is broken, (5)
                   11151: # has blinking and bold.
                   11152: pc-coherent|pcz19|coherent|IBM PC console running Coherent:\
                   11153:        :am:mi:\
                   11154:        :co#80:it#8:li#25:\
1.5       tholo    11155:        :bl=^G:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :cr=^M:dc=\EN:\
                   11156:        :do=\EB:ei=\EO:ho=\EH:im=\E@:kb=^H:kd=\EB:kh=\EH:kl=\ED:\
                   11157:        :kr=\EC:ku=\EA:le=^H:me=\Eq:nd=\EC:se=\Eq:sf=^J:so=\Ep:\
                   11158:        :sr=\EI:ta=^I:up=\EA:
1.1       deraadt  11159:
                   11160: # According to the Venix 1.1 manual, the PC console is similar
                   11161: # to a DEC vt52.  Differences seem to be (1) arrow keys send
                   11162: # different strings, (2) enhanced standout, (3) added insert/delete line.
1.2       deraadt  11163: # Note in particular that it doesn't have automatic margins.
1.5       tholo    11164: # There are other keys (f1-f10, kpp, knp, kcbt, kich1, kdch1) but they
                   11165: # not described here because this derives from an old termcap entry.
1.1       deraadt  11166: pc-venix|venix|IBM PC console running Venix:\
                   11167:        :co#80:it#8:li#25:\
1.5       tholo    11168:        :al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:\
                   11169:        :dl=\EM:do=^J:kb=^H:kd=\EP:kh=\EG:kl=\EK:kr=\EM:ku=\EH:le=^H:\
                   11170:        :nd=\EC:sf=^J:sr=\EI:ta=^I:up=\EA:
1.1       deraadt  11171:
                   11172: #### Miscellaneous microcomputer consoles
                   11173: #
                   11174: # If you know anything more about any of these, please tell me.
1.5       tholo    11175: #
1.1       deraadt  11176:
1.13      millert  11177: # The MAI Basic Four computer was obsolete at the end of the 1980s.
                   11178: # It may be used as a terminal by putting it in "line" mode as seen on
                   11179: # one of the status lines.
                   11180: # Initialization is similar to CIT80. :is: will set ANSI mode for you.
                   11181: # Hardware tabs set by :if: at 8-spacing.  Auto line wrap causes glitches so
                   11182: # wrap mode is reset by :vs:.  Using :sf:=\E[S caused errors so I
                   11183: # used \ED instead.
                   11184: # From: bf347@lafn.org (David Lawyer), 28 Jun 1997
                   11185: mai|basic4|MAI Basic Four in ansi mode:\
                   11186:        :am:da:db:mi:ms:\
                   11187:        :co#82:it#8:li#25:\
                   11188:        :al=\E[L:bl=^G:cd=^_:ce=^^:cl=^]^_:cm=\E[%i%d;%dH:cr=^M:\
                   11189:        :cs=\E[%i%d;%dr:dc=\E[1P:dl=\E[M:do=^J:ei=\E[4l:ho=^]:\
                   11190:        :if=/usr/lib/tabset/vt100:im=\E[4h:\
                   11191:        :is=\E>\E[?1h\E[?7h\E[?5l\017\E(B\E[m\E[20l\E[1;24r\E[24;1H:\
                   11192:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:\
                   11193:        :k8=\EOW:kb=^H:kd=\EOB:kl=\EOD:kr=\EOC:ku=\EOA:le=^H:\
                   11194:        :mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=^X:nw=^M\ED:rc=\E8:\
                   11195:        :sc=\E7:se=\E[m:sf=\ED:so=\E[7m:sr=\E[T:ta=^I:ue=\E[m:up=^Z:\
                   11196:        :us=\E[4m:ve=\E[?7h:vs=\E[?7l:
1.1       deraadt  11197: # basis from Peter Harrison, Computer Graphics Lab, San Francisco
                   11198: #   ucbvax!ucsfmis!harrison ...uucp / ucbvax!ucsfmis!harrison@BERKELEY ...ARPA
                   11199: # (basis: removed obsolete ":ma=^K^P^R^L^L :nl=5000*^J:" -- esr)
                   11200: basis|BASIS108 computer with terminal translation table active:\
1.5       tholo    11201:        :cd=\EY:ce=\ET:cl=300\E*:do=5000\n:kb=^H:kd=^J:kl=^H:kr=^L:\
                   11202:        :ku=^K:me=\E):se=\E):so=\E(:\
                   11203:        :tc=adm3a:
1.1       deraadt  11204: # luna's BMC terminal emulator
                   11205: luna|luna68k|LUNA68K Bitmap console:\
1.3       deraadt  11206:        :co#88:li#46:tc=ansi-mini:
1.1       deraadt  11207: megatek|pegasus workstation terminal emulator:\
                   11208:        :am:os:\
1.3       deraadt  11209:        :co#83:li#60:
1.2       deraadt  11210: # The Xerox 820 was a Z80 micro with a snazzy XEROX PARC-derived
                   11211: # interface (pre-Macintosh by several years) that went nowhere.
1.1       deraadt  11212: xerox820|x820|Xerox 820:\
                   11213:        :am:\
                   11214:        :co#80:li#24:\
1.5       tholo    11215:        :bl=^G:cd=^Q:ce=^X:cl=1^Z:cm=\E=%+ %+ :cr=^M:do=^J:ho=^^:\
                   11216:        :le=^H:nd=^L:sf=^J:up=^K:
1.1       deraadt  11217:
                   11218: #### Videotex and teletext
                   11219: #
                   11220:
1.8       tholo    11221: # \E\:1}       switch to te'le'informatique mode (ascii terminal/ISO 6429)
                   11222: # \E[?3l       80 columns
                   11223: # \E[?4l       scrolling on
                   11224: # \E[12h       local echo off
                   11225: # \Ec          reset: G0 U.S. charset (to get #,@,{,},...), 80 cols, clear screen
                   11226: # \E)0         G1 DEC set (line graphics)
                   11227: #
                   11228: # From: Igor Tamitegama <igor@ppp1493-ft.teaser.fr>, 18 Jan 1997
                   11229: m2-nam|minitel|minitel-2|minitel-2-nam|France Telecom Minitel 2 mode te'le'informatique:\
                   11230:        :bs:es:hs:xn:\
                   11231:        :co#80:it#8:li#24:sg#0:ws#72:\
                   11232:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
                   11233:        :RI=\E[%dC:SF=^J:SR=\EM:UP=\E[%dA:\
                   11234:        :ac=aaffggjjkkllmmnnooqqssttuuvvwwxx:ae=^O:al=\E[L:\
                   11235:        :as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
                   11236:        :cr=^M:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:\
                   11237:        :fs=^J:ho=\E[H:i1=\E\0721}\Ec\E[?4l\E[12h:\
                   11238:        :i2=\E[?3l kbs=\010:im=\E[4h:ip=7:is=\Ec\E[12h\E)0:\
                   11239:        :k0=\EOp:k1=\EOq:k2=\EOr:k3=\EOs:k4=\EOt:k5=\EOu:k6=\EOv:\
                   11240:        :k7=\EOw:k8=\EOx:k9=\EOy:k;=\EOp:kA=\E[4l:kC=\E[2J:kD=\E[P:\
                   11241:        :kI=\E[4h:kL=\E[M:kN=\EOn:kP=\EOR:kd=\E[B:kh=\E[H:kl=\E[D:\
                   11242:        :kr=\E[C:ku=\E[A:le=\E[D:ll=\E[24;80H:mb=\E[5m:md=\E[1m:\
                   11243:        :me=\E[m:mr=\E[7m:nd=\E[C:nw=^M^J:ps=\E[i:\
                   11244:        :r1=\Ec\E[?4l\E[12h:r2=\Ec\E)0:rc=\E8:sc=\E7:se=\E[27m:\
                   11245:        :sf=^J:so=\E[7m:sr=\EM:ta=^I:ts=^_@A:u6=\E[%i%d;%dR:\
                   11246:        :u7=\E[6n:ue=\E[24m:up=\E[A:us=\E[4m:vb=^G:ve=\E[<1l:\
                   11247:        :vi=\E[<1h:
1.1       deraadt  11248:
                   11249: ######## OBSOLETE VDT TYPES
                   11250: #
                   11251: # These terminals are *long* dead -- these entries are retained for
                   11252: # historical interest only.
                   11253:
                   11254: #### Amtek Business Machines
                   11255: #
                   11256:
                   11257: # (abm80: early versions of this entry apparently had ":se=\E^_:so=\E^Y",
                   11258: # but these caps were commented out in 8.3; also, removed overridden
                   11259: # ":do=^J:" -- esr)
                   11260: abm80|amtek business machines 80:\
1.8       tholo    11261:        :am:bs:bw:\
1.1       deraadt  11262:        :co#80:li#24:\
1.5       tholo    11263:        :al=\E^Z:bt=^T:cd=\E^X:ce=\E^O:cl=\E^\:cm=\E\021%r%+ %+ :\
                   11264:        :dl=\E^S:do=\E^K:ho=\E^R:le=^H:nd=^P:up=\E^L:
1.1       deraadt  11265:
                   11266: #### Bell Labs blit terminals
                   11267: #
1.2       deraadt  11268: # These were AT&T's official entries.  The 5620 FAQ maintained by
                   11269: # David Breneman <daveb@dgtl.com> has this to say:
                   11270: #
                   11271: #  Actually, in the beginning was the Jerq, and the Jerq was white with a
                   11272: #  green face, and Locanthi and Pike looked upon the Jerq and said the Jerq
                   11273: #  was good.  But lo, upon the horizon loomed a mighty management-type person
                   11274: #  (known now only by the initials VP) who said, the mighty Jerq must stay
                   11275: #  alone, and could not go forth into the world. So Locanthi and Pike put the
                   11276: #  Jerq to sleep, cloned its parts, and the Blit was brought forth unto the
                   11277: #  world. And the Jerq lived the rest of its days in research, but never
                   11278: #  strayed from those paths.
                   11279: #
                   11280: #  In all seriousness, the Blit was originally known as the Jerq, but when
                   11281: #  it started to be shown outside of the halls of the Bell Labs Research
                   11282: #  organization, the management powers that be decided that the name could
                   11283: #  not remain. So it was renamed to be Blit. This was in late 1981.
                   11284: #
                   11285: # (The AT&T 5620 was the commercialized Blit.  Its successors were the 630,
                   11286: # 730, and 730+.)
1.1       deraadt  11287: #
                   11288:
                   11289: blit|jerq|blit running teletype rom:\
                   11290:        :am:eo:ul:xo:\
                   11291:        :co#87:it#8:li#72:\
1.8       tholo    11292:        :AL=\EF%+ :DC=\Ee%+ :DL=\EE%+ :IC=\Ef%+ :al=\EF\041:bl=^G:\
                   11293:        :ce=\EK:cl=^L:cm=\EY%r%+ %+ :cr=^M:dc=\Ee\041:dl=\EE\041:\
                   11294:        :do=^J:ei=:ic=\Ef\041:im=:k1=\Ex:k2=\Ey:k3=\Ez:kb=^H:kd=\EB:\
                   11295:        :kl=\ED:kr=\EC:ku=\EA:le=\ED:nd=\EC:sf=^J:ta=^I:up=\EA:
1.1       deraadt  11296:
1.5       tholo    11297: # (cbblit: here's a BSD termcap that says :do=\EG: -- esr)
1.1       deraadt  11298: cbblit|fixterm|blit running columbus code:\
                   11299:        :co#88:\
1.8       tholo    11300:        :cd=\EJ:ei=\ER:ic@:im=\EQ:pO=\EP%03:pf=^T:po=^R:se=\EV\041:\
                   11301:        :so=\EU\041:ue=\EV":us=\EU":vb=\E^G:\
1.5       tholo    11302:        :tc=blit:
1.1       deraadt  11303:
                   11304: oblit|ojerq|first version of blit rom:\
                   11305:        :am:da:db:eo:mi:ul:xo:\
                   11306:        :co#88:it#8:li#72:\
1.5       tholo    11307:        :AL=\Ef%+ :DL=\Ee%+ :al=\EF:bl=^G:cd=\EJ:ce=\EK:cl=^L:\
                   11308:        :cm=\EY%r%+ %+ :cr=^M:dc=\EO:dl=\EE:do=^J:ei=\ER:im=\EQ:\
                   11309:        :kb=^H:le=\ED:nd=\EC:sf=^J:ta=^I:up=\EA:vb=\E^G:
1.1       deraadt  11310:
                   11311: #### Bolt, Beranek & Newman (bbn)
                   11312: #
                   11313: # The BitGraph was a product of the now-defunct BBN Computer Corporation.
                   11314: # The parent company, best known as the architects of the Internet, is
                   11315: # still around.
                   11316: #
1.13      millert  11317: # Jeff DelPapa <dp@world.std.com> writes:
                   11318: # The bitgraph was a large white box that contained a monochrome bitmap
                   11319: # display, and a 68000 to run it.  You could download code and run it on
                   11320: # the cpu, it had 128kb (I think) of memory.  I used one in the late
                   11321: # 70's, sure beat a vt100.  It had one strange feature tho -- it used
                   11322: # the cpu to bitblt pixels to scroll, it took longer than the refresh
                   11323: # rate, and looked like a rubber sheet stretching, then snapping
                   11324: # upwards.  It had everything the early mac had, except a floppy drive a
                   11325: # small screen (it had a 17" crisp beauty) and a real OS. They (Bolt
                   11326: # Beranek and Neuman) sold at most a few hundred of them to the real
                   11327: # world.  DOD may have bought more...
                   11328: #
1.1       deraadt  11329:
                   11330: # Entries for the BitGraph terminals.  The problem
                   11331: # with scrolling in vi can only be fixed by getting BBN to put
                   11332: # smarter scroll logic in the terminal or changing vi or padding
                   11333: # scrolls with about 500 ms delay.
                   11334: #
                   11335: # I always thought the problem was related to the terminal
                   11336: # counting newlines in its input buffer before scrolling and
                   11337: # then moving the screen that much. Then vi comes along and
                   11338: # paints lines in on the bottom line of the screen, so you get
                   11339: # this big white gap.
                   11340:
1.2       deraadt  11341: bitgraph|bg2.0nv|bg3.10nv|bbn bitgraph 2.0 or later (normal video):\
1.5       tholo    11342:        :is=\E>\E[?5l\E[?7h:vb=\E[?5h\E[?5l:\
                   11343:        :tc=bg2.0:
1.2       deraadt  11344: bg2.0rv|bg3.10rv|bbn bitgraph 2.0 (reverse video):\
1.1       deraadt  11345:        :is=\E>\E[?5h\E[?7h:vb=\E[?5l\E[?5h:tc=bg2.0:
1.2       deraadt  11346: bg2.0|bg3.10|bbn bitgraph 2.0 or later (no init):\
1.8       tholo    11347:        :bs:xn:\
1.1       deraadt  11348:        :co#85:li#64:\
1.5       tholo    11349:        :al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=%i\E[%d;%dH:\
                   11350:        :cr=^M:cs=\E[%i%d;%dr:dl=\E[M:do=\E[B:k1=\EOP:k2=\EOQ:\
                   11351:        :k3=\EOR:k4=\EOS:kd=\E[B:ke=\E>:kl=\E[D:kr=\E[C:ks=\E=:\
                   11352:        :ku=\E[A:l1=PF1:l2=PF2:l3=PF3:l4=PF4:le=^H:me=\E[m:nd=\E[C:\
                   11353:        :rc=\E8:sc=\E7:se=\E[m:sf=\n:so=\E[7m:ta=^I:up=\E[A:
1.2       deraadt  11354:
1.1       deraadt  11355: bg1.25rv|bbn bitgraph 1.25 (reverse video):\
                   11356:        :is=\E>\E[?5h\E[?7h:vb=\E[?5l\E[?5h:tc=bg1.25:
                   11357: bg1.25nv|bbn bitgraph 1.25 (normal video):\
                   11358:        :is=\E>\E[?5l\E[?7h:vb=\E[?5h\E[?5l:tc=bg1.25:
1.2       deraadt  11359: # (bg1.25: I added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  11360: bg1.25|bbn bitgraph 1.25:\
                   11361:        :co#85:li#64:\
1.3       deraadt  11362:        :RA=\E[?7l:SA=\E[?7h:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:\
1.5       tholo    11363:        :cl=\E[H\E[J:cm=%i\E[%d;%dH:cr=^M:dl=\E[M:do=\E[B:k1=\EP:\
                   11364:        :k2=\EQ:k3=\ER:k4=\ES:kd=\EB:ke=\E>:kl=\ED:kr=\EC:ks=\E=:\
                   11365:        :ku=\EA:l1=PF1:l2=PF2:l3=PF3:l4=PF4:le=^H:ll=\E[64;1H:\
                   11366:        :me=\E[m:nd=\E[C:se=\E[m:sf=\n:so=\E[7m:ta=^I:up=\E[A:
1.1       deraadt  11367:
                   11368: #### Chromatics
                   11369: #
                   11370:
1.5       tholo    11371: # I have put the long strings in :ti:/:te:. Ti sets up a window
1.1       deraadt  11372: # that is smaller than the screen, and puts up a warning message
                   11373: # outside the window. Te erases the warning message, puts the
                   11374: # window back to be the whole screen, and puts the cursor at just
1.5       tholo    11375: # below the small window. I defined :ve: and :vi: to really turn
1.1       deraadt  11376: # the cursor on and off, but I have taken this out since I don't
                   11377: # like the cursor being turned off when vi exits.
                   11378: cg7900|chromatics|chromatics 7900:\
                   11379:        :am:\
                   11380:        :co#80:li#40:\
1.8       tholo    11381:        :al=^A>2:bl=^G:cd=^Al:ce=^A`:cl=^L:cm=\001M%r%d\054%d\054:\
                   11382:        :cr=^M:dc=^A<1:dl=^A<2:do=^J:ei=:ho=^\:ic=^A>1:im=:le=^H:\
                   11383:        :ll=^A|:nd=^]:se=\001C1\054\001c2\054:sf=^J:\
                   11384:        :so=\001C4\054\001c7\054:\
                   11385:        :te=\001W0\05440\05485\05448\054\014\001W0\0540\05485\05448\054\001M0\05440\054:\
                   11386:        :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:\
1.13      millert  11387:        :uc=\001\001_\001\0:up=^K:
1.1       deraadt  11388:
                   11389: #### Computer Automation
                   11390: #
                   11391:
                   11392: ca22851|computer automation 22851:\
                   11393:        :am:\
                   11394:        :co#80:li#24:\
1.5       tholo    11395:        :bl=^G:cd=^\:ce=^]:cl=\014:cm=\002%i%.%.:cr=^M:do=^J:ho=^^:\
                   11396:        :kd=^W:kh=^^:kl=^U:ku=^V:le=^U:nd=^I:sf=^J:up=^V:
1.1       deraadt  11397:
                   11398: #### Cybernex
                   11399: #
                   11400:
                   11401: # This entry has correct padding and the undocumented "ri" capability
                   11402: cyb83|xl83|cybernex xl-83:\
1.8       tholo    11403:        :am:bs:\
1.1       deraadt  11404:        :co#80:li#24:\
1.5       tholo    11405:        :bl=^G:cd=\020:ce=\017:cl=\014:cm=\027%+ %+ :cr=^M:do=^J:\
                   11406:        :ho=^K:kd=^J:kl=^H:kr=^I:ku=^N:le=^H:nd=^I:sf=^J:sr=^N:up=^N:
1.1       deraadt  11407: # (mdl110: removed obsolete ":ma=^Z^P:" and overridden ":cd=145^NA^W:" -- esr)
                   11408: cyb110|mdl110|cybernex mdl-110:\
1.8       tholo    11409:        :am:bs:\
1.1       deraadt  11410:        :co#80:li#24:\
                   11411:        :al=\016A\016\035:bl=^G:cd=\016@\026:ce=\016@\026:\
                   11412:        :cl=\030:cm=\020%+ %+ :cr=^M:dc=\016A\036:\
1.5       tholo    11413:        :dl=\016A\016\036:do=^J:ei=:ho=^Y:ic=\016A\035:im=:le=^H:\
                   11414:        :nd=^U:se=^NG:sf=^J:so=^NF:ta=\011:up=^Z:
1.1       deraadt  11415:
                   11416: #### Datapoint
                   11417: #
                   11418: # Datapoint is gone.  They used to be headquartered in Texas.
                   11419: # They created ARCnet, an Ethernet competitor that flourished for a while
                   11420: # in the early 1980s before 3COM got wise and cut its prices.  The service
                   11421: # side of Datapoint still lives (1995) in the form of Intelogic Trace.
                   11422: #
                   11423:
                   11424: dp3360|datapoint|datapoint 3360:\
1.8       tholo    11425:        :am:bs:\
1.1       deraadt  11426:        :co#82:li#25:\
1.5       tholo    11427:        :bl=^G:cd=^_:ce=^^:cl=^]^_:cr=^M:do=^J:ho=^]:le=^H:nd=^X:\
                   11428:        :sf=^J:up=^Z:
1.1       deraadt  11429:
1.13      millert  11430: # From: Jan Willem Stumpel <jw.stumpel@inter.nl.net>, 11 May 1997
                   11431: # The Datapoint 8242 Workstation was sold at least between 1985
                   11432: # and 1989. To make the terminal work with this entry, press
                   11433: # CONTROL-INT-INT to take the terminal off-line, and type (opt).
                   11434: # Set the options AUTO ROLL, ROLL DN, and ESC KBD on, and AUTO
                   11435: # CR/LF off. Use control-shift-[] as escape key, control-I as tab,
                   11436: # shift-F1 to shift-F5 as F6 to F10 (unshifted F1 to F5 are in
                   11437: # fact unusable because the strings sent by the terminal conflict
                   11438: # with other keys).
                   11439: # The terminal is capable of displaying "box draw" characters.
                   11440: # For each graphic character you must send 2 ESC's (\E\E) followed
                   11441: # by a control character as follows:
                   11442: #         character        meaning
                   11443: #         =========        =======
                   11444: #         ctrl-E           top tee
                   11445: #         ctrl-F           right tee
                   11446: #         ctrl-G           bottom tee
                   11447: #         ctrl-H           left tee
                   11448: #         ctrl-I           cross
                   11449: #         ctrl-J           top left corner
                   11450: #         ctrl-K           top right corner
                   11451: #         ctrl-L           bottom left corner
                   11452: #         ctrl-M           bottom right corner
                   11453: #         ctrl-N           horizontal line
                   11454: #         ctrl-O           vertical line
                   11455: # Unfortunately this cannot be fitted into the termcap/terminfo
                   11456: # description scheme.
                   11457: dp8242|datapoint 8242:\
                   11458:        :ms:\
                   11459:        :co#80:li#25:\
                   11460:        :al=\E^T:bl=^G:cd=^W:ce=^V:cl=\025\E\004\027\030:\
                   11461:        :cm=\011%r%+\%+\:cr=^M:dl=\E^Z:do=^J:ho=^U:\
                   11462:        :i1=\E\014\E\016\0\230\0\317\025\027\030\E\004:\
                   11463:        :k1=^G\Ee:k2=^I\Ed:k3=^J\Ec:k4=^J\Eb:k5=^S\Ea:k6=\EO\Ee:\
                   11464:        :k7=\EN\Ed:k8=\EM\Ec:k9=\EL\Eb:k;=\EK\Ea:kb=^H:kd=^B:kl=^D:\
                   11465:        :kr=^F:ku=^E:le=^H:nw=^M^J:\
                   11466:        :r1=\E\014\E\016\0\230\0\317\025\027\030\E\004:\
                   11467:        :rp=\E\023%.%.:se=\E^D:sf=^C:so=\E^E:sr=^K:ta=^I:ue=\E^D:\
                   11468:        :us=\E^F:ve=^X:vi=^Y:\
                   11469:        :..wi=\E\014\E\016%p1%'\0'%+%c%p2%'\0'%+%c%p3%'\0'%+%c%p4%'\0'%+%c\025:
                   11470:
1.1       deraadt  11471: #### DEC terminals (Obsolete types: DECwriter and vt40/42/50)
                   11472: #
                   11473: # These entries are DEC's official terminfos for its older terminals.
                   11474: # Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
                   11475: # Engineering for more information.  Updated terminfos and termcaps
                   11476: # are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
                   11477: #
                   11478:
                   11479: gt40|dec gt40:\
1.8       tholo    11480:        :bs:os:\
1.1       deraadt  11481:        :co#72:li#30:\
                   11482:        :bl=^G:cr=^M:do=^J:le=^H:
                   11483: gt42|dec gt42:\
1.8       tholo    11484:        :bs:os:\
1.1       deraadt  11485:        :co#72:li#40:\
                   11486:        :bl=^G:cr=^M:do=^J:le=^H:
1.13      millert  11487:
1.1       deraadt  11488: vt50|dec vt50:\
1.8       tholo    11489:        :bs:\
1.1       deraadt  11490:        :co#80:li#12:\
1.5       tholo    11491:        :bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cr=^M:do=^J:le=^H:nd=\EC:\
1.13      millert  11492:        :sf=^J:ta=^I:up=\EA:
                   11493: vt50h|dec vt50h:\
                   11494:        :bs:\
                   11495:        :co#80:li#12:\
                   11496:        :bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:do=^J:\
                   11497:        :le=^H:nd=\EC:sf=^J:sr=\EI:ta=^I:up=\EA:
                   11498: # (<acsc>/:ae:/:as: capabilities aren't in DEC's official entry -- esr)
                   11499: vt52|dec vt52:\
                   11500:        :bs:\
                   11501:        :co#80:it#8:li#24:\
                   11502:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
                   11503:        :ae=\EG:as=\EF:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :\
                   11504:        :cr=^M:do=\EB:ho=\EH:kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:\
                   11505:        :le=\ED:nd=\EC:nw=^M^J:sf=^J:sr=\EI:ta=^I:up=\EA:
                   11506:
1.5       tholo    11507: # (vt61: there's a BSD termcap that claims :dl=\EPd:, :al=\EPf.: :kb=^H:)
1.2       deraadt  11508: vt61|vt-61|vt61.5|dec vt61:\
1.1       deraadt  11509:        :co#80:li#24:\
1.5       tholo    11510:        :bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=\r:do=^J:\
                   11511:        :kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:sf=\n:sr=\EI:ta=^I:\
                   11512:        :up=\EA:
1.1       deraadt  11513:
                   11514: # The gigi does standout with red!
1.2       deraadt  11515: # (gigi: I added <rmam>/<smam> based on the init string, corrected cub1 -- esr)
1.1       deraadt  11516: gigi|vk100|dec gigi graphics terminal:\
1.8       tholo    11517:        :am:bs:xn:\
1.1       deraadt  11518:        :co#84:li#24:\
1.3       deraadt  11519:        :DO=\E[%dB:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
                   11520:        :UP=\E[%dA:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
                   11521:        :cm=\E[%i%d;%dH:cr=^M:do=^J:\
                   11522:        :is=\E>\E[?3l\E[?4l\E[?5l\E[?20l\E[?7h\E[?8h:k1=\EOP:\
1.5       tholo    11523:        :k2=\EOQ:k3=\EOR:k4=\EOS:kd=\EOB:ke=\E[?1l\E>:kh=\E[H:\
                   11524:        :kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:me=\E[m:\
                   11525:        :nd=\E[C:se=\E[m:sf=^J:so=\E[7;31m:sr=\EM:ta=^I:ue=\E[m:\
                   11526:        :up=\E[A:us=\E[4m:
1.1       deraadt  11527:
                   11528: # DEC PRO-350 console (VT220-style).  The 350 was DEC's attempt to produce
                   11529: # a PC differentiated from the IBM clones.  It was a total, ludicrous,
                   11530: # grossly-overpriced failure (among other things, DEC's OS didn't include
                   11531: # a format program, so you had to buy pre-formatted floppies from DEC at
                   11532: # a hefty premium!).
                   11533: pro350|decpro|dec pro console:\
1.8       tholo    11534:        :bs:\
1.2       deraadt  11535:        :co#80:it#8:li#24:\
1.5       tholo    11536:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
                   11537:        :ae=\EG:as=\EF:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :do=\EB:\
                   11538:        :ho=\EH:k0=\EE:k1=\EF:k2=\EG:k3=\EH:k4=\EI:k5=\EJ:k6=\Ei:\
                   11539:        :k7=\Ej:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:\
                   11540:        :se=\E^N:so=\E^H:sr=\EI:ta=^I:ue=\E^C:up=\EA:us=\E^D:
1.1       deraadt  11541:
                   11542: dw1|decwriter I:\
1.8       tholo    11543:        :bs:hc:os:\
1.1       deraadt  11544:        :co#72:\
                   11545:        :bl=^G:cr=^M:do=^J:le=^H:sf=^J:
                   11546: dw2|decwriter|dw|decwriter II:\
1.8       tholo    11547:        :bs:hc:os:\
1.1       deraadt  11548:        :co#132:\
                   11549:        :bl=^G:cr=^M:do=^J:kb=^H:le=^H:sf=^J:
                   11550: # \E(B         Use U.S. character set (otherwise # => british pound !)
                   11551: # \E[20l       Disable "linefeed newline" mode (else puts \r after \n,\f,\v)
                   11552: # \E[w         10 char/in pitch
                   11553: # \E[1;132     full width horizontal margins
                   11554: # \E[2g                clear all tab stops
                   11555: # \E[z         6 lines/in
                   11556: # \E[66t       66 lines/page (for \f)
                   11557: # \E[1;66r     full vertical page can be printed
                   11558: # \E[4g                clear vertical tab stops
                   11559: # \E>          disable alternate keypad mode (so it transmits numbers!)
1.2       deraadt  11560: # \E[%i%p1%du  set tab stop at column %d (origin == 1)
1.1       deraadt  11561: #              (Full syntax is \E[n;n;n;n;n;...;nu where each 'n' is
                   11562: #              a tab stop)
                   11563: #
                   11564: #       The dw3 does standout with wide characters.
                   11565: #
                   11566: dw3|la120|decwriter III:\
1.8       tholo    11567:        :bs:hc:os:\
1.1       deraadt  11568:        :co#132:\
                   11569:        :bl=^G:cr=^M:do=^J:\
                   11570:        :i1=\E(B\E[20l\E[w\E[0;132s\E[2g\E[z\E[66t\E[1;66r\E[4g\E>:\
                   11571:        :is=\E[9;17;25;33;41;49;57;65;73;81;89;97;105;113;121;129u\r:\
1.5       tholo    11572:        :kb=^H:le=^H:me=\E[w:se=\E[w:sf=^J:so=\E[6w:ta=^I:
1.1       deraadt  11573: dw4|decwriter IV:\
1.8       tholo    11574:        :am:bs:hc:os:\
1.1       deraadt  11575:        :co#132:\
1.5       tholo    11576:        :bl=^G:cr=^M:do=^J:is=\Ec:k0=\EOP:k1=\EOQ:k2=\EOR:k3=\EOS:\
                   11577:        :kb=^H:le=^H:sf=^J:ta=^I:
1.1       deraadt  11578:
1.3       deraadt  11579: # These aren't official
                   11580: ln03|dec ln03 laser printer:\
                   11581:        :hc:\
                   11582:        :co#80:li#66:\
1.5       tholo    11583:        :bl=^G:cr=^M:do=^J:hd=\EK:hu=\EL:me=\E[m:nw=^M^J:se=\E[22m:\
1.3       deraadt  11584:        :sf=^J:so=\E[1m:ta=^I:ue=\E[24m:us=\E[4m:
                   11585: ln03-w|dec ln03 laser printer 132 cols:\
                   11586:        :co#132:\
1.5       tholo    11587:        :bl=^G:cr=^M:do=^J:kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:tc=ln03:
1.3       deraadt  11588:
1.1       deraadt  11589: #### Delta Data (dd)
                   11590: #
                   11591:
                   11592: # Untested. The cup sequence is hairy enough that it probably needs work.
                   11593: # The idea is ctrl(O), dd(row), dd(col), where dd(x) is x - 2*(x%16) + '9'.
                   11594: # There are BSD-derived termcap entries floating around for this puppy
                   11595: # that are *certainly* wrong.
                   11596: delta|dd5000|delta data 5000:\
1.8       tholo    11597:        :am:bs:\
1.1       deraadt  11598:        :co#80:li#27:\
1.5       tholo    11599:        :bl=^G:ce=^NU:cl=^NR:cm=\017%+^P%+^P:dc=^NV:do=^J:ho=^NQ:\
                   11600:        :le=^H:nd=^Y:sf=^J:up=^Z:
1.1       deraadt  11601:
                   11602: #### Digital Data Research (ddr)
                   11603: #
                   11604:
1.2       deraadt  11605: # (ddr: I added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  11606: ddr|rebus3180|ddr3180|Rebus/DDR 3180 vt100 emulator:\
1.8       tholo    11607:        :am:bs:xn:\
1.2       deraadt  11608:        :co#80:it#8:li#24:vt#3:\
1.3       deraadt  11609:        :RA=\E[7l:SA=\E[7l:cd=50\E[J:ce=3\E[K:cl=50\E[H\E[2J:\
                   11610:        :cm=5\E[%i%d;%dH:cs=\E[%i%d;%dr:do=^J:ho=\E[H:\
                   11611:        :is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
1.5       tholo    11612:        :kb=^H:kd=\E[B:ke=\E[?1l\E>:kl=\E[D:kr=\E[C:ks=\E[?1h\E=:\
                   11613:        :ku=\E[A:le=^H:mb=2\E[5m:md=2\E[1m:me=2\E[m:mr=2\E[7m:\
                   11614:        :nd=2\E[C:r1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
                   11615:        :rf=/usr/share/tabset/vt100:sc=\E7:se=\E[m:sf=5\ED:\
                   11616:        :so=\E[7m:sr=5\EM:ta=^I:ue=2\E[m:up=2\E[A:us=2\E[4m:
                   11617:
                   11618: #### Evans & Sutherland
                   11619: #
                   11620:
                   11621: # Jon Leech <leech@cs.unc.edu> tells us:
                   11622: # The ps300 was the Evans & Sutherland Picture System 300, a high
                   11623: # performance 3D vector graphics system with a bunch of specialized hardware.
                   11624: # Approximate date of release was 1982 (early 80s, anyway), and it had several
                   11625: # evolutions including (limited) color versions such as the PS330C. PS300s
                   11626: # were effectively obsolete by the late 80s, replaced by raster graphics
                   11627: # systems, although specialized applications like molecular modelling
                   11628: # hung onto them for a while longer.  AFAIK all E&S vector graphics systems
                   11629: # are out of production, though of course E&S is very much alive (in 1996).
                   11630: # (ps300: changed ":pt@:" to "it@" -- esr)
                   11631: #
                   11632: ps300|Picture System 300:\
                   11633:        :xt:\
                   11634:        :it@:\
                   11635:        :se@:so@:ue@:us@:tc=vt100:
1.1       deraadt  11636:
                   11637: #### General Electric (ge)
                   11638: #
                   11639:
                   11640: terminet1200|terminet300|tn1200|tn300|terminet|GE terminet 1200:\
1.8       tholo    11641:        :bs:hc:os:\
1.1       deraadt  11642:        :co#120:\
                   11643:        :bl=^G:cr=^M:do=^J:sf=^J:
                   11644:
                   11645: #### Heathkit/Zenith
                   11646: #
                   11647:
1.2       deraadt  11648: # Here is a description of the H19 DIP switches:
                   11649: #
                   11650: # S401
                   11651: # 0-3 = baud rate as follows:
                   11652: #
                   11653: #         3       2       1       0
                   11654: #      ---     ---     ---     ---
                   11655: #         0       0       1       1       300 baud
                   11656: #         0       1       0       1       1200 baud
                   11657: #         1       0       0       0       2400 baud
                   11658: #         1       0       1       0       4800 baud
                   11659: #         1       1       0       0       9600 baud
                   11660: #         1       1       0       1       19.2K baud
                   11661: #
                   11662: # 4 = parity (0 = no parity)
                   11663: # 5 = even parity (0 = odd parity)
                   11664: # 6 = stick parity (0 = normal parity)
                   11665: # 7 = full duplex (0 = half duplex)
                   11666: #
                   11667: # S402
                   11668: # 0 = block cursor (0 = underscore cursor)
                   11669: # 1 = no key click (0 = keyclick)
                   11670: # 2 = wrap at end of line (0 = no wrap)
                   11671: # 3 = auto LF on CR (0 = no LF on CR)
                   11672: # 4 = auto CR on LF (0 = no CR on LF)
                   11673: # 5 = ANSI mode (0 = VT52 mode)
                   11674: # 6 = keypad shifted (0 = keypad unshifted)
                   11675: # 7 = 50Hz refresh (1 = 60Hz refresh)
                   11676: #
                   11677: # Factory Default settings are as follows:
                   11678: #          7 6 5 4 3 2 1 0
                   11679: # S401     1 0 0 0 1 1 0 0
                   11680: # S402     0 0 0 0 0 0 0 0
1.5       tholo    11681: # (h19: I added <rmam>/<smam> based on the init string;
                   11682: # also added empty <acsc> to suppress a tic warning -- esr)
                   11683: h19-a|h19a|heath-ansi|heathkit-a|heathkit h19 ansi mode:\
1.8       tholo    11684:        :am:bs:mi:ms:\
1.1       deraadt  11685:        :co#80:it#8:li#24:\
1.5       tholo    11686:        :RA=\E[?7l:SA=\E[?7h:ac=:ae=\E[11m:al=\E[1L:as=\E[10m:\
1.3       deraadt  11687:        :bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:cr=^M:\
1.5       tholo    11688:        :dc=\E[1P:dl=\E[1M:do=\E[1B:ei=\E[4l:ho=\E[H:im=\E[4h:\
                   11689:        :is=\E<\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m\E[?7h:k1=\EOS:\
                   11690:        :k2=\EOT:k3=\EOU:k4=\EOV:k5=\EOW:k6=\EOP:k7=\EOQ:k8=\EOR:\
                   11691:        :kb=^H:kd=\E[1B:kh=\E[H:kl=\E[1D:kr=\E[1C:ku=\E[1A:l6=blue:\
                   11692:        :l7=red:l8=white:le=^H:nd=\E[1C:se=\E[m:sf=^J:so=\E[7m:\
                   11693:        :sr=\EM:ta=^I:up=\E[1A:ve=\E[>4l:vs=\E[>4h:
1.1       deraadt  11694: h19-bs|heathkit w/keypad shifted:\
                   11695:        :ke=\Eu:ks=\Et:tc=h19-b:
1.13      millert  11696: h19-us|h19us|h19-smul|heathkit w/keypad shifted/underscore cursor:\
1.5       tholo    11697:        :ke=\Eu:ks=\Et:\
                   11698:        :tc=h19-u:
                   11699: # (h19: merged in :ip: from BSDI hp19-e entry>;
                   11700: # also added empty <acsc> to suppress a tic warning --esr)
1.13      millert  11701: # From: Tim Pierce <twp@skepsis.com>, 23 Feb 1998
                   11702: # Tim tells us that:
                   11703: # I have an old Zenith-19 terminal at home that still gets a lot of use.
                   11704: # This terminal suffers from the same famous insert-mode padding lossage
                   11705: # that has been acknowledged for the Z29 terminal.  Emacs is nearly
                   11706: # unusable on this box, since even a half-scroll up or down the window
                   11707: # causes flaming terminal death.
                   11708: #
                   11709: # On the Z19, the only way I have found around this problem is to remove
                   11710: # the :al: and :dl: entries entirely.  No amount of extra padding will
                   11711: # help (I have tried up to 20000).  Removing :al=\EL$: and :dl=\EM$:
                   11712: # makes Emacs a little slower, but it remains in the land of the living.
                   11713: # Big win.
1.1       deraadt  11714: h19|heath|h19-b|heathkit|heath-19|z19|zenith|heathkit h19:\
1.8       tholo    11715:        :am:bs:es:hs:mi:ms:\
1.1       deraadt  11716:        :co#80:it#8:li#24:\
1.13      millert  11717:        :ac=:ae=\EG:as=\EF:bl=^G:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :\
                   11718:        :cr=^M:dc=\EN:do=\EB:ei=\EO:fs=\Ek\Ey5:ho=\EH:im=\E@:\
                   11719:        :ip=1.5<1.5/>:k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:\
                   11720:        :k7=\EQ:k8=\ER:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:\
                   11721:        :l6=blue:l7=red:l8=white:le=^H:nd=\EC:se=\Eq:sf=^J:so=\Ep:\
                   11722:        :sr=\EI:ta=^I:ts=\Ej\Ex5\EY8%p1%{32}%+%c\Eo\Eo:up=\EA:\
                   11723:        :ve=\Ey4:vs=\Ex4:
1.1       deraadt  11724: h19-u|heathkit with underscore cursor:\
                   11725:        :ve@:vs@:tc=h19-b:
1.3       deraadt  11726: h19-g|h19g|heathkit w/block cursor:\
                   11727:        :ve=\Ex4:tc=h19-b:
1.1       deraadt  11728: alto-h19|altoh19|altoheath|alto-heath|alto emulating heathkit h19:\
                   11729:        :li#60:\
                   11730:        :al=\EL:dl=\EM:tc=h19:
                   11731:
1.3       deraadt  11732: # The major problem with the Z29 is that it requires more padding than the Z19.
                   11733: #
                   11734: # The problem with declaring an H19 to be synonymous with a Z29 is that
1.1       deraadt  11735: # it needs more padding. It especially loses if a program attempts
                   11736: # to put the Z29 into insert mode and insert text at 9600 baud. It
                   11737: # even loses worse if the program attempts to insert tabs at 9600
                   11738: # baud. Adding padding to text that is inserted loses because in
                   11739: # order to make the Z29 not die, one must add so much padding that
                   11740: # whenever the program tries to use insert mode, the effective
                   11741: # rate is about 110 baud.
                   11742: #
                   11743: # What program would want to put the terminal into insert mode
                   11744: # and shove stuff at it at 9600 baud you ask?
                   11745: #
                   11746: # Emacs. Emacs seems to want to do the mathematically optimal
                   11747: # thing in doing a redisplay rather than the practical thing.
                   11748: # When it is about to output a line on top of a line that is
                   11749: # already on the screen, instead of just killing to the end of
1.3       deraadt  11750: # the line and outputting the new line, it compares the old line
1.1       deraadt  11751: # and the new line and if there are any similarities, it
                   11752: # constructs the new line by deleting the text on the old line
                   11753: # on the terminal that is already there and then inserting new
                   11754: # text into the line to transform it into the new line that is
                   11755: # to be displayed. The Z29 does not react kindly to this.
                   11756: #
                   11757: # But don't cry for too long.... There is a solution. You can make
                   11758: # a termcap entry for the Z29 that says the Z29 has no insert mode.
                   11759: # Then Emacs cannot use it. "Oh, no, but now inserting into a
                   11760: # line will be really slow", you say. Well there is a sort of a
                   11761: # solution to that too. There is an insert character option on
                   11762: # the Z29 that will insert one character. Unfortunately, it
                   11763: # involves putting the terminal into ansi mode, inserting the
                   11764: # character, and changing it back to H19 mode. All this takes 12
                   11765: # characters. Pretty expensive to insert one character, but it
                   11766: # works. Either Emacs doesn't try to use its inserting hack when
                   11767: # it's only given an insert character ability or the Z29 doesn't
                   11768: # require padding with this (the former is probably more likely,
                   11769: # but I haven't checked it out).
1.8       tholo    11770: # (z29: added empty <acsc> to suppress a tic warning, merged in
                   11771: # status line capabilities from BRL entry --esr)
1.1       deraadt  11772: z29|zenith29|z29b|zenith z29b:\
1.8       tholo    11773:        :am:bs:es:hs:mi:ms:pt:\
                   11774:        :co#80:kn#10:li#24:\
                   11775:        :ac=:ae=\EF:al=1\EL:as=\EG:bc=\ED:bl=^G:bt=\E-:cd=\EJ:ce=\EK:\
                   11776:        :cl=\EE:cm=\EY%+ %+ :cr=^M:dc=\EN:dl=1\EM:do=\EB:ds=\Ey1:\
                   11777:        :ei=\EO:fs=\Ek\Ey5:ho=\EH:ic=\E<\E[1@\E[?2h:im=\E@:\
                   11778:        :is=\E<\E[?2h\Ev:k0=\E~:k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:\
                   11779:        :k6=\EP:k7=\EQ:k8=\ER:k9=\E0I:kb=^H:kd=\EB:kh=\EH:kl=\ED:\
                   11780:        :kr=\EC:ku=\EA:l0=home:le=^H:nd=\EC:se=\Eq:sf=\n:so=\Ep:\
                   11781:        :sr=2\EI:ta=^I:ts=\Ej\Ex5\Ex1\EY8%+ \Eo:ue=\Es0:up=\EA:\
1.5       tholo    11782:        :us=\Es8:ve=\Ey4:vs=\Ex4:
1.3       deraadt  11783: # z29 in ansi mode. Assumes that the cursor is in the correct state, and that
                   11784: # the world is stable. <rs1> causes the terminal to be reset to the state
                   11785: # indicated by the name. kc -> key click, nkc -> no key click, uc -> underscore
                   11786: # cursor, bc -> block cursor.
                   11787: # From: Mike Meyers
1.5       tholo    11788: # (z29a: replaced nonexistent :if=/usr/share/tabset/zenith29: befause :st:
                   11789: # looks vt100-compatible -- esr)
1.3       deraadt  11790: z29a|z29a-kc-bc|h29a-kc-bc|heath/zenith 29 in ansi mode:\
1.8       tholo    11791:        :am:bs:es:hs:mi:ms:pt:\
                   11792:        :co#80:it#8:kn#10:li#24:\
1.3       deraadt  11793:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
1.8       tholo    11794:        :RI=\E[%dC:UP=\E[%dA:bc=\ED:bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J:\
1.5       tholo    11795:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[1P:\
                   11796:        :do=^J:ds=\E[>1l:fs=\E[u\E[>5l:ho=\E[H:\
                   11797:        :if=/usr/share/tabset/vt100:k0=\E[~:k1=\EOS:k2=\EOT:\
                   11798:        :k3=\EOU:k4=\EOV:k5=\EOW:k6=\EOP:k7=\EOQ:k8=\EOR:k9=\EOX:\
                   11799:        :kC=\E[J:kS=\E[J:kb=^H:kd=\EOB:kh=\E[H:kl=\EOD:kr=\EOC:\
                   11800:        :ku=\EOA:l0=help:le=^H:mb=\E[5m:md=\E[2m:me=\E[m:mh=\E[2m:\
                   11801:        :mr=\E[7m:nd=\E[C:nw=^M\ED:ps=\E#7:\
1.3       deraadt  11802:        :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:\
1.5       tholo    11803:        :rc=\E[r:sc=\E[s:se=\E[m:sf=\ED:so=\E[7;2m:sr=\EM:st=\EH:\
                   11804:        :ta=^I:te=\E[?7h:ti=\E[?7l:\
1.3       deraadt  11805:        :ts=\E[s\E[>5;1h\E[25;%i%dH\E[1K:ue=\E[m:up=\E[A:\
                   11806:        :us=\E[4m:
                   11807: z29a-kc-uc|h29a-kc-uc|z29 ansi mode with keyckick and underscore cursor:\
1.5       tholo    11808:        :r1=\E<\E[1;24r\E[24;1H\E[?7h\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m:\
                   11809:        :tc=z29a:
1.3       deraadt  11810: z29a-nkc-bc|h29a-nkc-bc|z29 ansi mode with block cursor and no keyclick:\
1.5       tholo    11811:        :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:\
                   11812:        :tc=z29a:
1.3       deraadt  11813: z29a-nkc-uc|h29a-nkc-uc|z29 ansi mode with underscore cursor and no keyclick:\
1.5       tholo    11814:        :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:\
                   11815:        :tc=z29a:
1.2       deraadt  11816: # From: Jeff Bartig <jeffb@dont.doit.wisc.edu> 31 Mar 1995
                   11817: z39-a|z39a|zenith39-a|zenith39-ansi|Zenith 39 in ANSI mode:\
1.3       deraadt  11818:        :5i:am:es:hs:mi:ms:xo:\
1.2       deraadt  11819:        :co#80:li#24:\
1.5       tholo    11820:        :%1=\E[~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:K1=\EOw:\
                   11821:        :K2=\EOy:K3=\EOu:K4=\EOq:K5=\EOs:LE=\E[%dD:RI=\E[%dC:\
1.13      millert  11822:        :UP=\E[%dA:ac=0a``aaffggjjkkllmmnnooqqssttuuvvwwxx~~:\
1.5       tholo    11823:        :ae=\E(B:al=\E[1L:as=\E(0:bl=^G:bt=\E[1Z:cb=\E[1K:cd=\E[0J:\
1.3       deraadt  11824:        :ce=\E[0K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:\
1.2       deraadt  11825:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[1P:dl=\E[1M:do=\E[B:\
                   11826:        :ds=\E[>1l:ei=\E[4l:fs=\E[u:ho=\E[H:im=\E[4h:\
1.5       tholo    11827:        :is=\E<\E[>1;3;5;6;7l\E[0m\E[2J:k1=\EOS:k2=\EOT:k3=\EOU:\
                   11828:        :k4=\EOV:k5=\EOW:k6=\EOP:k7=\EOQ:k8=\EOR:k9=\EOX:kS=\E[J:\
                   11829:        :kb=^H:kd=\E[B:ke=\E[>7l:kh=\E[H:kl=\E[D:kr=\E[C:ks=\E[>7h:\
                   11830:        :ku=\E[A:le=^H:ll=\E[24;1H:mb=\E[5m:md=\E[1m:me=\E[0m:\
                   11831:        :mh=\E[2m:mr=\E[7m:nd=\E[C:pf=\E[4i:po=\E[5i:\
1.13      millert  11832:        :ps=\E[?19h\E[i:r2=\E<\Ec\0:rc=\E[u:sc=\E[s:se=\E[0m:\
1.5       tholo    11833:        :sf=^J:so=\E[7m:st=\EH:ta=^I:ts=\E[s\E[>1h\E[25;%i%p1%dH:\
1.3       deraadt  11834:        :ue=\E[0m:up=\E[A:us=\E[4m:ve=\E[>5l:vi=\E[>5h:
1.1       deraadt  11835:
                   11836: # From: Brad Brahms <Brahms@USC-ECLC>
                   11837: z100|h100|z110|z-100|h-100|heath/zenith z-100 pc with color monitor:\
1.5       tholo    11838:        :ve=\Ey4\Em70:vs=\Ex4\Em71:\
                   11839:        :tc=z100bw:
                   11840: # (z100bw: removed obsolete ":kn#10:", added empty <acsc> -- esr)
1.1       deraadt  11841: z100bw|h100bw|z110bw|z-100bw|h-100bw|heath/zenith z-100 pc:\
1.8       tholo    11842:        :bs:mi:ms:pt:\
                   11843:        :co#80:it#8:kn#10:li#24:\
1.5       tholo    11844:        :ac=:ae=\EG:al=5*\EL:as=\EF:cd=\EJ:ce=\EK:cl=5*\EE:\
                   11845:        :cm=1*\EY%+ %+ :dc=1*\EN:dl=5*\EM:do=\EB:ei=\EO:ho=\EH:\
                   11846:        :im=\E@:k0=\EJ:k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:\
                   11847:        :k7=\EQ:k8=\ER:k9=\EOI:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:\
                   11848:        :ku=\EA:le=^H:nd=\EC:se=\Eq:so=\Ep:sr=\EI:ta=^I:up=\EA:\
                   11849:        :ve=\Ey4:vs=\Ex4:
1.2       deraadt  11850: p19|h19-b with il1/dl1:\
1.1       deraadt  11851:        :al=2*\EL:dl=2*\EM:tc=h19-b:
                   11852: # From: <ucscc!B.fiatlux@ucbvax.berkeley.edu>
1.2       deraadt  11853: # (ztx: removed duplicate :sr: -- esr)
                   11854: ztx|ztx11|zt-1|htx11|ztx-1-a|ztx-10 or 11:\
1.8       tholo    11855:        :am:bs:es:hs:\
1.2       deraadt  11856:        :co#80:it#8:li#24:\
1.5       tholo    11857:        :al=\EL:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :dl=\EM:do=^J:\
                   11858:        :ds=\Ey1:fs=\Ek\Ey5:ho=\EH:\
1.1       deraadt  11859:        :is=\Ej\EH\Eq\Ek\Ev\Ey1\Ey5\EG\Ey8\Ey9\Ey>:k0=\ES:\
1.5       tholo    11860:        :k1=\EB:k2=\EU:k3=\EV:k4=\EW:k5=\EP:k6=\EQ:k7=\ER:kb=^H:\
                   11861:        :kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:se=\Eq:so=\Es5:\
                   11862:        :sr=\EI:ta=^I:ts=\Ej\Ex5\Ex1\EY8%+ \Eo:ue=\Eq:up=\EA:\
                   11863:        :us=\Es2:
1.1       deraadt  11864:
                   11865: #### IMS International (ims)
                   11866: #
                   11867: # There was a company called IMS International located in Carson City,
                   11868: # Nevada, that flourished from the mid-70s to mid-80s.  They made S-100
                   11869: # bus/Z80 hardware and a line of terminals called Ultimas.
1.8       tholo    11870: #
1.1       deraadt  11871:
                   11872: # From: Erik Fair <fair@ucbarpa.berkeley.edu>  Sun Oct 27 07:21:05 1985
                   11873: ims950-b|bare ims950 no init string:\
                   11874:        :is@:tc=ims950:
                   11875: # (ims950: removed obsolete ":ko@:" -- esr)
                   11876: ims950|ims televideo 950 emulation:\
                   11877:        :xn@:\
1.5       tholo    11878:        :k0@:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:k9@:kb@:kd@:kh@:kl@:kr@:ku@:vb@:tc=tvi950:
1.1       deraadt  11879: # (ims950-rv: removed obsolete ":ko@:" -- esr)
                   11880: ims950-rv|ims tvi950 rev video:\
                   11881:        :xn@:\
1.5       tholo    11882:        :k0@:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:k9@:kb@:kd@:kh@:kl@:kr@:ku@:vb@:tc=tvi950-rv:
1.1       deraadt  11883: ims-ansi|ultima2|ultimaII|IMS Ultima II:\
1.8       tholo    11884:        :am:bs:\
1.2       deraadt  11885:        :co#80:it#8:li#24:\
1.5       tholo    11886:        :cd=\E[0J:ce=\E[0K:cl=\E[H\E[2J:cm=\E[%i%2;%2H:do=\ED:\
                   11887:        :if=/usr/share/tabset/vt100:\
                   11888:        :is=\E[m\E[>14l\E[?1;?5;20l\E>\E[1m\r:kd=\E[B:kh=\E[H:\
                   11889:        :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:se=\E[m\E[1m:\
1.2       deraadt  11890:        :so=\E[7m:sr=\EM:ta=^I:ue=\E[m\E[1m:up=\EM:us=\E[4m:
1.1       deraadt  11891:
                   11892: #### Intertec Data Systems
                   11893: #
                   11894: # I think this company is long dead as of 1995.  They made an early CP/M
                   11895: # micro called the "Intertec Superbrain" that was moderately popular,
                   11896: # then sank out of sight.
                   11897: #
                   11898:
                   11899: superbrain|intertec superbrain:\
1.8       tholo    11900:        :am:bs:bw:\
1.1       deraadt  11901:        :co#80:li#24:\
1.8       tholo    11902:        :bc=^U:bl=^G:cd=\E~k<10*>:ce=\E~K:cl=\014:cm=\EY%+ %+ :\
                   11903:        :cr=^M:do=^J:kd=^J:kl=^U:kr=^F:ku=^K:le=^H:nd=^F:sf=^J:ta=^I:\
                   11904:        :te=^L:ti=^L:up=^K:
                   11905: # (intertube: a Gould entry via BRL asserted smul=\E0@$<200/>,
                   11906: # rmul=\E0A$<200/>; my guess is the highlight letter is bit-coded like an ADM,
                   11907: # and the reverse is actually true.  Try it. -- esr)
1.1       deraadt  11908: intertube|intertec|Intertec InterTube:\
1.8       tholo    11909:        :am:bs:\
1.1       deraadt  11910:        :co#80:li#25:\
1.5       tholo    11911:        :bl=^G:cl=^L:cm=\EY%+ %+ :cr=^M:do=^J:ho=^A:le=^H:nd=^F:\
                   11912:        :se=\E0@:sf=^J:so=\E0P:up=^Z:
1.1       deraadt  11913: # The intertube 2 has the "full duplex" problem like the tek 4025: if you
                   11914: # are typing and a command comes in, the keystrokes you type get interspersed
                   11915: # with the command and it messes up
1.2       deraadt  11916: intertube2|intertec data systems intertube 2:\
1.8       tholo    11917:        :bs:\
1.3       deraadt  11918:        :ce=\EK:ch=\020%+^J:cm=\016%.\020%+^J:cv=\013%.:\
1.5       tholo    11919:        :ll=^K^X\r:\
                   11920:        :tc=intertube:
1.2       deraadt  11921:
                   11922: #### Ithaca Intersystems
                   11923: #
                   11924: # This company made S100-bus personal computers long ago in the pre-IBM-PC
                   11925: # past.  They used to be reachable at:
                   11926: #
                   11927: #      Ithaca Intersystems
                   11928: #      1650 Hanshaw Road
                   11929: #      Ithaca, New York 14850
                   11930: #
                   11931: # However, the outfit went bankrupt years ago.
                   11932: #
                   11933:
1.8       tholo    11934: # The Graphos III was a color graphics terminal from Ithaca Intersystems.
1.2       deraadt  11935: # These entries were written (originally in termcap syntax) by Brian Yandell
                   11936: # <yandell@stat.wisc.edu> and Mike Meyer <mikem@stat.wisc.edu> at the
                   11937: # University of Wisconsin.
                   11938:
1.5       tholo    11939: # (graphos: removed obsolete and syntactically incorrect :kn=4:,
                   11940: # removed :if=/usr/share/tabset/init.graphos: and
                   11941: # <rf=/usr/share/tabset/init.graphos> no such file & no :st: -- esr)
1.2       deraadt  11942: graphos|graphos III:\
                   11943:        :am:mi:\
                   11944:        :co#80:it#8:li#24:\
                   11945:        :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
                   11946:        :UP=\E[%dA:al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
1.5       tholo    11947:        :cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:dm=\E[4h:do=\E[B:\
                   11948:        :ed=\E[4l:ei=\E[4l:ho=\E[H:im=\E[4h:k1=\EOP:k2=\EOQ:\
                   11949:        :k3=\EOR:k4=\EOS:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:\
                   11950:        :ku=\E[A:le=^H:me=\E[m:nd=\E[C:nw=^M\ED:rc=\E8:sc=\E7:\
1.3       deraadt  11951:        :se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:up=\E[A:\
                   11952:        :ve=\Ez56;2;0;0z\Ez73z\Ez4;1;1z:\
1.2       deraadt  11953:        :vs=\Ez4;2;1z\Ez56;2;80;24z:
                   11954: graphos-30|graphos III with 30 lines:\
                   11955:        :li#30:\
                   11956:        :vs=\Ez4;2;1z\Ez56;2;80;30z:tc=graphos:
1.1       deraadt  11957:
                   11958: #### Modgraph
                   11959: #
                   11960: # These people used to be reachable at:
                   11961: #
                   11962: #      Modgraph, Inc
                   11963: #      1393 Main Street,
                   11964: #      Waltham, MA 02154
                   11965: #      Vox: (617)-890-5796.
                   11966: #
                   11967: # However, if you call that number today you'll get an insurance company.
1.13      millert  11968: # I have mail from "Michael Berman, V.P. Sales, Modgraph" dated
                   11969: # 26 Feb 1997 that says:
                   11970: #
                   11971: # Modgraph GX-1000, replaced by GX-2000.  Both are out of production, have been
                   11972: # for ~7 years.  Modgraph still in business.  Products are rugged laptop and
                   11973: # portable PC's and specialized CRT and LCD monitors (rugged, rack-mount
                   11974: # panel-mount etc).  I can be emailed at sonfour@aol.com
                   11975: #
                   11976: # Peter D. Smith <pdsmith@nbbn.com> notes that his modgraph manual was
                   11977: # dated 1984.  According to the manual, it featured Tek 4010/4014
                   11978: # graphics and DEC VT100/VT52 + ADM-3A emulation with a VT220-style keyboard.
1.1       deraadt  11979: #
                   11980:
1.8       tholo    11981: modgraph|mod24|modgraph terminal emulating vt100:\
1.1       deraadt  11982:        :xn@:\
                   11983:        :co#80:li#24:\
1.8       tholo    11984:        :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:\
                   11985:        :rf@:sr=5\EM\E[K:vs=\E\1369;0s\E\1367;1s:\
1.5       tholo    11986:        :tc=vt100:
1.2       deraadt  11987: # The GX-1000 manual is dated 1984.  This looks rather like a VT-52.
                   11988: modgraph2|modgraph gx-1000 80x24 with keypad not enabled:\
                   11989:        :am:da:db:\
                   11990:        :co#80:it#8:li#24:\
1.1       deraadt  11991:        :cd=50\EJ:ce=3\EK:cl=50\EH\EJ:cm=5\EY%+ %+ :\
1.8       tholo    11992:        :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:\
1.2       deraadt  11993:        :le=^H:nd=2\EC:sr=5\EI:ta=^I:up=2\EA:
1.8       tholo    11994: #
                   11995: # Modgraph from Nancy L. Cider <nancyc@brl-tbd>
                   11996: # BUG NOTE from Barbara E. Ringers <barb@brl-tbd>:
                   11997: # If we set TERM=vt100, and set the Modgraph screen to 24 lines, setting a
                   11998: # mark and using delete-to-killbuffer work correctly.  However, we would
                   11999: # like normal mode of operation to be using a Modgraph with 48 line setting.
                   12000: # If we set TERM=mod (which is a valid entry in termcap with 48 lines)
                   12001: # the setting mark and delete-to-killbuffer results in the deletion of only
                   12002: # the line the mark is set on.
                   12003: # We've discovered that the delete-to-killbuffer works correctly
                   12004: # with TERM=mod and screen set to 80x48 but it's not obvious.  Only
                   12005: # the first line disappears but a ctrl-l shows that it did work
                   12006: # correctly.
                   12007: modgraph48|mod|Modgraph w/48 lines:\
                   12008:        :am:bs:pt:xn:\
                   12009:        :co#80:it#8:li#48:vt#3:\
                   12010:        :bl=^G:cd=\E[J:ce=\E[K:cl=\E[;H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
                   12011:        :cs=\E[%i%d;%dr:do=^J:ho=\E[H:\
                   12012:        :is=\E<\E[1;48r\E[0q\E[3;4q\E=\E[?1h:k1=\EOP:k2=\EOQ:\
                   12013:        :k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
                   12014:        :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:\
                   12015:        :me=\E[m:mr=\E[7m:nd=\E[C:nl=^J:r1=\E=\E[0q\E>:rc=\E8:\
                   12016:        :sc=\E7:se=\E[m:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:\
                   12017:        :us=\E[4m:vb=\E[?5h\E[0q\E[1;2q\E[?5l\E[0q\E[4;3q:
1.1       deraadt  12018:
                   12019: #### Morrow Designs
                   12020: #
                   12021: # This was George Morrow's company.  They started in the late 1970s making
                   12022: # S100-bus machines.  They used to be reachable at:
                   12023: #
                   12024: #        Morrow
                   12025: #        600 McCormick St.
                   12026: #        San Leandro, CA 94577
                   12027: #
                   12028: # but they're long gone now (1995).
                   12029: #
                   12030:
                   12031: # The mt70 terminal was shipped with the Morrow MD-3 microcomputer.
                   12032: # Jeff's specimen was dated June 1984.
                   12033: # From: Jeff Wieland <wieland@acn.purdue.edu> 24 Feb 1995
                   12034: mt70|mt-70|Morrow MD-70; native Morrow mode:\
                   12035:        :am:mi:ms:xo:\
                   12036:        :co#80:it#8:li#24:\
1.5       tholo    12037:        :%1=^AO\r:F1=^A`\r:F2=^Aa\r:F3=^Ab\r:F4=^Ac\r:F5=^Ad\r:\
                   12038:        :F6=^Ae\r:F7=^Af\r:F8=^Ag\r:F9=^Ah\r:FA=^Ai\r:\
1.13      millert  12039:        :ac=+z\054{-x.yOi`|jGkFlEmDnHqJtLuKvNwMxI:ae=\E%:\
1.5       tholo    12040:        :al=\EE:as=\E$:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=^Z:\
                   12041:        :cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ei=:ho=^^:\
                   12042:        :i1=\E"2\EG0\E]:ic=\EQ:im=:k1=^A@\r:k2=^AA\r:k3=^AB\r:\
                   12043:        :k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:\
                   12044:        :k;=^AI\r:kB=^A^Z\r:kC=^An\r:kD=\177:kb=^H:kd=^AK\r:\
                   12045:        :kh=^AN\r:kl=^AL\r:kr=^AM\r:ku=^AJ\r:le=^H:mh=\EG2:mk@:\
1.8       tholo    12046:        :nd=^L:nw=^_:sf=^J:ta=^I:te=:ti=\E"2\EG0\E]:up=^K:us=\EG1:\
1.5       tholo    12047:        :vb=\EK1\EK0:ve=\E"2:vi=\E"0:\
                   12048:        :tc=adm+sgr:
1.1       deraadt  12049:
1.8       tholo    12050: #### Motorola
                   12051: #
                   12052:
                   12053: # Motorola EXORterm 155        from {decvax, ihnp4}!philabs!sbcs!megad!seth via BRL
                   12054: # (Seth H Zirin)
                   12055: ex155|Motorola Exorterm 155:\
                   12056:        :am:bs:bw:\
1.13      millert  12057:        :co#80:kn#5:li#24:\
1.8       tholo    12058:        :bt=\E[:cd=\ET:ce=\EU:cl=\EX:cm=\EE%+ %+ :do=\EB:ho=\E@:\
                   12059:        :kB=\E[:kC=\EX:kE=\EU:kS=\ET:kb=^H:kd=^J:kh=\E@:kl=^H:kr=^L:\
                   12060:        :ku=^K:nd=\ED:se=\Ec\ED:so=\Eb\ED:ta=\EZ:ue=\Eg\ED:\
                   12061:        :us=\Ef\ED:
                   12062:
1.1       deraadt  12063: #### Omron
                   12064: #
                   12065: # This company is still around in 1995, manufacturing point-of-sale systems.
                   12066:
                   12067: omron|Omron 8025AG:\
1.8       tholo    12068:        :am:bs:da:db:\
1.1       deraadt  12069:        :co#80:li#24:\
1.5       tholo    12070:        :al=\EL:bl=^G:cd=\ER:ce=\EK:cl=\EJ:cr=^M:dc=\EP:dl=\EM:do=^J:\
                   12071:        :ho=\EH:le=^H:nd=\EC:se=\E4:sf=\ES:so=\Ef:sr=\ET:up=\EA:\
                   12072:        :vs=\EN:
                   12073:
                   12074: #### Ramtek
                   12075: #
                   12076: # Ramtek was a vendor of high-end graphics terminals around 1979-1983; they
                   12077: # were competition for things like the Tektronics 4025.
                   12078: #
                   12079:
                   12080: # Ramtek 6221 from BRL, probably by Doug Gwyn
                   12081: # The following SET-UP modes are assumed for normal operation:
                   12082: #      UNDERLINE_CURSOR        ANSI_MODE       AUTO_XON/XOFF_ON
                   12083: #      NEWLINE_OFF             80_COLUMNS
                   12084: # Other SET-UP modes may be set for operator convenience or communication
                   12085: # requirements; I recommend
                   12086: #      SMOOTH_SCROLL   AUTO_REPEAT_ON  3_#_SHIFTED     WRAP_AROUND_ON
                   12087: # Hardware tabs are assumed to be every 8 columns; they can be set up by the
                   12088: # "reset", "tset", or "tabs" utilities (use rt6221-w, 160 columns, for this).
                   12089: # Note that the Control-E key is useless on this brain-damaged terminal.  No
                   12090: # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
1.13      millert  12091: rt6221|Ramtek 6221 80x24:\
1.8       tholo    12092:        :bs:ms:pt:xo:\
                   12093:        :co#80:it#8:kn#4:li#24:vt#3:\
1.5       tholo    12094:        :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ac=:ae=^O:as=^N:\
                   12095:        :bl=^G:cd=\E[J:ce=\E[K:cl=\E[1;1H\E[J:cm=\E[%i%d;%dH:\
                   12096:        :cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:do=^K:ho=\E[1;1H:is=\E)0:\
                   12097:        :k0=\EOP:k1=\EOQ:k2=\EOR:k3=\EOS:kb=^H:kd=\E[B:ke=\E>:\
                   12098:        :kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:l0=PF1:l1=PF2:l2=PF3:l3=PF4:\
                   12099:        :le=^H:ll=\E[24;1H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:\
                   12100:        :nd=\E[C:nw=\EE:\
                   12101:        :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>:\
                   12102:        :rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
                   12103:        :ue=\E[m:up=\EM:us=\E[4m:ve=\E[>5h\E[>9h:vi=\E[>5l:\
                   12104:        :vs=\E[>7h\E[>9l:
                   12105: # [TO DO: Check out: short forms of ho/cl and ll; reset (\Ec)].
1.13      millert  12106: rt6221-w|Ramtek 6221 160x48:\
1.5       tholo    12107:        :co#160:li#48:\
1.8       tholo    12108:        :ll=\E[48;1H:tc=rt6221:
                   12109:
                   12110: #### RCA
                   12111: #
                   12112:
                   12113: # RCA VP3301 or VP3501
                   12114: rca|rca vp3301/vp3501:\
                   12115:        :bs:\
                   12116:        :co#40:li#24:\
                   12117:        :cl=^L:cm=\EY%+ %+ :ho=^Z:nd=^U:se=\E\ES0:so=\E\ES1:up=^K:
                   12118:
1.5       tholo    12119:
                   12120: #### Selanar
                   12121: #
                   12122:
                   12123: # Selanar HiREZ-100 from BRL, probably by Doug Gwyn
                   12124: # The following SET-UP modes are assumed for normal operation:
                   12125: #      SET_DEFAULT_TABS        48_LINES                80_COLUMNS
                   12126: #      ONLINE                  ANSI                    CURSOR_VISIBLE
                   12127: #      VT102_AUTO_WRAP_ON      VT102_NEWLINE_OFF       VT102_MONITOR_MODE_OFF
                   12128: #      LOCAL_ECHO_OFF          US_CHAR_SET             WPS_TERMINAL_DISABLED
                   12129: #      CPU_AUTO_XON/XOFF_ENABLED                       PRINT_FULL_SCREEN
                   12130: # For use with graphics software, all graphics modes should be set to factory
                   12131: # default.  Other SET-UP modes may be set for operator convenience or
                   12132: # communication requirements.  No delays are specified; use "stty ixon -ixany"
                   12133: # to enable DC3/DC1 flow control!
                   12134: # I commented out the scrolling capabilities since they are too slow.
                   12135: hirez100|Selanar HiREZ-100:\
1.8       tholo    12136:        :bs:mi:ms:pt:xo:\
                   12137:        :co#80:it#8:kn#4:li#48:vt#3:\
1.5       tholo    12138:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
                   12139:        :RI=\E[%dC:UP=\E[%dA:ac=:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:\
                   12140:        :ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:\
                   12141:        :dc=\E[P:dl=\E[M:do=^J:ho=\E[H:is=\E<\E)0:k0=\EOP:k1=\EOQ:\
                   12142:        :k2=\EOR:k3=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
                   12143:        :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l0=PF1:l1=PF2:l2=PF3:l3=PF4:\
                   12144:        :le=^H:ll=\E[48H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:\
                   12145:        :nd=\E[C:nw=\EE:pf=\E[4i\E[?4i:po=\E[?5i\E[5i:ps=\E[i:\
                   12146:        :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>:\
1.8       tholo    12147:        :rc=\E8:sc=\E7:se=\E[m:so=\E[7m:st=\EH:ta=^I:ue=\E[m:up=\EM:\
                   12148:        :us=\E[4m:
1.5       tholo    12149: hirez100-w|Selanar HiREZ-100 in 132-column mode:\
1.8       tholo    12150:        :co#132:tc=hirez100:
1.1       deraadt  12151:
1.2       deraadt  12152: #### Signetics
                   12153: #
                   12154:
                   12155: # From University of Wisconsin
                   12156: vsc|Signetics Vsc Video driver by RMC:\
                   12157:        :am:ms:\
                   12158:        :co#80:it#8:li#26:\
                   12159:        :ce=\E[K:cl=50\E[;H\E[2J:cm=\E[%i%d;%dH:cr=^M:do=^J:\
1.8       tholo    12160:        :ho=\E[H:kb=^H:kd=^J:kl=^H:le=^H:me=^_\041:mr=^_ :nd=\E[C:\
                   12161:        :nw=^M^J:se=^_\041:sf=^J:so=^_ :ta=^I:ue=^_#:up=\E[A:us=^_":
1.2       deraadt  12162:
1.1       deraadt  12163: #### Soroc
                   12164: #
1.2       deraadt  12165: # Alan Frisbie <frisbie@flying-disk.com> writes:
                   12166: #
                   12167: # As you may recall, the Soroc logo consisted of their name,
                   12168: # with the letter "S" superimposed over an odd design.   This
                   12169: # consisted of a circle with a slightly smaller 15 degree (approx.)
                   12170: # wedge with rounded corners inside it.   The color was sort of
                   12171: # a metallic gold/yellow.
                   12172: #
                   12173: # If I had been more of a beer drinker it might have been obvious
                   12174: # to me, but it took a clue from their service department to make
                   12175: # me exclaim, "Of course!"   The circular object was the top of
                   12176: # a beer can (the old removable pop-top style) and "Soroc" was an
                   12177: # anagram for "Coors".
                   12178: #
                   12179: # I can just imagine the founders of the company sitting around
                   12180: # one evening, tossing back a few and trying to decide what to
                   12181: # call their new company and what to use for a logo.
                   12182: #
1.1       deraadt  12183:
                   12184: # (soroc120: removed obsolete ":ma=^K^P^R^L^L :" -- esr)
1.3       deraadt  12185: soroc120|iq120|soroc|soroc iq120:\
1.1       deraadt  12186:        :cd=\EY:ce=\ET:cl=\E*:do=^J:kd=^J:kl=^H:kr=^L:ku=^K:tc=adm3a:
                   12187: soroc140|iq140|soroc iq140:\
1.8       tholo    12188:        :am:bs:mi:\
1.1       deraadt  12189:        :co#80:li#24:\
1.5       tholo    12190:        :al=\Ee:bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=\E+:cm=\E=%+ %+ :\
                   12191:        :cr=^M:dc=\Ew:dl=\Er:do=^J:ei=\E8:ho=^^:im=\E9:k0=^A0\r:\
                   12192:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
                   12193:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:kb=^H:kh=^^:kr=^L:ku=^K:le=^H:\
                   12194:        :ll=^^^K:nd=^L:se=\E\177:sf=^J:so=\E\177:ue=\E^A:up=^K:\
                   12195:        :us=\E^A:
1.1       deraadt  12196:
                   12197: #### Southwest Technical Products
                   12198: #
                   12199: # These guys made an early personal micro called the M6800.
                   12200: # The ct82 was probably its console terminal.
                   12201: #
                   12202:
                   12203: # (swtp: removed obsolete ":bc=^D:" -- esr)
                   12204: swtp|ct82|southwest technical products ct82:\
                   12205:        :am:\
                   12206:        :co#82:li#20:\
1.5       tholo    12207:        :al=^^Y:bl=^G:cd=^V:ce=^F:cl=^L:cm=\013%r%.%.:cr=^M:dc=^^H:\
                   12208:        :dl=^Z:do=^J:ei=:ho=^P:ic=^^X:im=:\
1.1       deraadt  12209:        :is=\034\022\036\023\036\004\035\027\011\023\036\035\036\017\035\027\022\011:\
                   12210:        :le=^D:ll=^C:nd=^S:se=^^^F:sf=^N:so=^^^V:sr=^O:up=^A:
                   12211:
                   12212: #### Synertek
                   12213: #
                   12214: # Bob Manson <manson@pattyr.acs.ohio-state.edu> writes (28 Apr 1995):
                   12215: #
                   12216: # Synertek used to make ICs, various 6502-based single-board process
                   12217: # control and hobbyist computers, and assorted peripherals including a
                   12218: # series of small inexpensive terminals (I think they were one of the
                   12219: # first to have a "terminal-on-a-keyboard", where the terminal itself
                   12220: # was only slightly larger than the keyboard).
                   12221: #
                   12222: # They apparently had a KTM-1 model, which I've never seen. The KTM-2/40
                   12223: # was a 40x24 terminal that could connect to a standard TV through a
                   12224: # video modulator.  The KTM-2/80 was the 80-column version (the 2/40
                   12225: # could be upgraded to the 2/80 by adding 2 2114 SRAMs and a new ROM).
                   12226: # I have a KTM-2/80 still in working order.  The KTM-2s had fully
                   12227: # socketed parts, used 2 6507s, a 6532 as keyboard scanner, a program
                   12228: # ROM and 2 ROMs as character generators. They were incredibly simple,
                   12229: # and I've never had any problems with mine (witness the fact that mine
                   12230: # was made in 1981 and is still working great... I've blown the video
                   12231: # output transistor a couple of times, but it's a 2N2222 :-)
                   12232: #
                   12233: # The KTM-3 (which is what is listed in the terminfo file) was their
                   12234: # attempt at putting a KTM-2 in a box (and some models came with a
                   12235: # CRT). It wasn't much different from the KTM-2 hardware-wise, but the
                   12236: # control and escape sequences are very different. The KTM-3 was always
                   12237: # real broken, at least according to the folks I've talked to about it.
                   12238: #
                   12239: # The padding in the entry is probably off--these terminals were very
                   12240: # slow (it takes like 100ms for the KTM-2 to clear the screen...) And
                   12241: # anyone with any sanity replaced the ROMs with something that provided
                   12242: # a reasonable subset of VT100 functionality, since the usual ROMs were
                   12243: # obviously very primitive... oh, you could get an upgraded ROM from
                   12244: # Synertek for some incredible amount of money, but what hacker with an
                   12245: # EPROM burner would do that? :)
                   12246: #
                   12247: # Sorry I don't have any contact info; I believe they were located in
                   12248: # Sunnyvale, and I'm fairly sure they are still manufacturing ICs
                   12249: # (they've gone to ASICs and FPGAs), but I doubt they're in the computer
                   12250: # business these days.
1.5       tholo    12251: #
1.1       deraadt  12252:
                   12253: # Tested, seems to work fine with vi.
                   12254: synertek|ktm|synertek380|synertek ktm 3/80 tubeless terminal:\
                   12255:        :am:\
                   12256:        :co#80:li#24:\
                   12257:        :cd=\EJ:ce=\EK:cl=^Z:cm=\E=%+ %+ :le=^H:nd=^L:up=^K:
                   12258:
                   12259: #### Tab Office Products
                   12260: #
                   12261: #      TAB Products Co. - Palo Alto, California
                   12262: #      Electronic Office Products,
                   12263: #      1451 California Avenue 94304
                   12264: #
                   12265: # I think they're out of business.
                   12266: #
                   12267:
                   12268: # The tab 132 uses xon/xoff, so no padding needed.
1.5       tholo    12269: # :ks:/:ke: have nothing to do with arrow keys.
                   12270: # :is: sets 80 col mode, normal video, autowrap on (for :am:).
1.1       deraadt  12271: # Seems to be no way to get rid of status line.
                   12272: # The manual for this puppy was dated June 1981.  It claims to be VT52-
1.2       deraadt  12273: # compatible but looks more vt100-like.
1.1       deraadt  12274: tab132|tab|tab132-15|tab 132/15:\
                   12275:        :da:db:\
                   12276:        :co#80:dN@:li#24:lm#96:\
1.5       tholo    12277:        :al=\E[L:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:\
                   12278:        :im=\E[4h:is=\E[?7h\E[?3l\E[?5l:kd=\E[B:ke@:kl=\E[D:ks@:\
                   12279:        :ku=\E[A:\
                   12280:        :tc=vt100:
1.1       deraadt  12281: tab132-w|tab132 in wide mode:\
                   12282:        :co#132:\
                   12283:        :is=\E[?7h\E[?3h\E[?5l:tc=tab132:
                   12284: tab132-rv|tab132 in reverse-video mode:\
                   12285:        :is=\E[?7h\E[?3l\E[?5h:tc=tab132:
                   12286: tab132-w-rv|tab132 in reverse-video/wide mode:\
                   12287:        :is=\E[?7h\E[?3h\E[?5h:tc=tab132-w:
                   12288:
                   12289:
                   12290: #### Teleray
                   12291: #
                   12292: #      Research Incorporated
                   12293: #      6425 Flying Cloud Drive
                   12294: #      Eden Prairie, MN 55344
                   12295: #      Vox: (612)-941-3300
                   12296: #
                   12297: # The Teleray terminals were all discontinued in 1992-93.  RI still services
                   12298: # and repairs these beasts, but no longer manufactures them.  The Teleray
                   12299: # people believe that all the types listed below are very rare now (1995).
                   12300: # There was a newer line of Telerays (Model 7, Model 20, Model 30, and
                   12301: # Model 100) that were ANSI-compatible.
                   12302: #
                   12303: # Note two things called "teleray".  Reorder should move the common one
                   12304: # to the front if you have either.  A dumb teleray with the cursor stuck
                   12305: # on the bottom and no obvious model number is probably a 3700.
                   12306: #
                   12307:
                   12308: t3700|dumb teleray 3700:\
1.8       tholo    12309:        :bs:\
1.1       deraadt  12310:        :co#80:li#24:\
                   12311:        :bl=^G:cl=^L:cr=^M:do=^J:le=^H:sf=^J:
                   12312: t3800|teleray 3800 series:\
1.8       tholo    12313:        :bs:\
1.2       deraadt  12314:        :co#80:it#8:li#24:\
1.5       tholo    12315:        :bl=^G:cd=\EJ:ce=\EK:cl=^L:cm=\EY%+ %+ :cr=^M:do=^J:ho=\EH:\
                   12316:        :le=^H:ll=\EY7 :nd=\EC:sf=^J:ta=^I:up=^K:
1.1       deraadt  12317: t1061|teleray|teleray 1061:\
1.8       tholo    12318:        :am:bs:km:xs:xt:\
1.13      millert  12319:        :co#80:it#8:li#24:sg#1:\
1.5       tholo    12320:        :al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=\014:cm=\EY%+ %+ :cr=^M:\
                   12321:        :ct=\EG:dc=\EQ:dl=\EM:do=^J:ei=:ho=\EH:ic=\EP:im=:ip=:\
1.1       deraadt  12322:        :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:\
1.5       tholo    12323:        :k1=^Z1:k2=^Z2:k3=^Z3:k4=^Z4:k5=^Z5:k6=^Z6:k7=^Z7:k8=^Z8:\
                   12324:        :le=^H:nd=\EC:se=\ER@:sf=^J:so= \ERD:st=\EF:ta=^I:ue=\ER@:\
                   12325:        :up=\EA:us=\ERH:
1.1       deraadt  12326: t1061f|teleray 1061 with fast PROMs:\
                   12327:        :al=\EL:dl=\EM:ip@:tc=t1061:
1.3       deraadt  12328: # "Teleray Arpa Special", officially designated as
1.1       deraadt  12329: # "Teleray Arpa network model 10" with "Special feature 720".
                   12330: # This is the new (1981) fast microcode updating the older "arpa" proms
1.3       deraadt  12331: # (which gave meta-key and programmable-fxn keys).  720 is much much faster,
1.1       deraadt  12332: # converts the keypad to programmable function keys, and has other goodies.
                   12333: # Standout mode is still broken (magic cookie, etc) so is suppressed as no
                   12334: # programs handle such lossage properly.
                   12335: # Note: this is NOT the old termcap's "t1061f with fast proms."
                   12336: # From: J. Lepreau <lepreau@utah-cs> Tue Feb  1 06:39:37 1983, Univ of Utah
1.2       deraadt  12337: # (t10: removed overridden ":so@:se@:us@:ue@:" -- esr)
1.1       deraadt  12338: t10|teleray 10 special:\
1.8       tholo    12339:        :bs:km:xs:xt:\
1.13      millert  12340:        :co#80:it#8:li#24:sg#2:\
1.5       tholo    12341:        :al=\EL:cd=\EJ:ce=\EK:cl=30\Ej:cm=\EY%+ %+ :dc=\EQ:dl=\EM:\
1.13      millert  12342:        :ei=:ho=\EH:ic=\EP:im=:le=^H:nd=\EC:pc=\0:se=\ER@:sf=\Eq:\
1.5       tholo    12343:        :so=\ERD:sr=\Ep:ta=^I:ue=\ER@:up=\EA:us=\ERH:
1.1       deraadt  12344: # teleray 16 - map the arrow keys for vi/rogue, shifted to up/down page, and
                   12345: # back/forth words. Put the function keys (f1-f10) where they can be
                   12346: # found, and turn off the other magic keys along the top row, except
                   12347: # for line/local. Do the magic appropriate to make the page shifts work.
                   12348: # Also toggle ^S/^Q for those of us who use Emacs.
                   12349: t16|teleray 16:\
                   12350:        :am:da:db:mi:xs:xt:\
                   12351:        :co#80:li#24:\
                   12352:        :al=\E[L:bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[H\E[2J:\
1.5       tholo    12353:        :cm=%i\E[%d;%df:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:\
                   12354:        :ho=\E[H:im=\E[4h:k1=^Z1:k2=^Z2:k3=^Z3:k4=^Z4:k5=^Z5:k6=^Z6:\
                   12355:        :k7=^Z7:k8=^Z8:k9=^Z9:k;=^Z0:le=^H:me=\E[m:nd=\E[C:se=\E[m:\
                   12356:        :sf=^J:so=\E[7m:sr=\E[T:ta=^I:te=\E[V\E[24;1f\E[?38h:\
                   12357:        :ti=\E[U\E[?38l:ue=\E[m:up=\E[A:us=\E[4m:
1.1       deraadt  12358:
                   12359: #### Texas Instruments (ti)
                   12360: #
                   12361:
1.2       deraadt  12362: # The Silent 700 was so called because it was built around a quiet thermal
                   12363: # printer.  It was portable, equipped with an acoustic coupler, and pretty
                   12364: # neat for its day.
                   12365: ti700|ti733|ti735|ti745|ti800|ti silent 700/733/735/745 or omni 800:\
1.8       tholo    12366:        :bs:hc:os:\
1.2       deraadt  12367:        :co#80:\
1.1       deraadt  12368:        :bl=^G:cr=\r:do=^J:le=^H:sf=^J:
1.2       deraadt  12369:
1.8       tholo    12370: #
                   12371: # Texas Instruments 916 VDT 7 bit control mode
                   12372: #
                   12373: ti916|ti916-220-7|Texas Instruments 916 VDT 8859/1 vt220 mode 7 bit CTRL:\
                   12374:        :da:db:in:ms:\
                   12375:        :%9=^X:@4=\E[29~:@8=^J:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
                   12376:        :DO=\E[%dB:F1=\E[29~:F2=\E[31~:IC=\E[%d@:LE=\E[%dD:\
                   12377:        :RI=\E[%dC:UP=\E[%dA:ae=\017:as=\016:bt=\E[Z:cb=\E[1K:\
                   12378:        :cd=\E[J:ce=\E[0K:ch=\E[%+^AG:cl=\E[H\E[2J:\
                   12379:        :cm=\E[%i%d;%dH:ct=\E[3g:cv=\E[%+^Ad:dc=\E[P:eA=\E(B\E)0:\
                   12380:        :ec=\E[%dX:ei=:ff=^L:im=:ip=:is=\E[1;24r\E[24;1H:k1=\E[17~:\
                   12381:        :k2=\E[18~:k3=\E[19~:k4=\E[20~:k5=\E[21~:k6=\E[23~:\
                   12382:        :k7=\E[24~:k8=\E[25~:k9=\E[26~:k;=\E[28~:kD=\E[P:kI=\E[@:\
                   12383:        :kN=\E[S:kP=\E[T:kh=\E[H:mp=\E&:r2=\E[\041p:st=\E[0W:\
                   12384:        :vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:\
                   12385:        :tc=vt220:
                   12386: #
                   12387: # Texas Instruments 916 VDT 8 bit control mode
                   12388: #
                   12389: ti916-8|ti916-220-8|Texas Instruments 916 VDT 8859/1 8 vt220 mode bit CTRL:\
                   12390:        :%9=^X:@4=\23329~:@8=^J:F1=\23329~:F2=\23331~:k1=\23317~:\
                   12391:        :k2=\23318~:k3=\23319~:k4=\23320~:k5=\23321~:k6=\23323~:\
                   12392:        :k7=\23324~:k8=\23325~:k9=\23326~:k;=\23328~:kD=\233P:\
                   12393:        :kI=\233@:kN=\233S:kP=\233T:kd=\233B:kh=\233H:kl=\233D:\
                   12394:        :kr=\233C:ku=\233A:\
                   12395:        :tc=ti916:
                   12396: #
                   12397: # Texas Instruments 916 VDT 8859/1 7 bit control 132 column mode
                   12398: #
                   12399: ti916-132|Texas Instruments 916 VDT vt220 132 column:\
                   12400:        :co#132:tc=ti916:
                   12401: #
                   12402: # Texas Instruments 916 VDT 8859/1 8 bit control 132 column mode
                   12403: #
1.13      millert  12404: ti916-8-132|Texas Instruments 916 VDT 8-bit vt220 132 column:\
1.8       tholo    12405:        :co#132:tc=ti916-8:
1.1       deraadt  12406: ti924|Texas Instruments 924 VDT 8859/1 7 bit CTRL:\
1.8       tholo    12407:        :am:bs:xo:\
1.1       deraadt  12408:        :co#80:it#8:li#24:\
                   12409:        :al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:\
1.5       tholo    12410:        :cm=%i\E[%d;%dH:cr=^M:cs=%i\E[%d;%dr:ct=\E[3g:dl=\E[M:\
                   12411:        :do=\E[B:ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[16~:\
                   12412:        :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[P:kI=\E[@:\
                   12413:        :kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:\
                   12414:        :md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:\
                   12415:        :sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:\
1.2       deraadt  12416:        :us=\E[4m:ve=\E[?25h:vi=\E[?25l:vs=\E[?31h:
1.1       deraadt  12417: ti924-8|Texas Instruments 924 VDT 8859/1 8 bit CTRL:\
                   12418:        :am:xo:\
                   12419:        :co#80:it#8:li#24:\
                   12420:        :al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:\
1.5       tholo    12421:        :cm=%i\E[%d;%dH:cr=^M:cs=%i\E[%d;%dr:ct=\E[3g:dl=\E[M:\
                   12422:        :do=\E[B:ho=\E[H:k1=P\217>:k2=Q\217>:k3=R\217>:k4=S\217>:\
                   12423:        :k5=~\23316>:k6=~\23317>:k7=~\23318>:k8=~\23319>:\
                   12424:        :k9=~\23320>:kD=P\233>:kI=@\233>:kb=^H:kd=\E[B:kl=\E[D:\
                   12425:        :kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[m:\
                   12426:        :mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:\
                   12427:        :sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[?25h:\
1.2       deraadt  12428:        :vi=\E[?25l:vs=\E[?31h:
1.1       deraadt  12429: ti924w|Texas Instruments 924 VDT 7 bit - 132 column mode:\
1.3       deraadt  12430:        :co#132:tc=ti924:
1.1       deraadt  12431: ti924-8w|Texas Instruments 924 VDT 8 bit - 132 column mode:\
1.3       deraadt  12432:        :co#132:tc=ti924-8:
1.1       deraadt  12433: ti931|Texas Instruments 931 VDT:\
1.8       tholo    12434:        :am:bs:xo:\
1.1       deraadt  12435:        :co#80:li#24:\
1.5       tholo    12436:        :al=\EN:bl=^G:cd=\EJ:ce=\EI:cl=\EL:cm=\EY%+ %+ :cr=^M:\
                   12437:        :dc=\EQ:dl=\EO:do=\EB:ei=:ho=\EH:ic=\ER\EP\EM:im=:\
                   12438:        :is=\EGB\E(@B@@\E):k1=\Ei1:k2=\Ei2:k3=\Ei3:k4=\Ei4:\
                   12439:        :k5=\Ei5:k6=\Ei6:k7=\Ei7:k8=\Ei8:k9=\Ei9:kA=\EN:kD=\EQ:\
                   12440:        :kI=\EP:kL=\EO:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=\ED:mb=\E4P:\
                   12441:        :me=\E4@:mk=\E4H:mr=\E4B:nd=\EC:se=\E4@:sf=\Ea:so=\E4A:\
                   12442:        :sr=\Eb:ue=\E4@:up=\EA:us=\E4D:ve=\E4@:
1.1       deraadt  12443: ti926|Texas Instruments 926 VDT 8859/1 7 bit CTRL:\
                   12444:        :cs@:sf=\E[1S:sr=\E[1T:tc=ti924:
1.2       deraadt  12445: # (ti926-8: I corrected this from the broken SCO entry -- esr)
1.1       deraadt  12446: ti926-8|Texas Instruments 926 VDT 8859/1 8 bit CTRL:\
1.5       tholo    12447:        :cs@:sf=\2331S:sr=\2331T:\
                   12448:        :tc=ti924-8:
1.1       deraadt  12449: ti_ansi|basic entry for ti928:\
1.3       deraadt  12450:        :am:eo:ut:xn:xo:\
                   12451:        :Co#8:co#80:it#8:li#25:pa#64:\
1.13      millert  12452:        :@7=\E[F:AB=\E[4%p1%dm:AF=\E[3%p1%dm:al=\E[L:bl=^G:\
                   12453:        :bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:\
                   12454:        :cr=^M:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
1.3       deraadt  12455:        :ic=\E[@:im=:k0=\E[V:k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:\
1.5       tholo    12456:        :k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:kN=\E[G:kP=\E[I:\
                   12457:        :kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
                   12458:        :mb=\E[5m:md=\E[1m:me=\E[m:nd=\E[C:op=\E[37;40m:se=\E[m:\
                   12459:        :sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
1.1       deraadt  12460: #
                   12461: #       928 VDT 7 bit control mode
                   12462: #
1.2       deraadt  12463: ti928|Texas Instruments 928 VDT 8859/1 7 bit CTRL:\
1.8       tholo    12464:        :%9=\E[35~:@7=\E_1\E\:@8=\E[8~:F1=\E[29~:F2=\E[31~:\
1.3       deraadt  12465:        :F3=\E[32~:F5=\E[34~:k1=\E[17~:k2=\E[18~:k3=\E[19~:\
                   12466:        :k4=\E[20~:k5=\E[21~:k6=\E[23~:k7=\E[24~:k8=\E[25~:\
1.5       tholo    12467:        :k9=\E[26~:k;=\E[28~:kD=\E[P:kI=\E[@:kN=\E[S:kP=\E[T:\
                   12468:        :tc=ti_ansi:
1.1       deraadt  12469: #
                   12470: #       928 VDT 8 bit control mode
                   12471: #
1.2       deraadt  12472: ti928-8|Texas Instruments 928 VDT 8859/1 8 bit CTRL:\
1.5       tholo    12473:        :%9=\23335~:@7=\2371\234:@8=\2338~:F1=\23329~:F2=\23331~:\
                   12474:        :F3=\23332~:F5=\23334~:k1=\23317~:k2=\23318~:k3=\23319~:\
                   12475:        :k4=\23320~:k5=\23321~:k6=\23323~:k7=\23324~:k8=\23325~:\
                   12476:        :k9=\23326~:k;=\23328~:kD=\233P:kI=\233@:kN=\233S:\
                   12477:        :kP=\233T:kh=\233H:\
                   12478:        :tc=ti_ansi:
1.1       deraadt  12479:
                   12480: #### Zentec (zen)
                   12481: #
                   12482:
1.5       tholo    12483: # (zen30: removed obsolete :ma=^L ^R^L^K^P:.  This entry originally
                   12484: # had just :so:=\EG6 which I think means standout was supposed to be
                   12485: # dim-reverse using ADM12-style attributes. ADM12 :us:/:ue: and
                   12486: # <invis> might work-- esr)
1.1       deraadt  12487: zen30|z30|zentec 30:\
1.8       tholo    12488:        :am:bs:mi:ul:\
1.1       deraadt  12489:        :co#80:li#24:\
1.5       tholo    12490:        :al=\EE:bl=^G:cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :cr=^M:\
                   12491:        :dc=\EW:dl=\ER:do=^J:ei=\Er:ho=^^:im=\Eq:le=^H:mh=\EG2:nd=^L:\
                   12492:        :sf=^J:so=\EG6:ue@:up=^K:us@:\
                   12493:        :tc=adm+sgr:
1.2       deraadt  12494: # (zen50: this had extension capabilities
1.1       deraadt  12495: #      :BS=^U:CL=^V:CR=^B:
                   12496: # UK/DK/RK/LK/HM were someone's aliases for ku/kd/kl/kr/kh,
                   12497: # which were also in the original entry -- esr)
                   12498: # (zen50: removed obsolete ":ma=^Hh^Ll^Jj^Kk:" -- esr)
                   12499: zen50|z50|zentec zephyr:\
1.8       tholo    12500:        :am:bs:\
1.1       deraadt  12501:        :co#80:li#24:sg#1:\
1.5       tholo    12502:        :al=\EE:cd=\EY:ce=\ET:cl=\E+:cm=\E=%+ %+ :dc=\EW:dl=\ER:ei=:\
                   12503:        :ic=\EQ:im=:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:mk@:ue@:up=^K:\
                   12504:        :us@:\
                   12505:        :tc=adm+sgr:
1.2       deraadt  12506:
1.8       tholo    12507: # CCI 4574 (Office Power) from Will Martin <wmartin@BRL.ARPA> via BRL
                   12508: cci|cci1|z8001|zen8001|CCI Custom Zentec 8001:\
                   12509:        :am:bs:bw:\
                   12510:        :co#80:li#24:\
                   12511:        :cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cs=\ER%+ %+ :do=^J:\
                   12512:        :ho=\EH:is=\EM \EF\ET\EP\ER 7:kb=^H:kd=\EB:kh=\EH:kl=\ED:\
                   12513:        :kr=\EC:ku=\EA:le=^H:mb=\EM":me=\EM :mh=\EM\041:mk=\EM(:\
                   12514:        :mr=\EM$:nd=\EC:pf=^T:po=^R:se=\EM :so=\EM$:sr=\EI:ue=\EM :\
                   12515:        :up=\EA:us=\EM0:ve=\EP:vs=\EF\EQ\EM \ER 7:
                   12516:
1.2       deraadt  12517: ######## OBSOLETE UNIX CONSOLES
                   12518: #
                   12519:
1.13      millert  12520: #### Altos
                   12521: #
                   12522: # Altos made a moderately successful line of UNIX boxes.  In 1990 they were
                   12523: # bought out by Acer, a major Taiwanese manufacturer of PC-clones.
                   12524: # Acer has a web site at http://www.acer.com.
                   12525: #
                   12526: # Altos descriptions from Ted Mittelstaedt <tedm@agora.rain.com> 4 Sep 1993
                   12527: # His comments suggest they were shipped with the system.
                   12528: #
                   12529:
                   12530: # (altos2: had extension capabilities
                   12531: #      :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
                   12532: #      :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
                   12533: #      :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
                   12534: #      :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
                   12535: #      :XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
                   12536: #      :YU=^AQ\r:YD=^AR\r:YR=^AS\r:YL=^AT\r:\
                   12537: #      :HL=^AP\r:SP=\E[i:\
                   12538: #      :IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
                   12539: #      :LO=\E[0q:LC=\E[5q:LL=\E[6q:\
                   12540: # Comparison with the k* capabilities makes it obvious that the c* things are
                   12541: # shift keys.  I have renamed them to keys 32 and up accordingly.  Also,
                   12542: # :sr: was given as a boolean-- esr)
                   12543: altos2|alt2|altos-2|altos II:\
                   12544:        :co#80:it#8:li#24:sg#0:\
                   12545:        :*5=^Am\r:*8=^An\r:DL=\E[M:FM=^A`\r:FN=^Aa\r:FO=^Ab\r:\
                   12546:        :FP=^Ac\r:FQ=^Ad\r:FR=^Ae\r:FS=^Af\r:FT=^Ag\r:FU=^Ah\r:\
                   12547:        :FV=^Ai\r:FW=^Aj\r:FX=^Ak\r:RA=\E[?7l:SA=\E[?7h:al=\E[L:\
                   12548:        :cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
                   12549:        :dc=\E[P:do=\E[1B:ei=:ho=\E[H:ic=\E[@:\
                   12550:        :if=/usr/share/tabset/vt100:im=:\
                   12551:        :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:k0=^AI\r:\
                   12552:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
                   12553:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=^AJ\r:kB=^AK\r:kC=^AL\r:\
                   12554:        :kD=^AM\r:kE=^AN\r:kF=^AO\r:kb=^H:kd=\E[B:kh=\E[f:kl=\E[D:\
                   12555:        :kr=\E[C:ku=\E[A:le=^H:me=\E[m:nd=\E[1C:nw=^M^J:se=\E[m:\
                   12556:        :sf=^J:so=\E[7m:ta=^I:ue=\E[m:up=\E[1A:us=\E[4m:
                   12557: # (altos3: had extension capabilities
                   12558: #      :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
                   12559: #      :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
                   12560: #      :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
                   12561: #      :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
                   12562: #      :XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
                   12563: #      :HL=^AP\r:SP=\E[i:\
                   12564: #      :IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
                   12565: altos3|altos5|alt3|alt5|altos-3|altos-5|altos III or V:\
                   12566:        :mb=\E[5p:me=\E[p:sr=\EM:\
                   12567:        :tc=altos2:
                   12568: altos4|alt4|altos-4|altos IV:\
                   12569:        :tc=wy50:
                   12570: # (altos7: had extension capabilities:
                   12571: #      :GG#0:GI=\EH8:GF=\EH7:\
                   12572: #      :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
                   12573: #      :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
                   12574: #      :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
                   12575: #      :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
                   12576: # Comparison with the k* capabilities makes it obvious that the c* things are
                   12577: # shift keys.  I have renamed them to keys 32 and up accordingly.  I have
                   12578: # also made this entry relative to adm12 in order to give it an :sa:. The
                   12579: # <invis> imported by use=adm+sgr may work, let me know. -- esr)
                   12580: altos7|alt7|altos VII:\
                   12581:        :am:mi:\
                   12582:        :co#80:li#24:sg#0:\
                   12583:        :*5=^Am\r:*8=^An\r:DL=\ER:FM=^A`\r:FN=^Aa\r:FO=^Ab\r:\
                   12584:        :FP=^Ac\r:FQ=^Ad\r:FR=^Ae\r:FS=^Af\r:FT=^Ag\r:FU=^Ah\r:\
                   12585:        :FV=^Ai\r:FW=^Aj\r:FX=^Ak\r:\
                   12586:        :ac=j5k3l2m1n8q\072t4u9v=w0x6:al=\EE:cd=\EY:ce=\ET:\
                   12587:        :cl=\E+^^:cm=\E=%+ %+ :cr=^M:dc=\EW:do=^J:ei=\Er:ho=^^:\
                   12588:        :im=\Eq:is=\E`\072\Ee(\EO\Ee6\Ec41\E~4\Ec21\Eu\E~2:\
                   12589:        :k0=^AI\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
                   12590:        :k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=^AJ\r:kB=^AK\r:\
                   12591:        :kC=^AL\r:kD=^AM\r:kE=^AN\r:kF=^AO\r:kN=\EK:kP=\EJ:kb=^H:\
                   12592:        :kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:mb=\EG2:md=\EGt:mh=\EGp:\
                   12593:        :mk=\EG1:nd=^L:nw=^M^J:pf=\EJ:po=\Ed#:sf=^J:sr=\Ej:ta=^I:\
                   12594:        :up=^K:\
                   12595:        :tc=adm+sgr:
                   12596: altos7pc|alt7pc|altos PC VII:\
                   12597:        :@7=\ET:tc=altos7:
                   12598:
1.5       tholo    12599: #### Apollo consoles
                   12600: #
                   12601: # Apollo got bought by Hewlett-Packard.  The Apollo workstations are
                   12602: # labeled HP700s now.
                   12603: #
                   12604:
                   12605: # From: Gary Darland <goodmanc@garnet.berkeley.edu>
                   12606: apollo|apollo console:\
1.8       tholo    12607:        :am:bs:mi:\
1.5       tholo    12608:        :co#88:li#53:\
                   12609:        :al=\EI:cd=\EJ:ce=\EK:ch=\EN%d:cl=^L:cm=\EM%+ %d):cv=\EO+ :\
                   12610:        :dc=\EP:dl=\EL:do=\EB:ei=\ER:im=\EQ:le=^H:nd=\EC:se=\ET:\
                   12611:        :sf=\EE:so=\ES:sr=\ED:te=\EX:ti=\EW:ue=\EV:up=\EA:us=\EU:
                   12612:
                   12613: # We don't know whether or not the apollo guys replicated DEC's firmware bug
                   12614: # in the VT132 that reversed :ei:/:im:.  To be on the safe side, disable
                   12615: # both these capabilities.
                   12616: apollo_15P|apollo 15 inch display:\
                   12617:        :ei@:im@:tc=vt132:
                   12618: apollo_19L|apollo 19 inch display:\
                   12619:        :ei@:im@:tc=vt132:
                   12620: apollo_color|apollo color display:\
                   12621:        :ei@:im@:tc=vt132:
                   12622:
1.8       tholo    12623: #### Convergent Technology
                   12624: #
                   12625: # Burroughs bought Convergent shortly before it merged with Univac.
                   12626: # CTOS is (I believe) dead.  Probably the aws is too (this entry dates
                   12627: # from 1991 or earlier).
                   12628: #
                   12629:
                   12630: # Convergent AWS workstation from Gould/SEL UTX/32 via BRL
                   12631: # (aws: removed unknown :dn=^K: -- esr)
1.13      millert  12632: aws|Convergent Technologies AWS workstation under UTX and Xenix:\
1.8       tholo    12633:        :am:\
1.13      millert  12634:        :co#80:li#28:sg#0:\
1.8       tholo    12635:        :ac=:ae=\EAAF:al=\EIL:as=\EAAN:bc=^H:cd=\EEF:ce=\EEL:\
                   12636:        :ch=\EH%.:cl=^L:cm=\EC%r%.%.:cv=\EV%.:dc=\EDC:dl=\EDL:\
                   12637:        :do=^K:ei=:ic=\EIC:im=:kb=^H:kd=^K:kl=^N:kr=^R:ku=^A:\
                   12638:        :ma=\016h\013j\001k\022l\002m:nd=^R:nl=^J:se=\EARF:\
                   12639:        :sf=\ESU:so=\EARN:sr=\ESD:ue=\EAUF:up=^A:us=\EAUN:
                   12640: awsc|Convergent Technologies AWS workstation under CTOS:\
                   12641:        :am:\
1.13      millert  12642:        :co#80:li#24:sg#0:\
1.8       tholo    12643:        :ac=:ae=\EAAF:as=\EAAN:bc=^N:cd=\EEF:ce=\EEL:cl=^L:\
                   12644:        :cm=\EC%r%.%.:do=^K:kb=^H:kd=^K:kl=^N:kr=^R:ku=^A:\
                   12645:        :ma=\016h\013j\001k\022l\002m:nd=^R:se=\EAA:so=\EAE:\
                   12646:        :ue=\EAA:up=^A:us=\EAC:
                   12647:
                   12648: #### DEC consoles
                   12649: #
                   12650:
                   12651: # The MicroVax console.  Tim Theisen <tim@cs.wisc.edu> writes:
                   12652: # The digital uVax II's had a graphic display called a qdss.  It was
                   12653: # supposed to be a high performance graphic accelerator, but it was
                   12654: # late to market and barely appeared before faster dumb frame buffers
                   12655: # appeared.  I have only used this display while running X11.  However,
                   12656: # during bootup, it was in text mode, and probably had a terminal emulator
                   12657: # within it.  And that is what your termcap entry is for.  In graphics
                   12658: # mode the screen size is 1024x864 pixels.
                   12659: qdss|qdcons|qdss glass tty:\
                   12660:        :am:bs:\
                   12661:        :co#128:li#57:\
                   12662:        :cl=1\032:cm=\E=%.%.:do=^J:le=^H:nd=^L:up=^K:
                   12663:
1.5       tholo    12664: #### Fortune Systems consoles
                   12665: #
                   12666: # Fortune made a line of 68K-based UNIX boxes that were pretty nifty
                   12667: # in their day; I (esr) used one myself for a year or so around 1984.
                   12668: # They had no graphics, though, and couldn't compete against Suns and
                   12669: # the like.  R.I.P.
                   12670: #
                   12671:
                   12672: # From: Robert Nathanson <c160-3bp@Coral> via tut   Wed Oct 5, 1983
                   12673: # (This had extension capabilities
                   12674: #      :rv=\EH:re=\EI:rg=0:GG=0:\
                   12675: #      :CO=\E\\:WL=^Aa\r:WR=^Ab\r:CL=^Ac\r:CR=^Ad\r:DL=^Ae\r:RF=^Af\r:\
                   12676: #      :RC=^Ag\r:CW=^Ah\r:NU=^Aj\r:EN=^Ak\r:HM=^Al:PL=^Am\r:\
                   12677: #      :PU=^An\r:PD=^Ao\r:PR=^Ap\r:HP=^A@\r:RT=^Aq\r:TB=\r:CN=\177:MP=\E+F:
                   12678: # It had both ":bs:" and ":bs=^H:"; I removed the latter.  Also, it had
                   12679: # ":sg=0:" and ":ug=0:"; evidently the composer was trying (unnecessarily)
                   12680: # to force both magic cookie glitches off.  Once upon a time, I
                   12681: # used a Fortune myself, so I know the capabilities of the form ^A[a-z]\r are
                   12682: # function keys; thus the "Al" value for HM was certainly an error.  I renamed
                   12683: # EN/PD/PU/CO/CF/RT according to the XENIX/TC mappings, but not HM/DL/RF/RC.
                   12684: # I think :rv: and :re: are start/end reverse video and :rg: is a nonexistent
                   12685: # "reverse-video-glitch" capability; I have put :rv: and :re: in with standard
                   12686: # names below.  I've removed obsolete ":nl=5^J:" as there is a :do: -- esr)
                   12687: fos|fortune|Fortune system:\
1.8       tholo    12688:        :am:bs:bw:\
1.5       tholo    12689:        :co#80:li#25:\
1.13      millert  12690:        :@7=^Ak\r:@8=^Aq:ac=j*k(l m"q&v%w#x-:ae=^O:al=\034E:\
1.5       tholo    12691:        :as=\Eo:bl=^G:cd=\034Y:ce=^\Z:cl=\014:cm=\034C%+ %+ :cr=^M:\
                   12692:        :dc=\034W:dl=\034R:do=\n:ei=:ho=\036:ic=\034Q:im=:is=^_..:\
                   12693:        :k1=^Aa\r:k2=^Ab\r:k3=^Ac\r:k4=^Ad\r:k5=^Ae\r:k6=^Af\r:\
                   12694:        :k7=^Ag\r:k8=^Ah\r:kN=^Ao\r:kP=^An\r:kb=^H:kd=^Ay\r:\
                   12695:        :kh=^A?\r:kl=^Aw\r:kr=^Az\r:ku=^Ax\r:le=^H:mb=\EN:me=\EI:\
                   12696:        :mr=\EH:nw=^M^J:se=^\I`:sf=^J:so=^\H`:ta=^Z:ue=^\IP:up=\013:\
1.8       tholo    12697:        :us=^\HP:ve=\E\:vi=\E]:vs=\E\072:
1.5       tholo    12698:
1.13      millert  12699: #### IBM Unix consoles
                   12700: #
                   12701:
                   12702: # The following is a version of the ibm-pc entry distributed with PC/IX,
                   12703: # (Interactive Systems' System 3 for the Big Blue), modified by Richard
                   12704: # McIntosh at UCB/CSM.  The :pt: and :uc: have been removed from the original,
                   12705: # (the former is untrue, and the latter failed under UCB/man); standout and
                   12706: # underline modes have been added.  Note: this entry describes the "native"
                   12707: # capabilities of the PC monochrome display, without ANY emulation; most
                   12708: # communications packages (but NOT PC/IX connect) do some kind of emulation.
                   12709: pcix|PC/IX console:\
                   12710:        :am:bw:eo:\
                   12711:        :co#80:li#24:\
                   12712:        :cd=\E[J:ce=\E[K:cl=\Ec:cm=\E[%i%2;%2H:do=\E[B:ho=\E[H:\
                   12713:        :le=^H:me=\E[m:nd=\E[C:se=\E[m:so=\E[7m:ue=\E[m:up=\E[A:\
                   12714:        :us=\E[4m:
                   12715:
                   12716: # (ibmpcx: this entry used to be known as ibmx.
                   12717: # It formerly included the following extension capabilities:
                   12718: #      :GC=b:GL=v:GR=t:RT=^J:\
                   12719: #      :GH=\E[196g:GV=\E[179g:\
                   12720: #      :GU=\E[193g:GD=\E[194g:\
                   12721: #      :G1=\E[191g:G2=\E[218g:G3=\E[192g:G4=\E[217g:\
                   12722: #      :CW=\E[E:NU=\E[F:RF=\E[G:RC=\E[H:\
                   12723: #      :WL=\E[K:WR=\E[L:CL=\E[M:CR=\E[N:\
                   12724: # I renamed GS/GE/WL/WR/CL/CR/PU/PD/HM/EN; also, removed a duplicate
                   12725: # ":kh=\E[Y:".  Added IBM-PC forms characters and highlights, they match
                   12726: # what was there before. -- esr)
                   12727: ibmpcx|xenix|ibmx|IBM PC xenix console display:\
                   12728:        :am:bs:ms:\
                   12729:        :co#80:li#25:\
                   12730:        :@7=\E[d:al=\E[L:cd=\E[J:ce=\E[K:cl=^L:cm=\E[%d;%dH:\
                   12731:        :dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:k1=\E[K:\
                   12732:        :k2=\E[L:k3=\E[M:k4=\E[N:kN=\E[e:kP=\E[Z:kb=^H:kd=\E[B:\
                   12733:        :kh=\E[Y:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:nd=\E[C:up=\E[A:\
                   12734:        :tc=klone+acs:tc=klone+sgr:
                   12735:
                   12736:
1.2       deraadt  12737: #### Masscomp consoles
                   12738: #
                   12739: # Masscomp has gone out of business.  Their product line was purchased by
                   12740: # comany in Georgia (US) called "XS International", parts and service may
                   12741: # still be available through them.
                   12742: #
                   12743:
                   12744: # (masscomp: ":MT:" changed to ":km:";  -- esr)
                   12745: masscomp|masscomp workstation console:\
1.8       tholo    12746:        :bs:km:mi:\
1.2       deraadt  12747:        :co#80:it#8:li#24:\
1.5       tholo    12748:        :al=\E[L:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:dc=\E[P:\
                   12749:        :dl=\E[M:do=\E[B:ei=\E[4l:im=\E[4h:is=\EGc\EGb\EGw:kb=^H:\
                   12750:        :kd=\EOB:kl=\EOD:kr=\EOC:ku=\EOA:le=^H:nd=\E[C:se=\E[m:\
                   12751:        :so=\E[7m:ta=^I:ue=\EGau:up=\E[A:us=\EGu:
1.2       deraadt  12752: masscomp1|masscomp large screen version 1:\
1.3       deraadt  12753:        :co#104:li#36:tc=masscomp:
1.2       deraadt  12754: masscomp2|masscomp large screen version 2:\
1.3       deraadt  12755:        :co#64:li#21:tc=masscomp:
                   12756:
1.13      millert  12757:
                   12758: #### Sony NEWS workstations
                   12759: #
                   12760:
                   12761: # (news-unk: this had :KB=news: -- esr)
                   12762: news-unk|SONY NEWS vt100 emulator common entry:\
                   12763:        :am:bs:pt:xn:\
                   12764:        :co#80:\
                   12765:        :AL=\E[%dL:DL=\E[%dM:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:\
                   12766:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
                   12767:        :dl=\E[M:do=^J:ho=\E[H:if=/usr/lib/tabset/vt100:\
                   12768:        :is=\E[?7h\E[?1l\E[?3l\E7\E8:k0=\EOY:k1=\EOP:k2=\EOQ:\
                   12769:        :k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:k9=\EOX:\
                   12770:        :kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
                   12771:        :ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
                   12772:        :nl=^J:rc=\E8:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[r:\
                   12773:        :sc=\E7:se=\E[m:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:\
                   12774:        :us=\E[4m:
                   12775: #
                   12776: # (news-29: this had :TY=ascii: --esr)
                   12777: news-29:\
                   12778:        :li#29:tc=news-unk:
                   12779: # (news-29-euc: this had :TY=euc: --esr)
                   12780: news-29-euc:\
                   12781:        :tc=news-29:
                   12782: # (news-29-sjis: this had :TY=sjis: --esr)
                   12783: news-29-sjis:\
                   12784:        :tc=news-29:
                   12785: #
                   12786: # (news-33: this had :TY=ascii: --esr)
                   12787: news-33:\
                   12788:        :li#33:tc=news-unk:
                   12789: # (news-33-euc: this had :TY=euc: --esr)
                   12790: news-33-euc:\
                   12791:        :tc=news-33:
                   12792: # (news-33-sjis: this had :TY=sjis: --esr)
                   12793: news-33-sjis:\
                   12794:        :tc=news-33:
                   12795: #
                   12796: # (news-42: this had :TY=ascii: --esr)
                   12797: news-42:\
                   12798:        :li#42:tc=news-unk:
                   12799: # (news-42-euc: this had :TY=euc: --esr)
                   12800: news-42-euc:\
                   12801:        :tc=news-42:
                   12802: # (news-42-sjis: this had :TY=sjis: --esr)
                   12803: news-42-sjis:\
                   12804:        :tc=news-42:
                   12805: #
                   12806: #      NEWS-OS old termcap entry
                   12807: #
                   12808: # (news-old-unk: this had :KB=news:TY=sjis: --esr)
                   12809: news-old-unk|SONY NEWS vt100 emulator common entry:\
                   12810:        :am:bs:pt:xn:\
                   12811:        :co#80:vt#3:\
                   12812:        :bl=^G:cd=\E[J:ce=\E[K:cl=\E[;H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
                   12813:        :cs=\E[%i%d;%dr:do=^J:ho=\E[H:if=/usr/lib/tabset/vt100:\
                   12814:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:\
                   12815:        :ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
                   12816:        :mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nl=^J:rc=\E8:\
                   12817:        :rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:sc=\E7:se=\E[m:\
                   12818:        :so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
                   12819: #
                   12820: # (nwp512: this had :DE=^H:, which I think means :bs: --esr)
                   12821: nwp512|news|nwp514|news40|vt100-bm|sony vt100 emulator 40 lines:\
                   12822:        :bs:\
                   12823:        :li#40:\
                   12824:        :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:
                   12825: #
                   12826: # (nwp512-a: this had :TY=ascii: and the alias vt100-bm --esr)
                   12827: nwp512-a|nwp514-a|news-a|news42|news40-a|sony vt100 emulator 42 line:\
                   12828:        :li#42:\
                   12829:        :is=\E[?7h\E[?1l\E[?3l\E7\E[1;42r\E8:tc=news-old-unk:
                   12830: #
                   12831: # (nwp-512-o: this had :KB=nwp410:DE=^H:  I interpret the latter as :bs:. --esr)
                   12832: nwp512-o|nwp514-o|news-o|news40-o|vt100-bm-o|sony vt100 emulator 40 lines:\
                   12833:        :bs:\
                   12834:        :li#40:\
                   12835:        :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:
                   12836: #
                   12837: # (nwp513: this had :DE=^H: and the alias vt100-bm --esr)
                   12838: nwp513|nwp518|nwe501|newscbm|news31|sony vt100 emulator 33 lines:\
                   12839:        :bs:\
                   12840:        :li#31:\
                   12841:        :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:
                   12842: #
                   12843: # (nwp513-a: this had :TY=ascii: and :DE=^H:, which I interpret as :bs:; --esr)
                   12844: # also the alias vt100-bm.
                   12845: nwp513-a|nwp518-a|nwe501-a|nwp251-a|newscbm-a|news31-a|newscbm33|news33|sony vt100 emulator 33 lines:\
                   12846:        :bs:\
                   12847:        :li#33:\
                   12848:        :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:
                   12849: #
                   12850: # (nwp513-o: had :DE=^H:, I think that's :bs:; also the alias vt100-bm --esr)
                   12851: nwp513-o|nwp518-o|nwe501-o|nwp251-o|newscbm-o|news31-o|sony vt100 emulator 33 lines:\
                   12852:        :bs:\
                   12853:        :li#31:\
                   12854:        :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:
                   12855: #
                   12856: # (news28: this had :DE=^H:, I think that's :bs:, and :KB=nws1200: --esr)
                   12857: news28|sony vt100 emulator 28 lines:\
                   12858:        :bs:\
                   12859:        :li#28:\
                   12860:        :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:
                   12861: #
                   12862: # (news29: this had :TY=ascii:KB=nws1200:\ --esr)
                   12863: news29|news28-a|sony vt100 emulator 29 lines:\
                   12864:        :li#29:\
                   12865:        :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:
                   12866: #
                   12867: # (news511: this had :TY=sjis: --esr)
                   12868: nwp511|nwp-511|nwp-511 vt100:\
                   12869:        :am:bs:pt:xn:\
                   12870:        :co#80:li#24:\
                   12871:        :al=\E[L:cd=30\E[J:ce=3\E[K:cl=20\E[;H\E[2J:\
                   12872:        :cm=\E[%i%d;%dH:dl=\E[M:is=\E[?5l\E[?1l\E>\E[?7h\E[?8h:\
                   12873:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:k6=\E#W:kd=\E[B:\
                   12874:        :kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:nd=\E[C:\
                   12875:        :rs=\E7\E[r\E8\E[?5l\E[?1l\E>\E[?7h\E[?8h:se=2\E[m:\
                   12876:        :so=2\E[7m:sr=5\EM:ue=2\E[m:up=2\E[A:us=2\E[4m:\
                   12877:        :vb=\E[?5h\0\0\0\0\0\0\0\0\0\0\0\0\0\E[?5l:
                   12878: # (news517: this had :TY=sjis:. --esr)
                   12879: nwp517|nwp-517|nwp-517 vt200 80 cols 30 rows:\
                   12880:        :es:hs:\
                   12881:        :co#80:li#30:\
                   12882:        :ds=\E[1$~:fs=\E[0$}:i2=\E[2$~\n:\
                   12883:        :is=\E7\E[r\E8\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
                   12884:        :ts=\E[1$}\E[;%df:\
                   12885:        :tc=vt200:
                   12886: # (news517-w: this had :TY=sjis:. --esr)
                   12887: nwp517-w|nwp-517-w|nwp-517 vt200 132 cols 50 rows:\
                   12888:        :es:hs:\
                   12889:        :co#132:li#50:\
                   12890:        :ds=\E[1$~:fs=\E[0$}:i2=\E[2$~\n:\
                   12891:        :is=\E7\E[r\E8\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h:\
                   12892:        :rs=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h:\
                   12893:        :ts=\E[1$}\E[;%df:tc=vt200:
                   12894:
                   12895: #### Obsolete virtual-terminal types.
                   12896: #
                   12897:
                   12898: # Columbus UNIX virtual terminal. This terminal also appears in
                   12899: # UNIX 4.0 and successors as line discipline 1 (?), but is
                   12900: # undocumented and does not really work quite right.
                   12901: cbunix|cb unix virtual terminal:\
                   12902:        :am:bs:da:db:\
                   12903:        :co#80:li#24:lm#0:\
                   12904:        :al=\EP:bl=^G:cd=\EL:ce=\EK:cl=\EL:cm=\EG%r%.%.:cr=^M:\
                   12905:        :dc=\EM:dl=\EN:do=^J:ei=:ic=\EO:im=:kd=\EB:kh=\EE:kl=\ED:\
                   12906:        :kr=\EC:ku=\EA:le=^H:nd=\EC:se=\Eb^D:sf=^J:so=\Ea^D:\
                   12907:        :ue=\Eb^A:up=\EA:us=\Ea^A:
                   12908: # (vremote: removed obsolete ":nl@:" -- esr)
                   12909: vremote|virtual remote terminal:\
                   12910:        :am@:\
                   12911:        :co#79:tc=cbunix:
                   12912:
                   12913: pty|4bsd pseudo teletype:\
                   12914:        :cm=\EG%+ %+ :se=\Eb$:so=\Ea$:ue=\Eb\041:us=\Ea\041:tc=cbunix:
                   12915:
1.1       deraadt  12916: ######## OTHER OBSOLETE TYPES
                   12917: #
                   12918: # These terminals are *long* dead -- these entries are retained for
                   12919: # historical interest only.
1.5       tholo    12920: #
1.1       deraadt  12921:
                   12922: #### Obsolete non-ANSI software emulations
                   12923: #
                   12924:
1.13      millert  12925: #### Avatar
                   12926: #
                   12927: # These entries attempt to describe Avatar, a terminal emulation used with
                   12928: # MS-DOS bulletin-board systems.  It was designed to give ANSI-like
                   12929: # capabilities, but with cheaper (shorter) control sequences.  Messy design,
                   12930: # excessively dependent on PC idiosyncracies, but apparently rather popular
                   12931: # in the BBS world.
                   12932: #
                   12933: # No color support.  Avatar doesn't fit either of the Tektronix or HP color
                   12934: # models that terminfo knows about.  An Avatar color attribute is the
                   12935: # low 7 bits of the IBM-PC display-memory attribute.  Bletch.
                   12936: #
                   12937: # I wrote these entries while looking at the Avatar spec.  I don't have
                   12938: # the facilities to test them.  Let me know if they work, or don't.
                   12939: #
                   12940: # Avatar escapes not used by these entries (because maybe you're smarter
                   12941: # and more motivated than I am and can figure out how to wrap terminfo
                   12942: # around some of them, and because they are weird enough to be funny):
                   12943: #                              level 0:
                   12944: # ^L           -- clear window/reset current attribute to default
                   12945: # ^V^A%p1%c    -- set current color attribute, parameter decodes as follows:
                   12946: #
                   12947: #      bit:         6   5   4   3   2   1   0
                   12948: #                   |       |   |   |       |
                   12949: #                   +---+---+   |   +---+---+
                   12950: #                       |       |       |
                   12951: #                       |       |  foreground color
                   12952: #                       |  foreground intensity
                   12953: #                  background color
                   12954: #                              level 0+:
                   12955: # ^V^J%p1%c%p2%c%p3%c%p4%c%p5%c        -- scroll (p2,p3) to (p4,p5) up by p1 lines
                   12956: # ^V^K%p1%c%p2%c%p3%c%p4%c%p5%c        -- scroll (p2,p3) to (p4,p5) down by p1 lines
                   12957: # ^V^L%p1%c%p2%c%p3%c          -- clear p2 lines and p3 cols w/attr %p1
                   12958: # ^V^M%p1%c%p2%c%p3%c%p4%c     -- fill p3 lines & p4 cols w/char p2+attr %p1
                   12959: # (^V^L and ^V^M set the current attribute as a side-effect.)
                   12960: # ^V ^Y <a> [...] <c>  -- repeat pattern. <a> specifies the number of bytes
                   12961: #                         in the pattern, <c> the number of times the pattern
                   12962: #                         should be repeated. If either value is 0, no-op.
                   12963: #                         The pattern can contain Avatar console codes,
                   12964: #                         including other ^V ^Y patterns.
                   12965: #                              level 1:
                   12966: # ^V^O         -- clockwise mode on; turn print direction right each time you
                   12967: #                 hit a window edge (yes, really).  Turned off by CR
                   12968: # ^V^P         -- no-op
                   12969: # ^V^Q%c       -- query the driver
                   12970: # ^V^R         -- driver reset
                   12971: # ^V^S         -- Sound tone (PC-specific)
                   12972: # ^V^T                 -- change highlight at current cursor poition to %c
                   12973: # ^V^U%p1%c%p2%c       -- highlight window <a> with attribute <b>
                   12974: # ^V^V%p1%c%p2%c%p3%c%p4%c%p5%c
                   12975: #                      -- define window
                   12976: #
                   12977: # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
                   12978: # (The :mb:/:md:/:mr:/:as:/:us:/:so: capabilities exist only to
                   12979: # tell ncurses that the corresponding highlights exist; it should use :sa:,
                   12980: # which is the only method that will actually work for multiple highlights.)
                   12981: avatar0|avatar terminal emulator level 0:\
                   12982:        :am:ms:ut:\
                   12983:        :co#80:it#8:li#25:\
                   12984:        :as=:ce=^V^G:cm=\026\010%.%.:cr=^M:do=^V^D:le=^V^E:\
                   12985:        :mb=^A^V\177:md=^V^A^P:me=^V^A^G:mk=^V^A\0:mr=^A^Vp:\
                   12986:        :nd=^V^F:r2=^L:rp=\031%.%d:\
                   12987:        :..sa=\026\001%{0}%?%p1%t%{112}%|%;%?%p2%t%{1}%|%;%?%p3%t%{112}%|%;%?%p4%t{128}%|%;%?%p6%t%{16}%|%;:\
                   12988:        :sf=^J:so=^A^Vp:up=^V^C:us=^V^A:\
                   12989:        :tc=klone+acs:
                   12990: # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
                   12991: avatar0+|avatar terminal emulator level 0+:\
                   12992:        :dc=^V^N:ei=\026\n\0\0\0\0:im=^V^I:tc=avatar0:
                   12993: # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
                   12994: avatar|avatar1|avatar terminal emulator level 1:\
                   12995:        :RA=^V":SA=^V$:al=^V+:dl=^V-:ei=^V^P:ve=^V'^A:vi=^V'^B:\
                   12996:        :vs=^V^C:\
                   12997:        :tc=avatar0+:
                   12998:
                   12999: #### RBcomm
                   13000: #
                   13001: # RBComm is a lean and mean terminal emulator written by the Interrupt List
                   13002: # maintainer, Ralf Brown. It was fairly popular in the late DOS years (early
                   13003: # '90s), especially in the BBS world, and still has some loyal users due to
                   13004: # its very small memory footprint and to a cute macro language.
                   13005: rbcomm|IBM PC with RBcomm and EMACS keybindings:\
                   13006:        :am:bw:mi:ms:xn:\
                   13007:        :co#80:it#8:li#25:\
                   13008:        :AL=\E[%dL:DL=\E[%dM:al=^K:bl=^G:bt=\E[Z:cd=^F5:ce=^P^P:\
                   13009:        :cl=^L:cm=\037%r%+ %+ :cr=^M:cs=\E[%i%d;%dr:dc=^W:dl=^Z:\
                   13010:        :dm=:do=^C:ec=\E[%dX:ed=:ei=^]:im=^\:\
                   13011:        :is=\017\035\E(B\E)0\E[?7h\E[?3l\E[>8g:kb=^H:kd=^N:\
                   13012:        :ke=\E>:kh=^A:kl=^B:kr=^F:ks=\E=:ku=^P:le=^H:mb=\E[5m:\
                   13013:        :md=\E[1m:me=\E[m:mk=\E[8m:mr=^R:nd=^B:nw=^M\ED:\
                   13014:        :r1=\017\E(B\E)0\025\E[?3l\E[>8g:rc=\E8:rp=\030%.%.:\
                   13015:        :sc=\E7:se=^U:sf=\ED:so=^R:sr=\EM:ta=^I:te=:ti=:ue=^U:up=^^:\
                   13016:        :us=^T:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
                   13017: rbcomm-nam|IBM PC with RBcomm without autowrap:\
                   13018:        :am@:\
                   13019:        :bl=^G:cr=^M:do=^J:\
                   13020:        :is=\017\035\E(B\E)0\E[?7l\E[?3l\E[>8g:kb=^H:kd=^J:\
                   13021:        :kl=^H:nw=^M^J:sf=^J:ta=^I:\
                   13022:        :tc=rbcomm:
                   13023: rbcomm-w|IBM PC with RBcomm in 132 column mode:\
                   13024:        :co#132:\
                   13025:        :bl=^G:cr=^M:do=^J:\
                   13026:        :is=\017\035\E(B\E)0\E[?7h\E[?3h\E[>8g:kb=^H:kd=^J:\
                   13027:        :kl=^H:nw=^M^J:sf=^J:ta=^I:\
                   13028:        :tc=rbcomm:
                   13029:
1.1       deraadt  13030: # CTRM terminal emulator
                   13031: # 1. underlining is not allowed with colors: first, is is simulated by
                   13032: # black on white, second, it disables background color manipulations.
                   13033: # 2. BLINKING, REVERSE and BOLD are allowed with colors,
                   13034: # so we have to save their status in the static registers A, B and H
                   13035: # respectively, to be able to restore them when color changes
                   13036: # (because any color change turns off ALL attributes)
1.5       tholo    13037: # 3. :md: and :mr: sequences alternate modes,
1.1       deraadt  13038: # rather then simply  entering them.  Thus we have to check the
                   13039: # static register B and H to determine the status, before sending the
                   13040: # escape sequence.
1.5       tholo    13041: # 4. :me: now must set the status of all 3 register (A,B,H) to zero
1.1       deraadt  13042: # and then reset colors
                   13043: # 5. implementation of the protect mode would badly penalize the performance.
                   13044: # we would have to use \E&bn sequence to turn off colors (as well as all
                   13045: # other attributes), and keep the status of protect mode in yet another
1.3       deraadt  13046: # static variable.  If someone really needs this mode, they would have to
1.1       deraadt  13047: # create another terminfo entry.
                   13048: # 6. original color-pair is white on black.
                   13049: # store the information about colors into static registers
                   13050: # 7. set foreground color.  it performs the following steps.
                   13051: #   1) turn off all attributes
1.3       deraadt  13052: #   2) turn on the background and video attributes that have been turned
1.1       deraadt  13053: #      on before (this information is stored in static registers X,Y,Z,A,B,H,D).
                   13054: #   3) turn on foreground attributes
                   13055: #   4) store information about foreground into U,V,W static registers
                   13056: # 8. turn on background: similar to turn on foreground above
1.3       deraadt  13057: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.1       deraadt  13058: ctrm|C terminal emulator:\
1.3       deraadt  13059:        :am:ut:xo:\
1.5       tholo    13060:        :Co#8:NC#2:Nl#0:co#80:lh#0:li#24:lm#0:lw#0:pa#63:pb#19200:vt#6:\
                   13061:        :al=\EL:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\EH\EJ:\
                   13062:        :cm=\E&a%r%dc%dY:cr=^M:ct=\E3:cv=\E&a%dY:dc=\EP:dl=\EM:\
                   13063:        :do=^J:ei=\ER:im=\EQ:ip=:is=\E&jA\r:k1=\Ep\r:k2=\Eq\r:\
                   13064:        :k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:k7=\Ev\r:k8=\Ew\r:\
                   13065:        :kb=^H:kd=\Ew\r:ke=\E&jA:kh=\Ep\r:kl=\Eu\r:kr=\Ev\r:\
                   13066:        :ks=\E&jB:ku=\Et\r:le=^H:mb=\E&dA%{1}%PA:\
                   13067:        :md=%?%gH%{0}%=%t\E&dH%{1}%PH%;:\
1.1       deraadt  13068:        :me=\E&d@%{0}%PA%{0}%PB%{0}%PH:\
                   13069:        :mr=%?%gB%{0}%=%t\E&dB%{1}%PB%;:nd=\EC:\
1.13      millert  13070:        :op=\E&bn\E&bB\E&bG\E&bR%{0}%PX%{0}%PY%{0}%PZ%{1}%PW%{1}%PV%{1}%PU:\
1.1       deraadt  13071:        :sf=^J:so=\E&dD:st=\E1:ta=\011:up=\EA:us=\E&dD:
                   13072:
                   13073: # gs6300 - can't use blue foreground, it clashes with underline;
                   13074: # it's simulated with cyan
1.5       tholo    13075: # Bug: The <op> capability probably resets attributes.
                   13076: # (gs6300: commented out <rmln> (no <smln>) --esr)
1.2       deraadt  13077: gs6300|emots|AT&T PC6300 with EMOTS terminal emulator:\
1.3       deraadt  13078:        :am:ms:ut:xo:\
                   13079:        :Co#8:co#80:it#8:li#24:pa#63:\
1.1       deraadt  13080:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.5       tholo    13081:        :LE=\E[%dD:RI=\E[%dC:Sb=\E[?;%dm:\
1.13      millert  13082:        :..Sf=\E[?%?%p1%{0}%=%t0%e%p1%{1}%=%t2%e%p1%{1}%-%d%;m:\
1.3       deraadt  13083:        :UP=\E[%dA:\
1.13      millert  13084:        :ac=++\054\054--..``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1.3       deraadt  13085:        :ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:cd=\E[J:ce=\E[K:\
1.5       tholo    13086:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:\
                   13087:        :ei=:ho=\E[H:ic=\E[@:im=:is=\E[m:k1=\E[0s:k2=\E[24s:\
                   13088:        :k3=\E[1s:k4=\E[23s:k5=\E[2s:k6=\E[22s:k7=\E[3s:k8=\E[21s:\
                   13089:        :kB=^R^I:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
                   13090:        :le=^H:mb=\E[5m:md=\E[1m:me=\E[m\E[10m:mr=\E[7m:nd=\E[C:\
                   13091:        :op=\E[?;m:pf=\E[4i:po=\E[5i:r1=\Ec:sf=^J:so=\E[1m:sr=\E[L:\
                   13092:        :ta=^I:up=\E[A:us=\E[4m:
1.1       deraadt  13093:
                   13094: # From: <earle@smeagol.UUCP> 29 Oct 85 05:40:18 GMT
                   13095: # MS-Kermit with Heath-19 emulation mode enabled
                   13096: # (h19k: changed ":pt@:" to ":it@"
                   13097: h19k|h19kermit|heathkit emulation provided by Kermit (no auto margin):\
                   13098:        :am@:da:db:xt:\
                   13099:        :it@:\
                   13100:        :ta@:tc=h19-u:
                   13101:
1.5       tholo    13102: # Apple Macintosh with Versaterm, a terminal emulator distributed by Synergy
                   13103: # Software (formerly Peripherals Computers & Supplies, Inc) of
                   13104: # 2457 Perkiomen Ave., Reading, PA 19606, 1-800-876-8376.  They can
                   13105: # also be reached at support@synergy.com.
1.2       deraadt  13106: versaterm|versaterm vt100 emulator for the macintosh:\
                   13107:        :am:xn:\
                   13108:        :co#80:it#8:li#24:\
                   13109:        :al=9\E[1L:bl=^G:cd=50\E[J:ce=3\E[K:cl=50\E[;H\E[2J:\
                   13110:        :cm=5\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:dc=7\E[1P:\
                   13111:        :dl=9\E[1M:do=^J:ei=:ho=\E[H:ic=7\E[1@:im=:\
                   13112:        :is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
1.5       tholo    13113:        :kb=^H:kd=\EOB:ke=\E>\E[?1l:kl=\EOD:kr=\EOC:ks=\E=\E[?1h:\
                   13114:        :ku=\EOA:le=^H:mb=2\E[5m:md=2\E[1m:me=2\E[m:mr=2\E[7m:\
                   13115:        :nd=2\E[C:nw=^M^J:r1=\E>:rc=\E8:\
                   13116:        :rf=/usr/share/tabset/vt100:sc=\E7:se=2\E[m:so=2\E[7m:\
1.3       deraadt  13117:        :sr=5\EM:ta=^I:ue=2\E[m:up=2\E[A:us=2\E[4m:
1.1       deraadt  13118:
                   13119: # From: Rick Thomas <ihnp4!btlunix!rbt>
1.2       deraadt  13120: # (xtalk: I added <rmam>/<smam> based on the init string.
1.1       deraadt  13121: xtalk|IBM PC with xtalk communication program (versions up to 3.4):\
                   13122:        :am:mi:ms:xo:\
1.13      millert  13123:        :co#80:it#8:li#24:sg#1:vt#3:\
1.5       tholo    13124:        :@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
                   13125:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
1.3       deraadt  13126:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
                   13127:        :ae=^O:al=\E[L:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
1.5       tholo    13128:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:dl=\E[M:do=^J:\
                   13129:        :eA=\E(B\E)0:ho=\E[H:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:\
                   13130:        :k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:\
                   13131:        :kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
                   13132:        :ku=\EOA:le=^H:me=\E[m:nd=\E[C:\
1.13      millert  13133:        :r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:se=\E[m :sf=^J:\
                   13134:        :so=\E[7m :sr=\EM:st=\EH:ta=^I:up=\E[A:
1.1       deraadt  13135:
                   13136: # The official PC terminal emulator program of the AT&T Product Centers.
                   13137: # Note - insert mode commented out - doesn't seem to work on AT&T PC.
                   13138: simterm|attpc running simterm:\
                   13139:        :am:\
                   13140:        :co#80:li#24:\
1.5       tholo    13141:        :al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\E=%+ %+ :cr=^M:\
1.8       tholo    13142:        :dc=\ER:dl=\EM:do=\EB:ho=\EH:le=^H:me=\E&d@:nd=\EC:se=\E&d@:\
                   13143:        :sf=^J:so=\E&dB:te=\EVE:ti=\EVS:up=\EA:
1.1       deraadt  13144:
                   13145: #### Miscellaneous obsolete terminals, manufacturers unknown
                   13146: #
                   13147: # If you have any information about these (like, a manufacturer's name,
                   13148: # and a date on the serial-number plate) please send it!
                   13149:
                   13150: cad68-3|cgc3|cad68 basic monitor transparent mode size 3 chars:\
1.8       tholo    13151:        :am:bs:\
1.1       deraadt  13152:        :co#73:li#36:\
1.2       deraadt  13153:        :cl=^Z:ho=^^:le=^H:nd=^L:up=^K:
1.1       deraadt  13154: cad68-2|cgc2|cad68 basic monitor transparent mode size 2 chars:\
1.8       tholo    13155:        :am:bs:\
1.1       deraadt  13156:        :co#85:li#39:\
1.5       tholo    13157:        :cl=^Z:ho=^^:k1=\E5:k2=\E6:k3=\E7:k4=\E8:kd=\E2:kl=\E3:\
                   13158:        :kr=\E4:ku=\E1:le=^H:nd=^L:se=\Em^C:so=\Em^L:up=^K:
1.2       deraadt  13159: cops10|cops|cops-10|cops 10:\
1.1       deraadt  13160:        :am:bw:\
                   13161:        :co#80:li#24:\
1.5       tholo    13162:        :bl=^G:cd=^W:ce=^V:cl=30\030:cm=\020%+ %+ :cr=^M:do=^J:\
                   13163:        :kb=^H:kd=^J:kh=^Y:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:sf=^J:up=^K:
1.8       tholo    13164: # (d132: removed duplicate :ic=\E5:,
                   13165: # merged in capabilities from a BRL entry -- esr)
1.1       deraadt  13166: d132|datagraphix|datagraphix 132a:\
                   13167:        :da:db:in:\
                   13168:        :co#80:li#30:\
1.8       tholo    13169:        :al=\E3:bl=^G:cl=^L:cm=\E8%i%3%3:cr=^M:dc=\E6:do=^J:ei=:\
                   13170:        :ho=\ET:ic=\E5:im=:kb=^H:kd=^J:kl=^H:le=^H:nd=\EL:nw=^M^J:\
                   13171:        :sf=^J:sr=\Ew:ta=^I:up=\EK:ve=\Em\En:vs=\Ex:
1.1       deraadt  13172: # The d800 was an early portable terminal from c.1984-85 that looked a lot
                   13173: # like the original Compaq `lunchbox' portable (but no handle).  It had a vt220
                   13174: # mode (which is what this entry looks like) and several other lesser-known
                   13175: # emulations.
                   13176: d800|Direct 800/A:\
1.8       tholo    13177:        :am:bs:da:db:ms:xs:\
1.2       deraadt  13178:        :co#80:it#8:li#24:\
1.5       tholo    13179:        :ac=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~:\
                   13180:        :ae=\E[m:as=\E[1m:bl=^G:cd=\E[J:ce=\E[K:cl=\E[1;1H\E[2J:\
                   13181:        :cm=\E[%i%d;%dH:cr=^M:do=^J:k1=\EOP:k2=\EOQ:k3=\EOR:\
                   13182:        :k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:kd=\E[B:kl=\E[D:\
                   13183:        :kr=\E[C:ku=\E[A:le=^H:me=\E[m:nd=\E[C:se=\E[m:sf=\ED:\
                   13184:        :so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[>12h:\
                   13185:        :vs=\E[>12l:
1.1       deraadt  13186: digilog|digilog 333:\
1.8       tholo    13187:        :bs:\
1.1       deraadt  13188:        :co#80:li#16:\
1.5       tholo    13189:        :bl=^G:ce=^X:cr=^M:do=^J:ho=^N:le=^H:nd=^I:sf=^J:up=^O:
                   13190: # The DWK was a terminal manufactured in the Soviet Union c.1986
                   13191: dwk|dwk-vt|dwk terminal:\
                   13192:        :am:\
                   13193:        :co#80:it#8:li#24:\
1.13      millert  13194:        :ac=+\136\054Q-S.M0\177`+a\072f'g#h#i#jXkClJmFnNo~qUs_tEuPv\wKxW~_:\
1.5       tholo    13195:        :ae=\EG:as=\EF:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :\
                   13196:        :cr=^M:dc=\EP:do=^J:ei=:ho=\EH:ic=\EQ:im=:k1=\Ef1:k2=\Ef2:\
                   13197:        :k3=\Ef3:k4=\Ef4:k5=\Ef5:k6=\Ef6:k7=\Ef7:k8=\Ef8:k9=\Ef9:\
                   13198:        :k;=\Ef0:kD=\Ee:kI=\Ed:kN=\Eh:kP=\Eg:kb=\177:kd=\EB:kl=\ED:\
                   13199:        :kr=\EC:ku=\EA:le=^H:me=\EX:mr=\ET:nd=\EC:nw=^M^J:se=\EX:\
                   13200:        :sf=^J:so=\ET:sr=\ES:ta=^I:up=\EA:
1.1       deraadt  13201: env230|envision230|envision 230 graphics terminal:\
1.2       deraadt  13202:        :xn@:\
1.3       deraadt  13203:        :pf=\E[4i:po=\E[5i:ps=\E[0i:\
1.2       deraadt  13204:        :..sa=\E[%?%p1%t;1%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m:tc=vt100:
1.1       deraadt  13205: # These execuports were impact-printer ttys with a 30- or maybe 15-cps acoustic
                   13206: # coupler attached, the whole rig fitting in a suitcase and more or less
                   13207: # portable.  Hot stuff for c.1977 :-) -- esr
                   13208: ep48|ep4080|execuport 4080:\
1.8       tholo    13209:        :am:bs:os:\
1.1       deraadt  13210:        :co#80:\
                   13211:        :bl=^G:cr=^M:do=^J:hd=^\:hu=^^:le=^H:sf=^J:
                   13212: ep40|ep4000|execuport 4000:\
1.3       deraadt  13213:        :co#136:tc=ep4080:
1.1       deraadt  13214: # Adam Thompson <thompson@xanth.magic.mb.ca> tells us:
                   13215: # Informer series - these are all portable units, resembling older
                   13216: # automatic bread-baking machines.  The terminal looks like a `clamshell'
                   13217: # design, but isn't.  The structure is similar to the Direct terminals,
                   13218: # but only half the width.  The entire unit is only about 10" wide.
                   13219: # It features an 8" screen (6" or 7" if you have color!), and an 9"x6"
                   13220: # keyboard.  All the keys are crammed together, much like some laptop
                   13221: # PCs today, but perhaps less well organized...all these units have a
                   13222: # bewildering array of plugs on the back, including a built-in modem.
                   13223: # The 305 was a color version of the 304; the 306 and 307 were mono and
                   13224: # color terminals built for IBM bisync protocols.
                   13225: # From: Paul Leondis <unllab@amber.berkeley.edu>
                   13226: ifmr|Informer D304:\
1.8       tholo    13227:        :am:bs:\
1.1       deraadt  13228:        :co#80:li#24:\
1.8       tholo    13229:        :cd=\E/:ce=\EQ:cl=\EZ:cm=\EY%r%+ %+ :dc=\E\:do=^J:ei=:\
1.5       tholo    13230:        :ho=\EH:ic=\E[:im=:le=^H:me=\EK:nd=\EC:se=\EK:so=\EJ:sr=\En:\
                   13231:        :up=\EA:
1.1       deraadt  13232: # Entry largely based on wy60 and has the features of wy60ak.
1.3       deraadt  13233: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   13234: # (sgr removed to fit entry within 1023 bytes)
                   13235: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.2       deraadt  13236: opus3n1+|Esprit Opus3n1+ in wy60 mode with ANSI arrow keys:\
1.1       deraadt  13237:        :am:bw:hs:km:mi:ms:ul:xo:\
                   13238:        :co#80:li#24:ws#80:\
1.5       tholo    13239:        :ae=\EH^C:al=\EE:as=\EH^B:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E*:\
                   13240:        :cm=\Ea%i%dR%dC:cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\Ez(\r:\
                   13241:        :ei=\Er:fs=^M:ho=\036:if=/usr/share/tabset/std:im=\Eq:ip=:\
1.2       deraadt  13242:        :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:\
1.5       tholo    13243:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
                   13244:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\EQ:kN=\EK:kP=\EJ:\
                   13245:        :kb=^H:kd=\E[B:kh=^^:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\EG2:\
                   13246:        :me=\E(\EH\003\EG0\EcD:mh=\EGp:nd=^L:nw=\r\n:sf=^J:sr=\Ej:\
1.8       tholo    13247:        :st=\E1:ta=\011:te=:\
1.2       deraadt  13248:        :ti=\Ezz&\E[A\177\Ezz'\E[B\177\Ezz(\E[D\177\Ezz)\E[C\177\Ezz<\E[Q\177:\
1.5       tholo    13249:        :ts=\Ez(:uc=\EG8%p1%c\EG0:up=^K:ve=\E`1:vi=\E`0:\
                   13250:        :tc=adm+sgr:
1.2       deraadt  13251: teletec|Teletec Datascreen:\
1.8       tholo    13252:        :am:bs:\
1.1       deraadt  13253:        :co#80:li#24:\
1.5       tholo    13254:        :bl=^G:cl=^L:cr=^M:do=^J:ho=^^:le=^H:nd=^_:sf=^J:up=^K:
1.1       deraadt  13255: # From: Mark Dornfeld <romwa@ucbvax.berkeley.edu>
1.13      millert  13256: # This description is for the LANPAR Technologies VISION 3220
                   13257: # terminal from 1984/85.  The function key definitions k0-k5 represent the
                   13258: # edit keypad: FIND, INSERT HERE, REMOVE, SELECT, PREV SCREEN,
                   13259: # NEXT SCREEN. The key definitions k6-k9 represent the PF1 to PF4 keys.
1.2       deraadt  13260: # (v3220: removed obsolete ":kn#10:",
                   13261: # I added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  13262: v3220|LANPAR Vision II model 3220/3221/3222:\
1.8       tholo    13263:        :am:bs:mi:xn:\
1.2       deraadt  13264:        :co#80:it#8:li#24:\
1.5       tholo    13265:        :RA=\E[?7l:SA=\E[?7h:al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
                   13266:        :cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:ei=\E[4l:im=\E[4h:\
                   13267:        :is=\E>\E[?3l\E[?7h\E[?8h\E[p:k0=\E[1~:k1=\E[2~:\
                   13268:        :k2=\E[3~:k3=\E[4~:k4=\E[5~:k5=\E[6~:k6=\E[OP:k7=\E[OQ:\
                   13269:        :k8=\E[OR:k9=\E[OS:kd=\E[B:ke=\E>:kh=\E[H:kl=\E[D:kr=\E[C:\
                   13270:        :ks=\E=:ku=\E[A:le=^H:me=\E[m:nd=\E[C:se=\E[m:so=\E[7m:\
                   13271:        :sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
1.1       deraadt  13272: ######## ICH/ICH1 VERSUS RMIR/SMIR
                   13273: #
                   13274: # Some non-curses applications get confused if both ich/ich1 and rmir/smir
                   13275: # are present; the symptom is doubled characters in an update using insert.
                   13276: # These applications are technically correct; in both 4.3BSD termcap and
                   13277: # terminfo, you're not actually supposed to specify both ich/ich1 and rmir/smir
1.13      millert  13278: # unless the terminal needs both.  To my knowledge, no terminal still in this
                   13279: # file requires both other than the very obsolete dm2500.
1.1       deraadt  13280: #
                   13281: # For ncurses-based applications this is not a problem, as ncurses uses
                   13282: # one or the other as appropriate but never mixes the two.  Therefore we
                   13283: # have not corrected entries like `linux' and `xterm' that specify both.
                   13284: # If you see doubled characters from these, use the linux-nic and xterm-nic
1.2       deraadt  13285: # entries that suppress ich/ich1.  And upgrade to ncurses!
                   13286: #
                   13287:
1.3       deraadt  13288: ######## VT100/ANSI/ISO 6429/ECMA-48/PC-TERM TERMINAL STANDARDS
1.2       deraadt  13289: #
                   13290: # ANSI X3.64 has been withdrawn and replaced by ECMA-48.  The ISO 6429 and
                   13291: # ECMA-48 standards are said to be almost identical, but are not the same
1.3       deraadt  13292: # as X3.64 (though for practical purposes they are close supersets of it).
1.2       deraadt  13293: #
                   13294: # You can obtain ECMA-48 for free by sending email to helpdesk@ecma.ch
                   13295: # requesting the standard(s) you want (i.e. ECMA-48, "Control Functions for
                   13296: # Coded Character Sets"), include your snail-mail address, and you should
                   13297: # receive the document in due course.  Don't expect an email acknowledgement.
                   13298: #
                   13299: # Related standards include "X3.4-1977: American National Standard Code for
                   13300: # Information Interchange" (the ASCII standard) and "X3.41.1974:
                   13301: # Code-Extension Techniques for Use with the 7-Bit Coded Character Set of
1.3       deraadt  13302: # American National Standard for Information Interchange."  I believe (but
                   13303: # am not certain) that these are effectively identical to ECMA-6 and ECMA-35
                   13304: # respectively.
1.1       deraadt  13305: #
1.2       deraadt  13306:
1.3       deraadt  13307: #### VT100/ANSI/ECMA-48
1.1       deraadt  13308: #
                   13309: # ANSI Standard (X3.64) Control Sequences for Video Terminals and Peripherals
1.3       deraadt  13310: # and ECMA-48 Control Functions for Coded Character Sets.
1.1       deraadt  13311: #
1.5       tholo    13312: # Much of the content of this comment is adapted from a table prepared by
1.3       deraadt  13313: # Richard Shuford, based on a 1984 Byte article.  Terminfo correspondences,
                   13314: # discussion of some terminfo-related issues, and updates to capture ECMA-48
                   13315: # have been added.  Control functions described in ECMA-48 only are tagged
                   13316: # with * after their names.
                   13317: #
                   13318: # The table is a complete list of the defined ANSI X3.64/ECMA-48 control
                   13319: # sequences.  In the main table, \E stands for an escape (\033) character,
                   13320: # SPC for space.  Pn stands for a single numeric parameter to be inserted
                   13321: # in decimal ASCII.  Ps stands for a list of such parameters separated by
                   13322: # semicolons.  Parameter meanings for most parametrized sequences are
                   13323: # decribed in the notes.
                   13324: #
1.1       deraadt  13325: # Sequence     Sequence                             Parameter   or
                   13326: # Mnemonic     Name              Sequence           Value      Mode   terminfo
                   13327: # -----------------------------------------------------------------------------
1.3       deraadt  13328: # APC  Applicatn Program Command \E _                -         Delim  -
                   13329: # BEL  Bell *                    ^G                  -         -      bel
                   13330: # BPH  Break Permitted Here *    \E B                -         *      -
                   13331: # BS   Backpace *                ^H                  -         EF     -
                   13332: # CAN  Cancel *                  ^X                  -         -      -   (A)
1.1       deraadt  13333: # CBT  Cursor Backward Tab       \E [ Pn Z           1         eF     cbt
                   13334: # CCH  Cancel Previous Character \E T                -         -      -
1.3       deraadt  13335: # CHA  Cursor Horizntal Absolute \E [ Pn G           1         eF     hpa (B)
                   13336: # CHT  Cursor Horizontal Tab     \E [ Pn I           1         eF     tab (C)
                   13337: # CMD  Coding Method Delimiter * \E
                   13338: # CNL  Cursor Next Line          \E [ Pn E           1         eF     nel (D)
1.1       deraadt  13339: # CPL  Cursor Preceding Line     \E [ Pn F           1         eF     -
1.3       deraadt  13340: # CPR  Cursor Position Report    \E [ Pn ; Pn R      1, 1      -      -   (E)
1.1       deraadt  13341: # CSI  Control Sequence Intro    \E [                -         Intro  -
1.3       deraadt  13342: # CTC  Cursor Tabulation Control \E [ Ps W           0         eF     -   (F)
1.1       deraadt  13343: # CUB  Cursor Backward           \E [ Pn D           1         eF     cub
                   13344: # CUD  Cursor Down               \E [ Pn B           1         eF     cud
                   13345: # CUF  Cursor Forward            \E [ Pn C           1         eF     cuf
1.3       deraadt  13346: # CUP  Cursor Position           \E [ Pn ; Pn H      1, 1      eF     cup (G)
1.1       deraadt  13347: # CUU  Cursor Up                 \E [ Pn A           1         eF     cuu
1.3       deraadt  13348: # CVT  Cursor Vertical Tab       \E [ Pn Y           -         eF     -   (H)
1.1       deraadt  13349: # DA   Device Attributes         \E [ Pn c           0         -      -
                   13350: # DAQ  Define Area Qualification \E [ Ps o           0         -      -
                   13351: # DCH  Delete Character          \E [ Pn P           1         eF     dch
                   13352: # DCS  Device Control String     \E P                -         Delim  -
                   13353: # DL   Delete Line               \E [ Pn M           1         eF     dl
1.3       deraadt  13354: # DLE  Data Link Escape *        ^P                  -         -      -
1.1       deraadt  13355: # DMI  Disable Manual Input      \E \                -         Fs     -
1.3       deraadt  13356: # DSR  Device Status Report      \E [ Ps n           0         -      -   (I)
                   13357: # DTA  Dimension Text Area *     \E [ Pn ; Pn SPC T  -         PC     -
                   13358: # EA   Erase in Area             \E [ Ps O           0         eF     -   (J)
1.1       deraadt  13359: # ECH  Erase Character           \E [ Pn X           1         eF     ech
1.3       deraadt  13360: # ED   Erase in Display          \E [ Ps J           0         eF     ed  (J)
1.1       deraadt  13361: # EF   Erase in Field            \E [ Ps N           0         eF     -
1.3       deraadt  13362: # EL   Erase in Line             \E [ Ps K           0         eF     el  (J)
1.8       tholo    13363: # EM   End of Medium *           ^Y                  -         -      -
1.1       deraadt  13364: # EMI  Enable Manual Input       \E b                          Fs     -
1.3       deraadt  13365: # ENQ  Enquire                   ^E                  -         -      -
1.5       tholo    13366: # EOT  End Of Transmission       ^D                  -         *      -
1.3       deraadt  13367: # EPA  End of Protected Area     \E W                -         -      -   (K)
1.1       deraadt  13368: # ESA  End of Selected Area      \E G                -         -      -
1.3       deraadt  13369: # ESC  Escape                    ^[                  -         -      -
                   13370: # ETB  End Transmission Block    ^W                  -         -      -
                   13371: # ETX  End of Text               ^C                  -         -      -
                   13372: # FF   Form Feed                 ^L                  -         -      -
                   13373: # FNK  Function Key *            \E [ Pn SPC W       -         -      -
                   13374: # GCC  Graphic Char Combination* \E [ Pn ; Pn SPC B  -         -      -
1.1       deraadt  13375: # FNT  Font Selection            \E [ Pn ; Pn SPC D  0, 0      FE     -
1.3       deraadt  13376: # GSM  Graphic Size Modify       \E [ Pn ; Pn SPC B  100, 100  FE     -   (L)
1.1       deraadt  13377: # GSS  Graphic Size Selection    \E [ Pn SPC C       none      FE     -
1.3       deraadt  13378: # HPA  Horz Position Absolute    \E [ Pn `           1         FE     -   (B)
                   13379: # HPB  Char Position Backward    \E [ j              1         FE     -
                   13380: # HPR  Horz Position Relative    \E [ Pn a           1         FE     -   (M)
                   13381: # HT   Horizontal Tab *          ^I                  -         FE     -   (N)
                   13382: # HTJ  Horz Tab w/Justification  \E I                -         FE     -
1.1       deraadt  13383: # HTS  Horizontal Tab Set        \E H                -         FE     hts
1.3       deraadt  13384: # HVP  Horz & Vertical Position  \E [ Pn ; Pn f      1, 1      FE     -   (G)
1.1       deraadt  13385: # ICH  Insert Character          \E [ Pn @           1         eF     ich
1.3       deraadt  13386: # IDCS ID Device Control String  \E [ SPC O          -         *      -
                   13387: # IGS  ID Graphic Subrepertoire  \E [ SPC M          -         *      -
1.1       deraadt  13388: # IL   Insert Line               \E [ Pn L           1         eF     il
                   13389: # IND  Index                     \E D                -         FE     -
                   13390: # INT  Interrupt                 \E a                -         Fs     -
                   13391: # JFY  Justify                   \E [ Ps SPC F       0         FE     -
1.3       deraadt  13392: # IS1  Info Separator #1 *       ^_                  -         *      -
                   13393: # IS2  Info Separator #1 *       ^^                  -         *      -
                   13394: # IS3  Info Separator #1 *       ^]                  -         *      -
                   13395: # IS4  Info Separator #1 *       ^\                  -         *      -
                   13396: # LF   Line Feed                 ^J                  -         -      -
                   13397: # LS1R Locking Shift Right 1 *   \E ~                -         -      -
                   13398: # LS2  Locking Shift 2 *         \E n                -         -      -
                   13399: # LS2R Locking Shift Right 2 *   \E }                -         -      -
                   13400: # LS3  Locking Shift 3 *         \E o                -         -      -
                   13401: # LS3R Locking Shift Right 3 *   \E |                -         -      -
                   13402: # MC   Media Copy                \E [ Ps i           0         -      -   (S)
1.1       deraadt  13403: # MW   Message Waiting           \E U                -         -      -
1.5       tholo    13404: # NAK  Negative Acknowledge *    ^U                  -         *      -
1.3       deraadt  13405: # NBH  No Break Here *           \E C                -         -      -
                   13406: # NEL  Next Line                 \E E                -         FE     nel (D)
1.1       deraadt  13407: # NP   Next Page                 \E [ Pn U           1         eF     -
1.3       deraadt  13408: # NUL  Null *                    ^@                  -         -      -
1.1       deraadt  13409: # OSC  Operating System Command  \E ]                -         Delim  -
1.5       tholo    13410: # PEC  Pres. Expand/Contract *   \E Pn SPC Z         0         -      -
                   13411: # PFS  Page Format Selection *   \E Pn SPC J         0         -      -
                   13412: # PLD  Partial Line Down         \E K                -         FE     -   (T)
                   13413: # PLU  Partial Line Up           \E L                -         FE     -   (U)
1.1       deraadt  13414: # PM   Privacy Message           \E ^                -         Delim  -
                   13415: # PP   Preceding Page            \E [ Pn V           1         eF     -
1.5       tholo    13416: # PPA  Page Position Absolute *  \E [ Pn SPC P       1         FE     -
                   13417: # PPB  Page Position Backward *  \E [ Pn SPC R       1         FE     -
                   13418: # PPR  Page Position Forward *   \E [ Pn SPC Q       1         FE     -
                   13419: # PTX  Parallel Texts *          \E [ \              -         -      -
1.1       deraadt  13420: # PU1  Private Use 1             \E Q                -         -      -
                   13421: # PU2  Private Use 2             \E R                -         -      -
                   13422: # QUAD Typographic Quadding      \E [ Ps SPC H       0         FE     -
                   13423: # REP  Repeat Char or Control    \E [ Pn b           1         -      rep
1.5       tholo    13424: # RI   Reverse Index             \E M                -         FE     -   (V)
1.1       deraadt  13425: # RIS  Reset to Initial State    \E c                -         Fs     -
1.5       tholo    13426: # RM   Reset Mode *              \E [ Ps l           -         -      -   (W)
                   13427: # SACS Set Add. Char. Sep. *     \E [ Pn SPC /       0         -      -
                   13428: # SAPV Sel. Alt. Present. Var. * \E [ Ps SPC ]       0         -      -   (X)
                   13429: # SCI  Single-Char Introducer    \E Z                -         -      -
                   13430: # SCO  Sel. Char. Orientation *  \E [ Pn ; Pn SPC k  -         -      -
                   13431: # SCS  Set Char. Spacing *       \E [ Pn SPC g       -         -      -
1.1       deraadt  13432: # SD   Scroll Down               \E [ Pn T           1         eF     rin
1.5       tholo    13433: # SDS  Start Directed String *   \E [ Pn ]           1         -      -
                   13434: # SEE  Select Editing Extent     \E [ Ps Q           0         -      -   (Y)
                   13435: # SEF  Sheet Eject & Feed *      \E [ Ps ; Ps SPC Y  0,0       -      -
1.3       deraadt  13436: # SGR  Select Graphic Rendition  \E [ Ps m           0         FE     sgr (O)
1.5       tholo    13437: # SHS  Select Char. Spacing *    \E [ Ps SPC K       0         -      -
1.3       deraadt  13438: # SI   Shift In                  ^O                  -         -      -   (P)
1.5       tholo    13439: # SIMD Sel. Imp. Move Direct. *  \E [ Ps ^           -         -      -
1.1       deraadt  13440: # SL   Scroll Left               \E [ Pn SPC @       1         eF     -
1.5       tholo    13441: # SLH  Set Line Home *           \E [ Pn SPC U       -         -      -
                   13442: # SLL  Set Line Limit *          \E [ Pn SPC V       -         -      -
                   13443: # SLS  Set Line Spacing *        \E [ Pn SPC h       -         -      -
                   13444: # SM   Select Mode               \E [ Ps h           none      -      -   (W)
1.3       deraadt  13445: # SO   Shift Out                 ^N                  -         -      -   (Q)
1.5       tholo    13446: # SOH  Start Of Heading *        ^A                  -         -      -
                   13447: # SOS  Start of String *         \E X                -         -      -
                   13448: # SPA  Start of Protected Area   \E V                -         -      -   (Z)
                   13449: # SPD  Select Pres. Direction *  \E [ Ps ; Ps SPC S  0,0       -      -
                   13450: # SPH  Set Page Home *           \E [ Ps SPC G       -         -      -
1.1       deraadt  13451: # SPI  Spacing Increment         \E [ Pn ; Pn SPC G  none      FE     -
1.5       tholo    13452: # SPL  Set Page Limit *          \E [ Ps SPC j       -         -      -
                   13453: # SPQR Set Pr. Qual. & Rapid. *  \E [ Ps SPC X       0         -      -
1.1       deraadt  13454: # SR   Scroll Right              \E [ Pn SPC A       1         eF     -
1.5       tholo    13455: # SRCS Set Reduced Char. Sep. *  \E [ Pn SPC f       0         -      -
                   13456: # SRS  Start Reversed String *   \E [ Ps [           0         -      -
                   13457: # SSA  Start of Selected Area    \E F                -         -      -
                   13458: # SSU  Select Size Unit *        \E [ Pn SPC I       0         -      -
                   13459: # SSW  Set Space Width *         \E [ Pn SPC [       none      -      -
1.1       deraadt  13460: # SS2  Single Shift 2 (G2 set)   \E N                -         Intro  -
                   13461: # SS3  Single Shift 3 (G3 set)   \E O                -         Intro  -
                   13462: # ST   String Terminator         \E \                -         Delim  -
1.5       tholo    13463: # STAB Selective Tabulation *    \E [ Pn SPC ^       -         -      -
1.1       deraadt  13464: # STS  Set Transmit State        \E S                -         -      -
1.5       tholo    13465: # STX  Start pf Text *           ^B                  -         -      -
1.1       deraadt  13466: # SU   Scroll Up                 \E [ Pn S           1         eF     indn
1.5       tholo    13467: # SUB  Substitute *              ^Z                  -         -      -
                   13468: # SVS  Select Line Spacing *     \E [ Pn SPC \       1         -      -
                   13469: # SYN  Synchronous Idle *        ^F                  -         -      -
                   13470: # TAC  Tabul. Aligned Centered * \E [ Pn SPC b       -         -      -
                   13471: # TALE Tabul. Al. Leading Edge * \E [ Pn SPC a       -         -      -
                   13472: # TATE Tabul. Al. Trailing Edge* \E [ Pn SPC `       -         -      -
1.1       deraadt  13473: # TBC  Tab Clear                 \E [ Ps g           0         FE     tbc
1.5       tholo    13474: # TCC  Tabul. Centered on Char * \E [ Pn SPC c       -         -      -
                   13475: # TSR  Tabulation Stop Remove  * \E [ Pn SPC d       -         FE     -
1.1       deraadt  13476: # TSS  Thin Space Specification  \E [ Pn SC E        none      FE     -
1.5       tholo    13477: # VPA  Vert. Position Absolute   \E [ Pn d           1         FE     vpa
                   13478: # VPB  Line Position Backward *  \E [ Pn k           1         FE     -
                   13479: # VPR  Vert. Position Relative   \E [ Pn e           1         FE     -   (R)
                   13480: # VT   Vertical Tabulation *     ^K                  -         FE     -
1.1       deraadt  13481: # VTS  Vertical Tabulation Set   \E J                -         FE     -
                   13482: #
                   13483: # ---------------------------------------------------------------------------
                   13484: #
                   13485: # Notes:
                   13486: #
1.3       deraadt  13487: # Some control characters are listed in the ECMA-48 standard without
                   13488: # being assigned functions relevant to terminal control there (they
                   13489: # referred to other standards such as ISO 1745 or ECMA-35).  They are listed
                   13490: # here anyway for completeness.
                   13491: #
1.5       tholo    13492: # (A) ECMA-48 calls this "CancelCharacter" but retains the CCH abbreviation.
1.3       deraadt  13493: #
                   13494: # (B) There seems to be some confusion abroad between CHA and HPA.  Most
1.1       deraadt  13495: # `ANSI' terminals accept the CHA sequence, not the HPA. but terminfo calls
1.3       deraadt  13496: # the capability (hpa).  ECMA-48 calls this "Cursor Character Absolute" but
1.5       tholo    13497: # preserved the CHA abbreviation.
1.1       deraadt  13498: #
1.3       deraadt  13499: # (C) CHT corresponds to terminfo (tab).  Usually it has the value ^I.
1.1       deraadt  13500: # Occasionally (as on, for example, certain HP terminals) this has the HTJ
1.3       deraadt  13501: # value.  ECMA-48 calls this "Cursor Forward Tabulation" but preserved the
1.5       tholo    13502: # CHT abbreviation.
1.1       deraadt  13503: #
1.3       deraadt  13504: # (D) terminfo (nel) is usually \r\n rather than ANSI \EE.
1.1       deraadt  13505: #
1.8       tholo    13506: # (E) ECMA-48 calls this "Active Position Report" but preserves the CPR
1.5       tholo    13507: # abbreviation.
1.3       deraadt  13508: #
                   13509: # (F) CTC parameter values: 0 = set char tab, 1 = set line tab, 2 = clear
                   13510: # char tab, 3 = clear line tab, 4 = clear all char tabs on current line,
                   13511: # 5 = clear all char tabs, 6 = clear all line tabs.
                   13512: #
                   13513: # (G) CUP and HVP are identical in effect.  Some ANSI.SYS versions accept
                   13514: # HVP, but always allow CUP as an alternate.  ECMA-48 calls HVP "Character
1.5       tholo    13515: # Position Absolute" but retains the HVP abbreviation.
1.3       deraadt  13516: #
1.5       tholo    13517: # (H) ECMA calls this "Cursor Line Tabulation" but preserves the CVT
                   13518: # abbreviation.
1.1       deraadt  13519: #
1.3       deraadt  13520: # (I) DSR parameter values: 0 = ready, 1 = busy, 2 = busy, will send DSR
                   13521: # later, 3 = malfunction, 4 = malfunction, will send DSR later, 5 = request
                   13522: # DSR, 6 = request CPR response.
                   13523: #
                   13524: # (J) ECMA calls ED "Erase In Page". EA/ED/EL parameters: 0 = clear to end,
                   13525: # 1 = clear from beginning, 2 = clear.
1.1       deraadt  13526: #
1.5       tholo    13527: # (K) ECMA calls this "End of Guarded Area" but preserves the EPA abbreviation.
1.3       deraadt  13528: #
                   13529: # (L) The GSM parameters are vertical and horizontal parameters to scale by.
                   13530: #
                   13531: # (M) Some ANSI.SYS versions accept HPR, but more commonly `ANSI' terminals
                   13532: # use CUF for this function and ignore HPR.  ECMA-48 calls this "Character
1.5       tholo    13533: # Position Relative" but retains the HPR abbreviation.
1.1       deraadt  13534: #
1.5       tholo    13535: # (N) ECMA-48 calls this "Character Tabulation" but retains the HT
                   13536: # abbreviation.
1.1       deraadt  13537: #
1.3       deraadt  13538: # (O) SGR parameter values: 0 = default mode (attributes off), 1 = bold,
                   13539: # 2 = dim, 3 = italicized, 4 = underlined, 5 = slow blink, 6 = fast blink,
                   13540: # 7 = reverse video, 8 = invisible, 9 = crossed-out (marked for deletion),
                   13541: # 10 = primary font, 10 + n (n in 1..9) = nth alternative font, 20 = Fraktur,
                   13542: # 21 = double underline, 22 = turn off 2, 23 = turn off 3, 24 = turn off 4,
                   13543: # 25 = turn off 5, 26 = proportional spacing, 27 = turn off 7, 28 = turn off
                   13544: # 8, 29 = turn off 9, 30 = black fg, 31 = red fg, 32 = green fg, 33 = yellow
                   13545: # fg, 34 = blue fg, 35 = magenta fg, 36 = cyan fg, 37 = white fg, 38 = set
                   13546: # fg color as in CCIT T.416, 39 = set default fg color, 40 = black bg
                   13547: # 41 = red bg, 42 = green bg, 43 = yellow bg, 44 = blue bg, 45 = magenta bg,
                   13548: # 46 = cyan bg, 47 = white bg, 48 = set bg color as in CCIT T.416, 39 = set
                   13549: # default bg color, 50 = turn off 26, 51 = framed, 52 = encircled, 53 =
                   13550: # overlined, 54 = turn off 51 & 52, 55 = not overlined, 56-59 = reserved,
                   13551: # 61-65 = variable highlights for ideograms.
                   13552: #
                   13553: # (P) SI is also called LSO, Locking Shift Zero.
                   13554: #
                   13555: # (Q) SI is also called LS1, Locking Shift One.
                   13556: #
                   13557: # (R) Some ANSI.SYS versions accept VPR, but more commonly `ANSI' terminals
1.5       tholo    13558: # use CUD for this function and ignore VPR.  ECMA calls it `Line Position
1.8       tholo    13559: # Absolute' but retains the VPA abbreviation.
1.1       deraadt  13560: #
1.3       deraadt  13561: # (S) MC parameters: 0 = start xfer to primary aux device, 1 = start xfer from
                   13562: # primary aux device, 2 = start xfer to secondary aux device, 3 = start xfer
                   13563: # from secondary aux device, 4 = stop relay to primary aux device, 5 =
                   13564: # start relay to primary aux device, 6 = stop relay to secondary aux device,
                   13565: # 7 = start relay to secondary aux device.
                   13566: #
1.5       tholo    13567: # (T) ECMA-48 calls this "Partial Line Forward" but retains the PLD
                   13568: # abbreviation.
                   13569: #
                   13570: # (U) ECMA-48 calls this "Partial Line Backward" but retains the PLD
                   13571: # abbreviation.
                   13572: #
                   13573: # (V) ECMA-48 calls this "Reverse Line Feed" but retains the RI abbreviation.
                   13574: #
                   13575: # (W) RM/SM modes are as follows: 1 = Guarder Area Transfer Mode (GATM),
                   13576: # 2 = Keyboard Action Mode (KAM), 3 = Control Representation Mode (CRM),
                   13577: # 4 = Insertion Replacement Mode, 5 = Status Report Transfer Mode (SRTM),
                   13578: # 6 = Erasure Mode (ERM), 7 = Line Editing Mode (LEM), 8 = Bi-Directional
                   13579: # Support Mode (BDSM), 9 = Device Component Select Mode (DCSM),
                   13580: # 10 = Character Editing Mode (HEM), 11 = Positioning Unit Mode (PUM),
                   13581: # 12 = Send/Receive Mode, 13 = Format Effector Action Mode (FEAM),
                   13582: # 14 = Format Effector Transfer Mode (FETM), 15 = Multiple Area Transfer
                   13583: # Mode (MATM), 16 = Transfer Termination Mode, 17 = Selected Area Transfer
                   13584: # Mode, 18 = Tabulation Stop Mode, 19 = Editing Boundary Mode, 20 = Line Feed
                   13585: # New Line Mode (LF/NL), Graphic Rendition Combination Mode (GRCM), 22 =
                   13586: # Zero Default Mode (ZDM).  The EBM and LF/NL modes have actually been removed
                   13587: # from ECMA-48's 5th edition but are listed here for reference.
                   13588: #
                   13589: # (X) Select Alternate Presentation Variants is used only for non-Latin
                   13590: # alphabets.
                   13591: #
                   13592: # (Y) "Select Editing Extent" (SEE) was ANSI "Select Edit Extent Mode" (SEM).
                   13593: #
                   13594: # (Z) ECMA-48 calls this "Start of Guarded Area" but retains the SPA
                   13595: # abbreviation.
                   13596: #
1.1       deraadt  13597: # ---------------------------------------------------------------------------
                   13598: #
                   13599: # Abbreviations:
                   13600: #
                   13601: # Intro  an Introducer of some kind of defined sequence; the normal 7-bit
                   13602: #        X3.64 Control Sequence Introducer is the two characters "Escape ["
                   13603: #
                   13604: # Delim  a Delimiter
                   13605: #
                   13606: # x/y    identifies a character by position in the ASCII table (column/row)
                   13607: #
                   13608: # eF     editor function (see explanation)
                   13609: #
                   13610: # FE     format effector (see explanation)
1.3       deraadt  13611: #
1.1       deraadt  13612: # F      is a Final character in
                   13613: #             an Escape sequence (F from 3/0 to 7/14 in the ASCII table)
                   13614: #             a control sequence (F from 4/0 to 7/14)
                   13615: #
                   13616: # Gs     is a graphic character appearing in strings (Gs ranges from
                   13617: #        2/0 to 7/14) in the ASCII table
                   13618: #
                   13619: # Ce     is a control represented as a single bit combination in the C1 set
                   13620: #        of controls in an 8-bit character set
                   13621: #
                   13622: # C0     the familiar set of 7-bit ASCII control characters
                   13623: #
1.5       tholo    13624: # C1     roughly, the set of control chars available only in 8-bit systems.
1.1       deraadt  13625: #        This is too complicated to explain fully here, so read Jim Fleming's
                   13626: #        article in the February 1983 BYTE, especially pages 214 through 224.
                   13627: #
                   13628: # Fe     is a Final character of a 2-character Escape sequence that has an
                   13629: #        equivalent representation in an 8-bit environment as a Ce-type
                   13630: #        (Fe ranges from 4/0 to 5/15)
                   13631: #
                   13632: # Fs     is a Final character of a 2-character Escape sequence that is
                   13633: #        standardized internationally with identical representation in 7-bit
                   13634: #        and 8-bit environments and is independent of the currently
                   13635: #        designated C0 and C1 control sets (Fs ranges from 6/0 to 7/14)
                   13636: #
                   13637: # I      is an Intermediate character from 2/0 to 2/15 (inclusive) in the
                   13638: #        ASCII table
                   13639: #
                   13640: # P      is a parameter character from 3/0 to 3/15 (inclusive) in the ASCII
                   13641: #        table
                   13642: #
                   13643: # Pn     is a numeric parameter in a control sequence, a string of zero or
                   13644: #        more characters ranging from 3/0 to 3/9 in the ASCII table
                   13645: #
                   13646: # Ps     is a variable number of selective parameters in a control sequence
                   13647: #        with each selective parameter separated from the other by the code
                   13648: #        3/11 (which usually represents a semicolon); Ps ranges from
                   13649: #        3/0 to 3/9 and includes 3/11
1.3       deraadt  13650: #
                   13651: # *      Not relevant to terminal control, listed for completeness only.
1.1       deraadt  13652: #
                   13653: # Format Effectors versus Editor Functions
                   13654: #
                   13655: # A format effector specifies how following output is to be displayed.
                   13656: # An editor function allows you to modify the display.  Informally
                   13657: # format effectors may be destructive; format effectors should not be.
                   13658: #
                   13659: # For instance, a format effector that moves the "active position" (the
                   13660: # cursor or equivalent) one space to the left would be useful when you want to
                   13661: # create an overstrike, a compound character made of two standard characters
                   13662: # overlaid. Control-H, the Backspace character, is actually supposed to be a
                   13663: # format effector, so you can do this. But many systems use it in a
                   13664: # nonstandard fashion, as an editor function, deleting the character to the
                   13665: # left of the cursor and moving the cursor left. When Control-H is assumed to
                   13666: # be an editor function, you cannot predict whether its use will create an
                   13667: # overstrike unless you also know whether the output device is in an "insert
                   13668: # mode" or an "overwrite mode". When Control-H is used as a format effector,
                   13669: # its effect can always be predicted. The familiar characters carriage
                   13670: # return, linefeed, formfeed, etc., are defined as format effectors.
                   13671: #
                   13672: # NOTES ON THE DEC VT100 IMPLEMENTATION
                   13673: #
                   13674: # Control sequences implemented in the VT100 are as follows:
                   13675: #
                   13676: #      CPR, CUB, CUD, CUF, CUP, CUU, DA, DSR, ED, EL, HTS, HVP, IND,
                   13677: #      LNM, NEL, RI, RIS, RM, SGR, SM, TBC
                   13678: #
                   13679: # plus several private DEC commands.
                   13680: #
                   13681: # Erasing parts of the display (EL and ED) in the VT100 is performed thus:
                   13682: #
                   13683: #      Erase from cursor to end of line           Esc [ 0 K    or Esc [ K
                   13684: #      Erase from beginning of line to cursor     Esc [ 1 K
                   13685: #      Erase line containing cursor               Esc [ 2 K
                   13686: #      Erase from cursor to end of screen         Esc [ 0 J    or Esc [ J
                   13687: #      Erase from beginning of screen to cursor   Esc [ 1 J
                   13688: #      Erase entire screen                        Esc [ 2 J
1.2       deraadt  13689: #
                   13690: # Some brain-damaged terminal/emulators respond to Esc [ J as if it were
                   13691: # Esc [ 2 J, but this is wrong; the default is 0.
1.1       deraadt  13692: #
                   13693: # The VT100 responds to receiving the DA (Device Attributes) control
                   13694: #
                   13695: #      Esc [ c    (or Esc [ 0 c)
                   13696: #
                   13697: # by transmitting the sequence
                   13698: #
                   13699: #      Esc [ ? l ; Ps c
                   13700: #
                   13701: # where Ps is a character that describes installed options.
                   13702: #
                   13703: # The VT100's cursor location can be read with the DSR (Device Status
                   13704: # Report) control
                   13705: #
                   13706: #      Esc [ 6 n
                   13707: #
                   13708: # The VT100 reports by transmitting the CPR sequence
                   13709: #
                   13710: #      Esc [ Pl ; Pc R
                   13711: #
                   13712: # where Pl is the line number and Pc is the column number (in decimal).
                   13713: #
                   13714: # The specification for the DEC VT100 is document EK-VT100-UG-003.
1.2       deraadt  13715:
                   13716: #### ANSI.SYS
1.1       deraadt  13717: #
1.2       deraadt  13718: # Here is a description of the color and attribute controls supported in the
                   13719: # the ANSI.SYS driver under MS-DOS.  Most console drivers and ANSI
1.8       tholo    13720: # terminal emulators for Intel boxes obey these.  They are a proper subset
                   13721: # of the ECMA-48 escapes.
1.1       deraadt  13722: #
                   13723: # 0    all attributes off
                   13724: # 1    foreground bright
                   13725: # 4    underscore on
                   13726: # 5    blink on/background bright (not reliable with brown)
                   13727: # 7    reverse-video
                   13728: # 8    set blank (non-display)
                   13729: # 10   set primary font
                   13730: # 11   set first alternate font (on PCs, display ROM characters 1-31)
                   13731: # 12   set second alternate font (on PCs, display IBM high-half chars)
                   13732: #
                   13733: #                      Color attribute sets
                   13734: # 3n   set foreground color       / 0=black, 1=red,     2=green, 3=brown,
                   13735: # 4n   set background color       \ 4=blue,  5=magenta, 6=cyan,  7=white
                   13736: # Bright black becomes gray.  Bright brown becomes yellow,
1.3       deraadt  13737: # These coincide with the prescriptions of the ISO 6429/ECMA-48 standard.
1.2       deraadt  13738: #
                   13739: # * If the 5 attribute is on and you set a background color (40-47) it is
                   13740: #   supposed to enable bright background.
                   13741: #
1.1       deraadt  13742: # * Many VGA cards (such as the Paradise and compatibles) do the wrong thing
                   13743: #   when you try to set a "bright brown" (yellow) background with attribute
                   13744: #   5 (you get a blinking yellow foreground instead).  A few displays
                   13745: #   (including the System V console) support an attribute 6 that undoes this
1.2       deraadt  13746: #   braindamage (this is required by iBCS2).
1.1       deraadt  13747: #
                   13748: # * Some older versions of ANSI.SYS have a bug that causes thems to require
1.8       tholo    13749: #   ESC [ Pn k as EL rather than the ANSI ESC [ Pn K.  (This is not ECMA-48
                   13750: #   compatible.)
1.2       deraadt  13751:
                   13752: #### Intel Binary Compatibility Standard
                   13753: #
                   13754: # For comparison, here are the capabilities implied by the Intel Binary
                   13755: # Compatibility Standard for UNIX systems (Intel order number 468366-001).
                   13756: # These recommendations are optional.  IBCS2 allows the leading escape to
1.3       deraadt  13757: # be either the 7-bit \E[ or 8-bit \0233 introducer, in accordance with
                   13758: # the ANSI X.364/ISO 6429/ECMA-48 standard.  Here are the iBCS2 capabilities
                   13759: # (as described in figure 9-3 of the standard).  Those expressed in the ibcs2
                   13760: # terminfo entry are followed with the corresponding capability in parens:
                   13761: #
                   13762: #      CSI <n>k                disable (n=0) or enable (n=1) keyclick
                   13763: #      CSI 2h                  lock keyboard
                   13764: #      CSI 2i                  send screen as input
                   13765: #      CSI 2l                  unlock keyboard
                   13766: #      CSI 6m                  enable background color intensity
                   13767: #      CSI <0-2>c              reserved
                   13768: #      CSI <0-59>m             select graphic rendition
                   13769: #      CSI <n>;<m>H    (cup)   cursor to line n and column m
                   13770: #      CSI <n>;<m>f            cursor to line n and column m
                   13771: #      CSI <n>@        (ich)   insert characters
                   13772: #      CSI <n>A        (cuu)   cursor up n lines
                   13773: #      CSI <n>B        (cud)   cursor down n lines
                   13774: #      CSI <n>C        (cuu)   cursor right n characters
                   13775: #      CSI <n>D        (cud)   cursor left n characters
                   13776: #      CSI <n>E                cursor down n lines and in first column
                   13777: #      CSI <n>F                cursor up n lines and in first column
                   13778: #      CSI <n>G        (hpa)   position cursor at column n-1
                   13779: #      CSI <n>J        (ed)    erase in display
                   13780: #      CSI <n>K        (el)    erase in line
                   13781: #      CSI <n>L        (il)    insert line(s)
                   13782: #      CSI <n>P        (dch)   delete characters
                   13783: #      CSI <n>S        (indn)  scroll up n lines
                   13784: #      CSI <n>T        (rin)   scroll down n lines
                   13785: #      CSI <n>X        (ech)   erase characters
                   13786: #      CSI <n>Z        (cbt)   back up n tab stops
                   13787: #      CSI <n>`                cursor to column n on line
                   13788: #      CSI <n>a        (cuu)   cursor right n characters
                   13789: #      CSI <n>d        (vpa)   cursor to line n
                   13790: #      CSI <n>e                cursor down n lines and in first column
                   13791: #      CSI <n>g        (cbt)   clear all tabs
                   13792: #      CSI <n>z                make virtual terminal n active
                   13793: #      CSI ?7h         (smam)  turn automargin on
                   13794: #      CSI ?7l         (rmam)  turn automargin off
                   13795: #      CSI s                   save cursor position
                   13796: #      CSI u                   restore cursor position to saved value
                   13797: #      CSI =<c>A               set overscan color
                   13798: #      CSI =<c>F               set normal foreground color
                   13799: #      CSI =<c>G               set normal background color
                   13800: #      CSI =<c>H               set reverse foreground color
                   13801: #      CSI =<c>I               set reverse foreground color
                   13802: #      CSI =<c>J               set graphic foreground color
                   13803: #      CSI =<c>K               set graphic foreground color
1.2       deraadt  13804: #      CSI =<n>g       (dispc) display n from alternate graphics character set
1.3       deraadt  13805: #      CSI =<p>;<d>B           set bell parameters
                   13806: #      CSI =<s>;<e>C           set cursor parameters
                   13807: #      CSI =<x>D               enable/disable intensity of background color
                   13808: #      CSI =<x>E               set/clear blink vs. bold background
                   13809: #      CSI 7           (sc)    (sc) save cursor position
                   13810: #      CSI 8           (rc)    (rc) restore cursor position to saved value
                   13811: #      CSI H           (hts)   (hts) set tab stop
1.2       deraadt  13812: #      CSI Q<n><string>        define function key string
                   13813: #                              (string must begin and end with delimiter char)
                   13814: #      CSI c           (clear) clear screen
                   13815: #
                   13816: # The lack of any specification for attributes in SGR (among other things)
                   13817: # makes this a wretchedly weak standard. The table above is literally
                   13818: # everything iBSC2 has to say about terminal escape sequences; there is
                   13819: # no further discussion of their meaning or how to set the parameters
                   13820: # in these sequences at all.
                   13821: #
1.1       deraadt  13822:
                   13823: ######## NONSTANDARD CAPABILITY TRANSLATIONS USED IN THIS FILE
                   13824: #
                   13825: # The historical termcap file entries were written primarily in 4.4BSD termcap.
                   13826: # The 4.4BSD termcap set was substantially larger than the original 4.1BSD set,
                   13827: # with the extension names chosen for compatibility with the termcap names
                   13828: # assigned in System V terminfo.  There are some variant extension sets out
                   13829: # there.  We try to describe them here.
                   13830: #
                   13831: # XENIX extensions:
                   13832: #
                   13833: # The XENIX extensions include a set of function-key capabilities as follows:
                   13834: #
                   13835: #       code   XENIX variable name     terminfo name   name clashes?
                   13836: #      ----    -------------------     -------------   -----------------------
                   13837: #      CL      key_char_left
                   13838: #      CR      key_char_right
                   13839: #      CW      key_change_window                       create_window
                   13840: #      EN      key_end                 kend
                   13841: #      HM      key_home                khome
                   13842: #      HP      ??
                   13843: #      LD      key_delete_line         kdl1
                   13844: #      LF      key_linefeed                            label_off
                   13845: #      NU      key_next_unlocked_cell
                   13846: #      PD      key_page_down           knp
                   13847: #      PL      ??
                   13848: #      PN      start_print             mc5
                   13849: #      PR      ??
                   13850: #      PS      stop_print              mc4
                   13851: #      PU      key_page_up             kpp             pulse
                   13852: #      RC      key_recalc                              remove_clock
                   13853: #      RF      key_toggle_ref                          req_for_input
                   13854: #      RT      key_return              kent
                   13855: #      UP      key_up_arrow            kcuu1           parm_up_cursor
                   13856: #      WL      key_word_left
                   13857: #      WR      key_word_right
                   13858: #
                   13859: # The XENIX extensions also include the following character-set and highlight
                   13860: # capabilities:
                   13861: #
                   13862: #      XENIX   terminfo        function
                   13863: #      -----   --------        ------------------------------
                   13864: #      GS      smacs           start alternate character set
                   13865: #      GE      rmacs           end alternate character set
                   13866: #      GG                      :as:/:ae: glitch (analogous to :sg:/:ug:)
                   13867: #      bo      blink           begin blink (not used in /etc/termcap)
                   13868: #      be                      end blink (not used in /etc/termcap)
                   13869: #      bb                      blink glitch  (not used in /etc/termcap)
                   13870: #      it      dim             begin dim (not used in /etc/termcap)
                   13871: #      ie                      end dim (not used in /etc/termcap)
                   13872: #      ig                      dim glitch  (not used in /etc/termcap)
                   13873: #
1.2       deraadt  13874: # Finally, XENIX also used the following forms-drawing capabilities:
1.1       deraadt  13875: #
1.2       deraadt  13876: #      single  double  type             ASCII approximation
                   13877: #      ------  ------  -------------    -------------------
                   13878: #      GV      Gv      vertical line             |
                   13879: #      GH      Gv      horizontal line       -   _
                   13880: #      G1      G5      top right corner       _   |
                   13881: #      G2      G6      top left corner       |
                   13882: #      G3      G7      bottom left corner         |_
                   13883: #      G4      G8      bottom right corner   _|
                   13884: #      GD      Gd      down-tick character        T
                   13885: #      GL      Gl      left-tick character   -|
                   13886: #      GR      Gr      right-tick character       |-
                   13887: #      GC      Gc      middle intersection   -|-
                   13888: #      GU      Gu      up-tick character          _|_
                   13889: #
                   13890: # These were invented to take advantage of the IBM PC ROM character set.  One
                   13891: # can compose an acsc string from the single-width characters as follows
                   13892: #      "j{G4}k{G1}l{G2}m{G3}q{GH}x{GV}t{GR}u{GL}v{GU}w{GD}n{GC}"
1.8       tholo    13893: # When translating a termcap file, ncurses tic will do this automatically.
1.2       deraadt  13894: # The double forms characters don't fit the SVr4 terminfo model.
1.1       deraadt  13895: #
                   13896: # AT&T Extensions:
                   13897: #
                   13898: # The old AT&T 5410, 5420, 5425, pc6300plus, 610, and s4 entries used a set of
                   13899: # nonstandard capabilities.  Its signature is the KM capability, used to name
                   13900: # some sort of keymap file.  EE, BO, CI, CV, XS, DS, FL and FE are in this
                   13901: # set.  Comments in the original, and a little cross-checking with other AT&T
                   13902: # documentation, seem to establish that BO=:mr: (start reverse video), DS=:mh:
                   13903: # (start dim), XS=:mk: (secure/invisible mode), EE=:me: (end highlights),
                   13904: # FL=:LO: (enable soft labels), FE=:LF: (disable soft labels), CI=:vi: (make
                   13905: # cursor invisible), and CV=:ve: (make cursor normal).
                   13906: #
1.2       deraadt  13907: # HP Extensions
                   13908: #
                   13909: # The HP library (as of mid-1995, their term.h file version 70.1) appears to
                   13910: # have the System V capabilities up to SVr1 level.  After that, it supports
                   13911: # two nonstandard caps meml and memu corresponding to the old termcap :ml:,
                   13912: # :mu: capabilities.  After that, it supports caps plab_norm, label_on,
                   13913: # label_off, and key_f11..key_f63 capabilities like SVr4's.  This makes the
                   13914: # HP binary format incompatible with SVr4's.
                   13915: #
                   13916: # IBM Extensions
                   13917: #
                   13918: # There is a set of nonstandard terminfos used by IBM's AIX operating system.
                   13919: # The AIX terminfo library diverged from SVr1 terminfo, and replaces all
                   13920: # capabilities following prtr_non with the following special capabilties:
                   13921: # box[12], batt[12], colb[0123456789], colf[0123456789], f[01234567], kbtab,
                   13922: # kdo, kcmd, kcpn, kend, khlp, knl, knpn, kppn, kppn, kquit, ksel, kscl, kscr,
                   13923: # ktab, kmpf[123456789], apstr, ksf1..ksf10, kf11...kf63, kact, topl, btml,
                   13924: # rvert, lvert.   Some of these are identical to XPG4/SVr4 equivalents:
                   13925: # kcmd, kend, khlp, and kf11...kf63.  Two others (kbtab and ksel) can be
                   13926: # renamed (to kcbt and kslt).  The places in the box[12] capabilities
                   13927: # correspond to acsc chars, here is the mapping:
                   13928: #
                   13929: #      box1[0]  = ACS_ULCORNER
                   13930: #      box1[1]  = ACS_HLINE
                   13931: #      box1[2]  = ACS_URCORNER
                   13932: #      box1[3]  = ACS_VLINE
                   13933: #      box1[4]  = ACS_LRCORNER
                   13934: #      box1[5]  = ACS_LLCORNER
                   13935: #      box1[6]  = ACS_TTEE
                   13936: #      box1[7]  = ACS_RTEE
                   13937: #      box1[8]  = ACS_BTEE
                   13938: #      box1[9]  = ACS_LTEE
                   13939: #      box1[10] = ACS_PLUS
                   13940: #
                   13941: # The box2 characters are the double-line versions of these forms graphics.
                   13942: # The AIX binary terminfo format is incompatible with SVr4's.
                   13943: #
1.5       tholo    13944: # Iris console extensions:
                   13945: #
                   13946: # HS is half-intensity start; HE is half-intensity end
                   13947: # CT is color terminal type (for Curses & rogue)
                   13948: # CP is color change escape sequence
                   13949: # CZ are color names (for Curses & rogue)
                   13950: #
                   13951: # The ncurses tic utility recognizes HS as an alias for mh <dim>.
                   13952: #
1.1       deraadt  13953: # TC Extensions:
                   13954: #
                   13955: # There is a set of extended termcaps associated with something
                   13956: # called the "Terminal Control" or TC package created by MainStream Systems,
                   13957: # Winfield Kansas.  This one also uses GS/GE for as/ae, and also uses
                   13958: # CF for civis and CO for cvvis.  Finally, they define a boolean :ct:
                   13959: # that flags color terminals.
1.2       deraadt  13960: #
1.1       deraadt  13961: ######## CHANGE HISTORY
                   13962: #
1.2       deraadt  13963: # The last /etc/termcap version maintained by John Kunze was 8.3, dated 8/5/94.
                   13964: # Releases 9 and up are maintained by Eric S. Raymond as part of the ncurses
                   13965: # project.
                   13966: #
                   13967: # This file contains all the capability information present in John Kunze's
                   13968: # last version of the termcap master file, except as noted in the change
                   13969: # comments at end of file.  Some information about very ancient obsolete
                   13970: # capabilities has been moved to comments.  Some all-numeric names of older
                   13971: # terminals have been retired.
                   13972: #
                   13973: # I changed :MT: to :km: (the 4.4BSD name) everywhere.  I commented out some
                   13974: # capabilities (EP, dF, dT, dV, kn, ma, ml, mu, xr, xx) that are no longer
                   13975: # used by BSD curses.
                   13976: #
                   13977: # The 9.1.0 version of this file was translated from my lightly-edited copy of
                   13978: # 8.3, then mechanically checked against 8.3 using Emacs Lisp code written for
                   13979: # the purpose.  Unless the ncurses tic implementation and the Lisp code were
                   13980: # making perfectly synchronized mistakes which I then failed to catch by
                   13981: # eyeball, the translation was correct and perfectly information-preserving.
                   13982: #
1.8       tholo    13983: # Major version number bumps correspond to major version changes in ncurses.
                   13984: #
1.2       deraadt  13985: # Here is a log of the changes since then:
                   13986: #
1.1       deraadt  13987: # 9.1.0 (Wed Feb  1 04:50:32 EST 1995):
                   13988: #      * First terminfo master translated from 8.3.
                   13989: # 9.2.0 (Wed Feb  1 12:21:45 EST 1995):
                   13990: #      * Replaced Wyse entries with updated entries supplied by vendor.
                   13991: #
                   13992: # 9.3.0 (Mon Feb  6 19:14:40 EST 1995):
                   13993: #      * Added contact & status info from G. Clark Brown <clark@sssi.com>.
                   13994: # 9.3.1 (Tue Feb  7 12:00:24 EST 1995):
                   13995: #      * Better XENIX keycap translation.  Describe TC termcaps.
                   13996: #      * Contact and history info supplied by Qume.
                   13997: # 9.3.2 (Sat Feb 11 23:40:02 EST 1995):
1.5       tholo    13998: #      * Raided the Shuford FTP site for recent termcaps/terminfos.
1.1       deraadt  13999: #      * Added information on X3.64 and VT100 standard escape sequences.
                   14000: # 9.3.3 (Mon Feb 13 12:26:15 EST 1995):
                   14001: #      * Added a correct X11R6 xterm entry.
                   14002: #      * Fixed terminfo translations of padding.
                   14003: # 9.3.4 (Wed Feb 22 19:27:34 EST 1995):
                   14004: #      * Added correct acsc/smacs/rmacs strings for vt100 and xterm.
                   14005: #      * Added u6/u7/u8/u9 capabilities.
                   14006: #      * Added PCVT entry.
                   14007: # 9.3.5 (Thu Feb 23 09:37:12 EST 1995):
                   14008: #      * Emacs uses :so:, not :mr:, for its mode line.  Fix linux entry
                   14009: #        to use reverse-video standout so Emacs will look right.
                   14010: #      * Added el1 capability to ansi.
                   14011: #      * Added smacs/rmacs to ansi.sys.
                   14012: #
                   14013: # 9.4.0 (Sat Feb 25 16:43:25 EST 1995):
                   14014: #      * New mt70 entry.
                   14015: #      * Added COPYRIGHTS AND OTHER DELUSIONS.
                   14016: #      * Added AT&T 23xx & 500/513, vt220 and vt420, opus3n1+, netronics
                   14017: #        smartvid & smarterm, ampex 175 & 219 & 232,
                   14018: #        env230, falco ts100, fluke, intertube, superbrain, ncr7901, vic20,
                   14019: #        ozzie, trs200, tr600, Tandy & Texas Instruments VDTs, intext2,
                   14020: #        screwpoint, fviewpoint, Contel Business Systems, Datamedia Colorscan,
                   14021: #        adm36, mime314, ergo4000, ca22851.  Replaced att7300, esprit, dd5500.
                   14022: #      * Replaced the Perkin-Elmer entries with vendor's official ones.
                   14023: #      * Restored the old minimal-ansi entry, luna needs it.
                   14024: #      * Fixed some incorrect ip and proportional-padding translations.
                   14025: # 9.4.1 (Mon Feb 27 14:18:33 EST 1995):
                   14026: #      * Fix linux & AT386 sgr strings to do A_ALTCHARSET turnoff correctly.
                   14027: #      * Make the xterm entry 65 lines again; create xterm25 and xterm24
                   14028: #        to force a particular height.
                   14029: #      * Added beehive4 and reorganized other Harris entries.
                   14030: # 9.4.2 (Thu Mar  9 01:45:44 EST 1995):
                   14031: #      * Merged in DEC's official entries for its terminals.  The only old
                   14032: #        entry I kept was Doug Gwyn's alternate vt100 (as vt100-avo).
                   14033: #      * Replaced the translated BBN Bitgraph entries with purpose-built
                   14034: #        ones from AT&T's SVr3.
                   14035: #      * Replaced the AT&T entries with AT&T's official terminfos.
                   14036: #      * Added teleray 16, vc415, cops10.
                   14037: #      * Merged in many individual capabilities from SCO terminfo files.
                   14038: # 9.4.3 (Mon Mar 13 02:37:53 EST 1995):
                   14039: #      * Typo fixes.
                   14040: #      * Change linux entry so A_PROTECT enables IBM-PC ROM characters.
                   14041: # 9.4.4 (Mon Mar 27 12:32:35 EST 1995):
                   14042: #      * Added tty35, Ann Arbor Guru series. vi300 and 550, cg7900, tvi803,
                   14043: #        pt210, ibm3164, IBM System 1, ctrm, Tymshare scanset, dt200, adm21,
                   14044: #        simterm, citoh and variants.
                   14045: #      * Replaced sol entry with sol1 and sol2.
                   14046: #      * Replaced Qume QVT and Freedom-series entries with purpose-built
                   14047: #        terminfo entries.
                   14048: #      * Enhanced vt220, tvi910, tvi924, hpterm, hp2645, adm42, tek
                   14049: #        and dg200 entries using caps from from SCO.
                   14050: #      * Added the usual set of function-key mappings to ANSI entry.
                   14051: #      * Corrected xterm's function-key capabilities.
                   14052: # 9.4.5 (Tue Mar 28 14:27:49 EST 1995):
                   14053: #      * Fix in xterm entry, cub and cud are not reliable under X11R6.
                   14054: # 9.4.6 (Thu Mar 30 14:52:15 EST 1995):
                   14055: #      * Fix in xterm entry, get the arrow keys right.
                   14056: #      * Change some \0 escapes to \200.
                   14057: # 9.4.7 (Tue Apr  4 11:27:11 EDT 1995)
                   14058: #      * Added apple (Videx card), adm1a, oadm31.
                   14059: #      * Fixed malformed ampex csr.
                   14060: #      * Fixed act4, cyb110; they had old-style prefix padding left in.
                   14061: #      * Changed mandatory to advisory padding in many entries.
                   14062: #      * Replaced HP entries up to hpsub with purpose-built ones.
                   14063: #      * Blank rmir/smir/rmdc/smdc capabilities removed.
                   14064: #      * Small fixes merged in from SCO entries for lpr, fos, tvi910+, tvi924.
                   14065: # 9.4.8 (Fri Apr  7 09:36:34 EDT 199):
                   14066: #      * Replaced the Ann Arbor entries with SCO's, the init strings are
                   14067: #        more efficient (but the entries otherwise identical).
                   14068: #      * Added dg211 from Shuford archive.
                   14069: #      * Added synertek, apple-soroc, ibmpc, pc-venix, pc-coherent, xtalk,
                   14070: #        adm42-nl, pc52, gs6300, xerox820, uts30.
                   14071: #      * Pull SCO's padding into vi200 entry.
                   14072: #      * Improved capabilities for tvi4107 and other Televideo and Viewpoint
                   14073: #        entries merged in from SCO's descriptions.
                   14074: #      * Fixed old-style prefix padding on zen50, h1500.
                   14075: #      * Moved old superbee entry to superbee-xsb, pulled in new superbee
                   14076: #        entry from SCO's description.
                   14077: #      * Reorganized the special entries.
                   14078: #      * Added lm#0 to cbunix and virtual entries.
                   14079: #
                   14080: # 9.5.0 (Mon Apr 10 11:30:00 EDT 1995):
                   14081: #      * Restored cdc456tst.
                   14082: #      * Fixed sb1 entry, SCO erroneously left out the xsb glitch.
                   14083: #      * Added megatek, beacon, microkit.
                   14084: #      * Freeze for ncurses-1.9 release.
                   14085: # 9.5.1 (Fri Apr 21 12:46:42 EDT 1995):
                   14086: #      * Added historical data for TAB.
                   14087: #      * Comment fixes from David MacKenzie.
                   14088: #      * Added the new BSDI pc3 entry.
                   14089: # 9.5.2 (Tue Apr 25 17:27:52 EDT 1995)
                   14090: #      * A change in the tic -C logic now ensures that all entries in
                   14091: #        the termcap translation will fit in < 1024 bytes.
                   14092: #      * Added `bobcat' and `gator' HP consoles and the Nu machine entries
                   14093: #        from GNU termcap file.  This merges in all their local information.
                   14094: # 9.5.3 (Tue Apr 25 22:28:13 EDT 1995)
                   14095: #      * Changed tic -C logic to dump all capabilities used by GNU termcap.
                   14096: #      * Added warnings about entries with long translations (restoring
                   14097: #        all the GNU termcaps pushes a few over the edge).
                   14098: # 9.5.4 (Wed Apr 26 15:35:09 EDT 1995)
                   14099: #      * Yet another tic change, and a couple of entry tweaks, to reduce the
                   14100: #        number of long (> 1024) termcap translations back to 0.
                   14101: #
                   14102: # 9.6.0 (Mon May  1 10:35:54 EDT 1995)
                   14103: #      * Added kf13-kf20 to Linux entry.
                   14104: #      * Regularize Prime terminal names.
                   14105: #      * Historical data on Synertek.
                   14106: #      * Freeze for ncurses-1.9.1.
                   14107: # 9.6.1 (Sat May  6 02:00:52 EDT 1995):
                   14108: #      * Added true xterm-color entry, renamed djm's pseudo-color entry.
                   14109: #      * Eliminate whitespace in short name fields, this tanks some scripts.
                   14110: #      * Name field changes to shorten some long entries.
                   14111: #      * Termcap translation now automatically generates empty rmir/smir
                   14112: #        when ich1/ich is present (copes with an ancient vi bug).
                   14113: #      * Added `screen' entries from FSF's screen-3.6.2.
                   14114: #      * Added linux-nic and xterm-nic entries.
                   14115: # 9.6.2 (Sat May  6 17:00:55 EDT 1995):
                   14116: #      * Change linux entry to use smacs=\E[11m and have an explicit acsc,
                   14117: #        eliminating some special-case code in ncurses.
                   14118: #
                   14119: # 9.7.0 (Tue May  9 18:03:12 EDT 1995):
                   14120: #      * Added vt320-k3, rsvidtx from the Emacs termcap.dat file.  I think
                   14121: #        that captures everything unique from it.
                   14122: #      * Added reorder script generator.
                   14123: #      * Freeze for ncurses 1.9.2 release.
                   14124: # 9.7.1 (Thu Jun 29 09:35:22 EDT 1995):
                   14125: #      * Added Sean Farley's kspd, flash, rs1 capabilities for linux.
                   14126: #      * Added Olaf Siebert's corrections for adm12.
                   14127: #      * ansi-pc-color now includes the colors and pairs caps, so that
                   14128: #        entries which use it will inherit them automatically.
                   14129: #      * The linux entry can now recognize the center (keypad 5) key.
                   14130: #      * Removed some junk that found its way into Linux acsc.
                   14131: #
                   14132: # 9.8.0 (Fri Jul  7 04:46:57 EDT 1995):
                   14133: #      * Add 50% cut mark as a desperate hack to reduce tic's core usage.
                   14134: #      * xterm doesn't try to use application keypad mode any more.
                   14135: #      * Freeze for ncurses-1.9.3 release.
                   14136: # 9.8.1 (Thu Jul 19 17:02:12 EDT 1995):
                   14137: #      * Added corrected sun entry from vendor.
                   14138: #      * Added csr capability to linux entry.
                   14139: #      * Peter Wemm says the at386 hpa should be \E[%i%p1%dG, not \E[%p1%dG.
                   14140: #      * Added vt102-nsgr to cope with stupid IBM PC `VT100' emulators.
                   14141: #      * Some commented-out caps in long entries come back in, my code
                   14142: #        for computing string-table lengths had a bug in it.
                   14143: #      * pcansi series modified to fit comm-program reality better.
                   14144: # 9.8.2 (Sat Sep  9 23:35:00 EDT 1995):
                   14145: #      * BSD/OS actually ships the ibmpc3 bold entry as its console.
                   14146: #      * Correct some bad aliases in the pcansi series
                   14147: #      * Added entry for QNX console.
                   14148: #      * Clean up duplicate long names for use with 4.4 library.
                   14149: #      * Change vt100 standout to be normal reverse vide, not bright reverse;
                   14150: #        this makes the Emacs status line look better.
                   14151: # 9.8.3 (Sun Sep 10 13:07:34 EDT 1995):
                   14152: #      * Added Adam Thompson's VT320 entries, also his dtx-sas and z340.
                   14153: #      * Minor surgery, mostly on name strings, to shorten termcap version.
1.2       deraadt  14154: #
                   14155: # 9.9.0 (Sat Sep 16 23:03:48 EDT 1995):
                   14156: #      * Added dec-vt100 for use with the EWAN emulator.
                   14157: #      * Added kmous to xterm for use with xterm's mouse-tracking facility.
                   14158: #      * Freeze for 1.9.5 alpha release.
                   14159: # 9.9.1 (Wed Sep 20 13:46:09 EDT 1995):
                   14160: #      * Changed xterm lines to 24, the X11R6 default.
                   14161: # 9.9.2 (Sat Sep 23 21:29:21 EDT 1995):
                   14162: #      * Added 7 newly discovered, undocumented acsc characters to linux
                   14163: #        entry (the pryz{|} characters).
                   14164: #      * ncurses no longer steals A_PROTECT.  Simplify linux sgr accordingly.
                   14165: #      * Correct two typos in the xterm entries introduced in 9.9.1.
                   14166: #      * I finally figured out how to translate ko capabilities.  Done.
                   14167: #      * Added tvi921 entries from Tim Theisen.
                   14168: #      * Cleanup: dgd211 -> dg211, adm42-nl -> adm42-nsl.
                   14169: #      * Removed mystery tec entry, it was neither interesting nor useful.
                   14170: #      * shortened altos3, qvt203, tvi910+, tvi92D, tvi921-g, tvi955, vi200-f,
                   14171: #        vi300-ss, att505-24, contel301, dm3045, f200vi, pe7000c, vc303a,
                   14172: #        trs200, wind26, wind40, wind50, cdc456tst, dku7003, f110, dg211,
                   14173: #        by making them relative to use capabilities
                   14174: #      * Added cuf1=^L to tvi925 from deleted variant tvi925a.
                   14175: #      * fixed cup in adm22 entry and parametrized strings in vt320-k3.
                   14176: #      * added it#8 to entries that used to have :pt: -- tvi912, vi200,
                   14177: #        ampex80,
                   14178: #      * Translate all home=\E[;H capabilities to home=\E[H, they're
                   14179: #        equivalent.
                   14180: #      * Translate \E[0m -> \E[m in [rs]mso, [rs]mul, and init strings of
                   14181: #        vt100 and ANSI-like terminals.
                   14182: # 9.9.3 (Tue Sep 26 20:11:15 EDT 1995):
                   14183: #      * Added it#8 and ht=\t to *all* entries with :pt:; the ncurses tic
                   14184: #        does this now, too.
                   14185: #      * fviewpoint is gone, it duplicated screwpoint.
                   14186: #      * Added hp2627, graphos, graphos-30, hpex, ibmega, ibm8514, ibm8514-c,
                   14187: #        ibmvga, ibmvga-c, minix, mm340, mt4520-rv, screen2, screen3,
                   14188: #        versaterm, vi500, vsc, vt131, vt340, vt400 entries from UW.
                   14189: #        The UW vi50 replaces the old one, which becomes vi50adm,
                   14190: #      * No more embedded commas in name fields.
                   14191: #
                   14192: # 9.10.0 (Wed Oct  4 15:39:37 EDT 1995):
                   14193: #      * XENIX forms characters in fos, trs16, scoansi become acsc strings,
                   14194: #      * Introduced klone+* entries for describing Intel-console behavior.
                   14195: #      * Linux kbs is default-mapped to delete for some brain-dead reason.
                   14196: #      * -nsl -> -ns.  The -pp syntax is obsolete.
                   14197: #      * Eliminate [A-Z]* primaries in accordance with SVr4 terminfo docs.
                   14198: #      * Make xterm entry do application-keypad mode again.  I got complaints
                   14199: #        that it was messing up someone's 3270 emulator.
                   14200: #      * Added some longname fields in order to avoid warning messages from
                   14201: #        older tic implementations.
                   14202: #      * According to ctrlseqs.ms, xterm has a full vt100 graphics set.  Use
                   14203: #        it! (This gives us pi, greater than, less than, and a few more.)
                   14204: #      * Freeze for ncurses-1.9.6 release.
                   14205: # 9.10.1 (Sat Oct 21 22:18:09 EDT 1995):
                   14206: #      * Add xon to a number of console entries, they're memory-mapped and
                   14207: #        don't need padding.
                   14208: #      * Correct the use dependencies in the ansi series.
                   14209: #      * Hand-translate more XENIX capabilities.
                   14210: #      * Added hpterm entry for HP's X terminal emulator.
                   14211: #      * Added aixterm entries.
                   14212: #      * Shortened four names so everything fits in 14 chars.
                   14213: #
                   14214: # 9.11.0 (Thu Nov  2 17:29:35 EST 1995):
                   14215: #      * Added ibcs2 entry and info on iBCS2 standard.
                   14216: #      * Corrected hpa/vpa in linux entry.  They still fail the worm test.
                   14217: #      * We can handle the HP meml/memu capability now.
                   14218: #      * Added smacs to klone entries, just as documentation.
                   14219: #      * Carrected ansi.sys and cit-500 entries.
                   14220: #      * Added z39, vt320-k311, v220c, and avatar entries.
                   14221: #      * Make pcansi use the ansi.sys invis capability.
                   14222: #      * Added DIP switch descriptions for vt100, adm31, tvi910, tvi920c,
                   14223: #        tvi925, tvi950, dt80, ncr7900i, h19.
                   14224: #      * X3.64 has been withdrawn, change some references.
                   14225: #      * Removed function keys from ansi-m entry.
                   14226: #      * Corrected ansi.sys entry.
                   14227: #      * Freeze for ncurses-1.9.7 release.
                   14228: # 9.11.1 (Tue Nov  6 18:18:38 EST 1995):
                   14229: #      * Added rmam/smam capabilities to many entries based on init strings.
                   14230: #      * Added correct hpa/vpa to linux.
                   14231: #      * Reduced several entries relative to vt52.
                   14232: # 9.11.2 (Tue Nov  7 00:21:06 EST 1995):
                   14233: #      * Exiled some utterly unidentifiable custom and homebrew types to the
                   14234: #        UFO file; also, obsolete small-screen hardware; also, entries which
                   14235: #        look flat-out incorrect, garbled, or redundant.  These include the
                   14236: #        following entries: carlock, cdc456tst, microkit, qdss, ramtek, tec,
                   14237: #        tec400, tec500, ubell, wind, wind16, wind40, wind50, plasma, agile,
                   14238: #        apple, bch, daleblit, nucterm, ttywilliams, nuterminal, nu24, bnu,
                   14239: #        fnu, nunix-30, nunix-61, exidy, ex3000, sexidy, pc52, sanyo55,
                   14240: #        yterm10, yterm11, yterm10nat, aed, aed-ucb, compucolor, compucolor2,
                   14241: #        vic20, dg1, act5s, netx, smartvid, smarterm, sol, sol2, dt200,
                   14242: #        trs80, trs100, trs200, trs600, xitex, rsvidtx, vid, att2300-x40,
                   14243: #        att2350-x40, att4410-nfk, att5410-ns, otty5410, att5425-nl-w,
                   14244: #        tty5425-fk, tty5425-w-fk, cita, c108-na, c108-rv-na, c100-rv-na,
                   14245: #        c108-na-acs, c108-rv-na-acs, ims950-ns, infotonKAS, ncr7900i-na,
                   14246: #        regent60na, scanset-n, tvi921-g, tvi925n, tvi925vbn, tvi925vb,
                   14247: #        vc404-na, vc404-s-na, vt420nam, vt420f-nam, vt420pc-nam, vt510nam,
                   14248: #        vt510pc-nam, vt520nam, vt525nam, xterm25, xterm50, xterm65, xterms.
                   14249: #      * Corrected pcvt25h as suggested by Brian C. Grayson
                   14250: #        <bgrayson@pine.ece.utexas.edu>.
                   14251: # 9.11.3 (Thu Nov  9 12:14:40 EST 1995):
                   14252: #      * Added kspd=\E[P, kcbt=\E[Z, to linux entry, changed kbs back to ^H.
                   14253: #      * Added kent=\EOM to xterm entry.
                   14254: #
                   14255: # 9.11.4 (Fri Nov 10 08:31:35 EST 1995):
                   14256: #      * Corrected gigi entry.
                   14257: #      * Restored cuf/cud1 to xterm, their apparent bugginess was due to
                   14258: #        bad hpa/vpa capabilities.
                   14259: #      * Corrected flash strings to have a uniform delay of .2 sec.  No
                   14260: #        more speed-dependent NUL-padding!
                   14261: #      * terminfo capabilities in comments bracketed with <>.
                   14262: # 9.11.5 (Fri Nov 10 15:35:02 EST 1995):
1.3       deraadt  14263: #      * Replaced pcvt with the 3.31 pcvt entries.
1.2       deraadt  14264: #      * Freeze for 1.9.7a.
1.3       deraadt  14265: # 9.11.6 (Mon Nov 13 10:20:24 EST 1995):
                   14266: #      * Added emu entry from the X11R6 contrib tape sources.
                   14267: #
                   14268: # 9.12.0 (Wed Nov 29 04:22:25 EST 1995):
                   14269: #      * Improved iris-ansi and sun entries.
                   14270: #      * More flash string improvements.
                   14271: #      * Corrected wy160 & wy160 as suggested by Robert Dunn
                   14272: #      * Added dim to at386.
                   14273: #      * Reconciled pc3 and ibmpc3 with the BSDI termcap file.  Keith says
                   14274: #        he's ready to start using the termcap generated from this one.
                   14275: #      * Added vt102-w, vt220-w, xterm-bold, wyse-vp, wy75ap, att4424m,
                   14276: #        ln03, lno3-w, h19-g, z29a*, qdss.  Made vt200 an alias of vt220.
                   14277: #      * Improved hpterm, apollo consoles, fos, qvt101, tvi924. tvi925,
                   14278: #        att610, att620, att630,
                   14279: #      * Changed hazeltine name prefix from h to hz.
                   14280: #      * Sent t500 to the UFI file.
                   14281: #      * I think we've sucked all the juice out of BSDI's termcap file now.
                   14282: #      * Freeze for ncurses 1.9.8 release
                   14283: # 9.12.1 (Thu Nov 30 03:14:06 EST 1995)
                   14284: #      * Unfreeze, linux kbs needed to be fixed.
                   14285: #      * Tim Theisen pinned down a bug in the DMD firmware.
                   14286: # 9.12.2 (Thu Nov 30 19:08:55 EST 1995):
                   14287: #      * Fixes to ansi and klone capabilities (thank you, Aaron Ucko).
                   14288: #        (The broken ones had been shadowed by sgr.)
                   14289: # 9.12.3 (Thu Dec  7 17:47:22 EST 1995):
                   14290: #      * Added documentation on ECMA-48 standard.
                   14291: #      * New Amiga entry.
1.5       tholo    14292: # 9.12.4 (Thu Dec 14 04:16:39 EST 1995):
                   14293: #      * More ECMA-48 stuff
                   14294: #      * Corrected typo in minix entry, added pc-minix.
                   14295: #      * Corrected khome/kend in xterm (thank you again, Aaron Ucko).
                   14296: #      * Added rxvt entry.
                   14297: #      * Added 1.3.x color-change capabilities to linux entry.
                   14298: # 9.12.5 (Tue Dec 19 00:22:10 EST 1995):
                   14299: #      * Corrected rxvt entry khome/kend.
                   14300: #      * Corrected linux color change capabilities.
                   14301: #      * NeXT entries from Dave Wetzel.
                   14302: #      * Cleaned up if and rf file names (all in /usr/share now).
                   14303: #      * Changed linux op capability to avoid screwing up a background color
                   14304: #        pair set by setterm.
                   14305: # 9.12.6 (Wed Feb  7 16:14:35 EST 1996):
                   14306: #      * Added xterm-sun.
                   14307: # 9.12.7 (Fri Feb  9 13:27:35 EST 1996):
                   14308: #      * Added visa50.
                   14309: #
                   14310: # 9.13.0 (Sun Mar 10 00:13:08 EST 1996):
                   14311: #      * Another sweep through the Shuford archive looking for new info.
                   14312: #      * Added dg100 alias to dg6053 based on a comp.terminals posting.
                   14313: #      * Added st52 from Per Persson.
                   14314: #      * Added eterm from the GNU Emacs 19.30 distribution.
                   14315: #      * Freeze for 1.9.9.
                   14316: # 9.13.1 (Fri Mar 29 14:06:46 EST 1996):
                   14317: #      * FreeBSD console entries from Andrew Chernov.
                   14318: #      * Removed duplicate Atari st52 name.
                   14319: # 9.13.2 (Tue May  7 16:10:06 EDT 1996)
                   14320: #      * xterm doesn't actually have ACS_BLOCK.
                   14321: #      * Change klone+color setf/setb to simpler forms that can be
                   14322: #        translated into termcap.
                   14323: #      * Added xterm1.
                   14324: #      * Removed mechanically-generated junk capabilities from cons* entries.
                   14325: #      * Added color support to bsdos.
                   14326: # 9.13.3 (Thu May  9 10:35:51 EDT 1996):
                   14327: #      * Added Wyse 520 entries from Wm. Randolph Franklin <wrf@ecse.rpi.edu>.
                   14328: #      * Created ecma+color, linux can use it.  Also added ech to linux.
                   14329: #      * Teach xterm about more keys. Add Thomas Dickey's 3.1.2E updates.
                   14330: #      * Add descriptions to FreeBSD console entries.  Also shorten
                   14331: #        some aliases to <= 14 chars for portability.
                   14332: #      * Added x68k console
                   14333: #      * Added OTbs to several VT-series entries.
                   14334: # 9.13.4 (Wed May 22 10:54:09 EDT 1996):
                   14335: #      * screen entry update for 3.7.1 from Michael Alan Dorfman.
                   14336: # 9.13.5 (Wed Jun  5 11:22:41 EDT 1996):
                   14337: #      * kterm correction due to Kenji Rikitake.
                   14338: #      * ACS correction in vt320-kll due to Phillippe De Muyter.
                   14339: # 9.13.6 (Sun Jun 16 15:01:07 EDT 1996):
                   14340: #      * Sun console entry correction from J.T. Conklin.
                   14341: #      * Changed all DEC VT300 and up terminals to use VT300 tab set
                   14342: # 9.13.7 (Mon Jul  8 20:14:32 EDT 1996):
                   14343: #      * Added smul to linux entry (we never noticed it was missing
                   14344: #        because of sgr!).
                   14345: #      * Added rmln to hp+labels (deduced from other HP entries).
                   14346: #      * Added vt100 acsc capability to vt220, vt340, vt400, d800, dt80-sas,
                   14347: #        pro350, att7300, 5420_2, att4418, att4424, att4426, att505, vt320-k3.
                   14348: #      * Corrected vt220 acsc.
                   14349: #      * The klone+sgr and klone+sgr-dumb entries now use klone+acs;
                   14350: #        this corresponds to reality and helps prevent some tic warnings.
                   14351: #      * Added sgr0 to c101, pcix, vt100-nav, screen2, oldsun, next, altos2,
                   14352: #        hpgeneric, hpansi, hpsub, hp236, hp700-wy, bobcat, dku7003, adm11,
                   14353: #        adm12, adm20, adm21, adm22, adm31, adm36, adm42, pt100, pt200,
                   14354: #        qvt101, tvi910, tvi921, tvi92B, tvi925, tvi950, tvi970, wy30-mc,
                   14355: #        wy50-mc, wy100, wyse-vp, ampex232, regent100, viewpoint, vp90,
                   14356: #        adds980, cit101, cit500, contel300, cs10, dm80, falco, falco-p,
                   14357: #        f1720a, go140, sb1, superbeeic, microb, ibm8512, kt7, ergo4000,
                   14358: #        owl, uts30, dmterm, dt100, dt100, dt110, appleII, apple-videx,
                   14359: #        lisa, trsII, atari, st52, pc-coherent, basis, m2-man, bg2.0, bg1.25,
                   14360: #        dw3, ln03, ims-ansi, graphos, t16, zen30, xtalk, simterm, d800,
                   14361: #        ifmr, v3220, wy100q, tandem653, ibmaed.
                   14362: #      * Added DWK terminal description.
1.8       tholo    14363: # 9.13.8 (Wed Jul 10 11:45:21 EDT 1996):
1.5       tholo    14364: #      * Many entries now have highlights inherited from adm+sgr.
                   14365: #      * xterm entry now corresponds to XFree86 3.1.2E, with color.
                   14366: #      * xtitle and xtitle-twm enable access to the X status line.
                   14367: #      * Added linux-1.3.6 color palette caps in conventional format.
                   14368: #      * Added adm1178 terminal.
                   14369: #      * Move fos and apollo terminals to obsolete category.
                   14370: #      * Aha! The BRL terminals file told us what the Iris extensions mean.
                   14371: #      * Added, from the BRL termcap file: rt6221, rt6221-w, northstar,
                   14372: #        commodore, cdc721-esc, excel62, osexec.  Replaced from the BRL file:
1.8       tholo    14373: #        cit500, adm11.
                   14374: # 9.13.9 (Mon Jul 15 00:32:51 EDT 1996):
                   14375: #      * Added, from the BRL termcap file: cdc721, cdc721l, cdc752, cdc756,
                   14376: #        aws, awsc, zentec8001, modgraph48, rca vp3301/vp3501, ex155.
                   14377: #      * Corrected, from BRL termcap file: vi50.
                   14378: #      * Better rxvt entry & corrected xterm entries from Thomas Dickey.
                   14379: # 9.13.10 (Mon Jul 15 12:20:13 EDT 1996):
                   14380: #      * Added from BRL: cit101e & variants, hmod1, vi200, ansi77, att5620-1,
                   14381: #        att5620-s, att5620-s, dg210, aas1901, hz1520, hp9845, osborne
                   14382: #        (old osborne moved to osborne-w), tvi970-vb, tvi970-2p, tvi925-hi,
                   14383: #        tek4105brl, tek4106brl, tek4107brl,tek4109brl, hazel, aepro,
                   14384: #        apple40p, apple80p, appleIIgs, apple2e, apple2e-p, apple-ae.
                   14385: #      * Paired-attribute fixes to various terminals.
                   14386: #      * Sun entry corrections from A. Lukyanov & Gert-Jan Vons.
                   14387: #      * xterm entry corrections from Thomas Dickey.
                   14388: # 9.13.11 (Tue Jul 30 16:42:58 EDT 1996):
                   14389: #      * Added t916 entry, translated from a termcap in SCO's support area.
                   14390: #      * New qnx entry from Michael Hunter.
                   14391: # 9.13.12 (Mon Aug  5 14:31:11 EDT 1996):
                   14392: #      * Added hpex2 from Ville Sulko.
                   14393: #      * Fixed a bug that ran the qnx and pcvtXX together.
                   14394: # 9.13.13 (Fri Aug  9 01:16:17 EDT 1996):
                   14395: #      * Added dtterm entry from Solaris CDE.
                   14396: # 9.13.14 (Tue Sep 10 15:31:56 EDT 1996):
                   14397: #      * corrected pairs#8 typo in dtterm entry.
                   14398: #      * added tvi9065.
                   14399: # 9.13.15 (Sun Sep 15 02:47:05 EDT 1996):
                   14400: #      * updated xterm entry to cover 3.1.2E's new features.
                   14401: # 9.13.16 (Tue Sep 24 12:47:43 EDT 1996):
                   14402: #      * Added new minix entry
                   14403: #      * Removed aliases of the form ^[0-9]* for obsolete terminals.
                   14404: #      * Commented out linux-old, nobody's using pre-1.2 kernels now.
                   14405: # 9.13.17 (Fri Sep 27 13:25:38 EDT 1996):
                   14406: #      * Added Prism entries and kt7ix.
                   14407: #      * Caution notes about EWAN and tabset files.
                   14408: #      * Changed /usr/lib/tabset -> /usr/share/tabset.
                   14409: #      * Added acsc/rmacs/smacs to vt52.
                   14410: # 9.13.18 (Mon Oct 28 13:24:59 EST 1996):
                   14411: #      * Merged in Thomas Dickey's reorganization of the xterm entries;
                   14412: #        added technical corrections to avoid warning messages.
                   14413: # 9.13.19 (Sat Nov 16 16:05:49 EST 1996):
                   14414: #      * Added rmso=\E[27m in Linux entry.
                   14415: #      * Added koi8-r support for Linux console.
                   14416: #      * Replace xterm entries with canonical ones from XFree86 3.2.
                   14417: # 9.13.20 (Sun Nov 17 23:02:51 EST 1996):
                   14418: #      * Added color_xterm from Jacob Mandelson
                   14419: # 9.13.21 (Mon Nov 18 12:43:42 EST 1996):
                   14420: #      * Back off the xterm entry to use r6 as a base.
                   14421: # 9.13.22 (Sat Nov 30 11:51:31 EST 1996):
                   14422: #      * Added dec-vt220 at Adrian Garside's request.
                   14423: # 9.13.23 (Fri Feb 21 16:36:06 EST 1997):
                   14424: #      * Replaced minitel-2 entry.
                   14425: #      * Added MGR, ansi-nt.
                   14426: #      * Minor corrections to xterm entries.
                   14427: #      * Replaced EWAN telnet entry.
                   14428: #      * Dropped the reorder script generator.  It was a fossil.
                   14429: # 9.13.24 (Sun Feb 23 20:55:23 EST 1997):
                   14430: #      * Thorsten Lockert added termcap `bs' to a lot of types, working from
                   14431: #        the 4.4BSD Lite2 file.
1.13      millert  14432: # 9.13.25 (Fri Jun 20 12:33:36 EDT 1997):
                   14433: #      * Added Datapoint 8242, pilot, ansi_psx, rbcomm, vt220js.
                   14434: #      * Updated iris-ansi; corrected vt102-w.
                   14435: #      * Switch base xterm entry to 3.3 level.
                   14436: # 9.13.26 (Mon Jun 30 22:45:45 EDT 1997)
                   14437: #      * Added basic4.
                   14438: #      * Removed rmir/smir from tv92B.
                   14439: #
                   14440: # 10.2.0 (Sat Feb 28 12:47:36 EST 1998):
                   14441: #      * add hds200 description (Walter Skorski)
                   14442: #      * add beterm entry (Fred Fish)
                   14443: #      * add Thomas Dickey's xterm-xf86-v40, xterm-8bit, xterm-16color,
                   14444: #        iris-color entries.
                   14445: #      * add emx entries.
                   14446: #      * Replaced unixpc entry with Benjamin Sittler's corrected version.
                   14447: #      * Replaced xterm/rxvt/emu/syscons entries with Thomas Dickey's
                   14448: #        versions.
                   14449: #      * remove sgr string from qnx based on report by Xiaodan Tang
                   14450: #      * Added u8/u9, removed rmul/smul from sun-il.
                   14451: #      * 4.2 tic displays \0 rather than \200.
                   14452: #      * add linux-koi8r to replace linux-koi8 (which uses a corrupt acsc,
                   14453: #        apparently based on cp-866).
                   14454: #      * Merged in Pavel Roskin's acsc for linux-koi8
                   14455: #      * Corrected some erroneous \\\s to \.
                   14456: #      * 4.2 ncurses has been changed to use setaf/setab, consistent w/SysV.
                   14457: #      * II -> ii in pcvtXX, screen, xterm.
                   14458: #      * Removed \n chars following ANSI escapes in sgr & friends.
                   14459: #      * Updated Wyse entries.
                   14460: #      * h19 corrections from Tim Pierce.
                   14461: #      * Noted that the dm2500 has both ich and smir.
                   14462: #      * added pccons for the Alpha under OSF/1.
                   14463: #      * Added Sony NEWS workstation entries and cit101e-rv.
                   14464: #      * Reverted `amiga'; to Kent Polk's version, as I'm told
                   14465: #        the Verkuil entry messes up with Amiga Telnet.
                   14466: # 10.2.1 (Sun Mar  8 18:32:04 EST 1998):
                   14467: #      * Corrected attributions in 10.2.0 release notes.
                   14468: #      * Scanned the Shuford archive for new terminfos and information.
                   14469: #      * Removed sgr from qnx entry (Thomas Dickey).
                   14470: #      * Added entries for ICL and Kokusai Data Systems terminals.
                   14471: #      * Incorporated NCR terminfos from the Boundless Technology FTP site.
                   14472: #      * Incorporated att700 from the Boundless Technology FTP site.
                   14473: #      * Miscellaneous contact-address and Web-page updates.
                   14474: # 10.2.2 (Thu May  7 12:18:04 EDT 1998):
                   14475: #      * Moved Altos to OBSOLETE UNIX CONSOLES
                   14476: #      * Moved Hewlett-Packard terminals to OLDER TERMINAL TYPES, except for
                   14477: #        the 700s which go to WORKSTATION CONSOLES.
                   14478: #      * Major reorganization of ANSI/console/VT types.  Moved vt52 to the
                   14479: #        obsolete section.
                   14480: #      * Daisy-wheel printers moved to UFO file.
                   14481: # 10.2.3 (Tue May 12 22:59:11 EDT 1998):
                   14482: #      * Commented out hds200 is2 to avoid overflowing terminfo length limit.
                   14483: #      * Restored OT capabilities to UFO file.
                   14484: #      * add nxterm and xterm-color terminfo description (request by Cristian
                   14485: #        Gafton <gafton@redhat.com>).
                   14486: #      * Modify rxvt terminfo description to clear alternate screen before
                   14487: #        switching back to normal screen, for compatibility with applications
                   14488: #        which use xterm (reported by Manoj Kasichainula <manojk@io.com>).
                   14489: #      * Modify linux terminfo description to reset color palette (reported
                   14490: #        by Telford Tendys <telford@eng.uts.edu.au>).
1.1       deraadt  14491: #
1.13      millert  14492: # The following sets edit modes for GNU EMACS.
1.1       deraadt  14493: # Local Variables:
                   14494: # fill-prefix:"\t"
                   14495: # fill-column:75
1.13      millert  14496: # comment-column:0
                   14497: # comment-start-skip:"^#+"
                   14498: # comment-start:"# "
                   14499: # compile-command:"tic -c termtypes.master"
1.1       deraadt  14500: # End:
                   14501: ######## SHANTIH!  SHANTIH!  SHANTIH!