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

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

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.13    ! millert   996:        :k;=\E[29~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:\
        !           997:        :kd=\E[B:kh=\E[1~:kl=\E[D:kr=\E[C:ku=\E[A: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.13    ! millert  1040:        :kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:\
1.5       tholo    1041:        :ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
                   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:\
        !          1066:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:\
        !          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.5       tholo    1165:        :k8=\E[19~:k9=\E[20~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
                   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.5       tholo    1208:        :k8=\E[19~:k9=\E[20~:kb=^H: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~:\
                   1231:        :kb=^H:kd=\E[B:ke=\E>:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=^H:\
                   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~:\
                   1322:        :kb=^H: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~:\
                   1344:        :kb=^H: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.
                   1538: xterm|vs100|xterms|xterm terminal emulator (X Window System):\
1.13    ! millert  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:\
1.8       tholo    1542:        :tc=xterm-r6:
1.5       tholo    1543:
                   1544: # These entries allow access to the X titlebar and icon name as a status line.
                   1545: # Note that twm (and possibly window managers descended from it such as tvtwm,
                   1546: # ctwm, and vtwm) track windows by icon-name; thus, you don't want to mess
                   1547: # with it.
1.8       tholo    1548: xterm+sl|access X title line and icon name:\
1.5       tholo    1549:        :hs:\
                   1550:        :ws#40:\
                   1551:        :ds=\E]0;\007:fs=^G:ts=\E]0;:
1.8       tholo    1552: xterm+sl-twm|access X title line (pacify twm-descended window managers):\
1.5       tholo    1553:        :hs:\
                   1554:        :ws#40:\
                   1555:        :ds=\E]2;\007:fs=^G:ts=\E]2;:
                   1556:
                   1557: #
1.8       tholo    1558: # The following xterm variants don't depend on your base version
1.5       tholo    1559: #
1.3       deraadt  1560: xterm-bold|xterm terminal emulator (X11R6 Window System) standout w/bold:\
1.5       tholo    1561:        :so=\E[1m:\
                   1562:        :tc=xterm:
1.2       deraadt  1563: # (kterm: this had extension capabilities ":KJ:TY=ascii:" -- esr)
1.5       tholo    1564: # (kterm should not invoke DEC Graphics as the alternate character set
                   1565: #  -- Kenji Rikitake)
1.1       deraadt  1566: kterm|kterm kanji terminal emulator (X window system):\
                   1567:        :es:hs:\
1.13    ! millert  1568:        :Km=\E[M:ac@:ae@:as@:cs=\E[%i%d;%dr:ds=\E[?H:eA@:fs=\E[?F:\
        !          1569:        :op=\E[39;49m:rc=\E8:sc=\E7:ts=\E[?E\E[?%i%dT:\
        !          1570:        :tc=xterm-r6:tc=klone+color:
1.1       deraadt  1571: # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
                   1572: xterm-nic|xterm with ich/ich1 suppressed for non-curses programs:\
1.5       tholo    1573:        :IC@:ei=:ic@:im=:\
                   1574:        :tc=xterm:
                   1575: # From: Mark Sheppard <kimble@mistral.co.uk>, 4 May 1996
                   1576: xterm1|xterm terminal emulator ignoring the alternate screen buffer:\
                   1577:        :te@:ti@:\
                   1578:        :tc=xterm:
                   1579:
1.8       tholo    1580: # This describes the capabilities of color_xterm, an xterm variant from
                   1581: # before ECMA-64 color support was folded into the main-line xterm release.
                   1582: # This entry is straight from color_xterm's maintainer.
                   1583: # From: Jacob Mandelson <jlm@ugcs.caltech.edu>, 09 Nov 1996
1.13    ! millert  1584: # The README's with the distribution also say that it supports SGR 21, 24, 25
        !          1585: # and 27, but they are not present in the terminfo or termcap.
1.8       tholo    1586: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   1587: # (sgr removed to fit entry within 1023 bytes)
                   1588: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
                   1589: color_xterm|cx|cx100|color_xterm color terminal emulator for X:\
1.13    ! millert  1590:        :am:bs:km:mi:ms:xn:\
1.8       tholo    1591:        :co#80:it#8:li#65:\
                   1592:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   1593:        :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
                   1594:        :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:\
                   1595:        :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
                   1596:        :cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:\
                   1597:        :i1=\E[r\E[m\E[?7h\E[?4;6l\E[4l:im=\E[4h:k1=\E[11~:\
                   1598:        :k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:k6=\E[17~:\
                   1599:        :k7=\E[18~:k8=\E[19~:k9=\E[20~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
                   1600:        :kb=^H:kd=\EOB:kh=\E[7~:kl=\EOD:kr=\EOC:ku=\EOA:le=^H:\
                   1601:        :md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[27m:\
                   1602:        :sf=^J:so=\E[7m:sr=\EM:ta=^I:te=\E>\E[?41;1r:\
                   1603:        :ti=\E[?1;41s\E[?1;41h\E=:ue=\E[24m:up=\E[A:us=\E[4m:
                   1604:
1.13    ! millert  1605: # The 'nxterm' distributed with Redhat Linux is a slight rehack of
        !          1606: # xterm-sb_right-ansi-3d, which implements ANSI colors, but does not support
        !          1607: # SGR 39 or 49.  SGR 0 does reset colors (along with everything else).  This
        !          1608: # description is "compatible" with color_xterm, rxvt and XFree86 xterm, except
        !          1609: # that each of those implements the home, end, delete keys differently.
        !          1610: nxterm|xterm-color|generic color xterm:\
        !          1611:        :op=\E[m:tc=xterm-r6:\
        !          1612:        :tc=klone+color:
        !          1613:
        !          1614: # From: Thomas Dickey <dickey@clark.net> 04 Oct 1997
        !          1615: # Updated: Oezguer Kesim <kesim@math.fu-berlin.de> 02 Nov 1997
        !          1616: # Notes:
        !          1617: # rxvt 2.21b uses
        !          1618: #      smacs=\E(B\E)U^N, rmacs=\E(B\E)0^O,
        !          1619: # but some applications don't work with that.
        !          1620: # It also has an AIX extension
        !          1621: #      box2=lqkxjmwuvtn,
        !          1622: # and
        !          1623: #      ech=\E[%p1%dX,
        !          1624: # but the latter does not work correctly.
        !          1625: #
        !          1626: # rxvt is normally configured to look for "xterm" or "xterm-color" as $TERM.
        !          1627: # Since rxvt is not really compatible with xterm, it should be configured as
        !          1628: # "rxvt" (monochrome) and "rxvt-color".
1.8       tholo    1629: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   1630: # (sgr removed to fit entry within 1023 bytes)
                   1631: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.13    ! millert  1632: rxvt-basic|rxvt terminal base (X Window System):\
        !          1633:        :am:eo:km:mi:ms:xn:xo:\
1.8       tholo    1634:        :co#80:it#8:li#24:\
                   1635:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.13    ! millert  1636:        :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
        !          1637:        :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:\
        !          1638:        :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
        !          1639:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:\
        !          1640:        :ho=\E[H:i1=\E[?47l\E=\E[?1l:ic=\E[@:im=\E[4h:\
1.8       tholo    1641:        :is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l:\
                   1642:        :k0=\E[21~:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:\
                   1643:        :k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
                   1644:        :kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:ke=\E>:\
                   1645:        :kh=\E[7~:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=^H:mb=\E[5m:\
1.13    ! millert  1646:        :md=\E[1m:me=\E[0m\017:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:\
        !          1647:        :se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
        !          1648:        :te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[24m:up=\E[A:\
        !          1649:        :us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:\
        !          1650:        :vs=\E[?25h:
        !          1651: rxvt|rxvt terminal emulator (X Window System):\
        !          1652:        :Co#8:pa#64:\
        !          1653:        :AB=\E[%p1%{40}%+%dm:AF=\E[%p1%{30}%+%dm:me=\E[m\017:\
        !          1654:        :op=\E[39;49m:\
        !          1655:        :tc=rxvt-basic:
1.1       deraadt  1656:
                   1657: # From: David J. MacKenzie <djm@va.pubnix.com> 20 Apr 1995
                   1658: # Here's a termcap entry I've been using for xterm_color, which comes
                   1659: # with BSD/OS 2.0, and the X11R6 contrib tape too I think.  Besides the
                   1660: # color stuff, I also have a status line defined as the window manager
                   1661: # title bar. [I have translated it to terminfo -- ESR]
                   1662: xterm-pcolor|xterm with color used for highlights and status line:\
1.5       tholo    1663:        :md=\E[1m\E[43m:mr=\E[7m\E[34m:so=\E[7m\E[31m:\
                   1664:        :us=\E[4m\E[42m:\
1.13    ! millert  1665:        :tc=xterm+sl:tc=xterm-r6:
1.1       deraadt  1666:
1.3       deraadt  1667: # HP ships this, except for the pb#9600 which was merged in from BSD termcap.
1.5       tholo    1668: # (hpterm: added empty <acsc>, we have no idea what ACS chars look like --esr)
1.13    ! millert  1669: hpterm|X-hpterm|hp X11 terminal emulator:\
1.2       deraadt  1670:        :am:da:db:mi:xs:\
1.3       deraadt  1671:        :Nl#8:co#80:lh#2:li#24:lm#0:lw#8:pb#9600:sg#0:\
1.5       tholo    1672:        :LF=\E&j@:LO=\E&jB:ac=:ae=^O:al=\EL:as=^N:bl=^G:bt=\Ei:\
                   1673:        :cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:\
                   1674:        :cr=^M:ct=\E3:cv=\E&a%dY:dc=\EP:dl=\EM:do=\EB:ei=\ER:im=\EQ:\
                   1675:        :k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:\
                   1676:        :kA=\EL:kC=\EJ:kD=\EP:kE=\EK:kF=\ES:kH=\EF:kI=\EQ:kL=\EM:\
                   1677:        :kM=\ER:kN=\EU:kP=\EV:kR=\ET:kS=\EJ:kT=\E1:ka=\E3:kb=^H:\
                   1678:        :kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:\
                   1679:        :ku=\EA:le=^H:md=\E&dB:me=\E&d@:mh=\E&dH:ml=\El:mr=\E&dB:\
                   1680:        :mu=\Em:nd=\EC:..pk=\E&f%p1%dk%p2%l%dL%p2%s:\
1.3       deraadt  1681:        :..pl=\E&f1a%p1%dk%p2%l%dL%p2%s:\
                   1682:        :..pn=\E&f%p1%dk%p2%l%dd0L%p2%s:\
                   1683:        :..px=\E&f2a%p1%dk%p2%l%dL%p2%s:\
1.2       deraadt  1684:        :..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    1685:        :se=\E&d@:sf=^J:so=\E&dJ:sr=\ET:st=\E1:ta=^I:ue=\E&d@:\
                   1686:        :up=\EA:us=\E&dD:
                   1687:
                   1688: # This entry describes an xterm with Sun-style function keys enabled
                   1689: # via the X resource setting "xterm*sunFunctionKeys:true"
                   1690: # To understand <kf11>/<kf12> note that L1,L2 and F11,F12 are the same.
                   1691: # The <kf13>...<kf20> keys are L3-L10.  We don't set <kf16=\E[197z>
                   1692: # because we want it to be seen as <kcpy>.
                   1693: # The <kf31>...<kf45> keys are R1-R15.  We treat some of these in accordance
                   1694: # with their Sun keyboard labels instead.
                   1695: # From: Simon J. Gerraty <sjg@zen.void.oz.au> 10 Jan 1996
                   1696: xterm-sun|xterm with sunFunctionKeys true:\
                   1697:        :%1=\E[196z:&8=\E[195z:@0=\E[200z:@5=\E[197z:@7=\E[220z:\
                   1698:        :F1=\E[192z:F2=\E[193z:F3=\E[194z:F4=\E[195z:F5=\E[196z:\
                   1699:        :F7=\E[198z:F8=\E[199z:F9=\E[200z:FA=\E[201z:FL=\E[208z:\
                   1700:        :FM=\E[209z:FN=\E[210z:FO=\E[211z:FP=\E[212z:FQ=\E[213z:\
                   1701:        :FS=\E[215z:FU=\E[217z:FW=\E[219z:FY=\E[221z:K2=\E[218z:\
                   1702:        :k1=\E[224z:k2=\E[225z:k3=\E[226z:k4=\E[227z:k5=\E[228z:\
                   1703:        :k6=\E[229z:k7=\E[230z:k8=\E[231z:k9=\E[232z:k;=\E[233z:\
                   1704:        :kI=\E[2z:kN=\E[222z:kP=\E[216z:kh=\E[214z:\
                   1705:        :tc=xterm:
                   1706: xterms-sun|small (80x24) xterm with sunFunctionKeys true:\
                   1707:        :co#80:li#24:tc=xterm-sun:
1.2       deraadt  1708:
1.3       deraadt  1709: # This is for the extensible terminal emulator on the X11R6 contrib tape.
                   1710: emu|emu native mode:\
                   1711:        :mi:ms:xo:\
                   1712:        :Co#15:co#80:it#8:li#24:pa#64:vt#200:\
1.13    ! millert  1713:        :*6=\Esel:@0=\Efind:@8=^M:AB=\Es%i%p1%d;:AF=\Er%i%p1%d;:\
        !          1714:        :AL=\EQ%d;:DC=\EI%d;:DL=\ER%d;:DO=\Ep%d;:F1=\EF11:\
        !          1715:        :F2=\EF12:F3=\EF13:F4=\EF14:F5=\EF15:F6=\EF16:F7=\EF17:\
        !          1716:        :F8=\EF18:F9=\EF19:FA=\EF20:LE=\Eq-%d;:RI=\Eq%d;:\
        !          1717:        :UP=\Ep-%d;:\
        !          1718:        :ac=61a\202f\260g2j\213k\214l\215m\216n\217o\220q\222s\224t\225u\226v\227w\230x\231~\244:\
        !          1719:        :ae=\0:al=\EQ1;:as=\0:bl=^G:cb=\EL:cd=\EN:ce=\EK:\
1.5       tholo    1720:        :cl=\EP\EE0;0;:cm=\EE%d;%d;:cr=^M:cs=\Ek%d;%d;:ct=\Ej:\
1.13    ! millert  1721:        :dc=\EI1;:dl=\ER1;:do=\EB:eA=\0:ec=\Ej%d;:ei=\EX:\
1.5       tholo    1722:        :ho=\EE0;0;:im=\EY:is=\ES\Er0;\Es0;:k0=\EF00:k1=\EF01:\
                   1723:        :k2=\EF02:k3=\EF03:k4=\EF04:k5=\EF05:k6=\EF06:k7=\EF07:\
                   1724:        :k8=\EF08:k9=\EF09:k;=\EF10:kD=\177:kI=\Eins:kN=\Enext:\
                   1725:        :kP=\Eprior:kb=^H:kd=\EB:kl=\EC:kr=\ED:ku=\EA:le=^H:\
                   1726:        :mb=\ES\EW:md=\ES\EU:me=\ES:mr=\ES\ET:nd=\ED:\
                   1727:        :oc=\Es0;\Er0;:r2=\ES\Es0;\Er0;:se=\ES:sf=\EG:so=\ES\ET:\
                   1728:        :sr=\EF:st=\Eh:ta=^I:ue=\ES:up=\EA:us=\ES\EV:ve=\Ea:vi=\EZ:\
                   1729:        :vs=\Ea:
1.3       deraadt  1730:
1.13    ! millert  1731: ######## COMMERCIAL WORKSTATION CONSOLES
1.8       tholo    1732: #
1.13    ! millert  1733:
        !          1734: #### Alpha consoles
1.8       tholo    1735: #
                   1736:
1.13    ! millert  1737: # This is from the OSF/1 Release 1.0 termcap file
        !          1738: pccons|pcconsole|ANSI (mostly) Alpha PC console terminal emulation:\
        !          1739:        :am:xo:\
        !          1740:        :co#80:li#25:\
        !          1741:        :al=\E[L:bl=^G:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
        !          1742:        :dc=\E[P:dl=\E[M:do=^J:ei=:ho=\E[H:ic=\E[@:im=:kb=^H:kd=\E[B:\
        !          1743:        :kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:mr=\E[7m:\
        !          1744:        :nd=\E[C:nw=^M^J:se=\E[m:so=\E[7m:ta=^I:up=\E[A:
1.8       tholo    1745:
1.13    ! millert  1746: #### AT&T consoles
1.1       deraadt  1747: #
                   1748:
1.13    ! millert  1749: # This actually describes the generic SVr4 display driver for Intel boxes.
        !          1750: # The :mh=\E[2m: isn't documented and therefore may not be reliable.
        !          1751: # From: Eric Raymond <esr@snark.thyrsus.com> Mon Nov 27 19:00:53 EST 1995
        !          1752: att6386|at386|386at|AT&T WGS 6386 console:\
        !          1753:        :am:bw:eo:xo:\
        !          1754:        :co#80:it#8:li#25:\
        !          1755:        :@7=\E[Y:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\EOZ:\
        !          1756:        :F2=\EOA:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:\
        !          1757:        :SR=\E[%dT:UP=\E[%dA:\
        !          1758:        :ac=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~:\
        !          1759:        :ae=\E[10m:al=\E[1L:as=\E[12m:bl=^G:bt=\E[Z:cd=\E[J:\
        !          1760:        :ce=\E[K:ch=\E[%i%dG:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:\
        !          1761:        :ct=\E[2g:cv=\E[%i%dd:dc=\E[P:dl=\E[1M:do=\E[B:ec=\E[%dX:\
        !          1762:        :ei=:ho=\E[H:ic=\E[1@:im=:is=\E[0;10;39m:k1=\EOP:k2=\EOQ:\
        !          1763:        :k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:k9=\EOX:\
        !          1764:        :k;=\EOY:kB=^]:kD=\E[P:kI=\E[@:kM=\E0:kN=\E[U:kP=\E[V:kb=^H:\
        !          1765:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:\
        !          1766:        :md=\E[1m:me=\E[0;10m:mh=\E[2m:mk=\E[9m:mr=\E[7m:nd=\E[C:\
        !          1767:        :nw=\r\E[S:rc=\E8:\
        !          1768:        :..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:\
        !          1769:        :sc=\E7:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:st=\EH:ta=^I:\
        !          1770:        :ue=\E[m:up=\E[A:us=\E[4m:ve=\E[=1C:vi=\E[=C:\
        !          1771:        :tc=klone+color:
        !          1772: # (pc6300plus: removed ":KM=/usr/lib/ua/kmap.s5:"; renamed BO/EE/CI/CV -- esr)
        !          1773: pc6300plus|AT&T 6300 plus:\
        !          1774:        :am:bs:xo:\
1.5       tholo    1775:        :co#80:li#24:\
1.13    ! millert  1776:        :al=\E[1L:bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[2J\E[H:\
        !          1777:        :cm=\E[%i%2;%2H:cr=^M:ct=\E[3g:dc=\E[1P:dl=\E[1M:do=\E[B:\
        !          1778:        :ei=:ho=\E[H:ic=\E[1@:im=:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:\
        !          1779:        :k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:k9=\EOk:k;=\EOu:kb=^H:\
        !          1780:        :kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
        !          1781:        :me=\E[m:mh=\E[2m:mk=\E[9m:mr=\E[7m:nd=\E[C:nw=^M^J:\
        !          1782:        :se=\E[m:sf=^J:so=\E[7m:st=\EH:ue=\E[m:up=\E[A:us=\E[4m:\
        !          1783:        :ve=\E[=1C:vi=\E[=C:
1.5       tholo    1784:
1.13    ! millert  1785: # From: Benjamin C. W. Sittler <bsittler@nmt.edu>
        !          1786: #
        !          1787: # I have a UNIX PC which I use as a terminal attached to my Linux PC.
        !          1788: # Unfortunately, the UNIX PC terminfo entry that comes with ncurses
        !          1789: # is broken. All the special key sequences are broken, making it unusable
        !          1790: # with Emacs. The problem stems from the following:
        !          1791: #
        !          1792: # The UNIX PC has a plethora of keys (103 of them, and there's no numeric
        !          1793: # keypad!), loadable fonts, and strange highlighting modes ("dithered"
        !          1794: # half-intensity, "smeared" bold, and real strike-out, for example.) It also
        !          1795: # uses resizable terminal windows, but the bundled terminal program always
        !          1796: # uses an 80x24 window (and doesn't support seem to support a 132-column
        !          1797: # mode.)
        !          1798: #
        !          1799: # HISTORY: The UNIX PC was one of the first machines with a GUI, and used a
        !          1800: # library which was a superset of SVr3.5 curses (called tam, for "terminal
        !          1801: # access method".) tam includes support for real, overlapping windows,
        !          1802: # onscreen function key labels, and bitmap graphics. But since the primary
        !          1803: # user interface on the UNIX PC was a GUI program (ua, for "user
        !          1804: # assistant",) and remote administration was considered important for the
        !          1805: # machine, tam also supported VT100-compatible terminals attached to the
        !          1806: # serial port or used across the StarLan network. To simulate the extra keys
        !          1807: # not present on a VT100, users could press ESC and a two-letter sequence,
        !          1808: # such as u d (Undo) or U D (Shift-Undo.) These two-letter sequences,
        !          1809: # however, were not the same as those sent by the actual Undo key. The
        !          1810: # actual Undo key sends ESC 0 s unshifted, and ESC 0 S shifted, for example.
        !          1811: # (If you're interested in adding some of the tam calls to ncurses, btw, I
        !          1812: # have the full documentation and several programs which use tam. It also
        !          1813: # used an extended terminfo format to describe key sequences, special
        !          1814: # highlighting modes, etc.)
        !          1815: #
        !          1816: # KEYS: This means that ncurses would quite painful on the UNIX PC, since
        !          1817: # there are two sequences for every key-modifier combination (local keyboard
        !          1818: # sequence and remote "VT100" sequence.) But I doubt many people are trying
        !          1819: # to use ncurses on the UNIX PC, since ncurses doesn't properly handle the
        !          1820: # GUI. Unfortunately, the terminfo entry (and the termcap, too, I presume)
        !          1821: # seem to have been built from the manual describing the VT100 sequences.
        !          1822: # This means it doesn't work for a real live UNIX PC.
        !          1823: #
        !          1824: # FONTS: The UNIX PC also has a strange interpretation of "alternate
        !          1825: # character set". Rather than the VT100 graphics you might expect, it allows
        !          1826: # up to 8 custom fonts to be loaded at any given time. This means that
        !          1827: # programs expecting VT100 graphics will usually be disappointed. For this
        !          1828: # reason I have disabled the smacs/rmacs sequences, but they could easily be
        !          1829: # re-enabled. Here are the relevant control sequences (from the ESCAPE(7)
        !          1830: # manpage), should you wish to do so:
        !          1831: #
        !          1832: # SGR10 - Select font 0 - ESC [ 10 m or SO
        !          1833: # SGR11 - Select font 1 - ESC [ 11 m or SI
        !          1834: # SGR12 - Select font 2 - ESC [ 12 m
        !          1835: # ... (etc.)
        !          1836: # SGR17 - Select font 7 - ESC [ 17 m
        !          1837: #
        !          1838: # Graphics for line drawing are not reliably found at *any* character
        !          1839: # location because the UNIX PC has dynamically reloadable fonts. I use font
        !          1840: # 0 for regular text and font 1 for italics, but this is by no means
        !          1841: # universal. So ASCII line drawing is in order if smacs/rmacs are enabled.
        !          1842: #
        !          1843: # MISC: The cursor visible/cursor invisible sequences were swapped in the
        !          1844: # distributed terminfo.
        !          1845: #
        !          1846: # To ameliorate these problems (and fix a few highlighting bugs) I rewrote
        !          1847: # the UNIX PC terminfo entry. The modified version works great with Lynx,
        !          1848: # Emacs, and XEmacs running on my Linux PC and displaying on the UNIX PC
        !          1849: # attached by serial cable. In Emacs, even the Undo key works, and many
        !          1850: # applications can now use the F1-F8 keys.
        !          1851: #
        !          1852: # esr's notes:
        !          1853: #      Terminfo entry for the AT&T Unix PC 7300
        !          1854: #      from escape(7) in Unix PC 7300 Manual.
        !          1855: #      Somewhat similar to a vt100-am (but different enough
        !          1856: #      to redo this from scratch.)
        !          1857: #
        !          1858: #      /***************************************************************
        !          1859: #      *
        !          1860: #      *           FONT LOADING PROGRAM FOR THE UNIX PC
        !          1861: #      *
        !          1862: #      *     This routine loads a font defined in the file ALTFONT
        !          1863: #      *     into font memory slot #1.  Once the font has been loaded,
        !          1864: #      *     it can be used as an alternative character set.
        !          1865: #      *
        !          1866: #      *     The call to ioctl with the argument WIOCLFONT is the key
        !          1867: #      *     to this routine.  For more information, see window(7) in
        !          1868: #      *     the PC 7300 documentation.
        !          1869: #      ***************************************************************/
        !          1870: #      #include <string.h>             /* needed for strcpy call */
        !          1871: #      #include <sys/window.h>         /* needed for ioctl call */
        !          1872: #      #define FNSIZE  60              /* font name size */
        !          1873: #      #define ALTFONT  "/usr/lib/wfont/special.8.ft"  /* font file */
        !          1874: #      /*
        !          1875: #      *     The file /usr/lib/wfont/special.8.ft comes with the
        !          1876: #      *     standard PC software.  It defines a graphics character set
        !          1877: #      *     similar to that of the Teletype 5425 terminal.  To view
        !          1878: #      *     this or other fonts in /usr/lib/wfont, use the command
        !          1879: #      *     cfont <filename>.  For further information on fonts see
        !          1880: #      *     cfont(1) in the PC 7300 documentation.
        !          1881: #      */
        !          1882: #
        !          1883: #      struct altfdata         /* structure for alt font data */
        !          1884: #      {
        !          1885: #      short   altf_slot;              /* memory slot number */
        !          1886: #      char    altf_name[FNSIZE];      /* font name (file name) */
        !          1887: #      };
        !          1888: #      ldfont()
        !          1889: #      {
        !          1890: #              int wd;         /* window in which altfont will be */
        !          1891: #              struct altfdata altf;
        !          1892: #              altf.altf_slot=1;
        !          1893: #              strcpy(altf.altf_name,ALTFONT);
        !          1894: #              for (wd =1; wd < 12; wd++) {
        !          1895: #                   ioctl(wd, WIOCLFONT,&altf);
        !          1896: #              }
        !          1897: #      }
        !          1898: #
        !          1899: # (att7300: added :vi:/:ve:/:ic:/<invis> from the BSDI entry,
        !          1900: # they're confirmed by the man page for the System V display---esr)
        !          1901: #
        !          1902: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          1903: # (sgr removed to fit entry within 1023 bytes)
        !          1904: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
        !          1905: att7300|unixpc|pc7300|3b1|s4|AT&T UNIX PC Model 7300:\
        !          1906:        :am:xo:\
1.2       deraadt  1907:        :co#80:it#8:li#24:\
1.13    ! millert  1908:        :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
        !          1909:        :UP=\E[%dA:al=\E[L:bl=^G:bt=\E^I:cd=\E[0J:ce=\E[0K:\
        !          1910:        :cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:\
        !          1911:        :do=\E[B:ei=:ho=\E[H:i1=\017\E[=1w:ic=\E[@:im=:k1=\EOc:\
        !          1912:        :k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:\
        !          1913:        :kD=\ENf:kI=\ENj:kN=\E[U:kP=\E[V:kb=^H:kd=\E[B:kh=\E[H:\
        !          1914:        :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[9m:md=\E[1m:\
        !          1915:        :me=\E[0;10m:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\EE:se=\E[m:\
        !          1916:        :sf=^J:so=\E[7m:sr=\EM:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[=0C:\
        !          1917:        :vi=\E[=1C:
1.1       deraadt  1918:
1.13    ! millert  1919: #### Hewlett-Packard consoles
1.1       deraadt  1920: #
1.13    ! millert  1921: # These are descriptions for the HP700 series, the workstations formerly
        !          1922: # known as Apollos.  HP terminals are described elsewhere in the file
1.1       deraadt  1923: #
                   1924:
1.13    ! millert  1925: # From: Victor Duchovni <vic@fine.princeton.edu>
        !          1926: # (hp700-wy: removed obsolete ":nl=^J:";
        !          1927: # replaced /usr/share/tabset/hp700-wy with std because :it#8:,:st=\E1: -- esr)
        !          1928: hp700-wy|HP700/41 emulating wyse30:\
        !          1929:        :am:bs:bw:mi:ms:\
        !          1930:        :co#80:it#8:li#24:sg#1:\
        !          1931:        :al=0.7*\EE:bt=\EI:cd=\EY:ce=10\ET:cl=^Z:cm=\E=%+ %+ :\
        !          1932:        :cr=^M:ct=\E0:cv=\E[%+ :dc=\EW:dl=\ER:do=^V:ei=\Er:ho=^^:\
        !          1933:        :i1=\E~"\EC\Er\E(\EG0\003\E`9\E`1:\
        !          1934:        :if=/usr/share/tabset/stdcrt:im=\Eq:kB=\EI:kC=^Z:kE=\ET:\
        !          1935:        :kI=\Eq:kM=\Er:kS=\EY:kT=\EI:kb=\177:kd=^V:kh=^^:kl=^H:kr=^L:\
        !          1936:        :ku=^K:le=^H:ll=^^^K:me=10\EG0:nd=^L:se=10\EG0:so=10\EG4:\
        !          1937:        :sr=\Ej:st=\E1:ta=^I:ue=10\EG0:up=^K:us=10\EG8:
        !          1938: # (hp70092: added empty <acsc> to avoid warnings re :as:/:ae: --esr)
        !          1939: hp70092|hp70092a|hp70092A|HP 700/92:\
        !          1940:        :am:da:db:xs:\
        !          1941:        :Nl#8:co#80:lh#2:li#24:lm#0:lw#8:\
        !          1942:        :LF=\E&j@:LO=\E&jB:ac=:ae=^O:al=\EL:as=^N:bl=^G:bt=\Ei:\
        !          1943:        :ce=\EK:ch=\E&a%dC:cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:cr=^M:\
        !          1944:        :ct=\E3:cv=\E&a%dY:dc=\EP:dl=\EM:do=\EB:ei=\ER:im=\EQ:\
        !          1945:        :k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:\
        !          1946:        :kA=\EL:kC=\EJ:kD=\EP:kE=\EK:kF=\ES:kH=\EF:kI=\EQ:kL=\EM:\
        !          1947:        :kM=\ER:kN=\EU:kP=\EV:kR=\ET:kS=\EJ:kT=\E1:ka=\E3:kb=^H:\
        !          1948:        :kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:\
        !          1949:        :ku=\EA:le=^H:mb=\E&dA:md=\E&dB:me=\E&d@:mh=\E&dH:mr=\E&dB:\
        !          1950:        :nd=\EC:se=\E&d@:so=\E&dJ:sr=\ET:st=\E1:ta=^I:ue=\E&d@:\
        !          1951:        :up=\EA:us=\E&dD:
1.8       tholo    1952:
1.13    ! millert  1953: #  HP 700/44 Setup parameters:
        !          1954: # Terminal Mode                HP-PCterm
        !          1955: # Inhibit Auto Wrap    NO
        !          1956: # Status Line          Host Writable
        !          1957: # PC Character Set     YES
        !          1958: # Twenty-Five Line Mode        YES
        !          1959: # XON/XOFF             @128 or 64 (sc)
        !          1960: # Keycode Mode                 NO   or YES (sc)
        !          1961: # Backspace Key                BS or BS/DEL
        !          1962: #
        !          1963: # :is:         sets pcterm; autowrap; 25 lines; pc char set; prog DEL key;
        !          1964: # \E\\? does not turn off keycode mode
        !          1965: # <smsc>       sets alternate start/stop; keycode on
        !          1966: hpansi|hp700|hewlett packard 700/44 in HP-PCterm mode:\
        !          1967:        :am:eo:xn:xo:\
        !          1968:        :co#80:li#25:\
        !          1969:        :@7=\E[4~:RA=\E[?7l:S4=\E[>11h\EPO**x0/65;1/67\E\:\
        !          1970:        :S5=\E[>11l\EP1**x0/11;1/13\E[m\E\:SA=\E[?7h:XF=g:XN=e:\
        !          1971:        :ac=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263:\
        !          1972:        :al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:\
        !          1973:        :cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
        !          1974:        :ic=\E[@:im=:\
        !          1975:        :is=\E[44"p\E[?7h\E[>10h\E[>12h\EP1;1|3/7F\E\:\
        !          1976:        :k1=\E[17~:k2=\E[18~:k3=\E[19~:k4=\E[20~:k5=\E[21~:\
        !          1977:        :k6=\E[23~:k7=\E[24~:k8=\E[25~:k9=\E[26~:k;=\E[28~:\
        !          1978:        :kB=\E[Z:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:kh=\E[1~:kl=\E[D:\
        !          1979:        :kr=\E[C:ku=\E[A:le=\E[D:me=\E[m:nd=\E[C:se=\E[m:sf=^J:\
        !          1980:        :so=\E[7m:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[?25h:\
        !          1981:        :vi=\E[?25l:
1.1       deraadt  1982:
                   1983: #### Iris consoles
                   1984: #
                   1985:
1.13    ! millert  1986: # From: Stefan Stapelberg <stefan@rent-a-guru.de>, 24 Feb 1997
        !          1987: # (iris-ansi: added rmam/smam based on init string -- esr)
        !          1988: iris-ansi|IRIS emulating 40 line ANSI terminal (almost VT100):\
        !          1989:        :am:\
        !          1990:        :co#80:it#8:li#40:\
        !          1991:        :!2=\E[218q:#2=\E[143q:#4=\E[158q:%9=\E[209q:%f=\E[210q:\
        !          1992:        :%i=\E[167q:&7=\E[217q:*4=\E[P:*7=\E[147q:@7=\E[146q:\
        !          1993:        :@8=^M:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:F1=\EOR:F2=\EOS:\
        !          1994:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
        !          1995:        :al=\E[L:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
        !          1996:        :cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:dl=\E[M:do=^J:ho=\E[H:\
        !          1997:        :is=\E[?1l\E>\E[?7h\E[100g\E[0m\E7\E[r\E8:k1=\E[001q:\
        !          1998:        :k2=\E[002q:k3=\E[003q:k4=\E[004q:k5=\E[005q:k6=\E[006q:\
        !          1999:        :k7=\E[007q:k8=\E[008q:k9=\EOP:k;=\EOQ:kB=\E[Z:kD=\177:\
        !          2000:        :kI=\E[139q:kM=\E[146q:kN=\E[154q:kP=\E[150q:kb=^H:\
        !          2001:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:md=\E[1m:\
        !          2002:        :me=\E[m:mr=\E[7m:nd=\E[C:nw=\EE:pk=\EP101;%d.y%s\E\:\
        !          2003:        :rc=\E8:sc=\E7:se=\E[m:sf=\ED:so=\E[1;7m:sr=\EM:st=\EH:\
        !          2004:        :ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[9/y\E[12/y\E[=6l:\
        !          2005:        :vs=\E[10/y\E[=1h\E[=2l\E[=6h:
        !          2006: iris-ansi-ap|IRIS ANSI in application-keypad mode:\
        !          2007:        :F1=\E[011q:F2=\E[012q:is=\E[?1l\E>\E[?7h:k;=\E[010q:\
        !          2008:        :ke=\E>:ks=\E=:\
        !          2009:        :tc=iris-ansi:
        !          2010:
        !          2011: # From the man-page, this is a quasi-vt100 emulator that runs on SGI's IRIX
        !          2012: # (T.Dickey 98/1/24)
        !          2013: iris-color|xwsh|IRIX ANSI with color:\
        !          2014:        :NC#33:\
        !          2015:        :DC=\E[%dP:IC=\E[%d@:ZH=\E[3m:ZR=\E[23m:cs=\E[%i%d;%dr:\
        !          2016:        :ec=\E[%dX:ei=:im=:mh=\E[2m:r1=\Ec:\
        !          2017:        :r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:sc=\E7:\
        !          2018:        :u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?1;2c:u9=\E[c:ue=\E[24m:\
        !          2019:        :tc=klone+color:tc=iris-ansi-ap:
        !          2020:
1.2       deraadt  2021: # (wsiris: this had extension capabilities
1.1       deraadt  2022: #      :HS=\E7F2:HE=\E7F7:\
                   2023: #      :CT#2:CZ=*Bblack,red,green,yellow,blue,magenta,cyan,*Fwhite:
1.8       tholo    2024: # See the note on Iris extensions near the end of this file.
1.5       tholo    2025: # Finally, removed suboptimal :cl:=\EH\EJ and added :do: &
                   2026: # :vb: from BRL -- esr)
1.1       deraadt  2027: wsiris|iris40|iris emulating a 40 line visual 50 (approximately):\
1.8       tholo    2028:        :am:bs:nc:pt:\
                   2029:        :co#80:it#8:kn#3:li#40:\
                   2030:        :al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=\Ev:cm=\EY%+ %+ :dl=\EM:\
                   2031:        :do=\EB:ho=\EH:is=\E7B0\E7F7\E7C2\E7R3:k0=\E0:k1=\E1:\
                   2032:        :k2=\E2:k3=\E3:k4=\E4:k5=\E5:k6=\E6:k7=\E7:k8=\E8:k9=\E9:\
                   2033:        :kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:me=\E7F7:mh=\E7F2:nd=\EC:\
                   2034:        :nl=\EB:se=\E0@:sf=^J:so=\E9P:sr=\EI:ta=^I:ue=\E7R3\E0@:\
                   2035:        :up=\EA:us=\E7R2\E9P:vb=\E7F4\E7B1\013\E7F7\E7B0:ve=\E>:\
                   2036:        :vs=\E;:
1.1       deraadt  2037:
                   2038: #### NeWS consoles
                   2039: #
                   2040: # Console terminal windows under the NeWS (Sun's Display Postscript windowing
                   2041: # environment).   Note: these have nothing to do with Sony's News workstation
                   2042: # line.
                   2043: #
                   2044:
                   2045: # Entry for NeWS's psterm from Eric Messick & Hugh Daniel
1.2       deraadt  2046: # (psterm: unknown ":sl=\EOl:el=\ENl:" removed -- esr)
                   2047: psterm|psterm-basic|NeWS psterm-80x34:\
                   2048:        :am:bs:hs:km:ul:\
1.1       deraadt  2049:        :co#80:it#8:li#34:\
                   2050:        :al=\EA:cd=\EB:ce=\EC:cl=^L:cm=\E%d;%d;:cs=\EE%d;%d;:\
1.2       deraadt  2051:        :dc=\EF:dl=\EK:do=\EP:ei=\ENi:fs=\ENl:ho=\ER:i1=\EN*:\
1.5       tholo    2052:        :im=\EOi:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=\ET:ll=\EU:\
                   2053:        :mb=\EOb:md=\EOd:me=\EN*:mr=\EOr:nd=\EV:rc=^\:sc=^]:se=\ENo:\
                   2054:        :sf=\EW:so=\EOo:sr=\EX:ta=^I:te=\ENt:ti=\EOt:ts=\EOl:\
                   2055:        :ue=\ENu:up=\EY:us=\EOu:vb=\EZ:
1.2       deraadt  2056: psterm-96x48|NeWS psterm 96x48:\
1.3       deraadt  2057:        :co#96:li#48:tc=psterm:
1.2       deraadt  2058: psterm-90x28|NeWS psterm 90x28:\
1.3       deraadt  2059:        :co#90:li#28:tc=psterm:
1.2       deraadt  2060: psterm-80x24|NeWS psterm 80x24:\
1.3       deraadt  2061:        :co#80:li#24:tc=psterm:
1.1       deraadt  2062: # This is a faster termcap for psterm.  Warning:  if you use this termcap,
                   2063: # some control characters you type will do strange things to the screen.
1.2       deraadt  2064: # (psterm-fast: unknown ":sl=^Ol:el=^Nl:" -- esr)
                   2065: psterm-fast|NeWS psterm fast version (flaky ctrl chars):\
                   2066:        :am:bs:hs:km:ul:\
1.1       deraadt  2067:        :co#80:it#8:li#34:\
1.5       tholo    2068:        :al=^A:cd=^B:ce=^C:cl=^L:cm=\004%d;%d;:cs=\005%d;%d;:dc=^F:\
                   2069:        :dl=^K:do=^P:ei=^Ni:fs=^Nl:ho=^R:i1=^N*:im=^Oi:kd=\E[B:\
                   2070:        :kl=\E[D:kr=\E[C:ku=\E[A:le=^T:ll=^U:mb=^Ob:md=^Od:me=^N*:\
                   2071:        :mr=^Or:nd=^V:rc=^\:sc=^]:se=^No:sf=^W:so=^Oo:sr=^X:ta=^I:\
                   2072:        :te=^Nt:ti=^Ot:ts=^Ol:ue=^Nu:up=^Y:us=^Ou:vb=^Z:
1.1       deraadt  2073:
1.13    ! millert  2074: #### NeXT consoles
1.1       deraadt  2075: #
1.5       tholo    2076: # Use `glasstty' for the Workspace application
1.1       deraadt  2077: #
                   2078:
1.5       tholo    2079: # From: Dave Wetzel <dave@turbocat.snafu.de> 22 Dec 1995
                   2080: next|NeXT console:\
                   2081:        :am:xt:\
                   2082:        :co#80:it#8:li#24:\
                   2083:        :bl=^G:ce=\E[K:cl=^L:cm=\E[%i%d;%dH:cr=^M:do=^J:ho=\E[H:\
                   2084:        :kb=^H:kd=^J:kl=^H:le=^H:me=\E[m:nd=\E[C:nw=^M^J:se=\E[4;1m:\
                   2085:        :sf=^J:so=\E[4;2m:ta=^I:up=\E[A:
                   2086: nextshell|NeXT Shell application:\
                   2087:        :am:\
                   2088:        :co#80:\
                   2089:        :bl=^G:cr=^M:do=^J:kb=^H:kd=^J:kl=^H:le=^H:nw=^M^J:ta=^I:
1.1       deraadt  2090:
1.13    ! millert  2091: #### SCO consoles
        !          2092: #
        !          2093:
        !          2094: # SCO console and SOS-Syscons console for 386bsd
        !          2095: # (scoansi: had unknown capabilities
        !          2096: #      :Gc=N:Gd=K:Gh=M:Gl=L:Gu=J:Gv=\072:\
        !          2097: #      :GC=E:GD=B:GH=D:GL=\64:GU=A:GV=\63:GR=C:
        !          2098: #      :G1=?:G2=Z:G3=@:G4=Y:G5=;:G6=I:G7=H:G8=<:\
        !          2099: #      :CW=\E[M:NU=\E[N:RF=\E[O:RC=\E[P:\
        !          2100: #      :WL=\E[S:WR=\E[T:CL=\E[U:CR=\E[V:\
        !          2101: # I renamed GS/GE/HM/EN/PU/PD/RT and added klone+sgr-dumb, based
        !          2102: # on the :as:=\E[12m  -- esr)
        !          2103: scoansi|SCO Extended ANSI standard crt:\
        !          2104:        :am:bs:eo:xo:\
        !          2105:        :co#80:it#8:li#25:\
        !          2106:        :@7=\E[F:al=\E[L:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
        !          2107:        :cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
        !          2108:        :ic=\E[@:im=:k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:\
        !          2109:        :k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:k;=\E[V:kN=\E[G:kP=\E[I:\
        !          2110:        :kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:\
        !          2111:        :mb=\E[5m:md=\E[1m:nd=\E[C:sf=\E[S:sr=\E[T:ta=^I:up=\E[A:\
        !          2112:        :tc=klone+sgr-dumb:
        !          2113:
        !          2114: #### Sun consoles
        !          2115: #
        !          2116:
        !          2117: # :is1: resets scrolling region in case a previous user had used "tset vt100"
        !          2118: oldsun|Sun Microsystems Workstation console:\
        !          2119:        :am:bs:km:mi:ms:\
        !          2120:        :co#80:it#8:li#34:\
        !          2121:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:al=\E[L:bl=^G:\
        !          2122:        :cd=\E[J:ce=\E[K:cl=^L:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:\
        !          2123:        :dl=\E[M:do=\E[B:ei=:i1=\E[1r:ic=\E[@:im=:k1=\EOP:k2=\EOQ:\
        !          2124:        :k3=\EOR:k4=\EOS:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
        !          2125:        :le=^H:me=\E[m:nd=\E[C:se=\E[m:sf=^J:so=\E[7m:ta=^I:up=\E[A:
        !          2126: # From: Alexander Lukyanov <lav@video.yars.free.net>, 14 Nov 1995
        !          2127: # :li: capability later corrected by J.T. Conklin <jtc@cygnus.com>
        !          2128: # SGR 1, 4 aren't supported - removed bold/underline (T.Dickey 17 Jan 1998)
        !          2129: sun-il|Sun Microsystems console with working insert-line:\
        !          2130:        :am:km:ms:\
        !          2131:        :co#80:li#34:\
        !          2132:        :%7=\E[194z:&5=\E[193z:&8=\E[195z:@7=\E[220z:AL=\E[%dL:\
        !          2133:        :DC=\E[%dP:DL=\E[%dM:F1=\E[234z:F2=\E[235z:IC=\E[%d@:\
        !          2134:        :K2=\E[218z:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=^L:\
        !          2135:        :cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=:ic=\E[@:im=:\
        !          2136:        :k1=\E[224z:k2=\E[225z:k3=\E[226z:k4=\E[227z:k5=\E[228z:\
        !          2137:        :k6=\E[229z:k7=\E[230z:k8=\E[231z:k9=\E[232z:k;=\E[233z:\
        !          2138:        :kD=\177:kN=\E[222z:kP=\E[216z:kb=^H:kd=\E[B:kh=\E[214z:\
        !          2139:        :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:md@:me=\E[m:mr=\E[7m:nd=\E[C:\
        !          2140:        :r2=\E[s:\
        !          2141:        :..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m:\
        !          2142:        :se=\E[m:sf=^J:so=\E[7m:ta=^I:u8=\E[1t:u9=\E[11t:ue@:\
        !          2143:        :up=\E[A:us@:
        !          2144: # On a SparcStation 5, :al:/:AL: flake out on the last line.
        !          2145: # Unfortunately, without them the terminal has no way to scroll.
        !          2146: sun-ss5|Sun SparcStation 5 console:\
        !          2147:        :AL@:al@:tc=sun-il:
        !          2148: # If you are using an SS5, change the sun definition to use sun-ss5.
        !          2149: sun|sun1|sun2|Sun Microsystems Inc. workstation console:\
        !          2150:        :tc=sun-il:
        !          2151:
        !          2152: # From: <john@ucbrenoir>  Tue Sep 24 13:14:44 1985
        !          2153: sun-s|Sun Microsystems Workstation window with status line:\
        !          2154:        :hs:\
        !          2155:        :ds=\E]l\E\:fs=\E\:ts=\E]l:tc=sun:
        !          2156: sun-e-s|sun-s-e|Sun Microsystems Workstation with status hacked for emacs:\
        !          2157:        :hs:\
        !          2158:        :ds=\E]l\E\:fs=\E\:ts=\E]l:tc=sun-e:
        !          2159: sun-48|Sun 48-line window:\
        !          2160:        :co#80:li#48:tc=sun:
        !          2161: sun-34|Sun 34-line window:\
        !          2162:        :co#80:li#34:tc=sun:
        !          2163: sun-24|Sun 24-line window:\
        !          2164:        :co#80:li#24:tc=sun:
        !          2165: sun-17|Sun 17-line window:\
        !          2166:        :co#80:li#17:tc=sun:
        !          2167: sun-12|Sun 12-line window:\
        !          2168:        :co#80:li#12:tc=sun:
        !          2169: sun-1|Sun 1-line window for sysline:\
        !          2170:        :es:hs:\
        !          2171:        :co#80:li#1:\
        !          2172:        :ds=^L:fs=\E[K:ts=^M:tc=sun:
        !          2173: sun-e|sun-nic|sune|Sun Microsystems Workstation without insert character:\
        !          2174:        :ei@:ic@:im@:\
        !          2175:        :tc=sun:
        !          2176: sun-c|sun-cmd|Sun Microsystems Workstation console with scrollable history:\
        !          2177:        :li#35:\
        !          2178:        :te=\E[>4h:ti=\E[>4l:tc=sun:
        !          2179:
        !          2180: #### Common Desktop Environment
1.8       tholo    2181: #
                   2182:
                   2183: # This ships with Sun's CDE in Solaris 2.5
                   2184: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   2185: # (sgr removed to fit entry within 1023 bytes)
                   2186: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
                   2187: dtterm|CDE desktop terminal:\
                   2188:        :am:mi:ms:xn:xo:\
                   2189:        :co#80:it#8:li#24:lm#0:\
                   2190:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   2191:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
                   2192:        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
                   2193:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:\
                   2194:        :ei=\E[4l:ho=\E[H:im=\E[4h:\
                   2195:        :is=\E F\E>\E[?1l\E[?7h\E[?45l:k1=\E[11~:k2=\E[12~:\
                   2196:        :k3=\E[13~:k4=\E[14~:k5=\E[15~:k6=\E[17~:k7=\E[18~:\
                   2197:        :k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
                   2198:        :kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
                   2199:        :md=\E[1m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\EE:\
                   2200:        :rc=\E8:sc=\E7:se=\E[22;27m:sf=\ED:so=\E[2;7m:sr=\EM:\
                   2201:        :st=\EH:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:\
                   2202:        :ve=\E[?25h:vi=\E[?25l:
                   2203:
1.13    ! millert  2204: ######## UNIX VIRTUAL TERMINALS AND TELNET CLIENTS
1.1       deraadt  2205: #
1.13    ! millert  2206:
        !          2207: #### FSF virtual terminal types
1.8       tholo    2208: #
1.1       deraadt  2209:
1.13    ! millert  2210: # The codes supported by the term.el terminal emulation in GNU Emacs 19.30
        !          2211: eterm|gnu emacs term.el terminal emulation:\
        !          2212:        :am:mi:xn:\
        !          2213:        :co#80:li#24:\
        !          2214:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
        !          2215:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:cb=\E[1K:\
        !          2216:        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
        !          2217:        :cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:\
        !          2218:        :im=\E[4h:le=^H:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:se=\E[m:\
        !          2219:        :sf=^J:so=\E[7m:ta=^I:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:\
        !          2220:        :ue=\E[m:up=\E[A:us=\E[4m:
        !          2221:
        !          2222: # Entries for use by the FSF's `screen' program.  The screen and
        !          2223: # screen-w entries came with version 3.7.1.  The screen2 and screen3 entries
        !          2224: # come from University of Wisconsin and may be older.
        !          2225: # (screen: added :ve: on ANSI model -- esr)
        !          2226:
        !          2227: screen|VT 100/ANSI X3.64 virtual terminal:\
        !          2228:        :am:km:mi:ms:xn:\
        !          2229:        :Co#8:co#80:it#8:li#24:pa#64:\
        !          2230:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:\
        !          2231:        :F2=\E[24~:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
        !          2232:        :ac=++\054\054--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
        !          2233:        :ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
        !          2234:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
        !          2235:        :ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:eA=\E(B\E)0:ei=\E[4l:\
        !          2236:        :ho=\E[H:im=\E[4h:is=\E)0:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
        !          2237:        :k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
        !          2238:        :k;=\E[21~:kD=\E[3~:kH=\E[4~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
        !          2239:        :kb=^H:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:kl=\EOD:kr=\EOC:\
        !          2240:        :ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:\
        !          2241:        :mr=\E[7m:nd=\E[C:nw=\EE:r2=\Ec:rc=\E8:sc=\E7:se=\E[23m:\
        !          2242:        :sf=^J:so=\E[3m:sr=\EM:st=\EH:ta=^I:ue=\E[24m:up=\EM:\
        !          2243:        :us=\E[4m:vb=\Eg:ve=\E[?25h:vi=\E[?25l:vs=\E[34l:\
        !          2244:        :tc=ecma+color:
        !          2245:
        !          2246: screen-w|VT 100/ANSI X3.64 virtual terminal with 132 cols:\
        !          2247:        :co#132:tc=screen:
1.1       deraadt  2248:
1.13    ! millert  2249: screen2|old VT 100/ANSI X3.64 virtual terminal:\
        !          2250:        :co#80:it#8:li#24:\
        !          2251:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
        !          2252:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bt=\E[Z:cd=\E[J:\
        !          2253:        :ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:\
        !          2254:        :dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ic=:im=\E[4h:k0=\E~:\
        !          2255:        :k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:k8=\ER:\
        !          2256:        :k9=\E0I:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:\
        !          2257:        :me=\E[m:nd=\E[C:nw=^M^J:r1=\Ec:rc=\E8:sc=\E7:se=\E[23m:\
        !          2258:        :sf=^J:so=\E[3m:sr=\EM:st=\EH:ta=^I:ue=\E[24m:up=\E[A:\
        !          2259:        :us=\E[4m:
        !          2260: # (screen3: removed unknown ":xv:LP:G0:" -- esr)
        !          2261: screen3|older VT 100/ANSI X3.64 virtual terminal:\
        !          2262:        :km:mi:ms:\
        !          2263:        :co#80:it#8:li#24:\
        !          2264:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
        !          2265:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:bt=\E[Z:\
        !          2266:        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
        !          2267:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:\
        !          2268:        :ho=\E[H:im=\E[4h:is=\E)0:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
        !          2269:        :kb=^H:kd=\EOB:ke=\E>:kl=\EOD:kr=\EOC:ks=\E=:ku=\EOA:le=^H:\
        !          2270:        :mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=\EE:r1=\Ec:\
        !          2271:        :rc=\E8:sc=\E7:se=\E[23m:sf=^J:so=\E[3m:sr=\EM:st=\EH:ta=^I:\
        !          2272:        :ue=\E[24m:up=\EM:us=\E[4m:
1.1       deraadt  2273:
1.13    ! millert  2274: #### Pilot Pro Palm-Top
1.1       deraadt  2275: #
1.13    ! millert  2276:
        !          2277: # From: Jason Downs <downsj@downsj.com>, 15 Jun 1997 (Top Gun Telnet's author)
        !          2278: pilot|tgtelnet|Top Gun Telnet on the Palm Pilot Professional:\
        !          2279:        :am:xn:\
        !          2280:        :co#39:li#16:\
        !          2281:        :bl=^G:cl=\Ec:cm=\Em%+ %+ :cr=^M:do=^J:ho=\Em  :kN=^L:kP=^K:\
        !          2282:        :kb=^H:kd=^J:kl=^H:le=^H:nw=\Em~ :se=\EB:sf=^J:so=\Eb:ta=^I:
        !          2283:
        !          2284: ######## NON-UNIX CONSOLES
1.1       deraadt  2285: #
                   2286:
1.13    ! millert  2287: #### MGR
        !          2288: #
        !          2289: # MGR is a Bell Labs window system lighter-weight than X.
        !          2290: # These entries describe MGR's xterm-equivalent.
        !          2291: # They are courtesy of Vincent Broman <broman@nosc.mil> 14 Jan 1997
        !          2292: #
1.1       deraadt  2293:
1.13    ! millert  2294: mgr|Bellcore MGR (non X) window system terminal emulation:\
        !          2295:        :am:km:\
        !          2296:        :AL=\E%da:DC=\E%dE:DL=\E%dd:IC=\E%dA:RA=\E5S:SA=\E5s:\
        !          2297:        :al=\Ea:bl=^G:cd=\EC:ce=\Ec:cl=^L:cm=\E%r%d;%dM:cr=^M:\
        !          2298:        :cs=\E%d;%dt:dc=\EE:dl=\Ed:do=\Ef:ei=:hd=\E1;2f:hu=\E1;2u:\
        !          2299:        :ic=\EA:im=:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
        !          2300:        :md=\E2n:me=\E0n:mr=\E1n:nd=\Er:nw=^M^J:se=\E0n:sf=^J:\
        !          2301:        :so=\E1n:ta=^I:ue=\E0n:up=\Eu:us=\E4n:ve=\Eh:vi=\E9h:\
        !          2302:        :vs=\E0h:
        !          2303: mgr-sun|Mgr window with Sun keyboard:\
        !          2304:        :%1=\E[207z:%6=\E[198z:&8=\E[195z:@0=\E[200z:@5=\E197z:\
        !          2305:        :@7=\E[220z:@8=\E[250z:F1=\E[234z:F2=\E[235z:K1=\E[214z:\
        !          2306:        :K2=\E[218z:K3=\E[216z:K4=\E[220z:K5=\E[222z:k1=\E[224z:\
        !          2307:        :k2=\E[225z:k3=\E[226z:k4=\E[227z:k5=\E[228z:k6=\E[229z:\
        !          2308:        :k7=\E[230z:k8=\E[231z:k9=\E[232z:k;=\E[233z:kN=\E[222z:\
        !          2309:        :kP=\E[216z:kh=\E[214z:\
        !          2310:        :tc=mgr:
        !          2311: mgr-linux|Mgr window with Linux keyboard:\
        !          2312:        :@7=\E[4~:F1=\E[23~:F2=\E[24~:K1=\E[H:K2=\E[G:K3=\E[5~:\
        !          2313:        :K4=\E[Y:K5=\E[6~:k0=\E[[J:k1=\E[[A:k2=\E[[B:k3=\E[[C:\
        !          2314:        :k4=\E[[D:k5=\E[[E:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
        !          2315:        :k9=\E[20~:k;=\E[21~:kD=\E[3~:kN=\E[6~:kP=\E[5~:kh=\E[1~:tc=mgr:
1.1       deraadt  2316:
1.13    ! millert  2317: #### BeOS
        !          2318: #
        !          2319: # BeOS entry for Terminal program Seems to be almost ANSI
        !          2320: beterm|BeOS Terminal:\
        !          2321:        :am:eo:mi:ms:xn:xo:\
        !          2322:        :Co#8:co#80:it#8:li#25:pa#64:\
        !          2323:        :&7=^Z:@7=\E[4~:AB=\E[4%p1%dm:AF=\E[3%p1%dm:AL=\E[%dL:\
        !          2324:        :DC=\E[%dP:DL=\E[%dM:F1=\E[21~:F2=\E[22~:IC=\E[%d@:\
        !          2325:        :K2=\E[G:Sb=\E[%+(m:Sf=\E[%+^^m:al=\E[L:bl=^G:cd=\E[J:\
        !          2326:        :ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
        !          2327:        :cs=\E[%i%d;%dr:ct=\E[3g:cv=\E[%i%dd:dc=\E[P:dl=\E[M:\
        !          2328:        :do=^J:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:k1=\E[11~:\
        !          2329:        :k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:k6=\E[16~:\
        !          2330:        :k7=\E[17~:k8=\E[18~:k9=\E[19~:k;=\E[20~:kI=\E[2~:\
        !          2331:        :kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:kh=\E[1~:kl=\E[D:kr=\E[C:\
        !          2332:        :ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[0;10m:mh=\E[2m:\
        !          2333:        :mk=\E[8m:mr=\E[7m:nd=\E[C:nw=^M^J:op=\E[m:r1=\Ec:rc=\E8:\
        !          2334:        :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
        !          2335:        :u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?6c:u9=\E[c:ue=\E[24m:\
        !          2336:        :up=\E[A:us=\E[4m:vb=200\E[?5h\E[?5l:ve=\E[?25h:\
        !          2337:        :vi=\E[?25l:
1.1       deraadt  2338:
1.13    ! millert  2339: #### QNX
        !          2340: #
1.1       deraadt  2341:
1.13    ! millert  2342: # QNX 4.0 Console
        !          2343: # Michael's original version of this entry had <am@>, :ti=\Ei:,
        !          2344: # :te=\Eh\ER:; this was so terminfo applications could write the lower
        !          2345: # right corner without triggering a scroll.  The ncurses terminfo library can
        !          2346: # handle this case with the :ic: capability, and prefers :am: for better
        !          2347: # optimization.  Bug: The <op> capability resets attributes.
        !          2348: # From: Michael Hunter <mphunter@qnx.com> 30 Jul 1996
        !          2349: # (removed: :sa=%?%p1%t\E<%;%p2%t\E[%;%p3%t\E(%;%p4%t\E{%;%p6%t\E<%;,:)
        !          2350: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          2351: # (sgr removed to fit entry within 1023 bytes)
        !          2352: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
        !          2353: qnx|qnx4|qnx console:\
        !          2354:        :km:mi:ms:xt:\
        !          2355:        :co#80:it#4:li#25:\
        !          2356:        :al=\EE:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:\
        !          2357:        :dc=\Ef:dl=\EF:do=^J:ei=:ho=\EH:ic=\Ee:im=:k1=\377\201:\
        !          2358:        :k2=\377\202:k3=\377\203:k4=\377\204:k5=\377\205:\
        !          2359:        :k6=\377\206:k7=\377\207:k8=\377\210:k9=\377\211:\
        !          2360:        :kD=\377\254:kI=\377\253:kN=\377\252:kP=\377\242:\
        !          2361:        :kd=\377\251:kh=\377\240:kl=\377\244:kr=\377\246:\
        !          2362:        :ku=\377\241:le=^H:mb=\E{:md=\E<:me=\E}\E]\E>\E):mr=\E(:\
        !          2363:        :nd=\EC:rp=\Eg%r%+ %.:se=\E):sf=^J:so=\E(:sr=\EI:ta=^I:\
        !          2364:        :te=\Eh\ER:ti=\Ei:ue=\E]:up=\EA:us=\E[:ve=\Ey1:vi=\Ey0:\
        !          2365:        :vs=\Ey2:
1.1       deraadt  2366:
1.13    ! millert  2367: #### DOS ANSI.SYS variants
        !          2368: #
        !          2369: # This completely describes the sequences specified in the DOS 2.1 ANSI.SYS
        !          2370: # documentation (except for the keyboard key reassignment feature, which
        !          2371: # doen't fit the <pfkey> model well).  The klone+acs sequences were valid
        !          2372: # though undocumented.  The <pfkey> capability is untested but should work for
        !          2373: # keys F1-F10 (%p1 values outside this range will yield unpredictable results).
        !          2374: # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 7 1995
        !          2375: ansi.sys-old|ANSI.SYS under PC-DOS 2.1:\
        !          2376:        :am:bs:mi:ms:xo:\
        !          2377:        :co#80:li#25:\
        !          2378:        :RA=\E[?7l:SA=\E[?7h:ce=\E[k:cl=\E[2J:cm=\E[%i%d;%dH:\
        !          2379:        :do=\E[B:ho=\E[H:is=\E[m\E[?7h:kd=^J:kh=^^:kl=^H:kr=^L:\
        !          2380:        :ku=^K:le=^H:nd=\E[C:pk=\E[0;%+:;"%s":rc=\E[u:sc=\E[s:\
        !          2381:        :u6=\E[%i%d;%dR:u7=\E[6n:up=\E[A:\
        !          2382:        :tc=klone+color:tc=klone+sgr:
        !          2383: ansi.sys|ANSI.SYS 3.1 and later versions:\
        !          2384:        :ce=\E[K:tc=ansi.sys-old:
1.1       deraadt  2385:
                   2386: #
1.13    ! millert  2387: # Define IBM PC keypad keys for vi as per MS-Kermit while using ANSI.SYS.
        !          2388: # This should only be used when the terminal emulator cannot redefine the keys.
        !          2389: # Since redefining keys with ansi.sys also affects PC-DOS programs, the key
        !          2390: # definitions must be restored.  If the terminal emulator is quit while in vi
        !          2391: # or others using :ks:/:ke:, the keypad will not be defined as per PC-DOS.
        !          2392: # The PgUp and PgDn are prefixed with ESC so that tn3270 can be used on Unix
        !          2393: # (^U and ^D are already defined for tn3270).  The ESC is safe for vi but it
        !          2394: # does "beep".  ESC ESC i is used for Ins to avoid tn3270 ESC i for coltab.
        !          2395: # Note that :kl: is always BS, because PC-dos can tolerate this change.
        !          2396: # Caution: vi is limited to 256 string bytes, longer crashes or weirds out vi.
        !          2397: # Consequently the End keypad key could not be set (it is relatively safe and
        !          2398: # actually useful because it sends ^@ O, which beeps and opens a line above).
        !          2399: ansi.sysk|ansisysk|PC-DOS 3.1 ANSI.SYS with keypad redefined for vi:\
        !          2400:        :is=U2 PC-DOS 3.1 ANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p:\
        !          2401:        :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:\
        !          2402:        :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:\
        !          2403:        :tc=ansi.sys:
        !          2404: #
        !          2405: # Adds ins/del line/character, hence vi reverse scrolls/inserts/deletes nicer.
        !          2406: nansi.sys|nansisys|PC-DOS Public Domain NANSI.SYS:\
        !          2407:        :al=\E[1L:dc=\E[1P:dl=\E[1M:ei=:ic=\E[1@:im=:\
        !          2408:        :is=U3 PC-DOS Public Domain NANSI.SYS 9-23-86\n:tc=ansi.sys:
        !          2409: #
        !          2410: # See ansi.sysk and nansi.sys above.
        !          2411: nansi.sysk|nansisysk|PC-DOS Public Domain NANSI.SYS with keypad redefined for vi:\
        !          2412:        :al=\E[1L:dc=\E[1P:dl=\E[1M:ei=:ic=\E[1@:im=:\
        !          2413:        :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  2414:
1.13    ! millert  2415: #### OS/2
        !          2416: #
1.1       deraadt  2417:
1.13    ! millert  2418: # Except for the "-emx" suffixes, these are as distributed with EMX 0.9b,
        !          2419: # a Unix-style environment used on OS/2.  (Note that the suffix makes some
        !          2420: # names longer than 14 characters, the nominal maximum).
        !          2421: #
        !          2422: # Removed: rmacs=\E[10m, smacs=\E[11m, because OS/2 does not implement acs.
        !          2423: ansi-emx|ANSI.SYS color:\
        !          2424:        :am:eo:mi:ms:ut:xn:xo:\
        !          2425:        :Co#16:co#80:it#8:li#25:pa#64:\
        !          2426:        :&7=^Z:AB=\E[4%p1%dm:AF=\E[3%p1%dm:DC=\E[%dp:IC=\E[%d@:\
        !          2427:        :K2=\E[G:S2=\E[11m:S3=\E[10m:bl=^G:cd=\E[J:ce=\E[K:\
        !          2428:        :cl=\E[1;33;44m\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:\
        !          2429:        :do=^J:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:k0=\0D:k1=\0;:\
        !          2430:        :k2=\0<:k3=\0=:k4=\0>:k5=\0?:k6=\0@:k7=\0A:k8=\0B:k9=\0C:\
        !          2431:        :kH=\0O:kI=\0R:kN=\0Q:kP=\0I:kb=^H:kd=\0P:kh=\0G:kl=\0K:\
        !          2432:        :kr=\0M:ku=\0H:le=^H:mb=\E[5m:md=\E[1m:\
        !          2433:        :me=\E[0m\E[1;33;44m:mr=\E[5;37;41m:nd=\E[C:nw=^M^J:\
        !          2434:        :r1=\Ec:se=\E[0;44m\E[1;33m:sf=^J:so=\E[0;31;47m:st=\EH:\
        !          2435:        :ta=^I:u8=\E[?6c:u9=\E[c:ue=\E[0;44m\E[1;33m:up=\E[A:\
        !          2436:        :us=\E[1;31;44m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:
        !          2437: ansi-color-2-emx|ANSI.SYS color 2:\
        !          2438:        :am:eo:mi:ms:ut:xn:xo:\
        !          2439:        :Co#16:co#80:it#8:li#25:pa#64:\
        !          2440:        :&7=^Z:AB=\E[4%p1%dm:AF=\E[3%p1%dm:DC=\E[%dp:IC=\E[%d@:\
        !          2441:        :K2=\E[G:S2=\E[11m:S3=\E[10m:bl=^G:cd=\E[J:ce=\E[K:\
        !          2442:        :cl=\E[0;37;44m\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:\
        !          2443:        :do=^J:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:k0=\0D:k1=\0;:\
        !          2444:        :k2=\0<:k3=\0=:k4=\0>:k5=\0?:k6=\0@:k7=\0A:k8=\0B:k9=\0C:\
        !          2445:        :kH=\0O:kI=\0R:kN=\0Q:kP=\0I:kb=^H:kd=\0P:kh=\0G:kl=\0K:\
        !          2446:        :kr=\0M:ku=\0H:le=^H:mb=\E[5m:md=\E[1m:me=\E[0;37;44m:\
        !          2447:        :mr=\E[1;37;46m:nd=\E[C:nw=^M^J:r1=\Ec:se=\E[0;37;44m:\
        !          2448:        :sf=^J:so=\E[1;37;46m:st=\EH:ta=^I:u8=\E[?6c:u9=\E[c:\
        !          2449:        :ue=\E[0;37;44m:up=\E[A:us=\E[1;36;44m:vb=\E[?5h\E[?5l:\
        !          2450:        :ve=\E[?25h:vi=\E[?25l:
        !          2451: ansi-color-3-emx|ANSI.SYS color 3:\
        !          2452:        :am:eo:mi:ms:ut:xn:xo:\
        !          2453:        :Co#16:co#80:it#8:li#25:pa#64:\
        !          2454:        :&7=^Z:AB=\E[4%p1%dm:AF=\E[3%p1%dm:DC=\E[%dp:IC=\E[%d@:\
        !          2455:        :K2=\E[G:S2=\E[11m:S3=\E[10m:bl=^G:cd=\E[J:ce=\E[K:\
        !          2456:        :cl=\E[0;37;40m\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:\
        !          2457:        :do=^J:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:k0=\0D:k1=\0;:\
        !          2458:        :k2=\0<:k3=\0=:k4=\0>:k5=\0?:k6=\0@:k7=\0A:k8=\0B:k9=\0C:\
        !          2459:        :kH=\0O:kI=\0R:kN=\0Q:kP=\0I:kb=^H:kd=\0P:kh=\0G:kl=\0K:\
        !          2460:        :kr=\0M:ku=\0H:le=^H:mb=\E[5m:md=\E[1m:me=\E[0;10m:\
        !          2461:        :mr=\E[1;37;46m:nd=\E[C:nw=^M^J:r1=\Ec:se=\E[0;37;40m:\
        !          2462:        :sf=^J:so=\E[1;37;46m:st=\EH:ta=^I:u8=\E[?6c:u9=\E[c:\
        !          2463:        :ue=\E[0;37;40m:up=\E[A:us=\E[0;36;40m:vb=\E[?5h\E[?5l:\
        !          2464:        :ve=\E[?25h:vi=\E[?25l:
        !          2465: mono-emx|stupid monochrome ansi terminal with only one kind of emphasis:\
        !          2466:        :am:\
        !          2467:        :co#80:it#8:li#24:\
        !          2468:        :K2=\E[G:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:do=\E[B:\
        !          2469:        :ho=\E[H:k0=\0D:k1=\0;:k2=\0<:k3=\0=:k4=\0>:k5=\0?:k6=\0@:\
        !          2470:        :k7=\0A:k8=\0B:k9=\0C:kH=\0O:kI=\0R:kN=\0Q:kP=\0I:kb=^H:\
        !          2471:        :kd=\0P:kh=\0G:kl=\0K:kr=\0M:ku=\0H:le=\E[D:me=\E[0m:\
        !          2472:        :mr=\E[7m:nd=\E[C:nw=^M^J:ta=^I:up=\E[A:
        !          2473:
        !          2474: #### Windows NT
        !          2475: #
        !          2476: # This entry fits the Windows NT console when the _POSIX_TERM environment
        !          2477: # variable is set to 'on'.  While the Windows NT POSIX console is seldom used,
        !          2478: # the Telnet client supplied with both the Windows for WorkGroup 3.11 TCP/IP
        !          2479: # stack and the Win32 (i.e., Windows 95 and Windows NT 3.1 or later) operating
        !          2480: # systems is not, and (surprise!) they match very well.
        !          2481: #
        !          2482: # See:  MS Knowledge Base item Q108581, dated 13-MAY-1997, titled "Setting Up
        !          2483: # VI POSIX Editor for Windows NT 3.1".  True to Microsoft form, not only
        !          2484: # are the installation instructions a pile of mind-numbing bureaucratese,
        !          2485: # but the termcap entry is actually broken and unusable as given; the :do:
        !          2486: # capability is misspelled "d".
        !          2487: #
        !          2488: # To use this, you need to a bunch of environment variables:
        !          2489: #
        !          2490: # SET _POSIX_TERM=on
        !          2491: # SET TERM=ansi
        !          2492: # SET TERMCAP=location of termcap file in POSIX file format
        !          2493: # which is case-sensitive.
        !          2494: # e.g. SET TERMCAP=//D/RESKIT35/posix/termcap
        !          2495: # SET TMP=//C/TEMP
        !          2496: #
        !          2497: # Important note: setting the TMP environment variable in POSIX style renders
        !          2498: # it incompatible with a lot of other applications, including Visual C++. So
        !          2499: # you should have a separate command window just for vi. All the other
        !          2500: # variables may be permanently set in the Control Panel\System applet.
        !          2501: #
        !          2502: # You can find out more about the restrictions of this facility at
        !          2503: # <http://www.nentug.org/unix-to-nt/ntposix.htm>.
1.2       deraadt  2504: #
1.13    ! millert  2505: # From: Federico Bianchi <bianchi@magna.cisid.unipi.it>, 15 Jan 1997
        !          2506: ansi-nt|psx_ansi|Microsoft Windows NT console POSIX ANSI mode:\
        !          2507:        :am:bw:ms:\
        !          2508:        :co#80:it#8:li#25:\
        !          2509:        :bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:cr=^M:do=^J:\
        !          2510:        :ho=\E[H:kb=^H:kd=\E[V:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
        !          2511:        :me=\E[0m:mr=\E[7m:nd=\E[C:nw=\r\E[S:rc=\E[u:sc=\E[s:\
        !          2512:        :se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:up=\E[A:
1.1       deraadt  2513:
1.13    ! millert  2514: ######## COMMON TERMINAL TYPES
1.1       deraadt  2515: #
1.13    ! millert  2516: # This section describes terminal classes and maker brands that are still
        !          2517: # quite common, but have proprietary command sets not blessed by ANSI.
1.1       deraadt  2518: #
                   2519:
1.13    ! millert  2520: #### Lear-Siegler (adm)
1.1       deraadt  2521: #
1.13    ! millert  2522: # These guys are long since out of the terminals business, but
        !          2523: # in 1995 many current terminals still have an adm type as one of their
        !          2524: # emulations (usually their stupidest, and usually labeled adm3, though
        !          2525: # these `adm3' emulations normally have adm3a+ capabilities).
1.2       deraadt  2526: #
1.13    ! millert  2527: # WARNING: Some early ADM terminals (including the ADM3 and ADM5) had a
        !          2528: # `diagnostic feature' that sending them a ^G while pin 22 (`Ring Indicator')
        !          2529: # was being held to ground would trigger a send of the top line on the screen.
        !          2530: # A quick fix might be to drop back to a cheesy 4-wire cable with pin 22
        !          2531: # hanging in the air.
1.2       deraadt  2532: #
1.1       deraadt  2533:
1.13    ! millert  2534: adm1a|adm1|lsi adm1a:\
        !          2535:        :am:\
        !          2536:        :co#80:li#24:\
        !          2537:        :bl=^G:cl=\E;:cm=\E=%+ %+ :cr=^M:do=^J:ho=^^:le=^H:nd=^L:\
        !          2538:        :sf=^J:up=^K:
        !          2539: adm2|lsi adm2:\
        !          2540:        :am:bs:\
        !          2541:        :co#80:li#24:\
        !          2542:        :al=\EE:bl=^G:cd=\EY:ce=\ET:cl=\E;:cm=\E=%+ %+ :cr=^M:\
        !          2543:        :dc=\EW:dl=\ER:do=^J:ei=:ho=^^:ic=\EQ:im=:kd=^J:kh=^^:kl=^H:\
        !          2544:        :kr=^L:ku=^K:le=^H:nd=^L:sf=^J:up=^K:
        !          2545: # (adm3: removed obsolete ":ma=^K^P:" -- esr)
        !          2546: adm3|lsi adm3:\
        !          2547:        :am:bs:\
        !          2548:        :co#80:li#24:\
        !          2549:        :bl=^G:cl=^Z:cr=^M:do=^J:le=^H:sf=^J:
        !          2550: # The following ADM-3A switch settings are assumed for normal operation:
        !          2551: #      SPACE           U/L_DISP        CLR_SCRN        24_LINE
        !          2552: #      CUR_CTL         LC_EN           AUTO_NL         FDX
        !          2553: # Other switches may be set for operator convenience or communication
        !          2554: # requirements.  I recommend
        !          2555: #      DISABLE_KB_LOCK LOCAL_OFF       103             202_OFF
        !          2556: #      ETX_OFF         EOT_OFF
        !          2557: # Most of these terminals required an option ROM to support lower case display.
        !          2558: # Open the case and look at the motherboard; if you see an open 24-pin DIP
        !          2559: # socket, you may be out of luck.
1.1       deraadt  2560: #
1.13    ! millert  2561: # (adm3a: some capabilities merged in from BRl entry -- esr)
        !          2562: adm3a|lsi adm3a:\
        !          2563:        :am:bs:\
1.8       tholo    2564:        :co#80:li#24:\
1.13    ! millert  2565:        :bl=^G:cl=1\032:cm=\E=%+ %+ :cr=^M:do=^J:ho=^^:kd=^J:kl=^H:\
        !          2566:        :kr=^L:ku=^K:le=^H:ma=^K^P:nd=^L:nl=^J:r1=^N:rs=^N:sf=^J:\
        !          2567:        :up=^K:
        !          2568: adm3a+|adm3a plus:\
        !          2569:        :kb=^H:tc=adm3a:
        !          2570: # (adm5: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" & duplicate ":do=^J:" -- esr)
        !          2571: adm5|lsi adm5:\
        !          2572:        :sg#1:\
        !          2573:        :bl=^G:cd=\EY:ce=\ET:cr=^M:do=^J:kb=^H:kh=^^:se=\EG:so=\EG:tc=adm3a+:
        !          2574: # A lot of terminals other than adm11s use these.  Wherever you see
        !          2575: # use=adm+sgr with some of its capabilities disabled, try the
        !          2576: # disabled ones.  They may well work but not have been documented or
        !          2577: # expressed in the using entry.  We'd like to cook up an :sa: but the
        !          2578: # :ae:/:as: sequences of the using entries vary too much.
        !          2579: adm+sgr|adm style highlight capabilities:\
        !          2580:        :me=\EG0:mk=\EG1:mr=\EG4:se=\EG0:so=\EG4:ue=\EG0:us=\EG8:
        !          2581: # LSI ADM-11 from George William Hartwig, Jr. <geo@BRL-TGR.ARPA> via BRL
        !          2582: # Status line additions from Stephen J. Muir <stephen%comp.lancs.ac.uk@ucl-cs>
        !          2583: # :kh: from <stephen%comp.lancs.ac.uk@ucl-cs.arpa>.  :cl: could also
        !          2584: # be ^Z, according to his entry.
        !          2585: # (adm11: :us:=\EG4 was obviously erroneous because it also said
        !          2586: # :mr:=\EG4.  Looking at other ADMs confirms this -- esr)
        !          2587: adm11|LSI ADM-11:\
        !          2588:        :am:bs:hs:\
        !          2589:        :co#80:kn#8:li#24:\
        !          2590:        :bl=^G:cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :cr=^M:do=^J:ds=\Eh:\
        !          2591:        :fs=\E(\r:ho=^^:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
        !          2592:        :k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:kb=^H:kd=^J:kh=^^:\
        !          2593:        :kl=^H:kr=^L:ku=^K:le=^H:mb=\EG2:nd=^L:nl=^J:nw=^M^J:ta=^I:\
        !          2594:        :ts=\EF\E):up=^K:\
        !          2595:        :tc=adm+sgr:
        !          2596: # From: Andrew Scott Beals <bandy@lll-crg.ARPA>
        !          2597: # Corrected by Olaf Siebert <rhialto@polder.ubc.kun.nl>, 11 May 1995
        !          2598: # Supervisor mode info by Ari Wuolle, <awuolle@delta.hut.fi>, 27 Aug 1996
        !          2599: # (adm12: removed obsolete ":kn:ma=j^Jk^P^K^Pl ^R^L^L :".  This formerly had
        !          2600: # :is:=\Eq but that looked wrong; this :is: is from Dave Yost <esquire!yost>
        !          2601: # via BRL.  That entry asserted :sg#1:, but I've left that out because
        !          2602: # neither earlier nor later ADMSs have it -- esr)
        !          2603: #
        !          2604: # You will need to get into the supervisor setup before you can set
        !          2605: # baudrate etc. for your ADM-12+. Press Shift-Ctrl-Setup and you should
        !          2606: # see a lot more setup options.
        !          2607: #
        !          2608: # While in supervisor setup you can also use following codes:
        !          2609: #
        !          2610: # Ctrl-P Personality character selections (configure for example what
        !          2611: #        arrow keys send, if I recall correctly)
        !          2612: # Ctrl-T tabs 1-80   use left&right to move and up to set and
        !          2613: # Ctrl-V tabs 81-158 down to clear tab. Shift-Ctrl-M sets right margin at cursor
        !          2614: # Ctrl-B Binary setup (probably not needed. I think that everything can
        !          2615: #        be set using normal setup)
        !          2616: # Ctrl-A Answerback mode (enter answerback message)
        !          2617: # Ctrl-U User friendly mode (normal setup)
        !          2618: # Ctrl-D Defaults entire setup and function keys from EPROM tables
        !          2619: # Ctrl-S Save both setup and functions keys. Takes from 6 to 10 seconds.
        !          2620: # Ctrl-R Reads both setup and functions keys from NVM.
        !          2621: # Shift-Ctrl-X Unlock keyboard and cancel received X-OFF status
        !          2622: #
        !          2623: # ADM-12+ supports hardware handshaking, but it is DTR/CTS as opposed to
        !          2624: # RTS/CTS used nowadays with virtually every modem and computer. 19200
        !          2625: # bps works fine with hardware flow control.
        !          2626: #
        !          2627: # The following null-modem cable should fix this and enable you to use
        !          2628: # RTS/CTS handshaking (which Linux supports, use CRTSCTS setting). Also
        !          2629: # set ADM-12+ for DTR handshaking from supervisor setup.
        !          2630: #
        !          2631: # PC Serial   ADM-12+
        !          2632: #  --------   -------
        !          2633: #         2 - 3
        !          2634: #         3 - 2
        !          2635: #         4 - 5
        !          2636: #         5 - 20
        !          2637: #       6,8 - 4
        !          2638: #         7 - 7
        !          2639: #        20 - 6,8
        !          2640: #
        !          2641: adm12|lsi adm12:\
        !          2642:        :am:bs:mi:pt:\
        !          2643:        :co#80:it#8:li#24:\
        !          2644:        :al=\EE:bl=^G:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:ct=\E0:\
        !          2645:        :dc=\EW:dl=\ER:do=^J:ei=\Er:ho=^^:ic=\EQ:im=\Eq:\
        !          2646:        :is=\E0        \E1        \E1        \E1        \E1        \E1        \E1        \E1        \E1:\
        !          2647:        :k0=^A0\r:k1=^A1\r:k2=^A2\r:k3=^A3\r:k4=^A4\r:k5=^A5\r:\
        !          2648:        :k6=^A6\r:k7=^A7\r:k8=^A8\r:k9=^A9\r:kd=^J:kl=^H:kr=^L:\
        !          2649:        :ku=^K:le=^H:nd=^L:st=\E1:up=^K:\
        !          2650:        :tc=adm+sgr:
        !          2651: # (adm20: removed obsolete ":kn#7:" -- esr)
        !          2652: adm20|lear siegler adm20:\
        !          2653:        :am:bs:\
        !          2654:        :co#80:it#8:li#24:\
        !          2655:        :al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=^Z:\
        !          2656:        :cm=\E=%i%r%+^_%+^_:cr=^M:dc=\EW:dl=\ER:ei=:ho=^^:ic=\EQ:\
        !          2657:        :im=:k1=^A:k2=^B:k3=^W:k4=^D:k5=^E:k6=^X:k7=^Z:le=^H:me=\E(:\
        !          2658:        :nd=^L:se=\E(:so=\E):ta=^I:up=^K:
        !          2659: adm21|lear siegler adm21:\
        !          2660:        :sg#1:\
        !          2661:        :al=30*\EE:bl=^G:cd=\EY:ce=\ET:cr=^M:dc=\EW:dl=30*\ER:do=^J:\
        !          2662:        :ei=:ic=\EQ:im=:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:mk@:sf=^J:\
        !          2663:        :tc=adm+sgr:tc=adm3a:
        !          2664: # (adm22: ":em=:" was an obvious typo for ":ei=:"; also,
        !          2665: # removed obsolete ":kn#7:ma=j^Jk^P^K^Pl ^R^L^L :";
        !          2666: # removed bogus-looking \200 from before :cm:. -- esr)
        !          2667: adm22|lsi adm22:\
        !          2668:        :am:bs:\
        !          2669:        :co#80:li#24:\
        !          2670:        :al=\EE:bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=\E+:cm=\E=%+ %+ :\
        !          2671:        :cr=^M:dc=\EW:dl=\ER:do=^J:ei=:ho=^^:ic=\EQ:im=:\
        !          2672:        :is=\E%\014\014\014\016\003\0\003\002\003\002\0\0\0\0\0\0\0\0\0\0\0:\
        !          2673:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
        !          2674:        :k7=^AF\r:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:l1=F1:l2=F2:\
        !          2675:        :l3=F3:l4=F4:l5=F5:l6=F6:l7=F7:le=^H:me=\E(:nd=^L:se=\E(:\
        !          2676:        :so=\E):ta=\Ei:up=^K:
        !          2677: # ADM 31 DIP Switches
        !          2678: #
        !          2679: # This information comes from two versions of the manual for the
        !          2680: # Lear-Siegler ADM 31.
        !          2681: #
        !          2682: # Main board:
        !          2683: #                  rear of case
        !          2684: #   +-||||-------------------------------------+
        !          2685: #   + S1S2                              ||S    +
        !          2686: #   +                                   ||3    +
        !          2687: #   +                                          +
        !          2688: #   +                                ||S       +
        !          2689: #   +                                ||4       +
        !          2690: #   +                                          +
        !          2691: #   +                                          +
        !          2692: #   +                                          +
        !          2693: #   +                                          +
        !          2694: #   +                                          +
        !          2695: # +-+                                          +-+
        !          2696: # +                                              +
        !          2697: # +                               S5 S6 S7       +
        !          2698: # +                               == == ==       +
        !          2699: # +----------------------------------------------+
        !          2700: #            front of case (keyboard)
        !          2701: #
        !          2702: #  S1 - Data Rate - Modem
        !          2703: #  S2 - Data Rate - Printer
        !          2704: # ------------------------
        !          2705: # Data Rate   Setting
        !          2706: # -------------------
        !          2707: # 50          0 0 0 0
        !          2708: # 75          1 0 0 0
        !          2709: # 110         0 1 0 0
        !          2710: # 134.5       1 1 0 0
        !          2711: # 150         0 0 1 0
        !          2712: # 300         1 0 1 0
        !          2713: # 600         0 1 1 0
        !          2714: # 1200        1 1 1 0
        !          2715: # 1800        0 0 0 1
        !          2716: # 2000        1 0 0 1
        !          2717: # 2400        0 1 0 1
        !          2718: # 3600        1 1 0 1
        !          2719: # 4800        0 0 1 1
        !          2720: # 7200        1 0 1 1
        !          2721: # 9600        0 1 1 1
        !          2722: # x           1 1 1 1
        !          2723: #
        !          2724: # S3 - Interface/Printer/Attributes
        !          2725: # ---------------------------------
        !          2726: # Printer Busy Control
        !          2727: # sw1   sw2   sw3
        !          2728: # ---------------
        !          2729: # off   off   off   Busy not active, CD disabled
        !          2730: # off   off   on    Busy not active, CD enabled
        !          2731: # off   on    off   Busy active on J5-20, CD disabled
        !          2732: # on    off   off   Busy active on J5-19, CD disabled - Factory Set.
        !          2733: # on    off   on    Busy active on J5-19, CD enabled
        !          2734: #
        !          2735: # sw4   Used in conjuction with S4 for comm interface control - Fact 0
        !          2736: #
        !          2737: # sw5   Secondary Channel Control (Hardware implementation only) - Fact 0
        !          2738: #
        !          2739: # sw6   ON enables printer BUSY active LOW - Factory Setting
        !          2740: #       OFF enables printer BUSY active HIGH - If set to this, ADM31 senses
        !          2741: #
        !          2742: # sw7   ON - steady cursor - Factory Setting
        !          2743: #       OFF - blinking cursor
        !          2744: #
        !          2745: # sw8   ON causes selected attribute character to be displayed
        !          2746: #       OFF causes SPACE to be displayed instead - Factory Setting
        !          2747: #
        !          2748: # S4 - Interface
        !          2749: # --------------
        !          2750: # Modem Interface
        !          2751: # S3    S4    S4    S4    S4
        !          2752: # sw4   sw1   sw2   sw3   sw4
        !          2753: # ---------------------------
        !          2754: # OFF   ON    OFF   ON    OFF   Enable RS-232C interface, Direct Connect and
        !          2755: #                               Current Loop disabled - Factory Setting
        !          2756: # ON    ON    OFF   ON    OFF   Enable Current Loop interface, Direct Connect
        !          2757: #                               disabled
        !          2758: # OFF   OFF   ON    OFF   ON    Enable Direct Connect interface, RS-232C and
        !          2759: #                               Current Loop Disabled
        !          2760: #
        !          2761: # sw5   ON disables dot stretching mode - Factory Setting
        !          2762: #       OFF enables dot stretching mode
        !          2763: # sw6   ON enables blanking function
        !          2764: #       OFF enables underline function - Factory Setting
        !          2765: # sw7   ON causes NULLS to be displayed as NULLS
        !          2766: #       OFF causes NULLS to be displayed as SPACES - Factory Setting
        !          2767: #
        !          2768: # S5 - Word Structure
        !          2769: # -------------------
        !          2770: # sw1   ON enables BREAK key - Factory Setting
        !          2771: #       OFF disables BREAK key
        !          2772: # sw2   ON selects 50Hz monitor refresh rate
        !          2773: #       OFF selects 60Hz monitor refresh rate - Factory Setting
        !          2774: #
        !          2775: # Modem Port Selection
        !          2776: # sw3   sw4   sw5
        !          2777: # ---------------
        !          2778: # ON    ON    ON    Selects 7 DATA bits, even parity, 2 STOP bits
        !          2779: # OFF   ON    ON    Selects 7 DATA bits, odd  parity, 2 STOP bits
        !          2780: # ON    OFF   ON    Selects 7 DATA bits, even parity, 1 STOP bit - Factory Set.
        !          2781: # OFF   OFF   ON    Selects 7 DATA bits, odd  parity, 1 STOP bit
        !          2782: # ON    ON    OFF   Selects 8 DATA bits, no   parity, 2 STOP bits
        !          2783: # OFF   ON    OFF   Selects 8 DATA bits, no   parity, 1 STOP bit
        !          2784: # ON    OFF   OFF   Selects 8 DATA bits, even parity, 1 STOP bit
        !          2785: # OFF   OFF   OFF   Selects 8 DATA bits, odd  parity, 1 STOP bit
        !          2786: #
        !          2787: # sw6   ON  sends bit 8 a 1 (mark)
        !          2788: #       OFF sends bit 8 as 0 (space) - Factory Setting
        !          2789: # sw7   ON  selects Block Mode
        !          2790: #       OFF selects Conversation Mode - Factory Setting
        !          2791: # sw8   ON  selects Full Duplex operation
        !          2792: #       OFF selects Half Duplex operation - Factory Setting
        !          2793: #
        !          2794: # S6 - Printer
        !          2795: # ------------
        !          2796: # sw1, sw2, sw6, sw7   Reserved - Factory 0
        !          2797: #
        !          2798: # Printer Port Selection
        !          2799: # same as Modem above, bit 8 (when 8 DATA bits) is always = 0
        !          2800: #
        !          2801: # sw8   ON   enables Printer Port
        !          2802: #       OFF disables Printer Port - Factory Setting
        !          2803: #
        !          2804: # S7 - Polling Address
        !          2805: # --------------------
        !          2806: # sw1-7 Establish ASCII character which designates terminal polling address
        !          2807: #       ON  = logic 0
        !          2808: #       OFF = logic 1 - Factory Setting
        !          2809: # sw8   ON   enables Polling Option
        !          2810: #       OFF disables Polling Option - Factory Setting
        !          2811: #
        !          2812: #
        !          2813: # On some older adm31s, S4 does not exist, and S5-sw6 is not defined.
        !          2814: #
        !          2815: # This adm31 entry uses underline as the standout mode.
        !          2816: # If the adm31 gives you trouble with standout mode, check the DIP switch in
        !          2817: # position 6, bank @c11, 25% from back end of the circuit board.  Should be
        !          2818: # OFF.  If there is no such switch, you have an old adm31 and must use oadm31.
        !          2819: # (adm31: removed obsolete ":ma=j^Jk^P^K^Pl ^R^L^L :" -- esr)
        !          2820: adm31|lsi adm31 with sw6 set for underline mode:\
        !          2821:        :am:bs:mi:\
        !          2822:        :co#80:li#24:\
        !          2823:        :al=\EE:bl=^G:cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :cr=^M:\
        !          2824:        :dc=\EW:dl=\ER:do=^J:ei=\Er:ho=^^:im=\Eq:is=\Eu\E0:k0=^A0\r:\
        !          2825:        :k1=^A1\r:k2=^A2\r:k3=^A3\r:k4=^A4\r:k5=^A5\r:k6=^A6\r:\
        !          2826:        :k7=^A7\r:k8=^A8\r:k9=^A9\r:kd=^J:kl=^H:kr=^L:ku=^K:le=^H:\
        !          2827:        :me=\EG0:nd=^L:se=\EG0:sf=^J:so=\EG1:ue=\EG0:up=^K:us=\EG1:
        !          2828: adm31-old|o31|old adm31:\
        !          2829:        :so=\EG4:ue@:us@:tc=adm31:
        !          2830: # LSI ADM-36 from Col. George L. Sicherman <gloria!colonel> via BRL
        !          2831: adm36|LSI ADM36:\
        !          2832:        :bs:pt:\
        !          2833:        :kn#4:\
        !          2834:        :if=/usr/lib/tabset/vt100:\
        !          2835:        :is=\E<\E>\E[6;?2;?7;?8h\E[4;20;?1;?3;?4;?5;?6;?18;?19l:tc=vt100:
        !          2836: # (adm42: removed obsolete ":ma=^K^P:" -- esr)
        !          2837: adm42|lsi adm42:\
        !          2838:        :am:bs:\
        !          2839:        :co#80:li#24:\
        !          2840:        :al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E;:cm=\E=%+ %+ :\
        !          2841:        :cr=^M:dc=\EW:dl=\ER:do=^J:ei=\Er:im=\Eq:ip=:kd=^J:kh=^^:\
        !          2842:        :kl=^H:kr=^L:ku=^K:le=^H:mk@:nd=^L:pc=\177:sf=^J:ta=^I:ue@:\
        !          2843:        :up=^K:us@:vs=\EC\E3 \E3(:\
        !          2844:        :tc=adm+sgr:
        !          2845: # The following termcap for the Lear Siegler ADM-42 leaves the
        !          2846: # "system line" at the bottom of the screen blank (for those who
        !          2847: # find it distracting otherwise)
        !          2848: adm42-ns|lsi adm-42 with no system line:\
        !          2849:        :al=\EE\EF \011:bt=\EI\EF \011:cd=\EY\EF \011:\
        !          2850:        :ce=\ET\EF \011:cl=\E;\EF \011:cm=\E=%+ %+ \EF \011:\
        !          2851:        :dc=\EW\EF \011:dl=\ER\EF \011:ei=\Er\EF \011:\
        !          2852:        :im=\Eq\EF \011:tc=adm42:
        !          2853: # ADM 1178 terminal -- rather like an ADM-42.  Manual is dated March 1 1985.
        !          2854: # The insert mode of this terminal is commented out because it's broken for our
        !          2855: # purposes in that it will shift the position of every character on the page,
        !          2856: # not just the cursor line!
        !          2857: # From: Michael Driscoll <fenris@lightspeed.net> 10 July 1996
        !          2858: adm1178|1178|lsi adm1178:\
        !          2859:        :am:\
        !          2860:        :co#80:li#24:sg#1:\
        !          2861:        :al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:cm=\E=%+ %+ :\
        !          2862:        :cr=^M:dc=\EW:dl=\ER:do=^J:ho=^^:ip=6*:kb=^H:kd=^J:kl=^H:\
        !          2863:        :le=^H:md=\E(:me=\E):mr=\EG4:nd=^L:nw=^M^J:pc=\177:se=\EG0:\
        !          2864:        :sf=^J:so=\EG4:ta=^I:ue=\EG0:up=^K:us=\EG1:vs=\EC\E3 \E3(:
        !          2865:
        !          2866: #### Qume (qvt)
        !          2867: #
        !          2868: #      Qume, Inc.
        !          2869: #      3475-A North 1st Street
        !          2870: #      San Jose CA 95134
        !          2871: #      Vox: (800)-457-4447
        !          2872: #      Fax: (408)-473-1510
        !          2873: #      Net: josed@techsupp.wyse.com (Jose D'Oliveira)
        !          2874: #
        !          2875: # Qume was bought by Wyse, but still (as of early 1995) has its own support
        !          2876: # group and production division.
        !          2877: #
        !          2878: # Discontinued Qume models:
        !          2879: #
        !          2880: # The qvt101 and qvt102 listed here are long obsolete; so is the qvt101+
        !          2881: # built to replace them, and a qvt119+ which was a 101+ with available wide
        !          2882: # mode (132 columns).  There was a qvt103 which added vt100/vt131 emulations
        !          2883: # and an ANSI-compatible qvt203 that replaced it.  Qume started producing
        !          2884: # ANSI-compatible terminals with the qvt323 and qvt61.
        !          2885: #
        !          2886: # Current Qume models (as of February 1995):
        !          2887: #
        !          2888: # All current Qume terminals have ANSI-compatible operation modes.
        !          2889: # Qume is still producing the qvt62, which features emulations for other
        !          2890: # popular lines such as ADDS, and dual-host capabilities.  The qvt82 is
        !          2891: # designed for use as a SCO ANSI terminal.  The qvt70 is a color terminal
        !          2892: # with many emulations including Wyse370, Wyse 325, etc.  Their newest
        !          2893: # model is the qvt520, which is vt420-compatible.
        !          2894: #
        !          2895: # There are some ancient printing Qume terminals under `Daisy Wheel Printers'
        !          2896: #
        !          2897: # If you inherit a Qume without docs, try Ctrl-Shift-Setup to enter its
        !          2898: # setup mode.  Shift-s should be a configuration save to NVRAM.
        !          2899:
        !          2900: qvt101|qvt108|qume qvt 101 and QVT 108:\
        !          2901:        :sg#1:tc=qvt101+:
        !          2902:
        !          2903: # This used to have :vs=\E.2: but no :ve: or :vi:.  The BSD termcap
        !          2904: # file had :vs=\EM4 \200\200\200:.  I've done the safe thing and yanked
        !          2905: # both. The :mr: is from BSD, which also claimed bold=\E( and dim=\E).
        !          2906: # What seems to be going on here is that this entry was designed so that
        !          2907: # the normal highlight is bold and standout is dim plus something else
        !          2908: # (reverse-video maybe?  But then, are there two :mr: sequences?)
        !          2909: qvt101+|qvt101p|qume qvt 101 PLUS product:\
        !          2910:        :am:bw:hs:ul:\
        !          2911:        :co#80:li#24:sg#0:\
        !          2912:        :al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:\
        !          2913:        :ct=\E3:dc=\EW:dl=\ER:do=^J:ds=\Eg\Ef\r:ei=:fs=^M:ho=^^:\
        !          2914:        :ic=\EQ:im=:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
        !          2915:        :k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:kA=\EE:\
        !          2916:        :kB=\EI:kE=\ET:kI=\EQ:kL=\ER:kS=\EY:kb=^H:kd=^J:kh=^^:kl=^H:\
        !          2917:        :kr=^L:ku=^K:le=^H:mk@:nd=^L:pf=\EA:po=\E@:se=\E(:sf=^J:\
        !          2918:        :so=\E0P\E):st=\E1:ta=^I:ts=\Eg\Ef:up=^K:vb=\Eb\Ed:ve=\E.4:\
        !          2919:        :tc=adm+sgr:
        !          2920: qvt102|qume qvt 102:\
        !          2921:        :ve=\E.:tc=qvt101:
        !          2922: # (qvt103: added <rmam>/<smam> based on init string -- esr)
        !          2923: qvt103|qume qvt 103:\
        !          2924:        :am:xn:xo:\
        !          2925:        :co#80:it#8:li#24:vt#3:\
        !          2926:        :DO=\E[%dB:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
        !          2927:        :UP=\E[%dA:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
        !          2928:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:do=^J:\
        !          2929:        :ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:\
        !          2930:        :ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
        !          2931:        :mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
        !          2932:        :r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
        !          2933:        :..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m:\
        !          2934:        :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
        !          2935:        :up=\E[A:us=\E[4m:
        !          2936: qvt103-w|qume qvt103 132 cols:\
        !          2937:        :co#132:li#24:\
        !          2938:        :r2=\E>\E[?3h\E[?4l\E[?5l\E[?8h:tc=qvt103:
        !          2939: qvt119+|qvt119p|qvt119|qume qvt 119 and 119PLUS terminals:\
        !          2940:        :am:hs:mi:ms:\
        !          2941:        :co#80:li#24:sg#0:\
        !          2942:        :al=\EE:bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=\E*1:cm=\E=%+ %+ :\
        !          2943:        :cr=^M:ct=\E3:dc=\EW:dl=\ER:do=^J:ds=\Eg\Ef\r:ei=\Er:fs=^M:\
        !          2944:        :ho=^^:im=\Eq:is=\EDF\EC\EG0\Er\E(\E%EX:k0=^AI\r:\
        !          2945:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
        !          2946:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:\
        !          2947:        :ku=^K:le=^H:nd=^L:pf=\EA:po=\E@:sf=^J:sr=\EJ:st=\E1:ta=^I:\
        !          2948:        :ts=\Eg\Ef:up=^K:us=\EG8:vb=\En0\En1:ve=\E.4:vs=\E.2:\
        !          2949:        :tc=adm+sgr:
        !          2950: qvt119+-25|qvt119p-25|QVT 119 PLUS with 25 data lines:\
        !          2951:        :li#25:tc=qvt119+:
        !          2952: qvt119+-w|qvt119p-w|qvt119-w|QVT 119 and 119 PLUS in 132 column mode:\
        !          2953:        :co#132:\
        !          2954:        :is=\EDF\EC\EG0\Er\E(\E%\EX\En4:tc=qvt119+:
        !          2955: qvt119+-25-w|qvt119p-25-w|qvt119-25-w|QVT 119 and 119 PLUS 132 by 25:\
        !          2956:        :li#25:tc=qvt119+:
        !          2957: qvt203|qvt203+|qume qvt 203 Plus:\
        !          2958:        :al=\E[L:dc=\E[P:dl=\E[M:ei=\E[4l:im=\E[4h:ip=:k0=\E[29~:\
        !          2959:        :k1=\E[17~:k2=\E[18~:k3=\E[19~:k4=\E[20~:k5=\E[21~:\
        !          2960:        :k6=\E[23~:k7=\E[24~:k8=\E[25~:k9=\E[28~:sf=\n:\
        !          2961:        :tc=qvt103:
        !          2962: qvt203-w|qvt203-w-am|qume qvt 203 PLUS in 132 cols (w/advanced video):\
        !          2963:        :co#132:li#24:\
        !          2964:        :r2=\E>\E[?3h\E[?4l\E[?5l\E[?8h:tc=qvt203:
        !          2965: #
        !          2966: #      Since a command is present for enabling 25 data lines,
        !          2967: #      a specific terminfo entry may be generated for the 203.
        !          2968: #      If one is desired for the QVT 119 PLUS then 25 lines must
        !          2969: #      be selected in the status line (setup line 9).
        !          2970: #
        !          2971: qvt203-25|QVT 203 PLUS with 25 by 80 column mode:\
        !          2972:        :co#80:li#25:\
        !          2973:        :is=\E[=40h\E[?3l:tc=qvt203:
        !          2974: qvt203-25-w|QVT 203 PLUS with 25 by 132 columns:\
        !          2975:        :co#132:li#25:\
        !          2976:        :r2=\E[?3h\E[=40h:tc=qvt203:
        !          2977:
        !          2978: #### Televideo (tvi)
        !          2979: #
        !          2980: #      TeleVideo
        !          2981: #      550 East Brokaw Road
        !          2982: #      PO Box 49048    95161
        !          2983: #      San Jose CA 95112
        !          2984: #      Vox: (408)-954-8333
        !          2985: #      Fax: (408)-954-0623
        !          2986: #
        !          2987: #
        !          2988: # There are some tvi terminals that require incredible amounts of padding and
        !          2989: # some that don't.  I'm assuming tvi912 and tvi920 are the old slow ones, and
        !          2990: # tvi912b, tvi912c, tvi920b, tvi920c are the new ones that don't need padding.
        !          2991: #
        !          2992: # All of these terminals (912 to 970 and the tvipt) are discontinued.  Newer
        !          2993: # Televideo terminals are ANSI and PC-ANSI compatible.
        !          2994:
        !          2995: tvi803|televideo 803:\
        !          2996:        :cl=\E*:tc=tvi950:
        !          2997:
        !          2998: # Vanilla tvi910 -- W. Gish <cswarren@violet> 10/29/86
        !          2999: # Switch settings are:
        !          3000: #
        !          3001: # S1  1 2 3 4
        !          3002: #     D D D D  9600
        !          3003: #     D D D U    50
        !          3004: #     D D U D    75
        !          3005: #     D D U U   110
        !          3006: #     D U D D   135
        !          3007: #     D U D U   150
        !          3008: #     D U U D   300
        !          3009: #     D U U U   600
        !          3010: #     U D D D  1200
        !          3011: #     U D D U  1800
        !          3012: #     U D U D  2400
        !          3013: #     U D U U  3600
        !          3014: #     U U D D  4800
        !          3015: #     U U D U  7200
        !          3016: #     U U U D  9600
        !          3017: #     U U U U 19200
        !          3018: #
        !          3019: # S1  5 6 7 8
        !          3020: #     U D X D  7N1 (data bits, parity, stop bits) (X means ignored)
        !          3021: #     U D X U  7N2
        !          3022: #     U U D D  7O1
        !          3023: #     U U D U  7O2
        !          3024: #     U U U D  7E1
        !          3025: #     U U U U  7E2
        !          3026: #     D D X D  8N1
        !          3027: #     D D X U  8N2
        !          3028: #     D U D D  8O1
        !          3029: #     D U U U  8E2
        !          3030: #
        !          3031: # S1  9  Autowrap
        !          3032: #     U  on
        !          3033: #     D  off
        !          3034: #
        !          3035: # S1 10  CR/LF
        !          3036: #     U  do CR/LF when CR received
        !          3037: #     D  do CR when CR received
        !          3038: #
        !          3039: # S2  1  Mode
        !          3040: #     U  block
        !          3041: #     D  conversational
        !          3042: #
        !          3043: # S2  2  Duplex
        !          3044: #     U  half
        !          3045: #     D  full
        !          3046: #
        !          3047: # S2  3  Hertz
        !          3048: #     U  50
        !          3049: #     D  60
        !          3050: #
        !          3051: # S2  4  Edit mode
        !          3052: #     U  local
        !          3053: #     D  duplex
        !          3054: #
        !          3055: # S2  5  Cursor type
        !          3056: #     U  underline
        !          3057: #     D  block
        !          3058: #
        !          3059: # S2  6  Cursor down key
        !          3060: #     U  send ^J
        !          3061: #     D  send ^V
        !          3062: #
        !          3063: # S2  7  Screen colour
        !          3064: #     U  green on black
        !          3065: #     D  black on green
        !          3066: #
        !          3067: # S2  8  DSR status (pin 6)
        !          3068: #     U  disconnected
        !          3069: #     D  connected
        !          3070: #
        !          3071: # S2  9  DCD status (pin 8)
        !          3072: #     U  disconnected
        !          3073: #     D  duplex
        !          3074: #
        !          3075: # S2 10  DTR status (pin 20)
        !          3076: #     U  disconnected
        !          3077: #     D  duplex
        !          3078: # (tvi910: removed obsolete ":ma=^Kk^Ll^R^L:"; added :kh:, :le:, :do:,
        !          3079: # :sf:, <hpa>, <vpa>, :am:, :ms: from SCO entry -- esr)
        !          3080: tvi910|televideo model 910:\
        !          3081:        :am:bs:ms:\
        !          3082:        :co#80:it#8:li#24:sg#1:\
        !          3083:        :bl=^G:bt=\EI:cd=\EY:ce=\ET:ch=\E]%+ :cl=^Z:cm=\E=%+ %+ :\
        !          3084:        :cr=^M:cv=\E[%+ :do=^J:ho=\E=\001\001:\
        !          3085:        :if=/usr/share/tabset/stdcrt:k0=^AI\r:k1=^A@\r:k2=^AA\r:\
        !          3086:        :k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:\
        !          3087:        :k9=^AH\r:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:mk@:nd=^L:\
        !          3088:        :sf=^J:ta=^I:up=^K:\
        !          3089:        :tc=adm+sgr:
        !          3090: # From: Alan R. Rogers <rogers%albany@csnet-relay>
        !          3091: # as subsequently hacked over by someone at SCO
        !          3092: # (tvi910+: removed obsolete ":ma=^K^P^L :" -- esr)
        !          3093: #
        !          3094: # Here are the 910+'s DIP switches (U = up, D = down, X = don't care):
        !          3095: #
        !          3096: # S1  1 2 3 4:
        !          3097: #     D D D D  9600     D D D U    50     D D U D    75     D D U U   110
        !          3098: #     D U D D   135     D U D U   150     D U U D   300     D U U U   600
        !          3099: #     U D D D  1200     U D D U  1800     U D U D  2400     U D U U  3600
        !          3100: #     U U D D  4800     U U D U  7200     U U U D  9600     U U U U 19200
        !          3101: #
        !          3102: # S1  5 6 7 8:
        !          3103: #     U D X D  7N1     U D X U  7N2     U U D D  7O1     U U D U  7O2
        !          3104: #     U U U D  7E1     U U U U  7E2     D D X D  8N1     D D X U  8N2
        !          3105: #     D U D D  8O1     D U U U  8E2
        !          3106: #
        !          3107: # S1  9  Autowrap            (U = on, D = off)
        !          3108: # S1 10  CR/LF               (U = CR/LF on CR received, D = CR on CR received)
        !          3109: # S2  1  Mode                (U = block, D = conversational)
        !          3110: # S2  2  Duplex              (U =  half, D = full)
        !          3111: # S2  3  Hertz               (U = 50, D = 60)
        !          3112: # S2  4  Edit mode           (U = local, D = duplex)
        !          3113: # S2  5  Cursor type         (U = underline, D = block)
        !          3114: # S2  6  Cursor down key     (U = send ^J, D = send ^V)
        !          3115: # S2  7  Screen colour       (U = green on black, D = black on green)
        !          3116: # S2  8  DSR status (pin 6)  (U = disconnected, D = connected)
        !          3117: # S2  9  DCD status (pin 8)  (U = disconnected, D = connected)
        !          3118: # S2 10  DTR status (pin 20) (U = disconnected, D = connected)
        !          3119: #
        !          3120: tvi910+|televideo 910+:\
        !          3121:        :al=\EE:dc=\EW:dl=\ER:ei=:ho=^^:ic=\EQ:im=:k0=^A@\r:k1=^AA\r:\
        !          3122:        :k2=^AB\r:k3=^AC\r:k4=^AD\r:k5=^AE\r:k6=^AF\r:k7=^AG\r:\
        !          3123:        :k8=^AH\r:k9=^AI\r:ll=\E=7 :\
        !          3124:        :tc=tvi910:
        !          3125:
        !          3126: # (tvi912: removed obsolete ":ma=^K^P^L :", added  :vb: and
        !          3127: # :kh: from BRL entry -- esr)
        !          3128: tvi912|tvi914|tvi920|old televideo 912/914/920:\
        !          3129:        :am:bs:ms:pt:\
        !          3130:        :co#80:it#8:li#24:sg#1:\
        !          3131:        :al=\EE:bl=^G:cd=\Ey:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:ct=\E3:\
        !          3132:        :dc=\EW:dl=\ER:do=^J:ei=:ho=^^:ic=\EQ:\
        !          3133:        :if=/usr/share/tabset/stdcrt:im=:k0=^AI\r:k1=^A@\r:\
        !          3134:        :k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:\
        !          3135:        :k8=^AG\r:k9=^AH\r:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:\
        !          3136:        :nd=^L:se=\Ek:sf=^J:so=\Ej:st=\E1:ta=^I:ue=\Em:up=^K:us=\El:\
        !          3137:        :vb=\Eb\Ed:
        !          3138: # the 912 has a <funct> key that's like shift: <funct>8 xmits "^A8\r".
        !          3139: # The 920 has this plus real function keys that xmit different things.
        !          3140: # Terminfo makes you use the funct key on the 912 but the real keys on the 920.
        !          3141: tvi912c|tvi912b|new televideo 912:\
        !          3142:        :al=\EE:dl=\ER:tc=tvi912:
        !          3143: # set to page 1 when entering curses application (\E-17 )
        !          3144: # reset to page 0 when exiting curses application (\E-07 )
        !          3145: tvi912-2p|tvi920-2p|tvi-2p|televideo w/2 pages:\
        !          3146:        :te=\E-07 :ti=\E-17 :tc=tvi912:
        !          3147: # We got some new tvi912c terminals that act really weird on the regular
        !          3148: # termcap, so one of our gurus worked this up. Seems that cursor
        !          3149: # addressing is broken.
        !          3150: tvi912cc|tvi912 at cowell college:\
        !          3151:        :cm@:tc=tvi912c:
        !          3152:
        !          3153: # Here are the switch settings for the tvi920c:
        !          3154: #
        !          3155: # S1 (Line), and S3 (Printer) baud rates -- put one, and only one, switch down:
        !          3156: # 2: 9600      3: 4800         4: 2400         5: 1200
        !          3157: # 6:  600      7:  300         8:  150         9:   75
        !          3158: # 10: 110
        !          3159: #
        !          3160: # S2 UART/Terminal options:
        !          3161: #              Up                      Down
        !          3162: # 1:           Not used                Not allowed
        !          3163: # 2:   Alternate character set   Standard character set
        !          3164: # 3:       Full duplex             Half duplex
        !          3165: # 4:       50 Hz refresh           60 Hz refresh
        !          3166: # 5:         No parity              Send parity
        !          3167: # 6:        2 stop bits             1 stop bit
        !          3168: # 7:        8 data bits             7 data bits
        !          3169: # 8:           Not used                Not allowed on Rev E or lower
        !          3170: # 9:        Even parity             Odd parity
        !          3171: # 10:      Steady cursor           Blinking cursor
        !          3172: #      (On Rev E or lower, use W25 instead of switch 10.)
        !          3173: #
        !          3174: # S5 UART/Terminal options:
        !          3175: #              Open                    Closed
        !          3176: # 1:   P3-6 Not connected      DSR received on P3-6
        !          3177: # 2:   P3-8 Not connected      DCD received on P3-8
        !          3178: #
        !          3179: # 3 Open, 4 Open:              P3-20 Not connected
        !          3180: # 3 Open, 4 Closed:    DTR on when terminal is on
        !          3181: # 3 Closed, 4 Open:    DTR is connected to RTS
        !          3182: # 3 Closed, 4 Closed:  Not allowed
        !          3183: #
        !          3184: # 5 Closed:    HDX printer (hardware control) Rev. K with extension port off,
        !          3185: #              all data transmitted out of the modem port (P3) will also be
        !          3186: #              transmitted out of the printer port (P4).
        !          3187: #
        !          3188: # 6 Open, 7 Open:              Not allowed
        !          3189: # 6 Open, 7 Closed:    20ma current loop input
        !          3190: # 6 Closed, 7 Open:    RS232 input
        !          3191: # 6 Closed, 7 Closed:  Not allowed
        !          3192: #
        !          3193: # Jumper options:
        !          3194: # If the jumper is installed, the effect will occur (the next time the terminal
        !          3195: # is switched on).
        !          3196: #
        !          3197: # S4/W31:      Enables automatic LF upon receipt of CR from
        !          3198: #              remote or keyboard.
        !          3199: # S4/W32:      Enables transmission of EOT at the end of Send.  If not
        !          3200: #              installed, a carriage return is sent.
        !          3201: # S4/W33:      Disables automatic carriage return in column 80.
        !          3202: # S4/W34:      Selects Page Print Mode as initial condition.  If not
        !          3203: #              installed, Extension Mode is selected.
        !          3204: #
        !          3205: tvi920b|tvi920c|new televideo 920:\
        !          3206:        :al=\EE:dl=\ER:k0=^AI\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:\
        !          3207:        :k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:\
        !          3208:        :tc=tvi912:
        !          3209:
        !          3210: # Televideo 921 and variants
        !          3211: # From: Tim Theisen <tim@cs.wisc.edu> 22 Sept 1995
        !          3212: # (tvi921: removed :ko=bt: before translation, I see no backtab cap;
        !          3213: # also added empty <acsc> to suppress tic warning -- esr)
        !          3214: tvi921|televideo model 921 with sysline same as page & real vi function:\
        !          3215:        :am:bs:hs:pt:xn:xs:\
        !          3216:        :co#80:li#24:sg#0:\
        !          3217:        :ac=:ae=\E%:al=\EE:as=\E$:cd=\EY:ce=\ET:cl=^Z:cm=3\E=%+ %+ :\
        !          3218:        :cr=^M:dc=\EW:dl=1*\ER:do=^V:ds=\Ef\r\Eg:ei=:fs=\Eg:ho=^^:\
        !          3219:        :ic=\EQ:if=/usr/share/tabset/stdcrt:im=:\
        !          3220:        :is=\El\E"\EF1\E.3\017\EA\E<:kA=\EE:kC=^Z:kD=\EW:kE=\ET:\
        !          3221:        :kI=\EQ:kL=1*\ER:kS=\EY:kb=^H:kd=^V:kl=^H:kr=^L:ku=^K:le=^H:\
        !          3222:        :mk@:nd=^L:nw=^M^J:sf=^J:ta=^I:ts=\Ef\EG0:up=^K:ve=\E.3:\
        !          3223:        :vs=\E.2:\
        !          3224:        :tc=adm+sgr:
        !          3225: # without the beeper
        !          3226: # (tvi92B: removed :ko=bt: before translation, I see no backtab cap;
        !          3227: # also added empty <acsc> to suppress tic warning -- esr)
        !          3228: tvi92B|televideo model 921 with sysline same as page & real vi function & no beeper:\
        !          3229:        :am:hs:xn:xs:\
        !          3230:        :co#80:li#24:sg#0:\
        !          3231:        :ac=:ae=\E%:al=\EE:as=\E$:cd=\EY:ce=\ET:cl=^Z:cm=3\E=%+ %+ :\
        !          3232:        :cr=^M:dc=\EW:dl=1*\ER:do=^V:ds=\Ef\r\Eg:ei=:fs=\Eg:ho=^^:\
        !          3233:        :ic=\EQ:if=/usr/share/tabset/stdcrt:im=:\
        !          3234:        :is=\El\E"\EF1\E.3\017\EA\E<:kA=\EE:kC=^Z:kD=\EW:kE=\ET:\
        !          3235:        :kI=\EQ:kL=1*\ER:kS=\EY:kb=^H:kd=^V:kl=^H:kr=^L:ku=^K:le=^H:\
        !          3236:        :mk@:nd=^L:nw=^M^J:sf=^J:ta=^I:ts=\Ef\EG0:up=^K:vb=\Eb\Ed:\
        !          3237:        :ve=\E.3:vs=\E.2:\
        !          3238:        :tc=adm+sgr:
        !          3239: # (tvi92D: removed :ko=bt: before translation, I see no backtab cap -- esr)
        !          3240: tvi92D|tvi92B with DTR instead of XON/XOFF & better padding:\
        !          3241:        :al=2*\EE:dl=2*\ER:is=\El\E"\EF1\E.3\016\EA\E<:kA=2*\EE:\
        !          3242:        :kL=2*\ER:\
        !          3243:        :tc=tvi92B:
        !          3244:
        !          3245: # (tvi924: This used to have :ds=\Es0:, :fs=\031:.  I put the new strings
        !          3246: # in from a BSD termcap file because it looks like they do something the
        !          3247: # old ones skip -- esr)
        !          3248: tvi924|televideo tvi924:\
        !          3249:        :am:bw:hs:in:mi:ms:xn:xo:\
        !          3250:        :co#80:it#8:li#24:sg#0:ws#80:\
        !          3251:        :F1=^AK\r:F2=^AL\r:F3=^AM\r:F4=^AN\r:F5=^AO\r:al=\EE:bl=^G:\
        !          3252:        :bt=\EI:cd=\Ey:ce=\Et:cl=\E*0:cm=\E=%+ %+ :cr=^M:\
        !          3253:        :cs=\E_%+ %+ :ct=\E3:dc=\EW:dl=\ER:do=^V:ds=\Es0\Ef\031:\
        !          3254:        :ei=:fs=\031\Es1:ho=^^:\
        !          3255:        :i1=\017\E%\E'\E(\EDF\EC\EG0\EN0\Es0\Ev0:ic=\EQ:\
        !          3256:        :if=/usr/share/tabset/stdcrt:im=:k0=^A@\r:k1=^AA\r:\
        !          3257:        :k2=^AB\r:k3=^AC\r:k4=^AD\r:k5=^AE\r:k6=^AF\r:k7=^AG\r:\
        !          3258:        :k8=^AH\r:k9=^AI\r:k;=^AJ\r:kA=\EE:kC=\E*0:kD=\EW:kE=\Et:\
        !          3259:        :kI=\EQ:kL=\ER:kS=\Ey:kb=^H:kd=^V:kh=^^:kl=^H:kr=^L:ku=^K:\
        !          3260:        :l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:l8=F9:l9=F10:\
        !          3261:        :la=F11:le=^H:mb=\EG2:mk@:nd=^L:pk=\E|%+1%s\031:sf=^J:\
        !          3262:        :sr=\Ej:st=\E1:ta=^I:ts=\Ef:up=^K:vb=\Eb\Ed:ve=\E.3:vi=\E.0:\
        !          3263:        :vs=\E.1:\
        !          3264:        :tc=adm+sgr:
        !          3265:
        !          3266: # TVI925 DIP switches.  In each of these, D = Down and U = Up,
        !          3267: #
        !          3268: # Here are the settings for the external (baud) switches (S1):
        !          3269: #
        !          3270: #             Position         Baud
        !          3271: # 7    8       9       10              [Printer]
        !          3272: # 1    2       3       4               [Main RS232]
        !          3273: # -----------------------------------------------------
        !          3274: # D    D       D       D       9600
        !          3275: # D    D       D       U         50
        !          3276: # D    D       U       D         75
        !          3277: # D    D       U       U        110
        !          3278: # D    U       D       D        135
        !          3279: # D    U       D       U        150
        !          3280: # D    U       U       D        300
        !          3281: # D    U       U       U        600
        !          3282: # U    D       D       D       1200
        !          3283: # U    D       D       U       1800
        !          3284: # U    D       U       D       2400
        !          3285: # U    D       U       U       3600
        !          3286: # U    U       D       D       4800
        !          3287: # U    U       D       U       7200
        !          3288: # U    U       U       D       9600
        !          3289: # U    U       U       U       19200
        !          3290: #
        !          3291: #
        !          3292: # Settings for word length and stop-bits (S1)
        !          3293: #
        !          3294: #  Position    Description
        !          3295: # 5    6
        !          3296: # ---------------------------
        !          3297: # U    -       7-bit word
        !          3298: # D    -       8-bit word
        !          3299: # -    U       2 stop bits
        !          3300: # -    D       1 stop bit
        !          3301: #
        !          3302: #
        !          3303: # S2 (external) settings
        !          3304: #
        !          3305: # Position     Up      Dn      Description
        !          3306: # --------------------------------------------
        !          3307: # 1            X               Local edit
        !          3308: #                      X       Duplex edit (transmit editing keys)
        !          3309: # --------------------------------------------
        !          3310: # 2            X               912/920 emulation
        !          3311: #                      X       925
        !          3312: # --------------------------------------------
        !          3313: # 3                    X
        !          3314: # 4                    X       No parity
        !          3315: # 5                    X
        !          3316: # --------------------------------------------
        !          3317: # 3                    X
        !          3318: # 4                    X       Odd parity
        !          3319: # 5            X
        !          3320: # --------------------------------------------
        !          3321: # 3                    X
        !          3322: # 4            X               Even parity
        !          3323: # 5            X
        !          3324: # --------------------------------------------
        !          3325: # 3            X
        !          3326: # 4                    X       Mark parity
        !          3327: # 5            X
        !          3328: # --------------------------------------------
        !          3329: # 3            X
        !          3330: # 4            X               Space parity
        !          3331: # 5            X
        !          3332: # --------------------------------------------
        !          3333: # 6            X               White on black display
        !          3334: #                      X       Black on white display
        !          3335: # --------------------------------------------
        !          3336: # 7                    X       Half Duplex
        !          3337: # 8                    X
        !          3338: # --------------------------------------------
        !          3339: # 7            X               Full Duplex
        !          3340: # 8                    X
        !          3341: # --------------------------------------------
        !          3342: # 7                    X       Block mode
        !          3343: # 8            X
        !          3344: # --------------------------------------------
        !          3345: # 9                    X       50 Hz
        !          3346: #              X               60 Hz
        !          3347: # --------------------------------------------
        !          3348: # 10           X               CR/LF (Auto LF)
        !          3349: #                      X       CR only
        !          3350: #
        !          3351: # S3 (internal switch) settings:
        !          3352: #
        !          3353: # Position     Up      Dn      Description
        !          3354: # --------------------------------------------
        !          3355: # 1            X               Keyclick off
        !          3356: #                      X       Keyclick on
        !          3357: # --------------------------------------------
        !          3358: # 2                    X       English
        !          3359: # 3                    X
        !          3360: # --------------------------------------------
        !          3361: # 2                    X       German
        !          3362: # 3            X
        !          3363: # --------------------------------------------
        !          3364: # 2            X               French
        !          3365: # 3                    X
        !          3366: # --------------------------------------------
        !          3367: # 2            X               Spanish
        !          3368: # 3            X
        !          3369: # --------------------------------------------
        !          3370: # 4                    X       Blinking block cursor
        !          3371: # 5                    X
        !          3372: # --------------------------------------------
        !          3373: # 4                    X       Blinking underline cursor
        !          3374: # 5            X
        !          3375: # --------------------------------------------
        !          3376: # 4            X               Steady block cursor
        !          3377: # 5                    X
        !          3378: # --------------------------------------------
        !          3379: # 4            X               Steady underline cursor
        !          3380: # 5            X
        !          3381: # --------------------------------------------
        !          3382: # 6            X               Screen blanking timer (ON)
        !          3383: #                      X       Screen blanking timer (OFF)
        !          3384: # --------------------------------------------
        !          3385: # 7            X               Page attributes
        !          3386: #                      X       Line attributes
        !          3387: # --------------------------------------------
        !          3388: # 8            X               DCD disconnected
        !          3389: #                      X       DCD connected
        !          3390: # --------------------------------------------
        !          3391: # 9            X               DSR disconnected
        !          3392: #                      X       DSR connected
        !          3393: # --------------------------------------------
        !          3394: # 10           X               DTR Disconnected
        !          3395: #                      X       DTR connected
        !          3396: # --------------------------------------------
        !          3397: #
        !          3398: # (tvi925: BSD has :cl=\E*:.  I got :is: and :sr: from there -- esr)
        !          3399: tvi925|televideo 925:\
        !          3400:        :am:bs:bw:hs:ul:\
        !          3401:        :co#80:li#24:sg#1:\
        !          3402:        :al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:\
        !          3403:        :ct=\E3:dc=\EW:dl=\ER:do=^V:ds=\Eh:ei=:fs=^M\Eg:ho=^^:ic=\EQ:\
        !          3404:        :im=:is=\El\E":k0=^AI\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:\
        !          3405:        :k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:\
        !          3406:        :kA=\EE:kC=^Z:kD=\EW:kE=\ET:kI=\EQ:kL=\ER:kS=\EY:kb=^H:kd=^V:\
        !          3407:        :kh=^^:kl=^H:kr=^L:ku=^K:le=^H:mk@:nd=^L:sf=^J:sr=\Ej:st=\E1:\
        !          3408:        :ta=^I:ts=\Eh\Ef:up=^K:vb=\Eb\Ed:ve=\E.4:vs=\E.2:\
        !          3409:        :tc=adm+sgr:
        !          3410: # TeleVideo 925 from Mitch Bradley <sun!wmb> via BRL
        !          3411: # to avoid "magic cookie" standout glitch:
        !          3412: tvi925-hi|TeleVideo Model 925 with half intensity standout mode:\
        !          3413:        :sg@:\
        !          3414:        :kb=^H:kd=^J:kl=^H:se=\E(:so=\E):tc=tvi925:
        !          3415:
        !          3416: # From: Todd Litwin <litwin@litwin.jpl.nasa.gov> 28 May 1993
        !          3417: # Originally Tim Curry, Univ. of Central Fla., <duke!ucf-cs!tim> 5/21/82
        !          3418: # for additional capabilities,
        !          3419: # The following tvi descriptions from B:pjphar and virus!mike
        !          3420: # is for all 950s.  It sets the following attributes:
        !          3421: # full duplex (\EDF)           write protect off (\E()
        !          3422: # conversation mode (\EC)      graphics mode off (\E%)
        !          3423: # white on black (\Ed)         auto page flip off (\Ew)
        !          3424: # turn off status line (\Eg)   clear status line (\Ef\r)
        !          3425: # normal video (\E0)           monitor mode off (\EX or \Eu)
        !          3426: # edit mode (\Er)              load blank char to space (\Ee\040)
        !          3427: # line edit mode (\EO)         enable buffer control (^O)
        !          3428: # protect mode off (\E\047)    duplex edit keys (\El)
        !          3429: # program unshifted send key to send line all (\E016)
        !          3430: # program shifted send key to send line unprotected (\E004)
        !          3431: # set the following to nulls:
        !          3432: #      field delimiter (\Ex0\200\200)
        !          3433: #      line delimiter (\Ex1\200\200)
        !          3434: #      start-protected field delimiter (\Ex2\200\200)
        !          3435: #      end-protected field delimiter (\Ex3\200\200)
        !          3436: # set end of text delimiter to carriage return/null (\Ex4\r\200)
        !          3437: #
        !          3438: #                     TVI 950 Switch Setting Reference Charts
        !          3439: #
        !          3440: #                                     TABLE 1:
        !          3441: #
        !          3442: #      S1     1     2     3     4     5     6     7     8     9    10
        !          3443: #          +-----------------------+-----+-----+-----------------------+
        !          3444: #          | Computer Baud Rate    |Data |Stop | Printer Baud Rate     |
        !          3445: #          |                       |Bits |Bits |                       |
        !          3446: #   +------+-----------------------+-----+-----+-----------------------+
        !          3447: #   |  Up  |        See            |  7  |  2  |        See            |
        !          3448: #   +------+-----------------------+-----+-----+-----------------------+
        !          3449: #   | Down |      TABLE 2          |  8  |  1  |      TABLE 2          |
        !          3450: #   +------+-----------------------+-----+-----+-----------------------+
        !          3451: #
        !          3452: #
        !          3453: #      S2     1     2     3     4     5     6     7     8     9    10
        !          3454: #          +-----+-----+-----------------+-----+-----------+-----+-----+
        !          3455: #          |Edit |Cursr|    Parity       |Video|Transmiss'n| Hz  |Click|
        !          3456: #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
        !          3457: #   |  Up  | Dplx|Blink|      See        |GonBk|   See     | 60  | Off |
        !          3458: #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
        !          3459: #   | Down |Local|St'dy|    TABLE 3      |BkonG|  CHART    | 50  | On  |
        !          3460: #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
        !          3461: #
        !          3462: #                                    TABLE 2:
        !          3463: #
        !          3464: #             +-----------+-----+-----+-----+-----+-----------+
        !          3465: #             | Display   |  1  |  2  |  3  |  4  |   Baud    |
        !          3466: #             +-----------+-----+-----+-----+-----+           |
        !          3467: #             | Printer   |  7  |  8  |  9  | 10  |   Rate    |
        !          3468: #             +-----------+-----+-----+-----+-----+-----------+
        !          3469: #                         |  D  |  D  |  D  |  D  |   9600    |
        !          3470: #                         |  U  |  D  |  D  |  D  |     50    |
        !          3471: #                         |  D  |  U  |  D  |  D  |     75    |
        !          3472: #                         |  U  |  U  |  D  |  D  |    110    |
        !          3473: #                         |  D  |  D  |  U  |  D  |    135    |
        !          3474: #                         |  U  |  D  |  U  |  D  |    150    |
        !          3475: #                         |  D  |  U  |  U  |  D  |    300    |
        !          3476: #                         |  U  |  U  |  U  |  D  |    600    |
        !          3477: #                         |  D  |  D  |  D  |  U  |   1200    |
        !          3478: #                         |  U  |  D  |  D  |  U  |   1800    |
        !          3479: #                         |  D  |  U  |  D  |  U  |   2400    |
        !          3480: #                         |  U  |  U  |  D  |  U  |   3600    |
        !          3481: #                         |  D  |  D  |  U  |  U  |   4800    |
        !          3482: #                         |  U  |  D  |  U  |  U  |   7200    |
        !          3483: #                         |  D  |  U  |  U  |  U  |   9600    |
        !          3484: #                         |  U  |  U  |  U  |  U  |  19200    |
        !          3485: #                         +-----+-----+-----+-----+-----------+
        !          3486: #
        !          3487: #                                    TABLE 3:
        !          3488: #                         +-----+-----+-----+-----------+
        !          3489: #                         |  3  |  4  |  5  |   Parity  |
        !          3490: #                         +-----+-----+-----+-----------+
        !          3491: #                         |  X  |  X  |  D  |    None   |
        !          3492: #                         |  D  |  D  |  U  |     Odd   |
        !          3493: #                         |  D  |  U  |  U  |    Even   |
        !          3494: #                         |  U  |  D  |  U  |    Mark   |
        !          3495: #                         |  U  |  U  |  U  |   Space   |
        !          3496: #                         +-----+-----+-----+-----------+
        !          3497: #                                 X = don't care
        !          3498: #
        !          3499: #                                     CHART:
        !          3500: #                         +-----+-----+-----------------+
        !          3501: #                         |  7  |  8  | Communication   |
        !          3502: #                         +-----+-----+-----------------+
        !          3503: #                         |  D  |  D  |  Half Duplex    |
        !          3504: #                         |  D  |  U  |  Full Duplex    |
        !          3505: #                         |  U  |  D  |     Block       |
        !          3506: #                         |  U  |  U  |     Local       |
        !          3507: #                         +-----+-----+-----------------+
        !          3508: #
        !          3509: # (tvi950: early versions had obsolete ":ma=^Vj^Kk^Hh^Ll^^H:".
        !          3510: # I also inserted :ic: and :kI:; the :ko: string indicated that :IC:
        !          3511: # should be present and all tvi native modes use the same string for this.
        !          3512: # Finally, note that BSD has cud1=^V. -- esr)
        !          3513: tvi950|televideo 950:\
        !          3514:        :am:bs:hs:mi:ms:xn:xo:\
        !          3515:        :co#80:it#8:li#24:sg#1:\
        !          3516:        :ac=b\011c\014d\re\ni\013:ae=^X:al=\EE:as=^U:bl=^G:bt=\EI:\
        !          3517:        :cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :cr=^M:ct=\E3:dc=\EW:\
        !          3518:        :dl=\ER:do=^J:ds=\Eg\Ef\r:ei=\Er:fs=^M:ho=^^:ic=\EQ:im=\Eq:\
        !          3519:        :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:\
        !          3520:        :k0=^A0\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
        !          3521:        :k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=\EE:kB=\EI:kC=\E*:\
        !          3522:        :kD=\EW:kE=\Et:kI=\EQ:kL=\ER:kS=\Ey:kb=^H:kd=^V:kh=^^:kl=^H:\
        !          3523:        :kr=^L:ku=^K:le=^H:mk@:nd=^L:pf=\Ea:po=\E`:sf=^J:sr=\Ej:\
        !          3524:        :st=\E1:ta=^I:ts=\Eg\Ef:up=^K:vb=\Eb\Ed:\
        !          3525:        :tc=adm+sgr:
        !          3526: #
        !          3527: # is for 950 with two pages adds the following:
        !          3528: #      set 48 line page (\E\\2)
        !          3529: #      place cursor at page 0, line 24, column 1 (\E-07 )
        !          3530: #      set local (no send) edit keys (\Ek)
        !          3531: #
        !          3532: # two page 950 adds the following:
        !          3533: #      when entering ex, set 24 line page (\E\\1)
        !          3534: #      when exiting ex, reset 48 line page (\E\\2)
        !          3535: #                       place cursor at 0,24,1 (\E-07 )
        !          3536: #      set duplex (send) edit keys (\El) when entering vi
        !          3537: #      set local (no send) edit keys (\Ek) when exiting vi
        !          3538: #
        !          3539: tvi950-2p|televideo950 w/2 pages:\
        !          3540:        :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:\
        !          3541:        :ke=\Ek:ks=\El:te=\E\2\E-07 :ti=\E\1\E-07 :\
        !          3542:        :tc=tvi950:
        !          3543: #
        !          3544: # is for 950 with four pages adds the following:
        !          3545: #      set 96 line page (\E\\3)
        !          3546: #      place cursor at page 0, line 24, column 1 (\E-07 )
        !          3547: #
        !          3548: # four page 950 adds the following:
        !          3549: #      when entering ex, set 24 line page (\E\\1)
        !          3550: #      when exiting ex, reset 96 line page (\E\\3)
        !          3551: #                       place cursor at 0,24,1 (\E-07 )
        !          3552: #
        !          3553: tvi950-4p|televideo950 w/4 pages:\
        !          3554:        :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:\
        !          3555:        :ke=\Ek:ks=\El:te=\E\3\E-07 :ti=\E\1\E-07 :\
        !          3556:        :tc=tvi950:
        !          3557: #
        !          3558: # :is: for reverse video 950 changes the following:
        !          3559: #      set reverse video (\Ed)
        !          3560: #
        !          3561: # set vb accordingly (\Ed ...delay... \Eb)
        !          3562: #
        !          3563: tvi950-rv|televideo950 rev video:\
        !          3564:        :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:\
        !          3565:        :vb=\Ed\Eb:\
        !          3566:        :tc=tvi950:
        !          3567:
        !          3568: # tvi950-rv-2p uses the appropriate entries from 950-2p and 950-rv
        !          3569: tvi950-rv-2p|televideo950 rev video w/2 pages:\
        !          3570:        :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 :\
        !          3571:        :ke=\Ek:ks=\El:te=\E\2\E-07 :ti=\E\1\E-07 :vb=\Ed\Eb:\
        !          3572:        :tc=tvi950:
        !          3573:
        !          3574: # tvi950-rv uses the appropriate entries from 950-4p and 950-rv
        !          3575: tvi950-rv-4p|televideo950 rev video w/4 pages:\
        !          3576:        :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 :\
        !          3577:        :ke=\Ek:ks=\El:te=\E\3\E-07 :ti=\E\1\E-07 :vb=\Ed\Eb:\
        !          3578:        :tc=tvi950:
        !          3579: # From: Andreas Stolcke <stolcke@icsi.berkeley.edu>
        !          3580: # (tvi955: removed obsolete ":ma:=^Vj^Kk^Hh^Ll^^H";
        !          3581: # removed incorrect (and overridden) ":do=^J:"; fixed broken continuations in
        !          3582: # the :rs: string, inserted the :IC: implied by the termcap :ko: string.  Note
        !          3583: # the :ko: string had :cl: in it, which means that one of the original
        !          3584: # :cl=\E*:, <kclr=\EY> had to be wrong; set <kclr=\E*> because that's what
        !          3585: # the 950 has.   Finally, corrected the <kel> string to match the 950 and what
        !          3586: # ko implies -- esr)
        !          3587: # If the BSD termcap file was right, :cm=\E=%p1%{32}%+%c%p2%{32}%+%c: would
        !          3588: # also work.
        !          3589: tvi955|televideo 955:\
        !          3590:        :5i:bs:ms@:\
        !          3591:        :it#8:sg@:\
        !          3592:        :RA=\E[=7l:RX=^N:SA=\E[=7h:SX=^O:\
        !          3593:        :ac=0_`RjHkGlFmEnIoPqKsQtMuLvOwNxJ:ae=\E%:as=\E$:\
        !          3594:        :cm=\E[%i%d;%dH:do=^V:is=\E[=3l\EF1\Ed\EG0\E[=5l\E%\El:\
        !          3595:        :kM=\EQ:kN=\EK:kP=\EJ:kT=\E1:ka=\E3:kt=\E2:mb=\EG2:\
        !          3596:        :me=\EG0\E[=5l:mh=\E[=5h:mk=\EG1:ps=\EP:\
        !          3597:        :r1=\EDF\EC\Eg\Er\EO\E'\E(\Ew\EX\Ee \017\E0P\E6\0\E0p\E4\0\Ef\r:\
        !          3598:        :sf@:ve=\E.2:vi=\E.0:vs=\E.1:\
        !          3599:        :tc=tvi950:
        !          3600: tvi955-w|955-w|televideo955 w/132 cols:\
        !          3601:        :co#132:\
        !          3602:        :is=\E[=3h\EF1\Ed\EG0\E[=5l\E%\El:tc=tvi955:
        !          3603: # use half-intensity as normal mode, full intensity as :md:
        !          3604: tvi955-hb|955-hb|televideo955 half-bright:\
        !          3605:        :is=\E[=3l\EF1\Ed\EG0\E[=5h\E%\El:md=\E[=5l:\
        !          3606:        :me=\EG0\E[=5h:mh@:tc=tvi955:
        !          3607: # From: Humberto Appleton <beto@cs.utexas.edu>, 880521 UT Austin
        !          3608: # (tvi970: removed ":sg#0:"; removed :se:=\E[m, :ue:=\E[m;
        !          3609: # added :am:/:cs:/:ho:/<hpa>/<vpa>/:ti:/:te: from BRL.
        !          3610: # According to BRL we could have :ke:=\E>, :ks:=\E= but I'm not sure what
        !          3611: # it does to the function keys.  I deduced <rmam>/<smam>.
        !          3612: # also added empty <acsc> to suppress tic warning,  -- esr)
        !          3613: tvi970|televideo 970:\
        !          3614:        :am:bs:da:db:mi:ms:pt:\
        !          3615:        :co#80:it#8:li#24:\
        !          3616:        :RA=\E[?7h:SA=\E[?7l:ac=:ae=\E(B:al=\E[L:as=\E(B:bt=\E[Z:\
        !          3617:        :cd=\E[J:ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[2J:cm=\E[%i%d;%df:\
        !          3618:        :cs=\E[%i%d;%dr:cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=\ED:\
        !          3619:        :ds=\Eg\Ef\r:ei=\E[4l:ho=\E[H:im=\E[4h:\
        !          3620:        :is=\E<\E[?21l\E[19h\E[1Q\E[10l\E[7l\E[H\E[2J:k1=\E?a:\
        !          3621:        :k2=\E?b:k3=\E?c:k4=\E?d:k5=\E?e:k6=\E?f:k7=\E?g:k8=\E?h:\
        !          3622:        :k9=\E?i:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
        !          3623:        :le=^H:me=\E[m:nd=\E[C:se=\E[m:so=\E[7m:sr=\EM:ta=^I:te=:\
        !          3624:        :ti=\E[?20l\E[?7h\E[1Q:ue=\E[m:up=\EM:us=\E[4m:\
        !          3625:        :vb=\E[5m\E[m:vs=\E[1Q:
        !          3626: tvi970-vb|televideo 970 with visual bell:\
        !          3627:        :vb=\E[?5h\0\0\0\0\0\0\0\0\0\0\0\0\0\E[?5l:tc=tvi970:
        !          3628: tvi970-2p|televideo 970 with using 2 pages of memory:\
        !          3629:        :te=\E[H\E[J\E[V:ti=\E[U\E[?20l\E[?7h\E[1Q:\
        !          3630:        :tc=tvi970:
        !          3631: # Works with vi and rogue.  NOTE: Esc v sets autowrap on, Esc u sets 80 chars
        !          3632: # per line (rather than 40), Esc K chooses the normal character set.  Not sure
        !          3633: # padding is needed, but adapted from the tvi920c termcap.  The :so: and
        !          3634: # :us: strings are klutzy, but at least use no screen space.
        !          3635: # (tvipt: removed obsolete ":ma=^Kk^Ll^R^L:".  I wish we knew <rmam>,
        !          3636: # its absence means <smam>=\Ev isn't safe to use. -- esr)
        !          3637: # From: Gene Rochlin <armsis@amber.berkeley.edu> 9/19/84.
        !          3638: # The :cd:/:k0:/:k1:/:kh:/<mc4>, and <mc5> caps are from BRL, which says:
        !          3639: # F1 and F2 should be programmed as ^A and ^B; required for UNIFY.
        !          3640: tvipt|televideo personal terminal:\
        !          3641:        :am:bs:\
        !          3642:        :co#80:li#24:\
        !          3643:        :al=\EE:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :dl=\ER:\
        !          3644:        :ho=^^:if=/usr/share/tabset/stdcrt:is=\Ev\Eu\EK:k0=^A:\
        !          3645:        :k1=^B:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:pf=^T:\
        !          3646:        :po=^R:se=\EF:so=\EG1@A\EH:ue=\EF:up=^K:us=\EG1B@\EH:
        !          3647: # From: Nathan Peterson <nathan@sco.com>, 03 Sep 1996
        !          3648: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          3649: # (sgr removed to fit entry within 1023 bytes)
        !          3650: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
        !          3651: tvi9065|televideo 9065:\
        !          3652:        :am:bw:hs:mi:ms:xn:xo:\
        !          3653:        :co#80:it#8:li#25:lm#0:ma#4:vt#0:ws#30:\
        !          3654:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
        !          3655:        :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ae=\E%:\
        !          3656:        :al=\EE:as=\E$:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=^Z:\
        !          3657:        :cm=\E=%+ %+ :cr=^M:cs=\E[%i%d;%dr:ct=\E3:dc=\EW:dl=\ER:\
        !          3658:        :dm=\Er:do=^V:ds=\E_30\r:ec=\E[%d@:ed=\0:ei=\Er:fs=^M:ho=^^:\
        !          3659:        :i1=\E"\E%\E'\E(\EG@\EO\EX\E[=5l\E[=6l\E[=7h\Ed\Er:\
        !          3660:        :i2=\E<\E[=4l\E[=8h:if=/usr/share/tabset/stdcrt:im=\Eq:\
        !          3661:        :ip=:is=\EF2\EG0\E\L:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
        !          3662:        :k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kb=^H:\
        !          3663:        :kd=^V:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:ll=\E[25;1H:mb=\EG2:\
        !          3664:        :md=\EG\054:me=\EG0:mh=\EGp:mr=\EG4:nd=^L:nw=^M^J:\
        !          3665:        :rp=\E[%r%db%.:se=\EG0:sf=^J:so=\EGt:sr=\Ej:st=\E1:ta=^I:\
        !          3666:        :te=\E.3\Er\E[1;25r\E[25;0H:ti=\E.2:ts=\E[4;1v\E_30:\
        !          3667:        :uc=\EG8\EG0:ue=\EG0:up=^K:us=\EG8:vb=\Eb\Ed:ve=\E.3:\
        !          3668:        :vi=\E.0:vs=\E.2:
        !          3669:
        !          3670: #### Visual (vi)
        !          3671: #
        !          3672: # In September 1993, Visual Technology of Westboro, Massachusetts,
        !          3673: # merged with White Pine Software of Nashua, New Hampshire.
        !          3674: #
        !          3675: # White Pine Software may be contacted at +1 603/886-9050.
        !          3676: # Or visit White Pine on the World Wide Web at URL http://www.wpine.com.
        !          3677: #
        !          3678:
        !          3679: # Visual 50 from Beau Shekita, BTL-Whippany <whuxlb!ejs>
        !          3680: # Recently I hacked together the following termcap for Visual
        !          3681: # Technology's Visual 50 terminal. It's a slight modification of
        !          3682: # the vt52 termcap.
        !          3683: # It's intended to run when the Visual 50 is in vt52 emulation mode
        !          3684: # (I know what you're thinking; if it's emulating a vt52, then why
        !          3685: # another termcap? Well, it turns out that the Visual 50 can handle
        !          3686: # :dl: and db(?) among other things, which the vt52 can't)
        !          3687: # The termcap works OK for the most part. The only problem is on
        !          3688: # character inserts. The whole line gets painfully redrawn for each
        !          3689: # character typed. Any suggestions?
        !          3690: # Beau's entry is combined with the vi50 entry from University of Wisconsin.
        !          3691: # Note especially the :al: function.  :k4:-:k6: are really l4-l6 in
        !          3692: # disguise; :k7:-:k9: are really l1-l3.
        !          3693: vi50|visual 50:\
        !          3694:        :am:bs:da:db:ms:pt:\
        !          3695:        :co#80:it#8:li#24:\
        !          3696:        :al=\EL:bl=^G:bt=4\Ez:cd=\EJ:ce=16\EK:cl=\EH\EJ:\
        !          3697:        :cm=\EY%+ %+ :cr=^M:dl=3*\EM:do=\EB:ho=\EH:k1=\EP:k2=\EQ:\
        !          3698:        :k3=\ER:k4=\EV:k5=\EE:k6=\E]:k7=\EL:k8=\Ev:k9=\EM:kb=^H:\
        !          3699:        :kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:nl=^J:\
        !          3700:        :nw=^M^J:se=\ET:sf=^J:so=\EU:sr=\EI:ta=^I:ue=\EW:up=\EA:\
        !          3701:        :us=\ES:
        !          3702: # this one was BSD & SCO's vi50
        !          3703: vi50adm|visual 50 in adm3a mode:\
        !          3704:        :am:ms:\
        !          3705:        :co#80:it#8:li#24:\
        !          3706:        :al=\EL:bl=^G:cd=\Ek:ce=\EK:cl=^Z:cm=\E=%+ %+ :cr=^M:dl=\EM:\
        !          3707:        :do=^J:ho=\EH:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:\
        !          3708:        :nd=^L:se=\ET:sf=^J:so=\EU:ta=^I:up=^K:
        !          3709: # From: Jeff Siegal <jbs@athena.mit.edu>
        !          3710: vi55|Visual 55:\
        !          3711:        :am:bs:mi:ms:\
        !          3712:        :co#80:it#8:li#24:\
        !          3713:        :al=\EL:cd=\EJ:ce=\EK:cl=\Ev:cm=\EY%+ %+ :cs=\E_%+A%+A:\
        !          3714:        :dc=\Ew:dl=\EM:do=^J:ei=\Eb:ho=\EH:im=\Ea:\
        !          3715:        :is=\Ev\E_AX\Eb\EW\E9P\ET:kb=^H:kd=\EB:kl=\ED:kr=\EC:\
        !          3716:        :ku=\EA:le=^H:nd=\EC:se=\ET:so=\EU:sr=\EI:ta=^I:up=\EA:
        !          3717:
        !          3718: # Visual 200 from BRL
        !          3719: # The following switch settings are assumed for normal operation:
        !          3720: #      FULL_DUPLEX             SCROLL                  CR
        !          3721: #      AUTO_NEW_LINE_ON        VISUAL_200_EMULATION_MODE
        !          3722: # Other switches may be set for operator convenience or communication
        !          3723: # requirements.
        !          3724: # Character insertion is kludged in order to get around the "beep" misfeature.
        !          3725: # (This cap is commented out because :im:/:ei: is more efficient -- esr)
        !          3726: # Supposedly "4*" delays should be used for :al:, :cd:, :cl:, :dc:,
        !          3727: # and :dl: strings, but we seem to get along fine without them.
        !          3728: vi200|visual 200:\
        !          3729:        :am:bs:mi:ms:pt:\
        !          3730:        :co#80:it#8:kn#10:li#24:\
        !          3731:        :ac=:ae=\EG:al=\EL:as=\EF:bl=^G:bt=\Ez:cd=\Ey:ce=\Ex:cl=\Ev:\
        !          3732:        :cm=\EY%+ %+ :cr=^M:ct=\Eg:dc=\EO:dl=\EM:do=^J:ho=\EH:\
        !          3733:        :k0=\E?p:k1=\E?q:k2=\E?r:k3=\E?s:k4=\E?t:k5=\E?u:k6=\E?v:\
        !          3734:        :k7=\E?w:k8=\E?x:k9=\E?y:kA=\EL:kC=\Ev:kD=\EO:kE=\Et:kI=\Ei:\
        !          3735:        :kL=\EM:kM=\Ej:kS=\EJ:kT=\E1:kb=^H:kd=\EB:ke=\E>:kh=\EH:\
        !          3736:        :kl=\ED:kr=\EC:ks=\E=:kt=\E2:ku=\EA:le=^H:me=\E3\Eb:mh=\E4:\
        !          3737:        :mk=\Ea:nd=\EC:pf=\EX:po=\EW:ps=\EH\E]:\
        !          3738:        :r1=\E3\Eb\Ej\E\El\EG\Ec\Ek\EX:se=\E3:sf=^J:so=\E4:\
        !          3739:        :sr=\EI:st=\E1:ta=^I:up=\EA:ve=\Ec:vs=\Ed:
        !          3740: # The older Visuals didn't come with function keys. This entry uses
        !          3741: # :ks: and :ke: so that the keypad keys can be used as function keys.
        !          3742: # If your version of vi doesn't support function keys you may want
        !          3743: # to use vi200-f.
        !          3744: vi200-f|visual 200 no function keys:\
        !          3745:        :is=\E3\Eb\Ej\E\\El\EG\Ed\Ek:k0=\E?p:k1=\E?q:k2=\E?r:\
        !          3746:        :k3=\E?s:k4=\E?t:k5=\E?u:k6=\E?v:k7=\E?w:k8=\E?x:k9=\E?y:\
        !          3747:        :ke=\E>:ks=\E=:se@:so@:\
        !          3748:        :tc=vi200:
        !          3749: vi200-rv|visual 200 reverse video:\
        !          3750:        :se=\E3:so=\E4:sr@:ve@:vs@:tc=vi200:
        !          3751:
        !          3752: # the function keys are programmable but we don't reprogram them to their
        !          3753: # default values with :is: because programming them is very verbose. maybe
        !          3754: # an initialization file should be made for the 300 and they could be stuck
        !          3755: # in it.
        !          3756: # (vi300: added <rmam>/<smam> based on init string -- esr)
        !          3757: vi300|visual 300 ansi x3.64:\
        !          3758:        :am:bw:mi:xn:\
        !          3759:        :co#80:li#24:\
        !          3760:        :RA=\E[?7l:SA=\E[?7h:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
        !          3761:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:\
        !          3762:        :do=\E[B:ei=\E[4l:ho=\E[H:im=\E[4h:\
        !          3763:        :is=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[1Q\E[0;1(D\E[8s:\
        !          3764:        :k1=\E_A\E\:k2=\E_B\E\:k3=\E_C\E\:k4=\E_D\E\:k5=\E_E\E\:\
        !          3765:        :k6=\E_F\E\:k7=\E_G\E\:k8=\E_H\E\:k9=\E_I\E\:kd=\E[B:\
        !          3766:        :kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:nd=\E[C:\
        !          3767:        :se=\E[m:sf=^J:so=\E[1m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:\
        !          3768:        :us=\E[4m:
        !          3769: # some of the vi300s have older firmware that has the command
        !          3770: # sequence for setting editing extent reversed.
        !          3771: vi300-old|visual 300 with old firmware (set edit extent reversed):\
        !          3772:        :is=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[2Q\E[0;1(D\E[8s:\
        !          3773:        :tc=vi300:
        !          3774:
        !          3775: # Visual 500 prototype entry from University of Wisconsin.
        !          3776: # The best place to look for the escape sequences is page A1-1 of the
        !          3777: # Visual 500 manual.  The initialization sequence given here may be
        !          3778: # overkill, but it does leave out some of the initializations which can
        !          3779: # be done with the menus in set-up mode.
        !          3780: # The :xp: line below is so that emacs can understand the padding requirements
        !          3781: # of this slow terminal.  :xp: is 10 time the padding factor.
        !          3782: # (vi500: removed unknown :xp#4: termcap;
        !          3783: # also added empty <acsc> to suppress tic warning -- esr)
        !          3784: vi500|visual 500:\
        !          3785:        :am:mi:ms:\
        !          3786:        :co#80:it#8:li#33:\
        !          3787:        :ac=:ae=^O:al=3*\EL\Ex:as=^N:bt=4\Ez:cd=3*\Ey:ce=16\Ex:\
        !          3788:        :cl=6*\Ev:cm=\EY%+ %+ :cr=^M:cs=\E(%+ %+ :dc=3*\EO:\
        !          3789:        :dl=3*\EM:do=\EB:ei=\Ej:ho=\EH:im=\Ei:\
        !          3790:        :is=\E3\E\001\E\007\E\003\Ek\EG\Ed\EX\El\E>\Eb\E\:\
        !          3791:        :kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:\
        !          3792:        :nw=^M^J:se=\E^G:sf=^J:so=\E^H:ta=8\011:ue=\E^C:up=\EA:\
        !          3793:        :us=\E^D:
        !          3794:
        !          3795: # The visual 550 is a visual 300 with tektronix graphics,
        !          3796: # and with 33 lines. clear screen is modified here to
        !          3797: # also clear the graphics.
        !          3798: vi550|visual 550 ansi x3.64:\
        !          3799:        :li#33:\
        !          3800:        :cl=\030\E[H\E[2J:tc=vi300:
        !          3801:
        !          3802: vi603|visual603|visual 603:\
        !          3803:        :hs:mi:\
        !          3804:        :al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
        !          3805:        :cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:ds=\EP2;1~\E\:ei=\E[4l:\
        !          3806:        :fs=\E\:i1=\E>\E[?3l\E[?4l\E[?7h\E[?8h\E[1;24r:\
        !          3807:        :im=\E[4h:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
        !          3808:        :se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:ts=\EP2~:ue=\E[24m:\
        !          3809:        :up=\E[A:us=\E[4m:\
        !          3810:        :tc=vt100:
        !          3811:
        !          3812: #### Wyse (wy)
        !          3813: #
        !          3814: #      Wyse Technology
        !          3815: #      3471 North First Street
        !          3816: #      San Jose, CA 95134
        !          3817: #      Vox: (408)-473-1200
        !          3818: #      Fax: (408) 473-1222
        !          3819: #      Web: http://www.wyse.com
        !          3820: #
        !          3821: # Wyse sales can be reached by phone at 1-800-GET-WYSE.  Tech support is at
        !          3822: # (800)-800-WYSE (option 5 gets you a human).  There's a Web page at the
        !          3823: # obvious address, <http://www.wyse.com>.  They keep terminfo entries at
        !          3824: # <http://www.wyse.co.uk/support/appnotes/idxappnt.htm>.
        !          3825: #
        !          3826: # Wyse bought out Link Technology, Inc. in 1990 and closed it down in 1995.
        !          3827: # They now own the Qume and Amdek brands, too.  So these are the people to
        !          3828: # talk with about all Link, Qume, and Amdek terminals.
        !          3829: #
        !          3830: # These entries include a few small fixes.
        !          3831: # I canceled the bel capacities in the vb entries.
        !          3832: # I made two trivial syntax fixes in the wyse30 entry.
        !          3833: # I made some entries relative to adm+sgr.
        !          3834: #
        !          3835: #
        !          3836: # Note: The wyse75, wyse85, and wyse99 have been discontinued.
        !          3837:
        !          3838: #         Although the Wyse 30 can support more than one attribute
        !          3839: #      it requires magic cookies to do so.  Many applications do not
        !          3840: #      function well with magic cookies.  The following terminfo uses
        !          3841: #      the protect mode to support one attribute (dim) without cookies.
        !          3842: #      If more than one attribute is needed then the wy30-mc terminfo
        !          3843: #      should be used.
        !          3844: #
        !          3845: wy30|wyse30|Wyse 30:\
        !          3846:        :5i:am:bw:hs:mi:ms:xo:\
        !          3847:        :Nl#8:co#80:lh#1:li#24:lw#8:ma#1:ws#45:\
        !          3848:        :#2=\E{:&3=\Er:@8=\E7:LF=\EA11:LO=\EA10:\
        !          3849:        :ac=0wa_h[jukslrmqnxqzttuyv]wpxv:ae=\EH^C:al=\EE:\
        !          3850:        :as=\EH^B:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:cm=\E=%+ %+ :\
        !          3851:        :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:ei=\Er:fs=^M:\
        !          3852:        :ho=^^:im=\Eq:ip=:is=\E'\E(\E\1363\E`9\016\024:k1=^A@\r:\
        !          3853:        :k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:\
        !          3854:        :k8=^AG\r:kA=\EE:kB=\EI:kD=\EW:kE=\ET:kI=\EQ:kL=\ER:kN=\EK:\
        !          3855:        :kP=\EJ:kS=\EY:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:\
        !          3856:        :ll=^^^K:me=\E(\EH\003:mh=\E`7\E):mp=\E`7\E):nd=^L:\
        !          3857:        :nw=^M^J:pf=^T:pn=\Ez%+/%s\r:po=^X:ps=\EP:px=\Ez%+?%s\177:\
        !          3858:        :..sa=%?%p1%p5%p8%|%|%t\E`7\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;:\
        !          3859:        :se=\E(:sf=\n:so=\E`7\E):sr=\Ej:st=\E1:ta=\011:ts=\EF:up=^K:\
        !          3860:        :vb=\E`8\E`9:ve=\E`1:vi=\E`0:
        !          3861: #
        !          3862: #      This terminal description uses the non-hidden attribute mode
        !          3863: #      (with magic cookie).
        !          3864: #
        !          3865: # (wy30-mc: added :ti: to suppress tic warning --esr)
        !          3866: wy30-mc|wyse30-mc|wyse 30 with magic cookies:\
        !          3867:        :ms@:\
        !          3868:        :ma@:sg#1:\
        !          3869:        :ae=\EG0\EH\003:as=\EG0\EH\002:mb=\EG2:\
        !          3870:        :me=\EG0\E(\EH\003:mh=\EGp:mp=\EG0\E):\
        !          3871:        :..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%;:\
        !          3872:        :se=\EG0:so=\EG4:te=\EG0:ti=:\
        !          3873:        :tc=wy30:tc=adm+sgr:
        !          3874: #      The mandatory pause used by :vb: does not work with
        !          3875: #      older versions of terminfo.  If you see this effect then
        !          3876: #      unset xon and delete the / from the delay.
        !          3877: #      i.e. change $<100/> to $<100>
        !          3878: wy30-vb|wyse30-vb|wyse 30 visible bell:\
        !          3879:        :bl@:tc=wy30:
        !          3880: #
        !          3881: #         The Wyse 50 can support one attribute (e.g. Dim, Inverse,
        !          3882: #      Normal) without magic cookies by using the protect mode.
        !          3883: #      The following description uses this feature, but when more
        !          3884: #      than one attribute is put on the screen at once, all attributes
        !          3885: #      will be changed to be the same as the last attribute given.
        !          3886: #         The Wyse 50 can support more attributes when used with magic
        !          3887: #      cookies.  The wy50-mc terminal description uses magic cookies
        !          3888: #      to correctly handle multiple attributes on a screen.
        !          3889: #
        !          3890: wy50|wyse50|Wyse 50:\
        !          3891:        :5i:am:bw:hs:mi:ms:xo:\
        !          3892:        :Nl#8:co#80:lh#1:li#24:lw#8:ma#1:ws#45:\
        !          3893:        :#2=\E{:%9=\EP:&3=\Er:@8=\E7:F1=^AJ\r:F2=^AK\r:F3=^AL\r:\
        !          3894:        :F4=^AM\r:F5=^AN\r:F6=^AO\r:LF=\EA11:LO=\EA10:\
        !          3895:        :ac=0wa_h[jukslrmqnxqzttuyv]wpxv:ae=\EH^C:al=\EE:\
        !          3896:        :as=\EH^B:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:cm=\E=%+ %+ :\
        !          3897:        :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:ei=\Er:fs=^M:\
        !          3898:        :ho=^^:i1=\E`\072\E`9:im=\Eq:ip=:is=\016\024\E'\E(:\
        !          3899:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
        !          3900:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:kA=\EE:kB=\EI:kD=\EW:\
        !          3901:        :kE=\ET:kI=\EQ:kL=\ER:kN=\EK:kP=\EJ:kS=\EY:kb=^H:kd=^J:kh=^^:\
        !          3902:        :kl=^H:kr=^L:ku=^K:le=^H:ll=^^^K:me=\E(\EH\003:mh=\E`7\E):\
        !          3903:        :mp=\E`7\E):mr=\E`6\E):nd=^L:nw=^M^J:pf=^T:pn=\Ez%+/%s\r:\
        !          3904:        :po=^X:ps=\EP:px=\Ez%+?%s\177:\
        !          3905:        :..sa=%?%p1%p3%|%t\E`6\E)%e%p5%p8%|%t\E`7\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;:\
        !          3906:        :se=\E(:sf=\n:so=\E`6\E):sr=\Ej:st=\E1:ta=^I:ts=\EF:up=^K:\
        !          3907:        :vb=\E`8\E`9:ve=\E`1:vi=\E`0:
        !          3908: #
        !          3909: #      This terminal description uses the non-hidden attribute mode
        !          3910: #      (with magic cookie).
        !          3911: #
        !          3912: #      The mandatory pause used by flash does not work with some
        !          3913: #      older versions of terminfo.  If you see this effect then
        !          3914: #      unset :xo: and delete the / from the delay.
        !          3915: #      i.e. change $<100/> to $<100>
        !          3916: # (wy50-mc: added :ti: to suppress tic warning --esr)
        !          3917: wy50-mc|wyse50-mc|wyse 50 with magic cookies:\
        !          3918:        :ms@:\
        !          3919:        :ma@:sg#1:\
        !          3920:        :ae=\EG0\EH\003:as=\EG0\EH\002:mb=\EG2:\
        !          3921:        :me=\EG0\E(\EH\003:mh=\EGp:mp=\EG0\E):mr=\EG4:\
        !          3922:        :..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%;:\
        !          3923:        :se=\EG0:so=\EGt:te=\EG0:ti=:\
        !          3924:        :tc=wy50:tc=adm+sgr:
        !          3925: wy50-vb|wyse50-vb|wyse 50 visible bell:\
        !          3926:        :bl@:tc=wy50:
        !          3927: wy50-w|wyse50-w|wyse 50 132-column:\
        !          3928:        :Nl#16:co#132:lw#7:ws#97:\
        !          3929:        :cm=\Ea%i%dR%dC:dc=\EW:i1=\E`;\E`9:tc=wy50:
        !          3930: wy50-wvb|wyse50-wvb|wyse 50 132-column visible bell:\
        !          3931:        :bl@:\
        !          3932:        :tc=wy50-w:
        !          3933: #
        !          3934: #      The Wyse 350 is a Wyse 50 with color.
        !          3935: #      Unfortunately this means that it has magic cookies.
        !          3936: #      The color attributes are designed to overlap the reverse, dim and
        !          3937: #      underline attributes.  This is nice for monochrome applications
        !          3938: #      because you can make underline stuff green (or any other color)
        !          3939: #      but for true color applications it's not so hot because you cannot
        !          3940: #      mix color with reverse, dim or underline.
        !          3941: #          To further complicate things one of the attributes must be
        !          3942: #      black (either the foreground or the background).  In reverse video
        !          3943: #      the background changes color with black letters.  In normal video
        !          3944: #      the foreground changes colors on a black background.
        !          3945: #          This terminfo uses some of the more advanced features of curses
        !          3946: #      to display both color and blink.  In the final analysis I am not
        !          3947: #      sure that the wy350 runs better with this terminfo than it does
        !          3948: #      with the wy50 terminfo (with user adjusted colors).
        !          3949: #
        !          3950: #      The mandatory pause used by flash does not work with
        !          3951: #      older versions of terminfo.  If you see this effect then
        !          3952: #      unset xon and delete the / from the delay.
        !          3953: #      i.e. change $<100/> to $<100>
        !          3954: #
        !          3955: # Bug: The <op> capability resets attributes.
        !          3956: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          3957: wy350|wyse350|Wyse 350:\
        !          3958:        :5i:am:bw:hs:mi:xo:\
        !          3959:        :Co#8:NC#55:Nl#8:co#80:lh#1:li#24:lw#8:pa#8:sg#1:ws#45:\
        !          3960:        :#2=\E{:%9=\EP:&3=\Er:@8=\E7:F1=^AJ\r:F2=^AK\r:F3=^AL\r:\
        !          3961:        :F4=^AM\r:F5=^AN\r:F6=^AO\r:LF=\EA11:LO=\EA10:Sb=:\
        !          3962:        :ac=0wa_h[jukslrmqnxqzttuyv]wpxv:ae=\EG0\EH\003:al=\EE:\
        !          3963:        :as=\EG0\EH\002:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:\
        !          3964:        :cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:\
        !          3965:        :ei=\Er:fs=^M:ho=^^:i1=\E`\072\E`9:i2=\E%?:im=\Eq:ip=:\
        !          3966:        :is=\016\024\E'\E(:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
        !          3967:        :k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:\
        !          3968:        :kA=\EE:kB=\EI:kD=\EW:kE=\ET:kI=\EQ:kL=\ER:kN=\EK:kP=\EJ:\
        !          3969:        :kS=\EY:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:ll=^^^K:\
        !          3970:        :mb=\EG2:me=\EG0\E(\EH\003%{0}%PA%{0}%PC:mh=\EGp:\
        !          3971:        :mp=\EG0\E):nd=^L:nw=^M^J:oc=\E%?:op=\EG0:pf=^T:\
        !          3972:        :pn=\Ez%+/%s\r:po=^X:ps=\EP:px=\Ez%+?%s\177:sf=\n:sr=\Ej:\
        !          3973:        :st=\E1:ta=^I:ts=\EF:up=^K:vb=\E`8\E`9:ve=\E`1:vi=\E`0:\
        !          3974:        :tc=adm+sgr:
        !          3975: wy350-vb|wyse350-vb|wyse 350 visible bell:\
        !          3976:        :bl@:tc=wy350:
        !          3977: wy350-w|wyse350-w|wyse 350 132-column:\
        !          3978:        :Nl#16:co#132:lw#7:ws#97:\
        !          3979:        :cm=\Ea%i%dR%dC:dc=\EW:i1=\E`;\E`9:tc=wy350:
        !          3980: wy350-wvb|wyse350-wvb|wyse 350 132-column visible bell:\
        !          3981:        :bl@:\
        !          3982:        :tc=wy350-w:
        !          3983: #
        !          3984: #      This terminfo description is untested.
        !          3985: #      The wyse100 emulates an adm31, so the adm31 entry should work.
        !          3986: #
        !          3987: wy100|wyse 100:\
        !          3988:        :hs:mi:\
        !          3989:        :co#80:li#24:sg#1:\
        !          3990:        :al=\EE:bl=^G:cd=\EY:ce=\ET:cl=\E;:cm=\E=%+ %+ :cr=^M:\
        !          3991:        :dc=\EW:dl=\ER:do=^J:ds=\EA31:ei=\Er:fs=^M:im=\Eq:is=\Eu\E0:\
        !          3992:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
        !          3993:        :k7=^AF\r:k8=^AG\r:kb=^H:kd=^J:kh=\E{:kl=^H:kr=^L:ku=^K:\
        !          3994:        :le=^H:mk@:nd=^L:sf=^J:ts=\EF:up=^K:\
        !          3995:        :tc=adm+sgr:
        !          3996: #
        !          3997: #      The Wyse 120/150 has most of the features of the Wyse 60.
        !          3998: #      This terminal does not need padding up to 9600 baud!
        !          3999: #      :ms: should be set but the clear screen fails when in
        !          4000: #      alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
        !          4001: #      then set :ms:.
        !          4002: #
        !          4003: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          4004: # (sgr removed to fit entry within 1023 bytes)
        !          4005: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
        !          4006: wy120|wyse120|wy150|wyse150|Wyse 120/150:\
        !          4007:        :am:bw:hs:km:mi:ms:xo:\
        !          4008:        :co#80:it#8:li#24:pb#9601:ws#45:\
        !          4009:        :ae=\EcD:al=\EE:as=\EcE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:\
        !          4010:        :cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:\
        !          4011:        :ei=\Er:fs=^M:ho=^^:i1=\EcB0\EcC1:i2=\EwJ\Ew1:im=\Eq:ip=:\
        !          4012:        :is=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El:\
        !          4013:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
        !          4014:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\EQ:kN=\EK:kP=\EJ:\
        !          4015:        :kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:ll=^^^K:mb=\EG2:\
        !          4016:        :me=\E(\EH\003\EG0\EcD:mh=\EGp:nd=^L:nw=\r\n:sf=\n:\
        !          4017:        :so=\EGt:sr=\Ej:st=\E1:ta=\011:te=\Ew1:ti=\Ew0:ts=\EF:up=^K:\
        !          4018:        :vb=\E`8\E`9:ve=\E`1:vi=\E`0:\
        !          4019:        :tc=adm+sgr:
        !          4020: #
        !          4021: wy120-w|wyse120-w|wy150-w|wyse150-w|wyse 120/150 132-column:\
        !          4022:        :Nl#16:co#132:lw#7:ws#97:\
        !          4023:        :cm=\Ea%i%dR%dC:dc=\EW:ip=:r2=\E`;:tc=wy120:
        !          4024: #
        !          4025: wy120-25|wyse120-25|wy150-25|wyse150-25|wyse 120/150 80-column 25-lines:\
        !          4026:        :Nl@:lh@:li#25:lw@:\
        !          4027:        :pn@:r3=\EwG\Ee):tc=wy120:
        !          4028: #
        !          4029: wy120-25-w|wyse120-25-w|wy150-25-w|wyse150-25-w|wyse 120/150 132-column 25-lines:\
        !          4030:        :Nl@:lh@:li#25:lw@:\
        !          4031:        :pn@:r3=\EwG\Ee):tc=wy120-w:
        !          4032: #
        !          4033: wy120-vb|wyse120-vb|wy150-vb|wyse150-vb|Wyse 120/150 visible bell:\
        !          4034:        :bl@:\
        !          4035:        :tc=wy120:
        !          4036: #
        !          4037: wy120-w-vb|wy120-wvb|wyse120-wvb|wy150-w-vb|wyse150-w-vb|Wyse 120/150 132-column visible bell:\
        !          4038:        :bl@:\
        !          4039:        :tc=wy120-w:
        !          4040: #
        !          4041: #      The Wyse 60 is like the Wyse 50 but with more padding.
        !          4042: #      The reset strings are slow and the pad times very depending
        !          4043: #      on other parameters such as font loading.  I have tried
        !          4044: #      to follow the following outline:
        !          4045: #
        !          4046: #              <rs1> -> set personality
        !          4047: #              <rs2> -> set number of columns
        !          4048: #              <rs3> -> set number of lines
        !          4049: #              :i1: -> select the proper font
        !          4050: #              :is: -> do the initialization
        !          4051: #              :i3: -> set up display memory (2 pages)
        !          4052: #
        !          4053: #      The Wyse 60's that have vt100 emulation are slower than the
        !          4054: #      older Wyse 60's.  This change happened mid-1987.
        !          4055: #      The capabilities effected are :dc: :dl: :al: :sf: :sr:
        !          4056: #
        !          4057: #      The meta key is only half right.  This terminal will return the
        !          4058: #      high order bit set when you hit CTRL-function_key
        !          4059: #
        !          4060: #      It may be useful to assign two function keys with the
        !          4061: #      values  \E=(\s  look at old data in page 1
        !          4062: #              \E=W,   look at bottom of page 1
        !          4063: #      where \s is a space ( ).
        !          4064: #
        !          4065: #      Note:
        !          4066: #         The Wyse 60 runs faster when the XON/XOFF
        !          4067: #         handshake is turned off.
        !          4068: #
        !          4069: # (wy60: we use \E{ rather than ^^ for home (both are documented) to avoid
        !          4070: # a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
        !          4071: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          4072: # (sgr removed to fit entry within 1023 bytes)
        !          4073: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
        !          4074: wy60|wyse60|Wyse 60:\
        !          4075:        :am:bw:hs:km:mi:ms:\
        !          4076:        :co#80:li#24:ws#45:\
        !          4077:        :ae=\EcD:al=\EE:as=\EcE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:\
        !          4078:        :cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:\
        !          4079:        :ei=\Er:fs=^M:ho=\E{:i1=\EcB0\EcC1:i2=\EwJ\Ew1:im=\Eq:ip=:\
        !          4080:        :is=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El:\
        !          4081:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
        !          4082:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\EQ:kN=\EK:kP=\EJ:\
        !          4083:        :kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:ll=\E{^K:mb=\EG2:\
        !          4084:        :me=\E(\EH\003\EG0\EcD:mh=\EGp:nd=^L:nw=\r\n:sf=\n:\
        !          4085:        :so=\EGt:sr=\Ej:st=\E1:ta=\011:te=\Ew1:ti=\Ew0:ts=\EF:up=^K:\
        !          4086:        :vb=\E`8\E`9:ve=\E`1:vi=\E`0:\
        !          4087:        :tc=adm+sgr:
        !          4088: #
        !          4089: wy60-w|wyse60-w|wyse 60 132-column:\
        !          4090:        :Nl#16:co#132:lw#7:ws#97:\
        !          4091:        :cm=\Ea%i%dR%dC:dc=\EW:ip=:r2=\EeF\E`;:tc=wy60:
        !          4092: #
        !          4093: wy60-25|wyse60-25|wyse 60 80-column 25-lines:\
        !          4094:        :Nl@:lh@:li#25:lw@:\
        !          4095:        :pn@:r3=\EwG\Ee):tc=wy60:
        !          4096: wy60-25-w|wyse60-25-w|wyse 60 132-column 25-lines:\
        !          4097:        :Nl@:lh@:li#25:lw@:\
        !          4098:        :pn@:r3=\EwG\Ee):tc=wy60-w:
        !          4099: #
        !          4100: wy60-42|wyse60-42|wyse 60 80-column 42-lines:\
        !          4101:        :li#42:\
        !          4102:        :al=\EE:cd=\Ey:cl=\E+:cm=\E=%+ %+ :dc=\EW:dl=\ER:\
        !          4103:        :i1=\EcB2\EcC3:ip=:nw=\r\n:r3=\Ee*:sf=\n:sr=\Ej:tc=wy60:
        !          4104: wy60-42-w|wyse60-42-w|wyse 60 132-column 42-lines:\
        !          4105:        :Nl#16:co#132:lw#7:ws#97:\
        !          4106:        :cd=\Ey:cl=\E+:cm=\Ea%i%dR%dC:dc=\EW:ho=\036:ip=:nw=\r\n:\
        !          4107:        :r2=\EeF\E`;:\
        !          4108:        :tc=wy60-42:
1.1       deraadt  4109: #
1.13    ! millert  4110: wy60-43|wyse60-43|wyse 60 80-column 43-lines:\
        !          4111:        :Nl@:lh@:li#43:lw@:\
        !          4112:        :pn@:r3=\Ee+:tc=wy60-42:
        !          4113: wy60-43-w|wyse60-43-w|wyse 60 132-column 43-lines:\
        !          4114:        :Nl@:lh@:li#43:lw@:\
        !          4115:        :pn@:r3=\Ee+:tc=wy60-42-w:
1.1       deraadt  4116: #
1.13    ! millert  4117: wy60-vb|wyse60-vb|Wyse 60 visible bell:\
        !          4118:        :bl@:tc=wy60:
        !          4119: wy60-w-vb|wy60-wvb|wyse60-wvb|Wyse 60 132-column visible bell:\
        !          4120:        :bl@:\
        !          4121:        :tc=wy60-w:
1.1       deraadt  4122:
1.13    ! millert  4123: #      The Wyse-99GT looks at lot like the Wyse 60 except that it
        !          4124: #      does not have the 42/43 line mode.  In the Wyse-60 the "lines"
        !          4125: #      setup parameter controls the number of lines on the screen.
        !          4126: #      For the Wyse 99GT the "lines" setup parameter controls the
        !          4127: #      number of lines in a page.  The screen can display 25 lines max.
        !          4128: #          The Wyse-99GT also has personalities for the VT220 and
        !          4129: #      Tektronix 4014.  But this has no bearing on the native mode.
1.1       deraadt  4130: #
1.13    ! millert  4131: #      (msgr) should be set but the clear screen fails when in
        !          4132: #      alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
        !          4133: #      then set msgr, else use msgr@.
1.2       deraadt  4134: #
1.13    ! millert  4135: #      u0 -> enter Tektronix mode
        !          4136: #      u1 -> exit Tektronix mode
1.1       deraadt  4137: #
1.13    ! millert  4138: wy99gt|wyse99gt|Wyse 99gt:\
        !          4139:        :ms@:\
        !          4140:        :al=\EE:cd=\Ey:ce=\Et:cl=\E+:dc=\EW:dl=\ER:i2=\Ew0:ip=:nw@:\
        !          4141:        :r2=\E`\072:sf=\n:sr=\Ej:ta=\011:te=\Ew0:ti=\Ew1:\
        !          4142:        :u0=\E~>\E8:u1=\E[42h:vb=\E`8\E`9:tc=wy60:
1.1       deraadt  4143: #
1.13    ! millert  4144: wy99gt-w|wyse99gt-w|wyse 99gt 132-column:\
        !          4145:        :Nl#16:co#132:lw#7:ws#97:\
        !          4146:        :cd=\Ey:cl=\E+:cm=\Ea%i%dR%dC:dc=\EW:ip=:r2=\E`;:tc=wy99gt:
1.1       deraadt  4147: #
1.13    ! millert  4148: wy99gt-25|wyse99gt-25|wyse 99gt 80-column 25-lines:\
        !          4149:        :Nl@:lh@:li#25:lw@:\
        !          4150:        :pn@:r2=\E`\072:r3=\EwG\Ee):tc=wy99gt:
1.1       deraadt  4151: #
1.13    ! millert  4152: wy99gt-25-w|wyse99gt-25-w|wyse 99gt 132-column 25-lines:\
        !          4153:        :Nl@:lh@:li#25:lw@:\
        !          4154:        :pn@:r2=\E`;:tc=wy99gt-w:
1.2       deraadt  4155: #
1.13    ! millert  4156: wy99gt-vb|wyse99gt-vb|Wyse 99gt visible bell:\
        !          4157:        :bl@:tc=wy99gt:
1.2       deraadt  4158: #
1.13    ! millert  4159: wy99gt-w-vb|wy99gt-wvb|wyse99gt-wvb|Wyse 99gt 132-column visible bell:\
        !          4160:        :bl@:\
        !          4161:        :tc=wy99gt-w:
1.2       deraadt  4162: #
1.13    ! millert  4163: #      The Wyse 160 is combination of the WY-60 and the WY-99gt.
        !          4164: #      The reset strings are slow and the pad times very depending
        !          4165: #      on other parameters such as font loading.  I have tried
        !          4166: #      to follow the following outline:
1.2       deraadt  4167: #
1.13    ! millert  4168: #              <rs1> -> set personality
        !          4169: #              <rs2> -> set number of columns
        !          4170: #              <rs3> -> set number of lines
        !          4171: #              :i1: -> select the proper font
        !          4172: #              :is: -> do the initialization
        !          4173: #              :i3: -> set up display memory (2 pages)
1.2       deraadt  4174: #
1.13    ! millert  4175: #      The display memory may be used for either text or graphics.
        !          4176: #      When "Display Memory = Shared" the terminal will have more pages
        !          4177: #      but garbage may be left on the screen when you switch from
        !          4178: #      graphics to text.  If "Display Memory = Unshared" then the
        !          4179: #      text area will be only one page long.
1.2       deraadt  4180: #
1.13    ! millert  4181: # (wy160: we use \E{ rather than ^^ for home (both are documented) to avoid
        !          4182: # a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
        !          4183: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          4184: # (sgr removed to fit entry within 1023 bytes)
        !          4185: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
        !          4186: wy160|wyse160|Wyse 160:\
        !          4187:        :am:bw:hs:km:mi:ms:\
        !          4188:        :co#80:li#24:ws#38:\
        !          4189:        :ae=\EcD:al=\EE:as=\EcE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:\
        !          4190:        :cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:\
        !          4191:        :ei=\Er:fs=^M:ho=\E{:i1=\EcB0\EcC1:i2=\Ew0:im=\Eq:ip=:\
        !          4192:        :is=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El:\
        !          4193:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
        !          4194:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\EQ:kN=\EK:kP=\EJ:\
        !          4195:        :kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:ll=\E{^K:mb=\EG2:\
        !          4196:        :me=\E(\EH\003\EG0\EcD:mh=\EGp:nd=^L:nw=\r\n:sf=\n:\
        !          4197:        :so=\EGt:sr=\Ej:st=\E1:ta=^I:te=\Ew0:ti=\Ew1:ts=\EF:up=^K:\
        !          4198:        :vb=\E`8\E`9:ve=\E`1:vi=\E`0:\
        !          4199:        :tc=adm+sgr:
1.2       deraadt  4200: #
1.13    ! millert  4201: wy160-w|wyse160-w|wyse 160 132-column:\
        !          4202:        :Nl#16:co#132:lw#7:ws#90:\
        !          4203:        :cm=\Ea%i%dR%dC:dc=\EW:r2=\EeF\E`;:tc=wy160:
1.2       deraadt  4204: #
1.13    ! millert  4205: wy160-25|wyse160-25|wyse 160 80-column 25-lines:\
        !          4206:        :Nl@:lh@:li#25:lw@:\
        !          4207:        :pn@:r3=\EwG\Ee):tc=wy160:
        !          4208: wy160-25-w|wyse160-25-w|wyse 160 132-column 25-lines:\
        !          4209:        :Nl@:lh@:li#25:lw@:\
        !          4210:        :pn@:r3=\EwG\Ee):tc=wy160-w:
1.2       deraadt  4211: #
1.13    ! millert  4212: wy160-42|wyse160-42|wyse 160 80-column 42-lines:\
        !          4213:        :li#42:\
        !          4214:        :al=\EE:cd=\Ey:cl=\E+:dl=\ER:i1=\EcB2\EcC3:nw=\r\n:r3=\Ee*:\
        !          4215:        :sf=\n:sr=\Ej:\
        !          4216:        :tc=wy160:
        !          4217: wy160-42-w|wyse160-42-w|wyse 160 132-column 42-lines:\
        !          4218:        :Nl#16:co#132:lw#7:ws#90:\
        !          4219:        :cm=\Ea%i%dR%dC:dc=\EW:ip=:r2=\EeF\E`;:tc=wy160-42:
1.2       deraadt  4220: #
1.13    ! millert  4221: wy160-43|wyse160-43|wyse 160 80-column 43-lines:\
        !          4222:        :Nl@:lh@:li#43:lw@:\
        !          4223:        :pn@:r3=\Ee+:tc=wy160-42:
        !          4224: wy160-43-w|wyse160-43-w|wyse 160 132-column 43-lines:\
        !          4225:        :Nl@:lh@:li#43:lw@:\
        !          4226:        :pn@:r3=\Ee+:tc=wy160-42-w:
1.2       deraadt  4227: #
1.13    ! millert  4228: wy160-vb|wyse160-vb|Wyse 160 visible bell:\
        !          4229:        :bl@:tc=wy160:
        !          4230: wy160-w-vb|wy160-wvb|wyse160-wvb|Wyse 160 132-column visible bell:\
        !          4231:        :bl@:\
        !          4232:        :tc=wy160-w:
1.2       deraadt  4233: #
1.13    ! millert  4234: #      The Wyse 75 is a vt100 lookalike without advanced video.
1.2       deraadt  4235: #
1.13    ! millert  4236: #         The Wyse 75 can support one attribute (e.g. Dim, Inverse,
        !          4237: #      Underline) without magic cookies.  The following description
        !          4238: #      uses this capability, but when more than one attribute is
        !          4239: #      put on the screen at once, all attributes will be changed
        !          4240: #      to be the same as the last attribute given.
        !          4241: #         The Wyse 75 can support more attributes when used with magic
        !          4242: #      cookies.  The wy75-mc terminal description uses magic cookies
        !          4243: #      to correctly handle multiple attributes on a screen.
1.2       deraadt  4244: #
1.13    ! millert  4245: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          4246: # (sgr removed to fit entry within 1023 bytes)
        !          4247: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
        !          4248: wy75|wyse75|wyse 75:\
        !          4249:        :am:hs:mi:ms:xn:xo:\
        !          4250:        :co#80:li#24:ma#1:pb#1201:ws#78:\
        !          4251:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
        !          4252:        :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
        !          4253:        :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
        !          4254:        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
        !          4255:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
        !          4256:        :ds=\E[>\054\001\001\E[>-\001\001:ec=\E[%dX:ei=\E[4l:\
        !          4257:        :fs=^A:ho=\E[H:\
        !          4258:        :i1=\E[2;4;20;30l\E[?1;10l\E[12h\E[?7;8;25h:i2=\E[m:\
        !          4259:        :im=\E[4h:ip=:is=\E>\E(B\E)0\017:k1=\E[?5i:k2=\E[?3i:\
        !          4260:        :k3=\E[2i:k4=\E[@:k5=\E[M:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
        !          4261:        :k9=\E[20~:kI=\E[@:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:ke=\E>:\
        !          4262:        :kh=\E[H:kl=\E[D:kr=\E[C:ks=\E[?1l\E[?7h\E=:ku=\E[A:le=^H:\
        !          4263:        :me=\E[m\017:mh=\E[0t\E[2m:mr=\E[1t\E[7m:nd=\E[C:rc=\E8:\
        !          4264:        :sc=\E7:se=\E[m:sf=\n:so=\E[1t\E[7m:sr=\EM:st=\EH:ta=^I:\
        !          4265:        :ts=\E[>\054\001:ue=\E[m:up=\E[A:us=\E[2t\E[4m:\
        !          4266:        :vb=\E[30h\E\054\E[30l:ve=\E[?25h:vi=\E[?25l:
1.2       deraadt  4267: #
1.13    ! millert  4268: #      This terminal description uses the non-hidden attribute mode
        !          4269: #      (with magic cookie).
1.2       deraadt  4270: #
1.13    ! millert  4271: wy75-mc|wyse75-mc|wyse 75 with magic cookies:\
        !          4272:        :ms@:\
        !          4273:        :ma@:sg#1:\
        !          4274:        :ae=\E[0p\017:as=\E[0p\016:i2=\E[m\E[p:mb=\E[2p:\
        !          4275:        :me=\E[0p\017:mh=\E[1p:mk=\E[4p:mr=\E[16p:\
        !          4276:        :..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%;:\
        !          4277:        :se=\E[0p:so=\E[17p:ue=\E[0p:us=\E[8p:\
        !          4278:        :tc=wy75:
        !          4279: wy75-vb|wyse75-vb|wyse 75 with visible bell:\
        !          4280:        :pb@:\
        !          4281:        :bl@:tc=wy75:
        !          4282: wy75-w|wyse75-w|wyse 75 in 132 column mode:\
        !          4283:        :co#132:ws#130:\
        !          4284:        :r2=\E[35h\E[?3h:tc=wy75:
        !          4285: wy75-wvb|wyse75-wvb|wyse 75 with visible bell 132 columns:\
        !          4286:        :pb@:\
        !          4287:        :bl@:tc=wy75-w:
1.2       deraadt  4288: #
1.13    ! millert  4289: #      Wyse 85 emulating a vt220 7 bit mode.
        !          4290: #              24 line screen with status line.
1.2       deraadt  4291: #
1.13    ! millert  4292: #      The vt220 mode permits more function keys but it wipes out
        !          4293: #      the escape key.  I strongly recommend that <f11> be set to
        !          4294: #      escape (esc).
        !          4295: #      The terminal may have to be set for 8 data bits and 2 stop
        !          4296: #      bits for the arrow keys to work.
        !          4297: #      The Wyse 85 runs faster with XON/XOFF enabled.  Also the
        !          4298: #      :DC: and :IC: work best when XON/XOFF is set.  :IC: and
        !          4299: #      :DC: leave trash on the screen when used without XON/XOFF.
1.2       deraadt  4300: #
1.13    ! millert  4301: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          4302: # (sgr removed to fit entry within 1023 bytes)
        !          4303: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
        !          4304: wy85|wyse85|wyse 85:\
        !          4305:        :am:hs:mi:ms:xn:xo:\
        !          4306:        :co#80:it#8:li#24:ws#80:\
        !          4307:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
        !          4308:        :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
        !          4309:        :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
        !          4310:        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
        !          4311:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ds=\E[40l:\
        !          4312:        :ec=\E[%dX:ei=\E[4l:fs=\E[1;24r\E8:ho=\E[H:\
        !          4313:        :i1=\E[62;1"p\E[?5W:i2=\E>\E(B\E)0\017\E[m:im=\E[4h:ip=:\
        !          4314:        :is=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h:\
        !          4315:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
        !          4316:        :k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
        !          4317:        :kb=^H:kd=\E[B:ke=\E>:kh=\E[26~:kl=\E[D:kr=\E[C:\
        !          4318:        :ks=\E[?1l\E=:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:\
        !          4319:        :mh=\E[2m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=\n:\
        !          4320:        :so=\E[7m:sr=\EM:st=\EH:ta=\011:\
        !          4321:        :ts=\E[40h\E7\E[25;%i%p1%dH:ue=\E[m:up=\E[A:us=\E[4m:\
        !          4322:        :vb=\E[30h\E\054\E[30l:ve=\E[?25h:vi=\E[?25l:
1.2       deraadt  4323: #
1.13    ! millert  4324: #      Wyse 85 with visual bell.
        !          4325: wy85-vb|wyse85-vb|wyse 85 with visible bell:\
        !          4326:        :bl@:vb=\E[30h\E\054\E[30l:tc=wy85:
1.2       deraadt  4327: #
1.13    ! millert  4328: #      Wyse 85 in 132-column mode.
        !          4329: wy85-w|wyse85-w|wyse 85 in 132-column mode:\
        !          4330:        :co#132:ws#132:\
        !          4331:        :r2=\E[35h\E[?3h:tc=wy85:
1.2       deraadt  4332: #
1.13    ! millert  4333: #      Wyse 85 in 132-column mode with visual bell.
        !          4334: wy85-wvb|wyse85-wvb|wyse 85 with visible bell 132-columns:\
        !          4335:        :bl@:\
        !          4336:        :tc=wy85-w:
1.2       deraadt  4337: #
1.13    ! millert  4338: #      Wyse 185 emulating a vt320 7 bit mode.
1.1       deraadt  4339: #
1.13    ! millert  4340: #      This terminal always displays 25 lines.  These lines may be used
        !          4341: #      as 24 data lines and a terminal status line (top or bottom) or
        !          4342: #      25 data lines.  The 48 and 50 line modes change the page size
        !          4343: #      and not the number of lines on the screen.
1.5       tholo    4344: #
1.13    ! millert  4345: #      The Compose Character key can be used as a meta key if changed
        !          4346: #      by set-up.
1.1       deraadt  4347: #
1.13    ! millert  4348: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          4349: # (sgr removed to fit entry within 1023 bytes)
        !          4350: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
        !          4351: wy185|wyse185|wyse 185:\
        !          4352:        :am:hs:km:mi:ms:xn:xo:\
        !          4353:        :co#80:it#8:li#24:ws#80:\
        !          4354:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
        !          4355:        :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
        !          4356:        :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
        !          4357:        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
        !          4358:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
        !          4359:        :ds=\E7\E[99;0H\E[K\E8:ec=\E[%dX:ei=\E[4l:\
        !          4360:        :fs=\E[1;24r\E8:ho=\E[H:i1=\E[?5W:\
        !          4361:        :i2=\E>\E(B\E)0\017\E[m:im=\E[4h:ip=:\
        !          4362:        :is=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h:\
        !          4363:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
        !          4364:        :k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
        !          4365:        :kb=^H:kd=\E[B:ke=\E>:kh=\E[26~:kl=\E[D:kr=\E[C:\
        !          4366:        :ks=\E[?1l\E=:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:\
        !          4367:        :mh=\E[2m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[27m:sf=\n:\
        !          4368:        :so=\E[7m:sr=\EM:st=\EH:ta=^I:te=\E[ R:ti=\E[ Q:\
        !          4369:        :ts=\E7\E[99;%i%p1%dH:ue=\E[24m:up=\E[A:us=\E[4m:\
        !          4370:        :vb=\E[30h\E\054\E[30l:ve=\E[34h\E[?25h:vi=\E[?25l:\
        !          4371:        :vs=\E[?25h\E[34l:
1.1       deraadt  4372: #
1.13    ! millert  4373: #      Wyse 185 with 24 data lines and top status (terminal status)
        !          4374: wy185-24|wyse185-24|wyse 185 with 24 data lines:\
        !          4375:        :hs@:\
        !          4376:        :ds@:fs@:r3=\E[?5l\E[47h\E[40l\E[1;24r:ts@:tc=wy185:
1.1       deraadt  4377: #
1.13    ! millert  4378: #      Wyse 185 with visual bell.
        !          4379: wy185-vb|wyse185-vb|wyse 185+flash:\
        !          4380:        :bl@:tc=wy185:
1.1       deraadt  4381: #
1.13    ! millert  4382: #      Wyse 185 in 132-column mode.
        !          4383: wy185-w|wyse185-w|wyse 185 in 132-column mode:\
        !          4384:        :co#132:ws#132:\
        !          4385:        :DC=\E[%dP:IC=\E[%d@:dc=\E[P:ei=:im=:ip=:r2=\E[35h\E[?3h:tc=wy185:
1.1       deraadt  4386: #
1.13    ! millert  4387: #      Wyse 185 in 132-column mode with visual bell.
        !          4388: wy185-wvb|wyse185-wvb|wyse 185+flash+132 cols:\
        !          4389:        :bl@:tc=wy185-w:
1.1       deraadt  4390:
1.13    ! millert  4391: # wy325 terminfo entries
        !          4392: # Done by Joe H. Davis        3-9-92
1.3       deraadt  4393:
1.13    ! millert  4394: # lines 25  columns 80
        !          4395: #
        !          4396: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          4397: wy325|wyse325|Wyse epc:\
        !          4398:        :5i:am:bw:hs:mi:\
        !          4399:        :Nl#8:co#80:lh#1:li#24:lw#8:pb#9601:ws#45:\
        !          4400:        :#2=\E{:%9=\EP:&3=\Er:@8=\E7:F1=^AJ\r:F2=^AK\r:F3=^AL\r:\
        !          4401:        :F4=^AM\r:F5=^AN\r:F6=^AO\r:LF=\EA11:LO=\EA10:RA=\Ed.:\
        !          4402:        :SA=\Ed/:\
        !          4403:        :ac=+/\054.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~:\
        !          4404:        :ae=\EcD:al=\EE:as=\EcE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:\
        !          4405:        :cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:\
        !          4406:        :ei=\Er:fs=^M:ho=^^:i1=\EcB0\EcC1:i2=\Ew0:im=\Eq:ip=:\
        !          4407:        :is=\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El:\
1.5       tholo    4408:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
1.13    ! millert  4409:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:kA=\EE:kB=\EI:kD=\EW:\
        !          4410:        :kE=\ET:kI=\Eq:kL=\ER:kN=\EK:kP=\EJ:kS=\EY:kb=^H:kd=^J:kh=^^:\
        !          4411:        :kl=^H:kr=^L:ku=^K:le=^H:ll=^^^K:mb=\EG2:\
        !          4412:        :me=\E(\EH\003\EG0\EcD:mh=\EGp:mp=\E):nd=^L:pf=^T:\
        !          4413:        :pl=\EZ2%+?%s\177:pn=\Ez%+/%s\r:po=\Ed#:ps=\EP:\
        !          4414:        :px=\EZ1%+?%s\177:r1=\E~\041\E~4:r2=\EeF\E`\072:\
        !          4415:        :r3=\EwG\Ee(:sf=\n:so=\EGt:sr=\Ej:st=\E1:ta=^I:te=\Ew0:\
        !          4416:        :ti=\Ew1:ts=\EF:up=^K:vb=\E`8\E`9:ve=\E`1:vi=\E`0:\
1.5       tholo    4417:        :tc=adm+sgr:
1.13    ! millert  4418:
1.1       deraadt  4419: #
1.13    ! millert  4420: # lines 24  columns 80  vb
1.1       deraadt  4421: #
1.13    ! millert  4422: wy325-vb|wyse325-vb|wyse-325 with visual bell:\
        !          4423:        :bl@:tc=wy325:
1.1       deraadt  4424:
                   4425: #
1.13    ! millert  4426: # lines 24  columns 132
        !          4427: #
        !          4428: wy325-w|wyse325-w|wy325w-24|wyse-325 in wide mode:\
        !          4429:        :Nl#16:co#132:lw#7:ws#97:\
        !          4430:        :cm=\Ea%i%dR%dC:dc=\EW:ip=:r2=\E`;:tc=wy325:
        !          4431: #
        !          4432: # lines 25  columns 80
        !          4433: #
        !          4434: wy325-25|wyse325-25|wy325-80|wyse-325|wyse-325 25 lines:\
        !          4435:        :Nl@:lh@:li#25:lw@:\
        !          4436:        :pn@:r3=\EwG\Ee):tc=wy325:
        !          4437: #
        !          4438: # lines 25  columns 132
1.1       deraadt  4439: #
1.13    ! millert  4440: wy325-25w|wyse325-25w|wy325 132 columns:\
        !          4441:        :Nl@:lh@:li#25:lw@:\
        !          4442:        :pn@:r3=\EwG\Ee):tc=wy325-w:
1.1       deraadt  4443: #
1.13    ! millert  4444: # lines 25  columns 132  vb
1.1       deraadt  4445: #
1.13    ! millert  4446: wy325-w-vb|wy325-wvb|wyse325-wvb|wyse-325 wide mode reverse video:\
        !          4447:        :bl@:\
        !          4448:        :tc=wy325-w:
1.1       deraadt  4449:
1.2       deraadt  4450: #
1.13    ! millert  4451: # lines 42  columns 80
        !          4452: #
        !          4453: wy325-42|wyse325-42|wyse-325 42 lines:\
        !          4454:        :Nl@:lh@:li#42:lw@:\
        !          4455:        :pn@:r3=\EwG\Ee):tc=wy325:
        !          4456: #
        !          4457: # lines 42  columns 132
        !          4458: #
        !          4459: wy325-42w|wyse325-42w|wyse-325 42 lines wide mode:\
        !          4460:        :Nl@:lh@:li#42:lw@:\
        !          4461:        :pn@:r3=\EwG\Ee):tc=wy325-w:
        !          4462: #
        !          4463: # lines 42  columns 132  vb
        !          4464: #
        !          4465: wy325-42w-vb|wy325-42wvb|wyse-325 42 lines wide mode visual bell:\
        !          4466:        :bl@:\
        !          4467:        :tc=wy325-w:
        !          4468: #
        !          4469: # lines 43  columns 80
        !          4470: #
        !          4471: wy325-43|wyse325-43|wyse-325 43 lines:\
        !          4472:        :Nl@:lh@:li#43:lw@:\
        !          4473:        :pn@:tc=wy325:
        !          4474: #
        !          4475: # lines 43  columns 132
1.2       deraadt  4476: #
1.13    ! millert  4477: wy325-43w|wyse325-43w|wyse-325 43 lines wide mode:\
        !          4478:        :Nl@:lh@:li#43:lw@:\
        !          4479:        :pn@:r3=\EwG\Ee):tc=wy325-w:
1.2       deraadt  4480: #
1.13    ! millert  4481: # lines 43  columns 132  vb
1.2       deraadt  4482: #
1.13    ! millert  4483: wy325-43w-vb|wy325-43wvb|wyse-325 43 lines wide mode visual bell:\
        !          4484:        :bl@:\
        !          4485:        :tc=wy325-w:
1.1       deraadt  4486:
1.13    ! millert  4487: #      Wyse 370 -- 24 line screen with status line.
        !          4488: #
        !          4489: #      The terminal may have to be set for 8 data bits and 2 stop
        !          4490: #      bits for the arrow keys to work.
1.2       deraadt  4491: #
1.13    ! millert  4492: #      If you change keyboards the terminal will send different
        !          4493: #      escape sequences.
        !          4494: #      The following definition is for the basic terminal without
        !          4495: #      function keys.
1.2       deraadt  4496: #
1.13    ! millert  4497: #      <u0> -> enter Tektronix 4010/4014 mode
        !          4498: #      <u1> -> exit  Tektronix 4010/4014 mode
        !          4499: #      <u2> -> enter ASCII mode (from any ANSI mode)
        !          4500: #      <u3> -> exit  ASCII mode (goto native ANSI mode)
        !          4501: #      <u4> -> enter Tek 4207 ANSI mode (from any ANSI mode)
        !          4502: #      <u5> -> exit  Tek 4207 mode (goto native ANSI mode)
1.2       deraadt  4503: #
1.13    ! millert  4504: # Bug: The <op> capability resets attributes.
        !          4505: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          4506: # (sgr removed to fit entry within 1023 bytes)
        !          4507: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
        !          4508: wy370-nk|wyse 370 without function keys:\
        !          4509:        :am:hs:mi:ms:xn:xo:\
        !          4510:        :co#80:it#8:li#24:ws#80:\
        !          4511:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
        !          4512:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
        !          4513:        :bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
        !          4514:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ds=\E[40l:\
        !          4515:        :ec=\E[%dX:ei=\E[4l:fs=\E[1;24r\E8:ho=\E[H:\
        !          4516:        :i1=\E[90;1"p\E[?5W:i2=\E>\017\E)0\E(B\E[63;0w\E[m:\
        !          4517:        :im=\E[4h:ip=:\
        !          4518:        :is=\E[2;4;20;30;40l\E[?1;10;16l\E[12h\E[?7;8;25h:\
        !          4519:        :ke=\E>:ks=\E[?1l\E=:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:\
        !          4520:        :mh=\E[2m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[27m:sf=\n:\
        !          4521:        :so=\E[7m:sr=\EM:st=\EH:ta=\011:te=\E[ R:ti=\E[ Q:\
        !          4522:        :ts=\E[40l\E[40h\E7\E[99;%i%p1%dH:ue=\E[24m:up=\E[A:\
        !          4523:        :us=\E[4m:vb=\E[30h\E\054\E[30l:ve=\E[34h\E[?25h:\
        !          4524:        :vi=\E[?25l:vs=\E[?25h\E[34l:
1.2       deraadt  4525: #
1.13    ! millert  4526: #      Function key set for the ASCII (wy-50 compatible) keyboard
        !          4527: #      This is the default 370.
1.2       deraadt  4528: #
1.13    ! millert  4529: wy370|wyse370|wy370-101k|Wyse 370 with 101 key keyboard:\
        !          4530:        :@8=\EOM:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
        !          4531:        :F5=\E[28~:F6=\E[29~:k1=\E[?4i:k2=\E[?3i:k3=\E[2i:k4=\E[@:\
        !          4532:        :k5=\E[M:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
        !          4533:        :k;=\E[21~:kA=\EOP:kB=\E[Z:kD=\EOQ:kI=\EOP:kL=\EOQ:kN=\E[U:\
        !          4534:        :kP=\E[V:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
        !          4535:        :tc=wy370-nk:
1.2       deraadt  4536: #
1.13    ! millert  4537: #      Function key set for the VT-320 (and wy85) compatible keyboard
1.2       deraadt  4538: #
1.13    ! millert  4539: wy370-105k|Wyse 370 with 105 key keyboard:\
        !          4540:        :%1=\E[28~:*6=\E[4~:@0=\E[1~:@8=\EOM:F1=\E[23~:F2=\E[24~:\
        !          4541:        :F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:\
        !          4542:        :F8=\E[32~:F9=\E[33~:FA=\E[34~:K1=\EOw:K2=\EOu:K3=\EOy:\
        !          4543:        :K4=\EOq:K5=\EOs:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:\
        !          4544:        :k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\E[3~:\
        !          4545:        :kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:kh=\E[26~:\
        !          4546:        :kl=\E[D:kr=\E[C:ku=\E[A:l1=PF1:l2=PF2:l3=PF3:l4=PF4:\
        !          4547:        :tc=wy370-nk:
1.2       deraadt  4548: #
1.13    ! millert  4549: #      Function key set for the PC compatible keyboard
1.2       deraadt  4550: #
1.13    ! millert  4551: wy370-EPC|Wyse 370 with 102 key keyboard:\
        !          4552:        :@7=\E[1~:@8=\EOM:F1=\E[23~:F2=\E[24~:k1=\EOP:k2=\EOQ:\
        !          4553:        :k3=\EOR:k4=\EOS:k5=\E[M:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
        !          4554:        :k9=\E[20~:k;=\E[21~:kB=\E[Z:kI=\E[2~:kN=\E[U:kP=\E[V:\
        !          4555:        :kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
        !          4556:        :tc=wy370-nk:
1.2       deraadt  4557: #
1.13    ! millert  4558: #      Wyse 370 with visual bell.
        !          4559: wy370-vb|Wyse 370 with visible bell:\
        !          4560:        :bl@:tc=wy370:
1.2       deraadt  4561: #
1.13    ! millert  4562: #      Wyse 370 in 132-column mode.
        !          4563: wy370-w|Wyse 370 in 132-column mode:\
        !          4564:        :co#132:ws#132:\
        !          4565:        :r2=\E[35h\E[?3h:tc=wy370:
1.2       deraadt  4566: #
1.13    ! millert  4567: #      Wyse 370 in 132-column mode with visual bell.
        !          4568: wy370-wvb|Wyse 370 with visible bell 132-columns:\
        !          4569:        :vb=\E[30h\E\054\E[30l:tc=wy370-w:
        !          4570: wy370-rv|Wyse 370 reverse video:\
        !          4571:        :r3=\E[32h\E[?5h:tc=wy370:
1.3       deraadt  4572: #
1.13    ! millert  4573: #      Wyse 99gt Tektronix 4010/4014 emulator,
1.1       deraadt  4574: #
1.13    ! millert  4575: wy99gt-tek|Wyse 99gt Tektronix 4010/4014 emulator:\
        !          4576:        :am:os:\
        !          4577:        :co#74:li#35:\
        !          4578:        :bl=^G:cl=\E^L:\
        !          4579:        :..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:\
        !          4580:        :cr=^M:do=^J:ff=^L:\
        !          4581:        :hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037:\
        !          4582:        :ho=^]7`x @\037:\
        !          4583:        :hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037:\
        !          4584:        :is=\E8:le=^H:nd= :nw=^M^J:u0=\E~>\E8:u1=\E[42h:up=^K:
1.1       deraadt  4585: #
1.13    ! millert  4586: #      Wyse 160 Tektronix 4010/4014 emulator,
1.1       deraadt  4587: #
1.13    ! millert  4588: wy160-tek|Wyse 160 Tektronix 4010/4014 emulator:\
        !          4589:        :..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:\
        !          4590:        :ho=^]8`g @\037:\
        !          4591:        :tc=wy99gt-tek:
1.1       deraadt  4592: #
1.13    ! millert  4593: #      Wyse 370 Tektronix 4010/4014 emulator,
1.1       deraadt  4594: #
1.13    ! millert  4595: wy370-tek|Wyse 370 Tektronix 4010/4014 emulator:\
        !          4596:        :am:os:\
        !          4597:        :co#80:li#36:\
        !          4598:        :bl=^G:cl=\E^L:\
        !          4599:        :..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:\
        !          4600:        :cr=^M:do=^J:ff=^L:\
        !          4601:        :hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037:\
        !          4602:        :ho=^]8g @\037:\
        !          4603:        :hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037:\
        !          4604:        :is=\E8:kb=^H:kd=^J:kl=^H:kr=^I:ku=^K:le=^H:nd= :nw=^M^J:\
        !          4605:        :u0=\E[?38h\E8:u1=\E[?38l\E)0:up=^K:
        !          4606:
        !          4607: # Vendor-supplied Wyse entries end here.
        !          4608:
1.1       deraadt  4609: #
1.13    ! millert  4610: #TITLE:  TERMINFO ENTRY WY520
        !          4611: #DATE:   8/5/93
        !          4612: # The WY520 terminfo is based on the WY285 entry published on the WYSE
        !          4613: # BBS with the addition of more function keys and special keys.
1.1       deraadt  4614: #
1.13    ! millert  4615: #               rs1 -> set personality
        !          4616: #               rs2 -> set number of columns
        !          4617: #               rs3 -> set number of lines
        !          4618: #               is1 -> select the proper font
        !          4619: #               is2 -> do the initialization
        !          4620: #               is3 -> If this string is empty then rs3 gets sent.
1.1       deraadt  4621: #
1.13    ! millert  4622: #       Wyse 520 emulating a vt420 7 bit mode with default ANSI keyboard
        !          4623: #       - The BS key is programmed to generate BS in smcup since
        !          4624: #         is2 doesn't seem to work.
        !          4625: #       - Remove and shift/Remove: delete a character
        !          4626: #       - Insert : enter insert mode
        !          4627: #       - Find   : delete to end of file
        !          4628: #       - Select : clear a line
        !          4629: #       - F11, F12, F13: send default sequences (not ESC, BS, LF)
        !          4630: #       - F14 : Home key
        !          4631: #       - Bottom status line (host writable line) is used.
        !          4632: #       - smkx,rmkx are removed because this would put the numeric
        !          4633: #         keypad in Dec application mode which doesn't seem to work
        !          4634: #         with SCO applications.
1.1       deraadt  4635: #
1.8       tholo    4636: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   4637: # (sgr removed to fit entry within 1023 bytes)
                   4638: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.13    ! millert  4639: wy520|wyse520|wyse 520:\
        !          4640:        :am:hs:km:mi:xn:xo:\
        !          4641:        :co#80:it#8:li#24:ws#80:\
1.8       tholo    4642:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.13    ! millert  4643:        :K1=\EOw:K2=\EOy:K3=\EOu:K4=\EOq:K5=\EOs:LE=\E[%dD:\
        !          4644:        :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
        !          4645:        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
        !          4646:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ds=\E[0$~:\
        !          4647:        :ec=\E[%dX:ei=\E[4l:fs=\E[0$}:ho=\E[H:i1=\E[?5W:\
        !          4648:        :i2=\E>\E(B\E)0\017\E[m:im=\E[4h:ip=:\
        !          4649:        :is=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25;67h:\
        !          4650:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
        !          4651:        :k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
        !          4652:        :kb=^H:kd=\E[B:kh=\E[26~:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
        !          4653:        :mb=\E[5m:md=\E[1m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:\
        !          4654:        :rc=\E8:sc=\E7:se=\E[m:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
        !          4655:        :te=\E[ R:ti=\E[ Q\E[?67;8h:ts=\E[2$~\E[1$}\E[%i%p1%d`:\
        !          4656:        :ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[34h\E[?25h:vi=\E[?25l:\
        !          4657:        :vs=\E[?25h\E[34l:
1.1       deraadt  4658: #
1.13    ! millert  4659: #       Wyse 520 with 24 data lines and status (terminal status)
        !          4660: wy520-24|wyse520-24|wyse 520 with 24 data lines:\
        !          4661:        :hs@:\
        !          4662:        :ds@:fs@:r3=\E[?5l\E[47h\E[40l\E[1;24r:ts@:tc=wy520:
1.1       deraadt  4663: #
1.13    ! millert  4664: #       Wyse 520 with visual bell.
        !          4665: wy520-vb|wyse520-vb|wyse 520 with visible bell:\
        !          4666:        :vb=\E[30h\E\054\E[30l:tc=wy520:
1.1       deraadt  4667: #
1.13    ! millert  4668: #       Wyse 520 in 132-column mode.
        !          4669: wy520-w|wyse520-w|wyse 520 in 132-column mode:\
        !          4670:        :co#132:ws#132:\
        !          4671:        :DC=\E[%dP:IC=\E[%d@:dc=\E[P:ei=:im=:ip=:r2=\E[35h\E[?3h:tc=wy520:
1.1       deraadt  4672: #
1.13    ! millert  4673: #       Wyse 520 in 132-column mode with visual bell.
        !          4674: wy520-wvb|wyse520-wvb|wyse 520 with visible bell 132-columns:\
        !          4675:        :vb=\E[30h\E\054\E[30l:\
        !          4676:        :tc=wy520-w:
1.5       tholo    4677: #
                   4678: #
1.13    ! millert  4679: #       Wyse 520 emulating a vt420 7 bit mode.
        !          4680: #       The DEL key is programmed to generate BS in is2.
        !          4681: #       With EPC keyboard.
        !          4682: #       - 'End' key will clear till end of line on EPC keyboard
        !          4683: #       - Shift/End : ignored.
        !          4684: #       - Insert : enter insert mode.
        !          4685: #       - Delete : delete a character (have to change interrupt character
        !          4686: #                  to CTRL-C: stty intr '^c') for it to work since the
        !          4687: #                  Delete key sends 7FH.
        !          4688: wy520-epc|wyse520-epc|wyse 520 with EPC keyboard:\
        !          4689:        :@7=\E[4~:k0=\E[21~:k1=\E[11~:k2=\E[12~:k3=\E[13~:\
        !          4690:        :k4=\E[14~:k5=\E[15~:kD=\177:kE=\E[4~:kh=\E[H:\
        !          4691:        :tc=wy520:
1.5       tholo    4692: #
1.13    ! millert  4693: #       Wyse 520 with 24 data lines and status (terminal status)
        !          4694: #       with EPC keyboard.
        !          4695: wy520-epc-24|wyse520-pc-24|wyse 520 with 24 data lines:\
        !          4696:        :hs@:\
        !          4697:        :ds@:fs@:r3=\E[?5l\E[47h\E[40l\E[1;24r:ts@:tc=wy520-epc:
1.1       deraadt  4698: #
1.13    ! millert  4699: #       Wyse 520 with visual bell.
        !          4700: wy520-epc-vb|wyse520-pc-vb|wyse 520 with visible bell:\
        !          4701:        :vb=\E[30h\E\054\E[30l:\
        !          4702:        :tc=wy520-epc:
1.1       deraadt  4703: #
1.13    ! millert  4704: #       Wyse 520 in 132-column mode.
        !          4705: wy520-epc-w|wyse520-epc-w|wyse 520 in 132-column mode with EPC keyboard:\
        !          4706:        :co#132:ws#132:\
        !          4707:        :DC=\E[%dP:IC=\E[%d@:dc=\E[P:ei=:im=:ip=:r2=\E[35h\E[?3h:tc=wy520-epc:
1.1       deraadt  4708: #
1.13    ! millert  4709: #       Wyse 520 in 132-column mode with visual bell.
        !          4710: wy520-epc-wvb|wyse520-p-wvb|wyse 520 with visible bell 132-columns:\
        !          4711:        :vb=\E[30h\E\054\E[30l:\
        !          4712:        :tc=wy520-epc-w:
1.1       deraadt  4713: #
1.13    ! millert  4714: #       Wyse 520 in 80-column, 36 lines
        !          4715: wy520-36|wyse520-36|wyse 520 with 36 data lines:\
        !          4716:        :hs@:\
        !          4717:        :li#36:\
        !          4718:        :ds@:fs@:r3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r:ts@:tc=wy520:
1.1       deraadt  4719: #
1.13    ! millert  4720: #       Wyse 520 in 80-column, 48 lines
        !          4721: wy520-48|wyse520-48|wyse 520 with 48 data lines:\
        !          4722:        :hs@:\
        !          4723:        :li#48:\
        !          4724:        :ds@:fs@:r3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r:ts@:tc=wy520:
1.1       deraadt  4725: #
1.13    ! millert  4726: #       Wyse 520 in 132-column, 36 lines
        !          4727: wy520-36w|wyse520-36w|wyse 520 with 132 columns and 36 data lines:\
        !          4728:        :co#132:ws#132:\
        !          4729:        :r2=\E[?3h:\
        !          4730:        :r3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|:tc=wy520-36:
1.1       deraadt  4731: #
1.13    ! millert  4732: #       Wyse 520 in 132-column, 48 lines
        !          4733: wy520-48w|wyse520-48w|wyse 520 with 48 data lines:\
        !          4734:        :co#132:ws#132:\
        !          4735:        :r2=\E[?3h:\
        !          4736:        :r3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|:tc=wy520-48:
1.1       deraadt  4737: #
                   4738: #
1.13    ! millert  4739: #       Wyse 520 in 80-column, 36 lines with EPC keyboard
        !          4740: wy520-36pc|wyse520-36pc|wyse 520 with 36 data lines and EPC keyboard:\
        !          4741:        :hs@:\
        !          4742:        :li#36:\
        !          4743:        :ds@:fs@:r3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r:ts@:tc=wy520-epc:
1.1       deraadt  4744: #
1.13    ! millert  4745: #       Wyse 520 in 80-column, 48 lines with EPC keyboard
        !          4746: wy520-48pc|wyse520-48pc|wyse 520 with 48 data lines and EPC keyboard:\
        !          4747:        :hs@:\
        !          4748:        :li#48:\
        !          4749:        :ds@:fs@:r3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r:ts@:tc=wy520-epc:
1.2       deraadt  4750: #
1.13    ! millert  4751: #       Wyse 520 in 132-column, 36 lines with EPC keyboard
        !          4752: wy520-36wpc|wyse520-36wpc|wyse 520 with 36 data lines and EPC keyboard:\
        !          4753:        :co#132:ws#132:\
        !          4754:        :r2=\E[?3h:\
        !          4755:        :r3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|:tc=wy520-36pc:
1.1       deraadt  4756: #
1.13    ! millert  4757: #       Wyse 520 in 132-column, 48 lines with EPC keyboard
        !          4758: wy520-48wpc|wyse520-48wpc|wyse 520 with 48 data lines:\
        !          4759:        :co#132:ws#132:\
        !          4760:        :r2=\E[?3h:\
        !          4761:        :r3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|:tc=wy520-48pc:
        !          4762:
        !          4763: # From: John Gilmore <hoptoad!gnu@lll-crg.arpa>
        !          4764: # (wyse-vp: removed :if=/usr/share/tabset/wyse-adds:, there's no such
        !          4765: # file and we don't know what :st: is -- esr)
        !          4766: wyse-vp|Wyse 50 in ADDS Viewpoint emulation mode with "enhance" on:\
        !          4767:        :am:bs:\
        !          4768:        :co#80:it#8:li#24:\
        !          4769:        :al=\EM:bl=^G:cd=\Ek:ce=\EK:cl=^L:cm=\EY%+ %+ :cr=^M:dc=\EW:\
        !          4770:        :dl=\El:do=^J:ei=\Er:ho=^A:im=\Eq:is=\E`\072\E`9\017\Er:\
        !          4771:        :kb=^H:kd=^J:kh=^A:kl=^U:kr=^F:ku=^Z:le=^H:ll=^A^Z:me=^O:\
        !          4772:        :nd=^F:nw=^M^J:r1=\E`\072\E`9\017\Er:se=^O:sf=^J:so=^N:\
        !          4773:        :ta=^I:ue=^O:up=^Z:us=^N:
        !          4774:
        !          4775: wy75ap|wyse75ap|wy-75ap|wyse-75ap|Wyse WY-75 Applications and Cursor keypad:\
        !          4776:        :is=\E[1;24r\E[?10;3l\E[?1;25h\E[4l\E[m\E(B\E=:kb=^H:\
        !          4777:        :kd=\EOB:ke=10\E[?1l\E>:kh=\EOH:kl=\EOD:kr=\EOC:\
        !          4778:        :ks=10\E[?1h\E=:ku=\EOA:tc=wy75:
        !          4779:
        !          4780: # From: Eric Freudenthal <freudent@eric.ultra.nyu.edu>
        !          4781: wy100q|Wyse 100 for Quotron:\
        !          4782:        :bs:\
1.5       tholo    4783:        :co#80:li#24:sg#1:\
1.13    ! millert  4784:        :al=\EE:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :dc=\EW:\
        !          4785:        :dl=\ER:do=^J:ei=\Er:ho=^^:im=\Eq:\
        !          4786:        :is=\E`\072\0\EC\EDF\E0\E'\E(\EA21:kd=^J:kl=^H:kr=^L:\
        !          4787:        :ku=^K:le=^H:mk@:nd=^L:sr=\Ej:up=^K:\
1.5       tholo    4788:        :tc=adm+sgr:
1.13    ! millert  4789:
        !          4790: #### Kermit terminal emulations
1.1       deraadt  4791: #
1.13    ! millert  4792: # Obsolete Kermit versions may be listed in the section describing obsolete
        !          4793: # non-ANSI terminal emulators later in the file.
1.1       deraadt  4794: #
1.13    ! millert  4795:
        !          4796: # KERMIT standard all versions.
        !          4797: # Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
        !          4798: # (kermit: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
        !          4799: # From: greg small <gts@populi.berkeley.edu> 9-25-84
        !          4800: kermit|standard kermit:\
        !          4801:        :bs:\
        !          4802:        :co#80:li#24:\
        !          4803:        :cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :ho=\EH:\
        !          4804:        :is=K0 Standard Kermit  9-25-84\n:kd=^J:kh=^^:kl=^H:\
        !          4805:        :kr=^L:ku=^K:le=^H:nd=\EC:up=\EA:
        !          4806: kermit-am|standard kermit plus auto-margin:\
        !          4807:        :am:\
        !          4808:        :is=K1 Standard Kermit plus Automatic Margins\n:tc=kermit:
        !          4809: # IBMPC Kermit 1.2.
        !          4810: # Bugs: :cd:, :ce:: do not work except at beginning of line!  :cl: does
        !          4811: # not work, but fake with :cl=\EH\EJ (since :cd=\EJ: works at beginning of
        !          4812: # line).
        !          4813: # From: greg small <gts@populi.berkeley.edu> 8-30-84
        !          4814: pckermit|pckermit12|UCB IBMPC Kermit 1.2:\
        !          4815:        :am:\
        !          4816:        :li#25:\
        !          4817:        :cd@:ce@:cl=\EH\EJ:\
        !          4818:        :is=K2 UCB IBMPC Kermit 1.2  8-30-84\n:tc=kermit:
        !          4819: # IBMPC Kermit 1.20
        !          4820: # Cannot use line 25, now acts funny like ansi special scrolling region.
        !          4821: # Initialization must escape from that region by cursor position to line 24.
        !          4822: # Cannot use character insert because 1.20 goes crazy if insert at col 80.
        !          4823: # Does not use :am: because autowrap is lost when kermit dropped and restarted.
        !          4824: # From: greg small <gts@populi.berkeley.edu> 12-19-84
        !          4825: pckermit120|UCB IBMPC Kermit 1.20:\
        !          4826:        :it#8:li#24:\
        !          4827:        :al=\EL:dc=\EN:dl=\EM:do=\EB:ei@:im@:\
        !          4828:        :is=\EO\Eq\EJ\EY7 K3 UCB IBMPC Kermit 1.20  12-19-84\n:\
        !          4829:        :se=\Eq:so=\Ep:ta=^I:vs=\EO\Eq\EEK3:\
        !          4830:        :tc=kermit:
        !          4831: # MS-DOS Kermit 2.27 for the IBMPC
        !          4832: # Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
        !          4833: # Cannot use line 25, now acts funny like ansi special scrolling region.
        !          4834: # Initialization must escape from that region by cursor position to line 24.
        !          4835: # Does not use am: because autowrap is lost when kermit dropped and restarted.
        !          4836: # Reverse video for standout like H19.
        !          4837: # (msk227: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
        !          4838: # From: greg small <gts@populi.berkeley.edu> 3-17-85
        !          4839: msk227|mskermit227|MS-DOS Kermit 2.27 for the IBMPC:\
        !          4840:        :am@:bs:\
        !          4841:        :co#80:it#8:li#24:\
        !          4842:        :al=\EL:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :dc=\EN:dl=\EM:\
        !          4843:        :do=\EB:ei=\EO:ho=\EH:im=\E@:\
        !          4844:        :is=\EO\Eq\EG\Ew\EJ\EY7 K4 MS Kermit 2.27 for the IBMPC 3-17-85\n:\
        !          4845:        :kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:nd=\EC:rc=\Ek:sc=\Ej:\
        !          4846:        :se=\Eq:so=\Ep:ta=^I:up=\EA:vs=\EO\Eq\EG\EwK4:
        !          4847: # MS-DOS Kermit 2.27 with automatic margins
        !          4848: # From:        greg small <gts@populi.berkeley.edu> 3-17-85
        !          4849: msk227am|mskermit227am|UCB MS-DOS Kermit 2.27 with automatic margins:\
        !          4850:        :am:\
        !          4851:        :is=\EO\Eq\EG\Ev\EJ\EY7 K5 MS Kermit 2.27 +automatic margins 3-17-85\n:\
        !          4852:        :vs=\EO\Eq\EG\EvK5:\
        !          4853:        :tc=msk227:
        !          4854: # MS-DOS Kermit 2.27 UCB 227.14 for the IBM PC
        !          4855: # Automatic margins now default.  Use ansi :sa: for highlights.
        !          4856: # Define function keys.
        !          4857: # (msk22714: removed obsolete ":kn#10:" -- esr)
        !          4858: # From: greg small <gts@populi.berkeley.edu> 3-17-85
        !          4859: msk22714|mskermit22714|UCB MS-DOS Kermit 2.27 UCB 227.14 IBM PC:\
        !          4860:        :am:\
        !          4861:        :is=\EO\Eq\EG\Ev\EJ\EY7 K6 MS Kermit 2.27 UCB 227.14 IBM PC 3-17-85\n:\
        !          4862:        :k0=\E0:k1=\E1:k2=\E2:k3=\E3:k4=\E4:k5=\E5:k6=\E6:k7=\E7:\
        !          4863:        :k8=\E8:k9=\E9:md=\E[1m:me=\E[m:mr=\E[7m:se=\E[m:so=\E[1m:\
        !          4864:        :ue=\E[m:us=\E[4m:vs=\EO\Eq\EG\EvK6:\
        !          4865:        :tc=mskermit227:
        !          4866: # This was designed for a VT320 emulator, but it is probably a good start
        !          4867: # at support for the VT320 itself.
        !          4868: # Please send changes with explanations to bug-gnu-emacs@prep.ai.mit.edu.
        !          4869: # (vt320-k3: I added <rmam>/<smam> based on the init string -- esr)
1.3       deraadt  4870: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   4871: # (sgr removed to fit entry within 1023 bytes)
                   4872: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.13    ! millert  4873: vt320-k3|MS-Kermit 3.00's vt320 emulation:\
        !          4874:        :am:es:hs:km:mi:ms:xn:\
        !          4875:        :co#80:it#8:li#49:pb#9600:vt#3:\
        !          4876:        :AL=\E[%dL:CC=\E:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
        !          4877:        :LE=\E[%dD:RI=\E[%dC:SR=\E[%dL:UP=\E[%dA:ae=\E(B:al=\E[L:\
        !          4878:        :as=\E(0:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
        !          4879:        :cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
        !          4880:        :ds=\E[0$~:ec=\E[%dX:ei=\E[4l:fs=\E[0$}:ho=\E[H:im=\E[4h:\
        !          4881:        :is=\E>\E F\E[?1l\E[?7h\E[r\E[2$~:k0=\E[21~:k1=\EOP:\
        !          4882:        :k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
        !          4883:        :k9=\E[20~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:\
        !          4884:        :ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
        !          4885:        :mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=^M^J:rc=\E8:\
        !          4886:        :sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
        !          4887:        :ts=\E[1$}\r\E[K:ue=\E[24m:up=\E[A:us=\E[4m:\
        !          4888:        :vb=\E[?5h\E[?5l\E[?5h\E[?5l\E[?5h\E[?5l:ve=\E[?25h:\
        !          4889:        :vi=\E[?25l:
        !          4890: # From: Joseph Gil <yogi@cs.ubc.ca> 13 Dec 1991
        !          4891: # ACS capabilities from Philippe De Muyter  <phdm@info.ucl.ac.be> 30 May 1996
        !          4892: # (I removed a bogus boolean :mo: and added :ms:, <smam>, <rmam> -- esr)
        !          4893: vt320-k311|dec vt320 series as defined by kermit 3.11:\
        !          4894:        :am:es:hs:mi:ms:xn:xo:\
        !          4895:        :co#80:it#8:li#24:vt#3:\
        !          4896:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
        !          4897:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
        !          4898:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
        !          4899:        :ae=^O:al=3\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[;H\E[2J:\
        !          4900:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
        !          4901:        :dl=\E[M:do=^J:ds=\E[2$~\r\E[1$}\E[K\E[$}:ei=\E[4l:\
        !          4902:        :fs=\E[$}:ho=\E[H:im=\E[4h:\
        !          4903:        :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
        !          4904:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
        !          4905:        :k8=\E[19~:k9=\E[20~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
        !          4906:        :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l1=pf1:l2=pf2:l3=pf3:l4=pf4:\
        !          4907:        :le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=^M\ED:\
        !          4908:        :r1=\E[?3l:rc=\E8:rf=/usr/share/tabset/vt100:sc=\E7:\
        !          4909:        :se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
        !          4910:        :ts=\E[2$~\E[1$}\E[1;%dH:ue=\E[24m:up=\E[A:us=\E[4m:\
        !          4911:        :vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
        !          4912:
1.1       deraadt  4913: #
1.13    ! millert  4914: ######## ---------------- TERMINFO FILE CAN BE SPLIT HERE -------------------
        !          4915: # This cut mark helps make life less painful for people running ncurses tic
        !          4916: # on machines with relatively little RAM.  The file can be broken in half here
        !          4917: # cleanly and compiled in sections -- no `use' references cross this cut
        !          4918: # going forward.
1.1       deraadt  4919: #
1.13    ! millert  4920:
        !          4921: ######## OLDER TERMINAL TYPES
1.1       deraadt  4922: #
1.13    ! millert  4923: # This section is devoted to older commercial terminal brands that are now
        !          4924: # discontinued, but known to be still in use or represented by emulations.
1.1       deraadt  4925: #
1.13    ! millert  4926:
        !          4927: #### AT&T (att, tty)
1.1       deraadt  4928: #
1.13    ! millert  4929: # This section also includes Teletype-branded VDTs.
1.1       deraadt  4930: #
1.13    ! millert  4931: # The AT&T/Teletype terminals group was sold to SunRiver Data Systems (now
        !          4932: # Boundless Technologies); for details, see the header comment on the ADDS
        !          4933: # section.
1.2       deraadt  4934: #
1.13    ! millert  4935: # These are AT&T's official terminfo entries.  All-caps aliases have been
        !          4936: # removed.
1.1       deraadt  4937: #
1.13    ! millert  4938: att2300|sv80|AT&T 2300 Video Information Terminal 80 column mode:\
        !          4939:        :am:eo:mi:ms:xo:\
        !          4940:        :co#80:it#8:li#24:\
        !          4941:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[11r:\
        !          4942:        :F2=\E[12r:F3=\E[13r:F4=\E[14r:F5=\E[15r:F6=\E[16r:\
        !          4943:        :IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:\
        !          4944:        :cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
        !          4945:        :cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:im=\E[4h:\
        !          4946:        :k1=\E[1r:k2=\E[2r:k3=\E[3r:k4=\E[4r:k5=\E[5r:k6=\E[6r:\
        !          4947:        :k7=\E[7r:k8=\E[8r:k9=\E[9r:k;=\E[10r:kA=\E[L:kB=\E[Z:\
        !          4948:        :kC=\E[J:kD=\E[P:kI=\E[@:kL=\E[M:kb=^H:kd=\E[B:kh=\E[H:\
        !          4949:        :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:mr=\E[7m:nd=\E[C:\
        !          4950:        :pf=\E[4i:po=\E[5i:ps=\E[0i:se=\E[m:sf=^J:so=\E[7m:ta=^I:\
        !          4951:        :up=\E[A:
        !          4952: att2350|AT&T 2350 Video Information Terminal 80 column mode:\
        !          4953:        :pf@:po@:ps@:\
        !          4954:        :tc=att2300:
        !          4955:
        !          4956: # Must setup RETURN KEY - CR, REC'VD LF - INDEX.
        !          4957: # Seems upward compatible with vt100, plus ins/del line/char.
        !          4958: # On sgr, the protection parameter is ignored.
        !          4959: # No check is made to make sure that only 3 parameters are output.
        !          4960: #      standout= reverse + half-intensity = 3 | 5.
        !          4961: #      bold= reverse + underline = 2 | 3.
        !          4962: # note that half-bright blinking doesn't look different from normal blinking.
        !          4963: # NOTE:you must program the function keys first, label second!
        !          4964: # (att4410: a BSD entry has been seen with the following capabilities:
        !          4965: # :is=\E[?6l:, :k1=\EOc:, :k2=\EOd:, :k3=\EOe:, :k4=\EOg:,
        !          4966: # :k6=\EOh:, :k7=\EOi:, :k8=\EOj:, -- esr)
        !          4967: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          4968: att5410v1|att4410v1|tty5410v1|AT&T 4410/5410 80 columns - version 1:\
        !          4969:        :am:hs:mi:ms:xo:\
        !          4970:        :Nl#8:co#80:it#8:lh#2:li#24:lw#8:ws#80:\
        !          4971:        :ac=++\054\054--..00``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
        !          4972:        :ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
        !          4973:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:\
        !          4974:        :do=\E[B:ei=:fs=\E8:ho=\E[H:i1=\E[?3l\E)0:\
        !          4975:        :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:\
        !          4976:        :ic=\E[@:im=:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:\
        !          4977:        :k6=\EOU:k7=\EOV:k8=\EOW:kC=\E[2J:kH=\E[24;1H:kb=^H:\
        !          4978:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:ll=\E[24H:\
        !          4979:        :mb=\E[5m:md=\E[2;7m:me=\E[m\017:mh=\E[2m:mk=\E[8m:\
        !          4980:        :mr=\E[7m:nd=\E[C:nw=^M^J:r2=\Ec\E[?3l\E[2;0y:rc=\E8:\
        !          4981:        :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:\
        !          4982:        :ts=\E7\E[25;%p1%{1}%+%dH:ue=\E[m:up=\E[A:us=\E[4m:
        !          4983:
        !          4984: att4410v1-w|att5410v1-w|tty5410v1-w|AT&T 4410/5410 132 columns - version 1:\
        !          4985:        :co#132:ws#132:\
        !          4986:        :i1=\E[?3h\E)0:r2=\Ec\E[?3h\E[2;0y:tc=att5410v1:
        !          4987:
        !          4988: att4410|att5410|tty5410|AT&T 4410/5410 80 columns - version 2:\
        !          4989:        :bs:\
        !          4990:        :..px=\E[%p1%d;%p2%l%02dq   f%p1%d           %p2%s:tc=att5410v1:
        !          4991:
        !          4992: att5410-w|att4410-w|4410-w|tty5410-w|5410-w|AT&T 4410/5410 in 132 column mode:\
        !          4993:        :co#132:ws#132:\
        !          4994:        :i1=\E[?3h\E)0:r2=\Ec\E[?3h\E[2;0y:tc=att4410:
        !          4995:
        !          4996: # 5410 in terms of a vt100
        !          4997: # (v5410: added <rmam>/<smam> based on init string -- esr)
        !          4998: v5410|att5410 in terms of a vt100:\
        !          4999:        :am:mi:ms:xo:\
        !          5000:        :co#80:it#8:li#24:vt#3:\
        !          5001:        :@8=\EOM:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:RA=\E[?7l:\
        !          5002:        :SA=\E[?7h:\
        !          5003:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
        !          5004:        :ae=^O:al=\E[L:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
        !          5005:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
        !          5006:        :ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:eA=\E(B\E)0:ei=:ho=\E[H:\
        !          5007:        :ic=\E[@:im=:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
        !          5008:        :k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:kb=^H:\
        !          5009:        :kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
        !          5010:        :ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:\
        !          5011:        :nd=\E[C:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
        !          5012:        :..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
        !          5013:        :sc=\E7:se=\E[m:sf=^J:so=\E[1;7m:sr=\EM:st=\EH:ta=^I:\
        !          5014:        :ue=\E[m:up=\E[A:us=\E[4m:
        !          5015:
        !          5016: #
        !          5017: # Teletype Model 5420 -- A souped up 5410, with multiple windows,
        !          5018: # even! the 5420 has three modes: scroll, window or page mode
        !          5019: # this terminfo should work in scroll or window mode, but doesn't
        !          5020: # take advantage of any of the differences between them.
1.1       deraadt  5021: #
1.13    ! millert  5022: # Has memory below (2 lines!)
        !          5023: # 3 pages of memory (plus some spare)
        !          5024: # The 5410 sequences for :cm:, :vs:, :DC:, :DL:, :ec:, :vb:, :ho:,
        !          5025: # <hpa>, :st: would work for these, but these work in both scroll and window
        !          5026: # mode... Unset insert character so insert mode works
        !          5027: # :i1: sets 80 column mode,
        !          5028: # :is: escape sequence:
        !          5029: # 1) turn off all fonts
        !          5030: # 2) function keys off, keyboard lock off, control display off,
        !          5031: #    insert mode off, erasure mode off,
        !          5032: # 3) full duplex, monitor mode off, send graphics off, nl on lf off
        !          5033: # 4) reset origin mode
        !          5034: # 5) set line wraparound
        !          5035: # 6) exit erasure mode, positional attribute mode, and erasure extent mode
        !          5036: # 7) clear margins
        !          5037: # 8) program ENTER to transmit ^J,
        !          5038: # We use \212 to program the ^J because a bare ^J will get translated by
        !          5039: # UNIX into a CR/LF. The enter key is needed for AT&T uOMS.
        !          5040: #     1      2            3              4     5     6    7  8
        !          5041: # :i3: set screen color to black,
        !          5042: # No representation in terminfo for the delete word key: kdw1=\Ed
        !          5043: # Key capabilities assume the power-up send sequence...
        !          5044: # This :te: is not strictly necessary, but it helps maximize
        !          5045: # memory usefulness: :te=\Ez:,
        !          5046: # Alternate sgr0:      :me=\E[m\EW^O:,
        !          5047: # 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%;:,
        !          5048: # smkx programs the SYS PF keys to send a set sequence.
        !          5049: # It also sets up labels f1, f2, ..., f8, and sends edit keys.
        !          5050: # This string causes them to send the strings :k1:-:k8:
        !          5051: # when pressed in SYS PF mode.
        !          5052: # (att4415: I added <rmam>/<smam> based on the init string -- esr)
        !          5053: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          5054: att4415|tty5420|att5420|AT&T 4415/5420 80 cols:\
        !          5055:        :bs:db:mi:xo:\
        !          5056:        :Nl#8:lh#2:lm#78:lw#8:ws#55:\
        !          5057:        :@1=\Et:@7=\Ez:@8=\Eent:AL=\E[%dL:CM=\E[%i%p1%d;%p2%dt:\
        !          5058:        :DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:LF=\E|:\
        !          5059:        :LO=\E~:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:SF=\E[%dE:SR=\E[%dF:\
        !          5060:        :UP=\E[%dA:bt=\E[Z:ch=\E[%+^AG:cl=\E[x\E[J:\
        !          5061:        :cm=\E[%i%d;%dx:ct=\E[3g:cv=\E[%+^Ad:ec=\E[%ds\E[%dD:\
        !          5062:        :ei=\E[4l:ho=\E[x:i1=\E[?3l:i2=\E[?5l:ic@:im=\E[4h:\
        !          5063:        :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:\
        !          5064:        :k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:\
        !          5065:        :k8=\EOj:kA=\E[L:kB=\E[Z:kD=\E[P:kE=\E[2K:kF=\E[T:kH=\Eu:\
        !          5066:        :kI=\E[4h:kL=\E[M:kN=\E[U:kP=\E[V:kR=\E[S:\
        !          5067:        :ke=\E[19;0j\E[21;1j\212:ks=\E[19;1j\E[21;4j\Eent:\
        !          5068:        :l1=F1:l2=F2:l3=F3:l4=F4:l5=F5:l6=F6:l7=F7:l8=F8:ll=\Ew:\
        !          5069:        :me=\E[m\017:mp=\EV:pf=\E[?9i:po=\E[?4i:ps=\E[?2i:st=\EH:\
        !          5070:        :ts=\E7\E[25;%p1%{8}%+%dH:vb=\E[?5h\E[?5l:ve=\E[11;0j:\
        !          5071:        :vs=\E[11;1j:\
        !          5072:        :tc=att4410:
        !          5073:
        !          5074: att4415-w|tty5420-w|att5420-w|AT&T 4415/5420 132 cols:\
        !          5075:        :co#132:lm#54:ws#97:\
        !          5076:        :i1=\E[?3h:tc=att4415:
        !          5077:
        !          5078: att4415-rv|tty5420-rv|att5420-rv|AT&T 4415/5420 80 cols/rv:\
        !          5079:        :i2=\E[?5h:vb=\E[?5l\E[?5h:\
        !          5080:        :tc=att4415:
        !          5081:
        !          5082: att4415-w-rv|tty5420-w-rv|att5420-w-rv|AT&T 4415/5420 132 cols/rv:\
        !          5083:        :co#132:lm#54:ws#97:\
        !          5084:        :i1=\E[?3h:i2=\E[?5h:vb=\E[?5l\E[?5h:tc=att4415:
        !          5085:
        !          5086: # Note that this mode permits programming USER PF KEYS and labels
        !          5087: # However, when you program user pf labels you have to reselect
        !          5088: # user pf keys to make them appear!
        !          5089: att4415+nl|tty5420+nl|att5420+nl|generic AT&T 4415/5420 changes for not changing labels:\
        !          5090:        :k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:\
        !          5091:        :..pn=\E[%p1%d;0;0;1q%p2%:-16.16s:\
        !          5092:        :..px=\E[%p1%d;%p2%l%02d;0;1q   F%p1%d           %p2%s:
        !          5093:
        !          5094: att4415-nl|tty5420-nl|att5420-nl|AT&T 4415/5420 without changing labels:\
        !          5095:        :k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:\
        !          5096:        :tc=att4415+nl:tc=att4415:
        !          5097:
        !          5098: att4415-rv-nl|tty5420-rv-nl|att5420-rv-nl|AT&T 4415/5420 reverse video without changing labels:\
        !          5099:        :k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:\
        !          5100:        :tc=att4415+nl:tc=att4415-rv:
        !          5101:
        !          5102: att4415-w-nl|tty5420-w-nl|att5420-w-nl|AT&T 4415/5420 132 cols without changing labels:\
        !          5103:        :k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:\
        !          5104:        :tc=att4415+nl:tc=att4415-w:
        !          5105:
        !          5106: att4415-w-rv-n|tty5420-w-rv-n|att5420-w-rv-n|AT&T 4415/5420 132 cols reverse without changing labels:\
        !          5107:        :k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:\
        !          5108:        :tc=att4415+nl:tc=att4415-w-rv:
        !          5109:
1.3       deraadt  5110: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   5111: # (sgr removed to fit entry within 1023 bytes)
                   5112: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.13    ! millert  5113: att5420_2|AT&T 5420 model 2 80 cols:\
        !          5114:        :am:db:hs:mi:ms:xo:\
        !          5115:        :co#80:it#8:li#24:lm#78:ws#55:\
        !          5116:        :AL=\E[%dL:CM=\E[%i%p1%d;%p2%dt:DC=\E[%dP:DL=\E[%dM:\
        !          5117:        :IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:SF=\E[%dE:SR=\E[%dF:\
        !          5118:        :UP=\E[%dA:ae=^O:al=\E[L:as=^N:bt=\E[1Z:cd=\E[0J:ce=\E[0K:\
        !          5119:        :cl=\EH\EJ:cm=\E[%i%d;%dH:cr=\EG:cs=\E[%i%d;%dr:ct=\E[3g:\
        !          5120:        :dc=\E[P:dl=\E[M:do=\E[1B:ec=\E[%ds\E[%dD:ei=:fs=\E8:\
        !          5121:        :ho=\E[H:\
        !          5122:        :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:\
        !          5123:        :ic=\E[@:im=:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:\
        !          5124:        :k6=\EOh:k7=\EOi:k8=\EOj:kD=\E[P:kH=\Eu:kI=\E[4h:kN=\E[U:\
        !          5125:        :kP=\E[V:kb=^H:kd=\E[B:ke=\E[19;0j:kh=\E[H:kl=\E[D:kr=\E[C:\
        !          5126:        :ks=\E[19;1j:ku=\E[A:le=^H:ll=\Ew:mb=\E[5m:me=\E[m\017:\
        !          5127:        :mh=\E[2m:mr=\E[7m:nd=\E[1C:nw=^M^J:rc=\E8:sc=\E7:se=\E[m:\
        !          5128:        :sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
        !          5129:        :ts=\E7\E[25;%p1%{8}%+%dH:ue=\E[m:us=\E[4m:\
        !          5130:        :vb=\E[?5h\E[?5l:ve=\E[11;0j:vs=\E[11;1j:
        !          5131: att5420_2-w|AT&T 5420 model 2 in 132 column mode:\
        !          5132:        :co#132:\
        !          5133:        :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:
        !          5134:
        !          5135: att4418|att5418|AT&T 5418 80 cols:\
        !          5136:        :am:xo:\
        !          5137:        :co#80:li#24:\
        !          5138:        :@8=\E[:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[n:\
        !          5139:        :F2=\E[o:F3=\E[H:F4=\E[I:F5=\E[J:F8=\E[K:F9=\E[L:FA=\E[E:\
        !          5140:        :FB=\E[_:FC=\E[M:FD=\E[N:FE=\E[O:IC=\E[%d@:LE=\E[%dD:\
        !          5141:        :RI=\E[%dC:UP=\E[%dA:\
        !          5142:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
        !          5143:        :ae=^O:al=\E[1L:as=^N:bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[H\E[2J:\
        !          5144:        :cm=\E[%i%d;%dH:cr=^M:dc=\E[1P:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
        !          5145:        :i1=\E[?3l:ic=\E[1@:im=:is=\E)0\E?6l\E?5l:k1=\E[h:k2=\E[i:\
        !          5146:        :k3=\E[j:k6=\E[k:k7=\E[l:k8=\E[f:k9=\E[w:k;=\E[m:kC=\E[%:\
        !          5147:        :kd=\EU:kh=\Ec:kl=\E@:kr=\EA:ku=\ES:le=\E[D:mb=\E[5m:\
        !          5148:        :me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:\
        !          5149:        :se=\E[m:sf=^J:so=\E[7m:ue=\E[m:up=\E[A:us=\E[4m:
        !          5150: att4418-w|att5418-w|AT&T 5418 132 cols:\
        !          5151:        :co#132:\
        !          5152:        :i1=\E[?3h:tc=att5418:
        !          5153:
        !          5154: att4420|tty4420|teletype 4420:\
        !          5155:        :bs:da:db:eo:ms:ul:xo:\
        !          5156:        :co#80:li#24:lm#72:\
        !          5157:        :al=\EL:bl=^G:cd=\EJ:ce=\Ez:cl=\EH\EJ:cm=\EY%+ %+ :cr=\EG:\
        !          5158:        :dc=\EP:dl=\EM:dm@:do=\EB:ed@:ho=\EH:k0=\EU:k3=\E@:kA=\EL:\
        !          5159:        :kB=\EO:kC=\EJ:kD=\EP:kF=\ES:kI=\E\136:kL=\EM:kR=\ET:kd=\EB:\
        !          5160:        :kh=\EH:kl=^H:kr=\EC:ku=\EA:l0=segment advance:\
        !          5161:        :l3=cursor tab:le=\ED:nd=\EC:se=\E~:sf=\EH\EM\EY7 :so=\E}:\
        !          5162:        :ue=\EZ:up=\EA:us=\E\:
1.1       deraadt  5163:
1.13    ! millert  5164: #  The following is a terminfo entry for the Teletype 4424
        !          5165: #  asynchronous keyboard-display terminal.  It supports
        !          5166: #  the vi editor.  The terminal must be set up as follows,
        !          5167: #
        !          5168: #      HIGHLIGHT DEFINITION    3-TONE
        !          5169: #      DISPLAY FUNCTION        GROUP III
        !          5170: #
        !          5171: #  The second entry below provides limited (a la adm3a)
        !          5172: #  operation under GROUP II.
        !          5173: #
        !          5174: #  This must be used with DISPLAY FUNCTION GROUP I or III
        !          5175: #      and HIGHLIGHT DEFINITION 3-TONE
        !          5176: # The terminal has either bold or blink, depending on options
1.2       deraadt  5177: #
1.13    ! millert  5178: # (att4424: commented out :ti:=\E[1m, we don't need bright locked on -- esr)
        !          5179: att4424|tty4424|teletype 4424:\
        !          5180:        :am:bs:xo:\
        !          5181:        :co#80:li#24:\
        !          5182:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
        !          5183:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
        !          5184:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
        !          5185:        :ae=\E(B:al=\EL:as=\E(0:bl=^G:bt=\EO:cd=\EJ:ce=\Ez:\
        !          5186:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\EF:\
        !          5187:        :dc=\EP:dl=\EM:do=\EB:ei=:ho=\E[H:ic=\E\136:im=:\
        !          5188:        :is=\E[20l\E[?7h:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kC=\EJ:\
        !          5189:        :kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E3:\
        !          5190:        :md=\E3:me=\EX\E~\EZ\E4\E(B:mh=\EW:mr=\E}:nd=\EC:nw=\EE:\
        !          5191:        :..sa=\E[%?%p1%t7%;%?%p2%t;4%;%?%p3%t;7%;%?%p6%t;1%;%?%p6%p4%|%t;5%;%?%p5%t;0%;m:\
        !          5192:        :se=\E~:sf=^J:so=\E}:sr=\ET:st=\EH:ta=^I:ue=\EZ:up=\EA:\
        !          5193:        :us=\E\:
        !          5194:
        !          5195: att4424-1|tty4424-1|teletype 4424 in display function group I:\
        !          5196:        :kC@:kd=\EB:kh@:kl=\ED:kr=\EC:ku=\EA:\
        !          5197:        :tc=att4424:
        !          5198:
        !          5199: # This entry is not one of AT&T's official ones, it was translated from the
        !          5200: # 4.4BSD termcap file.  The highlight strings are different from att4424.
        !          5201: # I have no idea why this is -- older firmware version, maybe?
        !          5202: # The following two lines are the comment originally attached to the entry:
        !          5203: # This entry appears to avoid the top line - I have no idea why.
        !          5204: # From: jwb Wed Mar 31 13:25:09 1982 remote from ihuxp
        !          5205: att4424m|tty4424m|teletype 4424M:\
        !          5206:        :am:da:db:mi:\
        !          5207:        :co#80:it#8:li#23:\
        !          5208:        :al=\EL:bl=^G:ce=\E[K:cl=\E[2;H\E[J:cm=\E[%i%2;%2H\E[B:\
        !          5209:        :cr=^M:dc=\EP:dl=\EM:do=^J:ei=:ic=\E\136:im=:ip=2:\
        !          5210:        :is=\E[m\E[2;24r:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:\
        !          5211:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:\
        !          5212:        :nd=\E[C:nw=^M^J:se=\E[m:sf=^J:so=\E[7m:sr=\ET:ta=^I:\
        !          5213:        :ue=\E[m:up=\E[A:us=\E[4m:
        !          5214:
        !          5215: # The Teletype 5425 is really version 2 of the Teletype 5420. It
        !          5216: # is quite similar, except for some minor differences. No page
        !          5217: # mode, for example, so all of the :cm: sequences used above have
        !          5218: # to change back to what's being used for the 5410. Many of the
        !          5219: # option settings have changed their numbering as well.
        !          5220: #
        !          5221: # This has been tested on a preliminary model.
1.1       deraadt  5222: #
1.13    ! millert  5223: # (att5425: added <rmam>/<smam> based on the init string -- esr)
1.3       deraadt  5224: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   5225: # (sgr removed to fit entry within 1023 bytes)
                   5226: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.13    ! millert  5227: att5425|tty5425|att4425|AT&T 4425/5425:\
        !          5228:        :am:da:db:hs:mi:ms:xn:xo:\
        !          5229:        :co#80:it#8:li#24:lm#78:ws#55:\
        !          5230:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
        !          5231:        :LE=\E[%dD:RI=\E[%dC:SF=\E[%dE:SR=\E[%dF:UP=\E[%dA:ae=^O:\
        !          5232:        :al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
        !          5233:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
        !          5234:        :dl=\E[M:do=^J:ec=\E[%ds\E[%dD:ei=\E[4l:fs=\E8:ho=\E[H:\
        !          5235:        :i1=\E<\E[?3l:i2=\E[?5l:im=\E[4h:\
        !          5236:        :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:\
        !          5237:        :k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:\
        !          5238:        :k8=\EOj:kD=\E[P:kI=\E[4h:kb=^H:kd=\E[B:\
        !          5239:        :ke=\E[21;0j\E[25;1j\212:kh=\E[H:kl=\E[D:kr=\E[C:\
        !          5240:        :ks=\E[21;1j\E[25;4j\Eent\E~:ku=\E[A:le=^H:ll=\E[24H:\
        !          5241:        :mb=\E[5m:md=\E[2;7m:me=\E[m\017:mh=\E[2m:mr=\E[7m:\
        !          5242:        :nd=\E[C:nw=^M^J:rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:\
        !          5243:        :sr=\EM:st=\EH:ta=^I:ts=\E7\E[25;%p1%{8}%+%dH:ue=\E[m:\
        !          5244:        :up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[12;0j:\
        !          5245:        :vs=\E[12;1j:
        !          5246:
        !          5247: att5425-nl|tty5425-nl|att4425-nl|AT&T 4425/5425 80 columns no labels:\
        !          5248:        :ks=\E[21;1j\E[25;4j\Eent:\
        !          5249:        :tc=att4425:
        !          5250:
        !          5251: att5425-w|att4425-w|tty5425-w|teletype 4425/5425 in 132 column mode:\
        !          5252:        :co#132:lm#54:ws#97:\
        !          5253:        :i1=\E[?3h:tc=tty5425:
        !          5254:
        !          5255: # (att4426: his had bogus capabilities: :ri=\EM:, :ri=\E[1U:.
        !          5256: # I also added <rmam>/<smam> -- esr)
        !          5257: att4426|tty4426|teletype 4426S:\
        !          5258:        :am:da:db:xo:\
        !          5259:        :co#80:li#24:lm#48:\
        !          5260:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
        !          5261:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:SF=\E[%dS:\
        !          5262:        :SR=\E[%dT:UP=\E[%dA:\
        !          5263:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
        !          5264:        :ae=\E(B:al=\EL:as=\E(0:bl=^G:cd=\E[J:ce=\E[0K:ch=\E[%dG:\
        !          5265:        :cl=\E[H\E[2J\E[1U\E[H\E[2J\E[1V:cm=\E[%i%d;%dH:cr=^M:\
        !          5266:        :ct=\E[3g:cv=\E[%dd:dc=\EP:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
        !          5267:        :i1=\Ec\E[?7h:ic=\E\136:im=:is=\E[m\E[1;24r:k1=\EOP:\
        !          5268:        :k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:\
        !          5269:        :kB=\EO:kC=\E[2J:kH=\E[24;1H:kb=^H:kd=\EB:kh=\E[H:kl=\ED:\
        !          5270:        :kr=\EC:ku=\EA:le=\E[D:ll=\E[24H:md=\E[5m:me=\E[m\E(B:\
        !          5271:        :mr=\E[7m:nd=\E[C:nw=^M^J:r2=\Ec\E[?3l\E[2;0y:rc=\E8:\
        !          5272:        :sc=\E7:se=\E[m:sf=^J:so=\E[5m:sr=\ET:st=\E1:ta=^I:ue=\E[m:\
        !          5273:        :up=\EA:us=\E[4m:
        !          5274:
        !          5275: # Terminfo entry for the AT&T 510 A Personal Terminal
        !          5276: # Function keys 9 - 16 are available only after the
        !          5277: # screen labeled (soft keys/action blocks) are labeled.  Function key
        !          5278: # 9 corresponds to the leftmost touch target on the screen,
        !          5279: # function key 16 corresponds to the rightmost.
1.1       deraadt  5280: #
1.13    ! millert  5281: # This entry is based on one done by Ernie Rice at Summit, NJ and
        !          5282: # changed by Anne Gallup, Skokie, IL, ttrdc!anne
        !          5283: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          5284: att510a|bct510a|AT&T 510A Personal Terminal:\
        !          5285:        :am:mi:ms:xn:xo:\
        !          5286:        :Nl#8:co#80:lh#2:li#24:lw#7:\
        !          5287:        :#4=\E[u:%i=\E[v:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
        !          5288:        :F1=\EOe:F2=\EOf:F3=\EOg:F4=\EOh:F5=\EOi:F6=\EOj:LE=\E[%dD:\
        !          5289:        :RI=\E[%dC:UP=\E[%dA:\
        !          5290:        :ac=+g\054h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~:\
        !          5291:        :ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[0J:\
        !          5292:        :ce=\E[0K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:\
        !          5293:        :dc=\E[P:dl=\E[M:do=\E[1B:eA=\E(B\E)1:ff=^L:ho=\E[H:\
        !          5294:        :i1=\E(B\E)1\E[2l:i2=\E[21;1|\212:k1=\EOm:k2=\EOV:\
        !          5295:        :k3=\EOu:k4=\ENj:k5=\ENe:k6=\ENf:k7=\ENh:k8=\E[H:k9=\EOc:\
        !          5296:        :k;=\EOd:kB=\E[Z:kF=\E[S:kR=\E[T:kb=^H:kd=\E[B:ke=\E[19;0|:\
        !          5297:        :kl=\E[D:kr=\E[C:ks=\E[19;1|:ku=\E[A:le=^H:mb=\E[5m:\
        !          5298:        :md=\E[2;7m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\EE:\
        !          5299:        :pf=\E[?8i:po=\E[?4i:ps=\E[0i:rc=\E8:sc=\E7:se=\E[m:sf=^J:\
        !          5300:        :so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:\
        !          5301:        :ve=\E[11;3|:vi=\E[11;0|:vs=\E[11;2|:
        !          5302:
        !          5303: # Terminfo entry for the AT&T 510 D Personal Terminal
        !          5304: # Function keys 9 through 16 are accessed by bringing up the
        !          5305: # system blocks.
        !          5306: # Function key 9 corresponds to the leftmost touch target on the screen,
        !          5307: # function key 16 corresponds to the rightmost.
1.1       deraadt  5308: #
1.13    ! millert  5309: # There are problems with soft key labeling.  These are due to
        !          5310: # strangenesses in the native terminal that are impossible to
        !          5311: # describe in a terminfo.
1.1       deraadt  5312: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.3       deraadt  5313: # (sgr removed to fit entry within 1023 bytes)
                   5314: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.13    ! millert  5315: att510d|bct510d|AT&T 510D Personal Terminal:\
        !          5316:        :am:da:db:mi:ms:xn:xo:\
        !          5317:        :co#80:li#24:lm#48:\
1.1       deraadt  5318:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.13    ! millert  5319:        :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ae=^O:\
        !          5320:        :al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[0J:ce=\E[0K:cl=\E[H\E[J:\
        !          5321:        :cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[1B:\
        !          5322:        :ei=\E[4l:ff=^L:ho=\E[H:i1=\E(B\E)1\E[5;0|:\
        !          5323:        :i2=\E[21;1|\212:im=\E[4h:k1=\EOm:k2=\EOV:k3=\EOu:k4=\ENj:\
        !          5324:        :k5=\ENe:k6=\ENf:k7=\ENh:k8=\E[H:k9=\EOc:kb=^H:kd=\E[B:\
        !          5325:        :ke=\E[19;0|:kl=\E[D:kr=\E[C:ks=\E[19;1|:ku=\E[A:le=^H:\
        !          5326:        :ll=\E#2:mb=\E[5m:md=\E[2;7m:me=\E[m\017:mh=\E[2m:\
        !          5327:        :mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:sc=\E7:se=\E[m:sf=^J:\
        !          5328:        :so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:\
        !          5329:        :ve=\E[11;3|:vs=\E[11;2|:
        !          5330:
        !          5331: # (att500: I merged this with the att513 entry, att500 just used att513 -- esr)
1.2       deraadt  5332: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.3       deraadt  5333: # (sgr removed to fit entry within 1023 bytes)
                   5334: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.13    ! millert  5335: att500|att513|AT&T 513 using page mode:\
        !          5336:        :am:mi:ms:xn:xo:\
        !          5337:        :co#80:li#24:\
1.1       deraadt  5338:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.13    ! millert  5339:        :LE=\E[%dD:RI=\E[%dC:SF=\E[%dE:SR=\E[%dF:UP=\E[%dA:ae=^O:\
        !          5340:        :al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
        !          5341:        :cm=\E[%i%d;%dH:cr=^M:cs=%i\E[%d;%dr:ct=\E[3g:dc=\E[P:\
        !          5342:        :dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:\
        !          5343:        :i1=\E?\E[3;3|\E[10;0|\E[21;1|\212\E[6;1|\E[1{\E[?99l:\
        !          5344:        :im=\E[4h:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:\
        !          5345:        :k7=\EOi:k8=\EOj:kD=\ENf:kI=\ENj:kN=\E[U:kP=\E[V:kb=^H:\
        !          5346:        :kd=\E[B:ke=\E[19;0|\E[21;1|\212:kh=\E[H:kl=\E[D:kr=\E[C:\
        !          5347:        :ks=\E[19;1|\E[21;4|\Eent:ku=\E[A:le=^H:ll=\E#2:mb=\E[5m:\
        !          5348:        :md=\E[2;7m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\EE:\
        !          5349:        :rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
        !          5350:        :ue=\E[m:up=\E[A:us=\E[4m:ve=\E[11;0|:vs=\E[11;1|:
        !          5351:
        !          5352: # 01-07-88
        !          5353: # printer must be set to EMUL ANSI to accept ESC codes
        !          5354: # :up: stops at top margin
        !          5355: # :i1: sets cpi 10,lpi 6,form 66,left 1,right 132,top 1,bottom 66,font
        !          5356: #      and alt font ascii,wrap on,tabs cleared
        !          5357: # :is: disables newline on LF,Emphasized off
        !          5358: # The <u0> capability sets form length
        !          5359: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          5360: # (sgr removed to fit entry within 1023 bytes)
        !          5361: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
        !          5362: att5310|att5320|AT&T Model 53210 or 5320 matrix printer:\
        !          5363:        :co#132:it#8:li#66:\
        !          5364:        :DO=\E[%de:RI=\E[%da:cr=^M:do=^J:ff=^L:i1=\Ec:is=\E[20l\r:\
        !          5365:        :nd= :ta=^I:up=\EM:
        !          5366:
        !          5367: # Teletype 5620, firmware version 1.1 (8;7;3) or earlier from BRL
        !          5368: # The following SET-UP modes are assumed for normal operation:
        !          5369: #      CR_DEF=CR       NL_DEF=INDEX    DUPLEX=FULL
        !          5370: # Other SET-UP modes may be set for operator convenience or communication
        !          5371: # requirements.  This termcap description is for the Resident Terminal Mode.
        !          5372: # No delays specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
        !          5373: # The BRL entry also said: UNSAFE :ll=\E[70H:
        !          5374: att5620-1|tty5620-1|dmd1|Teletype 5620 with old ROMs:\
        !          5375:        :am:xo:\
        !          5376:        :co#88:it#8:li#70:vt#3:\
        !          5377:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:SF=\E[%dS:\
        !          5378:        :SR=\E[%dT:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
        !          5379:        :cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=:ho=\E[H:\
        !          5380:        :ic=\E[@:im=:kC=\E[2J:kH=\E[70;1H:kb=^H:kd=\E[B:kh=\E[H:\
        !          5381:        :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:nd=\E[C:nw=^M^J:r1=\Ec:\
        !          5382:        :rc=\E8:sc=\E7:sf=^J:sr=\E[T:ta=^I:up=\E[A:
        !          5383:
        !          5384: # 5620 terminfo  (2.0 or later ROMS with char attributes)
        !          5385: # The following SET-UP modes are assumed for normal operation:
        !          5386: #      DUPLEX=FULL     GEN_FLOW=ON     NEWLINE=INDEX   RETURN=CR
        !          5387: # Other SET-UP modes may be set for operator convenience or communication
        !          5388: # requirements.  This termcap description is for Resident Terminal Mode.  No
        !          5389: # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
        !          5390: # assumptions: :sf: (scroll forward one line) is only done at screen bottom
        !          5391: # Be aware that older versions of the dmd have a firmware bug that affects
        !          5392: # parameter defaulting; for this terminal, the 0 in \E[0m is not optional.
        !          5393: # :ms: is from an otherwise inferior BRL for this terminal.  That entry
        !          5394: # also has :ll:=\E[70H commented out and marked unsafe.
        !          5395: # For more, see the 5620 FAQ maintained by David Breneman <daveb@dgtl.com>.
        !          5396: att5620|dmd|tty5620|ttydmd|5620|5620 terminal 88 columns:\
        !          5397:        :NL:NP:am:bs:ms:xo:\
        !          5398:        :co#88:it#8:li#70:\
        !          5399:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:SF=\E[%dS:\
        !          5400:        :SR=\E[%dT:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
        !          5401:        :cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
        !          5402:        :ic=\E[@:im=:kC=\E[2J:kH=\E[70;1H:kb=^H:kd=\E[B:kh=\E[H:\
        !          5403:        :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:md=\E[2m:me=\E[0m:mh=\E[2m:\
        !          5404:        :mr=\E[7m:nd=\E[C:nw=^J:..px=\E[%p1%d;%p2%l%dq%p2%s:\
        !          5405:        :r1=\Ec:rc=\E8:sc=\E7:se=\E[0m:sf=\E[S:so=\E[7m:sr=\E[T:\
        !          5406:        :ta=^I:ue=\E[0m:up=\E[A:us=\E[4m:
        !          5407: att5620-24|tty5620-24|dmd-24|teletype dmd 5620 in a 24x80 layer:\
        !          5408:        :li#24:tc=att5620:
        !          5409: att5620-34|tty5620-34|dmd-34|teletype dmd 5620 in a 34x80 layer:\
        !          5410:        :li#34:tc=att5620:
        !          5411: # 5620 layer running the "S" system's downloaded graphics handler:
        !          5412: att5620-s|tty5620-s|layer|vitty|5620 S layer:\
        !          5413:        :am:bs:pt:\
        !          5414:        :co#80:it#8:li#72:\
        !          5415:        :al=\EI:bl=^G:ce=\EK:cl=^L:cm=\EY%r%+ %+ :cr=^M:dl=\ED:\
        !          5416:        :do=^J:kC=\E[2J:kH=\E[70;1H:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
        !          5417:        :kr=\E[C:ku=\E[A:le=^H:sf=^J:ta=^I:up=^K:vb=\E^G:
        !          5418:
        !          5419: # Entries for <kf15> thru <kf28> refer to the shifted system pf keys.
1.1       deraadt  5420: #
1.13    ! millert  5421: # Entries for <kf29> thru <kf46> refer to the alternate keypad mode
        !          5422: # keys:  = * / + 7 8 9 - 4 5 6 , 1 2 3 0 . ENTER
        !          5423: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          5424: # (sgr removed to fit entry within 1023 bytes)
        !          5425: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
        !          5426: att605|AT&T 605 80 column 102key keyboard:\
        !          5427:        :am:eo:xo:\
        !          5428:        :co#80:li#24:ws#80:\
        !          5429:        :DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:ae=^O:al=\E[L:as=\E)0\016:\
        !          5430:        :bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
        !          5431:        :cr=^M:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:fs=\E8:\
        !          5432:        :i1=\E[8;0|\E[?\E[13;20l\E[?\E[12h:ic=\E[@:im=\E[4h:\
        !          5433:        :is=\E[m\017:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:\
        !          5434:        :k6=\EOh:k7=\EOi:k8=\EOj:k9=\ENo:kD=\E[P:kI=\E[@:kN=\E[U:\
        !          5435:        :kP=\E[V:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
        !          5436:        :le=^H:ll=\E[24H:mb=\E[5m:md=\E[1m:me=\E[m\017:mh=\E[2m:\
        !          5437:        :mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:sc=\E7:se=\E[m:sf=^J:\
        !          5438:        :so=\E[7m:ta=^I:ts=\E7\E[25;%i%p1%dx:ue=\E[m:up=\E[A:\
        !          5439:        :us=\E[4m:
        !          5440: att605-pc|ATT 605 in pc term mode:\
        !          5441:        :@7=\E[F:AL=\E[L:S4=250\E[?11l\E[50;1|:S5=400\E[50;0|:\
        !          5442:        :XF=g:XN=e:\
        !          5443:        :ac=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263:\
        !          5444:        :al=\E[L:bt=\E[Z:dc=\E[P:dl=\E[M:do=\E[B:ei=:ic=\E[@:im=:\
        !          5445:        :k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:\
        !          5446:        :k8=\E[T:k9=\E[U:k;=\E[V:kB=\E[Z:kD=\E[P:kI=\E[@:kL=\E[M:\
        !          5447:        :kN=\E[G:kP=\E[I:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
        !          5448:        :le=\E[D:nd=\E[C:up=\E[A:\
        !          5449:        :tc=att605:
        !          5450: att605-w|AT&T 605-w 132 column 102 key keyboard:\
1.3       deraadt  5451:        :co#132:ws#132:\
1.13    ! millert  5452:        :i1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h\E(B\E)0:tc=att605:
        !          5453: # (att610: I added <rmam>/<smam> based on the init string.  I also
        !          5454: # added :SF: and :SR: because the BSD file says the att615s have them,
        !          5455: # and the 615 is like a 610 with a big keyboard, and most of their other
        !          5456: # smart terminals support the same sequence -- esr)
1.1       deraadt  5457: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.3       deraadt  5458: # (sgr removed to fit entry within 1023 bytes)
                   5459: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.13    ! millert  5460: att610|AT&T 610; 80 column; 98key keyboard:\
        !          5461:        :am:es:hs:mi:ms:xn:xo:\
1.1       deraadt  5462:        :co#80:it#8:li#24:ws#80:\
                   5463:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.13    ! millert  5464:        :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ae=^O:\
        !          5465:        :al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
        !          5466:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:\
        !          5467:        :do=\E[B:ei=\E[4l:fs=\E8:ho=\E[H:\
        !          5468:        :i1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)0:\
        !          5469:        :i2=\E(B\E)0:im=\E[4h:is=\E[m\017:k1=\EOc:k2=\EOd:k3=\EOe:\
        !          5470:        :k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:k9=\ENo:kb=^H:\
        !          5471:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:ll=\E[24H:\
        !          5472:        :mb=\E[5m:md=\E[1m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:\
        !          5473:        :nw=\EE:rc=\E8:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:\
        !          5474:        :ts=\E7\E[25;%i%p1%dx:ue=\E[m:up=\E[A:us=\E[4m:\
        !          5475:        :vb=\E[?5h\E[?5l:ve=\E[?25h\E[?12l:vi=\E[?25l:\
        !          5476:        :vs=\E[?12;25h:
        !          5477: att610-w|AT&T 610; 132 column; 98key keyboard:\
1.1       deraadt  5478:        :co#132:ws#132:\
1.13    ! millert  5479:        :i1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h:tc=att610:
1.1       deraadt  5480:
1.13    ! millert  5481: att610-103k|AT&T 610; 80 column; 103key keyboard:\
        !          5482:        :!1=\EOO:!2=\EOP:!3=\EOS:#1=\EOM:%0=\EOt:%1=\EOm:%2=\ENi:\
        !          5483:        :%3=\EOl:%4=\ENc:%5=\ENh:%6=\EOv:%7=\EOr:%8=\ENg:%9=\EOz:\
        !          5484:        :%a=\EOL:%b=\ENC:%c=\ENH:%d=\EOR:%e=\ENG:%f=\EOZ:%g=\EOT:\
        !          5485:        :%h=\EOY:%j=\EOQ:&0=\EOW:&1=\EOb:&2=\ENa:&3=\EOy:&4=\EOB:\
        !          5486:        :&5=\EOq:&6=\EOo:&7=\EOp:&8=\EOs:&9=\ENB:*0=\EOX:*1=\EOU:\
        !          5487:        :*2=\END:*3=\EON:*4=\ENF:*5=\ENE:*6=\ENI:*7=\ENN:*8=\EOA:\
        !          5488:        :*9=\EOK:@0=\EOx:@1=\E9:@2=\EOw:@3=\EOV:@4=\EOu:@5=\ENd:\
        !          5489:        :@6=\EOn:@7=\E0:@8=^M:@9=\EOk:F1@:F2@:F3@:F4@:k9@:k;@:kD=\ENf:\
        !          5490:        :kE=\EOa:kI=\ENj:kL=\ENe:kM=\ENj:kN=\E[U:kP=\E[V:\
        !          5491:        :tc=att610:
        !          5492: att610-103k-w|AT&T 610; 132 column; 103key keyboard:\
        !          5493:        :co#132:ws#132:\
        !          5494:        :i1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h:tc=att610-103k:
        !          5495: att615|AT&T 615; 80 column; 98key keyboard:\
        !          5496:        :#4=\E[ A:%i=\E[ @:F5=\EOC:F6=\EOD:F7=\EOE:F8=\EOF:F9=\EOG:\
        !          5497:        :FA=\EOH:FB=\EOI:FC=\EOJ:FD=\ENO:FE=\ENP:FF=\ENQ:FG=\ENR:\
        !          5498:        :FH=\ENS:FI=\ENT:FJ=\EOP:FK=\EOQ:FL=\EOR:FM=\EOS:FN=\EOw:\
        !          5499:        :FO=\EOx:FP=\EOy:FQ=\EOm:FR=\EOt:FS=\EOu:FT=\EOv:FU=\EOl:\
        !          5500:        :FV=\EOq:FW=\EOr:FX=\EOs:FY=\EOp:FZ=\EOn:Fa=\EOM:\
        !          5501:        :tc=att610:
        !          5502: att615-w|AT&T 615; 132 column; 98key keyboard:\
        !          5503:        :#4=\E[ A:%i=\E[ @:F5=\EOC:F6=\EOD:F7=\EOE:F8=\EOF:F9=\EOG:\
        !          5504:        :FA=\EOH:FB=\EOI:FC=\EOJ:FD=\ENO:FE=\ENP:FF=\ENQ:FG=\ENR:\
        !          5505:        :FH=\ENS:FI=\ENT:FJ=\EOP:FK=\EOQ:FL=\EOR:FM=\EOS:FN=\EOw:\
        !          5506:        :FO=\EOx:FP=\EOy:FQ=\EOm:FR=\EOt:FS=\EOu:FT=\EOv:FU=\EOl:\
        !          5507:        :FV=\EOq:FW=\EOr:FX=\EOs:FY=\EOp:FZ=\EOn:Fa=\EOM:\
        !          5508:        :tc=att610-w:
        !          5509: att615-103k|AT&T 615; 80 column; 103key keyboard:\
        !          5510:        :#4=\E[ A:%i=\E[ @:\
        !          5511:        :tc=att610-103k:
        !          5512: att615-103k-w|AT&T 615; 132 column; 103key keyboard:\
        !          5513:        :#4=\E[ A:%i=\E[ @:\
        !          5514:        :tc=att610-103k-w:
        !          5515: # (att620: I added <rmam>/<smam> based on the init string and
        !          5516: # :SR:/:SF: from a BSD termcap -- esr)
1.3       deraadt  5517: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   5518: # (sgr removed to fit entry within 1023 bytes)
                   5519: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.13    ! millert  5520: att620|AT&T 620; 80 column; 98key keyboard:\
        !          5521:        :am:es:hs:mi:ms:xn:xo:\
1.1       deraadt  5522:        :co#80:it#8:li#24:ws#80:\
                   5523:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.13    ! millert  5524:        :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
        !          5525:        :ae=\E(B\017:al=\E[L:as=\E)0\016:bl=^G:bt=\E[Z:cd=\E[J:\
        !          5526:        :ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
        !          5527:        :dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:fs=\E8:ho=\E[H:\
        !          5528:        :i1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h:\
        !          5529:        :i2=\E(B\E)0:im=\E[4h:is=\E[m\017:k1=\EOc:k2=\EOd:k3=\EOe:\
        !          5530:        :k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:k9=\ENo:kb=^H:\
        !          5531:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:ll=\E[24H:\
        !          5532:        :mb=\E[5m:md=\E[1m:me=\E[m\E(B\017:mh=\E[2m:mr=\E[7m:\
        !          5533:        :nd=\E[C:nw=\EE:rc=\E8:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:\
        !          5534:        :sr=\EM:ta=^I:ts=\E7\E[25;%i%p1%dx:ue=\E[m:up=\E[A:\
        !          5535:        :us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h\E[?12l:vi=\E[?25l:\
        !          5536:        :vs=\E[?12;25h:
        !          5537: att620-w|AT&T 620; 132 column; 98key keyboard:\
        !          5538:        :co#132:ws#132:\
        !          5539:        :i1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h:tc=att620:
        !          5540: att620-103k|AT&T 620; 80 column; 103key keyboard:\
        !          5541:        :!1=\EOO:!2=\EOP:!3=\EOS:#1=\EOM:%0=\EOt:%1=\EOm:%2=\ENi:\
        !          5542:        :%3=\EOl:%4=\ENc:%5=\ENh:%6=\EOv:%7=\EOr:%8=\ENg:%9=\EOz:\
        !          5543:        :%a=\EOL:%b=\ENC:%c=\ENH:%d=\EOR:%e=\ENG:%f=\EOZ:%g=\EOT:\
        !          5544:        :%h=\EOY:%j=\EOQ:&0=\EOW:&1=\EOb:&2=\ENa:&3=\EOy:&4=\EOB:\
        !          5545:        :&5=\EOq:&6=\EOo:&7=\EOp:&8=\EOs:&9=\ENB:*0=\EOX:*1=\EOU:\
        !          5546:        :*2=\END:*3=\EON:*4=\ENF:*5=\ENE:*6=\ENI:*7=\ENN:*8=\EOA:\
        !          5547:        :*9=\EOK:@0=\EOx:@1=\E9:@2=\EOw:@3=\EOV:@4=\EOu:@5=\ENd:\
        !          5548:        :@6=\EOn:@7=\E0:@8=^M:@9=\EOk:F1@:F2@:F3@:F4@:F5@:F6@:F7@:F8@:\
        !          5549:        :F9@:FA@:FB@:FC@:FD@:FE@:FF@:FG@:FH@:FI@:FJ@:FK@:FL@:FM@:FN@:FO@:FP@:\
        !          5550:        :FQ@:FR@:FS@:FT@:FU@:FV@:FW@:FX@:FY@:FZ@:Fa@:k9@:k;@:kD=\ENf:\
        !          5551:        :kE=\EOa:kI=\ENj:kL=\ENe:kM=\ENj:kN=\E[U:kP=\E[V:\
        !          5552:        :tc=att620:
        !          5553:
        !          5554: att620-103k-w|AT&T 620; 132 column; 103key keyboard:\
1.3       deraadt  5555:        :co#132:ws#132:\
1.13    ! millert  5556:        :i1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h:tc=att620-103k:
        !          5557:
        !          5558: # AT&T (formerly Teletype) 630 Multi-Tasking Graphics terminal
        !          5559: # The following SETUP modes are assumed for normal operation:
        !          5560: #      Local_Echo=Off  Gen_Flow=On     Return=CR       Received_Newline=LF
        !          5561: #      Font_Size=Large         Non-Layers_Window_Cols=80
        !          5562: #                              Non-Layers_Window_Rows=60
        !          5563: # Other SETUP modes may be set for operator convenience or communication
        !          5564: # requirements.  Some capabilities assume a printer attached to the Aux EIA
        !          5565: # port.  This termcap description is for the Fixed Non-Layers Window.  No
        !          5566: # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
        !          5567: # (att630: added :ic:, :mb: and :mh: from a BSD termcap file -- esr)
        !          5568: att630|AT&T 630 windowing terminal:\
        !          5569:        :NP:am:bs:da:db:mi:ms:xo:\
        !          5570:        :co#80:it#8:li#60:lm#0:\
        !          5571:        :@8=^M:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\ENq:\
        !          5572:        :F2=\ENr:F3=\ENs:F4=\ENt:F5=\ENu:F6=\ENv:F7=\ENw:F8=\ENx:\
        !          5573:        :F9=\ENy:FA=\ENz:FB=\EN{:FC=\EN|:FD=\EN}:FE=\EN~:IC=\E[%d@:\
        !          5574:        :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
        !          5575:        :al=\E[L:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:\
        !          5576:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:\
        !          5577:        :ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:is=\E[m:k9=\ENo:k;=\ENp:\
        !          5578:        :kA=\E[L:kB=\E[Z:kC=\E[2J:kD=\E[P:kI=\E[@:kL=\E[M:kb=^H:\
        !          5579:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
        !          5580:        :me=\E[m:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=^M^J:pf=\E[?4i:\
        !          5581:        :po=\E[?5i:..px=\E[%p1%d;%p2%l%dq%p2%s:r2=\Ec:rc=\E8:\
        !          5582:        :..sa=\E[0%?%p2%t;4%;%?%p1%p3%|%p4%|%p5%|%t;7%;m:\
        !          5583:        :sc=\E7:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:\
        !          5584:        :up=\E[A:us=\E[4m:
        !          5585: att630-24|5630-24|5630DMD-24|630MTG-24|AT&T 630 windowing terminal 24 lines:\
        !          5586:        :li#24:tc=att630:
1.1       deraadt  5587:
1.13    ! millert  5588: # This is the att700 entry for 700 native emulation of the AT&T 700
        !          5589: # terminal.  Comments are relative to changes from the 605V2 entry and
        !          5590: # att730 on which the entry is based.  Comments show the terminfo
        !          5591: # capability name, termcap name, and description.
        !          5592: #
        !          5593: # Here is what's going onm in the init string:
        !          5594: #      ESC [ 50;4|     set 700 native mode (really is 605)
        !          5595: # x    ESC [ 56;ps|    set lines to 24: ps=0; 40: ps=1 (plus status line)
        !          5596: #      ESC [ 53;0|     set GenFlow to Xon/Xoff
        !          5597: #      ESC [ 8 ;0|     set CR on NL
        !          5598: # x    ESC [ ? 3 l/h   set workspace: 80 col(l); 132 col(h)
        !          5599: #      ESC [ ? 4 l     jump scroll
        !          5600: #      ESC [ ? 5 l/h   video: normal (l); reverse (h)
        !          5601: #      ESC [ ?13 l     Labels on
        !          5602: #      ESC [ ?15 l     parity check = no
        !          5603: #      ESC [ 13 l      monitor mode off
        !          5604: #      ESC [ 20 l      LF on NL (not CRLF on NL)
        !          5605: #      ESC [ ? 7 h     autowrap on
        !          5606: #      ESC [ 12 h      local echo off
        !          5607: #      ESC ( B         GO = ASCII
        !          5608: #      ESC ) 0         G1 = Special Char & Line Drawing
        !          5609: #      ESC [ ? 31 l    Set 7 bit controls
        !          5610: #
        !          5611: # Note: Most terminals, especially the 600 family use Reverse Video for
        !          5612: # standout mode.  DEC also uses reverse video.  The VT100 uses bold in addition
        !          5613: # Assume we should stay with reverse video for 70..  However, the 605V2 exits
        !          5614: # standout mode with \E[m (all normal attributes).  The 730 entry simply
        !          5615: # exits reverse video which would leave other current attributes intact.  It
        !          5616: # was assumed the 730 entry to be more correct so rmso has changed.  The
        !          5617: # 605V2 has no sequences to turn individual attributes off, thus its setting
        !          5618: # and the rmso/smso settings from the 730.
        !          5619: #
        !          5620: # Note: For the same reason as above in rmso I changed exit under-score mode
        !          5621: # to specifically turn off underscore, rather than return to all normal
        !          5622: # attributes
        !          5623: #
        !          5624: # Note: The following pkey_xmit is taken from the 605V2 which contained the
        !          5625: # capability as pfxl.  It was changed here to pfx since pfxl
        !          5626: # will only compile successfully with Unix 4.0 tic.  Also note that pfx only
        !          5627: # allows strings to be parameters and label values must be programmed as
        !          5628: # constant strings.  Supposedly the pfxl of Version 4.0 allows both labels
        !          5629: # and strings to be parameters.  The 605V2 pfx entry should be examined later
        !          5630: # in this regard. For reference the 730 pfxl entry is shown here for comparison
        !          5631: # 730 pfx entry:
        !          5632: #     pfxl=\E[%?%p1%{25}%<%t%p1%e%p1%{24}%-%;%d;%p2%l%02d%?%p1%{25}%<%tq\s\s\s
        !          5633: # SYS\s\s\s\s\sF%p1%:-2d\s\s%e;0;3q%;%p2%s,
        !          5634: #
        !          5635: # (for 4.0 tic)
        !          5636: #     pfxl=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s,
        !          5637: #
        !          5638: # (for <4.0 tic)
        !          5639: #     pfx=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s,
        !          5640: #
        !          5641: # From the AT&T 705 Multi-tasking terminal user's guide Page 8-8,8-9
        !          5642: #
        !          5643: # Port1 Interface
        !          5644: #
        !          5645: # modular 10 pin Connector
        !          5646: # Left side       Right side
        !          5647: # Pin 1 2 3 4 5 6 7 8 9 10
        !          5648: #
        !          5649: #        Key (notch) at bottom
        !          5650: #
        !          5651: # Pin    1 DSR
        !          5652: #        3 DCD
        !          5653: #        4 DTR
        !          5654: #        5 Sig Ground
        !          5655: #        6 RD
        !          5656: #        7 SD
        !          5657: #        8 CTS
        !          5658: #        9 RTS
        !          5659: #        10 Frame Ground
        !          5660: #
        !          5661: # The manual is 189 pages and is loaded with details about the escape codes,
        !          5662: # etc..... Available from AT&T CIC 800-432-6600...
        !          5663: # ask for Document number 999-300-660..
1.5       tholo    5664: #
                   5665: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   5666: # (sgr removed to fit entry within 1023 bytes)
                   5667: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.13    ! millert  5668: att700|AT&T 700 24x80 column display w/102key keyboard:\
        !          5669:        :am:es:hs:mi:ms:xn:xo:\
1.5       tholo    5670:        :co#80:it#8:li#24:ws#80:\
                   5671:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.13    ! millert  5672:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
        !          5673:        :bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
        !          5674:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:\
        !          5675:        :fs=\E8:ho=\E[H:i2=\E(B\E)0:im=\E[4h:\
        !          5676:        :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:\
        !          5677:        :k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:\
        !          5678:        :k8=\EOj:k9=\ENo:kD=\E[P:kI=\E[@:kN=\E[U:kP=\E[V:kb=^H:\
        !          5679:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:ll=\E[24H:\
        !          5680:        :mb=\E[5m:md=\E[1m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:\
        !          5681:        :nw=\EE:rc=\E8:sc=\E7:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:\
        !          5682:        :st=\EH:ta=^I:ts=\E7\E[99;%i%p1%dx:ue=\E[24m:up=\E[A:\
        !          5683:        :us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h\E[?12l:vi=\E[?25l:\
        !          5684:        :vs=\E[?12;25h:
        !          5685:
        !          5686: # This entry was modified 3/13/90 by JWE.
        !          5687: # fixes include additions of <enacs>, correcting :rp:, and modification
        !          5688: # of <kHOM>.  (See comments below)
        !          5689: # att730 has status line of 80 chars
        !          5690: # These were commented out: :SF=\E[%p1%dS:, :SR=\E[%p1%dT:,
        !          5691: # the <kf25> and up keys are used for shifted system Fkeys
        !          5692: # NOTE: JWE 3/13/90 The 98 key keyboard translation for shift/HOME is
        !          5693: # currently the same as :kh: (unshifted HOME or \E[H).  On the 102, 102+1
        !          5694: # and 122 key keyboards, the 730's translation is \E[2J.  For consistency
        !          5695: # <kHOM> has been commented out.  The user can uncomment <kHOM> if using the
        !          5696: # 102, 102+1, or 122 key keyboards
        !          5697: #       kHOM=\E[2J,
        !          5698: # (att730: I added <rmam>/<smam> based on the init string -- esr)
        !          5699: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          5700: # (sgr removed to fit entry within 1023 bytes)
        !          5701: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
        !          5702: att730|AT&T 730 windowing terminal:\
        !          5703:        :am:da:db:es:hs:mi:ms:xn:xo:\
        !          5704:        :co#80:it#8:li#60:lm#0:ws#80:\
        !          5705:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
        !          5706:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
        !          5707:        :bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
        !          5708:        :cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:fs=\E8:\
        !          5709:        :ho=\E[H:\
        !          5710:        :i1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)B:\
        !          5711:        :i2=\E(B\E)0:im=\E[4h:is=\E[m\017:k1=\EOc:k2=\EOd:k3=\EOe:\
        !          5712:        :k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:k9=\ENo:kI=\E[@:\
        !          5713:        :kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
1.5       tholo    5714:        :mb=\E[5m:md=\E[1m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:\
1.13    ! millert  5715:        :nw=\EE:rc=\E8:sc=\E7:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:\
        !          5716:        :ta=^I:ts=\E7\E[;%i%p1%dx:ue=\E[24m:up=\E[A:us=\E[4m:\
        !          5717:        :vb=\E[?5h\E[?5l:ve=\E[?25h\E[?12l:vi=\E[?25l:\
        !          5718:        :vs=\E[?12;25h:
        !          5719: att730-41|730MTG-41|AT&T 730-41 windowing terminal Version:\
        !          5720:        :li#41:tc=att730:
        !          5721: att730-24|730MTG-24|AT&T 730-24 windowing terminal Version:\
        !          5722:        :li#24:tc=att730:
        !          5723: att730r|730MTGr|AT&T 730 rev video windowing terminal Version:\
        !          5724:        :i1=\E[8;0|\E[?3;4;13;15l\E[?5h\E[13;20l\E[?7h\E[12h\E(B\E)B:\
        !          5725:        :vb=\E[?5l\E[?5h:\
        !          5726:        :tc=att730:
        !          5727: att730r-41|730MTG-41r|AT&T 730r-41 rev video windowing terminal Version:\
        !          5728:        :li#41:tc=att730r:
        !          5729: att730r-24|730MTGr-24|AT&T 730r-24 rev video windowing terminal Version:\
        !          5730:        :li#24:tc=att730r:
        !          5731:
        !          5732: # The following represents the screen layout along with the associated
        !          5733: # bezel buttons for the 5430/pt505 terminal. The "kf" designations do
        !          5734: # not appear on the screen but are shown to reference the bezel buttons.
        !          5735: # The "CMD", "MAIL", and "REDRAW" buttons are shown in their approximate
        !          5736: # position relative to the screen.
        !          5737: #
        !          5738: #
        !          5739: #
        !          5740: #      +----------------------------------------------------------------+
        !          5741: #      |                                                                |
        !          5742: # XXXX | kf0                                                       kf24 | XXXX
        !          5743: #      |                                                                |
        !          5744: #      |                                                                |
        !          5745: # XXXX | kf1                                                       kf23 | XXXX
        !          5746: #      |                                                                |
        !          5747: #      |                                                                |
        !          5748: # XXXX | kf2                                                       kf22 | XXXX
        !          5749: #      |                                                                |
        !          5750: #      |                                                                |
        !          5751: # XXXX | kf3                                                       kf21 | XXXX
        !          5752: #      |                                                                |
        !          5753: #      |                                                                |
        !          5754: # XXXX | kf4                                                       kf20 | XXXX
        !          5755: #      |                                                                |
        !          5756: #      |                                                                |
        !          5757: # XXXX | kf5                                                       kf19 | XXXX
        !          5758: #      |                                                                |
        !          5759: #      |                                                                |
        !          5760: # XXXX | kf6                                                       kf18 | XXXX
        !          5761: #      |                                                                |
        !          5762: #      |                                                                |
        !          5763: # XXXX |                                                                | XXXX
        !          5764: #      |                                                                |
        !          5765: #      |                                                                |
        !          5766: #      +----------------------------------------------------------------+
        !          5767: #
        !          5768: #          XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX
        !          5769: #
        !          5770: # Note: XXXX represents the screen buttons
        !          5771: #                                                          CMD   REDRAW
        !          5772: #
        !          5773: #                                                          MAIL
        !          5774: #
        !          5775: # version 1 note:
        !          5776: #      The character string sent by key 'kf26' may be user programmable
        !          5777: #       to send either \E[16s, or \E[26s.
        !          5778: #       The character string sent by key 'krfr' may be user programmable
        !          5779: #       to send either \E[17s, or \E[27s.
1.5       tholo    5780: #
1.13    ! millert  5781: # Depression of the "CMD" key sends    \E!    (kcmd)
        !          5782: # Depression of the "MAIL" key sends   \E[26s (kf26)
        !          5783: # "REDRAW" same as "REFRESH" (krfr)
1.5       tholo    5784: #
1.13    ! millert  5785: # "kf" functions adds carriage return to output string if terminal is in
        !          5786: # 'new line' mode.
1.5       tholo    5787: #
1.13    ! millert  5788: # The following are functions not covered in the table above:
1.5       tholo    5789: #
1.13    ! millert  5790: #       Set keyboard character (SKC): \EPn1;Pn2w
        !          5791: #                       Pn1= 0 Back Space key
        !          5792: #                       Pn1= 1 Break key
        !          5793: #                       Pn2=   Program char (hex)
1.5       tholo    5794: #
1.13    ! millert  5795: #       Screen Definition (SDF): \E[Pn1;Pn2;Pn3;Pn4;Pn5t
        !          5796: #                       Pn1=     Window number (1-39)
        !          5797: #                       Pn2-Pn5= Y;X;Y;X coordinates
1.5       tholo    5798: #
1.13    ! millert  5799: #       Screen Selection (SSL): \E[Pnu
        !          5800: #                       Pn= Window number
1.5       tholo    5801: #
1.13    ! millert  5802: #       Set Terminal Modes (SM): \E[Pnh
        !          5803: #                       Pn= 3 Graphics mode
        !          5804: #                       Pn= > Cursor blink
        !          5805: #                       Pn= < Enter new line mode
        !          5806: #                       Pn= = Enter reverse insert/replace mode
        !          5807: #                       Pn= ? Enter no scroll mode
1.5       tholo    5808: #
1.13    ! millert  5809: #       Reset Terminal Mode (RM): \E[Pnl
        !          5810: #                       Pn= 3 Exit graphics mode
        !          5811: #                       Pn= > Exit cursor blink
        !          5812: #                       Pn= < Exit new line mode
        !          5813: #                       Pn= = Exit reverse insert/replace mode
        !          5814: #                       Pn= ? Exit no scroll mode
1.5       tholo    5815: #
1.13    ! millert  5816: #       Screen Status Report (SSR): \E[Pnp
        !          5817: #                       Pn= 0 Request current window number
        !          5818: #                       Pn= 1 Request current window dimensions
1.5       tholo    5819: #
1.13    ! millert  5820: #       Device Status Report (DSR): \E[6n    Request cursor position
1.5       tholo    5821: #
1.13    ! millert  5822: #       Call Status Report (CSR): \E[Pnv
        !          5823: #                       Pn= 0 Call failed
        !          5824: #                       Pn= 1 Call successful
1.5       tholo    5825: #
1.13    ! millert  5826: #       Transparent Button String (TBS): \E[Pn1;Pn2;Pn3;{string
        !          5827: #                       Pn1= Button number to be loaded
        !          5828: #                       Pn2= Character count of "string"
        !          5829: #                       Pn3= Key mode being loaded:
        !          5830: #                               0= Unshifted
        !          5831: #                               1= Shifted
        !          5832: #                               2= Control
        !          5833: #                       String= Text string (15 chars max)
1.5       tholo    5834: #
1.13    ! millert  5835: #       Screen Number Report (SNR): \E[Pnp
        !          5836: #                       Pn= Screen number
1.5       tholo    5837: #
1.13    ! millert  5838: #       Screen Dimension Report (SDR): \E[Pn1;Pn2r
        !          5839: #                       Pn1= Number of rows available in window
        !          5840: #                       Pn2= Number of columns available in window
1.5       tholo    5841: #
1.13    ! millert  5842: #       Cursor Position Report (CPR): \E[Pn1;Pn2R
        !          5843: #                       Pn1= "Y" Position of cursor
        !          5844: #                       Pn2= "X" Position of cursor
1.5       tholo    5845: #
1.13    ! millert  5846: #       Request Answer Back (RAB): \E[c
1.5       tholo    5847: #
1.13    ! millert  5848: #       Answer Back Response (ABR): \E[?;*;30;VSV
        !          5849: #                       *=  0 No printer available
        !          5850: #                       *=  2 Printer available
        !          5851: #                       V=  Software version number
        !          5852: #                       SV= Software sub version number
        !          5853: #      (printer-available field not documented in v1)
1.5       tholo    5854: #
1.13    ! millert  5855: #       Screen Alignment Aid: \En
1.5       tholo    5856: #
1.13    ! millert  5857: #       Bell (lower pitch): \E[x
1.1       deraadt  5858: #
1.13    ! millert  5859: #       Dial Phone Number: \EPdstring\
        !          5860: #                       string= Phone number to be dialed
1.1       deraadt  5861: #
1.13    ! millert  5862: #       Set Phone Labels: \EPpstring\
        !          5863: #                       string= Label for phone buttons
1.2       deraadt  5864: #
1.13    ! millert  5865: #       Set Clock: \EPchour;minute;second\
1.2       deraadt  5866: #
1.13    ! millert  5867: #       Position Clock: \EPsY;X\
        !          5868: #                       Y= "Y" coordinate
        !          5869: #                       X= "X" coordinate
1.2       deraadt  5870: #
1.13    ! millert  5871: #       Delete Clock: \Epr\
1.2       deraadt  5872: #
1.13    ! millert  5873: #       Programming The Function Buttons: \EPfPn;string\
        !          5874: #                       Pn= Button number (00-06, 18-24)
        !          5875: #                                         (kf00-kf06, kf18-kf24)
        !          5876: #                       string= Text to sent on button depression
1.2       deraadt  5877: #
1.13    ! millert  5878: # The following in version 2 only:
1.1       deraadt  5879: #
1.13    ! millert  5880: #       Request For Local Directory Data: \EPp12;\
1.1       deraadt  5881: #
1.13    ! millert  5882: #       Local Directory Data to host: \EPp11;LOCAL...DIRECTORY...DATA\
1.1       deraadt  5883: #
1.13    ! millert  5884: #      Request for Local Directory Data in print format: \EPp13;\
1.1       deraadt  5885: #
1.13    ! millert  5886: #      Enable 'Prt on Line' mode: \022 (DC2)
1.1       deraadt  5887: #
1.13    ! millert  5888: #      Disable 'Prt on Line' mode: \024 (DC4)
1.1       deraadt  5889: #
                   5890:
1.13    ! millert  5891: # 05-Aug-86:
        !          5892: # The following Terminfo entry describes functions which are supported by
        !          5893: # the AT&T 5430/pt505 terminal software version 2 and later.
        !          5894: att505|pt505|att5430|gs5430|AT&T Personal Terminal 505 or 5430 GETSET terminal:\
        !          5895:        :am:xo:\
        !          5896:        :co#80:it#8:li#24:\
        !          5897:        :&2=\E[27s:@4=\E\041:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
        !          5898:        :DO=\E[%dB:F8=\E[18s:F9=\E[19s:FA=\E[20s:FB=\E[21s:\
        !          5899:        :FC=\E[22s:FD=\E[23s:FE=\E24s:FG=\E26s:LE=\E[%dD:\
        !          5900:        :RA=\E[11;1j:RI=\E[%dC:SA=\E[11;0j:UP=\E[%dA:\
        !          5901:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
        !          5902:        :ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:cb=\E2K:cd=\E[0J:\
        !          5903:        :ce=\E[0K:cl=\E[2J\E[H:cm=\E[%d;%dH:cr=^M:dc=\E[P:dl=\E[M:\
        !          5904:        :do=\E[B:ei=\E[4l:ho=\E[H:\
        !          5905:        :i1=\EPr\E[0u\E[2J\E[0;0H\E[m\E[3l\E[<l\E[4l\E[>l\E[=l\E[?l:\
        !          5906:        :im=\E[4h:k0=\E[00s:k1=\E[01s:k2=\E[02s:k3=\E[03s:\
        !          5907:        :k4=\E[04s:k5=\E[05s:k6=\E[06s:kb=^H:kd=\E[B:kl=\E[D:\
        !          5908:        :kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[m:\
        !          5909:        :mr=\E[7m:nd=\E[C:pf=\E[4i:po=\E[5i:r1=\Ec:rc=\E8:sc=\E7:\
        !          5910:        :se=\E[m:sf=^J:so=\E[1m:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:\
        !          5911:        :ve=\E[>l:vs=\E[>h:
1.1       deraadt  5912:
1.13    ! millert  5913: # The following Terminfo entry describes functions which are supported by
        !          5914: # the AT&T 5430/pt505 terminal software version 1.
        !          5915: att505-24|pt505-24|gs5430-24|AT&T PT505 or 5430 GETSET version 1 24 lines:\
        !          5916:        :li#24:\
        !          5917:        :RA@:SA@:pf@:po@:rc@:sc@:tc=att505:
        !          5918: tt505-22|pt505-22|gs5430-22|AT&T PT505 or 5430 GETSET version 1 22 lines:\
        !          5919:        :li#22:tc=att505:
1.1       deraadt  5920:
1.13    ! millert  5921: #### Ampex (Dialogue)
        !          5922: #
        !          5923: # Yes, these are the same people who are better-known for making audio- and
        !          5924: # videotape.  I'm told they are located in Redwood City, CA.
1.1       deraadt  5925: #
                   5926:
1.13    ! millert  5927: # From: <cbosg!ucbvax!SRC:george> Fri Sep 11 22:38:32 1981
        !          5928: # (ampex80: some capabilities merged in from SCO's entry -- esr)
        !          5929: ampex80|a80|d80|dialogue|dialogue80|ampex dialogue 80:\
        !          5930:        :am:bs:bw:ul:\
        !          5931:        :co#80:it#8:li#24:\
        !          5932:        :al=\EE:bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :\
        !          5933:        :cr=^M:ct=\E3:dc=\EW:dl=\ER:do=^J:ei=:ic=\EQ:im=:is=\EA:le=^H:\
        !          5934:        :nd=^L:se=\Ek:sf=^J:so=\Ej:st=\E1:ta=^I:ue=\Em:up=^K:us=\El:
        !          5935: # This entry was from somebody anonymous, Tue Aug  9 20:11:37 1983, who wrote:
        !          5936: ampex175|ampex d175:\
        !          5937:        :am:\
        !          5938:        :co#80:li#24:\
        !          5939:        :al=\EE:bl=^G:cd=\Ey:ce=\Et:cl=\E+:cm=\E=%+ %+ :cr=^M:\
        !          5940:        :dc=\EW:dl=\ER:do=^J:ei=:ho=^^:ic=\EQ:im=:is=\EX\EA\EF:\
        !          5941:        :kA=\EE:kD=\EW:kI=\EQ:kL=\ER:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:\
        !          5942:        :le=^H:ll=^^^K:nd=^L:se=\Ek:sf=^J:so=\Ej:te=\EF:ti=\EN:\
        !          5943:        :ue=\Em:up=^K:us=\El:
        !          5944: # No backspace key in the main QWERTY cluster. Fortunately, it has a
        !          5945: # NEWLINE/PAGE key just above RETURN that sends a strange single-character
        !          5946: # code.  Given a suitable Unix (one that lets you set an echo-erase-as-BS-SP-BS
        !          5947: # mode), this key can be used as the erase key; I find I like this. Because
        !          5948: # some people and some systems may not, there is another termcap ("ampex175")
        !          5949: # that suppresses this little eccentricity by omitting the relevant capability.
        !          5950: ampex175-b|ampex d175 using left arrow for erase:\
        !          5951:        :kb=^_:\
        !          5952:        :tc=ampex175:
        !          5953: # From: Richard Bascove <atd!dsd!rcb@ucbvax.berkeley.edu>
        !          5954: # (ampex210: removed obsolete ":kn#10:" -- esr)
        !          5955: ampex210|a210|ampex a210:\
        !          5956:        :am:bs:hs:xn:\
        !          5957:        :co#80:it#8:li#24:sg#1:\
        !          5958:        :al=\EE:bt=\EI:cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :dc=\EW:\
        !          5959:        :dl=\ER:ei=:fs=\E.2:ho=^^:ic=\EQ:if=/usr/share/tabset/std:\
        !          5960:        :im=:is=\EC\Eu\E'\E(\El\EA\E%\E{\E.2\EG0\Ed\En:\
        !          5961:        :k0=^A0\r:k1=^A1\r:k2=^A2\r:k3=^A3\r:k4=^A4\r:k5=^A5\r:\
        !          5962:        :k6=^A6\r:k7=^A7\r:k8=^A8\r:k9=^A9\r:kd=^V:kh=^^:kl=^H:\
        !          5963:        :kr=^L:ku=^K:le=^H:mk@:nd=^L:ta=^I:ts=\E.0\Eg\E}\Ef:up=^K:\
        !          5964:        :vb=\EU\EX\EU\EX\EU\EX\EU\EX:\
        !          5965:        :tc=adm+sgr:
        !          5966: # (ampex219: I added <rmam>/<smam> based on the init string, added :vs:
        !          5967: # from ampex219w, added :ve:=\E[?3l, irresistibly suggested by :vs:,
        !          5968: # and moved the padding to be *after* the caps -- esr)
        !          5969: ampex219|ampex-219|amp219|Ampex with Automargins:\
        !          5970:        :hs:xn:\
        !          5971:        :co#80:it#8:li#24:\
        !          5972:        :RA=\E[?7l:SA=\E[?7h:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
        !          5973:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=%i\E[%2;%2r:\
        !          5974:        :do=\E[B:ho=\E[H:\
        !          5975:        :is=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:k0=\E[21~:\
        !          5976:        :k1=\E[7~:k2=\E[8~:k3=\E[9~:k4=\E[10~:k5=\E[11~:k6=\E[17~:\
        !          5977:        :k7=\E[18~:k8=\E[19~:k9=\E[20~:kd=\E[B:ke=\E>:kh=\E[H:\
        !          5978:        :kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
        !          5979:        :me=\E[m:mh=\E[1m:mr=\E[7m:nd=\E[C:se=\E[m:sf=^J:so=\E[7m:\
        !          5980:        :sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[?3l:vs=\E[?3h:
        !          5981: ampex219w|ampex-219w|amp219w|Ampex 132 cols:\
        !          5982:        :co#132:li#24:\
        !          5983:        :bl=^G:cr=^M:do=^J:is=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h:\
        !          5984:        :sf=^J:\
        !          5985:        :tc=ampex219:
        !          5986: # (ampex232: removed :if=/usr/share/tabset/ampex:, no file and no :st: --esr)
        !          5987: ampex232|ampex-232|Ampex Model 232:\
        !          5988:        :am:\
        !          5989:        :co#80:li#24:sg#1:\
        !          5990:        :al=5*\EE:bt=\EI:cd=\EY:ce=\ET:cl=\E+:cm=\E=%+ %+ :dc=\EW:\
        !          5991:        :dl=5*\ER:do=^V:ei=:ic=\EQ:im=:is=\Eg\El:k0=^A@\r:k1=^AA\r:\
        !          5992:        :k2=^AB\r:k3=^AC\r:k4=^AD\r:k5=^AE\r:k6=^AF\r:k7=^AG\r:\
        !          5993:        :k8=^AH\r:k9=^AI\r:kb=^H:kd=^V:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:\
        !          5994:        :mk@:nd=^L:ta=^I:up=^K:vb=\Eb\Ed:ve=\E.4:vi=\E.0:\
        !          5995:        :tc=adm+sgr:
        !          5996: # (ampex: removed :if=/usr/share/tabset/amp-132:, no file and no :st: -- esr)
        !          5997: ampex232w|Ampex Model 232 / 132 columns:\
        !          5998:        :co#132:li#24:\
        !          5999:        :is=\E\034Eg\El:tc=ampex232:
1.1       deraadt  6000:
1.13    ! millert  6001: #### Ann Arbor (aa)
        !          6002: #
        !          6003: # Ann Arbor made dream terminals for hackers -- large screen sizes and huge
        !          6004: # numbers of function keys.  At least some used monitors in portrait mode,
        !          6005: # allowing up to 76-character screen heights!  They were reachable at:
        !          6006: #
        !          6007: #      Ann Arbor Terminals
        !          6008: #      6175 Jackson Road
        !          6009: #      Ann Arbor, MI 48103
        !          6010: #      (313)-663-8000
        !          6011: #
        !          6012: # But in 1996 the phone number reaches some kitschy retail shop, and Ann Arbor
        !          6013: # can't be found on the Web; I fear they're long dead.  R.I.P.
        !          6014: #
1.1       deraadt  6015:
                   6016:
1.13    ! millert  6017: # Originally from Mike O'Brien@Rand and Howard Katseff at Bell Labs.
        !          6018: # Highly modified 6/22 by Mike O'Brien.
        !          6019: # split out into several for the various screen sizes by dave-yost@rand
        !          6020: # Modifications made 3/82 by Mark Horton
        !          6021: # Modified by Tom Quarles at UCB for greater efficiency and more diversity
        !          6022: # status line moved to top of screen, :vb: removed 5/82
        !          6023: # Some unknown person at SCO then hacked the init strings to make them more
        !          6024: # efficient.
        !          6025: #
        !          6026: # assumes the following setup:
        !          6027: #   A menu: 0000 1010  0001 0000
        !          6028: #   B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
        !          6029: #   C menu: 56   66   0    0    9600  0110 1100
        !          6030: #   D menu: 0110 1001   1   0
        !          6031: #
        !          6032: #      Briefly, the settings are for the following modes:
        !          6033: #         (values are for bit set/clear with * indicating our preference
        !          6034: #          and the value used to test these termcaps)
        !          6035: #      Note that many of these settings are irrelevent to the terminfo
        !          6036: #      and are just set to the default mode of the terminal as shipped
        !          6037: #      by the factory.
        !          6038: #
        !          6039: # A menu: 0000 1010  0001 0000
        !          6040: #      Block/underline cursor*
        !          6041: #      blinking/nonblinking cursor*
        !          6042: #      key click/no key click*
        !          6043: #      bell/no bell at column 72*
        !          6044: #
        !          6045: #      key pad is cursor control*/key pad is numeric
        !          6046: #      return and line feed/return for :cr: key *
        !          6047: #      repeat after .5 sec*/no repeat
        !          6048: #      repeat at 25/15 chars per sec. *
        !          6049: #
        !          6050: #      hold data until pause pressed/process data unless pause pressed*
        !          6051: #      slow scroll/no slow scroll*
        !          6052: #      Hold in area/don't hold in area*
        !          6053: #      functions keys have default*/function keys disabled on powerup
        !          6054: #
        !          6055: #      show/don't show position of cursor during page transmit*
        !          6056: #      unused
        !          6057: #      unused
        !          6058: #      unused
        !          6059: #
        !          6060: # B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
        !          6061: #      Baud rate (9600*)
        !          6062: #
        !          6063: #      2 bits of parity - 00=odd,01=even*,10=space,11=mark
        !          6064: #      1 stop bit*/2 stop bits
        !          6065: #      parity error detection off*/on
        !          6066: #
        !          6067: #      keyboard local/on line*
        !          6068: #      half/full duplex*
        !          6069: #      disable/do not disable keyboard after data transmission*
        !          6070: #
        !          6071: #      transmit entire page/stop transmission at cursor*
        !          6072: #      transfer/do not transfer protected characters*
        !          6073: #      transmit all characters/transmit only selected characters*
        !          6074: #      transmit all selected areas/transmit only 1 selected area*
        !          6075: #
        !          6076: #      transmit/do not transmit line separators to host*
        !          6077: #      transmit/do not transmit page tab stops tabs to host*
        !          6078: #      transmit/do not transmit column tab stop tabs to host*
        !          6079: #      transmit/do not transmit graphics control (underline,inverse..)*
        !          6080: #
        !          6081: #      enable*/disable auto XON/XOFF control
        !          6082: #      require/do not require receipt of a DC1 from host after each LF*
        !          6083: #      pause key acts as a meta key/pause key is pause*
        !          6084: #      unused
        !          6085: #
        !          6086: #      unused
        !          6087: #      unused
        !          6088: #      unused
        !          6089: #      unused
        !          6090: #
        !          6091: #      XON character (17*)
        !          6092: #      XOFF character (19*)
        !          6093: #
        !          6094: # C menu: 56   66   0    0    9600  0110 1100
        !          6095: #      number of lines to print data on (printer) (56*)
        !          6096: #
        !          6097: #      number of lines on a sheet of paper (printer) (66*)
        !          6098: #
        !          6099: #      left margin (printer) (0*)
        !          6100: #
        !          6101: #      number of pad chars on new line to printer (0*)
        !          6102: #
        !          6103: #      printer baud rate (9600*)
        !          6104: #
        !          6105: #      printer parity: 00=odd,01=even*,10=space,11=mark
        !          6106: #      printer stop bits: 2*/1
        !          6107: #      print/do not print guarded areas*
        !          6108: #
        !          6109: #      new line is: 01=LF,10=CR,11=CRLF*
        !          6110: #      unused
        !          6111: #      unused
        !          6112: #
        !          6113: # D menu: 0110 1001   1   0
        !          6114: #      LF is newline/LF is down one line, same column*
        !          6115: #      wrap to preceding line if move left from col 1*/don't wrap
        !          6116: #      wrap to next line if move right from col 80*/don't wrap
        !          6117: #      backspace is/is not destructive*
1.1       deraadt  6118: #
1.13    ! millert  6119: #      display*/ignore DEL character
        !          6120: #      display will not/will scroll*
        !          6121: #      page/column tab stops*
        !          6122: #      erase everything*/erase unprotected only
1.1       deraadt  6123: #
1.13    ! millert  6124: #      editing extent: 0=display,1=line*,2=field,3=area
1.1       deraadt  6125: #
1.13    ! millert  6126: #      unused
1.1       deraadt  6127: #
                   6128:
1.13    ! millert  6129: annarbor4080|aa4080|ann arbor 4080:\
        !          6130:        :am:bs:\
        !          6131:        :co#80:li#40:\
        !          6132:        :bl=^G:cl=\014:\
        !          6133:        :..cm=\017%p2%{10}%/%{16}%*%p2%{10}%m%+%c%p1%?%p1%{19}%>%t%{12}%+%;%'@'%+%c:\
        !          6134:        :cr=^M:ct=^^P^P:do=^J:ho=^K:kb=^^:kd=^J:kh=^K:kl=^H:kr=^_:\
        !          6135:        :ku=^N:le=^H:nd=^_:sf=^J:st=^]^P1:ta=^I:up=^N:
1.1       deraadt  6136:
1.13    ! millert  6137: # Strange Ann Arbor terminal from BRL
        !          6138: aas1901|Ann Arbor K4080 w/S1901 mod:\
        !          6139:        :am:\
        !          6140:        :co#80:li#40:\
        !          6141:        :bl=^G:cl=^L:cr=^M:do=^J:ho=^K:kb=^H:kd=^J:kl=^H:le=^H:\
        !          6142:        :ll=^O\0c:nd=^_:nw=^M^J:sf=^J:ta=^I:up=^N:
1.1       deraadt  6143:
1.13    ! millert  6144: # If you're using the GNU termcap library, add
        !          6145: #      :cS=\E[%p1%d;%p2%d;%p3%d;%p4%dp:
        !          6146: # to these capabilities.  This is the nonstandard GNU termcap scrolling
        !          6147: # capability, arguments are:
        !          6148: #   1. Total number of lines on the screen.
        !          6149: #   2. Number of lines above desired scroll region.
        !          6150: #   3. Number of lines below (outside of) desired scroll region.
        !          6151: #   4. Total number of lines on the screen, the same as the first parameter.
        !          6152: # The generic Ann Arbor entry is the only one that uses this.
1.3       deraadt  6153: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   6154: # (sgr removed to fit entry within 1023 bytes)
                   6155: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.13    ! millert  6156: aaa+unk|aaa-unk|ann arbor ambassador (internal - don't use this directly):\
        !          6157:        :am:bs:km:mi:xo:\
        !          6158:        :co#80:it#8:\
1.1       deraadt  6159:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.13    ! millert  6160:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:bt=\E[Z:\
        !          6161:        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
        !          6162:        :ct=\E[2g:dc=\E[P:dl=\E[M:do=^K:ei=:ho=\E[H:\
        !          6163:        :i1=\E[m\E7\E[H\E9\E8:i2=\E[1Q\E[>20;30l\EP`+x~M\E\:\
        !          6164:        :ic=\E[@:im=:k1=\EOA:k2=\EOB:k3=\EOC:k4=\EOD:k5=\EOE:\
        !          6165:        :k6=\EOF:k7=\EOG:k8=\EOH:k9=\EOI:kD=\E[P:kI=\E[@:kb=^H:\
        !          6166:        :kd=\E[B:\
        !          6167:        :ke=\EP`>y~[[J`8xy~[[A`4xy~[[D`6xy~[[C`2xy~[[B\E\:\
        !          6168:        :kh=\E[H:kl=\E[D:kr=\E[C:\
        !          6169:        :ks=\EP`>z~[[J`8xz~[[A`4xz~[[D`6xz~[[C`2xz~[[B\E\:\
        !          6170:        :ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mm=\E[>52h:\
        !          6171:        :mo=\E[>52l:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=^K:\
        !          6172:        :so=\E[7m:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
1.1       deraadt  6173:
1.13    ! millert  6174: aaa+rv|ann arbor ambassador in reverse video:\
        !          6175:        :i1=\E[7m\E7\E[H\E9\E8:mb=\E[5;7m:md=\E[1;7m:\
        !          6176:        :me=\E[7m\016:mk=\E[7;8m:mr=\E[m:r1=\E[H\E[7m\E[J:\
        !          6177:        :..sa=\E[%?%p1%p3%|%!%t7;%;%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m:\
        !          6178:        :se=\E[7m:so=\E[m:ue=\E[7m:us=\E[4;7m:
        !          6179: # Ambassador with the DEC option, for partial vt100 compatibility.
        !          6180: aaa+dec|ann arbor ambassador in dec vt100 mode:\
        !          6181:        :ac=aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}:\
        !          6182:        :ae=^N:as=^O:cs=\E[%i%d;%dr:eA=\E(0:\
        !          6183:        :..sa=\E[%?%p1%p3%|%!%t7;%;%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m%?%p9%t\017%e\016%;:
        !          6184: aaa-18|ann arbor ambassador/18 lines:\
        !          6185:        :li#18:\
        !          6186:        :is=\E7\E[60;0;0;18p\E8:te=\E[60;0;0;18p\E[60;1H\E[K:\
        !          6187:        :ti=\E[18;0;0;18p:\
        !          6188:        :tc=aaa+unk:
        !          6189: aaa-18-rv|ann arbor ambassador/18 lines+reverse video:\
        !          6190:        :tc=aaa+rv:tc=aaa-18:
        !          6191: aaa-20|ann arbor ambassador/20 lines:\
        !          6192:        :li#20:\
        !          6193:        :is=\E7\E[60;0;0;20p\E8:te=\E[60;0;0;20p\E[60;1H\E[K:\
        !          6194:        :ti=\E[20;0;0;20p:\
        !          6195:        :tc=aaa+unk:
        !          6196: aaa-22|ann arbor ambassador/22 lines:\
        !          6197:        :li#22:\
        !          6198:        :is=\E7\E[60;0;0;22p\E8:te=\E[60;0;0;22p\E[60;1H\E[K:\
        !          6199:        :ti=\E[22;0;0;22p:\
        !          6200:        :tc=aaa+unk:
        !          6201: aaa-24|ann arbor ambassador/24 lines:\
        !          6202:        :li#24:\
        !          6203:        :is=\E7\E[60;0;0;24p\E8:te=\E[60;0;0;24p\E[60;1H\E[K:\
        !          6204:        :ti=\E[24;0;0;24p:\
        !          6205:        :tc=aaa+unk:
        !          6206: aaa-24-rv|ann arbor ambassador/24 lines+reverse video:\
        !          6207:        :tc=aaa+rv:tc=aaa-24:
        !          6208: aaa-26|ann arbor ambassador/26 lines:\
        !          6209:        :li#26:\
        !          6210:        :is=\E7\E[60;0;0;26p\E8:te=\E[60;0;0;26p\E[26;1H\E[K:\
        !          6211:        :ti=\E[H\E[J\E[26;0;0;26p:\
        !          6212:        :tc=aaa+unk:
        !          6213: aaa-28|ann arbor ambassador/28 lines:\
        !          6214:        :li#28:\
        !          6215:        :is=\E7\E[60;0;0;28p\E8:te=\E[60;0;0;28p\E[28;1H\E[K:\
        !          6216:        :ti=\E[H\E[J\E[28;0;0;28p:\
        !          6217:        :tc=aaa+unk:
        !          6218: aaa-30-s|aaa-s|ann arbor ambassador/30 lines w/status:\
        !          6219:        :es:hs:\
        !          6220:        :li#29:\
        !          6221:        :ds=\E7\E[60;0;0;30p\E[1;1H\E[K\E[H\E8\r\n\E[K:\
        !          6222:        :fs=\E[>51l:is=\r\n\E[A\E7\E[60;1;0;30p\E8:\
        !          6223:        :te=\E[60;1;0;30p\E[29;1H\E[K:\
        !          6224:        :ti=\E[H\E[J\E[30;1;0;30p\E[30;1H\E[K:\
        !          6225:        :ts=\E[>51h\E[1;%p1%dH\E[2K:tc=aaa+unk:
        !          6226: aaa-30-s-rv|aaa-s-rv|ann arbor ambassador/30 lines+status+reverse video:\
        !          6227:        :tc=aaa+rv:tc=aaa-30-s:
        !          6228: aaa-s-ctxt|aaa-30-s-ctxt|ann arbor ambassador/30 lines+status+save context:\
        !          6229:        :te=\E[60;1;0;30p\E[59;1H\E[K:\
        !          6230:        :ti=\E[30;1H\E[K\E[30;1;0;30p:tc=aaa-30-s:
        !          6231: aaa-s-rv-ctxt|aaa-30-s-rv-ct|ann arbor ambassador/30 lines+status+save context+reverse video:\
        !          6232:        :te=\E[60;1;0;30p\E[59;1H\E[K:\
        !          6233:        :ti=\E[30;1H\E[K\E[30;1;0;30p:tc=aaa-30-s-rv:
        !          6234: aaa|aaa-30|ambas|ambassador|ann arbor ambassador/30 lines:\
        !          6235:        :li#30:\
        !          6236:        :is=\E7\E[60;0;0;30p\E8:te=\E[60;0;0;30p\E[30;1H\E[K:\
        !          6237:        :ti=\E[H\E[J\E[30;0;0;30p:\
        !          6238:        :tc=aaa+unk:
        !          6239: aaa-30-rv|aaa-rv|ann arbor ambassador/30 lines in reverse video:\
        !          6240:        :tc=aaa+rv:tc=aaa-30:
        !          6241: aaa-30-ctxt|aaa-ctxt|ann arbor ambassador/30 lines; saving context:\
        !          6242:        :te=\E[60;0;0;30p\E[60;1H\E[K:ti=\E[30;0;0;30p:\
        !          6243:        :tc=aaa-30:
        !          6244: aaa-30-rv-ctxt|aaa-rv-ctxt|ann arbor ambassador/30 lines reverse video; saving context:\
        !          6245:        :te=\E[60;0;0;30p\E[60;1H\E[K:ti=\E[30;0;0;30p:\
        !          6246:        :tc=aaa+rv:tc=aaa-30:
        !          6247: aaa-36|ann arbor ambassador/36 lines:\
        !          6248:        :li#36:\
        !          6249:        :is=\E7\E[60;0;0;36p\E8:te=\E[60;0;0;36p\E[36;1H\E[K:\
        !          6250:        :ti=\E[H\E[J\E[36;0;0;36p:\
        !          6251:        :tc=aaa+unk:
        !          6252: aaa-36-rv|ann arbor ambassador/36 lines+reverse video:\
        !          6253:        :tc=aaa+rv:tc=aaa-36:
        !          6254: aaa-40|ann arbor ambassador/40 lines:\
        !          6255:        :li#40:\
        !          6256:        :is=\E7\E[60;0;0;40p\E8:te=\E[60;0;0;40p\E[40;1H\E[K:\
        !          6257:        :ti=\E[H\E[J\E[40;0;0;40p:\
        !          6258:        :tc=aaa+unk:
        !          6259: aaa-40-rv|ann arbor ambassador/40 lines+reverse video:\
        !          6260:        :tc=aaa+rv:tc=aaa-40:
        !          6261: aaa-48|ann arbor ambassador/48 lines:\
        !          6262:        :li#48:\
        !          6263:        :is=\E7\E[60;0;0;48p\E8:te=\E[60;0;0;48p\E[48;1H\E[K:\
        !          6264:        :ti=\E[H\E[J\E[48;0;0;48p:\
        !          6265:        :tc=aaa+unk:
        !          6266: aaa-48-rv|ann arbor ambassador/48 lines+reverse video:\
        !          6267:        :tc=aaa+rv:tc=aaa-48:
        !          6268: aaa-60-s|ann arbor ambassador/59 lines+status:\
        !          6269:        :es:hs:\
        !          6270:        :li#59:\
        !          6271:        :ds=\E7\E[60;0;0;60p\E[1;1H\E[K\E[H\E8\r\n\E[K:\
        !          6272:        :fs=\E[>51l:is=\r\n\E[A\E7\E[60;1;0;60p\E8:\
        !          6273:        :ts=\E[>51h\E[1;%p1%dH\E[2K:tc=aaa+unk:
        !          6274: aaa-60-s-rv|ann arbor ambassador/59 lines+status+reverse video:\
        !          6275:        :tc=aaa+rv:tc=aaa-60-s:
        !          6276: aaa-60-dec-rv|ann arbor ambassador/dec mode+59 lines+status+rev video:\
        !          6277:        :tc=aaa+dec:tc=aaa+rv:tc=aaa-60-s:
        !          6278: aaa-60|ann arbor ambassador/60 lines:\
        !          6279:        :li#60:\
        !          6280:        :is=\E7\E[60;0;0;60p\E[1Q\E[m\E[>20;30l\E8:tc=aaa+unk:
        !          6281: aaa-60-rv|ann arbor ambassador/60 lines+reverse video:\
        !          6282:        :tc=aaa+rv:tc=aaa-60:
        !          6283: aaa-db|ann arbor ambassador 30/destructive backspace:\
        !          6284:        :bs@:\
        !          6285:        :i2=\E[1Q\E[m\E[>20l\E[>30h:le=\E[D:tc=aaa-30:
1.1       deraadt  6286:
1.13    ! millert  6287: guru|guru-33|guru+unk|ann arbor guru/33 lines 80 cols:\
        !          6288:        :li#33:\
        !          6289:        :i2=\E[>59l:is=\E7\E[255;0;0;33;80;80p\E8\E[J:\
        !          6290:        :te=\E[255p\E[255;1H\E[K:ti=\E[33p:vb=\E[>59h\E[>59l:\
        !          6291:        :tc=aaa+unk:
        !          6292: guru+rv|guru changes for reverse video:\
        !          6293:        :i2=\E[>59h:vb=\E[>59l\E[>59h:
        !          6294: guru-rv|guru-33-rv|ann arbor guru/33 lines+reverse video:\
        !          6295:        :tc=guru+rv:tc=guru-33:
        !          6296: guru+s|guru status line:\
        !          6297:        :es:hs:\
        !          6298:        :ds=\E7\E[;0p\E[1;1H\E[K\E[H\E8\r\n\E[K:fs=\E[>51l:\
        !          6299:        :te=\E[255;1p\E[255;1H\E[K:ti=:\
        !          6300:        :ts=\E[>51h\E[1;%p1%dH\E[2K:
        !          6301: guru-nctxt|guru with no saved context:\
        !          6302:        :ti=\E[H\E[J\E[33p\E[255;1H\E[K:tc=guru:
        !          6303: guru-s|guru-33-s|ann arbor guru/33 lines+status:\
        !          6304:        :li#32:\
        !          6305:        :is=\r\n\E[A\E7\E[255;1;0;33;80;80p\E8\E[J:\
        !          6306:        :ti=\E[33;1p\E[255;1H\E[K:tc=guru+s:\
        !          6307:        :tc=guru+unk:
        !          6308: guru-24|ann arbor guru 24 lines:\
        !          6309:        :co#80:li#24:\
        !          6310:        :is=\E7\E[255;0;0;24;80;80p\E8\E[J:ti=\E[24p:tc=guru+unk:
        !          6311: guru-44|ann arbor guru 44 lines:\
        !          6312:        :co#97:li#44:\
        !          6313:        :is=\E7\E[255;0;0;44;97;100p\E8\E[J:ti=\E[44p:tc=guru+unk:
        !          6314: guru-44-s|ann arbor guru/44 lines+status:\
        !          6315:        :li#43:\
        !          6316:        :is=\r\n\E[A\E7\E[255;1;0;44;80;80p\E8\E[J:\
        !          6317:        :ti=\E[44;1p\E[255;1H\E[K:tc=guru+s:\
        !          6318:        :tc=guru+unk:
        !          6319: guru-76|guru with 76 lines by 89 cols:\
        !          6320:        :co#89:li#76:\
        !          6321:        :is=\E7\E[255;0;0;76;89;100p\E8\E[J:ti=\E[76p:tc=guru+unk:
        !          6322: guru-76-s|ann arbor guru/76 lines+status:\
        !          6323:        :co#89:li#75:\
        !          6324:        :is=\r\n\E[A\E7\E[255;1;0;76;89;100p\E8\E[J:\
        !          6325:        :ti=\E[76;1p\E[255;1H\E[K:tc=guru+s:\
        !          6326:        :tc=guru+unk:
        !          6327: guru-76-lp|guru-lp|guru with page bigger than line printer:\
        !          6328:        :co#134:li#76:\
        !          6329:        :is=\E7\E[255;0;0;76;134;134p\E8\E[J:ti=\E[76p:tc=guru+unk:
        !          6330: guru-76-w|guru 76 lines by 178 cols:\
        !          6331:        :co#178:li#76:\
        !          6332:        :is=\E7\E[255;0;0;76;178;178p\E8\E[J:ti=\E[76p:tc=guru+unk:
        !          6333: guru-76-w-s|ann arbor guru/76 lines+status+wide:\
        !          6334:        :co#178:li#75:\
        !          6335:        :is=\r\n\E[A\E7\E[255;1;0;76;178;178p\E8\E[J:\
        !          6336:        :ti=\E[76;1p\E[255;1H\E[K:\
        !          6337:        :tc=guru+s:tc=guru+unk:
        !          6338: guru-76-wm|guru 76 lines by 178 cols with 255 cols memory:\
        !          6339:        :co#178:li#76:\
        !          6340:        :is=\E7\E[255;0;0;76;178;255p\E8\E[J:ti=\E[76p:tc=guru+unk:
        !          6341: aaa-rv-unk|ann arbor unknown type:\
        !          6342:        :Nl#0:lh#0:lw#0:\
        !          6343:        :ho=\E[H:i1=\E[7m\E7\E[H\E9\E8:mb=\E[5;7m:md=\E[1;7m:\
        !          6344:        :me=\E[7m:mk=\E[7;8m:mr=\E[m:r1=\E[H\E[7m\E[J:\
        !          6345:        :..sa=\E[%?%p1%!%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m:\
        !          6346:        :se=\E[7m:so=\E[m:ue=\E[7m:us=\E[4;7m:
1.1       deraadt  6347:
1.13    ! millert  6348: #### Applied Digital Data Systems (adds)
1.1       deraadt  6349: #
1.13    ! millert  6350: # ADDS itself is long gone.  ADDS was bought by NCR, and the same group made
        !          6351: # ADDS and NCR terminals.  When AT&T and NCR merged, the engineering for
        !          6352: # terminals was merged again.  Then AT&T sold the terminal business to
        !          6353: # SunRiver, which later changed its  name to Boundless Technologies.  The
        !          6354: # engineers from Teletype, AT&T terminals, ADDS, and NCR (who are still there
        !          6355: # as of early 1995) are at:
1.1       deraadt  6356: #
1.13    ! millert  6357: #      Boundless Technologies
        !          6358: #      100 Marcus Boulevard
        !          6359: #      Hauppauge, NY 11788-3762
        !          6360: #      Vox: (800)-231-5445
        !          6361: #      Fax: (516)-342-7378
        !          6362: #      Web: http://boundless.com
1.1       deraadt  6363: #
1.13    ! millert  6364: # Their voice mail used to describe the place as "SunRiver (formerly ADDS)".
        !          6365: # In 1995 Boundless acquired DEC's terminals business.
1.1       deraadt  6366: #
1.2       deraadt  6367:
1.13    ! millert  6368: # Regent: lowest common denominator, works on all regents.
        !          6369: # (regent: renamed ":bc:" to ":le:" -- esr)
        !          6370: regent|Adds Regent Series:\
        !          6371:        :am:bs:\
        !          6372:        :co#80:li#24:\
        !          6373:        :bl=^G:cl=^L:cr=^M:do=^J:ho=\EY  :le=^U:ll=^A:nd=^F:sf=^J:\
        !          6374:        :up=^Z:
        !          6375: # Regent 100 has a bug where if computer sends escape when user is holding
        !          6376: # down shift key it gets confused, so we avoid escape.
        !          6377: regent100|Adds Regent 100:\
        !          6378:        :sg#1:\
        !          6379:        :bl=^G:cm=\013%+ %B\020%.:k0=^B1\r:k1=^B2\r:k2=^B3\r:\
        !          6380:        :k3=^B4\r:k4=^B5\r:k5=^B6\r:k6=^B7\r:k7=^B8\r:l0=F1:l1=F2:\
        !          6381:        :l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:me=\E0@:se=\E0@:so=\E0P:\
        !          6382:        :ue=\E0@:us=\E0`:\
        !          6383:        :tc=regent:
        !          6384: regent20|Adds Regent 20:\
        !          6385:        :bl=^G:cd=\Ek:ce=\EK:cm=\EY%+ %+ :tc=regent:
        !          6386: regent25|Adds Regent 25:\
        !          6387:        :bl=^G:kd=^J:kh=^A:kl=^U:kr=^F:ku=^Z:tc=regent20:
        !          6388: regent40|Adds Regent 40:\
        !          6389:        :sg#1:\
        !          6390:        :al=\EM:bl=^G:dl=\El:k0=^B1\r:k1=^B2\r:k2=^B3\r:k3=^B4\r:\
        !          6391:        :k4=^B5\r:k5=^B6\r:k6=^B7\r:k7=^B8\r:l0=F1:l1=F2:l2=F3:\
        !          6392:        :l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:me=\E0@:se=\E0@:so=\E0P:\
        !          6393:        :ue=\E0@:us=\E0`:\
        !          6394:        :tc=regent25:
        !          6395: regent40+|Adds Regent 40+:\
        !          6396:        :is=\EB:tc=regent40:
        !          6397: regent60|regent200|Adds Regent 60:\
        !          6398:        :dc=\EE:ei=\EF:im=\EF:is=\EV\EB:kD=\EE:kI=\EF:kM=\EF:\
        !          6399:        :se=\ER\E0@\EV:so=\ER\E0P\EV:\
        !          6400:        :tc=regent40+:
        !          6401: # From: <edward@onyx.berkeley.edu> Thu Jul  9 09:27:33 1981
        !          6402: # (viewpoint: added :kr:, function key, and :dl: capabilities -- esr)
        !          6403: viewpoint|addsviewpoint|adds viewpoint:\
        !          6404:        :am:bs:\
        !          6405:        :co#80:li#24:\
        !          6406:        :bl=^G:cd=\Ek:ce=\EK:cl=^L:cm=\EY%+ %+ :cr=^M:dl=\El:do=^J:\
        !          6407:        :is=\017\E0`:k0=^B1:k2=^B2:k3=^B\041:k4=^B":k5=^B#:kd=^J:\
        !          6408:        :kh=^A:kl=^U:kr=^F:ku=^Z:le=^H:ll=^A:me=^O:nd=^F:se=^O:sf=^J:\
        !          6409:        :so=^N:ue=^O:up=^Z:us=^N:ve=\017\E0`:vs=\017\E0P:
        !          6410: # Some viewpoints have bad ROMs that foo up on ^O
        !          6411: screwpoint|adds viewpoint with ^O bug:\
        !          6412:        :se@:so@:ue@:us@:vs@:tc=viewpoint:
        !          6413:
        !          6414: # From: Jay S. Rouman <jsr@dexter.mi.org> 5 Jul 92
        !          6415: # The :vi:/:ve:/:sa:/:me: strings were added by ESR from specs.
        !          6416: # Theory; the vp3a+ wants \E0%c to set highlights, where normal=01000000,
        !          6417: # underline=01100000, rev=01010000, blink=01000010,dim=01000001,
        !          6418: # invis=01000100 and %c is the logical or of desired attributes.
        !          6419: # There is also a `tag bit' enabling attributes, set by \E) and unset by \E(.
        !          6420: vp3a+|viewpoint3a+|adds viewpoint 3a+:\
        !          6421:        :am:bw:\
1.1       deraadt  6422:        :co#80:it#8:li#24:\
1.13    ! millert  6423:        :cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :cr=^M:do=^J:ho=^^:kb=^H:\
        !          6424:        :kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:me=\E(:nd=^L:nw=^M^J:\
        !          6425:        :..sa=\E0%'@'%?%p1%tQ%|%;%?%p2%t%'`'%|%;%?%p3%tP%|%;%?%p4%t%{2}%|%;%?%p5%t%{1}%|%;%?%p7%tD%|%;%c\E):\
        !          6426:        :se=\E(:sf=^J:so=\E0Q\E):ta=^I:up=^K:ve=^X:vi=^W:
        !          6427: vp60|viewpoint60|addsvp60|adds viewpoint60:\
        !          6428:        :tc=regent40:
1.1       deraadt  6429: #
1.13    ! millert  6430: # adds viewpoint 90 - from cornell
        !          6431: # Note:  emacs sends ei occasionally to insure the terminal is out of
        !          6432: #        insert mode. This unfortunately puts the viewpoint90 IN insert
        !          6433: #        mode.  A hack to get around this is :ic=\EF\s\EF^U:.  (Also,
        !          6434: #   -    :ei=:im=: must be present in the termcap translation.)
        !          6435: #   -    :xs: indicates glitch that attributes stick to location
        !          6436: #   -    :ms: means it's safe to move in standout mode
        !          6437: #   -    :cl=\EG\Ek:: clears screen and visual attributes without affecting
        !          6438: #               the status line
        !          6439: # Function key and label capabilities merged in from SCO.
        !          6440: vp90|viewpoint90|adds viewpoint 90:\
        !          6441:        :bs:bw:ms:xs:\
        !          6442:        :co#80:li#24:\
        !          6443:        :cd=\Ek:ce=\EK:cl=\EG\Ek:cm=\EY%+ %+ :dc=\EE:dl=\El:do=^J:\
        !          6444:        :ei=:ho=\EY  :ic=\EF \EF\025:im=:k0=^B1\r:k1=^B2\r:\
        !          6445:        :k2=^B3\r:k3=^B4\r:k4=^B5\r:k5=^B6\r:k6=^B7\r:k7=^B8\r:\
        !          6446:        :k8=^B9\r:k9=^B\072\r:k;=^B;\r:kb=^H:kd=^J:kh=^A:kl=^U:\
        !          6447:        :kr=^F:ku=^Z:l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:\
        !          6448:        :l8=F9:l9=F10:la=F11:le=^H:ll=^A:me=\ER\E0@\EV:nd=^F:\
        !          6449:        :se=\ER\E0@\EV:sf=^J:so=\ER\E0Q\EV:ta=^I:ue=\ER\E0@\EV:\
        !          6450:        :up=^Z:us=\ER\E0`\EV:
        !          6451: # Note: if return acts weird on a980, check internal switch #2
        !          6452: # on the top chip on the CONTROL pc board.
        !          6453: adds980|a980|adds consul 980:\
        !          6454:        :am:bs:\
        !          6455:        :co#80:li#24:\
        !          6456:        :al=\E\016:bl=^G:cl=\014\013@:cm=\013%+@\E\005%2:cr=^M:\
        !          6457:        :dl=\E\017:do=^J:k0=\E0:k1=\E1:k2=\E2:k3=\E3:k4=\E4:k5=\E5:\
        !          6458:        :k6=\E6:k7=\E7:k8=\E8:k9=\E9:le=^H:me=^O:nd=\E^E01:se=^O:\
        !          6459:        :sf=^J:so=^Y^^^N:
1.1       deraadt  6460:
1.13    ! millert  6461: #### C. Itoh Electronics
1.1       deraadt  6462: #
1.13    ! millert  6463: # As of 1995 these people no longer make terminals (they're still in the
        !          6464: # printer business).  Their terminals were all clones of the DEC VT series.
        !          6465: # They're located in Orange County, CA.
1.5       tholo    6466: #
1.1       deraadt  6467:
1.13    ! millert  6468: # CIT 80  - vt-52 emulator, the termcap has been modified to remove
        !          6469: #           the delay times and do an auto tab set rather than the indirect
        !          6470: #           file used in vt100.
        !          6471: cit80|cit-80|citoh 80:\
        !          6472:        :am:bs:\
        !          6473:        :co#80:li#24:\
        !          6474:        :cd=\EJ:ce=\EK:cl=\E[H\EJ:cm=\E[%i%2;%2H:cr=^M:ff=^L:\
        !          6475:        :is=\E>:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
        !          6476:        :ku=\EOA:le=^H:nd=\E[C:sf=^J:up=\E[A:
        !          6477: # From: Tim Wood <mtxinu!sybase!tim> Fri Sep 27 09:39:12 PDT 1985
        !          6478: # (cit101: added <rmam>/<smam> based on init string, merged this with c101 -- esr)
        !          6479: cit101|citc|C.itoh fast vt100:\
        !          6480:        :am:bs:xn:\
        !          6481:        :co#80:li#24:\
        !          6482:        :RA=\E[?7l:SA=\E[?7h:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:\
        !          6483:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:ei=:ic=\E[@:\
        !          6484:        :im=:is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[3g\E[>5g:\
        !          6485:        :kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
        !          6486:        :ku=\EOA:le=^H:me=\E[m:nd=\E[C:se=\E[m:so=\E[7m:ue=\E[m:\
        !          6487:        :up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[V\E8:vs=\E7\E[U:
        !          6488: # CIE Terminals CIT-101e from Geoff Kuenning <callan!geoff> via BRL
        !          6489: # The following termcap entry was created from the Callan cd100 entry.  The
        !          6490: # last two lines (with the capabilities in caps) are used by RM-cobol to allow
        !          6491: # full selection of combinations of reverse video, underline, and blink.
        !          6492: # (cit101e: removed unknown :f0=\EOp:f1=\EOq:f2=\EOr:f3=\EOs:f4=\EOt:f5=\EOu:\
        !          6493: # f6=\EOv:f7=\EOw:f8=\EOx:f9=\EOy:AB=\E[0;5m:AL=\E[m:AR=\E[0;7m:AS=\E[0;5;7m:\
        !          6494: # :NB=\E[0;1;5m:NM=\E[0;1m:NR=\E[0;1;7m:NS=\E[0;1;5;7m: -- esr)
        !          6495: cit101e|C. Itoh CIT-101e:\
        !          6496:        :am:bs:mi:ms:pt:\
1.2       deraadt  6497:        :co#80:it#8:li#24:\
1.13    ! millert  6498:        :ac=:ae=^O:al=\E[L:as=^N:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
        !          6499:        :cm=\E[%i%2;%2H:cs=\E[%i%2;%2r:dc=\E[P:dl=\E[M:do=\E[B:\
        !          6500:        :ei=\E[4l:if=/usr/share/tabset/vt100:im=\E[4h:k0=\EOT:\
        !          6501:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOm:k6=\EOl:k7=\EOM:\
        !          6502:        :k8=\EOn:kd=\E[B:ke=\E>:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:\
        !          6503:        :nd=\E[C:rc=\E8:sc=\E7:se=\E[m:so=\E[7m:sr=\EM:ue=\E[m:\
        !          6504:        :up=\E[A:us=\E[4m:ve=:vs=\E[?1l\E[?4l\E[?7h:
        !          6505: # From: David S. Lawyer, June 1997:
        !          6506: # The CIT 101-e was made in Japan in 1983-4 and imported by CIE
        !          6507: # Terminals in Irvine, CA.  It was part of CITOH Electronics.  In the
        !          6508: # late 1980's CIT Terminals went out of business.
        !          6509: # There is no need to use the initialization string is=... (by invoking
        !          6510: # tset or setterm etc.) provided that the terminal has been manually set
        !          6511: # up (and the setup saved with ^S) to be compatible with this termcap.  To be
        !          6512: # compatible it should be in ANSI mode (not VT52).   A set-up that
        !          6513: # works is to set all the manually setable stuff to factory defaults
        !          6514: # by pressing ^D in set-up mode.  Then increse the brighness with the
        !          6515: # up-arrow key since the factory default will likely be dim on an old
        !          6516: # terminal.  Then change any options you want (provided that they are
        !          6517: # compatible with the termcap).  For my terminal I set: Screen
        !          6518: # Background: light; Keyclicks: silent; Auto wraparound: on; CRT saver:
        !          6519: # on.  I also set up mine for parity (but you may not need it).  Then
        !          6520: # save the setup with ^S.
        !          6521: # (cit101e-rv: added empty :te: to suppress a tic warning. --esr)
        !          6522: cit101e-rv|Citoh CIT-101e (sets reverse video):\
        !          6523:        :am:eo:mi:ms:xn:xo:\
1.1       deraadt  6524:        :co#80:it#8:li#24:\
1.13    ! millert  6525:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
        !          6526:        :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
        !          6527:        :al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%i%dG:\
        !          6528:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
        !          6529:        :ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:ic=\E[@:\
        !          6530:        :im=\E[4h:\
        !          6531:        :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:\
        !          6532:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=\177:kd=\E[B:kl=\E[D:\
        !          6533:        :kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:\
        !          6534:        :nd=\E[C:nl=\EM:nw=\EE:r1=\Ec\E[?7h\E[>5g:rc=\E8:sc=\E7:\
        !          6535:        :se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:te=:\
        !          6536:        :ti=\E[>5g\E[?7h\E[?5h:u6=\E[%i%d;%dR:u7=\E[6n:\
        !          6537:        :u8=\E[?6c:u9=\E[c:ue=\E[m:up=\E[A:us=\E[4m:\
        !          6538:        :vb=200\E[?5l\E[?5h:ve=\E[0;3;4v:vi=\E[1v:vs=\E[3;5v:
        !          6539: cit101e-n|CIT-101e w/o am:\
        !          6540:        :am@:\
        !          6541:        :kb=^H:kd=^J:kl=^H:vs=\E[?1l\E[?4l\E[?7l:tc=cit101e:
        !          6542: cit101e-132|CIT-101e with 132 cols:\
        !          6543:        :co#132:\
        !          6544:        :kb=^H:kd=^J:kl=^H:tc=cit101e:
        !          6545: cit101e-n132|CIT-101e with 132 cols w/o am:\
        !          6546:        :am@:\
        !          6547:        :co#132:\
        !          6548:        :kb=^H:kd=^J:kl=^H:vs=\E[?1l\E[?4l\E[?7l:tc=cit101e:
        !          6549: # CIE Terminals CIT-500 from BRL
        !          6550: # The following SET-UP modes are assumed for normal operation:
        !          6551: #      GENERATE_XON/XOFF:YES   DUPLEX:FULL             NEWLINE:OFF
        !          6552: #      AUTOWRAP:ON             MODE:ANSI               SCREEN_LENGTH:64_LINES
        !          6553: #      DSPLY_CNTRL_CODES?NO    PAGE_WIDTH:80           EDIT_MODE:OFF
        !          6554: # Other SET-UP modes may be set for operator convenience or communication
        !          6555: # requirements.
        !          6556: # Hardware tabs are assumed to be set every 8 columns; they can be set up
        !          6557: # by the "reset", "tset", or "tabs" utilities.  No delays are specified; use
        !          6558: # "stty ixon -ixany" to enable DC3/DC1 flow control!
        !          6559: # (cit500: I added <rmam>/<smam> based on the init string -- esr)
        !          6560: cit500|CIE Terminals CIT-500:\
        !          6561:        :bs:mi:ms:pt:xo:\
        !          6562:        :co#80:it#8:kn#10:li#64:vt#3:\
        !          6563:        :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RA=\E[?7l:\
        !          6564:        :RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:ac=:ae=^O:al=\E[L:as=^N:\
        !          6565:        :bl=^G:bt=\E[Z:cd=\EJ:ce=\EK:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
        !          6566:        :cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
        !          6567:        :ei=\E[4l:ho=\E[H:im=\E[4h:is=\E<\E)0:k0=\EOP:k1=\EOQ:\
        !          6568:        :k2=\EOR:k3=\EOS:k4=\EOU:k5=\EOV:k6=\EOW:k7=\EOX:k8=\EOY:\
        !          6569:        :k9=\EOZ:kA=\E[L:kB=\E[Z:kD=\E[P:kE=\EK:kI=\E[4h:kL=\E[M:\
        !          6570:        :kM=\E[4l:kS=\EJ:kb=^H:kd=\EOB:ke=\E[?1l\E>:kh=\E[H:\
        !          6571:        :kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l0=PF1:l1=PF2:l2=PF3:\
        !          6572:        :l3=PF4:l4=F15:l5=F16:l6=F17:l7=F18:l8=F19:l9=F20:le=^H:\
        !          6573:        :ll=\E[64H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
        !          6574:        :nw=\EE:\
        !          6575:        :r1=\E<\E2\E[20l\E[?6l\E[r\E[m\E[q\E(B\017\E)0\E>:\
        !          6576:        :rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
        !          6577:        :ue=\E[m:up=\EM:us=\E[4m:
        !          6578:
        !          6579: # C. Itoh printers begin here
        !          6580: citoh|ci8510|8510|c.itoh 8510a:\
        !          6581:        :co#80:it#8:\
        !          6582:        :is=\E(009\054017\054025\054033\054041\054049\054057\054065\054073.:\
        !          6583:        :le@:md=\E\041:me=\E"\EY:rp=\ER%r%03%.:sr=\Er:ue=\EY:\
        !          6584:        :us=\EX:\
        !          6585:        :tc=lpr:
        !          6586: citoh-pica|citoh in pica:\
        !          6587:        :i1=\EN:tc=citoh:
        !          6588: citoh-elite|citoh in elite:\
        !          6589:        :co#96:\
        !          6590:        :i1=\EE:\
        !          6591:        :is=\E(009\054017\054025\054033\054041\054049\054057\054065\054073\054081\054089.:tc=citoh:
        !          6592: citoh-comp|citoh in compressed:\
        !          6593:        :co#136:\
        !          6594:        :i1=\EQ:\
        !          6595:        :is=\E(009\054017\054025\054033\054041\054049\054057\054065\054073\054081\054089\054097\054105\054113\054121\054129.:tc=citoh:
        !          6596: # citoh has infinite cols because we don't want lp ever inserting \n\t**.
        !          6597: citoh-prop|citoh-ps|ips|citoh in proportional spacing mode:\
        !          6598:        :co#32767:\
        !          6599:        :i1=\EP:tc=citoh:
        !          6600: citoh-6lpi|citoh in 6 lines per inch mode:\
        !          6601:        :i2=\EA:tc=citoh:
        !          6602: citoh-8lpi|citoh in 8 lines per inch mode:\
        !          6603:        :li#88:\
        !          6604:        :i2=\EB:tc=citoh:
1.1       deraadt  6605:
1.13    ! millert  6606: #### Control Data (cdc)
1.5       tholo    6607: #
                   6608:
1.13    ! millert  6609: cdc456|cdc 456 terminal:\
        !          6610:        :am:bs:\
        !          6611:        :co#80:li#24:\
        !          6612:        :al=\EL:bl=^G:cd=^X:ce=^V:cl=^Y^X:cm=\E1%+ %+ :cr=^M:dl=\EJ:\
        !          6613:        :do=^J:ho=^Y:le=^H:nd=^L:sf=^J:up=^Z:
1.1       deraadt  6614:
1.13    ! millert  6615: # Assorted CDC terminals from BRL (improvements by DAG & Ferd Brundick)
        !          6616: cdc721|CDC Viking:\
        !          6617:        :am:bs:\
        !          6618:        :co#80:li#24:\
        !          6619:        :ce=^K:cl=^L:cm=\002%r%+ %+ :ho=^Y:kd=^J:kh=^Y:kl=^H:kr=^I:\
        !          6620:        :ku=^W:nd=^X:up=^W:
        !          6621: cdc721ll|CDC Vikingll:\
        !          6622:        :am:bs:\
        !          6623:        :co#132:li#24:\
        !          6624:        :ce=^K:cl=^L:cm=\002%r%+ %+ :ho=^Y:kd=^J:kh=^Y:kl=^H:kr=^I:\
        !          6625:        :ku=^W:nd=^X:up=^W:
        !          6626: # (cdc752: the BRL entry had :ll=\E1  ^Z: commented out
        !          6627: cdc752|CDC 752:\
        !          6628:        :am:bs:bw:xs:\
        !          6629:        :co#80:li#24:\
        !          6630:        :bl=^G:ce=^V:cl=\030\E1  :cm=\E1%r%+ %+ :cr=^M:do=^J:\
        !          6631:        :ho=\E1  :le=^H:ll=^Y:nd=^U:r1=\E1  \030\002\003\017:\
        !          6632:        :sf=^J:up=^Z:
        !          6633: # CDC 756
        !          6634: # The following switch/key settings are assumed for normal operation:
        !          6635: #      96 chars        SCROLL          FULL duplex     not BLOCK
        !          6636: # Other switches may be set according to communication requirements.
        !          6637: # Insert/delete-character cannot be used, as the whole display is affected.
        !          6638: # "so" & "se" are commented out until jove handles "sg" correctly.
        !          6639: cdc756|CDC 756:\
        !          6640:        :am:bs:bw:\
        !          6641:        :co#80:kn#10:li#24:\
        !          6642:        :al=6*\EL:bl=^G:cd=^X:ce=^V:cl=^Y^X:cm=\E1%r%+ %+ :cr=^M:\
        !          6643:        :dl=6*\EJ:do=^J:ho=^Y:k0=\EA:k1=\EB:k2=\EC:k3=\ED:k4=\EE:\
        !          6644:        :k5=\EF:k6=\EG:k7=\EH:k8=\Ea:k9=\Eb:kA=\EL:kD=\EI:kE=^V:\
        !          6645:        :kI=\EK:kL=\EL:kS=^X:kT=^O:kb=^H:kd=^J:kh=^Y:kl=^H:kr=^U:\
        !          6646:        :ku=^Z:l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:l8=F9:\
        !          6647:        :l9=F10:le=^H:ll=^Y^Z:nd=^U:r1=\031\030\002\003\017:sf=^J:\
        !          6648:        :up=^Z:
1.1       deraadt  6649: #
1.13    ! millert  6650: # CDC 721 from Robert Viduya, Ga. Tech. <ihnp4!gatech!gitpyr!robert> via BRL.
1.1       deraadt  6651: #
1.13    ! millert  6652: # Part of the long initialization string defines the "DOWN" key to the left
        !          6653: # of the tab key to send an ESC.  The real ESC key is positioned way out
        !          6654: # in right field.
1.1       deraadt  6655: #
1.13    ! millert  6656: # The termcap won't work in 132 column mode due to the way it it moves the
        !          6657: # cursor.  Termcap doesn't have the capability (as far as I could tell) to
        !          6658: # handle the 721 in 132 column mode.
1.1       deraadt  6659: #
1.13    ! millert  6660: # (cdc721: changed :ri: to :sr: -- esr)
        !          6661: cdc721-esc|Control Data 721:\
        !          6662:        :am:bs:bw:ms:pt:xo:\
        !          6663:        :co#80:it#8:kn#10:li#30:\
        !          6664:        :al=^^R:bl=^G:bt=^^^K:cd=^^P:ce=^K:cl=^L:cm=\002%r%+ %+ :\
        !          6665:        :ct=^^^RY:dc=^^N:dl=^^Q:do=^Z:ei=:ho=^Y:ic=^^O:im=:\
        !          6666:        :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:\
        !          6667:        :k0=^^q:k1=^^r:k2=^^s:k3=^^t:k4=^^u:k5=^^v:k6=^^w:k7=^^x:\
        !          6668:        :k8=^^y:k9=^^z:kb=^H:kd=^Z:ke=^^^Rl:kh=^Y:kl=^H:kr=^X:\
        !          6669:        :ks=^^^Rk:ku=^W:le=^H:ll=^B =:mb=^N:\
        !          6670:        :me=\017\025\035\036E\036\022\:mh=^\:mk=^^^R[:mr=^^D:\
        !          6671:        :nd=^X:se=^^E:sf=\036W =\036U:so=^^D:sr=\036W =\036V:\
        !          6672:        :st=^^^RW:ue=^]:up=^W:us=^\:
        !          6673:
        !          6674: #### Getronics
1.1       deraadt  6675: #
1.13    ! millert  6676: # Getronics is a Dutch electronics company that at one time was called
        !          6677: # `Geveke' and made async terminals; but (according to the company itself!)
        !          6678: # they've lost all their documentation on the command set.  The hardware
        !          6679: # documentation suggests the terminals were actually manufactured by a
        !          6680: # Taiwanese electronics company named Cal-Comp.  There are known
        !          6681: # to have been at least two models, the 33 and the 50.
1.1       deraadt  6682: #
1.13    ! millert  6683:
        !          6684: # The 50 seems to be a top end vt220 clone, with the addition of a higher
        !          6685: # screen resolution, a larger screen, at least 1 page of memory above and
        !          6686: # below the screen, apparently pages of memory right and left of the screen
        !          6687: # which can be panned, and about 75 function keys (15 function keys x normal,
        !          6688: # shift, control, func A, func B). It also has more setup possibilities than
        !          6689: # the vt220. The monitor case is dated November 1978 and the keyboard case is
        !          6690: # May 1982.
1.1       deraadt  6691: #
1.13    ! millert  6692: # The vt100 emulation works as is.  The entry below describes the rather
        !          6693: # non-conformant (but more featureful) ANSI mode.
1.1       deraadt  6694: #
1.13    ! millert  6695: # From: Stephen Peterson <stv@utrecht.ow.nl>, 27 May 1995
        !          6696: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          6697: # (sgr removed to fit entry within 1023 bytes)
        !          6698: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
        !          6699: visa50|geveke visa 50 terminal in ansi 80 character mode:\
        !          6700:        :bw:mi:ms:\
        !          6701:        :co#80:li#25:\
        !          6702:        :AL=\E[%dL:DC=\E[%dX:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
        !          6703:        :K1=\E[f:K2=\EOP:K3=\EOQ:K4=\EOR:K5=\EOS:LE=\E[%dD:\
        !          6704:        :RI=\E[%dC:UP=\E[%dA:ae=\E[3l:al=\E[L:as=\E3h:bl=^G:\
        !          6705:        :bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:\
        !          6706:        :cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[X:dl=\E[M:do=\E[B:\
        !          6707:        :ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:\
        !          6708:        :is=\E0;2m\E[1;25r\E[25;1H\E[?3l\E[?7h\E[?8h:k0=\E010:\
        !          6709:        :k1=\E001:k2=\E002:k3=\E003:k4=\E004:k5=\E005:k6=\E006:\
        !          6710:        :k7=\E007:k8=\E008:k9=\E009:kD=\177:kb=^H:kd=\E[A:ke=\E>:\
        !          6711:        :kh=\E[f:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=\E[D:mb=\E[5m:\
        !          6712:        :md=\E[1m:me=\E[0;2m:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=^M^J:\
        !          6713:        :se=\E[0;2m:sf=^J:so=\E[2;7m:ta=^I:ue=\E[0m:up=\E[A:\
        !          6714:        :us=\E[4m:vb=\E[?5h\E[?5l:
        !          6715:
        !          6716: #### Human Designed Systems (Concept)
1.1       deraadt  6717: #
1.13    ! millert  6718: #      Human Designed Systems
        !          6719: #      400 Fehley Drive
        !          6720: #      King of Prussia, PA 19406
        !          6721: #      Vox: (610)-277-8300
        !          6722: #      Fax: (610)-275-5739
        !          6723: #      Net: support@hds.com
        !          6724: #
        !          6725: # John Martin <john@hds.com> is their termcap expert.  They're mostly out of
        !          6726: # the character-terminal business now (1995) and making X terminals.  In
        !          6727: # particular, the whole `Concept' line described here was discontinued long
        !          6728: # ago.
1.1       deraadt  6729: #
1.13    ! millert  6730:
        !          6731: # From: <vax135!hpk>  Sat Jun 27 07:41:20 1981
        !          6732: # Extensive changes to c108 by arpavax:eric Feb 1982
        !          6733: # Some unknown person at SCO then translated it to terminfo.
1.1       deraadt  6734: #
1.13    ! millert  6735: # There seem to be a number of different versions of the C108 PROMS
        !          6736: # (with bug fixes in its Z-80 program).
        !          6737: #
        !          6738: # The first one that we had would lock out the keyboard of you
        !          6739: # sent lots of short lines (like /usr/dict/words) at 9600 baud.
        !          6740: # Try that on your C108 and see if it sends a ^S when you type it.
        !          6741: # If so, you have an old version of the PROMs.
        !          6742: #
        !          6743: # You should configure the C108 to send ^S/^Q before running this.
        !          6744: # It is much faster (at 9600 baud) than the c100 because the delays
        !          6745: # are not fixed.
        !          6746: # new status line display entries for c108-8p:
        !          6747: # :i3: - init str #3 - setup term for status display -
        !          6748: # set programmer mode, select window 2, define window at last
        !          6749: # line of memory, set bkgnd stat mesg there, select window 0.
        !          6750: #
        !          6751: # :ts: - to status line - select window 2, home cursor, erase to
        !          6752: # end-of-window, 1/2 bright on, goto(line#0, col#?)
        !          6753: #
        !          6754: # :fs: - from status line - 1/2 bright off, select window 0
        !          6755: #
        !          6756: # :ds: - disable status display - set bkgnd status mesg with
        !          6757: # illegal window #
        !          6758: #
        !          6759: # There are probably more function keys that should be added but
        !          6760: # I don't know what they are.
1.1       deraadt  6761: #
1.13    ! millert  6762: # No delays needed on c108 because of ^S/^Q handshaking
1.1       deraadt  6763: #
1.13    ! millert  6764: c108|concept108|c108-8p|concept108-8p|concept 108 w/8 pages:\
        !          6765:        :i2=\EU\E z"\Ev\001\177 \041p\E ;"\E z \Ev  \001\177p\Ep\n:\
        !          6766:        :te=\Ev  \001\177p\Ep\r\n:\
        !          6767:        :tc=c108-4p:
        !          6768: c108-4p|concept108-4p|concept 108 w/4 pages:\
        !          6769:        :bs:es:hs:xo:\
        !          6770:        :pb@:\
        !          6771:        :ac=jEkTl\mMqLxU:ae=\Ej :as=\Ej\041:\
        !          6772:        :..cm=\Ea%p1%?%p1%{95}%>%t\001%{96}%-%;%{32}%+%c%p2%?%p2%{95}%>%t\001%{96}%-%;%{32}%+%c:\
        !          6773:        :cr=^M:dc=\E 1:ds=\E ;\177:fs=\Ee\E z :i1=\EK\E\041\E F:\
        !          6774:        :i2=\EU\E z"\Ev\177 \041p\E ;"\E z \Ev  \001 p\Ep\n:\
        !          6775:        :sf=^J:te=\Ev  \001 p\Ep\r\n:ti=\EU\Ev  8p\Ep\r\E\025:\
        !          6776:        :ts=\E z"\E?\E\005\EE\Ea %+ :ve=\Ew:vs=\EW:\
        !          6777:        :tc=c100:
        !          6778: c108-rv|c108-rv-8p|concept 108 w/8 pages in reverse video:\
        !          6779:        :te=\Ev  \002 p\Ep\r\n:ti=\EU\Ev  8p\Ep\r:\
        !          6780:        :tc=c108-rv-4p:
        !          6781: c108-rv-4p|concept108rv4p|concept 108 w/4 pages in reverse video:\
        !          6782:        :i1=\Ek:se=\Ee:so=\EE:vb=\EK\Ek:\
        !          6783:        :tc=c108-4p:
        !          6784: c108-w|c108-w-8p|concept108-w-8|concept108-w8p|concept 108 w/8 pages in wide mode:\
        !          6785:        :co#132:\
        !          6786:        :i1=\E F\E":te=\Ev  ^A0\001D\Ep\r\n:\
        !          6787:        :ti=\EU\Ev  8\001D\Ep\r:tc=c108-8p:
        !          6788:
        !          6789: # Concept 100:
        !          6790: # These have only window relative cursor addressing, not screen
        !          6791: # relative. To get it to work right here, smcup/rmcup (which
        !          6792: # were invented for the concept) lock you into a one page
        !          6793: # window for screen style programs.
        !          6794: #
        !          6795: # To get out of the one page window, we use a clever trick:
        !          6796: # we set the window size to zero ("\Ev    " in rmcup) which the
        !          6797: # terminal recognizes as an error and resets the window to all
        !          6798: # of memory.
        !          6799: #
        !          6800: # This trick works on c100 but does not on c108, sigh.
        !          6801: #
        !          6802: # Some tty drivers use cr3 for concept, others use nl3, hence
        !          6803: # the delays on cr and ind below. This padding is only needed at
        !          6804: # 9600 baud and up.  One or the other is commented out depending on
        !          6805: # local conventions.
        !          6806: #
        !          6807: # 2 ms padding on :te: isn't always enough. 6 works fine. Maybe
        !          6808: # less than 6 but more than 2 will work.
        !          6809: #
        !          6810: # Note: can't use function keys f7-f10 because they are
        !          6811: # indistinguishable from arrow keys (!), also, del char and
        !          6812: # clear eol use xon/xoff so they probably won't work very well.
        !          6813: #
        !          6814: # Also note that we don't define insrt/del char/delline/eop/send
        !          6815: # because they don't transmit unless we reset them - I figured
        !          6816: # it was a bad idea to clobber their definitions.
        !          6817: #
        !          6818: # The <mc5> sequence changes the escape character to ^^ so that
        !          6819: # escapes will be passed through to the printer. Only trouble
        !          6820: # is that ^^ won't be - ^^ was chosen to be unlikely.
        !          6821: # Unfortunately, if you're sending raster bits through to be
        !          6822: # plotted, any character you choose will be likely, so we lose.
1.1       deraadt  6823: #
1.13    ! millert  6824: # \EQ"\EY(^W (send anything from printer to host, for xon/xoff)
        !          6825: # cannot be # in is2 because it will hang a c100 with no printer
        !          6826: # if sent twice.
        !          6827: c100|concept100|concept|c104|c100-4p|hds concept 100:\
        !          6828:        :am:bs:eo:mi:ul:xn:\
        !          6829:        :co#80:li#24:pb#9600:vt#8:\
        !          6830:        :al=\E\022:bl=^G:cd=\E\005:ce=\E\025:cl=\E?\E\005:\
        !          6831:        :cm=\Ea%+ %+ :cr=\r:dc=\E\021:dl=\E\002:do=^J:ei=\E  :\
        !          6832:        :i1=\EK:i2=\Ev    \Ep\n:im=\E^P:ip=:\
        !          6833:        :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:\
        !          6834:        :k1=\E5:k2=\E6:k3=\E7:k4=\E8:k5=\E9:k6=\E\072a:k7=\E\072b:\
        !          6835:        :k8=\E\072c:kA=\E^R:kB=\E':kD=\E^Q:kE=\E^S:kF=\E[:kI=\E^P:\
        !          6836:        :kL=\E^B:kM=\E\0:kN=\E-:kP=\E.:kR=\E\:kS=\E^C:kT=\E]:kb=^H:\
        !          6837:        :kd=\E<:ke=\Ex:kh=\E?:kl=\E>:kr=\E=:ks=\EX:kt=\E_:ku=\E;:\
        !          6838:        :le=^H:mb=\EC:me=\EN@:mh=\EE:mk=\EH:mp=\EI:mr=\ED:nd=\E=:\
        !          6839:        :pf=\036o \E\EQ\041\EYP\027:\
        !          6840:        :po=\EQ"\EY(\027\EYD\Eo \036:rp=\Er%.%+ :se=\Ed:sf=^J:\
        !          6841:        :so=\ED:ta=\011:te=\Ev    \Ep\r\n:\
        !          6842:        :ti=\EU\Ev  8p\Ep\r\E\025:ue=\Eg:up=\E;:us=\EG:vb=\Ek\EK:
        !          6843: c100-rv|c100-rv-4p|concept100-rv|c100 rev video:\
        !          6844:        :i1=\Ek:se=\Ee:so=\EE:vb=\EK\Ek:ve@:vs@:tc=c100:
        !          6845: oc100|oconcept|c100-1p|old 1 page concept 100:\
        !          6846:        :in:\
        !          6847:        :i3@:tc=c100:
        !          6848:
        !          6849: # From: Walter Skorski <walt@genetics1.JMP.TJU.EDU>, 16-oct-1996.
        !          6850: # Lots of notes, originally inline, but ncurses doesn't grok that.
1.1       deraadt  6851: #
1.13    ! millert  6852: # am:  not available in power on mode, but turned on with \E[=107;207h in
        !          6853: #      is2=.  Also, \E=124l in is2= could have been used to prevent needing
        !          6854: #      to specify xenl:, but that would have rendered the last space on the
        !          6855: #      last line useless.
        !          6856: # bw:  Not available in power on mode, but turned on with \E[=107;207h in
        !          6857: #      is2=.
        !          6858: # clear: Could be done with \E[2J alone, except that vi (and probably most
        !          6859: #      other programs) assume that this also homes the cursor.
        !          6860: # dsl: Go to window 2, go to the beginning of the line, use a line feed to
        !          6861: #      scroll the window, and go back to window 1.
        !          6862: # is2: the string may cause a warning to be issued by tic that it
        !          6863: #      found a very long line and that it suspects that a comma is missing
        !          6864: #      somewhere.  This warning can be ignored (unless it comes up more than
        !          6865: #      once).  The initialization string contains the following commands:
        !          6866: #
        !          6867: #       [Setup mode items changed from factory defaults:]
        !          6868: #              \E)0                    set alternate character set to
        !          6869: #                                              graphics
        !          6870: #              ^O                      set character set to default
        !          6871: #       [In case it wasn't]
        !          6872: #              \E[m                    turn off all attributes
        !          6873: #       [In case they weren't off]
        !          6874: #              \E[=107;                cursor wrap and
        !          6875: #                      207h                    character wrap on
        !          6876: #              \E[90;3u                set Fkey definitions to "transmit"
        !          6877: #                                              defaults
        !          6878: #              \E[92;3u                set cursor key definitions to
        !          6879: #                                              "transmit" defaults
        !          6880: #              \E[43;1u                set shift F13 to transmit...
        !          6881: #              \177\E$P\177
        !          6882: #              \E[44;1u                set shift F14 to transmit...
        !          6883: #                      \177\E$Q\177
        !          6884: #              \E[45;1u                set shift F15 to transmit...
        !          6885: #                      \177\E$R\177
        !          6886: #              \E[46;1u                set shift F16 to transmit...
        !          6887: #                      \177\E$S\177
        !          6888: #              \E[200;1u               set shift up to transmit...
        !          6889: #                      \177\E$A\177
        !          6890: #              \E[201;1u               set shift down to transmit...
        !          6891: #                      \177\E$B\177
        !          6892: #              \E[202;1u               set shift right to transmit...
        !          6893: #                      \177\E$C\177
        !          6894: #              \E[203;1u               set shift left to transmit...
        !          6895: #                      \177\E$D\177
        !          6896: #              \E[204;1u               set shift home to transmit...
        !          6897: #                      \177\E$H\177
        !          6898: #              \E[212;1u               set backtab to transmit...
        !          6899: #                      \177\E$I\177
        !          6900: #              \E[213;1u               set shift backspace to transmit...
        !          6901: #                      \177\E$^H\177
        !          6902: #              \E[214;1u               set shift del to transmit...
        !          6903: #                      "\E$\177"
        !          6904: #       [Necessary items not mentioned in setup mode:]
        !          6905: #              \E[2!w                  move to window 2
        !          6906: #              \E[25;25w               define window as line 25 of memory
        !          6907: #              \E[!w                   move to window 1
        !          6908: #              \E[2*w                  show current line of window 2 as
        !          6909: #                                              status line
        !          6910: #              \E[2+x                  set meta key to use high bit
        !          6911: #              \E[;3+}                 move underline to bottom of character
        !          6912: #
        !          6913: #      All Fkeys are set to their default transmit definitions with \E[90;3u
        !          6914: #      in is2=.  IMPORTANT:  to use this terminal definition, the "quit" stty
        !          6915: #      setting MUST be redefined or deactivated, because the default is
        !          6916: #      contained in almost all of this terminal's Fkey strings!  If for some
        !          6917: #      reason "quit" cannot be altered, the Fkeys can, but it would be
        !          6918: #      necessary to change ^| to ^] in all of these definitions, and add
        !          6919: #      \E[2;029!t to is2.
        !          6920: # lines: is set to 24 because this terminal refuses to treat the 25th
        !          6921: #      line normally.
        !          6922: # ll:  Not available in power on mode, but turned on with \E[=107;207h in
        !          6923: #      is2=.
        !          6924: # lm:  Pointless, given that this definition locks a single screen of
        !          6925: #      memory into view, but what the hey...
        !          6926: # rmso: Could use \E[1;7!{ to turn off only bold and reverse (leaving any
        !          6927: #      other attributes alone), but some programs expect this to turn off
        !          6928: #      everything.
        !          6929: # rmul: Could use \E[4!{ to turn off only underline (leaving any other
        !          6930: #      attributes alone), but some programs expect this to turn off
        !          6931: #      everything.
        !          6932: # sgr: Attributes are set on this terminal with the string \E[ followed by
        !          6933: #      a list of attribute code numbers (in decimal, separated by
        !          6934: #      semicolons), followed by the character m.  The attribute code
        !          6935: #      numbers are:
        !          6936: #                1 for bold;
        !          6937: #                2 for dim (which is ignored in power on mode);
        !          6938: #                4 for underline;
        !          6939: #                5 for blinking;
        !          6940: #                7 for inverse;
        !          6941: #                8 for not displayable; and
        !          6942: #              =99 for protected (except that there are strange side
        !          6943: #              effects to protected characters which make them inadvisable).
        !          6944: #       The mapping of terminfo parameters to attributes is as follows:
        !          6945: #              %p1 (standout) = bold and inverse together;
        !          6946: #              %p2 (underline) = underline;
        !          6947: #              %p3 (reverse) = inverse;
        !          6948: #              %p4 (blink) = blinking;
        !          6949: #              %p5 (dim) is ignored;
        !          6950: #              %p6 (bold) = bold;
        !          6951: #              %p7 (invisible) = not displayable;
        !          6952: #              %p8 (protected) is ignored; and
        !          6953: #              %p9 (alt char set) = alt char set.
        !          6954: #       The code to do this is:
        !          6955: #              \E[0            OUTPUT  \E[0
        !          6956: #              %?%p1%p6%O      IF      (standout; bold) OR
        !          6957: #              %t;1            THEN    OUTPUT  ;1
        !          6958: #              %;              ENDIF
        !          6959: #              %?%p2           IF      underline
        !          6960: #              %t;4            THEN    OUTPUT  ;4
        !          6961: #              %;              ENDIF
        !          6962: #              %?%p4           IF      blink
        !          6963: #              %t;5            THEN    OUTPUT  ;5
        !          6964: #              %;              ENDIF
        !          6965: #              %?%p1%p3%O      IF      (standout; reverse) OR
        !          6966: #              %t;7            THEN    OUTPUT  ;7
        !          6967: #              %;              ENDIF
        !          6968: #              %?%p7           IF      invisible
        !          6969: #              %t;8            THEN    OUTPUT  ;8
        !          6970: #              %;              ENDIF
        !          6971: #              m               OUTPUT  m
        !          6972: #              %?%p9           IF      altcharset
        !          6973: #              %t^N            THEN    OUTPUT  ^N
        !          6974: #              %e^O            ELSE    OUTPUT  ^O
        !          6975: #              %;              ENDIF
        !          6976: # sgr0: Everything is turned off (including alternate character set), since
        !          6977: #      there is no way of knowing what it is that the program wants turned
        !          6978: #      off.
        !          6979: # smul: The "underline" attribute is reconfigurable to an overline or
        !          6980: #      strikethru, or (as done with \E[;3+} in is2=), to a line at the true
        !          6981: #      bottom of the character cell.  This was done to allow for more readable
        !          6982: #      underlined characters, and to be able to distinguish between an
        !          6983: #      underlined space, an underscore, and an underlined underscore.
        !          6984: # xenl: Terminal can be configured to not need this, but this "glitch"
        !          6985: #      behavior is actually preferable with autowrap terminals.
        !          6986: #
        !          6987: # Parameters kf31= thru kf53= actually contain the strings sent by the shifted
        !          6988: # Fkeys.  There are no parameters for shifted Fkeys in terminfo.  The is2
        !          6989: # string modifies the 'O' in kf43 to kf46 to a '$'.
        !          6990: #
        !          6991: # kcbt was originally ^I but redefined in is2=.
        !          6992: # kHOM was \E[H originally but redefined in is2=, as were a number of
        !          6993: # other keys.
        !          6994: # kDC was originally \177 but redefined in is2=.
        !          6995: #
        !          6996: # kbs: Shift was also ^H originally but redefined as \E$^H in is2=.
        !          6997: # tsl: Go to window 2, then do an hpa=.
        !          6998: #
        !          6999: #------- flash=\E[8;3!}^G\E[3;3!}
        !          7000: #------- flash=\E[?5h$<100>\E[?5l
        !          7001: # There are two ways to flash the screen, both of which have their drawbacks.
        !          7002: # The first is to set the bell mode to video, transmit a bell character, and
        !          7003: # set the bell mode back - but to what?  There is no way of knowing what the
        !          7004: # user's old bell setting was before we messed with it.  Worse, the command to
        !          7005: # set the bell mode also sets the key click volume, and there is no way to say
        !          7006: # "leave that alone", or to know what it's set to, either.
        !          7007: # The second way to do a flash is to set the screen to inverse video, pad for a
        !          7008: # tenth of a second, and set it back - but like before, there's no way to know
        !          7009: # that the screen wasn't ALREADY in inverse video, or that the user may prefer
        !          7010: # it that way.  The point is moot anyway, since vi (and probably other
        !          7011: # programs) assume that by defining flash=, you want the computer to use it
        !          7012: # INSTEAD of bel=, rather than as a secondary type of signal.
        !          7013: #
        !          7014: #------- cvvis=\E[+{
        !          7015: # The is the power on setting, which is also as visible as the cursor
        !          7016: # gets.
        !          7017: #-------  wind=\E[%i%p1%d;%p2%d;%p3%{1}%+%d;%p4%{1}%+%dw
        !          7018: # Windowing is possible, but not defined here because it is also used to
        !          7019: # emulate status line functions.  Allowing a program to set a window could
        !          7020: # clobber the status line or render it unusable.  There is additional memory,
        !          7021: # but screen scroll functions are destructive and do not make use of it.
        !          7022: #
        !          7023: #-------   dim=                        Not available in power on mode.
        !          7024: # You have a choice of defining low intensity characters as "half bright" and
        !          7025: # high intensity as "normal", or defining low as "normal" and high as "bold".
        !          7026: # No matter which you choose, only one of either "half bright" or "bold" is
        !          7027: # available at any time, so taking the time to override the default is
        !          7028: # pointless.
        !          7029: #
        !          7030: #-------  prot=\E[=0;99m
        !          7031: # Not defined, because it appears to have some strange side effects.
        !          7032: #------- pfkey=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%du\177%p2%s\177%;
        !          7033: #------- pfloc=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%du\177%p2%s\177%;
        !          7034: #-------   pfx=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%d;1u\177%p2%s\177%;
        !          7035: #       Available, but making them available to programs is inadvisable.
        !          7036: #       The code to do this is:
        !          7037: #              %?%p1%{24}%<    IF      ((key; 24) <;
        !          7038: #              %p1%{30}%>               ((key; 30) >;
        !          7039: #              %p1%{54}%<                (key; 54) <
        !          7040: #              %A                       ) AND
        !          7041: #              %O                      ) OR
        !          7042: #       [that is, "IF key < 24 OR (key > 30 AND key < 54)",]
        !          7043: #              %t\E[           THEN    OUTPUT  \E[
        !          7044: #              %p1%d                   OUTPUT  (key) as decimal
        !          7045: #       [next line applies to pfx only]
        !          7046: #              ;1                      OUTPUT  ;1
        !          7047: #              u                       OUTPUT  u
        !          7048: #              \177                    OUTPUT  \177
        !          7049: #              %p2%s                   OUTPUT  (string) as string
        !          7050: #              \177                    OUTPUT  \177
        !          7051: #       [DEL chosen as delimiter, but could be any character]
        !          7052: #       [implied:              ELSE    do nothing]
        !          7053: #              %;              ENDIF
        !          7054: #
        !          7055: #-------   rs2=
        !          7056: # Not defined since anything it might do could be done faster and easier with
        !          7057: # either Meta-Shift-Reset or the main power switch.
        !          7058: #
        !          7059: #-------  smkx=\E[1!z
        !          7060: #-------  rmkx=\E[!z
        !          7061: # These sequences apply to the cursor and setup keys only, not to the
        !          7062: # numeric keypad.  But it doesn't matter anyway, since making these
        !          7063: # available to programs is inadvisable.
        !          7064: # For the key definitions below, all sequences beginning with \E$ are
        !          7065: # custom and programmed into the terminal via is2.  \E$ also has no
        !          7066: # meaning to any other terminal.
        !          7067: #
        !          7068: #------- cmdch=\E[;%p1%d!t
        !          7069: # Available, but making it available to programs is inadvisable.
        !          7070: #------- smxon=\E[1*q
        !          7071: # Available, but making it available to programs is inadvisable.
        !          7072: # Terminal will send XON/XOFF on buffer overflow.
        !          7073: #------- rmxon=\E[*q
        !          7074: # Available, but making it available to programs is inadvisable.
        !          7075: # Terminal will not notify on buffer overflow.
        !          7076: #-------   smm=\E[2+x
        !          7077: #-------   rmm=\E[+x
        !          7078: # Available, but making them available to programs is inadvisable.
        !          7079: #
        !          7080: # Printing:
        !          7081: #       It's not made clear in the manuals, but based on other ansi/vt type
        !          7082: #       terminals, it's a good guess that this terminal is capable of both
        !          7083: #       "transparent print" (which doesn't copy data to the screen, and
        !          7084: #       therefore needs mc5i: specified to say so) and "auxilliary print"
        !          7085: #       (which does duplicate printed data on the screen, in which case mc4=
        !          7086: #       and mc5= should use the \E[?4i and \E[?5i strings instead).
1.1       deraadt  7087: #
1.13    ! millert  7088: # (esr: I have commented out is2 in order to avoid overflowing termcap's
        !          7089: # 1024-byte limit.)
1.1       deraadt  7090:
1.13    ! millert  7091: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          7092: # (sgr removed to fit entry within 1023 bytes)
        !          7093: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
        !          7094: hds200|Human Designed Systems HDS200:\
        !          7095:        :am:bw:es:hs:km:mi:ms:xn:xo:\
        !          7096:        :co#80:it#8:li#24:lm#0:\
        !          7097:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
        !          7098:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
        !          7099:        :bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
        !          7100:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[B:\
        !          7101:        :ds=\E[2\041w\r\n\E[\041w:ei=\E[4l:fs=\E[\041w:ho=\E[H:\
        !          7102:        :im=\E[4h:k1=^\001\r:k2=^\002\r:k3=^\003\r:k4=^\004\r:\
        !          7103:        :k5=^\005\r:k6=^\006\r:k7=^\007\r:k8=^\008\r:k9=^\009\r:\
        !          7104:        :kD=\177:kN=\E[U:kP=\E[V:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
        !          7105:        :kr=\E[C:ku=\E[A:le=\E[D:ll=\E[H\E[A:mb=\E[0;5m:\
        !          7106:        :md=\E[0;1m:me=\E[m\017:mr=\E[0;7m:nd=\E[C:nw=\E[E:rc=\E8:\
        !          7107:        :sc=\E7:se=\E[m\017:sf=\ED:so=\E[0;1;7m:sr=\EM:st=\EH:\
        !          7108:        :ta=^I:ts=\E[2\041w\E[%i%p1%dG:ue=\E[m\017:up=\E[A:\
        !          7109:        :us=\E[0;4m:ve=\E[+{:vi=\E[6+{:
1.1       deraadt  7110:
1.13    ! millert  7111: # :ta: through :ce: included to specify padding needed in raw mode.
        !          7112: # (avt-ns: added empty <acsc> to suppress a tic warning --esr)
1.3       deraadt  7113: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   7114: # (sgr removed to fit entry within 1023 bytes)
                   7115: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.13    ! millert  7116: avt-ns|concept avt no status line:\
        !          7117:        :am:bs:eo:mi:ul:xn:xo:\
        !          7118:        :co#80:it#8:li#24:lm#192:\
        !          7119:        :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:\
        !          7120:        :RI=\E[%dC:UP=\E[%dA:ae=\016:al=\E[L:as=\017:bl=^G:bt=\E[Z:\
1.2       deraadt  7121:        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
1.13    ! millert  7122:        :cs=\E[%i%d;%dr:ct=\E[2g:dc=\E[P:dl=\E[M:do=^J:ei=\E4l:\
        !          7123:        :ho=\E[H:i1=\E[=103l\E[=205l:ic=\E[@:im=\E1:ip=:\
        !          7124:        :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:\
        !          7125:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kD=\E^B\r:kI=\E^A\r:kb=^H:\
        !          7126:        :kd=\E[B:ke=\E[\041z\E[0;2u:kh=\E[H:kl=\E[D:kr=\E[C:\
        !          7127:        :ks=\E[1\041z\E[0;3u:ku=\E[A:le=^H:ll=\E[24H:mb=\E[5m:\
        !          7128:        :md=\E[1m:me=\E[m:mh=\E[1\041{:mr=\E[7m:nd=\E[C:rc=\E8:\
        !          7129:        :sc=\E7:se=\E[7\041{:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=\011:\
        !          7130:        :te=\E[w\E2\r\n:ti=\E[=4l\E[1;24w\E2\r:ue=\E[4\041{:\
        !          7131:        :up=\E[A:us=\E[4m:ve=\E[=119l:vs=\E[=119h:
        !          7132: avt-rv-ns|concept avt in reverse video mode/no status line:\
        !          7133:        :i1=\E[=103l\E[=205h:vb=\E[=205l\E[=205h:\
        !          7134:        :tc=avt-ns:
        !          7135: avt-w-ns|concept avt in 132 column mode/no status line:\
        !          7136:        :i1=\E[=103h\E[=205l:ti=\E[H\E[1;24;1;132w:\
        !          7137:        :tc=avt-ns:
        !          7138: avt-w-rv-ns|concept avt in 132 column mode/no status line/reverse video:\
        !          7139:        :i1=\E[=103h\E[=205h:ti=\E[H\E[1;24;1;132w:\
        !          7140:        :vb=\E[=205l\E[=205h:tc=avt-ns:
1.1       deraadt  7141:
1.13    ! millert  7142: # Concept AVT with status line. We get the status line using the
        !          7143: # "Background status line" feature of the terminal. We swipe the
        !          7144: # first line of memory in window 2 for the status line, keeping
        !          7145: # 191 lines of memory and 24 screen lines for regular use.
        !          7146: # The first line is used instead of the last so that this works
        !          7147: # on both 4 and 8 page AVTs. (Note the lm#191 or 192 - this
        !          7148: # assumes an 8 page AVT but lm isn't currently used anywhere.)
        !          7149: #
        !          7150: avt+s|concept avt status line changes:\
1.1       deraadt  7151:        :es:hs:\
1.13    ! millert  7152:        :lm#191:\
        !          7153:        :ds=\E[0*w:fs=\E[1;1\041w:\
        !          7154:        :i2=\E[2w\E[2\041w\E[1;1;1;80w\E[H\E[2*w\E[1\041w\E2\r\n:\
        !          7155:        :te=\E[2w\E2\r\n:ti=\E[2;25w\E2\r:\
        !          7156:        :ts=\E[2;1\041w\E[;%p1%dH\E[2K:
        !          7157: avt|avt-s|concept-avt|avt w/80 columns:\
        !          7158:        :tc=avt+s:tc=avt-ns:
        !          7159: avt-rv|avt-rv-s|avt reverse video w/sl:\
        !          7160:        :i1=\E[=103l\E[=205h:vb=\E[=205l\E[=205h:tc=avt+s:tc=avt-ns:
        !          7161: avt-w|avt-w-s|concept avt 132 cols+status:\
        !          7162:        :i1=\E[=103h\E[=205l:ti=\E[H\E[1;24;1;132w:tc=avt+s:tc=avt-ns:
        !          7163: avt-w-rv|avt-w-rv-s|avt wide+status+rv:\
        !          7164:        :i1=\E[=103h\E[=205h:ti=\E[H\E[1;24;1;132w:\
        !          7165:        :vb=\E[=205l\E[=205h:tc=avt+s:\
        !          7166:        :tc=avt-ns:
1.1       deraadt  7167:
1.13    ! millert  7168: #### Contel Business Systems.
1.1       deraadt  7169: #
1.13    ! millert  7170:
        !          7171: # Contel c300 and c320 terminals.
        !          7172: contel300|contel320|c300|Contel Business Systems C-300 or C-320:\
        !          7173:        :am:in:xo:\
        !          7174:        :co#80:li#24:sg#1:\
        !          7175:        :al=\EL:bl=^G:cd=\EJ:ce=\EI:cl=\EK:cm=\EX%+ \EY%+ :cr=^M:\
        !          7176:        :ct=\E3:dc=\EO:dl=\EM:do=^J:ei=:ho=\EH:ic=\EN:im=:ip=:k0=\ERJ:\
        !          7177:        :k1=\ERA:k2=\ERB:k3=\ERC:k4=\ERD:k5=\ERE:k6=\ERF:k7=\ERG:\
        !          7178:        :k8=\ERH:k9=\ERI:kb=^H:le=^H:ll=\EH\EA:me=\E\041\0:nd=\EC:\
        !          7179:        :se=\E\041\0:sf=^J:so=\E\041\r:st=\E1:up=\EA:\
        !          7180:        :vb=\020\002\020\003:
        !          7181: # Contel c301 and c321 terminals.
        !          7182: contel301|contel321|c301|c321|Contel Business Systems C-301 or C-321:\
        !          7183:        :ei=:ic@:im=:ip@:se=\E\041\0:so=\E\041\r:vb@:\
        !          7184:        :tc=contel300:
        !          7185:
        !          7186: #### Data General (dg)
1.1       deraadt  7187: #
1.13    ! millert  7188: # According to James Carlson <carlson@xylogics.com> writing in January 1995,
        !          7189: # the terminals group at Data General was shut down in 1991; all these
        !          7190: # terminals have thus been discontinued.
1.5       tholo    7191: #
1.1       deraadt  7192:
1.13    ! millert  7193: # According to the 4.4BSD termcap file, the dg200 :cm: should be the
        !          7194: # termcap equivalent of \020%p2%{128}%+%c%p1%{128}%+%c (in termcap
        !          7195: # notation that's "^P%r%+\200%+\200").  Those \200s are suspicious,
        !          7196: # maybe they were originally nuls (which would fit).
        !          7197: dg200|data general dasher 200:\
        !          7198:        :NL:am:bs:bw:\
1.1       deraadt  7199:        :co#80:li#24:\
1.13    ! millert  7200:        :bl=^G:ce=^K:cl=^L:cm=\020%r%.%.:cr=^M:do=^Z:ho=^H:k0=^^z:\
        !          7201:        :k1=^^q:k2=^^r:k3=^^s:k4=^^t:k5=^^u:k6=^^v:k7=^^w:k8=^^x:\
        !          7202:        :k9=^^y:kd=^Z:kh=^H:kl=^Y:kr=^X:ku=^W:l0=f10:le=^Y:nd=^X:\
        !          7203:        :nw=^J:se=^^E:sf=^J:so=^^D:ue=^U:up=^W:us=^T:
        !          7204: # Data General 210/211 (and 410?)      from Lee Pearson (umich!lp) via BRL
        !          7205: dg210|dg-ansi|Data General 210/211:\
        !          7206:        :am:\
1.1       deraadt  7207:        :co#80:li#24:\
1.13    ! millert  7208:        :cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:do=\E[B:ho=\E[H:\
        !          7209:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:nl=\E[B:\
        !          7210:        :nw=\r\E[H\E[A\n:se=\E[0;m:so=\E[7;m:ue=\E[0;m:up=\E[A:\
        !          7211:        :us=\E[4;m:
        !          7212: # From: Peter N. Wan <ihnp4!gatech!gacsr!wan>
        !          7213: # courtesy of Carlos Rucalde of Vantage Software, Inc.
        !          7214: # (dg211: this had :cm=\020%r%.%:., which was an ancient termcap hangover.
        !          7215: # I suspect the d200 function keys actually work on the dg211, check it out.)
        !          7216: dg211|Data General d211:\
        !          7217:        :k0@:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:k9@:kb=^Y:l0@:nw=^M^Z:\
        !          7218:        :se=\036E\0/>:sf@:so=5\036D:ta=^I:te=^L:ti=^L^R:ve=^L:\
        !          7219:        :vs=^L^R:\
        !          7220:        :tc=dg200:
        !          7221: # dg450 from cornell
        !          7222: dg450|dg6134|data general 6134:\
        !          7223:        :le@:nd=^X:tc=dg200:
        !          7224: # Note: lesser Dasher terminals will not work with vi because vi insists upon
        !          7225: # having a command to move straight down from any position on the bottom line
        !          7226: # and scroll the screen up, or a direct vertical scroll command.  The 460 and
        !          7227: # above have both, the D210/211, for instance, has neither.  We must use ANSI
        !          7228: # mode rather than DG mode because standard UNIX tty drivers assume that ^H is
        !          7229: # backspace on all terminals.  This is not so in DG mode.
        !          7230: # (dg460-ansi: removed obsolete ":kn#6:"; also removed ":mu=\EW:", on the
        !          7231: # grounds that there is no matching ":ml:"
        !          7232: # fixed garbled ":k9=\E[00\:z:" capability -- esr)
        !          7233: dg460-ansi|Data General Dasher 460 in ANSI-mode:\
        !          7234:        :am:bs:ms:ul:\
1.1       deraadt  7235:        :co#80:it#8:li#24:\
1.13    ! millert  7236:        :al=\E[L:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%2;%2H:dc=\E[P:\
        !          7237:        :dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:is=^^F@:k0=\E[001z:\
        !          7238:        :k1=\E[002z:k2=\E[003z:k3=\E[004z:k4=\E[005z:k5=\E[006z:\
        !          7239:        :k6=\E[007z:k7=\E[008z:k8=\E[009z:k9=\E[010z:kb=\E[D:\
        !          7240:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:l0=f1:l1=f2:l2=f3:\
        !          7241:        :l3=f4:l4=f5:l5=f6:l6=f7:l7=f8:l9=f10:le=^H:mb=\E[5m:me=\E[m:\
        !          7242:        :mh=\E[2m:mr=\E[7m:nd=\E[C:nl=\ED:se=\E[m:sf=\E[S:so=\E[7m:\
        !          7243:        :sr=\E[T:ta=^I:ue=\E[05:up=\E[A:us=\E[4m:
        !          7244: # From: Wayne Throop <mcnc!rti-sel!rtp47!throopw>
        !          7245: # Data General 605x
        !          7246: # Ought to work for a Model 6242, Type D210 as well as a 605x.
        !          7247: # Note that the cursor-down key transmits ^Z.  Job control users, beware!
        !          7248: # This also matches a posted description of something called a `Dasher 100'
        !          7249: # so there's a dg100 alias here.
        !          7250: # (dg6053: the 4.4BSD file had :le=^H:, :do=^J:, :nd=^S:. -- esr)
        !          7251: dg6053|dg100|data general 6053:\
        !          7252:        :am:bs:bw:ul:\
1.1       deraadt  7253:        :co#80:li#24:\
1.13    ! millert  7254:        :bc=^Y:bl=^G:ce=^K:cl=^L:cm=\020%r%.%.:cr=^M:do=^Z:ho=^H:\
        !          7255:        :is=^R:k0=^^q:k1=^^r:k2=^^s:k3=^^t:k4=^^u:k5=^^v:k6=^^w:\
        !          7256:        :k7=^^x:k8=^^y:k9=^^z:kb=^Y:kd=^Z:kh=^H:kl=^Y:kr=^X:ku=^W:\
        !          7257:        :le=^Y:nd=^X:se=\0^^E:so=\0\0\0\0\0\036D:ta=^I:te=^L:\
        !          7258:        :ti=^L^R:ue=^U:up=^W:us=^T:ve=^L:vs=^L^R:
1.1       deraadt  7259:
1.13    ! millert  7260: #### Datamedia (dm)
        !          7261: #
        !          7262: # Datamedia was headquartered in Nashua, New Hampshire in 1993.
        !          7263: # As of early 1996, at least one company called `Datamedia' has been taken
        !          7264: # over by:
        !          7265: #
        !          7266: #    Axent Technologies, Inc.
        !          7267: #    2400 Research Boulevard
        !          7268: #    Rockville, Maryland 20850
        !          7269: #    voice: +1 301/258-5043
        !          7270: #      fax: +1 301/330-5756
        !          7271: #    email: <info@axent.com>
1.1       deraadt  7272: #
1.13    ! millert  7273: # makers of OmniGuard client/server security software.  They are a software
        !          7274: # only company and no longer make terminals.  However, the operator there
        !          7275: # told me that she had once spoken to a customer looking for Datamedia
        !          7276: # terminals who'd mentioned a Datamedia in New Jersey.  This is backed up
        !          7277: # by comp.terminals poosting describing the ID plate on the back of a
        !          7278: # "Datamedia 3000" terminal.  Was this an earlier incarnation of Axent?
        !          7279: # Inquiring minds want to know...
1.1       deraadt  7280: #
                   7281:
1.13    ! millert  7282: cs10|colorscan|Datamedia Color Scan 10:\
        !          7283:        :ms:\
1.1       deraadt  7284:        :co#80:li#24:\
1.13    ! millert  7285:        :bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%02;%02H:cr=^M:\
        !          7286:        :do=^J:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kd=\E[B:kl=\E[D:\
        !          7287:        :kr=\E[C:ku=\E[A:le=^H:me=\E[m:nd=\E[C:se=\E[m:sf=^J:\
        !          7288:        :so=\E[7m:ue=\E[m:up=\E[A:us=\E[4m:
        !          7289: cs10-w|Datamedia Color Scan 10 with 132 columns:\
        !          7290:        :co#132:\
        !          7291:        :cm=\E[%i%02;%03H:tc=cs10:
        !          7292:
        !          7293: # (dm1520: removed obsolete ":ma=^\ ^_^P^YH:" -- esr)
        !          7294: dm1520|dm1521|datamedia 1520:\
1.8       tholo    7295:        :am:bs:xn:\
1.13    ! millert  7296:        :co#80:it#8:li#24:\
        !          7297:        :bl=^G:cd=^K:ce=^]:cl=^L:cm=\036%r%+ %+ :cr=^M:do=^J:ho=^Y:\
        !          7298:        :kd=^J:kh=^Y:kl=^H:kr=^\:ku=^_:le=^H:nd=^\:sf=^J:ta=^I:up=^_:
        !          7299: # dm2500: this terminal has both :IC: and :im:. Applications using
        !          7300: # termcap/terminfo directly (rather than through ncurses) might be confused.
        !          7301: dm2500|datamedia2500|datamedia 2500:\
        !          7302:        :bs:nc:\
1.2       deraadt  7303:        :co#80:li#24:\
1.13    ! millert  7304:        :al=\020\n\030\035\030\035:bl=^G:ce=^W:cl=^^^^\177:\
        !          7305:        :cm=\014%r%n%.%.:dc=\020\010\030\035:\
        !          7306:        :dl=\020\032\030\035:dm=^P:do=^J:ed=^X^]:\
        !          7307:        :ei=\377\377\030\035:ho=^B:ic=\020\034\030\035:im=^P:\
        !          7308:        :le=^H:nd=^\:pc=\377:se=^X^]:sf=^J:so=^N:up=^Z:
        !          7309: # dmchat is like DM2500, but DOES need "all that padding" (jcm 1/31/82)
        !          7310: # also, has a meta-key.
        !          7311: # From: <goldberger@su-csli.arpa>
        !          7312: # (dmchat: ":MT:" changed to ":km:" -- esr)
        !          7313: dmchat|dmchat version of datamedia 2500:\
        !          7314:        :km:\
        !          7315:        :al=1*\020\n\030\035\030\035:dl=2\020\032\030\035:tc=dm2500:
        !          7316: # (dm3025: ":MT:" changed to ":km:" -- esr)
        !          7317: dm3025|datamedia 3025a:\
        !          7318:        :bs:km:\
1.8       tholo    7319:        :co#80:it#8:li#24:\
1.13    ! millert  7320:        :al=\EP\n\EQ:bl=^G:cd=\EJ:ce=\EK:cl=\EM:cm=\EY%r%+ %+ :\
        !          7321:        :cr=^M:dc=\010:dl=\EP\EA\EQ:dm=\EP:do=^J:ed=\EQ:ei=\EQ:\
        !          7322:        :ho=\EH:im=\EP:ip=:is=\EQ\EU\EV:le=^H:nd=\EC:se=\EO0:sf=^J:\
        !          7323:        :so=\EO1:ta=^I:up=\EA:
        !          7324: dm3045|datamedia 3045a:\
        !          7325:        :am:bs:eo:km@:ul:xn:\
        !          7326:        :al@:dc=\EB:dl@:dm@:ed@:ei=\EP:is=\EU\EV:k0=\Ey\r:k1=\Ep\r:\
        !          7327:        :k2=\Eq\r:k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:k7=\Ev\r:\
        !          7328:        :k8=\Ew\r:k9=\Ex\r:kh=\EH:kr=\EC:ku=\EA:pc=\177:se@:so@:\
        !          7329:        :tc=dm3025:
        !          7330: # Datamedia DT80 soft switches:
        !          7331: # 1    0=Jump  1=Smooth
        !          7332: #      Autorepeat      0=off  1=on
        !          7333: #      Screen          0=Dark 1=light
        !          7334: #      Cursor          0=u/l  1=block
        !          7335: #
        !          7336: # 2    Margin Bell     0=off  1=on
        !          7337: #      Keyclick        0=off  1=on
        !          7338: #      Ansi/VT52       0=VT52 1=Ansi
        !          7339: #      Xon/Xoff        0=Off  1=On
        !          7340: #
        !          7341: # 3    Shift3          0=Hash 1=UK Pound
        !          7342: #      Wrap            0=Off  1=On
        !          7343: #      Newline         0=Off  1=On
        !          7344: #      Interlace       0=Off  1=On
        !          7345: #
        !          7346: # 4    Parity          0=Odd  1=Even
        !          7347: #      Parity          0=Off  1=On
        !          7348: #      Bits/Char       0=7    1=8
        !          7349: #      Power           0=60Hz 1=50Hz
        !          7350: #
        !          7351: # 5    Line Interface  0=EIA  1=Loop
        !          7352: #      Aux Interface   0=EIA  1=Loop
        !          7353: #      Local Copy      0=Off  1=On
        !          7354: #      Spare
        !          7355: #
        !          7356: # 6    Aux Parity      0=Odd  1=Even
        !          7357: #      Aux Parity      0=Off  1=On
        !          7358: #      Aux Bits/Char   0=7    1=8
        !          7359: #      CRT Saver       0=Off  1=On
        !          7360: # dm80/1 is a vt100 lookalike, but it doesn't seem to need any padding.
        !          7361: dm80|dmdt80|dt80|datamedia dt80/1:\
        !          7362:        :cd=\E[J:ce=\E[K:cl=\E[2J\E[H:cm=%i\E[%d;%dH:do=^J:\
        !          7363:        :ho=\E[H:me=\E[m:nd=\E[C:pf=\E[4i:po=\E[5i:ps=\E[0i:\
        !          7364:        :se=\E[m:so=\E[7m:sr=\EM:ue=\E[m:up=\E[A:us=\E[4m:\
        !          7365:        :tc=vt100:
        !          7366: # except in 132 column mode, where it needs a little padding.
        !          7367: # This is still less padding than the vt100, and you can always turn on
        !          7368: # the ^S/^Q handshaking, so you can use vt100 flavors for things like
        !          7369: # reverse video.
        !          7370: dm80w|dmdt80w|dt80w|datamedia dt80/1 in 132 char mode:\
1.8       tholo    7371:        :co#132:\
1.13    ! millert  7372:        :cd=20\E[0J:ce=20\E[0K:cl=50\E[H\E[2J:cm=5\E[%i%d;%dH:\
        !          7373:        :do=^J:up=5\E[A:\
        !          7374:        :tc=dm80:
        !          7375: # From: Adam Thompson <thompson@xanth.magic.mb.ca> Sept 10 1995
        !          7376: dt80-sas|Datamedia DT803/DTX for SAS usage:\
        !          7377:        :am:bw:\
        !          7378:        :co#80:li#24:\
        !          7379:        :ac=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~:\
        !          7380:        :ae=\EG:al=\EL:as=\EF:bl=^G:cd=^K:ce=^]:cl=^L:\
        !          7381:        :cm=\E=%r%+ %+ :cr=^M:\
        !          7382:        :..cs=\E=%p1%' '%+%c%' '%c\E#1\E=%p2%' '%+%c%' '%c\E#2:\
        !          7383:        :ct=\E'0:dl=\EM:do=\EB:ff=^L:ho=^Y:is=\E)0\E<\EP\E'0\E$2:\
        !          7384:        :kC=^L:kE=^]:kS=^K:kd=^J:kh=^Y:kl=^H:kr=^\:ku=^_:le=^H:me=^X:\
        !          7385:        :mr=\E$2\004:nd=^\:pf=^O:po=^N:se=^X:sf=\EB:so=\E$2\004:\
        !          7386:        :sr=\EI:st=\E'1:ta=^I:up=^_:
1.1       deraadt  7387:
1.13    ! millert  7388: # Datamedia Excel 62, 64 from Gould/SEL UTX/32 via BRL
        !          7389: # These aren't end-all Excel termcaps; but do insert/delete char/line
        !          7390: # and name some of the extra function keys.  (Mike Feldman ccvaxa!feldman)
        !          7391: # The naming convention has been bent somewhat, with the use of E? (where
        !          7392: # E is for 'Excel') as # a name.  This was done to distinguish the entries
        !          7393: # from the other Datamedias in use here, and yet to associate a model of
        !          7394: # the Excel terminals with the regular datamedia terminals that share
        !          7395: # major characteristics.
        !          7396: excel62|excel64|datamedia Excel 62:\
        !          7397:        :dc=\E[P:ei=\E[4l:im=\E[4h:k5=\EOu:k6=\EOv:k7=\EOw:k8=\EOx:\
        !          7398:        :k9=\EOy:kb=^H:kd=^J:kl=^H:\
        !          7399:        :tc=dt80:
        !          7400: excel62-w|excel64-w|datamedia Excel 62 in 132 char mode:\
        !          7401:        :dc=\E[P:ei=\E[4l:im=\E[4h:k5=\EOu:k6=\EOv:k7=\EOw:k8=\EOx:\
        !          7402:        :k9=\EOy:kb=^H:kd=^J:kl=^H:\
        !          7403:        :tc=dt80w:
        !          7404: excel62-rv|excel64-rv|datamedia Excel 62 in reverse video mode:\
        !          7405:        :dc=\E[P:ei=\E[4l:im=\E[4h:k5=\EOu:k6=\EOv:k7=\EOw:k8=\EOx:\
        !          7406:        :k9=\EOy:kb=^H:kd=^J:kl=^H:vb=\E[?5l\E[?5h:\
        !          7407:        :tc=dt80:
1.1       deraadt  7408:
1.13    ! millert  7409: #### Falco
        !          7410: #
        !          7411: #      Falco Data Products
        !          7412: #      440 Potrero Avenue
        !          7413: #      Sunnyvale, CA 940864-196
        !          7414: #      Vox: (800)-325-2648
        !          7415: #      Fax: (408)-745-7860
        !          7416: #      Net: techsup@charm.sys.falco.com
        !          7417: #
        !          7418: # Current Falco models as of 1995 are generally ANSI-compatible and support
        !          7419: # emulations of DEC VT-series, Wyse, and Televideo types.
1.1       deraadt  7420: #
                   7421:
1.13    ! millert  7422: # Test version for Falco ts-1. See <arpavax.hickman@ucb> for info
        !          7423: # This terminal was released around 1983 and was discontinued long ago.
        !          7424: # The standout and underline highlights are the same.
        !          7425: falco|ts1|ts-1|falco ts-1:\
1.8       tholo    7426:        :am:bs:\
1.13    ! millert  7427:        :co#80:it#8:li#24:\
        !          7428:        :al=\EE:bl=^G:cd=\EY:ce=\ET\EG0\010:cl=\E*:cm=\E=%+ %+ :\
        !          7429:        :cr=^M:dc=\EW:dl=\ER:do=^J:ei=\Er:ho=^^:im=\Eq:is=\Eu\E3:\
        !          7430:        :k0=^A0\r:kd=^J:kl=^H:kr=^L:ku=^K:le=^H:me=\Eg0:nd=^L:\
        !          7431:        :se=\Eg0:sf=^J:so=\Eg1:ta=^I:ue=\Eg0:up=^K:us=\Eg1:
        !          7432: falco-p|ts1p|ts-1p|falco ts-1 with paging option:\
        !          7433:        :am:bs:da:db:mi:ms:ul:\
        !          7434:        :co#80:it#8:li#24:\
        !          7435:        :al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET\EG0\010\Eg0:cl=\E*:\
        !          7436:        :cm=\E=%+ %+ :cr=^M:dc=\EW:dl=\ER:do=\E[B:ei=\Er:im=\Eq:\
        !          7437:        :is=\EZ\E3\E_c:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
        !          7438:        :le=^H:me=\Eg0:nd=\E[C:se=\Eg0:sf=^J:so=\Eg4:ta=^I:te=\E_b:\
        !          7439:        :ti=\E_d:ue=\Eg0:up=\E[A:us=\Eg1:
        !          7440: # (ts100: I added <rmam>/<smam> based on the init string -- esr)
        !          7441: ts100|ts100-sp|falco ts100-sp:\
        !          7442:        :am:mi:ms:xn:xo:\
        !          7443:        :co#80:it#8:li#24:vt#3:\
        !          7444:        :@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
        !          7445:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
        !          7446:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
        !          7447:        :ae=^O:al=\E~E:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
        !          7448:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
        !          7449:        :ct=\E[3g:dc=\E~W:dl=\E~R:do=^J:eA=\E(B\E)0:ei=:ho=\E[H:\
        !          7450:        :i1=\E~)\E~ea:ic=\E~Q:im=:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:\
        !          7451:        :k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:\
        !          7452:        :kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
        !          7453:        :ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:\
        !          7454:        :nd=\E[C:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
        !          7455:        :..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
        !          7456:        :sc=\E7:se=\E[m:sf=^J:so=\E[1;7m:sr=\EM:st=\EH:ta=^I:\
        !          7457:        :ue=\E[m:up=\E[A:us=\E[4m:
        !          7458: ts100-ctxt|falco ts-100 saving context:\
        !          7459:        :te=\E~_b:ti=\E~_d\E[2J:tc=ts100:
1.8       tholo    7460:
1.13    ! millert  7461: #### Florida Computer Graphics
1.5       tholo    7462: #
1.13    ! millert  7463:
        !          7464: # Florida Computer Graphics Beacon System, using terminal emulator program
        !          7465: # "host.com", as provided by FCG.  This description is for an early release
        !          7466: # of the "host" program.  Known bug: :cd: clears the whole screen, so it's
        !          7467: # commented out.
        !          7468:
        !          7469: # From: David Bryant <cbosg!djb> 1/7/83
        !          7470: beacon|FCG Beacon System:\
        !          7471:        :am:da:db:\
        !          7472:        :co#80:li#32:\
        !          7473:        :al=\EE:bl=\ESTART\r\E37\r\EEND\r:ce=\ET:cl=\EZ:\
        !          7474:        :cm=\E=%+ %+ :cr=^M:dc=\EW:dl=\ER:do=^J:ei=:ho=\EH:ic=\EQ:\
        !          7475:        :im=:le=^H:mb=\ESTART\r\E61\0541\r\EEND\r:\
        !          7476:        :me=\ESTART\r\E78\r\E70\0540\r\EEND\r:\
        !          7477:        :mr=\ESTART\r\E59\0541\r\EEND\r:nd=\EV:\
        !          7478:        :se=\ESTART\r\E70\0540\r\EEND\r:sf=^J:\
        !          7479:        :so=\ESTART\r\E70\0546\r\EEND\r:te=:\
        !          7480:        :ti=\ESTART\r\E2\0540\r\E12\r\EEND\r:\
        !          7481:        :ue=\ESTART\r\E60\0540\r\EEND\r:up=\EU:\
        !          7482:        :us=\ESTART\r\E60\0541\r\EEND\r:
        !          7483:
        !          7484: #### Fluke
1.5       tholo    7485: #
                   7486:
1.13    ! millert  7487: # The f1720a differences from ANSI: no auto margin, destructive
        !          7488: # tabs, # of lines, funny highlighting and underlining
        !          7489: f1720|f1720a|fluke 1720A:\
        !          7490:        :xt:\
        !          7491:        :co#80:li#16:sg#1:\
        !          7492:        :bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
        !          7493:        :do=\E[B:is=\E[H\E[2J:kd=^]:kl=^_:kr=^^:ku=^\:le=^H:me=\E[m:\
        !          7494:        :nd=\E[C:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ue=\E[m:up=\E[A:\
        !          7495:        :us=\E[4m:
        !          7496:
        !          7497: #### Liberty Electronics (Freedom)
1.5       tholo    7498: #
1.13    ! millert  7499: #      Liberty Electronics
        !          7500: #      48089 Fremont Blvd
        !          7501: #      Fremont CA 94538
        !          7502: #      Vox: (510)-623-6000
        !          7503: #      Fax: (510)-623-7021
1.5       tholo    7504:
1.13    ! millert  7505: # From: <faletti@berkeley.edu>
        !          7506: # (f100: added empty <acsc> to suppress a tic warning;
        !          7507: # made this relative to adm+sgr -- note that <invis> isn't
        !          7508: # known to work for f100 but does on the f110. --esr)
        !          7509: f100|freedom|freedom100|freedom model 100:\
        !          7510:        :am:bs:bw:hs:mi:ms:xo:\
        !          7511:        :co#80:li#24:\
        !          7512:        :ac=:ae=\E$:al=\EE:as=\E%:bl=^G:bt=\EI:cd=\EY:ce=\ET:\
        !          7513:        :ch=\E]%+ :cl=^Z:cm=\E=%+ %+ :cr=^M:ct=\E3:cv=\E[%+ :\
        !          7514:        :dc=\EW:dl=\ER:do=^J:ds=\Eg\Ef\r:ei=\Er:fs=^M:ho=^^:im=\Eq:\
        !          7515:        :ip=:is=\Eg\Ef\r\Ed:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
        !          7516:        :k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:\
        !          7517:        :kB=\EI:kb=^H:kd=^V:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:sf=^J:\
        !          7518:        :sr=\Ej:st=\E1:ta=^I:ts=\Eg\Ef:up=^K:vb=\Eb\Ed:\
        !          7519:        :tc=adm+sgr:
        !          7520: f100-rv|freedom-rv|freedom 100 in reverse video:\
        !          7521:        :is=\Eg\Ef\r\Eb:vb=\Ed\Eb:tc=f100:
        !          7522: # The f110 and f200 have problems with vi(1).  They use the ^V
        !          7523: # code for the down cursor key. When kcud1 is defined in terminfo
        !          7524: # as ^V, the Control Character Quoting capability (^V in insert mode)
        !          7525: # is lost! It cannot be remapped in vi because it is necessary to enter
        !          7526: # a ^V to to quote the ^V that is being remapped!!!
        !          7527: #
        !          7528: # f110/f200 users will have to decide whether
        !          7529: # to lose the down cursor key or the quoting capability. We will opt
        !          7530: # initially for leaving the quoting capability out, since use of VI
        !          7531: # is not generally applicable to most interactive applications
        !          7532: # (f110: added :ta:, :kh: & <kcbt> from f100 -- esr)
        !          7533: f110|freedom110|Liberty Freedom 110:\
        !          7534:        :bw@:es:\
        !          7535:        :it#8:ws#80:\
        !          7536:        :ae=\E%%:al=\EE:as=\E$:dl=\ER:do=^V:ds=\Ef\r:ei=\Er\EO:\
        !          7537:        :im=\EO\Eq:ip@:is@:k0=^AI\r:k;@:kA=\EE:kC=^^:kD=\EW:kE=\ET:\
        !          7538:        :kI=\EQ:kL=\ER:kS=\EY:mb=\EG2:md=\EG0:mh=\EG@:pf=\Ea:po=\E`:\
        !          7539:        :so=\EG<:sr=\EJ:ts=\Ef:vb=\Eb\Ed:ve=\E.2:vi=\E.1:vs=\E.2:\
        !          7540:        :tc=f100:
        !          7541: f110-14|Liberty Freedom 110 14inch:\
        !          7542:        :dc@:tc=f110:
        !          7543: f110-w|Liberty Freedom 110 - 132 cols:\
        !          7544:        :co#132:tc=f110:
        !          7545: f110-14w|Liberty Freedom 110 14in/132 cols:\
        !          7546:        :co#132:\
        !          7547:        :dc@:tc=f110:
        !          7548: # (f200: added <acsc> to suppress tic warnings re :as:/:ae: --esr)
        !          7549: f200|freedom200|Liberty Freedom 200:\
        !          7550:        :am:bs:es:hs:mi:ms:xo:\
        !          7551:        :co#80:it#8:li#24:ws#80:\
        !          7552:        :ac=:ae=\E%%:al=\EE:as=\E$:bl=^G:bt=\EI:cd=\EY:ce=\ET:\
        !          7553:        :ch=\E]%+ :cl=^Z:cm=\E=%+ %+ :cr=^M:cs=\Em0%+ %+ :ct=\E3:\
        !          7554:        :cv=\E[%+ :dc=\EW:dl=\ER:do=^V:ds=\Ef\r:ei=\Er:fs=^M:ho=^^:\
        !          7555:        :im=\Eq:k0=^AI\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
        !          7556:        :k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=\EE:kC=^^:\
        !          7557:        :kD=\EW:kE=\ET:kI=\EQ:kL=\ER:kS=\EY:kb=^H:kd=^V:kl=^H:kr=^L:\
        !          7558:        :ku=^K:le=^H:mb=\EG2:md=\EG0:mh=\EG@:nd=^L:pf=\Ea:po=\E`:\
        !          7559:        :sf=^J:so=\EG<:sr=\EJ:st=\E1:ts=\Ef:up=^K:vb=\Eo\En:ve=\E.1:\
        !          7560:        :vi=\E.0:vs=\E.1:\
        !          7561:        :tc=adm+sgr:
        !          7562: f200-w|Liberty Freedom 200 - 132 cols:\
        !          7563:        :co#132:tc=f200:
        !          7564: # The f200 has the ability to reprogram the down cursor key. The key is
        !          7565: # reprogrammed to ^J (linefeed). This value is remembered in non-volatile RAM,
        !          7566: # so powering the terminal off and on will not cause the change to be lost.
        !          7567: f200vi|Liberty Freedom 200 for vi:\
        !          7568:        :kd=^J:vb=\Eb\Ed:tc=f200:
        !          7569: f200vi-w|Liberty Freedom 200 - 132 cols for vi:\
        !          7570:        :co#132:tc=f200vi:
1.1       deraadt  7571:
1.13    ! millert  7572: #### GraphOn (go)
        !          7573: #
        !          7574: #      Graphon Corporation
        !          7575: #      544 Division Street
        !          7576: #      Campbell, CA 95008
        !          7577: #      Vox: (408)-370-4080
        !          7578: #      Fax: (408)-370-5047
        !          7579: #      Net: troy@graphon.com (Troy Morrison)
1.1       deraadt  7580: #
1.5       tholo    7581: #
1.13    ! millert  7582: # The go140 and go225 have been discontinued.  GraphOn now makes X terminals,
        !          7583: # including one odd hybrid that starts out life on power-up as a character
        !          7584: # terminal, than can be switched to X graphics mode (driven over the serial
        !          7585: # line) by an escape sequence.  No info on this beast yet.
        !          7586: # (go140: I added <rmam>/<smam> based on the init string -- esr)
        !          7587: go140|graphon go-140:\
        !          7588:        :bs:\
        !          7589:        :co#80:it#8:li#24:\
        !          7590:        :RA=\E[?7l:SA=\E[?7h:al=\E[L:cd=10\E[J:ce=\E[K:\
        !          7591:        :cl=10\E[H\E[2J:cm=\E[%i%2;%2H:dc=\E[P:dl=\E[M:ei=\E[4l:\
        !          7592:        :if=/usr/share/tabset/vt100:im=\E[4h:\
        !          7593:        :is=\E<\E=\E[?3l\E[?7l\E(B\E[J\E7\E[;r\E8\E[m\E[q:\
        !          7594:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kd=\EOB:ke=\E[?1l\E>:\
        !          7595:        :kh=\E[H:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
        !          7596:        :me=\E[m:nd=\E[C:se=\E[m:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:\
        !          7597:        :up=\E[A:us=\E[4m:
        !          7598: go140w|graphon go-140 in 132 column mode:\
        !          7599:        :am:\
        !          7600:        :co#132:\
        !          7601:        :is=\E<\E=\E[?3h\E[?7h\E(B\E[J\E7\E[;r\E8\E[m\E[q:tc=go140:
        !          7602: # Hacked up vt200 termcap to handle GO-225/VT220
        !          7603: # From: <edm@nwnexus.WA.COM>
        !          7604: # (go225: I added <rmam>/<smam> based on the init string -- esr)
        !          7605: go225|go-225|Graphon 225:\
        !          7606:        :am:bs:mi:xn:\
        !          7607:        :co#80:it#8:li#25:vt#3:\
        !          7608:        :RA=\E[?7l:SA=\E[?7h:al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
        !          7609:        :cm=\E[%i%d;%dH:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=^J:\
        !          7610:        :ei=\E[4l:ho=\E[H:im=\E[4h:\
        !          7611:        :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:k1=\EOP:k2=\EOQ:\
        !          7612:        :k3=\EOR:k4=\EOS:kb=^H:kd=\E[B:ke=\E>:kh=\E[H:kl=\E[D:\
        !          7613:        :kr=\E[C:ks=\E=:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:\
        !          7614:        :mr=\E[7m:nd=\E[C:r1=\E[\041p\E[?7h\E[2;1;1#w:rc=\E8:\
        !          7615:        :rf=/usr/share/tabset/vt100:sc=\E7:se=\E[27m:sf=\ED:\
        !          7616:        :so=\E[7m:sr=\EM:ta=^I:te=\E[\041p\E[?7h\E[2;1;1#w:\
        !          7617:        :ti=\E[2;0#w\E[1;25r:ue=\E[24m:up=\E[A:us=\E[4m:
1.1       deraadt  7618:
1.13    ! millert  7619: #### Harris (Beehive)
        !          7620: #
        !          7621: # Bletch.  These guys shared the Terminal Brain Damage laurels with Hazeltine.
        !          7622: # Their terminal group is ancient history now (1995) though the parent
        !          7623: # company is still in business.
1.1       deraadt  7624: #
1.13    ! millert  7625:
        !          7626: # Beehive documentation is undated and marked Preliminary and has no figures
        !          7627: # so we must have early Superbee2 (Model 600, according to phone conversation
        !          7628: # with mfr.). It has proved reliable except for some missing padding
        !          7629: # (notably after \EK and <nl> at bottom of screen).
1.1       deraadt  7630: #
1.13    ! millert  7631: # The key idea is that AEP mode is poison for :cm: & that US's in
        !          7632: # the local memory should be avoided like the plague. That means
        !          7633: # that the 2048 character local buffer is used as 25 lines of 80
        !          7634: # characters, period. No scrolling local memory, folks. It also
        !          7635: # appears that we cannot use naked INS LINE feature since it uses
        !          7636: # US. The sbi fakes :al: with an 80-space insert that may be too
        !          7637: # slow at low speeds; also spaces get converted to \040 which is
        !          7638: # too long for some programs (not vi).  DEL LINE is ok but slow.
1.1       deraadt  7639: #
1.13    ! millert  7640: # The <nl> string is designed for last line of screen ONLY; cup to
        !          7641: # 25th line corrects the motion inherent in scrolling to Page 1.
1.1       deraadt  7642: #
1.13    ! millert  7643: # There is one understood bug. It is that the screen appears to
        !          7644: # pop to a new (blank) page after a :nw:, or leave a half-line
        !          7645: # ellipsis to a quad that is the extra 48 memory locations. The
        !          7646: # data received is dumped into memory but not displayed.  Not to
        !          7647: # worry if :cm: is being used; the lines not displayed will be,
        !          7648: # whenever the cursor is moved up there. Since :cm: is addressed
        !          7649: # relative to MEMORY of window, nothing is lost; but beware of
        !          7650: # relative cursor motion (:up:,:do:,:nd:,:le:). Recommended,
        !          7651: # therefore, is setenv MORE -c .
1.1       deraadt  7652: #
1.13    ! millert  7653: # WARNING: Not all features tested.
1.1       deraadt  7654: #
1.13    ! millert  7655: # Timings are assembled from 3 sources. Some timings may reflect
        !          7656: # SB2/Model 300 that were used if more conservative.
        !          7657: # Tested on a Model 600 at 1200 and 9600 bd.
1.1       deraadt  7658: #
1.13    ! millert  7659: # The BACKSPACEkb option is cute. The NEWLINE key, so cleverly
        !          7660: # placed on the keyboard and useless because of AEP, is made
        !          7661: # into a backspace key. In use ESC must be pressed twice (to send)
        !          7662: # and sending ^C must be prefixed by ESC to avoid that weird
        !          7663: # transmit mode associated with ENTER key.
1.1       deraadt  7664: #
1.13    ! millert  7665: # IF TERMINAL EVER GOES CATATONIC with the cursor buzzing across
        !          7666: # the screen, then it has dropped into ENTER mode; hit
        !          7667: # RESET--ONLINE--!tset.
1.1       deraadt  7668: #
1.13    ! millert  7669: # As delivered this machine has a FATAL feature that will throw
        !          7670: # it into that strange transmit state (SPOW) if the space bar is
        !          7671: # hit after a CR is received, but before receiving a LF (or a
        !          7672: # few others).
1.1       deraadt  7673: #
1.13    ! millert  7674: # The circuits MUST be modified to eliminate the SPOW latch.
        !          7675: # This is done by strapping on chip A46 of the I/O board; cut
        !          7676: # the p.c. connection to Pin 5 and strap Pin 5 to Pin 8 of that
        !          7677: # chip. This mod has been checked out on a Mod 600 of Superbee II.
        !          7678: # With this modification absurdly high timings on cr are
        !          7679: # unnecessary.
1.1       deraadt  7680: #
1.13    ! millert  7681: # NOTE WELL that the rear panel switch should be set to CR/LF,
        !          7682: # not AEP!
        !          7683: #
        !          7684: sb1|beehive superbee:\
        !          7685:        :am:bs:bw:da:db:mi:ul:xb:\
        !          7686:        :co#80:li#25:sg#1:\
        !          7687:        :al=\EN\EL\EQ                                                                                \EP \EO\ER\EA:\
        !          7688:        :bl=^G:bt=\E`:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EF%r%03%03:cr=\r:\
        !          7689:        :ct=\E3:dc=\EP:dl=\EM:do=^J:ei=\ER:ho=\EH:im=\EQ\EO:\
        !          7690:        :is=\EE\EX\EZ\EO\Eb\Eg\ER:k0=\E2:k1=\Ep:k2=\Eq:k3=\Er:\
        !          7691:        :k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:k9=\E1:kE=\EK:kI=\EQ\EO:\
        !          7692:        :kL=\EM:kM=\ER:kS=\EJ:kb=^_:kd=\EB:kh=\EH:kl=\ED:kr=\EC:\
        !          7693:        :ku=\EA:l0=TAB CLEAR:l9=TAB SET:le=^H:me=\E_3:nd=\EC:\
        !          7694:        :se=\E_3:sf=^J:so=\E_1:st=\E1:ta=^I:te=:ti=\EO:ue=\E_3:\
        !          7695:        :up=\EA:us=\E_0:
        !          7696: sbi|superbee|beehive superbee at Indiana U.:\
        !          7697:        :xb:\
        !          7698:        :al=1\EN\EL\EQ \EP \EO\ER\EA:cr=\r:tc=sb1:
        !          7699: # Alternate (older) description of Superbee - f1=escape, f2=^C.
        !          7700: # Note: there are at least 3 kinds of superbees in the world.  The sb1
        !          7701: # holds onto escapes and botches ^C's.  The sb2 is the best of the 3.
        !          7702: # The sb3 puts garbage on the bottom of the screen when you scroll with
        !          7703: # the switch in the back set to CRLF instead of AEP.  This description
        !          7704: # is tested on the sb2 but should work on all with either switch setting.
        !          7705: # The f1/f2 business is for the sb1 and the :xb: can be taken out for
        !          7706: # the other two if you want to try to hit that tiny escape key.
        !          7707: # This description is tricky: being able to use cup depends on there being
        !          7708: # 2048 bytes of memory and the hairy <nl> string.
        !          7709: superbee-xsb|beehive super bee:\
        !          7710:        :am:da:db:xb:\
        !          7711:        :co#80:it#8:li#25:\
        !          7712:        :cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EF%r%3%3:cr=\r:ct=\E3:dc=\EP:\
        !          7713:        :dl=\EM:do=^J:ho=\EH:is=\EH\EJ:k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:\
        !          7714:        :k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:kd=\EB:kh=\EH:kl=\ED:kr=\EC:\
        !          7715:        :ku=\EA:le=^H:me=\E_3:nd=\EC:se=\E_3:\
        !          7716:        :sf=\n\0\0\0\n\0\0\0\EA\EK\0\0\0\ET\ET:so=\E_1:st=\E1:\
        !          7717:        :ta=^I:up=\EA:ve=^J:
        !          7718: # This loses on lines > 80 chars long, use at your own risk
        !          7719: superbeeic|super bee with insert char:\
        !          7720:        :ei=\ER:ic=:im=\EQ:tc=superbee-xsb:
        !          7721: sb2|sb3|fixed superbee:\
        !          7722:        :xb@:tc=superbee:
        !          7723:
        !          7724: # Reports are that most of these Beehive entries (except superbee) have not
        !          7725: # been tested and do not work right.  :se: is a trouble spot.  Be warned.
        !          7726:
        !          7727: # (bee: :ic: was empty, which is obviously bogus -- esr)
        !          7728: beehive|bee|harris beehive:\
        !          7729:        :am:bs:mi:\
        !          7730:        :co#80:li#24:\
        !          7731:        :al=\EL:bt=\E>:cd=\EJ:ce=\EK:cl=\EE:cm=\EF%+ %+ :dc=\EP:\
        !          7732:        :dl=\EM:do=\EB:ei=\E@:ho=\EH:im=\EQ:kA=\EL:kB=\E>:kC=\EE:\
        !          7733:        :kD=\EP:kE=\EK:kI=\EQ:kL=\EM:kM=\E@:kb=^H:kd=\EB:kh=\EH:\
        !          7734:        :kl=\ED:kr=\EC:ku=\EA:le=^H:me=\Ed@:nd=\EC:se=\Ed@:so=\EdP:\
        !          7735:        :ue=\Ed@:up=\EA:us=\Ed`:
        !          7736: # set tab is ^F, clear (one) tab is ^V, no way to clear all tabs.
        !          7737: # good grief - does this entry make :sg:/:ug: when it doesn't have to?
        !          7738: # look at those spaces in :se:/:so:.  Seems strange to me...
        !          7739: # (beehive: :if=/usr/share/tabset/beehive: removed, no such file.  If you
        !          7740: # really care, cook up one using ^F -- esr)
        !          7741: beehive3|bh3m|beehiveIIIm|harris beehive 3m:\
        !          7742:        :am:bs:\
        !          7743:        :co#80:it#8:li#20:\
        !          7744:        :al=\023:bl=^G:cd=^R:ce=^P:cl=^E^R:cr=^M:dl=\021:do=^J:ho=^E:\
        !          7745:        :le=^H:ll=^E^K:nd=^L:se= ^_:sf=^J:so=^] :st=^F:ta=^I:up=^K:
        !          7746: beehive4|bh4|beehive 4:\
        !          7747:        :am:\
        !          7748:        :co#80:li#24:\
        !          7749:        :bl=^G:cd=\EJ:ce=\EK:cl=\EE:cr=^M:do=^J:ho=\EH:le=\ED:nd=\EC:\
        !          7750:        :sf=^J:up=\EA:
        !          7751: microb|microbee|micro bee series:\
        !          7752:        :am:bs:\
        !          7753:        :co#80:it#8:li#24:\
        !          7754:        :bl=^G:cd=\EJ:ce=\EK:cl=\EE:cm=\EF%+ %+ :cr=^M:do=^J:k1=\Ep:\
        !          7755:        :k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:k9=\Ex:\
        !          7756:        :kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:me=\Ed@:nd=\EC:\
        !          7757:        :se=\Ed@:sf=^J:so= \EdP:ta=^I:ue=\Ed@:up=\EA:us=\Ed`:
1.1       deraadt  7758:
1.13    ! millert  7759: # 8675, 8686, and bee from Cyrus Rahman
        !          7760: # (8675: changed k10, k11...k16 to k;, F1...F6 -- esr)
        !          7761: ha8675|harris 8675:\
        !          7762:        :F1=^W:F2=\ER:F3=\EE:F4=\EI:F5=\Ei:F6=\Eg:\
        !          7763:        :is=\ES\E#\E*\Eh\Em\E?\E1\E9\E@\EX\EU:k1=^F:k2=^P:k3=^N:\
        !          7764:        :k4=^V:k5=^J:k6=^T:k7=^H:k8=\177:k9=\Ee:k;=\Ed:\
        !          7765:        :tc=bee:
        !          7766: # (8686: changed k10, k11...k16 to k;, F1...F6; fixed broken continuation
        !          7767: # in :is: -- esr)
        !          7768: ha8686|harris 8686:\
        !          7769:        :F1=\EW:F2=\002\E{\003:F3=\002\E|\003:F4=\002\E}\003:\
        !          7770:        :F5=\002\E~\003:F6=\002\E\177\003:\
        !          7771:        :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#:\
        !          7772:        :k1=\002\Ep\003:k2=\002\Eq\003:k3=\002\Er\003:\
        !          7773:        :k4=\002\Es\003:k5=\E3:k6=\EI:k7=\ER:k8=\EJ:k9=\E(:k;=\Ej:tc=bee:
1.1       deraadt  7774:
1.13    ! millert  7775: #### Hazeltine
        !          7776: #
        !          7777: # Hazeltine appears to be out of the terminal business as of 1995.  These
        !          7778: # guys were co-owners of the Terminal Brain Damage Hall Of Fame along with
        !          7779: # Harris. They have a hazeltine.com domain (but no web page there ) and can
        !          7780: # be reached at:
        !          7781: #
        !          7782: #      Hazeltine
        !          7783: #      450 East Pulaski Road
        !          7784: #      Greenlawn, New York 11740
1.1       deraadt  7785: #
1.13    ! millert  7786: # As late as 1993, manuals for the terminal product line could still be
        !          7787: # purchased from:
1.1       deraadt  7788: #
1.13    ! millert  7789: #      TRW Customer Service Division
        !          7790: #      15 Law Drive
        !          7791: #      P.O. Box 2076
        !          7792: #      Fairfield, NJ 07007-2078
1.1       deraadt  7793: #
1.13    ! millert  7794: # They're now (1998) a subsidiary of General Electric, operating under the
        !          7795: # marque "GEC-Marconi Hazeltine" and doing military avionics.  Web page
        !          7796: # at <http://www.gec.com/cpd/1ncpd.htm#1.55>.
1.1       deraadt  7797: #
                   7798:
1.13    ! millert  7799: # Since :nd: is blank, when you want to erase something you
        !          7800: # are out of luck.  You will have to do ^L's a lot to
        !          7801: # redraw the screen.  h1000 is untested.  It doesn't work in
        !          7802: # vi - this terminal is too dumb for even vi.  (The code is
        !          7803: # there but it isn't debugged for this case.)
        !          7804: hz1000|hazeltine 1000:\
        !          7805:        :bs:\
        !          7806:        :co#80:li#12:\
        !          7807:        :bl=^G:cl=^L:cr=^M:do=^J:ho=^K:le=^H:nd= :sf=^J:
        !          7808: # From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
        !          7809: hz1420|hazeltine 1420:\
        !          7810:        :am:bs:\
        !          7811:        :co#80:li#24:\
        !          7812:        :al=\E^Z:bl=^G:cd=\E^X:ce=\E^O:cl=\E^\:cm=\E\021%r%.%+ :\
        !          7813:        :cr=^M:dl=\E^S:do=^J:le=^H:nd=^P:se=\E^Y:sf=^J:so=\E^_:ta=^N:\
        !          7814:        :up=\E^L:
        !          7815: # New "safe" cursor movement (11/87) from <cgs@umd5.umd.edu>.  Prevents
        !          7816: # freakout with out-of-range args and tn3270.  No hz since it needs to
        !          7817: # receive tildes.
        !          7818: hz1500|hazeltine 1500:\
        !          7819:        :am:bs:hz:\
        !          7820:        :co#80:li#24:\
        !          7821:        :al=~\032:bl=^G:cd=~\030:ce=~^O:cl=~^\:\
        !          7822:        :cm=~\021%r%>^^ %+`%+`:cr=^M:dl=~\023:do=~^K:ho=~^R:kd=^J:\
        !          7823:        :kh=~^R:kl=^H:kr=^P:ku=~^L:le=^H:nd=^P:se=~^Y:sf=^J:so=~^_:\
        !          7824:        :up=~^L:
        !          7825: # h1510 assumed to be in sane escape mode.  Else use h1500.
        !          7826: # (h1510: early versions of this entry apparently had ":se=\E^_:,
        !          7827: # :so=\E^Y:, but these caps were commented out in 8.3; also,
        !          7828: # removed incorrect and overridden ":do=^J:" -- esr)
        !          7829: hz1510|hazeltine 1510:\
        !          7830:        :am:bs:\
        !          7831:        :co#80:li#24:\
        !          7832:        :al=\E^Z:bl=^G:cd=\E^X:ce=\E^O:cl=\E^\:cm=\E\021%r%.%.:\
        !          7833:        :cr=^M:dl=\E^S:do=\E^K:le=^H:nd=^P:sf=^J:up=\E^L:
        !          7834: # Hazeltine 1520
        !          7835: # The following switch settings are assumed for normal operation:
        !          7836: #      FULL            CR              U/L_CASE        ESCAPE
        !          7837: #      FORMAT_OFF      EOM_A_OFF       EOM_B_OFF       WRAPAROUND_ON
        !          7838: # Other switches may be set for operator convenience or communication
        !          7839: # requirements.
        !          7840: hz1520|Hazeltine 1520:\
        !          7841:        :am:bs:bw:ms:\
        !          7842:        :co#80:li#24:\
        !          7843:        :al=\E^Z:bl=^G:cd=\E^X:ce=\E^O:cl=\E^\:cm=\E\021%r%.%.:\
        !          7844:        :cr=^M:dl=\E^S:do=^J:ho=\E^R:kA=\E^Z:kC=\E^\:kE=\E^O:\
        !          7845:        :kL=\E^S:kS=\E^X:kb=^H:kd=\E^K:kh=\E^R:kl=^H:kr=^P:ku=\E^L:\
        !          7846:        :le=^H:md=\E^_:me=\E^Y:nd=^P:r1=\E$\E\005\E?\E\031:\
        !          7847:        :se=\E^Y:sf=^J:so=\E^_:up=\E^L:
        !          7848: # This version works with the escape switch off
        !          7849: # (h1520: removed incorrect and overridden ":do=^J:" -- esr)
        !          7850: hz1520-noesc|hazeltine 1520:\
        !          7851:        :am:hz:\
1.1       deraadt  7852:        :co#80:li#24:\
1.13    ! millert  7853:        :al=~^Z:bl=^G:cd=~^X:ce=~^O:cl=~^\:cm=~\021%r%.%.:cr=^M:\
        !          7854:        :dl=~^S:do=~^K:ho=~^R:le=^H:nd=^P:se=~^Y:sf=^J:so=~^_:up=~^L:
        !          7855: # Note: the h1552 appears to be the first Hazeltine terminal which
        !          7856: # is not braindamaged.  It has tildes and backprimes and everything!
        !          7857: # Be sure the auto lf/cr switch is set to cr.
        !          7858: hz1552|hazeltine 1552:\
        !          7859:        :bs:\
        !          7860:        :al=\EE:dl=\EO:do=^J:k1=\EP:k2=\EQ:k3=\ER:l1=blue:l2=red:\
        !          7861:        :l3=green:\
        !          7862:        :tc=vt52:
        !          7863: hz1552-rv|hazeltine 1552 reverse video:\
        !          7864:        :do=^J:se=\ET:so=\ES:tc=hz1552:
        !          7865: # Note: h2000 won't work well because of a clash between upper case and ~'s.
        !          7866: hz2000|hazeltine 2000:\
        !          7867:        :am:bs:nc:\
        !          7868:        :co#74:li#27:\
        !          7869:        :al=~\032:bl=^G:cl=~\034:cm=~\021%r%.%.:dl=~\023:do=^J:\
        !          7870:        :ho=~^R:le=^H:pc=\177:sf=^J:
        !          7871: # Date: Fri Jul 23 10:27:53 1982.  Some unknown person wrote:
        !          7872: # I tested this termcap entry for the Hazeltine Esprit with vi. It seems
        !          7873: # to work ok. There is one problem though if one types a lot of garbage
        !          7874: # characters very fast vi seems not able to keep up and hangs while trying
        !          7875: # to insert. That's in insert mode while trying to insert in the middle of
        !          7876: # a line. It might be because the Esprit doesn't have insert char and delete
        !          7877: # char as a built in function. Vi has to delete to end of line and then
        !          7878: # redraw the rest of the line.
        !          7879: esprit|Hazeltine Esprit I:\
        !          7880:        :am:bs:bw:\
1.8       tholo    7881:        :co#80:li#24:\
1.13    ! millert  7882:        :al=\E^Z:bl=^G:bt=\E^T:cd=\E^W:ce=\E^O:cl=\E^\:\
        !          7883:        :cm=\E\021%r%.%.:cr=^M:dl=\E^S:do=\E^K:ho=\E^R:is=\E?:\
        !          7884:        :k0=^B0^J:k1=^B1^J:k2=^B2^J:k3=^B3^J:k4=^B4^J:k5=^B5^J:\
        !          7885:        :k6=^B6^J:k7=^B7^J:k8=^B8^J:k9=^B9^J:kb=^H:kd=\E^K:ke=\E>:\
        !          7886:        :kh=\E^R:kl=^H:kr=^P:ks=\E<:ku=\E^L:l0=0:l1=1:l2=2:l3=3:l4=4:\
        !          7887:        :l5=5:l6=6:l7=7:l8=8:l9=9:le=^H:nd=^P:se=\E^Y:sf=^J:so=\E^_:\
        !          7888:        :up=\E^L:
        !          7889: esprit-am|hazeltine esprit auto-margin:\
        !          7890:        :am:tc=esprit:
        !          7891: # Hazeltine Modular-1 from Cliff Shackelton <ittvax!ittral!shackelt> via BRL
        !          7892: # Vi it seems always wants to send a control J for "do" and it turned out
        !          7893: # that the terminal would work somewhat if the auto LF/CR was turned off.
        !          7894: # (hmod1: removed :dn=~^K: -- esr)
        !          7895: hmod1|Hazeltine Modular 1:\
        !          7896:        :am:bs:hz:\
1.1       deraadt  7897:        :co#80:li#24:\
1.13    ! millert  7898:        :al=~^Z:bl=^G:bt=~^T:cl=~^\:cm=~\021%r%.%.:cr=^M:dl=~^S:\
        !          7899:        :do=~^K:ho=~^R:kd=~^K:kh=~^R:kl=^H:kr=^P:ku=~^L:le=^H:me=~^Y:\
        !          7900:        :nd=^P:rc=~^Q:sc=~^E:se=~^Y:sf=^J:so=~^_:up=~^L:
        !          7901: #
        !          7902: # Hazeltine Executive 80 Model 30 (1554?)
        !          7903: #      from  Will Martin <control@ALMSA-1.ARPA> via BRL
        !          7904: # Like VT100, except for different "am" behavior.
        !          7905: hazel|exec80|h80|he80|Hazeltine Executive 80:\
        !          7906:        :am:bs:pt:\
        !          7907:        :co#80:it#8:li#24:vt#3:\
        !          7908:        :bl=^G:cd=50\E[J:ce=3\E[K:cl=50\E[;H\E[2J:\
        !          7909:        :cm=5\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:do=^J:ho=\E[H:\
        !          7910:        :is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
        !          7911:        :kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
        !          7912:        :ku=\EOA:le=^H:mb=2\E[5m:md=2\E[1m:me=2\E[m:mr=2\E[7m:\
        !          7913:        :nd=2\E[C:nl=^J:r1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
        !          7914:        :rc=\E8:rf=/usr/share/tabset/vt100:sc=\E7:se=2\E[m:\
        !          7915:        :so=2\E[7m:sr=5\EM:ta=^I:ue=2\E[m:up=2\E[A:us=2\E[4m:
1.1       deraadt  7916:
1.13    ! millert  7917: #### Hewlett-Packard (hp)
1.1       deraadt  7918: #
1.13    ! millert  7919: #      Hewlett-Packard
        !          7920: #      8000 Foothills Blvd
        !          7921: #      Roseville, CA 95747
        !          7922: #      Vox: 1-(916)-785-4363   (Technical response line for VDTs)
        !          7923: #           1-(800)-633-3600   (General customer support)
1.8       tholo    7924: #
                   7925: #
1.13    ! millert  7926: # As of March 1998, HP no longer has any terminals in production.
        !          7927: # The 700 series (22, 32, 41, 44, 92, 94, 96, 98) is still being
        !          7928: # supported (they still have parts). So are the 2392a and 2394a.
        !          7929: # See the WORKSTATION CONSOLES section for the 700s.
1.8       tholo    7930: #
1.1       deraadt  7931:
1.13    ! millert  7932: # Generic HP terminal - this should (hopefully) work on any HP terminal.
        !          7933: hpgeneric|hp|hewlett-packard generic terminal:\
        !          7934:        :am:bs:da:db:mi:pt:xs:\
        !          7935:        :co#80:li#24:lm#0:vt#6:\
        !          7936:        :al=\EL:bl=^G:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\EH\EJ:\
        !          7937:        :cm=\E&a%r%dc%dY:cr=^M:ct=\E3:cv=\E&a%dY:dc=\EP:dl=\EM:\
        !          7938:        :do=^J:ei=\ER:im=\EQ:kB=\Ei:kb=^H:le=^H:me=\E&d@:nd=\EC:\
        !          7939:        :se=\E&d@:sf=^J:so=\E&dJ:st=\E1:ta=^I:ue=\E&d@:up=\EA:\
        !          7940:        :us=\E&dD:
        !          7941:
        !          7942: hp110|hewlett-packard model 110 portable:\
        !          7943:        :li#16:tc=hpgeneric:
1.1       deraadt  7944:
1.13    ! millert  7945: hp+pfk+cr|hp function keys with CR:\
        !          7946:        :k1=\Ep\r:k2=\Eq\r:k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:\
        !          7947:        :k7=\Ev\r:k8=\Ew\r:
1.5       tholo    7948:
1.13    ! millert  7949: hp+pfk-cr|hp function keys w/o CR:\
        !          7950:        :k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:
1.1       deraadt  7951:
1.13    ! millert  7952: # The hp2621s use the same keys for the arrows and function keys,
        !          7953: # but not separate escape sequences. These definitions allow the
        !          7954: # user to use those keys as arrow keys rather than as function
        !          7955: # keys.
        !          7956: hp+pfk+arrows|hp alternate arrow definitions:\
        !          7957:        :k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:kF=\Er\r:kH=\Eq\r:kR=\Es\r:\
        !          7958:        :kd=\Ew\r:kh=\Ep\r:kl=\Eu\r:kr=\Ev\r:ku=\Et\r:
1.1       deraadt  7959:
1.13    ! millert  7960: hp+arrows|hp arrow definitions:\
        !          7961:        :kF=\ES:kH=\EF:kR=\ET:kd=\EB:kh=\Eh:kl=\ED:kr=\EC:ku=\EA:
1.1       deraadt  7962:
1.13    ! millert  7963: # Generic stuff from the HP 262x series
1.1       deraadt  7964: #
1.13    ! millert  7965: hp262x|HP 262x terminals:\
        !          7966:        :xs:\
        !          7967:        :cd=\EJ:dc=\EP:ip=:kA=\EL:kD=\EP:kE=\EK:kF=\ES:kI=\EQ:kL=\EM:\
        !          7968:        :kM=\ER:kN=\EU:kP=\EV:kR=\ET:kS=\EJ:kd=\EB:ke=\E&s0A:kh=\Eh:\
        !          7969:        :kl=\ED:kr=\EC:ks=\E&s1A:ku=\EA:mb=\E&dA:me=\E&d@:mk=\E&dS:\
        !          7970:        :mr=\E&dB:\
        !          7971:        :..sa=\E&d%'@'%?%p1%t%'B'%|%;%?%p2%t%'D'%|%;%?%p3%t%'B'%|%;%?%p4%t%'A'%|%;%c:\
        !          7972:        :se=\E&d@:sf=\ES:so=\E&dB:ta=\011:ue=\E&d@:us=\E&dD:
1.1       deraadt  7973:
1.13    ! millert  7974: # Note: no :ho: on HPs since that homes to top of memory, not screen.
        !          7975: # Due to severe 2621 braindamage, the only way to get the arrow keys to
        !          7976: # transmit anything at all is to turn on the function key labels
        !          7977: # with :ks:, and even then the user has to hold down shift!
        !          7978: # The default 2621 turns off the labels except when it has to to
        !          7979: # enable the function keys. If your installation prefers labels
        !          7980: # on all the time, or off all the time (at the "expense" of the
        !          7981: # function keys), use 2621-nl or 2621-wl.
        !          7982: #
        !          7983: # Note: there are newer ROMs for 2621's that allow you to set
        !          7984: # strap A so the regular arrow keys xmit \EA, etc, as with the
        !          7985: # 2645. However, even with this strap set, the terminal stops
        !          7986: # xmitting if you reset it, until you unset and reset the strap!
        !          7987: # Since there is no way to set/unset the strap with an escape
        !          7988: # sequence, we don't use it in the default.
        !          7989: # If you like, you can use 2621-ba (brain-damaged arrow keys).
        !          7990: hp2621-ba|2621 w/new rom and strap A set:\
        !          7991:        :ke@:ks@:tc=hp+arrows:\
        !          7992:        :tc=hp2621:
1.2       deraadt  7993:
1.13    ! millert  7994: # hp2621 with function labels. Most of the time they are off,
        !          7995: # but inside vi, the function key labels appear. You have to
        !          7996: # hold down shift to get them to xmit.
        !          7997: hp2621|hp2621a|hp2621A|2621|2621a|2621A|hp2621-wl|2621-wl|hp 2621 w/labels:\
        !          7998:        :is=\E&jA\r:ke=\E&jA:\
        !          7999:        :tc=hp2621-fl:
        !          8000: hp2621-fl|hp 2621:\
        !          8001:        :xo:xs@:\
        !          8002:        :pb#19200:\
        !          8003:        :bt=\Ei:cm=\E&a%r%dc%dY:dc=\EP:ip=:is=\E&j@\r:ke=\E&j@:\
        !          8004:        :ks=\E&jB:me=\E&d@:se=\E&d@:so=\E&dD:ta=\011:ue=\E&d@:\
        !          8005:        :us=\E&dD:\
        !          8006:        :tc=hp+pfk+cr:tc=hpgeneric:
1.1       deraadt  8007:
1.13    ! millert  8008: # To use hp2621p printer, setenv TERM=2621p, PRINTER=2612p
        !          8009: hp2621p|hp 2621 with printer:\
        !          8010:        :pf=\E&p13C:po=\E&p11C:tc=hp2621:
1.1       deraadt  8011:
1.13    ! millert  8012: hp2621p-a|hp2621p with fn as arrows:\
        !          8013:        :tc=hp+pfk+arrows:tc=hp2621p:
1.1       deraadt  8014:
1.13    ! millert  8015: # hp2621 with k45 keyboard
        !          8016: hp2621-k45|hp2621k45|k45|hp 2621 with 45 keyboard:\
        !          8017:        :kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:\
        !          8018:        :ku=\EA:\
        !          8019:        :tc=hp2621:
1.1       deraadt  8020:
1.13    ! millert  8021: # 2621 using all 48 lines of memory, only 24 visible at any time.
        !          8022: hp2621-48|48 line 2621:\
        !          8023:        :li#48:\
        !          8024:        :cm=\E&a%r%dc%dR:cv=\E&a%dR:ho=\EH:tc=hp2621:
1.1       deraadt  8025:
1.13    ! millert  8026: # 2621 with no labels ever. Also prevents vi delays on escape.
        !          8027: hp2621-nl|hp 2621 with no labels:\
        !          8028:        :kd@:ke@:kh@:kl@:kr@:ks@:ku@:tc=hp2621-fl:
1.1       deraadt  8029:
1.13    ! millert  8030: # Needed for UCB ARPAVAX console, since lsi-11 expands tabs
        !          8031: # (wrong).
1.1       deraadt  8032: #
1.13    ! millert  8033: hp2621-nt|hp 2621 w/no tabs:\
        !          8034:        :ta@:tc=hp2621:
1.1       deraadt  8035:
1.13    ! millert  8036: # Hp 2624 B with 4 or 10 pages of memory.
        !          8037: #
        !          8038: # Some assumptions are made with this entry. These settings are
        !          8039: # NOT set up by the initialization strings.
1.1       deraadt  8040: #
1.13    ! millert  8041: # Port Configuration
        !          8042: #      RecvPace=Xon/Xoff
        !          8043: #      XmitPace=Xon/Xoff
        !          8044: #      StripNulDel=Yes
1.1       deraadt  8045: #
1.13    ! millert  8046: # Terminal Configuration
        !          8047: #      InhHndShk=Yes
        !          8048: #      InhDC2=Yes
        !          8049: #      XmitFnctn(A)=No
        !          8050: #      InhEolWrp=No
1.1       deraadt  8051: #
1.13    ! millert  8052: # Note: the 2624 DOES have a true :ho:, believe it or not!
1.1       deraadt  8053: #
1.13    ! millert  8054: # The 2624 has an "error line" to which messages can be sent.
        !          8055: # This is CLOSE to what is expected for a "status line". However,
        !          8056: # after a message is sent to the "error line", the next carriage
        !          8057: # return is EATEN and the "error line" is turned back off again!
        !          8058: # So I guess we can't define :hs:, :es:, :ws:, :ds:, :fs:, :ts:.
1.1       deraadt  8059: #
1.13    ! millert  8060: # This entry supports emacs (and any other program that uses raw
        !          8061: # mode) at 4800 baud and less. I couldn't get the padding right
        !          8062: # for 9600.
        !          8063: #
        !          8064: # (hp2624: replaced NUL sequences in flash with mandatory pauses -- esr)
        !          8065: hp2624|hp2624a|hp2624b|hp2624b-4p|Hewlett Packard 2624 B:\
        !          8066:        :da:db:\
        !          8067:        :lm#96:\
        !          8068:        :vb=\E&w13F\E&w12F\E&w13F\E&w12F:tc=hp+labels:tc=scrhp:
        !          8069:
        !          8070: # This hp2626 entry does not use any of the fancy windowing stuff
        !          8071: # of the 2626.
1.1       deraadt  8072: #
1.13    ! millert  8073: # Indeed, terminfo does not yet handle such stuff. Since changing
        !          8074: # any window clears memory, it is probably not possible to use
        !          8075: # this for screen opt.
1.1       deraadt  8076: #
1.13    ! millert  8077: # ed is incredibly slow most of the time - I am guessing at the
        !          8078: # exact padding. Since the terminal uses xoff/xon this is intended
        !          8079: # only for cost computation, so that the terminal will prefer el
        !          8080: # or even dl1 which is probably faster!
1.1       deraadt  8081: #
1.13    ! millert  8082: # \ED\EJ\EC hack for ed from Ed Bradford - apparently ed is only
        !          8083: # extra slow on the last line of the window.
1.1       deraadt  8084: #
1.13    ! millert  8085: # The padding probably should be changed.
        !          8086: #
        !          8087: hp2626|hp2626a|hp2626p|hp 2626:\
        !          8088:        :da:db:\
        !          8089:        :lm#0:pb#19200:\
        !          8090:        :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:
        !          8091:
        !          8092: # This entry is for sysline. It allocates a 23 line window with
        !          8093: # a 115 line workspace for regular use, and a 1 line window for
        !          8094: # the status line.
1.1       deraadt  8095: #
1.13    ! millert  8096: # This assumes port 2 is being used.
        !          8097: # Turn off horizontal line, Create ws #1 with 115 lines,
        !          8098: # Create ws #2 with 1 line, Create window #1 lines 1-23,
        !          8099: # Create window #2 lines 24-24, Attach cursor to workspace #1.
        !          8100: # Note that this clears the tabs so it must be done by tset before
        !          8101: # it sets the tabs.
        !          8102: #
        !          8103: hp2626-s|hp 2626 using only 23 lines:\
        !          8104:        :es:hs:\
        !          8105:        :li#23:\
        !          8106:        :fs=\E&d@\E&w7f2p1I\E&w4f1I:\
        !          8107:        :i1=\E&q3t0{0H \E&w0f115n1I \E&w0f1n2I \E&w2f1i0d0u22l0S \E&w2f2i0d23u23l0S \E&w7f2p1I \r:\
        !          8108:        :ts=\E&w7f2p2I\E&w4f2I\r\EK\E&a%p1%dC:\
        !          8109:        :tc=hp2626:
        !          8110: # Force terminal back to 24 lines after being 23.
        !          8111: hp2626-ns|hp 2626 using all 24 lines:\
        !          8112:        :i1=\E&q3t0{0H \E&w0f118n1I \E&w0f1n2I \E&w2f1i0d0u23l0S \E&w3f2I \E&w7f2p1I \r:tc=hp2626:
        !          8113: # Various entries useful for small windows on 2626.
        !          8114: hp2626-12|hewlett-packard 2626 12 lines:\
        !          8115:        :li#12:tc=hp2626:
        !          8116: hp2626-12x40|hewlett-packard 2626 12 lines 40 columns:\
        !          8117:        :co#40:li#12:tc=hp2626:
        !          8118: hp2626-x40|hewlett-packard 2626 40 columns:\
        !          8119:        :co#40:tc=hp2626:
        !          8120: hp2626-12-s|hewlett-packard 2626 11 lines plus status:\
        !          8121:        :li#11:tc=hp2626-s:
        !          8122:
        !          8123: #
        !          8124: # hp2627 color tubes from University of Wisconsin
        !          8125: #
        !          8126: hp2627a-rev|hp 2627 with reverse video colors:\
        !          8127:        :cr=^M:do=^J:\
        !          8128:        :is=\E&v0m1a0b0c1x1y1z1i0a0b1c1x1y1z0i0S\E&j@\r\E3\r:\
        !          8129:        :kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:ue=\E&v0S\E&d@:\
        !          8130:        :us=\E&dD\E&v1S:\
        !          8131:        :tc=hp2621-nl:
        !          8132: hp2627a|hp 2627 color terminal with no labels:\
        !          8133:        :cr=^M:do=^J:\
        !          8134:        :is=\E&v0m1a1b0c1i0a1b1c2i1a0b0c0i0S\E&j@\r\E3\r:\
        !          8135:        :kb=^H:kd=^J:kl=^H:nw=^M^J:se=\E&v0S:sf=^J:so=\E&v2S:ta=^I:\
        !          8136:        :ue=\E&v0S\E&d@:us=\E&dD\E&v1S:\
        !          8137:        :tc=hp2621-nl:
        !          8138: hp2627c|hp 2627 color (cyan) terminal with no labels:\
        !          8139:        :cr=^M:do=^J:\
        !          8140:        :is=\E&v0m1a0b0c2i1a1b0c1i0a1b1c0i0S\E&j@\r\E3\r:\
        !          8141:        :kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:\
        !          8142:        :tc=hp2627a:
        !          8143:
        !          8144: # hp2640a doesn't have the Y cursor addressing feature, and C is
        !          8145: # memory relative instead of screen relative, as we need.
1.1       deraadt  8146: #
1.13    ! millert  8147: hp2640a|hp 2640a:\
        !          8148:        :cm@:ke@:ks@:tc=hp2645:
        !          8149:
        !          8150: hp2640b|hp2644a|hp 264x series:\
        !          8151:        :ke@:ks@:tc=hp2645:
        !          8152:
        !          8153: # (hp2641a: removed unknown :gu: -- esr)
        !          8154: hp2641a|hp2645a|hp2647a|HP 264?A series BRL entry:\
        !          8155:        :am:da:db:mi:xs:\
        !          8156:        :co#80:li#24:\
        !          8157:        :al=\EL:bl=^G:cd=\EJ:ce=\EK:ch=\E&a%2C:cl=\EH\EJ:\
        !          8158:        :cm=\E&a%r%2c%2Y:cr=^M:cv=\E&a%2Y:dc=\EP:dl=\EM:do=^J:\
        !          8159:        :ei=\ER:if=/usr/share/tabset/std:im=\EQ:is=500\EE:kb=^H:\
        !          8160:        :kd=^J:kl=^H:le=^H:nd=\EC:nw=^M^J:se=\E&d@:sf=^J:so=\E&dB:\
        !          8161:        :ta=^I:up=\EA:
        !          8162:
        !          8163: # This terminal should be used at 4800 baud or less. It needs padding for
        !          8164: # plain characters at 9600, I guessed at an appropriate cr delay.  It really
        !          8165: # wants ^E/^F handshaking, but that doesn't work well even if you write
        !          8166: # software to support it.
        !          8167: hp2645|hp45|HP 2645 series:\
        !          8168:        :pb#9600:\
        !          8169:        :cr=\r:kA=\EL:kD=\EP:kE=\EK:kF=\ES:kI=\EQ:kL=\EM:kM=\ER:\
        !          8170:        :kN=\EU:kP=\EV:kR=\ET:kS=\EJ:kT=\E1:kd=\EB:ke=\E&s0A:kh=\Eh:\
        !          8171:        :kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:ku=\EA:mb=\E&dA:me=\E&d@:\
        !          8172:        :mh=\E&dH:mr=\E&dB:\
        !          8173:        :..sa=\E&d%'@'%?%p1%t%'B'%|%;%?%p2%t%'D'%|%;%?%p3%t%'B'%|%;%?%p4%t%'A'%|%;%?%p5%t%'H'%|%;%?%p6%t%'B'%|%;%c:\
        !          8174:        :us=\E&dD:\
        !          8175:        :tc=hpgeneric:
        !          8176: # You should use this terminal at 4800 baud or less.
        !          8177: hp2648|hp2648a|HP 2648a graphics terminal:\
        !          8178:        :cl=\EH\EJ:cm=\E&a%r%dc%dY:dc=\EP:ip=:tc=hp2645:
        !          8179:
        !          8180: # The HP 150 terminal is a fairly vanilla HP terminal, with the
        !          8181: # clreol standout problem. It also has graphics capabilities and
        !          8182: # a touch screen, which we don't describe here.
        !          8183: hp150|hewlett packard Model 150:\
        !          8184:        :bs:tc=hp2622:
        !          8185:
        !          8186: # HP 2382a terminals, "the little ones." They don't have any
        !          8187: # alternate character set support and sending out ^N/^O will
        !          8188: # leave the screen blank.
        !          8189: hp2382a|hp2382|hewlett packard 2382a:\
        !          8190:        :da:db:\
        !          8191:        :lh#1:lm#48:\
        !          8192:        :ac@:ae@:as@:me=\E&d@:\
        !          8193:        :..pn=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s:\
        !          8194:        :..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:\
        !          8195:        :tc=hp+labels:tc=scrhp:
        !          8196:
        !          8197: hp2621-a|hp2621a-a|hp2621 with fn as arrows:\
        !          8198:        :tc=hp+pfk+arrows:tc=hp2621-fl:
        !          8199:
        !          8200: # newer hewlett packard terminals
        !          8201:
        !          8202: newhpkeyboard|generic entry for HP extended keyboard:\
        !          8203:        :kA=\EL:kB=\Ei:kC=\EJ:kD=\EP:kE=\EK:kF=\ET:kH=\EF:kI=\EQ:\
        !          8204:        :kL=\EM:kM=\ER:kN=\EU:kP=\EV:kR=\ES:kS=\EJ:kb=^H:kd=\EB:\
        !          8205:        :ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:ku=\EA:\
        !          8206:        :tc=hp+pfk-cr:
        !          8207:
        !          8208: newhp|generic entry for new hewlett packard terminals:\
        !          8209:        :am:bw:mi:xo:xs:\
        !          8210:        :co#80:li#24:pb#4800:\
        !          8211:        :ac=2[3@4>5I9(\072'JSKWLQMAO#P$Q;R\041S"T1U2V4W3X\072Y+Z*dHjGkTlRmFn/q\054t5u6v8w7x.:\
        !          8212:        :ae=^O:al=\EL:as=^N:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:cr=^M:ct=\E3:\
        !          8213:        :dc=\EP:dl=\EM:do=^J:ei=\ER:i1=\E&jB:im=\EQ:ip=:le=^H:\
        !          8214:        :mb=\E&dA:md=\E&dF:me=\E&d@\017:mh=\E&dH:mk=\E&dS:\
        !          8215:        :mr=\E&dB:nd=\EC:nw=^M^J:\
        !          8216:        :..pk=\E&f0a%p1%dk0d%p2%l%dL%p2%s:\
        !          8217:        :..pl=\E&f1a%p1%dk0d%p2%l%dL%p2%s:\
        !          8218:        :..px=\E&f2a%p1%dk0d%p2%l%dL%p2%s:r1=\Eg:\
        !          8219:        :..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%;:\
        !          8220:        :se=\E&d@:sf=^J:so=\E&dJ:sr=\ET:st=\E1:ta=\011:ue=\E&d@:\
        !          8221:        :up=\EA:us=\E&dD:\
        !          8222:        :tc=newhpkeyboard:
        !          8223:
        !          8224: memhp|memory relative addressing for new HP ttys:\
        !          8225:        :vt#6:\
        !          8226:        :CM=\E&a%p1%dr%p2%dC:DO=\E&a+%dR:LE=\E&a-%dC:\
        !          8227:        :RI=\E&a+%dC:UP=\E&a-%dR:ch=\E&a%dC:cl=\EH\EJ:\
        !          8228:        :cm=\E&a%dr%dC:cv=\E&a%dR:ho=\EH:ll=\E&a23R\r:tc=newhp:
        !          8229:
        !          8230: scrhp|screen relative addressing for new HP ttys:\
        !          8231:        :CM=\E&a%p1%dr%p2%dC:DO=\E&a+%dR:LE=\E&a-%dC:\
        !          8232:        :RI=\E&a+%dC:UP=\E&a-%dR:ch=\E&a%dC:cl=\E&a0c0Y\EJ:\
        !          8233:        :cm=\E&a%dy%dC:cv=\E&a%dY:ho=\E&a0y0C:ll=\E&a0y0C\EA:\
        !          8234:        :tc=newhp:
        !          8235:
        !          8236: # (hp+labels: added label values from a BRL termcap -- esr)
        !          8237: hp+labels|"standard" label info for new HP ttys:\
        !          8238:        :Nl#8:lh#2:lw#8:\
        !          8239:        :LF=\E&j@:LO=\E&jB:l0=f1:l1=f2:l2=f3:l3=f4:l4=f5:l5=f6:l6=f7:\
        !          8240:        :l7=f8:\
        !          8241:        :..pn=\E&f2a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s:
        !          8242:
        !          8243: hp+printer|"standard" printer info for HP ttys:\
        !          8244:        :ff=\E&p4u0C:pf=\E&p13C:po=\E&p11C:ps=\EH\E&p4dF:
        !          8245:
        !          8246:
        !          8247: # The new hp2621b is kind of a cross between the old 2621 and the
        !          8248: # new 262x series of machines. It has dip-switched options.
        !          8249: # The firmware has a bug in it such that if you give it a null
        !          8250: # length label, the following character is eaten!
        !          8251: hp2621b|hp 2621b with old style keyboard:\
        !          8252:        :Nl#8:lh#1:lm#48:lw#8:\
        !          8253:        :LO=\E&jB:kF=\ET:kH=\EF:kR=\ES:kd=\EB:kh=\Eh:kl=\ED:kr=\EC:\
        !          8254:        :ku=\EA:\
        !          8255:        :..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  8256:
1.13    ! millert  8257: hp2621b-p|hp 2621b with printer:\
        !          8258:        :tc=hp+printer:tc=hp2621b:
1.1       deraadt  8259:
1.13    ! millert  8260: # hp2621b - new 2621b with new extended keyboard
        !          8261: # these are closer to the new 26xx series than the other 2621b
        !          8262: hp2621b-kx|hp 2621b with extended keyboard:\
        !          8263:        :tc=newhpkeyboard:tc=hp2621b:
1.1       deraadt  8264:
1.13    ! millert  8265: hp2621b-kx-p|hp 2621b with new keyboard & printer:\
        !          8266:        :tc=hp+printer:tc=hp2621b-kx:
1.1       deraadt  8267:
1.13    ! millert  8268: # Some assumptions are made in the following entries.
        !          8269: # These settings are NOT set up by the initialization strings.
        !          8270: #
        !          8271: #    Port Configuration
        !          8272: # RecvPace=Xon/Xoff    XmitPace=Xon/Xoff       StripNulDel=Yes
        !          8273: #
        !          8274: #    Terminal Configuration
        !          8275: # InhHndShk(G)=Yes     InhDC2(H)=Yes
        !          8276: # XmitFnctn(A)=No              InhEolWrp=No
1.1       deraadt  8277: #
1.13    ! millert  8278: #
        !          8279: # Hp 2622a & hp2623a display and graphics terminals
1.2       deraadt  8280: #
1.13    ! millert  8281: hp2622|hp2622a|hp 2622:\
        !          8282:        :da:db:\
        !          8283:        :lm#0:pb#19200:\
        !          8284:        :is=\E&dj@\r:tc=hp+pfk+cr:tc=hp+labels:tc=scrhp:
        !          8285:
        !          8286: # The 2623 is a 2622 with extra graphics hardware.
        !          8287: hp2623|hp2623a|hp 2623:\
        !          8288:        :tc=hp2622:
        !          8289:
        !          8290: hp2624b-p|hp2624b-4p-p|hewlett packard 2624 B with printer:\
        !          8291:        :tc=hp+printer:tc=hp2624:
        !          8292:
        !          8293: # The hewlett packard B can have an optional extra 6 pages of memory.
        !          8294: hp2624-10p|hp2624a-10p|hp2624b-10p|hewlett packard 2624 B w/ 10 pages of memory:\
        !          8295:        :lm#240:tc=hp2624:
        !          8296:
        !          8297: hp2624b-10p-p|hewlett packard 2624 B w/ extra memory & printer:\
        !          8298:        :lm#240:tc=hp2624b-p:
        !          8299:
        !          8300: # Color manipulations for HP terminals
        !          8301: hp+color|hp with colors:\
        !          8302:        :cc:\
        !          8303:        :Co#16:NC#17:pa#7:\
        !          8304:        :..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:\
        !          8305:        :oc=\E&v0m1a1b1c0I\E&v1a1I\E&v1b2I\E&v1a1b3I\E&v1c4I\E&v1a1c5I\E&v1b1c6I\E&v1x1y7I:\
        !          8306:        :op=\E&v0S:sp=\E&v%dS:
        !          8307:
        !          8308: # :is: sets the screen to be 80 columns wide
        !          8309: hp2397a|hp2397|hewlett packard 2397A color terminal:\
        !          8310:        :is=\E&w6f80X:\
        !          8311:        :tc=memhp:tc=hp+labels:tc=hp+color:
        !          8312:
1.1       deraadt  8313: #
1.13    ! millert  8314: # (hp2392: copied :ei: here from hpex -- esr)
        !          8315: hp2392|239x series:\
        !          8316:        :co#80:\
        !          8317:        :bt=\Ei:cm=\E&a%dy%dC:cv=\E&a%dY:ei=\ER:im=\EQ:k1=\Ep\r:\
        !          8318:        :k2=\Eq\r:k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:k7=\Ev\r:\
        !          8319:        :k8=\Ew\r:kF=\EU:kN=\Eu:kP=\Ev:kR=\EV:kh=\Eh:ue=\E&d@:\
        !          8320:        :us=\E&dD:\
        !          8321:        :tc=hpsub:
        !          8322:
        !          8323: hpsub|hp terminals -- capability subset:\
        !          8324:        :am:da:db:mi:xo:xs:\
        !          8325:        :li#24:\
        !          8326:        :al=\EL:bl=^G:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\EH\EJ:cr=^M:\
        !          8327:        :dc=\EP:dl=\EM:do=\EB:if=/usr/share/tabset/stdcrt:\
        !          8328:        :is=\E&s1A\E<\E&k0\:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:\
        !          8329:        :kr=\EC:ks=\E&s1A:ku=\EA:le=^H:me=\E&d@:nd=\EC:se=\E&d@:\
        !          8330:        :sf=^J:so=\E&dB:ta=^I:up=\EA:
        !          8331:
        !          8332: # hpex:
        !          8333: #      May be used for most 24 x 80 hp terminals,
        !          8334: # but has no padding added, so may allow runover in some terminals at high
        !          8335: # baud rates.  Will not work for hp2640a or hp2640b terminals, hp98x6 and
        !          8336: # hp98x5 terminal emulators or hp98x6 consoles.
        !          8337: #      Adds xy-cursor addressing, vertical cursor addressing, home,
        !          8338: # last line, and underline capabilities.
1.1       deraadt  8339: #
1.13    ! millert  8340: # (hpex: removed memory-lock capabilities ":ml=\El:mu=\Em:",
        !          8341: # moved :ei: here from hpsub -- esr)
        !          8342: hpex|hp extended capabilites:\
        !          8343:        :cm=\E&a%dy%dC:cr=^M:cv=\E&a%dY:do=^J:ei=\ER:im=\EQ:kb=^H:\
        !          8344:        :kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:ue=\E&d@:us=\E&dD:\
        !          8345:        :tc=hpsub:
        !          8346:
        !          8347: # From: Ville Sulko <Ville.Sulko@bip.atk.tpo.fi>, 05 Aug 1996
        !          8348: hp2|hpex2|hewlett-packard extended capabilities newer version:\
        !          8349:        :am:da:db:mi:xs:\
        !          8350:        :Nl#8:co#80:lh#2:li#24:lm#0:lw#8:sg#0:\
        !          8351:        :LF=\E&j@:LO=\E&jB:al=\EL:bl=^G:cd=\EJ:ce=\EK:ch=\E&a%dC:\
        !          8352:        :cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:cr=^M:ct=\E3:cv=\E&a%dY:\
        !          8353:        :dc=\EP:dl=\EM:do=\EB:ei=\ER:im=\EQ:k1=\Ep:k2=\Eq:k3=\Er:\
        !          8354:        :k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:kA=\EL:kC=\EJ:kD=\EP:\
        !          8355:        :kE=\EK:kF=\ES:kH=\EF:kI=\EQ:kL=\EM:kM=\ER:kN=\EU:kP=\EV:\
        !          8356:        :kR=\ET:kS=\EJ:kT=\E1:ka=\E3:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:\
        !          8357:        :kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:ku=\EA:le=^H:me=\E&d@:\
        !          8358:        :ml=\El:mu=\Em:nd=\EC:..pk=\E&f%p1%dk%p2%l%dL%p2%s:\
        !          8359:        :..pl=\E&f1a%p1%dk%p2%l%dL%p2%s:\
        !          8360:        :..pn=\E&f%p1%dk%p2%l%dd0L%p2%s:\
        !          8361:        :..px=\E&f2a%p1%dk%p2%l%dL%p2%s:\
        !          8362:        :..sa=\E&d%?%p7%t%'s'%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%'@'%+%c%?%p9%t%'\016'%c%e%'\017'%c%;:\
        !          8363:        :se=\E&d@:sf=^J:so=\E&dB:st=\E1:ta=^I:ue=\E&d@:up=\EA:\
        !          8364:        :us=\E&dD:
1.2       deraadt  8365:
1.13    ! millert  8366: # HP 236 console
        !          8367: # From: <ddavis@ic.berkeley.edu>
        !          8368: hp236|hp236 internal terminal emulator:\
1.8       tholo    8369:        :am:bs:\
1.1       deraadt  8370:        :co#80:li#24:\
1.13    ! millert  8371:        :al=\EG:ce=\EK:cl=\EF:cm=\EE%+ %+ :dc=\EJ:dl=\EH:ei=:ic=\EI:\
        !          8372:        :im=:le=^H:me=\ECI:se=\ECI:so=\EBI:up=^K:ve=\EDE:vs=\EDB:
        !          8373:
        !          8374: # This works on a hp300 console running Utah 4.3 BSD
        !          8375: # From: Craig Leres <leres@okeeffe.berkeley.edu>
        !          8376: hp300h|HP Catseye console:\
        !          8377:        :am:bs:da:db:mi:xs:\
        !          8378:        :co#128:li#51:lm#0:sg#0:\
        !          8379:        :al=\EL:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:ch=\E&a%dC:\
        !          8380:        :cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:cr=^M:ct=\E3:cv=\E&a%dY:\
        !          8381:        :dc=\EP:dl=\EM:do=\EB:ei=\ER:if=/usr/share/tabset/stdcrt:\
        !          8382:        :im=\EQ:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:\
        !          8383:        :ks=\E&s1A:ku=\EA:le=^H:me=\E&d@:nd=\EC:se=\E&d@:sf=^J:\
        !          8384:        :so=\E&dB:ta=^I:ue=\E&d@:up=\EA:us=\E&dD:
        !          8385: # From: Greg Couch <gregc@ernie.berkeley.edu>
        !          8386: hp9837|hp98720|hp98721|HP 9000/300 workstations:\
        !          8387:        :am:bs:da:db:mi:xs:\
        !          8388:        :co#128:it#8:li#46:lm#0:\
        !          8389:        :al=\EL:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:ch=\E&a%dC:\
        !          8390:        :cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:ct=\E3:cv=\E&a%dY:dc=\EP:\
        !          8391:        :dl=\EM:do=\EB:ei=\ER:im=\EQ:is=\E&v0m1b0i&j@:kA=\EL:\
        !          8392:        :kD=\EP:kE=\EK:kI=\EQ:kL=\EM:kN=\EU:kP=\EV:kS=\EJ:kb=^H:\
        !          8393:        :kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:ku=\EA:\
        !          8394:        :le=^H:me=\E&d@:nd=\EC:se=\E&v0S:sf=^J:so=\E&v5S:st=\E1:\
        !          8395:        :ta=^I:ue=\E&d@:up=\EA:us=\E&dD:
        !          8396: # HP 9845 desktop computer from BRL
        !          8397: # (hp9845: removed unknown capability :gu: -- esr)
        !          8398: hp9845|HP 9845:\
        !          8399:        :am:bs:da:db:eo:mi:xs:\
        !          8400:        :co#80:li#21:\
        !          8401:        :al=\EL:bc=\ED:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\E&a%r%2c%2Y:\
        !          8402:        :dc=\EP:dl=\EM:ei=\ER:if=/usr/share/tabset/std:im=\EQ:\
        !          8403:        :nd=\EC:se=\E&d@:so=\E&dB:up=\EA:
        !          8404: # From: Charles A. Finnell of MITRE <finnell@mitre.org>, developed 07SEP90
        !          8405: # (hp98550: replaced /usr/share/tabset/9837 with std because :it#8:,:st=\E1:;
        !          8406: # added empty <acsc> to avoid warnings re :as:/:ae: --esr)
        !          8407: hp98550|hp98550a|HP 9000 Series 300 color console:\
        !          8408:        :am:bs:da:db:mi:xs:\
        !          8409:        :co#128:it#8:li#49:lm#0:\
        !          8410:        :ac=:ae=^O:al=\EL:as=^N:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:\
        !          8411:        :ch=\E&a%dC:cl=\EH\EJ:cm=\E&a%dy%dC:cr=^M:ct=\E3:\
        !          8412:        :cv=\E&a%dY:dc=\EP:dl=\EM:do=^J:ei=\ER:\
        !          8413:        :if=/usr/share/tabset/std:im=\EQ:k1=\Ep:k2=\Eq:k3=\Er:\
        !          8414:        :k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:kA=\EL:kC=\EJ:kD=\EP:\
        !          8415:        :kE=\EK:kF=\ES:kH=\EF:kI=\EQ:kL=\EM:kM=\ER:kN=\EU:kP=\EV:\
        !          8416:        :kR=\ET:kS=\EJ:kT=\E1:ka=\E3:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:\
        !          8417:        :kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:ku=\EA:le=^H:mb=\E&dA:\
        !          8418:        :md=\E&dJ:me=\E&d@:mh=\E&dH:mk=\E&ds:mr=\E&dJ:nd=\EC:\
        !          8419:        :se=\E&d@:sf=^J:so=\E&dJ:st=\E1:ta=^I:ue=\E&d@:up=\EA:\
        !          8420:        :us=\E&dD:ve=\E*dQ:vi=\E*dR:
        !          8421:
        !          8422: bobcat|sbobcat|HP 9000 model 300 console:\
        !          8423:        :am:da:db:mi:xs:\
        !          8424:        :co#128:it#8:li#47:sg#0:\
        !          8425:        :al=10*\EL:bt=\Ei:cd=\EJ:ce=\EK:ch=6\E&a%dC:cl=\EH\EJ:\
        !          8426:        :cm=6\E&a%dy%dC:cr=^M:cv=6\E&a%dY:dc=\EP:dl=10*\EM:do=\EB:\
        !          8427:        :ei=\ER:im=\EQ:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:\
        !          8428:        :ks=\E&s1A:ku=\EA:le=^H:me=\E&d@:nd=\EC:nw=^M^J:se=\E&d@:\
        !          8429:        :sf=^J:so=\E&dB:ta=^I:ue=\E&d@:up=\EA:us=\E&dD:
        !          8430: gator-t|HP 9000 model 237 emulating extra-tall AAA:\
        !          8431:        :li#94:tc=gator:
        !          8432: gator|HP 9000 model 237 emulating AAA:\
        !          8433:        :bw:km:mi:ul:\
        !          8434:        :co#128:it#8:li#47:\
        !          8435:        :AL=1*\E[%dL:DC=4\E[%dP:DL=1*\E[%dM:IC=4\E[%d@:al=\E[L:\
        !          8436:        :bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%i%d`:cl=\E[H\E[J:\
        !          8437:        :cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=:ho=\E[H:\
        !          8438:        :ic=\E[@:im=:kb=^H:kd=^J:kl=^H:le=^H:me=\E[m:mr=\E[7m:\
        !          8439:        :nd=\E[C:nw=^M^J:rp=1*%.\E[%db:se=\E[m:so=\E[7m:ta=^I:\
        !          8440:        :ue=\E[m:up=\EM:us=\E[4m:
        !          8441: gator-52|HP 9000 model 237 emulating VT52:\
        !          8442:        :co#128:li#47:tc=vt52:
        !          8443: gator-52t|HP 9000 model 237 emulating extra-tall VT52:\
        !          8444:        :li#94:tc=gator-52:
        !          8445:
        !          8446: #### Honeywell-Bull
        !          8447: #
        !          8448: # From: Michael Haardt <michael@gandalf.moria> 11 Jan 93
1.8       tholo    8449: #
1.13    ! millert  8450:
        !          8451: # Honeywell Bull terminal.  Its cursor and function keys send single
        !          8452: # control characters and it has standout/underline glitch.  Most programs
        !          8453: # do not like these features/bugs.  Visual bell is realized by flashing the
        !          8454: # "keyboard locked" LED.
        !          8455: dku7003-dumb|Honeywell Bull DKU 7003 dumb mode:\
        !          8456:        :co#80:li#25:\
        !          8457:        :cd=^_:ce=\E[K:cl=^]^_:cm=\E[%i%d;%dH:cr=^M:do=^K:ho=^]:\
        !          8458:        :kb=^H:kd=^K:kh=^]:kl=^Y:kr=^X:ku=^Z:le=^Y:nd=^X:nw=^M^J:\
        !          8459:        :sf=^J:ta=^I:up=^Z:vb=\E[2h\E[2l:
        !          8460: dku7003|Honeywell Bull DKU 7003 all features described:\
        !          8461:        :ms:\
        !          8462:        :sg#1:\
        !          8463:        :mb=\E[5m:md=\E[7m:me=\E[m:mh=\E[2m:mr=\E[7m:se=\E[m:\
        !          8464:        :so=\E[7m:ue=\E[m:us=\E[4m:\
        !          8465:        :tc=dku7003-dumb:
1.1       deraadt  8466:
                   8467: #### IBM
                   8468: #
                   8469:
                   8470: ibm327x|line mode IBM 3270 style:\
                   8471:        :gn:\
                   8472:        :ce=^M:cl=^M^J:ho=^M:
1.2       deraadt  8473:
                   8474: # Beware! The 3101 entry IBM shipped with AIX 3 is *wrong*.  Losers...
1.1       deraadt  8475: # From: J.B. Nicholson-Owens <jeffo@uiuc.edu> 8 Mar 94
1.5       tholo    8476: # (ibm3101: :if=/usr/share/tabset/ibm3101: removed, no such file -- esr)
1.1       deraadt  8477: ibm3101|i3101|IBM 3101-10:\
1.8       tholo    8478:        :am:bs:xo:\
1.1       deraadt  8479:        :co#80:li#24:\
1.5       tholo    8480:        :bl=^G:cd=\EJ:ce=\EI:cl=\EK:cm=\EY%+ %+ :cr=^M:ct=\E1:do=^J:\
                   8481:        :ho=\EH:kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:\
1.1       deraadt  8482:        :nw=^M^J:sf=^J:st=\E0:ta=^I:up=\EA:
                   8483: #   Received from the IBM terminals division (given to DRB)
                   8484: #   June 1988 for PS/2 OS 2.2.3 cut
1.2       deraadt  8485: ibm3151|i3151|IBM 3151:\
1.1       deraadt  8486:        :me=\E4@:\
                   8487:        :..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    8488:        :se=\E4@:so=\E4A:ue=\E4@:us=\E4B:\
                   8489:        :tc=ibm3163:
1.1       deraadt  8490: # From: Mark Easter <marke@fsi-ssd.csg.ssd.fsi.com> 29 Oct 1992
1.2       deraadt  8491: # I've commented out or translated some IBM extensions.
1.1       deraadt  8492: ibm3161|ibm3163|wy60-316X|wyse60-316X|IBM 3161/3163 display:\
1.8       tholo    8493:        :am:bs:mi:ms:\
1.1       deraadt  8494:        :co#80:it#8:li#24:\
1.8       tholo    8495:        :F1=\Ek\r:F2=\El\r:F3=\E\041a\r:F4=\E\041b\r:\
                   8496:        :F5=\E\041c\r:F6=\E\041d\r:F7=\E\041e\r:F8=\E\041f\r:\
                   8497:        :F9=\E\041g\r:FA=\E\041h\r:FB=\E\041i\r:FC=\E\041j\r:\
                   8498:        :FD=\E\041k\r:FE=\E\041l\r:\
1.13    ! millert  8499:        :ac=j\352k\353l\354m\355n\356q\361t\364u\365v\366w\367x\370:\
1.5       tholo    8500:        :bl=^G:cd=\EJ:ce=\EI:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:dc=\EQ:\
                   8501:        :dl=\EO:do=\EB:ho=\EH:k1=\Ea\r:k2=\Eb\r:k3=\Ec\r:k4=\Ed\r:\
                   8502:        :k5=\Ee\r:k6=\Ef\r:k7=\Eg\r:k8=\Eh\r:k9=\Ei\r:k;=\Ej\r:\
                   8503:        :kA=\EN:kB=\E2:kC=\EL\r:kD=\EQ:kE=\EI:kI=\EP \010:kL=\EO:\
                   8504:        :kS=\EJ:kT=\E0:ka=\E 1:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:\
                   8505:        :kt=\E1:ku=\EA:le=\ED:mb=\E4D:md=\E4H:me=\E4@\E<@:mk=\E4P:\
1.3       deraadt  8506:        :mr=\E4A:nd=\EC:\
1.13    ! millert  8507:        :..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    8508:        :se=\E4@:sf=^J:so=\E4A:te=\E>A:ti=\E>A:ue=\E4@:up=\EA:\
                   8509:        :us=\E4B:
1.1       deraadt  8510:
                   8511: # How the 3164 sgr string works:
                   8512: #      %{32}           # push space for no special video characteristics
                   8513: #      %?%p2%t%{1}%|%; # if p2 set, then OR the 1 bit for reverse
                   8514: #      %?%p3%t%{4}%|%; # if p3 set, then OR the 4 bit for blink
                   8515: #      %?%p4%t%{2}%|%; # if p4 set, then OR the 2 bit for underline
                   8516: #      %c              # pop Pa1
                   8517: #      %{39}%p1%-      # calculate 32 + (7 - p1) for foreground
                   8518: #      %c              # pop Pa2
                   8519: #      %{64}           # use only black background for now
                   8520: #      %c              # pop Pa3
1.2       deraadt  8521: ibm3164|i3164|IBM 3164:\
1.1       deraadt  8522:        :mb=\E4D:md=\E4H:me=\E4@:\
                   8523:        :..sa=\E4%{32}%?%p2%t%{1}%|%;%?%p3%t%{4}%|%;%?%p4%t%{2}%|%;%c%{39}%p1%-%c%{64}%c:tc=ibm3163:
                   8524:
                   8525: ibmaed|IBM Experimental display:\
1.8       tholo    8526:        :am:bs:eo:ms:\
1.2       deraadt  8527:        :co#80:it#8:li#52:\
1.5       tholo    8528:        :al=\EN:cd=\EJ:ce=\EI:cl=\EH\EK:cm=\EY%+ %+ :dc=\EQ:dl=\EO:\
                   8529:        :do=\EB:ei=:ho=\EH:ic=\EP:im=:kb=^H:kd=\EB:kl=\ED:kr=\EC:\
                   8530:        :ku=\EA:le=^H:me=\E0:nd=\EC:se=\E0:so=\E0:ta=^I:up=\EA:\
                   8531:        :vb=\EG:
1.1       deraadt  8532: ibm-apl|apl|IBM apl terminal simulator:\
1.3       deraadt  8533:        :li#25:tc=dm1520:
1.1       deraadt  8534: # (ibmmono: this had an unknown `sb' boolean, I changed it to `bs'.
                   8535: # Also it had ":I0=f10:" which pretty obviously should be "l0=f10" -- esr)
                   8536: ibmmono|ibm5151|IBM workstation monochrome:\
1.2       deraadt  8537:        :es:hs:\
1.5       tholo    8538:        :al=\EL:dl=\EM:ds=\Ej\EY8 \EI\Ek:fs=\Ek:k0=\E<:k1=\ES:\
                   8539:        :k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:k8=\ER:k9=\EY:\
1.13    ! millert  8540:        :kF=\EE:kI=\0:kN=\EE:kP=\Eg:kR=\EG:kb=^H:kh=\EH:l0=f10:\
1.5       tholo    8541:        :md=\EZ:me=\Ew\Eq\Ez\EB:mk=\EF\Ef0;\Eb0;:mr=\Ep:se=\Ez:\
                   8542:        :so=\EZ:sr=\EA:ts=\Ej\EY8%+ \Eo:ue=\Ew:us=\EW:\
                   8543:        :tc=ibm3101:
1.2       deraadt  8544: ibmega|ibm5154|IBM Enhanced Color Display:\
                   8545:        :cr=^M:do=^J:kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:tc=ibmmono:
1.13    ! millert  8546: ibmega-c|ibm5154-c|IBM Enhanced Color Display with standout and underline:\
        !          8547:        :se=\EB:so=\EF\Ef3;:ue=\EB:us=\EF\Ef2;:\
        !          8548:        :tc=ibmmono:
1.2       deraadt  8549: ibmvga-c|IBM VGA display color termcap:\
                   8550:        :cr=^M:do=^J:kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:tc=ibmega-c:
                   8551: ibmvga|IBM VGA display:\
                   8552:        :cr=^M:do=^J:kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:tc=ibmega:
1.1       deraadt  8553: # ibmapa* and ibmmono entries come from ACIS 4.3 distribution
                   8554: rtpc|ibmapa16|ibm6155|IBM 6155 Extended Monochrome Graphics Display:\
                   8555:        :li#32:\
                   8556:        :ds=\Ej\EY@ \EI\Ek:ts=\Ej\EY@%+ \Eo:tc=ibmmono:
                   8557: # Advanced Monochrome (6153) and Color (6154) Graphics Display:
                   8558: ibmapa8c|ibmapa8|ibm6154|ibm6153|IBM 6153/4 Advanced Graphics Display:\
                   8559:        :li#31:\
                   8560:        :ds=\Ej\EY? \EI\Ek:ts=\Ej\EY?%+ \Eo:tc=ibmmono:
                   8561: ibmapa8c-c|ibm6154-c|IBM 6154 Advanced Color Graphics Display:\
                   8562:        :li#31:\
                   8563:        :ds=\Ej\EY? \EI\Ek:mh=\EF\Ef7;:ts=\Ej\EY?%+ \Eo:tc=ibmega-c:
                   8564: # From: Marc Pawliger <marc@ibminet.awdpa.ibm.com>
                   8565: # also in /usr/lpp/bos/bsdsysadmin.
                   8566: # (hft-c: this entry had :kb=\E[D:kf=\E[C: on the line with ku/kd/kh; this was
                   8567: # pretty obviously mislabeled for :le: and :nd:; also ":ul=\E[4m:" was clearly
                   8568: # a typo for ":us=\E[4m:"; also ":el=\E[K:" was a typo for ":ce=\E[K:".
1.2       deraadt  8569: # I also added <rmam>/<smam> based on the terminal reset string.
1.5       tholo    8570: # There was an unknown boolean ":ht:" which I assume was meant to set hardware
                   8571: # tabs, so I have inserted it#8. Finally, :ac=^N: paired with the :ae: looked
                   8572: # like a typo for :as=^N:; finally, added empty <acsc> to quiet tic -- esr)
1.1       deraadt  8573: ibm8512|ibm8513|hft-c|IBM High Function Terminal:\
                   8574:        :am:mi:ms:\
                   8575:        :co#80:it#8:li#25:\
1.5       tholo    8576:        :AL=\E[%dL:DL=\E[%dM:RA=\E[?7l:SA=\E[?7h:ac=:ae=^O:al=\E[L:\
                   8577:        :as=^N:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:dl=\E[M:\
                   8578:        :dm=\E[4h:do=^J:ec=\E[%dX:ed=\E[4l:ei=\E[4l:ho=\E[H:\
                   8579:        :im=\E[4h:is=\Eb\E[m\017\E[?7h:k0=\E[010q:k1=\E[001q:\
                   8580:        :k2=\E[002q:k3=\E[003q:k4=\E[004q:k5=\E[005q:k6=\E[006q:\
                   8581:        :k7=\E[007q:k8=\E[008q:k9=\E[009q:kd=\E[B:kh=\E[H:ku=\E[A:\
                   8582:        :le=\E[D:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
                   8583:        :r1=\Eb\E[m\017\E[?7h\E[H\E[J:rc=\E[u:sc=\E[s:se=\E[m:\
                   8584:        :so=\E[7m:te=\E[20h:ti=\E[20;4l\E[?7h\Eb:ue=\E[m:up=\E[A:\
                   8585:        :us=\E[4m:
1.1       deraadt  8586: hft|AIWS High Function Terminal:\
                   8587:        :am:xo:\
                   8588:        :co#80:li#25:\
                   8589:        :al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
1.5       tholo    8590:        :cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=\E6:ho=\E[H:\
                   8591:        :ic=\E[@:im=\E6:k1=\E[001q:k2=\E[002q:k3=\E[003q:\
                   8592:        :k4=\E[004q:k5=\E[005q:k6=\E[006q:k7=\E[007q:k8=\E[008q:\
                   8593:        :k9=\E[009q:kN=\E[153q:kP=\E[159q:ka=\E[010q:kb=^H:\
                   8594:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
                   8595:        :md=\E[1m:me=\E[m:mk=\E[8m:mr=\E[7m:nd=\E[C:se=\E[m:sf=^J:\
                   8596:        :so=\E[7m:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
1.2       deraadt  8597: ibm-system1|system1|ibm system/1 computer:\
                   8598:        :am:xt:\
                   8599:        :co#80:li#24:\
1.5       tholo    8600:        :bl=^G:cl=^Z:cm=\005%+ %+ :ho=^K:le=^H:nd=^\:sf=^J:up=^^:
1.2       deraadt  8601:
1.1       deraadt  8602: # From: <pryor@math.berkeley.edu>
1.13    ! millert  8603: ibm5081|ibmmpel|IBM 5081 1024x1024 256/4096 Megapel color display:\
1.1       deraadt  8604:        :es:hs:\
                   8605:        :li#33:\
                   8606:        :ds=\Ej\EYA \EI\Ek:fs=\Ek:ts=\Ej\EYA%+ \Eo:tc=ibmmono:
1.13    ! millert  8607: ibm5081-c|ibmmpel-c|IBM 5081 1024x1024 256/4096 Megapel enhanced color display:\
1.1       deraadt  8608:        :es:hs:\
                   8609:        :li#33:\
                   8610:        :ds=\Ej\EYA \EI\Ek:fs=\Ek:ts=\Ej\EYA%+ \Eo:tc=ibmega-c:
1.2       deraadt  8611: ibm8514|IBM 8514 color display:\
                   8612:        :es:hs:\
                   8613:        :li#41:\
1.5       tholo    8614:        :cr=^M:do=^J:ds=\Ej\EYI \EI\Ek:fs=\Ek:kb=^H:kd=^J:kl=^H:\
                   8615:        :nw=^M^J:sf=^J:ta=^I:ts=\Ej\EYI%+ \Eo:\
                   8616:        :tc=ibmega:
1.13    ! millert  8617: ibm8514-c|IBM 8514 color display with standout and underline:\
1.2       deraadt  8618:        :es:hs:\
                   8619:        :li#41:\
1.5       tholo    8620:        :cr=^M:do=^J:ds=\Ej\EYI \EI\Ek:fs=\Ek:kb=^H:kd=^J:kl=^H:\
                   8621:        :nw=^M^J:sf=^J:ta=^I:ts=\Ej\EYI%+ \Eo:\
                   8622:        :tc=ibmega-c:
1.2       deraadt  8623:
                   8624: #
                   8625: # AIX entries.  IBM ships these with AIX 3.
                   8626: # AIX extension caps are commented out,
                   8627: # except for box1 which has been translated to an <acsc> string.
                   8628: #
                   8629: aixterm-m|IBM AIXterm Monochrome Terminal Emulator:\
                   8630:        :es:hs:\
1.13    ! millert  8631:        :ac=jjkkllmmnnqqttuuvvwwxx:ds=\E[?E:fs=\E[?F:md=\E[1m:\
1.5       tholo    8632:        :me=\E[0;10m\E(B:s0=\E(B:s1=\E(0:\
1.2       deraadt  8633:        :..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m:\
1.5       tholo    8634:        :sr@:ts=\E[?%p1%dT:\
                   8635:        :tc=ibm6153:
1.13    ! millert  8636: aixterm-m-old|old IBM AIXterm Monochrome Terminal Emulator:\
1.2       deraadt  8637:        :es:hs:\
                   8638:        :ds=\E[?E:fs=\E[?F:md=\E[1m:\
                   8639:        :..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m:\
1.5       tholo    8640:        :sr@:ts=\E[?%p1%dT:\
                   8641:        :tc=ibm6153:
1.2       deraadt  8642: jaixterm-m|IBM Kanji AIXterm Monochrome Terminal Emulator:\
1.5       tholo    8643:        :ac@:\
                   8644:        :tc=aixterm-m:
1.1       deraadt  8645:
                   8646: #### Infoton/General Terminal Corp.
                   8647: #
                   8648:
                   8649: # gt100 sounds like something DEC would come out with.  Let's hope they don't.
                   8650: i100|gt100|gt100a|General Terminal 100A (formerly Infoton 100):\
1.8       tholo    8651:        :am:bs:\
1.1       deraadt  8652:        :co#80:li#24:\
1.5       tholo    8653:        :al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=^L:cm=\Ef%r%+ %+ :cr=^M:\
                   8654:        :dl=\EM:do=^J:ho=\EH:le=^H:nd=\EC:se=\Ea:sf=^J:so=\Eb:up=\EA:\
                   8655:        :vb=\Eb\Ea:
1.1       deraadt  8656: i400|infoton 400:\
1.8       tholo    8657:        :am:bs:\
1.1       deraadt  8658:        :co#80:li#25:\
                   8659:        :al=\E[L:bl=^G:ce=\E[N:cl=\E[2J:cm=%i\E[%3;%3H:cr=^M:\
                   8660:        :dc=\E[4h\E[2Q\E[P\E[4l\E[0Q:dl=\E[M:do=^J:\
1.5       tholo    8661:        :ei=\E[4l\E[0Q:im=\E[4h\E[2Q:le=^H:nd=\E[C:sf=^J:up=\E[A:
1.1       deraadt  8662: # (addrinfo: removed obsolete ":bc=^Z:" -- esr)
                   8663: addrinfo:\
                   8664:        :am:\
                   8665:        :co#80:li#24:\
1.5       tholo    8666:        :bl=^G:cd=^K:cl=^L:..cm=\037%p1%{1}%-%c%p2%{1}%-%c:cr=^M:\
                   8667:        :do=^J:ho=^H:le=^Z:ll=^H^\:nd=^Y:sf=^J:up=^\:
                   8668: # (infoton: used to have the no-ops <lh#0>, <lw#0>, <nlab#0> -- esr)
1.1       deraadt  8669: infoton:\
                   8670:        :am:\
                   8671:        :co#80:li#24:\
1.5       tholo    8672:        :bl=^G:cd=^K:cl=^L:cr=^M:do=^J:le=^Z:ll=^H^\:nd=^Y:sf=^J:\
                   8673:        :up=^\:
1.1       deraadt  8674:
1.13    ! millert  8675: # The ICL6402 was actually the Kokusai Display System 6402.
        !          8676: # The 6404 was the KDS7372 (color version of the 6402).
        !          8677: #
        !          8678: # ICL6404 control codes follow:
        !          8679: #
        !          8680: #code            function
        !          8681: #~~~~~~~~~~~     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        !          8682: #ctrl-A          set SOM position at cursor position
        !          8683: #ctrl-G          Bell
        !          8684: #ctrl-H          Backspace
        !          8685: #ctrl-I          Horiz tab
        !          8686: #ctrl-J          Linefeed
        !          8687: #ctrl-K          Cursor up
        !          8688: #ctrl-L          Cursor right
        !          8689: #ctrl-M          Carriage return
        !          8690: #ctrl-N          Disable xon/xoff to host
        !          8691: #ctrl-O          Enable xon/xoff to host
        !          8692: #ctrl-R          Enable bidirectional mode
        !          8693: #ctrl-T          Disable bidirectional mode
        !          8694: #ctrl-V          Cursor down
        !          8695: #ctrl-Z          Clear unprotected data to insert char
        !          8696: #ctrl-^          Cursor home
        !          8697: #ctrl-_          Newline
        !          8698: #
        !          8699: #ESC             lead-in char for multiple character command
        !          8700: #
        !          8701: #ESC space R     execute power on sequence
        !          8702: #ESC ! p1 p2     define scroll region:
        !          8703: #                p1 = scroll top    line:  20h - 37h
        !          8704: #                p1 = scroll bottom line:  20h - 37h
        !          8705: #ESC "           unlock keyboard
        !          8706: #ESC #           lock keyboard
        !          8707: #ESC $           Semi-graphics mode on
        !          8708: #ESC %           Semi-graphics mode off
        !          8709: #ESC &           protect mode on
        !          8710: #ESC '           protect mode off
        !          8711: #ESC (           write protect mode off (full intensity)
        !          8712: #ESC )           write protect mode on (half intensity)
        !          8713: #
        !          8714: #ESC *           clear screen
        !          8715: #ESC +           clear unprotected data to insert char
        !          8716: #ESC ,           clear unprotected data to half intensity spaces
        !          8717: #ESC - p1 p2 p3 p4     address cursor to page, row, column:
        !          8718: #                      p1 = page number  0 - 3
        !          8719: #                      p2 = row          20h - 7fh
        !          8720: #                      p3 = column (lo)  20h - 7fh
        !          8721: #                      p4 = column (hi)  20h - 21h (only 132 col)
        !          8722: #ESC . p1        set cursor style:
        !          8723: #                p1 = 0  invisible cursor
        !          8724: #                p1 = 1  block blinking cursor
        !          8725: #                p1 = 2  block steady cursor
        !          8726: #                p1 = 3  underline blinking cursor
        !          8727: #                p1 = 4  underline steady cursor
        !          8728: #ESC /           transmit cursor location (page, row, column)
        !          8729: #ESC 0 p1 p2 p3 p4     program edit key:
        !          8730: #                      p1 = edit key code: '@'-'S', '`'-'s'
        !          8731: #                      p2 p3 p4 = program data (3 bytes)
        !          8732: #
        !          8733: #ESC 1           set tab
        !          8734: #ESC 2           clear tab at cursor
        !          8735: #ESC 3           clear all tabs
        !          8736: #ESC 4           send unprotect line to cursor
        !          8737: #ESC 5           send unprotect page to cursor
        !          8738: #ESC 6           send line to cursor
        !          8739: #ESC 7           send page to cursor
        !          8740: #ESC 8 n         set scroll mode:
        !          8741: #                n = 0   set jump scroll
        !          8742: #                n = 1   set smooth scroll
        !          8743: #ESC 9 n         control display:
        !          8744: #                n = 0   display off
        !          8745: #                n = 1   display on
        !          8746: #ESC :           clear unprotected data to null
        !          8747: #ESC ;           clear unprotected data to insert char
        !          8748: #
        !          8749: #ESC <           keyclick on
        !          8750: #ESC = p1 p2     address cursor to row, column
        !          8751: #                p1 = row          20h - 7fh
        !          8752: #                p2 = column (lo)  20h - 7fh
        !          8753: #                p3 = column (hi)  20h - 21h (only 132 col)
        !          8754: #ESC >           keyclick off
        !          8755: #ESC ?           transmit cursor location (row, column)
        !          8756: #
        !          8757: #ESC @           copy print mode on
        !          8758: #ESC A           copy print mode off
        !          8759: #ESC B           block mode on
        !          8760: #ESC C           block mode off (conversation mode)
        !          8761: #ESC D F         set full duplex
        !          8762: #ESC D H         set half duplex
        !          8763: #ESC E           line insert
        !          8764: #ESC F p1 p2     set page colour (p1 = f/grnd, p2 = b/grnd)
        !          8765: #                0 = black, 1 = red,     2 = green, 3 = yellow
        !          8766: #                4 = blue,  5 = magenta, 6 = cyan,  7 = white
        !          8767: #ESC G n         set serial field attribute (n = 30h - 3Fh)
        !          8768: #ESC H n         full graphics mode:
        !          8769: #                n = 0  exit full graphics mode
        !          8770: #                n = 1  enter full graphics mode
        !          8771: #ESC I           back tab
        !          8772: #ESC J           back page
        !          8773: #ESC K           forward page
        !          8774: #
        !          8775: #ESC L           unformatted page print
        !          8776: #ESC M L         move window left  (132 col mode only)
        !          8777: #ESC M R         move window right (132 col mode only)
        !          8778: #ESC N           set page edit (clear line edit)
        !          8779: #ESC O           set line edit (clear page edit)
        !          8780: #ESC P           formatted page print
        !          8781: #ESC Q           character insert
        !          8782: #ESC R           line delete
        !          8783: #ESC S           send message unprotected only
        !          8784: #ESC T           erase line to insert char
        !          8785: #ESC U           set monitor mode   (see ESC X, ESC u)
        !          8786: #
        !          8787: #ESC V n         select video attribute mode:
        !          8788: #                n = 0   serial field attribute mode
        !          8789: #                n = 1   parallel character attribute mode
        !          8790: #ESC V 2 n       define line attribute:
        !          8791: #                n = 0   single width single height
        !          8792: #                n = 1   single width double height
        !          8793: #                n = 2   double width single height
        !          8794: #                n = 3   double width double height
        !          8795: #ESC V 3 n       select character font:
        !          8796: #                n = 0   system font
        !          8797: #                n = 1   user defined font
        !          8798: #ESC V 4 n       select screen mode:
        !          8799: #                n = 0   page screen mode
        !          8800: #                n = 1   virtual screen mode
        !          8801: #ESC V 5 n       control mouse mode:
        !          8802: #                n = 0   disable mouse
        !          8803: #                n = 1   enable sample mode
        !          8804: #                n = 2   send mouse information
        !          8805: #                n = 3   enable request mode
        !          8806: #ESC W           character delete
        !          8807: #ESC X           clear monitor mode (see ESC U, ESC u)
        !          8808: #ESC Y           erase page to insert char
        !          8809: #
        !          8810: #ESC Z n         send user/status line:
        !          8811: #                n = 0   send user line
        !          8812: #                n = 1   send status line
        !          8813: #                n = 2   send terminal ID
        !          8814: #ESC [ p1 p2 p3  set character attribute (parallel char mode):
        !          8815: #                p1: 0 = normal
        !          8816: #                    1 = blank
        !          8817: #                    2 = blink
        !          8818: #                    3 = blink blank (= blank)
        !          8819: #                    4 = reverse
        !          8820: #                    5 = reverse blank
        !          8821: #                    6 = reverse blink
        !          8822: #                    7 = reverse blink blank (= reverse blank)
        !          8823: #                    8 = underline
        !          8824: #                    9 = underline blank
        !          8825: #                    : = underline blink
        !          8826: #                    ; = underline blink blank
        !          8827: #                    < = reverse underline
        !          8828: #                    = = reverse underline blank
        !          8829: #                    > = reverse underline blink
        !          8830: #                    ? = reverse underline blink blank
        !          8831: #                p2, p3: f/grnd, b/grnd colour
        !          8832: #                (see ESC F for colours)
        !          8833: #                use ZZ for mono, eg.
        !          8834: #                    ESC [ 0 Z Z for normal
        !          8835: #                    ESC [ 4 Z Z for inverse etc.
        !          8836: #
        !          8837: #ESC \ n         set page size:
        !          8838: #                n = 1   24 lines/page
        !          8839: #                n = 2   48 lines/page
        !          8840: #                n = 3   72 lines/page
        !          8841: #                n = 4   96 lines/page
        !          8842: #ESC ] n         set Wordstar mode:
        !          8843: #                n = 0   normal (KDS7372) mode
        !          8844: #                n = 1   Wordstar mode
        !          8845: #
        !          8846: #ESC b           set foreground colour screen
        !          8847: #
        !          8848: #ESC c n         enter self-test mode:
        !          8849: #                n = 0   exit self test mode
        !          8850: #                n = 1   ROM test
        !          8851: #                n = 2   RAM test
        !          8852: #                n = 3   NVRAM test
        !          8853: #                n = 4   screen display test
        !          8854: #                n = 5   main/printer port test
        !          8855: #                n = 6   mouse port test
        !          8856: #                n = 7   graphics board test
        !          8857: #                n = 8   graphics memory test
        !          8858: #                n = 9   display all 'E'
        !          8859: #                n = :   display all 'H'
        !          8860: #ESC d           set background colour screen
        !          8861: #
        !          8862: #ESC e n         program insert char (n = insert char)
        !          8863: #ESC f text CR   load user status line with 'text'
        !          8864: #
        !          8865: #ESC g           display user status line on 25th line
        !          8866: #ESC h           display system status line on 25th line
        !          8867: #ESC i           tab
        !          8868: #ESC j           reverse linefeed
        !          8869: #ESC k n         duplex/local edit mode:
        !          8870: #                n = 0   duplex edit mode
        !          8871: #                n = 1   local edit mode
        !          8872: #ESC l n         select virtual screen:
        !          8873: #                n = 0   screen 1
        !          8874: #                n = 1   screen 2
        !          8875: #ESC m           save current config to NVRAM
        !          8876: #ESC n p1        select display screen:
        !          8877: #                p1 = 0  screen 1
        !          8878: #                p1 = 1  screen 2
        !          8879: #                p1 = 2  screen 3
        !          8880: #                p1 = 3  screen 4
        !          8881: #ESC o p1 p2     set characters/line and attribute:
        !          8882: #                p1 = 0  80 chars/line
        !          8883: #
        !          8884: #ESC o p1 p2     set characters/line and attribute:
        !          8885: #                p1 = 0  80 chars/line
        !          8886: #                p1 = 1  132 chars/line
        !          8887: #                p2 = 0  single width single height
        !          8888: #                p2 = 1  single width double height
        !          8889: #                p2 = 2  double width single height
        !          8890: #                p2 = 3  double width double height
        !          8891: #
        !          8892: #ESC q           insert mode on
        !          8893: #ESC r           edit mode on
        !          8894: #ESC s           send message all
        !          8895: #ESC t           erase line to null
        !          8896: #ESC u           clear monitor mode (see ESC U, ESC X)
        !          8897: #ESC v           autopage mode on
        !          8898: #ESC w           autopage mode off
        !          8899: #ESC x p1 p2 p3  define delimiter code...
        !          8900: #ESC y           erase page to null
        !          8901: #
        !          8902: #ESC z 2 p1 p2 p3 p4   draw quadrangle:
        !          8903: #                      p1 = starting row
        !          8904: #                      p2 = starting column
        !          8905: #                      p3 = end row
        !          8906: #                      p4 = end column
        !          8907: #
        !          8908: #ESC { p1 p2 p3 p4     configure main port
        !          8909: #                      (baud, stop bits, parity, word length)
        !          8910: #
        !          8911: #ESC | p1 p2 text Ctrl-Y    program function key with 'text':
        !          8912: #                        p1 = function key code:
        !          8913: #                             '1' - ';'  normal f1- f11
        !          8914: #                             '<' - 'F'  shifted f1 - f11
        !          8915: #                        p2 = program mode:
        !          8916: #                             1 = FDX
        !          8917: #                             2 = LOC
        !          8918: #                             3 = HDX
        !          8919: #                        Ctrl-Y = terminator
        !          8920: #                        (use Ctrl-P to escape ^P, ^Y )
        !          8921: #
        !          8922: #ESC } p1 p2 p3 p4     configure printer port
        !          8923: #                      (baud, stop bits, parity, word length)
        !          8924: #ESC ~           send system status
        !          8925: #
        !          8926: # Codes and info from Peter Disdale <pete@pdlmail.demon.co.uk> 12 May 1997
        !          8927: #
        !          8928: # Entry is by esr going solely on above information and is UNTESTED.
        !          8929: # This actually looks a lot like a Televideo 9xx.
        !          8930: # This entry uses page 0 and is monochrome; I'm not brave enough to try
        !          8931: # to make color work without a test terminal.  The :am: capability is a guess.
        !          8932: # The initialization string sets conversation mode, blinking underline cursor,
        !          8933: # full duplex, parallel attribute mode, display user status line, white
        !          8934: # foreground, black background, normal highlight.
        !          8935: #
        !          8936: icl6404|kds7372|icl6402|kds6402|ICL 6404 aka Kokusai Display Systems 7372:\
        !          8937:        :am:bs:hs:\
        !          8938:        :co#80:li#24:\
        !          8939:        :DC=\EW:al=\EE:bl=^G:bt=\EI:cl=\E*:cm=\E=%+'%+'%+':cr=^M:\
        !          8940:        :..cs=\E\041%+%p1%{32}%+%p2%{32} cud1=\026:ct=\E3:\
        !          8941:        :dl=\ER:ei=\Er:ho=^^:i1=\EC\E.3\EDF\EV1\Eg\E[0ZZ:im=\Eq:\
        !          8942:        :mb=\E[2ZZ:me=\E[0ZZ:mk=\E[1ZZ:mr=\E[4ZZ:nd=^L:nw=^_:\
        !          8943:        :r2=\Eo1:\
        !          8944:        :..sa=\E[%{0}%?%p1%t%{4}%|%;%?%p2%t%{8}%|%;%?%p3%t%{4}%|%;%?%p4%t%{2}%|%;%?%p7%t%{1}%|%;ZZ:\
        !          8945:        :se=\E[%gh%{4}%^%Ph%gh%dZZ:so=\E[8ZZ:st=\E1:ta=^I:\
        !          8946:        :ue=\E[%gh%{8}%^%Ph%gh%dZZ:up=^K:us=\E[8ZZ:ve=\E.3:\
        !          8947:        :vi=\E.0:vs=\E.1:
        !          8948: icl6404-w|kds7372-w|ICL 6404 aka Kokusai Display Systems 7372 132 cols:\
        !          8949:        :r2=\Eo1:\
        !          8950:        :tc=icl6404:
        !          8951:
1.1       deraadt  8952: #### Interactive Systems Corp
                   8953: #
                   8954: # ISC used to sell OEMed and customized hardware to support ISC UNIX.
                   8955: # ISC UNIX still exists in 1995, but ISC itself is no more; they got
                   8956: # bought out by Sun.
                   8957: #
                   8958:
                   8959: # From: <cithep!eric>  Wed Sep 16 08:06:44 1981
1.2       deraadt  8960: # (intext: removed obsolete ":ma=^K^P^R^L^L ::bc=^_:", also the
1.1       deraadt  8961: # ":le=^_:" later overridden -- esr)
                   8962: intext|Interactive Systems Corporation modified owl 1200:\
1.8       tholo    8963:        :am:bs:\
1.2       deraadt  8964:        :co#80:it#8:li#24:sg#1:\
1.1       deraadt  8965:        :al=\020:bl=^G:bt=^Y:cd=\026J:ce=^Kp^R:cl=\014:\
1.5       tholo    8966:        :cm=\017%+ %+ :cr=^M:dc=\022:dl=\021:do=^J:ei=^V<:im=^V;:\
                   8967:        :ip=:k0=^VJ\r:k1=^VA\r:k2=^VB\r:k3=^VC\r:k4=^VD\r:k5=^VE\r:\
                   8968:        :k6=^VF\r:k7=^VG\r:k8=^VH\r:k9=^VI\r:kb=^H:kd=^J:ke=^V9:\
                   8969:        :kh=^Z:kl=^_:kr=^^:ks=\036\072\264\026%:ku=^\:le=^H:nd=^^:\
                   8970:        :se=^V# :sf=^J:so=^V$\054:ta=^I:up=^\:
1.1       deraadt  8971: intext2|intextii|INTERACTIVE modified owl 1251:\
                   8972:        :am:bw:ul:\
                   8973:        :co#80:li#24:sg#0:\
1.3       deraadt  8974:        :al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%+^AG:\
                   8975:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:\
                   8976:        :do=\E[B:ei=:ic=\E[@:im=:k0=\E@\r:k1=\EP\r:k2=\EQ\r:\
1.5       tholo    8977:        :k3=\ES\r:k4=\ET\r:k5=\EU\r:k6=\EV\r:k7=\EW\r:k8=\EX\r:\
                   8978:        :k9=\EY\r:kb=^H:kd=\EB\r:kh=\ER\r:kl=\ED\r:kr=\EC\r:\
                   8979:        :ku=\EA\r:l0=REFRSH:l1=DEL CH:l2=TABSET:l3=GOTO:l4=+PAGE:\
                   8980:        :l5=+SRCH:l6=-PAGE:l7=-SRCH:l8=LEFT:l9=RIGHT:nd=\E[C:\
                   8981:        :se=\E[2 D:sf=\E[S:so=\E[6 D:sr=\E[T:ta=^I:ue=\E[2 D:\
                   8982:        :up=\E[A:us=\E[18 D:\
1.2       deraadt  8983:        :vb=\E[;;;;;;;;;2;;u\E[;;;;;;;;;1;;u:
1.1       deraadt  8984:
                   8985: #### Kimtron (abm, kt)
                   8986: #
1.13    ! millert  8987: # Kimtron seems to be history, but as March 1998 these people are still
        !          8988: # offering repair services for Kimtron equipment:
        !          8989: #
        !          8990: #    Com/Pair Monitor Service
        !          8991: #    1105 N. Cliff Ave.
        !          8992: #    Sioux Falls, South Dakota 57103
        !          8993: #
        !          8994: #    WATS voice:  1-800/398-4946
        !          8995: #    POTS   fax: +1 605/338-8709
        !          8996: #    POTS voice: +1 605/338-9650
        !          8997: #         Email: <compair@sd.cybernex.net>
        !          8998: #  Internet/Web: <http://www.com-pair.com>
        !          8999: #
1.2       deraadt  9000: # Kimtron entries include (undocumented) codes for: enter dim mode,
                   9001: # enter bold mode, enter reverse mode, turn off all attributes.
                   9002: #
1.1       deraadt  9003:
                   9004: # Kimtron ABM 85 added by Dual Systems
1.2       deraadt  9005: # (abm85: removed duplicated ":kd=^J:" -- esr)
1.1       deraadt  9006: abm85|Kimtron ABM 85:\
1.8       tholo    9007:        :am:bs:bw:ms:\
1.13    ! millert  9008:        :co#80:it#8:li#24:sg#1:\
1.5       tholo    9009:        :al=\EE:bt=\EI:cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :dc=\EW:\
                   9010:        :dl=\ER:do=^J:ei=\Er:if=/usr/share/tabset/stdcrt:im=\EQ:\
1.1       deraadt  9011:        :is=\EC\EX\Eg\En\E%\Er\E(\Ek\Em\Eq:kb=^H:kd=^J:kh=^^:\
1.5       tholo    9012:        :kl=^H:kr=^L:ku=^K:le=^H:nd=^L:se=\Ek:so=\Ej:ta=^I:ue=\Em:\
                   9013:        :up=^K:us=\El:
1.1       deraadt  9014: # Kimtron ABM 85H added by Dual Systems.
1.8       tholo    9015: # Some notes about the abm85h entries:
1.2       deraadt  9016: # 1) there are several firmware revs of 85H in the world. Use abm85h-old for
1.1       deraadt  9017: #    firmware revs prior to SP51
1.8       tholo    9018: # 2) Make sure to use abm85h entry if the terminal is in 85h mode and the
                   9019: #    abm85e entry if it is in tvi920 emulation mode. They are incompatible
                   9020: #    in some places and NOT software settable i.e., :is: can't fix it)
1.1       deraadt  9021: # 3) In 85h mode, the arrow keys and special functions transmit when
                   9022: #    the terminal is in dup-edit, and work only locally in local-edit.
1.5       tholo    9023: #    Vi won't swallow `del char' for instance, but :ti: turns on
1.1       deraadt  9024: #    dup-edit anyway so that the arrow keys will work right. If the
1.5       tholo    9025: #    arrow keys don't work the way you like, change :ti:, :te:, and
                   9026: #    :is:.  Note that 920E mode does not have software commands to toggle
1.2       deraadt  9027: #    between dup and local edit, so you get whatever was set last on the
                   9028: #    terminal.
1.5       tholo    9029: # 4) :vb: attribute is nice, but seems too slow to work correctly
                   9030: #    (\Eb:pc:\Ed)
1.1       deraadt  9031: # 5) Make sure `hidden' attributes are selected. If `embedded' attributes
1.2       deraadt  9032: #    are selected, the <xmc@> entry should be removed.
1.1       deraadt  9033: # 6) auto new-line should be on (selectable from setup mode only)
                   9034: #
                   9035: # From: Erik Fair <fair@ucbarpa>  Sun Oct 27 07:21:05 1985
1.2       deraadt  9036: abm85h|Kimtron ABM 85H native mode:\
1.1       deraadt  9037:        :hs:\
1.5       tholo    9038:        :sg@:\
1.2       deraadt  9039:        :bl=^G:ds=\Ee:fs=^M:im=\EZ:\
1.1       deraadt  9040:        :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    9041:        :kd=^V:me=\E(\EG0:mh=\E):mk@:ts=\Eg\Ef:vb@:ve=\E.4:vs=\E.2:\
                   9042:        :tc=adm+sgr:tc=abm85:
1.2       deraadt  9043: abm85e|Kimtron ABM 85H in 920E mode:\
                   9044:        :sg@:\
                   9045:        :bl=^G:im=\EZ:\
1.1       deraadt  9046:        :is=\EC\EX\EA\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\Ek\Eq\Em:\
1.5       tholo    9047:        :me=\E(\Ek:mh=\E):mr=\Ej:vb@:\
                   9048:        :tc=abm85:
1.2       deraadt  9049: abm85h-old|oabm85h|o85h|Kimtron ABM 85H with old firmware rev.:\
                   9050:        :sg@:\
                   9051:        :bl=^G:im=\EZ:\
1.1       deraadt  9052:        :is=\E}\EC\EX\Ee\En\E%\Er\E(\Ek\Em\Eq\Ed\ET\EC\E9\EF:\
1.5       tholo    9053:        :me=\E(\Ek:mh=\E):mr=\Ej:\
                   9054:        :tc=abm85:
1.1       deraadt  9055: # From: <malman@bbn-vax.arpa>
1.2       deraadt  9056: # (kt7: removed obsolete :ma=^V^J^L :" -- esr)
1.1       deraadt  9057: kt7|kimtron model kt-7:\
1.8       tholo    9058:        :am:bs:\
1.2       deraadt  9059:        :co#80:it#8:li#24:\
1.5       tholo    9060:        :al=\EE:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :dc=\EW:\
                   9061:        :dl=\ER:do=^V:ei=:fs=\Eg:ho=^^:ic=\EQ:\
1.1       deraadt  9062:        :if=/usr/share/tabset/stdcrt:im=:is=\El\E":k0=^AI\r:\
1.5       tholo    9063:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
                   9064:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=\EE:kB=\EI:kC=^Z:kD=\EW:\
                   9065:        :kE=\ET:kI=\EQ:kL=\ER:kS=\EY:kb=^H:kd=^V:kh=^^:kl=^H:kr=^L:\
                   9066:        :ku=^K:le=^H:mk@:nd=^L:ta=^I:ts=\Ef:up=^K:\
                   9067:        :tc=adm+sgr:
1.8       tholo    9068: # Renamed TB=^I to :ta:, BE=^G to :bl:, BS=^H to :kb:, N to :kS: (based on the
                   9069: # other kt7 entry and the adjacent key capabilities).  Removed EE which is
                   9070: # identical to :mh:.  Removed :ES=\EGD: which is some kind of highlight
                   9071: # but we can't figure out what.
                   9072: kt7ix|kimtron model kt-7 or 70 in IX mode:\
                   9073:        :am:bw:\
                   9074:        :co#80:it#8:li#25:\
1.13    ! millert  9075:        :@7=\EY:PU=\EK:ac=jYk?lZm@nEqDt4uCvAwBx3:ae=\E%:al=\EE:\
1.8       tholo    9076:        :as=\E$:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :\
                   9077:        :cr=^M:dc=\EW:dl=\ER:do=^V:ds=\Ef\r:ei=:fs=^M:ho=^^:ic=\EQ:\
                   9078:        :im=:is=\EG0\E s\017\E~:k0=^AI\r:k1=^A@\r:k2=^AA\r:\
                   9079:        :k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:\
                   9080:        :k9=^AH\r:kA=\EE:kB=\EI:kC=\E*:kE=\ET:kI=\EQ:kL=\ER:kN=\EJ:\
                   9081:        :kS=\EY:kb=^H:kd=\E[B:kh=^^:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
                   9082:        :mb=\EG2:me=\EG0:mh=\EG@:nd=^L:nw=^M^J:se=\EG0:sf=^J:\
                   9083:        :so=\EG4:ta=^I:ts=\Ef:ue=\EG0:up=^K:us=\EG8:ve=\E.3:vi=\E.0:
                   9084:
                   9085: #### Microdata/MDIS
                   9086: #
                   9087: # This was a line of terminals made by McDonnell-Douglas Information Systems.
                   9088: # These entries come direct from MDIS documentation.  I have edited them only
                   9089: # to move primary names of the form p[0-9] * to aliases, and to comment out
                   9090: # :ae:/:as: in a couple of entries without <acsc> strings.  I have
                   9091: # also removed the change history; the last version indicates this is
                   9092: # version 4.3 by A.Barkus, September 1990 (earliest entry is October 1989).
                   9093: #
                   9094:
                   9095: # McDonnell Information Systems Terminal Family History
                   9096: # =========================================
                   9097: #
                   9098: # Prism-1, Prism-2 and P99:
                   9099: #       Ancient Microdata and CMC terminals, vaguely like Adds Regent 25.
                   9100: #
                   9101: # Prism-4 and Prism-5:
                   9102: #       Slightly less ancient range of Microdata terminals. Follow-on from
                   9103: #       Prism-2, but with many enhancements. P5 has eight display pages.
                   9104: #
                   9105: # Prism-6:
                   9106: #       A special terminal for use with library systems, primarily in Germany.
                   9107: #       Limited numbers. Similar functionality to P5 (except attributes?).
                   9108: #
                   9109: # Prism-7, Prism-8 and Prism-9:
                   9110: #       More recent range of MDIS terminals, in which P7 and P8
                   9111: #       replace the P4 & P5, with added functionality, and P9 is the flagship.
                   9112: #       The P9 has two emulation modes - P8 and ANSI - and includes a
                   9113: #       large number of the DEC VT220 control sequences. Both
                   9114: #       P8 and P9 support 80c/24ln/8pg and 132cl/24li/4pg formats.
                   9115: #
                   9116: # Prism-12 and Prism-14:
                   9117: #       Latest range, functionally very similar to the P9.  The P14 has a
                   9118: #       black-on-white overscanning screen.
                   9119: #
                   9120: # The terminfo definitions given here are:
                   9121: #
                   9122: # p2      - Prism-2 (or Prism-1 or P99).
                   9123: #
                   9124: # p4      - Prism-4 (and older P7s & P8s).
                   9125: # p5      - Prism-5 (or Prism-6).
                   9126: #
                   9127: # p7      - Prism-7.
                   9128: # p8      - Prism-8 (in national or multinational mode).
                   9129: # p8-w    - 132 column version of p8.
                   9130: # p9      - Prism-9 in ANSI mode.
                   9131: # p9-w    - 132 column version of p9.
                   9132: # p9-8    - Prism-9 in Prism-8 emulation mode.
                   9133: # p9-8-w  - As p9-8, but with 132 columns.
                   9134: #
                   9135: # p12     - Prism-12 in ANSI mode.
                   9136: # p12-w   - 132 column version of p12.
                   9137: # p12-m   - Prism-12 in MDC emulation mode.
                   9138: # p12-m-w - As p12-m, but with 132 columns.
                   9139: # p14     - Prism-14 in ANSI mode.
                   9140: # p14-w   - 132 column version of p14.
                   9141: # p14-m   - Prism-14 in MDC emulation mode.
                   9142: # p14-m-w - As p14-m, but with 132 columns.
                   9143: #
                   9144: # p2: Prism-2
                   9145: # -----------
                   9146: #
                   9147: # Includes Prism-1 and basic P99 without SP or MP loaded.
                   9148: # The simplest form of Prism-type terminal.
                   9149: # Basic cursor movement and clearing operations only.
                   9150: # No video attributes.
                   9151: # Notes:
                   9152: #  Horizontal cursor qualifiers of NUL, XON and XOFF are mapped to the next
                   9153: #  value up, followed by backspace.
                   9154: #
1.13    ! millert  9155: prism2|MDC Prism-2:\
1.8       tholo    9156:        :am:bw:ms:\
                   9157:        :co#80:li#24:\
                   9158:        :bl=^G:cd=\EJ:ce=\EK:\
                   9159:        :..ch=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c:\
                   9160:        :cl=\014:\
                   9161:        :..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:\
                   9162:        :cr=^M:cv=\013%+ :do=^J:ho=^A:kb=^H:kh=^A:le=^H:nd=^F:sf=^J:\
                   9163:        :up=^Z:
                   9164:
                   9165: # p4: Prism-4
                   9166: # -----------
                   9167: #
                   9168: # Includes early versions of P7 & P8.
                   9169: # Basic family definition for most Prisms (except P2 and P9 ANSI).
                   9170: # Notes:
                   9171: #  Horizontal cursor qualifiers of NUL, XON and XOFF are mapped to the next
                   9172: #  value up, followed by backspace.
                   9173: #  Cursor key definitions removed because they interfere with vi and csh keys.
                   9174: #
                   9175: prism4|p4|P4|MDC Prism-4:\
                   9176:        :5i:am:bw:hs:ms:\
1.13    ! millert  9177:        :co#80:li#24:sg#1:ws#72:\
1.8       tholo    9178:        :bl=^G:cd=\EJ:ce=\EK:\
                   9179:        :..ch=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c:\
                   9180:        :cl=\014:\
                   9181:        :..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:\
                   9182:        :cr=^M:cv=\013%+ :do=^J:ds=\035\343\035\345:fs=^]\345:\
1.13    ! millert  9183:        :ho=^A:kb=^H:kh=^A:le=^H:mb=^CB:me=^C :mh=^CA:mk=^CH:mr=^CD:\
        !          9184:        :nd=^F:pf=\ET:po=\ER:ps=\EU:\
1.8       tholo    9185:        :..sa=\003%'@'%?%p1%p3%|%t%{4}%+%;%?%p2%t%{16}%+%;%?%p4%t%{2}%+%;%?%p5%t%{1}%+%;%?%p7%t%{8}%+%;%c%?%p9%t\016%e\017%;:\
                   9186:        :se=^C :sf=^J:so=^CD:ts=^]\343:ue=^C :up=^Z:us=^CP:\
                   9187:        :ve=^]\342:vi=^]\344:
                   9188:
                   9189: # p5: Prism-5
                   9190: # -----------
                   9191: #
                   9192: # Same definition as p4. Includes Prism-6 (not tested!).
                   9193: # Does not use any multi-page features.
                   9194: #
                   9195: prism5|p5|P5|MDC Prism-5:\
                   9196:        :tc=p4:
                   9197:
                   9198: # p7: Prism-7
                   9199: # -----------
                   9200: #
                   9201: # Similar definition to p4. Uses ANSI cursor motion to avoid network problems.
                   9202: # Notes:
                   9203: #  Use p4 for very early models of P7.
                   9204: #  Rev-index removed; can't send nulls to terminal in 8-bit modes.
                   9205: #
                   9206: prism7|p7|P7|MDC Prism-7:\
                   9207:        :ch@:cm=\E[%i%d;%dH:cv@:tc=p4:
                   9208:
                   9209: # p8: Prism-8
                   9210: # -----------
                   9211: #
                   9212: # Similar definition to p7. Uses ANSI cursor motion to avoid network problems.
                   9213: # Supports national and multinational character sets.
                   9214: # Notes:
                   9215: #  Alternate char set operations only work in multinational mode.
                   9216: #  Use p4 for very early models of P8.
                   9217: #  Rev-index removed; can't send nulls to terminal in 8-bit modes.
                   9218: # (esr: commented out :as:/:ae: because there's no <acsc>)
                   9219: #
                   9220: prism8|p8|P8|MDC Prism-8:\
                   9221:        :ch=\E[%i%d`:cm=\E[%i%d;%dH:cv=\E[%i%dd:is=\E[<12h:tc=p4:
                   9222:
                   9223: # p8-w: Prism-8 in 132 column mode
                   9224: # --------------------------------
                   9225: #
                   9226: # 'Wide' version of p8.
                   9227: # Notes:
                   9228: #  Rev-index removed; can't send nulls to terminal in 8-bit modes.
                   9229: #
                   9230: prism8-w|p8-w|P8-W|MDC Prism-8 in 132 column mode:\
                   9231:        :co#132:\
                   9232:        :is=\E[<12h\E[<14h:tc=p8:
                   9233:
                   9234: # p9: Prism-9 in ANSI mode
                   9235: # -------------------------
                   9236: #
                   9237: # The "flagship" model of this generation of terminals.
                   9238: # ANSI X3.64 (ISO 6429) standard sequences, plus many DEC VT220 ones.
                   9239: # Notes:
                   9240: #  Tabs only reset by "reset". Otherwise assumes default (8 cols).
                   9241: #  Fixes to deal with terminal firmware bugs:
                   9242: #  . 'ri' uses insert-line since rev index doesn't always
                   9243: #  . 'sgr0' has extra '0' since esc[m fails
                   9244: #  . 'fsl' & 'dsl' use illegal char since cr is actioned wrong on line 25
                   9245: #  Not covered in the current definition:
                   9246: #  . Labels
                   9247: #  . Programming Fn keys
                   9248: #  . Graphic characters (defaults correctly to vt100)
                   9249: #  . Padding values (sets xon)
                   9250: # (esr: commented out :as:/:ae: because there's no <acsc>)
                   9251: #
                   9252: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   9253: prism9|p9|P9|MDC Prism-9 in ANSII mode:\
                   9254:        :5i:am:bw:hs:ms:xn:xo:\
                   9255:        :co#80:it#8:li#24:vt#3:ws#72:\
                   9256:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:\
                   9257:        :F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:\
                   9258:        :F7=\E[31~:F8=\E[32~:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
                   9259:        :al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%i%d`:cl=^L:\
                   9260:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%d%v:ct=\E[2g:\
                   9261:        :cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=^J:ds=\E[%}\024:ec=\E[%dX:\
                   9262:        :ei=\E[4l:fs=^T:ho=\E[H:im=\E[4h:is=\E[&p\E[<12l\E F:\
                   9263:        :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
                   9264:        :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kC=^L:\
                   9265:        :kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
                   9266:        :mb=\E[5m:md=\E[1m:me=\E[0m:mp=\E[32%{:mr=\E[7m:nd=\E[C:\
                   9267:        :nw=^M^J:pf=\E[4i:po=\E[5i:ps=\E[i:\
                   9268:        :r2=\E[&p\E[<12l\E F\E[3g\E[9;17;25;33;41;49;57;65;73 N:\
                   9269:        :rc=\E[%z:rp=\E[%r%db%.:sc=\E[%y:se=\E[27m:sf=^J:so=\E[7m:\
                   9270:        :sr=\E[L:st=\EH:ta=^I:ts=\E[%i%p1%d%%}:ue=\E[24m:up=\E[A:\
                   9271:        :us=\E[4m:ve=\E[<4h:vi=\E[<4l:
                   9272:
                   9273: # p9-w: Prism-9 in 132 column mode
                   9274: # --------------------------------
                   9275: #
                   9276: # 'Wide' version of p9.
                   9277: #
                   9278: prism9-w|p9-w|P9-W|MDC Prism-9 in 132 column mode:\
                   9279:        :co#132:\
                   9280:        :is=\E[&p\E[<12l\E F\E[<14h:\
                   9281:        :r2=\E[&p\E[<12l\E F\E[<14h:tc=p9:
                   9282:
                   9283: # p9-8: Prism-9 in P8 mode
                   9284: # ------------------------
                   9285: #
                   9286: # P9 terminal in P8 emulation mode.
                   9287: # Similar to p8 definition.
                   9288: # Insertion and deletion operations possible.
                   9289: #
                   9290: prism9-8|p9-8|P9-8|MDC Prism-9 in P8 mode:\
                   9291:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:al=\E[L:dc=\E[P:\
                   9292:        :dl=\E[M:ei=:ic=\E[@:im=:\
                   9293:        :tc=p8:
                   9294:
                   9295: # p9-8-w: Prism-9 in P8 and 132 column modes
                   9296: # ------------------------------------------
                   9297: #
                   9298: # P9 terminal in P8 emulation mode and 132 column mode.
                   9299: #
                   9300: prism9-8-w|p9-8-w|P9-8-W|MDC Prism-9 in Prism 8 emulation and 132 column mode:\
                   9301:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:al=\E[L:dc=\E[P:\
                   9302:        :dl=\E[M:ei=:ic=\E[@:im=:\
                   9303:        :tc=p8-w:
                   9304:
                   9305: # p12: Prism-12 in ANSI mode
                   9306: # ---------------------------
                   9307: #
                   9308: # See p9 definition.
                   9309: #
                   9310: prism12|p12|P12|MDC Prism-12 in ANSI mode:\
                   9311:        :tc=p9:
                   9312:
                   9313: # p12-w: Prism-12 in 132 column mode
                   9314: # ----------------------------------
                   9315: #
                   9316: # 'Wide' version of p12.
                   9317: #
                   9318: prism12-w|p12-w|P12-W|MDC Prism-12 in 132 column mode:\
                   9319:        :tc=p9-w:
                   9320:
                   9321: # p12-m: Prism-12 in MDC emulation mode
                   9322: # -------------------------------------
                   9323: #
                   9324: # P12 terminal in MDC emulation mode.
                   9325: # Similar to p8 definition.
                   9326: # Insertion and deletion operations possible.
                   9327: #
                   9328: prism12-m|p12-m|P12-M|MDC Prism-12 in MDC emulation mode:\
                   9329:        :tc=p9-8:
                   9330:
                   9331: # p12-m-w: Prism-12 in MDC emulation and 132 column modes
                   9332: # -------------------------------------------------------
                   9333: #
                   9334: # P12 terminal in MDC emulation mode and 132 column mode.
                   9335: #
                   9336: prism12-m-w|p12-m-w|P12-M-W|MDC Prism-12 in MDC emulation and 132 column mode:\
                   9337:        :tc=p9-8-w:
                   9338:
                   9339: # p14: Prism-14 in ANSII mode
                   9340: # ---------------------------
                   9341: #
                   9342: # See p9 definition.
                   9343: #
                   9344: prism14|p14|P14|MDC Prism-14 in ANSII mode:\
                   9345:        :tc=p9:
                   9346:
                   9347: # p14-w: Prism-14 in 132 column mode
                   9348: # ----------------------------------
                   9349: #
                   9350: # 'Wide' version of p14.
                   9351: #
                   9352: prism14-w|p14-w|P14-W|MDC Prism-14 in 132 column mode:\
                   9353:        :tc=p9-w:
                   9354:
                   9355: # p14-m: Prism-14 in MDC emulation mode
                   9356: # -------------------------------------
                   9357: #
                   9358: # P14 terminal in MDC emulation mode.
                   9359: # Similar to p8 definition.
                   9360: # Insertion and deletion operations possible.
                   9361: #
                   9362: prism14-m|p14-m|P14-M|MDC Prism-14 in MDC emulation mode:\
                   9363:        :tc=p9-8:
                   9364:
                   9365: # p14-m-w: Prism-14 in MDC emulation and 132 column modes
                   9366: # -------------------------------------------------------
                   9367: #
                   9368: # P14 terminal in MDC emulation mode and 132 column mode.
                   9369: #
                   9370: prism14-m-w|p14-m-w|P14-M-W|MDC Prism-14 in MDC emulation and 132 column mode:\
                   9371:        :tc=p9-8-w:
                   9372:
                   9373: # End of McDonnell Information Systems Prism definitions
                   9374:
                   9375: # These things were popular in the Pick database community at one time
                   9376: # From: George Land <georgeland@aol.com> 24 Sep 1996
                   9377: p8gl|prism8gl|McDonnell-Douglas Prism-8 alternate definition:\
                   9378:        :am:bw:hs:mi:\
1.13    ! millert  9379:        :co#80:li#24:ma#1:sg#1:ws#78:\
1.8       tholo    9380:        :F2=^AJ\r:F3=^AK\r:F4=^AL\r:F5=^AM\r:F6=^AN\r:F7=^AO\r:\
                   9381:        :bl=^G:cd=\EJ:ce=\EK:cl=^L:cm=\E[%i%d;%dH:cr=^M:dc= ^H:\
                   9382:        :dl=^P:do=^J:ho=^A:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
                   9383:        :k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:\
                   9384:        :kD= ^H:kE=\EK:kL=^P:kS=\EJ:kb=^H:kd=^J:kh=^A:kl=^U:kr=^F:\
                   9385:        :ku=^Z:l1=F1:l2=F2:l3=F3:l4=F4:l5=F5:l6=F6:l7=F7:l8=F8:l9=F9:\
                   9386:        :la=F10:le=^U:mb=^CB:me=^C :mh=^CA:mk=^CH:mr=^CD:nd=^F:\
1.13    ! millert  9387:        :nw=^J^M:pc=\0:se=^C :sf=^J:so=^CE:ue=^C :up=^Z:us=^C0:
1.1       deraadt  9388:
                   9389: #### Microterm (act, mime)
                   9390: #
                   9391: # The mime1 entries refer to the Microterm Mime I or Mime II.
                   9392: # The default mime is assumed to be in enhanced act iv mode.
                   9393: #
                   9394:
1.2       deraadt  9395: # New "safe" cursor movement (5/87) from <reuss@umd5.umd.edu>.  Prevents
1.5       tholo    9396: # freakout with out-of-range args on Sytek multiplexors.  No :so=^N: and
                   9397: # :se=^N: since  it gets confused and it's too dim anyway.  No :ic:
1.2       deraadt  9398: # since Sytek insists ^S means xoff.
1.1       deraadt  9399: # (act4: found ":ic=2^S:ei=:im=:ip=.1*^V:" commented out in 8.3 -- esr)
                   9400: act4|microterm|microterm act iv:\
1.8       tholo    9401:        :am:bs:\
1.1       deraadt  9402:        :co#80:li#24:\
                   9403:        :al=2.3*\001<2.3*/>:bl=^G:cd=2.2*\037:ce=.1*\036:\
                   9404:        :cl=12\014:cm=\024%+^X%>/0%+P:cr=^M:dc=.1*\004:\
1.5       tholo    9405:        :dl=2.3*\027:do=^K:ho=^]:kd=^K:kl=^H:kr=^X:ku=^Z:le=^H:nd=^X:\
                   9406:        :sf=^J:up=^Z:
1.1       deraadt  9407: # The padding on :sr: and :ta: for act5 and mime is a guess and not final.
                   9408: # The act 5 has hardware tabs, but they are in columns 8, 16, 24, 32, 41 (!)...
                   9409: # (microterm5: removed obsolete ":ma==^Z^P^Xl^Kj:" -- esr)
                   9410: act5|microterm5|microterm act v:\
                   9411:        :kd=^K:kl=^H:kr=^X:ku=^Z:sr=\EH:uc=^H\EA:tc=act4:
                   9412: # Mimes using brightness for standout.  Half bright is really dim unless
                   9413: # you turn up the brightness so far that lines show up on the screen.
                   9414: mime-fb|full bright mime1:\
                   9415:        :is=^S\E:se=^S:so=^Y:tc=mime:
                   9416: mime-hb|half bright mime1:\
                   9417:        :is=^Y\E:se=^Y:so=^S:tc=mime:
                   9418: # (mime: removed obsolete ":ma=^X ^K^J^Z^P:"; removed ":do=^K:" that overrode
1.2       deraadt  9419: # the more plausible ":do=^J:" -- esr)
1.1       deraadt  9420: # uc was at one time disabled to get around a curses bug, be wary of it
                   9421: mime|mime1|mime2|mimei|mimeii|microterm mime1:\
1.8       tholo    9422:        :am:bs:\
1.1       deraadt  9423:        :co#80:it#8:li#24:vt#9:\
1.5       tholo    9424:        :al=\001:bl=^G:cd=^_:ce=^^:cl=^]^C:cm=\024%+^X%> 0%+P:\
                   9425:        :cr=^M:dl=\027:do=^J:ho=^]:is=^S\E^Q:kd=^K:kl=^H:kr=^X:ku=^Z:\
                   9426:        :le=^H:nd=^X:sf=^J:sr=\022:ta=\011:uc=^U:up=^Z:
1.8       tholo    9427: # These termcaps (for mime2a) put the terminal in low intensity mode
1.1       deraadt  9428: # since high intensity mode is so obnoxious.
                   9429: mime2a-s|microterm mime2a (emulating an enhanced soroc iq120):\
1.8       tholo    9430:        :am:bs:\
1.1       deraadt  9431:        :co#80:li#24:\
1.5       tholo    9432:        :al=\001:bl=^G:cd=\EJ:ce=\EK:cl=\EL:cm=\E=%+ %+ :cr=^M:\
                   9433:        :dc=\ED:dl=\027:do=^J:ei=^Z:ho=^^:im=\EE:ip=:is=\E):kd=^J:\
                   9434:        :kl=^H:kr=^L:ku=^K:le=^H:nd=^L:se=\E;:sf=^J:so=\E\072:sr=\EI:\
                   9435:        :ue=\E7:up=\EI:us=\E6:
1.1       deraadt  9436: # This is the preferred mode (but ^X can't be used as a kill character)
                   9437: mime2a|mime2a-v|microterm mime2a (emulating an enhanced vt52):\
1.8       tholo    9438:        :bs:\
1.1       deraadt  9439:        :co#80:it#8:li#24:\
1.5       tholo    9440:        :al=\001:bl=^G:cd=\EQ:ce=\EP:cl=\EL:cm=\EY%+ %+ :cr=^M:\
                   9441:        :dc=^N:dl=\027:do=^J:ei=^Z:ho=\EH:im=^O:ip=:is=^Y:kd=\EB:\
                   9442:        :kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:se=\E9:sf=^J:so=\E8:\
                   9443:        :sr=\EA:ta=^I:ue=\E5:up=\EA:us=\E4:
1.1       deraadt  9444: # (mime3a: removed obsolete ":ma=^X ^K^J^Z^P:" -- esr)
                   9445: mime3a|mime1 emulating 3a:\
                   9446:        :am@:\
                   9447:        :kd=^K:kl=^H:kr=^X:ku=^Z:tc=adm3a:
                   9448: mime3ax|mime-3ax|mime1 emulating enhanced 3a:\
                   9449:        :it#8:\
                   9450:        :al=\001:cd=^_:ce=^X:dl=\027:ta=\011:tc=mime3a:
                   9451: # Wed Mar  9 18:53:21 1983
                   9452: # We run our terminals at 2400 baud, so there might be some timing problems at
                   9453: # higher speeds. The major improvements in this model are the terminal now
                   9454: # scrolls down and insert mode works without redrawing the rest of the line
                   9455: # to the right of the cursor. This is done with a bit of a kludge using the
                   9456: # exit graphics mode to get out of insert, but it does not appear to hurt
                   9457: # anything when using vi at least. If you have some users using act4s with
                   9458: # programs that use curses and graphics mode this could be a problem.
                   9459: mime314|mm314|mime 314:\
                   9460:        :am:\
                   9461:        :co#80:li#24:\
1.5       tholo    9462:        :al=^A:cd=^_:ce=^^:cl=^L:cm=\024%.%.:dc=^D:dl=^W:ei=^V:ho=^]:\
                   9463:        :im=^S:kd=^K:kl=^H:kr=^X:ku=^Z:le=^H:nd=^X:ta=^I:up=^Z:
1.2       deraadt  9464: # Microterm mime 340 from University of Wisconsin
                   9465: mm340|mime340|mime 340:\
                   9466:        :co#80:li#24:\
                   9467:        :al=46\EU:cd=2*\037:ce=2.1\EL:cl=12\032:cm=\E=%+ %+ :\
1.5       tholo    9468:        :cr=^M:dc=2.1*\E#:dl=49.6\EV:do=^J:is=\E\054:kb=^H:kd=^J:\
                   9469:        :kl=^H:ku=^K:le=^H:nd=^L:nw=^M^J:sf=^J:ta=^I:up=^K:
1.2       deraadt  9470: # This came from University of Wisconsin marked "astro termcap for jooss".
                   9471: # (mt4520-rv: removed obsolete ":kn#4:" and incorrect ":ri=\E[C:";
                   9472: # also added <rmam>/<smam> based  on the init string -- esr)
                   9473: mt4520-rv|micro-term 4520 reverse video:\
                   9474:        :am:hs:ms:xn:xo:\
                   9475:        :co#80:it#8:li#24:ws#80:\
                   9476:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.3       deraadt  9477:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
1.5       tholo    9478:        :al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
                   9479:        :cr=^M:cs=\E[%i%d;%dr:ct=\E[g:dc=\E[P:dl=\E[M:do=\E[B:ei=:\
                   9480:        :fs=\E[?5l\E[?5h:ho=\E[H:ic=\E[@:im=:\
1.2       deraadt  9481:        :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    9482:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\E[B:kh=\E[H:\
                   9483:        :kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:ll=\E[24;1H:me=\E[m:\
1.3       deraadt  9484:        :nd=\E[C:nw=\EE:\
                   9485:        :r1=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[H\E[J:\
1.5       tholo    9486:        :rc=\E8:rf=/usr/share/tabset/vt100:sc=\E7:se=\E[0m:\
                   9487:        :sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:ts=\E[25;1H:ue=\E[24m:\
                   9488:        :up=\E[A:us=\E[4m:vb=\E[?5l\E[?5h:ve=\E[0V\E8:\
                   9489:        :vs=\E7\E[0U:
1.2       deraadt  9490:
1.1       deraadt  9491: # Fri Aug  5 08:11:57 1983
                   9492: # This entry works for the ergo 4000 with the following setups:
                   9493: # ansi,wraparound,newline disabled, xon/xoff disabled in both
                   9494: # setup a & c.
                   9495: #
                   9496: # WARNING!!! There are multiple versions of ERGO 4000 microcode
                   9497: # Be advised that very early versions DO NOT WORK RIGHT !!
                   9498: # Microterm does have a ROM exchange program- use it or lose big
1.2       deraadt  9499: # (ergo400: added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  9500: ergo4000|microterm ergo 4000:\
                   9501:        :da:db:ms:\
                   9502:        :co#80:li#66:\
1.5       tholo    9503:        :AL=\E[1L:RA=\E[?7l:SA=\E[?7m:bl=^G:cd=\E[0J:ce=\E[0K:\
                   9504:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:dc=\E[1P:dl=\E[1M:\
                   9505:        :do=\E[B:ei=\E[4l:im=\E[4h:\
1.1       deraadt  9506:        :is=\E<\E=\E[?1l\E[?4l\E[?5l\E[?7h\E[?8h:k1=\EOP:\
1.5       tholo    9507:        :k2=\EOQ:k3=\EOR:k4=\EOS:kd=\E[B:ke=\E=:kl=\E[D:kr=\E[C:\
                   9508:        :ks=\E=:ku=\E[A:l1=pf1:l2=pf2:l3=pf3:l4=pf4:le=^H:me=\E[m:\
                   9509:        :nd=\E[C:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:up=\E[A:
1.1       deraadt  9510:
                   9511: #### NCR
                   9512: #
                   9513: # NCR's terminal group was merged with AT&T's when AT&T bought the company.
                   9514: # For what happened to that group, see the ADDS section.
                   9515: #
1.5       tholo    9516: # There is an NCR4103 terminal that's just a re-badged Wyse-50.
                   9517: #
1.1       deraadt  9518:
1.13    ! millert  9519: # The following vendor-supplied termcaps were captured from the Boundless
        !          9520: # Technologies site, 8 March 1998.  I removed all-upper-case names that were
        !          9521: # identical, except for case, to lower-case ones.  I also uncommented the acsc
        !          9522: # capabilities.X
        !          9523: #
        !          9524: # The Intecolor emulation of the NCR 2900/260C color terminal is basicly a
        !          9525: # DEC vt200/300 with color capabilities added.
        !          9526: ncr260intan|NCR Intecolor emulation of the 2900_260C with an ANSI keyboard:\
        !          9527:        :Co#8:pa#64:\
        !          9528:        :AB=\E[4%p1%dm:AF=\E[3%p1%dm:op=\E[0m:tc=ncr260vt300an:
        !          9529: # The Intecolor emulation of the NCR 2900/260C color terminal is basicly a
        !          9530: # DEC vt200/300 with color capabilities added.
        !          9531: ncr260intwan|NCR Intecolor emulation of the 2900_260C with an ANSI keyboard:\
        !          9532:        :Co#8:pa#64:\
        !          9533:        :AB=\E[4%p1%dm:AF=\E[3%p1%dm:op=\E[0m:tc=ncr260vt300wan:
        !          9534: # The Intecolor emulation of the NCR 2900/260C color terminal is basicly a DEC
        !          9535: # vt200/300 with color capabilities added.
        !          9536: ncr260intpp|NCR Intecolor emulation of the 2900_260C with a PC+ keyboard:\
        !          9537:        :Co#8:pa#64:\
        !          9538:        :AB=\E[4%p1%dm:AF=\E[3%p1%dm:op=\E[0m:tc=ncr260vt300pp:
        !          9539: # The Intecolor emulation of the NCR 2900/260C color terminal is basicly a
        !          9540: # DEC vt200/300 with color capabilities added.
        !          9541: ncr260intwpp|NCR Intecolor emulation of the 2900_260C with a PC+ keyboard in 132 column mode:\
        !          9542:        :Co#8:pa#64:\
        !          9543:        :AB=\E[4%p1%dm:AF=\E[3%p1%dm:op=\E[0m:tc=ncr260vt300wpp:
        !          9544: # This definition for ViewPoint supports several attributes.  This means
        !          9545: # that it has magic cookies (extra spaces where the attributes begin).
        !          9546: # Some applications do not function well with magic cookies.  The System
        !          9547: # Administrator's Shell in NCR Unix SVR4 1.03 is one such application.
        !          9548: # If supporting various attributes is not vital, 'xmc#1' and the extra
        !          9549: # attributes can be removed.
        !          9550: # Mapping to ASCII character set ('acsc' capability) can also be
        !          9551: # restored if needed.
        !          9552: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          9553: # (sgr removed to fit entry within 1023 bytes)
        !          9554: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
        !          9555: ncr260vppp|NCR 2900_260 viewpoint:\
        !          9556:        :am:bw:hs:km:mi:ms:xo:\
        !          9557:        :co#80:li#24:sg#1:\
        !          9558:        :CM=\Ew@%p1%{48}%+%c%p2%' '%+%c%p3%' '%+%c:K1=^A:\
        !          9559:        :K3=\EJ:K4=\ET:K5=\EJ:ae=\EcB0\EH\003:al=\EM:\
        !          9560:        :as=\EcB1\EH\002:bl=^G:bt=\EI:cd=\Ek:ce=\EK:cl=\014:\
        !          9561:        :cm=\EY%+ %+ :cr=\r:dc=\EW:dl=\El:do=\n:ds=\E`c:ei=\Er:\
        !          9562:        :fs=^M:ho=\036:im=\Eq:\
        !          9563:        :is=\Ee6\E~%\E+\E`\072\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7:\
        !          9564:        :k1=^B1\r:k2=^B2\r:k3=^B3\r:k4=^B4\r:k5=^B5\r:k6=^B6\r:\
        !          9565:        :k7=^B7\r:k8=^B8\r:k9=^B9\r:kD=\EW:kI=\Eq:kN=\EJ:kP=\EJ:\
        !          9566:        :kb=^H:kd=^J:kh=^A:kl=^U:kr=^F:ku=^Z:le=\010:ll=\001:mb=\EG2:\
        !          9567:        :me=\EG0\EH\003:mh=\EGp:mr=\EG4:nd=\006:nw=\037:se=\EG0:\
        !          9568:        :sf=\n:so=\EG4:sr=\Ej:st=\E1:ta=^I:ts=\EF:ue=\EG0:up=\032:\
        !          9569:        :us=\EG8:ve=\E`5:vi=\E`0:vs=\E`5:
        !          9570: ncr260vpwpp|NCR 2900_260 viewpoint wide mode:\
        !          9571:        :co#132:\
        !          9572:        :cm=\Ea%i%dR%dC:\
        !          9573:        :is=\Ee6\E~%\E+\E`;\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7:\
        !          9574:        :r2=\Ee6\E~%\E+\E`;\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7:\
        !          9575:        :tc=ncr260vppp:
        !          9576: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          9577: # (sgr removed to fit entry within 1023 bytes)
        !          9578: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
        !          9579: ncr260vt100an|NCR 2900_260 vt100 with ansi kybd:\
        !          9580:        :am:hs:mi:ms:xn:xo:\
        !          9581:        :co#80:li#24:\
        !          9582:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
        !          9583:        :K1=\EOw:K2=\EOy:K3=\EOu:K4=\EOq:K5=\EOs:LE=\E[%dD:\
        !          9584:        :RI=\E[%dC:SF=\E[%dE:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
        !          9585:        :cd=\E[0J:ce=\E[0K:cl=\E[2J\E[1;1H:cm=\E[%i%d;%dH:cr=\r:\
        !          9586:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[1P:dl=\E[M:do=\E[B:\
        !          9587:        :ds=\E[0$~\E[1$~:ec=\E[%dX:ei=\E[4l:fs=\E[0$}:ho=\E[H:\
        !          9588:        :im=\E[4h:\
        !          9589:        :is=\E[\041p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
        !          9590:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kD=\E[3~:kI=\E[2~:\
        !          9591:        :kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
        !          9592:        :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=\E[D:mb=\E[5m:md=\E[1m:\
        !          9593:        :me=\E[0m\017:mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:sc=\E7:\
        !          9594:        :se=\E[0m:sf=\ED:so=\E[1;7m:sr=\EM:st=\EH:ta=^I:\
        !          9595:        :ts=\E[2$~\E[1$}:ue=\E[0m:up=\E[A:us=\E[4m:ve=\E[?25h:\
        !          9596:        :vi=\E[?25l:
        !          9597: ncr260vt100wan|NCR 2900_260 vt100 wide mode ansi kybd:\
        !          9598:        :co#132:\
        !          9599:        :cm=\E[%i%d;%dH:\
        !          9600:        :is=\E[\041p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
        !          9601:        :r2=\E[\041p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
        !          9602:        :tc=ncr260vt100an:
        !          9603: ncr260vt100pp|NCR 2900_260 vt100 with PC+ kybd:\
        !          9604:        :@7=\E[5~:K1=\E[H:K2=\E[V:K3=\EOu:K5=\E[U:\
        !          9605:        :is=\E[\041p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
        !          9606:        :kD=\E[4~:kI=\E[1~:kN=\E[6~:kP=\E[3~:kd=\E[B:ke=\E>:\
        !          9607:        :kh=\E[2~:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:l1=pf1:l2=pf2:\
        !          9608:        :l3=pf3:l4=pf4:\
        !          9609:        :r2=\E[\041p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>:tc=ncr260vt100an:
        !          9610: ncr260vt100wpp|NCR 2900_260 vt100 wide mode pc+  kybd:\
        !          9611:        :co#132:\
        !          9612:        :cm=\E[%i%d;%dH:\
        !          9613:        :is=\E[\041p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
        !          9614:        :r2=\E[\041p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
        !          9615:        :tc=ncr260vt100pp:
        !          9616: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          9617: # (sgr removed to fit entry within 1023 bytes)
        !          9618: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
        !          9619: ncr260vt200an|NCR 2900_260 vt200 with ansi kybd:\
        !          9620:        :am:hs:mi:ms:xn:xo:\
        !          9621:        :co#80:li#24:\
        !          9622:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
        !          9623:        :K1=\EOw:K2=\EOy:K3=\EOu:K4=\EOq:K5=\EOs:LE=\E[%dD:\
        !          9624:        :RI=\E[%dC:SF=\E[%dE:UP=\E[%dA:ae=\017:al=\E[L:as=\016:\
        !          9625:        :bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[2J\E[1;1H:cm=\E[%i%d;%dH:\
        !          9626:        :cr=\r:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[1P:dl=\E[M:do=\E[B:\
        !          9627:        :ds=\E[0$~\E[1$~:ec=\E[%dX:ei=\E[4l:fs=\E[0$}:ho=\E[H:\
        !          9628:        :im=\E[4h:\
        !          9629:        :is=\E[\041p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
        !          9630:        :k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[M:k6=\E[17~:\
        !          9631:        :k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:\
        !          9632:        :kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:\
        !          9633:        :ks=\E[?1h\E=:ku=\EOA:le=\E[D:mb=\E[5m:md=\E[1m:\
        !          9634:        :me=\E[0m\017:mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:sc=\E7:\
        !          9635:        :se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
        !          9636:        :ts=\E[2$~\E[1$}:ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[?25h:\
        !          9637:        :vi=\E[?25l:
        !          9638: ncr260vt200wan|NCR 2900_260 vt200 wide mode ansi kybd:\
        !          9639:        :co#132:\
        !          9640:        :cm=\E[%i%d;%dH:\
        !          9641:        :is=\E[\041p\E[?3;7;19;67h\E[?4l\E(B\E)0\017\E[2J\E[1;1H:\
        !          9642:        :r2=\E[\041p\E[?3;7;19;67h\E[?4l\E(B\E)0\017\E[2J\E[1;1H:\
        !          9643:        :tc=ncr260vt200an:
        !          9644: ncr260vt200pp|NCR 2900_260 vt200 with pc+ kybd:\
        !          9645:        :@7=\E[1~:K1=\E[H:K2=\E[V:K3=\EOu:K5=\E[U:kD=\E[4~:\
        !          9646:        :kI=\E[2~:kN=\E[6~:kP=\E[5~:kd=\E[B:ke=\E>:kh=\E[H:kl=\E[D:\
        !          9647:        :kr=\E[C:ks=\E=:ku=\E[A:l1=pf1:l2=pf2:l3=pf3:l4=pf4:\
        !          9648:        :tc=ncr260vt200an:
        !          9649: ncr260vt200wpp|NCR 2900_260 vt200 wide mode pc+  kybd:\
        !          9650:        :co#132:\
        !          9651:        :cm=\E[%i%d;%dH:\
        !          9652:        :is=\E[\041p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
        !          9653:        :r2=\E[\041p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
        !          9654:        :tc=ncr260vt200pp:
        !          9655: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          9656: # (sgr removed to fit entry within 1023 bytes)
        !          9657: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
        !          9658: ncr260vt300an|NCR 2900_260 vt300 with ansi kybd:\
        !          9659:        :am:hs:mi:ms:xn:xo:\
        !          9660:        :co#80:li#24:\
        !          9661:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
        !          9662:        :K1=\EOw:K2=\EOy:K3=\EOu:K4=\EOq:K5=\EOs:LE=\E[%dD:\
        !          9663:        :RI=\E[%dC:SF=\E[%dE:UP=\E[%dA:ae=\017:al=\E[L:as=\016:\
        !          9664:        :bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[2J\E[1;1H:cm=\E[%i%d;%dH:\
        !          9665:        :cr=\r:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[1P:dl=\E[M:do=\E[B:\
        !          9666:        :ds=\E[0$~\E[1$~:ec=\E[%dX:ei=\E[4l:fs=\E[0$}:ho=\E[H:\
        !          9667:        :im=\E[4h:\
        !          9668:        :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>:\
        !          9669:        :k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[M:k6=\E[17~:\
        !          9670:        :k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:\
        !          9671:        :kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:\
        !          9672:        :ks=\E[?1h\E=:ku=\EOA:le=\E[D:mb=\E[5m:md=\E[1m:\
        !          9673:        :me=\E[0m\017:mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:sc=\E7:\
        !          9674:        :se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
        !          9675:        :ts=\E[2$~\E[1$}:ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[?25h:\
        !          9676:        :vi=\E[?25l:
        !          9677: ncr260vt300wan|NCR 2900_260 vt300 wide mode ansi kybd:\
        !          9678:        :co#132:\
        !          9679:        :cm=\E[%i%d;%dH:\
        !          9680:        :is=\E[\041p\E[?3;7;19;67h\E[?4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H:\
        !          9681:        :r2=\E[\041p\E[?3;7;19;67h\E[?4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H:\
        !          9682:        :tc=ncr260vt300an:
        !          9683: ncr260vt300pp|NCR 2900_260 vt300 with pc+ kybd:\
        !          9684:        :@7=\E[1~:K1=\E[H:K2=\E[V:K3=\EOu:K5=\E[U:kD=\E[4~:\
        !          9685:        :kI=\E[2~:kN=\E[6~:kP=\E[5~:kd=\E[B:ke=\E>:kh=\E[H:kl=\E[D:\
        !          9686:        :kr=\E[C:ks=\E=:ku=\E[A:l1=pf1:l2=pf2:l3=pf3:l4=pf4:\
        !          9687:        :tc=ncr260vt300an:
        !          9688: NCR260VT300WPP|ncr260vt300wpp|NCR 2900_260 vt300 wide mode pc+  kybd:\
        !          9689:        :co#132:\
        !          9690:        :cm=\E[%i%d;%dH:\
        !          9691:        :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>:\
        !          9692:        :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>:\
        !          9693:        :tc=ncr260vt300pp:
        !          9694: # This terminfo file contains color capabilities for the Wyse325 emulation of
        !          9695: # the NCR 2900/260C color terminal.  Because of the structure of the command
        !          9696: # (escape sequence) used to set color attributes, one of the fore/background
        !          9697: # colors must be preset to a given value. I have set the background color to
        !          9698: # black.  The user can change this setup by altering the last section of the
        !          9699: # 'setf' definition.  The escape sequence to set color attributes is
        !          9700: #              ESC d y <foreground_color> <background_color> 1
        !          9701: # In addition, the background color can be changed through the desk accessories.
        !          9702: # The capablitiy 'op' sets colors to green on black (default combination).
        !          9703: #
        !          9704: # NOTE:  The NCR Unix System Administrator's Shell will not function properly
        !          9705: #          if the 'pairs' capability is defined. Un-Comment the 'pairs'
        !          9706: #          capability and recompile if you wish to have it included.
        !          9707: #
        !          9708: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          9709: # (sgr removed to fit entry within 1023 bytes)
        !          9710: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
        !          9711: ncr260wy325pp|NCR 2900_260 wyse 325:\
        !          9712:        :am:bw:hs:km:mi:ms:xo:\
        !          9713:        :co#80:li#24:\
        !          9714:        :CM=\Ew@%p1%{48}%+%c%p2%' '%+%c%p3%' '%+%c:K1=^^:\
        !          9715:        :K2=\EJ:K4=\ET:K5=\EK:ae=\EH\003\EcB0:al=\EE:\
        !          9716:        :as=\EH\002\EcB1:bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=\E*:\
        !          9717:        :cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=\n:ds=\E`c:\
        !          9718:        :ei=\Er:fs=^M:ho=\036:im=\Eq:\
        !          9719:        :is=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\072\E`@\E~\041\E"\Ee4\Ex@\E`9\Ee7:\
        !          9720:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
        !          9721:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\Eq:kN=\EK:kP=\EJ:\
        !          9722:        :kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=\010:mb=\EG2:\
        !          9723:        :me=\EG0\EcB0\EcD:mr=\EG4:nd=\014:nw=\037:se=\EG0:sf=\n:\
        !          9724:        :so=\EGt:sr=\Ej:st=\E1:ta=^I:ts=\EF:ue=\EG0:up=\013:us=\EG8:\
        !          9725:        :ve=\E`1:vi=\E`0:vs=\E`5:
        !          9726: ncr260wy325wpp|NCR 2900_260 wyse 325 wide mode:\
        !          9727:        :co#132:\
        !          9728:        :cm=\Ea%i%dR%dC:\
        !          9729:        :is=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~\041\E"\Ee4\Ex@\E`9\Ee7:\
        !          9730:        :r2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~\041\E"\Ee4\Ex@\E`9\Ee7:\
        !          9731:        :tc=ncr260wy325pp:
        !          9732: # This definition for Wyse 350 supports several attributes.  This means
        !          9733: # that it has magic cookies (extra spaces where the attributes begin).
        !          9734: # Some applications do not function well with magic cookies.  The System
        !          9735: # Administrator's Shell in NCR Unix SVR4 1.03 is one such application.
        !          9736: # If supporting various attributes is not vital, 'xmc#1' and the extra
        !          9737: # attributes can be removed.
        !          9738: # Mapping to ASCII character set ('acsc' capability) can also be
        !          9739: # restored if needed.
        !          9740: # In addition, color capabilities have been added to this file.  The drawback,
        !          9741: # however, is that the background color has to be black.  The foreground colors
        !          9742: # are numbered 0 through 15.
        !          9743: #
        !          9744: # NOTE:  The NCR Unix System Administrator's Shell does not function properly
        !          9745: #          with the 'pairs' capability defined as below.  If you wish to
        !          9746: #          have it included, Un-comment it and recompile (using 'tic').
        !          9747: #
        !          9748: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          9749: # (sgr removed to fit entry within 1023 bytes)
        !          9750: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
        !          9751: ncr260wy350pp|NCR 2900_260 wyse 350:\
        !          9752:        :am:bw:hs:km:mi:ms:xo:\
        !          9753:        :co#80:li#24:sg#1:\
        !          9754:        :CM=\Ew@%p1%{48}%+%c%p2%' '%+%c%p3%' '%+%c:K1=^^:\
        !          9755:        :K4=\ET:K5=\EK:ae=\EH\003\EcB0:al=\EE:as=\EH\002\EcB1:\
        !          9756:        :bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=\E+:cm=\E=%+ %+ :cr=^M:\
        !          9757:        :ct=\E0:dc=\EW:dl=\ER:do=\n:ds=\E`c:ei=\Er:fs=^M:ho=\036:\
        !          9758:        :im=\Eq:\
        !          9759:        :is=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\072\E`@\E~\041\E"\Ee4\Ex@\E`9\Ee7:\
        !          9760:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
        !          9761:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\Eq:kN=\EK:kP=\EJ:\
        !          9762:        :kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=\010:mb=\EG2:\
        !          9763:        :me=\EG0\EH\003\EcD:mh=\EGp:mr=\EG4:nd=\014:nw=\037:\
        !          9764:        :se=\EG0:sf=\n:so=\EGt:sr=\Ej:st=\E1:ta=^I:ts=\EF:ue=\EG0:\
        !          9765:        :up=\013:us=\EG8:ve=\E`1:vi=\E`0:vs=\E`5:
        !          9766: ncr260wy350wpp|NCR 2900_260 wyse 350 wide mode:\
        !          9767:        :co#132:\
        !          9768:        :cm=\Ea%i%dR%dC:\
        !          9769:        :is=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~\041\E"\Ee4\Ex@\E`9\Ee7:\
        !          9770:        :r2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~\041\E"\Ee4\Ex@\E`9\Ee7:\
        !          9771:        :tc=ncr260wy350pp:
        !          9772: # This definition for Wyse 50+ supports several attributes.  This means
        !          9773: # that it has magic cookies (extra spaces where the attributes begin).
        !          9774: # Some applications do not function well with magic cookies.  The System
        !          9775: # Administrator's Shell in NCR Unix SVR4 1.03 is one such application.
        !          9776: # If supporting various attributes is not vital, 'xmc#1' and the extra
        !          9777: # attributes can be removed.
        !          9778: # Mapping to ASCII character set ('acsc' capability) can also be
        !          9779: # restored if needed.
        !          9780: # (ncr260wy50+pp: originally contained commented-out
        !          9781: # <acsc=j5k3l2m1n8q:t4u9v=w0x6>, as well as the commented-out one there -- esr)
        !          9782: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          9783: # (sgr removed to fit entry within 1023 bytes)
        !          9784: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
        !          9785: ncr260wy50+pp|NCR 2900_260 wyse 50+:\
        !          9786:        :am:bw:hs:km:mi:ms:xo:\
        !          9787:        :co#80:li#24:sg#1:\
        !          9788:        :CM=\Ew@%p1%{48}%+%c%p2%' '%+%c%p3%' '%+%c:K1=^^:\
        !          9789:        :K4=\ET:K5=\EK:ae=\EH^C:al=\EE:as=\EH^B:bl=^G:bt=\EI:cd=\EY:\
        !          9790:        :ce=\ET:cl=\E+:cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:\
        !          9791:        :do=\n:ds=\E`c:ei=\Er:fs=^M:ho=\036:im=\Eq:\
        !          9792:        :is=\Ee6\E~"\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\072\E`@\E~\041\E"\Ee4\Ex@\E`9\Ee7:\
        !          9793:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
        !          9794:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\Eq:kN=\EK:kP=\EJ:\
        !          9795:        :kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=\010:mb=\EG2:\
        !          9796:        :me=\EG0\EH\003:mh=\EGp:mr=\EG4:nd=\014:nw=\037:se=\EG0:\
        !          9797:        :sf=\n:so=\EGt:sr=\Ej:st=\E1:ta=\011:ts=\EF:ue=\EG0:up=\013:\
        !          9798:        :us=\EG8:ve=\E`1:vi=\E`0:vs=\E`5:
        !          9799: ncr260wy50+wpp|NCR 2900_260 wyse 50+ wide mode:\
        !          9800:        :co#132:\
        !          9801:        :cm=\Ea%i%dR%dC:\
        !          9802:        :is=\Ee6\E~"\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~\041\E"\Ee4\Ex@\E`9\Ee7:\
        !          9803:        :r2=\Ee6\E~"\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~\041\E"\Ee4\Ex@\E`9\Ee7:\
        !          9804:        :tc=ncr260wy50+pp:
        !          9805: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          9806: # (sgr removed to fit entry within 1023 bytes)
        !          9807: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
        !          9808: ncr260wy60pp|NCR 2900_260 wyse 60:\
        !          9809:        :am:bw:hs:km:mi:ms:xo:\
        !          9810:        :co#80:li#24:\
        !          9811:        :CM=\Ew@%p1%{48}%+%c%p2%' '%+%c%p3%' '%+%c:K1=^^:\
        !          9812:        :K2=\EJ:K4=\ET:K5=\EK:ae=\EH^C:al=\EE:as=\EH^B:bl=^G:bt=\EI:\
        !          9813:        :cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:\
        !          9814:        :dl=\ER:do=\n:ds=\E`c:ei=\Er:fs=^M:ho=\036:im=\Eq:\
        !          9815:        :is=\Ee6\E~4\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\072\E`@\E~\041\E"\Ee4\Ex@\E`9\Ee7:\
        !          9816:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
        !          9817:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\Eq:kN=\EK:kP=\EJ:\
        !          9818:        :kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=\010:mb=\EG2:\
        !          9819:        :me=\EG0\EcB0\EcD:mr=\EG4:nd=\014:nw=\037:se=\EG0:sf=\n:\
        !          9820:        :so=\EGt:sr=\Ej:st=\E1:ta=\011:ts=\EF:ue=\EG0:up=\013:\
        !          9821:        :us=\EG8:ve=\E`1:vi=\E`0:vs=\E`5:
        !          9822: ncr260wy60wpp|NCR 2900_260 wyse 60 wide mode:\
        !          9823:        :co#132:\
        !          9824:        :cm=\Ea%i%dR%dC:\
        !          9825:        :is=\Ee6\E~4\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~\041\E"\Ee4\Ex@\E`9\Ee7:\
        !          9826:        :r2=\Ee6\E~4\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~\041\E"\Ee4\Ex@\E`9\Ee7:\
        !          9827:        :tc=ncr260wy60pp:
        !          9828: ncr160vppp|NCR 2900_160 viewpoint:\
        !          9829:        :tc=ncr260vppp:
        !          9830: ncr160vpwpp|NCR 2900_160 viewpoint wide mode:\
        !          9831:        :tc=ncr260vpwpp:
        !          9832: ncr160vt100an|NCR 2900_160 vt100 with ansi kybd:\
        !          9833:        :tc=ncr260vt100an:
        !          9834: ncr160vt100pp|NCR 2900_160 vt100 with PC+ kybd:\
        !          9835:        :tc=ncr260vt100pp:
        !          9836: ncr160vt100wan|NCR 2900_160 vt100 wide mode ansi kybd:\
        !          9837:        :tc=ncr260vt100wan:
        !          9838: ncr160vt100wpp|NCR 2900_160 vt100 wide mode pc+  kybd:\
        !          9839:        :tc=ncr260vt100wpp:
        !          9840: ncr160vt200an|NCR 2900_160 vt200 with ansi kybd:\
        !          9841:        :tc=ncr260vt200an:
        !          9842: ncr160vt200pp|NCR 2900_160 vt200 with pc+ kybd:\
        !          9843:        :tc=ncr260vt200pp:
        !          9844: ncr160vt200wan|NCR 2900_160 vt200 wide mode ansi kybd:\
        !          9845:        :tc=ncr260vt200wan:
        !          9846: ncr160vt200wpp|NCR 2900_160 vt200 wide mode pc+  kybd:\
        !          9847:        :tc=ncr260vt200wpp:
        !          9848: ncr160vt300an|NCR 2900_160 vt300 with ansi kybd:\
        !          9849:        :tc=ncr260vt300an:
        !          9850: ncr160vt300pp|NCR 2900_160 vt300 with pc+ kybd:\
        !          9851:        :tc=ncr260vt300pp:
        !          9852: ncr160vt300wan|NCR 2900_160 vt300 wide mode ansi kybd:\
        !          9853:        :tc=ncr260vt300wan:
        !          9854: ncr160vt300wpp|NCR 2900_160 vt300 wide mode pc+  kybd:\
        !          9855:        :tc=ncr260vt300wpp:
        !          9856: ncr160wy50+pp|NCR 2900_160 wyse 50+:\
        !          9857:        :tc=ncr260wy50+pp:
        !          9858: ncr160wy50+wpp|NCR 2900_160 wyse 50+ wide mode:\
        !          9859:        :tc=ncr260wy50+wpp:
        !          9860: ncr160wy60pp|NCR 2900_160 wyse 60:\
        !          9861:        :tc=ncr260wy60pp:
        !          9862: ncr160wy60wpp|NCR 2900_160 wyse 60 wide mode:\
        !          9863:        :tc=ncr260wy60wpp:
        !          9864: ncrvt100an|ncrvt100pp|NCR vt100 for the 2900 terminal:\
        !          9865:        :5i:am:hs:mi:ms:xo:\
        !          9866:        :Nl#32:co#80:it#8:li#24:\
        !          9867:        :#4=\E[D:%i=\E[C:@8=^M:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
        !          9868:        :DO=\E[%dB:K1=\E[H:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
        !          9869:        :ac=``aaffgghhiijjkkllmmnnqqttuuvvwwxxyyzz~~:ae=\017:\
        !          9870:        :al=\E[B\E[L:as=\016:bl=^G:cb=\E[1K:cd=\E[0J:ce=\E[0K:\
        !          9871:        :cl=\E[2J\E[1;1H:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
        !          9872:        :ct=\E[3g:dc=\E[1P:dl=\E[M:do=\E[B:ds=\E[31l:eA=\E(B\E)0:\
        !          9873:        :ei=\E[4l:fs=1:ho=\E[H:im=\E[4h:\
        !          9874:        :is=\E[12h\E[?10l\E%/0n\E[P\031\E[?3l\E(B\E)0:k1=\EOP:\
        !          9875:        :k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:\
        !          9876:        :ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:me=\017\E[0m:mr=\E[7m:\
        !          9877:        :nd=\E[C:nw=\EE:ps=\E[i:\
        !          9878:        :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:\
        !          9879:        :rc=\E8:\
        !          9880:        :..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<100>:\
        !          9881:        :sc=\E7:se=\E[0m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
        !          9882:        :ts=\E[>+1:ue=\E[0m:up=\E[A:us=\E[4m:
        !          9883: ncrvt100wan|NCRVT100WPP|ncrvt100wpp|NCR VT100 emulation of the 2900 terminal:\
        !          9884:        :co#132:\
        !          9885:        :is=\E[12h\E[?10l\E%/0n\E[P\031\E[?3h\E(B\E)0:\
        !          9886:        :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:\
        !          9887:        :tc=ncrvt100an:
        !          9888: #
        !          9889: # Vendor-supplied NCR termcaps end here
        !          9890:
1.2       deraadt  9891: # NCR7900 DIP switches:
                   9892: #
                   9893: # Switch A:
                   9894: # 1-4 - Baud Rate
                   9895: # 5   - Parity (Odd/Even)
                   9896: # 6   - Don't Send or Do Send Spaces
                   9897: # 7   - Parity Enable
                   9898: # 8   - Stop Bits (One/Two)
                   9899: #
                   9900: # Switch B:
                   9901: # 1   - Upper/Lower Shift
                   9902: # 2   - Typewriter Shift
                   9903: # 3   - Half Duplex / Full Duplex
                   9904: # 4   - Light/Dark Background
                   9905: # 5-6 - Carriage Return Without / With Line Feed
                   9906: # 7   - Extended Mode
                   9907: # 8   - Suppress Keyboard Display
                   9908: #
                   9909: # Switch C:
                   9910: # 1   - End of line entry disabled/enabled
                   9911: # 2   - Conversational mode / (Local?) Mode
                   9912: # 3   - Control characters displayed / not displayed
                   9913: # 4   - (2-wire?) / 4-wire communications
                   9914: # 5   - RTS on and off for each character
                   9915: # 6   - (50Hz?) / 60 Hz
                   9916: # 7   - Exit after level zero diagnostics
                   9917: # 8   - RS-232 interface
                   9918: #
                   9919: # Switch D:
                   9920: # 1   - Reverse Channel (yes / no)
                   9921: # 2   - Manual answer (no / yes)
                   9922: # 3-4 - Cursor appearance
                   9923: # 5   - Communication Rate
                   9924: # 6   - Enable / Disable EXT turnoff
                   9925: # 7   - Enable / Disable CR turnoff
                   9926: # 8   - Enable / Disable backspace
                   9927: #
1.1       deraadt  9928: # From <root@goliath.un.atlantaga.NCR.COM>, init string hacked by SCO.
1.8       tholo    9929: ncr7900i|ncr7900|ncr 7900 model 1:\
1.1       deraadt  9930:        :am:bw:ul:\
1.13    ! millert  9931:        :co#80:li#24:sg#1:\
1.1       deraadt  9932:        :bl=^G:cd=\Ek:ce=\EK:cl=^L:cm=\E1%r%.%.:cr=^M:do=^J:\
1.5       tholo    9933:        :is=\E0@\010\E3\E4\E7:kd=^J:kh=^A:kl=^U:kr=^F:ku=^Z:le=^H:\
                   9934:        :ll=^A:mb=\E0B:me=\E0@:mh=\E0A:mr=\E0P:nd=^F:pf=^T:po=^R:\
1.1       deraadt  9935:        :..sa=\E0%p5%'@'%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c:\
                   9936:        :se=\E0@:sf=^J:so=\E0Q:ue=\E0@:up=^Z:us=\E0`:
                   9937: ncr7900iv|ncr 7900 model 4:\
                   9938:        :am:bw:es:hs:\
                   9939:        :co#80:li#24:\
1.5       tholo    9940:        :al=\E^N:bl=^G:cl=^L:cm=\013%+@\E\005%02:cr=^M:dl=\E^O:\
                   9941:        :do=^J:ds=\Ey1:fs=\Ek\Ey5:ho=\013@\E^E00:k1=\ES:k2=\ET:\
                   9942:        :k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:k8=\ER:kb=^H:kd=\EB:\
                   9943:        :kh=\EH:kl=\ED:kr=\EC:ku=\EA:l6=blue:l7=red:l8=white:le=^H:\
                   9944:        :nw=^M^J:sf=^J:ts=\Ej\Ex5\Ex1\EY8%p1%{32}%+%c\Eo:
1.8       tholo    9945: ncr7901|ncr 7901 model:\
1.1       deraadt  9946:        :am:bw:ul:\
                   9947:        :co#80:li#24:\
1.5       tholo    9948:        :bl=^G:cd=\Ek:ce=\EK:ch=\020%+^J:cl=^L:cm=\EY%+ %+ :cr=^M:\
                   9949:        :cv=\013%+@:do=^J:is=\E4^O:kC=^L:kd=^J:kh=^H:kl=^U:kr=^F:\
                   9950:        :ku=^Z:le=^H:ll=^A:mb=\E0B:me=^O:mh=\E0A:mr=\E0P:nd=^F:pf=^T:\
                   9951:        :po=^R:\
1.1       deraadt  9952:        :..sa=\E0%p5%'@'%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c\016:\
1.5       tholo    9953:        :se=^O:sf=^J:so=\E0Q\016:ue=^O:up=^Z:us=\E0`\016:ve=^X:\
                   9954:        :vi=^W:
1.1       deraadt  9955:
                   9956: #### Perkin-Elmer (Owl)
                   9957: #
                   9958: # These are official terminfo entries from within Perkin-Elmer.
                   9959: #
                   9960:
                   9961: bantam|pe550|pe6100|perkin elmer 550:\
1.8       tholo    9962:        :bs:\
1.1       deraadt  9963:        :co#80:li#24:\
1.5       tholo    9964:        :bl=^G:ce=\EI:cl=\EK:cm=\EX%+ \EY%+ :cr=^M:do=^J:ho=\EH:\
                   9965:        :le=^H:ll=\EH\EA:nd=\EC:sf=^J:up=\EA:
1.1       deraadt  9966: fox|pe1100|perkin elmer 1100:\
1.8       tholo    9967:        :am:bs:\
1.1       deraadt  9968:        :co#80:li#24:\
                   9969:        :bl=^G:cd=\EJ:ce=\EI:cl=\EH\EJ:cm=\EX%+ \EY%+ :cr=^M:\
1.5       tholo    9970:        :ct=\E3:do=^J:ho=\EH:le=^H:ll=\EH\EA:nd=\EC:sf=^J:st=\E1:\
                   9971:        :up=\EA:vb=\020\002\020\003:
1.1       deraadt  9972: owl|pe1200|perkin elmer 1200:\
1.8       tholo    9973:        :am:bs:in:\
1.1       deraadt  9974:        :co#80:li#24:\
1.5       tholo    9975:        :al=\EL:bl=^G:cd=\EJ:ce=\EI:cl=\EH\EJ:cm=\EX%+ \EY%+ :\
                   9976:        :cr=^M:ct=\E3:dc=\EO:dl=\EM:do=^J:ei=:ho=\EH:ic=\EN:im=:ip=:\
                   9977:        :k0=\ERJ:k1=\ERA:k2=\ERB:k3=\ERC:k4=\ERD:k5=\ERE:k6=\ERF:\
1.13    ! millert  9978:        :k7=\ERG:k8=\ERH:k9=\ERI:kb=^H:le=^H:ll=\EH\EA:me=\E\041\0:\
        !          9979:        :nd=\EC:se=\E\041\0:sf=^J:so=\E\041^H:st=\E1:up=\EA:\
        !          9980:        :vb=\020\002\020\003:
1.1       deraadt  9981: pe1251|pe6300|pe6312|perkin elmer 1251:\
                   9982:        :am:\
                   9983:        :co#80:it#8:li#24:pb#300:sg#1:vt#8:\
1.5       tholo    9984:        :bl=^G:cd=\EJ:ce=\EI:cl=\EK:cm=\EX%+ \EY%+ :cr=^M:ct=\E3:\
                   9985:        :do=\EB:ho=\EH:k0=\ERA:k1=\ERB:k2=\ERC:k3=\ERD:k4=\ERE:\
                   9986:        :k5=\ERF:k6=\ERG:k7=\ERH:k8=\ERI:k9=\ERJ:k;=\ERK:le=\ED:\
                   9987:        :nd=\EC:sf=^J:st=\E1:up=\EA:
1.2       deraadt  9988: # (pe7000m: this had
                   9989: #      rmul=\E!\0, smul=\E!\040,
                   9990: # which is probably wrong, it collides with kf0
1.1       deraadt  9991: pe7000m|perkin elmer 7000 series monochrome monitor:\
                   9992:        :am:\
                   9993:        :co#80:li#24:\
1.8       tholo    9994:        :bl=^G:bt=\E\041Y:cd=\EJ:ce=\EI:cl=\EK:cm=\ES%+ %+ :cr=^M:\
1.13    ! millert  9995:        :do=\EB:ho=\EH:i1=\E\041\0\EW  7o\Egf\ES7 :k0=\E\041\0:\
        !          9996:        :k1=\E\041^A:k2=\E\041^B:k3=\E\041^C:k4=\E\041^D:\
        !          9997:        :k5=\E\041^E:k6=\E\041^F:k7=\E\041^G:k8=\E\041^H:\
        !          9998:        :k9=\E\041^I:k;=\E\041^J:kb=^H:kd=\E\041U:kh=\E\041S:\
        !          9999:        :kl=\E\041V:kr=\E\041W:ku=\E\041T:le=\ED:ll=\ES7 :nd=\EC:\
        !          10000:        :sf=^J:sr=\ER:up=\EA:
1.1       deraadt  10001: pe7000c|perkin elmer 7000 series colour monitor:\
1.13    ! millert  10002:        :i1=\E\041\0\EW  7o\Egf\Eb0\Ec7\ES7 :se=\Eb0:so=\Eb2:\
        !          10003:        :ue=\E\041\0:us=\E\041 :\
1.5       tholo    10004:        :tc=pe7000m:
1.1       deraadt  10005:
1.13    ! millert  10006: #### Prime
        !          10007: #
        !          10008: # Yes, Prime made terminals.  These entries were posted by Kevin J. Cummings
        !          10009: # <cummings@primerd.prime.com> on 14 Dec 1992 and lightly edited by esr.
        !          10010: # Prime merged with ComputerVision in the late 1980s; you can reach them at:
        !          10011: #
        !          10012: #      ComputerVision Services
        !          10013: #      500 Old Connecticut Path
        !          10014: #      Framingham, Mass.
        !          10015: #
        !          10016:
        !          10017: # Standout mode is dim reverse-video.
        !          10018: pt100|pt200|wren|fenix|prime pt100/pt200:\
        !          10019:        :am:bw:mi:ms:\
        !          10020:        :co#80:it#8:li#24:\
        !          10021:        :DC=\E[%dP:DL=\E[M:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
        !          10022:        :UP=\E[%dA:al=\E[L\E[t:bt=\E[Z:cd=\E[J\E[r:ce=\E[K\E[t:\
        !          10023:        :cl=\E?:cm=\E0%+\%+\:cr=^M:dc=\E[P:do=\ED:ei=\E[4l:ho=\E$B:\
        !          10024:        :im=\E[4h:kb=^H:kd=\E[B:ke=\E[>13l:kh=\E$A:kl=\E[D:kr=\E[C:\
        !          10025:        :ks=\E[>13h:ku=\E[A:le=^H:me=\E[m:mh=\E[2m:nd=\E[C:nw=^M^J:\
        !          10026:        :se=\E[m:sf=^J:so=\E[2;7m:ta=^I:te=:\
        !          10027:        :ti=\E[>1l\E[>2l\E[>16l\E[4l\E[>9l\E[20l\E[>3l\E[>7h\E[>12l\E[1Q:\
        !          10028:        :ue=\E[m:up=\EM:us=\E[4m:vb=\E$\E$P:
        !          10029: pt100w|pt200w|wrenw|fenixw|prime pt100/pt200 in 132-column mode:\
        !          10030:        :co#132:\
        !          10031:        :cm=\E[%i%d;%dH:tc=pt100:
        !          10032: pt250|Prime PT250:\
        !          10033:        :se@:so@:tc=pt100:
        !          10034: pt250w|Prime PT250 in 132-column mode:\
        !          10035:        :se@:so@:tc=pt100w:
        !          10036:
1.1       deraadt  10037: #### Sperry Univac
                   10038: #
                   10039: # Sperry Univac has merged with Burroughs to form Unisys.
                   10040: #
                   10041:
                   10042: # This entry is for the Sperry UTS30 terminal running the TTY
                   10043: # utility under control of CP/M Plus 1R1. The functionality
                   10044: # provided is comparable to the DEC vt100.
1.2       deraadt  10045: # (uts30: I added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  10046: uts30|sperry uts30 with cp/m@1R1:\
                   10047:        :am:bw:hs:\
                   10048:        :co#80:li#24:ws#40:\
                   10049:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.3       deraadt  10050:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7m:SF=\E[%dB:\
1.5       tholo    10051:        :SR=\E[%dA:UP=\E[%dA:\
                   10052:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
                   10053:        :ae=\Ed:al=\EN:as=\EF:bl=^G:cd=\E[J:ce=\E[K:cl=^L:\
                   10054:        :cm=\E[%i%d;%dH:cr=^M:cs=\EU%+ %+ :dc=\EM:dl=\EL:do=\EB:\
                   10055:        :ei=:fs=^M:ho=\E[H:ic=\EO:im=:is=\E[U 7\E[24;1H:kb=^H:\
                   10056:        :kd=\EOB:kh=\E[H:kl=\EOD:kr=\EOC:ku=\EOA:le=^H:mb=\E[5m:\
                   10057:        :md=\E[1m:me=\E[m:mr=\E[7m:nd=\EC:\
1.3       deraadt  10058:        :r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\EX:\
1.5       tholo    10059:        :rf=/usr/share/tabset/vt100:sc=\EW:se=\E[m:sf=^J:\
                   10060:        :so=\E[7m:sr=\EI:ta=^I:ts=\E]:uc=\EPB:ue=\E[m:up=\E[A:\
                   10061:        :us=\E[4m:ve=\ES:vi=\ER:
1.1       deraadt  10062:
                   10063: #### Tandem
                   10064: #
                   10065: # Tandem builds these things for use with its line of fault-tolerant
                   10066: # transaction-processing computers.  They aren't generally available
                   10067: # on the merchant market, and so are fairly uncommon.
                   10068: #
                   10069:
                   10070: tandem6510|adm3a repackaged by Tandem:\
                   10071:        :tc=adm3a:
                   10072:
                   10073: # A funny series of terminal that TANDEM uses.  The actual model numbers
                   10074: # have a fourth digit after 653 that designates minor variants.  These are
                   10075: # natively block-mode and rather ugly, but they have a character mode which
                   10076: # this doubtless(?) exploits.  There is a 6520 that is slightly dumber.
1.5       tholo    10077: # (tandem653: had ":sb=\ES:", probably someone's mistake for sf; also,
                   10078: # removed :if=/usr/share/tabset/tandem653:, no such file -- esr)
1.1       deraadt  10079: tandem653|t653x|Tandem 653x multipage terminal:\
1.8       tholo    10080:        :am:bs:da:db:hs:\
1.13    ! millert  10081:        :co#80:li#24:sg#1:ws#64:\
1.5       tholo    10082:        :cd=\EJ:ce=\EK:cl=\EI:cm=\023%+ %+ :do=^J:ds=\Eo\r:fs=^M:\
                   10083:        :ho=\EH:le=^H:me=\E6 :nd=\EC:se=\E6 :sf=\ES:so=\E6$:sr=\ET:\
                   10084:        :ts=\Eo:ue=\E6 :up=\EA:us=\E60:
1.1       deraadt  10085:
                   10086: #### Tandy/Radio Shack
                   10087: #
                   10088: # Tandy has a line of VDTs distinct from its microcomputers.
                   10089: #
                   10090:
                   10091: dmterm|deskmate terminal:\
                   10092:        :am:bw:\
                   10093:        :co#80:li#24:\
1.5       tholo    10094:        :al=\EP:bl=^G:cd=\EJ:ce=\EK:cl=\Ej:cm=\EY%+ %+ :cr=^M:\
                   10095:        :dc=\ES:dl=\ER:do=\EB:ei=:ho=\EH:ic=\EQ:im=:k0=\E1:k1=\E2:\
                   10096:        :k2=\E3:k3=\E4:k4=\E5:k5=\E6:k6=\E7:k7=\E8:k8=\E9:k9=\E0:\
                   10097:        :kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:l0=f1:l1=f2:l2=f3:l3=f4:\
                   10098:        :l4=f5:l5=f6:l6=f7:l7=f8:l8=f9:l9=f10:le=^H:ll=\EE:mk@:nd=\EC:\
                   10099:        :sf=\EX:ta=^I:ue@:up=\EA:us@:ve=\EG6:vi=\EG5:\
                   10100:        :tc=adm+sgr:
1.1       deraadt  10101: dt100|dt-100|Tandy DT-100 terminal:\
                   10102:        :xo:\
1.13    ! millert  10103:        :co#80:li#24:sg#1:\
        !          10104:        :ac=jjkkllmmnnqqttuuvvwwxx:ae=^O:al=\E[L:as=^N:bl=^G:\
1.5       tholo    10105:        :cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\010\E[%i%d;%dH:cr=^M:\
                   10106:        :cs=\E[%2;%2r:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:\
                   10107:        :im=:is=\E[?3l\E)0\E(B:k1=\E[?3i:k2=\E[2i:k3=\E[@:k4=\E[M:\
                   10108:        :k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:k9=\E[21~:\
                   10109:        :k;=\E[?5i:kN=\E[29~:kP=\E[28~:kd=\E[B:kh=\E[H:kl=\E[D:\
                   10110:        :kr=\E[C:ku=\E[A:l1=f1:l2=f2:l3=f3:l4=f4:l5=f5:l6=f6:l7=f7:\
                   10111:        :l8=f8:le=^H:me=\E[m:nd=\E[C:se=\E[m:sf=^J:so=\E[7m:sr=\EM:\
                   10112:        :ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[?25h:vi=\E[?25l:
1.1       deraadt  10113: dt100w|dt-100w|Tandy DT-100 terminal (wide mode):\
1.3       deraadt  10114:        :co#132:tc=dt100:
1.1       deraadt  10115: dt110|Tandy DT-110 emulating ansi:\
                   10116:        :xo:\
                   10117:        :co#80:li#24:\
1.13    ! millert  10118:        :@7=\E[K:ac=jjkkllmmnnqqttuuvvwwxx:ae=^O:al=\E[0L:as=^N:\
1.5       tholo    10119:        :bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[H\E[2J:cm=\010\E[%i%d;%dH:\
                   10120:        :cr=^M:cs=\E[%i%d;%dr:dc=\E[0P:dl=\E[0M:do=\E[0B:\
                   10121:        :eA=\E(B\E)0:ei=:ho=\E[H:ic=\E[0@:im=:is=\E[?3l\E)0\E(B:\
                   10122:        :k1=\E[1~:k2=\E[2~:k3=\E[3~:k4=\E[4~:k5=\E[5~:k6=\E[6~:\
                   10123:        :k7=\E[7~:k8=\E[8~:k9=\E[9~:k;=\E[10~:kI=\E[@:kN=\E[26~:\
                   10124:        :kP=\E[25~:kd=\E[B:kh=\E[G:kl=\E[D:kr=\E[C:ku=\E[A:l0=f1:\
                   10125:        :l1=f2:l2=f3:l3=f4:l4=f5:l5=f6:l6=f7:l7=f8:l8=f9:l9=f10:le=^H:\
                   10126:        :me=\E[m:nd=\E[C:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:\
1.2       deraadt  10127:        :ue=\E[m:up=\E[0A:us=\E[4m:ve=\E[?25h:vi=\E[?25l:
1.1       deraadt  10128: pt210|TRS-80 PT-210 printing terminal:\
                   10129:        :hc:os:\
                   10130:        :co#80:\
                   10131:        :bl=^G:cr=^M:do=^J:sf=^J:
                   10132:
                   10133: #### Tektronix (tek)
                   10134: #
                   10135: # Tektronix tubes are graphics terminals.  Most of them use modified
                   10136: # oscilloscope technology incorporating a long-persistence green phosphor,
                   10137: # and support vector graphics on a main screen with an attached "dialogue
                   10138: # area" for interactive text.
                   10139: #
                   10140:
1.8       tholo    10141: tek|tek4012|tektronix 4012:\
                   10142:        :bs:os:\
1.1       deraadt  10143:        :co#75:li#35:\
                   10144:        :bl=^G:cl=\E\014:cr=^M:do=^J:ff=\014:is=\E^O:le=^H:
1.5       tholo    10145: # (tek4013: added <acsc> to suppress tic warnings re :as:/:ae: --esr)
1.8       tholo    10146: tek4013|tektronix 4013:\
1.5       tholo    10147:        :ac=:ae=\E^O:as=\E^N:tc=tek4012:
1.8       tholo    10148: tek4014|tektronix 4014:\
1.1       deraadt  10149:        :co#81:li#38:\
                   10150:        :is=\E\017\E9:tc=tek4012:
1.5       tholo    10151: # (tek4015: added <acsc> to suppress tic warnings re :as:/:ae: --esr)
1.8       tholo    10152: tek4015|tektronix 4015:\
1.5       tholo    10153:        :ac=:ae=\E^O:as=\E^N:tc=tek4014:
1.8       tholo    10154: tek4014-sm|tektronix 4014 in small font:\
1.1       deraadt  10155:        :co#121:li#58:\
                   10156:        :is=\E\017\E\072:tc=tek4014:
1.5       tholo    10157: # (tek4015-sm: added <acsc> to suppress tic warnings re :as:/:ae: --esr)
1.8       tholo    10158: tek4015-sm|tektronix 4015 in small font:\
                   10159:        :ac=:ae=\E^O:as=\E^N:tc=tek4014-sm:
                   10160: # Tektronix 4023 from Andrew Klossner <orca!andrew.tektronix@csnet-relay>
                   10161: #
                   10162: # You need to have "stty nl2" in effect.  Some versions of tset(1) know
                   10163: # how to set it for you.
                   10164: #
                   10165: # It's got the Magic Cookie problem around stand-out mode.  If you can't
                   10166: # live with Magic Cookie, remove the :so: and :se: fields and do without
                   10167: # reverse video.  If you like reverse video stand-out mode but don't want
                   10168: # it to flash, change the letter 'H' to 'P' in the :so: field.
                   10169: tek4023|tektronix 4023:\
                   10170:        :am:bs:\
                   10171:        :co#80:dN#4:li#24:sg#1:vt#4:\
                   10172:        :bl=^G:cl=4\E\014:cm=\034%r%+ %+ :cr=^M:do=^J:kb=^H:le=^H:\
                   10173:        :nd=^I:nl=^J:se=^_@:so=^_P:
1.1       deraadt  10174: # It is recommended that you run the 4025 at 4800 baud or less;
                   10175: # various bugs in the terminal appear at 9600.  It wedges at the
                   10176: # bottom of memory (try "cat /usr/dict/words"); ^S and ^Q typed
                   10177: # on keyboard don't work.  You have to hit BREAK twice to get
                   10178: # one break at any speed - this is a documented feature.
                   10179: # Can't use cursor motion because it's memory relative, and
                   10180: # because it only works in the workspace, not the monitor.
                   10181: # Same for home. Likewise, standout only works in the workspace.
                   10182: #
1.5       tholo    10183: # :ce: was commented out since vi and rogue seem to work better
1.1       deraadt  10184: # simulating it with lots of spaces!
                   10185: #
1.5       tholo    10186: # :al: and :AL: had 145ms of padding, but that slowed down vi's ^U
1.1       deraadt  10187: # and didn't seem necessary.
                   10188: #
                   10189: tek4024|tek4025|tek4027|tektronix 4024/4025/4027:\
1.8       tholo    10190:        :am:bs:da:db:\
1.1       deraadt  10191:        :co#80:it#8:li#34:lm#0:\
                   10192:        :AL=\037up\r\037ili %d\r:CC=^_:DL=\037dli %d\r\006:\
                   10193:        :DO=\037dow %d\r:LE=\037lef %d\r:RI=\037rig %d\r:\
                   10194:        :UP=\037up %d\r:al=\037up\r\037ili\r:bl=^G:\
                   10195:        :cd=\037dli 50\r:cl=\037era\r\n\n:cr=^M:dc=\037dch\r:\
                   10196:        :dl=\037dli\r\006:do=^F^J:ei=:ic=\037ich\r \010:im=:\
1.8       tholo    10197:        :is=\041com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r:\
1.1       deraadt  10198:        :ke=\037lea p2\r\037lea p4\r\037lea p6\r\037lea p8\r\037lea f5\r:\
                   10199:        :ks=\037lea p4 /h/\r\037lea p8 /k/\r\037lea p6 / /\r\037lea p2 /j/\r\037lea f5 /H/\r:\
                   10200:        :le=^H:nd=\037rig\r:sf=^F^J:ta=^I:up=^K:
1.8       tholo    10201: tek4025-17|tek 4025 17 line window:\
1.3       deraadt  10202:        :li#17:tc=tek4025:
1.8       tholo    10203: tek4025-17-ws|tek 4025 17 line window in workspace:\
                   10204:        :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  10205:        :se=\037att s\r:so=\037att e\r:te=\037mon h\r:\
1.5       tholo    10206:        :ti=\037wor h\r:\
                   10207:        :tc=tek4025-17:
1.1       deraadt  10208: tek4025-ex|tek4027-ex|tek 4025/4027 w/!:\
1.8       tholo    10209:        :is=\037com 33\r\n\041sto 9 17 25 33 41 49 57 65 73\r:\
                   10210:        :te=\037com 33\r:ti=\041com 31\r:\
1.5       tholo    10211:        :tc=tek4025:
1.1       deraadt  10212: # Tektronix 4025a
                   10213: # From: Doug Gwyn <gwyn@brl-smoke.ARPA>
                   10214: # The following status modes are assumed for normal operation (replace the
                   10215: # initial "!" by whatever the current command character is):
                   10216: #      !COM 29                 # NOTE: changes command character to GS (^])
                   10217: #      ^]DUP
                   10218: #      ^]ECH R
                   10219: #      ^]EOL
                   10220: #      ^]RSS T
                   10221: #      ^]SNO N
                   10222: #      ^]STO 9 17 25 33 41 49 57 65 73
                   10223: # Other modes may be set according to communication requirements.
                   10224: # If the command character is inadvertently changed, termcap can't restore it.
                   10225: # Insert-character cannot be made to work on both top and bottom rows.
1.3       deraadt  10226: # Clear-to-end-of-display emulation via !DLI 988 is too grotty to use, alas.
1.1       deraadt  10227: # There also seems to be a problem with vertical motion, perhaps involving
                   10228: # delete/insert-line, following a typed carriage return.  This terminal sucks.
                   10229: # Delays not specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
1.2       deraadt  10230: # (tek4025a: removed obsolete ":xx:". This may mean the tek4025a entry won't
                   10231: # work any more. -- esr)
1.8       tholo    10232: tek4025a|Tektronix 4025A:\
                   10233:        :am:bs:bw:da:db:pt:xo:\
1.2       deraadt  10234:        :co#80:it#8:li#34:\
1.1       deraadt  10235:        :CC=^]:DC=\035dch %d;:DL=\035dli %d;:DO=\035dow %d;:\
                   10236:        :LE=\035lef %d;:RI=\035rig %d;:SF=\035dow %d;:\
                   10237:        :UP=\035up %d;:al=\013\035ili;:bl=^G:bt=\035bac;:\
1.5       tholo    10238:        :ce=\035dch 80;:ch=\r\035rig %d;:cl=\035era;\n\035rup;:\
                   10239:        :cr=^M:ct=\035sto;:dc=\035dch;:dl=\035dli;:do=^J:le=^H:\
                   10240:        :nd=\035rig;:\
1.8       tholo    10241:        :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  10242:        :sf=^J:ta=^I:up=^K:
                   10243: # From: cbosg!teklabs!davem Wed Sep 16 21:11:41 1981
                   10244: # Here's the command file that I use to get rogue to work on the 4025.
                   10245: # It should work with any program using the old curses (e.g. it better
                   10246: # not try to scroll, or cursor addressing won't work.  Also, you can't
                   10247: # see the cursor.)
                   10248: # (This "learns" the arrow keys for rogue. I have adapted it for termcap - mrh)
1.8       tholo    10249: tek4025-cr|tek 4025 for curses and rogue:\
                   10250:        :am:bs:\
1.2       deraadt  10251:        :co#80:it#8:li#33:\
1.1       deraadt  10252:        :cl=\037era;:cm=\037jum%i%d\054%d;:do=^F^J:\
1.8       tholo    10253:        :is=\041com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r:\
1.2       deraadt  10254:        :le=^H:nd=\037rig;:sf=^F^J:ta=^I:te=\037wor 0:\
1.1       deraadt  10255:        :ti=\037wor 33h:up=^K:
                   10256: # next two lines commented out since curses only allows 128 chars, sigh.
                   10257: #      :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:\
                   10258: #      :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:
                   10259: tek4025ex|4025ex|4027ex|tek 4025 w/!:\
1.8       tholo    10260:        :is=\037com 33\r\n\041sto 9\05417\05425\05433\05441\05449\05457\05465\05473\r:\
                   10261:        :te=\037com 33\r:ti=\041com 31\r:\
1.5       tholo    10262:        :tc=tek4025:
1.8       tholo    10263: tek4105|tektronix 4105:\
                   10264:        :am:bs:mi:ms:ul:xn:xt:\
1.1       deraadt  10265:        :co#79:it#8:li#29:\
1.5       tholo    10266:        :ac=:ae=\E[m:al=\E[1L:as=\E[1m:bl=^G:bt=\E[Z:cd=\E[J:\
1.1       deraadt  10267:        :ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%2;%2H:cr=^M:ct=\E[1g:\
1.5       tholo    10268:        :dc=\E[1P:dl=\E[1M:do=\E[1B:ei=\E[4l:ho=\E[H:i1=\E%!1\E[m:\
                   10269:        :im=\E[4h:is=\E%!1\E[?6141\E[m:kb=^H:kd=\E[1B:kl=\E[1D:\
                   10270:        :kr=\E[1C:ku=\E[1A:mb=\E[=3;<7m:md=\E[=7;<4m:\
                   10271:        :me=\E[=0;<1m:mh=\E[=1;<6m:mk=\E[=6;<5:mr=\E[=1;<3m:\
                   10272:        :nd=\E[1C:se=\E[=0;<1m:sf=\E[S:so=\E[=2;<3m:sr=\E[T:ta=^I:\
1.8       tholo    10273:        :te=:ti=\E%!1\E[?6l\E[2J:ue=\E[=0;<1m:up=\E[1A:\
                   10274:        :us=\E[=5;<2m:
1.1       deraadt  10275:
1.2       deraadt  10276: # (tek4105-30: I added <rmam>/<smam> based on the init string -- esr)
1.8       tholo    10277: tek4105-30|4015 emulating 30 line vt100:\
1.1       deraadt  10278:        :am:mi:ms:xn:xo:\
                   10279:        :co#80:it#8:li#30:vt#3:\
1.5       tholo    10280:        :@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
                   10281:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
1.3       deraadt  10282:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1.5       tholo    10283:        :ae=^O:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
                   10284:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:do=^J:\
                   10285:        :eA=\E(B\E)0:ho=\E[H:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:\
                   10286:        :k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:\
                   10287:        :kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
                   10288:        :ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:\
                   10289:        :nd=\E[C:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
1.1       deraadt  10290:        :..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
                   10291:        :sc=\E7:se=\E[m:sf=^J:so=\E[1;7m:sr=\EM:st=\EH:ta=^I:\
                   10292:        :ue=\E[m:up=\E[A:us=\E[4m:
                   10293:
1.8       tholo    10294: # Tektronix 4105 from BRL
                   10295: # The following setup modes are assumed for normal operation:
                   10296: #      CODE ansi               CRLF no                 DABUFFER 141
                   10297: #      DAENABLE yes            DALINES 30              DAMODE replace
                   10298: #      DAVISIBILITY yes        ECHO no                 EDITMARGINS 1 30
                   10299: #      FLAGGING input          INSERTREPLACE replace   LFCR no
                   10300: #      ORIGINMODE relative     PROMPTMODE no           SELECTCHARSET G0 B
                   10301: #      SELECTCHARSET G1 0      TABS -2
                   10302: # Other setup modes may be set for operator convenience or communication
                   10303: # requirements; I recommend
                   10304: #      ACURSOR 1 0             AUTOREPEAT yes          AUTOWRAP yes
                   10305: #      BYPASSCANCEL <LF>       CURSORKEYMODE no        DAINDEX 1 0 0
                   10306: #      EOFSTRING ''            EOLSTRING <CR>          EOMCHARS <CR> <NU>
                   10307: #      GAMODE overstrike       GCURSOR 0 100 0         GSPEED 10 1
                   10308: #      IGNOREDEL no            KEYEXCHAR <DL>          NVDEFINE -53 "<NU>"
                   10309: #      PROMPTSTRING ''         QUEUESIZE 2460          WINDOW 0 0 4095 3132
                   10310: #      XMTDELAY 0
                   10311: # and factory color maps.  After setting these modes, save them with NVSAVE. No
                   10312: # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
                   10313: # "IC" cannot be used in combination with "im" & "ei".
                   10314: # "tek4105a" is just a guess:
                   10315: tek4105a|Tektronix 4105:\
                   10316:        :bs:ms:pt:xo:\
                   10317:        :co#80:it#8:kn#8:li#30:vt#3:\
                   10318:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
                   10319:        :RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ac=:ae=^O:al=\E[L:\
                   10320:        :as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
                   10321:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
                   10322:        :dl=\E[M:do=^J:ec=\E[%dX:ei=\E[4l:ho=\E[H:im=\E[4h:\
                   10323:        :is=\E%!1:k0=\EOA:k1=\EOB:k2=\EOC:k3=\EOD:k4=\EOP:k5=\EOQ:\
                   10324:        :k6=\EOR:k7=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
                   10325:        :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:\
                   10326:        :l5=F6:l6=F8:le=^H:ll=\E[30;H:mb=\E[5m:md=\E[1m:me=\E[m:\
                   10327:        :mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:\
                   10328:        :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>:\
                   10329:        :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
                   10330:        :te=\E%!0\ELBH=\E%!1:ti=\E[?6l:ue=\E[m:up=\EM:us=\E[4m:\
                   10331:        :ve=\E%!0\ETD10\E%!1:vi=\E%!0\ETD00\E%!1:\
                   10332:        :vs=\E%!0\ETD70\E%!1:
                   10333:
                   10334: #
                   10335: # Tektronix 4106/4107/4109 from BRL
                   10336: # The following setup modes are assumed for normal operation:
                   10337: #      CODE ansi               COLUMNMODE 80           CRLF no
                   10338: #      DABUFFER 141            DAENABLE yes            DALINES 32
                   10339: #      DAMODE replace          DAVISIBILITY yes        ECHO no
                   10340: #      EDITMARGINS 1 32        FLAGGING input          INSERTREPLACE replace
                   10341: #      LFCR no                 LOCKKEYBOARD no         ORIGINMODE relative
                   10342: #      PROMPTMODE no           SELECTCHARSET G0 B      SELECTCHARSET G1 0
                   10343: #      TABS -2
                   10344: # Other setup modes may be set for operator convenience or communication
                   10345: # requirements; I recommend
                   10346: #      ACURSOR 1 0             AUTOREPEAT yes          AUTOWRAP yes
                   10347: #      BYPASSCANCEL <LF>       CURSORKEYMODE no        DAINDEX 1 0 0
                   10348: #      EOFSTRING ''            EOLSTRING <CR>          EOMCHARS <CR> <NU>
                   10349: #      GAMODE overstrike       GCURSOR 0 100 0         GSPEED 9 3
                   10350: #      IGNOREDEL no            KEYEXCHAR <DL>          NVDEFINE -53 "<NU>"
                   10351: #      PROMPTSTRING ''         QUEUESIZE 2620          WINDOW 0 0 4095 3132
                   10352: #      XMTDELAY 0
                   10353: # and factory color maps.  After setting these modes, save them with NVSAVE.  No
                   10354: # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
                   10355: # "IC" cannot be used in combination with "im" & "ei".
1.13    ! millert  10356: tek4106brl|tek4107brl|tek4109brl|Tektronix 4106 4107 or 4109:\
1.8       tholo    10357:        :ms:xo:\
                   10358:        :co#80:it#8:li#32:vt#3:\
                   10359:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
                   10360:        :RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ac=:ae=^O:al=\E[L:\
                   10361:        :as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
                   10362:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
                   10363:        :dl=\E[M:do=^J:ec=\E[%dX:ei=\E[4l:ho=\E[H:im=\E[4h:\
                   10364:        :is=\E%!1:k0=\EOA:k1=\EOB:k2=\EOC:k3=\EOD:k4=\EOP:k5=\EOQ:\
                   10365:        :k6=\EOR:k7=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
                   10366:        :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:\
                   10367:        :l5=F6:l6=F8:le=^H:ll=\E[32;H:mb=\E[5m:md=\E[1m:me=\E[m:\
                   10368:        :mr=\E[7m:nd=\E[C:nw=\EE:\
                   10369:        :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>:\
                   10370:        :rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7;42m:sr=\EM:st=\EH:\
                   10371:        :ta=^I:te=\E%!0\ELBH=\E%!1:ti=\E[?6l:ue=\E[m:up=\EM:\
                   10372:        :us=\E[4m:ve=\E%!0\ETD10\E%!1:vi=\E%!0\ETD00\E%!1:\
                   10373:        :vs=\E%!0\ETD70\E%!1:
                   10374:
                   10375: tek4107|tek4109|tektronix terminals 4107 4109:\
                   10376:        :am:bs:mi:ms:ul:xn:xt:\
1.1       deraadt  10377:        :co#79:it#8:li#29:\
1.5       tholo    10378:        :bl=^G:cd=\EJ:ce=\EK:cl=\ELZ:cm=\EY%+ %+ :cr=^M:do=^J:kb=^H:\
                   10379:        :kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:mb=\E%!1\E[5m\E%!0:\
                   10380:        :md=\E%!1\E[1m\E%!0:me=\E%!1\E[m\E%!0:\
                   10381:        :mh=\E%!1\E[<0m\E%!0:mr=\E%!1\E[7m\E%0:nd=\EC:\
1.8       tholo    10382:        :..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  10383:        :se=\E%!1\E[m\E%!0:sf=^J:so=\E%!1\E[7;5m\E%!0:sr=\EI:\
                   10384:        :ta=^I:ue=\E%!1\E[m\E%!0:up=\EA:us=\E%!1\E[4m\E%!0:\
                   10385:        :ve=\E%!0:vs=\E%!3:
                   10386: # Tektronix 4207 with sysline.  In the ancestral termcap file this was 4107-s;
                   10387: # see the note attached to tek4207.
                   10388: tek4207-s|Tektronix 4207 with sysline but no memory:\
                   10389:        :es:hs:\
                   10390:        :ds=\E7\E[?6l\E[2K\E[?6h\E8:fs=\E[?6h\E8:\
1.2       deraadt  10391:        :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:\
                   10392:        :is=\E7\E[?6l\E[2K\E[?6h\E8:\
1.1       deraadt  10393:        :ts=\E7\E[?6l\E[2K\E[;%i%df:tc=tek4107:
                   10394:
                   10395: # The 4110 series may be a wonderful graphics series, but they make the 4025
                   10396: # look good for screen editing.  In the dialog area, you can't move the cursor
                   10397: # off the bottom line.  Out of the dialog area, ^K moves it up, but there
                   10398: # is no way to scroll.
                   10399: #
                   10400: # Note that there is a floppy for free from Tek that makes the
                   10401: # 4112 emulate the vt52 (use the vt52 termcap). There is also
                   10402: # an expected enhancement that will use ANSI standard sequences.
                   10403: #
                   10404: # 4112 in non-dialog area pretending to scroll. It really wraps
                   10405: # but vi is said to work (more or less) in this mode.
                   10406: #
                   10407: # 'vi' works reasonably well with this entry.
                   10408: #
                   10409: otek4112|o4112-nd|otek4113|otek4114|old tektronix 4110 series:\
                   10410:        :am:\
                   10411:        :co#80:li#34:\
                   10412:        :bl=^G:cl=\E^L:cr=^M:do=^J:le=^H:sf=^J:te=\EKA1\ELV1:\
                   10413:        :ti=\EKA0\ELV0\EMG0:up=^K:
                   10414: # The 4112 with the ANSI compatibility enhancement
                   10415: tek4112|tek4114|tektronix 4110 series:\
1.8       tholo    10416:        :am:bs:db:\
1.1       deraadt  10417:        :co#80:li#34:\
                   10418:        :al=\E[L:bt=\E[Z:cd=\E[0J:ce=\E[0K:cl=\E[2J\E[0;0H:\
1.8       tholo    10419:        :cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:ei=:ic=\E[@:im=:\
                   10420:        :is=\E3\0411:le=^H:me=\E[m:nd=\E[C:se=\E[m:\
                   10421:        :sf=\E7\E[0;0H\E[M\E8:so=\E[7m:sr=\E7\E[0;0H\E[L\E8:\
                   10422:        :ue=\E[m:up=\EM:us=\E[4m:
                   10423: tek4112-nd|4112 not in dialog area:\
1.1       deraadt  10424:        :ns:\
                   10425:        :up=^K:tc=tek4112:
1.8       tholo    10426: tek4112-5|4112 in 5 line dialog area:\
1.3       deraadt  10427:        :li#5:tc=tek4112:
1.5       tholo    10428: # (tek4113: this used to have ":nd=\LM1\s\LM0:", someone's mistake;
                   10429: # removed ":as=\E^N:, :ae=\E^O:", which had been commented out in 8.3.
                   10430: # Note, the !0 and !1 sequences in :te:/:ti:/:ve:/:vi: were
1.2       deraadt  10431: # previously \0410 and \0411 sequences...I don't *think* they were supposed
                   10432: # to be 4-digit octal -- esr)
                   10433: tek4113|tektronix 4113 color graphics with 5 line dialog area:\
1.8       tholo    10434:        :am:bs:da:eo:\
1.1       deraadt  10435:        :co#80:li#5:\
                   10436:        :cl=\ELZ:do=^J:is=\EKA1\ELL5\ELV0\ELV1:le=^H:\
                   10437:        :nd=\ELM1 \ELM0:uc=\010\ELM1_\ELM0:\
                   10438:        :vb=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0:
1.8       tholo    10439: tek4113-34|tektronix 4113 color graphics with 34 line dialog area:\
1.1       deraadt  10440:        :li#34:\
                   10441:        :is=\EKA1\ELLB2\ELV0\ELV1:tc=tek4113:
                   10442: # :ns: left off to allow vi visual mode. APL font (:as=\E^N:/:ae=\E^O:) not
                   10443: # supported here. :uc: is slow, but looks nice. Suggest setenv MORE -up .
                   10444: # :vb: needs enough delay to let you see the background color being toggled.
1.8       tholo    10445: tek4113-nd|tektronix 4113 color graphics with no dialog area:\
                   10446:        :am:bs:eo:\
1.2       deraadt  10447:        :co#80:it#8:li#34:\
1.5       tholo    10448:        :cl=\E^L:do=^J:ho=\ELF7l\177 @:is=\ELZ\EKA0\ELF7l\177 @:\
                   10449:        :le=^H:ll=\ELF hl @:nd=^I:se=\EMT1:so=\EMT2:ta=^I:\
                   10450:        :uc=\010\EMG1_\EMG0:up=^K:\
1.1       deraadt  10451:        :vb=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0:\
                   10452:        :vs=\ELZ\EKA0:
                   10453: # This entry is from Tek. Inc.  (Brian Biehl)
1.2       deraadt  10454: # (tek4115: :bc: renamed to :le:, <rmam>/<smam> added based on init string -- esr)
1.1       deraadt  10455: otek4115|Tektronix 4115:\
1.2       deraadt  10456:        :am:bs:da:db:eo:\
                   10457:        :co#80:it#8:li#34:\
1.3       deraadt  10458:        :RA=\E[?7l:SA=\E[?7h:al=\E[L:bt=\E[Z:cd=\E[J:ce=\E[K:\
                   10459:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=\E[B:\
1.5       tholo    10460:        :ei=\E[4l:ho=\E[H:if=/usr/share/tabset/vt100:im=\E[4h:\
1.2       deraadt  10461:        :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    10462:        :kb=^H:ke=\E>:ks=\E=:le=\E[D:me=\E[m:nd=\E[C:se=\E[m:\
                   10463:        :so=\E[7m:sr=\EM:ta=^I:te=\E%!0\ELBG8\E%!1\E[34;1H\E[J:\
                   10464:        :ti=\E%!0\ELBB2\E%!1:ue=\E[m:up=\E[A:us=\E[4m:\
1.1       deraadt  10465:        :ve=\E%!0\ELBG8\E%!1\E[34;1H:vs=\E%!0\ELBB2\E%!1:
                   10466: tek4115|newer tektronix 4115 entry with more ANSI capabilities:\
                   10467:        :am:xo:\
                   10468:        :co#80:li#34:\
                   10469:        :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:\
1.5       tholo    10470:        :RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:al=\E[L:bl=^G:\
                   10471:        :bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%+^AG:cl=\E[H\E[J:\
                   10472:        :cm=\E[%i%d;%dH:cr=^M:ct=\E[2g:cv=\E[%+^Ad:dc=\E[P:\
                   10473:        :dl=\E[M:do=^J:ei=:ho=\E[H:ic=\E[@:im=:kb=^H:kd=\E[B:kh=\E[H:\
                   10474:        :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:\
                   10475:        :mk=\E[8m:mr=\E[7m:nd=\E[C:..rp=%p1%c\E[%p2%{1}%-%db:\
1.1       deraadt  10476:        :..sa=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m:\
                   10477:        :se=\E[m:sf=^J:so=\E[7m:st=\EH:ta=^I:ue=\E[m:up=\E[A:\
                   10478:        :us=\E[4m:
                   10479: # The tek4125 emulates a vt100 incorrectly - the scrolling region
1.5       tholo    10480: # command is ignored.  The following entry replaces :cs: with the needed
                   10481: # :AL:, :AL:, and :im:; removes some cursor pad commands that the tek4125
1.1       deraadt  10482: # chokes on; and adds a lot of initialization for the tek dialog area.
                   10483: # Note that this entry uses all 34 lines and sets the cursor color to green.
                   10484: # Steve Jacobson 8/85
1.8       tholo    10485: # (tek4125: there were two "\!"s in the is that I replaced with "\E!";
                   10486: # commented out, :im:=\E1 because there's no :ei:  -- esr)
1.2       deraadt  10487: tek4125|tektronix 4125:\
1.1       deraadt  10488:        :li#34:\
1.8       tholo    10489:        :al=\E[1L:cs@:dl=\E[1M:\
                   10490:        :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    10491:        :ks=\E=:rc@:sc@:\
                   10492:        :tc=vt100:
1.1       deraadt  10493:
                   10494: # From: <jcoker@ucbic>
1.2       deraadt  10495: # (tek4207: This was the termcap file's entry for the 4107/4207, but SCO
                   10496: # supplied another, less capable 4107 entry.  So we'll use that for 4107 and
1.8       tholo    10497: # note that if jcoker wasn't confused you may be able to use this one.
                   10498: # I merged in :ms:,:sf:,:sr:,<invis>,:ct: from a BRL entry -- esr)
1.1       deraadt  10499: tek4207|Tektronix 4207 graphics terminal with memory:\
1.8       tholo    10500:        :am:bw:mi:ms:ul:xn:\
1.2       deraadt  10501:        :co#80:it#8:li#32:\
1.1       deraadt  10502:        :al=3\E[L:bt=\E[Z:cd=\E[J:ce=5\E[K:cl=156\E[H\E[J:\
1.8       tholo    10503:        :cm=\E[%i%d;%dH:ct=\E[1g:dc=4\E[P:dl=3\E[M:do=^J:ei=:\
                   10504:        :ho=\E[H:ic=4\E[@:im=:\
1.1       deraadt  10505:        :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    10506:        :kd=\ED:kh=\E[H:kl=\E[D:kr=\E[C:ku=\EM:le=^H:mb=\E[5m:\
1.8       tholo    10507:        :md=\E[1m:me=\E[m:mk=\E[=6;<5:mr=\E[7m:nd=\E[C:se=\E[m:\
                   10508:        :sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:\
1.5       tholo    10509:        :te=\E[?6h\E%!0\ELBP0\E%!1\E[32;1f:ti=\E[?6l\E[H\E[J:\
                   10510:        :ue=\E[m:up=\EM:us=\E[4m:
1.1       deraadt  10511:
                   10512: # From: <carolyn@dali.berkeley.edu>  Thu Oct 31 12:54:27 1985
1.5       tholo    10513: # (tek4404: There was a "\!" in :ti: that I replaced with "\E!".
1.2       deraadt  10514: # Tab had been given as \E2I,that must be the tab-set capability -- esr)
                   10515: tek4404|tektronix 4404:\
1.8       tholo    10516:        :bs:\
1.2       deraadt  10517:        :co#80:it#8:li#32:\
1.5       tholo    10518:        :al=\E[1L:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:\
                   10519:        :cs=\E[%i%d;%dr:dc=\E[P:dl=\E[1M:do=^J:ei=\E[4l:ho=\E[H:\
                   10520:        :im=\E[4h:kd=\E[B:ke=\E[?1h:kl=\E[D:kr=\E[C:ks=\E[?1l:\
                   10521:        :ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:nd=\E[C:rc=\E8:\
                   10522:        :sc=\E7:se=\E[27m:so=\E[7m:st=\E[2I:ta=^I:\
                   10523:        :te=\E[1;1H\E[0J\E[?6h\E[?1l:\
1.8       tholo    10524:        :ti=\E%\E\0411\E[1;32r\E[?6l\E>:ue=\E[m:up=\E[A:\
                   10525:        :us=\E[4m:
1.2       deraadt  10526: # Some unknown person wrote:
1.1       deraadt  10527: # I added the is string - straight Unix has ESC ; in the login
                   10528: # string which sets a ct8500 into monitor mode (aka 4025 snoopy
                   10529: # mode). The is string here cleans up a few things (but not
                   10530: # everything).
                   10531: ct8500|tektronix ct8500:\
                   10532:        :am:bw:da:db:\
                   10533:        :co#80:li#25:\
                   10534:        :al=\E^L:bl=^G:bt=\E^I:cd=\E^U:ce=\E^T:cl=\E^E:\
1.5       tholo    10535:        :cm=\E|%+ %+ :cr=^M:dc=\E^]:dl=\E^M:do=^J:ei=:ic=\E^\:im=:\
                   10536:        :is=\037\EZ\Ek:le=^H:me=\E :nd=\ES:se=\E :sf=^J:so=\E$:\
1.8       tholo    10537:        :sr=\E^A:ta=^I:ue=\E :up=\ER:us=\E\041:
1.1       deraadt  10538:
                   10539: # Tektronix 4205 terminal.
                   10540: #
                   10541: # am is not defined because the wrap around occurs not when the char.
                   10542: # is placed in the 80'th column, but when we are attempting to type
1.2       deraadt  10543: # the 81'st character on the line.  (esr: hmm, this is like the vt100
                   10544: # version of xenl, perhaps am + xenl would work!)
1.1       deraadt  10545: #
                   10546: # Bold, dim, and standout are simulated by colors and thus not allowed
                   10547: # with colors.  The tektronix color table is mapped into the RGB color
                   10548: # table by setf/setb. All colors are reset to factory specifications by oc.
1.2       deraadt  10549: # The <initc> cap uses RGB notation to define colors.  for arguments 1-3 the
1.1       deraadt  10550: # interval (0-1000) is broken into 8 smaller sub-intervals (125).  Each sub-
                   10551: # interval then maps into pre-defined value.
1.3       deraadt  10552: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.8       tholo    10553: tek4205|tektronix 4205:\
1.3       deraadt  10554:        :cc:mi:ms:\
                   10555:        :Co#8:NC#49:co#80:it#8:li#30:pa#63:\
1.1       deraadt  10556:        :AL=\E[%dL:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:\
1.3       deraadt  10557:        :UP=\E[%dA:\
                   10558:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
                   10559:        :ae=^O:al=\E[1L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:\
                   10560:        :ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:ct=\E[1g:\
                   10561:        :dc=\E[1P:dl=\E[1M:do=\E[B:eA=\E)0:ec=\E%dX:ei=\E[4l:\
1.5       tholo    10562:        :ho=\E[H:i1=\E%!0\ETM1\E%!1\E[m:im=\E[4h:k0=\EOA:k1=\EOB:\
                   10563:        :k2=\EOC:k3=\EOD:k4=\EP:k5=\EQ:k6=\ER:k7=\ES:kb=^H:kd=\E[B:\
                   10564:        :kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[=7;<4m:\
                   10565:        :me=\E[=0;<1m\E[24;25;27m\017:mh=\E[=1;<6m:mk=\E[=6;<5:\
                   10566:        :mr=\E[7m:nd=\E[C:\
1.13    ! millert  10567:        :oc=\E%!0\ETFB000001F4F4F42F40030F404A4C<F450F4F46F40F47F4F40\E%!1:\
1.5       tholo    10568:        :op=\E[39;40m:se=\E[=0;<1m:sf=\ED:so=\E[=2;<3m:sr=\EM:\
1.8       tholo    10569:        :ta=^I:te=:ti=\E%%\0411\E[?6l\E[2J:ue=\E[24m:up=\E[A:\
                   10570:        :us=\E[4m:
1.1       deraadt  10571:
                   10572: #### Teletype (tty)
                   10573: #
                   10574: # These are the hardcopy Teletypes from before AT&T bought the company,
                   10575: # clattering electromechanical dinosaurs in Bakelite cases that printed on
                   10576: # pulpy yellow roll paper.  If you remember these you go back a ways.
                   10577: # Teletype-branded VDTs are listed in the AT&T section.
                   10578: #
                   10579: # The earliest UNIXes were designed to use these clunkers; nroff and a few
                   10580: # other programs still default to emitting codes for the Model 37.
                   10581: #
                   10582:
1.2       deraadt  10583: tty33|tty35|model 33 or 35 teletype:\
1.1       deraadt  10584:        :hc:os:xo:\
                   10585:        :co#72:\
                   10586:        :bl=^G:cr=^M:do=^J:sf=^J:
                   10587: tty37|model 37 teletype:\
1.8       tholo    10588:        :bs:hc:os:xo:\
1.1       deraadt  10589:        :bl=^G:cr=^M:do=^J:hd=\E9:hu=\E8:le=^H:sf=^J:up=\E7:
                   10590:
                   10591: # There are known to be at least three flavors of the tty40, all seem more
                   10592: # like IBM half duplex forms fillers than ASCII terminals.  They have lots of
                   10593: # awful braindamage, such as printing a visible newline indicator after each
                   10594: # newline.  The 40-1 is a half duplex terminal and is hopeless.  The 40-2 is
                   10595: # braindamaged but has hope and is described here.  The 40-4 is a 3270
                   10596: # lookalike and beyond hope.  The terminal has visible bell but I don't know
                   10597: # it - it's null here to prevent it from showing the BL character.
1.2       deraadt  10598: # There is an \EG in <nl> because of a bug in old vi (if stty says you have
1.1       deraadt  10599: # a "newline" style terminal (-crmode) vi figures all it needs is nl
1.5       tholo    10600: # to get crlf, even if :cr: is not ^M.)
1.1       deraadt  10601: # (tty40: removed obsolete ":nl=\EG\EB:", it's just do+cr -- esr)
                   10602: tty40|ds40|ds40-2|dataspeed40|teletype dataspeed 40/2:\
1.8       tholo    10603:        :bs:xo:\
1.1       deraadt  10604:        :co#80:li#24:\
1.5       tholo    10605:        :al=\EL:cd=\EJ:cl=\EH\EJ:cr=\EG:ct=\EH\E2:dc=\EP:dl=\EM:\
1.8       tholo    10606:        :do=\EB:ei=:ho=\EH:ic=\E\136:im=:kb=^]:kl=^H:le=^H:nd=\EC:\
                   10607:        :pf=^T:po=\022:r2=\023\ER:se=\E4:sf=\ES:so=\E3:sr=\ET:\
                   10608:        :st=\E1:ta=\E@:up=\E7:
1.1       deraadt  10609: tty43|model 43 teletype:\
1.8       tholo    10610:        :am:bs:hc:os:xo:\
1.1       deraadt  10611:        :co#132:\
                   10612:        :bl=^G:cr=^M:do=^J:kb=^H:le=^H:sf=^J:
                   10613:
                   10614: #### Tymshare
                   10615: #
                   10616:
1.5       tholo    10617: # You can add :is=\E<: to put this 40-column mode, though I can't
1.2       deraadt  10618: # for the life of me think why anyone would want to.
1.1       deraadt  10619: scanset|sc410|sc415|Tymshare Scan Set:\
                   10620:        :am:bw:ms:\
                   10621:        :co#80:li#24:\
1.13    ! millert  10622:        :ac=j%k4l<m-q\054x5:ae=^O:as=^N:bl=^G:cd=\EJ:ce=\EK:\
1.5       tholo    10623:        :cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:do=^J:ho=\EH:kd=\EB:kl=\ED:\
                   10624:        :kr=\EC:ku=\EA:le=^H:nd=^I:pf=\E;0:po=\E;0:ps=\E;3:r1=\E>:\
                   10625:        :rc=^C:sc=^B:sf=^J:up=^K:
1.1       deraadt  10626:
                   10627: #### Volker-Craig (vc)
                   10628: #
1.5       tholo    10629: # If you saw a Byte Magazine cover with a terminal on it during the early
                   10630: # 1980s, it was probably one of these.  Carl Helmers liked them because
1.13    ! millert  10631: # they could crank 19.2 and were cheap (that is, he liked them until he tried
        !          10632: # to program one...)
1.5       tholo    10633: #
1.1       deraadt  10634:
                   10635: # Missing in vc303a and vc303 descriptions:  they scroll 2 lines at a time
                   10636: # every other linefeed.
                   10637: vc303|vc103|vc203|volker-craig 303:\
1.8       tholo    10638:        :am:bs:ns:\
1.1       deraadt  10639:        :co#80:li#24:\
1.5       tholo    10640:        :bl=^G:cl=\014:cr=^M:do=^J:ho=\013:kd=^J:kl=^H:kr=^I:ku=^N:\
                   10641:        :le=^H:ll=\017W:nd=^I:up=^N:
1.2       deraadt  10642: vc303a|vc403a|volker-craig 303a:\
1.5       tholo    10643:        :ce=\026:cl=\030:ho=\031:kr=^U:ku=^Z:ll=^P:nd=^U:up=^Z:tc=vc303:
1.1       deraadt  10644: # (vc404: removed obsolete ":ma=^Z^P^U :" -- esr)
                   10645: vc404|volker-craig 404:\
1.8       tholo    10646:        :am:bs:\
1.1       deraadt  10647:        :co#80:li#24:\
1.5       tholo    10648:        :bl=^G:cd=\027:ce=\026:cl=\030:cm=\020%+ %+ :cr=^M:do=^J:\
                   10649:        :ho=\031:kd=^J:kl=^H:kr=^U:ku=^Z:le=^H:nd=^U:sf=^J:up=^Z:
1.1       deraadt  10650: vc404-s|volker-craig 404 w/standout mode:\
                   10651:        :do=^J:se=^O:so=^N:tc=vc404:
                   10652: # From: <wolfgang@cs.sfu.ca>
1.2       deraadt  10653: # (vc414: merged in cup/dl1/home from an old vc414h-noxon)
1.1       deraadt  10654: vc414|vc414h|Volker-Craig 414H in sane escape mode.:\
                   10655:        :am:bs:\
                   10656:        :co#80:li#24:\
1.5       tholo    10657:        :al=\E\032:cd=\E^X:ce=10\E\017:cl=\E\034:cm=\E\021%r%.%.:\
                   10658:        :dc=\E3:dl=\E\023:do=\E^K:ei=:ho=\E^R:ic=\E\072:im=:k0=\EA:\
                   10659:        :k1=\EB:k2=\EC:k3=\ED:k4=\EE:k5=\EF:k6=\EG:k7=\EH:kd=\E^K:\
                   10660:        :kh=\E^R:kl=^H:kr=^P:ku=\E^L:l0=PF1:l1=PF2:l2=PF3:l3=PF4:\
                   10661:        :l4=PF5:l5=PF6:l6=PF7:l7=PF8:nd=^P:se=\E^_:so=\E^Y:up=\E^L:
1.1       deraadt  10662: vc415|volker-craig 415:\
                   10663:        :cl=^L:tc=vc404:
                   10664:
                   10665: ######## OBSOLETE PERSONAL-MICRO CONSOLES AND EMULATIONS
                   10666: #
                   10667:
                   10668: #### IBM PC and clones
                   10669: #
                   10670:
                   10671: # The pcplot IBM-PC terminal emulation program is really messed up. It is
                   10672: # supposed to emulate a vt-100, but emulates the wraparound bug incorrectly,
                   10673: # doesn't support scrolling regions, ignores add line commands, and ignores
                   10674: # delete line commands. Consequently, the resulting behavior looks like a
                   10675: # crude adm3a-type terminal.
                   10676: # Steve Jacobson 8/85
                   10677: pcplot|pc-plot terminal emulation program:\
                   10678:        :xn@:\
1.2       deraadt  10679:        :AL@:DL@:al@:cs@:dl@:rc@:sc@:tc=vt100:
1.8       tholo    10680: # KayPro II from Richard G Turner <rturner at Darcom-Hq.ARPA>
                   10681: # I've found that my KayPro II, running MDM730, continues to emulate an
                   10682: # ADM-3A terminal, just like I was running TERM.COM. On our 4.2 UNIX
                   10683: # system the following termcap entry works well:
                   10684: # I have noticed a couple of minor glitches, but nothing I can't work
                   10685: # around. (I added two capabilities from the BRL entry -- esr)
1.1       deraadt  10686: kaypro|kaypro2|kaypro II:\
1.8       tholo    10687:        :am:bs:\
1.1       deraadt  10688:        :co#80:li#24:\
1.8       tholo    10689:        :al=\EE:bl=^G:cd=^W:ce=^X:cl=1\032:cm=\E=%+ %+ :cr=^M:\
                   10690:        :dl=\ER:do=^J:ho=^^:kd=^J:kr=^L:ku=^K:nd=^L:sf=^J:up=^K:
1.1       deraadt  10691:
                   10692: # From IBM, Thu May  5 19:35:27 1983
1.8       tholo    10693: # (ibmpc: commented out :im:=\200R because we don't know :ei: -- esr)
1.1       deraadt  10694: ibmpc|ibm-pc|ibm5051|5051|IBM Personal Computer (no ANSI.SYS):\
1.8       tholo    10695:        :am:bs:\
1.1       deraadt  10696:        :co#80:li#24:\
1.8       tholo    10697:        :bl=^G:cl=^L^K:cr=^M^^:do=^J:ho=^K:kd=^_:le=^]:nd=^\:sf=\n:\
                   10698:        :up=^^:
1.1       deraadt  10699:
1.8       tholo    10700: #### Apple II
1.1       deraadt  10701: #
1.8       tholo    10702: # Apple II firmware console first, then various 80-column cards and
                   10703: # terminal emulators.  For two cents I'd toss all these in the UFO file
                   10704: # along with the 40-column apple entries.
                   10705: #
                   10706:
                   10707: # From: brsmith@umn-cs.cs.umn.edu (Brian R. Smith) via BRL
                   10708: #      'it#8' tells UNIX that you have tabs every 8 columns.  This is a
                   10709: #              function of TIC, not the firmware.
                   10710: #      The clear key on a IIgs will do something like clear-screen,
                   10711: #              depending on what you're in.
                   10712: appleIIgs|appleIIe|appleIIc|Apple 80 column firmware interface:\
                   10713:        :am:bs:bw:eo:ms:\
                   10714:        :co#80:it#8:li#24:\
                   10715:        :bl=^G:cd=^K:ce=^]:cl=^L:cm=\036%r%+ %+ :cr=^M:do=^J:ho=^Y:\
                   10716:        :kC=^X:kD=\177:kb=^H:kd=^J:kl=^H:kr=^U:ku=^K:le=^H:nd=^\:\
                   10717:        :nw=^M^W:se=^N:sf=^W:so=^O:sr=^V:ta=^I:up=^_:
                   10718: # Apple //e with 80-column card, entry from BRL
                   10719: # The modem interface is permitted to discard LF (maybe DC1), otherwise
                   10720: # passing characters to the 80-column firmware via COUT (PR#3 assumed).
                   10721: # Auto-wrap does not work right due to newline scrolling delay, which also
                   10722: # requires that you set "stty cr2".
                   10723: # Note: Cursor addressing is only available via the Pascal V1.1 entry,
                   10724: # not via the BASIC PR#3 hook.  All this nonsense can be avoided only by
                   10725: # using a terminal emulation program instead of the built-in firmware.
                   10726: apple2e|Apple //e:\
                   10727:        :bw:ms:\
                   10728:        :co#80:li#24:\
                   10729:        :bl=^G:cd=4*\013:ce=4\035:cl=100\014:do=^J:ho=^Y:is=^R^N:\
                   10730:        :kb=^H:kd=^J:kl=^H:kr=^U:ku=^K:le=^H:me=^N:mr=^O:nw=100\r:\
                   10731:        :r1=^R^N:se=^N:sf=^W:so=^O:sr=^V:ta=^I:up=^_:
                   10732: # mcvax!vu44!vu45!wilcke uses the "ap" entry together with Ascii Express Pro
                   10733: # 4.20, with incoming and outgoing terminals both on 0, emulation On.
                   10734: apple2e-p|Apple //e via Pascal:\
                   10735:        :cm=\036%r%+ %+ :kb=^H:kd=^J:kl=^H:tc=apple2e:
                   10736: # (ASCII Express) MouseTalk "Standard Apple //" emulation from BRL
                   10737: # Enable DC3/DC1 flow control with "stty ixon -ixany".
                   10738: apple-ae|ASCII Express:\
                   10739:        :am:bs:bw:ms:nx:xo:\
                   10740:        :co#80:it#8:li#24:\
                   10741:        :bl=500\007:cd=^K:ce=^]:cl=^L:cm=\036%r%+ %+ :cr=^M:do=^J:\
                   10742:        :ho=^Y:is=^R^N:kC=^X:kd=^J:kl=^H:kr=^U:ku=^K:le=^H:me=^N:\
                   10743:        :mr=^O:nd=^U:r1=^R^N:se=^N:sf=^W:so=^O:sr=^V:up=^_:
1.1       deraadt  10744: appleII|apple ii plus:\
1.8       tholo    10745:        :am:bs:\
1.2       deraadt  10746:        :co#80:it#8:li#24:\
1.1       deraadt  10747:        :cd=^K:ce=^]:cl=^L:cm=\036%r%+ %+ :do=^J:ho=\E^Y:\
1.5       tholo    10748:        :is=\024T1\016:kd=^J:kr=^U:le=^H:me=^N:nd=^\:se=^N:so=^O:\
1.2       deraadt  10749:        :ta=^I:up=^_:vb=\024G1\024T1:ve=^TC2:vs=^TC6:
1.1       deraadt  10750: # Originally by Gary Ford 21NOV83
                   10751: # From: <ee178aci%sdcc7@SDCSVAX.ARPA>  Fri Oct 11 21:27:00 1985
                   10752: apple-80|apple II with smarterm 80 col:\
1.8       tholo    10753:        :am:bs:bw:\
1.1       deraadt  10754:        :co#80:li#24:\
1.5       tholo    10755:        :bt=^R:cd=10*\013:ce=10\035:cl=10*\014:cm=\036%r%+ %+ :\
                   10756:        :cr=10*\r:do=^J:ho=^Y:le=^H:nd=^\:up=^_:
1.1       deraadt  10757: apple-soroc|apple emulating soroc 120:\
                   10758:        :am:\
                   10759:        :co#80:li#24:\
1.5       tholo    10760:        :bl=^G:cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :cr=^M:do=^J:ho=^^:\
                   10761:        :kd=^J:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:sf=^J:up=^K:
1.1       deraadt  10762: # From Peter Harrison, Computer Graphics Lab, San Francisco
                   10763: #   ucbvax!ucsfmis!harrison  .....uucp
                   10764: #   ucbvax!ucsfmis!harrison@BERKELEY   .......ARPA
                   10765: # "These two work.  If you don't have the inverse video chip for the
1.5       tholo    10766: # Apple with videx then remove the :so: and :se: fields."
1.2       deraadt  10767: # (apple-videx: this used to be called DaleApple -- esr)
                   10768: apple-videx|Apple with videx videoterm 80 column board with inverse video:\
1.8       tholo    10769:        :am:bs:xn:\
1.2       deraadt  10770:        :co#80:it#8:li#24:\
1.5       tholo    10771:        :cd=^K:ce=^]:cl=300\014:cm=\036%r%+ %+ :do=^J:ho=^Y:kd=^J:\
                   10772:        :kh=^Y:kl=^H:kr=^U:le=^H:me=^Z2:nd=^\:se=^Z2:so=^Z3:ta=^I:\
                   10773:        :up=^_:
1.8       tholo    10774: # My system [for reference] : Apple ][+, 64K, Ultraterm display card,
                   10775: #                            Apple Cat ][ 212 modem, + more all
                   10776: #                            controlled by ASCII Express: Pro.
                   10777: # From Dave Shaver <isucs1!shaver>
                   10778: apple-uterm-vb|Videx Ultraterm for Apple micros with Visible Bell:\
                   10779:        :am:bs:eo:xt:\
                   10780:        :co#80:li#24:\
                   10781:        :ac=:cd=^K:ce=^]:cl=^L:cm=\036%r%+ %+ :ho=^Y:\
                   10782:        :is=^V4^W06\017\rVisible Bell Installed.\016\r\n:\
                   10783:        :nd=^\:se=^N:so=^O:up=^_:vb=^W35^W06:
                   10784: apple-uterm|Ultraterm for Apple micros:\
                   10785:        :am:bs:eo:xt:\
                   10786:        :co#80:li#24:\
                   10787:        :ac=:cd=^K:ce=^]:cl=^L:cm=\036%r%+ %+ :ho=^Y:\
                   10788:        :is=^V4^W06\016:nd=^\:se=^N:so=^O:up=^_:
                   10789: # from trwrba!bwong (Bradley W. Wong):
                   10790: #
                   10791: # This entry assumes that you are using an apple with the UCSD Pascal
                   10792: # language card.  SYSTEM.MISCINFO is assumed to be the same as that
                   10793: # supplied with the standard apple except that screenwidth should be set
                   10794: # using SETUP to 80 columns.  Note that the right arrow in not mapped in
                   10795: # this termcap entry.  This is because that key, on the Apple, transmits
                   10796: # a ^U and would thus preempt the more useful "up" function of vi.
                   10797: #
                   10798: # HMH 2/23/81
                   10799: apple80p|80-column apple with Pascal card:\
                   10800:        :am:bw:\
                   10801:        :co#80:li#24:\
                   10802:        :cd=^K:ce=^]:cl=^Y^L:cm=\036%r%+ %+ :ho=^Y:kl=^H:nd=^\\072:\
                   10803:        :up=^_:
                   10804: #
                   10805: # Apple II+ equipped with Videx 80 column card
                   10806: #
                   10807: # Terminfo from ihnp4!ihu1g!djc1 (Dave Christensen) via BRL;
                   10808: # manually converted by D A Gwyn
                   10809: #
                   10810: # DO NOT use any terminal emulation with this data base, it works directly
                   10811: # with the Videx card.  This has been tested with vi 1200 baud and works fine.
                   10812: #
                   10813: # This works great for vi, except I've noticed in pre-R2, ^U will scroll back
                   10814: # 1 screen, while in R2 ^U doesn't.
                   10815: # For inverse alternate character set add:
                   10816: #      :as:=^O::ae:=^N:
                   10817: # (apple-v: added it#8 -- esr)
                   10818: apple-videx2|Apple II+ w/ Videx card (similar to Datamedia h1520):\
                   10819:        :am:xn:\
                   10820:        :co#80:it#8:li#24:\
                   10821:        :bl=100\007:cd=16*\013:ce=^]:cl=16*\014:cm=\036%r%+ %+ :\
                   10822:        :cr=^M:do=^J:ho=^Y:kb=^H:kd=^J:kh=^Y:kl=^H:kr=^\:ku=^_:le=^H:\
                   10823:        :nd=^\:se=^Z2:sf=^J:so=^Z3:ta=8\011:up=^_:
                   10824: apple-videx3|vapple|Apple II with 80 col card:\
                   10825:        :am:bs:\
                   10826:        :co#80:li#24:\
                   10827:        :ce=\Ex:cl=\Ev:cm=\EY%+ %+ :ho=\EH:k0=\EP:k1=\EQ:k2=\ER:\
                   10828:        :k3=\E :k4=\E\041:k5=\E":k6=\E#:k7=\E$:k8=\E%:k9=\E&:kd=\EB:\
                   10829:        :kh=\EH:kl=\ED:kr=\EC:ku=\EA:nd=\EC:up=\EA:
                   10830: #From: decvax!cbosgd!cbdkc1!mww Mike Warren via BRL
                   10831: aepro|Apple II+ running ASCII Express Pro--vt52:\
                   10832:        :bs:\
                   10833:        :co#80:li#24:\
                   10834:        :cd=\EJ:ce=\EK:cl=300\014:cm=\EY%+ %+ :ho=\EH:nd=\EC:\
                   10835:        :up=\EA:
                   10836: # UCSD addition: Yet another termcap from Brian Kantor's Micro Munger Factory
                   10837: apple-vm80|ap-vm80|apple with viewmax-80:\
                   10838:        :bs:\
                   10839:        :co#80:li#24:\
                   10840:        :cd=300\013:ce=^]:cl=300\014:cm=100\036%+ %+ :ho=200\031:\
                   10841:        :nd=^\\072:up=^_:
                   10842:
                   10843: #### Apple Lisa & Macintosh
                   10844: #
                   10845:
                   10846: # (lisa: changed :vs: to :ve: -- esr)
1.2       deraadt  10847: lisa|apple lisa console display (black on white):\
1.8       tholo    10848:        :am:bs:eo:ms:\
1.2       deraadt  10849:        :co#88:it#8:li#32:\
1.13    ! millert  10850:        :ac=jdkclfmenbqattuvvuwsx`:ae=\E[10m:al=\E[L:as=\E[11m:\
1.5       tholo    10851:        :cd=\E[J:ce=\E[K:cl=^L:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:\
                   10852:        :do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:is=\E>\E[m\014:kb=^H:\
                   10853:        :kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:nd=\E[C:\
1.8       tholo    10854:        :se=\E[m:so=\E[7m:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[5l:\
                   10855:        :vi=\E[5h:
1.2       deraadt  10856: liswb|apple lisa console display (white on black):\
                   10857:        :is=\E>\E[0;7m\014:se=\E[0;7m:so=\E[m:ue=\E[0;7m:\
1.1       deraadt  10858:        :us=\E[4m:tc=lisa:
1.8       tholo    10859:
                   10860: # lisaterm from ulysses!gamma!epsilon!mb2c!jed (John E. Duncan III) via BRL;
                   10861: # :is: revised by Ferd Brundick <fsbrn@BRL.ARPA>
                   10862: #
                   10863: # These entries assume that the 'Auto Wraparound' is enabled.
                   10864: # Xon-Xoff flow control should also be enabled.
                   10865: #
                   10866: # The vt100 uses :rs2: and :rf: rather than :is2:/:tbc:/:hts: because the tab
                   10867: # settings are in non-volatile memory and don't need to be reset upon login.
                   10868: # Also setting the number of columns glitches the screen annoyingly.
                   10869: # You can type "reset" to get them set.
                   10870: #
                   10871: lisaterm|Apple Lisa or Lisa/2 running LisaTerm vt100 emulation:\
                   10872:        :am:bs:pt:xn:xo:\
                   10873:        :co#80:it#8:kn#4:li#24:vt#3:\
                   10874:        :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bl=^G:cd=\E[J:\
                   10875:        :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
                   10876:        :cs=\E[%i%d;%dr:ct=\E[3g:do=^J:ho=\E[H:k0=\EOP:k1=\EOQ:\
                   10877:        :k2=\EOR:k3=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
                   10878:        :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l0=F1:l1=F2:l2=F3:l3=F4:le=^H:\
                   10879:        :mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
                   10880:        :r1=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r:\
                   10881:        :rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
                   10882:        :ue=\E[m:up=\E[A:us=\E[4m:
                   10883: # Lisaterm in 132 column ("wide") mode.
                   10884: lisaterm-w|Apple Lisa with Lisaterm in 132 column mode:\
                   10885:        :co#132:\
                   10886:        :kb=^H:kd=^J:kl=^H:tc=lisaterm:
                   10887: # Although MacTerminal has insert/delete line, it is commented out here
                   10888: # since it is much faster and cleaner to use the "lock scrolling region"
                   10889: # method of inserting and deleting lines due to the MacTerminal implementation.
                   10890: # Also, the "Insert/delete ch" strings have an extra character appended to them
                   10891: # due to a bug in MacTerminal V1.1.  Blink is disabled since it is not
                   10892: # supported by MacTerminal.
1.1       deraadt  10893: mac|macintosh|Macintosh with MacTerminal:\
                   10894:        :xn:\
                   10895:        :dN#30:\
1.8       tholo    10896:        :dc=7\E[P:ei=:ic=9\E[@:im=:ip=7:mb@:tc=lisa:
                   10897: # Lisaterm in 132 column ("wide") mode.
                   10898: mac-w|macterminal-w|Apple Macintosh with Macterminal in 132 column mode:\
                   10899:        :co#132:tc=mac:
1.1       deraadt  10900:
                   10901: #### Radio Shack/Tandy
                   10902: #
                   10903:
                   10904: # (coco3: This had "ta" used incorrectly as a boolean and bl given as "bl#7".
                   10905: # I read these as mistakes for ":it#8:" and ":bl=\007:" respectively -- esr)
                   10906: # From: <{pbrown,ctl}@ocf.berkeley.edu> 12 Mar 90
                   10907: coco3|os9LII|Tandy CoCo3 24*80 OS9 Level II:\
1.8       tholo    10908:        :am:bs:\
1.1       deraadt  10909:        :co#80:it#8:li#24:\
                   10910:        :al=^_0:bl=^G:cd=^K:ce=^D:cl=5*\014:cm=2\002%r%+ %+ :\
1.5       tholo    10911:        :dl=^_1:do=^J:ho=^A:kd=^J:kl=^H:kr=^I:ku=^L:le=^H:mb=^_":\
1.13    ! millert  10912:        :md=\E\072^A:me=\037\041\E\072\0:mr=^_ :nd=^F:se=^_\041:\
        !          10913:        :so=^_ :ue=^_#:up=^I:us=^_":ve=^E\041:vi=^E :
1.2       deraadt  10914: # (trs2: removed obsolete ":nl=^_:" -- esr)
1.1       deraadt  10915: trs2|trsII|trs80II|Radio Shack Model II using P&T CP/M:\
1.8       tholo    10916:        :am:bs:ms:\
1.2       deraadt  10917:        :co#80:it#8:li#24:\
1.5       tholo    10918:        :al=^D:bl=^G:cd=^B:ce=^A:cl=^L:cm=\EY%+ %+ :cr=^M:dl=^K:\
                   10919:        :do=^_:ho=^F:kb=^H:kd=^_:kl=^\:kr=^]:ku=^^:le=^H:me=^O:nd=^]:\
                   10920:        :se=^O:sf=^J:so=^N:ta=^I:up=^^:
1.1       deraadt  10921: # From: Kevin Braunsdorf <ksb@mentor.cc.purdue.edu>
1.2       deraadt  10922: # (This had extension capabilities
1.1       deraadt  10923: #      :BN=\E[?33h:BF=\E[?33l:UC=\E[_ q:BC=\E[\177 q:\
                   10924: #      :CN=\ERC:CF=\ERc:NR=\ERD:NM=\ER@:
1.2       deraadt  10925: # I also deleted the unnecessary ":kn#2:", ":sg#0:" -- esr)
1.1       deraadt  10926: trs16|trs-80 model 16 console:\
1.8       tholo    10927:        :am:bs:\
1.2       deraadt  10928:        :co#80:it#8:li#24:\
1.13    ! millert  10929:        :ac=jak`l_mbquvewcxs:ae=\ERg:al=\EL:as=\ERG:bl=^G:cd=\EJ:\
1.5       tholo    10930:        :ce=\EK:cl=^L:cm=\EY%+ %+ :cr=^M:dc=\EQ:dl=\EM:do=\EB:ei=:\
                   10931:        :ho=\EH:ic=\EP:im=:k0=^A:k1=^B:k2=^D:k3=^L:k4=^U:k5=^P:k6=^N:\
                   10932:        :k7=^S:kb=^H:kd=\EB:kh=^W:kl=\ED:kr=\EC:ku=\EA:l0=f1:l1=f2:\
                   10933:        :l2=f3:l3=f4:l4=f5:l5=f6:l6=f7:l7=f8:le=^H:me=\ER@:nd=\EC:\
                   10934:        :pf=\E]+:po=\E]=:se=\ER@:sf=^J:so=\ERD:ta=^I:up=\EA:ve=\ERC:\
1.3       deraadt  10935:        :vi=\ERc:
1.1       deraadt  10936:
                   10937: #### Atari ST
                   10938: #
                   10939:
                   10940: # From: Simson L. Garfinkel <simsong@media-lab.mit.edu>
                   10941: atari|atari st:\
1.8       tholo    10942:        :am:bs:\
1.2       deraadt  10943:        :co#80:it#8:li#25:\
1.5       tholo    10944:        :al=\EL:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :dl=\EM:do=\EB:\
                   10945:        :kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=\ED:me=\Eq:nd=\EC:se=\Eq:\
                   10946:        :so=\Ep:sr=\EI:ta=^I:up=\EA:
1.1       deraadt  10947: # UniTerm terminal program for the Atari ST:  49-line VT220 emulation mode
                   10948: # From: Paul M. Aoki <aoki@ucbvax.berkeley.edu>
1.2       deraadt  10949: uniterm|uniterm49|UniTerm VT220 emulator with 49 lines:\
1.1       deraadt  10950:        :li#49:\
                   10951:        :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;49r\E[49;1H:tc=vt220:
1.5       tholo    10952: # MiNT VT52 emulation. 80 columns, 25 rows.
                   10953: # MiNT is Now TOS, the operating system which comes with all Ataris now
                   10954: # (mainly Atari Falcon). This termcap is for the VT52 emulation you get
                   10955: # under tcsh/zsh/bash/sh/ksh/ash/csh when you run MiNT in `console' mode
1.8       tholo    10956: # From: Per Persson <pp@gnu.ai.mit.edu>, 27 Feb 1996
1.5       tholo    10957: st52|Atari ST with VT52 emulation:\
                   10958:        :am:km:\
                   10959:        :co#80:li#25:\
                   10960:        :K1=\E#7:K2=\E#9:K3=\E#5:K4=\E#1:K5=\E#3:al=\EL:bl=^G:\
                   10961:        :cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:dl=\EM:do=\EB:\
                   10962:        :ho=\EH:k0=\E#D:k1=\E#;:k2=\E#<:k3=\E#=:k4=\E#>:k5=\E#?:\
                   10963:        :k6=\E#@:k7=\E#A:k8=\E#B:k9=\E#C:kA=\E#R:kC=\E#7:kF=\E#2:\
                   10964:        :kR=\E#8:kb=^H:kd=\E#P:kh=\E#G:kl=\E#K:kr=\E#M:ku=\E#H:\
                   10965:        :l0=f10:le=\ED:me=\Eq:nd=\EC:nw=^M^J:r1=\Ez_\Eb@\EcA:\
1.8       tholo    10966:        :rc=\Ek:sc=\Ej:se=\Eq:sf=^J:so=\Ep:sr=\EI:ta=^I:te=:ti=\Ee:\
1.5       tholo    10967:        :up=\EA:ve=\Ee:vi=\Ef:
                   10968:
1.1       deraadt  10969: #### Commodore Business Machines
                   10970: #
                   10971: # Formerly located in West Chester, PA; went spectacularly bust in 1994
                   10972: # after years of shaky engineering and egregious mismanagement.  Made one
                   10973: # really nice machine (the Amiga) and boatloads of nasty ones (PET, C-64,
                   10974: # C-128, VIC-20).  The C-64 is said to have been the most popular machine
                   10975: # ever (most units sold); they can still be found gathering dust in closets
                   10976: # everywhere.
                   10977: #
                   10978:
                   10979: # From: Kent Polk <kent@swrinde.nde.swri.edu>, 30 May 90
                   10980: # Added a few more entries, converted caret-type control sequence (^x) entries
                   10981: # to '\0xx' entries since a couple of people mentioned losing '^x' sequences.
                   10982: #
                   10983: # :as:, :ae:                   Support for alternate character sets.
                   10984: # :ve=\E[\040p:vi=\E[\060\040p:        cursor visible/invisible.
                   10985: # :xn:  vt100 kludginess at column 80/NEWLINE ignore after 80 cols(Concept)
                   10986: #     This one appears to fix a problem I always had with a line ending
                   10987: #     at 'width+1' (I think) followed by a blank line in vi. The blank
                   10988: #     line tended to disappear and reappear depending on how the screen
                   10989: #     was refreshed. Note that this is probably needed only if you use
                   10990: #     something like a Dnet Fterm with the window sized to some peculiar
                   10991: #     dimension larger than 80 columns.
                   10992: # :k0=\E9~:    map F10 to k0 - could have F0-9 -> k0-9, but ... F10 was 'k;'
1.5       tholo    10993: # (amiga: removed obsolete :kn#10:,
                   10994: # also added empty <acsc> to suppress a warning --esr)
1.13    ! millert  10995: amiga|Amiga ANSI:\
1.1       deraadt  10996:        :am:bs:bw:xn:\
                   10997:        :co#80:li#24:\
                   10998:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.5       tholo    10999:        :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ac=:\
1.1       deraadt  11000:        :ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
1.5       tholo    11001:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=\E[B:ei=:\
                   11002:        :ho=\E[H:ic=\E[@:im=:is=\E[20l:k0=\E9~:k1=\E0~:k2=\E1~:\
                   11003:        :k3=\E2~:k4=\E3~:k5=\E4~:k6=\E5~:k7=\E6~:k8=\E7~:k9=\E8~:\
                   11004:        :kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=\E[D:mb=\E[7;2m:\
                   11005:        :md=\E[1m:me=\E[m:mh=\E[2m:mk=\E[8m:mr=\E[7m:nd=\E[C:\
                   11006:        :r1=\Ec:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:ue=\E[m:up=\E[A:\
                   11007:        :us=\E[4m:ve=\E[ p:vi=\E[0 p:
1.3       deraadt  11008:
                   11009: # From: Hans Verkuil <hans@wyst.hobby.nl>, 4 Dec 1995
1.13    ! millert  11010: # (amiga: added empty <acsc> to suppress a warning.
        !          11011: # I'm told this entry screws up badly with AS225, the Amiga
        !          11012: # TCP/IP package once from Commodore, and now sold by InterWorks.--esr)
        !          11013: amiga-h|Hans Verkuil's Amiga ANSI:\
1.8       tholo    11014:        :bs:bw:ms:\
1.3       deraadt  11015:        :co#80:li#24:\
1.5       tholo    11016:        :DC=\233%dP:DO=\233%dB:IC=\233%d@:LE=\233%dD:RI=\233%dC:\
                   11017:        :SF=\233%dS:SR=\233%dT:UP=\233%dA:ac=:ae=^O:as=^N:bl=^G:\
                   11018:        :bt=\233Z:cd=\233J:ce=\233K:cl=\233H\233J:\
                   11019:        :cm=\233%i%d;%dH:cr=^M:dc=\233P:do=\233B:ec=\233%dP:ei=:\
                   11020:        :ho=\233H:ic=\233@:im=:is=\23320l:k0=\2339~:k1=\2330~:\
                   11021:        :k2=\2331~:k3=\2332~:k4=\2333~:k5=\2334~:k6=\2335~:\
                   11022:        :k7=\2336~:k8=\2337~:k9=\2338~:kD=\177:kb=^H:kd=\233B:\
                   11023:        :kl=\233D:kr=\233C:ku=\233A:le=\233D:mb=\2337;2m:\
                   11024:        :md=\2331m:me=\2330m:mh=\2332m:mk=\2338m:mr=\2337m:\
                   11025:        :nd=\233C:nw=\233B\r:r1=\Ec:se=\2330m:sf=\233S:so=\2337m:\
                   11026:        :sr=\233T:ta=^I:te=\233?7h:ti=\233?7l:ue=\2330m:up=\233A:\
                   11027:        :us=\2334m:vb=^G:ve=\233 p:vi=\2330 p:
                   11028:
                   11029: # Commodore B-128 microcomputer from Doug Tyrol <det@HEL-ACE.ARPA>
                   11030: #      I'm trying to write a termcap for a commodore b-128, and I'm
                   11031: # having a little trouble. I've had to map most of my control characters
                   11032: # to something that unix will accept (my delete-char is a ctrl-t, etc),
                   11033: # and create some functions (like cm), but thats life.
                   11034: #      The problem is with the arrow keys - right, and up work fine, but
                   11035: # left deletes the previous character and down I just can't figure out.
                   11036: # Jove knows what I want, but I don't know what it's sending to me (it
                   11037: # isn't thats bound to next-line in jove).
                   11038: #      Anybody got any ideas? Here's my termcap.
                   11039: # DAG -- I changed his "^n" entries to "\n"; see if that works.
                   11040: #
                   11041: commodore|b-128|Commodore B-128 micro:\
                   11042:        :am:bw:\
1.8       tholo    11043:        :co#80:dN#20:li#24:pb#150:\
                   11044:        :al=10\Ei:bc=^H:ce=10\Eq:cl=10\E\006:\
1.5       tholo    11045:        :cm=20\E\013%2\054%2\054:cr=^M:dc=10*\177:dl=10*\Ed:\
1.8       tholo    11046:        :do=^J:ei=:ho=\E^E:ic=5\E\n:im=:kd=^J:kh=\E^E:kl=^B:kr=^F:\
                   11047:        :ku=^P:nd=^F:nl=^M:ta=5\011:up=^P:
1.5       tholo    11048:
                   11049: #### North Star
                   11050: #
                   11051: # North Star Advantage from Lt. Fickie <brl-ibd!fickie> via BRL
                   11052: northstar|North Star Advantage:\
1.8       tholo    11053:        :bs:\
1.5       tholo    11054:        :co#80:li#24:\
1.8       tholo    11055:        :cd=200\017:ce=200\016:cl=200\004:cm=1\E=%+ %+ :\
                   11056:        :ho=200\034\032:
1.1       deraadt  11057:
                   11058: #### Osborne
                   11059: #
                   11060: # Thu Jul  7 03:55:16 1983
                   11061: #
                   11062: # As an aside, be careful; it may sound like an anomaly on the
                   11063: # Osborne, but with the 80-column upgrade, it's too easy to
                   11064: # enter lines >80 columns!
                   11065: #
                   11066: # I've already had several comments...
                   11067: # The Osborne-1 with the 80-col option is capable of being
1.2       deraadt  11068: # 52, 80, or 104 characters wide; default to 80 for compatibility
1.1       deraadt  11069: # with most systems.
                   11070: #
                   11071: # The tab is destructive on the Ozzie; make sure to 'stty -tabs'.
1.8       tholo    11072: osborne-w|osborne1-w|osborne I in 104-column mode:\
1.1       deraadt  11073:        :ms:ul:xt:\
                   11074:        :co#104:li#24:\
1.5       tholo    11075:        :al=\EE:bl=^G:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:dc=\EW:dl=\ER:\
                   11076:        :do=^J:ei=:ic=\EQ:im=:kd=^J:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:\
                   11077:        :se=\E(:sf=^J:so=\E):ue=\Em:up=^K:us=\El:
1.8       tholo    11078: # Osborne I    from ptsfa!rhc (Robert Cohen) via BRL
                   11079: osborne|osborne1|osborne I in 80-column mode:\
                   11080:        :am:bs:mi:ms:ul:xs:\
                   11081:        :co#80:dB#4:li#24:\
                   11082:        :al=\EE:ce=\ET:cl=^Z:cm=\E=%+ %+ :dc=4\EW:dl=\ER:do=^J:ei=:\
                   11083:        :im=\EQ:is=^Z:kb=^H:kd=^J:kl=^H:kr=^L:ku=^K:le=\010:nd=^L:\
                   11084:        :se=\E):so=\E(:ue=\Em:up=^K:us=\El:
1.5       tholo    11085: #
                   11086: # Osborne Executive definition from BRL
                   11087: # Similar to tvi920
                   11088: # Added by David Milligan and Tom Smith (SMU)
                   11089: osexec|Osborne executive:\
1.8       tholo    11090:        :am:bs:\
1.13    ! millert  11091:        :co#80:li#24:sg#1:\
1.5       tholo    11092:        :al=\EE:bl=^G:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:ct=\E3:\
                   11093:        :dc=\EW:dl=\ER:do=^J:ei=:ho=^^:ic=\EQ:im=:\
                   11094:        :is=\Eq\Ek\Em\EA\Ex0:k0=^A@\r:k1=^AA\r:k2=^AB\r:k3=^AC\r:\
                   11095:        :k4=^AD\r:k5=^AE\r:k6=^AF\r:k7=^AG\r:k8=^AH\r:k9=^AI\r:\
1.8       tholo    11096:        :kb=^H:kd=^J:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:nl=^J:se=\Ek:\
                   11097:        :so=\Ej:st=\E1:ue=\Em:up=^K:us=\El:
1.1       deraadt  11098:
1.2       deraadt  11099: #### Console types for obsolete UNIX clones
                   11100: #
                   11101: # Coherent, Minix, Venix, and several lesser-known kin were OSs for 8088
                   11102: # machines that tried to emulate the UNIX look'n'feel.  Coherent and Venix
1.5       tholo    11103: # were commercial, Minix an educational tool sold in conjunction with a book.
1.2       deraadt  11104: # Memory-segmentation limits and a strong tendency to look like V7 long after
                   11105: # it was obsolete made all three pretty lame.  Venix croaked early.  Coherent
                   11106: # and Minix were ported to 32-bit Intel boxes, only to be run over by a
                   11107: # steamroller named `Linux' (which, to be fair, traces some lineage to Minix).
1.5       tholo    11108: # Coherent's vendor, the Mark Williams Company, went belly-up in 1994.  There
                   11109: # are also, I'm told, Minix ports that ran on Amiga and Atari machines and
                   11110: # even as single processes under SunOS and the Macintosh OS.
1.1       deraadt  11111: #
                   11112:
1.8       tholo    11113: # This is the entry provided with minix 1.7.4, with bogus :ri: removed.
                   11114: minix|minix console (v1.7):\
                   11115:        :am:xn:\
1.2       deraadt  11116:        :co#80:it#8:li#25:\
1.5       tholo    11117:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.8       tholo    11118:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:cd=\E[0J:\
                   11119:        :ce=\E[K:cl=\E[H\E[0J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:\
                   11120:        :dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:is=\E[0m:k0=\E[Y:\
                   11121:        :k1=\E[V:k2=\E[U:k3=\E[T:k4=\E[S:k5=\E[G:kb=^H:kd=\E[B:\
                   11122:        :kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:l0=End:l1=PgUp:l2=PgDn:\
                   11123:        :l3=Num +:l4=Num -:l5=Num 5:le=^H:mb=\E[5m:md=\E[1m:\
                   11124:        :me=\E[0m:mr=\E[7m:nd=\E[C:nw=^M^J:se=\E[0m:sf=^J:so=\E[7m:\
                   11125:        :sr=\EM:ta=^I:ue=\E[0m:up=\E[A:us=\E[4m:
                   11126: # Corrected Jan 14, 1997 by Vincent Broman <broman@nosc.mil>
                   11127: minix-old|minix console (v1.5):\
                   11128:        :xo:\
                   11129:        :co#80:it#8:li#25:\
                   11130:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   11131:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:cd=\E[0J:\
                   11132:        :ce=\E[K:cl=\E[H\E[0J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:\
                   11133:        :dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:k0=\E[Y:k1=\E[V:\
                   11134:        :k2=\E[U:k3=\E[T:k4=\E[S:k5=\E[G:kb=^H:kd=\E[B:kh=\E[H:\
                   11135:        :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:\
                   11136:        :mr=\E[7m:nd=\E[C:nw=^M^J:se=\E[0m:sf=^J:so=\E[7m:sr=\EM:\
                   11137:        :ta=^I:ue=\E[0m:up=\E[A:us=\E[4m:
                   11138: # The linewrap option can be specified by editing /usr/include/minix/config.h
                   11139: # before recompiling the minix 1.5 kernel.
                   11140: minix-old-am|minix console with linewrap:\
                   11141:        :am:tc=minix-old:
1.5       tholo    11142:
                   11143: pc-minix|minix console on an Intel box:\
                   11144:        :tc=klone+acs:tc=minix:
1.2       deraadt  11145:
1.1       deraadt  11146: # According to the Coherent 2.3 manual, the PC console is similar
                   11147: # to a z19. The differences seem to be (1) 25 lines, (2) no status
                   11148: # line, (3) standout is broken, (4) ins/del line is broken, (5)
                   11149: # has blinking and bold.
                   11150: pc-coherent|pcz19|coherent|IBM PC console running Coherent:\
                   11151:        :am:mi:\
                   11152:        :co#80:it#8:li#25:\
1.5       tholo    11153:        :bl=^G:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :cr=^M:dc=\EN:\
                   11154:        :do=\EB:ei=\EO:ho=\EH:im=\E@:kb=^H:kd=\EB:kh=\EH:kl=\ED:\
                   11155:        :kr=\EC:ku=\EA:le=^H:me=\Eq:nd=\EC:se=\Eq:sf=^J:so=\Ep:\
                   11156:        :sr=\EI:ta=^I:up=\EA:
1.1       deraadt  11157:
                   11158: # According to the Venix 1.1 manual, the PC console is similar
                   11159: # to a DEC vt52.  Differences seem to be (1) arrow keys send
                   11160: # different strings, (2) enhanced standout, (3) added insert/delete line.
1.2       deraadt  11161: # Note in particular that it doesn't have automatic margins.
1.5       tholo    11162: # There are other keys (f1-f10, kpp, knp, kcbt, kich1, kdch1) but they
                   11163: # not described here because this derives from an old termcap entry.
1.1       deraadt  11164: pc-venix|venix|IBM PC console running Venix:\
                   11165:        :co#80:it#8:li#25:\
1.5       tholo    11166:        :al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:\
                   11167:        :dl=\EM:do=^J:kb=^H:kd=\EP:kh=\EG:kl=\EK:kr=\EM:ku=\EH:le=^H:\
                   11168:        :nd=\EC:sf=^J:sr=\EI:ta=^I:up=\EA:
1.1       deraadt  11169:
                   11170: #### Miscellaneous microcomputer consoles
                   11171: #
                   11172: # If you know anything more about any of these, please tell me.
1.5       tholo    11173: #
1.1       deraadt  11174:
1.13    ! millert  11175: # The MAI Basic Four computer was obsolete at the end of the 1980s.
        !          11176: # It may be used as a terminal by putting it in "line" mode as seen on
        !          11177: # one of the status lines.
        !          11178: # Initialization is similar to CIT80. :is: will set ANSI mode for you.
        !          11179: # Hardware tabs set by :if: at 8-spacing.  Auto line wrap causes glitches so
        !          11180: # wrap mode is reset by :vs:.  Using :sf:=\E[S caused errors so I
        !          11181: # used \ED instead.
        !          11182: # From: bf347@lafn.org (David Lawyer), 28 Jun 1997
        !          11183: mai|basic4|MAI Basic Four in ansi mode:\
        !          11184:        :am:da:db:mi:ms:\
        !          11185:        :co#82:it#8:li#25:\
        !          11186:        :al=\E[L:bl=^G:cd=^_:ce=^^:cl=^]^_:cm=\E[%i%d;%dH:cr=^M:\
        !          11187:        :cs=\E[%i%d;%dr:dc=\E[1P:dl=\E[M:do=^J:ei=\E[4l:ho=^]:\
        !          11188:        :if=/usr/lib/tabset/vt100:im=\E[4h:\
        !          11189:        :is=\E>\E[?1h\E[?7h\E[?5l\017\E(B\E[m\E[20l\E[1;24r\E[24;1H:\
        !          11190:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:\
        !          11191:        :k8=\EOW:kb=^H:kd=\EOB:kl=\EOD:kr=\EOC:ku=\EOA:le=^H:\
        !          11192:        :mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=^X:nw=^M\ED:rc=\E8:\
        !          11193:        :sc=\E7:se=\E[m:sf=\ED:so=\E[7m:sr=\E[T:ta=^I:ue=\E[m:up=^Z:\
        !          11194:        :us=\E[4m:ve=\E[?7h:vs=\E[?7l:
1.1       deraadt  11195: # basis from Peter Harrison, Computer Graphics Lab, San Francisco
                   11196: #   ucbvax!ucsfmis!harrison ...uucp / ucbvax!ucsfmis!harrison@BERKELEY ...ARPA
                   11197: # (basis: removed obsolete ":ma=^K^P^R^L^L :nl=5000*^J:" -- esr)
                   11198: basis|BASIS108 computer with terminal translation table active:\
1.5       tholo    11199:        :cd=\EY:ce=\ET:cl=300\E*:do=5000\n:kb=^H:kd=^J:kl=^H:kr=^L:\
                   11200:        :ku=^K:me=\E):se=\E):so=\E(:\
                   11201:        :tc=adm3a:
1.1       deraadt  11202: # luna's BMC terminal emulator
                   11203: luna|luna68k|LUNA68K Bitmap console:\
1.3       deraadt  11204:        :co#88:li#46:tc=ansi-mini:
1.1       deraadt  11205: megatek|pegasus workstation terminal emulator:\
                   11206:        :am:os:\
1.3       deraadt  11207:        :co#83:li#60:
1.2       deraadt  11208: # The Xerox 820 was a Z80 micro with a snazzy XEROX PARC-derived
                   11209: # interface (pre-Macintosh by several years) that went nowhere.
1.1       deraadt  11210: xerox820|x820|Xerox 820:\
                   11211:        :am:\
                   11212:        :co#80:li#24:\
1.5       tholo    11213:        :bl=^G:cd=^Q:ce=^X:cl=1^Z:cm=\E=%+ %+ :cr=^M:do=^J:ho=^^:\
                   11214:        :le=^H:nd=^L:sf=^J:up=^K:
1.1       deraadt  11215:
                   11216: #### Videotex and teletext
                   11217: #
                   11218:
1.8       tholo    11219: # \E\:1}       switch to te'le'informatique mode (ascii terminal/ISO 6429)
                   11220: # \E[?3l       80 columns
                   11221: # \E[?4l       scrolling on
                   11222: # \E[12h       local echo off
                   11223: # \Ec          reset: G0 U.S. charset (to get #,@,{,},...), 80 cols, clear screen
                   11224: # \E)0         G1 DEC set (line graphics)
                   11225: #
                   11226: # From: Igor Tamitegama <igor@ppp1493-ft.teaser.fr>, 18 Jan 1997
                   11227: m2-nam|minitel|minitel-2|minitel-2-nam|France Telecom Minitel 2 mode te'le'informatique:\
                   11228:        :bs:es:hs:xn:\
                   11229:        :co#80:it#8:li#24:sg#0:ws#72:\
                   11230:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
                   11231:        :RI=\E[%dC:SF=^J:SR=\EM:UP=\E[%dA:\
                   11232:        :ac=aaffggjjkkllmmnnooqqssttuuvvwwxx:ae=^O:al=\E[L:\
                   11233:        :as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
                   11234:        :cr=^M:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:\
                   11235:        :fs=^J:ho=\E[H:i1=\E\0721}\Ec\E[?4l\E[12h:\
                   11236:        :i2=\E[?3l kbs=\010:im=\E[4h:ip=7:is=\Ec\E[12h\E)0:\
                   11237:        :k0=\EOp:k1=\EOq:k2=\EOr:k3=\EOs:k4=\EOt:k5=\EOu:k6=\EOv:\
                   11238:        :k7=\EOw:k8=\EOx:k9=\EOy:k;=\EOp:kA=\E[4l:kC=\E[2J:kD=\E[P:\
                   11239:        :kI=\E[4h:kL=\E[M:kN=\EOn:kP=\EOR:kd=\E[B:kh=\E[H:kl=\E[D:\
                   11240:        :kr=\E[C:ku=\E[A:le=\E[D:ll=\E[24;80H:mb=\E[5m:md=\E[1m:\
                   11241:        :me=\E[m:mr=\E[7m:nd=\E[C:nw=^M^J:ps=\E[i:\
                   11242:        :r1=\Ec\E[?4l\E[12h:r2=\Ec\E)0:rc=\E8:sc=\E7:se=\E[27m:\
                   11243:        :sf=^J:so=\E[7m:sr=\EM:ta=^I:ts=^_@A:u6=\E[%i%d;%dR:\
                   11244:        :u7=\E[6n:ue=\E[24m:up=\E[A:us=\E[4m:vb=^G:ve=\E[<1l:\
                   11245:        :vi=\E[<1h:
1.1       deraadt  11246:
                   11247: ######## OBSOLETE VDT TYPES
                   11248: #
                   11249: # These terminals are *long* dead -- these entries are retained for
                   11250: # historical interest only.
                   11251:
                   11252: #### Amtek Business Machines
                   11253: #
                   11254:
                   11255: # (abm80: early versions of this entry apparently had ":se=\E^_:so=\E^Y",
                   11256: # but these caps were commented out in 8.3; also, removed overridden
                   11257: # ":do=^J:" -- esr)
                   11258: abm80|amtek business machines 80:\
1.8       tholo    11259:        :am:bs:bw:\
1.1       deraadt  11260:        :co#80:li#24:\
1.5       tholo    11261:        :al=\E^Z:bt=^T:cd=\E^X:ce=\E^O:cl=\E^\:cm=\E\021%r%+ %+ :\
                   11262:        :dl=\E^S:do=\E^K:ho=\E^R:le=^H:nd=^P:up=\E^L:
1.1       deraadt  11263:
                   11264: #### Bell Labs blit terminals
                   11265: #
1.2       deraadt  11266: # These were AT&T's official entries.  The 5620 FAQ maintained by
                   11267: # David Breneman <daveb@dgtl.com> has this to say:
                   11268: #
                   11269: #  Actually, in the beginning was the Jerq, and the Jerq was white with a
                   11270: #  green face, and Locanthi and Pike looked upon the Jerq and said the Jerq
                   11271: #  was good.  But lo, upon the horizon loomed a mighty management-type person
                   11272: #  (known now only by the initials VP) who said, the mighty Jerq must stay
                   11273: #  alone, and could not go forth into the world. So Locanthi and Pike put the
                   11274: #  Jerq to sleep, cloned its parts, and the Blit was brought forth unto the
                   11275: #  world. And the Jerq lived the rest of its days in research, but never
                   11276: #  strayed from those paths.
                   11277: #
                   11278: #  In all seriousness, the Blit was originally known as the Jerq, but when
                   11279: #  it started to be shown outside of the halls of the Bell Labs Research
                   11280: #  organization, the management powers that be decided that the name could
                   11281: #  not remain. So it was renamed to be Blit. This was in late 1981.
                   11282: #
                   11283: # (The AT&T 5620 was the commercialized Blit.  Its successors were the 630,
                   11284: # 730, and 730+.)
1.1       deraadt  11285: #
                   11286:
                   11287: blit|jerq|blit running teletype rom:\
                   11288:        :am:eo:ul:xo:\
                   11289:        :co#87:it#8:li#72:\
1.8       tholo    11290:        :AL=\EF%+ :DC=\Ee%+ :DL=\EE%+ :IC=\Ef%+ :al=\EF\041:bl=^G:\
                   11291:        :ce=\EK:cl=^L:cm=\EY%r%+ %+ :cr=^M:dc=\Ee\041:dl=\EE\041:\
                   11292:        :do=^J:ei=:ic=\Ef\041:im=:k1=\Ex:k2=\Ey:k3=\Ez:kb=^H:kd=\EB:\
                   11293:        :kl=\ED:kr=\EC:ku=\EA:le=\ED:nd=\EC:sf=^J:ta=^I:up=\EA:
1.1       deraadt  11294:
1.5       tholo    11295: # (cbblit: here's a BSD termcap that says :do=\EG: -- esr)
1.1       deraadt  11296: cbblit|fixterm|blit running columbus code:\
                   11297:        :co#88:\
1.8       tholo    11298:        :cd=\EJ:ei=\ER:ic@:im=\EQ:pO=\EP%03:pf=^T:po=^R:se=\EV\041:\
                   11299:        :so=\EU\041:ue=\EV":us=\EU":vb=\E^G:\
1.5       tholo    11300:        :tc=blit:
1.1       deraadt  11301:
                   11302: oblit|ojerq|first version of blit rom:\
                   11303:        :am:da:db:eo:mi:ul:xo:\
                   11304:        :co#88:it#8:li#72:\
1.5       tholo    11305:        :AL=\Ef%+ :DL=\Ee%+ :al=\EF:bl=^G:cd=\EJ:ce=\EK:cl=^L:\
                   11306:        :cm=\EY%r%+ %+ :cr=^M:dc=\EO:dl=\EE:do=^J:ei=\ER:im=\EQ:\
                   11307:        :kb=^H:le=\ED:nd=\EC:sf=^J:ta=^I:up=\EA:vb=\E^G:
1.1       deraadt  11308:
                   11309: #### Bolt, Beranek & Newman (bbn)
                   11310: #
                   11311: # The BitGraph was a product of the now-defunct BBN Computer Corporation.
                   11312: # The parent company, best known as the architects of the Internet, is
                   11313: # still around.
                   11314: #
1.13    ! millert  11315: # Jeff DelPapa <dp@world.std.com> writes:
        !          11316: # The bitgraph was a large white box that contained a monochrome bitmap
        !          11317: # display, and a 68000 to run it.  You could download code and run it on
        !          11318: # the cpu, it had 128kb (I think) of memory.  I used one in the late
        !          11319: # 70's, sure beat a vt100.  It had one strange feature tho -- it used
        !          11320: # the cpu to bitblt pixels to scroll, it took longer than the refresh
        !          11321: # rate, and looked like a rubber sheet stretching, then snapping
        !          11322: # upwards.  It had everything the early mac had, except a floppy drive a
        !          11323: # small screen (it had a 17" crisp beauty) and a real OS. They (Bolt
        !          11324: # Beranek and Neuman) sold at most a few hundred of them to the real
        !          11325: # world.  DOD may have bought more...
        !          11326: #
1.1       deraadt  11327:
                   11328: # Entries for the BitGraph terminals.  The problem
                   11329: # with scrolling in vi can only be fixed by getting BBN to put
                   11330: # smarter scroll logic in the terminal or changing vi or padding
                   11331: # scrolls with about 500 ms delay.
                   11332: #
                   11333: # I always thought the problem was related to the terminal
                   11334: # counting newlines in its input buffer before scrolling and
                   11335: # then moving the screen that much. Then vi comes along and
                   11336: # paints lines in on the bottom line of the screen, so you get
                   11337: # this big white gap.
                   11338:
1.2       deraadt  11339: bitgraph|bg2.0nv|bg3.10nv|bbn bitgraph 2.0 or later (normal video):\
1.5       tholo    11340:        :is=\E>\E[?5l\E[?7h:vb=\E[?5h\E[?5l:\
                   11341:        :tc=bg2.0:
1.2       deraadt  11342: bg2.0rv|bg3.10rv|bbn bitgraph 2.0 (reverse video):\
1.1       deraadt  11343:        :is=\E>\E[?5h\E[?7h:vb=\E[?5l\E[?5h:tc=bg2.0:
1.2       deraadt  11344: bg2.0|bg3.10|bbn bitgraph 2.0 or later (no init):\
1.8       tholo    11345:        :bs:xn:\
1.1       deraadt  11346:        :co#85:li#64:\
1.5       tholo    11347:        :al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=%i\E[%d;%dH:\
                   11348:        :cr=^M:cs=\E[%i%d;%dr:dl=\E[M:do=\E[B:k1=\EOP:k2=\EOQ:\
                   11349:        :k3=\EOR:k4=\EOS:kd=\E[B:ke=\E>:kl=\E[D:kr=\E[C:ks=\E=:\
                   11350:        :ku=\E[A:l1=PF1:l2=PF2:l3=PF3:l4=PF4:le=^H:me=\E[m:nd=\E[C:\
                   11351:        :rc=\E8:sc=\E7:se=\E[m:sf=\n:so=\E[7m:ta=^I:up=\E[A:
1.2       deraadt  11352:
1.1       deraadt  11353: bg1.25rv|bbn bitgraph 1.25 (reverse video):\
                   11354:        :is=\E>\E[?5h\E[?7h:vb=\E[?5l\E[?5h:tc=bg1.25:
                   11355: bg1.25nv|bbn bitgraph 1.25 (normal video):\
                   11356:        :is=\E>\E[?5l\E[?7h:vb=\E[?5h\E[?5l:tc=bg1.25:
1.2       deraadt  11357: # (bg1.25: I added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  11358: bg1.25|bbn bitgraph 1.25:\
                   11359:        :co#85:li#64:\
1.3       deraadt  11360:        :RA=\E[?7l:SA=\E[?7h:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:\
1.5       tholo    11361:        :cl=\E[H\E[J:cm=%i\E[%d;%dH:cr=^M:dl=\E[M:do=\E[B:k1=\EP:\
                   11362:        :k2=\EQ:k3=\ER:k4=\ES:kd=\EB:ke=\E>:kl=\ED:kr=\EC:ks=\E=:\
                   11363:        :ku=\EA:l1=PF1:l2=PF2:l3=PF3:l4=PF4:le=^H:ll=\E[64;1H:\
                   11364:        :me=\E[m:nd=\E[C:se=\E[m:sf=\n:so=\E[7m:ta=^I:up=\E[A:
1.1       deraadt  11365:
                   11366: #### Chromatics
                   11367: #
                   11368:
1.5       tholo    11369: # I have put the long strings in :ti:/:te:. Ti sets up a window
1.1       deraadt  11370: # that is smaller than the screen, and puts up a warning message
                   11371: # outside the window. Te erases the warning message, puts the
                   11372: # window back to be the whole screen, and puts the cursor at just
1.5       tholo    11373: # below the small window. I defined :ve: and :vi: to really turn
1.1       deraadt  11374: # the cursor on and off, but I have taken this out since I don't
                   11375: # like the cursor being turned off when vi exits.
                   11376: cg7900|chromatics|chromatics 7900:\
                   11377:        :am:\
                   11378:        :co#80:li#40:\
1.8       tholo    11379:        :al=^A>2:bl=^G:cd=^Al:ce=^A`:cl=^L:cm=\001M%r%d\054%d\054:\
                   11380:        :cr=^M:dc=^A<1:dl=^A<2:do=^J:ei=:ho=^\:ic=^A>1:im=:le=^H:\
                   11381:        :ll=^A|:nd=^]:se=\001C1\054\001c2\054:sf=^J:\
                   11382:        :so=\001C4\054\001c7\054:\
                   11383:        :te=\001W0\05440\05485\05448\054\014\001W0\0540\05485\05448\054\001M0\05440\054:\
                   11384:        :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  11385:        :uc=\001\001_\001\0:up=^K:
1.1       deraadt  11386:
                   11387: #### Computer Automation
                   11388: #
                   11389:
                   11390: ca22851|computer automation 22851:\
                   11391:        :am:\
                   11392:        :co#80:li#24:\
1.5       tholo    11393:        :bl=^G:cd=^\:ce=^]:cl=\014:cm=\002%i%.%.:cr=^M:do=^J:ho=^^:\
                   11394:        :kd=^W:kh=^^:kl=^U:ku=^V:le=^U:nd=^I:sf=^J:up=^V:
1.1       deraadt  11395:
                   11396: #### Cybernex
                   11397: #
                   11398:
                   11399: # This entry has correct padding and the undocumented "ri" capability
                   11400: cyb83|xl83|cybernex xl-83:\
1.8       tholo    11401:        :am:bs:\
1.1       deraadt  11402:        :co#80:li#24:\
1.5       tholo    11403:        :bl=^G:cd=\020:ce=\017:cl=\014:cm=\027%+ %+ :cr=^M:do=^J:\
                   11404:        :ho=^K:kd=^J:kl=^H:kr=^I:ku=^N:le=^H:nd=^I:sf=^J:sr=^N:up=^N:
1.1       deraadt  11405: # (mdl110: removed obsolete ":ma=^Z^P:" and overridden ":cd=145^NA^W:" -- esr)
                   11406: cyb110|mdl110|cybernex mdl-110:\
1.8       tholo    11407:        :am:bs:\
1.1       deraadt  11408:        :co#80:li#24:\
                   11409:        :al=\016A\016\035:bl=^G:cd=\016@\026:ce=\016@\026:\
                   11410:        :cl=\030:cm=\020%+ %+ :cr=^M:dc=\016A\036:\
1.5       tholo    11411:        :dl=\016A\016\036:do=^J:ei=:ho=^Y:ic=\016A\035:im=:le=^H:\
                   11412:        :nd=^U:se=^NG:sf=^J:so=^NF:ta=\011:up=^Z:
1.1       deraadt  11413:
                   11414: #### Datapoint
                   11415: #
                   11416: # Datapoint is gone.  They used to be headquartered in Texas.
                   11417: # They created ARCnet, an Ethernet competitor that flourished for a while
                   11418: # in the early 1980s before 3COM got wise and cut its prices.  The service
                   11419: # side of Datapoint still lives (1995) in the form of Intelogic Trace.
                   11420: #
                   11421:
                   11422: dp3360|datapoint|datapoint 3360:\
1.8       tholo    11423:        :am:bs:\
1.1       deraadt  11424:        :co#82:li#25:\
1.5       tholo    11425:        :bl=^G:cd=^_:ce=^^:cl=^]^_:cr=^M:do=^J:ho=^]:le=^H:nd=^X:\
                   11426:        :sf=^J:up=^Z:
1.1       deraadt  11427:
1.13    ! millert  11428: # From: Jan Willem Stumpel <jw.stumpel@inter.nl.net>, 11 May 1997
        !          11429: # The Datapoint 8242 Workstation was sold at least between 1985
        !          11430: # and 1989. To make the terminal work with this entry, press
        !          11431: # CONTROL-INT-INT to take the terminal off-line, and type (opt).
        !          11432: # Set the options AUTO ROLL, ROLL DN, and ESC KBD on, and AUTO
        !          11433: # CR/LF off. Use control-shift-[] as escape key, control-I as tab,
        !          11434: # shift-F1 to shift-F5 as F6 to F10 (unshifted F1 to F5 are in
        !          11435: # fact unusable because the strings sent by the terminal conflict
        !          11436: # with other keys).
        !          11437: # The terminal is capable of displaying "box draw" characters.
        !          11438: # For each graphic character you must send 2 ESC's (\E\E) followed
        !          11439: # by a control character as follows:
        !          11440: #         character        meaning
        !          11441: #         =========        =======
        !          11442: #         ctrl-E           top tee
        !          11443: #         ctrl-F           right tee
        !          11444: #         ctrl-G           bottom tee
        !          11445: #         ctrl-H           left tee
        !          11446: #         ctrl-I           cross
        !          11447: #         ctrl-J           top left corner
        !          11448: #         ctrl-K           top right corner
        !          11449: #         ctrl-L           bottom left corner
        !          11450: #         ctrl-M           bottom right corner
        !          11451: #         ctrl-N           horizontal line
        !          11452: #         ctrl-O           vertical line
        !          11453: # Unfortunately this cannot be fitted into the termcap/terminfo
        !          11454: # description scheme.
        !          11455: dp8242|datapoint 8242:\
        !          11456:        :ms:\
        !          11457:        :co#80:li#25:\
        !          11458:        :al=\E^T:bl=^G:cd=^W:ce=^V:cl=\025\E\004\027\030:\
        !          11459:        :cm=\011%r%+\%+\:cr=^M:dl=\E^Z:do=^J:ho=^U:\
        !          11460:        :i1=\E\014\E\016\0\230\0\317\025\027\030\E\004:\
        !          11461:        :k1=^G\Ee:k2=^I\Ed:k3=^J\Ec:k4=^J\Eb:k5=^S\Ea:k6=\EO\Ee:\
        !          11462:        :k7=\EN\Ed:k8=\EM\Ec:k9=\EL\Eb:k;=\EK\Ea:kb=^H:kd=^B:kl=^D:\
        !          11463:        :kr=^F:ku=^E:le=^H:nw=^M^J:\
        !          11464:        :r1=\E\014\E\016\0\230\0\317\025\027\030\E\004:\
        !          11465:        :rp=\E\023%.%.:se=\E^D:sf=^C:so=\E^E:sr=^K:ta=^I:ue=\E^D:\
        !          11466:        :us=\E^F:ve=^X:vi=^Y:\
        !          11467:        :..wi=\E\014\E\016%p1%'\0'%+%c%p2%'\0'%+%c%p3%'\0'%+%c%p4%'\0'%+%c\025:
        !          11468:
1.1       deraadt  11469: #### DEC terminals (Obsolete types: DECwriter and vt40/42/50)
                   11470: #
                   11471: # These entries are DEC's official terminfos for its older terminals.
                   11472: # Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
                   11473: # Engineering for more information.  Updated terminfos and termcaps
                   11474: # are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
                   11475: #
                   11476:
                   11477: gt40|dec gt40:\
1.8       tholo    11478:        :bs:os:\
1.1       deraadt  11479:        :co#72:li#30:\
                   11480:        :bl=^G:cr=^M:do=^J:le=^H:
                   11481: gt42|dec gt42:\
1.8       tholo    11482:        :bs:os:\
1.1       deraadt  11483:        :co#72:li#40:\
                   11484:        :bl=^G:cr=^M:do=^J:le=^H:
1.13    ! millert  11485:
1.1       deraadt  11486: vt50|dec vt50:\
1.8       tholo    11487:        :bs:\
1.1       deraadt  11488:        :co#80:li#12:\
1.5       tholo    11489:        :bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cr=^M:do=^J:le=^H:nd=\EC:\
1.13    ! millert  11490:        :sf=^J:ta=^I:up=\EA:
        !          11491: vt50h|dec vt50h:\
        !          11492:        :bs:\
        !          11493:        :co#80:li#12:\
        !          11494:        :bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:do=^J:\
        !          11495:        :le=^H:nd=\EC:sf=^J:sr=\EI:ta=^I:up=\EA:
        !          11496: # (<acsc>/:ae:/:as: capabilities aren't in DEC's official entry -- esr)
        !          11497: vt52|dec vt52:\
        !          11498:        :bs:\
        !          11499:        :co#80:it#8:li#24:\
        !          11500:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
        !          11501:        :ae=\EG:as=\EF:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :\
        !          11502:        :cr=^M:do=\EB:ho=\EH:kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:\
        !          11503:        :le=\ED:nd=\EC:nw=^M^J:sf=^J:sr=\EI:ta=^I:up=\EA:
        !          11504:
1.5       tholo    11505: # (vt61: there's a BSD termcap that claims :dl=\EPd:, :al=\EPf.: :kb=^H:)
1.2       deraadt  11506: vt61|vt-61|vt61.5|dec vt61:\
1.1       deraadt  11507:        :co#80:li#24:\
1.5       tholo    11508:        :bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=\r:do=^J:\
                   11509:        :kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:sf=\n:sr=\EI:ta=^I:\
                   11510:        :up=\EA:
1.1       deraadt  11511:
                   11512: # The gigi does standout with red!
1.2       deraadt  11513: # (gigi: I added <rmam>/<smam> based on the init string, corrected cub1 -- esr)
1.1       deraadt  11514: gigi|vk100|dec gigi graphics terminal:\
1.8       tholo    11515:        :am:bs:xn:\
1.1       deraadt  11516:        :co#84:li#24:\
1.3       deraadt  11517:        :DO=\E[%dB:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
                   11518:        :UP=\E[%dA:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
                   11519:        :cm=\E[%i%d;%dH:cr=^M:do=^J:\
                   11520:        :is=\E>\E[?3l\E[?4l\E[?5l\E[?20l\E[?7h\E[?8h:k1=\EOP:\
1.5       tholo    11521:        :k2=\EOQ:k3=\EOR:k4=\EOS:kd=\EOB:ke=\E[?1l\E>:kh=\E[H:\
                   11522:        :kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:me=\E[m:\
                   11523:        :nd=\E[C:se=\E[m:sf=^J:so=\E[7;31m:sr=\EM:ta=^I:ue=\E[m:\
                   11524:        :up=\E[A:us=\E[4m:
1.1       deraadt  11525:
                   11526: # DEC PRO-350 console (VT220-style).  The 350 was DEC's attempt to produce
                   11527: # a PC differentiated from the IBM clones.  It was a total, ludicrous,
                   11528: # grossly-overpriced failure (among other things, DEC's OS didn't include
                   11529: # a format program, so you had to buy pre-formatted floppies from DEC at
                   11530: # a hefty premium!).
                   11531: pro350|decpro|dec pro console:\
1.8       tholo    11532:        :bs:\
1.2       deraadt  11533:        :co#80:it#8:li#24:\
1.5       tholo    11534:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
                   11535:        :ae=\EG:as=\EF:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :do=\EB:\
                   11536:        :ho=\EH:k0=\EE:k1=\EF:k2=\EG:k3=\EH:k4=\EI:k5=\EJ:k6=\Ei:\
                   11537:        :k7=\Ej:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:\
                   11538:        :se=\E^N:so=\E^H:sr=\EI:ta=^I:ue=\E^C:up=\EA:us=\E^D:
1.1       deraadt  11539:
                   11540: dw1|decwriter I:\
1.8       tholo    11541:        :bs:hc:os:\
1.1       deraadt  11542:        :co#72:\
                   11543:        :bl=^G:cr=^M:do=^J:le=^H:sf=^J:
                   11544: dw2|decwriter|dw|decwriter II:\
1.8       tholo    11545:        :bs:hc:os:\
1.1       deraadt  11546:        :co#132:\
                   11547:        :bl=^G:cr=^M:do=^J:kb=^H:le=^H:sf=^J:
                   11548: # \E(B         Use U.S. character set (otherwise # => british pound !)
                   11549: # \E[20l       Disable "linefeed newline" mode (else puts \r after \n,\f,\v)
                   11550: # \E[w         10 char/in pitch
                   11551: # \E[1;132     full width horizontal margins
                   11552: # \E[2g                clear all tab stops
                   11553: # \E[z         6 lines/in
                   11554: # \E[66t       66 lines/page (for \f)
                   11555: # \E[1;66r     full vertical page can be printed
                   11556: # \E[4g                clear vertical tab stops
                   11557: # \E>          disable alternate keypad mode (so it transmits numbers!)
1.2       deraadt  11558: # \E[%i%p1%du  set tab stop at column %d (origin == 1)
1.1       deraadt  11559: #              (Full syntax is \E[n;n;n;n;n;...;nu where each 'n' is
                   11560: #              a tab stop)
                   11561: #
                   11562: #       The dw3 does standout with wide characters.
                   11563: #
                   11564: dw3|la120|decwriter III:\
1.8       tholo    11565:        :bs:hc:os:\
1.1       deraadt  11566:        :co#132:\
                   11567:        :bl=^G:cr=^M:do=^J:\
                   11568:        :i1=\E(B\E[20l\E[w\E[0;132s\E[2g\E[z\E[66t\E[1;66r\E[4g\E>:\
                   11569:        :is=\E[9;17;25;33;41;49;57;65;73;81;89;97;105;113;121;129u\r:\
1.5       tholo    11570:        :kb=^H:le=^H:me=\E[w:se=\E[w:sf=^J:so=\E[6w:ta=^I:
1.1       deraadt  11571: dw4|decwriter IV:\
1.8       tholo    11572:        :am:bs:hc:os:\
1.1       deraadt  11573:        :co#132:\
1.5       tholo    11574:        :bl=^G:cr=^M:do=^J:is=\Ec:k0=\EOP:k1=\EOQ:k2=\EOR:k3=\EOS:\
                   11575:        :kb=^H:le=^H:sf=^J:ta=^I:
1.1       deraadt  11576:
1.3       deraadt  11577: # These aren't official
                   11578: ln03|dec ln03 laser printer:\
                   11579:        :hc:\
                   11580:        :co#80:li#66:\
1.5       tholo    11581:        :bl=^G:cr=^M:do=^J:hd=\EK:hu=\EL:me=\E[m:nw=^M^J:se=\E[22m:\
1.3       deraadt  11582:        :sf=^J:so=\E[1m:ta=^I:ue=\E[24m:us=\E[4m:
                   11583: ln03-w|dec ln03 laser printer 132 cols:\
                   11584:        :co#132:\
1.5       tholo    11585:        :bl=^G:cr=^M:do=^J:kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:tc=ln03:
1.3       deraadt  11586:
1.1       deraadt  11587: #### Delta Data (dd)
                   11588: #
                   11589:
                   11590: # Untested. The cup sequence is hairy enough that it probably needs work.
                   11591: # The idea is ctrl(O), dd(row), dd(col), where dd(x) is x - 2*(x%16) + '9'.
                   11592: # There are BSD-derived termcap entries floating around for this puppy
                   11593: # that are *certainly* wrong.
                   11594: delta|dd5000|delta data 5000:\
1.8       tholo    11595:        :am:bs:\
1.1       deraadt  11596:        :co#80:li#27:\
1.5       tholo    11597:        :bl=^G:ce=^NU:cl=^NR:cm=\017%+^P%+^P:dc=^NV:do=^J:ho=^NQ:\
                   11598:        :le=^H:nd=^Y:sf=^J:up=^Z:
1.1       deraadt  11599:
                   11600: #### Digital Data Research (ddr)
                   11601: #
                   11602:
1.2       deraadt  11603: # (ddr: I added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  11604: ddr|rebus3180|ddr3180|Rebus/DDR 3180 vt100 emulator:\
1.8       tholo    11605:        :am:bs:xn:\
1.2       deraadt  11606:        :co#80:it#8:li#24:vt#3:\
1.3       deraadt  11607:        :RA=\E[7l:SA=\E[7l:cd=50\E[J:ce=3\E[K:cl=50\E[H\E[2J:\
                   11608:        :cm=5\E[%i%d;%dH:cs=\E[%i%d;%dr:do=^J:ho=\E[H:\
                   11609:        :is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
1.5       tholo    11610:        :kb=^H:kd=\E[B:ke=\E[?1l\E>:kl=\E[D:kr=\E[C:ks=\E[?1h\E=:\
                   11611:        :ku=\E[A:le=^H:mb=2\E[5m:md=2\E[1m:me=2\E[m:mr=2\E[7m:\
                   11612:        :nd=2\E[C:r1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
                   11613:        :rf=/usr/share/tabset/vt100:sc=\E7:se=\E[m:sf=5\ED:\
                   11614:        :so=\E[7m:sr=5\EM:ta=^I:ue=2\E[m:up=2\E[A:us=2\E[4m:
                   11615:
                   11616: #### Evans & Sutherland
                   11617: #
                   11618:
                   11619: # Jon Leech <leech@cs.unc.edu> tells us:
                   11620: # The ps300 was the Evans & Sutherland Picture System 300, a high
                   11621: # performance 3D vector graphics system with a bunch of specialized hardware.
                   11622: # Approximate date of release was 1982 (early 80s, anyway), and it had several
                   11623: # evolutions including (limited) color versions such as the PS330C. PS300s
                   11624: # were effectively obsolete by the late 80s, replaced by raster graphics
                   11625: # systems, although specialized applications like molecular modelling
                   11626: # hung onto them for a while longer.  AFAIK all E&S vector graphics systems
                   11627: # are out of production, though of course E&S is very much alive (in 1996).
                   11628: # (ps300: changed ":pt@:" to "it@" -- esr)
                   11629: #
                   11630: ps300|Picture System 300:\
                   11631:        :xt:\
                   11632:        :it@:\
                   11633:        :se@:so@:ue@:us@:tc=vt100:
1.1       deraadt  11634:
                   11635: #### General Electric (ge)
                   11636: #
                   11637:
                   11638: terminet1200|terminet300|tn1200|tn300|terminet|GE terminet 1200:\
1.8       tholo    11639:        :bs:hc:os:\
1.1       deraadt  11640:        :co#120:\
                   11641:        :bl=^G:cr=^M:do=^J:sf=^J:
                   11642:
                   11643: #### Heathkit/Zenith
                   11644: #
                   11645:
1.2       deraadt  11646: # Here is a description of the H19 DIP switches:
                   11647: #
                   11648: # S401
                   11649: # 0-3 = baud rate as follows:
                   11650: #
                   11651: #         3       2       1       0
                   11652: #      ---     ---     ---     ---
                   11653: #         0       0       1       1       300 baud
                   11654: #         0       1       0       1       1200 baud
                   11655: #         1       0       0       0       2400 baud
                   11656: #         1       0       1       0       4800 baud
                   11657: #         1       1       0       0       9600 baud
                   11658: #         1       1       0       1       19.2K baud
                   11659: #
                   11660: # 4 = parity (0 = no parity)
                   11661: # 5 = even parity (0 = odd parity)
                   11662: # 6 = stick parity (0 = normal parity)
                   11663: # 7 = full duplex (0 = half duplex)
                   11664: #
                   11665: # S402
                   11666: # 0 = block cursor (0 = underscore cursor)
                   11667: # 1 = no key click (0 = keyclick)
                   11668: # 2 = wrap at end of line (0 = no wrap)
                   11669: # 3 = auto LF on CR (0 = no LF on CR)
                   11670: # 4 = auto CR on LF (0 = no CR on LF)
                   11671: # 5 = ANSI mode (0 = VT52 mode)
                   11672: # 6 = keypad shifted (0 = keypad unshifted)
                   11673: # 7 = 50Hz refresh (1 = 60Hz refresh)
                   11674: #
                   11675: # Factory Default settings are as follows:
                   11676: #          7 6 5 4 3 2 1 0
                   11677: # S401     1 0 0 0 1 1 0 0
                   11678: # S402     0 0 0 0 0 0 0 0
1.5       tholo    11679: # (h19: I added <rmam>/<smam> based on the init string;
                   11680: # also added empty <acsc> to suppress a tic warning -- esr)
                   11681: h19-a|h19a|heath-ansi|heathkit-a|heathkit h19 ansi mode:\
1.8       tholo    11682:        :am:bs:mi:ms:\
1.1       deraadt  11683:        :co#80:it#8:li#24:\
1.5       tholo    11684:        :RA=\E[?7l:SA=\E[?7h:ac=:ae=\E[11m:al=\E[1L:as=\E[10m:\
1.3       deraadt  11685:        :bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:cr=^M:\
1.5       tholo    11686:        :dc=\E[1P:dl=\E[1M:do=\E[1B:ei=\E[4l:ho=\E[H:im=\E[4h:\
                   11687:        :is=\E<\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m\E[?7h:k1=\EOS:\
                   11688:        :k2=\EOT:k3=\EOU:k4=\EOV:k5=\EOW:k6=\EOP:k7=\EOQ:k8=\EOR:\
                   11689:        :kb=^H:kd=\E[1B:kh=\E[H:kl=\E[1D:kr=\E[1C:ku=\E[1A:l6=blue:\
                   11690:        :l7=red:l8=white:le=^H:nd=\E[1C:se=\E[m:sf=^J:so=\E[7m:\
                   11691:        :sr=\EM:ta=^I:up=\E[1A:ve=\E[>4l:vs=\E[>4h:
1.1       deraadt  11692: h19-bs|heathkit w/keypad shifted:\
                   11693:        :ke=\Eu:ks=\Et:tc=h19-b:
1.13    ! millert  11694: h19-us|h19us|h19-smul|heathkit w/keypad shifted/underscore cursor:\
1.5       tholo    11695:        :ke=\Eu:ks=\Et:\
                   11696:        :tc=h19-u:
                   11697: # (h19: merged in :ip: from BSDI hp19-e entry>;
                   11698: # also added empty <acsc> to suppress a tic warning --esr)
1.13    ! millert  11699: # From: Tim Pierce <twp@skepsis.com>, 23 Feb 1998
        !          11700: # Tim tells us that:
        !          11701: # I have an old Zenith-19 terminal at home that still gets a lot of use.
        !          11702: # This terminal suffers from the same famous insert-mode padding lossage
        !          11703: # that has been acknowledged for the Z29 terminal.  Emacs is nearly
        !          11704: # unusable on this box, since even a half-scroll up or down the window
        !          11705: # causes flaming terminal death.
        !          11706: #
        !          11707: # On the Z19, the only way I have found around this problem is to remove
        !          11708: # the :al: and :dl: entries entirely.  No amount of extra padding will
        !          11709: # help (I have tried up to 20000).  Removing :al=\EL$: and :dl=\EM$:
        !          11710: # makes Emacs a little slower, but it remains in the land of the living.
        !          11711: # Big win.
1.1       deraadt  11712: h19|heath|h19-b|heathkit|heath-19|z19|zenith|heathkit h19:\
1.8       tholo    11713:        :am:bs:es:hs:mi:ms:\
1.1       deraadt  11714:        :co#80:it#8:li#24:\
1.13    ! millert  11715:        :ac=:ae=\EG:as=\EF:bl=^G:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :\
        !          11716:        :cr=^M:dc=\EN:do=\EB:ei=\EO:fs=\Ek\Ey5:ho=\EH:im=\E@:\
        !          11717:        :ip=1.5<1.5/>:k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:\
        !          11718:        :k7=\EQ:k8=\ER:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:\
        !          11719:        :l6=blue:l7=red:l8=white:le=^H:nd=\EC:se=\Eq:sf=^J:so=\Ep:\
        !          11720:        :sr=\EI:ta=^I:ts=\Ej\Ex5\EY8%p1%{32}%+%c\Eo\Eo:up=\EA:\
        !          11721:        :ve=\Ey4:vs=\Ex4:
1.1       deraadt  11722: h19-u|heathkit with underscore cursor:\
                   11723:        :ve@:vs@:tc=h19-b:
1.3       deraadt  11724: h19-g|h19g|heathkit w/block cursor:\
                   11725:        :ve=\Ex4:tc=h19-b:
1.1       deraadt  11726: alto-h19|altoh19|altoheath|alto-heath|alto emulating heathkit h19:\
                   11727:        :li#60:\
                   11728:        :al=\EL:dl=\EM:tc=h19:
                   11729:
1.3       deraadt  11730: # The major problem with the Z29 is that it requires more padding than the Z19.
                   11731: #
                   11732: # The problem with declaring an H19 to be synonymous with a Z29 is that
1.1       deraadt  11733: # it needs more padding. It especially loses if a program attempts
                   11734: # to put the Z29 into insert mode and insert text at 9600 baud. It
                   11735: # even loses worse if the program attempts to insert tabs at 9600
                   11736: # baud. Adding padding to text that is inserted loses because in
                   11737: # order to make the Z29 not die, one must add so much padding that
                   11738: # whenever the program tries to use insert mode, the effective
                   11739: # rate is about 110 baud.
                   11740: #
                   11741: # What program would want to put the terminal into insert mode
                   11742: # and shove stuff at it at 9600 baud you ask?
                   11743: #
                   11744: # Emacs. Emacs seems to want to do the mathematically optimal
                   11745: # thing in doing a redisplay rather than the practical thing.
                   11746: # When it is about to output a line on top of a line that is
                   11747: # already on the screen, instead of just killing to the end of
1.3       deraadt  11748: # the line and outputting the new line, it compares the old line
1.1       deraadt  11749: # and the new line and if there are any similarities, it
                   11750: # constructs the new line by deleting the text on the old line
                   11751: # on the terminal that is already there and then inserting new
                   11752: # text into the line to transform it into the new line that is
                   11753: # to be displayed. The Z29 does not react kindly to this.
                   11754: #
                   11755: # But don't cry for too long.... There is a solution. You can make
                   11756: # a termcap entry for the Z29 that says the Z29 has no insert mode.
                   11757: # Then Emacs cannot use it. "Oh, no, but now inserting into a
                   11758: # line will be really slow", you say. Well there is a sort of a
                   11759: # solution to that too. There is an insert character option on
                   11760: # the Z29 that will insert one character. Unfortunately, it
                   11761: # involves putting the terminal into ansi mode, inserting the
                   11762: # character, and changing it back to H19 mode. All this takes 12
                   11763: # characters. Pretty expensive to insert one character, but it
                   11764: # works. Either Emacs doesn't try to use its inserting hack when
                   11765: # it's only given an insert character ability or the Z29 doesn't
                   11766: # require padding with this (the former is probably more likely,
                   11767: # but I haven't checked it out).
1.8       tholo    11768: # (z29: added empty <acsc> to suppress a tic warning, merged in
                   11769: # status line capabilities from BRL entry --esr)
1.1       deraadt  11770: z29|zenith29|z29b|zenith z29b:\
1.8       tholo    11771:        :am:bs:es:hs:mi:ms:pt:\
                   11772:        :co#80:kn#10:li#24:\
                   11773:        :ac=:ae=\EF:al=1\EL:as=\EG:bc=\ED:bl=^G:bt=\E-:cd=\EJ:ce=\EK:\
                   11774:        :cl=\EE:cm=\EY%+ %+ :cr=^M:dc=\EN:dl=1\EM:do=\EB:ds=\Ey1:\
                   11775:        :ei=\EO:fs=\Ek\Ey5:ho=\EH:ic=\E<\E[1@\E[?2h:im=\E@:\
                   11776:        :is=\E<\E[?2h\Ev:k0=\E~:k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:\
                   11777:        :k6=\EP:k7=\EQ:k8=\ER:k9=\E0I:kb=^H:kd=\EB:kh=\EH:kl=\ED:\
                   11778:        :kr=\EC:ku=\EA:l0=home:le=^H:nd=\EC:se=\Eq:sf=\n:so=\Ep:\
                   11779:        :sr=2\EI:ta=^I:ts=\Ej\Ex5\Ex1\EY8%+ \Eo:ue=\Es0:up=\EA:\
1.5       tholo    11780:        :us=\Es8:ve=\Ey4:vs=\Ex4:
1.3       deraadt  11781: # z29 in ansi mode. Assumes that the cursor is in the correct state, and that
                   11782: # the world is stable. <rs1> causes the terminal to be reset to the state
                   11783: # indicated by the name. kc -> key click, nkc -> no key click, uc -> underscore
                   11784: # cursor, bc -> block cursor.
                   11785: # From: Mike Meyers
1.5       tholo    11786: # (z29a: replaced nonexistent :if=/usr/share/tabset/zenith29: befause :st:
                   11787: # looks vt100-compatible -- esr)
1.3       deraadt  11788: z29a|z29a-kc-bc|h29a-kc-bc|heath/zenith 29 in ansi mode:\
1.8       tholo    11789:        :am:bs:es:hs:mi:ms:pt:\
                   11790:        :co#80:it#8:kn#10:li#24:\
1.3       deraadt  11791:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
1.8       tholo    11792:        :RI=\E[%dC:UP=\E[%dA:bc=\ED:bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J:\
1.5       tholo    11793:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[1P:\
                   11794:        :do=^J:ds=\E[>1l:fs=\E[u\E[>5l:ho=\E[H:\
                   11795:        :if=/usr/share/tabset/vt100:k0=\E[~:k1=\EOS:k2=\EOT:\
                   11796:        :k3=\EOU:k4=\EOV:k5=\EOW:k6=\EOP:k7=\EOQ:k8=\EOR:k9=\EOX:\
                   11797:        :kC=\E[J:kS=\E[J:kb=^H:kd=\EOB:kh=\E[H:kl=\EOD:kr=\EOC:\
                   11798:        :ku=\EOA:l0=help:le=^H:mb=\E[5m:md=\E[2m:me=\E[m:mh=\E[2m:\
                   11799:        :mr=\E[7m:nd=\E[C:nw=^M\ED:ps=\E#7:\
1.3       deraadt  11800:        :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    11801:        :rc=\E[r:sc=\E[s:se=\E[m:sf=\ED:so=\E[7;2m:sr=\EM:st=\EH:\
                   11802:        :ta=^I:te=\E[?7h:ti=\E[?7l:\
1.3       deraadt  11803:        :ts=\E[s\E[>5;1h\E[25;%i%dH\E[1K:ue=\E[m:up=\E[A:\
                   11804:        :us=\E[4m:
                   11805: z29a-kc-uc|h29a-kc-uc|z29 ansi mode with keyckick and underscore cursor:\
1.5       tholo    11806:        :r1=\E<\E[1;24r\E[24;1H\E[?7h\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m:\
                   11807:        :tc=z29a:
1.3       deraadt  11808: z29a-nkc-bc|h29a-nkc-bc|z29 ansi mode with block cursor and no keyclick:\
1.5       tholo    11809:        :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:\
                   11810:        :tc=z29a:
1.3       deraadt  11811: z29a-nkc-uc|h29a-nkc-uc|z29 ansi mode with underscore cursor and no keyclick:\
1.5       tholo    11812:        :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:\
                   11813:        :tc=z29a:
1.2       deraadt  11814: # From: Jeff Bartig <jeffb@dont.doit.wisc.edu> 31 Mar 1995
                   11815: z39-a|z39a|zenith39-a|zenith39-ansi|Zenith 39 in ANSI mode:\
1.3       deraadt  11816:        :5i:am:es:hs:mi:ms:xo:\
1.2       deraadt  11817:        :co#80:li#24:\
1.5       tholo    11818:        :%1=\E[~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:K1=\EOw:\
                   11819:        :K2=\EOy:K3=\EOu:K4=\EOq:K5=\EOs:LE=\E[%dD:RI=\E[%dC:\
1.13    ! millert  11820:        :UP=\E[%dA:ac=0a``aaffggjjkkllmmnnooqqssttuuvvwwxx~~:\
1.5       tholo    11821:        :ae=\E(B:al=\E[1L:as=\E(0:bl=^G:bt=\E[1Z:cb=\E[1K:cd=\E[0J:\
1.3       deraadt  11822:        :ce=\E[0K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:\
1.2       deraadt  11823:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[1P:dl=\E[1M:do=\E[B:\
                   11824:        :ds=\E[>1l:ei=\E[4l:fs=\E[u:ho=\E[H:im=\E[4h:\
1.5       tholo    11825:        :is=\E<\E[>1;3;5;6;7l\E[0m\E[2J:k1=\EOS:k2=\EOT:k3=\EOU:\
                   11826:        :k4=\EOV:k5=\EOW:k6=\EOP:k7=\EOQ:k8=\EOR:k9=\EOX:kS=\E[J:\
                   11827:        :kb=^H:kd=\E[B:ke=\E[>7l:kh=\E[H:kl=\E[D:kr=\E[C:ks=\E[>7h:\
                   11828:        :ku=\E[A:le=^H:ll=\E[24;1H:mb=\E[5m:md=\E[1m:me=\E[0m:\
                   11829:        :mh=\E[2m:mr=\E[7m:nd=\E[C:pf=\E[4i:po=\E[5i:\
1.13    ! millert  11830:        :ps=\E[?19h\E[i:r2=\E<\Ec\0:rc=\E[u:sc=\E[s:se=\E[0m:\
1.5       tholo    11831:        :sf=^J:so=\E[7m:st=\EH:ta=^I:ts=\E[s\E[>1h\E[25;%i%p1%dH:\
1.3       deraadt  11832:        :ue=\E[0m:up=\E[A:us=\E[4m:ve=\E[>5l:vi=\E[>5h:
1.1       deraadt  11833:
                   11834: # From: Brad Brahms <Brahms@USC-ECLC>
                   11835: z100|h100|z110|z-100|h-100|heath/zenith z-100 pc with color monitor:\
1.5       tholo    11836:        :ve=\Ey4\Em70:vs=\Ex4\Em71:\
                   11837:        :tc=z100bw:
                   11838: # (z100bw: removed obsolete ":kn#10:", added empty <acsc> -- esr)
1.1       deraadt  11839: z100bw|h100bw|z110bw|z-100bw|h-100bw|heath/zenith z-100 pc:\
1.8       tholo    11840:        :bs:mi:ms:pt:\
                   11841:        :co#80:it#8:kn#10:li#24:\
1.5       tholo    11842:        :ac=:ae=\EG:al=5*\EL:as=\EF:cd=\EJ:ce=\EK:cl=5*\EE:\
                   11843:        :cm=1*\EY%+ %+ :dc=1*\EN:dl=5*\EM:do=\EB:ei=\EO:ho=\EH:\
                   11844:        :im=\E@:k0=\EJ:k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:\
                   11845:        :k7=\EQ:k8=\ER:k9=\EOI:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:\
                   11846:        :ku=\EA:le=^H:nd=\EC:se=\Eq:so=\Ep:sr=\EI:ta=^I:up=\EA:\
                   11847:        :ve=\Ey4:vs=\Ex4:
1.2       deraadt  11848: p19|h19-b with il1/dl1:\
1.1       deraadt  11849:        :al=2*\EL:dl=2*\EM:tc=h19-b:
                   11850: # From: <ucscc!B.fiatlux@ucbvax.berkeley.edu>
1.2       deraadt  11851: # (ztx: removed duplicate :sr: -- esr)
                   11852: ztx|ztx11|zt-1|htx11|ztx-1-a|ztx-10 or 11:\
1.8       tholo    11853:        :am:bs:es:hs:\
1.2       deraadt  11854:        :co#80:it#8:li#24:\
1.5       tholo    11855:        :al=\EL:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :dl=\EM:do=^J:\
                   11856:        :ds=\Ey1:fs=\Ek\Ey5:ho=\EH:\
1.1       deraadt  11857:        :is=\Ej\EH\Eq\Ek\Ev\Ey1\Ey5\EG\Ey8\Ey9\Ey>:k0=\ES:\
1.5       tholo    11858:        :k1=\EB:k2=\EU:k3=\EV:k4=\EW:k5=\EP:k6=\EQ:k7=\ER:kb=^H:\
                   11859:        :kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:se=\Eq:so=\Es5:\
                   11860:        :sr=\EI:ta=^I:ts=\Ej\Ex5\Ex1\EY8%+ \Eo:ue=\Eq:up=\EA:\
                   11861:        :us=\Es2:
1.1       deraadt  11862:
                   11863: #### IMS International (ims)
                   11864: #
                   11865: # There was a company called IMS International located in Carson City,
                   11866: # Nevada, that flourished from the mid-70s to mid-80s.  They made S-100
                   11867: # bus/Z80 hardware and a line of terminals called Ultimas.
1.8       tholo    11868: #
1.1       deraadt  11869:
                   11870: # From: Erik Fair <fair@ucbarpa.berkeley.edu>  Sun Oct 27 07:21:05 1985
                   11871: ims950-b|bare ims950 no init string:\
                   11872:        :is@:tc=ims950:
                   11873: # (ims950: removed obsolete ":ko@:" -- esr)
                   11874: ims950|ims televideo 950 emulation:\
                   11875:        :xn@:\
1.5       tholo    11876:        :k0@:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:k9@:kb@:kd@:kh@:kl@:kr@:ku@:vb@:tc=tvi950:
1.1       deraadt  11877: # (ims950-rv: removed obsolete ":ko@:" -- esr)
                   11878: ims950-rv|ims tvi950 rev video:\
                   11879:        :xn@:\
1.5       tholo    11880:        :k0@:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:k9@:kb@:kd@:kh@:kl@:kr@:ku@:vb@:tc=tvi950-rv:
1.1       deraadt  11881: ims-ansi|ultima2|ultimaII|IMS Ultima II:\
1.8       tholo    11882:        :am:bs:\
1.2       deraadt  11883:        :co#80:it#8:li#24:\
1.5       tholo    11884:        :cd=\E[0J:ce=\E[0K:cl=\E[H\E[2J:cm=\E[%i%2;%2H:do=\ED:\
                   11885:        :if=/usr/share/tabset/vt100:\
                   11886:        :is=\E[m\E[>14l\E[?1;?5;20l\E>\E[1m\r:kd=\E[B:kh=\E[H:\
                   11887:        :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:se=\E[m\E[1m:\
1.2       deraadt  11888:        :so=\E[7m:sr=\EM:ta=^I:ue=\E[m\E[1m:up=\EM:us=\E[4m:
1.1       deraadt  11889:
                   11890: #### Intertec Data Systems
                   11891: #
                   11892: # I think this company is long dead as of 1995.  They made an early CP/M
                   11893: # micro called the "Intertec Superbrain" that was moderately popular,
                   11894: # then sank out of sight.
                   11895: #
                   11896:
                   11897: superbrain|intertec superbrain:\
1.8       tholo    11898:        :am:bs:bw:\
1.1       deraadt  11899:        :co#80:li#24:\
1.8       tholo    11900:        :bc=^U:bl=^G:cd=\E~k<10*>:ce=\E~K:cl=\014:cm=\EY%+ %+ :\
                   11901:        :cr=^M:do=^J:kd=^J:kl=^U:kr=^F:ku=^K:le=^H:nd=^F:sf=^J:ta=^I:\
                   11902:        :te=^L:ti=^L:up=^K:
                   11903: # (intertube: a Gould entry via BRL asserted smul=\E0@$<200/>,
                   11904: # rmul=\E0A$<200/>; my guess is the highlight letter is bit-coded like an ADM,
                   11905: # and the reverse is actually true.  Try it. -- esr)
1.1       deraadt  11906: intertube|intertec|Intertec InterTube:\
1.8       tholo    11907:        :am:bs:\
1.1       deraadt  11908:        :co#80:li#25:\
1.5       tholo    11909:        :bl=^G:cl=^L:cm=\EY%+ %+ :cr=^M:do=^J:ho=^A:le=^H:nd=^F:\
                   11910:        :se=\E0@:sf=^J:so=\E0P:up=^Z:
1.1       deraadt  11911: # The intertube 2 has the "full duplex" problem like the tek 4025: if you
                   11912: # are typing and a command comes in, the keystrokes you type get interspersed
                   11913: # with the command and it messes up
1.2       deraadt  11914: intertube2|intertec data systems intertube 2:\
1.8       tholo    11915:        :bs:\
1.3       deraadt  11916:        :ce=\EK:ch=\020%+^J:cm=\016%.\020%+^J:cv=\013%.:\
1.5       tholo    11917:        :ll=^K^X\r:\
                   11918:        :tc=intertube:
1.2       deraadt  11919:
                   11920: #### Ithaca Intersystems
                   11921: #
                   11922: # This company made S100-bus personal computers long ago in the pre-IBM-PC
                   11923: # past.  They used to be reachable at:
                   11924: #
                   11925: #      Ithaca Intersystems
                   11926: #      1650 Hanshaw Road
                   11927: #      Ithaca, New York 14850
                   11928: #
                   11929: # However, the outfit went bankrupt years ago.
                   11930: #
                   11931:
1.8       tholo    11932: # The Graphos III was a color graphics terminal from Ithaca Intersystems.
1.2       deraadt  11933: # These entries were written (originally in termcap syntax) by Brian Yandell
                   11934: # <yandell@stat.wisc.edu> and Mike Meyer <mikem@stat.wisc.edu> at the
                   11935: # University of Wisconsin.
                   11936:
1.5       tholo    11937: # (graphos: removed obsolete and syntactically incorrect :kn=4:,
                   11938: # removed :if=/usr/share/tabset/init.graphos: and
                   11939: # <rf=/usr/share/tabset/init.graphos> no such file & no :st: -- esr)
1.2       deraadt  11940: graphos|graphos III:\
                   11941:        :am:mi:\
                   11942:        :co#80:it#8:li#24:\
                   11943:        :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
                   11944:        :UP=\E[%dA:al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
1.5       tholo    11945:        :cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:dm=\E[4h:do=\E[B:\
                   11946:        :ed=\E[4l:ei=\E[4l:ho=\E[H:im=\E[4h:k1=\EOP:k2=\EOQ:\
                   11947:        :k3=\EOR:k4=\EOS:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:\
                   11948:        :ku=\E[A:le=^H:me=\E[m:nd=\E[C:nw=^M\ED:rc=\E8:sc=\E7:\
1.3       deraadt  11949:        :se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:up=\E[A:\
                   11950:        :ve=\Ez56;2;0;0z\Ez73z\Ez4;1;1z:\
1.2       deraadt  11951:        :vs=\Ez4;2;1z\Ez56;2;80;24z:
                   11952: graphos-30|graphos III with 30 lines:\
                   11953:        :li#30:\
                   11954:        :vs=\Ez4;2;1z\Ez56;2;80;30z:tc=graphos:
1.1       deraadt  11955:
                   11956: #### Modgraph
                   11957: #
                   11958: # These people used to be reachable at:
                   11959: #
                   11960: #      Modgraph, Inc
                   11961: #      1393 Main Street,
                   11962: #      Waltham, MA 02154
                   11963: #      Vox: (617)-890-5796.
                   11964: #
                   11965: # However, if you call that number today you'll get an insurance company.
1.13    ! millert  11966: # I have mail from "Michael Berman, V.P. Sales, Modgraph" dated
        !          11967: # 26 Feb 1997 that says:
        !          11968: #
        !          11969: # Modgraph GX-1000, replaced by GX-2000.  Both are out of production, have been
        !          11970: # for ~7 years.  Modgraph still in business.  Products are rugged laptop and
        !          11971: # portable PC's and specialized CRT and LCD monitors (rugged, rack-mount
        !          11972: # panel-mount etc).  I can be emailed at sonfour@aol.com
        !          11973: #
        !          11974: # Peter D. Smith <pdsmith@nbbn.com> notes that his modgraph manual was
        !          11975: # dated 1984.  According to the manual, it featured Tek 4010/4014
        !          11976: # graphics and DEC VT100/VT52 + ADM-3A emulation with a VT220-style keyboard.
1.1       deraadt  11977: #
                   11978:
1.8       tholo    11979: modgraph|mod24|modgraph terminal emulating vt100:\
1.1       deraadt  11980:        :xn@:\
                   11981:        :co#80:li#24:\
1.8       tholo    11982:        :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:\
                   11983:        :rf@:sr=5\EM\E[K:vs=\E\1369;0s\E\1367;1s:\
1.5       tholo    11984:        :tc=vt100:
1.2       deraadt  11985: # The GX-1000 manual is dated 1984.  This looks rather like a VT-52.
                   11986: modgraph2|modgraph gx-1000 80x24 with keypad not enabled:\
                   11987:        :am:da:db:\
                   11988:        :co#80:it#8:li#24:\
1.1       deraadt  11989:        :cd=50\EJ:ce=3\EK:cl=50\EH\EJ:cm=5\EY%+ %+ :\
1.8       tholo    11990:        :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  11991:        :le=^H:nd=2\EC:sr=5\EI:ta=^I:up=2\EA:
1.8       tholo    11992: #
                   11993: # Modgraph from Nancy L. Cider <nancyc@brl-tbd>
                   11994: # BUG NOTE from Barbara E. Ringers <barb@brl-tbd>:
                   11995: # If we set TERM=vt100, and set the Modgraph screen to 24 lines, setting a
                   11996: # mark and using delete-to-killbuffer work correctly.  However, we would
                   11997: # like normal mode of operation to be using a Modgraph with 48 line setting.
                   11998: # If we set TERM=mod (which is a valid entry in termcap with 48 lines)
                   11999: # the setting mark and delete-to-killbuffer results in the deletion of only
                   12000: # the line the mark is set on.
                   12001: # We've discovered that the delete-to-killbuffer works correctly
                   12002: # with TERM=mod and screen set to 80x48 but it's not obvious.  Only
                   12003: # the first line disappears but a ctrl-l shows that it did work
                   12004: # correctly.
                   12005: modgraph48|mod|Modgraph w/48 lines:\
                   12006:        :am:bs:pt:xn:\
                   12007:        :co#80:it#8:li#48:vt#3:\
                   12008:        :bl=^G:cd=\E[J:ce=\E[K:cl=\E[;H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
                   12009:        :cs=\E[%i%d;%dr:do=^J:ho=\E[H:\
                   12010:        :is=\E<\E[1;48r\E[0q\E[3;4q\E=\E[?1h:k1=\EOP:k2=\EOQ:\
                   12011:        :k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
                   12012:        :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:\
                   12013:        :me=\E[m:mr=\E[7m:nd=\E[C:nl=^J:r1=\E=\E[0q\E>:rc=\E8:\
                   12014:        :sc=\E7:se=\E[m:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:\
                   12015:        :us=\E[4m:vb=\E[?5h\E[0q\E[1;2q\E[?5l\E[0q\E[4;3q:
1.1       deraadt  12016:
                   12017: #### Morrow Designs
                   12018: #
                   12019: # This was George Morrow's company.  They started in the late 1970s making
                   12020: # S100-bus machines.  They used to be reachable at:
                   12021: #
                   12022: #        Morrow
                   12023: #        600 McCormick St.
                   12024: #        San Leandro, CA 94577
                   12025: #
                   12026: # but they're long gone now (1995).
                   12027: #
                   12028:
                   12029: # The mt70 terminal was shipped with the Morrow MD-3 microcomputer.
                   12030: # Jeff's specimen was dated June 1984.
                   12031: # From: Jeff Wieland <wieland@acn.purdue.edu> 24 Feb 1995
                   12032: mt70|mt-70|Morrow MD-70; native Morrow mode:\
                   12033:        :am:mi:ms:xo:\
                   12034:        :co#80:it#8:li#24:\
1.5       tholo    12035:        :%1=^AO\r:F1=^A`\r:F2=^Aa\r:F3=^Ab\r:F4=^Ac\r:F5=^Ad\r:\
                   12036:        :F6=^Ae\r:F7=^Af\r:F8=^Ag\r:F9=^Ah\r:FA=^Ai\r:\
1.13    ! millert  12037:        :ac=+z\054{-x.yOi`|jGkFlEmDnHqJtLuKvNwMxI:ae=\E%:\
1.5       tholo    12038:        :al=\EE:as=\E$:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=^Z:\
                   12039:        :cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ei=:ho=^^:\
                   12040:        :i1=\E"2\EG0\E]:ic=\EQ:im=:k1=^A@\r:k2=^AA\r:k3=^AB\r:\
                   12041:        :k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:\
                   12042:        :k;=^AI\r:kB=^A^Z\r:kC=^An\r:kD=\177:kb=^H:kd=^AK\r:\
                   12043:        :kh=^AN\r:kl=^AL\r:kr=^AM\r:ku=^AJ\r:le=^H:mh=\EG2:mk@:\
1.8       tholo    12044:        :nd=^L:nw=^_:sf=^J:ta=^I:te=:ti=\E"2\EG0\E]:up=^K:us=\EG1:\
1.5       tholo    12045:        :vb=\EK1\EK0:ve=\E"2:vi=\E"0:\
                   12046:        :tc=adm+sgr:
1.1       deraadt  12047:
1.8       tholo    12048: #### Motorola
                   12049: #
                   12050:
                   12051: # Motorola EXORterm 155        from {decvax, ihnp4}!philabs!sbcs!megad!seth via BRL
                   12052: # (Seth H Zirin)
                   12053: ex155|Motorola Exorterm 155:\
                   12054:        :am:bs:bw:\
1.13    ! millert  12055:        :co#80:kn#5:li#24:\
1.8       tholo    12056:        :bt=\E[:cd=\ET:ce=\EU:cl=\EX:cm=\EE%+ %+ :do=\EB:ho=\E@:\
                   12057:        :kB=\E[:kC=\EX:kE=\EU:kS=\ET:kb=^H:kd=^J:kh=\E@:kl=^H:kr=^L:\
                   12058:        :ku=^K:nd=\ED:se=\Ec\ED:so=\Eb\ED:ta=\EZ:ue=\Eg\ED:\
                   12059:        :us=\Ef\ED:
                   12060:
1.1       deraadt  12061: #### Omron
                   12062: #
                   12063: # This company is still around in 1995, manufacturing point-of-sale systems.
                   12064:
                   12065: omron|Omron 8025AG:\
1.8       tholo    12066:        :am:bs:da:db:\
1.1       deraadt  12067:        :co#80:li#24:\
1.5       tholo    12068:        :al=\EL:bl=^G:cd=\ER:ce=\EK:cl=\EJ:cr=^M:dc=\EP:dl=\EM:do=^J:\
                   12069:        :ho=\EH:le=^H:nd=\EC:se=\E4:sf=\ES:so=\Ef:sr=\ET:up=\EA:\
                   12070:        :vs=\EN:
                   12071:
                   12072: #### Ramtek
                   12073: #
                   12074: # Ramtek was a vendor of high-end graphics terminals around 1979-1983; they
                   12075: # were competition for things like the Tektronics 4025.
                   12076: #
                   12077:
                   12078: # Ramtek 6221 from BRL, probably by Doug Gwyn
                   12079: # The following SET-UP modes are assumed for normal operation:
                   12080: #      UNDERLINE_CURSOR        ANSI_MODE       AUTO_XON/XOFF_ON
                   12081: #      NEWLINE_OFF             80_COLUMNS
                   12082: # Other SET-UP modes may be set for operator convenience or communication
                   12083: # requirements; I recommend
                   12084: #      SMOOTH_SCROLL   AUTO_REPEAT_ON  3_#_SHIFTED     WRAP_AROUND_ON
                   12085: # Hardware tabs are assumed to be every 8 columns; they can be set up by the
                   12086: # "reset", "tset", or "tabs" utilities (use rt6221-w, 160 columns, for this).
                   12087: # Note that the Control-E key is useless on this brain-damaged terminal.  No
                   12088: # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
1.13    ! millert  12089: rt6221|Ramtek 6221 80x24:\
1.8       tholo    12090:        :bs:ms:pt:xo:\
                   12091:        :co#80:it#8:kn#4:li#24:vt#3:\
1.5       tholo    12092:        :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ac=:ae=^O:as=^N:\
                   12093:        :bl=^G:cd=\E[J:ce=\E[K:cl=\E[1;1H\E[J:cm=\E[%i%d;%dH:\
                   12094:        :cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:do=^K:ho=\E[1;1H:is=\E)0:\
                   12095:        :k0=\EOP:k1=\EOQ:k2=\EOR:k3=\EOS:kb=^H:kd=\E[B:ke=\E>:\
                   12096:        :kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:l0=PF1:l1=PF2:l2=PF3:l3=PF4:\
                   12097:        :le=^H:ll=\E[24;1H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:\
                   12098:        :nd=\E[C:nw=\EE:\
                   12099:        :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>:\
                   12100:        :rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
                   12101:        :ue=\E[m:up=\EM:us=\E[4m:ve=\E[>5h\E[>9h:vi=\E[>5l:\
                   12102:        :vs=\E[>7h\E[>9l:
                   12103: # [TO DO: Check out: short forms of ho/cl and ll; reset (\Ec)].
1.13    ! millert  12104: rt6221-w|Ramtek 6221 160x48:\
1.5       tholo    12105:        :co#160:li#48:\
1.8       tholo    12106:        :ll=\E[48;1H:tc=rt6221:
                   12107:
                   12108: #### RCA
                   12109: #
                   12110:
                   12111: # RCA VP3301 or VP3501
                   12112: rca|rca vp3301/vp3501:\
                   12113:        :bs:\
                   12114:        :co#40:li#24:\
                   12115:        :cl=^L:cm=\EY%+ %+ :ho=^Z:nd=^U:se=\E\ES0:so=\E\ES1:up=^K:
                   12116:
1.5       tholo    12117:
                   12118: #### Selanar
                   12119: #
                   12120:
                   12121: # Selanar HiREZ-100 from BRL, probably by Doug Gwyn
                   12122: # The following SET-UP modes are assumed for normal operation:
                   12123: #      SET_DEFAULT_TABS        48_LINES                80_COLUMNS
                   12124: #      ONLINE                  ANSI                    CURSOR_VISIBLE
                   12125: #      VT102_AUTO_WRAP_ON      VT102_NEWLINE_OFF       VT102_MONITOR_MODE_OFF
                   12126: #      LOCAL_ECHO_OFF          US_CHAR_SET             WPS_TERMINAL_DISABLED
                   12127: #      CPU_AUTO_XON/XOFF_ENABLED                       PRINT_FULL_SCREEN
                   12128: # For use with graphics software, all graphics modes should be set to factory
                   12129: # default.  Other SET-UP modes may be set for operator convenience or
                   12130: # communication requirements.  No delays are specified; use "stty ixon -ixany"
                   12131: # to enable DC3/DC1 flow control!
                   12132: # I commented out the scrolling capabilities since they are too slow.
                   12133: hirez100|Selanar HiREZ-100:\
1.8       tholo    12134:        :bs:mi:ms:pt:xo:\
                   12135:        :co#80:it#8:kn#4:li#48:vt#3:\
1.5       tholo    12136:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
                   12137:        :RI=\E[%dC:UP=\E[%dA:ac=:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:\
                   12138:        :ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:\
                   12139:        :dc=\E[P:dl=\E[M:do=^J:ho=\E[H:is=\E<\E)0:k0=\EOP:k1=\EOQ:\
                   12140:        :k2=\EOR:k3=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
                   12141:        :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l0=PF1:l1=PF2:l2=PF3:l3=PF4:\
                   12142:        :le=^H:ll=\E[48H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:\
                   12143:        :nd=\E[C:nw=\EE:pf=\E[4i\E[?4i:po=\E[?5i\E[5i:ps=\E[i:\
                   12144:        :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    12145:        :rc=\E8:sc=\E7:se=\E[m:so=\E[7m:st=\EH:ta=^I:ue=\E[m:up=\EM:\
                   12146:        :us=\E[4m:
1.5       tholo    12147: hirez100-w|Selanar HiREZ-100 in 132-column mode:\
1.8       tholo    12148:        :co#132:tc=hirez100:
1.1       deraadt  12149:
1.2       deraadt  12150: #### Signetics
                   12151: #
                   12152:
                   12153: # From University of Wisconsin
                   12154: vsc|Signetics Vsc Video driver by RMC:\
                   12155:        :am:ms:\
                   12156:        :co#80:it#8:li#26:\
                   12157:        :ce=\E[K:cl=50\E[;H\E[2J:cm=\E[%i%d;%dH:cr=^M:do=^J:\
1.8       tholo    12158:        :ho=\E[H:kb=^H:kd=^J:kl=^H:le=^H:me=^_\041:mr=^_ :nd=\E[C:\
                   12159:        :nw=^M^J:se=^_\041:sf=^J:so=^_ :ta=^I:ue=^_#:up=\E[A:us=^_":
1.2       deraadt  12160:
1.1       deraadt  12161: #### Soroc
                   12162: #
1.2       deraadt  12163: # Alan Frisbie <frisbie@flying-disk.com> writes:
                   12164: #
                   12165: # As you may recall, the Soroc logo consisted of their name,
                   12166: # with the letter "S" superimposed over an odd design.   This
                   12167: # consisted of a circle with a slightly smaller 15 degree (approx.)
                   12168: # wedge with rounded corners inside it.   The color was sort of
                   12169: # a metallic gold/yellow.
                   12170: #
                   12171: # If I had been more of a beer drinker it might have been obvious
                   12172: # to me, but it took a clue from their service department to make
                   12173: # me exclaim, "Of course!"   The circular object was the top of
                   12174: # a beer can (the old removable pop-top style) and "Soroc" was an
                   12175: # anagram for "Coors".
                   12176: #
                   12177: # I can just imagine the founders of the company sitting around
                   12178: # one evening, tossing back a few and trying to decide what to
                   12179: # call their new company and what to use for a logo.
                   12180: #
1.1       deraadt  12181:
                   12182: # (soroc120: removed obsolete ":ma=^K^P^R^L^L :" -- esr)
1.3       deraadt  12183: soroc120|iq120|soroc|soroc iq120:\
1.1       deraadt  12184:        :cd=\EY:ce=\ET:cl=\E*:do=^J:kd=^J:kl=^H:kr=^L:ku=^K:tc=adm3a:
                   12185: soroc140|iq140|soroc iq140:\
1.8       tholo    12186:        :am:bs:mi:\
1.1       deraadt  12187:        :co#80:li#24:\
1.5       tholo    12188:        :al=\Ee:bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=\E+:cm=\E=%+ %+ :\
                   12189:        :cr=^M:dc=\Ew:dl=\Er:do=^J:ei=\E8:ho=^^:im=\E9:k0=^A0\r:\
                   12190:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
                   12191:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:kb=^H:kh=^^:kr=^L:ku=^K:le=^H:\
                   12192:        :ll=^^^K:nd=^L:se=\E\177:sf=^J:so=\E\177:ue=\E^A:up=^K:\
                   12193:        :us=\E^A:
1.1       deraadt  12194:
                   12195: #### Southwest Technical Products
                   12196: #
                   12197: # These guys made an early personal micro called the M6800.
                   12198: # The ct82 was probably its console terminal.
                   12199: #
                   12200:
                   12201: # (swtp: removed obsolete ":bc=^D:" -- esr)
                   12202: swtp|ct82|southwest technical products ct82:\
                   12203:        :am:\
                   12204:        :co#82:li#20:\
1.5       tholo    12205:        :al=^^Y:bl=^G:cd=^V:ce=^F:cl=^L:cm=\013%r%.%.:cr=^M:dc=^^H:\
                   12206:        :dl=^Z:do=^J:ei=:ho=^P:ic=^^X:im=:\
1.1       deraadt  12207:        :is=\034\022\036\023\036\004\035\027\011\023\036\035\036\017\035\027\022\011:\
                   12208:        :le=^D:ll=^C:nd=^S:se=^^^F:sf=^N:so=^^^V:sr=^O:up=^A:
                   12209:
                   12210: #### Synertek
                   12211: #
                   12212: # Bob Manson <manson@pattyr.acs.ohio-state.edu> writes (28 Apr 1995):
                   12213: #
                   12214: # Synertek used to make ICs, various 6502-based single-board process
                   12215: # control and hobbyist computers, and assorted peripherals including a
                   12216: # series of small inexpensive terminals (I think they were one of the
                   12217: # first to have a "terminal-on-a-keyboard", where the terminal itself
                   12218: # was only slightly larger than the keyboard).
                   12219: #
                   12220: # They apparently had a KTM-1 model, which I've never seen. The KTM-2/40
                   12221: # was a 40x24 terminal that could connect to a standard TV through a
                   12222: # video modulator.  The KTM-2/80 was the 80-column version (the 2/40
                   12223: # could be upgraded to the 2/80 by adding 2 2114 SRAMs and a new ROM).
                   12224: # I have a KTM-2/80 still in working order.  The KTM-2s had fully
                   12225: # socketed parts, used 2 6507s, a 6532 as keyboard scanner, a program
                   12226: # ROM and 2 ROMs as character generators. They were incredibly simple,
                   12227: # and I've never had any problems with mine (witness the fact that mine
                   12228: # was made in 1981 and is still working great... I've blown the video
                   12229: # output transistor a couple of times, but it's a 2N2222 :-)
                   12230: #
                   12231: # The KTM-3 (which is what is listed in the terminfo file) was their
                   12232: # attempt at putting a KTM-2 in a box (and some models came with a
                   12233: # CRT). It wasn't much different from the KTM-2 hardware-wise, but the
                   12234: # control and escape sequences are very different. The KTM-3 was always
                   12235: # real broken, at least according to the folks I've talked to about it.
                   12236: #
                   12237: # The padding in the entry is probably off--these terminals were very
                   12238: # slow (it takes like 100ms for the KTM-2 to clear the screen...) And
                   12239: # anyone with any sanity replaced the ROMs with something that provided
                   12240: # a reasonable subset of VT100 functionality, since the usual ROMs were
                   12241: # obviously very primitive... oh, you could get an upgraded ROM from
                   12242: # Synertek for some incredible amount of money, but what hacker with an
                   12243: # EPROM burner would do that? :)
                   12244: #
                   12245: # Sorry I don't have any contact info; I believe they were located in
                   12246: # Sunnyvale, and I'm fairly sure they are still manufacturing ICs
                   12247: # (they've gone to ASICs and FPGAs), but I doubt they're in the computer
                   12248: # business these days.
1.5       tholo    12249: #
1.1       deraadt  12250:
                   12251: # Tested, seems to work fine with vi.
                   12252: synertek|ktm|synertek380|synertek ktm 3/80 tubeless terminal:\
                   12253:        :am:\
                   12254:        :co#80:li#24:\
                   12255:        :cd=\EJ:ce=\EK:cl=^Z:cm=\E=%+ %+ :le=^H:nd=^L:up=^K:
                   12256:
                   12257: #### Tab Office Products
                   12258: #
                   12259: #      TAB Products Co. - Palo Alto, California
                   12260: #      Electronic Office Products,
                   12261: #      1451 California Avenue 94304
                   12262: #
                   12263: # I think they're out of business.
                   12264: #
                   12265:
                   12266: # The tab 132 uses xon/xoff, so no padding needed.
1.5       tholo    12267: # :ks:/:ke: have nothing to do with arrow keys.
                   12268: # :is: sets 80 col mode, normal video, autowrap on (for :am:).
1.1       deraadt  12269: # Seems to be no way to get rid of status line.
                   12270: # The manual for this puppy was dated June 1981.  It claims to be VT52-
1.2       deraadt  12271: # compatible but looks more vt100-like.
1.1       deraadt  12272: tab132|tab|tab132-15|tab 132/15:\
                   12273:        :da:db:\
                   12274:        :co#80:dN@:li#24:lm#96:\
1.5       tholo    12275:        :al=\E[L:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:\
                   12276:        :im=\E[4h:is=\E[?7h\E[?3l\E[?5l:kd=\E[B:ke@:kl=\E[D:ks@:\
                   12277:        :ku=\E[A:\
                   12278:        :tc=vt100:
1.1       deraadt  12279: tab132-w|tab132 in wide mode:\
                   12280:        :co#132:\
                   12281:        :is=\E[?7h\E[?3h\E[?5l:tc=tab132:
                   12282: tab132-rv|tab132 in reverse-video mode:\
                   12283:        :is=\E[?7h\E[?3l\E[?5h:tc=tab132:
                   12284: tab132-w-rv|tab132 in reverse-video/wide mode:\
                   12285:        :is=\E[?7h\E[?3h\E[?5h:tc=tab132-w:
                   12286:
                   12287:
                   12288: #### Teleray
                   12289: #
                   12290: #      Research Incorporated
                   12291: #      6425 Flying Cloud Drive
                   12292: #      Eden Prairie, MN 55344
                   12293: #      Vox: (612)-941-3300
                   12294: #
                   12295: # The Teleray terminals were all discontinued in 1992-93.  RI still services
                   12296: # and repairs these beasts, but no longer manufactures them.  The Teleray
                   12297: # people believe that all the types listed below are very rare now (1995).
                   12298: # There was a newer line of Telerays (Model 7, Model 20, Model 30, and
                   12299: # Model 100) that were ANSI-compatible.
                   12300: #
                   12301: # Note two things called "teleray".  Reorder should move the common one
                   12302: # to the front if you have either.  A dumb teleray with the cursor stuck
                   12303: # on the bottom and no obvious model number is probably a 3700.
                   12304: #
                   12305:
                   12306: t3700|dumb teleray 3700:\
1.8       tholo    12307:        :bs:\
1.1       deraadt  12308:        :co#80:li#24:\
                   12309:        :bl=^G:cl=^L:cr=^M:do=^J:le=^H:sf=^J:
                   12310: t3800|teleray 3800 series:\
1.8       tholo    12311:        :bs:\
1.2       deraadt  12312:        :co#80:it#8:li#24:\
1.5       tholo    12313:        :bl=^G:cd=\EJ:ce=\EK:cl=^L:cm=\EY%+ %+ :cr=^M:do=^J:ho=\EH:\
                   12314:        :le=^H:ll=\EY7 :nd=\EC:sf=^J:ta=^I:up=^K:
1.1       deraadt  12315: t1061|teleray|teleray 1061:\
1.8       tholo    12316:        :am:bs:km:xs:xt:\
1.13    ! millert  12317:        :co#80:it#8:li#24:sg#1:\
1.5       tholo    12318:        :al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=\014:cm=\EY%+ %+ :cr=^M:\
                   12319:        :ct=\EG:dc=\EQ:dl=\EM:do=^J:ei=:ho=\EH:ic=\EP:im=:ip=:\
1.1       deraadt  12320:        :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    12321:        :k1=^Z1:k2=^Z2:k3=^Z3:k4=^Z4:k5=^Z5:k6=^Z6:k7=^Z7:k8=^Z8:\
                   12322:        :le=^H:nd=\EC:se=\ER@:sf=^J:so= \ERD:st=\EF:ta=^I:ue=\ER@:\
                   12323:        :up=\EA:us=\ERH:
1.1       deraadt  12324: t1061f|teleray 1061 with fast PROMs:\
                   12325:        :al=\EL:dl=\EM:ip@:tc=t1061:
1.3       deraadt  12326: # "Teleray Arpa Special", officially designated as
1.1       deraadt  12327: # "Teleray Arpa network model 10" with "Special feature 720".
                   12328: # This is the new (1981) fast microcode updating the older "arpa" proms
1.3       deraadt  12329: # (which gave meta-key and programmable-fxn keys).  720 is much much faster,
1.1       deraadt  12330: # converts the keypad to programmable function keys, and has other goodies.
                   12331: # Standout mode is still broken (magic cookie, etc) so is suppressed as no
                   12332: # programs handle such lossage properly.
                   12333: # Note: this is NOT the old termcap's "t1061f with fast proms."
                   12334: # From: J. Lepreau <lepreau@utah-cs> Tue Feb  1 06:39:37 1983, Univ of Utah
1.2       deraadt  12335: # (t10: removed overridden ":so@:se@:us@:ue@:" -- esr)
1.1       deraadt  12336: t10|teleray 10 special:\
1.8       tholo    12337:        :bs:km:xs:xt:\
1.13    ! millert  12338:        :co#80:it#8:li#24:sg#2:\
1.5       tholo    12339:        :al=\EL:cd=\EJ:ce=\EK:cl=30\Ej:cm=\EY%+ %+ :dc=\EQ:dl=\EM:\
1.13    ! millert  12340:        :ei=:ho=\EH:ic=\EP:im=:le=^H:nd=\EC:pc=\0:se=\ER@:sf=\Eq:\
1.5       tholo    12341:        :so=\ERD:sr=\Ep:ta=^I:ue=\ER@:up=\EA:us=\ERH:
1.1       deraadt  12342: # teleray 16 - map the arrow keys for vi/rogue, shifted to up/down page, and
                   12343: # back/forth words. Put the function keys (f1-f10) where they can be
                   12344: # found, and turn off the other magic keys along the top row, except
                   12345: # for line/local. Do the magic appropriate to make the page shifts work.
                   12346: # Also toggle ^S/^Q for those of us who use Emacs.
                   12347: t16|teleray 16:\
                   12348:        :am:da:db:mi:xs:xt:\
                   12349:        :co#80:li#24:\
                   12350:        :al=\E[L:bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[H\E[2J:\
1.5       tholo    12351:        :cm=%i\E[%d;%df:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:\
                   12352:        :ho=\E[H:im=\E[4h:k1=^Z1:k2=^Z2:k3=^Z3:k4=^Z4:k5=^Z5:k6=^Z6:\
                   12353:        :k7=^Z7:k8=^Z8:k9=^Z9:k;=^Z0:le=^H:me=\E[m:nd=\E[C:se=\E[m:\
                   12354:        :sf=^J:so=\E[7m:sr=\E[T:ta=^I:te=\E[V\E[24;1f\E[?38h:\
                   12355:        :ti=\E[U\E[?38l:ue=\E[m:up=\E[A:us=\E[4m:
1.1       deraadt  12356:
                   12357: #### Texas Instruments (ti)
                   12358: #
                   12359:
1.2       deraadt  12360: # The Silent 700 was so called because it was built around a quiet thermal
                   12361: # printer.  It was portable, equipped with an acoustic coupler, and pretty
                   12362: # neat for its day.
                   12363: ti700|ti733|ti735|ti745|ti800|ti silent 700/733/735/745 or omni 800:\
1.8       tholo    12364:        :bs:hc:os:\
1.2       deraadt  12365:        :co#80:\
1.1       deraadt  12366:        :bl=^G:cr=\r:do=^J:le=^H:sf=^J:
1.2       deraadt  12367:
1.8       tholo    12368: #
                   12369: # Texas Instruments 916 VDT 7 bit control mode
                   12370: #
                   12371: ti916|ti916-220-7|Texas Instruments 916 VDT 8859/1 vt220 mode 7 bit CTRL:\
                   12372:        :da:db:in:ms:\
                   12373:        :%9=^X:@4=\E[29~:@8=^J:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
                   12374:        :DO=\E[%dB:F1=\E[29~:F2=\E[31~:IC=\E[%d@:LE=\E[%dD:\
                   12375:        :RI=\E[%dC:UP=\E[%dA:ae=\017:as=\016:bt=\E[Z:cb=\E[1K:\
                   12376:        :cd=\E[J:ce=\E[0K:ch=\E[%+^AG:cl=\E[H\E[2J:\
                   12377:        :cm=\E[%i%d;%dH:ct=\E[3g:cv=\E[%+^Ad:dc=\E[P:eA=\E(B\E)0:\
                   12378:        :ec=\E[%dX:ei=:ff=^L:im=:ip=:is=\E[1;24r\E[24;1H:k1=\E[17~:\
                   12379:        :k2=\E[18~:k3=\E[19~:k4=\E[20~:k5=\E[21~:k6=\E[23~:\
                   12380:        :k7=\E[24~:k8=\E[25~:k9=\E[26~:k;=\E[28~:kD=\E[P:kI=\E[@:\
                   12381:        :kN=\E[S:kP=\E[T:kh=\E[H:mp=\E&:r2=\E[\041p:st=\E[0W:\
                   12382:        :vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:\
                   12383:        :tc=vt220:
                   12384: #
                   12385: # Texas Instruments 916 VDT 8 bit control mode
                   12386: #
                   12387: ti916-8|ti916-220-8|Texas Instruments 916 VDT 8859/1 8 vt220 mode bit CTRL:\
                   12388:        :%9=^X:@4=\23329~:@8=^J:F1=\23329~:F2=\23331~:k1=\23317~:\
                   12389:        :k2=\23318~:k3=\23319~:k4=\23320~:k5=\23321~:k6=\23323~:\
                   12390:        :k7=\23324~:k8=\23325~:k9=\23326~:k;=\23328~:kD=\233P:\
                   12391:        :kI=\233@:kN=\233S:kP=\233T:kd=\233B:kh=\233H:kl=\233D:\
                   12392:        :kr=\233C:ku=\233A:\
                   12393:        :tc=ti916:
                   12394: #
                   12395: # Texas Instruments 916 VDT 8859/1 7 bit control 132 column mode
                   12396: #
                   12397: ti916-132|Texas Instruments 916 VDT vt220 132 column:\
                   12398:        :co#132:tc=ti916:
                   12399: #
                   12400: # Texas Instruments 916 VDT 8859/1 8 bit control 132 column mode
                   12401: #
1.13    ! millert  12402: ti916-8-132|Texas Instruments 916 VDT 8-bit vt220 132 column:\
1.8       tholo    12403:        :co#132:tc=ti916-8:
1.1       deraadt  12404: ti924|Texas Instruments 924 VDT 8859/1 7 bit CTRL:\
1.8       tholo    12405:        :am:bs:xo:\
1.1       deraadt  12406:        :co#80:it#8:li#24:\
                   12407:        :al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:\
1.5       tholo    12408:        :cm=%i\E[%d;%dH:cr=^M:cs=%i\E[%d;%dr:ct=\E[3g:dl=\E[M:\
                   12409:        :do=\E[B:ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[16~:\
                   12410:        :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[P:kI=\E[@:\
                   12411:        :kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:\
                   12412:        :md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:\
                   12413:        :sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:\
1.2       deraadt  12414:        :us=\E[4m:ve=\E[?25h:vi=\E[?25l:vs=\E[?31h:
1.1       deraadt  12415: ti924-8|Texas Instruments 924 VDT 8859/1 8 bit CTRL:\
                   12416:        :am:xo:\
                   12417:        :co#80:it#8:li#24:\
                   12418:        :al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:\
1.5       tholo    12419:        :cm=%i\E[%d;%dH:cr=^M:cs=%i\E[%d;%dr:ct=\E[3g:dl=\E[M:\
                   12420:        :do=\E[B:ho=\E[H:k1=P\217>:k2=Q\217>:k3=R\217>:k4=S\217>:\
                   12421:        :k5=~\23316>:k6=~\23317>:k7=~\23318>:k8=~\23319>:\
                   12422:        :k9=~\23320>:kD=P\233>:kI=@\233>:kb=^H:kd=\E[B:kl=\E[D:\
                   12423:        :kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[m:\
                   12424:        :mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:\
                   12425:        :sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[?25h:\
1.2       deraadt  12426:        :vi=\E[?25l:vs=\E[?31h:
1.1       deraadt  12427: ti924w|Texas Instruments 924 VDT 7 bit - 132 column mode:\
1.3       deraadt  12428:        :co#132:tc=ti924:
1.1       deraadt  12429: ti924-8w|Texas Instruments 924 VDT 8 bit - 132 column mode:\
1.3       deraadt  12430:        :co#132:tc=ti924-8:
1.1       deraadt  12431: ti931|Texas Instruments 931 VDT:\
1.8       tholo    12432:        :am:bs:xo:\
1.1       deraadt  12433:        :co#80:li#24:\
1.5       tholo    12434:        :al=\EN:bl=^G:cd=\EJ:ce=\EI:cl=\EL:cm=\EY%+ %+ :cr=^M:\
                   12435:        :dc=\EQ:dl=\EO:do=\EB:ei=:ho=\EH:ic=\ER\EP\EM:im=:\
                   12436:        :is=\EGB\E(@B@@\E):k1=\Ei1:k2=\Ei2:k3=\Ei3:k4=\Ei4:\
                   12437:        :k5=\Ei5:k6=\Ei6:k7=\Ei7:k8=\Ei8:k9=\Ei9:kA=\EN:kD=\EQ:\
                   12438:        :kI=\EP:kL=\EO:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=\ED:mb=\E4P:\
                   12439:        :me=\E4@:mk=\E4H:mr=\E4B:nd=\EC:se=\E4@:sf=\Ea:so=\E4A:\
                   12440:        :sr=\Eb:ue=\E4@:up=\EA:us=\E4D:ve=\E4@:
1.1       deraadt  12441: ti926|Texas Instruments 926 VDT 8859/1 7 bit CTRL:\
                   12442:        :cs@:sf=\E[1S:sr=\E[1T:tc=ti924:
1.2       deraadt  12443: # (ti926-8: I corrected this from the broken SCO entry -- esr)
1.1       deraadt  12444: ti926-8|Texas Instruments 926 VDT 8859/1 8 bit CTRL:\
1.5       tholo    12445:        :cs@:sf=\2331S:sr=\2331T:\
                   12446:        :tc=ti924-8:
1.1       deraadt  12447: ti_ansi|basic entry for ti928:\
1.3       deraadt  12448:        :am:eo:ut:xn:xo:\
                   12449:        :Co#8:co#80:it#8:li#25:pa#64:\
1.13    ! millert  12450:        :@7=\E[F:AB=\E[4%p1%dm:AF=\E[3%p1%dm:al=\E[L:bl=^G:\
        !          12451:        :bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:\
        !          12452:        :cr=^M:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
1.3       deraadt  12453:        :ic=\E[@:im=:k0=\E[V:k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:\
1.5       tholo    12454:        :k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:kN=\E[G:kP=\E[I:\
                   12455:        :kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
                   12456:        :mb=\E[5m:md=\E[1m:me=\E[m:nd=\E[C:op=\E[37;40m:se=\E[m:\
                   12457:        :sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
1.1       deraadt  12458: #
                   12459: #       928 VDT 7 bit control mode
                   12460: #
1.2       deraadt  12461: ti928|Texas Instruments 928 VDT 8859/1 7 bit CTRL:\
1.8       tholo    12462:        :%9=\E[35~:@7=\E_1\E\:@8=\E[8~:F1=\E[29~:F2=\E[31~:\
1.3       deraadt  12463:        :F3=\E[32~:F5=\E[34~:k1=\E[17~:k2=\E[18~:k3=\E[19~:\
                   12464:        :k4=\E[20~:k5=\E[21~:k6=\E[23~:k7=\E[24~:k8=\E[25~:\
1.5       tholo    12465:        :k9=\E[26~:k;=\E[28~:kD=\E[P:kI=\E[@:kN=\E[S:kP=\E[T:\
                   12466:        :tc=ti_ansi:
1.1       deraadt  12467: #
                   12468: #       928 VDT 8 bit control mode
                   12469: #
1.2       deraadt  12470: ti928-8|Texas Instruments 928 VDT 8859/1 8 bit CTRL:\
1.5       tholo    12471:        :%9=\23335~:@7=\2371\234:@8=\2338~:F1=\23329~:F2=\23331~:\
                   12472:        :F3=\23332~:F5=\23334~:k1=\23317~:k2=\23318~:k3=\23319~:\
                   12473:        :k4=\23320~:k5=\23321~:k6=\23323~:k7=\23324~:k8=\23325~:\
                   12474:        :k9=\23326~:k;=\23328~:kD=\233P:kI=\233@:kN=\233S:\
                   12475:        :kP=\233T:kh=\233H:\
                   12476:        :tc=ti_ansi:
1.1       deraadt  12477:
                   12478: #### Zentec (zen)
                   12479: #
                   12480:
1.5       tholo    12481: # (zen30: removed obsolete :ma=^L ^R^L^K^P:.  This entry originally
                   12482: # had just :so:=\EG6 which I think means standout was supposed to be
                   12483: # dim-reverse using ADM12-style attributes. ADM12 :us:/:ue: and
                   12484: # <invis> might work-- esr)
1.1       deraadt  12485: zen30|z30|zentec 30:\
1.8       tholo    12486:        :am:bs:mi:ul:\
1.1       deraadt  12487:        :co#80:li#24:\
1.5       tholo    12488:        :al=\EE:bl=^G:cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :cr=^M:\
                   12489:        :dc=\EW:dl=\ER:do=^J:ei=\Er:ho=^^:im=\Eq:le=^H:mh=\EG2:nd=^L:\
                   12490:        :sf=^J:so=\EG6:ue@:up=^K:us@:\
                   12491:        :tc=adm+sgr:
1.2       deraadt  12492: # (zen50: this had extension capabilities
1.1       deraadt  12493: #      :BS=^U:CL=^V:CR=^B:
                   12494: # UK/DK/RK/LK/HM were someone's aliases for ku/kd/kl/kr/kh,
                   12495: # which were also in the original entry -- esr)
                   12496: # (zen50: removed obsolete ":ma=^Hh^Ll^Jj^Kk:" -- esr)
                   12497: zen50|z50|zentec zephyr:\
1.8       tholo    12498:        :am:bs:\
1.1       deraadt  12499:        :co#80:li#24:sg#1:\
1.5       tholo    12500:        :al=\EE:cd=\EY:ce=\ET:cl=\E+:cm=\E=%+ %+ :dc=\EW:dl=\ER:ei=:\
                   12501:        :ic=\EQ:im=:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:mk@:ue@:up=^K:\
                   12502:        :us@:\
                   12503:        :tc=adm+sgr:
1.2       deraadt  12504:
1.8       tholo    12505: # CCI 4574 (Office Power) from Will Martin <wmartin@BRL.ARPA> via BRL
                   12506: cci|cci1|z8001|zen8001|CCI Custom Zentec 8001:\
                   12507:        :am:bs:bw:\
                   12508:        :co#80:li#24:\
                   12509:        :cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cs=\ER%+ %+ :do=^J:\
                   12510:        :ho=\EH:is=\EM \EF\ET\EP\ER 7:kb=^H:kd=\EB:kh=\EH:kl=\ED:\
                   12511:        :kr=\EC:ku=\EA:le=^H:mb=\EM":me=\EM :mh=\EM\041:mk=\EM(:\
                   12512:        :mr=\EM$:nd=\EC:pf=^T:po=^R:se=\EM :so=\EM$:sr=\EI:ue=\EM :\
                   12513:        :up=\EA:us=\EM0:ve=\EP:vs=\EF\EQ\EM \ER 7:
                   12514:
1.2       deraadt  12515: ######## OBSOLETE UNIX CONSOLES
                   12516: #
                   12517:
1.13    ! millert  12518: #### Altos
        !          12519: #
        !          12520: # Altos made a moderately successful line of UNIX boxes.  In 1990 they were
        !          12521: # bought out by Acer, a major Taiwanese manufacturer of PC-clones.
        !          12522: # Acer has a web site at http://www.acer.com.
        !          12523: #
        !          12524: # Altos descriptions from Ted Mittelstaedt <tedm@agora.rain.com> 4 Sep 1993
        !          12525: # His comments suggest they were shipped with the system.
        !          12526: #
        !          12527:
        !          12528: # (altos2: had extension capabilities
        !          12529: #      :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
        !          12530: #      :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
        !          12531: #      :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
        !          12532: #      :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
        !          12533: #      :XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
        !          12534: #      :YU=^AQ\r:YD=^AR\r:YR=^AS\r:YL=^AT\r:\
        !          12535: #      :HL=^AP\r:SP=\E[i:\
        !          12536: #      :IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
        !          12537: #      :LO=\E[0q:LC=\E[5q:LL=\E[6q:\
        !          12538: # Comparison with the k* capabilities makes it obvious that the c* things are
        !          12539: # shift keys.  I have renamed them to keys 32 and up accordingly.  Also,
        !          12540: # :sr: was given as a boolean-- esr)
        !          12541: altos2|alt2|altos-2|altos II:\
        !          12542:        :co#80:it#8:li#24:sg#0:\
        !          12543:        :*5=^Am\r:*8=^An\r:DL=\E[M:FM=^A`\r:FN=^Aa\r:FO=^Ab\r:\
        !          12544:        :FP=^Ac\r:FQ=^Ad\r:FR=^Ae\r:FS=^Af\r:FT=^Ag\r:FU=^Ah\r:\
        !          12545:        :FV=^Ai\r:FW=^Aj\r:FX=^Ak\r:RA=\E[?7l:SA=\E[?7h:al=\E[L:\
        !          12546:        :cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
        !          12547:        :dc=\E[P:do=\E[1B:ei=:ho=\E[H:ic=\E[@:\
        !          12548:        :if=/usr/share/tabset/vt100:im=:\
        !          12549:        :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:k0=^AI\r:\
        !          12550:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
        !          12551:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=^AJ\r:kB=^AK\r:kC=^AL\r:\
        !          12552:        :kD=^AM\r:kE=^AN\r:kF=^AO\r:kb=^H:kd=\E[B:kh=\E[f:kl=\E[D:\
        !          12553:        :kr=\E[C:ku=\E[A:le=^H:me=\E[m:nd=\E[1C:nw=^M^J:se=\E[m:\
        !          12554:        :sf=^J:so=\E[7m:ta=^I:ue=\E[m:up=\E[1A:us=\E[4m:
        !          12555: # (altos3: had extension capabilities
        !          12556: #      :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
        !          12557: #      :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
        !          12558: #      :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
        !          12559: #      :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
        !          12560: #      :XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
        !          12561: #      :HL=^AP\r:SP=\E[i:\
        !          12562: #      :IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
        !          12563: altos3|altos5|alt3|alt5|altos-3|altos-5|altos III or V:\
        !          12564:        :mb=\E[5p:me=\E[p:sr=\EM:\
        !          12565:        :tc=altos2:
        !          12566: altos4|alt4|altos-4|altos IV:\
        !          12567:        :tc=wy50:
        !          12568: # (altos7: had extension capabilities:
        !          12569: #      :GG#0:GI=\EH8:GF=\EH7:\
        !          12570: #      :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
        !          12571: #      :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
        !          12572: #      :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
        !          12573: #      :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
        !          12574: # Comparison with the k* capabilities makes it obvious that the c* things are
        !          12575: # shift keys.  I have renamed them to keys 32 and up accordingly.  I have
        !          12576: # also made this entry relative to adm12 in order to give it an :sa:. The
        !          12577: # <invis> imported by use=adm+sgr may work, let me know. -- esr)
        !          12578: altos7|alt7|altos VII:\
        !          12579:        :am:mi:\
        !          12580:        :co#80:li#24:sg#0:\
        !          12581:        :*5=^Am\r:*8=^An\r:DL=\ER:FM=^A`\r:FN=^Aa\r:FO=^Ab\r:\
        !          12582:        :FP=^Ac\r:FQ=^Ad\r:FR=^Ae\r:FS=^Af\r:FT=^Ag\r:FU=^Ah\r:\
        !          12583:        :FV=^Ai\r:FW=^Aj\r:FX=^Ak\r:\
        !          12584:        :ac=j5k3l2m1n8q\072t4u9v=w0x6:al=\EE:cd=\EY:ce=\ET:\
        !          12585:        :cl=\E+^^:cm=\E=%+ %+ :cr=^M:dc=\EW:do=^J:ei=\Er:ho=^^:\
        !          12586:        :im=\Eq:is=\E`\072\Ee(\EO\Ee6\Ec41\E~4\Ec21\Eu\E~2:\
        !          12587:        :k0=^AI\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
        !          12588:        :k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=^AJ\r:kB=^AK\r:\
        !          12589:        :kC=^AL\r:kD=^AM\r:kE=^AN\r:kF=^AO\r:kN=\EK:kP=\EJ:kb=^H:\
        !          12590:        :kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:mb=\EG2:md=\EGt:mh=\EGp:\
        !          12591:        :mk=\EG1:nd=^L:nw=^M^J:pf=\EJ:po=\Ed#:sf=^J:sr=\Ej:ta=^I:\
        !          12592:        :up=^K:\
        !          12593:        :tc=adm+sgr:
        !          12594: altos7pc|alt7pc|altos PC VII:\
        !          12595:        :@7=\ET:tc=altos7:
        !          12596:
1.5       tholo    12597: #### Apollo consoles
                   12598: #
                   12599: # Apollo got bought by Hewlett-Packard.  The Apollo workstations are
                   12600: # labeled HP700s now.
                   12601: #
                   12602:
                   12603: # From: Gary Darland <goodmanc@garnet.berkeley.edu>
                   12604: apollo|apollo console:\
1.8       tholo    12605:        :am:bs:mi:\
1.5       tholo    12606:        :co#88:li#53:\
                   12607:        :al=\EI:cd=\EJ:ce=\EK:ch=\EN%d:cl=^L:cm=\EM%+ %d):cv=\EO+ :\
                   12608:        :dc=\EP:dl=\EL:do=\EB:ei=\ER:im=\EQ:le=^H:nd=\EC:se=\ET:\
                   12609:        :sf=\EE:so=\ES:sr=\ED:te=\EX:ti=\EW:ue=\EV:up=\EA:us=\EU:
                   12610:
                   12611: # We don't know whether or not the apollo guys replicated DEC's firmware bug
                   12612: # in the VT132 that reversed :ei:/:im:.  To be on the safe side, disable
                   12613: # both these capabilities.
                   12614: apollo_15P|apollo 15 inch display:\
                   12615:        :ei@:im@:tc=vt132:
                   12616: apollo_19L|apollo 19 inch display:\
                   12617:        :ei@:im@:tc=vt132:
                   12618: apollo_color|apollo color display:\
                   12619:        :ei@:im@:tc=vt132:
                   12620:
1.8       tholo    12621: #### Convergent Technology
                   12622: #
                   12623: # Burroughs bought Convergent shortly before it merged with Univac.
                   12624: # CTOS is (I believe) dead.  Probably the aws is too (this entry dates
                   12625: # from 1991 or earlier).
                   12626: #
                   12627:
                   12628: # Convergent AWS workstation from Gould/SEL UTX/32 via BRL
                   12629: # (aws: removed unknown :dn=^K: -- esr)
1.13    ! millert  12630: aws|Convergent Technologies AWS workstation under UTX and Xenix:\
1.8       tholo    12631:        :am:\
1.13    ! millert  12632:        :co#80:li#28:sg#0:\
1.8       tholo    12633:        :ac=:ae=\EAAF:al=\EIL:as=\EAAN:bc=^H:cd=\EEF:ce=\EEL:\
                   12634:        :ch=\EH%.:cl=^L:cm=\EC%r%.%.:cv=\EV%.:dc=\EDC:dl=\EDL:\
                   12635:        :do=^K:ei=:ic=\EIC:im=:kb=^H:kd=^K:kl=^N:kr=^R:ku=^A:\
                   12636:        :ma=\016h\013j\001k\022l\002m:nd=^R:nl=^J:se=\EARF:\
                   12637:        :sf=\ESU:so=\EARN:sr=\ESD:ue=\EAUF:up=^A:us=\EAUN:
                   12638: awsc|Convergent Technologies AWS workstation under CTOS:\
                   12639:        :am:\
1.13    ! millert  12640:        :co#80:li#24:sg#0:\
1.8       tholo    12641:        :ac=:ae=\EAAF:as=\EAAN:bc=^N:cd=\EEF:ce=\EEL:cl=^L:\
                   12642:        :cm=\EC%r%.%.:do=^K:kb=^H:kd=^K:kl=^N:kr=^R:ku=^A:\
                   12643:        :ma=\016h\013j\001k\022l\002m:nd=^R:se=\EAA:so=\EAE:\
                   12644:        :ue=\EAA:up=^A:us=\EAC:
                   12645:
                   12646: #### DEC consoles
                   12647: #
                   12648:
                   12649: # The MicroVax console.  Tim Theisen <tim@cs.wisc.edu> writes:
                   12650: # The digital uVax II's had a graphic display called a qdss.  It was
                   12651: # supposed to be a high performance graphic accelerator, but it was
                   12652: # late to market and barely appeared before faster dumb frame buffers
                   12653: # appeared.  I have only used this display while running X11.  However,
                   12654: # during bootup, it was in text mode, and probably had a terminal emulator
                   12655: # within it.  And that is what your termcap entry is for.  In graphics
                   12656: # mode the screen size is 1024x864 pixels.
                   12657: qdss|qdcons|qdss glass tty:\
                   12658:        :am:bs:\
                   12659:        :co#128:li#57:\
                   12660:        :cl=1\032:cm=\E=%.%.:do=^J:le=^H:nd=^L:up=^K:
                   12661:
1.5       tholo    12662: #### Fortune Systems consoles
                   12663: #
                   12664: # Fortune made a line of 68K-based UNIX boxes that were pretty nifty
                   12665: # in their day; I (esr) used one myself for a year or so around 1984.
                   12666: # They had no graphics, though, and couldn't compete against Suns and
                   12667: # the like.  R.I.P.
                   12668: #
                   12669:
                   12670: # From: Robert Nathanson <c160-3bp@Coral> via tut   Wed Oct 5, 1983
                   12671: # (This had extension capabilities
                   12672: #      :rv=\EH:re=\EI:rg=0:GG=0:\
                   12673: #      :CO=\E\\:WL=^Aa\r:WR=^Ab\r:CL=^Ac\r:CR=^Ad\r:DL=^Ae\r:RF=^Af\r:\
                   12674: #      :RC=^Ag\r:CW=^Ah\r:NU=^Aj\r:EN=^Ak\r:HM=^Al:PL=^Am\r:\
                   12675: #      :PU=^An\r:PD=^Ao\r:PR=^Ap\r:HP=^A@\r:RT=^Aq\r:TB=\r:CN=\177:MP=\E+F:
                   12676: # It had both ":bs:" and ":bs=^H:"; I removed the latter.  Also, it had
                   12677: # ":sg=0:" and ":ug=0:"; evidently the composer was trying (unnecessarily)
                   12678: # to force both magic cookie glitches off.  Once upon a time, I
                   12679: # used a Fortune myself, so I know the capabilities of the form ^A[a-z]\r are
                   12680: # function keys; thus the "Al" value for HM was certainly an error.  I renamed
                   12681: # EN/PD/PU/CO/CF/RT according to the XENIX/TC mappings, but not HM/DL/RF/RC.
                   12682: # I think :rv: and :re: are start/end reverse video and :rg: is a nonexistent
                   12683: # "reverse-video-glitch" capability; I have put :rv: and :re: in with standard
                   12684: # names below.  I've removed obsolete ":nl=5^J:" as there is a :do: -- esr)
                   12685: fos|fortune|Fortune system:\
1.8       tholo    12686:        :am:bs:bw:\
1.5       tholo    12687:        :co#80:li#25:\
1.13    ! millert  12688:        :@7=^Ak\r:@8=^Aq:ac=j*k(l m"q&v%w#x-:ae=^O:al=\034E:\
1.5       tholo    12689:        :as=\Eo:bl=^G:cd=\034Y:ce=^\Z:cl=\014:cm=\034C%+ %+ :cr=^M:\
                   12690:        :dc=\034W:dl=\034R:do=\n:ei=:ho=\036:ic=\034Q:im=:is=^_..:\
                   12691:        :k1=^Aa\r:k2=^Ab\r:k3=^Ac\r:k4=^Ad\r:k5=^Ae\r:k6=^Af\r:\
                   12692:        :k7=^Ag\r:k8=^Ah\r:kN=^Ao\r:kP=^An\r:kb=^H:kd=^Ay\r:\
                   12693:        :kh=^A?\r:kl=^Aw\r:kr=^Az\r:ku=^Ax\r:le=^H:mb=\EN:me=\EI:\
                   12694:        :mr=\EH:nw=^M^J:se=^\I`:sf=^J:so=^\H`:ta=^Z:ue=^\IP:up=\013:\
1.8       tholo    12695:        :us=^\HP:ve=\E\:vi=\E]:vs=\E\072:
1.5       tholo    12696:
1.13    ! millert  12697: #### IBM Unix consoles
        !          12698: #
        !          12699:
        !          12700: # The following is a version of the ibm-pc entry distributed with PC/IX,
        !          12701: # (Interactive Systems' System 3 for the Big Blue), modified by Richard
        !          12702: # McIntosh at UCB/CSM.  The :pt: and :uc: have been removed from the original,
        !          12703: # (the former is untrue, and the latter failed under UCB/man); standout and
        !          12704: # underline modes have been added.  Note: this entry describes the "native"
        !          12705: # capabilities of the PC monochrome display, without ANY emulation; most
        !          12706: # communications packages (but NOT PC/IX connect) do some kind of emulation.
        !          12707: pcix|PC/IX console:\
        !          12708:        :am:bw:eo:\
        !          12709:        :co#80:li#24:\
        !          12710:        :cd=\E[J:ce=\E[K:cl=\Ec:cm=\E[%i%2;%2H:do=\E[B:ho=\E[H:\
        !          12711:        :le=^H:me=\E[m:nd=\E[C:se=\E[m:so=\E[7m:ue=\E[m:up=\E[A:\
        !          12712:        :us=\E[4m:
        !          12713:
        !          12714: # (ibmpcx: this entry used to be known as ibmx.
        !          12715: # It formerly included the following extension capabilities:
        !          12716: #      :GC=b:GL=v:GR=t:RT=^J:\
        !          12717: #      :GH=\E[196g:GV=\E[179g:\
        !          12718: #      :GU=\E[193g:GD=\E[194g:\
        !          12719: #      :G1=\E[191g:G2=\E[218g:G3=\E[192g:G4=\E[217g:\
        !          12720: #      :CW=\E[E:NU=\E[F:RF=\E[G:RC=\E[H:\
        !          12721: #      :WL=\E[K:WR=\E[L:CL=\E[M:CR=\E[N:\
        !          12722: # I renamed GS/GE/WL/WR/CL/CR/PU/PD/HM/EN; also, removed a duplicate
        !          12723: # ":kh=\E[Y:".  Added IBM-PC forms characters and highlights, they match
        !          12724: # what was there before. -- esr)
        !          12725: ibmpcx|xenix|ibmx|IBM PC xenix console display:\
        !          12726:        :am:bs:ms:\
        !          12727:        :co#80:li#25:\
        !          12728:        :@7=\E[d:al=\E[L:cd=\E[J:ce=\E[K:cl=^L:cm=\E[%d;%dH:\
        !          12729:        :dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:k1=\E[K:\
        !          12730:        :k2=\E[L:k3=\E[M:k4=\E[N:kN=\E[e:kP=\E[Z:kb=^H:kd=\E[B:\
        !          12731:        :kh=\E[Y:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:nd=\E[C:up=\E[A:\
        !          12732:        :tc=klone+acs:tc=klone+sgr:
        !          12733:
        !          12734:
1.2       deraadt  12735: #### Masscomp consoles
                   12736: #
                   12737: # Masscomp has gone out of business.  Their product line was purchased by
                   12738: # comany in Georgia (US) called "XS International", parts and service may
                   12739: # still be available through them.
                   12740: #
                   12741:
                   12742: # (masscomp: ":MT:" changed to ":km:";  -- esr)
                   12743: masscomp|masscomp workstation console:\
1.8       tholo    12744:        :bs:km:mi:\
1.2       deraadt  12745:        :co#80:it#8:li#24:\
1.5       tholo    12746:        :al=\E[L:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:dc=\E[P:\
                   12747:        :dl=\E[M:do=\E[B:ei=\E[4l:im=\E[4h:is=\EGc\EGb\EGw:kb=^H:\
                   12748:        :kd=\EOB:kl=\EOD:kr=\EOC:ku=\EOA:le=^H:nd=\E[C:se=\E[m:\
                   12749:        :so=\E[7m:ta=^I:ue=\EGau:up=\E[A:us=\EGu:
1.2       deraadt  12750: masscomp1|masscomp large screen version 1:\
1.3       deraadt  12751:        :co#104:li#36:tc=masscomp:
1.2       deraadt  12752: masscomp2|masscomp large screen version 2:\
1.3       deraadt  12753:        :co#64:li#21:tc=masscomp:
                   12754:
1.13    ! millert  12755:
        !          12756: #### Sony NEWS workstations
        !          12757: #
        !          12758:
        !          12759: # (news-unk: this had :KB=news: -- esr)
        !          12760: news-unk|SONY NEWS vt100 emulator common entry:\
        !          12761:        :am:bs:pt:xn:\
        !          12762:        :co#80:\
        !          12763:        :AL=\E[%dL:DL=\E[%dM:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:\
        !          12764:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
        !          12765:        :dl=\E[M:do=^J:ho=\E[H:if=/usr/lib/tabset/vt100:\
        !          12766:        :is=\E[?7h\E[?1l\E[?3l\E7\E8:k0=\EOY:k1=\EOP:k2=\EOQ:\
        !          12767:        :k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:k9=\EOX:\
        !          12768:        :kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
        !          12769:        :ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
        !          12770:        :nl=^J:rc=\E8:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[r:\
        !          12771:        :sc=\E7:se=\E[m:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:\
        !          12772:        :us=\E[4m:
        !          12773: #
        !          12774: # (news-29: this had :TY=ascii: --esr)
        !          12775: news-29:\
        !          12776:        :li#29:tc=news-unk:
        !          12777: # (news-29-euc: this had :TY=euc: --esr)
        !          12778: news-29-euc:\
        !          12779:        :tc=news-29:
        !          12780: # (news-29-sjis: this had :TY=sjis: --esr)
        !          12781: news-29-sjis:\
        !          12782:        :tc=news-29:
        !          12783: #
        !          12784: # (news-33: this had :TY=ascii: --esr)
        !          12785: news-33:\
        !          12786:        :li#33:tc=news-unk:
        !          12787: # (news-33-euc: this had :TY=euc: --esr)
        !          12788: news-33-euc:\
        !          12789:        :tc=news-33:
        !          12790: # (news-33-sjis: this had :TY=sjis: --esr)
        !          12791: news-33-sjis:\
        !          12792:        :tc=news-33:
        !          12793: #
        !          12794: # (news-42: this had :TY=ascii: --esr)
        !          12795: news-42:\
        !          12796:        :li#42:tc=news-unk:
        !          12797: # (news-42-euc: this had :TY=euc: --esr)
        !          12798: news-42-euc:\
        !          12799:        :tc=news-42:
        !          12800: # (news-42-sjis: this had :TY=sjis: --esr)
        !          12801: news-42-sjis:\
        !          12802:        :tc=news-42:
        !          12803: #
        !          12804: #      NEWS-OS old termcap entry
        !          12805: #
        !          12806: # (news-old-unk: this had :KB=news:TY=sjis: --esr)
        !          12807: news-old-unk|SONY NEWS vt100 emulator common entry:\
        !          12808:        :am:bs:pt:xn:\
        !          12809:        :co#80:vt#3:\
        !          12810:        :bl=^G:cd=\E[J:ce=\E[K:cl=\E[;H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
        !          12811:        :cs=\E[%i%d;%dr:do=^J:ho=\E[H:if=/usr/lib/tabset/vt100:\
        !          12812:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:\
        !          12813:        :ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
        !          12814:        :mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nl=^J:rc=\E8:\
        !          12815:        :rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:sc=\E7:se=\E[m:\
        !          12816:        :so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
        !          12817: #
        !          12818: # (nwp512: this had :DE=^H:, which I think means :bs: --esr)
        !          12819: nwp512|news|nwp514|news40|vt100-bm|sony vt100 emulator 40 lines:\
        !          12820:        :bs:\
        !          12821:        :li#40:\
        !          12822:        :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:
        !          12823: #
        !          12824: # (nwp512-a: this had :TY=ascii: and the alias vt100-bm --esr)
        !          12825: nwp512-a|nwp514-a|news-a|news42|news40-a|sony vt100 emulator 42 line:\
        !          12826:        :li#42:\
        !          12827:        :is=\E[?7h\E[?1l\E[?3l\E7\E[1;42r\E8:tc=news-old-unk:
        !          12828: #
        !          12829: # (nwp-512-o: this had :KB=nwp410:DE=^H:  I interpret the latter as :bs:. --esr)
        !          12830: nwp512-o|nwp514-o|news-o|news40-o|vt100-bm-o|sony vt100 emulator 40 lines:\
        !          12831:        :bs:\
        !          12832:        :li#40:\
        !          12833:        :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:
        !          12834: #
        !          12835: # (nwp513: this had :DE=^H: and the alias vt100-bm --esr)
        !          12836: nwp513|nwp518|nwe501|newscbm|news31|sony vt100 emulator 33 lines:\
        !          12837:        :bs:\
        !          12838:        :li#31:\
        !          12839:        :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:
        !          12840: #
        !          12841: # (nwp513-a: this had :TY=ascii: and :DE=^H:, which I interpret as :bs:; --esr)
        !          12842: # also the alias vt100-bm.
        !          12843: nwp513-a|nwp518-a|nwe501-a|nwp251-a|newscbm-a|news31-a|newscbm33|news33|sony vt100 emulator 33 lines:\
        !          12844:        :bs:\
        !          12845:        :li#33:\
        !          12846:        :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:
        !          12847: #
        !          12848: # (nwp513-o: had :DE=^H:, I think that's :bs:; also the alias vt100-bm --esr)
        !          12849: nwp513-o|nwp518-o|nwe501-o|nwp251-o|newscbm-o|news31-o|sony vt100 emulator 33 lines:\
        !          12850:        :bs:\
        !          12851:        :li#31:\
        !          12852:        :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:
        !          12853: #
        !          12854: # (news28: this had :DE=^H:, I think that's :bs:, and :KB=nws1200: --esr)
        !          12855: news28|sony vt100 emulator 28 lines:\
        !          12856:        :bs:\
        !          12857:        :li#28:\
        !          12858:        :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:
        !          12859: #
        !          12860: # (news29: this had :TY=ascii:KB=nws1200:\ --esr)
        !          12861: news29|news28-a|sony vt100 emulator 29 lines:\
        !          12862:        :li#29:\
        !          12863:        :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:
        !          12864: #
        !          12865: # (news511: this had :TY=sjis: --esr)
        !          12866: nwp511|nwp-511|nwp-511 vt100:\
        !          12867:        :am:bs:pt:xn:\
        !          12868:        :co#80:li#24:\
        !          12869:        :al=\E[L:cd=30\E[J:ce=3\E[K:cl=20\E[;H\E[2J:\
        !          12870:        :cm=\E[%i%d;%dH:dl=\E[M:is=\E[?5l\E[?1l\E>\E[?7h\E[?8h:\
        !          12871:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:k6=\E#W:kd=\E[B:\
        !          12872:        :kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:nd=\E[C:\
        !          12873:        :rs=\E7\E[r\E8\E[?5l\E[?1l\E>\E[?7h\E[?8h:se=2\E[m:\
        !          12874:        :so=2\E[7m:sr=5\EM:ue=2\E[m:up=2\E[A:us=2\E[4m:\
        !          12875:        :vb=\E[?5h\0\0\0\0\0\0\0\0\0\0\0\0\0\E[?5l:
        !          12876: # (news517: this had :TY=sjis:. --esr)
        !          12877: nwp517|nwp-517|nwp-517 vt200 80 cols 30 rows:\
        !          12878:        :es:hs:\
        !          12879:        :co#80:li#30:\
        !          12880:        :ds=\E[1$~:fs=\E[0$}:i2=\E[2$~\n:\
        !          12881:        :is=\E7\E[r\E8\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
        !          12882:        :ts=\E[1$}\E[;%df:\
        !          12883:        :tc=vt200:
        !          12884: # (news517-w: this had :TY=sjis:. --esr)
        !          12885: nwp517-w|nwp-517-w|nwp-517 vt200 132 cols 50 rows:\
        !          12886:        :es:hs:\
        !          12887:        :co#132:li#50:\
        !          12888:        :ds=\E[1$~:fs=\E[0$}:i2=\E[2$~\n:\
        !          12889:        :is=\E7\E[r\E8\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h:\
        !          12890:        :rs=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h:\
        !          12891:        :ts=\E[1$}\E[;%df:tc=vt200:
        !          12892:
        !          12893: #### Obsolete virtual-terminal types.
        !          12894: #
        !          12895:
        !          12896: # Columbus UNIX virtual terminal. This terminal also appears in
        !          12897: # UNIX 4.0 and successors as line discipline 1 (?), but is
        !          12898: # undocumented and does not really work quite right.
        !          12899: cbunix|cb unix virtual terminal:\
        !          12900:        :am:bs:da:db:\
        !          12901:        :co#80:li#24:lm#0:\
        !          12902:        :al=\EP:bl=^G:cd=\EL:ce=\EK:cl=\EL:cm=\EG%r%.%.:cr=^M:\
        !          12903:        :dc=\EM:dl=\EN:do=^J:ei=:ic=\EO:im=:kd=\EB:kh=\EE:kl=\ED:\
        !          12904:        :kr=\EC:ku=\EA:le=^H:nd=\EC:se=\Eb^D:sf=^J:so=\Ea^D:\
        !          12905:        :ue=\Eb^A:up=\EA:us=\Ea^A:
        !          12906: # (vremote: removed obsolete ":nl@:" -- esr)
        !          12907: vremote|virtual remote terminal:\
        !          12908:        :am@:\
        !          12909:        :co#79:tc=cbunix:
        !          12910:
        !          12911: pty|4bsd pseudo teletype:\
        !          12912:        :cm=\EG%+ %+ :se=\Eb$:so=\Ea$:ue=\Eb\041:us=\Ea\041:tc=cbunix:
        !          12913:
1.1       deraadt  12914: ######## OTHER OBSOLETE TYPES
                   12915: #
                   12916: # These terminals are *long* dead -- these entries are retained for
                   12917: # historical interest only.
1.5       tholo    12918: #
1.1       deraadt  12919:
                   12920: #### Obsolete non-ANSI software emulations
                   12921: #
                   12922:
1.13    ! millert  12923: #### Avatar
        !          12924: #
        !          12925: # These entries attempt to describe Avatar, a terminal emulation used with
        !          12926: # MS-DOS bulletin-board systems.  It was designed to give ANSI-like
        !          12927: # capabilities, but with cheaper (shorter) control sequences.  Messy design,
        !          12928: # excessively dependent on PC idiosyncracies, but apparently rather popular
        !          12929: # in the BBS world.
        !          12930: #
        !          12931: # No color support.  Avatar doesn't fit either of the Tektronix or HP color
        !          12932: # models that terminfo knows about.  An Avatar color attribute is the
        !          12933: # low 7 bits of the IBM-PC display-memory attribute.  Bletch.
        !          12934: #
        !          12935: # I wrote these entries while looking at the Avatar spec.  I don't have
        !          12936: # the facilities to test them.  Let me know if they work, or don't.
        !          12937: #
        !          12938: # Avatar escapes not used by these entries (because maybe you're smarter
        !          12939: # and more motivated than I am and can figure out how to wrap terminfo
        !          12940: # around some of them, and because they are weird enough to be funny):
        !          12941: #                              level 0:
        !          12942: # ^L           -- clear window/reset current attribute to default
        !          12943: # ^V^A%p1%c    -- set current color attribute, parameter decodes as follows:
        !          12944: #
        !          12945: #      bit:         6   5   4   3   2   1   0
        !          12946: #                   |       |   |   |       |
        !          12947: #                   +---+---+   |   +---+---+
        !          12948: #                       |       |       |
        !          12949: #                       |       |  foreground color
        !          12950: #                       |  foreground intensity
        !          12951: #                  background color
        !          12952: #                              level 0+:
        !          12953: # ^V^J%p1%c%p2%c%p3%c%p4%c%p5%c        -- scroll (p2,p3) to (p4,p5) up by p1 lines
        !          12954: # ^V^K%p1%c%p2%c%p3%c%p4%c%p5%c        -- scroll (p2,p3) to (p4,p5) down by p1 lines
        !          12955: # ^V^L%p1%c%p2%c%p3%c          -- clear p2 lines and p3 cols w/attr %p1
        !          12956: # ^V^M%p1%c%p2%c%p3%c%p4%c     -- fill p3 lines & p4 cols w/char p2+attr %p1
        !          12957: # (^V^L and ^V^M set the current attribute as a side-effect.)
        !          12958: # ^V ^Y <a> [...] <c>  -- repeat pattern. <a> specifies the number of bytes
        !          12959: #                         in the pattern, <c> the number of times the pattern
        !          12960: #                         should be repeated. If either value is 0, no-op.
        !          12961: #                         The pattern can contain Avatar console codes,
        !          12962: #                         including other ^V ^Y patterns.
        !          12963: #                              level 1:
        !          12964: # ^V^O         -- clockwise mode on; turn print direction right each time you
        !          12965: #                 hit a window edge (yes, really).  Turned off by CR
        !          12966: # ^V^P         -- no-op
        !          12967: # ^V^Q%c       -- query the driver
        !          12968: # ^V^R         -- driver reset
        !          12969: # ^V^S         -- Sound tone (PC-specific)
        !          12970: # ^V^T                 -- change highlight at current cursor poition to %c
        !          12971: # ^V^U%p1%c%p2%c       -- highlight window <a> with attribute <b>
        !          12972: # ^V^V%p1%c%p2%c%p3%c%p4%c%p5%c
        !          12973: #                      -- define window
        !          12974: #
        !          12975: # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
        !          12976: # (The :mb:/:md:/:mr:/:as:/:us:/:so: capabilities exist only to
        !          12977: # tell ncurses that the corresponding highlights exist; it should use :sa:,
        !          12978: # which is the only method that will actually work for multiple highlights.)
        !          12979: avatar0|avatar terminal emulator level 0:\
        !          12980:        :am:ms:ut:\
        !          12981:        :co#80:it#8:li#25:\
        !          12982:        :as=:ce=^V^G:cm=\026\010%.%.:cr=^M:do=^V^D:le=^V^E:\
        !          12983:        :mb=^A^V\177:md=^V^A^P:me=^V^A^G:mk=^V^A\0:mr=^A^Vp:\
        !          12984:        :nd=^V^F:r2=^L:rp=\031%.%d:\
        !          12985:        :..sa=\026\001%{0}%?%p1%t%{112}%|%;%?%p2%t%{1}%|%;%?%p3%t%{112}%|%;%?%p4%t{128}%|%;%?%p6%t%{16}%|%;:\
        !          12986:        :sf=^J:so=^A^Vp:up=^V^C:us=^V^A:\
        !          12987:        :tc=klone+acs:
        !          12988: # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
        !          12989: avatar0+|avatar terminal emulator level 0+:\
        !          12990:        :dc=^V^N:ei=\026\n\0\0\0\0:im=^V^I:tc=avatar0:
        !          12991: # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
        !          12992: avatar|avatar1|avatar terminal emulator level 1:\
        !          12993:        :RA=^V":SA=^V$:al=^V+:dl=^V-:ei=^V^P:ve=^V'^A:vi=^V'^B:\
        !          12994:        :vs=^V^C:\
        !          12995:        :tc=avatar0+:
        !          12996:
        !          12997: #### RBcomm
        !          12998: #
        !          12999: # RBComm is a lean and mean terminal emulator written by the Interrupt List
        !          13000: # maintainer, Ralf Brown. It was fairly popular in the late DOS years (early
        !          13001: # '90s), especially in the BBS world, and still has some loyal users due to
        !          13002: # its very small memory footprint and to a cute macro language.
        !          13003: rbcomm|IBM PC with RBcomm and EMACS keybindings:\
        !          13004:        :am:bw:mi:ms:xn:\
        !          13005:        :co#80:it#8:li#25:\
        !          13006:        :AL=\E[%dL:DL=\E[%dM:al=^K:bl=^G:bt=\E[Z:cd=^F5:ce=^P^P:\
        !          13007:        :cl=^L:cm=\037%r%+ %+ :cr=^M:cs=\E[%i%d;%dr:dc=^W:dl=^Z:\
        !          13008:        :dm=:do=^C:ec=\E[%dX:ed=:ei=^]:im=^\:\
        !          13009:        :is=\017\035\E(B\E)0\E[?7h\E[?3l\E[>8g:kb=^H:kd=^N:\
        !          13010:        :ke=\E>:kh=^A:kl=^B:kr=^F:ks=\E=:ku=^P:le=^H:mb=\E[5m:\
        !          13011:        :md=\E[1m:me=\E[m:mk=\E[8m:mr=^R:nd=^B:nw=^M\ED:\
        !          13012:        :r1=\017\E(B\E)0\025\E[?3l\E[>8g:rc=\E8:rp=\030%.%.:\
        !          13013:        :sc=\E7:se=^U:sf=\ED:so=^R:sr=\EM:ta=^I:te=:ti=:ue=^U:up=^^:\
        !          13014:        :us=^T:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
        !          13015: rbcomm-nam|IBM PC with RBcomm without autowrap:\
        !          13016:        :am@:\
        !          13017:        :bl=^G:cr=^M:do=^J:\
        !          13018:        :is=\017\035\E(B\E)0\E[?7l\E[?3l\E[>8g:kb=^H:kd=^J:\
        !          13019:        :kl=^H:nw=^M^J:sf=^J:ta=^I:\
        !          13020:        :tc=rbcomm:
        !          13021: rbcomm-w|IBM PC with RBcomm in 132 column mode:\
        !          13022:        :co#132:\
        !          13023:        :bl=^G:cr=^M:do=^J:\
        !          13024:        :is=\017\035\E(B\E)0\E[?7h\E[?3h\E[>8g:kb=^H:kd=^J:\
        !          13025:        :kl=^H:nw=^M^J:sf=^J:ta=^I:\
        !          13026:        :tc=rbcomm:
        !          13027:
1.1       deraadt  13028: # CTRM terminal emulator
                   13029: # 1. underlining is not allowed with colors: first, is is simulated by
                   13030: # black on white, second, it disables background color manipulations.
                   13031: # 2. BLINKING, REVERSE and BOLD are allowed with colors,
                   13032: # so we have to save their status in the static registers A, B and H
                   13033: # respectively, to be able to restore them when color changes
                   13034: # (because any color change turns off ALL attributes)
1.5       tholo    13035: # 3. :md: and :mr: sequences alternate modes,
1.1       deraadt  13036: # rather then simply  entering them.  Thus we have to check the
                   13037: # static register B and H to determine the status, before sending the
                   13038: # escape sequence.
1.5       tholo    13039: # 4. :me: now must set the status of all 3 register (A,B,H) to zero
1.1       deraadt  13040: # and then reset colors
                   13041: # 5. implementation of the protect mode would badly penalize the performance.
                   13042: # we would have to use \E&bn sequence to turn off colors (as well as all
                   13043: # other attributes), and keep the status of protect mode in yet another
1.3       deraadt  13044: # static variable.  If someone really needs this mode, they would have to
1.1       deraadt  13045: # create another terminfo entry.
                   13046: # 6. original color-pair is white on black.
                   13047: # store the information about colors into static registers
                   13048: # 7. set foreground color.  it performs the following steps.
                   13049: #   1) turn off all attributes
1.3       deraadt  13050: #   2) turn on the background and video attributes that have been turned
1.1       deraadt  13051: #      on before (this information is stored in static registers X,Y,Z,A,B,H,D).
                   13052: #   3) turn on foreground attributes
                   13053: #   4) store information about foreground into U,V,W static registers
                   13054: # 8. turn on background: similar to turn on foreground above
1.3       deraadt  13055: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.1       deraadt  13056: ctrm|C terminal emulator:\
1.3       deraadt  13057:        :am:ut:xo:\
1.5       tholo    13058:        :Co#8:NC#2:Nl#0:co#80:lh#0:li#24:lm#0:lw#0:pa#63:pb#19200:vt#6:\
                   13059:        :al=\EL:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\EH\EJ:\
                   13060:        :cm=\E&a%r%dc%dY:cr=^M:ct=\E3:cv=\E&a%dY:dc=\EP:dl=\EM:\
                   13061:        :do=^J:ei=\ER:im=\EQ:ip=:is=\E&jA\r:k1=\Ep\r:k2=\Eq\r:\
                   13062:        :k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:k7=\Ev\r:k8=\Ew\r:\
                   13063:        :kb=^H:kd=\Ew\r:ke=\E&jA:kh=\Ep\r:kl=\Eu\r:kr=\Ev\r:\
                   13064:        :ks=\E&jB:ku=\Et\r:le=^H:mb=\E&dA%{1}%PA:\
                   13065:        :md=%?%gH%{0}%=%t\E&dH%{1}%PH%;:\
1.1       deraadt  13066:        :me=\E&d@%{0}%PA%{0}%PB%{0}%PH:\
                   13067:        :mr=%?%gB%{0}%=%t\E&dB%{1}%PB%;:nd=\EC:\
1.13    ! millert  13068:        :op=\E&bn\E&bB\E&bG\E&bR%{0}%PX%{0}%PY%{0}%PZ%{1}%PW%{1}%PV%{1}%PU:\
1.1       deraadt  13069:        :sf=^J:so=\E&dD:st=\E1:ta=\011:up=\EA:us=\E&dD:
                   13070:
                   13071: # gs6300 - can't use blue foreground, it clashes with underline;
                   13072: # it's simulated with cyan
1.5       tholo    13073: # Bug: The <op> capability probably resets attributes.
                   13074: # (gs6300: commented out <rmln> (no <smln>) --esr)
1.2       deraadt  13075: gs6300|emots|AT&T PC6300 with EMOTS terminal emulator:\
1.3       deraadt  13076:        :am:ms:ut:xo:\
                   13077:        :Co#8:co#80:it#8:li#24:pa#63:\
1.1       deraadt  13078:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.5       tholo    13079:        :LE=\E[%dD:RI=\E[%dC:Sb=\E[?;%dm:\
1.13    ! millert  13080:        :..Sf=\E[?%?%p1%{0}%=%t0%e%p1%{1}%=%t2%e%p1%{1}%-%d%;m:\
1.3       deraadt  13081:        :UP=\E[%dA:\
1.13    ! millert  13082:        :ac=++\054\054--..``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1.3       deraadt  13083:        :ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:cd=\E[J:ce=\E[K:\
1.5       tholo    13084:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:\
                   13085:        :ei=:ho=\E[H:ic=\E[@:im=:is=\E[m:k1=\E[0s:k2=\E[24s:\
                   13086:        :k3=\E[1s:k4=\E[23s:k5=\E[2s:k6=\E[22s:k7=\E[3s:k8=\E[21s:\
                   13087:        :kB=^R^I:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
                   13088:        :le=^H:mb=\E[5m:md=\E[1m:me=\E[m\E[10m:mr=\E[7m:nd=\E[C:\
                   13089:        :op=\E[?;m:pf=\E[4i:po=\E[5i:r1=\Ec:sf=^J:so=\E[1m:sr=\E[L:\
                   13090:        :ta=^I:up=\E[A:us=\E[4m:
1.1       deraadt  13091:
                   13092: # From: <earle@smeagol.UUCP> 29 Oct 85 05:40:18 GMT
                   13093: # MS-Kermit with Heath-19 emulation mode enabled
                   13094: # (h19k: changed ":pt@:" to ":it@"
                   13095: h19k|h19kermit|heathkit emulation provided by Kermit (no auto margin):\
                   13096:        :am@:da:db:xt:\
                   13097:        :it@:\
                   13098:        :ta@:tc=h19-u:
                   13099:
1.5       tholo    13100: # Apple Macintosh with Versaterm, a terminal emulator distributed by Synergy
                   13101: # Software (formerly Peripherals Computers & Supplies, Inc) of
                   13102: # 2457 Perkiomen Ave., Reading, PA 19606, 1-800-876-8376.  They can
                   13103: # also be reached at support@synergy.com.
1.2       deraadt  13104: versaterm|versaterm vt100 emulator for the macintosh:\
                   13105:        :am:xn:\
                   13106:        :co#80:it#8:li#24:\
                   13107:        :al=9\E[1L:bl=^G:cd=50\E[J:ce=3\E[K:cl=50\E[;H\E[2J:\
                   13108:        :cm=5\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:dc=7\E[1P:\
                   13109:        :dl=9\E[1M:do=^J:ei=:ho=\E[H:ic=7\E[1@:im=:\
                   13110:        :is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
1.5       tholo    13111:        :kb=^H:kd=\EOB:ke=\E>\E[?1l:kl=\EOD:kr=\EOC:ks=\E=\E[?1h:\
                   13112:        :ku=\EOA:le=^H:mb=2\E[5m:md=2\E[1m:me=2\E[m:mr=2\E[7m:\
                   13113:        :nd=2\E[C:nw=^M^J:r1=\E>:rc=\E8:\
                   13114:        :rf=/usr/share/tabset/vt100:sc=\E7:se=2\E[m:so=2\E[7m:\
1.3       deraadt  13115:        :sr=5\EM:ta=^I:ue=2\E[m:up=2\E[A:us=2\E[4m:
1.1       deraadt  13116:
                   13117: # From: Rick Thomas <ihnp4!btlunix!rbt>
1.2       deraadt  13118: # (xtalk: I added <rmam>/<smam> based on the init string.
1.1       deraadt  13119: xtalk|IBM PC with xtalk communication program (versions up to 3.4):\
                   13120:        :am:mi:ms:xo:\
1.13    ! millert  13121:        :co#80:it#8:li#24:sg#1:vt#3:\
1.5       tholo    13122:        :@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
                   13123:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
1.3       deraadt  13124:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
                   13125:        :ae=^O:al=\E[L:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
1.5       tholo    13126:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:dl=\E[M:do=^J:\
                   13127:        :eA=\E(B\E)0:ho=\E[H:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:\
                   13128:        :k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:\
                   13129:        :kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
                   13130:        :ku=\EOA:le=^H:me=\E[m:nd=\E[C:\
1.13    ! millert  13131:        :r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:se=\E[m :sf=^J:\
        !          13132:        :so=\E[7m :sr=\EM:st=\EH:ta=^I:up=\E[A:
1.1       deraadt  13133:
                   13134: # The official PC terminal emulator program of the AT&T Product Centers.
                   13135: # Note - insert mode commented out - doesn't seem to work on AT&T PC.
                   13136: simterm|attpc running simterm:\
                   13137:        :am:\
                   13138:        :co#80:li#24:\
1.5       tholo    13139:        :al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\E=%+ %+ :cr=^M:\
1.8       tholo    13140:        :dc=\ER:dl=\EM:do=\EB:ho=\EH:le=^H:me=\E&d@:nd=\EC:se=\E&d@:\
                   13141:        :sf=^J:so=\E&dB:te=\EVE:ti=\EVS:up=\EA:
1.1       deraadt  13142:
                   13143: #### Miscellaneous obsolete terminals, manufacturers unknown
                   13144: #
                   13145: # If you have any information about these (like, a manufacturer's name,
                   13146: # and a date on the serial-number plate) please send it!
                   13147:
                   13148: cad68-3|cgc3|cad68 basic monitor transparent mode size 3 chars:\
1.8       tholo    13149:        :am:bs:\
1.1       deraadt  13150:        :co#73:li#36:\
1.2       deraadt  13151:        :cl=^Z:ho=^^:le=^H:nd=^L:up=^K:
1.1       deraadt  13152: cad68-2|cgc2|cad68 basic monitor transparent mode size 2 chars:\
1.8       tholo    13153:        :am:bs:\
1.1       deraadt  13154:        :co#85:li#39:\
1.5       tholo    13155:        :cl=^Z:ho=^^:k1=\E5:k2=\E6:k3=\E7:k4=\E8:kd=\E2:kl=\E3:\
                   13156:        :kr=\E4:ku=\E1:le=^H:nd=^L:se=\Em^C:so=\Em^L:up=^K:
1.2       deraadt  13157: cops10|cops|cops-10|cops 10:\
1.1       deraadt  13158:        :am:bw:\
                   13159:        :co#80:li#24:\
1.5       tholo    13160:        :bl=^G:cd=^W:ce=^V:cl=30\030:cm=\020%+ %+ :cr=^M:do=^J:\
                   13161:        :kb=^H:kd=^J:kh=^Y:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:sf=^J:up=^K:
1.8       tholo    13162: # (d132: removed duplicate :ic=\E5:,
                   13163: # merged in capabilities from a BRL entry -- esr)
1.1       deraadt  13164: d132|datagraphix|datagraphix 132a:\
                   13165:        :da:db:in:\
                   13166:        :co#80:li#30:\
1.8       tholo    13167:        :al=\E3:bl=^G:cl=^L:cm=\E8%i%3%3:cr=^M:dc=\E6:do=^J:ei=:\
                   13168:        :ho=\ET:ic=\E5:im=:kb=^H:kd=^J:kl=^H:le=^H:nd=\EL:nw=^M^J:\
                   13169:        :sf=^J:sr=\Ew:ta=^I:up=\EK:ve=\Em\En:vs=\Ex:
1.1       deraadt  13170: # The d800 was an early portable terminal from c.1984-85 that looked a lot
                   13171: # like the original Compaq `lunchbox' portable (but no handle).  It had a vt220
                   13172: # mode (which is what this entry looks like) and several other lesser-known
                   13173: # emulations.
                   13174: d800|Direct 800/A:\
1.8       tholo    13175:        :am:bs:da:db:ms:xs:\
1.2       deraadt  13176:        :co#80:it#8:li#24:\
1.5       tholo    13177:        :ac=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~:\
                   13178:        :ae=\E[m:as=\E[1m:bl=^G:cd=\E[J:ce=\E[K:cl=\E[1;1H\E[2J:\
                   13179:        :cm=\E[%i%d;%dH:cr=^M:do=^J:k1=\EOP:k2=\EOQ:k3=\EOR:\
                   13180:        :k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:kd=\E[B:kl=\E[D:\
                   13181:        :kr=\E[C:ku=\E[A:le=^H:me=\E[m:nd=\E[C:se=\E[m:sf=\ED:\
                   13182:        :so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[>12h:\
                   13183:        :vs=\E[>12l:
1.1       deraadt  13184: digilog|digilog 333:\
1.8       tholo    13185:        :bs:\
1.1       deraadt  13186:        :co#80:li#16:\
1.5       tholo    13187:        :bl=^G:ce=^X:cr=^M:do=^J:ho=^N:le=^H:nd=^I:sf=^J:up=^O:
                   13188: # The DWK was a terminal manufactured in the Soviet Union c.1986
                   13189: dwk|dwk-vt|dwk terminal:\
                   13190:        :am:\
                   13191:        :co#80:it#8:li#24:\
1.13    ! millert  13192:        :ac=+\136\054Q-S.M0\177`+a\072f'g#h#i#jXkClJmFnNo~qUs_tEuPv\wKxW~_:\
1.5       tholo    13193:        :ae=\EG:as=\EF:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :\
                   13194:        :cr=^M:dc=\EP:do=^J:ei=:ho=\EH:ic=\EQ:im=:k1=\Ef1:k2=\Ef2:\
                   13195:        :k3=\Ef3:k4=\Ef4:k5=\Ef5:k6=\Ef6:k7=\Ef7:k8=\Ef8:k9=\Ef9:\
                   13196:        :k;=\Ef0:kD=\Ee:kI=\Ed:kN=\Eh:kP=\Eg:kb=\177:kd=\EB:kl=\ED:\
                   13197:        :kr=\EC:ku=\EA:le=^H:me=\EX:mr=\ET:nd=\EC:nw=^M^J:se=\EX:\
                   13198:        :sf=^J:so=\ET:sr=\ES:ta=^I:up=\EA:
1.1       deraadt  13199: env230|envision230|envision 230 graphics terminal:\
1.2       deraadt  13200:        :xn@:\
1.3       deraadt  13201:        :pf=\E[4i:po=\E[5i:ps=\E[0i:\
1.2       deraadt  13202:        :..sa=\E[%?%p1%t;1%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m:tc=vt100:
1.1       deraadt  13203: # These execuports were impact-printer ttys with a 30- or maybe 15-cps acoustic
                   13204: # coupler attached, the whole rig fitting in a suitcase and more or less
                   13205: # portable.  Hot stuff for c.1977 :-) -- esr
                   13206: ep48|ep4080|execuport 4080:\
1.8       tholo    13207:        :am:bs:os:\
1.1       deraadt  13208:        :co#80:\
                   13209:        :bl=^G:cr=^M:do=^J:hd=^\:hu=^^:le=^H:sf=^J:
                   13210: ep40|ep4000|execuport 4000:\
1.3       deraadt  13211:        :co#136:tc=ep4080:
1.1       deraadt  13212: # Adam Thompson <thompson@xanth.magic.mb.ca> tells us:
                   13213: # Informer series - these are all portable units, resembling older
                   13214: # automatic bread-baking machines.  The terminal looks like a `clamshell'
                   13215: # design, but isn't.  The structure is similar to the Direct terminals,
                   13216: # but only half the width.  The entire unit is only about 10" wide.
                   13217: # It features an 8" screen (6" or 7" if you have color!), and an 9"x6"
                   13218: # keyboard.  All the keys are crammed together, much like some laptop
                   13219: # PCs today, but perhaps less well organized...all these units have a
                   13220: # bewildering array of plugs on the back, including a built-in modem.
                   13221: # The 305 was a color version of the 304; the 306 and 307 were mono and
                   13222: # color terminals built for IBM bisync protocols.
                   13223: # From: Paul Leondis <unllab@amber.berkeley.edu>
                   13224: ifmr|Informer D304:\
1.8       tholo    13225:        :am:bs:\
1.1       deraadt  13226:        :co#80:li#24:\
1.8       tholo    13227:        :cd=\E/:ce=\EQ:cl=\EZ:cm=\EY%r%+ %+ :dc=\E\:do=^J:ei=:\
1.5       tholo    13228:        :ho=\EH:ic=\E[:im=:le=^H:me=\EK:nd=\EC:se=\EK:so=\EJ:sr=\En:\
                   13229:        :up=\EA:
1.1       deraadt  13230: # Entry largely based on wy60 and has the features of wy60ak.
1.3       deraadt  13231: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   13232: # (sgr removed to fit entry within 1023 bytes)
                   13233: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.2       deraadt  13234: opus3n1+|Esprit Opus3n1+ in wy60 mode with ANSI arrow keys:\
1.1       deraadt  13235:        :am:bw:hs:km:mi:ms:ul:xo:\
                   13236:        :co#80:li#24:ws#80:\
1.5       tholo    13237:        :ae=\EH^C:al=\EE:as=\EH^B:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E*:\
                   13238:        :cm=\Ea%i%dR%dC:cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\Ez(\r:\
                   13239:        :ei=\Er:fs=^M:ho=\036:if=/usr/share/tabset/std:im=\Eq:ip=:\
1.2       deraadt  13240:        :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    13241:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
                   13242:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\EQ:kN=\EK:kP=\EJ:\
                   13243:        :kb=^H:kd=\E[B:kh=^^:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\EG2:\
                   13244:        :me=\E(\EH\003\EG0\EcD:mh=\EGp:nd=^L:nw=\r\n:sf=^J:sr=\Ej:\
1.8       tholo    13245:        :st=\E1:ta=\011:te=:\
1.2       deraadt  13246:        :ti=\Ezz&\E[A\177\Ezz'\E[B\177\Ezz(\E[D\177\Ezz)\E[C\177\Ezz<\E[Q\177:\
1.5       tholo    13247:        :ts=\Ez(:uc=\EG8%p1%c\EG0:up=^K:ve=\E`1:vi=\E`0:\
                   13248:        :tc=adm+sgr:
1.2       deraadt  13249: teletec|Teletec Datascreen:\
1.8       tholo    13250:        :am:bs:\
1.1       deraadt  13251:        :co#80:li#24:\
1.5       tholo    13252:        :bl=^G:cl=^L:cr=^M:do=^J:ho=^^:le=^H:nd=^_:sf=^J:up=^K:
1.1       deraadt  13253: # From: Mark Dornfeld <romwa@ucbvax.berkeley.edu>
1.13    ! millert  13254: # This description is for the LANPAR Technologies VISION 3220
        !          13255: # terminal from 1984/85.  The function key definitions k0-k5 represent the
        !          13256: # edit keypad: FIND, INSERT HERE, REMOVE, SELECT, PREV SCREEN,
        !          13257: # NEXT SCREEN. The key definitions k6-k9 represent the PF1 to PF4 keys.
1.2       deraadt  13258: # (v3220: removed obsolete ":kn#10:",
                   13259: # I added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  13260: v3220|LANPAR Vision II model 3220/3221/3222:\
1.8       tholo    13261:        :am:bs:mi:xn:\
1.2       deraadt  13262:        :co#80:it#8:li#24:\
1.5       tholo    13263:        :RA=\E[?7l:SA=\E[?7h:al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
                   13264:        :cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:ei=\E[4l:im=\E[4h:\
                   13265:        :is=\E>\E[?3l\E[?7h\E[?8h\E[p:k0=\E[1~:k1=\E[2~:\
                   13266:        :k2=\E[3~:k3=\E[4~:k4=\E[5~:k5=\E[6~:k6=\E[OP:k7=\E[OQ:\
                   13267:        :k8=\E[OR:k9=\E[OS:kd=\E[B:ke=\E>:kh=\E[H:kl=\E[D:kr=\E[C:\
                   13268:        :ks=\E=:ku=\E[A:le=^H:me=\E[m:nd=\E[C:se=\E[m:so=\E[7m:\
                   13269:        :sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
1.1       deraadt  13270: ######## ICH/ICH1 VERSUS RMIR/SMIR
                   13271: #
                   13272: # Some non-curses applications get confused if both ich/ich1 and rmir/smir
                   13273: # are present; the symptom is doubled characters in an update using insert.
                   13274: # These applications are technically correct; in both 4.3BSD termcap and
                   13275: # terminfo, you're not actually supposed to specify both ich/ich1 and rmir/smir
1.13    ! millert  13276: # unless the terminal needs both.  To my knowledge, no terminal still in this
        !          13277: # file requires both other than the very obsolete dm2500.
1.1       deraadt  13278: #
                   13279: # For ncurses-based applications this is not a problem, as ncurses uses
                   13280: # one or the other as appropriate but never mixes the two.  Therefore we
                   13281: # have not corrected entries like `linux' and `xterm' that specify both.
                   13282: # If you see doubled characters from these, use the linux-nic and xterm-nic
1.2       deraadt  13283: # entries that suppress ich/ich1.  And upgrade to ncurses!
                   13284: #
                   13285:
1.3       deraadt  13286: ######## VT100/ANSI/ISO 6429/ECMA-48/PC-TERM TERMINAL STANDARDS
1.2       deraadt  13287: #
                   13288: # ANSI X3.64 has been withdrawn and replaced by ECMA-48.  The ISO 6429 and
                   13289: # ECMA-48 standards are said to be almost identical, but are not the same
1.3       deraadt  13290: # as X3.64 (though for practical purposes they are close supersets of it).
1.2       deraadt  13291: #
                   13292: # You can obtain ECMA-48 for free by sending email to helpdesk@ecma.ch
                   13293: # requesting the standard(s) you want (i.e. ECMA-48, "Control Functions for
                   13294: # Coded Character Sets"), include your snail-mail address, and you should
                   13295: # receive the document in due course.  Don't expect an email acknowledgement.
                   13296: #
                   13297: # Related standards include "X3.4-1977: American National Standard Code for
                   13298: # Information Interchange" (the ASCII standard) and "X3.41.1974:
                   13299: # Code-Extension Techniques for Use with the 7-Bit Coded Character Set of
1.3       deraadt  13300: # American National Standard for Information Interchange."  I believe (but
                   13301: # am not certain) that these are effectively identical to ECMA-6 and ECMA-35
                   13302: # respectively.
1.1       deraadt  13303: #
1.2       deraadt  13304:
1.3       deraadt  13305: #### VT100/ANSI/ECMA-48
1.1       deraadt  13306: #
                   13307: # ANSI Standard (X3.64) Control Sequences for Video Terminals and Peripherals
1.3       deraadt  13308: # and ECMA-48 Control Functions for Coded Character Sets.
1.1       deraadt  13309: #
1.5       tholo    13310: # Much of the content of this comment is adapted from a table prepared by
1.3       deraadt  13311: # Richard Shuford, based on a 1984 Byte article.  Terminfo correspondences,
                   13312: # discussion of some terminfo-related issues, and updates to capture ECMA-48
                   13313: # have been added.  Control functions described in ECMA-48 only are tagged
                   13314: # with * after their names.
                   13315: #
                   13316: # The table is a complete list of the defined ANSI X3.64/ECMA-48 control
                   13317: # sequences.  In the main table, \E stands for an escape (\033) character,
                   13318: # SPC for space.  Pn stands for a single numeric parameter to be inserted
                   13319: # in decimal ASCII.  Ps stands for a list of such parameters separated by
                   13320: # semicolons.  Parameter meanings for most parametrized sequences are
                   13321: # decribed in the notes.
                   13322: #
1.1       deraadt  13323: # Sequence     Sequence                             Parameter   or
                   13324: # Mnemonic     Name              Sequence           Value      Mode   terminfo
                   13325: # -----------------------------------------------------------------------------
1.3       deraadt  13326: # APC  Applicatn Program Command \E _                -         Delim  -
                   13327: # BEL  Bell *                    ^G                  -         -      bel
                   13328: # BPH  Break Permitted Here *    \E B                -         *      -
                   13329: # BS   Backpace *                ^H                  -         EF     -
                   13330: # CAN  Cancel *                  ^X                  -         -      -   (A)
1.1       deraadt  13331: # CBT  Cursor Backward Tab       \E [ Pn Z           1         eF     cbt
                   13332: # CCH  Cancel Previous Character \E T                -         -      -
1.3       deraadt  13333: # CHA  Cursor Horizntal Absolute \E [ Pn G           1         eF     hpa (B)
                   13334: # CHT  Cursor Horizontal Tab     \E [ Pn I           1         eF     tab (C)
                   13335: # CMD  Coding Method Delimiter * \E
                   13336: # CNL  Cursor Next Line          \E [ Pn E           1         eF     nel (D)
1.1       deraadt  13337: # CPL  Cursor Preceding Line     \E [ Pn F           1         eF     -
1.3       deraadt  13338: # CPR  Cursor Position Report    \E [ Pn ; Pn R      1, 1      -      -   (E)
1.1       deraadt  13339: # CSI  Control Sequence Intro    \E [                -         Intro  -
1.3       deraadt  13340: # CTC  Cursor Tabulation Control \E [ Ps W           0         eF     -   (F)
1.1       deraadt  13341: # CUB  Cursor Backward           \E [ Pn D           1         eF     cub
                   13342: # CUD  Cursor Down               \E [ Pn B           1         eF     cud
                   13343: # CUF  Cursor Forward            \E [ Pn C           1         eF     cuf
1.3       deraadt  13344: # CUP  Cursor Position           \E [ Pn ; Pn H      1, 1      eF     cup (G)
1.1       deraadt  13345: # CUU  Cursor Up                 \E [ Pn A           1         eF     cuu
1.3       deraadt  13346: # CVT  Cursor Vertical Tab       \E [ Pn Y           -         eF     -   (H)
1.1       deraadt  13347: # DA   Device Attributes         \E [ Pn c           0         -      -
                   13348: # DAQ  Define Area Qualification \E [ Ps o           0         -      -
                   13349: # DCH  Delete Character          \E [ Pn P           1         eF     dch
                   13350: # DCS  Device Control String     \E P                -         Delim  -
                   13351: # DL   Delete Line               \E [ Pn M           1         eF     dl
1.3       deraadt  13352: # DLE  Data Link Escape *        ^P                  -         -      -
1.1       deraadt  13353: # DMI  Disable Manual Input      \E \                -         Fs     -
1.3       deraadt  13354: # DSR  Device Status Report      \E [ Ps n           0         -      -   (I)
                   13355: # DTA  Dimension Text Area *     \E [ Pn ; Pn SPC T  -         PC     -
                   13356: # EA   Erase in Area             \E [ Ps O           0         eF     -   (J)
1.1       deraadt  13357: # ECH  Erase Character           \E [ Pn X           1         eF     ech
1.3       deraadt  13358: # ED   Erase in Display          \E [ Ps J           0         eF     ed  (J)
1.1       deraadt  13359: # EF   Erase in Field            \E [ Ps N           0         eF     -
1.3       deraadt  13360: # EL   Erase in Line             \E [ Ps K           0         eF     el  (J)
1.8       tholo    13361: # EM   End of Medium *           ^Y                  -         -      -
1.1       deraadt  13362: # EMI  Enable Manual Input       \E b                          Fs     -
1.3       deraadt  13363: # ENQ  Enquire                   ^E                  -         -      -
1.5       tholo    13364: # EOT  End Of Transmission       ^D                  -         *      -
1.3       deraadt  13365: # EPA  End of Protected Area     \E W                -         -      -   (K)
1.1       deraadt  13366: # ESA  End of Selected Area      \E G                -         -      -
1.3       deraadt  13367: # ESC  Escape                    ^[                  -         -      -
                   13368: # ETB  End Transmission Block    ^W                  -         -      -
                   13369: # ETX  End of Text               ^C                  -         -      -
                   13370: # FF   Form Feed                 ^L                  -         -      -
                   13371: # FNK  Function Key *            \E [ Pn SPC W       -         -      -
                   13372: # GCC  Graphic Char Combination* \E [ Pn ; Pn SPC B  -         -      -
1.1       deraadt  13373: # FNT  Font Selection            \E [ Pn ; Pn SPC D  0, 0      FE     -
1.3       deraadt  13374: # GSM  Graphic Size Modify       \E [ Pn ; Pn SPC B  100, 100  FE     -   (L)
1.1       deraadt  13375: # GSS  Graphic Size Selection    \E [ Pn SPC C       none      FE     -
1.3       deraadt  13376: # HPA  Horz Position Absolute    \E [ Pn `           1         FE     -   (B)
                   13377: # HPB  Char Position Backward    \E [ j              1         FE     -
                   13378: # HPR  Horz Position Relative    \E [ Pn a           1         FE     -   (M)
                   13379: # HT   Horizontal Tab *          ^I                  -         FE     -   (N)
                   13380: # HTJ  Horz Tab w/Justification  \E I                -         FE     -
1.1       deraadt  13381: # HTS  Horizontal Tab Set        \E H                -         FE     hts
1.3       deraadt  13382: # HVP  Horz & Vertical Position  \E [ Pn ; Pn f      1, 1      FE     -   (G)
1.1       deraadt  13383: # ICH  Insert Character          \E [ Pn @           1         eF     ich
1.3       deraadt  13384: # IDCS ID Device Control String  \E [ SPC O          -         *      -
                   13385: # IGS  ID Graphic Subrepertoire  \E [ SPC M          -         *      -
1.1       deraadt  13386: # IL   Insert Line               \E [ Pn L           1         eF     il
                   13387: # IND  Index                     \E D                -         FE     -
                   13388: # INT  Interrupt                 \E a                -         Fs     -
                   13389: # JFY  Justify                   \E [ Ps SPC F       0         FE     -
1.3       deraadt  13390: # IS1  Info Separator #1 *       ^_                  -         *      -
                   13391: # IS2  Info Separator #1 *       ^^                  -         *      -
                   13392: # IS3  Info Separator #1 *       ^]                  -         *      -
                   13393: # IS4  Info Separator #1 *       ^\                  -         *      -
                   13394: # LF   Line Feed                 ^J                  -         -      -
                   13395: # LS1R Locking Shift Right 1 *   \E ~                -         -      -
                   13396: # LS2  Locking Shift 2 *         \E n                -         -      -
                   13397: # LS2R Locking Shift Right 2 *   \E }                -         -      -
                   13398: # LS3  Locking Shift 3 *         \E o                -         -      -
                   13399: # LS3R Locking Shift Right 3 *   \E |                -         -      -
                   13400: # MC   Media Copy                \E [ Ps i           0         -      -   (S)
1.1       deraadt  13401: # MW   Message Waiting           \E U                -         -      -
1.5       tholo    13402: # NAK  Negative Acknowledge *    ^U                  -         *      -
1.3       deraadt  13403: # NBH  No Break Here *           \E C                -         -      -
                   13404: # NEL  Next Line                 \E E                -         FE     nel (D)
1.1       deraadt  13405: # NP   Next Page                 \E [ Pn U           1         eF     -
1.3       deraadt  13406: # NUL  Null *                    ^@                  -         -      -
1.1       deraadt  13407: # OSC  Operating System Command  \E ]                -         Delim  -
1.5       tholo    13408: # PEC  Pres. Expand/Contract *   \E Pn SPC Z         0         -      -
                   13409: # PFS  Page Format Selection *   \E Pn SPC J         0         -      -
                   13410: # PLD  Partial Line Down         \E K                -         FE     -   (T)
                   13411: # PLU  Partial Line Up           \E L                -         FE     -   (U)
1.1       deraadt  13412: # PM   Privacy Message           \E ^                -         Delim  -
                   13413: # PP   Preceding Page            \E [ Pn V           1         eF     -
1.5       tholo    13414: # PPA  Page Position Absolute *  \E [ Pn SPC P       1         FE     -
                   13415: # PPB  Page Position Backward *  \E [ Pn SPC R       1         FE     -
                   13416: # PPR  Page Position Forward *   \E [ Pn SPC Q       1         FE     -
                   13417: # PTX  Parallel Texts *          \E [ \              -         -      -
1.1       deraadt  13418: # PU1  Private Use 1             \E Q                -         -      -
                   13419: # PU2  Private Use 2             \E R                -         -      -
                   13420: # QUAD Typographic Quadding      \E [ Ps SPC H       0         FE     -
                   13421: # REP  Repeat Char or Control    \E [ Pn b           1         -      rep
1.5       tholo    13422: # RI   Reverse Index             \E M                -         FE     -   (V)
1.1       deraadt  13423: # RIS  Reset to Initial State    \E c                -         Fs     -
1.5       tholo    13424: # RM   Reset Mode *              \E [ Ps l           -         -      -   (W)
                   13425: # SACS Set Add. Char. Sep. *     \E [ Pn SPC /       0         -      -
                   13426: # SAPV Sel. Alt. Present. Var. * \E [ Ps SPC ]       0         -      -   (X)
                   13427: # SCI  Single-Char Introducer    \E Z                -         -      -
                   13428: # SCO  Sel. Char. Orientation *  \E [ Pn ; Pn SPC k  -         -      -
                   13429: # SCS  Set Char. Spacing *       \E [ Pn SPC g       -         -      -
1.1       deraadt  13430: # SD   Scroll Down               \E [ Pn T           1         eF     rin
1.5       tholo    13431: # SDS  Start Directed String *   \E [ Pn ]           1         -      -
                   13432: # SEE  Select Editing Extent     \E [ Ps Q           0         -      -   (Y)
                   13433: # SEF  Sheet Eject & Feed *      \E [ Ps ; Ps SPC Y  0,0       -      -
1.3       deraadt  13434: # SGR  Select Graphic Rendition  \E [ Ps m           0         FE     sgr (O)
1.5       tholo    13435: # SHS  Select Char. Spacing *    \E [ Ps SPC K       0         -      -
1.3       deraadt  13436: # SI   Shift In                  ^O                  -         -      -   (P)
1.5       tholo    13437: # SIMD Sel. Imp. Move Direct. *  \E [ Ps ^           -         -      -
1.1       deraadt  13438: # SL   Scroll Left               \E [ Pn SPC @       1         eF     -
1.5       tholo    13439: # SLH  Set Line Home *           \E [ Pn SPC U       -         -      -
                   13440: # SLL  Set Line Limit *          \E [ Pn SPC V       -         -      -
                   13441: # SLS  Set Line Spacing *        \E [ Pn SPC h       -         -      -
                   13442: # SM   Select Mode               \E [ Ps h           none      -      -   (W)
1.3       deraadt  13443: # SO   Shift Out                 ^N                  -         -      -   (Q)
1.5       tholo    13444: # SOH  Start Of Heading *        ^A                  -         -      -
                   13445: # SOS  Start of String *         \E X                -         -      -
                   13446: # SPA  Start of Protected Area   \E V                -         -      -   (Z)
                   13447: # SPD  Select Pres. Direction *  \E [ Ps ; Ps SPC S  0,0       -      -
                   13448: # SPH  Set Page Home *           \E [ Ps SPC G       -         -      -
1.1       deraadt  13449: # SPI  Spacing Increment         \E [ Pn ; Pn SPC G  none      FE     -
1.5       tholo    13450: # SPL  Set Page Limit *          \E [ Ps SPC j       -         -      -
                   13451: # SPQR Set Pr. Qual. & Rapid. *  \E [ Ps SPC X       0         -      -
1.1       deraadt  13452: # SR   Scroll Right              \E [ Pn SPC A       1         eF     -
1.5       tholo    13453: # SRCS Set Reduced Char. Sep. *  \E [ Pn SPC f       0         -      -
                   13454: # SRS  Start Reversed String *   \E [ Ps [           0         -      -
                   13455: # SSA  Start of Selected Area    \E F                -         -      -
                   13456: # SSU  Select Size Unit *        \E [ Pn SPC I       0         -      -
                   13457: # SSW  Set Space Width *         \E [ Pn SPC [       none      -      -
1.1       deraadt  13458: # SS2  Single Shift 2 (G2 set)   \E N                -         Intro  -
                   13459: # SS3  Single Shift 3 (G3 set)   \E O                -         Intro  -
                   13460: # ST   String Terminator         \E \                -         Delim  -
1.5       tholo    13461: # STAB Selective Tabulation *    \E [ Pn SPC ^       -         -      -
1.1       deraadt  13462: # STS  Set Transmit State        \E S                -         -      -
1.5       tholo    13463: # STX  Start pf Text *           ^B                  -         -      -
1.1       deraadt  13464: # SU   Scroll Up                 \E [ Pn S           1         eF     indn
1.5       tholo    13465: # SUB  Substitute *              ^Z                  -         -      -
                   13466: # SVS  Select Line Spacing *     \E [ Pn SPC \       1         -      -
                   13467: # SYN  Synchronous Idle *        ^F                  -         -      -
                   13468: # TAC  Tabul. Aligned Centered * \E [ Pn SPC b       -         -      -
                   13469: # TALE Tabul. Al. Leading Edge * \E [ Pn SPC a       -         -      -
                   13470: # TATE Tabul. Al. Trailing Edge* \E [ Pn SPC `       -         -      -
1.1       deraadt  13471: # TBC  Tab Clear                 \E [ Ps g           0         FE     tbc
1.5       tholo    13472: # TCC  Tabul. Centered on Char * \E [ Pn SPC c       -         -      -
                   13473: # TSR  Tabulation Stop Remove  * \E [ Pn SPC d       -         FE     -
1.1       deraadt  13474: # TSS  Thin Space Specification  \E [ Pn SC E        none      FE     -
1.5       tholo    13475: # VPA  Vert. Position Absolute   \E [ Pn d           1         FE     vpa
                   13476: # VPB  Line Position Backward *  \E [ Pn k           1         FE     -
                   13477: # VPR  Vert. Position Relative   \E [ Pn e           1         FE     -   (R)
                   13478: # VT   Vertical Tabulation *     ^K                  -         FE     -
1.1       deraadt  13479: # VTS  Vertical Tabulation Set   \E J                -         FE     -
                   13480: #
                   13481: # ---------------------------------------------------------------------------
                   13482: #
                   13483: # Notes:
                   13484: #
1.3       deraadt  13485: # Some control characters are listed in the ECMA-48 standard without
                   13486: # being assigned functions relevant to terminal control there (they
                   13487: # referred to other standards such as ISO 1745 or ECMA-35).  They are listed
                   13488: # here anyway for completeness.
                   13489: #
1.5       tholo    13490: # (A) ECMA-48 calls this "CancelCharacter" but retains the CCH abbreviation.
1.3       deraadt  13491: #
                   13492: # (B) There seems to be some confusion abroad between CHA and HPA.  Most
1.1       deraadt  13493: # `ANSI' terminals accept the CHA sequence, not the HPA. but terminfo calls
1.3       deraadt  13494: # the capability (hpa).  ECMA-48 calls this "Cursor Character Absolute" but
1.5       tholo    13495: # preserved the CHA abbreviation.
1.1       deraadt  13496: #
1.3       deraadt  13497: # (C) CHT corresponds to terminfo (tab).  Usually it has the value ^I.
1.1       deraadt  13498: # Occasionally (as on, for example, certain HP terminals) this has the HTJ
1.3       deraadt  13499: # value.  ECMA-48 calls this "Cursor Forward Tabulation" but preserved the
1.5       tholo    13500: # CHT abbreviation.
1.1       deraadt  13501: #
1.3       deraadt  13502: # (D) terminfo (nel) is usually \r\n rather than ANSI \EE.
1.1       deraadt  13503: #
1.8       tholo    13504: # (E) ECMA-48 calls this "Active Position Report" but preserves the CPR
1.5       tholo    13505: # abbreviation.
1.3       deraadt  13506: #
                   13507: # (F) CTC parameter values: 0 = set char tab, 1 = set line tab, 2 = clear
                   13508: # char tab, 3 = clear line tab, 4 = clear all char tabs on current line,
                   13509: # 5 = clear all char tabs, 6 = clear all line tabs.
                   13510: #
                   13511: # (G) CUP and HVP are identical in effect.  Some ANSI.SYS versions accept
                   13512: # HVP, but always allow CUP as an alternate.  ECMA-48 calls HVP "Character
1.5       tholo    13513: # Position Absolute" but retains the HVP abbreviation.
1.3       deraadt  13514: #
1.5       tholo    13515: # (H) ECMA calls this "Cursor Line Tabulation" but preserves the CVT
                   13516: # abbreviation.
1.1       deraadt  13517: #
1.3       deraadt  13518: # (I) DSR parameter values: 0 = ready, 1 = busy, 2 = busy, will send DSR
                   13519: # later, 3 = malfunction, 4 = malfunction, will send DSR later, 5 = request
                   13520: # DSR, 6 = request CPR response.
                   13521: #
                   13522: # (J) ECMA calls ED "Erase In Page". EA/ED/EL parameters: 0 = clear to end,
                   13523: # 1 = clear from beginning, 2 = clear.
1.1       deraadt  13524: #
1.5       tholo    13525: # (K) ECMA calls this "End of Guarded Area" but preserves the EPA abbreviation.
1.3       deraadt  13526: #
                   13527: # (L) The GSM parameters are vertical and horizontal parameters to scale by.
                   13528: #
                   13529: # (M) Some ANSI.SYS versions accept HPR, but more commonly `ANSI' terminals
                   13530: # use CUF for this function and ignore HPR.  ECMA-48 calls this "Character
1.5       tholo    13531: # Position Relative" but retains the HPR abbreviation.
1.1       deraadt  13532: #
1.5       tholo    13533: # (N) ECMA-48 calls this "Character Tabulation" but retains the HT
                   13534: # abbreviation.
1.1       deraadt  13535: #
1.3       deraadt  13536: # (O) SGR parameter values: 0 = default mode (attributes off), 1 = bold,
                   13537: # 2 = dim, 3 = italicized, 4 = underlined, 5 = slow blink, 6 = fast blink,
                   13538: # 7 = reverse video, 8 = invisible, 9 = crossed-out (marked for deletion),
                   13539: # 10 = primary font, 10 + n (n in 1..9) = nth alternative font, 20 = Fraktur,
                   13540: # 21 = double underline, 22 = turn off 2, 23 = turn off 3, 24 = turn off 4,
                   13541: # 25 = turn off 5, 26 = proportional spacing, 27 = turn off 7, 28 = turn off
                   13542: # 8, 29 = turn off 9, 30 = black fg, 31 = red fg, 32 = green fg, 33 = yellow
                   13543: # fg, 34 = blue fg, 35 = magenta fg, 36 = cyan fg, 37 = white fg, 38 = set
                   13544: # fg color as in CCIT T.416, 39 = set default fg color, 40 = black bg
                   13545: # 41 = red bg, 42 = green bg, 43 = yellow bg, 44 = blue bg, 45 = magenta bg,
                   13546: # 46 = cyan bg, 47 = white bg, 48 = set bg color as in CCIT T.416, 39 = set
                   13547: # default bg color, 50 = turn off 26, 51 = framed, 52 = encircled, 53 =
                   13548: # overlined, 54 = turn off 51 & 52, 55 = not overlined, 56-59 = reserved,
                   13549: # 61-65 = variable highlights for ideograms.
                   13550: #
                   13551: # (P) SI is also called LSO, Locking Shift Zero.
                   13552: #
                   13553: # (Q) SI is also called LS1, Locking Shift One.
                   13554: #
                   13555: # (R) Some ANSI.SYS versions accept VPR, but more commonly `ANSI' terminals
1.5       tholo    13556: # use CUD for this function and ignore VPR.  ECMA calls it `Line Position
1.8       tholo    13557: # Absolute' but retains the VPA abbreviation.
1.1       deraadt  13558: #
1.3       deraadt  13559: # (S) MC parameters: 0 = start xfer to primary aux device, 1 = start xfer from
                   13560: # primary aux device, 2 = start xfer to secondary aux device, 3 = start xfer
                   13561: # from secondary aux device, 4 = stop relay to primary aux device, 5 =
                   13562: # start relay to primary aux device, 6 = stop relay to secondary aux device,
                   13563: # 7 = start relay to secondary aux device.
                   13564: #
1.5       tholo    13565: # (T) ECMA-48 calls this "Partial Line Forward" but retains the PLD
                   13566: # abbreviation.
                   13567: #
                   13568: # (U) ECMA-48 calls this "Partial Line Backward" but retains the PLD
                   13569: # abbreviation.
                   13570: #
                   13571: # (V) ECMA-48 calls this "Reverse Line Feed" but retains the RI abbreviation.
                   13572: #
                   13573: # (W) RM/SM modes are as follows: 1 = Guarder Area Transfer Mode (GATM),
                   13574: # 2 = Keyboard Action Mode (KAM), 3 = Control Representation Mode (CRM),
                   13575: # 4 = Insertion Replacement Mode, 5 = Status Report Transfer Mode (SRTM),
                   13576: # 6 = Erasure Mode (ERM), 7 = Line Editing Mode (LEM), 8 = Bi-Directional
                   13577: # Support Mode (BDSM), 9 = Device Component Select Mode (DCSM),
                   13578: # 10 = Character Editing Mode (HEM), 11 = Positioning Unit Mode (PUM),
                   13579: # 12 = Send/Receive Mode, 13 = Format Effector Action Mode (FEAM),
                   13580: # 14 = Format Effector Transfer Mode (FETM), 15 = Multiple Area Transfer
                   13581: # Mode (MATM), 16 = Transfer Termination Mode, 17 = Selected Area Transfer
                   13582: # Mode, 18 = Tabulation Stop Mode, 19 = Editing Boundary Mode, 20 = Line Feed
                   13583: # New Line Mode (LF/NL), Graphic Rendition Combination Mode (GRCM), 22 =
                   13584: # Zero Default Mode (ZDM).  The EBM and LF/NL modes have actually been removed
                   13585: # from ECMA-48's 5th edition but are listed here for reference.
                   13586: #
                   13587: # (X) Select Alternate Presentation Variants is used only for non-Latin
                   13588: # alphabets.
                   13589: #
                   13590: # (Y) "Select Editing Extent" (SEE) was ANSI "Select Edit Extent Mode" (SEM).
                   13591: #
                   13592: # (Z) ECMA-48 calls this "Start of Guarded Area" but retains the SPA
                   13593: # abbreviation.
                   13594: #
1.1       deraadt  13595: # ---------------------------------------------------------------------------
                   13596: #
                   13597: # Abbreviations:
                   13598: #
                   13599: # Intro  an Introducer of some kind of defined sequence; the normal 7-bit
                   13600: #        X3.64 Control Sequence Introducer is the two characters "Escape ["
                   13601: #
                   13602: # Delim  a Delimiter
                   13603: #
                   13604: # x/y    identifies a character by position in the ASCII table (column/row)
                   13605: #
                   13606: # eF     editor function (see explanation)
                   13607: #
                   13608: # FE     format effector (see explanation)
1.3       deraadt  13609: #
1.1       deraadt  13610: # F      is a Final character in
                   13611: #             an Escape sequence (F from 3/0 to 7/14 in the ASCII table)
                   13612: #             a control sequence (F from 4/0 to 7/14)
                   13613: #
                   13614: # Gs     is a graphic character appearing in strings (Gs ranges from
                   13615: #        2/0 to 7/14) in the ASCII table
                   13616: #
                   13617: # Ce     is a control represented as a single bit combination in the C1 set
                   13618: #        of controls in an 8-bit character set
                   13619: #
                   13620: # C0     the familiar set of 7-bit ASCII control characters
                   13621: #
1.5       tholo    13622: # C1     roughly, the set of control chars available only in 8-bit systems.
1.1       deraadt  13623: #        This is too complicated to explain fully here, so read Jim Fleming's
                   13624: #        article in the February 1983 BYTE, especially pages 214 through 224.
                   13625: #
                   13626: # Fe     is a Final character of a 2-character Escape sequence that has an
                   13627: #        equivalent representation in an 8-bit environment as a Ce-type
                   13628: #        (Fe ranges from 4/0 to 5/15)
                   13629: #
                   13630: # Fs     is a Final character of a 2-character Escape sequence that is
                   13631: #        standardized internationally with identical representation in 7-bit
                   13632: #        and 8-bit environments and is independent of the currently
                   13633: #        designated C0 and C1 control sets (Fs ranges from 6/0 to 7/14)
                   13634: #
                   13635: # I      is an Intermediate character from 2/0 to 2/15 (inclusive) in the
                   13636: #        ASCII table
                   13637: #
                   13638: # P      is a parameter character from 3/0 to 3/15 (inclusive) in the ASCII
                   13639: #        table
                   13640: #
                   13641: # Pn     is a numeric parameter in a control sequence, a string of zero or
                   13642: #        more characters ranging from 3/0 to 3/9 in the ASCII table
                   13643: #
                   13644: # Ps     is a variable number of selective parameters in a control sequence
                   13645: #        with each selective parameter separated from the other by the code
                   13646: #        3/11 (which usually represents a semicolon); Ps ranges from
                   13647: #        3/0 to 3/9 and includes 3/11
1.3       deraadt  13648: #
                   13649: # *      Not relevant to terminal control, listed for completeness only.
1.1       deraadt  13650: #
                   13651: # Format Effectors versus Editor Functions
                   13652: #
                   13653: # A format effector specifies how following output is to be displayed.
                   13654: # An editor function allows you to modify the display.  Informally
                   13655: # format effectors may be destructive; format effectors should not be.
                   13656: #
                   13657: # For instance, a format effector that moves the "active position" (the
                   13658: # cursor or equivalent) one space to the left would be useful when you want to
                   13659: # create an overstrike, a compound character made of two standard characters
                   13660: # overlaid. Control-H, the Backspace character, is actually supposed to be a
                   13661: # format effector, so you can do this. But many systems use it in a
                   13662: # nonstandard fashion, as an editor function, deleting the character to the
                   13663: # left of the cursor and moving the cursor left. When Control-H is assumed to
                   13664: # be an editor function, you cannot predict whether its use will create an
                   13665: # overstrike unless you also know whether the output device is in an "insert
                   13666: # mode" or an "overwrite mode". When Control-H is used as a format effector,
                   13667: # its effect can always be predicted. The familiar characters carriage
                   13668: # return, linefeed, formfeed, etc., are defined as format effectors.
                   13669: #
                   13670: # NOTES ON THE DEC VT100 IMPLEMENTATION
                   13671: #
                   13672: # Control sequences implemented in the VT100 are as follows:
                   13673: #
                   13674: #      CPR, CUB, CUD, CUF, CUP, CUU, DA, DSR, ED, EL, HTS, HVP, IND,
                   13675: #      LNM, NEL, RI, RIS, RM, SGR, SM, TBC
                   13676: #
                   13677: # plus several private DEC commands.
                   13678: #
                   13679: # Erasing parts of the display (EL and ED) in the VT100 is performed thus:
                   13680: #
                   13681: #      Erase from cursor to end of line           Esc [ 0 K    or Esc [ K
                   13682: #      Erase from beginning of line to cursor     Esc [ 1 K
                   13683: #      Erase line containing cursor               Esc [ 2 K
                   13684: #      Erase from cursor to end of screen         Esc [ 0 J    or Esc [ J
                   13685: #      Erase from beginning of screen to cursor   Esc [ 1 J
                   13686: #      Erase entire screen                        Esc [ 2 J
1.2       deraadt  13687: #
                   13688: # Some brain-damaged terminal/emulators respond to Esc [ J as if it were
                   13689: # Esc [ 2 J, but this is wrong; the default is 0.
1.1       deraadt  13690: #
                   13691: # The VT100 responds to receiving the DA (Device Attributes) control
                   13692: #
                   13693: #      Esc [ c    (or Esc [ 0 c)
                   13694: #
                   13695: # by transmitting the sequence
                   13696: #
                   13697: #      Esc [ ? l ; Ps c
                   13698: #
                   13699: # where Ps is a character that describes installed options.
                   13700: #
                   13701: # The VT100's cursor location can be read with the DSR (Device Status
                   13702: # Report) control
                   13703: #
                   13704: #      Esc [ 6 n
                   13705: #
                   13706: # The VT100 reports by transmitting the CPR sequence
                   13707: #
                   13708: #      Esc [ Pl ; Pc R
                   13709: #
                   13710: # where Pl is the line number and Pc is the column number (in decimal).
                   13711: #
                   13712: # The specification for the DEC VT100 is document EK-VT100-UG-003.
1.2       deraadt  13713:
                   13714: #### ANSI.SYS
1.1       deraadt  13715: #
1.2       deraadt  13716: # Here is a description of the color and attribute controls supported in the
                   13717: # the ANSI.SYS driver under MS-DOS.  Most console drivers and ANSI
1.8       tholo    13718: # terminal emulators for Intel boxes obey these.  They are a proper subset
                   13719: # of the ECMA-48 escapes.
1.1       deraadt  13720: #
                   13721: # 0    all attributes off
                   13722: # 1    foreground bright
                   13723: # 4    underscore on
                   13724: # 5    blink on/background bright (not reliable with brown)
                   13725: # 7    reverse-video
                   13726: # 8    set blank (non-display)
                   13727: # 10   set primary font
                   13728: # 11   set first alternate font (on PCs, display ROM characters 1-31)
                   13729: # 12   set second alternate font (on PCs, display IBM high-half chars)
                   13730: #
                   13731: #                      Color attribute sets
                   13732: # 3n   set foreground color       / 0=black, 1=red,     2=green, 3=brown,
                   13733: # 4n   set background color       \ 4=blue,  5=magenta, 6=cyan,  7=white
                   13734: # Bright black becomes gray.  Bright brown becomes yellow,
1.3       deraadt  13735: # These coincide with the prescriptions of the ISO 6429/ECMA-48 standard.
1.2       deraadt  13736: #
                   13737: # * If the 5 attribute is on and you set a background color (40-47) it is
                   13738: #   supposed to enable bright background.
                   13739: #
1.1       deraadt  13740: # * Many VGA cards (such as the Paradise and compatibles) do the wrong thing
                   13741: #   when you try to set a "bright brown" (yellow) background with attribute
                   13742: #   5 (you get a blinking yellow foreground instead).  A few displays
                   13743: #   (including the System V console) support an attribute 6 that undoes this
1.2       deraadt  13744: #   braindamage (this is required by iBCS2).
1.1       deraadt  13745: #
                   13746: # * Some older versions of ANSI.SYS have a bug that causes thems to require
1.8       tholo    13747: #   ESC [ Pn k as EL rather than the ANSI ESC [ Pn K.  (This is not ECMA-48
                   13748: #   compatible.)
1.2       deraadt  13749:
                   13750: #### Intel Binary Compatibility Standard
                   13751: #
                   13752: # For comparison, here are the capabilities implied by the Intel Binary
                   13753: # Compatibility Standard for UNIX systems (Intel order number 468366-001).
                   13754: # These recommendations are optional.  IBCS2 allows the leading escape to
1.3       deraadt  13755: # be either the 7-bit \E[ or 8-bit \0233 introducer, in accordance with
                   13756: # the ANSI X.364/ISO 6429/ECMA-48 standard.  Here are the iBCS2 capabilities
                   13757: # (as described in figure 9-3 of the standard).  Those expressed in the ibcs2
                   13758: # terminfo entry are followed with the corresponding capability in parens:
                   13759: #
                   13760: #      CSI <n>k                disable (n=0) or enable (n=1) keyclick
                   13761: #      CSI 2h                  lock keyboard
                   13762: #      CSI 2i                  send screen as input
                   13763: #      CSI 2l                  unlock keyboard
                   13764: #      CSI 6m                  enable background color intensity
                   13765: #      CSI <0-2>c              reserved
                   13766: #      CSI <0-59>m             select graphic rendition
                   13767: #      CSI <n>;<m>H    (cup)   cursor to line n and column m
                   13768: #      CSI <n>;<m>f            cursor to line n and column m
                   13769: #      CSI <n>@        (ich)   insert characters
                   13770: #      CSI <n>A        (cuu)   cursor up n lines
                   13771: #      CSI <n>B        (cud)   cursor down n lines
                   13772: #      CSI <n>C        (cuu)   cursor right n characters
                   13773: #      CSI <n>D        (cud)   cursor left n characters
                   13774: #      CSI <n>E                cursor down n lines and in first column
                   13775: #      CSI <n>F                cursor up n lines and in first column
                   13776: #      CSI <n>G        (hpa)   position cursor at column n-1
                   13777: #      CSI <n>J        (ed)    erase in display
                   13778: #      CSI <n>K        (el)    erase in line
                   13779: #      CSI <n>L        (il)    insert line(s)
                   13780: #      CSI <n>P        (dch)   delete characters
                   13781: #      CSI <n>S        (indn)  scroll up n lines
                   13782: #      CSI <n>T        (rin)   scroll down n lines
                   13783: #      CSI <n>X        (ech)   erase characters
                   13784: #      CSI <n>Z        (cbt)   back up n tab stops
                   13785: #      CSI <n>`                cursor to column n on line
                   13786: #      CSI <n>a        (cuu)   cursor right n characters
                   13787: #      CSI <n>d        (vpa)   cursor to line n
                   13788: #      CSI <n>e                cursor down n lines and in first column
                   13789: #      CSI <n>g        (cbt)   clear all tabs
                   13790: #      CSI <n>z                make virtual terminal n active
                   13791: #      CSI ?7h         (smam)  turn automargin on
                   13792: #      CSI ?7l         (rmam)  turn automargin off
                   13793: #      CSI s                   save cursor position
                   13794: #      CSI u                   restore cursor position to saved value
                   13795: #      CSI =<c>A               set overscan color
                   13796: #      CSI =<c>F               set normal foreground color
                   13797: #      CSI =<c>G               set normal background color
                   13798: #      CSI =<c>H               set reverse foreground color
                   13799: #      CSI =<c>I               set reverse foreground color
                   13800: #      CSI =<c>J               set graphic foreground color
                   13801: #      CSI =<c>K               set graphic foreground color
1.2       deraadt  13802: #      CSI =<n>g       (dispc) display n from alternate graphics character set
1.3       deraadt  13803: #      CSI =<p>;<d>B           set bell parameters
                   13804: #      CSI =<s>;<e>C           set cursor parameters
                   13805: #      CSI =<x>D               enable/disable intensity of background color
                   13806: #      CSI =<x>E               set/clear blink vs. bold background
                   13807: #      CSI 7           (sc)    (sc) save cursor position
                   13808: #      CSI 8           (rc)    (rc) restore cursor position to saved value
                   13809: #      CSI H           (hts)   (hts) set tab stop
1.2       deraadt  13810: #      CSI Q<n><string>        define function key string
                   13811: #                              (string must begin and end with delimiter char)
                   13812: #      CSI c           (clear) clear screen
                   13813: #
                   13814: # The lack of any specification for attributes in SGR (among other things)
                   13815: # makes this a wretchedly weak standard. The table above is literally
                   13816: # everything iBSC2 has to say about terminal escape sequences; there is
                   13817: # no further discussion of their meaning or how to set the parameters
                   13818: # in these sequences at all.
                   13819: #
1.1       deraadt  13820:
                   13821: ######## NONSTANDARD CAPABILITY TRANSLATIONS USED IN THIS FILE
                   13822: #
                   13823: # The historical termcap file entries were written primarily in 4.4BSD termcap.
                   13824: # The 4.4BSD termcap set was substantially larger than the original 4.1BSD set,
                   13825: # with the extension names chosen for compatibility with the termcap names
                   13826: # assigned in System V terminfo.  There are some variant extension sets out
                   13827: # there.  We try to describe them here.
                   13828: #
                   13829: # XENIX extensions:
                   13830: #
                   13831: # The XENIX extensions include a set of function-key capabilities as follows:
                   13832: #
                   13833: #       code   XENIX variable name     terminfo name   name clashes?
                   13834: #      ----    -------------------     -------------   -----------------------
                   13835: #      CL      key_char_left
                   13836: #      CR      key_char_right
                   13837: #      CW      key_change_window                       create_window
                   13838: #      EN      key_end                 kend
                   13839: #      HM      key_home                khome
                   13840: #      HP      ??
                   13841: #      LD      key_delete_line         kdl1
                   13842: #      LF      key_linefeed                            label_off
                   13843: #      NU      key_next_unlocked_cell
                   13844: #      PD      key_page_down           knp
                   13845: #      PL      ??
                   13846: #      PN      start_print             mc5
                   13847: #      PR      ??
                   13848: #      PS      stop_print              mc4
                   13849: #      PU      key_page_up             kpp             pulse
                   13850: #      RC      key_recalc                              remove_clock
                   13851: #      RF      key_toggle_ref                          req_for_input
                   13852: #      RT      key_return              kent
                   13853: #      UP      key_up_arrow            kcuu1           parm_up_cursor
                   13854: #      WL      key_word_left
                   13855: #      WR      key_word_right
                   13856: #
                   13857: # The XENIX extensions also include the following character-set and highlight
                   13858: # capabilities:
                   13859: #
                   13860: #      XENIX   terminfo        function
                   13861: #      -----   --------        ------------------------------
                   13862: #      GS      smacs           start alternate character set
                   13863: #      GE      rmacs           end alternate character set
                   13864: #      GG                      :as:/:ae: glitch (analogous to :sg:/:ug:)
                   13865: #      bo      blink           begin blink (not used in /etc/termcap)
                   13866: #      be                      end blink (not used in /etc/termcap)
                   13867: #      bb                      blink glitch  (not used in /etc/termcap)
                   13868: #      it      dim             begin dim (not used in /etc/termcap)
                   13869: #      ie                      end dim (not used in /etc/termcap)
                   13870: #      ig                      dim glitch  (not used in /etc/termcap)
                   13871: #
1.2       deraadt  13872: # Finally, XENIX also used the following forms-drawing capabilities:
1.1       deraadt  13873: #
1.2       deraadt  13874: #      single  double  type             ASCII approximation
                   13875: #      ------  ------  -------------    -------------------
                   13876: #      GV      Gv      vertical line             |
                   13877: #      GH      Gv      horizontal line       -   _
                   13878: #      G1      G5      top right corner       _   |
                   13879: #      G2      G6      top left corner       |
                   13880: #      G3      G7      bottom left corner         |_
                   13881: #      G4      G8      bottom right corner   _|
                   13882: #      GD      Gd      down-tick character        T
                   13883: #      GL      Gl      left-tick character   -|
                   13884: #      GR      Gr      right-tick character       |-
                   13885: #      GC      Gc      middle intersection   -|-
                   13886: #      GU      Gu      up-tick character          _|_
                   13887: #
                   13888: # These were invented to take advantage of the IBM PC ROM character set.  One
                   13889: # can compose an acsc string from the single-width characters as follows
                   13890: #      "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    13891: # When translating a termcap file, ncurses tic will do this automatically.
1.2       deraadt  13892: # The double forms characters don't fit the SVr4 terminfo model.
1.1       deraadt  13893: #
                   13894: # AT&T Extensions:
                   13895: #
                   13896: # The old AT&T 5410, 5420, 5425, pc6300plus, 610, and s4 entries used a set of
                   13897: # nonstandard capabilities.  Its signature is the KM capability, used to name
                   13898: # some sort of keymap file.  EE, BO, CI, CV, XS, DS, FL and FE are in this
                   13899: # set.  Comments in the original, and a little cross-checking with other AT&T
                   13900: # documentation, seem to establish that BO=:mr: (start reverse video), DS=:mh:
                   13901: # (start dim), XS=:mk: (secure/invisible mode), EE=:me: (end highlights),
                   13902: # FL=:LO: (enable soft labels), FE=:LF: (disable soft labels), CI=:vi: (make
                   13903: # cursor invisible), and CV=:ve: (make cursor normal).
                   13904: #
1.2       deraadt  13905: # HP Extensions
                   13906: #
                   13907: # The HP library (as of mid-1995, their term.h file version 70.1) appears to
                   13908: # have the System V capabilities up to SVr1 level.  After that, it supports
                   13909: # two nonstandard caps meml and memu corresponding to the old termcap :ml:,
                   13910: # :mu: capabilities.  After that, it supports caps plab_norm, label_on,
                   13911: # label_off, and key_f11..key_f63 capabilities like SVr4's.  This makes the
                   13912: # HP binary format incompatible with SVr4's.
                   13913: #
                   13914: # IBM Extensions
                   13915: #
                   13916: # There is a set of nonstandard terminfos used by IBM's AIX operating system.
                   13917: # The AIX terminfo library diverged from SVr1 terminfo, and replaces all
                   13918: # capabilities following prtr_non with the following special capabilties:
                   13919: # box[12], batt[12], colb[0123456789], colf[0123456789], f[01234567], kbtab,
                   13920: # kdo, kcmd, kcpn, kend, khlp, knl, knpn, kppn, kppn, kquit, ksel, kscl, kscr,
                   13921: # ktab, kmpf[123456789], apstr, ksf1..ksf10, kf11...kf63, kact, topl, btml,
                   13922: # rvert, lvert.   Some of these are identical to XPG4/SVr4 equivalents:
                   13923: # kcmd, kend, khlp, and kf11...kf63.  Two others (kbtab and ksel) can be
                   13924: # renamed (to kcbt and kslt).  The places in the box[12] capabilities
                   13925: # correspond to acsc chars, here is the mapping:
                   13926: #
                   13927: #      box1[0]  = ACS_ULCORNER
                   13928: #      box1[1]  = ACS_HLINE
                   13929: #      box1[2]  = ACS_URCORNER
                   13930: #      box1[3]  = ACS_VLINE
                   13931: #      box1[4]  = ACS_LRCORNER
                   13932: #      box1[5]  = ACS_LLCORNER
                   13933: #      box1[6]  = ACS_TTEE
                   13934: #      box1[7]  = ACS_RTEE
                   13935: #      box1[8]  = ACS_BTEE
                   13936: #      box1[9]  = ACS_LTEE
                   13937: #      box1[10] = ACS_PLUS
                   13938: #
                   13939: # The box2 characters are the double-line versions of these forms graphics.
                   13940: # The AIX binary terminfo format is incompatible with SVr4's.
                   13941: #
1.5       tholo    13942: # Iris console extensions:
                   13943: #
                   13944: # HS is half-intensity start; HE is half-intensity end
                   13945: # CT is color terminal type (for Curses & rogue)
                   13946: # CP is color change escape sequence
                   13947: # CZ are color names (for Curses & rogue)
                   13948: #
                   13949: # The ncurses tic utility recognizes HS as an alias for mh <dim>.
                   13950: #
1.1       deraadt  13951: # TC Extensions:
                   13952: #
                   13953: # There is a set of extended termcaps associated with something
                   13954: # called the "Terminal Control" or TC package created by MainStream Systems,
                   13955: # Winfield Kansas.  This one also uses GS/GE for as/ae, and also uses
                   13956: # CF for civis and CO for cvvis.  Finally, they define a boolean :ct:
                   13957: # that flags color terminals.
1.2       deraadt  13958: #
1.1       deraadt  13959: ######## CHANGE HISTORY
                   13960: #
1.2       deraadt  13961: # The last /etc/termcap version maintained by John Kunze was 8.3, dated 8/5/94.
                   13962: # Releases 9 and up are maintained by Eric S. Raymond as part of the ncurses
                   13963: # project.
                   13964: #
                   13965: # This file contains all the capability information present in John Kunze's
                   13966: # last version of the termcap master file, except as noted in the change
                   13967: # comments at end of file.  Some information about very ancient obsolete
                   13968: # capabilities has been moved to comments.  Some all-numeric names of older
                   13969: # terminals have been retired.
                   13970: #
                   13971: # I changed :MT: to :km: (the 4.4BSD name) everywhere.  I commented out some
                   13972: # capabilities (EP, dF, dT, dV, kn, ma, ml, mu, xr, xx) that are no longer
                   13973: # used by BSD curses.
                   13974: #
                   13975: # The 9.1.0 version of this file was translated from my lightly-edited copy of
                   13976: # 8.3, then mechanically checked against 8.3 using Emacs Lisp code written for
                   13977: # the purpose.  Unless the ncurses tic implementation and the Lisp code were
                   13978: # making perfectly synchronized mistakes which I then failed to catch by
                   13979: # eyeball, the translation was correct and perfectly information-preserving.
                   13980: #
1.8       tholo    13981: # Major version number bumps correspond to major version changes in ncurses.
                   13982: #
1.2       deraadt  13983: # Here is a log of the changes since then:
                   13984: #
1.1       deraadt  13985: # 9.1.0 (Wed Feb  1 04:50:32 EST 1995):
                   13986: #      * First terminfo master translated from 8.3.
                   13987: # 9.2.0 (Wed Feb  1 12:21:45 EST 1995):
                   13988: #      * Replaced Wyse entries with updated entries supplied by vendor.
                   13989: #
                   13990: # 9.3.0 (Mon Feb  6 19:14:40 EST 1995):
                   13991: #      * Added contact & status info from G. Clark Brown <clark@sssi.com>.
                   13992: # 9.3.1 (Tue Feb  7 12:00:24 EST 1995):
                   13993: #      * Better XENIX keycap translation.  Describe TC termcaps.
                   13994: #      * Contact and history info supplied by Qume.
                   13995: # 9.3.2 (Sat Feb 11 23:40:02 EST 1995):
1.5       tholo    13996: #      * Raided the Shuford FTP site for recent termcaps/terminfos.
1.1       deraadt  13997: #      * Added information on X3.64 and VT100 standard escape sequences.
                   13998: # 9.3.3 (Mon Feb 13 12:26:15 EST 1995):
                   13999: #      * Added a correct X11R6 xterm entry.
                   14000: #      * Fixed terminfo translations of padding.
                   14001: # 9.3.4 (Wed Feb 22 19:27:34 EST 1995):
                   14002: #      * Added correct acsc/smacs/rmacs strings for vt100 and xterm.
                   14003: #      * Added u6/u7/u8/u9 capabilities.
                   14004: #      * Added PCVT entry.
                   14005: # 9.3.5 (Thu Feb 23 09:37:12 EST 1995):
                   14006: #      * Emacs uses :so:, not :mr:, for its mode line.  Fix linux entry
                   14007: #        to use reverse-video standout so Emacs will look right.
                   14008: #      * Added el1 capability to ansi.
                   14009: #      * Added smacs/rmacs to ansi.sys.
                   14010: #
                   14011: # 9.4.0 (Sat Feb 25 16:43:25 EST 1995):
                   14012: #      * New mt70 entry.
                   14013: #      * Added COPYRIGHTS AND OTHER DELUSIONS.
                   14014: #      * Added AT&T 23xx & 500/513, vt220 and vt420, opus3n1+, netronics
                   14015: #        smartvid & smarterm, ampex 175 & 219 & 232,
                   14016: #        env230, falco ts100, fluke, intertube, superbrain, ncr7901, vic20,
                   14017: #        ozzie, trs200, tr600, Tandy & Texas Instruments VDTs, intext2,
                   14018: #        screwpoint, fviewpoint, Contel Business Systems, Datamedia Colorscan,
                   14019: #        adm36, mime314, ergo4000, ca22851.  Replaced att7300, esprit, dd5500.
                   14020: #      * Replaced the Perkin-Elmer entries with vendor's official ones.
                   14021: #      * Restored the old minimal-ansi entry, luna needs it.
                   14022: #      * Fixed some incorrect ip and proportional-padding translations.
                   14023: # 9.4.1 (Mon Feb 27 14:18:33 EST 1995):
                   14024: #      * Fix linux & AT386 sgr strings to do A_ALTCHARSET turnoff correctly.
                   14025: #      * Make the xterm entry 65 lines again; create xterm25 and xterm24
                   14026: #        to force a particular height.
                   14027: #      * Added beehive4 and reorganized other Harris entries.
                   14028: # 9.4.2 (Thu Mar  9 01:45:44 EST 1995):
                   14029: #      * Merged in DEC's official entries for its terminals.  The only old
                   14030: #        entry I kept was Doug Gwyn's alternate vt100 (as vt100-avo).
                   14031: #      * Replaced the translated BBN Bitgraph entries with purpose-built
                   14032: #        ones from AT&T's SVr3.
                   14033: #      * Replaced the AT&T entries with AT&T's official terminfos.
                   14034: #      * Added teleray 16, vc415, cops10.
                   14035: #      * Merged in many individual capabilities from SCO terminfo files.
                   14036: # 9.4.3 (Mon Mar 13 02:37:53 EST 1995):
                   14037: #      * Typo fixes.
                   14038: #      * Change linux entry so A_PROTECT enables IBM-PC ROM characters.
                   14039: # 9.4.4 (Mon Mar 27 12:32:35 EST 1995):
                   14040: #      * Added tty35, Ann Arbor Guru series. vi300 and 550, cg7900, tvi803,
                   14041: #        pt210, ibm3164, IBM System 1, ctrm, Tymshare scanset, dt200, adm21,
                   14042: #        simterm, citoh and variants.
                   14043: #      * Replaced sol entry with sol1 and sol2.
                   14044: #      * Replaced Qume QVT and Freedom-series entries with purpose-built
                   14045: #        terminfo entries.
                   14046: #      * Enhanced vt220, tvi910, tvi924, hpterm, hp2645, adm42, tek
                   14047: #        and dg200 entries using caps from from SCO.
                   14048: #      * Added the usual set of function-key mappings to ANSI entry.
                   14049: #      * Corrected xterm's function-key capabilities.
                   14050: # 9.4.5 (Tue Mar 28 14:27:49 EST 1995):
                   14051: #      * Fix in xterm entry, cub and cud are not reliable under X11R6.
                   14052: # 9.4.6 (Thu Mar 30 14:52:15 EST 1995):
                   14053: #      * Fix in xterm entry, get the arrow keys right.
                   14054: #      * Change some \0 escapes to \200.
                   14055: # 9.4.7 (Tue Apr  4 11:27:11 EDT 1995)
                   14056: #      * Added apple (Videx card), adm1a, oadm31.
                   14057: #      * Fixed malformed ampex csr.
                   14058: #      * Fixed act4, cyb110; they had old-style prefix padding left in.
                   14059: #      * Changed mandatory to advisory padding in many entries.
                   14060: #      * Replaced HP entries up to hpsub with purpose-built ones.
                   14061: #      * Blank rmir/smir/rmdc/smdc capabilities removed.
                   14062: #      * Small fixes merged in from SCO entries for lpr, fos, tvi910+, tvi924.
                   14063: # 9.4.8 (Fri Apr  7 09:36:34 EDT 199):
                   14064: #      * Replaced the Ann Arbor entries with SCO's, the init strings are
                   14065: #        more efficient (but the entries otherwise identical).
                   14066: #      * Added dg211 from Shuford archive.
                   14067: #      * Added synertek, apple-soroc, ibmpc, pc-venix, pc-coherent, xtalk,
                   14068: #        adm42-nl, pc52, gs6300, xerox820, uts30.
                   14069: #      * Pull SCO's padding into vi200 entry.
                   14070: #      * Improved capabilities for tvi4107 and other Televideo and Viewpoint
                   14071: #        entries merged in from SCO's descriptions.
                   14072: #      * Fixed old-style prefix padding on zen50, h1500.
                   14073: #      * Moved old superbee entry to superbee-xsb, pulled in new superbee
                   14074: #        entry from SCO's description.
                   14075: #      * Reorganized the special entries.
                   14076: #      * Added lm#0 to cbunix and virtual entries.
                   14077: #
                   14078: # 9.5.0 (Mon Apr 10 11:30:00 EDT 1995):
                   14079: #      * Restored cdc456tst.
                   14080: #      * Fixed sb1 entry, SCO erroneously left out the xsb glitch.
                   14081: #      * Added megatek, beacon, microkit.
                   14082: #      * Freeze for ncurses-1.9 release.
                   14083: # 9.5.1 (Fri Apr 21 12:46:42 EDT 1995):
                   14084: #      * Added historical data for TAB.
                   14085: #      * Comment fixes from David MacKenzie.
                   14086: #      * Added the new BSDI pc3 entry.
                   14087: # 9.5.2 (Tue Apr 25 17:27:52 EDT 1995)
                   14088: #      * A change in the tic -C logic now ensures that all entries in
                   14089: #        the termcap translation will fit in < 1024 bytes.
                   14090: #      * Added `bobcat' and `gator' HP consoles and the Nu machine entries
                   14091: #        from GNU termcap file.  This merges in all their local information.
                   14092: # 9.5.3 (Tue Apr 25 22:28:13 EDT 1995)
                   14093: #      * Changed tic -C logic to dump all capabilities used by GNU termcap.
                   14094: #      * Added warnings about entries with long translations (restoring
                   14095: #        all the GNU termcaps pushes a few over the edge).
                   14096: # 9.5.4 (Wed Apr 26 15:35:09 EDT 1995)
                   14097: #      * Yet another tic change, and a couple of entry tweaks, to reduce the
                   14098: #        number of long (> 1024) termcap translations back to 0.
                   14099: #
                   14100: # 9.6.0 (Mon May  1 10:35:54 EDT 1995)
                   14101: #      * Added kf13-kf20 to Linux entry.
                   14102: #      * Regularize Prime terminal names.
                   14103: #      * Historical data on Synertek.
                   14104: #      * Freeze for ncurses-1.9.1.
                   14105: # 9.6.1 (Sat May  6 02:00:52 EDT 1995):
                   14106: #      * Added true xterm-color entry, renamed djm's pseudo-color entry.
                   14107: #      * Eliminate whitespace in short name fields, this tanks some scripts.
                   14108: #      * Name field changes to shorten some long entries.
                   14109: #      * Termcap translation now automatically generates empty rmir/smir
                   14110: #        when ich1/ich is present (copes with an ancient vi bug).
                   14111: #      * Added `screen' entries from FSF's screen-3.6.2.
                   14112: #      * Added linux-nic and xterm-nic entries.
                   14113: # 9.6.2 (Sat May  6 17:00:55 EDT 1995):
                   14114: #      * Change linux entry to use smacs=\E[11m and have an explicit acsc,
                   14115: #        eliminating some special-case code in ncurses.
                   14116: #
                   14117: # 9.7.0 (Tue May  9 18:03:12 EDT 1995):
                   14118: #      * Added vt320-k3, rsvidtx from the Emacs termcap.dat file.  I think
                   14119: #        that captures everything unique from it.
                   14120: #      * Added reorder script generator.
                   14121: #      * Freeze for ncurses 1.9.2 release.
                   14122: # 9.7.1 (Thu Jun 29 09:35:22 EDT 1995):
                   14123: #      * Added Sean Farley's kspd, flash, rs1 capabilities for linux.
                   14124: #      * Added Olaf Siebert's corrections for adm12.
                   14125: #      * ansi-pc-color now includes the colors and pairs caps, so that
                   14126: #        entries which use it will inherit them automatically.
                   14127: #      * The linux entry can now recognize the center (keypad 5) key.
                   14128: #      * Removed some junk that found its way into Linux acsc.
                   14129: #
                   14130: # 9.8.0 (Fri Jul  7 04:46:57 EDT 1995):
                   14131: #      * Add 50% cut mark as a desperate hack to reduce tic's core usage.
                   14132: #      * xterm doesn't try to use application keypad mode any more.
                   14133: #      * Freeze for ncurses-1.9.3 release.
                   14134: # 9.8.1 (Thu Jul 19 17:02:12 EDT 1995):
                   14135: #      * Added corrected sun entry from vendor.
                   14136: #      * Added csr capability to linux entry.
                   14137: #      * Peter Wemm says the at386 hpa should be \E[%i%p1%dG, not \E[%p1%dG.
                   14138: #      * Added vt102-nsgr to cope with stupid IBM PC `VT100' emulators.
                   14139: #      * Some commented-out caps in long entries come back in, my code
                   14140: #        for computing string-table lengths had a bug in it.
                   14141: #      * pcansi series modified to fit comm-program reality better.
                   14142: # 9.8.2 (Sat Sep  9 23:35:00 EDT 1995):
                   14143: #      * BSD/OS actually ships the ibmpc3 bold entry as its console.
                   14144: #      * Correct some bad aliases in the pcansi series
                   14145: #      * Added entry for QNX console.
                   14146: #      * Clean up duplicate long names for use with 4.4 library.
                   14147: #      * Change vt100 standout to be normal reverse vide, not bright reverse;
                   14148: #        this makes the Emacs status line look better.
                   14149: # 9.8.3 (Sun Sep 10 13:07:34 EDT 1995):
                   14150: #      * Added Adam Thompson's VT320 entries, also his dtx-sas and z340.
                   14151: #      * Minor surgery, mostly on name strings, to shorten termcap version.
1.2       deraadt  14152: #
                   14153: # 9.9.0 (Sat Sep 16 23:03:48 EDT 1995):
                   14154: #      * Added dec-vt100 for use with the EWAN emulator.
                   14155: #      * Added kmous to xterm for use with xterm's mouse-tracking facility.
                   14156: #      * Freeze for 1.9.5 alpha release.
                   14157: # 9.9.1 (Wed Sep 20 13:46:09 EDT 1995):
                   14158: #      * Changed xterm lines to 24, the X11R6 default.
                   14159: # 9.9.2 (Sat Sep 23 21:29:21 EDT 1995):
                   14160: #      * Added 7 newly discovered, undocumented acsc characters to linux
                   14161: #        entry (the pryz{|} characters).
                   14162: #      * ncurses no longer steals A_PROTECT.  Simplify linux sgr accordingly.
                   14163: #      * Correct two typos in the xterm entries introduced in 9.9.1.
                   14164: #      * I finally figured out how to translate ko capabilities.  Done.
                   14165: #      * Added tvi921 entries from Tim Theisen.
                   14166: #      * Cleanup: dgd211 -> dg211, adm42-nl -> adm42-nsl.
                   14167: #      * Removed mystery tec entry, it was neither interesting nor useful.
                   14168: #      * shortened altos3, qvt203, tvi910+, tvi92D, tvi921-g, tvi955, vi200-f,
                   14169: #        vi300-ss, att505-24, contel301, dm3045, f200vi, pe7000c, vc303a,
                   14170: #        trs200, wind26, wind40, wind50, cdc456tst, dku7003, f110, dg211,
                   14171: #        by making them relative to use capabilities
                   14172: #      * Added cuf1=^L to tvi925 from deleted variant tvi925a.
                   14173: #      * fixed cup in adm22 entry and parametrized strings in vt320-k3.
                   14174: #      * added it#8 to entries that used to have :pt: -- tvi912, vi200,
                   14175: #        ampex80,
                   14176: #      * Translate all home=\E[;H capabilities to home=\E[H, they're
                   14177: #        equivalent.
                   14178: #      * Translate \E[0m -> \E[m in [rs]mso, [rs]mul, and init strings of
                   14179: #        vt100 and ANSI-like terminals.
                   14180: # 9.9.3 (Tue Sep 26 20:11:15 EDT 1995):
                   14181: #      * Added it#8 and ht=\t to *all* entries with :pt:; the ncurses tic
                   14182: #        does this now, too.
                   14183: #      * fviewpoint is gone, it duplicated screwpoint.
                   14184: #      * Added hp2627, graphos, graphos-30, hpex, ibmega, ibm8514, ibm8514-c,
                   14185: #        ibmvga, ibmvga-c, minix, mm340, mt4520-rv, screen2, screen3,
                   14186: #        versaterm, vi500, vsc, vt131, vt340, vt400 entries from UW.
                   14187: #        The UW vi50 replaces the old one, which becomes vi50adm,
                   14188: #      * No more embedded commas in name fields.
                   14189: #
                   14190: # 9.10.0 (Wed Oct  4 15:39:37 EDT 1995):
                   14191: #      * XENIX forms characters in fos, trs16, scoansi become acsc strings,
                   14192: #      * Introduced klone+* entries for describing Intel-console behavior.
                   14193: #      * Linux kbs is default-mapped to delete for some brain-dead reason.
                   14194: #      * -nsl -> -ns.  The -pp syntax is obsolete.
                   14195: #      * Eliminate [A-Z]* primaries in accordance with SVr4 terminfo docs.
                   14196: #      * Make xterm entry do application-keypad mode again.  I got complaints
                   14197: #        that it was messing up someone's 3270 emulator.
                   14198: #      * Added some longname fields in order to avoid warning messages from
                   14199: #        older tic implementations.
                   14200: #      * According to ctrlseqs.ms, xterm has a full vt100 graphics set.  Use
                   14201: #        it! (This gives us pi, greater than, less than, and a few more.)
                   14202: #      * Freeze for ncurses-1.9.6 release.
                   14203: # 9.10.1 (Sat Oct 21 22:18:09 EDT 1995):
                   14204: #      * Add xon to a number of console entries, they're memory-mapped and
                   14205: #        don't need padding.
                   14206: #      * Correct the use dependencies in the ansi series.
                   14207: #      * Hand-translate more XENIX capabilities.
                   14208: #      * Added hpterm entry for HP's X terminal emulator.
                   14209: #      * Added aixterm entries.
                   14210: #      * Shortened four names so everything fits in 14 chars.
                   14211: #
                   14212: # 9.11.0 (Thu Nov  2 17:29:35 EST 1995):
                   14213: #      * Added ibcs2 entry and info on iBCS2 standard.
                   14214: #      * Corrected hpa/vpa in linux entry.  They still fail the worm test.
                   14215: #      * We can handle the HP meml/memu capability now.
                   14216: #      * Added smacs to klone entries, just as documentation.
                   14217: #      * Carrected ansi.sys and cit-500 entries.
                   14218: #      * Added z39, vt320-k311, v220c, and avatar entries.
                   14219: #      * Make pcansi use the ansi.sys invis capability.
                   14220: #      * Added DIP switch descriptions for vt100, adm31, tvi910, tvi920c,
                   14221: #        tvi925, tvi950, dt80, ncr7900i, h19.
                   14222: #      * X3.64 has been withdrawn, change some references.
                   14223: #      * Removed function keys from ansi-m entry.
                   14224: #      * Corrected ansi.sys entry.
                   14225: #      * Freeze for ncurses-1.9.7 release.
                   14226: # 9.11.1 (Tue Nov  6 18:18:38 EST 1995):
                   14227: #      * Added rmam/smam capabilities to many entries based on init strings.
                   14228: #      * Added correct hpa/vpa to linux.
                   14229: #      * Reduced several entries relative to vt52.
                   14230: # 9.11.2 (Tue Nov  7 00:21:06 EST 1995):
                   14231: #      * Exiled some utterly unidentifiable custom and homebrew types to the
                   14232: #        UFO file; also, obsolete small-screen hardware; also, entries which
                   14233: #        look flat-out incorrect, garbled, or redundant.  These include the
                   14234: #        following entries: carlock, cdc456tst, microkit, qdss, ramtek, tec,
                   14235: #        tec400, tec500, ubell, wind, wind16, wind40, wind50, plasma, agile,
                   14236: #        apple, bch, daleblit, nucterm, ttywilliams, nuterminal, nu24, bnu,
                   14237: #        fnu, nunix-30, nunix-61, exidy, ex3000, sexidy, pc52, sanyo55,
                   14238: #        yterm10, yterm11, yterm10nat, aed, aed-ucb, compucolor, compucolor2,
                   14239: #        vic20, dg1, act5s, netx, smartvid, smarterm, sol, sol2, dt200,
                   14240: #        trs80, trs100, trs200, trs600, xitex, rsvidtx, vid, att2300-x40,
                   14241: #        att2350-x40, att4410-nfk, att5410-ns, otty5410, att5425-nl-w,
                   14242: #        tty5425-fk, tty5425-w-fk, cita, c108-na, c108-rv-na, c100-rv-na,
                   14243: #        c108-na-acs, c108-rv-na-acs, ims950-ns, infotonKAS, ncr7900i-na,
                   14244: #        regent60na, scanset-n, tvi921-g, tvi925n, tvi925vbn, tvi925vb,
                   14245: #        vc404-na, vc404-s-na, vt420nam, vt420f-nam, vt420pc-nam, vt510nam,
                   14246: #        vt510pc-nam, vt520nam, vt525nam, xterm25, xterm50, xterm65, xterms.
                   14247: #      * Corrected pcvt25h as suggested by Brian C. Grayson
                   14248: #        <bgrayson@pine.ece.utexas.edu>.
                   14249: # 9.11.3 (Thu Nov  9 12:14:40 EST 1995):
                   14250: #      * Added kspd=\E[P, kcbt=\E[Z, to linux entry, changed kbs back to ^H.
                   14251: #      * Added kent=\EOM to xterm entry.
                   14252: #
                   14253: # 9.11.4 (Fri Nov 10 08:31:35 EST 1995):
                   14254: #      * Corrected gigi entry.
                   14255: #      * Restored cuf/cud1 to xterm, their apparent bugginess was due to
                   14256: #        bad hpa/vpa capabilities.
                   14257: #      * Corrected flash strings to have a uniform delay of .2 sec.  No
                   14258: #        more speed-dependent NUL-padding!
                   14259: #      * terminfo capabilities in comments bracketed with <>.
                   14260: # 9.11.5 (Fri Nov 10 15:35:02 EST 1995):
1.3       deraadt  14261: #      * Replaced pcvt with the 3.31 pcvt entries.
1.2       deraadt  14262: #      * Freeze for 1.9.7a.
1.3       deraadt  14263: # 9.11.6 (Mon Nov 13 10:20:24 EST 1995):
                   14264: #      * Added emu entry from the X11R6 contrib tape sources.
                   14265: #
                   14266: # 9.12.0 (Wed Nov 29 04:22:25 EST 1995):
                   14267: #      * Improved iris-ansi and sun entries.
                   14268: #      * More flash string improvements.
                   14269: #      * Corrected wy160 & wy160 as suggested by Robert Dunn
                   14270: #      * Added dim to at386.
                   14271: #      * Reconciled pc3 and ibmpc3 with the BSDI termcap file.  Keith says
                   14272: #        he's ready to start using the termcap generated from this one.
                   14273: #      * Added vt102-w, vt220-w, xterm-bold, wyse-vp, wy75ap, att4424m,
                   14274: #        ln03, lno3-w, h19-g, z29a*, qdss.  Made vt200 an alias of vt220.
                   14275: #      * Improved hpterm, apollo consoles, fos, qvt101, tvi924. tvi925,
                   14276: #        att610, att620, att630,
                   14277: #      * Changed hazeltine name prefix from h to hz.
                   14278: #      * Sent t500 to the UFI file.
                   14279: #      * I think we've sucked all the juice out of BSDI's termcap file now.
                   14280: #      * Freeze for ncurses 1.9.8 release
                   14281: # 9.12.1 (Thu Nov 30 03:14:06 EST 1995)
                   14282: #      * Unfreeze, linux kbs needed to be fixed.
                   14283: #      * Tim Theisen pinned down a bug in the DMD firmware.
                   14284: # 9.12.2 (Thu Nov 30 19:08:55 EST 1995):
                   14285: #      * Fixes to ansi and klone capabilities (thank you, Aaron Ucko).
                   14286: #        (The broken ones had been shadowed by sgr.)
                   14287: # 9.12.3 (Thu Dec  7 17:47:22 EST 1995):
                   14288: #      * Added documentation on ECMA-48 standard.
                   14289: #      * New Amiga entry.
1.5       tholo    14290: # 9.12.4 (Thu Dec 14 04:16:39 EST 1995):
                   14291: #      * More ECMA-48 stuff
                   14292: #      * Corrected typo in minix entry, added pc-minix.
                   14293: #      * Corrected khome/kend in xterm (thank you again, Aaron Ucko).
                   14294: #      * Added rxvt entry.
                   14295: #      * Added 1.3.x color-change capabilities to linux entry.
                   14296: # 9.12.5 (Tue Dec 19 00:22:10 EST 1995):
                   14297: #      * Corrected rxvt entry khome/kend.
                   14298: #      * Corrected linux color change capabilities.
                   14299: #      * NeXT entries from Dave Wetzel.
                   14300: #      * Cleaned up if and rf file names (all in /usr/share now).
                   14301: #      * Changed linux op capability to avoid screwing up a background color
                   14302: #        pair set by setterm.
                   14303: # 9.12.6 (Wed Feb  7 16:14:35 EST 1996):
                   14304: #      * Added xterm-sun.
                   14305: # 9.12.7 (Fri Feb  9 13:27:35 EST 1996):
                   14306: #      * Added visa50.
                   14307: #
                   14308: # 9.13.0 (Sun Mar 10 00:13:08 EST 1996):
                   14309: #      * Another sweep through the Shuford archive looking for new info.
                   14310: #      * Added dg100 alias to dg6053 based on a comp.terminals posting.
                   14311: #      * Added st52 from Per Persson.
                   14312: #      * Added eterm from the GNU Emacs 19.30 distribution.
                   14313: #      * Freeze for 1.9.9.
                   14314: # 9.13.1 (Fri Mar 29 14:06:46 EST 1996):
                   14315: #      * FreeBSD console entries from Andrew Chernov.
                   14316: #      * Removed duplicate Atari st52 name.
                   14317: # 9.13.2 (Tue May  7 16:10:06 EDT 1996)
                   14318: #      * xterm doesn't actually have ACS_BLOCK.
                   14319: #      * Change klone+color setf/setb to simpler forms that can be
                   14320: #        translated into termcap.
                   14321: #      * Added xterm1.
                   14322: #      * Removed mechanically-generated junk capabilities from cons* entries.
                   14323: #      * Added color support to bsdos.
                   14324: # 9.13.3 (Thu May  9 10:35:51 EDT 1996):
                   14325: #      * Added Wyse 520 entries from Wm. Randolph Franklin <wrf@ecse.rpi.edu>.
                   14326: #      * Created ecma+color, linux can use it.  Also added ech to linux.
                   14327: #      * Teach xterm about more keys. Add Thomas Dickey's 3.1.2E updates.
                   14328: #      * Add descriptions to FreeBSD console entries.  Also shorten
                   14329: #        some aliases to <= 14 chars for portability.
                   14330: #      * Added x68k console
                   14331: #      * Added OTbs to several VT-series entries.
                   14332: # 9.13.4 (Wed May 22 10:54:09 EDT 1996):
                   14333: #      * screen entry update for 3.7.1 from Michael Alan Dorfman.
                   14334: # 9.13.5 (Wed Jun  5 11:22:41 EDT 1996):
                   14335: #      * kterm correction due to Kenji Rikitake.
                   14336: #      * ACS correction in vt320-kll due to Phillippe De Muyter.
                   14337: # 9.13.6 (Sun Jun 16 15:01:07 EDT 1996):
                   14338: #      * Sun console entry correction from J.T. Conklin.
                   14339: #      * Changed all DEC VT300 and up terminals to use VT300 tab set
                   14340: # 9.13.7 (Mon Jul  8 20:14:32 EDT 1996):
                   14341: #      * Added smul to linux entry (we never noticed it was missing
                   14342: #        because of sgr!).
                   14343: #      * Added rmln to hp+labels (deduced from other HP entries).
                   14344: #      * Added vt100 acsc capability to vt220, vt340, vt400, d800, dt80-sas,
                   14345: #        pro350, att7300, 5420_2, att4418, att4424, att4426, att505, vt320-k3.
                   14346: #      * Corrected vt220 acsc.
                   14347: #      * The klone+sgr and klone+sgr-dumb entries now use klone+acs;
                   14348: #        this corresponds to reality and helps prevent some tic warnings.
                   14349: #      * Added sgr0 to c101, pcix, vt100-nav, screen2, oldsun, next, altos2,
                   14350: #        hpgeneric, hpansi, hpsub, hp236, hp700-wy, bobcat, dku7003, adm11,
                   14351: #        adm12, adm20, adm21, adm22, adm31, adm36, adm42, pt100, pt200,
                   14352: #        qvt101, tvi910, tvi921, tvi92B, tvi925, tvi950, tvi970, wy30-mc,
                   14353: #        wy50-mc, wy100, wyse-vp, ampex232, regent100, viewpoint, vp90,
                   14354: #        adds980, cit101, cit500, contel300, cs10, dm80, falco, falco-p,
                   14355: #        f1720a, go140, sb1, superbeeic, microb, ibm8512, kt7, ergo4000,
                   14356: #        owl, uts30, dmterm, dt100, dt100, dt110, appleII, apple-videx,
                   14357: #        lisa, trsII, atari, st52, pc-coherent, basis, m2-man, bg2.0, bg1.25,
                   14358: #        dw3, ln03, ims-ansi, graphos, t16, zen30, xtalk, simterm, d800,
                   14359: #        ifmr, v3220, wy100q, tandem653, ibmaed.
                   14360: #      * Added DWK terminal description.
1.8       tholo    14361: # 9.13.8 (Wed Jul 10 11:45:21 EDT 1996):
1.5       tholo    14362: #      * Many entries now have highlights inherited from adm+sgr.
                   14363: #      * xterm entry now corresponds to XFree86 3.1.2E, with color.
                   14364: #      * xtitle and xtitle-twm enable access to the X status line.
                   14365: #      * Added linux-1.3.6 color palette caps in conventional format.
                   14366: #      * Added adm1178 terminal.
                   14367: #      * Move fos and apollo terminals to obsolete category.
                   14368: #      * Aha! The BRL terminals file told us what the Iris extensions mean.
                   14369: #      * Added, from the BRL termcap file: rt6221, rt6221-w, northstar,
                   14370: #        commodore, cdc721-esc, excel62, osexec.  Replaced from the BRL file:
1.8       tholo    14371: #        cit500, adm11.
                   14372: # 9.13.9 (Mon Jul 15 00:32:51 EDT 1996):
                   14373: #      * Added, from the BRL termcap file: cdc721, cdc721l, cdc752, cdc756,
                   14374: #        aws, awsc, zentec8001, modgraph48, rca vp3301/vp3501, ex155.
                   14375: #      * Corrected, from BRL termcap file: vi50.
                   14376: #      * Better rxvt entry & corrected xterm entries from Thomas Dickey.
                   14377: # 9.13.10 (Mon Jul 15 12:20:13 EDT 1996):
                   14378: #      * Added from BRL: cit101e & variants, hmod1, vi200, ansi77, att5620-1,
                   14379: #        att5620-s, att5620-s, dg210, aas1901, hz1520, hp9845, osborne
                   14380: #        (old osborne moved to osborne-w), tvi970-vb, tvi970-2p, tvi925-hi,
                   14381: #        tek4105brl, tek4106brl, tek4107brl,tek4109brl, hazel, aepro,
                   14382: #        apple40p, apple80p, appleIIgs, apple2e, apple2e-p, apple-ae.
                   14383: #      * Paired-attribute fixes to various terminals.
                   14384: #      * Sun entry corrections from A. Lukyanov & Gert-Jan Vons.
                   14385: #      * xterm entry corrections from Thomas Dickey.
                   14386: # 9.13.11 (Tue Jul 30 16:42:58 EDT 1996):
                   14387: #      * Added t916 entry, translated from a termcap in SCO's support area.
                   14388: #      * New qnx entry from Michael Hunter.
                   14389: # 9.13.12 (Mon Aug  5 14:31:11 EDT 1996):
                   14390: #      * Added hpex2 from Ville Sulko.
                   14391: #      * Fixed a bug that ran the qnx and pcvtXX together.
                   14392: # 9.13.13 (Fri Aug  9 01:16:17 EDT 1996):
                   14393: #      * Added dtterm entry from Solaris CDE.
                   14394: # 9.13.14 (Tue Sep 10 15:31:56 EDT 1996):
                   14395: #      * corrected pairs#8 typo in dtterm entry.
                   14396: #      * added tvi9065.
                   14397: # 9.13.15 (Sun Sep 15 02:47:05 EDT 1996):
                   14398: #      * updated xterm entry to cover 3.1.2E's new features.
                   14399: # 9.13.16 (Tue Sep 24 12:47:43 EDT 1996):
                   14400: #      * Added new minix entry
                   14401: #      * Removed aliases of the form ^[0-9]* for obsolete terminals.
                   14402: #      * Commented out linux-old, nobody's using pre-1.2 kernels now.
                   14403: # 9.13.17 (Fri Sep 27 13:25:38 EDT 1996):
                   14404: #      * Added Prism entries and kt7ix.
                   14405: #      * Caution notes about EWAN and tabset files.
                   14406: #      * Changed /usr/lib/tabset -> /usr/share/tabset.
                   14407: #      * Added acsc/rmacs/smacs to vt52.
                   14408: # 9.13.18 (Mon Oct 28 13:24:59 EST 1996):
                   14409: #      * Merged in Thomas Dickey's reorganization of the xterm entries;
                   14410: #        added technical corrections to avoid warning messages.
                   14411: # 9.13.19 (Sat Nov 16 16:05:49 EST 1996):
                   14412: #      * Added rmso=\E[27m in Linux entry.
                   14413: #      * Added koi8-r support for Linux console.
                   14414: #      * Replace xterm entries with canonical ones from XFree86 3.2.
                   14415: # 9.13.20 (Sun Nov 17 23:02:51 EST 1996):
                   14416: #      * Added color_xterm from Jacob Mandelson
                   14417: # 9.13.21 (Mon Nov 18 12:43:42 EST 1996):
                   14418: #      * Back off the xterm entry to use r6 as a base.
                   14419: # 9.13.22 (Sat Nov 30 11:51:31 EST 1996):
                   14420: #      * Added dec-vt220 at Adrian Garside's request.
                   14421: # 9.13.23 (Fri Feb 21 16:36:06 EST 1997):
                   14422: #      * Replaced minitel-2 entry.
                   14423: #      * Added MGR, ansi-nt.
                   14424: #      * Minor corrections to xterm entries.
                   14425: #      * Replaced EWAN telnet entry.
                   14426: #      * Dropped the reorder script generator.  It was a fossil.
                   14427: # 9.13.24 (Sun Feb 23 20:55:23 EST 1997):
                   14428: #      * Thorsten Lockert added termcap `bs' to a lot of types, working from
                   14429: #        the 4.4BSD Lite2 file.
1.13    ! millert  14430: # 9.13.25 (Fri Jun 20 12:33:36 EDT 1997):
        !          14431: #      * Added Datapoint 8242, pilot, ansi_psx, rbcomm, vt220js.
        !          14432: #      * Updated iris-ansi; corrected vt102-w.
        !          14433: #      * Switch base xterm entry to 3.3 level.
        !          14434: # 9.13.26 (Mon Jun 30 22:45:45 EDT 1997)
        !          14435: #      * Added basic4.
        !          14436: #      * Removed rmir/smir from tv92B.
        !          14437: #
        !          14438: # 10.2.0 (Sat Feb 28 12:47:36 EST 1998):
        !          14439: #      * add hds200 description (Walter Skorski)
        !          14440: #      * add beterm entry (Fred Fish)
        !          14441: #      * add Thomas Dickey's xterm-xf86-v40, xterm-8bit, xterm-16color,
        !          14442: #        iris-color entries.
        !          14443: #      * add emx entries.
        !          14444: #      * Replaced unixpc entry with Benjamin Sittler's corrected version.
        !          14445: #      * Replaced xterm/rxvt/emu/syscons entries with Thomas Dickey's
        !          14446: #        versions.
        !          14447: #      * remove sgr string from qnx based on report by Xiaodan Tang
        !          14448: #      * Added u8/u9, removed rmul/smul from sun-il.
        !          14449: #      * 4.2 tic displays \0 rather than \200.
        !          14450: #      * add linux-koi8r to replace linux-koi8 (which uses a corrupt acsc,
        !          14451: #        apparently based on cp-866).
        !          14452: #      * Merged in Pavel Roskin's acsc for linux-koi8
        !          14453: #      * Corrected some erroneous \\\s to \.
        !          14454: #      * 4.2 ncurses has been changed to use setaf/setab, consistent w/SysV.
        !          14455: #      * II -> ii in pcvtXX, screen, xterm.
        !          14456: #      * Removed \n chars following ANSI escapes in sgr & friends.
        !          14457: #      * Updated Wyse entries.
        !          14458: #      * h19 corrections from Tim Pierce.
        !          14459: #      * Noted that the dm2500 has both ich and smir.
        !          14460: #      * added pccons for the Alpha under OSF/1.
        !          14461: #      * Added Sony NEWS workstation entries and cit101e-rv.
        !          14462: #      * Reverted `amiga'; to Kent Polk's version, as I'm told
        !          14463: #        the Verkuil entry messes up with Amiga Telnet.
        !          14464: # 10.2.1 (Sun Mar  8 18:32:04 EST 1998):
        !          14465: #      * Corrected attributions in 10.2.0 release notes.
        !          14466: #      * Scanned the Shuford archive for new terminfos and information.
        !          14467: #      * Removed sgr from qnx entry (Thomas Dickey).
        !          14468: #      * Added entries for ICL and Kokusai Data Systems terminals.
        !          14469: #      * Incorporated NCR terminfos from the Boundless Technology FTP site.
        !          14470: #      * Incorporated att700 from the Boundless Technology FTP site.
        !          14471: #      * Miscellaneous contact-address and Web-page updates.
        !          14472: # 10.2.2 (Thu May  7 12:18:04 EDT 1998):
        !          14473: #      * Moved Altos to OBSOLETE UNIX CONSOLES
        !          14474: #      * Moved Hewlett-Packard terminals to OLDER TERMINAL TYPES, except for
        !          14475: #        the 700s which go to WORKSTATION CONSOLES.
        !          14476: #      * Major reorganization of ANSI/console/VT types.  Moved vt52 to the
        !          14477: #        obsolete section.
        !          14478: #      * Daisy-wheel printers moved to UFO file.
        !          14479: # 10.2.3 (Tue May 12 22:59:11 EDT 1998):
        !          14480: #      * Commented out hds200 is2 to avoid overflowing terminfo length limit.
        !          14481: #      * Restored OT capabilities to UFO file.
        !          14482: #      * add nxterm and xterm-color terminfo description (request by Cristian
        !          14483: #        Gafton <gafton@redhat.com>).
        !          14484: #      * Modify rxvt terminfo description to clear alternate screen before
        !          14485: #        switching back to normal screen, for compatibility with applications
        !          14486: #        which use xterm (reported by Manoj Kasichainula <manojk@io.com>).
        !          14487: #      * Modify linux terminfo description to reset color palette (reported
        !          14488: #        by Telford Tendys <telford@eng.uts.edu.au>).
1.1       deraadt  14489: #
1.13    ! millert  14490: # The following sets edit modes for GNU EMACS.
1.1       deraadt  14491: # Local Variables:
                   14492: # fill-prefix:"\t"
                   14493: # fill-column:75
1.13    ! millert  14494: # comment-column:0
        !          14495: # comment-start-skip:"^#+"
        !          14496: # comment-start:"# "
        !          14497: # compile-command:"tic -c termtypes.master"
1.1       deraadt  14498: # End:
                   14499: ######## SHANTIH!  SHANTIH!  SHANTIH!